@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
|
@@ -4,7 +4,7 @@ import { LitElement as s, safeClassMap as n } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as a } 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 r = a`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, c = "arcgis-print", o = {
|
|
9
9
|
advancedOptionsContainer: `${c}__advanced-options-container`
|
|
10
10
|
};
|
|
@@ -15,13 +15,9 @@ class l extends s {
|
|
|
15
15
|
static {
|
|
16
16
|
this.styles = r;
|
|
17
17
|
}
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region Lifecycle
|
|
20
18
|
loaded() {
|
|
21
19
|
this.manager.onLifecycle(() => []);
|
|
22
20
|
}
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region Rendering
|
|
25
21
|
render() {
|
|
26
22
|
return e`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${n(o.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderAttributionSection()}${this._renderCustomTextElementSection()}</div>`;
|
|
27
23
|
}
|
|
@@ -5,7 +5,7 @@ import { LitElement as o, safeClassMap as a } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as p } 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 d = p`.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__map-only-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__size-container{--button-width: 32px;display:inline-grid;grid-template-columns:1fr 1fr var(--button-width);column-gap:var(--calcite-spacing-xs);width:100%}.arcgis-print__swap-button{flex:1 0 auto;border:none;color:var(--calcite-color-border-input);align-self:flex-end;margin-bottom:var(--calcite-spacing-md)}.arcgis-print__swap-button calcite-button{width:var(--button-width);height:var(--button-width)}`, s = "arcgis-print", t = {
|
|
10
10
|
advancedOptionsSection: `${s}__advanced-options-section`,
|
|
11
11
|
mapOnlySection: `${s}__map-only-section`,
|
|
@@ -20,13 +20,9 @@ class m extends o {
|
|
|
20
20
|
static {
|
|
21
21
|
this.styles = d;
|
|
22
22
|
}
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region Lifecycle
|
|
25
23
|
loaded() {
|
|
26
24
|
this.manager.onLifecycle(() => []);
|
|
27
25
|
}
|
|
28
|
-
//#endregion
|
|
29
|
-
//#region Rendering
|
|
30
26
|
render() {
|
|
31
27
|
return e`<section class=${a(t.mapOnlySection)} role=tabpanel><div class=${a(t.panelContainer)}>${this._renderFileNameInput()}${this._renderFileFormatSection()}${this._renderSizeSection()}${this._renderAdvancedSection()}${this._renderExportButton()}</div></section>`;
|
|
32
28
|
}
|
|
@@ -6,7 +6,7 @@ import { LitElement as d, safeClassMap as l } from "@arcgis/lumina";
|
|
|
6
6
|
import { css as f } 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 m = f`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`, n = "arcgis-print", s = {
|
|
11
11
|
srLabel: `${n}__sr-label`,
|
|
12
12
|
invalidWkidText: `${n}__invalid-wkid-text`
|
|
@@ -30,8 +30,6 @@ class g extends d {
|
|
|
30
30
|
static {
|
|
31
31
|
this.styles = m;
|
|
32
32
|
}
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region Lifecycle
|
|
35
33
|
loaded() {
|
|
36
34
|
this.manager.onLifecycle(() => [
|
|
37
35
|
p(() => this.viewModel.outSpatialReference, (t) => {
|
|
@@ -39,8 +37,6 @@ class g extends d {
|
|
|
39
37
|
}, { initial: !0 })
|
|
40
38
|
]);
|
|
41
39
|
}
|
|
42
|
-
//#endregion
|
|
43
|
-
//#region Rendering
|
|
44
40
|
render() {
|
|
45
41
|
const { messages: t, _outSpatialReference: i } = this;
|
|
46
42
|
return r`<div><calcite-label><div class=${l(s.srLabel)}>${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString() ?? ""} @calciteInputNumberInput=${({ currentTarget: c }) => {
|
|
@@ -4,7 +4,7 @@ import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as s, noShadowRoot as a } from "@arcgis/lumina";
|
|
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
|
class n extends s {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._showPrintAreaEnabled = !1;
|
|
@@ -15,8 +15,6 @@ class n extends s {
|
|
|
15
15
|
static {
|
|
16
16
|
this.shadowRootOptions = a;
|
|
17
17
|
}
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region Lifecycle
|
|
20
18
|
loaded() {
|
|
21
19
|
this.manager.onLifecycle(() => [
|
|
22
20
|
r(() => [this.viewModel.showPrintAreaEnabled], () => {
|
|
@@ -25,8 +23,6 @@ class n extends s {
|
|
|
25
23
|
}, { initial: !0 })
|
|
26
24
|
]);
|
|
27
25
|
}
|
|
28
|
-
//#endregion
|
|
29
|
-
//#region Rendering
|
|
30
26
|
render() {
|
|
31
27
|
return i`<calcite-label layout=inline><calcite-switch .checked=${this._showPrintAreaEnabled} @calciteSwitchChange=${(e) => {
|
|
32
28
|
this.viewModel.showPrintAreaEnabled = !!e.currentTarget.checked;
|
|
@@ -5,7 +5,7 @@ import { LitElement as p, safeClassMap as i } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as d } 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 u = d`.arcgis-print__scale-input-container{display:flex;align-items:center;padding-bottom:var(--calcite-spacing-md)}.arcgis-print__scale-input-container .arcgis-print__scale-input{flex-grow:1}`, l = "arcgis-print", c = {
|
|
10
10
|
scaleInfoContainer: `${l}__scale-info-container`,
|
|
11
11
|
scaleInputContainer: `${l}__scale-input-container`,
|
|
@@ -21,8 +21,6 @@ class m extends p {
|
|
|
21
21
|
static {
|
|
22
22
|
this.styles = u;
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region Lifecycle
|
|
26
24
|
loaded() {
|
|
27
25
|
this.manager.onLifecycle(() => [
|
|
28
26
|
n(() => [this.viewModel.templateOptions.scale, this.viewModel.templateOptions.scaleEnabled], () => {
|
|
@@ -34,13 +32,9 @@ class m extends p {
|
|
|
34
32
|
}, { initial: !0 })
|
|
35
33
|
]);
|
|
36
34
|
}
|
|
37
|
-
//#endregion
|
|
38
|
-
//#region Private Methods
|
|
39
35
|
_resetToCurrentScale() {
|
|
40
36
|
this.viewModel.templateOptions.scale = this.viewModel.view?.scale;
|
|
41
37
|
}
|
|
42
|
-
//#endregion
|
|
43
|
-
//#region Rendering
|
|
44
38
|
render() {
|
|
45
39
|
const { messages: e, _scale: t, _scaleEnabled: a } = this;
|
|
46
40
|
return o`<div class=${i(c.scaleInfoContainer)}><calcite-label layout=inline><calcite-checkbox .checked=${a} @calciteCheckboxChange=${(s) => {
|
|
@@ -8,7 +8,7 @@ import { g as p, a as d, b as h, c as _ } from "../../chunks/utils.js";
|
|
|
8
8
|
import { css as g } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.113 */
|
|
12
12
|
const u = g`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`, s = "arcgis-print", c = {
|
|
13
13
|
templateSelectContainer: `${s}__template-select-container`,
|
|
14
14
|
templateSelectError: `${s}__template-select-error`,
|
|
@@ -24,8 +24,6 @@ class T extends n {
|
|
|
24
24
|
static {
|
|
25
25
|
this.styles = u;
|
|
26
26
|
}
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region Lifecycle
|
|
29
27
|
loaded() {
|
|
30
28
|
this.manager.onLifecycle(() => [
|
|
31
29
|
i(() => this.viewModel.templateOptions.id, (e) => {
|
|
@@ -33,8 +31,6 @@ class T extends n {
|
|
|
33
31
|
}, { initial: !0 })
|
|
34
32
|
]);
|
|
35
33
|
}
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region Rendering
|
|
38
34
|
render() {
|
|
39
35
|
return t`<calcite-block class=${a(c.templateSelectContainer)} .description=${p(this._selectedTemplate)} .heading=${this._selectedTemplate ? d(this._selectedTemplate, this.messages) : this.messages.selectTemplate} .loading=${this._templateState === "loading"} @click=${this.showTemplateSelector} @keydown=${(e) => {
|
|
40
36
|
(e.key === "Enter" || e.key === " ") && this.showTemplateSelector();
|
|
@@ -6,6 +6,7 @@ import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
|
6
6
|
|
|
7
7
|
/** @private */
|
|
8
8
|
export declare class PrintTemplateSelector extends LitElement {
|
|
9
|
+
/** @default false */
|
|
9
10
|
excludeOrganizationTemplates: boolean;
|
|
10
11
|
browseTemplateButtonOnClick: (() => void) | null;
|
|
11
12
|
viewModel: __esri.PrintViewModel;
|
|
@@ -8,7 +8,7 @@ import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { u as L } from "../../chunks/useHandles.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 S = y`.arcgis-print__template-select-flow-item-container{display:flex;flex-direction:column;justify-content:space-between;overflow-y:hidden;flex-grow:1}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content{display:flex;flex-direction:column;overflow-y:auto;flex:1 0}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content .arcgis-print__template-select-flow-item-list-heading{display:flex;gap:var(--calcite-spacing-xs);align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);background-color:var(--calcite-color-foreground-2);border-bottom:1px solid var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-semibold)}.arcgis-print__template-button-container{padding:var(--calcite-spacing-md)}.arcgis-print__template-done-button{width:100%}`, o = "arcgis-print", a = {
|
|
13
13
|
templateSelectError: `${o}__template-select-error`,
|
|
14
14
|
templateButtonContainer: `${o}__template-button-container`,
|
|
@@ -29,8 +29,6 @@ class M extends w {
|
|
|
29
29
|
static {
|
|
30
30
|
this.styles = S;
|
|
31
31
|
}
|
|
32
|
-
//#endregion
|
|
33
|
-
//#region Lifecycle
|
|
34
32
|
loaded() {
|
|
35
33
|
this.manager.onLifecycle(() => [
|
|
36
34
|
h(() => this.viewModel.templateOptions.id, (e) => {
|
|
@@ -38,8 +36,6 @@ class M extends w {
|
|
|
38
36
|
}, { initial: !0 })
|
|
39
37
|
]);
|
|
40
38
|
}
|
|
41
|
-
//#endregion
|
|
42
|
-
//#region Private Methods
|
|
43
39
|
_getPortalTemplates() {
|
|
44
40
|
const { portalTemplateIds: e } = this.viewModel;
|
|
45
41
|
return this.viewModel.includeDefaultTemplates && !this.excludeOrganizationTemplates ? this.viewModel.defaultTemplates.toArray().filter(({ layout: n, layoutItem: l }) => !m(n) && !!l?.id && e.includes(l.id)) : [];
|
|
@@ -51,8 +47,6 @@ class M extends w {
|
|
|
51
47
|
_getPrintServiceTemplates() {
|
|
52
48
|
return !this.viewModel.includeDefaultTemplates || !this._getDefaultTemplates().length ? this.viewModel.printServiceTemplates.toArray().filter(({ layout: e }) => !m(e)) : [];
|
|
53
49
|
}
|
|
54
|
-
//#endregion
|
|
55
|
-
//#region Rendering
|
|
56
50
|
render() {
|
|
57
51
|
const { messages: e } = this, n = v.test(this.viewModel.portal?.url), l = this.viewModel.browseTemplates.toArray(), t = this._getPortalTemplates(), c = this._getDefaultTemplates(), p = this._getPrintServiceTemplates(), r = l.length + t.length + c.length + p.length > 15, d = this.browseTemplateButtonOnClick ? i`<calcite-button appearance=outline class=${s(r ? a.browseTemplateButtonContainerFilter : a.browseTemplateButtonContainer)} icon-start=folder @click=${this.browseTemplateButtonOnClick} .slot=${r ? "filter-actions-end" : "default"}>${r ? null : e.browseTemplates}</calcite-button>` : null;
|
|
58
52
|
return i`<div class=${s(a.templateSelectFlowItemContainer)}><div class=${s(a.templateSelectFlowItemContent)}>${r ? null : d}${u("template-list", i`<calcite-list .filterEnabled=${r} .filterProps=${["label"]} .label=${e.templateList} selection-mode=single-persist @calciteListChange=${({ currentTarget: g }) => this.viewModel.applyTemplate(g.selectedItems[0]?.value)}>${r ? d : null}${l.length ? i`<div><div class=${s(a.templateSelectFlowItemListHeading)}>${e.myTemplates}${n ? i`<calcite-chip appearance=outline kind=neutral .label=${e.beta} scale=s>${e.beta}</calcite-chip>` : null}</div>${this._renderLayoutTemplates(l, !0, !0)}</div>` : null}${t.length ? i`<div><div class=${s(a.templateSelectFlowItemListHeading)}>${e.organizationTemplates}${n ? i`<calcite-chip appearance=outline kind=neutral .label=${e.beta} scale=s>${e.beta}</calcite-chip>` : null}</div>${this._renderLayoutTemplates(t)}</div>` : null}${l.length || t.length ? c.length ? i`<div><div class=${s(a.templateSelectFlowItemListHeading)}>${e.defaultTemplates}</div>${this._renderLayoutTemplates(c, !0)}</div>` : null : this._renderLayoutTemplates(c, !0)}${l.length || t.length ? p.length ? i`<div><div class=${s(a.templateSelectFlowItemListHeading)}>${e.defaultTemplates}</div>${this._renderLayoutTemplates(p)}</div>` : null : this._renderLayoutTemplates(p)}</calcite-list>`)}</div><div class=${s(a.templateButtonContainer)}><calcite-button class=${s(a.templateDoneButton)} @click=${this.hideTemplateSelector}>Done</calcite-button></div></div>`;
|
|
@@ -24,31 +24,40 @@ declare const useScaleBarViewModel: (component: LitElement & Pick<ScaleBarViewMo
|
|
|
24
24
|
* **Known Limitations**
|
|
25
25
|
*
|
|
26
26
|
* - This component is not currently supported within an `arcgis-scene` component.
|
|
27
|
+
*
|
|
28
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scale-bar/)
|
|
27
29
|
*/
|
|
28
30
|
export declare class ArcgisScaleBar extends LitElement {
|
|
29
31
|
/**
|
|
30
|
-
* If true, the component will not be destroyed automatically when
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
32
|
+
* If true, the component will not be destroyed automatically when it is
|
|
33
|
+
* disconnected from the document. This is useful when you want to move the
|
|
34
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
35
|
+
* is set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scale-bar/#destroy) method when you are done to
|
|
36
|
+
* prevent memory leaks.
|
|
37
|
+
*
|
|
38
|
+
* @default false
|
|
35
39
|
*/
|
|
36
40
|
autoDestroyDisabled: boolean;
|
|
37
41
|
/**
|
|
38
42
|
* The style for the scale bar.
|
|
39
43
|
* When `unit` is set to `dual`, the style will always be `line`.
|
|
44
|
+
*
|
|
45
|
+
* @default "line"
|
|
40
46
|
*/
|
|
41
47
|
barStyle: ScaleBarStyle;
|
|
42
48
|
/**
|
|
43
49
|
* Icon which represents the component.
|
|
44
50
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
45
|
-
*
|
|
51
|
+
*
|
|
52
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
53
|
+
* @default "actual-size"
|
|
46
54
|
*/
|
|
47
55
|
icon: Nil | string;
|
|
48
56
|
/** The component's default label. */
|
|
49
57
|
label: Nil | string;
|
|
50
58
|
/** Replace localized message strings with your own strings. */
|
|
51
59
|
messageOverrides?: typeof this.messages._overrides;
|
|
60
|
+
/** @default "top-left" */
|
|
52
61
|
position: __esri.UIPosition;
|
|
53
62
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
54
63
|
/**
|
|
@@ -59,9 +68,14 @@ export declare class ArcgisScaleBar extends LitElement {
|
|
|
59
68
|
*/
|
|
60
69
|
get unit(): ScaleBarUnit | undefined;
|
|
61
70
|
set unit(value: ScaleBarUnit | undefined);
|
|
62
|
-
/** Permanently destroy the component */
|
|
71
|
+
/** Permanently destroy the component. */
|
|
63
72
|
destroy(): Promise<void>;
|
|
73
|
+
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
64
74
|
readonly arcgisReady: TargetedEvent<this, undefined>;
|
|
65
|
-
private messages
|
|
75
|
+
private messages: Partial<{
|
|
76
|
+
componentLabel: string;
|
|
77
|
+
}> & import('@arcgis/lumina/controllers').T9nMeta<{
|
|
78
|
+
componentLabel: string;
|
|
79
|
+
}>;
|
|
66
80
|
}
|
|
67
81
|
export {};
|
|
@@ -7,12 +7,12 @@ import { watch as y } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
7
7
|
import { formatNumber as S } from "@arcgis/core/intl.js";
|
|
8
8
|
import L from "@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js";
|
|
9
9
|
import { LitElement as B, createEvent as M, noShadowRoot as R, safeClassMap as a, safeStyleMap as _ } from "@arcgis/lumina";
|
|
10
|
-
import { u as x } from "../../chunks/
|
|
10
|
+
import { u as x } from "../../chunks/useView.js";
|
|
11
11
|
import { m as D } from "../../chunks/useViewModel.js";
|
|
12
12
|
import { g as v } from "../../chunks/globalCss.js";
|
|
13
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
15
|
-
v4.33.0-next.
|
|
15
|
+
v4.33.0-next.113 */
|
|
16
16
|
function $(f = 0, e = 0) {
|
|
17
17
|
return { x: f, y: e };
|
|
18
18
|
}
|
|
@@ -38,31 +38,20 @@ class k extends B {
|
|
|
38
38
|
super(...arguments), this._defaultUnit = "metric", this.messages = x(), this._scaleComputedFrom = $(), this.viewModel = U(this), this.autoDestroyDisabled = !1, this.barStyle = "line", this.icon = "actual-size", this.position = "top-left", this.arcgisReady = M();
|
|
39
39
|
}
|
|
40
40
|
static {
|
|
41
|
-
this.properties = { autoDestroyDisabled: 5, barStyle: 1, icon:
|
|
41
|
+
this.properties = { autoDestroyDisabled: 5, barStyle: 1, icon: 1, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, unit: 1 };
|
|
42
42
|
}
|
|
43
43
|
static {
|
|
44
44
|
this.shadowRootOptions = R;
|
|
45
45
|
}
|
|
46
|
-
/**
|
|
47
|
-
* Units to use for the scale bar.
|
|
48
|
-
* When using `dual`, the scale bar displays both metric and imperial units.
|
|
49
|
-
* When metric, distances will be shown in either kilometers, meters, centimeters, or millimeters depending on the scale. Similarly, imperial
|
|
50
|
-
* units will be shown in either miles, feet, or inches.
|
|
51
|
-
*/
|
|
52
46
|
get unit() {
|
|
53
47
|
return this._unit ?? this._defaultUnit;
|
|
54
48
|
}
|
|
55
49
|
set unit(e) {
|
|
56
50
|
this._unit = e;
|
|
57
51
|
}
|
|
58
|
-
//#endregion
|
|
59
|
-
//#region Public Methods
|
|
60
|
-
/** Permanently destroy the component */
|
|
61
52
|
async destroy() {
|
|
62
53
|
await this.manager.destroy();
|
|
63
54
|
}
|
|
64
|
-
//#endregion
|
|
65
|
-
//#region Lifecycle
|
|
66
55
|
updated() {
|
|
67
56
|
this._handleRootCreateOrUpdate();
|
|
68
57
|
}
|
|
@@ -80,8 +69,6 @@ class k extends B {
|
|
|
80
69
|
this._defaultUnit = e ?? "metric", i && this.requestUpdate();
|
|
81
70
|
}));
|
|
82
71
|
}
|
|
83
|
-
//#endregion
|
|
84
|
-
//#region Private Methods
|
|
85
72
|
_handleContainerRef(e) {
|
|
86
73
|
e !== void 0 && this._handleRootCreateOrUpdate();
|
|
87
74
|
}
|
|
@@ -98,8 +85,6 @@ class k extends B {
|
|
|
98
85
|
unitDisplay: "short"
|
|
99
86
|
});
|
|
100
87
|
}
|
|
101
|
-
//#endregion
|
|
102
|
-
//#region Rendering
|
|
103
88
|
render() {
|
|
104
89
|
const e = this.viewModel.state === "disabled", i = {
|
|
105
90
|
[v.disabled]: e
|
|
@@ -28,44 +28,115 @@ declare const useScaleRangeSliderWidget: (component: LitElement & Pick<ScaleRang
|
|
|
28
28
|
}, options?: {
|
|
29
29
|
editConstructorProperties(props: __esri.ScaleRangeSliderProperties | undefined): __esri.ScaleRangeSliderProperties | Promise<__esri.ScaleRangeSliderProperties | undefined> | undefined;
|
|
30
30
|
} | undefined) => ScaleRangeSlider;
|
|
31
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* The ScaleRangeSlider component allows the user to set a minimum and maximum scale based on named scale ranges.
|
|
33
|
+
*
|
|
34
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scale-range-slider/)
|
|
32
35
|
*/
|
|
33
36
|
export declare class ArcgisScaleRangeSlider extends LitElement {
|
|
34
37
|
/**
|
|
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-scale-range-slider/#destroy) method when you are done to
|
|
42
|
+
* prevent memory leaks.
|
|
43
|
+
*
|
|
44
|
+
* @default false
|
|
40
45
|
*/
|
|
41
46
|
autoDestroyDisabled: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* When `true`, sets the widget to a disabled state so the user cannot interact with it.
|
|
49
|
+
*
|
|
50
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#disabled)
|
|
51
|
+
*
|
|
52
|
+
* @default false
|
|
53
|
+
*/
|
|
42
54
|
disabled: boolean;
|
|
55
|
+
/** @default false */
|
|
43
56
|
hidePreview: boolean | undefined;
|
|
57
|
+
/** @default false */
|
|
44
58
|
hideScaleMenusMaxScaleMenu: boolean | undefined;
|
|
59
|
+
/** @default false */
|
|
45
60
|
hideScaleMenusMinScaleMenu: boolean | undefined;
|
|
46
61
|
/**
|
|
47
|
-
* Icon
|
|
48
|
-
*
|
|
49
|
-
*
|
|
62
|
+
* Icon displayed in the widget's button.
|
|
63
|
+
*
|
|
64
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#icon)
|
|
65
|
+
*
|
|
66
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
67
|
+
* @default "actual-size"
|
|
50
68
|
*/
|
|
51
69
|
icon: string;
|
|
52
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* The widget's default label.
|
|
72
|
+
*
|
|
73
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#label)
|
|
74
|
+
*/
|
|
53
75
|
label: string;
|
|
76
|
+
/**
|
|
77
|
+
* When provided, the initial [minScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#minScale) and [maxScale](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#maxScale) values will match the layer's.
|
|
78
|
+
*
|
|
79
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#layer)
|
|
80
|
+
*/
|
|
54
81
|
layer: nullish | __esri.Layer | __esri.Sublayer;
|
|
82
|
+
/**
|
|
83
|
+
* The maximum scale of the active scale range.
|
|
84
|
+
*
|
|
85
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#maxScale)
|
|
86
|
+
*/
|
|
55
87
|
maxScale: number;
|
|
88
|
+
/**
|
|
89
|
+
* The lowest possible maximum scale value on the slider.
|
|
90
|
+
*
|
|
91
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#maxScaleLimit)
|
|
92
|
+
*/
|
|
56
93
|
maxScaleLimit: number;
|
|
94
|
+
/**
|
|
95
|
+
* The minimum scale of the active scale range.
|
|
96
|
+
*
|
|
97
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#minScale)
|
|
98
|
+
*/
|
|
57
99
|
minScale: number;
|
|
100
|
+
/**
|
|
101
|
+
* The highest possible minimum scale value on the slider.
|
|
102
|
+
*
|
|
103
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#minScaleLimit)
|
|
104
|
+
*/
|
|
58
105
|
minScaleLimit: number;
|
|
106
|
+
/**
|
|
107
|
+
* The mode of the widget, indicating which slider thumbs can be adjusted.
|
|
108
|
+
*
|
|
109
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#mode)
|
|
110
|
+
*
|
|
111
|
+
* @default "range"
|
|
112
|
+
*/
|
|
59
113
|
mode: "range" | "max-scale-only" | "min-scale-only";
|
|
114
|
+
/** @default "bottom-left" */
|
|
60
115
|
position: __esri.UIPosition;
|
|
61
116
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
117
|
+
/**
|
|
118
|
+
* The region that the scale thumbnails will focus on.
|
|
119
|
+
*
|
|
120
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider.html#region)
|
|
121
|
+
*
|
|
122
|
+
* @default "US"
|
|
123
|
+
*/
|
|
62
124
|
region: __esri.SupportedRegion;
|
|
125
|
+
/**
|
|
126
|
+
* The current state of the widget.
|
|
127
|
+
*
|
|
128
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleRangeSlider-ScaleRangeSliderViewModel.html#state)
|
|
129
|
+
*
|
|
130
|
+
* @default "disabled"
|
|
131
|
+
*/
|
|
63
132
|
readonly state: "ready" | "disabled";
|
|
64
|
-
/** Permanently destroy the component */
|
|
133
|
+
/** Permanently destroy the component. */
|
|
65
134
|
destroy(): Promise<void>;
|
|
135
|
+
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
66
136
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
67
137
|
name: "state" | "maxScale" | "minScale";
|
|
68
138
|
}>;
|
|
139
|
+
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
69
140
|
readonly arcgisReady: TargetedEvent<this, undefined>;
|
|
70
141
|
}
|
|
71
142
|
export {};
|
|
@@ -6,7 +6,7 @@ import { m as o } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } 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 r = n`@layer{arcgis-scale-range-slider{display:block}}`, c = o(t);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -21,9 +21,6 @@ class h extends s {
|
|
|
21
21
|
static {
|
|
22
22
|
this.styles = r;
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region Public Methods
|
|
26
|
-
/** Permanently destroy the component */
|
|
27
24
|
async destroy() {
|
|
28
25
|
await this.manager.destroy();
|
|
29
26
|
}
|