@arcgis/map-components 6.0.0-next.3 → 6.0.0-next.30
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/25PLRKZK.js +2 -0
- package/dist/cdn/{ZBC5RBCD.js → 27TSPXYV.js} +1 -1
- package/dist/cdn/27VBOPFN.js +2 -0
- package/dist/cdn/2AMSAAH4.js +2 -0
- package/dist/cdn/{3ONY25MG.js → 2GPVEWYM.js} +1 -1
- package/dist/cdn/2GV5JA27.js +2 -0
- package/dist/cdn/2IBL2HKQ.js +2 -0
- package/dist/cdn/2JXK3AW7.js +2 -0
- package/dist/cdn/2NMV3XLT.js +2 -0
- package/dist/cdn/2RTEHAVG.js +2 -0
- package/dist/cdn/{65MI3MW2.js → 32526XJ7.js} +1 -1
- package/dist/cdn/34XDXFK6.js +2 -0
- package/dist/cdn/3HI5IZSQ.js +2 -0
- package/dist/cdn/3KAC2MKA.js +2 -0
- package/dist/cdn/{HI7BF3DL.js → 3MWXYWKR.js} +1 -1
- package/dist/cdn/{GNSNEUMI.js → 3NUN6DK3.js} +1 -1
- package/dist/cdn/3P44HZ3K.js +2 -0
- package/dist/cdn/3RSMD7RR.js +2 -0
- package/dist/cdn/3XHI22WD.js +2 -0
- package/dist/cdn/{AN7R3DP5.js → 43IGD6V3.js} +1 -1
- package/dist/cdn/{ZHSESERJ.js → 4H2REMNG.js} +1 -1
- package/dist/cdn/{SAOLD6MH.js → 4HCQOJIM.js} +1 -1
- package/dist/cdn/{FHHVGI4H.js → 4P4NKBQC.js} +1 -1
- package/dist/cdn/4WZZZTT5.js +2 -0
- package/dist/cdn/4ZAEHJPD.js +2 -0
- package/dist/cdn/57LPG3BE.js +2 -0
- package/dist/cdn/5B22465P.js +2 -0
- package/dist/cdn/5DN4ONEW.js +2 -0
- package/dist/cdn/{RRSU6QD4.js → 5FBHHKRV.js} +1 -1
- package/dist/cdn/{PIDNZKSJ.js → 5GFPOTOB.js} +1 -1
- package/dist/cdn/5IPRYM2C.js +2 -0
- package/dist/cdn/5OABHJND.js +2 -0
- package/dist/cdn/5XMKJYT6.js +2 -0
- package/dist/cdn/{ABOTJ6RE.js → 5XZKVLHC.js} +1 -1
- package/dist/cdn/66TZB3H3.js +3 -0
- package/dist/cdn/6CKQPMJB.js +2 -0
- package/dist/cdn/6FJUKYNB.js +2 -0
- package/dist/cdn/6GGKA7MT.js +2 -0
- package/dist/cdn/6HDYZ7WW.js +2 -0
- package/dist/cdn/6KYZMT4A.js +2 -0
- package/dist/cdn/6NSO42OW.js +2 -0
- package/dist/cdn/6SL7YNKF.js +2 -0
- package/dist/cdn/6TXZMHLZ.js +2 -0
- package/dist/cdn/6WFVZM5S.js +2 -0
- package/dist/cdn/6Y36YFPN.js +2 -0
- package/dist/cdn/6Y7Q7GRB.js +2 -0
- package/dist/cdn/7BU454HH.js +2 -0
- package/dist/cdn/{WSHG4LV7.js → 7HBOZBSC.js} +1 -1
- package/dist/cdn/{2SO5S66J.js → 7ID5HLPS.js} +1 -1
- package/dist/cdn/7ILT5PDJ.js +2 -0
- package/dist/cdn/7JPHMESH.js +2 -0
- package/dist/cdn/{N3DTZRST.js → 7V7LQ35Q.js} +1 -1
- package/dist/cdn/{SIFBGT4D.js → 7Y4SF2NT.js} +1 -1
- package/dist/cdn/7Y6PADB5.js +2 -0
- package/dist/cdn/A7YFCO3R.js +2 -0
- package/dist/cdn/AGXUHDNS.js +2 -0
- package/dist/cdn/{PPAFKBPN.js → AHWBCZBO.js} +1 -1
- package/dist/cdn/AKIHNM7C.js +2 -0
- package/dist/cdn/AMRGLUBB.js +2 -0
- package/dist/cdn/APCXGAD5.js +2 -0
- package/dist/cdn/ARLGT35P.js +2 -0
- package/dist/cdn/{KBA5OIES.js → AUP633OS.js} +1 -1
- package/dist/cdn/BBKQM2GF.js +2 -0
- package/dist/cdn/BEICGIY5.js +2 -0
- package/dist/cdn/{Z2UUXST4.js → BFYJTV6Q.js} +1 -1
- package/dist/cdn/BJUFDQGX.js +2 -0
- package/dist/cdn/{RUYAWRPV.js → BOPNSNUT.js} +1 -1
- package/dist/cdn/{QT7GRA34.js → BVRQWRKX.js} +1 -1
- package/dist/cdn/BZXGVKKW.js +2 -0
- package/dist/cdn/C53YBNQ4.js +2 -0
- package/dist/cdn/C6K7TZ27.js +2 -0
- package/dist/cdn/C74S3MND.js +2 -0
- package/dist/cdn/CDHP7WRH.js +2 -0
- package/dist/cdn/CLICUS2A.js +2 -0
- package/dist/cdn/CNXH745H.js +2 -0
- package/dist/cdn/COC7IS2Z.js +2 -0
- package/dist/cdn/{MA7GBKLW.js → CPWIRCCP.js} +1 -1
- package/dist/cdn/{XP74F2F6.js → CWCVAPXD.js} +1 -1
- package/dist/cdn/D6UG734Y.js +2 -0
- package/dist/cdn/DCO26B7J.js +2 -0
- package/dist/cdn/DDGUDJJZ.js +2 -0
- package/dist/cdn/DF2MPD7N.js +2 -0
- package/dist/cdn/DFNH6YRR.js +2 -0
- package/dist/cdn/DFTYQJWJ.js +2 -0
- package/dist/cdn/DGE5KKLM.js +2 -0
- package/dist/cdn/DGXTCH6B.js +2 -0
- package/dist/cdn/DSIYRWN2.js +2 -0
- package/dist/cdn/DU2IPXWR.js +2 -0
- package/dist/cdn/DWPXOIRF.js +2 -0
- package/dist/cdn/DXTK47ES.js +2 -0
- package/dist/cdn/DXXGERVD.js +2 -0
- package/dist/cdn/{S6BPBG7D.js → DZIJPJS3.js} +1 -1
- package/dist/cdn/E6ZXXC74.js +2 -0
- package/dist/cdn/ECF4B24M.js +2 -0
- package/dist/cdn/EJVFK7JX.js +2 -0
- package/dist/cdn/EP27GLNL.js +2 -0
- package/dist/cdn/{M6YVO33A.js → ETD3FAGO.js} +1 -1
- package/dist/cdn/EVWWTIEQ.js +2 -0
- package/dist/cdn/{EK7Y6JBZ.js → EXB4CY2Y.js} +1 -1
- package/dist/cdn/F2YSSNVY.js +2 -0
- package/dist/cdn/FOKE5ILO.js +2 -0
- package/dist/cdn/{ZIBQTNB6.js → FQ3ZJA4Q.js} +1 -1
- package/dist/cdn/FROWRLYW.js +2 -0
- package/dist/cdn/FTLNYN3G.js +2 -0
- package/dist/cdn/G2PLGAUY.js +2 -0
- package/dist/cdn/G6L4BDEL.js +2 -0
- package/dist/cdn/G7BWEBJH.js +2 -0
- package/dist/cdn/GBMEEEGZ.js +2 -0
- package/dist/cdn/{WBBTZNZU.js → GEOME3IC.js} +1 -1
- package/dist/cdn/{V62TVP3T.js → GFC6LS4L.js} +1 -1
- package/dist/cdn/{MICLX7QW.js → GPYZM5CC.js} +1 -1
- package/dist/cdn/HGEK42FO.js +2 -0
- package/dist/cdn/{FQSHLYKX.js → HLOH2QPV.js} +1 -1
- package/dist/cdn/HTYTZ7GK.js +2 -0
- package/dist/cdn/I52P5EXK.js +2 -0
- package/dist/cdn/I5F7MVDT.js +2 -0
- package/dist/cdn/IFLDLAK4.js +2 -0
- package/dist/cdn/IIX2OICP.js +2 -0
- package/dist/cdn/{TDZIH5OK.js → IKVGZFZ6.js} +1 -1
- package/dist/cdn/IN7TMVRK.js +2 -0
- package/dist/cdn/IUYW4QOS.js +2 -0
- package/dist/cdn/{4HNRKSQ2.js → IZFEOYED.js} +1 -1
- package/dist/cdn/IZYFQNW2.js +2 -0
- package/dist/cdn/J4FR5WZG.js +2 -0
- package/dist/cdn/J6ZEZ4NE.js +2 -0
- package/dist/cdn/JB6WQEFJ.js +2 -0
- package/dist/cdn/{ET4UP4EQ.js → JBD7Q5YD.js} +1 -1
- package/dist/cdn/JJXJPZUK.js +2 -0
- package/dist/cdn/JN6RVFAM.js +2 -0
- package/dist/cdn/JNNI75UW.js +2 -0
- package/dist/cdn/KAG4QZ7K.js +2 -0
- package/dist/cdn/{QKZ552KI.js → KIWV2RIN.js} +1 -1
- package/dist/cdn/KWF72M5Z.js +2 -0
- package/dist/cdn/KWIZ45T7.js +2 -0
- package/dist/cdn/KXDLX4RE.js +2 -0
- package/dist/cdn/L3MJ5NAZ.js +2 -0
- package/dist/cdn/{OUC5HWPQ.js → L5XC4FXT.js} +1 -1
- package/dist/cdn/LC2ZSIJY.js +2 -0
- package/dist/cdn/LFA3XEWF.js +2 -0
- package/dist/cdn/LNTE4FDB.js +2 -0
- package/dist/cdn/LRH4FKHU.js +2 -0
- package/dist/cdn/{OAYNZFL2.js → LSLTIN2Q.js} +1 -1
- package/dist/cdn/LTFGTX7S.js +2 -0
- package/dist/cdn/LXHZGIW5.js +2 -0
- package/dist/cdn/LXME6MU5.js +2 -0
- package/dist/cdn/M37TWKYP.js +2 -0
- package/dist/cdn/M3CIFZFR.js +2 -0
- package/dist/cdn/M4GAOTVS.js +2 -0
- package/dist/cdn/M7ENWEKN.js +2 -0
- package/dist/cdn/M7GAVFT6.js +2 -0
- package/dist/cdn/M7MRLBZA.js +2 -0
- package/dist/cdn/MA2DWIGR.js +2 -0
- package/dist/cdn/MGH6EHT7.js +2 -0
- package/dist/cdn/N4D5I6Y4.js +2 -0
- package/dist/cdn/NEPTDMLE.js +2 -0
- package/dist/cdn/NQXXIEV2.js +2 -0
- package/dist/cdn/NRFCVOMM.js +2 -0
- package/dist/cdn/NVPN3I72.js +2 -0
- package/dist/cdn/O2LMVVKS.js +2 -0
- package/dist/cdn/O5HQ5YZK.js +2 -0
- package/dist/cdn/O6KVILZF.js +2 -0
- package/dist/cdn/O7OKLWBW.js +2 -0
- package/dist/cdn/OKAGFDAM.js +2 -0
- package/dist/cdn/OKOOKG4L.js +2 -0
- package/dist/cdn/{HPWF3IQV.js → OLY5EME5.js} +1 -1
- package/dist/cdn/ORKCIBIY.js +2 -0
- package/dist/cdn/P5U37XIA.js +2 -0
- package/dist/cdn/{ESOCZAMZ.js → PCXDOSKQ.js} +1 -1
- package/dist/cdn/PD4ELTMF.js +2 -0
- package/dist/cdn/PD7SLPIK.js +2 -0
- package/dist/cdn/PFSIUSDJ.js +2 -0
- package/dist/cdn/PJIES74D.js +2 -0
- package/dist/cdn/PKYYNRBS.js +2 -0
- package/dist/cdn/PLDTM6JH.js +2 -0
- package/dist/cdn/PMXSSYFB.js +2 -0
- package/dist/cdn/PQ7NUE5C.js +4 -0
- package/dist/cdn/PSPUWCU5.js +2 -0
- package/dist/cdn/PSTG4I4W.js +2 -0
- package/dist/cdn/PYBUTNHM.js +2 -0
- package/dist/cdn/PYEOGYQ3.js +2 -0
- package/dist/cdn/Q2KWXSLQ.js +2 -0
- package/dist/cdn/Q6RSVQNE.js +2 -0
- package/dist/cdn/Q7GF26CL.js +2 -0
- package/dist/cdn/QBRGIFBY.js +2 -0
- package/dist/cdn/QXEOEFF3.js +2 -0
- package/dist/cdn/{OAMA6SL3.js → QZVF23GH.js} +1 -1
- package/dist/cdn/R2FI35AK.js +2 -0
- package/dist/cdn/RAADOJWX.js +2 -0
- package/dist/cdn/{ZSPYPXBY.js → REB4CHAK.js} +1 -1
- package/dist/cdn/RINX3CTL.js +2 -0
- package/dist/cdn/RVXA65TI.js +2 -0
- package/dist/cdn/{VUAYNF3K.js → RXKIZFNQ.js} +1 -1
- package/dist/cdn/S4L4V6FJ.js +2 -0
- package/dist/cdn/SI2DEXWH.js +2 -0
- package/dist/cdn/SOIBQ3FH.js +2 -0
- package/dist/cdn/SOLTOPI3.js +2 -0
- package/dist/cdn/SSB4SQXA.js +2 -0
- package/dist/cdn/{VTCE3YQW.js → SXW4GFL3.js} +1 -1
- package/dist/cdn/TDYIVFVF.js +2 -0
- package/dist/cdn/TEDWUEQ4.js +2 -0
- package/dist/cdn/TEPHXOQ2.js +2 -0
- package/dist/cdn/TI7UH6FZ.js +2 -0
- package/dist/cdn/TLAJ3GMX.js +2 -0
- package/dist/cdn/TM4FFRX5.js +2 -0
- package/dist/cdn/TTWQ7RNF.js +2 -0
- package/dist/cdn/U77WHUC6.js +2 -0
- package/dist/cdn/ULOXCWFO.js +2 -0
- package/dist/cdn/UTJTCZCF.js +2 -0
- package/dist/cdn/{P2I63WVL.js → UVAUYBWF.js} +1 -1
- package/dist/cdn/{52CUDGKY.js → UVPQKV5P.js} +1 -1
- package/dist/cdn/UXMKSIYL.js +2 -0
- package/dist/cdn/{YDZZPLVB.js → UYAOMCP7.js} +1 -1
- package/dist/cdn/UYDXI4AK.js +4 -0
- package/dist/cdn/UYJB3OR4.js +2 -0
- package/dist/cdn/UZ4VANCL.js +2 -0
- package/dist/cdn/UZXVNOOD.js +2 -0
- package/dist/cdn/V4AT7ENI.js +2 -0
- package/dist/cdn/V4JCZIP5.js +2 -0
- package/dist/cdn/VHLDFKDS.js +2 -0
- package/dist/cdn/{HQWUQFN5.js → VKO3CVBS.js} +1 -1
- package/dist/cdn/VPREN7P6.js +2 -0
- package/dist/cdn/VTDB4D2K.js +2 -0
- package/dist/cdn/{XKCB2DEP.js → VWW5GBIK.js} +1 -1
- package/dist/cdn/VXPGE37T.js +2 -0
- package/dist/cdn/VXXXOGU7.js +2 -0
- package/dist/cdn/W73JDM22.js +2 -0
- package/dist/cdn/WFTJ4E4F.js +2 -0
- package/dist/cdn/WGLTX4YP.js +2 -0
- package/dist/cdn/WKI4XW7G.js +2 -0
- package/dist/cdn/WKRW6DI5.js +2 -0
- package/dist/cdn/WPXCX7TX.js +2 -0
- package/dist/cdn/{DUMHDAYP.js → WVKMYNN7.js} +1 -1
- package/dist/cdn/WYYUFJHO.js +2 -0
- package/dist/cdn/WZWVZD7I.js +2 -0
- package/dist/cdn/X2M3ZYHO.js +2 -0
- package/dist/cdn/XCDMOCWN.js +2 -0
- package/dist/cdn/XLB473BN.js +2 -0
- package/dist/cdn/XLYOZSWI.js +2 -0
- package/dist/cdn/XLZB6JMZ.js +2 -0
- package/dist/cdn/{CKS5ACAB.js → XO7X6L4B.js} +1 -1
- package/dist/cdn/XQBN6SO5.js +2 -0
- package/dist/cdn/XVZ74ZME.js +2 -0
- package/dist/cdn/{EV7IIQBP.js → XYAJT7LP.js} +1 -1
- package/dist/cdn/Y4C7JJCJ.js +2 -0
- package/dist/cdn/Y6WTYXVP.js +2 -0
- package/dist/cdn/YAWLVMV6.js +2 -0
- package/dist/cdn/{PGUZODKZ.js → YBJ6ZAPO.js} +1 -1
- package/dist/cdn/YBTMO6HU.js +2 -0
- package/dist/cdn/YCKZUQ7P.js +2 -0
- package/dist/cdn/YDILFOHE.js +2 -0
- package/dist/cdn/YEKQVWF5.js +2 -0
- package/dist/cdn/YFX2STSS.js +2 -0
- package/dist/cdn/YME6EWHF.js +2 -0
- package/dist/cdn/Z42MH42I.js +2 -0
- package/dist/cdn/Z42YLJMZ.js +2 -0
- package/dist/cdn/Z46QEYSO.js +2 -0
- package/dist/cdn/Z6ZEF6NC.js +2 -0
- package/dist/cdn/ZAW644CF.js +2 -0
- package/dist/cdn/ZCI6T4IU.js +2 -0
- package/dist/cdn/{IAWXCNTX.js → ZE4UHSTB.js} +1 -1
- package/dist/cdn/ZEQHIKTN.js +2 -0
- package/dist/cdn/{26URLKXD.js → ZH3MW6H3.js} +1 -1
- package/dist/cdn/ZMP3REWL.js +2 -0
- package/dist/cdn/{V2YPYCU6.js → ZNV3M5P2.js} +1 -1
- package/dist/cdn/ZP2VJX3N.js +2 -0
- package/dist/cdn/ZPA5JUPD.js +2 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/attachment-utils.js +5 -5
- package/dist/chunks/chart-utils.js +12 -12
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/layer-list-next.js +1 -1
- package/dist/chunks/loader-utils.js +43 -0
- package/dist/chunks/print-exports-panel-item-popover.js +1 -1
- package/dist/chunks/resources.js +10 -4
- package/dist/chunks/screenLocation.js +10 -10
- package/dist/chunks/slots.js +7 -7
- package/dist/chunks/useArcgisViewReadyError.js +226 -156
- package/dist/chunks/useViewModel.js +7 -7
- package/dist/chunks/utils.js +17 -17
- package/dist/chunks/utils5.js +2 -2
- package/dist/components/arcgis-add-attachment-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +4 -4
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +10 -4
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/{arcgis-feature-form-field → arcgis-attachment-detail-view}/customElement.d.ts +72 -28
- package/dist/components/arcgis-attachment-detail-view/customElement.js +126 -0
- package/dist/components/arcgis-attachment-detail-view/index.js +8 -0
- package/dist/components/arcgis-attachment-preview/customElement.d.ts +47 -9
- package/dist/components/arcgis-attachment-preview/customElement.js +12 -10
- package/dist/components/arcgis-attachment-thumbnail/customElement.d.ts +42 -9
- package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-attachments/customElement.js +3 -3
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +24 -24
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +90 -88
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-level-item/customElement.js +1 -1
- package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
- package/dist/components/arcgis-building-phase-picker/customElement.js +16 -16
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +7 -7
- package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +2 -2
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +5 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +6 -5
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +38 -38
- package/dist/components/arcgis-daylight/customElement.d.ts +32 -25
- package/dist/components/arcgis-daylight/customElement.js +136 -132
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +12 -7
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +53 -58
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +4 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +44 -22
- package/dist/components/arcgis-editor/customElement.js +17 -12
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +15 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +95 -97
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +4 -4
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +5 -5
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +7 -7
- package/dist/components/arcgis-expand/customElement.d.ts +49 -2
- package/dist/components/arcgis-expand/customElement.js +47 -47
- package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
- package/dist/components/arcgis-exploratory-analysis/customElement.js +56 -56
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +18 -18
- package/dist/components/arcgis-feature-content/customElement.js +4 -4
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +16 -16
- package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +11 -11
- package/dist/components/arcgis-feature-media/customElement.js +263 -216
- package/dist/components/arcgis-feature-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-next/customElement.js +21 -14
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +83 -64
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +6 -6
- package/dist/components/arcgis-features/customElement.js +19 -18
- package/dist/components/arcgis-features-next/customElement.d.ts +14 -8
- package/dist/components/arcgis-features-next/customElement.js +185 -148
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -0
- package/dist/components/arcgis-floor-filter/customElement.js +41 -41
- package/dist/components/arcgis-floor-filter/interfaces.d.ts +72 -0
- package/dist/components/arcgis-fullscreen/customElement.js +4 -4
- package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +2 -2
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +9 -9
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +7 -7
- package/dist/components/arcgis-layer-list-next/customElement.js +97 -95
- package/dist/components/arcgis-legend/customElement.d.ts +3 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +17 -5
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +41 -26
- package/dist/components/arcgis-link-chart/customElement.js +28 -28
- package/dist/components/arcgis-locate/customElement.js +6 -6
- package/dist/components/arcgis-map/customElement.d.ts +65 -53
- package/dist/components/arcgis-map/customElement.js +21 -21
- package/dist/components/arcgis-measurement-content/customElement.js +4 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
- package/dist/components/arcgis-paste/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +18 -11
- package/dist/components/arcgis-popup/customElement.js +199 -183
- package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
- package/dist/components/arcgis-presentation/customElement.js +74 -75
- package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-datum-transformation-input/customElement.js +17 -17
- package/dist/components/arcgis-print-exports-panel/customElement.js +8 -8
- 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 +5 -5
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-out-spatial-reference-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.js +8 -8
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +11 -11
- package/dist/components/arcgis-scene/customElement.d.ts +69 -33
- package/dist/components/arcgis-scene/customElement.js +19 -19
- package/dist/components/arcgis-search/customElement.d.ts +17 -6
- package/dist/components/arcgis-search/customElement.js +3 -0
- package/dist/components/arcgis-selection-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-selection-list/customElement.js +11 -11
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +14 -6
- package/dist/components/arcgis-selection-toolbar/customElement.js +23 -17
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +17 -10
- package/dist/components/arcgis-shadow-cast/customElement.js +45 -45
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +363 -46
- package/dist/components/arcgis-sketch/customElement.js +434 -248
- package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- package/dist/components/arcgis-slice/customElement.js +24 -24
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +15 -7
- package/dist/components/arcgis-slider-scale-range/customElement.js +5 -5
- package/dist/components/arcgis-slider-scale-range/spriteSheetsUtils.d.ts +8 -3
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +8 -29
- package/dist/components/arcgis-swipe/customElement.js +247 -65
- package/dist/components/arcgis-swipe/types.d.ts +3 -0
- package/dist/components/arcgis-table-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-table-list-next/customElement.js +55 -54
- package/dist/components/arcgis-time-bar/customElement.d.ts +486 -409
- package/dist/components/arcgis-time-bar/customElement.js +122 -120
- package/dist/components/arcgis-time-bar/types.d.ts +36 -15
- package/dist/components/arcgis-time-bar-date/customElement.js +10 -10
- package/dist/components/arcgis-time-bar-extent/customElement.js +9 -9
- package/dist/components/arcgis-time-bar-settings/customElement.js +25 -25
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +196 -174
- package/dist/components/arcgis-time-bar-slider/customElement.js +62 -63
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -7
- package/dist/components/arcgis-time-slider/customElement.js +10 -9
- package/dist/components/arcgis-time-zone-chip/customElement.js +4 -4
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-selector/customElement.js +5 -5
- package/dist/components/arcgis-track/customElement.d.ts +19 -10
- package/dist/components/arcgis-track/types.d.ts +1 -1
- package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-picker/customElement.d.ts +170 -6
- package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +107 -19
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +34 -27
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +61 -17
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +85 -81
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +141 -12
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +25 -33
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +126 -30
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +88 -81
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +63 -9
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +8 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +240 -14
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +125 -111
- package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +177 -23
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +70 -62
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +170 -32
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +132 -125
- package/dist/components/arcgis-utility-network-trace-results-pane/customElement.d.ts +159 -2
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +37 -37
- package/dist/components/arcgis-video/customElement.d.ts +19 -1
- package/dist/components/arcgis-video/customElement.js +7 -4
- package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +2 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +37 -6
- package/dist/components/arcgis-video-player/customElement.js +110 -102
- package/dist/components/arcgis-video-player/index.js +4 -4
- package/dist/components/arcgis-video-player/types.d.ts +6 -0
- package/dist/components/arcgis-video-player-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-previews/customElement.js +159 -0
- package/dist/components/arcgis-video-player-settings/customElement.js +17 -16
- package/dist/components/arcgis-video-player-slider/customElement.js +23 -12
- package/dist/components/arcgis-video-player-slider/index.js +1 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +32 -12
- package/dist/components/arcgis-volume-measurement/customElement.js +62 -62
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/slider-legacy/types.d.ts +2 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +22 -24
- package/dist/loader.js +22 -22
- package/dist/types/lumina.d.ts +23 -38
- package/dist/types/preact.d.ts +24 -41
- package/dist/types/react.d.ts +25 -44
- package/dist/types/stencil.d.ts +23 -38
- package/package.json +9 -9
- package/dist/cdn/2BGZVOT3.js +0 -2
- package/dist/cdn/2F4IGA4W.js +0 -2
- package/dist/cdn/2KPCMM7D.js +0 -2
- package/dist/cdn/2S7DLLA7.js +0 -2
- package/dist/cdn/2TY3T3GH.js +0 -2
- package/dist/cdn/2U3VASQT.js +0 -2
- package/dist/cdn/2UKSCGYU.js +0 -2
- package/dist/cdn/3C6FN5WT.js +0 -2
- package/dist/cdn/3GHQZCMV.js +0 -2
- package/dist/cdn/3N5MWYUQ.js +0 -2
- package/dist/cdn/3UMLR76Y.js +0 -4
- package/dist/cdn/3VCGDZEU.js +0 -2
- package/dist/cdn/4432P7Z5.js +0 -2
- package/dist/cdn/44CQCIZB.js +0 -2
- package/dist/cdn/4B2TLORL.js +0 -2
- package/dist/cdn/4IWYFG2G.js +0 -2
- package/dist/cdn/4KQA2GRX.js +0 -2
- package/dist/cdn/4O3HLHQQ.js +0 -2
- package/dist/cdn/4PI54LJH.js +0 -2
- package/dist/cdn/4WKWYFIH.js +0 -2
- package/dist/cdn/4XJ6RYYC.js +0 -2
- package/dist/cdn/53OXTCE6.js +0 -2
- package/dist/cdn/5AMF6NZN.js +0 -2
- package/dist/cdn/5DY7GHBN.js +0 -2
- package/dist/cdn/5ESNA4SF.js +0 -2
- package/dist/cdn/5RAIBYCT.js +0 -2
- package/dist/cdn/62IE7RFR.js +0 -2
- package/dist/cdn/67PT3A4A.js +0 -2
- package/dist/cdn/6A2OF3TO.js +0 -2
- package/dist/cdn/6QH2NH2Z.js +0 -2
- package/dist/cdn/6UYEO5Q7.js +0 -2
- package/dist/cdn/6VO7G2UX.js +0 -2
- package/dist/cdn/77U2VO5P.js +0 -2
- package/dist/cdn/7DFCYS72.js +0 -2
- package/dist/cdn/7FCZLFJD.js +0 -2
- package/dist/cdn/7FFBCPVE.js +0 -2
- package/dist/cdn/7TULU5QF.js +0 -2
- package/dist/cdn/7VDBR3SK.js +0 -2
- package/dist/cdn/7VJQVX42.js +0 -2
- package/dist/cdn/A3DPMZWE.js +0 -2
- package/dist/cdn/A4VK42OW.js +0 -2
- package/dist/cdn/A7RLC6ZT.js +0 -2
- package/dist/cdn/AL3PLZEE.js +0 -2
- package/dist/cdn/ALVAGE57.js +0 -2
- package/dist/cdn/AS4FG6IT.js +0 -2
- package/dist/cdn/BI2SI2HK.js +0 -2
- package/dist/cdn/BJWJ6E3L.js +0 -2
- package/dist/cdn/BLOQ2AJ5.js +0 -2
- package/dist/cdn/BQBWXR6P.js +0 -2
- package/dist/cdn/BQGY4YCS.js +0 -2
- package/dist/cdn/BTVNXUZQ.js +0 -2
- package/dist/cdn/BVTEQMDF.js +0 -2
- package/dist/cdn/CBVICP6P.js +0 -2
- package/dist/cdn/CF54A7MK.js +0 -2
- package/dist/cdn/CNYZSE22.js +0 -2
- package/dist/cdn/CP5JALYQ.js +0 -2
- package/dist/cdn/CPYVZPJ7.js +0 -2
- package/dist/cdn/CR6PVUCT.js +0 -2
- package/dist/cdn/DDSIQO4G.js +0 -2
- package/dist/cdn/DK7HXJSX.js +0 -2
- package/dist/cdn/DLWQZHNA.js +0 -2
- package/dist/cdn/DTORO2OE.js +0 -2
- package/dist/cdn/DY2EOHFD.js +0 -2
- package/dist/cdn/DYUCS5QP.js +0 -2
- package/dist/cdn/DYWCAORU.js +0 -2
- package/dist/cdn/E54VGGFM.js +0 -2
- package/dist/cdn/EHEWQ23K.js +0 -2
- package/dist/cdn/EMXGW73P.js +0 -2
- package/dist/cdn/EOAVDNBZ.js +0 -2
- package/dist/cdn/EPH5BN6X.js +0 -2
- package/dist/cdn/EZCHUWDK.js +0 -2
- package/dist/cdn/F34QQ4DO.js +0 -2
- package/dist/cdn/F5IHFPKA.js +0 -2
- package/dist/cdn/FDJGQHUA.js +0 -2
- package/dist/cdn/FF7BSRYW.js +0 -2
- package/dist/cdn/FIZMK7GS.js +0 -1
- package/dist/cdn/FPPWXIBA.js +0 -2
- package/dist/cdn/FSBLGH6E.js +0 -2
- package/dist/cdn/FZAQZSRA.js +0 -2
- package/dist/cdn/G26V76WA.js +0 -2
- package/dist/cdn/GCEBFEZ5.js +0 -2
- package/dist/cdn/GFNCEZSN.js +0 -2
- package/dist/cdn/GHVT7W4O.js +0 -2
- package/dist/cdn/GII4POXM.js +0 -2
- package/dist/cdn/GIIYVCKT.js +0 -2
- package/dist/cdn/GJKFDTVX.js +0 -2
- package/dist/cdn/GK47522P.js +0 -2
- package/dist/cdn/GS2HJTMU.js +0 -2
- package/dist/cdn/GUHSWQMF.js +0 -2
- package/dist/cdn/GUZYCRYS.js +0 -2
- package/dist/cdn/H4LMELM2.js +0 -2
- package/dist/cdn/H7NR6B6S.js +0 -2
- package/dist/cdn/HDHWPKJ4.js +0 -2
- package/dist/cdn/HKLBQ7JD.js +0 -2
- package/dist/cdn/HQSY7TKA.js +0 -2
- package/dist/cdn/IDIAWXUO.js +0 -2
- package/dist/cdn/IFR4IYSI.js +0 -2
- package/dist/cdn/IITDAOGZ.js +0 -2
- package/dist/cdn/ILQDA7LL.js +0 -2
- package/dist/cdn/IQOQTYRR.js +0 -2
- package/dist/cdn/J3FRSWZD.js +0 -2
- package/dist/cdn/JBK5HTJ2.js +0 -2
- package/dist/cdn/JF7VJGL4.js +0 -2
- package/dist/cdn/K23R26AN.js +0 -2
- package/dist/cdn/K7ELALW4.js +0 -2
- package/dist/cdn/K7XSWKZ2.js +0 -2
- package/dist/cdn/KCLVDXWB.js +0 -2
- package/dist/cdn/KFTFKI6A.js +0 -2
- package/dist/cdn/KLVBRTYU.js +0 -2
- package/dist/cdn/KPUEQZ7O.js +0 -2
- package/dist/cdn/KVYBIOH5.js +0 -2
- package/dist/cdn/L46JLXJT.js +0 -2
- package/dist/cdn/LC37F7HF.js +0 -2
- package/dist/cdn/LKAJVIS2.js +0 -2
- package/dist/cdn/LOOJWRCW.js +0 -2
- package/dist/cdn/LU22VNJ7.js +0 -2
- package/dist/cdn/LY6LSUSY.js +0 -2
- package/dist/cdn/LZVMUNZC.js +0 -2
- package/dist/cdn/M2LKA37F.js +0 -2
- package/dist/cdn/M42QFFPZ.js +0 -2
- package/dist/cdn/M5KYBYZT.js +0 -2
- package/dist/cdn/MA2GVVQJ.js +0 -2
- package/dist/cdn/MBGCAZPS.js +0 -4
- package/dist/cdn/MCMACXJV.js +0 -2
- package/dist/cdn/MDWBYUFG.js +0 -2
- package/dist/cdn/MFWSWLBW.js +0 -2
- package/dist/cdn/MMYODAC2.js +0 -2
- package/dist/cdn/MUNSXJ5X.js +0 -2
- package/dist/cdn/MWIDHMQZ.js +0 -2
- package/dist/cdn/NDCZFJEK.js +0 -3
- package/dist/cdn/NFCFPU7K.js +0 -2
- package/dist/cdn/NJPPZJ3L.js +0 -2
- package/dist/cdn/NQOS7L2J.js +0 -2
- package/dist/cdn/NWFGMNGG.js +0 -2
- package/dist/cdn/NY7RHFLZ.js +0 -2
- package/dist/cdn/O5YJPUFM.js +0 -2
- package/dist/cdn/O6HYZKBU.js +0 -2
- package/dist/cdn/OAMPGCZF.js +0 -2
- package/dist/cdn/OPNJGHML.js +0 -2
- package/dist/cdn/OSDGWHZZ.js +0 -2
- package/dist/cdn/P3PXDT5V.js +0 -2
- package/dist/cdn/PBHNO4J7.js +0 -2
- package/dist/cdn/PBYHBRG7.js +0 -2
- package/dist/cdn/PDH2DA3L.js +0 -2
- package/dist/cdn/PGK2ZJCX.js +0 -2
- package/dist/cdn/PGSBUAGV.js +0 -2
- package/dist/cdn/PGXNWDD3.js +0 -2
- package/dist/cdn/PJ5OUPGO.js +0 -2
- package/dist/cdn/PWHXRRFU.js +0 -2
- package/dist/cdn/PZSKFFTG.js +0 -2
- package/dist/cdn/PZUVKZGQ.js +0 -2
- package/dist/cdn/QCVMDYJD.js +0 -2
- package/dist/cdn/QEPANMVK.js +0 -2
- package/dist/cdn/QOIURU47.js +0 -2
- package/dist/cdn/QPSAD5DG.js +0 -2
- package/dist/cdn/QTB5YKHB.js +0 -2
- package/dist/cdn/QWIDIEXY.js +0 -2
- package/dist/cdn/R5QMO5FY.js +0 -2
- package/dist/cdn/R5TCWJ6V.js +0 -2
- package/dist/cdn/R5YW65AI.js +0 -2
- package/dist/cdn/R67ZOCIR.js +0 -2
- package/dist/cdn/RGTUSH6U.js +0 -2
- package/dist/cdn/RVEUCXT4.js +0 -2
- package/dist/cdn/RZGWZ2FJ.js +0 -2
- package/dist/cdn/S7ORGB5E.js +0 -2
- package/dist/cdn/SEY3WDK2.js +0 -2
- package/dist/cdn/SG55TVJ5.js +0 -2
- package/dist/cdn/SHU4AE2X.js +0 -2
- package/dist/cdn/SIZZ3BQA.js +0 -2
- package/dist/cdn/SLAFIIZU.js +0 -2
- package/dist/cdn/SLSGW7B6.js +0 -2
- package/dist/cdn/SNNAV3AS.js +0 -2
- package/dist/cdn/SR4V2CUQ.js +0 -2
- package/dist/cdn/TA723HWT.js +0 -2
- package/dist/cdn/THJMCEEO.js +0 -2
- package/dist/cdn/TJQ3GP5V.js +0 -2
- package/dist/cdn/TKILR2SM.js +0 -2
- package/dist/cdn/TO6SOEDF.js +0 -2
- package/dist/cdn/TPVHN6P2.js +0 -2
- package/dist/cdn/TSNUOFL7.js +0 -2
- package/dist/cdn/U5DIWFPP.js +0 -2
- package/dist/cdn/UTV2A7J4.js +0 -2
- package/dist/cdn/VDEMMP33.js +0 -2
- package/dist/cdn/VDKEQI3H.js +0 -2
- package/dist/cdn/VOBRCUIE.js +0 -2
- package/dist/cdn/VZ6UFS6H.js +0 -2
- package/dist/cdn/W6PA72LV.js +0 -2
- package/dist/cdn/WK4TNKKC.js +0 -2
- package/dist/cdn/WO26ZR5Z.js +0 -2
- package/dist/cdn/WQI5PKS4.js +0 -2
- package/dist/cdn/WS46QSWM.js +0 -2
- package/dist/cdn/WUTCKBNC.js +0 -2
- package/dist/cdn/X7BOBKIH.js +0 -2
- package/dist/cdn/XCTPKDKL.js +0 -2
- package/dist/cdn/XYF36P2O.js +0 -2
- package/dist/cdn/Y42K6IOP.js +0 -2
- package/dist/cdn/YCHVPSSP.js +0 -2
- package/dist/cdn/YFTQR2WS.js +0 -2
- package/dist/cdn/YTLRTUMD.js +0 -2
- package/dist/cdn/YZUSPKNF.js +0 -2
- package/dist/cdn/Z3W7LQ5M.js +0 -2
- package/dist/cdn/Z6AVJWLP.js +0 -2
- package/dist/cdn/Z7H4V2JZ.js +0 -2
- package/dist/cdn/ZAUG5MSY.js +0 -2
- package/dist/cdn/ZF4DFDLT.js +0 -2
- package/dist/cdn/ZFO3PVZQ.js +0 -2
- package/dist/cdn/ZGOAZB5L.js +0 -2
- package/dist/cdn/ZKWI43WZ.js +0 -2
- package/dist/cdn/ZO7TUIUE.js +0 -2
- package/dist/components/arcgis-feature-form-field/index.d.ts +0 -1
- package/dist/components/arcgis-feature-form-field/types.d.ts +0 -7
- package/dist/components/arcgis-feature-form-field-number/customElement.d.ts +0 -4
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +0 -158
- package/dist/components/arcgis-scale-range-slider/customElement.js +0 -26
- package/dist/components/arcgis-scale-range-slider/index.d.ts +0 -1
- package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +0 -84
- package/dist/components/arcgis-sketch/configuration.d.ts +0 -33
- package/dist/components/arcgis-sketch/support.d.ts +0 -17
- package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +0 -75
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +0 -642
- package/dist/components/arcgis-value-picker-legacy/customElement.js +0 -39
- package/dist/components/arcgis-value-picker-legacy/index.d.ts +0 -1
- package/dist/components/arcgis-value-picker-legacy/index.js +0 -1
- /package/dist/cdn/{LW4IDPBB.js → 2P5AJORF.js} +0 -0
- /package/dist/cdn/{M4D5WUVD.js → 4LWSF6AI.js} +0 -0
- /package/dist/cdn/{I4AEBGQM.js → 5GGAWGSN.js} +0 -0
- /package/dist/cdn/{RUW7CDCH.js → 5GTPIPN7.js} +0 -0
- /package/dist/cdn/{5WKEDXRT.js → 62HMPABL.js} +0 -0
- /package/dist/cdn/{Y37UMTGV.js → 7YT5W57B.js} +0 -0
- /package/dist/cdn/{WEOKELJE.js → AKTIOEYM.js} +0 -0
- /package/dist/cdn/{VKRAWBPC.js → AYQJ2LTV.js} +0 -0
- /package/dist/cdn/{REGHMH6D.js → CHMBPPHS.js} +0 -0
- /package/dist/cdn/{UHI54OG6.js → DLUFAV4S.js} +0 -0
- /package/dist/cdn/{7FGOCFTQ.js → DPEWQQEB.js} +0 -0
- /package/dist/cdn/{36ZT6IRE.js → ECA47Z37.js} +0 -0
- /package/dist/cdn/{IBN4TKBI.js → FJMXBIN5.js} +0 -0
- /package/dist/cdn/{OCQXPA57.js → G4IKO2R6.js} +0 -0
- /package/dist/cdn/{22I5XGTS.js → GCPR7XFU.js} +0 -0
- /package/dist/cdn/{QVAB57VJ.js → IAYL44LK.js} +0 -0
- /package/dist/cdn/{QNBNH7ME.js → IRFIHD5X.js} +0 -0
- /package/dist/cdn/{4657ONKJ.js → KOMTNQPT.js} +0 -0
- /package/dist/cdn/{CUVRESLH.js → LS4U4GD5.js} +0 -0
- /package/dist/cdn/{GUZCA62E.js → LVIYMA67.js} +0 -0
- /package/dist/cdn/{HJVHORPG.js → MEISDI2H.js} +0 -0
- /package/dist/cdn/{YHPASRFL.js → N2YWWQOS.js} +0 -0
- /package/dist/cdn/{DNE47HSP.js → NVKOZL7X.js} +0 -0
- /package/dist/cdn/{24MLXKMZ.js → NVN2CATF.js} +0 -0
- /package/dist/cdn/{4O6FFXUV.js → OFBWNR54.js} +0 -0
- /package/dist/cdn/{A7SZYQDH.js → OLSESBZ7.js} +0 -0
- /package/dist/cdn/{54GFXFK4.js → PWZHB6VD.js} +0 -0
- /package/dist/cdn/{XULIO6Y3.js → QWMDZDQA.js} +0 -0
- /package/dist/cdn/{ONFKLY6Q.js → RTDY3HLR.js} +0 -0
- /package/dist/cdn/{LUTUHOKB.js → SFDCS6A2.js} +0 -0
- /package/dist/cdn/{OX3WBUBR.js → SLNXNVPI.js} +0 -0
- /package/dist/cdn/{75UV3NKU.js → SLQPDAGN.js} +0 -0
- /package/dist/cdn/{R2D2TXL4.js → T34W3GKP.js} +0 -0
- /package/dist/cdn/{C5XAFXEL.js → TP2KQRW6.js} +0 -0
- /package/dist/cdn/{EH4CBZNF.js → UDXDE3LW.js} +0 -0
- /package/dist/cdn/{JZHZCJTJ.js → XCSF7KJK.js} +0 -0
- /package/dist/cdn/{NWRWQZGL.js → XGWYQ7FU.js} +0 -0
- /package/dist/cdn/{OCFIQBYK.js → XQ2WXTW7.js} +0 -0
- /package/dist/cdn/{PS3KSP2J.js → ZCL4XHIZ.js} +0 -0
- /package/dist/cdn/{42G6XTIG.js → ZHYXFOYU.js} +0 -0
- /package/dist/cdn/{PY5VGH7F.js → ZNIMZP5R.js} +0 -0
- /package/dist/cdn/{R2P5JM7G.js → ZSKO7HLH.js} +0 -0
- /package/dist/components/{arcgis-feature-form-field-number → arcgis-attachment-detail-view}/index.d.ts +0 -0
- /package/dist/components/{arcgis-scale-range-slider → arcgis-video-player-previews}/index.js +0 -0
|
@@ -3,20 +3,24 @@ import type GraphicsLayer from "@arcgis/core/layers/GraphicsLayer.js";
|
|
|
3
3
|
import type TextSymbol from "@arcgis/core/symbols/TextSymbol.js";
|
|
4
4
|
import type SketchViewModel from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
5
5
|
import type VisibleElements from "@arcgis/core/widgets/Sketch/VisibleElements.js";
|
|
6
|
+
import type Mesh from "@arcgis/core/geometry/Mesh.js";
|
|
6
7
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
7
8
|
import type SketchLabelOptions from "@arcgis/core/views/interactive/sketch/SketchLabelOptions.js";
|
|
8
9
|
import type MapNotesLayer from "@arcgis/core/layers/MapNotesLayer.js";
|
|
9
10
|
import type SketchLayer from "@arcgis/core/layers/SketchLayer.js";
|
|
11
|
+
import type CIMSymbol from "@arcgis/core/symbols/CIMSymbol.js";
|
|
12
|
+
import type SimpleFillSymbol from "@arcgis/core/symbols/SimpleFillSymbol.js";
|
|
13
|
+
import type SimpleLineSymbol from "@arcgis/core/symbols/SimpleLineSymbol.js";
|
|
14
|
+
import type SimpleMarkerSymbol from "@arcgis/core/symbols/SimpleMarkerSymbol.js";
|
|
10
15
|
import type SnappingOptions from "@arcgis/core/views/interactive/snapping/SnappingOptions.js";
|
|
11
16
|
import type SketchTooltipOptions from "@arcgis/core/views/interactive/sketch/SketchTooltipOptions.js";
|
|
12
17
|
import type SketchValueOptions from "@arcgis/core/views/interactive/sketch/SketchValueOptions.js";
|
|
13
18
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
19
|
+
import type Tooltip from "@arcgis/core/views/interactive/Tooltip.js";
|
|
14
20
|
import type { SketchGroupName } from "@arcgis/core/applications/ExperienceBuilder/sketchUtils.js";
|
|
15
21
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
16
22
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
17
|
-
import type { CreateOptions, CreateTool, UpdateEvent, UndoEvent, DuplicateEvent, RedoEvent, DeleteEvent, CreateEvent, CustomToolOptions, CustomActionProperties, CreationMode, UpdateOptions, SketchPointSymbol, SketchPolygonSymbol, SketchPolylineSymbol } from "@arcgis/core/widgets/Sketch/types.js";
|
|
18
|
-
import type { RelativePosition } from "./support.js";
|
|
19
|
-
import type { SketchComponentViewModel } from "./SketchComponentViewModel.js";
|
|
23
|
+
import type { CreateOptions, CreateTool, UpdateEvent, UndoEvent, DuplicateEvent, RedoEvent, DeleteEvent, CreateEvent, CustomToolOptions, CustomActionProperties, SelectionTool, SketchTool, CreationMode, UpdateOptions, SketchPointSymbol, SketchPolygonSymbol, SketchPolylineSymbol } from "@arcgis/core/widgets/Sketch/types.js";
|
|
20
24
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
21
25
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
22
26
|
import type { Button as Button } from "@esri/calcite-components/components/calcite-button";
|
|
@@ -162,10 +166,92 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
162
166
|
plugin: string;
|
|
163
167
|
}>;
|
|
164
168
|
/**
|
|
165
|
-
*
|
|
169
|
+
* The drawing mode (`freehand`, `hybrid`, or `click`) used by the active create tool.
|
|
170
|
+
* The drawing mode affects how clicks, touches, and drag gestures are interpreted during drawing.
|
|
171
|
+
* If no create operation is in progress, this is `null`.
|
|
172
|
+
*
|
|
173
|
+
* @since 5.2
|
|
174
|
+
*/
|
|
175
|
+
accessor activeCreateToolDrawMode: "click" | "freehand" | "hybrid" | null | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* The [SimpleFillSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleFillSymbol/) displayed when actively creating a new polygon graphic.
|
|
178
|
+
*
|
|
179
|
+
* > [!WARNING]
|
|
180
|
+
* >
|
|
181
|
+
* > **Known Limitation**
|
|
182
|
+
* > Not supported in 3D [SceneViews](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
183
|
+
* > To avoid unintended side effects, instantiate a new symbol rather than modifying the current instance.
|
|
184
|
+
*
|
|
185
|
+
* The default value is the following:
|
|
186
|
+
* ```js
|
|
187
|
+
* {
|
|
188
|
+
* type: "simple-fill",
|
|
189
|
+
* style: "solid",
|
|
190
|
+
* color: [150, 150, 150, 0.2],
|
|
191
|
+
* outline: {
|
|
192
|
+
* color: [50, 50, 50],
|
|
193
|
+
* width: 0
|
|
194
|
+
* }
|
|
195
|
+
* }
|
|
196
|
+
* ```
|
|
197
|
+
*
|
|
198
|
+
* @since 5.2
|
|
199
|
+
*/
|
|
200
|
+
accessor activeFillSymbol: CIMSymbol | SimpleFillSymbol | null | undefined;
|
|
201
|
+
/**
|
|
202
|
+
* The [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/) displayed when actively creating a new polyline graphic.
|
|
203
|
+
* This differs from [polylineSymbol](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#polylineSymbol), which is displayed when the graphic
|
|
204
|
+
* has been completed. Setting this symbol also affects the default outline symbol when actively creating
|
|
205
|
+
* a new polygon. A [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleLineSymbol/) is also a valid symbol to use.
|
|
206
|
+
*
|
|
207
|
+
* The default value is the following:
|
|
208
|
+
* ```js
|
|
209
|
+
* new CIMSymbol({
|
|
210
|
+
* data: {
|
|
211
|
+
* type: "CIMSymbolReference",
|
|
212
|
+
* symbol: {
|
|
213
|
+
* type: "CIMLineSymbol",
|
|
214
|
+
* symbolLayers: [
|
|
215
|
+
* {
|
|
216
|
+
* type: "CIMSolidStroke",
|
|
217
|
+
* effects: [
|
|
218
|
+
* {
|
|
219
|
+
* type: "CIMGeometricEffectDashes",
|
|
220
|
+
* dashTemplate: [3.75, 3.75],
|
|
221
|
+
* lineDashEnding: "HalfPattern",
|
|
222
|
+
* controlPointEnding: "NoConstraint"
|
|
223
|
+
* }
|
|
224
|
+
* ],
|
|
225
|
+
* enable: true,
|
|
226
|
+
* capStyle: "Butt",
|
|
227
|
+
* joinStyle: "Round",
|
|
228
|
+
* miterLimit: 10,
|
|
229
|
+
* width: 1.6,
|
|
230
|
+
* color: [255, 255, 255, 255]
|
|
231
|
+
* },
|
|
232
|
+
* {
|
|
233
|
+
* type: "CIMSolidStroke",
|
|
234
|
+
* enable: true,
|
|
235
|
+
* capStyle: "Butt",
|
|
236
|
+
* joinStyle: "Round",
|
|
237
|
+
* miterLimit: 10,
|
|
238
|
+
* width: 2,
|
|
239
|
+
* color: [0, 0, 0, 255]
|
|
240
|
+
* }
|
|
241
|
+
* ]
|
|
242
|
+
* }
|
|
243
|
+
* }
|
|
244
|
+
* });
|
|
245
|
+
* ```
|
|
246
|
+
*
|
|
247
|
+
* @since 5.2
|
|
248
|
+
*/
|
|
249
|
+
accessor activeLineSymbol: CIMSymbol | SimpleLineSymbol | null | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* When creating new graphics (for example after [create()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#create) has been called),
|
|
166
252
|
* this property reflects the create tool being used. When updating graphics
|
|
167
|
-
* (for example after [
|
|
168
|
-
* update tool being used.
|
|
253
|
+
* (for example after [triggerUpdate()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#triggerUpdate) has been called), this property reflects the
|
|
254
|
+
* update tool being used. It also reflects the active selection tool. If no tool is active, this is `undefined`.
|
|
169
255
|
*
|
|
170
256
|
* Prior to 4.32, creation tools were modeled as a combination of a geometry type (point, line, polygon)
|
|
171
257
|
* and an interaction mode (click, freehand, hybrid).
|
|
@@ -180,7 +266,22 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
180
266
|
* To opt in to freehandPolyline and freehandPolygon tools, include them when setting availableCreateTools,
|
|
181
267
|
* and hideCreateTools* properties.
|
|
182
268
|
*/
|
|
183
|
-
get activeTool():
|
|
269
|
+
get activeTool(): SelectionTool | SketchTool | undefined;
|
|
270
|
+
/**
|
|
271
|
+
* The tooltip currently being displayed for [activeTool](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#activeTool).
|
|
272
|
+
* Returns `null` when no tooltip is visible.
|
|
273
|
+
*
|
|
274
|
+
* @since 5.2
|
|
275
|
+
*/
|
|
276
|
+
accessor activeTooltip: Tooltip | null;
|
|
277
|
+
/**
|
|
278
|
+
* The symbol used to indicate active vertices while creating graphics.
|
|
279
|
+
*
|
|
280
|
+
* This symbol is only used with the legacy create tools.
|
|
281
|
+
*
|
|
282
|
+
* @since 5.2
|
|
283
|
+
*/
|
|
284
|
+
accessor activeVertexSymbol: SimpleMarkerSymbol | CIMSymbol | null | undefined;
|
|
184
285
|
/**
|
|
185
286
|
* If true, the component will not be destroyed automatically when it is
|
|
186
287
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -202,7 +303,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
202
303
|
accessor autoDestroyDisabled: boolean;
|
|
203
304
|
/**
|
|
204
305
|
* Property controlling the visibility and order of create tool buttons.
|
|
205
|
-
* Create tool buttons will only be rendered if they are in this
|
|
306
|
+
* Create tool buttons will only be rendered if they are in this collection and the
|
|
206
307
|
* matching hide/show property or attribute is configured to show the tool.
|
|
207
308
|
*
|
|
208
309
|
* @default ["point", "polyline", "freehandPolyline", "polygon", "freehandPolygon", "rectangle", "circle"]
|
|
@@ -218,7 +319,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
218
319
|
/** The graphic that is being created. */
|
|
219
320
|
get createGraphic(): Graphic | null | undefined;
|
|
220
321
|
/**
|
|
221
|
-
* Defines the default behavior once the [create()](https://developers.arcgis.com/javascript/latest/references/
|
|
322
|
+
* Defines the default behavior once the [create()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#create) operation is completed. By default, the user will be
|
|
222
323
|
* able to continuously create graphics with same geometry types.
|
|
223
324
|
*
|
|
224
325
|
* **Possible Values**
|
|
@@ -227,14 +328,14 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
227
328
|
* ----- | ----------- |
|
|
228
329
|
* continuous | This is the default. Users can continue creating graphics with same geometry types.
|
|
229
330
|
* single | User can create a single graphic with the specified geometry type. User must choose an operation once the graphic is created.
|
|
230
|
-
* update | The graphic will be selected for an
|
|
331
|
+
* update | The graphic will be selected for an update operation once the `create` operation is completed.
|
|
231
332
|
*
|
|
232
333
|
* @default "continuous"
|
|
233
|
-
* @since 4.14
|
|
234
334
|
*/
|
|
235
335
|
accessor creationMode: CreationMode;
|
|
236
336
|
/**
|
|
237
|
-
* Default create options set for the Sketch component.
|
|
337
|
+
* Default create options set for the Sketch component. Options passed to
|
|
338
|
+
* [create()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#create) override these defaults for that operation.
|
|
238
339
|
*
|
|
239
340
|
* @since 4.14
|
|
240
341
|
*/
|
|
@@ -242,36 +343,33 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
242
343
|
/**
|
|
243
344
|
* By default, sketch will create and manage a graphics layer.
|
|
244
345
|
*
|
|
245
|
-
* Set this
|
|
346
|
+
* Set this property to `true` to disable this behavior. Disabling the default
|
|
246
347
|
* graphics layer is recommended if supplying your own layer.
|
|
247
348
|
*
|
|
248
349
|
* @default false
|
|
249
350
|
*/
|
|
250
351
|
accessor defaultGraphicsLayerDisabled: boolean;
|
|
251
352
|
/**
|
|
252
|
-
* Default update options set for the Sketch component.
|
|
253
|
-
*
|
|
353
|
+
* Default update options set for the Sketch component. Options passed to
|
|
354
|
+
* [triggerUpdate()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#triggerUpdate) override these defaults for that operation.
|
|
254
355
|
*
|
|
255
|
-
* @since 4.11
|
|
256
356
|
* @example
|
|
257
357
|
* // Turn off highlights for update operations
|
|
258
|
-
* const sketch =
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
* });
|
|
266
|
-
* // Turn off highlights from the update() method
|
|
358
|
+
* const sketch = document.querySelector("arcgis-sketch");
|
|
359
|
+
* sketch.defaultUpdateOptions = {
|
|
360
|
+
* highlightOptions: {
|
|
361
|
+
* enabled: false
|
|
362
|
+
* }
|
|
363
|
+
* };
|
|
364
|
+
* // Override options for an individual update operation
|
|
267
365
|
* const updateOptions = { tool: "reshape", highlightOptions: { enabled: false }};
|
|
268
|
-
* sketch.
|
|
366
|
+
* await sketch.triggerUpdate(graphic, updateOptions);
|
|
269
367
|
*/
|
|
270
368
|
accessor defaultUpdateOptions: UpdateOptions;
|
|
271
369
|
/**
|
|
272
370
|
* Indicates whether an asynchronous geometry simplification operation is in progress.
|
|
273
371
|
*
|
|
274
|
-
* New create and update operations are blocked
|
|
372
|
+
* New create and update operations are blocked while this is `true`. Call [cancel()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#cancel)
|
|
275
373
|
* to cancel the long-running operation.
|
|
276
374
|
*
|
|
277
375
|
* @default false
|
|
@@ -339,7 +437,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
339
437
|
/**
|
|
340
438
|
* Indicates whether to hide display of the geometry simplification progress indicator while geometry simplification is in progress.
|
|
341
439
|
*
|
|
342
|
-
* When set to `
|
|
440
|
+
* When set to `true`, the progress indicator is not shown.
|
|
343
441
|
*
|
|
344
442
|
* @default false
|
|
345
443
|
* @remarks
|
|
@@ -352,7 +450,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
352
450
|
*/
|
|
353
451
|
accessor hideGeometrySimplificationActivityIndicator: boolean;
|
|
354
452
|
/**
|
|
355
|
-
* Indicates whether to hide the sketch labels toggle
|
|
453
|
+
* Indicates whether to hide the sketch labels toggle.
|
|
356
454
|
*
|
|
357
455
|
* @default false
|
|
358
456
|
* @since 5.0
|
|
@@ -396,6 +494,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
396
494
|
accessor hideSinglePluginBackButton: boolean;
|
|
397
495
|
/**
|
|
398
496
|
* Indicates whether to hide the snapping controls portion of the settings menu.
|
|
497
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
399
498
|
*
|
|
400
499
|
* @default false
|
|
401
500
|
* @since 5.0
|
|
@@ -404,11 +503,14 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
404
503
|
/**
|
|
405
504
|
* Indicates whether to hide the `enabledToggle` (Enable snapping). This toggles
|
|
406
505
|
* the [SnappingOptions#enabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#enabled) property.
|
|
506
|
+
*
|
|
507
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
508
|
+
*
|
|
407
509
|
* > [!WARNING]
|
|
408
510
|
* >
|
|
409
511
|
* > **Note**
|
|
410
512
|
* >
|
|
411
|
-
* > It is recommended to set `
|
|
513
|
+
* > It is recommended to set `snappingOptions.enabled` to `true` if `hideSnappingControlsElementsEnabledToggle` is set to `true`.
|
|
412
514
|
* > This is because `selfEnabledToggle` and `featureEnabledToggle` require snapping globally to be enabled in order to be interactive. Otherwise, these toggles will not be responsive.
|
|
413
515
|
*
|
|
414
516
|
* @default false
|
|
@@ -418,6 +520,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
418
520
|
/**
|
|
419
521
|
* Indicates whether to hide the `featureEnabledToggle` (Feature to feature). This toggles
|
|
420
522
|
* the [SnappingOptions#featureEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#featureEnabled) property.
|
|
523
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
421
524
|
*
|
|
422
525
|
* @default false
|
|
423
526
|
* @since 5.0
|
|
@@ -425,6 +528,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
425
528
|
accessor hideSnappingControlsElementsFeatureEnabledToggle: boolean;
|
|
426
529
|
/**
|
|
427
530
|
* Indicates whether to hide the `gridControls` (configuration of the snapping grid).
|
|
531
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
428
532
|
*
|
|
429
533
|
* @default false
|
|
430
534
|
* @since 5.1
|
|
@@ -432,6 +536,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
432
536
|
accessor hideSnappingControlsElementsGridControls: boolean;
|
|
433
537
|
/**
|
|
434
538
|
* Indicates whether to hide the `colorSelection` within the snapping grid controls.
|
|
539
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
435
540
|
*
|
|
436
541
|
* @default false
|
|
437
542
|
* @since 5.1
|
|
@@ -439,6 +544,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
439
544
|
accessor hideSnappingControlsElementsGridControlsElementsColorSelection: boolean;
|
|
440
545
|
/**
|
|
441
546
|
* Indicates whether to hide the `dynamicScaleToggle` within the snapping grid controls.
|
|
547
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
442
548
|
*
|
|
443
549
|
* @default false
|
|
444
550
|
* @since 5.1
|
|
@@ -446,6 +552,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
446
552
|
accessor hideSnappingControlsElementsGridControlsElementsDynamicScaleToggle: boolean;
|
|
447
553
|
/**
|
|
448
554
|
* Indicates whether to hide the `lineIntervalInput` within the snapping grid controls.
|
|
555
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
449
556
|
*
|
|
450
557
|
* @default false
|
|
451
558
|
* @since 5.1
|
|
@@ -453,6 +560,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
453
560
|
accessor hideSnappingControlsElementsGridControlsElementsLineIntervalInput: boolean;
|
|
454
561
|
/**
|
|
455
562
|
* Indicates whether to hide the `numericInputs` within the snapping grid controls.
|
|
563
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
456
564
|
*
|
|
457
565
|
* @default false
|
|
458
566
|
* @since 5.1
|
|
@@ -460,6 +568,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
460
568
|
accessor hideSnappingControlsElementsGridControlsElementsNumericInputs: boolean;
|
|
461
569
|
/**
|
|
462
570
|
* Indicates whether to hide the `outOfScaleWarning` within the snapping grid controls.
|
|
571
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
463
572
|
*
|
|
464
573
|
* @default false
|
|
465
574
|
* @since 5.1
|
|
@@ -467,6 +576,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
467
576
|
accessor hideSnappingControlsElementsGridControlsElementsOutOfScaleWarning: boolean;
|
|
468
577
|
/**
|
|
469
578
|
* Indicates whether to hide the `placementButtons` within the snapping grid controls.
|
|
579
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
470
580
|
*
|
|
471
581
|
* @default false
|
|
472
582
|
* @since 5.1
|
|
@@ -474,6 +584,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
474
584
|
accessor hideSnappingControlsElementsGridControlsElementsPlacementButtons: boolean;
|
|
475
585
|
/**
|
|
476
586
|
* Indicates whether to hide the `rotateWithMapToggle` within the snapping grid controls.
|
|
587
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
477
588
|
*
|
|
478
589
|
* @default false
|
|
479
590
|
* @since 5.1
|
|
@@ -481,6 +592,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
481
592
|
accessor hideSnappingControlsElementsGridControlsElementsRotateWithMapToggle: boolean;
|
|
482
593
|
/**
|
|
483
594
|
* Indicates whether to hide the `gridEnabledToggle` (snap-to-grid).
|
|
595
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
484
596
|
*
|
|
485
597
|
* @default false
|
|
486
598
|
* @since 5.1
|
|
@@ -488,6 +600,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
488
600
|
accessor hideSnappingControlsElementsGridEnabledToggle: boolean;
|
|
489
601
|
/**
|
|
490
602
|
* Indicates whether to hide the [FeatureSnappingLayerSource](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/FeatureSnappingLayerSource/) layerList. The layerlist provides the available layer sources supported for snapping.
|
|
603
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
491
604
|
*
|
|
492
605
|
* @default false
|
|
493
606
|
* @since 5.0
|
|
@@ -496,13 +609,15 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
496
609
|
/**
|
|
497
610
|
* Indicates whether to hide the `selfEnabledToggle` (Geometry guides). This toggles
|
|
498
611
|
* the [SnappingOptions#selfEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#selfEnabled) property.
|
|
612
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
499
613
|
*
|
|
500
614
|
* @default false
|
|
501
615
|
* @since 5.0
|
|
502
616
|
*/
|
|
503
617
|
accessor hideSnappingControlsElementsSelfEnabledToggle: boolean;
|
|
504
618
|
/**
|
|
505
|
-
* Indicates whether to hide the tooltips toggle
|
|
619
|
+
* Indicates whether to hide the tooltips toggle.
|
|
620
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
506
621
|
*
|
|
507
622
|
* @default false
|
|
508
623
|
* @since 5.0
|
|
@@ -538,7 +653,7 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
538
653
|
*/
|
|
539
654
|
accessor labelOptions: SketchLabelOptions;
|
|
540
655
|
/**
|
|
541
|
-
* The [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/) associated with the Sketch component. The Sketch component adds new [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/) to this layer or can only update graphics
|
|
656
|
+
* The [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/) or [SketchLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/SketchLayer/) associated with the Sketch component. The Sketch component adds new [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/) to this layer or can only update graphics
|
|
542
657
|
* stored in this layer.
|
|
543
658
|
*/
|
|
544
659
|
accessor layer: GraphicsLayer | MapNotesLayer | SketchLayer | null | undefined;
|
|
@@ -660,14 +775,26 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
660
775
|
accessor showCreateToolsText: boolean;
|
|
661
776
|
/**
|
|
662
777
|
* Indicates whether to display the header.
|
|
778
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
663
779
|
*
|
|
664
780
|
* @default false
|
|
665
781
|
* @since 5.0
|
|
666
782
|
*/
|
|
667
783
|
accessor showSnappingControlsElementsHeader: boolean;
|
|
668
|
-
/**
|
|
784
|
+
/**
|
|
785
|
+
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/) for sketching. It supports [self](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#selfEnabled) and [feature](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/SnappingOptions/#featureEnabled) snapping.
|
|
786
|
+
* These options are preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
787
|
+
*/
|
|
669
788
|
accessor snappingOptions: SnappingOptions;
|
|
670
|
-
/**
|
|
789
|
+
/**
|
|
790
|
+
* The Sketch component's state.
|
|
791
|
+
*
|
|
792
|
+
* Value | Description |
|
|
793
|
+
* ----- | ----------- |
|
|
794
|
+
* disabled | The component is not ready to create or update graphics.
|
|
795
|
+
* ready | The component is ready to start an operation.
|
|
796
|
+
* active | A create or update operation is in progress.
|
|
797
|
+
*/
|
|
671
798
|
get state(): SketchViewModel["state"];
|
|
672
799
|
/**
|
|
673
800
|
* A [TextSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/TextSymbol/) used for representing the geometry that is being drawn.
|
|
@@ -698,12 +825,17 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
698
825
|
* @since 4.32
|
|
699
826
|
*/
|
|
700
827
|
accessor toolbarKind: "docked" | "floating";
|
|
701
|
-
/**
|
|
828
|
+
/**
|
|
829
|
+
* Options to configure the tooltip shown next to the cursor when creating or updating graphics.
|
|
830
|
+
* These options are preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
831
|
+
*/
|
|
702
832
|
accessor tooltipOptions: SketchTooltipOptions;
|
|
703
833
|
/** An array of [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/) that are being updated by the Sketch component. */
|
|
704
834
|
get updateGraphics(): Collection<Graphic>;
|
|
705
835
|
/**
|
|
706
|
-
*
|
|
836
|
+
* Indicates whether to prevent the user from clicking a graphic in the layer to start updating it.
|
|
837
|
+
* Set this property to `true` to implement custom [MapView.hitTest](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#hitTest) logic, then call
|
|
838
|
+
* [triggerUpdate()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#triggerUpdate) to update the chosen graphics.
|
|
707
839
|
*
|
|
708
840
|
* @default false
|
|
709
841
|
* @since 5.1
|
|
@@ -729,13 +861,15 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
729
861
|
*/
|
|
730
862
|
accessor useLegacyCreateTools: boolean;
|
|
731
863
|
/**
|
|
732
|
-
*
|
|
864
|
+
* If true, the component uses snapping, tooltips, display units, and input units from [ViewOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ViewOptions/).
|
|
733
865
|
*
|
|
734
|
-
* When
|
|
866
|
+
* When this property is `true`:
|
|
735
867
|
*
|
|
736
|
-
*
|
|
868
|
+
* - Snapping and tooltip options are inherited from the view. The component's [snappingOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#snappingOptions) and [tooltipOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#tooltipOptions) are preserved but ignored.
|
|
869
|
+
* - Snapping controls and the tooltip toggle are hidden from the component's Settings menu. Their visibility properties (e.g. [hideSnappingControlsElementsGridControls](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#hideSnappingControlsElementsGridControls)) are preserved but ignored.
|
|
870
|
+
* - Units set through [valueOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#valueOptions) override the corresponding units on the view, such as length or area, without changing the view's options. Setting a unit to `null` or `undefined` restores inheritance for that measurement type.
|
|
737
871
|
*
|
|
738
|
-
*
|
|
872
|
+
* When `false`, the component uses its own snapping, tooltip, and unit options instead.
|
|
739
873
|
*
|
|
740
874
|
* Label [options](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#labelOptions) and [direction mode](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/options/ValueOptions/#directionMode) are not inherited from the view.
|
|
741
875
|
*
|
|
@@ -747,7 +881,10 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
747
881
|
* @default false
|
|
748
882
|
*/
|
|
749
883
|
accessor useViewOptions: boolean;
|
|
750
|
-
/**
|
|
884
|
+
/**
|
|
885
|
+
* Options to configure how values are displayed and input when creating or updating graphics.
|
|
886
|
+
* See [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) for unit inheritance and override behavior.
|
|
887
|
+
*/
|
|
751
888
|
accessor valueOptions: SketchValueOptions;
|
|
752
889
|
/**
|
|
753
890
|
* The view associated with the component.
|
|
@@ -765,20 +902,168 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
765
902
|
* @since 5.0
|
|
766
903
|
*/
|
|
767
904
|
accessor visualScale: Button["scale"];
|
|
905
|
+
/**
|
|
906
|
+
* Convenience method for adding a graphic to the appropriate Sketch layer.
|
|
907
|
+
* Does not affect any active operations.
|
|
908
|
+
*
|
|
909
|
+
* @param graphic - The graphic to add.
|
|
910
|
+
* @since 5.2
|
|
911
|
+
*/
|
|
912
|
+
addGraphic(graphic: Graphic): Promise<void>;
|
|
913
|
+
/**
|
|
914
|
+
* Convenience method for adding multiple graphics to the appropriate Sketch layer.
|
|
915
|
+
* Does not affect any active operations.
|
|
916
|
+
*
|
|
917
|
+
* @param graphics - The graphics to add.
|
|
918
|
+
* @since 5.2
|
|
919
|
+
*/
|
|
920
|
+
addGraphics(graphics: Graphic[]): Promise<void>;
|
|
921
|
+
/**
|
|
922
|
+
* Cancels the active operation and fires the [@arcgisCreate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisCreate) or
|
|
923
|
+
* [@arcgisUpdate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisUpdate) event.
|
|
924
|
+
* If called in the middle of a create operation, discards the partially created graphic.
|
|
925
|
+
* Also cancels pending operations and active selection tools, restoring a `ready` state.
|
|
926
|
+
*/
|
|
768
927
|
cancel(): Promise<void>;
|
|
928
|
+
/**
|
|
929
|
+
* Indicates if it is possible to perform a redo action.
|
|
930
|
+
*
|
|
931
|
+
* @returns Resolves to `true` if redo is possible.
|
|
932
|
+
* @since 5.2
|
|
933
|
+
*/
|
|
934
|
+
canRedo(): Promise<boolean>;
|
|
935
|
+
/**
|
|
936
|
+
* Indicates if it is possible to perform an undo action.
|
|
937
|
+
*
|
|
938
|
+
* @returns Resolves to `true` if undo is possible.
|
|
939
|
+
* @since 5.2
|
|
940
|
+
*/
|
|
941
|
+
canUndo(): Promise<boolean>;
|
|
942
|
+
/**
|
|
943
|
+
* Completes the active operation and fires the [@arcgisCreate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisCreate) or
|
|
944
|
+
* [@arcgisUpdate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisUpdate) event with its state set to `complete`.
|
|
945
|
+
* If called in the middle of a create operation, finishes the operation and keeps the valid geometry.
|
|
946
|
+
*/
|
|
769
947
|
complete(): Promise<void>;
|
|
770
948
|
/**
|
|
771
|
-
*
|
|
772
|
-
* @
|
|
949
|
+
* Creates a graphic with the geometry specified by `tool`. When the first vertex of the graphic is added,
|
|
950
|
+
* the [@arcgisCreate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisCreate) event starts firing.
|
|
951
|
+
* The provided tool becomes the [activeTool](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#activeTool).
|
|
952
|
+
*
|
|
953
|
+
* @param tool - Name of the create tool. Specifies the geometry for the graphic to be created.
|
|
954
|
+
* @param createOptions - Options for the graphic to be created. Overrides [defaultCreateOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#defaultCreateOptions).
|
|
955
|
+
* @returns Resolves when the requested create tool has been loaded and is ready to use, not when the user finishes drawing.
|
|
956
|
+
* @example
|
|
957
|
+
* const sketch = document.querySelector("arcgis-sketch");
|
|
958
|
+
* sketch.addEventListener("arcgisCreate", (event) => {
|
|
959
|
+
* if (event.detail.state === "complete") {
|
|
960
|
+
* console.log("Created graphic", event.detail.graphic);
|
|
961
|
+
* }
|
|
962
|
+
* });
|
|
963
|
+
*
|
|
964
|
+
* await sketch.create("polygon", { mode: "freehand" });
|
|
965
|
+
*
|
|
966
|
+
* // Create a square.
|
|
967
|
+
* await sketch.create("rectangle", { preserveAspectRatio: true });
|
|
968
|
+
*
|
|
969
|
+
* // Create an ellipse.
|
|
970
|
+
* await sketch.create("circle", { preserveAspectRatio: false });
|
|
773
971
|
*/
|
|
774
972
|
create(tool: CreateTool, createOptions?: CreateOptions): Promise<void>;
|
|
973
|
+
/**
|
|
974
|
+
* Deletes the selected graphics used in the update workflow.
|
|
975
|
+
* Calling this method fires the [@arcgisDelete](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisDelete) event.
|
|
976
|
+
*
|
|
977
|
+
* @example
|
|
978
|
+
* sketch.addEventListener("arcgisDelete", (event) => {
|
|
979
|
+
* event.detail.graphics.forEach((graphic) => {
|
|
980
|
+
* console.log("Deleted graphic", graphic);
|
|
981
|
+
* });
|
|
982
|
+
* });
|
|
983
|
+
*
|
|
984
|
+
* await sketch.delete();
|
|
985
|
+
*/
|
|
775
986
|
delete(): Promise<void>;
|
|
776
987
|
/** Permanently destroy the component. */
|
|
777
988
|
destroy(): Promise<void>;
|
|
778
989
|
/** @internal */
|
|
779
990
|
dismissFloatingElements(): Promise<void>;
|
|
991
|
+
/**
|
|
992
|
+
* Duplicates the selected graphics used in the update workflow and automatically adds them to the associated layer.
|
|
993
|
+
* Calling this method fires the [@arcgisDuplicate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisDuplicate) event with the duplicated graphics.
|
|
994
|
+
*/
|
|
780
995
|
duplicate(): Promise<void>;
|
|
996
|
+
/**
|
|
997
|
+
* Convenience method for determining if a graphic belongs to a current Sketch layer or sublayer.
|
|
998
|
+
*
|
|
999
|
+
* @param graphic - The graphic to check.
|
|
1000
|
+
* @returns Resolves to `true` if the graphic belongs to a current Sketch layer or sublayer.
|
|
1001
|
+
* @since 5.2
|
|
1002
|
+
*/
|
|
1003
|
+
hasGraphic(graphic: Graphic): Promise<boolean>;
|
|
1004
|
+
/**
|
|
1005
|
+
* Creates a graphic similarly to [create()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#create), but accepts the geometry directly.
|
|
1006
|
+
* Placement is then completed interactively by the user. Currently only [Mesh](https://developers.arcgis.com/javascript/latest/references/core/geometry/Mesh/) placement is supported.
|
|
1007
|
+
*
|
|
1008
|
+
* The [@arcgisCreate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisCreate) event starts firing, and a create tool becomes the
|
|
1009
|
+
* [activeTool](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#activeTool) until placement finishes.
|
|
1010
|
+
*
|
|
1011
|
+
* @param geometry - Mesh geometry to place when creating the graphic.
|
|
1012
|
+
* @example
|
|
1013
|
+
* // create mesh at the global origin
|
|
1014
|
+
* const box = meshUtils.createBox(new Point({
|
|
1015
|
+
* x: 0,
|
|
1016
|
+
* y: 0,
|
|
1017
|
+
* z: 0,
|
|
1018
|
+
* spatialReference: SpatialReference.WGS84
|
|
1019
|
+
* }));
|
|
1020
|
+
*
|
|
1021
|
+
* // Call place method to place a mesh - this will allow the user to place the mesh using the mouse
|
|
1022
|
+
* await sketch.place(box);
|
|
1023
|
+
*
|
|
1024
|
+
* // listen to create event, only respond when event's state changes to complete
|
|
1025
|
+
* sketch.addEventListener("arcgisCreate", function(event) {
|
|
1026
|
+
* if (event.detail.state === "complete") {
|
|
1027
|
+
* // retrieve the final position of the mesh which was chosen by the user
|
|
1028
|
+
* const mesh = event.detail.graphic.geometry;
|
|
1029
|
+
* const placedLocation = mesh.origin;
|
|
1030
|
+
* }
|
|
1031
|
+
* });
|
|
1032
|
+
* @since 5.2
|
|
1033
|
+
*/
|
|
1034
|
+
place(geometry: Mesh): Promise<void>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Redoes the last undone operation.
|
|
1037
|
+
*
|
|
1038
|
+
* The undo/redo stack is for an individual sketch operation, meaning you can redo/undo actions while creating or updating a graphic.
|
|
1039
|
+
*/
|
|
781
1040
|
redo(): Promise<void>;
|
|
1041
|
+
/**
|
|
1042
|
+
* Convenience method for removing all graphics from the appropriate Sketch layer.
|
|
1043
|
+
* Any active operation will automatically be cancelled if any removed graphics are the target of
|
|
1044
|
+
* an active operation.
|
|
1045
|
+
*
|
|
1046
|
+
* @since 5.2
|
|
1047
|
+
*/
|
|
1048
|
+
removeAllGraphics(): Promise<void>;
|
|
1049
|
+
/**
|
|
1050
|
+
* Convenience method for removing a graphic from the appropriate Sketch layer.
|
|
1051
|
+
* Any active operation will automatically be cancelled if the graphic is one of the targets
|
|
1052
|
+
* of the active operation.
|
|
1053
|
+
*
|
|
1054
|
+
* @param graphic - The graphic to remove.
|
|
1055
|
+
* @since 5.2
|
|
1056
|
+
*/
|
|
1057
|
+
removeGraphic(graphic: Graphic): Promise<void>;
|
|
1058
|
+
/**
|
|
1059
|
+
* Convenience method for removing multiple graphics from the appropriate Sketch layer.
|
|
1060
|
+
* Any active operation will automatically be cancelled if any of the graphics are the target of
|
|
1061
|
+
* an active operation.
|
|
1062
|
+
*
|
|
1063
|
+
* @param graphics - The graphics to remove.
|
|
1064
|
+
* @since 5.2
|
|
1065
|
+
*/
|
|
1066
|
+
removeGraphics(graphics: Graphic[]): Promise<void>;
|
|
782
1067
|
/**
|
|
783
1068
|
* @param location
|
|
784
1069
|
* @internal
|
|
@@ -800,10 +1085,28 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
800
1085
|
*/
|
|
801
1086
|
setGroupCollapsePriorities(priorities: Map<SketchGroupName, number> | null): Promise<void>;
|
|
802
1087
|
/**
|
|
803
|
-
*
|
|
804
|
-
*
|
|
1088
|
+
* Initializes an update operation for the specified graphic(s).
|
|
1089
|
+
*
|
|
1090
|
+
* @param graphic - A graphic or an array of graphics to be updated. Only graphics in the sketch layer can be updated.
|
|
1091
|
+
* @param updateOptions - Update options for the graphics to be updated.
|
|
1092
|
+
* @returns Resolves when the requested update tool has been loaded and is ready to use.
|
|
1093
|
+
* @example
|
|
1094
|
+
* // start update operation for the selected graphic
|
|
1095
|
+
* // with transform tool. Only allow uniform scaling operation.
|
|
1096
|
+
* await sketch.triggerUpdate([selectedGraphic], {
|
|
1097
|
+
* tool: "transform",
|
|
1098
|
+
* enableRotation: false,
|
|
1099
|
+
* enableScaling: true,
|
|
1100
|
+
* preserveAspectRatio: true,
|
|
1101
|
+
* toggleToolOnClick: false
|
|
1102
|
+
* });
|
|
805
1103
|
*/
|
|
806
1104
|
triggerUpdate(graphic: Parameters<SketchViewModel["update"]>[0], updateOptions?: Parameters<SketchViewModel["update"]>[1]): Promise<void>;
|
|
1105
|
+
/**
|
|
1106
|
+
* Undoes the last operation.
|
|
1107
|
+
* The undo/redo stack is for an individual sketch operation, meaning you can redo/undo actions while creating or updating a graphic.
|
|
1108
|
+
* The undo stack is cleared when an operation completes.
|
|
1109
|
+
*/
|
|
807
1110
|
undo(): Promise<void>;
|
|
808
1111
|
"@setterTypes": {
|
|
809
1112
|
relativePosition?: RelativePosition | undefined;
|
|
@@ -834,4 +1137,18 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
834
1137
|
arcgisUndo: ArcgisSketch["arcgisUndo"]["detail"];
|
|
835
1138
|
arcgisUpdate: ArcgisSketch["arcgisUpdate"]["detail"];
|
|
836
1139
|
};
|
|
837
|
-
}
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
/** @since 5.2 */
|
|
1143
|
+
export type RelativePosition = (typeof relativePositions)[number];
|
|
1144
|
+
|
|
1145
|
+
export const relativePositions: readonly [
|
|
1146
|
+
"bottom-end",
|
|
1147
|
+
"bottom-start",
|
|
1148
|
+
"bottom-left",
|
|
1149
|
+
"bottom-right",
|
|
1150
|
+
"top-end",
|
|
1151
|
+
"top-start",
|
|
1152
|
+
"top-left",
|
|
1153
|
+
"top-right"
|
|
1154
|
+
];
|