@arcgis/map-components 6.0.0-next.4 → 6.0.0-next.41
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/{ZBC5RBCD.js → 27TSPXYV.js} +1 -1
- package/dist/cdn/2BKWAHTD.js +2 -0
- package/dist/cdn/2EXFLJU6.js +2 -0
- package/dist/cdn/2J6WEB6T.js +2 -0
- package/dist/cdn/2JSC2QUL.js +2 -0
- package/dist/cdn/2PRSXEWN.js +2 -0
- package/dist/cdn/2TATEEFZ.js +2 -0
- package/dist/cdn/2X67IX24.js +2 -0
- package/dist/cdn/3AMV4V75.js +2 -0
- package/dist/cdn/3GEL52XF.js +2 -0
- package/dist/cdn/{QKZ552KI.js → 3SMFVQGP.js} +1 -1
- package/dist/cdn/3TKC6DSX.js +2 -0
- package/dist/cdn/3VFPLRD3.js +2 -0
- package/dist/cdn/42QIJYPN.js +2 -0
- package/dist/cdn/{AN7R3DP5.js → 43IGD6V3.js} +1 -1
- package/dist/cdn/{SAOLD6MH.js → 446K7RDY.js} +1 -1
- package/dist/cdn/44ZEP4IY.js +2 -0
- package/dist/cdn/46XABBUQ.js +2 -0
- package/dist/cdn/4DRKK3S6.js +2 -0
- package/dist/cdn/4HP7BSCJ.js +2 -0
- package/dist/cdn/4JR57ZIQ.js +2 -0
- package/dist/cdn/4KLQZIOV.js +2 -0
- package/dist/cdn/{QT7GRA34.js → 4LFTK2G2.js} +1 -1
- package/dist/cdn/{DUMHDAYP.js → 4O6ZYILT.js} +1 -1
- package/dist/cdn/4OOG2D4K.js +2 -0
- package/dist/cdn/4PM34QMT.js +2 -0
- package/dist/cdn/4U6DCBKV.js +2 -0
- package/dist/cdn/5CXJJCRX.js +2 -0
- package/dist/cdn/5GEEJRIV.js +2 -0
- package/dist/cdn/5IWCWL2Q.js +2 -0
- package/dist/cdn/5VK56DPB.js +2 -0
- package/dist/cdn/{ABOTJ6RE.js → 5XZKVLHC.js} +1 -1
- package/dist/cdn/{VTCE3YQW.js → 5YPWQQGI.js} +1 -1
- package/dist/cdn/625O4F4L.js +2 -0
- package/dist/cdn/64Z2GM4G.js +2 -0
- package/dist/cdn/6BT6RP22.js +2 -0
- package/dist/cdn/{ESOCZAMZ.js → 6DNLVSRG.js} +1 -1
- package/dist/cdn/6GFNMSM4.js +2 -0
- package/dist/cdn/6H3MIUBS.js +2 -0
- package/dist/cdn/6KYZMT4A.js +2 -0
- package/dist/cdn/6QZ7MAGX.js +2 -0
- package/dist/cdn/6SL7YNKF.js +2 -0
- package/dist/cdn/6WT5CUW4.js +2 -0
- package/dist/cdn/7LXH7MOG.js +2 -0
- package/dist/cdn/7P24CQF4.js +2 -0
- package/dist/cdn/7PMJ7HCH.js +2 -0
- package/dist/cdn/A6ANFEOT.js +2 -0
- package/dist/cdn/AGMTGWSW.js +2 -0
- package/dist/cdn/AMRGLUBB.js +2 -0
- package/dist/cdn/ANB7YZCR.js +2 -0
- package/dist/cdn/{V2YPYCU6.js → ANL4FWAY.js} +1 -1
- package/dist/cdn/{2SO5S66J.js → AV6RANT4.js} +1 -1
- package/dist/cdn/B5JHLGAR.js +2 -0
- package/dist/cdn/{KBA5OIES.js → BBCJXNKF.js} +1 -1
- package/dist/cdn/BDWZ4IDY.js +2 -0
- package/dist/cdn/BJUFDQGX.js +2 -0
- package/dist/cdn/BMCWYFA5.js +2 -0
- package/dist/cdn/BUJRBKUJ.js +2 -0
- package/dist/cdn/BXBPEOE3.js +2 -0
- package/dist/cdn/BZ7I4EVH.js +2 -0
- package/dist/cdn/C56JAWYF.js +2 -0
- package/dist/cdn/C6YBFPOZ.js +2 -0
- package/dist/cdn/CDZ5APA7.js +2 -0
- package/dist/cdn/CLAUPAZP.js +2 -0
- package/dist/cdn/CN4RPDZZ.js +2 -0
- package/dist/cdn/CNUAMIZQ.js +3 -0
- package/dist/cdn/CRF4QEYX.js +2 -0
- package/dist/cdn/CRJB272X.js +2 -0
- package/dist/cdn/CX23L4OX.js +2 -0
- package/dist/cdn/D3EEDNNQ.js +2 -0
- package/dist/cdn/{EK7Y6JBZ.js → D73SZKP6.js} +1 -1
- package/dist/cdn/D7RGMUI2.js +2 -0
- package/dist/cdn/DBDYLXR3.js +2 -0
- package/dist/cdn/DENZ276N.js +2 -0
- package/dist/cdn/DFNH6YRR.js +2 -0
- package/dist/cdn/DJTPCTD2.js +2 -0
- package/dist/cdn/{WBBTZNZU.js → DP2UXNPJ.js} +1 -1
- package/dist/cdn/DSIYRWN2.js +2 -0
- package/dist/cdn/DVH35LZL.js +2 -0
- package/dist/cdn/DVLTVCIH.js +2 -0
- package/dist/cdn/DXPNJHEM.js +2 -0
- package/dist/cdn/DYKRS7YX.js +2 -0
- package/dist/cdn/{HPWF3IQV.js → E3RBRDUV.js} +1 -1
- package/dist/cdn/EG2L67V5.js +2 -0
- package/dist/cdn/ELK22XFC.js +2 -0
- package/dist/cdn/EMOYKTQL.js +2 -0
- package/dist/cdn/EPPCGUBI.js +2 -0
- package/dist/cdn/{VUAYNF3K.js → EZFBYRI4.js} +1 -1
- package/dist/cdn/F5JWLUNT.js +2 -0
- package/dist/cdn/{WSHG4LV7.js → F5X65A3N.js} +1 -1
- package/dist/cdn/{RRSU6QD4.js → F6OOD4XH.js} +1 -1
- package/dist/cdn/FK6XIGNL.js +2 -0
- package/dist/cdn/{MA7GBKLW.js → FK7DDNOY.js} +1 -1
- package/dist/cdn/FPE4MRJJ.js +2 -0
- package/dist/cdn/FTRRLFYT.js +2 -0
- package/dist/cdn/FY7P5YLX.js +2 -0
- package/dist/cdn/{PPAFKBPN.js → G4CULX2V.js} +1 -1
- package/dist/cdn/G7UA3GCV.js +2 -0
- package/dist/cdn/GA75N36P.js +2 -0
- package/dist/cdn/GDE46UIN.js +2 -0
- package/dist/cdn/GEZIZQV6.js +2 -0
- package/dist/cdn/{V62TVP3T.js → GFC6LS4L.js} +1 -1
- package/dist/cdn/GGS33TQP.js +2 -0
- package/dist/cdn/{OUC5HWPQ.js → GKMKHUYO.js} +1 -1
- package/dist/cdn/GMXEWGVF.js +2 -0
- package/dist/cdn/GOMR7D5M.js +2 -0
- package/dist/cdn/GQDEVRKG.js +2 -0
- package/dist/cdn/GRZJXRZ5.js +2 -0
- package/dist/cdn/{65MI3MW2.js → GTQOMGD7.js} +1 -1
- package/dist/cdn/GZOFHTYL.js +2 -0
- package/dist/cdn/H3BORJ4D.js +2 -0
- package/dist/cdn/H7KPXXYG.js +2 -0
- package/dist/cdn/HKKNU4CX.js +2 -0
- package/dist/cdn/HOMM5T7F.js +2 -0
- package/dist/cdn/HR7ZYFTI.js +2 -0
- package/dist/cdn/{PGUZODKZ.js → HTUN6GST.js} +1 -1
- package/dist/cdn/HU2SSY4B.js +2 -0
- package/dist/cdn/{ZIBQTNB6.js → HU6UTBYZ.js} +1 -1
- package/dist/cdn/HUZLTULW.js +2 -0
- package/dist/cdn/HXQ26YHC.js +2 -0
- package/dist/cdn/I7XTEFQP.js +2 -0
- package/dist/cdn/ICVPF3HG.js +2 -0
- package/dist/cdn/{FHHVGI4H.js → IGJX57YC.js} +1 -1
- package/dist/cdn/IH2T7XRU.js +2 -0
- package/dist/cdn/IH7XQCY4.js +2 -0
- package/dist/cdn/IRDDLVT2.js +2 -0
- package/dist/cdn/IW3P4TGM.js +4 -0
- package/dist/cdn/{4HNRKSQ2.js → IZFEOYED.js} +1 -1
- package/dist/cdn/J2UKNBRU.js +2 -0
- package/dist/cdn/J4Q5N5D6.js +2 -0
- package/dist/cdn/JB6WQEFJ.js +2 -0
- package/dist/cdn/{ET4UP4EQ.js → JBD7Q5YD.js} +1 -1
- package/dist/cdn/JFE63ANJ.js +2 -0
- package/dist/cdn/JILA7S66.js +2 -0
- package/dist/cdn/JPQ5ELDQ.js +2 -0
- package/dist/cdn/JWCEHGEZ.js +2 -0
- package/dist/cdn/K2FK6DOL.js +2 -0
- package/dist/cdn/KBRYRH7T.js +2 -0
- package/dist/cdn/KKSTZRNG.js +2 -0
- package/dist/cdn/KLSIUZNN.js +2 -0
- package/dist/cdn/KMT6GH2D.js +2 -0
- package/dist/cdn/KWY77UEE.js +2 -0
- package/dist/cdn/{52CUDGKY.js → KWYTKFIZ.js} +1 -1
- package/dist/cdn/{S6BPBG7D.js → L2L5W4AL.js} +1 -1
- package/dist/cdn/L3G6WFXY.js +2 -0
- package/dist/cdn/L6B4S7NV.js +2 -0
- package/dist/cdn/LDNST76E.js +2 -0
- package/dist/cdn/LGBJIOTW.js +2 -0
- package/dist/cdn/LHH3PS5H.js +2 -0
- package/dist/cdn/{SIFBGT4D.js → LI3NOBHV.js} +1 -1
- package/dist/cdn/LQYTLVCL.js +2 -0
- package/dist/cdn/LU7T7KSQ.js +2 -0
- package/dist/cdn/LUXHFHRT.js +2 -0
- package/dist/cdn/LWX6L3JT.js +2 -0
- package/dist/cdn/LXME6MU5.js +2 -0
- package/dist/cdn/{YDZZPLVB.js → LZUAJU6O.js} +1 -1
- package/dist/cdn/M4PV743P.js +2 -0
- package/dist/cdn/{OAYNZFL2.js → M4RV2DCP.js} +1 -1
- package/dist/cdn/M5YUKXZG.js +2 -0
- package/dist/cdn/MG2HQ3FT.js +2 -0
- package/dist/cdn/MGERV5RP.js +2 -0
- package/dist/cdn/MVTCAJTE.js +2 -0
- package/dist/cdn/MVVX32NQ.js +2 -0
- package/dist/cdn/N4HZLXED.js +2 -0
- package/dist/cdn/NC7HMCQS.js +2 -0
- package/dist/cdn/NCI2IL35.js +2 -0
- package/dist/cdn/NF426VVG.js +2 -0
- package/dist/cdn/NITCLRB6.js +2 -0
- package/dist/cdn/{HQWUQFN5.js → NN4HL3RN.js} +1 -1
- package/dist/cdn/NPWUWO5D.js +2 -0
- package/dist/cdn/NTEKRSNB.js +2 -0
- package/dist/cdn/NYIKMTKG.js +2 -0
- package/dist/cdn/NZQCJQ4Q.js +2 -0
- package/dist/cdn/O2RCWKKW.js +2 -0
- package/dist/cdn/OAZQQASF.js +2 -0
- package/dist/cdn/OJDGKV5X.js +2 -0
- package/dist/cdn/OMDFAKMT.js +2 -0
- package/dist/cdn/{P2I63WVL.js → OT4D3TVG.js} +1 -1
- package/dist/cdn/OWJ5ENXR.js +2 -0
- package/dist/cdn/OZ7HDVE2.js +2 -0
- package/dist/cdn/PQ4HZRQ5.js +2 -0
- package/dist/cdn/PSBSMEOS.js +2 -0
- package/dist/cdn/PTJOLAFO.js +2 -0
- package/dist/cdn/PTS3BVGQ.js +2 -0
- package/dist/cdn/PWG3JEER.js +2 -0
- package/dist/cdn/PWMO74B5.js +2 -0
- package/dist/cdn/PXRN3VUN.js +2 -0
- package/dist/cdn/PYBUTNHM.js +2 -0
- package/dist/cdn/QHO5AMUP.js +2 -0
- package/dist/cdn/QNQOBXLM.js +2 -0
- package/dist/cdn/QVI5ZINK.js +2 -0
- package/dist/cdn/RC7AEIEI.js +2 -0
- package/dist/cdn/RCJ3GROZ.js +2 -0
- package/dist/cdn/RIWLSAPB.js +2 -0
- package/dist/cdn/RLG3UWIL.js +2 -0
- package/dist/cdn/RX7LVZ5V.js +2 -0
- package/dist/cdn/{ZSPYPXBY.js → SAI7K4OO.js} +1 -1
- package/dist/cdn/SC4BF7H6.js +2 -0
- package/dist/cdn/{RUYAWRPV.js → SKV3CQSZ.js} +1 -1
- package/dist/cdn/SMEVSYDK.js +2 -0
- package/dist/cdn/{MICLX7QW.js → SMMOQFAB.js} +1 -1
- package/dist/cdn/SN6VSKBM.js +2 -0
- package/dist/cdn/SPJZCPH4.js +2 -0
- package/dist/cdn/{M6YVO33A.js → SQH7I4MS.js} +1 -1
- package/dist/cdn/SRPQR7CY.js +2 -0
- package/dist/cdn/ST5CGV6Q.js +2 -0
- package/dist/cdn/{HI7BF3DL.js → SUGD5PEJ.js} +1 -1
- package/dist/cdn/T2BFHU2Z.js +2 -0
- package/dist/cdn/T2JBUILX.js +2 -0
- package/dist/cdn/TCY4IVTP.js +2 -0
- package/dist/cdn/TEEHMUMV.js +2 -0
- package/dist/cdn/THHQJGUB.js +2 -0
- package/dist/cdn/TII37L6V.js +2 -0
- package/dist/cdn/TJHVEY7T.js +2 -0
- package/dist/cdn/TLZBUTWJ.js +2 -0
- package/dist/cdn/{XKCB2DEP.js → TRRAIBBM.js} +1 -1
- package/dist/cdn/TXVB6WRV.js +2 -0
- package/dist/cdn/U2UY53UR.js +2 -0
- package/dist/cdn/U2XP3I7M.js +2 -0
- package/dist/cdn/U53HTVZS.js +2 -0
- package/dist/cdn/U6BOSBYA.js +2 -0
- package/dist/cdn/U6UL7OKY.js +2 -0
- package/dist/cdn/UI3RWIDZ.js +2 -0
- package/dist/cdn/UIDNNWPD.js +2 -0
- package/dist/cdn/UJBFSJDF.js +2 -0
- package/dist/cdn/UYDXI4AK.js +4 -0
- package/dist/cdn/V345T5CR.js +2 -0
- package/dist/cdn/{EV7IIQBP.js → V6CCL3L6.js} +1 -1
- package/dist/cdn/VQURMPYV.js +2 -0
- package/dist/cdn/VRUG5L4Z.js +2 -0
- package/dist/cdn/VVLJLOSE.js +2 -0
- package/dist/cdn/VZUPHB6L.js +2 -0
- package/dist/cdn/WNXQHRKE.js +2 -0
- package/dist/cdn/{Z2UUXST4.js → WRB2DEQ6.js} +1 -1
- package/dist/cdn/{FQSHLYKX.js → WV3Q2QUS.js} +1 -1
- package/dist/cdn/WVRIR3PK.js +2 -0
- package/dist/cdn/WYQAN63T.js +2 -0
- package/dist/cdn/X64WORSC.js +2 -0
- package/dist/cdn/XFQWANZ4.js +2 -0
- package/dist/cdn/{ZHSESERJ.js → XMYFUC6S.js} +1 -1
- package/dist/cdn/{N3DTZRST.js → XQRLK3FO.js} +1 -1
- package/dist/cdn/{OAMA6SL3.js → XRQKJFNJ.js} +1 -1
- package/dist/cdn/XWGAKGVP.js +2 -0
- package/dist/cdn/{TDZIH5OK.js → XXDJKZSO.js} +1 -1
- package/dist/cdn/Y4GL4RZF.js +2 -0
- package/dist/cdn/Y5BPYGSY.js +2 -0
- package/dist/cdn/Y6MM3GUE.js +2 -0
- package/dist/cdn/Y6WTYXVP.js +2 -0
- package/dist/cdn/{26URLKXD.js → Y6ZJNJZ7.js} +1 -1
- package/dist/cdn/Y6ZUXP3Q.js +2 -0
- package/dist/cdn/YAWLVMV6.js +2 -0
- package/dist/cdn/{CKS5ACAB.js → YDDOSD2C.js} +1 -1
- package/dist/cdn/YE6AOCCR.js +2 -0
- package/dist/cdn/YEPFWDQQ.js +2 -0
- package/dist/cdn/{PIDNZKSJ.js → YEPGUNSV.js} +1 -1
- package/dist/cdn/YGBYB3BZ.js +2 -0
- package/dist/cdn/{XP74F2F6.js → YGD6HMAF.js} +1 -1
- package/dist/cdn/YIN7QUD2.js +2 -0
- package/dist/cdn/YVXXZIP7.js +2 -0
- package/dist/cdn/YWKKRBFW.js +2 -0
- package/dist/cdn/Z6JIKBXL.js +2 -0
- package/dist/cdn/ZPA5JUPD.js +2 -0
- package/dist/cdn/{3ONY25MG.js → ZRBE5FVD.js} +1 -1
- package/dist/cdn/ZRT4RJ62.js +2 -0
- package/dist/cdn/ZSO62SMG.js +2 -0
- package/dist/cdn/{IAWXCNTX.js → ZXE7NGIY.js} +1 -1
- 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/shadow-cast/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 +49 -4
- 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 +10 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.js +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +12 -6
- package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -3
- 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 +7 -4
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +125 -122
- 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 +10 -7
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +87 -86
- 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 +14 -9
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
- 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 +10 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +3 -3
- 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 +17 -9
- 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 +57 -54
- 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 +47 -47
- 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 +23 -16
- package/dist/components/arcgis-feature-relationship/customElement.js +97 -98
- package/dist/components/arcgis-feature-table/customElement.d.ts +83 -64
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- 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 +190 -150
- 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 +8 -7
- package/dist/components/arcgis-layer-list-next/customElement.js +146 -135
- package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +62 -62
- 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-multi-feature-form/customElement.js +1 -1
- 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 +14 -2
- package/dist/components/arcgis-selection-list/customElement.js +11 -11
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +24 -6
- package/dist/components/arcgis-selection-toolbar/customElement.js +23 -17
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +31 -12
- package/dist/components/arcgis-shadow-cast/customElement.js +88 -69
- package/dist/components/arcgis-shadow-cast/index.js +1 -0
- 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 +387 -50
- package/dist/components/arcgis-sketch/customElement.js +444 -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 +16 -8
- package/dist/components/arcgis-slider-scale-range/customElement.js +5 -5
- 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 +4 -1
- package/dist/components/arcgis-table-list-next/customElement.js +65 -63
- 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 +33 -32
- 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 +147 -12
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +32 -39
- package/dist/components/arcgis-utility-network-trace-configuration-picker/index.js +1 -2
- 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 +243 -14
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +124 -110
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +0 -1
- package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +177 -23
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +167 -129
- 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-view-popover/customElement.d.ts +65 -33
- package/dist/components/arcgis-view-popover/customElement.js +196 -108
- package/dist/components/arcgis-view-popover/index.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +34 -14
- package/dist/components/arcgis-volume-measurement/customElement.js +64 -64
- 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 +24 -24
- package/dist/types/lumina.d.ts +31 -45
- package/dist/types/preact.d.ts +32 -48
- package/dist/types/react.d.ts +33 -51
- package/dist/types/stencil.d.ts +31 -45
- 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/GNSNEUMI.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-slider-scale-range/spriteSheetsUtils.d.ts +0 -5
- 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;
|
|
@@ -618,8 +733,10 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
618
733
|
*/
|
|
619
734
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
620
735
|
/**
|
|
621
|
-
* Relative position is used to control the appearance of elements rendered by `arcgis-sketch`. If used
|
|
622
|
-
* the slots of an `arcgis-map` or `arcgis-scene` component,
|
|
736
|
+
* Relative position is used to control the appearance of elements rendered by `arcgis-sketch`. If used
|
|
737
|
+
* directly within the slots of an `arcgis-map` or `arcgis-scene` component,
|
|
738
|
+
* you do not need to manually set this value. If using custom layouts, or dynamically moving layouts between
|
|
739
|
+
* slots, prefer explicitly setting this property.
|
|
623
740
|
*
|
|
624
741
|
* Examples of elements that depend on relative position include the split button chevrons (in vertical layout), the settings
|
|
625
742
|
* popover, and tooltips.
|
|
@@ -654,20 +771,50 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
654
771
|
/**
|
|
655
772
|
* Indicates whether to display the text tool.
|
|
656
773
|
*
|
|
774
|
+
* > [!NOTE]
|
|
775
|
+
* >
|
|
776
|
+
* > **Note:**
|
|
777
|
+
* > To display the text tool in `Sketch`, set `showCreateToolsText` to `true` and add "text" to the [availableCreateTools](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#availableCreateTools) array.
|
|
778
|
+
*
|
|
657
779
|
* @default false
|
|
780
|
+
* @example
|
|
781
|
+
* ```html
|
|
782
|
+
* <arcgis-map basemap="topo-vector" center="139.5716,35.696" zoom="18">
|
|
783
|
+
* <arcgis-sketch slot="top-right" show-create-tools-text="true"></arcgis-sketch>
|
|
784
|
+
* </arcgis-map>
|
|
785
|
+
*
|
|
786
|
+
* <script type="module">
|
|
787
|
+
* const sketch = document.querySelector("arcgis-sketch");
|
|
788
|
+
* await sketch.componentOnReady();
|
|
789
|
+
*
|
|
790
|
+
* sketch.availableCreateTools = ["text", "polyline", "polygon", "point"];
|
|
791
|
+
* </script>
|
|
792
|
+
* ```
|
|
658
793
|
* @since 5.0
|
|
659
794
|
*/
|
|
660
795
|
accessor showCreateToolsText: boolean;
|
|
661
796
|
/**
|
|
662
797
|
* Indicates whether to display the header.
|
|
798
|
+
* This property is preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
663
799
|
*
|
|
664
800
|
* @default false
|
|
665
801
|
* @since 5.0
|
|
666
802
|
*/
|
|
667
803
|
accessor showSnappingControlsElementsHeader: boolean;
|
|
668
|
-
/**
|
|
804
|
+
/**
|
|
805
|
+
* 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.
|
|
806
|
+
* These options are preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
807
|
+
*/
|
|
669
808
|
accessor snappingOptions: SnappingOptions;
|
|
670
|
-
/**
|
|
809
|
+
/**
|
|
810
|
+
* The Sketch component's state.
|
|
811
|
+
*
|
|
812
|
+
* Value | Description |
|
|
813
|
+
* ----- | ----------- |
|
|
814
|
+
* disabled | The component is not ready to create or update graphics.
|
|
815
|
+
* ready | The component is ready to start an operation.
|
|
816
|
+
* active | A create or update operation is in progress.
|
|
817
|
+
*/
|
|
671
818
|
get state(): SketchViewModel["state"];
|
|
672
819
|
/**
|
|
673
820
|
* A [TextSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/TextSymbol/) used for representing the geometry that is being drawn.
|
|
@@ -691,19 +838,24 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
691
838
|
/**
|
|
692
839
|
* Controls the appearance of the sketch component, allowing the toolbar to adapt its appearance appropriately based on context.
|
|
693
840
|
*
|
|
694
|
-
* Set this to `docked` for use within the Expand component, or any other situation
|
|
695
|
-
* where Sketch is not floating within a
|
|
841
|
+
* Set this to `docked` for use within the Expand component, a panel, or any other situation
|
|
842
|
+
* where Sketch is not floating within a larger canvas (like a map or scene).
|
|
696
843
|
*
|
|
697
844
|
* @default "floating"
|
|
698
845
|
* @since 4.32
|
|
699
846
|
*/
|
|
700
847
|
accessor toolbarKind: "docked" | "floating";
|
|
701
|
-
/**
|
|
848
|
+
/**
|
|
849
|
+
* Options to configure the tooltip shown next to the cursor when creating or updating graphics.
|
|
850
|
+
* These options are preserved but ignored while [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) is `true`.
|
|
851
|
+
*/
|
|
702
852
|
accessor tooltipOptions: SketchTooltipOptions;
|
|
703
853
|
/** An array of [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/) that are being updated by the Sketch component. */
|
|
704
854
|
get updateGraphics(): Collection<Graphic>;
|
|
705
855
|
/**
|
|
706
|
-
*
|
|
856
|
+
* Indicates whether to prevent the user from clicking a graphic in the layer to start updating it.
|
|
857
|
+
* Set this property to `true` to implement custom [MapView.hitTest](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#hitTest) logic, then call
|
|
858
|
+
* [triggerUpdate()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#triggerUpdate) to update the chosen graphics.
|
|
707
859
|
*
|
|
708
860
|
* @default false
|
|
709
861
|
* @since 5.1
|
|
@@ -729,13 +881,15 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
729
881
|
*/
|
|
730
882
|
accessor useLegacyCreateTools: boolean;
|
|
731
883
|
/**
|
|
732
|
-
*
|
|
884
|
+
* 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
885
|
*
|
|
734
|
-
* When
|
|
886
|
+
* When this property is `true`:
|
|
735
887
|
*
|
|
736
|
-
*
|
|
888
|
+
* - 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.
|
|
889
|
+
* - 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.
|
|
890
|
+
* - 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
891
|
*
|
|
738
|
-
*
|
|
892
|
+
* When `false`, the component uses its own snapping, tooltip, and unit options instead.
|
|
739
893
|
*
|
|
740
894
|
* 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
895
|
*
|
|
@@ -747,7 +901,10 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
747
901
|
* @default false
|
|
748
902
|
*/
|
|
749
903
|
accessor useViewOptions: boolean;
|
|
750
|
-
/**
|
|
904
|
+
/**
|
|
905
|
+
* Options to configure how values are displayed and input when creating or updating graphics.
|
|
906
|
+
* See [useViewOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#useViewOptions) for unit inheritance and override behavior.
|
|
907
|
+
*/
|
|
751
908
|
accessor valueOptions: SketchValueOptions;
|
|
752
909
|
/**
|
|
753
910
|
* The view associated with the component.
|
|
@@ -765,20 +922,168 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
765
922
|
* @since 5.0
|
|
766
923
|
*/
|
|
767
924
|
accessor visualScale: Button["scale"];
|
|
925
|
+
/**
|
|
926
|
+
* Convenience method for adding a graphic to the appropriate Sketch layer.
|
|
927
|
+
* Does not affect any active operations.
|
|
928
|
+
*
|
|
929
|
+
* @param graphic - The graphic to add.
|
|
930
|
+
* @since 5.2
|
|
931
|
+
*/
|
|
932
|
+
addGraphic(graphic: Graphic): Promise<void>;
|
|
933
|
+
/**
|
|
934
|
+
* Convenience method for adding multiple graphics to the appropriate Sketch layer.
|
|
935
|
+
* Does not affect any active operations.
|
|
936
|
+
*
|
|
937
|
+
* @param graphics - The graphics to add.
|
|
938
|
+
* @since 5.2
|
|
939
|
+
*/
|
|
940
|
+
addGraphics(graphics: Graphic[]): Promise<void>;
|
|
941
|
+
/**
|
|
942
|
+
* Cancels the active operation and fires the [@arcgisCreate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisCreate) or
|
|
943
|
+
* [@arcgisUpdate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisUpdate) event.
|
|
944
|
+
* If called in the middle of a create operation, discards the partially created graphic.
|
|
945
|
+
* Also cancels pending operations and active selection tools, restoring a `ready` state.
|
|
946
|
+
*/
|
|
768
947
|
cancel(): Promise<void>;
|
|
948
|
+
/**
|
|
949
|
+
* Indicates if it is possible to perform a redo action.
|
|
950
|
+
*
|
|
951
|
+
* @returns Resolves to `true` if redo is possible.
|
|
952
|
+
* @since 5.2
|
|
953
|
+
*/
|
|
954
|
+
canRedo(): Promise<boolean>;
|
|
955
|
+
/**
|
|
956
|
+
* Indicates if it is possible to perform an undo action.
|
|
957
|
+
*
|
|
958
|
+
* @returns Resolves to `true` if undo is possible.
|
|
959
|
+
* @since 5.2
|
|
960
|
+
*/
|
|
961
|
+
canUndo(): Promise<boolean>;
|
|
962
|
+
/**
|
|
963
|
+
* Completes the active operation and fires the [@arcgisCreate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisCreate) or
|
|
964
|
+
* [@arcgisUpdate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisUpdate) event with its state set to `complete`.
|
|
965
|
+
* If called in the middle of a create operation, finishes the operation and keeps the valid geometry.
|
|
966
|
+
*/
|
|
769
967
|
complete(): Promise<void>;
|
|
770
968
|
/**
|
|
771
|
-
*
|
|
772
|
-
* @
|
|
969
|
+
* Creates a graphic with the geometry specified by `tool`. When the first vertex of the graphic is added,
|
|
970
|
+
* the [@arcgisCreate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisCreate) event starts firing.
|
|
971
|
+
* The provided tool becomes the [activeTool](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#activeTool).
|
|
972
|
+
*
|
|
973
|
+
* @param tool - Name of the create tool. Specifies the geometry for the graphic to be created.
|
|
974
|
+
* @param createOptions - Options for the graphic to be created. Overrides [defaultCreateOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#defaultCreateOptions).
|
|
975
|
+
* @returns Resolves when the requested create tool has been loaded and is ready to use, not when the user finishes drawing.
|
|
976
|
+
* @example
|
|
977
|
+
* const sketch = document.querySelector("arcgis-sketch");
|
|
978
|
+
* sketch.addEventListener("arcgisCreate", (event) => {
|
|
979
|
+
* if (event.detail.state === "complete") {
|
|
980
|
+
* console.log("Created graphic", event.detail.graphic);
|
|
981
|
+
* }
|
|
982
|
+
* });
|
|
983
|
+
*
|
|
984
|
+
* await sketch.create("polygon", { mode: "freehand" });
|
|
985
|
+
*
|
|
986
|
+
* // Create a square.
|
|
987
|
+
* await sketch.create("rectangle", { preserveAspectRatio: true });
|
|
988
|
+
*
|
|
989
|
+
* // Create an ellipse.
|
|
990
|
+
* await sketch.create("circle", { preserveAspectRatio: false });
|
|
773
991
|
*/
|
|
774
992
|
create(tool: CreateTool, createOptions?: CreateOptions): Promise<void>;
|
|
993
|
+
/**
|
|
994
|
+
* Deletes the selected graphics used in the update workflow.
|
|
995
|
+
* Calling this method fires the [@arcgisDelete](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#event-arcgisDelete) event.
|
|
996
|
+
*
|
|
997
|
+
* @example
|
|
998
|
+
* sketch.addEventListener("arcgisDelete", (event) => {
|
|
999
|
+
* event.detail.graphics.forEach((graphic) => {
|
|
1000
|
+
* console.log("Deleted graphic", graphic);
|
|
1001
|
+
* });
|
|
1002
|
+
* });
|
|
1003
|
+
*
|
|
1004
|
+
* await sketch.delete();
|
|
1005
|
+
*/
|
|
775
1006
|
delete(): Promise<void>;
|
|
776
1007
|
/** Permanently destroy the component. */
|
|
777
1008
|
destroy(): Promise<void>;
|
|
778
1009
|
/** @internal */
|
|
779
1010
|
dismissFloatingElements(): Promise<void>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Duplicates the selected graphics used in the update workflow and automatically adds them to the associated layer.
|
|
1013
|
+
* 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.
|
|
1014
|
+
*/
|
|
780
1015
|
duplicate(): Promise<void>;
|
|
1016
|
+
/**
|
|
1017
|
+
* Convenience method for determining if a graphic belongs to a current Sketch layer or sublayer.
|
|
1018
|
+
*
|
|
1019
|
+
* @param graphic - The graphic to check.
|
|
1020
|
+
* @returns Resolves to `true` if the graphic belongs to a current Sketch layer or sublayer.
|
|
1021
|
+
* @since 5.2
|
|
1022
|
+
*/
|
|
1023
|
+
hasGraphic(graphic: Graphic): Promise<boolean>;
|
|
1024
|
+
/**
|
|
1025
|
+
* Creates a graphic similarly to [create()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#create), but accepts the geometry directly.
|
|
1026
|
+
* Placement is then completed interactively by the user. Currently only [Mesh](https://developers.arcgis.com/javascript/latest/references/core/geometry/Mesh/) placement is supported.
|
|
1027
|
+
*
|
|
1028
|
+
* 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
|
|
1029
|
+
* [activeTool](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#activeTool) until placement finishes.
|
|
1030
|
+
*
|
|
1031
|
+
* @param geometry - Mesh geometry to place when creating the graphic.
|
|
1032
|
+
* @example
|
|
1033
|
+
* // create mesh at the global origin
|
|
1034
|
+
* const box = meshUtils.createBox(new Point({
|
|
1035
|
+
* x: 0,
|
|
1036
|
+
* y: 0,
|
|
1037
|
+
* z: 0,
|
|
1038
|
+
* spatialReference: SpatialReference.WGS84
|
|
1039
|
+
* }));
|
|
1040
|
+
*
|
|
1041
|
+
* // Call place method to place a mesh - this will allow the user to place the mesh using the mouse
|
|
1042
|
+
* await sketch.place(box);
|
|
1043
|
+
*
|
|
1044
|
+
* // listen to create event, only respond when event's state changes to complete
|
|
1045
|
+
* sketch.addEventListener("arcgisCreate", function(event) {
|
|
1046
|
+
* if (event.detail.state === "complete") {
|
|
1047
|
+
* // retrieve the final position of the mesh which was chosen by the user
|
|
1048
|
+
* const mesh = event.detail.graphic.geometry;
|
|
1049
|
+
* const placedLocation = mesh.origin;
|
|
1050
|
+
* }
|
|
1051
|
+
* });
|
|
1052
|
+
* @since 5.2
|
|
1053
|
+
*/
|
|
1054
|
+
place(geometry: Mesh): Promise<void>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Redoes the last undone operation.
|
|
1057
|
+
*
|
|
1058
|
+
* The undo/redo stack is for an individual sketch operation, meaning you can redo/undo actions while creating or updating a graphic.
|
|
1059
|
+
*/
|
|
781
1060
|
redo(): Promise<void>;
|
|
1061
|
+
/**
|
|
1062
|
+
* Convenience method for removing all graphics from the appropriate Sketch layer.
|
|
1063
|
+
* Any active operation will automatically be cancelled if any removed graphics are the target of
|
|
1064
|
+
* an active operation.
|
|
1065
|
+
*
|
|
1066
|
+
* @since 5.2
|
|
1067
|
+
*/
|
|
1068
|
+
removeAllGraphics(): Promise<void>;
|
|
1069
|
+
/**
|
|
1070
|
+
* Convenience method for removing a graphic from the appropriate Sketch layer.
|
|
1071
|
+
* Any active operation will automatically be cancelled if the graphic is one of the targets
|
|
1072
|
+
* of the active operation.
|
|
1073
|
+
*
|
|
1074
|
+
* @param graphic - The graphic to remove.
|
|
1075
|
+
* @since 5.2
|
|
1076
|
+
*/
|
|
1077
|
+
removeGraphic(graphic: Graphic): Promise<void>;
|
|
1078
|
+
/**
|
|
1079
|
+
* Convenience method for removing multiple graphics from the appropriate Sketch layer.
|
|
1080
|
+
* Any active operation will automatically be cancelled if any of the graphics are the target of
|
|
1081
|
+
* an active operation.
|
|
1082
|
+
*
|
|
1083
|
+
* @param graphics - The graphics to remove.
|
|
1084
|
+
* @since 5.2
|
|
1085
|
+
*/
|
|
1086
|
+
removeGraphics(graphics: Graphic[]): Promise<void>;
|
|
782
1087
|
/**
|
|
783
1088
|
* @param location
|
|
784
1089
|
* @internal
|
|
@@ -800,10 +1105,28 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
800
1105
|
*/
|
|
801
1106
|
setGroupCollapsePriorities(priorities: Map<SketchGroupName, number> | null): Promise<void>;
|
|
802
1107
|
/**
|
|
803
|
-
*
|
|
804
|
-
*
|
|
1108
|
+
* Initializes an update operation for the specified graphic(s).
|
|
1109
|
+
*
|
|
1110
|
+
* @param graphic - A graphic or an array of graphics to be updated. Only graphics in the sketch layer can be updated.
|
|
1111
|
+
* @param updateOptions - Update options for the graphics to be updated.
|
|
1112
|
+
* @returns Resolves when the requested update tool has been loaded and is ready to use.
|
|
1113
|
+
* @example
|
|
1114
|
+
* // start update operation for the selected graphic
|
|
1115
|
+
* // with transform tool. Only allow uniform scaling operation.
|
|
1116
|
+
* await sketch.triggerUpdate([selectedGraphic], {
|
|
1117
|
+
* tool: "transform",
|
|
1118
|
+
* enableRotation: false,
|
|
1119
|
+
* enableScaling: true,
|
|
1120
|
+
* preserveAspectRatio: true,
|
|
1121
|
+
* toggleToolOnClick: false
|
|
1122
|
+
* });
|
|
805
1123
|
*/
|
|
806
1124
|
triggerUpdate(graphic: Parameters<SketchViewModel["update"]>[0], updateOptions?: Parameters<SketchViewModel["update"]>[1]): Promise<void>;
|
|
1125
|
+
/**
|
|
1126
|
+
* Undoes the last operation.
|
|
1127
|
+
* The undo/redo stack is for an individual sketch operation, meaning you can redo/undo actions while creating or updating a graphic.
|
|
1128
|
+
* The undo stack is cleared when an operation completes.
|
|
1129
|
+
*/
|
|
807
1130
|
undo(): Promise<void>;
|
|
808
1131
|
"@setterTypes": {
|
|
809
1132
|
relativePosition?: RelativePosition | undefined;
|
|
@@ -834,4 +1157,18 @@ export abstract class ArcgisSketch extends LitElement {
|
|
|
834
1157
|
arcgisUndo: ArcgisSketch["arcgisUndo"]["detail"];
|
|
835
1158
|
arcgisUpdate: ArcgisSketch["arcgisUpdate"]["detail"];
|
|
836
1159
|
};
|
|
837
|
-
}
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
/** @since 5.2 */
|
|
1163
|
+
export type RelativePosition = (typeof relativePositions)[number];
|
|
1164
|
+
|
|
1165
|
+
export const relativePositions: readonly [
|
|
1166
|
+
"bottom-end",
|
|
1167
|
+
"bottom-start",
|
|
1168
|
+
"bottom-left",
|
|
1169
|
+
"bottom-right",
|
|
1170
|
+
"top-end",
|
|
1171
|
+
"top-start",
|
|
1172
|
+
"top-left",
|
|
1173
|
+
"top-right"
|
|
1174
|
+
];
|