@arcgis/map-components 5.1.0-next.10 → 5.1.0-next.12
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/2AYGSNEO.js +2 -0
- package/dist/cdn/{YSDQ5VNK.js → 2EJ4XRH4.js} +1 -1
- package/dist/cdn/{FOMIDTAN.js → 2NOL7QIE.js} +1 -1
- package/dist/cdn/{24PK3ZLX.js → 37TNG76C.js} +1 -1
- package/dist/cdn/{GLNRLEZE.js → 3DO7PVNW.js} +1 -1
- package/dist/cdn/{EPQN4FJS.js → 3XMPN66U.js} +1 -1
- package/dist/cdn/{KBY7C6QM.js → 3YA25S2J.js} +1 -1
- package/dist/cdn/{5FZLG5YS.js → 42UR6TXZ.js} +1 -1
- package/dist/cdn/4EAZ4PIQ.js +2 -0
- package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
- package/dist/cdn/{JTEJ2NHE.js → 556MC5SF.js} +1 -1
- package/dist/cdn/{7L5TRJUA.js → 5ITF7Q7U.js} +1 -1
- package/dist/cdn/5LBJB4MP.js +2 -0
- package/dist/cdn/{CUWONRT5.js → 5RGFRTJS.js} +1 -1
- package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
- package/dist/cdn/{UZ7KLWGC.js → 63P5VYGP.js} +1 -1
- package/dist/cdn/{FTBTVD7U.js → 64OEHFBZ.js} +1 -1
- package/dist/cdn/{2PAAPTW5.js → 6CGPJGIB.js} +1 -1
- package/dist/cdn/{AN2ZNLDK.js → 6F6VOBIA.js} +1 -1
- package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
- package/dist/cdn/{I6ZXIPND.js → 7JQZBAFA.js} +1 -1
- package/dist/cdn/{PESPV6VP.js → 7YLXQNEC.js} +1 -1
- package/dist/cdn/A2JO7DWO.js +2 -0
- package/dist/cdn/{D7DDJ2QZ.js → A44ZCOCX.js} +2 -2
- package/dist/cdn/A4UJ53JS.js +2 -0
- package/dist/cdn/{S52VES4H.js → A7JPWYKR.js} +1 -1
- package/dist/cdn/{GS43BIES.js → AEYZDEAH.js} +1 -1
- package/dist/cdn/{CMWIMRU2.js → AJHRJ5EA.js} +1 -1
- package/dist/cdn/{INS77MCT.js → AP2IFWYH.js} +1 -1
- package/dist/cdn/{OAFAR3NG.js → BUOIT34V.js} +1 -1
- package/dist/cdn/{BNJXI23I.js → C24SOTLL.js} +1 -1
- package/dist/cdn/{LSF66JVY.js → C4DJABUI.js} +1 -1
- package/dist/cdn/{SPACZLHW.js → C7YN3AZA.js} +1 -1
- package/dist/cdn/{CXOYV56L.js → CC53K2CR.js} +1 -1
- package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
- package/dist/cdn/{7DTWNSIR.js → CTSWZC3O.js} +1 -1
- package/dist/cdn/{BX7N3KYH.js → CVBNRF34.js} +1 -1
- package/dist/cdn/CWJ5OA5A.js +2 -0
- package/dist/cdn/D27YXH3W.js +2 -0
- package/dist/cdn/D73JFV2R.js +2 -0
- package/dist/cdn/{Y6KRMZWJ.js → DINM6JDS.js} +1 -1
- package/dist/cdn/{CEJGZMGB.js → DTVW3MYT.js} +1 -1
- package/dist/cdn/{TTR6UUEQ.js → EENOVGOS.js} +1 -1
- package/dist/cdn/EGN3YTD6.js +2 -0
- package/dist/cdn/{YZZJQMH4.js → EM7YCHTU.js} +1 -1
- package/dist/cdn/{P4PTEXIJ.js → EQCNO3G4.js} +1 -1
- package/dist/cdn/{7ZCMIKP6.js → EX22SAPL.js} +1 -1
- package/dist/cdn/{SSZMOOL6.js → F4HWT5H3.js} +1 -1
- package/dist/cdn/{ERTOHEVB.js → FB6YQKF2.js} +1 -1
- package/dist/cdn/{ACWGHEWO.js → FYTMMPPG.js} +1 -1
- package/dist/cdn/{POEZXWTT.js → GNGZFV2C.js} +1 -1
- package/dist/cdn/{LCUXPDUW.js → GY5226CJ.js} +1 -1
- package/dist/cdn/{QX27DK37.js → HB3W3CO5.js} +1 -1
- package/dist/cdn/{3A7HYDQP.js → HE6QV4XG.js} +1 -1
- package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
- package/dist/cdn/{4URF7CKU.js → HH6BDERO.js} +1 -1
- package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
- package/dist/cdn/{FQJMTGXO.js → HO4JUZ6N.js} +1 -1
- package/dist/cdn/{JLIZWDU5.js → I5QTPPFJ.js} +1 -1
- package/dist/cdn/{VGTTCLO3.js → IDDSHZVB.js} +1 -1
- package/dist/cdn/{7CBBWB77.js → J55YUTPM.js} +1 -1
- package/dist/cdn/JRPIJ24K.js +2 -0
- package/dist/cdn/{6XJFSJGE.js → K27JJT2P.js} +1 -1
- package/dist/cdn/{LVSNYSCO.js → KAXJKSFB.js} +1 -1
- package/dist/cdn/{RXFUZXUX.js → KHM3S4Q6.js} +1 -1
- package/dist/cdn/{PFYZ7JRB.js → KNAUIRT6.js} +1 -1
- package/dist/cdn/{IY2G6DLG.js → KY2UAUNI.js} +1 -1
- package/dist/cdn/{JMHCIJG4.js → LG4PZVHS.js} +1 -1
- package/dist/cdn/{XWAT4IT2.js → LHEP4QSS.js} +1 -1
- package/dist/cdn/LIEE5WCD.js +2 -0
- package/dist/cdn/{KQNQ6ITI.js → LZQCXN6A.js} +1 -1
- package/dist/cdn/{JCV26SSG.js → M4L5EDRB.js} +1 -1
- package/dist/cdn/{2K45WUVH.js → M65HMJZA.js} +1 -1
- package/dist/cdn/{U5HXLA7K.js → MAGJWMWM.js} +1 -1
- package/dist/cdn/{XTFD35UI.js → MDCB7SO4.js} +1 -1
- package/dist/cdn/{KLBNUE5Q.js → N3BD4UQD.js} +1 -1
- package/dist/cdn/{7357JBTM.js → NGKNECON.js} +1 -1
- package/dist/cdn/NHMOFXEE.js +2 -0
- package/dist/cdn/{YR3SQWM6.js → NRBM3YR6.js} +1 -1
- package/dist/cdn/{77ERVO5S.js → NRV7VFJ7.js} +1 -1
- package/dist/cdn/{YBJEMNAU.js → NSGDR7V5.js} +1 -1
- package/dist/cdn/{CQ2L75M3.js → NZAO2BVV.js} +1 -1
- package/dist/cdn/{OJNMPOYD.js → OCEXQCFT.js} +1 -1
- package/dist/cdn/{FANKLSAT.js → OD5DHUHZ.js} +1 -1
- package/dist/cdn/{L6LZYPWJ.js → ORH27QWU.js} +1 -1
- package/dist/cdn/{5PJEJPFY.js → OSPWEZQJ.js} +1 -1
- package/dist/cdn/{BB5CXHDQ.js → PISCYSA5.js} +1 -1
- package/dist/cdn/{IIPYTUR3.js → PMQLTMQ4.js} +1 -1
- package/dist/cdn/PZC5TBXA.js +2 -0
- package/dist/cdn/{GHA2ANJZ.js → QJOQNSYB.js} +1 -1
- package/dist/cdn/{LZ3PMD7Z.js → QVMTO5BV.js} +1 -1
- package/dist/cdn/{L7NIKN24.js → R4V6HGJH.js} +1 -1
- package/dist/cdn/R7BJHEHH.js +2 -0
- package/dist/cdn/{4YQLL44L.js → RP5SO6BA.js} +1 -1
- package/dist/cdn/{JC4DYMKT.js → RRXH4CSV.js} +1 -1
- package/dist/cdn/{7S4WE6H3.js → RUB6EORR.js} +1 -1
- package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
- package/dist/cdn/{SFM3XWUA.js → S6G6XXTM.js} +1 -1
- package/dist/cdn/{HVI2FE73.js → SZ5MNKOW.js} +1 -1
- package/dist/cdn/{RISVXUI4.js → T2ZF4XIZ.js} +1 -1
- package/dist/cdn/{U5FUT6DD.js → TP6I2LJO.js} +1 -1
- package/dist/cdn/{4IC3NWKK.js → TPOLS4YM.js} +1 -1
- package/dist/cdn/{5V7HEV2R.js → TUW6NLYY.js} +1 -1
- package/dist/cdn/{KG2M6IQS.js → U4QW6VHU.js} +1 -1
- package/dist/cdn/{SZNBYDQI.js → UAO23YMW.js} +1 -1
- package/dist/cdn/{LY735GHL.js → UHFSSX2G.js} +1 -1
- package/dist/cdn/{33U3K3P2.js → UKKUFJLL.js} +1 -1
- package/dist/cdn/{4PWBNKOA.js → UKNKW6MH.js} +1 -1
- package/dist/cdn/{DUT3D6UH.js → UM2FDZJJ.js} +1 -1
- package/dist/cdn/{DLUXWET4.js → UNX4CKAF.js} +1 -1
- package/dist/cdn/{5LD4AU4Q.js → VNOZYJLP.js} +1 -1
- package/dist/cdn/{OMKVQOUI.js → VU3SJK5Z.js} +1 -1
- package/dist/cdn/{I2WEEE2E.js → WGWNMYUH.js} +1 -1
- package/dist/cdn/{LLNNQ2ED.js → WOV3LB6K.js} +1 -1
- package/dist/cdn/{ZIX3WE2Q.js → WTMMFDEH.js} +1 -1
- package/dist/cdn/{E4YMNWRJ.js → WW6L6XX4.js} +1 -1
- package/dist/cdn/{BAPY2HFP.js → XMSGTOUV.js} +1 -1
- package/dist/cdn/XMZSFKKO.js +2 -0
- package/dist/cdn/{LMV6L2OF.js → XRP25NGI.js} +1 -1
- package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
- package/dist/cdn/{RWJKQEMK.js → XXZ3CKTX.js} +1 -1
- package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
- package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
- package/dist/cdn/{SKGRUNAJ.js → YC6JWXOW.js} +1 -1
- package/dist/cdn/{GUAI5SHN.js → YFUI4F5L.js} +1 -1
- package/dist/cdn/{N76CLHYJ.js → ZD25GJYW.js} +1 -1
- package/dist/cdn/{67IVXIOR.js → ZD5FJHIQ.js} +1 -1
- package/dist/cdn/{UDPUTCKL.js → ZM2YXU7Y.js} +1 -1
- package/dist/cdn/{2BJHF4JK.js → ZURN5EZI.js} +1 -1
- package/dist/cdn/{KNJ7PME5.js → ZVTPU2MO.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +7 -7
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -4
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +13 -13
- package/dist/components/arcgis-daylight/customElement.js +2 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +8 -8
- package/dist/components/arcgis-feature/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-fields/customElement.js +7 -7
- package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +41 -43
- package/dist/components/arcgis-features/customElement.js +18 -12
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -3
- package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
- package/dist/components/arcgis-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -5
- package/dist/components/arcgis-link-chart/customElement.d.ts +6 -6
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +42 -42
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +50 -52
- package/dist/components/arcgis-popup/customElement.js +50 -55
- package/dist/components/arcgis-popup/types.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +6 -6
- package/dist/components/arcgis-scene/customElement.d.ts +33 -33
- package/dist/components/arcgis-search/customElement.d.ts +11 -11
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +26 -26
- package/dist/components/arcgis-slice/customElement.d.ts +12 -12
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +66 -85
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +33 -38
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +32 -34
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +63 -84
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +66 -81
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +6 -6
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +58 -75
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +61 -76
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +6 -29
- package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
- package/dist/components/arcgis-time-zone-label/index.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +6 -9
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +4 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +28 -26
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -3
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +44 -44
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +17 -18
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +14 -14
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +5 -5
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -2
- package/dist/types/preact.d.ts +1 -2
- package/dist/types/react.d.ts +1 -2
- package/dist/types/stencil.d.ts +1 -2
- package/package.json +4 -4
- package/dist/cdn/23UYZVTW.js +0 -2
- package/dist/cdn/AIRDJCFV.js +0 -2
- package/dist/cdn/CKBTMA4D.js +0 -2
- package/dist/cdn/CKNH5OMJ.js +0 -2
- package/dist/cdn/CZE43OAC.js +0 -2
- package/dist/cdn/D6YUW72R.js +0 -2
- package/dist/cdn/FEQLUSM2.js +0 -2
- package/dist/cdn/G4A4VLTL.js +0 -2
- package/dist/cdn/GQN4ALIE.js +0 -2
- package/dist/cdn/I3PBMKT5.js +0 -2
- package/dist/cdn/IPNIJANM.js +0 -2
- package/dist/cdn/LVMJAMRO.js +0 -2
- package/dist/cdn/MW73TE2N.js +0 -2
- package/dist/cdn/OKZSKR6W.js +0 -2
- package/dist/cdn/VPJCFCJU.js +0 -2
- /package/dist/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
- /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
- /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
- /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
- /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
- /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
- /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
- /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
- /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
- /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
- /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
- /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
- /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
- /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
- /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
- /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
- /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
- /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
- /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
- /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
- /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
- /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
- /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
- /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
- /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
- /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
- /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
- /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
- /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
- /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
- /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
- /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
- /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
- /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
- /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
- /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
- /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
- /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
- /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
- /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
- /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
- /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
|
@@ -85,7 +85,7 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
85
85
|
/**
|
|
86
86
|
* A collection of layers that will show on the left or top side of the Swipe component.
|
|
87
87
|
*
|
|
88
|
-
* @deprecated since 5.0, use [
|
|
88
|
+
* @deprecated since 5.0, use [startLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#startLayers) instead.
|
|
89
89
|
* @see [leadingLayers](https://developers.arcgis.com/javascript/latest/references/core/widgets/Swipe/SwipeViewModel/#leadingLayers)
|
|
90
90
|
*/
|
|
91
91
|
accessor leadingLayers: Collection<Layer>;
|
|
@@ -108,7 +108,7 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
108
108
|
}>;
|
|
109
109
|
/**
|
|
110
110
|
* The position of the Swipe component. This determines what percentage
|
|
111
|
-
* of the view will be taken up by the [startLayers](
|
|
111
|
+
* of the view will be taken up by the [startLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#startLayers).
|
|
112
112
|
*
|
|
113
113
|
* @default 25
|
|
114
114
|
* @since 5.0
|
|
@@ -135,16 +135,16 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
135
135
|
get state(): State;
|
|
136
136
|
/**
|
|
137
137
|
* The position of the Swipe component. This determines what percentage
|
|
138
|
-
* of the view will be taken up by the [startLayers](
|
|
138
|
+
* of the view will be taken up by the [startLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#startLayers).
|
|
139
139
|
*
|
|
140
|
-
* @deprecated since 5.0, use [
|
|
140
|
+
* @deprecated since 5.0, use [position](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#position) instead.
|
|
141
141
|
* @default 25
|
|
142
142
|
*/
|
|
143
143
|
accessor swipePosition: number;
|
|
144
144
|
/**
|
|
145
145
|
* A collection of layers that will show on the right or bottom side of the Swipe component.
|
|
146
146
|
*
|
|
147
|
-
* @deprecated since 5.0, use [
|
|
147
|
+
* @deprecated since 5.0, use [endLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#endLayers) instead.
|
|
148
148
|
* @see [trailingLayers](https://developers.arcgis.com/javascript/latest/references/core/widgets/Swipe/SwipeViewModel/#trailingLayers)
|
|
149
149
|
*/
|
|
150
150
|
accessor trailingLayers: Collection<Layer>;
|
|
@@ -6,13 +6,7 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
6
6
|
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Time Zone Label is a component for displaying the current [
|
|
10
|
-
* The component has two states, collapsed as a small button and expanded displaying the internationalized name of the Map's time zone.
|
|
11
|
-
* Users can toggle between these states by clicking the component's expand/collapse button.
|
|
12
|
-
* By default the component is collapsed.
|
|
13
|
-
*
|
|
14
|
-
* When expanding, the component will lengthen inwards when [positioned](#position) within a Map.
|
|
15
|
-
* This behavior can be overridden by setting the [expandDirection](#expandDirection) property to either `"start"` or `"end"`.
|
|
9
|
+
* Time Zone Label is a component for displaying the current [arcgis-map.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeZone) of an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/).
|
|
16
10
|
*
|
|
17
11
|
* @since 4.33
|
|
18
12
|
*/
|
|
@@ -26,29 +20,17 @@ export abstract class ArcgisTimeZoneLabel extends LitElement {
|
|
|
26
20
|
noAdjustment: string;
|
|
27
21
|
}>;
|
|
28
22
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* @default false
|
|
32
|
-
*/
|
|
33
|
-
accessor disabled: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* The direction the component will expand.
|
|
36
|
-
*
|
|
37
|
-
* By default, the component will expand inward if assigned to a slotted corner. If the component is positioned manually,
|
|
38
|
-
* the component will expand towards the "end" which is equivalent to right in a left-to-right application.
|
|
23
|
+
* An optional leading icon that is displayed within the component.
|
|
39
24
|
*
|
|
40
|
-
*
|
|
41
|
-
* >
|
|
42
|
-
* > This setting may be ignored if due to the component's position within the map, there is insufficient space to expand in the requested direction.
|
|
25
|
+
* @since 5.0
|
|
43
26
|
*/
|
|
44
|
-
|
|
45
|
-
set expandDirection(value: ExpandDirection | undefined);
|
|
27
|
+
accessor actionIcon: Icon["icon"] | undefined;
|
|
46
28
|
/**
|
|
47
|
-
*
|
|
29
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
48
30
|
*
|
|
49
31
|
* @default false
|
|
50
32
|
*/
|
|
51
|
-
accessor
|
|
33
|
+
accessor disabled: boolean;
|
|
52
34
|
/**
|
|
53
35
|
* Icon which represents the component.
|
|
54
36
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
@@ -82,9 +64,6 @@ export abstract class ArcgisTimeZoneLabel extends LitElement {
|
|
|
82
64
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-time-zone-label component will be associated with a map or scene component rather than using the `view` property.
|
|
83
65
|
*/
|
|
84
66
|
accessor view: MapView | undefined;
|
|
85
|
-
"@setterTypes": {
|
|
86
|
-
expandDirection?: ExpandDirection | undefined;
|
|
87
|
-
};
|
|
88
67
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
89
68
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
90
69
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
@@ -95,6 +74,4 @@ export abstract class ArcgisTimeZoneLabel extends LitElement {
|
|
|
95
74
|
};
|
|
96
75
|
}
|
|
97
76
|
|
|
98
|
-
export type ExpandDirection = "end" | "start";
|
|
99
|
-
|
|
100
77
|
export type State = "disabled" | "ready";
|
|
@@ -1,70 +1,37 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as i } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as o, html as t } from "lit";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const x = o`.root{display:inline-flex}.esri-disabled{pointer-events:none}calcite-input-time-zone{--calcite-color-border-input: transparent}calcite-label{--calcite-label-margin-bottom: 0;margin:var(--calcite-space-sm) var(--calcite-space-sm-plus);border:var(--calcite-border-width-sm) solid var(--calcite-border-color);font-weight:var(--calcite-font-weight-medium);overflow:hidden}calcite-label.esri-disabled{opacity:var(--calcite-opacity-disabled)}`;
|
|
12
|
-
class v extends p {
|
|
4
|
+
import { usePropertyChange as c } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { LitElement as a, createEvent as r } from "@arcgis/lumina";
|
|
6
|
+
import { u as s } from "../../chunks/useT9n.js";
|
|
7
|
+
import { u as n } from "../../chunks/useView.js";
|
|
8
|
+
import { s as l, a as m, u as d } from "../../chunks/time-utils.js";
|
|
9
|
+
const u = o`calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-background-color-press: var(--calcite-color-foreground-1);--calcite-action-background-color: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-1);--calcite-action-text-color: var(--calcite-color-text-1);cursor:default}calcite-input-time-zone{--calcite-color-background: var(--calcite-color-foreground-1);--calcite-color-border-input: transparent}calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium);padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-md)}`;
|
|
10
|
+
class g extends a {
|
|
13
11
|
constructor() {
|
|
14
|
-
super(), this._messages =
|
|
15
|
-
this._position = e ?? r ?? "top-left";
|
|
16
|
-
});
|
|
12
|
+
super(...arguments), this._messages = s({ blocking: !0 }), this.disabled = !1, this.icon = "time-zone", this.view = n(this), this.arcgisPropertyChange = c()("state"), this.arcgisReady = r();
|
|
17
13
|
}
|
|
18
14
|
static {
|
|
19
|
-
this.properties = {
|
|
15
|
+
this.properties = { _interactive: 16, _resolvedTimeZone: 16, actionIcon: 3, disabled: 7, icon: 3, messageOverrides: 0, label: 1, referenceElement: 1, state: 32, view: 0 };
|
|
20
16
|
}
|
|
21
17
|
static {
|
|
22
|
-
this.styles =
|
|
18
|
+
this.styles = u;
|
|
23
19
|
}
|
|
24
20
|
get _interactive() {
|
|
25
21
|
return !(this.disabled || this.state === "disabled");
|
|
26
22
|
}
|
|
27
23
|
get _resolvedTimeZone() {
|
|
28
24
|
const e = this.view?.timeZone;
|
|
29
|
-
return !e || e ===
|
|
30
|
-
}
|
|
31
|
-
get expandDirection() {
|
|
32
|
-
return this._expandDirection ?? this._computeExpandDirection();
|
|
33
|
-
}
|
|
34
|
-
set expandDirection(e) {
|
|
35
|
-
this._expandDirection = e;
|
|
36
|
-
}
|
|
37
|
-
get expanded() {
|
|
38
|
-
return this._expanded;
|
|
39
|
-
}
|
|
40
|
-
set expanded(e) {
|
|
41
|
-
this._expanded = e;
|
|
25
|
+
return !e || e === l ? m : e;
|
|
42
26
|
}
|
|
43
27
|
get state() {
|
|
44
28
|
return this.view?.ready ? "ready" : "disabled";
|
|
45
29
|
}
|
|
46
|
-
_computeExpandDirection() {
|
|
47
|
-
switch (this._position) {
|
|
48
|
-
case "bottom-end":
|
|
49
|
-
case "bottom-right":
|
|
50
|
-
case "top-end":
|
|
51
|
-
case "top-right":
|
|
52
|
-
return this._direction === "ltr" ? "start" : "end";
|
|
53
|
-
case "bottom-start":
|
|
54
|
-
case "bottom-left":
|
|
55
|
-
case "top-start":
|
|
56
|
-
case "top-left":
|
|
57
|
-
return this._direction === "ltr" ? "end" : "start";
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
_handleArcgisPropertyChange(e) {
|
|
61
|
-
e.detail.name === "expanded" && (this._expanded = e.target.expanded);
|
|
62
|
-
}
|
|
63
30
|
render() {
|
|
64
|
-
return t`<
|
|
31
|
+
return t`<calcite-action .disabled=${!this._interactive} .icon=${this.actionIcon} text>${this._resolvedTimeZone === d ? t`<calcite-label>${this._messages.noAdjustment}</calcite-label>` : t`<calcite-input-time-zone mode=region overlay-positioning=fixed read-only .value=${this._resolvedTimeZone}></calcite-input-time-zone>`}</calcite-action>`;
|
|
65
32
|
}
|
|
66
33
|
}
|
|
67
|
-
|
|
34
|
+
i("arcgis-time-zone-label", g);
|
|
68
35
|
export {
|
|
69
|
-
|
|
36
|
+
g as ArcgisTimeZoneLabel
|
|
70
37
|
};
|
|
@@ -21,7 +21,7 @@ import type { Button as Button } from "@esri/calcite-components/components/calci
|
|
|
21
21
|
*
|
|
22
22
|
* **Known limitations**
|
|
23
23
|
*
|
|
24
|
-
* - The heading symbol is not currently supported within
|
|
24
|
+
* - The heading symbol is not currently supported within an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
25
25
|
*
|
|
26
26
|
* @since 4.28
|
|
27
27
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Color from "@arcgis/core/Color.js";
|
|
3
|
-
import type Graphic from "@arcgis/core/Graphic";
|
|
4
|
-
import type
|
|
3
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
4
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
7
7
|
import type { SelectStartPayload } from "../arcgis-utility-network-trace-location/customElement.js";
|
|
@@ -92,7 +92,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
92
92
|
/**
|
|
93
93
|
* A function to run before trace location selection starts.
|
|
94
94
|
*
|
|
95
|
-
* @
|
|
95
|
+
* @internal
|
|
96
96
|
* @example
|
|
97
97
|
* ```js
|
|
98
98
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
@@ -191,7 +191,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
191
191
|
*
|
|
192
192
|
* @since 5.0
|
|
193
193
|
*/
|
|
194
|
-
accessor view:
|
|
194
|
+
accessor view: MapView | null | undefined;
|
|
195
195
|
/** Permanently destroy the component. */
|
|
196
196
|
destroy(): Promise<void>;
|
|
197
197
|
/**
|
|
@@ -199,7 +199,6 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
199
199
|
* Event payload contains a boolean representing whether the aggregated geometry graphics are hidden.
|
|
200
200
|
* If true, the user has hidden the graphics on the view's map.
|
|
201
201
|
*
|
|
202
|
-
* @experimental
|
|
203
202
|
* @example
|
|
204
203
|
* ```js
|
|
205
204
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
@@ -215,7 +214,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
215
214
|
/**
|
|
216
215
|
* Fires when the user completes the selection of a trace location.
|
|
217
216
|
*
|
|
218
|
-
* @
|
|
217
|
+
* @internal
|
|
219
218
|
* @example
|
|
220
219
|
* ```js
|
|
221
220
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
@@ -230,7 +229,7 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
230
229
|
* Event payload contains a callback method `cancelSelect` to cancel a selection in progress.
|
|
231
230
|
* The event can also be prevented with `event.preventDefault()` to stop the selection.
|
|
232
231
|
*
|
|
233
|
-
* @
|
|
232
|
+
* @internal
|
|
234
233
|
* @example
|
|
235
234
|
* ```js
|
|
236
235
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
@@ -255,7 +254,6 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
255
254
|
/**
|
|
256
255
|
* Fires when the trace result is cleared from the results tab.
|
|
257
256
|
*
|
|
258
|
-
* @experimental
|
|
259
257
|
* @example
|
|
260
258
|
* ```js
|
|
261
259
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
@@ -269,7 +267,6 @@ export abstract class ArcgisUtilityNetworkTraceAnalysis extends LitElement {
|
|
|
269
267
|
* Fires when the trace result features are ready.
|
|
270
268
|
* Check property `traceResultFeatures` for the trace result features.
|
|
271
269
|
*
|
|
272
|
-
* @experimental
|
|
273
270
|
* @example
|
|
274
271
|
* ```js
|
|
275
272
|
* const traceElement = document.querySelector("arcgis-utility-network-trace-analysis");
|
|
@@ -3,7 +3,7 @@ import type NamedTraceConfiguration from "@arcgis/core/networks/support/NamedTra
|
|
|
3
3
|
import type UNTraceConfiguration from "@arcgis/core/networks/support/UNTraceConfiguration.js";
|
|
4
4
|
import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
|
|
5
5
|
import type TraceLocation from "@arcgis/core/rest/networks/support/TraceLocation.js";
|
|
6
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
6
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
7
7
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
8
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
9
9
|
import type { UtilityNetworkTraceAnalysisDisplayMode } from "../arcgis-utility-network-trace-analysis/customElement.js";
|
|
@@ -107,7 +107,7 @@ export abstract class ArcgisUtilityNetworkTraceInputs extends LitElement {
|
|
|
107
107
|
/**
|
|
108
108
|
* A function to run before trace location selection starts.
|
|
109
109
|
*
|
|
110
|
-
* @
|
|
110
|
+
* @internal
|
|
111
111
|
*/
|
|
112
112
|
accessor beforeTraceLocationSelectStart: (() => Promise<void>) | undefined;
|
|
113
113
|
/** @default "default" */
|
|
@@ -132,14 +132,14 @@ export abstract class ArcgisUtilityNetworkTraceInputs extends LitElement {
|
|
|
132
132
|
/**
|
|
133
133
|
* Fires when the user completes the selection of a trace location.
|
|
134
134
|
*
|
|
135
|
-
* @
|
|
135
|
+
* @internal
|
|
136
136
|
*/
|
|
137
137
|
readonly arcgisTraceLocationSelectEnd: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
138
138
|
/**
|
|
139
139
|
* Fires when the user begins selection of a trace location.
|
|
140
140
|
* Can be prevented to stop the selection.
|
|
141
141
|
*
|
|
142
|
-
* @
|
|
142
|
+
* @internal
|
|
143
143
|
*/
|
|
144
144
|
readonly arcgisTraceLocationSelectStart: import("@arcgis/lumina").TargetedEvent<this, SelectStartPayload>;
|
|
145
145
|
/** This will be fired less often than above, only when the utility network changes */
|
|
@@ -3,32 +3,32 @@ import { c as y } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { repeat as b } from "lit/directives/repeat.js";
|
|
4
4
|
import { queryAllJSON as g } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
5
5
|
import c from "@arcgis/core/core/Collection.js";
|
|
6
|
-
import {
|
|
7
|
-
import _ from "@arcgis/core/
|
|
8
|
-
import S from "@arcgis/core/
|
|
9
|
-
import T from "@arcgis/core/
|
|
6
|
+
import { watch as k } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
|
+
import { substitute as _ } from "@arcgis/core/intl.js";
|
|
8
|
+
import S from "@arcgis/core/layers/GraphicsLayer.js";
|
|
9
|
+
import T from "@arcgis/core/networks/support/UNTraceConfiguration.js";
|
|
10
|
+
import L from "@arcgis/core/rest/networks/support/TraceLocation.js";
|
|
10
11
|
import m from "@arcgis/core/rest/support/FeatureSet.js";
|
|
11
12
|
import h from "@arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js";
|
|
12
13
|
import C from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
13
|
-
import { LitElement as
|
|
14
|
-
import { usePropertyChange as
|
|
15
|
-
import { log as u, composeMissingPropertyMessage as
|
|
16
|
-
import { css as
|
|
17
|
-
import { createRef as
|
|
14
|
+
import { LitElement as N, createEvent as l } from "@arcgis/lumina";
|
|
15
|
+
import { usePropertyChange as $ } from "@arcgis/lumina/controllers";
|
|
16
|
+
import { log as u, composeMissingPropertyMessage as v, composeEmptyPropertyMessage as F } from "@arcgis/toolkit/log";
|
|
17
|
+
import { css as E, html as s } from "lit";
|
|
18
|
+
import { createRef as P, ref as U } from "lit/directives/ref.js";
|
|
18
19
|
import { u as I } from "../../chunks/useT9n.js";
|
|
19
20
|
import { h as f } from "../../chunks/feature-utils.js";
|
|
20
|
-
import { a as
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class V extends L {
|
|
21
|
+
import { a as A, i as M } from "../../chunks/layer-utils.js";
|
|
22
|
+
const x = E`:host{flex-grow:1}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px)}calcite-block-group{flex-grow:1;padding-bottom:var(--calcite-spacing-md);background-color:var(--calcite-color-foreground-1)}calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}calcite-block calcite-select,calcite-block calcite-input{margin:0 var(--calcite-spacing-md)}calcite-block calcite-input-message{padding:var(--calcite-spacing-sm) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}calcite-notice{margin:var(--calcite-spacing-md)}#subnetwork-info-block{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) 0 var(--calcite-spacing-md)}#results-limited-message{padding:var(--calcite-spacing-sm)}.inline-loader{--calcite-loader-spacing: var(--calcite-spacing-md)}.add-spatial-mode{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);margin:var(--calcite-spacing-md)}.heading{color:var(--calcite-color-text-1);margin:0 0 var(--calcite-spacing-md) 0;font-size:var(--calcite-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium)}`, w = `utility-network-trace-inputs-sketch-${Date.now()}`, d = `utility-network-trace-inputs-flags-${Date.now()}`, B = 20;
|
|
23
|
+
class V extends N {
|
|
24
24
|
constructor() {
|
|
25
|
-
super(...arguments), this._messages = I({ blocking: !0 }), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._startingPoints = new c(), this._barriers = new c(), this._stoppingPoints = new c(), this._subnetworkTraceTypes = /* @__PURE__ */ new Set([
|
|
25
|
+
super(...arguments), this._defaultPopupTemplateEnabled = !0, this._messages = I({ blocking: !0 }), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._startingPoints = new c(), this._barriers = new c(), this._stoppingPoints = new c(), this._subnetworkTraceTypes = /* @__PURE__ */ new Set([
|
|
26
26
|
"subnetwork",
|
|
27
27
|
"subnetwork-controller",
|
|
28
28
|
"upstream",
|
|
29
29
|
"downstream",
|
|
30
30
|
"isolation"
|
|
31
|
-
]), this._removeDuplicateSubnetworkNames = (e, t, i) => t === 0 || e.getAttribute("SUBNETWORKNAME") !== i[t - 1].getAttribute("SUBNETWORKNAME"), this._hitTestPromise = null, this._featuresFromHitTest = [], this._featuresComponentRef =
|
|
31
|
+
]), this._removeDuplicateSubnetworkNames = (e, t, i) => t === 0 || e.getAttribute("SUBNETWORKNAME") !== i[t - 1].getAttribute("SUBNETWORKNAME"), this._hitTestPromise = null, this._featuresFromHitTest = [], this._featuresComponentRef = P(), this._displayLimit = 20, this.compatibleSubnetworkNames = [], this.traceConfigurations = [], this._state = "ready", this._exceedDisplayLimit = !1, this.mode = "default", this.arcgisTraceInputsChange = l(), this.arcgisUtilityNetworkChange = l(), this.arcgisSelectedNamedTraceConfigurationChange = l(), this.arcgisTraceLocationSelectStart = l(), this.arcgisTraceLocationSelectEnd = l(), this.arcgisPropertyChange = $()("mode"), this.renderFeatureListItem = (e) => {
|
|
32
32
|
const { feature: t, label: i } = e;
|
|
33
33
|
return s`<calcite-list-item .label=${i} @calciteListItemSelect=${() => this._handleFeatureSelectChange(t)}><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
|
|
34
34
|
};
|
|
@@ -59,7 +59,7 @@ class V extends L {
|
|
|
59
59
|
get traceLocations() {
|
|
60
60
|
const e = [], t = (i) => {
|
|
61
61
|
i.flagProperties.terminalConfiguration && i.flagProperties.selectedTerminals ? i.flagProperties.selectedTerminals.forEach((r) => {
|
|
62
|
-
e.push(new
|
|
62
|
+
e.push(new L({
|
|
63
63
|
type: i.traceLocation.type,
|
|
64
64
|
isFilterBarrier: i.traceLocation.isFilterBarrier,
|
|
65
65
|
globalId: i.traceLocation.globalId,
|
|
@@ -72,7 +72,7 @@ class V extends L {
|
|
|
72
72
|
}
|
|
73
73
|
load() {
|
|
74
74
|
this.manager.onLifecycle(() => [
|
|
75
|
-
|
|
75
|
+
k(() => this.view?.map, () => {
|
|
76
76
|
this._setupUtilityNetwork(), this._setupSketchViewModel();
|
|
77
77
|
}, { initial: !0 })
|
|
78
78
|
]);
|
|
@@ -87,19 +87,19 @@ class V extends L {
|
|
|
87
87
|
_createGraphicLayer(e) {
|
|
88
88
|
const { map: t } = this.view;
|
|
89
89
|
if (!t?.findLayerById(e)) {
|
|
90
|
-
const a = new
|
|
90
|
+
const a = new S({
|
|
91
91
|
id: e,
|
|
92
92
|
listMode: "hide",
|
|
93
93
|
title: e
|
|
94
94
|
});
|
|
95
|
-
|
|
95
|
+
A(this.view, a);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
_getGraphicLayer(e) {
|
|
99
99
|
const { map: t } = this.view;
|
|
100
100
|
if (t) {
|
|
101
101
|
const i = t.findLayerById(e);
|
|
102
|
-
if (
|
|
102
|
+
if (M(i))
|
|
103
103
|
return t.reorder(i, t.layers.length - 1), i;
|
|
104
104
|
}
|
|
105
105
|
return null;
|
|
@@ -172,8 +172,8 @@ class V extends L {
|
|
|
172
172
|
}
|
|
173
173
|
_handleTraceConfigChange() {
|
|
174
174
|
const { selectedNamedTraceConfiguration: e } = this;
|
|
175
|
-
if (!(e?.traceConfiguration instanceof
|
|
176
|
-
u("error", this,
|
|
175
|
+
if (!(e?.traceConfiguration instanceof T)) {
|
|
176
|
+
u("error", this, v("selectedNamedTraceConfiguration.traceConfiguration")), this._unTraceConfiguration = void 0;
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
179
|
switch (this._unTraceConfiguration = e.traceConfiguration.clone(), e.traceType) {
|
|
@@ -195,7 +195,7 @@ class V extends L {
|
|
|
195
195
|
_handleUtilityNetworksChange() {
|
|
196
196
|
const { utilityNetworks: e } = this;
|
|
197
197
|
if (!e || e.length === 0) {
|
|
198
|
-
this._state = "error", u("error", this,
|
|
198
|
+
this._state = "error", u("error", this, F("utilityNetworks"));
|
|
199
199
|
return;
|
|
200
200
|
}
|
|
201
201
|
(!this.selectedUtilityNetwork || !e.includes(this.selectedUtilityNetwork)) && (this.selectedUtilityNetwork = e.at(0));
|
|
@@ -231,6 +231,8 @@ class V extends L {
|
|
|
231
231
|
const { features: a } = m.fromJSON(await g(e, i));
|
|
232
232
|
return a.forEach((r) => {
|
|
233
233
|
r.layer = e.type === "subtype-group" ? e.findSublayerForFeature(r) : e, r.origin = r.layer;
|
|
234
|
+
const o = r.layer;
|
|
235
|
+
r.getEffectivePopupTemplate(this._defaultPopupTemplateEnabled) || (r.popupTemplate = o.createPopupTemplate());
|
|
234
236
|
}), a;
|
|
235
237
|
}
|
|
236
238
|
async _populateFeaturesWithLabel(e) {
|
|
@@ -325,13 +327,13 @@ class V extends L {
|
|
|
325
327
|
if (!e)
|
|
326
328
|
return this.mode = "default", null;
|
|
327
329
|
const t = this._featuresComponentRef.value, i = t?.selectedFeature ? [t.selectedFeature] : [e];
|
|
328
|
-
return s`<arcgis-features .referenceElement=${this.referenceElement} .features=${i} .view=${this.view} open @arcgisClose=${() => this._handleFeaturesClose()} ${U(this._featuresComponentRef)}></arcgis-features>`;
|
|
330
|
+
return s`<arcgis-features .referenceElement=${this.referenceElement} .features=${i} .view=${this.view} .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} open @arcgisClose=${() => this._handleFeaturesClose()} ${U(this._featuresComponentRef)}></arcgis-features>`;
|
|
329
331
|
}
|
|
330
332
|
renderAddSpatialFooter() {
|
|
331
|
-
const { mode: e, _messages: t, selectedUtilityNetwork: i, _selectedFeature: a } = this, r =
|
|
333
|
+
const { mode: e, _messages: t, selectedUtilityNetwork: i, _selectedFeature: a } = this, r = _(t.warnings.exceededDisplayLimit, {
|
|
332
334
|
limit: this._displayLimit.toString()
|
|
333
335
|
}), o = e === "add-spatial-feature-list" && this._exceedDisplayLimit, n = a ? !(i?.isUtilityLayer(a.layer) ?? !0) : !0;
|
|
334
|
-
return s`${o && s`<calcite-input-message icon=exclamation-mark-circle status=idle>${r}</calcite-input-message>` || ""}<calcite-button appearance=outline width=full @click=${() => {
|
|
336
|
+
return s`${o && s`<calcite-input-message id=results-limited-message icon=exclamation-mark-circle status=idle>${r}</calcite-input-message>` || ""}<calcite-button appearance=outline width=full @click=${() => {
|
|
335
337
|
this._handleAddSpatialCancelClick();
|
|
336
338
|
}} slot=footer>${t.buttons.cancel}</calcite-button>${e === "add-spatial-feature" && s`<calcite-button width=full slot=footer appearance=solid @click=${() => {
|
|
337
339
|
this._handleAddSpatialAddClick();
|
|
@@ -26,7 +26,7 @@ export abstract class ArcgisUtilityNetworkTraceLocation extends LitElement {
|
|
|
26
26
|
/**
|
|
27
27
|
* A function to run before trace location selection starts.
|
|
28
28
|
*
|
|
29
|
-
* @
|
|
29
|
+
* @internal
|
|
30
30
|
*/
|
|
31
31
|
accessor beforeTraceLocationSelectStart: (() => Promise<void>) | undefined;
|
|
32
32
|
accessor filterLayers: Collection<Layer> | undefined;
|
|
@@ -103,14 +103,14 @@ export abstract class ArcgisUtilityNetworkTraceLocation extends LitElement {
|
|
|
103
103
|
/**
|
|
104
104
|
* Fires when the user completes the selection of a trace location.
|
|
105
105
|
*
|
|
106
|
-
* @
|
|
106
|
+
* @internal
|
|
107
107
|
*/
|
|
108
108
|
readonly arcgisTraceLocationSelectEnd: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
109
109
|
/**
|
|
110
110
|
* Fires when the user begins selection of a trace location.
|
|
111
111
|
* Can be prevented to stop the selection.
|
|
112
112
|
*
|
|
113
|
-
* @
|
|
113
|
+
* @internal
|
|
114
114
|
*/
|
|
115
115
|
readonly arcgisTraceLocationSelectStart: import("@arcgis/lumina").TargetedEvent<this, SelectStartPayload>;
|
|
116
116
|
readonly "@eventTypes": {
|
|
@@ -7,7 +7,7 @@ import type Layer from "@arcgis/core/layers/Layer.js";
|
|
|
7
7
|
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
8
8
|
import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
|
|
9
9
|
import type TraceResult from "@arcgis/core/rest/networks/support/TraceResult.js";
|
|
10
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
10
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
11
11
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
12
12
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
13
13
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|