@arcgis/map-components 6.0.0-next.27 → 6.0.0-next.29
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/{74WM2EIB.js → 2AMSAAH4.js} +1 -1
- package/dist/cdn/{A5IFDSOU.js → 2GV5JA27.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/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/A6DDWCVW.js +2 -0
- package/dist/cdn/AGXUHDNS.js +2 -0
- package/dist/cdn/AKIHNM7C.js +2 -0
- package/dist/cdn/APCXGAD5.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/{NTT5IV4A.js → CGGVQCCL.js} +1 -1
- package/dist/cdn/CNXH745H.js +2 -0
- package/dist/cdn/{DFZ22GLY.js → COC7IS2Z.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/FAPDKS2C.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/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/J6ZEZ4NE.js +2 -0
- package/dist/cdn/{4FFEPX2D.js → JJXJPZUK.js} +1 -1
- 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/NXLWTRS6.js +3 -0
- 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/PD7SLPIK.js +2 -0
- package/dist/cdn/PJIES74D.js +2 -0
- package/dist/cdn/PLDTM6JH.js +2 -0
- package/dist/cdn/PMXSSYFB.js +2 -0
- package/dist/cdn/{T4Z2B3T7.js → PSPUWCU5.js} +1 -1
- package/dist/cdn/PSTG4I4W.js +2 -0
- package/dist/cdn/Q2KWXSLQ.js +2 -0
- package/dist/cdn/{47CFYOUT.js → Q7CJUHNT.js} +1 -1
- package/dist/cdn/{XTCYIS4Z.js → R2FI35AK.js} +1 -1
- 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/UZXVNOOD.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/cdn/main.css +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/layer-list-next.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 +32 -25
- 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 +1 -1
- 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 +2 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- 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 +63 -60
- 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 +144 -138
- package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
- package/dist/components/arcgis-presentation/customElement.js +74 -75
- 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 +6 -6
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +17 -10
- 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 +2 -2
- 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 +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +7 -7
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +8 -5
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +51 -43
- 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 +20 -4
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +25 -33
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +13 -13
- package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +23 -16
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +70 -62
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- 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 +19 -1
- package/dist/components/arcgis-video/customElement.js +7 -4
- package/dist/components/arcgis-video-player/customElement.d.ts +17 -0
- package/dist/components/arcgis-video-player/customElement.js +60 -52
- 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/index.d.ts +0 -4
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +1 -6
- package/dist/types/preact.d.ts +1 -7
- package/dist/types/react.d.ts +1 -8
- package/dist/types/stencil.d.ts +1 -6
- package/package.json +6 -6
- 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/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/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/FMLDKHWP.js +0 -3
- package/dist/cdn/G2ACNJGG.js +0 -2
- package/dist/cdn/GIQT67VT.js +0 -2
- package/dist/cdn/H66E4VOY.js +0 -2
- package/dist/cdn/HL6WL2YA.js +0 -2
- package/dist/cdn/HTONXZBP.js +0 -2
- package/dist/cdn/HUWIY53T.js +0 -2
- package/dist/cdn/IJ7EV66N.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/KJISACOI.js +0 -2
- package/dist/cdn/L4WLEN3C.js +0 -2
- package/dist/cdn/LILX2DJE.js +0 -2
- package/dist/cdn/LP4ETJF7.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/PXDX3LCI.js +0 -2
- package/dist/cdn/Q2GYNZYQ.js +0 -2
- package/dist/cdn/QET5SVDO.js +0 -2
- package/dist/cdn/QUPDTNAC.js +0 -2
- package/dist/cdn/R5PT7JNG.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/RSKBANQ5.js +0 -2
- package/dist/cdn/RT53VCER.js +0 -2
- package/dist/cdn/T3MDSQ3T.js +0 -2
- package/dist/cdn/TDQYO6FQ.js +0 -2
- package/dist/cdn/TKD5T5DW.js +0 -2
- package/dist/cdn/UB6BQW3G.js +0 -2
- package/dist/cdn/UFDB6U6V.js +0 -2
- package/dist/cdn/UI5E3MX7.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/ZJPYW3TN.js +0 -2
- package/dist/cdn/ZKKZQVJT.js +0 -2
- package/dist/components/arcgis-feature-form-field/customElement.d.ts +0 -189
- package/dist/components/arcgis-feature-form-field/index.d.ts +0 -1
- package/dist/components/arcgis-feature-form-field/types.d.ts +0 -7
- package/dist/components/arcgis-feature-form-field-number/customElement.d.ts +0 -4
- package/dist/components/arcgis-feature-form-field-number/index.d.ts +0 -1
|
@@ -356,129 +356,129 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
356
356
|
* label: "Date created",
|
|
357
357
|
* visible: true
|
|
358
358
|
* }]
|
|
359
|
-
* }
|
|
359
|
+
* },
|
|
360
360
|
* container: document.getElementById("tableDiv")
|
|
361
361
|
* });
|
|
362
362
|
*/
|
|
363
363
|
accessor hiddenFields: Collection<string>;
|
|
364
364
|
/**
|
|
365
|
-
* Indicates whether to
|
|
365
|
+
* Indicates whether to hide descriptions in the header cells of individual columns.
|
|
366
366
|
*
|
|
367
367
|
* @default false
|
|
368
368
|
*/
|
|
369
369
|
accessor hideColumnDescriptions: boolean;
|
|
370
370
|
/**
|
|
371
|
-
* Indicates whether to
|
|
371
|
+
* Indicates whether to hide the 'Sort Ascending' menu item in column menus.
|
|
372
372
|
*
|
|
373
373
|
* @default false
|
|
374
374
|
* @since 5.0
|
|
375
375
|
*/
|
|
376
376
|
accessor hideColumnMenuItemsSortAscending: boolean;
|
|
377
377
|
/**
|
|
378
|
-
* Indicates whether to
|
|
378
|
+
* Indicates whether to hide the 'Sort Descending' menu item in column menus.
|
|
379
379
|
*
|
|
380
380
|
* @default false
|
|
381
381
|
* @since 5.0
|
|
382
382
|
*/
|
|
383
383
|
accessor hideColumnMenuItemsSortDescending: boolean;
|
|
384
384
|
/**
|
|
385
|
-
* Indicates whether to
|
|
385
|
+
* Indicates whether to hide the menu items within the individual columns.
|
|
386
386
|
*
|
|
387
387
|
* @default false
|
|
388
388
|
*/
|
|
389
389
|
accessor hideColumnMenus: boolean;
|
|
390
390
|
/**
|
|
391
|
-
* Indicates whether to
|
|
391
|
+
* Indicates whether to hide the column visibility menu in the table header.
|
|
392
392
|
*
|
|
393
393
|
* @default false
|
|
394
394
|
* @since 5.1
|
|
395
395
|
*/
|
|
396
396
|
accessor hideColumnVisibilityMenu: boolean;
|
|
397
397
|
/**
|
|
398
|
-
* Indicates whether to
|
|
398
|
+
* Indicates whether to hide the filter in the column visibility menu.
|
|
399
399
|
*
|
|
400
400
|
* @default false
|
|
401
401
|
* @since 5.1
|
|
402
402
|
*/
|
|
403
403
|
accessor hideColumnVisibilityMenuItemsFilter: boolean;
|
|
404
404
|
/**
|
|
405
|
-
* Indicates whether to
|
|
405
|
+
* Indicates whether to hide the header in the column visibility menu.
|
|
406
406
|
*
|
|
407
407
|
* @default false
|
|
408
408
|
* @since 5.1
|
|
409
409
|
*/
|
|
410
410
|
accessor hideColumnVisibilityMenuItemsHeader: boolean;
|
|
411
411
|
/**
|
|
412
|
-
* Indicates whether to
|
|
412
|
+
* Indicates whether to hide the 'toggle all' button in the column visibility menu.
|
|
413
413
|
*
|
|
414
414
|
* @default false
|
|
415
415
|
* @since 5.1
|
|
416
416
|
*/
|
|
417
417
|
accessor hideColumnVisibilityMenuItemsToggleAll: boolean;
|
|
418
418
|
/**
|
|
419
|
-
* Indicates whether to
|
|
419
|
+
* Indicates whether to hide the feature table's header.
|
|
420
420
|
*
|
|
421
421
|
* @default false
|
|
422
422
|
* @since 5.0
|
|
423
423
|
*/
|
|
424
424
|
accessor hideHeader: boolean;
|
|
425
425
|
/**
|
|
426
|
-
* Indicates whether to
|
|
426
|
+
* Indicates whether to hide layer-specific icons in the layer drop down menu.
|
|
427
427
|
*
|
|
428
428
|
* @default false
|
|
429
429
|
*/
|
|
430
430
|
accessor hideLayerDropdownIcons: boolean;
|
|
431
431
|
/**
|
|
432
|
-
* Indicates whether to
|
|
432
|
+
* Indicates whether to hide the feature table's menu.
|
|
433
433
|
*
|
|
434
434
|
* @default false
|
|
435
435
|
* @since 5.0
|
|
436
436
|
*/
|
|
437
437
|
accessor hideMenu: boolean;
|
|
438
438
|
/**
|
|
439
|
-
* Indicates whether to
|
|
439
|
+
* Indicates whether to hide the 'Clear selection' menu item.
|
|
440
440
|
*
|
|
441
441
|
* @default false
|
|
442
442
|
* @since 5.0
|
|
443
443
|
*/
|
|
444
444
|
accessor hideMenuItemsClearSelection: boolean;
|
|
445
445
|
/**
|
|
446
|
-
* Indicates whether to
|
|
446
|
+
* Indicates whether to hide the 'Delete Selection' menu item.
|
|
447
447
|
*
|
|
448
448
|
* @default false
|
|
449
449
|
* @since 5.0
|
|
450
450
|
*/
|
|
451
451
|
accessor hideMenuItemsDeleteSelection: boolean;
|
|
452
452
|
/**
|
|
453
|
-
* Indicates whether to
|
|
453
|
+
* Indicates whether to hide the 'Export selection to CSV' menu item.
|
|
454
454
|
*
|
|
455
455
|
* @default false
|
|
456
456
|
* @since 5.0
|
|
457
457
|
*/
|
|
458
458
|
accessor hideMenuItemsExportSelectionToCsv: boolean;
|
|
459
459
|
/**
|
|
460
|
-
* Indicates whether to
|
|
460
|
+
* Indicates whether to hide the 'Refresh data' menu item.
|
|
461
461
|
*
|
|
462
462
|
* @default false
|
|
463
463
|
* @since 5.0
|
|
464
464
|
*/
|
|
465
465
|
accessor hideMenuItemsRefreshData: boolean;
|
|
466
466
|
/**
|
|
467
|
-
* Indicates whether to toggle between showing only selected records in the table
|
|
467
|
+
* Indicates whether to hide the toggle between showing only selected records in the table and showing all of the records.
|
|
468
468
|
*
|
|
469
469
|
* @default false
|
|
470
470
|
* @since 5.0
|
|
471
471
|
*/
|
|
472
472
|
accessor hideMenuItemsSelectedRecordsShowAllToggle: boolean;
|
|
473
473
|
/**
|
|
474
|
-
* Indicates whether to
|
|
474
|
+
* Indicates whether to hide the 'Show selected records' menu item.
|
|
475
475
|
*
|
|
476
476
|
* @default false
|
|
477
477
|
* @since 5.0
|
|
478
478
|
*/
|
|
479
479
|
accessor hideMenuItemsSelectedRecordsShowSelectedToggle: boolean;
|
|
480
480
|
/**
|
|
481
|
-
* Indicates whether to
|
|
481
|
+
* Indicates whether to hide the column visibility menu in the table header.
|
|
482
482
|
*
|
|
483
483
|
* @deprecated since 5.1. Use the 'hideColumnVisibilityMenu' property instead.
|
|
484
484
|
* @default false
|
|
@@ -486,20 +486,20 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
486
486
|
*/
|
|
487
487
|
accessor hideMenuItemsToggleColumns: boolean;
|
|
488
488
|
/**
|
|
489
|
-
* Indicates whether to
|
|
489
|
+
* Indicates whether to hide the 'Zoom to selection' menu item.
|
|
490
490
|
*
|
|
491
491
|
* @default false
|
|
492
492
|
* @since 5.0
|
|
493
493
|
*/
|
|
494
494
|
accessor hideMenuItemsZoomToSelection: boolean;
|
|
495
495
|
/**
|
|
496
|
-
* Indicates whether to
|
|
496
|
+
* Indicates whether to hide the progress indicator when the table is querying or syncing data.
|
|
497
497
|
*
|
|
498
498
|
* @default false
|
|
499
499
|
*/
|
|
500
500
|
accessor hideProgress: boolean;
|
|
501
501
|
/**
|
|
502
|
-
* Indicates whether to
|
|
502
|
+
* Indicates whether to hide the selection column in the table.
|
|
503
503
|
* Each row has a checkbox that selects its corresponding feature.
|
|
504
504
|
*
|
|
505
505
|
* @default false
|
|
@@ -507,7 +507,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
507
507
|
*/
|
|
508
508
|
accessor hideSelectionColumn: boolean;
|
|
509
509
|
/**
|
|
510
|
-
* Indicates whether to
|
|
510
|
+
* Indicates whether to hide the tooltip for the Show/hide columns button.
|
|
511
511
|
*
|
|
512
512
|
* @default false
|
|
513
513
|
*/
|
|
@@ -581,7 +581,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
581
581
|
*/
|
|
582
582
|
get isSyncingAttachments(): boolean;
|
|
583
583
|
/**
|
|
584
|
-
* The
|
|
584
|
+
* The component's label.
|
|
585
585
|
*
|
|
586
586
|
* @since 4.11
|
|
587
587
|
*/
|
|
@@ -1248,7 +1248,7 @@ export abstract class ArcgisFeatureTable extends LitElement {
|
|
|
1248
1248
|
readonly arcgisCellDblClick: import("@arcgis/lumina").TargetedEvent<this, TableInteractionCellDblclickEvent>;
|
|
1249
1249
|
/** Fires when a key is pressed down within a cell within the table. */
|
|
1250
1250
|
readonly arcgisCellKeydown: import("@arcgis/lumina").TargetedEvent<this, TableInteractionCellKeydownEvent>;
|
|
1251
|
-
/** Fires when the mouse pointer is moved out of a cell within the table. This event is useful for scenarios
|
|
1251
|
+
/** Fires when the mouse pointer is moved out of a cell within the table. This event is useful for scenarios like highlighting a feature in the view, while hovering, without requiring manual interaction to select a row. Another example: these events can also be used to show information about the cell in a tooltip attached to the mouse. */
|
|
1252
1252
|
readonly arcgisCellPointerout: import("@arcgis/lumina").TargetedEvent<this, TableInteractionCellPointeroutEvent>;
|
|
1253
1253
|
/** Fires when the mouse pointer is moved over a cell within the table. */
|
|
1254
1254
|
readonly arcgisCellPointerover: import("@arcgis/lumina").TargetedEvent<this, TableInteractionCellPointeroverEvent>;
|
|
@@ -15,7 +15,7 @@ import { usePropertyChange as D } from "@arcgis/lumina/controllers";
|
|
|
15
15
|
import { watch as f } from "@arcgis/core/core/reactiveUtils.js";
|
|
16
16
|
import { debounce as L } from "@arcgis/toolkit/function";
|
|
17
17
|
import { g as E } from "../../chunks/async-utils.js";
|
|
18
|
-
const U = g`:host{display:flex;position:relative;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.filter-no-results{padding:var(--calcite-
|
|
18
|
+
const U = g`:host{display:flex;position:relative;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.filter-no-results{padding:var(--calcite-space-md) var(--calcite-space-lg)}.root{display:flex;flex:1 1 auto;overflow:hidden auto;transition:max-height .25s ease-in-out}.root>*{width:100%;box-sizing:border-box}.feature-template-tabs{--calcite-tab-background-color: transparent}`;
|
|
19
19
|
var I = Object.defineProperty, C = Object.getOwnPropertyDescriptor, a = (t, e, i, r) => {
|
|
20
20
|
for (var n = r > 1 ? void 0 : r ? C(e, i) : e, p = t.length - 1, c; p >= 0; p--)
|
|
21
21
|
(c = t[p]) && (n = (r ? c(e, i, n) : c(n)) || n);
|
|
@@ -8,7 +8,7 @@ import { formatNumber as w, substitute as $ } from "@arcgis/core/intl.js";
|
|
|
8
8
|
import { renderElement as u, safeClassMap as b } from "@arcgis/lumina";
|
|
9
9
|
import { u as F } from "../../chunks/useT9n.js";
|
|
10
10
|
import { i as m } from "../../chunks/layer-utils.js";
|
|
11
|
-
const _ = g`:host{position:relative;flex:1 1 auto}.list-item--hidden{display:none}.feature-observer{bottom:var(--calcite-
|
|
11
|
+
const _ = g`:host{position:relative;flex:1 1 auto}.list-item--hidden{display:none}.feature-observer{bottom:var(--calcite-space-2xl);position:relative;text-align:center;z-index:2}.loading-container{display:flex;justify-content:center;padding:var(--calcite-space-md) 0;width:100%}.notice-container{margin-bottom:var(--calcite-space-xs)}`, A = "nested";
|
|
12
12
|
class v extends y {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments), this._messagesFeature = F({ name: "feature", blocking: !0 }), this.autoDestroyDisabled = !1, this.displayCount = 3, this.useFeatureNextFlowItem = !1, this.includeDefaultActions = !1, this.flowType = "feature-utility-network-association-type";
|
|
@@ -16,7 +16,7 @@ import { LitElement as B, renderElement as q } from "@arcgis/lumina";
|
|
|
16
16
|
import { debounce as L } from "@arcgis/toolkit/function";
|
|
17
17
|
import O from "@arcgis/core/popup/FeatureModel.js";
|
|
18
18
|
import { u as $ } from "../../chunks/useT9n.js";
|
|
19
|
-
const R = V`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-
|
|
19
|
+
const R = V`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-space-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-space-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`, N = 100, S = {
|
|
20
20
|
assetGroup: "assetgroup",
|
|
21
21
|
assetType: "assettype"
|
|
22
22
|
}, M = "{00000000-0000-0000-0000-000000000000}";
|
|
@@ -26,10 +26,10 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
26
26
|
* the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) opens within the map whether it is docked
|
|
27
27
|
* or anchored to the selected feature.
|
|
28
28
|
* With the Features component, the same information that Popup provides is shown in a separate container from the map, such as
|
|
29
|
-
*
|
|
29
|
+
* an HTML div within a Calcite Design System
|
|
30
30
|
* [Shell Panel](https://developers.arcgis.com/calcite-design-system/components/shell-panel/).
|
|
31
31
|
*
|
|
32
|
-
* If multiple features are passed into the Features component, the component provides buttons to page
|
|
32
|
+
* If multiple features are passed into the Features component, the component provides buttons to page through the features and a feature menu that allows the
|
|
33
33
|
* list of features to be displayed so the user can choose which feature content to display in the component. The component also respects
|
|
34
34
|
* feature reduction PopupTemplates for [binning](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/#popupTemplate) and [clustering](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#popupTemplate).
|
|
35
35
|
*
|
|
@@ -222,7 +222,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
222
222
|
* ```js
|
|
223
223
|
* // This title will display in the component unless a selected feature's
|
|
224
224
|
* // PopupTemplate overrides it.
|
|
225
|
-
* featuresComponent.
|
|
225
|
+
* featuresComponent.heading = "Population by zip codes in Southern California";
|
|
226
226
|
* ```
|
|
227
227
|
*/
|
|
228
228
|
accessor heading: string | null | undefined;
|
|
@@ -366,7 +366,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
366
366
|
*/
|
|
367
367
|
accessor hideUtilityNetworkContent: boolean;
|
|
368
368
|
/**
|
|
369
|
-
* Indicates whether to
|
|
369
|
+
* Indicates whether to disable highlighting the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/#selectedFeature) in the associated
|
|
370
370
|
* [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
371
371
|
*
|
|
372
372
|
* @default false
|
|
@@ -381,7 +381,7 @@ export abstract class ArcgisFeatures extends LitElement {
|
|
|
381
381
|
*/
|
|
382
382
|
accessor icon: IconName | undefined;
|
|
383
383
|
/**
|
|
384
|
-
* Indicates whether to
|
|
384
|
+
* Indicates whether to disable the default actions in the component.
|
|
385
385
|
* In order to disable any default actions, it is necessary to set `includeDefaultActionsDisabled` to `true`.
|
|
386
386
|
*
|
|
387
387
|
* @default false
|
|
@@ -21,7 +21,7 @@ import X from "@arcgis/core/support/actions/ActionButton.js";
|
|
|
21
21
|
import { createRef as b, ref as w } from "lit/directives/ref.js";
|
|
22
22
|
import { b as J, a as Q, c as Y } from "../../chunks/keyboard-utils.js";
|
|
23
23
|
import { g as ee } from "../../chunks/async-utils.js";
|
|
24
|
-
const te = R`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-
|
|
24
|
+
const te = R`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-border-color: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty,.content-hidden){padding:var(--arcgis-internal-padding-md, var(--calcite-space-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-space-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-space-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-space-2xs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-space-lg);width:var(--calcite-space-lg);height:var(--calcite-space-lg)}.action-image{flex:0 0 var(--calcite-space-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-space-lg);height:var(--calcite-space-lg)}.header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.content-feature{--calcite-flow-item-footer-padding: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-space-2xl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}`, ie = new X({
|
|
25
25
|
icon: "magnifying-glass-plus",
|
|
26
26
|
id: "zoom-to-feature",
|
|
27
27
|
title: "{messages.zoom}"
|
|
@@ -389,35 +389,35 @@ class ae extends Z {
|
|
|
389
389
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
390
390
|
}
|
|
391
391
|
_renderContentFeature() {
|
|
392
|
-
const { headingLevel: e, hideCloseButton: t, _isCollapsed: s, _collapseEnabled: i, _featureFlowItemSelected: n, featureNavigationTop: o, flowItems: l, initialDisplayMode: c, selectedFeature: f, hideHeading:
|
|
392
|
+
const { headingLevel: e, hideCloseButton: t, _isCollapsed: s, _collapseEnabled: i, _featureFlowItemSelected: n, featureNavigationTop: o, flowItems: l, initialDisplayMode: c, selectedFeature: f, hideHeading: v } = this, { active: g, selectedFeatureViewModel: p, content: m } = this.viewModel, d = this._getHeading();
|
|
393
393
|
if (c === "list" && !f)
|
|
394
394
|
return null;
|
|
395
395
|
const _ = l.length === 0 && n, $ = p ? !p.content : !m;
|
|
396
396
|
return a`<calcite-flow-item class=${I(y({
|
|
397
397
|
"content-feature": !0,
|
|
398
398
|
"flow-item-collapsed": s
|
|
399
|
-
}))} .closable=${!t} .closed=${!
|
|
399
|
+
}))} .closable=${!t} .closed=${!g} .collapsed=${s} .collapseDirection=${this.collapseDirection ?? (o ? "down" : "up")} .collapsible=${i} .headingLevel=${e} .selected=${_} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${!v && d ? V(d) : void 0} ${w(this._rootFlowItemNode)}>${!v && d ? a`<div slot=heading><div .innerHTML=${F.sanitize(d ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${I(y("container", "content-container", {
|
|
400
400
|
"content-hidden": $
|
|
401
401
|
}))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
402
402
|
}
|
|
403
403
|
_renderFeatureMenuContainer() {
|
|
404
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: s, messages: i, initialDisplayMode: n, featureMenuOpen: o, _featureFlowItemSelected: l, _collapseEnabled: c, _isCollapsed: f, featureNavigationTop:
|
|
404
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: s, messages: i, initialDisplayMode: n, featureMenuOpen: o, _featureFlowItemSelected: l, _collapseEnabled: c, _isCollapsed: f, featureNavigationTop: v, headingLevel: g } = this, { active: p, featureViewModels: m, streamingFeatures: d, pendingPromisesCount: _ } = e, $ = _ > 0 || d, N = s ?? i.selectFeature;
|
|
405
405
|
if (n === "feature" && !o)
|
|
406
406
|
return null;
|
|
407
407
|
const O = !l;
|
|
408
408
|
return a`<calcite-flow-item class=${I(y({
|
|
409
409
|
"flow-item-collapsed": f
|
|
410
|
-
}))} .closable=${n === "list" && !t} .closed=${!p} .collapsed=${n === "list" && f} .collapseDirection=${this.collapseDirection ?? (
|
|
410
|
+
}))} .closable=${n === "list" && !t} .closed=${!p} .collapsed=${n === "list" && f} .collapseDirection=${this.collapseDirection ?? (v ? "down" : "up")} .collapsible=${n === "list" && c} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} .description=${this.hideFeatureMenuHeading ? void 0 : u(i.total ?? "", {
|
|
411
411
|
total: m.length
|
|
412
|
-
})} .heading=${this.hideFeatureMenuHeading ? void 0 : N} .headingLevel=${
|
|
412
|
+
})} .heading=${this.hideFeatureMenuHeading ? void 0 : N} .headingLevel=${g} .loading=${e.waitingForContents} .selected=${O} @calciteFlowItemBack=${(S) => {
|
|
413
413
|
S.preventDefault(), this._handleFeatureMenuBack();
|
|
414
414
|
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${w(this._featureMenuViewportNode)}>${n === "list" ? this._renderHeaderActions() : null}${$ ? a`<calcite-loader class="loader" inline .label=${i.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${w(this._featureMenuIntersectionObserverCreated)}></div>${n === "feature" ? a`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${i.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
415
415
|
}
|
|
416
416
|
_renderFlowItem(e, t) {
|
|
417
|
-
const { messages: s, hideCloseButton: i, hideSelectFeature: n, active: o, hideHeading: l } = this, c = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, f = c && !n,
|
|
417
|
+
const { messages: s, hideCloseButton: i, hideSelectFeature: n, active: o, hideHeading: l } = this, c = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, f = c && !n, v = e.flowType === "feature-association", g = s.returnToInitialFeature ?? "", p = s?.selectFeature, m = this._getActionTitle(M), d = !this.hideActionBar && v && c;
|
|
418
418
|
return a`<calcite-flow-item .closable=${!i} .closed=${!o} .description=${V(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${l ? void 0 : V(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(_) => {
|
|
419
419
|
_.preventDefault(), this._handleDrillInBackClick();
|
|
420
|
-
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${l ? null : a`<div slot=heading><div .innerHTML=${F.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${F.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${
|
|
420
|
+
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${l ? null : a`<div slot=heading><div .innerHTML=${F.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${F.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${g ?? ""} title=${g ?? "" ?? h}></calcite-action>${f ? a`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${p ?? ""} title=${p ?? h}></calcite-action>` : null}${d ? a`<calcite-action-bar expand-toggle-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${M.disabled} .icon=${M.icon ?? void 0} .loading=${M.active} scale=s text-enabled .text=${m} title=${m ?? h} @click=${() => G(this.viewModel, M, e.viewModel)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div></calcite-flow-item>`;
|
|
421
421
|
}
|
|
422
422
|
_renderContentContainer() {
|
|
423
423
|
const e = this.flowItems?.toArray(), t = e?.map((i, n) => this._renderFlowItem(i, this._featureFlowItemSelected && n === e.length - 1)), s = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(), t] : [this._renderContentFeature(), t, this._renderFeatureMenuContainer()];
|
|
@@ -31,7 +31,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
31
31
|
* With the Features (next) component, the same information that Popup provides is shown in a separate container from the map, such as a Calcite Design System
|
|
32
32
|
* [Shell Panel](https://developers.arcgis.com/calcite-design-system/components/shell-panel/).
|
|
33
33
|
*
|
|
34
|
-
* If multiple features are passed into the Features (next) component, the component provides buttons to page
|
|
34
|
+
* If multiple features are passed into the Features (next) component, the component provides buttons to page through the features and a feature menu that allows the
|
|
35
35
|
* list of features to be displayed so the user can choose which feature content to display in the component. The component also respects
|
|
36
36
|
* feature reduction PopupTemplates for [binning](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionBinning/#popupTemplate) and [clustering](https://developers.arcgis.com/javascript/latest/references/core/layers/support/FeatureReductionCluster/#popupTemplate).
|
|
37
37
|
*
|
|
@@ -231,7 +231,7 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
231
231
|
* ```js
|
|
232
232
|
* // This title will display in the component unless a selected feature's
|
|
233
233
|
* // PopupTemplate overrides it.
|
|
234
|
-
* featuresComponent.
|
|
234
|
+
* featuresComponent.heading = "Population by zip codes in Southern California";
|
|
235
235
|
* ```
|
|
236
236
|
*/
|
|
237
237
|
accessor heading: string | null | undefined;
|
|
@@ -378,7 +378,7 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
378
378
|
*/
|
|
379
379
|
accessor hideUtilityNetworkContent: boolean | undefined;
|
|
380
380
|
/**
|
|
381
|
-
* Indicates whether to
|
|
381
|
+
* Indicates whether to disable highlighting the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#selectedFeature) in the associated
|
|
382
382
|
* [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) component.
|
|
383
383
|
*
|
|
384
384
|
* @default false
|
|
@@ -392,7 +392,7 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
392
392
|
*/
|
|
393
393
|
accessor icon: IconName | undefined;
|
|
394
394
|
/**
|
|
395
|
-
* Indicates whether to
|
|
395
|
+
* Indicates whether to disable the default actions in the component.
|
|
396
396
|
* In order to disable any default actions, it is necessary to set `includeDefaultActionsDisabled` to `true`.
|
|
397
397
|
*
|
|
398
398
|
* @default false
|
|
@@ -14,16 +14,16 @@ import { initializeProjection as K } from "@arcgis/core/applications/Components/
|
|
|
14
14
|
import { t as j } from "../../chunks/action-utils.js";
|
|
15
15
|
import { m as G } from "../../chunks/useViewModel.js";
|
|
16
16
|
import { renderingSanitizer as w } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
17
|
-
import { stripHTML as
|
|
17
|
+
import { stripHTML as M } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
18
18
|
import { substitute as u, formatNumber as C } from "@arcgis/core/intl.js";
|
|
19
19
|
import { u as W } from "../../chunks/useT9n.js";
|
|
20
|
-
import { when as X, watch as
|
|
20
|
+
import { when as X, watch as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
21
21
|
import { getGraphicOriginTitle as J } from "@arcgis/core/graphic/getGraphicOriginTitle.js";
|
|
22
22
|
import { a as S } from "../../chunks/maybe.js";
|
|
23
23
|
import { b as Q, a as Y, c as ee } from "../../chunks/keyboard-utils.js";
|
|
24
24
|
import { g as R } from "../../chunks/feature-utils.js";
|
|
25
25
|
import { c as k } from "../../chunks/loader-utils.js";
|
|
26
|
-
const te = B`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-
|
|
26
|
+
const te = B`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-border-color: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty,.content-hidden){padding:var(--arcgis-internal-padding-md, var(--calcite-space-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-space-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-space-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-space-2xs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-space-lg);width:var(--calcite-space-lg);height:var(--calcite-space-lg)}.action-image{flex:0 0 var(--calcite-space-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-space-lg);height:var(--calcite-space-lg)}.content-feature{--calcite-flow-item-footer-padding: 0;--calcite-flow-header-top-space: 0}.feature-menu-observer{flex:0 0 1px;height:1px;margin-block-start:-1px}.action-exit{transform:scaleX(-1)}.flow-item-drill-in{--calcite-flow-item-footer-padding: 0}.diagnostics-notice{padding:var(--calcite-space-md)}`;
|
|
27
27
|
function ie(v) {
|
|
28
28
|
return v?.declaredClass.startsWith("esri.layers.") ?? !1;
|
|
29
29
|
}
|
|
@@ -73,7 +73,7 @@ class oe extends V {
|
|
|
73
73
|
}
|
|
74
74
|
get _headingLabel() {
|
|
75
75
|
const e = this._selectedFeatureHeading ?? this.heading;
|
|
76
|
-
return e ?
|
|
76
|
+
return e ? M(e) : void 0;
|
|
77
77
|
}
|
|
78
78
|
get _backLabel() {
|
|
79
79
|
const e = this._headingLabel, { messages: t } = this;
|
|
@@ -162,27 +162,28 @@ class oe extends V {
|
|
|
162
162
|
}
|
|
163
163
|
}),
|
|
164
164
|
X(() => [this.initialDisplayMode === "list" && !!this.viewModel?.selectedFeature, this.viewModel?.active], () => this._setFocusIfTrapEnabled()),
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
165
|
+
c(() => [this.flowItems?.length, this.featureMenuOpen], () => this._setFocusIfTrapEnabled()),
|
|
166
|
+
c(() => this.viewModel?.selectedFeatureIndex, (e, t) => this._selectedFeatureIndexUpdated(e, t)),
|
|
167
|
+
c(() => this.viewModel?.selectedFeature, () => this._removeFlowItems()),
|
|
168
|
+
c(() => this.viewModel?.view?.scale, () => this._viewScaleChange()),
|
|
169
|
+
c(() => this.viewModel?.view, (e, t) => t && this._viewChange()),
|
|
170
|
+
c(() => this._spinnerEl?.screenLocation, () => this._closeOpenActionMenu()),
|
|
171
|
+
c(() => this.selectedFeatureComponent?.viewModel, (e, t) => t && this._removeFlowItems()),
|
|
172
|
+
c(() => [this.viewModel?.features.at(0), this.viewModel?.featureCount ?? 0], ([e, t], i) => {
|
|
172
173
|
const [s, a] = i ?? [void 0, 0];
|
|
173
174
|
(e !== s || t < a) && this._featureMenuViewportScrollTop();
|
|
174
175
|
}),
|
|
175
|
-
|
|
176
|
+
c(() => [this.featureMenuOpen, this.initialDisplayMode, this.open], () => {
|
|
176
177
|
this.viewModel.featureMenuOpen = this.featureMenuOpen, this.open && (this.featureMenuOpen || this.initialDisplayMode === "list") && (this.viewModel.featurePage = 1);
|
|
177
178
|
}, { initial: !0 }),
|
|
178
|
-
|
|
179
|
-
|
|
179
|
+
c(() => this.flowItems.toArray(), () => this._handleFlowItemsChange(), { initial: !0 }),
|
|
180
|
+
c(() => this.viewModel.aggregatedFeaturesEnabled, (e) => {
|
|
180
181
|
e || (this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._removeFlowItems());
|
|
181
182
|
}),
|
|
182
|
-
|
|
183
|
+
c(() => this.referenceElement, (e, t) => {
|
|
183
184
|
this._removeSpinner(t), this._createSpinner();
|
|
184
185
|
}, { initial: !0 }),
|
|
185
|
-
|
|
186
|
+
c(() => [
|
|
186
187
|
this.hideSpinner,
|
|
187
188
|
this.viewModel?.view,
|
|
188
189
|
this.viewModel?.location,
|
|
@@ -218,8 +219,8 @@ class oe extends V {
|
|
|
218
219
|
const { features: e, featurePage: t, featuresPerPage: i } = this.viewModel, s = /* @__PURE__ */ new Map(), a = Math.min((t ?? 0) * i, e.length);
|
|
219
220
|
for (let o = 0; o < a; o++) {
|
|
220
221
|
const r = e[o], l = R(r), d = ie(l) ? l : null;
|
|
221
|
-
let
|
|
222
|
-
|
|
222
|
+
let h = s.get(d);
|
|
223
|
+
h || (h = [], s.set(d, h)), h.push(o);
|
|
223
224
|
}
|
|
224
225
|
return s;
|
|
225
226
|
}
|
|
@@ -287,7 +288,7 @@ class oe extends V {
|
|
|
287
288
|
_getActionLabel(e, t) {
|
|
288
289
|
if (e.id !== "zoom-to-feature")
|
|
289
290
|
return null;
|
|
290
|
-
const { messages: i } = this, s = t?.heading, a = t ? s &&
|
|
291
|
+
const { messages: i } = this, s = t?.heading, a = t ? s && M(s) : this._headingLabel;
|
|
291
292
|
return a ? u(i.zoomLabel ?? "", {
|
|
292
293
|
messages: i,
|
|
293
294
|
title: a
|
|
@@ -441,14 +442,14 @@ class oe extends V {
|
|
|
441
442
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
442
443
|
}
|
|
443
444
|
_renderContentFeature(e) {
|
|
444
|
-
const { headingLevel: t, hideCloseButton: i, _isCollapsed: s, _collapseEnabled: a, featureNavigationTop: o, initialDisplayMode: r, selectedFeature: l, hideHeading: d } = this, { active:
|
|
445
|
+
const { headingLevel: t, hideCloseButton: i, _isCollapsed: s, _collapseEnabled: a, featureNavigationTop: o, initialDisplayMode: r, selectedFeature: l, hideHeading: d } = this, { active: h, selectedFeatureItem: f, content: b } = this.viewModel, p = this._getHeading();
|
|
445
446
|
if (r === "list" && !l)
|
|
446
447
|
return null;
|
|
447
|
-
const F = !this._selectedFeaturePending && (f ? !f.content : !
|
|
448
|
+
const F = !this._selectedFeaturePending && (f ? !f.content : !b);
|
|
448
449
|
return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(I({
|
|
449
450
|
"content-feature": !0,
|
|
450
451
|
"flow-item-collapsed": s
|
|
451
|
-
}))} .closable=${!i} .closed=${!
|
|
452
|
+
}))} .closable=${!i} .closed=${!h} .collapsed=${s} .collapseDirection=${this.collapseDirection ?? (o ? "down" : "up")} .collapsible=${a} .headingLevel=${t} .selected=${e} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController || this._selectedFeatureLoading} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} @keydown=${this._onMainKeydown} .heading=${!d && p ? M(p) : void 0} ${m(this._rootFlowItemNode)}>${this._renderHeader()}${!d && p ? n`<div slot=heading><div .innerHTML=${w.sanitize(p ?? "") ?? ""}></div></div>` : null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${x(I("container", "content-container", {
|
|
452
453
|
"content-hidden": F
|
|
453
454
|
}))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
454
455
|
}
|
|
@@ -469,30 +470,30 @@ class oe extends V {
|
|
|
469
470
|
return i?.size ? n`<calcite-notice class="diagnostics-notice" open kind=info scale=s><span slot=title>${e.maxRecordCountHeading}</span><div slot=message>${i.size <= ne ? this._renderDiagnosticsList(i) : this._renderDiagnosticsMultipleLayers()}</div></calcite-notice>` : null;
|
|
470
471
|
}
|
|
471
472
|
_renderFeatureMenuContainer() {
|
|
472
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: a, featureMenuOpen: o, _featureFlowItemSelected: r, _collapseEnabled: l, _isCollapsed: d, featureNavigationTop:
|
|
473
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: i, messages: s, initialDisplayMode: a, featureMenuOpen: o, _featureFlowItemSelected: r, _collapseEnabled: l, _isCollapsed: d, featureNavigationTop: h, headingLevel: f } = this, { active: b, features: p, streamingFeatures: F } = e, $ = i ?? s.selectFeature, A = this._backLabel;
|
|
473
474
|
if (a === "feature" && !o)
|
|
474
475
|
return null;
|
|
475
476
|
const O = !r;
|
|
476
477
|
return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${x(I({
|
|
477
478
|
"flow-item-collapsed": d
|
|
478
|
-
}))} .closable=${!t} .closed=${!
|
|
479
|
+
}))} .closable=${!t} .closed=${!b} .collapsed=${a === "list" && d} .collapseDirection=${this.collapseDirection ?? (h ? "down" : "up")} .collapsible=${a === "list" && l} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand, back: A }} .description=${this.hideFeatureMenuHeading ? void 0 : u(s.total ?? "", {
|
|
479
480
|
total: p.length
|
|
480
481
|
})} .heading=${this.hideFeatureMenuHeading ? void 0 : $} .headingLevel=${f} .loading=${e.waitingForResult} .selected=${O} @calciteFlowItemBack=${(N) => {
|
|
481
482
|
N.preventDefault(), this._handleFeatureMenuBack();
|
|
482
483
|
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${m(this._featureMenuViewportNode)}>${a === "list" ? this._renderHeaderActions() : null}${F ? n`<calcite-loader class="loader" inline .label=${s.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}${this._renderDiagnostics()}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" aria-hidden=true ${m(this._featureMenuIntersectionObserverCreated)}></div>${a === "feature" ? n`<calcite-button scale=s appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full .label=${A} title=${A ?? g}>${s.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
483
484
|
}
|
|
484
485
|
_renderFlowItem(e, t) {
|
|
485
|
-
const { hideCloseButton: i, active: s, hideHeading: a, hideSelectFeature: o, messages: r } = this, l = r.returnToInitialFeature ?? "", d = r?.selectFeature,
|
|
486
|
+
const { hideCloseButton: i, active: s, hideHeading: a, hideSelectFeature: o, messages: r } = this, l = r.returnToInitialFeature ?? "", d = r?.selectFeature, h = "showAllEnabled" in e ? e.showAllEnabled : !1, f = e.flowType === "feature" || e.flowType === "feature-association" || e.flowType === "feature-relationship" && !h, p = e.flowType !== "feature" && f && "isFeatureFromTable" in e && !e.isFeatureFromTable && !o, F = e.flowType === "feature" && this.viewModel.aggregatedFeaturesEnabled ? n`<div class="footer" slot=footer>${this._renderPagination(() => {
|
|
486
487
|
this._aggregatedFeaturesComponent.value?.previous();
|
|
487
488
|
}, () => {
|
|
488
489
|
this._aggregatedFeaturesComponent.value?.next();
|
|
489
490
|
})}${this._renderFeaturePaginationText(this._aggregatedFeatureCount, this._selectedAggregatedFeatureIndex)}</div>` : null;
|
|
490
|
-
return n`<calcite-flow-item .closable=${!i} .closed=${!s} .focusTrapEnabled=${this.focusTrapEnabled} class="flow-item-drill-in" .description=${
|
|
491
|
+
return n`<calcite-flow-item .closable=${!i} .closed=${!s} .focusTrapEnabled=${this.focusTrapEnabled} class="flow-item-drill-in" .description=${M(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${a ? void 0 : M(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${($) => {
|
|
491
492
|
$.preventDefault(), this._handleDrillInBackClick();
|
|
492
493
|
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${a ? null : n`<div slot=heading><div .innerHTML=${w.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${w.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${l ?? ""} title=${l ?? "" ?? g}></calcite-action>${p ? n`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${d ?? ""} title=${d ?? g}></calcite-action>` : null}${f && this._renderActionBar(e) || ""}<div class="container">${e}</div>${F}</calcite-flow-item>`;
|
|
493
494
|
}
|
|
494
495
|
_renderContentContainer() {
|
|
495
|
-
const e = this.flowItems?.toArray(), t = e.length > 0, i = this.viewModel.aggregatedFeaturesEnabled && this.viewModel.selectedFeature?.isAggregate && !t, s = i && e.length === 0, a = e.length === 0 && this._featureFlowItemSelected && !i, o = e?.map((d,
|
|
496
|
+
const e = this.flowItems?.toArray(), t = e.length > 0, i = this.viewModel.aggregatedFeaturesEnabled && this.viewModel.selectedFeature?.isAggregate && !t, s = i && e.length === 0, a = e.length === 0 && this._featureFlowItemSelected && !i, o = e?.map((d, h) => this._renderFlowItem(d, this._featureFlowItemSelected && h === e.length - 1)), r = this._renderBrowseAggregateContainer(!!s), l = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(a)] : [this._renderContentFeature(a), this._renderFeatureMenuContainer()];
|
|
496
497
|
return n`<calcite-flow ${m(this._flowContainerNode)}>${l}${r}${o}</calcite-flow>`;
|
|
497
498
|
}
|
|
498
499
|
_renderBrowseAggregateContainer(e) {
|