@arcgis/common-components 5.2.0-next.99 → 6.0.0-next.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/2E2QBY2J.js +2 -0
- package/dist/cdn/2IDDI3CL.js +2 -0
- package/dist/cdn/4LQHU5XS.js +2 -0
- package/dist/cdn/4TZVXSQZ.js +2 -0
- package/dist/cdn/5DN7BGGJ.js +2 -0
- package/dist/cdn/5ESJPPJ3.js +2 -0
- package/dist/cdn/5IM4X2GT.js +2 -0
- package/dist/cdn/{DGU6DCZP.js → 6HVKL3BT.js} +154 -154
- package/dist/cdn/6KPYL34Q.js +2 -0
- package/dist/cdn/7YKS2UHU.js +2 -0
- package/dist/cdn/A5NQGETV.js +2 -0
- package/dist/cdn/A72IJUIB.js +2 -0
- package/dist/cdn/{KCTVPWKZ.js → BU4CQ2UT.js} +1 -1
- package/dist/cdn/DBBRUMRI.js +2 -0
- package/dist/cdn/DE72K2VB.js +2 -0
- package/dist/cdn/EPTIOSEA.js +2 -0
- package/dist/cdn/{L5FYKALB.js → FSIEKVKO.js} +1 -1
- package/dist/cdn/{7RMMYGBW.js → FVQ64IB5.js} +1 -1
- package/dist/cdn/{TWW63D32.js → H4Q2JVNO.js} +1 -1
- package/dist/cdn/HCF255AI.js +2 -0
- package/dist/cdn/HS7W72ER.js +4 -0
- package/dist/cdn/IFXBIZ77.js +2 -0
- package/dist/cdn/{MI3POVS3.js → JWK6KCSN.js} +1 -1
- package/dist/cdn/{E6NBHGTX.js → KQS6BKLU.js} +1 -1
- package/dist/cdn/{ZLUCRCS4.js → KWLXXTWN.js} +1 -1
- package/dist/cdn/{QSAZAXZ3.js → KWZ7LGK2.js} +1 -1
- package/dist/cdn/{27EUJ42B.js → L7XGWJZF.js} +1 -1
- package/dist/cdn/LON5GSEV.js +2 -0
- package/dist/cdn/LZ4RIDXD.js +2 -0
- package/dist/cdn/{BGE7ETFU.js → M3SD6ANM.js} +1 -1
- package/dist/cdn/MXGA3EHW.js +2 -0
- package/dist/cdn/{TXXMMPA6.js → N25TUHM4.js} +1 -1
- package/dist/cdn/NCKLLNHD.js +2 -0
- package/dist/cdn/NPVQBA5D.js +2 -0
- package/dist/cdn/NZEZVGEW.js +2 -0
- package/dist/cdn/O4H2JR53.js +2 -0
- package/dist/cdn/RMIP56UK.js +2 -0
- package/dist/cdn/{VENSWYOD.js → SQZNAETL.js} +1 -1
- package/dist/cdn/{HL3WXOVS.js → WG2YHQHU.js} +1 -1
- package/dist/cdn/WJQZVHBV.js +2 -0
- package/dist/cdn/{AD4MYZ4B.js → XVHY4R5V.js} +1 -1
- package/dist/cdn/{AFHSFRPM.js → Y2G4R4SG.js} +1 -1
- package/dist/cdn/{BEODRJOB.js → YNJHUBFL.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/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 +4281 -4259
- 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.js +1 -1
- package/dist/components/arcgis-label-input/customElement.js +18 -14
- package/dist/components/arcgis-slider/customElement.d.ts +8 -0
- package/dist/components/arcgis-slider/customElement.js +483 -405
- package/dist/components/arcgis-slider-field/customElement.js +46 -328
- package/dist/components/arcgis-slider-histogram-range/customElement.d.ts +390 -0
- package/dist/components/arcgis-slider-histogram-range/customElement.js +120 -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 +46 -41
- package/dist/components/arcgis-toolbar/customElement.d.ts +26 -6
- package/dist/components/arcgis-toolbar/customElement.js +60 -34
- package/dist/components/arcgis-toolbar/types.d.ts +32 -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 +17 -16
- 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 +174 -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 +4 -3
- package/dist/components/arcgis-value-picker/types.d.ts +2 -4
- 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 +5 -3
- package/dist/types/lumina.d.ts +16 -2
- package/dist/types/preact.d.ts +18 -2
- package/dist/types/react.d.ts +20 -2
- package/dist/types/stencil.d.ts +16 -2
- 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/KMEK46VM.js +0 -4
- 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
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
import { c as M } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as C, html as h } from "lit";
|
|
4
4
|
import { LitElement as F, createEvent as L, safeClassMap as o, nothing as y, safeStyleMap as m } from "@arcgis/lumina";
|
|
5
|
-
import {
|
|
6
|
-
|
|
5
|
+
import { u as T } from "../../chunks/useT9n.js";
|
|
6
|
+
import { a as z } from "../../chunks/locale.js";
|
|
7
|
+
const l = {
|
|
7
8
|
container: "container",
|
|
8
9
|
ticksContainer: "ticks-container",
|
|
9
10
|
labelsContainer: "labels-container",
|
|
@@ -14,18 +15,18 @@ const c = {
|
|
|
14
15
|
tickLabelFocused: "tick-label--focused",
|
|
15
16
|
tickLabelText: "tick-label-text",
|
|
16
17
|
baseline: "baseline"
|
|
17
|
-
},
|
|
18
|
-
class
|
|
18
|
+
}, A = C`:host{display:flex;--arcgis-ticks-font-size: var(--calcite-font-size--2);--arcgis-ticks-font-weight: var(--calcite-font-weight-medium);--arcgis-ticks-gap: 1em;--arcgis-ticks-tick-color: var(--calcite-color-border-input);--arcgis-ticks-tick-length: .5rem;--arcgis-ticks-tick-transform: translateX(-50%);--arcgis-ticks-tick-width: .125rem}.container{align-items:stretch;display:flex;color:var(--calcite-color-text-2);flex:1;font-weight:var(--arcgis-ticks-font-weight);font-size:var(--arcgis-ticks-font-size);line-height:1em;position:relative;user-select:none;word-wrap:normal;word-break:normal}.baseline{background-color:var(--arcgis-ticks-tick-color, var(--calcite-color-border-input))}.tick{position:absolute;background-color:var(--arcgis-ticks-tick-color, var(--calcite-color-border-input))}.tick-label{position:absolute;text-align:var(--arcgis-ticks-label-text-align, center);width:var(--arcgis-ticks-label-width, var(--labels-container-width, "auto"))}.tick-label-text{display:inline-block;line-height:1}.tick-label--focused .tick-label-text{outline:2px solid var(--calcite-color-focus, var(--calcite-color-brand));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:dir(rtl){.tick-label{direction:rtl}}:host([layout="horizontal"]){.ticks-container{height:var(--arcgis-ticks-tick-length)}.labels-container{height:var(--labels-container-height, "auto")}.tick{width:var(--arcgis-ticks-tick-width);height:var(--arcgis-ticks-tick-length);transform:var(--arcgis-ticks-tick-transform)}.tick-label{transform:translate(-50%)}.tick--min{transform:unset}.tick--max{transform:translate(-100%)}}:host([layout="vertical"]){.ticks-container{width:var(--arcgis-ticks-tick-length)}.labels-container{width:var(--labels-container-width)}.tick{width:var(--arcgis-ticks-tick-length);height:var(--arcgis-ticks-tick-width);transform:translateY(50%)}.tick-label{text-align:right;transform:translateY(50%)}.tick--min{transform:unset}.tick--max{transform:translateY(100%)}}:host([layout="horizontal"][mirrored]){.tick,.tick-label{transform:translate(50%)}.tick--min{transform:unset}.tick--max{transform:translate(100%)}}:host([layout="vertical"][mirrored]){.tick,.tick-label{transform:translateY(-50%)}.tick--min{transform:unset}.tick--max{transform:translateY(-100%)}}:host([layout="horizontal"][label-placement="start"]){.container{flex-direction:column;justify-content:flex-end}.labels-container{margin-bottom:var(--arcgis-ticks-gap)}}:host([layout="horizontal"][label-placement="end"]){.container{flex-direction:column-reverse;justify-content:flex-end}.labels-container{margin-top:var(--arcgis-ticks-gap)}}:host([layout="vertical"][label-placement="start"]){.container{flex-direction:row;justify-content:flex-end}:dir(ltr){.labels-container{margin-right:var(--arcgis-ticks-gap)}.tick-label{text-align:right}}:dir(rtl){.labels-container{margin-left:var(--arcgis-ticks-gap)}.tick-label{text-align:left;unicode-bidi:plaintext}}}:host([layout="vertical"][label-placement="end"]){.container{flex-direction:row-reverse;justify-content:flex-end}:dir(ltr){.labels-container{margin-left:var(--arcgis-ticks-gap)}.tick-label{text-align:left}}:dir(rtl){.labels-container{margin-right:var(--arcgis-ticks-gap)}.tick-label{text-align:right;unicode-bidi:plaintext}}}:host([interactive]){pointer-events:none;.tick,.tick-label{pointer-events:auto;cursor:pointer}.tick-label-text:hover{text-decoration:underline}.tick:focus{background-color:var(--calcite-color-brand);outline:2px solid var(--calcite-color-focus, var(--calcite-color-brand));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`;
|
|
19
|
+
class D extends F {
|
|
19
20
|
constructor() {
|
|
20
|
-
super(...arguments), this.
|
|
21
|
+
super(...arguments), this._messages = T({ name: null }), this.#t = (t) => z(this._messages._lang, this._formatOptions).format(t), this._activeTick = null, this._formatOptions = {
|
|
21
22
|
style: "decimal",
|
|
22
23
|
useGrouping: !0,
|
|
23
24
|
minimumFractionDigits: 0,
|
|
24
25
|
maximumFractionDigits: 2
|
|
25
|
-
}, this.interactive = !1, this.interpolationExponent = 0, this.labelPlacement = "end", this.layout = "horizontal", this.max = 100, this.min = 0, this.mirrored = !1, this.mode = "count", this.showLabels = !1, this.showBaseline = !1, this.values = [], this.arcgisTickClick = L({ cancelable: !1 });
|
|
26
|
+
}, this.autoDestroyDisabled = !1, this.interactive = !1, this.interpolationExponent = 0, this.labelPlacement = "end", this.layout = "horizontal", this.max = 100, this.min = 0, this.mirrored = !1, this.mode = "count", this.showLabels = !1, this.showBaseline = !1, this.values = [], this.arcgisTickClick = L({ cancelable: !1 });
|
|
26
27
|
}
|
|
27
28
|
static {
|
|
28
|
-
this.properties = { _activeTick: 16, _formatOptions: 16, interactive: 7, interpolationExponent: 9, labelFormatter: 0, labelPlacement: 3, layout: 3, max: 9, min: 9, mirrored: 7, mode: 1, showLabels: 5, showBaseline: 5, values: [9, { converter: {
|
|
29
|
+
this.properties = { _activeTick: 16, _formatOptions: 16, autoDestroyDisabled: 5, interactive: 7, interpolationExponent: 9, labelFormatter: 0, labelPlacement: 3, layout: 3, max: 9, min: 9, mirrored: 7, mode: 1, showLabels: 5, showBaseline: 5, values: [9, { converter: {
|
|
29
30
|
fromAttribute(t) {
|
|
30
31
|
if (t.includes(","))
|
|
31
32
|
return t.split(",").filter((e) => e.trim() !== "").map(parseFloat).filter((e) => Number.isFinite(e));
|
|
@@ -37,14 +38,18 @@ class A extends F {
|
|
|
37
38
|
} }] };
|
|
38
39
|
}
|
|
39
40
|
static {
|
|
40
|
-
this.styles =
|
|
41
|
+
this.styles = A;
|
|
42
|
+
}
|
|
43
|
+
#t;
|
|
44
|
+
async destroy() {
|
|
45
|
+
await this.manager.destroy();
|
|
41
46
|
}
|
|
42
47
|
updated() {
|
|
43
|
-
const t = this.renderRoot.querySelector(`.${
|
|
48
|
+
const t = this.renderRoot.querySelector(`.${l.labelsContainer}`);
|
|
44
49
|
if (t) {
|
|
45
50
|
t.style.removeProperty("--labels-container-width"), t.style.removeProperty("--labels-container-height");
|
|
46
51
|
let e = 0, i = 0;
|
|
47
|
-
for (const a of this.renderRoot.querySelectorAll(`.${
|
|
52
|
+
for (const a of this.renderRoot.querySelectorAll(`.${l.tickLabel}`)) {
|
|
48
53
|
const r = a.getBoundingClientRect();
|
|
49
54
|
e = Math.max(e, r.width), i = Math.max(i, r.height);
|
|
50
55
|
}
|
|
@@ -72,46 +77,46 @@ class A extends F {
|
|
|
72
77
|
_internalLabelFormatter(t) {
|
|
73
78
|
const e = this.labelFormatter;
|
|
74
79
|
if (!e)
|
|
75
|
-
return this
|
|
76
|
-
const i = e(t, this
|
|
77
|
-
return i ?? this
|
|
80
|
+
return this.#t(t);
|
|
81
|
+
const i = e(t, this.#t);
|
|
82
|
+
return i ?? this.#t(t);
|
|
78
83
|
}
|
|
79
84
|
render() {
|
|
80
|
-
return h`<div class=${o(
|
|
85
|
+
return h`<div class=${o(l.container)} touch-action=none>${this._renderContent()}${this._renderBaseline()}</div>`;
|
|
81
86
|
}
|
|
82
87
|
_renderContent() {
|
|
83
|
-
const { interpolationExponent: t, max: e, min: i, mode: a, values: r, layout: n, mirrored:
|
|
88
|
+
const { interpolationExponent: t, max: e, min: i, mode: a, values: r, layout: n, mirrored: c, showLabels: w, interactive: k } = this, g = [], v = [];
|
|
84
89
|
for (const [f, d] of P(a, i, e, t, r)) {
|
|
85
|
-
const p = { [n === "horizontal" ?
|
|
86
|
-
[
|
|
87
|
-
[
|
|
88
|
-
[
|
|
90
|
+
const p = { [n === "horizontal" ? c ? "right" : "left" : c ? "top" : "bottom"]: `${f}%` }, $ = {
|
|
91
|
+
[l.tick]: !0,
|
|
92
|
+
[l.tickMin]: f === 0,
|
|
93
|
+
[l.tickMax]: f === 100
|
|
89
94
|
};
|
|
90
95
|
if (g.push(h`<div class=${o($)} .role=${k ? "button" : void 0} .ariaLabel=${k ? this._internalLabelFormatter(d) : void 0} style=${m(p)} data-value=${d ?? y} .tabIndex=${k ? 0 : -1} @blur=${this._handleBlur} @click=${this._handleClick} @focus=${this._handleFocus} @keydown=${this._handleKeyDown} @mousedown=${this._handleMouseDown}></div>`), w) {
|
|
91
96
|
const _ = {
|
|
92
|
-
[
|
|
93
|
-
[
|
|
97
|
+
[l.tickLabel]: !0,
|
|
98
|
+
[l.tickLabelFocused]: this._activeTick === String(d)
|
|
94
99
|
};
|
|
95
|
-
v.push(h`<div class=${o(_)} style=${m(p)} data-value=${d ?? y} @click=${this._handleClick}><span class=${o(
|
|
100
|
+
v.push(h`<div class=${o(_)} style=${m(p)} data-value=${d ?? y} @click=${this._handleClick}><span class=${o(l.tickLabelText)}>${this._internalLabelFormatter(d)}</span></div>`);
|
|
96
101
|
}
|
|
97
102
|
}
|
|
98
|
-
return [h`<div class=${o(
|
|
103
|
+
return [h`<div class=${o(l.labelsContainer)}>${v}</div>`, h`<div class=${o(l.ticksContainer)}>${g}</div>`];
|
|
99
104
|
}
|
|
100
105
|
_renderBaseline() {
|
|
101
106
|
const { showBaseline: t, layout: e } = this;
|
|
102
|
-
return t && h`<div class=${o(
|
|
107
|
+
return t && h`<div class=${o(l.baseline)} style=${m({
|
|
103
108
|
[e === "horizontal" ? "width" : "height"]: "100%",
|
|
104
109
|
[e === "horizontal" ? "height" : "width"]: "0.125rem"
|
|
105
110
|
})}></div>` || "";
|
|
106
111
|
}
|
|
107
112
|
}
|
|
108
|
-
function* P(
|
|
109
|
-
switch (
|
|
113
|
+
function* P(s, t, e, i, a) {
|
|
114
|
+
switch (s) {
|
|
110
115
|
case "value": {
|
|
111
116
|
const r = Array.isArray(a) ? a : [a];
|
|
112
117
|
for (const n of r) {
|
|
113
|
-
const
|
|
114
|
-
|
|
118
|
+
const c = B(t, e, n, i) * 100;
|
|
119
|
+
c >= 0 && c <= 100 && (yield [c, n]);
|
|
115
120
|
}
|
|
116
121
|
break;
|
|
117
122
|
}
|
|
@@ -130,33 +135,33 @@ function* P(l, t, e, i, a) {
|
|
|
130
135
|
yield [50, u(t, e, 0.5, i)];
|
|
131
136
|
else
|
|
132
137
|
for (let n = 0; n < r; n++) {
|
|
133
|
-
const
|
|
134
|
-
yield [
|
|
138
|
+
const c = n * 100 / (r - 1);
|
|
139
|
+
yield [c, u(t, e, c / 100, i)];
|
|
135
140
|
}
|
|
136
141
|
break;
|
|
137
142
|
}
|
|
138
143
|
}
|
|
139
144
|
}
|
|
140
|
-
function b(
|
|
141
|
-
return e <
|
|
145
|
+
function b(s, t, e) {
|
|
146
|
+
return e < s ? s : e > t ? t : e;
|
|
142
147
|
}
|
|
143
|
-
function x(
|
|
144
|
-
return
|
|
148
|
+
function x(s, t, e) {
|
|
149
|
+
return s + (t - s) * e;
|
|
145
150
|
}
|
|
146
|
-
function B(
|
|
147
|
-
let a = (e -
|
|
151
|
+
function B(s, t, e, i = 0) {
|
|
152
|
+
let a = (e - s) / (t - s);
|
|
148
153
|
if (a = b(0, 1, a), Math.abs(i) < 1e-9)
|
|
149
154
|
return a;
|
|
150
155
|
const r = 1 + Math.expm1(i) * a;
|
|
151
156
|
return a = Math.log(r) / i, b(0, 1, a);
|
|
152
157
|
}
|
|
153
|
-
function u(
|
|
158
|
+
function u(s, t, e, i = 0) {
|
|
154
159
|
if (e = b(0, 1, e), Math.abs(i) < 1e-9)
|
|
155
|
-
return x(
|
|
160
|
+
return x(s, t, e);
|
|
156
161
|
const a = Math.expm1(i * e) / Math.expm1(i);
|
|
157
|
-
return x(
|
|
162
|
+
return x(s, t, a);
|
|
158
163
|
}
|
|
159
|
-
M("arcgis-ticks",
|
|
164
|
+
M("arcgis-ticks", D);
|
|
160
165
|
export {
|
|
161
|
-
|
|
166
|
+
D as ArcgisTicks
|
|
162
167
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
2
|
+
import type { JsxNode, PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
+
import type { MeasurementContext, RenderableToolbarContent, RenderContext } from "./types.js";
|
|
3
4
|
import type { ActionBar as ActionBar } from "@esri/calcite-components/components/calcite-action-bar";
|
|
4
5
|
|
|
5
6
|
/**
|
|
@@ -7,15 +8,13 @@ import type { ActionBar as ActionBar } from "@esri/calcite-components/components
|
|
|
7
8
|
*
|
|
8
9
|
* Measures the child elements then renders their content within its own shadow root.
|
|
9
10
|
*
|
|
11
|
+
* Can be used alone, or in conjunction with a toolbar-stack (ideal in cases with multiple toolbars).
|
|
12
|
+
*
|
|
10
13
|
* @internal
|
|
11
14
|
*/
|
|
12
15
|
export abstract class ArcgisToolbar extends LitElement {
|
|
13
16
|
get barElement(): ActionBar | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Toolbar orientation.
|
|
16
|
-
*
|
|
17
|
-
* @default "horizontal"
|
|
18
|
-
*/
|
|
17
|
+
/** Toolbar orientation. */
|
|
19
18
|
accessor layout: "horizontal" | "vertical";
|
|
20
19
|
/**
|
|
21
20
|
* Relative position is used to control how popover element placement and directional arrows
|
|
@@ -44,4 +43,25 @@ export abstract class ArcgisToolbar extends LitElement {
|
|
|
44
43
|
* @default "native"
|
|
45
44
|
*/
|
|
46
45
|
accessor tooltipAppearance: "calcite-dark" | "calcite" | "native";
|
|
46
|
+
/**
|
|
47
|
+
* @param context
|
|
48
|
+
* @param budget
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
allocate(context: RenderContext, budget: number): {
|
|
52
|
+
group: RenderableToolbarContent;
|
|
53
|
+
budget: number;
|
|
54
|
+
}[];
|
|
55
|
+
/**
|
|
56
|
+
* @param context
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
measure(context: MeasurementContext): number[];
|
|
60
|
+
/**
|
|
61
|
+
* @param context
|
|
62
|
+
* @param budget
|
|
63
|
+
* @param toolbarKind
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
proxiedRender(context: RenderContext, budget: number, toolbarKind?: "docked" | "floating"): JsxNode;
|
|
47
67
|
}
|
|
@@ -1,82 +1,108 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { ref as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
import { c as d } from "../../chunks/runtime.js";
|
|
3
|
+
import { ref as l } from "lit/directives/ref.js";
|
|
4
|
+
import { html as c } from "lit";
|
|
5
|
+
import { keyed as u } from "lit/directives/keyed.js";
|
|
6
|
+
import { LitElement as p, createEvent as g } from "@arcgis/lumina";
|
|
7
|
+
import { useDirection as m } from "@arcgis/lumina/controllers";
|
|
8
|
+
import { s as f, a as b, b as _, c as v } from "../../chunks/toolbar.js";
|
|
9
|
+
import { a as o } from "../../chunks/utils.js";
|
|
10
|
+
import { i as y } from "../../chunks/types.js";
|
|
11
|
+
class R extends p {
|
|
10
12
|
constructor() {
|
|
11
|
-
super(
|
|
13
|
+
super(), this.#t = new ResizeObserver((t) => this._updateMeasurement(t)), this.#r = new MutationObserver(() => this._syncGroups()), this.#i = m(), this._layout = "horizontal", this._setRenderedBar = (t) => {
|
|
12
14
|
t == null && (this._renderedBar = void 0, this._hydratedRenderedBar = void 0), !(t === this._renderedBar || t === this._hydratedRenderedBar) && (this._renderedBar = t, this._hydratedRenderedBar = void 0, t && t.componentOnReady().then(() => {
|
|
13
15
|
!this.isConnected || this._renderedBar !== t || (this._hydratedRenderedBar = t);
|
|
14
16
|
}));
|
|
15
|
-
}, this._availableLength = 0, this.
|
|
17
|
+
}, this._availableLength = 0, this.scale = "m", this.tooltipAppearance = "native", this.relativePosition = "top-left", this.toolbarKind = "floating", this.arcgisInternalLayoutUpdate = g(), this.listen("arcgisInternalLayoutUpdate", (t) => {
|
|
18
|
+
t.target !== this.el && this.requestUpdate(), this.el.parentElement?.localName !== "arcgis-toolbar-stack" && t.stopPropagation();
|
|
19
|
+
});
|
|
16
20
|
}
|
|
17
21
|
static {
|
|
18
22
|
this.properties = { _availableLength: 16, _groups: 16, _renderedBar: 16, _hydratedRenderedBar: 16, layout: 3, scale: 3, tooltipAppearance: 1, relativePosition: 1, toolbarKind: 3, barElement: 32, effectiveRelativeDirection: 16 };
|
|
19
23
|
}
|
|
20
24
|
static {
|
|
21
|
-
this.styles = [
|
|
25
|
+
this.styles = [f, b, _, v];
|
|
22
26
|
}
|
|
23
27
|
#t;
|
|
24
|
-
#a;
|
|
25
28
|
#r;
|
|
29
|
+
#s;
|
|
26
30
|
#i;
|
|
27
|
-
#
|
|
31
|
+
#e;
|
|
32
|
+
get layout() {
|
|
33
|
+
return this._layout;
|
|
34
|
+
}
|
|
35
|
+
set layout(t) {
|
|
36
|
+
t !== this._layout && (this._layout = t, this._updateMeasurement());
|
|
37
|
+
}
|
|
28
38
|
get barElement() {
|
|
29
39
|
return this._hydratedRenderedBar;
|
|
30
40
|
}
|
|
31
41
|
get effectiveRelativeDirection() {
|
|
32
|
-
const [t,
|
|
33
|
-
switch (
|
|
42
|
+
const [t, e] = this.relativePosition.split("-"), r = this.#i;
|
|
43
|
+
switch (e) {
|
|
34
44
|
case "left":
|
|
35
45
|
case "right":
|
|
36
|
-
return `${t}-${
|
|
46
|
+
return `${t}-${e}`;
|
|
37
47
|
case "end":
|
|
38
|
-
return `${t}-${
|
|
48
|
+
return `${t}-${r === "ltr" ? "right" : "left"}`;
|
|
39
49
|
case "start":
|
|
40
|
-
return `${t}-${
|
|
50
|
+
return `${t}-${r === "ltr" ? "left" : "right"}`;
|
|
41
51
|
}
|
|
42
52
|
}
|
|
53
|
+
measure(t) {
|
|
54
|
+
const e = this._groups;
|
|
55
|
+
if (!e?.length)
|
|
56
|
+
return [0];
|
|
57
|
+
const n = e.map((s) => s.measure(t)).reduce((s, i) => s.flatMap((a) => i.map((h) => a + h)), [0]).map((s) => o(e, t, s).reduce((i, { budget: a }) => i + a, 0));
|
|
58
|
+
return Array.from(new Set(n)).sort((s, i) => s - i);
|
|
59
|
+
}
|
|
60
|
+
allocate(t, e) {
|
|
61
|
+
const r = this._groups;
|
|
62
|
+
return r?.length ? o(r, t, e) : [];
|
|
63
|
+
}
|
|
64
|
+
proxiedRender(t, e, r = this.toolbarKind) {
|
|
65
|
+
if (!this._groups?.length)
|
|
66
|
+
return;
|
|
67
|
+
const s = this.allocate(t, e);
|
|
68
|
+
return u(this, c`<div class="toolbar-grid-wrapper"><div class="toolbar-shadow-wrapper"><calcite-action-bar expand-toggle-disabled .floating=${r === "floating"} .layout=${t.layout} overflow-mode=none .scale=${t.scale} ${l(this._setRenderedBar)}>${s.map(({ group: i, budget: a }) => i.proxiedRender(t, a))}</calcite-action-bar></div></div>`);
|
|
69
|
+
}
|
|
43
70
|
connectedCallback() {
|
|
44
|
-
super.connectedCallback(), this._connectMeasurement(this.#
|
|
71
|
+
super.connectedCallback(), this._connectMeasurement(this.#e), this.#r.observe(this.el, { childList: !0 }), this._syncGroups();
|
|
45
72
|
}
|
|
46
73
|
disconnectedCallback() {
|
|
47
|
-
this.#t.disconnect(), this.#
|
|
74
|
+
this.#t.disconnect(), this.#r.disconnect(), super.disconnectedCallback();
|
|
48
75
|
}
|
|
49
76
|
_setRulerEl(t) {
|
|
50
|
-
this.#
|
|
77
|
+
this.#e !== t && (this.#e = t, this.isConnected && this._connectMeasurement(t));
|
|
51
78
|
}
|
|
52
79
|
_connectMeasurement(t) {
|
|
53
80
|
this.#t.disconnect(), t && (this.#t.observe(t), this._updateMeasurement());
|
|
54
81
|
}
|
|
55
82
|
_updateMeasurement(t) {
|
|
56
|
-
const
|
|
57
|
-
|
|
83
|
+
const e = t?.at(0)?.contentRect ?? this.#e?.getBoundingClientRect();
|
|
84
|
+
e && (this._availableLength = this.layout === "horizontal" ? e.width : e.height);
|
|
58
85
|
}
|
|
59
86
|
_syncGroups() {
|
|
60
|
-
this.#
|
|
61
|
-
const t = Array.from(this.el.children).filter(
|
|
62
|
-
this.#
|
|
63
|
-
!this.isConnected ||
|
|
87
|
+
this.#s?.abort();
|
|
88
|
+
const t = Array.from(this.el.children).filter(y), e = new AbortController();
|
|
89
|
+
this.#s = e, Promise.all(t.map((r) => r.componentOnReady())).then(() => {
|
|
90
|
+
!this.isConnected || e.signal.aborted || (this._groups = t, this.arcgisInternalLayoutUpdate.emit());
|
|
64
91
|
});
|
|
65
92
|
}
|
|
66
93
|
render() {
|
|
67
|
-
|
|
68
|
-
if (!t?.length)
|
|
94
|
+
if (!this._groups?.length || this.el.parentElement?.localName === "arcgis-toolbar-stack")
|
|
69
95
|
return;
|
|
70
|
-
const
|
|
96
|
+
const e = {
|
|
71
97
|
layout: this.layout,
|
|
72
98
|
relativePosition: this.effectiveRelativeDirection,
|
|
73
99
|
scale: this.scale,
|
|
74
100
|
tooltipAppearance: this.tooltipAppearance
|
|
75
|
-
},
|
|
76
|
-
return
|
|
101
|
+
}, [{ budget: r }] = o([this], e, this._availableLength);
|
|
102
|
+
return c`<div class="ruler" ${l(this._setRulerEl)}></div>${this.proxiedRender(e, r)}`;
|
|
77
103
|
}
|
|
78
104
|
}
|
|
79
|
-
|
|
105
|
+
d("arcgis-toolbar", R);
|
|
80
106
|
export {
|
|
81
|
-
|
|
107
|
+
R as ArcgisToolbar
|
|
82
108
|
};
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
import type { JsxNode } from "@arcgis/lumina";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Priority values that control when toolbar content collapses as available space changes.
|
|
5
|
+
*
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export const LayoutPriorities: {
|
|
9
|
+
ForceCollapse: number;
|
|
10
|
+
Default: number;
|
|
11
|
+
Medium: number;
|
|
12
|
+
High: number;
|
|
13
|
+
Max: number;
|
|
14
|
+
NeverCollapse: number;
|
|
15
|
+
};
|
|
16
|
+
|
|
1
17
|
export type MeasurementContext = {
|
|
2
18
|
layout: "horizontal" | "vertical";
|
|
3
19
|
scale: "l" | "m" | "s";
|
|
@@ -7,4 +23,19 @@ export type RenderContext = MeasurementContext
|
|
|
7
23
|
& {
|
|
8
24
|
relativePosition: "bottom-left" | "bottom-right" | "top-left" | "top-right";
|
|
9
25
|
tooltipAppearance: "calcite-dark" | "calcite" | "native";
|
|
10
|
-
};
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Represents a component that can be discovered and used to drive rendering
|
|
30
|
+
* in a toolbar.
|
|
31
|
+
*
|
|
32
|
+
* Some elements might need additional capabilities to participate; for example,
|
|
33
|
+
* split-button and more-button require additional rendering capabilities for child
|
|
34
|
+
* elements, and will filter out elements that don't conform.
|
|
35
|
+
*/
|
|
36
|
+
export interface RenderableToolbarContent {
|
|
37
|
+
measure: (context: MeasurementContext) => number[];
|
|
38
|
+
proxiedRender: (context: RenderContext, budget: number) => JsxNode;
|
|
39
|
+
priority?: number;
|
|
40
|
+
componentOnReady: () => Promise<unknown>;
|
|
41
|
+
}
|
|
@@ -37,7 +37,7 @@ export abstract class ArcgisToolbarAction extends LitElement {
|
|
|
37
37
|
* @default false
|
|
38
38
|
*/
|
|
39
39
|
accessor disabled: boolean;
|
|
40
|
-
/** The icon to show in the rendered action; should not be
|
|
40
|
+
/** The icon to show in the rendered action; should not be omitted for best user experience. */
|
|
41
41
|
accessor icon: Icon["icon"] | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* Determines if the icon will be flipped when direction is RTL.
|
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as p } from "../../chunks/runtime.js";
|
|
3
3
|
import { ref as u } from "lit/directives/ref.js";
|
|
4
|
-
import { css as g, html as
|
|
5
|
-
import {
|
|
4
|
+
import { css as g, html as o } from "lit";
|
|
5
|
+
import { keyed as f } from "lit/directives/keyed.js";
|
|
6
|
+
import { LitElement as b, createEvent as l, nothing as n, safeClassMap as _ } from "@arcgis/lumina";
|
|
6
7
|
import { W as r } from "../../chunks/utils.js";
|
|
7
|
-
import { g as
|
|
8
|
+
import { g as $ } from "../../chunks/utils2.js";
|
|
8
9
|
const v = g`:host([text-enabled][data-layout="vertical"]){.interaction-container>button{flex-direction:column;>.text-container{writing-mode:vertical-lr}}}`;
|
|
9
|
-
class
|
|
10
|
+
class x extends b {
|
|
10
11
|
constructor() {
|
|
11
12
|
super(...arguments), this.#e = (t) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
this._measureAction(), this.#t ??= new ResizeObserver((e) => {
|
|
18
|
-
!this.textEnabled || !this._element || this._measureAction(e);
|
|
19
|
-
}), this.#t.observe(t), t.componentOnReady().then(() => {
|
|
20
|
-
!this.isConnected || this._element !== t || (this._hydratedElement = t, t.shadowRoot?.adoptedStyleSheets.push(v.styleSheet));
|
|
21
|
-
});
|
|
22
|
-
}
|
|
13
|
+
t !== this._element && (this.#t?.disconnect(), this._element = t, this._hydratedElement = void 0, this.isConnected && this.arcgisRenderedActionChanged.emit({ element: t }), t && (this._measureAction(), this.#t ??= new ResizeObserver((e) => {
|
|
14
|
+
!this.textEnabled || !this._element || this._measureAction(e);
|
|
15
|
+
}), this.#t.observe(t), t.componentOnReady().then(() => {
|
|
16
|
+
!this.isConnected || this._element !== t || (this._hydratedElement = t, t.shadowRoot?.adoptedStyleSheets.push(v.styleSheet));
|
|
17
|
+
})));
|
|
23
18
|
}, this._measuredWidth = 0, this._measuredHeight = 0, this.active = !1, this.tooltipText = "", this.labelText = "", this.disabled = !1, this.loading = !1, this.indicator = !1, this.textEnabled = !1, this.appearance = "transparent", this.iconFlipRtl = !1, this.arcgisRenderedActionChanged = l(), this.arcgisToolbarItemSelected = l();
|
|
24
19
|
}
|
|
25
20
|
static {
|
|
@@ -35,8 +30,8 @@ class $ extends f {
|
|
|
35
30
|
return [Math.max(i, s) + a];
|
|
36
31
|
}
|
|
37
32
|
proxiedRender(t) {
|
|
38
|
-
const { tooltipAppearance: e, scale: a } = t, i = this.tooltipText || this.labelText, s = this._hydratedElement,
|
|
39
|
-
return
|
|
33
|
+
const { tooltipAppearance: e, scale: a } = t, i = this.tooltipText || this.labelText, s = this._hydratedElement, c = e !== "native" && !!this.tooltipText && s, d = e === "calcite-dark" ? "calcite-mode-dark" : void 0, h = $(t);
|
|
34
|
+
return o`${f(this, o`<calcite-action .active=${this.active} data-appearance=${this.appearance ?? n} data-kind=${this.kind ?? n} data-layout=${t.layout ?? n} .disabled=${this.disabled} .icon=${this.icon} .iconFlipRtl=${this.iconFlipRtl} .indicator=${this.indicator} .label=${i} .loading=${this.loading} @click=${(m) => this._handleActionClick(m)} .scale=${a} .text=${this.labelText} .textEnabled=${this.textEnabled} title=${(e === "native" ? i : void 0) ?? n} ${u(this.#e)}></calcite-action>`)}${c ? o`<calcite-tooltip class=${_(d)} overlay-positioning=fixed .placement=${h} .referenceElement=${s} .scale=${a}><span>${i}</span></calcite-tooltip>` : void 0}`;
|
|
40
35
|
}
|
|
41
36
|
disconnectedCallback() {
|
|
42
37
|
this.#t?.disconnect(), super.disconnectedCallback();
|
|
@@ -51,7 +46,7 @@ class $ extends f {
|
|
|
51
46
|
e && (this._measuredWidth = Math.round(e.width), this._measuredHeight = Math.round(e.height));
|
|
52
47
|
}
|
|
53
48
|
}
|
|
54
|
-
p("arcgis-toolbar-action",
|
|
49
|
+
p("arcgis-toolbar-action", x);
|
|
55
50
|
export {
|
|
56
|
-
|
|
51
|
+
x as ArcgisToolbarAction
|
|
57
52
|
};
|
|
@@ -2,42 +2,43 @@
|
|
|
2
2
|
import { c as d } from "../../chunks/runtime.js";
|
|
3
3
|
import { html as p } from "lit";
|
|
4
4
|
import { LitElement as u, nothing as h } from "@arcgis/lumina";
|
|
5
|
-
import {
|
|
5
|
+
import { W as i, a as m } from "../../chunks/utils.js";
|
|
6
|
+
import { L as g, i as b } from "../../chunks/types.js";
|
|
6
7
|
import { u as f } from "../../chunks/utils2.js";
|
|
7
8
|
class C extends u {
|
|
8
9
|
constructor() {
|
|
9
|
-
super(...arguments), this.#e = new MutationObserver(() => this.#
|
|
10
|
+
super(...arguments), this.#e = new MutationObserver(() => this.#t()), this.preferEndSlot = !1, this.priority = g.Default;
|
|
10
11
|
}
|
|
11
12
|
static {
|
|
12
13
|
this.properties = { _children: 16, preferEndSlot: 5, priority: 9 };
|
|
13
14
|
}
|
|
14
|
-
#
|
|
15
|
+
#r;
|
|
15
16
|
#e;
|
|
16
17
|
measure(e) {
|
|
17
|
-
const
|
|
18
|
-
if (!
|
|
18
|
+
const r = this._children;
|
|
19
|
+
if (!r?.length)
|
|
19
20
|
return [0];
|
|
20
|
-
const o = i.groupSeparator + i.groupPadding[e.scale], n =
|
|
21
|
-
return f(n.map((
|
|
21
|
+
const o = i.groupSeparator + i.groupPadding[e.scale], n = r.map((t) => t.measure(e)).reduce((t, s) => t.flatMap((a) => s.map((c) => a + c)), [0]);
|
|
22
|
+
return f(n.map((t) => o + t));
|
|
22
23
|
}
|
|
23
|
-
proxiedRender(e,
|
|
24
|
+
proxiedRender(e, r) {
|
|
24
25
|
const o = this._children;
|
|
25
26
|
if (!o)
|
|
26
27
|
return;
|
|
27
|
-
const l = this.preferEndSlot ? "actions-end" : void 0, n =
|
|
28
|
-
return p`<calcite-action-group .scale=${e.scale} .layout=${e.layout} slot=${l ?? h}>${
|
|
28
|
+
const l = this.preferEndSlot ? "actions-end" : void 0, n = r - i.groupPadding[e.scale] - i.groupSeparator, t = m(o, e, n);
|
|
29
|
+
return p`<calcite-action-group .scale=${e.scale} .layout=${e.layout} slot=${l ?? h}>${t.map(({ group: s, budget: a }) => s.proxiedRender(e, a))}</calcite-action-group>`;
|
|
29
30
|
}
|
|
30
31
|
connectedCallback() {
|
|
31
|
-
super.connectedCallback(), this.#e.observe(this.el, { childList: !0 }), this.#
|
|
32
|
+
super.connectedCallback(), this.#e.observe(this.el, { childList: !0 }), this.#t();
|
|
32
33
|
}
|
|
33
34
|
disconnectedCallback() {
|
|
34
35
|
this.#e.disconnect(), super.disconnectedCallback();
|
|
35
36
|
}
|
|
36
|
-
#
|
|
37
|
-
this.#
|
|
38
|
-
const e = Array.from(this.el.children).filter(b),
|
|
39
|
-
this.#
|
|
40
|
-
!this.isConnected ||
|
|
37
|
+
#t() {
|
|
38
|
+
this.#r?.abort();
|
|
39
|
+
const e = Array.from(this.el.children).filter(b), r = new AbortController();
|
|
40
|
+
this.#r = r, Promise.all(e.map((o) => o.componentOnReady())).then(() => {
|
|
41
|
+
!this.isConnected || r.signal.aborted || (this._children = e);
|
|
41
42
|
});
|
|
42
43
|
}
|
|
43
44
|
}
|
|
@@ -33,7 +33,7 @@ export abstract class ArcgisToolbarItem extends LitElement {
|
|
|
33
33
|
*/
|
|
34
34
|
accessor disabled: boolean;
|
|
35
35
|
/**
|
|
36
|
-
* The icon to show in the rendered action. For best user experience, this should not be
|
|
36
|
+
* The icon to show in the rendered action. For best user experience, this should not be omitted.
|
|
37
37
|
*
|
|
38
38
|
* @default "question-mark"
|
|
39
39
|
*/
|
|
@@ -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} @click=${(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
|
};
|