@arcgis/map-components 5.1.0-next.103 → 5.1.0-next.105
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/3AKJIFJP.js +2 -0
- package/dist/cdn/{FBVHVWJP.js → 4BUXOQ5X.js} +1 -1
- package/dist/cdn/6IRKJ76J.js +2 -0
- package/dist/cdn/6QJQJ4I7.js +2 -0
- package/dist/cdn/7YEXZHW3.js +2 -0
- package/dist/cdn/CXPIQET3.js +2 -0
- package/dist/cdn/FMT63SES.js +2 -0
- package/dist/cdn/GFXNIWNG.js +2 -0
- package/dist/cdn/IMSDXTQ5.js +2 -0
- package/dist/cdn/JFWOTBXI.js +2 -0
- package/dist/cdn/JIAEOA2S.js +2 -0
- package/dist/cdn/MXXKVA3L.js +2 -0
- package/dist/cdn/PKV6NA3M.js +2 -0
- package/dist/cdn/{6HRKATQQ.js → S36YQI7W.js} +1 -1
- package/dist/cdn/TKQLQE4E.js +2 -0
- package/dist/cdn/TZVSBVJN.js +2 -0
- package/dist/cdn/{KASY64TA.js → UQCQAL4T.js} +1 -1
- package/dist/cdn/{UCPJMQPU.js → VVIDVEKK.js} +1 -1
- package/dist/cdn/{AWQHNAWY.js → XB5I52AG.js} +1 -1
- package/dist/cdn/XIJGC7OK.js +2 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature-next/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/features/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/features/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/features-next/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/slider-time/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/slider-time/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/action-utils.js +37 -23
- package/dist/chunks/useArcgisViewReadyError.js +115 -56
- package/dist/components/arcgis-aggregated-features/customElement.js +1 -1
- package/dist/components/arcgis-aggregated-features/index.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.js +4 -4
- package/dist/components/arcgis-feature/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature/customElement.js +69 -111
- package/dist/components/arcgis-feature-next/customElement.d.ts +444 -0
- package/dist/components/arcgis-feature-next/customElement.js +279 -0
- package/dist/components/arcgis-feature-next/index.d.ts +1 -0
- package/dist/components/arcgis-feature-next/index.js +13 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +76 -73
- package/dist/components/arcgis-feature-relationship/index.js +1 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +18 -15
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +1 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +63 -53
- package/dist/components/arcgis-features/customElement.d.ts +28 -52
- package/dist/components/arcgis-features/customElement.js +181 -184
- package/dist/components/arcgis-features/index.js +0 -1
- package/dist/components/arcgis-features-next/customElement.d.ts +678 -0
- package/dist/components/arcgis-features-next/customElement.js +400 -0
- package/dist/components/arcgis-features-next/index.d.ts +1 -0
- package/dist/components/arcgis-features-next/index.js +15 -0
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -0
- package/dist/components/arcgis-link-chart/customElement.js +13 -10
- package/dist/components/arcgis-map/customElement.d.ts +1 -0
- package/dist/components/arcgis-map/customElement.js +13 -10
- package/dist/components/arcgis-popup/customElement.d.ts +2 -2
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-popup/index.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +1 -0
- package/dist/components/arcgis-scene/customElement.js +23 -20
- package/dist/components/arcgis-search/customElement.d.ts +1 -1
- package/dist/components/arcgis-search/customElement.js +6 -6
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +27 -28
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +9 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +58 -58
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +161 -35
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.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 +20 -0
- package/dist/loader.js +10 -8
- package/dist/types/lumina.d.ts +18 -2
- package/dist/types/preact.d.ts +20 -2
- package/dist/types/react.d.ts +22 -2
- package/dist/types/stencil.d.ts +18 -2
- package/package.json +4 -4
- package/dist/cdn/4T6TILWS.js +0 -2
- package/dist/cdn/6U7WM64M.js +0 -2
- package/dist/cdn/AHWGHYPQ.js +0 -2
- package/dist/cdn/FM2ZJK25.js +0 -2
- package/dist/cdn/FNHPWOUX.js +0 -2
- package/dist/cdn/HIYCE253.js +0 -2
- package/dist/cdn/HVKDLP74.js +0 -2
- package/dist/cdn/HW3D7A2P.js +0 -2
- package/dist/cdn/M2ECO3EZ.js +0 -2
- package/dist/cdn/SKRNQKVO.js +0 -2
- package/dist/cdn/W2QDJLIF.js +0 -2
- package/dist/cdn/X6BCGFB3.js +0 -2
- package/dist/cdn/XIN3BIAA.js +0 -2
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import { c as B } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as R, html as o } from "lit";
|
|
4
|
+
import { keyed as A } from "lit/directives/keyed.js";
|
|
5
|
+
import O from "@arcgis/core/support/actions/ActionButton.js";
|
|
6
|
+
import E from "@arcgis/core/core/Collection.js";
|
|
7
|
+
import H from "@arcgis/core/popup/Features.js";
|
|
8
|
+
import { LitElement as P, createEvent as I, renderElement as z, nothing as p, safeClassMap as x } from "@arcgis/lumina";
|
|
9
|
+
import { usePropertyChange as Z, bypassReadOnly as k } from "@arcgis/lumina/controllers";
|
|
10
|
+
import { slotChangeHasContent as D, classes as y } from "@arcgis/toolkit/dom";
|
|
11
|
+
import { createRef as _, ref as v } from "lit/directives/ref.js";
|
|
12
|
+
import { g as S } from "../../chunks/feature-utils.js";
|
|
13
|
+
import { initializeProjection as V } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
14
|
+
import { t as U, z as j } from "../../chunks/action-utils.js";
|
|
15
|
+
import { m as G } from "../../chunks/useViewModel.js";
|
|
16
|
+
import { renderingSanitizer as M } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
17
|
+
import { stripHTML as T } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
18
|
+
import { substitute as g, formatNumber as C } from "@arcgis/core/intl.js";
|
|
19
|
+
import { u as K } from "../../chunks/useT9n.js";
|
|
20
|
+
import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
|
|
21
|
+
import { a as L } from "../../chunks/maybe.js";
|
|
22
|
+
const q = R`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty,.content-hidden){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.content-feature{--calcite-flow-item-footer-padding: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}.flow-item-drill-in{--calcite-flow-item-footer-padding: 0}`;
|
|
23
|
+
function W(m) {
|
|
24
|
+
return m?.declaredClass.startsWith("esri.layers.") ?? !1;
|
|
25
|
+
}
|
|
26
|
+
function X(m) {
|
|
27
|
+
if (!(!m || !("featureReduction" in m)))
|
|
28
|
+
return m.featureReduction?.type;
|
|
29
|
+
}
|
|
30
|
+
const J = G(H);
|
|
31
|
+
class Q extends P {
|
|
32
|
+
constructor() {
|
|
33
|
+
super(...arguments), this._zoomToFeature = new O({
|
|
34
|
+
icon: "magnifying-glass-plus",
|
|
35
|
+
id: "zoom-to-feature",
|
|
36
|
+
title: "{messages.zoom}"
|
|
37
|
+
}), this._fetchFeaturesController = null, this._featureMenuIntersectionObserverCallback = ([e]) => {
|
|
38
|
+
e?.isIntersecting && this.viewModel.featurePage != null && this.viewModel.featurePage++;
|
|
39
|
+
}, this._featureMenuIntersectionObserver = new IntersectionObserver(this._featureMenuIntersectionObserverCallback, {
|
|
40
|
+
root: window.document
|
|
41
|
+
}), this._featureMenuIntersectionObserverNode = null, this._rootFlowItemNode = _(), this._featureMenuViewportNode = _(), this._actionBarMenuNode = _(), this._flowContainerNode = _(), this._aggregatedFeaturesComponent = _(), this.messages = K(), this._selectedFeatureComponent = _(), this._cancelOpenRelatedFeature = () => {
|
|
42
|
+
this._openRelatedFeatureAbortController = L(this._openRelatedFeatureAbortController);
|
|
43
|
+
}, this._openRelatedFeatureAbortController = null, this.flowItems = new E(), this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._hasActionsStartSlotContent = !1, this._hasActionsEndSlotContent = !1, this.viewModel = J(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.effectiveHeading = this.viewModel.effectiveHeading, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = !1, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureItemAbilities = this.viewModel.featureItemAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new E(), this.heading = this.viewModel.heading, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSelectFeature = !1, this.hideSpinner = !1, this.hideContent = !1, this.chartAnimationDisabled = this.viewModel.featureItemAbilities?.chartAnimation, this.hideAttachmentsContent = this.viewModel.featureItemAbilities?.attachmentsContent, this.hideCustomContent = this.viewModel.featureItemAbilities?.customContent, this.hideExpressionContent = !1, this.hideFieldsContent = this.viewModel.featureItemAbilities?.fieldsContent, this.hideMediaContent = this.viewModel.featureItemAbilities?.mediaContent, this.hideRelationshipContent = this.viewModel.featureItemAbilities?.relationshipContent, this.hideTextContent = this.viewModel.featureItemAbilities?.textContent, this.hideUtilityNetworkContent = this.viewModel.featureItemAbilities?.utilityNetworkAssociationsContent, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.open = this.viewModel.open, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = Z()("active", "collapsed", "effectiveHeading", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = I(), this.arcgisClose = I(), this.arcgisTriggerAction = I();
|
|
44
|
+
}
|
|
45
|
+
static {
|
|
46
|
+
this.properties = { _openRelatedFeatureAbortController: 16, flowItems: 16, _aggregatedFeatureCount: 16, _selectedAggregatedFeatureIndex: 16, _aggregatedFeaturesLoading: 16, _hasActionsStartSlotContent: 16, _hasActionsEndSlotContent: 16, _hideActionText: 16, _featureNavigationVisible: 16, _isCollapsed: 16, _collapseEnabled: 16, _featureFlowItemSelected: 16, viewModel: 0, actions: 0, active: 0, autoDestroyDisabled: 5, collapsed: 5, content: 1, defaultPopupTemplateEnabled: 5, effectiveHeading: 32, featureCount: 9, featureMenuOpen: 5, featureMenuTitle: 1, featureNavigationTop: 5, features: 0, featuresPerPage: 9, featureItemAbilities: 0, goToOverride: 0, headerActions: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSelectFeature: 5, hideSpinner: 5, hideContent: 5, chartAnimationDisabled: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, hideRelationshipContent: 5, hideTextContent: 5, hideUtilityNetworkContent: 5, hideLastEditedInfo: 5, highlightDisabled: 5, icon: 1, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, map: 0, messageOverrides: 0, open: 5, referenceElement: 1, promises: 0, responsiveActionsEnabled: 5, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 32, timeZone: 1, updateLocationEnabled: 5, view: 0 };
|
|
47
|
+
}
|
|
48
|
+
static {
|
|
49
|
+
this.styles = q;
|
|
50
|
+
}
|
|
51
|
+
get _hideActionText() {
|
|
52
|
+
if (!this.responsiveActionsEnabled)
|
|
53
|
+
return !1;
|
|
54
|
+
const e = this.viewModel.view?.widthBreakpoint;
|
|
55
|
+
return e === "xsmall" || e === "small" || e === "medium";
|
|
56
|
+
}
|
|
57
|
+
get _featureNavigationVisible() {
|
|
58
|
+
return this.viewModel.active && this.viewModel.featureCount > 1 && !!this.viewModel.selectedFeature && !this.hideFeatureNavigation;
|
|
59
|
+
}
|
|
60
|
+
get _isCollapsed() {
|
|
61
|
+
return this._collapseEnabled && this.collapsed;
|
|
62
|
+
}
|
|
63
|
+
get _collapseEnabled() {
|
|
64
|
+
return this.showCollapseButton && (this.initialDisplayMode === "list" || !!(this.heading || this.viewModel.selectedFeatureItem?.heading) && !!(this.content || this.viewModel.selectedFeatureItem?.content));
|
|
65
|
+
}
|
|
66
|
+
get _featureFlowItemSelected() {
|
|
67
|
+
return this.initialDisplayMode === "list" ? !!this.selectedFeature : !this.featureMenuOpen;
|
|
68
|
+
}
|
|
69
|
+
clear() {
|
|
70
|
+
this.viewModel.clear();
|
|
71
|
+
}
|
|
72
|
+
close() {
|
|
73
|
+
this.open = !1;
|
|
74
|
+
}
|
|
75
|
+
async destroy() {
|
|
76
|
+
await this.manager.destroy(), await this._destroySpinner(this.referenceElement), this._cancelOpenRelatedFeature(), this._removeFlowItems(), this._unobserveFeatureMenuObserver(), this._cancelFetchingFeatures(), this._featureMenuIntersectionObserver?.disconnect();
|
|
77
|
+
}
|
|
78
|
+
async fetchFeatures(e, t) {
|
|
79
|
+
this._cancelFetchingFeatures();
|
|
80
|
+
const { signal: a } = t ?? {}, i = new AbortController(), { signal: s } = i, n = a ? AbortSignal.any([s, a]) : s;
|
|
81
|
+
if (this._fetchFeaturesController = i, !e && this.view && this.location && (await V(this.location.spatialReference, this.view.spatialReference, null, {
|
|
82
|
+
signal: n
|
|
83
|
+
}), e = this.view.toScreen(this.location) ?? void 0), !e)
|
|
84
|
+
return;
|
|
85
|
+
const r = await this.viewModel.fetchFeatures(e, {
|
|
86
|
+
...t,
|
|
87
|
+
signal: n
|
|
88
|
+
});
|
|
89
|
+
this.location = r.location, this.promises = r.pendingFeatures;
|
|
90
|
+
}
|
|
91
|
+
next() {
|
|
92
|
+
this.viewModel.next();
|
|
93
|
+
}
|
|
94
|
+
previous() {
|
|
95
|
+
this.viewModel.previous();
|
|
96
|
+
}
|
|
97
|
+
async setFocus() {
|
|
98
|
+
await this._flowContainerNode.value?.setFocus();
|
|
99
|
+
}
|
|
100
|
+
async triggerAction(e) {
|
|
101
|
+
if (!e.disabled)
|
|
102
|
+
return e?.type === "toggle" && (e.value = !e.value), await U(e, this.viewModel);
|
|
103
|
+
}
|
|
104
|
+
loaded() {
|
|
105
|
+
this.manager.onLifecycle(() => [
|
|
106
|
+
d(() => this.viewModel?.selectedFeatureIndex, (e, t) => this._selectedFeatureIndexUpdated(e, t)),
|
|
107
|
+
d(() => this.viewModel?.view?.scale, () => this._viewScaleChange()),
|
|
108
|
+
d(() => this.viewModel?.view, (e, t) => t && this._viewChange()),
|
|
109
|
+
d(() => this._spinnerEl?.screenLocation, () => this._closeOpenActionMenu()),
|
|
110
|
+
d(() => this.selectedFeatureComponent?.viewModel, () => this._removeFlowItems()),
|
|
111
|
+
d(() => this.viewModel?.featureItems, () => this._featureMenuViewportScrollTop()),
|
|
112
|
+
d(() => this.flowItems.length, () => this._syncSelectedDrillInFeature()),
|
|
113
|
+
d(() => [this.flowItems?.length, this.featureMenuOpen], () => {
|
|
114
|
+
this.setFocus();
|
|
115
|
+
}),
|
|
116
|
+
d(() => this.viewModel.aggregatedFeaturesEnabled, (e) => {
|
|
117
|
+
e || (this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._removeFlowItems());
|
|
118
|
+
}),
|
|
119
|
+
d(() => this.referenceElement, (e, t) => {
|
|
120
|
+
this._destroySpinner(t), this._createSpinner();
|
|
121
|
+
}, { initial: !0 }),
|
|
122
|
+
d(() => [this.hideSpinner, this.viewModel?.view, this.viewModel?.location, this.viewModel?.waitingForResult], () => {
|
|
123
|
+
this._createSpinner();
|
|
124
|
+
}, { initial: !0 })
|
|
125
|
+
]);
|
|
126
|
+
}
|
|
127
|
+
updated() {
|
|
128
|
+
const e = this._selectedFeatureComponent.value ?? void 0;
|
|
129
|
+
this.selectedFeatureComponent !== e && k(() => this.selectedFeatureComponent = e);
|
|
130
|
+
}
|
|
131
|
+
_cancelFetchingFeatures() {
|
|
132
|
+
this._fetchFeaturesController = L(this._fetchFeaturesController);
|
|
133
|
+
}
|
|
134
|
+
_handleClose() {
|
|
135
|
+
this.close(), this.arcgisClose.emit();
|
|
136
|
+
}
|
|
137
|
+
_groupResultsByLayer() {
|
|
138
|
+
const { featureItems: e } = this.viewModel, t = /* @__PURE__ */ new Map();
|
|
139
|
+
return e.forEach((a) => {
|
|
140
|
+
const i = a?.graphic;
|
|
141
|
+
if (!i)
|
|
142
|
+
return;
|
|
143
|
+
const s = S(i), n = W(s) ? s : null;
|
|
144
|
+
let r = t.get(n);
|
|
145
|
+
r || (r = [], t.set(n, r)), r.push(a);
|
|
146
|
+
}), t;
|
|
147
|
+
}
|
|
148
|
+
_handleCollapseToggle() {
|
|
149
|
+
this.collapsed = !this.collapsed;
|
|
150
|
+
}
|
|
151
|
+
async _openRelatedFeature(e) {
|
|
152
|
+
this._cancelOpenRelatedFeature();
|
|
153
|
+
const t = new AbortController();
|
|
154
|
+
if (this._openRelatedFeatureAbortController = t, await e.updateGeometry(), t.signal.aborted)
|
|
155
|
+
return;
|
|
156
|
+
const a = e.graphic, i = a?.geometry;
|
|
157
|
+
if (i == null || a == null) {
|
|
158
|
+
this._openRelatedFeatureAbortController = null;
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
if (this._removeFlowItems(), await this.viewModel.zoomTo({ target: i }), t.signal.aborted)
|
|
162
|
+
return;
|
|
163
|
+
const s = await import("@arcgis/core/geometry/operators/labelPointOperator.js");
|
|
164
|
+
if (t.signal.aborted)
|
|
165
|
+
return;
|
|
166
|
+
const n = s.execute(i);
|
|
167
|
+
n != null && (this.location = n), this.features = [a], this.open = !0, await this.setFocus(), this._openRelatedFeatureAbortController = null;
|
|
168
|
+
}
|
|
169
|
+
_handlePaginationMenuButton() {
|
|
170
|
+
this._updateFeatureMenu();
|
|
171
|
+
}
|
|
172
|
+
_openFeatureMenu() {
|
|
173
|
+
this._updateFeatureMenu(!0);
|
|
174
|
+
}
|
|
175
|
+
_closeFeatureMenu() {
|
|
176
|
+
this._updateFeatureMenu(!1);
|
|
177
|
+
}
|
|
178
|
+
_updateFeatureMenu(e = !this.featureMenuOpen) {
|
|
179
|
+
this.featureMenuOpen = e;
|
|
180
|
+
}
|
|
181
|
+
_previousFeature() {
|
|
182
|
+
this.viewModel.previous();
|
|
183
|
+
}
|
|
184
|
+
_nextFeature() {
|
|
185
|
+
this.viewModel.next();
|
|
186
|
+
}
|
|
187
|
+
_handleFeatureBack() {
|
|
188
|
+
this.initialDisplayMode === "list" ? (this.selectedFeatureIndex = -1, this.setFocus()) : this._openFeatureMenu();
|
|
189
|
+
}
|
|
190
|
+
_handleFeatureMenuBack() {
|
|
191
|
+
this.initialDisplayMode === "list" ? (this.selectedFeatureIndex = -1, this.setFocus()) : this.featureMenuOpen && this._closeFeatureMenu();
|
|
192
|
+
}
|
|
193
|
+
_setActiveFeature(e) {
|
|
194
|
+
const { viewModel: t } = this;
|
|
195
|
+
t.activeFeature = t.features?.[e] || null;
|
|
196
|
+
}
|
|
197
|
+
_removeActiveFeature() {
|
|
198
|
+
this.viewModel.activeFeature = null;
|
|
199
|
+
}
|
|
200
|
+
_selectFeature(e) {
|
|
201
|
+
this.viewModel.selectedFeatureIndex = e, this.initialDisplayMode === "feature" ? this._handleFeatureMenuBack() : this.setFocus();
|
|
202
|
+
}
|
|
203
|
+
_unobserveFeatureMenuObserver() {
|
|
204
|
+
this._featureMenuIntersectionObserverNode && this._featureMenuIntersectionObserver.unobserve(this._featureMenuIntersectionObserverNode);
|
|
205
|
+
}
|
|
206
|
+
_featureMenuIntersectionObserverCreated(e) {
|
|
207
|
+
this._unobserveFeatureMenuObserver(), e && this._featureMenuIntersectionObserver.observe(e), this._featureMenuIntersectionObserverNode = e;
|
|
208
|
+
}
|
|
209
|
+
_getActionTitle(e) {
|
|
210
|
+
const { messages: t, selectedFeature: a } = this, { id: i } = e, s = a?.attributes, n = e.title ?? "", r = i === "zoom-to-feature" ? g(n, { messages: t }) : i === "remove-selected-feature" ? g(n, { messages: t }) : i === "zoom-to-clustered-features" ? g(n, { messages: t }) : i === "browse-aggregated-features" ? g(n, { messages: t }) : e.title;
|
|
211
|
+
return r && s ? g(r, s) : r ?? "";
|
|
212
|
+
}
|
|
213
|
+
_onMainKeydown(e) {
|
|
214
|
+
const { key: t } = e;
|
|
215
|
+
t === "ArrowLeft" && (e.stopPropagation(), this._handleFeatureMenuBack(), this.previous(), this.setFocus()), t === "ArrowRight" && (e.stopPropagation(), this._handleFeatureMenuBack(), this.next(), this.setFocus());
|
|
216
|
+
}
|
|
217
|
+
_featureMenuViewportScrollTop() {
|
|
218
|
+
this._featureMenuViewportNode.value?.scrollContentTo({ top: 0 });
|
|
219
|
+
}
|
|
220
|
+
_selectedFeatureIndexUpdated(e, t) {
|
|
221
|
+
const { featureCount: a, waitingForResult: i } = this.viewModel;
|
|
222
|
+
i || !a || e === t || e === -1 || (this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._removeFlowItems(), this._rootFlowItemNode.value?.scrollContentTo({ top: 0 }));
|
|
223
|
+
}
|
|
224
|
+
_triggerAction(e) {
|
|
225
|
+
this.triggerAction(e), this.arcgisTriggerAction.emit({ action: e });
|
|
226
|
+
}
|
|
227
|
+
_viewScaleChange() {
|
|
228
|
+
const { selectedFeature: e } = this;
|
|
229
|
+
!e?.isAggregate || X(S(e)) !== "cluster" || (this.viewModel.aggregatedFeaturesEnabled = !1, this.open = !1, this.clear());
|
|
230
|
+
}
|
|
231
|
+
_viewChange() {
|
|
232
|
+
this.viewModel.clear(), this.open = !1, this._aggregatedFeatureCount = 0, this._removeFlowItems();
|
|
233
|
+
}
|
|
234
|
+
_handleAggregatedFeaturesPropertyChange({ detail: e, target: t }) {
|
|
235
|
+
e.name === "aggregatedFeatureCount" && (this._aggregatedFeatureCount = t.aggregatedFeatureCount), e.name === "selectedAggregatedFeatureIndex" && (this._selectedAggregatedFeatureIndex = t.selectedAggregatedFeatureIndex, this._syncSelectedDrillInFeature()), e.name === "loading" && (this._aggregatedFeaturesLoading = t.loading);
|
|
236
|
+
}
|
|
237
|
+
_closeOpenActionMenu() {
|
|
238
|
+
const { _actionBarMenuNode: e } = this;
|
|
239
|
+
e.value && (e.value.menuOpen = !1);
|
|
240
|
+
}
|
|
241
|
+
_syncSelectedDrillInFeature() {
|
|
242
|
+
const e = this.flowItems.getItemAt(this.flowItems.length - 1);
|
|
243
|
+
k(() => this.selectedDrillInFeature = e?.graphic ?? void 0);
|
|
244
|
+
}
|
|
245
|
+
_removeFlowItems() {
|
|
246
|
+
this.viewModel.aggregatedFeaturesEnabled = !1, this.flowItems?.destroyAll();
|
|
247
|
+
}
|
|
248
|
+
_getDrillInFlowItemDescription(e) {
|
|
249
|
+
switch (e.flowType) {
|
|
250
|
+
case "feature":
|
|
251
|
+
case "feature-association":
|
|
252
|
+
case "feature-utility-network-associations":
|
|
253
|
+
case "feature-utility-network-association-type":
|
|
254
|
+
return e.description;
|
|
255
|
+
case "feature-relationship":
|
|
256
|
+
return e.allItemsDescription;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
_handleDrillInBackClick() {
|
|
260
|
+
this.flowItems?.pop()?.destroy();
|
|
261
|
+
}
|
|
262
|
+
_getHeading() {
|
|
263
|
+
const { effectiveHeading: e } = this.viewModel;
|
|
264
|
+
return !this.hideHeading && e ? e : "";
|
|
265
|
+
}
|
|
266
|
+
_handleActionsStartSlotChange(e) {
|
|
267
|
+
this._hasActionsStartSlotContent = D(e);
|
|
268
|
+
}
|
|
269
|
+
_handleActionsEndSlotChange(e) {
|
|
270
|
+
this._hasActionsEndSlotContent = D(e);
|
|
271
|
+
}
|
|
272
|
+
async _destroySpinner(e) {
|
|
273
|
+
e?.manager?.component?.extraContent?.remove(this._spinnerEl);
|
|
274
|
+
}
|
|
275
|
+
async _createSpinner() {
|
|
276
|
+
const e = this.referenceElement;
|
|
277
|
+
e && (await this._destroySpinner(e), this._spinnerEl = z(o`<arcgis-spinner auto-destroy-disabled .label=${this.messages.loading ?? ""} .trackLocation=${!this.hideSpinner && this.viewModel?.waitingForResult} .location=${this.viewModel?.location ?? void 0} .view=${this.viewModel?.view ?? void 0}></arcgis-spinner>`), e.manager?.component?.extraContent?.add(this._spinnerEl));
|
|
278
|
+
}
|
|
279
|
+
render() {
|
|
280
|
+
return o`<div class="root" @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`;
|
|
281
|
+
}
|
|
282
|
+
_renderFeatureNavigation() {
|
|
283
|
+
return [
|
|
284
|
+
this._renderPagination(() => this._previousFeature(), () => this._nextFeature()),
|
|
285
|
+
this.initialDisplayMode === "list" ? this._renderFeaturePaginationText(this.viewModel.featureCount, this.viewModel.selectedFeatureIndex) : this._renderFeatureMenuButton()
|
|
286
|
+
];
|
|
287
|
+
}
|
|
288
|
+
_renderHeader() {
|
|
289
|
+
return this.featureNavigationTop && this._featureNavigationVisible ? o`<div class="header">${this._renderFeatureNavigation()}</div>` : null;
|
|
290
|
+
}
|
|
291
|
+
_renderFooter() {
|
|
292
|
+
return !this.featureNavigationTop && this._featureNavigationVisible ? o`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>` : null;
|
|
293
|
+
}
|
|
294
|
+
_renderFeaturePaginationText(e, t) {
|
|
295
|
+
const { messages: a } = this;
|
|
296
|
+
return o`<div class="pagination-text">${g(a.pageText ?? "", {
|
|
297
|
+
index: C(t + 1),
|
|
298
|
+
total: C(e)
|
|
299
|
+
})}</div>`;
|
|
300
|
+
}
|
|
301
|
+
_renderFeatureMenuButton() {
|
|
302
|
+
const { messages: e, viewModel: t } = this, { featureCount: a, selectedFeatureIndex: i, pendingPromisesCount: s } = t;
|
|
303
|
+
return o`<calcite-action class="pagination-menu-button" icon=list .label=${e.selectFeature} .loading=${s > 0} @click=${this._handlePaginationMenuButton} .text=${g(e.pageText ?? "", {
|
|
304
|
+
index: C(i + 1),
|
|
305
|
+
total: C(a)
|
|
306
|
+
})} text-enabled title=${e.selectFeature ?? p}></calcite-action>`;
|
|
307
|
+
}
|
|
308
|
+
_renderPagination(e, t) {
|
|
309
|
+
const { previous: a, next: i } = this.messages;
|
|
310
|
+
return o`<calcite-action-bar class="pagination-action-bar" expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${a ?? ""} @click=${e} .text=${a ?? ""} title=${a ?? "" ?? p}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${i ?? ""} @click=${t} .text=${i ?? ""} title=${i ?? "" ?? p}></calcite-action></calcite-action-group></calcite-action-bar>`;
|
|
311
|
+
}
|
|
312
|
+
_renderFeatureMenuItem(e, t) {
|
|
313
|
+
const { initialDisplayMode: a } = this, { selectedFeatureItem: i } = this.viewModel, s = e === i;
|
|
314
|
+
return o`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${() => this._setActiveFeature(t)} @mouseleave=${this._removeActiveFeature} @mouseover=${() => this._setActiveFeature(t)} .selected=${s} @calciteListItemSelect=${() => this._selectFeature(t)}><span .innerHTML=${(M.sanitize(e.heading) || this.messages.untitled) ?? ""} slot=content></span>${a === "list" ? o`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>` : null}</calcite-list-item>`;
|
|
315
|
+
}
|
|
316
|
+
_renderFeatureMenu() {
|
|
317
|
+
const { messages: e, viewModel: t } = this, a = this._groupResultsByLayer(), i = /* @__PURE__ */ new Map();
|
|
318
|
+
t.featureItems.forEach((n, r) => i.set(n, r));
|
|
319
|
+
const s = this.initialDisplayMode === "list" ? "none" : "single";
|
|
320
|
+
return t.featureItems.length ? o`<calcite-list display-mode=flat .label=${e?.featuresList ?? ""} selection-appearance=icon .selectionMode=${s}>${Array.from(a.keys(), (n) => {
|
|
321
|
+
const r = a.get(n)?.map((l) => {
|
|
322
|
+
const h = i.get(l);
|
|
323
|
+
return h == null ? null : this._renderFeatureMenuItem(l, h);
|
|
324
|
+
}), c = n ? n.title ?? this.messages.untitled : null;
|
|
325
|
+
return !this.hideFeatureListLayerTitle && c !== null ? A(n ?? "map-graphics", o`<calcite-list-item-group .heading=${c}>${r}</calcite-list-item-group>`) : r;
|
|
326
|
+
})}</calcite-list>` : null;
|
|
327
|
+
}
|
|
328
|
+
_renderHeaderAction(e) {
|
|
329
|
+
const t = e.title || "";
|
|
330
|
+
return e.visible ? o`<calcite-action .active=${e.type === "toggle" ? e.value : !1} .disabled=${e.disabled} .icon=${e.icon ?? void 0} .indicator=${e.active} .loading=${e.active} @click=${() => this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t ?? p}></calcite-action>` : null;
|
|
331
|
+
}
|
|
332
|
+
_renderHeaderActions() {
|
|
333
|
+
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
334
|
+
}
|
|
335
|
+
_renderContentFeature(e) {
|
|
336
|
+
const { headingLevel: t, hideCloseButton: a, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: n, initialDisplayMode: r, selectedFeature: c, hideHeading: l } = this, { active: h, selectedFeatureItem: f, content: F } = this.viewModel, u = this._getHeading();
|
|
337
|
+
if (r === "list" && !c)
|
|
338
|
+
return null;
|
|
339
|
+
const w = f ? !f.content : !F;
|
|
340
|
+
return o`<calcite-flow-item class=${x(y({
|
|
341
|
+
"content-feature": !0,
|
|
342
|
+
"flow-item-collapsed": i
|
|
343
|
+
}))} .closable=${!a} .closed=${!h} .collapsed=${i} .collapseDirection=${n ? "down" : "up"} .collapsible=${s} .headingLevel=${t} .selected=${e} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${!l && u ? T(u) : void 0} ${v(this._rootFlowItemNode)}>${!l && u ? o`<div slot=heading><div .innerHTML=${M.sanitize(u ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${x(y("container", "content-container", {
|
|
344
|
+
"content-hidden": w
|
|
345
|
+
}))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
346
|
+
}
|
|
347
|
+
_renderFeatureMenuContainer() {
|
|
348
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: a, messages: i, initialDisplayMode: s, featureMenuOpen: n, _featureFlowItemSelected: r, _collapseEnabled: c, _isCollapsed: l, featureNavigationTop: h, headingLevel: f } = this, { active: F, featureItems: u, pendingPromisesCount: w } = e, $ = a ?? i.selectFeature;
|
|
349
|
+
if (s === "feature" && !n)
|
|
350
|
+
return null;
|
|
351
|
+
const b = !r;
|
|
352
|
+
return o`<calcite-flow-item class=${x(y({
|
|
353
|
+
"flow-item-collapsed": l
|
|
354
|
+
}))} .closable=${s === "list" && !t} .closed=${!F} .collapsed=${s === "list" && l} .collapseDirection=${h ? "down" : "up"} .collapsible=${s === "list" && c} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} .description=${this.hideFeatureMenuHeading ? void 0 : g(i.total ?? "", {
|
|
355
|
+
total: u.length
|
|
356
|
+
})} .heading=${this.hideFeatureMenuHeading ? void 0 : $} .headingLevel=${f} .loading=${e.waitingForContents} .selected=${b} @calciteFlowItemBack=${(N) => {
|
|
357
|
+
N.preventDefault(), this._handleFeatureMenuBack();
|
|
358
|
+
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${v(this._featureMenuViewportNode)}>${s === "list" ? this._renderHeaderActions() : null}${w > 0 ? o`<calcite-loader class="loader" inline .label=${i.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${b ? this._renderFeatureMenu() : null}</div><div class="feature-menu-observer" ${v(this._featureMenuIntersectionObserverCreated)}></div>${s === "feature" ? o`<calcite-button scale=s appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${i.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
359
|
+
}
|
|
360
|
+
_renderFlowItem(e, t) {
|
|
361
|
+
const { messages: a, hideCloseButton: i, hideSelectFeature: s, active: n, hideHeading: r } = this, c = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = c && !s, h = e.flowType === "feature-association", f = a.returnToInitialFeature ?? "", F = a?.selectFeature, u = this._getActionTitle(this._zoomToFeature), w = !this.hideActionBar && h && c, $ = e.flowType === "feature" && this.viewModel.aggregatedFeaturesEnabled ? o`<div class="footer" slot=footer>${this._renderPagination(() => {
|
|
362
|
+
this._aggregatedFeaturesComponent.value?.previous();
|
|
363
|
+
}, () => {
|
|
364
|
+
this._aggregatedFeaturesComponent.value?.next();
|
|
365
|
+
})}${this._renderFeaturePaginationText(this._aggregatedFeatureCount, this._selectedAggregatedFeatureIndex)}</div>` : null;
|
|
366
|
+
return o`<calcite-flow-item .closable=${!i} .closed=${!n} class="flow-item-drill-in" .description=${T(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${r ? void 0 : T(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(b) => {
|
|
367
|
+
b.preventDefault(), this._handleDrillInBackClick();
|
|
368
|
+
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${r ? null : o`<div slot=heading><div .innerHTML=${M.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${M.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${f ?? ""} title=${f ?? "" ?? p}></calcite-action>${l ? o`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${F ?? ""} title=${F ?? p}></calcite-action>` : null}${w ? o`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${this._zoomToFeature.disabled} .icon=${this._zoomToFeature.icon ?? void 0} .loading=${this._zoomToFeature.active} scale=s text-enabled .text=${u} title=${u ?? p} @click=${() => j(this.viewModel, this._zoomToFeature, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div>${$}</calcite-flow-item>`;
|
|
369
|
+
}
|
|
370
|
+
_renderContentContainer() {
|
|
371
|
+
const e = this.flowItems?.toArray(), t = e.length > 0, a = this.viewModel.aggregatedFeaturesEnabled && this.viewModel.selectedFeature?.isAggregate && !t, i = a && e.length === 0, s = e.length === 0 && this._featureFlowItemSelected && !a, n = e?.map((l, h) => this._renderFlowItem(l, this._featureFlowItemSelected && h === e.length - 1)), r = this._renderBrowseAggregateContainer(!!i), c = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(s)] : [this._renderContentFeature(s), this._renderFeatureMenuContainer()];
|
|
372
|
+
return o`<calcite-flow ${v(this._flowContainerNode)}>${c}${r}${n}</calcite-flow>`;
|
|
373
|
+
}
|
|
374
|
+
_renderBrowseAggregateContainer(e) {
|
|
375
|
+
const { hideCloseButton: t, active: a, messages: i } = this, { selectedFeature: s } = this.viewModel;
|
|
376
|
+
return this.viewModel.aggregatedFeaturesEnabled && s?.isAggregate ? o`<calcite-flow-item .selected=${e} .closable=${!t} .closed=${!a} .description=${this._aggregatedFeatureCount ? g(i.total ?? "", {
|
|
377
|
+
total: this._aggregatedFeatureCount
|
|
378
|
+
}) : ""} .heading=${i.aggregatedFeatures} @calciteFlowItemBack=${(r) => {
|
|
379
|
+
r.preventDefault(), this.viewModel.aggregatedFeaturesEnabled = !1;
|
|
380
|
+
}} .loading=${this._aggregatedFeaturesLoading} @calciteFlowItemClose=${this._handleClose}><arcgis-aggregated-features .autoDestroyDisabled=${this.autoDestroyDisabled} .feature=${s ?? void 0} .flowItems=${this.flowItems} .map=${this.map ?? void 0} .messages=${i} @arcgisPropertyChange=${this._handleAggregatedFeaturesPropertyChange} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.view ?? void 0} ${v(this._aggregatedFeaturesComponent)}></arcgis-aggregated-features><calcite-button appearance=transparent @click=${() => this.viewModel.aggregatedFeaturesEnabled = !1} slot=footer-start scale=s width=full>${i.back}</calcite-button></calcite-flow-item>` : null;
|
|
381
|
+
}
|
|
382
|
+
_renderActionBar() {
|
|
383
|
+
const e = this.viewModel.selectedFeatureItem?.isFeatureFromTable, t = this.viewModel.allActions.toArray(), a = e && !this.location ? t.filter((s) => s.id !== this._zoomToFeature.id) : t, i = !!a.length || this._hasActionsStartSlotContent || this._hasActionsEndSlotContent;
|
|
384
|
+
return !this._isCollapsed && !this.hideActionBar && i ? o`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><slot name=actions-start @slotchange=${this._handleActionsStartSlotChange}></slot><calcite-action-group overlay-positioning=fixed scale=s ${v(this._actionBarMenuNode)}>${this._renderActions(a)}</calcite-action-group><slot name=actions-end @slotchange=${this._handleActionsEndSlotChange}></slot></calcite-action-bar>` : null;
|
|
385
|
+
}
|
|
386
|
+
_renderActions(e) {
|
|
387
|
+
return e.map((t) => {
|
|
388
|
+
const a = this._getActionTitle(t);
|
|
389
|
+
return o`<calcite-action .active=${t.type === "toggle" ? t.value : !1} .disabled=${t.disabled} .icon=${t.icon ?? void 0} .loading=${t.active} scale=s .textEnabled=${!this._hideActionText} .text=${a ?? ""} title=${a ?? p} .hidden=${!t.visible} @click=${() => this._triggerAction(t)}></calcite-action>`;
|
|
390
|
+
});
|
|
391
|
+
}
|
|
392
|
+
_renderContent() {
|
|
393
|
+
const { content: e, selectedFeatureItem: t } = this.viewModel;
|
|
394
|
+
return t ? A(t, o`<arcgis-feature-next .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel + 1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${v(this._selectedFeatureComponent)}></arcgis-feature-next>`) : typeof e == "string" ? A(e, o`<div .innerHTML=${M.sanitize(e) ?? ""}></div>`) : e ?? null;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
B("arcgis-features-next", Q);
|
|
398
|
+
export {
|
|
399
|
+
Q as ArcgisFeaturesNext
|
|
400
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "../arcgis-spinner/index.js";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-action-bar";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-action-group";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-list-item-group";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-flow-item";
|
|
10
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
11
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
12
|
+
import "@esri/calcite-components/components/calcite-flow";
|
|
13
|
+
import "../arcgis-aggregated-features/index.js";
|
|
14
|
+
import "../arcgis-feature-next/index.js";
|
|
15
|
+
export * from "./customElement.js";
|
|
@@ -730,6 +730,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
730
730
|
closePopup(): Promise<void>;
|
|
731
731
|
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
732
732
|
destroy(): Promise<void>;
|
|
733
|
+
focusPopup(): Promise<void>;
|
|
733
734
|
/**
|
|
734
735
|
* Sets the view to a given target.
|
|
735
736
|
*
|
|
@@ -3,15 +3,15 @@ import { c as C } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import _ from "@arcgis/core/views/LinkChartView.js";
|
|
5
5
|
import b from "@arcgis/core/WebLinkChart.js";
|
|
6
|
-
import { LitElement as V, createEvent as
|
|
6
|
+
import { LitElement as V, createEvent as c, safeClassMap as w } from "@arcgis/lumina";
|
|
7
7
|
import { reCreateAccessor as A, reEmitEvent as e, makeAccessorController as f } from "@arcgis/lumina/controllers/accessor";
|
|
8
8
|
import { createRef as v, ref as m } from "lit/directives/ref.js";
|
|
9
9
|
import { s as I } from "../../chunks/esri-main.js";
|
|
10
10
|
import { s as E } from "../../chunks/slots.js";
|
|
11
11
|
import { C as u } from "../../chunks/resources.js";
|
|
12
12
|
import { p as L, i as k } from "../../chunks/component-utils.js";
|
|
13
|
-
import { U as M,
|
|
14
|
-
import { fetchKnowledgeGraph as
|
|
13
|
+
import { U as M, P as R, u as U, a as D } from "../../chunks/useArcgisViewReadyError.js";
|
|
14
|
+
import { fetchKnowledgeGraph as P } from "@arcgis/core/rest/knowledgeGraphService.js";
|
|
15
15
|
import x from "@arcgis/core/rest/knowledgeGraph/GraphQueryStreaming.js";
|
|
16
16
|
import { t as d } from "../../chunks/async-utils.js";
|
|
17
17
|
import { isAbortError as g } from "@arcgis/core/core/promiseUtils.js";
|
|
@@ -29,9 +29,9 @@ const z = f(
|
|
|
29
29
|
*/
|
|
30
30
|
{}
|
|
31
31
|
), Z = f(_, {});
|
|
32
|
-
class
|
|
32
|
+
class F extends V {
|
|
33
33
|
constructor() {
|
|
34
|
-
super(), this._containerRef = v(), this._mapRef = v(), this._uiController = new M(this), this._activeLoadAbortController = null, this.arcgisLoadError =
|
|
34
|
+
super(), this._containerRef = v(), this._mapRef = v(), this._uiController = new M(this), this._popupFocusController = new R(this), this._activeLoadAbortController = null, this.arcgisLoadError = U(this), this.arcgisViewReadyError = D(this), this._map = z(this), this._baseCypherQuery = "", this._serviceUrl = "", this._propItemId = "", this.view = Z(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = c(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = c(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
|
|
35
35
|
components: []
|
|
36
36
|
};
|
|
37
37
|
}
|
|
@@ -129,6 +129,9 @@ class P extends V {
|
|
|
129
129
|
async closePopup() {
|
|
130
130
|
this._uiController.closePopup();
|
|
131
131
|
}
|
|
132
|
+
async focusPopup() {
|
|
133
|
+
this._popupFocusController.focusPopup();
|
|
134
|
+
}
|
|
132
135
|
async destroy() {
|
|
133
136
|
await this.manager.destroy();
|
|
134
137
|
}
|
|
@@ -226,14 +229,14 @@ class P extends V {
|
|
|
226
229
|
});
|
|
227
230
|
}
|
|
228
231
|
renderMain() {
|
|
229
|
-
return y`<div class=${
|
|
232
|
+
return y`<div class=${w(u.base)} ${m(this._mapRef)}></div>`;
|
|
230
233
|
}
|
|
231
234
|
render() {
|
|
232
|
-
return y`${this.renderMain()}<section class=${
|
|
235
|
+
return y`${this.renderMain()}<section class=${w(u.containerUI)} ${m(this._containerRef)}>${this._uiController.render()}</section>`;
|
|
233
236
|
}
|
|
234
237
|
}
|
|
235
238
|
const s = {
|
|
236
|
-
fetchKnowledgeGraph: async (r) => await
|
|
239
|
+
fetchKnowledgeGraph: async (r) => await P(r),
|
|
237
240
|
WebLinkChart: b,
|
|
238
241
|
LinkChartLayer: Q,
|
|
239
242
|
setMap: (r, i) => {
|
|
@@ -250,8 +253,8 @@ const s = {
|
|
|
250
253
|
},
|
|
251
254
|
reCreateAccessor: A
|
|
252
255
|
};
|
|
253
|
-
C("arcgis-link-chart",
|
|
256
|
+
C("arcgis-link-chart", F);
|
|
254
257
|
export {
|
|
255
|
-
|
|
258
|
+
F as ArcgisLinkChart,
|
|
256
259
|
s as exportsForTests
|
|
257
260
|
};
|
|
@@ -911,6 +911,7 @@ export abstract class ArcgisMap extends LitElement {
|
|
|
911
911
|
closePopup(): Promise<void>;
|
|
912
912
|
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
913
913
|
destroy(): Promise<void>;
|
|
914
|
+
focusPopup(): Promise<void>;
|
|
914
915
|
/**
|
|
915
916
|
* Sets the view to a given target.
|
|
916
917
|
*
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
3
3
|
import { html as a } from "lit";
|
|
4
4
|
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
5
|
import c from "@arcgis/core/views/MapView.js";
|
|
6
6
|
import v from "@arcgis/core/WebMap.js";
|
|
7
7
|
import { LitElement as m, createEvent as r, safeClassMap as o } from "@arcgis/lumina";
|
|
8
|
-
import { reEmitEvent as e, reCreateAccessor as u, makeAccessorController as
|
|
8
|
+
import { reEmitEvent as e, reCreateAccessor as u, makeAccessorController as p } from "@arcgis/lumina/controllers/accessor";
|
|
9
9
|
import { createRef as n, ref as h } from "lit/directives/ref.js";
|
|
10
10
|
import { s as g } from "../../chunks/esri-main.js";
|
|
11
11
|
import { s as d } from "../../chunks/slots.js";
|
|
12
12
|
import { C as w } from "../../chunks/resources.js";
|
|
13
13
|
import { p as y, i as f } from "../../chunks/component-utils.js";
|
|
14
|
-
import { U as b,
|
|
15
|
-
import
|
|
16
|
-
const
|
|
14
|
+
import { U as b, P as V, u as C, a as E } from "../../chunks/useArcgisViewReadyError.js";
|
|
15
|
+
import A from "@arcgis/core/core/Collection.js";
|
|
16
|
+
const _ = p(
|
|
17
17
|
v,
|
|
18
18
|
/**
|
|
19
19
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
@@ -24,10 +24,10 @@ const A = l(
|
|
|
24
24
|
* in an externalized package.
|
|
25
25
|
*/
|
|
26
26
|
{}
|
|
27
|
-
), R =
|
|
28
|
-
class
|
|
27
|
+
), R = p(c, {});
|
|
28
|
+
class D extends m {
|
|
29
29
|
constructor() {
|
|
30
|
-
super(), this._containerRef = n(), this._mapRef = n(), this._uiController = new b(this), this.extraContent = new
|
|
30
|
+
super(), this._containerRef = n(), this._mapRef = n(), this._uiController = new b(this), this._popupFocusController = new V(this), this.extraContent = new A(), this.arcgisLoadError = C(this), this.arcgisViewReadyError = E(this), this._map = _(this), this.view = R(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.spatialReferenceLocked = this.view.spatialReferenceLocked, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
|
|
31
31
|
components: []
|
|
32
32
|
};
|
|
33
33
|
}
|
|
@@ -116,6 +116,9 @@ class _ extends m {
|
|
|
116
116
|
async closePopup() {
|
|
117
117
|
this._uiController.closePopup();
|
|
118
118
|
}
|
|
119
|
+
async focusPopup() {
|
|
120
|
+
this._popupFocusController.focusPopup();
|
|
121
|
+
}
|
|
119
122
|
async destroy() {
|
|
120
123
|
await this.manager.destroy();
|
|
121
124
|
}
|
|
@@ -175,7 +178,7 @@ class _ extends m {
|
|
|
175
178
|
return a`${this.renderMain()}<section class=${o(w.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}${this.extraContent}</section>`;
|
|
176
179
|
}
|
|
177
180
|
}
|
|
178
|
-
|
|
181
|
+
l("arcgis-map", D);
|
|
179
182
|
export {
|
|
180
|
-
|
|
183
|
+
D as ArcgisMap
|
|
181
184
|
};
|
|
@@ -8,10 +8,10 @@ import type Point from "@arcgis/core/geometry/Point.js";
|
|
|
8
8
|
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
9
9
|
import type { Alignment, DockOptions, PopupPositionResult, FetchFeaturesOptions } from "./types.js";
|
|
10
10
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
11
|
-
import type { ArcgisFeature } from "../arcgis-feature/customElement.js";
|
|
12
11
|
import type { ActionEvent, PopupOpenOptions } from "@arcgis/core/widgets/Popup/types.js";
|
|
13
12
|
import type { ScreenPoint } from "@arcgis/core/core/types.js";
|
|
14
13
|
import type { ClickEvent } from "@arcgis/core/views/input/types.js";
|
|
14
|
+
import type { ArcgisFeatureNext } from "../arcgis-feature-next/customElement.js";
|
|
15
15
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
16
16
|
import type { PopupAction, InitialDisplayOptions, State } from "@arcgis/core/popup/types.js";
|
|
17
17
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
@@ -530,7 +530,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
530
530
|
* Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature/) that the Popup is using.
|
|
531
531
|
* This is useful if needing to get a reference to the component in order to make any changes to it.
|
|
532
532
|
*/
|
|
533
|
-
get selectedFeatureComponent():
|
|
533
|
+
get selectedFeatureComponent(): ArcgisFeatureNext | null;
|
|
534
534
|
/**
|
|
535
535
|
* Index of the feature that is [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature). When [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) are set,
|
|
536
536
|
* the first index is automatically selected.
|