@arcgis/common-components 5.2.0-next.98 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/2BAY5JIH.js +2 -0
- package/dist/cdn/3DRZ5HBF.js +2 -0
- package/dist/cdn/{AFHSFRPM.js → 3TI3WMQ7.js} +1 -1
- package/dist/cdn/3VE4YUY3.js +2 -0
- package/dist/cdn/4TZVXSQZ.js +2 -0
- package/dist/cdn/5BL2ZVAO.js +2 -0
- package/dist/cdn/5IM4X2GT.js +2 -0
- package/dist/cdn/7GQB27Y6.js +2 -0
- package/dist/cdn/7LLZKIWR.js +2 -0
- package/dist/cdn/AAPEBXI5.js +2 -0
- package/dist/cdn/{MI3POVS3.js → AQDHLYTU.js} +1 -1
- package/dist/cdn/B4XGN56Y.js +2 -0
- package/dist/cdn/C462OTP3.js +2 -0
- package/dist/cdn/D2DHNMUH.js +2 -0
- package/dist/cdn/D7EBOKKR.js +4 -0
- package/dist/cdn/E5KC44AF.js +2 -0
- package/dist/cdn/{QSAZAXZ3.js → ENYZ2JUB.js} +1 -1
- package/dist/cdn/{DGU6DCZP.js → EW33LYTO.js} +154 -154
- package/dist/cdn/G3JARXLK.js +2 -0
- package/dist/cdn/H34RAA2R.js +2 -0
- package/dist/cdn/{TWW63D32.js → H4Q2JVNO.js} +1 -1
- package/dist/cdn/H7YT6M7U.js +2 -0
- package/dist/cdn/{VENSWYOD.js → JVBXHMZZ.js} +1 -1
- package/dist/cdn/KSPDGVUU.js +2 -0
- package/dist/cdn/{27EUJ42B.js → L7XGWJZF.js} +1 -1
- package/dist/cdn/{TXXMMPA6.js → LESK7PJP.js} +1 -1
- package/dist/cdn/{AD4MYZ4B.js → MSWZITYE.js} +1 -1
- package/dist/cdn/MXOYFUNA.js +2 -0
- package/dist/cdn/O4H2JR53.js +2 -0
- package/dist/cdn/OTBUP6VU.js +2 -0
- package/dist/cdn/PCX66U2U.js +2 -0
- package/dist/cdn/POTARK2J.js +2 -0
- package/dist/cdn/{BEODRJOB.js → PXM22A4W.js} +1 -1
- package/dist/cdn/QO7Y7FVY.js +2 -0
- package/dist/cdn/RB3GRZTS.js +2 -0
- package/dist/cdn/RNLPUNWJ.js +2 -0
- package/dist/cdn/RWIUPBP3.js +2 -0
- package/dist/cdn/SWJQKQVE.js +2 -0
- package/dist/cdn/U4YHH4XW.js +2 -0
- package/dist/cdn/VDY6O5OG.js +2 -0
- package/dist/cdn/{7RMMYGBW.js → VIJOYDJV.js} +1 -1
- package/dist/cdn/{BGE7ETFU.js → YLLIIP6N.js} +1 -1
- package/dist/cdn/{E6NBHGTX.js → YVFMVC7S.js} +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/coordinate-system-picker/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/field-info/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/slider-field/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/slider-field/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/slider-histogram-range/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/value-picker/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/value-picker/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/element-reference-controller.js +7 -5
- package/dist/chunks/locale.js +2 -2
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/strategies.js +287 -0
- package/dist/chunks/toolbar.js +9 -0
- package/dist/chunks/types.js +16 -0
- package/dist/chunks/utils.js +17 -27
- package/dist/chunks/utils3.js +3 -3
- package/dist/components/arcgis-ckeditor5/customElement.js +4349 -4330
- package/dist/components/arcgis-field-info/customElement.d.ts +25 -23
- package/dist/components/arcgis-field-info/customElement.js +74 -79
- package/dist/components/arcgis-field-pick-list/customElement.d.ts +15 -12
- package/dist/components/arcgis-field-pick-list/customElement.js +209 -118
- package/dist/components/arcgis-field-pick-list/index.js +4 -3
- package/dist/components/arcgis-histogram/customElement.d.ts +8 -0
- package/dist/components/arcgis-histogram/customElement.js +104 -99
- package/dist/components/arcgis-label-input/customElement.js +19 -15
- package/dist/components/arcgis-slider/customElement.d.ts +15 -0
- package/dist/components/arcgis-slider/customElement.js +439 -270
- package/dist/components/arcgis-slider-field/customElement.d.ts +43 -41
- package/dist/components/arcgis-slider-field/customElement.js +59 -335
- package/dist/components/arcgis-slider-histogram-range/customElement.d.ts +392 -0
- package/dist/components/arcgis-slider-histogram-range/customElement.js +126 -0
- package/dist/components/arcgis-slider-histogram-range/index.d.ts +1 -0
- package/dist/components/arcgis-slider-histogram-range/index.js +3 -0
- package/dist/components/arcgis-slider-histogram-range/types.d.ts +6 -0
- package/dist/components/arcgis-ticks/customElement.d.ts +14 -0
- package/dist/components/arcgis-ticks/customElement.js +50 -45
- package/dist/components/arcgis-toolbar/customElement.d.ts +29 -6
- package/dist/components/arcgis-toolbar/customElement.js +62 -35
- package/dist/components/arcgis-toolbar/types.d.ts +33 -1
- package/dist/components/arcgis-toolbar-action/customElement.d.ts +1 -1
- package/dist/components/arcgis-toolbar-action/customElement.js +14 -19
- package/dist/components/arcgis-toolbar-group/customElement.js +20 -19
- package/dist/components/arcgis-toolbar-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-toolbar-item/customElement.js +14 -14
- package/dist/components/arcgis-toolbar-more-button/customElement.js +7 -7
- package/dist/components/arcgis-toolbar-split-button/customElement.js +15 -14
- package/dist/components/arcgis-toolbar-stack/customElement.d.ts +48 -0
- package/dist/components/arcgis-toolbar-stack/customElement.js +175 -0
- package/dist/components/arcgis-toolbar-stack/index.d.ts +1 -0
- package/dist/components/arcgis-toolbar-stack/index.js +1 -0
- package/dist/components/arcgis-unique-values-list/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +9 -1
- package/dist/components/arcgis-value-picker/customElement.js +25 -21
- package/dist/components/arcgis-value-picker/index.js +1 -1
- package/dist/components/arcgis-value-picker/types.d.ts +2 -4
- package/dist/components/arcgis-value-picker-combobox/customElement.js +4 -4
- package/dist/components/arcgis-value-picker-label/customElement.d.ts +6 -0
- package/dist/components/arcgis-value-picker-label/customElement.js +6 -6
- package/dist/components/arcgis-value-picker-slider/customElement.js +18 -18
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/index.js +2 -0
- package/dist/loader.js +11 -9
- package/dist/types/lumina.d.ts +20 -6
- package/dist/types/preact.d.ts +22 -6
- package/dist/types/react.d.ts +24 -6
- package/dist/types/stencil.d.ts +20 -6
- package/dist/utils/types.d.ts +14 -1
- package/package.json +7 -6
- package/dist/cdn/2PEF5AVV.js +0 -2
- package/dist/cdn/3CGEPM2G.js +0 -2
- package/dist/cdn/3NPK3XHQ.js +0 -2
- package/dist/cdn/3RMCUQWC.js +0 -2
- package/dist/cdn/56FZY46A.js +0 -2
- package/dist/cdn/5PTU24YF.js +0 -2
- package/dist/cdn/6PGCMA3Z.js +0 -2
- package/dist/cdn/77PLMLQX.js +0 -2
- package/dist/cdn/7HJ55YSN.js +0 -2
- package/dist/cdn/B57H5R7I.js +0 -2
- package/dist/cdn/EWNQZP7X.js +0 -2
- package/dist/cdn/FEREAY2X.js +0 -2
- package/dist/cdn/HL3WXOVS.js +0 -2
- package/dist/cdn/INYBREGG.js +0 -2
- package/dist/cdn/KCTVPWKZ.js +0 -2
- package/dist/cdn/KMEK46VM.js +0 -4
- package/dist/cdn/L5FYKALB.js +0 -2
- package/dist/cdn/LSIDKRJW.js +0 -2
- package/dist/cdn/NH4LEYDW.js +0 -2
- package/dist/cdn/ODCJ6CWI.js +0 -2
- package/dist/cdn/RP5JQ3O2.js +0 -2
- package/dist/cdn/VCZLD7ZT.js +0 -2
- package/dist/cdn/VILUEVNS.js +0 -2
- package/dist/cdn/VOBBBIYC.js +0 -2
- package/dist/cdn/Y42WUDYP.js +0 -2
- package/dist/cdn/ZLUCRCS4.js +0 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as f } from "../../chunks/runtime.js";
|
|
3
3
|
import { html as n } from "lit";
|
|
4
|
-
import { ref as
|
|
5
|
-
import { LitElement as
|
|
4
|
+
import { ref as $ } from "lit/directives/ref.js";
|
|
5
|
+
import { LitElement as v, createEvent as g, nothing as c, safeClassMap as b } from "@arcgis/lumina";
|
|
6
6
|
import { W as s } from "../../chunks/utils.js";
|
|
7
|
-
import { E as
|
|
8
|
-
import { g as
|
|
9
|
-
class
|
|
7
|
+
import { E as u } from "../../chunks/element-reference-controller.js";
|
|
8
|
+
import { g as x } from "../../chunks/utils2.js";
|
|
9
|
+
class C extends v {
|
|
10
10
|
constructor() {
|
|
11
|
-
super(...arguments), this._active = !1, this._elementReferenceController = new
|
|
11
|
+
super(...arguments), this._active = !1, this._elementReferenceController = new u(this), this.icon = "question-mark", this.tooltipText = "", this.labelText = "", this.disabled = !1, this.loading = !1, this.iconFlipRtl = !1, this.arcgisItemSelected = g();
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
14
|
this.properties = { icon: 3, lastActivated: 0, active: 7, tooltipText: 1, labelText: 3, disabled: 7, loading: 7, iconFlipRtl: 7, actionElement: 32 };
|
|
@@ -25,18 +25,18 @@ class x extends $ {
|
|
|
25
25
|
measure({ scale: t }) {
|
|
26
26
|
return [s.action[t] + s.actionPadding[t]];
|
|
27
27
|
}
|
|
28
|
-
proxiedRender(t,
|
|
29
|
-
const l = t.tooltipAppearance, a = this._elementReferenceController.element,
|
|
30
|
-
return
|
|
28
|
+
proxiedRender(t, e, r) {
|
|
29
|
+
const l = t.tooltipAppearance, a = this._elementReferenceController.element, d = l !== "native" && e === "collapsed-action", m = l === "native" && e === "collapsed-action", h = l === "calcite-dark" ? "calcite-mode-dark" : void 0, p = x(t), i = this.tooltipText || this.labelText;
|
|
30
|
+
return e === "dropdown-item" ? n`<calcite-dropdown-item .disabled=${this.disabled} icon-start=${this.icon ?? c} .iconFlipRtl=${this.iconFlipRtl ? "both" : void 0} .label=${i} @calciteDropdownItemSelect=${(o) => this._handleDropdownItemClick(o)} .selected=${this.active || r}>${this.labelText}</calcite-dropdown-item>` : n`<calcite-action .active=${this.active} .disabled=${this.disabled} .icon=${this.icon} .iconFlipRtl=${this.iconFlipRtl} .label=${i} .loading=${this.loading} @click=${(o) => this._handleActionClick(o)} .scale=${t.scale} .text=${this.labelText} .textEnabled=${e === "expanded-action"} title=${(m ? i : void 0) ?? c} ${$(this._elementReferenceController.ref)}></calcite-action>${d && a ? n`<calcite-tooltip class=${b(h)} close-on-click overlay-positioning=fixed .placement=${p} .referenceElement=${a}><span>${i}</span></calcite-tooltip>` : void 0}`;
|
|
31
31
|
}
|
|
32
32
|
_handleActionClick(t) {
|
|
33
|
-
this.isConnected && this.arcgisItemSelected?.emit({ element: t.currentTarget });
|
|
33
|
+
this.isConnected && (this.lastActivated = /* @__PURE__ */ new Date(), this.arcgisItemSelected?.emit({ element: t.currentTarget }));
|
|
34
34
|
}
|
|
35
35
|
_handleDropdownItemClick(t) {
|
|
36
|
-
this.isConnected && this.arcgisItemSelected?.emit({ element: t.currentTarget });
|
|
36
|
+
this.isConnected && (this.lastActivated = /* @__PURE__ */ new Date(), this.arcgisItemSelected?.emit({ element: t.currentTarget }));
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
f("arcgis-toolbar-item", C);
|
|
40
40
|
export {
|
|
41
|
-
|
|
41
|
+
C as ArcgisToolbarItem
|
|
42
42
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as A } from "../../chunks/runtime.js";
|
|
3
|
-
import { ref as
|
|
3
|
+
import { ref as u } from "lit/directives/ref.js";
|
|
4
4
|
import { html as m } from "lit";
|
|
5
5
|
import { LitElement as C, nothing as v, safeClassMap as $ } from "@arcgis/lumina";
|
|
6
|
-
import { L as
|
|
6
|
+
import { L as f } from "../../chunks/types.js";
|
|
7
7
|
import { E as w } from "../../chunks/element-reference-controller.js";
|
|
8
8
|
import { a as g, u as _, g as y } from "../../chunks/utils2.js";
|
|
9
9
|
import { b as L } from "../../chunks/utils3.js";
|
|
@@ -11,7 +11,7 @@ class R extends C {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this._elementReferenceController = new w(this), this._childrenObserver = new MutationObserver(() => {
|
|
13
13
|
this._syncChildren();
|
|
14
|
-
}), this.priority =
|
|
14
|
+
}), this.priority = f.Medium, this.menuAppearance = "action-menu", this.overflowActionLabel = "More actions";
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { _children: 16, priority: 9, menuAppearance: 1, overflowActionLabel: 1 };
|
|
@@ -21,10 +21,10 @@ class R extends C {
|
|
|
21
21
|
if (!t)
|
|
22
22
|
return [0];
|
|
23
23
|
const i = g(e), l = t * i;
|
|
24
|
-
if (!(this.priority <
|
|
24
|
+
if (!(this.priority < f.NeverCollapse && t > 2))
|
|
25
25
|
return [l];
|
|
26
26
|
const s = Math.min(t, 2) * i, o = [s];
|
|
27
|
-
if (t <= 2 || this.priority <=
|
|
27
|
+
if (t <= 2 || this.priority <= f.ForceCollapse)
|
|
28
28
|
return o;
|
|
29
29
|
for (let n = 1; n < t - 1; n++)
|
|
30
30
|
o.push(s + i * n);
|
|
@@ -34,8 +34,8 @@ class R extends C {
|
|
|
34
34
|
const i = this._children;
|
|
35
35
|
if (!i)
|
|
36
36
|
return;
|
|
37
|
-
const { visible: l, hidden: r } = this._resolveActionsFromBudget(i, e, t), s = "hamburger", o = this.overflowActionLabel, n = e.tooltipAppearance, c = n !== "native", a = this._elementReferenceController.element, p = n === "calcite-dark" ? "calcite-mode-dark" : void 0, h = y(e), b = this.menuAppearance === "action-menu" ? m`<calcite-action-menu .label=${o} overlay-positioning=fixed .placement=${h}><calcite-action .icon=${s} .scale=${e.scale} slot=trigger .text=${o} title=${(n === "native" ? o : "") ?? v} ${
|
|
38
|
-
return m`${l.map((d) => d.proxiedRender(e, "collapsed-action"))}${r.length ? b : void 0}${r.length && c ? m`<calcite-tooltip class=${$(p)} overlay-positioning=fixed .placement=${h} .referenceElement=${a}><span>${o}</span></calcite-tooltip>` : void 0}`;
|
|
37
|
+
const { visible: l, hidden: r } = this._resolveActionsFromBudget(i, e, t), s = "hamburger", o = this.overflowActionLabel, n = e.tooltipAppearance, c = n !== "native", a = this._elementReferenceController.element, p = n === "calcite-dark" ? "calcite-mode-dark" : void 0, h = y(e), b = this.menuAppearance === "action-menu" ? m`<calcite-action-menu .label=${o} overlay-positioning=fixed .placement=${h}><calcite-action .icon=${s} .scale=${e.scale} slot=trigger .text=${o} title=${(n === "native" ? o : "") ?? v} ${u(this._elementReferenceController.ref)}></calcite-action>${r.map((d) => d.proxiedRender(e, "expanded-action"))}</calcite-action-menu>` : m`<calcite-action .icon=${s} .scale=${e.scale} .text=${o} title=${(n === "native" ? o : "") ?? v} ${u(this._elementReferenceController.ref)}></calcite-action><calcite-dropdown overlay-positioning=fixed .placement=${h} .referenceElement=${a}><calcite-dropdown-group selection-mode=none>${r.map((d) => d.proxiedRender(e, "dropdown-item"))}</calcite-dropdown-group></calcite-dropdown>`;
|
|
38
|
+
return m`${l.map((d) => d.proxiedRender(e, "collapsed-action"))}${r.length ? b : void 0}${r.length && c ? m`<calcite-tooltip class=${$(p)} close-on-click overlay-positioning=fixed .placement=${h} .referenceElement=${a}><span>${o}</span></calcite-tooltip>` : void 0}`;
|
|
39
39
|
}
|
|
40
40
|
connectedCallback() {
|
|
41
41
|
super.connectedCallback(), this._childrenObserver.observe(this.el, { childList: !0 }), this._syncChildren();
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as y } from "../../chunks/runtime.js";
|
|
3
|
-
import { ref as
|
|
3
|
+
import { ref as $ } from "lit/directives/ref.js";
|
|
4
4
|
import { html as d } from "lit";
|
|
5
5
|
import { LitElement as _, nothing as h, safeClassMap as a } from "@arcgis/lumina";
|
|
6
6
|
import { E as L } from "../../chunks/element-reference-controller.js";
|
|
7
|
-
import { L as f
|
|
8
|
-
import { a as
|
|
9
|
-
import { b as
|
|
7
|
+
import { L as f } from "../../chunks/types.js";
|
|
8
|
+
import { a as C, u as R, g as E } from "../../chunks/utils2.js";
|
|
9
|
+
import { b as k } from "../../chunks/utils3.js";
|
|
10
|
+
import { W as O } from "../../chunks/utils.js";
|
|
10
11
|
class S extends _ {
|
|
11
12
|
constructor() {
|
|
12
13
|
super(...arguments), this._elementReferenceController = new L(this), this._childrenObserver = new MutationObserver(() => this._syncChildren()), this.priority = f.Medium, this.menuAppearance = "dropdown", this.overflowActionLabel = "More actions";
|
|
@@ -18,18 +19,18 @@ class S extends _ {
|
|
|
18
19
|
const { priority: n, _children: i } = this, r = i?.length ?? 0;
|
|
19
20
|
if (!r)
|
|
20
21
|
return [0];
|
|
21
|
-
const o =
|
|
22
|
+
const o = C(e), s = r * o;
|
|
22
23
|
if (!(n < f.NeverCollapse) || r <= 1)
|
|
23
24
|
return [s];
|
|
24
|
-
const l = o +
|
|
25
|
-
return n <= f.ForceCollapse ? [l] :
|
|
25
|
+
const l = o + W(e);
|
|
26
|
+
return n <= f.ForceCollapse ? [l] : R([l, s]);
|
|
26
27
|
}
|
|
27
28
|
proxiedRender(e, n) {
|
|
28
29
|
const i = this._children;
|
|
29
30
|
if (!i)
|
|
30
31
|
return;
|
|
31
|
-
const { visible: r, hidden: o } = this._resolveActionsFromBudget(i, e, n, this.menuAppearance === "dropdown"), s =
|
|
32
|
-
return d`<div class="split-host">${r.map((c) => c.proxiedRender(e, "collapsed-action"))}${o.length ? w : void 0}${o.length && m ? d`<calcite-tooltip class=${a(A)} overlay-positioning=fixed .placement=${u} .referenceElement=${
|
|
32
|
+
const { visible: r, hidden: o } = this._resolveActionsFromBudget(i, e, n, this.menuAppearance === "dropdown"), s = T(e), t = this.overflowActionLabel, l = e.tooltipAppearance, m = l !== "native", v = this._elementReferenceController.element, A = l === "calcite-dark" ? "calcite-mode-dark" : void 0, g = "split-anchor", b = o.length ? "split-menu" : "", u = E(e), w = this.menuAppearance === "action-menu" ? d`<calcite-action-menu class=${a(b)} .label=${t} overlay-positioning=fixed .placement=${u}><calcite-action class=${a(g)} data-layout=${e.layout ?? h} .icon=${s} .label=${t} .scale=${e.scale} slot=trigger .text=${t} title=${t ?? h} ${$(this._elementReferenceController.ref)}></calcite-action>${o.map((c) => c.proxiedRender(e, "expanded-action"))}</calcite-action-menu>` : d`<calcite-action class=${a(g)} data-layout=${e.layout ?? h} .icon=${s} .label=${t} .scale=${e.scale} .text=${l === "native" ? t : ""} title=${t ?? h} ${$(this._elementReferenceController.ref)}></calcite-action><calcite-dropdown class=${a(b)} overlay-positioning=fixed .placement=${u} .referenceElement=${v} .scale=${e.scale}><calcite-dropdown-group selection-mode=single>${o.map((c) => c.proxiedRender(e, "dropdown-item", c === r.at(0)))}</calcite-dropdown-group></calcite-dropdown>`;
|
|
33
|
+
return d`<div class="split-host">${r.map((c) => c.proxiedRender(e, "collapsed-action"))}${o.length ? w : void 0}${o.length && m ? d`<calcite-tooltip class=${a(A)} close-on-click overlay-positioning=fixed .placement=${u} .referenceElement=${v}><span>${t}</span></calcite-tooltip>` : void 0}</div>`;
|
|
33
34
|
}
|
|
34
35
|
connectedCallback() {
|
|
35
36
|
super.connectedCallback(), this._childrenObserver.observe(this.el, { childList: !0 }), this._syncChildren();
|
|
@@ -38,8 +39,8 @@ class S extends _ {
|
|
|
38
39
|
this._childrenObserver.disconnect(), super.disconnectedCallback();
|
|
39
40
|
}
|
|
40
41
|
_resolveActionsFromBudget(e, n, i, r) {
|
|
41
|
-
const o = e.find((m) => m.active) ?? e?.toSorted(
|
|
42
|
-
if (Math.floor(i /
|
|
42
|
+
const o = e.find((m) => m.active) ?? e?.toSorted(k)?.at(0);
|
|
43
|
+
if (Math.floor(i / C(n)) >= e.length)
|
|
43
44
|
return { visible: [...e], hidden: [] };
|
|
44
45
|
if (r)
|
|
45
46
|
return { visible: [o ?? e[0]], hidden: [...e] };
|
|
@@ -54,11 +55,11 @@ class S extends _ {
|
|
|
54
55
|
});
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
+
function T({ layout: p, relativePosition: e }) {
|
|
58
59
|
return p === "horizontal" ? e.startsWith("top") ? "chevron-down" : "chevron-up" : e.endsWith("left") ? "chevron-right" : "chevron-left";
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
-
return
|
|
61
|
+
function W({ layout: p, scale: e }) {
|
|
62
|
+
return O.splitButtonPart[p][e];
|
|
62
63
|
}
|
|
63
64
|
y("arcgis-toolbar-split-button", S);
|
|
64
65
|
export {
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Component to support laying out multiple toolbars.
|
|
6
|
+
*
|
|
7
|
+
* This is intended to be relatively simple; toolbars are 'stacked' vertically and horizontally
|
|
8
|
+
* according to layout, docking behavior, and available space.
|
|
9
|
+
*
|
|
10
|
+
* A single ruler element is shared across toolbars to simplify the calculations and avoid
|
|
11
|
+
* issues (e.g. if the toolbar is offset relative to another toolbar, that would affect the positioning of the ruler element).
|
|
12
|
+
*
|
|
13
|
+
* The general rule is the input order of the toolbar elements determines the semantic priority. Based on that priority,
|
|
14
|
+
* higher priority elements are stuck to the outside, with smaller/lower priority elements flowing towards the center.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export abstract class ArcgisToolbarStack extends LitElement {
|
|
19
|
+
/** Toolbar orientation */
|
|
20
|
+
accessor layout: "horizontal" | "vertical";
|
|
21
|
+
/**
|
|
22
|
+
* Relative position is used to control how popover element placement and directional arrows
|
|
23
|
+
* are chosen. This is used in conjunction with the layout property.
|
|
24
|
+
*
|
|
25
|
+
* This will affect how split buttons, overflow menus, and tooltips are displayed.
|
|
26
|
+
*
|
|
27
|
+
* @default "top-left"
|
|
28
|
+
*/
|
|
29
|
+
accessor relativePosition: "bottom-end" | "bottom-left" | "bottom-right" | "bottom-start" | "top-end" | "top-left" | "top-right" | "top-start";
|
|
30
|
+
/**
|
|
31
|
+
* Action scale, will be applied to all rendered actions.
|
|
32
|
+
*
|
|
33
|
+
* @default "m"
|
|
34
|
+
*/
|
|
35
|
+
accessor scale: "l" | "m" | "s";
|
|
36
|
+
/**
|
|
37
|
+
* Toolbar visual appearance - affects layout decisions.
|
|
38
|
+
*
|
|
39
|
+
* @default "floating"
|
|
40
|
+
*/
|
|
41
|
+
accessor toolbarKind: "docked" | "floating";
|
|
42
|
+
/**
|
|
43
|
+
* Controls whether individual actions render native tooltips or Calcite tooltips.
|
|
44
|
+
*
|
|
45
|
+
* @default "native"
|
|
46
|
+
*/
|
|
47
|
+
accessor tooltipAppearance: "calcite-dark" | "calcite" | "native";
|
|
48
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { c as y } from "../../chunks/runtime.js";
|
|
3
|
+
import { ref as _ } from "lit/directives/ref.js";
|
|
4
|
+
import { css as k, render as C, nothing as L, html as b } from "lit";
|
|
5
|
+
import { LitElement as P, nothing as T } from "@arcgis/lumina";
|
|
6
|
+
import { useDirection as A } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { s as $, a as R, b as w, c as z } from "../../chunks/toolbar.js";
|
|
8
|
+
import { AsyncDirective as x } from "lit/async-directive.js";
|
|
9
|
+
import { directive as M, PartType as D } from "lit/directive.js";
|
|
10
|
+
import { getCommittedValue as u, clearPart as E, insertPart as v, setCommittedValue as p } from "lit/directive-helpers.js";
|
|
11
|
+
const V = k`:host{--calcite-internal-animation-timing-slow: 0}.stack{block-size:100%}.toolbar-stack{display:flex;gap:8px}:host([toolbar-kind="docked"]) .toolbar-stack{gap:0}.line{display:flex;gap:8px}:host([layout="vertical"]) .line{block-size:100%;flex-direction:column}:host([layout="vertical"]) .line[data-alignment=bottom]{align-self:end}.line[data-alignment=left]{justify-content:left}.line[data-alignment=right]{justify-content:right}:host([layout="vertical"]) .toolbar-stack{block-size:100%}:host([layout="horizontal"]) .toolbar-stack{flex-direction:column}:host([toolbar-kind="docked"][layout="horizontal"]) .toolbar-stack{min-inline-size:100%}:host([toolbar-kind="docked"][layout="vertical"]) .toolbar-stack{min-block-size:100%}`;
|
|
12
|
+
class K {
|
|
13
|
+
constructor(t = /* @__PURE__ */ new Map(), e = /* @__PURE__ */ new Set()) {
|
|
14
|
+
this.cachedParts = t, this.directives = e;
|
|
15
|
+
}
|
|
16
|
+
moveAllToCache() {
|
|
17
|
+
for (const t of this.directives)
|
|
18
|
+
t.moveToCache();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
class S extends x {
|
|
22
|
+
#e;
|
|
23
|
+
#i;
|
|
24
|
+
#t;
|
|
25
|
+
constructor(t) {
|
|
26
|
+
if (super(t), t.type !== D.CHILD)
|
|
27
|
+
throw new Error("sharedCache() can only be used in child expressions");
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @param _store Shared store backing this and other caching directives with the shared cache
|
|
31
|
+
* @param _key Uniquely identifies the element being rendered
|
|
32
|
+
* @param value The content to render
|
|
33
|
+
*/
|
|
34
|
+
render(t, e, s) {
|
|
35
|
+
return [s];
|
|
36
|
+
}
|
|
37
|
+
update(t, [e, s, o]) {
|
|
38
|
+
this.#t !== e && (this.#t && this.#t.directives.delete(this), e.directives.add(this), this.#t = e), this.#e = t, this.#i = s;
|
|
39
|
+
const i = e.cachedParts.get(s), a = i ? u(i).pop() : void 0;
|
|
40
|
+
return a && (E(t), v(t, void 0, a), p(t, [a])), this.render(e, s, o);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* During the update phase, a toolbar may need to be pulled from the cache in a situation
|
|
44
|
+
* where it was still on the page from the previous render.
|
|
45
|
+
*
|
|
46
|
+
* To work around this problem, during parent component render phase a pre-caching
|
|
47
|
+
* step moves all cacheable elements into the cache. This is the method called by
|
|
48
|
+
* that pre-caching step.
|
|
49
|
+
*
|
|
50
|
+
* @returns
|
|
51
|
+
*/
|
|
52
|
+
moveToCache() {
|
|
53
|
+
const t = this.#e, e = this.#t;
|
|
54
|
+
if (!t || !e)
|
|
55
|
+
return;
|
|
56
|
+
const o = u(t).pop();
|
|
57
|
+
if (!o)
|
|
58
|
+
return;
|
|
59
|
+
let i = e.cachedParts.get(this.#i);
|
|
60
|
+
if (!i) {
|
|
61
|
+
const c = document.createDocumentFragment();
|
|
62
|
+
i = C(L, c), e.cachedParts.set(this.#i, i);
|
|
63
|
+
}
|
|
64
|
+
if (u(i).length > 0)
|
|
65
|
+
throw new Error("sharedCache() keys must be unique");
|
|
66
|
+
p(i, [o]), v(i, void 0, o);
|
|
67
|
+
}
|
|
68
|
+
disconnected() {
|
|
69
|
+
this.#t?.directives.delete(this);
|
|
70
|
+
}
|
|
71
|
+
reconnected() {
|
|
72
|
+
this.#t?.directives.add(this);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
const O = M(S), W = 8;
|
|
76
|
+
class j extends P {
|
|
77
|
+
constructor() {
|
|
78
|
+
super(), this.#e = new ResizeObserver((t) => this._updateMeasurement(t)), this.#i = new MutationObserver(() => this._syncToolbars()), this.#r = A(), this.#s = new K(), this._layout = "horizontal", this._availableLength = 0, this.scale = "m", this.tooltipAppearance = "native", this.relativePosition = "top-left", this.toolbarKind = "floating", this.listen("arcgisInternalLayoutUpdate", () => this.requestUpdate());
|
|
79
|
+
}
|
|
80
|
+
static {
|
|
81
|
+
this.properties = { _availableLength: 16, _toolbars: 16, effectiveRelativeDirection: 16, layout: 3, scale: 3, tooltipAppearance: 1, relativePosition: 1, toolbarKind: 3 };
|
|
82
|
+
}
|
|
83
|
+
static {
|
|
84
|
+
this.styles = [V, $, R, w, z];
|
|
85
|
+
}
|
|
86
|
+
#e;
|
|
87
|
+
#i;
|
|
88
|
+
#t;
|
|
89
|
+
#r;
|
|
90
|
+
#s;
|
|
91
|
+
#o;
|
|
92
|
+
get effectiveRelativeDirection() {
|
|
93
|
+
const [t, e] = this.relativePosition.split("-"), s = this.#r;
|
|
94
|
+
switch (e) {
|
|
95
|
+
case "left":
|
|
96
|
+
case "right":
|
|
97
|
+
return `${t}-${e}`;
|
|
98
|
+
case "end":
|
|
99
|
+
return `${t}-${s === "ltr" ? "right" : "left"}`;
|
|
100
|
+
case "start":
|
|
101
|
+
return `${t}-${s === "ltr" ? "left" : "right"}`;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
get layout() {
|
|
105
|
+
return this._layout;
|
|
106
|
+
}
|
|
107
|
+
set layout(t) {
|
|
108
|
+
t !== this._layout && (this._layout = t, this._updateMeasurement());
|
|
109
|
+
}
|
|
110
|
+
connectedCallback() {
|
|
111
|
+
super.connectedCallback(), this._connectMeasurement(this.#o), this.#i.observe(this.el, { childList: !0 }), this._syncToolbars();
|
|
112
|
+
}
|
|
113
|
+
disconnectedCallback() {
|
|
114
|
+
this.#e.disconnect(), this.#i.disconnect(), super.disconnectedCallback();
|
|
115
|
+
}
|
|
116
|
+
_setRulerEl(t) {
|
|
117
|
+
this.#o !== t && (this.#o = t, this.isConnected && this._connectMeasurement(t));
|
|
118
|
+
}
|
|
119
|
+
_connectMeasurement(t) {
|
|
120
|
+
this.#e.disconnect(), t && (this.#e.observe(t), this._updateMeasurement());
|
|
121
|
+
}
|
|
122
|
+
_updateMeasurement(t) {
|
|
123
|
+
const e = t?.at(0)?.contentRect ?? this.#o?.getBoundingClientRect();
|
|
124
|
+
e && (this._availableLength = this.layout === "horizontal" ? e.width : e.height);
|
|
125
|
+
}
|
|
126
|
+
_syncToolbars() {
|
|
127
|
+
this.#t?.abort();
|
|
128
|
+
const t = Array.from(this.el.children).filter(q), e = new AbortController();
|
|
129
|
+
this.#t = e, Promise.all(t.map((s) => s.componentOnReady())).then(() => {
|
|
130
|
+
!this.isConnected || e.signal.aborted || (this._toolbars = t);
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
_arrangeToolbarLines(t, e) {
|
|
134
|
+
const s = t.map((r) => {
|
|
135
|
+
const d = r.allocate(e, this._availableLength);
|
|
136
|
+
return { toolbar: r, budget: d.reduce((g, f) => g + f.budget, 0) };
|
|
137
|
+
}), o = [];
|
|
138
|
+
let i = [], a = 0;
|
|
139
|
+
for (const r of s) {
|
|
140
|
+
const d = a + (i.length === 0 ? 0 : W) + r.budget;
|
|
141
|
+
i.length > 0 && (this.toolbarKind === "docked" || d > this._availableLength) ? (o.push(i), i = [r], a = r.budget) : (i.push(r), a = d);
|
|
142
|
+
}
|
|
143
|
+
i.length > 0 && o.push(i);
|
|
144
|
+
const [c, h] = e.relativePosition.split("-"), l = e.layout === "vertical";
|
|
145
|
+
return (l ? h === "right" : c === "bottom") && o.reverse(), (l ? c === "bottom" : h === "right") && o.forEach((r) => r.reverse()), o;
|
|
146
|
+
}
|
|
147
|
+
#a;
|
|
148
|
+
render() {
|
|
149
|
+
const t = this._toolbars;
|
|
150
|
+
if (!t?.length) {
|
|
151
|
+
this.#a?.length && (this.#s.moveAllToCache(), this.#a = []);
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
154
|
+
const e = {
|
|
155
|
+
layout: this.layout,
|
|
156
|
+
relativePosition: this.effectiveRelativeDirection,
|
|
157
|
+
scale: this.scale,
|
|
158
|
+
tooltipAppearance: this.tooltipAppearance,
|
|
159
|
+
toolbarKind: this.toolbarKind
|
|
160
|
+
}, s = this._arrangeToolbarLines(t, e);
|
|
161
|
+
U(this.#a, s) || (this.#s.moveAllToCache(), this.#a = s.map((h) => h.map(({ toolbar: l }) => l)));
|
|
162
|
+
const [o, i] = e.relativePosition.split("-"), a = this.layout === "vertical" ? o : i, c = this.#s;
|
|
163
|
+
return b`<div class="stack"><div class="ruler" ${_(this._setRulerEl)}></div><div class="toolbar-stack">${s.map((h) => b`<div class="line" data-alignment=${a ?? T}>${h.map(({ toolbar: l, budget: m }) => O(c, l, l.proxiedRender(e, m, this.toolbarKind, this._availableLength)))}</div>`)}</div></div>`;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
function q(n) {
|
|
167
|
+
return n.localName === "arcgis-toolbar";
|
|
168
|
+
}
|
|
169
|
+
function U(n, t) {
|
|
170
|
+
return n?.length === t.length && t.every((e, s) => e.length === n[s].length && e.every(({ toolbar: o }, i) => o === n[s][i]));
|
|
171
|
+
}
|
|
172
|
+
y("arcgis-toolbar-stack", j);
|
|
173
|
+
export {
|
|
174
|
+
j as ArcgisToolbarStack
|
|
175
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -185,8 +185,8 @@ class ce extends J {
|
|
|
185
185
|
loaded() {
|
|
186
186
|
this.layer && this.fieldInfo && (setTimeout(() => this.initialRender = !1, 800), this.listNode?.setFocus());
|
|
187
187
|
}
|
|
188
|
-
|
|
189
|
-
this.initialized && (e.has("layer") || e.has("visualizationSource") || e.has("fieldName") || e.has("uniqueValues")) &&
|
|
188
|
+
willUpdate(e) {
|
|
189
|
+
this.initialized && (e.has("layer") || e.has("visualizationSource") || e.has("fieldName") || e.has("uniqueValues")) && this.processProps().then(() => this.requestUpdate()), e.has("maxHeight") && this.maxHeight && this.listNode?.setAttribute("style", `max-height: ${this.maxHeight || 400}px`);
|
|
190
190
|
}
|
|
191
191
|
async processProps() {
|
|
192
192
|
const { layer: e, fieldName: s, view: t, visualizationSource: r } = this, a = (e ? O(e, r) : void 0)?.fields?.filter((u) => u.name === s)?.[0];
|
|
@@ -7,7 +7,9 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
7
7
|
* The Value Picker component allows users to step or play through an iterable set of data. The component alone acts as a shell, consisting
|
|
8
8
|
* of a play/pause button, a next button, a previous button, and a slot for adding a component to Value Picker. Value Picker is not associated with a
|
|
9
9
|
* [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/) nor does it require that the dataset adheres to a specific structure
|
|
10
|
-
* for it to function.
|
|
10
|
+
* for it to function.
|
|
11
|
+
*
|
|
12
|
+
* The [arcgis-value-picker-label](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-label/), [arcgis-value-picker-slider](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/),
|
|
11
13
|
* [arcgis-value-picker-combobox](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-combobox/), and [arcgis-value-picker-collection](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-collection/) components provide the user with a few different options
|
|
12
14
|
* for placing their data into a Value Picker with minimal configuration. Value Picker handles the different shapes of these components automatically by asserting
|
|
13
15
|
* that all slotted components will extend the
|
|
@@ -215,6 +217,12 @@ export abstract class ArcgisValuePicker extends LitElement {
|
|
|
215
217
|
* @default false
|
|
216
218
|
*/
|
|
217
219
|
accessor disabled: boolean;
|
|
220
|
+
/**
|
|
221
|
+
* When set to `true`, the component will appear with rounded corners and a dropshadow.
|
|
222
|
+
*
|
|
223
|
+
* @default false
|
|
224
|
+
*/
|
|
225
|
+
accessor floating: boolean;
|
|
218
226
|
/**
|
|
219
227
|
* When set to `true`, the next button is not displayed.
|
|
220
228
|
*
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { getSlotAssignedElements as
|
|
5
|
-
import { css as
|
|
6
|
-
import { u
|
|
7
|
-
import { usePropertyChange as
|
|
8
|
-
const
|
|
9
|
-
class
|
|
2
|
+
import { c } from "../../chunks/runtime.js";
|
|
3
|
+
import { LitElement as h, createEvent as i, nothing as n, safeClassMap as r } from "@arcgis/lumina";
|
|
4
|
+
import { getSlotAssignedElements as d } from "@arcgis/toolkit/dom/slots";
|
|
5
|
+
import { css as m, html as s } from "lit";
|
|
6
|
+
import { u } from "../../chunks/useT9n.js";
|
|
7
|
+
import { useDirection as p, usePropertyChange as y } from "@arcgis/lumina/controllers";
|
|
8
|
+
const g = m`:host{display:inline-flex;max-inline-size:100%}:host([layout="horizontal"]){min-block-size:var(--calcite-size-xl)}:host([layout="vertical"]){min-inline-size:var(--calcite-size-xl);calcite-action-bar{min-block-size:min-content}}slot{display:flex;flex:1 1 auto;min-block-size:var(--calcite-size-xl);min-inline-size:0}slot.empty{display:none}.container{display:flex;flex-direction:column;block-size:100%;inline-size:100%;min-block-size:0;min-inline-size:0}.root{display:flex;flex-direction:row;align-items:stretch;flex:1;background-color:var(--calcite-color-surface-2);min-block-size:0;min-inline-size:0}.root.vertical-slider{flex-direction:column}.root.vertical-slider slot{flex-direction:column}.root.vertical-slider .separator{border-inline-end:none;border-block-end:solid var(--calcite-border-width-sm) var(--calcite-color-border-3)}calcite-action-bar{flex-shrink:0}:host([floating]) .root{border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-sm));box-shadow:var(--calcite-action-bar-shadow, var(--calcite-shadow-md));overflow:hidden}calcite-action{align-self:center}:host([layout="vertical"]) calcite-action{margin-block-start:auto}:host([layout="vertical"]) calcite-action:last-of-type{margin-block-end:auto}.separator{border-inline-end:solid var(--calcite-border-width-sm) var(--calcite-color-border-3)}`;
|
|
9
|
+
class _ extends h {
|
|
10
10
|
constructor() {
|
|
11
|
-
super(), this.messages =
|
|
11
|
+
super(), this._direction = p(), this.messages = u({ blocking: !0 }), this._isPlaying = !1, this.autoDestroyDisabled = !1, this.disabled = !1, this.floating = !1, this.hideNextButton = !1, this.hidePlayButton = !1, this.hidePreviousButton = !1, this.icon = "list-rectangle", this.label = "", this.layout = "horizontal", this.loop = !1, this.playRate = 1e3, this.arcgisAnimate = i(), this.arcgisNext = i(), this.arcgisPause = i(), this.arcgisPlay = i(), this.arcgisPrevious = i(), this.arcgisPropertyChange = y()("layout", "loop", "playRate", "state"), this.arcgisSlottedElementChange = i(), this.listen("arcgisPropertyChange", () => this.requestUpdate());
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
|
-
this.properties = { _isPlaying: 16, _slottedElement: 16, autoDestroyDisabled: 5, disabled: 5, hideNextButton: 5, hidePlayButton: 5, hidePreviousButton: 5, icon: 1, label: 1, layout: 3, loop: 5, playRate: 9, state: 32 };
|
|
14
|
+
this.properties = { _isPlaying: 16, _slottedElement: 16, autoDestroyDisabled: 5, disabled: 5, floating: 7, hideNextButton: 5, hidePlayButton: 5, hidePreviousButton: 5, icon: 1, label: 1, layout: 3, loop: 5, playRate: 9, state: 32 };
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
|
-
this.styles =
|
|
17
|
+
this.styles = g;
|
|
18
18
|
}
|
|
19
19
|
get state() {
|
|
20
20
|
return this._isPlaying ? "playing" : "ready";
|
|
@@ -41,7 +41,7 @@ class u extends n {
|
|
|
41
41
|
super.disconnectedCallback(), this._isPlaying && this.pause();
|
|
42
42
|
}
|
|
43
43
|
_handleSlotChange(t) {
|
|
44
|
-
const [e] =
|
|
44
|
+
const [e] = d(t);
|
|
45
45
|
this._slottedElement = e, this.arcgisSlottedElementChange.emit({ slottedElement: e }), !e && this._isPlaying && this.pause(), this._isElementWithLayout(e) && (e.layout = this.layout), this._isElementWithDisabled(e) && (e.disabled = this.disabled), this._isElementWithComponentOnReady(e) && e.componentOnReady().then(() => {
|
|
46
46
|
this._slottedElement === e && this.requestUpdate();
|
|
47
47
|
});
|
|
@@ -68,20 +68,24 @@ class u extends n {
|
|
|
68
68
|
}
|
|
69
69
|
}, this.playRate);
|
|
70
70
|
}
|
|
71
|
-
|
|
72
|
-
const t =
|
|
73
|
-
return s`<div class="container"><div class="root"><calcite-action-bar expand-disabled .layout=${this.layout}>${!this.hidePlayButton && s`<calcite-action alignment=center .disabled=${this.disabled || this._slottedElement && !this._slottedElement.canPlay} .icon=${e ? "pause" : "play"} .text=${e ? this.messages.pause : this.messages.play} title=${(e ? this.messages.pause : this.messages.play) ?? l} @click=${() => {
|
|
71
|
+
_renderActions() {
|
|
72
|
+
const t = this.state === "playing", e = this.layout === "vertical" && this._slottedElement?.localName === "arcgis-value-picker-slider", l = !this.hidePlayButton && s`<calcite-action alignment=center .disabled=${this.disabled || this._slottedElement && !this._slottedElement.canPlay} .icon=${t ? "pause" : "play"} .text=${t ? this.messages.pause : this.messages.play} title=${(t ? this.messages.pause : this.messages.play) ?? n} @click=${() => {
|
|
74
73
|
if (this._slottedElement && !this._slottedElement.canNext && !this.loop) {
|
|
75
74
|
this._slottedElement.reset(), this.play();
|
|
76
75
|
return;
|
|
77
76
|
}
|
|
78
|
-
|
|
79
|
-
}}></calcite-action>` || ""
|
|
80
|
-
|
|
81
|
-
|
|
77
|
+
t ? this.pause() : this.play();
|
|
78
|
+
}}></calcite-action>` || "", a = !this.hidePreviousButton && s`<calcite-action alignment=center .disabled=${this.disabled || t || this._slottedElement && !this._slottedElement.canPrevious} .icon=${this.layout === "horizontal" ? "chevron-left" : e ? "chevron-down" : "chevron-up"} .text=${this.messages.previous} title=${this.messages.previous ?? n} @click=${this.previous}></calcite-action>` || "", o = !this.hideNextButton && s`<calcite-action alignment=center .disabled=${this.disabled || t || this._slottedElement && !this._slottedElement.canNext} .icon=${this.layout === "horizontal" ? "chevron-right" : e ? "chevron-up" : "chevron-down"} .text=${this.messages.next} title=${this.messages.next ?? n} @click=${this.next}></calcite-action>` || "";
|
|
79
|
+
return (this._direction === "rtl" && this.layout === "horizontal" || e ? [l, o, a] : [l, a, o]).filter(Boolean);
|
|
80
|
+
}
|
|
81
|
+
render() {
|
|
82
|
+
const t = !!this._slottedElement && !this._slottedElement.hidden, e = this._renderActions(), l = e.length > 0 && t, a = this.layout === "vertical" && this._slottedElement?.localName === "arcgis-value-picker-slider";
|
|
83
|
+
return s`<div class="container"><div class=${r(a ? "root vertical-slider" : "root")}>${e.length > 0 && s`<calcite-action-bar expand-toggle-disabled .layout=${this.layout}>${e}</calcite-action-bar>` || ""}${l && s`<div class="separator"></div>` || ""}<slot @slotchange=${({ currentTarget: o }) => {
|
|
84
|
+
this._handleSlotChange(o);
|
|
85
|
+
}} class=${r(t ? "component-slot" : "empty")}></slot></div></div>`;
|
|
82
86
|
}
|
|
83
87
|
}
|
|
84
|
-
|
|
88
|
+
c("arcgis-value-picker", _);
|
|
85
89
|
export {
|
|
86
|
-
|
|
90
|
+
_ as ArcgisValuePicker
|
|
87
91
|
};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @since
|
|
5
|
-
* 5.2
|
|
6
|
-
*
|
|
7
4
|
* The minimum API required for components being slotted into [arcgis-value-picker](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/). Value Picker will automatically
|
|
8
5
|
* create an internal reference to the slotted component, so the properties on this interface can be directly referenced without requiring
|
|
9
6
|
* the the Value Picker component to be aware of the slotted component's unique API. For example, if the user presses play and eventually Value Picker
|
|
10
7
|
* determines that `slottedComponent.canNext` is false but [arcgis-value-picker.loop](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/#loop) is true, Value Picker will call `slottedComponent.reset()`
|
|
11
8
|
* to reset the slotted component's current value to the first index of its dataset. This will allow playback to continue looping seamlessly.
|
|
9
|
+
*
|
|
10
|
+
* @since 5.2
|
|
12
11
|
*/
|
|
13
12
|
export interface ArcgisValuePickerSubcomponent extends HTMLElement {
|
|
14
13
|
/**
|
|
@@ -47,7 +46,6 @@ export interface AnimateEvent {
|
|
|
47
46
|
first: boolean;
|
|
48
47
|
}
|
|
49
48
|
|
|
50
|
-
/** Object used to define the label items. */
|
|
51
49
|
export interface LabelItem {
|
|
52
50
|
/** The value of the item. */
|
|
53
51
|
value: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as l } from "../../chunks/runtime.js";
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { css as
|
|
3
|
+
import { LitElement as n } from "@arcgis/lumina";
|
|
4
|
+
import { css as r, html as a } from "lit";
|
|
5
5
|
import { usePropertyChange as o } from "@arcgis/lumina/controllers";
|
|
6
6
|
import { u as h } from "../../chunks/useT9n.js";
|
|
7
|
-
const u =
|
|
8
|
-
class m extends
|
|
7
|
+
const u = r`:host{align-items:center;display:flex;flex:auto;inline-size:300px;min-inline-size:0;padding-inline:var(--calcite-space-sm);--calcite-color-border-input: var(--calcite-color-border-3)}calcite-combobox{flex:auto;width:var(--calcite-space-none)}`;
|
|
8
|
+
class m extends n {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.messages = h({ blocking: !0 }), this.autoDestroyDisabled = !1, this.disabled = !1, this.canNext = !1, this.canPlay = !1, this.canPrevious = !1, this.arcgisPropertyChange = o()("canNext", "canPlay", "canPrevious", "currentValue");
|
|
11
11
|
}
|
|
@@ -69,6 +69,12 @@ export abstract class ArcgisValuePickerLabel extends LitElement {
|
|
|
69
69
|
accessor canPrevious: boolean;
|
|
70
70
|
/** The currently selected label item rendered by the component. */
|
|
71
71
|
accessor currentValue: LabelItem | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
74
|
+
*
|
|
75
|
+
* @default false
|
|
76
|
+
*/
|
|
77
|
+
accessor disabled: boolean;
|
|
72
78
|
/** The array of label items that [arcgis-value-picker](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/) can iterate over. */
|
|
73
79
|
accessor items: LabelItem[] | undefined;
|
|
74
80
|
/** Permanently destroys the component. */
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as a } from "../../chunks/runtime.js";
|
|
3
3
|
import { LitElement as r } from "@arcgis/lumina";
|
|
4
|
-
import { css as n, html as
|
|
5
|
-
import { usePropertyChange as
|
|
6
|
-
const o = n`:host{display:flex;flex:auto;
|
|
4
|
+
import { css as n, html as l } from "lit";
|
|
5
|
+
import { usePropertyChange as c } from "@arcgis/lumina/controllers";
|
|
6
|
+
const o = n`:host{display:flex;flex:auto;inline-size:300px;min-inline-size:0;padding:var(--calcite-space-sm)}:host([disabled]){opacity:var(--calcite-opacity-disabled);pointer-events:none}.container{align-items:center;border:solid var(--calcite-border-width-sm) var(--calcite-color-border-3);display:flex;flex:auto;padding-inline:var(--calcite-space-sm)}.text{color:var(--calcite-color-text-1);flex:auto;font-family:inherit;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:var(--calcite-space-none)}`;
|
|
7
7
|
class h extends r {
|
|
8
8
|
constructor() {
|
|
9
|
-
super(...arguments), this.autoDestroyDisabled = !1, this.canNext = !1, this.canPlay = !1, this.canPrevious = !1, this.arcgisPropertyChange =
|
|
9
|
+
super(...arguments), this.autoDestroyDisabled = !1, this.disabled = !1, this.canNext = !1, this.canPlay = !1, this.canPrevious = !1, this.arcgisPropertyChange = c()("canNext", "canPlay", "canPrevious", "currentValue");
|
|
10
10
|
}
|
|
11
11
|
static {
|
|
12
|
-
this.properties = { autoDestroyDisabled: 5, items: 0, currentValue: 0, canNext: 5, canPlay: 5, canPrevious: 5 };
|
|
12
|
+
this.properties = { autoDestroyDisabled: 5, disabled: 7, items: 0, currentValue: 0, canNext: 5, canPlay: 5, canPrevious: 5 };
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
15
|
this.styles = o;
|
|
@@ -42,7 +42,7 @@ class h extends r {
|
|
|
42
42
|
this.canNext = e < this.items.length - 1, this.canPrevious = e > 0;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return
|
|
45
|
+
return l`<div class="container"><div class="text">${this.currentValue?.label}</div></div>`;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
a("arcgis-value-picker-label", h);
|