@rpcbase/ui 0.192.0 → 0.193.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.
Files changed (234) hide show
  1. package/dist/index100.js +3 -4
  2. package/dist/index100.js.map +1 -1
  3. package/dist/index101.js +5 -4
  4. package/dist/index101.js.map +1 -1
  5. package/dist/index102.js +4 -8
  6. package/dist/index102.js.map +1 -1
  7. package/dist/index103.js +8 -5
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js +5 -4
  10. package/dist/index104.js.map +1 -1
  11. package/dist/index105.js +3 -3
  12. package/dist/index105.js.map +1 -1
  13. package/dist/index106.js +4 -6
  14. package/dist/index106.js.map +1 -1
  15. package/dist/index107.js +6 -145
  16. package/dist/index107.js.map +1 -1
  17. package/dist/index108.js +144 -38
  18. package/dist/index108.js.map +1 -1
  19. package/dist/index109.js +39 -4
  20. package/dist/index109.js.map +1 -1
  21. package/dist/index110.js +4 -7
  22. package/dist/index110.js.map +1 -1
  23. package/dist/index111.js +6 -12
  24. package/dist/index111.js.map +1 -1
  25. package/dist/index112.js +13 -13
  26. package/dist/index112.js.map +1 -1
  27. package/dist/index113.js +13 -7
  28. package/dist/index113.js.map +1 -1
  29. package/dist/index114.js +6 -30
  30. package/dist/index114.js.map +1 -1
  31. package/dist/index115.js +31 -10
  32. package/dist/index115.js.map +1 -1
  33. package/dist/index116.js +10 -10
  34. package/dist/index116.js.map +1 -1
  35. package/dist/index117.js +10 -8
  36. package/dist/index117.js.map +1 -1
  37. package/dist/index118.js +8 -13
  38. package/dist/index118.js.map +1 -1
  39. package/dist/index119.js +13 -101
  40. package/dist/index119.js.map +1 -1
  41. package/dist/index120.js +102 -20
  42. package/dist/index120.js.map +1 -1
  43. package/dist/index121.js +20 -54
  44. package/dist/index121.js.map +1 -1
  45. package/dist/index122.js +51 -70
  46. package/dist/index122.js.map +1 -1
  47. package/dist/index123.js +72 -9
  48. package/dist/index123.js.map +1 -1
  49. package/dist/index124.js +9 -20
  50. package/dist/index124.js.map +1 -1
  51. package/dist/index125.js +20 -16
  52. package/dist/index125.js.map +1 -1
  53. package/dist/index126.js +16 -23
  54. package/dist/index126.js.map +1 -1
  55. package/dist/index127.js +23 -6
  56. package/dist/index127.js.map +1 -1
  57. package/dist/index128.js +6 -5
  58. package/dist/index128.js.map +1 -1
  59. package/dist/index129.js +5 -23
  60. package/dist/index129.js.map +1 -1
  61. package/dist/index130.js +24 -35
  62. package/dist/index130.js.map +1 -1
  63. package/dist/index131.js +35 -16
  64. package/dist/index131.js.map +1 -1
  65. package/dist/index132.js +16 -7
  66. package/dist/index132.js.map +1 -1
  67. package/dist/index133.js +6 -4
  68. package/dist/index133.js.map +1 -1
  69. package/dist/index134.js +4 -4
  70. package/dist/index134.js.map +1 -1
  71. package/dist/index135.js +4 -4
  72. package/dist/index135.js.map +1 -1
  73. package/dist/index136.js +4 -4
  74. package/dist/index136.js.map +1 -1
  75. package/dist/index137.js +4 -3
  76. package/dist/index137.js.map +1 -1
  77. package/dist/index138.js +3 -6
  78. package/dist/index138.js.map +1 -1
  79. package/dist/index139.js +7 -24
  80. package/dist/index139.js.map +1 -1
  81. package/dist/index140.js +24 -8
  82. package/dist/index140.js.map +1 -1
  83. package/dist/index141.js +7 -6
  84. package/dist/index141.js.map +1 -1
  85. package/dist/index142.js +6 -5
  86. package/dist/index142.js.map +1 -1
  87. package/dist/index143.js +5 -3
  88. package/dist/index143.js.map +1 -1
  89. package/dist/index144.js +3 -3
  90. package/dist/index144.js.map +1 -1
  91. package/dist/index145.js +3 -4
  92. package/dist/index145.js.map +1 -1
  93. package/dist/index146.js +4 -3
  94. package/dist/index146.js.map +1 -1
  95. package/dist/index147.js +3 -4
  96. package/dist/index147.js.map +1 -1
  97. package/dist/index148.js +4 -3
  98. package/dist/index148.js.map +1 -1
  99. package/dist/index149.js +3 -3
  100. package/dist/index149.js.map +1 -1
  101. package/dist/index150.js +3 -3
  102. package/dist/index150.js.map +1 -1
  103. package/dist/index151.js +3 -46
  104. package/dist/index151.js.map +1 -1
  105. package/dist/index152.js +1 -1
  106. package/dist/index154.js +1 -1
  107. package/dist/index155.js +1 -1
  108. package/dist/index157.js +13 -13
  109. package/dist/index183.js +1 -1
  110. package/dist/index19.js +405 -391
  111. package/dist/index19.js.map +1 -1
  112. package/dist/index230.js +1 -1
  113. package/dist/index233.js +1 -1
  114. package/dist/index235.js +1 -1
  115. package/dist/index236.js +1 -1
  116. package/dist/index237.js +3 -3
  117. package/dist/index238.js +2 -2
  118. package/dist/index24.js +1 -1
  119. package/dist/index242.js +2 -2
  120. package/dist/index243.js +9 -9
  121. package/dist/index244.js +1 -1
  122. package/dist/index274.js +1 -1
  123. package/dist/index276.js +4 -4
  124. package/dist/index299.js +65 -69
  125. package/dist/index299.js.map +1 -1
  126. package/dist/index300.js +68 -8
  127. package/dist/index300.js.map +1 -1
  128. package/dist/index301.js +9 -14
  129. package/dist/index301.js.map +1 -1
  130. package/dist/index302.js +14 -66
  131. package/dist/index302.js.map +1 -1
  132. package/dist/index303.js +65 -64
  133. package/dist/index303.js.map +1 -1
  134. package/dist/index31.js +5 -5
  135. package/dist/index32.js +24 -24
  136. package/dist/index33.js +3 -3
  137. package/dist/index41.js +20 -20
  138. package/dist/index45.js +1 -1
  139. package/dist/index46.js +1 -1
  140. package/dist/index49.js +1 -1
  141. package/dist/index50.js +1 -1
  142. package/dist/index51.js +2 -205
  143. package/dist/index51.js.map +1 -1
  144. package/dist/index52.js +2 -7
  145. package/dist/index52.js.map +1 -1
  146. package/dist/index53.js +6 -33
  147. package/dist/index53.js.map +1 -1
  148. package/dist/index54.js +33 -26
  149. package/dist/index54.js.map +1 -1
  150. package/dist/index55.js +26 -7
  151. package/dist/index55.js.map +1 -1
  152. package/dist/index56.js +7 -11
  153. package/dist/index56.js.map +1 -1
  154. package/dist/index57.js +11 -3
  155. package/dist/index57.js.map +1 -1
  156. package/dist/index58.js +2 -48
  157. package/dist/index58.js.map +1 -1
  158. package/dist/index59.js +2 -51
  159. package/dist/index59.js.map +1 -1
  160. package/dist/index60.js +205 -8
  161. package/dist/index60.js.map +1 -1
  162. package/dist/index61.js +3 -14
  163. package/dist/index61.js.map +1 -1
  164. package/dist/index62.js +43 -129
  165. package/dist/index62.js.map +1 -1
  166. package/dist/index63.js +50 -10
  167. package/dist/index63.js.map +1 -1
  168. package/dist/index64.js +7 -216
  169. package/dist/index64.js.map +1 -1
  170. package/dist/index65.js +15 -13
  171. package/dist/index65.js.map +1 -1
  172. package/dist/index66.js +128 -41
  173. package/dist/index66.js.map +1 -1
  174. package/dist/index67.js +9 -48
  175. package/dist/index67.js.map +1 -1
  176. package/dist/index68.js +216 -3
  177. package/dist/index68.js.map +1 -1
  178. package/dist/index69.js +13 -6
  179. package/dist/index69.js.map +1 -1
  180. package/dist/index70.js +46 -27
  181. package/dist/index70.js.map +1 -1
  182. package/dist/index71.js +50 -50
  183. package/dist/index71.js.map +1 -1
  184. package/dist/index72.js +4 -9
  185. package/dist/index72.js.map +1 -1
  186. package/dist/index73.js +6 -2
  187. package/dist/index73.js.map +1 -1
  188. package/dist/index74.js +28 -2
  189. package/dist/index74.js.map +1 -1
  190. package/dist/index75.js +50 -2
  191. package/dist/index75.js.map +1 -1
  192. package/dist/index76.js +9 -2
  193. package/dist/index76.js.map +1 -1
  194. package/dist/index80.js +47 -52
  195. package/dist/index80.js.map +1 -1
  196. package/dist/index81.js +52 -5
  197. package/dist/index81.js.map +1 -1
  198. package/dist/index82.js +4 -4
  199. package/dist/index82.js.map +1 -1
  200. package/dist/index83.js +4 -15
  201. package/dist/index83.js.map +1 -1
  202. package/dist/index84.js +15 -5
  203. package/dist/index84.js.map +1 -1
  204. package/dist/index85.js +5 -7
  205. package/dist/index85.js.map +1 -1
  206. package/dist/index86.js +6 -15
  207. package/dist/index86.js.map +1 -1
  208. package/dist/index87.js +16 -4
  209. package/dist/index87.js.map +1 -1
  210. package/dist/index88.js +1 -1
  211. package/dist/index88.js.map +1 -1
  212. package/dist/index89.js +4 -5
  213. package/dist/index89.js.map +1 -1
  214. package/dist/index90.js +4 -4
  215. package/dist/index90.js.map +1 -1
  216. package/dist/index91.js +5 -4
  217. package/dist/index91.js.map +1 -1
  218. package/dist/index92.js +2 -2
  219. package/dist/index92.js.map +1 -1
  220. package/dist/index93.js +3 -5
  221. package/dist/index93.js.map +1 -1
  222. package/dist/index94.js +6 -24
  223. package/dist/index94.js.map +1 -1
  224. package/dist/index95.js +24 -6
  225. package/dist/index95.js.map +1 -1
  226. package/dist/index96.js +6 -4
  227. package/dist/index96.js.map +1 -1
  228. package/dist/index97.js +3 -5
  229. package/dist/index97.js.map +1 -1
  230. package/dist/index98.js +6 -5
  231. package/dist/index98.js.map +1 -1
  232. package/dist/index99.js +5 -4
  233. package/dist/index99.js.map +1 -1
  234. package/package.json +1 -1
