@arcgis/map-components 4.34.0-next.133 → 4.34.0-next.135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{LOL2IS6N.js → 24G4KXF4.js} +2 -2
- package/dist/cdn/{S5HHBRBG.js → 264NOLBX.js} +2 -2
- package/dist/cdn/{XFOMKQBM.js → 2A5SP3FY.js} +2 -2
- package/dist/cdn/{OPI2P667.js → 2BJON3MS.js} +2 -2
- package/dist/cdn/2NFD3DLX.js +4 -0
- package/dist/cdn/2WOVVHNS.js +4 -0
- package/dist/cdn/32GN4GF6.js +4 -0
- package/dist/cdn/3EWV2UDG.js +4 -0
- package/dist/cdn/3KBDOGHF.js +4 -0
- package/dist/cdn/3ZNR75MJ.js +4 -0
- package/dist/cdn/{3L66IRCG.js → 4CJ777MB.js} +2 -2
- package/dist/cdn/{OKTJ26YW.js → 4HX3NLQ5.js} +2 -2
- package/dist/cdn/{FTKUTQFI.js → 4OHWKEBH.js} +2 -2
- package/dist/cdn/{I7TF7AUF.js → 4QIHENSS.js} +2 -2
- package/dist/cdn/4QNNS53Y.js +4 -0
- package/dist/cdn/{EQLQJ6MB.js → 55RLV3XN.js} +2 -2
- package/dist/cdn/{SMPFHXUH.js → 57UAA5RQ.js} +2 -2
- package/dist/cdn/{46ETRS3K.js → 5AOHDKA5.js} +2 -2
- package/dist/cdn/{PYL7Z2W7.js → 5DSKIMHA.js} +2 -2
- package/dist/cdn/{GTXGX2VL.js → 5F6DTRLQ.js} +2 -2
- package/dist/cdn/{LKBBTZBH.js → 5KYPGW4S.js} +2 -2
- package/dist/cdn/5T5GV4GI.js +4 -0
- package/dist/cdn/5TU3LUBS.js +4 -0
- package/dist/cdn/64L5YHK2.js +4 -0
- package/dist/cdn/64PCOXHU.js +4 -0
- package/dist/cdn/{DPT27LMS.js → 66AU52N3.js} +2 -2
- package/dist/cdn/{PMI55QLI.js → 6PHRGCCS.js} +2 -2
- package/dist/cdn/6V5CIFPF.js +4 -0
- package/dist/cdn/{74SUH53T.js → 6W26HVIN.js} +2 -2
- package/dist/cdn/{ARSQ2M6R.js → 6ZCZBY2B.js} +2 -2
- package/dist/cdn/72YLQ2CB.js +4 -0
- package/dist/cdn/{YLRX44WW.js → 757V342B.js} +2 -2
- package/dist/cdn/{AJCOE4FW.js → 7G6CHYW5.js} +2 -2
- package/dist/cdn/{QREAX6T4.js → 7I3DAAV3.js} +2 -2
- package/dist/cdn/7ICOHWUX.js +4 -0
- package/dist/cdn/{WJMTBFOT.js → 7JOTCTMB.js} +2 -2
- package/dist/cdn/{BQDX5X62.js → 7NCUHQ4Q.js} +2 -2
- package/dist/cdn/7SH234WN.js +4 -0
- package/dist/cdn/{A3O3VXYT.js → 7SJJDINO.js} +2 -2
- package/dist/cdn/{SOAJC5OE.js → 7SYH3CBS.js} +2 -2
- package/dist/cdn/{HDL5KPOZ.js → 7YLHJUKW.js} +2 -2
- package/dist/cdn/A2Z2OVCJ.js +4 -0
- package/dist/cdn/A5XFBRR4.js +4 -0
- package/dist/cdn/AC4F7N6Z.js +4 -0
- package/dist/cdn/{TRHJKH4Y.js → AHSOTRYK.js} +2 -2
- package/dist/cdn/ANRWYRKZ.js +4 -0
- package/dist/cdn/{N2GGOJYR.js → BBHGEMM6.js} +2 -2
- package/dist/cdn/{SEP5SEJA.js → BERCN4WK.js} +2 -2
- package/dist/cdn/BHKKC7I3.js +4 -0
- package/dist/cdn/{QJRMFXTR.js → BZ64WIOC.js} +2 -2
- package/dist/cdn/{FKJ5GRT2.js → C2LLHWNX.js} +2 -2
- package/dist/cdn/{KVDMXAG7.js → C43Z7ZK5.js} +2 -2
- package/dist/cdn/{ZOYDWFG2.js → CAM63JR6.js} +2 -2
- package/dist/cdn/{CGI4SPUC.js → CGL53F3M.js} +2 -2
- package/dist/cdn/CUXZRRNQ.js +4 -0
- package/dist/cdn/{DHYV7QYP.js → D3J7GOCH.js} +2 -2
- package/dist/cdn/{IML6V74T.js → D4NWB6DX.js} +2 -2
- package/dist/cdn/D5KP4JLY.js +4 -0
- package/dist/cdn/{QI5R4SWT.js → D5NTDQ3O.js} +2 -2
- package/dist/cdn/{AIV3S2HK.js → D6T5ALXG.js} +2 -2
- package/dist/cdn/D7U2T34S.js +4 -0
- package/dist/cdn/DBBSW6MT.js +4 -0
- package/dist/cdn/{4TADWPXC.js → DJE3X6R7.js} +2 -2
- package/dist/cdn/{VRWIVXKN.js → DOKXCLLT.js} +2 -2
- package/dist/cdn/DYIIIKP4.js +4 -0
- package/dist/cdn/DZFFQGVC.js +4 -0
- package/dist/cdn/{NZXTSKAO.js → E3OCCK4M.js} +2 -2
- package/dist/cdn/EBZSGQYG.js +4 -0
- package/dist/cdn/{TJBW6LMV.js → EFDM7AQ5.js} +2 -2
- package/dist/cdn/EHI67J76.js +4 -0
- package/dist/cdn/EQMK75JU.js +4 -0
- package/dist/cdn/{SZRR3V4F.js → ETMOWVT6.js} +2 -2
- package/dist/cdn/{5YV2ME2C.js → EU36DQG5.js} +2 -2
- package/dist/cdn/{MJBYXK4R.js → F4RW4VP6.js} +2 -2
- package/dist/cdn/F4VZQC52.js +4 -0
- package/dist/cdn/{4XK46X44.js → F6W46JTS.js} +2 -2
- package/dist/cdn/FB67RDMQ.js +4 -0
- package/dist/cdn/{TNRTOBB7.js → FBO7P2RW.js} +2 -2
- package/dist/cdn/FL4MZSJR.js +4 -0
- package/dist/cdn/{OVLRLYZG.js → FMKKP2ZS.js} +2 -2
- package/dist/cdn/FNCZ3ZJK.js +4 -0
- package/dist/cdn/FWZXXV64.js +4 -0
- package/dist/cdn/{VYD63UBY.js → FYV3WPAV.js} +2 -2
- package/dist/cdn/{6FDOTFMC.js → G443PEPV.js} +2 -2
- package/dist/cdn/{BP5IKO2W.js → GEHNQE6L.js} +2 -2
- package/dist/cdn/{SZVINOSR.js → GIJMJVL3.js} +2 -2
- package/dist/cdn/{JYMNGGAN.js → GS5LA5GX.js} +1 -1
- package/dist/cdn/{KD6CNBIX.js → GUIKE26S.js} +2 -2
- package/dist/cdn/{H7OJ3ADS.js → HDV6ELSV.js} +2 -2
- package/dist/cdn/{QP5XD7EP.js → HGPEH3VF.js} +1 -1
- package/dist/cdn/HN4AT6JQ.js +4 -0
- package/dist/cdn/I2AB3ZHX.js +4 -0
- package/dist/cdn/{ZG2QLCVN.js → IEDCOT4Z.js} +2 -2
- package/dist/cdn/{2IJEHLYV.js → IJREQ7LE.js} +2 -2
- package/dist/cdn/{FOQSPMMT.js → ITGNHGFO.js} +2 -2
- package/dist/cdn/{CRDFDB4R.js → ITSAYHM7.js} +1 -1
- package/dist/cdn/{RRFBG5HD.js → IYHY5KI2.js} +2 -2
- package/dist/cdn/J4BW42ZE.js +4 -0
- package/dist/cdn/{JWTWQYMT.js → J7HG4ZH4.js} +2 -2
- package/dist/cdn/{5KY5FNP3.js → JNGGQPSW.js} +2 -2
- package/dist/cdn/{PPGQ7KJ2.js → JOUYINWG.js} +2 -2
- package/dist/cdn/{GDXUZGJL.js → JS4DD37B.js} +2 -2
- package/dist/cdn/{H4YVZYJF.js → K3DLY7YD.js} +2 -2
- package/dist/cdn/{KIUNSHU2.js → KHND5PEY.js} +2 -2
- package/dist/cdn/KIIHE4GM.js +4 -0
- package/dist/cdn/{O6VHOOAC.js → KJ7C22DL.js} +3 -3
- package/dist/cdn/KLOJICVI.js +4 -0
- package/dist/cdn/{M72S34GW.js → KTJ7BNX6.js} +2 -2
- package/dist/cdn/KUFO6RJ4.js +4 -0
- package/dist/cdn/{FC5KUYKW.js → KURHJODN.js} +2 -2
- package/dist/cdn/KWPHHM2X.js +4 -0
- package/dist/cdn/{LWK56WWB.js → KZNPXDP5.js} +2 -2
- package/dist/cdn/L3Y3BPRR.js +4 -0
- package/dist/cdn/{6MRAWRE5.js → L7GBHPKE.js} +2 -2
- package/dist/cdn/{BLO3PH63.js → L7QT7WG6.js} +1 -1
- package/dist/cdn/L7THQQXD.js +4 -0
- package/dist/cdn/{DZCXVCEA.js → LHSHAI3I.js} +1 -1
- package/dist/cdn/{DKVRCSPL.js → LI77S7L5.js} +1 -1
- package/dist/cdn/{QUVHG4VI.js → LUGCCBM4.js} +2 -2
- package/dist/cdn/{KD4F5NQR.js → LVFAANQ5.js} +1 -1
- package/dist/cdn/M5HPQTUP.js +4 -0
- package/dist/cdn/MLU4LLAN.js +4 -0
- package/dist/cdn/{FEQGF7DG.js → MN4TRI2D.js} +2 -2
- package/dist/cdn/{UPZIPW6L.js → MNXKIZHM.js} +2 -2
- package/dist/cdn/{ESQCPXNG.js → MPSSP4H3.js} +2 -2
- package/dist/cdn/{Y7TJKEQJ.js → MQAJ2B2M.js} +2 -2
- package/dist/cdn/{SRKZXRDQ.js → N7BVQ6RN.js} +2 -2
- package/dist/cdn/NHEID6C7.js +4 -0
- package/dist/cdn/{CEILZGTG.js → NRV6ZVQT.js} +2 -2
- package/dist/cdn/NUJBYA6R.js +4 -0
- package/dist/cdn/{PRRW75AG.js → NVUG33B6.js} +2 -2
- package/dist/cdn/{ZXKVHQCT.js → NZDV4UUN.js} +2 -2
- package/dist/cdn/{K54GN2OA.js → O4ZHDDL5.js} +2 -2
- package/dist/cdn/{EVZACT2Q.js → OLF4UO6H.js} +2 -2
- package/dist/cdn/{DXCCOUDT.js → ONFSDX3Z.js} +2 -2
- package/dist/cdn/{7TVV3P7P.js → ONL7EUL3.js} +2 -2
- package/dist/cdn/{454X6TWM.js → OOPLLTER.js} +2 -2
- package/dist/cdn/{5PLFYAP7.js → OQ5NKSMC.js} +2 -2
- package/dist/cdn/{XK44F75N.js → OT7W6BQB.js} +2 -2
- package/dist/cdn/OY54SPKL.js +4 -0
- package/dist/cdn/PC6DT567.js +4 -0
- package/dist/cdn/{GFTBGEHF.js → PD5IDQ7D.js} +2 -2
- package/dist/cdn/{2YY2TNL3.js → PHFF2DME.js} +2 -2
- package/dist/cdn/{XGJO7D77.js → PQBS7HYH.js} +2 -2
- package/dist/cdn/{YO5D24AF.js → PSREMJQR.js} +2 -2
- package/dist/cdn/{YXQM3OY4.js → PWLFY6B7.js} +2 -2
- package/dist/cdn/{GCD75UHB.js → PWM7DSFP.js} +2 -2
- package/dist/cdn/Q4DAYIDP.js +4 -0
- package/dist/cdn/{O4QZN6PX.js → QCLAADHB.js} +2 -2
- package/dist/cdn/{YZPYENRQ.js → QCWA3ZS3.js} +2 -2
- package/dist/cdn/{5XRDVKLQ.js → QKOQA623.js} +2 -2
- package/dist/cdn/{RAGSKOED.js → QRLTIUD2.js} +2 -2
- package/dist/cdn/QU6EUKD5.js +4 -0
- package/dist/cdn/{VNGPOITT.js → R5TXNP22.js} +2 -2
- package/dist/cdn/{KYUKYL7I.js → R7VUWD3S.js} +2 -2
- package/dist/cdn/{6RT63RR3.js → RDBBBBCG.js} +2 -2
- package/dist/cdn/{WP3NQCWY.js → RF5PSFKI.js} +2 -2
- package/dist/cdn/{7LHBDH44.js → RN43MDI3.js} +2 -2
- package/dist/cdn/{72VRO56J.js → RTHSQUH3.js} +2 -2
- package/dist/cdn/RVKWSYM4.js +4 -0
- package/dist/cdn/{U2LQNCA7.js → RZZJBZ74.js} +2 -2
- package/dist/cdn/{H2QBZPWQ.js → S2DXVBCK.js} +2 -2
- package/dist/cdn/{UPT6RSNI.js → S76VT3Z2.js} +2 -2
- package/dist/cdn/{V4YHBNOT.js → SFPNCIUP.js} +2 -2
- package/dist/cdn/SI7IEN5N.js +4 -0
- package/dist/cdn/SPVXZ5DW.js +4 -0
- package/dist/cdn/{YKICJUIU.js → SRFCJ4KP.js} +2 -2
- package/dist/cdn/STMFD7OE.js +4 -0
- package/dist/cdn/{73KR4UUG.js → STZLVHSH.js} +2 -2
- package/dist/cdn/{BFX2CXI3.js → SW4FXTYN.js} +2 -2
- package/dist/cdn/SZA23EJE.js +4 -0
- package/dist/cdn/T5UHCKZQ.js +4 -0
- package/dist/cdn/TGRHIFYX.js +4 -0
- package/dist/cdn/{5B6RPQW5.js → TH66C4YJ.js} +2 -2
- package/dist/cdn/{F5L564NB.js → TKGKESXY.js} +2 -2
- package/dist/cdn/TMVF2T6U.js +4 -0
- package/dist/cdn/{KG3A4QD7.js → TRSDIDJG.js} +2 -2
- package/dist/cdn/{KN6UIK2Q.js → TUVNY665.js} +1 -1
- package/dist/cdn/UOY7EBH4.js +4 -0
- package/dist/cdn/{FCGYD4F2.js → UPZMSWOV.js} +2 -2
- package/dist/cdn/{WWX6LKRR.js → USFXWQ7A.js} +2 -2
- package/dist/cdn/V22DWTVI.js +4 -0
- package/dist/cdn/{YZ4U4IWO.js → V4JZ434T.js} +1 -1
- package/dist/cdn/{PU6DA3OE.js → VFWDMDA4.js} +2 -2
- package/dist/cdn/VI4ZJU62.js +4 -0
- package/dist/cdn/{5LWU7TBO.js → VIYVJIVZ.js} +2 -2
- package/dist/cdn/VNNW3GJU.js +4 -0
- package/dist/cdn/W3B2PM2Z.js +4 -0
- package/dist/cdn/{ITYUH45Q.js → WMMA3Y5T.js} +2 -2
- package/dist/cdn/{Q3NEG6FB.js → WT7S4T2J.js} +2 -2
- package/dist/cdn/WVZWEUIS.js +4 -0
- package/dist/cdn/{IJ4OXERF.js → X2ZTYVSJ.js} +2 -2
- package/dist/cdn/{FD7TDTK7.js → XBKVHMXN.js} +2 -2
- package/dist/cdn/{GKMA7IAU.js → XKGVCJS7.js} +2 -2
- package/dist/cdn/{I7IE2OIU.js → XOQTZETE.js} +2 -2
- package/dist/cdn/{M7X6UEEV.js → XYKZOXXS.js} +2 -2
- package/dist/cdn/{5K6FVVGM.js → XZGYMLEG.js} +2 -2
- package/dist/cdn/{LETMD3L6.js → Y6Z6ESI6.js} +2 -2
- package/dist/cdn/{KYSXOKCO.js → YCVLRBJZ.js} +2 -2
- package/dist/cdn/{4QHSR24N.js → YHAVKIZ4.js} +2 -2
- package/dist/cdn/{35S344QP.js → YMENMSXM.js} +2 -2
- package/dist/cdn/{RR6GB7E5.js → YN3CIS3T.js} +2 -2
- package/dist/cdn/{CTQFFZJH.js → YODO4JMG.js} +2 -2
- package/dist/cdn/{KX4K5NCB.js → YPE3VKQ2.js} +2 -2
- package/dist/cdn/{7RKIIL6Q.js → YSDIKWKH.js} +2 -2
- package/dist/cdn/{OHQMB32N.js → Z2SKTWLG.js} +2 -2
- package/dist/cdn/{VPKP2LJT.js → ZCYRWXWO.js} +1 -1
- package/dist/cdn/{Z2IRJXHS.js → ZDPZJ6WF.js} +1 -1
- package/dist/cdn/{GNLXYSEG.js → ZEOFEXBN.js} +2 -2
- package/dist/cdn/ZHYT4QQD.js +4 -0
- package/dist/cdn/{LGC6RK6O.js → ZLTISH33.js} +1 -1
- package/dist/cdn/ZN5RNFDT.js +4 -0
- package/dist/cdn/ZPNSI43G.js +4 -0
- package/dist/cdn/{HZM7E55B.js → ZSDHEU3N.js} +2 -2
- package/dist/cdn/{6NQXSZ4F.js → ZU26UOHH.js} +2 -2
- package/dist/cdn/assets/coordinate-conversion/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +45 -38
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +12 -12
- package/dist/chunks/layer-list.js +2 -2
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +8 -6
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/uiController.js +45 -0
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useHandles.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/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +56 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +8 -8
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +88 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.js +14 -14
- package/dist/components/arcgis-attachments/customElement.d.ts +70 -0
- package/dist/components/arcgis-attachments/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +57 -0
- package/dist/components/arcgis-basemap-gallery/customElement.js +11 -11
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -0
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +151 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +48 -0
- package/dist/components/arcgis-basemap-toggle/customElement.js +11 -11
- package/dist/components/arcgis-bookmarks/customElement.d.ts +256 -0
- package/dist/components/arcgis-bookmarks/customElement.js +13 -13
- package/dist/components/arcgis-building-explorer/customElement.d.ts +69 -0
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +118 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +52 -0
- package/dist/components/arcgis-compass/customElement.js +10 -10
- package/dist/components/arcgis-coordinate-conversion/css.d.ts +26 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +286 -40
- package/dist/components/arcgis-coordinate-conversion/customElement.js +319 -16
- package/dist/components/arcgis-coordinate-conversion/index.d.ts +7 -0
- package/dist/components/arcgis-coordinate-conversion/index.js +7 -0
- package/dist/components/arcgis-coordinate-conversion/interfaces.d.ts +20 -0
- package/dist/components/arcgis-daylight/animation.d.ts +7 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +125 -8
- package/dist/components/arcgis-daylight/customElement.js +392 -295
- package/dist/components/arcgis-daylight/daylight-time-slider.d.ts +2 -0
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +88 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +17 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +67 -0
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +91 -2
- package/dist/components/arcgis-directions/customElement.js +11 -11
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +56 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +6 -6
- package/dist/components/arcgis-editor/customElement.d.ts +81 -0
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +101 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +3 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +141 -1
- package/dist/components/arcgis-elevation-profile-next/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +3 -0
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +151 -0
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +303 -0
- package/dist/components/arcgis-feature/customElement.js +104 -62
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +1 -0
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +76 -0
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-media/customElement.js +2 -2
- package/dist/components/arcgis-feature-relationship/customElement.d.ts +25 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +470 -2
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +497 -4
- package/dist/components/arcgis-features/customElement.js +15 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +60 -0
- package/dist/components/arcgis-floor-filter/customElement.js +4 -4
- package/dist/components/arcgis-fullscreen/customElement.d.ts +15 -0
- package/dist/components/arcgis-fullscreen/customElement.js +5 -5
- package/dist/components/arcgis-grid-controls/customElement.d.ts +179 -0
- package/dist/components/arcgis-grid-controls/customElement.js +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +102 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +86 -0
- package/dist/components/arcgis-home/customElement.js +7 -7
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +20 -0
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +144 -0
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +22 -0
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +241 -0
- package/dist/components/arcgis-legend/customElement.js +11 -11
- package/dist/components/arcgis-legend-card-color-ramp/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +8 -8
- package/dist/components/arcgis-legend-card-element/customElement.d.ts +2 -0
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.d.ts +2 -0
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.d.ts +7 -0
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.d.ts +2 -0
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +94 -0
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- package/dist/components/arcgis-link-chart/customElement.d.ts +293 -1
- package/dist/components/arcgis-link-chart/customElement.js +29 -21
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +77 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +53 -0
- package/dist/components/arcgis-locate/customElement.js +13 -13
- package/dist/components/arcgis-map/customElement.d.ts +410 -0
- package/dist/components/arcgis-map/customElement.js +25 -17
- package/dist/components/arcgis-measurement/customElement.d.ts +61 -0
- package/dist/components/arcgis-measurement/customElement.js +6 -6
- package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +38 -0
- package/dist/components/arcgis-navigation-toggle/customElement.js +4 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +103 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +11 -0
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/css.d.ts +1 -0
- package/dist/components/arcgis-popup/customElement.d.ts +569 -123
- package/dist/components/arcgis-popup/customElement.js +111 -112
- package/dist/components/arcgis-popup/interfaces.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +132 -0
- package/dist/components/arcgis-print/customElement.js +8 -8
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -0
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-result-feature-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +46 -0
- package/dist/components/arcgis-scale-bar/customElement.js +12 -12
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +83 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +8 -8
- package/dist/components/arcgis-scene/customElement.d.ts +689 -0
- package/dist/components/arcgis-scene/customElement.js +32 -24
- package/dist/components/arcgis-search/customElement.d.ts +274 -0
- package/dist/components/arcgis-search/customElement.js +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +11 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +16 -16
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +109 -0
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +151 -3
- package/dist/components/arcgis-sketch/customElement.js +12 -14
- package/dist/components/arcgis-slice/customElement.d.ts +148 -0
- package/dist/components/arcgis-slice/customElement.js +6 -6
- package/dist/components/arcgis-spinner/customElement.d.ts +3 -0
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +89 -0
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +118 -0
- package/dist/components/arcgis-table-list/customElement.js +5 -5
- package/dist/components/arcgis-time-slider/customElement.d.ts +108 -0
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +37 -0
- package/dist/components/arcgis-time-zone-label/customElement.js +7 -7
- package/dist/components/arcgis-track/customElement.d.ts +110 -0
- package/dist/components/arcgis-track/customElement.js +4 -4
- package/dist/components/arcgis-unit-select/customElement.d.ts +6 -0
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +162 -0
- package/dist/components/arcgis-utility-network-associations/customElement.js +5 -5
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +119 -0
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +30 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +41 -61
- package/dist/components/arcgis-utility-network-trace-analysis/index.d.ts +2 -5
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +2 -5
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +36 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +103 -0
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -0
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +45 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +85 -1
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +45 -0
- package/dist/components/arcgis-version-management/customElement.js +6 -6
- 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.d.ts +3 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +2 -0
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +21 -0
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +56 -0
- 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.d.ts +55 -0
- package/dist/components/arcgis-weather/customElement.js +46 -46
- package/dist/components/arcgis-zoom/customElement.d.ts +47 -0
- package/dist/components/arcgis-zoom/customElement.js +10 -10
- package/dist/controllers/uiController.d.ts +21 -0
- package/dist/docs/api.json +1541 -539
- package/dist/docs/docs.json +1272 -470
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +212 -104
- package/dist/docs/web-types.json +562 -295
- package/dist/index.d.ts +21 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +9 -8
- package/dist/support/earth-utils.d.ts +1 -2
- package/dist/support/heading.d.ts +2 -1
- package/dist/support/measurementUtils.d.ts +1 -1
- package/dist/support/resources.d.ts +2 -0
- package/dist/support/slots.d.ts +2 -2
- package/dist/support/time-utils.d.ts +5 -1
- package/dist/types/lumina.d.ts +16 -7
- package/dist/types/preact.d.ts +81 -71
- package/dist/types/preact10.d.ts +756 -0
- package/dist/types/react.d.ts +18 -7
- package/dist/types/stencil.d.ts +16 -7
- package/dist/utils/math-utils.d.ts +6 -0
- package/dist/utils/signal-utils.d.ts +26 -0
- package/package.json +3 -3
- package/dist/cdn/27WMEF5S.js +0 -4
- package/dist/cdn/2VWA3OG6.js +0 -4
- package/dist/cdn/2W3TJFMA.js +0 -4
- package/dist/cdn/35RXSHVS.js +0 -4
- package/dist/cdn/35VOLBPZ.js +0 -4
- package/dist/cdn/4W3CFH6E.js +0 -4
- package/dist/cdn/4Y5GUCNJ.js +0 -4
- package/dist/cdn/6NZIJ433.js +0 -4
- package/dist/cdn/6XVYZVBO.js +0 -4
- package/dist/cdn/7KK2WCWD.js +0 -4
- package/dist/cdn/7S7BRL2R.js +0 -4
- package/dist/cdn/AFDQOEM2.js +0 -4
- package/dist/cdn/AX2KA2M6.js +0 -4
- package/dist/cdn/B3SUUTAF.js +0 -4
- package/dist/cdn/BC3RKC5I.js +0 -4
- package/dist/cdn/BOFZNXI7.js +0 -4
- package/dist/cdn/C4KSUDG6.js +0 -4
- package/dist/cdn/C6Z7X55M.js +0 -4
- package/dist/cdn/CC6NJOP5.js +0 -4
- package/dist/cdn/CER3LIOO.js +0 -4
- package/dist/cdn/CLCAUVIP.js +0 -4
- package/dist/cdn/DO6OZIXK.js +0 -4
- package/dist/cdn/DRTV25UV.js +0 -4
- package/dist/cdn/GXAGQIF7.js +0 -4
- package/dist/cdn/HJ7M6BW2.js +0 -4
- package/dist/cdn/HJJJLIV3.js +0 -4
- package/dist/cdn/HNNTLPL3.js +0 -4
- package/dist/cdn/HUF2RSHK.js +0 -4
- package/dist/cdn/IC55LEKW.js +0 -4
- package/dist/cdn/IDZMCIOS.js +0 -4
- package/dist/cdn/IXAGZ3RI.js +0 -4
- package/dist/cdn/JINI3JGE.js +0 -4
- package/dist/cdn/L7R3YPKP.js +0 -4
- package/dist/cdn/LC4VWZNC.js +0 -4
- package/dist/cdn/LKBS3726.js +0 -4
- package/dist/cdn/LWQXR2JI.js +0 -4
- package/dist/cdn/MV2H5AQC.js +0 -4
- package/dist/cdn/NKJONXTQ.js +0 -4
- package/dist/cdn/NOTSC5KN.js +0 -4
- package/dist/cdn/NW2XB2K6.js +0 -4
- package/dist/cdn/O4CVKIFA.js +0 -4
- package/dist/cdn/O6TE36QE.js +0 -4
- package/dist/cdn/PY2SF5ID.js +0 -4
- package/dist/cdn/QBYT6BW5.js +0 -4
- package/dist/cdn/QCPNRNPU.js +0 -4
- package/dist/cdn/QTQL5KV5.js +0 -4
- package/dist/cdn/QYAP7DBK.js +0 -4
- package/dist/cdn/R73NZWQJ.js +0 -4
- package/dist/cdn/R7B2MYES.js +0 -4
- package/dist/cdn/RAUV2KQ7.js +0 -4
- package/dist/cdn/RNFXIHDL.js +0 -4
- package/dist/cdn/RTDCXUDE.js +0 -4
- package/dist/cdn/SXHML6YB.js +0 -4
- package/dist/cdn/T7VH64WD.js +0 -4
- package/dist/cdn/TI3S4F6E.js +0 -4
- package/dist/cdn/TJP4VNIA.js +0 -4
- package/dist/cdn/TRSSX2OL.js +0 -4
- package/dist/cdn/UBKZ3TB5.js +0 -4
- package/dist/cdn/UUPK5JKU.js +0 -4
- package/dist/cdn/VSJMGGJE.js +0 -4
- package/dist/cdn/X24VUFUZ.js +0 -4
- package/dist/cdn/XTAVU3CZ.js +0 -4
- package/dist/cdn/Y4HMSIMF.js +0 -4
- package/dist/cdn/YAFQZDIF.js +0 -4
- package/dist/cdn/YOCFMRO4.js +0 -4
- package/dist/cdn/ZIILBGPX.js +0 -4
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
import { c as E } from "../../chunks/runtime.js";
|
|
2
|
-
import { css as
|
|
3
|
-
import { keyed as
|
|
4
|
-
import
|
|
2
|
+
import { css as F, html as k } from "lit";
|
|
3
|
+
import { keyed as L } from "lit/directives/keyed.js";
|
|
4
|
+
import P from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
5
5
|
import { u as T } from "../../chunks/useT9n.js";
|
|
6
|
-
import { usePropertyChange as
|
|
7
|
-
import { m as
|
|
8
|
-
import { LitElement as
|
|
6
|
+
import { usePropertyChange as H } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { m as N } from "../../chunks/useViewModel.js";
|
|
8
|
+
import { LitElement as S, createEvent as M, safeStyleMap as O, safeClassMap as b } from "@arcgis/lumina";
|
|
9
9
|
import { stripHTML as W } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
10
|
-
import { unsafeGetElementDirection as
|
|
11
|
-
import { createRef as
|
|
10
|
+
import { unsafeGetElementDirection as D, classes as x } from "@arcgis/toolkit/dom";
|
|
11
|
+
import { createRef as v, ref as _ } from "lit-html/directives/ref.js";
|
|
12
12
|
import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
13
|
import V from "@arcgis/core/support/actions/ActionButton.js";
|
|
14
14
|
import { t as I } from "../../chunks/screenLocation.js";
|
|
15
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
16
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
17
|
-
v4.34.0-next.
|
|
18
|
-
const p = "arcgis-popup",
|
|
17
|
+
v4.34.0-next.135 */
|
|
18
|
+
const p = "arcgis-popup", u = `${p}--is-docked`, s = {
|
|
19
19
|
base: p,
|
|
20
|
+
baseHidden: `${p}--hidden`,
|
|
20
21
|
main: `${p}__main-container`,
|
|
21
22
|
// global modifiers
|
|
22
23
|
shadow: `${p}--shadow`,
|
|
23
|
-
isDocked:
|
|
24
|
-
isDockedTopLeft: `${
|
|
25
|
-
isDockedTopCenter: `${
|
|
26
|
-
isDockedTopRight: `${
|
|
27
|
-
isDockedBottomLeft: `${
|
|
28
|
-
isDockedBottomCenter: `${
|
|
29
|
-
isDockedBottomRight: `${
|
|
24
|
+
isDocked: u,
|
|
25
|
+
isDockedTopLeft: `${u}-top-left`,
|
|
26
|
+
isDockedTopCenter: `${u}-top-center`,
|
|
27
|
+
isDockedTopRight: `${u}-top-right`,
|
|
28
|
+
isDockedBottomLeft: `${u}-bottom-left`,
|
|
29
|
+
isDockedBottomCenter: `${u}-bottom-center`,
|
|
30
|
+
isDockedBottomRight: `${u}-bottom-right`,
|
|
30
31
|
isXlWidthBreakpoint: `${p}--is-xl-width-breakpoint`,
|
|
31
32
|
isLgWidthBreakpoint: `${p}--is-lg-width-breakpoint`,
|
|
32
33
|
isMdWidthBreakpoint: `${p}--is-md-width-breakpoint`,
|
|
@@ -46,23 +47,23 @@ const p = "arcgis-popup", m = `${p}--is-docked`, a = {
|
|
|
46
47
|
// pointer
|
|
47
48
|
pointer: `${p}__pointer`,
|
|
48
49
|
pointerDirection: `${p}__pointer-direction`
|
|
49
|
-
}, R =
|
|
50
|
+
}, R = F`:host{display:contents;--arcgis-internal-popup-pointer-size: 12px;--arcgis-internal-popup-content-small-size: 280px;--arcgis-internal-popup-content-medium-size: 340px;--arcgis-internal-popup-content-large-size: 400px;--arcgis-internal-popup-content-x-large-size: 460px;--arcgis-internal-popup-content-min-size-y: 48px;--arcgis-internal-popup-pointer-size-half: calc(var(--arcgis-internal-popup-pointer-size) / 2);--arcgis-internal-popup-pointer-size-half-negative: calc(var(--arcgis-internal-popup-pointer-size-half) * -1)}.arcgis-popup{display:flex;position:absolute;flex-flow:column nowrap;z-index:1;pointer-events:none}.arcgis-popup--hidden{visibility:hidden}arcgis-features{flex:1;width:100%}.arcgis-popup--shadow{box-shadow:var(--calcite-shadow-sm)}.arcgis-popup--aligned-top-center{transform-origin:50% 100%}.arcgis-popup--aligned-bottom-center{transform-origin:50% -5%}.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-bottom-left{transform-origin:100% 50%}.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-right{transform-origin:-5% 50%}.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right{animation:popup-intro-animation-down .2s ease-in-out}.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:popup-intro-animation-up .2s ease-in-out}.arcgis-popup__main-container{display:flex;position:relative;z-index:1;background-color:var(--calcite-color-foreground-1);width:var(--arcgis-internal-popup-content-medium-size);min-height:var(--arcgis-internal-popup-content-min-size-y);max-height:var(--arcgis-internal-popup-content-medium-size);overflow:hidden;pointer-events:auto}.arcgis-popup__pointer{position:absolute;width:0;height:0}.arcgis-popup__pointer-direction{position:absolute;width:var(--arcgis-internal-popup-pointer-size);height:var(--arcgis-internal-popup-pointer-size);content:"";background-color:var(--calcite-color-foreground-1)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer{top:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer{bottom:100%;left:50%;margin:0 0 0 var(--arcgis-internal-popup-pointer-size-half-negative)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer{right:var(--arcgis-internal-popup-pointer-size-half);bottom:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);right:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-top-right .arcgis-popup__pointer{bottom:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(45deg)}.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer{top:var(--arcgis-internal-popup-pointer-size-half);left:var(--arcgis-internal-popup-pointer-size-half);transform:rotate(-45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{transform:scale(.75,2) rotate(45deg)}.arcgis-popup--aligned-top-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-left .arcgis-popup__pointer-direction,.arcgis-popup--aligned-top-right .arcgis-popup__pointer-direction,.arcgis-popup--aligned-bottom-right .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:var(--arcgis-internal-popup-pointer-size-half-negative);transform:scale(.75,2.5) rotate(45deg)}.arcgis-popup--aligned-top-center .arcgis-popup__pointer-direction{top:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--aligned-bottom-center .arcgis-popup__pointer-direction{bottom:var(--arcgis-internal-popup-pointer-size-half-negative);left:0}.arcgis-popup--is-xl-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-md-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-medium-size)}.arcgis-popup--is-sm-width-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint .arcgis-popup__main-container{width:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center{margin:0;width:auto}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{position:absolute;right:0;left:0;width:100%;max-height:75%}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{bottom:0}.arcgis-popup--is-xs-width-breakpoint.arcgis-popup--is-docked-top-center .arcgis-popup__main-container{top:0}.arcgis-popup--is-xl-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-x-large-size)}.arcgis-popup--is-lg-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-large-size)}.arcgis-popup--is-sm-height-breakpoint .arcgis-popup__main-container,.arcgis-popup--is-xs-height-breakpoint .arcgis-popup__main-container{max-height:var(--arcgis-internal-popup-content-small-size)}.arcgis-popup--is-docked{inset:0;margin:var(--calcite-spacing-lg) var(--calcite-spacing-lg) var(--calcite-spacing-xxxl) var(--calcite-spacing-lg);animation:docking-animation .25s ease-out}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-top-right{align-items:flex-start}.arcgis-popup--is-docked-bottom-left,.arcgis-popup--is-docked-bottom-center,.arcgis-popup--is-docked-bottom-right{align-items:flex-end}.arcgis-popup--is-docked-top-left,.arcgis-popup--is-docked-bottom-left{justify-content:flex-start}.arcgis-popup--is-docked-top-center,.arcgis-popup--is-docked-bottom-center{justify-content:center}.arcgis-popup--is-docked-top-right,.arcgis-popup--is-docked-bottom-right{justify-content:flex-end}.arcgis-popup--is-docked-top-left .arcgis-popup__main-container,.arcgis-popup--is-docked-top-right .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-left .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-right .arcgis-popup__main-container{max-height:80%}.arcgis-popup--is-docked-top-center .arcgis-popup__main-container,.arcgis-popup--is-docked-bottom-center .arcgis-popup__main-container{max-height:40%}.arcgis-popup--is-docked{flex-flow:row nowrap}:dir(rtl) .arcgis-popup--is-docked-top-left,:dir(rtl) .arcgis-popup--is-docked-bottom-left{justify-content:flex-end}:dir(rtl) .arcgis-popup--is-docked-top-right,:dir(rtl) .arcgis-popup--is-docked-bottom-right{justify-content:flex-start}@media (prefers-reduced-motion){.arcgis-popup--aligned-top-center,.arcgis-popup--aligned-top-left,.arcgis-popup--aligned-top-right,.arcgis-popup--aligned-bottom-center,.arcgis-popup--aligned-bottom-left,.arcgis-popup--aligned-bottom-right{animation:none}}@media (prefers-reduced-motion){.arcgis-popup--is-docked{animation:none}}@keyframes docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{transform:translateY(calc(var(--calcite-spacing-xs) * -1));opacity:0}to{transform:translate(0);opacity:1}}@keyframes popup-intro-animation-up{0%{transform:translateY(var(--calcite-spacing-xs));opacity:0}to{transform:translate(0);opacity:1}}`;
|
|
50
51
|
function w(C) {
|
|
51
52
|
return C && Number.parseInt(C.replaceAll(/[^-\d.]/gu, ""), 10) || 0;
|
|
52
53
|
}
|
|
53
|
-
const
|
|
54
|
+
const j = N(P), $ = {
|
|
54
55
|
buttonEnabled: !0,
|
|
55
56
|
position: "auto",
|
|
56
57
|
breakpoint: {
|
|
57
58
|
width: 544
|
|
58
59
|
}
|
|
59
60
|
};
|
|
60
|
-
class
|
|
61
|
+
class X extends S {
|
|
61
62
|
constructor() {
|
|
62
|
-
super(...arguments), this._featuresComponent =
|
|
63
|
+
super(...arguments), this._featuresComponent = v(), this._dockAction = new V({ id: "popup-dock-action" }), this._mainContainerNode = v(), this._pointerNode = v(), this.messages = T({}), this.viewModel = j(this), this._containerNode = v(), this.screenLocation = I(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.visible = this.viewModel.visible, this.arcgisPropertyChange = H()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "visible"), this.arcgisReady = M(), this.arcgisClose = M(), this.arcgisTriggerAction = M();
|
|
63
64
|
}
|
|
64
65
|
static {
|
|
65
|
-
this.properties = { screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16,
|
|
66
|
+
this.properties = { screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16, actions: 0, active: 0, alignment: 1, autoCloseEnabled: 5, autoDestroyDisabled: 5, collapsed: 0, content: 1, currentAlignment: 32, currentDockPosition: 32, defaultPopupTemplateEnabled: 5, dockEnabled: 5, dockOptions: 0, featureCount: 0, featureMenuOpen: 5, features: 0, goToOverride: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 5, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, messageOverrides: 0, promises: 0, referenceElement: 1, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, state: 3, updateLocationEnabled: 5, visible: 5 };
|
|
66
67
|
}
|
|
67
68
|
static {
|
|
68
69
|
this.styles = R;
|
|
@@ -84,13 +85,13 @@ class j extends H {
|
|
|
84
85
|
return this._getCurrentDockPosition();
|
|
85
86
|
}
|
|
86
87
|
get dockOptions() {
|
|
87
|
-
return this._dockOptions ||
|
|
88
|
+
return this._dockOptions || $;
|
|
88
89
|
}
|
|
89
90
|
set dockOptions(t) {
|
|
90
|
-
const e = {
|
|
91
|
-
o && (
|
|
92
|
-
const i = { ...e, ...t },
|
|
93
|
-
typeof
|
|
91
|
+
const e = { ...$ }, o = this.viewModel?.view?.breakpoints, r = {};
|
|
92
|
+
o && (r.width = o.xsmall, r.height = o.xsmall);
|
|
93
|
+
const i = { ...e, ...t }, n = { ...e.breakpoint, ...r }, { breakpoint: a } = i;
|
|
94
|
+
typeof a == "object" ? i.breakpoint = { ...n, ...a } : a && (i.breakpoint = n), this._dockOptions = i;
|
|
94
95
|
}
|
|
95
96
|
get selectedDrillInFeature() {
|
|
96
97
|
return this._featuresComponent.value?.selectedDrillInFeature ?? null;
|
|
@@ -146,13 +147,9 @@ class j extends H {
|
|
|
146
147
|
], () => this._positionContainer(), { initial: !0 }),
|
|
147
148
|
g(() => this.viewModel?.view?.size, (t, e) => this._updateDockEnabledForViewSize(t, e)),
|
|
148
149
|
g(() => this.viewModel?.view?.ready === !0, () => this._setDockEnabledForViewSize(this.dockOptions), { initial: !0 }),
|
|
149
|
-
g(() => this.screenLocation, (t, e) => this._autoClose(t, e))
|
|
150
|
-
g(() => [this.viewModel.active, this._containerNode.value], () => this._togglePopover(), { initial: !0 })
|
|
150
|
+
g(() => this.screenLocation, (t, e) => this._autoClose(t, e))
|
|
151
151
|
]);
|
|
152
152
|
}
|
|
153
|
-
_togglePopover() {
|
|
154
|
-
this.viewModel.active ? this._containerNode.value?.showPopover() : this._containerNode.value?.hidePopover();
|
|
155
|
-
}
|
|
156
153
|
_handleClose(t) {
|
|
157
154
|
t.stopPropagation(), this.arcgisClose.emit();
|
|
158
155
|
}
|
|
@@ -166,48 +163,48 @@ class j extends H {
|
|
|
166
163
|
t.stopPropagation(), t.detail.action === this._dockAction && (this.dockEnabled = !this.dockEnabled), this.arcgisTriggerAction.emit({ action: t.detail.action });
|
|
167
164
|
}
|
|
168
165
|
_isOutsideView(t) {
|
|
169
|
-
const { popupHeight: e, popupWidth: o, screenLocation:
|
|
170
|
-
if (Number.isNaN(o) || Number.isNaN(e) || !
|
|
166
|
+
const { popupHeight: e, popupWidth: o, screenLocation: r, side: i, view: n } = t;
|
|
167
|
+
if (Number.isNaN(o) || Number.isNaN(e) || !n || !r)
|
|
171
168
|
return !1;
|
|
172
|
-
const
|
|
173
|
-
return i === "right" &&
|
|
169
|
+
const a = n.padding;
|
|
170
|
+
return i === "right" && r.x + o / 2 > n.width - (a?.right ?? 0) || i === "left" && r.x - o / 2 < (a?.left ?? 0) || i === "top" && r.y - e < (a?.top ?? 0) || i === "bottom" && r.y + e > n.height - (a?.bottom ?? 0);
|
|
174
171
|
}
|
|
175
172
|
_getPointerSize() {
|
|
176
|
-
const { _pointerNode: t } = this, e = t.value ? window.getComputedStyle(t.value) : null, o = w(e?.height),
|
|
177
|
-
return Math.hypot(o,
|
|
173
|
+
const { _pointerNode: t } = this, e = t.value ? window.getComputedStyle(t.value) : null, o = w(e?.height), r = w(e?.width);
|
|
174
|
+
return Math.hypot(o, r);
|
|
178
175
|
}
|
|
179
176
|
_calculateAutoAlignment(t) {
|
|
180
177
|
if (t !== "auto")
|
|
181
178
|
return t;
|
|
182
|
-
const { _mainContainerNode: e, viewModel: o } = this, { view:
|
|
183
|
-
if (i == null || !
|
|
179
|
+
const { _mainContainerNode: e, viewModel: o } = this, { view: r } = o, { screenLocation: i } = this;
|
|
180
|
+
if (i == null || !r || !e.value)
|
|
184
181
|
return "top-center";
|
|
185
|
-
const
|
|
182
|
+
const n = window.getComputedStyle(e.value), a = w(n.maxHeight), l = w(n.height), c = this._getPointerSize(), { height: h, width: d } = e.value.getBoundingClientRect(), m = d + c, f = Math.max(h, a, l) + c, z = this._isOutsideView({
|
|
186
183
|
popupHeight: f,
|
|
187
|
-
popupWidth:
|
|
184
|
+
popupWidth: m,
|
|
188
185
|
screenLocation: i,
|
|
189
186
|
side: "right",
|
|
190
|
-
view:
|
|
187
|
+
view: r
|
|
191
188
|
}), B = this._isOutsideView({
|
|
192
189
|
popupHeight: f,
|
|
193
|
-
popupWidth:
|
|
190
|
+
popupWidth: m,
|
|
194
191
|
screenLocation: i,
|
|
195
192
|
side: "left",
|
|
196
|
-
view:
|
|
197
|
-
}),
|
|
193
|
+
view: r
|
|
194
|
+
}), y = this._isOutsideView({
|
|
198
195
|
popupHeight: f,
|
|
199
|
-
popupWidth:
|
|
196
|
+
popupWidth: m,
|
|
200
197
|
screenLocation: i,
|
|
201
198
|
side: "top",
|
|
202
|
-
view:
|
|
199
|
+
view: r
|
|
203
200
|
}), A = this._isOutsideView({
|
|
204
201
|
popupHeight: f,
|
|
205
|
-
popupWidth:
|
|
202
|
+
popupWidth: m,
|
|
206
203
|
screenLocation: i,
|
|
207
204
|
side: "bottom",
|
|
208
|
-
view:
|
|
205
|
+
view: r
|
|
209
206
|
});
|
|
210
|
-
return B ?
|
|
207
|
+
return B ? y ? "bottom-right" : "top-right" : z ? y ? "bottom-left" : "top-left" : y ? A ? "top-center" : "bottom-center" : "top-center";
|
|
211
208
|
}
|
|
212
209
|
_callCurrentAlignment(t) {
|
|
213
210
|
return typeof t == "function" ? t.call(this) : t;
|
|
@@ -217,7 +214,7 @@ class j extends H {
|
|
|
217
214
|
}
|
|
218
215
|
_calculatePositionResult(t) {
|
|
219
216
|
const e = ["left", "right"];
|
|
220
|
-
return
|
|
217
|
+
return D(this.el) === "rtl" && e.reverse(), t?.replace(/start/giu, e[0]).replace(/end/giu, e[1]);
|
|
221
218
|
}
|
|
222
219
|
_callDockPosition(t) {
|
|
223
220
|
return typeof t == "function" ? t.call(this) : t;
|
|
@@ -231,11 +228,11 @@ class j extends H {
|
|
|
231
228
|
_calculateAutoDockPosition(t) {
|
|
232
229
|
if (t !== "auto")
|
|
233
230
|
return t;
|
|
234
|
-
const e = this.viewModel?.view, o =
|
|
231
|
+
const e = this.viewModel?.view, o = D(this.el) === "rtl" ? "top-left" : "top-right";
|
|
235
232
|
if (!e)
|
|
236
233
|
return o;
|
|
237
|
-
const
|
|
238
|
-
return
|
|
234
|
+
const r = e.padding, i = e.width - (r?.left ?? 0) - (r?.right ?? 0), { breakpoints: n } = e;
|
|
235
|
+
return n?.xsmall && i <= n.xsmall ? "bottom-center" : o;
|
|
239
236
|
}
|
|
240
237
|
_getDockIcon() {
|
|
241
238
|
const t = this._getDockPosition();
|
|
@@ -268,47 +265,47 @@ class j extends H {
|
|
|
268
265
|
const { currentAlignment: e } = this;
|
|
269
266
|
return e === "top-left" || e === "bottom-left" || e === "top-right" || e === "bottom-right" ? t + this._getPointerSize() : t;
|
|
270
267
|
}
|
|
271
|
-
_calculateAlignmentPosition(t, e, o,
|
|
268
|
+
_calculateAlignmentPosition(t, e, o, r) {
|
|
272
269
|
const { currentAlignment: i } = this;
|
|
273
270
|
if (!o)
|
|
274
271
|
return;
|
|
275
|
-
const { padding:
|
|
272
|
+
const { padding: n } = o, a = r / 2, l = o.height - e, c = o.width - t, h = this._getPointerSize(), d = h / 2;
|
|
276
273
|
if (i === "bottom-center")
|
|
277
274
|
return {
|
|
278
|
-
top: e + h - (
|
|
279
|
-
left: t -
|
|
275
|
+
top: e + h - (n?.top ?? 0),
|
|
276
|
+
left: t - a - (n?.left ?? 0)
|
|
280
277
|
};
|
|
281
278
|
if (i === "top-left")
|
|
282
279
|
return {
|
|
283
|
-
bottom:
|
|
284
|
-
right:
|
|
280
|
+
bottom: l + d - (n?.bottom ?? 0),
|
|
281
|
+
right: c + d - (n?.right ?? 0)
|
|
285
282
|
};
|
|
286
283
|
if (i === "bottom-left")
|
|
287
284
|
return {
|
|
288
|
-
top: e + d - (
|
|
289
|
-
right:
|
|
285
|
+
top: e + d - (n?.top ?? 0),
|
|
286
|
+
right: c + d - (n?.right ?? 0)
|
|
290
287
|
};
|
|
291
288
|
if (i === "top-right")
|
|
292
289
|
return {
|
|
293
|
-
bottom:
|
|
294
|
-
left: t + d - (
|
|
290
|
+
bottom: l + d - (n?.bottom ?? 0),
|
|
291
|
+
left: t + d - (n?.left ?? 0)
|
|
295
292
|
};
|
|
296
293
|
if (i === "bottom-right")
|
|
297
294
|
return {
|
|
298
|
-
top: e + d - (
|
|
299
|
-
left: t + d - (
|
|
295
|
+
top: e + d - (n?.top ?? 0),
|
|
296
|
+
left: t + d - (n?.left ?? 0)
|
|
300
297
|
};
|
|
301
298
|
if (i === "top-center")
|
|
302
299
|
return {
|
|
303
|
-
bottom:
|
|
304
|
-
left: t -
|
|
300
|
+
bottom: l + h - (n?.bottom ?? 0),
|
|
301
|
+
left: t - a - (n?.left ?? 0)
|
|
305
302
|
};
|
|
306
303
|
}
|
|
307
304
|
_calculatePositionStyle() {
|
|
308
305
|
const { screenLocation: t } = this, { view: e } = this.viewModel, o = this._mainContainerNode.value?.getBoundingClientRect().width ?? 0;
|
|
309
306
|
if (!e || this.dockEnabled || t == null || !o)
|
|
310
307
|
return;
|
|
311
|
-
const
|
|
308
|
+
const r = this._calculateFullWidth(o), i = this._calculateAlignmentPosition(t.x, t.y, e, r);
|
|
312
309
|
if (i)
|
|
313
310
|
return {
|
|
314
311
|
top: i.top !== void 0 ? `${i.top}px` : "auto",
|
|
@@ -318,70 +315,72 @@ class j extends H {
|
|
|
318
315
|
};
|
|
319
316
|
}
|
|
320
317
|
_dockingThresholdCrossed(t, e, o) {
|
|
321
|
-
const [
|
|
322
|
-
return
|
|
318
|
+
const [r, i] = t, [n, a] = e, { width: l = 0, height: c = 0 } = o ?? {};
|
|
319
|
+
return r <= l && n > l || r > l && n <= l || i <= c && a > c || i > c && a <= c;
|
|
323
320
|
}
|
|
324
321
|
_updateDockEnabledForViewSize(t, e) {
|
|
325
322
|
if (!t || !e)
|
|
326
323
|
return;
|
|
327
|
-
const o = this.viewModel?.view?.padding,
|
|
328
|
-
|
|
329
|
-
const { dockOptions:
|
|
330
|
-
this._dockingThresholdCrossed(
|
|
324
|
+
const o = this.viewModel?.view?.padding, r = (o?.left ?? 0) + (o?.right ?? 0), i = (o?.top ?? 0) + (o?.bottom ?? 0), n = [], a = [];
|
|
325
|
+
n[0] = t[0] - r, n[1] = t[1] - i, a[0] = e[0] - r, a[1] = e[1] - i;
|
|
326
|
+
const { dockOptions: l } = this, c = l.breakpoint;
|
|
327
|
+
typeof c == "object" && this._dockingThresholdCrossed(n, a, c) && this._setDockEnabledForViewSize(l);
|
|
331
328
|
}
|
|
332
329
|
_shouldDockAtCurrentViewSize(t) {
|
|
333
330
|
const e = t.breakpoint, o = this.viewModel?.view?.ui;
|
|
334
331
|
if (!o)
|
|
335
332
|
return !1;
|
|
336
|
-
const { width:
|
|
337
|
-
if (Number.isNaN(
|
|
333
|
+
const { width: r, height: i } = o;
|
|
334
|
+
if (Number.isNaN(r) || Number.isNaN(i) || typeof e != "object")
|
|
338
335
|
return !1;
|
|
339
|
-
const
|
|
340
|
-
return
|
|
336
|
+
const n = typeof e.width == "number" && r <= (e.width ?? 0), a = typeof e.height == "number" && i <= (e.height ?? 0);
|
|
337
|
+
return n || a;
|
|
341
338
|
}
|
|
342
339
|
_setDockEnabledForViewSize(t) {
|
|
343
|
-
t.breakpoint && (this.dockEnabled = this._shouldDockAtCurrentViewSize(t));
|
|
340
|
+
typeof t.breakpoint == "object" && (this.dockEnabled = this._shouldDockAtCurrentViewSize(t));
|
|
344
341
|
}
|
|
345
342
|
render() {
|
|
346
|
-
const { dockEnabled: t, currentAlignment: e, currentDockPosition: o } = this, { active:
|
|
347
|
-
[
|
|
348
|
-
[
|
|
349
|
-
[
|
|
350
|
-
[
|
|
351
|
-
[
|
|
352
|
-
[
|
|
353
|
-
[
|
|
354
|
-
[
|
|
355
|
-
[
|
|
356
|
-
[
|
|
357
|
-
[
|
|
358
|
-
[
|
|
359
|
-
[
|
|
360
|
-
[
|
|
361
|
-
[
|
|
362
|
-
[
|
|
363
|
-
[
|
|
364
|
-
[
|
|
365
|
-
[
|
|
366
|
-
[
|
|
367
|
-
[
|
|
368
|
-
[
|
|
369
|
-
[
|
|
370
|
-
[
|
|
343
|
+
const { dockEnabled: t, currentAlignment: e, currentDockPosition: o, positionStyle: r } = this, { active: i, view: n } = this.viewModel, a = i && t, l = i && !t, c = n?.widthBreakpoint, h = n?.heightBreakpoint, d = {
|
|
344
|
+
[s.alignTopCenter]: e === "top-center",
|
|
345
|
+
[s.alignBottomCenter]: e === "bottom-center",
|
|
346
|
+
[s.alignTopLeft]: e === "top-left",
|
|
347
|
+
[s.alignBottomLeft]: e === "bottom-left",
|
|
348
|
+
[s.alignTopRight]: e === "top-right",
|
|
349
|
+
[s.alignBottomRight]: e === "bottom-right",
|
|
350
|
+
[s.isDocked]: a,
|
|
351
|
+
[s.shadow]: l,
|
|
352
|
+
[s.isDockedTopLeft]: o === "top-left",
|
|
353
|
+
[s.isDockedTopCenter]: o === "top-center",
|
|
354
|
+
[s.isDockedTopRight]: o === "top-right",
|
|
355
|
+
[s.isDockedBottomLeft]: o === "bottom-left",
|
|
356
|
+
[s.isDockedBottomCenter]: o === "bottom-center",
|
|
357
|
+
[s.isDockedBottomRight]: o === "bottom-right",
|
|
358
|
+
[s.isXlWidthBreakpoint]: c === "xlarge",
|
|
359
|
+
[s.isLgWidthBreakpoint]: c === "large",
|
|
360
|
+
[s.isMdWidthBreakpoint]: c === "medium",
|
|
361
|
+
[s.isSmWidthBreakpoint]: c === "small",
|
|
362
|
+
[s.isXsWidthBreakpoint]: c === "xsmall",
|
|
363
|
+
[s.isXlHeightBreakpoint]: h === "xlarge",
|
|
364
|
+
[s.isLgHeightBreakpoint]: h === "large",
|
|
365
|
+
[s.isMdHeightBreakpoint]: h === "medium",
|
|
366
|
+
[s.isSmHeightBreakpoint]: h === "small",
|
|
367
|
+
[s.isXsHeightBreakpoint]: h === "xsmall"
|
|
371
368
|
};
|
|
372
|
-
return k`<div style=${O(this.positionStyle)} .ariaHidden=${!
|
|
369
|
+
return k`<div style=${O(this.positionStyle)} .ariaHidden=${!i} .ariaLabel=${W(this.heading ?? "")} class=${b(x(s.base, d, {
|
|
370
|
+
[s.baseHidden]: !i || !r && !t
|
|
371
|
+
}))} role=dialog ${_(this._containerNode)}>${this._renderMainContainer()}${this._renderPointer()}</div>`;
|
|
373
372
|
}
|
|
374
373
|
_renderPointer() {
|
|
375
|
-
return !this.dockEnabled || !this.active ? k`<div class=${
|
|
374
|
+
return !this.dockEnabled || !this.active ? k`<div class=${b(s.pointer)} role=presentation><div class=${b(x(s.pointerDirection, s.shadow))} ${_(this._pointerNode)}></div></div>` : null;
|
|
376
375
|
}
|
|
377
376
|
_renderMainContainer() {
|
|
378
377
|
const t = {
|
|
379
|
-
[
|
|
378
|
+
[s.shadow]: this.dockEnabled
|
|
380
379
|
};
|
|
381
|
-
return k`<div class=${
|
|
380
|
+
return k`<div class=${b(x(s.main, t))} ${_(this._mainContainerNode)}>${L(this.viewModel, k`<arcgis-features .collapsed=${this.collapsed} .featureNavigationTop=${this._featureNavigationTop} .headingLevel=${this.headingLevel} .hidden=${!this.active} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.hideCloseButton} .hideFeatureListLayerTitle=${this.hideFeatureListLayerTitle} .hideFeatureMenuHeading=${this.hideFeatureMenuHeading} .hideFeatureNavigation=${this.hideFeatureNavigation} .hideHeading=${this.hideHeading} .hideSpinner=${this.hideSpinner} @arcgisPropertyChange=${this._handleArcgisPropertyChange} @arcgisTriggerAction=${this._handleArcgisTriggerAction} @arcgisClose=${this._handleClose} .referenceElement=${this.referenceElement} .responsiveActionsEnabled=${!0} .showCollapseButton=${!this.hideCollapseButton} .viewModel=${this.viewModel} ${_(this._featuresComponent)}></arcgis-features>`)}</div>`;
|
|
382
381
|
}
|
|
383
382
|
}
|
|
384
|
-
E("arcgis-popup",
|
|
383
|
+
E("arcgis-popup", X);
|
|
385
384
|
export {
|
|
386
|
-
|
|
385
|
+
X as ArcgisPopup
|
|
387
386
|
};
|
|
@@ -14,7 +14,7 @@ export interface DockOptionsBreakpoint {
|
|
|
14
14
|
export interface DockOptions {
|
|
15
15
|
buttonEnabled?: boolean;
|
|
16
16
|
position?: PopupDockPosition;
|
|
17
|
-
breakpoint?: DockOptionsBreakpoint;
|
|
17
|
+
breakpoint?: DockOptionsBreakpoint | boolean;
|
|
18
18
|
}
|
|
19
19
|
export interface PopupPosition {
|
|
20
20
|
left?: number;
|
|
@@ -57,37 +57,169 @@ declare const usePrintViewModel: (component: LitElement & Pick<PrintViewModel, n
|
|
|
57
57
|
* @since 4.28
|
|
58
58
|
*/
|
|
59
59
|
export declare class ArcgisPrint extends LitElement {
|
|
60
|
+
/**
|
|
61
|
+
* The view associated with the component.
|
|
62
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the ArcgisPrint component will be associated with a map or scene component rather than using the `view` property.
|
|
63
|
+
*/
|
|
60
64
|
view?: __esri.MapView | nullish;
|
|
65
|
+
/**
|
|
66
|
+
* Indicates whether the component's header is hidden.
|
|
67
|
+
*
|
|
68
|
+
* @default false
|
|
69
|
+
*/
|
|
61
70
|
hideHeader: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* By passing the `id` of the Map or Scene component into this property, you can position components from the `@arcgis/map-components`
|
|
73
|
+
* package anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
74
|
+
*
|
|
75
|
+
* See [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component).
|
|
76
|
+
*/
|
|
62
77
|
referenceElement?: ArcgisReferenceElement | string;
|
|
78
|
+
/** @deprecated since 4.34, use `slot` instead. */
|
|
63
79
|
position?: __esri.UIPosition;
|
|
80
|
+
/**
|
|
81
|
+
* Icon which represents the component.
|
|
82
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
83
|
+
*
|
|
84
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
85
|
+
* @default "print"
|
|
86
|
+
*/
|
|
64
87
|
icon?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Specify the print output file format(s) that the user can select based on the options available from the print service.
|
|
90
|
+
* This property can take a string value or an array of string values.
|
|
91
|
+
*
|
|
92
|
+
* When this value is "all" (default value), all the print service formats are available to be used.
|
|
93
|
+
* When an array of string values is used, only those values that match the options available from the print service will be used.
|
|
94
|
+
* If none of the input string values match those available from the print service, `allowedFormats` will fallback to default behavior.
|
|
95
|
+
*
|
|
96
|
+
* @default "all"
|
|
97
|
+
*/
|
|
65
98
|
allowedFormats: string | string[];
|
|
99
|
+
/**
|
|
100
|
+
* Specify the print output layout(s) that the user can select based on the options available from the print service.
|
|
101
|
+
* This property can take a string value or an array of string values.
|
|
102
|
+
*
|
|
103
|
+
* When this value is "all" (default value), all the print service layouts are available to be used.
|
|
104
|
+
* When an array of string values is used, only those values that match the options available from the print service will be used.
|
|
105
|
+
* If none of the input string values match those available from the print service, `allowedLayouts` will fallback to default behavior.
|
|
106
|
+
*
|
|
107
|
+
* @default "all"
|
|
108
|
+
*/
|
|
66
109
|
allowedLayouts: string | string[];
|
|
110
|
+
/** @internal */
|
|
67
111
|
browseTemplateButtonOnClick?: () => void;
|
|
112
|
+
/**
|
|
113
|
+
* Specifies the print output file format(s) that the user can select when saving the exported map printout.
|
|
114
|
+
* This property can take a string value or an array of string values.
|
|
115
|
+
*/
|
|
68
116
|
allowedFormatsForSaving?: Formats;
|
|
117
|
+
/** The collection of links exported from the Print component. */
|
|
69
118
|
exportedLinks: __esri.Collection<__esri.FileLink>;
|
|
119
|
+
/** This option allows passing extra parameters (in addition to [templateOptions](#templateOptions)) to the print (export webmap) requests. */
|
|
70
120
|
extraParameters: any;
|
|
121
|
+
/**
|
|
122
|
+
* Indicates the heading level to use for the "Exported files" text where users can
|
|
123
|
+
* access the exported map printout. By default, this text is rendered
|
|
124
|
+
* as a level 3 heading (e.g. `<h3>Exported files</h3>`). Depending on the component's placement
|
|
125
|
+
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
126
|
+
* important for meeting accessibility standards.
|
|
127
|
+
*
|
|
128
|
+
* @default 3
|
|
129
|
+
*/
|
|
71
130
|
headingLevel: HeadingLevel;
|
|
131
|
+
/**
|
|
132
|
+
* Indicates whether or not to include [defaultTemplates](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-PrintViewModel.html#defaultTemplates).
|
|
133
|
+
*
|
|
134
|
+
* @default false
|
|
135
|
+
*/
|
|
72
136
|
excludeDefaultTemplates: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Indicates whether or not to include templates from an organization's portal.
|
|
139
|
+
*
|
|
140
|
+
* @default false
|
|
141
|
+
*/
|
|
73
142
|
excludeOrganizationTemplates: boolean;
|
|
143
|
+
/** The [spatial reference](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html) used to render the printed map on the server. */
|
|
74
144
|
outSpatialReference: nullish | __esri.SpatialReference;
|
|
145
|
+
/**
|
|
146
|
+
* It is possible to search a specified portal instance's [locator services](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-portal-to-geocode-addresses.htm).
|
|
147
|
+
* Use this property to set this [ArcGIS Portal](https://enterprise.arcgis.com/en/portal/) instance to search.
|
|
148
|
+
* This is especially helpful when working with a [custom template](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-CustomTemplate.html).
|
|
149
|
+
*
|
|
150
|
+
* If this property is set, it is not necessary to set the [printServiceUrl](#printServiceUrl) property.
|
|
151
|
+
*/
|
|
75
152
|
portal: __esri.Portal;
|
|
153
|
+
/**
|
|
154
|
+
* The initial state of the print area toggle in the Print component UI.
|
|
155
|
+
* When set to `true`, the print area toggle is enabled by default.
|
|
156
|
+
* When set to `false`, the print area toggle is disabled by default.
|
|
157
|
+
*
|
|
158
|
+
* @default false
|
|
159
|
+
*/
|
|
76
160
|
showPrintAreaEnabled: boolean;
|
|
161
|
+
/**
|
|
162
|
+
* The URL of the REST endpoint of the Export Web Map Task.
|
|
163
|
+
* Defaults to the ArcGIS Online print service if this property is not specified.
|
|
164
|
+
* If the [portal](#portal) property is set, this property will use the portal's print service URL.
|
|
165
|
+
*/
|
|
77
166
|
printServiceUrl: string | nullish;
|
|
167
|
+
/** @internal */
|
|
78
168
|
saveAsButtonCallback?: (exportedLink: __esri.FileLink) => Promise<__esri.PortalItem>;
|
|
169
|
+
/**
|
|
170
|
+
* An object containing an array of `customTextElements` name-value pair objects
|
|
171
|
+
* for each print template in a custom print service. Use this property to update
|
|
172
|
+
* the text for custom text elements on the page layout.
|
|
173
|
+
*
|
|
174
|
+
* The Print component calls the `Get Layout Templates Info` task on the GPServer
|
|
175
|
+
* to discover possible `customTextElements` values for each template. The name of
|
|
176
|
+
* the task must match `Get Layout Templates Info`, templates must be published
|
|
177
|
+
* with `customTextElements`, and values must be strings. Values found there will be
|
|
178
|
+
* populated in the Print component under `Advanced options`. These values can be
|
|
179
|
+
* overwritten in the Print component UI, or programmatically using this property.
|
|
180
|
+
* To list all print templates available on the print service to see
|
|
181
|
+
* see which templates were published with `customTextElements`, use the
|
|
182
|
+
* [effectiveTemplateCustomTextElements](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-PrintViewModel.html#effectiveTemplateCustomTextElements)
|
|
183
|
+
* property.
|
|
184
|
+
*/
|
|
79
185
|
templateCustomTextElements: nullish | HashMap<HashMap<string>[]>;
|
|
186
|
+
/** Defines the layout template options used by the Print component to generate the print page. */
|
|
80
187
|
templateOptions: __esri.TemplateOptions;
|
|
188
|
+
/**
|
|
189
|
+
* If true, the component will not be destroyed automatically when it is
|
|
190
|
+
* disconnected from the document. This is useful when you want to move the
|
|
191
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
192
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-print/#destroy) method when you are done to
|
|
193
|
+
* prevent memory leaks.
|
|
194
|
+
*
|
|
195
|
+
* @default false
|
|
196
|
+
*/
|
|
81
197
|
autoDestroyDisabled: boolean;
|
|
198
|
+
/**
|
|
199
|
+
* Replace localized message strings with your own strings.
|
|
200
|
+
*
|
|
201
|
+
* _**Note**: Individual message keys may change between releases._
|
|
202
|
+
*/
|
|
82
203
|
messageOverrides?: typeof this.messages._overrides;
|
|
204
|
+
/** The component's default label. */
|
|
83
205
|
label?: string;
|
|
206
|
+
/**
|
|
207
|
+
* The state of the Print component.
|
|
208
|
+
*
|
|
209
|
+
* @default "disabled"
|
|
210
|
+
*/
|
|
84
211
|
readonly state: "ready" | "disabled" | "error" | "initializing";
|
|
212
|
+
/** Permanently destroy the component. */
|
|
85
213
|
destroy(): Promise<void>;
|
|
214
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
86
215
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
87
216
|
name: "state";
|
|
88
217
|
}>;
|
|
218
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
89
219
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
220
|
+
/** Emitted when the component is complete. */
|
|
90
221
|
readonly arcgisComplete: TargetedEvent<this, __esri.PrintCompleteEvent>;
|
|
222
|
+
/** Emitted when the component is submitted. */
|
|
91
223
|
readonly arcgisSubmit: TargetedEvent<this, __esri.PrintSubmitEvent>;
|
|
92
224
|
private messages: {
|
|
93
225
|
componentLabel: string;
|