@arcgis/common-components 5.2.0-next.99 → 5.2.1
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/{7RMMYGBW.js → 3DHXYXS2.js} +1 -1
- package/dist/cdn/43HCS4AO.js +2 -0
- package/dist/cdn/4TZVXSQZ.js +2 -0
- package/dist/cdn/{E6NBHGTX.js → 5BB2PYUS.js} +1 -1
- package/dist/cdn/5IM4X2GT.js +2 -0
- package/dist/cdn/5NZNPGU3.js +2 -0
- package/dist/cdn/6R2N3R36.js +2 -0
- package/dist/cdn/74NTMZR7.js +2 -0
- package/dist/cdn/AX52UB4P.js +2 -0
- package/dist/cdn/{AFHSFRPM.js → BP4QEH5P.js} +1 -1
- package/dist/cdn/C2YXXM3L.js +2 -0
- package/dist/cdn/{QSAZAXZ3.js → CZ7RWWO5.js} +1 -1
- package/dist/cdn/EAFPJSRR.js +2 -0
- package/dist/cdn/EXAPENBG.js +2 -0
- package/dist/cdn/FQR3WLX6.js +2 -0
- package/dist/cdn/G2PB4FKM.js +2 -0
- package/dist/cdn/{BEODRJOB.js → GBQ7KYFH.js} +1 -1
- package/dist/cdn/{MI3POVS3.js → GHLRFVJM.js} +1 -1
- package/dist/cdn/{TWW63D32.js → H4Q2JVNO.js} +1 -1
- package/dist/cdn/JSL66BXT.js +2 -0
- package/dist/cdn/KNMXI4BK.js +2 -0
- package/dist/cdn/KPRGHVBL.js +2 -0
- package/dist/cdn/L2GQ4HN7.js +2 -0
- package/dist/cdn/{27EUJ42B.js → L7XGWJZF.js} +1 -1
- package/dist/cdn/MISZPRPI.js +2 -0
- package/dist/cdn/O4H2JR53.js +2 -0
- package/dist/cdn/{BGE7ETFU.js → OVHD7LQQ.js} +1 -1
- package/dist/cdn/OX5TPWYK.js +2 -0
- package/dist/cdn/{AD4MYZ4B.js → PFMVALV4.js} +1 -1
- package/dist/cdn/PG3S4WHV.js +2 -0
- package/dist/cdn/QQP6RA4E.js +2 -0
- package/dist/cdn/RJSMGCM2.js +2 -0
- package/dist/cdn/SVJLMDXU.js +2 -0
- package/dist/cdn/UHIBCDWU.js +2 -0
- package/dist/cdn/ULHP5UH5.js +2 -0
- package/dist/cdn/VWIEMSU3.js +2 -0
- package/dist/cdn/W2BJNMVY.js +2 -0
- package/dist/cdn/W4XQSSUS.js +2 -0
- package/dist/cdn/{DGU6DCZP.js → WS4247GN.js} +154 -154
- package/dist/cdn/WYNW4BNC.js +2 -0
- package/dist/cdn/XTL4S4TJ.js +4 -0
- package/dist/cdn/{VENSWYOD.js → XUOAAIZO.js} +1 -1
- package/dist/cdn/{TXXMMPA6.js → ZDNNNWXQ.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/intrinsic-sizing.js +18 -0
- package/dist/chunks/locale.js +2 -2
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/strategies.js +287 -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 +8 -0
- package/dist/components/arcgis-slider/customElement.js +520 -354
- 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 +48 -5
- package/dist/components/arcgis-toolbar/customElement.js +70 -40
- 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 +55 -0
- package/dist/components/arcgis-toolbar-stack/customElement.js +173 -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 +21 -7
- package/dist/types/preact.d.ts +23 -7
- package/dist/types/react.d.ts +25 -7
- package/dist/types/stencil.d.ts +21 -7
- 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/7LO226V5.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/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,55 @@
|
|
|
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
|
+
* The stack observes its own content box or accepts an external allocation, so every
|
|
11
|
+
* toolbar receives the same available length regardless of its position within the stack.
|
|
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
|
+
/**
|
|
20
|
+
* Main-axis budget in pixels. Undefined (the default) enables intrinsic sizing:
|
|
21
|
+
* CSS determines the stack's size, and its observed content box supplies the budget.
|
|
22
|
+
* Specifying a value, including zero, disables intrinsic sizing and directly controls
|
|
23
|
+
* the budget used to arrange and collapse toolbars. CSS can still constrain the host.
|
|
24
|
+
*/
|
|
25
|
+
accessor allocatedLength: number | undefined;
|
|
26
|
+
/** Toolbar orientation */
|
|
27
|
+
accessor layout: "horizontal" | "vertical";
|
|
28
|
+
/**
|
|
29
|
+
* Relative position is used to control how popover element placement and directional arrows
|
|
30
|
+
* are chosen. This is used in conjunction with the layout property.
|
|
31
|
+
*
|
|
32
|
+
* This will affect how split buttons, overflow menus, and tooltips are displayed.
|
|
33
|
+
*
|
|
34
|
+
* @default "top-left"
|
|
35
|
+
*/
|
|
36
|
+
accessor relativePosition: "bottom-end" | "bottom-left" | "bottom-right" | "bottom-start" | "top-end" | "top-left" | "top-right" | "top-start";
|
|
37
|
+
/**
|
|
38
|
+
* Action scale, will be applied to all rendered actions.
|
|
39
|
+
*
|
|
40
|
+
* @default "m"
|
|
41
|
+
*/
|
|
42
|
+
accessor scale: "l" | "m" | "s";
|
|
43
|
+
/**
|
|
44
|
+
* Toolbar visual appearance - affects layout decisions.
|
|
45
|
+
*
|
|
46
|
+
* @default "floating"
|
|
47
|
+
*/
|
|
48
|
+
accessor toolbarKind: "docked" | "floating";
|
|
49
|
+
/**
|
|
50
|
+
* Controls whether individual actions render native tooltips or Calcite tooltips.
|
|
51
|
+
*
|
|
52
|
+
* @default "native"
|
|
53
|
+
*/
|
|
54
|
+
accessor tooltipAppearance: "calcite-dark" | "calcite" | "native";
|
|
55
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { c as k } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as _, render as C, nothing as z, html as b } from "lit";
|
|
4
|
+
import { LitElement as L, nothing as P } from "@arcgis/lumina";
|
|
5
|
+
import { useDirection as T } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { s as x, a as A, b as $, c as w, r as S } from "../../chunks/intrinsic-sizing.js";
|
|
7
|
+
import { AsyncDirective as R } from "lit/async-directive.js";
|
|
8
|
+
import { directive as D, PartType as K } from "lit/directive.js";
|
|
9
|
+
import { getCommittedValue as u, clearPart as V, insertPart as v, setCommittedValue as g } from "lit/directive-helpers.js";
|
|
10
|
+
const M = _`: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%}:host(:not([allocated-length])){.toolbar-stack{grid-area:1 / 1;min-inline-size:0;min-block-size:0}.toolbar-grid-wrapper{flex:1 1 auto}}`;
|
|
11
|
+
class E {
|
|
12
|
+
constructor(t = /* @__PURE__ */ new Map(), e = /* @__PURE__ */ new Set()) {
|
|
13
|
+
this.cachedParts = t, this.directives = e;
|
|
14
|
+
}
|
|
15
|
+
moveAllToCache() {
|
|
16
|
+
for (const t of this.directives)
|
|
17
|
+
t.moveToCache();
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
class I extends R {
|
|
21
|
+
#i;
|
|
22
|
+
#e;
|
|
23
|
+
#t;
|
|
24
|
+
constructor(t) {
|
|
25
|
+
if (super(t), t.type !== K.CHILD)
|
|
26
|
+
throw new Error("sharedCache() can only be used in child expressions");
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @param _store Shared store backing this and other caching directives with the shared cache
|
|
30
|
+
* @param _key Uniquely identifies the element being rendered
|
|
31
|
+
* @param value The content to render
|
|
32
|
+
*/
|
|
33
|
+
render(t, e, i) {
|
|
34
|
+
return [i];
|
|
35
|
+
}
|
|
36
|
+
update(t, [e, i, a]) {
|
|
37
|
+
this.#t !== e && (this.#t && this.#t.directives.delete(this), e.directives.add(this), this.#t = e), this.#i = t, this.#e = i;
|
|
38
|
+
const o = e.cachedParts.get(i), s = o ? u(o).pop() : void 0;
|
|
39
|
+
return s && (V(t), v(t, void 0, s), g(t, [s])), this.render(e, i, a);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* During the update phase, a toolbar may need to be pulled from the cache in a situation
|
|
43
|
+
* where it was still on the page from the previous render.
|
|
44
|
+
*
|
|
45
|
+
* To work around this problem, during parent component render phase a pre-caching
|
|
46
|
+
* step moves all cacheable elements into the cache. This is the method called by
|
|
47
|
+
* that pre-caching step.
|
|
48
|
+
*
|
|
49
|
+
* @returns
|
|
50
|
+
*/
|
|
51
|
+
moveToCache() {
|
|
52
|
+
const t = this.#i, e = this.#t;
|
|
53
|
+
if (!t || !e)
|
|
54
|
+
return;
|
|
55
|
+
const a = u(t).pop();
|
|
56
|
+
if (!a)
|
|
57
|
+
return;
|
|
58
|
+
let o = e.cachedParts.get(this.#e);
|
|
59
|
+
if (!o) {
|
|
60
|
+
const l = document.createDocumentFragment();
|
|
61
|
+
o = C(z, l), e.cachedParts.set(this.#e, o);
|
|
62
|
+
}
|
|
63
|
+
if (u(o).length > 0)
|
|
64
|
+
throw new Error("sharedCache() keys must be unique");
|
|
65
|
+
g(o, [a]), v(o, void 0, a);
|
|
66
|
+
}
|
|
67
|
+
disconnected() {
|
|
68
|
+
this.#t?.directives.delete(this);
|
|
69
|
+
}
|
|
70
|
+
reconnected() {
|
|
71
|
+
this.#t?.directives.add(this);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
const O = D(I), p = 8;
|
|
75
|
+
class W extends L {
|
|
76
|
+
constructor() {
|
|
77
|
+
super(), this.#i = new ResizeObserver((t) => this._updateMeasurement(t)), this.#e = new MutationObserver(() => this._syncToolbars()), this.#a = T(), this.#o = new E(), this._layout = "horizontal", this.scale = "m", this.tooltipAppearance = "native", this.relativePosition = "top-left", this.toolbarKind = "floating", this.listen("arcgisInternalLayoutUpdate", () => this.requestUpdate());
|
|
78
|
+
}
|
|
79
|
+
static {
|
|
80
|
+
this.properties = { _observedSize: 16, _availableLength: 16, _toolbars: 16, effectiveRelativeDirection: 16, layout: 3, scale: 3, tooltipAppearance: 1, relativePosition: 1, toolbarKind: 3, allocatedLength: 11 };
|
|
81
|
+
}
|
|
82
|
+
static {
|
|
83
|
+
this.styles = [M, x, A, $, w];
|
|
84
|
+
}
|
|
85
|
+
#i;
|
|
86
|
+
#e;
|
|
87
|
+
#t;
|
|
88
|
+
#a;
|
|
89
|
+
#o;
|
|
90
|
+
get _availableLength() {
|
|
91
|
+
return this.allocatedLength ?? (this.layout === "horizontal" ? this._observedSize?.width : this._observedSize?.height) ?? 0;
|
|
92
|
+
}
|
|
93
|
+
get effectiveRelativeDirection() {
|
|
94
|
+
const [t, e] = this.relativePosition.split("-"), i = this.#a;
|
|
95
|
+
switch (e) {
|
|
96
|
+
case "left":
|
|
97
|
+
case "right":
|
|
98
|
+
return `${t}-${e}`;
|
|
99
|
+
case "end":
|
|
100
|
+
return `${t}-${i === "ltr" ? "right" : "left"}`;
|
|
101
|
+
case "start":
|
|
102
|
+
return `${t}-${i === "ltr" ? "left" : "right"}`;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
get layout() {
|
|
106
|
+
return this._layout;
|
|
107
|
+
}
|
|
108
|
+
set layout(t) {
|
|
109
|
+
t !== this._layout && (this._layout = t);
|
|
110
|
+
}
|
|
111
|
+
connectedCallback() {
|
|
112
|
+
super.connectedCallback(), this.#i.observe(this.el), this.#e.observe(this.el, { childList: !0 }), this._syncToolbars();
|
|
113
|
+
}
|
|
114
|
+
disconnectedCallback() {
|
|
115
|
+
this.#i.disconnect(), this.#e.disconnect(), super.disconnectedCallback();
|
|
116
|
+
}
|
|
117
|
+
_updateMeasurement(t) {
|
|
118
|
+
this._observedSize = t?.at(0)?.contentRect;
|
|
119
|
+
}
|
|
120
|
+
_syncToolbars() {
|
|
121
|
+
this.#t?.abort();
|
|
122
|
+
const t = Array.from(this.el.children).filter(j), e = new AbortController();
|
|
123
|
+
this.#t = e, Promise.all(t.map((i) => i.componentOnReady())).then(() => {
|
|
124
|
+
!this.isConnected || e.signal.aborted || (this._toolbars = t);
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
_arrangeToolbarLines(t, e) {
|
|
128
|
+
const i = t.map((r) => {
|
|
129
|
+
const d = r.allocate(e, this._availableLength);
|
|
130
|
+
return { toolbar: r, budget: d.reduce((f, y) => f + y.budget, 0) };
|
|
131
|
+
}), a = [];
|
|
132
|
+
let o = [], s = 0;
|
|
133
|
+
for (const r of i) {
|
|
134
|
+
const d = s + (o.length === 0 ? 0 : p) + r.budget;
|
|
135
|
+
o.length > 0 && (this.toolbarKind === "docked" || d > this._availableLength) ? (a.push(o), o = [r], s = r.budget) : (o.push(r), s = d);
|
|
136
|
+
}
|
|
137
|
+
o.length > 0 && a.push(o);
|
|
138
|
+
const [l, h] = e.relativePosition.split("-"), c = e.layout === "vertical";
|
|
139
|
+
return (c ? h === "right" : l === "bottom") && a.reverse(), (c ? l === "bottom" : h === "right") && a.forEach((r) => r.reverse()), a;
|
|
140
|
+
}
|
|
141
|
+
#s;
|
|
142
|
+
_renderIntrinsicSizeContribution(t, e) {
|
|
143
|
+
const i = t.map((s) => s.measureIntrinsicSize(e)), a = this.toolbarKind === "docked" ? Math.max(...i.map(({ maximum: s }) => s)) : i.reduce((s, { maximum: l }) => s + l, 0) + p * (t.length - 1), o = Math.max(...i.map(({ minimum: s }) => s));
|
|
144
|
+
return S(o, a, this.layout);
|
|
145
|
+
}
|
|
146
|
+
render() {
|
|
147
|
+
const t = this._toolbars;
|
|
148
|
+
if (!t?.length) {
|
|
149
|
+
this.#s?.length && (this.#o.moveAllToCache(), this.#s = []);
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
const e = {
|
|
153
|
+
layout: this.layout,
|
|
154
|
+
relativePosition: this.effectiveRelativeDirection,
|
|
155
|
+
scale: this.scale,
|
|
156
|
+
tooltipAppearance: this.tooltipAppearance,
|
|
157
|
+
toolbarKind: this.toolbarKind
|
|
158
|
+
}, i = this._arrangeToolbarLines(t, e);
|
|
159
|
+
q(this.#s, i) || (this.#o.moveAllToCache(), this.#s = i.map((h) => h.map(({ toolbar: c }) => c)));
|
|
160
|
+
const [a, o] = e.relativePosition.split("-"), s = this.layout === "vertical" ? a : o, l = this.#o;
|
|
161
|
+
return b`<div class="stack intrinsic-sizing-container">${this.allocatedLength === void 0 && this._renderIntrinsicSizeContribution(t, e) || ""}<div class="toolbar-stack">${i.map((h) => b`<div class="line" data-alignment=${s ?? P}>${h.map(({ toolbar: c, budget: m }) => O(l, c, c.proxiedRender(e, m, this.toolbarKind, this._availableLength)))}</div>`)}</div></div>`;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
function j(n) {
|
|
165
|
+
return n.localName === "arcgis-toolbar";
|
|
166
|
+
}
|
|
167
|
+
function q(n, t) {
|
|
168
|
+
return n?.length === t.length && t.every((e, i) => e.length === n[i].length && e.every(({ toolbar: a }, o) => a === n[i][o]));
|
|
169
|
+
}
|
|
170
|
+
k("arcgis-toolbar-stack", W);
|
|
171
|
+
export {
|
|
172
|
+
W as ArcgisToolbarStack
|
|
173
|
+
};
|
|
@@ -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. */
|