@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
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as N } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as q, noChange as I, html as
|
|
3
|
+
import { css as q, noChange as I, html as b } from "lit";
|
|
4
4
|
import { substitute as j } from "@arcgis/core/intl.js";
|
|
5
5
|
import { GenericController as J, usePropertyChange as Q, useWatchAttributes as X } from "@arcgis/lumina/controllers";
|
|
6
|
-
import { reEmitEvent as
|
|
6
|
+
import { reEmitEvent as T } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
7
7
|
import Y from "@arcgis/core/layers/GraphicsLayer.js";
|
|
8
8
|
import Z from "@arcgis/core/symbols/TextSymbol.js";
|
|
9
9
|
import { LitElement as ee, createEvent as te, nothing as D } from "@arcgis/lumina";
|
|
10
|
-
import { watch as
|
|
10
|
+
import { watch as v, on as ie, whenOnce as oe } from "@arcgis/core/core/reactiveUtils.js";
|
|
11
11
|
import { u as se } from "../../chunks/useT9n.js";
|
|
12
12
|
import { m as ne } from "../../chunks/useViewModel.js";
|
|
13
|
-
import { V as
|
|
14
|
-
import { createRef as
|
|
13
|
+
import { V as M } from "../../chunks/visible-element.js";
|
|
14
|
+
import { createRef as O, ref as P } from "lit/directives/ref.js";
|
|
15
15
|
import le from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
16
16
|
import { S as re } from "../../chunks/resources.js";
|
|
17
17
|
import { getOrCreateMapValue as F, createReactiveMap as ae } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
18
|
-
import { LayoutPriorities as
|
|
18
|
+
import { LayoutPriorities as E } from "@arcgis/common-components";
|
|
19
19
|
import ce from "@arcgis/core/core/Accessor.js";
|
|
20
20
|
import { property as p, subclass as he } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
21
|
-
import { ignoreAbortErrors as
|
|
21
|
+
import { ignoreAbortErrors as _ } from "@arcgis/core/core/promiseUtils.js";
|
|
22
22
|
import de from "@arcgis/core/widgets/Sketch/VisibleElements.js";
|
|
23
23
|
import pe from "@arcgis/core/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js";
|
|
24
24
|
import { c as ue } from "../../chunks/loader-utils.js";
|
|
@@ -45,7 +45,7 @@ function B(i, e) {
|
|
|
45
45
|
}
|
|
46
46
|
return typeof t == "string" ? t : void 0;
|
|
47
47
|
}
|
|
48
|
-
const Se = q`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px;-webkit-user-select:none;user-select:none;pointer-events:initial;padding:var(--calcite-space-sm);arcgis-sketch-tooltip-controls+arcgis-snapping-controls{border-block-start:1px solid var(--calcite-color-border-3)}}:host{pointer-events:none}.toolbar-container{block-size:100%;min-block-size:0;min-inline-size:0}arcgis-toolbar-stack[layout=vertical]{block-size:100cqh;min-block-size:100%;max-block-size:100%}`,
|
|
48
|
+
const Se = q`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px;-webkit-user-select:none;user-select:none;pointer-events:initial;padding:var(--calcite-space-sm);arcgis-sketch-tooltip-controls+arcgis-snapping-controls{border-block-start:1px solid var(--calcite-color-border-3)}}:host{pointer-events:none}.toolbar-container{block-size:100%;min-block-size:0;min-inline-size:0}arcgis-toolbar-stack[layout=vertical]{block-size:100cqh;min-block-size:100%;max-block-size:100%}`, we = {
|
|
49
49
|
point: "pin",
|
|
50
50
|
polyline: "line",
|
|
51
51
|
polygon: "polygon",
|
|
@@ -56,45 +56,45 @@ const Se = q`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px
|
|
|
56
56
|
freehandPolygon: "freehand-area",
|
|
57
57
|
freehandPolyline: "freehand",
|
|
58
58
|
text: "text"
|
|
59
|
-
},
|
|
59
|
+
}, Te = {
|
|
60
60
|
selectionTools: {
|
|
61
|
-
defaultPriority:
|
|
61
|
+
defaultPriority: E.Default,
|
|
62
62
|
groupKind: "split-button",
|
|
63
63
|
overflowLabel: "selection"
|
|
64
64
|
},
|
|
65
65
|
selectionSet: {
|
|
66
|
-
defaultPriority:
|
|
66
|
+
defaultPriority: E.High,
|
|
67
67
|
groupKind: "actions"
|
|
68
68
|
},
|
|
69
69
|
createTools: {
|
|
70
|
-
defaultPriority:
|
|
70
|
+
defaultPriority: E.High,
|
|
71
71
|
groupKind: "more-button",
|
|
72
72
|
overflowLabel: "drawing"
|
|
73
73
|
},
|
|
74
74
|
undoRedo: {
|
|
75
|
-
defaultPriority:
|
|
75
|
+
defaultPriority: E.Medium,
|
|
76
76
|
groupKind: "split-button",
|
|
77
77
|
overflowLabel: "action",
|
|
78
78
|
preferEndSlot: !0
|
|
79
79
|
},
|
|
80
80
|
settings: {
|
|
81
|
-
defaultPriority:
|
|
81
|
+
defaultPriority: E.Max,
|
|
82
82
|
groupKind: "more-button",
|
|
83
83
|
overflowLabel: "action",
|
|
84
84
|
preferEndSlot: !0
|
|
85
85
|
},
|
|
86
86
|
geometrySimplification: {
|
|
87
|
-
defaultPriority:
|
|
87
|
+
defaultPriority: E.Default,
|
|
88
88
|
groupKind: "actions",
|
|
89
89
|
preferEndSlot: !0
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
92
|
var Ee = Object.defineProperty, _e = Object.getOwnPropertyDescriptor, h = (i, e, t, o) => {
|
|
93
|
-
for (var s = o > 1 ? void 0 : o ? _e(e, t) : e,
|
|
94
|
-
(
|
|
93
|
+
for (var s = o > 1 ? void 0 : o ? _e(e, t) : e, n = i.length - 1, u; n >= 0; n--)
|
|
94
|
+
(u = i[n]) && (s = (o ? u(e, t, s) : u(s)) || s);
|
|
95
95
|
return o && s && Ee(e, t, s), s;
|
|
96
96
|
};
|
|
97
|
-
let
|
|
97
|
+
let c = class extends ce {
|
|
98
98
|
//#region Lifecycle
|
|
99
99
|
constructor(i) {
|
|
100
100
|
super(i), this._effectiveRenderStateCache = /* @__PURE__ */ new Map(), this._effectiveGeometrySimplificationInProgress = !1, this.visibleElements = new de(), this.settingsPopoverOpen = !1, this.availableCreateTools = [
|
|
@@ -109,7 +109,7 @@ let a = class extends ce {
|
|
|
109
109
|
}
|
|
110
110
|
initialize() {
|
|
111
111
|
this.selectionViewModel ??= new pe({ persistSelection: !1 }), this.addHandles([
|
|
112
|
-
|
|
112
|
+
v(
|
|
113
113
|
() => this.sketchViewModel,
|
|
114
114
|
(i, e) => {
|
|
115
115
|
i !== e && this._effectiveRenderStateCache.clear();
|
|
@@ -122,7 +122,7 @@ let a = class extends ce {
|
|
|
122
122
|
this._effectiveGeometrySimplificationInProgress = i;
|
|
123
123
|
}
|
|
124
124
|
}),
|
|
125
|
-
|
|
125
|
+
v(
|
|
126
126
|
() => this.view,
|
|
127
127
|
(i) => {
|
|
128
128
|
this.selectionViewModel.view = i;
|
|
@@ -130,16 +130,23 @@ let a = class extends ce {
|
|
|
130
130
|
{ initial: !0, sync: !0 }
|
|
131
131
|
),
|
|
132
132
|
// Ensure the SelectionViewModel always has the latest layer
|
|
133
|
-
|
|
133
|
+
v(
|
|
134
134
|
() => this.sketchViewModel?.layer,
|
|
135
135
|
(i) => this.selectionViewModel.sources = i ? [i] : [],
|
|
136
136
|
{ initial: !0, sync: !0 }
|
|
137
137
|
),
|
|
138
138
|
this.selectionViewModel.on("complete", ({ selection: i }) => {
|
|
139
|
-
|
|
139
|
+
const { sketchViewModel: e } = this;
|
|
140
|
+
if (i.length && e) {
|
|
141
|
+
const { defaultUpdateOptions: t } = e, { tool: o } = t;
|
|
142
|
+
this.update(i, {
|
|
143
|
+
...t,
|
|
144
|
+
tool: i.length > 1 && o === "reshape" ? "transform" : o
|
|
145
|
+
});
|
|
146
|
+
}
|
|
140
147
|
}),
|
|
141
148
|
// Cancel active tool when selection activates
|
|
142
|
-
|
|
149
|
+
v(
|
|
143
150
|
() => this.selectionViewModel.activeOperation,
|
|
144
151
|
(i) => {
|
|
145
152
|
i && (this.sketchViewModel?.cancel(), this._activeCustomToolOptions = void 0);
|
|
@@ -153,7 +160,7 @@ let a = class extends ce {
|
|
|
153
160
|
i.state === "complete" && this.sketchViewModel?.creationMode !== "continuous" && (this._activeCustomToolOptions = void 0);
|
|
154
161
|
}
|
|
155
162
|
),
|
|
156
|
-
|
|
163
|
+
v(
|
|
157
164
|
() => this.visibleElements.settingsMenu,
|
|
158
165
|
(i) => {
|
|
159
166
|
i || (this.settingsPopoverOpen = !1);
|
|
@@ -209,27 +216,27 @@ let a = class extends ce {
|
|
|
209
216
|
const { sketchViewModel: i } = this;
|
|
210
217
|
if (!i)
|
|
211
218
|
return [];
|
|
212
|
-
const e = i.effectiveAvailablePlugins, t = this.state === "disabled", o = this.visibleElements.createTools, s = this.activeTool,
|
|
213
|
-
active: l ===
|
|
219
|
+
const e = i.effectiveAvailablePlugins, t = this.state === "disabled", o = this.visibleElements.createTools, s = this.activeTool, n = this._activeCustomToolOptions, u = n || !i.firstPluginWithSwappableLeaf ? this._customToolOptions : [], a = i.rootPlugins, r = u?.map((l) => ({
|
|
220
|
+
active: l === n,
|
|
214
221
|
disabled: t,
|
|
215
222
|
icon: l.icon,
|
|
216
223
|
labelKey: l.label,
|
|
217
|
-
onClick: l ===
|
|
224
|
+
onClick: l === n ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(l.toolName, l.createOptions, l)
|
|
218
225
|
})) ?? [];
|
|
219
|
-
if (
|
|
220
|
-
return [...this._pluginsToActions(
|
|
226
|
+
if (n && a)
|
|
227
|
+
return [...this._pluginsToActions(a), ...r];
|
|
221
228
|
if (e?.length && this.view?.type !== "3d")
|
|
222
|
-
return [...this._pluginsToActions(e), ...
|
|
223
|
-
const
|
|
229
|
+
return [...this._pluginsToActions(e), ...r];
|
|
230
|
+
const d = this.view?.type === "3d";
|
|
224
231
|
return [
|
|
225
|
-
...this.availableCreateTools?.filter((l) =>
|
|
232
|
+
...this.availableCreateTools?.filter((l) => d && l === "multipoint" ? !1 : l === "mesh" ? !0 : o[l])?.map((l) => ({
|
|
226
233
|
active: l === s,
|
|
227
234
|
disabled: t,
|
|
228
|
-
icon:
|
|
235
|
+
icon: we[l],
|
|
229
236
|
labelKey: `draw.${l}`,
|
|
230
237
|
onClick: l === s ? () => this._cancelActiveOperation() : () => this._activateLegacyDrawTool(l)
|
|
231
238
|
})) ?? [],
|
|
232
|
-
...
|
|
239
|
+
...r
|
|
233
240
|
];
|
|
234
241
|
}
|
|
235
242
|
get _shouldShowBackButton() {
|
|
@@ -277,30 +284,30 @@ let a = class extends ce {
|
|
|
277
284
|
return t === "polygon" && o === "freehand" && e?.includes("freehandPolygon") ? "freehandPolygon" : t === "polyline" && o === "freehand" && e?.includes("freehandPolyline") ? "freehandPolyline" : t ?? void 0;
|
|
278
285
|
}
|
|
279
286
|
get _selectionCommands() {
|
|
280
|
-
const { state: i, visibleElements: e, _activeSelectionTool: t, _customActions: o } = this, s = this.state === "disabled",
|
|
281
|
-
this.sketchViewModel?.updateOnGraphicClick !== !1 &&
|
|
287
|
+
const { state: i, visibleElements: e, _activeSelectionTool: t, _customActions: o } = this, s = this.state === "disabled", n = [];
|
|
288
|
+
this.sketchViewModel?.updateOnGraphicClick !== !1 && n.push({
|
|
282
289
|
active: i === "ready" && this._activeSelectionTool == null,
|
|
283
290
|
disabled: s,
|
|
284
291
|
icon: "cursor",
|
|
285
292
|
labelKey: "selectFeature",
|
|
286
293
|
onClick: () => this._activateDefaultSelectionTool()
|
|
287
294
|
});
|
|
288
|
-
const
|
|
289
|
-
|
|
295
|
+
const u = e.selectionTools;
|
|
296
|
+
u["rectangle-selection"] && n.push({
|
|
290
297
|
active: t === "rectangle-selection",
|
|
291
298
|
disabled: s,
|
|
292
299
|
icon: "cursor-marquee",
|
|
293
300
|
labelKey: "rectangleSelection",
|
|
294
301
|
onClick: () => this._activateSelectionTool("rectangle-selection")
|
|
295
|
-
}),
|
|
302
|
+
}), u["lasso-selection"] && n.push({
|
|
296
303
|
active: t === "lasso-selection",
|
|
297
304
|
disabled: s,
|
|
298
305
|
icon: "lasso-select",
|
|
299
306
|
labelKey: "lassoSelection",
|
|
300
307
|
onClick: () => this._activateSelectionTool("lasso-selection")
|
|
301
308
|
});
|
|
302
|
-
const
|
|
303
|
-
return
|
|
309
|
+
const a = o?.get("selection-toolbar");
|
|
310
|
+
return a && n.push(...this._customActionsToSketchActions(a)), n;
|
|
304
311
|
}
|
|
305
312
|
get _selectionSetActions() {
|
|
306
313
|
const i = this.sketchViewModel?.updateGraphics.length ?? 0;
|
|
@@ -412,7 +419,7 @@ let a = class extends ce {
|
|
|
412
419
|
await this._executeWhenReady(async () => {
|
|
413
420
|
this.cancelAll();
|
|
414
421
|
const t = this.sketchViewModel;
|
|
415
|
-
t && await
|
|
422
|
+
t && await _(t.create(i, e));
|
|
416
423
|
});
|
|
417
424
|
}
|
|
418
425
|
/**
|
|
@@ -423,7 +430,7 @@ let a = class extends ce {
|
|
|
423
430
|
const e = new AbortController();
|
|
424
431
|
this._pendingCommandAbortController = e;
|
|
425
432
|
try {
|
|
426
|
-
await
|
|
433
|
+
await _(
|
|
427
434
|
(async () => {
|
|
428
435
|
this.sketchViewModel?.geometrySimplificationInProgress && await oe(() => !this.sketchViewModel?.geometrySimplificationInProgress, e.signal), e.signal.aborted || await i();
|
|
429
436
|
})()
|
|
@@ -464,7 +471,7 @@ let a = class extends ce {
|
|
|
464
471
|
async update(i, e) {
|
|
465
472
|
await this._executeWhenReady(async () => {
|
|
466
473
|
const t = this.sketchViewModel;
|
|
467
|
-
t && await
|
|
474
|
+
t && await _(t.update(i, e));
|
|
468
475
|
});
|
|
469
476
|
}
|
|
470
477
|
// #endregion
|
|
@@ -495,10 +502,10 @@ let a = class extends ce {
|
|
|
495
502
|
const t = this.sketchViewModel;
|
|
496
503
|
if (t) {
|
|
497
504
|
if (e) {
|
|
498
|
-
t.cancel(),
|
|
505
|
+
t.cancel(), _(t.create(i));
|
|
499
506
|
return;
|
|
500
507
|
}
|
|
501
|
-
t.firstPluginWithSwappableLeaf ? (t.replaceLeaf(i), this.view?.focus()) :
|
|
508
|
+
t.firstPluginWithSwappableLeaf ? (t.replaceLeaf(i), this.view?.focus()) : _(t.create(i));
|
|
502
509
|
}
|
|
503
510
|
});
|
|
504
511
|
}
|
|
@@ -506,7 +513,7 @@ let a = class extends ce {
|
|
|
506
513
|
this._executeWhenReady(() => {
|
|
507
514
|
this._cancelSupportingOperations();
|
|
508
515
|
const o = this.sketchViewModel;
|
|
509
|
-
o && (this._activeCustomToolOptions = t,
|
|
516
|
+
o && (this._activeCustomToolOptions = t, _(o.create(i, e)));
|
|
510
517
|
});
|
|
511
518
|
}
|
|
512
519
|
_activateSelectionTool(i) {
|
|
@@ -575,85 +582,85 @@ let a = class extends ce {
|
|
|
575
582
|
};
|
|
576
583
|
h([
|
|
577
584
|
p()
|
|
578
|
-
],
|
|
585
|
+
], c.prototype, "_isEffectiveRenderStateFrozen", 1);
|
|
579
586
|
h([
|
|
580
587
|
p()
|
|
581
|
-
],
|
|
588
|
+
], c.prototype, "_effectiveGeometrySimplificationInProgress", 2);
|
|
582
589
|
h([
|
|
583
590
|
p()
|
|
584
|
-
],
|
|
591
|
+
], c.prototype, "_state", 1);
|
|
585
592
|
h([
|
|
586
593
|
p()
|
|
587
|
-
],
|
|
594
|
+
], c.prototype, "_customToolOptions", 2);
|
|
588
595
|
h([
|
|
589
596
|
p()
|
|
590
|
-
],
|
|
597
|
+
], c.prototype, "_activeCustomToolOptions", 2);
|
|
591
598
|
h([
|
|
592
599
|
p()
|
|
593
|
-
],
|
|
600
|
+
], c.prototype, "_customActions", 2);
|
|
594
601
|
h([
|
|
595
602
|
p()
|
|
596
|
-
],
|
|
603
|
+
], c.prototype, "selectionViewModel", 2);
|
|
597
604
|
h([
|
|
598
605
|
p()
|
|
599
|
-
],
|
|
606
|
+
], c.prototype, "_activeSelectionTool", 1);
|
|
600
607
|
h([
|
|
601
608
|
p()
|
|
602
|
-
],
|
|
609
|
+
], c.prototype, "_activePluginUniqueIds", 1);
|
|
603
610
|
h([
|
|
604
611
|
p()
|
|
605
|
-
],
|
|
612
|
+
], c.prototype, "_createToolActions", 1);
|
|
606
613
|
h([
|
|
607
614
|
p()
|
|
608
|
-
],
|
|
615
|
+
], c.prototype, "_shouldShowBackButton", 1);
|
|
609
616
|
h([
|
|
610
617
|
p()
|
|
611
|
-
],
|
|
618
|
+
], c.prototype, "_selectionToolActions", 1);
|
|
612
619
|
h([
|
|
613
620
|
p()
|
|
614
|
-
],
|
|
621
|
+
], c.prototype, "_settingsActions", 1);
|
|
615
622
|
h([
|
|
616
623
|
p()
|
|
617
|
-
],
|
|
624
|
+
], c.prototype, "_activeTool", 1);
|
|
618
625
|
h([
|
|
619
626
|
p()
|
|
620
|
-
],
|
|
627
|
+
], c.prototype, "_selectionCommands", 1);
|
|
621
628
|
h([
|
|
622
629
|
p()
|
|
623
|
-
],
|
|
630
|
+
], c.prototype, "_selectionSetActions", 1);
|
|
624
631
|
h([
|
|
625
632
|
p()
|
|
626
|
-
],
|
|
633
|
+
], c.prototype, "_undoRedoActions", 1);
|
|
627
634
|
h([
|
|
628
635
|
p()
|
|
629
|
-
],
|
|
636
|
+
], c.prototype, "sketchViewModel", 2);
|
|
630
637
|
h([
|
|
631
638
|
p()
|
|
632
|
-
],
|
|
639
|
+
], c.prototype, "visibleElements", 2);
|
|
633
640
|
h([
|
|
634
641
|
p()
|
|
635
|
-
],
|
|
642
|
+
], c.prototype, "view", 2);
|
|
636
643
|
h([
|
|
637
644
|
p()
|
|
638
|
-
],
|
|
645
|
+
], c.prototype, "settingsPopoverOpen", 2);
|
|
639
646
|
h([
|
|
640
647
|
p()
|
|
641
|
-
],
|
|
648
|
+
], c.prototype, "availableCreateTools", 2);
|
|
642
649
|
h([
|
|
643
650
|
p()
|
|
644
|
-
],
|
|
651
|
+
], c.prototype, "state", 1);
|
|
645
652
|
h([
|
|
646
653
|
p()
|
|
647
|
-
],
|
|
654
|
+
], c.prototype, "activeTool", 1);
|
|
648
655
|
h([
|
|
649
656
|
p()
|
|
650
|
-
],
|
|
657
|
+
], c.prototype, "activePluginIds", 1);
|
|
651
658
|
h([
|
|
652
659
|
p()
|
|
653
|
-
],
|
|
654
|
-
|
|
660
|
+
], c.prototype, "groupedActions", 1);
|
|
661
|
+
c = h([
|
|
655
662
|
he("components.sketch.SketchComponentViewModel")
|
|
656
|
-
],
|
|
663
|
+
], c);
|
|
657
664
|
class Me extends ge {
|
|
658
665
|
#t;
|
|
659
666
|
#e = !1;
|
|
@@ -694,7 +701,7 @@ class Ae extends J {
|
|
|
694
701
|
}, this.#u = () => this.#c(), this.exports = void 0, this.onConnected(() => this.#m()), this.onUpdated(() => {
|
|
695
702
|
this.#d !== this.component.layout && this.#c();
|
|
696
703
|
}), this.onDisconnected(() => this.#b()), this.onLifecycle(
|
|
697
|
-
() =>
|
|
704
|
+
() => v(
|
|
698
705
|
() => this.component.view?.attributionHeight,
|
|
699
706
|
() => {
|
|
700
707
|
this.#m();
|
|
@@ -732,24 +739,24 @@ class Ae extends J {
|
|
|
732
739
|
this.#y(), this.#b();
|
|
733
740
|
return;
|
|
734
741
|
}
|
|
735
|
-
this.#C(e.toolbar), this.#S(e), this.#
|
|
742
|
+
this.#C(e.toolbar), this.#S(e), this.#w(e), this.#v(e);
|
|
736
743
|
}
|
|
737
744
|
#f() {
|
|
738
745
|
const e = this.component.el, t = e.parentElement, o = this.#o, s = e.assignedSlot;
|
|
739
746
|
if (!t || !Pe.has(t.localName) || !o || !s?.parentElement)
|
|
740
747
|
return;
|
|
741
|
-
const
|
|
742
|
-
if (!
|
|
748
|
+
const n = getComputedStyle(t).direction === "rtl" ? "rtl" : "ltr", u = U(e.slot, n);
|
|
749
|
+
if (!u)
|
|
743
750
|
return;
|
|
744
|
-
const
|
|
745
|
-
(
|
|
751
|
+
const a = Array.from(t.children).filter(
|
|
752
|
+
(r) => r instanceof HTMLElement && r.localName !== "arcgis-sketch"
|
|
746
753
|
);
|
|
747
754
|
return {
|
|
748
755
|
assignedSlot: s,
|
|
749
|
-
content:
|
|
750
|
-
direction:
|
|
756
|
+
content: a,
|
|
757
|
+
direction: n,
|
|
751
758
|
parent: t,
|
|
752
|
-
position:
|
|
759
|
+
position: u,
|
|
753
760
|
toolbar: o
|
|
754
761
|
};
|
|
755
762
|
}
|
|
@@ -769,7 +776,7 @@ class Ae extends J {
|
|
|
769
776
|
subtree: !1
|
|
770
777
|
}));
|
|
771
778
|
}
|
|
772
|
-
#
|
|
779
|
+
#w(e) {
|
|
773
780
|
const t = [e.parent, ...e.content];
|
|
774
781
|
Ge(this.#h, t) || (this.#e.disconnect(), t.forEach((o) => this.#e.observe(o)), this.#h = t);
|
|
775
782
|
}
|
|
@@ -778,23 +785,18 @@ class Ae extends J {
|
|
|
778
785
|
this.#y();
|
|
779
786
|
return;
|
|
780
787
|
}
|
|
781
|
-
const t = this.component.layout, o =
|
|
782
|
-
content:
|
|
788
|
+
const t = this.component.layout, o = Oe({
|
|
789
|
+
content: Le(e),
|
|
783
790
|
gap: ke,
|
|
784
791
|
layout: t,
|
|
785
792
|
position: e.position,
|
|
786
|
-
sameSlotReserve: $e(
|
|
787
|
-
e.assignedSlot,
|
|
788
|
-
this.component.el,
|
|
789
|
-
t,
|
|
790
|
-
e.assignedSlot.parentElement
|
|
791
|
-
),
|
|
793
|
+
sameSlotReserve: $e(e.assignedSlot, this.component.el, t, e.assignedSlot),
|
|
792
794
|
toolbarBounds: e.toolbar.getBoundingClientRect(),
|
|
793
795
|
viewBounds: e.parent.getBoundingClientRect()
|
|
794
796
|
});
|
|
795
|
-
this.#
|
|
797
|
+
this.#T(e.toolbar, t, o);
|
|
796
798
|
}
|
|
797
|
-
#
|
|
799
|
+
#T(e, t, o) {
|
|
798
800
|
o === this.#r && t === this.#a || (this.#r = o, this.#a = t, e.style.setProperty("--arcgis-internal-toolbar-available-length", `${o}px`), t === "horizontal" ? (e.style.height = "", e.style.maxHeight = "", e.style.maxWidth = `${o}px`, e.style.width = "fit-content") : (e.style.height = "fit-content", e.style.maxHeight = `${o}px`, e.style.maxWidth = "", e.style.width = ""));
|
|
799
801
|
}
|
|
800
802
|
/** Remove controller-owned inline sizing when the stack leaves a supported view slot. */
|
|
@@ -806,36 +808,36 @@ class Ae extends J {
|
|
|
806
808
|
this.#t.disconnect(), this.#p?.(), this.#p = void 0, this.#e.disconnect(), this.#i.disconnect(), this.#l = void 0, this.#s = void 0, this.#h = [], this.#n?.removeEventListener("slotchange", this.#u), this.#n = void 0, this.#r = void 0, this.#a = void 0, this.#d = void 0, this.#g = void 0;
|
|
807
809
|
}
|
|
808
810
|
}
|
|
809
|
-
function
|
|
811
|
+
function Oe({
|
|
810
812
|
content: i,
|
|
811
813
|
gap: e,
|
|
812
814
|
layout: t,
|
|
813
815
|
position: o,
|
|
814
816
|
sameSlotReserve: s,
|
|
815
|
-
toolbarBounds:
|
|
816
|
-
viewBounds:
|
|
817
|
+
toolbarBounds: n,
|
|
818
|
+
viewBounds: u
|
|
817
819
|
}) {
|
|
818
|
-
const
|
|
819
|
-
let l = 0,
|
|
820
|
-
for (const
|
|
821
|
-
if (z(
|
|
820
|
+
const a = L(u, t), r = L(n, t), d = z(o, t), g = d ? r.start - a.start : a.end - r.end;
|
|
821
|
+
let l = 0, f = !1;
|
|
822
|
+
for (const C of i) {
|
|
823
|
+
if (z(C.position, t) === d)
|
|
822
824
|
continue;
|
|
823
|
-
const
|
|
824
|
-
if (!(
|
|
825
|
+
const y = L(C.bounds, t);
|
|
826
|
+
if (!(y.crossStart < r.crossEnd && y.crossEnd > r.crossStart))
|
|
825
827
|
continue;
|
|
826
|
-
const
|
|
827
|
-
l = Math.max(l,
|
|
828
|
+
const w = d ? a.end - y.start : y.end - a.start;
|
|
829
|
+
l = Math.max(l, w), f = !0;
|
|
828
830
|
}
|
|
829
|
-
const m =
|
|
830
|
-
return Math.max(0,
|
|
831
|
+
const m = f ? e : 0;
|
|
832
|
+
return Math.max(0, a.length - Math.max(0, g) - s - l - m);
|
|
831
833
|
}
|
|
832
|
-
function
|
|
834
|
+
function L(i, e) {
|
|
833
835
|
return e === "horizontal" ? { start: i.left, end: i.right, length: i.width, crossStart: i.top, crossEnd: i.bottom } : { start: i.top, end: i.bottom, length: i.height, crossStart: i.left, crossEnd: i.right };
|
|
834
836
|
}
|
|
835
837
|
function z(i, e) {
|
|
836
838
|
return e === "horizontal" ? i.endsWith("left") : i.startsWith("top");
|
|
837
839
|
}
|
|
838
|
-
function
|
|
840
|
+
function Le(i) {
|
|
839
841
|
return i.content.flatMap((e) => {
|
|
840
842
|
if (e.assignedSlot === i.assignedSlot)
|
|
841
843
|
return [];
|
|
@@ -847,17 +849,17 @@ function Ge(i, e) {
|
|
|
847
849
|
return i.length === e.length && i.every((t, o) => t === e[o]);
|
|
848
850
|
}
|
|
849
851
|
function $e(i, e, t, o) {
|
|
850
|
-
const s = getComputedStyle(o).flexDirection;
|
|
851
|
-
if (!(t === "horizontal" ?
|
|
852
|
+
const s = getComputedStyle(o), n = s.flexDirection;
|
|
853
|
+
if (!(t === "horizontal" ? n.startsWith("row") : n.startsWith("column")))
|
|
852
854
|
return 0;
|
|
853
|
-
const
|
|
855
|
+
const a = i.assignedElements().filter((m) => m instanceof HTMLElement), r = a.indexOf(e);
|
|
854
856
|
if (r < 0)
|
|
855
857
|
return 0;
|
|
856
|
-
const
|
|
857
|
-
return
|
|
858
|
-
const
|
|
859
|
-
return
|
|
860
|
-
},
|
|
858
|
+
const d = getComputedStyle(e), g = n === "row" ? Number.parseFloat(d.marginRight) : n === "row-reverse" ? Number.parseFloat(d.marginLeft) : n === "column" ? Number.parseFloat(d.marginBottom) : Number.parseFloat(d.marginTop), l = a.slice(r + 1), f = Number.parseFloat(t === "horizontal" ? s.columnGap : s.rowGap);
|
|
859
|
+
return l.reduce((m, C) => {
|
|
860
|
+
const y = C.getBoundingClientRect(), S = getComputedStyle(C), w = t === "horizontal" ? y.width + Number.parseFloat(S.marginLeft) + Number.parseFloat(S.marginRight) : y.height + Number.parseFloat(S.marginTop) + Number.parseFloat(S.marginBottom);
|
|
861
|
+
return m + w + f;
|
|
862
|
+
}, g);
|
|
861
863
|
}
|
|
862
864
|
function U(i, e) {
|
|
863
865
|
const [t, o] = i.split("-");
|
|
@@ -875,25 +877,25 @@ const Re = ne((i) => new le({
|
|
|
875
877
|
}));
|
|
876
878
|
class Ve extends ee {
|
|
877
879
|
constructor() {
|
|
878
|
-
super(), this.#t = new
|
|
880
|
+
super(), this.#t = new c(), this.#l = O(), this.#s = new Ae(this), this.#n = O(), this._defaultGraphicsLayer = null, this._messages = se(), this.test = {
|
|
879
881
|
componentViewModel: this.#t
|
|
880
|
-
}, this._groupLayoutPriorityOverrides = /* @__PURE__ */ new Map(), this._contextualToolLocation = "separate", this._refMap = ae(), this.viewModel = Re(this), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.createGraphic = this.viewModel.createGraphic, this.creationMode = this.viewModel.creationMode, this.defaultCreateOptions = this.viewModel.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.viewModel.defaultUpdateOptions, this.geometrySimplificationInProgress = this.viewModel.geometrySimplificationInProgress, this.icon = "pencil", this.label = this._messages?.componentLabel, this.labelOptions = this.viewModel.labelOptions, this.layer = this.viewModel.layer, this.layout = "horizontal", this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.activeFillSymbol = this.viewModel.activeFillSymbol, this.activeLineSymbol = this.viewModel.activeLineSymbol, this.activeVertexSymbol = this.viewModel.activeVertexSymbol, this.activeCreateToolDrawMode = this.viewModel.activeCreateToolDrawMode, this.visualScale = "m", this.snappingOptions = this.viewModel.snappingOptions, this.textSymbol = this.viewModel.textSymbol, this.toolbarKind = "floating", this.tooltipOptions = this.viewModel.tooltipOptions, this.useViewOptions = this.viewModel.useViewOptions, this.valueOptions = this.viewModel.valueOptions, this.useLegacyCreateTools = this.viewModel.useLegacyCreateTools, this.updateOnGraphicClickDisabled = this.viewModel.updateOnGraphicClick, this.updateGraphics = this.viewModel.updateGraphics, this.activeTooltip = this.viewModel.activeTooltip, this.arcgisCreate =
|
|
882
|
+
}, this._groupLayoutPriorityOverrides = /* @__PURE__ */ new Map(), this._contextualToolLocation = "separate", this._refMap = ae(), this.viewModel = Re(this), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.createGraphic = this.viewModel.createGraphic, this.creationMode = this.viewModel.creationMode, this.defaultCreateOptions = this.viewModel.defaultCreateOptions, this.defaultGraphicsLayerDisabled = !1, this.defaultUpdateOptions = this.viewModel.defaultUpdateOptions, this.geometrySimplificationInProgress = this.viewModel.geometrySimplificationInProgress, this.icon = "pencil", this.label = this._messages?.componentLabel, this.labelOptions = this.viewModel.labelOptions, this.layer = this.viewModel.layer, this.layout = "horizontal", this.pointSymbol = this.viewModel.pointSymbol, this.polygonSymbol = this.viewModel.polygonSymbol, this.polylineSymbol = this.viewModel.polylineSymbol, this.activeFillSymbol = this.viewModel.activeFillSymbol, this.activeLineSymbol = this.viewModel.activeLineSymbol, this.activeVertexSymbol = this.viewModel.activeVertexSymbol, this.activeCreateToolDrawMode = this.viewModel.activeCreateToolDrawMode, this.visualScale = "m", this.snappingOptions = this.viewModel.snappingOptions, this.textSymbol = this.viewModel.textSymbol, this.toolbarKind = "floating", this.tooltipOptions = this.viewModel.tooltipOptions, this.useViewOptions = this.viewModel.useViewOptions, this.valueOptions = this.viewModel.valueOptions, this.useLegacyCreateTools = this.viewModel.useLegacyCreateTools, this.updateOnGraphicClickDisabled = this.viewModel.updateOnGraphicClick, this.updateGraphics = this.viewModel.updateGraphics, this.activeTooltip = this.viewModel.activeTooltip, this.arcgisCreate = T(() => this.viewModel, "create"), this.arcgisDelete = T(() => this.viewModel, "delete"), this.arcgisDuplicate = T(() => this.viewModel, "duplicate"), this.arcgisPropertyChange = Q()("activeTool", "geometrySimplificationInProgress", "state"), this.arcgisReady = te(), this.arcgisRedo = T(() => this.viewModel, "redo"), this.arcgisUndo = T(() => this.viewModel, "undo"), this.arcgisUpdate = T(() => this.viewModel, "update"), X(["slot"], () => {
|
|
881
883
|
this.requestUpdate();
|
|
882
884
|
}), this.manager.onLifecycle(() => [
|
|
883
|
-
|
|
885
|
+
v(() => this.el.view?.map, (e, t) => {
|
|
884
886
|
const o = this._defaultGraphicsLayer;
|
|
885
887
|
o && (t?.allLayers.includes(o) && t.remove(o), o && !e?.allLayers.includes(o) && e?.add(o));
|
|
886
888
|
}),
|
|
887
|
-
|
|
889
|
+
v(() => this.el.view, (e) => {
|
|
888
890
|
this.viewModel.view = e, this.#t.view = e ?? void 0;
|
|
889
891
|
}, { initial: !0 }),
|
|
890
|
-
|
|
892
|
+
v(() => this.viewModel, (e) => {
|
|
891
893
|
this.#t.sketchViewModel = e, this.viewModel.pluginManager.sketch = this;
|
|
892
894
|
}, { initial: !0 }),
|
|
893
|
-
|
|
895
|
+
v(() => this.#t.state, (e, t) => {
|
|
894
896
|
this.requestUpdate("state", t);
|
|
895
897
|
}, { initial: !0 }),
|
|
896
|
-
|
|
898
|
+
v(() => this.#t.activeTool, () => this.arcgisPropertyChange.emit({ name: "activeTool" }), { sync: !0 })
|
|
897
899
|
]), this.manager.onDestroy(() => {
|
|
898
900
|
this._defaultGraphicsLayer && this.el.view?.map?.allLayers.includes(this._defaultGraphicsLayer) && this.el.view?.map?.remove(this._defaultGraphicsLayer), this._defaultGraphicsLayer?.destroy(), this._defaultGraphicsLayer = null, this.#t.destroy();
|
|
899
901
|
});
|
|
@@ -1232,43 +1234,43 @@ class Ve extends ee {
|
|
|
1232
1234
|
this._defaultGraphicsLayer && this.view?.map?.allLayers.includes(this._defaultGraphicsLayer) && this.view?.map?.remove(this._defaultGraphicsLayer), this.cancel(), super.disconnectedCallback();
|
|
1233
1235
|
}
|
|
1234
1236
|
render() {
|
|
1235
|
-
const e = this._refMap.get("settings")?.value?.actionElement, t = this.#t.groupedActions, { visualScale: o, layout: s, toolbarKind:
|
|
1236
|
-
return
|
|
1237
|
+
const e = this._refMap.get("settings")?.value?.actionElement, t = this.#t.groupedActions, { visualScale: o, layout: s, toolbarKind: n, relativePosition: u, _contextualToolLocation: a } = this, r = t.find(({ name: g }) => g === "selectionSet"), d = t.filter(({ name: g }) => g !== "selectionSet");
|
|
1238
|
+
return b`<div class="toolbar-container"><arcgis-toolbar-stack .layout=${s} .toolbarKind=${n} .relativePosition=${u} .scale=${o} tooltip-appearance=calcite ${P(this.#s.ref)}><arcgis-toolbar ${P(this.#l)}>${M({ hidden: !r?.visible || a !== "inline", children: this._renderActionGroup(r) })}${d.map((g) => this._renderActionGroup(g))}${M({ hidden: !r?.visible || a !== "inline-end", children: this._renderActionGroup(r) })}</arcgis-toolbar>${M({ hidden: !r?.visible || a !== "separate", children: b`<arcgis-toolbar>${this._renderActionGroup(r)}</arcgis-toolbar>` })}</arcgis-toolbar-stack></div>${M({ hidden: this.hideSettingsMenu, children: b`<arcgis-view-popover .open=${this.#t.settingsPopoverOpen} closable .heading=${this._messages.settings?.heading} .label=${this._messages.settings?.heading} .anchorElement=${e} .visualScale=${o} .actionBarElement=${this.#l.value?.barElement} @arcgisPropertyChange=${(g) => this.#t.settingsPopoverOpen = g.target.open ?? !1} .view=${this.view ?? void 0}>${this._renderSettings()}</arcgis-view-popover>` })}`;
|
|
1237
1239
|
}
|
|
1238
1240
|
_renderSettings() {
|
|
1239
|
-
const { autoDestroyDisabled: e, hideLabelsToggle: t, hideSnappingControls: o, hideTooltipsToggle: s, showSnappingControlsElementsHeader:
|
|
1240
|
-
return
|
|
1241
|
-
|
|
1242
|
-
const { labelsEnabled: g, tooltipsEnabled: l, directionMode:
|
|
1243
|
-
switch (
|
|
1241
|
+
const { autoDestroyDisabled: e, hideLabelsToggle: t, hideSnappingControls: o, hideTooltipsToggle: s, showSnappingControlsElementsHeader: n, useViewOptions: u, view: a, viewModel: r } = this;
|
|
1242
|
+
return b`<div class="editing-controls-panel"><arcgis-sketch-tooltip-controls .hideLabelsToggle=${t} .hideTooltipsToggle=${u || s} .directionMode=${r.valueOptions.directionMode} .labelsEnabled=${r.labelOptions.enabled} .tooltipsEnabled=${r.tooltipOptions.enabled} @arcgisPropertyChange=${(d) => {
|
|
1243
|
+
d.stopPropagation();
|
|
1244
|
+
const { labelsEnabled: g, tooltipsEnabled: l, directionMode: f } = d.currentTarget, m = this.viewModel;
|
|
1245
|
+
switch (d.detail.name) {
|
|
1244
1246
|
case "labelsEnabled":
|
|
1245
1247
|
m.labelOptions.enabled = g;
|
|
1246
1248
|
break;
|
|
1247
1249
|
case "directionMode":
|
|
1248
|
-
m.valueOptions.directionMode =
|
|
1250
|
+
m.valueOptions.directionMode = f;
|
|
1249
1251
|
break;
|
|
1250
1252
|
case "tooltipsEnabled":
|
|
1251
1253
|
m.tooltipOptions.enabled = l;
|
|
1252
1254
|
break;
|
|
1253
1255
|
}
|
|
1254
|
-
}}></arcgis-sketch-tooltip-controls>${!
|
|
1256
|
+
}}></arcgis-sketch-tooltip-controls>${!u && !o ? b`<arcgis-snapping-controls .autoDestroyDisabled=${e} .view=${a} .visibleElements=${this.#e.snappingControlsElements} .snappingOptions=${r.snappingOptions} .showHeader=${n} @arcgisPropertyChange=${(d) => d.stopPropagation()}></arcgis-snapping-controls>` : void 0}</div>`;
|
|
1255
1257
|
}
|
|
1256
1258
|
_renderActionGroup({ visible: e, commands: t, name: o }) {
|
|
1257
1259
|
if (!e || !t.length)
|
|
1258
1260
|
return;
|
|
1259
|
-
const { defaultPriority: s, groupKind:
|
|
1260
|
-
switch (
|
|
1261
|
+
const { defaultPriority: s, groupKind: n, overflowLabel: u, preferEndSlot: a } = Te[o], d = (o === "geometrySimplification" ? void 0 : this._groupLayoutPriorityOverrides.get(o)) ?? s, g = t.map((f) => this._renderCommand(f)), l = B(`more.${u}`, this._messages);
|
|
1262
|
+
switch (n) {
|
|
1261
1263
|
case "more-button":
|
|
1262
|
-
return
|
|
1264
|
+
return b`<arcgis-toolbar-group .priority=${d} .preferEndSlot=${a}><arcgis-toolbar-more-button .overflowActionLabel=${l} .priority=${d}>${g}</arcgis-toolbar-more-button></arcgis-toolbar-group>`;
|
|
1263
1265
|
case "split-button":
|
|
1264
|
-
return
|
|
1266
|
+
return b`<arcgis-toolbar-group .priority=${d} .preferEndSlot=${a}><arcgis-toolbar-split-button .overflowActionLabel=${l} .priority=${d}>${g}</arcgis-toolbar-split-button></arcgis-toolbar-group>`;
|
|
1265
1267
|
case "actions":
|
|
1266
|
-
return
|
|
1268
|
+
return b`<arcgis-toolbar-group .priority=${d} .preferEndSlot=${a}>${g}</arcgis-toolbar-group>`;
|
|
1267
1269
|
}
|
|
1268
1270
|
}
|
|
1269
|
-
_renderCommand({ active: e, afterCreate: t, afterRemoved: o, afterUpdate: s, appearance:
|
|
1270
|
-
const { _messages: G, _refMap: H, layout: $ } = this, k = B(g, G), A = k === void 0 ? g : l ? j(k, l) : k, R = G?.[m] ?? A, V =
|
|
1271
|
-
return K ?
|
|
1271
|
+
_renderCommand({ active: e, afterCreate: t, afterRemoved: o, afterUpdate: s, appearance: n, icon: u, disabled: a, id: r, kind: d, labelKey: g, labelParameters: l, loading: f, tooltipKey: m, iconFlipRTL: C, onClick: y, refKey: S, textEnabled: w, renderAsAction: K }) {
|
|
1272
|
+
const { _messages: G, _refMap: H, layout: $ } = this, k = B(g, G), A = k === void 0 ? g : l ? j(k, l) : k, R = G?.[m] ?? A, V = S ? F(H, S, O) : this.#n, x = { afterCreate: t, afterRemoved: o, afterUpdate: s };
|
|
1273
|
+
return K ? b`<arcgis-toolbar-action .active=${e} .appearance=${n} .disabled=${a} .icon=${u} .iconFlipRtl=${C} id=${r ?? D} .kind=${d} .loading=${f} .labelText=${$ === "horizontal" ? A : ""} .textEnabled=${w} .tooltipText=${$ === "horizontal" && w ? "" : R} @arcgisToolbarItemSelected=${y} ${W(x)} ${P(V)}></arcgis-toolbar-action>` : b`<arcgis-toolbar-item .active=${e} .disabled=${a} .icon=${u} id=${r ?? D} .iconFlipRtl=${C} .labelText=${A} .tooltipText=${R} @arcgisItemSelected=${y} ${W(x)} ${P(V)}></arcgis-toolbar-item>`;
|
|
1272
1274
|
}
|
|
1273
1275
|
}
|
|
1274
1276
|
N("arcgis-sketch", Ve);
|