wonder-image 2.1.2-alpha.2 → 2.1.2-alpha.21

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 (629) hide show
  1. package/README.md +2 -0
  2. package/dist/backend/body-end.js +1 -2
  3. package/dist/backend/body-end.js.map +1 -1
  4. package/dist/backend/head.css +1 -1
  5. package/dist/backend/head.css.map +1 -1
  6. package/dist/backend/head.js +1 -1
  7. package/dist/backend/head.js.LICENSE.txt +0 -1015
  8. package/dist/backend/head.js.map +1 -1
  9. package/dist/backend/lib.js +0 -1
  10. package/dist/frontend/body-end.js +0 -1
  11. package/dist/frontend/body-end.js.map +1 -1
  12. package/dist/frontend/head.css +1 -1
  13. package/dist/frontend/head.css.map +1 -1
  14. package/dist/frontend/head.js +1 -2
  15. package/dist/frontend/head.js.map +1 -1
  16. package/dist/frontend/lib.js +0 -1
  17. package/dist/frontend/lib.js.map +1 -1
  18. package/dist/images/flags/1x1/cn.svg +11 -0
  19. package/dist/images/flags/1x1/cu.svg +13 -0
  20. package/dist/images/flags/1x1/cv.svg +13 -0
  21. package/dist/images/flags/1x1/cw.svg +14 -0
  22. package/dist/images/flags/1x1/de.svg +5 -0
  23. package/dist/images/flags/1x1/dk.svg +5 -0
  24. package/dist/images/flags/1x1/do.svg +122 -0
  25. package/dist/images/flags/1x1/ee.svg +5 -0
  26. package/dist/images/flags/1x1/eh.svg +11 -0
  27. package/dist/images/flags/1x1/er.svg +13 -0
  28. package/dist/images/flags/1x1/eu.svg +28 -0
  29. package/dist/images/flags/1x1/fi.svg +5 -0
  30. package/dist/images/flags/1x1/fj.svg +123 -0
  31. package/dist/images/flags/1x1/fr.svg +5 -0
  32. package/dist/images/flags/1x1/gb.svg +7 -0
  33. package/dist/images/flags/1x1/gf.svg +5 -0
  34. package/dist/images/flags/1x1/gh.svg +6 -0
  35. package/dist/images/flags/1x1/gn.svg +7 -0
  36. package/dist/images/flags/1x1/gp.svg +5 -0
  37. package/dist/images/flags/1x1/gq.svg +23 -0
  38. package/dist/images/flags/1x1/gr.svg +16 -0
  39. package/dist/images/flags/1x1/gs.svg +132 -0
  40. package/dist/images/flags/1x1/gt.svg +204 -0
  41. package/dist/images/flags/1x1/gu.svg +19 -0
  42. package/dist/images/flags/1x1/gw.svg +15 -0
  43. package/dist/images/flags/1x1/gy.svg +9 -0
  44. package/dist/images/flags/1x1/hm.svg +8 -0
  45. package/dist/images/flags/1x1/hn.svg +18 -0
  46. package/dist/images/flags/1x1/ht.svg +116 -0
  47. package/dist/images/flags/1x1/hu.svg +7 -0
  48. package/dist/images/flags/1x1/id.svg +4 -0
  49. package/dist/images/flags/1x1/im.svg +36 -0
  50. package/dist/images/flags/1x1/in.svg +25 -0
  51. package/dist/images/flags/1x1/iq.svg +10 -0
  52. package/dist/images/flags/1x1/ir.svg +219 -0
  53. package/dist/images/flags/1x1/is.svg +12 -0
  54. package/dist/images/flags/1x1/it.svg +7 -0
  55. package/dist/images/flags/1x1/jm.svg +8 -0
  56. package/dist/images/flags/1x1/kh.svg +61 -0
  57. package/dist/images/flags/1x1/km.svg +16 -0
  58. package/dist/images/flags/1x1/kw.svg +13 -0
  59. package/dist/images/flags/1x1/lb.svg +15 -0
  60. package/dist/images/flags/1x1/ls.svg +8 -0
  61. package/dist/images/flags/1x1/ma.svg +4 -0
  62. package/dist/images/flags/1x1/mc.svg +6 -0
  63. package/dist/images/flags/1x1/mg.svg +7 -0
  64. package/dist/images/flags/1x1/mm.svg +10 -0
  65. package/dist/images/flags/1x1/mo.svg +9 -0
  66. package/dist/images/flags/1x1/mp.svg +86 -0
  67. package/dist/images/flags/1x1/ms.svg +25 -0
  68. package/dist/images/flags/1x1/mw.svg +15 -0
  69. package/dist/images/flags/1x1/mx.svg +377 -0
  70. package/dist/images/flags/1x1/ni.svg +129 -0
  71. package/dist/images/flags/1x1/nu.svg +10 -0
  72. package/dist/images/flags/1x1/om.svg +115 -0
  73. package/dist/images/flags/1x1/pa.svg +13 -0
  74. package/dist/images/flags/1x1/pc.svg +33 -0
  75. package/dist/images/flags/1x1/pf.svg +18 -0
  76. package/dist/images/flags/1x1/pk.svg +15 -0
  77. package/dist/images/flags/1x1/pl.svg +6 -0
  78. package/dist/images/flags/1x1/pr.svg +13 -0
  79. package/dist/images/flags/1x1/pt.svg +57 -0
  80. package/dist/images/flags/1x1/pw.svg +11 -0
  81. package/dist/images/flags/1x1/ru.svg +5 -0
  82. package/dist/images/flags/1x1/sb.svg +13 -0
  83. package/dist/images/flags/1x1/sh.svg +7 -0
  84. package/dist/images/flags/1x1/sj.svg +7 -0
  85. package/dist/images/flags/1x1/sk.svg +9 -0
  86. package/dist/images/flags/1x1/sn.svg +8 -0
  87. package/dist/images/flags/1x1/ss.svg +8 -0
  88. package/dist/images/flags/1x1/sx.svg +56 -0
  89. package/dist/images/flags/1x1/sz.svg +34 -0
  90. package/dist/images/flags/1x1/tc.svg +50 -0
  91. package/dist/images/flags/1x1/tf.svg +15 -0
  92. package/dist/images/flags/1x1/tj.svg +26 -0
  93. package/dist/images/flags/1x1/tk.svg +5 -0
  94. package/dist/images/flags/1x1/tl.svg +13 -0
  95. package/dist/images/flags/1x1/tm.svg +205 -0
  96. package/dist/images/flags/1x1/to.svg +10 -0
  97. package/dist/images/flags/1x1/tt.svg +7 -0
  98. package/dist/images/flags/1x1/tw.svg +32 -0
  99. package/dist/images/flags/1x1/ug.svg +30 -0
  100. package/dist/images/flags/1x1/us.svg +9 -0
  101. package/dist/images/flags/1x1/uy.svg +28 -0
  102. package/dist/images/flags/1x1/uz.svg +30 -0
  103. package/dist/images/flags/1x1/vi.svg +28 -0
  104. package/dist/images/flags/1x1/vn.svg +11 -0
  105. package/dist/images/flags/1x1/vu.svg +21 -0
  106. package/dist/images/flags/1x1/xk.svg +5 -0
  107. package/dist/images/flags/1x1/zw.svg +21 -0
  108. package/dist/images/flags/4x3/ad.svg +150 -0
  109. package/dist/images/flags/4x3/ae.svg +6 -0
  110. package/dist/images/flags/4x3/af.svg +81 -0
  111. package/dist/images/flags/4x3/ag.svg +14 -0
  112. package/dist/images/flags/4x3/ai.svg +29 -0
  113. package/dist/images/flags/4x3/al.svg +5 -0
  114. package/dist/images/flags/4x3/am.svg +5 -0
  115. package/dist/images/flags/4x3/ao.svg +13 -0
  116. package/dist/images/flags/4x3/aq.svg +5 -0
  117. package/dist/images/flags/4x3/ar.svg +32 -0
  118. package/dist/images/flags/4x3/arab.svg +109 -0
  119. package/dist/images/flags/4x3/as.svg +72 -0
  120. package/dist/images/flags/4x3/asean.svg +13 -0
  121. package/dist/images/flags/4x3/at.svg +4 -0
  122. package/dist/images/flags/4x3/au.svg +8 -0
  123. package/dist/images/flags/4x3/aw.svg +186 -0
  124. package/dist/images/flags/4x3/ax.svg +18 -0
  125. package/dist/images/flags/4x3/az.svg +8 -0
  126. package/dist/images/flags/4x3/ba.svg +12 -0
  127. package/dist/images/flags/4x3/bb.svg +6 -0
  128. package/dist/images/flags/4x3/bd.svg +4 -0
  129. package/dist/images/flags/4x3/be.svg +7 -0
  130. package/dist/images/flags/4x3/bf.svg +7 -0
  131. package/dist/images/flags/4x3/bg.svg +5 -0
  132. package/dist/images/flags/4x3/bh.svg +4 -0
  133. package/dist/images/flags/4x3/bi.svg +15 -0
  134. package/dist/images/flags/4x3/bj.svg +14 -0
  135. package/dist/images/flags/4x3/bl.svg +5 -0
  136. package/dist/images/flags/4x3/bm.svg +97 -0
  137. package/dist/images/flags/4x3/bn.svg +36 -0
  138. package/dist/images/flags/4x3/bo.svg +673 -0
  139. package/dist/images/flags/4x3/bq.svg +5 -0
  140. package/dist/images/flags/4x3/br.svg +45 -0
  141. package/dist/images/flags/4x3/bs.svg +13 -0
  142. package/dist/images/flags/4x3/bt.svg +89 -0
  143. package/dist/images/flags/4x3/bv.svg +13 -0
  144. package/dist/images/flags/4x3/bw.svg +7 -0
  145. package/dist/images/flags/4x3/by.svg +18 -0
  146. package/dist/images/flags/4x3/bz.svg +145 -0
  147. package/dist/images/flags/4x3/ca.svg +4 -0
  148. package/dist/images/flags/4x3/cc.svg +19 -0
  149. package/dist/images/flags/4x3/cd.svg +5 -0
  150. package/dist/images/flags/4x3/cefta.svg +13 -0
  151. package/dist/images/flags/4x3/cf.svg +15 -0
  152. package/dist/images/flags/4x3/cg.svg +12 -0
  153. package/dist/images/flags/4x3/ch.svg +9 -0
  154. package/dist/images/flags/4x3/ci.svg +7 -0
  155. package/dist/images/flags/4x3/ck.svg +9 -0
  156. package/dist/images/flags/4x3/cl.svg +13 -0
  157. package/dist/images/flags/4x3/cm.svg +15 -0
  158. package/dist/images/flags/4x3/co.svg +7 -0
  159. package/dist/images/flags/4x3/cp.svg +7 -0
  160. package/dist/images/flags/4x3/cr.svg +7 -0
  161. package/dist/images/flags/4x3/cx.svg +15 -0
  162. package/dist/images/flags/4x3/cy.svg +6 -0
  163. package/dist/images/flags/4x3/cz.svg +5 -0
  164. package/dist/images/flags/4x3/dg.svg +130 -0
  165. package/dist/images/flags/4x3/dj.svg +13 -0
  166. package/dist/images/flags/4x3/dm.svg +152 -0
  167. package/dist/images/flags/4x3/dz.svg +5 -0
  168. package/dist/images/flags/4x3/eac.svg +48 -0
  169. package/dist/images/flags/4x3/ec.svg +138 -0
  170. package/dist/images/flags/4x3/eg.svg +38 -0
  171. package/dist/images/flags/4x3/es-ct.svg +4 -0
  172. package/dist/images/flags/4x3/es-ga.svg +187 -0
  173. package/dist/images/flags/4x3/es-pv.svg +5 -0
  174. package/dist/images/flags/4x3/es.svg +544 -0
  175. package/dist/images/flags/4x3/et.svg +14 -0
  176. package/dist/images/flags/4x3/fk.svg +90 -0
  177. package/dist/images/flags/4x3/fm.svg +11 -0
  178. package/dist/images/flags/4x3/fo.svg +12 -0
  179. package/dist/images/flags/4x3/ga.svg +7 -0
  180. package/dist/images/flags/4x3/gb-eng.svg +5 -0
  181. package/dist/images/flags/4x3/gb-nir.svg +132 -0
  182. package/dist/images/flags/4x3/gb-sct.svg +4 -0
  183. package/dist/images/flags/4x3/gb-wls.svg +9 -0
  184. package/dist/images/flags/4x3/gd.svg +27 -0
  185. package/dist/images/flags/4x3/ge.svg +6 -0
  186. package/dist/images/flags/4x3/gg.svg +9 -0
  187. package/dist/images/flags/4x3/gi.svg +32 -0
  188. package/dist/images/flags/4x3/gl.svg +4 -0
  189. package/dist/images/flags/4x3/gm.svg +14 -0
  190. package/dist/images/flags/4x3/hk.svg +8 -0
  191. package/dist/images/flags/4x3/hr.svg +58 -0
  192. package/dist/images/flags/4x3/ic.svg +7 -0
  193. package/dist/images/flags/4x3/ie.svg +7 -0
  194. package/dist/images/flags/4x3/il.svg +14 -0
  195. package/dist/images/flags/4x3/io.svg +130 -0
  196. package/dist/images/flags/4x3/je.svg +62 -0
  197. package/dist/images/flags/4x3/jo.svg +16 -0
  198. package/dist/images/flags/4x3/jp.svg +11 -0
  199. package/dist/images/flags/4x3/ke.svg +23 -0
  200. package/dist/images/flags/4x3/kg.svg +4 -0
  201. package/dist/images/flags/4x3/ki.svg +36 -0
  202. package/dist/images/flags/4x3/kn.svg +14 -0
  203. package/dist/images/flags/4x3/kp.svg +15 -0
  204. package/dist/images/flags/4x3/kr.svg +24 -0
  205. package/dist/images/flags/4x3/ky.svg +103 -0
  206. package/dist/images/flags/4x3/kz.svg +36 -0
  207. package/dist/images/flags/4x3/la.svg +12 -0
  208. package/dist/images/flags/4x3/lc.svg +8 -0
  209. package/dist/images/flags/4x3/li.svg +43 -0
  210. package/dist/images/flags/4x3/lk.svg +22 -0
  211. package/dist/images/flags/4x3/lr.svg +14 -0
  212. package/dist/images/flags/4x3/lt.svg +7 -0
  213. package/dist/images/flags/4x3/lu.svg +5 -0
  214. package/dist/images/flags/4x3/lv.svg +6 -0
  215. package/dist/images/flags/4x3/ly.svg +13 -0
  216. package/dist/images/flags/4x3/md.svg +70 -0
  217. package/dist/images/flags/4x3/me.svg +116 -0
  218. package/dist/images/flags/4x3/mf.svg +5 -0
  219. package/dist/images/flags/4x3/mh.svg +7 -0
  220. package/dist/images/flags/4x3/mk.svg +5 -0
  221. package/dist/images/flags/4x3/ml.svg +7 -0
  222. package/dist/images/flags/4x3/mn.svg +14 -0
  223. package/dist/images/flags/4x3/mq.svg +5 -0
  224. package/dist/images/flags/4x3/mr.svg +6 -0
  225. package/dist/images/flags/4x3/mt.svg +58 -0
  226. package/dist/images/flags/4x3/mu.svg +8 -0
  227. package/dist/images/flags/4x3/mv.svg +6 -0
  228. package/dist/images/flags/4x3/my.svg +26 -0
  229. package/dist/images/flags/4x3/mz.svg +21 -0
  230. package/dist/images/flags/4x3/na.svg +16 -0
  231. package/dist/images/flags/4x3/nc.svg +13 -0
  232. package/dist/images/flags/4x3/ne.svg +6 -0
  233. package/dist/images/flags/4x3/nf.svg +9 -0
  234. package/dist/images/flags/4x3/ng.svg +6 -0
  235. package/dist/images/flags/4x3/nl.svg +5 -0
  236. package/dist/images/flags/4x3/no.svg +7 -0
  237. package/dist/images/flags/4x3/np.svg +13 -0
  238. package/dist/images/flags/4x3/nr.svg +12 -0
  239. package/dist/images/flags/4x3/nz.svg +36 -0
  240. package/dist/images/flags/4x3/pe.svg +4 -0
  241. package/dist/images/flags/4x3/pg.svg +9 -0
  242. package/dist/images/flags/4x3/ph.svg +6 -0
  243. package/dist/images/flags/4x3/pm.svg +5 -0
  244. package/dist/images/flags/4x3/pn.svg +53 -0
  245. package/dist/images/flags/4x3/ps.svg +6 -0
  246. package/dist/images/flags/4x3/py.svg +157 -0
  247. package/dist/images/flags/4x3/qa.svg +4 -0
  248. package/dist/images/flags/4x3/re.svg +5 -0
  249. package/dist/images/flags/4x3/ro.svg +7 -0
  250. package/dist/images/flags/4x3/rs.svg +292 -0
  251. package/dist/images/flags/4x3/rw.svg +13 -0
  252. package/dist/images/flags/4x3/sa.svg +25 -0
  253. package/dist/images/flags/4x3/sc.svg +7 -0
  254. package/dist/images/flags/4x3/sd.svg +13 -0
  255. package/dist/images/flags/4x3/se.svg +4 -0
  256. package/dist/images/flags/4x3/sg.svg +13 -0
  257. package/dist/images/flags/4x3/sh-ac.svg +689 -0
  258. package/dist/images/flags/4x3/sh-hl.svg +164 -0
  259. package/dist/images/flags/4x3/sh-ta.svg +76 -0
  260. package/dist/images/flags/4x3/si.svg +18 -0
  261. package/dist/images/flags/4x3/sl.svg +7 -0
  262. package/dist/images/flags/4x3/sm.svg +75 -0
  263. package/dist/images/flags/4x3/so.svg +11 -0
  264. package/dist/images/flags/4x3/sr.svg +6 -0
  265. package/dist/images/flags/4x3/st.svg +16 -0
  266. package/dist/images/flags/4x3/sv.svg +593 -0
  267. package/dist/images/flags/4x3/sy.svg +6 -0
  268. package/dist/images/flags/4x3/td.svg +7 -0
  269. package/dist/images/flags/4x3/tg.svg +14 -0
  270. package/dist/images/flags/4x3/th.svg +7 -0
  271. package/dist/images/flags/4x3/tn.svg +4 -0
  272. package/dist/images/flags/4x3/tr.svg +8 -0
  273. package/dist/images/flags/4x3/tv.svg +9 -0
  274. package/dist/images/flags/4x3/tz.svg +13 -0
  275. package/dist/images/flags/4x3/ua.svg +6 -0
  276. package/dist/images/flags/4x3/um.svg +9 -0
  277. package/dist/images/flags/4x3/un.svg +16 -0
  278. package/dist/images/flags/4x3/va.svg +190 -0
  279. package/dist/images/flags/4x3/vc.svg +8 -0
  280. package/dist/images/flags/4x3/ve.svg +26 -0
  281. package/dist/images/flags/4x3/vg.svg +59 -0
  282. package/dist/images/flags/4x3/wf.svg +5 -0
  283. package/dist/images/flags/4x3/ws.svg +7 -0
  284. package/dist/images/flags/4x3/xx.svg +4 -0
  285. package/dist/images/flags/4x3/ye.svg +7 -0
  286. package/dist/images/flags/4x3/yt.svg +5 -0
  287. package/dist/images/flags/4x3/za.svg +17 -0
  288. package/dist/images/flags/4x3/zm.svg +27 -0
  289. package/dist/lib/autonumeric/autonumeric.js +0 -1
  290. package/dist/lib/autonumeric/autonumeric.js.map +1 -1
  291. package/dist/lib/bootstrap/bootstrap-datepicker.js +0 -1
  292. package/dist/lib/bootstrap/bootstrap-datepicker.js.map +1 -1
  293. package/dist/lib/bootstrap/bootstrap-icons.css +1 -1
  294. package/dist/lib/bootstrap/bootstrap-icons.css.map +1 -1
  295. package/dist/lib/bootstrap/bootstrap-icons.js +0 -1
  296. package/dist/lib/bootstrap/bootstrap.js +0 -1
  297. package/dist/lib/bootstrap/bootstrap.js.map +1 -1
  298. package/dist/lib/chartjs/chart.js.LICENSE.txt +1 -1281
  299. package/dist/lib/colorjs/color.js +0 -1
  300. package/dist/lib/colorjs/color.js.map +1 -1
  301. package/dist/lib/datatables/datatables.js.LICENSE.txt +0 -9853
  302. package/dist/lib/dompurify/dompurify.js.LICENSE.txt +0 -908
  303. package/dist/lib/editorjs/editor.js.LICENSE.txt +41 -5629
  304. package/dist/lib/fancyapps/fancyapps.js +0 -1
  305. package/dist/lib/fancyapps/fancyapps.js.map +1 -1
  306. package/dist/lib/filepond/filepond.js.LICENSE.txt +0 -2728
  307. package/dist/lib/fullcalendar/fullcalendar.js +1 -1
  308. package/dist/lib/fullcalendar/fullcalendar.js.LICENSE.txt +0 -3686
  309. package/dist/lib/fullcalendar/fullcalendar.js.map +1 -1
  310. package/dist/lib/image-compare-viewer.js +0 -1
  311. package/dist/lib/jquery/jquery-plugin.js +1 -2
  312. package/dist/lib/jquery/jquery-plugin.js.map +1 -1
  313. package/dist/lib/jquery/jquery.js.LICENSE.txt +0 -3232
  314. package/dist/lib/jstree/jstree.js +0 -1
  315. package/dist/lib/jstree/jstree.js.map +1 -1
  316. package/dist/lib/jszip/jszip.js.LICENSE.txt +0 -42
  317. package/dist/lib/lipis/flag-icons.css +1 -1
  318. package/dist/lib/lipis/flag-icons.css.map +1 -1
  319. package/dist/lib/lipis/flag-icons.js +0 -1
  320. package/dist/lib/moment/moment.js.LICENSE.txt +0 -619
  321. package/dist/lib/quilljs/quill.js +0 -1
  322. package/dist/lib/quilljs/quill.js.map +1 -1
  323. package/dist/lib/rellax/rellax.js +0 -1
  324. package/dist/lib/rellax/rellax.js.map +1 -1
  325. package/dist/lib/select2/select2.js +1 -2
  326. package/dist/lib/select2/select2.js.map +1 -1
  327. package/dist/lib/swiperjs/swiper-plugin.js +0 -1
  328. package/dist/lib/swiperjs/swiper-plugin.js.map +1 -1
  329. package/dist/lib/swiperjs/swiper.js +0 -1
  330. package/dist/lib/swiperjs/swiper.js.map +1 -1
  331. package/dist/lib/videojs/video.js.LICENSE.txt +6 -27809
  332. package/dist/lib/vivus/vivus.js.LICENSE.txt +0 -518
  333. package/index.js +2 -1
  334. package/package.json +23 -21
  335. package/src/class/DeferredContent.js +110 -0
  336. package/dist/backend/body-end.js.LICENSE.txt +0 -44
  337. package/dist/backend/lib.js.LICENSE.txt +0 -1
  338. package/dist/frontend/body-end.js.LICENSE.txt +0 -44
  339. package/dist/frontend/head.js.LICENSE.txt +0 -98
  340. package/dist/frontend/lib.js.LICENSE.txt +0 -239
  341. package/dist/lib/autonumeric/autonumeric.js.LICENSE.txt +0 -49
  342. package/dist/lib/bootstrap/bootstrap-datepicker.js.LICENSE.txt +0 -44
  343. package/dist/lib/bootstrap/bootstrap-icons.js.LICENSE.txt +0 -1
  344. package/dist/lib/bootstrap/bootstrap.js.LICENSE.txt +0 -44
  345. package/dist/lib/colorjs/color.js.LICENSE.txt +0 -7
  346. package/dist/lib/fancyapps/fancyapps.js.LICENSE.txt +0 -9
  347. package/dist/lib/image-compare-viewer.js.LICENSE.txt +0 -3
  348. package/dist/lib/jquery/jquery-plugin.js.LICENSE.txt +0 -1200
  349. package/dist/lib/jstree/jstree.js.LICENSE.txt +0 -44
  350. package/dist/lib/lipis/flag-icons.js.LICENSE.txt +0 -1
  351. package/dist/lib/pdfmake/pdfmake.js +0 -3
  352. package/dist/lib/pdfmake/pdfmake.js.LICENSE.txt +0 -13375
  353. package/dist/lib/pdfmake/pdfmake.js.map +0 -1
  354. package/dist/lib/quilljs/quill.js.LICENSE.txt +0 -3068
  355. package/dist/lib/rellax/rellax.js.LICENSE.txt +0 -143
  356. package/dist/lib/select2/select2.js.LICENSE.txt +0 -3761
  357. package/dist/lib/swiperjs/swiper-plugin.js.LICENSE.txt +0 -1174
  358. package/dist/lib/swiperjs/swiper.js.LICENSE.txt +0 -673
  359. /package/dist/images/{ad.svg → flags/1x1/ad.svg} +0 -0
  360. /package/dist/images/{ae.svg → flags/1x1/ae.svg} +0 -0
  361. /package/dist/images/{af.svg → flags/1x1/af.svg} +0 -0
  362. /package/dist/images/{ag.svg → flags/1x1/ag.svg} +0 -0
  363. /package/dist/images/{ai.svg → flags/1x1/ai.svg} +0 -0
  364. /package/dist/images/{al.svg → flags/1x1/al.svg} +0 -0
  365. /package/dist/images/{am.svg → flags/1x1/am.svg} +0 -0
  366. /package/dist/images/{ao.svg → flags/1x1/ao.svg} +0 -0
  367. /package/dist/images/{aq.svg → flags/1x1/aq.svg} +0 -0
  368. /package/dist/images/{ar.svg → flags/1x1/ar.svg} +0 -0
  369. /package/dist/images/{arab.svg → flags/1x1/arab.svg} +0 -0
  370. /package/dist/images/{as.svg → flags/1x1/as.svg} +0 -0
  371. /package/dist/images/{asean.svg → flags/1x1/asean.svg} +0 -0
  372. /package/dist/images/{at.svg → flags/1x1/at.svg} +0 -0
  373. /package/dist/images/{au.svg → flags/1x1/au.svg} +0 -0
  374. /package/dist/images/{aw.svg → flags/1x1/aw.svg} +0 -0
  375. /package/dist/images/{ax.svg → flags/1x1/ax.svg} +0 -0
  376. /package/dist/images/{az.svg → flags/1x1/az.svg} +0 -0
  377. /package/dist/images/{ba.svg → flags/1x1/ba.svg} +0 -0
  378. /package/dist/images/{bb.svg → flags/1x1/bb.svg} +0 -0
  379. /package/dist/images/{bd.svg → flags/1x1/bd.svg} +0 -0
  380. /package/dist/images/{be.svg → flags/1x1/be.svg} +0 -0
  381. /package/dist/images/{bf.svg → flags/1x1/bf.svg} +0 -0
  382. /package/dist/images/{bg.svg → flags/1x1/bg.svg} +0 -0
  383. /package/dist/images/{bh.svg → flags/1x1/bh.svg} +0 -0
  384. /package/dist/images/{bi.svg → flags/1x1/bi.svg} +0 -0
  385. /package/dist/images/{bj.svg → flags/1x1/bj.svg} +0 -0
  386. /package/dist/images/{bl.svg → flags/1x1/bl.svg} +0 -0
  387. /package/dist/images/{bm.svg → flags/1x1/bm.svg} +0 -0
  388. /package/dist/images/{bn.svg → flags/1x1/bn.svg} +0 -0
  389. /package/dist/images/{bo.svg → flags/1x1/bo.svg} +0 -0
  390. /package/dist/images/{bq.svg → flags/1x1/bq.svg} +0 -0
  391. /package/dist/images/{br.svg → flags/1x1/br.svg} +0 -0
  392. /package/dist/images/{bs.svg → flags/1x1/bs.svg} +0 -0
  393. /package/dist/images/{bt.svg → flags/1x1/bt.svg} +0 -0
  394. /package/dist/images/{bv.svg → flags/1x1/bv.svg} +0 -0
  395. /package/dist/images/{bw.svg → flags/1x1/bw.svg} +0 -0
  396. /package/dist/images/{by.svg → flags/1x1/by.svg} +0 -0
  397. /package/dist/images/{bz.svg → flags/1x1/bz.svg} +0 -0
  398. /package/dist/images/{ca.svg → flags/1x1/ca.svg} +0 -0
  399. /package/dist/images/{cc.svg → flags/1x1/cc.svg} +0 -0
  400. /package/dist/images/{cd.svg → flags/1x1/cd.svg} +0 -0
  401. /package/dist/images/{cefta.svg → flags/1x1/cefta.svg} +0 -0
  402. /package/dist/images/{cf.svg → flags/1x1/cf.svg} +0 -0
  403. /package/dist/images/{cg.svg → flags/1x1/cg.svg} +0 -0
  404. /package/dist/images/{ch.svg → flags/1x1/ch.svg} +0 -0
  405. /package/dist/images/{ci.svg → flags/1x1/ci.svg} +0 -0
  406. /package/dist/images/{ck.svg → flags/1x1/ck.svg} +0 -0
  407. /package/dist/images/{cl.svg → flags/1x1/cl.svg} +0 -0
  408. /package/dist/images/{cm.svg → flags/1x1/cm.svg} +0 -0
  409. /package/dist/images/{co.svg → flags/1x1/co.svg} +0 -0
  410. /package/dist/images/{cp.svg → flags/1x1/cp.svg} +0 -0
  411. /package/dist/images/{cr.svg → flags/1x1/cr.svg} +0 -0
  412. /package/dist/images/{cx.svg → flags/1x1/cx.svg} +0 -0
  413. /package/dist/images/{cy.svg → flags/1x1/cy.svg} +0 -0
  414. /package/dist/images/{cz.svg → flags/1x1/cz.svg} +0 -0
  415. /package/dist/images/{dg.svg → flags/1x1/dg.svg} +0 -0
  416. /package/dist/images/{dj.svg → flags/1x1/dj.svg} +0 -0
  417. /package/dist/images/{dm.svg → flags/1x1/dm.svg} +0 -0
  418. /package/dist/images/{dz.svg → flags/1x1/dz.svg} +0 -0
  419. /package/dist/images/{eac.svg → flags/1x1/eac.svg} +0 -0
  420. /package/dist/images/{ec.svg → flags/1x1/ec.svg} +0 -0
  421. /package/dist/images/{eg.svg → flags/1x1/eg.svg} +0 -0
  422. /package/dist/images/{es-ct.svg → flags/1x1/es-ct.svg} +0 -0
  423. /package/dist/images/{es-ga.svg → flags/1x1/es-ga.svg} +0 -0
  424. /package/dist/images/{es-pv.svg → flags/1x1/es-pv.svg} +0 -0
  425. /package/dist/images/{es.svg → flags/1x1/es.svg} +0 -0
  426. /package/dist/images/{et.svg → flags/1x1/et.svg} +0 -0
  427. /package/dist/images/{fk.svg → flags/1x1/fk.svg} +0 -0
  428. /package/dist/images/{fm.svg → flags/1x1/fm.svg} +0 -0
  429. /package/dist/images/{fo.svg → flags/1x1/fo.svg} +0 -0
  430. /package/dist/images/{ga.svg → flags/1x1/ga.svg} +0 -0
  431. /package/dist/images/{gb-eng.svg → flags/1x1/gb-eng.svg} +0 -0
  432. /package/dist/images/{gb-nir.svg → flags/1x1/gb-nir.svg} +0 -0
  433. /package/dist/images/{gb-sct.svg → flags/1x1/gb-sct.svg} +0 -0
  434. /package/dist/images/{gb-wls.svg → flags/1x1/gb-wls.svg} +0 -0
  435. /package/dist/images/{gd.svg → flags/1x1/gd.svg} +0 -0
  436. /package/dist/images/{ge.svg → flags/1x1/ge.svg} +0 -0
  437. /package/dist/images/{gg.svg → flags/1x1/gg.svg} +0 -0
  438. /package/dist/images/{gi.svg → flags/1x1/gi.svg} +0 -0
  439. /package/dist/images/{gl.svg → flags/1x1/gl.svg} +0 -0
  440. /package/dist/images/{gm.svg → flags/1x1/gm.svg} +0 -0
  441. /package/dist/images/{hk.svg → flags/1x1/hk.svg} +0 -0
  442. /package/dist/images/{hr.svg → flags/1x1/hr.svg} +0 -0
  443. /package/dist/images/{ic.svg → flags/1x1/ic.svg} +0 -0
  444. /package/dist/images/{ie.svg → flags/1x1/ie.svg} +0 -0
  445. /package/dist/images/{il.svg → flags/1x1/il.svg} +0 -0
  446. /package/dist/images/{io.svg → flags/1x1/io.svg} +0 -0
  447. /package/dist/images/{je.svg → flags/1x1/je.svg} +0 -0
  448. /package/dist/images/{jo.svg → flags/1x1/jo.svg} +0 -0
  449. /package/dist/images/{jp.svg → flags/1x1/jp.svg} +0 -0
  450. /package/dist/images/{ke.svg → flags/1x1/ke.svg} +0 -0
  451. /package/dist/images/{kg.svg → flags/1x1/kg.svg} +0 -0
  452. /package/dist/images/{ki.svg → flags/1x1/ki.svg} +0 -0
  453. /package/dist/images/{kn.svg → flags/1x1/kn.svg} +0 -0
  454. /package/dist/images/{kp.svg → flags/1x1/kp.svg} +0 -0
  455. /package/dist/images/{kr.svg → flags/1x1/kr.svg} +0 -0
  456. /package/dist/images/{ky.svg → flags/1x1/ky.svg} +0 -0
  457. /package/dist/images/{kz.svg → flags/1x1/kz.svg} +0 -0
  458. /package/dist/images/{la.svg → flags/1x1/la.svg} +0 -0
  459. /package/dist/images/{lc.svg → flags/1x1/lc.svg} +0 -0
  460. /package/dist/images/{li.svg → flags/1x1/li.svg} +0 -0
  461. /package/dist/images/{lk.svg → flags/1x1/lk.svg} +0 -0
  462. /package/dist/images/{lr.svg → flags/1x1/lr.svg} +0 -0
  463. /package/dist/images/{lt.svg → flags/1x1/lt.svg} +0 -0
  464. /package/dist/images/{lu.svg → flags/1x1/lu.svg} +0 -0
  465. /package/dist/images/{lv.svg → flags/1x1/lv.svg} +0 -0
  466. /package/dist/images/{ly.svg → flags/1x1/ly.svg} +0 -0
  467. /package/dist/images/{md.svg → flags/1x1/md.svg} +0 -0
  468. /package/dist/images/{me.svg → flags/1x1/me.svg} +0 -0
  469. /package/dist/images/{mf.svg → flags/1x1/mf.svg} +0 -0
  470. /package/dist/images/{mh.svg → flags/1x1/mh.svg} +0 -0
  471. /package/dist/images/{mk.svg → flags/1x1/mk.svg} +0 -0
  472. /package/dist/images/{ml.svg → flags/1x1/ml.svg} +0 -0
  473. /package/dist/images/{mn.svg → flags/1x1/mn.svg} +0 -0
  474. /package/dist/images/{mq.svg → flags/1x1/mq.svg} +0 -0
  475. /package/dist/images/{mr.svg → flags/1x1/mr.svg} +0 -0
  476. /package/dist/images/{mt.svg → flags/1x1/mt.svg} +0 -0
  477. /package/dist/images/{mu.svg → flags/1x1/mu.svg} +0 -0
  478. /package/dist/images/{mv.svg → flags/1x1/mv.svg} +0 -0
  479. /package/dist/images/{my.svg → flags/1x1/my.svg} +0 -0
  480. /package/dist/images/{mz.svg → flags/1x1/mz.svg} +0 -0
  481. /package/dist/images/{na.svg → flags/1x1/na.svg} +0 -0
  482. /package/dist/images/{nc.svg → flags/1x1/nc.svg} +0 -0
  483. /package/dist/images/{ne.svg → flags/1x1/ne.svg} +0 -0
  484. /package/dist/images/{nf.svg → flags/1x1/nf.svg} +0 -0
  485. /package/dist/images/{ng.svg → flags/1x1/ng.svg} +0 -0
  486. /package/dist/images/{nl.svg → flags/1x1/nl.svg} +0 -0
  487. /package/dist/images/{no.svg → flags/1x1/no.svg} +0 -0
  488. /package/dist/images/{np.svg → flags/1x1/np.svg} +0 -0
  489. /package/dist/images/{nr.svg → flags/1x1/nr.svg} +0 -0
  490. /package/dist/images/{nz.svg → flags/1x1/nz.svg} +0 -0
  491. /package/dist/images/{pe.svg → flags/1x1/pe.svg} +0 -0
  492. /package/dist/images/{pg.svg → flags/1x1/pg.svg} +0 -0
  493. /package/dist/images/{ph.svg → flags/1x1/ph.svg} +0 -0
  494. /package/dist/images/{pm.svg → flags/1x1/pm.svg} +0 -0
  495. /package/dist/images/{pn.svg → flags/1x1/pn.svg} +0 -0
  496. /package/dist/images/{ps.svg → flags/1x1/ps.svg} +0 -0
  497. /package/dist/images/{py.svg → flags/1x1/py.svg} +0 -0
  498. /package/dist/images/{qa.svg → flags/1x1/qa.svg} +0 -0
  499. /package/dist/images/{re.svg → flags/1x1/re.svg} +0 -0
  500. /package/dist/images/{ro.svg → flags/1x1/ro.svg} +0 -0
  501. /package/dist/images/{rs.svg → flags/1x1/rs.svg} +0 -0
  502. /package/dist/images/{rw.svg → flags/1x1/rw.svg} +0 -0
  503. /package/dist/images/{sa.svg → flags/1x1/sa.svg} +0 -0
  504. /package/dist/images/{sc.svg → flags/1x1/sc.svg} +0 -0
  505. /package/dist/images/{sd.svg → flags/1x1/sd.svg} +0 -0
  506. /package/dist/images/{se.svg → flags/1x1/se.svg} +0 -0
  507. /package/dist/images/{sg.svg → flags/1x1/sg.svg} +0 -0
  508. /package/dist/images/{sh-ac.svg → flags/1x1/sh-ac.svg} +0 -0
  509. /package/dist/images/{sh-hl.svg → flags/1x1/sh-hl.svg} +0 -0
  510. /package/dist/images/{sh-ta.svg → flags/1x1/sh-ta.svg} +0 -0
  511. /package/dist/images/{si.svg → flags/1x1/si.svg} +0 -0
  512. /package/dist/images/{sl.svg → flags/1x1/sl.svg} +0 -0
  513. /package/dist/images/{sm.svg → flags/1x1/sm.svg} +0 -0
  514. /package/dist/images/{so.svg → flags/1x1/so.svg} +0 -0
  515. /package/dist/images/{sr.svg → flags/1x1/sr.svg} +0 -0
  516. /package/dist/images/{st.svg → flags/1x1/st.svg} +0 -0
  517. /package/dist/images/{sv.svg → flags/1x1/sv.svg} +0 -0
  518. /package/dist/images/{sy.svg → flags/1x1/sy.svg} +0 -0
  519. /package/dist/images/{td.svg → flags/1x1/td.svg} +0 -0
  520. /package/dist/images/{tg.svg → flags/1x1/tg.svg} +0 -0
  521. /package/dist/images/{th.svg → flags/1x1/th.svg} +0 -0
  522. /package/dist/images/{tn.svg → flags/1x1/tn.svg} +0 -0
  523. /package/dist/images/{tr.svg → flags/1x1/tr.svg} +0 -0
  524. /package/dist/images/{tv.svg → flags/1x1/tv.svg} +0 -0
  525. /package/dist/images/{tz.svg → flags/1x1/tz.svg} +0 -0
  526. /package/dist/images/{ua.svg → flags/1x1/ua.svg} +0 -0
  527. /package/dist/images/{um.svg → flags/1x1/um.svg} +0 -0
  528. /package/dist/images/{un.svg → flags/1x1/un.svg} +0 -0
  529. /package/dist/images/{va.svg → flags/1x1/va.svg} +0 -0
  530. /package/dist/images/{vc.svg → flags/1x1/vc.svg} +0 -0
  531. /package/dist/images/{ve.svg → flags/1x1/ve.svg} +0 -0
  532. /package/dist/images/{vg.svg → flags/1x1/vg.svg} +0 -0
  533. /package/dist/images/{wf.svg → flags/1x1/wf.svg} +0 -0
  534. /package/dist/images/{ws.svg → flags/1x1/ws.svg} +0 -0
  535. /package/dist/images/{xx.svg → flags/1x1/xx.svg} +0 -0
  536. /package/dist/images/{ye.svg → flags/1x1/ye.svg} +0 -0
  537. /package/dist/images/{yt.svg → flags/1x1/yt.svg} +0 -0
  538. /package/dist/images/{za.svg → flags/1x1/za.svg} +0 -0
  539. /package/dist/images/{zm.svg → flags/1x1/zm.svg} +0 -0
  540. /package/dist/images/{cn.svg → flags/4x3/cn.svg} +0 -0
  541. /package/dist/images/{cu.svg → flags/4x3/cu.svg} +0 -0
  542. /package/dist/images/{cv.svg → flags/4x3/cv.svg} +0 -0
  543. /package/dist/images/{cw.svg → flags/4x3/cw.svg} +0 -0
  544. /package/dist/images/{de.svg → flags/4x3/de.svg} +0 -0
  545. /package/dist/images/{dk.svg → flags/4x3/dk.svg} +0 -0
  546. /package/dist/images/{do.svg → flags/4x3/do.svg} +0 -0
  547. /package/dist/images/{ee.svg → flags/4x3/ee.svg} +0 -0
  548. /package/dist/images/{eh.svg → flags/4x3/eh.svg} +0 -0
  549. /package/dist/images/{er.svg → flags/4x3/er.svg} +0 -0
  550. /package/dist/images/{eu.svg → flags/4x3/eu.svg} +0 -0
  551. /package/dist/images/{fi.svg → flags/4x3/fi.svg} +0 -0
  552. /package/dist/images/{fj.svg → flags/4x3/fj.svg} +0 -0
  553. /package/dist/images/{fr.svg → flags/4x3/fr.svg} +0 -0
  554. /package/dist/images/{gb.svg → flags/4x3/gb.svg} +0 -0
  555. /package/dist/images/{gf.svg → flags/4x3/gf.svg} +0 -0
  556. /package/dist/images/{gh.svg → flags/4x3/gh.svg} +0 -0
  557. /package/dist/images/{gn.svg → flags/4x3/gn.svg} +0 -0
  558. /package/dist/images/{gp.svg → flags/4x3/gp.svg} +0 -0
  559. /package/dist/images/{gq.svg → flags/4x3/gq.svg} +0 -0
  560. /package/dist/images/{gr.svg → flags/4x3/gr.svg} +0 -0
  561. /package/dist/images/{gs.svg → flags/4x3/gs.svg} +0 -0
  562. /package/dist/images/{gt.svg → flags/4x3/gt.svg} +0 -0
  563. /package/dist/images/{gu.svg → flags/4x3/gu.svg} +0 -0
  564. /package/dist/images/{gw.svg → flags/4x3/gw.svg} +0 -0
  565. /package/dist/images/{gy.svg → flags/4x3/gy.svg} +0 -0
  566. /package/dist/images/{hm.svg → flags/4x3/hm.svg} +0 -0
  567. /package/dist/images/{hn.svg → flags/4x3/hn.svg} +0 -0
  568. /package/dist/images/{ht.svg → flags/4x3/ht.svg} +0 -0
  569. /package/dist/images/{hu.svg → flags/4x3/hu.svg} +0 -0
  570. /package/dist/images/{id.svg → flags/4x3/id.svg} +0 -0
  571. /package/dist/images/{im.svg → flags/4x3/im.svg} +0 -0
  572. /package/dist/images/{in.svg → flags/4x3/in.svg} +0 -0
  573. /package/dist/images/{iq.svg → flags/4x3/iq.svg} +0 -0
  574. /package/dist/images/{ir.svg → flags/4x3/ir.svg} +0 -0
  575. /package/dist/images/{is.svg → flags/4x3/is.svg} +0 -0
  576. /package/dist/images/{it.svg → flags/4x3/it.svg} +0 -0
  577. /package/dist/images/{jm.svg → flags/4x3/jm.svg} +0 -0
  578. /package/dist/images/{kh.svg → flags/4x3/kh.svg} +0 -0
  579. /package/dist/images/{km.svg → flags/4x3/km.svg} +0 -0
  580. /package/dist/images/{kw.svg → flags/4x3/kw.svg} +0 -0
  581. /package/dist/images/{lb.svg → flags/4x3/lb.svg} +0 -0
  582. /package/dist/images/{ls.svg → flags/4x3/ls.svg} +0 -0
  583. /package/dist/images/{ma.svg → flags/4x3/ma.svg} +0 -0
  584. /package/dist/images/{mc.svg → flags/4x3/mc.svg} +0 -0
  585. /package/dist/images/{mg.svg → flags/4x3/mg.svg} +0 -0
  586. /package/dist/images/{mm.svg → flags/4x3/mm.svg} +0 -0
  587. /package/dist/images/{mo.svg → flags/4x3/mo.svg} +0 -0
  588. /package/dist/images/{mp.svg → flags/4x3/mp.svg} +0 -0
  589. /package/dist/images/{ms.svg → flags/4x3/ms.svg} +0 -0
  590. /package/dist/images/{mw.svg → flags/4x3/mw.svg} +0 -0
  591. /package/dist/images/{mx.svg → flags/4x3/mx.svg} +0 -0
  592. /package/dist/images/{ni.svg → flags/4x3/ni.svg} +0 -0
  593. /package/dist/images/{nu.svg → flags/4x3/nu.svg} +0 -0
  594. /package/dist/images/{om.svg → flags/4x3/om.svg} +0 -0
  595. /package/dist/images/{pa.svg → flags/4x3/pa.svg} +0 -0
  596. /package/dist/images/{pc.svg → flags/4x3/pc.svg} +0 -0
  597. /package/dist/images/{pf.svg → flags/4x3/pf.svg} +0 -0
  598. /package/dist/images/{pk.svg → flags/4x3/pk.svg} +0 -0
  599. /package/dist/images/{pl.svg → flags/4x3/pl.svg} +0 -0
  600. /package/dist/images/{pr.svg → flags/4x3/pr.svg} +0 -0
  601. /package/dist/images/{pt.svg → flags/4x3/pt.svg} +0 -0
  602. /package/dist/images/{pw.svg → flags/4x3/pw.svg} +0 -0
  603. /package/dist/images/{ru.svg → flags/4x3/ru.svg} +0 -0
  604. /package/dist/images/{sb.svg → flags/4x3/sb.svg} +0 -0
  605. /package/dist/images/{sh.svg → flags/4x3/sh.svg} +0 -0
  606. /package/dist/images/{sj.svg → flags/4x3/sj.svg} +0 -0
  607. /package/dist/images/{sk.svg → flags/4x3/sk.svg} +0 -0
  608. /package/dist/images/{sn.svg → flags/4x3/sn.svg} +0 -0
  609. /package/dist/images/{ss.svg → flags/4x3/ss.svg} +0 -0
  610. /package/dist/images/{sx.svg → flags/4x3/sx.svg} +0 -0
  611. /package/dist/images/{sz.svg → flags/4x3/sz.svg} +0 -0
  612. /package/dist/images/{tc.svg → flags/4x3/tc.svg} +0 -0
  613. /package/dist/images/{tf.svg → flags/4x3/tf.svg} +0 -0
  614. /package/dist/images/{tj.svg → flags/4x3/tj.svg} +0 -0
  615. /package/dist/images/{tk.svg → flags/4x3/tk.svg} +0 -0
  616. /package/dist/images/{tl.svg → flags/4x3/tl.svg} +0 -0
  617. /package/dist/images/{tm.svg → flags/4x3/tm.svg} +0 -0
  618. /package/dist/images/{to.svg → flags/4x3/to.svg} +0 -0
  619. /package/dist/images/{tt.svg → flags/4x3/tt.svg} +0 -0
  620. /package/dist/images/{tw.svg → flags/4x3/tw.svg} +0 -0
  621. /package/dist/images/{ug.svg → flags/4x3/ug.svg} +0 -0
  622. /package/dist/images/{us.svg → flags/4x3/us.svg} +0 -0
  623. /package/dist/images/{uy.svg → flags/4x3/uy.svg} +0 -0
  624. /package/dist/images/{uz.svg → flags/4x3/uz.svg} +0 -0
  625. /package/dist/images/{vi.svg → flags/4x3/vi.svg} +0 -0
  626. /package/dist/images/{vn.svg → flags/4x3/vn.svg} +0 -0
  627. /package/dist/images/{vu.svg → flags/4x3/vu.svg} +0 -0
  628. /package/dist/images/{xk.svg → flags/4x3/xk.svg} +0 -0
  629. /package/dist/images/{zw.svg → flags/4x3/zw.svg} +0 -0