package/dist/index131.js CHANGED
@@ -1,19 +1,38 @@
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";
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
+ };
8
35
  export {
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
36
+ s as enUS
18
37
  };
19
38
  //# sourceMappingURL=index131.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index131.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
1
+ {"version":3,"file":"index131.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/index132.js CHANGED
@@ -1,10 +1,19 @@
1
- import { DateLib as r } from "./index107.js";
2
- function a(t, o, n) {
3
- return (n ?? new r(o)).formatMonthYear(t);
4
- }
5
- const f = a;
1
+ import { formatCaption as t, formatMonthCaption as e } from "./index133.js";
2
+ import { formatDay as a } from "./index134.js";
3
+ import { formatMonthDropdown as p } from "./index135.js";
4
+ import { formatWeekdayName as x } from "./index136.js";
5
+ import { formatWeekNumber as i } from "./index137.js";
6
+ import { formatWeekNumberHeader as C } from "./index138.js";
7
+ import { formatYearCaption as N, formatYearDropdown as W } from "./index139.js";
6
8
  export {
7
- a as formatCaption,
8
- f as formatMonthCaption
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
9
18
  };
10
19
  //# sourceMappingURL=index132.js.map
@@ -1 +1 @@
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]}
1
+ {"version":3,"file":"index132.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
package/dist/index133.js CHANGED
@@ -1,8 +1,10 @@
1
- import { DateLib as a } from "./index107.js";
2
- function f(r, t, o) {
3
- return (o ?? new a(t)).format(r, "d");
1
+ import { DateLib as r } from "./index108.js";
2
+ function a(t, o, n) {
3
+ return (n ?? new r(o)).formatMonthYear(t);
4
4
  }
5
+ const f = a;
5
6
  export {
6
- f as formatDay
7
+ a as formatCaption,
8
+ f as formatMonthCaption
7
9
  };
8
10
  //# sourceMappingURL=index133.js.map
@@ -1 +1 @@
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]}
1
+ {"version":3,"file":"index133.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/index134.js CHANGED
@@ -1,8 +1,8 @@
1
- import { defaultDateLib as r } from "./index107.js";
2
- function n(o, t = r) {
3
- return t.format(o, "LLLL");
1
+ import { DateLib as a } from "./index108.js";
2
+ function f(r, t, o) {
3
+ return (o ?? new a(t)).format(r, "d");
4
4
  }
5
5
  export {
6
- n as formatMonthDropdown
6
+ f as formatDay
7
7
  };
8
8
  //# sourceMappingURL=index134.js.map
@@ -1 +1 @@
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]}
1
+ {"version":3,"file":"index134.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/index135.js CHANGED
@@ -1,8 +1,8 @@
1
- import { DateLib as t } from "./index107.js";
2
- function a(c, e, r) {
3
- return (r ?? new t(e)).format(c, "cccccc");
1
+ import { defaultDateLib as r } from "./index108.js";
2
+ function n(o, t = r) {
3
+ return t.format(o, "LLLL");
4
4
  }
5
5
  export {
6
- a as formatWeekdayName
6
+ n as formatMonthDropdown
7
7
  };
8
8
  //# sourceMappingURL=index135.js.map
@@ -1 +1 @@
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]}
1
+ {"version":3,"file":"index135.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/index136.js CHANGED
@@ -1,8 +1,8 @@
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()}`);
1
+ import { DateLib as t } from "./index108.js";
2
+ function a(c, e, r) {
3
+ return (r ?? new t(e)).format(c, "cccccc");
4
4
  }
5
5
  export {
6
- a as formatWeekNumber
6
+ a as formatWeekdayName
7
7
  };
8
8
  //# sourceMappingURL=index136.js.map
@@ -1 +1 @@
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]}
1
+ {"version":3,"file":"index136.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/index137.js CHANGED
@@ -1,7 +1,8 @@
1
- function e() {
2
- return "";
1
+ import { defaultDateLib as o } from "./index108.js";
2
+ function a(r, t = o) {
3
+ return r < 10 ? t.formatNumber(`0${r.toLocaleString()}`) : t.formatNumber(`${r.toLocaleString()}`);
3
4
  }
4
5
  export {
5
- e as formatWeekNumberHeader
6
+ a as formatWeekNumber
6
7
  };
7
8
  //# sourceMappingURL=index137.js.map
@@ -1 +1 @@
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]}
1
+ {"version":3,"file":"index137.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/index138.js CHANGED
@@ -1,10 +1,7 @@
1
- import { defaultDateLib as t } from "./index107.js";
2
- function a(o, r = t) {
3
- return r.format(o, "yyyy");
1
+ function e() {
2
+ return "";
4
3
  }
5
- const f = a;
6
4
  export {
7
- f as formatYearCaption,
8
- a as formatYearDropdown
5
+ e as formatWeekNumberHeader
9
6
  };
10
7
  //# sourceMappingURL=index138.js.map
@@ -1 +1 @@
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]}
1
+ {"version":3,"file":"index138.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/index139.js CHANGED
@@ -1,27 +1,10 @@
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";
1
+ import { defaultDateLib as t } from "./index108.js";
2
+ function a(o, r = t) {
3
+ return r.format(o, "yyyy");
4
+ }
5
+ const f = a;
12
6
  export {
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
7
+ f as formatYearCaption,
8
+ a as formatYearDropdown
26
9
  };
27
10
  //# sourceMappingURL=index139.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index139.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"index139.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/index140.js CHANGED
@@ -1,11 +1,27 @@
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;
5
- }
6
- const c = r;
1
+ import { labelDay as o, labelDayButton as l } from "./index141.js";
2
+ import { labelCaption as t, labelGrid as b } from "./index142.js";
3
+ import { labelGridcell as m } from "./index143.js";
4
+ import { labelMonthDropdown as f } from "./index144.js";
5
+ import { labelNav as n } from "./index145.js";
6
+ import { labelNext as u } from "./index146.js";
7
+ import { labelPrevious as N } from "./index147.js";
8
+ import { labelWeekday as y } from "./index148.js";
9
+ import { labelWeekNumber as v } from "./index149.js";
10
+ import { labelWeekNumberHeader as G } from "./index150.js";
11
+ import { labelYearDropdown as h } from "./index151.js";
7
12
  export {
8
- c as labelDay,
9
- r as labelDayButton
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
10
26
  };
11
27
  //# sourceMappingURL=index140.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index140.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelDayButton.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the ARIA label for a day button.\n *\n * Use the `modifiers` argument to provide additional context for the label,\n * such as indicating if the day is \"today\" or \"selected.\"\n *\n * @defaultValue The formatted date.\n * @param date - The date to format.\n * @param modifiers - The modifiers providing context for the day.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The ARIA label for the day button.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelDayButton(date, modifiers, options, dateLib) {\n let label = (dateLib ?? new DateLib(options)).format(date, \"PPPP\");\n if (modifiers.today)\n label = `Today, ${label}`;\n if (modifiers.selected)\n label = `${label}, selected`;\n return label;\n}\n/**\n * @ignore\n * @deprecated Use `labelDayButton` instead.\n */\nexport const labelDay = labelDayButton;\n"],"names":["labelDayButton","date","modifiers","options","dateLib","label","DateLib","labelDay"],"mappings":";AAgBO,SAASA,EAAeC,GAAMC,GAAWC,GAASC,GAAS;AAC9D,MAAIC,KAASD,KAAW,IAAIE,EAAQH,CAAO,GAAG,OAAOF,GAAM,MAAM;AACjE,SAAIC,EAAU,UACVG,IAAQ,UAAUA,CAAK,KACvBH,EAAU,aACVG,IAAQ,GAAGA,CAAK,eACbA;AACX;AAKY,MAACE,IAAWP;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index140.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
package/dist/index141.js CHANGED
@@ -1,10 +1,11 @@
1
- import { DateLib as r } from "./index107.js";
2
- function e(t, o, n) {
3
- return (n ?? new r(o)).formatMonthYear(t);
1
+ import { DateLib as n } from "./index108.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;
4
5
  }
5
- const l = e;
6
+ const c = r;
6
7
  export {
7
- l as labelCaption,
8
- e as labelGrid
8
+ c as labelDay,
9
+ r as labelDayButton
9
10
  };
10
11
  //# sourceMappingURL=index141.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index141.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelGrid.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the ARIA label for the month grid, which is announced when entering\n * the grid.\n *\n * @defaultValue Locale-specific month/year order (e.g., \"November 2022\").\n * @param date - The date representing the month.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The ARIA label for the month grid.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelGrid(date, options, dateLib) {\n const lib = dateLib ?? new DateLib(options);\n return lib.formatMonthYear(date);\n}\n/**\n * @ignore\n * @deprecated Use {@link labelGrid} instead.\n */\nexport const labelCaption = labelGrid;\n"],"names":["labelGrid","date","options","dateLib","DateLib","labelCaption"],"mappings":";AAaO,SAASA,EAAUC,GAAMC,GAASC,GAAS;AAE9C,UADYA,KAAW,IAAIC,EAAQF,CAAO,GAC/B,gBAAgBD,CAAI;AACnC;AAKY,MAACI,IAAeL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index141.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelDayButton.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the ARIA label for a day button.\n *\n * Use the `modifiers` argument to provide additional context for the label,\n * such as indicating if the day is \"today\" or \"selected.\"\n *\n * @defaultValue The formatted date.\n * @param date - The date to format.\n * @param modifiers - The modifiers providing context for the day.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The ARIA label for the day button.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelDayButton(date, modifiers, options, dateLib) {\n let label = (dateLib ?? new DateLib(options)).format(date, \"PPPP\");\n if (modifiers.today)\n label = `Today, ${label}`;\n if (modifiers.selected)\n label = `${label}, selected`;\n return label;\n}\n/**\n * @ignore\n * @deprecated Use `labelDayButton` instead.\n */\nexport const labelDay = labelDayButton;\n"],"names":["labelDayButton","date","modifiers","options","dateLib","label","DateLib","labelDay"],"mappings":";AAgBO,SAASA,EAAeC,GAAMC,GAAWC,GAASC,GAAS;AAC9D,MAAIC,KAASD,KAAW,IAAIE,EAAQH,CAAO,GAAG,OAAOF,GAAM,MAAM;AACjE,SAAIC,EAAU,UACVG,IAAQ,UAAUA,CAAK,KACvBH,EAAU,aACVG,IAAQ,GAAGA,CAAK,eACbA;AACX;AAKY,MAACE,IAAWP;","x_google_ignoreList":[0]}
package/dist/index142.js CHANGED
@@ -1,9 +1,10 @@
1
- import { DateLib as a } from "./index107.js";
2
- function f(t, l, o, r) {
3
- let e = (r ?? new a(o)).format(t, "PPPP");
4
- return l?.today && (e = `Today, ${e}`), e;
1
+ import { DateLib as r } from "./index108.js";
2
+ function e(t, o, n) {
3
+ return (n ?? new r(o)).formatMonthYear(t);
5
4
  }
5
+ const l = e;
6
6
  export {
7
- f as labelGridcell
7
+ l as labelCaption,
8
+ e as labelGrid
8
9
  };
9
10
  //# sourceMappingURL=index142.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index142.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelGridcell.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the label for a day grid cell when the calendar is not interactive.\n *\n * @param date - The date to format.\n * @param modifiers - Optional modifiers providing context for the day.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The label for the day grid cell.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelGridcell(date, modifiers, options, dateLib) {\n let label = (dateLib ?? new DateLib(options)).format(date, \"PPPP\");\n if (modifiers?.today) {\n label = `Today, ${label}`;\n }\n return label;\n}\n"],"names":["labelGridcell","date","modifiers","options","dateLib","label","DateLib"],"mappings":";AAYO,SAASA,EAAcC,GAAMC,GAAWC,GAASC,GAAS;AAC7D,MAAIC,KAASD,KAAW,IAAIE,EAAQH,CAAO,GAAG,OAAOF,GAAM,MAAM;AACjE,SAAIC,GAAW,UACXG,IAAQ,UAAUA,CAAK,KAEpBA;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index142.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelGrid.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the ARIA label for the month grid, which is announced when entering\n * the grid.\n *\n * @defaultValue Locale-specific month/year order (e.g., \"November 2022\").\n * @param date - The date representing the month.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The ARIA label for the month grid.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelGrid(date, options, dateLib) {\n const lib = dateLib ?? new DateLib(options);\n return lib.formatMonthYear(date);\n}\n/**\n * @ignore\n * @deprecated Use {@link labelGrid} instead.\n */\nexport const labelCaption = labelGrid;\n"],"names":["labelGrid","date","options","dateLib","DateLib","labelCaption"],"mappings":";AAaO,SAASA,EAAUC,GAAMC,GAASC,GAAS;AAE9C,UADYA,KAAW,IAAIC,EAAQF,CAAO,GAC/B,gBAAgBD,CAAI;AACnC;AAKY,MAACI,IAAeL;","x_google_ignoreList":[0]}
package/dist/index143.js CHANGED
@@ -1,7 +1,9 @@
1
- function n(o) {
2
- return "Choose the Month";
1
+ import { DateLib as a } from "./index108.js";
2
+ function f(t, l, o, r) {
3
+ let e = (r ?? new a(o)).format(t, "PPPP");
4
+ return l?.today && (e = `Today, ${e}`), e;
3
5
  }
4
6
  export {
5
- n as labelMonthDropdown
7
+ f as labelGridcell
6
8
  };
7
9
  //# sourceMappingURL=index143.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index143.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js"],"sourcesContent":["/**\n * Generates the ARIA label for the months dropdown.\n *\n * @defaultValue `\"Choose the Month\"`\n * @param options - Optional configuration for the date formatting library.\n * @returns The ARIA label for the months dropdown.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelMonthDropdown(_options) {\n return \"Choose the Month\";\n}\n"],"names":["labelMonthDropdown","_options"],"mappings":"AASO,SAASA,EAAmBC,GAAU;AACzC,SAAO;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index143.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelGridcell.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the label for a day grid cell when the calendar is not interactive.\n *\n * @param date - The date to format.\n * @param modifiers - Optional modifiers providing context for the day.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The label for the day grid cell.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelGridcell(date, modifiers, options, dateLib) {\n let label = (dateLib ?? new DateLib(options)).format(date, \"PPPP\");\n if (modifiers?.today) {\n label = `Today, ${label}`;\n }\n return label;\n}\n"],"names":["labelGridcell","date","modifiers","options","dateLib","label","DateLib"],"mappings":";AAYO,SAASA,EAAcC,GAAMC,GAAWC,GAASC,GAAS;AAC7D,MAAIC,KAASD,KAAW,IAAIE,EAAQH,CAAO,GAAG,OAAOF,GAAM,MAAM;AACjE,SAAIC,GAAW,UACXG,IAAQ,UAAUA,CAAK,KAEpBA;AACX;","x_google_ignoreList":[0]}
