@arcgis/map-components 4.33.0-next.111 → 4.33.0-next.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/2AQ3FVSG.js +4 -0
- package/dist/arcgis-map-components/{EA3TC6K7.js → 3MV55J2Y.js} +2 -2
- package/dist/arcgis-map-components/{ONHNWJ4G.js → 3TU7GQAD.js} +2 -2
- package/dist/arcgis-map-components/{NSY5QX3Y.js → 3X2GMJR5.js} +2 -2
- package/dist/arcgis-map-components/{YCW7WEIG.js → 4PNI7N5K.js} +2 -2
- package/dist/arcgis-map-components/{V6JTRMC6.js → 4VZMXBAV.js} +2 -2
- package/dist/arcgis-map-components/{4KI5LTBT.js → 5DK3QO7V.js} +2 -2
- package/dist/arcgis-map-components/{WJZT3YSK.js → 5MALNCHN.js} +2 -2
- package/dist/arcgis-map-components/637MOVRS.js +4 -0
- package/dist/arcgis-map-components/{M3A4KSBF.js → 6D6E7PDC.js} +2 -2
- package/dist/arcgis-map-components/6EUNJFNY.js +4 -0
- package/dist/arcgis-map-components/{FS6TCALO.js → 6HIGMCOE.js} +2 -2
- package/dist/arcgis-map-components/{22DRMCE7.js → 6TVXN5DT.js} +2 -2
- package/dist/arcgis-map-components/{6GAXEZBV.js → 6UMBZW3J.js} +2 -2
- package/dist/arcgis-map-components/6XQQ4RSR.js +4 -0
- package/dist/arcgis-map-components/{UIW2DTC6.js → 7BES3HZK.js} +2 -2
- package/dist/arcgis-map-components/{RCABX7AW.js → 7FA2K3OP.js} +2 -2
- package/dist/arcgis-map-components/{R6ZIPSXW.js → 7LDOMSRS.js} +2 -2
- package/dist/arcgis-map-components/{A3MGH64K.js → 7PTTKRXU.js} +2 -2
- package/dist/arcgis-map-components/{DIHBACUV.js → 7SH3DBCY.js} +2 -2
- package/dist/arcgis-map-components/{LCFTBEO7.js → 7TB7JKNU.js} +2 -2
- package/dist/arcgis-map-components/{WHRW63HY.js → 7YAC5GLA.js} +2 -2
- package/dist/arcgis-map-components/A23LK2MB.js +4 -0
- package/dist/arcgis-map-components/{NIE5OX6V.js → AD3IM2RV.js} +2 -2
- package/dist/arcgis-map-components/{5XC5KA5R.js → ANPX3M3T.js} +2 -2
- package/dist/arcgis-map-components/{4KTUJ3UM.js → AQ46PB7T.js} +2 -2
- package/dist/arcgis-map-components/{MFT3EQ7H.js → ATAZTDCH.js} +2 -2
- package/dist/arcgis-map-components/{6KVIMJ26.js → AYNCXSJA.js} +2 -2
- package/dist/arcgis-map-components/{IAE64AJ5.js → AYNUADWD.js} +2 -2
- package/dist/arcgis-map-components/B7OPBGVT.js +4 -0
- package/dist/arcgis-map-components/{7MJL6PXW.js → BNDCYZDT.js} +1 -1
- package/dist/arcgis-map-components/{WNFHLHF3.js → BRRHFKKW.js} +2 -2
- package/dist/arcgis-map-components/{BILSEGGP.js → BWJANLLR.js} +2 -2
- package/dist/arcgis-map-components/{H3ERSP6X.js → C4B35TTR.js} +2 -2
- package/dist/arcgis-map-components/C4KDC4WX.js +4 -0
- package/dist/arcgis-map-components/{VPEHQO4U.js → CH6YS2M3.js} +2 -2
- package/dist/arcgis-map-components/{VJPDMVYT.js → CIMDCPCB.js} +2 -2
- package/dist/arcgis-map-components/{RNQHGGIY.js → CKQSYSOF.js} +2 -2
- package/dist/arcgis-map-components/{UXKBPFT5.js → CUQNI3HG.js} +1 -1
- package/dist/arcgis-map-components/{T6A33AIR.js → DI7RDP6N.js} +1 -1
- package/dist/arcgis-map-components/{MSN4E7R4.js → DKOPT4NA.js} +2 -2
- package/dist/arcgis-map-components/{L32ZD67G.js → DU2GGA4Q.js} +2 -2
- package/dist/arcgis-map-components/{RE3QTDHA.js → ET4IRT5G.js} +2 -2
- package/dist/arcgis-map-components/EWMEU34N.js +4 -0
- package/dist/arcgis-map-components/{PASYJQJB.js → F3BVHIIC.js} +2 -2
- package/dist/arcgis-map-components/{OFGL6WQB.js → FZOABTDK.js} +2 -2
- package/dist/arcgis-map-components/{FN6BXFH5.js → G3WBK6OC.js} +2 -2
- package/dist/arcgis-map-components/{KUJKLDWE.js → GATPKJVX.js} +2 -2
- package/dist/arcgis-map-components/{FL3BKL33.js → GZPGV6LA.js} +2 -2
- package/dist/arcgis-map-components/HBUUVPXK.js +4 -0
- package/dist/arcgis-map-components/{Q2LOGABL.js → HNO5A756.js} +2 -2
- package/dist/arcgis-map-components/{JSCHPQVZ.js → HYVA2OKF.js} +2 -2
- package/dist/arcgis-map-components/I3SPMV64.js +4 -0
- package/dist/arcgis-map-components/{OLUAIMBO.js → IIDV3KD7.js} +2 -2
- package/dist/arcgis-map-components/IQXZNGHL.js +4 -0
- package/dist/arcgis-map-components/{O5BYILQC.js → JYFCNNNY.js} +2 -2
- package/dist/arcgis-map-components/{KAOXX4TW.js → KB3GLGHJ.js} +2 -2
- package/dist/arcgis-map-components/{J5SRFFNF.js → KJE363IH.js} +2 -2
- package/dist/arcgis-map-components/{PVRIT3WW.js → KJW4V2S4.js} +2 -2
- package/dist/arcgis-map-components/{DCLNNAEW.js → KPGCUIJT.js} +2 -2
- package/dist/arcgis-map-components/{6ROX7HML.js → KYJS4SG7.js} +2 -2
- package/dist/arcgis-map-components/LD2ZOJIB.js +4 -0
- package/dist/arcgis-map-components/{5UQEX3KX.js → LM6BLU7I.js} +2 -2
- package/dist/arcgis-map-components/{5ZJ6X34Q.js → LRM3I52Y.js} +2 -2
- package/dist/arcgis-map-components/MLXLT2NU.js +4 -0
- package/dist/arcgis-map-components/{2RKMR5D3.js → MXKENIC7.js} +2 -2
- package/dist/arcgis-map-components/NQOCQBYV.js +4 -0
- package/dist/arcgis-map-components/O3FWYZEE.js +4 -0
- package/dist/arcgis-map-components/{JJLKYP2G.js → ONQMSUPO.js} +1 -1
- package/dist/arcgis-map-components/{LNILATCN.js → OXX3UKTL.js} +2 -2
- package/dist/arcgis-map-components/{B4NV3HNZ.js → OYUTAXFP.js} +2 -2
- package/dist/arcgis-map-components/{NP2IER7N.js → PI2WYIV5.js} +2 -2
- package/dist/arcgis-map-components/{KYKFR7WY.js → PPOHUKZ2.js} +2 -2
- package/dist/arcgis-map-components/{LYTQHYOJ.js → PTDAGJR6.js} +2 -2
- package/dist/arcgis-map-components/{QD2XMEWV.js → PUTVBMOH.js} +1 -1
- package/dist/arcgis-map-components/PYVDWEMX.js +4 -0
- package/dist/arcgis-map-components/{VB2HTFGR.js → PYZN42J2.js} +1 -1
- package/dist/arcgis-map-components/{JYYODT4B.js → Q4IPOH3Q.js} +2 -2
- package/dist/arcgis-map-components/{HQOY7NMV.js → QDRYAIL6.js} +2 -2
- package/dist/arcgis-map-components/QMEQNV4W.js +4 -0
- package/dist/arcgis-map-components/{7THDR7PZ.js → RIQ7QCBK.js} +2 -2
- package/dist/arcgis-map-components/{3TH5IMVA.js → RSOOXAWQ.js} +2 -2
- package/dist/arcgis-map-components/{V2HEJBZJ.js → S352QOLG.js} +2 -2
- package/dist/arcgis-map-components/{FRYGGYQS.js → S6QAKH4U.js} +2 -2
- package/dist/arcgis-map-components/SFCQKRYF.js +4 -0
- package/dist/arcgis-map-components/SLVAMXGX.js +4 -0
- package/dist/arcgis-map-components/{NWVJBVOG.js → SU3JV7YB.js} +2 -2
- package/dist/arcgis-map-components/{25QYNIED.js → T5HRUVJD.js} +2 -2
- package/dist/arcgis-map-components/{P3MXZYP2.js → TBLZPYNC.js} +2 -2
- package/dist/arcgis-map-components/{XNNKRFXI.js → TCV34WIR.js} +2 -2
- package/dist/arcgis-map-components/{BZD36B3T.js → TDDXEDKS.js} +2 -2
- package/dist/arcgis-map-components/{YJPYKZUF.js → TRAKHXYB.js} +2 -2
- package/dist/arcgis-map-components/{TDD7QY3M.js → TT5IOPJV.js} +2 -2
- package/dist/arcgis-map-components/{GYG4OKTQ.js → U6B24E7V.js} +2 -2
- package/dist/arcgis-map-components/{7NE563FZ.js → U6LCW7DG.js} +2 -2
- package/dist/arcgis-map-components/UJYHTBUO.js +4 -0
- package/dist/arcgis-map-components/UOEFZRSX.js +4 -0
- package/dist/arcgis-map-components/{YSJ5WJGA.js → UUVFLUGE.js} +2 -2
- package/dist/arcgis-map-components/{NPKQNHF6.js → UZCB5WLH.js} +2 -2
- package/dist/arcgis-map-components/{PHCL6OJF.js → VIHA3QH2.js} +2 -2
- package/dist/arcgis-map-components/{R3MJAEFF.js → VTXTLR2G.js} +2 -2
- package/dist/arcgis-map-components/{5NH5I6EQ.js → WGIDJRIA.js} +2 -2
- package/dist/arcgis-map-components/{DW6OHYHJ.js → WITQYJC4.js} +2 -2
- package/dist/arcgis-map-components/{VUR35IT3.js → WPFYA7FW.js} +2 -2
- package/dist/arcgis-map-components/{IYUXSCBA.js → XDMRCMJI.js} +1 -1
- package/dist/arcgis-map-components/{UANEK66D.js → XIWHNK55.js} +2 -2
- package/dist/arcgis-map-components/{DFBVKWJB.js → XXXXSDUR.js} +2 -2
- package/dist/arcgis-map-components/{AO3ZLLTB.js → Y5OOL2WE.js} +2 -2
- package/dist/arcgis-map-components/{TRCUQQ3K.js → Y7OSESUK.js} +2 -2
- package/dist/arcgis-map-components/{SIJ3CVFK.js → YBEVWFZD.js} +2 -2
- package/dist/arcgis-map-components/YZCOAFOO.js +4 -0
- package/dist/arcgis-map-components/{MSKS7TSN.js → Z32XN7NB.js} +2 -2
- package/dist/arcgis-map-components/{57BPFHRY.js → Z77VZ34G.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- package/dist/chunks/useView.js +13 -11
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +47 -18
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -6
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +45 -8
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -4
- package/dist/components/arcgis-attachments/customElement.d.ts +60 -7
- package/dist/components/arcgis-attachments/customElement.js +1 -4
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +28 -14
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -11
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +2 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +154 -8
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +33 -12
- package/dist/components/arcgis-basemap-toggle/customElement.js +3 -11
- package/dist/components/arcgis-bookmarks/customElement.d.ts +85 -8
- package/dist/components/arcgis-bookmarks/customElement.js +1 -4
- package/dist/components/arcgis-building-explorer/customElement.d.ts +63 -17
- package/dist/components/arcgis-building-explorer/customElement.js +1 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +115 -8
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -5
- package/dist/components/arcgis-compass/customElement.d.ts +38 -5
- package/dist/components/arcgis-compass/customElement.js +2 -8
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +95 -9
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +76 -8
- package/dist/components/arcgis-daylight/customElement.js +1 -4
- package/dist/components/arcgis-directional-pad/customElement.d.ts +54 -8
- package/dist/components/arcgis-directional-pad/customElement.js +3 -27
- package/dist/components/arcgis-directions/customElement.d.ts +84 -8
- package/dist/components/arcgis-directions/customElement.js +5 -13
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +45 -8
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +40 -8
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -6
- package/dist/components/arcgis-editor/customElement.d.ts +74 -8
- package/dist/components/arcgis-editor/customElement.js +1 -4
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +94 -8
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -4
- package/dist/components/arcgis-expand/customElement.d.ts +96 -10
- package/dist/components/arcgis-expand/customElement.js +1 -6
- package/dist/components/arcgis-feature/customElement.d.ts +119 -17
- package/dist/components/arcgis-feature/customElement.js +1 -9
- package/dist/components/arcgis-feature-form/customElement.d.ts +61 -7
- package/dist/components/arcgis-feature-form/customElement.js +1 -6
- package/dist/components/arcgis-feature-table/customElement.d.ts +316 -38
- package/dist/components/arcgis-feature-table/customElement.js +1 -6
- package/dist/components/arcgis-feature-templates/customElement.d.ts +72 -7
- package/dist/components/arcgis-feature-templates/customElement.js +1 -4
- package/dist/components/arcgis-features/customElement.d.ts +191 -19
- package/dist/components/arcgis-features/customElement.js +1 -10
- package/dist/components/arcgis-floor-filter/customElement.d.ts +51 -8
- package/dist/components/arcgis-floor-filter/customElement.js +1 -4
- package/dist/components/arcgis-fullscreen/customElement.d.ts +17 -13
- package/dist/components/arcgis-fullscreen/customElement.js +2 -12
- package/dist/components/arcgis-grid-controls/customElement.d.ts +120 -22
- package/dist/components/arcgis-grid-controls/customElement.js +5 -24
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +113 -7
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -8
- package/dist/components/arcgis-home/customElement.d.ts +36 -7
- package/dist/components/arcgis-home/customElement.js +3 -20
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +11 -13
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -8
- package/dist/components/arcgis-layer-list/customElement.d.ts +145 -8
- package/dist/components/arcgis-layer-list/customElement.js +1 -7
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +60 -50
- package/dist/components/arcgis-layer-list-item/customElement.js +41 -58
- package/dist/components/arcgis-legend/customElement.d.ts +87 -9
- package/dist/components/arcgis-legend/customElement.js +1 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +35 -8
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -4
- package/dist/components/arcgis-link-chart/customElement.d.ts +83 -29
- package/dist/components/arcgis-link-chart/customElement.js +1 -71
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +38 -10
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +3 -11
- package/dist/components/arcgis-locate/customElement.d.ts +61 -11
- package/dist/components/arcgis-locate/customElement.js +3 -16
- package/dist/components/arcgis-map/customElement.d.ts +101 -40
- package/dist/components/arcgis-map/customElement.js +1 -83
- package/dist/components/arcgis-measurement/customElement.d.ts +52 -7
- package/dist/components/arcgis-measurement/customElement.js +1 -4
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +7 -16
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +104 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +3 -10
- package/dist/components/arcgis-placement/customElement.d.ts +6 -1
- package/dist/components/arcgis-placement/customElement.js +1 -12
- package/dist/components/arcgis-print/customElement.d.ts +196 -25
- package/dist/components/arcgis-print/customElement.js +3 -12
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -5
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +1 -7
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -5
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -5
- package/dist/components/arcgis-print-format-select/customElement.js +1 -5
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -5
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -5
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -7
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -5
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -5
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -5
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -5
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -7
- package/dist/components/arcgis-print-template-select/customElement.js +1 -5
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -0
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -7
- package/dist/components/arcgis-scale-bar/customElement.d.ts +22 -8
- package/dist/components/arcgis-scale-bar/customElement.js +3 -18
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +79 -8
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -4
- package/dist/components/arcgis-scene/customElement.d.ts +200 -108
- package/dist/components/arcgis-scene/customElement.js +1 -195
- package/dist/components/arcgis-search/customElement.d.ts +108 -64
- package/dist/components/arcgis-search/customElement.js +3 -40
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +13 -7
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -10
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +86 -8
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -4
- package/dist/components/arcgis-sketch/customElement.d.ts +147 -8
- package/dist/components/arcgis-sketch/customElement.js +2 -9
- package/dist/components/arcgis-slice/customElement.d.ts +67 -8
- package/dist/components/arcgis-slice/customElement.js +1 -4
- package/dist/components/arcgis-slider/customElement.d.ts +171 -7
- package/dist/components/arcgis-slider/customElement.js +1 -4
- package/dist/components/arcgis-swipe/customElement.d.ts +41 -15
- package/dist/components/arcgis-swipe/customElement.js +3 -12
- package/dist/components/arcgis-table-list/customElement.d.ts +106 -8
- package/dist/components/arcgis-table-list/customElement.js +1 -5
- package/dist/components/arcgis-time-slider/customElement.d.ts +117 -8
- package/dist/components/arcgis-time-slider/customElement.js +1 -4
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +25 -4
- package/dist/components/arcgis-time-zone-label/customElement.js +5 -23
- package/dist/components/arcgis-track/customElement.d.ts +84 -9
- package/dist/components/arcgis-track/customElement.js +3 -10
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +157 -21
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -8
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +79 -11
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -4
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +27 -8
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -8
- package/dist/components/arcgis-value-picker/customElement.d.ts +87 -7
- package/dist/components/arcgis-value-picker/customElement.js +1 -4
- package/dist/components/arcgis-version-management/customElement.d.ts +27 -11
- package/dist/components/arcgis-version-management/customElement.js +3 -16
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -5
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -3
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -8
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +2 -0
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -8
- package/dist/components/arcgis-video/customElement.d.ts +17 -1
- package/dist/components/arcgis-video/customElement.js +1 -8
- package/dist/components/arcgis-video-player/customElement.d.ts +84 -16
- package/dist/components/arcgis-video-player/customElement.js +3 -10
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -3
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -5
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -5
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -5
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -5
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -5
- package/dist/components/arcgis-weather/customElement.d.ts +24 -6
- package/dist/components/arcgis-weather/customElement.js +2 -19
- package/dist/components/arcgis-zoom/customElement.d.ts +27 -12
- package/dist/components/arcgis-zoom/customElement.js +6 -19
- package/dist/controllers/Handles.d.ts +2 -2
- package/dist/controllers/useHandles.d.ts +4 -4
- package/dist/docs/api.json +1405 -756
- package/dist/docs/docs.json +555 -358
- package/dist/docs/vscode.html-custom-data.json +297 -223
- package/dist/docs/web-types.json +569 -550
- package/dist/geolocation/GeolocationPositioning.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +4 -4
- package/dist/arcgis-map-components/35ACNFDJ.js +0 -4
- package/dist/arcgis-map-components/3UHY22IE.js +0 -4
- package/dist/arcgis-map-components/42S4MYFD.js +0 -4
- package/dist/arcgis-map-components/7S3K56VC.js +0 -4
- package/dist/arcgis-map-components/B7XTMIOE.js +0 -4
- package/dist/arcgis-map-components/BCDZNQXR.js +0 -4
- package/dist/arcgis-map-components/BRAN3HL4.js +0 -4
- package/dist/arcgis-map-components/CJJHKB5C.js +0 -4
- package/dist/arcgis-map-components/DU3P5Y56.js +0 -4
- package/dist/arcgis-map-components/EAJFJJIY.js +0 -4
- package/dist/arcgis-map-components/EIOFZZ7P.js +0 -4
- package/dist/arcgis-map-components/GSUAUMLS.js +0 -4
- package/dist/arcgis-map-components/KOCJX6MQ.js +0 -4
- package/dist/arcgis-map-components/L3KCGCYD.js +0 -4
- package/dist/arcgis-map-components/LPJDL3CA.js +0 -4
- package/dist/arcgis-map-components/MZ54YR5C.js +0 -4
- package/dist/arcgis-map-components/U6LDGDZ2.js +0 -4
- package/dist/arcgis-map-components/UJCSKXV3.js +0 -4
- package/dist/arcgis-map-components/VCAW5C2U.js +0 -4
- package/dist/arcgis-map-components/WL27TRU6.js +0 -4
- package/dist/arcgis-map-components/WVLNMUKX.js +0 -4
- package/dist/arcgis-map-components/X7NTYVHN.js +0 -4
- package/dist/arcgis-map-components/YU6GRPC2.js +0 -4
- package/dist/chunks/useT9n.js +0 -9
|
@@ -6,7 +6,7 @@ import { m as d } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.113 */
|
|
10
10
|
const l = r`@layer{arcgis-shadow-cast{display:block}}`, n = d(s);
|
|
11
11
|
class c extends o {
|
|
12
12
|
constructor() {
|
|
@@ -21,9 +21,6 @@ class c extends o {
|
|
|
21
21
|
static {
|
|
22
22
|
this.styles = l;
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region Public Methods
|
|
26
|
-
/** Permanently destroy the component */
|
|
27
24
|
async destroy() {
|
|
28
25
|
await this.manager.destroy();
|
|
29
26
|
}
|
|
@@ -29,75 +29,212 @@ declare const useSketchWidget: (component: LitElement & Pick<Sketch, never> & {
|
|
|
29
29
|
}, options?: {
|
|
30
30
|
editConstructorProperties(props: __esri.SketchProperties | undefined): __esri.SketchProperties | Promise<__esri.SketchProperties | undefined> | undefined;
|
|
31
31
|
} | undefined) => Sketch;
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Sketch component provides a simple UI for creating and updating graphics on a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
34
|
+
*
|
|
35
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-sketch/)
|
|
33
36
|
*/
|
|
34
37
|
export declare class ArcgisSketch extends LitElement {
|
|
38
|
+
/**
|
|
39
|
+
* When creating new graphics (for example after [create()](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#create) has been called),
|
|
40
|
+
* this property reflects the create tool being used.
|
|
41
|
+
*
|
|
42
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#activeTool)
|
|
43
|
+
*/
|
|
35
44
|
readonly activeTool: nullish | "rectangle" | "polygon" | "point" | "move" | "circle" | "reshape" | "multipoint" | "polyline" | "mesh" | "transform" | "freehandPolyline" | "freehandPolygon" | "rectangle-selection" | "lasso-selection" | "custom-selection";
|
|
36
45
|
/**
|
|
37
46
|
* If true, the component will not be destroyed automatically when it is
|
|
38
47
|
* disconnected from the document. This is useful when you want to move the
|
|
39
48
|
* component to a different place on the page, or temporarily hide it. If this
|
|
40
|
-
* is set, make sure to call the
|
|
41
|
-
* memory leaks.
|
|
49
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-sketch/#destroy) method when you are done to
|
|
50
|
+
* prevent memory leaks.
|
|
51
|
+
*
|
|
52
|
+
* @default false
|
|
42
53
|
*/
|
|
43
54
|
autoDestroyDisabled: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Property controlling the visibility and order of create tool buttons.
|
|
57
|
+
*
|
|
58
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#availableCreateTools)
|
|
59
|
+
*
|
|
60
|
+
* @default ["point", "polyline", "polygon", "rectangle", "circle"]
|
|
61
|
+
*/
|
|
44
62
|
availableCreateTools: nullish | ("rectangle" | "polygon" | "point" | "circle" | "multipoint" | "polyline" | "mesh" | "freehandPolyline" | "freehandPolygon")[];
|
|
63
|
+
/**
|
|
64
|
+
* The graphic that is being created.
|
|
65
|
+
*
|
|
66
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#createGraphic)
|
|
67
|
+
*/
|
|
45
68
|
readonly createGraphic: nullish | __esri.Graphic;
|
|
69
|
+
/**
|
|
70
|
+
* Defines the default behavior once the [create](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#create) operation is completed.
|
|
71
|
+
*
|
|
72
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#creationMode)
|
|
73
|
+
*
|
|
74
|
+
* @default "continuous"
|
|
75
|
+
*/
|
|
46
76
|
creationMode: "update" | "single" | "continuous";
|
|
77
|
+
/**
|
|
78
|
+
* Default create options set for the Sketch widget.
|
|
79
|
+
*
|
|
80
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#defaultCreateOptions)
|
|
81
|
+
*/
|
|
47
82
|
defaultCreateOptions: __esri.SketchDefaultCreateOptions;
|
|
48
83
|
/**
|
|
49
84
|
* By default, sketch will auto-create a new graphics layer if none was
|
|
50
85
|
* provided. Set this prop to true to disable this behavior.
|
|
86
|
+
*
|
|
87
|
+
* @default false
|
|
51
88
|
*/
|
|
52
89
|
defaultGraphicsLayerDisabled: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Default update options set for the Sketch widget.
|
|
92
|
+
*
|
|
93
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#defaultUpdateOptions)
|
|
94
|
+
*/
|
|
53
95
|
defaultUpdateOptions: __esri.SketchDefaultUpdateOptions;
|
|
96
|
+
/** @default false */
|
|
54
97
|
hideCreateToolsCircle: boolean;
|
|
98
|
+
/** @default false */
|
|
55
99
|
hideCreateToolsPoint: boolean;
|
|
100
|
+
/** @default false */
|
|
56
101
|
hideCreateToolsPolygon: boolean;
|
|
102
|
+
/** @default false */
|
|
57
103
|
hideCreateToolsPolyline: boolean;
|
|
104
|
+
/** @default false */
|
|
58
105
|
hideCreateToolsRectangle: boolean;
|
|
106
|
+
/** @default false */
|
|
59
107
|
hideDuplicateButton: boolean;
|
|
108
|
+
/** @default false */
|
|
60
109
|
hideDeleteButton: boolean;
|
|
110
|
+
/** @default false */
|
|
61
111
|
hideSelectionCountLabel: boolean;
|
|
112
|
+
/** @default false */
|
|
62
113
|
hideLabelsToggle: boolean;
|
|
114
|
+
/** @default false */
|
|
63
115
|
hideSelectionToolsLassoSelection: boolean;
|
|
116
|
+
/** @default false */
|
|
64
117
|
hideSelectionToolsRectangleSelection: boolean;
|
|
118
|
+
/** @default false */
|
|
65
119
|
hideSettingsMenu: boolean;
|
|
120
|
+
/** @default false */
|
|
66
121
|
hideSnappingControls: boolean;
|
|
122
|
+
/** @default false */
|
|
67
123
|
hideSnappingControlsElementsEnabledToggle: boolean;
|
|
124
|
+
/** @default false */
|
|
68
125
|
hideSnappingControlsElementsFeatureEnabledToggle: boolean;
|
|
126
|
+
/** @default false */
|
|
69
127
|
hideSnappingControlsElementsLayerList: boolean;
|
|
128
|
+
/** @default false */
|
|
70
129
|
hideSnappingControlsElementsSelfEnabledToggle: boolean;
|
|
130
|
+
/** @default false */
|
|
71
131
|
hideTooltipsToggle: boolean;
|
|
132
|
+
/** @default false */
|
|
72
133
|
hideUndoRedoMenu: boolean;
|
|
73
134
|
/**
|
|
74
|
-
* Icon which represents the
|
|
75
|
-
*
|
|
76
|
-
*
|
|
135
|
+
* Icon which represents the widget.
|
|
136
|
+
*
|
|
137
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#icon)
|
|
138
|
+
*
|
|
139
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
140
|
+
* @default "pencil"
|
|
77
141
|
*/
|
|
78
142
|
icon: string;
|
|
79
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* The Sketch widget's default label.
|
|
145
|
+
*
|
|
146
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#label)
|
|
147
|
+
*/
|
|
80
148
|
label: string;
|
|
149
|
+
/**
|
|
150
|
+
* Options to configure the sketch labels shown next to each segment of the geometry being created or updated.
|
|
151
|
+
*
|
|
152
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#labelOptions)
|
|
153
|
+
*/
|
|
81
154
|
labelOptions: __esri.SketchLabelOptions;
|
|
155
|
+
/**
|
|
156
|
+
* The [GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html) associated with the Sketch widget.
|
|
157
|
+
*
|
|
158
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#layer)
|
|
159
|
+
*/
|
|
82
160
|
layer: GraphicsLayer;
|
|
161
|
+
/**
|
|
162
|
+
* Determines the layout/orientation of the Sketch widget.
|
|
163
|
+
*
|
|
164
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#layout)
|
|
165
|
+
*
|
|
166
|
+
* @default "horizontal"
|
|
167
|
+
*/
|
|
83
168
|
layout: "vertical" | "horizontal";
|
|
169
|
+
/**
|
|
170
|
+
* A [SimpleMarkerSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html), [PointSymbol3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PointSymbol3D.html), [TextSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-TextSymbol.html), [CIMSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html), or [WebStyleSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-WebStyleSymbol.html) used for representing the point geometry that is being drawn.
|
|
171
|
+
*
|
|
172
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#pointSymbol)
|
|
173
|
+
*/
|
|
84
174
|
pointSymbol: __esri.SimpleMarkerSymbol | __esri.PictureMarkerSymbol | __esri.PointSymbol3D | __esri.TextSymbol | __esri.CIMSymbol | __esri.WebStyleSymbol;
|
|
175
|
+
/**
|
|
176
|
+
* A [SimpleFillSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html), [PolygonSymbol3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-PolygonSymbol3D.html), or [CIMSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html) used for representing the polygon geometry that is being drawn.
|
|
177
|
+
*
|
|
178
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#polygonSymbol)
|
|
179
|
+
*/
|
|
85
180
|
polygonSymbol: __esri.CIMSymbol | __esri.SimpleFillSymbol | __esri.PolygonSymbol3D;
|
|
181
|
+
/**
|
|
182
|
+
* A [SimpleLineSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html), [LineSymbol3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-LineSymbol3D.html), or [CIMSymbol](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html) used for representing the polyline geometry that is being drawn.
|
|
183
|
+
*
|
|
184
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#polylineSymbol)
|
|
185
|
+
*/
|
|
86
186
|
polylineSymbol: __esri.SimpleLineSymbol | __esri.CIMSymbol | __esri.LineSymbol3D;
|
|
187
|
+
/** @default "bottom-left" */
|
|
87
188
|
position: __esri.UIPosition;
|
|
88
189
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
190
|
+
/**
|
|
191
|
+
* Determines the size of widget elements.
|
|
192
|
+
*
|
|
193
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#scale)
|
|
194
|
+
*
|
|
195
|
+
* @default "m"
|
|
196
|
+
*/
|
|
89
197
|
scale: "s" | "m" | "l";
|
|
198
|
+
/**
|
|
199
|
+
* Controls the appearance of the sketch widget, allowing
|
|
200
|
+
* the toolbar to adapt its appearance appropriately based on context.
|
|
201
|
+
*
|
|
202
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#toolbarKind)
|
|
203
|
+
*
|
|
204
|
+
* @default "floating"
|
|
205
|
+
*/
|
|
90
206
|
toolbarKind: "floating" | "docked";
|
|
207
|
+
/** @default false */
|
|
91
208
|
showSnappingControlsElementsHeader: boolean;
|
|
209
|
+
/**
|
|
210
|
+
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-snapping-SnappingOptions.html) for sketching.
|
|
211
|
+
*
|
|
212
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#snappingOptions)
|
|
213
|
+
*/
|
|
92
214
|
snappingOptions: __esri.SnappingOptions;
|
|
215
|
+
/**
|
|
216
|
+
* The Sketch widget's state.
|
|
217
|
+
*
|
|
218
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#state)
|
|
219
|
+
*/
|
|
93
220
|
readonly state: "ready" | "disabled" | "active";
|
|
221
|
+
/**
|
|
222
|
+
* Options to configure the tooltip shown next to the cursor when creating or updating graphics.
|
|
223
|
+
*
|
|
224
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#tooltipOptions)
|
|
225
|
+
*/
|
|
94
226
|
tooltipOptions: __esri.SketchTooltipOptions;
|
|
227
|
+
/**
|
|
228
|
+
* An array of [graphics](https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html) that are being updated by the Sketch widget.
|
|
229
|
+
*
|
|
230
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#updateGraphics)
|
|
231
|
+
*/
|
|
95
232
|
readonly updateGraphics: __esri.Collection<__esri.Graphic>;
|
|
96
233
|
cancel(): Promise<void>;
|
|
97
234
|
complete(): Promise<void>;
|
|
98
235
|
create(tool: "circle" | "point" | "polygon" | "polyline" | "rectangle", createOptions?: __esri.SketchViewModelCreateCreateOptions): Promise<void>;
|
|
99
236
|
delete(): Promise<void>;
|
|
100
|
-
/** Permanently destroy the component */
|
|
237
|
+
/** Permanently destroy the component. */
|
|
101
238
|
destroy(): Promise<void>;
|
|
102
239
|
duplicate(): Promise<void>;
|
|
103
240
|
redo(): Promise<void>;
|
|
@@ -105,9 +242,11 @@ export declare class ArcgisSketch extends LitElement {
|
|
|
105
242
|
undo(): Promise<void>;
|
|
106
243
|
readonly arcgisCreate: TargetedEvent<this, __esri.SketchCreateEvent>;
|
|
107
244
|
readonly arcgisDelete: TargetedEvent<this, __esri.SketchDeleteEvent>;
|
|
245
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
108
246
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
109
247
|
name: "state";
|
|
110
248
|
}>;
|
|
249
|
+
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
111
250
|
readonly arcgisReady: TargetedEvent<this, undefined>;
|
|
112
251
|
readonly arcgisRedo: TargetedEvent<this, __esri.SketchRedoEvent>;
|
|
113
252
|
readonly arcgisUndo: TargetedEvent<this, __esri.SketchUndoEvent>;
|
|
@@ -8,11 +8,9 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
8
8
|
import { css as g } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.113 */
|
|
12
12
|
const p = g`@layer{arcgis-sketch{display:block}}`, c = r(n);
|
|
13
13
|
class m extends a {
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region Lifecycle
|
|
16
14
|
constructor() {
|
|
17
15
|
super(), this.widget = c(this, { editConstructorProperties: this._editConstructorProperties }), this.viewModel = this.widget.viewModel, this.activeTool = this.widget.activeTool, this.autoDestroyDisabled = !1, this.availableCreateTools = this.widget.availableCreateTools, this.createGraphic = this.widget.createGraphic, this.creationMode = this.widget.creationMode, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.widget.defaultUpdateOptions, this.hideCreateToolsCircle = this.widget.visibleElements.createTools.circle, this.hideCreateToolsPoint = this.widget.visibleElements.createTools.point, this.hideCreateToolsPolygon = this.widget.visibleElements.createTools.polygon, this.hideCreateToolsPolyline = this.widget.visibleElements.createTools.polyline, this.hideCreateToolsRectangle = this.widget.visibleElements.createTools.rectangle, this.hideDuplicateButton = this.widget.visibleElements.duplicateButton, this.hideDeleteButton = this.widget.visibleElements.deleteButton, this.hideSelectionCountLabel = this.widget.visibleElements.selectionCountLabel, this.hideLabelsToggle = this.widget.visibleElements.labelsToggle, this.hideSelectionToolsLassoSelection = this.widget.visibleElements.selectionTools["lasso-selection"], this.hideSelectionToolsRectangleSelection = this.widget.visibleElements.selectionTools["rectangle-selection"], this.hideSettingsMenu = this.widget.visibleElements.settingsMenu, this.hideSnappingControls = this.widget.visibleElements.snappingControls, this.hideSnappingControlsElementsEnabledToggle = this.widget.visibleElements.snappingControlsElements.enabledToggle, this.hideSnappingControlsElementsFeatureEnabledToggle = this.widget.visibleElements.snappingControlsElements.featureEnabledToggle, this.hideSnappingControlsElementsLayerList = this.widget.visibleElements.snappingControlsElements.layerList, this.hideSnappingControlsElementsSelfEnabledToggle = this.widget.visibleElements.snappingControlsElements.selfEnabledToggle, this.hideTooltipsToggle = this.widget.visibleElements.tooltipsToggle, this.hideUndoRedoMenu = this.widget.visibleElements.undoRedoMenu, this.icon = this.widget.icon, this.label = this.widget.label, this.labelOptions = this.widget.labelOptions, this.layer = this.widget.layer, this.layout = this.widget.layout, this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.position = "bottom-left", this.scale = this.widget.scale, this.toolbarKind = this.widget.toolbarKind, this.showSnappingControlsElementsHeader = this.widget.visibleElements.snappingControlsElements.header, this.snappingOptions = this.widget.snappingOptions, this.state = this.widget.state, this.tooltipOptions = this.widget.tooltipOptions, this.updateGraphics = this.widget.updateGraphics, this.arcgisCreate = t(() => this.widget, "create"), this.arcgisDelete = t(() => this.widget, "delete"), this.arcgisPropertyChange = o()("state"), this.arcgisReady = d(), this.arcgisRedo = t(() => this.widget, "redo"), this.arcgisUndo = t(() => this.widget, "undo"), this.arcgisUpdate = t(() => this.widget, "update"), this.listen("arcgisReady", this._arcgisReadyHandler);
|
|
18
16
|
}
|
|
@@ -25,8 +23,6 @@ class m extends a {
|
|
|
25
23
|
static {
|
|
26
24
|
this.styles = p;
|
|
27
25
|
}
|
|
28
|
-
//#endregion
|
|
29
|
-
//#region Public Methods
|
|
30
26
|
async cancel() {
|
|
31
27
|
this.widget?.cancel();
|
|
32
28
|
}
|
|
@@ -39,7 +35,6 @@ class m extends a {
|
|
|
39
35
|
async delete() {
|
|
40
36
|
this.widget?.delete();
|
|
41
37
|
}
|
|
42
|
-
/** Permanently destroy the component */
|
|
43
38
|
async destroy() {
|
|
44
39
|
await this.manager.destroy();
|
|
45
40
|
}
|
|
@@ -55,10 +50,8 @@ class m extends a {
|
|
|
55
50
|
async undo() {
|
|
56
51
|
this.widget?.undo();
|
|
57
52
|
}
|
|
58
|
-
//#endregion
|
|
59
|
-
//#region Private Methods
|
|
60
53
|
_arcgisReadyHandler() {
|
|
61
|
-
this.defaultGraphicsLayerDisabled || this.el.view?.map
|
|
54
|
+
this.defaultGraphicsLayerDisabled || this.el.view?.map?.add(this.widget.layer);
|
|
62
55
|
}
|
|
63
56
|
async _editConstructorProperties(e) {
|
|
64
57
|
return this.defaultGraphicsLayerDisabled || (e.layer ??= new l({ title: "Sketch Layer" })), e;
|
|
@@ -28,41 +28,100 @@ declare const useSliceWidget: (component: LitElement & Pick<Slice, never> & {
|
|
|
28
28
|
}, options?: {
|
|
29
29
|
editConstructorProperties(props: __esri.SliceProperties | undefined): __esri.SliceProperties | Promise<__esri.SliceProperties | undefined> | undefined;
|
|
30
30
|
} | undefined) => Slice;
|
|
31
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Slice component is a 3D analysis tool that can be used to reveal occluded content in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
33
|
+
*
|
|
34
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/)
|
|
32
35
|
*/
|
|
33
36
|
export declare class ArcgisSlice extends LitElement {
|
|
37
|
+
/**
|
|
38
|
+
* The slice analysis object being created or modified by the widget.
|
|
39
|
+
*
|
|
40
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice.html#analysis)
|
|
41
|
+
*/
|
|
34
42
|
readonly analysis: __esri.SliceAnalysis;
|
|
35
43
|
/**
|
|
36
44
|
* If true, the component will not be destroyed automatically when it is
|
|
37
45
|
* disconnected from the document. This is useful when you want to move the
|
|
38
46
|
* component to a different place on the page, or temporarily hide it. If this
|
|
39
|
-
* is set, make sure to call the
|
|
40
|
-
* memory leaks.
|
|
47
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#destroy) method when you are done to
|
|
48
|
+
* prevent memory leaks.
|
|
49
|
+
*
|
|
50
|
+
* @default false
|
|
41
51
|
*/
|
|
42
52
|
autoDestroyDisabled: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Indicates whether the [Ground](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html) and layers that
|
|
55
|
+
* are draped on the ground surface are excluded from the slice.
|
|
56
|
+
*
|
|
57
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice-SliceViewModel.html#excludeGroundSurface)
|
|
58
|
+
*
|
|
59
|
+
* @default false
|
|
60
|
+
*/
|
|
43
61
|
excludeGroundSurface: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Add layers to this collection to exclude them from the slice.
|
|
64
|
+
*
|
|
65
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice-SliceViewModel.html#excludedLayers)
|
|
66
|
+
*/
|
|
44
67
|
excludedLayers: __esri.Collection<__esri.Layer | __esri.BuildingComponentSublayer>;
|
|
68
|
+
/**
|
|
69
|
+
* Indicates the heading level to use for the "Excluded layers" heading.
|
|
70
|
+
*
|
|
71
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice.html#headingLevel)
|
|
72
|
+
*
|
|
73
|
+
* @default 3
|
|
74
|
+
*/
|
|
45
75
|
headingLevel: number;
|
|
46
76
|
/**
|
|
47
|
-
* Icon which represents the
|
|
48
|
-
*
|
|
49
|
-
*
|
|
77
|
+
* Icon which represents the widget.
|
|
78
|
+
*
|
|
79
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice.html#icon)
|
|
80
|
+
*
|
|
81
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
82
|
+
* @default "slice"
|
|
50
83
|
*/
|
|
51
84
|
icon: string;
|
|
52
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* The widget's default label.
|
|
87
|
+
*
|
|
88
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice.html#label)
|
|
89
|
+
*/
|
|
53
90
|
label: string;
|
|
91
|
+
/** @default "bottom-left" */
|
|
54
92
|
position: __esri.UIPosition;
|
|
55
93
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
94
|
+
/**
|
|
95
|
+
* The shape used to slice elements in a 3D scene.
|
|
96
|
+
*
|
|
97
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice-SliceViewModel.html#shape)
|
|
98
|
+
*/
|
|
56
99
|
shape: nullish | __esri.SlicePlane;
|
|
100
|
+
/**
|
|
101
|
+
* The view model's state.
|
|
102
|
+
*
|
|
103
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice-SliceViewModel.html#state)
|
|
104
|
+
*
|
|
105
|
+
* @default "disabled"
|
|
106
|
+
*/
|
|
57
107
|
readonly state: "ready" | "disabled" | "slicing" | "sliced";
|
|
108
|
+
/**
|
|
109
|
+
* Enable tilting the slice shape.
|
|
110
|
+
*
|
|
111
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Slice-SliceViewModel.html#tiltEnabled)
|
|
112
|
+
*
|
|
113
|
+
* @default false
|
|
114
|
+
*/
|
|
58
115
|
tiltEnabled: boolean;
|
|
59
116
|
clear(): Promise<void>;
|
|
60
|
-
/** Permanently destroy the component */
|
|
117
|
+
/** Permanently destroy the component. */
|
|
61
118
|
destroy(): Promise<void>;
|
|
62
119
|
start(): Promise<void>;
|
|
120
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
63
121
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
64
122
|
name: "state" | "analysis";
|
|
65
123
|
}>;
|
|
124
|
+
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
66
125
|
readonly arcgisReady: TargetedEvent<this, undefined>;
|
|
67
126
|
}
|
|
68
127
|
export {};
|
|
@@ -6,7 +6,7 @@ import { m as l } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.113 */
|
|
10
10
|
const d = r`@layer{arcgis-slice{display:block}}`, h = l(s);
|
|
11
11
|
class c extends i {
|
|
12
12
|
constructor() {
|
|
@@ -21,12 +21,9 @@ class c extends i {
|
|
|
21
21
|
static {
|
|
22
22
|
this.styles = d;
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region Public Methods
|
|
26
24
|
async clear() {
|
|
27
25
|
this.widget?.viewModel.clear();
|
|
28
26
|
}
|
|
29
|
-
/** Permanently destroy the component */
|
|
30
27
|
async destroy() {
|
|
31
28
|
await this.manager.destroy();
|
|
32
29
|
}
|