@arcgis/map-components 4.32.0-next.21 → 4.32.0-next.23
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{AVK52HRN.js → 2F2V6HGD.js} +2 -2
- package/dist/arcgis-map-components/2GO72YU3.js +6 -0
- package/dist/arcgis-map-components/{VC64WSZG.js → 3BRNZFOI.js} +2 -2
- package/dist/arcgis-map-components/3HGOKDRP.js +6 -0
- package/dist/arcgis-map-components/467LZTCZ.js +6 -0
- package/dist/arcgis-map-components/{5E36Y6LW.js → 5ALVCF6N.js} +2 -2
- package/dist/arcgis-map-components/5EPFFKIJ.js +6 -0
- package/dist/arcgis-map-components/5NW3KNL4.js +6 -0
- package/dist/arcgis-map-components/{MIXPTOWS.js → 5YDFCE7J.js} +2 -2
- package/dist/arcgis-map-components/5ZINSNNT.js +6 -0
- package/dist/arcgis-map-components/6IQ5UUWE.js +6 -0
- package/dist/arcgis-map-components/6Q55WXV6.js +6 -0
- package/dist/arcgis-map-components/{3DBN7NBY.js → 6YYP7GTC.js} +2 -2
- package/dist/arcgis-map-components/{KXZJEXIL.js → 7JSNG7XL.js} +2 -2
- package/dist/arcgis-map-components/{YGYIOEST.js → A2X5YVRZ.js} +2 -2
- package/dist/arcgis-map-components/{TFDBIOU7.js → AACE67ZX.js} +2 -2
- package/dist/arcgis-map-components/AOR2Y4SU.js +6 -0
- package/dist/arcgis-map-components/BMOKKYTA.js +6 -0
- package/dist/arcgis-map-components/{IOTXSBMW.js → C4TJFQ6S.js} +2 -2
- package/dist/arcgis-map-components/{Z556VFKP.js → CJANHVSX.js} +2 -2
- package/dist/arcgis-map-components/{4JPI5FZ7.js → CLLTAYPK.js} +2 -2
- package/dist/arcgis-map-components/{YEDOBJVM.js → CMWST2HY.js} +2 -2
- package/dist/arcgis-map-components/{DOJRMVHP.js → COHYFVYI.js} +2 -2
- package/dist/arcgis-map-components/{LCX5VUD4.js → D5RR3SKN.js} +2 -2
- package/dist/arcgis-map-components/{JYCWSPOU.js → DRWVF6S5.js} +2 -2
- package/dist/arcgis-map-components/{L2YRXBR6.js → EKC43WOL.js} +2 -2
- package/dist/arcgis-map-components/{L6L75XFG.js → EQKHOCZE.js} +2 -2
- package/dist/arcgis-map-components/{UILXLOJJ.js → FDQCVQC2.js} +2 -2
- package/dist/arcgis-map-components/GGUHE3LB.js +6 -0
- package/dist/arcgis-map-components/{5E7EUJ5A.js → GTFCFONC.js} +2 -2
- package/dist/arcgis-map-components/{BMI4WHZK.js → I4WZXHD5.js} +2 -2
- package/dist/arcgis-map-components/{TA2WFOIS.js → IO7OUDSX.js} +2 -2
- package/dist/arcgis-map-components/{2U733VXV.js → J5FC7PZ3.js} +2 -2
- package/dist/arcgis-map-components/{YWIPYX56.js → JGOESNEX.js} +2 -2
- package/dist/arcgis-map-components/{EBLGHMSC.js → JUP57YWU.js} +2 -2
- package/dist/arcgis-map-components/{IM4FB5R3.js → KOWHGXFS.js} +2 -2
- package/dist/arcgis-map-components/KRSZTRE4.js +6 -0
- package/dist/arcgis-map-components/{VZH3CAF6.js → MIDWVT5J.js} +2 -2
- package/dist/arcgis-map-components/N52H4H5T.js +6 -0
- package/dist/arcgis-map-components/NMPQ7DBC.js +6 -0
- package/dist/arcgis-map-components/{Y6CAFLD6.js → NXQFXSB5.js} +2 -2
- package/dist/arcgis-map-components/{K2WCJUWA.js → OHAKKE3S.js} +2 -2
- package/dist/arcgis-map-components/{GEULEAEM.js → P4PYNNDH.js} +2 -2
- package/dist/arcgis-map-components/PF3QG77B.js +6 -0
- package/dist/arcgis-map-components/{3DN66BEC.js → PKBN2JWN.js} +2 -2
- package/dist/arcgis-map-components/{JQKDLJNY.js → QNBFKTDD.js} +2 -2
- package/dist/arcgis-map-components/{UPSGI4YB.js → QQ5HLWDO.js} +2 -2
- package/dist/arcgis-map-components/QYEDV3XN.js +6 -0
- package/dist/arcgis-map-components/{ZJ2P3FUV.js → RE7EMVVO.js} +2 -2
- package/dist/arcgis-map-components/ROKRHTKK.js +6 -0
- package/dist/arcgis-map-components/SPXAHAFL.js +6 -0
- package/dist/arcgis-map-components/SRC5FGW4.js +8 -0
- package/dist/arcgis-map-components/{7TFJYPQY.js → T26HFJLF.js} +2 -2
- package/dist/arcgis-map-components/{SJU5UCZD.js → TEQFX3CM.js} +2 -2
- package/dist/arcgis-map-components/{S3JBVJPX.js → UKBOVAO5.js} +2 -2
- package/dist/arcgis-map-components/{QQ3QW4JQ.js → UTVFQSTD.js} +2 -2
- package/dist/arcgis-map-components/V2VAQUBJ.js +6 -0
- package/dist/arcgis-map-components/{33AA3PEL.js → V364OQWA.js} +40 -40
- package/dist/arcgis-map-components/{7AY6XL2I.js → VHHUJVWN.js} +1 -1
- package/dist/arcgis-map-components/{ETF6MM6B.js → VHMYXI6J.js} +2 -2
- package/dist/arcgis-map-components/VIF4AHYD.js +6 -0
- package/dist/arcgis-map-components/WFYPKHEZ.js +6 -0
- package/dist/arcgis-map-components/{JVJRAPUX.js → XB4O2ELS.js} +2 -2
- package/dist/arcgis-map-components/{4LKLM5XC.js → XKHEU6ST.js} +2 -2
- package/dist/arcgis-map-components/XWZLPHBR.js +6 -0
- package/dist/arcgis-map-components/{XOXGIFMM.js → Y5WNEFOJ.js} +2 -2
- package/dist/arcgis-map-components/YDTAIZN3.js +6 -0
- package/dist/arcgis-map-components/{P4FLA3RN.js → YJMXTBOI.js} +1 -1
- package/dist/arcgis-map-components/{SNSKYHBC.js → YOCFU6OH.js} +2 -2
- package/dist/arcgis-map-components/YS23TDDC.js +6 -0
- package/dist/arcgis-map-components/{ZLJZTLQU.js → ZCXDEK3V.js} +2 -2
- package/dist/arcgis-map-components/{2DNTLMTB.js → ZJSXZB7R.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/assets/basemap-gallery/images/basemap-toggle-64.svg +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ar.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.bg.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.bs.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ca.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.cs.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.da.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.de.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.el.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.en.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.es.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.et.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.fi.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.fr.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.he.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.hr.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.hu.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.id.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.it.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ja.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ko.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.lt.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.lv.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.nb.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.nl.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.pl.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.pt-BR.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.pt-PT.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ro.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ru.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.sk.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.sl.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.sr.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.sv.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.th.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.tr.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.uk.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.vi.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.zh-CN.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.zh-HK.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.zh-TW.json +1 -0
- package/dist/chunks/basemap-gallery-item.js +55 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/basemap-gallery-resources.d.ts +15 -0
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.d.ts +15 -0
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +14 -0
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/index.d.ts +3 -0
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/index.js +3 -0
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +12 -12
- package/dist/components/arcgis-basemap-gallery/customElement.js +88 -15
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.d.ts +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management/index.d.ts +1 -1
- package/dist/components/arcgis-version-management/index.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/index.d.ts +1 -1
- package/dist/components/arcgis-version-management-version-list/index.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/api.json +56 -18
- package/dist/docs/docs.json +35 -13
- package/dist/docs/vscode.html-custom-data.json +20 -4
- package/dist/docs/web-types.json +16 -14
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/support/basemapUtils.d.ts +3 -0
- package/dist/support/heading.d.ts +11 -0
- package/package.json +5 -5
- package/dist/arcgis-map-components/3XOMWGZP.js +0 -6
- package/dist/arcgis-map-components/6FDS3YVF.js +0 -6
- package/dist/arcgis-map-components/6QQZSC3U.js +0 -6
- package/dist/arcgis-map-components/6RZ3S2EF.js +0 -8
- package/dist/arcgis-map-components/7OHAZ62N.js +0 -6
- package/dist/arcgis-map-components/7SM4LN5H.js +0 -6
- package/dist/arcgis-map-components/7T4CPEUN.js +0 -6
- package/dist/arcgis-map-components/CQFEQEOG.js +0 -6
- package/dist/arcgis-map-components/LCD47EYR.js +0 -6
- package/dist/arcgis-map-components/LOVPVCP5.js +0 -6
- package/dist/arcgis-map-components/MZ2OHNBQ.js +0 -6
- package/dist/arcgis-map-components/MZBTFGYM.js +0 -6
- package/dist/arcgis-map-components/NV2JSNTY.js +0 -6
- package/dist/arcgis-map-components/P3FSTHG5.js +0 -6
- package/dist/arcgis-map-components/QPF7IYYE.js +0 -6
- package/dist/arcgis-map-components/QPIYXIHT.js +0 -6
- package/dist/arcgis-map-components/RS5GQRJB.js +0 -6
- package/dist/arcgis-map-components/S6I7VCVM.js +0 -6
- package/dist/arcgis-map-components/U5LSQVRU.js +0 -6
- package/dist/arcgis-map-components/UFQE6RTO.js +0 -6
- package/dist/arcgis-map-components/UKOX6DQF.js +0 -6
- package/dist/arcgis-map-components/WIUB5GL5.js +0 -6
- package/dist/arcgis-map-components/WYSLUAQV.js +0 -6
- package/dist/arcgis-map-components/ZDEHXZL7.js +0 -6
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{a as c}from"./
|
6
|
+
import{a as c}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{x as n}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as a,E as o,J as r,g as s,r as i,s as e}from"./SRC5FGW4.js";var h=e`arcgis-distance-measurement-2d{display:block}`,m=c(n),t=class extends o{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=h}async destroy(){await this.manager.destroy()}};r("arcgis-distance-measurement-2d",t);export{t as ArcgisDistanceMeasurement2d};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{
|
6
|
+
import{D as g,E as p,H as v,J as h,g as m,t as o}from"./SRC5FGW4.js";var c=class extends p{constructor(){super(...arguments),this.arcgisManageVersion=g()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=m}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersionAdministrator:b,isVersioningApiAvailable:u,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,I=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,a=r.toUpperCase()===$.toUpperCase()&&u&&f||b,i=V.guid===e.versionIdentifier.guid,x=o`<calcite-action .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,U=i?void 0:o`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return o`<calcite-list-item .description=${r} .label=${I} .value=${l}>${x}${U}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||a&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{a as h}from"./
|
6
|
+
import{a as h}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{j as n}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as a,E as o,J as r,g as s,r as i,s as e}from"./SRC5FGW4.js";var d=e`arcgis-area-measurement-3d{display:block}`,l=h(n),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=d}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-area-measurement-3d",t);export{t as ArcgisAreaMeasurement3d};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{a as r}from"./
|
6
|
+
import{a as r}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{p as o}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as l,E as a,J as h,g as i,r as s,s as t}from"./SRC5FGW4.js";var d=t`arcgis-building-explorer{display:block}`,n=r(o),e=class extends a{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideDisciplines=this.widget.visibleElements.disciplines,this.hideLevels=this.widget.visibleElements.levels,this.hidePhases=this.widget.visibleElements.phases,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.level=this.viewModel.level,this.phase=this.viewModel.phase,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=s()("level","phase","state"),this.arcgisReady=l()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideDisciplines:5,hideLevels:5,hidePhases:5,icon:1,label:1,layers:0,level:0,phase:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=i}static{this.styles=d}async destroy(){await this.manager.destroy()}};h("arcgis-building-explorer",e);export{e as ArcgisBuildingExplorer};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{a as y,b as z}from"./
|
6
|
+
import{a as y,b as z}from"./P4PYNNDH.js";import{a as t}from"./YJMXTBOI.js";import{a as k,b}from"./WFYPKHEZ.js";import{d as s}from"./QQ5HLWDO.js";import{O as v}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as g,E as u,F as r,H as w,J as f,b as d,g as h,r as p,s as m,t as e}from"./SRC5FGW4.js";var O={arrowDown:"esri-icon-arrow-down",arrowUp:"esri-icon-arrow-up",basemap:"esri-icon-basemap",bookmark:"esri-icon-bookmark",calendar:"esri-icon-calendar",checkMark:"esri-icon-check-mark",checkboxUnchecked:"esri-icon-checkbox-unchecked",close:"esri-icon-close",collapse:"esri-icon-collapse",defaultAction:"esri-icon-default-action",description:"esri-icon-description",directions:"esri-icon-directions",dockBottom:"esri-icon-dock-bottom",dockLeft:"esri-icon-dock-left",dockRight:"esri-icon-dock-right",down:"esri-icon-down",downArrow:"esri-icon-down-arrow",download:"esri-icon-download",dragHorizontal:"esri-icon-drag-horizontal",dragVertical:"esri-icon-drag-vertical",duplicate:"esri-icon-duplicate",edit:"esri-icon-edit",elevationProfile:"esri-icon-elevation-profile",environmentSettings:"esri-icon-environment-settings",erase:"esri-icon-erase",error:"esri-icon-error",expand:"esri-icon-expand",fontFallbackText:"esri-icon-font-fallback-text",forward:"esri-icon-forward",gear:"esri-icon-gear",handleHorizontal:"esri-icon-handle-horizontal",handleVertical:"esri-icon-handle-vertical",home:"esri-icon-home",icon:"esri-icon",launchLinkExternal:"esri-icon-launch-link-external",layerList:"esri-icon-layer-list",layers:"esri-icon-layers",left:"esri-icon-left",leftArrows:"esri-icon-left-arrow",leftTriangleArrow:"esri-icon-left-triangle-arrow",lineOfSight:"esri-icon-line-of-sight",link:"esri-icon-link",linkExternal:"esri-icon-link-external",linkHorizontal:"esri-icon-link-horizontal",loadingIndicator:"esri-icon-loading-indicator",locate:"esri-icon-locate",locateCircled:"esri-icon-locate-circled",locked:"esri-icon-locked",mapPin:"esri-icon-map-pin",maximize:"esri-icon-maximize",measure:"esri-icon-measure",measureArea:"esri-icon-measure-area",measureBuildingHeightShadow:"esri-icon-measure-building-height-shadow",measureLine:"esri-icon-measure-line",menu:"esri-icon-menu",minimize:"esri-icon-minimize",minus:"esri-icon-minus",nonVisible:"esri-icon-non-visible",northNavigation:"esri-icon-north-navigation",noticeTriangle:"esri-icon-notice-triangle",organization:"esri-icon-organization",pan:"esri-icon-pan",pan2:"esri-icon-pan2",partlyCloudy:"esri-icon-partly-cloudy",pause:"esri-icon-pause",play:"esri-icon-play",playCircled:"esri-icon-play-circled",plus:"esri-icon-plus",polyline:"esri-icon-polyline",printer:"esri-icon-printer",radioChecked:"esri-icon-radio-checked",radioUnchecked:"esri-icon-radio-unchecked",refresh:"esri-icon-refresh",reverse:"esri-icon-reverse",right:"esri-icon-right",rightArrow:"esri-icon-right-arrow",rightTriangleArrow:"esri-icon-right-triangle-arrow",rotate:"esri-icon-rotate",save:"esri-icon-save",search:"esri-icon-search",settings2:"esri-icon-settings2",slice:"esri-icon-slice",swap:"esri-icon-swap",table:"esri-icon-table",timeClock:"esri-icon-time-clock",tracking:"esri-icon-tracking",trash:"esri-icon-trash",unlockedLinkHorizontal:"esri-icon-unlocked-link-horizontal",up:"esri-icon-up",upArrow:"esri-icon-up-arrow",upDownArrows:"esri-icon-up-down-arrows",urbanModel:"esri-icon-urban-model",vertexGps:"esri-icon-vertex-gps",visible:"esri-icon-visible",zoomInFixed:"esri-icon-zoom-in-fixed",zoomInMagnifyingGlass:"esri-icon-zoom-in-magnifying-glass",zoomOutFixed:"esri-icon-zoom-out-fixed",zoomToObject:"esri-icon-zoom-to-object"},T=m`arcgis-locate{display:block}`,$={base:"esri-locate"},E="gps-off",D=b(v),n=class extends u{constructor(){super(...arguments),this.messages=k(),this.viewModel=D(this),this._calciteButton=y(),this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=E,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=s(()=>this.viewModel,"locate-error"),this.arcgisPropertyChange=p()("state"),this.arcgisReady=g(),this.arcgisSuccess=s(()=>this.viewModel,"locate")}static{this.properties={autoDestroyDisabled:5,geolocationOptions:1,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:3,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.shadowRootOptions=h}static{this.styles=T}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}updated(){if(this._calciteButton.value)if(this.viewModel.state==="locating"){if(!this._calciteButton.value.children[0]){let i=document.createElement("calcite-loader");i.inline=!0,i.label="",this._calciteButton.value.append(i)}}else this._calciteButton.value.children[0]?.remove()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_locate(){let{viewModel:i}=this;i.state==="locating"?i.cancelLocate():i.locate().catch(()=>{})}render(){let{viewModel:i,icon:M}=this,{state:o}=i,a=o==="locating",c=a?this.messages.cancel:this.messages.title,x=o==="feature-unsupported",L=O===void 0?E:void 0,l=this._localizeError(this.viewModel?.error);return e`<div class=${r(d($.base,t.widget))}>${!x&&e`<calcite-button class=${r(t.widgetButton)} .disabled=${o==="disabled"} .iconStart=${a?void 0:M??L} kind=neutral .label=${c} @click=${this._locate} title=${c??w} ${z(this._calciteButton)}></calcite-button>`||""}${l?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${l}</calcite-tooltip>`:null}</div>`}};f("arcgis-locate",n);export{n as ArcgisLocate};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.23
|
5
|
+
*/
|
6
|
+
import{a as h}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{R as l,c as n}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as r,E as o,J as d,g as t,r as a,s}from"./SRC5FGW4.js";var y=s`arcgis-oriented-imagery-viewer{display:block}`,c=h(l),e=class extends o{constructor(){super(...arguments),this.widget=c(this),this._hasOrientedImageryLayerToAdd=!1,this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.icon=this.widget.icon,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.label=this.widget.label,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.position="bottom-left",this.referencePoint=this.widget.referencePoint,this.arcgisPropertyChange=a()("imageGalleryEnabled","layer"),this.arcgisReady=r()}static{this.properties={autoDestroyDisabled:5,currentCoverageVisible:5,disabled:5,galleryOpened:5,icon:1,imageEnhancementToolActive:5,imageGalleryEnabled:4,isAdditionalCoverageVisible:5,isAdditionalPointSourcesVisible:5,label:1,layer:0,mapImageConversionToolState:5,navigationToolActive:5,orientedImageryLayerItemId:1,position:1,referenceElement:1,referencePoint:0}}static{this.shadowRootOptions=t}static{this.styles=y}async destroy(){await this.manager.destroy()}willUpdate(g){if(g.has("orientedImageryLayerItemId")){let i=this.orientedImageryLayerItemId;i&&this.widget&&n({portalItem:{id:i}}).then(m=>{this.layer=m,this.widget.view?this.widget.view.map.add(this.layer):this._hasOrientedImageryLayerToAdd=!0}).catch(console.error)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?(this.widget.view?.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1):this.el.addEventListener("arcgisReady",()=>{this.widget.view.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1},{once:!0}))}};d("arcgis-oriented-imagery-viewer",e);export{e as ArcgisOrientedImageryViewer};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{a as c}from"./
|
6
|
+
import{a as c}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{w as n}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as a,E as o,J as r,g as s,r as i,s as e}from"./SRC5FGW4.js";var h=e`arcgis-directline-measurement-3d{display:block}`,l=c(n),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=h}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-directline-measurement-3d",t);export{t as ArcgisDirectLineMeasurement3d};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.23
|
5
|
+
*/
|
6
|
+
import{a as d}from"./YDTAIZN3.js";import{d as h}from"./QQ5HLWDO.js";import{q as r}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as o,E as a,J as l,g as e,r as i,s}from"./SRC5FGW4.js";var n=s`arcgis-catalog-layer-list{display:block}`,c=d(r),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=i()("state"),this.arcgisReady=o(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=e}static{this.styles=n}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};l("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.23
|
5
|
+
*/
|
6
|
+
import{b as n,c as a,i as c}from"./VHHUJVWN.js";import{D as l,E as o,J as r,g as i,s}from"./SRC5FGW4.js";var h=s`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}`,t=class extends o{constructor(){super(),this._observer=void 0,this.position="bottom-left",this.arcgisReady=l(),this._moveChildren=()=>{if(this.el.childElem.parentElement!==this.el)for(let e=this.el.firstElementChild;e!==null;e=this.el.firstElementChild)this.el.childElem.append(e)},this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=i}static{this.styles=h}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&c(this,this.referenceElement),e.has("position")&&this.el.childElem&&this.position!==void 0&&this.el.view?.ui.move(this.el.childElem,this.position)}loaded(){a(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),this.el.childElem&&this.el.view?.ui?.remove(this.el.childElem),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};r("arcgis-placement",t);export{t as ArcgisPlacement};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{a as r}from"./
|
6
|
+
import{a as r}from"./YJMXTBOI.js";import{a as M,b as k}from"./WFYPKHEZ.js";import{d as o}from"./QQ5HLWDO.js";import{ba as f}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as m,E as v,F as s,H as w,J as u,b as d,g as h,r as g,s as p,t as e}from"./SRC5FGW4.js";var $=p`arcgis-track{display:block}`,O={base:"esri-track"},D=k(f),a=class extends v{constructor(){super(...arguments),this.messages=M(),this.viewModel=D(this),this.autoDestroyDisabled=!1,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.position="top-left",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.arcgisComplete=o(()=>this.viewModel,"track"),this.arcgisError=o(()=>this.viewModel,"track-error"),this.arcgisPropertyChange=g()("state"),this.arcgisReady=m()}static{this.properties={autoDestroyDisabled:5,error:1,geolocationOptions:1,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:3,label:1,messageOverrides:0,position:3,positionFilterFunction:0,referenceElement:1,scale:9,state:0,tracking:4}}static{this.shadowRootOptions=h}static{this.styles=$}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_toggleTracking(){if(!this.viewModel)return;let{state:i}=this.viewModel;if(!(i==="feature-unsupported"||i==="disabled")){if(i==="tracking"||i==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:i,messages:n,icon:E}=this,t=i?.state,b=t==="tracking",c=this._localizeError(this.viewModel?.error),l=(b?n?.stopTracking:n?.startTracking)??"",T=t==="feature-unsupported",y=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${s(d(O.base,r.widget))}>${!T&&e`<calcite-button class=${s(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${y} kind=neutral .label=${l} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${l??w}></calcite-button>`||""}${c?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${c}</calcite-tooltip>`:null}</div>`}};u("arcgis-track",a);export{a as ArcgisTrack};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{a as d}from"./
|
6
|
+
import{a as d}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{t as l}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as s,E as a,J as h,g as i,s as t}from"./SRC5FGW4.js";var o=t`arcgis-daylight{display:block}`,n=d(l),e=class extends a{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentSeason=this.viewModel.currentSeason,this.dateOrSeason=this.widget.dateOrSeason,this.dayPlaying=this.viewModel.dayPlaying,this.headingLevel=this.widget.headingLevel,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideTimezone=this.widget.visibleElements.timezone,this.icon=this.widget.icon,this.label=this.widget.label,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.position="bottom-left",this.timeSliderSteps=this.widget.timeSliderSteps,this.yearPlaying=this.viewModel.yearPlaying,this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,currentSeason:1,dateOrSeason:1,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:1,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,yearPlaying:5}}static{this.shadowRootOptions=i}static{this.styles=o}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);export{e as ArcgisDaylight};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{A as
|
6
|
+
import{A as _,C as v,w as c,y as A,z as d}from"./SRC5FGW4.js";var o=(t,s)=>{let e=t._$AN;if(e===void 0)return!1;for(let i of e)i._$AO?.(s,!1),o(i,s);return!0},n=t=>{let s,e;do{if((s=t._$AM)===void 0)break;e=s._$AN,e.delete(t),t=s}while(e?.size===0)},$=t=>{for(let s;s=t._$AM;t=s){let e=s._$AN;if(e===void 0)s._$AN=e=new Set;else if(e.has(t))break;e.add(t),m(s)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,$(this)):this._$AM=t}function u(t,s=!1,e=0){let i=this._$AH,f=this._$AN;if(f!==void 0&&f.size!==0)if(s)if(Array.isArray(i))for(let h=e;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==A.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends _{constructor(){super(...arguments),this._$AN=void 0}_$AT(s,e,i){super._$AT(s,e,i),$(this),this.isConnected=s._$AU}_$AO(s,e=!0){s!==this.isConnected&&(this.isConnected=s,s?this.reconnected?.():this.disconnected?.()),e&&(o(this,s),n(this))}setValue(s){if(v(this.t))this.t._$AI(s,this);else{let e=[...this.t._$AH];e[this.i]=s,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var M=()=>new l,l=class{},a=new WeakMap,T=d(class extends r{render(t){return c}update(t,[s]){let e=s!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=s,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.Y=="function"){let s=this.ht??globalThis,e=a.get(s);e===void 0&&(e=new WeakMap,a.set(s,e)),e.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),e.set(this.Y,t),t!==void 0&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return typeof this.Y=="function"?a.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{M as a,T as b};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.23
|
5
|
+
*/
|
6
|
+
import{a as T,b as k}from"./SPXAHAFL.js";import{a as d}from"./YJMXTBOI.js";import{a as E,b as G}from"./WFYPKHEZ.js";import"./QQ5HLWDO.js";import{ja as S,l as U,la as A}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as C,E as I,F as r,G as R,H as m,J as D,K as L,b as p,g as M,p as f,r as B,s as x,t as n}from"./SRC5FGW4.js";var l="esri-basemap-gallery",i={base:l,sourceLoading:`${l}--source-loading`,layoutGrid:`${l}--grid`,narrowItems:`${l}--narrow-items`,loader:`${l}__loader`,item:`${l}__item`,itemContainer:`${l}__item-container`,itemContent:`${l}__item-content`,itemTitle:`${l}__item-title`,itemTagsContainer:`${l}__item-tags-container`,itemThumbnail:`${l}__item-thumbnail`,selectedItem:`${l}__item--selected`,itemError:`${l}__item--error`};function W(t){return t.portalItem?.type==="Web Scene"||t.referenceLayers.some(e=>e.type==="scene")}function q(t){return!!t?.portalItem?.tags?.some(e=>e.toLowerCase()==="beta")}function K({disabled:t,item:e,itemIndex:a,viewModel:s,messages:o,state:c}){let h=e.basemap.thumbnailUrl||L("assets/basemap-gallery/images/basemap-toggle-64.svg"),u=e.basemap.title,g=e.basemap.portalItem?.snippet,$=e.error?.message||g||u,{activeBasemapIndex:y}=s,b=y===a,O=b||y===-1&&a===0?0:-1,P={[i.selectedItem]:b,[i.itemError]:e.state==="error"},_=`basemapgallery-item-${e.uid}`;return n`<div .ariaChecked=${b} .ariaDisabled=${t} aria-labelledby=${_??m} class=${r(p(i.item,P))} data-item=${e??m} data-basemap=${e.basemap.id??m} role=radio tabindex=${O??m} title=${$??m} @click=${()=>{e.state==="ready"&&(s.activeBasemap=e.basemap)}}><img alt class=${r(i.itemThumbnail)} src=${h??m}><div class=${r(i.itemContent)}><div class=${r(i.itemTitle)}><span id=${_??m}>${u}</span></div>${W(e.basemap)?z(e.basemap,o):null}</div>${c==="ready"?null:n`<calcite-scrim><span aria-hidden=true class=${r(d.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`}function z(t,e){return n`<div class=${r(i.itemTagsContainer)}>${V(e)}${q(t)?j(e):null}</div>`}function V(t){return n`<calcite-chip scale=s .value=${t.tag3D}>${t.tag3D}</calcite-chip>`}function j(t){return n`<calcite-chip appearance=outline-fill scale=s .value=${t.tagBeta}>${t.tagBeta}</calcite-chip>`}function F({level:t,class:e,children:a}){let s=N(t),o=`h${s}`,c=T(o);return k`<${c} .ariaLevel=${String(s)} class=${r(p(d.heading,e))} role=heading>${a}</${c}>`}function J(t,e,a){return Math.min(Math.max(t,e),a)}function N(t){return J(Math.ceil(t),1,6)}var Q=x`arcgis-basemap-gallery{display:block}`,X=G(U),v={small:200,default:280,wide:420},w=class extends I{constructor(){super(...arguments),this.messages=E({}),this.viewModel=X(this),this.basemapUtils=f(A),this.reactiveUtils=f(S),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.position="bottom-left",this.source=this.viewModel.source,this.state=this.viewModel.state,this._width=0,this._state="",this._itemsState="",this.arcgisPropertyChange=B()("activeBasemap","state"),this.arcgisReady=C()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,source:0,state:3,_width:16,_state:16,_itemsState:16}}static{this.shadowRootOptions=M}static{this.styles=Q}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[this.reactiveUtils.when(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),this.reactiveUtils.watch(()=>this.source.state,()=>{this._state=this.source.state},{sync:!0}),this.reactiveUtils.watch(()=>this.viewModel.items.filter(s=>s.state!=="ready").length,s=>{this._itemsState=s>0?"loading":"ready"},{sync:!0}),this.reactiveUtils.watch(()=>this.viewModel.activeBasemap,()=>{this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap.id}"]`)?.focus()},{sync:!0})]);let e=new ResizeObserver(s=>{for(let o of s)this._width=o.contentRect.width}),a=this.el.childElem;a&&e.observe(a)}render(){let e=this.source.state==="loading",a=this.disabled||this.state==="disabled",s=this.viewModel.items,o={[i.sourceLoading]:e,[d.disabled]:a,"esri-component":!0},c=this._width;c<=v.small||c>=v.wide?o[i.layoutGrid]=!0:c<v.default&&(o[i.narrowItems]=!0);let h=e?n`<div class=${r(i.loader)}></div>`:null,u=e?null:s.length>0?n`<div aria-disabled=${this.disabled??m} aria-label=${this.label??m} class=${r(i.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((g,$)=>K({disabled:a,item:g,itemIndex:$,viewModel:this.viewModel,messages:this.messages,state:g.state}))}</div>`:n`<div class=${r(d.empty)}>${F({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return n`<div class=${r(p(i.base,d.widget,d.panel,o))} style=${R({"--esri-basemap-gallery-small":`${v.small}px`})}>${[h,u]}</div>`}_getRoundRobinIndex(e,a){return(e+a)%a}_handleKeyDown(e){let{key:a}=e;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(a))return;e.preventDefault();let{items:s,activeBasemapIndex:o}=this.viewModel,c=a==="ArrowUp"||a==="ArrowLeft"?this._getRoundRobinIndex(Math.max(o-1,-1),s.length):this._getRoundRobinIndex(o+1,s.length),h=s.at(c);h?.state==="ready"&&(this.viewModel.activeBasemap=h.basemap)}};D("arcgis-basemap-gallery",w);export{w as ArcgisBasemapGallery};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{a as i}from"./
|
6
|
+
import{a as i}from"./YJMXTBOI.js";import{a as f,b as w}from"./WFYPKHEZ.js";import"./QQ5HLWDO.js";import{r as u}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as d,E as h,F as t,G as p,H as e,J as g,b as r,g as n,r as c,s as l,t as m}from"./SRC5FGW4.js";var v=l`arcgis-compass{display:block}`,y="esri-compass",$={base:y,iconContainer:`${y}__icon-container`},M=w(u),o=class extends h{constructor(){super(...arguments),this.messages=f(),this.viewModel=M(this),this.autoDestroyDisabled=!1,this.orientation=this.viewModel.orientation,this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=c()("state","orientation"),this.arcgisReady=d()}static{this.properties={autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,orientation:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=n}static{this.styles=v}get icon(){return this._icon??(this.state==="rotation"?"arrow-up":"compass-needle")}set icon(s){this._icon=s}async destroy(){await this.manager.destroy()}async reset(){return this.viewModel.reset()}_reset(){this.viewModel.reset()}render(){let{messages:s,icon:b}=this;return m`<div class=${t(r($.base,i.widget))}><calcite-button class=${t(i.widgetButton)} .disabled=${this.state==="disabled"} kind=neutral .label=${s.reset} @click=${this._reset} round scale=s title=${s.reset??e}><div aria-hidden=true class=${t($.iconContainer)} title=${s.reset??e}><calcite-icon .icon=${b} style=${p(C(this.orientation))}></calcite-icon></div></calcite-button></div>`}},C=a=>({transform:`rotateZ(${a.z}deg)`});g("arcgis-compass",o);export{o as ArcgisCompass};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{a as h}from"./
|
6
|
+
import{a as h}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{I as n}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as a,E as o,J as r,g as i,r as s,s as e}from"./SRC5FGW4.js";var d=e`arcgis-histogram{display:block}`,g=h(n),t=class extends o{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.icon=this.widget.icon,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.layout=this.widget.layout,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.state=this.widget.state,this.arcgisPropertyChange=s()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,icon:1,label:1,labelFormatFunction:0,layout:1,max:9,min:9,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=i}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-histogram",t);export{t as ArcgisHistogram};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{ja as L}from"./
|
6
|
+
import{ja as L}from"./GGUHE3LB.js";import{c as v,e as y,h as w,i as E,k as _,l as g,m as P,n as C,o as b}from"./SRC5FGW4.js";var m;async function N(){return m??(m=L()),await m}var W=(e,o)=>(t,n)=>D(t,e,n),A=class extends E{constructor(e,o,t){super(e),this._loadAccessor=o,this._options=t,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(f.makeGetterProxy(e,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches)),_(e,n=>{n&&(this._instancePropName=n)},this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await N();let e=this.component,o=this._gatherParameters(),t=this._options?.editConstructorProperties?.call(e,o)??o,n=t instanceof Promise?await t:t,l=e,r=typeof this._instancePropName=="string"?l[this._instancePropName]:void 0;r!=null&&r!==this.exports?(this._instance=r,r.set(n)):this._instance=await this._createInstance(n),!e.manager.destroyed&&(f.watchComponentUpdates(this,this._instance,this._watchedProperties),f.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,([t,n])=>[n,this.component[t]]).filter(([,t])=>t!==void 0))}async _createInstance(e){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(e):await this._loadAccessor(e)}_isAccessorConstructor(e){return"prototype"in e&&"declaredClass"in e.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},D=b(A),f={makeGetterProxy:(e,o,t,n)=>new Proxy({},{has:(l,r)=>typeof r=="string"||r in l,get:(l,r)=>{let p=Reflect.get(l,r);if(typeof r=="symbol"||r in Promise.prototype)return p;let c=r in l,s=t?.value??!0;return c||!s?p:g(e,i=>{i!==void 0&&o.set(i.key,r)},p)}}),watchComponentUpdates(e,o,t){function n(c,s){let i=t.get(s),a=o[i];return typeof a=="boolean"&&i!==s&&s.toLowerCase().includes("disable")?!a:a}let l=(c,s,i)=>{let a=t.get(i),d=o[a],h=typeof d=="boolean"&&a!==i&&i.toLowerCase().includes("disable");if((h?!d:r.manager.isLit?d??void 0:d)===c)return c;o[a]=h?!c:c;let u=o[a];return h?!u:u},r=e.component,p=r.manager.internals;t.forEach((c,s)=>{p.accessorGetter[s]=n,p.accessorSetter[s]=l})},watchAccessorUpdates(e,o,t){let{component:n}=e,l=n,r=o,p=V(o);C(()=>t.forEach((c,s)=>{if(p.has(c))return;let i=l[s],a=r[c];n.manager.isLit&&(a??(a=void 0));let h=typeof i=="boolean"&&c!==s&&s.toLowerCase().includes("disable")?!i:i;h!=null&&a!==h&&(r[c]=h)})),e.onLifecycle(()=>{if(!o.destroyed)return Array.from(t,([c,s])=>e.reactiveUtils.watch(()=>r[s],()=>{let i=r[s],d=typeof i=="boolean"&&s!==c&&c.toLowerCase().includes("disable")?!i:i;P(()=>{l[c]=d})},{initial:!0}))})},reEmitAccessorEvents(e,o,t,n){if(!("on"in o&&typeof o.on=="function"))return;let r=Object.entries(e.component).map(([s,i])=>{let a=i;if(!s.startsWith(n)||s===n||typeof a!="object"||a===null||!("emit"in a)||typeof a.emit!="function")return;let d=a.emit,h=s.slice(n.length);return[v(h).toLowerCase(),d]}).filter(y);if(r.length===0)return;let p=o,c=()=>p;e.onLifecycle(()=>{if(!o.destroyed)return r.map(([s,i])=>t.on(c,s,i))})},async reCreate(e,o){let t=o.manager.useRefSync(e);t!==void 0&&await t.reCreate()}};function V(e){let t=Object.entries(e.__accessor__?.metadata??{});return new Set(t.filter(([n,l])=>l?.readOnly===!0).map(([n])=>n))}function R(e,o){let t=w(),n=t.manager,l=N();n.onLoaded(()=>{l.then(p=>n.onLifecycle(()=>p.on(e,o,r.emit)))});let r=t.constructor.$createEvent();return r}export{W as a,A as b,f as c,R as d};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.23
|
5
|
+
*/
|
6
|
+
import{a as n}from"./YDTAIZN3.js";import{d as h}from"./QQ5HLWDO.js";import{m as l}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as a,E as r,J as o,g as t,r as i,s}from"./SRC5FGW4.js";var d=s`arcgis-basemap-layer-list{display:block}`,c=n(l),e=class extends r{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.baseFilterText=this.widget.baseFilterText,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.headingLevel=this.widget.headingLevel,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,baseFilterText:1,baseItems:32,baseListItemCreatedFunction:0,basemapTitle:1,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideFlow:5,hideHeading:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,label:1,minFilterItems:9,position:1,referenceElement:1,referenceFilterText:1,referenceItems:32,referenceListItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=t}static{this.styles=d}get baseItems(){return this.widget.baseItems}get catalogLayerList(){return this.widget.catalogLayerList}get referenceItems(){return this.widget.referenceItems}async destroy(){await this.manager.destroy()}};o("arcgis-basemap-layer-list",e);export{e as ArcgisBasemapLayerList};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{a as l}from"./
|
6
|
+
import{a as l}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{Q as g}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as o,E as a,J as r,g as s,r as i,s as e}from"./SRC5FGW4.js";var n=e`arcgis-navigation-toggle{display:block}`,h=l(g),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("layout","state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,layout:3,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=n}async destroy(){await this.manager.destroy()}async toggle(){this.widget?.toggle()}};r("arcgis-navigation-toggle",t);export{t as ArcgisNavigationToggle};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.23
|
5
|
+
*/
|
6
|
+
import{a as n}from"./YDTAIZN3.js";import{d as h}from"./QQ5HLWDO.js";import{L as l}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as a,E as o,J as r,g as e,r as i,s}from"./SRC5FGW4.js";var c=s`arcgis-layer-list{display:block}`,w=n(l),t=class extends o{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideCatalogLayerList=this.widget.visibleElements.catalogLayerList,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.knowledgeGraphOptions=this.widget.knowledgeGraphOptions,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.openedLayers=this.widget.openedLayers,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideFlow:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:0,operationalItems:32,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,tableList:32,visibilityAppearance:1}}static{this.shadowRootOptions=e}static{this.styles=c}get catalogLayerList(){return this.widget.catalogLayerList}get operationalItems(){return this.widget.operationalItems}get tableList(){return this.widget.tableList}async destroy(){await this.manager.destroy()}async triggerAction(d,g){this.widget?.triggerAction(d,g)}};r("arcgis-layer-list",t);export{t as ArcgisLayerList};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.23
|
5
|
+
*/
|
6
|
+
import{t as h,u as m,v as S}from"./SRC5FGW4.js";var v=Symbol.for(""),d=a=>{if(a?.r===v)return a?._$litStatic$},_=a=>({_$litStatic$:a,r:v});var p=new Map,n=a=>(e,...l)=>{let i=l.length,u,r,s=[],c=[],o,t=0,$=!1;for(;t<i;){for(o=e[t];t<i&&(r=l[t],(u=d(r))!==void 0);)o+=u+e[++t],$=!0;t!==i&&c.push(r),s.push(o),t++}if(t===i&&s.push(e[i]),$){let f=s.join("$$lit$$");(e=p.get(f))===void 0&&(s.raw=s,p.set(f,e=s)),l=c}return a(e,...l)},w=n(h),b=n(m),k=n(S);export{_ as a,w as b};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.23
|
5
|
+
*/
|
6
|
+
var Bo=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,s)=>(typeof require<"u"?require:t)[s]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});function Go(...e){let t=[];for(let o=0;o<e.length;o++){let r=e[o];if(typeof r=="string")t.push(r);else if(Array.isArray(r))t.push.apply(t,r);else if(typeof r=="object")for(let n in r)r[n]&&t.push(n)}let s=t.join(" ");return t.length=0,s}var _=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function Ve(e,t){let s=e;for(;s;){if(s===t)return!0;if(!s.parentNode)return!1;s.parentNode instanceof ShadowRoot?s=s.parentNode.host:s=s.parentNode}return!1}function Ie(e,t,s){let{subscribe:o}=ze(t);return o(r=>{r.some(i=>Ve(e,i.target))&&s()})}var bt={};function ze(e){let t=e.join(","),s=bt[t];if(s!==void 0)return s;let o=new Set,r=new MutationObserver(i=>o.forEach(a=>a(i)));globalThis.document&&r.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let n={subscribe(i){return o.add(i),{remove:()=>{o.delete(i),o.size===0&&(r.disconnect(),bt[t]=void 0)}}}};return bt[t]=n,n}function He(e,t){let s=e;for(;s;){let o=s.closest?.(t);if(o)return o;let r=s.getRootNode?.();if(r===globalThis.document)return null;s=r.host}return null}function We(e,t,s){return He(e,`[${t}]`)?.getAttribute(t)??s}function p(e,t,...s){try{return e?.call(t,...s)}catch(o){console.error(o,e)}}async function W(e,t,...s){try{let o=e?.call(t,...s);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var qe=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],Be=new Set(qe),tt="en",Fe={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function Ge(e,t,s=""){let o=`${t}/${s}`,r=`${o}${e}.json`;return _t[r]??(_t[r]=It(e,o)),await _t[r]}var _t={};async function It(e,t){let s=`${t}${e}.json`;try{let o=await fetch(s);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return e===tt?{}:await It(tt,t)}function Et(e,t){let s=We(e,"lang",globalThis.navigator?.language||tt);return{lang:s,t9nLocale:zt(s,t)}}function zt(e,t){let[s,o]=e.split("-"),r=s.toLowerCase(),n=r;return o&&(n=`${r}-${o.toUpperCase()}`),n=Fe[n]??n,t&&n==="nb"?"no":Be.has(n)?n:o?zt(r):tt}function Ht(e,t,s,o,r){let n,i=()=>void Ke(e,t,o,r).then(a=>{(n?.lang!==a.lang||n.t9nLocale!==a.t9nLocale||n.t9nStrings!==a.t9nStrings)&&s(a),n=a}).catch(console.error);return i(),Ie(e,["lang"],i)}async function Ke(e,t,s=e.tagName.toLowerCase().split("-").slice(1).join("-"),o){let{lang:r,t9nLocale:n}=Et(e,o),i=`${t}/${s}/t9n`,a=`${s}.t9n.`,c=s===null?{}:await Ge(n,i,a);return{lang:r,t9nLocale:n,t9nStrings:c}}var et=e=>e.replace(Je,(t,s)=>`${s===0?"":"-"}${t.toLowerCase()}`),Je=/[A-Z]+(?![a-z])|[A-Z]/gu;function Wt(e,t){let s=t>Ye?Qe:t/Ze,o=0,r=setInterval(()=>{o+=s,o>=t&&(clearInterval(r),e())},s);return r}var Ye=4e3,Qe=2e3,Ze=4;function qt(e){return e!==void 0}var Bt=";",ot=",",Ft=":";function Ct(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let s=t;return s.manager?.loadedCalled||s._offspring.push(e),s._postLoad.promise}return!1}var Xe=(e,t)=>function(o,r){if(!globalThis.customElements)return;let i=(r??o??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(to)};function to([e,[t,s=""]]){if(customElements.get(e))return;let[o,r,n]=s.split(Bt),i=o?o?.split(ot).map(Gt):void 0,a=i?.map(([h])=>h),c=class extends oo{static{this.observedAttributes=i?.map(([,h])=>h).filter(h=>h!=="")}static{this._properties=a}static{this._asyncMethods=r?r?.split(ot):void 0}static{this._syncMethods=n?.split(ot)}static{this._name=e}constructor(){!c._loadPromise&&(c._loadPromise=t(),c._initializePrototype()),super()}};customElements.define(e,c)}var st=Object.defineProperty;function Gt(e){let t=e.split(Ft);return t.length===1?[t[0],et(t[0])]:t}var eo=globalThis.HTMLElement??Gt,oo=class extends eo{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new _,this._postLoaded=new _,this._offspring=[],this._saveInstanceProperties();let e=this.constructor;e._LitConstructor?this._initializeComponent({a:e._LitConstructor}):e._loadPromise.then(this._initializeComponent.bind(this)).catch(t=>{this._postLoaded.reject(t),setTimeout(()=>{throw t})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(e){st(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){st(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){st(this.prototype,e,{value(...t){return this._litElement[e](...t)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let e=this.constructor,t=this;e._properties?.forEach(s=>{Object.hasOwn(this,s)&&(this._store[s]=t[s],delete t[s])})}attributeChangedCallback(e,t,s){this._litElement?.attributeChangedCallback(e,t,s),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Ct(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(e){let t=this.constructor,s=t._name,o=this._store,r=Object.values(e).find(u=>u.tagName===s),n=`${s}--lazy`,i=r;for(;i&&!Object.hasOwn(i,"lumina");)i=Object.getPrototypeOf(i);let a=i.prototype,c=Element.prototype;Object.hasOwn(a,"isConnected")||(a.setAttribute=function(u,v){c.setAttribute.call(this.el,u,v)},a.removeAttribute=function(u){c.removeAttribute.call(this.el,u)},st(a,"isConnected",{get(){return Reflect.get(c,"isConnected",this.el)}})),!t._LitConstructor&&(t._LitConstructor=r,customElements.define(n,r)),r.lazy=this;let l=document.createElement(n);r.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach(u=>{let v=this.getAttribute(u);l.attributeChangedCallback(u,null,v)}),Object.entries(o).forEach(so,l);let m=this.isConnected;(m||this._ancestorLoad)&&(l.connectedCallback?.(),m||l.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function so([e,t]){this[e]=t}var $t={};function Kt(e,t){if(t){let s=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(s,([o,r])=>r.noAccessor?void 0:[o,[(r.readOnly?2048:0)|(r.state?32:16)]]).filter(qt))}else{let s=e.constructor,o=s.__registerControllers?.(e)??void 0;if(s.__registerControllers=void 0,typeof o!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(o).filter(([r,[n]])=>(n&63)!==0))}}function Jt(e,t=8){return e==null||typeof e=="object"||typeof e=="function"?e:t&4?e==="false"?!1:e===""||!!e:t&2?Number.parseFloat(e):t&1?String(e):e}var Yt=(e,t)=>e.manager.internals.members?.[t]?.[0];var nt=Symbol.for("controller");var Xt=e=>typeof e=="object"&&e!==null&&(nt in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var q;function N(e){q!==e&&(q=e,queueMicrotask(()=>{q===e&&(q=void 0)}))}function k(e){return q}var S=[];function it(e){if(e===void 0){S=[];return}let t=S.indexOf(e);S=t===-1?[...S,e]:S.slice(0,t+1),queueMicrotask(()=>{S=[]})}function te(){return S}var I;function ro(e){I!==e&&(I=e,queueMicrotask(()=>{I===e&&(I=void 0)}))}function no(){let e=I;return I=void 0,e}var io=async(e,t)=>{let s=At(e);if(s===void 0)return e;if(await s.ready,typeof t=="function"){let o=s.watchExports(r=>t(r,o))}return s.exports},ao=async e=>{let t=At(e);return await t.ready,t},At=e=>{let t=no();if(t!==void 0)return t;let o=k().manager.internals.resolveExports(e);if(o!==void 0)return o;if(Xt(e))return e},w={setter:!1,getter:!1,readOnly:!1},B=new WeakMap,ee;ee=nt;var Lt=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new _,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ee]=!0,this.ready=this._ready.promise,this._exports=Zt(this),this._exportWatchers=new Set;let t=e??k(new.target.name);this.component=t,this.component.addController(this),it(this),this.component.manager===void 0||queueMicrotask(()=>this.catchUpLifecycle())}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e,t=!0){this._exports=t?Zt(e):e,this._exportWatchers.forEach(p)}watchExports(e){let t=()=>e(this._exports);return this._exportWatchers.add(t),()=>void this._exportWatchers.delete(t)}get use(){return N(this.component),io}get useRef(){return N(this.component),ao}get useRefSync(){return N(this.component),At}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await W(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(W)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(Qt,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Qt,e)}triggerDestroy(){let e=this;e.hostDestroy&&p(e.hostDestroy,e),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let e=this;e.hostLifecycle&&this._callLifecycle(()=>e.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(e){N(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(o=>{typeof o=="function"?this._lifecycleCleanups.push(o):typeof o=="object"&&typeof o.remove=="function"&&this._lifecycleCleanups.push(o.remove)})}};function Qt(e){p(e,void 0,this)}var oe=Lt;function Zt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(s,o,r){if(!(co.has(o)&&o in s&&s[o]===t)&&(o in s||o in Promise.prototype||typeof o=="symbol"))return typeof s=="function"?s[o]:Reflect.get(s,o,r)},set:(s,o,r,n)=>Reflect.set(s,o,r,n)});return t}var co=new Set(["exports","_exports"]);function at(e,t,s){let o=Object.keys(e),r=o.length;T===void 0&&queueMicrotask(F),T??(T=new Map);let n=T.get(e);return n===void 0&&(n={callbacks:[],keyCount:r},T.set(e,n)),n.keyCount!==r&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=r),n.callbacks.push(i=>{let a=h=>p(t,null,h),c=i[r];c===void 0?a(void 0):e[c]===s?a(c):a(void 0)}),s}var T=void 0;function F(){Array.from(T?.entries()??[]).forEach(([e,{callbacks:t}])=>{let s=Object.keys(e);t.forEach(o=>o(s))}),T=void 0}function G(e,t,s){var o;let r=t,n=e.manager.internals;(o=n.allWatchers)[r]??(o[r]=[]);let i=n.allWatchers[r],a=s,c=(h,d,l)=>p(a,null,h,d,l);return i.push(c),()=>{let h=i.indexOf(c);h!==-1&&i.splice(h,1)}}var se=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([s,[o]])=>{var r;o&2048&&((r=t.setters)[s]??(r[s]=[]),t.setters[s].push(t.readonlySetter))})},this.trackedValue=xt,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,s,o)=>{if(w.readOnly)return t;throw new Error(`Cannot assign to read-only property "${o}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let s=this.keyTrackers;this.trackedValue=xt,this.keyTrackers=[],s.forEach(o=>o(e,t))}getSetProxy(e){let t=this.component,s=t.constructor.prototype;if(this._getSetProxy(s,e,"class"),t.manager.isLit)return;let o=t.el.constructor.prototype;s!==o&&this._getSetProxy(o,e,"html")}_getSetProxy(e,t,s){let o=this.component,r=Yt(o,t),n;do n=Object.getOwnPropertyDescriptor(e,t);while(!n&&(e=Object.getPrototypeOf(e)));if(!n)return;let i=n.get,a=n.set,c=rt in i,h=rt in a;if(c&&h)return;let d=!c,l=!h,m=d?function(){let b=i.call(this),C=B.get(this);if(w.getter||C===void 0)return b;let O=C.manager.internals;b=O.accessorGetter[t](b,t);let g=O.getters[t]??wt;for(let $=0;$<g.length;$++)b=g[$](b,t);return b}:i,u=l?function(b){let C=i.call(this),O=B.get(this);if(O===void 0){a.call(this,b);return}let g=O.manager.isLit?b??void 0:Jt(b,r),$=O.manager.internals;if(g===C)a.call(this,g);else{let Vt=w.setter?wt:$.setters[t]??wt;for(let H=0;H<Vt.length&&(g=Vt[H](g,C,t),g!==C);H++);g=$.accessorSetter[t](g,C,t),a.call(this,g),g!==C&&$.enabledWatchers[t]?.forEach(H=>H(g,C,t))}$.keyTrackers.length>0&&$?.firePropTrackers(t,b)}:a;d&&(m[rt]=!0),l&&(u[rt]=!0),Object.defineProperty(e,t,{...n,get:m,set:u})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},wt=[],rt=Symbol(),xt=Symbol();function re(e,t,s){let o=e.manager.internals;return o.trackedValue!==xt&&o.trackedValue!==s&&o.firePropTrackers(void 0,void 0),o.keyTrackers.length===0&&queueMicrotask(()=>o.firePropTrackers(void 0,void 0)),o.trackedValue=s,o.keyTrackers.push((r,n)=>p(t,void 0,s===n?r:void 0)),s}function ne(e,t,s){let o=Array.isArray(e)?e:[e],r=o.length+1,n=a=>{r-=1,a!==void 0&&(r=Math.min(r,0)),r===0&&t(a)};o.forEach(a=>at(a,c=>n(c===void 0?void 0:{key:c,host:a,isReactive:!1}),s));let i=o.find(a=>"manager"in a&&typeof a.manager=="object"&&a.manager.component===a);return i&&re(i,a=>n(a===void 0?void 0:{key:a,host:i,isReactive:!0}),s),s}function lo(e){w.setter=!0;try{return e()}finally{w.setter=!1}}function ho(e){w.getter=!0;try{return e()}finally{w.getter=!1}}function ie(e){w.readOnly=!0;try{return e()}finally{w.readOnly=!1}}var ae=e=>(...t)=>{let s=te(),o=new e(...t),r=o.exports;it(s.at(-1));let n=o.component.manager.internals;n.markExports(o,r),o.watchExports(a=>n.markExports(o,a)),ro(o);let i=[o.component,...s].reverse();return ne(i,a=>a===void 0?void 0:po(o,a,r),r)};function po(e,{host:t,key:s,isReactive:o},r){let n=t,i=n[s]!==e.exports,a=n[s]!==r,c=r!==e.exports;if(i&&!a&&c&&(n[s]=e.exports),t===e.component){if(o){let d=e.component.manager.internals;a&&d.markExports(e,n[s]),G(e.component,s,l=>{l!==e.exports&&d.markExports(e,l)})}e.assignedProperty=o?void 0:s}e.watchExports(()=>{if(n[s]===e.exports)return;let d=e.component.manager;d.internals.setters[s]?.includes(d.internals.readonlySetter)?ie(()=>{n[s]=e.exports}):n[s]=e.exports})}var he=(e,t)=>new uo(e,t),uo=class extends oe{constructor(e,t){let s="addController"in e,o=new Set;function r(c){o.add(c),!(nt in c)&&e.renderRoot&&e.el.isConnected&&c.hostConnected?.()}function n(c){o.delete(c),c.controllerRemoved?.()}let i=e;if(i.addController=r,i.removeController=n,!s){let c=t??e.constructor.__forceUpdate;i.requestUpdate=()=>c(e)}super(e),this.internals=new se(this.component),this.destroyed=!1,this._updatePromise=new _,this._originalLifecycles={},this.isLit=s,this.component.manager=this,Kt(e,s),this._controllers=o,this.exports=void 0,this.hasDestroy=Ot in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let a=this.internals;Object.keys(a.members).forEach(c=>{a.accessorGetter[c]=ce,a.accessorSetter[c]=ce,a.getSetProxy(c)}),s?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(a.enableReadonly),it(void 0),N(e),B.set(e.el,e),B.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,s=e.el===e;this._originalLifecycles={_connectedCallback:t||s?void 0:e.connectedCallback,_disconnectedCallback:t||s?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let o=this._connectedCallback.bind(this),r=this._disconnectedCallback.bind(this),n=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:o,hostDisconnected:r,hostUpdate:n,hostUpdated:i}):(e.connectedCallback=o,e.disconnectedCallback=r,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=n,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Ot} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,F(),e.enableReadonly?.(),this._controllers.forEach(mo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(yo),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,vo)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&G(this.component,Ot,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(go),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(bo,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(_o,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new _,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(Eo),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let e=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=Wt(e,fo)}}},Ot="autoDestroyDisabled",fo=1e3;var ce=e=>e;function mo(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function yo(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function vo(e){"triggerLoad"in e?await e.triggerLoad():await W(e.hostLoad,e)}function go(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function bo(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function _o(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function Eo(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var de=e=>$o(void 0,e);var Co=class extends Lt{constructor(e,t){super(e);let s=this.exports;try{N(this.component);let o=t(this.component,this),r=this.exports!==s;if(o instanceof Promise){r||this.setProvisionalExports(o);let n=o.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await n)}else(!r||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},$o=ae(Co);var _s=de;var Cs=(e,t)=>(s={})=>de((o,r)=>{let n=Et(o.el),i={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},a=o;queueMicrotask(()=>r.onLifecycle(()=>Ht(o.el,e("./assets"),({t9nLocale:h,t9nStrings:d,lang:l})=>{let m={...d,_lang:l,_t9nLocale:h,_loading:!1};r.exports=m;let u=d.componentLabel??d.widgetLabel;typeof u=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=u)),c(a.messageOverrides)},s.name,t)));function c(h){let d=r.exports,l=d._original??d,m=pe(l,h);h&&(m._original=l),r.exports=m}return"messageOverrides"in a&&r.onLifecycle(()=>G(a,"messageOverrides",c)),s.blocking?(r.setProvisionalExports(i,!1),r.ready):i});function pe(e,t){if(!t)return e;let s={...e};return Object.entries(t).forEach(([o,r])=>{typeof r=="object"?s[o]=pe(e[o],r):s[o]=r??e[o]}),s}var $s=e=>wo,le="arcgisPropertyChange";function wo(...e){let t=k(),o=t[le];return t.manager.isLit&&(o=t.constructor.$createEvent(le,void 0,t)),t.manager.onLoad(()=>t.manager.onLifecycle(()=>e.map(r=>G(t,r,()=>o.emit({name:r}))))),o}var ct=globalThis,lt=ct.ShadowRoot&&(ct.ShadyCSS===void 0||ct.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pt=Symbol(),ue=new WeakMap,K=class{constructor(t,s,o){if(this._$cssResult$=!0,o!==Pt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=s}get styleSheet(){let t=this.o,s=this.t;if(lt&&t===void 0){let o=s!==void 0&&s.length===1;o&&(t=ue.get(s)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ue.set(s,t))}return t}toString(){return this.cssText}},fe=e=>new K(typeof e=="string"?e:e+"",void 0,Pt),xo=(e,...t)=>{let s=e.length===1?e[0]:t.reduce((o,r,n)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[n+1],e[0]);return new K(s,e,Pt)},St=(e,t)=>{if(lt)e.adoptedStyleSheets=t.map(s=>s instanceof CSSStyleSheet?s:s.styleSheet);else for(let s of t){let o=document.createElement("style"),r=ct.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=s.cssText,e.appendChild(o)}},ht=lt?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let s="";for(let o of t.cssRules)s+=o.cssText;return fe(s)})(e):e;var Nt=globalThis,dt=Nt.trustedTypes,me=dt?dt.createPolicy("lit-html",{createHTML:e=>e}):void 0,kt="$lit$",x=`lit$${Math.random().toFixed(9).slice(2)}$`,Dt="?"+x,Ao=`<${Dt}>`,U=document,Y=()=>U.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Rt=Array.isArray,Ee=e=>Rt(e)||typeof e?.[Symbol.iterator]=="function",Tt=`[
|
7
|
+
\f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ye=/-->/g,ve=/>/g,D=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
|
8
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ge=/'/g,be=/"/g,Ce=/^(?:script|style|textarea|title)$/i,Ut=e=>(t,...s)=>({_$litType$:e,strings:t,values:s}),Os=Ut(1),Ps=Ut(2),Ss=Ut(3),y=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),_e=new WeakMap,R=U.createTreeWalker(U,129);function $e(e,t){if(!Rt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return me!==void 0?me.createHTML(t):t}var we=(e,t)=>{let s=e.length-1,o=[],r,n=t===2?"<svg>":t===3?"<math>":"",i=J;for(let a=0;a<s;a++){let c=e[a],h,d,l=-1,m=0;for(;m<c.length&&(i.lastIndex=m,d=i.exec(c),d!==null);)m=i.lastIndex,i===J?d[1]==="!--"?i=ye:d[1]!==void 0?i=ve:d[2]!==void 0?(Ce.test(d[2])&&(r=RegExp("</"+d[2],"g")),i=D):d[3]!==void 0&&(i=D):i===D?d[0]===">"?(i=r??J,l=-1):d[1]===void 0?l=-2:(l=i.lastIndex-d[2].length,h=d[1],i=d[3]===void 0?D:d[3]==='"'?be:ge):i===be||i===ge?i=D:i===ye||i===ve?i=J:(i=D,r=void 0);let u=i===D&&e[a+1].startsWith("/>")?" ":"";n+=i===J?c+Ao:l>=0?(o.push(h),c.slice(0,l)+kt+c.slice(l)+x+u):c+x+(l===-2?a:u)}return[$e(e,n+(e[s]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Z=class e{constructor({strings:t,_$litType$:s},o){let r;this.parts=[];let n=0,i=0,a=t.length-1,c=this.parts,[h,d]=we(t,s);if(this.el=e.createElement(h,o),R.currentNode=this.el.content,s===2||s===3){let l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(r=R.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let l of r.getAttributeNames())if(l.endsWith(kt)){let m=d[i++],u=r.getAttribute(l).split(x),v=/([.?@])?(.*)/.exec(m);c.push({type:1,index:n,name:v[2],strings:u,ctor:v[1]==="."?ut:v[1]==="?"?ft:v[1]==="@"?mt:j}),r.removeAttribute(l)}else l.startsWith(x)&&(c.push({type:6,index:n}),r.removeAttribute(l));if(Ce.test(r.tagName)){let l=r.textContent.split(x),m=l.length-1;if(m>0){r.textContent=dt?dt.emptyScript:"";for(let u=0;u<m;u++)r.append(l[u],Y()),R.nextNode(),c.push({type:2,index:++n});r.append(l[m],Y())}}}else if(r.nodeType===8)if(r.data===Dt)c.push({type:2,index:n});else{let l=-1;for(;(l=r.data.indexOf(x,l+1))!==-1;)c.push({type:7,index:n}),l+=x.length-1}n++}}static createElement(t,s){let o=U.createElement("template");return o.innerHTML=t,o}};function M(e,t,s=e,o){if(t===y)return t;let r=o!==void 0?s.o?.[o]:s.l,n=Q(t)?void 0:t._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(e),r._$AT(e,s,o)),o!==void 0?(s.o??=[])[o]=r:s.l=r),r!==void 0&&(t=M(e,r._$AS(e,t.values),r,o)),t}var pt=class{constructor(t,s){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=s}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:s},parts:o}=this._$AD,r=(t?.creationScope??U).importNode(s,!0);R.currentNode=r;let n=R.nextNode(),i=0,a=0,c=o[0];for(;c!==void 0;){if(i===c.index){let h;c.type===2?h=new z(n,n.nextSibling,this,t):c.type===1?h=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(h=new yt(n,this,t)),this._$AV.push(h),c=o[++a]}i!==c?.index&&(n=R.nextNode(),i++)}return R.currentNode=U,r}p(t){let s=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,s),s+=o.strings.length-2):o._$AI(t[s])),s++}},z=class e{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,s,o,r){this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=t,this._$AB=s,this._$AM=o,this.options=r,this.v=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,s=this._$AM;return s!==void 0&&t?.nodeType===11&&(t=s.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,s=this){t=M(this,t,s),Q(t)?t===f||t==null||t===""?(this._$AH!==f&&this._$AR(),this._$AH=f):t!==this._$AH&&t!==y&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ee(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==f&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(U.createTextNode(t)),this._$AH=t}$(t){let{values:s,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Z.createElement($e(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(s);else{let n=new pt(r,this),i=n.u(this.options);n.p(s),this.T(i),this._$AH=n}}_$AC(t){let s=_e.get(t.strings);return s===void 0&&_e.set(t.strings,s=new Z(t)),s}k(t){Rt(this._$AH)||(this._$AH=[],this._$AR());let s=this._$AH,o,r=0;for(let n of t)r===s.length?s.push(o=new e(this.O(Y()),this.O(Y()),this,this.options)):o=s[r],o._$AI(n),r++;r<s.length&&(this._$AR(o&&o._$AB.nextSibling,r),s.length=r)}_$AR(t=this._$AA.nextSibling,s){for(this._$AP?.(!1,!0,s);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this.v=t,this._$AP?.(t))}},j=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,s,o,r,n){this.type=1,this._$AH=f,this._$AN=void 0,this.element=t,this.name=s,this._$AM=r,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=f}_$AI(t,s=this,o,r){let n=this.strings,i=!1;if(n===void 0)t=M(this,t,s,0),i=!Q(t)||t!==this._$AH&&t!==y,i&&(this._$AH=t);else{let a=t,c,h;for(t=n[0],c=0;c<n.length-1;c++)h=M(this,a[o+c],s,c),h===y&&(h=this._$AH[c]),i||=!Q(h)||h!==this._$AH[c],h===f?t=f:t!==f&&(t+=(h??"")+n[c+1]),this._$AH[c]=h}i&&!r&&this.j(t)}j(t){t===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ut=class extends j{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===f?void 0:t}},ft=class extends j{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==f)}},mt=class extends j{constructor(t,s,o,r,n){super(t,s,o,r,n),this.type=5}_$AI(t,s=this){if((t=M(this,t,s,0)??f)===y)return;let o=this._$AH,r=t===f&&o!==f||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==f&&(o===f||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},yt=class{constructor(t,s,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=s,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}},xe={M:kt,P:x,A:Dt,C:1,L:we,R:pt,D:Ee,V:M,I:z,H:j,N:ft,U:mt,B:ut,F:yt},Lo=Nt.litHtmlPolyfillSupport;Lo?.(Z,z),(Nt.litHtmlVersions??=[]).push("3.2.0");var Ae=(e,t,s)=>{let o=s?.renderBefore??t,r=o._$litPart$;if(r===void 0){let n=s?.renderBefore??null;o._$litPart$=r=new z(t.insertBefore(Y(),n),n,void 0,s??{})}return r._$AI(e),r};var{is:Oo,defineProperty:Po,getOwnPropertyDescriptor:So,getOwnPropertyNames:To,getOwnPropertySymbols:No,getPrototypeOf:ko}=Object,gt=globalThis,Le=gt.trustedTypes,Do=Le?Le.emptyScript:"",Ro=gt.reactiveElementPolyfillSupport,X=(e,t)=>e,vt={toAttribute(e,t){switch(t){case Boolean:e=e?Do:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let s=e;switch(t){case Boolean:s=e!==null;break;case Number:s=e===null?null:Number(e);break;case Object:case Array:try{s=JSON.parse(e)}catch{s=null}}return s}},Mt=(e,t)=>!Oo(e,t),Oe={attribute:!0,type:String,converter:vt,reflect:!1,hasChanged:Mt};Symbol.metadata??=Symbol("metadata"),gt.litPropertyMetadata??=new WeakMap;var A=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=Oe){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){let o=Symbol(),r=this.getPropertyDescriptor(t,o,s);r!==void 0&&Po(this.prototype,t,r)}}static getPropertyDescriptor(t,s,o){let{get:r,set:n}=So(this.prototype,t)??{get(){return this[s]},set(i){this[s]=i}};return{get(){return r?.call(this)},set(i){let a=r?.call(this);n.call(this,i),this.requestUpdate(t,a,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Oe}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=ko(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(X("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(X("properties"))){let s=this.properties,o=[...To(s),...No(s)];for(let r of o)this.createProperty(r,s[r])}let t=this[Symbol.metadata];if(t!==null){let s=litPropertyMetadata.get(t);if(s!==void 0)for(let[o,r]of s)this.elementProperties.set(o,r)}this._$Eh=new Map;for(let[s,o]of this.elementProperties){let r=this._$Eu(s,o);r!==void 0&&this._$Eh.set(r,s)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let s=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let r of o)s.unshift(ht(r))}else t!==void 0&&s.push(ht(t));return s}static _$Eu(t,s){let o=s.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,s=this.constructor.elementProperties;for(let o of s.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return St(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,s,o){this._$AK(t,o)}_$EC(t,s){let o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(r!==void 0&&o.reflect===!0){let n=(o.converter?.toAttribute!==void 0?o.converter:vt).toAttribute(s,o.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,s){let o=this.constructor,r=o._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let n=o.getPropertyOptions(r),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:vt;this._$Em=r,this[r]=i.fromAttribute(s,n.type),this._$Em=null}}requestUpdate(t,s,o){if(t!==void 0){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Mt)(this[t],s))return;this.P(t,s,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,s,o){this._$AL.has(t)||this._$AL.set(t,s),o.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(s){Promise.reject(s)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,n]of this._$Ep)this[r]=n;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[r,n]of o)n.wrapped!==!0||this._$AL.has(r)||this[r]===void 0||this.P(r,this[r],n)}let t=!1,s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(s)):this._$EU()}catch(o){throw t=!1,this._$EU(),o}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach(s=>s.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(s=>this._$EC(s,this[s])),this._$EU()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[X("elementProperties")]=new Map,A[X("finalized")]=new Map,Ro?.({ReactiveElement:A}),(gt.reactiveElementVersions??=[]).push("2.0.4");var L=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=Ae(s,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return y}};L._$litElement$=!0,L.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:L});var Uo=globalThis.litElementPolyfillSupport;Uo?.({LitElement:L});(globalThis.litElementVersions??=[]).push("4.1.0");var E={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},V=e=>(...t)=>({_$litDirective$:e,values:t}),P=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,s,o){this.t=t,this._$AM=s,this.i=o}_$AS(t,s){return this.update(t,s)}update(t,s){return this.render(...s)}};var{I:Ks}=xe;var Js=(e,t)=>t===void 0?e?._$litType$!==void 0:e?._$litType$===t;var Pe=e=>e.strings===void 0;var Mo={},Se=(e,t=Mo)=>e._$AH=t;var ke=V(class extends P{constructor(e){if(super(e),e.type!==E.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let s=e.element.classList;for(let o of this.st)o in t||(s.remove(o),this.st.delete(o));for(let o in t){let r=!!t[o];r===this.st.has(o)||this.nt?.has(o)||(r?(s.add(o),this.st.add(o)):(s.remove(o),this.st.delete(o)))}return y}});var De="important",Vo=" !"+De,Re=V(class extends P{constructor(e){if(super(e),e.type!==E.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,s)=>{let o=e[s];return o==null?t:t+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:s}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?s.removeProperty(o):s[o]=null);for(let o in t){let r=t[o];if(r!=null){this.ft.add(o);let n=typeof r=="string"&&r.endsWith(Vo);o.includes("-")||n?s.setProperty(o,n?r.slice(0,-11):r,n?De:""):s[o]=r}}return y}});var Io=V(class extends P{constructor(e){if(super(e),e.type!==E.PROPERTY&&e.type!==E.ATTRIBUTE&&e.type!==E.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Pe(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===y||t===f)return t;let s=e.element,o=e.name;if(e.type===E.PROPERTY){if(t===s[o])return y}else if(e.type===E.BOOLEAN_ATTRIBUTE){if(!!t===s.hasAttribute(o))return y}else if(e.type===E.ATTRIBUTE&&s.getAttribute(o)===t+"")return y;return Se(e),t}});var Ue=(e="",t={},s=k())=>{let o={emit:r=>{e===""&&F();let n=new CustomEvent(e,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return s.el.dispatchEvent(n),n}};return e===""&&at(s,r=>{e=r},o),o},Jr=Ue.bind(null,"");var Ho=()=>{},Wo=class Me extends L{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=he(this),this._postLoad=this.constructor.lazy?._postLoad??new _,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new _,this._enableUpdating=this.enableUpdating,this.enableUpdating=Ho;let t=Me.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let s=super.finalizeStyles(t),o=this.shadowRootOptions===$t;return this.runtime?.commonStyles===void 0||o?s:[this.runtime.commonStyles,...s]}static createProperty(t,s){let o=typeof s=="number"?s:Array.isArray(s)?s[0]:0,r=Array.isArray(s)?s[1]:void 0;super.createProperty(t,{attribute:o&1&&typeof t=="string"?et(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),...r})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(s=>{this._postLoaded.reject(s),setTimeout(()=>{throw s})}))}createRenderRoot(){let t=this.el.shadowRoot,s=this.constructor,o=s.shadowRootOptions,n=t??(o===$t?this.el:this.el.attachShadow(o));if(Object.defineProperty(this,"shadowRoot",{value:n}),t)return L.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=n.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...s.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return n}async _load(){let t=this.el._ancestorLoad??Ct(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let s=this._offspring.filter(o=>!o.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async o=>await o.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,s,o){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,o),()=>this.el.removeEventListener(t,r,o)))}listenOn(t,s,o,r){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(s,n,r),()=>t.removeEventListener(s,n,r)))}async componentOnReady(){return await this._postLoaded.promise,this}};Wo.$createEvent=Ue;function je(e){let t,s=r=>{t=new URL(r,globalThis.location?.href).href},o={...e,getAssetPath(r){let n=new URL(r,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:s,customElement(r,n){n.runtime=o,n.tagName=r,customElements.get(r)||customElements.define(r,n)}};return s(e.defaultAssetPath),o}var nn=e=>typeof e=="object"&&e!=null?ke(e):e,an=e=>typeof e=="object"&&e!=null?Re(e):e;var ln=f;var qo=je({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:pn,getAssetPath:un,setAssetPath:fn}=qo;export{Bo as a,Go as b,et as c,Wt as d,qt as e,Xe as f,$t as g,k as h,oe as i,G as j,re as k,ne as l,lo as m,ho as n,ae as o,_s as p,Cs as q,$s as r,xo as s,Os as t,Ps as u,Ss as v,f as w,Ae as x,E as y,V as z,P as A,Js as B,Pe as C,Jr as D,Wo as E,nn as F,an as G,ln as H,qo as I,pn as J,un as K};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{a as n}from"./
|
6
|
+
import{a as n}from"./YDTAIZN3.js";import"./QQ5HLWDO.js";import{_ as r}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as e,E as a,J as o,g as t,r as s}from"./SRC5FGW4.js";var h=n(r),i=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.direction=this.widget.direction,this.dragLabel=this.widget.dragLabel,this.icon=this.widget.icon,this.label=this.widget.label,this.leadingLayers=this.widget.leadingLayers,this.position="manual",this.state=this.viewModel.state,this.swipePosition=this.widget.position,this.trailingLayers=this.widget.trailingLayers,this.arcgisPropertyChange=s()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,direction:1,dragLabel:1,icon:1,label:1,leadingLayers:0,position:1,referenceElement:1,state:3,swipePosition:9,trailingLayers:0}}static{this.shadowRootOptions=t}async destroy(){await this.manager.destroy()}};o("arcgis-swipe",i);export{i as ArcgisSwipe};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
|
-
import{a as N,b}from"./
|
6
|
+
import{a as N,b}from"./P4PYNNDH.js";import{a as C,b as M}from"./WFYPKHEZ.js";import"./QQ5HLWDO.js";import{ga as y,ja as P}from"./GGUHE3LB.js";import"./VHHUJVWN.js";import{D as w,E as V,F as L,J as S,g as E,p as u,s as I,t as v}from"./SRC5FGW4.js";var F=I`.calcite-combobox-item{width:330px}.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`,A=M(y),f=class extends V{constructor(){super(...arguments),this.flowElement=N(),this.messages=C({blocking:!0}),this.reactiveUtils=u(P),this.viewModel=A(this),this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.view=this.viewModel.view,this.arcgisReady=w(),this.arcgisVersioningStateChanged=w()}static{this.properties={allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:3,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0,view:0}}static{this.shadowRootOptions=E}static{this.styles=F}async destroy(){await this.manager.destroy()}load(){let{watch:e}=this.reactiveUtils;this.manager.onLifecycle(()=>[e(()=>this.viewModel.state,i=>{let{flowElement:{value:s}}=this,r=s?.getElementsByTagName("arcgis-version-management-version-properties")[0],t=s?.getElementsByTagName("arcgis-version-management-version-list")[0];if(i==="disabled"){r&&this._removeVersionPropertiesFlowItem(s),t&&this._removeVersionListFlowItem(s);return}t&&(t.versionListElementProps={...t.versionListElementProps,executionError:this.viewModel.executionError},t.versionListElementProps={...t.versionListElementProps,state:i}),r&&(r.versionPropertiesElementProps={...r.versionPropertiesElementProps,state:i})})])}_createVersionPropertiesFlowItem(e,i){let{closable:s,flowElement:{value:r},viewModel:t,viewModel:{state:a}}=this,o=document.createElement("arcgis-version-management-version-properties");return o.versionPropertiesElementProps={closable:s,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:t.versionAdministratorLookup.get(e),serviceUrl:e,state:a,strings:this.messages,versionInfo:i},o.addEventListener("arcgisCreateVersion",n=>{let{createVersionParameters:m,switchToVersion:l}=n.detail;t.createVersion(m).then(async d=>{d&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:d.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),l&&await this.viewModel.changeVersion(e,d.versionIdentifier.name,d.versionIdentifier.guid).then(g=>{g&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:d.versionIdentifier,versioningState:t.versioningStateLookup.get(e)})}),await this._refreshVersionList(e)}).finally(()=>{r&&this._removeVersionPropertiesFlowItem(r)})}),o.addEventListener("arcgisAlterVersion",async n=>{let{flowElement:{value:m}}=this,{alterVersionParameters:l}=n.detail;await t.alterVersion(l).then(async d=>{d&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:l.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),await this._refreshVersionList(e)}).finally(()=>{m&&this._removeVersionPropertiesFlowItem(m)})}),o.addEventListener("arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),o.addEventListener("calciteFlowItemBack",n=>{n.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value)}),o.addEventListener("calciteFlowItemClose",()=>{this._handleFlowItemClose()}),o}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:s,versionInfo:r}=e.detail,{viewModel:t,flowElement:a}=this;switch(i){case"changeVersion":{t.changeVersion(s,r.versionIdentifier.name,r.versionIdentifier.guid).then(o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:r.versionIdentifier,versioningState:t.versioningStateLookup.get(s)});let n=a.value?.getElementsByTagName("arcgis-version-management-version-list")[0];n&&n&&(n.versionListElementProps={...n.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(s).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{t.deleteVersion(s,r.versionIdentifier.name,r.versionIdentifier.guid).then(async o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:r.versionIdentifier,versioningState:t.versioningStateLookup.get(s)}),await this._refreshVersionList(s)});break}case"editVersion":{let o=this._createVersionPropertiesFlowItem(s,r);a.value?.appendChild(o);break}}}async _refreshVersionList(e){let{flowElement:{value:i},viewModel:s}=this;if(i){let r=await s.getVersionInfos(e),t=i.getElementsByTagName("arcgis-version-management-service-item");for(let o of t)o.serviceItemElementProps.serviceUrl===e&&(o.serviceItemElementProps={...o.serviceItemElementProps,versionInfos:r});let a=i.getElementsByTagName("arcgis-version-management-version-list")[0];a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:s.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:r})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&e.removeChild(i),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i),i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(i.getElementsByTagName("calcite-flow-item")[0].hidden=!1)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:s},label:r,messages:t,mode:a,pageSize:o,viewModel:n,viewModel:{loadError:m,state:l}}=this,d=Array.from(n.serviceNameLookup,([c,h])=>({url:c,name:h})),g=l!=="disabled"?d.map(c=>{let h={allowEditing:!e,closable:i,currentUser:n.userLookup.get(c.url),currentVersionIdentifier:n.versioningStateLookup.get(c.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:s,hasAdvEditingUte:n.advancedEditingUserTypeExtensionLookup.get(c.url),heading:r,isVersionAdministrator:n.versionAdministratorLookup.get(c.url),isVersioningApiAvailable:(n.serverVersionLookup.get(c.url)??0)>=11.2,mode:a,pageSize:o,serviceName:c.name,state:l,serviceUrl:c.url,strings:t,versionInfos:n.versioningStateLookup.get(c.url)?.versionInfos??[]};return v`<arcgis-version-management-service-item .serviceItemElementProps=${h} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisFlowItemBack=${()=>{s&&this._removeVersionListFlowItem(s)}} @arcgisFlowItemClose=${()=>{this._handleFlowItemClose()}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${p=>{let _=this._createVersionPropertiesFlowItem(p.detail.serviceUrl,void 0);s?.appendChild(_)}}></arcgis-version-management-service-item>`}):void 0,k=l==="disabled"?v`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(m)}</div></calcite-notice>`:void 0;return v`<calcite-flow class=${L(this.mode==="dialog"?"":"calcite-flow-widget")} ${b(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${r??void 0} @calciteFlowItemClose=${()=>{this._handleFlowItemClose()}}><calcite-panel .loading=${l==="loading"||l==="executing"}>${g}${k}</calcite-panel></calcite-flow-item></calcite-flow>`}};S("arcgis-version-management",f);export{f as ArcgisVersionManagement};
|