@rpcbase/ui 0.228.0 → 0.230.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 +52 -5
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +3 -7
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -5
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +15 -4
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +5 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +7 -6
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +16 -145
- 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 -4
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +5 -7
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +5 -13
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +4 -13
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +4 -7
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +6 -31
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +24 -10
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +6 -10
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +4 -8
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +6 -13
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +5 -101
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +5 -20
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +5 -53
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +4 -72
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +8 -9
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +5 -20
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +4 -16
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +4 -23
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +6 -6
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +145 -5
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +39 -23
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +5 -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 +13 -6
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +13 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +7 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +31 -4
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +10 -4
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +10 -3
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +8 -6
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +14 -24
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +101 -7
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +20 -7
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +53 -5
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +72 -3
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +9 -3
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +20 -4
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +16 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +23 -4
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +6 -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 +23 -3
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +35 -6
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +16 -69
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +7 -2
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +4 -363
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +4 -261
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +4 -60
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +4 -46
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +3 -169
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +6 -109
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +24 -25
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +8 -8
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +6 -4
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +5 -5
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +3 -4
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +3 -466
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +4 -185
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +3 -107
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +4 -262
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +3 -9
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +3 -42
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +3 -4
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +13 -11
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +148 -62
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +30 -37
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +10 -14
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +48 -23
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +10 -109
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +45 -13
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +95 -4
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +87 -4
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +106 -5
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +52 -11
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +11 -19
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +38 -13
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +8 -261
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +116 -4
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +18 -28
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +15 -126
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +3 -5
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +34 -76
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +19 -65
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +9 -8
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +8 -15
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +18 -91
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +26 -63
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +15 -44
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +57 -15
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +8 -5
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +65 -4
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +18 -57
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +14 -64
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +5 -6
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +5 -4
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -6
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +4 -16
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +6 -4
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +16 -4
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +4 -12
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +4 -9
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +12 -13
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +9 -13
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +13 -4
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +13 -5
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +4 -6
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +5 -5
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +6 -54
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +5 -8
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +54 -4
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +8 -4
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +4 -8
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +4 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +8 -4
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +4 -3
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +4 -10
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +3 -9
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +9 -8
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +9 -10
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +9 -10
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +10 -9
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +10 -6
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +9 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +6 -4
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +5 -5
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +4 -6
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +5 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +6 -8
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +5 -19
- package/dist/index236.js.map +1 -1
- package/dist/index241.js +3 -3
- package/dist/index247.js +1 -1
- package/dist/index248.js +2 -2
- package/dist/index250.js +1 -1
- package/dist/index252.js +1 -1
- package/dist/index253.js +1 -1
- package/dist/index254.js +3 -3
- package/dist/index255.js +2 -2
- package/dist/index259.js +5 -11
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +11 -50
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +51 -4
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +4 -30
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +25 -12
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +16 -5
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +5 -21
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +21 -51
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +51 -25
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +24 -40
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +39 -37
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +40 -45
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +45 -21
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +23 -70
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +19 -17
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +20 -11
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +69 -26
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +16 -12
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +10 -17
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +26 -35
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +12 -261
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +15 -275
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +36 -68
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +62 -96
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +256 -77
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +278 -3
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +68 -29
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +45 -16
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +99 -34
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +83 -16
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +13 -4
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +3 -26
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +27 -26
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +17 -4
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +38 -79
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +33 -268
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +68 -11
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +16 -10
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +3 -25
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +108 -14
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +20 -119
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +28 -5
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +4 -41
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +125 -64
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +5 -14
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +78 -7
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +269 -5
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +11 -3
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +28 -11
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +16 -8
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +11 -134
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +24 -24
- package/dist/index310.js +24 -398
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +15 -51
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +125 -11
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +5 -11
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +39 -12
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +59 -148
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +13 -30
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +14 -10
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +7 -48
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +13 -12
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +3 -3
- package/dist/index320.js +5 -44
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +3 -95
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +10 -86
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +7 -105
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +129 -48
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +261 -11
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +391 -29
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +52 -8
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +10 -115
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +11 -17
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +4 -15
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +11 -3
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +4 -37
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +5 -21
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +11 -9
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +78 -8
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +66 -8
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +8 -11
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +92 -8
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +20 -13
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +4 -4
- package/dist/index340.js +4 -3
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +18 -4
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +12 -19
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +8 -28
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +11 -16
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +7 -16
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +12 -50
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +3 -5
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +3 -122
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +4 -33
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +5 -5
- package/dist/index350.js +15 -74
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +7 -141
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +51 -61
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +11 -49
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +17 -15
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +5 -8
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +5 -4
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +20 -11
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +44 -21
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +18 -5
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +10 -10
- package/dist/index360.js +4 -17
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +200 -12
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +78 -4
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +121 -10
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +17 -16
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +32 -5
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +73 -20
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +143 -45
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +61 -17
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +49 -4
- package/dist/index369.js.map +1 -1
- package/dist/index37.js +3 -3
- package/dist/index370.js +4 -200
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +11 -77
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +21 -20
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +4 -8
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +5 -26
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +4 -27
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +14 -136
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +8 -12
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +5 -226
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +4 -3
- package/dist/index379.js.map +1 -1
- package/dist/index38.js +4 -4
- package/dist/index380.js +545 -19
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +46 -77
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +18 -12
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +5 -3
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +7 -71
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +7 -9
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +7 -15
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +11 -4
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +8 -4
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +13 -4
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +5 -5
- package/dist/index390.js +3 -16
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +3 -9
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +8 -5
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +26 -5
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +24 -543
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +135 -44
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +11 -16
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +226 -5
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +3 -7
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +19 -6
- package/dist/index399.js.map +1 -1
- package/dist/index40.js +3 -3
- package/dist/index400.js +77 -7
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +12 -12
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +3 -8
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +71 -12
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +9 -3
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +16 -3
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +4 -14
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +54 -490
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +68 -5
- package/dist/index408.js.map +1 -1
- package/dist/index409.js +30 -55
- package/dist/index409.js.map +1 -1
- package/dist/index41.js +10 -10
- package/dist/index410.js +9 -68
- package/dist/index410.js.map +1 -1
- package/dist/index411.js +148 -26
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +108 -9
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +8 -153
- package/dist/index413.js.map +1 -1
- package/dist/index414.js +2 -108
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +43 -7
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +56 -2
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +7 -43
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +2 -56
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +54 -7
- package/dist/index419.js.map +1 -1
- package/dist/index420.js +56 -2
- package/dist/index420.js.map +1 -1
- package/dist/index421.js +14 -54
- package/dist/index421.js.map +1 -1
- package/dist/index422.js +487 -51
- package/dist/index422.js.map +1 -1
- package/dist/index44.js +1 -1
- package/dist/index45.js +2 -2
- package/dist/index48.js +2 -2
- package/dist/index49.js +31 -31
- 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 +21 -21
- 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/index70.js +1 -1
- package/dist/index71.js +1 -1
- package/dist/index74.js +6 -2
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +8 -2
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +5 -5
- 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/index335.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index335.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index335.js","sources":["../../../node_modules/@base-ui/react/esm/dialog/root/useDialogRoot.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useScrollLock } from '@base-ui/utils/useScrollLock';\nimport { useDismiss, useInteractions, useRole, useSyncedFloatingRootContext } from \"../../floating-ui-react/index.js\";\nimport { contains, getTarget } from \"../../floating-ui-react/utils.js\";\nimport { useOpenInteractionType } from \"../../utils/useOpenInteractionType.js\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.js\";\nimport { REASONS } from \"../../internals/reasons.js\";\nimport { useImplicitActiveTrigger, useOpenStateTransitions } from \"../../utils/popups/index.js\";\nexport function useDialogRoot(params) {\n const {\n store,\n parentContext,\n actionsRef,\n isDrawer\n } = params;\n const open = store.useState('open');\n const disablePointerDismissal = store.useState('disablePointerDismissal');\n const modal = store.useState('modal');\n const popupElement = store.useState('popupElement');\n const {\n openMethod,\n triggerProps\n } = useOpenInteractionType(open);\n useImplicitActiveTrigger(store);\n const {\n forceUnmount\n } = useOpenStateTransitions(open, store);\n const handleImperativeClose = React.useCallback(() => {\n store.setOpen(false, createChangeEventDetails(REASONS.imperativeAction));\n }, [store]);\n React.useImperativeHandle(actionsRef, () => ({\n unmount: forceUnmount,\n close: handleImperativeClose\n }), [forceUnmount, handleImperativeClose]);\n const floatingRootContext = useSyncedFloatingRootContext({\n popupStore: store,\n onOpenChange: store.setOpen,\n treatPopupAsFloatingElement: true\n });\n const [ownNestedOpenDialogs, setOwnNestedOpenDialogs] = React.useState(0);\n const [ownNestedOpenDrawers, setOwnNestedOpenDrawers] = React.useState(0);\n const isTopmost = ownNestedOpenDialogs === 0;\n const role = useRole(floatingRootContext);\n const dismiss = useDismiss(floatingRootContext, {\n outsidePressEvent() {\n if (store.context.internalBackdropRef.current || store.context.backdropRef.current) {\n return 'intentional';\n }\n // Ensure `aria-hidden` on outside elements is removed immediately\n // on outside press when trapping focus.\n return {\n mouse: modal === 'trap-focus' ? 'sloppy' : 'intentional',\n touch: 'sloppy'\n };\n },\n outsidePress(event) {\n if (!store.context.outsidePressEnabledRef.current) {\n return false;\n }\n\n // For mouse events, only accept left button (button 0)\n // For touch events, a single touch is equivalent to left button\n if ('button' in event && event.button !== 0) {\n return false;\n }\n if ('touches' in event && event.touches.length !== 1) {\n return false;\n }\n const target = getTarget(event);\n if (isTopmost && !disablePointerDismissal) {\n const eventTarget = target;\n // Only close if the click occurred on the dialog's owning backdrop.\n // This supports multiple modal dialogs that aren't nested in the React tree:\n // https://github.com/mui/base-ui/issues/1320\n if (modal) {\n return store.context.internalBackdropRef.current || store.context.backdropRef.current ? store.context.internalBackdropRef.current === eventTarget || store.context.backdropRef.current === eventTarget || contains(eventTarget, popupElement) && !eventTarget?.hasAttribute('data-base-ui-portal') : true;\n }\n return true;\n }\n return false;\n },\n escapeKey: isTopmost\n });\n useScrollLock(open && modal === true, popupElement);\n const {\n getReferenceProps,\n getFloatingProps,\n getTriggerProps\n } = useInteractions([role, dismiss]);\n\n // Listen for nested open/close events on this store to maintain the counts.\n store.useContextCallback('onNestedDialogOpen', (dialogCount, drawerCount) => {\n setOwnNestedOpenDialogs(dialogCount);\n setOwnNestedOpenDrawers(drawerCount);\n });\n store.useContextCallback('onNestedDialogClose', () => {\n setOwnNestedOpenDialogs(0);\n setOwnNestedOpenDrawers(0);\n });\n\n // Notify parent of our open/close state using parent callbacks, if any\n React.useEffect(() => {\n if (parentContext?.onNestedDialogOpen && open) {\n parentContext.onNestedDialogOpen(ownNestedOpenDialogs + 1, ownNestedOpenDrawers + (isDrawer ? 1 : 0));\n }\n if (parentContext?.onNestedDialogClose && !open) {\n parentContext.onNestedDialogClose();\n }\n return () => {\n if (parentContext?.onNestedDialogClose && open) {\n parentContext.onNestedDialogClose();\n }\n };\n }, [isDrawer, open, ownNestedOpenDialogs, ownNestedOpenDrawers, parentContext]);\n const activeTriggerProps = React.useMemo(() => getReferenceProps(triggerProps), [getReferenceProps, triggerProps]);\n const inactiveTriggerProps = React.useMemo(() => getTriggerProps(triggerProps), [getTriggerProps, triggerProps]);\n const popupProps = React.useMemo(() => getFloatingProps(), [getFloatingProps]);\n store.useSyncedValues({\n openMethod,\n activeTriggerProps,\n inactiveTriggerProps,\n popupProps,\n floatingRootContext,\n nestedOpenDialogCount: ownNestedOpenDialogs,\n nestedOpenDrawerCount: ownNestedOpenDrawers\n });\n}"],"names":["useDialogRoot","params","store","parentContext","actionsRef","isDrawer","open","disablePointerDismissal","modal","popupElement","openMethod","triggerProps","useOpenInteractionType","useImplicitActiveTrigger","forceUnmount","useOpenStateTransitions","handleImperativeClose","React","createChangeEventDetails","REASONS.imperativeAction","floatingRootContext","useSyncedFloatingRootContext","ownNestedOpenDialogs","setOwnNestedOpenDialogs","ownNestedOpenDrawers","setOwnNestedOpenDrawers","isTopmost","role","useRole","dismiss","useDismiss","event","target","getTarget","eventTarget","contains","useScrollLock","getReferenceProps","getFloatingProps","getTriggerProps","useInteractions","dialogCount","drawerCount","activeTriggerProps","inactiveTriggerProps","popupProps"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index336.js
CHANGED
|
@@ -1,12 +1,70 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
import { useRefWithInit as d } from "./index258.js";
|
|
3
|
+
import { ReactStore as a } from "./index367.js";
|
|
4
|
+
import { PopupTriggerMap as p } from "./index368.js";
|
|
5
|
+
import { popupStoreSelectors as u, createInitialPopupStoreState as c } from "./index369.js";
|
|
6
|
+
import { createSelector as n } from "./index350.js";
|
|
7
|
+
const m = {
|
|
8
|
+
...u,
|
|
9
|
+
modal: n((e) => e.modal),
|
|
10
|
+
nested: n((e) => e.nested),
|
|
11
|
+
nestedOpenDialogCount: n((e) => e.nestedOpenDialogCount),
|
|
12
|
+
nestedOpenDrawerCount: n((e) => e.nestedOpenDrawerCount),
|
|
13
|
+
disablePointerDismissal: n((e) => e.disablePointerDismissal),
|
|
14
|
+
openMethod: n((e) => e.openMethod),
|
|
15
|
+
descriptionElementId: n((e) => e.descriptionElementId),
|
|
16
|
+
titleElementId: n((e) => e.titleElementId),
|
|
17
|
+
viewportElement: n((e) => e.viewportElement),
|
|
18
|
+
role: n((e) => e.role)
|
|
19
|
+
};
|
|
20
|
+
class s extends a {
|
|
21
|
+
constructor(r) {
|
|
22
|
+
super(g(r), {
|
|
23
|
+
popupRef: /* @__PURE__ */ i.createRef(),
|
|
24
|
+
backdropRef: /* @__PURE__ */ i.createRef(),
|
|
25
|
+
internalBackdropRef: /* @__PURE__ */ i.createRef(),
|
|
26
|
+
outsidePressEnabledRef: {
|
|
27
|
+
current: !0
|
|
28
|
+
},
|
|
29
|
+
triggerElements: new p(),
|
|
30
|
+
onOpenChange: void 0,
|
|
31
|
+
onOpenChangeComplete: void 0
|
|
32
|
+
}, m);
|
|
33
|
+
}
|
|
34
|
+
setOpen = (r, t) => {
|
|
35
|
+
if (t.preventUnmountOnClose = () => {
|
|
36
|
+
this.set("preventUnmountingOnClose", !0);
|
|
37
|
+
}, !r && t.trigger == null && this.state.activeTriggerId != null && (t.trigger = this.state.activeTriggerElement ?? void 0), this.context.onOpenChange?.(r, t), t.isCanceled)
|
|
38
|
+
return;
|
|
39
|
+
this.state.floatingRootContext.dispatchOpenChange(r, t);
|
|
40
|
+
const o = {
|
|
41
|
+
open: r
|
|
42
|
+
}, l = t.trigger?.id ?? null;
|
|
43
|
+
(l || r) && (o.activeTriggerId = l, o.activeTriggerElement = t.trigger ?? null), this.update(o);
|
|
44
|
+
};
|
|
45
|
+
static useStore(r, t) {
|
|
46
|
+
const o = d(() => new s(t)).current;
|
|
47
|
+
return r ?? o;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function g(e = {}) {
|
|
51
|
+
return {
|
|
52
|
+
...c(),
|
|
53
|
+
modal: !0,
|
|
54
|
+
disablePointerDismissal: !1,
|
|
55
|
+
popupElement: null,
|
|
56
|
+
viewportElement: null,
|
|
57
|
+
descriptionElementId: void 0,
|
|
58
|
+
titleElementId: void 0,
|
|
59
|
+
openMethod: null,
|
|
60
|
+
nested: !1,
|
|
61
|
+
nestedOpenDialogCount: 0,
|
|
62
|
+
nestedOpenDrawerCount: 0,
|
|
63
|
+
role: "dialog",
|
|
64
|
+
...e
|
|
65
|
+
};
|
|
8
66
|
}
|
|
9
67
|
export {
|
|
10
|
-
s as
|
|
68
|
+
s as DialogStore
|
|
11
69
|
};
|
|
12
70
|
//# sourceMappingURL=index336.js.map
|
package/dist/index336.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index336.js","sources":["../../../node_modules/@base-ui/
|
|
1
|
+
{"version":3,"file":"index336.js","sources":["../../../node_modules/@base-ui/react/esm/dialog/store/DialogStore.js"],"sourcesContent":["import * as React from 'react';\nimport { createSelector, ReactStore } from '@base-ui/utils/store';\nimport { useRefWithInit } from '@base-ui/utils/useRefWithInit';\nimport { createInitialPopupStoreState, popupStoreSelectors, PopupTriggerMap } from \"../../utils/popups/index.js\";\nconst selectors = {\n ...popupStoreSelectors,\n modal: createSelector(state => state.modal),\n nested: createSelector(state => state.nested),\n nestedOpenDialogCount: createSelector(state => state.nestedOpenDialogCount),\n nestedOpenDrawerCount: createSelector(state => state.nestedOpenDrawerCount),\n disablePointerDismissal: createSelector(state => state.disablePointerDismissal),\n openMethod: createSelector(state => state.openMethod),\n descriptionElementId: createSelector(state => state.descriptionElementId),\n titleElementId: createSelector(state => state.titleElementId),\n viewportElement: createSelector(state => state.viewportElement),\n role: createSelector(state => state.role)\n};\nexport class DialogStore extends ReactStore {\n constructor(initialState) {\n super(createInitialState(initialState), {\n popupRef: /*#__PURE__*/React.createRef(),\n backdropRef: /*#__PURE__*/React.createRef(),\n internalBackdropRef: /*#__PURE__*/React.createRef(),\n outsidePressEnabledRef: {\n current: true\n },\n triggerElements: new PopupTriggerMap(),\n onOpenChange: undefined,\n onOpenChangeComplete: undefined\n }, selectors);\n }\n setOpen = (nextOpen, eventDetails) => {\n eventDetails.preventUnmountOnClose = () => {\n this.set('preventUnmountingOnClose', true);\n };\n if (!nextOpen && eventDetails.trigger == null && this.state.activeTriggerId != null) {\n // When closing the dialog, pass the old trigger to the onOpenChange event\n // so it's not reset too early (potentially causing focus issues in controlled scenarios).\n eventDetails.trigger = this.state.activeTriggerElement ?? undefined;\n }\n this.context.onOpenChange?.(nextOpen, eventDetails);\n if (eventDetails.isCanceled) {\n return;\n }\n this.state.floatingRootContext.dispatchOpenChange(nextOpen, eventDetails);\n const updatedState = {\n open: nextOpen\n };\n\n // If a popup is closing, the `trigger` may be null.\n // We want to keep the previous value so that exit animations are played and focus is returned correctly.\n const newTriggerId = eventDetails.trigger?.id ?? null;\n if (newTriggerId || nextOpen) {\n updatedState.activeTriggerId = newTriggerId;\n updatedState.activeTriggerElement = eventDetails.trigger ?? null;\n }\n this.update(updatedState);\n };\n static useStore(externalStore, initialState) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const internalStore = useRefWithInit(() => {\n return new DialogStore(initialState);\n }).current;\n return externalStore ?? internalStore;\n }\n}\nfunction createInitialState(initialState = {}) {\n return {\n ...createInitialPopupStoreState(),\n modal: true,\n disablePointerDismissal: false,\n popupElement: null,\n viewportElement: null,\n descriptionElementId: undefined,\n titleElementId: undefined,\n openMethod: null,\n nested: false,\n nestedOpenDialogCount: 0,\n nestedOpenDrawerCount: 0,\n role: 'dialog',\n ...initialState\n };\n}"],"names":["selectors","popupStoreSelectors","createSelector","state","DialogStore","ReactStore","initialState","createInitialState","React","PopupTriggerMap","nextOpen","eventDetails","updatedState","newTriggerId","externalStore","internalStore","useRefWithInit","createInitialPopupStoreState"],"mappings":";;;;;;AAIA,MAAMA,IAAY;AAAA,EAChB,GAAGC;AAAA,EACH,OAAOC,EAAe,CAAAC,MAASA,EAAM,KAAK;AAAA,EAC1C,QAAQD,EAAe,CAAAC,MAASA,EAAM,MAAM;AAAA,EAC5C,uBAAuBD,EAAe,CAAAC,MAASA,EAAM,qBAAqB;AAAA,EAC1E,uBAAuBD,EAAe,CAAAC,MAASA,EAAM,qBAAqB;AAAA,EAC1E,yBAAyBD,EAAe,CAAAC,MAASA,EAAM,uBAAuB;AAAA,EAC9E,YAAYD,EAAe,CAAAC,MAASA,EAAM,UAAU;AAAA,EACpD,sBAAsBD,EAAe,CAAAC,MAASA,EAAM,oBAAoB;AAAA,EACxE,gBAAgBD,EAAe,CAAAC,MAASA,EAAM,cAAc;AAAA,EAC5D,iBAAiBD,EAAe,CAAAC,MAASA,EAAM,eAAe;AAAA,EAC9D,MAAMD,EAAe,CAAAC,MAASA,EAAM,IAAI;AAC1C;AACO,MAAMC,UAAoBC,EAAW;AAAA,EAC1C,YAAYC,GAAc;AACxB,UAAMC,EAAmBD,CAAY,GAAG;AAAA,MACtC,UAAuB,gBAAAE,EAAM,UAAS;AAAA,MACtC,aAA0B,gBAAAA,EAAM,UAAS;AAAA,MACzC,qBAAkC,gBAAAA,EAAM,UAAS;AAAA,MACjD,wBAAwB;AAAA,QACtB,SAAS;AAAA,MACjB;AAAA,MACM,iBAAiB,IAAIC,EAAe;AAAA,MACpC,cAAc;AAAA,MACd,sBAAsB;AAAA,IAC5B,GAAOT,CAAS;AAAA,EACd;AAAA,EACA,UAAU,CAACU,GAAUC,MAAiB;AAUpC,QATAA,EAAa,wBAAwB,MAAM;AACzC,WAAK,IAAI,4BAA4B,EAAI;AAAA,IAC3C,GACI,CAACD,KAAYC,EAAa,WAAW,QAAQ,KAAK,MAAM,mBAAmB,SAG7EA,EAAa,UAAU,KAAK,MAAM,wBAAwB,SAE5D,KAAK,QAAQ,eAAeD,GAAUC,CAAY,GAC9CA,EAAa;AACf;AAEF,SAAK,MAAM,oBAAoB,mBAAmBD,GAAUC,CAAY;AACxE,UAAMC,IAAe;AAAA,MACnB,MAAMF;AAAA,IACZ,GAIUG,IAAeF,EAAa,SAAS,MAAM;AACjD,KAAIE,KAAgBH,OAClBE,EAAa,kBAAkBC,GAC/BD,EAAa,uBAAuBD,EAAa,WAAW,OAE9D,KAAK,OAAOC,CAAY;AAAA,EAC1B;AAAA,EACA,OAAO,SAASE,GAAeR,GAAc;AAE3C,UAAMS,IAAgBC,EAAe,MAC5B,IAAIZ,EAAYE,CAAY,CACpC,EAAE;AACH,WAAOQ,KAAiBC;AAAA,EAC1B;AACF;AACA,SAASR,EAAmBD,IAAe,IAAI;AAC7C,SAAO;AAAA,IACL,GAAGW,EAA4B;AAAA,IAC/B,OAAO;AAAA,IACP,yBAAyB;AAAA,IACzB,cAAc;AAAA,IACd,iBAAiB;AAAA,IACjB,sBAAsB;AAAA,IACtB,gBAAgB;AAAA,IAChB,YAAY;AAAA,IACZ,QAAQ;AAAA,IACR,uBAAuB;AAAA,IACvB,uBAAuB;AAAA,IACvB,MAAM;AAAA,IACN,GAAGX;AAAA,EACP;AACA;","x_google_ignoreList":[0]}
|
package/dist/index337.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
function n(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
if (e || r)
|
|
7
|
-
return {
|
|
8
|
-
...e,
|
|
9
|
-
...r
|
|
10
|
-
};
|
|
1
|
+
function n(a, s) {
|
|
2
|
+
return function(e, ...t) {
|
|
3
|
+
const r = new URL(a);
|
|
4
|
+
return r.searchParams.set("code", e.toString()), t.forEach((o) => r.searchParams.append("args[]", o)), `${s} error #${e}; visit ${r} for the full message.`;
|
|
5
|
+
};
|
|
11
6
|
}
|
|
7
|
+
const u = n("https://base-ui.com/production-error", "Base UI");
|
|
12
8
|
export {
|
|
13
|
-
n as
|
|
9
|
+
n as createFormatErrorMessage,
|
|
10
|
+
u as default
|
|
14
11
|
};
|
|
15
12
|
//# sourceMappingURL=index337.js.map
|
package/dist/index337.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index337.js","sources":["../../../node_modules/@base-ui/utils/esm/
|
|
1
|
+
{"version":3,"file":"index337.js","sources":["../../../node_modules/@base-ui/utils/esm/formatErrorMessage.js"],"sourcesContent":["/**\n * Creates a formatErrorMessage function with a custom URL and prefix.\n * @param baseUrl - The base URL for the error page (e.g., 'https://base-ui.com/production-error')\n * @param prefix - The prefix for the error message (e.g., 'Base UI')\n * @returns A function that formats error messages with the given URL and prefix\n */\nexport function createFormatErrorMessage(baseUrl, prefix) {\n return function formatErrorMessage(code, ...args) {\n const url = new URL(baseUrl);\n url.searchParams.set('code', code.toString());\n args.forEach(arg => url.searchParams.append('args[]', arg));\n return `${prefix} error #${code}; visit ${url} for the full message.`;\n };\n}\n\n/**\n * WARNING: Don't import this directly. It's imported by the code generated by\n * `@mui/internal-babel-plugin-minify-errors`. Make sure to always use string literals in `Error`\n * constructors to ensure the plugin works as expected. Supported patterns include:\n * throw new Error('My message');\n * throw new Error(`My message: ${foo}`);\n * throw new Error(`My message: ${foo}` + 'another string');\n * ...\n */\nconst formatErrorMessage = createFormatErrorMessage('https://base-ui.com/production-error', 'Base UI');\nexport default formatErrorMessage;"],"names":["createFormatErrorMessage","baseUrl","prefix","code","args","url","arg","formatErrorMessage"],"mappings":"AAMO,SAASA,EAAyBC,GAASC,GAAQ;AACxD,SAAO,SAA4BC,MAASC,GAAM;AAChD,UAAMC,IAAM,IAAI,IAAIJ,CAAO;AAC3B,WAAAI,EAAI,aAAa,IAAI,QAAQF,EAAK,SAAQ,CAAE,GAC5CC,EAAK,QAAQ,CAAAE,MAAOD,EAAI,aAAa,OAAO,UAAUC,CAAG,CAAC,GACnD,GAAGJ,CAAM,WAAWC,CAAI,WAAWE,CAAG;AAAA,EAC/C;AACF;AAWK,MAACE,IAAqBP,EAAyB,wCAAwC,SAAS;","x_google_ignoreList":[0]}
|
package/dist/index338.js
CHANGED
|
@@ -1,12 +1,96 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import { useStableCallback as a } from "./index263.js";
|
|
3
|
+
import { useIsoLayoutEffect as s } from "./index262.js";
|
|
4
|
+
import { useTransitionStatus as f } from "./index270.js";
|
|
5
|
+
import { useOpenChangeComplete as m } from "./index273.js";
|
|
6
|
+
function d(e, n) {
|
|
7
|
+
const t = l.useRef(null), r = l.useRef(null);
|
|
8
|
+
return l.useCallback((i) => {
|
|
9
|
+
if (e !== void 0) {
|
|
10
|
+
if (t.current !== null) {
|
|
11
|
+
const c = t.current, g = r.current, u = n.context.triggerElements.getById(c);
|
|
12
|
+
g && u === g && n.context.triggerElements.delete(c), t.current = null, r.current = null;
|
|
13
|
+
}
|
|
14
|
+
i !== null && (t.current = e, r.current = i, n.context.triggerElements.add(e, i));
|
|
15
|
+
}
|
|
16
|
+
}, [n, e]);
|
|
17
|
+
}
|
|
18
|
+
function x(e, n, t, r) {
|
|
19
|
+
const i = t.useState("isMountedByTrigger", e), c = d(e, t), g = a((u) => {
|
|
20
|
+
if (c(u), !u || !t.select("open"))
|
|
21
|
+
return;
|
|
22
|
+
const o = t.select("activeTriggerId");
|
|
23
|
+
if (o === e) {
|
|
24
|
+
t.update({
|
|
25
|
+
activeTriggerElement: u,
|
|
26
|
+
...r
|
|
27
|
+
});
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
o == null && t.update({
|
|
31
|
+
activeTriggerId: e,
|
|
32
|
+
activeTriggerElement: u,
|
|
33
|
+
...r
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
return s(() => {
|
|
37
|
+
i && t.update({
|
|
38
|
+
activeTriggerElement: n.current,
|
|
39
|
+
...r
|
|
40
|
+
});
|
|
41
|
+
}, [i, t, n, ...Object.values(r)]), {
|
|
42
|
+
registerTrigger: g,
|
|
43
|
+
isMountedByThisTrigger: i
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function C(e) {
|
|
47
|
+
const n = e.useState("open");
|
|
48
|
+
s(() => {
|
|
49
|
+
if (n && !e.select("activeTriggerId") && e.context.triggerElements.size === 1) {
|
|
50
|
+
const t = e.context.triggerElements.entries().next();
|
|
51
|
+
if (!t.done) {
|
|
52
|
+
const [r, i] = t.value;
|
|
53
|
+
e.update({
|
|
54
|
+
activeTriggerId: r,
|
|
55
|
+
activeTriggerElement: i
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}, [n, e]);
|
|
60
|
+
}
|
|
61
|
+
function I(e, n, t) {
|
|
62
|
+
const {
|
|
63
|
+
mounted: r,
|
|
64
|
+
setMounted: i,
|
|
65
|
+
transitionStatus: c
|
|
66
|
+
} = f(e);
|
|
67
|
+
n.useSyncedValues({
|
|
68
|
+
mounted: r,
|
|
69
|
+
transitionStatus: c
|
|
70
|
+
});
|
|
71
|
+
const g = a(() => {
|
|
72
|
+
i(!1), n.update({
|
|
73
|
+
activeTriggerId: null,
|
|
74
|
+
activeTriggerElement: null,
|
|
75
|
+
mounted: !1
|
|
76
|
+
}), n.context.onOpenChangeComplete?.(!1);
|
|
77
|
+
}), u = n.useState("preventUnmountingOnClose");
|
|
78
|
+
return m({
|
|
79
|
+
enabled: !u,
|
|
80
|
+
open: e,
|
|
81
|
+
ref: n.context.popupRef,
|
|
82
|
+
onComplete() {
|
|
83
|
+
e || g();
|
|
84
|
+
}
|
|
85
|
+
}), {
|
|
86
|
+
forceUnmount: g,
|
|
87
|
+
transitionStatus: c
|
|
88
|
+
};
|
|
8
89
|
}
|
|
9
90
|
export {
|
|
10
|
-
|
|
91
|
+
C as useImplicitActiveTrigger,
|
|
92
|
+
I as useOpenStateTransitions,
|
|
93
|
+
x as useTriggerDataForwarding,
|
|
94
|
+
d as useTriggerRegistration
|
|
11
95
|
};
|
|
12
96
|
//# sourceMappingURL=index338.js.map
|
package/dist/index338.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index338.js","sources":["../../../node_modules/@base-ui/
|
|
1
|
+
{"version":3,"file":"index338.js","sources":["../../../node_modules/@base-ui/react/esm/utils/popups/popupStoreUtils.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useTransitionStatus } from \"../../internals/useTransitionStatus.js\";\nimport { useOpenChangeComplete } from \"../../internals/useOpenChangeComplete.js\";\n/**\n * Returns a callback ref that registers/unregisters the trigger element in the store.\n *\n * @param store The Store instance where the trigger should be registered.\n */\nexport function useTriggerRegistration(id, store) {\n // Keep track of the currently registered element to unregister it on unmount or id change.\n const registeredElementIdRef = React.useRef(null);\n const registeredElementRef = React.useRef(null);\n return React.useCallback(element => {\n if (id === undefined) {\n return;\n }\n if (registeredElementIdRef.current !== null) {\n const registeredId = registeredElementIdRef.current;\n const registeredElement = registeredElementRef.current;\n const currentElement = store.context.triggerElements.getById(registeredId);\n if (registeredElement && currentElement === registeredElement) {\n store.context.triggerElements.delete(registeredId);\n }\n registeredElementIdRef.current = null;\n registeredElementRef.current = null;\n }\n if (element !== null) {\n registeredElementIdRef.current = id;\n registeredElementRef.current = element;\n store.context.triggerElements.add(id, element);\n }\n }, [store, id]);\n}\n\n/**\n * Sets up trigger data forwarding to the store.\n *\n * @param triggerId Id of the trigger.\n * @param triggerElement The trigger DOM element.\n * @param store The Store instance managing the popup state.\n * @param stateUpdates An object with state updates to apply when the trigger is active.\n */\nexport function useTriggerDataForwarding(triggerId, triggerElementRef, store, stateUpdates) {\n const isMountedByThisTrigger = store.useState('isMountedByTrigger', triggerId);\n const baseRegisterTrigger = useTriggerRegistration(triggerId, store);\n const registerTrigger = useStableCallback(element => {\n baseRegisterTrigger(element);\n if (!element || !store.select('open')) {\n return;\n }\n const activeTriggerId = store.select('activeTriggerId');\n if (activeTriggerId === triggerId) {\n store.update({\n activeTriggerElement: element,\n ...stateUpdates\n });\n return;\n }\n if (activeTriggerId == null) {\n // This runs when popup is open, but no active trigger is set.\n // It can happen when using controlled mode and the trigger is mounted after opening or if `triggerId` prop is not set explicitly.\n // In such cases the first trigger to run this code becomes the active trigger (store.select('activeTriggerId') should not return null after that).\n // This is mostly for compatibility with contained triggers where no explicit `triggerId` was required in controlled mode.\n store.update({\n activeTriggerId: triggerId,\n activeTriggerElement: element,\n ...stateUpdates\n });\n }\n });\n useIsoLayoutEffect(() => {\n if (isMountedByThisTrigger) {\n store.update({\n activeTriggerElement: triggerElementRef.current,\n ...stateUpdates\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMountedByThisTrigger, store, triggerElementRef, ...Object.values(stateUpdates)]);\n return {\n registerTrigger,\n isMountedByThisTrigger\n };\n}\n/**\n * Ensures that when there's only one trigger element registered, it is set as the active trigger.\n * This allows controlled popups to work correctly without an explicit triggerId, maintaining compatibility\n * with the contained triggers.\n *\n * This should be called on the Root part.\n *\n * @param open Whether the popup is open.\n * @param store The Store instance managing the popup state.\n */\nexport function useImplicitActiveTrigger(store) {\n const open = store.useState('open');\n useIsoLayoutEffect(() => {\n if (open && !store.select('activeTriggerId') && store.context.triggerElements.size === 1) {\n const iteratorResult = store.context.triggerElements.entries().next();\n if (!iteratorResult.done) {\n const [implicitTriggerId, implicitTriggerElement] = iteratorResult.value;\n store.update({\n activeTriggerId: implicitTriggerId,\n activeTriggerElement: implicitTriggerElement\n });\n }\n }\n }, [open, store]);\n}\n\n/**\n * Mangages the mounted state of the popup.\n * Sets up the transition status listeners and handles unmounting when needed.\n * Updates the `mounted` and `transitionStatus` states in the store.\n *\n * @param open Whether the popup is open.\n * @param store The Store instance managing the popup state.\n * @param onUnmount Optional callback to be called when the popup is unmounted.\n *\n * @returns A function to forcibly unmount the popup.\n */\nexport function useOpenStateTransitions(open, store, onUnmount) {\n const {\n mounted,\n setMounted,\n transitionStatus\n } = useTransitionStatus(open);\n store.useSyncedValues({\n mounted,\n transitionStatus\n });\n const forceUnmount = useStableCallback(() => {\n setMounted(false);\n store.update({\n activeTriggerId: null,\n activeTriggerElement: null,\n mounted: false\n });\n onUnmount?.();\n store.context.onOpenChangeComplete?.(false);\n });\n const preventUnmountingOnClose = store.useState('preventUnmountingOnClose');\n useOpenChangeComplete({\n enabled: !preventUnmountingOnClose,\n open,\n ref: store.context.popupRef,\n onComplete() {\n if (!open) {\n forceUnmount();\n }\n }\n });\n return {\n forceUnmount,\n transitionStatus\n };\n}"],"names":["useTriggerRegistration","id","store","registeredElementIdRef","React","registeredElementRef","element","registeredId","registeredElement","currentElement","useTriggerDataForwarding","triggerId","triggerElementRef","stateUpdates","isMountedByThisTrigger","baseRegisterTrigger","registerTrigger","useStableCallback","activeTriggerId","useIsoLayoutEffect","useImplicitActiveTrigger","open","iteratorResult","implicitTriggerId","implicitTriggerElement","useOpenStateTransitions","onUnmount","mounted","setMounted","transitionStatus","useTransitionStatus","forceUnmount","preventUnmountingOnClose","useOpenChangeComplete"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index339.js
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { VALID_DIGITS as n } from "./index89.js";
|
|
2
|
+
var v = "+", I = "[\\-\\.\\(\\)]?", R = "([" + n + "]|" + I + ")", i = "^\\" + v + R + "*[" + n + "]" + R + "*$", N = new RegExp(i, "g"), r = n, C = "[" + r + "]+((\\-)*[" + r + "])*", L = "a-zA-Z", f = "[" + L + "]+((\\-)*[" + r + "])*", E = "^(" + C + "\\.)*" + f + "\\.?$", O = new RegExp(E, "g"), l = "tel:", a = ";phone-context=", u = ";isub=";
|
|
3
|
+
function D(_) {
|
|
4
|
+
var t = _.indexOf(a);
|
|
5
|
+
if (t < 0)
|
|
6
|
+
return null;
|
|
7
|
+
var e = t + a.length;
|
|
8
|
+
if (e >= _.length)
|
|
9
|
+
return "";
|
|
10
|
+
var A = _.indexOf(";", e);
|
|
11
|
+
return A >= 0 ? _.substring(e, A) : _.substring(e);
|
|
12
|
+
}
|
|
13
|
+
function S(_) {
|
|
14
|
+
return _ === null ? !0 : _.length === 0 ? !1 : N.test(_) || O.test(_);
|
|
13
15
|
}
|
|
14
16
|
export {
|
|
15
|
-
|
|
17
|
+
v as PLUS_SIGN,
|
|
18
|
+
u as RFC3966_ISDN_SUBADDRESS_,
|
|
19
|
+
a as RFC3966_PHONE_CONTEXT_,
|
|
20
|
+
l as RFC3966_PREFIX_,
|
|
21
|
+
D as default,
|
|
22
|
+
S as isPhoneContextValid
|
|
16
23
|
};
|
|
17
24
|
//# sourceMappingURL=index339.js.map
|
package/dist/index339.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index339.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index339.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js"],"sourcesContent":["// When phone numbers are written in `RFC3966` format — `\"tel:+12133734253\"` —\n// they can have their \"calling code\" part written separately in a `phone-context` parameter.\n// Example: `\"tel:12133734253;phone-context=+1\"`.\n// This function parses the full phone number from the local number and the `phone-context`\n// when the `phone-context` contains a `+` sign.\n\nimport { VALID_DIGITS\n// PLUS_CHARS\n} from '../constants.js';\nexport var PLUS_SIGN = '+';\nvar RFC3966_VISUAL_SEPARATOR_ = '[\\\\-\\\\.\\\\(\\\\)]?';\nvar RFC3966_PHONE_DIGIT_ = '(' + '[' + VALID_DIGITS + ']' + '|' + RFC3966_VISUAL_SEPARATOR_ + ')';\nvar RFC3966_GLOBAL_NUMBER_DIGITS_ = '^' + '\\\\' + PLUS_SIGN + RFC3966_PHONE_DIGIT_ + '*' + '[' + VALID_DIGITS + ']' + RFC3966_PHONE_DIGIT_ + '*' + '$';\n\n/**\r\n * Regular expression of valid global-number-digits for the phone-context\r\n * parameter, following the syntax defined in RFC3966.\r\n */\nvar RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_ = new RegExp(RFC3966_GLOBAL_NUMBER_DIGITS_, 'g');\n\n// In this port of Google's library, we don't accept alpha characters in phone numbers.\n// const ALPHANUM_ = VALID_ALPHA_ + VALID_DIGITS\nvar ALPHANUM_ = VALID_DIGITS;\nvar RFC3966_DOMAINLABEL_ = '[' + ALPHANUM_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar VALID_ALPHA_ = 'a-zA-Z';\nvar RFC3966_TOPLABEL_ = '[' + VALID_ALPHA_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar RFC3966_DOMAINNAME_ = '^(' + RFC3966_DOMAINLABEL_ + '\\\\.)*' + RFC3966_TOPLABEL_ + '\\\\.?$';\n\n/**\r\n * Regular expression of valid domainname for the phone-context parameter,\r\n * following the syntax defined in RFC3966.\r\n */\nvar RFC3966_DOMAINNAME_PATTERN_ = new RegExp(RFC3966_DOMAINNAME_, 'g');\nexport var RFC3966_PREFIX_ = 'tel:';\nexport var RFC3966_PHONE_CONTEXT_ = ';phone-context=';\nexport var RFC3966_ISDN_SUBADDRESS_ = ';isub=';\n\n/**\r\n * Extracts the value of the phone-context parameter of `numberToExtractFrom`,\r\n * following the syntax defined in RFC3966.\r\n *\r\n * @param {string} numberToExtractFrom\r\n * @return {string|null} the extracted string (possibly empty), or `null` if no phone-context parameter is found.\r\n */\nexport default function extractPhoneContext(numberToExtractFrom) {\n var indexOfPhoneContext = numberToExtractFrom.indexOf(RFC3966_PHONE_CONTEXT_);\n // If no phone-context parameter is present\n if (indexOfPhoneContext < 0) {\n return null;\n }\n var phoneContextStart = indexOfPhoneContext + RFC3966_PHONE_CONTEXT_.length;\n // If phone-context parameter is empty\n if (phoneContextStart >= numberToExtractFrom.length) {\n return '';\n }\n var phoneContextEnd = numberToExtractFrom.indexOf(';', phoneContextStart);\n // If phone-context is not the last parameter\n if (phoneContextEnd >= 0) {\n return numberToExtractFrom.substring(phoneContextStart, phoneContextEnd);\n } else {\n return numberToExtractFrom.substring(phoneContextStart);\n }\n}\n\n/**\r\n * Returns whether the value of phoneContext follows the syntax defined in RFC3966.\r\n *\r\n * @param {string|null} phoneContext\r\n * @return {boolean}\r\n */\nexport function isPhoneContextValid(phoneContext) {\n if (phoneContext === null) {\n return true;\n }\n if (phoneContext.length === 0) {\n return false;\n }\n\n // Does phone-context value match pattern of global-number-digits or domainname.\n return RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.test(phoneContext) || RFC3966_DOMAINNAME_PATTERN_.test(phoneContext);\n}\n//# sourceMappingURL=extractPhoneContext.js.map"],"names":["PLUS_SIGN","RFC3966_VISUAL_SEPARATOR_","RFC3966_PHONE_DIGIT_","VALID_DIGITS","RFC3966_GLOBAL_NUMBER_DIGITS_","RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_","ALPHANUM_","RFC3966_DOMAINLABEL_","VALID_ALPHA_","RFC3966_TOPLABEL_","RFC3966_DOMAINNAME_","RFC3966_DOMAINNAME_PATTERN_","RFC3966_PREFIX_","RFC3966_PHONE_CONTEXT_","RFC3966_ISDN_SUBADDRESS_","extractPhoneContext","numberToExtractFrom","indexOfPhoneContext","phoneContextStart","phoneContextEnd","isPhoneContextValid","phoneContext"],"mappings":";AASU,IAACA,IAAY,KACnBC,IAA4B,mBAC5BC,IAAuB,OAAYC,IAAe,OAAYF,IAA4B,KAC1FG,IAAgC,QAAaJ,IAAYE,IAAuB,OAAYC,IAAe,MAAMD,IAAuB,MAMxIG,IAAwC,IAAI,OAAOD,GAA+B,GAAG,GAIrFE,IAAYH,GACZI,IAAuB,MAAMD,IAAY,eAAeA,IAAY,OACpEE,IAAe,UACfC,IAAoB,MAAMD,IAAe,eAAeF,IAAY,OACpEI,IAAsB,OAAOH,IAAuB,UAAUE,IAAoB,SAMlFE,IAA8B,IAAI,OAAOD,GAAqB,GAAG,GAC1DE,IAAkB,QAClBC,IAAyB,mBACzBC,IAA2B;AASvB,SAASC,EAAoBC,GAAqB;AAC/D,MAAIC,IAAsBD,EAAoB,QAAQH,CAAsB;AAE5E,MAAII,IAAsB;AACxB,WAAO;AAET,MAAIC,IAAoBD,IAAsBJ,EAAuB;AAErE,MAAIK,KAAqBF,EAAoB;AAC3C,WAAO;AAET,MAAIG,IAAkBH,EAAoB,QAAQ,KAAKE,CAAiB;AAExE,SAAIC,KAAmB,IACdH,EAAoB,UAAUE,GAAmBC,CAAe,IAEhEH,EAAoB,UAAUE,CAAiB;AAE1D;AAQO,SAASE,EAAoBC,GAAc;AAChD,SAAIA,MAAiB,OACZ,KAELA,EAAa,WAAW,IACnB,KAIFhB,EAAsC,KAAKgB,CAAY,KAAKV,EAA4B,KAAKU,CAAY;AAClH;","x_google_ignoreList":[0]}
|
package/dist/index34.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as r from "react";
|
|
2
|
-
import { useOnFirstRender as R } from "./
|
|
3
|
-
import { useDialogRoot as h } from "./
|
|
4
|
-
import { useDialogRootContext as v, DialogRootContext as O } from "./
|
|
5
|
-
import { DialogStore as y } from "./
|
|
2
|
+
import { useOnFirstRender as R } from "./index259.js";
|
|
3
|
+
import { useDialogRoot as h } from "./index335.js";
|
|
4
|
+
import { useDialogRootContext as v, DialogRootContext as O } from "./index331.js";
|
|
5
|
+
import { DialogStore as y } from "./index336.js";
|
|
6
6
|
import { j as c } from "./index30.js";
|
|
7
7
|
const n = /* @__PURE__ */ r.createContext(!1);
|
|
8
8
|
process.env.NODE_ENV !== "production" && (n.displayName = "IsDrawerContext");
|
package/dist/index340.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
1
|
+
function r(s, t) {
|
|
2
|
+
const e = t.startOfMonth(s), n = e.getDay() > 0 ? e.getDay() : 7, a = t.addDays(s, -n + 1), o = t.addDays(a, 34);
|
|
3
|
+
return t.getMonth(s) === t.getMonth(o) ? 5 : 4;
|
|
3
4
|
}
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
+
r as getBroadcastWeeksInMonth
|
|
6
7
|
};
|
|
7
8
|
//# sourceMappingURL=index340.js.map
|
package/dist/index340.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index340.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index340.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js"],"sourcesContent":["const FIVE_WEEKS = 5;\nconst FOUR_WEEKS = 4;\n/**\n * Returns the number of weeks to display in the broadcast calendar for a given\n * month.\n *\n * The broadcast calendar may have either 4 or 5 weeks in a month, depending on\n * the start and end dates of the broadcast weeks.\n *\n * @since 9.4.0\n * @param month The month for which to calculate the number of weeks.\n * @param dateLib The date library to use for date manipulation.\n * @returns The number of weeks in the broadcast calendar (4 or 5).\n */\nexport function getBroadcastWeeksInMonth(month, dateLib) {\n // Get the first day of the month\n const firstDayOfMonth = dateLib.startOfMonth(month);\n // Get the day of the week for the first day of the month (1-7, where 1 is Monday)\n const firstDayOfWeek = firstDayOfMonth.getDay() > 0 ? firstDayOfMonth.getDay() : 7;\n const broadcastStartDate = dateLib.addDays(month, -firstDayOfWeek + 1);\n const lastDateOfLastWeek = dateLib.addDays(broadcastStartDate, FIVE_WEEKS * 7 - 1);\n const numberOfWeeks = dateLib.getMonth(month) === dateLib.getMonth(lastDateOfLastWeek)\n ? FIVE_WEEKS\n : FOUR_WEEKS;\n return numberOfWeeks;\n}\n"],"names":["getBroadcastWeeksInMonth","month","dateLib","firstDayOfMonth","firstDayOfWeek","broadcastStartDate","lastDateOfLastWeek"],"mappings":"AAcO,SAASA,EAAyBC,GAAOC,GAAS;AAErD,QAAMC,IAAkBD,EAAQ,aAAaD,CAAK,GAE5CG,IAAiBD,EAAgB,OAAM,IAAK,IAAIA,EAAgB,OAAM,IAAK,GAC3EE,IAAqBH,EAAQ,QAAQD,GAAO,CAACG,IAAiB,CAAC,GAC/DE,IAAqBJ,EAAQ,QAAQG,GAAoB,EAAkB;AAIjF,SAHsBH,EAAQ,SAASD,CAAK,MAAMC,EAAQ,SAASI,CAAkB,IAC/E,IACA;AAEV;","x_google_ignoreList":[0]}
|
package/dist/index341.js
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
import { formatDistance as o } from "./index408.js";
|
|
2
|
+
import { formatLong as t } from "./index409.js";
|
|
3
|
+
import { formatRelative as r } from "./index410.js";
|
|
4
|
+
import { localize as m } from "./index411.js";
|
|
5
|
+
import { match as a } from "./index412.js";
|
|
6
|
+
const p = {
|
|
7
|
+
code: "en-US",
|
|
8
|
+
formatDistance: o,
|
|
9
|
+
formatLong: t,
|
|
10
|
+
formatRelative: r,
|
|
11
|
+
localize: m,
|
|
12
|
+
match: a,
|
|
13
|
+
options: {
|
|
14
|
+
weekStartsOn: 0,
|
|
15
|
+
firstWeekContainsDate: 1
|
|
16
|
+
}
|
|
17
|
+
};
|
|
4
18
|
export {
|
|
5
|
-
|
|
19
|
+
p as enUS
|
|
6
20
|
};
|
|
7
21
|
//# sourceMappingURL=index341.js.map
|
package/dist/index341.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index341.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index341.js","sources":["../../../node_modules/date-fns/locale/en-US.js"],"sourcesContent":["import { formatDistance } from \"./en-US/_lib/formatDistance.js\";\nimport { formatLong } from \"./en-US/_lib/formatLong.js\";\nimport { formatRelative } from \"./en-US/_lib/formatRelative.js\";\nimport { localize } from \"./en-US/_lib/localize.js\";\nimport { match } from \"./en-US/_lib/match.js\";\n\n/**\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)\n * @author Lesha Koss [@leshakoss](https://github.com/leshakoss)\n */\nexport const enUS = {\n code: \"en-US\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0 /* Sunday */,\n firstWeekContainsDate: 1,\n },\n};\n\n// Fallback for modularized imports:\nexport default enUS;\n"],"names":["enUS","formatDistance","formatLong","formatRelative","localize","match"],"mappings":";;;;;AAcY,MAACA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,gBAAgBC;AAAA,EAChB,YAAYC;AAAA,EACZ,gBAAgBC;AAAA,EAChB,UAAUC;AAAA,EACV,OAAOC;AAAA,EACP,SAAS;AAAA,IACP,cAAc;AAAA,IACd,uBAAuB;AAAA,EAC3B;AACA;","x_google_ignoreList":[0]}
|
package/dist/index342.js
CHANGED
|
@@ -1,23 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
countryCallingCode: e,
|
|
13
|
-
number: o
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
return {
|
|
17
|
-
number: i
|
|
18
|
-
};
|
|
1
|
+
function g(d, s, k, t, f, O, n) {
|
|
2
|
+
const { ISOWeek: o, broadcastCalendar: r } = O, { addDays: W, addMonths: c, addWeeks: l, addYears: u, endOfBroadcastWeek: b, endOfISOWeek: m, endOfWeek: y, max: F, min: I, startOfBroadcastWeek: h, startOfISOWeek: x, startOfWeek: B } = n;
|
|
3
|
+
let a = {
|
|
4
|
+
day: W,
|
|
5
|
+
week: l,
|
|
6
|
+
month: c,
|
|
7
|
+
year: u,
|
|
8
|
+
startOfWeek: (e) => r ? h(e, n) : o ? x(e) : B(e),
|
|
9
|
+
endOfWeek: (e) => r ? b(e) : o ? m(e) : y(e)
|
|
10
|
+
}[d](k, s === "after" ? 1 : -1);
|
|
11
|
+
return s === "before" && t ? a = F([t, a]) : s === "after" && f && (a = I([f, a])), a;
|
|
19
12
|
}
|
|
20
13
|
export {
|
|
21
|
-
|
|
14
|
+
g as getFocusableDate
|
|
22
15
|
};
|
|
23
16
|
//# sourceMappingURL=index342.js.map
|
package/dist/index342.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index342.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index342.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js"],"sourcesContent":["/**\n * Calculates the next date that should be focused in the calendar.\n *\n * This function determines the next focusable date based on the movement\n * direction, constraints, and calendar configuration.\n *\n * @param moveBy The unit of movement (e.g., \"day\", \"week\").\n * @param moveDir The direction of movement (\"before\" or \"after\").\n * @param refDate The reference date from which to calculate the next focusable\n * date.\n * @param navStart The earliest date the user can navigate to.\n * @param navEnd The latest date the user can navigate to.\n * @param props The DayPicker props, including calendar configuration options.\n * @param dateLib The date library to use for date manipulation.\n * @returns The next focusable date.\n */\nexport function getFocusableDate(moveBy, moveDir, refDate, navStart, navEnd, props, dateLib) {\n const { ISOWeek, broadcastCalendar } = props;\n const { addDays, addMonths, addWeeks, addYears, endOfBroadcastWeek, endOfISOWeek, endOfWeek, max, min, startOfBroadcastWeek, startOfISOWeek, startOfWeek, } = dateLib;\n const moveFns = {\n day: addDays,\n week: addWeeks,\n month: addMonths,\n year: addYears,\n startOfWeek: (date) => broadcastCalendar\n ? startOfBroadcastWeek(date, dateLib)\n : ISOWeek\n ? startOfISOWeek(date)\n : startOfWeek(date),\n endOfWeek: (date) => broadcastCalendar\n ? endOfBroadcastWeek(date)\n : ISOWeek\n ? endOfISOWeek(date)\n : endOfWeek(date),\n };\n let focusableDate = moveFns[moveBy](refDate, moveDir === \"after\" ? 1 : -1);\n if (moveDir === \"before\" && navStart) {\n focusableDate = max([navStart, focusableDate]);\n }\n else if (moveDir === \"after\" && navEnd) {\n focusableDate = min([navEnd, focusableDate]);\n }\n return focusableDate;\n}\n"],"names":["getFocusableDate","moveBy","moveDir","refDate","navStart","navEnd","props","dateLib","ISOWeek","broadcastCalendar","addDays","addMonths","addWeeks","addYears","endOfBroadcastWeek","endOfISOWeek","endOfWeek","max","min","startOfBroadcastWeek","startOfISOWeek","startOfWeek","focusableDate","date"],"mappings":"AAgBO,SAASA,EAAiBC,GAAQC,GAASC,GAASC,GAAUC,GAAQC,GAAOC,GAAS;AACzF,QAAM,EAAE,SAAAC,GAAS,mBAAAC,EAAiB,IAAKH,GACjC,EAAE,SAAAI,GAAS,WAAAC,GAAW,UAAAC,GAAU,UAAAC,GAAU,oBAAAC,GAAoB,cAAAC,GAAc,WAAAC,GAAW,KAAAC,GAAK,KAAAC,GAAK,sBAAAC,GAAsB,gBAAAC,GAAgB,aAAAC,EAAW,IAAMd;AAiB9J,MAAIe,IAhBY;AAAA,IACZ,KAAKZ;AAAA,IACL,MAAME;AAAA,IACN,OAAOD;AAAA,IACP,MAAME;AAAA,IACN,aAAa,CAACU,MAASd,IACjBU,EAAqBI,GAAMhB,CAAO,IAClCC,IACIY,EAAeG,CAAI,IACnBF,EAAYE,CAAI;AAAA,IAC1B,WAAW,CAACA,MAASd,IACfK,EAAmBS,CAAI,IACvBf,IACIO,EAAaQ,CAAI,IACjBP,EAAUO,CAAI;AAAA,EAChC,EACgCtB,CAAM,EAAEE,GAASD,MAAY,UAAU,IAAI,EAAE;AACzE,SAAIA,MAAY,YAAYE,IACxBkB,IAAgBL,EAAI,CAACb,GAAUkB,CAAa,CAAC,IAExCpB,MAAY,WAAWG,MAC5BiB,IAAgBJ,EAAI,CAACb,GAAQiB,CAAa,CAAC,IAExCA;AACX;","x_google_ignoreList":[0]}
|
package/dist/index343.js
CHANGED
|
@@ -1,32 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
else {
|
|
9
|
-
var o = n[0];
|
|
10
|
-
r = l.slice(o.length), e && (P = n[1]);
|
|
11
|
-
}
|
|
12
|
-
var f;
|
|
13
|
-
if (e) {
|
|
14
|
-
var s = l.indexOf(n[1]), a = l.slice(0, s);
|
|
15
|
-
a === i.numberingPlan.nationalPrefix() && (f = i.numberingPlan.nationalPrefix());
|
|
16
|
-
} else
|
|
17
|
-
f = n[0];
|
|
18
|
-
return {
|
|
19
|
-
nationalNumber: r,
|
|
20
|
-
nationalPrefix: f,
|
|
21
|
-
carrierCode: P
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
nationalNumber: l
|
|
27
|
-
};
|
|
1
|
+
import * as n from "react";
|
|
2
|
+
import { isReactVersionAtLeast as o } from "./index356.js";
|
|
3
|
+
function s(t) {
|
|
4
|
+
if (!/* @__PURE__ */ n.isValidElement(t))
|
|
5
|
+
return null;
|
|
6
|
+
const e = t, r = e.props;
|
|
7
|
+
return (o(19) ? r?.ref : e.ref) ?? null;
|
|
28
8
|
}
|
|
29
9
|
export {
|
|
30
|
-
|
|
10
|
+
s as getReactElementRef
|
|
31
11
|
};
|
|
32
12
|
//# sourceMappingURL=index343.js.map
|