package/dist/index144.js CHANGED
@@ -1,7 +1,7 @@
1
- function e() {
2
- return "";
1
+ function n(o) {
2
+ return "Choose the Month";
3
3
  }
4
4
  export {
5
- e as labelNav
5
+ n as labelMonthDropdown
6
6
  };
7
7
  //# sourceMappingURL=index144.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index144.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelNav.js"],"sourcesContent":["/**\n * Generates the ARIA label for the navigation toolbar.\n *\n * @defaultValue `\"\"`\n * @returns The ARIA label for the navigation toolbar.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelNav() {\n return \"\";\n}\n"],"names":["labelNav"],"mappings":"AAQO,SAASA,IAAW;AACvB,SAAO;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index144.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js"],"sourcesContent":["/**\n * Generates the ARIA label for the months dropdown.\n *\n * @defaultValue `\"Choose the Month\"`\n * @param options - Optional configuration for the date formatting library.\n * @returns The ARIA label for the months dropdown.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelMonthDropdown(_options) {\n return \"Choose the Month\";\n}\n"],"names":["labelMonthDropdown","_options"],"mappings":"AASO,SAASA,EAAmBC,GAAU;AACzC,SAAO;AACX;","x_google_ignoreList":[0]}
package/dist/index145.js CHANGED
@@ -1,8 +1,7 @@
1
- const t = "Go to the Next Month";
2
- function n(o, e) {
3
- return t;
1
+ function e() {
2
+ return "";
4
3
  }
5
4
  export {
6
- n as labelNext
5
+ e as labelNav
7
6
  };
8
7
  //# sourceMappingURL=index145.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index145.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelNext.js"],"sourcesContent":["const defaultLabel = \"Go to the Next Month\";\n/**\n * Generates the ARIA label for the \"next month\" button.\n *\n * @defaultValue `\"Go to the Next Month\"`\n * @param month - The date representing the next month, or `undefined` if there\n * is no next month.\n * @returns The ARIA label for the \"next month\" button.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelNext(_month, _options) {\n return defaultLabel;\n}\n"],"names":["defaultLabel","labelNext","_month","_options"],"mappings":"AAAA,MAAMA,IAAe;AAWd,SAASC,EAAUC,GAAQC,GAAU;AACxC,SAAOH;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index145.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelNav.js"],"sourcesContent":["/**\n * Generates the ARIA label for the navigation toolbar.\n *\n * @defaultValue `\"\"`\n * @returns The ARIA label for the navigation toolbar.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelNav() {\n return \"\";\n}\n"],"names":["labelNav"],"mappings":"AAQO,SAASA,IAAW;AACvB,SAAO;AACX;","x_google_ignoreList":[0]}
package/dist/index146.js CHANGED
@@ -1,7 +1,8 @@
1
- function t(o) {
2
- return "Go to the Previous Month";
1
+ const t = "Go to the Next Month";
2
+ function n(o, e) {
3
+ return t;
3
4
  }
4
5
  export {
5
- t as labelPrevious
6
+ n as labelNext
6
7
  };
7
8
  //# sourceMappingURL=index146.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index146.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelPrevious.js"],"sourcesContent":["/**\n * Generates the ARIA label for the \"previous month\" button.\n *\n * @defaultValue `\"Go to the Previous Month\"`\n * @param month - The date representing the previous month, or `undefined` if\n * there is no previous month.\n * @returns The ARIA label for the \"previous month\" button.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelPrevious(_month) {\n return \"Go to the Previous Month\";\n}\n"],"names":["labelPrevious","_month"],"mappings":"AAUO,SAASA,EAAcC,GAAQ;AAClC,SAAO;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index146.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelNext.js"],"sourcesContent":["const defaultLabel = \"Go to the Next Month\";\n/**\n * Generates the ARIA label for the \"next month\" button.\n *\n * @defaultValue `\"Go to the Next Month\"`\n * @param month - The date representing the next month, or `undefined` if there\n * is no next month.\n * @returns The ARIA label for the \"next month\" button.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelNext(_month, _options) {\n return defaultLabel;\n}\n"],"names":["defaultLabel","labelNext","_month","_options"],"mappings":"AAAA,MAAMA,IAAe;AAWd,SAASC,EAAUC,GAAQC,GAAU;AACxC,SAAOH;AACX;","x_google_ignoreList":[0]}
package/dist/index147.js CHANGED
@@ -1,8 +1,7 @@
1
- import { DateLib as c } from "./index107.js";
2
- function a(e, r, t) {
3
- return (t ?? new c(r)).format(e, "cccc");
1
+ function t(o) {
2
+ return "Go to the Previous Month";
4
3
  }
5
4
  export {
6
- a as labelWeekday
5
+ t as labelPrevious
7
6
  };
8
7
  //# sourceMappingURL=index147.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index147.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelWeekday.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the ARIA label for a weekday column header.\n *\n * @defaultValue `\"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\", \"Sunday\"`\n * @param date - The date representing the weekday.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The ARIA label for the weekday column header.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelWeekday(date, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(date, \"cccc\");\n}\n"],"names":["labelWeekday","date","options","dateLib","DateLib"],"mappings":";AAYO,SAASA,EAAaC,GAAMC,GAASC,GAAS;AACjD,UAAQA,KAAW,IAAIC,EAAQF,CAAO,GAAG,OAAOD,GAAM,MAAM;AAChE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index147.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelPrevious.js"],"sourcesContent":["/**\n * Generates the ARIA label for the \"previous month\" button.\n *\n * @defaultValue `\"Go to the Previous Month\"`\n * @param month - The date representing the previous month, or `undefined` if\n * there is no previous month.\n * @returns The ARIA label for the \"previous month\" button.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelPrevious(_month) {\n return \"Go to the Previous Month\";\n}\n"],"names":["labelPrevious","_month"],"mappings":"AAUO,SAASA,EAAcC,GAAQ;AAClC,SAAO;AACX;","x_google_ignoreList":[0]}
package/dist/index148.js CHANGED
@@ -1,7 +1,8 @@
1
- function o(e, n) {
2
- return `Week ${e}`;
1
+ import { DateLib as c } from "./index108.js";
2
+ function a(e, r, t) {
3
+ return (t ?? new c(r)).format(e, "cccc");
3
4
  }
4
5
  export {
5
- o as labelWeekNumber
6
+ a as labelWeekday
6
7
  };
7
8
  //# sourceMappingURL=index148.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index148.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js"],"sourcesContent":["/**\n * Generates the ARIA label for the week number cell (the first cell in a row).\n *\n * @defaultValue `Week ${weekNumber}`\n * @param weekNumber - The number of the week.\n * @param options - Optional configuration for the date formatting library.\n * @returns The ARIA label for the week number cell.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelWeekNumber(weekNumber, _options) {\n return `Week ${weekNumber}`;\n}\n"],"names":["labelWeekNumber","weekNumber","_options"],"mappings":"AAUO,SAASA,EAAgBC,GAAYC,GAAU;AAClD,SAAO,QAAQD,CAAU;AAC7B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index148.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelWeekday.js"],"sourcesContent":["import { DateLib } from \"../classes/DateLib.js\";\n/**\n * Generates the ARIA label for a weekday column header.\n *\n * @defaultValue `\"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\", \"Sunday\"`\n * @param date - The date representing the weekday.\n * @param options - Optional configuration for the date formatting library.\n * @param dateLib - An optional instance of the date formatting library.\n * @returns The ARIA label for the weekday column header.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelWeekday(date, options, dateLib) {\n return (dateLib ?? new DateLib(options)).format(date, \"cccc\");\n}\n"],"names":["labelWeekday","date","options","dateLib","DateLib"],"mappings":";AAYO,SAASA,EAAaC,GAAMC,GAASC,GAAS;AACjD,UAAQA,KAAW,IAAIC,EAAQF,CAAO,GAAG,OAAOD,GAAM,MAAM;AAChE;","x_google_ignoreList":[0]}
package/dist/index149.js CHANGED
@@ -1,7 +1,7 @@
1
- function r(e) {
2
- return "Week Number";
1
+ function o(e, n) {
2
+ return `Week ${e}`;
3
3
  }
4
4
  export {
5
- r as labelWeekNumberHeader
5
+ o as labelWeekNumber
6
6
  };
7
7
  //# sourceMappingURL=index149.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index149.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js"],"sourcesContent":["/**\n * Generates the ARIA label for the week number header element.\n *\n * @defaultValue `\"Week Number\"`\n * @param options - Optional configuration for the date formatting library.\n * @returns The ARIA label for the week number header.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelWeekNumberHeader(_options) {\n return \"Week Number\";\n}\n"],"names":["labelWeekNumberHeader","_options"],"mappings":"AASO,SAASA,EAAsBC,GAAU;AAC5C,SAAO;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index149.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js"],"sourcesContent":["/**\n * Generates the ARIA label for the week number cell (the first cell in a row).\n *\n * @defaultValue `Week ${weekNumber}`\n * @param weekNumber - The number of the week.\n * @param options - Optional configuration for the date formatting library.\n * @returns The ARIA label for the week number cell.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelWeekNumber(weekNumber, _options) {\n return `Week ${weekNumber}`;\n}\n"],"names":["labelWeekNumber","weekNumber","_options"],"mappings":"AAUO,SAASA,EAAgBC,GAAYC,GAAU;AAClD,SAAO,QAAQD,CAAU;AAC7B;","x_google_ignoreList":[0]}
package/dist/index150.js CHANGED
@@ -1,7 +1,7 @@
1
- function e(o) {
2
- return "Choose the Year";
1
+ function r(e) {
2
+ return "Week Number";
3
3
  }
4
4
  export {
5
- e as labelYearDropdown
5
+ r as labelWeekNumberHeader
6
6
  };
7
7
  //# sourceMappingURL=index150.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index150.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js"],"sourcesContent":["/**\n * Generates the ARIA label for the years dropdown.\n *\n * @defaultValue `\"Choose the Year\"`\n * @param options - Optional configuration for the date formatting library.\n * @returns The ARIA label for the years dropdown.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelYearDropdown(_options) {\n return \"Choose the Year\";\n}\n"],"names":["labelYearDropdown","_options"],"mappings":"AASO,SAASA,EAAkBC,GAAU;AACxC,SAAO;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index150.js","sources":["../../../node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js"],"sourcesContent":["/**\n * Generates the ARIA label for the week number header element.\n *\n * @defaultValue `\"Week Number\"`\n * @param options - Optional configuration for the date formatting library.\n * @returns The ARIA label for the week number header.\n * @group Labels\n * @see https://daypicker.dev/docs/translation#aria-labels\n */\nexport function labelWeekNumberHeader(_options) {\n return \"Week Number\";\n}\n"],"names":["labelWeekNumberHeader","_options"],"mappings":"AASO,SAASA,EAAsBC,GAAU;AAC5C,SAAO;AACX;","x_google_ignoreList":[0]}