@rpcbase/ui 0.186.0 → 0.187.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/useScrollPagination.d.ts.map +1 -1
- package/dist/index100.js +5 -8
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +6 -4
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +5 -5
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +4 -4
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +5 -466
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +4 -185
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +8 -107
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +5 -262
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +4 -9
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +4 -42
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +6 -4
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +146 -52
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +39 -4
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +4 -4
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +7 -15
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +13 -5
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +13 -7
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +7 -16
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +31 -4
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +10 -4
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +10 -5
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +8 -5
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +13 -4
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +101 -4
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +20 -7
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +53 -24
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +72 -6
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +9 -4
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +20 -6
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +16 -5
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +23 -4
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +6 -5
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +5 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +23 -8
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +35 -6
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +16 -5
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +6 -4
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +4 -6
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +4 -145
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +4 -39
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +4 -4
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +3 -7
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +6 -13
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +24 -14
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +7 -7
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +6 -31
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +5 -10
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +3 -10
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +3 -8
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +4 -13
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +3 -101
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +5 -20
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +3 -53
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +3 -72
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +3 -9
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +45 -19
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +45 -15
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +203 -21
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +22 -7
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +24 -5
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +394 -18
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +6 -35
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +69 -16
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +2 -7
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +363 -4
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +261 -4
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +60 -4
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +46 -4
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +169 -3
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +109 -6
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +25 -24
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +8 -8
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +4 -6
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +5 -5
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +4 -3
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +466 -3
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +185 -4
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +107 -3
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +262 -4
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +9 -3
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +42 -3
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +4 -3
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +13 -13
- package/dist/index183.js +58 -24
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +9 -29
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +67 -5
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +18 -12
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +14 -152
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +4 -29
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +5 -9
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +6 -47
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +4 -11
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +7 -44
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +17 -95
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +5 -86
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +5 -105
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +13 -52
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +10 -11
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +14 -37
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +14 -8
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +5 -116
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +6 -17
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +7 -15
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +6 -3
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +9 -36
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +5 -20
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +5 -9
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +9 -8
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +5 -19
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +5 -28
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +4 -16
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +11 -58
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +10 -8
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +10 -66
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +11 -19
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +11 -16
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +10 -5
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +7 -5
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +6 -6
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +5 -4
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +6 -7
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +7 -17
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +6 -5
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +55 -5
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +16 -13
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +7 -10
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +10 -14
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +10 -14
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +21 -5
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +10 -6
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +9 -7
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +9 -6
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +4 -9
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +5 -5
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +16 -5
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +9 -9
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +18 -5
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +15 -5
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +12 -4
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +29 -11
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +12 -10
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +25 -10
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +5 -11
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +24 -11
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +29 -11
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +5 -8
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +13 -6
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +153 -4
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +30 -6
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +9 -7
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +47 -6
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +10 -54
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +42 -14
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +95 -7
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +85 -9
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +104 -9
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +52 -21
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +11 -10
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +37 -9
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +7 -8
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +3 -4
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +9 -5
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +114 -14
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +17 -9
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +15 -18
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +34 -13
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +20 -12
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +8 -29
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +18 -11
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +26 -23
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +16 -5
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +2 -2
- package/dist/index272.js +9 -9
- package/dist/index273.js +1 -1
- package/dist/index274.js +5 -5
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +19 -3
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +12 -23
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +5 -113
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +3 -16
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +21 -522
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +112 -127
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +15 -133
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +523 -19
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +127 -4
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +133 -18
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +20 -12
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +5 -64
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +6 -69
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +4 -9
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +16 -14
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +8 -65
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +5 -5
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +4 -5
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +546 -4
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +47 -16
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +17 -8
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +6 -5
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +8 -4
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +7 -545
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +9 -47
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +12 -17
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +9 -6
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +13 -8
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +64 -7
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +69 -9
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +9 -13
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +14 -10
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +66 -14
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +4 -3
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +56 -23
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +5 -5
- package/dist/index310.js +68 -5
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +30 -55
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +9 -68
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +148 -26
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +108 -9
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +4 -153
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +23 -108
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +15 -12
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +26 -25
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +13 -5
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +24 -24
- package/dist/index320.js +6 -22
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +22 -15
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +12 -28
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +27 -12
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +5 -7
- package/dist/index324.js.map +1 -1
- package/dist/index33.js +3 -3
- package/dist/index35.js +1 -1
- package/dist/index39.js +1 -1
- package/dist/index40.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index44.js +20 -20
- package/dist/index48.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index52.js +1 -1
- package/dist/index53.js +1 -1
- package/dist/index54.js +6 -3
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +33 -6
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +25 -46
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +7 -26
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +10 -49
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +2 -8
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +121 -115
- package/dist/index6.js.map +1 -1
- package/dist/index60.js +2 -15
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +2 -134
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +2 -11
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +51 -214
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +204 -12
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +3 -33
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +44 -43
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +50 -7
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +7 -49
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +15 -4
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +133 -5
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +11 -28
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +216 -49
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +12 -8
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +46 -5
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +49 -7
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +4 -6
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +6 -2
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +28 -2
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +48 -52
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +9 -2
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +6 -2
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +7 -11
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +6 -205
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +52 -47
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +4 -205
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +5 -22
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +15 -24
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +5 -399
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +7 -46
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +16 -5
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +4 -68
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +5 -2
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +5 -363
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +5 -261
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +4 -60
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +4 -46
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +6 -169
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +24 -109
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +6 -24
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index151.js
CHANGED
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
var t;
|
|
6
|
-
(function(e) {
|
|
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 { DateLib as c } from "./index111.js";
|
|
2
|
+
function a(e, r, t) {
|
|
3
|
+
return (t ?? new c(r)).format(e, "cccc");
|
|
4
|
+
}
|
|
17
5
|
export {
|
|
18
|
-
|
|
19
|
-
t as DayFlag,
|
|
20
|
-
r as SelectionState,
|
|
21
|
-
o as UI
|
|
6
|
+
a as labelWeekday
|
|
22
7
|
};
|
|
23
8
|
//# sourceMappingURL=index151.js.map
|
package/dist/index151.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index151.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index151.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelWeekday.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the ARIA label for a weekday column header.\n *\n * @defaultValue `\"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\", \"Sunday\"`\n * @param date - The date representing the weekday.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The ARIA label for the weekday column header.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelWeekday(date, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(date, \"cccc\");\n}\n"],"names":["labelWeekday","date","options","dateLib","DateLib"],"mappings":";AAYO,SAASA,EAAaC,GAAMC,GAASC,GAAS;AACjD,UAAQA,KAAW,IAAIC,EAAQF,CAAO,GAAG,OAAOD,GAAM,MAAM;AAChE;","x_google_ignoreList":[0]}
|
package/dist/index152.js
CHANGED
|
@@ -1,57 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const l = (e) => e instanceof HTMLElement ? e : null, q = (e) => [
|
|
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
|
+
function o(e, n) {
|
|
2
|
+
return `Week ${e}`;
|
|
53
3
|
}
|
|
54
4
|
export {
|
|
55
|
-
|
|
5
|
+
o as labelWeekNumber
|
|
56
6
|
};
|
|
57
7
|
//# sourceMappingURL=index152.js.map
|
package/dist/index152.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index152.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,u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AW,IAChCA,EAAe,MAAM,WAAW,IAC5BA,EAAe,SAASE,CAAe,KACvCF,EAAe,YAAYE,CAAe;AAAA,QAElD;AAGA,QAAAA,EAAgB,MAAM,gBAAgB,QACtCA,EAAgB,MAAM,WAAW,YACjCA,EAAgB,MAAM,WAAW,UACjCA,EAAgB,aAAa,eAAe,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":"index152.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js"],"sourcesContent":["/**\n * Generates the ARIA label for the week number cell (the first cell in a row).\n *\n * @defaultValue `Week ${weekNumber}`\n * @param weekNumber - The number of the week.\n * @param options - Optional configuration for the date formatting library.\n * @returns The ARIA label for the week number cell.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelWeekNumber(weekNumber, _options) {\n return `Week ${weekNumber}`;\n}\n"],"names":["labelWeekNumber","weekNumber","_options"],"mappings":"AAUO,SAASA,EAAgBC,GAAYC,GAAU;AAClD,SAAO,QAAQD,CAAU;AAC7B;","x_google_ignoreList":[0]}
|
package/dist/index153.js
CHANGED
|
@@ -1,76 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { getDays as w } from "./index253.js";
|
|
4
|
-
import { getDisplayMonths as E } from "./index254.js";
|
|
5
|
-
import { getInitialMonth as c } from "./index255.js";
|
|
6
|
-
import { getMonths as b } from "./index256.js";
|
|
7
|
-
import { getNavMonths as q } from "./index257.js";
|
|
8
|
-
import { getNextMonth as F } from "./index258.js";
|
|
9
|
-
import { getPreviousMonth as P } from "./index259.js";
|
|
10
|
-
import { getWeeks as V } from "./index260.js";
|
|
11
|
-
import { useControlledValue as Z } from "./index261.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
|
+
function r(e) {
|
|
2
|
+
return "Week Number";
|
|
72
3
|
}
|
|
73
4
|
export {
|
|
74
|
-
|
|
5
|
+
r as labelWeekNumberHeader
|
|
75
6
|
};
|
|
76
7
|
//# sourceMappingURL=index153.js.map
|
package/dist/index153.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index153.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index153.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js"],"sourcesContent":["/**\n * Generates the ARIA label for the week number header element.\n *\n * @defaultValue `\"Week Number\"`\n * @param options - Optional configuration for the date formatting library.\n * @returns The ARIA label for the week number header.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelWeekNumberHeader(_options) {\n return \"Week Number\";\n}\n"],"names":["labelWeekNumberHeader","_options"],"mappings":"AASO,SAASA,EAAsBC,GAAU;AAC5C,SAAO;AACX;","x_google_ignoreList":[0]}
|
package/dist/index154.js
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
function c() {
|
|
4
|
-
const e = n(o);
|
|
5
|
-
if (e === void 0)
|
|
6
|
-
throw new Error("useDayPicker() must be used within a custom component.");
|
|
7
|
-
return e;
|
|
1
|
+
function e(o) {
|
|
2
|
+
return "Choose the Year";
|
|
8
3
|
}
|
|
9
4
|
export {
|
|
10
|
-
|
|
11
|
-
c as useDayPicker
|
|
5
|
+
e as labelYearDropdown
|
|
12
6
|
};
|
|
13
7
|
//# sourceMappingURL=index154.js.map
|
package/dist/index154.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index154.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index154.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js"],"sourcesContent":["/**\n * Generates the ARIA label for the years dropdown.\n *\n * @defaultValue `\"Choose the Year\"`\n * @param options - Optional configuration for the date formatting library.\n * @returns The ARIA label for the years dropdown.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelYearDropdown(_options) {\n return \"Choose the Year\";\n}\n"],"names":["labelYearDropdown","_options"],"mappings":"AASO,SAASA,EAAkBC,GAAU;AACxC,SAAO;AACX;","x_google_ignoreList":[0]}
|
package/dist/index155.js
CHANGED
|
@@ -1,24 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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)));
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import { composeRefs as m } from "./index56.js";
|
|
3
|
+
import { j as u } from "./index30.js";
|
|
4
|
+
// @__NO_SIDE_EFFECTS__
|
|
5
|
+
function x(e) {
|
|
6
|
+
const r = /* @__PURE__ */ y(e), t = l.forwardRef((o, n) => {
|
|
7
|
+
const { children: i, ...c } = o, s = l.Children.toArray(i), a = s.find(g);
|
|
8
|
+
if (a) {
|
|
9
|
+
const f = a.props.children, d = s.map((p) => p === a ? l.Children.count(f) > 1 ? l.Children.only(null) : l.isValidElement(f) ? f.props.children : null : p);
|
|
10
|
+
return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: l.isValidElement(f) ? l.cloneElement(f, void 0, d) : null });
|
|
18
11
|
}
|
|
19
|
-
|
|
12
|
+
return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: i });
|
|
13
|
+
});
|
|
14
|
+
return t.displayName = `${e}.Slot`, t;
|
|
15
|
+
}
|
|
16
|
+
// @__NO_SIDE_EFFECTS__
|
|
17
|
+
function y(e) {
|
|
18
|
+
const r = l.forwardRef((t, o) => {
|
|
19
|
+
const { children: n, ...i } = t;
|
|
20
|
+
if (l.isValidElement(n)) {
|
|
21
|
+
const c = R(n), s = C(i, n.props);
|
|
22
|
+
return n.type !== l.Fragment && (s.ref = o ? m(o, c) : c), l.cloneElement(n, s);
|
|
23
|
+
}
|
|
24
|
+
return l.Children.count(n) > 1 ? l.Children.only(null) : null;
|
|
25
|
+
});
|
|
26
|
+
return r.displayName = `${e}.SlotClone`, r;
|
|
27
|
+
}
|
|
28
|
+
var E = /* @__PURE__ */ Symbol("radix.slottable");
|
|
29
|
+
function g(e) {
|
|
30
|
+
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
|
|
31
|
+
}
|
|
32
|
+
function C(e, r) {
|
|
33
|
+
const t = { ...r };
|
|
34
|
+
for (const o in r) {
|
|
35
|
+
const n = e[o], i = r[o];
|
|
36
|
+
/^on[A-Z]/.test(o) ? n && i ? t[o] = (...s) => {
|
|
37
|
+
const a = i(...s);
|
|
38
|
+
return n(...s), a;
|
|
39
|
+
} : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...i } : o === "className" && (t[o] = [n, i].filter(Boolean).join(" "));
|
|
40
|
+
}
|
|
41
|
+
return { ...e, ...t };
|
|
42
|
+
}
|
|
43
|
+
function R(e) {
|
|
44
|
+
let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
|
|
45
|
+
return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
|
|
20
46
|
}
|
|
21
47
|
export {
|
|
22
|
-
|
|
48
|
+
x as createSlot
|
|
23
49
|
};
|
|
24
50
|
//# sourceMappingURL=index155.js.map
|
package/dist/index155.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index155.js","sources":["../../../node_modules/react-
|
|
1
|
+
{"version":3,"file":"index155.js","sources":["../../../node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","mayWarn"],"mappings":";;;;AAKA,SAASA,EAAWC,GAAW;AAC7B,QAAMC,IAA4B,gBAAAC,EAAgBF,CAAS,GACrDG,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACtD,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,QAAID,GAAW;AACb,YAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAU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E,GAAGD,EAAU;AACrC,aAAWE,KAAYF,GAAY;AACjC,UAAMG,IAAgBjB,EAAUgB,CAAQ,GAClCE,IAAiBJ,EAAWE,CAAQ;AAE1C,IADkB,WAAW,KAAKA,CAAQ,IAEpCC,KAAiBC,IACnBH,EAAcC,CAAQ,IAAI,IAAIG,MAAS;AACrC,YAAMC,IAASF,EAAe,GAAGC,CAAI;AACrC,aAAAF,EAAc,GAAGE,CAAI,GACdC;AAAA,IACT,IACSH,MACTF,EAAcC,CAAQ,IAAIC,KAEnBD,MAAa,UACtBD,EAAcC,CAAQ,IAAI,EAAE,GAAGC,GAAe,GAAGC,EAAc,IACtDF,MAAa,gBACtBD,EAAcC,CAAQ,IAAI,CAACC,GAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAAA,EAEtF;AACA,SAAO,EAAE,GAAGlB,GAAW,GAAGe,EAAa;AACzC;AACA,SAASN,EAAcY,GAAS;AAC9B,MAAIC,IAAS,OAAO,yBAAyBD,EAAQ,OAAO,KAAK,GAAG,KAChEE,IAAUD,KAAU,oBAAoBA,KAAUA,EAAO;AAC7D,SAAIC,IACKF,EAAQ,OAEjBC,IAAS,OAAO,yBAAyBD,GAAS,KAAK,GAAG,KAC1DE,IAAUD,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDC,IACKF,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
|
package/dist/index156.js
CHANGED
|
@@ -1,20 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return r;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import { composeRefs as m } from "./index56.js";
|
|
3
|
+
import { j as u } from "./index30.js";
|
|
4
|
+
// @__NO_SIDE_EFFECTS__
|
|
5
|
+
function x(e) {
|
|
6
|
+
const r = /* @__PURE__ */ y(e), t = l.forwardRef((o, n) => {
|
|
7
|
+
const { children: i, ...c } = o, s = l.Children.toArray(i), a = s.find(g);
|
|
8
|
+
if (a) {
|
|
9
|
+
const f = a.props.children, d = s.map((p) => p === a ? l.Children.count(f) > 1 ? l.Children.only(null) : l.isValidElement(f) ? f.props.children : null : p);
|
|
10
|
+
return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: l.isValidElement(f) ? l.cloneElement(f, void 0, d) : null });
|
|
11
|
+
}
|
|
12
|
+
return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: i });
|
|
13
|
+
});
|
|
14
|
+
return t.displayName = `${e}.Slot`, t;
|
|
15
|
+
}
|
|
16
|
+
// @__NO_SIDE_EFFECTS__
|
|
17
|
+
function y(e) {
|
|
18
|
+
const r = l.forwardRef((t, o) => {
|
|
19
|
+
const { children: n, ...i } = t;
|
|
20
|
+
if (l.isValidElement(n)) {
|
|
21
|
+
const c = R(n), s = C(i, n.props);
|
|
22
|
+
return n.type !== l.Fragment && (s.ref = o ? m(o, c) : c), l.cloneElement(n, s);
|
|
23
|
+
}
|
|
24
|
+
return l.Children.count(n) > 1 ? l.Children.only(null) : null;
|
|
25
|
+
});
|
|
26
|
+
return r.displayName = `${e}.SlotClone`, r;
|
|
27
|
+
}
|
|
28
|
+
var E = /* @__PURE__ */ Symbol("radix.slottable");
|
|
29
|
+
function g(e) {
|
|
30
|
+
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
|
|
31
|
+
}
|
|
32
|
+
function C(e, r) {
|
|
33
|
+
const t = { ...r };
|
|
34
|
+
for (const o in r) {
|
|
35
|
+
const n = e[o], i = r[o];
|
|
36
|
+
/^on[A-Z]/.test(o) ? n && i ? t[o] = (...s) => {
|
|
37
|
+
const a = i(...s);
|
|
38
|
+
return n(...s), a;
|
|
39
|
+
} : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...i } : o === "className" && (t[o] = [n, i].filter(Boolean).join(" "));
|
|
15
40
|
}
|
|
41
|
+
return { ...e, ...t };
|
|
42
|
+
}
|
|
43
|
+
function R(e) {
|
|
44
|
+
let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
|
|
45
|
+
return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
|
|
16
46
|
}
|
|
17
47
|
export {
|
|
18
|
-
|
|
48
|
+
x as createSlot
|
|
19
49
|
};
|
|
20
50
|
//# sourceMappingURL=index156.js.map
|
package/dist/index156.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index156.js","sources":["../../../node_modules/react-
|
|
1
|
+
{"version":3,"file":"index156.js","sources":["../../../node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","mayWarn"],"mappings":";;;;AAKA,SAASA,EAAWC,GAAW;AAC7B,QAAMC,IAA4B,gBAAAC,EAAgBF,CAAS,GACrDG,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACtD,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,QAAID,GAAW;AACb,YAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,aAAuBC,gBAAAA,EAAAA,IAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,IACpL;AACA,WAAuBE,gBAAAA,EAAA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