@fullcalendar/core 7.0.0-beta.4 → 7.0.0-beta.5
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} +5221 -5034
- package/{internal.cjs → cjs/internal.cjs} +24 -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} +714 -692
- package/{internal-common.js → esm/internal-common.js} +5194 -5011
- 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} +5164 -4848
- 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> {
|
|
854
|
+
}
|
|
855
|
+
interface EventSourceOptionsRefined extends RefinedOptionsFromRefiners<BuiltInEventSourceRefiners> {
|
|
1126
856
|
}
|
|
1127
|
-
type EventSourceInputObject = EventUiInput &
|
|
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,8 @@ interface ScrollerInterface {
|
|
|
1166
896
|
x?: number;
|
|
1167
897
|
y?: number;
|
|
1168
898
|
}): void;
|
|
1169
|
-
addScrollEndListener(handler: (
|
|
1170
|
-
|
|
1171
|
-
y: number;
|
|
1172
|
-
isUser: boolean;
|
|
1173
|
-
}) => void): void;
|
|
1174
|
-
removeScrollEndListener(handler: (arg: {
|
|
1175
|
-
x: number;
|
|
1176
|
-
y: number;
|
|
1177
|
-
isUser: boolean;
|
|
1178
|
-
}) => void): void;
|
|
899
|
+
addScrollEndListener(handler: (isUser: boolean) => void): void;
|
|
900
|
+
removeScrollEndListener(handler: (isUser: boolean) => void): void;
|
|
1179
901
|
}
|
|
1180
902
|
|
|
1181
903
|
interface ScrollerSyncerClass {
|
|
@@ -1210,9 +932,6 @@ interface PluginDefInput {
|
|
|
1210
932
|
eventDropTransformers?: EventDropTransformers[];
|
|
1211
933
|
componentInteractions?: InteractionClass[];
|
|
1212
934
|
calendarInteractions?: CalendarInteractionClass[];
|
|
1213
|
-
themeClasses?: {
|
|
1214
|
-
[themeSystemName: string]: ThemeClass;
|
|
1215
|
-
};
|
|
1216
935
|
eventSourceDefs?: EventSourceDef<any>[];
|
|
1217
936
|
cmdFormatter?: CmdFormatterFunc;
|
|
1218
937
|
recurringTypes?: RecurringType<any>[];
|
|
@@ -1223,6 +942,7 @@ interface PluginDefInput {
|
|
|
1223
942
|
scrollerSyncerClass?: ScrollerSyncerClass;
|
|
1224
943
|
listenerRefiners?: GenericListenerRefiners;
|
|
1225
944
|
optionRefiners?: GenericRefiners;
|
|
945
|
+
optionDefaults?: CalendarOptions;
|
|
1226
946
|
propSetHandlers?: {
|
|
1227
947
|
[propName: string]: (val: any, context: CalendarData) => void;
|
|
1228
948
|
};
|
|
@@ -1249,9 +969,6 @@ interface PluginHooks {
|
|
|
1249
969
|
eventDropTransformers: EventDropTransformers[];
|
|
1250
970
|
componentInteractions: InteractionClass[];
|
|
1251
971
|
calendarInteractions: CalendarInteractionClass[];
|
|
1252
|
-
themeClasses: {
|
|
1253
|
-
[themeSystemName: string]: ThemeClass;
|
|
1254
|
-
};
|
|
1255
972
|
eventSourceDefs: EventSourceDef<any>[];
|
|
1256
973
|
cmdFormatter?: CmdFormatterFunc;
|
|
1257
974
|
recurringTypes: RecurringType<any>[];
|
|
@@ -1262,6 +979,7 @@ interface PluginHooks {
|
|
|
1262
979
|
scrollerSyncerClass: ScrollerSyncerClass | null;
|
|
1263
980
|
listenerRefiners: GenericListenerRefiners;
|
|
1264
981
|
optionRefiners: GenericRefiners;
|
|
982
|
+
optionDefaults: CalendarOptions[];
|
|
1265
983
|
propSetHandlers: {
|
|
1266
984
|
[propName: string]: (val: any, context: CalendarData) => void;
|
|
1267
985
|
};
|
|
@@ -1381,12 +1099,10 @@ declare const EVENT_UI_REFINERS: {
|
|
|
1381
1099
|
constraint: Identity<any>;
|
|
1382
1100
|
overlap: Identity<boolean>;
|
|
1383
1101
|
allow: Identity<AllowFunc>;
|
|
1384
|
-
|
|
1385
|
-
|
|
1102
|
+
class: Identity<string>;
|
|
1103
|
+
className: Identity<string>;
|
|
1386
1104
|
color: StringConstructor;
|
|
1387
|
-
|
|
1388
|
-
borderColor: StringConstructor;
|
|
1389
|
-
textColor: StringConstructor;
|
|
1105
|
+
contrastColor: StringConstructor;
|
|
1390
1106
|
};
|
|
1391
1107
|
type BuiltInEventUiRefiners = typeof EVENT_UI_REFINERS;
|
|
1392
1108
|
interface EventUiRefiners extends BuiltInEventUiRefiners {
|
|
@@ -1400,10 +1116,9 @@ interface EventUi {
|
|
|
1400
1116
|
constraints: Constraint[];
|
|
1401
1117
|
overlap: boolean | null;
|
|
1402
1118
|
allows: AllowFunc[];
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
classNames: string[];
|
|
1119
|
+
color: string;
|
|
1120
|
+
contrastColor: string;
|
|
1121
|
+
className: string;
|
|
1407
1122
|
}
|
|
1408
1123
|
type EventUiHash = {
|
|
1409
1124
|
[defId: string]: EventUi;
|
|
@@ -1433,6 +1148,26 @@ type EventDefHash = {
|
|
|
1433
1148
|
[defId: string]: EventDef;
|
|
1434
1149
|
};
|
|
1435
1150
|
|
|
1151
|
+
declare function guid(): string;
|
|
1152
|
+
declare function disableCursor(): void;
|
|
1153
|
+
declare function enableCursor(): void;
|
|
1154
|
+
declare function preventSelection(el: HTMLElement): void;
|
|
1155
|
+
declare function allowSelection(el: HTMLElement): void;
|
|
1156
|
+
declare function preventContextMenu(el: HTMLElement): void;
|
|
1157
|
+
declare function allowContextMenu(el: HTMLElement): void;
|
|
1158
|
+
interface OrderSpec<Subject> {
|
|
1159
|
+
field?: string;
|
|
1160
|
+
order?: number;
|
|
1161
|
+
func?: FieldSpecInputFunc<Subject>;
|
|
1162
|
+
}
|
|
1163
|
+
type FieldSpecInput<Subject> = string | string[] | FieldSpecInputFunc<Subject> | FieldSpecInputFunc<Subject>[];
|
|
1164
|
+
type FieldSpecInputFunc<Subject> = (a: Subject, b: Subject) => number;
|
|
1165
|
+
declare function parseFieldSpecs<Subject>(input: FieldSpecInput<Subject>): OrderSpec<Subject>[];
|
|
1166
|
+
declare function compareByFieldSpecs<Subject>(obj0: Subject, obj1: Subject, fieldSpecs: OrderSpec<Subject>[]): number;
|
|
1167
|
+
declare function flexibleCompare(a: any, b: any): number;
|
|
1168
|
+
declare function compareNumbers(a: any, b: any): number;
|
|
1169
|
+
declare function valuesIdentical<T>(a: T, b: T): boolean;
|
|
1170
|
+
|
|
1436
1171
|
interface EventRenderRange extends EventTuple {
|
|
1437
1172
|
ui: EventUi;
|
|
1438
1173
|
range: DateRange;
|
|
@@ -1450,12 +1185,25 @@ declare function sliceEventStore(eventStore: EventStore, eventUiBases: EventUiHa
|
|
|
1450
1185
|
declare function hasBgRendering(def: EventDef): boolean;
|
|
1451
1186
|
declare function getElEventRange(el: HTMLElement): EventRenderRange | null;
|
|
1452
1187
|
declare function sortEventSegs<S extends EventRangeProps>(segs: S[], eventOrderSpecs: OrderSpec<EventImpl>[]): S[];
|
|
1453
|
-
interface
|
|
1188
|
+
interface MinimalEventProps {
|
|
1189
|
+
eventRange: EventRenderRange;
|
|
1190
|
+
slicedStart?: DateMarker;
|
|
1191
|
+
slicedEnd?: DateMarker;
|
|
1192
|
+
isStart: boolean;
|
|
1193
|
+
isEnd: boolean;
|
|
1194
|
+
isDragging: boolean;
|
|
1195
|
+
isResizing: boolean;
|
|
1196
|
+
isMirror: boolean;
|
|
1197
|
+
isSelected: boolean;
|
|
1198
|
+
isPast: boolean;
|
|
1199
|
+
isFuture: boolean;
|
|
1200
|
+
isToday: boolean;
|
|
1201
|
+
}
|
|
1202
|
+
interface EventDisplayData {
|
|
1454
1203
|
event: EventImpl;
|
|
1455
1204
|
timeText: string;
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
textColor: string;
|
|
1205
|
+
color: string;
|
|
1206
|
+
contrastColor: string;
|
|
1459
1207
|
isDraggable: boolean;
|
|
1460
1208
|
isStartResizable: boolean;
|
|
1461
1209
|
isEndResizable: boolean;
|
|
@@ -1468,9 +1216,18 @@ interface EventContentArg {
|
|
|
1468
1216
|
isSelected: boolean;
|
|
1469
1217
|
isDragging: boolean;
|
|
1470
1218
|
isResizing: boolean;
|
|
1219
|
+
isInteractive: boolean;
|
|
1471
1220
|
view: ViewApi;
|
|
1221
|
+
isNarrow: boolean;
|
|
1222
|
+
isShort: boolean;
|
|
1223
|
+
level: number;
|
|
1224
|
+
timeClass: string;
|
|
1225
|
+
titleClass: string;
|
|
1226
|
+
options: {
|
|
1227
|
+
eventOverlap: boolean;
|
|
1228
|
+
};
|
|
1472
1229
|
}
|
|
1473
|
-
type
|
|
1230
|
+
type EventMountData = MountData<EventDisplayData>;
|
|
1474
1231
|
declare function buildEventRangeTimeText(timeFormat: DateFormatter, eventRange: EventRenderRange, // timed/whole-day span
|
|
1475
1232
|
slicedStart: DateMarker | undefined, // view-sliced timed/whole-day span
|
|
1476
1233
|
slicedEnd: DateMarker | undefined, // view-sliced timed/whole-day span
|
|
@@ -1483,7 +1240,8 @@ declare function getEventRangeMeta(eventRange: EventRenderRange, todayRange: Dat
|
|
|
1483
1240
|
declare function buildEventRangeKey(eventRange: EventRenderRange): string;
|
|
1484
1241
|
declare function getEventTagAndAttrs(eventRange: EventRenderRange, context: ViewContext): [
|
|
1485
1242
|
tag: string,
|
|
1486
|
-
attrs: any
|
|
1243
|
+
attrs: any,
|
|
1244
|
+
isInteractive: boolean
|
|
1487
1245
|
];
|
|
1488
1246
|
|
|
1489
1247
|
interface OpenDateSpanInput {
|
|
@@ -1526,16 +1284,16 @@ declare function isDateSpansEqual(span0: DateSpan, span1: DateSpan): boolean;
|
|
|
1526
1284
|
type CssDimValue = string | number;
|
|
1527
1285
|
declare function getIsHeightAuto(options: {
|
|
1528
1286
|
height?: CssDimValue;
|
|
1529
|
-
|
|
1287
|
+
contentHeight?: CssDimValue;
|
|
1530
1288
|
}): boolean;
|
|
1531
1289
|
declare function getStickyHeaderDates(options: {
|
|
1532
1290
|
height?: CssDimValue;
|
|
1533
|
-
|
|
1291
|
+
contentHeight?: CssDimValue;
|
|
1534
1292
|
stickyHeaderDates?: boolean | 'auto';
|
|
1535
1293
|
}): boolean;
|
|
1536
1294
|
declare function getStickyFooterScrollbar(options: {
|
|
1537
1295
|
height?: CssDimValue;
|
|
1538
|
-
|
|
1296
|
+
contentHeight?: CssDimValue;
|
|
1539
1297
|
stickyFooterScrollbar?: boolean | 'auto';
|
|
1540
1298
|
}): boolean;
|
|
1541
1299
|
declare function getScrollerSyncerClass(pluginHooks: {
|
|
@@ -1568,11 +1326,11 @@ declare function buildElAttrs(props: ElAttrsProps, className?: string, elRef?: E
|
|
|
1568
1326
|
|
|
1569
1327
|
type ContentContainerProps<RenderProps> = ElAttrsProps & ContentGeneratorProps<RenderProps> & {
|
|
1570
1328
|
tag?: string;
|
|
1571
|
-
classNameGenerator
|
|
1572
|
-
didMount
|
|
1329
|
+
classNameGenerator?: ClassNameGenerator<RenderProps> | undefined;
|
|
1330
|
+
didMount?: ((renderProps: RenderProps & {
|
|
1573
1331
|
el: HTMLElement;
|
|
1574
1332
|
}) => void) | undefined;
|
|
1575
|
-
willUnmount
|
|
1333
|
+
willUnmount?: ((renderProps: RenderProps & {
|
|
1576
1334
|
el: HTMLElement;
|
|
1577
1335
|
}) => void) | undefined;
|
|
1578
1336
|
children?: InnerContainerFunc<RenderProps>;
|
|
@@ -1584,41 +1342,63 @@ declare class ContentContainer<RenderProps> extends Component<ContentContainerPr
|
|
|
1584
1342
|
el: HTMLElement;
|
|
1585
1343
|
InnerContent: any;
|
|
1586
1344
|
render(): ComponentChildren;
|
|
1587
|
-
handleEl: (el: HTMLElement) => void;
|
|
1345
|
+
handleEl: (el: HTMLElement | null) => void;
|
|
1588
1346
|
componentDidMount(): void;
|
|
1589
1347
|
componentWillUnmount(): void;
|
|
1590
1348
|
}
|
|
1591
1349
|
type InnerContainerComponent = FunctionalComponent<ElProps>;
|
|
1592
1350
|
type InnerContainerFunc<RenderProps> = (InnerContainer: InnerContainerComponent, renderProps: RenderProps, attrs: ElAttrs) => ComponentChildren;
|
|
1351
|
+
declare function generateClassName<RenderProps>(classNameGenerator: ClassNameGenerator<RenderProps> | undefined, renderProps: RenderProps): string;
|
|
1593
1352
|
declare function renderText(renderProps: {
|
|
1594
1353
|
text: string;
|
|
1595
1354
|
}): ComponentChild;
|
|
1596
1355
|
|
|
1597
|
-
interface
|
|
1598
|
-
isAxis: boolean;
|
|
1356
|
+
interface NowIndicatorHeaderContainerProps extends Partial<ElProps> {
|
|
1599
1357
|
date: DateMarker;
|
|
1600
|
-
children?: InnerContainerFunc<
|
|
1358
|
+
children?: InnerContainerFunc<NowIndicatorHeaderData>;
|
|
1601
1359
|
}
|
|
1602
|
-
interface
|
|
1603
|
-
isAxis: boolean;
|
|
1360
|
+
interface NowIndicatorHeaderData {
|
|
1604
1361
|
date: Date;
|
|
1605
1362
|
view: ViewApi;
|
|
1606
1363
|
}
|
|
1607
|
-
type
|
|
1608
|
-
declare const
|
|
1364
|
+
type NowIndicatorHeaderMountData = MountData<NowIndicatorHeaderData>;
|
|
1365
|
+
declare const NowIndicatorHeaderContainer: (props: NowIndicatorHeaderContainerProps) => createElement.JSX.Element;
|
|
1609
1366
|
|
|
1610
|
-
interface
|
|
1367
|
+
interface NowIndicatorLineContainerProps extends Partial<ElProps> {
|
|
1611
1368
|
date: DateMarker;
|
|
1612
|
-
|
|
1613
|
-
children?: InnerContainerFunc<WeekNumberContentArg>;
|
|
1369
|
+
children?: InnerContainerFunc<NowIndicatorLineData>;
|
|
1614
1370
|
}
|
|
1615
|
-
interface
|
|
1616
|
-
|
|
1371
|
+
interface NowIndicatorLineData {
|
|
1372
|
+
date: Date;
|
|
1373
|
+
view: ViewApi;
|
|
1374
|
+
}
|
|
1375
|
+
type NowIndicatorLineMountData = MountData<NowIndicatorLineData>;
|
|
1376
|
+
declare const NowIndicatorLineContainer: (props: NowIndicatorLineContainerProps) => createElement.JSX.Element;
|
|
1377
|
+
|
|
1378
|
+
type DateTimeFormatPartWithWeek = Omit<Intl.DateTimeFormatPart, 'type'> & {
|
|
1379
|
+
type: Intl.DateTimeFormatPart['type'] | 'week';
|
|
1380
|
+
};
|
|
1381
|
+
interface WeekNumberHeaderData {
|
|
1382
|
+
num?: number;
|
|
1383
|
+
date?: Date;
|
|
1617
1384
|
text: string;
|
|
1385
|
+
textParts: DateTimeFormatPartWithWeek[];
|
|
1386
|
+
isNarrow: boolean;
|
|
1387
|
+
hasNavLink: boolean;
|
|
1388
|
+
options: {
|
|
1389
|
+
dayMinWidth: number | undefined;
|
|
1390
|
+
};
|
|
1391
|
+
}
|
|
1392
|
+
type WeekNumberHeaderMountData = MountData<WeekNumberHeaderData>;
|
|
1393
|
+
interface InlineWeekNumberData {
|
|
1394
|
+
num: number;
|
|
1618
1395
|
date: Date;
|
|
1396
|
+
text: string;
|
|
1397
|
+
textParts: DateTimeFormatPartWithWeek[];
|
|
1398
|
+
isNarrow: boolean;
|
|
1399
|
+
hasNavLink: boolean;
|
|
1619
1400
|
}
|
|
1620
|
-
type
|
|
1621
|
-
declare const WeekNumberContainer: (props: WeekNumberContainerProps) => createElement.JSX.Element;
|
|
1401
|
+
type InlineWeekNumberMountData = MountData<InlineWeekNumberData>;
|
|
1622
1402
|
|
|
1623
1403
|
interface MoreLinkContainerProps extends Partial<ElAttrsProps> {
|
|
1624
1404
|
dateProfile: DateProfile;
|
|
@@ -1631,32 +1411,31 @@ interface MoreLinkContainerProps extends Partial<ElAttrsProps> {
|
|
|
1631
1411
|
alignParentTop?: string;
|
|
1632
1412
|
forceTimed?: boolean;
|
|
1633
1413
|
popoverContent: () => ComponentChild;
|
|
1634
|
-
|
|
1635
|
-
|
|
1414
|
+
isNarrow: boolean;
|
|
1415
|
+
isMicro: boolean;
|
|
1416
|
+
display: 'row' | 'column';
|
|
1636
1417
|
}
|
|
1637
|
-
interface
|
|
1418
|
+
interface MoreLinkData$1 {
|
|
1638
1419
|
num: number;
|
|
1420
|
+
numericText: string;
|
|
1421
|
+
longText: string;
|
|
1639
1422
|
text: string;
|
|
1640
|
-
|
|
1423
|
+
isNarrow: boolean;
|
|
1641
1424
|
view: ViewApi;
|
|
1642
1425
|
}
|
|
1643
|
-
type
|
|
1426
|
+
type MoreLinkMountData = MountData<MoreLinkData$1>;
|
|
1644
1427
|
interface MoreLinkContainerState {
|
|
1645
1428
|
isPopoverOpen: boolean;
|
|
1646
1429
|
popoverId: string;
|
|
1647
1430
|
}
|
|
1648
1431
|
declare class MoreLinkContainer extends BaseComponent<MoreLinkContainerProps, MoreLinkContainerState> {
|
|
1649
1432
|
private linkEl;
|
|
1650
|
-
private parentEl;
|
|
1651
1433
|
state: {
|
|
1652
1434
|
isPopoverOpen: boolean;
|
|
1653
1435
|
popoverId: string;
|
|
1654
1436
|
};
|
|
1655
1437
|
render(): createElement.JSX.Element;
|
|
1656
|
-
componentDidMount(): void;
|
|
1657
|
-
componentDidUpdate(): void;
|
|
1658
1438
|
handleLinkEl: (linkEl: HTMLElement | null) => void;
|
|
1659
|
-
updateParentEl(): void;
|
|
1660
1439
|
handleClick: (ev: MouseEvent) => void;
|
|
1661
1440
|
handlePopoverClose: () => void;
|
|
1662
1441
|
}
|
|
@@ -1670,7 +1449,7 @@ interface EventSegment {
|
|
|
1670
1449
|
}
|
|
1671
1450
|
type MoreLinkAction = MoreLinkSimpleAction | MoreLinkHandler;
|
|
1672
1451
|
type MoreLinkSimpleAction = 'popover' | 'week' | 'day' | 'timeGridWeek' | 'timeGridDay' | string;
|
|
1673
|
-
interface
|
|
1452
|
+
interface MoreLinkData {
|
|
1674
1453
|
date: Date;
|
|
1675
1454
|
allDay: boolean;
|
|
1676
1455
|
allSegs: EventSegment[];
|
|
@@ -1678,128 +1457,137 @@ interface MoreLinkArg {
|
|
|
1678
1457
|
jsEvent: UIEvent;
|
|
1679
1458
|
view: ViewApi;
|
|
1680
1459
|
}
|
|
1681
|
-
type MoreLinkHandler = (
|
|
1460
|
+
type MoreLinkHandler = (data: MoreLinkData) => MoreLinkSimpleAction | void;
|
|
1682
1461
|
|
|
1683
1462
|
interface DateMeta {
|
|
1684
1463
|
dow: number;
|
|
1464
|
+
date: Date;
|
|
1685
1465
|
isDisabled: boolean;
|
|
1686
1466
|
isOther: boolean;
|
|
1687
1467
|
isToday: boolean;
|
|
1688
1468
|
isPast: boolean;
|
|
1689
1469
|
isFuture: boolean;
|
|
1690
1470
|
}
|
|
1691
|
-
declare function getDateMeta(
|
|
1692
|
-
declare function getDayClassName(meta: DateMeta): string;
|
|
1693
|
-
declare function getSlotClassName(meta: DateMeta): string;
|
|
1471
|
+
declare function getDateMeta(dateMarker: DateMarker, dateEnv: DateEnv, dateProfile?: DateProfile, todayRange?: DateRange, nowDate?: DateMarker): DateMeta;
|
|
1694
1472
|
|
|
1695
|
-
interface
|
|
1473
|
+
interface SlotLaneData extends DateMeta {
|
|
1696
1474
|
time?: Duration;
|
|
1697
|
-
|
|
1475
|
+
isMajor: boolean;
|
|
1476
|
+
isMinor: boolean;
|
|
1698
1477
|
view: ViewApi;
|
|
1699
1478
|
}
|
|
1700
|
-
type
|
|
1701
|
-
interface
|
|
1479
|
+
type SlotLaneMountData = MountData<SlotLaneData>;
|
|
1480
|
+
interface SlotHeaderData extends SlotLaneData {
|
|
1702
1481
|
level: number;
|
|
1703
|
-
|
|
1704
|
-
date: Date;
|
|
1705
|
-
view: ViewApi;
|
|
1482
|
+
isTime: boolean;
|
|
1706
1483
|
text: string;
|
|
1484
|
+
isNarrow: boolean;
|
|
1485
|
+
hasNavLink: boolean;
|
|
1486
|
+
isFirst: boolean;
|
|
1707
1487
|
}
|
|
1708
|
-
type
|
|
1709
|
-
interface
|
|
1488
|
+
type SlotHeaderMountData = MountData<SlotHeaderData>;
|
|
1489
|
+
interface AllDayHeaderData {
|
|
1710
1490
|
text: string;
|
|
1711
1491
|
view: ViewApi;
|
|
1492
|
+
isNarrow: boolean;
|
|
1712
1493
|
}
|
|
1713
|
-
type
|
|
1714
|
-
interface
|
|
1494
|
+
type AllDayHeaderMountData = MountData<AllDayHeaderData>;
|
|
1495
|
+
interface DayHeaderData extends DateMeta {
|
|
1715
1496
|
date: Date;
|
|
1497
|
+
isNarrow: boolean;
|
|
1498
|
+
isMajor: boolean;
|
|
1499
|
+
inPopover: boolean;
|
|
1500
|
+
hasNavLink: boolean;
|
|
1501
|
+
level: number;
|
|
1716
1502
|
text: string;
|
|
1503
|
+
textParts: Intl.DateTimeFormatPart[];
|
|
1504
|
+
weekdayText: string;
|
|
1505
|
+
dayNumberText: string;
|
|
1717
1506
|
view: ViewApi;
|
|
1718
1507
|
[otherProp: string]: any;
|
|
1719
1508
|
}
|
|
1720
|
-
type
|
|
1721
|
-
|
|
1722
|
-
interface DayCellContentArg extends DateMeta {
|
|
1509
|
+
type DayHeaderMountData = MountData<DayHeaderData>;
|
|
1510
|
+
interface DayCellData extends DateMeta {
|
|
1723
1511
|
date: DateMarker;
|
|
1512
|
+
isMajor: boolean;
|
|
1513
|
+
isNarrow: boolean;
|
|
1514
|
+
inPopover: boolean;
|
|
1515
|
+
hasNavLink: boolean;
|
|
1724
1516
|
view: ViewApi;
|
|
1517
|
+
text: string;
|
|
1518
|
+
textParts: Intl.DateTimeFormatPart[];
|
|
1725
1519
|
dayNumberText: string;
|
|
1520
|
+
monthText: string;
|
|
1521
|
+
options: {
|
|
1522
|
+
businessHours: boolean;
|
|
1523
|
+
};
|
|
1726
1524
|
[extraProp: string]: any;
|
|
1727
1525
|
}
|
|
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 {
|
|
1526
|
+
type DayCellMountData = MountData<DayCellData>;
|
|
1527
|
+
|
|
1528
|
+
interface DayLaneData extends DateMeta {
|
|
1744
1529
|
date: DateMarker;
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
showDayNumber?: boolean;
|
|
1751
|
-
renderProps?: Dictionary;
|
|
1530
|
+
isNarrow: boolean;
|
|
1531
|
+
isStack: boolean;
|
|
1532
|
+
isMajor: boolean;
|
|
1533
|
+
view: ViewApi;
|
|
1534
|
+
[extraProp: string]: any;
|
|
1752
1535
|
}
|
|
1536
|
+
type DayLaneMountData = MountData<DayLaneData>;
|
|
1753
1537
|
|
|
1754
1538
|
interface ViewContainerProps extends Partial<ElProps> {
|
|
1755
1539
|
viewSpec: ViewSpec;
|
|
1756
1540
|
attrs?: any;
|
|
1757
1541
|
children: ComponentChildren;
|
|
1542
|
+
borderlessX: boolean;
|
|
1543
|
+
borderlessTop: boolean;
|
|
1544
|
+
borderlessBottom: boolean;
|
|
1545
|
+
noEdgeEffects: boolean;
|
|
1758
1546
|
}
|
|
1759
|
-
interface
|
|
1547
|
+
interface ViewDisplayData {
|
|
1760
1548
|
view: ViewApi;
|
|
1761
1549
|
}
|
|
1762
|
-
type
|
|
1550
|
+
type ViewMountData = MountData<ViewDisplayData>;
|
|
1763
1551
|
declare class ViewContainer extends BaseComponent<ViewContainerProps> {
|
|
1764
1552
|
render(): createElement.JSX.Element;
|
|
1765
1553
|
}
|
|
1766
1554
|
|
|
1767
|
-
interface
|
|
1555
|
+
interface EventClickData {
|
|
1768
1556
|
el: HTMLElement;
|
|
1769
1557
|
event: EventImpl;
|
|
1770
1558
|
jsEvent: MouseEvent;
|
|
1771
1559
|
view: ViewApi;
|
|
1772
1560
|
}
|
|
1773
1561
|
|
|
1774
|
-
interface
|
|
1562
|
+
interface EventHoveringData {
|
|
1775
1563
|
el: HTMLElement;
|
|
1776
1564
|
event: EventImpl;
|
|
1777
1565
|
jsEvent: MouseEvent;
|
|
1778
1566
|
view: ViewApi;
|
|
1779
1567
|
}
|
|
1780
1568
|
|
|
1781
|
-
type
|
|
1569
|
+
type DatesSetData = RangeApiWithTimeZone & {
|
|
1782
1570
|
view: ViewApi;
|
|
1783
1571
|
};
|
|
1784
1572
|
|
|
1785
|
-
interface
|
|
1573
|
+
interface EventAddData {
|
|
1786
1574
|
event: EventImpl;
|
|
1787
1575
|
relatedEvents: EventImpl[];
|
|
1788
1576
|
revert: () => void;
|
|
1789
1577
|
}
|
|
1790
|
-
interface
|
|
1578
|
+
interface EventChangeData {
|
|
1791
1579
|
oldEvent: EventImpl;
|
|
1792
1580
|
event: EventImpl;
|
|
1793
1581
|
relatedEvents: EventImpl[];
|
|
1794
1582
|
revert: () => void;
|
|
1795
1583
|
}
|
|
1796
|
-
interface
|
|
1584
|
+
interface EventDropData extends EventChangeData {
|
|
1797
1585
|
el: HTMLElement;
|
|
1798
1586
|
delta: Duration;
|
|
1799
1587
|
jsEvent: MouseEvent;
|
|
1800
1588
|
view: ViewApi$1;
|
|
1801
1589
|
}
|
|
1802
|
-
interface
|
|
1590
|
+
interface EventRemoveData {
|
|
1803
1591
|
event: EventImpl;
|
|
1804
1592
|
relatedEvents: EventImpl[];
|
|
1805
1593
|
revert: () => void;
|
|
@@ -1827,6 +1615,22 @@ declare class CustomRenderingStore<RenderProps> extends Store<Map<string, Custom
|
|
|
1827
1615
|
handle(customRendering: CustomRendering<RenderProps>): void;
|
|
1828
1616
|
}
|
|
1829
1617
|
|
|
1618
|
+
interface ButtonState {
|
|
1619
|
+
text: string;
|
|
1620
|
+
hint: string;
|
|
1621
|
+
}
|
|
1622
|
+
interface NavButtonState extends ButtonState {
|
|
1623
|
+
isDisabled: boolean;
|
|
1624
|
+
}
|
|
1625
|
+
interface ButtonStateMap {
|
|
1626
|
+
today: NavButtonState;
|
|
1627
|
+
prev: NavButtonState;
|
|
1628
|
+
next: NavButtonState;
|
|
1629
|
+
prevYear: NavButtonState;
|
|
1630
|
+
nextYear: NavButtonState;
|
|
1631
|
+
[availableView: string]: ButtonState;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1830
1634
|
interface EventApi {
|
|
1831
1635
|
source: EventSourceApi | null;
|
|
1832
1636
|
start: Date | null;
|
|
@@ -1844,10 +1648,9 @@ interface EventApi {
|
|
|
1844
1648
|
constraint: any;
|
|
1845
1649
|
overlap: boolean;
|
|
1846
1650
|
allow: any;
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
classNames: string[];
|
|
1651
|
+
color: string;
|
|
1652
|
+
contrastColor: string;
|
|
1653
|
+
className: string;
|
|
1851
1654
|
extendedProps: Dictionary;
|
|
1852
1655
|
setProp(name: string, val: any): void;
|
|
1853
1656
|
setExtendedProp(name: string, val: any): void;
|
|
@@ -1872,7 +1675,6 @@ interface EventApi {
|
|
|
1872
1675
|
remove(): void;
|
|
1873
1676
|
toPlainObject(settings?: {
|
|
1874
1677
|
collapseExtendedProps?: boolean;
|
|
1875
|
-
collapseColor?: boolean;
|
|
1876
1678
|
}): Dictionary;
|
|
1877
1679
|
toJSON(): Dictionary;
|
|
1878
1680
|
}
|
|
@@ -1913,15 +1715,64 @@ interface CalendarApi {
|
|
|
1913
1715
|
scrollToTime(timeInput: DurationInput): void;
|
|
1914
1716
|
}
|
|
1915
1717
|
|
|
1718
|
+
declare class CalendarController {
|
|
1719
|
+
private handleDateChange;
|
|
1720
|
+
private calendarApi?;
|
|
1721
|
+
constructor(handleDateChange: () => void);
|
|
1722
|
+
today(): void;
|
|
1723
|
+
prev(): void;
|
|
1724
|
+
next(): void;
|
|
1725
|
+
prevYear(): void;
|
|
1726
|
+
nextYear(): void;
|
|
1727
|
+
gotoDate(zonedDateInput: DateInput): void;
|
|
1728
|
+
incrementDate(duration: DurationInput): void;
|
|
1729
|
+
changeView(viewType: string): void;
|
|
1730
|
+
get view(): ViewApi | undefined;
|
|
1731
|
+
getDate(): Date | undefined;
|
|
1732
|
+
getButtonState(): ButtonStateMap;
|
|
1733
|
+
_setApi(calendarApi: CalendarApi | undefined): void;
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
type TableHeaderData = {
|
|
1737
|
+
isSticky: boolean;
|
|
1738
|
+
};
|
|
1739
|
+
|
|
1916
1740
|
declare const BASE_OPTION_REFINERS: {
|
|
1917
1741
|
navLinkDayClick: Identity<string | ((this: CalendarApi, date: Date, jsEvent: UIEvent) => void)>;
|
|
1918
1742
|
navLinkWeekClick: Identity<string | ((this: CalendarApi, weekStart: Date, jsEvent: UIEvent) => void)>;
|
|
1919
1743
|
duration: typeof createDuration;
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1744
|
+
buttons: Identity<{
|
|
1745
|
+
[buttonName: string]: ButtonInput;
|
|
1746
|
+
today?: ButtonInput;
|
|
1747
|
+
prev?: ButtonInput;
|
|
1748
|
+
next?: ButtonInput;
|
|
1749
|
+
prevYear?: ButtonInput;
|
|
1750
|
+
nextYear?: ButtonInput;
|
|
1751
|
+
year?: ButtonInput;
|
|
1752
|
+
month?: ButtonInput;
|
|
1753
|
+
week?: ButtonInput;
|
|
1754
|
+
day?: ButtonInput;
|
|
1755
|
+
}>;
|
|
1756
|
+
toolbarElements: Identity<{
|
|
1757
|
+
[elementName: string]: ToolbarElementInput;
|
|
1924
1758
|
}>;
|
|
1759
|
+
prevText: StringConstructor;
|
|
1760
|
+
nextText: StringConstructor;
|
|
1761
|
+
prevYearText: StringConstructor;
|
|
1762
|
+
nextYearText: StringConstructor;
|
|
1763
|
+
todayText: StringConstructor;
|
|
1764
|
+
yearText: StringConstructor;
|
|
1765
|
+
monthText: StringConstructor;
|
|
1766
|
+
weekText: StringConstructor;
|
|
1767
|
+
weekTextShort: StringConstructor;
|
|
1768
|
+
dayText: StringConstructor;
|
|
1769
|
+
listText: Identity<string | false>;
|
|
1770
|
+
todayHint: Identity<string | ((currentUnitText: string, currentUnit: string) => string)>;
|
|
1771
|
+
prevHint: Identity<string | ((currentUnitText: string, currentUnit: string) => string)>;
|
|
1772
|
+
nextHint: Identity<string | ((currentUnitText: string, currentUnit: string) => string)>;
|
|
1773
|
+
buttonDisplay: Identity<ButtonDisplay>;
|
|
1774
|
+
buttonGroupClass: Identity<ClassNameGenerator<ButtonGroupData>>;
|
|
1775
|
+
buttonClass: Identity<ClassNameGenerator<ButtonData>>;
|
|
1925
1776
|
defaultAllDayEventDuration: typeof createDuration;
|
|
1926
1777
|
defaultTimedEventDuration: typeof createDuration;
|
|
1927
1778
|
nextDayThreshold: typeof createDuration;
|
|
@@ -1937,34 +1788,39 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
1937
1788
|
defaultRangeSeparator: StringConstructor;
|
|
1938
1789
|
titleRangeSeparator: StringConstructor;
|
|
1939
1790
|
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>>;
|
|
1791
|
+
dayLaneClass: Identity<ClassNameGenerator<DayLaneData>>;
|
|
1792
|
+
dayLaneInnerClass: Identity<ClassNameGenerator<DayLaneData>>;
|
|
1793
|
+
dayLaneDidMount: Identity<DidMountHandler<DayLaneMountData>>;
|
|
1794
|
+
dayLaneWillUnmount: Identity<WillUnmountHandler<DayLaneMountData>>;
|
|
1950
1795
|
initialView: StringConstructor;
|
|
1951
1796
|
aspectRatio: NumberConstructor;
|
|
1952
1797
|
weekends: BooleanConstructor;
|
|
1953
1798
|
weekNumberCalculation: Identity<WeekNumberCalculation>;
|
|
1954
1799
|
weekNumbers: BooleanConstructor;
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1800
|
+
weekNumberHeaderClass: Identity<ClassNameGenerator<WeekNumberHeaderData>>;
|
|
1801
|
+
weekNumberHeaderInnerClass: Identity<ClassNameGenerator<WeekNumberHeaderData>>;
|
|
1802
|
+
weekNumberHeaderContent: Identity<CustomContentGenerator<WeekNumberHeaderData>>;
|
|
1803
|
+
weekNumberHeaderDidMount: Identity<DidMountHandler<WeekNumberHeaderMountData>>;
|
|
1804
|
+
weekNumberHeaderWillUnmount: Identity<WillUnmountHandler<WeekNumberHeaderMountData>>;
|
|
1805
|
+
inlineWeekNumberClass: Identity<ClassNameGenerator<InlineWeekNumberData>>;
|
|
1806
|
+
inlineWeekNumberContent: Identity<CustomContentGenerator<InlineWeekNumberData>>;
|
|
1807
|
+
inlineWeekNumberDidMount: Identity<DidMountHandler<InlineWeekNumberMountData>>;
|
|
1808
|
+
inlineWeekNumberWillUnmount: Identity<WillUnmountHandler<InlineWeekNumberMountData>>;
|
|
1959
1809
|
editable: BooleanConstructor;
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1810
|
+
controller: Identity<CalendarController>;
|
|
1811
|
+
viewClass: Identity<ClassNameGenerator<ViewDisplayData>>;
|
|
1812
|
+
viewDidMount: Identity<DidMountHandler<ViewMountData>>;
|
|
1813
|
+
viewWillUnmount: Identity<WillUnmountHandler<ViewMountData>>;
|
|
1963
1814
|
nowIndicator: BooleanConstructor;
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1815
|
+
nowIndicatorHeaderClass: Identity<ClassNameGenerator<NowIndicatorHeaderData>>;
|
|
1816
|
+
nowIndicatorHeaderContent: Identity<CustomContentGenerator<NowIndicatorHeaderData>>;
|
|
1817
|
+
nowIndicatorHeaderDidMount: Identity<DidMountHandler<NowIndicatorHeaderMountData>>;
|
|
1818
|
+
nowIndicatorHeaderWillUnmount: Identity<WillUnmountHandler<NowIndicatorHeaderMountData>>;
|
|
1819
|
+
nowIndicatorDotClass: Identity<string>;
|
|
1820
|
+
nowIndicatorLineClass: Identity<ClassNameGenerator<NowIndicatorLineData>>;
|
|
1821
|
+
nowIndicatorLineContent: Identity<CustomContentGenerator<NowIndicatorLineData>>;
|
|
1822
|
+
nowIndicatorLineDidMount: Identity<DidMountHandler<NowIndicatorLineMountData>>;
|
|
1823
|
+
nowIndicatorLineWillUnmount: Identity<WillUnmountHandler<NowIndicatorLineMountData>>;
|
|
1968
1824
|
showNonCurrentDates: BooleanConstructor;
|
|
1969
1825
|
lazyFetching: BooleanConstructor;
|
|
1970
1826
|
startParam: StringConstructor;
|
|
@@ -1973,7 +1829,6 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
1973
1829
|
timeZone: StringConstructor;
|
|
1974
1830
|
locales: Identity<LocaleInput[]>;
|
|
1975
1831
|
locale: Identity<LocaleSingularArg>;
|
|
1976
|
-
themeSystem: Identity<string>;
|
|
1977
1832
|
dragRevertDuration: NumberConstructor;
|
|
1978
1833
|
dragScroll: BooleanConstructor;
|
|
1979
1834
|
allDayMaintainDuration: BooleanConstructor;
|
|
@@ -1992,8 +1847,6 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
1992
1847
|
eventResizableFromStart: BooleanConstructor;
|
|
1993
1848
|
displayEventTime: BooleanConstructor;
|
|
1994
1849
|
displayEventEnd: BooleanConstructor;
|
|
1995
|
-
weekText: StringConstructor;
|
|
1996
|
-
weekTextLong: StringConstructor;
|
|
1997
1850
|
progressiveEventRendering: BooleanConstructor;
|
|
1998
1851
|
businessHours: Identity<BusinessHoursInput>;
|
|
1999
1852
|
initialDate: Identity<DateInput>;
|
|
@@ -2001,7 +1854,6 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
2001
1854
|
eventDataTransform: Identity<EventInputTransformer>;
|
|
2002
1855
|
stickyHeaderDates: Identity<boolean | "auto">;
|
|
2003
1856
|
stickyFooterScrollbar: Identity<boolean | "auto">;
|
|
2004
|
-
viewHeight: Identity<CssDimValue>;
|
|
2005
1857
|
defaultAllDay: BooleanConstructor;
|
|
2006
1858
|
eventSourceFailure: Identity<(this: CalendarApi, error: any) => void>;
|
|
2007
1859
|
eventSourceSuccess: Identity<(this: CalendarApi, eventsInput: EventInput[], response?: Response) => EventInput[] | void>;
|
|
@@ -2011,37 +1863,158 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
2011
1863
|
eventOverlap: Identity<boolean | OverlapFunc>;
|
|
2012
1864
|
eventConstraint: Identity<ConstraintInput>;
|
|
2013
1865
|
eventAllow: Identity<AllowFunc>;
|
|
2014
|
-
eventBackgroundColor: StringConstructor;
|
|
2015
|
-
eventBorderColor: StringConstructor;
|
|
2016
|
-
eventTextColor: StringConstructor;
|
|
2017
1866
|
eventColor: StringConstructor;
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
1867
|
+
eventContrastColor: StringConstructor;
|
|
1868
|
+
eventDidMount: Identity<DidMountHandler<EventMountData>>;
|
|
1869
|
+
eventWillUnmount: Identity<WillUnmountHandler<EventMountData>>;
|
|
1870
|
+
eventContent: Identity<CustomContentGenerator<EventDisplayData>>;
|
|
1871
|
+
backgroundEventColor: StringConstructor;
|
|
1872
|
+
eventClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1873
|
+
eventInnerClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1874
|
+
eventTimeClass: Identity<ClassNameGenerator<{
|
|
1875
|
+
event: EventApi;
|
|
1876
|
+
isNarrow: boolean;
|
|
1877
|
+
isShort: boolean;
|
|
1878
|
+
}>>;
|
|
1879
|
+
eventTitleClass: Identity<ClassNameGenerator<{
|
|
1880
|
+
event: EventApi;
|
|
1881
|
+
isNarrow: boolean;
|
|
1882
|
+
isShort: boolean;
|
|
1883
|
+
}>>;
|
|
1884
|
+
eventBeforeClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1885
|
+
eventAfterClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1886
|
+
listItemEventClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1887
|
+
listItemEventInnerClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1888
|
+
listItemEventTimeClass: Identity<ClassNameGenerator<{
|
|
1889
|
+
event: EventApi;
|
|
1890
|
+
isNarrow: boolean;
|
|
1891
|
+
isShort: boolean;
|
|
1892
|
+
}>>;
|
|
1893
|
+
listItemEventTitleClass: Identity<ClassNameGenerator<{
|
|
1894
|
+
event: EventApi;
|
|
1895
|
+
isNarrow: boolean;
|
|
1896
|
+
isShort: boolean;
|
|
1897
|
+
timeText: string;
|
|
1898
|
+
}>>;
|
|
1899
|
+
listItemEventBeforeClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1900
|
+
listItemEventAfterClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1901
|
+
blockEventClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1902
|
+
blockEventInnerClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1903
|
+
blockEventTimeClass: Identity<ClassNameGenerator<{
|
|
1904
|
+
event: EventApi;
|
|
1905
|
+
isNarrow: boolean;
|
|
1906
|
+
isShort: boolean;
|
|
1907
|
+
}>>;
|
|
1908
|
+
blockEventTitleClass: Identity<ClassNameGenerator<{
|
|
1909
|
+
event: EventApi;
|
|
1910
|
+
isNarrow: boolean;
|
|
1911
|
+
isShort: boolean;
|
|
1912
|
+
}>>;
|
|
1913
|
+
blockEventBeforeClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1914
|
+
blockEventAfterClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1915
|
+
rowEventClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1916
|
+
rowEventInnerClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1917
|
+
rowEventTimeClass: Identity<ClassNameGenerator<{
|
|
1918
|
+
event: EventApi;
|
|
1919
|
+
isNarrow: boolean;
|
|
1920
|
+
isShort: boolean;
|
|
1921
|
+
}>>;
|
|
1922
|
+
rowEventTitleClass: Identity<ClassNameGenerator<{
|
|
1923
|
+
event: EventApi;
|
|
1924
|
+
isNarrow: boolean;
|
|
1925
|
+
isShort: boolean;
|
|
1926
|
+
}>>;
|
|
1927
|
+
rowEventTitleSticky: BooleanConstructor;
|
|
1928
|
+
rowEventBeforeClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1929
|
+
rowEventBeforeContent: Identity<CustomContentGenerator<EventDisplayData>>;
|
|
1930
|
+
rowEventAfterClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1931
|
+
rowEventAfterContent: Identity<CustomContentGenerator<EventDisplayData>>;
|
|
1932
|
+
columnEventClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1933
|
+
columnEventInnerClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1934
|
+
columnEventTimeClass: Identity<ClassNameGenerator<{
|
|
1935
|
+
event: EventApi;
|
|
1936
|
+
isNarrow: boolean;
|
|
1937
|
+
isShort: boolean;
|
|
1938
|
+
}>>;
|
|
1939
|
+
columnEventTitleClass: Identity<ClassNameGenerator<{
|
|
1940
|
+
event: EventApi;
|
|
1941
|
+
isNarrow: boolean;
|
|
1942
|
+
isShort: boolean;
|
|
1943
|
+
}>>;
|
|
1944
|
+
columnEventTitleSticky: BooleanConstructor;
|
|
1945
|
+
columnEventBeforeClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1946
|
+
columnEventAfterClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1947
|
+
backgroundEventClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1948
|
+
backgroundEventInnerClass: Identity<ClassNameGenerator<EventDisplayData>>;
|
|
1949
|
+
backgroundEventTitleClass: Identity<ClassNameGenerator<{
|
|
1950
|
+
event: EventApi;
|
|
1951
|
+
isNarrow: boolean;
|
|
1952
|
+
isShort: boolean;
|
|
1953
|
+
}>>;
|
|
2022
1954
|
selectConstraint: Identity<ConstraintInput>;
|
|
2023
1955
|
selectOverlap: Identity<boolean | OverlapFunc>;
|
|
2024
1956
|
selectAllow: Identity<AllowFunc>;
|
|
2025
1957
|
droppable: BooleanConstructor;
|
|
2026
1958
|
unselectCancel: StringConstructor;
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
1959
|
+
slotHeaderFormat: Identity<FormatterInput | FormatterInput[]>;
|
|
1960
|
+
slotLaneClass: Identity<ClassNameGenerator<SlotLaneData>>;
|
|
1961
|
+
slotLaneDidMount: Identity<DidMountHandler<SlotLaneMountData>>;
|
|
1962
|
+
slotLaneWillUnmount: Identity<WillUnmountHandler<SlotLaneMountData>>;
|
|
1963
|
+
slotHeaderClass: Identity<ClassNameGenerator<SlotHeaderData>>;
|
|
1964
|
+
slotHeaderInnerClass: Identity<ClassNameGenerator<SlotHeaderData>>;
|
|
1965
|
+
slotHeaderContent: Identity<CustomContentGenerator<SlotHeaderData>>;
|
|
1966
|
+
slotHeaderDidMount: Identity<DidMountHandler<SlotHeaderMountData>>;
|
|
1967
|
+
slotHeaderWillUnmount: Identity<WillUnmountHandler<SlotHeaderMountData>>;
|
|
1968
|
+
slotHeaderAlign: Identity<"start" | "end" | "center" | ((data: {
|
|
1969
|
+
level: number;
|
|
1970
|
+
isTime: boolean;
|
|
1971
|
+
}) => 'start' | 'center' | 'end')>;
|
|
1972
|
+
slotHeaderSticky: Identity<string | number | boolean>;
|
|
1973
|
+
slotHeaderRowClass: Identity<string>;
|
|
1974
|
+
slotHeaderDividerClass: Identity<ClassNameGenerator<{
|
|
1975
|
+
isHeader: boolean;
|
|
1976
|
+
options: {
|
|
1977
|
+
dayMinWidth: number | undefined;
|
|
1978
|
+
};
|
|
1979
|
+
}>>;
|
|
2036
1980
|
dayMaxEvents: Identity<number | boolean>;
|
|
2037
1981
|
dayMaxEventRows: Identity<number | boolean>;
|
|
2038
1982
|
dayMinWidth: NumberConstructor;
|
|
2039
|
-
|
|
1983
|
+
slotHeaderInterval: typeof createDuration;
|
|
1984
|
+
dayHeaderClass: Identity<ClassNameGenerator<DayHeaderData>>;
|
|
1985
|
+
dayHeaderInnerClass: Identity<ClassNameGenerator<DayHeaderData>>;
|
|
1986
|
+
dayHeaderContent: Identity<CustomContentGenerator<DayHeaderData>>;
|
|
1987
|
+
dayHeaderDidMount: Identity<DidMountHandler<DayHeaderMountData>>;
|
|
1988
|
+
dayHeaderWillUnmount: Identity<WillUnmountHandler<DayHeaderMountData>>;
|
|
1989
|
+
dayHeaderAlign: Identity<"start" | "end" | "center" | ((data: {
|
|
1990
|
+
level: number;
|
|
1991
|
+
inPopover: boolean;
|
|
1992
|
+
isNarrow: boolean;
|
|
1993
|
+
}) => 'start' | 'center' | 'end')>;
|
|
1994
|
+
dayHeaderSticky: Identity<string | number | boolean>;
|
|
1995
|
+
dayHeaderRowClass: Identity<string>;
|
|
1996
|
+
dayHeaderDividerClass: Identity<ClassNameGenerator<{
|
|
1997
|
+
isSticky: boolean;
|
|
1998
|
+
options: {
|
|
1999
|
+
allDaySlot: boolean;
|
|
2000
|
+
};
|
|
2001
|
+
}>>;
|
|
2002
|
+
dayRowClass: Identity<string>;
|
|
2003
|
+
dayCellDidMount: Identity<DidMountHandler<DayCellMountData>>;
|
|
2004
|
+
dayCellWillUnmount: Identity<WillUnmountHandler<DayCellMountData>>;
|
|
2005
|
+
dayCellClass: Identity<ClassNameGenerator<DayCellData>>;
|
|
2006
|
+
dayCellInnerClass: Identity<ClassNameGenerator<DayCellData>>;
|
|
2007
|
+
dayCellTopContent: Identity<CustomContentGenerator<DayCellData>>;
|
|
2008
|
+
dayCellTopClass: Identity<ClassNameGenerator<DayCellData>>;
|
|
2009
|
+
dayCellTopInnerClass: Identity<ClassNameGenerator<DayCellData>>;
|
|
2010
|
+
dayCellBottomClass: Identity<ClassNameGenerator<DayCellData>>;
|
|
2011
|
+
allDaySlot: BooleanConstructor;
|
|
2040
2012
|
allDayText: StringConstructor;
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2013
|
+
allDayHeaderClass: Identity<ClassNameGenerator<AllDayHeaderData>>;
|
|
2014
|
+
allDayHeaderInnerClass: Identity<ClassNameGenerator<AllDayHeaderData>>;
|
|
2015
|
+
allDayHeaderContent: Identity<CustomContentGenerator<AllDayHeaderData>>;
|
|
2016
|
+
allDayHeaderDidMount: Identity<DidMountHandler<AllDayHeaderMountData>>;
|
|
2017
|
+
allDayHeaderWillUnmount: Identity<WillUnmountHandler<AllDayHeaderMountData>>;
|
|
2045
2018
|
timedText: StringConstructor;
|
|
2046
2019
|
slotMinWidth: NumberConstructor;
|
|
2047
2020
|
navLinks: BooleanConstructor;
|
|
@@ -2071,30 +2044,61 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
2071
2044
|
titleFormat: Identity<FormatterInput>;
|
|
2072
2045
|
eventInteractive: BooleanConstructor;
|
|
2073
2046
|
noEventsText: StringConstructor;
|
|
2074
|
-
viewHint: Identity<string | ((
|
|
2047
|
+
viewHint: Identity<string | ((viewButtonText: string, viewName: string) => string)>;
|
|
2075
2048
|
viewChangeHint: StringConstructor;
|
|
2076
|
-
navLinkHint: Identity<string | ((
|
|
2049
|
+
navLinkHint: Identity<string | ((dateText: string, date: Date) => string)>;
|
|
2077
2050
|
closeHint: StringConstructor;
|
|
2078
2051
|
eventsHint: StringConstructor;
|
|
2079
2052
|
headingLevel: NumberConstructor;
|
|
2080
2053
|
moreLinkClick: Identity<MoreLinkAction>;
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2054
|
+
moreLinkContent: Identity<CustomContentGenerator<MoreLinkData$1>>;
|
|
2055
|
+
moreLinkDidMount: Identity<DidMountHandler<MoreLinkMountData>>;
|
|
2056
|
+
moreLinkWillUnmount: Identity<WillUnmountHandler<MoreLinkMountData>>;
|
|
2057
|
+
moreLinkClass: Identity<ClassNameGenerator<MoreLinkData$1>>;
|
|
2058
|
+
moreLinkInnerClass: Identity<ClassNameGenerator<MoreLinkData$1>>;
|
|
2059
|
+
rowMoreLinkClass: Identity<ClassNameGenerator<MoreLinkData$1>>;
|
|
2060
|
+
rowMoreLinkInnerClass: Identity<ClassNameGenerator<MoreLinkData$1>>;
|
|
2061
|
+
columnMoreLinkClass: Identity<ClassNameGenerator<MoreLinkData$1>>;
|
|
2062
|
+
columnMoreLinkInnerClass: Identity<ClassNameGenerator<MoreLinkData$1>>;
|
|
2063
|
+
navLinkClass: Identity<string>;
|
|
2085
2064
|
monthStartFormat: typeof createFormatter;
|
|
2065
|
+
dayCellFormat: typeof createFormatter;
|
|
2086
2066
|
handleCustomRendering: Identity<CustomRenderingHandler<any>>;
|
|
2087
2067
|
customRenderingMetaMap: Identity<{
|
|
2088
2068
|
[optionName: string]: any;
|
|
2089
2069
|
}>;
|
|
2090
2070
|
customRenderingReplaces: BooleanConstructor;
|
|
2071
|
+
class: Identity<string>;
|
|
2072
|
+
className: Identity<string>;
|
|
2073
|
+
popoverClass: Identity<string>;
|
|
2074
|
+
popoverCloseClass: Identity<string>;
|
|
2075
|
+
popoverCloseContent: Identity<CustomContentGenerator<{}>>;
|
|
2076
|
+
dayNarrowWidth: NumberConstructor;
|
|
2077
|
+
borderless: BooleanConstructor;
|
|
2078
|
+
borderlessX: BooleanConstructor;
|
|
2079
|
+
borderlessTop: BooleanConstructor;
|
|
2080
|
+
borderlessBottom: BooleanConstructor;
|
|
2081
|
+
fillerClass: Identity<ClassNameGenerator<{
|
|
2082
|
+
isHeader: boolean;
|
|
2083
|
+
}>>;
|
|
2084
|
+
headerToolbarClass: Identity<ClassNameGenerator<ToolbarData>>;
|
|
2085
|
+
footerToolbarClass: Identity<ClassNameGenerator<ToolbarData>>;
|
|
2086
|
+
toolbarClass: Identity<ClassNameGenerator<ToolbarData>>;
|
|
2087
|
+
toolbarSectionClass: Identity<ClassNameGenerator<ToolbarSectionData>>;
|
|
2088
|
+
toolbarTitleClass: Identity<string>;
|
|
2089
|
+
tableClass: Identity<string>;
|
|
2090
|
+
tableHeaderClass: Identity<ClassNameGenerator<TableHeaderData>>;
|
|
2091
|
+
tableBodyClass: Identity<string>;
|
|
2092
|
+
nonBusinessClass: Identity<string>;
|
|
2093
|
+
highlightClass: Identity<string>;
|
|
2091
2094
|
};
|
|
2092
|
-
type
|
|
2093
|
-
interface
|
|
2095
|
+
type BaseOptionRefiners = typeof BASE_OPTION_REFINERS;
|
|
2096
|
+
interface BaseOptions extends RawOptionsFromRefiners<BaseOptionRefiners> {
|
|
2097
|
+
}
|
|
2098
|
+
interface BaseOptionsRefined extends RefinedOptionsFromRefiners<BaseOptionRefiners> {
|
|
2094
2099
|
}
|
|
2095
|
-
type BaseOptions = RawOptionsFromRefiners<// as RawOptions
|
|
2096
|
-
Required<BaseOptionRefiners>>;
|
|
2097
2100
|
declare const BASE_OPTION_DEFAULTS: {
|
|
2101
|
+
buttonDisplay: string;
|
|
2098
2102
|
eventDisplay: string;
|
|
2099
2103
|
defaultRangeSeparator: string;
|
|
2100
2104
|
titleRangeSeparator: string;
|
|
@@ -2104,14 +2108,8 @@ declare const BASE_OPTION_DEFAULTS: {
|
|
|
2104
2108
|
};
|
|
2105
2109
|
forceEventDuration: boolean;
|
|
2106
2110
|
nextDayThreshold: string;
|
|
2107
|
-
dayHeaders: boolean;
|
|
2108
2111
|
initialView: string;
|
|
2109
2112
|
aspectRatio: number;
|
|
2110
|
-
headerToolbar: {
|
|
2111
|
-
start: string;
|
|
2112
|
-
center: string;
|
|
2113
|
-
end: string;
|
|
2114
|
-
};
|
|
2115
2113
|
weekends: boolean;
|
|
2116
2114
|
weekNumbers: boolean;
|
|
2117
2115
|
weekNumberCalculation: WeekNumberCalculation;
|
|
@@ -2129,7 +2127,6 @@ declare const BASE_OPTION_DEFAULTS: {
|
|
|
2129
2127
|
timeZone: string;
|
|
2130
2128
|
locales: any[];
|
|
2131
2129
|
locale: string;
|
|
2132
|
-
themeSystem: string;
|
|
2133
2130
|
dragRevertDuration: number;
|
|
2134
2131
|
dragScroll: boolean;
|
|
2135
2132
|
allDayMaintainDuration: boolean;
|
|
@@ -2153,21 +2150,31 @@ declare const BASE_OPTION_DEFAULTS: {
|
|
|
2153
2150
|
month: string;
|
|
2154
2151
|
day: string;
|
|
2155
2152
|
};
|
|
2153
|
+
dayCellFormat: {
|
|
2154
|
+
day: string;
|
|
2155
|
+
};
|
|
2156
2156
|
headingLevel: number;
|
|
2157
|
+
outerBorder: boolean;
|
|
2158
|
+
dayNarrowWidth: number;
|
|
2159
|
+
eventOverlap: boolean;
|
|
2160
|
+
slotHeaderAlign: string;
|
|
2161
|
+
slotHeaderSticky: boolean;
|
|
2162
|
+
dayHeaderAlign: string;
|
|
2163
|
+
dayHeaderSticky: boolean;
|
|
2164
|
+
rowEventTitleSticky: boolean;
|
|
2165
|
+
columnEventTitleSticky: boolean;
|
|
2157
2166
|
};
|
|
2158
|
-
type BaseOptionsRefined = DefaultedRefinedOptions<RefinedOptionsFromRefiners<Required<BaseOptionRefiners>>, // Required is a hack for "Index signature is missing"
|
|
2159
|
-
keyof typeof BASE_OPTION_DEFAULTS>;
|
|
2160
2167
|
declare const CALENDAR_LISTENER_REFINERS: {
|
|
2161
|
-
datesSet: Identity<(
|
|
2168
|
+
datesSet: Identity<(data: DatesSetData) => void>;
|
|
2162
2169
|
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<(
|
|
2170
|
+
eventAdd: Identity<(data: EventAddData) => void>;
|
|
2171
|
+
eventChange: Identity<(data: EventChangeData) => void>;
|
|
2172
|
+
eventRemove: Identity<(data: EventRemoveData) => void>;
|
|
2173
|
+
eventClick: Identity<(data: EventClickData) => void>;
|
|
2174
|
+
eventMouseEnter: Identity<(data: EventHoveringData) => void>;
|
|
2175
|
+
eventMouseLeave: Identity<(data: EventHoveringData) => void>;
|
|
2176
|
+
select: Identity<(data: DateSelectData) => void>;
|
|
2177
|
+
unselect: Identity<(data: DateUnselectData) => void>;
|
|
2171
2178
|
loading: Identity<(isLoading: boolean) => void>;
|
|
2172
2179
|
_unmount: Identity<() => void>;
|
|
2173
2180
|
_beforeprint: Identity<() => void>;
|
|
@@ -2176,14 +2183,12 @@ declare const CALENDAR_LISTENER_REFINERS: {
|
|
|
2176
2183
|
_noEventResize: Identity<() => void>;
|
|
2177
2184
|
_timeScrollRequest: Identity<(time: Duration) => void>;
|
|
2178
2185
|
};
|
|
2179
|
-
type
|
|
2180
|
-
interface
|
|
2181
|
-
}
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
declare const
|
|
2185
|
-
buttonText: Identity<ButtonTextCompoundInput>;
|
|
2186
|
-
buttonHints: Identity<ButtonHintCompoundInput>;
|
|
2186
|
+
type CalendarListenerRefiners = typeof CALENDAR_LISTENER_REFINERS;
|
|
2187
|
+
interface CalendarListeners extends RawOptionsFromRefiners<CalendarListenerRefiners> {
|
|
2188
|
+
}
|
|
2189
|
+
interface CalendarListenersRefined extends RefinedOptionsFromRefiners<CalendarListenerRefiners> {
|
|
2190
|
+
}
|
|
2191
|
+
declare const CALENDAR_ONLY_OPTION_REFINERS: {
|
|
2187
2192
|
views: Identity<{
|
|
2188
2193
|
[viewId: string]: ViewOptions;
|
|
2189
2194
|
}>;
|
|
@@ -2192,19 +2197,19 @@ declare const CALENDAR_OPTION_REFINERS: {
|
|
|
2192
2197
|
events: Identity<EventSourceInput>;
|
|
2193
2198
|
eventSources: Identity<EventSourceInput[]>;
|
|
2194
2199
|
};
|
|
2195
|
-
type
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
type CalendarOptionsRefined = BaseOptionsRefined & CalendarListenersLoose & RefinedOptionsFromRefiners<Required<CalendarOptionRefiners>>;
|
|
2200
|
-
declare const VIEW_OPTION_REFINERS: {
|
|
2200
|
+
type CalendarOnlyOptionRefiners = typeof CALENDAR_ONLY_OPTION_REFINERS;
|
|
2201
|
+
type CalendarOnlyOptions = RawOptionsFromRefiners<CalendarOnlyOptionRefiners>;
|
|
2202
|
+
type CalendarOnlyOptionsRefined = RefinedOptionsFromRefiners<CalendarOnlyOptionRefiners>;
|
|
2203
|
+
declare const VIEW_ONLY_OPTION_REFINERS: {
|
|
2201
2204
|
[name: string]: any;
|
|
2202
2205
|
};
|
|
2203
|
-
type
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
type ViewOptions = BaseOptions &
|
|
2207
|
-
type ViewOptionsRefined = BaseOptionsRefined &
|
|
2206
|
+
type ViewOnlyRefiners = typeof VIEW_ONLY_OPTION_REFINERS;
|
|
2207
|
+
type ViewOnlyOptions = RawOptionsFromRefiners<ViewOnlyRefiners>;
|
|
2208
|
+
type ViewOnlyOptionsRefined = RefinedOptionsFromRefiners<ViewOnlyRefiners>;
|
|
2209
|
+
type ViewOptions = BaseOptions & CalendarListeners & ViewOnlyOptions;
|
|
2210
|
+
type ViewOptionsRefined = BaseOptionsRefined & CalendarListenersRefined & ViewOnlyOptionsRefined;
|
|
2211
|
+
type CalendarOptions = BaseOptions & CalendarListeners & CalendarOnlyOptions;
|
|
2212
|
+
type CalendarOptionsRefined = BaseOptionsRefined & CalendarListenersRefined & CalendarOnlyOptionsRefined;
|
|
2208
2213
|
declare function refineProps<Refiners extends GenericRefiners, Raw extends RawOptionsFromRefiners<Refiners>>(input: Raw, refiners: Refiners): {
|
|
2209
2214
|
refined: RefinedOptionsFromRefiners<Refiners>;
|
|
2210
2215
|
extra: Dictionary;
|
|
@@ -2221,7 +2226,6 @@ type RawOptionsFromRefiners<Refiners extends GenericRefiners> = {
|
|
|
2221
2226
|
type RefinedOptionsFromRefiners<Refiners extends GenericRefiners> = {
|
|
2222
2227
|
[Prop in keyof Refiners]?: Refiners[Prop] extends ((input: any) => infer RefinedType) ? RefinedType : never;
|
|
2223
2228
|
};
|
|
2224
|
-
type DefaultedRefinedOptions<RefinedOptions extends Dictionary, DefaultKey extends keyof RefinedOptions> = Required<Pick<RefinedOptions, DefaultKey>> & Partial<Omit<RefinedOptions, DefaultKey>>;
|
|
2225
2229
|
type Dictionary = Record<string, any>;
|
|
2226
2230
|
type Identity<T = any> = (raw: T) => T;
|
|
2227
2231
|
declare function identity<T>(raw: T): T;
|
|
@@ -2232,24 +2236,54 @@ declare class JsonRequestError extends Error {
|
|
|
2232
2236
|
}
|
|
2233
2237
|
declare function requestJson<ParsedResponse>(method: string, url: string, params: Dictionary): Promise<[ParsedResponse, Response]>;
|
|
2234
2238
|
|
|
2239
|
+
type ClassValue = string | undefined | null | false | number;
|
|
2240
|
+
declare function joinArrayishClassNames(...args: (ClassValue | ClassValue[])[]): string;
|
|
2241
|
+
declare function joinClassNames(...args: ClassValue[]): string;
|
|
2242
|
+
declare function fracToCssDim(frac: number): string;
|
|
2243
|
+
|
|
2235
2244
|
declare function computeVisibleDayRange(timedRange: OpenDateRange, nextDayThreshold?: Duration): OpenDateRange;
|
|
2236
2245
|
declare function diffDates(date0: DateMarker, date1: DateMarker, dateEnv: DateEnv, largeUnit?: string): Duration;
|
|
2237
2246
|
|
|
2238
|
-
declare
|
|
2239
|
-
declare
|
|
2247
|
+
declare const FULL_DATE_FORMAT: _full_ui_headless_calendar.DateFormatter;
|
|
2248
|
+
declare const WEEKDAY_ONLY_FORMAT: _full_ui_headless_calendar.DateFormatter;
|
|
2249
|
+
declare function findWeekdayText(parts: Intl.DateTimeFormatPart[]): string;
|
|
2250
|
+
declare function findDayNumberText(parts: Intl.DateTimeFormatPart[]): string;
|
|
2251
|
+
declare function findMonthText(parts: Intl.DateTimeFormatPart[]): string;
|
|
2252
|
+
|
|
2253
|
+
declare function removeExact(array: any[], exactItem: any): number;
|
|
2254
|
+
declare function isArraysEqual(array0: any[], array1: any[], itemsEqual?: typeof valuesIdentical): boolean;
|
|
2240
2255
|
|
|
2241
2256
|
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
2257
|
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;
|
|
2258
|
+
|
|
2259
|
+
declare function filterHash(hash: any, func: any): {};
|
|
2260
|
+
declare function mapHash<InputItem, OutputItem>(hash: {
|
|
2261
|
+
[key: string]: InputItem;
|
|
2262
|
+
}, func: (input: InputItem, key: string) => OutputItem): {
|
|
2263
|
+
[key: string]: OutputItem;
|
|
2250
2264
|
};
|
|
2251
|
-
declare function
|
|
2265
|
+
declare function isPropsEqualShallow(props0: any, props1: any): boolean;
|
|
2266
|
+
declare function isPropsEqualWithMap(props0: any, props1: any, equalityFuncMap: {
|
|
2267
|
+
[key: string | symbol]: (val0: any, val1: any) => boolean;
|
|
2268
|
+
}): boolean;
|
|
2252
2269
|
|
|
2270
|
+
type ClassNameInput = string | undefined;
|
|
2271
|
+
type FuncishClassNameInput = ((data: any) => ClassNameInput) | ClassNameInput;
|
|
2272
|
+
declare function mergeViewOptionsMap(...hashes: {
|
|
2273
|
+
[view: string]: ViewOptions;
|
|
2274
|
+
}[]): {
|
|
2275
|
+
[view: string]: ViewOptions;
|
|
2276
|
+
};
|
|
2277
|
+
declare function mergeCalendarOptions(...optionSets: CalendarOptions[]): any;
|
|
2278
|
+
declare function joinFuncishClassNames(input0: FuncishClassNameInput, // added to string first
|
|
2279
|
+
input1: FuncishClassNameInput): FuncishClassNameInput;
|
|
2280
|
+
declare function mergeContentInjectors(contentGenerator0: CustomContentGenerator<any>, // fallback
|
|
2281
|
+
contentGenerator1: CustomContentGenerator<any>): CustomContentGenerator<any>;
|
|
2282
|
+
declare function mergeLifecycleCallbacks(fn0: (...args: any[]) => any, // called first
|
|
2283
|
+
fn1: (...args: any[]) => any): (...args: any[]) => any;
|
|
2284
|
+
|
|
2285
|
+
declare function getAppendableRoot(el: HTMLElement): Node;
|
|
2286
|
+
declare function computeElIsRtl(el: HTMLElement): boolean;
|
|
2253
2287
|
declare function applyStyle(el: HTMLElement, props: Dictionary): void;
|
|
2254
2288
|
declare function getEventTargetViaRoot(ev: Event): EventTarget;
|
|
2255
2289
|
declare function getUniqueDomId(): string;
|
|
@@ -2258,7 +2292,7 @@ declare function isDimsEqual(v0: number | undefined, v1: number): boolean;
|
|
|
2258
2292
|
|
|
2259
2293
|
type SizeCallback = (width: number, height: number) => void;
|
|
2260
2294
|
type DisconnectSize = () => void;
|
|
2261
|
-
type WatchSize = (el: HTMLElement, callback: SizeCallback,
|
|
2295
|
+
type WatchSize = (el: HTMLElement, callback: SizeCallback, watchWidth?: boolean, watchHeight?: boolean) => DisconnectSize;
|
|
2262
2296
|
declare function afterSize(callback: () => void): void;
|
|
2263
2297
|
declare const watchSize: WatchSize;
|
|
2264
2298
|
declare function watchWidth(el: HTMLElement, callback: (width: number) => void): DisconnectSize;
|
|
@@ -2271,12 +2305,12 @@ declare function buildNavLinkAttrs(context: ViewContext, dateMarker: DateMarker,
|
|
|
2271
2305
|
onClick: (ev: UIEvent) => void;
|
|
2272
2306
|
role: any;
|
|
2273
2307
|
'aria-label': any;
|
|
2274
|
-
|
|
2308
|
+
className: string;
|
|
2275
2309
|
} | {
|
|
2276
2310
|
onClick: (ev: UIEvent) => void;
|
|
2277
2311
|
role: any;
|
|
2278
2312
|
'aria-label': any;
|
|
2279
|
-
|
|
2313
|
+
className: string;
|
|
2280
2314
|
};
|
|
2281
2315
|
|
|
2282
2316
|
declare function preventDefault(ev: any): void;
|
|
@@ -2365,17 +2399,6 @@ declare class WindowScrollController extends ScrollController {
|
|
|
2365
2399
|
getClientWidth(): number;
|
|
2366
2400
|
}
|
|
2367
2401
|
|
|
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
2402
|
interface CoordSpan {
|
|
2380
2403
|
start: number;
|
|
2381
2404
|
size: number;
|
|
@@ -2441,9 +2464,8 @@ declare const config: any;
|
|
|
2441
2464
|
|
|
2442
2465
|
interface CalendarRootProps {
|
|
2443
2466
|
options: CalendarOptions;
|
|
2444
|
-
theme: Theme;
|
|
2445
2467
|
emitter: Emitter<CalendarListeners>;
|
|
2446
|
-
children: (
|
|
2468
|
+
children: (isRtl: boolean, className: string, height: CssDimValue | undefined, forPrint: boolean) => ComponentChildren;
|
|
2447
2469
|
}
|
|
2448
2470
|
interface CalendarRootState {
|
|
2449
2471
|
forPrint: boolean;
|
|
@@ -2472,27 +2494,35 @@ interface DayGridRange extends SlicedCoordRange {
|
|
|
2472
2494
|
interface DayTableCell {
|
|
2473
2495
|
key: string;
|
|
2474
2496
|
date: DateMarker;
|
|
2497
|
+
isMajor: boolean;
|
|
2475
2498
|
renderProps?: Dictionary;
|
|
2476
2499
|
attrs?: Dictionary;
|
|
2477
2500
|
className?: string;
|
|
2478
2501
|
dateSpanProps?: Dictionary;
|
|
2479
2502
|
}
|
|
2480
2503
|
declare class DayTableModel {
|
|
2481
|
-
|
|
2482
|
-
|
|
2504
|
+
private dateEnv;
|
|
2505
|
+
private majorUnit;
|
|
2506
|
+
rowCount: number;
|
|
2507
|
+
colCount: number;
|
|
2483
2508
|
cellRows: DayTableCell[][];
|
|
2484
2509
|
headerDates: DateMarker[];
|
|
2485
2510
|
private daySeries;
|
|
2486
|
-
constructor(daySeries: DaySeriesModel, breakOnWeeks: boolean);
|
|
2511
|
+
constructor(daySeries: DaySeriesModel, breakOnWeeks: boolean, dateEnv: DateEnv, majorUnit?: string);
|
|
2487
2512
|
buildCells(): any[];
|
|
2488
2513
|
private buildCell;
|
|
2514
|
+
protected cellIsMajor(dateMarker: DateMarker): boolean;
|
|
2489
2515
|
private buildHeaderDates;
|
|
2490
2516
|
sliceRange(range: DateRange): DayGridRange[];
|
|
2491
2517
|
}
|
|
2492
2518
|
|
|
2493
2519
|
declare class ScrollListener {
|
|
2494
2520
|
el: HTMLElement;
|
|
2495
|
-
emitter: Emitter<
|
|
2521
|
+
emitter: Emitter<{
|
|
2522
|
+
scrollStart: (isUser: boolean) => void;
|
|
2523
|
+
scroll: (isUser: boolean) => void;
|
|
2524
|
+
scrollEnd: (isUser: boolean) => void;
|
|
2525
|
+
}>;
|
|
2496
2526
|
private wheelWaiter;
|
|
2497
2527
|
private scrollWaiter;
|
|
2498
2528
|
private isScroll;
|
|
@@ -2523,23 +2553,24 @@ interface ScrollerProps {
|
|
|
2523
2553
|
horizontal?: boolean;
|
|
2524
2554
|
hideScrollbars?: boolean;
|
|
2525
2555
|
children: ComponentChildren;
|
|
2526
|
-
className?: string;
|
|
2527
|
-
style?: Dictionary;
|
|
2528
2556
|
clientWidthRef?: Ref<number>;
|
|
2529
2557
|
clientHeightRef?: Ref<number>;
|
|
2530
|
-
endScrollbarWidthRef?: Ref<number>;
|
|
2531
2558
|
bottomScrollbarWidthRef?: Ref<number>;
|
|
2559
|
+
className?: string;
|
|
2560
|
+
style?: Dictionary;
|
|
2532
2561
|
}
|
|
2533
2562
|
declare class Scroller extends DateComponent<ScrollerProps> implements ScrollerInterface {
|
|
2534
2563
|
private el?;
|
|
2535
2564
|
listener: ScrollListener;
|
|
2536
|
-
private
|
|
2537
|
-
private
|
|
2538
|
-
private
|
|
2539
|
-
private
|
|
2540
|
-
private
|
|
2565
|
+
private disconnectHRuler?;
|
|
2566
|
+
private disconnectVRuler?;
|
|
2567
|
+
private clientWidth?;
|
|
2568
|
+
private clientHeight?;
|
|
2569
|
+
private bottomScrollbarWidth?;
|
|
2541
2570
|
render(): createElement.JSX.Element;
|
|
2542
2571
|
handleEl: (el: HTMLDivElement | null) => void;
|
|
2572
|
+
handleHRuler: (el: HTMLDivElement | null) => void;
|
|
2573
|
+
handleVRuler: (el: HTMLDivElement | null) => void;
|
|
2543
2574
|
endScroll(): void;
|
|
2544
2575
|
get x(): number;
|
|
2545
2576
|
get y(): number;
|
|
@@ -2547,19 +2578,11 @@ declare class Scroller extends DateComponent<ScrollerProps> implements ScrollerI
|
|
|
2547
2578
|
x?: number;
|
|
2548
2579
|
y?: number;
|
|
2549
2580
|
}): void;
|
|
2550
|
-
addScrollEndListener(handler: (
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
removeScrollEndListener(handler: (arg: {
|
|
2556
|
-
x: number;
|
|
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;
|
|
2581
|
+
addScrollEndListener(handler: (isUser: boolean) => void): void;
|
|
2582
|
+
removeScrollEndListener(handler: (isUser: boolean) => void): void;
|
|
2583
|
+
}
|
|
2584
|
+
declare function getNormalizedScrollX(el: HTMLElement): number;
|
|
2585
|
+
declare function setNormalizedScrollX(el: HTMLElement, x: number): void;
|
|
2563
2586
|
|
|
2564
2587
|
interface SliceableProps {
|
|
2565
2588
|
dateSelection: DateSpan;
|
|
@@ -2619,11 +2642,16 @@ declare class DelayedRunner {
|
|
|
2619
2642
|
protected drained(): void;
|
|
2620
2643
|
}
|
|
2621
2644
|
|
|
2622
|
-
interface
|
|
2623
|
-
|
|
2624
|
-
|
|
2645
|
+
interface RulerProps {
|
|
2646
|
+
widthRef: Ref<number>;
|
|
2647
|
+
}
|
|
2648
|
+
declare class Ruler extends BaseComponent<RulerProps> {
|
|
2649
|
+
private elRef;
|
|
2650
|
+
private disconnectWidth?;
|
|
2651
|
+
render(): createElement.JSX.Element;
|
|
2652
|
+
componentDidMount(): void;
|
|
2653
|
+
componentWillUnmount(): void;
|
|
2625
2654
|
}
|
|
2626
|
-
declare function getScrollbarWidths(): ScrollbarWidths;
|
|
2627
2655
|
|
|
2628
2656
|
declare class RefMap<K, V> {
|
|
2629
2657
|
masterCallback?: (val: V, key: K) => void;
|
|
@@ -2635,8 +2663,6 @@ declare class RefMap<K, V> {
|
|
|
2635
2663
|
handleValue: (val: V, key: K) => void;
|
|
2636
2664
|
}
|
|
2637
2665
|
|
|
2638
|
-
declare function getIsRtlScrollbarOnLeft(): boolean;
|
|
2639
|
-
|
|
2640
2666
|
interface NowTimerProps {
|
|
2641
2667
|
unit: string;
|
|
2642
2668
|
children: (now: DateMarker, todayRange: DateRange) => ComponentChildren;
|
|
@@ -2663,7 +2689,9 @@ declare class NowTimer extends Component<NowTimerProps, NowTimerState> {
|
|
|
2663
2689
|
|
|
2664
2690
|
interface StandardEventProps {
|
|
2665
2691
|
elRef?: ElRef;
|
|
2692
|
+
attrs?: any;
|
|
2666
2693
|
className?: string;
|
|
2694
|
+
display: 'list-item' | 'row' | 'column';
|
|
2667
2695
|
eventRange: EventRenderRange;
|
|
2668
2696
|
slicedStart?: DateMarker;
|
|
2669
2697
|
slicedEnd?: DateMarker;
|
|
@@ -2671,7 +2699,7 @@ interface StandardEventProps {
|
|
|
2671
2699
|
isEnd: boolean;
|
|
2672
2700
|
isDragging: boolean;
|
|
2673
2701
|
isResizing: boolean;
|
|
2674
|
-
|
|
2702
|
+
isMirror: boolean;
|
|
2675
2703
|
isSelected: boolean;
|
|
2676
2704
|
isPast: boolean;
|
|
2677
2705
|
isFuture: boolean;
|
|
@@ -2681,38 +2709,26 @@ interface StandardEventProps {
|
|
|
2681
2709
|
defaultTimeFormat: DateFormatter;
|
|
2682
2710
|
defaultDisplayEventTime?: boolean;
|
|
2683
2711
|
defaultDisplayEventEnd?: boolean;
|
|
2712
|
+
isNarrow?: boolean;
|
|
2713
|
+
isShort?: boolean;
|
|
2714
|
+
level?: number;
|
|
2715
|
+
forcedTimeText?: string;
|
|
2716
|
+
disableLiquid?: boolean;
|
|
2717
|
+
disableZindexes?: boolean;
|
|
2684
2718
|
}
|
|
2685
2719
|
declare class StandardEvent extends BaseComponent<StandardEventProps> {
|
|
2720
|
+
private buildPublicEvent;
|
|
2721
|
+
private el;
|
|
2686
2722
|
render(): createElement.JSX.Element;
|
|
2723
|
+
handleEl: (el: HTMLElement | null) => void;
|
|
2724
|
+
componentDidUpdate(prevProps: StandardEventProps): void;
|
|
2687
2725
|
}
|
|
2688
2726
|
|
|
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;
|
|
2727
|
+
interface NowIndicatorDotProps {
|
|
2728
|
+
className?: string;
|
|
2729
|
+
style?: any;
|
|
2715
2730
|
}
|
|
2731
|
+
declare const NowIndicatorDot: (props: NowIndicatorDotProps) => createElement.JSX.Element;
|
|
2716
2732
|
|
|
2717
2733
|
interface BgEventProps {
|
|
2718
2734
|
eventRange: EventRenderRange;
|
|
@@ -2721,20 +2737,26 @@ interface BgEventProps {
|
|
|
2721
2737
|
isPast: boolean;
|
|
2722
2738
|
isFuture: boolean;
|
|
2723
2739
|
isToday: boolean;
|
|
2740
|
+
isNarrow?: boolean;
|
|
2741
|
+
isShort?: boolean;
|
|
2742
|
+
isVertical: boolean;
|
|
2724
2743
|
}
|
|
2725
2744
|
declare class BgEvent extends BaseComponent<BgEventProps> {
|
|
2745
|
+
private buildPublicEvent;
|
|
2746
|
+
private el;
|
|
2726
2747
|
render(): createElement.JSX.Element;
|
|
2748
|
+
handleEl: (el: HTMLElement | null) => void;
|
|
2749
|
+
componentDidUpdate(prevProps: BgEventProps): void;
|
|
2727
2750
|
}
|
|
2728
|
-
declare function renderFill(fillType: string): createElement.JSX.Element;
|
|
2729
|
-
|
|
2730
|
-
declare function injectStyles(styleText: string): void;
|
|
2751
|
+
declare function renderFill(fillType: string, options: ViewOptionsRefined): createElement.JSX.Element;
|
|
2731
2752
|
|
|
2732
|
-
interface
|
|
2753
|
+
interface FooterScrollbarProps {
|
|
2754
|
+
isSticky?: boolean;
|
|
2733
2755
|
canvasWidth: CssDimValue;
|
|
2734
2756
|
scrollerRef?: Ref<Scroller>;
|
|
2735
2757
|
scrollbarWidthRef?: Ref<number>;
|
|
2736
2758
|
}
|
|
2737
|
-
declare class
|
|
2759
|
+
declare class FooterScrollbar extends BaseComponent<FooterScrollbarProps> {
|
|
2738
2760
|
rootElRef: preact.RefObject<HTMLDivElement>;
|
|
2739
2761
|
disconnectHeight?: () => void;
|
|
2740
2762
|
render(): createElement.JSX.Element;
|
|
@@ -2742,4 +2764,4 @@ declare class StickyFooterScrollbar extends BaseComponent<StickyFooterScrollbarP
|
|
|
2742
2764
|
componentWillUnmount(): void;
|
|
2743
2765
|
}
|
|
2744
2766
|
|
|
2745
|
-
export {
|
|
2767
|
+
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, buildNavLinkAttrs 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, sortEventSegs as c$, buildDateStr as c0, preventDefault as c1, whenTransitionDone as c2, computeInnerRect as c3, computeEdges as c4, getClippingParents as c5, computeRect as c6, unpromisify as c7, Emitter as c8, PositionCache as c9, InteractionSettings as cA, InteractionSettingsStore as cB, Interaction as cC, interactionSettingsToStore as cD, interactionSettingsStore as cE, PointerDragEvent as cF, Hit as cG, dateSelectionJoinTransformer as cH, eventDragMutationMassager as cI, EventDropTransformers as cJ, ElementDragging as cK, config as cL, RecurringType as cM, DragMetaInput as cN, DragMeta as cO, parseDragMeta as cP, ViewPropsTransformer as cQ, Action as cR, CalendarContext as cS, CalendarContentProps as cT, CalendarRoot as cU, DaySeriesModel as cV, EventInteractionState as cW, sliceEventStore as cX, hasBgRendering as cY, getElEventRange as cZ, buildEventRangeTimeText as c_, ScrollController as ca, ElementScrollController as cb, WindowScrollController as cc, ViewContext as cd, ViewContextType as ce, EventSegUiInteractionState as cf, DateComponent as cg, CalendarData as ch, ViewProps as ci, DateProfile as cj, DateProfileGenerator as ck, computeMajorUnit as cl, isMajorUnit as cm, ViewSpec as cn, DateSpan as co, isDateSpansEqual as cp, EventSourceDef as cq, EventSourceRefined as cr, EventSourceOptions as cs, EventSourceOptionsRefined as ct, EventPlacement as cu, EventInsertion as cv, SegHierarchy as cw, SegGroup as cx, groupIntersectingSegs as cy, binarySearch as cz, CalendarController as d, computeLatestEnd as d$, getEventRangeMeta as d0, buildEventRangeKey as d1, getEventTagAndAttrs as d2, EventRangeProps as d3, getEventKey as d4, MinimalEventProps as d5, DayTableCell as d6, DayGridRange as d7, DayTableModel as d8, Scroller as d9, StandardEvent as dA, StandardEventProps as dB, NowIndicatorHeaderContainer as dC, NowIndicatorLineContainer as dD, NowIndicatorDot as dE, renderFill as dF, BgEvent as dG, MoreLinkContainer as dH, ViewContainerProps as dI, ViewContainer as dJ, DatePointTransform as dK, DateSpanTransform as dL, triggerDateSelect as dM, getDefaultEventEnd as dN, EventImpl as dO, buildEventApis as dP, ElProps as dQ, buildElAttrs as dR, InnerContainerFunc as dS, ContentContainer as dT, renderText as dU, generateClassName as dV, CustomRendering as dW, CoordRange as dX, CoordSpan as dY, SlicedCoordRange as dZ, computeEarliestStart as d_, getNormalizedScrollX as da, setNormalizedScrollX as db, SlicedProps as dc, Slicer as dd, EventMutation as de, applyMutationToEventStore as df, Constraint as dg, isPropsValid as dh, isInteractionValid as di, isDateSelectionValid as dj, requestJson as dk, BaseComponent as dl, setRef as dm, DelayedRunner as dn, getStickyFooterScrollbar as dp, getStickyHeaderDates as dq, getIsHeightAuto as dr, getScrollerSyncerClass as ds, ScrollerInterface as dt, ScrollerSyncerInterface as du, Ruler as dv, RulerProps as dw, RefMap as dx, NowTimer as dy, MountData as dz, EventApi as e, getCoordRangeEnd as e0, FooterScrollbar as e1, createFormatter as e2, 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 };
|