@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
|
@@ -5,7 +5,7 @@ import { LitElement as n, safeClassMap as a } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.113 */
|
|
9
9
|
const f = m`.arcgis-metadata-table{display:flex;flex-direction:column;border-top:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__row{display:flex;flex-direction:row;border-bottom:1px solid var(--calcite-color-border-1);border-right:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__data{flex:1;border-left:1px solid var(--calcite-color-border-1);padding:5px}.arcgis-metadata-table__empty-state{width:100%;max-inline-size:unset;transition-duration:0ms}`, o = "arcgis-metadata-table", t = {
|
|
10
10
|
table: o,
|
|
11
11
|
row: `${o}__row`,
|
|
@@ -22,8 +22,6 @@ class h extends n {
|
|
|
22
22
|
static {
|
|
23
23
|
this.styles = f;
|
|
24
24
|
}
|
|
25
|
-
//#endregion
|
|
26
|
-
//#region Lifecycle
|
|
27
25
|
loaded() {
|
|
28
26
|
this.manager.onLifecycle(() => [
|
|
29
27
|
d(() => this.viewModel.state, (i) => {
|
|
@@ -42,8 +40,6 @@ class h extends n {
|
|
|
42
40
|
}, { initial: !0 })
|
|
43
41
|
]);
|
|
44
42
|
}
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region Rendering
|
|
47
43
|
render() {
|
|
48
44
|
const { messages: i } = this;
|
|
49
45
|
return this._disabled || !this._hasMetadata ? s`<calcite-tile class=${a(t.emptyState)} .description=${i.metadataDescription} .heading=${i.metadataNotLoaded}></calcite-tile>` : s`<calcite-block .heading=${i.metadata} open><calcite-accordion appearance=solid selection-mode=single><calcite-accordion-item .heading=${i.missionInfo}><div class=${a(t.table)}>${Object.keys(this._missionInfo).map((e) => s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._missionInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.platformInfo}><div class=${a(t.table)}>${Object.keys(this._platformInfo).map((e) => s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._platformInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.frameInfo}><div class=${a(t.table)}>${Object.keys(this._frameInfo).map((e) => s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._frameInfo[e]}</div></div>`)}</div></calcite-accordion-item></calcite-accordion></calcite-block>`;
|
|
@@ -6,7 +6,7 @@ import { LitElement as p } from "@arcgis/lumina";
|
|
|
6
6
|
import { css as m } 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 v = m`.arcgis-video-player__settings-flow{min-width:var(--calcite-size-160)}`, $ = ["Auto"], g = [
|
|
11
11
|
{ label: "0.25x", value: 0.25 },
|
|
12
12
|
{ label: "0.5x", value: 0.5 },
|
|
@@ -24,8 +24,6 @@ class u extends p {
|
|
|
24
24
|
static {
|
|
25
25
|
this.styles = v;
|
|
26
26
|
}
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region Lifecycle
|
|
29
27
|
loaded() {
|
|
30
28
|
this.manager.onLifecycle(() => [
|
|
31
29
|
h(() => this.viewModel.state, (l) => {
|
|
@@ -33,8 +31,6 @@ class u extends p {
|
|
|
33
31
|
}, { initial: !0 })
|
|
34
32
|
]);
|
|
35
33
|
}
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region Rendering
|
|
38
34
|
render() {
|
|
39
35
|
const { viewModel: l, messages: e } = this, o = i`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active === "speed"} @calciteFlowItemBack=${() => this._active = null}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${g.map(({ label: t, value: c }) => i`<calcite-list-item .label=${t} @click=${() => {
|
|
40
36
|
this._speed = t, l.changePlaybackSpeed(c);
|
|
@@ -4,7 +4,7 @@ import { LitElement as c, safeClassMap as s } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as t } from "@lit/reactive-element/css-tag.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.113 */
|
|
8
8
|
const d = t`.arcgis-video-player__slider-progress-container{position:relative;z-index:1;width:100%}.arcgis-video-player__progress{--esri-video-player-progress-width: 2px;appearance:none;display:block;position:absolute;top:calc(50% - var(--esri-video-player-progress-width) / 2);left:var(--esri-video-player-controls-spacing);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--esri-video-player-controls-spacing) * 2);height:var(--esri-video-player-progress-width)}.arcgis-video-player__progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.arcgis-video-player__progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__slider{--calcite-slider-track-color: transparent;background-color:var(--calcite-color-foreground-1);padding:calc(var(--esri-video-player-controls-spacing) / 4) calc(var(--esri-video-player-controls-spacing) / 2)}`, o = "arcgis-video-player", i = {
|
|
9
9
|
progress: `${o}__progress`,
|
|
10
10
|
slider: `${o}__slider`,
|
|
@@ -17,16 +17,12 @@ class p extends c {
|
|
|
17
17
|
static {
|
|
18
18
|
this.styles = d;
|
|
19
19
|
}
|
|
20
|
-
//#endregion
|
|
21
|
-
//#region Private Methods
|
|
22
20
|
_onSliderInput({ currentTarget: r }) {
|
|
23
21
|
if (typeof r.value == "number") {
|
|
24
22
|
const e = r.value * this.viewModel.duration / 100;
|
|
25
23
|
this.viewModel.seekTo(e);
|
|
26
24
|
}
|
|
27
25
|
}
|
|
28
|
-
//#endregion
|
|
29
|
-
//#region Rendering
|
|
30
26
|
render() {
|
|
31
27
|
const { value: r, buffered: e } = this;
|
|
32
28
|
return l`<div class=${s(i.sliderProgressContainer)}><progress class=${s(i.progress)} max=1 .value=${`${e}`}></progress><div class=${s(i.slider)}><calcite-slider max=100 min=0 .value=${r} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div></div>`;
|
|
@@ -10,15 +10,20 @@ import { WeatherViewModel } from './WeatherViewModel.js';
|
|
|
10
10
|
declare const useViewModel: (component: LitElement & Pick<WeatherViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<WeatherViewModel>, options?: {
|
|
11
11
|
editConstructorProperties(props: unknown): unknown;
|
|
12
12
|
} | undefined) => WeatherViewModel;
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Weather component provides an interface for easily selecting and configuring the weather effects in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
15
|
+
*
|
|
16
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/)
|
|
14
17
|
*/
|
|
15
18
|
export declare class ArcgisWeather extends LitElement {
|
|
16
19
|
/**
|
|
17
20
|
* If true, the component will not be destroyed automatically when it is
|
|
18
21
|
* disconnected from the document. This is useful when you want to move the
|
|
19
22
|
* component to a different place on the page, or temporarily hide it. If this
|
|
20
|
-
* is set, make sure to call the
|
|
21
|
-
* memory leaks.
|
|
23
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-weather/#destroy) method when you are done to
|
|
24
|
+
* prevent memory leaks.
|
|
25
|
+
*
|
|
26
|
+
* @default false
|
|
22
27
|
*/
|
|
23
28
|
autoDestroyDisabled: boolean;
|
|
24
29
|
/**
|
|
@@ -29,28 +34,41 @@ export declare class ArcgisWeather extends LitElement {
|
|
|
29
34
|
* @instance
|
|
30
35
|
* @type {number}
|
|
31
36
|
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
37
|
+
* @default 4
|
|
32
38
|
*/
|
|
33
39
|
headingLevel: HeadingLevel;
|
|
34
40
|
/**
|
|
35
41
|
* Whether to hide the component's header.
|
|
42
|
+
*
|
|
43
|
+
* @default false
|
|
36
44
|
*/
|
|
37
45
|
hideHeader: boolean;
|
|
38
46
|
/**
|
|
39
47
|
* Icon which represents the component.
|
|
40
48
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
41
|
-
*
|
|
49
|
+
*
|
|
50
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
51
|
+
* @default "partly-cloudy"
|
|
42
52
|
*/
|
|
43
53
|
icon: string;
|
|
44
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* The component's default label.
|
|
56
|
+
*
|
|
57
|
+
* @default "Weather"
|
|
58
|
+
*/
|
|
45
59
|
label: string | undefined;
|
|
60
|
+
/** @default "bottom-left" */
|
|
46
61
|
position: __esri.UIPosition;
|
|
47
62
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
63
|
+
/** The current state of the component. */
|
|
48
64
|
state: "ready" | "disabled" | "error";
|
|
49
|
-
/** Permanently destroy the component */
|
|
65
|
+
/** Permanently destroy the component. */
|
|
50
66
|
destroy(): Promise<void>;
|
|
67
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
51
68
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
52
69
|
name: "state";
|
|
53
70
|
}>;
|
|
71
|
+
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
54
72
|
readonly arcgisReady: TargetedEvent<this, undefined>;
|
|
55
73
|
}
|
|
56
74
|
export {};
|
|
@@ -4,7 +4,7 @@ import { usePropertyChange as x } from "@arcgis/lumina/controllers";
|
|
|
4
4
|
import { classes as y } from "@arcgis/components-utils";
|
|
5
5
|
import { watch as b } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
import { nothing as v, safeStyleMap as O, LitElement as S, createEvent as B, noShadowRoot as E, safeClassMap as g } from "@arcgis/lumina";
|
|
7
|
-
import { u as H } from "../../chunks/
|
|
7
|
+
import { u as H } from "../../chunks/useView.js";
|
|
8
8
|
import { m as L } from "../../chunks/useViewModel.js";
|
|
9
9
|
import { H as A } from "../../chunks/heading.js";
|
|
10
10
|
import { g as w } from "../../chunks/globalCss.js";
|
|
@@ -18,7 +18,7 @@ import C from "@arcgis/core/views/3d/environment/SnowyWeather.js";
|
|
|
18
18
|
import M from "@arcgis/core/views/3d/environment/SunnyWeather.js";
|
|
19
19
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
20
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
21
|
-
v4.33.0-next.
|
|
21
|
+
v4.33.0-next.113 */
|
|
22
22
|
const c = "arcgis-weather", d = {
|
|
23
23
|
base: c,
|
|
24
24
|
content: `${c}__content`,
|
|
@@ -175,25 +175,14 @@ class q extends S {
|
|
|
175
175
|
static {
|
|
176
176
|
this.styles = R;
|
|
177
177
|
}
|
|
178
|
-
//#endregion
|
|
179
|
-
//#region Public Methods
|
|
180
|
-
/** Permanently destroy the component */
|
|
181
178
|
async destroy() {
|
|
182
179
|
await this.manager.destroy();
|
|
183
180
|
}
|
|
184
|
-
//#endregion
|
|
185
|
-
//#region Lifecycle
|
|
186
181
|
load() {
|
|
187
182
|
this.manager.onLifecycle(() => [
|
|
188
183
|
b(() => this._renderContent(), () => this.requestUpdate())
|
|
189
184
|
]);
|
|
190
185
|
}
|
|
191
|
-
//#endregion
|
|
192
|
-
//#region Private Methods
|
|
193
|
-
/**
|
|
194
|
-
* When the widget has a non-fatal error, we display the UI but show a warning
|
|
195
|
-
* at the bottom.
|
|
196
|
-
*/
|
|
197
186
|
_getWarningMessage() {
|
|
198
187
|
switch (this.viewModel.error) {
|
|
199
188
|
case "not-visible": {
|
|
@@ -204,10 +193,6 @@ class q extends S {
|
|
|
204
193
|
return;
|
|
205
194
|
}
|
|
206
195
|
}
|
|
207
|
-
/**
|
|
208
|
-
* When the widget has a fatal error (i.e. it can't work at all), no weather
|
|
209
|
-
* configuration UI is shown. Instead, the error message is shown.
|
|
210
|
-
*/
|
|
211
196
|
_getErrorMessage() {
|
|
212
197
|
const e = this.messages.error;
|
|
213
198
|
if (e)
|
|
@@ -222,8 +207,6 @@ class q extends S {
|
|
|
222
207
|
return;
|
|
223
208
|
}
|
|
224
209
|
}
|
|
225
|
-
//#endregion
|
|
226
|
-
//#region Rendering
|
|
227
210
|
render() {
|
|
228
211
|
return o`<div aria-label=${this.messages.componentLabelAccessible ?? v} class=${g(y(d.base, w.widget, this.viewModel.disabled && w.widgetDisabled))} role=region>${this._renderContent()}</div>`;
|
|
229
212
|
}
|
|
@@ -7,40 +7,55 @@ import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/
|
|
|
7
7
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
8
8
|
|
|
9
9
|
type Layout = "horizontal" | "vertical";
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Zoom component allows users to zoom in/out within a view.
|
|
12
|
+
*
|
|
13
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-zoom/)
|
|
11
14
|
*/
|
|
12
15
|
export declare class ArcgisZoom extends LitElement {
|
|
13
16
|
/**
|
|
14
|
-
* If true, the component will not be destroyed automatically when
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
17
|
+
* If true, the component will not be destroyed automatically when it is
|
|
18
|
+
* disconnected from the document. This is useful when you want to move the
|
|
19
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
20
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-zoom/#destroy) method when you are done to
|
|
21
|
+
* prevent memory leaks.
|
|
22
|
+
*
|
|
23
|
+
* @default false
|
|
19
24
|
*/
|
|
20
25
|
autoDestroyDisabled: boolean;
|
|
21
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Icon which represents the component.
|
|
28
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
29
|
+
*
|
|
30
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
31
|
+
* @default "magnifying-glass-plus"
|
|
32
|
+
*/
|
|
22
33
|
icon: Nil | string;
|
|
23
34
|
/** The component's default label. */
|
|
24
35
|
label: Nil | string;
|
|
25
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Determines the layout/orientation of the Zoom widget.
|
|
38
|
+
*
|
|
39
|
+
* @default "vertical"
|
|
40
|
+
*/
|
|
26
41
|
layout: Layout;
|
|
27
42
|
/** Replace localized message strings with your own strings. */
|
|
28
43
|
messageOverrides?: typeof this.messages._overrides;
|
|
44
|
+
/** @default "top-left" */
|
|
29
45
|
position: __esri.UIPosition;
|
|
30
46
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
31
|
-
/**
|
|
32
|
-
* The current state of the component.
|
|
33
|
-
*/
|
|
34
47
|
get state(): "disabled" | "ready";
|
|
35
|
-
/** Permanently destroy the component */
|
|
48
|
+
/** Permanently destroy the component. */
|
|
36
49
|
destroy(): Promise<void>;
|
|
37
50
|
/** Zooms the view in by an LOD factor of 0.5. */
|
|
38
51
|
zoomIn(): Promise<void>;
|
|
39
52
|
/** Zooms the view out by an LOD factor of 2. */
|
|
40
53
|
zoomOut(): Promise<void>;
|
|
54
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
41
55
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
42
56
|
name: "state";
|
|
43
57
|
}>;
|
|
58
|
+
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
44
59
|
readonly arcgisReady: TargetedEvent<this, undefined>;
|
|
45
60
|
private messages: Partial<{
|
|
46
61
|
componentLabel: string;
|
|
@@ -3,14 +3,13 @@ import { html as h } from "lit-html";
|
|
|
3
3
|
import { classes as i } from "@arcgis/components-utils";
|
|
4
4
|
import { ignoreAbortErrors as l } from "@arcgis/core/core/promiseUtils.js";
|
|
5
5
|
import { when as f } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
-
import { LitElement as g, createEvent as
|
|
6
|
+
import { LitElement as g, createEvent as y, noShadowRoot as p, safeClassMap as r, nothing as m } from "@arcgis/lumina";
|
|
7
7
|
import { usePropertyChange as z } from "@arcgis/lumina/controllers";
|
|
8
|
-
import { u as b } from "../../chunks/
|
|
9
|
-
import { u as O } from "../../chunks/useView.js";
|
|
8
|
+
import { u as b, a as O } from "../../chunks/useView.js";
|
|
10
9
|
import { css as Z } from "@lit/reactive-element/css-tag.js";
|
|
11
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
11
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
13
|
-
v4.33.0-next.
|
|
12
|
+
v4.33.0-next.113 */
|
|
14
13
|
const a = {
|
|
15
14
|
base: "arcgis-zoom",
|
|
16
15
|
horizontalLayout: "arcgis-zoom--horizontal",
|
|
@@ -41,48 +40,36 @@ function u(t) {
|
|
|
41
40
|
const x = Z`@layer{arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap;box-shadow:0 1px 2px #0000004d}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}}`;
|
|
42
41
|
class $ extends g {
|
|
43
42
|
constructor() {
|
|
44
|
-
super(...arguments), this.messages = b({}), this.view = O(this), this.canZoomIn = !1, this.canZoomOut = !1, this.autoDestroyDisabled = !1, this.icon = "magnifying-glass-plus", this.layout = "vertical", this.position = "top-left", this.arcgisPropertyChange = z()("state"), this.arcgisReady =
|
|
43
|
+
super(...arguments), this.messages = b({}), this.view = O(this), this.canZoomIn = !1, this.canZoomOut = !1, this.autoDestroyDisabled = !1, this.icon = "magnifying-glass-plus", this.layout = "vertical", this.position = "top-left", this.arcgisPropertyChange = z()("state"), this.arcgisReady = y();
|
|
45
44
|
}
|
|
46
45
|
static {
|
|
47
|
-
this.properties = { canZoomIn: 16, canZoomOut: 16, autoDestroyDisabled: 5, icon:
|
|
46
|
+
this.properties = { canZoomIn: 16, canZoomOut: 16, autoDestroyDisabled: 5, icon: 1, label: 1, layout: 3, messageOverrides: 0, position: 1, referenceElement: 1, state: 35 };
|
|
48
47
|
}
|
|
49
48
|
static {
|
|
50
|
-
this.shadowRootOptions =
|
|
49
|
+
this.shadowRootOptions = p;
|
|
51
50
|
}
|
|
52
51
|
static {
|
|
53
52
|
this.styles = x;
|
|
54
53
|
}
|
|
55
|
-
/**
|
|
56
|
-
* The current state of the component.
|
|
57
|
-
*/
|
|
58
54
|
get state() {
|
|
59
55
|
return this.view?.ready ? "ready" : "disabled";
|
|
60
56
|
}
|
|
61
|
-
//#endregion
|
|
62
|
-
//#region Public Methods
|
|
63
|
-
/** Permanently destroy the component */
|
|
64
57
|
async destroy() {
|
|
65
58
|
await this.manager.destroy();
|
|
66
59
|
}
|
|
67
|
-
/** Zooms the view in by an LOD factor of 0.5. */
|
|
68
60
|
async zoomIn() {
|
|
69
61
|
const { view: o } = this;
|
|
70
62
|
!this.canZoomIn || !o || (o.type === "2d" ? o.mapViewNavigation.zoomIn() : l(o.goTo({ zoomFactor: 2 })));
|
|
71
63
|
}
|
|
72
|
-
/** Zooms the view out by an LOD factor of 2. */
|
|
73
64
|
async zoomOut() {
|
|
74
65
|
const { view: o } = this;
|
|
75
66
|
!this.canZoomOut || !o || (o.type === "2d" ? o.mapViewNavigation.zoomOut() : l(o.goTo({ zoomFactor: 0.5 })));
|
|
76
67
|
}
|
|
77
|
-
//#endregion
|
|
78
|
-
//#region Lifecycle
|
|
79
68
|
loaded() {
|
|
80
69
|
this.manager.onLifecycle(() => f(() => this.view?.stationary, () => {
|
|
81
70
|
this.canZoomIn = I(this.view), this.canZoomOut = w(this.view);
|
|
82
71
|
}, { initial: !0 }));
|
|
83
72
|
}
|
|
84
|
-
//#endregion
|
|
85
|
-
//#region Rendering
|
|
86
73
|
render() {
|
|
87
74
|
const o = {
|
|
88
75
|
[a.horizontalLayout]: this.layout === "horizontal"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IHandle, Nil } from '@arcgis/components-utils';
|
|
2
2
|
export declare class Handles<T = string, H extends IHandle = IHandle> {
|
|
3
3
|
/**
|
|
4
|
-
* A handle to a
|
|
4
|
+
* A handle to a [highlight](https://next.sites.afd.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#highlight) call result.
|
|
5
5
|
* The handle can be used to remove the installed highlight.
|
|
6
6
|
*
|
|
7
7
|
* @typedef module:esri/core/Handles~Handle
|
|
@@ -36,7 +36,7 @@ export declare class Handles<T = string, H extends IHandle = IHandle> {
|
|
|
36
36
|
* @param {module:esri/core/Accessor~WatchHandle | module:esri/core/Accessor~WatchHandle[] | module:esri/core/Collection<module:esri/core/Accessor~WatchHandle>} handles - An array or collection handles to group.
|
|
37
37
|
* @param {*} [groupKey]
|
|
38
38
|
* Key identifying the group to which the handles should be added. All the handles in the group
|
|
39
|
-
* can later be removed with
|
|
39
|
+
* can later be removed with [Handles.remove()](https://next.sites.afd.arcgis.com/javascript/latest/api-reference/esri-core-Handles.html#remove). If no
|
|
40
40
|
* key is provided the handles are added to a default group.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
@@ -40,7 +40,7 @@ declare class HandleManager extends Controller {
|
|
|
40
40
|
* Handles marked for removal once the object is destroyed.
|
|
41
41
|
* @param {*} [groupKey]
|
|
42
42
|
* Key identifying the group to which the handles should be added. All the handles in the group
|
|
43
|
-
* can later be removed with
|
|
43
|
+
* can later be removed with [Accessor.removeHandles()](https://next.sites.afd.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#removeHandles).
|
|
44
44
|
* If no key is provided the handles are added to a default group.
|
|
45
45
|
*/
|
|
46
46
|
addHandles<T>(handleOrHandles: SafeHandle | SafeHandle[], groupKey?: GroupKey<T>): void;
|
|
@@ -85,9 +85,9 @@ declare class HandleManager extends Controller {
|
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* useHandles() implements the following methods from JS API's Accessor class:
|
|
88
|
-
* addHandles - https://
|
|
89
|
-
* hasHandles - https://
|
|
90
|
-
* removeHandles - https://
|
|
88
|
+
* addHandles - https://next.sites.afd.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#addHandles
|
|
89
|
+
* hasHandles - https://next.sites.afd.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#hasHandles
|
|
90
|
+
* removeHandles - https://next.sites.afd.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#removeHandles
|
|
91
91
|
* removeAllHandles - (hidden from the JS API's JSDoc)
|
|
92
92
|
*
|
|
93
93
|
* Except, to adapt these to web-components, you have an option of picking
|