@arcgis/map-components 6.0.0-next.27 → 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/{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/{FMLDKHWP.js → 3Y6GBQLR.js} +1 -1
- package/dist/cdn/4CBB6BPG.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/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/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/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/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/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 +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 +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 +6 -6
- 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-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 +1 -1
- 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-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 +1 -1
- 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 +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/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/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/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/ZKKZQVJT.js +0 -2
package/dist/cdn/Y6NC7ML3.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{R as o,_ as r,a as l,b as e}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:n}])=>{var c=l`:host{display:flex;flex-direction:column;height:100%}.layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm);display:flex;flex-direction:column;flex-grow:1;gap:var(--calcite-spacing-md)}.panel-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--calcite-spacing-sm)}.advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}`,a=class extends o{constructor(){super(...arguments),this.hideAdvancedOptions=!1,this.autoPopulateAuthor=!1,this.hideFeatureAttributes=!1,this.hideIncludeTables=!1}static{this.properties={_selectedTemplate:16,_showSelectedTemplateTitleText:16,hideAdvancedOptions:5,autoPopulateAuthor:5,viewModel:0,messages:0,showTemplateSelector:0,selectExportsTab:0,hideFeatureAttributes:5,hideIncludeTables:5}}static{this.styles=c}loaded(){this.manager.onLifecycle(()=>{let t,s=n(()=>this.viewModel.templateOptions.id,i=>{t?.remove(),this._selectedTemplate=i?this.viewModel.getLayoutTemplateById(i)??void 0:void 0,t=n(()=>this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasTitleText,()=>{this._showSelectedTemplateTitleText=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasTitleText??!0},{initial:!0})},{initial:!0});return()=>{s.remove(),t?.remove()}})}render(){return e`<section class="layout-section" tabindex=-1><div class="panel-container">${this._renderTitleInput()}${this._renderTemplateSelect()}${this._renderFileFormatSection()}${this._renderAdvancedSection()}</div>${this._renderExportButton()}</section>`}_renderTitleInput(){if(!this._showSelectedTemplateTitleText)return null;let{title:t,titlePlaceHolder:s}=this.messages;return e`<calcite-label>${t}<calcite-input .placeholder=${s} .value=${this.viewModel.templateOptions.title??""} @calciteInputInput=${i=>{this.viewModel.templateOptions.title=i.currentTarget.value}}></calcite-input></calcite-label>`}_renderTemplateSelect(){return e`<div><calcite-label>${this.messages.template}<arcgis-print-template-select .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector}></arcgis-print-template-select></calcite-label><arcgis-print-preview-input .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-preview-input></div>`}_renderFileFormatSection(){return e`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`}_renderAdvancedSection(){return this.hideAdvancedOptions?null:e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class="advanced-options-section" expandable .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .hideFeatureAttributes=${this.hideFeatureAttributes} .hideIncludeTables=${this.hideIncludeTables} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`}_renderExportButton(){return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title??void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`}};r("arcgis-print-layout-panel",a);return a},"core/reactiveUtils")
|
package/dist/cdn/Y7XSHXVA.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import d from"./DZIJPJS3.js";import{a as c}from"./5GFPOTOB.js";import b from"./HU57LQOA.js";import{a as $}from"./REB4CHAK.js";import"./Q7GF26CL.js";import"./U77WHUC6.js";import"./LXME6MU5.js";import{T as g,Y as u,_ as y,a as f,b as a}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{stripHTML:_},{formatNumber:A,substitute:F},{h:h},w])=>{var b=f`:host{position:relative;flex:1 1 auto}.list-item--hidden{display:none}.feature-observer{bottom:var(--calcite-spacing-xxl);position:relative;text-align:center;z-index:2}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.notice-container{margin-bottom:var(--calcite-spacing-xs)}`,v="nested",m=class extends w{constructor(){super(...arguments),this._messagesFeature=$({name:"feature",blocking:!0}),this.autoDestroyDisabled=!1,this.displayCount=3,this.useFeatureNextFlowItem=!1,this.includeDefaultActions=!1,this.flowType="feature-utility-network-association-type"}static{this.properties={autoDestroyDisabled:5,description:1,displayCount:9,flowItems:0,useFeatureNextFlowItem:5,actions:0,includeDefaultActions:5,flowType:1,heading:1,map:0,messageOverrides:0,referenceElement:1,spatialReference:0,timeZone:1,view:0}}static{this.styles=b}async destroy(){await this.manager.destroy()}_featureViewModelMatch(e,t){let i=e.graphic,s=i?.layer,o=null;h(s)&&s.parent?o=s.parent.globalIdField??null:s&&"globalIdField"in s&&(o=s.globalIdField);let r=o?i?.getAttribute(o):null,l=t.graphic,n=l?.layer,d=null;h(n)&&n.parent?d=n.parent.globalIdField??null:n&&"globalIdField"in n&&(d=n.globalIdField);let p=d?l?.getAttribute(d):null;return!!(r&&p&&r===p)}_findFlowItem(e){return this.flowItems?.findIndex(t=>{if(t.flowType!=="feature-association")return!1;let i=t.viewModel;return this._featureViewModelMatch(i,e)})??-1}_formatPercentAlong(e){let{percentAlong:t}=e;return t==null?"":A(t,{style:"percent",maximumFractionDigits:2})}async _handleFeatureClick(e,t,i){let{flowItems:s}=this;if(e){s?.destroyAll();return}if(t<0||!s){await this._selectAssociation(i);return}for(;s.length>t+1;)s.pop()}_isConnectivityAssociation(e){let{associationType:t}=e;return t==="connectivity"||t==="junction-junction-connectivity"||t==="junction-edge-from-connectivity"||t==="junction-edge-midspan-connectivity"||t==="junction-edge-to-connectivity"}_isConnectivityMidspanAssociation(e){return e.associationType==="junction-edge-midspan-connectivity"}_isParentFeature(e){let t=this.flowItems?.getItemAt(0);if(!t)return!1;let i=t.parentFeatureViewModel;return this._featureViewModelMatch(i,e)}async _selectAssociation(e){let{flowItems:t}=this;if(!t)return;let i=this.useFeatureNextFlowItem?u(c(this.parentFeatureViewModel,a`<arcgis-feature-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${"feature-association"} .graphic=${e.graphic} .includeDefaultActions=${this.includeDefaultActions} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-next>`)):u(c(this.parentFeatureViewModel,a`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${"feature-association"} .graphic=${e.graphic} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`));t.push(i)}_showAllAssociations(e){let{flowItems:t,description:i}=this;if(!t||!e)return;this.showAllEnabled=!0;let s=e?.title??"";t.push(u(a`<arcgis-feature-utility-network-association-list .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this.associationViewModels} .description=${i} .flowItems=${t} .flowType=${this.flowType} .heading=${s} .includeDefaultActions=${this.includeDefaultActions} .messageOverrides=${this.messageOverrides} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .selectedLayer=${e} .showAllEnabled=${this.showAllEnabled} .useFeatureNextFlowItem=${this.useFeatureNextFlowItem}></arcgis-feature-utility-network-association-list>`))}render(){let{associationViewModels:e,state:t}=this,i=this.selectedLayer?.title??this._messagesFeature.noTitle??"";return a`<div class="root">${t==="loading"||t==="querying"?this._renderLoading():a`<calcite-list .displayMode=${v} .filterEnabled=${this.showAllEnabled&&!!this.selectedLayer} .filterLabel=${this._messages.associationFilterPlaceholder} .filterPlaceholder=${this._messages.associationFilterPlaceholder} .label=${i}>${this.showAllEnabled&&this.selectedLayer?a`${this._renderFeatureCountWarning()}${this._renderAssociatedFeatureListPage()}${this._renderFeatureObserver()}`:Array.from(e.keys(),s=>this._renderTypeList(s))}</calcite-list>`}</div>`}_renderAssociatedFeature(e){let{featureViewModel:t,title:i}=e,s=this.state==="loading",o=this._findFlowItem(t),r=o<0&&this._isParentFeature(t),l=r||o>=0,n=`associated-feature-${e.association.globalId}`;return a`<calcite-list-item class=${g(s?"list-item--hidden":"")} .description=${_(e.terminalName??"")} .label=${_(i)} @calciteListItemSelect=${async()=>await this._handleFeatureClick(r,o,t)}>${this._isConnectivityAssociation(e.association)?this._renderConnectivityIcon(e.association.associationType,n):null}${this._isConnectivityMidspanAssociation(e.association)?a`<calcite-chip .label=${this._formatPercentAlong(e.association)} scale=s slot=content-end>${this._formatPercentAlong(e.association)}</calcite-chip>`:null}${this._renderChevronIconNode(l)}</calcite-list-item>`}_renderAssociatedFeatureList(e){return e.toArray().map(t=>this._renderAssociatedFeature(t))}_renderAssociatedFeatureListPage(){let e=this.associationViewModels.get(this.selectedLayer).slice(0,this.endIndex);return[...this._renderTooltips(e),...this._renderAssociatedFeatureList(e)]}_renderChevronIconNode(e){return a`<calcite-icon flip-rtl .icon=${e?"move-up":"chevron-right"} scale=s slot=content-end></calcite-icon>`}_renderItemTooltip(e){let{tooltipReferenceMap:t}=this,i=`associated-feature-${e.association.globalId}`;return this._isConnectivityAssociation(e.association)?a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(i)}>${this.getConnectivityTooltip(e.association.associationType)}</calcite-tooltip>`:null}_renderTypeList(e){let{displayCount:t}=this,i=this.associationViewModels.get(e),s=i.slice(0,t),o=s.length<i.length,r=F(this._messagesFeature.numberRecords??"",{number:i.length.toString()}),l=this._messagesFeature.showAll??"";return c("show-all",a`<calcite-list-item expanded .label=${e.title} .value=${e.id}><calcite-chip .label=${String(i.length)} scale=s slot=content-end>${i.length}</calcite-chip><calcite-list .group=${e.id} .label=${e.title??""}>${[this._renderTooltips(s),this._renderAssociatedFeatureList(s)]}${o?c("show-all-item",a`<calcite-list-item .description=${r} .label=${l} @calciteListItemSelect=${()=>this._showAllAssociations(e)}><calcite-icon icon=list scale=s slot=content-end></calcite-icon></calcite-list-item>`):null}</calcite-list></calcite-list-item>`)}_renderTooltips(e){return e.toArray().map(t=>this._renderItemTooltip(t))}};y("arcgis-feature-utility-network-association-list",m);return m},"applications/Components/stringUtils","intl",b,d)
|
package/dist/cdn/YBSEIOQX.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as t,b as a,c as u}from"./IM6IDWYR.js";import{a as h}from"./REB4CHAK.js";import"./Q7GF26CL.js";import"./U77WHUC6.js";import"./LXME6MU5.js";import{R as d,_ as m,a as l,b as s,x as r}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";var p=l`:host{--calcite-label-margin-bottom: initial;display:block;inline-size:100%}.time-zone-options{display:flex;flex-direction:column}.time-zone-indent{margin-inline-start:calc(var(--calcite-spacing-lg) * 1.5)}.time-zone-input{inline-size:100%;max-inline-size:100%;&:not([calcite-hydrated]){visibility:hidden}}.status{display:grid;grid-template-columns:min-content 1fr;align-items:start;gap:var(--calcite-spacing-sm);box-sizing:border-box;padding:var(--calcite-spacing-sm);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-2)}.status-text{margin:0}`,g=["device","data","specific"],n=class extends d{constructor(){super(...arguments),this._messages=h({blocking:!0}),this.disabled=!1,this.timeZone=t,this.visualScale="m",this.arcgisInternalTimeZoneChange=r({bubbles:!1,composed:!1})}static{this.properties={disabled:5,timeZone:1,visualScale:1}}static{this.styles=p}#e;get#a(){return this.timeZone===t?"device":this.timeZone===a?"data":"specific"}get#t(){return this.timeZone!==t&&this.timeZone!==a?this.timeZone:this.#e??u}willUpdate(i){i.has("timeZone")&&this.timeZone!==t&&this.timeZone!==a&&(this.#e=this.timeZone)}#i(i){i!==this.timeZone&&(this.timeZone=i,this.arcgisInternalTimeZoneChange.emit(i))}#s(i){switch(i.currentTarget.selectedItem?.value){case"device":this.#i(t);break;case"specific":this.#i(this.#t);break;case"data":this.#i(a);break}}#c(i){let e=i.currentTarget.value;e&&this.#i(e)}render(){let{_messages:i}=this,e=this.#a,o=e==="data"?i.dataStatus:e==="device"?i.deviceStatus:void 0;return s`<div class="time-zone-options"><calcite-radio-button-group .ariaLabel=${i.timeZone} .disabled=${this.disabled} layout=vertical name=time-zone-mode .scale=${this.visualScale} @calciteRadioButtonGroupChange=${this.#s}>${g.map(c=>s`<calcite-label layout=inline .scale=${this.visualScale}><calcite-radio-button .checked=${e===c} .disabled=${this.disabled} .value=${c}></calcite-radio-button>${i[c]}</calcite-label>`)}</calcite-radio-button-group><div class="time-zone-indent" .hidden=${e!=="specific"}><calcite-input-time-zone .ariaLabel=${i.specificTimeZone} class="time-zone-input" data-testid=time-zone-input .disabled=${this.disabled} mode=region overlay-positioning=fixed .scale=${this.visualScale} .value=${this.#t} @calciteInputTimeZoneChange=${this.#c}></calcite-input-time-zone></div>${o?s`<div class="status" aria-live=polite><calcite-icon aria-hidden icon=time-zone scale=s></calcite-icon><p class="status-text">${o}</p></div>`:void 0}</div>`}};m("arcgis-time-zone-selector",n);export{n as ArcgisTimeZoneSelector};
|
package/dist/cdn/YC7VLNKI.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{R as o,_ as d,a as s,b as t}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:c}])=>{var n=s`.table{display:flex;flex-direction:column;border-top:1px solid var(--calcite-color-border-1)}.row{display:flex;flex-direction:row;border-bottom:1px solid var(--calcite-color-border-1);border-right:1px solid var(--calcite-color-border-1)}.data{flex:1;border-left:1px solid var(--calcite-color-border-1);padding:5px}.empty-state{width:100%;max-inline-size:unset;transition-duration:0ms;margin-top:var(--calcite-spacing-md)}`,e=class extends o{constructor(){super(...arguments),this._disabled=!1,this._hasMetadata=!1,this._missionInfo={},this._platformInfo={},this._frameInfo={}}static{this.properties={_disabled:16,_hasMetadata:16,_missionInfo:16,_platformInfo:16,_frameInfo:16,viewModel:0,messages:0}}static{this.styles=n}loaded(){this.manager.onLifecycle(()=>[c(()=>this.viewModel.state,a=>{this._disabled=a==="not-ready"||a==="waiting"},{initial:!0}),c(()=>[this.viewModel.metadata?.missionInfo,this.viewModel.metadata?.platformInfo,this.viewModel.metadata?.frameInfo],()=>{let{metadata:a}=this.viewModel;if(this._hasMetadata=!!a,!this._hasMetadata)return;let{missionInfo:i,platformInfo:r,frameInfo:l}=a;this._missionInfo=i,this._platformInfo=r,this._frameInfo=l},{initial:!0})])}render(){let{messages:a}=this;return this._disabled||!this._hasMetadata?t`<calcite-tile class="empty-state" .description=${a.metadataDescription} .heading=${a.metadataNotLoaded}></calcite-tile>`:t`<calcite-block .heading=${a.metadata} expanded><calcite-accordion appearance=solid selection-mode=single><calcite-accordion-item .heading=${a.missionInfo}><div class="table">${Object.keys(this._missionInfo).map(i=>t`<div class="row"><div class="data">${i}</div><div class="data">${this._missionInfo[i]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${a.platformInfo}><div class="table">${Object.keys(this._platformInfo).map(i=>t`<div class="row"><div class="data">${i}</div><div class="data">${this._platformInfo[i]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${a.frameInfo}><div class="table">${Object.keys(this._frameInfo).map(i=>t`<div class="row"><div class="data">${i}</div><div class="data">${this._frameInfo[i]}</div></div>`)}</div></calcite-accordion-item></calcite-accordion></calcite-block>`}};d("arcgis-video-player-metadata",e);return e},"core/reactiveUtils")
|
package/dist/cdn/YITBBUPR.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as d}from"./XHOI3WNI.js";import{b as u}from"./Y6WTYXVP.js";import j from"./BOPNSNUT.js";import"./WJQUE4DR.js";import i from"./EJVFK7JX.js";import{a as w}from"./REB4CHAK.js";import h from"./7JPHMESH.js";import g from"./OLY5EME5.js";import{h as b}from"./Q7GF26CL.js";import"./U77WHUC6.js";import e from"./SI2DEXWH.js";import"./LXME6MU5.js";import{Q as c,R as v,_ as f,a as y,b as a,o,p as l,x as r}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([p,x,k,{when:_},C,,,,R,{a:g}])=>{var D=y`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}arcgis-utility-network-trace-inputs[mode=default]{height:auto}calcite-tabs{display:flex;flex-direction:column;height:100%}calcite-tab{--calcite-tab-content-space-y: 0;--calcite-panel-background-color: var(--calcite-color-background);min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-notice{margin:var(--calcite-spacing-md)}arcgis-utility-network-trace-results,slot[name=results]::slotted(arcgis-utility-network-trace-results){--arcgis-internal-trace-results-height: 100%;height:100%}slot[name=results]::slotted(:not(arcgis-utility-network-trace-results)){display:none}slot[name=results]::slotted([arcgis-hidden-results-slot-item]){display:none}.inputs-tab-container{display:flex;flex-direction:column;height:100%}.trace-inputs-warning{flex:none;height:fit-content;calcite-notice{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0}}`,P=R(C),$="arcgis-utility-network-trace-results",T="arcgis-hidden-results-slot-item",S=["actions","autoDestroyDisabled","aggregatedGeometryResultsGraphicsColor","aggregatedGeometryResultsSize","disableHighlightFeatureResults","hideActionBar","hideFeatureResults","hideGraphics","hidePlaceholder","includeDefaultActionsDisabled","messageOverrides","referenceElement","traceError","traceResult","view"],m=class extends v{constructor(){super(...arguments),this._messages=w({blocking:!0}),this.#i=P(this),this.#r=t=>{let{detail:e,target:i}=t;e.name==="hideGraphics"?(t.stopPropagation(),this.hideGraphics=i[e.name],this.arcgisHideGraphicsChange.emit(this.hideGraphics)):e.name==="aggregatedGeometryResultsGraphicsColor"?(t.stopPropagation(),this.aggregatedGeometryResultsGraphicsColor=i[e.name]):e.name==="aggregatedGeometryResultsSize"?(t.stopPropagation(),this.aggregatedGeometryResultsSize=i[e.name]):(e.name==="state"||e.name==="traceError"||e.name==="traceResult")&&t.stopPropagation()},this.#n=t=>{t.stopPropagation(),this.arcgisTraceResultClear.emit()},this.#o=t=>{t.stopPropagation(),this.arcgisTraceResultFeaturesReady.emit(),this.arcgisTraceResultReady.emit()},this.#a=t=>{t.stopPropagation(),this.arcgisTriggerAction.emit(t.detail)},this._activeTab="input",this._showMissingTerminalWarning=!1,this._showNoStartingPointsWarning=!1,this._slottedElements=[],this._mode="default",this.autoDestroyDisabled=!1,this.aggregatedGeometryResultsGraphicsColor=new p(d),this.aggregatedGeometryResultsSize=12,this.disableHighlightFeatureResults=!1,this.flowItems=new x,this.hideActionBar=!1,this.hideClearResultsCount=!1,this.hideGraphics=!1,this.hidePlaceholder=!1,this.hideFeatureResults=!1,this.includeDefaultActionsDisabled=!1,this.state=this.#i.state,this.view=this.#i.view,this.arcgisError=r(),this.arcgisHideGraphicsChange=r(),this.arcgisPropertyChange=b()("aggregatedGeometryResultsGraphicsColor","hideGraphics","state","traceError","traceResult"),this.arcgisReady=r(),this.arcgisTraceLocationSelectEnd=r(),this.arcgisTraceLocationSelectStart=r(),this.arcgisTraceResultClear=r(),this.arcgisTraceResultFeaturesReady=r(),this.arcgisTraceResultReady=r(),this.arcgisTriggerAction=r()}static{this.properties={_activeTab:16,_showMissingTerminalWarning:16,_showNoStartingPointsWarning:16,_slottedElements:16,_mode:16,actions:0,autoDestroyDisabled:5,beforeMapInteraction:0,aggregatedGeometryResultsGraphicsColor:[1,{converter:{fromAttribute:t=>p.fromString(t)??new p(d)}}],aggregatedGeometryResultsSize:9,disableHighlightFeatureResults:5,flowItems:32,hideActionBar:5,hideClearResultsCount:5,hideGraphics:5,hidePlaceholder:5,hideFeatureResults:5,includeDefaultActionsDisabled:5,label:3,messageOverrides:0,traceResultFeatures:32,traceResult:0,traceError:32,referenceElement:1,state:32,view:0}}static{this.styles=D}get#c(){return this.view?.map?.allLayers.toArray().concat(this.view.map.allTables.toArray())??[]}#e;#t;#h;#i;get#p(){return Array.from(this.el.children).some(t=>t.slot==="results"&&t.matches($))}#r;#n;#o;#a;get traceResultFeatures(){return this.#t?.traceResultFeatures??[]}async destroy(){this.#u(this.#t);let t=await Promise.allSettled([this.#t?.destroy(),this.#e?.destroy()]);for(let e of t)e.status==="rejected"&&g(e.reason,this,"Error while destroying trace analysis component");this.#e=void 0,this.#t=void 0,await this.manager.destroy()}load(){this.manager.onLifecycle(()=>[_(()=>!this.#i.utilityNetwork,()=>this.#s("input"))])}willUpdate(t){S.some(e=>t.has(e))&&this.#l(this.#t)}#g(){this.traceResult=void 0,o(()=>this.traceError=void 0),this.#t?.clearResults(),this.#h?.flowItems.removeAll()}#m(){if(!this.#e)return;let{traceLocations:t,traceLocationDetails:e,traceConfiguration:i,isSubnetworkNameTraceSelected:s}=this.#e,h=!!i?.subnetworkName,E=t?.some(n=>n.type==="starting-point"),G=e?.some(n=>!!n.flagProperties.terminalConfiguration&&!n.flagProperties.selectedTerminals?.size)??!1;this._showNoStartingPointsWarning=!s&&!E||s&&!h,this._showMissingTerminalWarning=G}#s(t){this._activeTab=t}#l(t){if(!t)return;let e={actions:this.actions,autoDestroyDisabled:this.autoDestroyDisabled,aggregatedGeometryResultsGraphicsColor:this.aggregatedGeometryResultsGraphicsColor,aggregatedGeometryResultsSize:this.aggregatedGeometryResultsSize,disableHighlightFeatureResults:this.disableHighlightFeatureResults,expanded:!0,hideActionBar:this.hideActionBar,hideFeatureResults:this.hideFeatureResults,hideGraphics:this.hideGraphics,hidePlaceholder:this.hidePlaceholder,includeDefaultActionsDisabled:this.includeDefaultActionsDisabled,layers:this.#c,messageOverrides:this.messageOverrides,referenceElement:this.referenceElement,traceError:this.traceError,traceResult:this.traceResult,utilityNetwork:this.#i.utilityNetwork??void 0,view:this.view??void 0};Object.assign(t,e)}#y(t){t&&(t.addEventListener("arcgisPropertyChange",this.#r),t.addEventListener("arcgisResultsReady",this.#o),t.addEventListener("arcgisTraceResultClear",this.#n),t.addEventListener("arcgisTriggerAction",this.#a))}#u(t){t&&(t.removeEventListener("arcgisPropertyChange",this.#r),t.removeEventListener("arcgisResultsReady",this.#o),t.removeEventListener("arcgisTraceResultClear",this.#n),t.removeEventListener("arcgisTriggerAction",this.#a))}#v(t){let{_messages:e}=this;switch(t){case"no-user-type-extension":return e.errors.loadErrors.noUserTypeExtension;case"no-utility-network":return e.errors.loadErrors.noUtilityNetwork;case"no-view":return e.errors.loadErrors.noView;case"sceneView-not-supported":return e.errors.loadErrors.sceneViewNotSupported;default:return t}}async#f(){let t=this.#e?.selectedNamedTraceConfiguration,e=this.#e?.traceConfiguration;if(!(t?.traceType&&e)){l("error",this,"Trace configuration not found");let s=new k("trace-configuration-not-found","Trace configuration not found");o(()=>this.traceError=s),this.arcgisError.emit();return}let i=this.#e?.traceLocations;try{this.traceResult=await this.#i.executeTraceConfiguration({traceType:t.traceType,traceConfiguration:e,traceLocations:i??[],resultTypes:t.resultTypes,outSpatialReference:this.view?.spatialReference})}catch(s){g(s,this,"Error while running trace"),o(()=>this.traceError=s),this.traceResult=void 0,this.arcgisError.emit()}}#b(){this.#m(),!(this._showNoStartingPointsWarning||this._showMissingTerminalWarning)&&(this._showNoStartingPointsWarning=!1,this._showMissingTerminalWarning=!1,this.#g(),this.#s("results"),this.#f())}#w(t){t&&(this.#e=t)}#d(t){!t||t===this.#t||(this.#u(this.#t),this.#t=t,this.#y(t))}#R(t){this.#h=t}#$(t){this._slottedElements=u(t);let e=u(t,$);if((!e.length||e.length<this._slottedElements.length)&&l("warn",this,"The trace results pane only renders instances of `arcgis-utility-network-trace-results` in the `results` slot."),e.length>1&&l("warn",this,"Multiple `arcgis-utility-network-trace-results` elements were provided in the `results` slot. Only the first will render."),!e.length)return;let[i]=e;for(let s of e)s===i?s.removeAttribute(T):s.setAttribute(T,"");this.#d(i),this.#l(i)}#T(t){t.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(t.detail).defaultPrevented&&t.preventDefault()}#E(t){t.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit()}#G(t){let{detail:e,target:i}=t;t.stopPropagation(),e.name==="selectedUtilityNetwork"&&(this.#i.utilityNetwork=i.selectedUtilityNetwork,this.#l(this.#t)),e.name==="selectedNamedTraceConfiguration"&&(this._showNoStartingPointsWarning=!1,this._showMissingTerminalWarning=!1),e.name==="mode"&&(this._mode=i.mode)}#x(){let{_messages:t}=this;return a`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${()=>this._showMissingTerminalWarning=!1}><div slot=title>${t.errors.missingTerminalTitle}</div><div slot=message>${t.errors.missingTerminalBody}</div></calcite-notice></calcite-panel>`}#k(){let{_messages:t}=this;return a`<calcite-panel class="trace-inputs-warning"><calcite-notice open icon=exclamation-mark-triangle closable kind=danger scale=s @calciteNoticeClose=${()=>this._showNoStartingPointsWarning=!1}><div slot=title>${t.errors.noStartingPointsTitle}</div><div slot=message>${t.errors.noStartingPointsBody}</div></calcite-notice></calcite-panel>`}#_(){return a`<calcite-tab .selected=${this._activeTab==="results"}>${this.state==="executing"&&a`<calcite-panel><calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader></calcite-panel>`||""}<arcgis-utility-network-trace-results-pane hide-warnings .hidden=${this.state==="executing"} ${c(this.#R)}><slot name=results @slotchange=${this.#$}></slot>${this.#p?null:a`<arcgis-utility-network-trace-results .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .aggregatedGeometryResultsGraphicsColor=${this.aggregatedGeometryResultsGraphicsColor} .aggregatedGeometryResultsSize=${this.aggregatedGeometryResultsSize} .disableHighlightFeatureResults=${this.disableHighlightFeatureResults} expanded .hideActionBar=${this.hideActionBar} .hideFeatureResults=${this.hideFeatureResults} .hideGraphics=${this.hideGraphics} .hidePlaceholder=${this.hidePlaceholder} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .layers=${this.#c} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .traceError=${this.traceError} .traceResult=${this.traceResult} .utilityNetwork=${this.#i.utilityNetwork??void 0} .view=${this.view??void 0} ${c(this.#d)}></arcgis-utility-network-trace-results>`}</arcgis-utility-network-trace-results-pane></calcite-tab>`}#C(){let{_messages:t,traceResult:e}=this,i=!!(e?.elements.length||e?.globalFunctionResults.length||e?.aggregatedGeometry)&&this.#t?.state==="ready",s=this.#t?.numFeatureResults??0,h=s>0&&!this.hideFeatureResults&&!this.hideClearResultsCount&&this.state!=="executing";return a`<calcite-button appearance=outline width=full @click=${()=>{this.#s("input"),this.#g()}} .disabled=${!i} slot=footer>${h?t.buttons.clearResultsCustom.replace("{number}",s.toString()):t.buttons.clearResultsGeneric}</calcite-button>`}#D(){let{_mode:t}=this,{loadError:e}=this.#i,i=(e==="no-user-type-extension"||e==="sceneView-not-supported"?a`<calcite-notice kind=danger open scale=s slot=content-top width=auto><div slot=message>${this.#v(e)}</div></calcite-notice>`:void 0)??a`${this._showNoStartingPointsWarning&&t==="default"&&this.#k()||""}${this._showMissingTerminalWarning&&t==="default"&&this.#x()||""}<arcgis-utility-network-trace-inputs .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .hideActionBar=${this.hideActionBar} .includeDefaultActionsDisabled=${this.includeDefaultActionsDisabled} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .view=${this.view??void 0} .beforeMapInteraction=${this.beforeMapInteraction} @arcgisPropertyChange=${this.#G} @arcgisTraceLocationSelectEnd=${this.#E} @arcgisTraceLocationSelectStart=${this.#T} @arcgisTriggerAction=${this.#a} ${c(this.#w)}></arcgis-utility-network-trace-inputs>`;return a`<calcite-tab .selected=${this._activeTab==="input"}><div class="inputs-tab-container">${i}</div></calcite-tab>`}#P(){let{state:t}=this;if(this._mode!=="default")return null;let e=t==="disabled"||t==="loading"||!this.#e?.traceConfiguration;return a`<calcite-button appearance=solid width=full @click=${this.#b} slot=footer .disabled=${e}>${this._messages.buttons.getResults}</calcite-button>`}render(){let{_activeTab:t,state:e}=this;return a`<calcite-panel><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${()=>this.#s("input")} .selected=${t==="input"}>${this._messages.tabs.inputTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${()=>this.#s("results")} .selected=${t==="results"} .disabled=${e==="disabled"||e==="loading"}>${this._messages.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.#D()}${this.#_()}</calcite-tabs>${t==="input"?this.#P():null}${t==="results"?this.#C():null}</calcite-panel>`}};f("arcgis-utility-network-trace-analysis",m);return m},"Color","core/Collection","core/Error","core/reactiveUtils","networks/UtilityNetworkTraceAnalysis",e,g,h,i,j)
|
package/dist/cdn/YJROHURO.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import a from"./VWW5GBIK.js";import{b as _,k as o}from"./IM6IDWYR.js";import{P as r,Q as d,R as f,T as u,_ as w,a as $,b as c}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([I,b,{c:m,e:n,j:p,k:h,l:v}])=>{var T=$`:host{background-color:var(--calcite-color-surface-2);block-size:calc(var(--calcite-font-size-relative-5xl) * 8);color:var(--calcite-color-text-1);font-family:var(--calcite-font-family);font-size:var(--calcite-font-size-sm);inline-size:max-content}calcite-flow-item{--calcite-color-background: var(--calcite-color-surface-2)}.disabled{opacity:var(--calcite-opacity-disabled);pointer-events:none}.playback-rate-content{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg);margin-block-start:var(--calcite-spacing-lg)}.end-content,.format-content,.mode-content,.start-content,.stops-content,.time-zone-content{margin-inline-start:calc(var(--calcite-spacing-lg) * 3);margin-inline-end:var(--calcite-spacing-lg);margin-block-start:var(--calcite-spacing-lg)}.stops-indent{margin-inline-start:calc(var(--calcite-spacing-lg) * 1.5);margin-block-end:var(--calcite-spacing-lg)}.label-description{font-style:italic}.label-heading{font-weight:var(--calcite-font-weight-semibold)}.list-item--content{--calcite-label-margin-bottom: 0}.time-zone-label{--calcite-color-background: transparent;--calcite-color-border-input: transparent;font-style:italic;margin-inline-start:calc(var(--calcite-spacing-md) * -1);margin-block-start:calc(var(--calcite-spacing-md) * -.5)}`,g=class extends f{constructor(){super(...arguments),this.#e=r(),this.#i=r(),this.#a=r(),this.#l=r(),this.#t={maximumFractionDigits:0,style:"unit",unitDisplay:"long"},this._selectedFlowItem="overview",this.autoDestroyDisabled=!1}static{this.properties={_timeUnitSettings:16,_defaultStopCount:16,_defaultStopIntervalValue:16,_defaultStopIntervalUnit:16,_stopCount:16,_stopIntervalValue:16,_stopIntervalUnit:16,_formatDescription:16,_playbackRateDescription:16,_formatStart:16,_formatEnd:16,_modeDescription:16,_selectedFlowItem:16,_stopDescription:16,autoDestroyDisabled:5,messages:0,viewModel:0}}static{this.styles=T}#s;#c;#n;#e;#i;#a;#l;#t;get _timeUnitSettings(){let{messages:t}=this;if(!t)return;let e={milliseconds:{timeUnit:"milliseconds",heading:t.timeUnitOptions.millisecond,numberFormatOptions:{...this.#t,unit:"millisecond"}},seconds:{timeUnit:"seconds",heading:t.timeUnitOptions.second,numberFormatOptions:{...this.#t,unit:"second"}},minutes:{timeUnit:"minutes",heading:t.timeUnitOptions.minute,numberFormatOptions:{...this.#t,unit:"minute"}},hours:{timeUnit:"hours",heading:t.timeUnitOptions.hour,numberFormatOptions:{...this.#t,unit:"hour"}},days:{timeUnit:"days",heading:t.timeUnitOptions.day,numberFormatOptions:{...this.#t,unit:"day"}},weeks:{timeUnit:"weeks",heading:t.timeUnitOptions.week,numberFormatOptions:{...this.#t,unit:"week"}},months:{timeUnit:"months",heading:t.timeUnitOptions.month,numberFormatOptions:{...this.#t,unit:"month"}},years:{timeUnit:"years",heading:t.timeUnitOptions.year,numberFormatOptions:{...this.#t,unit:"year"}}};return{get:i=>e[i],has:i=>i in e,values:Object.values(e)}}get _defaultStopCount(){return m(this.viewModel?.stops)?this.viewModel.stops.count:10}get _defaultStopIntervalValue(){return n(this.viewModel?.stops)?this.viewModel.stops.interval.value:1}get _defaultStopIntervalUnit(){return n(this.viewModel?.stops)?this.viewModel.stops.interval.unit:"years"}get _stopCount(){return this.#s??this._defaultStopCount}set _stopCount(t){let e=this._stopCount;e!==t&&(this.#s=t,this.requestUpdate("_stopCount",e))}get _stopIntervalValue(){return this.#c??this._defaultStopIntervalValue}set _stopIntervalValue(t){let e=this._stopIntervalValue;e!==t&&(this.#c=t,this.requestUpdate("_stopIntervalValue",e))}get _stopIntervalUnit(){return this.#n??this._defaultStopIntervalUnit}set _stopIntervalUnit(t){let e=this._stopIntervalUnit;e!==t&&(this.#n=t,this.requestUpdate("_stopIntervalUnit",e))}get _formatDescription(){let{messages:t,viewModel:e}=this;if(!t||!e)return"";let{format:i}=e;switch(i){case"date":return t.formatOptions.dateOnly;case"date-time":return t.formatOptions.dateAndTime}}get _playbackRateDescription(){let{_timeUnitSettings:t,messages:e,viewModel:i}=this;if(!e||!i||!t)return"";let a=i.formatNumber(i.playRate,t.get("milliseconds").numberFormatOptions);return e.everyDurationTemplate.replace("{duration}",a)}get _formatStart(){let{viewModel:t}=this,e=t?.fullTimeExtent?.start;return e?t.formatDateTime(e):""}get _formatEnd(){let{viewModel:t}=this,e=t?.fullTimeExtent?.end;return e?t.formatDateTime(e):""}get _modeDescription(){let{messages:t,viewModel:e}=this;return!t||!e?"":t.modeOptions[e.mode]}get _stopDescription(){let{_timeUnitSettings:t,messages:e,viewModel:i}=this;if(!t||!e||!i)return"";let{stops:a}=i;if(!a)return e.stopOptions.freeMovement;if(m(a))return e.stopOptions.evenlySpacedTemplate.replace("{count}",`${a.count}`);if(n(a)){let{value:l,unit:s}=a.interval;if(!t.has(s))return e.everyDurationPartsTemplate.replace("{count}",`${l}`).replace("{timeUnit}",s);let y=t.get(s).numberFormatOptions,k=i.formatNumber(l,y);return e.everyDurationTemplate.replace("{duration}",k)}return e.stopOptions.discreteDates}async destroy(){await this.manager.destroy()}async navigateToOverview(){this._selectedFlowItem="overview"}#o(){let{viewModel:t}=this;if(!t?.fullTimeExtent||!this.#e.value?.value||!this.#i.value?.value)return;let e=this.#e.value.value,i=this.#i.value.value,a=o(t.timeZone),l=v(e,i,a);l&&(t.fullTimeExtent=new I({start:t.fullTimeExtent.start,end:l}))}#r(){let{viewModel:t}=this;if(!t?.fullTimeExtent||!this.#a.value?.value||!this.#l.value?.value)return;let e=this.#a.value.value,i=this.#l.value.value,a=o(t.timeZone),l=v(e,i,a);if(!l)return;let{end:s}=t.fullTimeExtent;t.fullTimeExtent=new I({start:l,end:s})}render(){let{viewModel:t}=this;if(!t)return null;let{disabled:e}=t;return c`<div class=${u({disabled:e})}><calcite-flow>${this.#p(t)}${this.#d(t)}${this.#m(t)}${this.#u(t)}${this.#h(t)}${this.#v(t)}${this.#b(t)}${this.#g(t)}</calcite-flow></div>`}#d(t){let{messages:e}=this;if(!e||this._selectedFlowItem!=="end")return null;let{fullTimeExtent:i,disabled:a,timeZone:l}=t;if(!i?.end)return null;let s=o(l);return c`<calcite-flow-item .description=${e.endDescription} .heading=${e.end} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="end-content"><calcite-label><span>${e.date}</span><calcite-input-date-picker .disabled=${a} @calciteInputDatePickerChange=${this.#o} .value=${p(i.end,s)} ${d(this.#e)}></calcite-input-date-picker></calcite-label><calcite-label><span>${e.time}</span><calcite-input-time-picker .disabled=${a} @calciteInputTimePickerChange=${this.#o} step=1 .value=${h(i.end,s)} ${d(this.#i)}></calcite-input-time-picker></calcite-label></div></calcite-flow-item>`}#m(t){let{messages:e}=this;return!e||this._selectedFlowItem!=="format"?null:c`<calcite-flow-item .description=${e.displayDescription} .heading=${e.display} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="format-content"><calcite-radio-button-group class="format-radio-button-group" layout=vertical name=format @calciteRadioButtonGroupChange=${i=>t.format=i.currentTarget.selectedItem?.value}><calcite-radio-button .labelText=${e.formatOptions.dateOnly} value=date .checked=${t.format==="date"}></calcite-radio-button><calcite-radio-button .checked=${t.format==="date-time"} .labelText=${e.formatOptions.dateAndTime} value=date-time></calcite-radio-button></calcite-radio-button-group></div></calcite-flow-item>`}#u(t){let{messages:e}=this;if(!e||this._selectedFlowItem!=="mode")return null;let i=["instant","time-window","cumulative-from-start","cumulative-from-end"];return c`<calcite-flow-item .description=${e.modeDescription} .heading=${e.mode} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="mode-content"><calcite-radio-button-group name=mode layout=vertical @calciteRadioButtonGroupChange=${a=>t.mode=a.currentTarget.selectedItem?.value} class="mode-radio-button-group">${i.map(a=>c`<calcite-radio-button .labelText=${e.modeOptions[a]} .value=${a} .checked=${t.mode===a}></calcite-radio-button>`)}</calcite-radio-button-group></div></calcite-flow-item>`}#p(t){let{messages:e}=this;return e?c`<calcite-flow-item .selected=${this._selectedFlowItem==="overview"}><calcite-list .label=${e.overview}><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="format"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${e.display}</calcite-label><calcite-label class="label-description">${this._formatDescription}</calcite-label></div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="mode"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${e.mode}</calcite-label><calcite-label class="label-description">${this._modeDescription}</calcite-label></div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="time-zone"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${e.timeZone}</calcite-label>${this.#$()}</div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="start"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${e.start}</calcite-label><calcite-label class="label-description">${this._formatStart}</calcite-label></div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="end"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${e.end}</calcite-label><calcite-label class="label-description">${this._formatEnd}</calcite-label></div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="stops"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${e.stops}</calcite-label><calcite-label class="label-description">${this._stopDescription}</calcite-label></div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item @calciteListItemSelect=${()=>this._selectedFlowItem="playback-rate"}><div slot=content class="list-item--content"><calcite-label class="label-heading">${e.playbackRate}</calcite-label><calcite-label class="label-description">${this._playbackRateDescription}</calcite-label></div><calcite-icon slot=content-end scale=s icon=chevron-right flip-rtl></calcite-icon></calcite-list-item><calcite-list-item><calcite-label slot=content class="label-heading">${e.loop}</calcite-label><calcite-switch .checked=${t.loop} .label=${e.loop} @calciteSwitchChange=${i=>t.loop=i.target.checked} slot=content-end></calcite-switch></calcite-list-item></calcite-list></calcite-flow-item>`:null}#h(t){let{_timeUnitSettings:e,messages:i}=this;if(!e||!i||this._selectedFlowItem!=="playback-rate")return null;let{playRate:a,disabled:l}=t;return c`<calcite-flow-item .description=${i.playbackRateDescription} .heading=${i.playbackRate} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="playback-rate-content"><arcgis-slider .autoDestroyDisabled=${this.autoDestroyDisabled} .disabled=${l} .labelFormatter=${s=>t.formatNumber(s,e.get("milliseconds").numberFormatOptions)} max=2000 min=100 @arcgisChange=${s=>t.playRate=s.target.values[0]} precision=0 steps=10 value-labels-display=always .values=${[a]}><arcgis-ticks max=2000 min=100 mode=value show-labels slot=content-end style="flex:1;" .values=${[100,500,1e3,1500,2e3]}></arcgis-ticks></arcgis-slider></div></calcite-flow-item>`}#v(t){let{messages:e}=this;if(!e||this._selectedFlowItem!=="start")return null;let{fullTimeExtent:i,disabled:a,timeZone:l}=t;if(!i?.start)return null;let s=o(l);return c`<calcite-flow-item .description=${e.startDescription} .heading=${e.start} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="start-content"><calcite-label><span>${e.date}</span><calcite-input-date-picker .disabled=${a} @calciteInputDatePickerChange=${this.#r} .value=${p(i.start,s)} ${d(this.#a)}></calcite-input-date-picker></calcite-label><calcite-label><span>${e.time}</span><calcite-input-time-picker .disabled=${a} @calciteInputTimePickerChange=${this.#r} step=1 .value=${h(i.start,s)} ${d(this.#l)}></calcite-input-time-picker></calcite-label></div></calcite-flow-item>`}#b(t){let{_timeUnitSettings:e,messages:i}=this;return!e||!i||this._selectedFlowItem!=="stops"?null:c`<calcite-flow-item .description=${i.stopsDescription} .heading=${i.stops} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="stops-content"><calcite-radio-button-group .disabled=${t.disabled} class="mode-radio-button-group" layout=vertical name=stops><calcite-radio-button .checked=${!t.stops} .labelText=${i.stopOptions.freeMovement} @calciteRadioButtonChange=${()=>{t.stops=void 0}} value></calcite-radio-button><calcite-radio-button .checked=${m(t.stops)} .labelText=${i.stopOptions.evenlySpaced} @calciteRadioButtonChange=${()=>{t.stops={count:10}}} value></calcite-radio-button><div class="stops-indent"><calcite-input-number .disabled=${t.disabled||!m(t.stops)} integer min=1 .placeholder=${i.countPrompt} .value=${`${this._stopCount}`} @calciteInputNumberChange=${a=>{let l=Number.parseInt(a.currentTarget.value,10);t.stops={count:l}}}></calcite-input-number></div><calcite-radio-button .checked=${n(t.stops)} .labelText=${i.regularInterval} @calciteRadioButtonChange=${()=>{t.stops={interval:new b({value:this._stopIntervalValue,unit:this._stopIntervalUnit})}}} value></calcite-radio-button><div class="stops-indent"><calcite-label><span class=${u({disabled:t.disabled||!n(t.stops)})}>${i.count}</span><calcite-input-number .disabled=${t.disabled||!n(t.stops)} integer min=1 .placeholder=${i.countPrompt} .value=${`${this._stopIntervalValue}`} @calciteInputNumberChange=${a=>{this._stopIntervalValue=Number.parseInt(a.currentTarget.value,10),t.stops={interval:new b({value:this._stopIntervalValue,unit:this._stopIntervalUnit})}}}></calcite-input-number></calcite-label><calcite-label><span class=${u({disabled:t.disabled||!n(t.stops)})}>${i.unit}</span><calcite-combobox .disabled=${t.disabled||!n(t.stops)} .label=${i.units} .placeholder=${i.unitPrompt} selection-mode=single-persist @calciteComboboxChange=${a=>{this._stopIntervalUnit=a.currentTarget.selectedItems[0]?.value,t.stops={interval:new b({value:this._stopIntervalValue,unit:this._stopIntervalUnit})}}}>${e.values.map(({timeUnit:a,heading:l})=>c`<calcite-combobox-item .value=${a} .heading=${l} .selected=${this._stopIntervalUnit===a}></calcite-combobox-item>`)}</calcite-combobox></calcite-label></div></calcite-radio-button-group></div></calcite-flow-item>`}#g(t){let{messages:e}=this;return!e||this._selectedFlowItem!=="time-zone"?null:c`<calcite-flow-item .description=${e.timeZoneDescription} .heading=${e.timeZone} @calciteFlowItemBack=${this.navigateToOverview} selected><div class="time-zone-content"><arcgis-time-zone-selector .disabled=${t.disabled} .timeZone=${t.timeZone} @arcgisInternalTimeZoneChange=${i=>t.timeZone=i.detail}></arcgis-time-zone-selector></div></calcite-flow-item>`}#$(){let{messages:t,viewModel:e}=this;if(!t||!e)return null;let{timeZone:i}=e;return i===_?c`<calcite-label class="label-description">${t.noTimeZoneAdjustment}</calcite-label>`:c`<calcite-input-time-zone class="time-zone-label" mode=region overlay-positioning=fixed read-only .value=${o(i)}></calcite-input-time-zone>`}};w("arcgis-time-bar-settings",g);return g},"time/TimeExtent","time/TimeInterval",a)
|
package/dist/cdn/YXIJXXTK.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import i from"./DSIYRWN2.js";import"./FH3WFF5O.js";import h from"./GEOME3IC.js";import g from"./HU57LQOA.js";import f from"./BOPNSNUT.js";import"./WJQUE4DR.js";import e from"./EJVFK7JX.js";import{a as V}from"./REB4CHAK.js";import d from"./7JPHMESH.js";import c from"./OLY5EME5.js";import{h as _}from"./Q7GF26CL.js";import"./U77WHUC6.js";import a from"./SI2DEXWH.js";import{a as x}from"./LXME6MU5.js";import{Q as w,R as I,T as M,X as b,_ as C,a as $,b as l,x as y}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{substitute:N},{renderingSanitizer:B},H,{watch:Z},{stripHTML:P},z,,,,R,,,{a:E,b:L,c:F,e:A,f:T,j:D,q:r},k])=>{var U=$`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element[empty]{display:none}.content-element:not([empty]):only-child,.content-element:not([empty]):last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`,O=R(z),v=class extends I{constructor(){super(...arguments),this.messages=V(),this._rootFlowNode=null,this._loading=!1,this.internalFlowItems=new H,this.flowType="feature",this.viewModel=O(this),this.actions=this.viewModel.actions,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.focusTrapEnabled=!1,this.view=this.viewModel.view,this.icon="icon",this.isFeatureFromTable=this.viewModel.isFeatureFromTable,this.graphic=this.viewModel.graphic,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.heading,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideEmptyRelationshipContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("flowItems","state"),this.arcgisReady=y()}static{this.properties={_loading:16,popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,internalFlowItems:16,flowType:1,viewModel:0,actions:0,includeDefaultActions:5,focusTrapEnabled:5,view:0,flowItems:0,referenceElement:1,icon:1,isFeatureFromTable:36,graphic:0,allActions:32,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideContent:5,hideAttachmentsContent:5,hideEmptyRelationshipContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,showRelationshipContent:5,hideTextContent:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:32}}static{this.styles=U}get popupTemplate(){return F(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return A(this.graphic)}get fieldInfoMap(){return E(L(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}get allActions(){return this.viewModel.allActions}async destroy(){this._removeFlowItems(),await this.manager.destroy()}nextMedia(e){this._pageContentElementMedia(e,1)}previousMedia(e){this._pageContentElementMedia(e,-1)}setActiveMedia(e,t){let i=this.viewModel.content;if(!Array.isArray(i))return;let a=i[e];if(a?.type!=="media")return;let s=a;this._setContentElementMedia(s,t)}async updateGeometry(){return await this.viewModel.updateGeometry()}loaded(){this.manager.onLifecycle(()=>[k({getLoading:()=>!this.flowItems&&this.state==="loading",setEffectiveLoading:e=>{this._loading=e}}),Z(()=>[this.internalFlowItems?.length],()=>this._setFocus())])}_setContentElementMedia(e,t){let i=e.mediaInfos?.length??0,a=(t+i)%i;e.activeMediaInfoIndex=a}_pageContentElementMedia(e,t){let i=this.viewModel.content;if(!Array.isArray(i))return;let a=i[e];if(a?.type!=="media")return;let s=a,{activeMediaInfoIndex:n}=s,o=(n??0)+t;this._setContentElementMedia(s,o)}_removeFlowItems(){this.internalFlowItems?.destroyAll()}_storeRootFlowNode(e){this._rootFlowNode=e}_setFocus(){this._rootFlowNode?.setFocus()}_handleDrillInBackClick(){this.internalFlowItems?.pop()?.destroy()}render(){let{state:e}=this.viewModel,t=l`<div class="container">${e==="error"?this._renderError():this._renderContentContainer()}</div>`;return l`<div class="root">${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return l`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:l`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:a,globalValues:s}=this,n=r({values:t,fieldInfoMap:i,globalValues:s,layer:a,text:e.title}),o=r({values:t,fieldInfoMap:i,globalValues:s,layer:a,text:e.description});return l`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${n} class="content-element" .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords??void 0} .attachmentTypes=${e.attachmentTypes??void 0} .orderByFields=${e.orderByFields??void 0} .graphic=${this.graphic??void 0} .description=${o} hide-preview-image-attachment-name .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return l`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class="content-element"></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:a,fieldInfoMap:s,sourceLayer:n,popupTemplate:o,globalValues:d,graphic:c}=this,h=!!e?.fieldInfos,p=(e.fieldInfos??o?.fieldInfos??[])?.filter(({fieldName:f})=>!!f&&(D(f)||T(f)||f in a)),u=o?.expressionInfos,m=r({values:a,fieldInfoMap:s,globalValues:d,layer:n,text:e.title}),g=r({values:a,fieldInfoMap:s,globalValues:d,layer:n,text:e.description});return l`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${m} class="content-element" .messages=${this.messages} .graphic=${c??void 0} .isContentFieldInfos=${h} .layer=${n} .description=${g} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${p} .expressionInfos=${u??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:a,fieldInfoMap:s,sourceLayer:n,popupTemplate:o,globalValues:d}=this,{formattedAttributes:c,relatedInfos:h,expressionAttributes:p}=this.viewModel,u={...c?.global,...c?.content?.[t]},m=r({values:i,fieldInfoMap:s,globalValues:d,layer:n,text:e.title}),g=r({values:i,fieldInfoMap:s,globalValues:d,layer:n,text:e.description});return l`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${m} class="content-element" .description=${g} .values=${i} .expressionValues=${p} .layer=${n} .graphic=${a??void 0} .messages=${this.messages} .fieldInfoMap=${s} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${o??void 0} .relatedInfos=${h} .formattedValues=${u}></arcgis-feature-media>`}_renderText(e){let{values:t,fieldInfoMap:i,sourceLayer:a,globalValues:s}=this;return l`<arcgis-feature-content .creator=${r({values:t,fieldInfoMap:i,globalValues:s,layer:a,text:e.text})} .graphic=${this.graphic??void 0} class="content-element"></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:a,popupTemplate:s,sourceLayer:n}=this,o=s?.expressionInfos;return l`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .expressionInfos=${o??void 0} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .layer=${n} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class="content-element" .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${a} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:a,fieldInfoMap:s,sourceLayer:n,globalValues:o}=this,{displayCount:d,orderByFields:c,relationshipId:h}=e,{formattedAttributes:p,view:u}=this.viewModel,m={...p?.global,...p?.content?.[t]},g=r({values:i,fieldInfoMap:s,globalValues:o,layer:n,text:e.title}),f=r({values:i,fieldInfoMap:s,globalValues:o,layer:n,text:e.description});return l`<arcgis-feature-relationship .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} class="content-element" .flowItems=${this.flowItems??this.internalFlowItems} .description=${f} .layer=${n} .map=${this.map??void 0} .displayCount=${d} .graphic=${a??void 0} .heading=${g} .headingLevel=${this.headingLevel} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .includeDefaultActions=${this.includeDefaultActions} .messages=${this.messages} .orderByFields=${c??void 0} .relationshipId=${h??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} use-feature-next-flow-item .values=${m} .view=${u??void 0}></arcgis-feature-relationship>`}_renderAssociation(e){let{fieldInfoMap:t,globalValues:i,graphic:a,messages:s,sourceLayer:n,values:o}=this,d=r({values:o,fieldInfoMap:t,globalValues:i,layer:n,text:e.title}),c=r({values:o,fieldInfoMap:t,globalValues:i,layer:n,text:e.description});return l`<arcgis-feature-utility-network-associations .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${c} .flowItems=${this.flowItems??this.internalFlowItems} .graphic=${a??void 0} .heading=${d} .headingLevel=${this.headingLevel} .includeDefaultActions=${this.includeDefaultActions} .layer=${n} .map=${this.map??void 0} .messageOverrides=${this.messageOverrides} .messages=${s} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} use-feature-next-flow-item .view=${this.viewModel.view??void 0}></arcgis-feature-utility-network-associations>`}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation(e):null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;if(!e)return null;if(Array.isArray(e)&&e.length)return e.length?e.map(this._renderContentElement,this):null;if(typeof e=="string"){let{values:i,fieldInfoMap:a,sourceLayer:s,globalValues:n}=this;return l`<arcgis-feature-content .creator=${r({values:i,fieldInfoMap:a,globalValues:n,layer:s,text:e})} .graphic=${t??void 0} class="content-element"></arcgis-feature-content>`}return e instanceof HTMLElement?e:null}_renderContentContainer(){let{flowItems:e,hideContent:t,internalFlowItems:i,headingLevel:a,_loading:s,messages:n,heading:o,hideHeading:d}=this,c=t?null:l`<div class="main">${[this._renderContent(),this._renderLastEditInfo()]}</div>`,h=n.returnToInitialFeature??"";return e?c:l`<calcite-flow ${w(this._storeRootFlowNode)}><calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} .loading=${s} .headingLevel=${a} .heading=${d?void 0:P(o)} .selected=${!i.length}>${!d&&o?l`<div slot=heading><div .innerHTML=${B.sanitize(o??"")??""}></div></div>`:null}${c}</calcite-flow-item>${i.toArray().map((p,u)=>l`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} @calciteFlowItemBack=${m=>{m.preventDefault(),this._handleDrillInBackClick()}} .loading=${s} .headingLevel=${a} .selected=${u===i.length-1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${h} title=${h??b}></calcite-action>${p}</calcite-flow-item>`)}</calcite-flow>`}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:a,user:s}=i,n=i.type==="edit"?s?t.lastEditedByUser:t.lastEdited:s?t.lastCreatedByUser:t.lastCreated,o=N(n??"",{date:a,user:s});return l`<div class=${M(x("last-edited-info","content-element"))}>${o}</div>`}};C("arcgis-feature-next",v);return v},"intl","applications/Components/sanitizerUtils","core/Collection","core/reactiveUtils","applications/Components/stringUtils","popup/FeatureModel",a,c,d,e,f,g,h,i)
|
package/dist/cdn/Z3674FMT.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as o}from"./5GFPOTOB.js";import i from"./EJVFK7JX.js";import{a as x}from"./REB4CHAK.js";import e from"./7JPHMESH.js";import d from"./OLY5EME5.js";import{h as C}from"./Q7GF26CL.js";import"./U77WHUC6.js";import b from"./SI2DEXWH.js";import"./LXME6MU5.js";import{Q as I,R as y,T as c,X as h,_ as w,a as f,b as a,x as g}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{substitute:m,formatNumber:p},{isFeatureItem:M,isLayerItem:v,isGroupLayerItem:L},S,,,,F])=>{var r={container:"container",flowItem:"flow-item",layerDropdown:"layer-dropdown",listItemFeature:"feature",listItemFeatureIcon:"feature-icon",listItemIcon:"icon",itemCount:"item-count",notice:"notice",panel:"panel"},T=f`:host{width:100%;display:flex;height:100%;flex:1 1 0;>*{align-items:center;align-self:center;width:100%;height:100%}}.root{display:flex;flex-direction:column}calcite-flow{height:100%;width:100%}.container,.flow-item,.panel{display:flex}.flow-item{overflow:auto}.flow-item[scale=s] .container{gap:var(--calcite-spacing-sm);padding:var(--calcite-spacing-sm) 0}.flow-item[scale=m] .container{gap:var(--calcite-spacing-md);padding:var(--calcite-spacing-md) 0}.flow-item[scale=l] .container{gap:var(--calcite-spacing-lg);padding:var(--calcite-spacing-lg) 0}.container{flex-direction:column;background-color:var(--calcite-color-foreground-1)}.container>*{background-color:var(--calcite-color-foreground-1)}.container>*[scale=s]{padding:0 var(--calcite-spacing-sm) 0 var(--calcite-spacing-sm);font-size:var(--calcite-font-size-sm)}.container>*[scale=m]{padding:0 var(--calcite-spacing-md) 0 var(--calcite-spacing-md);font-size:var(--calcite-font-size-md)}.container>*[scale=l]{padding:0 var(--calcite-spacing-lg) 0 var(--calcite-spacing-lg);font-size:var(--calcite-font-size-lg)}.icon{display:flex;align-items:center;justify-content:center;min-width:var(--calcite-spacing-xxl);height:var(--calcite-spacing-xxl)}.icon span{line-height:0}.feature-icon .icon{margin-inline-start:calc(var(--calcite-spacing-lg) * -1)}calcite-chip{align-self:center;margin-inline:var(--calcite-spacing-xxs);line-height:initial}.item-count{display:flex;gap:.5em;align-items:center}`,_=F(S),$=class extends y{constructor(){super(...arguments),this.viewModel=_(this),this.messages=x(),this.#i=!1,this.#t=new WeakSet,this.#e=null,this.autoDestroyDisabled=!1,this.icon="selection",this.view=this.viewModel.view,this.displayMode="group",this.filterText=this.viewModel.filterText,this.hideChip=!1,this.hideChipCloseButton=!1,this.hideFilter=!1,this.hideFilterNotice=!1,this.hideHeader=!1,this.hideItemCloseActions=!1,this.hideItemCount=!1,this.hideItemIcons=!1,this.hideItemMenus=!1,this.hideLayerFilter=!1,this.hideMenu=!1,this.hideZoomToButton=!1,this.highlightOnHoverDisabled=!1,this.layer=this.viewModel.layer,this.maxVisibleFeatureCountPerLayer=this.viewModel.maxVisibleFeatureCountPerLayer,this.menuScale="m",this.selectionManager=this.viewModel.selectionManager,this.visualScale="s",this.arcgisClear=g(),this.arcgisPropertyChange=C()("state"),this.arcgisReady=g()}static{this.properties={hasFilterText:16,isUpdating:16,itemWithOpenMenu:16,autoDestroyDisabled:5,disabled:5,icon:1,label:1,referenceElement:1,view:0,activeLayerItem:32,afterListItemSelect:0,allLayerItems:32,count:32,displayMode:1,effectiveSelectionManager:32,filterText:1,hideChip:5,hideChipCloseButton:5,hideFilter:5,hideFilterNotice:5,hideHeader:5,hideItemCloseActions:5,hideItemCount:5,hideItemIcons:5,hideItemMenus:5,hideLayerFilter:5,hideMenu:5,hideZoomToButton:5,highlightOnHoverDisabled:5,listItemActionConfigurations:0,listItemUnavailableFunction:0,layer:0,layerItems:32,maxVisibleFeatureCountExceeded:32,maxVisibleFeatureCountPerLayer:9,menuScale:1,selectionManager:0,state:32,visibleFeatureCount:32,visibleFeatureItems:32,visibleLayerCount:32,visualScale:1}}static{this.styles=T}#i;#t;#e;get hasFilterText(){let{filterText:e}=this;return e!=null&&e!==""}get isUpdating(){return this.viewModel.isUpdating}get disabled(){return this.#i||this.state==="disabled"}set disabled(e){this.#i=e}get activeLayerItem(){return this.viewModel.activeLayerItem}get allLayerItems(){return this.viewModel.allLayerItems}get count(){return this.viewModel.effectiveCount}get effectiveSelectionManager(){return this.viewModel.effectiveSelectionManager}get layerItems(){return this.viewModel.layerItems}get maxVisibleFeatureCountExceeded(){return this.viewModel.maxVisibleFeatureCountExceeded}get state(){return this.viewModel.state}get visibleFeatureCount(){return this.viewModel.visibleFeatureCount}get visibleFeatureItems(){return this.viewModel.visibleFeatureItems}get visibleLayerCount(){return this.viewModel.visibleLayerCount}async clear(){this.viewModel.clear()}async collapseAll(){this.viewModel.collapseAll()}async deselectItem(e){this.viewModel.deselectItem(e)}async destroy(){this.viewModel?.destroy()}async expandAll(){this.viewModel.expandAll()}async findLayerItem(e){return this.viewModel.findLayerItem(e)}async findParentItem(e){return this.viewModel.findParentItem(e)}async goToItem(e){this.viewModel.goToItem(e)}async removeFromSelection(e){this.viewModel.removeFromSelection(e)}async replace(e){this.viewModel.replace(e)}async selectItem(e){this.viewModel.selectSingleItem(e)}connectedCallback(){super.connectedCallback(),this.#e=new IntersectionObserver((e,t)=>{let{messages:s}=this;e.forEach(i=>{if(!i.isIntersecting)return;let l=i.target;if(this.#t.has(l)){t.unobserve(l);return}let d=l.getAttribute("data-thumbnail-key"),n=d?this._getFeatureItemByThumbnailKey(d):void 0;if(!n)return;this.#t.add(l);let u=n.title&&s.previewTemplateAriaLabel?m(s.previewTemplateAriaLabel,{label:n.title}):s.preview;if(n.thumbnail){l.appendChild(n.thumbnail);return}n.fetchThumbnail({ariaLabel:u}).then(b=>b&&l.appendChild(b)).catch(()=>this.#t.delete(l))})})}disconnectedCallback(){super.disconnectedCallback(),this.#e?.disconnect()}_isDropdownItemVisible(e,t){let{hidden:s,type:i}=t;return(typeof s=="function"?s({item:e}):s)?!1:!!(!i||i==="feature"&&M(e)||i==="layer"&&v(e)||i==="group"&&L(e))}_handleClearSelection(){this.clear(),this.arcgisClear.emit()}_onFeatureItemBlur(){this.highlightOnHoverDisabled||this.viewModel.removeTemporaryHighlight()}_onFeatureItemFocus(e){this.highlightOnHoverDisabled||this.viewModel.addTemporaryHighlight(e)}_closeItemMenu(e){(!e||e===this.itemWithOpenMenu)&&(this.itemWithOpenMenu=void 0)}_getFeatureItemByThumbnailKey(e){return this.viewModel.visibleFeatureItems.find(t=>t.thumbnailKey===e)}_isItemUnavailable(e){return!e.layerIsVisible||this.listItemUnavailableFunction?.({item:e})||!1}_makeObserverRef(){let e=null;return t=>{t?(e=t,this.#e?.observe(t)):e&&(this.#e?.unobserve(e),e=null)}}_afterListItemSelect(e,t){t.stopPropagation(),this._closeItemMenu(),this.afterListItemSelect?.({item:e})}_getTooltipForChip(e){let{messages:t}=this;return!t?.selectionCount||!t?.clearSelectionCount?"":this.hideChipCloseButton?m(t.selectionCount,{count:e}):m(t.clearSelectionCount,{count:e})}#n(){if(this.hideChip||this.hideHeader)return;let{count:e}=this,t=p(e),s=!this.hideChipCloseButton&&e>0;return a`<calcite-chip appearance=outline .closable=${s} .closed=${e===0} .disabled=${this.disabled} .icon=${this.maxVisibleFeatureCountExceeded?"exclamation-mark-triangle":void 0} .label=${t} .scale=${this.visualScale} slot=header-actions-end title=${this._getTooltipForChip(e)??h} @calciteChipClose=${this._handleClearSelection}>${t}</calcite-chip>`}#c(){if(this.hideHeader||this.hideMenu)return;let{menuScale:e,messages:t}=this,s=this.disabled||this.count===0;return[a`<calcite-action .disabled=${s} icon=reset .scale=${e} slot=header-menu-actions .text=${t.clear??""} text-enabled @click=${this.clear}></calcite-action>`,a`<calcite-action .disabled=${s} icon=folders .scale=${e} slot=header-menu-actions .text=${t.collapseAll??""} text-enabled @click=${this.collapseAll}></calcite-action>`]}#r(){let{layerItems:e,messages:t}=this;if(this.count===0||e.length<2||this.hideLayerFilter)return;let s=t.allLayersCount?m(t.allLayersCount,{count:e.length}):"";return a`<calcite-combobox class=${c(r.layerDropdown)} .disabled=${this.disabled} .label=${t.filterByLayer??""} overlay-positioning=fixed .placeholder=${t.filterByLayer} .scale=${this.visualScale} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:i})=>{this.filterText=void 0;let l=i.selectedItems[0]?.value??void 0;this.layer=l==="all-layers"?void 0:l}}>${o("all-layers",a`<calcite-combobox-item .heading=${s} icon=layers .selected=${this.layer==null} value=all-layers></calcite-combobox-item>`)}${this.layerItems.map(i=>this.#h(i))}</calcite-combobox>`}#d(){if(!(this.hideFilter||this.count===0))return a`<calcite-input clearable .disabled=${this.disabled} icon=search .placeholder=${this.messages.filter} .scale=${this.visualScale} .value=${this.filterText} @calciteInputInput=${({target:{value:e}})=>{this.filterText=e}}></calcite-input>`}#h(e){let t=e.title||this.messages?.untitledLayer||"";return o(e.key,a`<calcite-combobox-item .heading=${t} .icon=${e.iconName} .selected=${e.layer===this.layer} .value=${e.layer}></calcite-combobox-item>`)}#m(){let{messages:e}=this;if(this.visibleFeatureCount!==0)return a`<calcite-list .disabled=${this.disabled} display-mode=nested interaction-mode=interactive .label=${e.componentLabel??""} .loading=${this.isUpdating} .scale=${this.visualScale} selection-mode=none>${this.#s(this.allLayerItems)}</calcite-list>`}#s(e){return this.activeLayerItem?this.#l(this.activeLayerItem):e.map(t=>L(t)?this.#g(t):v(t)?this.#l(t):null).filter(t=>t!=null)}#u(){if(!(this.disabled||this.visibleFeatureCount>0||this.hideFilter||this.hideFilterNotice))return a`<calcite-notice class=${c(r.notice)} icon=exclamation-mark-triangle kind=info open .scale=${this.visualScale} width=full><div slot=message>${this.messages.noMatchingFeatures}</div></calcite-notice>`}#p(e){if(this.hideItemCount)return;let{messages:t}=this,s=p(e.total),i=p(e.visibleTotal),l=t.selectionCount?m(t.selectionCount,{count:s}):void 0;return!this.hasFilterText&&e.maxVisibleFeatureCountExceeded?a`<span class=${c(r.itemCount)} slot=content-end title=${l??h}><calcite-icon icon=exclamation-mark-triangle scale=s title=${t.tooManyFeatures??h}></calcite-icon>${`${p(this.maxVisibleFeatureCountPerLayer)}+`}</span>`:a`<span class=${c(r.itemCount)} slot=content-end title=${l??h}>${i}</span>`}#a(e){if(this.hideItemMenus)return;let{messages:t}=this,s=this.itemWithOpenMenu===e,i=M(e),l=i?t.deselectFeature:v(e)?t.deselectLayer:t.deselectGroup;return[o("dropdown",a`<calcite-dropdown .open=${s} overlay-positioning=fixed placement=bottom-end .scale=${this.menuScale} slot=actions-end width=m @calciteDropdownClose=${()=>this._closeItemMenu(e)} @calciteDropdownOpen=${()=>{this.itemWithOpenMenu=e}}>${o("action",a`<calcite-action icon=ellipsis .scale=${this.visualScale} slot=trigger .text=${t.menu??""}></calcite-action>`)}${s?o("dropdown-group",a`<calcite-dropdown-group selection-mode=none>${!this.hideZoomToButton&&!e.isTable?o("zoom-to",a`<calcite-dropdown-item icon-start=layer-zoom-to @calciteDropdownItemSelect=${()=>this.goToItem(e)}>${t.zoomTo}</calcite-dropdown-item>`):void 0}${o("select-single",a`<calcite-dropdown-item icon-start=selection-filter @calciteDropdownItemSelect=${()=>this.selectItem(e)}>${i?t.onlySelectFeature:t.onlySelectThis}</calcite-dropdown-item>`)}${o("clear-selection",a`<calcite-dropdown-item icon-start=selection-x @calciteDropdownItemSelect=${()=>this.deselectItem(e)}>${l}</calcite-dropdown-item>`)}${this.listItemActionConfigurations?.map(d=>{let{disabled:n,label:u}=d;if(this._isDropdownItemVisible(e,d))return o(`custom-action-${u}`,a`<calcite-dropdown-item .disabled=${typeof n=="function"?n({item:e}):!!n} .iconStart=${d.icon??void 0} @calciteDropdownItemSelect=${()=>d.callback({item:e})}>${u}</calcite-dropdown-item>`)})}</calcite-dropdown-group>`):void 0}</calcite-dropdown>`)]}#g(e){let t=e.title||this.messages.untitledLayer;if(e.visibleTotal===0)return;let{displayMode:s}=this;return s==="layer"||s==="feature"?this.#s(e.items):o(e.key,a`<calcite-list-item .closable=${!this.hideItemCloseActions} .expanded=${e.expanded} .iconStart=${this.hideItemIcons?void 0:e.iconName} .label=${t} .unavailable=${this._isItemUnavailable(e)} .value=${e.title} @calciteListItemCollapse=${i=>{i.stopPropagation(),e.expanded=!1}} @calciteListItemClose=${i=>{i.stopPropagation(),this.deselectItem(e)}} @calciteListItemExpand=${i=>{i.stopPropagation(),e.expanded=!0}} @calciteListItemSelect=${i=>this._afterListItemSelect(e,i)}>${this.#a(e)}${this.#s(e.items)}</calcite-list-item>`)}#l(e){if(e.visibleTotal===0||!e.visible)return;if(this.displayMode==="feature")return this.#o(e.featureItems);let{messages:t}=this,s=e.title||t.untitledLayer;return o(e.key,a`<calcite-list-item .closable=${!this.hideItemCloseActions} .expanded=${e.expanded} .iconStart=${this.hideItemIcons?void 0:e.iconName} .label=${s} title=${(e.layerIsVisible?void 0:t.layerIsNotVisible)??h} .unavailable=${this._isItemUnavailable(e)} .value=${e.title} @calciteListItemCollapse=${i=>{i.stopPropagation(),e.expanded=!1}} @calciteListItemClose=${i=>{i.stopPropagation(),this.deselectItem(e)}} @calciteListItemExpand=${i=>{i.stopPropagation(),e.expanded=!0}} @calciteListItemSelect=${i=>this._afterListItemSelect(e,i)}>${this.#p(e)}${this.#a(e)}${this.#o(e.featureItems)}${e.maxVisibleFeatureCountExceeded?a`<calcite-notice class=${c(r.notice)} icon=exclamation-mark-triangle kind=info open .scale=${this.visualScale}><div slot=message>${t.tooManyFeatures}</div></calcite-notice>`:void 0}</calcite-list-item>`)}#o(e){return e.map(t=>this.#v(t))}#v(e){if(!e.visible)return;let{hideItemIcons:t,messages:s}=this,i=e.title||s.untitledFeature,l=!t&&this.displayMode!=="feature",d=!t&&e.supportsThumbnail;return o(e.key,a`<calcite-list-item class=${c(l?r.listItemFeatureIcon:r.listItemFeature)} .closable=${!this.hideItemCloseActions} .iconStart=${d?void 0:e.iconName} .label=${i} .unavailable=${this._isItemUnavailable(e)} .value=${i} @blur=${this._onFeatureItemBlur} @calciteListItemClose=${n=>{n.stopPropagation(),this.deselectItem(e)}} @calciteListItemSelect=${n=>this._afterListItemSelect(e,n)} @focus=${this._onFeatureItemFocus.bind(this,e)} @pointerenter=${this._onFeatureItemFocus.bind(this,e)} @pointerleave=${this._onFeatureItemBlur}>${this.#$(e)}${this.#a(e)}</calcite-list-item>`)}#$(e){if(!(this.hideItemIcons||!e.supportsThumbnail))return o("thumbnail-container",a`<div class=${c(r.listItemIcon)} slot=content-start>${o(e.thumbnailKey,a`<span data-thumbnail-key=${e.thumbnailKey??h} ${I(this._makeObserverRef())}></span>`)}</div>`)}render(){let e=this.hideHeader?void 0:this.el.title||this.messages.selection;return a`<div><calcite-flow><calcite-flow-item class=${c(r.flowItem)} .heading=${e} .loading=${this.state==="loading"} overlay-positioning=fixed .scale=${this.visualScale} selected><calcite-panel class=${c(r.panel)} .disabled=${this.disabled} overlay-positioning=fixed .scale=${this.visualScale}><div class=${c(r.container)}>${this.#r()}${this.#d()}${this.#m()}${this.#u()}</div></calcite-panel>${this.#n()}${this.#c()}</calcite-flow-item></calcite-flow></div>`}};w("arcgis-selection-list",$);return $},"intl","widgets/support/SelectionList/selectionListUtils","widgets/support/SelectionList/SelectionListViewModel",b,d,e,i)
|
package/dist/cdn/Z6NHKWWS.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as b}from"./REB4CHAK.js";import"./Q7GF26CL.js";import"./U77WHUC6.js";import"./LXME6MU5.js";import{R as g,X as _,_ as v,a as p,b as l,x as d}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{projectIsLoaded:C,projectLoad:$,projectExecute:y},x,R,{locationToAddress:w},{substitute:L},{watch:f}])=>{var G=p`calcite-notice{padding:var(--calcite-space-lg)}calcite-block{padding-inline-end:var(--calcite-spacing-xxs)}calcite-block[expanded]{margin:0}`,u=class extends g{constructor(){super(...arguments),this.messages=b(),this._abortController=null,this._location=null,this._results=null,this.headingLevel=3,this.portal=x.getDefault(),this.autoDestroyDisabled=!1,this.hideCoordinates=!1,this.arcgisReverseGeocodeResultsChange=d(),this.arcgisReverseGeocodeCopy=d()}static{this.properties={_abortController:16,_location:16,_results:16,headingLevel:9,portal:0,location:0,messageOverrides:0,autoDestroyDisabled:5,hideCoordinates:5,reverseGeocodeResults:32}}static{this.styles=G}get reverseGeocodeResults(){return this._results}async destroy(){await this.manager.destroy(),this._cancelQueries()}loaded(){this.manager.onLifecycle(()=>[f(()=>[this.portal,this.location],()=>{this._update()},{initial:!0}),f(()=>this._results,()=>{this.arcgisReverseGeocodeResultsChange.emit()})])}_cancelQueries(){this._abortController?.abort(),this._abortController=null}async _update(){let{location:e,messages:t}=this;if(this._cancelQueries(),!e){this._location=null,this._results=null;return}let s=new AbortController,o=s.signal;this._abortController=s;let i=()=>o.aborted||this._abortController!==s;if(!C()&&(await $(),i()))return;let c=y(e,R.WGS84)??e;if(i()||(this._location=c,await this.portal?.load({signal:o}),i()))return;let r=this.portal?.helperServices?.geocode?.filter(a=>a.reverseGeocode??!0);if(!r){if(i())return;this._results=null;return}let n=r.map(async a=>await w(a.url,{location:e},{signal:o})),h=await Promise.allSettled(n);i()||(this._abortController=null,this._results=r.map((a,m)=>({name:a.name??t?.untitledService??"",address:(h[m].status==="fulfilled"?h[m].value.address:null)??t?.noResultFound??"",url:a.url})))}_copyTextToClipboard(e){navigator.clipboard.writeText(e),this.arcgisReverseGeocodeCopy.emit({data:e})}_renderMoreResults(e){let{messages:t}=this;return!this._abortController&&e?.length?l`<calcite-block expandable scale=s .headingLevel=${this.headingLevel} .heading=${L(t?.showMoreResults??"",{count:e.length})}><calcite-list scale=s display-mode=flat interaction-mode=static selection-mode=none .label=${t?.moreResults??""}>${e?.map(s=>this._renderItem(s))}</calcite-list></calcite-block>`:null}_renderCopyAction({text:e,value:t}){return l`<calcite-action .text=${e} title=${e??_} slot=actions-end icon=copy @click=${()=>this._copyTextToClipboard(t)}></calcite-action>`}_renderCoordinatesItem(){let{_location:e,messages:t}=this;if(!e||this.hideCoordinates)return null;let{latitude:s,longitude:o}=e,i=s!=null&&o!=null?`${o.toFixed(6)}, ${s.toFixed(6)}`:null;return i?l`<calcite-list-item .label=${i} .description=${t.coordinates??""}>${this._renderCopyAction({text:t.copyCoordinates??"",value:i})}</calcite-list-item>`:null}_renderItem(e){let{messages:t}=this;return l`<calcite-list-item .label=${e.address} .description=${e.name}>${this._renderCopyAction({text:t.copyAddress??"",value:e.address??""})}</calcite-list-item>`}render(){let{_abortController:e,_location:t,_results:s,messages:o}=this;if(!t)return l`<calcite-notice scale=s open kind=warning icon><div slot=message>${o?.noLocation??""}</div></calcite-notice>`;let i=s?.[0],c=s&&s.length>1?s.slice(1):void 0,r=this._renderCoordinatesItem(),n=i?this._renderItem(i):null;return!e&&!n&&!r?l`<calcite-notice scale=s open kind=info><div slot=message>${o?.noResultFound??""}</div></calcite-notice>`:l`<calcite-list .loading=${!!e} display-mode=flat interaction-mode=static selection-mode=none .label=${o.label??""} scale=s>${r}${n}</calcite-list>${this._renderMoreResults(c)}`}};v("arcgis-reverse-geocode-list",u);return u},"geometry/operators/projectOperator","portal/Portal","geometry/SpatialReference","rest/locator","intl","core/reactiveUtils")
|
package/dist/cdn/ZKKZQVJT.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{d as s}from"./IM6IDWYR.js";import{a as f}from"./WVKMYNN7.js";import{a as n}from"./6J3KSMFG.js";import{a as g}from"./U77WHUC6.js";import"./LXME6MU5.js";import{R as p,_ as u,a as d,b as i}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([$])=>{var v=d`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}calcite-label{display:block}`,m=class extends p{constructor(){super(...arguments),this.scale="s",this.hideColorPicker=!1,this.hideInterval=!1}static{this.properties={options:0,scale:1,hideColorPicker:5,hideInterval:5,messages:0}}static{this.styles=v}render(){let{options:t,scale:l}=this,{color:r,interval:c}=t,a=this.messages?.discrete;return i`${n({hidden:this.hideInterval,children:i`<calcite-label .scale=${l}>${a?.intervalLabel}<calcite-select .label=${a?.intervalLabel??""} .scale=${l} @calciteSelectChange=${e=>{let b=e.target.value,h=Number.parseInt(b,10);Number.isFinite(h)&&(this.options.interval=h)}}>${f(I,e=>e,e=>i`<calcite-option .selected=${e===c} .value=${String(e)} .label=${C(e,g(this.el).t9nLocale)}></calcite-option>`)}</calcite-select></calcite-label>`})}${n({hidden:this.hideColorPicker,children:i`<arcgis-color-select .color=${r} .label=${a?.colorLabel} @arcgisColorChanged=${e=>{this.options.color=e.detail}}></arcgis-color-select>`})}`}};function C(o,t){return new Intl.DurationFormat(t,{style:"long"}).format(L(o))}function L(o){let t=Math.floor(o/1e3),l=Math.floor(t/3600),r=Math.floor(t%3600/60),c=t%60;return{hours:l,minutes:r,seconds:c}}var I=new $([s(15,"minutes","milliseconds"),s(30,"minutes","milliseconds"),s(1,"hours","milliseconds"),s(2,"hours","milliseconds"),s(3,"hours","milliseconds")]);u("arcgis-shadow-cast-discrete-config",m);return m},"core/Collection")
|