@fullcalendar/core 7.0.0-beta.3 → 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} +508 -373
- package/cjs/internal-classnames.cjs +11 -0
- package/{internal-common.cjs → cjs/internal-common.cjs} +5011 -4779
- package/{internal.cjs → cjs/internal.cjs} +26 -20
- 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} +510 -377
- 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} +773 -708
- package/{internal-common.js → esm/internal-common.js} +4982 -4755
- 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} +5295 -4925
- 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 -63
- package/locales/de-at.global.js +0 -69
- package/locales/de-at.global.min.js +0 -6
- package/locales/de-at.js +0 -59
- package/locales/de.cjs +0 -63
- package/locales/de.global.js +0 -69
- package/locales/de.global.min.js +0 -6
- package/locales/de.js +0 -59
- 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 -46
- package/locales/es.global.js +0 -52
- package/locales/es.global.min.js +0 -6
- package/locales/es.js +0 -42
- 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 -46
- package/locales/gl.global.js +0 -52
- package/locales/gl.global.min.js +0 -6
- package/locales/gl.js +0 -42
- 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 -46
- package/locales/pt-br.global.js +0 -52
- package/locales/pt-br.global.min.js +0 -6
- package/locales/pt-br.js +0 -42
- 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 -47
- package/locales/sv.global.js +0 -53
- package/locales/sv.global.min.js +0 -6
- package/locales/sv.js +0 -43
- 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 -1933
- 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;
|
|
@@ -477,44 +236,44 @@ interface ViewProps {
|
|
|
477
236
|
eventDrag: EventInteractionState | null;
|
|
478
237
|
eventResize: EventInteractionState | null;
|
|
479
238
|
forPrint: boolean;
|
|
239
|
+
labelId: string | undefined;
|
|
240
|
+
labelStr: string | undefined;
|
|
241
|
+
borderlessX: boolean;
|
|
242
|
+
borderlessTop: boolean;
|
|
243
|
+
borderlessBottom: boolean;
|
|
244
|
+
noEdgeEffects: boolean;
|
|
480
245
|
}
|
|
481
246
|
declare function sliceEvents(props: ViewProps & {
|
|
482
247
|
dateProfile: DateProfile;
|
|
483
248
|
nextDayThreshold: Duration;
|
|
484
249
|
}, allDay?: boolean): EventRenderRange[];
|
|
485
250
|
|
|
486
|
-
type
|
|
487
|
-
type Falsy = false | null | undefined;
|
|
488
|
-
declare function joinClassNames(...args: (string | number | Falsy)[]): string;
|
|
489
|
-
declare function parseClassNames(raw: ClassNamesInput): string[];
|
|
490
|
-
declare function fracToCssDim(frac: number): string;
|
|
491
|
-
|
|
492
|
-
type MountArg<ContentArg> = ContentArg & {
|
|
251
|
+
type MountData<DisplayData> = DisplayData & {
|
|
493
252
|
el: HTMLElement;
|
|
494
253
|
};
|
|
495
|
-
type DidMountHandler<
|
|
254
|
+
type DidMountHandler<TheMountData extends {
|
|
496
255
|
el: HTMLElement;
|
|
497
|
-
}> = (
|
|
498
|
-
type WillUnmountHandler<
|
|
256
|
+
}> = (mountData: TheMountData) => void;
|
|
257
|
+
type WillUnmountHandler<TheMountData extends {
|
|
499
258
|
el: HTMLElement;
|
|
500
|
-
}> = (
|
|
259
|
+
}> = (mountData: TheMountData) => void;
|
|
501
260
|
interface ObjCustomContent {
|
|
502
261
|
html: string;
|
|
503
262
|
domNodes: any[];
|
|
504
263
|
}
|
|
505
264
|
type CustomContent = ComponentChildren | ObjCustomContent;
|
|
506
265
|
type CustomContentGenerator<RenderProps> = CustomContent | ((renderProps: RenderProps, createElement: any) => (CustomContent | true));
|
|
507
|
-
type
|
|
266
|
+
type ClassNameGenerator<RenderProps> = string | undefined | ((renderProps: RenderProps) => string | undefined);
|
|
508
267
|
|
|
509
268
|
type ViewComponentType = ComponentType<ViewProps>;
|
|
510
269
|
type ViewConfigInput = ViewComponentType | ViewOptions;
|
|
511
270
|
type ViewConfigInputHash = {
|
|
512
271
|
[viewType: string]: ViewConfigInput;
|
|
513
272
|
};
|
|
514
|
-
interface
|
|
273
|
+
interface SpecificViewData extends ViewProps {
|
|
515
274
|
nextDayThreshold: Duration;
|
|
516
275
|
}
|
|
517
|
-
type
|
|
276
|
+
type SpecificViewMountData = MountData<SpecificViewData>;
|
|
518
277
|
|
|
519
278
|
interface ViewSpec {
|
|
520
279
|
type: string;
|
|
@@ -524,10 +283,6 @@ interface ViewSpec {
|
|
|
524
283
|
singleUnit: string;
|
|
525
284
|
optionDefaults: ViewOptions;
|
|
526
285
|
optionOverrides: ViewOptions;
|
|
527
|
-
buttonTextOverride: string;
|
|
528
|
-
buttonTextDefault: string;
|
|
529
|
-
buttonTitleOverride: string | ((...args: any[]) => string);
|
|
530
|
-
buttonTitleDefault: string | ((...args: any[]) => string);
|
|
531
286
|
}
|
|
532
287
|
type ViewSpecHash = {
|
|
533
288
|
[viewType: string]: ViewSpec;
|
|
@@ -562,24 +317,72 @@ declare class ViewImpl implements ViewApi {
|
|
|
562
317
|
getOption(name: string): any;
|
|
563
318
|
}
|
|
564
319
|
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
}
|
|
320
|
+
interface ToolbarModel {
|
|
321
|
+
sectionWidgets: {
|
|
322
|
+
start: ToolbarWidget[][];
|
|
323
|
+
center: ToolbarWidget[][];
|
|
324
|
+
end: ToolbarWidget[][];
|
|
325
|
+
};
|
|
326
|
+
viewsWithButtons: string[];
|
|
327
|
+
hasTitle: boolean;
|
|
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
|
+
}
|
|
363
|
+
interface ToolbarWidget {
|
|
364
|
+
name: string;
|
|
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>;
|
|
377
|
+
}
|
|
378
|
+
interface ToolbarInput {
|
|
379
|
+
left?: string;
|
|
380
|
+
center?: string;
|
|
381
|
+
right?: string;
|
|
382
|
+
start?: string;
|
|
383
|
+
end?: string;
|
|
384
|
+
}
|
|
385
|
+
type ToolbarElementInput = CustomContentGenerator<{}>;
|
|
583
386
|
|
|
584
387
|
interface CalendarDataManagerState {
|
|
585
388
|
dynamicOptionOverrides: CalendarOptions;
|
|
@@ -600,10 +403,11 @@ interface CalendarDataManagerState {
|
|
|
600
403
|
interface CalendarOptionsData {
|
|
601
404
|
localeDefaults: CalendarOptions;
|
|
602
405
|
calendarOptions: CalendarOptionsRefined;
|
|
603
|
-
toolbarConfig:
|
|
406
|
+
toolbarConfig: {
|
|
407
|
+
[toolbarName: string]: ToolbarModel;
|
|
408
|
+
};
|
|
604
409
|
availableRawLocales: any;
|
|
605
410
|
dateEnv: DateEnv;
|
|
606
|
-
theme: Theme;
|
|
607
411
|
pluginHooks: PluginHooks;
|
|
608
412
|
viewSpecs: ViewSpecHash;
|
|
609
413
|
}
|
|
@@ -689,7 +493,7 @@ interface EventSourceFetcherRes {
|
|
|
689
493
|
rawEvents: EventInput[];
|
|
690
494
|
response?: Response;
|
|
691
495
|
}
|
|
692
|
-
type EventSourceFetcher<Meta> = (
|
|
496
|
+
type EventSourceFetcher<Meta> = (data: {
|
|
693
497
|
eventSource: EventSource<Meta>;
|
|
694
498
|
range: DateRange;
|
|
695
499
|
isRefetch: boolean;
|
|
@@ -795,7 +599,6 @@ declare class CalendarDataManager {
|
|
|
795
599
|
private buildLocale;
|
|
796
600
|
private buildPluginHooks;
|
|
797
601
|
private buildDateEnv;
|
|
798
|
-
private buildTheme;
|
|
799
602
|
private parseToolbars;
|
|
800
603
|
private buildViewSpecs;
|
|
801
604
|
private buildDateProfileGenerator;
|
|
@@ -805,7 +608,7 @@ declare class CalendarDataManager {
|
|
|
805
608
|
private buildEventUiBases;
|
|
806
609
|
private parseContextBusinessHours;
|
|
807
610
|
private buildTitle;
|
|
808
|
-
emitter: Emitter<
|
|
611
|
+
emitter: Emitter<CalendarListeners>;
|
|
809
612
|
private actionRunner;
|
|
810
613
|
private props;
|
|
811
614
|
private state;
|
|
@@ -832,14 +635,12 @@ declare class CalendarDataManager {
|
|
|
832
635
|
refinedOptions: CalendarOptionsRefined;
|
|
833
636
|
pluginHooks: PluginHooks;
|
|
834
637
|
availableLocaleData: RawLocaleInfo;
|
|
835
|
-
localeDefaults:
|
|
836
|
-
extra: {};
|
|
638
|
+
localeDefaults: any;
|
|
837
639
|
};
|
|
838
640
|
_computeCurrentViewData(viewType: string, optionsData: CalendarOptionsData, optionOverrides: CalendarOptions, dynamicOptionOverrides: CalendarOptions): CalendarCurrentViewData;
|
|
839
641
|
processRawViewOptions(viewSpec: ViewSpec, pluginHooks: PluginHooks, localeDefaults: CalendarOptions, optionOverrides: CalendarOptions, dynamicOptionOverrides: CalendarOptions): {
|
|
840
642
|
rawOptions: ViewOptions;
|
|
841
643
|
refinedOptions: ViewOptionsRefined;
|
|
842
|
-
extra: {};
|
|
843
644
|
};
|
|
844
645
|
}
|
|
845
646
|
|
|
@@ -859,14 +660,14 @@ type OptionChangeHandler = (propValue: any, context: CalendarContext) => void;
|
|
|
859
660
|
type OptionChangeHandlerMap = {
|
|
860
661
|
[propName: string]: OptionChangeHandler;
|
|
861
662
|
};
|
|
862
|
-
interface
|
|
663
|
+
interface DateSelectData extends DateSpanApi {
|
|
863
664
|
jsEvent: MouseEvent | null;
|
|
864
665
|
view: ViewApi;
|
|
865
666
|
}
|
|
866
667
|
declare function triggerDateSelect(selection: DateSpan, pev: PointerDragEvent | null, context: CalendarContext & {
|
|
867
668
|
viewApi?: ViewImpl;
|
|
868
669
|
}): void;
|
|
869
|
-
interface
|
|
670
|
+
interface DateUnselectData {
|
|
870
671
|
jsEvent: MouseEvent;
|
|
871
672
|
view: ViewApi;
|
|
872
673
|
}
|
|
@@ -875,8 +676,6 @@ declare function getDefaultEventEnd(allDay: boolean, marker: DateMarker, context
|
|
|
875
676
|
declare const ViewContextType: Context<any>;
|
|
876
677
|
interface ViewContext extends CalendarContext {
|
|
877
678
|
options: ViewOptionsRefined;
|
|
878
|
-
theme: Theme;
|
|
879
|
-
isRtl: boolean;
|
|
880
679
|
dateProfileGenerator: DateProfileGenerator;
|
|
881
680
|
viewSpec: ViewSpec;
|
|
882
681
|
viewApi: ViewImpl;
|
|
@@ -884,23 +683,10 @@ interface ViewContext extends CalendarContext {
|
|
|
884
683
|
unregisterInteractiveComponent: (component: DateComponent<any>) => void;
|
|
885
684
|
}
|
|
886
685
|
|
|
887
|
-
declare function filterHash(hash: any, func: any): {};
|
|
888
|
-
declare function mapHash<InputItem, OutputItem>(hash: {
|
|
889
|
-
[key: string]: InputItem;
|
|
890
|
-
}, func: (input: InputItem, key: string) => OutputItem): {
|
|
891
|
-
[key: string]: OutputItem;
|
|
892
|
-
};
|
|
893
|
-
declare function isPropsEqual(obj0: any, obj1: any): boolean;
|
|
894
686
|
type EqualityFunc<T> = (a: T, b: T) => boolean;
|
|
895
|
-
type
|
|
896
|
-
|
|
897
|
-
[K in keyof ObjType]?: EqualityThing<ObjType[K]>;
|
|
687
|
+
type EqualityFuncs<P> = {
|
|
688
|
+
[K in keyof P]?: EqualityFunc<P[K]>;
|
|
898
689
|
};
|
|
899
|
-
declare function compareObjs(oldProps: any, newProps: any, equalityFuncs?: EqualityFuncs<any>): boolean;
|
|
900
|
-
declare function collectFromHash<Item>(hash: {
|
|
901
|
-
[key: string]: Item;
|
|
902
|
-
}, startIndex?: number, endIndex?: number, step?: number): Item[];
|
|
903
|
-
|
|
904
690
|
declare abstract class PureComponent<Props = Dictionary, State = Dictionary> extends Component<Props, State> {
|
|
905
691
|
static addPropsEquality: typeof addPropsEquality;
|
|
906
692
|
static addStateEquality: typeof addStateEquality;
|
|
@@ -949,7 +735,7 @@ interface Hit {
|
|
|
949
735
|
context?: ViewContext;
|
|
950
736
|
dateProfile: DateProfile;
|
|
951
737
|
dateSpan: DateSpan;
|
|
952
|
-
|
|
738
|
+
getDayEl: () => HTMLElement;
|
|
953
739
|
rect: Rect;
|
|
954
740
|
layer: number;
|
|
955
741
|
largeUnit?: string;
|
|
@@ -963,7 +749,7 @@ interface EventSegUiInteractionState<S> {
|
|
|
963
749
|
declare abstract class DateComponent<Props = Dictionary, State = Dictionary> extends BaseComponent<Props, State> {
|
|
964
750
|
uid: string;
|
|
965
751
|
prepareHits(): void;
|
|
966
|
-
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;
|
|
967
753
|
isValidSegDownEl(el: HTMLElement): boolean;
|
|
968
754
|
isValidDateDownEl(el: HTMLElement): boolean;
|
|
969
755
|
}
|
|
@@ -998,8 +784,17 @@ declare function interactionSettingsToStore(settings: InteractionSettings): {
|
|
|
998
784
|
declare const interactionSettingsStore: InteractionSettingsStore;
|
|
999
785
|
|
|
1000
786
|
interface CalendarContentProps extends CalendarData {
|
|
787
|
+
toolbarProps: CalendarToolbarProps;
|
|
1001
788
|
forPrint: boolean;
|
|
1002
789
|
}
|
|
790
|
+
interface CalendarToolbarProps {
|
|
791
|
+
title: string;
|
|
792
|
+
selectedButton: string;
|
|
793
|
+
navUnit: string;
|
|
794
|
+
isTodayEnabled: boolean;
|
|
795
|
+
isPrevEnabled: boolean;
|
|
796
|
+
isNextEnabled: boolean;
|
|
797
|
+
}
|
|
1003
798
|
|
|
1004
799
|
type eventDragMutationMassager = (mutation: EventMutation, hit0: Hit, hit1: Hit) => void;
|
|
1005
800
|
type EventDropTransformers = (mutation: EventMutation, context: CalendarContext) => Dictionary;
|
|
@@ -1027,14 +822,14 @@ declare function parseDragMeta(raw: DragMetaInput): DragMeta;
|
|
|
1027
822
|
|
|
1028
823
|
type ExternalDefTransform = (dateSpan: DateSpan, dragMeta: DragMeta) => any;
|
|
1029
824
|
|
|
1030
|
-
type
|
|
825
|
+
type EventSourceFuncData = {
|
|
1031
826
|
start: Date;
|
|
1032
827
|
end: Date;
|
|
1033
828
|
startStr: string;
|
|
1034
829
|
endStr: string;
|
|
1035
830
|
timeZone: string;
|
|
1036
831
|
};
|
|
1037
|
-
type EventSourceFunc = ((
|
|
832
|
+
type EventSourceFunc = ((data: EventSourceFuncData, successCallback: (eventInputs: EventInput[]) => void, failureCallback: (error: Error) => void) => void) | ((data: EventSourceFuncData) => Promise<EventInput[]>);
|
|
1038
833
|
|
|
1039
834
|
declare const JSON_FEED_EVENT_SOURCE_REFINERS: {
|
|
1040
835
|
method: StringConstructor;
|
|
@@ -1055,13 +850,15 @@ declare const EVENT_SOURCE_REFINERS: {
|
|
|
1055
850
|
failure: Identity<EventSourceErrorResponseHandler>;
|
|
1056
851
|
};
|
|
1057
852
|
type BuiltInEventSourceRefiners = typeof EVENT_SOURCE_REFINERS & typeof JSON_FEED_EVENT_SOURCE_REFINERS;
|
|
1058
|
-
interface
|
|
853
|
+
interface EventSourceOptions extends RawOptionsFromRefiners<BuiltInEventSourceRefiners> {
|
|
854
|
+
}
|
|
855
|
+
interface EventSourceOptionsRefined extends RefinedOptionsFromRefiners<BuiltInEventSourceRefiners> {
|
|
1059
856
|
}
|
|
1060
|
-
type EventSourceInputObject = EventUiInput &
|
|
857
|
+
type EventSourceInputObject = EventUiInput & EventSourceOptions;
|
|
1061
858
|
type EventSourceInput = EventSourceInputObject | // object in extended form
|
|
1062
859
|
EventInput[] | EventSourceFunc | // just a function
|
|
1063
860
|
string;
|
|
1064
|
-
type EventSourceRefined = EventUiRefined &
|
|
861
|
+
type EventSourceRefined = EventUiRefined & EventSourceOptionsRefined;
|
|
1065
862
|
|
|
1066
863
|
interface EventSourceDef<Meta> {
|
|
1067
864
|
ignoreRange?: boolean;
|
|
@@ -1083,7 +880,7 @@ declare abstract class ElementDragging {
|
|
|
1083
880
|
emitter: Emitter<any>;
|
|
1084
881
|
constructor(el: HTMLElement, selector?: string);
|
|
1085
882
|
destroy(): void;
|
|
1086
|
-
abstract
|
|
883
|
+
abstract cancel(): void;
|
|
1087
884
|
setMirrorIsVisible(bool: boolean): void;
|
|
1088
885
|
setMirrorNeedsRevert(bool: boolean): void;
|
|
1089
886
|
setAutoScrollEnabled(bool: boolean): void;
|
|
@@ -1099,8 +896,8 @@ interface ScrollerInterface {
|
|
|
1099
896
|
x?: number;
|
|
1100
897
|
y?: number;
|
|
1101
898
|
}): void;
|
|
1102
|
-
addScrollEndListener(handler: (
|
|
1103
|
-
removeScrollEndListener(handler: (
|
|
899
|
+
addScrollEndListener(handler: (isUser: boolean) => void): void;
|
|
900
|
+
removeScrollEndListener(handler: (isUser: boolean) => void): void;
|
|
1104
901
|
}
|
|
1105
902
|
|
|
1106
903
|
interface ScrollerSyncerClass {
|
|
@@ -1135,9 +932,6 @@ interface PluginDefInput {
|
|
|
1135
932
|
eventDropTransformers?: EventDropTransformers[];
|
|
1136
933
|
componentInteractions?: InteractionClass[];
|
|
1137
934
|
calendarInteractions?: CalendarInteractionClass[];
|
|
1138
|
-
themeClasses?: {
|
|
1139
|
-
[themeSystemName: string]: ThemeClass;
|
|
1140
|
-
};
|
|
1141
935
|
eventSourceDefs?: EventSourceDef<any>[];
|
|
1142
936
|
cmdFormatter?: CmdFormatterFunc;
|
|
1143
937
|
recurringTypes?: RecurringType<any>[];
|
|
@@ -1148,6 +942,7 @@ interface PluginDefInput {
|
|
|
1148
942
|
scrollerSyncerClass?: ScrollerSyncerClass;
|
|
1149
943
|
listenerRefiners?: GenericListenerRefiners;
|
|
1150
944
|
optionRefiners?: GenericRefiners;
|
|
945
|
+
optionDefaults?: CalendarOptions;
|
|
1151
946
|
propSetHandlers?: {
|
|
1152
947
|
[propName: string]: (val: any, context: CalendarData) => void;
|
|
1153
948
|
};
|
|
@@ -1174,9 +969,6 @@ interface PluginHooks {
|
|
|
1174
969
|
eventDropTransformers: EventDropTransformers[];
|
|
1175
970
|
componentInteractions: InteractionClass[];
|
|
1176
971
|
calendarInteractions: CalendarInteractionClass[];
|
|
1177
|
-
themeClasses: {
|
|
1178
|
-
[themeSystemName: string]: ThemeClass;
|
|
1179
|
-
};
|
|
1180
972
|
eventSourceDefs: EventSourceDef<any>[];
|
|
1181
973
|
cmdFormatter?: CmdFormatterFunc;
|
|
1182
974
|
recurringTypes: RecurringType<any>[];
|
|
@@ -1187,6 +979,7 @@ interface PluginHooks {
|
|
|
1187
979
|
scrollerSyncerClass: ScrollerSyncerClass | null;
|
|
1188
980
|
listenerRefiners: GenericListenerRefiners;
|
|
1189
981
|
optionRefiners: GenericRefiners;
|
|
982
|
+
optionDefaults: CalendarOptions[];
|
|
1190
983
|
propSetHandlers: {
|
|
1191
984
|
[propName: string]: (val: any, context: CalendarData) => void;
|
|
1192
985
|
};
|
|
@@ -1306,12 +1099,10 @@ declare const EVENT_UI_REFINERS: {
|
|
|
1306
1099
|
constraint: Identity<any>;
|
|
1307
1100
|
overlap: Identity<boolean>;
|
|
1308
1101
|
allow: Identity<AllowFunc>;
|
|
1309
|
-
|
|
1310
|
-
|
|
1102
|
+
class: Identity<string>;
|
|
1103
|
+
className: Identity<string>;
|
|
1311
1104
|
color: StringConstructor;
|
|
1312
|
-
|
|
1313
|
-
borderColor: StringConstructor;
|
|
1314
|
-
textColor: StringConstructor;
|
|
1105
|
+
contrastColor: StringConstructor;
|
|
1315
1106
|
};
|
|
1316
1107
|
type BuiltInEventUiRefiners = typeof EVENT_UI_REFINERS;
|
|
1317
1108
|
interface EventUiRefiners extends BuiltInEventUiRefiners {
|
|
@@ -1325,10 +1116,9 @@ interface EventUi {
|
|
|
1325
1116
|
constraints: Constraint[];
|
|
1326
1117
|
overlap: boolean | null;
|
|
1327
1118
|
allows: AllowFunc[];
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
classNames: string[];
|
|
1119
|
+
color: string;
|
|
1120
|
+
contrastColor: string;
|
|
1121
|
+
className: string;
|
|
1332
1122
|
}
|
|
1333
1123
|
type EventUiHash = {
|
|
1334
1124
|
[defId: string]: EventUi;
|
|
@@ -1358,6 +1148,26 @@ type EventDefHash = {
|
|
|
1358
1148
|
[defId: string]: EventDef;
|
|
1359
1149
|
};
|
|
1360
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
|
+
|
|
1361
1171
|
interface EventRenderRange extends EventTuple {
|
|
1362
1172
|
ui: EventUi;
|
|
1363
1173
|
range: DateRange;
|
|
@@ -1375,12 +1185,25 @@ declare function sliceEventStore(eventStore: EventStore, eventUiBases: EventUiHa
|
|
|
1375
1185
|
declare function hasBgRendering(def: EventDef): boolean;
|
|
1376
1186
|
declare function getElEventRange(el: HTMLElement): EventRenderRange | null;
|
|
1377
1187
|
declare function sortEventSegs<S extends EventRangeProps>(segs: S[], eventOrderSpecs: OrderSpec<EventImpl>[]): S[];
|
|
1378
|
-
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 {
|
|
1379
1203
|
event: EventImpl;
|
|
1380
1204
|
timeText: string;
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
textColor: string;
|
|
1205
|
+
color: string;
|
|
1206
|
+
contrastColor: string;
|
|
1384
1207
|
isDraggable: boolean;
|
|
1385
1208
|
isStartResizable: boolean;
|
|
1386
1209
|
isEndResizable: boolean;
|
|
@@ -1393,9 +1216,18 @@ interface EventContentArg {
|
|
|
1393
1216
|
isSelected: boolean;
|
|
1394
1217
|
isDragging: boolean;
|
|
1395
1218
|
isResizing: boolean;
|
|
1219
|
+
isInteractive: boolean;
|
|
1396
1220
|
view: ViewApi;
|
|
1221
|
+
isNarrow: boolean;
|
|
1222
|
+
isShort: boolean;
|
|
1223
|
+
level: number;
|
|
1224
|
+
timeClass: string;
|
|
1225
|
+
titleClass: string;
|
|
1226
|
+
options: {
|
|
1227
|
+
eventOverlap: boolean;
|
|
1228
|
+
};
|
|
1397
1229
|
}
|
|
1398
|
-
type
|
|
1230
|
+
type EventMountData = MountData<EventDisplayData>;
|
|
1399
1231
|
declare function buildEventRangeTimeText(timeFormat: DateFormatter, eventRange: EventRenderRange, // timed/whole-day span
|
|
1400
1232
|
slicedStart: DateMarker | undefined, // view-sliced timed/whole-day span
|
|
1401
1233
|
slicedEnd: DateMarker | undefined, // view-sliced timed/whole-day span
|
|
@@ -1406,12 +1238,11 @@ declare function getEventRangeMeta(eventRange: EventRenderRange, todayRange: Dat
|
|
|
1406
1238
|
isToday: boolean;
|
|
1407
1239
|
};
|
|
1408
1240
|
declare function buildEventRangeKey(eventRange: EventRenderRange): string;
|
|
1409
|
-
declare function
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
};
|
|
1241
|
+
declare function getEventTagAndAttrs(eventRange: EventRenderRange, context: ViewContext): [
|
|
1242
|
+
tag: string,
|
|
1243
|
+
attrs: any,
|
|
1244
|
+
isInteractive: boolean
|
|
1245
|
+
];
|
|
1415
1246
|
|
|
1416
1247
|
interface OpenDateSpanInput {
|
|
1417
1248
|
start?: DateInput;
|
|
@@ -1453,16 +1284,16 @@ declare function isDateSpansEqual(span0: DateSpan, span1: DateSpan): boolean;
|
|
|
1453
1284
|
type CssDimValue = string | number;
|
|
1454
1285
|
declare function getIsHeightAuto(options: {
|
|
1455
1286
|
height?: CssDimValue;
|
|
1456
|
-
|
|
1287
|
+
contentHeight?: CssDimValue;
|
|
1457
1288
|
}): boolean;
|
|
1458
1289
|
declare function getStickyHeaderDates(options: {
|
|
1459
1290
|
height?: CssDimValue;
|
|
1460
|
-
|
|
1291
|
+
contentHeight?: CssDimValue;
|
|
1461
1292
|
stickyHeaderDates?: boolean | 'auto';
|
|
1462
1293
|
}): boolean;
|
|
1463
1294
|
declare function getStickyFooterScrollbar(options: {
|
|
1464
1295
|
height?: CssDimValue;
|
|
1465
|
-
|
|
1296
|
+
contentHeight?: CssDimValue;
|
|
1466
1297
|
stickyFooterScrollbar?: boolean | 'auto';
|
|
1467
1298
|
}): boolean;
|
|
1468
1299
|
declare function getScrollerSyncerClass(pluginHooks: {
|
|
@@ -1495,11 +1326,11 @@ declare function buildElAttrs(props: ElAttrsProps, className?: string, elRef?: E
|
|
|
1495
1326
|
|
|
1496
1327
|
type ContentContainerProps<RenderProps> = ElAttrsProps & ContentGeneratorProps<RenderProps> & {
|
|
1497
1328
|
tag?: string;
|
|
1498
|
-
classNameGenerator
|
|
1499
|
-
didMount
|
|
1329
|
+
classNameGenerator?: ClassNameGenerator<RenderProps> | undefined;
|
|
1330
|
+
didMount?: ((renderProps: RenderProps & {
|
|
1500
1331
|
el: HTMLElement;
|
|
1501
1332
|
}) => void) | undefined;
|
|
1502
|
-
willUnmount
|
|
1333
|
+
willUnmount?: ((renderProps: RenderProps & {
|
|
1503
1334
|
el: HTMLElement;
|
|
1504
1335
|
}) => void) | undefined;
|
|
1505
1336
|
children?: InnerContainerFunc<RenderProps>;
|
|
@@ -1511,43 +1342,65 @@ declare class ContentContainer<RenderProps> extends Component<ContentContainerPr
|
|
|
1511
1342
|
el: HTMLElement;
|
|
1512
1343
|
InnerContent: any;
|
|
1513
1344
|
render(): ComponentChildren;
|
|
1514
|
-
handleEl: (el: HTMLElement) => void;
|
|
1345
|
+
handleEl: (el: HTMLElement | null) => void;
|
|
1515
1346
|
componentDidMount(): void;
|
|
1516
1347
|
componentWillUnmount(): void;
|
|
1517
1348
|
}
|
|
1518
1349
|
type InnerContainerComponent = FunctionalComponent<ElProps>;
|
|
1519
1350
|
type InnerContainerFunc<RenderProps> = (InnerContainer: InnerContainerComponent, renderProps: RenderProps, attrs: ElAttrs) => ComponentChildren;
|
|
1351
|
+
declare function generateClassName<RenderProps>(classNameGenerator: ClassNameGenerator<RenderProps> | undefined, renderProps: RenderProps): string;
|
|
1520
1352
|
declare function renderText(renderProps: {
|
|
1521
1353
|
text: string;
|
|
1522
1354
|
}): ComponentChild;
|
|
1523
1355
|
|
|
1524
|
-
interface
|
|
1525
|
-
isAxis: boolean;
|
|
1356
|
+
interface NowIndicatorHeaderContainerProps extends Partial<ElProps> {
|
|
1526
1357
|
date: DateMarker;
|
|
1527
|
-
children?: InnerContainerFunc<
|
|
1358
|
+
children?: InnerContainerFunc<NowIndicatorHeaderData>;
|
|
1528
1359
|
}
|
|
1529
|
-
interface
|
|
1530
|
-
isAxis: boolean;
|
|
1360
|
+
interface NowIndicatorHeaderData {
|
|
1531
1361
|
date: Date;
|
|
1532
1362
|
view: ViewApi;
|
|
1533
1363
|
}
|
|
1534
|
-
type
|
|
1535
|
-
declare const
|
|
1364
|
+
type NowIndicatorHeaderMountData = MountData<NowIndicatorHeaderData>;
|
|
1365
|
+
declare const NowIndicatorHeaderContainer: (props: NowIndicatorHeaderContainerProps) => createElement.JSX.Element;
|
|
1536
1366
|
|
|
1537
|
-
interface
|
|
1367
|
+
interface NowIndicatorLineContainerProps extends Partial<ElProps> {
|
|
1538
1368
|
date: DateMarker;
|
|
1539
|
-
|
|
1540
|
-
children?: InnerContainerFunc<WeekNumberContentArg>;
|
|
1369
|
+
children?: InnerContainerFunc<NowIndicatorLineData>;
|
|
1541
1370
|
}
|
|
1542
|
-
interface
|
|
1543
|
-
|
|
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;
|
|
1544
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;
|
|
1545
1395
|
date: Date;
|
|
1396
|
+
text: string;
|
|
1397
|
+
textParts: DateTimeFormatPartWithWeek[];
|
|
1398
|
+
isNarrow: boolean;
|
|
1399
|
+
hasNavLink: boolean;
|
|
1546
1400
|
}
|
|
1547
|
-
type
|
|
1548
|
-
declare const WeekNumberContainer: (props: WeekNumberContainerProps) => createElement.JSX.Element;
|
|
1401
|
+
type InlineWeekNumberMountData = MountData<InlineWeekNumberData>;
|
|
1549
1402
|
|
|
1550
|
-
interface MoreLinkContainerProps extends Partial<
|
|
1403
|
+
interface MoreLinkContainerProps extends Partial<ElAttrsProps> {
|
|
1551
1404
|
dateProfile: DateProfile;
|
|
1552
1405
|
todayRange: DateRange;
|
|
1553
1406
|
allDayDate: DateMarker | null;
|
|
@@ -1558,32 +1411,31 @@ interface MoreLinkContainerProps extends Partial<ElProps> {
|
|
|
1558
1411
|
alignParentTop?: string;
|
|
1559
1412
|
forceTimed?: boolean;
|
|
1560
1413
|
popoverContent: () => ComponentChild;
|
|
1561
|
-
|
|
1562
|
-
|
|
1414
|
+
isNarrow: boolean;
|
|
1415
|
+
isMicro: boolean;
|
|
1416
|
+
display: 'row' | 'column';
|
|
1563
1417
|
}
|
|
1564
|
-
interface
|
|
1418
|
+
interface MoreLinkData$1 {
|
|
1565
1419
|
num: number;
|
|
1420
|
+
numericText: string;
|
|
1421
|
+
longText: string;
|
|
1566
1422
|
text: string;
|
|
1567
|
-
|
|
1423
|
+
isNarrow: boolean;
|
|
1568
1424
|
view: ViewApi;
|
|
1569
1425
|
}
|
|
1570
|
-
type
|
|
1426
|
+
type MoreLinkMountData = MountData<MoreLinkData$1>;
|
|
1571
1427
|
interface MoreLinkContainerState {
|
|
1572
1428
|
isPopoverOpen: boolean;
|
|
1573
1429
|
popoverId: string;
|
|
1574
1430
|
}
|
|
1575
1431
|
declare class MoreLinkContainer extends BaseComponent<MoreLinkContainerProps, MoreLinkContainerState> {
|
|
1576
1432
|
private linkEl;
|
|
1577
|
-
private parentEl;
|
|
1578
1433
|
state: {
|
|
1579
1434
|
isPopoverOpen: boolean;
|
|
1580
1435
|
popoverId: string;
|
|
1581
1436
|
};
|
|
1582
1437
|
render(): createElement.JSX.Element;
|
|
1583
|
-
componentDidMount(): void;
|
|
1584
|
-
componentDidUpdate(): void;
|
|
1585
1438
|
handleLinkEl: (linkEl: HTMLElement | null) => void;
|
|
1586
|
-
updateParentEl(): void;
|
|
1587
1439
|
handleClick: (ev: MouseEvent) => void;
|
|
1588
1440
|
handlePopoverClose: () => void;
|
|
1589
1441
|
}
|
|
@@ -1597,7 +1449,7 @@ interface EventSegment {
|
|
|
1597
1449
|
}
|
|
1598
1450
|
type MoreLinkAction = MoreLinkSimpleAction | MoreLinkHandler;
|
|
1599
1451
|
type MoreLinkSimpleAction = 'popover' | 'week' | 'day' | 'timeGridWeek' | 'timeGridDay' | string;
|
|
1600
|
-
interface
|
|
1452
|
+
interface MoreLinkData {
|
|
1601
1453
|
date: Date;
|
|
1602
1454
|
allDay: boolean;
|
|
1603
1455
|
allSegs: EventSegment[];
|
|
@@ -1605,175 +1457,137 @@ interface MoreLinkArg {
|
|
|
1605
1457
|
jsEvent: UIEvent;
|
|
1606
1458
|
view: ViewApi;
|
|
1607
1459
|
}
|
|
1608
|
-
type MoreLinkHandler = (
|
|
1460
|
+
type MoreLinkHandler = (data: MoreLinkData) => MoreLinkSimpleAction | void;
|
|
1609
1461
|
|
|
1610
1462
|
interface DateMeta {
|
|
1611
1463
|
dow: number;
|
|
1464
|
+
date: Date;
|
|
1612
1465
|
isDisabled: boolean;
|
|
1613
1466
|
isOther: boolean;
|
|
1614
1467
|
isToday: boolean;
|
|
1615
1468
|
isPast: boolean;
|
|
1616
1469
|
isFuture: boolean;
|
|
1617
1470
|
}
|
|
1618
|
-
declare function getDateMeta(
|
|
1619
|
-
declare function getDayClassName(meta: DateMeta): string;
|
|
1620
|
-
declare function getSlotClassName(meta: DateMeta): string;
|
|
1471
|
+
declare function getDateMeta(dateMarker: DateMarker, dateEnv: DateEnv, dateProfile?: DateProfile, todayRange?: DateRange, nowDate?: DateMarker): DateMeta;
|
|
1621
1472
|
|
|
1622
|
-
interface
|
|
1473
|
+
interface SlotLaneData extends DateMeta {
|
|
1623
1474
|
time?: Duration;
|
|
1624
|
-
|
|
1475
|
+
isMajor: boolean;
|
|
1476
|
+
isMinor: boolean;
|
|
1625
1477
|
view: ViewApi;
|
|
1626
1478
|
}
|
|
1627
|
-
type
|
|
1628
|
-
interface
|
|
1479
|
+
type SlotLaneMountData = MountData<SlotLaneData>;
|
|
1480
|
+
interface SlotHeaderData extends SlotLaneData {
|
|
1629
1481
|
level: number;
|
|
1630
|
-
|
|
1631
|
-
date: Date;
|
|
1632
|
-
view: ViewApi;
|
|
1482
|
+
isTime: boolean;
|
|
1633
1483
|
text: string;
|
|
1484
|
+
isNarrow: boolean;
|
|
1485
|
+
hasNavLink: boolean;
|
|
1486
|
+
isFirst: boolean;
|
|
1634
1487
|
}
|
|
1635
|
-
type
|
|
1636
|
-
interface
|
|
1488
|
+
type SlotHeaderMountData = MountData<SlotHeaderData>;
|
|
1489
|
+
interface AllDayHeaderData {
|
|
1637
1490
|
text: string;
|
|
1638
1491
|
view: ViewApi;
|
|
1492
|
+
isNarrow: boolean;
|
|
1639
1493
|
}
|
|
1640
|
-
type
|
|
1641
|
-
interface
|
|
1494
|
+
type AllDayHeaderMountData = MountData<AllDayHeaderData>;
|
|
1495
|
+
interface DayHeaderData extends DateMeta {
|
|
1642
1496
|
date: Date;
|
|
1497
|
+
isNarrow: boolean;
|
|
1498
|
+
isMajor: boolean;
|
|
1499
|
+
inPopover: boolean;
|
|
1500
|
+
hasNavLink: boolean;
|
|
1501
|
+
level: number;
|
|
1643
1502
|
text: string;
|
|
1503
|
+
textParts: Intl.DateTimeFormatPart[];
|
|
1504
|
+
weekdayText: string;
|
|
1505
|
+
dayNumberText: string;
|
|
1644
1506
|
view: ViewApi;
|
|
1645
1507
|
[otherProp: string]: any;
|
|
1646
1508
|
}
|
|
1647
|
-
type
|
|
1648
|
-
|
|
1649
|
-
interface DayCellContentArg extends DateMeta {
|
|
1509
|
+
type DayHeaderMountData = MountData<DayHeaderData>;
|
|
1510
|
+
interface DayCellData extends DateMeta {
|
|
1650
1511
|
date: DateMarker;
|
|
1512
|
+
isMajor: boolean;
|
|
1513
|
+
isNarrow: boolean;
|
|
1514
|
+
inPopover: boolean;
|
|
1515
|
+
hasNavLink: boolean;
|
|
1651
1516
|
view: ViewApi;
|
|
1517
|
+
text: string;
|
|
1518
|
+
textParts: Intl.DateTimeFormatPart[];
|
|
1652
1519
|
dayNumberText: string;
|
|
1520
|
+
monthText: string;
|
|
1521
|
+
options: {
|
|
1522
|
+
businessHours: boolean;
|
|
1523
|
+
};
|
|
1653
1524
|
[extraProp: string]: any;
|
|
1654
1525
|
}
|
|
1655
|
-
type
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
dateProfile: DateProfile;
|
|
1659
|
-
todayRange: DateRange;
|
|
1660
|
-
isMonthStart?: boolean;
|
|
1661
|
-
showDayNumber?: boolean;
|
|
1662
|
-
renderProps?: Dictionary;
|
|
1663
|
-
defaultGenerator?: (renderProps: DayCellContentArg) => ComponentChild;
|
|
1664
|
-
children?: InnerContainerFunc<DayCellContentArg>;
|
|
1665
|
-
}
|
|
1666
|
-
declare class DayCellContainer extends BaseComponent<DayCellContainerProps> {
|
|
1667
|
-
refineRenderProps: (arg: DayCellRenderPropsInput) => DayCellContentArg;
|
|
1668
|
-
render(): createElement.JSX.Element;
|
|
1669
|
-
}
|
|
1670
|
-
declare function hasCustomDayCellContent(options: ViewOptions): boolean;
|
|
1671
|
-
interface DayCellRenderPropsInput {
|
|
1526
|
+
type DayCellMountData = MountData<DayCellData>;
|
|
1527
|
+
|
|
1528
|
+
interface DayLaneData extends DateMeta {
|
|
1672
1529
|
date: DateMarker;
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
isMonthStart: boolean;
|
|
1679
|
-
showDayNumber?: boolean;
|
|
1680
|
-
renderProps?: Dictionary;
|
|
1530
|
+
isNarrow: boolean;
|
|
1531
|
+
isStack: boolean;
|
|
1532
|
+
isMajor: boolean;
|
|
1533
|
+
view: ViewApi;
|
|
1534
|
+
[extraProp: string]: any;
|
|
1681
1535
|
}
|
|
1536
|
+
type DayLaneMountData = MountData<DayLaneData>;
|
|
1682
1537
|
|
|
1683
1538
|
interface ViewContainerProps extends Partial<ElProps> {
|
|
1684
1539
|
viewSpec: ViewSpec;
|
|
1540
|
+
attrs?: any;
|
|
1685
1541
|
children: ComponentChildren;
|
|
1542
|
+
borderlessX: boolean;
|
|
1543
|
+
borderlessTop: boolean;
|
|
1544
|
+
borderlessBottom: boolean;
|
|
1545
|
+
noEdgeEffects: boolean;
|
|
1686
1546
|
}
|
|
1687
|
-
interface
|
|
1547
|
+
interface ViewDisplayData {
|
|
1688
1548
|
view: ViewApi;
|
|
1689
1549
|
}
|
|
1690
|
-
type
|
|
1550
|
+
type ViewMountData = MountData<ViewDisplayData>;
|
|
1691
1551
|
declare class ViewContainer extends BaseComponent<ViewContainerProps> {
|
|
1692
1552
|
render(): createElement.JSX.Element;
|
|
1693
1553
|
}
|
|
1694
1554
|
|
|
1695
|
-
interface
|
|
1555
|
+
interface EventClickData {
|
|
1696
1556
|
el: HTMLElement;
|
|
1697
1557
|
event: EventImpl;
|
|
1698
1558
|
jsEvent: MouseEvent;
|
|
1699
1559
|
view: ViewApi;
|
|
1700
1560
|
}
|
|
1701
1561
|
|
|
1702
|
-
interface
|
|
1562
|
+
interface EventHoveringData {
|
|
1703
1563
|
el: HTMLElement;
|
|
1704
1564
|
event: EventImpl;
|
|
1705
1565
|
jsEvent: MouseEvent;
|
|
1706
1566
|
view: ViewApi;
|
|
1707
1567
|
}
|
|
1708
1568
|
|
|
1709
|
-
|
|
1710
|
-
left?: string;
|
|
1711
|
-
center?: string;
|
|
1712
|
-
right?: string;
|
|
1713
|
-
start?: string;
|
|
1714
|
-
end?: string;
|
|
1715
|
-
}
|
|
1716
|
-
interface CustomButtonInput {
|
|
1717
|
-
text?: string;
|
|
1718
|
-
hint?: string;
|
|
1719
|
-
icon?: string;
|
|
1720
|
-
themeIcon?: string;
|
|
1721
|
-
bootstrapFontAwesome?: string;
|
|
1722
|
-
click?(ev: MouseEvent, element: HTMLElement): void;
|
|
1723
|
-
}
|
|
1724
|
-
interface ButtonIconsInput {
|
|
1725
|
-
prev?: string;
|
|
1726
|
-
next?: string;
|
|
1727
|
-
prevYear?: string;
|
|
1728
|
-
nextYear?: string;
|
|
1729
|
-
today?: string;
|
|
1730
|
-
[viewOrCustomButton: string]: string | undefined;
|
|
1731
|
-
}
|
|
1732
|
-
interface ButtonTextCompoundInput {
|
|
1733
|
-
prev?: string;
|
|
1734
|
-
next?: string;
|
|
1735
|
-
prevYear?: string;
|
|
1736
|
-
nextYear?: string;
|
|
1737
|
-
today?: string;
|
|
1738
|
-
month?: string;
|
|
1739
|
-
week?: string;
|
|
1740
|
-
day?: string;
|
|
1741
|
-
[viewOrCustomButton: string]: string | undefined;
|
|
1742
|
-
}
|
|
1743
|
-
interface ButtonHintCompoundInput {
|
|
1744
|
-
prev?: string | ((...args: any[]) => string);
|
|
1745
|
-
next?: string | ((...args: any[]) => string);
|
|
1746
|
-
prevYear?: string | ((...args: any[]) => string);
|
|
1747
|
-
nextYear?: string | ((...args: any[]) => string);
|
|
1748
|
-
today?: string | ((...args: any[]) => string);
|
|
1749
|
-
month?: string | ((...args: any[]) => string);
|
|
1750
|
-
week?: string | ((...args: any[]) => string);
|
|
1751
|
-
day?: string | ((...args: any[]) => string);
|
|
1752
|
-
[viewOrCustomButton: string]: string | ((...args: any[]) => string) | undefined;
|
|
1753
|
-
}
|
|
1754
|
-
|
|
1755
|
-
type DatesSetArg = RangeApiWithTimeZone & {
|
|
1569
|
+
type DatesSetData = RangeApiWithTimeZone & {
|
|
1756
1570
|
view: ViewApi;
|
|
1757
1571
|
};
|
|
1758
1572
|
|
|
1759
|
-
interface
|
|
1573
|
+
interface EventAddData {
|
|
1760
1574
|
event: EventImpl;
|
|
1761
1575
|
relatedEvents: EventImpl[];
|
|
1762
1576
|
revert: () => void;
|
|
1763
1577
|
}
|
|
1764
|
-
interface
|
|
1578
|
+
interface EventChangeData {
|
|
1765
1579
|
oldEvent: EventImpl;
|
|
1766
1580
|
event: EventImpl;
|
|
1767
1581
|
relatedEvents: EventImpl[];
|
|
1768
1582
|
revert: () => void;
|
|
1769
1583
|
}
|
|
1770
|
-
interface
|
|
1584
|
+
interface EventDropData extends EventChangeData {
|
|
1771
1585
|
el: HTMLElement;
|
|
1772
1586
|
delta: Duration;
|
|
1773
1587
|
jsEvent: MouseEvent;
|
|
1774
1588
|
view: ViewApi$1;
|
|
1775
1589
|
}
|
|
1776
|
-
interface
|
|
1590
|
+
interface EventRemoveData {
|
|
1777
1591
|
event: EventImpl;
|
|
1778
1592
|
relatedEvents: EventImpl[];
|
|
1779
1593
|
revert: () => void;
|
|
@@ -1801,6 +1615,22 @@ declare class CustomRenderingStore<RenderProps> extends Store<Map<string, Custom
|
|
|
1801
1615
|
handle(customRendering: CustomRendering<RenderProps>): void;
|
|
1802
1616
|
}
|
|
1803
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
|
+
|
|
1804
1634
|
interface EventApi {
|
|
1805
1635
|
source: EventSourceApi | null;
|
|
1806
1636
|
start: Date | null;
|
|
@@ -1818,10 +1648,9 @@ interface EventApi {
|
|
|
1818
1648
|
constraint: any;
|
|
1819
1649
|
overlap: boolean;
|
|
1820
1650
|
allow: any;
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
classNames: string[];
|
|
1651
|
+
color: string;
|
|
1652
|
+
contrastColor: string;
|
|
1653
|
+
className: string;
|
|
1825
1654
|
extendedProps: Dictionary;
|
|
1826
1655
|
setProp(name: string, val: any): void;
|
|
1827
1656
|
setExtendedProp(name: string, val: any): void;
|
|
@@ -1846,7 +1675,6 @@ interface EventApi {
|
|
|
1846
1675
|
remove(): void;
|
|
1847
1676
|
toPlainObject(settings?: {
|
|
1848
1677
|
collapseExtendedProps?: boolean;
|
|
1849
|
-
collapseColor?: boolean;
|
|
1850
1678
|
}): Dictionary;
|
|
1851
1679
|
toJSON(): Dictionary;
|
|
1852
1680
|
}
|
|
@@ -1887,15 +1715,64 @@ interface CalendarApi {
|
|
|
1887
1715
|
scrollToTime(timeInput: DurationInput): void;
|
|
1888
1716
|
}
|
|
1889
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
|
+
|
|
1890
1740
|
declare const BASE_OPTION_REFINERS: {
|
|
1891
1741
|
navLinkDayClick: Identity<string | ((this: CalendarApi, date: Date, jsEvent: UIEvent) => void)>;
|
|
1892
1742
|
navLinkWeekClick: Identity<string | ((this: CalendarApi, weekStart: Date, jsEvent: UIEvent) => void)>;
|
|
1893
1743
|
duration: typeof createDuration;
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
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;
|
|
1898
1755
|
}>;
|
|
1756
|
+
toolbarElements: Identity<{
|
|
1757
|
+
[elementName: string]: ToolbarElementInput;
|
|
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>>;
|
|
1899
1776
|
defaultAllDayEventDuration: typeof createDuration;
|
|
1900
1777
|
defaultTimedEventDuration: typeof createDuration;
|
|
1901
1778
|
nextDayThreshold: typeof createDuration;
|
|
@@ -1911,34 +1788,39 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
1911
1788
|
defaultRangeSeparator: StringConstructor;
|
|
1912
1789
|
titleRangeSeparator: StringConstructor;
|
|
1913
1790
|
forceEventDuration: BooleanConstructor;
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
dayHeaderDidMount: Identity<DidMountHandler<DayHeaderMountArg>>;
|
|
1919
|
-
dayHeaderWillUnmount: Identity<WillUnmountHandler<DayHeaderMountArg>>;
|
|
1920
|
-
dayCellClassNames: Identity<ClassNamesGenerator<DayCellContentArg>>;
|
|
1921
|
-
dayCellContent: Identity<CustomContentGenerator<DayCellContentArg>>;
|
|
1922
|
-
dayCellDidMount: Identity<DidMountHandler<DayCellMountArg>>;
|
|
1923
|
-
dayCellWillUnmount: Identity<WillUnmountHandler<DayCellMountArg>>;
|
|
1791
|
+
dayLaneClass: Identity<ClassNameGenerator<DayLaneData>>;
|
|
1792
|
+
dayLaneInnerClass: Identity<ClassNameGenerator<DayLaneData>>;
|
|
1793
|
+
dayLaneDidMount: Identity<DidMountHandler<DayLaneMountData>>;
|
|
1794
|
+
dayLaneWillUnmount: Identity<WillUnmountHandler<DayLaneMountData>>;
|
|
1924
1795
|
initialView: StringConstructor;
|
|
1925
1796
|
aspectRatio: NumberConstructor;
|
|
1926
1797
|
weekends: BooleanConstructor;
|
|
1927
1798
|
weekNumberCalculation: Identity<WeekNumberCalculation>;
|
|
1928
1799
|
weekNumbers: BooleanConstructor;
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
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>>;
|
|
1933
1809
|
editable: BooleanConstructor;
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1810
|
+
controller: Identity<CalendarController>;
|
|
1811
|
+
viewClass: Identity<ClassNameGenerator<ViewDisplayData>>;
|
|
1812
|
+
viewDidMount: Identity<DidMountHandler<ViewMountData>>;
|
|
1813
|
+
viewWillUnmount: Identity<WillUnmountHandler<ViewMountData>>;
|
|
1937
1814
|
nowIndicator: BooleanConstructor;
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
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>>;
|
|
1942
1824
|
showNonCurrentDates: BooleanConstructor;
|
|
1943
1825
|
lazyFetching: BooleanConstructor;
|
|
1944
1826
|
startParam: StringConstructor;
|
|
@@ -1947,7 +1829,6 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
1947
1829
|
timeZone: StringConstructor;
|
|
1948
1830
|
locales: Identity<LocaleInput[]>;
|
|
1949
1831
|
locale: Identity<LocaleSingularArg>;
|
|
1950
|
-
themeSystem: Identity<string>;
|
|
1951
1832
|
dragRevertDuration: NumberConstructor;
|
|
1952
1833
|
dragScroll: BooleanConstructor;
|
|
1953
1834
|
allDayMaintainDuration: BooleanConstructor;
|
|
@@ -1966,8 +1847,6 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
1966
1847
|
eventResizableFromStart: BooleanConstructor;
|
|
1967
1848
|
displayEventTime: BooleanConstructor;
|
|
1968
1849
|
displayEventEnd: BooleanConstructor;
|
|
1969
|
-
weekText: StringConstructor;
|
|
1970
|
-
weekTextLong: StringConstructor;
|
|
1971
1850
|
progressiveEventRendering: BooleanConstructor;
|
|
1972
1851
|
businessHours: Identity<BusinessHoursInput>;
|
|
1973
1852
|
initialDate: Identity<DateInput>;
|
|
@@ -1975,7 +1854,6 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
1975
1854
|
eventDataTransform: Identity<EventInputTransformer>;
|
|
1976
1855
|
stickyHeaderDates: Identity<boolean | "auto">;
|
|
1977
1856
|
stickyFooterScrollbar: Identity<boolean | "auto">;
|
|
1978
|
-
viewHeight: Identity<CssDimValue>;
|
|
1979
1857
|
defaultAllDay: BooleanConstructor;
|
|
1980
1858
|
eventSourceFailure: Identity<(this: CalendarApi, error: any) => void>;
|
|
1981
1859
|
eventSourceSuccess: Identity<(this: CalendarApi, eventsInput: EventInput[], response?: Response) => EventInput[] | void>;
|
|
@@ -1985,37 +1863,159 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
1985
1863
|
eventOverlap: Identity<boolean | OverlapFunc>;
|
|
1986
1864
|
eventConstraint: Identity<ConstraintInput>;
|
|
1987
1865
|
eventAllow: Identity<AllowFunc>;
|
|
1988
|
-
eventBackgroundColor: StringConstructor;
|
|
1989
|
-
eventBorderColor: StringConstructor;
|
|
1990
|
-
eventTextColor: StringConstructor;
|
|
1991
1866
|
eventColor: StringConstructor;
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
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
|
+
}>>;
|
|
1996
1954
|
selectConstraint: Identity<ConstraintInput>;
|
|
1997
1955
|
selectOverlap: Identity<boolean | OverlapFunc>;
|
|
1998
1956
|
selectAllow: Identity<AllowFunc>;
|
|
1999
1957
|
droppable: BooleanConstructor;
|
|
2000
1958
|
unselectCancel: StringConstructor;
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
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
|
+
}>>;
|
|
2010
1980
|
dayMaxEvents: Identity<number | boolean>;
|
|
2011
1981
|
dayMaxEventRows: Identity<number | boolean>;
|
|
2012
1982
|
dayMinWidth: NumberConstructor;
|
|
2013
|
-
|
|
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;
|
|
2014
2012
|
allDayText: StringConstructor;
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
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>>;
|
|
2018
|
+
timedText: StringConstructor;
|
|
2019
2019
|
slotMinWidth: NumberConstructor;
|
|
2020
2020
|
navLinks: BooleanConstructor;
|
|
2021
2021
|
eventTimeFormat: typeof createFormatter;
|
|
@@ -2044,29 +2044,61 @@ declare const BASE_OPTION_REFINERS: {
|
|
|
2044
2044
|
titleFormat: Identity<FormatterInput>;
|
|
2045
2045
|
eventInteractive: BooleanConstructor;
|
|
2046
2046
|
noEventsText: StringConstructor;
|
|
2047
|
-
viewHint: Identity<string | ((
|
|
2048
|
-
|
|
2047
|
+
viewHint: Identity<string | ((viewButtonText: string, viewName: string) => string)>;
|
|
2048
|
+
viewChangeHint: StringConstructor;
|
|
2049
|
+
navLinkHint: Identity<string | ((dateText: string, date: Date) => string)>;
|
|
2049
2050
|
closeHint: StringConstructor;
|
|
2050
|
-
|
|
2051
|
-
|
|
2051
|
+
eventsHint: StringConstructor;
|
|
2052
|
+
headingLevel: NumberConstructor;
|
|
2052
2053
|
moreLinkClick: Identity<MoreLinkAction>;
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
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>;
|
|
2057
2064
|
monthStartFormat: typeof createFormatter;
|
|
2065
|
+
dayCellFormat: typeof createFormatter;
|
|
2058
2066
|
handleCustomRendering: Identity<CustomRenderingHandler<any>>;
|
|
2059
2067
|
customRenderingMetaMap: Identity<{
|
|
2060
2068
|
[optionName: string]: any;
|
|
2061
2069
|
}>;
|
|
2062
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>;
|
|
2063
2094
|
};
|
|
2064
|
-
type
|
|
2065
|
-
interface
|
|
2095
|
+
type BaseOptionRefiners = typeof BASE_OPTION_REFINERS;
|
|
2096
|
+
interface BaseOptions extends RawOptionsFromRefiners<BaseOptionRefiners> {
|
|
2097
|
+
}
|
|
2098
|
+
interface BaseOptionsRefined extends RefinedOptionsFromRefiners<BaseOptionRefiners> {
|
|
2066
2099
|
}
|
|
2067
|
-
type BaseOptions = RawOptionsFromRefiners<// as RawOptions
|
|
2068
|
-
Required<BaseOptionRefiners>>;
|
|
2069
2100
|
declare const BASE_OPTION_DEFAULTS: {
|
|
2101
|
+
buttonDisplay: string;
|
|
2070
2102
|
eventDisplay: string;
|
|
2071
2103
|
defaultRangeSeparator: string;
|
|
2072
2104
|
titleRangeSeparator: string;
|
|
@@ -2076,14 +2108,8 @@ declare const BASE_OPTION_DEFAULTS: {
|
|
|
2076
2108
|
};
|
|
2077
2109
|
forceEventDuration: boolean;
|
|
2078
2110
|
nextDayThreshold: string;
|
|
2079
|
-
dayHeaders: boolean;
|
|
2080
2111
|
initialView: string;
|
|
2081
2112
|
aspectRatio: number;
|
|
2082
|
-
headerToolbar: {
|
|
2083
|
-
start: string;
|
|
2084
|
-
center: string;
|
|
2085
|
-
end: string;
|
|
2086
|
-
};
|
|
2087
2113
|
weekends: boolean;
|
|
2088
2114
|
weekNumbers: boolean;
|
|
2089
2115
|
weekNumberCalculation: WeekNumberCalculation;
|
|
@@ -2101,7 +2127,6 @@ declare const BASE_OPTION_DEFAULTS: {
|
|
|
2101
2127
|
timeZone: string;
|
|
2102
2128
|
locales: any[];
|
|
2103
2129
|
locale: string;
|
|
2104
|
-
themeSystem: string;
|
|
2105
2130
|
dragRevertDuration: number;
|
|
2106
2131
|
dragScroll: boolean;
|
|
2107
2132
|
allDayMaintainDuration: boolean;
|
|
@@ -2125,20 +2150,31 @@ declare const BASE_OPTION_DEFAULTS: {
|
|
|
2125
2150
|
month: string;
|
|
2126
2151
|
day: string;
|
|
2127
2152
|
};
|
|
2153
|
+
dayCellFormat: {
|
|
2154
|
+
day: string;
|
|
2155
|
+
};
|
|
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;
|
|
2128
2166
|
};
|
|
2129
|
-
type BaseOptionsRefined = DefaultedRefinedOptions<RefinedOptionsFromRefiners<Required<BaseOptionRefiners>>, // Required is a hack for "Index signature is missing"
|
|
2130
|
-
keyof typeof BASE_OPTION_DEFAULTS>;
|
|
2131
2167
|
declare const CALENDAR_LISTENER_REFINERS: {
|
|
2132
|
-
datesSet: Identity<(
|
|
2168
|
+
datesSet: Identity<(data: DatesSetData) => void>;
|
|
2133
2169
|
eventsSet: Identity<(events: EventApi[]) => void>;
|
|
2134
|
-
eventAdd: Identity<(
|
|
2135
|
-
eventChange: Identity<(
|
|
2136
|
-
eventRemove: Identity<(
|
|
2137
|
-
eventClick: Identity<(
|
|
2138
|
-
eventMouseEnter: Identity<(
|
|
2139
|
-
eventMouseLeave: Identity<(
|
|
2140
|
-
select: Identity<(
|
|
2141
|
-
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>;
|
|
2142
2178
|
loading: Identity<(isLoading: boolean) => void>;
|
|
2143
2179
|
_unmount: Identity<() => void>;
|
|
2144
2180
|
_beforeprint: Identity<() => void>;
|
|
@@ -2147,14 +2183,12 @@ declare const CALENDAR_LISTENER_REFINERS: {
|
|
|
2147
2183
|
_noEventResize: Identity<() => void>;
|
|
2148
2184
|
_timeScrollRequest: Identity<(time: Duration) => void>;
|
|
2149
2185
|
};
|
|
2150
|
-
type
|
|
2151
|
-
interface
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
declare const
|
|
2156
|
-
buttonText: Identity<ButtonTextCompoundInput>;
|
|
2157
|
-
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: {
|
|
2158
2192
|
views: Identity<{
|
|
2159
2193
|
[viewId: string]: ViewOptions;
|
|
2160
2194
|
}>;
|
|
@@ -2163,19 +2197,19 @@ declare const CALENDAR_OPTION_REFINERS: {
|
|
|
2163
2197
|
events: Identity<EventSourceInput>;
|
|
2164
2198
|
eventSources: Identity<EventSourceInput[]>;
|
|
2165
2199
|
};
|
|
2166
|
-
type
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
type CalendarOptionsRefined = BaseOptionsRefined & CalendarListenersLoose & RefinedOptionsFromRefiners<Required<CalendarOptionRefiners>>;
|
|
2171
|
-
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: {
|
|
2172
2204
|
[name: string]: any;
|
|
2173
2205
|
};
|
|
2174
|
-
type
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
type ViewOptions = BaseOptions &
|
|
2178
|
-
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;
|
|
2179
2213
|
declare function refineProps<Refiners extends GenericRefiners, Raw extends RawOptionsFromRefiners<Refiners>>(input: Raw, refiners: Refiners): {
|
|
2180
2214
|
refined: RefinedOptionsFromRefiners<Refiners>;
|
|
2181
2215
|
extra: Dictionary;
|
|
@@ -2192,29 +2226,64 @@ type RawOptionsFromRefiners<Refiners extends GenericRefiners> = {
|
|
|
2192
2226
|
type RefinedOptionsFromRefiners<Refiners extends GenericRefiners> = {
|
|
2193
2227
|
[Prop in keyof Refiners]?: Refiners[Prop] extends ((input: any) => infer RefinedType) ? RefinedType : never;
|
|
2194
2228
|
};
|
|
2195
|
-
type DefaultedRefinedOptions<RefinedOptions extends Dictionary, DefaultKey extends keyof RefinedOptions> = Required<Pick<RefinedOptions, DefaultKey>> & Partial<Omit<RefinedOptions, DefaultKey>>;
|
|
2196
2229
|
type Dictionary = Record<string, any>;
|
|
2197
2230
|
type Identity<T = any> = (raw: T) => T;
|
|
2198
2231
|
declare function identity<T>(raw: T): T;
|
|
2199
2232
|
|
|
2233
|
+
declare class JsonRequestError extends Error {
|
|
2234
|
+
response: Response;
|
|
2235
|
+
constructor(message: string, response: Response);
|
|
2236
|
+
}
|
|
2237
|
+
declare function requestJson<ParsedResponse>(method: string, url: string, params: Dictionary): Promise<[ParsedResponse, Response]>;
|
|
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
|
+
|
|
2200
2244
|
declare function computeVisibleDayRange(timedRange: OpenDateRange, nextDayThreshold?: Duration): OpenDateRange;
|
|
2201
2245
|
declare function diffDates(date0: DateMarker, date1: DateMarker, dateEnv: DateEnv, largeUnit?: string): Duration;
|
|
2202
2246
|
|
|
2203
|
-
declare
|
|
2204
|
-
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;
|
|
2205
2255
|
|
|
2206
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;
|
|
2207
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;
|
|
2208
|
-
|
|
2209
|
-
declare function
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
[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;
|
|
2215
2264
|
};
|
|
2216
|
-
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;
|
|
2217
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;
|
|
2218
2287
|
declare function applyStyle(el: HTMLElement, props: Dictionary): void;
|
|
2219
2288
|
declare function getEventTargetViaRoot(ev: Event): EventTarget;
|
|
2220
2289
|
declare function getUniqueDomId(): string;
|
|
@@ -2223,26 +2292,25 @@ declare function isDimsEqual(v0: number | undefined, v1: number): boolean;
|
|
|
2223
2292
|
|
|
2224
2293
|
type SizeCallback = (width: number, height: number) => void;
|
|
2225
2294
|
type DisconnectSize = () => void;
|
|
2226
|
-
type WatchSize = (el: HTMLElement, callback: SizeCallback,
|
|
2295
|
+
type WatchSize = (el: HTMLElement, callback: SizeCallback, watchWidth?: boolean, watchHeight?: boolean) => DisconnectSize;
|
|
2227
2296
|
declare function afterSize(callback: () => void): void;
|
|
2228
2297
|
declare const watchSize: WatchSize;
|
|
2229
2298
|
declare function watchWidth(el: HTMLElement, callback: (width: number) => void): DisconnectSize;
|
|
2230
2299
|
declare function watchHeight(el: HTMLElement, callback: (height: number) => void): DisconnectSize;
|
|
2231
2300
|
|
|
2232
|
-
declare function
|
|
2301
|
+
declare function buildDateStr(context: ViewContext, dateMarker: DateMarker, viewType?: string): string;
|
|
2302
|
+
declare function buildNavLinkAttrs(context: ViewContext, dateMarker: DateMarker, viewType?: string, dateStr?: string, isTabbable?: boolean): {
|
|
2233
2303
|
tabIndex: number;
|
|
2234
2304
|
onKeyDown(ev: KeyboardEvent): void;
|
|
2235
2305
|
onClick: (ev: UIEvent) => void;
|
|
2236
|
-
|
|
2237
|
-
'
|
|
2238
|
-
|
|
2306
|
+
role: any;
|
|
2307
|
+
'aria-label': any;
|
|
2308
|
+
className: string;
|
|
2239
2309
|
} | {
|
|
2240
2310
|
onClick: (ev: UIEvent) => void;
|
|
2241
|
-
|
|
2242
|
-
'
|
|
2243
|
-
|
|
2244
|
-
} | {
|
|
2245
|
-
'aria-label': string;
|
|
2311
|
+
role: any;
|
|
2312
|
+
'aria-label': any;
|
|
2313
|
+
className: string;
|
|
2246
2314
|
};
|
|
2247
2315
|
|
|
2248
2316
|
declare function preventDefault(ev: any): void;
|
|
@@ -2331,17 +2399,6 @@ declare class WindowScrollController extends ScrollController {
|
|
|
2331
2399
|
getClientWidth(): number;
|
|
2332
2400
|
}
|
|
2333
2401
|
|
|
2334
|
-
declare function buildIsoString(marker: DateMarker, timeZoneOffset?: number, stripZeroTime?: boolean): string;
|
|
2335
|
-
declare function formatDayString(marker: DateMarker): string;
|
|
2336
|
-
declare function formatIsoMonthStr(marker: DateMarker): string;
|
|
2337
|
-
declare function formatIsoTimeString(marker: DateMarker): string;
|
|
2338
|
-
|
|
2339
|
-
declare function parse(str: any): {
|
|
2340
|
-
marker: Date;
|
|
2341
|
-
isTimeUnspecified: boolean;
|
|
2342
|
-
timeZoneOffset: any;
|
|
2343
|
-
};
|
|
2344
|
-
|
|
2345
2402
|
interface CoordSpan {
|
|
2346
2403
|
start: number;
|
|
2347
2404
|
size: number;
|
|
@@ -2407,9 +2464,8 @@ declare const config: any;
|
|
|
2407
2464
|
|
|
2408
2465
|
interface CalendarRootProps {
|
|
2409
2466
|
options: CalendarOptions;
|
|
2410
|
-
theme: Theme;
|
|
2411
2467
|
emitter: Emitter<CalendarListeners>;
|
|
2412
|
-
children: (
|
|
2468
|
+
children: (isRtl: boolean, className: string, height: CssDimValue | undefined, forPrint: boolean) => ComponentChildren;
|
|
2413
2469
|
}
|
|
2414
2470
|
interface CalendarRootState {
|
|
2415
2471
|
forPrint: boolean;
|
|
@@ -2438,41 +2494,56 @@ interface DayGridRange extends SlicedCoordRange {
|
|
|
2438
2494
|
interface DayTableCell {
|
|
2439
2495
|
key: string;
|
|
2440
2496
|
date: DateMarker;
|
|
2497
|
+
isMajor: boolean;
|
|
2441
2498
|
renderProps?: Dictionary;
|
|
2442
2499
|
attrs?: Dictionary;
|
|
2443
2500
|
className?: string;
|
|
2444
2501
|
dateSpanProps?: Dictionary;
|
|
2445
2502
|
}
|
|
2446
2503
|
declare class DayTableModel {
|
|
2447
|
-
|
|
2448
|
-
|
|
2504
|
+
private dateEnv;
|
|
2505
|
+
private majorUnit;
|
|
2506
|
+
rowCount: number;
|
|
2507
|
+
colCount: number;
|
|
2449
2508
|
cellRows: DayTableCell[][];
|
|
2450
2509
|
headerDates: DateMarker[];
|
|
2451
2510
|
private daySeries;
|
|
2452
|
-
constructor(daySeries: DaySeriesModel, breakOnWeeks: boolean);
|
|
2511
|
+
constructor(daySeries: DaySeriesModel, breakOnWeeks: boolean, dateEnv: DateEnv, majorUnit?: string);
|
|
2453
2512
|
buildCells(): any[];
|
|
2454
2513
|
private buildCell;
|
|
2514
|
+
protected cellIsMajor(dateMarker: DateMarker): boolean;
|
|
2455
2515
|
private buildHeaderDates;
|
|
2456
2516
|
sliceRange(range: DateRange): DayGridRange[];
|
|
2457
2517
|
}
|
|
2458
2518
|
|
|
2459
2519
|
declare class ScrollListener {
|
|
2460
2520
|
el: HTMLElement;
|
|
2461
|
-
emitter: Emitter<
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2521
|
+
emitter: Emitter<{
|
|
2522
|
+
scrollStart: (isUser: boolean) => void;
|
|
2523
|
+
scroll: (isUser: boolean) => void;
|
|
2524
|
+
scrollEnd: (isUser: boolean) => void;
|
|
2525
|
+
}>;
|
|
2466
2526
|
private wheelWaiter;
|
|
2467
2527
|
private scrollWaiter;
|
|
2528
|
+
private isScroll;
|
|
2529
|
+
private isScrollRecent;
|
|
2530
|
+
private isWheelRecent;
|
|
2531
|
+
private isMouseDown;
|
|
2532
|
+
private isTouchDown;
|
|
2533
|
+
private isMouse;
|
|
2534
|
+
private isTouch;
|
|
2535
|
+
private isWheel;
|
|
2468
2536
|
constructor(el: HTMLElement);
|
|
2469
2537
|
destroy(): void;
|
|
2470
2538
|
private startScroll;
|
|
2471
2539
|
endScroll(): void;
|
|
2540
|
+
private getIsUser;
|
|
2472
2541
|
private handleScroll;
|
|
2473
|
-
private
|
|
2542
|
+
private handleScrollWait;
|
|
2474
2543
|
private handleWheel;
|
|
2475
|
-
private
|
|
2544
|
+
private handleWheelWait;
|
|
2545
|
+
private handleMouseDown;
|
|
2546
|
+
private handleMouseUp;
|
|
2476
2547
|
private handleTouchStart;
|
|
2477
2548
|
private handleTouchEnd;
|
|
2478
2549
|
}
|
|
@@ -2482,23 +2553,24 @@ interface ScrollerProps {
|
|
|
2482
2553
|
horizontal?: boolean;
|
|
2483
2554
|
hideScrollbars?: boolean;
|
|
2484
2555
|
children: ComponentChildren;
|
|
2485
|
-
className?: string;
|
|
2486
|
-
style?: Dictionary;
|
|
2487
2556
|
clientWidthRef?: Ref<number>;
|
|
2488
2557
|
clientHeightRef?: Ref<number>;
|
|
2489
|
-
endScrollbarWidthRef?: Ref<number>;
|
|
2490
2558
|
bottomScrollbarWidthRef?: Ref<number>;
|
|
2559
|
+
className?: string;
|
|
2560
|
+
style?: Dictionary;
|
|
2491
2561
|
}
|
|
2492
2562
|
declare class Scroller extends DateComponent<ScrollerProps> implements ScrollerInterface {
|
|
2493
2563
|
private el?;
|
|
2494
2564
|
listener: ScrollListener;
|
|
2495
|
-
private
|
|
2496
|
-
private
|
|
2497
|
-
private
|
|
2498
|
-
private
|
|
2499
|
-
private
|
|
2565
|
+
private disconnectHRuler?;
|
|
2566
|
+
private disconnectVRuler?;
|
|
2567
|
+
private clientWidth?;
|
|
2568
|
+
private clientHeight?;
|
|
2569
|
+
private bottomScrollbarWidth?;
|
|
2500
2570
|
render(): createElement.JSX.Element;
|
|
2501
2571
|
handleEl: (el: HTMLDivElement | null) => void;
|
|
2572
|
+
handleHRuler: (el: HTMLDivElement | null) => void;
|
|
2573
|
+
handleVRuler: (el: HTMLDivElement | null) => void;
|
|
2502
2574
|
endScroll(): void;
|
|
2503
2575
|
get x(): number;
|
|
2504
2576
|
get y(): number;
|
|
@@ -2506,11 +2578,11 @@ declare class Scroller extends DateComponent<ScrollerProps> implements ScrollerI
|
|
|
2506
2578
|
x?: number;
|
|
2507
2579
|
y?: number;
|
|
2508
2580
|
}): void;
|
|
2509
|
-
addScrollEndListener(handler: (
|
|
2510
|
-
removeScrollEndListener(handler: (
|
|
2581
|
+
addScrollEndListener(handler: (isUser: boolean) => void): void;
|
|
2582
|
+
removeScrollEndListener(handler: (isUser: boolean) => void): void;
|
|
2511
2583
|
}
|
|
2512
|
-
declare function getNormalizedScrollX(el: HTMLElement
|
|
2513
|
-
declare function setNormalizedScrollX(el: HTMLElement,
|
|
2584
|
+
declare function getNormalizedScrollX(el: HTMLElement): number;
|
|
2585
|
+
declare function setNormalizedScrollX(el: HTMLElement, x: number): void;
|
|
2514
2586
|
|
|
2515
2587
|
interface SliceableProps {
|
|
2516
2588
|
dateSelection: DateSpan;
|
|
@@ -2553,12 +2625,6 @@ declare function isInteractionValid(interaction: EventInteractionState, dateProf
|
|
|
2553
2625
|
declare function isDateSelectionValid(dateSelection: DateSpan, dateProfile: DateProfile, context: CalendarContext): boolean;
|
|
2554
2626
|
declare function isPropsValid(state: SplittableProps, context: CalendarContext, dateSpanMeta?: {}, filterConfig?: any): boolean;
|
|
2555
2627
|
|
|
2556
|
-
declare class JsonRequestError extends Error {
|
|
2557
|
-
response: Response;
|
|
2558
|
-
constructor(message: string, response: Response);
|
|
2559
|
-
}
|
|
2560
|
-
declare function requestJson<ParsedResponse>(method: string, url: string, params: Dictionary): Promise<[ParsedResponse, Response]>;
|
|
2561
|
-
|
|
2562
2628
|
declare class DelayedRunner {
|
|
2563
2629
|
private drainedOption?;
|
|
2564
2630
|
private isRunning;
|
|
@@ -2576,11 +2642,16 @@ declare class DelayedRunner {
|
|
|
2576
2642
|
protected drained(): void;
|
|
2577
2643
|
}
|
|
2578
2644
|
|
|
2579
|
-
interface
|
|
2580
|
-
|
|
2581
|
-
|
|
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;
|
|
2582
2654
|
}
|
|
2583
|
-
declare function getScrollbarWidths(): ScrollbarWidths;
|
|
2584
2655
|
|
|
2585
2656
|
declare class RefMap<K, V> {
|
|
2586
2657
|
masterCallback?: (val: V, key: K) => void;
|
|
@@ -2592,8 +2663,6 @@ declare class RefMap<K, V> {
|
|
|
2592
2663
|
handleValue: (val: V, key: K) => void;
|
|
2593
2664
|
}
|
|
2594
2665
|
|
|
2595
|
-
declare function getIsRtlScrollbarOnLeft(): boolean;
|
|
2596
|
-
|
|
2597
2666
|
interface NowTimerProps {
|
|
2598
2667
|
unit: string;
|
|
2599
2668
|
children: (now: DateMarker, todayRange: DateRange) => ComponentChildren;
|
|
@@ -2620,7 +2689,9 @@ declare class NowTimer extends Component<NowTimerProps, NowTimerState> {
|
|
|
2620
2689
|
|
|
2621
2690
|
interface StandardEventProps {
|
|
2622
2691
|
elRef?: ElRef;
|
|
2692
|
+
attrs?: any;
|
|
2623
2693
|
className?: string;
|
|
2694
|
+
display: 'list-item' | 'row' | 'column';
|
|
2624
2695
|
eventRange: EventRenderRange;
|
|
2625
2696
|
slicedStart?: DateMarker;
|
|
2626
2697
|
slicedEnd?: DateMarker;
|
|
@@ -2628,7 +2699,7 @@ interface StandardEventProps {
|
|
|
2628
2699
|
isEnd: boolean;
|
|
2629
2700
|
isDragging: boolean;
|
|
2630
2701
|
isResizing: boolean;
|
|
2631
|
-
|
|
2702
|
+
isMirror: boolean;
|
|
2632
2703
|
isSelected: boolean;
|
|
2633
2704
|
isPast: boolean;
|
|
2634
2705
|
isFuture: boolean;
|
|
@@ -2638,38 +2709,26 @@ interface StandardEventProps {
|
|
|
2638
2709
|
defaultTimeFormat: DateFormatter;
|
|
2639
2710
|
defaultDisplayEventTime?: boolean;
|
|
2640
2711
|
defaultDisplayEventEnd?: boolean;
|
|
2712
|
+
isNarrow?: boolean;
|
|
2713
|
+
isShort?: boolean;
|
|
2714
|
+
level?: number;
|
|
2715
|
+
forcedTimeText?: string;
|
|
2716
|
+
disableLiquid?: boolean;
|
|
2717
|
+
disableZindexes?: boolean;
|
|
2641
2718
|
}
|
|
2642
2719
|
declare class StandardEvent extends BaseComponent<StandardEventProps> {
|
|
2720
|
+
private buildPublicEvent;
|
|
2721
|
+
private el;
|
|
2643
2722
|
render(): createElement.JSX.Element;
|
|
2723
|
+
handleEl: (el: HTMLElement | null) => void;
|
|
2724
|
+
componentDidUpdate(prevProps: StandardEventProps): void;
|
|
2644
2725
|
}
|
|
2645
2726
|
|
|
2646
|
-
interface
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
slicedEnd?: DateMarker;
|
|
2650
|
-
isStart: boolean;
|
|
2651
|
-
isEnd: boolean;
|
|
2652
|
-
isDragging: boolean;
|
|
2653
|
-
isResizing: boolean;
|
|
2654
|
-
isDateSelecting: boolean;
|
|
2655
|
-
isSelected: boolean;
|
|
2656
|
-
isPast: boolean;
|
|
2657
|
-
isFuture: boolean;
|
|
2658
|
-
isToday: boolean;
|
|
2659
|
-
}
|
|
2660
|
-
type EventContainerProps = ElProps & MinimalEventProps & {
|
|
2661
|
-
defaultGenerator: (renderProps: EventContentArg) => ComponentChild;
|
|
2662
|
-
disableDragging?: boolean;
|
|
2663
|
-
disableResizing?: boolean;
|
|
2664
|
-
timeText: string;
|
|
2665
|
-
children?: InnerContainerFunc<EventContentArg>;
|
|
2666
|
-
};
|
|
2667
|
-
declare class EventContainer extends BaseComponent<EventContainerProps> {
|
|
2668
|
-
el: HTMLElement;
|
|
2669
|
-
render(): createElement.JSX.Element;
|
|
2670
|
-
handleEl: (el: HTMLElement | null) => void;
|
|
2671
|
-
componentDidUpdate(prevProps: EventContainerProps): void;
|
|
2727
|
+
interface NowIndicatorDotProps {
|
|
2728
|
+
className?: string;
|
|
2729
|
+
style?: any;
|
|
2672
2730
|
}
|
|
2731
|
+
declare const NowIndicatorDot: (props: NowIndicatorDotProps) => createElement.JSX.Element;
|
|
2673
2732
|
|
|
2674
2733
|
interface BgEventProps {
|
|
2675
2734
|
eventRange: EventRenderRange;
|
|
@@ -2678,20 +2737,26 @@ interface BgEventProps {
|
|
|
2678
2737
|
isPast: boolean;
|
|
2679
2738
|
isFuture: boolean;
|
|
2680
2739
|
isToday: boolean;
|
|
2740
|
+
isNarrow?: boolean;
|
|
2741
|
+
isShort?: boolean;
|
|
2742
|
+
isVertical: boolean;
|
|
2681
2743
|
}
|
|
2682
2744
|
declare class BgEvent extends BaseComponent<BgEventProps> {
|
|
2745
|
+
private buildPublicEvent;
|
|
2746
|
+
private el;
|
|
2683
2747
|
render(): createElement.JSX.Element;
|
|
2748
|
+
handleEl: (el: HTMLElement | null) => void;
|
|
2749
|
+
componentDidUpdate(prevProps: BgEventProps): void;
|
|
2684
2750
|
}
|
|
2685
|
-
declare function renderFill(fillType: string): createElement.JSX.Element;
|
|
2686
|
-
|
|
2687
|
-
declare function injectStyles(styleText: string): void;
|
|
2751
|
+
declare function renderFill(fillType: string, options: ViewOptionsRefined): createElement.JSX.Element;
|
|
2688
2752
|
|
|
2689
|
-
interface
|
|
2753
|
+
interface FooterScrollbarProps {
|
|
2754
|
+
isSticky?: boolean;
|
|
2690
2755
|
canvasWidth: CssDimValue;
|
|
2691
2756
|
scrollerRef?: Ref<Scroller>;
|
|
2692
2757
|
scrollbarWidthRef?: Ref<number>;
|
|
2693
2758
|
}
|
|
2694
|
-
declare class
|
|
2759
|
+
declare class FooterScrollbar extends BaseComponent<FooterScrollbarProps> {
|
|
2695
2760
|
rootElRef: preact.RefObject<HTMLDivElement>;
|
|
2696
2761
|
disconnectHeight?: () => void;
|
|
2697
2762
|
render(): createElement.JSX.Element;
|
|
@@ -2699,4 +2764,4 @@ declare class StickyFooterScrollbar extends BaseComponent<StickyFooterScrollbarP
|
|
|
2699
2764
|
componentWillUnmount(): void;
|
|
2700
2765
|
}
|
|
2701
2766
|
|
|
2702
|
-
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 };
|