@rpcbase/ui 0.170.0 → 0.172.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/HourPickerField/index.d.ts.map +1 -1
- package/dist/index10.js +1 -1
- package/dist/index100.js +9 -5
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +42 -4
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -5
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +52 -5
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +3 -7
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +4 -5
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +15 -4
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +5 -4
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +7 -6
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +16 -145
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +3 -3
- package/dist/index110.js +4 -39
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +4 -4
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +5 -7
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +5 -13
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +4 -13
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +4 -7
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +6 -31
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +24 -10
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +6 -10
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +4 -8
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +1 -1
- package/dist/index120.js +6 -13
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +5 -101
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +5 -20
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +5 -53
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +4 -72
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +8 -9
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +5 -20
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +4 -16
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +4 -23
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +6 -6
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +2 -2
- package/dist/index130.js +145 -5
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +39 -23
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +5 -35
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +8 -16
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +13 -6
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +13 -4
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +7 -4
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +31 -4
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +10 -4
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +10 -3
- package/dist/index139.js.map +1 -1
- package/dist/index14.js +4 -4
- package/dist/index140.js +8 -6
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +14 -24
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +101 -7
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +20 -7
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +53 -5
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +72 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +9 -3
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +20 -4
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +16 -3
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +23 -4
- package/dist/index149.js.map +1 -1
- package/dist/index15.js +1 -1
- package/dist/index150.js +6 -3
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +5 -3
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +23 -3
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +35 -6
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +16 -69
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +7 -2
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +4 -363
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +4 -261
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +4 -60
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +4 -46
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +1 -1
- package/dist/index160.js +3 -169
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +6 -109
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +24 -25
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +8 -8
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +6 -4
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +5 -5
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +3 -4
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +3 -466
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +4 -185
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +3 -107
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +1 -1
- package/dist/index170.js +4 -262
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +3 -9
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +3 -42
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +3 -4
- package/dist/index173.js.map +1 -1
- package/dist/index178.js +1 -1
- package/dist/index179.js +1 -1
- package/dist/index18.js +210 -203
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +13 -58
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +154 -8
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +28 -64
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +9 -19
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +45 -14
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +11 -5
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +43 -4
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +95 -6
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +86 -4
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +105 -7
- package/dist/index189.js.map +1 -1
- package/dist/index19.js +7 -7
- package/dist/index190.js +52 -17
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +11 -5
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +37 -5
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +8 -13
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +116 -10
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +17 -14
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +15 -14
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +3 -5
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +36 -6
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +20 -7
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +2 -2
- package/dist/index200.js +9 -6
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +8 -9
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +19 -5
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +28 -5
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +16 -9
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +58 -5
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +8 -5
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +66 -4
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +19 -11
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +16 -10
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +1 -1
- package/dist/index210.js +5 -10
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +5 -11
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +6 -11
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +4 -10
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +6 -6
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +17 -6
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +5 -5
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +5 -6
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +13 -7
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +9 -5
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +1 -1
- package/dist/index220.js +14 -55
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +14 -23
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +5 -16
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +6 -7
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +7 -10
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +6 -10
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +9 -21
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +5 -10
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +5 -9
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +9 -9
- package/dist/index229.js.map +1 -1
- package/dist/index23.js +1 -1
- package/dist/index230.js +5 -4
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +5 -5
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +4 -16
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +11 -9
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +10 -18
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +10 -15
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +11 -12
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +11 -29
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +10 -12
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +7 -25
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +6 -5
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +5 -13
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +6 -154
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +7 -30
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +6 -9
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +53 -45
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +23 -11
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +14 -42
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +7 -95
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +9 -85
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +9 -104
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +21 -52
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +10 -11
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +9 -37
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +8 -7
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +4 -116
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +5 -17
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +15 -14
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +9 -3
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +16 -34
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +15 -20
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +12 -9
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +29 -8
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +11 -18
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +23 -26
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +5 -16
- package/dist/index265.js.map +1 -1
- package/dist/index267.js +1 -1
- package/dist/index269.js +4 -4
- package/dist/index27.js +37 -3
- package/dist/index27.js.map +1 -1
- package/dist/index274.js +20 -4
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +5 -19
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +19 -13
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +12 -20
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +69 -65
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +8 -68
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +3 -125
- package/dist/index28.js.map +1 -1
- package/dist/index280.js +14 -9
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +66 -14
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +64 -65
- package/dist/index282.js.map +1 -1
- package/dist/index29.js +120 -227
- package/dist/index29.js.map +1 -1
- package/dist/index290.js +4 -4
- package/dist/index293.js +1 -1
- package/dist/index294.js +2 -2
- package/dist/index296.js +1 -1
- package/dist/index297.js +1 -1
- package/dist/index298.js +1 -1
- package/dist/index299.js +1 -1
- package/dist/index30.js +230 -49
- package/dist/index30.js.map +1 -1
- package/dist/index302.js +68 -5
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +30 -55
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +9 -68
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +148 -26
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +108 -9
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +5 -153
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +54 -106
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +11 -21
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +50 -2640
- package/dist/index31.js.map +1 -1
- package/dist/index310.js +26 -11
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +4 -27
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +22 -4
- package/dist/index312.js.map +1 -1
- package/dist/index32.js +2598 -351
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +375 -214
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +230 -19
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +18 -138
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +125 -170
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +174 -64
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +74 -88
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +90 -5
- package/dist/index39.js.map +1 -1
- package/dist/index40.js +5 -843
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +832 -54
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +66 -37
- package/dist/index42.js.map +1 -1
- package/dist/index45.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.js +1 -1
- package/dist/index5.js +1 -1
- package/dist/index50.js +1 -1
- package/dist/index52.js +1 -1
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index58.js +1 -1
- package/dist/index59.js +1 -1
- package/dist/index60.js +1 -1
- package/dist/index65.js +1 -1
- package/dist/index68.js +5 -11
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +7 -53
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +6 -2
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +54 -2
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +2 -6
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +2 -8
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +11 -5
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +1 -1
- package/dist/index77.js +1 -1
- package/dist/index8.js +1 -1
- package/dist/index80.js +1 -1
- package/dist/index81.js +2 -2
- package/dist/index82.js +6 -52
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +68 -4
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +2 -5
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +363 -15
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +261 -5
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +60 -7
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +46 -16
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +169 -4
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +1 -1
- package/dist/index90.js +109 -4
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +24 -5
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +8 -6
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +4 -4
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +5 -4
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +4 -6
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +466 -24
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +185 -6
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +107 -4
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +262 -6
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index122.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 t from "react";
|
|
2
|
+
function c(e) {
|
|
3
|
+
return t.createElement("select", { ...e });
|
|
4
|
+
}
|
|
17
5
|
export {
|
|
18
|
-
|
|
19
|
-
t as DayFlag,
|
|
20
|
-
r as SelectionState,
|
|
21
|
-
o as UI
|
|
6
|
+
c as Select
|
|
22
7
|
};
|
|
23
8
|
//# sourceMappingURL=index122.js.map
|
package/dist/index122.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index122.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index122.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/index123.js
CHANGED
|
@@ -1,57 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
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 r from "react";
|
|
2
|
+
function c(e) {
|
|
3
|
+
const { week: o, ...t } = e;
|
|
4
|
+
return r.createElement("tr", { ...t });
|
|
53
5
|
}
|
|
54
6
|
export {
|
|
55
|
-
|
|
7
|
+
c as Week
|
|
56
8
|
};
|
|
57
9
|
//# sourceMappingURL=index123.js.map
|
package/dist/index123.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index123.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":"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","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index123.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Week.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a table row representing a week in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Week(props) {\n const { week, ...trProps } = props;\n return React.createElement(\"tr\", { ...trProps });\n}\n"],"names":["Week","props","week","trProps","React"],"mappings":";AAOO,SAASA,EAAKC,GAAO;AACxB,QAAM,EAAE,MAAAC,GAAM,GAAGC,EAAO,IAAKF;AAC7B,SAAOG,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAO,CAAE;AACnD;","x_google_ignoreList":[0]}
|
package/dist/index124.js
CHANGED
|
@@ -1,76 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { getDisplayMonths as E } from "./index224.js";
|
|
5
|
-
import { getInitialMonth as c } from "./index225.js";
|
|
6
|
-
import { getMonths as b } from "./index226.js";
|
|
7
|
-
import { getNavMonths as q } from "./index227.js";
|
|
8
|
-
import { getNextMonth as F } from "./index228.js";
|
|
9
|
-
import { getPreviousMonth as P } from "./index229.js";
|
|
10
|
-
import { getWeeks as V } from "./index230.js";
|
|
11
|
-
import { useControlledValue as Z } from "./index231.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 t from "react";
|
|
2
|
+
function a(e) {
|
|
3
|
+
return t.createElement("th", { ...e });
|
|
72
4
|
}
|
|
73
5
|
export {
|
|
74
|
-
|
|
6
|
+
a as Weekday
|
|
75
7
|
};
|
|
76
8
|
//# sourceMappingURL=index124.js.map
|
package/dist/index124.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index124.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index124.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Weekday.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a table header cell with the name of a weekday (e.g., \"Mo\", \"Tu\").\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekday(props) {\n return React.createElement(\"th\", { ...props });\n}\n"],"names":["Weekday","props","React"],"mappings":";AAOO,SAASA,EAAQC,GAAO;AAC3B,SAAOC,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAK,CAAE;AACjD;","x_google_ignoreList":[0]}
|
package/dist/index125.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import e from "react";
|
|
2
|
+
function a(t) {
|
|
3
|
+
return e.createElement(
|
|
4
|
+
"thead",
|
|
5
|
+
{ "aria-hidden": !0 },
|
|
6
|
+
e.createElement("tr", { ...t })
|
|
7
|
+
);
|
|
8
8
|
}
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
c as useDayPicker
|
|
10
|
+
a as Weekdays
|
|
12
11
|
};
|
|
13
12
|
//# sourceMappingURL=index125.js.map
|
package/dist/index125.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index125.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index125.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Weekdays.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the table row containing the weekday names.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weekdays(props) {\n return (React.createElement(\"thead\", { \"aria-hidden\": true },\n React.createElement(\"tr\", { ...props })));\n}\n"],"names":["Weekdays","props","React"],"mappings":";AAOO,SAASA,EAASC,GAAO;AAC5B,SAAQC,EAAM;AAAA,IAAc;AAAA,IAAS,EAAE,eAAe,GAAI;AAAA,IACtDA,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAK,CAAE;AAAA,EAAC;AAC/C;","x_google_ignoreList":[0]}
|
package/dist/index126.js
CHANGED
|
@@ -1,24 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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 r from "react";
|
|
2
|
+
function c(e) {
|
|
3
|
+
const { week: o, ...t } = e;
|
|
4
|
+
return r.createElement("th", { ...t });
|
|
20
5
|
}
|
|
21
6
|
export {
|
|
22
|
-
|
|
7
|
+
c as WeekNumber
|
|
23
8
|
};
|
|
24
9
|
//# sourceMappingURL=index126.js.map
|
package/dist/index126.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index126.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index126.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/WeekNumber.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a table cell displaying the number of the week.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumber(props) {\n const { week, ...thProps } = props;\n return React.createElement(\"th\", { ...thProps });\n}\n"],"names":["WeekNumber","props","week","thProps","React"],"mappings":";AAOO,SAASA,EAAWC,GAAO;AAC9B,QAAM,EAAE,MAAAC,GAAM,GAAGC,EAAO,IAAKF;AAC7B,SAAOG,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAO,CAAE;AACnD;","x_google_ignoreList":[0]}
|
package/dist/index127.js
CHANGED
|
@@ -1,20 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
function f(e, n) {
|
|
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 t from "react";
|
|
2
|
+
function a(e) {
|
|
3
|
+
return t.createElement("th", { ...e });
|
|
16
4
|
}
|
|
17
5
|
export {
|
|
18
|
-
|
|
6
|
+
a as WeekNumberHeader
|
|
19
7
|
};
|
|
20
8
|
//# sourceMappingURL=index127.js.map
|
package/dist/index127.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index127.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index127.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the header cell for the week numbers column.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function WeekNumberHeader(props) {\n return React.createElement(\"th\", { ...props });\n}\n"],"names":["WeekNumberHeader","props","React"],"mappings":";AAOO,SAASA,EAAiBC,GAAO;AACpC,SAAOC,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAK,CAAE;AACjD;","x_google_ignoreList":[0]}
|
package/dist/index128.js
CHANGED
|
@@ -1,27 +1,8 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
function n(o, f, u) {
|
|
5
|
-
return i(o, f);
|
|
6
|
-
}
|
|
7
|
-
function t(o, f, u) {
|
|
8
|
-
return typeof o == "boolean" || typeof o == "function" ? o : o instanceof Date ? n(o, f) : Array.isArray(o) ? o.map((r) => r instanceof Date ? n(r, f) : r) : e(o) ? {
|
|
9
|
-
...o,
|
|
10
|
-
from: o.from ? i(o.from, f) : o.from,
|
|
11
|
-
to: o.to ? i(o.to, f) : o.to
|
|
12
|
-
} : p(o) ? {
|
|
13
|
-
before: n(o.before, f),
|
|
14
|
-
after: n(o.after, f)
|
|
15
|
-
} : y(o) ? {
|
|
16
|
-
after: n(o.after, f)
|
|
17
|
-
} : D(o) ? {
|
|
18
|
-
before: n(o.before, f)
|
|
19
|
-
} : o;
|
|
20
|
-
}
|
|
21
|
-
function T(o, f, u) {
|
|
22
|
-
return o && (Array.isArray(o) ? o.map((r) => t(r, f)) : t(o, f));
|
|
1
|
+
import t from "react";
|
|
2
|
+
function o(e) {
|
|
3
|
+
return t.createElement("tbody", { ...e });
|
|
23
4
|
}
|
|
24
5
|
export {
|
|
25
|
-
|
|
6
|
+
o as Weeks
|
|
26
7
|
};
|
|
27
8
|
//# sourceMappingURL=index128.js.map
|
package/dist/index128.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index128.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index128.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Weeks.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the container for the weeks in the month grid.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Weeks(props) {\n return React.createElement(\"tbody\", { ...props });\n}\n"],"names":["Weeks","props","React"],"mappings":";AAOO,SAASA,EAAMC,GAAO;AACzB,SAAOC,EAAM,cAAc,SAAS,EAAE,GAAGD,EAAK,CAAE;AACpD;","x_google_ignoreList":[0]}
|
package/dist/index129.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const {
|
|
5
|
-
return
|
|
1
|
+
import r from "react";
|
|
2
|
+
import { useDayPicker as t } from "./index146.js";
|
|
3
|
+
function m(o) {
|
|
4
|
+
const { components: e } = t();
|
|
5
|
+
return r.createElement(e.Dropdown, { ...o });
|
|
6
6
|
}
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
m as YearsDropdown
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=index129.js.map
|
package/dist/index129.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index129.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index129.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/YearsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render a dropdown to navigate between years in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function YearsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n"],"names":["YearsDropdown","props","components","useDayPicker","React"],"mappings":";;AAQO,SAASA,EAAcC,GAAO;AACjC,QAAM,EAAE,YAAAC,EAAU,IAAKC,EAAY;AACnC,SAAOC,EAAM,cAAcF,EAAW,UAAU,EAAE,GAAGD,GAAO;AAChE;","x_google_ignoreList":[0]}
|
package/dist/index13.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as a } from "./
|
|
1
|
+
import { j as a } from "./index28.js";
|
|
2
2
|
import { useState as m, useRef as w, useEffect as u } from "react";
|
|
3
|
-
import { decode as y } from "./
|
|
3
|
+
import { decode as y } from "./index31.js";
|
|
4
4
|
const D = ({
|
|
5
5
|
src: o,
|
|
6
6
|
hash: n,
|
package/dist/index130.js
CHANGED
|
@@ -1,9 +1,149 @@
|
|
|
1
|
-
import { TZDate as
|
|
2
|
-
import "./
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { TZDate as a } from "./index205.js";
|
|
2
|
+
import "./index207.js";
|
|
3
|
+
import { endOfBroadcastWeek as f } from "./index212.js";
|
|
4
|
+
import { startOfBroadcastWeek as d } from "./index213.js";
|
|
5
|
+
import { enUS as m } from "./index153.js";
|
|
6
|
+
import { addDays as v } from "./index214.js";
|
|
7
|
+
import { addMonths as p } from "./index215.js";
|
|
8
|
+
import { addWeeks as O } from "./index216.js";
|
|
9
|
+
import { addYears as c } from "./index217.js";
|
|
10
|
+
import { differenceInCalendarDays as u } from "./index218.js";
|
|
11
|
+
import { differenceInCalendarMonths as l } from "./index219.js";
|
|
12
|
+
import { eachMonthOfInterval as M } from "./index220.js";
|
|
13
|
+
import { eachYearOfInterval as k } from "./index221.js";
|
|
14
|
+
import { endOfISOWeek as W } from "./index222.js";
|
|
15
|
+
import { endOfMonth as D } from "./index223.js";
|
|
16
|
+
import { endOfWeek as Y } from "./index224.js";
|
|
17
|
+
import { endOfYear as S } from "./index225.js";
|
|
18
|
+
import { getISOWeek as y } from "./index226.js";
|
|
19
|
+
import { getMonth as g } from "./index227.js";
|
|
20
|
+
import { getYear as I } from "./index228.js";
|
|
21
|
+
import { getWeek as w } from "./index229.js";
|
|
22
|
+
import { isAfter as B } from "./index230.js";
|
|
23
|
+
import { isBefore as L } from "./index231.js";
|
|
24
|
+
import { isDate as C } from "./index232.js";
|
|
25
|
+
import { isSameDay as z } from "./index233.js";
|
|
26
|
+
import { isSameMonth as Z } from "./index234.js";
|
|
27
|
+
import { isSameYear as b } from "./index235.js";
|
|
28
|
+
import { max as A } from "./index236.js";
|
|
29
|
+
import { min as F } from "./index237.js";
|
|
30
|
+
import { setMonth as N } from "./index238.js";
|
|
31
|
+
import { setYear as _ } from "./index239.js";
|
|
32
|
+
import { startOfDay as j } from "./index240.js";
|
|
33
|
+
import { startOfISOWeek as x } from "./index241.js";
|
|
34
|
+
import { startOfMonth as H } from "./index242.js";
|
|
35
|
+
import { startOfWeek as K } from "./index243.js";
|
|
36
|
+
import { startOfYear as T } from "./index244.js";
|
|
37
|
+
import { formatDate as U } from "./index245.js";
|
|
38
|
+
class n {
|
|
39
|
+
/**
|
|
40
|
+
* Creates an instance of `DateLib`.
|
|
41
|
+
*
|
|
42
|
+
* @param options Configuration options for the date library.
|
|
43
|
+
* @param overrides Custom overrides for the date library functions.
|
|
44
|
+
*/
|
|
45
|
+
constructor(t, i) {
|
|
46
|
+
this.Date = Date, this.today = () => this.overrides?.today ? this.overrides.today() : this.options.timeZone ? a.tz(this.options.timeZone) : new this.Date(), this.newDate = (r, e, s) => this.overrides?.newDate ? this.overrides.newDate(r, e, s) : this.options.timeZone ? new a(r, e, s, this.options.timeZone) : new Date(r, e, s), this.addDays = (r, e) => this.overrides?.addDays ? this.overrides.addDays(r, e) : v(r, e), this.addMonths = (r, e) => this.overrides?.addMonths ? this.overrides.addMonths(r, e) : p(r, e), this.addWeeks = (r, e) => this.overrides?.addWeeks ? this.overrides.addWeeks(r, e) : O(r, e), this.addYears = (r, e) => this.overrides?.addYears ? this.overrides.addYears(r, e) : c(r, e), this.differenceInCalendarDays = (r, e) => this.overrides?.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(r, e) : u(r, e), this.differenceInCalendarMonths = (r, e) => this.overrides?.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(r, e) : l(r, e), this.eachMonthOfInterval = (r) => this.overrides?.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(r) : M(r), this.eachYearOfInterval = (r) => {
|
|
47
|
+
const e = this.overrides?.eachYearOfInterval ? this.overrides.eachYearOfInterval(r) : k(r), s = new Set(e.map((h) => this.getYear(h)));
|
|
48
|
+
if (s.size === e.length)
|
|
49
|
+
return e;
|
|
50
|
+
const o = [];
|
|
51
|
+
return s.forEach((h) => {
|
|
52
|
+
o.push(new Date(h, 0, 1));
|
|
53
|
+
}), o;
|
|
54
|
+
}, this.endOfBroadcastWeek = (r) => this.overrides?.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(r) : f(r, this), this.endOfISOWeek = (r) => this.overrides?.endOfISOWeek ? this.overrides.endOfISOWeek(r) : W(r), this.endOfMonth = (r) => this.overrides?.endOfMonth ? this.overrides.endOfMonth(r) : D(r), this.endOfWeek = (r, e) => this.overrides?.endOfWeek ? this.overrides.endOfWeek(r, e) : Y(r, this.options), this.endOfYear = (r) => this.overrides?.endOfYear ? this.overrides.endOfYear(r) : S(r), this.format = (r, e, s) => {
|
|
55
|
+
const o = this.overrides?.format ? this.overrides.format(r, e, this.options) : U(r, e, this.options);
|
|
56
|
+
return this.options.numerals && this.options.numerals !== "latn" ? this.replaceDigits(o) : o;
|
|
57
|
+
}, this.getISOWeek = (r) => this.overrides?.getISOWeek ? this.overrides.getISOWeek(r) : y(r), this.getMonth = (r, e) => this.overrides?.getMonth ? this.overrides.getMonth(r, this.options) : g(r, this.options), this.getYear = (r, e) => this.overrides?.getYear ? this.overrides.getYear(r, this.options) : I(r, this.options), this.getWeek = (r, e) => this.overrides?.getWeek ? this.overrides.getWeek(r, this.options) : w(r, this.options), this.isAfter = (r, e) => this.overrides?.isAfter ? this.overrides.isAfter(r, e) : B(r, e), this.isBefore = (r, e) => this.overrides?.isBefore ? this.overrides.isBefore(r, e) : L(r, e), this.isDate = (r) => this.overrides?.isDate ? this.overrides.isDate(r) : C(r), this.isSameDay = (r, e) => this.overrides?.isSameDay ? this.overrides.isSameDay(r, e) : z(r, e), this.isSameMonth = (r, e) => this.overrides?.isSameMonth ? this.overrides.isSameMonth(r, e) : Z(r, e), this.isSameYear = (r, e) => this.overrides?.isSameYear ? this.overrides.isSameYear(r, e) : b(r, e), this.max = (r) => this.overrides?.max ? this.overrides.max(r) : A(r), this.min = (r) => this.overrides?.min ? this.overrides.min(r) : F(r), this.setMonth = (r, e) => this.overrides?.setMonth ? this.overrides.setMonth(r, e) : N(r, e), this.setYear = (r, e) => this.overrides?.setYear ? this.overrides.setYear(r, e) : _(r, e), this.startOfBroadcastWeek = (r, e) => this.overrides?.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(r, this) : d(r, this), this.startOfDay = (r) => this.overrides?.startOfDay ? this.overrides.startOfDay(r) : j(r), this.startOfISOWeek = (r) => this.overrides?.startOfISOWeek ? this.overrides.startOfISOWeek(r) : x(r), this.startOfMonth = (r) => this.overrides?.startOfMonth ? this.overrides.startOfMonth(r) : H(r), this.startOfWeek = (r, e) => this.overrides?.startOfWeek ? this.overrides.startOfWeek(r, this.options) : K(r, this.options), this.startOfYear = (r) => this.overrides?.startOfYear ? this.overrides.startOfYear(r) : T(r), this.options = { locale: m, ...t }, this.overrides = i;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Generates a mapping of Arabic digits (0-9) to the target numbering system
|
|
61
|
+
* digits.
|
|
62
|
+
*
|
|
63
|
+
* @since 9.5.0
|
|
64
|
+
* @returns A record mapping Arabic digits to the target numerals.
|
|
65
|
+
*/
|
|
66
|
+
getDigitMap() {
|
|
67
|
+
const { numerals: t = "latn" } = this.options, i = new Intl.NumberFormat("en-US", {
|
|
68
|
+
numberingSystem: t
|
|
69
|
+
}), r = {};
|
|
70
|
+
for (let e = 0; e < 10; e++)
|
|
71
|
+
r[e.toString()] = i.format(e);
|
|
72
|
+
return r;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Replaces Arabic digits in a string with the target numbering system digits.
|
|
76
|
+
*
|
|
77
|
+
* @since 9.5.0
|
|
78
|
+
* @param input The string containing Arabic digits.
|
|
79
|
+
* @returns The string with digits replaced.
|
|
80
|
+
*/
|
|
81
|
+
replaceDigits(t) {
|
|
82
|
+
const i = this.getDigitMap();
|
|
83
|
+
return t.replace(/\d/g, (r) => i[r] || r);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Formats a number using the configured numbering system.
|
|
87
|
+
*
|
|
88
|
+
* @since 9.5.0
|
|
89
|
+
* @param value The number to format.
|
|
90
|
+
* @returns The formatted number as a string.
|
|
91
|
+
*/
|
|
92
|
+
formatNumber(t) {
|
|
93
|
+
return this.replaceDigits(t.toString());
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Returns the preferred ordering for month and year labels for the current
|
|
97
|
+
* locale.
|
|
98
|
+
*/
|
|
99
|
+
getMonthYearOrder() {
|
|
100
|
+
const t = this.options.locale?.code;
|
|
101
|
+
return t && n.yearFirstLocales.has(t) ? "year-first" : "month-first";
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Formats the month/year pair respecting locale conventions.
|
|
105
|
+
*
|
|
106
|
+
* @since 9.11.0
|
|
107
|
+
*/
|
|
108
|
+
formatMonthYear(t) {
|
|
109
|
+
const { locale: i, timeZone: r, numerals: e } = this.options, s = i?.code;
|
|
110
|
+
if (s && n.yearFirstLocales.has(s))
|
|
111
|
+
try {
|
|
112
|
+
return new Intl.DateTimeFormat(s, {
|
|
113
|
+
month: "long",
|
|
114
|
+
year: "numeric",
|
|
115
|
+
timeZone: r,
|
|
116
|
+
numberingSystem: e
|
|
117
|
+
}).format(t);
|
|
118
|
+
} catch {
|
|
119
|
+
}
|
|
120
|
+
const o = this.getMonthYearOrder() === "year-first" ? "y LLLL" : "LLLL y";
|
|
121
|
+
return this.format(t, o);
|
|
122
|
+
}
|
|
5
123
|
}
|
|
124
|
+
n.yearFirstLocales = /* @__PURE__ */ new Set([
|
|
125
|
+
"eu",
|
|
126
|
+
"hu",
|
|
127
|
+
"ja",
|
|
128
|
+
"ja-Hira",
|
|
129
|
+
"ja-JP",
|
|
130
|
+
"ko",
|
|
131
|
+
"ko-KR",
|
|
132
|
+
"lt",
|
|
133
|
+
"lt-LT",
|
|
134
|
+
"lv",
|
|
135
|
+
"lv-LV",
|
|
136
|
+
"mn",
|
|
137
|
+
"mn-MN",
|
|
138
|
+
"zh",
|
|
139
|
+
"zh-CN",
|
|
140
|
+
"zh-HK",
|
|
141
|
+
"zh-TW"
|
|
142
|
+
]);
|
|
143
|
+
const Br = new n();
|
|
6
144
|
export {
|
|
7
|
-
|
|
145
|
+
n as DateLib,
|
|
146
|
+
Br as defaultDateLib,
|
|
147
|
+
m as defaultLocale
|
|
8
148
|
};
|
|
9
149
|
//# sourceMappingURL=index130.js.map
|