@rpcbase/ui 0.181.0 → 0.183.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/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/useScrollPagination.d.ts +23 -0
- package/dist/helpers/useScrollPagination.d.ts.map +1 -0
- package/dist/helpers/useScrollPagination.test.d.ts +2 -0
- package/dist/helpers/useScrollPagination.test.d.ts.map +1 -0
- package/dist/index.js +62 -60
- package/dist/index.js.map +1 -1
- package/dist/index10.js +23 -69
- package/dist/index10.js.map +1 -1
- package/dist/index100.js +5 -4
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +3 -3
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -6
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +6 -145
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +144 -38
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +39 -4
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +4 -7
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +6 -12
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +13 -13
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +13 -7
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +62 -544
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +6 -30
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +31 -10
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +10 -10
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +10 -8
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +8 -13
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +13 -101
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +102 -20
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +20 -54
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +51 -70
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +72 -9
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +535 -110
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +9 -20
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +20 -16
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +16 -23
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +23 -6
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +6 -5
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +5 -23
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +24 -35
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +35 -16
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +16 -7
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +6 -4
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +122 -71
- package/dist/index13.js.map +1 -1
- package/dist/index130.js +4 -4
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +4 -4
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +4 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +4 -3
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +3 -6
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +7 -24
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +24 -8
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +7 -6
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +6 -5
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +5 -3
- package/dist/index139.js.map +1 -1
- package/dist/index14.js +61 -717
- package/dist/index14.js.map +1 -1
- package/dist/index140.js +3 -3
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +3 -4
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +4 -3
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +3 -4
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +4 -3
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +3 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +3 -3
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +3 -46
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +2 -2
- package/dist/index15.js +727 -18
- package/dist/index15.js.map +1 -1
- package/dist/index150.js +2 -2
- package/dist/index152.js +3 -3
- package/dist/index153.js +40 -599
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +605 -5
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +5 -68
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +69 -2
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +2 -364
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +303 -201
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +247 -46
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +19 -14
- package/dist/index16.js.map +1 -1
- package/dist/index160.js +56 -42
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +46 -169
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +156 -96
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +109 -24
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +25 -8
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +8 -5
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +4 -5
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +5 -4
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +4 -466
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +420 -139
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +13 -382
- package/dist/index17.js.map +1 -1
- package/dist/index170.js +149 -71
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +74 -229
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +262 -9
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +9 -42
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +42 -4
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +4 -16
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +57 -4
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +8 -5
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +55 -47
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +17 -64
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +363 -695
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +16 -6
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +5 -4
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +5 -7
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +6 -17
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +4 -5
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +7 -5
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +17 -13
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +5 -10
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +5 -14
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +13 -14
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +685 -624
- package/dist/index19.js.map +1 -1
- package/dist/index190.js +10 -5
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +14 -6
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +14 -7
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +5 -6
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +6 -9
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +7 -5
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +6 -5
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +9 -9
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +5 -5
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +5 -5
- package/dist/index199.js.map +1 -1
- package/dist/index2.js +2 -2
- package/dist/index20.js +640 -191
- package/dist/index20.js.map +1 -1
- package/dist/index200.js +9 -4
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +5 -11
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +5 -10
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +4 -10
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +11 -11
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +10 -11
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +10 -10
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +11 -7
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +11 -6
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +10 -5
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +209 -5
- package/dist/index21.js.map +1 -1
- package/dist/index210.js +7 -6
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +6 -7
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -6
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -55
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +7 -8
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +6 -19
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +54 -15
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +16 -7
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +7 -10
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +9 -9
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +5 -35
- package/dist/index22.js.map +1 -1
- package/dist/index220.js +10 -21
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +21 -10
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +10 -9
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +6 -6
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +9 -4
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +4 -5
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +5 -16
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +16 -9
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -18
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +15 -12
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +24 -258
- package/dist/index23.js.map +1 -1
- package/dist/index230.js +12 -9
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +12 -29
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +28 -11
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +10 -23
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +25 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +5 -24
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +24 -28
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +29 -5
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +5 -68
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +64 -177
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +254 -166
- package/dist/index24.js.map +1 -1
- package/dist/index240.js +176 -42
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +45 -12
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +13 -154
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +151 -27
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +30 -9
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +9 -47
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +46 -10
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +11 -44
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +40 -91
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +85 -76
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +180 -14
- package/dist/index25.js.map +1 -1
- package/dist/index250.js +69 -88
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +92 -39
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +51 -10
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +10 -36
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +37 -8
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +8 -116
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +115 -16
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +17 -15
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +15 -3
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +3 -36
- package/dist/index259.js.map +1 -1
- package/dist/index26.js +15 -2763
- package/dist/index26.js.map +1 -1
- package/dist/index260.js +35 -19
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +20 -9
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +8 -7
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +8 -19
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +14 -23
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +26 -14
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +16 -4
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +5 -19
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +19 -13
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +13 -5
- package/dist/index269.js.map +1 -1
- package/dist/index27.js +2761 -35
- package/dist/index27.js.map +1 -1
- package/dist/index270.js +5 -3
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +3 -24
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +22 -111
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +111 -14
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +14 -523
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +511 -114
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +111 -117
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +133 -20
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +20 -5
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +5 -5
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +37 -3
- package/dist/index28.js.map +1 -1
- package/dist/index280.js +6 -4
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +4 -16
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +14 -7
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +8 -5
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +5 -4
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +4 -545
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +544 -45
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +47 -18
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +17 -6
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +6 -8
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +3 -125
- package/dist/index29.js.map +1 -1
- package/dist/index290.js +8 -7
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +7 -8
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +8 -12
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +12 -9
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +9 -13
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +14 -69
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +68 -8
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +9 -14
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +14 -66
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +65 -64
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +120 -227
- package/dist/index30.js.map +1 -1
- package/dist/index300.js +64 -4
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +5 -56
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +54 -66
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +67 -30
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +31 -9
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +9 -153
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +142 -97
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +108 -4
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +3 -22
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +22 -15
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +229 -21
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +14 -27
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +27 -11
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +11 -5
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +6 -12
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +20 -25
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +12 -4
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +25 -20
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +8 -0
- package/dist/index317.js.map +1 -0
- package/dist/index32.js +23 -50
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +50 -2640
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +2598 -351
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +375 -214
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +230 -19
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +18 -138
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +125 -170
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +174 -64
- package/dist/index39.js.map +1 -1
- package/dist/index40.js +72 -94
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +98 -5
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +5 -843
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +832 -54
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +66 -8
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +8 -2
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +2 -24
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +22 -232
- package/dist/index47.js.map +1 -1
- package/dist/index48.js +233 -6
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +203 -32
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +1 -1
- package/dist/index50.js +3 -26
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +6 -7
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +47 -11
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +26 -204
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +50 -3
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +7 -47
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +12 -48
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +133 -7
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +10 -14
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +210 -127
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +138 -25
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +12 -10
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +32 -215
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +47 -13
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +7 -46
- package/dist/index63.js.map +1 -1
- package/dist/index67.js +2 -2
- package/dist/index69.js +3 -3
- package/dist/index7.js +26 -29
- package/dist/index7.js.map +1 -1
- package/dist/index70.js +11 -53
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +54 -2
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +6 -2
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +7 -5
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +4 -6
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +2 -6
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +2 -52
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +52 -5
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +4 -4
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +4 -15
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +28 -222
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +15 -5
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +5 -7
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +6 -15
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +16 -4
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +1 -1
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +4 -5
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +4 -4
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +5 -4
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +2 -2
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +3 -5
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +226 -23
- package/dist/index9.js.map +1 -1
- package/dist/index90.js +6 -24
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +24 -6
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +6 -4
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +3 -5
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +6 -5
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +5 -4
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +3 -4
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +5 -4
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +4 -8
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +8 -5
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index9.js
CHANGED
|
@@ -1,27 +1,230 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { j as o } from "./index29.js";
|
|
2
|
+
import { useState as k, useRef as x, useMemo as V, useEffect as N } from "react";
|
|
3
|
+
import { clsx as X } from "./index26.js";
|
|
4
|
+
import { useMapsLibrary as Z } from "./index5.js";
|
|
5
|
+
import { Input as ee } from "./index17.js";
|
|
6
|
+
import { cn as te } from "./index2.js";
|
|
7
|
+
const re = /* @__PURE__ */ new Set([
|
|
8
|
+
"street_address",
|
|
9
|
+
"route",
|
|
10
|
+
"premise",
|
|
11
|
+
"subpremise",
|
|
12
|
+
"intersection",
|
|
13
|
+
"sublocality",
|
|
14
|
+
"sublocality_level_1",
|
|
15
|
+
"sublocality_level_2",
|
|
16
|
+
"sublocality_level_3",
|
|
17
|
+
"sublocality_level_4",
|
|
18
|
+
"sublocality_level_5",
|
|
19
|
+
"administrative_area_level_1",
|
|
20
|
+
"administrative_area_level_2",
|
|
21
|
+
"administrative_area_level_3",
|
|
22
|
+
"administrative_area_level_4",
|
|
23
|
+
"administrative_area_level_5",
|
|
24
|
+
"administrative_area_level_6",
|
|
25
|
+
"administrative_area_level_7",
|
|
26
|
+
"postal_code",
|
|
27
|
+
"locality",
|
|
28
|
+
"country",
|
|
29
|
+
"geocode",
|
|
30
|
+
"plus_code",
|
|
31
|
+
"political",
|
|
32
|
+
"neighborhood",
|
|
33
|
+
"colloquial_area",
|
|
34
|
+
"lodging",
|
|
35
|
+
"train_station",
|
|
36
|
+
"transit_station"
|
|
37
|
+
]), U = (r) => (r.text?.text ?? "").replace(/, France$/, "").trim(), ne = ({ prediction: r }) => {
|
|
38
|
+
const t = U(r), l = r.text?.text ?? "", s = r.text?.matches ?? [], a = t.length < l.length;
|
|
39
|
+
if (s.length === 0)
|
|
40
|
+
return /* @__PURE__ */ o.jsx(o.Fragment, { children: t });
|
|
41
|
+
const d = [];
|
|
42
|
+
let u = 0;
|
|
43
|
+
return s.forEach((b, O) => {
|
|
44
|
+
if (a && b.startOffset >= t.length)
|
|
45
|
+
return;
|
|
46
|
+
const _ = b.startOffset, p = Math.min(b.endOffset, t.length);
|
|
47
|
+
if (_ > u && d.push(t.substring(u, _)), p > _) {
|
|
48
|
+
const w = t.substring(_, p);
|
|
49
|
+
d.push(/* @__PURE__ */ o.jsx("strong", { children: w }, O));
|
|
50
|
+
}
|
|
51
|
+
u = Math.max(u, p);
|
|
52
|
+
}), u < t.length && d.push(t.substring(u)), d.length === 0 ? /* @__PURE__ */ o.jsx(o.Fragment, { children: t }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: d });
|
|
53
|
+
}, se = (r, t) => !r.types || r.types.length === 0 || !t || t.size === 0 ? !0 : r.types.some((l) => t.has(l)), oe = (r, t) => r.placeId || `${r.text?.text ?? "prediction"}-${t}`, le = (r) => {
|
|
54
|
+
const t = /* @__PURE__ */ new Map();
|
|
55
|
+
return r.forEach((l) => {
|
|
56
|
+
const s = l.placeId;
|
|
57
|
+
s && (t.has(s) || t.set(s, l));
|
|
58
|
+
}), Array.from(t.values());
|
|
59
|
+
}, ie = (r, t) => r.filter((l) => se(l, t)), ce = (r) => r.sort((t, l) => {
|
|
60
|
+
const s = t.distanceMeters ?? Number.POSITIVE_INFINITY, a = l.distanceMeters ?? Number.POSITIVE_INFINITY;
|
|
61
|
+
return s - a;
|
|
62
|
+
}), ae = (r, t) => ce(ie(le(r), t)), ue = (r, t) => U(r).toLowerCase() === t.trim().toLowerCase(), xe = ({
|
|
63
|
+
id: r,
|
|
64
|
+
label: t,
|
|
65
|
+
placeholder: l,
|
|
66
|
+
value: s,
|
|
67
|
+
onValueChange: a,
|
|
68
|
+
disabled: d,
|
|
69
|
+
name: u,
|
|
70
|
+
className: b,
|
|
71
|
+
autofillShimName: O,
|
|
72
|
+
googleMapsApiKey: _,
|
|
73
|
+
locationRestriction: p,
|
|
74
|
+
allowedTypes: w
|
|
75
|
+
}) => {
|
|
76
|
+
const [f, F] = k(s ?? ""), [c, h] = k([]), [E, i] = k(!1), [g, M] = k(-1), L = x(null), P = x(null), R = x(!1), S = x(!1), m = x(null), B = x([]), y = x("smooth"), $ = Z("places", _), q = V(() => {
|
|
77
|
+
if (!w)
|
|
78
|
+
return re;
|
|
79
|
+
const e = /* @__PURE__ */ new Set();
|
|
80
|
+
for (const n of w)
|
|
81
|
+
e.add(n);
|
|
82
|
+
return e;
|
|
83
|
+
}, [w]);
|
|
84
|
+
N(() => {
|
|
85
|
+
F(s ?? ""), S.current = !1;
|
|
86
|
+
}, [s]), N(() => {
|
|
87
|
+
if (R.current) {
|
|
88
|
+
R.current = !1;
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
let e = !0;
|
|
92
|
+
const n = setTimeout(() => {
|
|
93
|
+
if (!e)
|
|
94
|
+
return;
|
|
95
|
+
if (f.trim() === "") {
|
|
96
|
+
h([]), i(!1), m.current = null, s !== "" && a("");
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
if (!$) return;
|
|
100
|
+
const { AutocompleteSuggestion: I, AutocompleteSessionToken: j } = $;
|
|
101
|
+
if (!I || !j) {
|
|
102
|
+
console.error("AddressAutocompleteInput: missing AutocompleteSuggestion or AutocompleteSessionToken exports"), h([]), i(!1);
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
m.current || (m.current = new j());
|
|
106
|
+
const A = {
|
|
107
|
+
input: f,
|
|
108
|
+
sessionToken: m.current ?? void 0,
|
|
109
|
+
includedRegionCodes: ["fr"]
|
|
110
|
+
};
|
|
111
|
+
p && (A.locationRestriction = p), I.fetchAutocompleteSuggestions(A).then((T) => {
|
|
112
|
+
if (!e)
|
|
113
|
+
return;
|
|
114
|
+
const J = T.suggestions.map((C) => C.placePrediction).filter((C) => !!C), D = ae(J, q), z = D[0], Q = z && D.length === 1 && ue(z, f);
|
|
115
|
+
if (!S.current && Q) {
|
|
116
|
+
h(D), i(!1);
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
D.length > 0 ? (h(D), S.current && i(!0), M(-1)) : (h([]), i(!1));
|
|
120
|
+
}).catch((T) => {
|
|
121
|
+
e && (console.error("AddressAutocompleteInput: suggestion fetch failed", T), h([]), i(!1));
|
|
122
|
+
});
|
|
123
|
+
}, 300);
|
|
124
|
+
return () => {
|
|
125
|
+
e = !1, clearTimeout(n);
|
|
126
|
+
};
|
|
127
|
+
}, [f, $, a, s, p, q]), N(() => {
|
|
128
|
+
const e = (n) => {
|
|
129
|
+
L.current && !L.current.contains(n.target) && P.current && !P.current.contains(n.target) && i(!1);
|
|
130
|
+
};
|
|
131
|
+
return document.addEventListener("mousedown", e), () => {
|
|
132
|
+
document.removeEventListener("mousedown", e);
|
|
133
|
+
};
|
|
134
|
+
}, []);
|
|
135
|
+
const H = (e) => {
|
|
136
|
+
R.current = !0;
|
|
137
|
+
const n = U(e);
|
|
138
|
+
F(n), a(n), h([]), i(!1), m.current = null;
|
|
139
|
+
}, K = (e) => {
|
|
140
|
+
S.current = !0, F(e.target.value);
|
|
141
|
+
}, W = (e) => {
|
|
142
|
+
if (!E || c.length === 0) {
|
|
143
|
+
e.key === "Enter" && (e.preventDefault(), a(f), i(!1), m.current = null);
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
e.key === "ArrowDown" ? (y.current = e.repeat ? "auto" : "smooth", e.preventDefault(), M((n) => c.length === 0 ? -1 : n < 0 ? 0 : (n + 1) % c.length)) : e.key === "ArrowUp" ? (y.current = e.repeat ? "auto" : "smooth", e.preventDefault(), M((n) => c.length === 0 ? -1 : n <= 0 ? c.length - 1 : (n - 1) % c.length)) : e.key === "Enter" ? (e.preventDefault(), g > -1 && c[g] ? H(c[g]) : (a(f), i(!1), m.current = null)) : e.key === "Escape" && i(!1);
|
|
147
|
+
}, G = () => {
|
|
148
|
+
i(!1), s !== f && a(f), m.current = null;
|
|
149
|
+
}, Y = O ?? (u ? `${u}_shim` : void 0);
|
|
150
|
+
return N(() => {
|
|
151
|
+
if (!E || g < 0) {
|
|
152
|
+
y.current = "smooth";
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
const e = B.current[g], n = P.current;
|
|
156
|
+
if (!e || !n) {
|
|
157
|
+
y.current = "smooth";
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
const v = y.current;
|
|
161
|
+
y.current = "smooth";
|
|
162
|
+
const I = e.offsetTop, j = I + e.offsetHeight, A = n.scrollTop, T = A + n.clientHeight;
|
|
163
|
+
I >= A && j <= T || e.scrollIntoView({
|
|
164
|
+
block: "nearest",
|
|
165
|
+
behavior: v
|
|
166
|
+
});
|
|
167
|
+
}, [g, E]), B.current.length = c.length, /* @__PURE__ */ o.jsxs("div", { className: "relative", children: [
|
|
168
|
+
Y && /* @__PURE__ */ o.jsx(
|
|
169
|
+
"input",
|
|
170
|
+
{
|
|
171
|
+
tabIndex: -1,
|
|
172
|
+
autoComplete: "street-address",
|
|
173
|
+
name: Y,
|
|
174
|
+
"aria-hidden": "true",
|
|
175
|
+
className: "pointer-events-none absolute left-0 top-0 h-0 w-0 opacity-0"
|
|
176
|
+
}
|
|
16
177
|
),
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
178
|
+
/* @__PURE__ */ o.jsx("label", { htmlFor: r, className: "text-left block text-sm font-medium text-gray-700 mb-1 cursor-pointer", children: t }),
|
|
179
|
+
/* @__PURE__ */ o.jsx(
|
|
180
|
+
ee,
|
|
181
|
+
{
|
|
182
|
+
ref: L,
|
|
183
|
+
id: r,
|
|
184
|
+
type: "text",
|
|
185
|
+
placeholder: l,
|
|
186
|
+
name: u ?? `${r}_input`,
|
|
187
|
+
value: f,
|
|
188
|
+
onChange: K,
|
|
189
|
+
onKeyDown: W,
|
|
190
|
+
onFocus: () => {
|
|
191
|
+
c.length > 0 && f && i(!0);
|
|
192
|
+
},
|
|
193
|
+
onBlur: G,
|
|
194
|
+
disabled: d,
|
|
195
|
+
autoComplete: "off",
|
|
196
|
+
className: te("w-full", b)
|
|
197
|
+
}
|
|
198
|
+
),
|
|
199
|
+
E && c.length > 0 && /* @__PURE__ */ o.jsx(
|
|
200
|
+
"ul",
|
|
201
|
+
{
|
|
202
|
+
ref: P,
|
|
203
|
+
className: "absolute z-10 mt-1 w-full max-h-60 overflow-y-auto rounded-md border border-gray-200 bg-white text-left shadow-lg",
|
|
204
|
+
role: "listbox",
|
|
205
|
+
children: c.map((e, n) => /* @__PURE__ */ o.jsx(
|
|
206
|
+
"li",
|
|
207
|
+
{
|
|
208
|
+
ref: (v) => {
|
|
209
|
+
B.current[n] = v;
|
|
210
|
+
},
|
|
211
|
+
className: X(
|
|
212
|
+
"cursor-pointer px-3 py-2 text-sm text-gray-700 hover:bg-gray-100",
|
|
213
|
+
{ "bg-gray-100": g === n }
|
|
214
|
+
),
|
|
215
|
+
role: "option",
|
|
216
|
+
onMouseDown: (v) => {
|
|
217
|
+
v.preventDefault(), H(e);
|
|
218
|
+
},
|
|
219
|
+
children: /* @__PURE__ */ o.jsx(ne, { prediction: e })
|
|
220
|
+
},
|
|
221
|
+
oe(e, n)
|
|
222
|
+
))
|
|
223
|
+
}
|
|
224
|
+
)
|
|
225
|
+
] });
|
|
226
|
+
};
|
|
24
227
|
export {
|
|
25
|
-
|
|
228
|
+
xe as AddressAutocompleteInput
|
|
26
229
|
};
|
|
27
230
|
//# sourceMappingURL=index9.js.map
|
package/dist/index9.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index9.js","sources":["../src/components/ApplePayButton/index.tsx"],"sourcesContent":["import type { ComponentPropsWithoutRef } from \"react\"\nimport clsx from \"clsx\"\n\n\ntype ApplePayButtonProps = ComponentPropsWithoutRef<\"button\">\n\n\nexport const ApplePayButton = ({\n className,\n onClick,\n children,\n ...buttonProps\n}: ApplePayButtonProps) => {\n return (\n <button\n type=\"button\"\n onClick={onClick}\n className={clsx(\n \"flex w-full items-center justify-center rounded-md border border-transparent bg-black py-2 text-white hover:bg-gray-800 focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 focus:outline-hidden\",\n className,\n )}\n {...buttonProps}\n >\n {children ?? <span className=\"sr-only\">Pay with Apple Pay</span>}\n <svg fill=\"currentColor\" viewBox=\"0 0 50 20\" className=\"h-5 w-auto\">\n <path d=\"M9.536 2.579c-.571.675-1.485 1.208-2.4 1.132-.113-.914.334-1.884.858-2.484C8.565.533 9.564.038 10.374 0c.095.951-.276 1.884-.838 2.579zm.829 1.313c-1.324-.077-2.457.751-3.085.751-.638 0-1.6-.713-2.647-.694-1.362.019-2.628.79-3.323 2.017-1.429 2.455-.372 6.09 1.009 8.087.676.99 1.485 2.075 2.552 2.036 1.009-.038 1.409-.656 2.628-.656 1.228 0 1.58.656 2.647.637 1.104-.019 1.8-.99 2.475-1.979.771-1.122 1.086-2.217 1.105-2.274-.02-.019-2.133-.828-2.152-3.263-.02-2.036 1.666-3.007 1.742-3.064-.952-1.408-2.437-1.56-2.951-1.598zm7.645-2.76v14.834h2.305v-5.072h3.19c2.913 0 4.96-1.998 4.96-4.89 0-2.893-2.01-4.872-4.885-4.872h-5.57zm2.305 1.941h2.656c2 0 3.142 1.066 3.142 2.94 0 1.875-1.142 2.95-3.151 2.95h-2.647v-5.89zM32.673 16.08c1.448 0 2.79-.733 3.4-1.893h.047v1.779h2.133V8.582c0-2.14-1.714-3.52-4.351-3.52-2.447 0-4.256 1.399-4.323 3.32h2.076c.171-.913 1.018-1.512 2.18-1.512 1.41 0 2.2.656 2.2 1.865v.818l-2.876.171c-2.675.162-4.123 1.256-4.123 3.159 0 1.922 1.495 3.197 3.637 3.197zm.62-1.76c-1.229 0-2.01-.59-2.01-1.494 0-.933.752-1.475 2.19-1.56l2.562-.162v.837c0 1.39-1.181 2.379-2.743 2.379zM41.1 20c2.247 0 3.304-.856 4.227-3.454l4.047-11.341h-2.342l-2.714 8.763h-.047l-2.714-8.763h-2.409l3.904 10.799-.21.656c-.352 1.114-.923 1.542-1.942 1.542-.18 0-.533-.02-.676-.038v1.779c.133.038.705.057.876.057z\" />\n </svg>\n </button>\n )\n}\n"],"names":["ApplePayButton","className","onClick","children","buttonProps","jsxs","clsx","jsx"],"mappings":";;AAOO,MAAMA,IAAiB,CAAC;AAAA,EAC7B,WAAAC;AAAA,EACA,SAAAC;AAAA,EACA,UAAAC;AAAA,EACA,GAAGC;AACL,MAEIC,gBAAAA,EAAAA;AAAAA,EAAC;AAAA,EAAA;AAAA,IACC,MAAK;AAAA,IACL,SAAAH;AAAA,IACA,WAAWI;AAAA,MACT;AAAA,MACAL;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,IAEH,UAAA;AAAA,MAAAD,KAAYI,gBAAAA,EAAAA,IAAC,QAAA,EAAK,WAAU,WAAU,UAAA,sBAAkB;AAAA,MACzDA,gBAAAA,EAAAA,IAAC,OAAA,EAAI,MAAK,gBAAe,SAAQ,aAAY,WAAU,cACrD,UAAAA,gBAAAA,EAAAA,IAAC,QAAA,EAAK,GAAE,syCAAA,CAAsyC,EAAA,CAChzC;AAAA,IAAA;AAAA,EAAA;AAAA;"}
|
|
1
|
+
{"version":3,"file":"index9.js","sources":["../src/components/AddressAutocompleteInput/index.tsx"],"sourcesContent":["import { ReactNode, ChangeEvent, KeyboardEvent, useState, useEffect, useRef, useMemo } from \"react\"\nimport clsx from \"clsx\"\n\nimport { useMapsLibrary } from \"@/helpers/useMapsLibrary\"\nimport { Input } from \"@/components/Input\"\nimport { cn } from \"@/lib/utils\"\n\n\nconst DEFAULT_ALLOWED_TYPES = new Set([\n \"street_address\",\n \"route\",\n \"premise\",\n \"subpremise\",\n \"intersection\",\n \"sublocality\",\n \"sublocality_level_1\",\n \"sublocality_level_2\",\n \"sublocality_level_3\",\n \"sublocality_level_4\",\n \"sublocality_level_5\",\n \"administrative_area_level_1\",\n \"administrative_area_level_2\",\n \"administrative_area_level_3\",\n \"administrative_area_level_4\",\n \"administrative_area_level_5\",\n \"administrative_area_level_6\",\n \"administrative_area_level_7\",\n \"postal_code\",\n \"locality\",\n \"country\",\n \"geocode\",\n \"plus_code\",\n \"political\",\n \"neighborhood\",\n \"colloquial_area\",\n \"lodging\",\n \"train_station\",\n \"transit_station\",\n])\n\nconst getDisplayText = (prediction: google.maps.places.PlacePrediction) => {\n const fullText = prediction.text?.text ?? \"\"\n return fullText.replace(/, France$/, \"\").trim()\n}\n\nconst PredictionItem = ({ prediction }: { prediction: google.maps.places.PlacePrediction }) => {\n const displayText = getDisplayText(prediction)\n const fullText = prediction.text?.text ?? \"\"\n const matches = prediction.text?.matches ?? []\n const wasCountryRemoved = displayText.length < fullText.length\n\n if (matches.length === 0) {\n return <>{displayText}</>\n }\n\n const parts: ReactNode[] = []\n let lastIndex = 0\n\n matches.forEach((substring, index) => {\n if (wasCountryRemoved && substring.startOffset >= displayText.length) {\n return\n }\n\n const startOffset = substring.startOffset\n const endOffset = Math.min(substring.endOffset, displayText.length)\n\n if (startOffset > lastIndex) {\n parts.push(displayText.substring(lastIndex, startOffset))\n }\n\n if (endOffset > startOffset) {\n const matched = displayText.substring(startOffset, endOffset)\n parts.push(<strong key={index}>{matched}</strong>)\n }\n\n lastIndex = Math.max(lastIndex, endOffset)\n })\n\n if (lastIndex < displayText.length) {\n parts.push(displayText.substring(lastIndex))\n }\n\n if (parts.length === 0) {\n return <>{displayText}</>\n }\n\n return <>{parts}</>\n}\n\nconst isAllowedPrediction = (\n prediction: google.maps.places.PlacePrediction,\n allowedTypes: ReadonlySet<string> | null,\n) => {\n if (!prediction.types || prediction.types.length === 0) {\n return true\n }\n\n if (!allowedTypes || allowedTypes.size === 0) {\n return true\n }\n\n return prediction.types.some(type => allowedTypes.has(type))\n}\n\nconst getPredictionId = (prediction: google.maps.places.PlacePrediction, index: number) =>\n prediction.placeId || `${prediction.text?.text ?? \"prediction\"}-${index}`\n\nconst getUniquePredictions = (predictions: google.maps.places.PlacePrediction[]) => {\n const map = new Map<string, google.maps.places.PlacePrediction>()\n\n predictions.forEach(prediction => {\n const key = prediction.placeId\n\n if (!key) {\n return\n }\n\n if (!map.has(key)) {\n map.set(key, prediction)\n }\n })\n\n return Array.from(map.values())\n}\n\nconst getFilteredPredictions = (\n predictions: google.maps.places.PlacePrediction[],\n allowedTypes: ReadonlySet<string> | null,\n) => predictions.filter(prediction => isAllowedPrediction(prediction, allowedTypes))\n\nconst sortPredictions = (predictions: google.maps.places.PlacePrediction[]) =>\n predictions.sort((a, b) => {\n const aDistance = a.distanceMeters ?? Number.POSITIVE_INFINITY\n const bDistance = b.distanceMeters ?? Number.POSITIVE_INFINITY\n\n return aDistance - bDistance\n })\n\nconst buildDisplayPredictions = (\n predictions: google.maps.places.PlacePrediction[],\n allowedTypes: ReadonlySet<string> | null,\n) => sortPredictions(getFilteredPredictions(getUniquePredictions(predictions), allowedTypes))\n\nconst isExactMatch = (prediction: google.maps.places.PlacePrediction, value: string) => {\n const display = getDisplayText(prediction)\n return display.toLowerCase() === value.trim().toLowerCase()\n}\n\nexport const AddressAutocompleteInput = ({\n id,\n label,\n placeholder,\n value,\n onValueChange,\n disabled,\n name,\n className,\n autofillShimName,\n googleMapsApiKey,\n locationRestriction,\n allowedTypes,\n}: {\n id: string\n label: string\n placeholder: string\n value: string | undefined\n onValueChange: (value: string) => void\n disabled?: boolean\n name?: string\n className?: string\n autofillShimName?: string\n googleMapsApiKey?: string\n locationRestriction?: google.maps.LatLngBoundsLiteral | google.maps.LatLngBounds\n allowedTypes?: Iterable<string>\n}) => {\n const [inputValue, setInputValue] = useState(value ?? \"\")\n const [predictions, setPredictions] = useState<google.maps.places.PlacePrediction[]>([])\n const [isDropdownOpen, setIsDropdownOpen] = useState(false)\n const [highlightedIndex, setHighlightedIndex] = useState(-1)\n\n const inputRef = useRef<HTMLInputElement>(null)\n const dropdownRef = useRef<HTMLUListElement>(null)\n const isSelecting = useRef(false)\n const hasUserTyped = useRef(false)\n const sessionTokenRef = useRef<google.maps.places.AutocompleteSessionToken | null>(null)\n const optionRefs = useRef<(HTMLLIElement | null)[]>([])\n const scrollBehaviorRef = useRef<ScrollBehavior>(\"smooth\")\n const placesLibrary = useMapsLibrary(\"places\", googleMapsApiKey)\n const allowedTypesSet = useMemo(() => {\n if (!allowedTypes) {\n return DEFAULT_ALLOWED_TYPES\n }\n\n const newSet = new Set<string>()\n for (const type of allowedTypes) {\n newSet.add(type)\n }\n return newSet\n }, [allowedTypes])\n\n useEffect(() => {\n setInputValue(value ?? \"\")\n hasUserTyped.current = false\n }, [value])\n\n useEffect(() => {\n if (isSelecting.current) {\n isSelecting.current = false\n return\n }\n\n let isActive = true\n\n const handler = setTimeout(() => {\n if (!isActive) {\n return\n }\n\n const trimmed = inputValue.trim()\n\n if (trimmed === \"\") {\n setPredictions([])\n setIsDropdownOpen(false)\n sessionTokenRef.current = null\n if (value !== \"\") {\n onValueChange(\"\")\n }\n return\n }\n\n if (!placesLibrary) return\n\n const { AutocompleteSuggestion, AutocompleteSessionToken } = placesLibrary\n\n if (!AutocompleteSuggestion || !AutocompleteSessionToken) {\n console.error(\"AddressAutocompleteInput: missing AutocompleteSuggestion or AutocompleteSessionToken exports\")\n setPredictions([])\n setIsDropdownOpen(false)\n return\n }\n\n if (!sessionTokenRef.current) {\n sessionTokenRef.current = new AutocompleteSessionToken()\n }\n\n const request: google.maps.places.AutocompleteRequest = {\n input: inputValue,\n sessionToken: sessionTokenRef.current ?? undefined,\n includedRegionCodes: [\"fr\"],\n }\n if (locationRestriction) {\n request.locationRestriction = locationRestriction\n }\n\n AutocompleteSuggestion.fetchAutocompleteSuggestions(request)\n .then((response: { suggestions: google.maps.places.AutocompleteSuggestion[] }) => {\n if (!isActive) {\n return\n }\n\n const placePredictions = response.suggestions\n .map((suggestion: google.maps.places.AutocompleteSuggestion) => suggestion.placePrediction)\n .filter((prediction): prediction is google.maps.places.PlacePrediction => Boolean(prediction))\n\n const combinedPredictions = buildDisplayPredictions(placePredictions, allowedTypesSet)\n\n const singlePrediction = combinedPredictions[0]\n const hasExactMatch =\n singlePrediction && combinedPredictions.length === 1 && isExactMatch(singlePrediction, inputValue)\n\n if (!hasUserTyped.current && hasExactMatch) {\n setPredictions(combinedPredictions)\n setIsDropdownOpen(false)\n return\n }\n\n if (combinedPredictions.length > 0) {\n setPredictions(combinedPredictions)\n if (hasUserTyped.current) {\n setIsDropdownOpen(true)\n }\n setHighlightedIndex(-1)\n } else {\n setPredictions([])\n setIsDropdownOpen(false)\n }\n })\n .catch((error: unknown) => {\n if (!isActive) {\n return\n }\n console.error(\"AddressAutocompleteInput: suggestion fetch failed\", error)\n setPredictions([])\n setIsDropdownOpen(false)\n })\n }, 300)\n\n return () => {\n isActive = false\n clearTimeout(handler)\n }\n }, [inputValue, placesLibrary, onValueChange, value, locationRestriction, allowedTypesSet])\n\n useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n if (\n inputRef.current &&\n !inputRef.current.contains(event.target as Node) &&\n dropdownRef.current &&\n !dropdownRef.current.contains(event.target as Node)\n ) {\n setIsDropdownOpen(false)\n }\n }\n document.addEventListener(\"mousedown\", handleClickOutside)\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside)\n }\n }, [])\n\n const handleSelectPrediction = (prediction: google.maps.places.PlacePrediction) => {\n isSelecting.current = true\n const newAddress = getDisplayText(prediction)\n setInputValue(newAddress)\n onValueChange(newAddress)\n setPredictions([])\n setIsDropdownOpen(false)\n sessionTokenRef.current = null\n }\n\n const handleInputChange = (e: ChangeEvent<HTMLInputElement>) => {\n hasUserTyped.current = true\n setInputValue(e.target.value)\n }\n\n const handleKeyDown = (e: KeyboardEvent<HTMLInputElement>) => {\n if (!isDropdownOpen || predictions.length === 0) {\n if (e.key === \"Enter\") {\n e.preventDefault()\n onValueChange(inputValue)\n setIsDropdownOpen(false)\n sessionTokenRef.current = null\n }\n return\n }\n\n if (e.key === \"ArrowDown\") {\n scrollBehaviorRef.current = e.repeat ? \"auto\" : \"smooth\"\n e.preventDefault()\n setHighlightedIndex(prev => {\n if (predictions.length === 0) {\n return -1\n }\n return prev < 0 ? 0 : (prev + 1) % predictions.length\n })\n } else if (e.key === \"ArrowUp\") {\n scrollBehaviorRef.current = e.repeat ? \"auto\" : \"smooth\"\n e.preventDefault()\n setHighlightedIndex(prev => {\n if (predictions.length === 0) {\n return -1\n }\n if (prev <= 0) {\n return predictions.length - 1\n }\n return (prev - 1) % predictions.length\n })\n } else if (e.key === \"Enter\") {\n e.preventDefault()\n if (highlightedIndex > -1 && predictions[highlightedIndex]) {\n handleSelectPrediction(predictions[highlightedIndex])\n } else {\n onValueChange(inputValue)\n setIsDropdownOpen(false)\n sessionTokenRef.current = null\n }\n } else if (e.key === \"Escape\") {\n setIsDropdownOpen(false)\n }\n }\n\n const handleBlur = () => {\n setIsDropdownOpen(false)\n if (value !== inputValue) {\n onValueChange(inputValue)\n }\n sessionTokenRef.current = null\n }\n\n const shimName = autofillShimName ?? (name ? `${name}_shim` : undefined)\n\n useEffect(() => {\n if (!isDropdownOpen || highlightedIndex < 0) {\n scrollBehaviorRef.current = \"smooth\"\n return\n }\n\n const item = optionRefs.current[highlightedIndex]\n const list = dropdownRef.current\n\n if (!item || !list) {\n scrollBehaviorRef.current = \"smooth\"\n return\n }\n\n const behavior = scrollBehaviorRef.current\n scrollBehaviorRef.current = \"smooth\"\n\n const top = item.offsetTop\n const bottom = top + item.offsetHeight\n const viewTop = list.scrollTop\n const viewBottom = viewTop + list.clientHeight\n\n if (top >= viewTop && bottom <= viewBottom) {\n return\n }\n\n item.scrollIntoView({\n block: \"nearest\",\n behavior,\n })\n }, [highlightedIndex, isDropdownOpen])\n\n optionRefs.current.length = predictions.length\n\n return (\n <div className=\"relative\">\n {shimName && (\n <input\n tabIndex={-1}\n autoComplete=\"street-address\"\n name={shimName}\n aria-hidden=\"true\"\n className=\"pointer-events-none absolute left-0 top-0 h-0 w-0 opacity-0\"\n />\n )}\n <label htmlFor={id} className=\"text-left block text-sm font-medium text-gray-700 mb-1 cursor-pointer\">\n {label}\n </label>\n <Input\n ref={inputRef}\n id={id}\n type=\"text\"\n placeholder={placeholder}\n name={name ?? `${id}_input`}\n value={inputValue}\n onChange={handleInputChange}\n onKeyDown={handleKeyDown}\n onFocus={() => {\n if (predictions.length > 0 && inputValue) {\n setIsDropdownOpen(true)\n }\n }}\n onBlur={handleBlur}\n disabled={disabled}\n autoComplete=\"off\"\n className={cn(\"w-full\", className)}\n />\n {isDropdownOpen && predictions.length > 0 && (\n <ul\n ref={dropdownRef}\n className=\"absolute z-10 mt-1 w-full max-h-60 overflow-y-auto rounded-md border border-gray-200 bg-white text-left shadow-lg\"\n role=\"listbox\"\n >\n {predictions.map((prediction, index) => (\n <li\n key={getPredictionId(prediction, index)}\n ref={node => {\n optionRefs.current[index] = node\n }}\n className={clsx(\n \"cursor-pointer px-3 py-2 text-sm text-gray-700 hover:bg-gray-100\",\n { \"bg-gray-100\": highlightedIndex === index },\n )}\n role=\"option\"\n onMouseDown={e => {\n e.preventDefault()\n handleSelectPrediction(prediction)\n }}\n >\n <PredictionItem prediction={prediction} />\n </li>\n ))}\n </ul>\n )}\n </div>\n )\n}\n"],"names":["DEFAULT_ALLOWED_TYPES","getDisplayText","prediction","PredictionItem","displayText","fullText","matches","wasCountryRemoved","parts","lastIndex","substring","index","startOffset","endOffset","matched","jsx","isAllowedPrediction","allowedTypes","type","getPredictionId","getUniquePredictions","predictions","map","key","getFilteredPredictions","sortPredictions","a","b","aDistance","bDistance","buildDisplayPredictions","isExactMatch","value","AddressAutocompleteInput","id","label","placeholder","onValueChange","disabled","name","className","autofillShimName","googleMapsApiKey","locationRestriction","inputValue","setInputValue","useState","setPredictions","isDropdownOpen","setIsDropdownOpen","highlightedIndex","setHighlightedIndex","inputRef","useRef","dropdownRef","isSelecting","hasUserTyped","sessionTokenRef","optionRefs","scrollBehaviorRef","placesLibrary","useMapsLibrary","allowedTypesSet","useMemo","newSet","useEffect","isActive","handler","AutocompleteSuggestion","AutocompleteSessionToken","request","response","placePredictions","suggestion","combinedPredictions","singlePrediction","hasExactMatch","error","handleClickOutside","event","handleSelectPrediction","newAddress","handleInputChange","handleKeyDown","prev","handleBlur","shimName","item","list","behavior","top","bottom","viewTop","viewBottom","jsxs","Input","cn","node","clsx","e"],"mappings":";;;;;;AAQA,MAAMA,yBAA4B,IAAI;AAAA,EACpC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC,GAEKC,IAAiB,CAACC,OACLA,EAAW,MAAM,QAAQ,IAC1B,QAAQ,aAAa,EAAE,EAA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ACV,WAAWC;AAAA,QACX,SAAS,MAAM;AACb,UAAI9D,EAAY,SAAS,KAAKuB,KAC5BK,EAAkB,EAAI;AAAA,QAE1B;AAAA,QACA,QAAQoC;AAAA,QACR,UAAA/C;AAAA,QACA,cAAa;AAAA,QACb,WAAW0D,GAAG,UAAUxD,CAAS;AAAA,MAAA;AAAA,IAAA;AAAA,IAElCQ,KAAkB3B,EAAY,SAAS,KACtCN,gBAAAA,EAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAKuC;AAAA,QACL,WAAU;AAAA,QACV,MAAK;AAAA,QAEJ,UAAAjC,EAAY,IAAI,CAACnB,GAAYS,MAC5BI,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YAEC,KAAK,CAAAkF,MAAQ;AACX,cAAAvC,EAAW,QAAQ/C,CAAK,IAAIsF;AAAA,YAC9B;AAAA,YACA,WAAWC;AAAA,cACT;AAAA,cACA,EAAE,eAAehD,MAAqBvC,EAAA;AAAA,YAAM;AAAA,YAE9C,MAAK;AAAA,YACL,aAAa,CAAAwF,MAAK;AAChB,cAAAA,EAAE,eAAA,GACFnB,EAAuB9E,CAAU;AAAA,YACnC;AAAA,YAEA,UAAAa,gBAAAA,EAAAA,IAACZ,MAAe,YAAAD,EAAA,CAAwB;AAAA,UAAA;AAAA,UAdnCiB,GAAgBjB,GAAYS,CAAK;AAAA,QAAA,CAgBzC;AAAA,MAAA;AAAA,IAAA;AAAA,EACH,GAEJ;AAEJ;"}
|
package/dist/index90.js
CHANGED
|
@@ -1,28 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
t && s?.(r);
|
|
7
|
-
}, [t, s]), h = u((r) => {
|
|
8
|
-
e && l?.(r);
|
|
9
|
-
}, [e, l]);
|
|
10
|
-
return n.createElement(
|
|
11
|
-
"nav",
|
|
12
|
-
{ ...d },
|
|
13
|
-
n.createElement(
|
|
14
|
-
a.PreviousMonthButton,
|
|
15
|
-
{ type: "button", className: o[i.PreviousMonthButton], tabIndex: e ? void 0 : -1, "aria-disabled": e ? void 0 : !0, "aria-label": m(e), onClick: h },
|
|
16
|
-
n.createElement(a.Chevron, { disabled: e ? void 0 : !0, className: o[i.Chevron], orientation: "left" })
|
|
17
|
-
),
|
|
18
|
-
n.createElement(
|
|
19
|
-
a.NextMonthButton,
|
|
20
|
-
{ type: "button", className: o[i.NextMonthButton], tabIndex: t ? void 0 : -1, "aria-disabled": t ? void 0 : !0, "aria-label": b(t), onClick: f },
|
|
21
|
-
n.createElement(a.Chevron, { disabled: t ? void 0 : !0, orientation: "right", className: o[i.Chevron] })
|
|
22
|
-
)
|
|
23
|
-
);
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { useDayPicker as r } from "./index120.js";
|
|
3
|
+
function m(o) {
|
|
4
|
+
const { components: t } = r();
|
|
5
|
+
return e.createElement(t.Dropdown, { ...o });
|
|
24
6
|
}
|
|
25
7
|
export {
|
|
26
|
-
|
|
8
|
+
m as MonthsDropdown
|
|
27
9
|
};
|
|
28
10
|
//# sourceMappingURL=index90.js.map
|
package/dist/index90.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index90.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index90.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render a dropdown to navigate between months in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n"],"names":["MonthsDropdown","props","components","useDayPicker","React"],"mappings":";;AAQO,SAASA,EAAeC,GAAO;AAClC,QAAM,EAAE,YAAAC,EAAU,IAAKC,EAAY;AACnC,SAAOC,EAAM,cAAcF,EAAW,UAAU,EAAE,GAAGD,GAAO;AAChE;","x_google_ignoreList":[0]}
|
package/dist/index91.js
CHANGED
|
@@ -1,10 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import n, { useCallback as u } from "react";
|
|
2
|
+
import { UI as i } from "./index117.js";
|
|
3
|
+
import { useDayPicker as v } from "./index120.js";
|
|
4
|
+
function x(c) {
|
|
5
|
+
const { onPreviousClick: l, onNextClick: s, previousMonth: e, nextMonth: t, ...d } = c, { components: a, classNames: o, labels: { labelPrevious: m, labelNext: b } } = v(), f = u((r) => {
|
|
6
|
+
t && s?.(r);
|
|
7
|
+
}, [t, s]), h = u((r) => {
|
|
8
|
+
e && l?.(r);
|
|
9
|
+
}, [e, l]);
|
|
10
|
+
return n.createElement(
|
|
11
|
+
"nav",
|
|
12
|
+
{ ...d },
|
|
13
|
+
n.createElement(
|
|
14
|
+
a.PreviousMonthButton,
|
|
15
|
+
{ type: "button", className: o[i.PreviousMonthButton], tabIndex: e ? void 0 : -1, "aria-disabled": e ? void 0 : !0, "aria-label": m(e), onClick: h },
|
|
16
|
+
n.createElement(a.Chevron, { disabled: e ? void 0 : !0, className: o[i.Chevron], orientation: "left" })
|
|
17
|
+
),
|
|
18
|
+
n.createElement(
|
|
19
|
+
a.NextMonthButton,
|
|
20
|
+
{ type: "button", className: o[i.NextMonthButton], tabIndex: t ? void 0 : -1, "aria-disabled": t ? void 0 : !0, "aria-label": b(t), onClick: f },
|
|
21
|
+
n.createElement(a.Chevron, { disabled: t ? void 0 : !0, orientation: "right", className: o[i.Chevron] })
|
|
22
|
+
)
|
|
23
|
+
);
|
|
6
24
|
}
|
|
7
25
|
export {
|
|
8
|
-
|
|
26
|
+
x as Nav
|
|
9
27
|
};
|
|
10
28
|
//# sourceMappingURL=index91.js.map
|
package/dist/index91.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index91.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index91.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Nav.js"],"sourcesContent":["import React, { useCallback, } from \"react\";\nimport { UI } from \"../UI.js\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the navigation toolbar with buttons to navigate between months.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Nav(props) {\n const { onPreviousClick, onNextClick, previousMonth, nextMonth, ...navProps } = props;\n const { components, classNames, labels: { labelPrevious, labelNext }, } = useDayPicker();\n const handleNextClick = useCallback((e) => {\n if (nextMonth) {\n onNextClick?.(e);\n }\n }, [nextMonth, onNextClick]);\n const handlePreviousClick = useCallback((e) => {\n if (previousMonth) {\n onPreviousClick?.(e);\n }\n }, [previousMonth, onPreviousClick]);\n return (React.createElement(\"nav\", { ...navProps },\n React.createElement(components.PreviousMonthButton, { type: \"button\", className: classNames[UI.PreviousMonthButton], tabIndex: previousMonth ? undefined : -1, \"aria-disabled\": previousMonth ? undefined : true, \"aria-label\": labelPrevious(previousMonth), onClick: handlePreviousClick },\n React.createElement(components.Chevron, { disabled: previousMonth ? undefined : true, className: classNames[UI.Chevron], orientation: \"left\" })),\n React.createElement(components.NextMonthButton, { type: \"button\", className: classNames[UI.NextMonthButton], tabIndex: nextMonth ? undefined : -1, \"aria-disabled\": nextMonth ? undefined : true, \"aria-label\": labelNext(nextMonth), onClick: handleNextClick },\n React.createElement(components.Chevron, { disabled: nextMonth ? undefined : true, orientation: \"right\", className: classNames[UI.Chevron] }))));\n}\n"],"names":["Nav","props","onPreviousClick","onNextClick","previousMonth","nextMonth","navProps","components","classNames","labelPrevious","labelNext","useDayPicker","handleNextClick","useCallback","e","handlePreviousClick","React","UI"],"mappings":";;;AASO,SAASA,EAAIC,GAAO;AACvB,QAAM,EAAE,iBAAAC,GAAiB,aAAAC,GAAa,eAAAC,GAAe,WAAAC,GAAW,GAAGC,EAAQ,IAAKL,G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3
|
+
function m(t) {
|
|
4
|
+
const { components: e } = n();
|
|
5
|
+
return o.createElement(e.Button, { ...t });
|
|
4
6
|
}
|
|
5
7
|
export {
|
|
6
|
-
|
|
8
|
+
m as NextMonthButton
|
|
7
9
|
};
|
|
8
10
|
//# sourceMappingURL=index92.js.map
|
package/dist/index92.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index92.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index92.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/NextMonthButton.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the button to navigate to the next month in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function NextMonthButton(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Button, { ...props });\n}\n"],"names":["NextMonthButton","props","components","useDayPicker","React"],"mappings":";;AAQO,SAASA,EAAgBC,GAAO;AACnC,QAAM,EAAE,YAAAC,EAAU,IAAKC,EAAY;AACnC,SAAOC,EAAM,cAAcF,EAAW,QAAQ,EAAE,GAAGD,GAAO;AAC9D;","x_google_ignoreList":[0]}
|
package/dist/index93.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const { components: o } = n();
|
|
5
|
-
return e.createElement(o.Button, { ...t });
|
|
2
|
+
function n(t) {
|
|
3
|
+
return e.createElement("option", { ...t });
|
|
6
4
|
}
|
|
7
5
|
export {
|
|
8
|
-
|
|
6
|
+
n as Option
|
|
9
7
|
};
|
|
10
8
|
//# sourceMappingURL=index93.js.map
|
package/dist/index93.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index93.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index93.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Option.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render an `option` element.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Option(props) {\n return React.createElement(\"option\", { ...props });\n}\n"],"names":["Option","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,UAAU,EAAE,GAAGD,EAAK,CAAE;AACrD;","x_google_ignoreList":[0]}
|
package/dist/index94.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { useDayPicker as n } from "./index120.js";
|
|
3
|
+
function c(t) {
|
|
4
|
+
const { components: o } = n();
|
|
5
|
+
return e.createElement(o.Button, { ...t });
|
|
5
6
|
}
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
+
c as PreviousMonthButton
|
|
8
9
|
};
|
|
9
10
|
//# sourceMappingURL=index94.js.map
|
package/dist/index94.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index94.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index94.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the button to navigate to the previous month in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function PreviousMonthButton(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Button, { ...props });\n}\n"],"names":["PreviousMonthButton","props","components","useDayPicker","React"],"mappings":";;AAQO,SAASA,EAAoBC,GAAO;AACvC,QAAM,EAAE,YAAAC,EAAU,IAAKC,EAAY;AACnC,SAAOC,EAAM,cAAcF,EAAW,QAAQ,EAAE,GAAGD,GAAO;AAC9D;","x_google_ignoreList":[0]}
|
package/dist/index95.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import r from "react";
|
|
2
|
+
function n(t) {
|
|
3
|
+
const { rootRef: e, ...o } = t;
|
|
4
|
+
return r.createElement("div", { ...o, ref: e });
|
|
4
5
|
}
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
+
n as Root
|
|
7
8
|
};
|
|
8
9
|
//# sourceMappingURL=index95.js.map
|
package/dist/index95.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index95.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index95.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Root.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the root element of the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Root(props) {\n const { rootRef, ...rest } = props;\n return React.createElement(\"div\", { ...rest, ref: rootRef });\n}\n"],"names":["Root","props","rootRef","rest","React"],"mappings":";AAOO,SAASA,EAAKC,GAAO;AACxB,QAAM,EAAE,SAAAC,GAAS,GAAGC,EAAI,IAAKF;AAC7B,SAAOG,EAAM,cAAc,OAAO,EAAE,GAAGD,GAAM,KAAKD,GAAS;AAC/D;","x_google_ignoreList":[0]}
|
package/dist/index96.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from "react";
|
|
2
2
|
function c(e) {
|
|
3
|
-
|
|
4
|
-
return r.createElement("tr", { ...t });
|
|
3
|
+
return t.createElement("select", { ...e });
|
|
5
4
|
}
|
|
6
5
|
export {
|
|
7
|
-
c as
|
|
6
|
+
c as Select
|
|
8
7
|
};
|
|
9
8
|
//# sourceMappingURL=index96.js.map
|
package/dist/index96.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index96.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index96.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Select.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a `select` element.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Select(props) {\n return React.createElement(\"select\", { ...props });\n}\n"],"names":["Select","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,UAAU,EAAE,GAAGD,EAAK,CAAE;AACrD;","x_google_ignoreList":[0]}
|
package/dist/index97.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import r from "react";
|
|
2
|
+
function c(e) {
|
|
3
|
+
const { week: o, ...t } = e;
|
|
4
|
+
return r.createElement("tr", { ...t });
|
|
4
5
|
}
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
+
c as Week
|
|
7
8
|
};
|
|
8
9
|
//# sourceMappingURL=index97.js.map
|
package/dist/index97.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index97.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index97.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Week.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a table row representing a week in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Week(props) {\n const { week, ...trProps } = props;\n return React.createElement(\"tr\", { ...trProps });\n}\n"],"names":["Week","props","week","trProps","React"],"mappings":";AAOO,SAASA,EAAKC,GAAO;AACxB,QAAM,EAAE,MAAAC,GAAM,GAAGC,EAAO,IAAKF;AAC7B,SAAOG,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAO,CAAE;AACnD;","x_google_ignoreList":[0]}
|
package/dist/index98.js
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
function a(
|
|
3
|
-
return
|
|
4
|
-
"thead",
|
|
5
|
-
{ "aria-hidden": !0 },
|
|
6
|
-
e.createElement("tr", { ...t })
|
|
7
|
-
);
|
|
1
|
+
import t from "react";
|
|
2
|
+
function a(e) {
|
|
3
|
+
return t.createElement("th", { ...e });
|
|
8
4
|
}
|
|
9
5
|
export {
|
|
10
|
-
a as
|
|
6
|
+
a as Weekday
|
|
11
7
|
};
|
|
12
8
|
//# sourceMappingURL=index98.js.map
|
package/dist/index98.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index98.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index98.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Weekday.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a table header cell with the name of a weekday (e.g., \"Mo\", \"Tu\").\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekday(props) {\n return React.createElement(\"th\", { ...props });\n}\n"],"names":["Weekday","props","React"],"mappings":";AAOO,SAASA,EAAQC,GAAO;AAC3B,SAAOC,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAK,CAAE;AACjD;","x_google_ignoreList":[0]}
|
package/dist/index99.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import e from "react";
|
|
2
|
+
function a(t) {
|
|
3
|
+
return e.createElement(
|
|
4
|
+
"thead",
|
|
5
|
+
{ "aria-hidden": !0 },
|
|
6
|
+
e.createElement("tr", { ...t })
|
|
7
|
+
);
|
|
5
8
|
}
|
|
6
9
|
export {
|
|
7
|
-
|
|
10
|
+
a as Weekdays
|
|
8
11
|
};
|
|
9
12
|
//# sourceMappingURL=index99.js.map
|
package/dist/index99.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index99.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/
|
|
1
|
+
{"version":3,"file":"index99.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Weekdays.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the table row containing the weekday names.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekdays(props) {\n return (React.createElement(\"thead\", { \"aria-hidden\": true },\n React.createElement(\"tr\", { ...props })));\n}\n"],"names":["Weekdays","props","React"],"mappings":";AAOO,SAASA,EAASC,GAAO;AAC5B,SAAQC,EAAM;AAAA,IAAc;AAAA,IAAS,EAAE,eAAe,GAAI;AAAA,IACtDA,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAK,CAAE;AAAA,EAAC;AAC/C;","x_google_ignoreList":[0]}
|