@arcgis/map-components 4.34.0-next.133 → 4.34.0-next.134
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/{CRDFDB4R.js → 22EFCSSD.js} +1 -1
- package/dist/cdn/{FKJ5GRT2.js → 2FE25NNX.js} +2 -2
- package/dist/cdn/{5B6RPQW5.js → 2LSNEJZ2.js} +2 -2
- package/dist/cdn/{M72S34GW.js → 327KKNL4.js} +2 -2
- package/dist/cdn/{N2GGOJYR.js → 36MSZWZB.js} +2 -2
- package/dist/cdn/{ZIILBGPX.js → 36T2B4QE.js} +2 -2
- package/dist/cdn/{IML6V74T.js → 3DQ4N76V.js} +2 -2
- package/dist/cdn/{2IJEHLYV.js → 3KWJRXUO.js} +2 -2
- package/dist/cdn/{O6VHOOAC.js → 3LOZGPZW.js} +3 -3
- package/dist/cdn/{BFX2CXI3.js → 3ME6SBWH.js} +2 -2
- package/dist/cdn/{Z2IRJXHS.js → 45HN63IS.js} +1 -1
- package/dist/cdn/{V4YHBNOT.js → 4ALK7I2B.js} +2 -2
- package/dist/cdn/4QTHNIWZ.js +4 -0
- package/dist/cdn/{4Y5GUCNJ.js → 4URHM24J.js} +2 -2
- package/dist/cdn/{RR6GB7E5.js → 54MLARHW.js} +2 -2
- package/dist/cdn/{GFTBGEHF.js → 5CSTIRMA.js} +2 -2
- package/dist/cdn/{YXQM3OY4.js → 5DO6WOG5.js} +2 -2
- package/dist/cdn/{BP5IKO2W.js → 5F2VVIG4.js} +2 -2
- package/dist/cdn/{35VOLBPZ.js → 5FGKOY7J.js} +2 -2
- package/dist/cdn/{SZVINOSR.js → 5JSSMSUK.js} +2 -2
- package/dist/cdn/{FCGYD4F2.js → 5KL34Q5B.js} +2 -2
- package/dist/cdn/{2VWA3OG6.js → 5NH4GPGY.js} +2 -2
- package/dist/cdn/{CLCAUVIP.js → 5NJFZZEW.js} +2 -2
- package/dist/cdn/{SZRR3V4F.js → 5WU4B5MM.js} +2 -2
- package/dist/cdn/62PLVYLI.js +4 -0
- package/dist/cdn/{7LHBDH44.js → 6HITIHOY.js} +2 -2
- package/dist/cdn/{FEQGF7DG.js → 6OH77X6Q.js} +2 -2
- package/dist/cdn/{PMI55QLI.js → 722BRSEV.js} +2 -2
- package/dist/cdn/{454X6TWM.js → 7F6MYIJ6.js} +2 -2
- package/dist/cdn/{XFOMKQBM.js → 7G47VMUV.js} +2 -2
- package/dist/cdn/{PPGQ7KJ2.js → 7G7H2OUJ.js} +2 -2
- package/dist/cdn/{GXAGQIF7.js → AC2VB62C.js} +2 -2
- package/dist/cdn/{SEP5SEJA.js → AGZOSJ3A.js} +2 -2
- package/dist/cdn/{K54GN2OA.js → AKHN5OCL.js} +2 -2
- package/dist/cdn/{KVDMXAG7.js → AQ3UJDKT.js} +2 -2
- package/dist/cdn/{7RKIIL6Q.js → AVCMAM3H.js} +2 -2
- package/dist/cdn/{PYL7Z2W7.js → AYB576YX.js} +2 -2
- package/dist/cdn/{LKBBTZBH.js → AYO4BZ3L.js} +2 -2
- package/dist/cdn/{LKBS3726.js → B2IN65Q7.js} +2 -2
- package/dist/cdn/{QYAP7DBK.js → BNOXXX7Q.js} +2 -2
- package/dist/cdn/{OVLRLYZG.js → BNXA45HP.js} +2 -2
- package/dist/cdn/{2W3TJFMA.js → BPWXXZB3.js} +2 -2
- package/dist/cdn/{HDL5KPOZ.js → BQJ2G3T2.js} +2 -2
- package/dist/cdn/{QI5R4SWT.js → BRF7AB4R.js} +2 -2
- package/dist/cdn/{S5HHBRBG.js → C25XCIII.js} +2 -2
- package/dist/cdn/{3L66IRCG.js → C3DZ5YQC.js} +2 -2
- package/dist/cdn/{DHYV7QYP.js → C5DSCCPL.js} +2 -2
- package/dist/cdn/{KD4F5NQR.js → CAEKE3MV.js} +1 -1
- package/dist/cdn/{O4CVKIFA.js → CIM5I4HG.js} +2 -2
- package/dist/cdn/{IDZMCIOS.js → CJOMIXWQ.js} +2 -2
- package/dist/cdn/{Y7TJKEQJ.js → CLCF7EC6.js} +2 -2
- package/dist/cdn/{4XK46X44.js → COKFGMPE.js} +2 -2
- package/dist/cdn/{WP3NQCWY.js → DBJW3EVE.js} +2 -2
- package/dist/cdn/DGTC6637.js +4 -0
- package/dist/cdn/{6NQXSZ4F.js → DMWOWPOJ.js} +2 -2
- package/dist/cdn/{6FDOTFMC.js → DQ7XSVJU.js} +2 -2
- package/dist/cdn/{HZM7E55B.js → DTJL2WXY.js} +2 -2
- package/dist/cdn/{BC3RKC5I.js → DVED5GOP.js} +2 -2
- package/dist/cdn/{5K6FVVGM.js → DWMURSSX.js} +2 -2
- package/dist/cdn/{R73NZWQJ.js → E4SPSWIX.js} +2 -2
- package/dist/cdn/ECZMSGLS.js +4 -0
- package/dist/cdn/{Q3NEG6FB.js → EHZATRNU.js} +2 -2
- package/dist/cdn/{EQLQJ6MB.js → EOGD7KHE.js} +2 -2
- package/dist/cdn/{4TADWPXC.js → EP73D7NC.js} +2 -2
- package/dist/cdn/{5PLFYAP7.js → EVL5CCGU.js} +2 -2
- package/dist/cdn/{YOCFMRO4.js → EXNNOMKQ.js} +2 -2
- package/dist/cdn/{5YV2ME2C.js → F4RISB35.js} +2 -2
- package/dist/cdn/{LGC6RK6O.js → F5TR63WW.js} +1 -1
- package/dist/cdn/{EVZACT2Q.js → FD5C3NON.js} +2 -2
- package/dist/cdn/{ITYUH45Q.js → FKWFWPPQ.js} +2 -2
- package/dist/cdn/{C6Z7X55M.js → FMPZKTVA.js} +2 -2
- package/dist/cdn/{KIUNSHU2.js → FSDQZJUP.js} +2 -2
- package/dist/cdn/{7KK2WCWD.js → FSNKDY5N.js} +2 -2
- package/dist/cdn/{IJ4OXERF.js → FTCBOHFX.js} +2 -2
- package/dist/cdn/{73KR4UUG.js → G3A5UEB4.js} +2 -2
- package/dist/cdn/{QREAX6T4.js → G66J2LJ2.js} +2 -2
- package/dist/cdn/{NW2XB2K6.js → G6EVUMPV.js} +2 -2
- package/dist/cdn/{6MRAWRE5.js → GQRH4DLZ.js} +2 -2
- package/dist/cdn/{JWTWQYMT.js → GWHTRMJM.js} +2 -2
- package/dist/cdn/{5LWU7TBO.js → GXAPMWUN.js} +2 -2
- package/dist/cdn/{ARSQ2M6R.js → HBUWXMAT.js} +2 -2
- package/dist/cdn/{WWX6LKRR.js → HGY4MNJJ.js} +2 -2
- package/dist/cdn/{XGJO7D77.js → HJBWF5OA.js} +2 -2
- package/dist/cdn/{DXCCOUDT.js → HOYFZOPS.js} +2 -2
- package/dist/cdn/HRJUI6MM.js +4 -0
- package/dist/cdn/{RAUV2KQ7.js → HTXOHTSB.js} +2 -2
- package/dist/cdn/{MJBYXK4R.js → HY63LDZG.js} +2 -2
- package/dist/cdn/{GDXUZGJL.js → I2MTYK2R.js} +2 -2
- package/dist/cdn/{2YY2TNL3.js → I33BSJSU.js} +2 -2
- package/dist/cdn/{46ETRS3K.js → I6V4DZ5G.js} +2 -2
- package/dist/cdn/{HNNTLPL3.js → ICECQXTU.js} +2 -2
- package/dist/cdn/{NKJONXTQ.js → ICWQNZHR.js} +2 -2
- package/dist/cdn/{QTQL5KV5.js → IF4BTXQ4.js} +2 -2
- package/dist/cdn/{ESQCPXNG.js → ILR5OQ27.js} +2 -2
- package/dist/cdn/IRZZOTCJ.js +4 -0
- package/dist/cdn/{KN6UIK2Q.js → ISWYNTU4.js} +1 -1
- package/dist/cdn/{OPI2P667.js → ITD6MLK4.js} +2 -2
- package/dist/cdn/IV75Z5D6.js +4 -0
- package/dist/cdn/{I7IE2OIU.js → JA2EZ7JR.js} +2 -2
- package/dist/cdn/{XTAVU3CZ.js → JC5FECSI.js} +2 -2
- package/dist/cdn/{ZG2QLCVN.js → JCRMJZZS.js} +2 -2
- package/dist/cdn/{GTXGX2VL.js → JCV6NA33.js} +2 -2
- package/dist/cdn/{GKMA7IAU.js → JRJ7XAQM.js} +2 -2
- package/dist/cdn/{VPKP2LJT.js → JSXXKMEZ.js} +1 -1
- package/dist/cdn/{KD6CNBIX.js → JVMITHWY.js} +2 -2
- package/dist/cdn/{LOL2IS6N.js → JWMTN423.js} +2 -2
- package/dist/cdn/{KX4K5NCB.js → KCANY5A7.js} +2 -2
- package/dist/cdn/KFCT42O5.js +4 -0
- package/dist/cdn/{DPT27LMS.js → KFJ3F6AU.js} +2 -2
- package/dist/cdn/{M7X6UEEV.js → KGDDNXTL.js} +2 -2
- package/dist/cdn/{FC5KUYKW.js → KHWHU6M3.js} +2 -2
- package/dist/cdn/{RAGSKOED.js → KMNGR3LX.js} +2 -2
- package/dist/cdn/{VRWIVXKN.js → KWXIL65J.js} +2 -2
- package/dist/cdn/KZLZV6IK.js +4 -0
- package/dist/cdn/{BQDX5X62.js → LA3XHTIJ.js} +2 -2
- package/dist/cdn/{U2LQNCA7.js → LCDT4WTA.js} +2 -2
- package/dist/cdn/{TJBW6LMV.js → LEZVALQR.js} +2 -2
- package/dist/cdn/{QCPNRNPU.js → LPGOGQSL.js} +2 -2
- package/dist/cdn/{AX2KA2M6.js → LQ4E2REN.js} +2 -2
- package/dist/cdn/{H7OJ3ADS.js → LSUIN7L5.js} +2 -2
- package/dist/cdn/{XK44F75N.js → LTG4AL7H.js} +2 -2
- package/dist/cdn/{LWQXR2JI.js → LU7KIWX4.js} +2 -2
- package/dist/cdn/{SRKZXRDQ.js → LUVZWVTW.js} +2 -2
- package/dist/cdn/{AJCOE4FW.js → M5CXARRG.js} +2 -2
- package/dist/cdn/{FD7TDTK7.js → M6BDLGUY.js} +2 -2
- package/dist/cdn/{LETMD3L6.js → MI6MD7EC.js} +2 -2
- package/dist/cdn/{TJP4VNIA.js → MOGEVM7H.js} +2 -2
- package/dist/cdn/{CGI4SPUC.js → MONJXBIA.js} +2 -2
- package/dist/cdn/{DKVRCSPL.js → MSAHFPH5.js} +1 -1
- package/dist/cdn/MWFVXB2E.js +4 -0
- package/dist/cdn/{Y4HMSIMF.js → MWV7UIU2.js} +2 -2
- package/dist/cdn/{CEILZGTG.js → MXB5LBNL.js} +2 -2
- package/dist/cdn/{QP5XD7EP.js → N5VVNVGO.js} +1 -1
- package/dist/cdn/{QJRMFXTR.js → NGP67CBQ.js} +2 -2
- package/dist/cdn/{YZ4U4IWO.js → NHM6IZ4D.js} +1 -1
- package/dist/cdn/{FTKUTQFI.js → NJGTA6M2.js} +2 -2
- package/dist/cdn/{H2QBZPWQ.js → NS42CN5H.js} +2 -2
- package/dist/cdn/NZVTMNU5.js +4 -0
- package/dist/cdn/{PRRW75AG.js → O4H72BWM.js} +2 -2
- package/dist/cdn/{UUPK5JKU.js → O4Z2TD3J.js} +2 -2
- package/dist/cdn/{HJJJLIV3.js → OFODJ5TB.js} +2 -2
- package/dist/cdn/{UPT6RSNI.js → OG4OJXG7.js} +2 -2
- package/dist/cdn/{RRFBG5HD.js → OKNRREFK.js} +2 -2
- package/dist/cdn/{27WMEF5S.js → OOFR3YDD.js} +2 -2
- package/dist/cdn/{AIV3S2HK.js → OS6FGPP7.js} +2 -2
- package/dist/cdn/{5XRDVKLQ.js → OS7OK24K.js} +2 -2
- package/dist/cdn/{6RT63RR3.js → OTKVP4N2.js} +2 -2
- package/dist/cdn/{DZCXVCEA.js → OUDN2GI4.js} +1 -1
- package/dist/cdn/{GNLXYSEG.js → P2S5LVEJ.js} +2 -2
- package/dist/cdn/{O4QZN6PX.js → PE7POGGR.js} +2 -2
- package/dist/cdn/{BLO3PH63.js → PGLKEHLS.js} +1 -1
- package/dist/cdn/{IC55LEKW.js → PJZPKNJI.js} +2 -2
- package/dist/cdn/{35RXSHVS.js → PWIANIP6.js} +2 -2
- package/dist/cdn/{YZPYENRQ.js → PXY4VFMX.js} +2 -2
- package/dist/cdn/{C4KSUDG6.js → Q3TSJ5P6.js} +2 -2
- package/dist/cdn/{ZXKVHQCT.js → Q4K3CT7V.js} +2 -2
- package/dist/cdn/{X24VUFUZ.js → QPZ3LMOA.js} +2 -2
- package/dist/cdn/{TRSSX2OL.js → QQDDLH6S.js} +2 -2
- package/dist/cdn/{4QHSR24N.js → QSXRT7VX.js} +2 -2
- package/dist/cdn/{GCD75UHB.js → QUZMLVKP.js} +2 -2
- package/dist/cdn/{VYD63UBY.js → QW7UTJSI.js} +2 -2
- package/dist/cdn/{4W3CFH6E.js → QWMC4PJA.js} +2 -2
- package/dist/cdn/QZWTIQUV.js +4 -0
- package/dist/cdn/{DO6OZIXK.js → RCTZEGUO.js} +2 -2
- package/dist/cdn/{WJMTBFOT.js → RMPW45HN.js} +2 -2
- package/dist/cdn/{LWK56WWB.js → SAWQSLP7.js} +2 -2
- package/dist/cdn/{YKICJUIU.js → SDQVMJHA.js} +2 -2
- package/dist/cdn/{HUF2RSHK.js → SLA3EAPY.js} +2 -2
- package/dist/cdn/{35S344QP.js → SLI2O4IP.js} +2 -2
- package/dist/cdn/{A3O3VXYT.js → SOOCYZVO.js} +2 -2
- package/dist/cdn/{SOAJC5OE.js → SQQ6S4OA.js} +2 -2
- package/dist/cdn/{CER3LIOO.js → SRCC6TOL.js} +2 -2
- package/dist/cdn/{QBYT6BW5.js → T5CFGDQC.js} +2 -2
- package/dist/cdn/{TRHJKH4Y.js → T6PRZN5A.js} +2 -2
- package/dist/cdn/{TNRTOBB7.js → TFAHOPVO.js} +2 -2
- package/dist/cdn/{I7TF7AUF.js → TJ4ORLQN.js} +2 -2
- package/dist/cdn/{7S7BRL2R.js → TWLYT6SK.js} +2 -2
- package/dist/cdn/{SMPFHXUH.js → TX4LAEAJ.js} +2 -2
- package/dist/cdn/{F5L564NB.js → U6KBFEOA.js} +2 -2
- package/dist/cdn/{DRTV25UV.js → UKMJ3ZPM.js} +2 -2
- package/dist/cdn/{OKTJ26YW.js → UUARFPPX.js} +2 -2
- package/dist/cdn/{UBKZ3TB5.js → UXGU6GBT.js} +2 -2
- package/dist/cdn/{NZXTSKAO.js → VFBSKRDQ.js} +2 -2
- package/dist/cdn/{B3SUUTAF.js → VFPAFQWU.js} +2 -2
- package/dist/cdn/VIEQXBWQ.js +4 -0
- package/dist/cdn/{YO5D24AF.js → VWUD3TWO.js} +2 -2
- package/dist/cdn/{72VRO56J.js → VYYE7B6S.js} +2 -2
- package/dist/cdn/{UPZIPW6L.js → W3JMPEMY.js} +2 -2
- package/dist/cdn/{IXAGZ3RI.js → W3XE4XZH.js} +2 -2
- package/dist/cdn/{74SUH53T.js → W7UCSPBE.js} +2 -2
- package/dist/cdn/{CTQFFZJH.js → WAGIEVEF.js} +2 -2
- package/dist/cdn/{ZOYDWFG2.js → WBQ3XF24.js} +2 -2
- package/dist/cdn/WCN7OQML.js +4 -0
- package/dist/cdn/{SXHML6YB.js → WCNGLFV7.js} +2 -2
- package/dist/cdn/{OHQMB32N.js → WEHDS3F4.js} +2 -2
- package/dist/cdn/{YLRX44WW.js → WXWTNEGG.js} +2 -2
- package/dist/cdn/{R7B2MYES.js → WXZJ7SV7.js} +2 -2
- package/dist/cdn/{PU6DA3OE.js → XDVWHCLN.js} +2 -2
- package/dist/cdn/{VSJMGGJE.js → XEYXPXDI.js} +2 -2
- package/dist/cdn/{QUVHG4VI.js → XFDKD5MT.js} +2 -2
- package/dist/cdn/{VNGPOITT.js → XFIIKDF4.js} +2 -2
- package/dist/cdn/{CC6NJOP5.js → XGO73VQC.js} +2 -2
- package/dist/cdn/{FOQSPMMT.js → XMM5QJNY.js} +2 -2
- package/dist/cdn/{H4YVZYJF.js → XWLZT6GW.js} +2 -2
- package/dist/cdn/{O6TE36QE.js → XXJNWIO5.js} +2 -2
- package/dist/cdn/{JYMNGGAN.js → XYFAJOAI.js} +1 -1
- package/dist/cdn/{KYSXOKCO.js → Y7USR2HB.js} +2 -2
- package/dist/cdn/{MV2H5AQC.js → YOOE3OXE.js} +2 -2
- package/dist/cdn/{7TVV3P7P.js → YRBQVWNY.js} +2 -2
- package/dist/cdn/YRP5AGQY.js +4 -0
- package/dist/cdn/{5KY5FNP3.js → YX36NVYE.js} +2 -2
- package/dist/cdn/{KYUKYL7I.js → Z3QV7DHJ.js} +2 -2
- package/dist/cdn/{AFDQOEM2.js → Z6T3HIZD.js} +2 -2
- package/dist/cdn/{6XVYZVBO.js → ZBJC2BPG.js} +2 -2
- package/dist/cdn/{KG3A4QD7.js → ZQJQQLK5.js} +2 -2
- 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 +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- 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/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 +10 -8
- 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 +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +88 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +70 -0
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +57 -0
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +48 -0
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +256 -0
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +69 -0
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +118 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +52 -0
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +107 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- 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 +360 -263
- 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 +1 -1
- 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 +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +56 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +81 -0
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +101 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/components/arcgis-feature-media/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +499 -3
- 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 +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +15 -0
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +179 -0
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +102 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +86 -0
- package/dist/components/arcgis-home/customElement.js +1 -1
- 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 +10 -10
- package/dist/components/arcgis-legend-card-color-ramp/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +450 -1
- package/dist/components/arcgis-popup/customElement.js +85 -86
- package/dist/components/arcgis-print/customElement.d.ts +132 -0
- package/dist/components/arcgis-print/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +83 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +11 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +109 -0
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +151 -3
- package/dist/components/arcgis-sketch/customElement.js +5 -7
- package/dist/components/arcgis-slice/customElement.d.ts +148 -0
- package/dist/components/arcgis-slice/customElement.js +1 -1
- 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 +3 -3
- package/dist/components/arcgis-time-slider/customElement.d.ts +108 -0
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +37 -0
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +110 -0
- package/dist/components/arcgis-track/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +119 -0
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +85 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +45 -0
- 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.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 +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +47 -0
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/uiController.d.ts +21 -0
- package/dist/docs/api.json +1050 -239
- package/dist/docs/docs.json +866 -197
- package/dist/docs/vscode.html-custom-data.json +143 -69
- package/dist/docs/web-types.json +408 -195
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +7 -6
- package/dist/support/earth-utils.d.ts +1 -2
- 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 +13 -5
- package/dist/types/preact.d.ts +80 -71
- package/dist/types/preact10.d.ts +755 -0
- package/dist/types/react.d.ts +15 -5
- package/dist/types/stencil.d.ts +13 -5
- 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/6NZIJ433.js +0 -4
- package/dist/cdn/BOFZNXI7.js +0 -4
- package/dist/cdn/HJ7M6BW2.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/NOTSC5KN.js +0 -4
- package/dist/cdn/PY2SF5ID.js +0 -4
- package/dist/cdn/RNFXIHDL.js +0 -4
- package/dist/cdn/RTDCXUDE.js +0 -4
- package/dist/cdn/T7VH64WD.js +0 -4
- package/dist/cdn/TI3S4F6E.js +0 -4
- package/dist/cdn/YAFQZDIF.js +0 -4
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { JsxNode } from '@arcgis/lumina';
|
|
2
|
+
import { Ref } from 'lit/directives/ref.js';
|
|
2
3
|
export declare function TimeSlider(props: {
|
|
3
4
|
disabled?: boolean;
|
|
4
5
|
value: number | null;
|
|
5
6
|
onTimeChanged: (time: number) => void;
|
|
6
7
|
scale?: HTMLCalciteSliderElement["scale"];
|
|
8
|
+
ref: Ref<HTMLCalciteSliderElement>;
|
|
7
9
|
}): JsxNode;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { nil } from '@arcgis/toolkit/type';
|
|
2
1
|
import { default as VirtualLighting } from '@arcgis/core/views/3d/environment/VirtualLighting.js';
|
|
3
2
|
import { default as SunLighting } from '@arcgis/core/views/3d/environment/SunLighting.js';
|
|
4
3
|
export type DateOrSeason = "date" | "season";
|
|
@@ -23,7 +22,8 @@ export declare function getSeasonFromDate(date: Date, hemisphere: Hemisphere): S
|
|
|
23
22
|
*/
|
|
24
23
|
export declare function getNorthernHemisphereSeason(season: Season, hemisphere: Hemisphere): Season;
|
|
25
24
|
export declare function getHemisphere(latitude: number): Hemisphere;
|
|
26
|
-
export declare
|
|
25
|
+
export declare const dayInMinutes = 1440;
|
|
26
|
+
export declare const dayInMilliseconds = 86400000;
|
|
27
27
|
export declare function getSunriseAndSunsetTimes(currentDate: Date, latitude: number, longitude: number, UTCDisplayOffset: number): {
|
|
28
28
|
sunrise: Date;
|
|
29
29
|
sunset: Date;
|
|
@@ -59,22 +59,110 @@ declare const useViewModel: (component: LitElement & Pick<DirectLineMeasurement3
|
|
|
59
59
|
* @since 4.33
|
|
60
60
|
*/
|
|
61
61
|
export declare class ArcgisDirectLineMeasurement3d extends LitElement {
|
|
62
|
+
/**
|
|
63
|
+
* The view associated with the component.
|
|
64
|
+
* > **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 ArcgisDirectLineMeasurement3d component will be associated with a map or scene component rather than using the `view` property.
|
|
65
|
+
*/
|
|
62
66
|
view?: __esri.SceneView | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* The [DirectLineMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-DirectLineMeasurementAnalysis.html)
|
|
69
|
+
* created or modified by the component.
|
|
70
|
+
*
|
|
71
|
+
* When connecting the Direct Line Measurement 3D component to the [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)
|
|
72
|
+
* component, it automatically creates an empty analysis and adds it to the Scene's
|
|
73
|
+
* [analyses](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#analyses) collection.
|
|
74
|
+
* Whenever the component is destroyed, the analysis is automatically removed from the collection.
|
|
75
|
+
*
|
|
76
|
+
* Alternatively, a programmatically created analysis can be provided to the component.
|
|
77
|
+
* Then, the application itself needs to add it to and later remove it from the Scene's analyses collection.
|
|
78
|
+
*
|
|
79
|
+
* ```js
|
|
80
|
+
* // Create the analysis.
|
|
81
|
+
* const directLineAnalysis = new DirectLineMeasurementAnalysis({
|
|
82
|
+
* startPoint: new Point({
|
|
83
|
+
* spatialReference: { latestWkid: 3857, wkid: 102100 },
|
|
84
|
+
* x: -13624995.61798748,
|
|
85
|
+
* y: 4550334.030096778,
|
|
86
|
+
* z: 63.378210234455764
|
|
87
|
+
* }),
|
|
88
|
+
* endPoint: new Point({
|
|
89
|
+
* spatialReference: { latestWkid: 3857, wkid: 102100 },
|
|
90
|
+
* x: -13624921.53589075,
|
|
91
|
+
* y: 4550407.42357004,
|
|
92
|
+
* z: 63.3783810287714
|
|
93
|
+
* }),
|
|
94
|
+
* });
|
|
95
|
+
* // Get the Scene and measurement component and wait until they are ready.
|
|
96
|
+
* const viewElement = document.querySelector("arcgis-scene");
|
|
97
|
+
* await viewElement.viewOnReady();
|
|
98
|
+
* const directLineMeasurement3d = document.querySelector("arcgis-direct-line-measurement-3d");
|
|
99
|
+
* await directLineMeasurement3d.componentOnReady();
|
|
100
|
+
* // Add the analysis to the Scene component.
|
|
101
|
+
* viewElement.analyses.add(directLineAnalysis);
|
|
102
|
+
* // Connect the analysis to the measurement component:
|
|
103
|
+
* directLineMeasurement3d.analysis = directLineAnalysis;
|
|
104
|
+
* ```
|
|
105
|
+
*/
|
|
63
106
|
analysis: __esri.DirectLineMeasurementAnalysis;
|
|
107
|
+
/**
|
|
108
|
+
* If true, the component will not be destroyed automatically when it is
|
|
109
|
+
* disconnected from the document. This is useful when you want to move the
|
|
110
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
111
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-direct-line-measurement-3d/#destroy) method when you are done to
|
|
112
|
+
* prevent memory leaks.
|
|
113
|
+
*
|
|
114
|
+
* @default false
|
|
115
|
+
*/
|
|
64
116
|
autoDestroyDisabled: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Icon which represents the component.
|
|
119
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
120
|
+
*
|
|
121
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
122
|
+
* @default "measure-line"
|
|
123
|
+
*/
|
|
65
124
|
icon?: HTMLCalciteIconElement["icon"];
|
|
125
|
+
/** The component's default label. */
|
|
66
126
|
label?: string;
|
|
127
|
+
/** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
|
|
67
128
|
position?: __esri.UIPosition;
|
|
129
|
+
/**
|
|
130
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
131
|
+
*
|
|
132
|
+
* @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)
|
|
133
|
+
*/
|
|
68
134
|
referenceElement?: ArcgisReferenceElement | string;
|
|
135
|
+
/**
|
|
136
|
+
* The component's state. The values mean the following:
|
|
137
|
+
*
|
|
138
|
+
* * `disabled` - not ready yet
|
|
139
|
+
* * `ready` - ready for measuring
|
|
140
|
+
* * `measuring` - currently measuring
|
|
141
|
+
* * `measured` - measuring has finished
|
|
142
|
+
*/
|
|
69
143
|
readonly state: "ready" | "disabled" | "measured" | "measuring";
|
|
144
|
+
/**
|
|
145
|
+
* Unit system (imperial, metric) or specific unit used for displaying the distance values. Possible values are listed in
|
|
146
|
+
* [unitOptions](#unitOptions).
|
|
147
|
+
*/
|
|
70
148
|
unit: __esri.SystemOrLengthUnit;
|
|
149
|
+
/**
|
|
150
|
+
* List of available units and unit systems (imperial, metric) that are shown in the component's dropdown.
|
|
151
|
+
* By default, the following units are included: `metric`, `imperial`, `inches`, `feet`, `us-feet`, `yards`, `miles`, `nautical-miles`, `meters`, `kilometers`.
|
|
152
|
+
* Possible [unit](#unit) values can only be a subset of this list.
|
|
153
|
+
*/
|
|
71
154
|
unitOptions: __esri.SystemOrLengthUnit[];
|
|
155
|
+
/** Clears the current measurement. */
|
|
72
156
|
clear(): Promise<void>;
|
|
157
|
+
/** Permanently destroy the component. */
|
|
73
158
|
destroy(): Promise<void>;
|
|
159
|
+
/** Starts a new measurement. */
|
|
74
160
|
start(): Promise<void>;
|
|
161
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
75
162
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
76
163
|
name: "state" | "analysis";
|
|
77
164
|
}>;
|
|
165
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
78
166
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
79
167
|
}
|
|
80
168
|
/**
|
|
@@ -14,7 +14,7 @@ import { A as L } from "../../chunks/AnalysisViewModel.js";
|
|
|
14
14
|
import { g as c, m as u } from "../../chunks/measurementUtils.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.
|
|
17
|
+
v4.34.0-next.134 */
|
|
18
18
|
const V = _`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--esri-widget-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}`;
|
|
19
19
|
var C = Object.defineProperty, P = Object.getOwnPropertyDescriptor, n = (e, t, i, o) => {
|
|
20
20
|
for (var s = o > 1 ? void 0 : o ? P(t, i) : t, l = e.length - 1, d; l >= 0; l--)
|
|
@@ -22,23 +22,90 @@ declare const useDirectionalPadViewModel: (component: LitElement & Pick<Directio
|
|
|
22
22
|
* @since 4.29
|
|
23
23
|
*/
|
|
24
24
|
export declare class ArcgisDirectionalPad extends LitElement {
|
|
25
|
+
/**
|
|
26
|
+
* The view associated with the component.
|
|
27
|
+
* > **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 ArcgisDirectionalPad component will be associated with a map or scene component rather than using the `view` property.
|
|
28
|
+
*/
|
|
25
29
|
view?: __esri.MapView | nullish;
|
|
30
|
+
/**
|
|
31
|
+
* If true, the component will not be destroyed automatically when it is
|
|
32
|
+
* disconnected from the document. This is useful when you want to move the
|
|
33
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
34
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-directional-pad/#destroy) method when you are done to
|
|
35
|
+
* prevent memory leaks.
|
|
36
|
+
*
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
26
39
|
autoDestroyDisabled: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Indicates whether interaction is allowed on the component. When `true`,
|
|
42
|
+
* this property sets the component to a disabled state to disable any user
|
|
43
|
+
* interaction.
|
|
44
|
+
*
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
27
47
|
disabled: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Whether to hide directional pad buttons.
|
|
50
|
+
*
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
28
53
|
hideDirectionalButtons: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Icon which represents the component.
|
|
56
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
57
|
+
*
|
|
58
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
59
|
+
* @default "move"
|
|
60
|
+
*/
|
|
29
61
|
icon?: string;
|
|
62
|
+
/** The component's default label. */
|
|
30
63
|
label?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Replace localized message strings with your own strings.
|
|
66
|
+
*
|
|
67
|
+
* _**Note**: Individual message keys may change between releases._
|
|
68
|
+
*/
|
|
31
69
|
messageOverrides?: typeof this.messages._overrides;
|
|
70
|
+
/** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
|
|
32
71
|
position?: __esri.UIPosition;
|
|
72
|
+
/**
|
|
73
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component 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
|
+
*/
|
|
33
77
|
referenceElement?: ArcgisReferenceElement | string;
|
|
78
|
+
/**
|
|
79
|
+
* Whether to display the button to reset the rotation angle. This only takes
|
|
80
|
+
* effect if showRotationSlider is true.
|
|
81
|
+
*
|
|
82
|
+
* @default false
|
|
83
|
+
*/
|
|
34
84
|
showRotationResetButton: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Whether to display the map rotation slider.
|
|
87
|
+
*
|
|
88
|
+
* @default false
|
|
89
|
+
*/
|
|
35
90
|
showRotationSlider: boolean;
|
|
91
|
+
/** The current state of the component. */
|
|
36
92
|
readonly state: "ready" | "disabled" | "moving";
|
|
93
|
+
/**
|
|
94
|
+
* Determines the size of directional pad buttons and the slider.
|
|
95
|
+
*
|
|
96
|
+
* In addition to this parameter, you can set the width on the component
|
|
97
|
+
* container to dictate directional pad size.
|
|
98
|
+
*
|
|
99
|
+
* @default "s"
|
|
100
|
+
*/
|
|
37
101
|
visualScale: HTMLCalciteButtonElement["scale"];
|
|
102
|
+
/** Permanently destroy the component. */
|
|
38
103
|
destroy(): Promise<void>;
|
|
104
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
39
105
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
40
106
|
name: "state";
|
|
41
107
|
}>;
|
|
108
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
42
109
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
43
110
|
private messages: Partial<{
|
|
44
111
|
componentLabel: string;
|
|
@@ -13,7 +13,7 @@ import { g as y } from "../../chunks/component-utils.js";
|
|
|
13
13
|
import { g as h } from "../../chunks/globalCss.js";
|
|
14
14
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
15
15
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
16
|
-
v4.34.0-next.
|
|
16
|
+
v4.34.0-next.134 */
|
|
17
17
|
const u = [-45, 0, 45, -90, 90, -135, 180, 135], M = {
|
|
18
18
|
0: { label: "north", iconName: "chevron-up" },
|
|
19
19
|
45: { label: "northEast", iconName: "chevron-up-right" },
|
|
@@ -7,7 +7,7 @@ import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
|
7
7
|
import { PropertyValues } from 'lit';
|
|
8
8
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
9
9
|
|
|
10
|
-
declare const useDirectionsWidget: (component: LitElement & Pick<Directions, "icon" | "label" | "layer" | "viewModel" | "headingLevel" | "
|
|
10
|
+
declare const useDirectionsWidget: (component: LitElement & Pick<Directions, "icon" | "label" | "layer" | "viewModel" | "headingLevel" | "apiKey" | "goToOverride" | "unit" | "maxStops" | "searchProperties"> & {
|
|
11
11
|
state?: unknown;
|
|
12
12
|
viewModel?: __esri.DirectionsViewModel | undefined;
|
|
13
13
|
closed?: boolean;
|
|
@@ -20,7 +20,7 @@ declare const useDirectionsWidget: (component: LitElement & Pick<Directions, "ic
|
|
|
20
20
|
name: string;
|
|
21
21
|
}> | undefined;
|
|
22
22
|
el: HTMLElement & {
|
|
23
|
-
childElem
|
|
23
|
+
childElem?: HTMLElement & {
|
|
24
24
|
ownedBy?: HTMLElement;
|
|
25
25
|
};
|
|
26
26
|
view?: __esri.LinkChartView | __esri.MapView | __esri.SceneView | nullish;
|
|
@@ -36,26 +36,113 @@ declare const useDirectionsWidget: (component: LitElement & Pick<Directions, "ic
|
|
|
36
36
|
* @since 4.28
|
|
37
37
|
*/
|
|
38
38
|
export declare class ArcgisDirections extends LitElement {
|
|
39
|
+
/**
|
|
40
|
+
* The view associated with the component.
|
|
41
|
+
* > **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 ArcgisDirections component will be associated with a map or scene component rather than using the `view` property.
|
|
42
|
+
*/
|
|
39
43
|
view?: __esri.MapView | __esri.SceneView | nullish;
|
|
44
|
+
/**
|
|
45
|
+
* An authorization string used to access a resource or service.
|
|
46
|
+
*
|
|
47
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#apiKey)
|
|
48
|
+
*/
|
|
40
49
|
apiKey: string | nullish;
|
|
50
|
+
/**
|
|
51
|
+
* If true, the component will not be destroyed automatically when it is
|
|
52
|
+
* disconnected from the document. This is useful when you want to move the
|
|
53
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
54
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-directions/#destroy) method when you are done to
|
|
55
|
+
* prevent memory leaks.
|
|
56
|
+
*
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
41
59
|
autoDestroyDisabled: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* This function provides the ability to override either the
|
|
62
|
+
* [MapView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) or
|
|
63
|
+
* [SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.
|
|
64
|
+
*
|
|
65
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#goToOverride)
|
|
66
|
+
*
|
|
67
|
+
* @since 4.33
|
|
68
|
+
*/
|
|
42
69
|
goToOverride: nullish | __esri.GoToOverride;
|
|
70
|
+
/**
|
|
71
|
+
* Indicates the heading level to use for the origin and destination addresses (i.e.
|
|
72
|
+
*
|
|
73
|
+
* @default 2
|
|
74
|
+
*/
|
|
43
75
|
headingLevel: number;
|
|
76
|
+
/** @default false */
|
|
44
77
|
hideLayerDetails: boolean | undefined;
|
|
78
|
+
/** @default false */
|
|
45
79
|
hideSaveAsButton: boolean | undefined;
|
|
80
|
+
/** @default false */
|
|
46
81
|
hideSaveButton: boolean | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Icon which represents the component.
|
|
84
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
85
|
+
*
|
|
86
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
87
|
+
* @default "right"
|
|
88
|
+
*/
|
|
47
89
|
icon: string;
|
|
90
|
+
/**
|
|
91
|
+
* The widget's default label.
|
|
92
|
+
*
|
|
93
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#label)
|
|
94
|
+
*/
|
|
48
95
|
label: string;
|
|
96
|
+
/**
|
|
97
|
+
* The most recent route result.
|
|
98
|
+
*
|
|
99
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#lastRoute)
|
|
100
|
+
*
|
|
101
|
+
* @default null
|
|
102
|
+
*/
|
|
49
103
|
readonly lastRoute: nullish | __esri.DirectionsLastRoute;
|
|
104
|
+
/**
|
|
105
|
+
* The [RouteLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-RouteLayer.html) associated with the Directions widget.
|
|
106
|
+
*
|
|
107
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#layer)
|
|
108
|
+
*/
|
|
50
109
|
layer: nullish | RouteLayer;
|
|
110
|
+
/**
|
|
111
|
+
* The maximum number of stops allowed for routing.
|
|
112
|
+
*
|
|
113
|
+
* @default 50
|
|
114
|
+
*/
|
|
51
115
|
maxStops: number;
|
|
116
|
+
/** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
|
|
52
117
|
position?: __esri.UIPosition;
|
|
118
|
+
/**
|
|
119
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
120
|
+
*
|
|
121
|
+
* @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)
|
|
122
|
+
*/
|
|
53
123
|
referenceElement?: ArcgisReferenceElement | string;
|
|
54
124
|
routeLayerItemId?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Controls the default properties used when searching.
|
|
127
|
+
*
|
|
128
|
+
* @default { popupEnabled: false, resultGraphicEnabled: false }
|
|
129
|
+
*/
|
|
55
130
|
searchProperties: nullish | __esri.DirectionsSearchProperties;
|
|
131
|
+
/**
|
|
132
|
+
* The current state of the component.
|
|
133
|
+
*
|
|
134
|
+
* @default "disabled"
|
|
135
|
+
*/
|
|
56
136
|
readonly state: "ready" | "disabled" | "error" | "initializing" | "routing" | "unauthenticated";
|
|
137
|
+
/**
|
|
138
|
+
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
139
|
+
*
|
|
140
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#unit)
|
|
141
|
+
*/
|
|
57
142
|
unit: __esri.SystemOrLengthUnit;
|
|
143
|
+
/** @default false */
|
|
58
144
|
useDefaultRouteLayer: boolean;
|
|
145
|
+
/** Permanently destroy the component. */
|
|
59
146
|
destroy(): Promise<void>;
|
|
60
147
|
getDirections(): Promise<__esri.RouteLayerSolveResult>;
|
|
61
148
|
save(): Promise<__esri.PortalItem>;
|
|
@@ -63,9 +150,11 @@ export declare class ArcgisDirections extends LitElement {
|
|
|
63
150
|
folder: __esri.PortalFolder;
|
|
64
151
|
}): Promise<__esri.PortalItem>;
|
|
65
152
|
zoomToRoute(): Promise<void>;
|
|
153
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
66
154
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
67
155
|
name: "state" | "lastRoute";
|
|
68
156
|
}>;
|
|
157
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
69
158
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
70
159
|
}
|
|
71
160
|
export {};
|
|
@@ -9,7 +9,7 @@ import { d as p } from "../../chunks/component-utils.js";
|
|
|
9
9
|
import { css as m } from "lit";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.134 */
|
|
13
13
|
const h = m`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-search{flex-flow:row;justify-content:center;align-items:center;width:240px;display:flex}.esri-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: 240px;width:31px}.esri-search__autocomplete{flex:1}.esri-search__container{flex-flow:row;flex:1 0 100%;align-items:stretch;display:flex;position:relative}.esri-search__form{flex-flow:row;flex:1 0;align-items:stretch;margin:0;padding:0;display:flex}.esri-search-result-renderer calcite-block,.esri-search-result-renderer calcite-block[expanded]{margin-block:0;border:0;margin-block-start:var(--calcite-spacing-md)}.esri-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}:host{display:flex}.esri-directions calcite-flow-item{--calcite-color-background: var(--calcite-color-foreground-1)}.esri-directios calcite-flow{z-index:1;position:relative}.esri-directions__accordion{--calcite-accordion-border-color: transparent}.esri-directions__stop-container{--calcite-list-border-color: transparent;--calcite-list-background-color-hover: var(--calcite-color-foreground-1);margin-block-start:var(--calcite-spacing-sm);display:flex}.esri-directions__stop-list{flex:auto}.esri-directions__action-container{margin-top:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm);display:flex}.esri-directions__add-stop-button{margin-inline-end:var(--calcite-spacing-xs)}.esri-directions__departure-time{--calcite-label-margin-bottom: 0}.esri-directions__departure-time-options{margin-bottom:var(--calcite-spacing-sm);display:flex}.esri-directions__departure-time-options calcite-input-date-picker,.esri-directions__departure-time-options calcite-input-time-picker{flex:1}.esri-directions__directions-header{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);flex-direction:column;display:flex}.esri-directions__header-stops{gap:var(--calcite-spacing-base) var(--calcite-spacing-xxs);font-size:var(--calcite-font-size--1);grid-template-columns:auto 1fr;margin-block-end:var(--calcite-spacing-base);display:grid}.esri-directions__directions-header-stop-name{text-overflow:ellipsis;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium);overflow:hidden}.esri-directions__edit-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__edit-toolbar-container{margin:var(--calcite-spacing-md);flex-flow:column;align-items:flex-start;display:flex}.esri-directions__edit-toolbar{border-width:var(--calcite-border-width-sm);border-radius:var(--calcite-corner-radius-round);border-style:solid;border-color:var(--calcite-color-foreground-3);flex-flow:row;display:flex;overflow:hidden}.esri-directions__solve-route{border-inline-start:solid var(--calcite-border-width-sm) var(--calcite-color-border-3)}.esri-directions__flex-column{flex-direction:column;display:flex}.esri-directions__flex-row{flex-direction:row;display:flex}.esri-directions__label-emphasize{font-weight:var(--calcite-font-weight-medium)}.esri-directions__label-no-bottom-margin{--calcite-label-margin-bottom: 0}.esri-directions__margin-inline-medium{margin-inline:var(--calcite-spacing-md)}.esri-directions__padding-medium{padding:var(--calcite-spacing-md)}.esri-directions__route-item{margin:var(--calcite-spacing-md);border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);flex:1 0 auto;width:auto;margin-block-start:var(--calcite-spacing-sm);display:flex;overflow:hidden}.esri-directions__route-item-button{background-color:var(--calcite-color-foreground-1);padding:var(--calcite-spacing-sm) var(--calcite-spacing-md);text-align:unset;font-family:var(--calcite-font-family);border:none;flex:1 0 auto;align-items:center;margin:0;padding-inline-end:var(--calcite-spacing-xs);display:flex}.esri-directions__route-item-button:hover{background-color:var(--calcite-color-foreground-2);cursor:pointer}.esri-directions__route-item-button-content{flex-direction:column;flex:1 0 auto;display:flex}.esri-directions__route-item-label{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-md);font-weight:var(--calcite-font-weight-medium)}.esri-directions__route-item-description{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-regular)}.esri-directions__optimize-section{--calcite-block-section-header-text-color: var(--calcite-color-text-1)}.esri-directions__optimize-switches{cursor:pointer;margin-inline-start:var(--calcite-spacing-md)}.esri-directions__panel-header-action{align-items:center;display:flex}.esri-directions__primary-flow-item{flex-flow:column;flex:auto;justify-content:flex-start;align-items:stretch;display:flex;overflow:visible}.esri-directions__primary-footer{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md)}.esri-directions__primary-footer-centered{border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding:var(--calcite-spacing-md);flex-flow:column wrap;align-items:center;display:flex}.esri-directions__primary-footer-loader{--calcite-loader-spacing: 0;margin-top:var(--calcite-spacing-md);margin-bottom:var(--calcite-spacing-md)}.esri-directions__save-error{flex-direction:column;align-items:center;display:flex}.esri-directions__save-error-icon{margin-top:calc(var(--calcite-spacing-lg) * 3);margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-status-danger)}.esri-directions__save-error-label{margin-inline:var(--calcite-spacing-sm)}.esri-directions__save-process-loader{padding-top:calc(var(--calcite-spacing-lg) * 3);padding-bottom:calc(var(--calcite-spacing-lg) * 2)}.esri-directions__selected-feature-container{margin-inline:var(--calcite-spacing-md);height:100px;overflow-y:auto}.esri-directions__separator{margin:var(--calcite-spacing-md) 0;background-color:var(--calcite-color-border-3);height:var(--calcite-border-width-sm)}.esri-directions__stop-item .esri-search{width:auto}.esri-directions__print-document{box-sizing:border-box;z-index:var(--calcite-z-index-overlay);background-color:var(--calcite-color-foreground-1);width:100%;height:100%;position:fixed;top:0;left:0;overflow-y:scroll}.esri-directions__print-body{padding-inline:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header{margin-bottom:var(--calcite-spacing-lg);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);align-items:center;display:flex}.esri-directions__print-header-label{padding-block:var(--calcite-spacing-sm);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-bold);flex-direction:column;flex-grow:1;display:flex}.esri-directions__print-section{margin-top:var(--calcite-spacing-md);flex-direction:column;display:flex}.esri-directions__print-header-buttons{padding-inline-end:var(--calcite-spacing-md);display:flex}.esri-directions__print--avoid-page-break{break-inside:avoid}@media print{body.esri-directions__print-media{margin:0;padding:0}body.esri-directions__print-media>:not(div.esri-directions__print-document){display:none}}@media print{.esri-directions__print-document{height:auto;position:static;overflow:visible}.esri-directions__print--hide-on-print{display:none}}`, _ = g(c), t = "map-components:arcgis-directions";
|
|
14
14
|
class f extends l {
|
|
15
15
|
constructor() {
|
|
@@ -34,22 +34,78 @@ declare const useDistanceMeasurement2dWidget: (component: LitElement & Pick<Dist
|
|
|
34
34
|
* @since 4.28
|
|
35
35
|
*/
|
|
36
36
|
export declare class ArcgisDistanceMeasurement2d extends LitElement {
|
|
37
|
+
/**
|
|
38
|
+
* The view associated with the component.
|
|
39
|
+
* > **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 ArcgisDistanceMeasurement2d component will be associated with a map or scene component rather than using the `view` property.
|
|
40
|
+
*/
|
|
37
41
|
view?: __esri.MapView | nullish;
|
|
42
|
+
/**
|
|
43
|
+
* If true, the component will not be destroyed automatically when it is
|
|
44
|
+
* disconnected from the document. This is useful when you want to move the
|
|
45
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
46
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-distance-measurement-2d/#destroy) method when you are done to
|
|
47
|
+
* prevent memory leaks.
|
|
48
|
+
*
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
38
51
|
autoDestroyDisabled: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Icon which represents the component.
|
|
54
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
55
|
+
*
|
|
56
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
57
|
+
* @default "measure-line"
|
|
58
|
+
*/
|
|
39
59
|
icon: string;
|
|
60
|
+
/**
|
|
61
|
+
* The widget's default label.
|
|
62
|
+
*
|
|
63
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D.html#label)
|
|
64
|
+
*/
|
|
40
65
|
label: string;
|
|
66
|
+
/** @deprecated since 4.34, use [`slot`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/slot) instead. */
|
|
41
67
|
position?: __esri.UIPosition;
|
|
68
|
+
/**
|
|
69
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
70
|
+
*
|
|
71
|
+
* @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)
|
|
72
|
+
*/
|
|
42
73
|
referenceElement?: ArcgisReferenceElement | string;
|
|
74
|
+
/**
|
|
75
|
+
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html) for sketching.
|
|
76
|
+
*
|
|
77
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D.html#snappingOptions)
|
|
78
|
+
*/
|
|
43
79
|
snappingOptions: __esri.SnappingOptions;
|
|
80
|
+
/**
|
|
81
|
+
* The current state of the component.
|
|
82
|
+
*
|
|
83
|
+
* @default "disabled"
|
|
84
|
+
*/
|
|
44
85
|
readonly state: "ready" | "disabled" | "measured" | "measuring";
|
|
86
|
+
/**
|
|
87
|
+
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
88
|
+
*
|
|
89
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D.html#unit)
|
|
90
|
+
*/
|
|
45
91
|
unit: __esri.SystemOrLengthUnit;
|
|
92
|
+
/**
|
|
93
|
+
* List of available units and unit systems (imperial, metric) for displaying the distance values.
|
|
94
|
+
*
|
|
95
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D.html#unitOptions)
|
|
96
|
+
*/
|
|
46
97
|
unitOptions: __esri.SystemOrLengthUnit[];
|
|
98
|
+
/** Clear the current measurement. */
|
|
47
99
|
clear(): Promise<void>;
|
|
100
|
+
/** Permanently destroy the component. */
|
|
48
101
|
destroy(): Promise<void>;
|
|
102
|
+
/** Starts a new measurement. */
|
|
49
103
|
start(): Promise<void>;
|
|
104
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
50
105
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
51
106
|
name: "state";
|
|
52
107
|
}>;
|
|
108
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
53
109
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
54
110
|
}
|
|
55
111
|
export {};
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as a } from "lit";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.134 */
|
|
10
10
|
const s = a`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--esri-widget-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}`, d = n(t);
|
|
11
11
|
class c extends r {
|
|
12
12
|
constructor() {
|