@fullcalendar/core 7.0.0-beta.4 → 7.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +7 -1
- package/{index.cjs → cjs/index.cjs} +491 -365
- package/cjs/internal-classnames.cjs +11 -0
- package/{internal-common.cjs → cjs/internal-common.cjs} +5466 -5268
- package/{internal.cjs → cjs/internal.cjs} +25 -19
- package/{locales → cjs/locales}/af.cjs +8 -10
- package/{locales → cjs/locales}/ar-dz.cjs +7 -10
- package/{locales → cjs/locales}/ar-kw.cjs +7 -10
- package/{locales → cjs/locales}/ar-ly.cjs +7 -10
- package/{locales → cjs/locales}/ar-ma.cjs +7 -10
- package/{locales → cjs/locales}/ar-sa.cjs +7 -10
- package/{locales → cjs/locales}/ar-tn.cjs +7 -10
- package/{locales → cjs/locales}/ar.cjs +7 -10
- package/{locales → cjs/locales}/az.cjs +8 -11
- package/{locales → cjs/locales}/bg.cjs +8 -10
- package/{locales → cjs/locales}/bn.cjs +7 -10
- package/{locales → cjs/locales}/bs.cjs +10 -12
- package/{locales → cjs/locales}/ca.cjs +10 -12
- package/{locales → cjs/locales}/cs.cjs +9 -11
- package/{locales → cjs/locales}/cy.cjs +8 -11
- package/{locales → cjs/locales}/da.cjs +8 -11
- package/cjs/locales/de-at.cjs +57 -0
- package/cjs/locales/de.cjs +57 -0
- package/{locales → cjs/locales}/el.cjs +9 -11
- package/{locales → cjs/locales}/en-au.cjs +4 -5
- package/{locales → cjs/locales}/en-gb.cjs +4 -5
- package/{locales → cjs/locales}/en-nz.cjs +4 -5
- package/{locales → cjs/locales}/eo.cjs +10 -12
- package/cjs/locales/es-us.cjs +34 -0
- package/cjs/locales/es.cjs +40 -0
- package/{locales → cjs/locales}/et.cjs +10 -12
- package/{locales → cjs/locales}/eu.cjs +10 -12
- package/{locales → cjs/locales}/fa.cjs +9 -11
- package/{locales → cjs/locales}/fi.cjs +10 -12
- package/cjs/locales/fr-ca.cjs +21 -0
- package/{locales → cjs/locales}/fr-ch.cjs +10 -12
- package/{locales → cjs/locales}/fr.cjs +10 -13
- package/cjs/locales/gl.cjs +40 -0
- package/{locales → cjs/locales}/he.cjs +8 -11
- package/{locales → cjs/locales}/hi.cjs +9 -11
- package/{locales → cjs/locales}/hr.cjs +10 -12
- package/{locales → cjs/locales}/hu.cjs +8 -11
- package/{locales → cjs/locales}/hy-am.cjs +9 -11
- package/{locales → cjs/locales}/id.cjs +10 -12
- package/{locales → cjs/locales}/is.cjs +8 -11
- package/{locales → cjs/locales}/it.cjs +10 -12
- package/{locales → cjs/locales}/ja.cjs +7 -10
- package/cjs/locales/ka.cjs +27 -0
- package/{locales → cjs/locales}/kk.cjs +9 -12
- package/{locales → cjs/locales}/km.cjs +7 -10
- package/{locales → cjs/locales}/ko.cjs +7 -10
- package/{locales → cjs/locales}/ku.cjs +7 -10
- package/{locales → cjs/locales}/lb.cjs +10 -12
- package/{locales → cjs/locales}/lt.cjs +10 -12
- package/{locales → cjs/locales}/lv.cjs +10 -12
- package/{locales → cjs/locales}/mk.cjs +9 -11
- package/{locales → cjs/locales}/ms.cjs +10 -12
- package/{locales → cjs/locales}/nb.cjs +11 -17
- package/{locales → cjs/locales}/ne.cjs +7 -10
- package/{locales → cjs/locales}/nl.cjs +8 -10
- package/{locales → cjs/locales}/nn.cjs +8 -11
- package/{locales → cjs/locales}/pl.cjs +10 -12
- package/cjs/locales/pt-br.cjs +40 -0
- package/{locales → cjs/locales}/pt.cjs +10 -12
- package/{locales → cjs/locales}/ro.cjs +10 -12
- package/{locales → cjs/locales}/ru.cjs +10 -12
- package/{locales → cjs/locales}/si-lk.cjs +9 -11
- package/{locales → cjs/locales}/sk.cjs +9 -11
- package/{locales → cjs/locales}/sl.cjs +7 -10
- package/{locales → cjs/locales}/sm.cjs +7 -10
- package/{locales → cjs/locales}/sq.cjs +10 -12
- package/{locales → cjs/locales}/sr-cyrl.cjs +9 -11
- package/{locales → cjs/locales}/sr.cjs +9 -11
- package/cjs/locales/sv.cjs +41 -0
- package/{locales → cjs/locales}/ta-in.cjs +8 -11
- package/{locales → cjs/locales}/th.cjs +9 -12
- package/{locales → cjs/locales}/tr.cjs +9 -11
- package/cjs/locales/ug.cjs +18 -0
- package/{locales → cjs/locales}/uk.cjs +10 -12
- package/{locales → cjs/locales}/uz-cy.cjs +7 -10
- package/{locales → cjs/locales}/uz.cjs +8 -10
- package/{locales → cjs/locales}/vi.cjs +9 -11
- package/{locales → cjs/locales}/zh-cn.cjs +7 -10
- package/{locales → cjs/locales}/zh-tw.cjs +7 -10
- package/{preact.cjs → cjs/preact.cjs} +1 -0
- package/esm/index.d.ts +53 -0
- package/{index.js → esm/index.js} +493 -369
- package/esm/internal-classnames.d.ts +1 -0
- package/esm/internal-classnames.js +3 -0
- package/{internal-common.d.ts → esm/internal-common.d.ts} +726 -693
- package/{internal-common.js → esm/internal-common.js} +5438 -5245
- package/esm/internal.d.ts +5 -0
- package/esm/internal.js +3 -0
- package/{locales → esm/locales}/af.js +8 -10
- package/{locales → esm/locales}/ar-dz.js +7 -10
- package/{locales → esm/locales}/ar-kw.js +7 -10
- package/{locales → esm/locales}/ar-ly.js +7 -10
- package/{locales → esm/locales}/ar-ma.js +7 -10
- package/{locales → esm/locales}/ar-sa.js +7 -10
- package/{locales → esm/locales}/ar-tn.js +7 -10
- package/{locales → esm/locales}/ar.js +7 -10
- package/{locales → esm/locales}/az.js +8 -11
- package/{locales → esm/locales}/bg.js +8 -10
- package/{locales → esm/locales}/bn.js +7 -10
- package/{locales → esm/locales}/bs.js +10 -12
- package/esm/locales/ca.js +21 -0
- package/{locales → esm/locales}/cs.js +9 -11
- package/{locales → esm/locales}/cy.js +8 -11
- package/{locales → esm/locales}/da.js +8 -11
- package/esm/locales/de-at.js +53 -0
- package/esm/locales/de.js +53 -0
- package/{locales → esm/locales}/el.js +9 -11
- package/{locales → esm/locales}/en-au.js +4 -5
- package/{locales → esm/locales}/en-gb.js +4 -5
- package/{locales → esm/locales}/en-nz.js +4 -5
- package/esm/locales/eo.js +21 -0
- package/esm/locales/es-us.js +30 -0
- package/esm/locales/es.js +36 -0
- package/{locales → esm/locales}/et.js +10 -12
- package/esm/locales/eu.js +21 -0
- package/{locales → esm/locales}/fa.js +9 -11
- package/esm/locales/fi.js +21 -0
- package/esm/locales/fr-ca.js +17 -0
- package/esm/locales/fr-ch.js +21 -0
- package/esm/locales/fr.js +21 -0
- package/esm/locales/gl.js +36 -0
- package/esm/locales/he.js +17 -0
- package/{locales → esm/locales}/hi.js +9 -11
- package/{locales → esm/locales}/hr.js +10 -12
- package/{locales → esm/locales}/hu.js +8 -11
- package/{locales → esm/locales}/hy-am.js +9 -11
- package/esm/locales/id.js +21 -0
- package/{locales → esm/locales}/is.js +8 -11
- package/{locales → esm/locales}/it.js +10 -12
- package/{locales → esm/locales}/ja.js +7 -10
- package/esm/locales/ka.js +23 -0
- package/esm/locales/kk.js +22 -0
- package/{locales → esm/locales}/km.js +7 -10
- package/esm/locales/ko.js +16 -0
- package/{locales → esm/locales}/ku.js +7 -10
- package/esm/locales/lb.js +21 -0
- package/esm/locales/lt.js +21 -0
- package/esm/locales/lv.js +23 -0
- package/esm/locales/mk.js +19 -0
- package/{locales → esm/locales}/ms.js +10 -12
- package/{locales → esm/locales}/nb.js +11 -17
- package/{locales → esm/locales}/ne.js +7 -10
- package/{locales → esm/locales}/nl.js +8 -10
- package/{locales → esm/locales}/nn.js +8 -11
- package/esm/locales/pl.js +21 -0
- package/esm/locales/pt-br.js +36 -0
- package/esm/locales/pt.js +21 -0
- package/{locales → esm/locales}/ro.js +10 -12
- package/esm/locales/ru.js +23 -0
- package/esm/locales/si-lk.js +21 -0
- package/{locales → esm/locales}/sk.js +9 -11
- package/{locales → esm/locales}/sl.js +7 -10
- package/esm/locales/sm.js +16 -0
- package/{locales → esm/locales}/sq.js +10 -12
- package/{locales → esm/locales}/sr-cyrl.js +9 -11
- package/{locales → esm/locales}/sr.js +9 -11
- package/esm/locales/sv.js +37 -0
- package/esm/locales/ta-in.js +22 -0
- package/esm/locales/th.js +22 -0
- package/{locales → esm/locales}/tr.js +9 -11
- package/esm/locales/ug.js +14 -0
- package/esm/locales/uk.js +23 -0
- package/{locales → esm/locales}/uz-cy.js +7 -10
- package/{locales → esm/locales}/uz.js +8 -10
- package/{locales → esm/locales}/vi.js +9 -11
- package/{locales → esm/locales}/zh-cn.js +7 -10
- package/esm/locales/zh-tw.js +16 -0
- package/{preact.d.ts → esm/preact.d.ts} +4 -3
- package/esm/preact.js +3 -0
- package/{locales/af.global.js → global/locales/af.js} +12 -14
- package/global/locales/af.min.js +6 -0
- package/{locales/ar-dz.global.js → global/locales/ar-dz.js} +11 -14
- package/global/locales/ar-dz.min.js +6 -0
- package/{locales/ar-kw.global.js → global/locales/ar-kw.js} +11 -14
- package/global/locales/ar-kw.min.js +6 -0
- package/{locales/ar-ly.global.js → global/locales/ar-ly.js} +11 -14
- package/global/locales/ar-ly.min.js +6 -0
- package/{locales/ar-ma.global.js → global/locales/ar-ma.js} +11 -14
- package/global/locales/ar-ma.min.js +6 -0
- package/{locales/ar-sa.global.js → global/locales/ar-sa.js} +11 -14
- package/global/locales/ar-sa.min.js +6 -0
- package/{locales/ar-tn.global.js → global/locales/ar-tn.js} +11 -14
- package/global/locales/ar-tn.min.js +6 -0
- package/{locales/ar.global.js → global/locales/ar.js} +11 -14
- package/global/locales/ar.min.js +6 -0
- package/{locales/az.global.js → global/locales/az.js} +12 -15
- package/global/locales/az.min.js +6 -0
- package/{locales/bg.global.js → global/locales/bg.js} +12 -14
- package/global/locales/bg.min.js +6 -0
- package/{locales/bn.global.js → global/locales/bn.js} +11 -14
- package/global/locales/bn.min.js +6 -0
- package/global/locales/bs.js +33 -0
- package/global/locales/bs.min.js +6 -0
- package/global/locales/ca.js +31 -0
- package/global/locales/ca.min.js +6 -0
- package/{locales/cs.global.js → global/locales/cs.js} +13 -15
- package/global/locales/cs.min.js +6 -0
- package/global/locales/cy.js +30 -0
- package/global/locales/cy.min.js +6 -0
- package/global/locales/da.js +30 -0
- package/global/locales/da.min.js +6 -0
- package/global/locales/de-at.js +63 -0
- package/global/locales/de-at.min.js +6 -0
- package/global/locales/de.js +63 -0
- package/global/locales/de.min.js +6 -0
- package/global/locales/el.js +31 -0
- package/global/locales/el.min.js +6 -0
- package/{locales/en-au.global.js → global/locales/en-au.js} +8 -9
- package/global/locales/en-au.min.js +6 -0
- package/{locales/en-gb.global.js → global/locales/en-gb.js} +8 -9
- package/global/locales/en-gb.min.js +6 -0
- package/{locales/en-nz.global.js → global/locales/en-nz.js} +8 -9
- package/global/locales/en-nz.min.js +6 -0
- package/global/locales/eo.js +31 -0
- package/global/locales/eo.min.js +6 -0
- package/global/locales/es-us.js +40 -0
- package/global/locales/es-us.min.js +6 -0
- package/global/locales/es.js +46 -0
- package/global/locales/es.min.js +6 -0
- package/global/locales/et.js +33 -0
- package/global/locales/et.min.js +6 -0
- package/global/locales/eu.js +31 -0
- package/global/locales/eu.min.js +6 -0
- package/{locales/fa.global.js → global/locales/fa.js} +13 -15
- package/global/locales/fa.min.js +6 -0
- package/global/locales/fi.js +31 -0
- package/global/locales/fi.min.js +6 -0
- package/global/locales/fr-ca.js +27 -0
- package/global/locales/fr-ca.min.js +6 -0
- package/global/locales/fr-ch.js +31 -0
- package/global/locales/fr-ch.min.js +6 -0
- package/global/locales/fr.js +31 -0
- package/global/locales/fr.min.js +6 -0
- package/global/locales/gl.js +46 -0
- package/global/locales/gl.min.js +6 -0
- package/global/locales/he.js +27 -0
- package/global/locales/he.min.js +6 -0
- package/{locales/hi.global.js → global/locales/hi.js} +13 -15
- package/global/locales/hi.min.js +6 -0
- package/global/locales/hr.js +33 -0
- package/global/locales/hr.min.js +6 -0
- package/global/locales/hu.js +30 -0
- package/global/locales/hu.min.js +6 -0
- package/{locales/hy-am.global.js → global/locales/hy-am.js} +13 -15
- package/global/locales/hy-am.min.js +6 -0
- package/global/locales/id.js +31 -0
- package/global/locales/id.min.js +6 -0
- package/global/locales/is.js +30 -0
- package/global/locales/is.min.js +6 -0
- package/global/locales/it.js +33 -0
- package/global/locales/it.min.js +6 -0
- package/global/locales/ja.js +28 -0
- package/global/locales/ja.min.js +6 -0
- package/global/locales/ka.js +33 -0
- package/global/locales/ka.min.js +6 -0
- package/global/locales/kk.js +32 -0
- package/global/locales/kk.min.js +6 -0
- package/{locales/km.global.js → global/locales/km.js} +11 -14
- package/global/locales/km.min.js +6 -0
- package/global/locales/ko.js +26 -0
- package/global/locales/ko.min.js +6 -0
- package/{locales/ku.global.js → global/locales/ku.js} +11 -14
- package/global/locales/ku.min.js +6 -0
- package/global/locales/lb.js +31 -0
- package/global/locales/lb.min.js +6 -0
- package/global/locales/lt.js +31 -0
- package/global/locales/lt.min.js +6 -0
- package/global/locales/lv.js +33 -0
- package/global/locales/lv.min.js +6 -0
- package/global/locales/mk.js +29 -0
- package/global/locales/mk.min.js +6 -0
- package/global/locales/ms.js +33 -0
- package/global/locales/ms.min.js +6 -0
- package/{locales/nb.global.js → global/locales/nb.js} +15 -21
- package/global/locales/nb.min.js +6 -0
- package/{locales/ne.global.js → global/locales/ne.js} +11 -14
- package/global/locales/ne.min.js +6 -0
- package/{locales/nl.global.js → global/locales/nl.js} +12 -14
- package/global/locales/nl.min.js +6 -0
- package/global/locales/nn.js +30 -0
- package/global/locales/nn.min.js +6 -0
- package/global/locales/pl.js +31 -0
- package/global/locales/pl.min.js +6 -0
- package/global/locales/pt-br.js +46 -0
- package/global/locales/pt-br.min.js +6 -0
- package/global/locales/pt.js +31 -0
- package/global/locales/pt.min.js +6 -0
- package/global/locales/ro.js +33 -0
- package/global/locales/ro.min.js +6 -0
- package/global/locales/ru.js +33 -0
- package/global/locales/ru.min.js +6 -0
- package/global/locales/si-lk.js +31 -0
- package/global/locales/si-lk.min.js +6 -0
- package/{locales/sk.global.js → global/locales/sk.js} +13 -15
- package/global/locales/sk.min.js +6 -0
- package/{locales/sl.global.js → global/locales/sl.js} +11 -14
- package/global/locales/sl.min.js +6 -0
- package/global/locales/sm.js +26 -0
- package/global/locales/sm.min.js +6 -0
- package/global/locales/sq.js +33 -0
- package/global/locales/sq.min.js +6 -0
- package/{locales/sr-cyrl.global.js → global/locales/sr-cyrl.js} +13 -15
- package/global/locales/sr-cyrl.min.js +6 -0
- package/{locales/sr.global.js → global/locales/sr.js} +13 -15
- package/global/locales/sr.min.js +6 -0
- package/global/locales/sv.js +47 -0
- package/global/locales/sv.min.js +6 -0
- package/global/locales/ta-in.js +32 -0
- package/global/locales/ta-in.min.js +6 -0
- package/global/locales/th.js +32 -0
- package/global/locales/th.min.js +6 -0
- package/{locales/tr.global.js → global/locales/tr.js} +13 -15
- package/global/locales/tr.min.js +6 -0
- package/global/locales/ug.js +24 -0
- package/global/locales/ug.min.js +6 -0
- package/global/locales/uk.js +33 -0
- package/global/locales/uk.min.js +6 -0
- package/{locales/uz-cy.global.js → global/locales/uz-cy.js} +11 -14
- package/global/locales/uz-cy.min.js +6 -0
- package/{locales/uz.global.js → global/locales/uz.js} +12 -14
- package/global/locales/uz.min.js +6 -0
- package/{locales/vi.global.js → global/locales/vi.js} +13 -15
- package/global/locales/vi.min.js +6 -0
- package/{locales/zh-cn.global.js → global/locales/zh-cn.js} +11 -14
- package/global/locales/zh-cn.min.js +6 -0
- package/global/locales/zh-tw.js +26 -0
- package/global/locales/zh-tw.min.js +6 -0
- package/global/locales-all.js +1730 -0
- package/global/locales-all.min.js +6 -0
- package/{index.global.js → global.js} +5204 -4877
- package/global.min.js +6 -0
- package/package.json +53 -35
- package/skeleton.css +477 -0
- package/skeleton.min.css +1 -0
- package/skeleton.styles.js +30 -0
- package/index.d.ts +0 -48
- package/index.global.min.js +0 -6
- package/internal.d.ts +0 -4
- package/internal.js +0 -3
- package/locales/af.global.min.js +0 -6
- package/locales/ar-dz.global.min.js +0 -6
- package/locales/ar-kw.global.min.js +0 -6
- package/locales/ar-ly.global.min.js +0 -6
- package/locales/ar-ma.global.min.js +0 -6
- package/locales/ar-sa.global.min.js +0 -6
- package/locales/ar-tn.global.min.js +0 -6
- package/locales/ar.global.min.js +0 -6
- package/locales/az.global.min.js +0 -6
- package/locales/bg.global.min.js +0 -6
- package/locales/bn.global.min.js +0 -6
- package/locales/bs.global.js +0 -35
- package/locales/bs.global.min.js +0 -6
- package/locales/ca.global.js +0 -33
- package/locales/ca.global.min.js +0 -6
- package/locales/ca.js +0 -23
- package/locales/cs.global.min.js +0 -6
- package/locales/cy.global.js +0 -33
- package/locales/cy.global.min.js +0 -6
- package/locales/da.global.js +0 -33
- package/locales/da.global.min.js +0 -6
- package/locales/de-at.cjs +0 -62
- package/locales/de-at.global.js +0 -68
- package/locales/de-at.global.min.js +0 -6
- package/locales/de-at.js +0 -58
- package/locales/de.cjs +0 -62
- package/locales/de.global.js +0 -68
- package/locales/de.global.min.js +0 -6
- package/locales/de.js +0 -58
- package/locales/el.global.js +0 -33
- package/locales/el.global.min.js +0 -6
- package/locales/en-au.global.min.js +0 -6
- package/locales/en-gb.global.min.js +0 -6
- package/locales/en-nz.global.min.js +0 -6
- package/locales/eo.global.js +0 -33
- package/locales/eo.global.min.js +0 -6
- package/locales/eo.js +0 -23
- package/locales/es-us.cjs +0 -27
- package/locales/es-us.global.js +0 -33
- package/locales/es-us.global.min.js +0 -6
- package/locales/es-us.js +0 -23
- package/locales/es.cjs +0 -45
- package/locales/es.global.js +0 -51
- package/locales/es.global.min.js +0 -6
- package/locales/es.js +0 -41
- package/locales/et.global.js +0 -35
- package/locales/et.global.min.js +0 -6
- package/locales/eu.global.js +0 -33
- package/locales/eu.global.min.js +0 -6
- package/locales/eu.js +0 -23
- package/locales/fa.global.min.js +0 -6
- package/locales/fi.global.js +0 -33
- package/locales/fi.global.min.js +0 -6
- package/locales/fi.js +0 -23
- package/locales/fr-ca.cjs +0 -23
- package/locales/fr-ca.global.js +0 -29
- package/locales/fr-ca.global.min.js +0 -6
- package/locales/fr-ca.js +0 -19
- package/locales/fr-ch.global.js +0 -33
- package/locales/fr-ch.global.min.js +0 -6
- package/locales/fr-ch.js +0 -23
- package/locales/fr.global.js +0 -34
- package/locales/fr.global.min.js +0 -6
- package/locales/fr.js +0 -24
- package/locales/gl.cjs +0 -45
- package/locales/gl.global.js +0 -51
- package/locales/gl.global.min.js +0 -6
- package/locales/gl.js +0 -41
- package/locales/he.global.js +0 -30
- package/locales/he.global.min.js +0 -6
- package/locales/he.js +0 -20
- package/locales/hi.global.min.js +0 -6
- package/locales/hr.global.js +0 -35
- package/locales/hr.global.min.js +0 -6
- package/locales/hu.global.js +0 -33
- package/locales/hu.global.min.js +0 -6
- package/locales/hy-am.global.min.js +0 -6
- package/locales/id.global.js +0 -33
- package/locales/id.global.min.js +0 -6
- package/locales/id.js +0 -23
- package/locales/is.global.js +0 -33
- package/locales/is.global.min.js +0 -6
- package/locales/it.global.js +0 -35
- package/locales/it.global.min.js +0 -6
- package/locales/ja.global.js +0 -31
- package/locales/ja.global.min.js +0 -6
- package/locales/ka.cjs +0 -29
- package/locales/ka.global.js +0 -35
- package/locales/ka.global.min.js +0 -6
- package/locales/ka.js +0 -25
- package/locales/kk.global.js +0 -35
- package/locales/kk.global.min.js +0 -6
- package/locales/kk.js +0 -25
- package/locales/km.global.min.js +0 -6
- package/locales/ko.global.js +0 -29
- package/locales/ko.global.min.js +0 -6
- package/locales/ko.js +0 -19
- package/locales/ku.global.min.js +0 -6
- package/locales/lb.global.js +0 -33
- package/locales/lb.global.min.js +0 -6
- package/locales/lb.js +0 -23
- package/locales/lt.global.js +0 -33
- package/locales/lt.global.min.js +0 -6
- package/locales/lt.js +0 -23
- package/locales/lv.global.js +0 -35
- package/locales/lv.global.min.js +0 -6
- package/locales/lv.js +0 -25
- package/locales/mk.global.js +0 -31
- package/locales/mk.global.min.js +0 -6
- package/locales/mk.js +0 -21
- package/locales/ms.global.js +0 -35
- package/locales/ms.global.min.js +0 -6
- package/locales/nb.global.min.js +0 -6
- package/locales/ne.global.min.js +0 -6
- package/locales/nl.global.min.js +0 -6
- package/locales/nn.global.js +0 -33
- package/locales/nn.global.min.js +0 -6
- package/locales/pl.global.js +0 -33
- package/locales/pl.global.min.js +0 -6
- package/locales/pl.js +0 -23
- package/locales/pt-br.cjs +0 -45
- package/locales/pt-br.global.js +0 -51
- package/locales/pt-br.global.min.js +0 -6
- package/locales/pt-br.js +0 -41
- package/locales/pt.global.js +0 -33
- package/locales/pt.global.min.js +0 -6
- package/locales/pt.js +0 -23
- package/locales/ro.global.js +0 -35
- package/locales/ro.global.min.js +0 -6
- package/locales/ru.global.js +0 -35
- package/locales/ru.global.min.js +0 -6
- package/locales/ru.js +0 -25
- package/locales/si-lk.global.js +0 -33
- package/locales/si-lk.global.min.js +0 -6
- package/locales/si-lk.js +0 -23
- package/locales/sk.global.min.js +0 -6
- package/locales/sl.global.min.js +0 -6
- package/locales/sm.global.js +0 -29
- package/locales/sm.global.min.js +0 -6
- package/locales/sm.js +0 -19
- package/locales/sq.global.js +0 -35
- package/locales/sq.global.min.js +0 -6
- package/locales/sr-cyrl.global.min.js +0 -6
- package/locales/sr.global.min.js +0 -6
- package/locales/sv.cjs +0 -46
- package/locales/sv.global.js +0 -52
- package/locales/sv.global.min.js +0 -6
- package/locales/sv.js +0 -42
- package/locales/ta-in.global.js +0 -35
- package/locales/ta-in.global.min.js +0 -6
- package/locales/ta-in.js +0 -25
- package/locales/th.global.js +0 -35
- package/locales/th.global.min.js +0 -6
- package/locales/th.js +0 -25
- package/locales/tr.global.min.js +0 -6
- package/locales/ug.cjs +0 -20
- package/locales/ug.global.js +0 -26
- package/locales/ug.global.min.js +0 -6
- package/locales/ug.js +0 -16
- package/locales/uk.global.js +0 -35
- package/locales/uk.global.min.js +0 -6
- package/locales/uk.js +0 -25
- package/locales/uz-cy.global.min.js +0 -6
- package/locales/uz.global.min.js +0 -6
- package/locales/vi.global.min.js +0 -6
- package/locales/zh-cn.global.min.js +0 -6
- package/locales/zh-tw.global.js +0 -29
- package/locales/zh-tw.global.min.js +0 -6
- package/locales/zh-tw.js +0 -19
- package/locales-all.global.js +0 -1927
- package/locales-all.global.min.js +0 -6
- package/preact.js +0 -3
- /package/{locales-all.cjs → cjs/locales-all.cjs} +0 -0
- /package/{locales → esm/locales}/af.d.ts +0 -0
- /package/{locales → esm/locales}/ar-dz.d.ts +0 -0
- /package/{locales → esm/locales}/ar-kw.d.ts +0 -0
- /package/{locales → esm/locales}/ar-ly.d.ts +0 -0
- /package/{locales → esm/locales}/ar-ma.d.ts +0 -0
- /package/{locales → esm/locales}/ar-sa.d.ts +0 -0
- /package/{locales → esm/locales}/ar-tn.d.ts +0 -0
- /package/{locales → esm/locales}/ar.d.ts +0 -0
- /package/{locales → esm/locales}/az.d.ts +0 -0
- /package/{locales → esm/locales}/bg.d.ts +0 -0
- /package/{locales → esm/locales}/bn.d.ts +0 -0
- /package/{locales → esm/locales}/bs.d.ts +0 -0
- /package/{locales → esm/locales}/ca.d.ts +0 -0
- /package/{locales → esm/locales}/cs.d.ts +0 -0
- /package/{locales → esm/locales}/cy.d.ts +0 -0
- /package/{locales → esm/locales}/da.d.ts +0 -0
- /package/{locales → esm/locales}/de-at.d.ts +0 -0
- /package/{locales → esm/locales}/de.d.ts +0 -0
- /package/{locales → esm/locales}/el.d.ts +0 -0
- /package/{locales → esm/locales}/en-au.d.ts +0 -0
- /package/{locales → esm/locales}/en-gb.d.ts +0 -0
- /package/{locales → esm/locales}/en-nz.d.ts +0 -0
- /package/{locales → esm/locales}/eo.d.ts +0 -0
- /package/{locales → esm/locales}/es-us.d.ts +0 -0
- /package/{locales → esm/locales}/es.d.ts +0 -0
- /package/{locales → esm/locales}/et.d.ts +0 -0
- /package/{locales → esm/locales}/eu.d.ts +0 -0
- /package/{locales → esm/locales}/fa.d.ts +0 -0
- /package/{locales → esm/locales}/fi.d.ts +0 -0
- /package/{locales → esm/locales}/fr-ca.d.ts +0 -0
- /package/{locales → esm/locales}/fr-ch.d.ts +0 -0
- /package/{locales → esm/locales}/fr.d.ts +0 -0
- /package/{locales → esm/locales}/gl.d.ts +0 -0
- /package/{locales → esm/locales}/he.d.ts +0 -0
- /package/{locales → esm/locales}/hi.d.ts +0 -0
- /package/{locales → esm/locales}/hr.d.ts +0 -0
- /package/{locales → esm/locales}/hu.d.ts +0 -0
- /package/{locales → esm/locales}/hy-am.d.ts +0 -0
- /package/{locales → esm/locales}/id.d.ts +0 -0
- /package/{locales → esm/locales}/is.d.ts +0 -0
- /package/{locales → esm/locales}/it.d.ts +0 -0
- /package/{locales → esm/locales}/ja.d.ts +0 -0
- /package/{locales → esm/locales}/ka.d.ts +0 -0
- /package/{locales → esm/locales}/kk.d.ts +0 -0
- /package/{locales → esm/locales}/km.d.ts +0 -0
- /package/{locales → esm/locales}/ko.d.ts +0 -0
- /package/{locales → esm/locales}/ku.d.ts +0 -0
- /package/{locales → esm/locales}/lb.d.ts +0 -0
- /package/{locales → esm/locales}/lt.d.ts +0 -0
- /package/{locales → esm/locales}/lv.d.ts +0 -0
- /package/{locales → esm/locales}/mk.d.ts +0 -0
- /package/{locales → esm/locales}/ms.d.ts +0 -0
- /package/{locales → esm/locales}/nb.d.ts +0 -0
- /package/{locales → esm/locales}/ne.d.ts +0 -0
- /package/{locales → esm/locales}/nl.d.ts +0 -0
- /package/{locales → esm/locales}/nn.d.ts +0 -0
- /package/{locales → esm/locales}/pl.d.ts +0 -0
- /package/{locales → esm/locales}/pt-br.d.ts +0 -0
- /package/{locales → esm/locales}/pt.d.ts +0 -0
- /package/{locales → esm/locales}/ro.d.ts +0 -0
- /package/{locales → esm/locales}/ru.d.ts +0 -0
- /package/{locales → esm/locales}/si-lk.d.ts +0 -0
- /package/{locales → esm/locales}/sk.d.ts +0 -0
- /package/{locales → esm/locales}/sl.d.ts +0 -0
- /package/{locales → esm/locales}/sm.d.ts +0 -0
- /package/{locales → esm/locales}/sq.d.ts +0 -0
- /package/{locales → esm/locales}/sr-cyrl.d.ts +0 -0
- /package/{locales → esm/locales}/sr.d.ts +0 -0
- /package/{locales → esm/locales}/sv.d.ts +0 -0
- /package/{locales → esm/locales}/ta-in.d.ts +0 -0
- /package/{locales → esm/locales}/th.d.ts +0 -0
- /package/{locales → esm/locales}/tr.d.ts +0 -0
- /package/{locales → esm/locales}/ug.d.ts +0 -0
- /package/{locales → esm/locales}/uk.d.ts +0 -0
- /package/{locales → esm/locales}/uz-cy.d.ts +0 -0
- /package/{locales → esm/locales}/uz.d.ts +0 -0
- /package/{locales → esm/locales}/vi.d.ts +0 -0
- /package/{locales → esm/locales}/zh-cn.d.ts +0 -0
- /package/{locales → esm/locales}/zh-tw.d.ts +0 -0
- /package/{locales-all.d.ts → esm/locales-all.d.ts} +0 -0
- /package/{locales-all.js → esm/locales-all.js} +0 -0
|
@@ -1,173 +1,9 @@
|
|
|
1
1
|
import * as preact from 'preact';
|
|
2
|
+
import * as _full_ui_headless_calendar from '@full-ui/headless-calendar';
|
|
3
|
+
import { DateRange, LocaleCodeArg, FuncFormatterFunc, DateFormatter, Duration, DateInput, DurationInput, DateMarker, OpenDateRange, DateRangeInput, DateEnv, createDuration, CmdFormatterFunc, NamedTimeZoneImplClass, WeekNumberCalculation } from '@full-ui/headless-calendar';
|
|
2
4
|
import { ComponentChildren, ComponentType, Context, Ref, Component, JSX, ComponentChild, FunctionalComponent, createElement, RefObject } from './preact.js';
|
|
3
5
|
import { ViewApi as ViewApi$1 } from './index.js';
|
|
4
6
|
|
|
5
|
-
type DurationInput = DurationObjectInput | string | number;
|
|
6
|
-
interface DurationObjectInput {
|
|
7
|
-
years?: number;
|
|
8
|
-
year?: number;
|
|
9
|
-
months?: number;
|
|
10
|
-
month?: number;
|
|
11
|
-
weeks?: number;
|
|
12
|
-
week?: number;
|
|
13
|
-
days?: number;
|
|
14
|
-
day?: number;
|
|
15
|
-
hours?: number;
|
|
16
|
-
hour?: number;
|
|
17
|
-
minutes?: number;
|
|
18
|
-
minute?: number;
|
|
19
|
-
seconds?: number;
|
|
20
|
-
second?: number;
|
|
21
|
-
milliseconds?: number;
|
|
22
|
-
millisecond?: number;
|
|
23
|
-
ms?: number;
|
|
24
|
-
}
|
|
25
|
-
interface Duration {
|
|
26
|
-
years: number;
|
|
27
|
-
months: number;
|
|
28
|
-
days: number;
|
|
29
|
-
milliseconds: number;
|
|
30
|
-
specifiedWeeks?: boolean;
|
|
31
|
-
}
|
|
32
|
-
declare function createDuration(input: DurationInput, unit?: string): Duration | null;
|
|
33
|
-
declare function asCleanDays(dur: Duration): number;
|
|
34
|
-
declare function addDurations(d0: Duration, d1: Duration): {
|
|
35
|
-
years: number;
|
|
36
|
-
months: number;
|
|
37
|
-
days: number;
|
|
38
|
-
milliseconds: number;
|
|
39
|
-
};
|
|
40
|
-
declare function multiplyDuration(d: Duration, n: number): {
|
|
41
|
-
years: number;
|
|
42
|
-
months: number;
|
|
43
|
-
days: number;
|
|
44
|
-
milliseconds: number;
|
|
45
|
-
};
|
|
46
|
-
declare function asRoughMinutes(dur: Duration): number;
|
|
47
|
-
declare function asRoughSeconds(dur: Duration): number;
|
|
48
|
-
declare function asRoughMs(dur: Duration): number;
|
|
49
|
-
declare function wholeDivideDurations(numerator: Duration, denominator: Duration): number;
|
|
50
|
-
declare function greatestDurationDenominator(dur: Duration): {
|
|
51
|
-
unit: string;
|
|
52
|
-
value: number;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
type DateMarker = Date;
|
|
56
|
-
declare function addWeeks(m: DateMarker, n: number): Date;
|
|
57
|
-
declare function addDays(m: DateMarker, n: number): Date;
|
|
58
|
-
declare function addMs(m: DateMarker, n: number): Date;
|
|
59
|
-
declare function diffWeeks(m0: any, m1: any): number;
|
|
60
|
-
declare function diffDays(m0: any, m1: any): number;
|
|
61
|
-
declare function diffDayAndTime(m0: DateMarker, m1: DateMarker): Duration;
|
|
62
|
-
declare function diffWholeWeeks(m0: DateMarker, m1: DateMarker): number;
|
|
63
|
-
declare function diffWholeDays(m0: DateMarker, m1: DateMarker): number;
|
|
64
|
-
declare function startOfDay(m: DateMarker): DateMarker;
|
|
65
|
-
declare function isValidDate(m: DateMarker): boolean;
|
|
66
|
-
|
|
67
|
-
interface CalendarSystem {
|
|
68
|
-
getMarkerYear(d: DateMarker): number;
|
|
69
|
-
getMarkerMonth(d: DateMarker): number;
|
|
70
|
-
getMarkerDay(d: DateMarker): number;
|
|
71
|
-
arrayToMarker(arr: number[]): DateMarker;
|
|
72
|
-
markerToArray(d: DateMarker): number[];
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
type LocaleCodeArg = string | string[];
|
|
76
|
-
type LocaleSingularArg = LocaleCodeArg | LocaleInput;
|
|
77
|
-
interface Locale {
|
|
78
|
-
codeArg: LocaleCodeArg;
|
|
79
|
-
codes: string[];
|
|
80
|
-
week: {
|
|
81
|
-
dow: number;
|
|
82
|
-
doy: number;
|
|
83
|
-
};
|
|
84
|
-
simpleNumberFormat: Intl.NumberFormat;
|
|
85
|
-
options: CalendarOptionsRefined;
|
|
86
|
-
}
|
|
87
|
-
interface LocaleInput extends CalendarOptions {
|
|
88
|
-
code: string;
|
|
89
|
-
}
|
|
90
|
-
type LocaleInputMap = {
|
|
91
|
-
[code: string]: LocaleInput;
|
|
92
|
-
};
|
|
93
|
-
interface RawLocaleInfo {
|
|
94
|
-
map: LocaleInputMap;
|
|
95
|
-
defaultCode: string;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
interface ZonedMarker {
|
|
99
|
-
marker: DateMarker;
|
|
100
|
-
timeZoneOffset: number;
|
|
101
|
-
}
|
|
102
|
-
interface ExpandedZonedMarker extends ZonedMarker {
|
|
103
|
-
array: number[];
|
|
104
|
-
year: number;
|
|
105
|
-
month: number;
|
|
106
|
-
day: number;
|
|
107
|
-
hour: number;
|
|
108
|
-
minute: number;
|
|
109
|
-
second: number;
|
|
110
|
-
millisecond: number;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
interface VerboseFormattingArg {
|
|
114
|
-
date: ExpandedZonedMarker;
|
|
115
|
-
start: ExpandedZonedMarker;
|
|
116
|
-
end?: ExpandedZonedMarker;
|
|
117
|
-
timeZone: string;
|
|
118
|
-
localeCodes: string[];
|
|
119
|
-
defaultSeparator: string;
|
|
120
|
-
}
|
|
121
|
-
type CmdFormatterFunc = (cmd: string, arg: VerboseFormattingArg) => string;
|
|
122
|
-
interface DateFormattingContext {
|
|
123
|
-
timeZone: string;
|
|
124
|
-
locale: Locale;
|
|
125
|
-
calendarSystem: CalendarSystem;
|
|
126
|
-
computeWeekNumber: (d: DateMarker) => number;
|
|
127
|
-
weekText: string;
|
|
128
|
-
weekTextLong: string;
|
|
129
|
-
cmdFormatter?: CmdFormatterFunc;
|
|
130
|
-
defaultSeparator: string;
|
|
131
|
-
}
|
|
132
|
-
interface DateFormatter {
|
|
133
|
-
format(date: ZonedMarker, context: DateFormattingContext): string;
|
|
134
|
-
formatRange(start: ZonedMarker, end: ZonedMarker, context: DateFormattingContext, betterDefaultSeparator?: string): string;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
interface NativeFormatterOptions extends Intl.DateTimeFormatOptions {
|
|
138
|
-
week?: 'long' | 'short' | 'narrow' | 'numeric';
|
|
139
|
-
meridiem?: 'lowercase' | 'short' | 'narrow' | boolean;
|
|
140
|
-
omitZeroMinute?: boolean;
|
|
141
|
-
omitCommas?: boolean;
|
|
142
|
-
separator?: string;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
type FuncFormatterFunc = (arg: VerboseFormattingArg) => string;
|
|
146
|
-
|
|
147
|
-
type FormatterInput = NativeFormatterOptions | string | FuncFormatterFunc;
|
|
148
|
-
declare function createFormatter(input: FormatterInput): DateFormatter;
|
|
149
|
-
|
|
150
|
-
declare function guid(): string;
|
|
151
|
-
declare function disableCursor(): void;
|
|
152
|
-
declare function enableCursor(): void;
|
|
153
|
-
declare function preventSelection(el: HTMLElement): void;
|
|
154
|
-
declare function allowSelection(el: HTMLElement): void;
|
|
155
|
-
declare function preventContextMenu(el: HTMLElement): void;
|
|
156
|
-
declare function allowContextMenu(el: HTMLElement): void;
|
|
157
|
-
interface OrderSpec<Subject> {
|
|
158
|
-
field?: string;
|
|
159
|
-
order?: number;
|
|
160
|
-
func?: FieldSpecInputFunc<Subject>;
|
|
161
|
-
}
|
|
162
|
-
type FieldSpecInput<Subject> = string | string[] | FieldSpecInputFunc<Subject> | FieldSpecInputFunc<Subject>[];
|
|
163
|
-
type FieldSpecInputFunc<Subject> = (a: Subject, b: Subject) => number;
|
|
164
|
-
declare function parseFieldSpecs<Subject>(input: FieldSpecInput<Subject>): OrderSpec<Subject>[];
|
|
165
|
-
declare function compareByFieldSpecs<Subject>(obj0: Subject, obj1: Subject, fieldSpecs: OrderSpec<Subject>[]): number;
|
|
166
|
-
declare function flexibleCompare(a: any, b: any): number;
|
|
167
|
-
declare function padStart(val: any, len: any): string;
|
|
168
|
-
declare function compareNumbers(a: any, b: any): number;
|
|
169
|
-
declare function isInt(n: any): boolean;
|
|
170
|
-
|
|
171
7
|
interface ViewApi {
|
|
172
8
|
calendar: CalendarApi;
|
|
173
9
|
type: string;
|
|
@@ -187,109 +23,6 @@ interface EventSourceApi {
|
|
|
187
23
|
refetch(): void;
|
|
188
24
|
}
|
|
189
25
|
|
|
190
|
-
declare abstract class NamedTimeZoneImpl {
|
|
191
|
-
timeZoneName: string;
|
|
192
|
-
constructor(timeZoneName: string);
|
|
193
|
-
abstract offsetForArray(a: number[]): number;
|
|
194
|
-
abstract timestampToArray(ms: number): number[];
|
|
195
|
-
}
|
|
196
|
-
type NamedTimeZoneImplClass = {
|
|
197
|
-
new (timeZoneName: string): NamedTimeZoneImpl;
|
|
198
|
-
};
|
|
199
|
-
|
|
200
|
-
type WeekNumberCalculation = 'local' | 'ISO' | ((m: Date) => number);
|
|
201
|
-
interface DateEnvSettings {
|
|
202
|
-
timeZone: string;
|
|
203
|
-
namedTimeZoneImpl?: NamedTimeZoneImplClass;
|
|
204
|
-
calendarSystem: string;
|
|
205
|
-
locale: Locale;
|
|
206
|
-
weekNumberCalculation?: WeekNumberCalculation;
|
|
207
|
-
firstDay?: number;
|
|
208
|
-
weekText?: string;
|
|
209
|
-
weekTextLong?: string;
|
|
210
|
-
cmdFormatter?: CmdFormatterFunc;
|
|
211
|
-
defaultSeparator?: string;
|
|
212
|
-
}
|
|
213
|
-
type DateInput = Date | string | number | number[];
|
|
214
|
-
interface DateMarkerMeta {
|
|
215
|
-
marker: DateMarker;
|
|
216
|
-
isTimeUnspecified: boolean;
|
|
217
|
-
forcedTzo: number | null;
|
|
218
|
-
}
|
|
219
|
-
declare class DateEnv {
|
|
220
|
-
timeZone: string;
|
|
221
|
-
namedTimeZoneImpl: NamedTimeZoneImpl;
|
|
222
|
-
canComputeOffset: boolean;
|
|
223
|
-
calendarSystem: CalendarSystem;
|
|
224
|
-
locale: Locale;
|
|
225
|
-
weekDow: number;
|
|
226
|
-
weekDoy: number;
|
|
227
|
-
weekNumberFunc: any;
|
|
228
|
-
weekText: string;
|
|
229
|
-
weekTextLong: string;
|
|
230
|
-
cmdFormatter?: CmdFormatterFunc;
|
|
231
|
-
defaultSeparator: string;
|
|
232
|
-
constructor(settings: DateEnvSettings);
|
|
233
|
-
createMarker(input: DateInput): DateMarker;
|
|
234
|
-
createNowMarker(): DateMarker;
|
|
235
|
-
createMarkerMeta(input: DateInput): DateMarkerMeta;
|
|
236
|
-
parse(s: string): {
|
|
237
|
-
marker: Date;
|
|
238
|
-
isTimeUnspecified: boolean;
|
|
239
|
-
forcedTzo: any;
|
|
240
|
-
};
|
|
241
|
-
getYear(marker: DateMarker): number;
|
|
242
|
-
getMonth(marker: DateMarker): number;
|
|
243
|
-
getDay(marker: DateMarker): number;
|
|
244
|
-
add(marker: DateMarker, dur: Duration): DateMarker;
|
|
245
|
-
subtract(marker: DateMarker, dur: Duration): DateMarker;
|
|
246
|
-
addYears(marker: DateMarker, n: number): Date;
|
|
247
|
-
addMonths(marker: DateMarker, n: number): Date;
|
|
248
|
-
diffWholeYears(m0: DateMarker, m1: DateMarker): number;
|
|
249
|
-
diffWholeMonths(m0: DateMarker, m1: DateMarker): number;
|
|
250
|
-
greatestWholeUnit(m0: DateMarker, m1: DateMarker): {
|
|
251
|
-
unit: string;
|
|
252
|
-
value: number;
|
|
253
|
-
};
|
|
254
|
-
countDurationsBetween(m0: DateMarker, m1: DateMarker, d: Duration): number;
|
|
255
|
-
startOf(m: DateMarker, unit: string): Date;
|
|
256
|
-
startOfYear(m: DateMarker): DateMarker;
|
|
257
|
-
startOfMonth(m: DateMarker): DateMarker;
|
|
258
|
-
startOfWeek(m: DateMarker): DateMarker;
|
|
259
|
-
computeWeekNumber(marker: DateMarker): number;
|
|
260
|
-
format(marker: DateMarker, formatter: DateFormatter, dateOptions?: {
|
|
261
|
-
forcedTzo?: number;
|
|
262
|
-
}): string;
|
|
263
|
-
formatRange(start: DateMarker, end: DateMarker, formatter: DateFormatter, dateOptions?: {
|
|
264
|
-
forcedStartTzo?: number;
|
|
265
|
-
forcedEndTzo?: number;
|
|
266
|
-
isEndExclusive?: boolean;
|
|
267
|
-
defaultSeparator?: string;
|
|
268
|
-
}): string;
|
|
269
|
-
formatIso(marker: DateMarker, extraOptions?: any): string;
|
|
270
|
-
timestampToMarker(ms: number): Date;
|
|
271
|
-
offsetForMarker(m: DateMarker): number;
|
|
272
|
-
toDate(m: DateMarker, forcedTzo?: number): Date;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
interface DateRangeInput {
|
|
276
|
-
start?: DateInput;
|
|
277
|
-
end?: DateInput;
|
|
278
|
-
}
|
|
279
|
-
interface OpenDateRange {
|
|
280
|
-
start: DateMarker | null;
|
|
281
|
-
end: DateMarker | null;
|
|
282
|
-
}
|
|
283
|
-
interface DateRange {
|
|
284
|
-
start: DateMarker;
|
|
285
|
-
end: DateMarker;
|
|
286
|
-
}
|
|
287
|
-
declare function intersectRanges(range0: OpenDateRange, range1: OpenDateRange): OpenDateRange;
|
|
288
|
-
declare function rangesEqual(range0: OpenDateRange, range1: OpenDateRange): boolean;
|
|
289
|
-
declare function rangesIntersect(range0: OpenDateRange, range1: OpenDateRange): boolean;
|
|
290
|
-
declare function rangeContainsRange(outerRange: OpenDateRange, innerRange: OpenDateRange): boolean;
|
|
291
|
-
declare function rangeContainsMarker(range: OpenDateRange, date: DateMarker | number): boolean;
|
|
292
|
-
|
|
293
26
|
interface EventInstance {
|
|
294
27
|
instanceId: string;
|
|
295
28
|
defId: string;
|
|
@@ -302,6 +35,31 @@ type EventInstanceHash = {
|
|
|
302
35
|
};
|
|
303
36
|
declare function createEventInstance(defId: string, range: DateRange, forcedStartTzo?: number, forcedEndTzo?: number): EventInstance;
|
|
304
37
|
|
|
38
|
+
type LocaleSingularArg = LocaleCodeArg | LocaleInput;
|
|
39
|
+
interface LocaleInput extends CalendarOptions {
|
|
40
|
+
code: string;
|
|
41
|
+
}
|
|
42
|
+
type LocaleInputMap = {
|
|
43
|
+
[code: string]: LocaleInput;
|
|
44
|
+
};
|
|
45
|
+
interface RawLocaleInfo {
|
|
46
|
+
map: LocaleInputMap;
|
|
47
|
+
defaultCode: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
interface NativeFormatterOptions extends Intl.DateTimeFormatOptions {
|
|
51
|
+
week?: 'long' | 'short' | 'narrow' | 'numeric';
|
|
52
|
+
meridiem?: 'lowercase' | 'short' | 'narrow' | boolean;
|
|
53
|
+
omitZeroMinute?: boolean;
|
|
54
|
+
omitCommas?: boolean;
|
|
55
|
+
forceCommas?: boolean;
|
|
56
|
+
separator?: string;
|
|
57
|
+
weekdayJustify?: 'start' | 'end';
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
type FormatterInput = NativeFormatterOptions | string | FuncFormatterFunc;
|
|
61
|
+
declare function createFormatter(input: FormatterInput): DateFormatter;
|
|
62
|
+
|
|
305
63
|
interface PointerDragEvent {
|
|
306
64
|
origEvent: UIEvent;
|
|
307
65
|
isTouch: boolean;
|
|
@@ -376,14 +134,12 @@ declare class EventImpl implements EventApi {
|
|
|
376
134
|
get constraint(): string | EventStore;
|
|
377
135
|
get overlap(): boolean;
|
|
378
136
|
get allow(): AllowFunc;
|
|
379
|
-
get
|
|
380
|
-
get
|
|
381
|
-
get
|
|
382
|
-
get classNames(): string[];
|
|
137
|
+
get color(): string;
|
|
138
|
+
get contrastColor(): string;
|
|
139
|
+
get className(): string;
|
|
383
140
|
get extendedProps(): Dictionary;
|
|
384
141
|
toPlainObject(settings?: {
|
|
385
142
|
collapseExtendedProps?: boolean;
|
|
386
|
-
collapseColor?: boolean;
|
|
387
143
|
}): Dictionary;
|
|
388
144
|
toJSON(): Dictionary;
|
|
389
145
|
}
|
|
@@ -460,6 +216,8 @@ declare class DateProfileGenerator {
|
|
|
460
216
|
isHiddenDay(day: any): boolean;
|
|
461
217
|
skipHiddenDays(date: DateMarker, inc?: number, isExclusive?: boolean): Date;
|
|
462
218
|
}
|
|
219
|
+
declare function computeMajorUnit(dateProfile: DateProfile, dateEnv: DateEnv): string | undefined;
|
|
220
|
+
declare function isMajorUnit(dateMarker: DateMarker, majorUnit: string, dateEnv: DateEnv): boolean;
|
|
463
221
|
|
|
464
222
|
interface EventInteractionState {
|
|
465
223
|
affectedEvents: EventStore;
|
|
@@ -468,6 +226,7 @@ interface EventInteractionState {
|
|
|
468
226
|
}
|
|
469
227
|
|
|
470
228
|
interface ViewProps {
|
|
229
|
+
className?: string;
|
|
471
230
|
dateProfile: DateProfile;
|
|
472
231
|
businessHours: EventStore;
|
|
473
232
|
eventStore: EventStore;
|
|
@@ -479,44 +238,42 @@ interface ViewProps {
|
|
|
479
238
|
forPrint: boolean;
|
|
480
239
|
labelId: string | undefined;
|
|
481
240
|
labelStr: string | undefined;
|
|
241
|
+
borderlessX: boolean;
|
|
242
|
+
borderlessTop: boolean;
|
|
243
|
+
borderlessBottom: boolean;
|
|
244
|
+
noEdgeEffects: boolean;
|
|
482
245
|
}
|
|
483
246
|
declare function sliceEvents(props: ViewProps & {
|
|
484
247
|
dateProfile: DateProfile;
|
|
485
248
|
nextDayThreshold: Duration;
|
|
486
249
|
}, allDay?: boolean): EventRenderRange[];
|
|
487
250
|
|
|
488
|
-
type
|
|
489
|
-
type Falsy = false | null | undefined;
|
|
490
|
-
declare function joinClassNames(...args: (string | number | Falsy)[]): string;
|
|
491
|
-
declare function parseClassNames(raw: ClassNamesInput): string[];
|
|
492
|
-
declare function fracToCssDim(frac: number): string;
|
|
493
|
-
|
|
494
|
-
type MountArg<ContentArg> = ContentArg & {
|
|
251
|
+
type MountData<DisplayData> = DisplayData & {
|
|
495
252
|
el: HTMLElement;
|
|
496
253
|
};
|
|
497
|
-
type DidMountHandler<
|
|
254
|
+
type DidMountHandler<TheMountData extends {
|
|
498
255
|
el: HTMLElement;
|
|
499
|
-
}> = (
|
|
500
|
-
type WillUnmountHandler<
|
|
256
|
+
}> = (mountData: TheMountData) => void;
|
|
257
|
+
type WillUnmountHandler<TheMountData extends {
|
|
501
258
|
el: HTMLElement;
|
|
502
|
-
}> = (
|
|
259
|
+
}> = (mountData: TheMountData) => void;
|
|
503
260
|
interface ObjCustomContent {
|
|
504
261
|
html: string;
|
|
505
262
|
domNodes: any[];
|
|
506
263
|
}
|
|
507
264
|
type CustomContent = ComponentChildren | ObjCustomContent;
|
|
508
265
|
type CustomContentGenerator<RenderProps> = CustomContent | ((renderProps: RenderProps, createElement: any) => (CustomContent | true));
|
|
509
|
-
type
|
|
266
|
+
type ClassNameGenerator<RenderProps> = string | undefined | ((renderProps: RenderProps) => string | undefined);
|
|
510
267
|
|
|
511
268
|
type ViewComponentType = ComponentType<ViewProps>;
|
|
512
269
|
type ViewConfigInput = ViewComponentType | ViewOptions;
|
|
513
270
|
type ViewConfigInputHash = {
|
|
514
271
|
[viewType: string]: ViewConfigInput;
|
|
515
272
|
};
|
|
516
|
-
interface
|
|
273
|
+
interface SpecificViewData extends ViewProps {
|
|
517
274
|
nextDayThreshold: Duration;
|
|
518
275
|
}
|
|
519
|
-
type
|
|
276
|
+
type SpecificViewMountData = MountData<SpecificViewData>;
|
|
520
277
|
|
|
521
278
|
interface ViewSpec {
|
|
522
279
|
type: string;
|
|
@@ -526,10 +283,6 @@ interface ViewSpec {
|
|
|
526
283
|
singleUnit: string;
|
|
527
284
|
optionDefaults: ViewOptions;
|
|
528
285
|
optionOverrides: ViewOptions;
|
|
529
|
-
buttonTextOverride: string;
|
|
530
|
-
buttonTextDefault: string;
|
|
531
|
-
buttonTitleOverride: string | ((...args: any[]) => string);
|
|
532
|
-
buttonTitleDefault: string | ((...args: any[]) => string);
|
|
533
286
|
}
|
|
534
287
|
type ViewSpecHash = {
|
|
535
288
|
[viewType: string]: ViewSpec;
|
|
@@ -564,25 +317,6 @@ declare class ViewImpl implements ViewApi {
|
|
|
564
317
|
getOption(name: string): any;
|
|
565
318
|
}
|
|
566
319
|
|
|
567
|
-
declare class Theme {
|
|
568
|
-
classes: any;
|
|
569
|
-
iconClasses: any;
|
|
570
|
-
rtlIconClasses: any;
|
|
571
|
-
baseIconClass: string;
|
|
572
|
-
iconOverrideOption: any;
|
|
573
|
-
iconOverrideCustomButtonOption: any;
|
|
574
|
-
iconOverridePrefix: string;
|
|
575
|
-
constructor(calendarOptions: CalendarOptionsRefined);
|
|
576
|
-
setIconOverride(iconOverrideHash: any): void;
|
|
577
|
-
applyIconOverridePrefix(className: string): string;
|
|
578
|
-
getClassName(key: string): any;
|
|
579
|
-
getIconClass(buttonName: string, isRtl?: boolean): string;
|
|
580
|
-
getCustomButtonIconClass(customButtonProps: any): string;
|
|
581
|
-
}
|
|
582
|
-
type ThemeClass = {
|
|
583
|
-
new (calendarOptions: any): Theme;
|
|
584
|
-
};
|
|
585
|
-
|
|
586
320
|
interface ToolbarModel {
|
|
587
321
|
sectionWidgets: {
|
|
588
322
|
start: ToolbarWidget[][];
|
|
@@ -592,13 +326,54 @@ interface ToolbarModel {
|
|
|
592
326
|
viewsWithButtons: string[];
|
|
593
327
|
hasTitle: boolean;
|
|
594
328
|
}
|
|
329
|
+
interface ToolbarData {
|
|
330
|
+
borderlessX: boolean;
|
|
331
|
+
}
|
|
332
|
+
interface ToolbarSectionData {
|
|
333
|
+
name: string;
|
|
334
|
+
}
|
|
335
|
+
interface ButtonGroupData {
|
|
336
|
+
isSelectGroup: boolean;
|
|
337
|
+
}
|
|
338
|
+
interface ButtonData {
|
|
339
|
+
name: string;
|
|
340
|
+
text: string;
|
|
341
|
+
isPrimary: boolean;
|
|
342
|
+
isSelected: boolean;
|
|
343
|
+
isDisabled: boolean;
|
|
344
|
+
isIconOnly: boolean;
|
|
345
|
+
inGroup: boolean;
|
|
346
|
+
inSelectGroup: boolean;
|
|
347
|
+
}
|
|
348
|
+
type ButtonMountData = MountData<ButtonData>;
|
|
349
|
+
type ButtonDisplay = 'auto' | 'icon' | 'text' | 'icon-text' | 'text-icon';
|
|
350
|
+
interface ButtonInput {
|
|
351
|
+
didMount?: DidMountHandler<ButtonMountData>;
|
|
352
|
+
willUnmount?: DidMountHandler<ButtonMountData>;
|
|
353
|
+
click?: (ev: MouseEvent) => void;
|
|
354
|
+
hint?: string | ((viewOrCurrentUnitText: string, viewOrCurrentUnit: string) => string);
|
|
355
|
+
class?: ClassNameGenerator<ButtonData>;
|
|
356
|
+
className?: ClassNameGenerator<ButtonData>;
|
|
357
|
+
display?: ButtonDisplay;
|
|
358
|
+
iconClass?: string | undefined;
|
|
359
|
+
iconContent?: CustomContentGenerator<{}>;
|
|
360
|
+
text?: string;
|
|
361
|
+
isPrimary?: boolean;
|
|
362
|
+
}
|
|
595
363
|
interface ToolbarWidget {
|
|
596
|
-
|
|
597
|
-
buttonClick?: any;
|
|
598
|
-
buttonIcon?: any;
|
|
599
|
-
buttonText?: any;
|
|
600
|
-
buttonHint?: string | ((navUnit: string) => string);
|
|
364
|
+
name: string;
|
|
601
365
|
isView?: boolean;
|
|
366
|
+
customElement?: ToolbarElementInput;
|
|
367
|
+
buttonText?: string;
|
|
368
|
+
buttonHint?: string | ((currentUnit: string) => string);
|
|
369
|
+
buttonDisplay?: ButtonDisplay;
|
|
370
|
+
buttonIconClass?: string | undefined;
|
|
371
|
+
buttonIconContent?: CustomContentGenerator<{}>;
|
|
372
|
+
buttonClick?: (ev: MouseEvent) => void;
|
|
373
|
+
buttonIsPrimary?: boolean;
|
|
374
|
+
buttonClass?: ClassNameGenerator<ButtonData>;
|
|
375
|
+
buttonDidMount?: DidMountHandler<ButtonMountData>;
|
|
376
|
+
buttonWillUnmount?: WillUnmountHandler<ButtonMountData>;
|
|
602
377
|
}
|
|
603
378
|
interface ToolbarInput {
|
|
604
379
|
left?: string;
|
|
@@ -607,44 +382,7 @@ interface ToolbarInput {
|
|
|
607
382
|
start?: string;
|
|
608
383
|
end?: string;
|
|
609
384
|
}
|
|
610
|
-
|
|
611
|
-
text?: string;
|
|
612
|
-
hint?: string;
|
|
613
|
-
icon?: string;
|
|
614
|
-
themeIcon?: string;
|
|
615
|
-
bootstrapFontAwesome?: string;
|
|
616
|
-
click?(ev: MouseEvent, element: HTMLElement): void;
|
|
617
|
-
}
|
|
618
|
-
interface ButtonIconsInput {
|
|
619
|
-
prev?: string;
|
|
620
|
-
next?: string;
|
|
621
|
-
prevYear?: string;
|
|
622
|
-
nextYear?: string;
|
|
623
|
-
today?: string;
|
|
624
|
-
[viewOrCustomButton: string]: string | undefined;
|
|
625
|
-
}
|
|
626
|
-
interface ButtonTextCompoundInput {
|
|
627
|
-
prev?: string;
|
|
628
|
-
next?: string;
|
|
629
|
-
prevYear?: string;
|
|
630
|
-
nextYear?: string;
|
|
631
|
-
today?: string;
|
|
632
|
-
month?: string;
|
|
633
|
-
week?: string;
|
|
634
|
-
day?: string;
|
|
635
|
-
[viewOrCustomButton: string]: string | undefined;
|
|
636
|
-
}
|
|
637
|
-
interface ButtonHintCompoundInput {
|
|
638
|
-
prev?: string | ((...args: any[]) => string);
|
|
639
|
-
next?: string | ((...args: any[]) => string);
|
|
640
|
-
prevYear?: string | ((...args: any[]) => string);
|
|
641
|
-
nextYear?: string | ((...args: any[]) => string);
|
|
642
|
-
today?: string | ((...args: any[]) => string);
|
|
643
|
-
month?: string | ((...args: any[]) => string);
|
|
644
|
-
week?: string | ((...args: any[]) => string);
|
|
645
|
-
day?: string | ((...args: any[]) => string);
|
|
646
|
-
[viewOrCustomButton: string]: string | ((...args: any[]) => string) | undefined;
|
|
647
|
-
}
|
|
385
|
+
type ToolbarElementInput = CustomContentGenerator<{}>;
|
|
648
386
|
|
|
649
387
|
interface CalendarDataManagerState {
|
|
650
388
|
dynamicOptionOverrides: CalendarOptions;
|
|
@@ -670,7 +408,6 @@ interface CalendarOptionsData {
|
|
|
670
408
|
};
|
|
671
409
|
availableRawLocales: any;
|
|
672
410
|
dateEnv: DateEnv;
|
|
673
|
-
theme: Theme;
|
|
674
411
|
pluginHooks: PluginHooks;
|
|
675
412
|
viewSpecs: ViewSpecHash;
|
|
676
413
|
}
|
|
@@ -756,7 +493,7 @@ interface EventSourceFetcherRes {
|
|
|
756
493
|
rawEvents: EventInput[];
|
|
757
494
|
response?: Response;
|
|
758
495
|
}
|
|
759
|
-
type EventSourceFetcher<Meta> = (
|
|
496
|
+
type EventSourceFetcher<Meta> = (data: {
|
|
760
497
|
eventSource: EventSource<Meta>;
|
|
761
498
|
range: DateRange;
|
|
762
499
|
isRefetch: boolean;
|
|
@@ -862,7 +599,6 @@ declare class CalendarDataManager {
|
|
|
862
599
|
private buildLocale;
|
|
863
600
|
private buildPluginHooks;
|
|
864
601
|
private buildDateEnv;
|
|
865
|
-
private buildTheme;
|
|
866
602
|
private parseToolbars;
|
|
867
603
|
private buildViewSpecs;
|
|
868
604
|
private buildDateProfileGenerator;
|
|
@@ -872,7 +608,7 @@ declare class CalendarDataManager {
|
|
|
872
608
|
private buildEventUiBases;
|
|
873
609
|
private parseContextBusinessHours;
|
|
874
610
|
private buildTitle;
|
|
875
|
-
emitter: Emitter<
|
|
611
|
+
emitter: Emitter<CalendarListeners>;
|
|
876
612
|
private actionRunner;
|
|
877
613
|
private props;
|
|
878
614
|
private state;
|
|
@@ -899,14 +635,12 @@ declare class CalendarDataManager {
|
|
|
899
635
|
refinedOptions: CalendarOptionsRefined;
|
|
900
636
|
pluginHooks: PluginHooks;
|
|
901
637
|
availableLocaleData: RawLocaleInfo;
|
|
902
|
-
localeDefaults:
|
|
903
|
-
extra: {};
|
|
638
|
+
localeDefaults: any;
|
|
904
639
|
};
|
|
905
640
|
_computeCurrentViewData(viewType: string, optionsData: CalendarOptionsData, optionOverrides: CalendarOptions, dynamicOptionOverrides: CalendarOptions): CalendarCurrentViewData;
|
|
906
641
|
processRawViewOptions(viewSpec: ViewSpec, pluginHooks: PluginHooks, localeDefaults: CalendarOptions, optionOverrides: CalendarOptions, dynamicOptionOverrides: CalendarOptions): {
|
|
907
642
|
rawOptions: ViewOptions;
|
|
908
643
|
refinedOptions: ViewOptionsRefined;
|
|
909
|
-
extra: {};
|
|
910
644
|
};
|
|
911
645
|
}
|
|
912
646
|
|
|
@@ -926,14 +660,14 @@ type OptionChangeHandler = (propValue: any, context: CalendarContext) => void;
|
|
|
926
660
|
type OptionChangeHandlerMap = {
|
|
927
661
|
[propName: string]: OptionChangeHandler;
|
|
928
662
|
};
|
|
929
|
-
interface
|
|
663
|
+
interface DateSelectData extends DateSpanApi {
|
|
930
664
|
jsEvent: MouseEvent | null;
|
|
931
665
|
view: ViewApi;
|
|
932
666
|
}
|
|
933
667
|
declare function triggerDateSelect(selection: DateSpan, pev: PointerDragEvent | null, context: CalendarContext & {
|
|
934
668
|
viewApi?: ViewImpl;
|
|
935
669
|
}): void;
|
|
936
|
-
interface
|
|
670
|
+
interface DateUnselectData {
|
|
937
671
|
jsEvent: MouseEvent;
|
|
938
672
|
view: ViewApi;
|
|
939
673
|
}
|
|
@@ -942,8 +676,6 @@ declare function getDefaultEventEnd(allDay: boolean, marker: DateMarker, context
|
|
|
942
676
|
declare const ViewContextType: Context<any>;
|
|
943
677
|
interface ViewContext extends CalendarContext {
|
|
944
678
|
options: ViewOptionsRefined;
|
|
945
|
-
theme: Theme;
|
|
946
|
-
isRtl: boolean;
|
|
947
679
|
dateProfileGenerator: DateProfileGenerator;
|
|
948
680
|
viewSpec: ViewSpec;
|
|
949
681
|
viewApi: ViewImpl;
|
|
@@ -951,23 +683,10 @@ interface ViewContext extends CalendarContext {
|
|
|
951
683
|
unregisterInteractiveComponent: (component: DateComponent<any>) => void;
|
|
952
684
|
}
|
|
953
685
|
|
|
954
|
-
declare function filterHash(hash: any, func: any): {};
|
|
955
|
-
declare function mapHash<InputItem, OutputItem>(hash: {
|
|
956
|
-
[key: string]: InputItem;
|
|
957
|
-
}, func: (input: InputItem, key: string) => OutputItem): {
|
|
958
|
-
[key: string]: OutputItem;
|
|
959
|
-
};
|
|
960
|
-
declare function isPropsEqual(obj0: any, obj1: any): boolean;
|
|
961
686
|
type EqualityFunc<T> = (a: T, b: T) => boolean;
|
|
962
|
-
type
|
|
963
|
-
|
|
964
|
-
[K in keyof ObjType]?: EqualityThing<ObjType[K]>;
|
|
687
|
+
type EqualityFuncs<P> = {
|
|
688
|
+
[K in keyof P]?: EqualityFunc<P[K]>;
|
|
965
689
|
};
|
|
966
|
-
declare function compareObjs(oldProps: any, newProps: any, equalityFuncs?: EqualityFuncs<any>): boolean;
|
|
967
|
-
declare function collectFromHash<Item>(hash: {
|
|
968
|
-
[key: string]: Item;
|
|
969
|
-
}, startIndex?: number, endIndex?: number, step?: number): Item[];
|
|
970
|
-
|
|
971
690
|
declare abstract class PureComponent<Props = Dictionary, State = Dictionary> extends Component<Props, State> {
|
|
972
691
|
static addPropsEquality: typeof addPropsEquality;
|
|
973
692
|
static addStateEquality: typeof addStateEquality;
|
|
@@ -1016,7 +735,7 @@ interface Hit {
|
|
|
1016
735
|
context?: ViewContext;
|
|
1017
736
|
dateProfile: DateProfile;
|
|
1018
737
|
dateSpan: DateSpan;
|
|
1019
|
-
|
|
738
|
+
getDayEl: () => HTMLElement;
|
|
1020
739
|
rect: Rect;
|
|
1021
740
|
layer: number;
|
|
1022
741
|
largeUnit?: string;
|
|
@@ -1030,7 +749,7 @@ interface EventSegUiInteractionState<S> {
|
|
|
1030
749
|
declare abstract class DateComponent<Props = Dictionary, State = Dictionary> extends BaseComponent<Props, State> {
|
|
1031
750
|
uid: string;
|
|
1032
751
|
prepareHits(): void;
|
|
1033
|
-
queryHit(positionLeft: number, positionTop: number, elWidth: number, elHeight: number): Hit | null;
|
|
752
|
+
queryHit(isRtl: boolean, positionLeft: number, positionTop: number, elWidth: number, elHeight: number): Hit | null;
|
|
1034
753
|
isValidSegDownEl(el: HTMLElement): boolean;
|
|
1035
754
|
isValidDateDownEl(el: HTMLElement): boolean;
|
|
1036
755
|
}
|
|
@@ -1065,8 +784,17 @@ declare function interactionSettingsToStore(settings: InteractionSettings): {
|
|
|
1065
784
|
declare const interactionSettingsStore: InteractionSettingsStore;
|
|
1066
785
|
|
|
1067
786
|
interface CalendarContentProps extends CalendarData {
|
|
787
|
+
toolbarProps: CalendarToolbarProps;
|
|
1068
788
|
forPrint: boolean;
|
|
1069
789
|
}
|
|
790
|
+
interface CalendarToolbarProps {
|
|
791
|
+
title: string;
|
|
792
|
+
selectedButton: string;
|
|
793
|
+
navUnit: string;
|
|
794
|
+
isTodayEnabled: boolean;
|
|
795
|
+
isPrevEnabled: boolean;
|
|
796
|
+
isNextEnabled: boolean;
|
|
797
|
+
}
|
|
1070
798
|
|
|
1071
799
|
type eventDragMutationMassager = (mutation: EventMutation, hit0: Hit, hit1: Hit) => void;
|
|
1072
800
|
type EventDropTransformers = (mutation: EventMutation, context: CalendarContext) => Dictionary;
|
|
@@ -1094,14 +822,14 @@ declare function parseDragMeta(raw: DragMetaInput): DragMeta;
|
|
|
1094
822
|
|
|
1095
823
|
type ExternalDefTransform = (dateSpan: DateSpan, dragMeta: DragMeta) => any;
|
|
1096
824
|
|
|
1097
|
-
type
|
|
825
|
+
type EventSourceFuncData = {
|
|
1098
826
|
start: Date;
|
|
1099
827
|
end: Date;
|
|
1100
828
|
startStr: string;
|
|
1101
829
|
endStr: string;
|
|
1102
830
|
timeZone: string;
|
|
1103
831
|
};
|
|
1104
|
-
type EventSourceFunc = ((
|
|
832
|
+
type EventSourceFunc = ((data: EventSourceFuncData, successCallback: (eventInputs: EventInput[]) => void, failureCallback: (error: Error) => void) => void) | ((data: EventSourceFuncData) => Promise<EventInput[]>);
|
|
1105
833
|
|
|
1106
834
|
declare const JSON_FEED_EVENT_SOURCE_REFINERS: {
|
|
1107
835
|
method: StringConstructor;
|
|
@@ -1122,13 +850,15 @@ declare const EVENT_SOURCE_REFINERS: {
|
|
|
1122
850
|
failure: Identity<EventSourceErrorResponseHandler>;
|
|
1123
851
|
};
|
|
1124
852
|
type BuiltInEventSourceRefiners = typeof EVENT_SOURCE_REFINERS & typeof JSON_FEED_EVENT_SOURCE_REFINERS;
|
|
1125
|
-
interface
|
|
853
|
+
interface EventSourceOptions extends RawOptionsFromRefiners<BuiltInEventSourceRefiners> {
|
|
1126
854
|
}
|
|
1127
|
-
|
|
855
|
+
interface EventSourceOptionsRefined extends RefinedOptionsFromRefiners<BuiltInEventSourceRefiners> {
|
|
856
|
+
}
|
|
857
|
+
type EventSourceInputObject = EventUiInput & EventSourceOptions;
|
|
1128
858
|
type EventSourceInput = EventSourceInputObject | // object in extended form
|
|
1129
859
|
EventInput[] | EventSourceFunc | // just a function
|
|
1130
860
|
string;
|
|
1131
|
-
type EventSourceRefined = EventUiRefined &
|
|
861
|
+
type EventSourceRefined = EventUiRefined & EventSourceOptionsRefined;
|
|
1132
862
|
|
|
1133
863
|
interface EventSourceDef<Meta> {
|
|
1134
864
|
ignoreRange?: boolean;
|
|
@@ -1166,16 +896,10 @@ interface ScrollerInterface {
|
|
|
1166
896
|
x?: number;
|
|
1167
897
|
y?: number;
|
|
1168
898
|
}): void;
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
}) => void): void;
|
|
1174
|
-
removeScrollEndListener(handler: (arg: {
|
|
1175
|
-
x: number;
|
|
1176
|
-
y: number;
|
|
1177
|
-
isUser: boolean;
|
|
1178
|
-
}) => void): void;
|
|
899
|
+
addScrollStartListener(handler: () => void): void;
|
|
900
|
+
removeScrollStartListener(handler: () => void): void;
|
|
901
|
+
addScrollEndListener(handler: (isUser: boolean) => void): void;
|
|
902
|
+
removeScrollEndListener(handler: (isUser: boolean) => void): void;
|
|
1179
903
|
}
|
|
1180
904
|
|
|
1181
905
|
interface ScrollerSyncerClass {
|
|
@@ -1184,6 +908,8 @@ interface ScrollerSyncerClass {
|
|
|
1184
908
|
interface ScrollerSyncerInterface extends ScrollerInterface {
|
|
1185
909
|
handleChildren(scrollers: ScrollerInterface[]): void;
|
|
1186
910
|
destroy(): void;
|
|
911
|
+
addScrollListener(handler: (isUser: boolean, scroll: number) => void): void;
|
|
912
|
+
removeScrollListener(handler: (isUser: boolean, scroll: number) => void): void;
|
|
1187
913
|
}
|
|
1188
914
|
|
|
1189
915
|
interface PluginDefInput {
|
|
@@ -1210,9 +936,6 @@ interface PluginDefInput {
|
|
|
1210
936
|
eventDropTransformers?: EventDropTransformers[];
|
|
1211
937
|
componentInteractions?: InteractionClass[];
|
|
1212
938
|
calendarInteractions?: CalendarInteractionClass[];
|
|
1213
|
-
themeClasses?: {
|
|
1214
|
-
[themeSystemName: string]: ThemeClass;
|
|
1215
|
-
};
|
|
1216
939
|
eventSourceDefs?: EventSourceDef<any>[];
|
|
1217
940
|
cmdFormatter?: CmdFormatterFunc;
|
|
1218
941
|
recurringTypes?: RecurringType<any>[];
|
|
@@ -1223,6 +946,7 @@ interface PluginDefInput {
|
|
|
1223
946
|
scrollerSyncerClass?: ScrollerSyncerClass;
|
|
1224
947
|
listenerRefiners?: GenericListenerRefiners;
|
|
1225
948
|
optionRefiners?: GenericRefiners;
|
|
949
|
+
optionDefaults?: CalendarOptions;
|
|
1226
950
|
propSetHandlers?: {
|
|
1227
951
|
[propName: string]: (val: any, context: CalendarData) => void;
|
|
1228
952
|
};
|
|
@@ -1249,9 +973,6 @@ interface PluginHooks {
|
|
|
1249
973
|
eventDropTransformers: EventDropTransformers[];
|
|
1250
974
|
componentInteractions: InteractionClass[];
|
|
1251
975
|
calendarInteractions: CalendarInteractionClass[];
|
|
1252
|
-
themeClasses: {
|
|
1253
|
-
[themeSystemName: string]: ThemeClass;
|
|
1254
|
-
};
|
|
1255
976
|
eventSourceDefs: EventSourceDef<any>[];
|
|
1256
977
|
cmdFormatter?: CmdFormatterFunc;
|
|
1257
978
|
recurringTypes: RecurringType<any>[];
|
|
@@ -1262,6 +983,7 @@ interface PluginHooks {
|
|
|
1262
983
|
scrollerSyncerClass: ScrollerSyncerClass | null;
|
|
1263
984
|
listenerRefiners: GenericListenerRefiners;
|
|
1264
985
|
optionRefiners: GenericRefiners;
|
|
986
|
+
optionDefaults: CalendarOptions[];
|
|
1265
987
|
propSetHandlers: {
|
|
1266
988
|
[propName: string]: (val: any, context: CalendarData) => void;
|
|
1267
989
|
};
|
|
@@ -1381,12 +1103,10 @@ declare const EVENT_UI_REFINERS: {
|
|
|
1381
1103
|
constraint: Identity<any>;
|
|
1382
1104
|
overlap: Identity<boolean>;
|
|
1383
1105
|
allow: Identity<AllowFunc>;
|
|
1384
|
-
|
|
1385
|
-
|
|
1106
|
+
class: Identity<string>;
|
|
1107
|
+
className: Identity<string>;
|
|
1386
1108
|
color: StringConstructor;
|
|
1387
|
-
|
|
1388
|
-
borderColor: StringConstructor;
|
|
1389
|
-
textColor: StringConstructor;
|
|
1109
|
+
contrastColor: StringConstructor;
|
|
1390
1110
|
};
|
|
1391
1111
|
type BuiltInEventUiRefiners = typeof EVENT_UI_REFINERS;
|
|
1392
1112
|
interface EventUiRefiners extends BuiltInEventUiRefiners {
|
|
@@ -1400,10 +1120,9 @@ interface EventUi {
|
|
|
1400
1120
|
constraints: Constraint[];
|
|
1401
1121
|
overlap: boolean | null;
|
|
1402
1122
|
allows: AllowFunc[];
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
classNames: string[];
|
|
1123
|
+
color: string;
|
|
1124
|
+
contrastColor: string;
|
|
1125
|
+
className: string;
|
|
1407
1126
|
}
|
|
1408
1127
|
type EventUiHash = {
|
|
1409
1128
|
[defId: string]: EventUi;
|
|
@@ -1433,6 +1152,26 @@ type EventDefHash = {
|
|
|
1433
1152
|
[defId: string]: EventDef;
|
|
1434
1153
|
};
|
|
1435
1154
|
|
|
1155
|
+
declare function guid(): string;
|
|
1156
|
+
declare function disableCursor(): void;
|
|
1157
|
+
declare function enableCursor(): void;
|
|
1158
|
+
declare function preventSelection(el: HTMLElement): void;
|
|
1159
|
+
declare function allowSelection(el: HTMLElement): void;
|
|
1160
|
+
declare function preventContextMenu(el: HTMLElement): void;
|
|
1161
|
+
declare function allowContextMenu(el: HTMLElement): void;
|
|
1162
|
+
interface OrderSpec<Subject> {
|
|
1163
|
+
field?: string;
|
|
1164
|
+
order?: number;
|
|
1165
|
+
func?: FieldSpecInputFunc<Subject>;
|
|
1166
|
+
}
|
|
1167
|
+
type FieldSpecInput<Subject> = string | string[] | FieldSpecInputFunc<Subject> | FieldSpecInputFunc<Subject>[];
|
|
1168
|
+
type FieldSpecInputFunc<Subject> = (a: Subject, b: Subject) => number;
|
|
1169
|
+
declare function parseFieldSpecs<Subject>(input: FieldSpecInput<Subject>): OrderSpec<Subject>[];
|
|
1170
|
+
declare function compareByFieldSpecs<Subject>(obj0: Subject, obj1: Subject, fieldSpecs: OrderSpec<Subject>[]): number;
|
|
1171
|
+
declare function flexibleCompare(a: any, b: any): number;
|
|
1172
|
+
declare function compareNumbers(a: any, b: any): number;
|
|
1173
|
+
declare function valuesIdentical<T>(a: T, b: T): boolean;
|
|
1174
|
+
|
|
1436
1175
|
interface EventRenderRange extends EventTuple {
|
|
1437
1176
|
ui: EventUi;
|
|
1438
1177
|
range: DateRange;
|
|
@@ -1450,12 +1189,25 @@ declare function sliceEventStore(eventStore: EventStore, eventUiBases: EventUiHa
|
|
|
1450
1189
|
declare function hasBgRendering(def: EventDef): boolean;
|
|
1451
1190
|
declare function getElEventRange(el: HTMLElement): EventRenderRange | null;
|
|
1452
1191
|
declare function sortEventSegs<S extends EventRangeProps>(segs: S[], eventOrderSpecs: OrderSpec<EventImpl>[]): S[];
|
|
1453
|
-
interface
|
|
1192
|
+
interface MinimalEventProps {
|
|
1193
|
+
eventRange: EventRenderRange;
|
|
1194
|
+
slicedStart?: DateMarker;
|
|
1195
|
+
slicedEnd?: DateMarker;
|
|
1196
|
+
isStart: boolean;
|
|
1197
|
+
isEnd: boolean;
|
|
1198
|
+
isDragging: boolean;
|
|
1199
|
+
isResizing: boolean;
|
|
1200
|
+
isMirror: boolean;
|
|
1201
|
+
isSelected: boolean;
|
|
1202
|
+
isPast: boolean;
|
|
1203
|
+
isFuture: boolean;
|
|
1204
|
+
isToday: boolean;
|
|
1205
|
+
}
|
|
1206
|
+
interface EventDisplayData {
|
|
1454
1207
|
event: EventImpl;
|
|
1455
1208
|
timeText: string;
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
textColor: string;
|
|
1209
|
+
color: string;
|
|
1210
|
+
contrastColor: string;
|
|
1459
1211
|
isDraggable: boolean;
|
|
1460
1212
|
isStartResizable: boolean;
|
|
1461
1213
|
isEndResizable: boolean;
|
|
@@ -1468,9 +1220,18 @@ interface EventContentArg {
|
|
|
1468
1220
|
isSelected: boolean;
|
|
1469
1221
|
isDragging: boolean;
|
|
1470
1222
|
isResizing: boolean;
|
|
1223
|
+
isInteractive: boolean;
|
|
1471
1224
|
view: ViewApi;
|
|
1225
|
+
isNarrow: boolean;
|
|
1226
|
+
isShort: boolean;
|
|
1227
|
+
level: number;
|
|
1228
|
+
timeClass: string;
|
|
1229
|
+
titleClass: string;
|
|
1230
|
+
options: {
|
|
1231
|
+
eventOverlap: boolean;
|
|
1232
|
+
};
|
|
1472
1233
|
}
|
|
1473
|
-
type
|
|
1234
|
+
type EventMountData = MountData<EventDisplayData>;
|
|
1474
1235
|
declare function buildEventRangeTimeText(timeFormat: DateFormatter, eventRange: EventRenderRange, // timed/whole-day span
|
|
1475
1236
|
slicedStart: DateMarker | undefined, // view-sliced timed/whole-day span
|
|
1476
1237
|
slicedEnd: DateMarker | undefined, // view-sliced timed/whole-day span
|
|
@@ -1483,7 +1244,8 @@ declare function getEventRangeMeta(eventRange: EventRenderRange, todayRange: Dat
|
|
|
1483
1244
|
declare function buildEventRangeKey(eventRange: EventRenderRange): string;
|
|
1484
1245
|
declare function getEventTagAndAttrs(eventRange: EventRenderRange, context: ViewContext): [
|
|
1485
1246
|
tag: string,
|
|
1486
|
-
attrs: any
|
|
1247
|
+
attrs: any,
|
|
1248
|
+
isInteractive: boolean
|
|
1487
1249
|
];
|
|
1488
1250
|
|
|
1489
1251
|
interface OpenDateSpanInput {
|
|
@@ -1526,16 +1288,16 @@ declare function isDateSpansEqual(span0: DateSpan, span1: DateSpan): boolean;
|
|
|
1526
1288
|
type CssDimValue = string | number;
|
|
1527
1289
|
declare function getIsHeightAuto(options: {
|
|
1528
1290
|
height?: CssDimValue;
|
|
1529
|
-
|
|
1291
|
+
contentHeight?: CssDimValue;
|
|
1530
1292
|
}): boolean;
|
|
1531
1293
|
declare function getStickyHeaderDates(options: {
|
|
1532
1294
|
height?: CssDimValue;
|
|
1533
|
-
|
|
1295
|
+
contentHeight?: CssDimValue;
|
|
1534
1296
|
stickyHeaderDates?: boolean | 'auto';
|
|
1535
1297
|
}): boolean;
|
|
1536
1298
|
declare function getStickyFooterScrollbar(options: {
|
|
1537
1299
|
height?: CssDimValue;
|
|
1538
|
-
|
|
1300
|
+
contentHeight?: CssDimValue;
|
|
1539
1301
|
stickyFooterScrollbar?: boolean | 'auto';
|
|
1540
1302
|
}): boolean;
|
|
1541
1303
|
declare function getScrollerSyncerClass(pluginHooks: {
|
|
@@ -1568,11 +1330,11 @@ declare function buildElAttrs(props: ElAttrsProps, className?: string, elRef?: E
|
|
|
1568
1330
|
|
|
1569
1331
|
type ContentContainerProps<RenderProps> = ElAttrsProps & ContentGeneratorProps<RenderProps> & {
|
|
1570
1332
|
tag?: string;
|
|
1571
|
-
classNameGenerator
|
|
1572
|
-
didMount
|
|
1333
|
+
classNameGenerator?: ClassNameGenerator<RenderProps> | undefined;
|
|
1334
|
+
didMount?: ((renderProps: RenderProps & {
|
|
1573
1335
|
el: HTMLElement;
|
|
1574
1336
|
}) => void) | undefined;
|
|
1575
|
-
willUnmount
|
|
1337
|
+
willUnmount?: ((renderProps: RenderProps & {
|
|
1576
1338
|
el: HTMLElement;
|
|
1577
1339
|
}) => void) | undefined;
|
|
1578
1340
|
children?: InnerContainerFunc<RenderProps>;
|
|
@@ -1584,41 +1346,63 @@ declare class ContentContainer<RenderProps> extends Component<ContentContainerPr
|
|
|
1584
1346
|
el: HTMLElement;
|
|
1585
1347
|
InnerContent: any;
|
|
1586
1348
|
render(): ComponentChildren;
|
|
1587
|
-
handleEl: (el: HTMLElement) => void;
|
|
1349
|
+
handleEl: (el: HTMLElement | null) => void;
|
|
1588
1350
|
componentDidMount(): void;
|
|
1589
1351
|
componentWillUnmount(): void;
|
|
1590
1352
|
}
|
|
1591
1353
|
type InnerContainerComponent = FunctionalComponent<ElProps>;
|
|
1592
1354
|
type InnerContainerFunc<RenderProps> = (InnerContainer: InnerContainerComponent, renderProps: RenderProps, attrs: ElAttrs) => ComponentChildren;
|
|
1355
|
+
declare function generateClassName<RenderProps>(classNameGenerator: ClassNameGenerator<RenderProps> | undefined, renderProps: RenderProps): string;
|
|
1593
1356
|
declare function renderText(renderProps: {
|
|
1594
1357
|
text: string;
|
|
1595
1358
|
}): ComponentChild;
|
|
1596
1359
|
|
|
1597
|
-
interface
|
|
1598
|
-
isAxis: boolean;
|
|
1360
|
+
interface NowIndicatorHeaderContainerProps extends Partial<ElProps> {
|
|
1599
1361
|
date: DateMarker;
|
|
1600
|
-
children?: InnerContainerFunc<
|
|
1362
|
+
children?: InnerContainerFunc<NowIndicatorHeaderData>;
|
|
1601
1363
|
}
|
|
1602
|
-
interface
|
|
1603
|
-
isAxis: boolean;
|
|
1364
|
+
interface NowIndicatorHeaderData {
|
|
1604
1365
|
date: Date;
|
|
1605
1366
|
view: ViewApi;
|
|
1606
1367
|
}
|
|
1607
|
-
type
|
|
1608
|
-
declare const
|
|
1368
|
+
type NowIndicatorHeaderMountData = MountData<NowIndicatorHeaderData>;
|
|
1369
|
+
declare const NowIndicatorHeaderContainer: (props: NowIndicatorHeaderContainerProps) => createElement.JSX.Element;
|
|
1609
1370
|
|
|
1610
|
-
interface
|
|
1371
|
+
interface NowIndicatorLineContainerProps extends Partial<ElProps> {
|
|
1611
1372
|
date: DateMarker;
|
|
1612
|
-
|
|
1613
|
-
children?: InnerContainerFunc<WeekNumberContentArg>;
|
|
1373
|
+
children?: InnerContainerFunc<NowIndicatorLineData>;
|
|
1614
1374
|
}
|
|
1615
|
-
interface
|
|
1616
|
-
|
|
1375
|
+
interface NowIndicatorLineData {
|
|
1376
|
+
date: Date;
|
|
1377
|
+
view: ViewApi;
|
|
1378
|
+
}
|
|
1379
|
+
type NowIndicatorLineMountData = MountData<NowIndicatorLineData>;
|
|
1380
|
+
declare const NowIndicatorLineContainer: (props: NowIndicatorLineContainerProps) => createElement.JSX.Element;
|
|
1381
|
+
|
|
1382
|
+
type DateTimeFormatPartWithWeek = Omit<Intl.DateTimeFormatPart, 'type'> & {
|
|
1383
|
+
type: Intl.DateTimeFormatPart['type'] | 'week';
|
|
1384
|
+
};
|
|
1385
|
+
interface WeekNumberHeaderData {
|
|
1386
|
+
num?: number;
|
|
1387
|
+
date?: Date;
|
|
1617
1388
|
text: string;
|
|
1389
|
+
textParts: DateTimeFormatPartWithWeek[];
|
|
1390
|
+
isNarrow: boolean;
|
|
1391
|
+
hasNavLink: boolean;
|
|
1392
|
+
options: {
|
|
1393
|
+
dayMinWidth: number | undefined;
|
|
1394
|
+
};
|
|
1395
|
+
}
|
|
1396
|
+
type WeekNumberHeaderMountData = MountData<WeekNumberHeaderData>;
|
|
1397
|
+
interface InlineWeekNumberData {
|
|
1398
|
+
num: number;
|
|
1618
1399
|
date: Date;
|
|
1400
|
+
text: string;
|
|
1401
|
+
textParts: DateTimeFormatPartWithWeek[];
|
|
1402
|
+
isNarrow: boolean;
|
|
1403
|
+
hasNavLink: boolean;
|
|
1619
1404
|
}
|
|
1620
|
-
type
|
|
1621
|
-
declare const WeekNumberContainer: (props: WeekNumberContainerProps) => createElement.JSX.Element;
|
|
1405
|
+
type InlineWeekNumberMountData = MountData<InlineWeekNumberData>;
|
|
1622
1406
|
|
|
1623
1407
|
interface MoreLinkContainerProps extends Partial<ElAttrsProps> {
|
|
1624
1408
|
dateProfile: DateProfile;
|
|
@@ -1631,32 +1415,31 @@ interface MoreLinkContainerProps extends Partial<ElAttrsProps> {
|
|
|
1631
1415
|
alignParentTop?: string;
|
|
1632
1416
|
forceTimed?: boolean;
|
|
1633
1417
|
popoverContent: () => ComponentChild;
|
|
1634
|
-
|
|
1635
|
-
|
|
1418
|
+
isNarrow: boolean;
|
|
1419
|
+
isMicro: boolean;
|
|
1420
|
+
display: 'row' | 'column';
|
|
1636
1421
|
}
|
|
1637
|
-
interface
|
|
1422
|
+
interface MoreLinkData$1 {
|
|
1638
1423
|
num: number;
|
|
1424
|
+
numericText: string;
|
|
1425
|
+
longText: string;
|
|
1639
1426
|
text: string;
|
|
1640
|
-
|
|
1427
|
+
isNarrow: boolean;
|
|
1641
1428
|
view: ViewApi;
|
|
1642
1429
|
}
|
|
1643
|
-
type
|
|
1430
|
+
type MoreLinkMountData = MountData<MoreLinkData$1>;
|
|
1644
1431
|
interface MoreLinkContainerState {
|
|
1645
1432
|
isPopoverOpen: boolean;
|
|
1646
1433
|
popoverId: string;
|
|
1647
1434
|
}
|
|
1648
1435
|
declare class MoreLinkContainer extends BaseComponent<MoreLinkContainerProps, MoreLinkContainerState> {
|
|
1649
1436
|
private linkEl;
|
|
1650
|
-
private parentEl;
|
|
1651
1437
|
state: {
|
|
1652
1438
|
isPopoverOpen: boolean;
|
|
1653
1439
|
popoverId: string;
|
|
1654
1440
|
};
|
|
1655
1441
|
render(): createElement.JSX.Element;
|
|
1656
|
-
componentDidMount(): void;
|
|
1657
|
-
componentDidUpdate(): void;
|
|
1658
1442
|
handleLinkEl: (linkEl: HTMLElement | null) => void;
|
|
1659
|
-
updateParentEl(): void;
|
|
1660
1443
|
handleClick: (ev: MouseEvent) => void;
|
|
1661
1444
|
handlePopoverClose: () => void;
|
|
1662
1445
|
}
|
|
@@ -1670,7 +1453,7 @@ interface EventSegment {
|
|
|
1670
1453
|
}
|
|
1671
1454
|
type MoreLinkAction = MoreLinkSimpleAction | MoreLinkHandler;
|
|
1672
1455
|
type MoreLinkSimpleAction = 'popover' | 'week' | 'day' | 'timeGridWeek' | 'timeGridDay' | string;
|
|
1673
|
-
interface
|
|
1456
|
+
interface MoreLinkData {
|
|
1674
1457
|
date: Date;
|
|
1675
1458
|
allDay: boolean;
|
|
1676
1459
|
allSegs: EventSegment[];
|
|
@@ -1678,128 +1461,137 @@ interface MoreLinkArg {
|
|
|
1678
1461
|
jsEvent: UIEvent;
|
|
1679
1462
|
view: ViewApi;
|
|
1680
1463
|
}
|
|
1681
|
-
type MoreLinkHandler = (
|
|
1464
|
+
type MoreLinkHandler = (data: MoreLinkData) => MoreLinkSimpleAction | void;
|
|
1682
1465
|
|
|
1683
1466
|
interface DateMeta {
|
|
1684
1467
|
dow: number;
|
|
1468
|
+
date: Date;
|
|
1685
1469
|
isDisabled: boolean;
|
|
1686
1470
|
isOther: boolean;
|
|
1687
1471
|
isToday: boolean;
|
|
1688
1472
|
isPast: boolean;
|
|
1689
1473
|
isFuture: boolean;
|
|
1690
1474
|
}
|
|
1691
|
-
declare function getDateMeta(
|
|
1692
|
-
declare function getDayClassName(meta: DateMeta): string;
|
|
1693
|
-
declare function getSlotClassName(meta: DateMeta): string;
|
|
1475
|
+
declare function getDateMeta(dateMarker: DateMarker, dateEnv: DateEnv, dateProfile?: DateProfile, todayRange?: DateRange, nowDate?: DateMarker): DateMeta;
|
|
1694
1476
|
|
|
1695
|
-
interface
|
|
1477
|
+
interface SlotLaneData extends DateMeta {
|
|
1696
1478
|
time?: Duration;
|
|
1697
|
-
|
|
1479
|
+
isMajor: boolean;
|
|
1480
|
+
isMinor: boolean;
|
|
1698
1481
|
view: ViewApi;
|
|
1699
1482
|
}
|
|
1700
|
-
type
|
|
1701
|
-
interface
|
|
1483
|
+
type SlotLaneMountData = MountData<SlotLaneData>;
|
|
1484
|
+
interface SlotHeaderData extends SlotLaneData {
|
|
1702
1485
|
level: number;
|
|
1703
|
-
|
|
1704
|
-
date: Date;
|
|
1705
|
-
view: ViewApi;
|
|
1486
|
+
isTime: boolean;
|
|
1706
1487
|
text: string;
|
|
1488
|
+
isNarrow: boolean;
|
|
1489
|
+
hasNavLink: boolean;
|
|
1490
|
+
isFirst: boolean;
|
|
1707
1491
|
}
|
|
1708
|
-
type
|
|
1709
|
-
interface
|
|
1492
|
+
type SlotHeaderMountData = MountData<SlotHeaderData>;
|
|
1493
|
+
interface AllDayHeaderData {
|
|
1710
1494
|
text: string;
|
|
1711
1495
|
view: ViewApi;
|
|
1496
|
+
isNarrow: boolean;
|
|
1712
1497
|
}
|
|
1713
|
-
type
|
|
1714
|
-
interface
|
|
1498
|
+
type AllDayHeaderMountData = MountData<AllDayHeaderData>;
|
|
1499
|
+
interface DayHeaderData extends DateMeta {
|
|
1715
1500
|
date: Date;
|
|
1501
|
+
isNarrow: boolean;
|
|
1502
|
+
isMajor: boolean;
|
|
1503
|
+
inPopover: boolean;
|
|
1504
|
+
hasNavLink: boolean;
|
|
1505
|
+
level: number;
|
|
1716
1506
|
text: string;
|
|
1507
|
+
textParts: Intl.DateTimeFormatPart[];
|
|
1508
|
+
weekdayText: string;
|
|
1509
|
+
dayNumberText: string;
|
|
1717
1510
|
view: ViewApi;
|
|
1718
1511
|
[otherProp: string]: any;
|
|
1719
1512
|
}
|
|
1720
|
-
type
|
|
1721
|
-
|
|
1722
|
-
interface DayCellContentArg extends DateMeta {
|
|
1513
|
+
type DayHeaderMountData = MountData<DayHeaderData>;
|
|
1514
|
+
interface DayCellData extends DateMeta {
|
|
1723
1515
|
date: DateMarker;
|
|
1516
|
+
isMajor: boolean;
|
|
1517
|
+
isNarrow: boolean;
|
|
1518
|
+
inPopover: boolean;
|
|
1519
|
+
hasNavLink: boolean;
|
|
1724
1520
|
view: ViewApi;
|
|
1521
|
+
text: string;
|
|
1522
|
+
textParts: Intl.DateTimeFormatPart[];
|
|
1725
1523
|
dayNumberText: string;
|
|
1524
|
+
monthText: string;
|
|
1525
|
+
options: {
|
|
1526
|
+
businessHours: boolean;
|
|
1527
|
+
};
|
|
1726
1528
|
[extraProp: string]: any;
|
|
1727
1529
|
}
|
|
1728
|
-
type
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
dateMeta: DateMeta;
|
|
1732
|
-
isMonthStart?: boolean;
|
|
1733
|
-
showDayNumber?: boolean;
|
|
1734
|
-
renderProps?: Dictionary;
|
|
1735
|
-
defaultGenerator?: (renderProps: DayCellContentArg) => ComponentChild;
|
|
1736
|
-
children?: InnerContainerFunc<DayCellContentArg>;
|
|
1737
|
-
}
|
|
1738
|
-
declare class DayCellContainer extends BaseComponent<DayCellContainerProps> {
|
|
1739
|
-
refineRenderProps: (arg: DayCellRenderPropsInput) => DayCellContentArg;
|
|
1740
|
-
render(): createElement.JSX.Element;
|
|
1741
|
-
}
|
|
1742
|
-
declare function hasCustomDayCellContent(options: ViewOptions): boolean;
|
|
1743
|
-
interface DayCellRenderPropsInput {
|
|
1530
|
+
type DayCellMountData = MountData<DayCellData>;
|
|
1531
|
+
|
|
1532
|
+
interface DayLaneData extends DateMeta {
|
|
1744
1533
|
date: DateMarker;
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
showDayNumber?: boolean;
|
|
1751
|
-
renderProps?: Dictionary;
|
|
1534
|
+
isNarrow: boolean;
|
|
1535
|
+
isStack: boolean;
|
|
1536
|
+
isMajor: boolean;
|
|
1537
|
+
view: ViewApi;
|
|
1538
|
+
[extraProp: string]: any;
|
|
1752
1539
|
}
|
|
1540
|
+
type DayLaneMountData = MountData<DayLaneData>;
|
|
1753
1541
|
|
|
1754
1542
|
interface ViewContainerProps extends Partial<ElProps> {
|
|
1755
1543
|
viewSpec: ViewSpec;
|
|
1756
1544
|
attrs?: any;
|
|
1757
1545
|
children: ComponentChildren;
|
|
1546
|
+
borderlessX: boolean;
|
|
1547
|
+
borderlessTop: boolean;
|
|
1548
|
+
borderlessBottom: boolean;
|
|
1549
|
+
noEdgeEffects: boolean;
|
|
1758
1550
|
}
|
|
1759
|
-
interface
|
|
1551
|
+
interface ViewDisplayData {
|
|
1760
1552
|
view: ViewApi;
|
|
1761
1553
|
}
|
|
1762
|
-
type
|
|
1554
|
+
type ViewMountData = MountData<ViewDisplayData>;
|
|
1763
1555
|
declare class ViewContainer extends BaseComponent<ViewContainerProps> {
|
|
1764
1556
|
render(): createElement.JSX.Element;
|
|
1765
1557
|
}
|
|
1766
1558
|
|
|
1767
|
-
interface
|
|
1559
|
+
interface EventClickData {
|
|
1768
1560
|
el: HTMLElement;
|
|
1769
1561
|
event: EventImpl;
|
|
1770
1562
|
jsEvent: MouseEvent;
|
|
1771
1563
|
view: ViewApi;
|
|
1772
1564
|
}
|
|
1773
1565
|
|
|
1774
|
-
interface
|
|
1566
|
+
interface EventHoveringData {
|
|
1775
1567
|
el: HTMLElement;
|
|
1776
1568
|
event: EventImpl;
|
|
1777
1569
|
jsEvent: MouseEvent;
|
|
1778
1570
|
view: ViewApi;
|
|
1779
1571
|
}
|
|
1780
1572
|
|
|
1781
|
-
type
|
|
1573
|
+
type DatesSetData = RangeApiWithTimeZone & {
|
|
1782
1574
|
view: ViewApi;
|
|
1783
1575
|
};
|
|
1784
1576
|
|
|
1785
|
-
interface
|
|
1577
|
+
interface EventAddData {
|
|
1786
1578
|
event: EventImpl;
|
|
1787
1579
|
relatedEvents: EventImpl[];
|
|
1788
1580
|
revert: () => void;
|
|
1789
1581
|
}
|
|
1790
|
-
interface
|
|
1582
|
+
interface EventChangeData {
|
|
1791
1583
|
oldEvent: EventImpl;
|
|
1792
1584
|
event: EventImpl;
|
|
1793
1585
|
relatedEvents: EventImpl[];
|
|
1794
1586
|
revert: () => void;
|
|
1795
1587
|
}
|
|
1796
|
-
interface
|
|
1588
|
+
interface EventDropData extends EventChangeData {
|
|
1797
1589
|
el: HTMLElement;
|
|
1798
1590
|
delta: Duration;
|
|
1799
1591
|
jsEvent: MouseEvent;
|
|
1800
1592
|
view: ViewApi$1;
|
|
1801
1593
|
}
|
|
1802
|
-
interface
|
|
1594
|
+
interface EventRemoveData {
|
|
1803
1595
|
event: EventImpl;
|
|
1804
1596
|
relatedEvents: EventImpl[];
|
|
1805
1597
|
revert: () => void;
|
|
@@ -1827,6 +1619,22 @@ declare class CustomRenderingStore<RenderProps> extends Store<Map<string, Custom
|
|
|
1827
1619
|
handle(customRendering: CustomRendering<RenderProps>): void;
|
|
1828
1620
|
}
|
|
1829
1621
|
|
|
1622
|
+
interface ButtonState {
|
|
1623
|
+
text: string;
|
|
1624
|
+
hint: string;
|
|
1625
|
+
}
|
|
1626
|
+
interface NavButtonState extends ButtonState {
|
|
1627
|
+
isDisabled: boolean;
|
|
1628
|
+
}
|
|
1629
|
+
interface ButtonStateMap {
|
|
1630
|
+
today: NavButtonState;
|
|
1631
|
+
prev: NavButtonState;
|
|
1632
|
+
next: NavButtonState;
|
|
1633
|
+
prevYear: NavButtonState;
|
|
1634
|
+
nextYear: NavButtonState;
|
|
1635
|
+
[availableView: string]: ButtonState;
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1830
1638
|
interface EventApi {
|
|
1831
1639
|
source: EventSourceApi | null;
|
|
1832
1640
|
start: Date | null;
|
|
@@ -1844,10 +1652,9 @@ interface EventApi {
|
|
|
1844
1652
|
constraint: any;
|
|
1845
1653
|
overlap: boolean;
|
|
1846
1654
|
allow: any;
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
classNames: string[];
|
|
1655
|
+
color: string;
|
|
1656
|
+
contrastColor: string;
|
|
1657
|
+
className: string;
|
|
1851
1658
|
extendedProps: Dictionary;
|
|
1852
1659
|
setProp(name: string, val: any): void;
|
|
1853
1660
|
setExtendedProp(name: string, val: any): void;
|
|
@@ -1872,7 +1679,6 @@ interface EventApi {
|
|
|
1872
1679
|
remove(): void;
|
|
1873
1680
|
toPlainObject(settings?: {
|
|
1874
1681
|
collapseExtendedProps?: boolean;
|
|
1875
|
-
collapseColor?: boolean;
|
|
1876
1682
|
}): Dictionary;
|
|
1877
1683
|
toJSON(): Dictionary;
|
|
1878
1684
|
}
|
|
@@ -1913,15 +1719,64 @@ interface CalendarApi {
|
|
|
1913
1719
|
scrollToTime(timeInput: DurationInput): void;
|
|
1914
1720
|
}
|
|
1915
1721
|
|
|
1722
|
+
declare class CalendarController {
|
|
1723
|
+
private handleDateChange;
|
|
1724
|
+
private calendarApi?;
|
|
1725
|
+
constructor(handleDateChange: () => void);
|
|
1726
|
+
today(): void;
|
|
1727
|
+
prev(): void;
|
|
1728
|
+
next(): void;
|
|
1729
|
+
prevYear(): void;
|
|
1730
|
+
nextYear(): void;
|
|
1731
|
+
gotoDate(zonedDateInput: DateInput): void;
|
|
1732
|
+
incrementDate(duration: DurationInput): void;
|
|
1733
|
+
changeView(viewType: string): void;
|
|
1734
|
+
get view(): ViewApi | undefined;
|
|
1735
|
+
getDate(): Date | undefined;
|
|
1736
|
+
getButtonState(): ButtonStateMap;
|
|
1737
|
+
_setApi(calendarApi: CalendarApi | undefined): void;
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
type TableHeaderData = {
|
|
1741
|
+
isSticky: boolean;
|
|
1742
|
+
};
|
|
1743
|
+
|
|
1916
1744
|
declare const BASE_OPTION_REFINERS: {
|
|
1917
1745
|
navLinkDayClick: Identity<string | ((this: CalendarApi, date: Date, jsEvent: UIEvent) => void)>;
|
|
1918
1746
|
navLinkWeekClick: Identity<string | ((this: CalendarApi, weekStart: Date, jsEvent: UIEvent) => void)>;
|
|
1919
1747
|
duration: typeof createDuration;
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1748
|
+
buttons: Identity<{
|
|
1749
|
+
[buttonName: string]: ButtonInput;
|
|
1750
|
+
today?: ButtonInput;
|
|
1751
|
+
prev?: ButtonInput;
|
|
1752
|
+
next?: ButtonInput;
|
|
1753
|
+
prevYear?: ButtonInput;
|
|
1754
|
+
nextYear?: ButtonInput;
|
|
1755
|
+
year?: ButtonInput;
|
|
1756
|
+
month?: ButtonInput;
|
|
1757
|
+
week?: ButtonInput;
|
|
1758
|
+
day?: ButtonInput;
|
|
1759
|
+
}>;
|
|
1760
|
+
toolbarElements: Identity<{
|
|
1761
|
+
[elementName: string]: ToolbarElementInput;
|
|
1924
1762
|
}>;
|
|
1763
|
+
prevText: StringConstructor;
|
|
1764
|
+
nextText: StringConstructor;
|
|
1765
|
+
prevYearText: StringConstructor;
|
|
1766
|
+
nextYearText: StringConstructor;
|
|
1767
|
+
todayText: StringConstructor;
|
|
1768
|
+
yearText: StringConstructor;
|
|
1769
|
+
monthText: StringConstructor;
|
|
1770
|
+
weekText: StringConstructor;
|
|
1771
|
+
weekTextShort: StringConstructor;
|
|
1772
|
+
dayText: StringConstructor;
|
|
1773
|
+
listText: Identity<string | false>;
|
|
1774
|
+
todayHint: Identity<string | ((currentUnitText: string, currentUnit: string) => string)>;
|
|
1775
|
+
prevHint: Identity<string | ((currentUnitText: string, currentUnit: string) => string)>;
|
|
1776
|
+
nextHint: Identity<string | ((currentUnitText: string, currentUnit: string) => string)>;
|
|
1777
|
+
buttonDisplay: Identity<ButtonDisplay>;
|
|
1778
|
+
buttonGroupClass: Identity<ClassNameGenerator<ButtonGroupData>>;
|
|
1779
|
+
buttonClass: Identity<ClassNameGenerator<ButtonData>>;
|
|
1925
1780
|
defaultAllDayEventDuration: typeof createDuration;
|
|
1926
1781
|
defaultTimedEventDuration: typeof createDuration;
|
|
1927
1782
|
nextDayThreshold: typeof createDuration;
|
|
@@ -1937,34 +1792,39 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
1937
1792
|
defaultRangeSeparator: StringConstructor;
|
|
1938
1793
|
titleRangeSeparator: StringConstructor;
|
|
1939
1794
|
forceEventDuration: BooleanConstructor;
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
dayHeaderDidMount: Identity<DidMountHandler<DayHeaderMountArg>>;
|
|
1945
|
-
dayHeaderWillUnmount: Identity<WillUnmountHandler<DayHeaderMountArg>>;
|
|
1946
|
-
dayCellClassNames: Identity<ClassNamesGenerator<DayCellContentArg>>;
|
|
1947
|
-
dayCellContent: Identity<CustomContentGenerator<DayCellContentArg>>;
|
|
1948
|
-
dayCellDidMount: Identity<DidMountHandler<DayCellMountArg>>;
|
|
1949
|
-
dayCellWillUnmount: Identity<WillUnmountHandler<DayCellMountArg>>;
|
|
1795
|
+
dayLaneClass: Identity<ClassNameGenerator<DayLaneData>>;
|
|
1796
|
+
dayLaneInnerClass: Identity<ClassNameGenerator<DayLaneData>>;
|
|
1797
|
+
dayLaneDidMount: Identity<DidMountHandler<DayLaneMountData>>;
|
|
1798
|
+
dayLaneWillUnmount: Identity<WillUnmountHandler<DayLaneMountData>>;
|
|
1950
1799
|
initialView: StringConstructor;
|
|
1951
1800
|
aspectRatio: NumberConstructor;
|
|
1952
1801
|
weekends: BooleanConstructor;
|
|
1953
1802
|
weekNumberCalculation: Identity<WeekNumberCalculation>;
|
|
1954
1803
|
weekNumbers: BooleanConstructor;
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1804
|
+
weekNumberHeaderClass: Identity<ClassNameGenerator<WeekNumberHeaderData>>;
|
|
1805
|
+
weekNumberHeaderInnerClass: Identity<ClassNameGenerator<WeekNumberHeaderData>>;
|
|
1806
|
+
weekNumberHeaderContent: Identity<CustomContentGenerator<WeekNumberHeaderData>>;
|
|
1807
|
+
weekNumberHeaderDidMount: Identity<DidMountHandler<WeekNumberHeaderMountData>>;
|
|
1808
|
+
weekNumberHeaderWillUnmount: Identity<WillUnmountHandler<WeekNumberHeaderMountData>>;
|
|
1809
|
+
inlineWeekNumberClass: Identity<ClassNameGenerator<InlineWeekNumberData>>;
|
|
1810
|
+
inlineWeekNumberContent: Identity<CustomContentGenerator<InlineWeekNumberData>>;
|
|
1811
|
+
inlineWeekNumberDidMount: Identity<DidMountHandler<InlineWeekNumberMountData>>;
|
|
1812
|
+
inlineWeekNumberWillUnmount: Identity<WillUnmountHandler<InlineWeekNumberMountData>>;
|
|
1959
1813
|
editable: BooleanConstructor;
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1814
|
+
controller: Identity<CalendarController>;
|
|
1815
|
+
viewClass: Identity<ClassNameGenerator<ViewDisplayData>>;
|
|
1816
|
+
viewDidMount: Identity<DidMountHandler<ViewMountData>>;
|
|
1817
|
+
viewWillUnmount: Identity<WillUnmountHandler<ViewMountData>>;
|
|
1963
1818
|
nowIndicator: BooleanConstructor;
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1819
|
+
nowIndicatorHeaderClass: Identity<ClassNameGenerator<NowIndicatorHeaderData>>;
|
|
1820
|
+
nowIndicatorHeaderContent: Identity<CustomContentGenerator<NowIndicatorHeaderData>>;
|
|
1821
|
+
nowIndicatorHeaderDidMount: Identity<DidMountHandler<NowIndicatorHeaderMountData>>;
|
|
1822
|
+
nowIndicatorHeaderWillUnmount: Identity<WillUnmountHandler<NowIndicatorHeaderMountData>>;
|
|
1823
|
+
nowIndicatorDotClass: Identity<string>;
|
|
1824
|
+
nowIndicatorLineClass: Identity<ClassNameGenerator<NowIndicatorLineData>>;
|
|
1825
|
+
nowIndicatorLineContent: Identity<CustomContentGenerator<NowIndicatorLineData>>;
|
|
1826
|
+
nowIndicatorLineDidMount: Identity<DidMountHandler<NowIndicatorLineMountData>>;
|
|
1827
|
+
nowIndicatorLineWillUnmount: Identity<WillUnmountHandler<NowIndicatorLineMountData>>;
|
|
1968
1828
|
showNonCurrentDates: BooleanConstructor;
|
|
1969
1829
|
lazyFetching: BooleanConstructor;
|
|
1970
1830
|
startParam: StringConstructor;
|
|
@@ -1973,7 +1833,6 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
1973
1833
|
timeZone: StringConstructor;
|
|
1974
1834
|
locales: Identity<LocaleInput[]>;
|
|
1975
1835
|
locale: Identity<LocaleSingularArg>;
|
|
1976
|
-
themeSystem: Identity<string>;
|
|
1977
1836
|
dragRevertDuration: NumberConstructor;
|
|
1978
1837
|
dragScroll: BooleanConstructor;
|
|
1979
1838
|
allDayMaintainDuration: BooleanConstructor;
|
|
@@ -1992,8 +1851,6 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
1992
1851
|
eventResizableFromStart: BooleanConstructor;
|
|
1993
1852
|
displayEventTime: BooleanConstructor;
|
|
1994
1853
|
displayEventEnd: BooleanConstructor;
|
|
1995
|
-
weekText: StringConstructor;
|
|
1996
|
-
weekTextLong: StringConstructor;
|
|
1997
1854
|
progressiveEventRendering: BooleanConstructor;
|
|
1998
1855
|
businessHours: Identity<BusinessHoursInput>;
|
|
1999
1856
|
initialDate: Identity<DateInput>;
|
|
@@ -2001,7 +1858,6 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
2001
1858
|
eventDataTransform: Identity<EventInputTransformer>;
|
|
2002
1859
|
stickyHeaderDates: Identity<boolean | "auto">;
|
|
2003
1860
|
stickyFooterScrollbar: Identity<boolean | "auto">;
|
|
2004
|
-
viewHeight: Identity<CssDimValue>;
|
|
2005
1861
|
defaultAllDay: BooleanConstructor;
|
|
2006
1862
|
eventSourceFailure: Identity<(this: CalendarApi, error: any) => void>;
|
|
2007
1863
|
eventSourceSuccess: Identity<(this: CalendarApi, eventsInput: EventInput[], response?: Response) => EventInput[] | void>;
|
|
@@ -2011,37 +1867,158 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
2011
1867
|
eventOverlap: Identity<boolean | OverlapFunc>;
|
|
2012
1868
|
eventConstraint: Identity<ConstraintInput>;
|
|
2013
1869
|
eventAllow: Identity<AllowFunc>;
|
|
2014
|
-
eventBackgroundColor: StringConstructor;
|
|
2015
|
-
eventBorderColor: StringConstructor;
|
|
2016
|
-
eventTextColor: StringConstructor;
|
|
2017
1870
|
eventColor: StringConstructor;
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
1871
|
+
eventContrastColor: StringConstructor;
|
|
1872
|
+
eventDidMount: Identity<DidMountHandler<EventMountData>>;
|
|
1873
|
+
eventWillUnmount: Identity<WillUnmountHandler<EventMountData>>;
|
|
1874
|
+
eventContent: Identity<CustomContentGenerator<EventDisplayData>>;
|
|
1875
|
+
backgroundEventColor: StringConstructor;
|
|
1876
|
+
eventClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1877
|
+
eventInnerClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1878
|
+
eventTimeClass: Identity<ClassNameGenerator<{
|
|
1879
|
+
event: EventApi;
|
|
1880
|
+
isNarrow: boolean;
|
|
1881
|
+
isShort: boolean;
|
|
1882
|
+
}>>;
|
|
1883
|
+
eventTitleClass: Identity<ClassNameGenerator<{
|
|
1884
|
+
event: EventApi;
|
|
1885
|
+
isNarrow: boolean;
|
|
1886
|
+
isShort: boolean;
|
|
1887
|
+
}>>;
|
|
1888
|
+
eventBeforeClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1889
|
+
eventAfterClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1890
|
+
listItemEventClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1891
|
+
listItemEventInnerClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1892
|
+
listItemEventTimeClass: Identity<ClassNameGenerator<{
|
|
1893
|
+
event: EventApi;
|
|
1894
|
+
isNarrow: boolean;
|
|
1895
|
+
isShort: boolean;
|
|
1896
|
+
}>>;
|
|
1897
|
+
listItemEventTitleClass: Identity<ClassNameGenerator<{
|
|
1898
|
+
event: EventApi;
|
|
1899
|
+
isNarrow: boolean;
|
|
1900
|
+
isShort: boolean;
|
|
1901
|
+
timeText: string;
|
|
1902
|
+
}>>;
|
|
1903
|
+
listItemEventBeforeClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1904
|
+
listItemEventAfterClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1905
|
+
blockEventClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1906
|
+
blockEventInnerClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1907
|
+
blockEventTimeClass: Identity<ClassNameGenerator<{
|
|
1908
|
+
event: EventApi;
|
|
1909
|
+
isNarrow: boolean;
|
|
1910
|
+
isShort: boolean;
|
|
1911
|
+
}>>;
|
|
1912
|
+
blockEventTitleClass: Identity<ClassNameGenerator<{
|
|
1913
|
+
event: EventApi;
|
|
1914
|
+
isNarrow: boolean;
|
|
1915
|
+
isShort: boolean;
|
|
1916
|
+
}>>;
|
|
1917
|
+
blockEventBeforeClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1918
|
+
blockEventAfterClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1919
|
+
rowEventClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1920
|
+
rowEventInnerClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1921
|
+
rowEventTimeClass: Identity<ClassNameGenerator<{
|
|
1922
|
+
event: EventApi;
|
|
1923
|
+
isNarrow: boolean;
|
|
1924
|
+
isShort: boolean;
|
|
1925
|
+
}>>;
|
|
1926
|
+
rowEventTitleClass: Identity<ClassNameGenerator<{
|
|
1927
|
+
event: EventApi;
|
|
1928
|
+
isNarrow: boolean;
|
|
1929
|
+
isShort: boolean;
|
|
1930
|
+
}>>;
|
|
1931
|
+
rowEventTitleSticky: BooleanConstructor;
|
|
1932
|
+
rowEventBeforeClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1933
|
+
rowEventBeforeContent: Identity<CustomContentGenerator<EventDisplayData>>;
|
|
1934
|
+
rowEventAfterClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1935
|
+
rowEventAfterContent: Identity<CustomContentGenerator<EventDisplayData>>;
|
|
1936
|
+
columnEventClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1937
|
+
columnEventInnerClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1938
|
+
columnEventTimeClass: Identity<ClassNameGenerator<{
|
|
1939
|
+
event: EventApi;
|
|
1940
|
+
isNarrow: boolean;
|
|
1941
|
+
isShort: boolean;
|
|
1942
|
+
}>>;
|
|
1943
|
+
columnEventTitleClass: Identity<ClassNameGenerator<{
|
|
1944
|
+
event: EventApi;
|
|
1945
|
+
isNarrow: boolean;
|
|
1946
|
+
isShort: boolean;
|
|
1947
|
+
}>>;
|
|
1948
|
+
columnEventTitleSticky: BooleanConstructor;
|
|
1949
|
+
columnEventBeforeClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1950
|
+
columnEventAfterClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1951
|
+
backgroundEventClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1952
|
+
backgroundEventInnerClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1953
|
+
backgroundEventTitleClass: Identity<ClassNameGenerator<{
|
|
1954
|
+
event: EventApi;
|
|
1955
|
+
isNarrow: boolean;
|
|
1956
|
+
isShort: boolean;
|
|
1957
|
+
}>>;
|
|
2022
1958
|
selectConstraint: Identity<ConstraintInput>;
|
|
2023
1959
|
selectOverlap: Identity<boolean | OverlapFunc>;
|
|
2024
1960
|
selectAllow: Identity<AllowFunc>;
|
|
2025
1961
|
droppable: BooleanConstructor;
|
|
2026
1962
|
unselectCancel: StringConstructor;
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
1963
|
+
slotHeaderFormat: Identity<FormatterInput | FormatterInput[]>;
|
|
1964
|
+
slotLaneClass: Identity<ClassNameGenerator<SlotLaneData>>;
|
|
1965
|
+
slotLaneDidMount: Identity<DidMountHandler<SlotLaneMountData>>;
|
|
1966
|
+
slotLaneWillUnmount: Identity<WillUnmountHandler<SlotLaneMountData>>;
|
|
1967
|
+
slotHeaderClass: Identity<ClassNameGenerator<SlotHeaderData>>;
|
|
1968
|
+
slotHeaderInnerClass: Identity<ClassNameGenerator<SlotHeaderData>>;
|
|
1969
|
+
slotHeaderContent: Identity<CustomContentGenerator<SlotHeaderData>>;
|
|
1970
|
+
slotHeaderDidMount: Identity<DidMountHandler<SlotHeaderMountData>>;
|
|
1971
|
+
slotHeaderWillUnmount: Identity<WillUnmountHandler<SlotHeaderMountData>>;
|
|
1972
|
+
slotHeaderAlign: Identity<"start" | "end" | "center" | ((data: {
|
|
1973
|
+
level: number;
|
|
1974
|
+
isTime: boolean;
|
|
1975
|
+
}) => 'start' | 'center' | 'end')>;
|
|
1976
|
+
slotHeaderSticky: Identity<string | number | boolean>;
|
|
1977
|
+
slotHeaderRowClass: Identity<string>;
|
|
1978
|
+
slotHeaderDividerClass: Identity<ClassNameGenerator<{
|
|
1979
|
+
isHeader: boolean;
|
|
1980
|
+
options: {
|
|
1981
|
+
dayMinWidth: number | undefined;
|
|
1982
|
+
};
|
|
1983
|
+
}>>;
|
|
2036
1984
|
dayMaxEvents: Identity<number | boolean>;
|
|
2037
1985
|
dayMaxEventRows: Identity<number | boolean>;
|
|
2038
1986
|
dayMinWidth: NumberConstructor;
|
|
2039
|
-
|
|
1987
|
+
slotHeaderInterval: typeof createDuration;
|
|
1988
|
+
dayHeaderClass: Identity<ClassNameGenerator<DayHeaderData>>;
|
|
1989
|
+
dayHeaderInnerClass: Identity<ClassNameGenerator<DayHeaderData>>;
|
|
1990
|
+
dayHeaderContent: Identity<CustomContentGenerator<DayHeaderData>>;
|
|
1991
|
+
dayHeaderDidMount: Identity<DidMountHandler<DayHeaderMountData>>;
|
|
1992
|
+
dayHeaderWillUnmount: Identity<WillUnmountHandler<DayHeaderMountData>>;
|
|
1993
|
+
dayHeaderAlign: Identity<"start" | "end" | "center" | ((data: {
|
|
1994
|
+
level: number;
|
|
1995
|
+
inPopover: boolean;
|
|
1996
|
+
isNarrow: boolean;
|
|
1997
|
+
}) => 'start' | 'center' | 'end')>;
|
|
1998
|
+
dayHeaderSticky: Identity<string | number | boolean>;
|
|
1999
|
+
dayHeaderRowClass: Identity<string>;
|
|
2000
|
+
dayHeaderDividerClass: Identity<ClassNameGenerator<{
|
|
2001
|
+
isSticky: boolean;
|
|
2002
|
+
options: {
|
|
2003
|
+
allDaySlot: boolean;
|
|
2004
|
+
};
|
|
2005
|
+
}>>;
|
|
2006
|
+
dayRowClass: Identity<string>;
|
|
2007
|
+
dayCellDidMount: Identity<DidMountHandler<DayCellMountData>>;
|
|
2008
|
+
dayCellWillUnmount: Identity<WillUnmountHandler<DayCellMountData>>;
|
|
2009
|
+
dayCellClass: Identity<ClassNameGenerator<DayCellData>>;
|
|
2010
|
+
dayCellInnerClass: Identity<ClassNameGenerator<DayCellData>>;
|
|
2011
|
+
dayCellTopContent: Identity<CustomContentGenerator<DayCellData>>;
|
|
2012
|
+
dayCellTopClass: Identity<ClassNameGenerator<DayCellData>>;
|
|
2013
|
+
dayCellTopInnerClass: Identity<ClassNameGenerator<DayCellData>>;
|
|
2014
|
+
dayCellBottomClass: Identity<ClassNameGenerator<DayCellData>>;
|
|
2015
|
+
allDaySlot: BooleanConstructor;
|
|
2040
2016
|
allDayText: StringConstructor;
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2017
|
+
allDayHeaderClass: Identity<ClassNameGenerator<AllDayHeaderData>>;
|
|
2018
|
+
allDayHeaderInnerClass: Identity<ClassNameGenerator<AllDayHeaderData>>;
|
|
2019
|
+
allDayHeaderContent: Identity<CustomContentGenerator<AllDayHeaderData>>;
|
|
2020
|
+
allDayHeaderDidMount: Identity<DidMountHandler<AllDayHeaderMountData>>;
|
|
2021
|
+
allDayHeaderWillUnmount: Identity<WillUnmountHandler<AllDayHeaderMountData>>;
|
|
2045
2022
|
timedText: StringConstructor;
|
|
2046
2023
|
slotMinWidth: NumberConstructor;
|
|
2047
2024
|
navLinks: BooleanConstructor;
|
|
@@ -2071,30 +2048,61 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
2071
2048
|
titleFormat: Identity<FormatterInput>;
|
|
2072
2049
|
eventInteractive: BooleanConstructor;
|
|
2073
2050
|
noEventsText: StringConstructor;
|
|
2074
|
-
viewHint: Identity<string | ((
|
|
2051
|
+
viewHint: Identity<string | ((viewButtonText: string, viewName: string) => string)>;
|
|
2075
2052
|
viewChangeHint: StringConstructor;
|
|
2076
|
-
navLinkHint: Identity<string | ((
|
|
2053
|
+
navLinkHint: Identity<string | ((dateText: string, date: Date) => string)>;
|
|
2077
2054
|
closeHint: StringConstructor;
|
|
2078
2055
|
eventsHint: StringConstructor;
|
|
2079
2056
|
headingLevel: NumberConstructor;
|
|
2080
2057
|
moreLinkClick: Identity<MoreLinkAction>;
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2058
|
+
moreLinkContent: Identity<CustomContentGenerator<MoreLinkData$1>>;
|
|
2059
|
+
moreLinkDidMount: Identity<DidMountHandler<MoreLinkMountData>>;
|
|
2060
|
+
moreLinkWillUnmount: Identity<WillUnmountHandler<MoreLinkMountData>>;
|
|
2061
|
+
moreLinkClass: Identity<ClassNameGenerator<MoreLinkData$1>>;
|
|
2062
|
+
moreLinkInnerClass: Identity<ClassNameGenerator<MoreLinkData$1>>;
|
|
2063
|
+
rowMoreLinkClass: Identity<ClassNameGenerator<MoreLinkData$1>>;
|
|
2064
|
+
rowMoreLinkInnerClass: Identity<ClassNameGenerator<MoreLinkData$1>>;
|
|
2065
|
+
columnMoreLinkClass: Identity<ClassNameGenerator<MoreLinkData$1>>;
|
|
2066
|
+
columnMoreLinkInnerClass: Identity<ClassNameGenerator<MoreLinkData$1>>;
|
|
2067
|
+
navLinkClass: Identity<string>;
|
|
2085
2068
|
monthStartFormat: typeof createFormatter;
|
|
2069
|
+
dayCellFormat: typeof createFormatter;
|
|
2086
2070
|
handleCustomRendering: Identity<CustomRenderingHandler<any>>;
|
|
2087
2071
|
customRenderingMetaMap: Identity<{
|
|
2088
2072
|
[optionName: string]: any;
|
|
2089
2073
|
}>;
|
|
2090
2074
|
customRenderingReplaces: BooleanConstructor;
|
|
2075
|
+
class: Identity<string>;
|
|
2076
|
+
className: Identity<string>;
|
|
2077
|
+
popoverClass: Identity<string>;
|
|
2078
|
+
popoverCloseClass: Identity<string>;
|
|
2079
|
+
popoverCloseContent: Identity<CustomContentGenerator<{}>>;
|
|
2080
|
+
dayNarrowWidth: NumberConstructor;
|
|
2081
|
+
borderless: BooleanConstructor;
|
|
2082
|
+
borderlessX: BooleanConstructor;
|
|
2083
|
+
borderlessTop: BooleanConstructor;
|
|
2084
|
+
borderlessBottom: BooleanConstructor;
|
|
2085
|
+
fillerClass: Identity<ClassNameGenerator<{
|
|
2086
|
+
isHeader: boolean;
|
|
2087
|
+
}>>;
|
|
2088
|
+
headerToolbarClass: Identity<ClassNameGenerator<ToolbarData>>;
|
|
2089
|
+
footerToolbarClass: Identity<ClassNameGenerator<ToolbarData>>;
|
|
2090
|
+
toolbarClass: Identity<ClassNameGenerator<ToolbarData>>;
|
|
2091
|
+
toolbarSectionClass: Identity<ClassNameGenerator<ToolbarSectionData>>;
|
|
2092
|
+
toolbarTitleClass: Identity<string>;
|
|
2093
|
+
tableClass: Identity<string>;
|
|
2094
|
+
tableHeaderClass: Identity<ClassNameGenerator<TableHeaderData>>;
|
|
2095
|
+
tableBodyClass: Identity<string>;
|
|
2096
|
+
nonBusinessClass: Identity<string>;
|
|
2097
|
+
highlightClass: Identity<string>;
|
|
2091
2098
|
};
|
|
2092
|
-
type
|
|
2093
|
-
interface
|
|
2099
|
+
type BaseOptionRefiners = typeof BASE_OPTION_REFINERS;
|
|
2100
|
+
interface BaseOptions extends RawOptionsFromRefiners<BaseOptionRefiners> {
|
|
2101
|
+
}
|
|
2102
|
+
interface BaseOptionsRefined extends RefinedOptionsFromRefiners<BaseOptionRefiners> {
|
|
2094
2103
|
}
|
|
2095
|
-
type BaseOptions = RawOptionsFromRefiners<// as RawOptions
|
|
2096
|
-
Required<BaseOptionRefiners>>;
|
|
2097
2104
|
declare const BASE_OPTION_DEFAULTS: {
|
|
2105
|
+
buttonDisplay: string;
|
|
2098
2106
|
eventDisplay: string;
|
|
2099
2107
|
defaultRangeSeparator: string;
|
|
2100
2108
|
titleRangeSeparator: string;
|
|
@@ -2104,14 +2112,8 @@ declare const BASE_OPTION_DEFAULTS: {
|
|
|
2104
2112
|
};
|
|
2105
2113
|
forceEventDuration: boolean;
|
|
2106
2114
|
nextDayThreshold: string;
|
|
2107
|
-
dayHeaders: boolean;
|
|
2108
2115
|
initialView: string;
|
|
2109
2116
|
aspectRatio: number;
|
|
2110
|
-
headerToolbar: {
|
|
2111
|
-
start: string;
|
|
2112
|
-
center: string;
|
|
2113
|
-
end: string;
|
|
2114
|
-
};
|
|
2115
2117
|
weekends: boolean;
|
|
2116
2118
|
weekNumbers: boolean;
|
|
2117
2119
|
weekNumberCalculation: WeekNumberCalculation;
|
|
@@ -2129,7 +2131,6 @@ declare const BASE_OPTION_DEFAULTS: {
|
|
|
2129
2131
|
timeZone: string;
|
|
2130
2132
|
locales: any[];
|
|
2131
2133
|
locale: string;
|
|
2132
|
-
themeSystem: string;
|
|
2133
2134
|
dragRevertDuration: number;
|
|
2134
2135
|
dragScroll: boolean;
|
|
2135
2136
|
allDayMaintainDuration: boolean;
|
|
@@ -2153,21 +2154,31 @@ declare const BASE_OPTION_DEFAULTS: {
|
|
|
2153
2154
|
month: string;
|
|
2154
2155
|
day: string;
|
|
2155
2156
|
};
|
|
2157
|
+
dayCellFormat: {
|
|
2158
|
+
day: string;
|
|
2159
|
+
};
|
|
2156
2160
|
headingLevel: number;
|
|
2161
|
+
outerBorder: boolean;
|
|
2162
|
+
dayNarrowWidth: number;
|
|
2163
|
+
eventOverlap: boolean;
|
|
2164
|
+
slotHeaderAlign: string;
|
|
2165
|
+
slotHeaderSticky: boolean;
|
|
2166
|
+
dayHeaderAlign: string;
|
|
2167
|
+
dayHeaderSticky: boolean;
|
|
2168
|
+
rowEventTitleSticky: boolean;
|
|
2169
|
+
columnEventTitleSticky: boolean;
|
|
2157
2170
|
};
|
|
2158
|
-
type BaseOptionsRefined = DefaultedRefinedOptions<RefinedOptionsFromRefiners<Required<BaseOptionRefiners>>, // Required is a hack for "Index signature is missing"
|
|
2159
|
-
keyof typeof BASE_OPTION_DEFAULTS>;
|
|
2160
2171
|
declare const CALENDAR_LISTENER_REFINERS: {
|
|
2161
|
-
datesSet: Identity<(
|
|
2172
|
+
datesSet: Identity<(data: DatesSetData) => void>;
|
|
2162
2173
|
eventsSet: Identity<(events: EventApi[]) => void>;
|
|
2163
|
-
eventAdd: Identity<(
|
|
2164
|
-
eventChange: Identity<(
|
|
2165
|
-
eventRemove: Identity<(
|
|
2166
|
-
eventClick: Identity<(
|
|
2167
|
-
eventMouseEnter: Identity<(
|
|
2168
|
-
eventMouseLeave: Identity<(
|
|
2169
|
-
select: Identity<(
|
|
2170
|
-
unselect: Identity<(
|
|
2174
|
+
eventAdd: Identity<(data: EventAddData) => void>;
|
|
2175
|
+
eventChange: Identity<(data: EventChangeData) => void>;
|
|
2176
|
+
eventRemove: Identity<(data: EventRemoveData) => void>;
|
|
2177
|
+
eventClick: Identity<(data: EventClickData) => void>;
|
|
2178
|
+
eventMouseEnter: Identity<(data: EventHoveringData) => void>;
|
|
2179
|
+
eventMouseLeave: Identity<(data: EventHoveringData) => void>;
|
|
2180
|
+
select: Identity<(data: DateSelectData) => void>;
|
|
2181
|
+
unselect: Identity<(data: DateUnselectData) => void>;
|
|
2171
2182
|
loading: Identity<(isLoading: boolean) => void>;
|
|
2172
2183
|
_unmount: Identity<() => void>;
|
|
2173
2184
|
_beforeprint: Identity<() => void>;
|
|
@@ -2176,14 +2187,12 @@ declare const CALENDAR_LISTENER_REFINERS: {
|
|
|
2176
2187
|
_noEventResize: Identity<() => void>;
|
|
2177
2188
|
_timeScrollRequest: Identity<(time: Duration) => void>;
|
|
2178
2189
|
};
|
|
2179
|
-
type
|
|
2180
|
-
interface
|
|
2181
|
-
}
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
declare const
|
|
2185
|
-
buttonText: Identity<ButtonTextCompoundInput>;
|
|
2186
|
-
buttonHints: Identity<ButtonHintCompoundInput>;
|
|
2190
|
+
type CalendarListenerRefiners = typeof CALENDAR_LISTENER_REFINERS;
|
|
2191
|
+
interface CalendarListeners extends RawOptionsFromRefiners<CalendarListenerRefiners> {
|
|
2192
|
+
}
|
|
2193
|
+
interface CalendarListenersRefined extends RefinedOptionsFromRefiners<CalendarListenerRefiners> {
|
|
2194
|
+
}
|
|
2195
|
+
declare const CALENDAR_ONLY_OPTION_REFINERS: {
|
|
2187
2196
|
views: Identity<{
|
|
2188
2197
|
[viewId: string]: ViewOptions;
|
|
2189
2198
|
}>;
|
|
@@ -2192,19 +2201,19 @@ declare const CALENDAR_OPTION_REFINERS: {
|
|
|
2192
2201
|
events: Identity<EventSourceInput>;
|
|
2193
2202
|
eventSources: Identity<EventSourceInput[]>;
|
|
2194
2203
|
};
|
|
2195
|
-
type
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
type CalendarOptionsRefined = BaseOptionsRefined & CalendarListenersLoose & RefinedOptionsFromRefiners<Required<CalendarOptionRefiners>>;
|
|
2200
|
-
declare const VIEW_OPTION_REFINERS: {
|
|
2204
|
+
type CalendarOnlyOptionRefiners = typeof CALENDAR_ONLY_OPTION_REFINERS;
|
|
2205
|
+
type CalendarOnlyOptions = RawOptionsFromRefiners<CalendarOnlyOptionRefiners>;
|
|
2206
|
+
type CalendarOnlyOptionsRefined = RefinedOptionsFromRefiners<CalendarOnlyOptionRefiners>;
|
|
2207
|
+
declare const VIEW_ONLY_OPTION_REFINERS: {
|
|
2201
2208
|
[name: string]: any;
|
|
2202
2209
|
};
|
|
2203
|
-
type
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
type ViewOptions = BaseOptions &
|
|
2207
|
-
type ViewOptionsRefined = BaseOptionsRefined &
|
|
2210
|
+
type ViewOnlyRefiners = typeof VIEW_ONLY_OPTION_REFINERS;
|
|
2211
|
+
type ViewOnlyOptions = RawOptionsFromRefiners<ViewOnlyRefiners>;
|
|
2212
|
+
type ViewOnlyOptionsRefined = RefinedOptionsFromRefiners<ViewOnlyRefiners>;
|
|
2213
|
+
type ViewOptions = BaseOptions & CalendarListeners & ViewOnlyOptions;
|
|
2214
|
+
type ViewOptionsRefined = BaseOptionsRefined & CalendarListenersRefined & ViewOnlyOptionsRefined;
|
|
2215
|
+
type CalendarOptions = BaseOptions & CalendarListeners & CalendarOnlyOptions;
|
|
2216
|
+
type CalendarOptionsRefined = BaseOptionsRefined & CalendarListenersRefined & CalendarOnlyOptionsRefined;
|
|
2208
2217
|
declare function refineProps<Refiners extends GenericRefiners, Raw extends RawOptionsFromRefiners<Refiners>>(input: Raw, refiners: Refiners): {
|
|
2209
2218
|
refined: RefinedOptionsFromRefiners<Refiners>;
|
|
2210
2219
|
extra: Dictionary;
|
|
@@ -2221,7 +2230,6 @@ type RawOptionsFromRefiners<Refiners extends GenericRefiners> = {
|
|
|
2221
2230
|
type RefinedOptionsFromRefiners<Refiners extends GenericRefiners> = {
|
|
2222
2231
|
[Prop in keyof Refiners]?: Refiners[Prop] extends ((input: any) => infer RefinedType) ? RefinedType : never;
|
|
2223
2232
|
};
|
|
2224
|
-
type DefaultedRefinedOptions<RefinedOptions extends Dictionary, DefaultKey extends keyof RefinedOptions> = Required<Pick<RefinedOptions, DefaultKey>> & Partial<Omit<RefinedOptions, DefaultKey>>;
|
|
2225
2233
|
type Dictionary = Record<string, any>;
|
|
2226
2234
|
type Identity<T = any> = (raw: T) => T;
|
|
2227
2235
|
declare function identity<T>(raw: T): T;
|
|
@@ -2232,24 +2240,54 @@ declare class JsonRequestError extends Error {
|
|
|
2232
2240
|
}
|
|
2233
2241
|
declare function requestJson<ParsedResponse>(method: string, url: string, params: Dictionary): Promise<[ParsedResponse, Response]>;
|
|
2234
2242
|
|
|
2243
|
+
type ClassValue = string | undefined | null | false | number;
|
|
2244
|
+
declare function joinArrayishClassNames(...args: (ClassValue | ClassValue[])[]): string;
|
|
2245
|
+
declare function joinClassNames(...args: ClassValue[]): string;
|
|
2246
|
+
declare function fracToCssDim(frac: number): string;
|
|
2247
|
+
|
|
2235
2248
|
declare function computeVisibleDayRange(timedRange: OpenDateRange, nextDayThreshold?: Duration): OpenDateRange;
|
|
2236
2249
|
declare function diffDates(date0: DateMarker, date1: DateMarker, dateEnv: DateEnv, largeUnit?: string): Duration;
|
|
2237
2250
|
|
|
2238
|
-
declare
|
|
2239
|
-
declare
|
|
2251
|
+
declare const FULL_DATE_FORMAT: _full_ui_headless_calendar.DateFormatter;
|
|
2252
|
+
declare const WEEKDAY_ONLY_FORMAT: _full_ui_headless_calendar.DateFormatter;
|
|
2253
|
+
declare function findWeekdayText(parts: Intl.DateTimeFormatPart[]): string;
|
|
2254
|
+
declare function findDayNumberText(parts: Intl.DateTimeFormatPart[]): string;
|
|
2255
|
+
declare function findMonthText(parts: Intl.DateTimeFormatPart[]): string;
|
|
2256
|
+
|
|
2257
|
+
declare function removeExact(array: any[], exactItem: any): number;
|
|
2258
|
+
declare function isArraysEqual(array0: any[], array1: any[], itemsEqual?: typeof valuesIdentical): boolean;
|
|
2240
2259
|
|
|
2241
2260
|
declare function memoize<Args extends any[], Res>(workerFunc: (...args: Args) => Res, resEquality?: (res0: Res, res1: Res) => boolean, teardownFunc?: (res: Res) => void): (...args: Args) => Res;
|
|
2242
2261
|
declare function memoizeObjArg<Arg extends Dictionary, Res>(workerFunc: (arg: Arg) => Res, resEquality?: (res0: Res, res1: Res) => boolean, teardownFunc?: (res: Res) => void): (arg: Arg) => Res;
|
|
2243
|
-
|
|
2244
|
-
declare function
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
[key: string]: Res;
|
|
2262
|
+
|
|
2263
|
+
declare function filterHash(hash: any, func: any): {};
|
|
2264
|
+
declare function mapHash<InputItem, OutputItem>(hash: {
|
|
2265
|
+
[key: string]: InputItem;
|
|
2266
|
+
}, func: (input: InputItem, key: string) => OutputItem): {
|
|
2267
|
+
[key: string]: OutputItem;
|
|
2250
2268
|
};
|
|
2251
|
-
declare function
|
|
2269
|
+
declare function isPropsEqualShallow(props0: any, props1: any): boolean;
|
|
2270
|
+
declare function isPropsEqualWithMap(props0: any, props1: any, equalityFuncMap: {
|
|
2271
|
+
[key: string | symbol]: (val0: any, val1: any) => boolean;
|
|
2272
|
+
}): boolean;
|
|
2252
2273
|
|
|
2274
|
+
type ClassNameInput = string | undefined;
|
|
2275
|
+
type FuncishClassNameInput = ((data: any) => ClassNameInput) | ClassNameInput;
|
|
2276
|
+
declare function mergeViewOptionsMap(...hashes: {
|
|
2277
|
+
[view: string]: ViewOptions;
|
|
2278
|
+
}[]): {
|
|
2279
|
+
[view: string]: ViewOptions;
|
|
2280
|
+
};
|
|
2281
|
+
declare function mergeCalendarOptions(...optionSets: CalendarOptions[]): any;
|
|
2282
|
+
declare function joinFuncishClassNames(input0: FuncishClassNameInput, // added to string first
|
|
2283
|
+
input1: FuncishClassNameInput): FuncishClassNameInput;
|
|
2284
|
+
declare function mergeContentInjectors(contentGenerator0: CustomContentGenerator<any>, // fallback
|
|
2285
|
+
contentGenerator1: CustomContentGenerator<any>): CustomContentGenerator<any>;
|
|
2286
|
+
declare function mergeLifecycleCallbacks(fn0: (...args: any[]) => any, // called first
|
|
2287
|
+
fn1: (...args: any[]) => any): (...args: any[]) => any;
|
|
2288
|
+
|
|
2289
|
+
declare function getAppendableRoot(el: HTMLElement): Node;
|
|
2290
|
+
declare function computeElIsRtl(el: HTMLElement): boolean;
|
|
2253
2291
|
declare function applyStyle(el: HTMLElement, props: Dictionary): void;
|
|
2254
2292
|
declare function getEventTargetViaRoot(ev: Event): EventTarget;
|
|
2255
2293
|
declare function getUniqueDomId(): string;
|
|
@@ -2258,8 +2296,12 @@ declare function isDimsEqual(v0: number | undefined, v1: number): boolean;
|
|
|
2258
2296
|
|
|
2259
2297
|
type SizeCallback = (width: number, height: number) => void;
|
|
2260
2298
|
type DisconnectSize = () => void;
|
|
2261
|
-
type WatchSize = (el: HTMLElement, callback: SizeCallback,
|
|
2299
|
+
type WatchSize = (el: HTMLElement, callback: SizeCallback, watchWidth?: boolean, watchHeight?: boolean) => DisconnectSize;
|
|
2262
2300
|
declare function afterSize(callback: () => void): void;
|
|
2301
|
+
declare function debounce(fn: () => void, ms: number): [
|
|
2302
|
+
request: () => void,
|
|
2303
|
+
cancel: () => void
|
|
2304
|
+
];
|
|
2263
2305
|
declare const watchSize: WatchSize;
|
|
2264
2306
|
declare function watchWidth(el: HTMLElement, callback: (width: number) => void): DisconnectSize;
|
|
2265
2307
|
declare function watchHeight(el: HTMLElement, callback: (height: number) => void): DisconnectSize;
|
|
@@ -2271,12 +2313,12 @@ declare function buildNavLinkAttrs(context: ViewContext, dateMarker: DateMarker,
|
|
|
2271
2313
|
onClick: (ev: UIEvent) => void;
|
|
2272
2314
|
role: any;
|
|
2273
2315
|
'aria-label': any;
|
|
2274
|
-
|
|
2316
|
+
className: string;
|
|
2275
2317
|
} | {
|
|
2276
2318
|
onClick: (ev: UIEvent) => void;
|
|
2277
2319
|
role: any;
|
|
2278
2320
|
'aria-label': any;
|
|
2279
|
-
|
|
2321
|
+
className: string;
|
|
2280
2322
|
};
|
|
2281
2323
|
|
|
2282
2324
|
declare function preventDefault(ev: any): void;
|
|
@@ -2365,17 +2407,6 @@ declare class WindowScrollController extends ScrollController {
|
|
|
2365
2407
|
getClientWidth(): number;
|
|
2366
2408
|
}
|
|
2367
2409
|
|
|
2368
|
-
declare function buildIsoString(marker: DateMarker, timeZoneOffset?: number, stripZeroTime?: boolean): string;
|
|
2369
|
-
declare function formatDayString(marker: DateMarker): string;
|
|
2370
|
-
declare function formatIsoMonthStr(marker: DateMarker): string;
|
|
2371
|
-
declare function formatIsoTimeString(marker: DateMarker): string;
|
|
2372
|
-
|
|
2373
|
-
declare function parse(str: any): {
|
|
2374
|
-
marker: Date;
|
|
2375
|
-
isTimeUnspecified: boolean;
|
|
2376
|
-
timeZoneOffset: any;
|
|
2377
|
-
};
|
|
2378
|
-
|
|
2379
2410
|
interface CoordSpan {
|
|
2380
2411
|
start: number;
|
|
2381
2412
|
size: number;
|
|
@@ -2441,9 +2472,8 @@ declare const config: any;
|
|
|
2441
2472
|
|
|
2442
2473
|
interface CalendarRootProps {
|
|
2443
2474
|
options: CalendarOptions;
|
|
2444
|
-
theme: Theme;
|
|
2445
2475
|
emitter: Emitter<CalendarListeners>;
|
|
2446
|
-
children: (
|
|
2476
|
+
children: (isRtl: boolean, className: string, height: CssDimValue | undefined, forPrint: boolean) => ComponentChildren;
|
|
2447
2477
|
}
|
|
2448
2478
|
interface CalendarRootState {
|
|
2449
2479
|
forPrint: boolean;
|
|
@@ -2472,27 +2502,35 @@ interface DayGridRange extends SlicedCoordRange {
|
|
|
2472
2502
|
interface DayTableCell {
|
|
2473
2503
|
key: string;
|
|
2474
2504
|
date: DateMarker;
|
|
2505
|
+
isMajor: boolean;
|
|
2475
2506
|
renderProps?: Dictionary;
|
|
2476
2507
|
attrs?: Dictionary;
|
|
2477
2508
|
className?: string;
|
|
2478
2509
|
dateSpanProps?: Dictionary;
|
|
2479
2510
|
}
|
|
2480
2511
|
declare class DayTableModel {
|
|
2481
|
-
|
|
2482
|
-
|
|
2512
|
+
private dateEnv;
|
|
2513
|
+
private majorUnit;
|
|
2514
|
+
rowCount: number;
|
|
2515
|
+
colCount: number;
|
|
2483
2516
|
cellRows: DayTableCell[][];
|
|
2484
2517
|
headerDates: DateMarker[];
|
|
2485
2518
|
private daySeries;
|
|
2486
|
-
constructor(daySeries: DaySeriesModel, breakOnWeeks: boolean);
|
|
2519
|
+
constructor(daySeries: DaySeriesModel, breakOnWeeks: boolean, dateEnv: DateEnv, majorUnit?: string);
|
|
2487
2520
|
buildCells(): any[];
|
|
2488
2521
|
private buildCell;
|
|
2522
|
+
protected cellIsMajor(dateMarker: DateMarker): boolean;
|
|
2489
2523
|
private buildHeaderDates;
|
|
2490
2524
|
sliceRange(range: DateRange): DayGridRange[];
|
|
2491
2525
|
}
|
|
2492
2526
|
|
|
2493
2527
|
declare class ScrollListener {
|
|
2494
2528
|
el: HTMLElement;
|
|
2495
|
-
emitter: Emitter<
|
|
2529
|
+
emitter: Emitter<{
|
|
2530
|
+
scrollStart: () => void;
|
|
2531
|
+
scroll: (isUser: boolean) => void;
|
|
2532
|
+
scrollEnd: (isUser: boolean) => void;
|
|
2533
|
+
}>;
|
|
2496
2534
|
private wheelWaiter;
|
|
2497
2535
|
private scrollWaiter;
|
|
2498
2536
|
private isScroll;
|
|
@@ -2523,23 +2561,24 @@ interface ScrollerProps {
|
|
|
2523
2561
|
horizontal?: boolean;
|
|
2524
2562
|
hideScrollbars?: boolean;
|
|
2525
2563
|
children: ComponentChildren;
|
|
2526
|
-
className?: string;
|
|
2527
|
-
style?: Dictionary;
|
|
2528
2564
|
clientWidthRef?: Ref<number>;
|
|
2529
2565
|
clientHeightRef?: Ref<number>;
|
|
2530
|
-
endScrollbarWidthRef?: Ref<number>;
|
|
2531
2566
|
bottomScrollbarWidthRef?: Ref<number>;
|
|
2567
|
+
className?: string;
|
|
2568
|
+
style?: Dictionary;
|
|
2532
2569
|
}
|
|
2533
2570
|
declare class Scroller extends DateComponent<ScrollerProps> implements ScrollerInterface {
|
|
2534
2571
|
private el?;
|
|
2535
2572
|
listener: ScrollListener;
|
|
2536
|
-
private
|
|
2537
|
-
private
|
|
2538
|
-
private
|
|
2539
|
-
private
|
|
2540
|
-
private
|
|
2573
|
+
private disconnectHRuler?;
|
|
2574
|
+
private disconnectVRuler?;
|
|
2575
|
+
private clientWidth?;
|
|
2576
|
+
private clientHeight?;
|
|
2577
|
+
private bottomScrollbarWidth?;
|
|
2541
2578
|
render(): createElement.JSX.Element;
|
|
2542
2579
|
handleEl: (el: HTMLDivElement | null) => void;
|
|
2580
|
+
handleHRuler: (el: HTMLDivElement | null) => void;
|
|
2581
|
+
handleVRuler: (el: HTMLDivElement | null) => void;
|
|
2543
2582
|
endScroll(): void;
|
|
2544
2583
|
get x(): number;
|
|
2545
2584
|
get y(): number;
|
|
@@ -2547,19 +2586,13 @@ declare class Scroller extends DateComponent<ScrollerProps> implements ScrollerI
|
|
|
2547
2586
|
x?: number;
|
|
2548
2587
|
y?: number;
|
|
2549
2588
|
}): void;
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
y: number;
|
|
2558
|
-
isUser: boolean;
|
|
2559
|
-
}) => void): void;
|
|
2560
|
-
}
|
|
2561
|
-
declare function getNormalizedScrollX(el: HTMLElement, isRtl: boolean): number;
|
|
2562
|
-
declare function setNormalizedScrollX(el: HTMLElement, isRtl: boolean, x: number): void;
|
|
2589
|
+
addScrollStartListener(handler: () => void): void;
|
|
2590
|
+
removeScrollStartListener(handler: () => void): void;
|
|
2591
|
+
addScrollEndListener(handler: (isUser: boolean) => void): void;
|
|
2592
|
+
removeScrollEndListener(handler: (isUser: boolean) => void): void;
|
|
2593
|
+
}
|
|
2594
|
+
declare function getNormalizedScrollX(el: HTMLElement): number;
|
|
2595
|
+
declare function setNormalizedScrollX(el: HTMLElement, x: number): void;
|
|
2563
2596
|
|
|
2564
2597
|
interface SliceableProps {
|
|
2565
2598
|
dateSelection: DateSpan;
|
|
@@ -2619,24 +2652,28 @@ declare class DelayedRunner {
|
|
|
2619
2652
|
protected drained(): void;
|
|
2620
2653
|
}
|
|
2621
2654
|
|
|
2622
|
-
interface
|
|
2623
|
-
|
|
2624
|
-
|
|
2655
|
+
interface RulerProps {
|
|
2656
|
+
widthRef: Ref<number>;
|
|
2657
|
+
}
|
|
2658
|
+
declare class Ruler extends BaseComponent<RulerProps> {
|
|
2659
|
+
private elRef;
|
|
2660
|
+
private disconnectWidth?;
|
|
2661
|
+
render(): createElement.JSX.Element;
|
|
2662
|
+
componentDidMount(): void;
|
|
2663
|
+
componentWillUnmount(): void;
|
|
2625
2664
|
}
|
|
2626
|
-
declare function getScrollbarWidths(): ScrollbarWidths;
|
|
2627
2665
|
|
|
2628
2666
|
declare class RefMap<K, V> {
|
|
2629
2667
|
masterCallback?: (val: V, key: K) => void;
|
|
2668
|
+
private ignoreDeletes;
|
|
2630
2669
|
rev: string;
|
|
2631
2670
|
current: Map<K, V>;
|
|
2632
2671
|
private callbacks;
|
|
2633
|
-
constructor(masterCallback?: (val: V, key: K) => void);
|
|
2672
|
+
constructor(masterCallback?: (val: V, key: K) => void, ignoreDeletes?: boolean);
|
|
2634
2673
|
createRef(key: K): (val: V) => void;
|
|
2635
2674
|
handleValue: (val: V, key: K) => void;
|
|
2636
2675
|
}
|
|
2637
2676
|
|
|
2638
|
-
declare function getIsRtlScrollbarOnLeft(): boolean;
|
|
2639
|
-
|
|
2640
2677
|
interface NowTimerProps {
|
|
2641
2678
|
unit: string;
|
|
2642
2679
|
children: (now: DateMarker, todayRange: DateRange) => ComponentChildren;
|
|
@@ -2663,7 +2700,9 @@ declare class NowTimer extends Component<NowTimerProps, NowTimerState> {
|
|
|
2663
2700
|
|
|
2664
2701
|
interface StandardEventProps {
|
|
2665
2702
|
elRef?: ElRef;
|
|
2703
|
+
attrs?: any;
|
|
2666
2704
|
className?: string;
|
|
2705
|
+
display: 'list-item' | 'row' | 'column';
|
|
2667
2706
|
eventRange: EventRenderRange;
|
|
2668
2707
|
slicedStart?: DateMarker;
|
|
2669
2708
|
slicedEnd?: DateMarker;
|
|
@@ -2671,7 +2710,7 @@ interface StandardEventProps {
|
|
|
2671
2710
|
isEnd: boolean;
|
|
2672
2711
|
isDragging: boolean;
|
|
2673
2712
|
isResizing: boolean;
|
|
2674
|
-
|
|
2713
|
+
isMirror: boolean;
|
|
2675
2714
|
isSelected: boolean;
|
|
2676
2715
|
isPast: boolean;
|
|
2677
2716
|
isFuture: boolean;
|
|
@@ -2681,38 +2720,26 @@ interface StandardEventProps {
|
|
|
2681
2720
|
defaultTimeFormat: DateFormatter;
|
|
2682
2721
|
defaultDisplayEventTime?: boolean;
|
|
2683
2722
|
defaultDisplayEventEnd?: boolean;
|
|
2723
|
+
isNarrow?: boolean;
|
|
2724
|
+
isShort?: boolean;
|
|
2725
|
+
level?: number;
|
|
2726
|
+
forcedTimeText?: string;
|
|
2727
|
+
disableLiquid?: boolean;
|
|
2728
|
+
disableZindexes?: boolean;
|
|
2684
2729
|
}
|
|
2685
2730
|
declare class StandardEvent extends BaseComponent<StandardEventProps> {
|
|
2731
|
+
private buildPublicEvent;
|
|
2732
|
+
private el;
|
|
2686
2733
|
render(): createElement.JSX.Element;
|
|
2734
|
+
handleEl: (el: HTMLElement | null) => void;
|
|
2735
|
+
componentDidUpdate(prevProps: StandardEventProps): void;
|
|
2687
2736
|
}
|
|
2688
2737
|
|
|
2689
|
-
interface
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
slicedEnd?: DateMarker;
|
|
2693
|
-
isStart: boolean;
|
|
2694
|
-
isEnd: boolean;
|
|
2695
|
-
isDragging: boolean;
|
|
2696
|
-
isResizing: boolean;
|
|
2697
|
-
isDateSelecting: boolean;
|
|
2698
|
-
isSelected: boolean;
|
|
2699
|
-
isPast: boolean;
|
|
2700
|
-
isFuture: boolean;
|
|
2701
|
-
isToday: boolean;
|
|
2702
|
-
}
|
|
2703
|
-
type EventContainerProps = ElProps & MinimalEventProps & {
|
|
2704
|
-
defaultGenerator: (renderProps: EventContentArg) => ComponentChild;
|
|
2705
|
-
disableDragging?: boolean;
|
|
2706
|
-
disableResizing?: boolean;
|
|
2707
|
-
timeText: string;
|
|
2708
|
-
children?: InnerContainerFunc<EventContentArg>;
|
|
2709
|
-
};
|
|
2710
|
-
declare class EventContainer extends BaseComponent<EventContainerProps> {
|
|
2711
|
-
el: HTMLElement;
|
|
2712
|
-
render(): createElement.JSX.Element;
|
|
2713
|
-
handleEl: (el: HTMLElement | null) => void;
|
|
2714
|
-
componentDidUpdate(prevProps: EventContainerProps): void;
|
|
2738
|
+
interface NowIndicatorDotProps {
|
|
2739
|
+
className?: string;
|
|
2740
|
+
style?: any;
|
|
2715
2741
|
}
|
|
2742
|
+
declare const NowIndicatorDot: (props: NowIndicatorDotProps) => createElement.JSX.Element;
|
|
2716
2743
|
|
|
2717
2744
|
interface BgEventProps {
|
|
2718
2745
|
eventRange: EventRenderRange;
|
|
@@ -2721,20 +2748,26 @@ interface BgEventProps {
|
|
|
2721
2748
|
isPast: boolean;
|
|
2722
2749
|
isFuture: boolean;
|
|
2723
2750
|
isToday: boolean;
|
|
2751
|
+
isNarrow?: boolean;
|
|
2752
|
+
isShort?: boolean;
|
|
2753
|
+
isVertical: boolean;
|
|
2724
2754
|
}
|
|
2725
2755
|
declare class BgEvent extends BaseComponent<BgEventProps> {
|
|
2756
|
+
private buildPublicEvent;
|
|
2757
|
+
private el;
|
|
2726
2758
|
render(): createElement.JSX.Element;
|
|
2759
|
+
handleEl: (el: HTMLElement | null) => void;
|
|
2760
|
+
componentDidUpdate(prevProps: BgEventProps): void;
|
|
2727
2761
|
}
|
|
2728
|
-
declare function renderFill(fillType: string): createElement.JSX.Element;
|
|
2729
|
-
|
|
2730
|
-
declare function injectStyles(styleText: string): void;
|
|
2762
|
+
declare function renderFill(fillType: string, options: ViewOptionsRefined): createElement.JSX.Element;
|
|
2731
2763
|
|
|
2732
|
-
interface
|
|
2764
|
+
interface FooterScrollbarProps {
|
|
2765
|
+
isSticky?: boolean;
|
|
2733
2766
|
canvasWidth: CssDimValue;
|
|
2734
2767
|
scrollerRef?: Ref<Scroller>;
|
|
2735
2768
|
scrollbarWidthRef?: Ref<number>;
|
|
2736
2769
|
}
|
|
2737
|
-
declare class
|
|
2770
|
+
declare class FooterScrollbar extends BaseComponent<FooterScrollbarProps> {
|
|
2738
2771
|
rootElRef: preact.RefObject<HTMLDivElement>;
|
|
2739
2772
|
disconnectHeight?: () => void;
|
|
2740
2773
|
render(): createElement.JSX.Element;
|
|
@@ -2742,4 +2775,4 @@ declare class StickyFooterScrollbar extends BaseComponent<StickyFooterScrollbarP
|
|
|
2742
2775
|
componentWillUnmount(): void;
|
|
2743
2776
|
}
|
|
2744
2777
|
|
|
2745
|
-
export {
|
|
2778
|
+
export { DayHeaderData as $, AllowFunc as A, ButtonStateMap as B, CalendarImpl as C, DateSpanInput as D, EventSourceApi as E, NowIndicatorLineMountData as F, InlineWeekNumberMountData as G, WeekNumberHeaderData as H, InlineWeekNumberData as I, JsonRequestError as J, WeekNumberHeaderMountData as K, LocaleInput as L, DateTimeFormatPartWithWeek as M, NativeFormatterOptions as N, OverlapFunc as O, PluginDefInput as P, MoreLinkData$1 as Q, MoreLinkMountData as R, SpecificViewData as S, SlotLaneData as T, SlotLaneMountData as U, ViewApi as V, WillUnmountHandler as W, SlotHeaderData as X, SlotHeaderMountData as Y, AllDayHeaderData as Z, AllDayHeaderMountData as _, CalendarOptions as a, parseFieldSpecs as a$, DayHeaderMountData as a0, DayCellData as a1, DayCellMountData as a2, DayLaneData as a3, DayLaneMountData as a4, ViewDisplayData as a5, ViewMountData as a6, EventClickData as a7, EventHoveringData as a8, DateSelectData as a9, EventSegment as aA, MoreLinkAction as aB, MoreLinkSimpleAction as aC, MoreLinkHandler as aD, BaseOptions as aE, BaseOptionsRefined as aF, BASE_OPTION_DEFAULTS as aG, CalendarListenersRefined as aH, ViewOptionsRefined as aI, RawOptionsFromRefiners as aJ, RefinedOptionsFromRefiners as aK, Identity as aL, Dictionary as aM, identity as aN, refineProps as aO, EventDef as aP, EventDefHash as aQ, EventInstance as aR, EventInstanceHash as aS, createEventInstance as aT, EventRefined as aU, EventTuple as aV, EventRefiners as aW, parseEventDef as aX, refineEventDef as aY, parseBusinessHours as aZ, OrderSpec as a_, DateUnselectData as aa, ToolbarInput as ab, ButtonInput as ac, ButtonGroupData as ad, ButtonData as ae, ButtonMountData as af, ButtonDisplay as ag, ToolbarElementInput as ah, ToolbarSectionData as ai, ToolbarData as aj, EventDisplayData as ak, EventMountData as al, DatesSetData as am, EventAddData as an, EventChangeData as ao, EventDropData as ap, EventRemoveData as aq, CustomRenderingHandler as ar, CustomRenderingStore as as, DateSpanApi as at, DatePointApi as au, DateSelectionApi as av, ButtonState as aw, NavButtonState as ax, FormatterInput as ay, LocaleSingularArg as az, PluginDef as b, debounce as b$, compareByFieldSpecs as b0, flexibleCompare as b1, preventSelection as b2, allowSelection as b3, preventContextMenu as b4, allowContextMenu as b5, compareNumbers as b6, enableCursor as b7, disableCursor as b8, guid as b9, mergeCalendarOptions as bA, mergeViewOptionsMap as bB, getAppendableRoot as bC, computeElIsRtl as bD, applyStyle as bE, getEventTargetViaRoot as bF, getUniqueDomId as bG, joinArrayishClassNames as bH, fracToCssDim as bI, EventStore as bJ, createEmptyEventStore as bK, mergeEventStores as bL, getRelevantEvents as bM, eventTupleToStore as bN, EventUiHash as bO, EventUi as bP, combineEventUis as bQ, createEventUi as bR, SplittableProps as bS, Splitter as bT, getDateMeta as bU, DateMeta as bV, isDimsEqual as bW, watchSize as bX, watchWidth as bY, watchHeight as bZ, afterSize as b_, computeVisibleDayRange as ba, diffDates as bb, WEEKDAY_ONLY_FORMAT as bc, FULL_DATE_FORMAT as bd, findWeekdayText as be, findDayNumberText as bf, findMonthText as bg, removeExact as bh, isArraysEqual as bi, memoize as bj, memoizeObjArg as bk, Rect as bl, Point as bm, intersectRects as bn, pointInsideRect as bo, constrainPoint as bp, getRectCenter as bq, diffPoints as br, translateRect as bs, mapHash as bt, filterHash as bu, isPropsEqualShallow as bv, isPropsEqualWithMap as bw, joinFuncishClassNames as bx, mergeContentInjectors as by, mergeLifecycleCallbacks as bz, CalendarApi as c, buildEventRangeTimeText as c$, buildNavLinkAttrs as c0, buildDateStr as c1, preventDefault as c2, whenTransitionDone as c3, computeInnerRect as c4, computeEdges as c5, getClippingParents as c6, computeRect as c7, unpromisify as c8, Emitter as c9, binarySearch as cA, InteractionSettings as cB, InteractionSettingsStore as cC, Interaction as cD, interactionSettingsToStore as cE, interactionSettingsStore as cF, PointerDragEvent as cG, Hit as cH, dateSelectionJoinTransformer as cI, eventDragMutationMassager as cJ, EventDropTransformers as cK, ElementDragging as cL, config as cM, RecurringType as cN, DragMetaInput as cO, DragMeta as cP, parseDragMeta as cQ, ViewPropsTransformer as cR, Action as cS, CalendarContext as cT, CalendarContentProps as cU, CalendarRoot as cV, DaySeriesModel as cW, EventInteractionState as cX, sliceEventStore as cY, hasBgRendering as cZ, getElEventRange as c_, PositionCache as ca, ScrollController as cb, ElementScrollController as cc, WindowScrollController as cd, ViewContext as ce, ViewContextType as cf, EventSegUiInteractionState as cg, DateComponent as ch, CalendarData as ci, ViewProps as cj, DateProfile as ck, DateProfileGenerator as cl, computeMajorUnit as cm, isMajorUnit as cn, ViewSpec as co, DateSpan as cp, isDateSpansEqual as cq, EventSourceDef as cr, EventSourceRefined as cs, EventSourceOptions as ct, EventSourceOptionsRefined as cu, EventPlacement as cv, EventInsertion as cw, SegHierarchy as cx, SegGroup as cy, groupIntersectingSegs as cz, CalendarController as d, computeEarliestStart as d$, sortEventSegs as d0, getEventRangeMeta as d1, buildEventRangeKey as d2, getEventTagAndAttrs as d3, EventRangeProps as d4, getEventKey as d5, MinimalEventProps as d6, DayTableCell as d7, DayGridRange as d8, DayTableModel as d9, MountData as dA, StandardEvent as dB, StandardEventProps as dC, NowIndicatorHeaderContainer as dD, NowIndicatorLineContainer as dE, NowIndicatorDot as dF, renderFill as dG, BgEvent as dH, MoreLinkContainer as dI, ViewContainerProps as dJ, ViewContainer as dK, DatePointTransform as dL, DateSpanTransform as dM, triggerDateSelect as dN, getDefaultEventEnd as dO, EventImpl as dP, buildEventApis as dQ, ElProps as dR, buildElAttrs as dS, InnerContainerFunc as dT, ContentContainer as dU, renderText as dV, generateClassName as dW, CustomRendering as dX, CoordRange as dY, CoordSpan as dZ, SlicedCoordRange as d_, Scroller as da, getNormalizedScrollX as db, setNormalizedScrollX as dc, SlicedProps as dd, Slicer as de, EventMutation as df, applyMutationToEventStore as dg, Constraint as dh, isPropsValid as di, isInteractionValid as dj, isDateSelectionValid as dk, requestJson as dl, BaseComponent as dm, setRef as dn, DelayedRunner as dp, getStickyFooterScrollbar as dq, getStickyHeaderDates as dr, getIsHeightAuto as ds, getScrollerSyncerClass as dt, ScrollerInterface as du, ScrollerSyncerInterface as dv, Ruler as dw, RulerProps as dx, RefMap as dy, NowTimer as dz, EventApi as e, computeLatestEnd as e0, getCoordRangeEnd as e1, FooterScrollbar as e2, createFormatter as e3, EventRenderRange as f, CalendarListeners as g, ViewOptions as h, EventSourceInput as i, joinClassNames as j, EventSourceFunc as k, EventSourceFuncData as l, EventInput as m, EventInputTransformer as n, CssDimValue as o, BusinessHoursInput as p, ConstraintInput as q, ViewComponentType as r, sliceEvents as s, SpecificViewMountData as t, ClassNameGenerator as u, CustomContentGenerator as v, DidMountHandler as w, NowIndicatorHeaderData as x, NowIndicatorHeaderMountData as y, NowIndicatorLineData as z };
|