@arcgis/map-components 4.33.0-next.113 → 4.33.0-next.118
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/{7FA2K3OP.js → 2EIZK6DF.js} +2 -2
- package/dist/arcgis-map-components/2GM7XIUQ.js +4 -0
- package/dist/arcgis-map-components/{CUQNI3HG.js → 2QHHMMFP.js} +1 -1
- package/dist/arcgis-map-components/{QDRYAIL6.js → 2V4M3H4N.js} +2 -2
- package/dist/arcgis-map-components/2XVT65LI.js +4 -0
- package/dist/arcgis-map-components/{GZPGV6LA.js → 32CN7DVA.js} +2 -2
- package/dist/arcgis-map-components/3GPEAGMT.js +4 -0
- package/dist/arcgis-map-components/{F3BVHIIC.js → 3J7VIC7Y.js} +2 -2
- package/dist/arcgis-map-components/{Y5OOL2WE.js → 3JBU5G5L.js} +2 -2
- package/dist/arcgis-map-components/{TDDXEDKS.js → 3T3NJBRM.js} +2 -2
- package/dist/arcgis-map-components/{G3WBK6OC.js → 42QUJEQ7.js} +2 -2
- package/dist/arcgis-map-components/53TAJC2J.js +4 -0
- package/dist/arcgis-map-components/{PUTVBMOH.js → 5AMA372B.js} +1 -1
- package/dist/arcgis-map-components/{7PTTKRXU.js → 6NHANRYV.js} +2 -2
- package/dist/arcgis-map-components/7VLZ6ZOZ.js +4 -0
- package/dist/arcgis-map-components/ADBHQSA5.js +4 -0
- package/dist/arcgis-map-components/{AD3IM2RV.js → AGOOECD4.js} +2 -2
- package/dist/arcgis-map-components/{WITQYJC4.js → AYQFPNHT.js} +2 -2
- package/dist/arcgis-map-components/BD66C77O.js +4 -0
- package/dist/arcgis-map-components/{U6LCW7DG.js → BTGVMOZB.js} +2 -2
- package/dist/arcgis-map-components/{LM6BLU7I.js → BTIS5PVE.js} +2 -2
- package/dist/arcgis-map-components/{Z77VZ34G.js → BUEQR3SR.js} +2 -2
- package/dist/arcgis-map-components/{XIWHNK55.js → C6KHGV3X.js} +2 -2
- package/dist/arcgis-map-components/{PTDAGJR6.js → CAXADN6D.js} +2 -2
- package/dist/arcgis-map-components/{S352QOLG.js → CKVK7PC2.js} +2 -2
- package/dist/arcgis-map-components/CQYR2JJ3.js +4 -0
- package/dist/arcgis-map-components/{AYNCXSJA.js → CVLFI4KT.js} +2 -2
- package/dist/arcgis-map-components/{BNDCYZDT.js → CWP33Q3S.js} +1 -1
- package/dist/arcgis-map-components/{GATPKJVX.js → E3QP2XNY.js} +2 -2
- package/dist/arcgis-map-components/ECEWVUSA.js +4 -0
- package/dist/arcgis-map-components/{ANPX3M3T.js → EF256AHR.js} +2 -2
- package/dist/arcgis-map-components/EHPIUTZM.js +4 -0
- package/dist/arcgis-map-components/{3MV55J2Y.js → ELAKAQIF.js} +2 -2
- package/dist/arcgis-map-components/{6TVXN5DT.js → EM6Q6DRS.js} +2 -2
- package/dist/arcgis-map-components/{5MALNCHN.js → EO2Y5BTA.js} +2 -2
- package/dist/arcgis-map-components/{TCV34WIR.js → EQZ2EE52.js} +2 -2
- package/dist/arcgis-map-components/{Z32XN7NB.js → EZZQB6J3.js} +2 -2
- package/dist/arcgis-map-components/{YBEVWFZD.js → FDVUJRUG.js} +2 -2
- package/dist/arcgis-map-components/FF7I5B4C.js +4 -0
- package/dist/arcgis-map-components/{T5HRUVJD.js → FI6T4NR2.js} +2 -2
- package/dist/arcgis-map-components/{5DK3QO7V.js → FWBR6XTI.js} +2 -2
- package/dist/arcgis-map-components/{7BES3HZK.js → G7AT5DKL.js} +2 -2
- package/dist/arcgis-map-components/{UUVFLUGE.js → GBQFRMUX.js} +2 -2
- package/dist/arcgis-map-components/{HYVA2OKF.js → GG5MZILL.js} +2 -2
- package/dist/arcgis-map-components/{WPFYA7FW.js → GI5URY6D.js} +2 -2
- package/dist/arcgis-map-components/GSNVEWC5.js +4 -0
- package/dist/arcgis-map-components/{ET4IRT5G.js → H4Q3X25F.js} +2 -2
- package/dist/arcgis-map-components/{OYUTAXFP.js → HDJXZMSC.js} +2 -2
- package/dist/arcgis-map-components/{KJW4V2S4.js → HJ73WMYU.js} +2 -2
- package/dist/arcgis-map-components/{DKOPT4NA.js → HXMEZHXC.js} +2 -2
- package/dist/arcgis-map-components/{KB3GLGHJ.js → HYLSHORH.js} +2 -2
- package/dist/arcgis-map-components/{CIMDCPCB.js → HZ7CF77K.js} +2 -2
- package/dist/arcgis-map-components/{CH6YS2M3.js → I3VIURLZ.js} +2 -2
- package/dist/arcgis-map-components/{BWJANLLR.js → IPORQO7G.js} +2 -2
- package/dist/arcgis-map-components/{Y7OSESUK.js → J6FF6OAV.js} +2 -2
- package/dist/arcgis-map-components/JIJMDXLZ.js +4 -0
- package/dist/arcgis-map-components/{JYFCNNNY.js → JORORXSB.js} +2 -2
- package/dist/arcgis-map-components/{SU3JV7YB.js → JSYCM653.js} +2 -2
- package/dist/arcgis-map-components/JZ7F44AT.js +4 -0
- package/dist/arcgis-map-components/LW2H4J77.js +4 -0
- package/dist/arcgis-map-components/{ATAZTDCH.js → M3WRRLGJ.js} +2 -2
- package/dist/arcgis-map-components/{MXKENIC7.js → M5IXQFGU.js} +2 -2
- package/dist/arcgis-map-components/{TBLZPYNC.js → M623SFHS.js} +2 -2
- package/dist/arcgis-map-components/{AQ46PB7T.js → MYQJS5HE.js} +2 -2
- package/dist/arcgis-map-components/{PPOHUKZ2.js → NGPPDCRV.js} +2 -2
- package/dist/arcgis-map-components/{C4B35TTR.js → NLNI3W4E.js} +2 -2
- package/dist/arcgis-map-components/{DI7RDP6N.js → NSRAR67N.js} +1 -1
- package/dist/arcgis-map-components/{7YAC5GLA.js → ODI5DHFM.js} +2 -2
- package/dist/arcgis-map-components/{3TU7GQAD.js → OJ3ILJVR.js} +2 -2
- package/dist/arcgis-map-components/{RSOOXAWQ.js → OLDNJYMP.js} +2 -2
- package/dist/arcgis-map-components/OQQOME5D.js +4 -0
- package/dist/arcgis-map-components/{TRAKHXYB.js → OUKH4DJ2.js} +2 -2
- package/dist/arcgis-map-components/{TT5IOPJV.js → PHQ2KURA.js} +2 -2
- package/dist/arcgis-map-components/{S6QAKH4U.js → Q27TZUPR.js} +2 -2
- package/dist/arcgis-map-components/QLGNZMW2.js +4 -0
- package/dist/arcgis-map-components/{PYZN42J2.js → QMXEM5CE.js} +1 -1
- package/dist/arcgis-map-components/{7LDOMSRS.js → QZUV4EIQ.js} +2 -2
- package/dist/arcgis-map-components/{4PNI7N5K.js → RK4VFIQ2.js} +2 -2
- package/dist/arcgis-map-components/{Q4IPOH3Q.js → RT4WWADY.js} +2 -2
- package/dist/arcgis-map-components/{U6B24E7V.js → SCSYAW6Q.js} +2 -2
- package/dist/arcgis-map-components/{OXX3UKTL.js → SYWUNA4T.js} +2 -2
- package/dist/arcgis-map-components/TDGHPG5X.js +4 -0
- package/dist/arcgis-map-components/TTQTOXR4.js +4 -0
- package/dist/arcgis-map-components/{XDMRCMJI.js → U5ONS3QD.js} +1 -1
- package/dist/arcgis-map-components/UB5CWESD.js +4 -0
- package/dist/arcgis-map-components/UOD6YMVV.js +4 -0
- package/dist/arcgis-map-components/{RIQ7QCBK.js → V4PFJPWM.js} +2 -2
- package/dist/arcgis-map-components/{6HIGMCOE.js → VC645GGF.js} +2 -2
- package/dist/arcgis-map-components/{VTXTLR2G.js → VDU4KQ5Q.js} +2 -2
- package/dist/arcgis-map-components/VIO2FRWJ.js +4 -0
- package/dist/arcgis-map-components/{KJE363IH.js → VMC43WLV.js} +2 -2
- package/dist/arcgis-map-components/{IIDV3KD7.js → VW73BFTQ.js} +2 -2
- package/dist/arcgis-map-components/{4VZMXBAV.js → W4T3EE7T.js} +2 -2
- package/dist/arcgis-map-components/{6D6E7PDC.js → WE72CWPV.js} +2 -2
- package/dist/arcgis-map-components/{6UMBZW3J.js → WGACUTJA.js} +2 -2
- package/dist/arcgis-map-components/{DU2GGA4Q.js → WJ2ZGWLX.js} +2 -2
- package/dist/arcgis-map-components/WJ4XJ2N5.js +4 -0
- package/dist/arcgis-map-components/{7TB7JKNU.js → WJ6P3CBY.js} +2 -2
- package/dist/arcgis-map-components/{WGIDJRIA.js → WLC5EARK.js} +2 -2
- package/dist/arcgis-map-components/WMRIVJMD.js +6 -0
- package/dist/arcgis-map-components/{FZOABTDK.js → WOHD36GZ.js} +2 -2
- package/dist/arcgis-map-components/{7SH3DBCY.js → WWLEY4C6.js} +2 -2
- package/dist/arcgis-map-components/{3X2GMJR5.js → X3IDT2AO.js} +2 -2
- package/dist/arcgis-map-components/{CKQSYSOF.js → X5BAAK6B.js} +2 -2
- package/dist/arcgis-map-components/{KYJS4SG7.js → XENBLVWV.js} +2 -2
- package/dist/arcgis-map-components/XKDSYE5N.js +4 -0
- package/dist/arcgis-map-components/{LRM3I52Y.js → YEXPJB2C.js} +2 -2
- package/dist/arcgis-map-components/{BRRHFKKW.js → YIYDNRT4.js} +2 -2
- package/dist/arcgis-map-components/{XXXXSDUR.js → YNZ57DCV.js} +2 -2
- package/dist/arcgis-map-components/{HNO5A756.js → YWC2PPGY.js} +2 -2
- package/dist/arcgis-map-components/{UZCB5WLH.js → YWWWSLZH.js} +2 -2
- package/dist/arcgis-map-components/{PI2WYIV5.js → YZCB66IG.js} +2 -2
- package/dist/arcgis-map-components/{AYNUADWD.js → ZLP553PX.js} +2 -2
- package/dist/arcgis-map-components/{VIHA3QH2.js → ZQVTDBYU.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 +1 -1
- package/dist/chunks/useT9n.js +9 -0
- package/dist/chunks/useView.js +11 -13
- 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 +1 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +2 -2
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +1 -0
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +3 -2
- package/dist/components/arcgis-grid-controls/customElement.js +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +1 -0
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +0 -40
- package/dist/components/arcgis-layer-list-item/customElement.js +42 -42
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +2 -2
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +7 -6
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +2 -2
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +2 -2
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +8 -0
- package/dist/components/arcgis-shadow-cast/customElement.js +16 -16
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +4 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +6 -5
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +7 -2
- package/dist/components/arcgis-zoom/customElement.js +6 -5
- package/dist/docs/api.json +184 -96
- package/dist/docs/docs.json +97 -9
- package/dist/docs/vscode.html-custom-data.json +77 -93
- package/dist/docs/web-types.json +75 -19
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- 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 +5 -5
- package/dist/arcgis-map-components/2AQ3FVSG.js +0 -4
- package/dist/arcgis-map-components/637MOVRS.js +0 -4
- package/dist/arcgis-map-components/6EUNJFNY.js +0 -4
- package/dist/arcgis-map-components/6XQQ4RSR.js +0 -4
- package/dist/arcgis-map-components/A23LK2MB.js +0 -4
- package/dist/arcgis-map-components/B7OPBGVT.js +0 -4
- package/dist/arcgis-map-components/C4KDC4WX.js +0 -4
- package/dist/arcgis-map-components/EWMEU34N.js +0 -4
- package/dist/arcgis-map-components/HBUUVPXK.js +0 -4
- package/dist/arcgis-map-components/I3SPMV64.js +0 -4
- package/dist/arcgis-map-components/IQXZNGHL.js +0 -4
- package/dist/arcgis-map-components/KPGCUIJT.js +0 -4
- package/dist/arcgis-map-components/LD2ZOJIB.js +0 -4
- package/dist/arcgis-map-components/MLXLT2NU.js +0 -4
- package/dist/arcgis-map-components/NQOCQBYV.js +0 -4
- package/dist/arcgis-map-components/O3FWYZEE.js +0 -4
- package/dist/arcgis-map-components/ONQMSUPO.js +0 -6
- package/dist/arcgis-map-components/PYVDWEMX.js +0 -4
- package/dist/arcgis-map-components/QMEQNV4W.js +0 -4
- package/dist/arcgis-map-components/SFCQKRYF.js +0 -4
- package/dist/arcgis-map-components/SLVAMXGX.js +0 -4
- package/dist/arcgis-map-components/UJYHTBUO.js +0 -4
- package/dist/arcgis-map-components/UOEFZRSX.js +0 -4
- package/dist/arcgis-map-components/YZCOAFOO.js +0 -4
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@arcgis/map-components",
|
|
4
|
-
"version": "4.33.0-next.
|
|
4
|
+
"version": "4.33.0-next.118",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -744,7 +744,7 @@
|
|
|
744
744
|
},
|
|
745
745
|
{
|
|
746
746
|
"name": "arcgis-basemap-layer-list",
|
|
747
|
-
"description": "BasemapLayerList component provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html) layers and switch on/off their visibility. [Base layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#baseLayers) and [reference layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#referenceLayers) are divided into separate sections. When editing is enabled, layers can be reordered by dragging and dropping between the lists and the title can be edited.\n--\n\n### Events\n- **arcgisClose
|
|
747
|
+
"description": "BasemapLayerList component provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html) layers and switch on/off their visibility. [Base layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#baseLayers) and [reference layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#referenceLayers) are divided into separate sections. When editing is enabled, layers can be reordered by dragging and dropping between the lists and the title can be edited.\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
|
|
748
748
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-layer-list/",
|
|
749
749
|
"attributes": [
|
|
750
750
|
{
|
|
@@ -981,7 +981,8 @@
|
|
|
981
981
|
"events": [
|
|
982
982
|
{
|
|
983
983
|
"name": "arcgisClose",
|
|
984
|
-
"type": "undefined"
|
|
984
|
+
"type": "undefined",
|
|
985
|
+
"description": "Emitted when the component's close button is clicked."
|
|
985
986
|
},
|
|
986
987
|
{
|
|
987
988
|
"name": "arcgisPropertyChange",
|
|
@@ -1177,7 +1178,8 @@
|
|
|
1177
1178
|
"events": [
|
|
1178
1179
|
{
|
|
1179
1180
|
"name": "arcgisClose",
|
|
1180
|
-
"type": "undefined"
|
|
1181
|
+
"type": "undefined",
|
|
1182
|
+
"description": "Emitted when the component's close button is clicked."
|
|
1181
1183
|
},
|
|
1182
1184
|
{
|
|
1183
1185
|
"name": "arcgisPropertyChange",
|
|
@@ -1356,7 +1358,7 @@
|
|
|
1356
1358
|
},
|
|
1357
1359
|
{
|
|
1358
1360
|
"name": "arcgis-bookmarks",
|
|
1359
|
-
"description": "Bookmarks component allow end users to quickly navigate to a particular area of interest. It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html), which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks).\n--\n\n### Events\n- **arcgisClose
|
|
1361
|
+
"description": "Bookmarks component allow end users to quickly navigate to a particular area of interest. It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html), which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks).\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisEdit**\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisSelect**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
|
|
1360
1362
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-bookmarks/",
|
|
1361
1363
|
"attributes": [
|
|
1362
1364
|
{
|
|
@@ -1513,7 +1515,8 @@
|
|
|
1513
1515
|
"events": [
|
|
1514
1516
|
{
|
|
1515
1517
|
"name": "arcgisClose",
|
|
1516
|
-
"type": "undefined"
|
|
1518
|
+
"type": "undefined",
|
|
1519
|
+
"description": "Emitted when the component's close button is clicked."
|
|
1517
1520
|
},
|
|
1518
1521
|
{
|
|
1519
1522
|
"name": "arcgisEdit",
|
|
@@ -1644,7 +1647,8 @@
|
|
|
1644
1647
|
"events": [
|
|
1645
1648
|
{
|
|
1646
1649
|
"name": "arcgisClose",
|
|
1647
|
-
"type": "undefined"
|
|
1650
|
+
"type": "undefined",
|
|
1651
|
+
"description": "Emitted when the component's close button is clicked."
|
|
1648
1652
|
},
|
|
1649
1653
|
{
|
|
1650
1654
|
"name": "arcgisEdit",
|
|
@@ -1852,7 +1856,7 @@
|
|
|
1852
1856
|
},
|
|
1853
1857
|
{
|
|
1854
1858
|
"name": "arcgis-catalog-layer-list",
|
|
1855
|
-
"description": "The CatalogLayerList component provides a way to display and interact with CatalogLayers.\n--\n\n### Events\n- **arcgisClose
|
|
1859
|
+
"description": "The CatalogLayerList component provides a way to display and interact with CatalogLayers.\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
|
|
1856
1860
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-catalog-layer-list/",
|
|
1857
1861
|
"attributes": [
|
|
1858
1862
|
{
|
|
@@ -2037,7 +2041,8 @@
|
|
|
2037
2041
|
"events": [
|
|
2038
2042
|
{
|
|
2039
2043
|
"name": "arcgisClose",
|
|
2040
|
-
"type": "undefined"
|
|
2044
|
+
"type": "undefined",
|
|
2045
|
+
"description": "Emitted when the component's close button is clicked."
|
|
2041
2046
|
},
|
|
2042
2047
|
{
|
|
2043
2048
|
"name": "arcgisPropertyChange",
|
|
@@ -2181,7 +2186,8 @@
|
|
|
2181
2186
|
"events": [
|
|
2182
2187
|
{
|
|
2183
2188
|
"name": "arcgisClose",
|
|
2184
|
-
"type": "undefined"
|
|
2189
|
+
"type": "undefined",
|
|
2190
|
+
"description": "Emitted when the component's close button is clicked."
|
|
2185
2191
|
},
|
|
2186
2192
|
{
|
|
2187
2193
|
"name": "arcgisPropertyChange",
|
|
@@ -5997,7 +6003,7 @@
|
|
|
5997
6003
|
},
|
|
5998
6004
|
{
|
|
5999
6005
|
"name": "arcgis-features",
|
|
6000
|
-
"description": "Features component allows users to view a feature's popupTemplate content such as attributes, actions, related records, etc., without having to be tied to the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html).\n--\n\n### Events\n- **arcgisClose
|
|
6006
|
+
"description": "Features component allows users to view a feature's popupTemplate content such as attributes, actions, related records, etc., without having to be tied to the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html).\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `clear(): Promise<void>`\n- `close(): Promise<void>` - Closes the component.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `fetchFeatures(screenPoint: __esri.FeaturesFetchFeaturesScreenPoint, options?: __esri.FetchFeaturesOptions): Promise<__esri.FetchPopupFeaturesResult>` - Use this method to return feature(s) at a given screen location.\nThese features are fetched from all of the [layer views](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html).\nIn order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html).\nThis method allows a developer to control how the input location is handled.\n- `next(): Promise<__esri.FeaturesViewModel>`\n- `open(options?: __esri.FeaturesOpenOptions): Promise<void>` - Opens Features with content defined either explicitly or driven from the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) of input features.\n- `previous(): Promise<__esri.FeaturesViewModel>`\n- `triggerAction(actionIndex: number): Promise<void>`",
|
|
6001
6007
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-features/",
|
|
6002
6008
|
"attributes": [
|
|
6003
6009
|
{
|
|
@@ -6210,7 +6216,8 @@
|
|
|
6210
6216
|
"events": [
|
|
6211
6217
|
{
|
|
6212
6218
|
"name": "arcgisClose",
|
|
6213
|
-
"type": "undefined"
|
|
6219
|
+
"type": "undefined",
|
|
6220
|
+
"description": "Emitted when the component's close button is clicked."
|
|
6214
6221
|
},
|
|
6215
6222
|
{
|
|
6216
6223
|
"name": "arcgisPropertyChange",
|
|
@@ -6401,7 +6408,8 @@
|
|
|
6401
6408
|
"events": [
|
|
6402
6409
|
{
|
|
6403
6410
|
"name": "arcgisClose",
|
|
6404
|
-
"type": "undefined"
|
|
6411
|
+
"type": "undefined",
|
|
6412
|
+
"description": "Emitted when the component's close button is clicked."
|
|
6405
6413
|
},
|
|
6406
6414
|
{
|
|
6407
6415
|
"name": "arcgisPropertyChange",
|
|
@@ -7532,7 +7540,7 @@
|
|
|
7532
7540
|
},
|
|
7533
7541
|
{
|
|
7534
7542
|
"name": "arcgis-layer-list",
|
|
7535
|
-
"description": "The Layer List component provides a way to display a list of layers, and switch on/off their visibility.\n--\n\n### Events\n- **arcgisClose
|
|
7543
|
+
"description": "The Layer List component provides a way to display a list of layers, and switch on/off their visibility.\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `triggerAction(action: __esri.ActionButton | __esri.ActionToggle, item: __esri.ListItem): Promise<void>`",
|
|
7536
7544
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-layer-list/",
|
|
7537
7545
|
"attributes": [
|
|
7538
7546
|
{
|
|
@@ -7740,7 +7748,8 @@
|
|
|
7740
7748
|
"events": [
|
|
7741
7749
|
{
|
|
7742
7750
|
"name": "arcgisClose",
|
|
7743
|
-
"type": "undefined"
|
|
7751
|
+
"type": "undefined",
|
|
7752
|
+
"description": "Emitted when the component's close button is clicked."
|
|
7744
7753
|
},
|
|
7745
7754
|
{
|
|
7746
7755
|
"name": "arcgisPropertyChange",
|
|
@@ -7918,7 +7927,8 @@
|
|
|
7918
7927
|
"events": [
|
|
7919
7928
|
{
|
|
7920
7929
|
"name": "arcgisClose",
|
|
7921
|
-
"type": "undefined"
|
|
7930
|
+
"type": "undefined",
|
|
7931
|
+
"description": "Emitted when the component's close button is clicked."
|
|
7922
7932
|
},
|
|
7923
7933
|
{
|
|
7924
7934
|
"name": "arcgisPropertyChange",
|
|
@@ -12094,6 +12104,34 @@
|
|
|
12094
12104
|
"type": "boolean"
|
|
12095
12105
|
}
|
|
12096
12106
|
},
|
|
12107
|
+
{
|
|
12108
|
+
"name": "hide-threshold-context",
|
|
12109
|
+
"default": "false",
|
|
12110
|
+
"value": {
|
|
12111
|
+
"type": "boolean"
|
|
12112
|
+
}
|
|
12113
|
+
},
|
|
12114
|
+
{
|
|
12115
|
+
"name": "hide-threshold-context-color",
|
|
12116
|
+
"default": "false",
|
|
12117
|
+
"value": {
|
|
12118
|
+
"type": "boolean"
|
|
12119
|
+
}
|
|
12120
|
+
},
|
|
12121
|
+
{
|
|
12122
|
+
"name": "hide-threshold-context-time-interval",
|
|
12123
|
+
"default": "false",
|
|
12124
|
+
"value": {
|
|
12125
|
+
"type": "boolean"
|
|
12126
|
+
}
|
|
12127
|
+
},
|
|
12128
|
+
{
|
|
12129
|
+
"name": "hide-threshold-context-toggle",
|
|
12130
|
+
"default": "false",
|
|
12131
|
+
"value": {
|
|
12132
|
+
"type": "boolean"
|
|
12133
|
+
}
|
|
12134
|
+
},
|
|
12097
12135
|
{
|
|
12098
12136
|
"name": "hide-time-range-slider",
|
|
12099
12137
|
"default": "false",
|
|
@@ -12246,6 +12284,22 @@
|
|
|
12246
12284
|
"name": "hideDatePicker",
|
|
12247
12285
|
"type": "boolean"
|
|
12248
12286
|
},
|
|
12287
|
+
{
|
|
12288
|
+
"name": "hideThresholdContext",
|
|
12289
|
+
"type": "boolean"
|
|
12290
|
+
},
|
|
12291
|
+
{
|
|
12292
|
+
"name": "hideThresholdContextColor",
|
|
12293
|
+
"type": "boolean"
|
|
12294
|
+
},
|
|
12295
|
+
{
|
|
12296
|
+
"name": "hideThresholdContextTimeInterval",
|
|
12297
|
+
"type": "boolean"
|
|
12298
|
+
},
|
|
12299
|
+
{
|
|
12300
|
+
"name": "hideThresholdContextToggle",
|
|
12301
|
+
"type": "boolean"
|
|
12302
|
+
},
|
|
12249
12303
|
{
|
|
12250
12304
|
"name": "hideTimeRangeSlider",
|
|
12251
12305
|
"type": "boolean"
|
|
@@ -13687,7 +13741,7 @@
|
|
|
13687
13741
|
},
|
|
13688
13742
|
{
|
|
13689
13743
|
"name": "arcgis-table-list",
|
|
13690
|
-
"description": "The Table List component provides a way to display a list of tables associated with a [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html).\n--\n\n### Events\n- **arcgisClose
|
|
13744
|
+
"description": "The Table List component provides a way to display a list of tables associated with a [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html).\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.",
|
|
13691
13745
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-table-list/",
|
|
13692
13746
|
"attributes": [
|
|
13693
13747
|
{
|
|
@@ -13869,7 +13923,8 @@
|
|
|
13869
13923
|
"events": [
|
|
13870
13924
|
{
|
|
13871
13925
|
"name": "arcgisClose",
|
|
13872
|
-
"type": "undefined"
|
|
13926
|
+
"type": "undefined",
|
|
13927
|
+
"description": "Emitted when the component's close button is clicked."
|
|
13873
13928
|
},
|
|
13874
13929
|
{
|
|
13875
13930
|
"name": "arcgisPropertyChange",
|
|
@@ -14008,7 +14063,8 @@
|
|
|
14008
14063
|
"events": [
|
|
14009
14064
|
{
|
|
14010
14065
|
"name": "arcgisClose",
|
|
14011
|
-
"type": "undefined"
|
|
14066
|
+
"type": "undefined",
|
|
14067
|
+
"description": "Emitted when the component's close button is clicked."
|
|
14012
14068
|
},
|
|
14013
14069
|
{
|
|
14014
14070
|
"name": "arcgisPropertyChange",
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s, g as t } from "./chunks/runtime.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
|
-
v4.33.0-next.
|
|
4
|
+
v4.33.0-next.118 */
|
|
5
5
|
const a = s, A = t;
|
|
6
6
|
export {
|
|
7
7
|
A as getArcgisAssetPath,
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
5
|
-
v4.33.0-next.
|
|
5
|
+
v4.33.0-next.118 */
|
|
6
6
|
const a = t(e, {
|
|
7
7
|
"arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:;clear,destroy,start"],
|
|
8
8
|
"arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
|
|
@@ -35,7 +35,7 @@ const a = t(e, {
|
|
|
35
35
|
"arcgis-histogram-range-slider": [() => import("./components/arcgis-histogram-range-slider/customElement.js"), "autoDestroyDisabled,average,barCreatedFunction:,bins:,dataLineCreatedFunction:,dataLines:,excludedBarColor,icon,includedBarColor,label,labelFormatFunction:,max,min,position,precision,rangeType,referenceElement,standardDeviation,standardDeviationCount,state,values:;destroy,generateWhereClause"],
|
|
36
36
|
"arcgis-home": [() => import("./components/arcgis-home/customElement.js"), "autoDestroyDisabled,goToOverride:,icon,label,messageOverrides:,position,referenceElement,state,viewpoint:;cancelGo,destroy,go"],
|
|
37
37
|
"arcgis-layer-list": [() => import("./components/arcgis-layer-list/customElement.js"), "autoDestroyDisabled,catalogLayerList:,catalogOptions:,collapsed,dragEnabled,filterPlaceholder,filterPredicate:,filterText,headingLevel,hideCatalogLayerList,hideFlow,hideStatusIndicators,icon,knowledgeGraphOptions:,label,listItemCreatedFunction:,minDragEnabledItems,minFilterItems,openedLayers:,operationalItems:,position,referenceElement,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showErrors,showFilter,showHeading,showTemporaryLayerIndicators,state,tableList:,visibilityAppearance;destroy,triggerAction"],
|
|
38
|
-
"arcgis-layer-list-item": [() => import("./components/arcgis-layer-list-item/customElement.js"), "activeItem:,autoDestroyDisabled,canMove:,css:,displayMode,dragEnabled,handleAction:,handleCatalogOpen:,handlePanelOpen:,handleSelectedDragItemLayerUidChange:,handleTablesOpen:,handleTooltipReferenceChange:,hideCatalogLayerList,hideFlow,hideStatusIndicators,item:,layerTablesEnabled:,listModeDisabled,
|
|
38
|
+
"arcgis-layer-list-item": [() => import("./components/arcgis-layer-list-item/customElement.js"), "activeItem:,autoDestroyDisabled,canMove:,css:,displayMode,dragEnabled,handleAction:,handleCatalogOpen:,handlePanelOpen:,handleSelectedDragItemLayerUidChange:,handleTablesOpen:,handleTooltipReferenceChange:,hideCatalogLayerList,hideFlow,hideStatusIndicators,item:,layerTablesEnabled:,listModeDisabled,parent:,parentTitles:,rootGroupUid,selectedDragItemLayerUid,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showErrors,showFilter,showHeading,showTemporaryLayerIndicators,showTemporaryTableIndicators,visibilityAppearance;destroy"],
|
|
39
39
|
"arcgis-legend": [() => import("./components/arcgis-legend/customElement.js"), "activeLayerInfos:,autoDestroyDisabled,basemapLegendVisible,headingLevel,hideLayersNotInCurrentView,icon,label,layerInfos:,legendStyle,position,referenceElement,respectLayerDefinitionExpression,respectLayerVisibilityDisabled,state;destroy"],
|
|
40
40
|
"arcgis-line-of-sight": [() => import("./components/arcgis-line-of-sight/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state;clear,continue,destroy,start,stop"],
|
|
41
41
|
"arcgis-link-chart": [() => import("./components/arcgis-link-chart/customElement.js"), "allLayerViews:,autoDestroyDisabled,background:,basemap,basemapView:,center,constraints:,displayFilterDisabled,extent:,fatalError:,graphics:,highlights:,interacting:,itemId,layerViews:,magnifier:,map:,navigating:,navigation:,padding:,popup:,popupDisabled,ready:,resizeAlign,resolution:,rotation,scale,spatialReference:,stationary:,suspended,theme:,timeExtent:,timeZone,updating,view:,viewpoint:,zoom;addLayer,addLayers,closePopup,destroy,goTo,openPopup,tryFatalErrorRecovery,viewOnReady,whenLayerView;toMap,toScreen"],
|
|
@@ -68,7 +68,7 @@ const a = t(e, {
|
|
|
68
68
|
"arcgis-scene": [() => import("./components/arcgis-scene/customElement.js"), "allLayerViews:,alphaCompositingEnabled,analyses:,autoDestroyDisabled,basemap,basemapView:,camera:,cameraFov,cameraHeading,cameraPosition,cameraTilt,center,clippingArea:,constraints:,displayFilterDisabled,environment:,extent:,fatalError:,floors:,gamepad:,graphics:,ground,groundView:,highlightOptions:,highlights:,interacting:,itemId,layerViews:,magnifier:,map:,navigating:,navigation:,padding:,performanceInfo:,popup:,popupDisabled,qualityProfile,ready:,resolution:,scale,spatialReference:,stationary:,suspended,theme:,timeExtent:,updating,view:,viewingMode,viewpoint:,visibleArea:,zoom;addLayer,addLayers,addTable,addTables,closePopup,destroy,goTo,hitTest,openPopup,takeScreenshot,tryFatalErrorRecovery,viewOnReady,whenAnalysisView,whenLayerView;toMap,toScreen"],
|
|
69
69
|
"arcgis-search": [() => import("./components/arcgis-search/customElement.js"), "activeMenu,activeSource:,activeSourceIndex,allPlaceholder,allSources:,autoDestroyDisabled,autoNavigate,autoSelect,defaultSources:,disabled,goToOverride:,icon,includeDefaultSources,label,locationEnabled,maxResults,maxSuggestions,messageOverrides:,minSuggestCharacters,popupEnabled,popupTemplate:,portal:,position,referenceElement,resultGraphic:,resultGraphicEnabled,results:,searchAllEnabled,searchTerm,selectedResult:,sources:,state,suggestions:,suggestionsEnabled;destroy,setFocus"],
|
|
70
70
|
"arcgis-search-result-renderer": [() => import("./components/arcgis-search-result-renderer/customElement.js"), "autoDestroyDisabled,messages:,viewModel:;destroy"],
|
|
71
|
-
"arcgis-shadow-cast": [() => import("./components/arcgis-shadow-cast/customElement.js"), "autoDestroyDisabled,discreteOptions:,durationOptions:,endTimeOfDay,headingLevel,hideColorPicker,hideDatePicker,hideTimeRangeSlider,hideTimezone,hideTooltip,hideVisualizationOptions,icon,label,position,referenceElement,startTimeOfDay,state,thresholdOptions:,utcOffset,visualizationType;destroy,getDuration,start,stop"],
|
|
71
|
+
"arcgis-shadow-cast": [() => import("./components/arcgis-shadow-cast/customElement.js"), "autoDestroyDisabled,discreteOptions:,durationOptions:,endTimeOfDay,headingLevel,hideColorPicker,hideDatePicker,hideThresholdContext,hideThresholdContextColor,hideThresholdContextTimeInterval,hideThresholdContextToggle,hideTimeRangeSlider,hideTimezone,hideTooltip,hideVisualizationOptions,icon,label,position,referenceElement,startTimeOfDay,state,thresholdOptions:,utcOffset,visualizationType;destroy,getDuration,start,stop"],
|
|
72
72
|
"arcgis-sketch": [() => import("./components/arcgis-sketch/customElement.js"), "activeTool,autoDestroyDisabled,availableCreateTools:,createGraphic:,creationMode,defaultCreateOptions:,defaultGraphicsLayerDisabled,defaultUpdateOptions:,hideCreateToolsCircle,hideCreateToolsPoint,hideCreateToolsPolygon,hideCreateToolsPolyline,hideCreateToolsRectangle,hideDeleteButton,hideDuplicateButton,hideLabelsToggle,hideSelectionCountLabel,hideSelectionToolsLassoSelection,hideSelectionToolsRectangleSelection,hideSettingsMenu,hideSnappingControls,hideSnappingControlsElementsEnabledToggle,hideSnappingControlsElementsFeatureEnabledToggle,hideSnappingControlsElementsLayerList,hideSnappingControlsElementsSelfEnabledToggle,hideTooltipsToggle,hideUndoRedoMenu,icon,label,labelOptions:,layer:,layout,pointSymbol:,polygonSymbol:,polylineSymbol:,position,referenceElement,scale,showSnappingControlsElementsHeader,snappingOptions:,state,toolbarKind,tooltipOptions:,updateGraphics:;cancel,complete,create,delete,destroy,duplicate,redo,triggerUpdate,undo"],
|
|
73
73
|
"arcgis-slice": [() => import("./components/arcgis-slice/customElement.js"), "analysis:,autoDestroyDisabled,excludedLayers:,excludeGroundSurface,headingLevel,icon,label,position,referenceElement,shape:,state,tiltEnabled;clear,destroy,start"],
|
|
74
74
|
"arcgis-slider": [() => import("./components/arcgis-slider/customElement.js"), "autoDestroyDisabled,draggableSegmentsEnabled,effectiveMax,effectiveMin,effectiveSegmentElements:,icon,label,labelElements:,labelInputsEnabled,labels:,layout,max,maxLabelElement:,min,minLabelElement:,position,precision,rangeLabelInputsEnabled,referenceElement,segmentElements:,snapOnClickEnabled,state,steps,syncedSegmentsEnabled,thumbElements:,thumbsConstrained,tickConfigs:,tickElements:,trackElement:,values;destroy"],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -378,7 +378,7 @@ interface LuminaArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchResu
|
|
|
378
378
|
onarcgisReady?: EventHandler<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
interface LuminaArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, h.JSX.HTMLAttributes<HTMLArcgisShadowCastElement> {
|
|
381
|
+
interface LuminaArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideThresholdContext' | 'hideThresholdContextColor' | 'hideThresholdContextTimeInterval' | 'hideThresholdContextToggle' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, h.JSX.HTMLAttributes<HTMLArcgisShadowCastElement> {
|
|
382
382
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisShadowCastElement["arcgisPropertyChange"]>;
|
|
383
383
|
onarcgisReady?: EventHandler<HTMLArcgisShadowCastElement["arcgisReady"]>;
|
|
384
384
|
}
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -379,7 +379,7 @@ interface PreactArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchResu
|
|
|
379
379
|
onarcgisReady?: EventHandler<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
-
interface PreactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, PreactJsx.HTMLAttributes<HTMLArcgisShadowCastElement> {
|
|
382
|
+
interface PreactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideThresholdContext' | 'hideThresholdContextColor' | 'hideThresholdContextTimeInterval' | 'hideThresholdContextToggle' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, PreactJsx.HTMLAttributes<HTMLArcgisShadowCastElement> {
|
|
383
383
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisShadowCastElement["arcgisPropertyChange"]>;
|
|
384
384
|
onarcgisReady?: EventHandler<HTMLArcgisShadowCastElement["arcgisReady"]>;
|
|
385
385
|
}
|
package/dist/types/react.d.ts
CHANGED
|
@@ -379,7 +379,7 @@ interface ReactArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchResul
|
|
|
379
379
|
onarcgisReady?: EventHandler<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
-
interface ReactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, HTMLProps<HTMLArcgisShadowCastElement> {
|
|
382
|
+
interface ReactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideThresholdContext' | 'hideThresholdContextColor' | 'hideThresholdContextTimeInterval' | 'hideThresholdContextToggle' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, HTMLProps<HTMLArcgisShadowCastElement> {
|
|
383
383
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisShadowCastElement["arcgisPropertyChange"]>;
|
|
384
384
|
onarcgisReady?: EventHandler<HTMLArcgisShadowCastElement["arcgisReady"]>;
|
|
385
385
|
}
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -379,7 +379,7 @@ interface StencilArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchRes
|
|
|
379
379
|
onArcgisReady?: EventHandler<HTMLArcgisSearchResultRendererElement["arcgisReady"]>;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
-
interface StencilArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, StencilJsx.HTMLAttributes<HTMLArcgisShadowCastElement> {
|
|
382
|
+
interface StencilArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, 'autoDestroyDisabled' | 'discreteOptions' | 'durationOptions' | 'endTimeOfDay' | 'headingLevel' | 'hideColorPicker' | 'hideDatePicker' | 'hideThresholdContext' | 'hideThresholdContextColor' | 'hideThresholdContextTimeInterval' | 'hideThresholdContextToggle' | 'hideTimeRangeSlider' | 'hideTimezone' | 'hideTooltip' | 'hideVisualizationOptions' | 'icon' | 'label' | 'position' | 'referenceElement' | 'startTimeOfDay' | 'thresholdOptions' | 'utcOffset' | 'visualizationType'>>, StencilJsx.HTMLAttributes<HTMLArcgisShadowCastElement> {
|
|
383
383
|
onArcgisPropertyChange?: EventHandler<HTMLArcgisShadowCastElement["arcgisPropertyChange"]>;
|
|
384
384
|
onArcgisReady?: EventHandler<HTMLArcgisShadowCastElement["arcgisReady"]>;
|
|
385
385
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "4.33.0-next.
|
|
3
|
+
"version": "4.33.0-next.118",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
],
|
|
42
42
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@arcgis/components-controllers": "4.33.0-next.
|
|
45
|
-
"@arcgis/components-utils": "4.33.0-next.
|
|
46
|
-
"@arcgis/lumina": "4.33.0-next.
|
|
47
|
-
"tslib": "^2.
|
|
44
|
+
"@arcgis/components-controllers": "4.33.0-next.118",
|
|
45
|
+
"@arcgis/components-utils": "4.33.0-next.118",
|
|
46
|
+
"@arcgis/lumina": "4.33.0-next.118",
|
|
47
|
+
"tslib": "^2.8.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@arcgis/core": ">=4.33.0-next <4.34",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.113 */
|
|
4
|
-
import{a as S}from"./BRRHFKKW.js";import{a as v,b as f}from"./VIHA3QH2.js";import"./S352QOLG.js";import{j as M}from"./BNDCYZDT.js";import{D as C,J as T,K as h,L as A,M as o,O as w,a as y,j as r}from"./ONQMSUPO.js";export default $arcgis.t(([{isLayerFromCatalog:x}])=>{var O={hideChildren:"hide-children"};function D({exclusive:n,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?n?"circle-f":i?"check-square-f":"view-visible":n?"circle":i?"square":"view-hide"}function R({connectionStatus:n,publishing:e}){return n?n==="connected"?"beacon":"offline":e?"square":"bullet-point"}function P(n){return n?.listMode===O.hideChildren}function k(n){let e=(n?.layer&&F(n.layer)?n.layer.layer:void 0)??n?.layer;return e?e.type==="catalog"?!1:U(e)??!0:!1}function F(n){return n!=null&&"layer"in n&&n.layer!=null}function U(n){let e=B(n);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function B(n){return n&&"capabilities"in n&&n.capabilities!=null&&"exportMap"in n.capabilities?n.capabilities.exportMap:void 0}function V(n){return n?.getAttribute("data-item")}function N(n){let{children:e,error:t}=n,i="incompatible"in n?n.incompatible:!1;return!!e?.filter(a=>!a.hidden).length&&!t&&!i}function G(n){for(let e of n)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function L(n,e){let t=n.parent,i=n.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let a=i.sourceJSON.layers;if(!a)return!1;let s=a.find(l=>n.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:a.find(l=>l.id===t.id)?.type==="Catalog Layer"}function E(n){if(n.icon)return n.icon;if(!("image"in n&&n.image)&&!n.className)return"question"}function q(n){return n?{backgroundImage:`url(${n})`}:{}}var I=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.parent=null,this.parentTitles=null,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,messages:0,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=S}static{this.shadowRootOptions=C}get _title(){let{messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:a}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(a.statusIndicator,{[a.publishing]:s},"updating"in a&&{[a.updating]:c},"connectionStatus"in a&&{[a.connectionStatus]:u},"connectionStatusConnected"in a&&{[a.connectionStatusConnected]:u&&l==="connected"}))} .icon=${R({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:a}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(x(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(a.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this.messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,messages:i,visibilityAppearance:a,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!a)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=D({visible:c,exclusive:l==="exclusive",visibilityAppearance:a}),d=a==="checkbox",g=i.layerVisibility;return r`<calcite-action appearance=transparent class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:a}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} appearance=transparent .disabled=${a} .icon=${E(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action appearance=transparent icon=ellipsis scale=s slot=trigger .text=${i} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",a=t?.type==="sublayer"&&L(t,"footprints");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",a=t?.type==="sublayer"&&L(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:a}=t,s=a?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action appearance=transparent .disabled=${!a.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:a,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&N(t),$=a?!1:P(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&k(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,messages:t,css:i}=this,{layer:a}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${a?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:G(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(M(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(V(e.target)!==t)return;let a=this._getParentVisibilityMode(i);this.selectionMode!=="none"||a==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:a,selectionMode:s,selectedItems:c,messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:a===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:a}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} appearance=transparent data-action-id=${i.id??o} .disabled=${c} .icon=${E(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(a?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${a} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let a="image"in e?e.image:void 0,s={[t.itemActionImage]:!!a};return a?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(q(a))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .messages=${this.messages} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};w("arcgis-layer-list-item",I);return I},"layers/catalog/catalogUtils")
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.113 */
|
|
4
|
-
import a from"./SLVAMXGX.js";import{e as g}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as d,J as p,K as e,M as r,O as z,a as i,i as l,j as u,z as h}from"./ONQMSUPO.js";export default $arcgis.t(([{ignoreAbortErrors:b},{when:O},{a:y,b:f}])=>{var a={base:"arcgis-zoom",horizontalLayout:"arcgis-zoom--horizontal",button:"esri-widget--button",zoomIn:"arcgis-zoom__zoom-in",zoomOut:"arcgis-zoom__zoom-out"};function x(t){if(t.type==="3d")return!!t.ready;if(!t?.ready)return!1;let o=w(t),s=t.constraints?.effectiveMaxScale;return s===0||o>s}function I(t){if(t.type==="3d")return!!t.ready;if(!t?.ready)return!1;let o=w(t),s=t.constraints?.effectiveMinScale;return s===0||o<s}function w(t){let o=t?.animation?.target;return(o&&"then"in o?void 0:o?.scale)??t?.scale??0}var Z=l`@layer{arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap;box-shadow:0 1px 2px #0000004d}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}}`,n=class extends p{constructor(){super(...arguments),this.messages=y({}),this.view=f(this),this.canZoomIn=!1,this.canZoomOut=!1,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.arcgisPropertyChange=g()("state"),this.arcgisReady=h()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:1,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:35}}static{this.shadowRootOptions=d}static{this.styles=Z}get state(){return this.view?.ready?"ready":"disabled"}async destroy(){await this.manager.destroy()}async zoomIn(){let{view:o}=this;!this.canZoomIn||!o||(o.type==="2d"?o.mapViewNavigation.zoomIn():b(o.goTo({zoomFactor:2})))}async zoomOut(){let{view:o}=this;!this.canZoomOut||!o||(o.type==="2d"?o.mapViewNavigation.zoomOut():b(o.goTo({zoomFactor:.5})))}loaded(){this.manager.onLifecycle(()=>O(()=>this.view?.stationary,()=>{this.canZoomIn=x(this.view),this.canZoomOut=I(this.view)},{initial:!0}))}render(){let o={[a.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:s,canZoomOut:v}=this,{zoomIn:c,zoomOut:m}=this.messages;return u`<div class=${e(i(a.base,o))}><calcite-button class=${e(i(a.button,a.zoomIn))} .disabled=${!s} icon-start=plus kind=neutral .label=${c} @click=${this.zoomIn} title=${c??r}></calcite-button><calcite-button class=${e(i(a.button,a.zoomOut))} .disabled=${!v} icon-start=minus kind=neutral .label=${m} @click=${this.zoomOut} title=${m??r}></calcite-button></div>`}};z("arcgis-zoom",n);return n},"core/promiseUtils","core/reactiveUtils",a)
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.113 */
|
|
4
|
-
import{a as u}from"./XDMRCMJI.js";import d from"./7BES3HZK.js";import c from"./SLVAMXGX.js";import{a as _}from"./DI7RDP6N.js";import a from"./6D6E7PDC.js";import{e as P}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as x,J as $,K as p,L as w,M as y,O as D,a as v,i as f,j as g,z as b}from"./ONQMSUPO.js";export default $arcgis.t(([L,,{a:C},M])=>{var H=f`@layer{arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none!important}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`,l="arcgis-swipe",n={base:l,baseDisabled:`${l}--disabled`,vertical:`${l}--vertical`,horizontal:`${l}--horizontal`,container:`${l}__container`,divider:`${l}__divider`,handle:`${l}__handle`,handleHidden:`${l}__handle--hidden`,handleIcon:`${l}__handle-icon`},O=M(L),m=class extends ${constructor(){super(...arguments),this._container=null,this._swiping=!1,this.messages=C({}),this._pointerOffset=0,this.viewModel=O(this),this._onContainerPointerDown=e=>{e.preventDefault();let{_container:i}=this;i&&document.activeElement!==this.el&&i.focus(),this._swiping=!0,this._calculatePointerOffset(e)},this.autoDestroyDisabled=!1,this.direction=this.viewModel.direction,this.disabled=!1,this.hideDivider=!1,this.hideHandle=!1,this.icon="compare",this.label=this.messages.componentLabel,this.leadingLayers=this.viewModel.leadingLayers,this.position="manual",this.swipePosition=this.viewModel.position,this.state=this.viewModel.state,this.trailingLayers=this.viewModel.trailingLayers,this.arcgisPropertyChange=P()("state"),this.arcgisReady=b()}static{this.properties={autoDestroyDisabled:5,direction:3,disabled:7,hideDivider:7,hideHandle:7,icon:1,label:1,leadingLayers:0,messageOverrides:0,position:3,swipePosition:9,referenceElement:1,state:3,trailingLayers:0}}static{this.shadowRootOptions=x}static{this.styles=H}async destroy(){await this.manager.destroy()}loaded(){this.listenOn(document,"pointermove",this._onContainerPointerMove),this.listenOn(document,"pointerup",this._onContainerPointerUp)}_calculatePointerOffset(e){let{direction:i}=this,t=e.target,r=(i==="vertical"?t.clientHeight:t.clientWidth)/2,a=t.getBoundingClientRect(),o=e.clientX-a.left,d=e.clientY-a.top;this._pointerOffset=i==="vertical"?d-r:o-r}_onContainerPointerUp(e){this._swiping&&(e.preventDefault(),this._swiping=!1)}_onContainerPointerMove(e){if(!this._swiping)return;e.preventDefault();let{_pointerOffset:i,el:t,direction:r}=this,{clientX:a,clientY:o}=e,{top:d,left:s,width:c,height:h}=t.getBoundingClientRect(),z=r==="vertical"?h:c,A=(r==="vertical"?o-d-i:a-s-i)/z*100;this.swipePosition=A}_getKeyPosition(e){let{key:i}=e,{swipePosition:t}=this,{max:r,min:a,step:o,stepMultiplier:d,direction:s}=this.viewModel,c=o*d;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].includes(i)&&(e.preventDefault(),e.stopPropagation()),s==="vertical"?i==="ArrowDown"||i==="ArrowRight":i==="ArrowUp"||i==="ArrowRight"){let h=e.shiftKey?c:o;return t+h}if(s==="vertical"?i==="ArrowUp"||i==="ArrowLeft":i==="ArrowDown"||i==="ArrowLeft"){let h=e.shiftKey?c:o;return t-h}return i==="Home"?a:i==="End"?r:(s==="vertical"?i==="PageDown":i==="PageUp")?t+c:(s==="vertical"?i==="PageUp":i==="PageDown")?t-c:null}_onContainerKeyDown(e){let i=this._getKeyPosition(e);typeof i=="number"&&(this.swipePosition=i)}render(){let{state:e,direction:i}=this.viewModel,t=e==="disabled"||this.disabled,r={[_.disabled]:t,[n.baseDisabled]:t,[n.vertical]:i==="vertical",[n.horizontal]:i==="horizontal"};return g`<div class=${p(v(n.base,_.widget,r))}>${e==="disabled"?null:this._renderContainer()}</div>`}_renderHandle(){let{direction:e}=this.viewModel,{hideHandle:i}=this,t={[u.dragHorizontal]:e==="vertical",[u.dragVertical]:e==="horizontal"},r=v(n.handle,!!i&&n.handleHidden);return g`<div class=${p(r)} role=presentation><span aria-hidden=true class=${p(v(n.handleIcon,t))}></span></div>`}_renderDivider(){return this.hideDivider?null:g`<div class=${p(n.divider)} role=presentation></div>`}_renderContent(){return[this._renderDivider(),this._renderHandle()]}_renderContainer(){let{disabled:e,viewModel:i}=this,{max:t,min:r,direction:a,position:o}=i,d=this.label??this.messages.dragLabel??"",s=`${o}%`,c={top:a==="vertical"?s:void 0,left:a==="vertical"?void 0:s},h=this._renderContent();return e?g`<div class=${p(n.container)} role=presentation style=${w(c)}>${h}</div>`:g`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${d} .ariaOrientation=${a} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${o}`} .ariaValueText=${s} class=${p(n.container)} @keydown=${this._onContainerKeyDown} role=slider style=${w(c)} tabindex=0 title=${d??y} touch-action=none>${h}</div>`}};D("arcgis-swipe",m);return m},"widgets/Swipe/SwipeViewModel",a,c,d)
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.113 */
|
|
4
|
-
import b from"./SLVAMXGX.js";import{a as n}from"./DI7RDP6N.js";import{e as d}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{J as o,K as l,M as u,O as m,a as i,i as a,j as s,z as c}from"./ONQMSUPO.js";export default $arcgis.t(([{a:f,b:p}])=>{var E=a`arcgis-fullscreen{display:block}`,b={base:"esri-fullscreen"},r=class extends o{constructor(){super(),this.messages=f(),this.view=p(this),this.position="top-left",this.arcgisPropertyChange=d()("state"),this.arcgisReady=c(),this.listenOn(document,"fullscreenchange",()=>this.fullscreenElement=document.fullscreenElement)}static{this.properties={fullscreenElement:16,element:0,label:1,messageOverrides:0,position:3,referenceElement:1,state:35}}static{this.styles=E}get fullscreenTitle(){let e=this.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}get state(){if(!document.fullscreenEnabled)return"unsupported";let e=this._getElement();return e?this.fullscreenElement===e?"active":"ready":"disabled"}connectedCallback(){super.connectedCallback(),this.fullscreenElement=document.fullscreenElement}_getElement(){return this.element??this.view?.container?.parentElement??null}_toggle(){document.fullscreenElement?document.exitFullscreen():this._getElement()?.requestFullscreen()}render(){let{fullscreenTitle:e,state:t}=this,h=t==="unsupported",g=t==="ready"||t==="disabled"||t==="unsupported"?"zoom-out-fixed":"zoom-in-fixed";return s`<div class=${l(i(b.base,n.widget))}>${!h&&s`<calcite-button class=${l(n.widgetButton)} .disabled=${t==="disabled"} .iconStart=${g} kind=neutral .label=${e} @click=${this._toggle} title=${e??u}></calcite-button>`||""}</div>`}};m("arcgis-fullscreen",r);return r},b)
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.113 */
|
|
4
|
-
import e from"./7BES3HZK.js";import b from"./SLVAMXGX.js";import{a as o}from"./DI7RDP6N.js";import a from"./6D6E7PDC.js";import{e as g}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as d,J as p,K as i,O as m,a as h,i as c,j as t,z as l}from"./ONQMSUPO.js";export default $arcgis.t(([u,,{a:w},v])=>{var f=c`@layer{:root{--panel-min-height--large: 240px;--side-spacing: var(--calcite-spacing-lg);--cap-spacing: var(--calcite-spacing-md)}.arcgis-print{display:flex;position:relative;flex-grow:1;padding:0;min-height:var(--panel-min-height--large)!important;overflow-y:auto}.arcgis-print section[aria-hidden=true]{display:none}.arcgis-print__panel-items--centered{display:flex;align-items:center}.arcgis-print__container{display:flex;flex-direction:column;flex-grow:1}.arcgis-print__header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.arcgis-print__panel--error{color:var(--calcite-color-status-danger)}arcgis-print-template-selector{overflow-y:hidden;display:flex}}`,s="arcgis-print",a={base:s,headerTitle:`${s}__header-title`,panelItemsCentered:`${s}__panel-items--centered`,printWidgetContainer:`${s}__container`,panelError:`${s}__panel--error`},_=v(u),n=class extends p{constructor(){super(...arguments),this.messages=w({blocking:!0}),this.viewModel=_(this),this._showTemplates=!1,this.error=this.viewModel.error,this.hideHeader=!1,this.position="top-left",this.icon="print",this.allowedFormats=this.viewModel.allowedFormats,this.allowedLayouts=this.viewModel.allowedLayouts,this.browseTemplateButtonOnClick=null,this.allowedFormatsForSaving=null,this.exportedLinks=this.viewModel.exportedLinks,this.extraParameters=this.viewModel.extraParameters,this.headingLevel=3,this.excludeDefaultTemplates=!this.viewModel.includeDefaultTemplates,this.excludeOrganizationTemplates=!1,this.outSpatialReference=this.viewModel.outSpatialReference,this.portal=this.viewModel.portal,this.showPrintAreaEnabled=this.viewModel.showPrintAreaEnabled,this.printServiceUrl=this.viewModel.printServiceUrl,this.saveAsButtonCallback=null,this.templateCustomTextElements=this.viewModel.templateCustomTextElements,this.templateOptions=this.viewModel.templateOptions,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=g()("state"),this.arcgisReady=l(),this.arcgisComplete=l(),this.arcgisSubmit=l()}static{this.properties={_showTemplates:16,error:16,hideHeader:5,referenceElement:1,position:3,icon:1,allowedFormats:1,allowedLayouts:1,browseTemplateButtonOnClick:0,allowedFormatsForSaving:1,exportedLinks:0,extraParameters:1,headingLevel:9,excludeDefaultTemplates:5,excludeOrganizationTemplates:5,outSpatialReference:0,portal:0,showPrintAreaEnabled:5,printServiceUrl:1,saveAsButtonCallback:0,templateCustomTextElements:0,templateOptions:0,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=f}static{this.shadowRootOptions=d}async destroy(){await this.manager.destroy(),this.viewModel.destroy()}loaded(){this.manager.onLifecycle(()=>[]),this.viewModel.load();let{height:e,width:r}=this.viewModel.templateOptions;this.viewModel.templateOptions.width=r||800,this.viewModel.templateOptions.height=e||1100}_showTemplateSelector(){this._showTemplates=!0}_hideTemplateSelector(){this._showTemplates=!1}render(){let e={[a.panelItemsCentered]:this.viewModel.state==="initializing"};return t`<div class=${i(h(a.base,o.widget,o.panel,e))}>${this._renderPanel()}</div>`}_renderPanel(){return this.viewModel.state==="initializing"?t`<calcite-loader label=loading scale=m></calcite-loader>`:t`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class=${i(a.printWidgetContainer)}>${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${e=>{e.preventDefault(),this._showTemplates=!1}}><arcgis-print-template-selector .messages=${this.messages} .viewModel=${this.viewModel} .browseTemplateButtonOnClick=${this.browseTemplateButtonOnClick} .hideTemplateSelector=${this._hideTemplateSelector.bind(this)} .excludeOrganizationTemplates=${this.excludeOrganizationTemplates}></arcgis-print-template-selector></calcite-flow-item></calcite-flow>`}_renderPanelHeader(){return this.hideHeader?null:t`<header class=${i(a.headerTitle)}>${this.messages.export}</header>`}_renderPanelContent(){let e=this.viewModel.view,r=e?.type!=="2d";return this.error||r?t`<div class=${i(a.panelError)}>${e?r?this.messages.sceneViewError:this.messages.serviceError:this.messages.noViewError}</div>`:t`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback} .arcgisComplete=${this.arcgisComplete} .arcgisSubmit=${this.arcgisSubmit}></arcgis-print-main-panel>`}};m("arcgis-print",n);return n},"widgets/Print/PrintViewModel",a,b,e)
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.113 */
|
|
4
|
-
import{a as g}from"./PYZN42J2.js";import{b as d}from"./VIHA3QH2.js";import c from"./7BES3HZK.js";import b from"./SLVAMXGX.js";import{a as x}from"./DI7RDP6N.js";import a from"./6D6E7PDC.js";import{e as C}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as S,J as M,K as l,M as f,O as $,a as m,i as _,j as r,n as v,z as w}from"./ONQMSUPO.js";export default $arcgis.t(([E,{isAbortError:A},{substitute:T},{watch:I},{d:a},{a:b},R])=>{var h="arcgis-search",u={base:h,autocomplete:`${h}__autocomplete`,dropdown:`${h}__dropdown`,container:`${h}__container`,form:`${h}__form`},N=_`@layer{arcgis-search{display:block}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:var(--arcgis-internal-search-width)}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}}`,D=R(E),p=class extends M{constructor(){super(...arguments),this.viewModel=D(this),this._currentLocationValue="search-use-current-location",this._searchResultRendererContainerEl=document.createElement("div"),this._suggestController=null,this._searchController=null,this._lastSearchTerm="",this.messages=b({}),this._setSearchResultRendererRef=e=>{this._searchResultRendererEl=e},this._locateFailed=!1,this._showNoResults=!1,this.position="top-left",this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigate=this.viewModel.autoNavigate,this.autoSelect=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSources=this.viewModel.includeDefaultSources,this.locationEnabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupEnabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicEnabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllEnabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsEnabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=C()("state"),this.arcgisReady=w(),this.arcgisSearchClear=a(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=a(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=a(()=>this.viewModel,"search-start"),this.arcgisSelectResult=a(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=a(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=a(()=>this.viewModel,"suggest-start"),this._renderSearchResultsContent=()=>this._searchResultRendererEl}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigate:5,autoSelect:5,defaultSources:0,disabled:5,includeDefaultSources:5,locationEnabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupEnabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicEnabled:5,results:0,searchAllEnabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsEnabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=N}static{this.shadowRootOptions=S}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return this.locationEnabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this._addSearchResultRenderer(),this.manager.onLifecycle(()=>I(()=>this.viewModel?.defaultPopupTemplate,e=>{e&&(e.content=this._renderSearchResultsContent)},{initial:!0}))}clear(){this._locateFailed=!1,this.viewModel.clear()}async search(e){this._cancelQueries();let t=new AbortController,{signal:s}=t;this._searchController=t;try{let i=await this.viewModel.search(e,{signal:s});return this._searchController!==t?void 0:(i?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=null,i)}catch{if(this._searchController!==t)return;this._searchController=null;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:s}=t;this._suggestController=t;try{let i=await this.viewModel.suggest(e,null,{signal:s});return this._suggestController!==t?void 0:(this._suggestController=null,i?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),i)}catch{return this._suggestController!==t||(this._suggestController=null),null}}_addSearchResultRenderer(){v(r`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel} ${d(this._setSearchResultRendererRef)}></arcgis-search-result-renderer>`,this._searchResultRendererContainerEl)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let s=JSON.parse(t),i=this.viewModel.suggestions?.find(({sourceIndex:o})=>o===s.sourceIndex)?.results?.find(({key:o})=>`${o}`==`${s.key}`);i&&this.search(i)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(s){A(s)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=null}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=g(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=g(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:s}=this.viewModel,i=s.at(e);return(e===-1?t.all:i?.name||t.untitledSource)||""}render(){return r`<div class=${l(m(u.base,x.widget))}><div class=${l(u.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:s}=this,{allSources:i,searchAllEnabled:o}=this.viewModel;return i.length>1?r`<calcite-dropdown class=${l(u.dropdown)} .disabled=${t} .open=${s==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o?this._renderSource(-1):null}${i.map((n,c)=>this._renderSource(c)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return r`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:s}=this,{maxInputLength:i,placeholder:o,searchTerm:n,state:c}=this.viewModel,y=this.label??t.searchButtonTitle??"";return r`<calcite-autocomplete .autocomplete=${"off"} class=${l(u.autocomplete)} .disabled=${s} .icon=${this.icon} .inputValue=${n} .label=${y} .loading=${c==="searching"} .maxLength=${i} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${o} title=${(n?"":o)??f} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${d(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return r`<form class=${l(u.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}</form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:s}=this.viewModel,{sourceIndex:i}=e,o=e.results?.length,n=t.length>1&&s===-1,c=this._getSourceName(i);return o&&n?r`<calcite-autocomplete-item-group .heading=${c}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:s}){let i={key:e,sourceIndex:t};return r`<calcite-autocomplete-item .heading=${s??this.messages.untitledResult??""} .value=${JSON.stringify(i)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return r`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,s=e?T(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return r`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${s}</div></calcite-notice>`}_renderLocateError(){return r`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};$("arcgis-search",p);return p},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",a,b,c)
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.113 */
|
|
4
|
-
import d from"./SLVAMXGX.js";import{a as m}from"./DI7RDP6N.js";import{c as v,e as x}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as _,J as g,K as a,M as c,O as u,a as r,i as b,j as s,z as p}from"./ONQMSUPO.js";export default $arcgis.t(([{when:z,watch:D},{a:$,b:f}])=>{var w=b`@layer{.arcgis-time-zone-label{display:inline-flex;background-color:var(--calcite-color-foreground-1)}.arcgis-time-zone-label__badge{display:flex;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.arcgis-time-zone-label__badge--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__badge--hidden{display:none}.arcgis-time-zone-label__badge-icon{align-self:center}.arcgis-time-zone-label__name{--calcite-color-background: transparent;--calcite-color-border-input: transparent;--calcite-font-weight-medium: normal;pointer-events:none}.arcgis-time-zone-label__name--hidden{display:none}.arcgis-time-zone-label__label{--calcite-label-margin-bottom: 0;align-items:center;padding-inline:var(--calcite-spacing-sm)}.arcgis-time-zone-label__label--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__label--hidden{display:none}}`,i="esri-time-zone-label",t={base:i,badge:`${i}__badge`,badgeDisabled:`${i}__badge--disabled`,badgeHidden:`${i}__badge--hidden`,badgeIcon:`${i}__badge-icon`,expander:`${i}__expander`,label:`${i}__label`,labelDisabled:`${i}__label--disabled`,labelHidden:`${i}__label--hidden`,name:`${i}__name`,nameHidden:`${i}__name--hidden`},h=class extends g{constructor(){super(...arguments),this._messages=$({blocking:!0}),this._onExpanderClick=()=>{this.expanded=!this.expanded},this.view=f(this),this._direction=v(),this._expandDirection=null,this._timeZone=null,this.state="disabled",this.position="top-left",this.disabled=!1,this.expanded=!1,this.icon="time-zone",this.arcgisPropertyChange=x()("state"),this.arcgisReady=p()}static{this.properties={_interactive:16,_direction:16,_expandDirection:16,_timeZone:16,state:3,referenceElement:1,position:3,disabled:7,expandDirection:3,expanded:7,icon:3,messageOverrides:0,label:1}}static{this.styles=w}static{this.shadowRootOptions=_}get _interactive(){return!(this.disabled||this.state==="disabled")}get expandDirection(){return this._expandDirection??this._computeExpandDirection()}set expandDirection(e){this._expandDirection=e}loaded(){this.state=this.view?.ready?"ready":"disabled",this.manager.onLifecycle(()=>[z(()=>this.view?.ready,e=>{this.state=e?"ready":"disabled"}),D(()=>this.view?.timeZone,e=>{this._timeZone=e})])}_computeExpandDirection(){if(!this.referenceElement)return"end";switch(this.position){case"top-right":case"bottom-right":case"top-trailing":case"bottom-trailing":return this._direction==="ltr"?"start":"end";case"top-left":case"bottom-left":case"top-leading":case"bottom-leading":return this._direction==="ltr"?"end":"start";default:return"end"}}_getIcon(){let{expanded:e,expandDirection:n}=this;return e?this._direction==="rtl"?n==="start"?"chevrons-left":"chevrons-right":n==="start"?"chevrons-right":"chevrons-left":"time-zone"}render(){let e=r(t.base,m.widget,!this._interactive&&m.disabled),n=this._renderExpander(),l=this._renderName(),d=this._renderBadge(),o=[n,l,d];return this.expandDirection==="start"&&o.reverse(),s`<div aria-label=${this.label??c} class=${a(e)}>${o}</div>`}_renderExpander(){let e=this._getIcon();return s`<calcite-action class=${a(t.expander)} .disabled=${!this._interactive} .icon=${e} @click=${this._onExpanderClick} scale=s .text=${this.label??""} title=${this.label??""??c}></calcite-action>`}_renderBadge(){return s`<div class=${a(r(t.badge,!this.expanded&&t.badgeHidden,!this._interactive&&t.badgeDisabled))}><calcite-icon class=${a(t.badgeIcon)} icon=time-zone scale=s></calcite-icon></div>`}_renderName(){let e="system",n="unknown",l=this._timeZone===e||this._timeZone==null?Intl.DateTimeFormat().resolvedOptions().timeZone:this._timeZone,d=this._timeZone===n,o=s`<calcite-label class=${a(r(t.label,(!this.expanded||!d)&&t.labelHidden,!this._interactive&&t.labelDisabled))}>${this._messages.noAdjustment}</calcite-label>`,y=s`<calcite-input-time-zone class=${a(r(t.name,(!this.expanded||!l||d)&&t.nameHidden))} .disabled=${!this._interactive} mode=region read-only .value=${l}></calcite-input-time-zone>`;return[o,y]}};u("arcgis-time-zone-label",h);return h},"core/reactiveUtils",d)
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.113 */
|
|
4
|
-
import{b as C}from"./VIHA3QH2.js";import i from"./7BES3HZK.js";import h from"./SLVAMXGX.js";import{a as d}from"./DI7RDP6N.js";import e from"./6D6E7PDC.js";import{e as $}from"./TCV34WIR.js";import"./MXKENIC7.js";import{i as f}from"./BNDCYZDT.js";import{D as g,J as b,K as a,L as v,M as c,O as _,d as u,i as p,j as o,z as m}from"./ONQMSUPO.js";export default $arcgis.t(([{watch:y},M,,{a:w},R])=>{var x=[-45,0,45,-90,90,-135,180,135],S={0:{label:"north",iconName:"chevron-up"},45:{label:"northEast",iconName:"chevron-up-right"},90:{label:"east",iconName:"chevron-right"},135:{label:"southEast",iconName:"chevron-down-right"},180:{label:"south",iconName:"chevron-down"},"-135":{label:"southWest",iconName:"chevron-down-left"},"-90":{label:"west",iconName:"chevron-left"},"-45":{label:"northWest",iconName:"chevron-up-left"}},n="arcgis-directional-pad",s={base:n,buttonsContainer:`${n}__buttons-container`,button:`${n}__button`,compassButton:`${n}__compass`,rotationContainer:`${n}__rotation-container`,rotationSliderContainer:`${n}__rotation-slider-container`,rotationReset:`${n}__rotation-reset-button`,error:`${n}__error`},B=p`@layer{.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);outline:none;box-shadow:none!important;background:transparent;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}}`;function E(r){let{x:t,y:e,width:i,height:l}=r.getBoundingClientRect();return{x:t+i/2,y:e+l/2}}function D(r){return r?.spatialReference?.isWebMercator||r?.spatialReference?.isGeographic||!1}var k=R(M),h=class extends b{constructor(){super(...arguments),this.messages=w({}),this._onContextMenu=t=>t.preventDefault(),this._buttons={},this.viewModel=k(this),this.angle=this.viewModel.angle,this.rotation=this.viewModel.rotation,this.autoDestroyDisabled=!1,this.disabled=this.viewModel.disabled,this.hideDirectionalButtons=!1,this.icon="move",this.position="bottom-left",this.showRotationResetButton=!1,this.showRotationSlider=!1,this.state=this.viewModel.state,this.visualScale="s",this.arcgisPropertyChange=$()("state"),this.arcgisReady=m()}static{this.properties={_rotationEnabled:16,angle:16,rotation:16,autoDestroyDisabled:5,disabled:5,hideDirectionalButtons:5,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,showRotationResetButton:5,showRotationSlider:5,state:3,visualScale:1}}static{this.shadowRootOptions=g}static{this.styles=B}get _rotationEnabled(){return this.view?.ready?this.view.constraints.rotationEnabled??!1:!0}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[y(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?f(this)?.focus():u(this._buttons[this.viewModel.angle]))})])}_rotateIcon(t){return{"--rotation":`rotate(${t}deg)`}}_setButtonContainerRef(t){t!==void 0?(this._buttonsContainer=t,queueMicrotask(()=>{this._buttons=Object.fromEntries(Array.from(t.children,e=>[Number.parseInt(e.getAttribute("data-angle")??""),e]))})):(this._buttonsContainer=void 0,this._buttons={})}_onButtonPointerDown(t){if(this._buttonsContainer===void 0)return;t.composedPath().find(i=>i.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);let e=E(this._buttonsContainer);this.viewModel.beginFollowingPointer(t,e)}_onSliderInput({currentTarget:t}){typeof t.value=="number"&&(this.viewModel.rotation=t.value)}_onRotationReset(){this.viewModel.rotation=0}_onClick(t){this.viewModel.moveOnce(t)}render(){let{label:t,disabled:e}=this,i=this.view==null||this.view.type==="2d";return o`<div .ariaLabel=${t??void 0} class=${a({[s.base]:!0,[d.widget]:!0,[d.disabled]:e})} tabindex=-1>${i?this._renderContent():this._renderUnsupportedMessage()}</div>`}_renderUnsupportedMessage(){return o`<section class=${a(s.error)}><p>${this.messages.unsupported}</p></section>`}_renderContent(){return[this.hideDirectionalButtons?void 0:this._renderDirectionalButtons(),this.showRotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return o`<calcite-action-pad expand-disabled layout=grid><calcite-action-group class=${a(s.buttonsContainer)} dir=ltr @contextmenu=${{handleEvent:this._onContextMenu,capture:!0}} ${C(this._setButtonContainerRef)}>${x.slice(0,4).map(this._renderButton,this)}${this._renderCompass()}${x.slice(4).map(this._renderButton,this)}</calcite-action-group></calcite-action-pad>`}_renderButton(t){let{label:e,iconName:i}=S[t],l=this.messages[e];return o`<calcite-action .active=${this.angle===t} alignment=center class=${a(s.button)} data-angle=${t??c} .disabled=${this.disabled} @click=${this._onClick.bind(this,t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${l??""} title=${l??c}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderCompass(){let t=this.disabled||D(this.view)?"compass-needle":"arrow-up",e=this.rotation===0,i=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.compassButton)} .disabled=${this.disabled||!this._rotationEnabled||e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${v(this._rotateIcon(this.rotation))} .text=${i??""} title=${i??c}>${!e&&o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>`||""}</calcite-action>`}_renderRotation(){return o`<calcite-action-pad expand-disabled layout=horizontal><calcite-action-group class=${a(s.rotationContainer)}>${this.showRotationResetButton?this._renderRotationResetButton():null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-pad>`}_renderRotationResetButton(){let t=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.rotationReset)} .disabled=${this.disabled||!this._rotationEnabled} @click=${this._onRotationReset} .scale=${this.visualScale} .text=${t??""} title=${t??c}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderRotationSlider(){return o`<div class=${a(s.rotationSliderContainer)}><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled||!this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`}};_("arcgis-directional-pad",h);return h},"core/reactiveUtils","widgets/DirectionalPad/DirectionalPadViewModel",e,h,i)
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.113 */
|
|
4
|
-
import{b as R}from"./VIHA3QH2.js";import e from"./7BES3HZK.js";import b from"./SLVAMXGX.js";import{a as v}from"./DI7RDP6N.js";import a from"./6D6E7PDC.js";import"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as y,J as g,K as r,L as _,O as w,a as d,j as c,z as C}from"./ONQMSUPO.js";export default $arcgis.t(([{getDefaultUnitForView:U},{watch:D},{formatNumber:S},x,,{a:L},B])=>{function M($=0,e=0){return{x:$,y:e}}var a="esri-scale-bar",t={base:a,labelContainer:`${a}__label-container`,rulerLabelContainer:`${a}__label-container--ruler`,lineLabelContainer:`${a}__label-container--line`,topLabelContainer:`${a}__label-container--top`,bottomLabelContainer:`${a}__label-container--bottom`,label:`${a}__label`,line:`${a}__line`,topLine:`${a}__line--top`,bottomLine:`${a}__line--bottom`,ruler:`${a}__ruler`,rulerBlock:`${a}__ruler-block`,barContainer:`${a}__bar-container`,rulerBarContainer:`${a}__bar-container--ruler`,lineBarContainer:`${a}__bar-container--line`},O=B(x),f=class extends g{constructor(){super(...arguments),this._defaultUnit="metric",this.messages=L(),this._scaleComputedFrom=M(),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=C()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=y}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this.manager.onLifecycle(()=>D(()=>{let e=this.viewModel.view;return{defaultUnit:e?U(e):void 0,stationary:e?.stationary,center:e?.center,scale:e?.scale,zoom:e?.zoom}},({defaultUnit:e,stationary:i})=>{this._defaultUnit=e??"metric",i&&this.requestUpdate()}))}_handleContainerRef(e){e!==void 0&&this._handleRootCreateOrUpdate()}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,i=this.el.getBoundingClientRect(),s=i.left+window.pageXOffset,l=i.top+window.pageYOffset,o=M(s,l);(o.x!==e.x||o.y!==e.y)&&(this._scaleComputedFrom=o)}_formatDistance(e,i){return S(e,{style:"unit",unit:i,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",i={[v.disabled]:e},s,l;if(!e){let{unit:o,barStyle:u}=this,b=o==="imperial"||o==="dual",p=o==="metric"||o==="dual",m=100,h=o==="dual"?"line":u;if(b){let n=this.viewModel.getScaleBarProperties(m,"imperial");n&&(l=h==="ruler"?this._renderRuler(n):this._renderLine(n,"bottom"))}if(p){let n=this.viewModel.getScaleBarProperties(m,"metric");n&&(s=h==="ruler"?this._renderRuler(n):this._renderLine(n,"top"))}}return c`<div class=${r(d(t.base,v.widget,i))} ${R(this._handleContainerRef)}>${s}${l}</div>`}_renderRuler(e){let{length:i,unit:s,value:l}=e,o=Math.round(i),u=this._formatDistance(l,s);return c`<div class=${r(d(t.barContainer,t.rulerBarContainer))}><div class=${r(t.ruler)} style=${_({width:`${o}px`})}><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div></div><div class=${r(d(t.labelContainer,t.rulerLabelContainer))}><div class=${r(t.label)}>0</div><div class=${r(t.label)}>${u}</div></div></div>`}_renderLine(e,i){let{length:s,unit:l,value:o}=e,u=Math.round(s),b=this._formatDistance(o,l),p={[t.topLabelContainer]:i==="top",[t.bottomLabelContainer]:i==="bottom"},m=c`<div class=${r(d(t.labelContainer,t.lineLabelContainer,p))}><div class=${r(t.label)}>${b}</div></div>`,h={[t.topLine]:i==="top",[t.bottomLine]:i==="bottom"},n=c`<div class=${r(d(t.line,h))} style=${_({width:`${u}px`})}></div>`;return c`<div class=${r(d(t.barContainer,t.lineBarContainer))}>${[n,m]}</div>`}};w("arcgis-scale-bar",f);return f},"applications/Components/getDefaultUnits","core/reactiveUtils","intl","widgets/ScaleBar/ScaleBarViewModel",a,b,e)
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.113 */
|
|
4
|
-
import{a as S}from"./DU2GGA4Q.js";import"./S352QOLG.js";import d from"./7BES3HZK.js";import c from"./SLVAMXGX.js";import{a as w}from"./DI7RDP6N.js";import b from"./6D6E7PDC.js";import{e as O}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as $,J as C,K as u,L as M,M as y,O as x,a as v,i as _,j as a,z as f}from"./ONQMSUPO.js";export default $arcgis.t(([{watch:W},j,{property:h,subclass:A},E,k,L,H,D,,{a:T},B])=>{var c="arcgis-weather",d={base:c,content:`${c}__content`,hasError:`${c}__content--has-error`,selector:`${c}__selector`,options:`${c}__options`,optionsHidden:`${c}__options--hidden`,error:`${c}__error`,warning:`${c}__warning`},P=_`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);align-items:center;font-size:var(--calcite-font-size-sm);calcite-icon{color:var(--calcite-color-status-warning)}}}`,z=Object.defineProperty,F=Object.getOwnPropertyDescriptor,o=(t,e,i,s)=>{for(var r=s>1?void 0:s?F(e,i):e,p=t.length-1,l;p>=0;p--)(l=t[p])&&(r=(s?l(e,i,r):l(r))||r);return s&&r&&z(e,i,r),r},I={sunny:D,cloudy:E,rainy:L,snowy:H,foggy:k},R=Object.keys(I),n=class extends j{constructor(t){super(t),this.view=null,this._settingWeather=!1,this._weatherByType={sunny:new D,cloudy:new E,rainy:new L,snowy:new H,foggy:new k}}initialize(){this.addHandles([W(()=>this.current,t=>{this._settingWeather||t==null||(this._weatherByType={...this._weatherByType,[t.type]:t})},{sync:!0,initial:!0})])}get state(){if(!this.view?.ready)return"disabled";if(this.error!=null)switch(this.error){case"not-visible":return"ready";default:return"error"}return"ready"}get disabled(){return this.state==="disabled"}get weatherByType(){return this._weatherByType}get error(){let t=this.view;return t?.ready?t.type!=="3d"?"unsupported-view":t.viewingMode==="local"?"local-scene":t.environment.atmosphereEnabled?t.environment.weatherAvailable?null:"not-visible":"no-atmosphere":null}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(t){let e=this._environment;e&&(e.weather=t)}get _environment(){let t=this.view;return t!=null&&t.type==="3d"?t.environment:null}setWeatherByType(t){if(!R.includes(t)){console.warn(`arcgis-weather - "${t}" is not a valid weather type`);return}let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[t],this._settingWeather=!1)}setSnowCoverEnabled(t){let e=this.current;"snowCover"in e&&(e.snowCover=t?"enabled":"disabled")}};o([h()],n.prototype,"view",2);o([h()],n.prototype,"state",1);o([h()],n.prototype,"disabled",1);o([h()],n.prototype,"weatherByType",1);o([h()],n.prototype,"error",1);o([h()],n.prototype,"current",1);o([h()],n.prototype,"_weatherByType",2);o([h()],n.prototype,"_environment",1);n=o([A("components.weather.WeatherViewModel")],n);function g({label:t,value:e,disabled:i,onChange:s}){let r=p=>{let l=p.currentTarget.value;s?.(l)};return a`<calcite-label scale=s>${t}<calcite-slider aria-label=${t??y} .disabled=${i} style=${M({marginInline:"-7px",marginBottom:"-7px"})} max=1 min=0 step=0.01 .value=${e??0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`}var V=B(n),U={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},m=class extends C{constructor(){super(...arguments),this.viewModel=V(this),this.messages=T(),this.autoDestroyDisabled=!1,this.headingLevel=4,this.hideHeader=!1,this.icon="partly-cloudy",this.label=this.messages.componentLabel,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=O()("state"),this.arcgisReady=f()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=$}static{this.styles=P}async destroy(){await this.manager.destroy()}load(){this.manager.onLifecycle(()=>[W(()=>this._renderContent(),()=>this.requestUpdate())])}_getWarningMessage(){switch(this.viewModel.error){case"not-visible":{let{view:e}=this.viewModel;return e?.type==="3d"&&e.environment.atmosphereEnabled?this.messages.error?.notVisible:void 0}default:return}}_getErrorMessage(){let e=this.messages.error;if(e)switch(this.viewModel.error){case"local-scene":return e.localScene;case"no-atmosphere":return e.noAtmosphere;case"unsupported-view":return e.unsupported;default:return}}render(){return a`<div aria-label=${this.messages.componentLabelAccessible??y} class=${u(v(d.base,w.widget,this.viewModel.disabled&&w.widgetDisabled))} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:i,viewModel:s}=this,r=this._getWarningMessage(),p=s.current,l=s.state==="error";return a`${this.hideHeader?void 0:S({level:e,children:i.componentLabel})}${l?a`<div class=${u(d.error)}>${this._getErrorMessage()}</div>`:void 0}<div class=${u(v({[d.content]:!0,[d.hasError]:l}))}><div aria-label=${i.weatherType??y} class=${u(d.selector)} role=radiogroup>${R.map(this._renderWeatherTypeButton,this)}</div>${Object.values(s.weatherByType).map(b=>a`<div class=${u(v({[d.options]:!0,[d.optionsHidden]:b.type!==p?.type}))}>${this._renderOptions(b)}</div>`)}${r?this._renderWarning(r):void 0}</div>`}_renderWeatherTypeButton(e){let i=this.messages[e]?.label??"",{disabled:s}=this.viewModel,r=!s&&this.viewModel.current.type===e;return a`<calcite-button .appearance=${r?"solid":"outline"} aria-checked=${r?"true":"false"} .disabled=${s} .iconStart=${U[e]} .kind=${r?"brand":"neutral"} .label=${i} @click=${()=>{r||this.viewModel.setWeatherByType(e)}} scale=l title=${i??y}></calcite-button>`}_renderOptions(e){switch(e.type){case"sunny":return this._renderSunnyOptions(e);case"cloudy":return this._renderCloudyOptions(e);case"rainy":return this._renderRainyOptions(e);case"snowy":return this._renderSnowyOptions(e);case"foggy":return this._renderFoggyOptions(e)}}_renderSunnyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.sunny?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderCloudyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.cloudy?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderRainyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.rainy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}`}_renderSnowyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.snowy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}<calcite-label layout=inline scale=s title=${s?.snowCoverTooltip??y}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${i} @calciteCheckboxChange=${r=>{this.viewModel.setSnowCoverEnabled(r.currentTarget.checked)}}></calcite-checkbox>${s?.snowCover}</calcite-label>`}_renderFoggyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.foggy?.fogStrength,value:e.fogStrength,onChange:i=>{e.fogStrength=i}})}_renderWarning(e){return a`<div class=${u(d.warning)}><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon>${e}</div>`}};x("arcgis-weather",m);return m},"core/reactiveUtils","core/Accessor","core/accessorSupport/decorators","views/3d/environment/CloudyWeather","views/3d/environment/FoggyWeather","views/3d/environment/RainyWeather","views/3d/environment/SnowyWeather","views/3d/environment/SunnyWeather",b,c,d)
|