@arcgis/map-components 6.0.0-next.26 → 6.0.0-next.28
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/cdn/{Q2ZQOGM2.js → 25PLRKZK.js} +1 -1
- package/dist/cdn/27VBOPFN.js +2 -0
- package/dist/cdn/{74WM2EIB.js → 2AMSAAH4.js} +1 -1
- package/dist/cdn/{A5IFDSOU.js → 2GV5JA27.js} +1 -1
- package/dist/cdn/{6K4IASNK.js → 2JXK3AW7.js} +1 -1
- package/dist/cdn/2NMV3XLT.js +2 -0
- package/dist/cdn/2RTEHAVG.js +2 -0
- package/dist/cdn/{GZ6UBR6R.js → 3NUN6DK3.js} +1 -1
- package/dist/cdn/3P44HZ3K.js +2 -0
- package/dist/cdn/3RSMD7RR.js +2 -0
- package/dist/cdn/3XHI22WD.js +2 -0
- package/dist/cdn/{FMLDKHWP.js → 3Y6GBQLR.js} +1 -1
- package/dist/cdn/4CBB6BPG.js +2 -0
- package/dist/cdn/{EZHYSI6R.js → 4HCQOJIM.js} +1 -1
- package/dist/cdn/4ZAEHJPD.js +2 -0
- package/dist/cdn/5B22465P.js +2 -0
- package/dist/cdn/5OABHJND.js +2 -0
- package/dist/cdn/5XMKJYT6.js +2 -0
- package/dist/cdn/{4DPAOAMZ.js → 6NSO42OW.js} +1 -1
- package/dist/cdn/6TXZMHLZ.js +2 -0
- package/dist/cdn/6Y36YFPN.js +2 -0
- package/dist/cdn/7BU454HH.js +2 -0
- package/dist/cdn/{Y7IM3OFU.js → 7HBOZBSC.js} +1 -1
- package/dist/cdn/{2YXWKKNB.js → 7ID5HLPS.js} +1 -1
- package/dist/cdn/7RO6N4XQ.js +2 -0
- package/dist/cdn/AGXUHDNS.js +2 -0
- package/dist/cdn/ARLGT35P.js +2 -0
- package/dist/cdn/BBKQM2GF.js +2 -0
- package/dist/cdn/BZXGVKKW.js +2 -0
- package/dist/cdn/{VWUH2VUY.js → C53YBNQ4.js} +1 -1
- package/dist/cdn/{2UAH624K.js → C74S3MND.js} +1 -1
- package/dist/cdn/CNXH745H.js +2 -0
- package/dist/cdn/{DFZ22GLY.js → COC7IS2Z.js} +1 -1
- package/dist/cdn/{FZGMIIBX.js → CPWIRCCP.js} +1 -1
- package/dist/cdn/D6UG734Y.js +2 -0
- package/dist/cdn/DF2MPD7N.js +2 -0
- package/dist/cdn/DGE5KKLM.js +2 -0
- package/dist/cdn/DU2IPXWR.js +2 -0
- package/dist/cdn/DXTK47ES.js +2 -0
- package/dist/cdn/DXXGERVD.js +2 -0
- package/dist/cdn/{FH6Q5A5L.js → ETD3FAGO.js} +1 -1
- package/dist/cdn/F2YSSNVY.js +2 -0
- package/dist/cdn/FUNBSU6V.js +2 -0
- package/dist/cdn/G6L4BDEL.js +2 -0
- package/dist/cdn/GBMEEEGZ.js +2 -0
- package/dist/cdn/HGEK42FO.js +2 -0
- package/dist/cdn/HSBDELT3.js +2 -0
- package/dist/cdn/HTYTZ7GK.js +2 -0
- package/dist/cdn/{7U2V3LDM.js → I5F7MVDT.js} +1 -1
- package/dist/cdn/IIX2OICP.js +2 -0
- package/dist/cdn/{2SQGIY7T.js → IUYW4QOS.js} +1 -1
- package/dist/cdn/{QQLN6RWA.js → IYMK2NGU.js} +1 -1
- package/dist/cdn/IZYFQNW2.js +2 -0
- package/dist/cdn/J4FR5WZG.js +2 -0
- package/dist/cdn/J4K4UZ37.js +2 -0
- package/dist/cdn/{4FFEPX2D.js → JJXJPZUK.js} +1 -1
- package/dist/cdn/JNNI75UW.js +2 -0
- package/dist/cdn/JWHVCBA3.js +2 -0
- package/dist/cdn/KWIZ45T7.js +2 -0
- package/dist/cdn/{VW35MSDL.js → L3MJ5NAZ.js} +1 -1
- package/dist/cdn/LC2ZSIJY.js +2 -0
- package/dist/cdn/LFA3XEWF.js +2 -0
- package/dist/cdn/LNTE4FDB.js +2 -0
- package/dist/cdn/LXTP2MVM.js +2 -0
- package/dist/cdn/M4GAOTVS.js +2 -0
- package/dist/cdn/M7ENWEKN.js +2 -0
- package/dist/cdn/NEPTDMLE.js +2 -0
- package/dist/cdn/NQXXIEV2.js +2 -0
- package/dist/cdn/NRFCVOMM.js +2 -0
- package/dist/cdn/{NLG5U5ZN.js → NVPN3I72.js} +1 -1
- package/dist/cdn/O2LMVVKS.js +2 -0
- package/dist/cdn/{FGU7NUST.js → O6KVILZF.js} +1 -1
- package/dist/cdn/O7OKLWBW.js +2 -0
- package/dist/cdn/OKAGFDAM.js +2 -0
- package/dist/cdn/ORKCIBIY.js +2 -0
- package/dist/cdn/{WU4NDBMC.js → P5U37XIA.js} +1 -1
- package/dist/cdn/{55VX76T5.js → PD4ELTMF.js} +1 -1
- package/dist/cdn/PD7SLPIK.js +2 -0
- package/dist/cdn/PLDTM6JH.js +2 -0
- package/dist/cdn/PMXSSYFB.js +2 -0
- package/dist/cdn/PSTG4I4W.js +2 -0
- package/dist/cdn/PYCFYJ6M.js +2 -0
- package/dist/cdn/{Q2GYNZYQ.js → Q6A6EI6P.js} +1 -1
- package/dist/cdn/{47CFYOUT.js → Q7CJUHNT.js} +1 -1
- package/dist/cdn/{NTT5IV4A.js → QVD4YHTQ.js} +1 -1
- package/dist/cdn/{XTCYIS4Z.js → R2FI35AK.js} +1 -1
- package/dist/cdn/R6X3R7P2.js +2 -0
- package/dist/cdn/RAADOJWX.js +2 -0
- package/dist/cdn/RVXA65TI.js +2 -0
- package/dist/cdn/SI6RI664.js +2 -0
- package/dist/cdn/{7EKBNXGL.js → SOIBQ3FH.js} +1 -1
- package/dist/cdn/SOLTOPI3.js +2 -0
- package/dist/cdn/SSB4SQXA.js +2 -0
- package/dist/cdn/{YTZZRJ7Z.js → T4DVKA6R.js} +1 -1
- package/dist/cdn/TEDWUEQ4.js +2 -0
- package/dist/cdn/TEPHXOQ2.js +2 -0
- package/dist/cdn/TI7UH6FZ.js +2 -0
- package/dist/cdn/TLAJ3GMX.js +2 -0
- package/dist/cdn/ULOXCWFO.js +2 -0
- package/dist/cdn/UTJTCZCF.js +2 -0
- package/dist/cdn/UXMKSIYL.js +2 -0
- package/dist/cdn/UYJB3OR4.js +2 -0
- package/dist/cdn/UZ4VANCL.js +2 -0
- package/dist/cdn/VHLDFKDS.js +2 -0
- package/dist/cdn/VPREN7P6.js +2 -0
- package/dist/cdn/VTDB4D2K.js +2 -0
- package/dist/cdn/{UJURQACP.js → VXPGE37T.js} +1 -1
- package/dist/cdn/{SJGWHUCR.js → VXXXOGU7.js} +1 -1
- package/dist/cdn/W73JDM22.js +2 -0
- package/dist/cdn/{RFO3M46K.js → WEMTOBBB.js} +1 -1
- package/dist/cdn/WGLTX4YP.js +2 -0
- package/dist/cdn/WKRW6DI5.js +2 -0
- package/dist/cdn/WPXCX7TX.js +2 -0
- package/dist/cdn/WYYUFJHO.js +2 -0
- package/dist/cdn/X2M3ZYHO.js +2 -0
- package/dist/cdn/XCDMOCWN.js +2 -0
- package/dist/cdn/XLYOZSWI.js +2 -0
- package/dist/cdn/XQBN6SO5.js +2 -0
- package/dist/cdn/{GKNGEZCO.js → XVZ74ZME.js} +1 -1
- package/dist/cdn/YBTMO6HU.js +2 -0
- package/dist/cdn/YFX2STSS.js +2 -0
- package/dist/cdn/{2Z36ICJZ.js → YME6EWHF.js} +1 -1
- package/dist/cdn/{62OAO327.js → Z42YLJMZ.js} +1 -1
- package/dist/cdn/{AKGUTL2V.js → Z46QEYSO.js} +1 -1
- package/dist/cdn/Z6ZEF6NC.js +2 -0
- package/dist/cdn/ZAW644CF.js +2 -0
- package/dist/cdn/ZCI6T4IU.js +2 -0
- package/dist/cdn/{XKGD4N75.js → ZEQHIKTN.js} +1 -1
- package/dist/cdn/ZMP3REWL.js +2 -0
- package/dist/cdn/ZP2VJX3N.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/layer-list-next.js +1 -1
- package/dist/chunks/print-exports-panel-item-popover.js +1 -1
- package/dist/chunks/screenLocation.js +10 -10
- package/dist/chunks/slots.js +6 -6
- package/dist/chunks/useArcgisViewReadyError.js +46 -46
- package/dist/components/arcgis-area-measurement-2d/customElement.js +4 -4
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +3 -3
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +15 -15
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
- package/dist/components/arcgis-building-phase-picker/customElement.js +16 -16
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +9 -9
- package/dist/components/arcgis-daylight/customElement.d.ts +4 -4
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +4 -4
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +53 -58
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +4 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +19 -2
- package/dist/components/arcgis-editor/customElement.js +7 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +10 -10
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +4 -4
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +5 -5
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +7 -7
- package/dist/components/arcgis-expand/customElement.d.ts +49 -2
- package/dist/components/arcgis-expand/customElement.js +47 -47
- package/dist/components/arcgis-exploratory-analysis/customElement.js +7 -7
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +4 -4
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +17 -17
- package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +11 -11
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-next/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +25 -25
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +5 -5
- package/dist/components/arcgis-features/customElement.js +8 -8
- package/dist/components/arcgis-features-next/customElement.d.ts +4 -4
- package/dist/components/arcgis-features-next/customElement.js +28 -27
- package/dist/components/arcgis-floor-filter/customElement.js +38 -38
- package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +6 -6
- package/dist/components/arcgis-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +14 -6
- package/dist/components/arcgis-map/customElement.d.ts +21 -17
- package/dist/components/arcgis-measurement-content/customElement.js +9 -9
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
- package/dist/components/arcgis-paste/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +8 -7
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
- package/dist/components/arcgis-presentation/customElement.js +1 -1
- package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +8 -8
- 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 +5 -5
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-out-spatial-reference-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 +8 -8
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +42 -13
- package/dist/components/arcgis-search/customElement.d.ts +4 -4
- package/dist/components/arcgis-selection-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-selection-list/customElement.js +9 -9
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +14 -6
- package/dist/components/arcgis-selection-toolbar/customElement.js +23 -17
- package/dist/components/arcgis-shadow-cast/customElement.js +45 -45
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +20 -2
- package/dist/components/arcgis-sketch/customElement.js +144 -142
- package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- package/dist/components/arcgis-slice/customElement.js +16 -16
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-table-list-next/customElement.js +1 -1
- package/dist/components/arcgis-time-bar/customElement.js +1 -1
- package/dist/components/arcgis-time-bar-settings/customElement.js +25 -25
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +11 -14
- package/dist/components/arcgis-time-bar-slider/customElement.js +17 -17
- package/dist/components/arcgis-time-slider/customElement.d.ts +6 -5
- package/dist/components/arcgis-time-slider/customElement.js +4 -4
- package/dist/components/arcgis-time-zone-chip/customElement.js +4 -4
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-selector/customElement.js +5 -5
- package/dist/components/arcgis-track/customElement.d.ts +4 -4
- package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-picker/customElement.d.ts +170 -6
- package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +5 -4
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +26 -22
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +1 -7
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +10 -10
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +25 -33
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +5 -4
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +50 -46
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +10 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +13 -13
- package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +2 -4
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +13 -13
- package/dist/components/arcgis-utility-network-trace-results-pane/customElement.d.ts +0 -2
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +9 -1
- package/dist/components/arcgis-video-player/customElement.js +6 -6
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/slider-legacy/types.d.ts +2 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +7 -7
- package/dist/cdn/22RLIDCP.js +0 -2
- package/dist/cdn/2PLAZVGP.js +0 -2
- package/dist/cdn/2RQGZLOJ.js +0 -2
- package/dist/cdn/2S6RQ6Q4.js +0 -2
- package/dist/cdn/3EXEL7AM.js +0 -2
- package/dist/cdn/3W7KESW7.js +0 -2
- package/dist/cdn/4N4XDCDQ.js +0 -2
- package/dist/cdn/4NG7CALI.js +0 -2
- package/dist/cdn/4PDZTEB2.js +0 -2
- package/dist/cdn/5DEJDR4W.js +0 -2
- package/dist/cdn/5PPYHS6V.js +0 -2
- package/dist/cdn/5V6BNJ5O.js +0 -2
- package/dist/cdn/5V6K43GW.js +0 -2
- package/dist/cdn/66GRDX36.js +0 -2
- package/dist/cdn/6DRXFSTW.js +0 -2
- package/dist/cdn/6G5QADEG.js +0 -2
- package/dist/cdn/6GE2WBKV.js +0 -2
- package/dist/cdn/6QWLMG5M.js +0 -2
- package/dist/cdn/6T4BDMND.js +0 -2
- package/dist/cdn/6VV5SX76.js +0 -2
- package/dist/cdn/74PUSJU5.js +0 -2
- package/dist/cdn/7JK4JGPG.js +0 -2
- package/dist/cdn/APFZ2FVO.js +0 -2
- package/dist/cdn/BJI5DVB5.js +0 -2
- package/dist/cdn/BM3FQ4OG.js +0 -2
- package/dist/cdn/CGE6E3O3.js +0 -2
- package/dist/cdn/CVLOQWUD.js +0 -2
- package/dist/cdn/CXXBV6RJ.js +0 -2
- package/dist/cdn/DEW5IWND.js +0 -2
- package/dist/cdn/E5CGORXN.js +0 -2
- package/dist/cdn/E5X5BYWA.js +0 -2
- package/dist/cdn/EB4V6SPF.js +0 -2
- package/dist/cdn/ECUVJOIW.js +0 -2
- package/dist/cdn/G2ACNJGG.js +0 -2
- package/dist/cdn/GIQT67VT.js +0 -2
- package/dist/cdn/H66E4VOY.js +0 -2
- package/dist/cdn/HADZXZIE.js +0 -2
- package/dist/cdn/HL6WL2YA.js +0 -2
- package/dist/cdn/HTCPPGCR.js +0 -2
- package/dist/cdn/HTONXZBP.js +0 -2
- package/dist/cdn/HUWIY53T.js +0 -2
- package/dist/cdn/IOUO7KBT.js +0 -2
- package/dist/cdn/JRO4IBJP.js +0 -2
- package/dist/cdn/JUOOKKZJ.js +0 -2
- package/dist/cdn/KE2ER3F7.js +0 -2
- package/dist/cdn/KIHYSYOL.js +0 -2
- package/dist/cdn/L4WLEN3C.js +0 -2
- package/dist/cdn/LHYI2QBZ.js +0 -2
- package/dist/cdn/LILX2DJE.js +0 -2
- package/dist/cdn/MDS3NVWM.js +0 -2
- package/dist/cdn/MW27GSDX.js +0 -2
- package/dist/cdn/NZQLQGTQ.js +0 -2
- package/dist/cdn/O46PVNMT.js +0 -2
- package/dist/cdn/ONYCZO7Y.js +0 -2
- package/dist/cdn/ORVSAF3Z.js +0 -2
- package/dist/cdn/OZF64H7N.js +0 -2
- package/dist/cdn/P65FMRMP.js +0 -2
- package/dist/cdn/PPGKQRNY.js +0 -2
- package/dist/cdn/PRUHLC54.js +0 -2
- package/dist/cdn/PW3QCZXY.js +0 -2
- package/dist/cdn/PXDX3LCI.js +0 -2
- package/dist/cdn/QET5SVDO.js +0 -2
- package/dist/cdn/QUPDTNAC.js +0 -2
- package/dist/cdn/R6ARQKAY.js +0 -2
- package/dist/cdn/RBRDUDEY.js +0 -2
- package/dist/cdn/RQPOCDJS.js +0 -2
- package/dist/cdn/RT53VCER.js +0 -2
- package/dist/cdn/T3MDSQ3T.js +0 -2
- package/dist/cdn/TKD5T5DW.js +0 -2
- package/dist/cdn/TTERKXN5.js +0 -2
- package/dist/cdn/UB6BQW3G.js +0 -2
- package/dist/cdn/UFDB6U6V.js +0 -2
- package/dist/cdn/UKIVMO7H.js +0 -2
- package/dist/cdn/UR3Z5YHW.js +0 -2
- package/dist/cdn/VM5QVCMC.js +0 -2
- package/dist/cdn/VPDDFGYQ.js +0 -2
- package/dist/cdn/W4GNRGIN.js +0 -2
- package/dist/cdn/WG5PHRPT.js +0 -2
- package/dist/cdn/WW7YOPDY.js +0 -2
- package/dist/cdn/XN3MG6YU.js +0 -2
- package/dist/cdn/XWBR6FXI.js +0 -2
- package/dist/cdn/Y5ZZCA3R.js +0 -2
- package/dist/cdn/Y6NC7ML3.js +0 -2
- package/dist/cdn/Y7XSHXVA.js +0 -2
- package/dist/cdn/YBSEIOQX.js +0 -2
- package/dist/cdn/YC7VLNKI.js +0 -2
- package/dist/cdn/YITBBUPR.js +0 -2
- package/dist/cdn/YJROHURO.js +0 -2
- package/dist/cdn/YXIJXXTK.js +0 -2
- package/dist/cdn/Z3674FMT.js +0 -2
- package/dist/cdn/Z6NHKWWS.js +0 -2
- package/dist/cdn/ZKKZQVJT.js +0 -2
- /package/dist/cdn/{ROHGHCK6.js → WFTJ4E4F.js} +0 -0
|
@@ -5,7 +5,7 @@ import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
5
5
|
import { LitElement as r } from "@arcgis/lumina";
|
|
6
6
|
import { g as n, a as m, b as p } from "../../chunks/utils4.js";
|
|
7
7
|
import { useDirection as d } from "@arcgis/lumina/controllers";
|
|
8
|
-
const h = o`.template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.template-select-container .template-select-error,.template-select-container .template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-
|
|
8
|
+
const h = o`.template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.template-select-container .template-select-error,.template-select-container .template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-space-md)}`;
|
|
9
9
|
class g extends r {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments), this._direction = d(), this._templateState = "not-loaded";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as m } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as p, html as l } from "lit";
|
|
4
|
-
import { watch as
|
|
4
|
+
import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
5
|
import { LitElement as u, nothing as h } from "@arcgis/lumina";
|
|
6
|
-
import { i as o, r as
|
|
7
|
-
const w = p`:host{overflow-y:hidden;display:flex;flex:1 0}.template-select-flow-item-container{display:flex;flex-direction:column;justify-content:space-between;overflow-y:hidden;flex-grow:1}.template-select-flow-item-container .template-select-flow-item-content{display:flex;flex-direction:column;overflow-y:auto;flex:1 0}.template-select-flow-item-container .template-select-flow-item-content .template-select-flow-item-list-heading{display:flex;gap:var(--calcite-
|
|
6
|
+
import { i as o, r as v, a as g, g as f, b as T } from "../../chunks/utils4.js";
|
|
7
|
+
const w = p`:host{overflow-y:hidden;display:flex;flex:1 0}.template-select-flow-item-container{display:flex;flex-direction:column;justify-content:space-between;overflow-y:hidden;flex-grow:1}.template-select-flow-item-container .template-select-flow-item-content{display:flex;flex-direction:column;overflow-y:auto;flex:1 0}.template-select-flow-item-container .template-select-flow-item-content .template-select-flow-item-list-heading{display:flex;gap:var(--calcite-space-xs);align-items:center;justify-content:space-between;padding:var(--calcite-space-md) var(--calcite-space-lg);background-color:var(--calcite-color-surface-3);border-bottom:1px solid var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-semibold)}.template-button-container{padding:var(--calcite-space-md)}.template-done-button{width:100%}`;
|
|
8
8
|
class $ extends u {
|
|
9
9
|
static {
|
|
10
10
|
this.properties = { _selectedTemplate: 16, excludeOrganizationTemplates: 5, viewModel: 0, messages: 0, hideTemplateSelector: 0 };
|
|
@@ -15,8 +15,8 @@ class $ extends u {
|
|
|
15
15
|
loaded() {
|
|
16
16
|
this.manager.onLifecycle(() => {
|
|
17
17
|
let e;
|
|
18
|
-
const i =
|
|
19
|
-
e?.remove(), this._selectedTemplate = t ? this.viewModel.getLayoutTemplateById(t) ?? void 0 : void 0, e =
|
|
18
|
+
const i = n(() => this.viewModel.templateOptions.id, (t) => {
|
|
19
|
+
e?.remove(), this._selectedTemplate = t ? this.viewModel.getLayoutTemplateById(t) ?? void 0 : void 0, e = n(() => this._selectedTemplate?.state, () => this.requestUpdate(), { initial: !0 });
|
|
20
20
|
}, { initial: !0 });
|
|
21
21
|
return () => {
|
|
22
22
|
i.remove(), e?.remove();
|
|
@@ -33,11 +33,11 @@ class $ extends u {
|
|
|
33
33
|
return !this.viewModel.includeDefaultTemplates || !this._getDefaultTemplates().length ? this.viewModel.printServiceTemplates.toArray().filter(({ layout: e }) => !o(e)) : [];
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
const { messages: e } = this, i =
|
|
37
|
-
return l`<div class="template-select-flow-item-container"><div class="template-select-flow-item-content"><slot></slot><calcite-list .filterEnabled=${r} .filterProps=${["label"]} .label=${e.templateList} selection-mode=single-persist @calciteListChange=${({ currentTarget: d }) => this.viewModel.applyTemplate(d.selectedItems[0]?.value)}>${t.length ? l`<div><div class="template-select-flow-item-list-heading">${e.myTemplates}${i ? l`<calcite-chip icon=credits appearance=outline kind=neutral .label=${e.consumesCredits} scale=s>${e.consumesCredits}</calcite-chip>` : null}</div>${this._renderLayoutTemplates(t, !0)}</div>` : null}${a.length ? l`<div><div class="template-select-flow-item-list-heading">${e.organizationTemplates}${i ? l`<calcite-chip icon=credits appearance=outline kind=neutral .label=${e.consumesCredits} scale=s>${e.consumesCredits}</calcite-chip>` : null}</div>${this._renderLayoutTemplates(a)}</div>` : null}${t.length || a.length ? s.length ? l`<div><div class="template-select-flow-item-list-heading">${e.defaultTemplates}</div>${this._renderLayoutTemplates(s)}</div>` : null : this._renderLayoutTemplates(s)}${t.length || a.length ?
|
|
36
|
+
const { messages: e } = this, i = v.test(this.viewModel.portal?.url), t = this.viewModel.browseTemplates.toArray(), a = this._getPortalTemplates(), s = this._getDefaultTemplates(), c = this._getPrintServiceTemplates(), r = t.length + a.length + s.length + c.length > 15;
|
|
37
|
+
return l`<div class="template-select-flow-item-container"><div class="template-select-flow-item-content"><slot></slot><calcite-list .filterEnabled=${r} .filterProps=${["label"]} .label=${e.templateList} selection-mode=single-persist @calciteListChange=${({ currentTarget: d }) => this.viewModel.applyTemplate(d.selectedItems[0]?.value)}>${t.length ? l`<div><div class="template-select-flow-item-list-heading">${e.myTemplates}${i ? l`<calcite-chip icon=credits appearance=outline kind=neutral .label=${e.consumesCredits} scale=s>${e.consumesCredits}</calcite-chip>` : null}</div>${this._renderLayoutTemplates(t, !0)}</div>` : null}${a.length ? l`<div><div class="template-select-flow-item-list-heading">${e.organizationTemplates}${i ? l`<calcite-chip icon=credits appearance=outline kind=neutral .label=${e.consumesCredits} scale=s>${e.consumesCredits}</calcite-chip>` : null}</div>${this._renderLayoutTemplates(a)}</div>` : null}${t.length || a.length ? s.length ? l`<div><div class="template-select-flow-item-list-heading">${e.defaultTemplates}</div>${this._renderLayoutTemplates(s)}</div>` : null : this._renderLayoutTemplates(s)}${t.length || a.length ? c.length ? l`<div><div class="template-select-flow-item-list-heading">${e.defaultTemplates}</div>${this._renderLayoutTemplates(c)}</div>` : null : this._renderLayoutTemplates(c)}</calcite-list></div><div class="template-button-container"><calcite-button class="template-done-button" @click=${this.hideTemplateSelector}>Done</calcite-button></div></div>`;
|
|
38
38
|
}
|
|
39
39
|
_renderLayoutTemplates(e, i = !1) {
|
|
40
|
-
return e.map((t) => l`<calcite-list-item .description=${
|
|
40
|
+
return e.map((t) => l`<calcite-list-item .description=${g(t)} .label=${f(t, this.messages)} .selected=${t.id === this.viewModel.templateOptions.id} title=${t.description ?? "" ?? h} .value=${t}><calcite-icon .icon=${(t.layout ? T(t.layout) : null) || "custom-print"} slot=content-start></calcite-icon>${t.state === "loading" ? l`<calcite-loader inline label=loading scale=s slot=content-end></calcite-loader>` : null}${t?.state === "error" ? l`<calcite-icon class="template-select-error" icon=exclamation-mark-circle scale=s slot=content-end></calcite-icon>` : null}${i ? l`<calcite-action icon=trash @click=${() => this.viewModel.removePortalTemplate(t)} slot=actions-end text=delete></calcite-action>` : null}</calcite-list-item>`);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
m("arcgis-print-template-selector", $);
|
|
@@ -9,7 +9,7 @@ import { locationToAddress as R } from "@arcgis/core/rest/locator.js";
|
|
|
9
9
|
import { substitute as x } from "@arcgis/core/intl.js";
|
|
10
10
|
import { u as w } from "../../chunks/useT9n.js";
|
|
11
11
|
import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
|
|
12
|
-
const L = g`calcite-notice{padding:var(--calcite-space-lg)}calcite-block{padding-inline-end:var(--calcite-
|
|
12
|
+
const L = g`calcite-notice{padding:var(--calcite-space-lg)}calcite-block{padding-inline-end:var(--calcite-space-2xs)}calcite-block[expanded]{margin:0}`;
|
|
13
13
|
class G extends y {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments), this.messages = w(), this._abortController = null, this._location = null, this._results = null, this.headingLevel = 3, this.portal = v.getDefault(), this.autoDestroyDisabled = !1, this.hideCoordinates = !1, this.arcgisReverseGeocodeResultsChange = h(), this.arcgisReverseGeocodeCopy = h();
|
|
@@ -53,6 +53,14 @@ export interface DeclareCssProperties {
|
|
|
53
53
|
"--arcgis-layout-overlay-space-left": "*";
|
|
54
54
|
/** _Since 4.34_ Specifies the right padding for the layout. */
|
|
55
55
|
"--arcgis-layout-overlay-space-right": "*";
|
|
56
|
+
/** _Since 6.0_ Specifies the flex direction for the top-left corner slots. Defaults to `column`. */
|
|
57
|
+
"--arcgis-view-top-left-direction": "*";
|
|
58
|
+
/** _Since 6.0_ Specifies the flex direction for the top-right corner slots. Defaults to `column`. */
|
|
59
|
+
"--arcgis-view-top-right-direction": "*";
|
|
60
|
+
/** _Since 6.0_ Specifies the flex direction for the bottom-left corner slots. Defaults to `row` in LTR and `row-reverse` in RTL. */
|
|
61
|
+
"--arcgis-view-bottom-left-direction": "*";
|
|
62
|
+
/** _Since 6.0_ Specifies the flex direction for the bottom-right corner slots. Defaults to `row-reverse` in LTR and `row` in RTL. */
|
|
63
|
+
"--arcgis-view-bottom-right-direction": "*";
|
|
56
64
|
/** _Since 5.0_ Specifies the focus outline color for the view. */
|
|
57
65
|
"--arcgis-view-color-focus": "*";
|
|
58
66
|
/** _Since 5.1_ Specifies the background color for table rows. */
|
|
@@ -625,7 +633,7 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
625
633
|
* };
|
|
626
634
|
*
|
|
627
635
|
* // Add the options to the highlights collection at the first position
|
|
628
|
-
* view.highlights.add(
|
|
636
|
+
* view.highlights.add(selectionHighlightOptions, 0);
|
|
629
637
|
*/
|
|
630
638
|
accessor highlights: Collection<HighlightOptions>;
|
|
631
639
|
/**
|
|
@@ -863,13 +871,13 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
863
871
|
*/
|
|
864
872
|
accessor spatialReference: SpatialReference;
|
|
865
873
|
/**
|
|
866
|
-
* Indicates whether the view is animating, being navigated
|
|
874
|
+
* Indicates whether the view is stationary, meaning it is not animating, being navigated, or resizing.
|
|
867
875
|
*
|
|
868
876
|
* @default false
|
|
869
877
|
*/
|
|
870
878
|
get stationary(): boolean;
|
|
871
879
|
/**
|
|
872
|
-
* Indicates
|
|
880
|
+
* Indicates whether rendering in the view is suspended.
|
|
873
881
|
*
|
|
874
882
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#suspended)
|
|
875
883
|
*
|
|
@@ -908,13 +916,13 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
908
916
|
* }
|
|
909
917
|
* });
|
|
910
918
|
*
|
|
911
|
-
* // Create a
|
|
919
|
+
* // Create a scene view showing sales for the last week of March 2019 only.
|
|
912
920
|
* const view = new SceneView({
|
|
913
921
|
* map: map,
|
|
914
922
|
* container: "viewDiv",
|
|
915
923
|
* timeExtent: {
|
|
916
|
-
* start: new Date(
|
|
917
|
-
* end: new Date(
|
|
924
|
+
* start: new Date(2019, 2, 24),
|
|
925
|
+
* end: new Date(2019, 2, 31)
|
|
918
926
|
* }
|
|
919
927
|
* });
|
|
920
928
|
*/
|
|
@@ -982,6 +990,30 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
982
990
|
* the view, see this component's [goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) method.
|
|
983
991
|
*
|
|
984
992
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#viewpoint)
|
|
993
|
+
*
|
|
994
|
+
* @example
|
|
995
|
+
* ```js
|
|
996
|
+
* // Set the initial viewpoint toward the Empire State Building in New York City
|
|
997
|
+
* const viewElement = document.querySelector("arcgis-scene");
|
|
998
|
+
* viewElement.viewpoint = new Viewpoint({
|
|
999
|
+
* camera: new Camera({
|
|
1000
|
+
* position: {
|
|
1001
|
+
* longitude: -73.9857,
|
|
1002
|
+
* latitude: 40.7444,
|
|
1003
|
+
* z: 500,
|
|
1004
|
+
* },
|
|
1005
|
+
* heading: 0,
|
|
1006
|
+
* tilt: 60,
|
|
1007
|
+
* }),
|
|
1008
|
+
* });
|
|
1009
|
+
* ```
|
|
1010
|
+
* @example
|
|
1011
|
+
* ```js
|
|
1012
|
+
* // Get the initial viewpoint of the view once the view is ready
|
|
1013
|
+
* const viewElement = document.querySelector("arcgis-scene");
|
|
1014
|
+
* await viewElement.viewOnReady();
|
|
1015
|
+
* const initialViewpoint = viewElement.viewpoint.clone();
|
|
1016
|
+
* ```
|
|
985
1017
|
*/
|
|
986
1018
|
accessor viewpoint: Viewpoint;
|
|
987
1019
|
/**
|
|
@@ -1193,8 +1225,8 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
1193
1225
|
*/
|
|
1194
1226
|
readonly arcgisViewAnalysisViewDestroy: import("@arcgis/lumina").TargetedEvent<this, AnalysisViewDestroyEvent>;
|
|
1195
1227
|
/**
|
|
1196
|
-
*
|
|
1197
|
-
*
|
|
1228
|
+
* Fires when the view's [stationary](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#stationary) property changes, including when navigation
|
|
1229
|
+
* starts or stops. It also fires when the component loads.
|
|
1198
1230
|
*
|
|
1199
1231
|
* > The `arcgisViewChange` event may be emitted before the view is fully ready.
|
|
1200
1232
|
* > This means the event can fire before the component's `stationary` property is `true` or before the view has completed its initial setup.
|
|
@@ -1299,7 +1331,7 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
1299
1331
|
*/
|
|
1300
1332
|
readonly arcgisViewKeyUp: import("@arcgis/lumina").TargetedEvent<this, KeyUpEvent>;
|
|
1301
1333
|
/**
|
|
1302
|
-
* Fires after
|
|
1334
|
+
* Fires after a LayerView is created for a layer in the map.
|
|
1303
1335
|
*
|
|
1304
1336
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#event-layerview-create)
|
|
1305
1337
|
*/
|
|
@@ -1352,10 +1384,7 @@ export abstract class ArcgisScene extends LitElement {
|
|
|
1352
1384
|
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/#event-pointer-up)
|
|
1353
1385
|
*/
|
|
1354
1386
|
readonly arcgisViewPointerUp: import("@arcgis/lumina").TargetedEvent<this, PointerUpEvent>;
|
|
1355
|
-
/**
|
|
1356
|
-
* This event is for the [ready](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#ready) property and will be emitted when the view is ready.
|
|
1357
|
-
* This event will also emit if the [map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#map) property is changed.
|
|
1358
|
-
*/
|
|
1387
|
+
/** Fires when the [ready](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#ready) property changes, or when the component loads if the view is already ready. */
|
|
1359
1388
|
readonly arcgisViewReadyChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1360
1389
|
/**
|
|
1361
1390
|
* Fires if the view encounters a content or rendering error.
|
|
@@ -287,7 +287,7 @@ export abstract class ArcgisSearch extends LitElement {
|
|
|
287
287
|
*/
|
|
288
288
|
accessor popupTemplate: PopupTemplate | null | undefined;
|
|
289
289
|
/**
|
|
290
|
-
* It is possible to search a specified portal instance's [locator services](https://doc.esri.com/en/arcgis-enterprise/latest/administer/configure-portal-to-geocode-addresses.html)
|
|
290
|
+
* It is possible to search a specified portal instance's [locator services](https://doc.esri.com/en/arcgis-enterprise/latest/administer/configure-portal-to-geocode-addresses.html).
|
|
291
291
|
* Use this property to set this [ArcGIS Portal](https://enterprise.arcgis.com/en/portal/) instance to search.
|
|
292
292
|
*
|
|
293
293
|
* @since 4.8
|
|
@@ -319,13 +319,13 @@ export abstract class ArcgisSearch extends LitElement {
|
|
|
319
319
|
/** An array of objects, each containing a [SearchResult](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/types/#SearchResult) from the search. */
|
|
320
320
|
get results(): Array<SearchResults> | null | undefined;
|
|
321
321
|
/**
|
|
322
|
-
* By default, the "All" option is displayed
|
|
322
|
+
* By default, the "All" option is displayed to search all sources:
|
|
323
323
|
*
|
|
324
|
-
* 
|
|
325
325
|
*
|
|
326
326
|
* When `true`, no option to search all sources at once is available:
|
|
327
327
|
*
|
|
328
|
-
* 
|
|
329
329
|
*
|
|
330
330
|
* @default false
|
|
331
331
|
*/
|
|
@@ -178,7 +178,7 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
178
178
|
*/
|
|
179
179
|
accessor hideZoomToButton: boolean;
|
|
180
180
|
/**
|
|
181
|
-
* Property controlling whether corresponding features on the view should be highlighted when
|
|
181
|
+
* Property controlling whether corresponding features on the view should not be highlighted when
|
|
182
182
|
* hovering over the associated list item. Only applies to list items representing individual features.
|
|
183
183
|
*
|
|
184
184
|
* @default false
|
|
@@ -333,7 +333,7 @@ export abstract class ArcgisSelectionList extends LitElement {
|
|
|
333
333
|
*/
|
|
334
334
|
get visibleFeatureCount(): number;
|
|
335
335
|
/**
|
|
336
|
-
*
|
|
336
|
+
* Visible [feature items](https://developers.arcgis.com/javascript/latest/references/core/widgets/support/SelectionList/FeatureItem/) in the list, accounting for [maxVisibleFeatureCountPerLayer](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-selection-list/#maxVisibleFeatureCountPerLayer).
|
|
337
337
|
* Excludes [feature items](https://developers.arcgis.com/javascript/latest/references/core/widgets/support/SelectionList/FeatureItem/) hidden by the filter.
|
|
338
338
|
*
|
|
339
339
|
* @since 5.2
|
|
@@ -4,7 +4,7 @@ import { css as y, html as a } from "lit";
|
|
|
4
4
|
import { keyed as o } from "lit/directives/keyed.js";
|
|
5
5
|
import { ref as w } from "lit/directives/ref.js";
|
|
6
6
|
import { substitute as u, formatNumber as p } from "@arcgis/core/intl.js";
|
|
7
|
-
import { isFeatureItem as
|
|
7
|
+
import { isFeatureItem as g, isLayerItem as v, isGroupLayerItem as b } from "@arcgis/core/widgets/support/SelectionList/selectionListUtils.js";
|
|
8
8
|
import C from "@arcgis/core/widgets/support/SelectionList/SelectionListViewModel.js";
|
|
9
9
|
import { LitElement as x, createEvent as $, nothing as h, safeClassMap as c } from "@arcgis/lumina";
|
|
10
10
|
import { usePropertyChange as F } from "@arcgis/lumina/controllers";
|
|
@@ -20,7 +20,7 @@ const r = {
|
|
|
20
20
|
itemCount: "item-count",
|
|
21
21
|
notice: "notice",
|
|
22
22
|
panel: "panel"
|
|
23
|
-
}, S = y`:host{width:100%;display:flex;height:100%;flex:1 1 0;>*{align-items:center;align-self:center;width:100%;height:100%}}.root{display:flex;flex-direction:column}calcite-flow{height:100%;width:100%}.container,.flow-item,.panel{display:flex}.flow-item{overflow:auto}.flow-item[scale=s] .container{gap:var(--calcite-
|
|
23
|
+
}, S = y`:host{width:100%;display:flex;height:100%;flex:1 1 0;>*{align-items:center;align-self:center;width:100%;height:100%}}.root{display:flex;flex-direction:column}calcite-flow{height:100%;width:100%}.container,.flow-item,.panel{display:flex}.flow-item{overflow:auto}.flow-item[scale=s] .container{gap:var(--calcite-space-sm);padding:var(--calcite-space-sm) 0}.flow-item[scale=m] .container{gap:var(--calcite-space-md);padding:var(--calcite-space-md) 0}.flow-item[scale=l] .container{gap:var(--calcite-space-lg);padding:var(--calcite-space-lg) 0}.container{flex-direction:column;background-color:var(--calcite-color-foreground-1)}.container>*{background-color:var(--calcite-color-foreground-1)}.container>*[scale=s]{padding:0 var(--calcite-space-sm) 0 var(--calcite-space-sm);font-size:var(--calcite-font-size-sm)}.container>*[scale=m]{padding:0 var(--calcite-space-md) 0 var(--calcite-space-md);font-size:var(--calcite-font-size-md)}.container>*[scale=l]{padding:0 var(--calcite-space-lg) 0 var(--calcite-space-lg);font-size:var(--calcite-font-size-lg)}.icon{display:flex;align-items:center;justify-content:center;min-width:var(--calcite-space-2xl);height:var(--calcite-space-2xl)}.icon span{line-height:0}.feature-icon .icon{margin-inline-start:calc(var(--calcite-space-lg) * -1)}calcite-chip{align-self:center;margin-inline:var(--calcite-space-2xs);line-height:initial}.item-count{display:flex;gap:.5em;align-items:center}`, T = L(C);
|
|
24
24
|
class k extends x {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments), this.viewModel = T(this), this.messages = M(), this.#i = !1, this.#t = /* @__PURE__ */ new WeakSet(), this.#e = null, this.autoDestroyDisabled = !1, this.icon = "selection", this.view = this.viewModel.view, this.displayMode = "group", this.filterText = this.viewModel.filterText, this.hideChip = !1, this.hideChipCloseButton = !1, this.hideFilter = !1, this.hideFilterNotice = !1, this.hideHeader = !1, this.hideItemCloseActions = !1, this.hideItemCount = !1, this.hideItemIcons = !1, this.hideItemMenus = !1, this.hideLayerFilter = !1, this.hideMenu = !1, this.hideZoomToButton = !1, this.highlightOnHoverDisabled = !1, this.layer = this.viewModel.layer, this.maxVisibleFeatureCountPerLayer = this.viewModel.maxVisibleFeatureCountPerLayer, this.menuScale = "m", this.selectionManager = this.viewModel.selectionManager, this.visualScale = "s", this.arcgisClear = $(), this.arcgisPropertyChange = F()("state"), this.arcgisReady = $();
|
|
@@ -130,7 +130,7 @@ class k extends x {
|
|
|
130
130
|
l.appendChild(n.thumbnail);
|
|
131
131
|
return;
|
|
132
132
|
}
|
|
133
|
-
n.fetchThumbnail({ ariaLabel: m }).then((
|
|
133
|
+
n.fetchThumbnail({ ariaLabel: m }).then((f) => f && l.appendChild(f)).catch(() => this.#t.delete(l));
|
|
134
134
|
});
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -139,7 +139,7 @@ class k extends x {
|
|
|
139
139
|
}
|
|
140
140
|
_isDropdownItemVisible(e, t) {
|
|
141
141
|
const { hidden: s, type: i } = t;
|
|
142
|
-
return (typeof s == "function" ? s({ item: e }) : s) ? !1 : !!(!i || i === "feature" &&
|
|
142
|
+
return (typeof s == "function" ? s({ item: e }) : s) ? !1 : !!(!i || i === "feature" && g(e) || i === "layer" && v(e) || i === "group" && b(e));
|
|
143
143
|
}
|
|
144
144
|
_handleClearSelection() {
|
|
145
145
|
this.clear(), this.arcgisClear.emit();
|
|
@@ -229,7 +229,7 @@ class k extends x {
|
|
|
229
229
|
#a(e) {
|
|
230
230
|
if (this.hideItemMenus)
|
|
231
231
|
return;
|
|
232
|
-
const { messages: t } = this, s = this.itemWithOpenMenu === e, i =
|
|
232
|
+
const { messages: t } = this, s = this.itemWithOpenMenu === e, i = g(e), l = i ? t.deselectFeature : v(e) ? t.deselectLayer : t.deselectGroup;
|
|
233
233
|
return [
|
|
234
234
|
o("dropdown", a`<calcite-dropdown .open=${s} overlay-positioning=fixed placement=bottom-end .scale=${this.menuScale} slot=actions-end width=m @calciteDropdownClose=${() => this._closeItemMenu(e)} @calciteDropdownOpen=${() => {
|
|
235
235
|
this.itemWithOpenMenu = e;
|
|
@@ -270,17 +270,17 @@ class k extends x {
|
|
|
270
270
|
}} @calciteListItemSelect=${(i) => this._afterListItemSelect(e, i)}>${this.#p(e)}${this.#a(e)}${this.#n(e.featureItems)}${e.maxVisibleFeatureCountExceeded ? a`<calcite-notice class=${c(r.notice)} icon=exclamation-mark-triangle kind=info open .scale=${this.visualScale}><div slot=message>${t.tooManyFeatures}</div></calcite-notice>` : void 0}</calcite-list-item>`);
|
|
271
271
|
}
|
|
272
272
|
#n(e) {
|
|
273
|
-
return e.map((t) => this.#
|
|
273
|
+
return e.map((t) => this.#f(t));
|
|
274
274
|
}
|
|
275
|
-
#
|
|
275
|
+
#f(e) {
|
|
276
276
|
if (!e.visible)
|
|
277
277
|
return;
|
|
278
278
|
const { hideItemIcons: t, messages: s } = this, i = e.title || s.untitledFeature, l = !t && this.displayMode !== "feature", d = !t && e.supportsThumbnail;
|
|
279
279
|
return o(e.key, a`<calcite-list-item class=${c(l ? r.listItemFeatureIcon : r.listItemFeature)} .closable=${!this.hideItemCloseActions} .iconStart=${d ? void 0 : e.iconName} .label=${i} .unavailable=${this._isItemUnavailable(e)} .value=${i} @blur=${this._onFeatureItemBlur} @calciteListItemClose=${(n) => {
|
|
280
280
|
n.stopPropagation(), this.deselectItem(e);
|
|
281
|
-
}} @calciteListItemSelect=${(n) => this._afterListItemSelect(e, n)} @focus=${this._onFeatureItemFocus.bind(this, e)} @pointerenter=${this._onFeatureItemFocus.bind(this, e)} @pointerleave=${this._onFeatureItemBlur}>${this.#
|
|
281
|
+
}} @calciteListItemSelect=${(n) => this._afterListItemSelect(e, n)} @focus=${this._onFeatureItemFocus.bind(this, e)} @pointerenter=${this._onFeatureItemFocus.bind(this, e)} @pointerleave=${this._onFeatureItemBlur}>${this.#g(e)}${this.#a(e)}</calcite-list-item>`);
|
|
282
282
|
}
|
|
283
|
-
#
|
|
283
|
+
#g(e) {
|
|
284
284
|
if (!(this.hideItemIcons || !e.supportsThumbnail))
|
|
285
285
|
return o("thumbnail-container", a`<div class=${c(r.listItemIcon)} slot=content-start>${o(e.thumbnailKey, a`<span data-thumbnail-key=${e.thumbnailKey ?? h} ${w(this._makeObserverRef())}></span>`)}</div>`);
|
|
286
286
|
}
|
|
@@ -12,7 +12,7 @@ import type { Action as Action } from "@esri/calcite-components/components/calci
|
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* The selection toolbar component can be used to modify selected features on a provided [MapView](/references/core/views/MapView/) or [SceneView](/references/core/views/SceneView/). It provides an interface for performing [selection operations](/references/core/views/selection/SelectionOperation/) such as adding, removing, or replacing selected features.
|
|
15
|
-
* This component can be used in conjunction with other components
|
|
15
|
+
* This component can be used in conjunction with other components, such as [arcgis-selection-list](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-selection-list/) and [arcgis-feature-table](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-feature-table/).
|
|
16
16
|
*
|
|
17
17
|
* @since 5.2
|
|
18
18
|
*/
|
|
@@ -189,6 +189,14 @@ export abstract class ArcgisSelectionToolbar extends LitElement {
|
|
|
189
189
|
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
190
190
|
*/
|
|
191
191
|
accessor icon: IconName | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* Indicates whether the selection toolbar will ignore layer visibility when determining selection results.
|
|
194
|
+
* Non-visible layers and layer views are typically excluded from selection results.
|
|
195
|
+
*
|
|
196
|
+
* @default false
|
|
197
|
+
* @since 5.2
|
|
198
|
+
*/
|
|
199
|
+
accessor ignoreLayerVisibility: boolean;
|
|
192
200
|
/** The component's default label. */
|
|
193
201
|
accessor label: string | undefined;
|
|
194
202
|
/**
|
|
@@ -324,7 +332,7 @@ export abstract class ArcgisSelectionToolbar extends LitElement {
|
|
|
324
332
|
*/
|
|
325
333
|
get state(): "active" | "disabled" | "ready";
|
|
326
334
|
/**
|
|
327
|
-
* Indicates whether results from new [selection operations](/references/core/views/selection/SelectionOperation/) are automatically synchronized with the associated [selection manager](/references/core/views/SelectionManager/). When set to `
|
|
335
|
+
* Indicates whether results from new [selection operations](/references/core/views/selection/SelectionOperation/) are not automatically synchronized with the associated [selection manager](/references/core/views/SelectionManager/). When set to `true`, events emitted by the selection-toolbar will still include the updated selection results, but the associated [selection manager](/references/core/views/SelectionManager/) will not be updated when the [selection operation](/references/core/views/selection/SelectionOperation/) completes.
|
|
328
336
|
*
|
|
329
337
|
* @default false
|
|
330
338
|
* @since 5.2
|
|
@@ -441,9 +449,9 @@ export abstract class ArcgisSelectionToolbar extends LitElement {
|
|
|
441
449
|
* @since 5.2
|
|
442
450
|
* @example
|
|
443
451
|
* ```js
|
|
444
|
-
* const toolbar = document.querySelector("
|
|
452
|
+
* const toolbar = document.querySelector("arcgis-selection-toolbar");
|
|
445
453
|
* toolbar.addEventListener("arcgisBeforeActivate", (event) => {
|
|
446
|
-
* const { toolName } = event.detail;
|
|
454
|
+
* const { toolName } = event.detail.detail;
|
|
447
455
|
* console.log("Starting selection tool:", toolName);
|
|
448
456
|
* });
|
|
449
457
|
* ```
|
|
@@ -465,7 +473,7 @@ export abstract class ArcgisSelectionToolbar extends LitElement {
|
|
|
465
473
|
* @since 5.2
|
|
466
474
|
* @example
|
|
467
475
|
* ```js
|
|
468
|
-
* const toolbar = document.querySelector("
|
|
476
|
+
* const toolbar = document.querySelector("arcgis-selection-toolbar");
|
|
469
477
|
* toolbar.addEventListener("arcgisComplete", (event) => {
|
|
470
478
|
* const { aborted, selection, operationType, toolName } = event.detail;
|
|
471
479
|
* console.log("Selection complete:", {
|
|
@@ -490,7 +498,7 @@ export abstract class ArcgisSelectionToolbar extends LitElement {
|
|
|
490
498
|
* @since 5.2
|
|
491
499
|
* @example
|
|
492
500
|
* ```js
|
|
493
|
-
* const toolbar = document.querySelector("
|
|
501
|
+
* const toolbar = document.querySelector("arcgis-selection-toolbar");
|
|
494
502
|
* toolbar.addEventListener("arcgisSelectionChange", (event) => {
|
|
495
503
|
* const { added, removed, operationType } = event.detail;
|
|
496
504
|
* console.log("Selection changed:", {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as v } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as
|
|
3
|
+
import { css as y, html as s } from "lit";
|
|
4
4
|
import { keyed as p } from "lit/directives/keyed.js";
|
|
5
|
-
import { substitute as h, formatNumber as
|
|
6
|
-
import
|
|
7
|
-
import { LitElement as
|
|
5
|
+
import { substitute as h, formatNumber as T } from "@arcgis/core/intl.js";
|
|
6
|
+
import b from "@arcgis/core/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js";
|
|
7
|
+
import { LitElement as m, createEvent as u, nothing as a } from "@arcgis/lumina";
|
|
8
8
|
import { usePropertyChange as w } from "@arcgis/lumina/controllers";
|
|
9
9
|
import { reEmitEvent as d } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
10
10
|
import { u as M } from "../../chunks/useT9n.js";
|
|
11
11
|
import { m as O } from "../../chunks/useViewModel.js";
|
|
12
|
-
const C =
|
|
12
|
+
const C = y`:host{width:100%;display:flex;>*{align-items:center;align-self:center;height:100%;width:100%}}.root{display:flex;flex-direction:column}calcite-action-bar[layout=horizontal]{width:100%;calcite-chip{margin-inline-start:auto}}calcite-action-bar[layout=vertical]{height:100%;calcite-chip{margin-block-start:auto}}calcite-action-bar slot{align-items:center}calcite-dropdown:has(calcite-action:not([text-enabled])){align-self:center}calcite-action:not([text-enabled]){align-self:center}calcite-chip{display:flex;align-self:center;line-height:initial}calcite-dropdown{calcite-icon{margin-inline-start:var(--calcite-space-2xs)}}calcite-chip[closed]{display:inline-flex}calcite-progress{--calcite-progress-background-color: transparent}`, g = {
|
|
13
13
|
replace: "overwrite-features",
|
|
14
14
|
add: "cursor-plus",
|
|
15
15
|
remove: "cursor-minus"
|
|
16
|
-
}, S = O(
|
|
17
|
-
class $ extends
|
|
16
|
+
}, S = O(b);
|
|
17
|
+
class $ extends m {
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments), this.viewModel = S(this), this.messages = M(), this.autoDestroyDisabled = !1, this.disabled = !1, this.icon = "selection-set", this.view = this.viewModel.view, this.activeOperation = this.viewModel.activeOperation, this.availableOperationTypes = ["replace", "add", "remove"], this.continuousSelectionEnabled = this.viewModel.continuousSelectionEnabled, this.defaultLassoToolOptions = this.viewModel.defaultLassoToolOptions, this.defaultOperationType = this.viewModel.defaultOperationType, this.defaultPolygonToolOptions = this.viewModel.defaultPolygonToolOptions, this.defaultPointToolOptions = this.viewModel.defaultPointToolOptions, this.defaultRectangleToolOptions = this.viewModel.defaultRectangleToolOptions, this.effectiveSelectionManager = this.viewModel.effectiveSelectionManager, this.effectiveSources = this.viewModel.effectiveSources, this.hideChip = !1, this.hideChipCloseButton = !1, this.hideLassoTool = !1, this.hideOperationTypeControls = !1, this.hidePanTool = !1, this.hidePolygonTool = !1, this.hidePointTool = !1, this.hideProgress = !1, this.hideRectangleTool = !1, this.layout = "horizontal", this.returnFeatureTitleFields = this.viewModel.returnFeatureTitleFields, this.selectionManager = this.viewModel.selectionManager, this.showTextLabels = !1, this.sources = this.viewModel.sources, this.toolConfigs = this.viewModel.toolConfigs, this.visualScale = "m", this.arcgisBeforeActivate = d(() => this.viewModel, "before-activate"), this.arcgisClear = u(), this.arcgisComplete = d(() => this.viewModel, "complete"), this.arcgisPropertyChange = w()("activeOperation", "state"), this.arcgisReady = u(), this.arcgisSelectionChange = d(() => this.viewModel, "selection-change");
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
|
-
this.properties = { _effectiveDisabled: 16, _effectiveOperationType: 16, _processing: 16, autoDestroyDisabled: 5, disabled: 7, icon: 1, label: 1, referenceElement: 1, view: 0, activeOperation: 32, availableOperationTypes: 0, continuousSelectionEnabled: 5, defaultLassoToolOptions: 0, defaultOperationType: 1, defaultPolygonToolOptions: 0, defaultPointToolOptions: 0, defaultRectangleToolOptions: 0, effectiveSelectionManager: 32, effectiveSources: 32, hideChip: 5, hideChipCloseButton: 5, hideLassoTool: 5, hideOperationTypeControls: 5, hidePanTool: 5, hidePolygonTool: 5, hidePointTool: 5, hideProgress: 5, hideRectangleTool: 5, layerPreferenceEnabled: 5, layout: 1, returnFeatureTitleFields: 5, returnGeometryDisabled: 5, selectionManager: 0, showTextLabels: 5, sources: 0, state: 32, syncResultsDisabled: 5, syncWhileDrawing: 5, toolConfigs: 0, visualScale: 1 };
|
|
22
|
+
this.properties = { _effectiveDisabled: 16, _effectiveOperationType: 16, _processing: 16, autoDestroyDisabled: 5, disabled: 7, icon: 1, label: 1, referenceElement: 1, view: 0, activeOperation: 32, availableOperationTypes: 0, continuousSelectionEnabled: 5, defaultLassoToolOptions: 0, defaultOperationType: 1, defaultPolygonToolOptions: 0, defaultPointToolOptions: 0, defaultRectangleToolOptions: 0, effectiveSelectionManager: 32, effectiveSources: 32, hideChip: 5, hideChipCloseButton: 5, hideLassoTool: 5, hideOperationTypeControls: 5, hidePanTool: 5, hidePolygonTool: 5, hidePointTool: 5, hideProgress: 5, hideRectangleTool: 5, ignoreLayerVisibility: 5, layerPreferenceEnabled: 5, layout: 1, returnFeatureTitleFields: 5, returnGeometryDisabled: 5, selectionManager: 0, showTextLabels: 5, sources: 0, state: 32, syncResultsDisabled: 5, syncWhileDrawing: 5, toolConfigs: 0, visualScale: 1 };
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
25
|
this.styles = C;
|
|
@@ -33,6 +33,12 @@ class $ extends b {
|
|
|
33
33
|
get _processing() {
|
|
34
34
|
return !!this.activeOperation?.processingFinalSelection;
|
|
35
35
|
}
|
|
36
|
+
get ignoreLayerVisibility() {
|
|
37
|
+
return this.viewModel.ignoreLayerVisibility;
|
|
38
|
+
}
|
|
39
|
+
set ignoreLayerVisibility(e) {
|
|
40
|
+
this.viewModel.ignoreLayerVisibility = e;
|
|
41
|
+
}
|
|
36
42
|
get layerPreferenceEnabled() {
|
|
37
43
|
return !this.viewModel.layerViewPreferenceEnabled;
|
|
38
44
|
}
|
|
@@ -110,7 +116,7 @@ class $ extends b {
|
|
|
110
116
|
const { layout: t, messages: i, visualScale: o } = this, l = o === "l" ? 999 : 99;
|
|
111
117
|
return i.countTruncated && e > l && t === "vertical" ? h(i.countTruncated, {
|
|
112
118
|
count: l
|
|
113
|
-
}) :
|
|
119
|
+
}) : T(e);
|
|
114
120
|
}
|
|
115
121
|
_getTooltipForChip(e) {
|
|
116
122
|
const { messages: t } = this;
|
|
@@ -128,7 +134,7 @@ class $ extends b {
|
|
|
128
134
|
#s() {
|
|
129
135
|
return [
|
|
130
136
|
this.#a(),
|
|
131
|
-
this.#
|
|
137
|
+
this.#n(),
|
|
132
138
|
this.#c(),
|
|
133
139
|
this.#d(),
|
|
134
140
|
this.#h()
|
|
@@ -152,13 +158,13 @@ class $ extends b {
|
|
|
152
158
|
title: e
|
|
153
159
|
});
|
|
154
160
|
}
|
|
155
|
-
#
|
|
161
|
+
#r() {
|
|
156
162
|
if (this.hideChip)
|
|
157
163
|
return;
|
|
158
164
|
const { effectiveSelectionManager: e } = this, t = e?.count ?? 0, i = this._getTextForChip(t), o = !this.hideChipCloseButton && t > 0;
|
|
159
165
|
return s`<calcite-chip appearance=outline .closable=${o} .disabled=${this._effectiveDisabled || t === 0} .label=${i} .scale=${this.visualScale} title=${this._getTooltipForChip(t) ?? a} @calciteChipClose=${this._handleClearSelection}>${i}</calcite-chip>`;
|
|
160
166
|
}
|
|
161
|
-
#
|
|
167
|
+
#n() {
|
|
162
168
|
if (this.hidePointTool)
|
|
163
169
|
return;
|
|
164
170
|
const { messages: e } = this;
|
|
@@ -186,8 +192,8 @@ class $ extends b {
|
|
|
186
192
|
const { availableOperationTypes: e } = this;
|
|
187
193
|
if (this.hideOperationTypeControls || !e.length)
|
|
188
194
|
return;
|
|
189
|
-
const { _effectiveOperationType: t, showTextLabels: i, visualScale: o } = this, l = g[t],
|
|
190
|
-
return p("toggle-group", s`<calcite-action-group><calcite-dropdown overlay-positioning=fixed placement=bottom-start .scale=${o}><calcite-action class=tool-button .disabled=${this._effectiveDisabled} .icon=${l} .scale=${o} slot=trigger .text=${
|
|
195
|
+
const { _effectiveOperationType: t, showTextLabels: i, visualScale: o } = this, l = g[t], r = this._getTextForSelectionOperationType(t), n = this._getLabelForSelectionOperationType(t);
|
|
196
|
+
return p("toggle-group", s`<calcite-action-group><calcite-dropdown overlay-positioning=fixed placement=bottom-start .scale=${o}><calcite-action class=tool-button .disabled=${this._effectiveDisabled} .icon=${l} .scale=${o} slot=trigger .text=${r ?? ""} .textEnabled=${i} title=${n ?? a}><calcite-icon icon=chevron-down scale=s></calcite-icon></calcite-action><calcite-dropdown-group>${e.map((c) => this.#u(c))}</calcite-dropdown-group></calcite-dropdown></calcite-action-group>`);
|
|
191
197
|
}
|
|
192
198
|
#u(e) {
|
|
193
199
|
return s`<calcite-dropdown-item .iconStart=${g[e]} .selected=${this.defaultOperationType === e} @calciteDropdownItemSelect=${() => this.defaultOperationType = e}>${this._getLabelForSelectionOperationType(e)}</calcite-dropdown-item>`;
|
|
@@ -205,11 +211,11 @@ class $ extends b {
|
|
|
205
211
|
});
|
|
206
212
|
}
|
|
207
213
|
#t(e) {
|
|
208
|
-
const { active: t, disabled: i, icon: o, onclick: l, text:
|
|
209
|
-
return s`<calcite-action .active=${t} class=tool-button .disabled=${i} .icon=${o} @click=${l} .text=${
|
|
214
|
+
const { active: t, disabled: i, icon: o, onclick: l, text: r, title: n } = e, { showTextLabels: c, visualScale: f } = this;
|
|
215
|
+
return s`<calcite-action .active=${t} class=tool-button .disabled=${i} .icon=${o} @click=${l} .text=${r} .textEnabled=${c} title=${n ?? a} .scale=${f}></calcite-action>`;
|
|
210
216
|
}
|
|
211
217
|
render() {
|
|
212
|
-
return s`<div><calcite-action-bar expand-toggle-disabled .layout=${this.layout} overflow-mode=none .scale=${this.visualScale}>${this.#p()}${this.#o()}${this.#
|
|
218
|
+
return s`<div><calcite-action-bar expand-toggle-disabled .layout=${this.layout} overflow-mode=none .scale=${this.visualScale}>${this.#p()}${this.#o()}${this.#r()}</calcite-action-bar>${this.#i()}</div>`;
|
|
213
219
|
}
|
|
214
220
|
}
|
|
215
221
|
v("arcgis-selection-toolbar", $);
|