@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
|
@@ -18,10 +18,13 @@ declare const useLinkChartView: (component: LitElement & Pick<LinkChartView, nev
|
|
|
18
18
|
}, options?: {
|
|
19
19
|
editConstructorProperties(props: __esri.LinkChartViewProperties | undefined): __esri.LinkChartViewProperties | Promise<__esri.LinkChartViewProperties | undefined> | undefined;
|
|
20
20
|
} | undefined) => LinkChartView;
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Loads a [WebLinkChart](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebLinkChart.html) from an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [LinkChartView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-LinkChartView.html).
|
|
23
|
+
*
|
|
24
|
+
*
|
|
25
|
+
* Note: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`
|
|
26
|
+
*
|
|
27
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/)
|
|
25
28
|
*/
|
|
26
29
|
export declare class ArcgisLinkChart extends LitElement {
|
|
27
30
|
/** Internal view of the component. */
|
|
@@ -35,23 +38,27 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
35
38
|
* If true, the component will not be destroyed automatically when it is
|
|
36
39
|
* disconnected from the document. This is useful when you want to move the
|
|
37
40
|
* component to a different place on the page, or temporarily hide it. If this
|
|
38
|
-
* is set, make sure to call the
|
|
39
|
-
* memory leaks.
|
|
41
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/#destroy) method when you are done to
|
|
42
|
+
* prevent memory leaks.
|
|
43
|
+
*
|
|
44
|
+
* @default false
|
|
40
45
|
*/
|
|
41
46
|
autoDestroyDisabled: boolean;
|
|
42
47
|
/**
|
|
43
48
|
* The background color of the LinkChartView. If the view's link chart changes, the view's `background` is reset to the link chart's background,
|
|
44
49
|
* even if the user set it previously.
|
|
50
|
+
*
|
|
51
|
+
* @default null
|
|
45
52
|
*/
|
|
46
53
|
background: nullish | __esri.ColorBackground;
|
|
47
54
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
+
* Specifies a basemap for the link chart. The basemap is only visible when the link
|
|
56
|
+
* chart is set to a geographic layout. See
|
|
57
|
+
* [documentation on layouts](https://enterprise.arcgis.com/en/knowledge/latest/knowledge-studio/change-the-layout-applied-to-a-link-chart.htm)
|
|
58
|
+
* for more detail. The basemap is a set of layers that give
|
|
59
|
+
* geographic context to the LinkChartView and the other operational layers
|
|
60
|
+
* in the link chart.
|
|
61
|
+
*/
|
|
55
62
|
get basemap(): typeof this._map.basemap;
|
|
56
63
|
set basemap(value: __esri.Basemap | string | null | undefined);
|
|
57
64
|
/** Represents the view for a single basemap after it has been added to the link chart. */
|
|
@@ -104,9 +111,14 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
104
111
|
* allow you to visually emphasize specific features on the link chart.
|
|
105
112
|
*/
|
|
106
113
|
highlights: __esri.Collection<__esri.HighlightOptions>;
|
|
107
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* Indication whether the view is being interacted with (for example when panning or by an interactive tool).
|
|
116
|
+
*
|
|
117
|
+
* @default false
|
|
118
|
+
*/
|
|
108
119
|
get interacting(): boolean;
|
|
109
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* The ID of a WebLinkChart from an ArcGIS Enterprise portal.
|
|
110
122
|
*
|
|
111
123
|
* To configure the portal url you must set the [`portalUrl` property on `config`](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#portalUrl) before the `arcgis-linkchart` component loads.
|
|
112
124
|
*/
|
|
@@ -120,14 +132,34 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
120
132
|
readonly layerViews: __esri.Collection<__esri.LayerView>;
|
|
121
133
|
/** The magnifier allows for showing a portion of the view as a magnifier image on top of the view. */
|
|
122
134
|
readonly magnifier: __esri.Magnifier;
|
|
123
|
-
/**
|
|
124
|
-
*
|
|
135
|
+
/**
|
|
136
|
+
* An instance of a [WebLinkChart](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebLinkChart.html)
|
|
137
|
+
* object to display in the view.
|
|
138
|
+
*/
|
|
125
139
|
map: WebLinkChart;
|
|
126
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* Indication whether the view is being navigated (for example when panning).
|
|
142
|
+
*
|
|
143
|
+
* @default false
|
|
144
|
+
*/
|
|
127
145
|
get navigating(): boolean;
|
|
128
146
|
/** Options to configure the navigation behavior of the View. */
|
|
129
147
|
navigation: __esri.Navigation;
|
|
148
|
+
/**
|
|
149
|
+
* Use the padding property to make the [center](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#center),
|
|
150
|
+
* and [extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#extent), etc.
|
|
151
|
+
*
|
|
152
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#padding)
|
|
153
|
+
*
|
|
154
|
+
* @default {left: 0, top: 0, right: 0, bottom: 0}
|
|
155
|
+
*/
|
|
130
156
|
padding: __esri.ViewPadding;
|
|
157
|
+
/**
|
|
158
|
+
* A [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) object that displays general content or attributes from
|
|
159
|
+
* [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers) in the [map](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#map).
|
|
160
|
+
*
|
|
161
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View2D.html#popup)
|
|
162
|
+
*/
|
|
131
163
|
popup: nullish | __esri.Popup;
|
|
132
164
|
/**
|
|
133
165
|
* Controls whether the popup opens when users click on the view.
|
|
@@ -138,12 +170,16 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
138
170
|
/**
|
|
139
171
|
* When `true`, this property indicates whether the view successfully satisfied all dependencies,
|
|
140
172
|
* signaling that the following conditions are met.
|
|
173
|
+
*
|
|
174
|
+
* @default false
|
|
141
175
|
*/
|
|
142
176
|
readonly ready: boolean;
|
|
143
177
|
/**
|
|
144
178
|
* Defines which anchor stays still while resizing the browser window. The default, `center`,
|
|
145
179
|
* ensures the view's center point remains constantly visible as the window size changes. The other
|
|
146
180
|
* options allow the respective portion of the view to remain visible when the window's size is changed.
|
|
181
|
+
*
|
|
182
|
+
* @default "center"
|
|
147
183
|
*/
|
|
148
184
|
resizeAlign: "center" | "bottom-left" | "bottom-right" | "top-left" | "top-right" | "left" | "right" | "top" | "bottom";
|
|
149
185
|
/**
|
|
@@ -158,6 +194,8 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
158
194
|
* the rotation or by using the following mouse event: `Right-click + Drag`.
|
|
159
195
|
* WebLinkChart rotation may be disabled by setting the `rotationEnabled` property
|
|
160
196
|
* in [constraints](#constraints) to `false`.
|
|
197
|
+
*
|
|
198
|
+
* @default 0
|
|
161
199
|
*/
|
|
162
200
|
rotation: number;
|
|
163
201
|
/**
|
|
@@ -170,15 +208,27 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
170
208
|
* The spatial reference of the view.
|
|
171
209
|
* This indicates the projected or geographic coordinate system used
|
|
172
210
|
* to locate geographic features in the link chart.
|
|
211
|
+
*
|
|
212
|
+
* @default null
|
|
173
213
|
*/
|
|
174
214
|
spatialReference: __esri.SpatialReference;
|
|
175
|
-
/**
|
|
215
|
+
/**
|
|
216
|
+
* Indication whether the view is animating, being navigated with or resizing.
|
|
217
|
+
*
|
|
218
|
+
* @default false
|
|
219
|
+
*/
|
|
176
220
|
get stationary(): boolean;
|
|
177
|
-
/**
|
|
221
|
+
/**
|
|
222
|
+
* Indicates if the view is visible on the page.
|
|
223
|
+
*
|
|
224
|
+
* @default true
|
|
225
|
+
*/
|
|
178
226
|
readonly suspended: boolean;
|
|
179
227
|
/**
|
|
180
228
|
* This property specifies the base colors used by some widgets
|
|
181
229
|
* and components to render graphics and labels.
|
|
230
|
+
*
|
|
231
|
+
* @default null
|
|
182
232
|
*/
|
|
183
233
|
theme: nullish | __esri.Theme;
|
|
184
234
|
/**
|
|
@@ -186,17 +236,23 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
186
236
|
* the view's time extent. Setting the view's time extent is similar to setting the spatial
|
|
187
237
|
* extent because once the time extent is set, the
|
|
188
238
|
* view updates automatically to conform to the change.
|
|
239
|
+
*
|
|
240
|
+
* @default null
|
|
189
241
|
*/
|
|
190
242
|
timeExtent: nullish | __esri.TimeExtent;
|
|
191
243
|
/**
|
|
192
244
|
* Defines the time zone of the view.
|
|
193
245
|
* The time zone property determines how dates and times are represented to the user,
|
|
194
246
|
* but the underlying data is unchanged.
|
|
247
|
+
*
|
|
248
|
+
* @default "system"
|
|
195
249
|
*/
|
|
196
250
|
timeZone: string;
|
|
197
251
|
/**
|
|
198
252
|
* Indicates whether the view is being updated by additional data requests to the network,
|
|
199
253
|
* or by processing received data.
|
|
254
|
+
*
|
|
255
|
+
* @default false
|
|
200
256
|
*/
|
|
201
257
|
readonly updating: boolean;
|
|
202
258
|
/**
|
|
@@ -220,16 +276,18 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
220
276
|
get zoom(): number;
|
|
221
277
|
set zoom(newValue: number);
|
|
222
278
|
/**
|
|
223
|
-
* @deprecated
|
|
279
|
+
* @deprecated
|
|
280
|
+
* **Deprecated** since 4.33. Use `element.map.add(layer)` instead.
|
|
224
281
|
*
|
|
225
282
|
* Adds a layer to the map layers collection.
|
|
226
|
-
|
|
283
|
+
*/
|
|
227
284
|
addLayer(layer: __esri.Layer | Promise<any>, index?: number): Promise<void>;
|
|
228
285
|
/**
|
|
229
|
-
* @deprecated
|
|
286
|
+
* @deprecated
|
|
287
|
+
* **Deprecated** since 4.33. Use `element.map.addMany([layer])` instead.
|
|
230
288
|
*
|
|
231
289
|
* Adds a layer or array of layers to the map layers collection.
|
|
232
|
-
|
|
290
|
+
*/
|
|
233
291
|
addLayers(layers: __esri.Layer[], index?: number): Promise<void>;
|
|
234
292
|
/** Closes the popup. */
|
|
235
293
|
closePopup(): Promise<void>;
|
|
@@ -297,11 +355,7 @@ export declare class ArcgisLinkChart extends LitElement {
|
|
|
297
355
|
* This event will also emit if the `map` property is changed.
|
|
298
356
|
*/
|
|
299
357
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
300
|
-
|
|
301
|
-
* This WebLinkChart will be created only if user did not provide a linkchart. Otherwise,
|
|
302
|
-
* it will be equal to this.view.map
|
|
303
|
-
*/
|
|
304
|
-
private _map;
|
|
358
|
+
private _map: __esri.WebLinkChart;
|
|
305
359
|
readonly _setterTypes: {
|
|
306
360
|
basemap?: __esri.Basemap | string | null | undefined;
|
|
307
361
|
center?: __esri.LinkChartView["center"] | Nil | number[] | string;
|
|
@@ -8,7 +8,7 @@ import { c as r, i as g } from "../../chunks/component-utils.js";
|
|
|
8
8
|
import { css as y } 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 u = y`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, f = h(
|
|
13
13
|
n,
|
|
14
14
|
/**
|
|
@@ -36,13 +36,6 @@ class V extends l {
|
|
|
36
36
|
static {
|
|
37
37
|
this.styles = u;
|
|
38
38
|
}
|
|
39
|
-
/**
|
|
40
|
-
* Represents the view's center point; when setting the center, you may pass a
|
|
41
|
-
* esri/geometry/Point instance or a string representing
|
|
42
|
-
* a longitude/latitude pair (`"-100.4593, 36.9014"`).
|
|
43
|
-
* Setting the center immediately changes the current view.
|
|
44
|
-
* For animating the view, see this component's goTo() method.
|
|
45
|
-
*/
|
|
46
39
|
get center() {
|
|
47
40
|
return this.view.center ?? this._center;
|
|
48
41
|
}
|
|
@@ -50,27 +43,15 @@ class V extends l {
|
|
|
50
43
|
const t = r(i, this.ready ? this.view : void 0);
|
|
51
44
|
t && (this.ready && (this.view.center = t), this._center = t);
|
|
52
45
|
}
|
|
53
|
-
/**
|
|
54
|
-
* The extent represents the visible portion of a link chart within the view as an instance of
|
|
55
|
-
* [Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html).
|
|
56
|
-
* Setting the extent immediately changes the view without animation. To animate
|
|
57
|
-
* the view, see this component's goTo() method.
|
|
58
|
-
* When the view is rotated, the extent does not update to include the newly visible portions of the link chart.
|
|
59
|
-
*/
|
|
60
46
|
get extent() {
|
|
61
47
|
return this.view.extent ?? this._extent;
|
|
62
48
|
}
|
|
63
49
|
set extent(i) {
|
|
64
50
|
this.view.ready && !this.extent?.equals(i) && (this.view.extent = i), this._extent = i;
|
|
65
51
|
}
|
|
66
|
-
/** Indication whether the view is being interacted with (for example when panning or by an interactive tool). */
|
|
67
52
|
get interacting() {
|
|
68
53
|
return this.view.interacting;
|
|
69
54
|
}
|
|
70
|
-
/** The ID of a WebLinkChart from an ArcGIS Enterprise portal.
|
|
71
|
-
*
|
|
72
|
-
* To configure the portal url you must set the [`portalUrl` property on `config`](https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#portalUrl) before the `arcgis-linkchart` component loads.
|
|
73
|
-
*/
|
|
74
55
|
get itemId() {
|
|
75
56
|
return this._map.portalItem?.id ?? this._itemId;
|
|
76
57
|
}
|
|
@@ -79,86 +60,45 @@ class V extends l {
|
|
|
79
60
|
this.view.map = this._map;
|
|
80
61
|
}).catch(console.error) : this.view.ready != null && (this._map.destroy(), this._map = new n(this._editMapProperties({ portalItem: { id: this._itemId } })), this.view.map = this._map);
|
|
81
62
|
}
|
|
82
|
-
/** Indication whether the view is being navigated (for example when panning). */
|
|
83
63
|
get navigating() {
|
|
84
64
|
return this.view.navigating;
|
|
85
65
|
}
|
|
86
|
-
/**
|
|
87
|
-
* Represents the link chart scale at the center of the view. Setting the scale immediately changes the view. For animating
|
|
88
|
-
* the view, see this component's goTo() method.
|
|
89
|
-
*/
|
|
90
66
|
get scale() {
|
|
91
67
|
return this.view.scale ?? this._scale;
|
|
92
68
|
}
|
|
93
69
|
set scale(i) {
|
|
94
70
|
this.ready && (this.view.scale = i), this._scale = i;
|
|
95
71
|
}
|
|
96
|
-
/** Indication whether the view is animating, being navigated with or resizing. */
|
|
97
72
|
get stationary() {
|
|
98
73
|
return this.view.stationary;
|
|
99
74
|
}
|
|
100
|
-
/**
|
|
101
|
-
* Represents the current view as a Viewpoint or point of observation on the view.
|
|
102
|
-
* Setting the viewpoint immediately changes the current view. For animating
|
|
103
|
-
* the view, see this component's goTo() method.
|
|
104
|
-
*/
|
|
105
75
|
get viewpoint() {
|
|
106
76
|
return this.view.viewpoint ?? this._viewpoint;
|
|
107
77
|
}
|
|
108
78
|
set viewpoint(i) {
|
|
109
79
|
this.ready && g(this.viewpoint, i) && (this.view.viewpoint = i), this._viewpoint = i;
|
|
110
80
|
}
|
|
111
|
-
/**
|
|
112
|
-
* Represents the level of detail (LOD) at the center of the view.
|
|
113
|
-
* A zoom level (or scale) is a number that defines how large or small the contents of a link chart appear in a link chart view.
|
|
114
|
-
* Zoom level is a number usually between 0 (global view) and 23 (very detailed view) and is used as a shorthand for predetermined scale values.
|
|
115
|
-
* A value of -1 means the view has no LODs.
|
|
116
|
-
* When setting the zoom value, the LinkChartView converts it to the corresponding scale, or interpolates it if the zoom is a fractional number.
|
|
117
|
-
* LinkChartView can display link charts with different projections at a full range of scales, and so use the scale property on this component rather than zoom level.
|
|
118
|
-
*
|
|
119
|
-
* Setting the zoom immediately changes the current view. For animating the view, see this component's goTo() method.
|
|
120
|
-
* Setting this property in conjunction with `center` is a convenient way to set the initial extent of the view.
|
|
121
|
-
*/
|
|
122
81
|
get zoom() {
|
|
123
82
|
return this.view.zoom ?? this._zoom;
|
|
124
83
|
}
|
|
125
84
|
set zoom(i) {
|
|
126
85
|
this.ready && (this.view.zoom = i), this._zoom = i;
|
|
127
86
|
}
|
|
128
|
-
//#endregion
|
|
129
|
-
//#region Public Methods
|
|
130
|
-
/**
|
|
131
|
-
* @deprecated **Deprecated** since 4.33. Use `element.map.add(layer)` instead.
|
|
132
|
-
*
|
|
133
|
-
* Adds a layer to the map layers collection.
|
|
134
|
-
* */
|
|
135
87
|
async addLayer(i, t) {
|
|
136
88
|
this.map?.add(i, t);
|
|
137
89
|
}
|
|
138
|
-
/**
|
|
139
|
-
* @deprecated **Deprecated** since 4.33. Use `element.map.addMany([layer])` instead.
|
|
140
|
-
*
|
|
141
|
-
* Adds a layer or array of layers to the map layers collection.
|
|
142
|
-
* */
|
|
143
90
|
async addLayers(i, t) {
|
|
144
91
|
this.map?.addMany(i, t);
|
|
145
92
|
}
|
|
146
|
-
/** Closes the popup. */
|
|
147
93
|
async closePopup() {
|
|
148
94
|
this.view?.closePopup();
|
|
149
95
|
}
|
|
150
|
-
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
151
96
|
async destroy() {
|
|
152
97
|
await this.manager.destroy();
|
|
153
98
|
}
|
|
154
|
-
/** Sets the view to a given target. */
|
|
155
99
|
async goTo(i, t) {
|
|
156
100
|
return await this.view?.goTo(i, t);
|
|
157
101
|
}
|
|
158
|
-
/**
|
|
159
|
-
* Opens the popup at the given location with content defined either explicitly with content or driven
|
|
160
|
-
* from the PopupTemplate of input features.
|
|
161
|
-
*/
|
|
162
102
|
async openPopup(i) {
|
|
163
103
|
await this.view?.openPopup(i);
|
|
164
104
|
}
|
|
@@ -168,23 +108,15 @@ class V extends l {
|
|
|
168
108
|
toScreen(i, t) {
|
|
169
109
|
return this.view.toScreen(i, t);
|
|
170
110
|
}
|
|
171
|
-
/** Call this method to clear any fatal errors resulting from a lost WebGL context. */
|
|
172
111
|
async tryFatalErrorRecovery() {
|
|
173
112
|
this.view?.tryFatalErrorRecovery();
|
|
174
113
|
}
|
|
175
|
-
/** Gets the LayerView created on the view for the given layer. */
|
|
176
114
|
async whenLayerView(i) {
|
|
177
115
|
return await this.view?.whenLayerView(i);
|
|
178
116
|
}
|
|
179
|
-
/**
|
|
180
|
-
* `viewOnReady()` may be leveraged once an instance of the component is created and ready.
|
|
181
|
-
* This method takes two input parameters: a `callback` function and an `errback` function.
|
|
182
|
-
*/
|
|
183
117
|
async viewOnReady(i, t) {
|
|
184
118
|
return await this.componentOnReady(), await this.view.whenReady().then(() => i?.()).catch(t);
|
|
185
119
|
}
|
|
186
|
-
//#endregion
|
|
187
|
-
//#region Lifecycle
|
|
188
120
|
load() {
|
|
189
121
|
const i = this;
|
|
190
122
|
i.el.childElem = document.createElement("div"), i.el.append(i.el.childElem), this.view.container ??= i.el.childElem;
|
|
@@ -199,8 +131,6 @@ class V extends l {
|
|
|
199
131
|
}, { initial: this.view.ready })
|
|
200
132
|
]);
|
|
201
133
|
}
|
|
202
|
-
//#endregion
|
|
203
|
-
//#region Private Methods
|
|
204
134
|
_editMapProperties(i) {
|
|
205
135
|
this.map && (this._map = this.map), this.itemId && (i.portalItem = { id: this.itemId });
|
|
206
136
|
const { basemap: t, ...o } = i;
|
|
@@ -21,18 +21,23 @@ type DiagramLayoutType = `${DiagramLayoutValues}`;
|
|
|
21
21
|
declare const useLinkChartLayoutSwitcherViewModel: (component: LitElement & Pick<LinkChartLayoutSwitcherViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<LinkChartLayoutSwitcherViewModel>, options?: {
|
|
22
22
|
editConstructorProperties(props: unknown): unknown;
|
|
23
23
|
} | undefined) => LinkChartLayoutSwitcherViewModel;
|
|
24
|
-
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
/**
|
|
25
|
+
* A component for use in link charts that allows users to switch between different layouts. See [documentation on layouts](https://enterprise.arcgis.com/en/knowledge/latest/knowledge-studio/change-the-layout-applied-to-a-link-chart.htm) for more details.
|
|
26
|
+
*
|
|
27
|
+
*
|
|
28
|
+
* Note: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`
|
|
29
|
+
*
|
|
30
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart-layout-switcher/)
|
|
28
31
|
*/
|
|
29
32
|
export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
|
|
30
33
|
/**
|
|
31
34
|
* If true, the component will not be destroyed automatically when it is
|
|
32
35
|
* disconnected from the document. This is useful when you want to move the
|
|
33
36
|
* component to a different place on the page, or temporarily hide it. If this
|
|
34
|
-
* is set, make sure to call the
|
|
35
|
-
* memory leaks.
|
|
37
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart-layout-switcher/#destroy) method when you are done to
|
|
38
|
+
* prevent memory leaks.
|
|
39
|
+
*
|
|
40
|
+
* @default false
|
|
36
41
|
*/
|
|
37
42
|
autoDestroyDisabled: boolean;
|
|
38
43
|
/**
|
|
@@ -40,20 +45,41 @@ export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
|
|
|
40
45
|
*
|
|
41
46
|
* @see [Calcite Icon Search](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
42
47
|
* @since 4.28
|
|
48
|
+
* @default "nodes-link"
|
|
43
49
|
*/
|
|
44
50
|
icon: Nil | string;
|
|
45
51
|
/** The component's default label. */
|
|
46
52
|
label: Nil | string;
|
|
53
|
+
/**
|
|
54
|
+
* The current selected link chart layout.
|
|
55
|
+
*
|
|
56
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LinkChartLayoutSwitcher-LinkChartLayoutSwitcherViewModel.html#layout)
|
|
57
|
+
*
|
|
58
|
+
* @default "organic-standard"
|
|
59
|
+
*/
|
|
47
60
|
readonly layout: DiagramLayoutType;
|
|
61
|
+
/** @default "top-left" */
|
|
48
62
|
position: __esri.UIPosition;
|
|
63
|
+
/**
|
|
64
|
+
* Prevents extent from updating on changes to the layout.
|
|
65
|
+
*
|
|
66
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LinkChartLayoutSwitcher-LinkChartLayoutSwitcherViewModel.html#preventExtentUpdate)
|
|
67
|
+
*
|
|
68
|
+
* @default false
|
|
69
|
+
*/
|
|
49
70
|
preventExtentUpdate: boolean;
|
|
50
71
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
51
|
-
readonly state: "ready" | "disabled" | "loading";
|
|
52
|
-
/** Permanently destroy the component */
|
|
53
|
-
destroy(): Promise<void>;
|
|
54
72
|
/**
|
|
55
|
-
*
|
|
73
|
+
* The current state of the widget.
|
|
74
|
+
*
|
|
75
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LinkChartLayoutSwitcher-LinkChartLayoutSwitcherViewModel.html#state)
|
|
76
|
+
*
|
|
77
|
+
* @default "loading"
|
|
56
78
|
*/
|
|
79
|
+
readonly state: "ready" | "disabled" | "loading";
|
|
80
|
+
/** Permanently destroy the component. */
|
|
81
|
+
destroy(): Promise<void>;
|
|
82
|
+
/** Switches the layout of the link chart to the value provided. */
|
|
57
83
|
switchLayout(newLayout: "basic-grid" | "chronological-mono-timeline" | "chronological-multi-timeline" | "geographic-organic-standard" | "hierarchical-bottom-to-top" | "organic-community" | "organic-standard" | "radial-root-centric" | "tree-left-to-right"): Promise<void>;
|
|
58
84
|
/**
|
|
59
85
|
* Fires when component has completed the layout switch
|
|
@@ -64,9 +90,11 @@ export declare class ArcgisLinkChartLayoutSwitcher extends LitElement {
|
|
|
64
90
|
* });
|
|
65
91
|
*/
|
|
66
92
|
readonly arcgisSwitchLayout: TargetedEvent<this, __esri.LinkChartLayoutSwitcherViewModelSwitchLayoutEvent>;
|
|
93
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
67
94
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
68
95
|
name: "state";
|
|
69
96
|
}>;
|
|
97
|
+
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
70
98
|
readonly arcgisReady: TargetedEvent<this, undefined>;
|
|
71
99
|
}
|
|
72
100
|
export {};
|
|
@@ -5,13 +5,13 @@ import { g as e } from "../../chunks/globalCss.js";
|
|
|
5
5
|
import h from "@arcgis/core/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.js";
|
|
6
6
|
import { usePropertyChange as d } from "@arcgis/lumina/controllers";
|
|
7
7
|
import { m } from "../../chunks/useViewModel.js";
|
|
8
|
-
import { u as g } from "../../chunks/
|
|
8
|
+
import { u as g } from "../../chunks/useView.js";
|
|
9
9
|
import { reEmitEvent as u } from "@arcgis/lumina/controllers/accessor";
|
|
10
10
|
import { LitElement as p, createEvent as y, noShadowRoot as w, safeClassMap as a } from "@arcgis/lumina";
|
|
11
11
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
14
|
-
v4.33.0-next.
|
|
14
|
+
v4.33.0-next.113 */
|
|
15
15
|
const b = f`@layer{arcgis-link-chart-layout-switcher{display:block}}`, k = {
|
|
16
16
|
basicLayoutCategory: [
|
|
17
17
|
"basic-grid"
|
|
@@ -65,7 +65,7 @@ class $ extends p {
|
|
|
65
65
|
super(...arguments), this.messages = g(), this.viewModel = C(this), this.autoDestroyDisabled = !1, this.icon = "nodes-link", this.layout = this.viewModel.layout, this.position = "top-left", this.preventExtentUpdate = this.viewModel.preventExtentUpdate, this.state = this.viewModel.state, this.arcgisSwitchLayout = u(() => this.viewModel, "switchLayout"), this.arcgisPropertyChange = d()("state"), this.arcgisReady = y();
|
|
66
66
|
}
|
|
67
67
|
static {
|
|
68
|
-
this.properties = { autoDestroyDisabled: 5, icon:
|
|
68
|
+
this.properties = { autoDestroyDisabled: 5, icon: 1, label: 1, layout: 32, position: 3, preventExtentUpdate: 5, referenceElement: 1, state: 3 };
|
|
69
69
|
}
|
|
70
70
|
static {
|
|
71
71
|
this.shadowRootOptions = w;
|
|
@@ -73,20 +73,12 @@ class $ extends p {
|
|
|
73
73
|
static {
|
|
74
74
|
this.styles = b;
|
|
75
75
|
}
|
|
76
|
-
//#endregion
|
|
77
|
-
//#region Public Methods
|
|
78
|
-
/** Permanently destroy the component */
|
|
79
76
|
async destroy() {
|
|
80
77
|
await this.manager.destroy();
|
|
81
78
|
}
|
|
82
|
-
/**
|
|
83
|
-
* Switches the layout of the link chart to the value provided.
|
|
84
|
-
*/
|
|
85
79
|
async switchLayout(t) {
|
|
86
80
|
this.viewModel.switchLayout(t);
|
|
87
81
|
}
|
|
88
|
-
//#endregion
|
|
89
|
-
//#region Rendering
|
|
90
82
|
render() {
|
|
91
83
|
const { messages: t, icon: r } = this;
|
|
92
84
|
return i`<div class=${a(n(M.base, e.widget))}><calcite-dropdown scale=s width=m max-items=9><calcite-button class=${a(e.widgetButton)} slot=trigger kind=neutral .disabled=${this.viewModel.state === "disabled"} .iconStart=${r ?? void 0} .label=${t.layoutOptions ?? "Layout"}></calcite-button>${Object.entries(k).map(([c, s]) => i`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[c]}>${s.map((o) => i`<calcite-dropdown-item .iconStart=${L[o]} .selected=${o === this.layout ? !0 : void 0} @click=${() => void this.switchLayout(o)}>${t[v[o]]}</calcite-dropdown-item>`)}</calcite-dropdown-group>`)}</calcite-dropdown></div>`;
|
|
@@ -9,22 +9,33 @@ import { default as LocateViewModel } from './LocateViewModel';
|
|
|
9
9
|
declare const useLocateViewModel: (component: LitElement & Pick<LocateViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<LocateViewModel>, options?: {
|
|
10
10
|
editConstructorProperties(props: unknown): unknown;
|
|
11
11
|
} | undefined) => LocateViewModel;
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Locate component animates the `arcgis-map` or `arcgis-scene` to the user's current location.
|
|
14
|
+
*
|
|
15
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-locate/)
|
|
13
16
|
*/
|
|
14
17
|
export declare class ArcgisLocate extends LitElement {
|
|
15
18
|
/**
|
|
16
|
-
* If true, the component will not be destroyed automatically when
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* If true, the component will not be destroyed automatically when it is
|
|
20
|
+
* disconnected from the document. This is useful when you want to move the
|
|
21
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
22
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-locate/#destroy) method when you are done to
|
|
23
|
+
* prevent memory leaks.
|
|
24
|
+
*
|
|
25
|
+
* @default false
|
|
21
26
|
*/
|
|
22
27
|
autoDestroyDisabled: boolean;
|
|
23
28
|
geolocationOptions: Nil | PositionOptions;
|
|
24
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* Indicates whether to navigate the view to the position and scale of the geolocated result.
|
|
31
|
+
*
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
25
34
|
goToLocationDisabled: boolean;
|
|
26
35
|
goToOverride: Nil | __esri.GoToOverride;
|
|
36
|
+
/** The graphic used to show the user's location on the map. */
|
|
27
37
|
graphic: __esri.Graphic;
|
|
38
|
+
/** @default "gps-off" */
|
|
28
39
|
icon: Nil | string;
|
|
29
40
|
/** The component's default label. */
|
|
30
41
|
label: Nil | string;
|
|
@@ -32,31 +43,70 @@ export declare class ArcgisLocate extends LitElement {
|
|
|
32
43
|
messageOverrides?: typeof this.messages._overrides;
|
|
33
44
|
/** @default false */
|
|
34
45
|
popupDisabled: boolean;
|
|
46
|
+
/** @default "top-left" */
|
|
35
47
|
position: __esri.UIPosition;
|
|
36
48
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
37
|
-
scale: number | Nil;
|
|
38
49
|
/**
|
|
39
|
-
*
|
|
50
|
+
* Indicates the scale to set on the view when navigating to the position of the geolocated
|
|
51
|
+
* result, after a location is returned from the [track](#event-track) event.
|
|
52
|
+
*
|
|
53
|
+
* @default null
|
|
40
54
|
*/
|
|
55
|
+
scale: number | Nil;
|
|
56
|
+
/** The current state of the component. */
|
|
41
57
|
state: "ready" | "disabled" | "error" | "feature-unsupported" | "locating";
|
|
42
58
|
/**
|
|
43
59
|
* This function provides the ability to interrupt and cancel the process of
|
|
44
60
|
* programmatically obtaining the location of the user's device.
|
|
45
61
|
*/
|
|
46
62
|
cancelLocate(): Promise<void>;
|
|
47
|
-
/** Permanently destroy the component */
|
|
63
|
+
/** Permanently destroy the component. */
|
|
48
64
|
destroy(): Promise<void>;
|
|
49
65
|
locate(): Promise<GeolocationPosition | null>;
|
|
50
66
|
readonly arcgisError: TargetedEvent<this, {
|
|
51
67
|
error: GeolocationPositionError;
|
|
52
68
|
}>;
|
|
69
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
53
70
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
54
71
|
name: "state";
|
|
55
72
|
}>;
|
|
73
|
+
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
56
74
|
readonly arcgisReady: TargetedEvent<this, undefined>;
|
|
57
75
|
readonly arcgisSuccess: TargetedEvent<this, {
|
|
58
76
|
position: GeolocationPosition;
|
|
59
77
|
}>;
|
|
60
|
-
private messages
|
|
78
|
+
private messages: Partial<{
|
|
79
|
+
componentLabel: string;
|
|
80
|
+
title: string;
|
|
81
|
+
currentLocation: string;
|
|
82
|
+
timestamp: string;
|
|
83
|
+
latitude: string;
|
|
84
|
+
longitude: string;
|
|
85
|
+
accuracy: string;
|
|
86
|
+
altitude: string;
|
|
87
|
+
altitudeAccuracy: string;
|
|
88
|
+
heading: string;
|
|
89
|
+
speed: string;
|
|
90
|
+
permissionError: string;
|
|
91
|
+
timeoutError: string;
|
|
92
|
+
positionUnavailable: string;
|
|
93
|
+
cancel: string;
|
|
94
|
+
}> & import('@arcgis/lumina/controllers').T9nMeta<{
|
|
95
|
+
componentLabel: string;
|
|
96
|
+
title: string;
|
|
97
|
+
currentLocation: string;
|
|
98
|
+
timestamp: string;
|
|
99
|
+
latitude: string;
|
|
100
|
+
longitude: string;
|
|
101
|
+
accuracy: string;
|
|
102
|
+
altitude: string;
|
|
103
|
+
altitudeAccuracy: string;
|
|
104
|
+
heading: string;
|
|
105
|
+
speed: string;
|
|
106
|
+
permissionError: string;
|
|
107
|
+
timeoutError: string;
|
|
108
|
+
positionUnavailable: string;
|
|
109
|
+
cancel: string;
|
|
110
|
+
}>;
|
|
61
111
|
}
|
|
62
112
|
export {};
|