fullcalendar 7.0.0-rc.2 → 7.0.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 (464) hide show
  1. package/{all.global.js → all/global.js} +1731 -1179
  2. package/{all.d.ts → all/index.d.ts} +2 -2
  3. package/{all.js → all/index.js} +6 -6
  4. package/chunks/0488b422.js +3 -0
  5. package/chunks/{33b27274.js → 050fd242.js} +1 -1
  6. package/chunks/{93b30feb.js → 06f4680d.js} +1 -1
  7. package/chunks/{f75f6c33.js → 0a23096d.js} +53 -30
  8. package/chunks/{96f1d6e4.d.ts → 0ab3e622.d.ts} +1 -1
  9. package/chunks/{f1ba7577.js → 11d42a92.js} +1 -1
  10. package/chunks/{a2ab3524.js → 141f9d37.js} +1 -1
  11. package/chunks/{1d43a540.js → 14ea59ee.js} +1 -1
  12. package/chunks/{1a87ce0e.js → 14ee3137.js} +4 -4
  13. package/chunks/{2cef4b60.js → 1577123f.js} +1 -1
  14. package/chunks/{d7d6b407.js → 15848262.js} +1 -1
  15. package/chunks/{b94c6652.js → 17e321fb.js} +1 -1
  16. package/chunks/{aefe3aad.js → 1c0a8594.js} +1 -1
  17. package/chunks/{4fa5ed5e.d.ts → 20a4cab4.d.ts} +440 -434
  18. package/chunks/{bf0b5fe7.js → 2325ef50.js} +16 -13
  19. package/chunks/{474d6f49.js → 241fc884.js} +1 -1
  20. package/chunks/{f84343ce.js → 25130702.js} +1 -1
  21. package/chunks/{d47022eb.js → 259dd5b6.js} +1 -1
  22. package/chunks/{23c33de5.js → 27ce77a4.js} +1 -1
  23. package/chunks/{cc3f7d6a.js → 2a96da03.js} +1 -1
  24. package/chunks/{46f5a30e.js → 2bfeb20e.js} +1 -1
  25. package/chunks/{9413abc3.js → 2c87688a.js} +1 -1
  26. package/chunks/{56af814e.js → 30a2cd58.js} +1 -1
  27. package/chunks/{0c0897e5.js → 348940bd.js} +1 -1
  28. package/chunks/{e865db49.js → 3663530b.js} +1 -1
  29. package/chunks/{3ddc24ea.js → 374ce2d5.js} +1 -1
  30. package/chunks/{a1fd14d7.js → 384d1e7c.js} +1 -1
  31. package/chunks/{2465df41.js → 3a797b1a.js} +1 -1
  32. package/chunks/{132e4321.d.ts → 3c4e5b9e.d.ts} +1 -1
  33. package/chunks/{2c627282.js → 3cab911c.js} +1 -1
  34. package/chunks/{2a0291bb.js → 426074dc.js} +3 -3
  35. package/chunks/{764d6626.js → 428932f2.js} +1 -1
  36. package/chunks/{5df5e02e.js → 48db9970.js} +1 -1
  37. package/chunks/{d08b8271.js → 4dcf5e12.js} +4 -4
  38. package/chunks/{e183439b.js → 4edec23b.js} +1 -1
  39. package/chunks/{87c92d69.js → 4f311d15.js} +1 -1
  40. package/chunks/{1f7be3fb.js → 52f4a863.js} +1 -1
  41. package/chunks/{bf43f865.js → 544b90ee.js} +1 -1
  42. package/chunks/{47ba492b.js → 6294c066.js} +1 -1
  43. package/chunks/{f12963c2.js → 65a5c4b3.js} +1 -1
  44. package/chunks/{88e10313.js → 695b2034.js} +1 -1
  45. package/chunks/{b0814552.js → 6bdde0f7.js} +1 -1
  46. package/chunks/{e6af15c5.js → 6bfaf5ee.js} +1 -1
  47. package/chunks/{4ca76b98.js → 6d353066.js} +1 -1
  48. package/chunks/{76638930.js → 6ea826ae.js} +1 -1
  49. package/chunks/{859272dd.js → 706bd11c.js} +1 -1
  50. package/chunks/{6cfb4c27.js → 73ddf99a.js} +1 -1
  51. package/chunks/{1b10064d.js → 7543b6db.js} +14 -14
  52. package/chunks/{79cff170.js → 7792a2c6.js} +1 -1
  53. package/chunks/{374f7011.js → 7bccf5c2.js} +12 -12
  54. package/chunks/{f4ec93f1.js → 7c827298.js} +1 -1
  55. package/chunks/{42afbf6c.js → 7de545af.js} +1 -1
  56. package/chunks/{89d5848c.js → 83cfee2d.js} +1 -1
  57. package/chunks/{6d0bfc2b.js → 87ea31a4.js} +1 -1
  58. package/chunks/{3465f34b.js → 8f8579eb.js} +1 -1
  59. package/chunks/{e2983392.js → 9340c3b6.js} +12 -12
  60. package/chunks/{a562faae.js → 9568f388.js} +137 -108
  61. package/chunks/{f8f65636.js → 9a8b472e.js} +1 -1
  62. package/chunks/{de90f674.js → 9b31fb5f.js} +1 -1
  63. package/chunks/{869cfed1.js → 9ccbb009.js} +1 -1
  64. package/chunks/{0c46982b.js → 9ebe4066.js} +1 -1
  65. package/chunks/{aa16a8d0.d.ts → 9f43eb4e.d.ts} +1 -1
  66. package/chunks/{298ff974.js → 9fcad165.js} +1 -1
  67. package/chunks/{1274633a.js → a2d5d57b.js} +1 -1
  68. package/chunks/{3b766470.js → a3fce641.js} +1 -1
  69. package/chunks/{e03d1b80.js → a585a98c.js} +1 -1
  70. package/chunks/{161ff306.js → a5b51df9.js} +1 -1
  71. package/chunks/{389e231a.js → a87fdcf5.js} +6 -6
  72. package/chunks/{4e30ab7d.js → b038d37b.js} +1 -1
  73. package/chunks/{e5431318.js → b705f163.js} +1 -1
  74. package/chunks/{717349d4.js → b99931a8.js} +1 -1
  75. package/chunks/{d362570b.js → bae57aa8.js} +1 -1
  76. package/chunks/{88d59ca0.js → bc2dd0d2.js} +1 -1
  77. package/chunks/{a9947a39.js → c5614eb0.js} +1 -1
  78. package/chunks/{5c3bd750.js → c58ddb63.js} +1 -1
  79. package/chunks/{5df96995.js → c88b4d94.js} +1 -1
  80. package/chunks/{7e74a1e5.js → c8bfd3b8.js} +1 -1
  81. package/chunks/{2f5afbe4.js → ca5d1416.js} +13 -10
  82. package/chunks/{c9b33999.js → ccfd64d1.js} +1 -1
  83. package/chunks/{a75b4378.js → cd37625d.js} +1 -1
  84. package/chunks/{cb8d464d.js → d3e122bd.js} +1 -1
  85. package/chunks/{d6422d2e.js → d5f85b34.js} +1 -1
  86. package/chunks/{42b3acba.js → d6c9ac3e.js} +1 -1
  87. package/chunks/{b8f821e9.js → d8e1e01b.js} +1 -1
  88. package/chunks/{ff2b91dd.js → de4008d4.js} +1 -1
  89. package/chunks/{bd87b5d5.js → df96cbd1.js} +1 -1
  90. package/chunks/{ac2cef10.js → e2e9e519.js} +18 -6
  91. package/chunks/{7f1a705f.js → e7651fae.js} +1 -1
  92. package/chunks/{c31bcaab.js → e9b25849.js} +1 -1
  93. package/chunks/{c8527b9b.js → eb47ce98.js} +1 -1
  94. package/chunks/{6dc90bd0.js → ef24f7de.js} +5 -5
  95. package/chunks/{d73fd092.js → ef2cc2c2.js} +1 -1
  96. package/chunks/{ca1e5592.js → f19c550e.js} +3 -3
  97. package/chunks/{4624f9ea.js → f1b2da23.js} +4 -4
  98. package/chunks/{8f86bb71.js → f3dd16a8.js} +1 -1
  99. package/chunks/{46036697.js → f557347b.js} +1 -1
  100. package/chunks/{b4405db8.js → f55b5921.js} +1 -1
  101. package/chunks/{5383c609.js → fa8f8d12.js} +1 -1
  102. package/chunks/{6eddb6b6.js → fe16a100.js} +10 -5
  103. package/chunks/{50647119.js → fe34b130.js} +1 -1
  104. package/daygrid.d.ts +1 -1
  105. package/daygrid.js +1 -1
  106. package/index.d.ts +4 -4
  107. package/index.js +4 -4
  108. package/interaction.d.ts +1 -1
  109. package/interaction.js +6 -6
  110. package/list.d.ts +1 -1
  111. package/list.js +1 -1
  112. package/locales/{af.global.js → af/global.js} +2 -2
  113. package/locales/{locale.d.ts → af/index.d.ts} +1 -1
  114. package/locales/af/index.js +1 -0
  115. package/locales/{ar.global.js → ar/global.js} +2 -2
  116. package/locales/ar/index.d.ts +2 -0
  117. package/locales/ar/index.js +1 -0
  118. package/locales/{ar-dz.global.js → ar-dz/global.js} +2 -2
  119. package/locales/ar-dz/index.d.ts +2 -0
  120. package/locales/ar-dz/index.js +1 -0
  121. package/locales/{ar-kw.global.js → ar-kw/global.js} +2 -2
  122. package/locales/ar-kw/index.d.ts +2 -0
  123. package/locales/ar-kw/index.js +1 -0
  124. package/locales/{ar-ly.global.js → ar-ly/global.js} +2 -2
  125. package/locales/ar-ly/index.d.ts +2 -0
  126. package/locales/ar-ly/index.js +1 -0
  127. package/locales/{ar-ma.global.js → ar-ma/global.js} +2 -2
  128. package/locales/ar-ma/index.d.ts +2 -0
  129. package/locales/ar-ma/index.js +1 -0
  130. package/locales/{ar-sa.global.js → ar-sa/global.js} +2 -2
  131. package/locales/ar-sa/index.d.ts +2 -0
  132. package/locales/ar-sa/index.js +1 -0
  133. package/locales/{ar-tn.global.js → ar-tn/global.js} +2 -2
  134. package/locales/ar-tn/index.d.ts +2 -0
  135. package/locales/ar-tn/index.js +1 -0
  136. package/locales/{az.global.js → az/global.js} +2 -2
  137. package/locales/az/index.d.ts +2 -0
  138. package/locales/az/index.js +1 -0
  139. package/locales/{bg.global.js → bg/global.js} +2 -2
  140. package/locales/bg/index.d.ts +2 -0
  141. package/locales/bg/index.js +1 -0
  142. package/locales/{bn.global.js → bn/global.js} +2 -2
  143. package/locales/bn/index.d.ts +2 -0
  144. package/locales/bn/index.js +1 -0
  145. package/locales/{bs.global.js → bs/global.js} +2 -2
  146. package/locales/bs/index.d.ts +2 -0
  147. package/locales/bs/index.js +1 -0
  148. package/locales/{ca.global.js → ca/global.js} +2 -2
  149. package/locales/ca/index.d.ts +2 -0
  150. package/locales/ca/index.js +1 -0
  151. package/locales/{cs.global.js → cs/global.js} +2 -2
  152. package/locales/cs/index.d.ts +2 -0
  153. package/locales/cs/index.js +1 -0
  154. package/locales/{cy.global.js → cy/global.js} +2 -2
  155. package/locales/cy/index.d.ts +2 -0
  156. package/locales/cy/index.js +1 -0
  157. package/locales/{da.global.js → da/global.js} +2 -2
  158. package/locales/da/index.d.ts +2 -0
  159. package/locales/da/index.js +1 -0
  160. package/locales/{de.global.js → de/global.js} +2 -2
  161. package/locales/de/index.d.ts +2 -0
  162. package/locales/de/index.js +1 -0
  163. package/locales/{de-at.global.js → de-at/global.js} +2 -2
  164. package/locales/de-at/index.d.ts +2 -0
  165. package/locales/de-at/index.js +1 -0
  166. package/locales/{el.global.js → el/global.js} +2 -2
  167. package/locales/el/index.d.ts +2 -0
  168. package/locales/el/index.js +1 -0
  169. package/locales/{en-au.global.js → en-au/global.js} +1 -1
  170. package/locales/en-au/index.d.ts +2 -0
  171. package/locales/en-au/index.js +1 -0
  172. package/locales/{en-gb.global.js → en-gb/global.js} +1 -1
  173. package/locales/en-gb/index.d.ts +2 -0
  174. package/locales/en-gb/index.js +1 -0
  175. package/locales/{en-nz.global.js → en-nz/global.js} +1 -1
  176. package/locales/en-nz/index.d.ts +2 -0
  177. package/locales/en-nz/index.js +1 -0
  178. package/locales/{eo.global.js → eo/global.js} +2 -2
  179. package/locales/eo/index.d.ts +2 -0
  180. package/locales/eo/index.js +1 -0
  181. package/locales/{es.global.js → es/global.js} +2 -2
  182. package/locales/es/index.d.ts +2 -0
  183. package/locales/es/index.js +1 -0
  184. package/locales/{es-us.global.js → es-us/global.js} +2 -2
  185. package/locales/es-us/index.d.ts +2 -0
  186. package/locales/es-us/index.js +1 -0
  187. package/locales/{et.global.js → et/global.js} +2 -2
  188. package/locales/et/index.d.ts +2 -0
  189. package/locales/et/index.js +1 -0
  190. package/locales/{eu.global.js → eu/global.js} +2 -2
  191. package/locales/eu/index.d.ts +2 -0
  192. package/locales/eu/index.js +1 -0
  193. package/locales/{fa.global.js → fa/global.js} +2 -2
  194. package/locales/fa/index.d.ts +2 -0
  195. package/locales/fa/index.js +1 -0
  196. package/locales/{fi.global.js → fi/global.js} +2 -2
  197. package/locales/fi/index.d.ts +2 -0
  198. package/locales/fi/index.js +1 -0
  199. package/locales/{fr.global.js → fr/global.js} +2 -2
  200. package/locales/fr/index.d.ts +2 -0
  201. package/locales/fr/index.js +1 -0
  202. package/locales/{fr-ca.global.js → fr-ca/global.js} +2 -2
  203. package/locales/fr-ca/index.d.ts +2 -0
  204. package/locales/fr-ca/index.js +1 -0
  205. package/locales/{fr-ch.global.js → fr-ch/global.js} +2 -2
  206. package/locales/fr-ch/index.d.ts +2 -0
  207. package/locales/fr-ch/index.js +1 -0
  208. package/locales/{gl.global.js → gl/global.js} +2 -2
  209. package/locales/gl/index.d.ts +2 -0
  210. package/locales/gl/index.js +1 -0
  211. package/locales/{he.global.js → he/global.js} +2 -2
  212. package/locales/he/index.d.ts +2 -0
  213. package/locales/he/index.js +1 -0
  214. package/locales/{hi.global.js → hi/global.js} +2 -2
  215. package/locales/hi/index.d.ts +2 -0
  216. package/locales/hi/index.js +1 -0
  217. package/locales/{hr.global.js → hr/global.js} +2 -2
  218. package/locales/hr/index.d.ts +2 -0
  219. package/locales/hr/index.js +1 -0
  220. package/locales/{hu.global.js → hu/global.js} +2 -2
  221. package/locales/hu/index.d.ts +2 -0
  222. package/locales/hu/index.js +1 -0
  223. package/locales/{hy-am.global.js → hy-am/global.js} +2 -2
  224. package/locales/hy-am/index.d.ts +2 -0
  225. package/locales/hy-am/index.js +1 -0
  226. package/locales/{id.global.js → id/global.js} +2 -2
  227. package/locales/id/index.d.ts +2 -0
  228. package/locales/id/index.js +1 -0
  229. package/locales/{is.global.js → is/global.js} +2 -2
  230. package/locales/is/index.d.ts +2 -0
  231. package/locales/is/index.js +1 -0
  232. package/locales/{it.global.js → it/global.js} +2 -2
  233. package/locales/it/index.d.ts +2 -0
  234. package/locales/it/index.js +1 -0
  235. package/locales/{ja.global.js → ja/global.js} +2 -2
  236. package/locales/ja/index.d.ts +2 -0
  237. package/locales/ja/index.js +1 -0
  238. package/locales/{ka.global.js → ka/global.js} +2 -2
  239. package/locales/ka/index.d.ts +2 -0
  240. package/locales/ka/index.js +1 -0
  241. package/locales/{kk.global.js → kk/global.js} +2 -2
  242. package/locales/kk/index.d.ts +2 -0
  243. package/locales/kk/index.js +1 -0
  244. package/locales/{km.global.js → km/global.js} +2 -2
  245. package/locales/km/index.d.ts +2 -0
  246. package/locales/km/index.js +1 -0
  247. package/locales/{ko.global.js → ko/global.js} +2 -2
  248. package/locales/ko/index.d.ts +2 -0
  249. package/locales/ko/index.js +1 -0
  250. package/locales/{ku.global.js → ku/global.js} +2 -2
  251. package/locales/ku/index.d.ts +2 -0
  252. package/locales/ku/index.js +1 -0
  253. package/locales/{lb.global.js → lb/global.js} +2 -2
  254. package/locales/lb/index.d.ts +2 -0
  255. package/locales/lb/index.js +1 -0
  256. package/locales/{lt.global.js → lt/global.js} +2 -2
  257. package/locales/lt/index.d.ts +2 -0
  258. package/locales/lt/index.js +1 -0
  259. package/locales/{lv.global.js → lv/global.js} +2 -2
  260. package/locales/lv/index.d.ts +2 -0
  261. package/locales/lv/index.js +1 -0
  262. package/locales/{mk.global.js → mk/global.js} +2 -2
  263. package/locales/mk/index.d.ts +2 -0
  264. package/locales/mk/index.js +1 -0
  265. package/locales/{ms.global.js → ms/global.js} +2 -2
  266. package/locales/ms/index.d.ts +2 -0
  267. package/locales/ms/index.js +1 -0
  268. package/locales/{nb.global.js → nb/global.js} +2 -2
  269. package/locales/nb/index.d.ts +2 -0
  270. package/locales/nb/index.js +1 -0
  271. package/locales/{ne.global.js → ne/global.js} +2 -2
  272. package/locales/ne/index.d.ts +2 -0
  273. package/locales/ne/index.js +1 -0
  274. package/locales/{nl.global.js → nl/global.js} +2 -2
  275. package/locales/nl/index.d.ts +2 -0
  276. package/locales/nl/index.js +1 -0
  277. package/locales/{nn.global.js → nn/global.js} +2 -2
  278. package/locales/nn/index.d.ts +2 -0
  279. package/locales/nn/index.js +1 -0
  280. package/locales/{pl.global.js → pl/global.js} +2 -2
  281. package/locales/pl/index.d.ts +2 -0
  282. package/locales/pl/index.js +1 -0
  283. package/locales/{pt.global.js → pt/global.js} +2 -2
  284. package/locales/pt/index.d.ts +2 -0
  285. package/locales/pt/index.js +1 -0
  286. package/locales/{pt-br.global.js → pt-br/global.js} +2 -2
  287. package/locales/pt-br/index.d.ts +2 -0
  288. package/locales/pt-br/index.js +1 -0
  289. package/locales/{ro.global.js → ro/global.js} +2 -2
  290. package/locales/ro/index.d.ts +2 -0
  291. package/locales/ro/index.js +1 -0
  292. package/locales/{ru.global.js → ru/global.js} +2 -2
  293. package/locales/ru/index.d.ts +2 -0
  294. package/locales/ru/index.js +1 -0
  295. package/locales/{si-lk.global.js → si-lk/global.js} +2 -2
  296. package/locales/si-lk/index.d.ts +2 -0
  297. package/locales/si-lk/index.js +1 -0
  298. package/locales/{sk.global.js → sk/global.js} +2 -2
  299. package/locales/sk/index.d.ts +2 -0
  300. package/locales/sk/index.js +1 -0
  301. package/locales/{sl.global.js → sl/global.js} +2 -2
  302. package/locales/sl/index.d.ts +2 -0
  303. package/locales/sl/index.js +1 -0
  304. package/locales/{sm.global.js → sm/global.js} +2 -2
  305. package/locales/sm/index.d.ts +2 -0
  306. package/locales/sm/index.js +1 -0
  307. package/locales/{sq.global.js → sq/global.js} +2 -2
  308. package/locales/sq/index.d.ts +2 -0
  309. package/locales/sq/index.js +1 -0
  310. package/locales/{sr.global.js → sr/global.js} +2 -2
  311. package/locales/sr/index.d.ts +2 -0
  312. package/locales/sr/index.js +1 -0
  313. package/locales/{sr-cyrl.global.js → sr-cyrl/global.js} +2 -2
  314. package/locales/sr-cyrl/index.d.ts +2 -0
  315. package/locales/sr-cyrl/index.js +1 -0
  316. package/locales/{sv.global.js → sv/global.js} +2 -2
  317. package/locales/sv/index.d.ts +2 -0
  318. package/locales/sv/index.js +1 -0
  319. package/locales/{ta-in.global.js → ta-in/global.js} +2 -2
  320. package/locales/ta-in/index.d.ts +2 -0
  321. package/locales/ta-in/index.js +1 -0
  322. package/locales/{th.global.js → th/global.js} +2 -2
  323. package/locales/th/index.d.ts +2 -0
  324. package/locales/th/index.js +1 -0
  325. package/locales/{tr.global.js → tr/global.js} +2 -2
  326. package/locales/tr/index.d.ts +2 -0
  327. package/locales/tr/index.js +1 -0
  328. package/locales/{ug.global.js → ug/global.js} +2 -2
  329. package/locales/ug/index.d.ts +2 -0
  330. package/locales/ug/index.js +1 -0
  331. package/locales/{uk.global.js → uk/global.js} +2 -2
  332. package/locales/uk/index.d.ts +2 -0
  333. package/locales/uk/index.js +1 -0
  334. package/locales/{uz.global.js → uz/global.js} +2 -2
  335. package/locales/uz/index.d.ts +2 -0
  336. package/locales/uz/index.js +1 -0
  337. package/locales/{uz-cy.global.js → uz-cy/global.js} +2 -2
  338. package/locales/uz-cy/index.d.ts +2 -0
  339. package/locales/uz-cy/index.js +1 -0
  340. package/locales/{vi.global.js → vi/global.js} +2 -2
  341. package/locales/vi/index.d.ts +2 -0
  342. package/locales/vi/index.js +1 -0
  343. package/locales/{zh-cn.global.js → zh-cn/global.js} +2 -2
  344. package/locales/zh-cn/index.d.ts +2 -0
  345. package/locales/zh-cn/index.js +1 -0
  346. package/locales/{zh-tw.global.js → zh-tw/global.js} +2 -2
  347. package/locales/zh-tw/index.d.ts +2 -0
  348. package/locales/zh-tw/index.js +1 -0
  349. package/{locales-all.global.js → locales-all/global.js} +77 -77
  350. package/{locales-all.d.ts → locales-all/index.d.ts} +1 -1
  351. package/locales-all/index.js +85 -0
  352. package/multimonth.d.ts +1 -1
  353. package/multimonth.js +1 -1
  354. package/package.json +23 -23
  355. package/protected-api.d.ts +7 -6
  356. package/protected-api.js +12 -12
  357. package/protected-styles.js +1 -1
  358. package/public-api.d.ts +3 -3
  359. package/public-api.js +3 -3
  360. package/public-components.d.ts +1 -1
  361. package/public-components.js +1 -1
  362. package/skeleton.css +104 -104
  363. package/themes/breezy/global.js +5 -5
  364. package/themes/{classic.d.ts → breezy/index.d.ts} +1 -1
  365. package/themes/{breezy.js → breezy/index.js} +5 -5
  366. package/themes/classic/global.js +4 -4
  367. package/themes/{forma.d.ts → classic/index.d.ts} +1 -1
  368. package/themes/{classic.js → classic/index.js} +4 -4
  369. package/themes/forma/global.js +5 -5
  370. package/themes/{monarch.d.ts → forma/index.d.ts} +1 -1
  371. package/themes/{forma.js → forma/index.js} +5 -5
  372. package/themes/monarch/global.js +5 -5
  373. package/themes/{breezy.d.ts → monarch/index.d.ts} +1 -1
  374. package/themes/{monarch.js → monarch/index.js} +5 -5
  375. package/themes/pulse/global.js +6 -6
  376. package/themes/pulse/index.d.ts +5 -0
  377. package/themes/{pulse.js → pulse/index.js} +6 -6
  378. package/timegrid.d.ts +1 -1
  379. package/timegrid.js +1 -1
  380. package/chunks/d09da820.js +0 -3
  381. package/locales/af.js +0 -1
  382. package/locales/ar-dz.js +0 -1
  383. package/locales/ar-kw.js +0 -1
  384. package/locales/ar-ly.js +0 -1
  385. package/locales/ar-ma.js +0 -1
  386. package/locales/ar-sa.js +0 -1
  387. package/locales/ar-tn.js +0 -1
  388. package/locales/ar.js +0 -1
  389. package/locales/az.js +0 -1
  390. package/locales/bg.js +0 -1
  391. package/locales/bn.js +0 -1
  392. package/locales/bs.js +0 -1
  393. package/locales/ca.js +0 -1
  394. package/locales/cs.js +0 -1
  395. package/locales/cy.js +0 -1
  396. package/locales/da.js +0 -1
  397. package/locales/de-at.js +0 -1
  398. package/locales/de.js +0 -1
  399. package/locales/el.js +0 -1
  400. package/locales/en-au.js +0 -1
  401. package/locales/en-gb.js +0 -1
  402. package/locales/en-nz.js +0 -1
  403. package/locales/eo.js +0 -1
  404. package/locales/es-us.js +0 -1
  405. package/locales/es.js +0 -1
  406. package/locales/et.js +0 -1
  407. package/locales/eu.js +0 -1
  408. package/locales/fa.js +0 -1
  409. package/locales/fi.js +0 -1
  410. package/locales/fr-ca.js +0 -1
  411. package/locales/fr-ch.js +0 -1
  412. package/locales/fr.js +0 -1
  413. package/locales/gl.js +0 -1
  414. package/locales/he.js +0 -1
  415. package/locales/hi.js +0 -1
  416. package/locales/hr.js +0 -1
  417. package/locales/hu.js +0 -1
  418. package/locales/hy-am.js +0 -1
  419. package/locales/id.js +0 -1
  420. package/locales/is.js +0 -1
  421. package/locales/it.js +0 -1
  422. package/locales/ja.js +0 -1
  423. package/locales/ka.js +0 -1
  424. package/locales/kk.js +0 -1
  425. package/locales/km.js +0 -1
  426. package/locales/ko.js +0 -1
  427. package/locales/ku.js +0 -1
  428. package/locales/lb.js +0 -1
  429. package/locales/lt.js +0 -1
  430. package/locales/lv.js +0 -1
  431. package/locales/mk.js +0 -1
  432. package/locales/ms.js +0 -1
  433. package/locales/nb.js +0 -1
  434. package/locales/ne.js +0 -1
  435. package/locales/nl.js +0 -1
  436. package/locales/nn.js +0 -1
  437. package/locales/pl.js +0 -1
  438. package/locales/pt-br.js +0 -1
  439. package/locales/pt.js +0 -1
  440. package/locales/ro.js +0 -1
  441. package/locales/ru.js +0 -1
  442. package/locales/si-lk.js +0 -1
  443. package/locales/sk.js +0 -1
  444. package/locales/sl.js +0 -1
  445. package/locales/sm.js +0 -1
  446. package/locales/sq.js +0 -1
  447. package/locales/sr-cyrl.js +0 -1
  448. package/locales/sr.js +0 -1
  449. package/locales/sv.js +0 -1
  450. package/locales/ta-in.js +0 -1
  451. package/locales/th.js +0 -1
  452. package/locales/tr.js +0 -1
  453. package/locales/ug.js +0 -1
  454. package/locales/uk.js +0 -1
  455. package/locales/uz-cy.js +0 -1
  456. package/locales/uz.js +0 -1
  457. package/locales/vi.js +0 -1
  458. package/locales/zh-cn.js +0 -1
  459. package/locales/zh-tw.js +0 -1
  460. package/locales-all.js +0 -85
  461. package/themes/pulse.d.ts +0 -5
  462. /package/chunks/{17e93143.js → 1e0eda69.js} +0 -0
  463. /package/chunks/{9962a114.js → 8c4ccebb.js} +0 -0
  464. /package/chunks/{4bcd6f83.js → d83ddbce.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { al as PluginInput, k as CalendarOptions } from './chunks/4fa5ed5e.js';
2
- import { C as Calendar$1 } from './chunks/96f1d6e4.js';
1
+ import { am as PluginInput, k as CalendarOptions } from '../chunks/20a4cab4';
2
+ import { C as Calendar$1 } from '../chunks/0ab3e622';
3
3
 
4
4
  declare const plugins: PluginInput[];
5
5
  declare class Calendar extends Calendar$1 {
@@ -1,9 +1,9 @@
1
- import { C as Calendar$1 } from './chunks/6eddb6b6.js';
2
- import { i as interactionPlugin } from './chunks/389e231a.js';
3
- import { d as dayGridPlugin } from './chunks/d08b8271.js';
4
- import { t as timeGridPlugin } from './chunks/4624f9ea.js';
5
- import { l as listPlugin } from './chunks/1a87ce0e.js';
6
- import { m as multiMonthPlugin } from './chunks/374f7011.js';
1
+ import { C as Calendar$1 } from '../chunks/fe16a100.js';
2
+ import { i as interactionPlugin } from '../chunks/a87fdcf5.js';
3
+ import { d as dayGridPlugin } from '../chunks/4dcf5e12.js';
4
+ import { t as timeGridPlugin } from '../chunks/f1b2da23.js';
5
+ import { l as listPlugin } from '../chunks/14ee3137.js';
6
+ import { m as multiMonthPlugin } from '../chunks/7bccf5c2.js';
7
7
 
8
8
  const plugins = [
9
9
  interactionPlugin,
@@ -0,0 +1,3 @@
1
+ var classNames = {"popoverZ":"fc-tF","isolate":"fc-5w","borderBoxRoot":"fc-Mg","notAllowed":"fc-Q9","noScrollbars":"fc-xd","noShrink":"fc-Zo","calendarScreenRoot":"fc-Yo","safeTiles":"fc-G6","calendarPrintRoot":"fc-me","cursorPointer":"fc-lv","cursorResizeT":"fc-vR","cursorResizeB":"fc-ni","cursorResizeS":"fc-8S","cursorResizeE":"fc-yU","cursorColResizer":"fc-ey","hit":"fc-6F","hitX":"fc-zw","hitY":"fc-Pi","hitXSkinny":"fc-86","selectNone":"fc-xR","invisible":"fc-yw","borderNone":"fc-Y7","borderOnlyT":"fc-5B","borderOnlyB":"fc-6q","borderOnlyS":"fc-Zb","borderOnlyE":"fc-Xy","borderlessX":"fc-HY","borderlessY":"fc-YK","fakeBorderS":"fc-kv","flexRow":"fc-Qr","flexCol":"fc-s3","grow":"fc-Uk","liquid":"fc-uD","minHeight0":"fc-7B","liquidX":"fc-rr","printRoot":"fc-zi","printHeader":"fc-t1","noPadding":"fc-eX","noMargin":"fc-xn","noMarginY":"fc-Mz","noMarginX":"fc-jK","whiteSpaceNoWrap":"fc-Jx","whiteSpacePre":"fc-Fz","overflowAnchorNone":"fc-1Z","crop":"fc-iG","cropNowrap":"fc-rW","rel":"fc-Uv","abs":"fc-TZ","start0":"fc-7N","fill":"fc-Y3","fillTop":"fc-6T","fillX":"fc-al","fillY":"fc-7m","fillStart":"fc-4v","sticky":"fc-HK","stickyT":"fc-zZ","stickyS":"fc-YA","tableHeaderSticky":"fc-iU","contentBox":"fc-Qk","offscreen":"fc-Et","alignCenter":"fc-o5","alignStart":"fc-n1","alignEnd":"fc-Wl","footerScrollbarSticky":"fc-My","footerScrollbar":"fc-43","breakInsideAvoid":"fc-FH","printSiblingRow":"fc-uJ","z0":"fc-LD","z1":"fc-xs","focusZ2":"fc-Gz","internalTimelineSlot":"fc-sH","internalEvent":"fc-0m","internalEventMirror":"fc-uc","internalEventDraggable":"fc-rA","internalEventSelected":"fc-Vs","internalEventResizable":"fc-Ds","internalEventResizer":"fc-Xj","internalEventResizerStart":"fc-fA","internalEventResizerEnd":"fc-xp","internalBgEvent":"fc-Ji","internalMoreLink":"fc-N2","internalNavLink":"fc-fI","internalPopover":"fc-1g","internalView":"fc-ca","internalScroller":"fc-7a"};
2
+
3
+ export { classNames as c };
@@ -9,7 +9,7 @@ var l60 = {
9
9
  todayText: 'Сегодня',
10
10
  yearText: 'Год',
11
11
  monthText: 'Месяц',
12
- weekText: 'Неделя',
12
+ weekTextLong: 'Неделя',
13
13
  weekTextShort: 'Нед',
14
14
  dayText: 'День',
15
15
  listText: 'Повестка дня',
@@ -9,7 +9,7 @@ var l42 = {
9
9
  todayText: 'დღეს',
10
10
  yearText: 'წელიწადი',
11
11
  monthText: 'თვე',
12
- weekText: 'კვირა',
12
+ weekTextLong: 'კვირა',
13
13
  weekTextShort: 'კვ',
14
14
  dayText: 'დღე',
15
15
  listText: 'დღის წესრიგი',
@@ -1,15 +1,15 @@
1
- import { o as organizeRawLocales, b as buildLocale, i as initEventSources, r as reduceEventSources, c as computeEventSourcesLoading, d as reduceEventSourcesNewTimeZone, a as globalPlugins, p as parseEventSource } from './6dc90bd0.js';
2
- import { m as memoize, a as memoizeObjArg, N as NowTimerRunner, g as generateClassName, P as PureComponent, b as buildViewContext, c as getIsHeightAuto, V as ViewContextType, B as BaseComponent, C as ContentContainer } from './bf0b5fe7.js';
3
- import { p as parseEvents, j as createEmptyEventStore, B as BASE_OPTION_DEFAULTS, k as BASE_OPTION_REFINERS, C as CALENDAR_LISTENER_REFINERS, l as CALENDAR_ONLY_OPTION_REFINERS, m as COMPLEX_OPTION_COMPARATORS, V as VIEW_ONLY_OPTION_REFINERS, n as mapHash, c as createEventUi, e as createFormatter, o as parseDateSpan, t as triggerDateSelect, q as triggerDateUnselect, u as EventImpl, v as eventTupleToStore, w as EventSourceImpl, h as hashValuesToArray, x as parseEvent, y as eventApiToStore, a as buildEventApis, z as formatWithOrdinals, A as getElEventRange, D as listenBySelector, F as listenToHoverBySelector, G as isArraysEqual, H as isPropsEqualShallow, I as computeViewBorderless } from './a562faae.js';
4
- import { m as mergeCalendarOptions, i as isMergedPropsEqual, a as mergeViewOptionsMap } from './ac2cef10.js';
1
+ import { o as organizeRawLocales, b as buildLocale, i as initEventSources, r as reduceEventSources, c as computeEventSourcesLoading, d as reduceEventSourcesNewTimeZone, a as globalPlugins, p as parseEventSource } from './ef24f7de.js';
2
+ import { m as memoize, a as memoizeObjArg, N as NowTimerRunner, g as generateClassName, P as PureComponent, b as buildViewContext, c as getIsHeightAuto, V as ViewContextType, B as BaseComponent, C as ContentContainer } from './2325ef50.js';
3
+ import { p as parseEvents, j as createEmptyEventStore, B as BASE_OPTION_DEFAULTS, k as BASE_OPTION_REFINERS, C as CALENDAR_LISTENER_REFINERS, l as CALENDAR_ONLY_OPTION_REFINERS, m as COMPLEX_OPTION_COMPARATORS, V as VIEW_ONLY_OPTION_REFINERS, n as mapHash, c as createEventUi, w as warn, e as createFormatter, o as parseDateSpan, t as triggerDateSelect, q as triggerDateUnselect, u as EventImpl, v as eventTupleToStore, x as EventSourceImpl, h as hashValuesToArray, y as parseEvent, z as eventApiToStore, a as buildEventApis, A as formatWithOrdinals, D as getElEventRange, F as listenBySelector, G as listenToHoverBySelector, H as isArraysEqual, I as isPropsEqualShallow, J as computeViewBorderless } from './9568f388.js';
4
+ import { m as mergeCalendarOptions, i as isMergedPropsEqual, a as mergeViewOptionsMap } from './e2e9e519.js';
5
5
  import { rangeContainsMarker, DateEnv, createDuration, joinDateTimeFormatParts, greatestDurationDenominator, diffWholeDays } from '@full-ui/headless-calendar';
6
6
  import { jsxs, jsx, Fragment } from 'preact/jsx-runtime';
7
- import { D as DateProfileGenerator } from './cb8d464d.js';
8
- import { r as reduceEventStore, a as rezoneEventStoreDates, I as Interaction, p as parseInteractionSettings, i as interactionSettingsStore } from './764d6626.js';
9
- import { E as Emitter } from './17e93143.js';
10
- import { c as classNames } from './d09da820.js';
7
+ import { j as joinClassNames } from './d83ddbce.js';
8
+ import { D as DateProfileGenerator } from './d3e122bd.js';
9
+ import { r as reduceEventStore, a as rezoneEventStoreDates, I as Interaction, p as parseInteractionSettings, i as interactionSettingsStore } from './428932f2.js';
10
+ import { E as Emitter } from './1e0eda69.js';
11
+ import { c as classNames } from './0488b422.js';
11
12
  import { Component, flushSync, Fragment as Fragment$1, createElement } from 'preact/compat';
12
- import { j as joinClassNames } from './4bcd6f83.js';
13
13
 
14
14
  // TODO: easier way to add new hooks? need to update a million things
15
15
  function refinePluginDef(input) {
@@ -223,8 +223,8 @@ function parseViewConfig(input) {
223
223
  { component: input } :
224
224
  input;
225
225
  let { component } = rawOptions;
226
- if (rawOptions.viewContent) {
227
- component = createViewHookComponent(rawOptions.viewContent);
226
+ if (rawOptions.content) {
227
+ component = createViewHookComponent(rawOptions.content);
228
228
  }
229
229
  else if (component && !(component.prototype instanceof BaseComponent)) {
230
230
  // WHY?: people were using `component` property for `content`
@@ -240,20 +240,22 @@ function parseViewConfig(input) {
240
240
  /*
241
241
  TODO: converge with ViewContainer
242
242
  */
243
- function createViewHookComponent(viewContent) {
243
+ function createViewHookComponent(contentGenerator) {
244
244
  return (viewProps) => (jsx(ViewContextType.Consumer, { children: (context) => {
245
- const { options } = context;
245
+ const { options, viewSpec } = context;
246
246
  const renderProps = {
247
247
  // the "extra" props, for sliceEvents...
248
248
  ...viewProps,
249
249
  nextDayThreshold: options.nextDayThreshold,
250
- // ViewDisplayProp...
250
+ // ViewDisplayInfo...
251
251
  ...computeViewBorderless(options),
252
252
  options: { headerToolbar: options.headerToolbar, footerToolbar: options.footerToolbar },
253
253
  isHeightAuto: getIsHeightAuto(options),
254
254
  view: context.viewApi,
255
255
  };
256
- return (jsx(ContentContainer, { tag: "div", classNameGenerator: options.viewClass, renderProps: renderProps, generatorName: undefined, customGenerator: viewContent, didMount: options.viewDidMount, willUnmount: options.viewWillUnmount }));
256
+ return (jsx(ContentContainer, { tag: "div", className: joinClassNames(generateClassName(options.viewClass, renderProps),
257
+ // WORKAROUND for way calendar's className would get merged into view's className
258
+ generateClassName(viewSpec.optionDefaults.class, renderProps), generateClassName(viewSpec.optionDefaults.className, renderProps), generateClassName(viewSpec.optionOverrides.class, renderProps), generateClassName(viewSpec.optionOverrides.className, renderProps)), renderProps: renderProps, generatorName: undefined, customGenerator: contentGenerator, didMount: options.didMount || options.viewDidMount, willUnmount: options.willUnmount || options.viewWillUnmount }));
257
259
  } }));
258
260
  }
259
261
 
@@ -473,7 +475,10 @@ function parseSection(sectionStr, calendarOptions, viewSpecs, calendarApi) {
473
475
  const buttonTextKey = viewSpec.optionDefaults.buttonTextKey;
474
476
  buttonText = buttonInput.text ||
475
477
  (buttonTextKey ? calendarOptions[buttonTextKey] : '') ||
476
- (viewSpec.singleUnit ? calendarOptions[viewSpec.singleUnit + 'Text'] : '') ||
478
+ (viewSpec.singleUnit
479
+ ? (calendarOptions[viewSpec.singleUnit + 'TextLong'] ||
480
+ calendarOptions[viewSpec.singleUnit + 'Text'])
481
+ : '') ||
477
482
  name;
478
483
  /*
479
484
  buttons{}.hint(viewButtonText, viewName)
@@ -490,10 +495,11 @@ function parseSection(sectionStr, calendarOptions, viewSpecs, calendarApi) {
490
495
  }
491
496
  else {
492
497
  buttonText = buttonInput.text ||
498
+ calendarOptions[name + 'TextLong'] ||
493
499
  calendarOptions[name + 'Text'] ||
494
500
  name;
495
501
  /*
496
- button{}.hint(currentUnitText, currentUnit)
502
+ buttons{}.hint(currentUnitText, currentUnit)
497
503
  prevHint(currentUnitUnitext, currentUnit)
498
504
  nextHint -- same
499
505
  todayHint -- same
@@ -507,8 +513,11 @@ function parseSection(sectionStr, calendarOptions, viewSpecs, calendarApi) {
507
513
  else {
508
514
  buttonHint = (currentUnit) => {
509
515
  return formatWithOrdinals(buttonInput.hint || calendarOptions[name + 'Hint'], // todayHint/prevHint/nextHint
510
- [calendarOptions[currentUnit + 'Text'], currentUnit], // ordinal arguments
511
- buttonText);
516
+ [
517
+ calendarOptions[currentUnit + 'TextLong'] ||
518
+ calendarOptions[currentUnit + 'Text'],
519
+ currentUnit
520
+ ], buttonText);
512
521
  };
513
522
  }
514
523
  buttonClick = (ev) => {
@@ -953,7 +962,7 @@ class CalendarDataManager {
953
962
  return this.stableCalendarOptionsData;
954
963
  }
955
964
  let { refinedOptions, pluginHooks, localeDefaults, availableLocaleData, } = this.processRawCalendarOptions(optionOverrides, dynamicOptionOverrides);
956
- let dateEnv = this.buildDateEnv(refinedOptions.timeZone, refinedOptions.locale, refinedOptions.weekNumberCalculation, refinedOptions.firstDay, refinedOptions.weekText, refinedOptions.weekTextShort, pluginHooks, availableLocaleData);
965
+ let dateEnv = this.buildDateEnv(refinedOptions.timeZone, refinedOptions.locale, refinedOptions.weekNumberCalculation, refinedOptions.firstDay, refinedOptions.weekTextLong, refinedOptions.weekTextShort, pluginHooks, availableLocaleData);
957
966
  let viewSpecs = this.buildViewSpecs(pluginHooks.views, this.stableOptionOverrides, this.stableDynamicOptionOverrides);
958
967
  let toolbarConfig = this.parseToolbars(refinedOptions, viewSpecs, calendarApi);
959
968
  return this.stableCalendarOptionsData = {
@@ -992,7 +1001,7 @@ class CalendarDataManager {
992
1001
  refined[optionName] = currentRefined[optionName];
993
1002
  }
994
1003
  else if (refiners[optionName]) {
995
- refined[optionName] = refiners[optionName](raw[optionName]);
1004
+ refined[optionName] = refiners[optionName](raw[optionName], optionName);
996
1005
  anyChanges = true;
997
1006
  }
998
1007
  }
@@ -1069,7 +1078,7 @@ class CalendarDataManager {
1069
1078
  }
1070
1079
  }
1071
1080
  else if (refiners[optionName]) {
1072
- refined[optionName] = refiners[optionName](raw[optionName]);
1081
+ refined[optionName] = refiners[optionName](raw[optionName], optionName);
1073
1082
  }
1074
1083
  anyChanges = true;
1075
1084
  }
@@ -1084,7 +1093,7 @@ class CalendarDataManager {
1084
1093
  };
1085
1094
  }
1086
1095
  }
1087
- function buildDateEnv(timeZone, explicitLocale, weekNumberCalculation, firstDay, weekText, weekTextShort, pluginHooks, availableLocaleData) {
1096
+ function buildDateEnv(timeZone, explicitLocale, weekNumberCalculation, firstDay, weekTextLong, weekTextShort, pluginHooks, availableLocaleData) {
1088
1097
  let locale = buildLocale(explicitLocale || availableLocaleData.defaultCode, availableLocaleData.map);
1089
1098
  return new DateEnv({
1090
1099
  calendarSystem: 'gregory', // TODO: make this a setting
@@ -1092,7 +1101,7 @@ function buildDateEnv(timeZone, explicitLocale, weekNumberCalculation, firstDay,
1092
1101
  locale,
1093
1102
  weekNumberCalculation,
1094
1103
  firstDay,
1095
- weekText,
1104
+ weekTextLong,
1096
1105
  weekTextShort,
1097
1106
  cmdFormatter: pluginHooks.cmdFormatter,
1098
1107
  });
@@ -1155,12 +1164,17 @@ function computeIsLoading(state, context) {
1155
1164
  function parseContextBusinessHours(calendarContext) {
1156
1165
  return parseBusinessHours(calendarContext.options.businessHours, calendarContext);
1157
1166
  }
1167
+ const warnedUnknownOptions = {};
1158
1168
  function filterKnownOptions(options, optionRefiners) {
1159
1169
  const knownOptions = {};
1160
1170
  for (const optionName in options) {
1161
1171
  if (optionRefiners[optionName]) {
1162
1172
  knownOptions[optionName] = options[optionName];
1163
1173
  }
1174
+ else if (!warnedUnknownOptions[optionName]) {
1175
+ warn(`Unknown option \`${optionName}\`.`);
1176
+ warnedUnknownOptions[optionName] = true;
1177
+ }
1164
1178
  }
1165
1179
  return knownOptions;
1166
1180
  }
@@ -1213,7 +1227,7 @@ class CalendarApiImpl {
1213
1227
  currentDataManager.emitter.on(handlerName, handler);
1214
1228
  }
1215
1229
  else {
1216
- console.warn(`Unknown listener name '${handlerName}'`);
1230
+ warn(`Unknown listener \`${handlerName}\`.`);
1217
1231
  }
1218
1232
  }
1219
1233
  off(handlerName, handler) {
@@ -1437,7 +1451,7 @@ class CalendarApiImpl {
1437
1451
  else if (sourceInput != null) { // an ID. accepts a number too
1438
1452
  let sourceApi = this.getEventSourceById(sourceInput); // TODO: use an internal function
1439
1453
  if (!sourceApi) {
1440
- console.warn(`Could not find an event source with ID "${sourceInput}"`); // TODO: test
1454
+ warn(`Unknown event source ID \`${sourceInput}\`.`); // TODO: test
1441
1455
  return null;
1442
1456
  }
1443
1457
  eventSource = sourceApi.internalEventSource;
@@ -1558,20 +1572,25 @@ class CalendarApiImpl {
1558
1572
  const options = currentData.calendarOptions;
1559
1573
  const buttonConfigs = options.buttons || {};
1560
1574
  const viewSpecs = currentData.viewSpecs;
1575
+ const currentUnit = currentData.viewSpec.singleUnit;
1576
+ const currentHintOrdinal = [
1577
+ currentUnit ? getSingleUnitText(currentUnit, options) : '',
1578
+ currentUnit,
1579
+ ];
1561
1580
  const buttonState = {
1562
1581
  today: {
1563
1582
  text: options.todayText,
1564
- hint: options.todayHint,
1583
+ hint: formatWithOrdinals(options.todayHint, currentHintOrdinal, options.todayText),
1565
1584
  isDisabled: !toolbarProps.isTodayEnabled,
1566
1585
  },
1567
1586
  prev: {
1568
1587
  text: options.prevText,
1569
- hint: options.prevHint,
1588
+ hint: formatWithOrdinals(options.prevHint, currentHintOrdinal, options.prevText),
1570
1589
  isDisabled: !toolbarProps.isPrevEnabled,
1571
1590
  },
1572
1591
  next: {
1573
1592
  text: options.nextText,
1574
- hint: options.nextHint,
1593
+ hint: formatWithOrdinals(options.nextHint, currentHintOrdinal, options.nextText),
1575
1594
  isDisabled: !toolbarProps.isNextEnabled,
1576
1595
  },
1577
1596
  prevYear: {
@@ -1587,10 +1606,11 @@ class CalendarApiImpl {
1587
1606
  };
1588
1607
  for (const viewSpecName in viewSpecs) {
1589
1608
  const viewSpec = viewSpecs[viewSpecName];
1609
+ const { singleUnit } = viewSpec;
1590
1610
  const buttonTextKey = viewSpec.optionDefaults.buttonTextKey;
1591
1611
  const buttonText = buttonConfigs[viewSpecName]?.text ||
1592
1612
  (buttonTextKey ? options[buttonTextKey] : '') ||
1593
- (viewSpec.singleUnit ? options[viewSpec.singleUnit + 'Text'] : '') ||
1613
+ (singleUnit ? getSingleUnitText(singleUnit, options) : '') ||
1594
1614
  viewSpecName;
1595
1615
  const buttonHint = formatWithOrdinals(options.viewHint, [buttonText, viewSpecName], // ordinal arguments
1596
1616
  buttonText);
@@ -1602,6 +1622,9 @@ class CalendarApiImpl {
1602
1622
  return buttonState;
1603
1623
  }
1604
1624
  }
1625
+ function getSingleUnitText(singleUnit, options) {
1626
+ return options[singleUnit + 'TextLong'] || options[singleUnit + 'Text'];
1627
+ }
1605
1628
 
1606
1629
  class CalendarMediaRoot extends Component {
1607
1630
  constructor() {
@@ -1,4 +1,4 @@
1
- import { aE as CalendarApiImpl, k as CalendarOptions } from './4fa5ed5e.js';
1
+ import { aG as CalendarApiImpl, k as CalendarOptions } from './20a4cab4.js';
2
2
 
3
3
  declare class Calendar extends CalendarApiImpl {
4
4
  el: HTMLElement;
@@ -9,7 +9,7 @@ var l66 = {
9
9
  todayText: 'Данас',
10
10
  yearText: 'Година',
11
11
  monthText: 'Месец',
12
- weekText: 'Недеља',
12
+ weekTextLong: 'Недеља',
13
13
  weekTextShort: 'Сед',
14
14
  dayText: 'Дан',
15
15
  listText: 'Планер',
@@ -10,7 +10,7 @@ var l4 = {
10
10
  todayText: 'اليوم',
11
11
  yearText: 'سنة',
12
12
  monthText: 'شهر',
13
- weekText: 'أسبوع',
13
+ weekTextLong: 'أسبوع',
14
14
  dayText: 'يوم',
15
15
  listText: 'أجندة',
16
16
  allDayText: 'اليوم كله',
@@ -9,7 +9,7 @@ var l71 = {
9
9
  todayText: 'bugün',
10
10
  yearText: 'Yıl',
11
11
  monthText: 'Ay',
12
- weekText: 'Hafta',
12
+ weekTextLong: 'Hafta',
13
13
  weekTextShort: 'Hf',
14
14
  dayText: 'Gün',
15
15
  listText: 'Ajanda',
@@ -1,9 +1,9 @@
1
1
  import { jsx, Fragment, jsxs } from 'preact/jsx-runtime';
2
- import { j as joinClassNames } from './4bcd6f83.js';
2
+ import { j as joinClassNames } from './d83ddbce.js';
3
3
  import { formatDayString, intersectRanges, startOfDay, addDays, joinDateTimeFormatParts } from '@full-ui/headless-calendar';
4
- import { e as DateComponent, m as memoize, c as getIsHeightAuto, f as ViewContainer, S as Scroller, C as ContentContainer, g as generateClassName, d as NowTimer, B as BaseComponent, h as getDateMeta, i as buildDateStr, W as WEEKDAY_ONLY_FORMAT, F as FULL_DATE_FORMAT, j as StandardEvent, k as findWeekdayText, l as findDayNumberText, n as buildNavLinkAttrs, r as renderText } from './bf0b5fe7.js';
5
- import { e as createFormatter, s as sliceEventStore, a7 as sortEventSegs, a8 as getEventKey, a9 as getEventRangeMeta } from './a562faae.js';
6
- import { c as classNames } from './d09da820.js';
4
+ import { e as DateComponent, m as memoize, c as getIsHeightAuto, f as ViewContainer, S as Scroller, C as ContentContainer, g as generateClassName, d as NowTimer, B as BaseComponent, h as getDateMeta, i as buildDateStr, W as WEEKDAY_ONLY_FORMAT, F as FULL_DATE_FORMAT, j as StandardEvent, k as findWeekdayText, l as findDayNumberText, n as buildNavLinkAttrs, r as renderText } from './2325ef50.js';
5
+ import { e as createFormatter, s as sliceEventStore, a9 as sortEventSegs, aa as getEventKey, ab as getEventRangeMeta } from './9568f388.js';
6
+ import { c as classNames } from './0488b422.js';
7
7
 
8
8
  class ListDayHeaderInner extends BaseComponent {
9
9
  render() {
@@ -10,7 +10,7 @@ var l7 = {
10
10
  todayText: 'اليوم',
11
11
  yearText: 'سنة',
12
12
  monthText: 'شهر',
13
- weekText: 'أسبوع',
13
+ weekTextLong: 'أسبوع',
14
14
  dayText: 'يوم',
15
15
  listText: 'أجندة',
16
16
  allDayText: 'اليوم كله',
@@ -5,7 +5,7 @@ var l41 = {
5
5
  todayText: '今日',
6
6
  yearText: '年',
7
7
  monthText: '月',
8
- weekText: '週',
8
+ weekTextLong: '週',
9
9
  dayText: '日',
10
10
  listText: '予定リスト',
11
11
  allDayText: '終日',
@@ -9,7 +9,7 @@ var l34 = {
9
9
  todayText: 'आज',
10
10
  yearText: 'वर्ष',
11
11
  monthText: 'महीना',
12
- weekText: 'सप्ताह',
12
+ weekTextLong: 'सप्ताह',
13
13
  weekTextShort: 'हफ्ता',
14
14
  dayText: 'दिन',
15
15
  listText: 'कार्यसूची',
@@ -5,7 +5,7 @@ var l64 = {
5
5
  todayText: 'Aso nei',
6
6
  yearText: 'Tausaga',
7
7
  monthText: 'Masina',
8
- weekText: 'Vaiaso',
8
+ weekTextLong: 'Vaiaso',
9
9
  dayText: 'Aso',
10
10
  listText: 'Faasologa',
11
11
  allDayText: 'Aso atoa',