@rpcbase/ui 0.246.0 → 0.247.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/index10.js +2 -2
- package/dist/index105.js +36 -36
- package/dist/index106.js +1 -1
- package/dist/index11.js +2 -2
- package/dist/index117.js +6 -6
- package/dist/index12.js +3 -3
- package/dist/index120.js +10 -10
- package/dist/index122.js +2 -2
- package/dist/index123.js +3 -3
- package/dist/index124.js +1 -1
- package/dist/index126.js +2 -2
- package/dist/index128.js +2 -2
- package/dist/index13.js +2 -2
- package/dist/index14.js +2 -2
- package/dist/index15.js +2 -2
- package/dist/index150.js +3 -3
- package/dist/index156.js +1 -1
- package/dist/index16.js +8 -8
- package/dist/index163.js +2 -2
- package/dist/index164.js +7 -7
- package/dist/index167.js +4 -4
- package/dist/index169.js +1 -1
- package/dist/index17.js +1 -1
- package/dist/index171.js +58 -14
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +8 -68
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +87 -37
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +19 -13
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +16 -23
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +5 -111
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +6 -13
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +6 -4
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +5 -4
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +7 -7
- package/dist/index180.js +7 -5
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +16 -11
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +4 -19
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +5 -11
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +12 -176
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +9 -279
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +13 -4
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +14 -28
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +4 -126
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +5 -63
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +16 -16
- package/dist/index190.js +6 -8
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +6 -16
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +53 -29
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +8 -69
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +4 -58
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +4 -8
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +8 -87
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +4 -19
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +4 -16
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +3 -5
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +10 -5
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +9 -6
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +9 -4
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +10 -6
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +10 -16
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +9 -4
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +6 -4
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +5 -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 +5 -13
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +1 -1
- package/dist/index210.js +6 -13
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +5 -4
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +16 -5
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +7 -6
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +10 -5
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +10 -54
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +21 -8
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +8 -4
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +9 -4
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +9 -8
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +2 -2
- package/dist/index220.js +4 -4
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +5 -4
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +16 -3
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +9 -10
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +18 -9
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +20 -9
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +12 -10
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +29 -10
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +12 -9
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +25 -6
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +1 -1
- package/dist/index230.js +5 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +14 -4
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +68 -5
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +38 -7
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +14 -6
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +23 -16
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +111 -7
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +13 -11
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +4 -10
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +4 -22
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +5 -9
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +11 -9
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +19 -9
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +11 -5
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +176 -5
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +278 -15
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +4 -9
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +28 -19
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +124 -18
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +63 -12
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +1 -1
- package/dist/index250.js +8 -29
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +15 -12
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +30 -25
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +69 -5
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +155 -20
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +31 -65
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +11 -6
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +49 -5
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +9 -11
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +11 -3
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +41 -48
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +98 -4
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +84 -27
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +103 -14
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +52 -5
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +11 -21
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +4 -53
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +37 -20
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +8 -41
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +3 -39
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +10 -46
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +133 -18
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +16 -69
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +15 -17
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +36 -3
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +20 -11
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +8 -13
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +24 -18
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +27 -35
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +16 -239
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +2 -2
- package/dist/index280.js +20 -253
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +64 -66
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +6 -99
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +5 -83
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +11 -3
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +3 -29
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +50 -16
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +4 -35
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +28 -16
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +16 -3
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +56 -3
- package/dist/index29.js.map +1 -1
- package/dist/index290.js +5 -26
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +20 -27
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +54 -4
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +18 -76
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +37 -268
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +39 -11
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +45 -10
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +20 -25
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +69 -15
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +14 -122
- package/dist/index299.js.map +1 -1
- package/dist/index3.js +2 -2
- package/dist/index30.js +3 -242
- package/dist/index30.js.map +1 -1
- package/dist/index300.js +3 -5
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +11 -65
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +14 -14
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +18 -7
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +36 -5
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +239 -3
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +252 -10
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +68 -7
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +94 -128
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +75 -391
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +239 -21
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +4 -5
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +28 -51
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +15 -10
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +35 -28
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +17 -11
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +3 -154
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +25 -31
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +28 -11
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +4 -50
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +78 -9
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +23 -4
- package/dist/index32.js.map +1 -1
- package/dist/index320.js +271 -10
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +11 -43
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +10 -97
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +25 -86
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +15 -104
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +123 -50
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +5 -11
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +65 -4
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +13 -37
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +7 -8
- package/dist/index329.js.map +1 -1
- package/dist/index33.js +3 -6
- package/dist/index33.js.map +1 -1
- package/dist/index330.js +5 -135
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +3 -17
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +10 -15
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +7 -3
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +129 -32
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +397 -18
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +5 -10
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +52 -8
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +11 -24
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +27 -28
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +8 -38
- package/dist/index34.js.map +1 -1
- package/dist/index340.js +11 -16
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +4 -8
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +18 -12
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +12 -8
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +8 -13
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +11 -3
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +8 -3
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +12 -16
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +3 -51
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +3 -5
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +35 -74
- package/dist/index35.js.map +1 -1
- package/dist/index350.js +16 -60
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +5 -66
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +51 -8
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +62 -5
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +66 -11
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +8 -21
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +5 -17
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +12 -8
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +21 -144
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +14 -77
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +74 -20
- package/dist/index36.js.map +1 -1
- package/dist/index360.js +8 -62
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +145 -15
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +79 -4
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +61 -17
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +15 -13
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +4 -11
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +21 -4
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +4 -6
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +6 -3
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +3 -21
- package/dist/index369.js.map +1 -1
- package/dist/index37.js +18 -33
- package/dist/index37.js.map +1 -1
- package/dist/index370.js +11 -44
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +20 -17
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +45 -5
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +15 -198
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +5 -74
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +192 -115
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +73 -4
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +122 -19
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +4 -8
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +5 -27
- package/dist/index379.js.map +1 -1
- package/dist/index38.js +36 -26
- package/dist/index38.js.map +1 -1
- package/dist/index380.js +4 -138
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +15 -12
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +8 -46
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +5 -3
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +4 -21
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +542 -72
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +46 -11
- package/dist/index386.js.map +1 -1
- package/dist/index387.js +17 -3
- package/dist/index387.js.map +1 -1
- package/dist/index388.js +5 -71
- package/dist/index388.js.map +1 -1
- package/dist/index389.js +7 -35
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +26 -21
- package/dist/index39.js.map +1 -1
- package/dist/index390.js +7 -7
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +7 -15
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +11 -4
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +8 -4
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +13 -4
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +8 -15
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +27 -9
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +137 -5
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +12 -4
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +44 -543
- package/dist/index399.js.map +1 -1
- package/dist/index4.js +2 -2
- package/dist/index40.js +20 -56
- package/dist/index40.js.map +1 -1
- package/dist/index400.js +4 -47
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +21 -17
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +75 -5
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +12 -8
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +3 -6
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +71 -7
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +35 -11
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +7 -9
- package/dist/index407.js.map +1 -1
- package/dist/index408.js +15 -12
- package/dist/index408.js.map +1 -1
- package/dist/index41.js +59 -51
- package/dist/index41.js.map +1 -1
- package/dist/index411.js +5 -3
- package/dist/index411.js.map +1 -1
- package/dist/index412.js +55 -14
- package/dist/index412.js.map +1 -1
- package/dist/index413.js +66 -490
- package/dist/index413.js.map +1 -1
- package/dist/index414.js +31 -5
- package/dist/index414.js.map +1 -1
- package/dist/index415.js +9 -56
- package/dist/index415.js.map +1 -1
- package/dist/index416.js +146 -61
- package/dist/index416.js.map +1 -1
- package/dist/index417.js +103 -26
- package/dist/index417.js.map +1 -1
- package/dist/index418.js +15 -9
- package/dist/index418.js.map +1 -1
- package/dist/index419.js +3 -153
- package/dist/index419.js.map +1 -1
- package/dist/index42.js +50 -21
- package/dist/index42.js.map +1 -1
- package/dist/index420.js +490 -106
- package/dist/index420.js.map +1 -1
- package/dist/index423.js +1 -1
- package/dist/index424.js +1 -1
- package/dist/index427.js +1 -1
- package/dist/index428.js +1 -1
- package/dist/index43.js +18 -127
- package/dist/index43.js.map +1 -1
- package/dist/index430.js +16 -2
- package/dist/index430.js.map +1 -1
- package/dist/index431.js +29 -2
- package/dist/index431.js.map +1 -1
- package/dist/index432.js +13 -2
- package/dist/index432.js.map +1 -1
- package/dist/index433.js +7 -2
- package/dist/index433.js.map +1 -1
- package/dist/index434.js +2 -16
- package/dist/index434.js.map +1 -1
- package/dist/index435.js +2 -29
- package/dist/index435.js.map +1 -1
- package/dist/index436.js +2 -13
- package/dist/index436.js.map +1 -1
- package/dist/index437.js +2 -7
- package/dist/index437.js.map +1 -1
- package/dist/index44.js +122 -39
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +42 -85
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +87 -123
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +126 -5
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +5 -332
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +321 -246
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +2 -2
- package/dist/index50.js +254 -23
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +25 -129
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +129 -24
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +22 -19
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +19 -134
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +133 -30
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +30 -24
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +26 -38
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +39 -19
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +18 -133
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +4 -4
- package/dist/index60.js +134 -49
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +48 -25
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +28 -57
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +57 -56
- package/dist/index63.js.map +1 -1
- package/dist/index7.js +11 -11
- package/dist/index8.js +2 -2
- package/dist/index9.js +1 -1
- package/package.json +1 -1
package/dist/index405.js
CHANGED
|
@@ -1,11 +1,75 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { createEventEmitter as a } from "./index418.js";
|
|
2
|
+
import { ReactStore as m } from "./index361.js";
|
|
3
|
+
import { isClickLikeEvent as f } from "./index339.js";
|
|
4
|
+
import { createSelector as o } from "./index364.js";
|
|
5
|
+
const l = {
|
|
6
|
+
open: o((t) => t.open),
|
|
7
|
+
transitionStatus: o((t) => t.transitionStatus),
|
|
8
|
+
domReferenceElement: o((t) => t.domReferenceElement),
|
|
9
|
+
referenceElement: o((t) => t.positionReference ?? t.referenceElement),
|
|
10
|
+
floatingElement: o((t) => t.floatingElement),
|
|
11
|
+
floatingId: o((t) => t.floatingId)
|
|
12
|
+
};
|
|
13
|
+
class d extends m {
|
|
14
|
+
constructor(n) {
|
|
15
|
+
const {
|
|
16
|
+
syncOnly: e,
|
|
17
|
+
nested: r,
|
|
18
|
+
onOpenChange: s,
|
|
19
|
+
triggerElements: c,
|
|
20
|
+
...i
|
|
21
|
+
} = n;
|
|
22
|
+
super({
|
|
23
|
+
...i,
|
|
24
|
+
positionReference: i.referenceElement,
|
|
25
|
+
domReferenceElement: i.referenceElement
|
|
26
|
+
}, {
|
|
27
|
+
onOpenChange: s,
|
|
28
|
+
dataRef: {
|
|
29
|
+
current: {}
|
|
30
|
+
},
|
|
31
|
+
events: a(),
|
|
32
|
+
nested: r,
|
|
33
|
+
triggerElements: c
|
|
34
|
+
}, l), this.syncOnly = e;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Syncs the event used by hover logic to distinguish hover-open from click-like interaction.
|
|
38
|
+
*/
|
|
39
|
+
syncOpenEvent = (n, e) => {
|
|
40
|
+
(!n || !this.state.open || // Prevent a pending hover-open from overwriting a click-open event, while allowing
|
|
41
|
+
// click events to upgrade a hover-open.
|
|
42
|
+
e != null && f(e)) && (this.context.dataRef.current.openEvent = n ? e : void 0);
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Runs the root-owned side effects for an open state change.
|
|
46
|
+
*/
|
|
47
|
+
dispatchOpenChange = (n, e) => {
|
|
48
|
+
this.syncOpenEvent(n, e.event);
|
|
49
|
+
const r = {
|
|
50
|
+
open: n,
|
|
51
|
+
reason: e.reason,
|
|
52
|
+
nativeEvent: e.event,
|
|
53
|
+
nested: this.context.nested,
|
|
54
|
+
triggerElement: e.trigger
|
|
55
|
+
};
|
|
56
|
+
this.context.events.emit("openchange", r);
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Emits the `openchange` event through the internal event emitter and calls the `onOpenChange` handler with the provided arguments.
|
|
60
|
+
*
|
|
61
|
+
* @param newOpen The new open state.
|
|
62
|
+
* @param eventDetails Details about the event that triggered the open state change.
|
|
63
|
+
*/
|
|
64
|
+
setOpen = (n, e) => {
|
|
65
|
+
if (this.syncOnly) {
|
|
66
|
+
this.context.onOpenChange?.(n, e);
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
this.dispatchOpenChange(n, e), this.context.onOpenChange?.(n, e);
|
|
70
|
+
};
|
|
7
71
|
}
|
|
8
72
|
export {
|
|
9
|
-
|
|
73
|
+
d as FloatingRootStore
|
|
10
74
|
};
|
|
11
75
|
//# sourceMappingURL=index405.js.map
|
package/dist/index405.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index405.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index405.js","sources":["../../../node_modules/@base-ui/react/floating-ui-react/components/FloatingRootStore.mjs"],"sourcesContent":["import { createSelector, ReactStore } from '@base-ui/utils/store';\nimport { createEventEmitter } from \"../utils/createEventEmitter.mjs\";\nimport { isClickLikeEvent } from \"../utils.mjs\";\nconst selectors = {\n open: createSelector(state => state.open),\n transitionStatus: createSelector(state => state.transitionStatus),\n domReferenceElement: createSelector(state => state.domReferenceElement),\n referenceElement: createSelector(state => state.positionReference ?? state.referenceElement),\n floatingElement: createSelector(state => state.floatingElement),\n floatingId: createSelector(state => state.floatingId)\n};\nexport class FloatingRootStore extends ReactStore {\n constructor(options) {\n const {\n syncOnly,\n nested,\n onOpenChange,\n triggerElements,\n ...initialState\n } = options;\n super({\n ...initialState,\n positionReference: initialState.referenceElement,\n domReferenceElement: initialState.referenceElement\n }, {\n onOpenChange,\n dataRef: {\n current: {}\n },\n events: createEventEmitter(),\n nested,\n triggerElements\n }, selectors);\n this.syncOnly = syncOnly;\n }\n\n /**\n * Syncs the event used by hover logic to distinguish hover-open from click-like interaction.\n */\n syncOpenEvent = (newOpen, event) => {\n if (!newOpen || !this.state.open ||\n // Prevent a pending hover-open from overwriting a click-open event, while allowing\n // click events to upgrade a hover-open.\n event != null && isClickLikeEvent(event)) {\n this.context.dataRef.current.openEvent = newOpen ? event : undefined;\n }\n };\n\n /**\n * Runs the root-owned side effects for an open state change.\n */\n dispatchOpenChange = (newOpen, eventDetails) => {\n this.syncOpenEvent(newOpen, eventDetails.event);\n const details = {\n open: newOpen,\n reason: eventDetails.reason,\n nativeEvent: eventDetails.event,\n nested: this.context.nested,\n triggerElement: eventDetails.trigger\n };\n this.context.events.emit('openchange', details);\n };\n\n /**\n * Emits the `openchange` event through the internal event emitter and calls the `onOpenChange` handler with the provided arguments.\n *\n * @param newOpen The new open state.\n * @param eventDetails Details about the event that triggered the open state change.\n */\n setOpen = (newOpen, eventDetails) => {\n if (this.syncOnly) {\n this.context.onOpenChange?.(newOpen, eventDetails);\n return;\n }\n this.dispatchOpenChange(newOpen, eventDetails);\n this.context.onOpenChange?.(newOpen, eventDetails);\n };\n}"],"names":["selectors","createSelector","state","FloatingRootStore","ReactStore","options","syncOnly","nested","onOpenChange","triggerElements","initialState","createEventEmitter","newOpen","event","isClickLikeEvent","eventDetails","details"],"mappings":";;;;AAGA,MAAMA,IAAY;AAAA,EAChB,MAAMC,EAAe,CAAAC,MAASA,EAAM,IAAI;AAAA,EACxC,kBAAkBD,EAAe,CAAAC,MAASA,EAAM,gBAAgB;AAAA,EAChE,qBAAqBD,EAAe,CAAAC,MAASA,EAAM,mBAAmB;AAAA,EACtE,kBAAkBD,EAAe,CAAAC,MAASA,EAAM,qBAAqBA,EAAM,gBAAgB;AAAA,EAC3F,iBAAiBD,EAAe,CAAAC,MAASA,EAAM,eAAe;AAAA,EAC9D,YAAYD,EAAe,CAAAC,MAASA,EAAM,UAAU;AACtD;AACO,MAAMC,UAA0BC,EAAW;AAAA,EAChD,YAAYC,GAAS;AACnB,UAAM;AAAA,MACJ,UAAAC;AAAA,MACA,QAAAC;AAAA,MACA,cAAAC;AAAA,MACA,iBAAAC;AAAA,MACA,GAAGC;AAAA,IACT,IAAQL;AACJ,UAAM;AAAA,MACJ,GAAGK;AAAA,MACH,mBAAmBA,EAAa;AAAA,MAChC,qBAAqBA,EAAa;AAAA,IACxC,GAAO;AAAA,MACD,cAAAF;AAAA,MACA,SAAS;AAAA,QACP,SAAS,CAAA;AAAA,MACjB;AAAA,MACM,QAAQG,EAAkB;AAAA,MAC1B,QAAAJ;AAAA,MACA,iBAAAE;AAAA,IACN,GAAOT,CAAS,GACZ,KAAK,WAAWM;AAAA,EAClB;AAAA;AAAA;AAAA;AAAA,EAKA,gBAAgB,CAACM,GAASC,MAAU;AAClC,KAAI,CAACD,KAAW,CAAC,KAAK,MAAM;AAAA;AAAA,IAG5BC,KAAS,QAAQC,EAAiBD,CAAK,OACrC,KAAK,QAAQ,QAAQ,QAAQ,YAAYD,IAAUC,IAAQ;AAAA,EAE/D;AAAA;AAAA;AAAA;AAAA,EAKA,qBAAqB,CAACD,GAASG,MAAiB;AAC9C,SAAK,cAAcH,GAASG,EAAa,KAAK;AAC9C,UAAMC,IAAU;AAAA,MACd,MAAMJ;AAAA,MACN,QAAQG,EAAa;AAAA,MACrB,aAAaA,EAAa;AAAA,MAC1B,QAAQ,KAAK,QAAQ;AAAA,MACrB,gBAAgBA,EAAa;AAAA,IACnC;AACI,SAAK,QAAQ,OAAO,KAAK,cAAcC,CAAO;AAAA,EAChD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,UAAU,CAACJ,GAASG,MAAiB;AACnC,QAAI,KAAK,UAAU;AACjB,WAAK,QAAQ,eAAeH,GAASG,CAAY;AACjD;AAAA,IACF;AACA,SAAK,mBAAmBH,GAASG,CAAY,GAC7C,KAAK,QAAQ,eAAeH,GAASG,CAAY;AAAA,EACnD;AACF;","x_google_ignoreList":[0]}
|
package/dist/index406.js
CHANGED
|
@@ -1,15 +1,39 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import * as d from "react";
|
|
2
|
+
import { useIsoLayoutEffect as E } from "./index287.js";
|
|
3
|
+
import { isElement as R } from "./index334.js";
|
|
4
|
+
import { FloatingRootStore as S } from "./index405.js";
|
|
5
|
+
function h(u) {
|
|
6
|
+
const {
|
|
7
|
+
popupStore: n,
|
|
8
|
+
treatPopupAsFloatingElement: p = !1,
|
|
9
|
+
floatingRootContext: l,
|
|
10
|
+
floatingId: o,
|
|
11
|
+
nested: c,
|
|
12
|
+
onOpenChange: m
|
|
13
|
+
} = u, r = n.useState("open"), t = n.useState("activeTriggerElement"), s = n.useState(p ? "popupElement" : "positionerElement"), g = n.context.triggerElements, f = m, i = d.useRef(null);
|
|
14
|
+
l === void 0 && i.current === null && (i.current = new S({
|
|
15
|
+
open: r,
|
|
16
|
+
transitionStatus: void 0,
|
|
17
|
+
referenceElement: t,
|
|
18
|
+
floatingElement: s,
|
|
19
|
+
triggerElements: g,
|
|
20
|
+
onOpenChange: f,
|
|
21
|
+
floatingId: o,
|
|
22
|
+
syncOnly: !0,
|
|
23
|
+
nested: c
|
|
24
|
+
}));
|
|
25
|
+
const e = l ?? i.current;
|
|
26
|
+
return n.useSyncedValue("floatingId", o), E(() => {
|
|
27
|
+
const a = {
|
|
28
|
+
open: r,
|
|
29
|
+
floatingId: o,
|
|
30
|
+
referenceElement: t,
|
|
31
|
+
floatingElement: s
|
|
32
|
+
};
|
|
33
|
+
R(t) && (a.domReferenceElement = t), e.state.positionReference === e.state.referenceElement && (a.positionReference = t), e.update(a);
|
|
34
|
+
}, [r, o, t, s, e]), e.context.onOpenChange = f, e.context.nested = c, e;
|
|
11
35
|
}
|
|
12
36
|
export {
|
|
13
|
-
|
|
37
|
+
h as useSyncedFloatingRootContext
|
|
14
38
|
};
|
|
15
39
|
//# sourceMappingURL=index406.js.map
|
package/dist/index406.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index406.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index406.js","sources":["../../../node_modules/@base-ui/react/floating-ui-react/hooks/useSyncedFloatingRootContext.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { isElement } from '@floating-ui/utils/dom';\nimport { FloatingRootStore } from \"../components/FloatingRootStore.mjs\";\n/**\n * Keeps a FloatingRootStore in sync with the provided PopupStore.\n * Uses the provided FloatingRootStore when one exists, otherwise creates one once and updates it on every render.\n */\nexport function useSyncedFloatingRootContext(options) {\n const {\n popupStore,\n treatPopupAsFloatingElement = false,\n floatingRootContext: floatingRootContextProp,\n floatingId,\n nested,\n onOpenChange\n } = options;\n const open = popupStore.useState('open');\n const referenceElement = popupStore.useState('activeTriggerElement');\n const floatingElement = popupStore.useState(treatPopupAsFloatingElement ? 'popupElement' : 'positionerElement');\n const triggerElements = popupStore.context.triggerElements;\n const handleOpenChange = onOpenChange;\n const internalStoreRef = React.useRef(null);\n if (floatingRootContextProp === undefined && internalStoreRef.current === null) {\n internalStoreRef.current = new FloatingRootStore({\n open,\n transitionStatus: undefined,\n referenceElement,\n floatingElement,\n triggerElements,\n onOpenChange: handleOpenChange,\n floatingId,\n syncOnly: true,\n nested\n });\n }\n const store = floatingRootContextProp ?? internalStoreRef.current;\n popupStore.useSyncedValue('floatingId', floatingId);\n useIsoLayoutEffect(() => {\n const valuesToSync = {\n open,\n floatingId,\n referenceElement,\n floatingElement\n };\n if (isElement(referenceElement)) {\n valuesToSync.domReferenceElement = referenceElement;\n }\n if (store.state.positionReference === store.state.referenceElement) {\n valuesToSync.positionReference = referenceElement;\n }\n store.update(valuesToSync);\n }, [open, floatingId, referenceElement, floatingElement, store]);\n\n // Keep non-reactive context values fresh for interactions that call `store.setOpen`.\n store.context.onOpenChange = handleOpenChange;\n store.context.nested = nested;\n return store;\n}"],"names":["useSyncedFloatingRootContext","options","popupStore","treatPopupAsFloatingElement","floatingRootContextProp","floatingId","nested","onOpenChange","open","referenceElement","floatingElement","triggerElements","handleOpenChange","internalStoreRef","React","FloatingRootStore","store","useIsoLayoutEffect","valuesToSync","isElement"],"mappings":";;;;AAUO,SAASA,EAA6BC,GAAS;AACpD,QAAM;AAAA,IACJ,YAAAC;AAAA,IACA,6BAAAC,IAA8B;AAAA,IAC9B,qBAAqBC;AAAA,IACrB,YAAAC;AAAA,IACA,QAAAC;AAAA,IACA,cAAAC;AAAA,EACJ,IAAMN,GACEO,IAAON,EAAW,SAAS,MAAM,GACjCO,IAAmBP,EAAW,SAAS,sBAAsB,GAC7DQ,IAAkBR,EAAW,SAASC,IAA8B,iBAAiB,mBAAmB,GACxGQ,IAAkBT,EAAW,QAAQ,iBACrCU,IAAmBL,GACnBM,IAAmBC,EAAM,OAAO,IAAI;AAC1C,EAAIV,MAA4B,UAAaS,EAAiB,YAAY,SACxEA,EAAiB,UAAU,IAAIE,EAAkB;AAAA,IAC/C,MAAAP;AAAA,IACA,kBAAkB;AAAA,IAClB,kBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,cAAcC;AAAA,IACd,YAAAP;AAAA,IACA,UAAU;AAAA,IACV,QAAAC;AAAA,EACN,CAAK;AAEH,QAAMU,IAAQZ,KAA2BS,EAAiB;AAC1D,SAAAX,EAAW,eAAe,cAAcG,CAAU,GAClDY,EAAmB,MAAM;AACvB,UAAMC,IAAe;AAAA,MACnB,MAAAV;AAAA,MACA,YAAAH;AAAA,MACA,kBAAAI;AAAA,MACA,iBAAAC;AAAA,IACN;AACI,IAAIS,EAAUV,CAAgB,MAC5BS,EAAa,sBAAsBT,IAEjCO,EAAM,MAAM,sBAAsBA,EAAM,MAAM,qBAChDE,EAAa,oBAAoBT,IAEnCO,EAAM,OAAOE,CAAY;AAAA,EAC3B,GAAG,CAACV,GAAMH,GAAYI,GAAkBC,GAAiBM,CAAK,CAAC,GAG/DA,EAAM,QAAQ,eAAeJ,GAC7BI,EAAM,QAAQ,SAASV,GAChBU;AACT;","x_google_ignoreList":[0]}
|
package/dist/index407.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import { constructFrom as i } from "./index392.js";
|
|
3
|
-
import { getWeekYear as f } from "./index408.js";
|
|
4
|
-
import { startOfWeek as c } from "./index233.js";
|
|
5
|
-
function D(r, t) {
|
|
6
|
-
const o = n(), s = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, a = f(r, t), e = i(t?.in || r, 0);
|
|
7
|
-
return e.setFullYear(a, 0, s), e.setHours(0, 0, 0, 0), c(e, t);
|
|
8
|
-
}
|
|
1
|
+
const t = "data-base-ui-focusable", o = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])", e = "ArrowLeft", n = "ArrowRight", R = "ArrowUp", a = "ArrowDown";
|
|
9
2
|
export {
|
|
10
|
-
|
|
3
|
+
a as ARROW_DOWN,
|
|
4
|
+
e as ARROW_LEFT,
|
|
5
|
+
n as ARROW_RIGHT,
|
|
6
|
+
R as ARROW_UP,
|
|
7
|
+
t as FOCUSABLE_ATTRIBUTE,
|
|
8
|
+
o as TYPEABLE_SELECTOR
|
|
11
9
|
};
|
|
12
10
|
//# sourceMappingURL=index407.js.map
|
package/dist/index407.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index407.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index407.js","sources":["../../../node_modules/@base-ui/react/floating-ui-react/utils/constants.mjs"],"sourcesContent":["export const FOCUSABLE_ATTRIBUTE = 'data-base-ui-focusable';\nexport const ACTIVE_KEY = 'active';\nexport const SELECTED_KEY = 'selected';\nexport const TYPEABLE_SELECTOR = \"input:not([type='hidden']):not([disabled]),\" + \"[contenteditable]:not([contenteditable='false']),textarea:not([disabled])\";\nexport const ARROW_LEFT = 'ArrowLeft';\nexport const ARROW_RIGHT = 'ArrowRight';\nexport const ARROW_UP = 'ArrowUp';\nexport const ARROW_DOWN = 'ArrowDown';"],"names":["FOCUSABLE_ATTRIBUTE","TYPEABLE_SELECTOR","ARROW_LEFT","ARROW_RIGHT","ARROW_UP","ARROW_DOWN"],"mappings":"AAAY,MAACA,IAAsB,0BAGtBC,IAAoB,wHACpBC,IAAa,aACbC,IAAc,cACdC,IAAW,WACXC,IAAa;","x_google_ignoreList":[0]}
|
package/dist/index408.js
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { FloatingRootStore as e } from "./index405.js";
|
|
2
|
+
import { PopupTriggerMap as n } from "./index363.js";
|
|
3
|
+
function r() {
|
|
4
|
+
return new e({
|
|
5
|
+
open: !1,
|
|
6
|
+
transitionStatus: void 0,
|
|
7
|
+
floatingElement: null,
|
|
8
|
+
referenceElement: null,
|
|
9
|
+
triggerElements: new n(),
|
|
10
|
+
floatingId: void 0,
|
|
11
|
+
syncOnly: !1,
|
|
12
|
+
nested: !1,
|
|
13
|
+
onOpenChange: void 0
|
|
14
|
+
});
|
|
12
15
|
}
|
|
13
16
|
export {
|
|
14
|
-
|
|
17
|
+
r as getEmptyRootContext
|
|
15
18
|
};
|
|
16
19
|
//# sourceMappingURL=index408.js.map
|
package/dist/index408.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index408.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index408.js","sources":["../../../node_modules/@base-ui/react/floating-ui-react/utils/getEmptyRootContext.mjs"],"sourcesContent":["import { PopupTriggerMap } from \"../../utils/popups/index.mjs\";\nimport { FloatingRootStore } from \"../components/FloatingRootStore.mjs\";\nexport function getEmptyRootContext() {\n return new FloatingRootStore({\n open: false,\n transitionStatus: undefined,\n floatingElement: null,\n referenceElement: null,\n triggerElements: new PopupTriggerMap(),\n floatingId: undefined,\n syncOnly: false,\n nested: false,\n onOpenChange: undefined\n });\n}"],"names":["getEmptyRootContext","FloatingRootStore","PopupTriggerMap"],"mappings":";;AAEO,SAASA,IAAsB;AACpC,SAAO,IAAIC,EAAkB;AAAA,IAC3B,MAAM;AAAA,IACN,kBAAkB;AAAA,IAClB,iBAAiB;AAAA,IACjB,kBAAkB;AAAA,IAClB,iBAAiB,IAAIC,EAAe;AAAA,IACpC,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,QAAQ;AAAA,IACR,cAAc;AAAA,EAClB,CAAG;AACH;","x_google_ignoreList":[0]}
|
package/dist/index41.js
CHANGED
|
@@ -1,54 +1,62 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
1
|
+
import N from "./index250.js";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { useDialogRootContext as P } from "./index231.js";
|
|
4
|
+
import { useButton as b } from "./index236.js";
|
|
5
|
+
import { useRenderElement as w } from "./index232.js";
|
|
6
|
+
import { triggerOpenStateMapping as x } from "./index233.js";
|
|
7
|
+
import { CLICK_TRIGGER_IDENTIFIER as M } from "./index251.js";
|
|
8
|
+
import { useBaseUiId as O } from "./index238.js";
|
|
9
|
+
import { useOpenMethodTriggerProps as v } from "./index252.js";
|
|
10
|
+
import { useTriggerDataForwarding as S } from "./index244.js";
|
|
11
|
+
import { useClick as _ } from "./index253.js";
|
|
12
|
+
const k = /* @__PURE__ */ a.forwardRef(function(o, g) {
|
|
13
|
+
const {
|
|
14
|
+
render: G,
|
|
15
|
+
className: U,
|
|
16
|
+
style: V,
|
|
17
|
+
disabled: r = !1,
|
|
18
|
+
nativeButton: p = !0,
|
|
19
|
+
id: d,
|
|
20
|
+
payload: u,
|
|
21
|
+
handle: l,
|
|
22
|
+
...c
|
|
23
|
+
} = o, m = P(!0), e = l?.store ?? m?.store;
|
|
24
|
+
if (!e)
|
|
25
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: <Dialog.Trigger> must be used within <Dialog.Root> or provided with a handle." : N(79));
|
|
26
|
+
const t = O(d), i = e.useState("floatingRootContext"), s = e.useState("isOpenedByTrigger", t), f = e.useState("triggerPopupId", t), n = a.useRef(null), {
|
|
27
|
+
registerTrigger: T,
|
|
28
|
+
isMountedByThisTrigger: R
|
|
29
|
+
} = S(t, n, e, {
|
|
30
|
+
payload: u
|
|
31
|
+
}), {
|
|
32
|
+
getButtonProps: h,
|
|
33
|
+
buttonRef: E
|
|
34
|
+
} = b({
|
|
35
|
+
disabled: r,
|
|
36
|
+
native: p
|
|
37
|
+
}), D = _(i, {
|
|
38
|
+
enabled: i != null
|
|
39
|
+
}), I = v(() => e.select("open"), (C) => {
|
|
40
|
+
e.set("openMethod", C);
|
|
41
|
+
}), B = {
|
|
42
|
+
disabled: r,
|
|
43
|
+
open: s
|
|
44
|
+
}, y = e.useState("triggerProps", R);
|
|
45
|
+
return w("button", o, {
|
|
46
|
+
state: B,
|
|
47
|
+
ref: [E, g, T, n],
|
|
48
|
+
props: [D.reference, y, I, {
|
|
49
|
+
[M]: "",
|
|
50
|
+
id: t,
|
|
51
|
+
"aria-haspopup": "dialog",
|
|
52
|
+
"aria-expanded": s,
|
|
53
|
+
"aria-controls": f
|
|
54
|
+
}, c, h],
|
|
55
|
+
stateAttributesMapping: x
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
process.env.NODE_ENV !== "production" && (k.displayName = "DialogTrigger");
|
|
50
59
|
export {
|
|
51
|
-
|
|
52
|
-
z as decode
|
|
60
|
+
k as DialogTrigger
|
|
53
61
|
};
|
|
54
62
|
//# sourceMappingURL=index41.js.map
|
package/dist/index41.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index41.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index41.js","sources":["../../../node_modules/@base-ui/react/dialog/trigger/DialogTrigger.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nimport { useDialogRootContext } from \"../root/DialogRootContext.mjs\";\nimport { useButton } from \"../../internals/use-button/useButton.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { triggerOpenStateMapping } from \"../../utils/popupStateMapping.mjs\";\nimport { CLICK_TRIGGER_IDENTIFIER } from \"../../internals/constants.mjs\";\nimport { useTriggerDataForwarding } from \"../../utils/popups/index.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\nimport { useClick } from \"../../floating-ui-react/index.mjs\";\nimport { useOpenMethodTriggerProps } from \"../../utils/useOpenInteractionType.mjs\";\n\n/**\n * A button that opens the dialog.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)\n */\nexport const DialogTrigger = /*#__PURE__*/React.forwardRef(function DialogTrigger(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n disabled = false,\n nativeButton = true,\n id: idProp,\n payload,\n handle,\n ...elementProps\n } = componentProps;\n const dialogRootContext = useDialogRootContext(true);\n const store = handle?.store ?? dialogRootContext?.store;\n if (!store) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: <Dialog.Trigger> must be used within <Dialog.Root> or provided with a handle.' : _formatErrorMessage(79));\n }\n const thisTriggerId = useBaseUiId(idProp);\n const floatingContext = store.useState('floatingRootContext');\n const isOpenedByThisTrigger = store.useState('isOpenedByTrigger', thisTriggerId);\n const popupId = store.useState('triggerPopupId', thisTriggerId);\n const triggerElementRef = React.useRef(null);\n const {\n registerTrigger,\n isMountedByThisTrigger\n } = useTriggerDataForwarding(thisTriggerId, triggerElementRef, store, {\n payload\n });\n const {\n getButtonProps,\n buttonRef\n } = useButton({\n disabled,\n native: nativeButton\n });\n const click = useClick(floatingContext, {\n enabled: floatingContext != null\n });\n const interactionTypeProps = useOpenMethodTriggerProps(() => store.select('open'), interactionType => {\n store.set('openMethod', interactionType);\n });\n const state = {\n disabled,\n open: isOpenedByThisTrigger\n };\n const rootTriggerProps = store.useState('triggerProps', isMountedByThisTrigger);\n return useRenderElement('button', componentProps, {\n state,\n ref: [buttonRef, forwardedRef, registerTrigger, triggerElementRef],\n props: [click.reference, rootTriggerProps, interactionTypeProps, {\n [CLICK_TRIGGER_IDENTIFIER]: '',\n id: thisTriggerId,\n 'aria-haspopup': 'dialog',\n 'aria-expanded': isOpenedByThisTrigger,\n 'aria-controls': popupId\n }, elementProps, getButtonProps],\n stateAttributesMapping: triggerOpenStateMapping\n });\n});\nif (process.env.NODE_ENV !== \"production\") DialogTrigger.displayName = \"DialogTrigger\";"],"names":["DialogTrigger","React","componentProps","forwardedRef","render","className","style","disabled","nativeButton","idProp","payload","handle","elementProps","dialogRootContext","useDialogRootContext","store","_formatErrorMessage","thisTriggerId","useBaseUiId","floatingContext","isOpenedByThisTrigger","popupId","triggerElementRef","registerTrigger","isMountedByThisTrigger","useTriggerDataForwarding","getButtonProps","buttonRef","useButton","click","useClick","interactionTypeProps","useOpenMethodTriggerProps","interactionType","state","rootTriggerProps","useRenderElement","CLICK_TRIGGER_IDENTIFIER","triggerOpenStateMapping"],"mappings":";;;;;;;;;;;AAoBY,MAACA,IAA6B,gBAAAC,EAAM,WAAW,SAAuBC,GAAgBC,GAAc;AAC9G,QAAM;AAAA,IACJ,QAAAC;AAAA,IACA,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,cAAAC,IAAe;AAAA,IACf,IAAIC;AAAA,IACJ,SAAAC;AAAA,IACA,QAAAC;AAAA,IACA,GAAGC;AAAA,EACP,IAAMV,GACEW,IAAoBC,EAAqB,EAAI,GAC7CC,IAAQJ,GAAQ,SAASE,GAAmB;AAClD,MAAI,CAACE;AACH,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,2FAA2FC,EAAoB,EAAE,CAAC;AAE5K,QAAMC,IAAgBC,EAAYT,CAAM,GAClCU,IAAkBJ,EAAM,SAAS,qBAAqB,GACtDK,IAAwBL,EAAM,SAAS,qBAAqBE,CAAa,GACzEI,IAAUN,EAAM,SAAS,kBAAkBE,CAAa,GACxDK,IAAoBrB,EAAM,OAAO,IAAI,GACrC;AAAA,IACJ,iBAAAsB;AAAA,IACA,wBAAAC;AAAA,EACJ,IAAMC,EAAyBR,GAAeK,GAAmBP,GAAO;AAAA,IACpE,SAAAL;AAAA,EACJ,CAAG,GACK;AAAA,IACJ,gBAAAgB;AAAA,IACA,WAAAC;AAAA,EACJ,IAAMC,EAAU;AAAA,IACZ,UAAArB;AAAA,IACA,QAAQC;AAAA,EACZ,CAAG,GACKqB,IAAQC,EAASX,GAAiB;AAAA,IACtC,SAASA,KAAmB;AAAA,EAChC,CAAG,GACKY,IAAuBC,EAA0B,MAAMjB,EAAM,OAAO,MAAM,GAAG,CAAAkB,MAAmB;AACpG,IAAAlB,EAAM,IAAI,cAAckB,CAAe;AAAA,EACzC,CAAC,GACKC,IAAQ;AAAA,IACZ,UAAA3B;AAAA,IACA,MAAMa;AAAA,EACV,GACQe,IAAmBpB,EAAM,SAAS,gBAAgBS,CAAsB;AAC9E,SAAOY,EAAiB,UAAUlC,GAAgB;AAAA,IAChD,OAAAgC;AAAA,IACA,KAAK,CAACP,GAAWxB,GAAcoB,GAAiBD,CAAiB;AAAA,IACjE,OAAO,CAACO,EAAM,WAAWM,GAAkBJ,GAAsB;AAAA,MAC/D,CAACM,CAAwB,GAAG;AAAA,MAC5B,IAAIpB;AAAA,MACJ,iBAAiB;AAAA,MACjB,iBAAiBG;AAAA,MACjB,iBAAiBC;AAAA,IACvB,GAAOT,GAAcc,CAAc;AAAA,IAC/B,wBAAwBY;AAAA,EAC5B,CAAG;AACH,CAAC;AACG,QAAQ,IAAI,aAAa,iBAActC,EAAc,cAAc;","x_google_ignoreList":[0]}
|
package/dist/index411.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
function r(t, n) {
|
|
2
|
+
const o = t < 0 ? "-" : "", a = Math.abs(t).toString().padStart(n, "0");
|
|
3
|
+
return o + a;
|
|
4
|
+
}
|
|
3
5
|
export {
|
|
4
|
-
|
|
6
|
+
r as addLeadingZeros
|
|
5
7
|
};
|
|
6
8
|
//# sourceMappingURL=index411.js.map
|
package/dist/index411.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index411.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index411.js","sources":["../../../node_modules/date-fns/_lib/addLeadingZeros.js"],"sourcesContent":["export function addLeadingZeros(number, targetLength) {\n const sign = number < 0 ? \"-\" : \"\";\n const output = Math.abs(number).toString().padStart(targetLength, \"0\");\n return sign + output;\n}\n"],"names":["addLeadingZeros","number","targetLength","sign","output"],"mappings":"AAAO,SAASA,EAAgBC,GAAQC,GAAc;AACpD,QAAMC,IAAOF,IAAS,IAAI,MAAM,IAC1BG,IAAS,KAAK,IAAIH,CAAM,EAAE,WAAW,SAASC,GAAc,GAAG;AACrE,SAAOC,IAAOC;AAChB;","x_google_ignoreList":[0]}
|
package/dist/index412.js
CHANGED
|
@@ -1,18 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { addLeadingZeros as n } from "./index411.js";
|
|
2
|
+
const g = {
|
|
3
|
+
// Year
|
|
4
|
+
y(e, t) {
|
|
5
|
+
const r = e.getFullYear(), a = r > 0 ? r : 1 - r;
|
|
6
|
+
return n(t === "yy" ? a % 100 : a, t.length);
|
|
7
|
+
},
|
|
8
|
+
// Month
|
|
9
|
+
M(e, t) {
|
|
10
|
+
const r = e.getMonth();
|
|
11
|
+
return t === "M" ? String(r + 1) : n(r + 1, 2);
|
|
12
|
+
},
|
|
13
|
+
// Day of the month
|
|
14
|
+
d(e, t) {
|
|
15
|
+
return n(e.getDate(), t.length);
|
|
16
|
+
},
|
|
17
|
+
// AM or PM
|
|
18
|
+
a(e, t) {
|
|
19
|
+
const r = e.getHours() / 12 >= 1 ? "pm" : "am";
|
|
20
|
+
switch (t) {
|
|
21
|
+
case "a":
|
|
22
|
+
case "aa":
|
|
23
|
+
return r.toUpperCase();
|
|
24
|
+
case "aaa":
|
|
25
|
+
return r;
|
|
26
|
+
case "aaaaa":
|
|
27
|
+
return r[0];
|
|
28
|
+
default:
|
|
29
|
+
return r === "am" ? "a.m." : "p.m.";
|
|
12
30
|
}
|
|
13
|
-
}
|
|
14
|
-
|
|
31
|
+
},
|
|
32
|
+
// Hour [1-12]
|
|
33
|
+
h(e, t) {
|
|
34
|
+
return n(e.getHours() % 12 || 12, t.length);
|
|
35
|
+
},
|
|
36
|
+
// Hour [0-23]
|
|
37
|
+
H(e, t) {
|
|
38
|
+
return n(e.getHours(), t.length);
|
|
39
|
+
},
|
|
40
|
+
// Minute
|
|
41
|
+
m(e, t) {
|
|
42
|
+
return n(e.getMinutes(), t.length);
|
|
43
|
+
},
|
|
44
|
+
// Second
|
|
45
|
+
s(e, t) {
|
|
46
|
+
return n(e.getSeconds(), t.length);
|
|
47
|
+
},
|
|
48
|
+
// Fraction of second
|
|
49
|
+
S(e, t) {
|
|
50
|
+
const r = t.length, a = e.getMilliseconds(), s = Math.trunc(
|
|
51
|
+
a * Math.pow(10, r - 3)
|
|
52
|
+
);
|
|
53
|
+
return n(s, t.length);
|
|
54
|
+
}
|
|
55
|
+
};
|
|
15
56
|
export {
|
|
16
|
-
|
|
57
|
+
g as lightFormatters
|
|
17
58
|
};
|
|
18
59
|
//# sourceMappingURL=index412.js.map
|
package/dist/index412.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index412.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index412.js","sources":["../../../node_modules/date-fns/_lib/format/lightFormatters.js"],"sourcesContent":["import { addLeadingZeros } from \"../addLeadingZeros.js\";\n\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | |\n * | d | Day of month | D | |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | m | Minute | M | Month |\n * | s | Second | S | Fraction of second |\n * | y | Year (abs) | Y | |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n */\n\nexport const lightFormatters = {\n // Year\n y(date, token) {\n // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens\n // | Year | y | yy | yyy | yyyy | yyyyy |\n // |----------|-------|----|-------|-------|-------|\n // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |\n // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |\n // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |\n // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |\n // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |\n\n const signedYear = date.getFullYear();\n // Returns 1 for 1 BC (which is year 0 in JavaScript)\n const year = signedYear > 0 ? signedYear : 1 - signedYear;\n return addLeadingZeros(token === \"yy\" ? year % 100 : year, token.length);\n },\n\n // Month\n M(date, token) {\n const month = date.getMonth();\n return token === \"M\" ? String(month + 1) : addLeadingZeros(month + 1, 2);\n },\n\n // Day of the month\n d(date, token) {\n return addLeadingZeros(date.getDate(), token.length);\n },\n\n // AM or PM\n a(date, token) {\n const dayPeriodEnumValue = date.getHours() / 12 >= 1 ? \"pm\" : \"am\";\n\n switch (token) {\n case \"a\":\n case \"aa\":\n return dayPeriodEnumValue.toUpperCase();\n case \"aaa\":\n return dayPeriodEnumValue;\n case \"aaaaa\":\n return dayPeriodEnumValue[0];\n case \"aaaa\":\n default:\n return dayPeriodEnumValue === \"am\" ? \"a.m.\" : \"p.m.\";\n }\n },\n\n // Hour [1-12]\n h(date, token) {\n return addLeadingZeros(date.getHours() % 12 || 12, token.length);\n },\n\n // Hour [0-23]\n H(date, token) {\n return addLeadingZeros(date.getHours(), token.length);\n },\n\n // Minute\n m(date, token) {\n return addLeadingZeros(date.getMinutes(), token.length);\n },\n\n // Second\n s(date, token) {\n return addLeadingZeros(date.getSeconds(), token.length);\n },\n\n // Fraction of second\n S(date, token) {\n const numberOfDigits = token.length;\n const milliseconds = date.getMilliseconds();\n const fractionalSeconds = Math.trunc(\n milliseconds * Math.pow(10, numberOfDigits - 3),\n );\n return addLeadingZeros(fractionalSeconds, token.length);\n },\n};\n"],"names":["lightFormatters","date","token","signedYear","year","addLeadingZeros","month","dayPeriodEnumValue","numberOfDigits","milliseconds","fractionalSeconds"],"mappings":";AAeY,MAACA,IAAkB;AAAA;AAAA,EAE7B,EAAEC,GAAMC,GAAO;AAUb,UAAMC,IAAaF,EAAK,YAAW,GAE7BG,IAAOD,IAAa,IAAIA,IAAa,IAAIA;AAC/C,WAAOE,EAAgBH,MAAU,OAAOE,IAAO,MAAMA,GAAMF,EAAM,MAAM;AAAA,EACzE;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,UAAMI,IAAQL,EAAK,SAAQ;AAC3B,WAAOC,MAAU,MAAM,OAAOI,IAAQ,CAAC,IAAID,EAAgBC,IAAQ,GAAG,CAAC;AAAA,EACzE;AAAA;AAAA,EAGA,EAAEL,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,QAAO,GAAIC,EAAM,MAAM;AAAA,EACrD;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,UAAMK,IAAqBN,EAAK,SAAQ,IAAK,MAAM,IAAI,OAAO;AAE9D,YAAQC,GAAK;AAAA,MACX,KAAK;AAAA,MACL,KAAK;AACH,eAAOK,EAAmB,YAAW;AAAA,MACvC,KAAK;AACH,eAAOA;AAAA,MACT,KAAK;AACH,eAAOA,EAAmB,CAAC;AAAA,MAE7B;AACE,eAAOA,MAAuB,OAAO,SAAS;AAAA,IACtD;AAAA,EACE;AAAA;AAAA,EAGA,EAAEN,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,SAAQ,IAAK,MAAM,IAAIC,EAAM,MAAM;AAAA,EACjE;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,SAAQ,GAAIC,EAAM,MAAM;AAAA,EACtD;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,WAAU,GAAIC,EAAM,MAAM;AAAA,EACxD;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,WAAOG,EAAgBJ,EAAK,WAAU,GAAIC,EAAM,MAAM;AAAA,EACxD;AAAA;AAAA,EAGA,EAAED,GAAMC,GAAO;AACb,UAAMM,IAAiBN,EAAM,QACvBO,IAAeR,EAAK,gBAAe,GACnCS,IAAoB,KAAK;AAAA,MAC7BD,IAAe,KAAK,IAAI,IAAID,IAAiB,CAAC;AAAA,IACpD;AACI,WAAOH,EAAgBK,GAAmBR,EAAM,MAAM;AAAA,EACxD;AACF;","x_google_ignoreList":[0]}
|