@arcgis/map-components 5.1.0-next.1 → 5.1.0-next.10
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/README.md +1 -1
- package/dist/cdn/{37TNG76C.js → 24PK3ZLX.js} +1 -1
- package/dist/cdn/{ZURN5EZI.js → 2BJHF4JK.js} +1 -1
- package/dist/cdn/{M65HMJZA.js → 2K45WUVH.js} +1 -1
- package/dist/cdn/2MTWUJIA.js +2 -0
- package/dist/cdn/2PAAPTW5.js +2 -0
- package/dist/cdn/{UKKUFJLL.js → 33U3K3P2.js} +1 -1
- package/dist/cdn/3A7HYDQP.js +2 -0
- package/dist/cdn/3OVSVCGF.js +2 -0
- package/dist/cdn/{TPOLS4YM.js → 4IC3NWKK.js} +1 -1
- package/dist/cdn/{UKNKW6MH.js → 4PWBNKOA.js} +1 -1
- package/dist/cdn/{HH6BDERO.js → 4URF7CKU.js} +1 -1
- package/dist/cdn/{RP5SO6BA.js → 4YQLL44L.js} +1 -1
- package/dist/cdn/{42UR6TXZ.js → 5FZLG5YS.js} +1 -1
- package/dist/cdn/5LD4AU4Q.js +2 -0
- package/dist/cdn/{OSPWEZQJ.js → 5PJEJPFY.js} +1 -1
- package/dist/cdn/{TUW6NLYY.js → 5V7HEV2R.js} +1 -1
- package/dist/cdn/{FJJVAOBW.js → 67IVXIOR.js} +1 -1
- package/dist/cdn/{K27JJT2P.js → 6XJFSJGE.js} +1 -1
- package/dist/cdn/{NGKNECON.js → 7357JBTM.js} +1 -1
- package/dist/cdn/{NRV7VFJ7.js → 77ERVO5S.js} +1 -1
- package/dist/cdn/{J55YUTPM.js → 7CBBWB77.js} +1 -1
- package/dist/cdn/7DTWNSIR.js +2 -0
- package/dist/cdn/7L5TRJUA.js +2 -0
- package/dist/cdn/{2VC2VUTP.js → 7S4WE6H3.js} +1 -1
- package/dist/cdn/7WLTT4K3.js +2 -0
- package/dist/cdn/{EX22SAPL.js → 7ZCMIKP6.js} +1 -1
- package/dist/cdn/{NIUIKBRD.js → ACWGHEWO.js} +1 -1
- package/dist/cdn/{S4XGBADW.js → AIRDJCFV.js} +1 -1
- package/dist/cdn/{FQGKKJL7.js → AN2ZNLDK.js} +1 -1
- package/dist/cdn/BAPY2HFP.js +2 -0
- package/dist/cdn/{PISCYSA5.js → BB5CXHDQ.js} +1 -1
- package/dist/cdn/{HK6EWWUB.js → BM2JTRBY.js} +1 -1
- package/dist/cdn/{YC423DBS.js → BNJXI23I.js} +1 -1
- package/dist/cdn/BX7N3KYH.js +2 -0
- package/dist/cdn/{DTVW3MYT.js → CEJGZMGB.js} +1 -1
- package/dist/cdn/CKBTMA4D.js +2 -0
- package/dist/cdn/{AJHRJ5EA.js → CMWIMRU2.js} +1 -1
- package/dist/cdn/{NZAO2BVV.js → CQ2L75M3.js} +1 -1
- package/dist/cdn/{5RGFRTJS.js → CUWONRT5.js} +1 -1
- package/dist/cdn/{CC53K2CR.js → CXOYV56L.js} +1 -1
- package/dist/cdn/{NVACRYY6.js → CZE43OAC.js} +1 -1
- package/dist/cdn/D6YUW72R.js +2 -0
- package/dist/cdn/{TSPKG2WN.js → D7DDJ2QZ.js} +1 -1
- package/dist/cdn/{UVCYUIKZ.js → DLUXWET4.js} +1 -1
- package/dist/cdn/{UM2FDZJJ.js → DUT3D6UH.js} +1 -1
- package/dist/cdn/{JBJ5NQTI.js → DWW7KAMQ.js} +1 -1
- package/dist/cdn/{WW6L6XX4.js → E4YMNWRJ.js} +1 -1
- package/dist/cdn/{3XMPN66U.js → EPQN4FJS.js} +1 -1
- package/dist/cdn/ERTOHEVB.js +2 -0
- package/dist/cdn/EVC4MXIZ.js +2 -0
- package/dist/cdn/FANKLSAT.js +2 -0
- package/dist/cdn/{EVRFMTMV.js → FOMIDTAN.js} +1 -1
- package/dist/cdn/{HO4JUZ6N.js → FQJMTGXO.js} +1 -1
- package/dist/cdn/{64OEHFBZ.js → FTBTVD7U.js} +1 -1
- package/dist/cdn/G4A4VLTL.js +2 -0
- package/dist/cdn/{KXF2562U.js → GHA2ANJZ.js} +1 -1
- package/dist/cdn/{3DO7PVNW.js → GLNRLEZE.js} +1 -1
- package/dist/cdn/{HR2OOT3F.js → GQN4ALIE.js} +1 -1
- package/dist/cdn/{H6ILOF27.js → GS43BIES.js} +1 -1
- package/dist/cdn/{YFUI4F5L.js → GUAI5SHN.js} +1 -1
- package/dist/cdn/GXBHOVJY.js +2 -0
- package/dist/cdn/{SZ5MNKOW.js → HVI2FE73.js} +1 -1
- package/dist/cdn/{WGWNMYUH.js → I2WEEE2E.js} +1 -1
- package/dist/cdn/{XO6U6OVM.js → I3PBMKT5.js} +1 -1
- package/dist/cdn/{RCWZGU5T.js → I6ZXIPND.js} +1 -1
- package/dist/cdn/{PMQLTMQ4.js → IIPYTUR3.js} +1 -1
- package/dist/cdn/{AP2IFWYH.js → INS77MCT.js} +1 -1
- package/dist/cdn/IPNIJANM.js +2 -0
- package/dist/cdn/IQPGSWSL.js +2 -0
- package/dist/cdn/IY2G6DLG.js +2 -0
- package/dist/cdn/{2XSXH4TM.js → JC4DYMKT.js} +1 -1
- package/dist/cdn/{M4L5EDRB.js → JCV26SSG.js} +1 -1
- package/dist/cdn/{I5QTPPFJ.js → JLIZWDU5.js} +1 -1
- package/dist/cdn/{LG4PZVHS.js → JMHCIJG4.js} +1 -1
- package/dist/cdn/{556MC5SF.js → JTEJ2NHE.js} +1 -1
- package/dist/cdn/{3YA25S2J.js → KBY7C6QM.js} +1 -1
- package/dist/cdn/{5PRNT4KD.js → KG2M6IQS.js} +1 -1
- package/dist/cdn/KLBNUE5Q.js +2 -0
- package/dist/cdn/{ZVTPU2MO.js → KNJ7PME5.js} +1 -1
- package/dist/cdn/KQNQ6ITI.js +2 -0
- package/dist/cdn/{32K266S4.js → L5EGJLC4.js} +1 -1
- package/dist/cdn/{ORH27QWU.js → L6LZYPWJ.js} +1 -1
- package/dist/cdn/{R4V6HGJH.js → L7NIKN24.js} +1 -1
- package/dist/cdn/LCUXPDUW.js +2 -0
- package/dist/cdn/{WOV3LB6K.js → LLNNQ2ED.js} +1 -1
- package/dist/cdn/{XRP25NGI.js → LMV6L2OF.js} +1 -1
- package/dist/cdn/{C4DJABUI.js → LSF66JVY.js} +1 -1
- package/dist/cdn/LVMJAMRO.js +2 -0
- package/dist/cdn/{KAXJKSFB.js → LVSNYSCO.js} +1 -1
- package/dist/cdn/{52GXKBGP.js → LY735GHL.js} +1 -1
- package/dist/cdn/{QVMTO5BV.js → LZ3PMD7Z.js} +1 -1
- package/dist/cdn/{ZD25GJYW.js → N76CLHYJ.js} +1 -1
- package/dist/cdn/{YZ5ZVEPC.js → OAFAR3NG.js} +1 -1
- package/dist/cdn/{OCEXQCFT.js → OJNMPOYD.js} +1 -1
- package/dist/cdn/OKZSKR6W.js +2 -0
- package/dist/cdn/OMKVQOUI.js +2 -0
- package/dist/cdn/{EQCNO3G4.js → P4PTEXIJ.js} +1 -1
- package/dist/cdn/{7YLXQNEC.js → PESPV6VP.js} +1 -1
- package/dist/cdn/{KNAUIRT6.js → PFYZ7JRB.js} +1 -1
- package/dist/cdn/{JTFZMNCO.js → PI6UQWTD.js} +1 -1
- package/dist/cdn/{GNGZFV2C.js → POEZXWTT.js} +1 -1
- package/dist/cdn/QX27DK37.js +2 -0
- package/dist/cdn/{JLK664TB.js → QXUY4FOY.js} +1 -1
- package/dist/cdn/{T2ZF4XIZ.js → RISVXUI4.js} +1 -1
- package/dist/cdn/RWJKQEMK.js +2 -0
- package/dist/cdn/{KHM3S4Q6.js → RXFUZXUX.js} +1 -1
- package/dist/cdn/S4I3X6AX.js +2 -0
- package/dist/cdn/{KY4FMFIC.js → S52VES4H.js} +1 -1
- package/dist/cdn/{S6G6XXTM.js → SFM3XWUA.js} +1 -1
- package/dist/cdn/{YC6JWXOW.js → SKGRUNAJ.js} +1 -1
- package/dist/cdn/{C7YN3AZA.js → SPACZLHW.js} +1 -1
- package/dist/cdn/{F4HWT5H3.js → SSZMOOL6.js} +1 -1
- package/dist/cdn/{UAO23YMW.js → SZNBYDQI.js} +1 -1
- package/dist/cdn/{4363SIKC.js → TJG4UE24.js} +1 -1
- package/dist/cdn/{EENOVGOS.js → TTR6UUEQ.js} +1 -1
- package/dist/cdn/U5FUT6DD.js +2 -0
- package/dist/cdn/{MAGJWMWM.js → U5HXLA7K.js} +1 -1
- package/dist/cdn/{WJ5HD2YN.js → UDPUTCKL.js} +1 -1
- package/dist/cdn/{63P5VYGP.js → UZ7KLWGC.js} +1 -1
- package/dist/cdn/{IDDSHZVB.js → VGTTCLO3.js} +1 -1
- package/dist/cdn/VPJCFCJU.js +2 -0
- package/dist/cdn/W5T5EBL3.js +2 -0
- package/dist/cdn/XE5UPQ5E.js +2 -0
- package/dist/cdn/{FARFUCNU.js → XEOTORJP.js} +1 -1
- package/dist/cdn/{3PQT2S7Z.js → XTFD35UI.js} +1 -1
- package/dist/cdn/{LHEP4QSS.js → XWAT4IT2.js} +1 -1
- package/dist/cdn/Y6KRMZWJ.js +2 -0
- package/dist/cdn/{E2JLZZFR.js → YA6FUJR2.js} +1 -1
- package/dist/cdn/{FC6W37TT.js → YBJEMNAU.js} +1 -1
- package/dist/cdn/YR3SQWM6.js +2 -0
- package/dist/cdn/{2EJ4XRH4.js → YSDQ5VNK.js} +1 -1
- package/dist/cdn/YZZJQMH4.js +2 -0
- package/dist/cdn/Z4F6DHBB.js +2 -0
- package/dist/cdn/{WTMMFDEH.js → ZIX3WE2Q.js} +1 -1
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +106 -99
- package/dist/chunks/feature-utils.js +73 -73
- package/dist/chunks/layer-utils.js +33 -16
- package/dist/chunks/measurementUtils.js +44 -21
- package/dist/chunks/slots.js +20 -20
- package/dist/chunks/time-utils.js +24 -22
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +18 -9
- package/dist/components/arcgis-area-measurement-2d/customElement.js +95 -74
- package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +20 -18
- package/dist/components/arcgis-area-measurement-3d/customElement.js +58 -67
- package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +3 -4
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +120 -91
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-bookmarks/customElement.d.ts +10 -15
- package/dist/components/arcgis-bookmarks/types.d.ts +13 -6
- package/dist/components/arcgis-building-explorer/customElement.d.ts +14 -73
- package/dist/components/arcgis-building-explorer/customElement.js +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +115 -66
- package/dist/components/arcgis-clipboard/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +2 -3
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -12
- package/dist/components/arcgis-daylight/customElement.d.ts +18 -19
- package/dist/components/arcgis-daylight/customElement.js +118 -119
- package/dist/components/arcgis-daylight/types.d.ts +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +20 -18
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +62 -71
- package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
- package/dist/components/arcgis-directions/customElement.d.ts +7 -8
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +22 -9
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +86 -65
- package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-editor/customElement.d.ts +15 -16
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +26 -25
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
- package/dist/components/arcgis-expand/customElement.d.ts +6 -7
- package/dist/components/arcgis-expand/types.d.ts +1 -0
- package/dist/components/arcgis-feature/customElement.d.ts +32 -33
- package/dist/components/arcgis-feature/customElement.js +35 -35
- package/dist/components/arcgis-feature-fields/customElement.js +29 -28
- package/dist/components/arcgis-feature-form/customElement.d.ts +30 -11
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
- package/dist/components/arcgis-feature-table/customElement.d.ts +99 -63
- package/dist/components/arcgis-feature-table/customElement.js +12 -12
- package/dist/components/arcgis-feature-templates/customElement.d.ts +14 -12
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -60
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +9 -9
- package/dist/components/arcgis-features/customElement.d.ts +31 -33
- package/dist/components/arcgis-features/customElement.js +43 -43
- package/dist/components/arcgis-floor-filter/customElement.d.ts +7 -10
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +35 -36
- package/dist/components/arcgis-home/customElement.d.ts +4 -6
- package/dist/components/arcgis-layer-list/customElement.d.ts +40 -41
- package/dist/components/arcgis-legend/customElement.d.ts +28 -29
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +14 -12
- package/dist/components/arcgis-link-chart/customElement.d.ts +59 -49
- package/dist/components/arcgis-link-chart/customElement.js +42 -31
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -2
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +6 -3
- package/dist/components/arcgis-locate/customElement.d.ts +2 -3
- package/dist/components/arcgis-map/customElement.d.ts +139 -129
- package/dist/components/arcgis-map/customElement.js +24 -13
- package/dist/components/arcgis-measurement/customElement.d.ts +1 -2
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +6 -11
- package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
- package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -3
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -0
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +18 -6
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +264 -120
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +115 -114
- package/dist/components/arcgis-paste/customElement.d.ts +1 -1
- package/dist/components/arcgis-paste/customElement.js +6 -7
- package/dist/components/arcgis-popup/customElement.d.ts +20 -21
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -1
- package/dist/components/arcgis-print/customElement.d.ts +29 -18
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +13 -1
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
- package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
- package/dist/components/arcgis-scale-bar/customElement.js +7 -7
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
- package/dist/components/arcgis-scene/customElement.d.ts +155 -150
- package/dist/components/arcgis-scene/customElement.js +20 -9
- package/dist/components/arcgis-search/customElement.d.ts +37 -30
- package/dist/components/arcgis-search/customElement.js +20 -18
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +61 -17
- package/dist/components/arcgis-sketch/customElement.d.ts +55 -36
- package/dist/components/arcgis-sketch/customElement.js +20 -8
- package/dist/components/arcgis-slice/customElement.d.ts +16 -16
- package/dist/components/arcgis-slice/customElement.js +6 -6
- package/dist/components/arcgis-slice/{SliceViewModel.d.ts → types.d.ts} +1 -1
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +77 -27
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +30 -31
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +32 -37
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +67 -34
- package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +106 -36
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +7 -10
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +26 -27
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +35 -39
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +1 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +6 -6
- package/dist/components/arcgis-table-list/customElement.d.ts +109 -73
- package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
- package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
- package/dist/components/arcgis-time-slider/customElement.d.ts +17 -19
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +18 -8
- package/dist/components/arcgis-time-zone-label/customElement.js +39 -45
- package/dist/components/arcgis-time-zone-label/index.js +1 -2
- package/dist/components/arcgis-track/customElement.d.ts +6 -7
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +1 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +3 -4
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -5
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +48 -49
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +30 -25
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +82 -80
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +3 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +52 -49
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +39 -40
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -3
- package/dist/components/arcgis-video/customElement.d.ts +12 -12
- package/dist/components/arcgis-video-player/customElement.d.ts +5 -5
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +31 -27
- package/dist/components/arcgis-volume-measurement/customElement.js +211 -211
- package/dist/components/arcgis-volume-measurement/index.js +1 -1
- package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
- package/dist/components/arcgis-weather/customElement.d.ts +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +6 -2
- package/dist/components/types.d.ts +56 -1
- 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/index.d.ts +6 -28
- package/dist/loader.js +18 -18
- package/dist/types/lumina.d.ts +17 -38
- package/dist/types/preact.d.ts +17 -42
- package/dist/types/react.d.ts +17 -46
- package/dist/types/stencil.d.ts +17 -38
- package/package.json +4 -4
- package/dist/cdn/3GZCJE62.js +0 -2
- package/dist/cdn/4EAZ4PIQ.js +0 -2
- package/dist/cdn/4TURMTXA.js +0 -2
- package/dist/cdn/55QGHI47.js +0 -2
- package/dist/cdn/6UX4KWBN.js +0 -2
- package/dist/cdn/7UR4M6PN.js +0 -2
- package/dist/cdn/A4UJ53JS.js +0 -2
- package/dist/cdn/AGYDL2DX.js +0 -2
- package/dist/cdn/B5XR4LXQ.js +0 -2
- package/dist/cdn/DOLELC6W.js +0 -2
- package/dist/cdn/EYNKJZG3.js +0 -2
- package/dist/cdn/I2MQQXVU.js +0 -2
- package/dist/cdn/JDZWJLJX.js +0 -2
- package/dist/cdn/KECAR2NZ.js +0 -2
- package/dist/cdn/LZFDWRYI.js +0 -2
- package/dist/cdn/M7VTEC3S.js +0 -2
- package/dist/cdn/MRE5HCIK.js +0 -2
- package/dist/cdn/MWBGBBXT.js +0 -2
- package/dist/cdn/PNDLNFML.js +0 -2
- package/dist/cdn/PQJAXYJ2.js +0 -2
- package/dist/cdn/RJ76OXB6.js +0 -2
- package/dist/cdn/SKW7HQZ6.js +0 -2
- package/dist/cdn/SRSYUCVL.js +0 -2
- package/dist/cdn/U3LH3AZH.js +0 -2
- package/dist/cdn/UTH3SGAS.js +0 -2
- package/dist/cdn/VJMMA6UX.js +0 -2
- package/dist/cdn/W2E5L6DS.js +0 -2
- package/dist/cdn/WGXSSEAL.js +0 -2
- package/dist/cdn/X6OVNOLQ.js +0 -2
- package/dist/cdn/X7YUU7TS.js +0 -2
- package/dist/cdn/XMZSFKKO.js +0 -2
- package/dist/cdn/Y53D5YAC.js +0 -2
- package/dist/cdn/YGJFZRA4.js +0 -2
- package/dist/cdn/YKTB6AFH.js +0 -2
- package/dist/cdn/YWQGP6MB.js +0 -2
- package/dist/cdn/ZMLRDNKR.js +0 -2
- package/dist/cdn/ZUTQE3OX.js +0 -2
- package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
- package/dist/components/arcgis-building-discipline-tree/index.d.ts +0 -1
- package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
- package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
- package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
- package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
- package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
- package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
- package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
- package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
- package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
- package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
- package/dist/components/support/goTo.d.ts +0 -37
- package/dist/controllers/useArcgisLoadError.d.ts +0 -9
- package/dist/support/heading.d.ts +0 -1
- package/dist/support/measurementUtils.d.ts +0 -1
- package/dist/utils/action-utils.d.ts +0 -3
- package/dist/utils/component-utils.d.ts +0 -5
- /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
|
@@ -4,18 +4,15 @@ import type Collection from "@arcgis/core/core/Collection.js";
|
|
|
4
4
|
import type SceneView from "@arcgis/core/views/SceneView";
|
|
5
5
|
import type MapView from "@arcgis/core/views/MapView";
|
|
6
6
|
import type { ReadonlyArrayOrCollection } from "@arcgis/core/core/Collection.js";
|
|
7
|
-
import type { ArcgisReferenceElement } from "
|
|
8
|
-
import type { BookmarkOptions, BookmarkEditEvent, BookmarkSelectEvent } from "./types.js";
|
|
9
|
-
import type { HeadingLevel } from "../../support/heading.js";
|
|
10
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
11
|
-
import type { GoToOverride } from "../support/goTo.js";
|
|
7
|
+
import type { ArcgisReferenceElement, IconName, HeadingLevel, GoToOverride } from "../types.js";
|
|
8
|
+
import type { BookmarkOptions, BookmarkEditEvent, BookmarkSelectEvent, BookmarksState } from "./types.js";
|
|
12
9
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
13
10
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
14
11
|
|
|
15
12
|
/**
|
|
16
13
|
* The Bookmarks component allows end users to quickly navigate to a particular area of interest.
|
|
17
|
-
* It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/
|
|
18
|
-
* which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/
|
|
14
|
+
* It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/),
|
|
15
|
+
* which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#bookmarks).
|
|
19
16
|
*
|
|
20
17
|
* Each bookmark may contain the following properties: `name`, `thumbnail`, `viewpoint` (defines rotation, scale, and target geometry), and `timeExtent`.
|
|
21
18
|
* When a bookmark with a timeExtent is selected, the [arcgis-map.timeExtent](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeExtent) of the Map will be set to the timeExtent of the selected bookmark.
|
|
@@ -25,7 +22,7 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
25
22
|
* To enable these features, set the following properties to `true`:
|
|
26
23
|
* [showAddBookmarkButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#showAddBookmarkButton), [showEditBookmarkButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#showEditBookmarkButton), and [dragEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-bookmarks/#dragEnabled).
|
|
27
24
|
*
|
|
28
|
-
* **Note:** Bookmarks are supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) only if they come from a [WebMap](https://developers.arcgis.com/javascript/latest/
|
|
25
|
+
* **Note:** Bookmarks are supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) only if they come from a [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#bookmarks) or are [provided manually](#bookmarks). [Presentation](https://developers.arcgis.com/javascript/latest/references/core/webscene/Presentation/) provides a similar experience for [WebScenes](https://developers.arcgis.com/javascript/latest/references/core/webscene/Presentation/).
|
|
29
26
|
*
|
|
30
27
|
* @since 4.28
|
|
31
28
|
* @see [Sample - Bookmarks component](https://developers.arcgis.com/javascript/latest/sample-code/bookmarks/)
|
|
@@ -42,7 +39,7 @@ export abstract class ArcgisBookmarks extends LitElement {
|
|
|
42
39
|
*/
|
|
43
40
|
accessor autoDestroyDisabled: boolean;
|
|
44
41
|
/**
|
|
45
|
-
* A collection of [Bookmark](https://developers.arcgis.com/javascript/latest/
|
|
42
|
+
* A collection of [Bookmark](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/)s. These are typically defined inside of a [WebMap](https://developers.arcgis.com/javascript/latest/references/core/WebMap/#bookmarks), but can also be defined manually, as shown in the code snippet below.
|
|
46
43
|
*
|
|
47
44
|
* @example
|
|
48
45
|
* ```js
|
|
@@ -123,7 +120,7 @@ export abstract class ArcgisBookmarks extends LitElement {
|
|
|
123
120
|
get defaultEditOptions(): BookmarkOptions;
|
|
124
121
|
set defaultEditOptions(value: Partial<BookmarkOptions>);
|
|
125
122
|
/**
|
|
126
|
-
* When true, the component is visually withdrawn and cannot
|
|
123
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
127
124
|
*
|
|
128
125
|
* @default false
|
|
129
126
|
*/
|
|
@@ -383,7 +380,7 @@ export abstract class ArcgisBookmarks extends LitElement {
|
|
|
383
380
|
defaultEditOptions?: Partial<BookmarkOptions>;
|
|
384
381
|
};
|
|
385
382
|
/**
|
|
386
|
-
* Fires when a [Bookmark](https://developers.arcgis.com/javascript/latest/
|
|
383
|
+
* Fires when a [Bookmark](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/) is edited.
|
|
387
384
|
*
|
|
388
385
|
* @since 4.34
|
|
389
386
|
* @example
|
|
@@ -397,7 +394,7 @@ export abstract class ArcgisBookmarks extends LitElement {
|
|
|
397
394
|
*/
|
|
398
395
|
readonly arcgisBookmarkEdit: import("@arcgis/lumina").TargetedEvent<this, BookmarkEditEvent>;
|
|
399
396
|
/**
|
|
400
|
-
* Fires when a [Bookmark](https://developers.arcgis.com/javascript/latest/
|
|
397
|
+
* Fires when a [Bookmark](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/) is selected.
|
|
401
398
|
*
|
|
402
399
|
* @since 4.34
|
|
403
400
|
* @example
|
|
@@ -432,6 +429,4 @@ export abstract class ArcgisBookmarks extends LitElement {
|
|
|
432
429
|
arcgisPropertyChange: ArcgisBookmarks["arcgisPropertyChange"]["detail"];
|
|
433
430
|
arcgisReady: ArcgisBookmarks["arcgisReady"]["detail"];
|
|
434
431
|
};
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
export type BookmarksState = "loading" | "ready";
|
|
432
|
+
}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import type Bookmark from "@arcgis/core/webmap/Bookmark.js";
|
|
2
2
|
import type { UserSettings } from "@arcgis/core/views/types";
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Specifies the state of the Bookmarks component.
|
|
6
|
+
*
|
|
7
|
+
* @since 5.0
|
|
8
|
+
*/
|
|
9
|
+
export type BookmarksState = "loading" | "ready";
|
|
10
|
+
|
|
4
11
|
/**
|
|
5
12
|
* Specifies how bookmarks will be created or modified.
|
|
6
13
|
*
|
|
@@ -8,32 +15,32 @@ import type { UserSettings } from "@arcgis/core/views/types";
|
|
|
8
15
|
*/
|
|
9
16
|
export type BookmarkOptions = {
|
|
10
17
|
/**
|
|
11
|
-
* Indicates whether the rotation of the current view will be saved in the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/
|
|
18
|
+
* Indicates whether the rotation of the current view will be saved in the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#viewpoint) of a newly created or modified bookmark. Default is `true`.
|
|
12
19
|
*
|
|
13
20
|
* @since 5.0
|
|
14
21
|
*/
|
|
15
22
|
captureRotation?: boolean;
|
|
16
23
|
/**
|
|
17
|
-
* Indicates whether the scale of the current view will be saved in the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/
|
|
24
|
+
* Indicates whether the scale of the current view will be saved in the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#viewpoint) of a newly created or modified bookmark. Default is `true`.
|
|
18
25
|
*
|
|
19
26
|
* @since 5.0
|
|
20
27
|
*/
|
|
21
28
|
captureScale?: boolean;
|
|
22
29
|
/**
|
|
23
|
-
* Indicates whether the time extent of the current view will be saved in the [Bookmark#timeExtent](https://developers.arcgis.com/javascript/latest/
|
|
30
|
+
* Indicates whether the time extent of the current view will be saved in the [Bookmark#timeExtent](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#timeExtent) of a newly created or modified bookmark. Default is `true`.
|
|
24
31
|
*
|
|
25
32
|
* @since 5.0
|
|
26
33
|
*/
|
|
27
34
|
captureTimeExtent?: boolean;
|
|
28
35
|
/**
|
|
29
|
-
* Indicates whether the viewpoint of the current view will become the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/
|
|
36
|
+
* Indicates whether the viewpoint of the current view will become the [Bookmark#viewpoint](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#viewpoint) of a newly created or modified bookmark. Default is `true`.
|
|
30
37
|
*
|
|
31
38
|
* @since 5.0
|
|
32
39
|
*/
|
|
33
40
|
captureViewpoint?: boolean;
|
|
34
41
|
/**
|
|
35
42
|
* An object that specifies the settings of the screenshot that will be used to create the bookmark's
|
|
36
|
-
* [Bookmark#thumbnail](https://developers.arcgis.com/javascript/latest/
|
|
43
|
+
* [Bookmark#thumbnail](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#thumbnail).
|
|
37
44
|
* The default screenshot size is 128px x 128px.
|
|
38
45
|
*
|
|
39
46
|
* @since 5.0
|
|
@@ -41,7 +48,7 @@ export type BookmarkOptions = {
|
|
|
41
48
|
screenshotSettings?: Partial<UserSettings>;
|
|
42
49
|
/**
|
|
43
50
|
* Indicates whether a screenshot is taken when a new bookmark is created.
|
|
44
|
-
* The screenshot will be set as the [Bookmark#thumbnail](https://developers.arcgis.com/javascript/latest/
|
|
51
|
+
* The screenshot will be set as the [Bookmark#thumbnail](https://developers.arcgis.com/javascript/latest/references/core/webmap/Bookmark/#thumbnail) in the newly created bookmark. Default is `true`.
|
|
45
52
|
*
|
|
46
53
|
* @since 5.0
|
|
47
54
|
*/
|
|
@@ -2,34 +2,30 @@
|
|
|
2
2
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
3
|
import type BuildingSceneLayer from "@arcgis/core/layers/BuildingSceneLayer.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
-
import type { ArcgisReferenceElement } from "
|
|
6
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
7
|
-
import type { HeadingLevel } from "../../support/heading.js";
|
|
5
|
+
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
8
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
9
7
|
|
|
10
|
-
export type Messages = ReturnType<typeof messages>;
|
|
11
|
-
|
|
12
8
|
/**
|
|
13
|
-
* The Building Explorer component is used to filter and explore the various building elements of [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/
|
|
9
|
+
* The Building Explorer component is used to filter and explore the various building elements of [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/). BuildingSceneLayers are complex digital models of buildings and interiors and can contain thousands of building elements grouped in sublayers. Using the Building Explorer component, buildings can be filtered by [level](#level), [construction phase](#phase) or by disciplines and categories.
|
|
14
10
|
* The visibility of these elements can be configured using the component's [hideLevels](#hideLevels), [hidePhases](#hidePhases) and [hideDisciplines](#hideDisciplines) properties.
|
|
15
11
|
*
|
|
16
12
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-filter/)
|
|
17
13
|
*
|
|
18
|
-
* The [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/
|
|
14
|
+
* The [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) to be explored have to be set on the [layers](#layers) property of the component. When setting multiple layers, the filters set by the Building Explorer component will be applied on all layers. The component doesn't allow the user to select between multiple layers present in a scene.
|
|
19
15
|
*
|
|
20
|
-
* Often, [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/
|
|
16
|
+
* Often, [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) contain an _Overview_ [BuildingComponentSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/buildingSublayers/BuildingComponentSublayer/) that serves as an exterior shell and views the building model as a single feature. When a layer is added to the Building Explorer component, the visibility of the _Overview_ layer is turned off, so that the user can directly interact with the individual features in the _Full Model_ [BuildingGroupSublayer](https://developers.arcgis.com/javascript/latest/references/core/layers/buildingSublayers/BuildingGroupSublayer/).
|
|
21
17
|
*
|
|
22
18
|
* The Level element of the Building Explorer component allows to select a single level in one or several buildings. When selecting a level, the levels above it are hidden and the levels below it become semi-transparent for added visual context.
|
|
23
19
|
*
|
|
24
|
-
* Some [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/
|
|
20
|
+
* Some [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) include information indicating the phase in which building elements, such as doors or pipes, were created and, optionally, when they were demolished. If a layer has multiple construction phases, these will be displayed in the Construction phases element. When selecting a construction phase, all the building elements created during or before the phase are selected. Demolished building elements aren't displayed.
|
|
25
21
|
*
|
|
26
|
-
* Discipline layers are [group layers](https://developers.arcgis.com/javascript/latest/
|
|
22
|
+
* Discipline layers are [group layers](https://developers.arcgis.com/javascript/latest/references/core/layers/buildingSublayers/BuildingGroupSublayer/) that organize the [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) content into architectural, structural, mechanical, or electrical groups. These layers contain a number of Category layers such as walls, windows, furniture, and lighting fixtures. These layers can be turned on and off in the Disciplines and Categories list.
|
|
27
23
|
*
|
|
28
24
|
* The Building Explorer component can only display filters set by the component itself. Filters set by other applications will be ignored.
|
|
29
25
|
*
|
|
30
26
|
* **Known limitations**
|
|
31
27
|
*
|
|
32
|
-
* Building Explorer is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
28
|
+
* Building Explorer is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
33
29
|
*
|
|
34
30
|
* **See also**
|
|
35
31
|
*
|
|
@@ -88,7 +84,7 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
|
|
|
88
84
|
/** The component's default label. */
|
|
89
85
|
accessor label: string | undefined;
|
|
90
86
|
/**
|
|
91
|
-
* A list of layers of type [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/
|
|
87
|
+
* A list of layers of type [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/) that are added to the component for exploration.
|
|
92
88
|
*
|
|
93
89
|
* The component UI is only displayed when this property is set. In case of multiple layers, the component will display and apply the filters on all layers.
|
|
94
90
|
*
|
|
@@ -96,14 +92,14 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
|
|
|
96
92
|
*/
|
|
97
93
|
accessor layers: BuildingSceneLayer[];
|
|
98
94
|
/**
|
|
99
|
-
* The currently selected building level.
|
|
95
|
+
* The currently selected value for the building level filter.
|
|
100
96
|
*
|
|
101
97
|
* @since 5.0
|
|
102
98
|
*/
|
|
103
99
|
get level(): number;
|
|
104
100
|
set level(value: number | undefined);
|
|
105
101
|
/**
|
|
106
|
-
* Indicates whether the level picker and filter is disabled. If `true`, the filters expression won't be used to filter a [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/
|
|
102
|
+
* Indicates whether the level picker and filter is disabled. If `true`, the filters expression won't be used to filter a [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
|
|
107
103
|
*
|
|
108
104
|
* @default false
|
|
109
105
|
* @since 5.0
|
|
@@ -173,14 +169,15 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
|
|
|
173
169
|
loading: string;
|
|
174
170
|
}>;
|
|
175
171
|
/**
|
|
176
|
-
* The currently selected construction phase.
|
|
172
|
+
* The currently selected value for the construction phase filter.
|
|
173
|
+
* Construction phases are used to track site development for a [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/). Setting a construction phase in the Building Explorer selects everything in the layer which is already constructed at that phase (created phase <= selected phase) but not yet demolished (demolished phase > selected phase). The goal is to display what the building or construction site looks like at that selected phase.
|
|
177
174
|
*
|
|
178
175
|
* @since 5.0
|
|
179
176
|
*/
|
|
180
177
|
get phase(): number;
|
|
181
178
|
set phase(value: number | undefined);
|
|
182
179
|
/**
|
|
183
|
-
* Indicates whether the phase picker and filter is disabled. If `true`, the filters expression won't be used to filter a [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/
|
|
180
|
+
* Indicates whether the phase picker and filter is disabled. If `true`, the filters expression won't be used to filter a [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
|
|
184
181
|
*
|
|
185
182
|
* @default false
|
|
186
183
|
* @since 5.0
|
|
@@ -231,60 +228,4 @@ export abstract class ArcgisBuildingExplorer extends LitElement {
|
|
|
231
228
|
arcgisBuildingPhaseChange: ArcgisBuildingExplorer["arcgisBuildingPhaseChange"]["detail"];
|
|
232
229
|
arcgisReady: ArcgisBuildingExplorer["arcgisReady"]["detail"];
|
|
233
230
|
};
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
export const messages: (value: {
|
|
237
|
-
level: {
|
|
238
|
-
title: string;
|
|
239
|
-
selectLevel: string;
|
|
240
|
-
clearLevel: string;
|
|
241
|
-
nextLevel: string;
|
|
242
|
-
previousLevel: string;
|
|
243
|
-
currentLevel: string;
|
|
244
|
-
};
|
|
245
|
-
phase: {
|
|
246
|
-
title: string;
|
|
247
|
-
nextPhase: string;
|
|
248
|
-
previousPhase: string;
|
|
249
|
-
currentPhase: string;
|
|
250
|
-
};
|
|
251
|
-
disciplines: {
|
|
252
|
-
title: string;
|
|
253
|
-
expand: string;
|
|
254
|
-
collapse: string;
|
|
255
|
-
hideSublayer: string;
|
|
256
|
-
showSublayer: string;
|
|
257
|
-
};
|
|
258
|
-
failed: string;
|
|
259
|
-
unsupported: string;
|
|
260
|
-
noData: string;
|
|
261
|
-
componentLabel: string;
|
|
262
|
-
loading: string;
|
|
263
|
-
}) => {
|
|
264
|
-
level: {
|
|
265
|
-
title: string;
|
|
266
|
-
selectLevel: string;
|
|
267
|
-
clearLevel: string;
|
|
268
|
-
nextLevel: string;
|
|
269
|
-
previousLevel: string;
|
|
270
|
-
currentLevel: string;
|
|
271
|
-
};
|
|
272
|
-
phase: {
|
|
273
|
-
title: string;
|
|
274
|
-
nextPhase: string;
|
|
275
|
-
previousPhase: string;
|
|
276
|
-
currentPhase: string;
|
|
277
|
-
};
|
|
278
|
-
disciplines: {
|
|
279
|
-
title: string;
|
|
280
|
-
expand: string;
|
|
281
|
-
collapse: string;
|
|
282
|
-
hideSublayer: string;
|
|
283
|
-
showSublayer: string;
|
|
284
|
-
};
|
|
285
|
-
failed: string;
|
|
286
|
-
unsupported: string;
|
|
287
|
-
noData: string;
|
|
288
|
-
componentLabel: string;
|
|
289
|
-
loading: string;
|
|
290
|
-
};
|
|
231
|
+
}
|
|
@@ -124,7 +124,7 @@ let n = class extends z {
|
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
126
|
* Whether the filter is disabled. If true, the filter's expression won't be
|
|
127
|
-
* used to filter a [BuildingSceneLayer](https://next.gha.afd.arcgis.com/javascript/latest/
|
|
127
|
+
* used to filter a [BuildingSceneLayer](https://next.gha.afd.arcgis.com/javascript/latest/references/core/layers/BuildingSceneLayer/).
|
|
128
128
|
*
|
|
129
129
|
* @default true
|
|
130
130
|
*/
|
|
@@ -549,10 +549,10 @@ class we extends J {
|
|
|
549
549
|
e == null ? this.#t.allowedValues = null : this.#t.allowedValues = e;
|
|
550
550
|
}
|
|
551
551
|
get levelDisabled() {
|
|
552
|
-
return this.#e
|
|
552
|
+
return this.#e.disabled;
|
|
553
553
|
}
|
|
554
554
|
get phaseDisabled() {
|
|
555
|
-
return this.#t
|
|
555
|
+
return this.#t.disabled;
|
|
556
556
|
}
|
|
557
557
|
async destroy() {
|
|
558
558
|
await this.manager.destroy();
|
|
@@ -5,8 +5,7 @@ import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
|
|
|
5
5
|
import type Collection2 from "@arcgis/core/core/Collection.js";
|
|
6
6
|
import type ListItem2 from "@arcgis/core/widgets/LayerList/ListItem.js";
|
|
7
7
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
|
-
import type { ArcgisReferenceElement } from "
|
|
9
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
8
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
10
9
|
import type { LayerListViewModelTriggerActionEvent } from "@arcgis/core/widgets/LayerList/LayerListViewModel";
|
|
11
10
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
12
11
|
import type { FilterPredicate, ListItemModifier, VisibilityAppearance } from "@arcgis/core/widgets/LayerList/types.js";
|
|
@@ -15,9 +14,54 @@ import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
|
15
14
|
import type { CatalogLayerListState } from "@arcgis/core/widgets/CatalogLayerList/types.js";
|
|
16
15
|
|
|
17
16
|
/**
|
|
18
|
-
* The Catalog Layer List
|
|
17
|
+
* The Catalog Layer List provides a way to display and interact with [CatalogLayers](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/).
|
|
18
|
+
* The component displays a list of layers in the [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer)
|
|
19
|
+
* and allows you to toggle their visibility.
|
|
20
|
+
*
|
|
21
|
+
* The [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) API provides access to each layer's properties, allows
|
|
22
|
+
* the developer to configure actions related to the layer, and allows the developer to add content to the item related to the layer.
|
|
19
23
|
*
|
|
20
24
|
* @since 4.31
|
|
25
|
+
* @example
|
|
26
|
+
* ```js
|
|
27
|
+
* const catalogLayerListElement = document.createElement("arcgis-catalog-layer-list");
|
|
28
|
+
* catalogLayerListElement.referenceElement = viewElement;
|
|
29
|
+
* catalogLayerListElement.slot = "top-right";
|
|
30
|
+
* viewElement.appendChild(catalogLayerListElement);
|
|
31
|
+
*
|
|
32
|
+
* catalogLayerListElement.listItemCreatedFunction = (event) => {
|
|
33
|
+
* const { item } = event;
|
|
34
|
+
* const { layer } = item;
|
|
35
|
+
*
|
|
36
|
+
* if (isLayerFromCatalog(layer)) {
|
|
37
|
+
* item.actionsSections = [
|
|
38
|
+
* [
|
|
39
|
+
* {
|
|
40
|
+
* title: "Add layer to map",
|
|
41
|
+
* icon: "add-layer",
|
|
42
|
+
* id: "add-layer"
|
|
43
|
+
* }
|
|
44
|
+
* ]
|
|
45
|
+
* ];
|
|
46
|
+
* }
|
|
47
|
+
* }
|
|
48
|
+
*
|
|
49
|
+
* // Listen for the arcgisTriggerAction event on the CatalogLayerList
|
|
50
|
+
* // and add layers from the catalog to the map when the "add-layer" action is triggered.
|
|
51
|
+
* // To correctly add a layer to the map, you must create a footprint from the layer
|
|
52
|
+
* // and then create a new layer from the footprint.
|
|
53
|
+
* catalogLayerList.addEventListener("arcgisTriggerAction", async (event) => {
|
|
54
|
+
* const { id } = event.action;
|
|
55
|
+
* const { layer } = event.item;
|
|
56
|
+
*
|
|
57
|
+
* if (id === "add-layer") {
|
|
58
|
+
* const parentCatalogLayer = catalogUtils.getCatalogLayerForLayer(layer);
|
|
59
|
+
* const footprint = parentCatalogLayer.createFootprintFromLayer(layer);
|
|
60
|
+
* const layerFromFootprint = await parentCatalogLayer.createLayerFromFootprint(footprint);
|
|
61
|
+
* viewElement.map.add(layerFromFootprint);
|
|
62
|
+
* }
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
21
65
|
*/
|
|
22
66
|
export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
23
67
|
/**
|
|
@@ -30,12 +74,15 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
|
30
74
|
* @default false
|
|
31
75
|
*/
|
|
32
76
|
accessor autoDestroyDisabled: boolean;
|
|
33
|
-
/** A collection of ListItems representing the
|
|
77
|
+
/** A collection of ListItems representing the CatalogLayer's [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer). */
|
|
34
78
|
get catalogItems(): Collection<ListItem>;
|
|
35
79
|
/**
|
|
36
|
-
* The [CatalogLayer](https://developers.arcgis.com/javascript/latest/
|
|
80
|
+
* The [CatalogLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/) to display in the component.
|
|
37
81
|
*
|
|
38
|
-
* @example
|
|
82
|
+
* @example
|
|
83
|
+
* ```js
|
|
84
|
+
* catalogLayerListElement.catalogLayer = new CatalogLayer({ url });
|
|
85
|
+
* ```
|
|
39
86
|
*/
|
|
40
87
|
accessor catalogLayer: CatalogLayer | null | undefined;
|
|
41
88
|
/**
|
|
@@ -51,34 +98,45 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
|
51
98
|
*
|
|
52
99
|
* @default false
|
|
53
100
|
* @see [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showCollapseButton)
|
|
54
|
-
* @example
|
|
101
|
+
* @example
|
|
102
|
+
* ```js
|
|
103
|
+
* catalogLayerListElement.collapsed = true;
|
|
104
|
+
* ```
|
|
55
105
|
*/
|
|
56
106
|
accessor collapsed: boolean;
|
|
57
107
|
/**
|
|
58
|
-
* Placeholder text used in the filter input if [
|
|
108
|
+
* Placeholder text used in the filter input if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showFilter) is true.
|
|
59
109
|
*
|
|
60
110
|
* @default ""
|
|
61
111
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showFilter)
|
|
62
|
-
* @example
|
|
112
|
+
* @example
|
|
113
|
+
* ```js
|
|
114
|
+
* catalogLayerListElement.filterPlaceholder = "Filter layers";
|
|
115
|
+
* ```
|
|
63
116
|
*/
|
|
64
117
|
accessor filterPlaceholder: string;
|
|
65
118
|
/**
|
|
66
|
-
* Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/
|
|
119
|
+
* Specifies a function to handle filtering [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/).
|
|
67
120
|
*
|
|
68
121
|
* @since 4.32
|
|
69
|
-
* @example
|
|
122
|
+
* @example
|
|
123
|
+
* ```js
|
|
124
|
+
* catalogLayerListElement.filterPredicate = (item) => item.title.toLowerCase().includes("streets");
|
|
125
|
+
* ```
|
|
70
126
|
*/
|
|
71
127
|
accessor filterPredicate: FilterPredicate | null | undefined;
|
|
72
128
|
/**
|
|
73
|
-
* The value of the filter input if [
|
|
129
|
+
* The value of the filter input if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showFilter) is true.
|
|
74
130
|
*
|
|
75
131
|
* @default ""
|
|
76
132
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showFilter)
|
|
77
133
|
* @example
|
|
134
|
+
* ```js
|
|
78
135
|
* reactiveUtils.watch(
|
|
79
|
-
* () =>
|
|
136
|
+
* () => catalogLayerListElement.filterText,
|
|
80
137
|
* (filterText) => console.log(filterText)
|
|
81
138
|
* );
|
|
139
|
+
* ```
|
|
82
140
|
*/
|
|
83
141
|
accessor filterText: string;
|
|
84
142
|
/**
|
|
@@ -89,7 +147,10 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
|
89
147
|
*
|
|
90
148
|
* @default 2
|
|
91
149
|
* @see [showHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showHeading)
|
|
92
|
-
* @example
|
|
150
|
+
* @example
|
|
151
|
+
* ```js
|
|
152
|
+
* catalogLayerListElement.headingLevel = 3;
|
|
153
|
+
* ```
|
|
93
154
|
*/
|
|
94
155
|
accessor headingLevel: HeadingLevel;
|
|
95
156
|
/**
|
|
@@ -116,60 +177,42 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
|
116
177
|
*/
|
|
117
178
|
accessor label: string;
|
|
118
179
|
/**
|
|
119
|
-
* A function that executes each time a [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
180
|
+
* A function that executes each time a [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) is created.
|
|
120
181
|
* Use this function to add actions and panels to list items, and to override
|
|
121
182
|
* the default settings of a list item. Actions can be added to list items
|
|
122
|
-
* using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/
|
|
183
|
+
* using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/#actionsSections).
|
|
123
184
|
*
|
|
124
185
|
* @example
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* listItemCreatedFunction: (event) => {
|
|
130
|
-
* const { item } = event;
|
|
131
|
-
* const { layer } = item;
|
|
132
|
-
*
|
|
133
|
-
* if (isLayerFromCatalog(layer)) {
|
|
134
|
-
* item.actionsSections = [
|
|
135
|
-
* [
|
|
136
|
-
* {
|
|
137
|
-
* title: "Add layer to map",
|
|
138
|
-
* icon: "add-layer",
|
|
139
|
-
* id: "add-layer"
|
|
140
|
-
* }
|
|
141
|
-
* ]
|
|
142
|
-
* ];
|
|
143
|
-
* }
|
|
144
|
-
* },
|
|
145
|
-
* view
|
|
146
|
-
* });
|
|
186
|
+
* ```js
|
|
187
|
+
* catalogLayerListElement.listItemCreatedFunction = (event) => {
|
|
188
|
+
* const { item } = event;
|
|
189
|
+
* const { layer } = item;
|
|
147
190
|
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
* const footprint = parentCatalogLayer.createFootprintFromLayer(layer);
|
|
159
|
-
* const layerFromFootprint = await parentCatalogLayer.createLayerFromFootprint(footprint);
|
|
160
|
-
* map.add(layerFromFootprint);
|
|
191
|
+
* if (isLayerFromCatalog(layer)) {
|
|
192
|
+
* item.actionsSections = [
|
|
193
|
+
* [
|
|
194
|
+
* {
|
|
195
|
+
* title: "Add layer to map",
|
|
196
|
+
* icon: "add-layer",
|
|
197
|
+
* id: "add-layer"
|
|
198
|
+
* }
|
|
199
|
+
* ]
|
|
200
|
+
* ];
|
|
161
201
|
* }
|
|
162
|
-
* }
|
|
202
|
+
* }
|
|
203
|
+
* ```
|
|
163
204
|
*/
|
|
164
205
|
accessor listItemCreatedFunction: ListItemModifier | null | undefined;
|
|
165
206
|
/**
|
|
166
|
-
* The minimum number of list items required to display the [
|
|
207
|
+
* The minimum number of list items required to display the [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showFilter) input box.
|
|
167
208
|
*
|
|
168
209
|
* @default 10
|
|
169
210
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showFilter)
|
|
170
211
|
* @example
|
|
171
|
-
*
|
|
172
|
-
*
|
|
212
|
+
* ```js
|
|
213
|
+
* catalogLayerListElement.showFilter = true;
|
|
214
|
+
* catalogLayerListElement.minFilterItems = 5;
|
|
215
|
+
* ```
|
|
173
216
|
*/
|
|
174
217
|
accessor minFilterItems: number;
|
|
175
218
|
/**
|
|
@@ -179,16 +222,16 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
|
179
222
|
*/
|
|
180
223
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
181
224
|
/**
|
|
182
|
-
* A collection of selected [ListItems](https://developers.arcgis.com/javascript/latest/
|
|
225
|
+
* A collection of selected [ListItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) representing [catalogItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#catalogItems)
|
|
183
226
|
* selected by the user.
|
|
184
227
|
*
|
|
185
|
-
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/
|
|
186
|
-
* @see [catalogItems](https://developers.arcgis.com/javascript/latest/
|
|
228
|
+
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#selectionMode)
|
|
229
|
+
* @see [catalogItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#catalogItems)
|
|
187
230
|
*/
|
|
188
231
|
accessor selectedItems: Collection2<ListItem2>;
|
|
189
232
|
/**
|
|
190
233
|
* Specifies the selection mode.
|
|
191
|
-
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/
|
|
234
|
+
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#selectedItems) property.
|
|
192
235
|
*
|
|
193
236
|
* | Value | Description |
|
|
194
237
|
* | ----- | ----------- |
|
|
@@ -198,10 +241,13 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
|
198
241
|
* | single-persist | Allows only one item to be selected at a time and prevents de-selection. Once an item is selected, it remains selected until another item is selected. This is useful when you want to ensure that there is always exactly one selected item. |
|
|
199
242
|
*
|
|
200
243
|
* @default "none"
|
|
201
|
-
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/
|
|
202
|
-
* @example
|
|
244
|
+
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#selectedItems)
|
|
245
|
+
* @example
|
|
246
|
+
* ```js
|
|
247
|
+
* catalogLayerListElement.selectionMode = "multiple";
|
|
248
|
+
* ```
|
|
203
249
|
*/
|
|
204
|
-
accessor selectionMode: "
|
|
250
|
+
accessor selectionMode: "multiple" | "single" | "none" | "single-persist";
|
|
205
251
|
/**
|
|
206
252
|
* Indicates whether to display a close button in the header.
|
|
207
253
|
*
|
|
@@ -224,21 +270,21 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
|
224
270
|
*/
|
|
225
271
|
accessor showErrors: boolean;
|
|
226
272
|
/**
|
|
227
|
-
* Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [CatalogLayerList#minFilterItems](https://developers.arcgis.com/javascript/latest/
|
|
273
|
+
* Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [CatalogLayerList#minFilterItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#minFilterItems), allowing users to filter layers by their title.
|
|
228
274
|
*
|
|
229
275
|
* @default false
|
|
230
276
|
* @since 5.0
|
|
231
277
|
*/
|
|
232
278
|
accessor showFilter: boolean;
|
|
233
279
|
/**
|
|
234
|
-
* Indicates whether to display the component's heading. The heading text is "Layer List". The heading level can be set with the [CatalogLayerList#headingLevel](https://developers.arcgis.com/javascript/latest/
|
|
280
|
+
* Indicates whether to display the component's heading. The heading text is "Layer List". The heading level can be set with the [CatalogLayerList#headingLevel](https://developers.arcgis.com/javascript/latest/references/core/widgets/CatalogLayerList/#headingLevel).
|
|
235
281
|
*
|
|
236
282
|
* @default false
|
|
237
283
|
* @since 5.0
|
|
238
284
|
*/
|
|
239
285
|
accessor showHeading: boolean;
|
|
240
286
|
/**
|
|
241
|
-
* Indicates whether temporary layer indicators will be displayed for layers with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/
|
|
287
|
+
* Indicates whether temporary layer indicators will be displayed for layers with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#persistenceEnabled) set to `false`. A [temporary icon](https://developers.arcgis.com/calcite-design-system/icons/?icon=temporary&library=Calcite%20UI&query=temporary) will be displayed on the near side of the layer title.
|
|
242
288
|
*
|
|
243
289
|
* @default false
|
|
244
290
|
* @since 5.0
|
|
@@ -264,7 +310,10 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
|
264
310
|
* | checkbox | Displays checkbox icons on the near side. See [check-square-f](https://developers.arcgis.com/calcite-design-system/icons/?icon=check-square-f&library=Calcite%20UI&query=check) and [square](https://developers.arcgis.com/calcite-design-system/icons/?icon=square&library=Calcite%20UI&query=square) calcite icons. |  |
|
|
265
311
|
*
|
|
266
312
|
* @default "default"
|
|
267
|
-
* @example
|
|
313
|
+
* @example
|
|
314
|
+
* ```js
|
|
315
|
+
* catalogLayerListElement.visibilityAppearance = "checkbox";
|
|
316
|
+
* ```
|
|
268
317
|
*/
|
|
269
318
|
accessor visibilityAppearance: VisibilityAppearance;
|
|
270
319
|
/** Permanently destroy the component. */
|