@@ -1,3633 +1,3 @@
1
- /*
2
- NOTE: BYWEEKDAY is a special case.
3
- RRule() deconstructs the rule.options.byweekday array
4
- into an array of Weekday arguments.
5
- On the other hand, rule.origOptions is an array of Weekdays.
6
- We need to handle both cases here.
7
- It might be worth change RRule to keep the Weekdays.
8
-
9
- Also, BYWEEKDAY (used by RRule) vs. BYDAY (RFC)
10
-
11
- */
12
-
13
- /*
14
- TODO: fix broken RTL scrolling. canScrollLeft always returning false
15
- https://github.com/fullcalendar/fullcalendar/issues/4837
16
- */
17
-
18
- /*
19
- TODO: in the future, always have auto-scroll happen on element where current Hit came from
20
- Ticket: https://github.com/fullcalendar/fullcalendar/issues/4593
21
- */
22
-
23
- /*
24
- known bug: events that are force to be list-item but span multiple days still take up space in later columns
25
- todo: in print view, for multi-day events, don't display title within non-start/end segs
26
- */
27
-
28
- /*
29
- TODO: better way to know about whether there was a selection with the pointer
30
- */
31
-
32
- /*
33
- ghetto debounce. don't race with ScrollGrid's resizing delay. solves #6140
34
- */
35
-
36
- /*
37
- "complete" seg means it has component and eventRange
38
- */
39
-
40
- /*
41
- DUMB: the omitTime arg is dumb. if we omit the time, we want to omit the timezone offset. and if we do that,
42
- might as well use buildIsoString or some other util directly
43
- */
44
-
45
- /*
46
- Does NOT add what hit the `barrier` into hiddenEntries. Should already be done.
47
- */
48
-
49
- /*
50
- TODO: make event struct more responsible for this
51
- */
52
-
53
- /*
54
- console.log('label interval =', timelineView.labelInterval.humanize())
55
- console.log('slot duration =', timelineView.slotDuration.humanize())
56
- console.log('header formats =', timelineView.headerFormats)
57
- console.log('isTimeScale', timelineView.isTimeScale)
58
- console.log('largeUnit', timelineView.largeUnit)
59
- */
60
-
61
- /*
62
- does not care about limits
63
- */
64
-
65
- /*
66
- for ColProps with spans, it would have been great to make a single <col span="">
67
- HOWEVER, Chrome was getting messing up distributing the width to <td>/<th> elements with colspans.
68
- SOLUTION: making individual <col> elements makes Chrome behave.
69
- */
70
-
71
- /*
72
- renders INSIDE of an outer div
73
- */
74
-
75
- /*
76
- this is really inefficient!
77
- TODO: make EventApi::resourceIds a hash or keep an index in the Calendar's state
78
- */
79
-
80
- /*
81
- will normalize the scrollLeft value
82
- */
83
-
84
- /*
85
- ALSO, with the ability to disable touch
86
- */
87
-
88
- /*
89
- An abstraction for a dragging interaction originating on an event.
90
- Does higher-level things than PointerDragger, such as possibly:
91
- - a "mirror" that moves with the pointer
92
- - a minimum number of pixels or other criteria for a true drag to begin
93
-
94
- subclasses must emit:
95
- - pointerdown
96
- - dragstart
97
- - dragmove
98
- - pointerup
99
- - dragend
100
- */
101
-
102
- /*
103
- An effect in which an element follows the movement of a pointer across the screen.
104
- The moving element is a clone of some other element.
105
- Must call start + handleMove + stop.
106
- */
107
-
108
- /*
109
- An object for getting/setting scroll-related information for an element.
110
- Internally, this is done very differently for window versus DOM element,
111
- so this object serves as a common interface.
112
- */
113
-
114
- /*
115
- At the time of instantiation, this object does not know which cmd-formatting system it will use.
116
- It receives this at the time of formatting, as a setting.
117
- */
118
-
119
- /*
120
- BAD: querying icons and text here. should be done at render time
121
- */
122
-
123
- /*
124
- BUG: if `event` was supplied, all previously-given `eventSources` will be wiped out
125
- */
126
-
127
- /*
128
- Detects when the user clicks on an event within a DateComponent
129
- */
130
-
131
- /*
132
- Does UI-framework provide custom way of rendering that does not use Preact VDOM
133
- AND does the calendar's options define custom rendering?
134
- AKA. Should we NOT render the default content?
135
- */
136
-
137
- /*
138
- Event MUST have a recurringDef
139
- */
140
-
141
- /*
142
- For a pointer interaction, automatically scrolls certain scroll containers when the pointer
143
- approaches the edge.
144
-
145
- The caller must call start + handleMove + stop.
146
- */
147
-
148
- /*
149
- Goes beyond mere position:sticky, allows horizontal centering
150
-
151
- REQUIREMENT: fc-sticky elements, if the fc-sticky className is taken away, should NOT have relative or absolute positioning.
152
- This is because we attach the coords with JS, and the VDOM might take away the fc-sticky class but doesn't know kill the positioning.
153
-
154
- TODO: don't query text-align:center. isn't compatible with flexbox centering. instead, check natural X coord within parent container
155
- */
156
-
157
- /*
158
- HACK
159
- TODO: use EventUi system instead of this
160
- */
161
-
162
- /*
163
- Information about what will happen when an external element is dragged-and-dropped
164
- onto a calendar. Contains information for creating an event.
165
- */
166
-
167
- /*
168
- Is a cache for a given element's scroll information (all the info that ScrollController stores)
169
- in addition the "client rectangle" of the element.. the area within the scrollbars.
170
-
171
- The cache can be in one of two modes:
172
- - doesListening:false - ignores when the container is scrolled by someone else
173
- - doesListening:true - watch for scrolling and update the cache
174
- */
175
-
176
- /*
177
- Monitors dragging on an element. Has a number of high-level features:
178
- - minimum distance required before dragging
179
- - minimum wait time ("delay") before dragging
180
- - a mirror element that follows the pointer
181
- */
182
-
183
- /*
184
- Monitors when the user clicks on a specific date/time of a component.
185
- A pointerdown+pointerup on the same "hit" constitutes a click.
186
- */
187
-
188
- /*
189
- NOTE: this can be a public API, especially createElement for hooks.
190
- See examples/typescript-scheduler/src/index.ts
191
- */
192
-
193
- /*
194
- Records offset information for a set of elements, relative to an origin element.
195
- Can record the left/right OR the top/bottom OR both.
196
- Provides methods for querying the cache by position.
197
- */
198
-
199
- /*
200
- Renders the DOM responsible for the subrow expander area,
201
- as well as the space before it (used to align expanders of similar depths)
202
- */
203
-
204
- /*
205
- Specifying nextDayThreshold signals that all-day ranges should be sliced.
206
- */
207
-
208
- /*
209
- TODO: all this would be much easier if we were using a hash!
210
- */
211
-
212
- /*
213
- TODO: discourage meta tag and instead put nonce attribute on placeholder <style> tag
214
- */
215
-
216
- /*
217
- TODO: fix the terminology of "formatter" vs "formatting func"
218
- */
219
-
220
- /*
221
- TODO: make <ScrollGridSection> subcomponent
222
- NOTE: doesn't support collapsibleWidth (which is sortof a hack anyway)
223
- */
224
-
225
- /*
226
- TODO: pass around as EventDefHash!!!
227
- */
228
-
229
- /*
230
- TODO: somehow combine with parseRange?
231
- Will return null if the start/end props were present but parsed invalidly.
232
- */
233
-
234
- /*
235
- TODO: somehow infer OtherArgs from masterCallback?
236
- TODO: infer RefType from masterCallback if provided
237
- */
238
-
239
- /*
240
- TODO: test switching timezones when NO timezone plugin
241
- */
242
-
243
- /*
244
- TODO: use this in more places
245
- */
246
-
247
- /*
248
- This decryption is not meant to be bulletproof. Just a way to remind about an upgrade.
249
- */
250
-
251
- /*
252
- Tracks movement over multiple droppable areas (aka "hits")
253
- that exist in one or more DateComponents.
254
- Relies on an existing draggable.
255
-
256
- emits:
257
- - pointerdown
258
- - dragstart
259
- - hitchange - fires initially, even if not over a hit
260
- - pointerup
261
- - (hitchange - again, to null, if ended over a hit)
262
- - dragend
263
- */
264
-
265
- /*
266
- Tracks when the user selects a portion of time of a component,
267
- constituted by a drag over date cells, with a possible delay at the beginning of the drag.
268
- */
269
-
270
- /*
271
- Triggers events and adds/removes core classNames when the user's pointer
272
- enters/leaves event-elements of a component.
273
- */
274
-
275
- /*
276
- Uses a "pointer" abstraction, which monitors UI events for both mouse and touch.
277
- Tracks when the pointer "drags" on a certain element, meaning down+move+up.
278
-
279
- Also, tracks if there was touch-scrolling.
280
- Also, can prevent touch-scrolling from happening.
281
- Also, can fire pointermove events when scrolling happens underneath, even when no real pointer movement.
282
-
283
- emits:
284
- - pointerdown
285
- - pointermove
286
- - pointerup
287
- */
288
-
289
- /*
290
- When this class is instantiated, it records the offset of an element (relative to the document topleft),
291
- and continues to monitor scrolling, updating the cached coordinates if it needs to.
292
- Does not access the DOM after instantiation, so highly performant.
293
-
294
- Also keeps track of all scrolling/overflow:hidden containers that are parents of the given element
295
- and an determine if a given point is inside the combined clipping rectangle.
296
- */
297
-
298
- /*
299
- Will NOT populate extendedProps with the leftover properties.
300
- Will NOT populate date-related props.
301
- */
302
-
303
- /*
304
- an INTERACTABLE date component
305
-
306
- PURPOSES:
307
- - hook up to fg, fill, and mirror renderers
308
- - interface for dragging and hits
309
- */
310
-
311
- /*
312
- assumed "true" equality for handler names like "onReceiveSomething"
313
- */
314
-
315
- /*
316
- for incorporating slotMinTime/slotMaxTime if appropriate
317
- TODO: should be part of DateProfile!
318
- TimelineDateProfile already does this btw
319
- */
320
-
321
- /*
322
- for making sure events that have editable resources are always draggable in resource views
323
- */
324
-
325
- /*
326
- for the horizontal "slats" that run width-wise. Has a time axis on a side. Depends on RTL.
327
- */
328
-
329
- /*
330
- given a function that resolves a result asynchronously.
331
- the function can either call passed-in success and failure callbacks,
332
- or it can return a promise.
333
- if you need to pass additional params to func, bind them first.
334
- */
335
-
336
- /*
337
- mark resources as having events if any of their ancestors have them
338
- NOTE: resourceStore might not have all the resources that hasEvents{} has keyed
339
- */
340
-
341
- /*
342
- needs a full store so that it can populate children too
343
- */
344
-
345
- /*
346
- parallels the SpreadsheetGroupRow
347
- */
348
-
349
- /*
350
- snaps to appropriate unit
351
- */
352
-
353
- /*
354
- splits things BASED OFF OF which resources they are associated with.
355
- creates a '' entry which is when something has NO resource.
356
- */
357
-
358
- /*
359
- this array is exposed on the root namespace so that UMD plugins can add to it.
360
- see the rollup-bundles script.
361
- */
362
-
363
- /* !
364
- * rrule.js - Library for working with recurrence rules for calendar dates.
365
- * https://github.com/jakubroztocil/rrule
366
- *
367
- * Copyright 2010, Jakub Roztocil and Lars Schoning
368
- * Licenced under the BSD licence.
369
- * https://github.com/jakubroztocil/rrule/blob/master/LICENCE
370
- *
371
- */
372
-
373
- /* "e" for "event" */
374
-
375
- /* "m" for "more" */
376
-
377
- /* A component that renders one or more columns of vertical time slots
378
- ----------------------------------------------------------------------------------------------------------------------*/
379
-
380
- /* An abstract class for the daygrid views, as well as month view. Renders one or more rows of day cells.
381
- ----------------------------------------------------------------------------------------------------------------------*/
382
-
383
- /* Context Menu
384
- ----------------------------------------------------------------------------------------------------------------------*/
385
-
386
- /* Date Range Computation
387
- ------------------------------------------------------------------------------------------------------------------*/
388
-
389
- /* Date stuff that doesn't belong in datelib core
390
- ----------------------------------------------------------------------------------------------------------------------*/
391
-
392
- /* Dimensions
393
- ------------------------------------------------------------------------------------------------------------------*/
394
-
395
- /* FC-specific DOM dimension stuff
396
- ----------------------------------------------------------------------------------------------------------------------*/
397
-
398
- /* FF <td> problem, but okay to use for left/right. TODO: rename prop */
399
-
400
- /* FullCalendar-specific DOM Utilities
401
- ----------------------------------------------------------------------------------------------------------------------*/
402
-
403
- /* Header Render Methods
404
- ------------------------------------------------------------------------------------------------------------------*/
405
-
406
- /* Hidden Days
407
- ------------------------------------------------------------------------------------------------------------------*/
408
-
409
- /* Number Utilities
410
- ----------------------------------------------------------------------------------------------------------------------*/
411
-
412
- /* Selection
413
- ----------------------------------------------------------------------------------------------------------------------*/
414
-
415
- /* String Utilities
416
- ----------------------------------------------------------------------------------------------------------------------*/
417
-
418
- /* TODO: bad for mirror? */
419
-
420
- /* TODO: make optional? */
421
-
422
- /* TODO: make these time-based when not whole-day? */
423
-
424
- /* Table Component Render Methods
425
- ------------------------------------------------------------------------------------------------------------------*/
426
-
427
- /* axis depends on the colgroup's shrinking */
428
-
429
- /* bad new empty array? */
430
-
431
- /* best? or put key on cell? or use diff formatter? */
432
-
433
- /* eslint max-classes-per-file: "off" */
434
-
435
- /* eslint max-classes-per-file: off */
436
-
437
- /* even displaying weeknum for row, not necessarily day */
438
-
439
- /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
440
-
441
- /* hacky */
442
-
443
- /* harmony default export */
444
-
445
- /* includes elRef */
446
-
447
- /* module decorator */
448
-
449
- /* natural height? */
450
-
451
- /* relies on there only being a single <col> for the axis */
452
-
453
- /* webpack/runtime/node module decorator */
454
-
455
- /* why 4? if we do 0, it will kill any border, which are needed for computeSmallestCellWidth
456
- 4 accounts for 2 2-pixel borders. TODO: better solution? */
457
-
458
- /*#__PURE__*/
459
-
460
- /**
461
- *
462
- * @param {Boolean?} noCache
463
- * The same stratagy as RRule on cache, default to false
464
- * @constructor
465
- */
466
-
467
- /**
468
- *
469
- * @param {Date} date that is part of the result.
470
- * @return {Boolean} whether we are interested in more values.
471
- */
472
-
473
- /**
474
- * 'before' and 'after' return only one date, whereas 'all'
475
- * and 'between' an array.
476
- *
477
- * @return {Date,Array?}
478
- */
479
-
480
- /**
481
- * @param {Function} iterator - optional function that will be called
482
- * on each date that is added. It can return false
483
- * to stop the iteration.
484
- * @return Array containing all recurrences.
485
- */
486
-
487
- /**
488
- * @param {String} what - all/before/after/between
489
- * @param {Array,Date} value - an array of dates, one date, or null
490
- * @param {Object?} args - _iter arguments
491
- */
492
-
493
- /**
494
- * @return a RRule instance with the same freq and options
495
- * as this one (cache is not cloned)
496
- */
497
-
498
- /**
499
- * @return false - not in the cache
500
- * @return null - cached, but zero occurrences (before/after)
501
- * @return Date - cached (before/after)
502
- * @return [] - cached, but zero occurrences (all/between)
503
- * @return [Date1, DateN] - cached (all/between)
504
- */
505
-
506
- /**
507
- * Adds an EXDATE to the set
508
- *
509
- * @param {Date}
510
- */
511
-
512
- /**
513
- * Adds an EXRULE to the set
514
- *
515
- * @param {RRule}
516
- */
517
-
518
- /**
519
- * Adds an RDate to the set
520
- *
521
- * @param {Date}
522
- */
523
-
524
- /**
525
- * Adds an RRule to the set
526
- *
527
- * @param {RRule}
528
- */
529
-
530
- /**
531
- * Converts the rrule into its string representation
532
- *
533
- * @see <http://www.ietf.org/rfc/rfc2445.txt>
534
- * @return String
535
- */
536
-
537
- /**
538
- * Create a new RRuleSet Object completely base on current instance
539
- */
540
-
541
- /**
542
- * Get list of excluded rrules in this recurrence set.
543
- *
544
- * @return List of exrules
545
- */
546
-
547
- /**
548
- * Get list of included datetimes in this recurrence set.
549
- *
550
- * @return List of exdates
551
- */
552
-
553
- /**
554
- * Get list of included datetimes in this recurrence set.
555
- *
556
- * @return List of rdates
557
- */
558
-
559
- /**
560
- * Get list of included rrules in this recurrence set.
561
- *
562
- * @return List of rrules
563
- */
564
-
565
- /**
566
- * Perform the conversion. Only some of the frequencies are supported.
567
- * If some of the rrule's options aren't supported, they'll
568
- * be omitted from the output an "(~ approximate)" will be appended.
569
- *
570
- * @return {*}
571
- */
572
-
573
- /**
574
- * Possibly adds a date into the result.
575
- *
576
- * @param {Date} date - the date isn't necessarly added to the result
577
- * list (if it is too late/too early)
578
- * @return {Boolean} true if it makes sense to continue the iteration
579
- * false if we're done.
580
- */
581
-
582
- /**
583
- * Return a human readable representation of a moment that can
584
- * also be evaluated to get a new moment which is the same
585
- *
586
- * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects
587
- */
588
-
589
- /**
590
- * Returns all the occurrences of the rrule between after and before.
591
- * The inc keyword defines what happens if after and/or before are
592
- * themselves occurrences. With inc == True, they will be included in the
593
- * list, if they are found in the recurrence set.
594
- *
595
- * @return Array
596
- */
597
-
598
- /**
599
- * Returns the first recurrence after the given datetime instance.
600
- * The inc keyword defines what happens if dt is an occurrence.
601
- * With inc == True, if dt itself is an occurrence, it will be returned.
602
- *
603
- * @return Date or null
604
- */
605
-
606
- /**
607
- * Returns the last recurrence before the given datetime instance.
608
- * The inc keyword defines what happens if dt is an occurrence.
609
- * With inc == True, if dt itself is an occurrence, it will be returned.
610
- *
611
- * @return Date or null
612
- */
613
-
614
- /**
615
- * Returns the number of recurrences in this set. It will have go trough
616
- * the whole recurrence, if this hasn't been done before.
617
- */
618
-
619
- /**
620
- * Test whether the rrule can be fully converted to text.
621
- *
622
- * @param {RRule} rrule
623
- * @return {Boolean}
624
- */
625
-
626
- /**
627
- * Will convert all rules described in nlp:ToText
628
- * to text.
629
- */
630
-
631
- /**
632
- * to generate recurrence field such as:
633
- * DTSTART:19970902T010000Z
634
- * RRULE:FREQ=YEARLY;COUNT=2;BYDAY=TU
635
- * RRULE:FREQ=YEARLY;COUNT=1;BYDAY=TH
636
- */
637
-
638
- /**
639
- *
640
- * Implementation of RRule.fromText() and RRule::toText().
641
- *
642
- *
643
- * On the client side, this file needs to be included
644
- * when those functions are used.
645
- *
646
- */
647
-
648
- /**
649
- * Python like split
650
- */
651
-
652
- /**
653
- * RRuleStr
654
- * To parse a set of rrule strings
655
- */
656
-
657
- /**
658
- * Return true if a value is in an array
659
- */
660
-
661
- /**
662
- * Will be able to convert some of the below described rules from
663
- * text format to a rule object.
664
- *
665
- *
666
- * RULES
667
- *
668
- * Every ([n])
669
- * day(s)
670
- * | [weekday], ..., (and) [weekday]
671
- * | weekday(s)
672
- * | week(s)
673
- * | month(s)
674
- * | [month], ..., (and) [month]
675
- * | year(s)
676
- *
677
- *
678
- * Plus 0, 1, or multiple of these:
679
- *
680
- * on [weekday], ..., (or) [weekday] the [monthday], [monthday], ... (or) [monthday]
681
- *
682
- * on [weekday], ..., (and) [weekday]
683
- *
684
- * on the [monthday], [monthday], ... (and) [monthday] (day of the month)
685
- *
686
- * on the [nth-weekday], ..., (and) [nth-weekday] (of the month/year)
687
- *
688
- *
689
- * Plus 0 or 1 of these:
690
- *
691
- * for [n] time(s)
692
- *
693
- * until [date]
694
- *
695
- * Plus (.)
696
- *
697
- *
698
- * Definitely no supported for parsing:
699
- *
700
- * (for year):
701
- * in week(s) [n], ..., (and) [n]
702
- *
703
- * on the [yearday], ..., (and) [n] day of the year
704
- * on day [yearday], ..., (and) [n]
705
- *
706
- *
707
- * NON-TERMINALS
708
- *
709
- * [n]: 1, 2 ..., one, two, three ..
710
- * [month]: January, February, March, April, May, ... December
711
- * [weekday]: Monday, ... Sunday
712
- * [nth-weekday]: first [weekday], 2nd [weekday], ... last [weekday], ...
713
- * [monthday]: first, 1., 2., 1st, 2nd, second, ... 31st, last day, 2nd last day, ..
714
- * [date]:
715
- * - [month] (0-31(,) ([year])),
716
- * - (the) 0-31.(1-12.([year])),
717
- * - (the) 0-31/(1-12/([year])),
718
- * - [weekday]
719
- *
720
- * [year]: 0000, 0001, ... 01, 02, ..
721
- *
722
- * Definitely not supported for parsing:
723
- *
724
- * [yearday]: first, 1., 2., 1st, 2nd, second, ... 366th, last day, 2nd last day, ..
725
- *
726
- * @param {String} text
727
- * @return {Object, Boolean} the rule, or null.
728
- */
729
-
730
- /**
731
- * closure/goog/math/math.js:modulo
732
- * Copyright 2006 The Closure Library Authors.
733
- * The % operator in JavaScript returns the remainder of a / b, but differs from
734
- * some other languages in that the result will have the same sign as the
735
- * dividend. For example, -1 % 8 == -1, whereas in some other languages
736
- * (such as Python) the result would be 7. This function emulates the more
737
- * correct modulo behavior, which is useful for certain applications such as
738
- * calculating an offset index in a circular list.
739
- *
740
- * @param {number} a The dividend.
741
- * @param {number} b The divisor.
742
- * @return {number} a % b where the result is between 0 and b (either 0 <= x < b
743
- * or b < x <= 0, depending on the sign of b).
744
- */
745
-
746
- /** @class */
747
-
748
- /************************************
749
- Country object
750
- ************************************/
751
-
752
- /************************************
753
- Current Timezone
754
- ************************************/
755
-
756
- /************************************
757
- Global Methods
758
- ************************************/
759
-
760
- /************************************
761
- Interface with Moment.js
762
- ************************************/
763
-
764
- /************************************
765
- Unpacking
766
- ************************************/
767
-
768
- /************************************
769
- Zone object
770
- ************************************/
771
-
772
- /************************************
773
- moment.tz namespace
774
- ************************************/
775
-
776
- /******************************************************************************
777
- Copyright (c) Microsoft Corporation.
778
-
779
- Permission to use, copy, modify, and/or distribute this software for any
780
- purpose with or without fee is hereby granted.
781
-
782
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
783
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
784
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
785
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
786
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
787
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
788
- PERFORMANCE OF THIS SOFTWARE.
789
- ***************************************************************************** */
790
-
791
- /************************************************************************/
792
-
793
- /******/
794
-
795
- /***/
796
-
797
- /*, this.debug */
798
-
799
- /*global define*/
800
-
801
- //
802
-
803
- // logError('Moment Timezone ' + moment.tz.version + ' was already loaded ' + (moment.tz.dataVersion ? 'with data from ' : 'without any data') + moment.tz.dataVersion);
804
-
805
- // return moment;
806
-
807
- // 0-99
808
-
809
- // 1-99
810
-
811
- // console.log('prop absent', key)
812
-
813
- // console.log('prop difference', key, oldProps[key], newProps[key])
814
-
815
- // // equal
816
-
817
- // 0 - 9
818
-
819
- // 0 - 99
820
-
821
- // 0 - 999
822
-
823
- // 0 - 9999
824
-
825
- // 0 - inf
826
-
827
- // if (debug) {
828
-
829
- // }
830
-
831
- // 00 - 99
832
-
833
- // 000 - 999
834
-
835
- // 999 - 9999
836
-
837
- // if (!(key in newProps)) {
838
-
839
- // if (key in oldProps && isObjValsEqual(oldProps[key], newProps[key], equalityFuncs[key])) {
840
-
841
- // return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value));
842
-
843
- // }
844
-
845
- // } else {
846
-
847
- // -inf - inf
848
-
849
- // 0000 - 9999
850
-
851
- // return void (isUTC ? d.setUTCDay(value) : d.setDay(value));
852
-
853
- // // check for props that were omitted in the new
854
-
855
- // 99999 - 999999
856
-
857
- // console.log('shouldUpdate!')
858
-
859
- // for (let key in newProps) {
860
-
861
- // for (let key in oldProps) {
862
-
863
- // }
864
-
865
- // * days do not bubble at all
866
-
867
- // * milliseconds bubble up until they become hours
868
-
869
- // * months bubble up until they become years
870
-
871
- // "
872
-
873
- // "Rough" because they are based on average-case Gregorian months/years
874
-
875
- // # of milliseconds into `endDay`
876
-
877
- // '+10:00' > ['10', '00']
878
-
879
- // '-1530' > ['-15', '30']
880
-
881
- // '2015'
882
-
883
- // '2023-02-07 10:41:36'
884
-
885
- // '8:30 PM'
886
-
887
- // '8:30:45 PM'
888
-
889
- // 'Jan'
890
-
891
- // 'Su 9'
892
-
893
- // 'Wk4'
894
-
895
- // 'what' method with the same 'args'
896
-
897
- // ()
898
-
899
- // (5)
900
-
901
- // (If it's past the end, make it one millisecond before the end).
902
-
903
- // (can't be part of plugin system b/c must be provided at runtime)
904
-
905
- // (fmt)
906
-
907
- // (fmt, 5)
908
-
909
- // (think of clock changes)
910
-
911
- // (true)
912
-
913
- // (true, 5)
914
-
915
- // (true, fmt)
916
-
917
- // (true, fmt, 5)
918
-
919
- // * if day of month is given, default month and year
920
-
921
- // * if month is given, default only year
922
-
923
- // * if no year, month, day of month are given, default to today
924
-
925
- // * if year is given, don't default anything
926
-
927
- // +00 -00 +00:00 -00:00 +0000 -0000 or Z
928
-
929
- // +00:00 -00:00 +0000 -0000 or Z
930
-
931
- // +0200, so we adjust the time as needed, to be valid.
932
-
933
- // - compare the actual date instead?
934
-
935
- // ------------
936
-
937
- // ---------------------
938
-
939
- // ------------------------------------------------------------------------------------------
940
-
941
- // ----------------------------------------------------------------------------------------------
942
-
943
- // -------------------------------------------------------------------------------------------------
944
-
945
- // ----------------------------------------------------------------------------------------------------
946
-
947
- // ----------------------------------------------------------------------------------------------------------------
948
-
949
- // -----------------------------------------------------------------------------------------------------------------
950
-
951
- // ------------------------------------------------------------------------------------------------------------------
952
-
953
- // ---------------------------------------------------------------------------------------------------------------------
954
-
955
- // ------------------------------------------------------------------------------------------------------------------------
956
-
957
- // -1 means no max
958
-
959
- // -1, 0, 1
960
-
961
- // -1MO, +3FR, 1SO, 13TU ...
962
-
963
- // -999999 - 999999
964
-
965
- // ./node_modules/@fullcalendar/bootstrap5/index.js
966
-
967
- // ./node_modules/@fullcalendar/bootstrap5/internal.js
968
-
969
- // ./node_modules/@fullcalendar/core/internal-common.js
970
-
971
- // ./node_modules/@fullcalendar/daygrid/internal.js
972
-
973
- // ./node_modules/@fullcalendar/moment-timezone/index.js
974
-
975
- // ./node_modules/@fullcalendar/premium-common/index.js
976
-
977
- // ./node_modules/@fullcalendar/resource-timeline/index.js
978
-
979
- // ./node_modules/@fullcalendar/resource-timeline/internal.js
980
-
981
- // ./node_modules/@fullcalendar/resource/index.js
982
-
983
- // ./node_modules/@fullcalendar/scrollgrid/internal.js
984
-
985
- // ./node_modules/@fullcalendar/timegrid/internal.js
986
-
987
- // ./node_modules/@fullcalendar/timeline/index.js
988
-
989
- // ./node_modules/preact/dist/preact.module.js
990
-
991
- // ./node_modules/rrule/dist/esm/cache.js
992
-
993
- // ./node_modules/rrule/dist/esm/datewithzone.js
994
-
995
- // ./node_modules/rrule/dist/esm/iter/index.js
996
-
997
- // ./node_modules/rrule/dist/esm/iter/poslist.js
998
-
999
- // ./node_modules/rrule/dist/esm/iterinfo/easter.js
1000
-
1001
- // ./node_modules/rrule/dist/esm/iterinfo/index.js
1002
-
1003
- // ./node_modules/rrule/dist/esm/iterinfo/monthinfo.js
1004
-
1005
- // ./node_modules/rrule/dist/esm/iterinfo/yearinfo.js
1006
-
1007
- // ./node_modules/rrule/dist/esm/iterset.js
1008
-
1009
- // ./node_modules/rrule/dist/esm/nlp/index.js
1010
-
1011
- // ./node_modules/rrule/dist/esm/nlp/parsetext.js
1012
-
1013
- // ./node_modules/rrule/dist/esm/nlp/totext.js
1014
-
1015
- // ./node_modules/rrule/dist/esm/optionstostring.js
1016
-
1017
- // ./node_modules/rrule/dist/esm/parseoptions.js
1018
-
1019
- // ./node_modules/rrule/dist/esm/parsestring.js
1020
-
1021
- // ./node_modules/rrule/dist/esm/rrule.js
1022
-
1023
- // ./node_modules/rrule/dist/esm/rruleset.js
1024
-
1025
- // ./node_modules/rrule/dist/esm/rrulestr.js
1026
-
1027
- // ./node_modules/tslib/tslib.es6.mjs
1028
-
1029
- // ./src/export/lib/fullcalendar/fullcalendar.js
1030
-
1031
- // .setState() is executing
1032
-
1033
- // .stop() is ALWAYS asynchronous, which we NEED because we want all pointerup events
1034
-
1035
- // 0 = exactly the same
1036
-
1037
- // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
1038
-
1039
- // 1 = different by time
1040
-
1041
- // 1, 2, 3, .., -5, -4, -3, ..
1042
-
1043
- // 1000
1044
-
1045
- // 1000 * 60
1046
-
1047
- // 1000 * 60 * 60
1048
-
1049
- // 1000 * 60 * 60 * 24 * 7, negate dst
1050
-
1051
- // 1000 * 60 * 60 * 24, negate dst
1052
-
1053
- // 12 months -> 1 year
1054
-
1055
- // 123456789 123456789.123
1056
-
1057
- // 17:56:31 CST
1058
-
1059
- // 17:56:31 GMT+0800 (台北標準時間)
1060
-
1061
- // 17:56:31 GMT-0600 (CST)
1062
-
1063
- // 17:56:31 GMT-0600 (Central Standard Time)
1064
-
1065
- // 3600 seconds -> 60 minutes -> 1 hour
1066
-
1067
- // 400 years have 12 months === 4800
1068
-
1069
- // 400 years have 146097 days (taking into account leap year rules)
1070
-
1071
- // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset
1072
-
1073
- // :(
1074
-
1075
- // <input type="date" />
1076
-
1077
- // <input type="datetime-local" />
1078
-
1079
- // <input type="datetime-local" step="0.001" />
1080
-
1081
- // <input type="datetime-local" step="1" />
1082
-
1083
- // <input type="time" />
1084
-
1085
- // <input type="time" step="0.001" />
1086
-
1087
- // <input type="time" step="1" />
1088
-
1089
- // <input type="week" />
1090
-
1091
- // <table> elements work best with integers. round up to ensure contents fits
1092
-
1093
- // <weekday>
1094
-
1095
- // =============================================================================
1096
-
1097
- // @ts-ignore
1098
-
1099
- // A `startOfDayDate` must be given for avoiding ambiguity over how to treat midnight.
1100
-
1101
- // ALIASES
1102
-
1103
- // ARIA TODO: not really a columnheader
1104
-
1105
- // ARIA workarounds
1106
-
1107
- // ASP.NET json date format regex
1108
-
1109
- // Accessors
1110
-
1111
- // Add one-day leeway since rrule lib only operates in UTC,
1112
-
1113
- // Adding
1114
-
1115
- // Adding / Subtracting
1116
-
1117
- // Adding is smart enough around DST
1118
-
1119
- // Advanced Math
1120
-
1121
- // Also overcomes this rrule bug:
1122
-
1123
- // Animation
1124
-
1125
- // Apply timezone offset from input. The actual utcOffset can be changed
1126
-
1127
- // Array Conversion
1128
-
1129
- // Attempts to compute the most appropriate format if not explicitly specified with `titleFormat`.
1130
-
1131
- // BAD name for this class now. used in the Header
1132
-
1133
- // BAD: mutates a user-supplied option
1134
-
1135
- // BETTER: don't start rendering ANYTHING yet until we know container width
1136
-
1137
- // BY GROUP
1138
-
1139
- // Because of dateAddRemove treats 24 hours as different from a
1140
-
1141
- // Builds a normalized range object for the "visible" range,
1142
-
1143
- // Builds a structure holding dates/ranges for rendering around the given date.
1144
-
1145
- // Builds a structure with info about the "current" range, the range that is
1146
-
1147
- // Builds a structure with info about what the dates/ranges will be for the "next" view.
1148
-
1149
- // Builds a structure with info about what the dates/ranges will be for the "prev" view.
1150
-
1151
- // Builds an object with optional start/end properties.
1152
-
1153
- // Builds the "current" range when a dayCount is specified.
1154
-
1155
- // Builds the "current" range when it is specified as an explicit duration.
1156
-
1157
- // Check for 24:00:00.000
1158
-
1159
- // Check if module is in cache
1160
-
1161
- // Check last week number of last year as
1162
-
1163
- // Check week number 1 of next year as well
1164
-
1165
- // Cloning a moment should include the _z property.
1166
-
1167
- // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
1168
-
1169
- // Component Registration
1170
-
1171
- // Compute the duration value that should be added/substracted to the current date
1172
-
1173
- // Compute the number of the give units in the "current" range.
1174
-
1175
- // Computes a default column header formatting string if `colFormat` is not explicitly defined
1176
-
1177
- // Computes an automatic value for slotLabelInterval
1178
-
1179
- // Computes the date range that will be rendered
1180
-
1181
- // Computes the range that will represent the element/cells for *rendering*,
1182
-
1183
- // Computes the top coordinate, relative to the bounds of the grid, of the given date.
1184
-
1185
- // Computes the top coordinate, relative to the bounds of the grid, of the given time (a Duration).
1186
-
1187
- // Computes what the title at the top of the calendarApi should be for this view
1188
-
1189
- // Constraint Utils
1190
-
1191
- // Conversion
1192
-
1193
- // Conversions
1194
-
1195
- // Create OffsetAt here to avoid unnecessary abbr parsing before checking offsets
1196
-
1197
- // Create a new module (and put it into the cache)
1198
-
1199
- // Creating / Parsing
1200
-
1201
- // Current Date
1202
-
1203
- // DAILY on weekdays is not a valid rule
1204
-
1205
- // DOES NOT CONSIDER validRange!
1206
-
1207
- // DON'T use the filtered
1208
-
1209
- // Date Formatting Utils
1210
-
1211
- // Date Selection / Event Selection / DayClick
1212
-
1213
- // Date Selection Validation
1214
-
1215
- // Date constructor can only reliably parse dates in ISO8601 format
1216
-
1217
- // Date.UTC remaps years 0-99 to 1900-1999
1218
-
1219
- // Default to current date.
1220
-
1221
- // Default to current week.
1222
-
1223
- // Diffing (all return floats)
1224
-
1225
- // Diffing Whole Units
1226
-
1227
- // Do not load moment-timezone a second time.
1228
-
1229
- // Duration object that denotes the exclusive visible end time of any given day
1230
-
1231
- // Duration object that denotes the first visible time of any given day
1232
-
1233
- // EXTERNAL MODULE: ./node_modules/moment-timezone/index.js
1234
-
1235
- // EXTERNAL MODULE: ./node_modules/moment/moment.js
1236
-
1237
- // Ensure name is available and function returns boolean
1238
-
1239
- // Ensure the component we are querying for the hit is accessibly my the pointer
1240
-
1241
- // Equality
1242
-
1243
- // Essentially, once you compute an element's height, never null-out.
1244
-
1245
- // Event Delegation
1246
-
1247
- // Event Handling
1248
-
1249
- // Event Normalization
1250
-
1251
- // Eventually allow computation with arbirary slat dates.
1252
-
1253
- // Execute the module function
1254
-
1255
- // Export
1256
-
1257
- // FIXME Note: every 2 weekdays != every two weeks on weekdays.
1258
-
1259
- // FORMATTING
1260
-
1261
- // Fallback
1262
-
1263
- // Final attempt, use Input Fallback
1264
-
1265
- // Flag the module as loaded
1266
-
1267
- // Forces navigation to a view for the given date.
1268
-
1269
- // Fragment scopes the keys
1270
-
1271
- // Generates the format string that should be used to generate the title for the current date range.
1272
-
1273
- // Gets the height of the element at the given index
1274
-
1275
- // Gets the width of the element at the given index
1276
-
1277
- // Getting start-of-today depends on whether we're local/utc/offset or not.
1278
-
1279
- // Given a date, returns its chronolocial cell-index from the first cell of the grid.
1280
-
1281
- // Given a duration singular unit, like "week" or "day", finds a matching view spec.
1282
-
1283
- // Given a left offset (from document left), returns the index of the el that it horizontally intersects.
1284
-
1285
- // Given a top offset (from document top), returns the index of the el that it vertically intersects.
1286
-
1287
- // Given an event's allDay status and start date, return what its fallback end date should be.
1288
-
1289
- // Go head to http://www.ietf.org/rfc/rfc2445.txt
1290
-
1291
- // Guaranteed to have `range` and `unit` properties. `duration` is optional.
1292
-
1293
- // HACK
1294
-
1295
- // HACK for freakin' React StrictMode
1296
-
1297
- // HACK to prevent oscillations of events being shown/hidden from max-event-rows
1298
-
1299
- // HACK: constrain to render-range so `currentDate` is more useful to view rendering
1300
-
1301
- // HACK: need a daygrid wrapper parent to do positioning
1302
-
1303
- // HACK: simulate a pointer-up to end the current drag
1304
-
1305
- // HACK: the eventDrag props is used for ALL interactions
1306
-
1307
- // HELPERS
1308
-
1309
- // HIGHLY SUGGESTED to set this to sidestep ShadowDOM issues
1310
-
1311
- // HOOKS
1312
-
1313
- // Handle frequency and interval
1314
-
1315
- // Handlers
1316
-
1317
- // Helper functions
1318
-
1319
- // Hit System
1320
-
1321
- // Horizontal Scroll System Detection
1322
-
1323
- // I know
1324
-
1325
- // IE11 doesn't include UTC/GMT in the original string, so append to end
1326
-
1327
- // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
1328
-
1329
- // IE8 will treat undefined and null as object if it wasn't for
1330
-
1331
- // INJECT DATA
1332
-
1333
- // If after the last offset, returns an offset past the last cell offset.
1334
-
1335
- // If available we are using native "performance" API instead of "Date"
1336
-
1337
- // If before the first offset, returns a negative number.
1338
-
1339
- // If end is within `startDay` but not past nextDayThreshold, assign the default duration of one day.
1340
-
1341
- // If no intersection is made, returns undefined.
1342
-
1343
- // If passed a locale key, it will set the locale for this
1344
-
1345
- // If r and b differ in sign, add b to wrap the result to the correct sign.
1346
-
1347
- // If the date lies between cells (because of hiddenDays), returns a floating-point value between offsets.
1348
-
1349
- // If the end time is actually inclusively part of the next day and is equal to or
1350
-
1351
- // If the given date is not within the given range, move it inside.
1352
-
1353
- // If the initial value of `date` is not a hidden day, don't do anything.
1354
-
1355
- // If the whole range is trimmed off, returns null
1356
-
1357
- // If week starts in next year, we
1358
-
1359
- // Ignoring fake mouse events generated by touch
1360
-
1361
- // Includes things we don't want other locales to inherit,
1362
-
1363
- // Incrementing the current day until it is no longer a hidden day, returning a copy.
1364
-
1365
- // Indicates the minimum/maximum dates to display.
1366
-
1367
- // Initializes internal variables related to calculating hidden days-of-week
1368
-
1369
- // Internal Utils
1370
-
1371
- // Intl unavailable, fall back to manual guessing.
1372
-
1373
- // Is the current day hidden?
1374
-
1375
- // It is a manager for a Table subcomponent, which does most of the heavy lifting.
1376
-
1377
- // It is impossible to translate months into days without knowing
1378
-
1379
- // It is intended to keep the offset in sync with the timezone.
1380
-
1381
- // It is responsible for managing width/height.
1382
-
1383
- // Iterinfo
1384
-
1385
- // Jump to one iteration before next day
1386
-
1387
- // Just in case
1388
-
1389
- // Keeping the time actually adds/subtracts (one hour)
1390
-
1391
- // LOCALES
1392
-
1393
- // Lenient ordinal parsing accepts just a number in addition to
1394
-
1395
- // Let's see whether we've already called the
1396
-
1397
- // MERGE
1398
-
1399
- // MO, TU, ...
1400
-
1401
- // MOMENTS
1402
-
1403
- // Make the mouse cursor express that an event is not allowed in the current area
1404
-
1405
- // Math.floor prevents floating point math errors here
1406
-
1407
- // Merges an array of objects into a single object.
1408
-
1409
- // Moment prototype object
1410
-
1411
- // Moment.js version check
1412
-
1413
- // More info about 'unfold' option
1414
-
1415
- // Mouse
1416
-
1417
- // Moving Event Validation
1418
-
1419
- // NOT DRY
1420
-
1421
- // NOT OPTIMAL! TODO: look at debounce
1422
-
1423
- // NOT on a resizer
1424
-
1425
- // NOTE: a callback Ref for the resizer was firing multiple times with same elements (Preact)
1426
-
1427
- // NOTE: a daygrid resource view w/o resources can have zero cells
1428
-
1429
- // NOTE: the hiddenGroup's spanStart/spanEnd are already computed by rangeToCoords. computed during input.
1430
-
1431
- // NOTE: this method has become less valuable now that we are encouraged to map order by some other index
1432
-
1433
- // NOTE: timeout could also return *earlier* than expected, and we need to wait 2 ms more
1434
-
1435
- // NOTE: timeout could take longer than expected if tab sleeps,
1436
-
1437
- // NOTE: user can't modify these because Object.freeze was called in event-def parsing
1438
-
1439
- // NOTE: weekNumber computation function wont work
1440
-
1441
- // NOTE: why not always use paddingBottom? Causes height oscillation (issue 5606)
1442
-
1443
- // No op
1444
-
1445
- // Not in the cache, but we already know all the occurrences,
1446
-
1447
- // Number of days in the year, minus the days we
1448
-
1449
- // Number of days in the year, plus the days we got
1450
-
1451
- // OR if trying to validate an incoming external event that has no dates assigned
1452
-
1453
- // On Firefox.24 Date#getTimezoneOffset returns a floating point.
1454
-
1455
- // Only works for *start* dates of cells. Will not work for exclusive end dates for cells.
1456
-
1457
- // Optional direction param indicates whether the date is being incremented/decremented
1458
-
1459
- // Options
1460
-
1461
- // Other Utils
1462
-
1463
- // Otherwise, leaving it as inclusive will cause it to exclude `endDay`.
1464
-
1465
- // PARSING
1466
-
1467
- // Parser
1468
-
1469
- // Parsing and Creation
1470
-
1471
- // Pass `isExclusive` as `true` if you are dealing with an end date.
1472
-
1473
- // Pass getZone to prevent recursion more than 1 level deep
1474
-
1475
- // Pick a moment m from moments so that m[fn](other) is true for all
1476
-
1477
- // Pick the first defined of two or three arguments.
1478
-
1479
- // Plugin
1480
-
1481
- // Plugins that add properties should also add the key here (null value),
1482
-
1483
- // Pointer Interaction Utils
1484
-
1485
- // Populates the left/right internal coordinate arrays
1486
-
1487
- // Populates the top/bottom internal coordinate arrays
1488
-
1489
- // Preference is given to views that have corresponding buttons.
1490
-
1491
- // Prevent infinite loop in case updateOffset creates new moment
1492
-
1493
- // Prevent names that look like filesystem paths, i.e contain '/' or '\'
1494
-
1495
- // Prevents obscured calendars (ex: under a modal dialog) from accepting hit
1496
-
1497
- // Public Event Sources API
1498
-
1499
- // Public Events API
1500
-
1501
- // QUESTION: why do we need it on the resizable???
1502
-
1503
- // QUESTION: why not just return instances? do a general object-property-exclusion util
1504
-
1505
- // Querying
1506
-
1507
- // RENAME?
1508
-
1509
- // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
1510
-
1511
- // RFC string
1512
-
1513
- // RRule
1514
-
1515
- // RRule class 'constants'
1516
-
1517
- // Range / Duration
1518
-
1519
- // Range Formatting Utils
1520
-
1521
- // Read more about it on MDN:
1522
-
1523
- // Remove comments and folding whitespace and replace multiple-spaces with a single space
1524
-
1525
- // Remove days from the beginning and end of the range that are computed as hidden.
1526
-
1527
- // Resizing
1528
-
1529
- // Resolves es6 module loading issue
1530
-
1531
- // Resource Area Resizing
1532
-
1533
- // Resource INDIVIDUAL-Column Area Resizing
1534
-
1535
- // Return a moment from input, that is local/utc/zone equivalent to model.
1536
-
1537
- // Return the exports of the module
1538
-
1539
- // Returns a boolean whether this was a left mouse click and no ctrl key (which means right click on Mac)
1540
-
1541
- // Returns a new activeRange to have time values (un-ambiguate)
1542
-
1543
- // Returns a new point that will have been moved to reside within the given rectangle
1544
-
1545
- // Returns a new rectangle that is the intersection of the two rectangles. If they don't intersect, returns false
1546
-
1547
- // Returns a point that is the center of the given rectangle
1548
-
1549
- // Returns the mouse cursor to its original look
1550
-
1551
- // SIDE-EFFECT: will mutate ranges.
1552
-
1553
- // Scroll
1554
-
1555
- // Scrolling
1556
-
1557
- // Scrolling that simulates pointermoves
1558
-
1559
- // See below ...
1560
-
1561
- // See build() for a description of `direction`.
1562
-
1563
- // Set abbr so it will have a name (getters return
1564
-
1565
- // Setting the hour should keep the time, because the user explicitly
1566
-
1567
- // Shallow copy for options and origOptions and check for invalid
1568
-
1569
- // Side effect imports
1570
-
1571
- // Simple Math
1572
-
1573
- // Sorting makes sure if one month (or abbr) is a prefix of another
1574
-
1575
- // Sorting makes sure if one month (or abbr) is a prefix of another it
1576
-
1577
- // Sorting makes sure if one weekday (or abbr) is a prefix of another it
1578
-
1579
- // Start / Stop
1580
-
1581
- // Start-Of
1582
-
1583
- // Stops a mouse/touch event from doing it's native browser action
1584
-
1585
- // Style
1586
-
1587
- // Subtracts point2's coordinates from point1's coordinates, returning a delta
1588
-
1589
- // Sunday is the first day of the week.
1590
-
1591
- // Support for single parameter, formats only overload to the calendar function
1592
-
1593
- // TODO
1594
-
1595
- // TODO check for duplicates
1596
-
1597
- // TODO: Another silent failure?
1598
-
1599
- // TODO: Find a better way to register and load all the locales in Node
1600
-
1601
- // TODO: Move this to another part of the creation flow to prevent circular deps
1602
-
1603
- // TODO: ONLY use `arg`. force out internal function to use same API
1604
-
1605
- // TODO: Remove "ordinalParse" fallback in next major release.
1606
-
1607
- // TODO: Use [].sort instead?
1608
-
1609
- // TODO: View should be responsible.
1610
-
1611
- // TODO: We need to take the current isoWeekYear, but that depends on
1612
-
1613
- // TODO: accept the document
1614
-
1615
- // TODO: add sorting
1616
-
1617
- // TODO: allow the content to specify this. have general-purpose 'content' with obj with keys
1618
-
1619
- // TODO: always display all events, as visibility:hidden?
1620
-
1621
- // TODO: assume the el has no borders?
1622
-
1623
- // TODO: bad. always expand events as a second step
1624
-
1625
- // TODO: bad. not guaranteed
1626
-
1627
- // TODO: best place to normalize these options?
1628
-
1629
- // TODO: better called "EventSettings" or "EventConfig"
1630
-
1631
- // TODO: better type
1632
-
1633
- // TODO: better way to make sure not hovering over more+ link or its wrapper
1634
-
1635
- // TODO: better way to re-orient rectangle
1636
-
1637
- // TODO: blacklist options that are handled by optionChangeHandlers
1638
-
1639
- // TODO: cache this at first render?
1640
-
1641
- // TODO: can do a really simple print-view. dont need to join rows
1642
-
1643
- // TODO: can use greatestWholeUnit
1644
-
1645
- // TODO: check callers that don't care about order. should use getAll instead
1646
-
1647
- // TODO: choke on timeZoneName: long
1648
-
1649
- // TODO: converge on one setting name
1650
-
1651
- // TODO: different API for removal?
1652
-
1653
- // TODO: easier way to add new hooks? need to update a million things
1654
-
1655
- // TODO: error otherwise?
1656
-
1657
- // TODO: exrule is deprecated. what to do? (https://icalendar.org/iCalendar-RFC-5545/a-3-deprecated-features.html)
1658
-
1659
- // TODO: find a TypeScript-compatible way to do this at scale
1660
-
1661
- // TODO: fire 'dragend' directly and stop interaction. discourage use of pointerup event (b/c might not fire)
1662
-
1663
- // TODO: fire this before computing processFirstCoord, so listeners can cancel. this gets fired by almost every handler :(
1664
-
1665
- // TODO: fully pre-parse
1666
-
1667
- // TODO: get rid of this in favor of options system,
1668
-
1669
- // TODO: give interactionSegs?
1670
-
1671
- // TODO: give nextDayThreshold a default arg
1672
-
1673
- // TODO: how do we track all actions that affect dateProfile :(
1674
-
1675
- // TODO: if we set it here, can we avoid giving to inner tables?
1676
-
1677
- // TODO: include startEditable/durationEditable/constraint/overlap/allow
1678
-
1679
- // TODO: instead of these date-math gymnastics (for multimonth view),
1680
-
1681
- // TODO: just make this logic execute top-level, immediately, instead of doing lazily
1682
-
1683
- // TODO: lookbehinds for escape characters
1684
-
1685
- // TODO: make DRY
1686
-
1687
- // TODO: make TS-friendly
1688
-
1689
- // TODO: make part of tDateProfile?
1690
-
1691
- // TODO: make proper aliasing system?
1692
-
1693
- // TODO: make reusable hook. used in list view too
1694
-
1695
- // TODO: make this a plugin-able parser
1696
-
1697
- // TODO: make this now-indicator arrow more DRY with TimeColsContent
1698
-
1699
- // TODO: make this public?
1700
-
1701
- // TODO: memoize event positioning
1702
-
1703
- // TODO: memoize event-placement?
1704
-
1705
- // TODO: memoize this?
1706
-
1707
- // TODO: messy way to compute this
1708
-
1709
- // TODO: more DRY with generateSegUid
1710
-
1711
- // TODO: more convenient
1712
-
1713
- // TODO: move this file into structs
1714
-
1715
- // TODO: move this logic into DateProfileGenerator
1716
-
1717
- // TODO: move to event-store file?
1718
-
1719
- // TODO: move to general util
1720
-
1721
- // TODO: move to geom file?
1722
-
1723
- // TODO: need `undefined` or else INFINITE LOOP for some reason
1724
-
1725
- // TODO: need better solution when state contains non-sizing things
1726
-
1727
- // TODO: new util arrayify?
1728
-
1729
- // TODO: not DRY
1730
-
1731
- // TODO: not optimal
1732
-
1733
- // TODO: not sure how this could ever be null. weirdness with the reducer
1734
-
1735
- // TODO: not used for Spreadsheet. START USING. difficult because of col-specific rendering props
1736
-
1737
- // TODO: optimize
1738
-
1739
- // TODO: pass in ResourceApi?
1740
-
1741
- // TODO: pass in isRtl instead?
1742
-
1743
- // TODO: pass in isRtl?
1744
-
1745
- // TODO: prevent against problems with <2 args!
1746
-
1747
- // TODO: provide ONE array-export function, buildArray, which fails on non-numeric indexes. caller can manipulate and "collect"
1748
-
1749
- // TODO: reassess browser support
1750
-
1751
- // TODO: remove 'name' arg after deprecation is removed
1752
-
1753
- // TODO: remove content/classNames/didMount/etc from options?
1754
-
1755
- // TODO: rename to cellContent so don't need to define <tr>?
1756
-
1757
- // TODO: rename to computeDefaultEventEnd
1758
-
1759
- // TODO: rename to resizingSeg? subjectSeg?
1760
-
1761
- // TODO: rename. omit "string"
1762
-
1763
- // TODO: repeat code
1764
-
1765
- // TODO: sanitization
1766
-
1767
- // TODO: separate constraint/overlap/allow, because selection uses only that, not other props
1768
-
1769
- // TODO: so slot classnames for week/month/bigger. see note above about rowUnit
1770
-
1771
- // TODO: somehow consolidate with event json feed
1772
-
1773
- // TODO: somehow merge with buildIsoString and stripZeroTime
1774
-
1775
- // TODO: somehow short-circuit if there are no new height changes
1776
-
1777
- // TODO: sort rects by levelCoord to be consistent with toRects?
1778
-
1779
- // TODO: success/failure
1780
-
1781
- // TODO: test
1782
-
1783
- // TODO: test for this
1784
-
1785
- // TODO: test this in IE11
1786
-
1787
- // TODO: use Date::toISOString and use everything after the T?
1788
-
1789
- // TODO: use a hash?!!! (for other reasons too)
1790
-
1791
- // TODO: use an internal function
1792
-
1793
- // TODO: use const
1794
-
1795
- // TODO: use control characters instead?
1796
-
1797
- // TODO: use plugin system
1798
-
1799
- // TODO: use preact/compat instead?
1800
-
1801
- // TODO: use propSetHandlers in plugin system
1802
-
1803
- // TODO: very repetitive
1804
-
1805
- // TODO: wait til dispatch completes somehow
1806
-
1807
- // TODO: warning if parsed bad
1808
-
1809
- // TODO: weird way to get this. need harness b/c doesn't include table borders
1810
-
1811
- // TODO: what about hour12? no severity
1812
-
1813
- // TODO: what about number timestamps?
1814
-
1815
- // TODO: what about recurring-event properties???
1816
-
1817
- // TODO: what if dispatch didn't complete synchronously?
1818
-
1819
- // TODO: why not use normalizeRange!?
1820
-
1821
- // TODO: why not use ranges?
1822
-
1823
- // TODO: wish we could somehow wait for dispatch to guarantee render
1824
-
1825
- // TODO: wish we could use eventTupleToStore or something like it
1826
-
1827
- // TODO: would move this further down hierarchy, but sliceNowDate needs it
1828
-
1829
- // TODO: write test for this
1830
-
1831
- // The following code bubbles up values, see the tests for
1832
-
1833
- // The module cache
1834
-
1835
- // The require function
1836
-
1837
- // The second argument allows for an array of property names who's object values will be merged together.
1838
-
1839
- // This array is used to make a Date, either with `new Date` or `Date.UTC`
1840
-
1841
- // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
1842
-
1843
- // This function allows you to set a threshold for relative time strings
1844
-
1845
- // This function allows you to set the rounding function for relative time strings
1846
-
1847
- // This function will be called whenever a moment is mutated.
1848
-
1849
- // This function will load locale and then set the global locale. If
1850
-
1851
- // This is a makeshify way to compute the time-top. Assumes all slatMetas dates are uniform.
1852
-
1853
- // This is because there is no context-free conversion between hours and days
1854
-
1855
- // This is done to register the method called with moment()
1856
-
1857
- // This is why use use same waitMs from computeTiming, so we don't skip an interval while
1858
-
1859
- // TimeZone
1860
-
1861
- // Touch
1862
-
1863
- // Trigger
1864
-
1865
- // Triggered when the user clicks *anywhere* in the document, for the autoHide feature
1866
-
1867
- // Unique ID for DOM attribute
1868
-
1869
- // Update existing child locale in-place to avoid memory-leaks
1870
-
1871
- // Use low-level api, because this fn is low-level api.
1872
-
1873
- // Using charAt should be more compatible.
1874
-
1875
- // Util
1876
-
1877
- // Utils
1878
-
1879
- // View
1880
-
1881
- // WARNING: will include border
1882
-
1883
- // WHY?: people were using `component` property for `content`
1884
-
1885
- // We need to deep clone this object.
1886
-
1887
- // We need to handle cross-year weeks here.
1888
-
1889
- // We want to compare the start of today, vs this.
1890
-
1891
- // We'd normally use ~~inp for this, but unfortunately it also
1892
-
1893
- // Week Computation
1894
-
1895
- // Week Number
1896
-
1897
- // Weekly frequency won't get here, so we may not
1898
-
1899
- // Will return `0` if there's not a clean whole interval.
1900
-
1901
- // Will return a new array result.
1902
-
1903
- // Won't go more precise than days.
1904
-
1905
- // XXX: can this ever be in the array?
1906
-
1907
- // Zero out whatever was not defaulted, including time
1908
-
1909
- // [year, month, day , hour, minute, second, millisecond]
1910
-
1911
- // ^ do anything that might create adjacent spaces before this point,
1912
-
1913
- // ^ for the title="" attribute, for accessibility
1914
-
1915
- // __call__ - Cannot call the object directly, do it through
1916
-
1917
- // __eq__
1918
-
1919
- // __repr__
1920
-
1921
- // _changeInProgress == true case, then we have to adjust, because
1922
-
1923
- // `colSpec` is for the group. a GroupSpec :(
1924
-
1925
- // `day` is a day-of-week index (0-6), or a Date (used for UTC)
1926
-
1927
- // `inc` defaults to `1` (increment one day forward each time)
1928
-
1929
- // `settings` is for formatter AND isEndExclusive
1930
-
1931
- // `unit` is the already-computed greatestDurationDenominator unit of duration.
1932
-
1933
- // `viewType` can be a specific view name or a generic one like "week" or "day".
1934
-
1935
- // a calendarApi method
1936
-
1937
- // a child, *maybe* but probably not
1938
-
1939
- // a few seconds to seconds
1940
-
1941
- // a fractional value, meaning the date is not visible
1942
-
1943
- // a grouped cell. no data that is specific to this specific resource
1944
-
1945
- // a month-start that's within the current range?
1946
-
1947
- // a more-link
1948
-
1949
- // a new timezone) makes sense. Adding/subtracting hours does not follow
1950
-
1951
- // a now version of current config (take local/utc/offset flags, and
1952
-
1953
- // a populated clientWidth means sizing has stabilized
1954
-
1955
- // a range
1956
-
1957
- // a real pointer move? (not one simulated by scrolling)
1958
-
1959
- // a second time. In case it wants us to change the offset again
1960
-
1961
- // a view name
1962
-
1963
- // a/p
1964
-
1965
- // accepts multiple subject els
1966
-
1967
- // according to web standards (and Safari), a month index is required.
1968
-
1969
- // accumulate the highest possible stackCnt of the trackingEntries that butt up
1970
-
1971
- // actions related to initiating dragstart+dragmove+dragend...
1972
-
1973
- // actions we know we want to render immediately
1974
-
1975
- // actual modulo - handles negative numbers (for dates before 1970):
1976
-
1977
- // add 1 ms, protect against null range
1978
-
1979
- // add more-links into the hierarchy, but don't limit
1980
-
1981
- // add padding to the edge so that forward stacked events don't cover the resizer's icon
1982
-
1983
- // add remaining unparsed input length to the string
1984
-
1985
- // add segs with unknown heights
1986
-
1987
- // add the hidden entries
1988
-
1989
- // add the original
1990
-
1991
- // add the span of time after the last event (if there is any)
1992
-
1993
- // add the span of time before the event (if there is any)
1994
-
1995
- // add-back origins to get coordinate relative to top-left of window viewport
1996
-
1997
- // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->
1998
-
1999
- // after last item
2000
-
2001
- // all days were hidden? bad.
2002
-
2003
- // allow (a function)
2004
-
2005
- // allows 4-days to have a :30 slot duration
2006
-
2007
- // allows us to keep hidden entries in the hierarchy so they take up space
2008
-
2009
- // along edge
2010
-
2011
- // along last row
2012
-
2013
- // already parsed
2014
-
2015
- // already parsed and expanded
2016
-
2017
- // already parsed, but not expanded
2018
-
2019
- // also prevents selection in older browsers (maybe?).
2020
-
2021
- // also, whatever is happening in constructor, have it happen in action queue too
2022
-
2023
- // always async
2024
-
2025
- // always called from behind a memoizer
2026
-
2027
- // always cancel outdated in-progress fetches
2028
-
2029
- // always represents the current view. otherwise, it'd need to change value every time date changes
2030
-
2031
- // always round up in this case. works for start AND end dates in a range.
2032
-
2033
- // am/pm
2034
-
2035
- // amount of space from right edge, a fraction of the total width
2036
-
2037
- // amount of space since bottom of previous seg
2038
-
2039
- // an ID. accepts a number too
2040
-
2041
- // an existing date selection?
2042
-
2043
- // an existing event selected?
2044
-
2045
- // an exotic object for handleCustomRendering
2046
-
2047
- // an external change?
2048
-
2049
- // an integer index of the furthest whole slat
2050
-
2051
- // an object with optional start and end properties.
2052
-
2053
- // and also not between days and months (28-31 days per month)
2054
-
2055
- // and bigger
2056
-
2057
- // and further modified to allow for strings containing both week and day
2058
-
2059
- // and guard against a promise AND callback being used together.
2060
-
2061
- // and thus, we need to mark the event as having a real end
2062
-
2063
- // and want to see originating element (the 'target'), use this util instead
2064
-
2065
- // any word (or two) characters or numbers including two/three word month in arabic.
2066
-
2067
- // applies the mutation to ALL defs/instances within the event store
2068
-
2069
- // apply sign while we're at it
2070
-
2071
- // apply slotMinTime/slotMaxTime
2072
-
2073
- // are the view-specific options
2074
-
2075
- // are there any props that span0 has that span1 DOESN'T have?
2076
-
2077
- // array of day-of-week indices that are hidden
2078
-
2079
- // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
2080
-
2081
- // as a setter, sunday should belong to the previous week.
2082
-
2083
- // assign states based on new hit
2084
-
2085
- // assumed already sorted
2086
-
2087
- // attach a handler to get called when ANY scroll action happens on the page.
2088
-
2089
- // b is in (anchor - 1 month, anchor + 1 month)
2090
-
2091
- // backwards compat for now: also set the locale
2092
-
2093
- // bad. just normalize the type earlier
2094
-
2095
- // base options
2096
-
2097
- // because FF would give bad ev.pageX ev.pageY
2098
-
2099
- // because MERIDIEM_RE likes to eat up loading spaces
2100
-
2101
- // because apparently removal of the element resets the scroll for some reasons (issue #5351).
2102
-
2103
- // because autoscrolling might have happened
2104
-
2105
- // because gets weird with auto-scrolling time area
2106
-
2107
- // because will cause lots of unnecessary scrollbars within scrollgrid.
2108
-
2109
- // before the slotMaxTime?
2110
-
2111
- // behaves the same as moment#day except
2112
-
2113
- // best?
2114
-
2115
- // better to deal with integers, for rounding, for PureComponent
2116
-
2117
- // better to give the current local date vals than UTC
2118
-
2119
- // better util for this?
2120
-
2121
- // beyond the next day threshold, adjust the end to be the exclusive end of `endDay`.
2122
-
2123
- // both have range/allDay, so no need to special-case.
2124
-
2125
- // builds cellRows and slotCells
2126
-
2127
- // but DayGrid still needs to have classNames on inner elements in order to measure.
2128
-
2129
- // but are not draggable
2130
-
2131
- // but date0 needs to be converted
2132
-
2133
- // but if these values were to change, the inner components would be unmounted/remounted because of the parent change.
2134
-
2135
- // but not past the whole entry list
2136
-
2137
- // but not past the whole seg list
2138
-
2139
- // but the zoned variant of framingRange is not.
2140
-
2141
- // but which may have voided days/times.
2142
-
2143
- // but whose start time is aligned with the start of the day.
2144
-
2145
- // butts up against top of candidate? (will happen if just intersected as well)
2146
-
2147
- // byhour
2148
-
2149
- // byminute
2150
-
2151
- // bymonth
2152
-
2153
- // bymonthday
2154
-
2155
- // bysecond
2156
-
2157
- // byweekday / bynweekday
2158
-
2159
- // byweekno
2160
-
2161
- // byyearday
2162
-
2163
- // call last so that pointerup has access to props
2164
-
2165
- // callback: function () { this.month() + 1 }
2166
-
2167
- // can be called before start
2168
-
2169
- // can be called by user of this class, to cancel touch-based scrolling for the current drag
2170
-
2171
- // can be null
2172
-
2173
- // can potentially set mirrorNeedsRevert
2174
-
2175
- // can't be multi-day
2176
-
2177
- // can't just apply() to create a date:
2178
-
2179
- // can't rely on defKeys because event data is mutated
2180
-
2181
- // care about cross-year weekly periods.
2182
-
2183
- // case 'Day': // Not real
2184
-
2185
- // case 'Month': // Not used because we need to pass two variables
2186
-
2187
- // cell els in first row
2188
-
2189
- // certain clipping containers should never constrain interactions, like <html> and <body>
2190
-
2191
- // check for mismatching day of week
2192
-
2193
- // check for props that were omitted in the new
2194
-
2195
- // check: https://github.com/moment/moment/issues/2166
2196
-
2197
- // checks for null or undefined
2198
-
2199
- // chunk, row
2200
-
2201
- // clear _12h flag if hour is <= 12
2202
-
2203
- // cloneChildren=true
2204
-
2205
- // collect the trailing object values, stopping when a non-object is discovered
2206
-
2207
- // compare millisecond time (skip any ambig logic)
2208
-
2209
- // compare two arrays, return the number of differences
2210
-
2211
- // completely open-ended
2212
-
2213
- // completely within the rect?
2214
-
2215
- // computable props that all access the def
2216
-
2217
- // compute a floating-point number for how many slats should be progressed through.
2218
-
2219
- // compute all static segs in singlePlacements
2220
-
2221
- // compute based off the label interval
2222
-
2223
- // compute based off the slot duration
2224
-
2225
- // compute based off the view's duration
2226
-
2227
- // compute dateprofiles of all months, then use start of first and end of last.
2228
-
2229
- // compute diff off of the all-day values the way event-mutation does.
2230
-
2231
- // compute mixed static/absolute segs in multiPlacements
2232
-
2233
- // compute the initial ambig-timezone date
2234
-
2235
- // compute what the alignment should be
2236
-
2237
- // config
2238
-
2239
- // consider the other event's overlap. only do this if the subject event is a "real" event
2240
-
2241
- // constant that refers to the ISO standard
2242
-
2243
- // constant that refers to the RFC 2822 form
2244
-
2245
- // constrain
2246
-
2247
- // constrained because slotMinTime/slotMaxTime might be customized.
2248
-
2249
- // constraint
2250
-
2251
- // constraint for where prev/next operations can go and where events can be dragged/resized to.
2252
-
2253
- // constructor-specified buttonText lookup hash takes precedence
2254
-
2255
- // convert an array to a date.
2256
-
2257
- // convert days to months
2258
-
2259
- // convert to 'reverse'. fall through...
2260
-
2261
- // convert to epoch-milliseconds in original timezone
2262
-
2263
- // converts floats to ints.
2264
-
2265
- // convery to arrays. TODO: general util?
2266
-
2267
- // copy
2268
-
2269
- // copy values into the destination, going from last to first
2270
-
2271
- // copy, because we're gonna pop
2272
-
2273
- // could be 'auto'
2274
-
2275
- // could be 1.0 if slatCoverage is covering *all* the slots
2276
-
2277
- // count columns until the day-of-week repeats
2278
-
2279
- // create a new level
2280
-
2281
- // create now).
2282
-
2283
- // create segInputs only for segs with known heights
2284
-
2285
- // created, so we won't end up with the child locale set.
2286
-
2287
- // cross-browser way to determine when the transition finishes
2288
-
2289
- // current segment is not the non-resource one, and there IS a non-resource one
2290
-
2291
- // currently HTML5 input type only supports 24-hour formats
2292
-
2293
- // date and time from ref 2822 format
2294
-
2295
- // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
2296
-
2297
- // date from iso format
2298
-
2299
- // date from string and array of format strings
2300
-
2301
- // date from string and format string
2302
-
2303
- // date range with a rendered skeleton
2304
-
2305
- // dates that display events and accept drag-n-drop
2306
-
2307
- // day is default zoom
2308
-
2309
- // day of month
2310
-
2311
- // day when working around DST, we need to store them separately
2312
-
2313
- // days from last year's last week number in
2314
-
2315
- // days than the end month.
2316
-
2317
- // days to month/week
2318
-
2319
- // days. 1 week leeway, for tz shift reasons too
2320
-
2321
- // deal with a browser inconsistency where formatting the timezone
2322
-
2323
- // deal with in-between indices
2324
-
2325
- // deal with leftover margins
2326
-
2327
- // dealing with current
2328
-
2329
- // debug: boolean
2330
-
2331
- // default to beginning of week
2332
-
2333
- // defaults to true
2334
-
2335
- // defaults+overrides, then refined
2336
-
2337
- // definitely bigger than scrollbars
2338
-
2339
- // delete
2340
-
2341
- // deprecated in 0.1.0
2342
-
2343
- // determine if the time is within slotMinTime/slotMaxTime, which may have wacky values
2344
-
2345
- // difference in months
2346
-
2347
- // different ID than the one already added
2348
-
2349
- // disable dragging for elements that are resizable (ie, selectable)
2350
-
2351
- // do NOT give a type here. need `typeof BASE_OPTION_DEFAULTS` to give real results.
2352
-
2353
- // do last in case it needs cached values
2354
-
2355
- // do nothing
2356
-
2357
- // do the cushion too? no
2358
-
2359
- // do this first so cancelTouchScroll will work
2360
-
2361
- // do this in pointerdown (not dragend) because DOM might be mutated by the time dragend is fired
2362
-
2363
- // does not memoize
2364
-
2365
- // does not return window
2366
-
2367
- // does the initial calendar need to be cleared?
2368
-
2369
- // does the previous calendar need to be cleared?
2370
-
2371
- // does the section do liquid-height? (need to have whole scrollgrid liquid-height as well)
2372
-
2373
- // doesn't hold non-scrolling els used just for padding
2374
-
2375
- // doesn't let it do businessHours tho
2376
-
2377
- // doesn't represent a more-link
2378
-
2379
- // don't bother to watch expensive moves if component won't do selection
2380
-
2381
- // don't care about it.
2382
-
2383
- // don't force any date-profiles to valid date profiles (the `false`) so that we can tell if it's invalid
2384
-
2385
- // don't parse if it's not a known token
2386
-
2387
- // don't throw a warning, might be settings for a single-unit view
2388
-
2389
- // don't use custom classNames if disabled
2390
-
2391
- // don't want this part of the options
2392
-
2393
- // done to guard against touchend followed by touchcancel
2394
-
2395
- // double the width, but don't go beyond the maximum forward coordinate (1.0)
2396
-
2397
- // dropped within same calendar
2398
-
2399
- // e.g. RRule.TH.nth(-1) instead,
2400
-
2401
- // earlier ranges go first
2402
-
2403
- // else, warn about invalid input?
2404
-
2405
- // empty array will result in unnecessary rerenders?
2406
-
2407
- // end-of-month calculations work correct when the start month has more
2408
-
2409
- // ensure 6 weeks
2410
-
2411
- // ensure no longer than a day
2412
-
2413
- // equal!
2414
-
2415
- // eslint-disable-line prefer-rest-params
2416
-
2417
- // eslint-disable-line react/no-this-in-sfc
2418
-
2419
- // eslint-disable-next-line
2420
-
2421
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2422
-
2423
- // eslint-disable-next-line no-empty-function
2424
-
2425
- // eslint-disable-next-line react/jsx-key
2426
-
2427
- // eslint-disable-next-line react/no-array-index-key
2428
-
2429
- // event ui computation
2430
-
2431
- // event-ui
2432
-
2433
- // every [n]
2434
-
2435
- // everything else is considered default
2436
-
2437
- // examples of what that means.
2438
-
2439
- // exclude the subject events. TODO: exclude defs too?
2440
-
2441
- // excludes "shrink"
2442
-
2443
- // exclusive
2444
-
2445
- // expand active range if slotMaxTime is beyond one day (why not when negative?)
2446
-
2447
- // expand active range if slotMinTime is negative (why not when positive?)
2448
-
2449
- // external thing changed?
2450
-
2451
- // extremely tedious to make this aria-compliant,
2452
-
2453
- // fall back
2454
-
2455
- // falls through
2456
-
2457
- // fill in the implementations...
2458
-
2459
- // find an existing group that matches, or determine the position for a new group
2460
-
2461
- // find the largest label interval that yields the minimum number of labels
2462
-
2463
- // find the largest label interval with an acceptable slots-per-label
2464
-
2465
- // find the largest slot duration that is different from labelInterval, but still acceptable
2466
-
2467
- // find the smallest stock label interval that results in more than one slots-per-label
2468
-
2469
- // fired tab becomes visible after being hidden
2470
-
2471
- // firefox bug: when setting height on table and there is a thead or tfoot,
2472
-
2473
- // first cell el in each row. TODO: not optimal
2474
-
2475
- // first date in current view?
2476
-
2477
- // first element is an array of moment objects.
2478
-
2479
- // first resource takes precedence, which fights with the ordering of combineEventUis, thus the unshifts
2480
-
2481
- // first time?
2482
-
2483
- // first-week day -- which january is always in the first week (4 for iso, 1 for other)
2484
-
2485
- // first-week day local weekday -- which local weekday is fwd
2486
-
2487
- // for Components
2488
-
2489
- // for HORIZONTAL cell grouping, in spreadsheet area
2490
-
2491
- // for ISO strings we do not use the normal bubbling rules:
2492
-
2493
- // for SSR, because this function is call immediately at top-level
2494
-
2495
- // for VERTICAL cell grouping, in spreadsheet area
2496
-
2497
- // for any network-related sources
2498
-
2499
- // for array. TODO: move to resource-array
2500
-
2501
- // for backwards compatibility
2502
-
2503
- // for bug... ACTUALLY: can probably do away with this now that callers don't share numeric indices anymore
2504
-
2505
- // for connectors
2506
-
2507
- // for creating correct amount of space (see issue #7162)
2508
-
2509
- // for example, a month view might have 1st-31st, excluding padded dates
2510
-
2511
- // for expanding a recurring constraint, or expanding business hours
2512
-
2513
- // for if constraint is 'businessHours'
2514
-
2515
- // for if constraint is an even group ID
2516
-
2517
- // for if started with zero cells
2518
-
2519
- // for json feed. TODO: move to resource-json-feed
2520
-
2521
- // for memoizers...
2522
-
2523
- // for purecomponents. TODO: keep elsewhere
2524
-
2525
- // for row-height-syncing
2526
-
2527
- // for simulating an eventMouseLeave when the event el is destroyed while mouse is over it
2528
-
2529
- // for simulating pointermove on scroll
2530
-
2531
- // for the harness
2532
-
2533
- // for the inner divs within the slats
2534
-
2535
- // for use by subclasses
2536
-
2537
- // for views that span a large unit of time, show the proper interval, ignoring stray days before and after
2538
-
2539
- // for when non-resource view should be given EventUi info (for event coloring/constraints based off of resource data)
2540
-
2541
- // format date using native date object
2542
-
2543
- // formats the date, but with no time part
2544
-
2545
- // from 0 to number of slats (inclusive)
2546
-
2547
- // from 0 to number slats (*exclusive*, so len-1)
2548
-
2549
- // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
2550
-
2551
- // from https://developer.mozilla.org/en-US/docs/Web/API/Element/closest
2552
-
2553
- // from its previous value. decremented = -1, incremented = 1 (default).
2554
-
2555
- // from largest to smallest
2556
-
2557
- // from last year.
2558
-
2559
- // from milliseconds
2560
-
2561
- // from the actual represented time. That is why we call updateOffset
2562
-
2563
- // from the top of the scroller
2564
-
2565
- // fromText
2566
-
2567
- // front-end framework tells us about new container els
2568
-
2569
- // general util
2570
-
2571
- // get events/instances with same group
2572
-
2573
- // get the max height amongst instance segs
2574
-
2575
- // give it the first row of cells
2576
-
2577
- // give the OLD state, for old value
2578
-
2579
- // given a timed range, computes an all-day range based on how for the end date bleeds into the next day
2580
-
2581
- // given a timed range, computes an all-day range that has the same exact duration,
2582
-
2583
- // global state
2584
-
2585
- // got days from last year, so there are no
2586
-
2587
- // grab before trigger fired in case trigger trashes DOM thru rerendering
2588
-
2589
- // guard against calendar with no resource functionality
2590
-
2591
- // guard against success/failure callbacks being called more than once
2592
-
2593
- // hack
2594
-
2595
- // hack to get memoization working
2596
-
2597
- // hack to make multi-day events that are being force-displayed as list-items to take up only one day
2598
-
2599
- // hack to overcome the left borders of non-first slat
2600
-
2601
- // handle digits after the decimal
2602
-
2603
- // handle digits before the decimal
2604
-
2605
- // handle era
2606
-
2607
- // handle invalid durations
2608
-
2609
- // handle meridiem
2610
-
2611
- // handle milliseconds separately because of floating point math errors (issue #1867)
2612
-
2613
- // handle negative numbers
2614
-
2615
- // has hours/minutes/seconds
2616
-
2617
- // has the side effect of grooming rowInnerMaxHeightMap
2618
-
2619
- // hasEnd
2620
-
2621
- // height will now be bottom of current seg
2622
-
2623
- // help out EventImpl from having user modify props
2624
-
2625
- // help out ResourceApi from having user modify props
2626
-
2627
- // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
2628
-
2629
- // high-level segmenting-aware tester functions
2630
-
2631
- // highlighted as being the current month for example.
2632
-
2633
- // hooks is actually the exported moment object
2634
-
2635
- // horizontal
2636
-
2637
- // hours
2638
-
2639
- // hours to day
2640
-
2641
- // how far the current date will move for a prev/next operation
2642
-
2643
- // how much further through the slatIndex slat (from 0.0-1.0) must be covered in addition.
2644
-
2645
- // how we interpret now (local, utc, fixed offset). So create
2646
-
2647
- // http://stackoverflow.com/a/32954565/96342
2648
-
2649
- // https://caniuse.com/?search=object.values
2650
-
2651
- // https://developer.mozilla.org/en-US/docs/Web/API/Performance
2652
-
2653
- // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
2654
-
2655
- // https://github.com/fullcalendar/fullcalendar/issues/3615
2656
-
2657
- // https://github.com/fullcalendar/fullcalendar/issues/5026
2658
-
2659
- // https://github.com/fullcalendar/fullcalendar/issues/7934
2660
-
2661
- // https://github.com/jakubroztocil/rrule/issues/84)
2662
-
2663
- // https://github.com/moment/moment/issues/1423
2664
-
2665
- // https://github.com/moment/moment/pull/1871
2666
-
2667
- // https://stackoverflow.com/a/45760014
2668
-
2669
- // https://stackoverflow.com/q/181348
2670
-
2671
- // https://www.w3.org/WAI/tutorials/tables/multi-level/
2672
-
2673
- // i.e. not a Document/ShadowRoot
2674
-
2675
- // if (debug) {
2676
-
2677
- // if (moment.tz !== undefined) {
2678
-
2679
- // if (this.debug && shouldUpdate) {
2680
-
2681
- // if 0, transition won't work
2682
-
2683
- // if a different falsy value, do nothing
2684
-
2685
- // if adding to an existing level, find where to insert
2686
-
2687
- // if already assigned by previous props or complex props, don't reassign
2688
-
2689
- // if any of the events define constraints to resources that are NOT this resource,
2690
-
2691
- // if date is partially through the interval, or is in the same interval as the start,
2692
-
2693
- // if doesn't start out on a hit, won't emit any events
2694
-
2695
- // if duration will change, there's no way the default duration will persist,
2696
-
2697
- // if everyday, or this particular day-of-week
2698
-
2699
- // if exact match (which doesn't collide), go to next one
2700
-
2701
- // if hasEnd has not been specified, guess a good value based on deltas.
2702
-
2703
- // if intercepting bubbled events at the document/window/body level,
2704
-
2705
- // if its possible for the height to max out, we might need scrollbars
2706
-
2707
- // if more than one week row, or if there are a lot of columns with not much space,
2708
-
2709
- // if no thickness known, assume 1 (if 0, so small it always fits)
2710
-
2711
- // if not already present
2712
-
2713
- // if not mirror, needs to be sorted
2714
-
2715
- // if now using mouse, but was previous touch interaction, clear selected event
2716
-
2717
- // if range is completely enveloped by hidden days, go past the hidden days
2718
-
2719
- // if reacting to self-change of sectionRowMaxHeightsChanged, or not stable, don't do anything
2720
-
2721
- // if requesting to display seconds, MUST display minutes
2722
-
2723
- // if rows can't expand to fill fixed height, can't do balanced-height event limit
2724
-
2725
- // if slotDuration 30 mins for example, would NOT appear to snap (legacy behavior)
2726
-
2727
- // if so, don't clear all the way. we still need to to hide the affectedEvents
2728
-
2729
- // if so, use a simpler dom structure, jam everything into a lone tbody.
2730
-
2731
- // if strictOrder, keep finding more lateral intersections.
2732
-
2733
- // if the current level is past the placed entry, we have found a good empty space and can stop.
2734
-
2735
- // if the section is liquid height, it might condense enough to require scrollbars
2736
-
2737
- // if the trailing values were objects, use the merged value
2738
-
2739
- // if the user ended their touch, and the scroll area wasn't moving,
2740
-
2741
- // if the view displays a single day or smaller
2742
-
2743
- // if there is any input that was not parsed add a penalty for that format
2744
-
2745
- // if there were no objects, this value will be used
2746
-
2747
- // if touch coords available, prefer,
2748
-
2749
- // if touch, need to be working with a selected event
2750
-
2751
- // if touch, require user to hold down
2752
-
2753
- // if touching, the scrolling will end later, on touchend.
2754
-
2755
- // if we can't compute the current date val for a timezone,
2756
-
2757
- // if we didn't find a month name, mark the date as invalid.
2758
-
2759
- // if we didn't get a weekday name, mark the date as invalid
2760
-
2761
- // if we have a mix of positive and negative values, bubble down first
2762
-
2763
- // implies that it's object-mergeable
2764
-
2765
- // important NOT to do liquid-height. dont want to shrink height smaller than content
2766
-
2767
- // important for start-of-month
2768
-
2769
- // important to grab the newly modified def
2770
-
2771
- // important to normalize for IE, which does "GMT"
2772
-
2773
- // in DST gap: https://github.com/fullcalendar/fullcalendar/issues/7633
2774
-
2775
- // in case event was all-day but the supplied deltas were not
2776
-
2777
- // in future refactor, do the redux-style function(state=initial) for initial-state
2778
-
2779
- // in one col
2780
-
2781
- // in-between ends round to prev cell
2782
-
2783
- // in-between starts round to next cell
2784
-
2785
- // includes not-active days that need some sort of DOM
2786
-
2787
- // includes scottish gaelic two word and hyphenated months
2788
-
2789
- // inclusive first index
2790
-
2791
- // index of the diff :(
2792
-
2793
- // indexed by "instanceId:firstCol"
2794
-
2795
- // inefficient!!!
2796
-
2797
- // inner-child margins and absolute positioning
2798
-
2799
- // inp may be undefined, so careful calling replace on it.
2800
-
2801
- // input != null
2802
-
2803
- // insert into existing level
2804
-
2805
- // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
2806
-
2807
- // instance will be null if expressing a recurring event that has no current instances,
2808
-
2809
- // instance. Otherwise, it will return the locale configuration
2810
-
2811
- // internal
2812
-
2813
- // internal state
2814
-
2815
- // internal states
2816
-
2817
- // internal storage for locale config files
2818
-
2819
- // intersect the footprint's range with the grid's range
2820
-
2821
- // intersect! evaluate
2822
-
2823
- // intersects into the top of the candidate?
2824
-
2825
- // inverse-background events don't have specific instances. TODO: better solution
2826
-
2827
- // is always one behind
2828
-
2829
- // is auto?
2830
-
2831
- // is it INTENTFULLY dragging? lasts until after revert animation
2832
-
2833
- // is sizing stable?
2834
-
2835
- // is the scrollbar on the left side?
2836
-
2837
- // is the user validly moving the pointer? lasts until pointerup
2838
-
2839
- // isHorizontal
2840
-
2841
- // iso 8601 regex
2842
-
2843
- // iso time formats and regexes
2844
-
2845
- // it *could* be possible to reduce DOM wrappers by only doing a ClippedScroller when allowXScrolling or allowYScrolling,
2846
-
2847
- // it separately.
2848
-
2849
- // it's invalid if the originally requested date is not contained,
2850
-
2851
- // keep going, in case new tasks were added in the drained handler
2852
-
2853
- // keep wasTouchScroll around for later access
2854
-
2855
- // keepLocalTime = true means only change the timezone, without
2856
-
2857
- // key doesn't matter. will only ever be one
2858
-
2859
- // large unit?
2860
-
2861
- // later-added plugins take precedence
2862
-
2863
- // left in last year.
2864
-
2865
- // left/top are relative to document topleft
2866
-
2867
- // like "September 2014"
2868
-
2869
- // listen to the next mouseleave, and then unattach
2870
-
2871
- // local weekday -- counting starts from beginning of week
2872
-
2873
- // locale key.
2874
-
2875
- // look at other places for this problem
2876
-
2877
- // loop each day from start to end
2878
-
2879
- // loop through entries that horizontally intersect
2880
-
2881
- // main
2882
-
2883
- // make end-of-week if not already
2884
-
2885
- // make negative values wrap to 24hr clock
2886
-
2887
- // make sure changes to properties don't modify parent config
2888
-
2889
- // make sure labelInterval doesn't exceed the max number of cells
2890
-
2891
- // make sure labelInterval is a multiple of slotDuration
2892
-
2893
- // make sure slotDuration doesn't exceed the maximum number of cells
2894
-
2895
- // make sure the hit is within activeRange, meaning it's not a dead cell
2896
-
2897
- // make sure we set the locale AFTER all child locales have been
2898
-
2899
- // make the exclusive end be the *next* interval
2900
-
2901
- // make the regex if we don't have it already
2902
-
2903
- // mark as not found to avoid repeating expensive file require call causing high CPU
2904
-
2905
- // massage if only given a year.
2906
-
2907
- // massage resources -> resourceIds
2908
-
2909
- // match[2] should be 'T' or space
2910
-
2911
- // matching against regexp is expensive, do it on demand
2912
-
2913
- // means "clear the end"
2914
-
2915
- // means date1 is already start-of-day,
2916
-
2917
- // memo
2918
-
2919
- // merge in event data from the non-resource segment
2920
-
2921
- // might be an "extra" prop
2922
-
2923
- // might be the <div> surrounding the more link
2924
-
2925
- // might not have for every more-link
2926
-
2927
- // might not have for every seg
2928
-
2929
- // might return null
2930
-
2931
- // might return void
2932
-
2933
- // milliseconds since slotMinTime
2934
-
2935
- // minutes
2936
-
2937
- // minutes to hour
2938
-
2939
- // minutes to milliseconds
2940
-
2941
- // mock what happens in EventClicking
2942
-
2943
- // moment 2.7.0
2944
-
2945
- // moment 2.8.1+
2946
-
2947
- // moment.duration._locale = moment._locale = data;
2948
-
2949
- // moments should either be an array of moment objects or an array, whose
2950
-
2951
- // more...
2952
-
2953
- // much more reliable to see if children are taller than the scroller, even tho doesn't account for
2954
-
2955
- // multi-day range. shorter, like "Sep 9 - 10 2014"
2956
-
2957
- // must be at least the side of scrollbars or you get inaccurate values (#7335)
2958
-
2959
- // must be explicitly enabled
2960
-
2961
- // must be within the element's bounds
2962
-
2963
- // must first be modified by applyMutationToEventDef
2964
-
2965
- // must happen after revert animation
2966
-
2967
- // must happen on first pointer down
2968
-
2969
- // must have already been created
2970
-
2971
- // name of largest unit being displayed, like "month" or "week"
2972
-
2973
- // native implementation is ~50x faster, use it when we can
2974
-
2975
- // necessary?
2976
-
2977
- // need empty inner div for abs positioning for resizer
2978
-
2979
- // need global-to-calendar, not local to component (splittable)state
2980
-
2981
- // need this check?
2982
-
2983
- // need to have a container regardless of whether the current view has a visible now indicator
2984
-
2985
- // need to select a different event?
2986
-
2987
- // needed for Hit creation :(
2988
-
2989
- // needed. but why?
2990
-
2991
- // needed?
2992
-
2993
- // needs to be after setThisContext
2994
-
2995
- // needs to change
2996
-
2997
- // needs to divide by something but can't!
2998
-
2999
- // needs to happen before updateElPosition
3000
-
3001
- // new Date(NaN).toJSON() === null
3002
-
3003
- // new ones
3004
-
3005
- // no arguments are passed in, it will simply return the current global
3006
-
3007
- // no items OR before first item
3008
-
3009
- // no need to groom. always self-cancels
3010
-
3011
- // non-null
3012
-
3013
- // non-null object
3014
-
3015
- // nonce
3016
-
3017
- // not DRY
3018
-
3019
- // not a date part prop (like timeZone)
3020
-
3021
- // not a group
3022
-
3023
- // not already in there
3024
-
3025
- // not already present? don't want to add an old snapshot
3026
-
3027
- // not already removed
3028
-
3029
- // not an in-between value
3030
-
3031
- // not array? or not same length?
3032
-
3033
- // not destroyed via pointerdown handler
3034
-
3035
- // not explicitly excluded
3036
-
3037
- // not hidden by css
3038
-
3039
- // not meant for public use
3040
-
3041
- // not necessary for touch, besides, browser would complain about passiveness.
3042
-
3043
- // not null
3044
-
3045
- // not optimal :(
3046
-
3047
- // not responsible for group-based rows. VRowGroup is
3048
-
3049
- // not responsible for trimming hidden days.
3050
-
3051
- // not sorted in any particular order
3052
-
3053
- // not the '' key
3054
-
3055
- // note: all values past the year are optional and will default to the lowest possible value.
3056
-
3057
- // nth <weekday> | <weekday>
3058
-
3059
- // null if section disappeared. bad, b/c won't null-set the elRef
3060
-
3061
- // null means not found
3062
-
3063
- // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
3064
-
3065
- // object construction must be done this way.
3066
-
3067
- // objects.
3068
-
3069
- // occupy the space) but mark it forced-hidden
3070
-
3071
- // of `ev.target` because it goes within web-component boundaries.
3072
-
3073
- // of all columns
3074
-
3075
- // okay to expose?
3076
-
3077
- // on both fg and bg events
3078
-
3079
- // one day. longer, like "September 9 2014"
3080
-
3081
- // one of the old sets no longer exists
3082
-
3083
- // only a one-way height sync. we don't send the axis inner-content height to the DayGrid,
3084
-
3085
- // only allow non-integers for smallest unit
3086
-
3087
- // only allow the value if it won't exceed the view's # of slots limit
3088
-
3089
- // only do a touch delay if touch and this event hasn't been selected yet
3090
-
3091
- // only end the scroll if not currently touching.
3092
-
3093
- // only ever elements
3094
-
3095
- // only hide the popover if the click happened outside the popover
3096
-
3097
- // only queries direct child elements // TODO: rename to findDirectChildren!
3098
-
3099
- // only support short timezone names
3100
-
3101
- // only unselect if moved away while dragging
3102
-
3103
- // only used by list-view, but languages define the value, so we need it in base options
3104
-
3105
- // optional
3106
-
3107
- // optional if subclass doesn't want to support a mirror
3108
-
3109
- // options that can be directly assigned by caller
3110
-
3111
- // options that can be directly set by caller
3112
-
3113
- // options that can be set by caller
3114
-
3115
- // options that can be set directly by caller
3116
-
3117
- // or if the range is completely outside of the valid range.
3118
-
3119
- // or they are the same as the instance.
3120
-
3121
- // ordered
3122
-
3123
- // ordinal: 'Mo'
3124
-
3125
- // orig
3126
-
3127
- // orig-TODO : Check -numweeks for next year.
3128
-
3129
- // other meridiem transformers already converted to lowercase
3130
-
3131
- // other. This relies on the function fn to be transitive.
3132
-
3133
- // our way to simulate a link click for elements that can't be <a> tags
3134
-
3135
- // overlap
3136
-
3137
- // overrides only!, unrefined :(
3138
-
3139
- // padded: ['MM', 2]
3140
-
3141
- // parallel with levelCoords
3142
-
3143
- // parsed
3144
-
3145
- // pass null for config to unupdate, useful for tests
3146
-
3147
- // pick the locale from the array
3148
-
3149
- // pixels
3150
-
3151
- // pixels from bottom edge
3152
-
3153
- // pixels per second
3154
-
3155
- // position relative to viewport
3156
-
3157
- // possible for next-day to have negative business hours that go into current day
3158
-
3159
- // possible for prev-day to have >24hr business hours that go into current day
3160
-
3161
- // potential nice values for slot-duration and interval-duration
3162
-
3163
- // potential nice values for the slot-duration and interval-duration
3164
-
3165
- // preserve leap years using a full 400 year cycle, then reset
3166
-
3167
- // preserve original result
3168
-
3169
- // prevent links from being visited if there's an eventual drag.
3170
-
3171
- // prevents drag from starting and blocks scrolling during drag
3172
-
3173
- // promote children
3174
-
3175
- // protect against outerContent
3176
-
3177
- // protect against the initial pointerdown being too close to an edge and starting the scroll
3178
-
3179
- // protect against when the span is entirely in an invalid date region
3180
-
3181
- // protects against recursive calls to _handleAction
3182
-
3183
- // put just the day numbers will be in each cell
3184
-
3185
- // quadratic
3186
-
3187
- // range the view is formally responsible for.
3188
-
3189
- // ranges need to be in order. required for our date-walking algorithm
3190
-
3191
- // raw
3192
-
3193
- // raw values.
3194
-
3195
- // really bad fallback for IE
3196
-
3197
- // really?
3198
-
3199
- // rects ordered by top coord, then left
3200
-
3201
- // reinsert the area that turned into a "more" link (so no other entries try to
3202
-
3203
- // relative to viewport top-left
3204
-
3205
- // remove
3206
-
3207
- // remove excess
3208
-
3209
- // remove existing recurring instances
3210
-
3211
- // remove left-to-right control chars. do first. good for other regexes
3212
-
3213
- // remove the forced-hidden segs
3214
-
3215
- // render a drag state on the next receivingCalendar
3216
-
3217
- // render the mirror if no already-rendered mirror
3218
-
3219
- // rendering
3220
-
3221
- // representation for dateAddRemove
3222
-
3223
- // requires that the hour/minute be present.
3224
-
3225
- // reset all internal state
3226
-
3227
- // reset. caller must set-visible
3228
-
3229
- // results range from negative width of area to 0
3230
-
3231
- // retrieve any outbound GET/POST data from the options
3232
-
3233
- // retrieves events that have the same groupId as the instance specified by `instanceId`
3234
-
3235
- // returned value is between 0 and the number of snaps
3236
-
3237
- // returns a object with all primitive props that can be compared
3238
-
3239
- // returns a real array. good for methods like forEach
3240
-
3241
- // returns groups with entries sorted by input order
3242
-
3243
- // returns locale data
3244
-
3245
- // screen coords relative to viewport
3246
-
3247
- // scrollLeft is distance between scrollframe's right edge scrollcanvas's right edge
3248
-
3249
- // scrollgrid will ignore resize requests if there are too many :|
3250
-
3251
- // seconds
3252
-
3253
- // seconds and ms were already considered in sanitizeSettings
3254
-
3255
- // seconds to minute
3256
-
3257
- // see NOTE in SimpleScrollGrid
3258
-
3259
- // see https://github.com/facebook/react/issues/13029
3260
-
3261
- // see sorting in computeMonthsParse
3262
-
3263
- // segInputs assumed sorted
3264
-
3265
- // segs without coords
3266
-
3267
- // selection is already rendered, so just need to report selection
3268
-
3269
- // sets coordAdjust
3270
-
3271
- // sets initialHit
3272
-
3273
- // settings
3274
-
3275
- // should be initialized once and stay constant
3276
-
3277
- // should not be a purecomponent
3278
-
3279
- // should window resizes be considered "forced" ?
3280
-
3281
- // skip outer content
3282
-
3283
- // skip past levels that are too high up
3284
-
3285
- // slightly inefficient. already done up the call stack
3286
-
3287
- // slotMinTime or slotMaxTime causes the range to expand.
3288
-
3289
- // snapshot
3290
-
3291
- // so new drag doesn't happen while revert animation is going
3292
-
3293
- // so we can find the correct dates from the cached ones.
3294
-
3295
- // so we can properly clone ourselves.
3296
-
3297
- // so we get same `cols` props every time
3298
-
3299
- // so we need to sanitize ourselves
3300
-
3301
- // something else changed, probably external
3302
-
3303
- // sometimes true if SSR system simulates DOM
3304
-
3305
- // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
3306
-
3307
- // somewhat similar to what TimeGrid does. consolidate?
3308
-
3309
- // sorted by levelCoord (lowest to highest)
3310
-
3311
- // sourceId
3312
-
3313
- // spans from one day into another?
3314
-
3315
- // spans more than one month?
3316
-
3317
- // specified which hour they want. So trying to maintain the same hour (in
3318
-
3319
- // split up the touchingEntry, reinsert it
3320
-
3321
- // start-of-first-week - start-of-year
3322
-
3323
- // started on week start, or week number 1
3324
-
3325
- // still event
3326
-
3327
- // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root
3328
-
3329
- // sufficiently large number of different minute cells?
3330
-
3331
- // sufficiently large number of different second cells?
3332
-
3333
- // supplied as a function that returns a key/value object
3334
-
3335
- // supports only 2.0-style add(1, 's') or add(duration)
3336
-
3337
- // supports only 2.0-style subtract(1, 's') or subtract(duration)
3338
-
3339
- // test the regex
3340
-
3341
- // testing scrollHeight>clientHeight is unreliable cross-browser when pixel heights aren't integers.
3342
-
3343
- // testing scrollWidth>clientWidth is unreliable cross-browser when pixel heights aren't integers.
3344
-
3345
- // that come from the document to fire beforehand. much more convenient this way.
3346
-
3347
- // that's why we use spreadsheetResizerElRef instead
3348
-
3349
- // the <td>
3350
-
3351
- // the Date.UTC function remaps years 0-99 to 1900-1999
3352
-
3353
- // the NON-DATE-RELATED props
3354
-
3355
- // the array should mirror the parameters below
3356
-
3357
- // the beginning of the day the range starts
3358
-
3359
- // the caller can also set the PointerDragging's options as well
3360
-
3361
- // the cell padding+border
3362
-
3363
- // the closer to the edge, the faster we scroll
3364
-
3365
- // the date constructor remaps years 0-99 to 1900-1999
3366
-
3367
- // the destination level will be after touchingEntry's level. find it
3368
-
3369
- // the entry that the new insertion is touching must be hidden
3370
-
3371
- // the events being dragged
3372
-
3373
- // the fc-daygrid-day-events
3374
-
3375
- // the fc-daygrid-day-frame
3376
-
3377
- // the groups are unordered
3378
-
3379
- // the initial calendar might have an dummy drag state from displayDrag
3380
-
3381
- // the necessary height:100% on the liquid-height body section forces the *whole* table to be taller. (bug #5524)
3382
-
3383
- // the only allowed military tz is Z
3384
-
3385
- // the recurrence plugins don't guarantee that all-day events are start-of-day, so we have to
3386
-
3387
- // the reverse of daysToMonths
3388
-
3389
- // the seg being selected/dragged
3390
-
3391
- // the smallest unit in the formatter (9 is a sentinel, beyond max)
3392
-
3393
- // the two dates are different in a way that's larger scale than time
3394
-
3395
- // the window is the only scroll object that changes it's rectangle relative
3396
-
3397
- // then this resource is unconditionally prohibited, which is what a `false` value does.
3398
-
3399
- // there is a max setTimeout ms value (https://stackoverflow.com/a/3468650/96342)
3400
-
3401
- // there is no such time in the given timezone.
3402
-
3403
- // these DON'T return zoned-dates. only UTC start-of dates
3404
-
3405
- // these props are important to give this wrapper correct dimensions for interactions
3406
-
3407
- // things that derive from other translatable strings.
3408
-
3409
- // this is not used
3410
-
3411
- // this is useful for scrolling prev/next dates while resource is scrolled down
3412
-
3413
- // this issue doesn't happen for the timeline body however (
3414
-
3415
- // this rule.
3416
-
3417
- // this should be abstract
3418
-
3419
- // this was impossible to do with normal on/off because 'scroll' doesn't bubble.
3420
-
3421
- // this will change too
3422
-
3423
- // this year.
3424
-
3425
- // this.add(gettext('DAY'))
3426
-
3427
- // tho it's really easy to access this globally rather than pass thru options.
3428
-
3429
- // throw parse error otherwise?
3430
-
3431
- // time part wasn't stripped, can add timezone info
3432
-
3433
- // timeZoneOffset is in minutes
3434
-
3435
- // timezone chunker
3436
-
3437
- // to assign multiple headers to each cell
3438
-
3439
- // to the document's topleft as it scrolls
3440
-
3441
- // token: 'M'
3442
-
3443
- // touch-scrolling should never unfocus any type of selection
3444
-
3445
- // treat it as a touch end
3446
-
3447
- // triggered only when the next single subsequent transition finishes
3448
-
3449
- // true. part of the first event source
3450
-
3451
- // truncate time
3452
-
3453
- // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each
3454
-
3455
- // try from previous state
3456
-
3457
- // ttr.nextSymbol()
3458
-
3459
- // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
3460
-
3461
- // undefined otherwise).
3462
-
3463
- // unlike mouse, need to attach to target, not document
3464
-
3465
- // unselect *date* selection
3466
-
3467
- // unselect previous selections
3468
-
3469
- // updateLocale is called for creating a new locale
3470
-
3471
- // use Intl API when available and returning valid time zone
3472
-
3473
- // use getCanVGrowWithinCell as a way to detect table-stupid firefox.
3474
-
3475
- // use in vdom
3476
-
3477
- // use other one
3478
-
3479
- // use pythagorean theorem
3480
-
3481
- // use same key as text
3482
-
3483
- // use the label interval as a last resort
3484
-
3485
- // use the slot duration as a last resort
3486
-
3487
- // useCaptured=true
3488
-
3489
- // used at all?
3490
-
3491
- // used by toString()
3492
-
3493
- // used for event rendering and scrollTime, to disregard slat border
3494
-
3495
- // useful for testing
3496
-
3497
- // user currently has finger down?
3498
-
3499
- // util funcs
3500
-
3501
- // valid?
3502
-
3503
- // validate after computed grid duration
3504
-
3505
- // variables for this instance.
3506
-
3507
- // view-name = buttonName
3508
-
3509
- // view-specific options
3510
-
3511
- // was previously in the calendar
3512
-
3513
- // wasn't cancelled between animation calls
3514
-
3515
- // wasn't destroyed mid-drag
3516
-
3517
- // wday instanceof Weekday
3518
-
3519
- // we DO want to watch pointer moves because otherwise finalHit won't get populated
3520
-
3521
- // we are dealing with an EventStore
3522
-
3523
- // we are not relying on the element to normalize out-of-bounds scroll values
3524
-
3525
- // we consider this to be the end of the scroll.
3526
-
3527
- // we don't want long taps or any mouse interaction causing selection/menus.
3528
-
3529
- // we leverage the only guaranteed timeZone for our UTC markers
3530
-
3531
- // webpackBootstrap
3532
-
3533
- // weekday -- low day numbers are considered next week
3534
-
3535
- // weeks to month
3536
-
3537
- // weird way to call this!!!
3538
-
3539
- // weird way to determine if content
3540
-
3541
- // well. If no1wkst is 0, either the year
3542
-
3543
- // went 1 past. insert at i
3544
-
3545
- // what if parsed bad!?
3546
-
3547
- // when a prev/next operation happens.
3548
-
3549
- // when computing the diff for an event being converted to all-day,
3550
-
3551
- // when trying to find en-US, en_US, en-us for every format call
3552
-
3553
- // when we don't know dims
3554
-
3555
- // which is a way to define the currentRange and activeRange at the same time.
3556
-
3557
- // which is why we listen to 'visibilitychange'
3558
-
3559
- // which months you are are talking about, so we have to store
3560
-
3561
- // while waiting to know availableWidth, we can't set height to *zero*
3562
-
3563
- // why might instanceId not be in the store? an event from another calendar?
3564
-
3565
- // why no type?
3566
-
3567
- // will already have eventMinHeight applied because segInputs already had it
3568
-
3569
- // will be `null` if no dates accept events
3570
-
3571
- // will cause subjectEl in all emitted events to be this element
3572
-
3573
- // will change if timezone setup changed
3574
-
3575
- // will compute if necessary
3576
-
3577
- // will convert to array
3578
-
3579
- // will disregard undefined for sparse arrays
3580
-
3581
- // will fire *before* the scroll event is fired (might not cause a scroll)
3582
-
3583
- // will match the longer piece.
3584
-
3585
- // will stop animation
3586
-
3587
- // will stop when gets to document or null
3588
-
3589
- // will try to reslice...
3590
-
3591
- // will work fine for divs that have overflow:hidden
3592
-
3593
- // wire things up
3594
-
3595
- // wish we could use a selector to detect date selection, but uses hit system
3596
-
3597
- // wish we didn't have to pass in the rest of the args...
3598
-
3599
- // wish we didn't need to pass in the rest of these args...
3600
-
3601
- // with parseZone.
3602
-
3603
- // without creating circular dependencies.
3604
-
3605
- // won't even fire if moving was ignored
3606
-
3607
- // won't ever be populated if shouldIgnoreMove
3608
-
3609
- // workaround for Luxon (and maybe moment) returning prior-days when start-of-day
3610
-
3611
- // worth making a PureComponent? (because of innerHeight)
3612
-
3613
- // would use preventSelection(), but that prevents selectstart, causing problems.
3614
-
3615
- // would want to use own <tr> ref, but not guaranteed to be ready when this fires
3616
-
3617
- // wtf
3618
-
3619
- // year and month views should be aligned with weeks. this is already done for week
3620
-
3621
- // yuck
3622
-
3623
- // yucky to memoize VNodes, but much more efficient for consumers
3624
-
3625
- // zero-indexed
3626
-
3627
- // zoom can give weird floating-point values. rather scroll a little bit further
3628
-
3629
- // }
3630
-
3631
1
  //! Copyright (c) JS Foundation and other contributors
