@arcgis/map-components 6.0.0-next.27 → 6.0.0-next.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{Q2ZQOGM2.js → 25PLRKZK.js} +1 -1
- package/dist/cdn/{74WM2EIB.js → 2AMSAAH4.js} +1 -1
- package/dist/cdn/{A5IFDSOU.js → 2GV5JA27.js} +1 -1
- package/dist/cdn/2NMV3XLT.js +2 -0
- package/dist/cdn/2RTEHAVG.js +2 -0
- package/dist/cdn/{GZ6UBR6R.js → 3NUN6DK3.js} +1 -1
- package/dist/cdn/3P44HZ3K.js +2 -0
- package/dist/cdn/3RSMD7RR.js +2 -0
- package/dist/cdn/3XHI22WD.js +2 -0
- package/dist/cdn/4ZAEHJPD.js +2 -0
- package/dist/cdn/5B22465P.js +2 -0
- package/dist/cdn/5OABHJND.js +2 -0
- package/dist/cdn/5XMKJYT6.js +2 -0
- package/dist/cdn/{4DPAOAMZ.js → 6NSO42OW.js} +1 -1
- package/dist/cdn/6TXZMHLZ.js +2 -0
- package/dist/cdn/6Y36YFPN.js +2 -0
- package/dist/cdn/7BU454HH.js +2 -0
- package/dist/cdn/{Y7IM3OFU.js → 7HBOZBSC.js} +1 -1
- package/dist/cdn/{2YXWKKNB.js → 7ID5HLPS.js} +1 -1
- package/dist/cdn/7RO6N4XQ.js +2 -0
- package/dist/cdn/A6DDWCVW.js +2 -0
- package/dist/cdn/AGXUHDNS.js +2 -0
- package/dist/cdn/AKIHNM7C.js +2 -0
- package/dist/cdn/APCXGAD5.js +2 -0
- package/dist/cdn/ARLGT35P.js +2 -0
- package/dist/cdn/BBKQM2GF.js +2 -0
- package/dist/cdn/BZXGVKKW.js +2 -0
- package/dist/cdn/{VWUH2VUY.js → C53YBNQ4.js} +1 -1
- package/dist/cdn/{2UAH624K.js → C74S3MND.js} +1 -1
- package/dist/cdn/{NTT5IV4A.js → CGGVQCCL.js} +1 -1
- package/dist/cdn/CNXH745H.js +2 -0
- package/dist/cdn/{DFZ22GLY.js → COC7IS2Z.js} +1 -1
- package/dist/cdn/D6UG734Y.js +2 -0
- package/dist/cdn/DF2MPD7N.js +2 -0
- package/dist/cdn/DGE5KKLM.js +2 -0
- package/dist/cdn/DU2IPXWR.js +2 -0
- package/dist/cdn/DXTK47ES.js +2 -0
- package/dist/cdn/DXXGERVD.js +2 -0
- package/dist/cdn/{FH6Q5A5L.js → ETD3FAGO.js} +1 -1
- package/dist/cdn/F2YSSNVY.js +2 -0
- package/dist/cdn/FAPDKS2C.js +2 -0
- package/dist/cdn/G6L4BDEL.js +2 -0
- package/dist/cdn/GBMEEEGZ.js +2 -0
- package/dist/cdn/HGEK42FO.js +2 -0
- package/dist/cdn/HTYTZ7GK.js +2 -0
- package/dist/cdn/{7U2V3LDM.js → I5F7MVDT.js} +1 -1
- package/dist/cdn/IIX2OICP.js +2 -0
- package/dist/cdn/{2SQGIY7T.js → IUYW4QOS.js} +1 -1
- package/dist/cdn/{QQLN6RWA.js → IYMK2NGU.js} +1 -1
- package/dist/cdn/IZYFQNW2.js +2 -0
- package/dist/cdn/J4FR5WZG.js +2 -0
- package/dist/cdn/J6ZEZ4NE.js +2 -0
- package/dist/cdn/{4FFEPX2D.js → JJXJPZUK.js} +1 -1
- package/dist/cdn/JWHVCBA3.js +2 -0
- package/dist/cdn/KWIZ45T7.js +2 -0
- package/dist/cdn/{VW35MSDL.js → L3MJ5NAZ.js} +1 -1
- package/dist/cdn/LC2ZSIJY.js +2 -0
- package/dist/cdn/LFA3XEWF.js +2 -0
- package/dist/cdn/LNTE4FDB.js +2 -0
- package/dist/cdn/LXTP2MVM.js +2 -0
- package/dist/cdn/M4GAOTVS.js +2 -0
- package/dist/cdn/M7ENWEKN.js +2 -0
- package/dist/cdn/NEPTDMLE.js +2 -0
- package/dist/cdn/NQXXIEV2.js +2 -0
- package/dist/cdn/NRFCVOMM.js +2 -0
- package/dist/cdn/{NLG5U5ZN.js → NVPN3I72.js} +1 -1
- package/dist/cdn/NXLWTRS6.js +3 -0
- package/dist/cdn/O2LMVVKS.js +2 -0
- package/dist/cdn/{FGU7NUST.js → O6KVILZF.js} +1 -1
- package/dist/cdn/O7OKLWBW.js +2 -0
- package/dist/cdn/OKAGFDAM.js +2 -0
- package/dist/cdn/ORKCIBIY.js +2 -0
- package/dist/cdn/{WU4NDBMC.js → P5U37XIA.js} +1 -1
- package/dist/cdn/PD7SLPIK.js +2 -0
- package/dist/cdn/PJIES74D.js +2 -0
- package/dist/cdn/PLDTM6JH.js +2 -0
- package/dist/cdn/PMXSSYFB.js +2 -0
- package/dist/cdn/{T4Z2B3T7.js → PSPUWCU5.js} +1 -1
- package/dist/cdn/PSTG4I4W.js +2 -0
- package/dist/cdn/Q2KWXSLQ.js +2 -0
- package/dist/cdn/{47CFYOUT.js → Q7CJUHNT.js} +1 -1
- package/dist/cdn/{XTCYIS4Z.js → R2FI35AK.js} +1 -1
- package/dist/cdn/RAADOJWX.js +2 -0
- package/dist/cdn/RVXA65TI.js +2 -0
- package/dist/cdn/SI6RI664.js +2 -0
- package/dist/cdn/{7EKBNXGL.js → SOIBQ3FH.js} +1 -1
- package/dist/cdn/SOLTOPI3.js +2 -0
- package/dist/cdn/SSB4SQXA.js +2 -0
- package/dist/cdn/{YTZZRJ7Z.js → T4DVKA6R.js} +1 -1
- package/dist/cdn/TEDWUEQ4.js +2 -0
- package/dist/cdn/TEPHXOQ2.js +2 -0
- package/dist/cdn/TI7UH6FZ.js +2 -0
- package/dist/cdn/TLAJ3GMX.js +2 -0
- package/dist/cdn/ULOXCWFO.js +2 -0
- package/dist/cdn/UTJTCZCF.js +2 -0
- package/dist/cdn/UXMKSIYL.js +2 -0
- package/dist/cdn/UYJB3OR4.js +2 -0
- package/dist/cdn/UZ4VANCL.js +2 -0
- package/dist/cdn/UZXVNOOD.js +2 -0
- package/dist/cdn/VHLDFKDS.js +2 -0
- package/dist/cdn/VPREN7P6.js +2 -0
- package/dist/cdn/VTDB4D2K.js +2 -0
- package/dist/cdn/{UJURQACP.js → VXPGE37T.js} +1 -1
- package/dist/cdn/{SJGWHUCR.js → VXXXOGU7.js} +1 -1
- package/dist/cdn/W73JDM22.js +2 -0
- package/dist/cdn/{RFO3M46K.js → WEMTOBBB.js} +1 -1
- package/dist/cdn/WGLTX4YP.js +2 -0
- package/dist/cdn/WKRW6DI5.js +2 -0
- package/dist/cdn/WPXCX7TX.js +2 -0
- package/dist/cdn/WYYUFJHO.js +2 -0
- package/dist/cdn/X2M3ZYHO.js +2 -0
- package/dist/cdn/XCDMOCWN.js +2 -0
- package/dist/cdn/XLYOZSWI.js +2 -0
- package/dist/cdn/XQBN6SO5.js +2 -0
- package/dist/cdn/{GKNGEZCO.js → XVZ74ZME.js} +1 -1
- package/dist/cdn/YBTMO6HU.js +2 -0
- package/dist/cdn/YFX2STSS.js +2 -0
- package/dist/cdn/{2Z36ICJZ.js → YME6EWHF.js} +1 -1
- package/dist/cdn/{62OAO327.js → Z42YLJMZ.js} +1 -1
- package/dist/cdn/{AKGUTL2V.js → Z46QEYSO.js} +1 -1
- package/dist/cdn/Z6ZEF6NC.js +2 -0
- package/dist/cdn/ZAW644CF.js +2 -0
- package/dist/cdn/ZCI6T4IU.js +2 -0
- package/dist/cdn/{XKGD4N75.js → ZEQHIKTN.js} +1 -1
- package/dist/cdn/ZMP3REWL.js +2 -0
- package/dist/cdn/ZP2VJX3N.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/layer-list-next.js +1 -1
- package/dist/chunks/screenLocation.js +10 -10
- package/dist/chunks/slots.js +6 -6
- package/dist/chunks/useArcgisViewReadyError.js +46 -46
- package/dist/components/arcgis-area-measurement-2d/customElement.js +4 -4
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +3 -3
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +15 -15
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
- package/dist/components/arcgis-building-phase-picker/customElement.js +16 -16
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +2 -2
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +9 -9
- package/dist/components/arcgis-daylight/customElement.d.ts +32 -25
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +4 -4
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +4 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +19 -2
- package/dist/components/arcgis-editor/customElement.js +7 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +10 -10
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +4 -4
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +5 -5
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +7 -7
- package/dist/components/arcgis-expand/customElement.d.ts +2 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-exploratory-analysis/customElement.js +7 -7
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +4 -4
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +17 -17
- package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +11 -11
- package/dist/components/arcgis-feature-media/customElement.js +63 -60
- package/dist/components/arcgis-feature-next/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +25 -25
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +5 -5
- package/dist/components/arcgis-features/customElement.js +8 -8
- package/dist/components/arcgis-features-next/customElement.d.ts +4 -4
- package/dist/components/arcgis-features-next/customElement.js +28 -27
- package/dist/components/arcgis-floor-filter/customElement.js +38 -38
- package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +6 -6
- package/dist/components/arcgis-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +14 -6
- package/dist/components/arcgis-map/customElement.d.ts +21 -17
- package/dist/components/arcgis-measurement-content/customElement.js +9 -9
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
- package/dist/components/arcgis-paste/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +8 -7
- package/dist/components/arcgis-popup/customElement.js +144 -138
- package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
- package/dist/components/arcgis-presentation/customElement.js +74 -75
- package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +5 -5
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +8 -8
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +42 -13
- package/dist/components/arcgis-search/customElement.d.ts +4 -4
- package/dist/components/arcgis-selection-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-selection-list/customElement.js +9 -9
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +6 -6
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +17 -10
- package/dist/components/arcgis-shadow-cast/customElement.js +45 -45
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +20 -2
- package/dist/components/arcgis-sketch/customElement.js +144 -142
- package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- package/dist/components/arcgis-slice/customElement.js +16 -16
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-table-list-next/customElement.js +1 -1
- package/dist/components/arcgis-time-bar/customElement.js +2 -2
- package/dist/components/arcgis-time-bar-settings/customElement.js +25 -25
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +11 -14
- package/dist/components/arcgis-time-bar-slider/customElement.js +17 -17
- package/dist/components/arcgis-time-slider/customElement.d.ts +6 -5
- package/dist/components/arcgis-time-slider/customElement.js +4 -4
- package/dist/components/arcgis-time-zone-chip/customElement.js +4 -4
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-selector/customElement.js +5 -5
- package/dist/components/arcgis-track/customElement.d.ts +4 -4
- package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-picker/customElement.d.ts +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +7 -7
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +8 -5
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +51 -43
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +20 -4
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +25 -33
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +13 -13
- package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +23 -16
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +70 -62
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +19 -1
- package/dist/components/arcgis-video/customElement.js +7 -4
- package/dist/components/arcgis-video-player/customElement.d.ts +17 -0
- package/dist/components/arcgis-video-player/customElement.js +60 -52
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/slider-legacy/types.d.ts +2 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +0 -4
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +1 -6
- package/dist/types/preact.d.ts +1 -7
- package/dist/types/react.d.ts +1 -8
- package/dist/types/stencil.d.ts +1 -6
- package/package.json +6 -6
- package/dist/cdn/22RLIDCP.js +0 -2
- package/dist/cdn/2PLAZVGP.js +0 -2
- package/dist/cdn/2RQGZLOJ.js +0 -2
- package/dist/cdn/2S6RQ6Q4.js +0 -2
- package/dist/cdn/3EXEL7AM.js +0 -2
- package/dist/cdn/3W7KESW7.js +0 -2
- package/dist/cdn/4N4XDCDQ.js +0 -2
- package/dist/cdn/4NG7CALI.js +0 -2
- package/dist/cdn/4PDZTEB2.js +0 -2
- package/dist/cdn/5DEJDR4W.js +0 -2
- package/dist/cdn/5PPYHS6V.js +0 -2
- package/dist/cdn/5V6BNJ5O.js +0 -2
- package/dist/cdn/5V6K43GW.js +0 -2
- package/dist/cdn/66GRDX36.js +0 -2
- package/dist/cdn/6G5QADEG.js +0 -2
- package/dist/cdn/6GE2WBKV.js +0 -2
- package/dist/cdn/6QWLMG5M.js +0 -2
- package/dist/cdn/6T4BDMND.js +0 -2
- package/dist/cdn/6VV5SX76.js +0 -2
- package/dist/cdn/74PUSJU5.js +0 -2
- package/dist/cdn/7JK4JGPG.js +0 -2
- package/dist/cdn/APFZ2FVO.js +0 -2
- package/dist/cdn/BJI5DVB5.js +0 -2
- package/dist/cdn/BM3FQ4OG.js +0 -2
- package/dist/cdn/CGE6E3O3.js +0 -2
- package/dist/cdn/CXXBV6RJ.js +0 -2
- package/dist/cdn/DEW5IWND.js +0 -2
- package/dist/cdn/E5CGORXN.js +0 -2
- package/dist/cdn/E5X5BYWA.js +0 -2
- package/dist/cdn/EB4V6SPF.js +0 -2
- package/dist/cdn/ECUVJOIW.js +0 -2
- package/dist/cdn/FMLDKHWP.js +0 -3
- package/dist/cdn/G2ACNJGG.js +0 -2
- package/dist/cdn/GIQT67VT.js +0 -2
- package/dist/cdn/H66E4VOY.js +0 -2
- package/dist/cdn/HL6WL2YA.js +0 -2
- package/dist/cdn/HTONXZBP.js +0 -2
- package/dist/cdn/HUWIY53T.js +0 -2
- package/dist/cdn/IJ7EV66N.js +0 -2
- package/dist/cdn/IOUO7KBT.js +0 -2
- package/dist/cdn/JRO4IBJP.js +0 -2
- package/dist/cdn/JUOOKKZJ.js +0 -2
- package/dist/cdn/KE2ER3F7.js +0 -2
- package/dist/cdn/KIHYSYOL.js +0 -2
- package/dist/cdn/KJISACOI.js +0 -2
- package/dist/cdn/L4WLEN3C.js +0 -2
- package/dist/cdn/LILX2DJE.js +0 -2
- package/dist/cdn/LP4ETJF7.js +0 -2
- package/dist/cdn/MDS3NVWM.js +0 -2
- package/dist/cdn/MW27GSDX.js +0 -2
- package/dist/cdn/NZQLQGTQ.js +0 -2
- package/dist/cdn/O46PVNMT.js +0 -2
- package/dist/cdn/ONYCZO7Y.js +0 -2
- package/dist/cdn/ORVSAF3Z.js +0 -2
- package/dist/cdn/OZF64H7N.js +0 -2
- package/dist/cdn/P65FMRMP.js +0 -2
- package/dist/cdn/PXDX3LCI.js +0 -2
- package/dist/cdn/Q2GYNZYQ.js +0 -2
- package/dist/cdn/QET5SVDO.js +0 -2
- package/dist/cdn/QUPDTNAC.js +0 -2
- package/dist/cdn/R5PT7JNG.js +0 -2
- package/dist/cdn/R6ARQKAY.js +0 -2
- package/dist/cdn/RBRDUDEY.js +0 -2
- package/dist/cdn/RQPOCDJS.js +0 -2
- package/dist/cdn/RSKBANQ5.js +0 -2
- package/dist/cdn/RT53VCER.js +0 -2
- package/dist/cdn/T3MDSQ3T.js +0 -2
- package/dist/cdn/TDQYO6FQ.js +0 -2
- package/dist/cdn/TKD5T5DW.js +0 -2
- package/dist/cdn/UB6BQW3G.js +0 -2
- package/dist/cdn/UFDB6U6V.js +0 -2
- package/dist/cdn/UI5E3MX7.js +0 -2
- package/dist/cdn/UKIVMO7H.js +0 -2
- package/dist/cdn/UR3Z5YHW.js +0 -2
- package/dist/cdn/VM5QVCMC.js +0 -2
- package/dist/cdn/VPDDFGYQ.js +0 -2
- package/dist/cdn/W4GNRGIN.js +0 -2
- package/dist/cdn/WG5PHRPT.js +0 -2
- package/dist/cdn/WW7YOPDY.js +0 -2
- package/dist/cdn/XN3MG6YU.js +0 -2
- package/dist/cdn/XWBR6FXI.js +0 -2
- package/dist/cdn/Y5ZZCA3R.js +0 -2
- package/dist/cdn/Y6NC7ML3.js +0 -2
- package/dist/cdn/Y7XSHXVA.js +0 -2
- package/dist/cdn/YBSEIOQX.js +0 -2
- package/dist/cdn/YC7VLNKI.js +0 -2
- package/dist/cdn/YITBBUPR.js +0 -2
- package/dist/cdn/YJROHURO.js +0 -2
- package/dist/cdn/YXIJXXTK.js +0 -2
- package/dist/cdn/Z3674FMT.js +0 -2
- package/dist/cdn/Z6NHKWWS.js +0 -2
- package/dist/cdn/ZJPYW3TN.js +0 -2
- package/dist/cdn/ZKKZQVJT.js +0 -2
- package/dist/components/arcgis-feature-form-field/customElement.d.ts +0 -189
- package/dist/components/arcgis-feature-form-field/index.d.ts +0 -1
- package/dist/components/arcgis-feature-form-field/types.d.ts +0 -7
- package/dist/components/arcgis-feature-form-field-number/customElement.d.ts +0 -4
- package/dist/components/arcgis-feature-form-field-number/index.d.ts +0 -1
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/ZJPYW3TN.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import a from"./HU57LQOA.js";import{a as E}from"./REB4CHAK.js";import{R as I,_ as S,a as M,b as p,p as l,r as m,x as b}from"./PQ7NUE5C.js";export default $arcgis.t(([k,{cutExecute:A},{lengthExecute:L},{projectIsLoaded:j,projectLoad:B,projectExecute:N},{proximityGetNearestCoordinate:U},D,F,R,x,$,O,G,{substitute:W},{b:P,e:v,g:C,h:_}])=>{var H=M`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{display:flex;justify-content:center}calcite-list{margin:0 var(--calcite-space-sm) var(--calcite-space-sm);background-color:var(--calcite-color-surface-2);border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);overflow:hidden}calcite-list-item[selected] [slot=content-bottom]{display:block}.warning{color:var(--calcite-color-status-danger)}.terminals{padding:var(--calcite-space-sm) var(--calcite-space-md);display:flex;flex-direction:column}.filter-barrier{display:flex;justify-content:space-between;align-items:center;width:100%}`,V=`utility-network-trace-locations-sketch-${Date.now()}`,T=class q extends I{constructor(){super(...arguments),this._messages=E({blocking:!0}),this._isSelectWaiting=!1,this.traceLocationType="starting-point",this.traceLocations=new k,this.filterLayers=new k,this.spatialTolerance=.05,this.autoDestroyDisabled=!1,this.arcgisTraceLocationSelectEnd=b(),this.arcgisTraceLocationSelectStart=b(),this.arcgisError=b()}static{this.properties={_isSelectWaiting:16,beforeMapInteraction:0,afterMapInteraction:0,messageOverrides:0,view:0,traceLocationType:1,traceLocations:0,filterLayers:0,spatialTolerance:9,error:1,autoDestroyDisabled:5,utilityNetwork:0,heading:1,sketchViewModel:32}}static{this.styles=H}static{this.sketchViewModelMap=new Map}static getSketchViewModel(t){if(!this.sketchViewModelMap.has(t)){let e=this.#a(t,V);e&&this.sketchViewModelMap.set(t,new O({view:t,layer:e}))}return this.sketchViewModelMap.get(t)??null}static#a(t,e){if(!t?.map)return null;let i=t.map.findLayerById(e);if(!i){let r=new R({id:e,listMode:"hide",title:e});return P(t,r),r}return i}static removeSketchGraphicsLayer(t){if(t?.map){let e=t.map.findLayerById(V);e&&t.map.remove(e),this.sketchViewModelMap.delete(t)}}#i;get sketchViewModel(){return this.view?q.getSketchViewModel(this.view):null}async destroy(){try{this.#r()}finally{await this.manager.destroy()}}async load(){j()||await B()}willUpdate(t){t.has("filterLayers")&&this.#o()}#t(t,e){this.error=e,l(t,this,e),this.arcgisError.emit()}#s(t){let{traceLocations:e,view:i}=this;t.spatialProperties.flagGraphic&&i&&i.graphics.remove(t.spatialProperties.flagGraphic),e?.remove(t)}#o(){if(!this.sketchViewModel)return;let t=new k;this.filterLayers?.forEach(e=>{C(e)?e.sublayers.forEach(i=>{t.add(new G({layer:i,enabled:!0}))}):t.add(new G({layer:e,enabled:!0}))}),this.sketchViewModel.snappingOptions={enabled:!1,featureSources:t}}#n(t,e){let i=t.clone(),r=i.spatialReference,s=e.spatialReference;if(!r||!s)return l("warn",this,"Unable to calculate percent along because geometry is missing a spatial reference."),-1;let o=e;if(!r.equals(s)){let y=N(e,r);if(!y)return l("warn",this,"Unable to project flag point to source geometry spatial reference."),-1;o=y}let n=U(i,o);if(n.isEmpty)return l("warn",this,"Unable to compute nearest coordinate for polyline flag."),-1;let a=n.coordinate,c=a.x-.5,h=a.y-.5,d=a.x+.5,u=a.y+.5,f=new D({hasZ:!1,hasM:!0,paths:[[[c,h],[d,u]]],spatialReference:i.spatialReference}),g=A(i,f);if(g.length>0){let y=L(i,{unit:"feet"}),w;return g[0].paths[0][0][0]===i.paths[0][0][0]?w=L(g[0],{unit:"feet"}):g.length>1?w=L(g[1],{unit:"feet"}):w=0,w/y}return l("warn",this,"Unable to cut the source geometry with the flag geometry."),-1}get#c(){let t=this.utilityNetwork?.dataElement?.domainNetworks;return t?t.flatMap(e=>e.edgeSources).map(e=>e.layerId).filter(Boolean):[]}async#l(){let{view:t,sketchViewModel:e}=this;if(!(t&&e)){l("error",this,"Cannot add trace location."),e||l("error",this,m("sketchViewModel")),t||l("error",this,m("view"));return}if(this.beforeMapInteraction){this._isSelectWaiting=!0;try{await this.beforeMapInteraction()}finally{this._isSelectWaiting=!1}}await this.#e(t,e)}async#e(t,e){this.arcgisTraceLocationSelectStart.emit({cancelSelect:()=>e.cancel()}).defaultPrevented||(this.#i?.remove(),this.#i=e.on("create",i=>this.#h(i,t,e)),"acquireCursor"in t&&t.acquireCursor("crosshair"),e.snappingOptions.enabled=!0,e.create("point"))}#h(t,e,i){if(t.state==="complete"&&t.graphic){i.layer.remove(t.graphic),this.#p(t,e,i);return}t.state==="cancel"&&(this.#r(),this.arcgisTraceLocationSelectEnd.emit())}async#p(t,e,i){let{utilityNetwork:r}=this,{graphic:s}=t;if(!r){l("error",this,m("utilityNetwork")),this.#r(),this.arcgisTraceLocationSelectEnd.emit();return}if(s?.geometry?.type!=="point"){this.#t("warn",this._messages.errors.noHitResult),this.#e(e,i);return}let o=s.geometry,n=e.toScreen(o);if(!n){this.#t("warn",this._messages.errors.noHitResult),this.#e(e,i);return}let a=(await e.hitTest(n,{include:this.filterLayers})).results.filter(c=>c.type==="graphic"&&c?.layer&&c.graphic);if(!a.length){this.#t("info",this._messages.errors.noHitResult),this.#e(e,i);return}this.#r(),await this.#d(a,o,e)?this.arcgisTraceLocationSelectEnd.emit():this.#e(e,i)}#r(){let{view:t,sketchViewModel:e}=this;if(!t){l("error",this,m("view"));return}e&&(e.snappingOptions.enabled=!1),this.#i?.remove(),this.#i=void 0,"acquireCursor"in t&&t.acquireCursor("default")}async#d(t,e,i){if(!t.length)return this.#t("error",this._messages.errors.noHitResult),!1;let r=t[0].graphic;if(this.afterMapInteraction){let o=t.map(n=>{let a=n,c=a.graphic;return c.origin=a.layer,c.sourceLayer=a.layer,c});try{r=await this.afterMapInteraction(o)}catch{r=null}}if(!r)return l("error",this,"No graphic available from hit test results."),this.arcgisTraceLocationSelectEnd.emit(),!0;let s=await this.#u(r);return s?await this.#g(s,e,i):(this.#t("error",this._messages.errors.missingAttributes),this.arcgisTraceLocationSelectEnd.emit(),!0)}async#u(t){let e=(v(t.layer),t.layer),i=e.geometryType===null,r=e.fieldsIndex?.get("assetgroup")??!1,s=e.fieldsIndex?.get("assetgroup")?.name??"assetgroup",o=e.fieldsIndex?.get("assettype")??!1,n=e.fieldsIndex?.get("assettype")?.name??"assettype",a=t.getGlobalId(),c=t.getObjectId(),h=r?!!t.getAttribute(s):!0,d=o?!!t.getAttribute(n):!0,u=!!t.geometry;if(a&&c&&h&&d&&(u||i))return t;let f=e.createQuery();return f.objectIds=[c],(await e.queryFeatures(f)).features[0]||null}async#g(t,e,i){let{traceLocations:r}=this,s=t.getGlobalId()??"",o=t.geometry?.type,n=await this.#m(t,e);if(!n)return this.#t("error",this._messages.errors.errorGeneratingTraceLocationDetails),!1;let a=r?.filter(h=>h.spatialProperties.mapGraphic?.getGlobalId()===s)??[];if(a.length>0){if(o!=="polyline")return this.#t("warn",this._messages.errors.duplicateTraceLocationDetails),!1;if(a.some(h=>Math.abs(h.traceLocation.percentAlong-n.traceLocation.percentAlong)<=this.spatialTolerance))return this.#t("warn",this._messages.errors.duplicateTraceLocationDetailsWithinTolerance),!1}let c=this.#y(t,e,i);return c?(n.spatialProperties.flagGraphic=c,r?.add(n),!0):(this.#t("warn",this._messages.errors.errorAdding),!1)}async#m(t,e){let{traceLocationType:i,utilityNetwork:r}=this,s=t.getGlobalId()??"",o=t.geometry?.type,n=await this.#f(t);if(o==="point"||o==="polygon"){let a=r?.getTerminalConfiguration(t),c=a?a.terminals[0].id:1;return{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,terminalId:c}),flagProperties:{title:n,expanded:!1,terminalConfiguration:a??void 0,selectedTerminals:a?new Set([c]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(o==="polyline"){let a=this.#n(t.geometry,e);return a<0?(l("warn",this,"Unable to calculate percent along for polyline flag."),null):{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,percentAlong:a}),flagProperties:{title:n,expanded:!1,terminalConfiguration:void 0,selectedTerminals:void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(!o){let a=_(t.layer)?t.layer.parent:t.layer,c=a&&this.#c.includes(a.layerId),h=r?.getTerminalConfiguration(t),d=h?h.terminals[0].id:c?-1:1,u=c?.5:-1;return{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,terminalId:d,percentAlong:u}),flagProperties:{title:n,expanded:!1,terminalConfiguration:h??void 0,selectedTerminals:h?new Set([d]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}return null}async#f(t){let e=(v(t.layer),t.layer);return("getFeatureTitle"in e?await e.getFeatureTitle(t):null)||t.getObjectId()?.toString()||this._messages.unknown}#y(t,e,i){let r=t.geometry?t.geometry.type==="point"?t.geometry:e:null,s=this.#w(),o=new F({geometry:r,symbol:s,attributes:t.attributes});return i.graphics.add(o),o}#w(){let{traceLocationType:t}=this,e=[244,21,21,.6],i=[21,244,21,.6];return t==="stopping-point"?new $({color:e,style:"x",size:12,outline:{color:e,width:2}}):t==="barrier"?new $({color:e,style:"square",size:12,outline:{color:e,width:0}}):new $({color:i,style:"circle",size:12,outline:{color:i,width:0}})}#b(){let{view:t,traceLocations:e}=this;e?.forEach(i=>{i.spatialProperties.flagGraphic&&t&&t.graphics.remove(i.spatialProperties.flagGraphic)}),e?.removeAll()}#v(t,e){let{flagProperties:i}=t,{selectedTerminals:r}=i,{name:s,id:o}=e,n=r?.has(o)??!1;return p`<calcite-label layout=inline><calcite-checkbox .value=${o} .checked=${n} @calciteCheckboxChange=${a=>{a.target.checked?r?.add(o):r?.delete(o),this.requestUpdate()}}></calcite-checkbox>${s}</calcite-label>`}#k(){return p`<calcite-notice kind=danger open scale=s width=auto><div slot=message>${this._messages.errors.noTerminalSelected}</div></calcite-notice>`}#L(t){let{traceLocation:e}=t;return p`<calcite-label layout=inline><div class="filter-barrier">${this._messages.labels.filterBarrier}<calcite-switch .checked=${e.isFilterBarrier} @calciteSwitchChange=${i=>{e.isFilterBarrier=i.target.checked}}></calcite-switch></div></calcite-label>`}#x(t){let{flagProperties:e}=t,{terminalConfiguration:i,selectedTerminals:r}=e,s=t.traceLocation.type==="barrier",o=i&&i.terminals.length>0&&r?.size===0;return p`<calcite-action .icon=${e.expanded?"chevron-up":"chevron-down"} slot=actions-end scale=s text @click=${()=>{e.expanded=!e.expanded,this.requestUpdate()}}></calcite-action>${o&&p`<calcite-icon class="warning" icon=exclamation-mark-triangle scale=s slot=content-start></calcite-icon>`||""}${e.expanded&&p`<div class="terminals" slot=content-bottom>${s&&this.#L(t)||""}${i&&this.#$(t)||""}${o&&this.#k()||""}</div>`||""}`}#$(t){let{flagProperties:e}=t,{terminalConfiguration:i}=e;if(!i)return l("warn",this,"One or more locations are missing the required flag property `terminalConfiguration`."),[];let r=i.terminals;return r.length?r.length===1?[]:r.map(s=>this.#v(t,s)):(l("warn",this,"`terminalConfiguration.terminals` is required but either missing or empty.`"),[])}#T(t){let{flagProperties:e}=t,{terminalConfiguration:i,expanded:r,title:s}=e,o=i&&i.id!==0,n=t.traceLocation.type==="barrier",a=o||n,c=i?.name??void 0;return p`<calcite-list-item .label=${s} .description=${c} .value=${s} .expanded=${r}>${a?this.#x(t):p`<div slot=content-bottom></div>`}<calcite-action icon=x slot=actions-end scale=s text @click=${()=>this.#s(t)}></calcite-action></calcite-list-item>`}#M(t){if(!t.length)return null;let{traceLocationType:e}=this,i=t.map(s=>this.#T(s)).toArray(),r=W(this._messages.labels.list,{type:e});return p`<div><calcite-list interaction-mode=static selection-mode=none .label=${r}>${i}</calcite-list></div>`}#I(){let{traceLocationType:t,_messages:e,traceLocations:i,heading:r}=this,s=t==="starting-point"?e.types.startingPoint:t==="barrier"?e.types.barrier:e.types.stoppingPoint,o=r??s.heading,n=s.description,a=s.buttonText;return p`<calcite-block .heading=${o} .label=${o} expanded .description=${n}>${i?.length?p`<calcite-button slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${()=>this.#b()}>${e.buttons.clear}</calcite-button>${this.#M(i)}`:null}<div class="button-container"><calcite-button .loading=${this._isSelectWaiting} class="add-location-button" icon-start=select appearance=outline .label=${a} @click=${()=>this.#l()}>${a}</calcite-button></div></calcite-block>`}render(){return this.#I()}};S("arcgis-utility-network-trace-locations",T);return T},"core/Collection","geometry/operators/cutOperator","geometry/operators/lengthOperator","geometry/operators/projectOperator","geometry/operators/proximityOperator","geometry/Polyline","Graphic","layers/GraphicsLayer","rest/networks/support/TraceLocation","symbols/SimpleMarkerSymbol","widgets/Sketch/SketchViewModel","views/interactive/snapping/FeatureSnappingLayerSource","intl",a)
|
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")
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type FieldInput from "@arcgis/core/widgets/BatchAttributeForm/inputs/FieldInput.js";
|
|
3
|
-
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
-
import type { ValueChangeCallback } from "./types.js";
|
|
5
|
-
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
|
-
|
|
7
|
-
export abstract class ArcgisFeatureFormField extends LitElement {
|
|
8
|
-
/** @internal */
|
|
9
|
-
protected _messages: Partial<{
|
|
10
|
-
componentLabel: string;
|
|
11
|
-
components: { attachments: {
|
|
12
|
-
"attachment-validation-view": { validations: {
|
|
13
|
-
errorFileUnsupported: string;
|
|
14
|
-
maximumAudioLength: string;
|
|
15
|
-
maximumImageSize: string;
|
|
16
|
-
maximumFileSize: string;
|
|
17
|
-
maximumNumberOfFiles: string;
|
|
18
|
-
maximumVideoLength: string;
|
|
19
|
-
minimumNumberOfFiles: string;
|
|
20
|
-
}; };
|
|
21
|
-
"add-attachment-view": {
|
|
22
|
-
captureMethodNotSupported: string;
|
|
23
|
-
fileToBeReplaced: string;
|
|
24
|
-
heading: string;
|
|
25
|
-
};
|
|
26
|
-
"attachment-preview": { noPreview: string; };
|
|
27
|
-
"attachment-detail-view": {
|
|
28
|
-
maximize: string;
|
|
29
|
-
download: string;
|
|
30
|
-
replace: string;
|
|
31
|
-
fileName: string;
|
|
32
|
-
nameCannotBeNull: string;
|
|
33
|
-
size: string;
|
|
34
|
-
type: string;
|
|
35
|
-
reset: string;
|
|
36
|
-
imageDescription: string;
|
|
37
|
-
};
|
|
38
|
-
thumbnail: { fileTypes: {
|
|
39
|
-
"file-cad": string;
|
|
40
|
-
"file-code": string;
|
|
41
|
-
"file-csv": string;
|
|
42
|
-
"file-excel": string;
|
|
43
|
-
"file-gpx": string;
|
|
44
|
-
"file-pdf": string;
|
|
45
|
-
"file-ppt": string;
|
|
46
|
-
"file-text": string;
|
|
47
|
-
"file-word": string;
|
|
48
|
-
"file-zip": string;
|
|
49
|
-
file: string;
|
|
50
|
-
image: string;
|
|
51
|
-
sound: string;
|
|
52
|
-
video: string;
|
|
53
|
-
}; };
|
|
54
|
-
}; };
|
|
55
|
-
units: { bytes: {
|
|
56
|
-
B: string;
|
|
57
|
-
kB: string;
|
|
58
|
-
MB: string;
|
|
59
|
-
GB: string;
|
|
60
|
-
TB: string;
|
|
61
|
-
}; };
|
|
62
|
-
differentValuesPlaceholder: string;
|
|
63
|
-
empty: string;
|
|
64
|
-
}> & T9nMeta<{
|
|
65
|
-
componentLabel: string;
|
|
66
|
-
components: { attachments: {
|
|
67
|
-
"attachment-validation-view": { validations: {
|
|
68
|
-
errorFileUnsupported: string;
|
|
69
|
-
maximumAudioLength: string;
|
|
70
|
-
maximumImageSize: string;
|
|
71
|
-
maximumFileSize: string;
|
|
72
|
-
maximumNumberOfFiles: string;
|
|
73
|
-
maximumVideoLength: string;
|
|
74
|
-
minimumNumberOfFiles: string;
|
|
75
|
-
}; };
|
|
76
|
-
"add-attachment-view": {
|
|
77
|
-
captureMethodNotSupported: string;
|
|
78
|
-
fileToBeReplaced: string;
|
|
79
|
-
heading: string;
|
|
80
|
-
};
|
|
81
|
-
"attachment-preview": { noPreview: string; };
|
|
82
|
-
"attachment-detail-view": {
|
|
83
|
-
maximize: string;
|
|
84
|
-
download: string;
|
|
85
|
-
replace: string;
|
|
86
|
-
fileName: string;
|
|
87
|
-
nameCannotBeNull: string;
|
|
88
|
-
size: string;
|
|
89
|
-
type: string;
|
|
90
|
-
reset: string;
|
|
91
|
-
imageDescription: string;
|
|
92
|
-
};
|
|
93
|
-
thumbnail: { fileTypes: {
|
|
94
|
-
"file-cad": string;
|
|
95
|
-
"file-code": string;
|
|
96
|
-
"file-csv": string;
|
|
97
|
-
"file-excel": string;
|
|
98
|
-
"file-gpx": string;
|
|
99
|
-
"file-pdf": string;
|
|
100
|
-
"file-ppt": string;
|
|
101
|
-
"file-text": string;
|
|
102
|
-
"file-word": string;
|
|
103
|
-
"file-zip": string;
|
|
104
|
-
file: string;
|
|
105
|
-
image: string;
|
|
106
|
-
sound: string;
|
|
107
|
-
video: string;
|
|
108
|
-
}; };
|
|
109
|
-
}; };
|
|
110
|
-
units: { bytes: {
|
|
111
|
-
B: string;
|
|
112
|
-
kB: string;
|
|
113
|
-
MB: string;
|
|
114
|
-
GB: string;
|
|
115
|
-
TB: string;
|
|
116
|
-
}; };
|
|
117
|
-
differentValuesPlaceholder: string;
|
|
118
|
-
empty: string;
|
|
119
|
-
}>;
|
|
120
|
-
/**
|
|
121
|
-
* When true, the component is visually de-emphasized and does not accept user interaction.
|
|
122
|
-
*
|
|
123
|
-
* @default false
|
|
124
|
-
*/
|
|
125
|
-
accessor disabled: boolean;
|
|
126
|
-
/** @required */
|
|
127
|
-
accessor input: FieldInput | undefined;
|
|
128
|
-
accessor messageOverrides: {
|
|
129
|
-
componentLabel?: string | undefined;
|
|
130
|
-
components?: { attachments?: {
|
|
131
|
-
"attachment-validation-view"?: { validations?: {
|
|
132
|
-
errorFileUnsupported?: string | undefined;
|
|
133
|
-
maximumAudioLength?: string | undefined;
|
|
134
|
-
maximumImageSize?: string | undefined;
|
|
135
|
-
maximumFileSize?: string | undefined;
|
|
136
|
-
maximumNumberOfFiles?: string | undefined;
|
|
137
|
-
maximumVideoLength?: string | undefined;
|
|
138
|
-
minimumNumberOfFiles?: string | undefined;
|
|
139
|
-
} | undefined; } | undefined;
|
|
140
|
-
"add-attachment-view"?: {
|
|
141
|
-
captureMethodNotSupported?: string | undefined;
|
|
142
|
-
fileToBeReplaced?: string | undefined;
|
|
143
|
-
heading?: string | undefined;
|
|
144
|
-
} | undefined;
|
|
145
|
-
"attachment-preview"?: { noPreview?: string | undefined; } | undefined;
|
|
146
|
-
"attachment-detail-view"?: {
|
|
147
|
-
maximize?: string | undefined;
|
|
148
|
-
download?: string | undefined;
|
|
149
|
-
replace?: string | undefined;
|
|
150
|
-
fileName?: string | undefined;
|
|
151
|
-
nameCannotBeNull?: string | undefined;
|
|
152
|
-
size?: string | undefined;
|
|
153
|
-
type?: string | undefined;
|
|
154
|
-
reset?: string | undefined;
|
|
155
|
-
imageDescription?: string | undefined;
|
|
156
|
-
} | undefined;
|
|
157
|
-
thumbnail?: { fileTypes?: {
|
|
158
|
-
"file-cad"?: string | undefined;
|
|
159
|
-
"file-code"?: string | undefined;
|
|
160
|
-
"file-csv"?: string | undefined;
|
|
161
|
-
"file-excel"?: string | undefined;
|
|
162
|
-
"file-gpx"?: string | undefined;
|
|
163
|
-
"file-pdf"?: string | undefined;
|
|
164
|
-
"file-ppt"?: string | undefined;
|
|
165
|
-
"file-text"?: string | undefined;
|
|
166
|
-
"file-word"?: string | undefined;
|
|
167
|
-
"file-zip"?: string | undefined;
|
|
168
|
-
file?: string | undefined;
|
|
169
|
-
image?: string | undefined;
|
|
170
|
-
sound?: string | undefined;
|
|
171
|
-
video?: string | undefined;
|
|
172
|
-
} | undefined; } | undefined;
|
|
173
|
-
} | undefined; } | undefined;
|
|
174
|
-
units?: { bytes?: {
|
|
175
|
-
B?: string | undefined;
|
|
176
|
-
kB?: string | undefined;
|
|
177
|
-
MB?: string | undefined;
|
|
178
|
-
GB?: string | undefined;
|
|
179
|
-
TB?: string | undefined;
|
|
180
|
-
} | undefined; } | undefined;
|
|
181
|
-
differentValuesPlaceholder?: string | undefined;
|
|
182
|
-
empty?: string | undefined;
|
|
183
|
-
};
|
|
184
|
-
/** @default false */
|
|
185
|
-
accessor readOnly: boolean;
|
|
186
|
-
/** @required */
|
|
187
|
-
accessor valueChangeCallback: ValueChangeCallback;
|
|
188
|
-
setFocus(): Promise<void>;
|
|
189
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|