@rpcbase/ui 0.200.0 → 0.201.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/index100.js +5 -4
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +5 -52
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +7 -3
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +5 -4
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +4 -15
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +4 -5
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +6 -7
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +145 -16
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +39 -4
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +4 -4
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +7 -5
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +13 -5
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +13 -4
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +7 -4
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +31 -6
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +10 -24
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +10 -6
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +8 -4
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +13 -6
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +101 -5
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +20 -5
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +53 -5
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +72 -4
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +9 -8
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +20 -5
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +16 -4
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +23 -4
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +6 -6
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +5 -145
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +23 -39
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +35 -5
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +16 -8
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +6 -13
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +4 -13
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +4 -7
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +4 -31
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +4 -10
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +3 -10
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +6 -8
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +24 -14
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +7 -101
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +7 -20
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +5 -53
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +3 -72
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +3 -9
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +4 -20
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +3 -16
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +4 -23
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +3 -6
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +3 -5
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +3 -23
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +45 -33
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +47 -16
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +205 -6
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +22 -5
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +24 -4
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +399 -4
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +605 -4
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +5 -3
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +68 -6
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +2 -24
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +363 -7
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +261 -6
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +60 -5
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +46 -3
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +169 -3
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +108 -3
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +24 -3
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +8 -5
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +4 -3
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +5 -3
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +4 -3
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +464 -44
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +183 -44
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +100 -198
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +263 -22
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +9 -24
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +34 -391
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +4 -13
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +54 -150
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +8 -30
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +66 -9
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +17 -46
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +16 -11
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +4 -43
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +4 -94
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +6 -86
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +4 -105
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +7 -52
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +17 -11
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +5 -37
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +5 -8
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +13 -116
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +10 -17
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +14 -15
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +14 -3
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +5 -36
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +6 -20
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +7 -9
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +6 -8
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +9 -19
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +5 -28
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +5 -16
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +9 -605
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +5 -58
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +5 -8
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +4 -66
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +11 -19
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +10 -16
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +10 -5
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +11 -5
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +11 -6
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +10 -4
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +6 -6
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +6 -17
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +5 -5
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +6 -5
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +7 -13
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +5 -9
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +55 -14
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +16 -14
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +7 -5
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +10 -6
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -7
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +21 -6
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +10 -9
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +9 -5
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +9 -5
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +4 -9
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +5 -5
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +16 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +9 -4
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +18 -11
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +15 -10
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +12 -10
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +29 -11
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +12 -11
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +25 -10
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +5 -7
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +24 -6
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +29 -6
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +5 -7
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +67 -7
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +180 -6
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +43 -52
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +13 -16
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +154 -7
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +29 -9
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +9 -10
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +47 -20
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +11 -10
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +44 -9
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +95 -9
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +86 -4
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +105 -5
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +50 -14
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +11 -9
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +37 -18
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +8 -15
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +115 -11
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +17 -29
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +14 -11
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +3 -25
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +36 -5
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +20 -24
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +10 -29
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +9 -5
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +19 -20
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +26 -65
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +14 -178
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +4 -46
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +19 -5
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +13 -19
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +5 -13
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +3 -5
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +24 -3
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +111 -22
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +14 -111
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +523 -14
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +114 -511
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +117 -111
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +20 -133
- package/dist/index281.js.map +1 -1
- package/dist/index289.js +2 -2
- package/dist/index292.js +1 -1
- package/dist/index293.js +2 -2
- package/dist/index295.js +1 -1
- 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/index300.js +1 -1
- package/dist/index31.js +5 -5
- package/dist/index32.js +24 -24
- package/dist/index33.js +3 -3
- package/dist/index36.js +1 -1
- package/dist/index37.js +2 -2
- package/dist/index40.js +2 -2
- package/dist/index41.js +19 -19
- package/dist/index45.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index50.js +1 -1
- package/dist/index51.js +7 -2
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +34 -2
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +26 -5
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +7 -7
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +11 -5
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +205 -4
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +3 -6
- package/dist/index57.js.map +1 -1
- package/dist/index58.js +3 -3
- package/dist/index59.js +48 -24
- package/dist/index59.js.map +1 -1
- package/dist/index60.js +7 -50
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +14 -7
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +133 -14
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +10 -133
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +216 -10
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +12 -216
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +47 -13
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +49 -33
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +4 -47
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +5 -7
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +28 -50
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +49 -3
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +9 -6
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +2 -28
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +2 -50
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +2 -9
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +2 -12
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +6 -2
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +8 -2
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +6 -205
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +52 -6
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +4 -68
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +5 -2
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +15 -363
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +5 -261
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +7 -60
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +16 -46
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +4 -169
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +4 -109
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +5 -24
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +6 -8
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +4 -4
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +4 -5
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +6 -4
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +24 -466
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +6 -185
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +4 -107
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +6 -262
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +5 -9
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +4 -42
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
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/utils/typeguards.js"],"sourcesContent":["/**\n * Checks if the given value is of type {@link DateInterval}.\n *\n * @param matcher - The value to check.\n * @returns `true` if the value is a {@link DateInterval}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateInterval(matcher) {\n return Boolean(matcher &&\n typeof matcher === \"object\" &&\n \"before\" in matcher &&\n \"after\" in matcher);\n}\n/**\n * Checks if the given value is of type {@link DateRange}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateRange}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateRange(value) {\n return Boolean(value && typeof value === \"object\" && \"from\" in value);\n}\n/**\n * Checks if the given value is of type {@link DateAfter}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateAfter}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateAfterType(value) {\n return Boolean(value && typeof value === \"object\" && \"after\" in value);\n}\n/**\n * Checks if the given value is of type {@link DateBefore}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DateBefore}, otherwise `false`.\n * @group Utilities\n */\nexport function isDateBeforeType(value) {\n return Boolean(value && typeof value === \"object\" && \"before\" in value);\n}\n/**\n * Checks if the given value is of type {@link DayOfWeek}.\n *\n * @param value - The value to check.\n * @returns `true` if the value is a {@link DayOfWeek}, otherwise `false`.\n * @group Utilities\n */\nexport function isDayOfWeekType(value) {\n return Boolean(value && typeof value === \"object\" && \"dayOfWeek\" in value);\n}\n/**\n * Checks if the given value is an array of valid dates.\n *\n * @private\n * @param value - The value to check.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the value is an array of valid dates, otherwise `false`.\n */\nexport function isDatesArray(value, dateLib) {\n return Array.isArray(value) && value.every(dateLib.isDate);\n}\n"],"names":["isDateInterval","matcher","isDateRange","value","isDateAfterType","isDateBeforeType","isDayOfWeekType","isDatesArray","dateLib"],"mappings":"AAOO,SAASA,EAAeC,GAAS;AACpC,SAAO,GAAQA,KACX,OAAOA,KAAY,YACnB,YAAYA,KACZ,WAAWA;AACnB;AAQO,SAASC,EAAYC,GAAO;AAC/B,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,UAAUA;AACnE;AAQO,SAASC,EAAgBD,GAAO;AACnC,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,WAAWA;AACpE;AAQO,SAASE,EAAiBF,GAAO;AACpC,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,YAAYA;AACrE;AAQO,SAASG,EAAgBH,GAAO;AACnC,SAAO,GAAQA,KAAS,OAAOA,KAAU,YAAY,eAAeA;AACxE;AASO,SAASI,EAAaJ,GAAOK,GAAS;AACzC,SAAO,MAAM,QAAQL,CAAK,KAAKA,EAAM,MAAMK,EAAQ,MAAM;AAC7D;","x_google_ignoreList":[0]}
|
package/dist/index130.js
CHANGED
|
@@ -1,8 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { enUS as f } from "./index271.js";
|
|
2
|
+
import { formatDate as n } from "./index219.js";
|
|
3
|
+
const s = {
|
|
4
|
+
...f,
|
|
5
|
+
labels: {
|
|
6
|
+
labelDayButton: (a, r, o, e) => {
|
|
7
|
+
let t;
|
|
8
|
+
e && typeof e.format == "function" ? t = e.format.bind(e) : t = (m, c) => n(m, c, { locale: f, ...o });
|
|
9
|
+
let l = t(a, "PPPP");
|
|
10
|
+
return r.today && (l = `Today, ${l}`), r.selected && (l = `${l}, selected`), l;
|
|
11
|
+
},
|
|
12
|
+
labelMonthDropdown: "Choose the Month",
|
|
13
|
+
labelNext: "Go to the Next Month",
|
|
14
|
+
labelPrevious: "Go to the Previous Month",
|
|
15
|
+
labelWeekNumber: (a) => `Week ${a}`,
|
|
16
|
+
labelYearDropdown: "Choose the Year",
|
|
17
|
+
labelGrid: (a, r, o) => {
|
|
18
|
+
let e;
|
|
19
|
+
return o && typeof o.format == "function" ? e = o.format.bind(o) : e = (t, l) => n(t, l, { locale: f, ...r }), e(a, "LLLL yyyy");
|
|
20
|
+
},
|
|
21
|
+
labelGridcell: (a, r, o, e) => {
|
|
22
|
+
let t;
|
|
23
|
+
e && typeof e.format == "function" ? t = e.format.bind(e) : t = (m, c) => n(m, c, { locale: f, ...o });
|
|
24
|
+
let l = t(a, "PPPP");
|
|
25
|
+
return r?.today && (l = `Today, ${l}`), l;
|
|
26
|
+
},
|
|
27
|
+
labelNav: "Navigation bar",
|
|
28
|
+
labelWeekNumberHeader: "Week Number",
|
|
29
|
+
labelWeekday: (a, r, o) => {
|
|
30
|
+
let e;
|
|
31
|
+
return o && typeof o.format == "function" ? e = o.format.bind(o) : e = (t, l) => n(t, l, { locale: f, ...r }), e(a, "cccc");
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
5
35
|
export {
|
|
6
|
-
|
|
36
|
+
s as enUS
|
|
7
37
|
};
|
|
8
38
|
//# sourceMappingURL=index130.js.map
|
package/dist/index130.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index130.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index130.js","sources":["../../../node_modules/react-day-picker/dist/esm/locale/en-US.js"],"sourcesContent":["import { format } from \"date-fns\";\nimport { enUS as dateFnsEnUS } from \"date-fns/locale\";\n/** English (United States) locale extended with DayPicker-specific translations. */\nexport const enUS = {\n ...dateFnsEnUS,\n labels: {\n labelDayButton: (date, modifiers, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n let label = formatDate(date, \"PPPP\");\n if (modifiers.today)\n label = `Today, ${label}`;\n if (modifiers.selected)\n label = `${label}, selected`;\n return label;\n },\n labelMonthDropdown: \"Choose the Month\",\n labelNext: \"Go to the Next Month\",\n labelPrevious: \"Go to the Previous Month\",\n labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,\n labelYearDropdown: \"Choose the Year\",\n labelGrid: (date, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n return formatDate(date, \"LLLL yyyy\");\n },\n labelGridcell: (date, modifiers, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n let label = formatDate(date, \"PPPP\");\n if (modifiers?.today) {\n label = `Today, ${label}`;\n }\n return label;\n },\n labelNav: \"Navigation bar\",\n labelWeekNumberHeader: \"Week Number\",\n labelWeekday: (date, options, dateLib) => {\n let formatDate;\n if (dateLib && typeof dateLib.format === \"function\") {\n formatDate = dateLib.format.bind(dateLib);\n }\n else {\n formatDate = (d, pattern) => format(d, pattern, { locale: dateFnsEnUS, ...options });\n }\n return formatDate(date, \"cccc\");\n },\n },\n};\n"],"names":["enUS","dateFnsEnUS","date","modifiers","options","dateLib","formatDate","d","pattern","format","label","weekNumber"],"mappings":";;AAGY,MAACA,IAAO;AAAA,EAChB,GAAGC;AAAAA,EACH,QAAQ;AAAA,IACJ,gBAAgB,CAACC,GAAMC,GAAWC,GAASC,MAAY;AACnD,UAAIC;AACJ,MAAID,KAAW,OAAOA,EAAQ,UAAW,aACrCC,IAAaD,EAAQ,OAAO,KAAKA,CAAO,IAGxCC,IAAa,CAACC,GAAGC,MAAYC,EAAOF,GAAGC,GAAS,EAAE,QAAQP,GAAa,GAAGG,EAAO,CAAE;AAEvF,UAAIM,IAAQJ,EAAWJ,GAAM,MAAM;AACnC,aAAIC,EAAU,UACVO,IAAQ,UAAUA,CAAK,KACvBP,EAAU,aACVO,IAAQ,GAAGA,CAAK,eACbA;AAAA,IACX;AAAA,IACA,oBAAoB;AAAA,IACpB,WAAW;AAAA,IACX,eAAe;AAAA,IACf,iBAAiB,CAACC,MAAe,QAAQA,CAAU;AAAA,IACnD,mBAAmB;AAAA,IACnB,WAAW,CAACT,GAAME,GAASC,MAAY;AACnC,UAAIC;AACJ,aAAID,KAAW,OAAOA,EAAQ,UAAW,aACrCC,IAAaD,EAAQ,OAAO,KAAKA,CAAO,IAGxCC,IAAa,CAACC,GAAGC,MAAYC,EAAOF,GAAGC,GAAS,EAAE,QAAQP,GAAa,GAAGG,EAAO,CAAE,GAEhFE,EAAWJ,GAAM,WAAW;AAAA,IACvC;AAAA,IACA,eAAe,CAACA,GAAMC,GAAWC,GAASC,MAAY;AAClD,UAAIC;AACJ,MAAID,KAAW,OAAOA,EAAQ,UAAW,aACrCC,IAAaD,EAAQ,OAAO,KAAKA,CAAO,IAGxCC,IAAa,CAACC,GAAGC,MAAYC,EAAOF,GAAGC,GAAS,EAAE,QAAQP,GAAa,GAAGG,EAAO,CAAE;AAEvF,UAAIM,IAAQJ,EAAWJ,GAAM,MAAM;AACnC,aAAIC,GAAW,UACXO,IAAQ,UAAUA,CAAK,KAEpBA;AAAA,IACX;AAAA,IACA,UAAU;AAAA,IACV,uBAAuB;AAAA,IACvB,cAAc,CAACR,GAAME,GAASC,MAAY;AACtC,UAAIC;AACJ,aAAID,KAAW,OAAOA,EAAQ,UAAW,aACrCC,IAAaD,EAAQ,OAAO,KAAKA,CAAO,IAGxCC,IAAa,CAACC,GAAGC,MAAYC,EAAOF,GAAGC,GAAS,EAAE,QAAQP,GAAa,GAAGG,EAAO,CAAE,GAEhFE,EAAWJ,GAAM,MAAM;AAAA,IAClC;AAAA,EACR;AACA;","x_google_ignoreList":[0]}
|
package/dist/index131.js
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
import { formatCaption as t, formatMonthCaption as e } from "./index132.js";
|
|
2
|
+
import { formatDay as a } from "./index133.js";
|
|
3
|
+
import { formatMonthDropdown as p } from "./index134.js";
|
|
4
|
+
import { formatWeekdayName as x } from "./index135.js";
|
|
5
|
+
import { formatWeekNumber as i } from "./index136.js";
|
|
6
|
+
import { formatWeekNumberHeader as C } from "./index137.js";
|
|
7
|
+
import { formatYearCaption as N, formatYearDropdown as W } from "./index138.js";
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
t as formatCaption,
|
|
10
|
+
a as formatDay,
|
|
11
|
+
e as formatMonthCaption,
|
|
12
|
+
p as formatMonthDropdown,
|
|
13
|
+
i as formatWeekNumber,
|
|
14
|
+
C as formatWeekNumberHeader,
|
|
15
|
+
x as formatWeekdayName,
|
|
16
|
+
N as formatYearCaption,
|
|
17
|
+
W as formatYearDropdown
|
|
10
18
|
};
|
|
11
19
|
//# sourceMappingURL=index131.js.map
|
package/dist/index131.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index131.js","sources":[
|
|
1
|
+
{"version":3,"file":"index131.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
package/dist/index132.js
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"data-required": "required" in e ? e.required : void 0,
|
|
5
|
-
"data-multiple-months": e.numberOfMonths && e.numberOfMonths > 1 || void 0,
|
|
6
|
-
"data-week-numbers": e.showWeekNumber || void 0,
|
|
7
|
-
"data-broadcast-calendar": e.broadcastCalendar || void 0,
|
|
8
|
-
"data-nav-layout": e.navLayout || void 0
|
|
9
|
-
};
|
|
10
|
-
return Object.entries(e).forEach(([a, d]) => {
|
|
11
|
-
a.startsWith("data-") && (t[a] = d);
|
|
12
|
-
}), t;
|
|
1
|
+
import { DateLib as r } from "./index107.js";
|
|
2
|
+
function a(t, o, n) {
|
|
3
|
+
return (n ?? new r(o)).formatMonthYear(t);
|
|
13
4
|
}
|
|
5
|
+
const f = a;
|
|
14
6
|
export {
|
|
15
|
-
|
|
7
|
+
a as formatCaption,
|
|
8
|
+
f as formatMonthCaption
|
|
16
9
|
};
|
|
17
10
|
//# sourceMappingURL=index132.js.map
|
package/dist/index132.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index132.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index132.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatCaption.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the caption of the month.\n *\n * @defaultValue Locale-specific month/year order (e.g., \"November 2022\").\n * @param month The date representing the month.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted caption as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatCaption(month, options, dateLib) {\n const lib = dateLib ?? new DateLib(options);\n return lib.formatMonthYear(month);\n}\n/**\n * @private\n * @deprecated Use {@link formatCaption} instead.\n * @group Formatters\n */\nexport const formatMonthCaption = formatCaption;\n"],"names":["formatCaption","month","options","dateLib","DateLib","formatMonthCaption"],"mappings":";AAaO,SAASA,EAAcC,GAAOC,GAASC,GAAS;AAEnD,UADYA,KAAW,IAAIC,EAAQF,CAAO,GAC/B,gBAAgBD,CAAK;AACpC;AAMY,MAACI,IAAqBL;","x_google_ignoreList":[0]}
|
package/dist/index133.js
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
for (const n in t)
|
|
5
|
-
o[t[n]] = `rdp-${t[n]}`;
|
|
6
|
-
for (const n in e)
|
|
7
|
-
o[e[n]] = `rdp-${e[n]}`;
|
|
8
|
-
for (const n in r)
|
|
9
|
-
o[r[n]] = `rdp-${r[n]}`;
|
|
10
|
-
for (const n in s)
|
|
11
|
-
o[s[n]] = `rdp-${s[n]}`;
|
|
12
|
-
return o;
|
|
1
|
+
import { DateLib as a } from "./index107.js";
|
|
2
|
+
function f(r, t, o) {
|
|
3
|
+
return (o ?? new a(t)).format(r, "d");
|
|
13
4
|
}
|
|
14
5
|
export {
|
|
15
|
-
|
|
6
|
+
f as formatDay
|
|
16
7
|
};
|
|
17
8
|
//# sourceMappingURL=index133.js.map
|
package/dist/index133.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index133.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index133.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatDay.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the day date shown in the day cell.\n *\n * @defaultValue `d` (e.g., \"1\").\n * @param date The date to format.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted day as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatDay(date, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(date, \"d\");\n}\n"],"names":["formatDay","date","options","dateLib","DateLib"],"mappings":";AAaO,SAASA,EAAUC,GAAMC,GAASC,GAAS;AAC9C,UAAQA,KAAW,IAAIC,EAAQF,CAAO,GAAG,OAAOD,GAAM,GAAG;AAC7D;","x_google_ignoreList":[0]}
|
package/dist/index134.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
return
|
|
4
|
-
...a,
|
|
5
|
-
...n
|
|
6
|
-
};
|
|
1
|
+
import { defaultDateLib as r } from "./index107.js";
|
|
2
|
+
function n(o, t = r) {
|
|
3
|
+
return t.format(o, "LLLL");
|
|
7
4
|
}
|
|
8
5
|
export {
|
|
9
|
-
|
|
6
|
+
n as formatMonthDropdown
|
|
10
7
|
};
|
|
11
8
|
//# sourceMappingURL=index134.js.map
|
package/dist/index134.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index134.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index134.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the month for the dropdown option label.\n *\n * @defaultValue The localized full month name.\n * @param month The date representing the month.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted month name as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatMonthDropdown(month, dateLib = defaultDateLib) {\n return dateLib.format(month, \"LLLL\");\n}\n"],"names":["formatMonthDropdown","month","dateLib","defaultDateLib"],"mappings":";AAYO,SAASA,EAAoBC,GAAOC,IAAUC,GAAgB;AACjE,SAAOD,EAAQ,OAAOD,GAAO,MAAM;AACvC;","x_google_ignoreList":[0]}
|
package/dist/index135.js
CHANGED
|
@@ -1,35 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { labelNav as n } from "./index165.js";
|
|
5
|
-
import { labelGridcell as t } from "./index163.js";
|
|
6
|
-
import { labelGrid as d } from "./index162.js";
|
|
7
|
-
import { labelYearDropdown as p } from "./index171.js";
|
|
8
|
-
import { labelWeekNumber as m } from "./index169.js";
|
|
9
|
-
import { labelPrevious as f } from "./index167.js";
|
|
10
|
-
import { labelNext as N } from "./index166.js";
|
|
11
|
-
import { labelMonthDropdown as k } from "./index164.js";
|
|
12
|
-
import { labelDayButton as D } from "./index161.js";
|
|
13
|
-
const r = (l, a, e) => a || (e ? typeof e == "function" ? e : (...W) => e : l);
|
|
14
|
-
function Y(l, a) {
|
|
15
|
-
const e = a.locale?.labels ?? {};
|
|
16
|
-
return {
|
|
17
|
-
...o,
|
|
18
|
-
...l ?? {},
|
|
19
|
-
labelDayButton: r(D, l?.labelDayButton, e.labelDayButton),
|
|
20
|
-
labelMonthDropdown: r(k, l?.labelMonthDropdown, e.labelMonthDropdown),
|
|
21
|
-
labelNext: r(N, l?.labelNext, e.labelNext),
|
|
22
|
-
labelPrevious: r(f, l?.labelPrevious, e.labelPrevious),
|
|
23
|
-
labelWeekNumber: r(m, l?.labelWeekNumber, e.labelWeekNumber),
|
|
24
|
-
labelYearDropdown: r(p, l?.labelYearDropdown, e.labelYearDropdown),
|
|
25
|
-
labelGrid: r(d, l?.labelGrid, e.labelGrid),
|
|
26
|
-
labelGridcell: r(t, l?.labelGridcell, e.labelGridcell),
|
|
27
|
-
labelNav: r(n, l?.labelNav, e.labelNav),
|
|
28
|
-
labelWeekNumberHeader: r(i, l?.labelWeekNumberHeader, e.labelWeekNumberHeader),
|
|
29
|
-
labelWeekday: r(b, l?.labelWeekday, e.labelWeekday)
|
|
30
|
-
};
|
|
1
|
+
import { DateLib as t } from "./index107.js";
|
|
2
|
+
function a(c, e, r) {
|
|
3
|
+
return (r ?? new t(e)).format(c, "cccccc");
|
|
31
4
|
}
|
|
32
5
|
export {
|
|
33
|
-
|
|
6
|
+
a as formatWeekdayName
|
|
34
7
|
};
|
|
35
8
|
//# sourceMappingURL=index135.js.map
|
package/dist/index135.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index135.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index135.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the name of a weekday to be displayed in the weekdays header.\n *\n * @defaultValue `cccccc` (e.g., \"Mo\" for Monday).\n * @param weekday The date representing the weekday.\n * @param options Configuration options for the date library.\n * @param dateLib The date library to use for formatting. If not provided, a new\n * instance is created.\n * @returns The formatted weekday name as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekdayName(weekday, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(weekday, \"cccccc\");\n}\n"],"names":["formatWeekdayName","weekday","options","dateLib","DateLib"],"mappings":";AAaO,SAASA,EAAkBC,GAASC,GAASC,GAAS;AACzD,UAAQA,KAAW,IAAIC,EAAQF,CAAO,GAAG,OAAOD,GAAS,QAAQ;AACrE;","x_google_ignoreList":[0]}
|
package/dist/index136.js
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
return
|
|
4
|
-
start: c(o),
|
|
5
|
-
end: f(o)
|
|
6
|
-
}).map((t) => {
|
|
7
|
-
const O = a.formatMonthDropdown(t, e), h = p(t), u = n && t < r(n) || s && t > r(s) || !1;
|
|
8
|
-
return { value: h, label: O, disabled: u };
|
|
9
|
-
});
|
|
1
|
+
import { defaultDateLib as o } from "./index107.js";
|
|
2
|
+
function a(r, t = o) {
|
|
3
|
+
return r < 10 ? t.formatNumber(`0${r.toLocaleString()}`) : t.formatNumber(`${r.toLocaleString()}`);
|
|
10
4
|
}
|
|
11
5
|
export {
|
|
12
|
-
|
|
6
|
+
a as formatWeekNumber
|
|
13
7
|
};
|
|
14
8
|
//# sourceMappingURL=index136.js.map
|
package/dist/index136.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index136.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index136.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the week number.\n *\n * @defaultValue The week number as a string, with a leading zero for single-digit numbers.\n * @param weekNumber The week number to format.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted week number as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekNumber(weekNumber, dateLib = defaultDateLib) {\n if (weekNumber < 10) {\n return dateLib.formatNumber(`0${weekNumber.toLocaleString()}`);\n }\n return dateLib.formatNumber(`${weekNumber.toLocaleString()}`);\n}\n"],"names":["formatWeekNumber","weekNumber","dateLib","defaultDateLib"],"mappings":";AAYO,SAASA,EAAiBC,GAAYC,IAAUC,GAAgB;AACnE,SAAIF,IAAa,KACNC,EAAQ,aAAa,IAAID,EAAW,eAAc,CAAE,EAAE,IAE1DC,EAAQ,aAAa,GAAGD,EAAW,eAAc,CAAE,EAAE;AAChE;","x_google_ignoreList":[0]}
|
package/dist/index137.js
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
let e = { ...o?.[f.Day] };
|
|
4
|
-
return Object.entries(r).filter(([, t]) => t === !0).forEach(([t]) => {
|
|
5
|
-
e = {
|
|
6
|
-
...e,
|
|
7
|
-
...i?.[t]
|
|
8
|
-
};
|
|
9
|
-
}), e;
|
|
1
|
+
function e() {
|
|
2
|
+
return "";
|
|
10
3
|
}
|
|
11
4
|
export {
|
|
12
|
-
|
|
5
|
+
e as formatWeekNumberHeader
|
|
13
6
|
};
|
|
14
7
|
//# sourceMappingURL=index137.js.map
|
package/dist/index137.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index137.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index137.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js"],"sourcesContent":["/**\n * Formats the header for the week number column.\n *\n * @defaultValue An empty string `\"\"`.\n * @returns The formatted week number header as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatWeekNumberHeader() {\n return ``;\n}\n"],"names":["formatWeekNumberHeader"],"mappings":"AAQO,SAASA,IAAyB;AACrC,SAAO;AACX;","x_google_ignoreList":[0]}
|
package/dist/index138.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const f = t.addDays(c, e);
|
|
5
|
-
r.push(f);
|
|
6
|
-
}
|
|
7
|
-
return r;
|
|
1
|
+
import { defaultDateLib as t } from "./index107.js";
|
|
2
|
+
function a(o, r = t) {
|
|
3
|
+
return r.format(o, "yyyy");
|
|
8
4
|
}
|
|
5
|
+
const f = a;
|
|
9
6
|
export {
|
|
10
|
-
|
|
7
|
+
f as formatYearCaption,
|
|
8
|
+
a as formatYearDropdown
|
|
11
9
|
};
|
|
12
10
|
//# sourceMappingURL=index138.js.map
|
package/dist/index138.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index138.js","sources":["../../../node_modules/react-day-picker/dist/esm/
|
|
1
|
+
{"version":3,"file":"index138.js","sources":["../../../node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\n/**\n * Formats the year for the dropdown option label.\n *\n * @param year The year to format.\n * @param dateLib The date library to use for formatting. Defaults to\n * `defaultDateLib`.\n * @returns The formatted year as a string.\n * @group Formatters\n * @see https://daypicker.dev/docs/translation#custom-formatters\n */\nexport function formatYearDropdown(year, dateLib = defaultDateLib) {\n return dateLib.format(year, \"yyyy\");\n}\n/**\n * @private\n * @deprecated Use `formatYearDropdown` instead.\n * @group Formatters\n */\nexport const formatYearCaption = formatYearDropdown;\n"],"names":["formatYearDropdown","year","dateLib","defaultDateLib","formatYearCaption"],"mappings":";AAWO,SAASA,EAAmBC,GAAMC,IAAUC,GAAgB;AAC/D,SAAOD,EAAQ,OAAOD,GAAM,MAAM;AACtC;AAMY,MAACG,IAAoBJ;","x_google_ignoreList":[0]}
|
package/dist/index139.js
CHANGED
|
@@ -1,17 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
});
|
|
13
|
-
}
|
|
1
|
+
import { labelDay as o, labelDayButton as l } from "./index140.js";
|
|
2
|
+
import { labelCaption as t, labelGrid as b } from "./index141.js";
|
|
3
|
+
import { labelGridcell as m } from "./index142.js";
|
|
4
|
+
import { labelMonthDropdown as f } from "./index143.js";
|
|
5
|
+
import { labelNav as n } from "./index144.js";
|
|
6
|
+
import { labelNext as u } from "./index145.js";
|
|
7
|
+
import { labelPrevious as N } from "./index146.js";
|
|
8
|
+
import { labelWeekday as y } from "./index147.js";
|
|
9
|
+
import { labelWeekNumber as v } from "./index148.js";
|
|
10
|
+
import { labelWeekNumberHeader as G } from "./index149.js";
|
|
11
|
+
import { labelYearDropdown as h } from "./index150.js";
|
|
14
12
|
export {
|
|
15
|
-
|
|
13
|
+
t as labelCaption,
|
|
14
|
+
o as labelDay,
|
|
15
|
+
l as labelDayButton,
|
|
16
|
+
b as labelGrid,
|
|
17
|
+
m as labelGridcell,
|
|
18
|
+
f as labelMonthDropdown,
|
|
19
|
+
n as labelNav,
|
|
20
|
+
u as labelNext,
|
|
21
|
+
N as labelPrevious,
|
|
22
|
+
v as labelWeekNumber,
|
|
23
|
+
G as labelWeekNumberHeader,
|
|
24
|
+
y as labelWeekday,
|
|
25
|
+
h as labelYearDropdown
|
|
16
26
|
};
|
|
17
27
|
//# sourceMappingURL=index139.js.map
|
package/dist/index139.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index139.js","sources":[
|
|
1
|
+
{"version":3,"file":"index139.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/index140.js
CHANGED
|
@@ -1,105 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { getISOWeek as k } from "./index225.js";
|
|
6
|
-
import { getWeek as w } from "./index228.js";
|
|
7
|
-
function W(o, D = {}) {
|
|
8
|
-
const { weekStartsOn: d, locale: g } = D, l = d ?? g?.options?.weekStartsOn ?? 0, r = (t) => {
|
|
9
|
-
const e = typeof t == "number" || typeof t == "string" ? new Date(t) : t;
|
|
10
|
-
return new c(e.getFullYear(), e.getMonth(), e.getDate(), 12, 0, 0, o);
|
|
11
|
-
}, u = (t) => {
|
|
12
|
-
const e = r(t);
|
|
13
|
-
return new Date(e.getFullYear(), e.getMonth(), e.getDate(), 0, 0, 0, 0);
|
|
14
|
-
};
|
|
15
|
-
return {
|
|
16
|
-
today: () => r(c.tz(o)),
|
|
17
|
-
newDate: (t, e, n) => new c(t, e, n, 12, 0, 0, o),
|
|
18
|
-
startOfDay: (t) => r(t),
|
|
19
|
-
startOfWeek: (t, e) => {
|
|
20
|
-
const n = r(t), a = e?.weekStartsOn ?? l, s = (n.getDay() - a + 7) % 7;
|
|
21
|
-
return n.setDate(n.getDate() - s), n;
|
|
22
|
-
},
|
|
23
|
-
startOfISOWeek: (t) => {
|
|
24
|
-
const e = r(t), n = (e.getDay() - 1 + 7) % 7;
|
|
25
|
-
return e.setDate(e.getDate() - n), e;
|
|
26
|
-
},
|
|
27
|
-
startOfMonth: (t) => {
|
|
28
|
-
const e = r(t);
|
|
29
|
-
return e.setDate(1), e;
|
|
30
|
-
},
|
|
31
|
-
startOfYear: (t) => {
|
|
32
|
-
const e = r(t);
|
|
33
|
-
return e.setMonth(0, 1), e;
|
|
34
|
-
},
|
|
35
|
-
endOfWeek: (t, e) => {
|
|
36
|
-
const n = r(t), f = (((e?.weekStartsOn ?? l) + 6) % 7 - n.getDay() + 7) % 7;
|
|
37
|
-
return n.setDate(n.getDate() + f), n;
|
|
38
|
-
},
|
|
39
|
-
endOfISOWeek: (t) => {
|
|
40
|
-
const e = r(t), n = (7 - e.getDay()) % 7;
|
|
41
|
-
return e.setDate(e.getDate() + n), e;
|
|
42
|
-
},
|
|
43
|
-
endOfMonth: (t) => {
|
|
44
|
-
const e = r(t);
|
|
45
|
-
return e.setMonth(e.getMonth() + 1, 0), e;
|
|
46
|
-
},
|
|
47
|
-
endOfYear: (t) => {
|
|
48
|
-
const e = r(t);
|
|
49
|
-
return e.setMonth(11, 31), e;
|
|
50
|
-
},
|
|
51
|
-
eachMonthOfInterval: (t) => {
|
|
52
|
-
const e = r(t.start), n = r(t.end), a = [], s = new c(e.getFullYear(), e.getMonth(), 1, 12, 0, 0, o), f = n.getFullYear() * 12 + n.getMonth();
|
|
53
|
-
for (; s.getFullYear() * 12 + s.getMonth() <= f; )
|
|
54
|
-
a.push(new c(s, o)), s.setMonth(s.getMonth() + 1, 1);
|
|
55
|
-
return a;
|
|
56
|
-
},
|
|
57
|
-
// Normalize to noon once before arithmetic (avoid DST/midnight edge cases),
|
|
58
|
-
// mutate the same TZDate, and return it.
|
|
59
|
-
addDays: (t, e) => {
|
|
60
|
-
const n = r(t);
|
|
61
|
-
return n.setDate(n.getDate() + e), n;
|
|
62
|
-
},
|
|
63
|
-
addWeeks: (t, e) => {
|
|
64
|
-
const n = r(t);
|
|
65
|
-
return n.setDate(n.getDate() + e * 7), n;
|
|
66
|
-
},
|
|
67
|
-
addMonths: (t, e) => {
|
|
68
|
-
const n = r(t);
|
|
69
|
-
return n.setMonth(n.getMonth() + e), n;
|
|
70
|
-
},
|
|
71
|
-
addYears: (t, e) => {
|
|
72
|
-
const n = r(t);
|
|
73
|
-
return n.setFullYear(n.getFullYear() + e), n;
|
|
74
|
-
},
|
|
75
|
-
eachYearOfInterval: (t) => {
|
|
76
|
-
const e = r(t.start), n = r(t.end), a = [], s = new c(e.getFullYear(), 0, 1, 12, 0, 0, o);
|
|
77
|
-
for (; s.getFullYear() <= n.getFullYear(); )
|
|
78
|
-
a.push(new c(s, o)), s.setFullYear(s.getFullYear() + 1, 0, 1);
|
|
79
|
-
return a;
|
|
80
|
-
},
|
|
81
|
-
getWeek: (t, e) => {
|
|
82
|
-
const n = u(t);
|
|
83
|
-
return w(n, {
|
|
84
|
-
weekStartsOn: e?.weekStartsOn ?? l,
|
|
85
|
-
firstWeekContainsDate: e?.firstWeekContainsDate ?? g?.options?.firstWeekContainsDate ?? 1
|
|
86
|
-
});
|
|
87
|
-
},
|
|
88
|
-
getISOWeek: (t) => {
|
|
89
|
-
const e = u(t);
|
|
90
|
-
return k(e);
|
|
91
|
-
},
|
|
92
|
-
differenceInCalendarDays: (t, e) => {
|
|
93
|
-
const n = u(t), a = u(e);
|
|
94
|
-
return O(n, a);
|
|
95
|
-
},
|
|
96
|
-
differenceInCalendarMonths: (t, e) => {
|
|
97
|
-
const n = u(t), a = u(e);
|
|
98
|
-
return h(n, a);
|
|
99
|
-
}
|
|
100
|
-
};
|
|
1
|
+
import { DateLib as n } from "./index107.js";
|
|
2
|
+
function r(a, t, l, o) {
|
|
3
|
+
let e = (o ?? new n(l)).format(a, "PPPP");
|
|
4
|
+
return t.today && (e = `Today, ${e}`), t.selected && (e = `${e}, selected`), e;
|
|
101
5
|
}
|
|
6
|
+
const c = r;
|
|
102
7
|
export {
|
|
103
|
-
|
|
8
|
+
c as labelDay,
|
|
9
|
+
r as labelDayButton
|
|
104
10
|
};
|
|
105
11
|
//# sourceMappingURL=index140.js.map
|