3632
2
 
3633
3
  //! github.com/moment/moment-timezone
@@ -3639,59 +9,3 @@ PERFORMANCE OF THIS SOFTWARE.
3639
9
  //! moment.js
3640
10
 
3641
11
  //! version : 0.5.48
3642
-
3643
- //# sourceMappingURL=cache.js.map
3644
-
3645
- //# sourceMappingURL=callbackiterresult.js.map
3646
-
3647
- //# sourceMappingURL=datewithzone.js.map
3648
-
3649
- //# sourceMappingURL=easter.js.map
3650
-
3651
- //# sourceMappingURL=i18n.js.map
3652
-
3653
- //# sourceMappingURL=index.js.map
3654
-
3655
- //# sourceMappingURL=iterresult.js.map
3656
-
3657
- //# sourceMappingURL=iterset.js.map
3658
-
3659
- //# sourceMappingURL=monthinfo.js.map
3660
-
3661
- //# sourceMappingURL=optionstostring.js.map
3662
-
3663
- //# sourceMappingURL=parseoptions.js.map
3664
-
3665
- //# sourceMappingURL=parsestring.js.map
3666
-
3667
- //# sourceMappingURL=parsetext.js.map
3668
-
3669
- //# sourceMappingURL=poslist.js.map
3670
-
3671
- //# sourceMappingURL=rruleset.js.map
3672
-
3673
- //# sourceMappingURL=rrulestr.js.map
3674
-
3675
- //# sourceMappingURL=totext.js.map
3676
-
3677
- //# sourceMappingURL=types.js.map
3678
-
3679
- //# sourceMappingURL=yearinfo.js.map
3680
-
3681
- //check for negative zero, return zero if negative zero
3682
-
3683
- //compute day of the year from weeks and weekdays
3684
-
3685
- //if the day of the year is set, figure out what it is
3686
-
3687
- //invert the arguments, but complain about it
3688
-
3689
- //or tokens
3690
-
3691
- //short-circuit everything else
3692
-
3693
- //the next array item is better than a shallower substring of this one
3694
-
3695
- //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978
3696
-
3697
- //warn user if arguments are passed but the locale could not be set