@arcgis/map-components 4.33.0-next.88 → 4.33.0-next.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/{5OEIQAWK.js → 3ED7Z6PD.js} +2 -2
- package/dist/arcgis-map-components/{2BU5MNXW.js.LEGAL.txt → 3ED7Z6PD.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/3LG7SIVP.js +5 -0
- package/dist/arcgis-map-components/{23KC53SG.js.LEGAL.txt → 3LG7SIVP.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{VRKZ5LFI.js → 4MG3W3IF.js} +2 -2
- package/dist/arcgis-map-components/{2ISCG3YL.js.LEGAL.txt → 4MG3W3IF.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{CN5IBQNQ.js → 4PUXHT34.js} +2 -2
- package/dist/arcgis-map-components/{26LFV752.js.LEGAL.txt → 4PUXHT34.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{FNYHGQ6K.js → 4W4SCA5K.js} +2 -2
- package/dist/arcgis-map-components/4W4SCA5K.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{BQV4O45H.js → 5J47AX2E.js} +2 -2
- package/dist/arcgis-map-components/5J47AX2E.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GV7DFVSK.js → 5NDLUVU5.js} +2 -2
- package/dist/arcgis-map-components/5NDLUVU5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2ISCG3YL.js → 65LEEBEN.js} +2 -2
- package/dist/arcgis-map-components/65LEEBEN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HD4FXQQT.js → 6GLYYYUR.js} +2 -2
- package/dist/arcgis-map-components/6GLYYYUR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{4HYIOPAM.js → 6S5TABGF.js} +2 -2
- package/dist/arcgis-map-components/6S5TABGF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/6TNESY74.js +5 -0
- package/dist/arcgis-map-components/6TNESY74.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/76YWLYLC.js +5 -0
- package/dist/arcgis-map-components/76YWLYLC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YYD5JLYV.js → A2TMTZMO.js} +2 -2
- package/dist/arcgis-map-components/A2TMTZMO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/AZLAJ3LI.js +4 -0
- package/dist/arcgis-map-components/AZLAJ3LI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{KDPGY5VP.js → BJJT4ZFM.js} +2 -2
- package/dist/arcgis-map-components/BJJT4ZFM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/BS4N46A7.js +5 -0
- package/dist/arcgis-map-components/BS4N46A7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{6FWLS6VO.js → CMYNGXYJ.js} +2 -2
- package/dist/arcgis-map-components/CMYNGXYJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GPQ7EPNU.js → COS56GXI.js} +2 -2
- package/dist/arcgis-map-components/COS56GXI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{FO5SHJIY.js → COV7276X.js} +2 -2
- package/dist/arcgis-map-components/COV7276X.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{APBHQKY2.js → CU6DCKLD.js} +2 -2
- package/dist/arcgis-map-components/CU6DCKLD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GFCBL2PH.js → CYBOBOP4.js} +2 -2
- package/dist/arcgis-map-components/CYBOBOP4.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/DE73EVBR.js +5 -0
- package/dist/arcgis-map-components/DE73EVBR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7UIUH3RD.js → E3JXPXSM.js} +2 -2
- package/dist/arcgis-map-components/E3JXPXSM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{5B37ILFB.js → ERBCHEZH.js} +2 -2
- package/dist/arcgis-map-components/ERBCHEZH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ES77MR3E.js +5 -0
- package/dist/arcgis-map-components/ES77MR3E.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{23KC53SG.js → F5J2IOHN.js} +2 -2
- package/dist/arcgis-map-components/F5J2IOHN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QYZPW5HT.js → F7QQNWSG.js} +2 -2
- package/dist/arcgis-map-components/F7QQNWSG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QS4RWZOX.js → FHNAJ5PO.js} +2 -2
- package/dist/arcgis-map-components/FHNAJ5PO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{6YY3CTAP.js → G3QBJGNA.js} +2 -2
- package/dist/arcgis-map-components/G3QBJGNA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{26LFV752.js → GPAIUL32.js} +2 -2
- package/dist/arcgis-map-components/GPAIUL32.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/HRFMDI2D.js +6 -0
- package/dist/arcgis-map-components/{J7FONBLF.js.LEGAL.txt → HRFMDI2D.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{VZ4A7Z72.js → HT7JZG46.js} +2 -2
- package/dist/arcgis-map-components/HT7JZG46.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QO5HQ4PK.js → HTVJIB5A.js} +2 -2
- package/dist/arcgis-map-components/HTVJIB5A.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/I56KAHPL.js +5 -0
- package/dist/arcgis-map-components/I56KAHPL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{AADU4QIT.js → IC2GOV3R.js} +1 -1
- package/dist/arcgis-map-components/IC2GOV3R.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ICTIZ5TA.js +5 -0
- package/dist/arcgis-map-components/ICTIZ5TA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{3G42T4L6.js → ING6MZEW.js} +1 -1
- package/dist/arcgis-map-components/ING6MZEW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/IP3IUU4W.js +5 -0
- package/dist/arcgis-map-components/IP3IUU4W.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TQTIMPN3.js → IPKD6MBJ.js} +2 -2
- package/dist/arcgis-map-components/IPKD6MBJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YU6CLFLV.js → IVXTLLMR.js} +2 -2
- package/dist/arcgis-map-components/{OHTDR2EC.js → JAQWZ4KC.js} +2 -2
- package/dist/arcgis-map-components/JAQWZ4KC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GS6TARDK.js → JIRXDDGR.js} +2 -2
- package/dist/arcgis-map-components/{GS6TARDK.js.LEGAL.txt → JIRXDDGR.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{SMPB3QR7.js → JNNJ7Y62.js} +2 -2
- package/dist/arcgis-map-components/JNNJ7Y62.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HSFKDO7N.js → JXBBK57L.js} +2 -2
- package/dist/arcgis-map-components/JXBBK57L.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/KMCBFY43.js +5 -0
- package/dist/arcgis-map-components/KMCBFY43.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HJHZARLF.js → KMP73JRU.js} +2 -2
- package/dist/arcgis-map-components/KMP73JRU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QUKBVYWK.js → KMVXO3XE.js} +2 -2
- package/dist/arcgis-map-components/KMVXO3XE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TQVA424L.js → KPXHHV73.js} +2 -2
- package/dist/arcgis-map-components/KPXHHV73.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{W5RX5ZBC.js → KREHMDLZ.js} +2 -2
- package/dist/arcgis-map-components/KREHMDLZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/KXESGL7H.js +5 -0
- package/dist/arcgis-map-components/KXESGL7H.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{62W6JD3G.js → LRJGLI6F.js} +2 -2
- package/dist/arcgis-map-components/LRJGLI6F.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/M2KHYOYL.js +5 -0
- package/dist/arcgis-map-components/M2KHYOYL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{MCVYKNA7.js → M5ALHCVH.js} +2 -2
- package/dist/arcgis-map-components/M5ALHCVH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{CXI3SZFH.js → M7BSS6M7.js} +2 -2
- package/dist/arcgis-map-components/M7BSS6M7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2PRI4HKJ.js → MDWXNVPS.js} +2 -2
- package/dist/arcgis-map-components/MDWXNVPS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/N4LIR6QA.js +5 -0
- package/dist/arcgis-map-components/N4LIR6QA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{73UWHJZS.js → NQPEW5NI.js} +2 -2
- package/dist/arcgis-map-components/NQPEW5NI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OFSOFSWY.js +5 -0
- package/dist/arcgis-map-components/OFSOFSWY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TVM7HV52.js → OHEVSL4O.js} +2 -2
- package/dist/arcgis-map-components/OHEVSL4O.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{OELMXKTQ.js → ONS4WMSY.js} +2 -2
- package/dist/arcgis-map-components/ONS4WMSY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OP536FTX.js +5 -0
- package/dist/arcgis-map-components/OP536FTX.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{CHY7M4OE.js → OSISFTYM.js} +2 -2
- package/dist/arcgis-map-components/OSISFTYM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{IJ2B3AVI.js → OTX3FWET.js} +2 -2
- package/dist/arcgis-map-components/OTX3FWET.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GLQKRJ3X.js → P23P7GQM.js} +2 -2
- package/dist/arcgis-map-components/P23P7GQM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TEKJHFWC.js → P7YO6L2Z.js} +2 -2
- package/dist/arcgis-map-components/P7YO6L2Z.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YQQPRS25.js → RGP66233.js} +2 -2
- package/dist/arcgis-map-components/RGP66233.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{XUSYNS5L.js → RO4463MT.js} +2 -2
- package/dist/arcgis-map-components/RO4463MT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{3LE67RLN.js → RR56GK2P.js} +2 -2
- package/dist/arcgis-map-components/RR56GK2P.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/T5JG2LWY.js +5 -0
- package/dist/arcgis-map-components/T5JG2LWY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{PT4BDEK4.js → TD2SY5RT.js} +2 -2
- package/dist/arcgis-map-components/TD2SY5RT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{6EWLWUHJ.js → TGGRUPA3.js} +2 -2
- package/dist/arcgis-map-components/TGGRUPA3.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HZSWZKLC.js → TOC6Q5NB.js} +2 -2
- package/dist/arcgis-map-components/TOC6Q5NB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{BM5LF6RF.js → TTL2QZWG.js} +2 -2
- package/dist/arcgis-map-components/TTL2QZWG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/TWPGMQLF.js +5 -0
- package/dist/arcgis-map-components/TWPGMQLF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{BI5CNKTG.js → U3Q564TT.js} +2 -2
- package/dist/arcgis-map-components/{2WWSQWLN.js → UB3HD4CA.js} +2 -2
- package/dist/arcgis-map-components/UB3HD4CA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/UCS55DHL.js +4 -0
- package/dist/arcgis-map-components/UCS55DHL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{XGYKADPQ.js → UYODLIQV.js} +2 -2
- package/dist/arcgis-map-components/UYODLIQV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2BU5MNXW.js → WBXW4FML.js} +1 -1
- package/dist/arcgis-map-components/WBXW4FML.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{WEX2QSCL.js → WJRIRHBG.js} +2 -2
- package/dist/arcgis-map-components/WJRIRHBG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{E5CHXAIC.js → WRKL7NFO.js} +2 -2
- package/dist/arcgis-map-components/WRKL7NFO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{OLESLZEU.js → WSITY47C.js} +2 -2
- package/dist/arcgis-map-components/WSITY47C.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{F2VQPSEP.js → XDPKV4XC.js} +2 -2
- package/dist/arcgis-map-components/XDPKV4XC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{PT2G3ZVJ.js → XESCRFRV.js} +2 -2
- package/dist/arcgis-map-components/XESCRFRV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{4UFRXED6.js → XJA7KDYF.js} +2 -2
- package/dist/arcgis-map-components/XJA7KDYF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{SR3FW6OY.js → XQAHHRA2.js} +2 -2
- package/dist/arcgis-map-components/XQAHHRA2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{44HCKB4W.js → YKFUSECY.js} +2 -2
- package/dist/arcgis-map-components/YKFUSECY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{JNTRI2A2.js → YYXIESAU.js} +2 -2
- package/dist/arcgis-map-components/YYXIESAU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{H7NFZYEC.js → ZHYZMPUK.js} +2 -2
- package/dist/arcgis-map-components/{H7NFZYEC.js.LEGAL.txt → ZHYZMPUK.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{O5Q4DPGR.js → ZIFKKCYV.js} +2 -2
- package/dist/arcgis-map-components/ZIFKKCYV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QXEYMD4U.js → ZLQ2KZ7N.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.css +1 -1
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js.LEGAL.txt +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +99 -95
- package/dist/chunks/createCloseEvent.js +14 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.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.js +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/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +3 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.js +10 -9
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +2 -9
- package/dist/components/arcgis-bookmarks/customElement.js +8 -7
- 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 +3 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +12 -11
- 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 +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +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.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +2 -2
- 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 +5 -5
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +2 -1
- package/dist/components/arcgis-features/customElement.js +10 -9
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +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-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +12 -3
- package/dist/components/arcgis-layer-list/customElement.js +12 -11
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +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.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +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 +2 -2
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +2 -2
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +3 -2
- package/dist/components/arcgis-table-list/customElement.js +10 -9
- 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-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +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-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/createCloseEvent.d.ts +13 -0
- package/dist/docs/api.json +48 -596
- package/dist/docs/docs.json +336 -755
- package/dist/docs/vscode.html-custom-data.json +6 -112
- package/dist/docs/web-types.json +69 -217
- package/dist/index.d.ts +6 -20
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -2
- package/dist/types/lumina.d.ts +6 -7
- package/dist/types/preact.d.ts +6 -8
- package/dist/types/react.d.ts +6 -9
- package/dist/types/stencil.d.ts +6 -7
- package/dist/utils/component-utils.d.ts +4 -4
- package/package.json +5 -5
- package/dist/arcgis-map-components/2PRI4HKJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/2WWSQWLN.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/3G42T4L6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/3LE67RLN.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/44HCKB4W.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/4BTWJDSR.js +0 -5
- package/dist/arcgis-map-components/4BTWJDSR.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/4HYIOPAM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/4UFRXED6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/5B37ILFB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/5HJU47EE.js +0 -5
- package/dist/arcgis-map-components/5HJU47EE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/5OEIQAWK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/62W6JD3G.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/6EWLWUHJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/6FWLS6VO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/6YY3CTAP.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/73UWHJZS.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7PTG724M.js +0 -5
- package/dist/arcgis-map-components/7PTG724M.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7UIUH3RD.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/AADU4QIT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/AHEL7I25.js +0 -5
- package/dist/arcgis-map-components/AHEL7I25.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/APBHQKY2.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BM5LF6RF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BQV4O45H.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BU3UMQYO.js +0 -5
- package/dist/arcgis-map-components/BU3UMQYO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/C2H243I6.js +0 -5
- package/dist/arcgis-map-components/C2H243I6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CHY7M4OE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CN5IBQNQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CTROO26M.js +0 -5
- package/dist/arcgis-map-components/CTROO26M.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CXI3SZFH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DH64LBJH.js +0 -5
- package/dist/arcgis-map-components/DH64LBJH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/E5CHXAIC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/F2VQPSEP.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/FNYHGQ6K.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/FO5SHJIY.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GFCBL2PH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GLQKRJ3X.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GPQ7EPNU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GV7DFVSK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HD4FXQQT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HJHZARLF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HSFKDO7N.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HZSWZKLC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IJ2B3AVI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IMMJWY5K.js +0 -4
- package/dist/arcgis-map-components/IMMJWY5K.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/J7FONBLF.js +0 -6
- package/dist/arcgis-map-components/JNTRI2A2.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/KDPGY5VP.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/KSJUAQDQ.js +0 -5
- package/dist/arcgis-map-components/KSJUAQDQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/LHIG3SMU.js +0 -5
- package/dist/arcgis-map-components/LHIG3SMU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MCVYKNA7.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MNQIRJRO.js +0 -5
- package/dist/arcgis-map-components/MNQIRJRO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/O5Q4DPGR.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OELMXKTQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OHTDR2EC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OLESLZEU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/PT2G3ZVJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/PT4BDEK4.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QHJD4HBY.js +0 -5
- package/dist/arcgis-map-components/QHJD4HBY.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QO5HQ4PK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QS4RWZOX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QUKBVYWK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QYZPW5HT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/R5RPGIDX.js +0 -5
- package/dist/arcgis-map-components/R5RPGIDX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/RM2NJ3N5.js +0 -5
- package/dist/arcgis-map-components/RM2NJ3N5.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/RPFLVR5Z.js +0 -5
- package/dist/arcgis-map-components/RPFLVR5Z.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SMPB3QR7.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SR3FW6OY.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/STFHSKJI.js +0 -5
- package/dist/arcgis-map-components/STFHSKJI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TEKJHFWC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TQTIMPN3.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TQVA424L.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TVM7HV52.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/VRKZ5LFI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/VZ4A7Z72.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/W5RX5ZBC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WEX2QSCL.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XGYKADPQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XUSYNS5L.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YLO6VPWF.js +0 -5
- package/dist/arcgis-map-components/YLO6VPWF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YQQPRS25.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YYD5JLYV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ZM2XDH2T.js +0 -5
- package/dist/arcgis-map-components/ZM2XDH2T.js.LEGAL.txt +0 -3
- package/dist/components/arcgis-histogram/customElement.d.ts +0 -76
- package/dist/components/arcgis-histogram/customElement.js +0 -34
- package/dist/components/arcgis-histogram/index.d.ts +0 -1
- package/dist/components/arcgis-histogram/index.js +0 -1
- /package/dist/arcgis-map-components/{YU6CLFLV.js.LEGAL.txt → IVXTLLMR.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{BI5CNKTG.js.LEGAL.txt → U3Q564TT.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{QXEYMD4U.js.LEGAL.txt → ZLQ2KZ7N.js.LEGAL.txt} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a}from"./G3QBJGNA.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as o,H as n,M as r,r as i,s as e,u as s}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([l])=>{var g=e`@layer{arcgis-coordinate-conversion{display:block}}`,c=a(l),t=class extends n{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.conversions=this.widget.conversions,this.currentLocation=this.widget.currentLocation,this.formats=this.widget.formats,this.goToOverride=this.widget.goToOverride,this.headingLevel=this.widget.headingLevel,this.hideCaptureButton=this.widget.visibleElements.captureButton,this.hideEditButton=this.widget.visibleElements.editButton,this.hideExpandButton=this.widget.visibleElements.expandButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.icon=this.widget.icon,this.label=this.widget.label,this.locationSymbol=this.widget.locationSymbol,this.mode=this.widget.mode,this.multipleConversionsDisabled=this.widget.multipleConversions,this.orientation=this.widget.orientation,this.position="bottom-left",this.state=this.viewModel.state,this.storageDisabled=this.widget.storageEnabled,this.storageType=this.widget.storageType,this.arcgisPropertyChange=i()("currentLocation","state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,conversions:0,currentLocation:0,formats:0,goToOverride:0,headingLevel:9,hideCaptureButton:5,hideEditButton:5,hideExpandButton:5,hideSettingsButton:5,icon:1,label:1,locationSymbol:0,mode:1,multipleConversionsDisabled:5,orientation:1,position:1,referenceElement:1,state:3,storageDisabled:5,storageType:1}}static{this.shadowRootOptions=s}static{this.styles=g}async destroy(){await this.manager.destroy()}async reverseConvert(h,d){return await this.widget?.reverseConvert(h,d)}};r("arcgis-coordinate-conversion",t);_0=t},"widgets/CoordinateConversion")
|
|
5
5
|
export{$$,_0 as ArcgisCoordinateConversion}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as d}from"./AZLAJ3LI.js";import{a as h}from"./G3QBJGNA.js";import{f as a}from"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as o,H as l,M as r,r as e,s as i,u as s}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([n])=>{var m=i`@layer{arcgis-table-list{display:block}}`,c=h(n),t=class extends l{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisClose=d(this),this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,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.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryTableIndicators=this.widget.visibleElements.temporaryTableIndicators,this.arcgisPropertyChange=e()("state"),this.arcgisReady=o(),this.arcgisTriggerAction=a(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryTableIndicators:5}}static{this.shadowRootOptions=s}static{this.styles=m}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};r("arcgis-table-list",t);_0=t},"widgets/TableList")
|
|
5
|
+
export{$$,_0 as ArcgisTableList}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as n}from"./G3QBJGNA.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as a,H as o,M as r,r as s,s as i,u as e}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([h])=>{var l=i`@layer{arcgis-directline-measurement-3d{display:block}}`,c=n(h),t=class extends o{constructor(){super(...arguments),this.widget=c(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=s()("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=e}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-directline-measurement-3d",t);_0=t},"widgets/DirectLineMeasurement3D")
|
|
5
5
|
export{$$,_0 as ArcgisDirectLineMeasurement3d}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{c as a,e as p,f as t}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{c as a,e as p,f as t}from"./IVXTLLMR.js";import{e as v,f as r}from"./UCS55DHL.js";import{G as s,H as w,M as c,s as o,u as n}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([{watch:d},u,l])=>{var _=o`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,V=a(l,{}),b=a(u,{}),h=class extends w{constructor(){super(...arguments),this._center=void 0,this._extent=void 0,this._itemId=void 0,this._scale=void 0,this._viewpoint=void 0,this._zoom=void 0,this._map=V(this,{editConstructorProperties:this._editMapProperties}),this.view=b(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.graphics=this.view.graphics,this.highlights=this.view.highlights,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewChange=s(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=s()}static{this.properties={_map:16,view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,graphics:0,highlights:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:4,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:7,viewpoint:0,zoom:9}}static{this.shadowRootOptions=n}static{this.styles=_}get center(){return this.view.center??this._center}set center(i){let e=r(i,this.ready?this.view:void 0);e&&(this.ready&&(this.view.center=e),this._center=e)}get extent(){return this.view.extent??this._extent}set extent(i){this.view.ready&&!this.extent?.equals(i)&&(this.view.extent=i),this._extent=i}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready?p.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error):this.view.ready!=null&&(this._map.destroy(),this._map=new l(this._editMapProperties({portalItem:{id:this._itemId}})),this.view.map=this._map)}get navigating(){return this.view.navigating}get scale(){return this.view.scale??this._scale}set scale(i){this.ready&&(this.view.scale=i),this._scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(i){this.ready&&v(this.viewpoint,i)&&(this.view.viewpoint=i),this._viewpoint=i}get zoom(){return this.view.zoom??this._zoom}set zoom(i){this.ready&&(this.view.zoom=i),this._zoom=i}async addLayer(i,e){this.map?.add(i,e)}async addLayers(i,e){this.map?.addMany(i,e)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,e){return await this.view?.goTo(i,e)}async openPopup(i){await this.view?.openPopup(i)}toMap(i){return this.view.toMap(i)}toScreen(i,e){return this.view.toScreen(i,e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view?.whenLayerView(i)}async viewOnReady(i,e){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(e)}load(){let i=this;i.el.childElem=document.createElement("div"),i.el.append(i.el.childElem),this.view.container??=i.el.childElem}loaded(){this.manager.onLifecycle(()=>[d(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),d(()=>this.view.ready,()=>{this.arcgisViewReadyChange.emit()},{initial:this.view.ready})])}_editMapProperties(i){this.map&&(this._map=this.map),this.itemId&&(i.portalItem={id:this.itemId});let{basemap:e,...m}=i;e||(i=m);let{ground:g,...y}=i;return g||(i=y),i}async _editViewProperties(i){await this.manager.use(this._map),this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let e=r(this.center,void 0);return e&&(i.center=e),this.viewpoint&&(i.viewpoint=this.viewpoint),this.scale!==void 0&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.zoom!==void 0&&(i.zoom=this.zoom),i}};c("arcgis-link-chart",h);_0=h},"core/reactiveUtils","views/LinkChartView","WebLinkChart")
|
|
5
5
|
export{$$,_0 as ArcgisLinkChart}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as l}from"./G3QBJGNA.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as s,H as a,M as h,s as i,u as t}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([o])=>{var d=i`@layer{arcgis-daylight{display:block}}`,r=l(o),e=class extends a{constructor(){super(...arguments),this.widget=r(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=t}static{this.styles=d}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);_0=e},"widgets/Daylight")
|
|
5
|
+
export{$$,_0 as ArcgisDaylight}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as n}from"./G3QBJGNA.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as a,H as r,M as o,r as i,s as e,u as s}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([h])=>{var l=e`@layer{arcgis-histogram-range-slider{display:block}}`,g=n(h),t=class extends r{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.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:1,icon:1,includedBarColor:1,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=s}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(d){return this.widget.generateWhereClause(d)}};o("arcgis-histogram-range-slider",t);_0=t},"widgets/HistogramRangeSlider")
|
|
5
5
|
export{$$,_0 as ArcgisHistogramRangeSlider}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as u}from"./ING6MZEW.js";import{$$ as _0,a as M}from"./UB3HD4CA.js";import{$$ as _1}from"./P23P7GQM.js";import{a as C}from"./XQAHHRA2.js";import{a as _}from"./IC2GOV3R.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as $,H as y,I as p,J as w,K as D,M as P,b as v,r as f,s as b,u as x,v as g}from"./HRFMDI2D.js";var _2,$$=$arcgis.t(([L])=>{var H=b`@layer{arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none!important}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`,l="arcgis-swipe",n={base:l,baseDisabled:`${l}--disabled`,vertical:`${l}--vertical`,horizontal:`${l}--horizontal`,container:`${l}__container`,divider:`${l}__divider`,handle:`${l}__handle`,handleHidden:`${l}__handle--hidden`,handleIcon:`${l}__handle-icon`},O=M(L),m=class extends y{constructor(){super(...arguments),this._container=null,this._swiping=!1,this.messages=C({}),this._pointerOffset=0,this.viewModel=O(this),this._onContainerPointerDown=e=>{e.preventDefault();let{_container:i}=this;i&&document.activeElement!==this.el&&i.focus(),this._swiping=!0,this._calculatePointerOffset(e)},this.autoDestroyDisabled=!1,this.direction=this.viewModel.direction,this.disabled=!1,this.hideDivider=!1,this.hideHandle=!1,this.icon="compare",this.label=this.messages.componentLabel,this.leadingLayers=this.viewModel.leadingLayers,this.position="manual",this.swipePosition=this.viewModel.position,this.state=this.viewModel.state,this.trailingLayers=this.viewModel.trailingLayers,this.arcgisPropertyChange=f()("state"),this.arcgisReady=$()}static{this.properties={autoDestroyDisabled:5,direction:3,disabled:7,hideDivider:7,hideHandle:7,icon:3,label:1,leadingLayers:0,messageOverrides:0,position:3,swipePosition:9,referenceElement:1,state:3,trailingLayers:0}}static{this.shadowRootOptions=x}static{this.styles=H}async destroy(){await this.manager.destroy()}loaded(){this.listenOn(document,"pointermove",this._onContainerPointerMove),this.listenOn(document,"pointerup",this._onContainerPointerUp)}_calculatePointerOffset(e){let{direction:i}=this,t=e.target,r=(i==="vertical"?t.clientHeight:t.clientWidth)/2,a=t.getBoundingClientRect(),o=e.clientX-a.left,d=e.clientY-a.top;this._pointerOffset=i==="vertical"?d-r:o-r}_onContainerPointerUp(e){this._swiping&&(e.preventDefault(),this._swiping=!1)}_onContainerPointerMove(e){if(!this._swiping)return;e.preventDefault();let{_pointerOffset:i,el:t,direction:r}=this,{clientX:a,clientY:o}=e,{top:d,left:s,width:c,height:h}=t.getBoundingClientRect(),z=r==="vertical"?h:c,A=(r==="vertical"?o-d-i:a-s-i)/z*100;this.swipePosition=A}_getKeyPosition(e){let{key:i}=e,{swipePosition:t}=this,{max:r,min:a,step:o,stepMultiplier:d,direction:s}=this.viewModel,c=o*d;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].includes(i)&&(e.preventDefault(),e.stopPropagation()),s==="vertical"?i==="ArrowDown"||i==="ArrowRight":i==="ArrowUp"||i==="ArrowRight"){let h=e.shiftKey?c:o;return t+h}if(s==="vertical"?i==="ArrowUp"||i==="ArrowLeft":i==="ArrowDown"||i==="ArrowLeft"){let h=e.shiftKey?c:o;return t-h}return i==="Home"?a:i==="End"?r:(s==="vertical"?i==="PageDown":i==="PageUp")?t+c:(s==="vertical"?i==="PageUp":i==="PageDown")?t-c:null}_onContainerKeyDown(e){let i=this._getKeyPosition(e);typeof i=="number"&&(this.swipePosition=i)}render(){let{state:e,direction:i}=this.viewModel,t=e==="disabled"||this.disabled,r={[_.disabled]:t,[n.baseDisabled]:t,[n.vertical]:i==="vertical",[n.horizontal]:i==="horizontal"};return g`<div class=${p(v(n.base,_.widget,r))}>${e==="disabled"?null:this._renderContainer()}</div>`}_renderHandle(){let{direction:e}=this.viewModel,{hideHandle:i}=this,t={[u.dragHorizontal]:e==="vertical",[u.dragVertical]:e==="horizontal"},r=v(n.handle,!!i&&n.handleHidden);return g`<div class=${p(r)} role=presentation><span aria-hidden=true class=${p(v(n.handleIcon,t))}></span></div>`}_renderDivider(){return this.hideDivider?null:g`<div class=${p(n.divider)} role=presentation></div>`}_renderContent(){return[this._renderDivider(),this._renderHandle()]}_renderContainer(){let{disabled:e,viewModel:i}=this,{max:t,min:r,direction:a,position:o}=i,d=this.label??this.messages.dragLabel??"",s=`${o}%`,c={top:a==="vertical"?s:void 0,left:a==="vertical"?void 0:s},h=this._renderContent();return e?g`<div class=${p(n.container)} role=presentation style=${w(c)}>${h}</div>`:g`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${d} .ariaOrientation=${a} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${o}`} .ariaValueText=${s} class=${p(n.container)} @keydown=${this._onContainerKeyDown} role=slider style=${w(c)} tabindex=0 title=${d??D} touch-action=none>${h}</div>`}};P("arcgis-swipe",m);_2=m},"widgets/Swipe/SwipeViewModel",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisSwipe}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{$$ as _0,a as u}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{$$ as _0,a as u}from"./UB3HD4CA.js";import{$$ as _1}from"./P23P7GQM.js";import{a as p}from"./XQAHHRA2.js";import{a as e}from"./IC2GOV3R.js";import{f as g}from"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as h,H as d,I as a,M as m,b as c,r as s,s as l,u as n,v as o}from"./HRFMDI2D.js";var _2,$$=$arcgis.t(([b])=>{var k=l`@layer{arcgis-link-chart-layout-switcher{display:block}}`,v={basicLayoutCategory:["basic-grid"],organicLayoutCategory:["organic-standard","organic-community","geographic-organic-standard"],treeLayoutCategory:["tree-left-to-right","radial-root-centric"],hierarchicalLayoutCategory:["hierarchical-bottom-to-top"],chronologicalLayoutCategory:["chronological-mono-timeline","chronological-multi-timeline"]},L={"organic-standard":"force-directed-link-chart-layout","organic-community":"community-link-chart-layout","basic-grid":"simple-link-chart-layout","hierarchical-bottom-to-top":"hierarchical-link-chart-layout","radial-root-centric":"radial-tree-link-chart-layout","tree-left-to-right":"smart-tree-link-chart-layout","geographic-organic-standard":"geographic-link-chart-layout","chronological-mono-timeline":"clock-forward","chronological-multi-timeline":"clock-forward"},$={"organic-standard":"forceDirected","organic-community":"community","basic-grid":"simple","hierarchical-bottom-to-top":"hierarchical","radial-root-centric":"radialTree","tree-left-to-right":"smartTree","geographic-organic-standard":"geographic","chronological-mono-timeline":"chronologicalSingle","chronological-multi-timeline":"chronologicalMultiple"},C={base:"esri-link-chart-layout-switcher"},M=u(b),r=class extends d{constructor(){super(...arguments),this.messages=p(),this.viewModel=M(this),this.autoDestroyDisabled=!1,this.icon="nodes-link",this.layout=this.viewModel.layout,this.position="top-left",this.preventExtentUpdate=this.viewModel.preventExtentUpdate,this.state=this.viewModel.state,this.arcgisSwitchLayout=g(()=>this.viewModel,"switchLayout"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=h()}static{this.properties={autoDestroyDisabled:5,icon:3,label:1,layout:32,position:3,preventExtentUpdate:5,referenceElement:1,state:3}}static{this.shadowRootOptions=n}static{this.styles=k}async destroy(){await this.manager.destroy()}async switchLayout(t){this.viewModel.switchLayout(t)}render(){let{messages:t,icon:y}=this;return o`<div class=${a(c(C.base,e.widget))}><calcite-dropdown scale=s width=m max-items=9><calcite-button class=${a(e.widgetButton)} slot=trigger kind=neutral .disabled=${this.viewModel.state==="disabled"} .iconStart=${y??void 0} .label=${t.layoutOptions??"Layout"}></calcite-button>${Object.entries(v).map(([w,f])=>o`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[w]}>${f.map(i=>o`<calcite-dropdown-item .iconStart=${L[i]} .selected=${i===this.layout?!0:void 0} @click=${()=>void this.switchLayout(i)}>${t[$[i]]}</calcite-dropdown-item>`)}</calcite-dropdown-group>`)}</calcite-dropdown></div>`}};m("arcgis-link-chart-layout-switcher",r);_2=r},"widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisLinkChartLayoutSwitcher}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{d as y,e as a}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{d as y,e as a}from"./IVXTLLMR.js";import{a as r}from"./UCS55DHL.js";import{i as h,j as w,n as _}from"./HRFMDI2D.js";var P=(d,s)=>(i,e)=>v(i,d,e),p=class extends y{constructor(s,i,e){super(s,i,e),this._watchedViewModelProperties=new Map,this._watchedVisibleElementsProperties={},this._isBindingViewModel={value:!0},Object.defineProperty(this.exports,"viewModel",{value:a.makeGetterProxy(s,this._watchedViewModelProperties,this._isBindingViewModel)}),Object.defineProperty(this.exports,"visibleElements",{value:this._makeVisibleElementsBinder()})}hostConnected(){super.hostConnected(),this._isBindingViewModel.value=!1,this.component.manager.loadedCalled&&r(this.component)}async hostLoad(){if(this._watchedProperties.delete("viewModel"),await super.hostLoad(),this.component.manager.destroyed)return;this._watchMetaProperties(),this.onLifecycle(()=>this.reactiveUtils.watch(()=>this._instance.viewModel,e=>{this.component.viewModel=e},{initial:!0}));let s=this._instance.viewModel;typeof s=="object"&&(a.watchComponentUpdates(this,s,this._watchedViewModelProperties),a.watchAccessorUpdates(this,s,this._watchedViewModelProperties));let i=Object.entries(this._watchedVisibleElementsProperties);i.length>0&&this.onLifecycle(()=>i.map(([e,t])=>{let o=this._instance.visibleElements??{},n;for(let c of t.slice(0,-1))if(typeof o[c]=="object"&&o[c]!==null)o=o[c];else{n=!!o[c];break}n===void 0&&(n=!!(o[t.slice(-1)[0]]??!0)),e.startsWith("hide");let m=e.startsWith("hide")||e.startsWith("show")?e.startsWith("hide"):n,l=this.component;return typeof l[e]=="boolean"?this._updateWidgetVisibleElement(t,l[e],m):l[e]=!1,h(this.component,e,c=>this._updateWidgetVisibleElement(t,c,m))}))}_updateWidgetVisibleElement(s,i,e){let t=this._instance.visibleElements??{};for(let n of s.slice(0,-1))(typeof t[n]!="object"||t[n]===null)&&(t[n]={}),t=t[n];let o=!!(e?!i:i);t[s.at(-1)]=o}hostLoaded(){let{el:s}=this.component;s.childElem??=document.createElement("div"),this._instance.container=s.childElem;let i=!1,e=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view??this._instance.viewModel?.view,set:t=>{!("view"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.view=t:this._instance.view=t,!("map"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.map=t.map:this._instance.map=t.map,this._watchViewDestroy(),t&&!i&&(i=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),e&&(this._instance.view=e),this.component.el.isConnected&&(r(this.component),this._watchViewDestroy())}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){h(this.component,"position",s=>{this.component.el.childElem!=null&&typeof s=="string"&&r(this.component)}),h(this.component,"referenceElement",()=>r(this.component))}_makeVisibleElementsBinder(){return new Proxy({},{has:(s,i)=>typeof i=="string"||Reflect.has(s,i),get:(s,i)=>{if(typeof i=="symbol"||i in Promise.prototype)return Reflect.get(s,i);let e=[i],t=this._makeRecursiveProxy(e);return w(this.component,o=>{let n=o;this.component[n]=!1,this._watchedVisibleElementsProperties[n]=e},t)}})}_makeRecursiveProxy(s){let i=new Proxy({},{get:(e,t)=>{let o=Reflect.get(e,t);return typeof t=="symbol"||t in Promise.prototype?o:(s.push(t),i)}});return i}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},v=_(p);export{P as a};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{c as a,e as c,f as t}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{c as a,e as c,f as t}from"./IVXTLLMR.js";import{e as d,f as r}from"./UCS55DHL.js";import{G as s,H as w,M as p,s as o,u as n}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([{watch:v},u,l])=>{var _=o`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,V=a(l,{}),b=a(u,{}),h=class extends w{constructor(){super(...arguments),this._center=void 0,this._extent=void 0,this._itemId=void 0,this._scale=void 0,this._viewpoint=void 0,this._zoom=void 0,this._map=V(this,{editConstructorProperties:this._editMapProperties}),this.view=b(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.highlights=this.view.highlights,this.highlightOptions=this.view.highlightOptions,this.ipsInfo=this._map.ipsInfo,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.visibleArea=this.view.visibleArea,this.arcgisViewChange=s(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=s()}static{this.properties={_map:16,view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,highlights:0,highlightOptions:0,interacting:32,ipsInfo:0,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:4,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:7,viewpoint:0,visibleArea:0,zoom:9}}static{this.shadowRootOptions=n}static{this.styles=_}get center(){return this.view.center??this._center}set center(i){let e=r(i,this.ready?this.view:void 0);e&&(this.ready&&(this.view.center=e),this._center=e)}get extent(){return this.view.extent??this._extent}set extent(i){this.view.ready||(this._extent=i),i&&!this.extent?.equals(i)&&(this.view.extent=i)}get gamepad(){return this.ready?this.view.input.gamepad:void 0}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready?c.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error):this.view.ready!=null&&(this._map.destroy(),this._map=new l(this._editMapProperties({portalItem:{id:this._itemId}})),this.view.map=this._map)}get navigating(){return this.view.navigating}get scale(){return this.view.scale??this._scale}set scale(i){this.ready&&(this.view.scale=i),this._scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(i){this.ready&&d(this.viewpoint,i)&&(this.view.viewpoint=i),this._viewpoint=i}get zoom(){return this.view.zoom??this._zoom}set zoom(i){this.ready&&(this.view.zoom=i),this._zoom=i}async addLayer(i,e){this.map?.add(i,e)}async addLayers(i,e){this.map?.addMany(i,e)}async addTable(i){this.map?.tables.add(i)}async addTables(i,e){this.map?.tables.addMany(i,e)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,e){return await this.view?.goTo(i,e)}async hitTest(i,e){return await this.view?.hitTest(i,e)}async openPopup(i){await this.view?.openPopup(i)}async takeScreenshot(i){return await this.view?.takeScreenshot(i)}toMap(i){return this.view.toMap(i)}toScreen(i,e){return this.view.toScreen(i,e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view?.whenLayerView(i)}async viewOnReady(i,e){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(e)}load(){let i=this;i.el.childElem=document.createElement("div"),i.el.append(i.el.childElem),this.view.container??=i.el.childElem}loaded(){this.manager.onLifecycle(()=>[v(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),v(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_editMapProperties(i){this.map&&(this._map=this.map),this.itemId&&(i.portalItem={id:this.itemId});let{basemap:e,...m}=i;e||(i=m);let{ground:g,...y}=i;return g||(i=y),i}async _editViewProperties(i){await this.manager.use(this._map),this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let e=r(this.center,void 0);return e&&(i.center=e),this.viewpoint&&(i.viewpoint=this.viewpoint),this.scale!==void 0&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.zoom!==void 0&&(i.zoom=this.zoom),i}};p("arcgis-map",h);_0=h},"core/reactiveUtils","views/MapView","WebMap")
|
|
5
5
|
export{$$,_0 as ArcgisMap}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
var Xo=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,o)=>(typeof require<"u"?require:t)[o]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});function es(...e){let t=[];for(let s=0;s<e.length;s++){let n=e[s];if(typeof n=="string")t.push(n);else if(Array.isArray(n))t.push.apply(t,n);else if(typeof n=="object")for(let r in n)n[r]&&t.push(r)}let o=t.join(" ");return t.length=0,o}var g=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,o)=>{this.resolve=t,this.reject=o})}};function Ze(e,t){let o=e;for(;o;){if(o===t)return!0;if(!o.parentNode)return!1;o.parentNode instanceof ShadowRoot?o=o.parentNode.host:o=o.parentNode}return!1}function xt(e,t,o){let{subscribe:s}=Qe(t);return s(n=>{n.some(i=>Ze(e,i.target))&&o()})}var $t={};function Qe(e){let t=e.join(","),o=$t[t];if(o!==void 0)return o;let s=new Set,n=new MutationObserver(i=>s.forEach(a=>a(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let r={subscribe(i){return s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),$t[t]=void 0)}}};return $t[t]=r,r}function Xe(e,t){let o=e;for(;o;){let s=o.closest?.(t);if(s)return s;let n=o.getRootNode?.();if(n===globalThis.document)return null;o=n.host}return null}function At(e,t,o){return Xe(e,`[${t}]`)?.getAttribute(t)??o}function to(e){return typeof e.setFocus=="function"}async function os(e){e!=null&&(to(e)?await e.setFocus():e.focus())}function u(e,t,...o){try{return e?.call(t,...o)}catch(s){console.error(s,e)}}async function B(e,t,...o){try{let s=e?.call(t,...o);return s instanceof Promise?await s:s}catch(s){console.error(s,e)}}function q(e){let t="";for(let o=0;o<e;o++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function ss(){return[q(2),q(1),q(1),q(1),q(3)].join("-")}var eo=["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"],oo=new Set(eo),nt="en",so={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"};async function no(e,t,o=""){let s=`${t}/${o}`,n=`${s}${e}.json`;return wt[n]??(wt[n]=Xt(e,s)),await wt[n]}var wt={};async function Xt(e,t){let o=`${t}${e}.json`;try{let s=await fetch(o);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return e===nt?{}:await Xt(nt,t)}function Ot(e){let t=At(e,"lang",globalThis.navigator?.language||nt);return{lang:t,t9nLocale:te(t)}}function te(e){let[t,o]=e.split("-"),s=t.toLowerCase(),n=s;return o&&(n=`${s}-${o.toUpperCase()}`),n=so[n]??n,oo.has(n)?n:o?te(s):nt}function ee(e,t,o,s){let n,r=()=>void ro(e,t(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&o(i),n=i}).catch(console.error);return queueMicrotask(r),xt(e,["lang"],r)}async function ro(e,t,o=e.localName.split("-").slice(1).join("-")){let{lang:s,t9nLocale:n}=Ot(e),r=`${t}/${o}/t9n`,a=o===null?{}:await no(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:a}}var rt=e=>e.replace(io,(t,o)=>`${o===0?"":"-"}${t.toLowerCase()}`),io=/[A-Z]+(?![a-z])|[A-Z]/gu;function oe(e,t){let o=t>ao?co:t/lo,s=0,n=setInterval(()=>{s+=o,s>=t&&(clearInterval(n),e())},o);return n}var ao=4e3,co=2e3,lo=4;function se(e){return e!==void 0}var Lt=(e=>(e[e.String=1]="String",e[e.Number=2]="Number",e[e.Boolean=4]="Boolean",e[e.Any=8]="Any",e[e.Unknown=16]="Unknown",e[e.State=32]="State",e[e.Method=64]="Method",e[e.Event=128]="Event",e[e.Element=256]="Element",e[e.ReflectAttr=512]="ReflectAttr",e[e.Mutable=1024]="Mutable",e[e.Prop=31]="Prop",e[e.HasAttribute=15]="HasAttribute",e[e.PropLike=63]="PropLike",e[e.ReadOnly=2048]="ReadOnly",e))(Lt||{});function ne(e,t){if(t){let o=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(o,([s,n])=>n.noAccessor?void 0:[s,[(n.readOnly?2048:0)|(n.state?32:16)]]).filter(se))}else{let o=e.constructor,s=o.__registerControllers?.(e)??void 0;if(o.__registerControllers=void 0,typeof s!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(s).filter(([n,[r]])=>(r&63)!==0))}}function re(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 ie=(e,t)=>e.manager.internals.members?.[t]?.[0];var ct=Symbol.for("controller");var le=e=>typeof e=="object"&&e!==null&&(ct in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);function he(e){return typeof e?.then=="function"}var F;function T(e){F!==e&&(F=e,queueMicrotask(()=>{F===e&&(F=void 0)}))}function k(e){return F}var P=[];function Nt(e){if(e===void 0){P=[];return}let t=P.indexOf(e);P=t===-1?[...P,e]:P.slice(0,t+1),queueMicrotask(()=>{P=[]})}function Tt(){return P}var z;function ho(e){z!==e&&(z=e,queueMicrotask(()=>{z===e&&(z=void 0)}))}function uo(){let e=z;return z=void 0,e}var po=async(e,t)=>{let o=kt(e);if(o===void 0)return e;if(await o.ready,typeof t=="function"){let s=o.watchExports(n=>t(n,s))}return o.exports},fo=async e=>{let t=kt(e);return await t.ready,t},kt=e=>{let o=k().manager.internals.resolveExports(e);if(o!==void 0)return o;if(le(e))return e;let s=uo();if(s!==void 0)return s},$={setter:!1,getter:!1,readOnly:!1},G=new WeakMap,de;de=ct;var K=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new g,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[de]=!0,this.ready=this._ready.promise,this._exports=ce(this),this._exportWatchers=new Set;let o=t??k(new.target.name);this.component=o,this.component.addController(this),this.component.manager===void 0||(Nt(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:t}=this.component;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t._loadCalled&&this.triggerLoad().then(()=>{t.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(t){let o=this._exports;o!==t&&(this._exports=t,this._exportWatchers.forEach(u),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,o)),this._ready.resolve(t)}setProvisionalExports(t,o=!0){this._exports=o?ce(t):t,this._exportWatchers.forEach(u)}watchExports(t){let o=()=>t(this._exports);return this._exportWatchers.add(o),()=>void this._exportWatchers.delete(o)}get use(){return T(this.component),po}get useRef(){return T(this.component),fo}get useRefSync(){return T(this.component),kt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),this._callbacks.hostConnected.forEach(u),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(u),this._lifecycleCleanups.forEach(u),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let t=this;t.hostLoad&&await B(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(B)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let t=this;t.hostLoaded&&u(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(u),this.loadedCalled=!0}triggerUpdate(t){let o=this;o.hostUpdate&&u(o.hostUpdate,o,t),this._callbacks.hostUpdate.forEach(ae,t)}triggerUpdated(t){let o=this;o.hostUpdated&&u(o.hostUpdated,o,t),this._callbacks.hostUpdated.forEach(ae,t)}triggerDestroy(){let t=this;t.hostDestroy&&u(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(u)}triggerLifecycle(){let t=this;t.hostLifecycle&&this._callLifecycle(()=>t.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){T(this.component);let o=u(t);(Array.isArray(o)?o:[o]).forEach(n=>{typeof n=="function"?this._lifecycleCleanups.push(n):typeof n=="object"&&typeof n.remove=="function"&&this._lifecycleCleanups.push(n.remove)})}};function ae(e){u(e,void 0,this)}var ue=K;function ce(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(o,s,n){if(!(mo.has(s)&&s in o&&o[s]===t)&&(s in o||s in Promise.prototype||typeof s=="symbol"))return typeof o=="function"?o[s]:Reflect.get(o,s,n)},set:(o,s,n,r)=>Reflect.set(o,s,n,r)});return t}var mo=new Set(["exports","_exports"]);function pe(e,t,o){let s=Object.keys(e),n=s.length;N===void 0&&queueMicrotask(J),N??(N=new Map);let r=N.get(e);return r===void 0&&(r={callbacks:[],keyCount:n},N.set(e,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let a=l=>u(t,null,l),c=i[n];c===void 0?a(void 0):e[c]===o?a(c):a(void 0)}),o}var N;function J(){Array.from(N?.entries()??[]).forEach(([e,{callbacks:t}])=>{let o=Object.keys(e);t.forEach(s=>s(o))}),N=void 0}var at=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let o=this.component.manager.internals;Object.entries(o.members).forEach(([s,[n]])=>{var r;n&Lt.ReadOnly&&((r=o.setters)[s]??(r[s]=[]),o.setters[s].push(o.readonlySetter))})},this.trackedValue=Pt,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(o,s,n)=>{if($.readOnly)return o;throw new Error(`Cannot assign to read-only property "${n}" of ${this.component.el.localName}. Trying to assign "${String(o)}"`)},this.component=t}firePropTrackers(t,o){let s=this.keyTrackers;this.trackedValue=Pt,this.keyTrackers=[],s.forEach(n=>n(t,o))}getSetProxy(t){let o=this.component,s=o.constructor.prototype;if(this._getSetProxy(s,t,"class"),o.manager.isLit)return;let n=o.el.constructor.prototype;s!==n&&this._getSetProxy(n,t,"html")}_getSetProxy(t,o,s){let n=this.component,r=ie(n,o),i;do i=Object.getOwnPropertyDescriptor(t,o);while(!i&&(t=Object.getPrototypeOf(t)));if(!i)return;let a=i.get,c=i.set,l=it in a,d=it in c;if(l&&d)return;let h=!l,f=!d,v=h?function(){let b=a.call(this),_=G.get(this);if($.getter||_===void 0)return b;let V=_.manager.internals;b=V.accessorGetter[o](b,o);let y=V.getters[o]??St;for(let C=0;C<y.length;C++)b=y[C](b,o);return b}:a,S=f?function(b){let _=a.call(this),V=G.get(this);if(V===void 0){c.call(this,b);return}let y=V.manager.isLit?b??void 0:re(b,r),C=V.manager.internals;if(y===_)c.call(this,y);else{let Qt=$.setter?St:C.setters[o]??St;for(let W=0;W<Qt.length&&(y=Qt[W](y,_,o),y!==_);W++);y=C.accessorSetter[o](y,_,o),c.call(this,y),y!==_&&C.enabledWatchers[o]?.forEach(W=>W(y,_,o))}C.keyTrackers.length>0&&C?.firePropTrackers(o,b)}:c;h&&(v[it]=!0),f&&(S[it]=!0),Object.defineProperty(t,o,{...i,get:v,set:S})}markExports(t,o){(typeof o=="object"&&o!==null||typeof o=="function")&&this._exports.set(o,t)}resolveExports(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this._exports.get(t)}},St=[],it=Symbol(),Pt=Symbol();function Y(e,t,o){var s;let n=t,r=e.manager.internals;(s=r.allWatchers)[n]??(s[n]=[]);let i=r.allWatchers[n],a=o,c=(l,d,h)=>u(a,null,l,d,h);return i.push(c),()=>{let l=i.indexOf(c);l!==-1&&i.splice(l,1)}}function fe(e,t,o){let s=e.manager.internals;return s.trackedValue!==Pt&&s.trackedValue!==o&&s.firePropTrackers(void 0,void 0),s.keyTrackers.length===0&&queueMicrotask(()=>s.firePropTrackers(void 0,void 0)),s.trackedValue=o,s.keyTrackers.push((n,r)=>u(t,void 0,o===r?n:void 0)),o}function lt(e=[k(),...Tt()],t,o){let s=Array.isArray(e)?e:[e],n=s.length+1,r=a=>{n-=1,a!==void 0&&(n=Math.min(n,0)),n===0&&t(a)};s.forEach(a=>pe(a,c=>r(c===void 0?void 0:{key:c,host:a,isReactive:!1}),o));let i=s.find(a=>"manager"in a&&typeof a.manager=="object"&&a.manager.component===a);return i&&fe(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!0}),o),o}function yo(e){$.setter=!0;try{return e()}finally{$.setter=!1}}function go(e){$.getter=!0;try{return e()}finally{$.getter=!1}}function me(e){$.readOnly=!0;try{return e()}finally{$.readOnly=!1}}var ye=e=>(...t)=>{let o=Tt(),s=new e(...t),n=s.exports;Nt(o.at(-1));let r=s.component.manager.internals;r.markExports(s,n),s.watchExports(a=>r.markExports(s,a)),ho(s);let i=[s.component,...o].reverse();return lt(i,a=>a===void 0?void 0:vo(s,a,n),n)};function vo(e,{host:t,key:o,isReactive:s},n){let r=t,i=r[o]!==e.exports,a=r[o]!==n,c=n!==e.exports;if(i&&!a&&c&&(r[o]=e.exports),t===e.component){if(s){let d=e.component.manager.internals;a&&d.markExports(e,r[o]),Y(e.component,o,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=s?void 0:o}e.watchExports(()=>{if(r[o]===e.exports)return;let d=e.component.manager;d.internals.setters[o]?.includes(d.internals.readonlySetter)?me(()=>{r[o]=e.exports}):r[o]=e.exports})}var Ee=(e,t)=>new Rt(e,t),Rt=class extends ue{constructor(t,o){let s="addController"in t,n=new Set;function r(l){n.add(l),!(ct in l)&&t.renderRoot&&t.el.isConnected&&l.hostConnected?.()}function i(l){n.delete(l),l.controllerRemoved?.()}let a=t;if(a.addController=r,a.removeController=i,!s){let l=o??t.constructor.__forceUpdate;a.requestUpdate=()=>l(t)}super(t),this.internals=new at(this.component),this.destroyed=!1,this._updatePromise=new g,this._originalLifecycles={},this.isLit=s,this.component.manager=this,ne(t,s),this._controllers=n,this.exports=void 0,this.hasDestroy=Dt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(l=>{c.accessorGetter[l]=ge,c.accessorSetter[l]=ge,c.getSetProxy(l)}),s?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(t,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),T(t),G.set(t.el,t),G.set(t,t)}_bindLifecycleMethods(){let t=this.component,o=this.isLit,s=t.el===t;this._originalLifecycles={_connectedCallback:o||s?void 0:t.connectedCallback,_disconnectedCallback:o||s?void 0:t.disconnectedCallback,_load:o?t.load:t.componentWillLoad,_loaded:o?t.loaded:t.componentDidLoad,_willUpdate:o?void 0:t.componentWillUpdate,_updated:o?void 0:t.componentDidUpdate,_destroy:t.destroy};let n=this._connectedCallback.bind(this),r=this._disconnectedCallback.bind(this),i=this._update.bind(this),a=this._updated.bind(this);o?t.constructor.prototype.addController.call(t,{hostConnected:n,hostDisconnected:r,hostUpdate:i,hostUpdated:a}):(t.connectedCallback=n,t.disconnectedCallback=r,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=i,t.componentDidUpdate=a),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let o=this.component.el.localName;throw this.component.el.remove(),new Error(`The ${o} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Dt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let t=this.internals;t.enabledWatchers=t.allWatchers,J(),t.enableReadonly?.(),this._controllers.forEach(Eo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(_o),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,Co)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&Y(this.component,Dt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach($o),this._originalLifecycles._loaded?.call(this.component)}_update(){let t=this.component;return this._controllers.forEach(wo,t.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let t=this.component;if(this._controllers.forEach(xo,t.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)t.$changes=new Map;else{let o=this._updatePromise;this._updatePromise=new g,o.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(Ao),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 t=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=oe(t,bo)}}},Dt="autoDestroyDisabled",bo=1e3,ge=e=>e;function Eo(e){"triggerConnected"in e?e.triggerConnected():u(e.hostConnected,e)}function _o(e){"triggerDisconnected"in e?e.triggerDisconnected():u(e.hostDisconnected,e)}async function Co(e){"triggerLoad"in e?await e.triggerLoad():await B(e.hostLoad,e)}function $o(e){"triggerLoaded"in e?e.triggerLoaded():u(e.hostLoaded,e)}function wo(e){"triggerUpdate"in e?e.triggerUpdate(this):u(e.hostUpdate,e,this)}function xo(e){"triggerUpdated"in e?e.triggerUpdated(this):u(e.hostUpdated,e,this)}function Ao(e){"triggerDestroy"in e?e.triggerDestroy():u(e.hostDestroy,e)}var _e=e=>Ce(void 0,e),Cs=e=>t=>Ce(t,e),Ut=class extends K{constructor(t,o){super(t);let s=this.exports;try{T(this.component);let n=o(this.component,this),r=this.exports!==s;if(he(n)){r||this.setProvisionalExports(n);let i=n.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this._ready.reject(a),console.error(a)});this.onLoad(async()=>await i)}else(!r||n!==void 0)&&(this.exports=n),queueMicrotask(()=>super.catchUpLifecycle())}catch(n){this._ready.reject(n),console.error(n)}}catchUpLifecycle(){}},Ce=ye(Ut);var ve="ltr",$s=()=>_e((e,t)=>{t.exports=ve,t.onLifecycle(()=>{function o(){let s=At(e.el,"dir",ve);t.exports=s==="rtl"?"rtl":"ltr"}return o(),xt(e.el,["dir"],o)})}),ws=e=>(t={})=>_e((o,s)=>{let n=Ot(o.el),r={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},i=o;s.onLifecycle(()=>ee(o.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:c,_loading:!1};s.exports=h;let f=l.componentLabel;typeof f=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=f)),a(i.messageOverrides)},t.name));function a(c){let l=s.exports,d=l._original??l,h=$e(d,c);c&&(h._original=d),s.exports=h}return"messageOverrides"in i&&s.onLifecycle(()=>Y(i,"messageOverrides",a)),t.blocking?(s.setProvisionalExports(r,!1),s.ready):r});function $e(e,t){if(!t)return e;let o={...e};return Object.entries(t).forEach(([s,n])=>{typeof n=="object"?o[s]=$e(e[s],n):o[s]=n??e[s]}),o}var xs=e=>Oo,be="arcgisPropertyChange";function Oo(...e){let t=k(),s=t[be];return t.manager.isLit&&(s=t.constructor.$createEvent(be,void 0,t)),t.manager.onLoad(()=>t.manager.onLifecycle(()=>e.map(n=>Y(t,n,()=>s.emit({name:n}))))),s}var ht=globalThis,dt=ht.ShadowRoot&&(ht.ShadyCSS===void 0||ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Mt=Symbol(),we=new WeakMap,Z=class{constructor(t,o,s){if(this._$cssResult$=!0,s!==Mt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(dt&&t===void 0){let s=o!==void 0&&o.length===1;s&&(t=we.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&we.set(o,t))}return t}toString(){return this.cssText}},xe=e=>new Z(typeof e=="string"?e:e+"",void 0,Mt),Lo=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((s,n,r)=>s+(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.")})(n)+e[r+1],e[0]);return new Z(o,e,Mt)},It=(e,t)=>{if(dt)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let s=document.createElement("style"),n=ht.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=o.cssText,e.appendChild(s)}},ut=dt?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let s of t.cssRules)o+=s.cssText;return xe(o)})(e):e;var Ae=";",pt=",",Oe=":",w=(e=>(e[e.ATTRIBUTE=1]="ATTRIBUTE",e[e.REFLECT=2]="REFLECT",e[e.BOOLEAN=4]="BOOLEAN",e[e.NUMBER=8]="NUMBER",e[e.STATE=16]="STATE",e[e.READ_ONLY=32]="READ_ONLY",e[e.NO_ACCESSOR=64]="NO_ACCESSOR",e))(w||{});function Vt(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let o=t;return o.manager?.loadedCalled||o._offspring.push(e),o._postLoad.promise}return!1}var So=(e,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(Po)};function Po([e,[t,o=""]]){if(customElements.get(e))return;let[s,n,r]=o.split(Ae),i=s?s?.split(pt).map(Le):void 0,a=i?.map(([l])=>l),c=class extends jt{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=a}static{this._asyncMethods=n?n?.split(pt):void 0}static{this._syncMethods=r?.split(pt)}static{this._name=e}constructor(){!c._loadPromise&&(c._loadPromise=t(),c._initializePrototype()),super()}};customElements.define(e,c)}var ft=Object.defineProperty;function Le(e){let t=e.split(Oe);return t.length===1?[t[0],rt(t[0])]:t}var No=globalThis.HTMLElement??Le,jt=class extends No{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new g,this._postLoaded=new g,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(Do).then(this._initializeComponent.bind(this)).catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})})}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(t){ft(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(o){this._store[t]=o}})}static _bindAsync(t){ft(this.prototype,t,{async value(...o){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...o)},configurable:!0})}static _bindSync(t){ft(this.prototype,t,{value(...o){return this._litElement[t](...o)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,o=this;t._properties?.forEach(s=>{Object.hasOwn(this,s)&&(this._store[s]=o[s],delete o[s])})}attributeChangedCallback(t,o,s){this._litElement?.attributeChangedCallback(t,o,s),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Vt(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let o=this.constructor,s=o._name,n=this._store,r=Object.values(t).find(h=>h.tagName===s),i=`${s}--lazy`,a=r;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);ko(a),!o._LitConstructor&&(o._LitConstructor=r,customElements.define(i,r)),r.lazy=this;let l=document.createElement(i);r.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach(h=>{let f=this.getAttribute(h);l.attributeChangedCallback(h,null,f)}),Object.entries(n).forEach(To,l);let d=this.isConnected;(d||this._ancestorLoad)&&(l.connectedCallback?.(),d||l.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function To([e,t]){this[e]=t}function ko(e){let t=e.prototype,o=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){o.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){o.removeAttribute.call(this.el,n)},ft(t,"isConnected",{get(){return Reflect.get(o,"isConnected",this.el)}}))}var Do=async e=>(await e.$$,e),zt={};var Wt=globalThis,mt=Wt.trustedTypes,Se=mt?mt.createPolicy("lit-html",{createHTML:e=>e}):void 0,qt="$lit$",x=`lit$${Math.random().toFixed(9).slice(2)}$`,Bt="?"+x,Ro=`<${Bt}>`,U=document,X=()=>U.createComment(""),tt=e=>e===null||typeof e!="object"&&typeof e!="function",Ft=Array.isArray,Re=e=>Ft(e)||typeof e?.[Symbol.iterator]=="function",Ht=`[
|
|
5
|
+
\f\r]`,Q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Pe=/-->/g,Ne=/>/g,D=RegExp(`>|${Ht}(?:([^\\s"'>=/]+)(${Ht}*=${Ht}*(?:[^
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Te=/'/g,ke=/"/g,Ue=/^(?:script|style|textarea|title)$/i,Gt=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Ds=Gt(1),Rs=Gt(2),Us=Gt(3),m=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),De=new WeakMap,R=U.createTreeWalker(U,129);function Me(e,t){if(!Ft(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Se!==void 0?Se.createHTML(t):t}var Ie=(e,t)=>{let o=e.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=Q;for(let a=0;a<o;a++){let c=e[a],l,d,h=-1,f=0;for(;f<c.length&&(i.lastIndex=f,d=i.exec(c),d!==null);)f=i.lastIndex,i===Q?d[1]==="!--"?i=Pe:d[1]!==void 0?i=Ne:d[2]!==void 0?(Ue.test(d[2])&&(n=RegExp("</"+d[2],"g")),i=D):d[3]!==void 0&&(i=D):i===D?d[0]===">"?(i=n??Q,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?D:d[3]==='"'?ke:Te):i===ke||i===Te?i=D:i===Pe||i===Ne?i=Q:(i=D,n=void 0);let v=i===D&&e[a+1].startsWith("/>")?" ":"";r+=i===Q?c+Ro:h>=0?(s.push(l),c.slice(0,h)+qt+c.slice(h)+x+v):c+x+(h===-2?a:v)}return[Me(e,r+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},et=class e{constructor({strings:t,_$litType$:o},s){let n;this.parts=[];let r=0,i=0,a=t.length-1,c=this.parts,[l,d]=Ie(t,o);if(this.el=e.createElement(l,s),R.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=R.nextNode())!==null&&c.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(qt)){let f=d[i++],v=n.getAttribute(h).split(x),S=/([.?@])?(.*)/.exec(f);c.push({type:1,index:r,name:S[2],strings:v,ctor:S[1]==="."?gt:S[1]==="?"?vt:S[1]==="@"?bt:I}),n.removeAttribute(h)}else h.startsWith(x)&&(c.push({type:6,index:r}),n.removeAttribute(h));if(Ue.test(n.tagName)){let h=n.textContent.split(x),f=h.length-1;if(f>0){n.textContent=mt?mt.emptyScript:"";for(let v=0;v<f;v++)n.append(h[v],X()),R.nextNode(),c.push({type:2,index:++r});n.append(h[f],X())}}}else if(n.nodeType===8)if(n.data===Bt)c.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(x,h+1))!==-1;)c.push({type:7,index:r}),h+=x.length-1}r++}}static createElement(t,o){let s=U.createElement("template");return s.innerHTML=t,s}};function M(e,t,o=e,s){if(t===m)return t;let n=s!==void 0?o._$Co?.[s]:o._$Cl,r=tt(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(e),n._$AT(e,o,s)),s!==void 0?(o._$Co??=[])[s]=n:o._$Cl=n),n!==void 0&&(t=M(e,n._$AS(e,t.values),n,s)),t}var yt=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:s}=this._$AD,n=(t?.creationScope??U).importNode(o,!0);R.currentNode=n;let r=R.nextNode(),i=0,a=0,c=s[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new H(r,r.nextSibling,this,t):c.type===1?l=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(l=new Et(r,this,t)),this._$AV.push(l),c=s[++a]}i!==c?.index&&(r=R.nextNode(),i++)}return R.currentNode=U,n}p(t){let o=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,o),o+=s.strings.length-2):s._$AI(t[o])),o++}},H=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,s,n){this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=M(this,t,o),tt(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==m&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Re(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!==p&&tt(this._$AH)?this._$AA.nextSibling.data=t:this.T(U.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=et.createElement(Me(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(o);else{let r=new yt(n,this),i=r.u(this.options);r.p(o),this.T(i),this._$AH=r}}_$AC(t){let o=De.get(t.strings);return o===void 0&&De.set(t.strings,o=new et(t)),o}k(t){Ft(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,s,n=0;for(let r of t)n===o.length?o.push(s=new e(this.O(X()),this.O(X()),this,this.options)):s=o[n],s._$AI(r),n++;n<o.length&&(this._$AR(s&&s._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},I=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,s,n,r){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=o,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=p}_$AI(t,o=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=M(this,t,o,0),i=!tt(t)||t!==this._$AH&&t!==m,i&&(this._$AH=t);else{let a=t,c,l;for(t=r[0],c=0;c<r.length-1;c++)l=M(this,a[s+c],o,c),l===m&&(l=this._$AH[c]),i||=!tt(l)||l!==this._$AH[c],l===p?t=p:t!==p&&(t+=(l??"")+r[c+1]),this._$AH[c]=l}i&&!n&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},gt=class extends I{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}},vt=class extends I{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==p)}},bt=class extends I{constructor(t,o,s,n,r){super(t,o,s,n,r),this.type=5}_$AI(t,o=this){if((t=M(this,t,o,0)??p)===m)return;let s=this._$AH,n=t===p&&s!==p||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==p&&(s===p||n);n&&this.element.removeEventListener(this.name,this,s),r&&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)}},Et=class{constructor(t,o,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}},je={M:qt,P:x,A:Bt,C:1,L:Ie,R:yt,D:Re,V:M,I:H,H:I,N:vt,U:bt,B:gt,F:Et},Uo=Wt.litHtmlPolyfillSupport;Uo?.(et,H),(Wt.litHtmlVersions??=[]).push("3.2.1");var Kt=(e,t,o)=>{let s=o?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=o?.renderBefore??null;s._$litPart$=n=new H(t.insertBefore(X(),r),r,void 0,o??{})}return n._$AI(e),n};var{is:Mo,defineProperty:Io,getOwnPropertyDescriptor:jo,getOwnPropertyNames:Vo,getOwnPropertySymbols:zo,getPrototypeOf:Ho}=Object,Ct=globalThis,Ve=Ct.trustedTypes,Wo=Ve?Ve.emptyScript:"",qo=Ct.reactiveElementPolyfillSupport,ot=(e,t)=>e,_t={toAttribute(e,t){switch(t){case Boolean:e=e?Wo:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Jt=(e,t)=>!Mo(e,t),ze={attribute:!0,type:String,converter:_t,reflect:!1,hasChanged:Jt};Symbol.metadata??=Symbol("metadata"),Ct.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,o=ze){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,o);n!==void 0&&Io(this.prototype,t,n)}}static getPropertyDescriptor(t,o,s){let{get:n,set:r}=jo(this.prototype,t)??{get(){return this[o]},set(i){this[o]=i}};return{get(){return n?.call(this)},set(i){let a=n?.call(this);r.call(this,i),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ze}static _$Ei(){if(this.hasOwnProperty(ot("elementProperties")))return;let t=Ho(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(ot("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ot("properties"))){let o=this.properties,s=[...Vo(o),...zo(o)];for(let n of s)this.createProperty(n,o[n])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[s,n]of o)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[o,s]of this.elementProperties){let n=this._$Eu(o,s);n!==void 0&&this._$Eh.set(n,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)o.unshift(ut(n))}else t!==void 0&&o.push(ut(t));return o}static _$Eu(t,o){let s=o.attribute;return s===!1?void 0:typeof s=="string"?s: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,o=this.constructor.elementProperties;for(let s of o.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return It(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,o,s){this._$AK(t,s)}_$EC(t,o){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:_t).toAttribute(o,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,o){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:_t;this._$Em=n,this[n]=i.fromAttribute(o,r.type),this._$Em=null}}requestUpdate(t,o,s){if(t!==void 0){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??Jt)(this[t],o))return;this.P(t,o,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,o,s){this._$AL.has(t)||this._$AL.set(t,o),s.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}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[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(o)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$EO?.forEach(o=>o.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(o=>this._$EC(o,this[o])),this._$EU()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[ot("elementProperties")]=new Map,A[ot("finalized")]=new Map,qo?.({ReactiveElement:A}),(Ct.reactiveElementVersions??=[]).push("2.0.4");var O=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Kt(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return m}};O._$litElement$=!0,O.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:O});var Bo=globalThis.litElementPolyfillSupport;Bo?.({LitElement:O});(globalThis.litElementVersions??=[]).push("4.1.1");var E={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},j=e=>(...t)=>({_$litDirective$:e,values:t}),L=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,s){this._$Ct=t,this._$AM=o,this._$Ci=s}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{I:tn}=je;var en=(e,t)=>t===void 0?e?._$litType$!==void 0:e?._$litType$===t;var He=e=>e.strings===void 0;var Fo={},We=(e,t=Fo)=>e._$AH=t;var Fe=j(class extends L{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(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let o=e.element.classList;for(let s of this.st)s in t||(o.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(o.add(s),this.st.add(s)):(o.remove(s),this.st.delete(s)))}return m}});var Ge="important",Ko=" !"+Ge,Ke=j(class extends L{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,o)=>{let s=e[o];return s==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?o.removeProperty(s):o[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(Ko);s.includes("-")||r?o.setProperty(s,r?n.slice(0,-11):n,r?Ge:""):o[s]=n}}return m}});var Jo=j(class extends L{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(!He(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===m||t===p)return t;let o=e.element,s=e.name;if(e.type===E.PROPERTY){if(t===o[s])return m}else if(e.type===E.BOOLEAN_ATTRIBUTE){if(!!t===o.hasAttribute(s))return m}else if(e.type===E.ATTRIBUTE&&o.getAttribute(s)===t+"")return m;return We(e),t}});var Je=(e="",t={},o=k())=>{let s={emit:n=>{e===""&&J();let r=new CustomEvent(e,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return o.el.dispatchEvent(r),r}};return e===""&<(void 0,n=>{e=n.key},s),s},ur=Je.bind(null,"");var Zo=()=>{},Zt=class e extends O{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=Ee(this),this._postLoad=this.constructor.lazy?._postLoad??new g,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new g,this._enableUpdating=this.enableUpdating,this.enableUpdating=Zo;let t=e.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let o=super.finalizeStyles(t),s=this.shadowRootOptions===zt;return this.runtime?.commonStyles===void 0||s?o:[this.runtime.commonStyles,...o]}static createProperty(t,o){let s=typeof o=="number"?o:Array.isArray(o)?o[0]:0,n=Array.isArray(o)?o[1]:void 0;super.createProperty(t,{attribute:s&w.ATTRIBUTE&&typeof t=="string"?rt(t):!1,reflect:!!(s&w.REFLECT),type:s&w.BOOLEAN?Boolean:s&w.NUMBER?Number:void 0,state:!!(s&w.STATE),readOnly:!!(s&w.READ_ONLY),noAccessor:!!(s&w.NO_ACCESSOR),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})}))}createRenderRoot(){let t=this.el.shadowRoot,o=this.constructor,s=o.shadowRootOptions,r=t??(s===zt?this.el:this.el.attachShadow(s));if(t)return O.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...o.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return r}async _load(){let t=this.el._ancestorLoad??Vt(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(s=>!s.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async s=>await s.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,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,o,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(o,r,n),()=>t.removeEventListener(o,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}};Zt.$createEvent=Je;function Ye(e){let t,o=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...e,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:o,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return o(e.defaultAssetPath),s}var pr=e=>typeof e=="object"&&e!=null?Fe(e):e,fr=e=>typeof e=="object"&&e!=null?Ke(e):e;var mr=p;var Qo=Ye({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:vr,getAssetPath:br,setAssetPath:Er}=Qo;export{Xo as a,es as b,os as c,ss as d,rt as e,se as f,k as g,ue as h,Y as i,fe as j,lt as k,yo as l,go as m,ye as n,Cs as o,$s as p,ws as q,xs as r,Lo as s,So as t,zt as u,Ds as v,Rs as w,Us as x,p as y,Kt as z,E as A,j as B,L as C,en as D,He as E,We as F,ur as G,Zt as H,pr as I,fr as J,mr as K,Qo as L,vr as M,br as N};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as c,b as h,h as d,i as s}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as c,b as h,h as d,i as s}from"./UCS55DHL.js";import{G as r,H as a,M as l,s as o,u as n}from"./HRFMDI2D.js";var m=o`@layer{arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}}`,i=class extends a{constructor(){super(),this._observer=void 0,this._moveChildren=()=>{if(s(this).parentElement!==this.el)for(let t=this.el.firstElementChild;t!==null;t=this.el.firstElementChild)s(this).append(t)},this.position="bottom-left",this.arcgisReady=r();let e=this;e.el.childElem=document.createElement("div"),e.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=n}static{this.styles=m}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&d(this,this.referenceElement);let t=s(this);e.has("position")&&t&&this.position!==void 0&&this.el.view?.ui?.move(t,this.position)}loaded(){h(this),c(this)}disconnectedCallback(){super.disconnectedCallback();let e=s(this);e&&this.el.view?.ui?.remove(e),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};l("arcgis-placement",i);export{i as ArcgisPlacement};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as U}from"./3G42T4L6.js";import{$$ as _0,a as R}from"./2WWSQWLN.js";import{$$ as _1}from"./GLQKRJ3X.js";import{a as L}from"./SR3FW6OY.js";import{a as v}from"./AADU4QIT.js";import"./YU6CLFLV.js";import"./IMMJWY5K.js";import{F as g,G as O,H as w,J as T,L as N,b as M,q as S,r as C,t as P,u as h}from"./J7FONBLF.js";var _2,$$=$arcgis.t(([{watch:b},{property:n,subclass:k},d,{onLocaleChange:q},W,X,B,z,Z,Y,y,x,{geographicToWebMercator:$},ee,{project:te},oe])=>{var ie=C`@layer{arcgis-locate{display:block}}`;function re(e="Aborted"){return new d("AbortError",e)}function ae(e,t="Aborted"){if(ne(e))throw re(t)}function se(e){return e instanceof AbortSignal?e:e?.signal??void 0}function ne(e){return se(e)?.aborted??!1}function F(e){return e?.name==="AbortError"}var D=!1,le={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function ce(){let e="geolocation"in navigator;return e||console.warn("geolocation-unsupported","Geolocation unsupported."),e}function pe(){let e=window.isSecureContext;return e||D||(D=!0,console.warn("insecure-context","Geolocation requires a secure origin.")),e}function de(){return ce()&&pe()}function ue(e){return e??=le,new Promise((t,o)=>{setTimeout(()=>o(new d("geolocation:timeout","getting the current geolocation position timed out")),e?.timeout??15e3),navigator.geolocation.getCurrentPosition(t,o,e??void 0)})}function he(e,t){let{position:o,view:r}=e,i=me(o)?.coords;if(!i)throw new d("geometry-service:no-coords","Geolocation has no coordinates");let a=ge(i);return ye(a,r,t)}function me(e){let t=e?.coords||{},o={accuracy:t.accuracy,altitude:t.altitude,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,latitude:t.latitude,longitude:t.longitude,speed:t.speed,toJSON(){return{}}};return e&&{coords:o,timestamp:e.timestamp,toJSON(){return{}}}}function ge({longitude:e,latitude:t,altitude:o}){return new Y({longitude:e,latitude:t,z:o||void 0,spatialReference:{wkid:4326}})}async function ye(e,t,o){if(!t)return await Promise.resolve(e);let r=t.spatialReference;return r.isWGS84?await Promise.resolve(e):r.isWebMercator?await Promise.resolve($(e)):y.isLoaded()?await Promise.resolve(y.execute(e,r)):await fe(o).then(async i=>{if(!i)throw new d("geometry-service:missing-url","Geometry service URL is missing");let a=new oe({geometries:[e],outSpatialReference:r});return(await te(i,a,o))[0]})}async function fe(e){if(x.geometryServiceUrl)return await Promise.resolve(x.geometryServiceUrl);let t=ee.getDefault();try{await t.load(e)}catch{}return t.helperServices?.geometry?.url}var we=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,p=(e,t,o,r)=>{for(var i=r>1?void 0:r?ve(t,o):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(i=(r?s(t,o,i):s(i))||i);return r&&i&&we(t,o,i),i},be=2500;function G(e){let t={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:e==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:e==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:e==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return e==="background"&&(t.offsetX=0,t.offsetY=-1),t}var Q={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},Ae=G("layer"),Ee=G("background"),Me=new Z({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[Ae,Ee,Q],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),l=class extends B{constructor(){super(...arguments),this._geolocationUsable=!0,this.geolocationOptions=null,this.goToLocationEnabled=!0,this.goToOverride=null,this.graphic=new z({symbol:Me}),this.scale=null,this.rotationEnabled=!0,this.view=null}initialize(){de()||(this._geolocationUsable=!1),this.addHandles([b(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=null}_clearGraphic(){let{view:e,graphic:t}=this;e&&t&&e.graphics.remove(t)}_addGraphic(){let{view:e,graphic:t}=this;!e?.graphics||!t||e.graphics.includes(t)||e.graphics.push(t)}_handleViewTypeChange(){Q.enable=this.view?.type==="2d"}_getScaleWithinConstraints(e,t){if(!t)return e;if(t.type==="2d"){let{effectiveMaxScale:o,effectiveMinScale:r}=t.constraints;return Math.min(r,Math.max(o,e))}return e}_getScale(e){let{scale:t}=this,o=typeof t=="number"?t:be;return this._getScaleWithinConstraints(o,e)}_getHeading(e,t){let o=t?.spatialReference,r=o?.isWebMercator||o?.isGeographic,i=e.coords?.heading;return!r||typeof i!="number"||Number.isNaN(i)||i<0||i>360?null:i}_addHeading(e){let{heading:t,target:o,view:r}=e;if(!(!r||t===null)){if(r.type==="3d"){o.heading=t;return}r.type==="2d"&&(o.rotation=360-t)}}async _animatePoint(e,t,o,r){let{view:i}=this;if(!this.goToLocationEnabled||!i)return;let a={target:e,scale:t};this.rotationEnabled&&this._addHeading({heading:o,target:a,view:i});let s={signal:r.signal};ae(s),this.goToOverride&&i&&this.goToOverride(i,{target:a,options:s}),await i.goTo(a,s)}async updatePosition(e,t){try{let o=this.view,r=await he({position:e,view:o},{signal:t.signal}),{graphic:i}=this,{timestamp:a,coords:s}=e,{accuracy:f,altitude:m,altitudeAccuracy:H,latitude:K,longitude:V,speed:J}=s,E=this._getHeading(e,o),_={timestamp:a,accuracy:f,altitude:m,altitudeAccuracy:H,heading:E,latitude:K,longitude:V,speed:J};i&&(i.geometry=r,i.attributes=_);let j=this._getScale(o);await this._animatePoint(r,j,E,t)}catch(o){if(!F(o))throw new d("geolocation-positioning:invalid-point","Cannot position invalid point",{error:o})}return e}};p([n()],l.prototype,"_geolocationUsable",2);p([n()],l.prototype,"geolocationOptions",2);p([n()],l.prototype,"goToLocationEnabled",2);p([n()],l.prototype,"goToOverride",2);p([n({type:z})],l.prototype,"graphic",2);p([n()],l.prototype,"scale",2);p([n()],l.prototype,"rotationEnabled",2);p([n()],l.prototype,"view",2);l=p([k("map-components.geolocation.GeolocationPositioning")],l);var Se=Object.defineProperty,Ce=Object.getOwnPropertyDescriptor,u=(e,t,o,r)=>{for(var i=r>1?void 0:r?Ce(t,o):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(i=(r?s(t,o,i):s(i))||i);return r&&i&&Se(t,o,i),i},Pe=new X({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}",className:"esri-icon-trash"});function Oe(e){return new W({title:e.currentLocation,fieldInfos:[{fieldName:"timestamp",label:e.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:e.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:e.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:e.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:e.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:e.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:e.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:e.speed,format:{places:0,digitSeparator:!0}}],actions:[Pe.clone()],content:[{type:"fields"}]})}var c=class extends l{constructor(e){super(e),this._locateController=null,this.currentPosition=null,this.error=void 0,this.messages=null,this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([q(()=>{let{graphic:e,view:t}=this;e&&t?.graphics?.includes(e)&&this._updatePopupTemplate(e)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new d("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new d("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let e=new AbortController;this._locateController=e,this.error=void 0;try{let t=await ue(this.geolocationOptions);if(await this.updatePosition(t,e),this._locateController!==e)return null;let{graphic:o}=this;return o&&this._updatePopupTemplate(o),this._addGraphic(),this.currentPosition=t,this._locateController=null,t}catch(t){if(F(t))return null;throw e===this._locateController&&(this._locateController=null),this.error=t,t}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=null}_updatePopupTemplate(e){if(!this.popupEnabled)return;let t=Oe(this.messages),o=e!==this.graphic;this.destroyed||o||(e.popupTemplate=t)}};u([n()],c.prototype,"_locateController",2);u([n()],c.prototype,"currentPosition",2);u([n()],c.prototype,"error",2);u([n()],c.prototype,"messages",2);u([n()],c.prototype,"popupEnabled",2);u([n({readOnly:!0})],c.prototype,"state",1);c=u([k("map-components.locate.LocateViewModel")],c);var Te={base:"esri-locate"},I="gps-off",Ne=R(c),A=class extends O{constructor(){super(...arguments),this.messages=L(),this.viewModel=Ne(this),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=I,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=g(),this.arcgisPropertyChange=S()("state"),this.arcgisReady=g(),this.arcgisSuccess=g()}static{this.properties={autoDestroyDisabled:5,geolocationOptions:0,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=P}static{this.styles=ie}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[b(()=>this.viewModel.error,t=>{this.arcgisError.emit({error:t})}),b(()=>this.viewModel.currentPosition,t=>{this.arcgisSuccess.emit({position:t})})])}_localizeError(t){if(t instanceof GeolocationPositionError)return t.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:t.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(t instanceof Error)return t.message}_locate(){let{viewModel:t}=this;t.state==="locating"?t.cancelLocate():t.locate().catch(()=>{})}render(){let{viewModel:t,icon:o}=this,{state:r}=t,i=r==="locating",a=i?this.messages.cancel:this.messages.title,s=r==="feature-unsupported",f=U===void 0?I:void 0,m=this._localizeError(this.viewModel?.error);return h`<div class=${w(M(Te.base,v.widget))}>${!s&&h`<calcite-button class=${w(v.widgetButton)} .disabled=${r==="disabled"} .iconStart=${i?void 0:o??f} kind=neutral .label=${a} @click=${this._locate} title=${a??T}>${i?h`<calcite-loader inline label></calcite-loader>`:null}</calcite-button>`||""}${m?h`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${m}</calcite-tooltip>`:null}</div>`}};N("arcgis-locate",A);_2=A},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton","core/Accessor","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",_0,_1)
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as U}from"./ING6MZEW.js";import{$$ as _0,a as R}from"./UB3HD4CA.js";import{$$ as _1}from"./P23P7GQM.js";import{a as L}from"./XQAHHRA2.js";import{a as v}from"./IC2GOV3R.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as g,H as O,I as w,K as T,M as N,b as M,r as S,s as C,u as P,v as h}from"./HRFMDI2D.js";var _2,$$=$arcgis.t(([{watch:b},{property:n,subclass:k},d,{onLocaleChange:q},W,X,B,z,Z,Y,y,x,{geographicToWebMercator:$},ee,{project:te},oe])=>{var ie=C`@layer{arcgis-locate{display:block}}`;function re(e="Aborted"){return new d("AbortError",e)}function ae(e,t="Aborted"){if(ne(e))throw re(t)}function se(e){return e instanceof AbortSignal?e:e?.signal??void 0}function ne(e){return se(e)?.aborted??!1}function F(e){return e?.name==="AbortError"}var D=!1,le={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function ce(){let e="geolocation"in navigator;return e||console.warn("geolocation-unsupported","Geolocation unsupported."),e}function pe(){let e=window.isSecureContext;return e||D||(D=!0,console.warn("insecure-context","Geolocation requires a secure origin.")),e}function de(){return ce()&&pe()}function ue(e){return e??=le,new Promise((t,o)=>{setTimeout(()=>o(new d("geolocation:timeout","getting the current geolocation position timed out")),e?.timeout??15e3),navigator.geolocation.getCurrentPosition(t,o,e??void 0)})}function he(e,t){let{position:o,view:r}=e,i=me(o)?.coords;if(!i)throw new d("geometry-service:no-coords","Geolocation has no coordinates");let a=ge(i);return ye(a,r,t)}function me(e){let t=e?.coords||{},o={accuracy:t.accuracy,altitude:t.altitude,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,latitude:t.latitude,longitude:t.longitude,speed:t.speed,toJSON(){return{}}};return e&&{coords:o,timestamp:e.timestamp,toJSON(){return{}}}}function ge({longitude:e,latitude:t,altitude:o}){return new Y({longitude:e,latitude:t,z:o||void 0,spatialReference:{wkid:4326}})}async function ye(e,t,o){if(!t)return await Promise.resolve(e);let r=t.spatialReference;return r.isWGS84?await Promise.resolve(e):r.isWebMercator?await Promise.resolve($(e)):y.isLoaded()?await Promise.resolve(y.execute(e,r)):await fe(o).then(async i=>{if(!i)throw new d("geometry-service:missing-url","Geometry service URL is missing");let a=new oe({geometries:[e],outSpatialReference:r});return(await te(i,a,o))[0]})}async function fe(e){if(x.geometryServiceUrl)return await Promise.resolve(x.geometryServiceUrl);let t=ee.getDefault();try{await t.load(e)}catch{}return t.helperServices?.geometry?.url}var we=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,p=(e,t,o,r)=>{for(var i=r>1?void 0:r?ve(t,o):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(i=(r?s(t,o,i):s(i))||i);return r&&i&&we(t,o,i),i},be=2500;function G(e){let t={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:e==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:e==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:e==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return e==="background"&&(t.offsetX=0,t.offsetY=-1),t}var Q={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},Ae=G("layer"),Ee=G("background"),Me=new Z({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[Ae,Ee,Q],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),l=class extends B{constructor(){super(...arguments),this._geolocationUsable=!0,this.geolocationOptions=null,this.goToLocationEnabled=!0,this.goToOverride=null,this.graphic=new z({symbol:Me}),this.scale=null,this.rotationEnabled=!0,this.view=null}initialize(){de()||(this._geolocationUsable=!1),this.addHandles([b(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=null}_clearGraphic(){let{view:e,graphic:t}=this;e&&t&&e.graphics.remove(t)}_addGraphic(){let{view:e,graphic:t}=this;!e?.graphics||!t||e.graphics.includes(t)||e.graphics.push(t)}_handleViewTypeChange(){Q.enable=this.view?.type==="2d"}_getScaleWithinConstraints(e,t){if(!t)return e;if(t.type==="2d"){let{effectiveMaxScale:o,effectiveMinScale:r}=t.constraints;return Math.min(r,Math.max(o,e))}return e}_getScale(e){let{scale:t}=this,o=typeof t=="number"?t:be;return this._getScaleWithinConstraints(o,e)}_getHeading(e,t){let o=t?.spatialReference,r=o?.isWebMercator||o?.isGeographic,i=e.coords?.heading;return!r||typeof i!="number"||Number.isNaN(i)||i<0||i>360?null:i}_addHeading(e){let{heading:t,target:o,view:r}=e;if(!(!r||t===null)){if(r.type==="3d"){o.heading=t;return}r.type==="2d"&&(o.rotation=360-t)}}async _animatePoint(e,t,o,r){let{view:i}=this;if(!this.goToLocationEnabled||!i)return;let a={target:e,scale:t};this.rotationEnabled&&this._addHeading({heading:o,target:a,view:i});let s={signal:r.signal};ae(s),this.goToOverride&&i&&this.goToOverride(i,{target:a,options:s}),await i.goTo(a,s)}async updatePosition(e,t){try{let o=this.view,r=await he({position:e,view:o},{signal:t.signal}),{graphic:i}=this,{timestamp:a,coords:s}=e,{accuracy:f,altitude:m,altitudeAccuracy:H,latitude:K,longitude:V,speed:J}=s,E=this._getHeading(e,o),_={timestamp:a,accuracy:f,altitude:m,altitudeAccuracy:H,heading:E,latitude:K,longitude:V,speed:J};i&&(i.geometry=r,i.attributes=_);let j=this._getScale(o);await this._animatePoint(r,j,E,t)}catch(o){if(!F(o))throw new d("geolocation-positioning:invalid-point","Cannot position invalid point",{error:o})}return e}};p([n()],l.prototype,"_geolocationUsable",2);p([n()],l.prototype,"geolocationOptions",2);p([n()],l.prototype,"goToLocationEnabled",2);p([n()],l.prototype,"goToOverride",2);p([n({type:z})],l.prototype,"graphic",2);p([n()],l.prototype,"scale",2);p([n()],l.prototype,"rotationEnabled",2);p([n()],l.prototype,"view",2);l=p([k("map-components.geolocation.GeolocationPositioning")],l);var Se=Object.defineProperty,Ce=Object.getOwnPropertyDescriptor,u=(e,t,o,r)=>{for(var i=r>1?void 0:r?Ce(t,o):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(i=(r?s(t,o,i):s(i))||i);return r&&i&&Se(t,o,i),i},Pe=new X({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}",className:"esri-icon-trash"});function Oe(e){return new W({title:e.currentLocation,fieldInfos:[{fieldName:"timestamp",label:e.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:e.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:e.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:e.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:e.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:e.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:e.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:e.speed,format:{places:0,digitSeparator:!0}}],actions:[Pe.clone()],content:[{type:"fields"}]})}var c=class extends l{constructor(e){super(e),this._locateController=null,this.currentPosition=null,this.error=void 0,this.messages=null,this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([q(()=>{let{graphic:e,view:t}=this;e&&t?.graphics?.includes(e)&&this._updatePopupTemplate(e)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new d("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new d("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let e=new AbortController;this._locateController=e,this.error=void 0;try{let t=await ue(this.geolocationOptions);if(await this.updatePosition(t,e),this._locateController!==e)return null;let{graphic:o}=this;return o&&this._updatePopupTemplate(o),this._addGraphic(),this.currentPosition=t,this._locateController=null,t}catch(t){if(F(t))return null;throw e===this._locateController&&(this._locateController=null),this.error=t,t}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=null}_updatePopupTemplate(e){if(!this.popupEnabled)return;let t=Oe(this.messages),o=e!==this.graphic;this.destroyed||o||(e.popupTemplate=t)}};u([n()],c.prototype,"_locateController",2);u([n()],c.prototype,"currentPosition",2);u([n()],c.prototype,"error",2);u([n()],c.prototype,"messages",2);u([n()],c.prototype,"popupEnabled",2);u([n({readOnly:!0})],c.prototype,"state",1);c=u([k("map-components.locate.LocateViewModel")],c);var Te={base:"esri-locate"},I="gps-off",Ne=R(c),A=class extends O{constructor(){super(...arguments),this.messages=L(),this.viewModel=Ne(this),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=I,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=g(),this.arcgisPropertyChange=S()("state"),this.arcgisReady=g(),this.arcgisSuccess=g()}static{this.properties={autoDestroyDisabled:5,geolocationOptions:0,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=P}static{this.styles=ie}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[b(()=>this.viewModel.error,t=>{this.arcgisError.emit({error:t})}),b(()=>this.viewModel.currentPosition,t=>{this.arcgisSuccess.emit({position:t})})])}_localizeError(t){if(t instanceof GeolocationPositionError)return t.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:t.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(t instanceof Error)return t.message}_locate(){let{viewModel:t}=this;t.state==="locating"?t.cancelLocate():t.locate().catch(()=>{})}render(){let{viewModel:t,icon:o}=this,{state:r}=t,i=r==="locating",a=i?this.messages.cancel:this.messages.title,s=r==="feature-unsupported",f=U===void 0?I:void 0,m=this._localizeError(this.viewModel?.error);return h`<div class=${w(M(Te.base,v.widget))}>${!s&&h`<calcite-button class=${w(v.widgetButton)} .disabled=${r==="disabled"} .iconStart=${i?void 0:o??f} kind=neutral .label=${a} @click=${this._locate} title=${a??T}>${i?h`<calcite-loader inline label></calcite-loader>`:null}</calcite-button>`||""}${m?h`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${m}</calcite-tooltip>`:null}</div>`}};N("arcgis-locate",A);_2=A},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton","core/Accessor","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisLocate}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as r}from"./G3QBJGNA.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as a,H as l,M as n,r as i,s,u as o}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([g])=>{var d=s`@layer{arcgis-editor{display:block}}`,p=r(g),t=class extends l{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.arcgisPropertyChange=i()("activeWorkflow","state"),this.arcgisReady=a()}static{this.properties={activeWorkflow:0,autoDestroyDisabled:5,headingLevel:9,hideCreateFeaturesSection:5,hideEditFeaturesSection:5,hideLabelsToggle:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,icon:1,label:1,labelOptions:0,layerInfos:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,supportingWidgetDefaults:0,tooltipOptions:0}}static{this.shadowRootOptions=o}static{this.styles=d}async cancelWorkflow(){await this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){await this.widget?.deleteFeatureFromWorkflow()}async destroy(){await this.manager.destroy()}async startCreateFeaturesWorkflowAtFeatureCreation(e){await this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(e)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(e){await this.widget?.startUpdateWorkflowAtFeatureEdit(e)}async startUpdateWorkflowAtFeatureSelection(){await this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(e){await this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(e)}};n("arcgis-editor",t);_0=t},"widgets/Editor")
|
|
5
|
+
export{$$,_0 as ArcgisEditor}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
4
|
var e={disabled:"esri-disabled",empty:"esri-widget__content--empty",heading:"esri-widget__heading",loaderAnimation:"esri-widget__loader-animation",panel:"esri-widget--panel",widget:"esri-widget esri-component",widgetButton:"esri-widget--button",widgetDisabled:"esri-widget--disabled"};export{e as a};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as d}from"./AZLAJ3LI.js";import{a as h}from"./G3QBJGNA.js";import{f as l}from"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as o,H as a,M as r,r as e,s as i,u as s}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([n])=>{var c=i`@layer{arcgis-catalog-layer-list{display:block}}`,g=h(n),t=class extends a{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.arcgisClose=d(this),this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,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=e()("state"),this.arcgisReady=o(),this.arcgisTriggerAction=l(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterPredicate:0,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=s}static{this.styles=c}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};r("arcgis-catalog-layer-list",t);_0=t},"widgets/CatalogLayerList")
|
|
5
|
+
export{$$,_0 as ArcgisCatalogLayerList}
|