@rpcbase/ui 0.222.0 → 0.224.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/components/FilesUploadField/index.d.ts.map +1 -1
- package/dist/components/I18nField/index.d.ts +7 -2
- package/dist/components/I18nField/index.d.ts.map +1 -1
- package/dist/components/Image/index.d.ts +14 -5
- package/dist/components/Image/index.d.ts.map +1 -1
- package/dist/components/ImagesField/index.d.ts.map +1 -1
- package/dist/index.js +59 -55
- package/dist/index100.js +4 -4
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +52 -5
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -6
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +4 -145
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +15 -39
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +5 -4
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +7 -7
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +16 -13
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +4 -13
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +4 -7
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +139 -132
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +5 -31
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +5 -10
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +4 -10
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +4 -8
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +6 -13
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +24 -101
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +7 -20
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +4 -53
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +6 -72
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +5 -9
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +116 -66
- package/dist/index12.js.map +1 -1
- package/dist/index120.js +4 -20
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +5 -16
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +4 -23
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +8 -6
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +5 -5
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +4 -23
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +5 -35
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +7 -16
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +145 -6
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +39 -4
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +17 -16
- package/dist/index13.js.map +1 -1
- package/dist/index130.js +4 -4
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +7 -4
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +13 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +13 -3
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +7 -6
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +32 -24
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +10 -7
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +10 -6
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +8 -5
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +13 -3
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +101 -3
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +20 -5
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +53 -3
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +72 -4
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +9 -3
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +20 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +16 -3
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +21 -44
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +6 -5
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +5 -7
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +23 -5
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +34 -16
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +16 -6
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +6 -5
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +4 -58
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +4 -66
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +4 -6
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +4 -4
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +3 -6
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +6 -16
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +24 -5
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +7 -4
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +6 -12
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +5 -9
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +3 -13
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +3 -13
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +4 -4
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +3 -5
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +4 -6
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +3 -5
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +3 -54
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +3 -8
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +46 -4
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +229 -4
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +22 -9
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +24 -4
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +400 -4
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +13 -3
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +154 -10
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +30 -9
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +9 -9
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +48 -10
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +11 -10
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +44 -9
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +95 -6
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +86 -5
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +105 -4
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +52 -5
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +11 -6
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +37 -5
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +8 -8
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +114 -17
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +16 -45
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +14 -228
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +4 -22
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +36 -24
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +18 -398
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +9 -29
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +8 -12
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +18 -24
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +28 -5
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +14 -14
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +58 -7
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +8 -10
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +65 -9
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +19 -21
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +16 -10
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +5 -9
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +5 -9
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +6 -4
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +4 -5
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +6 -16
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +16 -9
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +4 -18
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +4 -15
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +12 -12
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +9 -5
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +13 -68
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +14 -2
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +4 -363
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +5 -261
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +6 -60
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +5 -46
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +53 -168
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +8 -109
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +4 -24
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +5 -8
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +8 -4
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +4 -5
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +4 -4
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +3 -466
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +10 -185
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +9 -107
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +9 -262
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +10 -9
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +10 -42
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +9 -4
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +6 -4
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +6 -18
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +4 -24
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +6 -29
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +7 -5
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +5 -12
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +16 -13
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +7 -154
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +9 -29
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +10 -9
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +20 -47
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +10 -11
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +9 -44
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +9 -95
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +4 -86
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +5 -105
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +14 -50
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +9 -11
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +18 -37
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +15 -8
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +11 -115
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +29 -17
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +11 -14
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +25 -3
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +5 -36
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +24 -20
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +29 -10
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +5 -9
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +20 -19
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +4 -28
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +17 -16
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +12 -4
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +5 -5
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +3 -4
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +23 -15
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +110 -6
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +15 -5
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +529 -4
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +122 -542
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +131 -44
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +4 -17
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +4 -5
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +4 -8
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +15 -6
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +8 -7
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +5 -11
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +4 -8
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +545 -12
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +47 -5
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +18 -3
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +5 -23
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +7 -112
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +6 -15
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +7 -529
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +11 -125
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +8 -133
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +12 -20
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +69 -5
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +8 -55
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +13 -67
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +65 -30
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +65 -9
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +5 -153
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +54 -106
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +68 -65
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +30 -68
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +9 -9
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +152 -13
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +107 -65
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +3 -15
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +22 -28
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +14 -11
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +27 -5
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +5 -5
- package/dist/index310.js +12 -3
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +6 -22
- package/dist/index311.js.map +1 -1
- package/dist/index32.js +24 -24
- package/dist/index33.js +3 -3
- package/dist/index36.js +1 -1
- package/dist/index37.js +2 -2
- package/dist/index40.js +2 -2
- package/dist/index41.js +20 -20
- package/dist/index45.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index50.js +1 -1
- package/dist/index51.js +2 -7
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +2 -34
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +2 -49
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +2 -8
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +6 -11
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +34 -2
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +49 -2
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +8 -2
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +12 -2
- package/dist/index59.js.map +1 -1
- package/dist/index60.js +5 -3
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +7 -47
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +5 -50
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +3 -7
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +47 -14
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +46 -129
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +7 -10
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +13 -215
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +133 -12
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +10 -46
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +213 -46
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +13 -4
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +46 -5
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +50 -28
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +3 -49
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +6 -9
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +28 -52
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +50 -5
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +9 -5
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +46 -15
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +375 -364
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +5 -5
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +68 -7
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +2 -17
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +363 -4
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +261 -4
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +60 -5
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +46 -5
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +169 -4
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +109 -4
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +24 -6
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +8 -25
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +4 -6
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +5 -4
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +4 -6
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +466 -5
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +185 -4
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +107 -5
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +262 -4
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +9 -8
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +42 -5
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index116.js
CHANGED
|
@@ -1,23 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
e.disabled = "disabled", e.hidden = "hidden", e.outside = "outside", e.focused = "focused", e.today = "today";
|
|
8
|
-
})(t || (t = {}));
|
|
9
|
-
var r;
|
|
10
|
-
(function(e) {
|
|
11
|
-
e.range_end = "range_end", e.range_middle = "range_middle", e.range_start = "range_start", e.selected = "selected";
|
|
12
|
-
})(r || (r = {}));
|
|
13
|
-
var n;
|
|
14
|
-
(function(e) {
|
|
15
|
-
e.weeks_before_enter = "weeks_before_enter", e.weeks_before_exit = "weeks_before_exit", e.weeks_after_enter = "weeks_after_enter", e.weeks_after_exit = "weeks_after_exit", e.caption_after_enter = "caption_after_enter", e.caption_after_exit = "caption_after_exit", e.caption_before_enter = "caption_before_enter", e.caption_before_exit = "caption_before_exit";
|
|
16
|
-
})(n || (n = {}));
|
|
1
|
+
import o from "react";
|
|
2
|
+
import { useDayPicker as n } from "./index144.js";
|
|
3
|
+
function m(t) {
|
|
4
|
+
const { components: e } = n();
|
|
5
|
+
return o.createElement(e.Button, { ...t });
|
|
6
|
+
}
|
|
17
7
|
export {
|
|
18
|
-
|
|
19
|
-
t as DayFlag,
|
|
20
|
-
r as SelectionState,
|
|
21
|
-
o as UI
|
|
8
|
+
m as NextMonthButton
|
|
22
9
|
};
|
|
23
10
|
//# sourceMappingURL=index116.js.map
|
package/dist/index116.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index116.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index116.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/index117.js
CHANGED
|
@@ -1,57 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
...e.querySelectorAll("[data-animated-month]") ?? []
|
|
5
|
-
], I = (e) => l(e.querySelector("[data-animated-month]")), w = (e) => l(e.querySelector("[data-animated-caption]")), h = (e) => l(e.querySelector("[data-animated-weeks]")), B = (e) => l(e.querySelector("[data-animated-nav]")), P = (e) => l(e.querySelector("[data-animated-weekdays]"));
|
|
6
|
-
function D(e, M, { classNames: s, months: a, focused: b, dateLib: S }) {
|
|
7
|
-
const y = k(null), A = k(a), p = k(!1);
|
|
8
|
-
z(() => {
|
|
9
|
-
const f = A.current;
|
|
10
|
-
if (A.current = a, !M || !e.current || // safety check because the ref can be set to anything by consumers
|
|
11
|
-
!(e.current instanceof HTMLElement) || // validation required for the animation to work as expected
|
|
12
|
-
a.length === 0 || f.length === 0 || a.length !== f.length)
|
|
13
|
-
return;
|
|
14
|
-
const g = S.isSameMonth(a[0].date, f[0].date), u = S.isAfter(a[0].date, f[0].date), v = u ? s[o.caption_after_enter] : s[o.caption_before_enter], m = u ? s[o.weeks_after_enter] : s[o.weeks_before_enter], H = y.current, L = e.current.cloneNode(!0);
|
|
15
|
-
if (L instanceof HTMLElement ? (q(L).forEach((t) => {
|
|
16
|
-
if (!(t instanceof HTMLElement))
|
|
17
|
-
return;
|
|
18
|
-
const c = I(t);
|
|
19
|
-
c && t.contains(c) && t.removeChild(c);
|
|
20
|
-
const n = w(t);
|
|
21
|
-
n && n.classList.remove(v);
|
|
22
|
-
const r = h(t);
|
|
23
|
-
r && r.classList.remove(m);
|
|
24
|
-
}), y.current = L) : y.current = null, p.current || g || // skip animation if a day is focused because it can cause issues to the animation and is better for a11y
|
|
25
|
-
b)
|
|
26
|
-
return;
|
|
27
|
-
const _ = H instanceof HTMLElement ? q(H) : [], x = q(e.current);
|
|
28
|
-
if (x?.every((i) => i instanceof HTMLElement) && _ && _.every((i) => i instanceof HTMLElement)) {
|
|
29
|
-
p.current = !0, e.current.style.isolation = "isolate";
|
|
30
|
-
const i = B(e.current);
|
|
31
|
-
i && (i.style.zIndex = "1"), x.forEach((t, c) => {
|
|
32
|
-
const n = _[c];
|
|
33
|
-
if (!n)
|
|
34
|
-
return;
|
|
35
|
-
t.style.position = "relative", t.style.overflow = "hidden";
|
|
36
|
-
const r = w(t);
|
|
37
|
-
r && r.classList.add(v);
|
|
38
|
-
const d = h(t);
|
|
39
|
-
d && d.classList.add(m);
|
|
40
|
-
const W = () => {
|
|
41
|
-
p.current = !1, e.current && (e.current.style.isolation = ""), i && (i.style.zIndex = ""), r && r.classList.remove(v), d && d.classList.remove(m), t.style.position = "", t.style.overflow = "", t.contains(n) && t.removeChild(n);
|
|
42
|
-
};
|
|
43
|
-
n.style.pointerEvents = "none", n.style.position = "absolute", n.style.overflow = "hidden", n.setAttribute("aria-hidden", "true");
|
|
44
|
-
const C = P(n);
|
|
45
|
-
C && (C.style.opacity = "0");
|
|
46
|
-
const E = w(n);
|
|
47
|
-
E && (E.classList.add(u ? s[o.caption_before_exit] : s[o.caption_after_exit]), E.addEventListener("animationend", W));
|
|
48
|
-
const T = h(n);
|
|
49
|
-
T && T.classList.add(u ? s[o.weeks_before_exit] : s[o.weeks_after_exit]), t.insertBefore(n, t.firstChild);
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
});
|
|
1
|
+
import e from "react";
|
|
2
|
+
function n(t) {
|
|
3
|
+
return e.createElement("option", { ...t });
|
|
53
4
|
}
|
|
54
5
|
export {
|
|
55
|
-
|
|
6
|
+
n as Option
|
|
56
7
|
};
|
|
57
8
|
//# sourceMappingURL=index117.js.map
|
package/dist/index117.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index117.js","sources":["../../../node_modules/react-day-picker/dist/esm/useAnimation.js"],"sourcesContent":["import { useLayoutEffect, useRef } from \"react\";\nimport { Animation } from \"./UI.js\";\nconst asHtmlElement = (element) => {\n if (element instanceof HTMLElement)\n return element;\n return null;\n};\nconst queryMonthEls = (element) => [\n ...(element.querySelectorAll(\"[data-animated-month]\") ?? []),\n];\nconst queryMonthEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-month]\"));\nconst queryCaptionEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-caption]\"));\nconst queryWeeksEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-weeks]\"));\nconst queryNavEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-nav]\"));\nconst queryWeekdaysEl = (element) => asHtmlElement(element.querySelector(\"[data-animated-weekdays]\"));\n/**\n * Handles animations for transitioning between months in the DayPicker\n * component.\n *\n * @private\n * @param rootElRef - A reference to the root element of the DayPicker\n * component.\n * @param enabled - Whether animations are enabled.\n * @param options - Configuration options for the animation, including class\n * names, months, focused day, and the date utility library.\n */\nexport function useAnimation(rootElRef, enabled, { classNames, months, focused, dateLib, }) {\n const previousRootElSnapshotRef = useRef(null);\n const previousMonthsRef = useRef(months);\n const animatingRef = useRef(false);\n useLayoutEffect(() => {\n // get previous months before updating the previous months ref\n const previousMonths = previousMonthsRef.current;\n // update previous months ref for next effect trigger\n previousMonthsRef.current = months;\n if (!enabled ||\n !rootElRef.current ||\n // safety check because the ref can be set to anything by consumers\n !(rootElRef.current instanceof HTMLElement) ||\n // validation required for the animation to work as expected\n months.length === 0 ||\n previousMonths.length === 0 ||\n months.length !== previousMonths.length) {\n return;\n }\n const isSameMonth = dateLib.isSameMonth(months[0].date, previousMonths[0].date);\n const isAfterPreviousMonth = dateLib.isAfter(months[0].date, previousMonths[0].date);\n const captionAnimationClass = isAfterPreviousMonth\n ? classNames[Animation.caption_after_enter]\n : classNames[Animation.caption_before_enter];\n const weeksAnimationClass = isAfterPreviousMonth\n ? classNames[Animation.weeks_after_enter]\n : classNames[Animation.weeks_before_enter];\n // get previous root element snapshot before updating the snapshot ref\n const previousRootElSnapshot = previousRootElSnapshotRef.current;\n // update snapshot for next effect trigger\n const rootElSnapshot = rootElRef.current.cloneNode(true);\n if (rootElSnapshot instanceof HTMLElement) {\n // if this effect is triggered while animating, we need to clean up the new root snapshot\n // to put it in the same state as when not animating, to correctly animate the next month change\n const currentMonthElsSnapshot = queryMonthEls(rootElSnapshot);\n currentMonthElsSnapshot.forEach((currentMonthElSnapshot) => {\n if (!(currentMonthElSnapshot instanceof HTMLElement))\n return;\n // remove the old month snapshots from the new root snapshot\n const previousMonthElSnapshot = queryMonthEl(currentMonthElSnapshot);\n if (previousMonthElSnapshot &&\n currentMonthElSnapshot.contains(previousMonthElSnapshot)) {\n currentMonthElSnapshot.removeChild(previousMonthElSnapshot);\n }\n // remove animation classes from the new month snapshots\n const captionEl = queryCaptionEl(currentMonthElSnapshot);\n if (captionEl) {\n captionEl.classList.remove(captionAnimationClass);\n }\n const weeksEl = queryWeeksEl(currentMonthElSnapshot);\n if (weeksEl) {\n weeksEl.classList.remove(weeksAnimationClass);\n }\n });\n previousRootElSnapshotRef.current = rootElSnapshot;\n }\n else {\n previousRootElSnapshotRef.current = null;\n }\n if (animatingRef.current ||\n isSameMonth ||\n // skip animation if a day is focused because it can cause issues to the animation and is better for a11y\n focused) {\n return;\n }\n const previousMonthEls = previousRootElSnapshot instanceof HTMLElement\n ? queryMonthEls(previousRootElSnapshot)\n : [];\n const currentMonthEls = queryMonthEls(rootElRef.current);\n if (currentMonthEls?.every((el) => el instanceof HTMLElement) &&\n previousMonthEls &&\n previousMonthEls.every((el) => el instanceof HTMLElement)) {\n animatingRef.current = true;\n const cleanUpFunctions = [];\n // set isolation to isolate to isolate the stacking context during animation\n rootElRef.current.style.isolation = \"isolate\";\n // set z-index to 1 to ensure the nav is clickable over the other elements being animated\n const navEl = queryNavEl(rootElRef.current);\n if (navEl) {\n navEl.style.zIndex = \"1\";\n }\n currentMonthEls.forEach((currentMonthEl, index) => {\n const previousMonthEl = previousMonthEls[index];\n if (!previousMonthEl) {\n return;\n }\n // animate new displayed month\n currentMonthEl.style.position = \"relative\";\n currentMonthEl.style.overflow = \"hidden\";\n const captionEl = queryCaptionEl(currentMonthEl);\n if (captionEl) {\n captionEl.classList.add(captionAnimationClass);\n }\n const weeksEl = queryWeeksEl(currentMonthEl);\n if (weeksEl) {\n weeksEl.classList.add(weeksAnimationClass);\n }\n // animate new displayed month end\n const cleanUp = () => {\n animatingRef.current = false;\n if (rootElRef.current) {\n rootElRef.current.style.isolation = \"\";\n }\n if (navEl) {\n navEl.style.zIndex = \"\";\n }\n if (captionEl) {\n captionEl.classList.remove(captionAnimationClass);\n }\n if (weeksEl) {\n weeksEl.classList.remove(weeksAnimationClass);\n }\n currentMonthEl.style.position = \"\";\n currentMonthEl.style.overflow = \"\";\n if (currentMonthEl.contains(previousMonthEl)) {\n currentMonthEl.removeChild(previousMonthEl);\n }\n };\n cleanUpFunctions.push(cleanUp);\n // animate old displayed month\n previousMonthEl.style.pointerEvents = \"none\";\n previousMonthEl.style.position = \"absolute\";\n previousMonthEl.style.overflow = \"hidden\";\n previousMonthEl.setAttribute(\"aria-hidden\", \"true\");\n // hide the weekdays container of the old month and only the new one\n const previousWeekdaysEl = queryWeekdaysEl(previousMonthEl);\n if (previousWeekdaysEl) {\n previousWeekdaysEl.style.opacity = \"0\";\n }\n const previousCaptionEl = queryCaptionEl(previousMonthEl);\n if (previousCaptionEl) {\n previousCaptionEl.classList.add(isAfterPreviousMonth\n ? classNames[Animation.caption_before_exit]\n : classNames[Animation.caption_after_exit]);\n previousCaptionEl.addEventListener(\"animationend\", cleanUp);\n }\n const previousWeeksEl = queryWeeksEl(previousMonthEl);\n if (previousWeeksEl) {\n previousWeeksEl.classList.add(isAfterPreviousMonth\n ? classNames[Animation.weeks_before_exit]\n : classNames[Animation.weeks_after_exit]);\n }\n currentMonthEl.insertBefore(previousMonthEl, currentMonthEl.firstChild);\n });\n }\n });\n}\n"],"names":["asHtmlElement","element","queryMonthEls","queryMonthEl","queryCaptionEl","queryWeeksEl","queryNavEl","queryWeekdaysEl","useAnimation","rootElRef","enabled","classNames","months","focused","dateLib","previousRootElSnapshotRef","useRef","previousMonthsRef","animatingRef","useLayoutEffect","previousMonths","isSameMonth","isAfterPreviousMonth","captionAnimationClass","Animation","weeksAnimationClass","previousRootElSnapshot","rootElSnapshot","currentMonthElSnapshot","previousMonthElSnapshot","captionEl","weeksEl","previousMonthEls","currentMonthEls","el","navEl","currentMonthEl","index","previousMonthEl","cleanUp","previousWeekdaysEl","previousCaptionEl","previousWeeksEl"],"mappings":";;AAEA,MAAMA,IAAgB,CAACC,MACfA,aAAmB,cACZA,IACJ,MAELC,IAAgB,CAACD,MAAY;AAAA,EAC/B,GAAIA,EAAQ,iBAAiB,uBAAuB,KAAK,CAAA;AAC7D,GACME,IAAe,CAACF,MAAYD,EAAcC,EAAQ,cAAc,uBAAuB,CAAC,GACxFG,IAAiB,CAACH,MAAYD,EAAcC,EAAQ,cAAc,yBAAyB,CAAC,GAC5FI,IAAe,CAACJ,MAAYD,EAAcC,EAAQ,cAAc,uBAAuB,CAAC,GACxFK,IAAa,CAACL,MAAYD,EAAcC,EAAQ,cAAc,qBAAqB,CAAC,GACpFM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,MAAM;AAElD,cAAME,IAAqBjC,EAAgB+B,CAAe;AAC1D,QAAIE,MACAA,EAAmB,MAAM,UAAU;AAEvC,cAAMC,IAAoBrC,EAAekC,CAAe;AACxD,QAAIG,MACAA,EAAkB,UAAU,IAAInB,IAC1BX,EAAWa,EAAU,mBAAmB,IACxCb,EAAWa,EAAU,kBAAkB,CAAC,GAC9CiB,EAAkB,iBAAiB,gBAAgBF,CAAO;AAE9D,cAAMG,IAAkBrC,EAAaiC,CAAe;AACpD,QAAII,KACAA,EAAgB,UAAU,IAAIpB,IACxBX,EAAWa,EAAU,iBAAiB,IACtCb,EAAWa,EAAU,gBAAgB,CAAC,GAEhDY,EAAe,aAAaE,GAAiBF,EAAe,UAAU;AAAA,MAC1E,CAAC;AAAA,IACL;AAAA,EACJ,CAAC;AACL;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index117.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/index118.js
CHANGED
|
@@ -1,76 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { getMonths as b } from "./index205.js";
|
|
7
|
-
import { getNavMonths as q } from "./index206.js";
|
|
8
|
-
import { getNextMonth as F } from "./index207.js";
|
|
9
|
-
import { getPreviousMonth as P } from "./index208.js";
|
|
10
|
-
import { getWeeks as V } from "./index209.js";
|
|
11
|
-
import { useControlledValue as Z } from "./index210.js";
|
|
12
|
-
function _(e, n) {
|
|
13
|
-
const [s, a] = q(e, n), { startOfMonth: i, endOfMonth: g } = n, h = c(e, s, a, n), [m, f] = Z(
|
|
14
|
-
h,
|
|
15
|
-
// initialMonth is always computed from props.month if provided
|
|
16
|
-
e.month ? h : void 0
|
|
17
|
-
);
|
|
18
|
-
D(() => {
|
|
19
|
-
const t = c(e, s, a, n);
|
|
20
|
-
f(t);
|
|
21
|
-
}, [e.timeZone]);
|
|
22
|
-
const { months: l, weeks: M, days: u, previousMonth: k, nextMonth: v } = S(() => {
|
|
23
|
-
const t = E(m, a, { numberOfMonths: e.numberOfMonths }, n), o = N(t, e.endMonth ? g(e.endMonth) : void 0, {
|
|
24
|
-
ISOWeek: e.ISOWeek,
|
|
25
|
-
fixedWeeks: e.fixedWeeks,
|
|
26
|
-
broadcastCalendar: e.broadcastCalendar
|
|
27
|
-
}, n), r = b(t, o, {
|
|
28
|
-
broadcastCalendar: e.broadcastCalendar,
|
|
29
|
-
fixedWeeks: e.fixedWeeks,
|
|
30
|
-
ISOWeek: e.ISOWeek,
|
|
31
|
-
reverseMonths: e.reverseMonths
|
|
32
|
-
}, n), C = V(r), y = w(r), I = P(m, s, e, n), T = F(m, a, e, n);
|
|
33
|
-
return {
|
|
34
|
-
months: r,
|
|
35
|
-
weeks: C,
|
|
36
|
-
days: y,
|
|
37
|
-
previousMonth: I,
|
|
38
|
-
nextMonth: T
|
|
39
|
-
};
|
|
40
|
-
}, [
|
|
41
|
-
n,
|
|
42
|
-
m.getTime(),
|
|
43
|
-
a?.getTime(),
|
|
44
|
-
s?.getTime(),
|
|
45
|
-
e.disableNavigation,
|
|
46
|
-
e.broadcastCalendar,
|
|
47
|
-
e.endMonth?.getTime(),
|
|
48
|
-
e.fixedWeeks,
|
|
49
|
-
e.ISOWeek,
|
|
50
|
-
e.numberOfMonths,
|
|
51
|
-
e.pagedNavigation,
|
|
52
|
-
e.reverseMonths
|
|
53
|
-
]), { disableNavigation: W, onMonthChange: O } = e, x = (t) => M.some((o) => o.days.some((r) => r.isEqualTo(t))), d = (t) => {
|
|
54
|
-
if (W)
|
|
55
|
-
return;
|
|
56
|
-
let o = i(t);
|
|
57
|
-
s && o < i(s) && (o = i(s)), a && o > i(a) && (o = i(a)), f(o), O?.(o);
|
|
58
|
-
};
|
|
59
|
-
return {
|
|
60
|
-
months: l,
|
|
61
|
-
weeks: M,
|
|
62
|
-
days: u,
|
|
63
|
-
navStart: s,
|
|
64
|
-
navEnd: a,
|
|
65
|
-
previousMonth: k,
|
|
66
|
-
nextMonth: v,
|
|
67
|
-
goToMonth: d,
|
|
68
|
-
goToDay: (t) => {
|
|
69
|
-
x(t) || d(t.date);
|
|
70
|
-
}
|
|
71
|
-
};
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { useDayPicker as n } from "./index144.js";
|
|
3
|
+
function c(t) {
|
|
4
|
+
const { components: o } = n();
|
|
5
|
+
return e.createElement(o.Button, { ...t });
|
|
72
6
|
}
|
|
73
7
|
export {
|
|
74
|
-
|
|
8
|
+
c as PreviousMonthButton
|
|
75
9
|
};
|
|
76
10
|
//# sourceMappingURL=index118.js.map
|
package/dist/index118.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index118.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index118.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/index119.js
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (e === void 0)
|
|
6
|
-
throw new Error("useDayPicker() must be used within a custom component.");
|
|
7
|
-
return e;
|
|
1
|
+
import r from "react";
|
|
2
|
+
function n(t) {
|
|
3
|
+
const { rootRef: e, ...o } = t;
|
|
4
|
+
return r.createElement("div", { ...o, ref: e });
|
|
8
5
|
}
|
|
9
6
|
export {
|
|
10
|
-
|
|
11
|
-
c as useDayPicker
|
|
7
|
+
n as Root
|
|
12
8
|
};
|
|
13
9
|
//# sourceMappingURL=index119.js.map
|
package/dist/index119.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index119.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index119.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/index12.js
CHANGED
|
@@ -1,79 +1,129 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { c as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { decode as
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { j as T } from "./index30.js";
|
|
2
|
+
import { c as ne } from "./index28.js";
|
|
3
|
+
import { useState as Z, useRef as ae, useEffect as ee } from "react";
|
|
4
|
+
import { decode as ce } from "./index34.js";
|
|
5
|
+
const se = [320, 640, 960, 1600], te = /^\/api\/rb\/files\/[^/?#]+/, me = (s) => [...new Set(s.map((e) => Math.floor(e)).filter((e) => Number.isFinite(e) && e > 0))].sort((e, t) => e - t), le = (s) => {
|
|
6
|
+
if (te.test(s)) return !0;
|
|
7
|
+
try {
|
|
8
|
+
const e = new URL(s);
|
|
9
|
+
return te.test(e.pathname);
|
|
10
|
+
} catch {
|
|
11
|
+
return !1;
|
|
12
|
+
}
|
|
13
|
+
}, oe = (s, e) => {
|
|
14
|
+
if (s.startsWith("/")) {
|
|
15
|
+
const t = new URL(s, "http://rpcbase.local");
|
|
16
|
+
return t.searchParams.set("w", String(e)), `${t.pathname}${t.search}${t.hash}`;
|
|
17
|
+
}
|
|
18
|
+
try {
|
|
19
|
+
const t = new URL(s);
|
|
20
|
+
return t.searchParams.set("w", String(e)), t.toString();
|
|
21
|
+
} catch {
|
|
22
|
+
return s;
|
|
23
|
+
}
|
|
24
|
+
}, fe = (s, e = se) => {
|
|
25
|
+
if (!le(s)) return;
|
|
26
|
+
const t = me(e);
|
|
27
|
+
if (t.length)
|
|
28
|
+
return t.map((r) => `${oe(s, r)} ${r}w`).join(", ");
|
|
29
|
+
};
|
|
30
|
+
function ge(s) {
|
|
31
|
+
const e = ne.c(63);
|
|
32
|
+
let t, r, l, y, c, m, f, d, x, o, u, i, R, j, I, L;
|
|
33
|
+
e[0] !== s ? ({
|
|
34
|
+
src: o,
|
|
35
|
+
hash: l,
|
|
36
|
+
alt: R,
|
|
37
|
+
className: t,
|
|
38
|
+
containerClassName: r,
|
|
39
|
+
imgClassName: y,
|
|
40
|
+
widths: j,
|
|
41
|
+
responsive: d,
|
|
42
|
+
sizes: x,
|
|
43
|
+
srcSet: u,
|
|
44
|
+
loading: I,
|
|
45
|
+
decoding: L,
|
|
46
|
+
style: i,
|
|
47
|
+
onLoad: m,
|
|
48
|
+
onError: c,
|
|
49
|
+
...f
|
|
50
|
+
} = s, e[0] = s, e[1] = t, e[2] = r, e[3] = l, e[4] = y, e[5] = c, e[6] = m, e[7] = f, e[8] = d, e[9] = x, e[10] = o, e[11] = u, e[12] = i, e[13] = R, e[14] = j, e[15] = I, e[16] = L) : (t = e[1], r = e[2], l = e[3], y = e[4], c = e[5], m = e[6], f = e[7], d = e[8], x = e[9], o = e[10], u = e[11], i = e[12], R = e[13], j = e[14], I = e[15], L = e[16]);
|
|
51
|
+
const A = R === void 0 ? "" : R, M = j === void 0 ? se : j, q = I === void 0 ? "lazy" : I, G = L === void 0 ? "async" : L, [h, H] = Z(!1), [U, V] = Z(null), X = ae(null);
|
|
52
|
+
let E;
|
|
53
|
+
e[17] !== d || e[18] !== o ? (E = d ?? le(o), e[17] = d, e[18] = o, e[19] = E) : E = e[19];
|
|
54
|
+
const p = E;
|
|
55
|
+
let N;
|
|
56
|
+
e[20] !== p || e[21] !== o || e[22] !== u || e[23] !== M ? (N = u ?? (p ? fe(o, M) : void 0), e[20] = p, e[21] = o, e[22] = u, e[23] = M, e[24] = N) : N = e[24];
|
|
57
|
+
const n = N;
|
|
58
|
+
let $;
|
|
59
|
+
e[25] !== p || e[26] !== o ? ($ = p ? oe(o, 960) : o, e[25] = p, e[26] = o, e[27] = $) : $ = e[27];
|
|
60
|
+
const g = $;
|
|
61
|
+
let z, C;
|
|
62
|
+
e[28] !== l ? (z = () => {
|
|
63
|
+
if (!l) {
|
|
64
|
+
V(null);
|
|
15
65
|
return;
|
|
16
|
-
const [a, E, A] = r, B = z(A, a, E), y = document.createElement("canvas"), R = y.getContext("2d");
|
|
17
|
-
if (R) {
|
|
18
|
-
y.width = a, y.height = E;
|
|
19
|
-
const N = new ImageData(new Uint8ClampedArray(B), a, E);
|
|
20
|
-
R.putImageData(N, 0, 0), F(y.toDataURL());
|
|
21
66
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
e[
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
let
|
|
30
|
-
e[
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
67
|
+
const [a, Q, re] = l, ie = ce(re, a, Q), B = document.createElement("canvas"), Y = B.getContext("2d");
|
|
68
|
+
Y && (B.width = a, B.height = Q, Y.putImageData(new ImageData(new Uint8ClampedArray(ie), a, Q), 0, 0), V(B.toDataURL()));
|
|
69
|
+
}, C = [l], e[28] = l, e[29] = z, e[30] = C) : (z = e[29], C = e[30]), ee(z, C);
|
|
70
|
+
let F;
|
|
71
|
+
e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = () => {
|
|
72
|
+
H(!1), X.current?.complete && H(!0);
|
|
73
|
+
}, e[31] = F) : F = e[31];
|
|
74
|
+
let P;
|
|
75
|
+
e[32] !== g || e[33] !== n ? (P = [g, n], e[32] = g, e[33] = n, e[34] = P) : P = e[34], ee(F, P);
|
|
76
|
+
const J = n ? x ?? "100vw" : x, K = l ? y : y ?? t;
|
|
77
|
+
let v;
|
|
78
|
+
e[35] !== l || e[36] !== h || e[37] !== i ? (v = l ? {
|
|
79
|
+
width: "100%",
|
|
80
|
+
height: "100%",
|
|
81
|
+
objectFit: "cover",
|
|
82
|
+
display: h ? "block" : "none",
|
|
83
|
+
position: "absolute",
|
|
84
|
+
top: 0,
|
|
85
|
+
left: 0,
|
|
86
|
+
...i
|
|
87
|
+
} : i, e[35] = l, e[36] = h, e[37] = i, e[38] = v) : v = e[38];
|
|
88
|
+
let S;
|
|
89
|
+
e[39] !== m ? (S = (a) => {
|
|
90
|
+
H(!0), m?.(a);
|
|
91
|
+
}, e[39] = m, e[40] = S) : S = e[40];
|
|
92
|
+
let w;
|
|
93
|
+
e[41] !== c ? (w = (a) => {
|
|
94
|
+
c?.(a);
|
|
95
|
+
}, e[41] = c, e[42] = w) : w = e[42];
|
|
96
|
+
let W;
|
|
97
|
+
e[43] !== A || e[44] !== G || e[45] !== g || e[46] !== q || e[47] !== f || e[48] !== n || e[49] !== J || e[50] !== K || e[51] !== v || e[52] !== S || e[53] !== w ? (W = /* @__PURE__ */ T.jsx("img", { ...f, ref: X, src: g, srcSet: n, sizes: J, alt: A, className: K, loading: q, decoding: G, style: v, onLoad: S, onError: w }), e[43] = A, e[44] = G, e[45] = g, e[46] = q, e[47] = f, e[48] = n, e[49] = J, e[50] = K, e[51] = v, e[52] = S, e[53] = w, e[54] = W) : W = e[54];
|
|
98
|
+
const _ = W;
|
|
99
|
+
if (!l)
|
|
100
|
+
return _;
|
|
101
|
+
let D;
|
|
102
|
+
e[55] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = {
|
|
39
103
|
position: "relative",
|
|
40
104
|
overflow: "hidden"
|
|
41
|
-
}, e[
|
|
42
|
-
|
|
43
|
-
|
|
105
|
+
}, e[55] = D) : D = e[55];
|
|
106
|
+
const O = r ?? t;
|
|
107
|
+
let b;
|
|
108
|
+
e[56] !== U || e[57] !== h ? (b = U && !h ? /* @__PURE__ */ T.jsx("img", { src: U, alt: "", "aria-hidden": "true", style: {
|
|
44
109
|
position: "absolute",
|
|
45
110
|
top: 0,
|
|
46
111
|
left: 0,
|
|
47
112
|
width: "100%",
|
|
48
113
|
height: "100%",
|
|
49
114
|
objectFit: "cover"
|
|
50
|
-
} }), e[
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
display: w,
|
|
58
|
-
position: "absolute",
|
|
59
|
-
top: 0,
|
|
60
|
-
left: 0
|
|
61
|
-
}, e[12] = w, e[13] = s) : s = e[13];
|
|
62
|
-
let b;
|
|
63
|
-
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = () => {
|
|
64
|
-
L(!0);
|
|
65
|
-
}, e[14] = b) : b = e[14];
|
|
66
|
-
let l;
|
|
67
|
-
e[15] !== t ? (l = (a) => console.error("Image failed to load:", t, a), e[15] = t, e[16] = l) : l = e[16];
|
|
68
|
-
let i;
|
|
69
|
-
e[17] !== v || e[18] !== t || e[19] !== s || e[20] !== l ? (i = /* @__PURE__ */ S.jsx("img", { ref: j, src: t, alt: v, style: s, onLoad: b, onError: l }), e[17] = v, e[18] = t, e[19] = s, e[20] = l, e[21] = i) : i = e[21];
|
|
70
|
-
let x;
|
|
71
|
-
return e[22] !== _ || e[23] !== i || e[24] !== o ? (x = /* @__PURE__ */ S.jsxs("div", { style: g, className: _, onMouseEnter: M, onMouseLeave: k, children: [
|
|
72
|
-
o,
|
|
73
|
-
i
|
|
74
|
-
] }), e[22] = _, e[23] = i, e[24] = o, e[25] = x) : x = e[25], x;
|
|
75
|
-
};
|
|
115
|
+
} }) : null, e[56] = U, e[57] = h, e[58] = b) : b = e[58];
|
|
116
|
+
let k;
|
|
117
|
+
return e[59] !== _ || e[60] !== O || e[61] !== b ? (k = /* @__PURE__ */ T.jsxs("div", { style: D, className: O, children: [
|
|
118
|
+
b,
|
|
119
|
+
_
|
|
120
|
+
] }), e[59] = _, e[60] = O, e[61] = b, e[62] = k) : k = e[62], k;
|
|
121
|
+
}
|
|
76
122
|
export {
|
|
77
|
-
|
|
123
|
+
ge as Image,
|
|
124
|
+
se as defaultImageWidths,
|
|
125
|
+
fe as getImageSrcSet,
|
|
126
|
+
le as isRpcbaseFileImageSrc,
|
|
127
|
+
oe as withImageWidth
|
|
78
128
|
};
|
|
79
129
|
//# sourceMappingURL=index12.js.map
|
package/dist/index12.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index12.js","sources":["../src/components/Image/index.tsx"],"sourcesContent":["import { useRef, useEffect, useState } from \"react\"\nimport { decode } from \"blurhash\"\n\n// Set to true to enable mouseover debugging (this will show the blurhash image unless hovered)\nconst DEBUG = false\n\nexport const Image = ({\n src,\n hash,\n alt = \"\",\n className,\n}: {\n src: string\n hash: [number, number, string]\n alt?: string\n className?: string\n}) => {\n const [imageLoaded, setImageLoaded] = useState(false)\n const [blurhashUrl, setBlurhashUrl] = useState<string | null>(null)\n\n const imgRef = useRef<HTMLImageElement>(null)\n\n useEffect(() => {\n if (!hash) return\n\n const [width, height, buffer] = hash\n const pixels = decode(buffer, width, height)\n\n const canvas = document.createElement(\"canvas\")\n const ctx = canvas.getContext(\"2d\")\n\n if (ctx) {\n canvas.width = width\n canvas.height = height\n\n const imageData = new ImageData(\n new Uint8ClampedArray(pixels),\n width,\n height\n )\n ctx.putImageData(imageData, 0, 0)\n\n setBlurhashUrl(canvas.toDataURL())\n }\n }, [hash])\n\n // Handle Cached Images\n useEffect(() => {\n if (imgRef.current && imgRef.current.complete) {\n setImageLoaded(true)\n }\n }, [src])\n\n const onMouseEnter = () => {\n if (DEBUG) {\n setImageLoaded(true)\n }\n }\n\n const onMouseLeave = () => {\n if (DEBUG) {\n setImageLoaded(false)\n }\n }\n\n return (\n <div\n style={{ position: \"relative\", overflow: \"hidden\" }}\n className={className}\n onMouseEnter={onMouseEnter}\n onMouseLeave={onMouseLeave}\n >\n {blurhashUrl && !imageLoaded && (\n <img\n src={blurhashUrl}\n style={{\n position: \"absolute\",\n top: 0,\n left: 0,\n width: \"100%\",\n height: \"100%\",\n objectFit: \"cover\",\n }}\n />\n )}\n <img\n ref={imgRef}\n src={src}\n alt={alt}\n style={{\n width: \"100%\",\n height: \"100%\",\n objectFit: \"cover\",\n display: imageLoaded ? \"block\" : \"none\",\n position: \"absolute\",\n top: 0,\n left: 0,\n }}\n onLoad={() => {\n setImageLoaded(true)\n }}\n onError={(e) => console.error(\"Image failed to load:\", src, e)}\n />\n </div>\n )\n}\n"],"names":["Image","t0","$","_c","src","hash","alt","t1","className","undefined","imageLoaded","setImageLoaded","useState","blurhashUrl","setBlurhashUrl","imgRef","useRef","t2","t3","width","height","buffer","pixels","decode","canvas","document","createElement","ctx","getContext","imageData","ImageData","Uint8ClampedArray","putImageData","toDataURL","useEffect","t4","Symbol","for","current","complete","t5","t6","onMouseEnter","t7","onMouseLeave","t8","position","overflow","t9","top","left","objectFit","t10","t11","display","t12","t13","e","console","error","t14","jsx","t15"],"mappings":";;;;AAMO,MAAMA,IAAQC,CAAAA,MAAA;AAAA,QAAAC,IAAAC,EAAAA,EAAA,EAAA,GAAC;AAAA,IAAAC,KAAAA;AAAAA,IAAAC,MAAAA;AAAAA,IAAAC,KAAAC;AAAAA,IAAAC,WAAAA;AAAAA,EAAAA,IAAAP,GAGpBK,IAAAC,MAAAE,SAAA,KAAAF,GAQA,CAAAG,GAAAC,CAAA,IAAsCC,EAAS,EAAK,GACpD,CAAAC,GAAAC,CAAA,IAAsCF,EAAwB,IAAI,GAElEG,IAAeC,EAAyB,IAAI;AAAC,MAAAC,GAAAC;AAAA,EAAAhB,SAAAG,KAEnCY,IAAAA,MAAA;AACR,QAAI,CAACZ;AAAI;AAET,UAAA,CAAAc,GAAAC,GAAAC,CAAA,IAAgChB,GAChCiB,IAAeC,EAAOF,GAAQF,GAAOC,CAAM,GAE3CI,IAAeC,SAAQC,cAAe,QAAQ,GAC9CC,IAAYH,EAAMI,WAAY,IAAI;AAElC,QAAID,GAAG;AACLH,MAAAA,EAAML,QAASA,GACfK,EAAMJ,SAAUA;AAEhB,YAAAS,IAAkB,IAAIC,UACpB,IAAIC,kBAAkBT,CAAM,GAC5BH,GACAC,CACF;AACAO,MAAAA,EAAGK,aAAcH,GAAW,GAAG,CAAC,GAEhCf,EAAeU,EAAMS,WAAY;AAAA,IAAC;AAAA,EACnC,GACAf,IAAA,CAACb,CAAI,GAACH,OAAAG,GAAAH,OAAAe,GAAAf,OAAAgB,MAAAD,IAAAf,EAAA,CAAA,GAAAgB,IAAAhB,EAAA,CAAA,IAtBTgC,EAAUjB,GAsBPC,CAAM;AAAC,MAAAiB;AAAA,EAAAjC,EAAA,CAAA,MAAAkC,uBAAAC,IAAA,2BAAA,KAGAF,IAAAA,MAAA;AACR,I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{"version":3,"file":"index12.js","sources":["../src/components/Image/index.tsx"],"sourcesContent":["import { useEffect, useRef, useState, type ImgHTMLAttributes } from \"react\"\nimport { decode } from \"blurhash\"\n\n\nexport const defaultImageWidths = [320, 640, 960, 1600]\n\nexport type ImageBlurHash = [number, number, string]\n\nexport type ImageProps = Omit<ImgHTMLAttributes<HTMLImageElement>, \"src\"> & {\n src: string\n hash?: ImageBlurHash\n widths?: number[]\n responsive?: boolean\n containerClassName?: string\n imgClassName?: string\n}\n\nconst filePathPattern = /^\\/api\\/rb\\/files\\/[^/?#]+/\n\nconst normalizeWidths = (widths: number[]): number[] => [...new Set(\n widths\n .map((width) => Math.floor(width))\n .filter((width) => Number.isFinite(width) && width > 0),\n)].sort((a, b) => a - b)\n\nexport const isRpcbaseFileImageSrc = (src: string): boolean => {\n if (filePathPattern.test(src)) return true\n\n try {\n const url = new URL(src)\n return filePathPattern.test(url.pathname)\n } catch {\n return false\n }\n}\n\nexport const withImageWidth = (src: string, width: number): string => {\n if (src.startsWith(\"/\")) {\n const url = new URL(src, \"http://rpcbase.local\")\n url.searchParams.set(\"w\", String(width))\n return `${url.pathname}${url.search}${url.hash}`\n }\n\n try {\n const url = new URL(src)\n url.searchParams.set(\"w\", String(width))\n return url.toString()\n } catch {\n return src\n }\n}\n\nexport const getImageSrcSet = (src: string, widths = defaultImageWidths): string | undefined => {\n if (!isRpcbaseFileImageSrc(src)) return undefined\n const normalized = normalizeWidths(widths)\n if (!normalized.length) return undefined\n return normalized.map((width) => `${withImageWidth(src, width)} ${width}w`).join(\", \")\n}\n\nexport function Image({\n src,\n hash,\n alt = \"\",\n className,\n containerClassName,\n imgClassName,\n widths = defaultImageWidths,\n responsive,\n sizes,\n srcSet,\n loading = \"lazy\",\n decoding = \"async\",\n style,\n onLoad,\n onError,\n ...props\n}: ImageProps) {\n const [imageLoaded, setImageLoaded] = useState(false)\n const [blurhashUrl, setBlurhashUrl] = useState<string | null>(null)\n const imgRef = useRef<HTMLImageElement>(null)\n const shouldBuildResponsiveSrc = responsive ?? isRpcbaseFileImageSrc(src)\n const resolvedSrcSet = srcSet ?? (shouldBuildResponsiveSrc ? getImageSrcSet(src, widths) : undefined)\n const fallbackSrc = shouldBuildResponsiveSrc ? withImageWidth(src, 960) : src\n\n useEffect(() => {\n if (!hash) {\n setBlurhashUrl(null)\n return\n }\n\n const [width, height, buffer] = hash\n const pixels = decode(buffer, width, height)\n const canvas = document.createElement(\"canvas\")\n const ctx = canvas.getContext(\"2d\")\n\n if (!ctx) return\n\n canvas.width = width\n canvas.height = height\n ctx.putImageData(new ImageData(new Uint8ClampedArray(pixels), width, height), 0, 0)\n setBlurhashUrl(canvas.toDataURL())\n }, [hash])\n\n useEffect(() => {\n setImageLoaded(false)\n if (imgRef.current?.complete) {\n setImageLoaded(true)\n }\n }, [fallbackSrc, resolvedSrcSet])\n\n const image = (\n <img\n {...props}\n ref={imgRef}\n src={fallbackSrc}\n srcSet={resolvedSrcSet}\n sizes={resolvedSrcSet ? sizes ?? \"100vw\" : sizes}\n alt={alt}\n className={hash ? imgClassName : imgClassName ?? className}\n loading={loading}\n decoding={decoding}\n style={hash\n ? {\n width: \"100%\",\n height: \"100%\",\n objectFit: \"cover\",\n display: imageLoaded ? \"block\" : \"none\",\n position: \"absolute\",\n top: 0,\n left: 0,\n ...style,\n }\n : style}\n onLoad={(event) => {\n setImageLoaded(true)\n onLoad?.(event)\n }}\n onError={(event) => {\n onError?.(event)\n }}\n />\n )\n\n if (!hash) return image\n\n return (\n <div style={{ position: \"relative\", overflow: \"hidden\" }} className={containerClassName ?? className}>\n {blurhashUrl && !imageLoaded ? (\n <img\n src={blurhashUrl}\n alt=\"\"\n aria-hidden=\"true\"\n style={{\n position: \"absolute\",\n top: 0,\n left: 0,\n width: \"100%\",\n height: \"100%\",\n objectFit: \"cover\",\n }}\n />\n ) : null}\n {image}\n </div>\n )\n}\n"],"names":["defaultImageWidths","filePathPattern","normalizeWidths","widths","Set","map","width","Math","floor","filter","Number","isFinite","sort","a","b","isRpcbaseFileImageSrc","src","test","url","URL","pathname","withImageWidth","startsWith","searchParams","set","String","search","hash","toString","getImageSrcSet","normalized","length","join","Image","t0","$","_c","className","containerClassName","imgClassName","onError","onLoad","props","responsive","sizes","srcSet","style","t1","t2","t3","t4","alt","loading","decoding","undefined","imageLoaded","setImageLoaded","useState","blurhashUrl","setBlurhashUrl","imgRef","useRef","t5","shouldBuildResponsiveSrc","t6","resolvedSrcSet","t7","fallbackSrc","t8","t9","height","buffer","pixels","decode","canvas","document","createElement","ctx","getContext","putImageData","ImageData","Uint8ClampedArray","toDataURL","useEffect","t10","Symbol","for","current","complete","t11","t12","t13","t14","objectFit","display","position","top","left","t15","event","t16","event_0","t17","jsx","image","t18","overflow","t19","t20","t21","jsxs"],"mappings":";;;;AAIO,MAAMA,KAAqB,CAAC,KAAK,KAAK,KAAK,IAAI,GAahDC,KAAkB,8BAElBC,KAAkBA,CAACC,MAA+B,CAAC,GAAG,IAAIC,IAC9DD,EACGE,IAAKC,CAAAA,MAAUC,KAAKC,MAAMF,CAAK,CAAC,EAChCG,OAAQH,CAAAA,MAAUI,OAAOC,SAASL,CAAK,KAAKA,IAAQ,CAAC,CAC1D,CAAC,EAAEM,KAAK,CAACC,GAAGC,MAAMD,IAAIC,CAAC,GAEVC,KAAwBA,CAACC,MAAyB;AAC7D,MAAIf,GAAgBgB,KAAKD,CAAG,EAAG,QAAO;AAEtC,MAAI;AACF,UAAME,IAAM,IAAIC,IAAIH,CAAG;AACvB,WAAOf,GAAgBgB,KAAKC,EAAIE,QAAQ;AAAA,EAC1C,QAAQ;AACN,WAAO;AAAA,EACT;AACF,GAEaC,KAAiBA,CAACL,GAAaV,MAA0B;AACpE,MAAIU,EAAIM,WAAW,GAAG,GAAG;AACvB,UAAMJ,IAAM,IAAIC,IAAIH,GAAK,sBAAsB;AAC/CE,WAAAA,EAAIK,aAAaC,IAAI,KAAKC,OAAOnB,CAAK,CAAC,GAChC,GAAGY,EAAIE,QAAQ,GA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,KAAArE,UAAAwE,KAAAxE,EAAA,EAAA,MAAAyE,KAfVC,IAAAC,gBAAAA,EAAAA,KAAA,OAAA,EAAY,OAAAL,GAAyD,WAAAE,GAClEC,UAAAA;AAAAA,IAAAA;AAAAA,IAeAJ;AAAAA,EAAAA,GACH,GAAMrE,QAAAqE,GAAArE,QAAAwE,GAAAxE,QAAAyE,GAAAzE,QAAA0E,KAAAA,IAAA1E,EAAA,EAAA,GAjBN0E;AAiBM;"}
|
package/dist/index120.js
CHANGED
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
function I(e, o, r, i, f) {
|
|
5
|
-
const { autoFocus: F } = e, [d, m] = a(), c = T(o.days, r, i || (() => !1), d), [s, u] = a(F ? c : void 0);
|
|
6
|
-
return {
|
|
7
|
-
isFocusTarget: (n) => !!c?.isEqualTo(n),
|
|
8
|
-
setFocused: u,
|
|
9
|
-
focused: s,
|
|
10
|
-
blur: () => {
|
|
11
|
-
m(s), u(void 0);
|
|
12
|
-
},
|
|
13
|
-
moveFocus: (n, l) => {
|
|
14
|
-
if (!s)
|
|
15
|
-
return;
|
|
16
|
-
const t = v(n, l, s, o.navStart, o.navEnd, e, f);
|
|
17
|
-
t && (e.disableNavigation && !o.days.some((g) => g.isEqualTo(t)) || (o.goToDay(t), u(t)));
|
|
18
|
-
}
|
|
19
|
-
};
|
|
1
|
+
import t from "react";
|
|
2
|
+
function c(e) {
|
|
3
|
+
return t.createElement("select", { ...e });
|
|
20
4
|
}
|
|
21
5
|
export {
|
|
22
|
-
|
|
6
|
+
c as Select
|
|
23
7
|
};
|
|
24
8
|
//# sourceMappingURL=index120.js.map
|
package/dist/index120.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index120.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index120.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/index121.js
CHANGED
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const t = s(e, n), r = i(e, n), u = o(e, n);
|
|
6
|
-
switch (e.mode) {
|
|
7
|
-
case "single":
|
|
8
|
-
return t;
|
|
9
|
-
case "multiple":
|
|
10
|
-
return r;
|
|
11
|
-
case "range":
|
|
12
|
-
return u;
|
|
13
|
-
default:
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
1
|
+
import r from "react";
|
|
2
|
+
function c(e) {
|
|
3
|
+
const { week: o, ...t } = e;
|
|
4
|
+
return r.createElement("tr", { ...t });
|
|
16
5
|
}
|
|
17
6
|
export {
|
|
18
|
-
|
|
7
|
+
c as Week
|
|
19
8
|
};
|
|
20
9
|
//# sourceMappingURL=index121.js.map
|
package/dist/index121.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index121.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index121.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]}
|