@arcgis/map-components 5.1.0-next.0 → 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/{UEW7U33S.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/UZ7KLWGC.js +2 -0
- 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 +19 -10
- 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 +21 -19
- 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 +6 -7
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +127 -98
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +3 -3
- package/dist/components/arcgis-bookmarks/customElement.d.ts +19 -24
- package/dist/components/arcgis-bookmarks/types.d.ts +13 -6
- package/dist/components/arcgis-building-explorer/customElement.d.ts +15 -74
- package/dist/components/arcgis-building-explorer/customElement.js +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +121 -72
- package/dist/components/arcgis-clipboard/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +4 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +12 -14
- package/dist/components/arcgis-daylight/customElement.d.ts +19 -20
- 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 +21 -19
- 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 +3 -5
- package/dist/components/arcgis-directions/customElement.d.ts +9 -10
- package/dist/components/arcgis-directions/customElement.js +5 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -10
- 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 +16 -17
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +31 -30
- 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 +7 -8
- package/dist/components/arcgis-expand/types.d.ts +1 -0
- package/dist/components/arcgis-feature/customElement.d.ts +33 -34
- 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 +31 -12
- 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 +100 -64
- package/dist/components/arcgis-feature-table/customElement.js +12 -12
- package/dist/components/arcgis-feature-templates/customElement.d.ts +15 -13
- 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 +44 -46
- package/dist/components/arcgis-features/customElement.js +43 -43
- package/dist/components/arcgis-floor-filter/customElement.d.ts +10 -13
- 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 +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
- package/dist/components/arcgis-home/customElement.d.ts +6 -8
- package/dist/components/arcgis-layer-list/customElement.d.ts +46 -47
- package/dist/components/arcgis-legend/customElement.d.ts +37 -38
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +15 -13
- package/dist/components/arcgis-link-chart/customElement.d.ts +70 -60
- package/dist/components/arcgis-link-chart/customElement.js +42 -31
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -3
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +7 -4
- package/dist/components/arcgis-locate/customElement.d.ts +4 -5
- package/dist/components/arcgis-map/customElement.d.ts +151 -141
- package/dist/components/arcgis-map/customElement.js +24 -13
- package/dist/components/arcgis-measurement/customElement.d.ts +6 -7
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +2 -2
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
- 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 +3 -4
- 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 +2 -2
- package/dist/components/arcgis-paste/customElement.js +6 -7
- package/dist/components/arcgis-popup/customElement.d.ts +33 -34
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -1
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +30 -19
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +13 -1
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +40 -33
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -3
- package/dist/components/arcgis-scale-bar/customElement.js +7 -7
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +8 -9
- package/dist/components/arcgis-scene/customElement.d.ts +166 -161
- package/dist/components/arcgis-scene/customElement.js +20 -9
- package/dist/components/arcgis-search/customElement.d.ts +40 -33
- package/dist/components/arcgis-search/customElement.js +20 -18
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +62 -18
- package/dist/components/arcgis-sketch/customElement.d.ts +56 -37
- package/dist/components/arcgis-sketch/customElement.js +20 -8
- package/dist/components/arcgis-slice/customElement.d.ts +17 -17
- 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 +78 -28
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +31 -32
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +33 -38
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +68 -35
- package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +107 -37
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +8 -11
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +27 -28
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +36 -40
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +2 -3
- package/dist/components/arcgis-swipe/customElement.d.ts +7 -7
- package/dist/components/arcgis-table-list/customElement.d.ts +113 -77
- 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 +18 -20
- 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 +8 -9
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +1 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +6 -7
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +4 -5
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +5 -6
- 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 +2 -3
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +40 -41
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +4 -4
- package/dist/components/arcgis-video/customElement.d.ts +12 -12
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +32 -28
- 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 +18 -19
- package/dist/components/arcgis-zoom/customElement.d.ts +7 -3
- 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 +5 -5
- 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/5RUIVALH.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/OVWCXUJH.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/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
|
@@ -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,27 +14,75 @@ 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
|
/**
|
|
24
68
|
* If true, the component will not be destroyed automatically when it is
|
|
25
69
|
* disconnected from the document. This is useful when you want to move the
|
|
26
70
|
* component to a different place on the page, or temporarily hide it. If this
|
|
27
|
-
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-catalog-layer-list/#destroy) method when you are done to
|
|
71
|
+
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#destroy) method when you are done to
|
|
28
72
|
* prevent memory leaks.
|
|
29
73
|
*
|
|
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
|
/**
|
|
@@ -50,35 +97,46 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
|
50
97
|
* When collapsed, only the collapse button and the heading are displayed.
|
|
51
98
|
*
|
|
52
99
|
* @default false
|
|
53
|
-
* @see [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-catalog-layer-list/#showCollapseButton)
|
|
54
|
-
* @example
|
|
100
|
+
* @see [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showCollapseButton)
|
|
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
|
-
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-catalog-layer-list/#showFilter)
|
|
62
|
-
* @example
|
|
111
|
+
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showFilter)
|
|
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
|
-
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-catalog-layer-list/#showFilter)
|
|
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
|
/**
|
|
@@ -88,8 +146,11 @@ export abstract class ArcgisCatalogLayerList extends LitElement {
|
|
|
88
146
|
* This is important for meeting accessibility standards.
|
|
89
147
|
*
|
|
90
148
|
* @default 2
|
|
91
|
-
* @see [showHeading](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-catalog-layer-list/#showHeading)
|
|
92
|
-
* @example
|
|
149
|
+
* @see [showHeading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/#showHeading)
|
|
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
|
-
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-catalog-layer-list/#showFilter)
|
|
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. */
|
|
@@ -3,7 +3,7 @@ import type MapView from "@arcgis/core/views/MapView";
|
|
|
3
3
|
import type SceneView from "@arcgis/core/views/SceneView";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
5
|
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard.js";
|
|
6
|
-
import type { ArcgisReferenceElement } from "
|
|
6
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
7
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { ArcgisReferenceElement } from "
|
|
4
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
3
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
5
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
5
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
7
6
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
@@ -10,7 +9,7 @@ import type { CompassViewModelState } from "@arcgis/core/widgets/Compass/Compass
|
|
|
10
9
|
import type { Button as Button } from "@esri/calcite-components/components/calcite-button";
|
|
11
10
|
|
|
12
11
|
/**
|
|
13
|
-
* The Compass component indicates where north is in relation to the current view [rotation](https://developers.arcgis.com/javascript/latest/
|
|
12
|
+
* The Compass component indicates where north is in relation to the current view [rotation](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#rotation) or [camera heading](https://developers.arcgis.com/javascript/latest/references/core/Camera/#heading).
|
|
14
13
|
*
|
|
15
14
|
* @since 4.28
|
|
16
15
|
*/
|
|
@@ -19,14 +18,14 @@ export abstract class ArcgisCompass extends LitElement {
|
|
|
19
18
|
* If true, the component will not be destroyed automatically when it is
|
|
20
19
|
* disconnected from the document. This is useful when you want to move the
|
|
21
20
|
* component to a different place on the page, or temporarily hide it. If this
|
|
22
|
-
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-compass/#destroy) method when you are done to
|
|
21
|
+
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-compass/#destroy) method when you are done to
|
|
23
22
|
* prevent memory leaks.
|
|
24
23
|
*
|
|
25
24
|
* @default false
|
|
26
25
|
*/
|
|
27
26
|
accessor autoDestroyDisabled: boolean;
|
|
28
27
|
/**
|
|
29
|
-
* This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#goTo) methods.
|
|
28
|
+
* This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) methods.
|
|
30
29
|
*
|
|
31
30
|
* @since 4.33
|
|
32
31
|
* @example
|
|
@@ -8,10 +8,8 @@ import type SimpleMarkerSymbol from "@arcgis/core/symbols/SimpleMarkerSymbol.js"
|
|
|
8
8
|
import type CIMSymbol from "@arcgis/core/symbols/CIMSymbol.js";
|
|
9
9
|
import type PointSymbol3D from "@arcgis/core/symbols/PointSymbol3D.js";
|
|
10
10
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
11
|
-
import type { ArcgisReferenceElement } from "
|
|
12
|
-
import type { HeadingLevel } from "../../support/heading.js";
|
|
11
|
+
import type { ArcgisReferenceElement, IconName, HeadingLevel } from "../types.js";
|
|
13
12
|
import type { Orientation, StorageType } from "./types.js";
|
|
14
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
15
13
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
16
14
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
17
15
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
@@ -21,7 +19,7 @@ import type { CoordinateConversionViewModelState } from "@arcgis/core/widgets/Co
|
|
|
21
19
|
/**
|
|
22
20
|
* The Coordinate Conversion component provides a way to display user cursor position either as map coordinates or
|
|
23
21
|
* as any of several popular coordinate notations. Additionally, the component provides a way to convert
|
|
24
|
-
* user input coordinates into a [point](https://developers.arcgis.com/javascript/latest/
|
|
22
|
+
* user input coordinates into a [point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/).
|
|
25
23
|
*
|
|
26
24
|
*
|
|
27
25
|
* Several common formats are included by default:
|
|
@@ -49,14 +47,14 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
49
47
|
* If true, the component will not be destroyed automatically when it is
|
|
50
48
|
* disconnected from the document. This is useful when you want to move the
|
|
51
49
|
* component to a different place on the page, or temporarily hide it. If this
|
|
52
|
-
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-coordinate-conversion/#destroy) method when you are done to
|
|
50
|
+
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-coordinate-conversion/#destroy) method when you are done to
|
|
53
51
|
* prevent memory leaks.
|
|
54
52
|
*
|
|
55
53
|
* @default false
|
|
56
54
|
*/
|
|
57
55
|
accessor autoDestroyDisabled: boolean;
|
|
58
56
|
/**
|
|
59
|
-
* A [collection](https://developers.arcgis.com/javascript/latest/
|
|
57
|
+
* A [collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of conversions
|
|
60
58
|
* that the component is currently displaying. Each row in the component displaying a coordinate is a conversion.
|
|
61
59
|
*
|
|
62
60
|
* @example
|
|
@@ -68,7 +66,7 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
68
66
|
*/
|
|
69
67
|
accessor conversions: Collection2<Conversion>;
|
|
70
68
|
/**
|
|
71
|
-
* Describes the location of the coordinates currently displayed by the component as a [Point](https://developers.arcgis.com/javascript/latest/
|
|
69
|
+
* Describes the location of the coordinates currently displayed by the component as a [Point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/).
|
|
72
70
|
* Setting this property will update all conversions.
|
|
73
71
|
*
|
|
74
72
|
* @example
|
|
@@ -91,7 +89,7 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
91
89
|
*/
|
|
92
90
|
accessor expanded: boolean;
|
|
93
91
|
/**
|
|
94
|
-
* A [collection](https://developers.arcgis.com/javascript/latest/
|
|
92
|
+
* A [collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) containing every coordinate format
|
|
95
93
|
* that the component is capable of displaying.
|
|
96
94
|
*
|
|
97
95
|
* The default formats are `basemap`, `dd`, `ddm`, `dms`, `mgrs`, `usng`, `utm`, and `xy`.
|
|
@@ -113,7 +111,7 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
113
111
|
*/
|
|
114
112
|
accessor formats: Collection2<Format>;
|
|
115
113
|
/**
|
|
116
|
-
* This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#goTo) methods.
|
|
114
|
+
* This function provides the ability to override either the [arcgis-map.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#goTo) or [arcgis-scene.goTo()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#goTo) methods.
|
|
117
115
|
*
|
|
118
116
|
* @since 4.33
|
|
119
117
|
* @example
|
|
@@ -206,7 +204,7 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
206
204
|
* This symbol is used to visualize the location currently described by the component when `capture` mode
|
|
207
205
|
* is active.
|
|
208
206
|
*
|
|
209
|
-
* This property should be set to a point symbol, typically a [Simple Marker Symbol](https://developers.arcgis.com/javascript/latest/
|
|
207
|
+
* This property should be set to a point symbol, typically a [Simple Marker Symbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/SimpleMarkerSymbol/).
|
|
210
208
|
*
|
|
211
209
|
* @example
|
|
212
210
|
* Set the location symbol to be an 'x'.
|
|
@@ -322,7 +320,7 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
322
320
|
*/
|
|
323
321
|
get state(): CoordinateConversionViewModelState;
|
|
324
322
|
/**
|
|
325
|
-
* If this property is set to `true`, sessionStorage or localStorage (depending on [storageType](https://developers.arcgis.com/javascript/latest/
|
|
323
|
+
* If this property is set to `true`, sessionStorage or localStorage (depending on [storageType](https://developers.arcgis.com/javascript/latest/references/core/widgets/CoordinateConversion/#storageType))
|
|
326
324
|
* will not be used to hydrate and persist the component's state.
|
|
327
325
|
*
|
|
328
326
|
* @default false
|
|
@@ -345,13 +343,13 @@ export abstract class ArcgisCoordinateConversion extends LitElement {
|
|
|
345
343
|
/** Permanently destroy the component. */
|
|
346
344
|
destroy(): Promise<void>;
|
|
347
345
|
/**
|
|
348
|
-
* Attempt to convert a string into a [point](https://developers.arcgis.com/javascript/latest/
|
|
349
|
-
* string must be specified. A [collection](https://developers.arcgis.com/javascript/latest/
|
|
346
|
+
* Attempt to convert a string into a [point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/). The format of the
|
|
347
|
+
* string must be specified. A [collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of available formats can be
|
|
350
348
|
* obtained from the [formats](#formats) property.
|
|
351
349
|
*
|
|
352
350
|
* @param coordinate - The coordinate string.
|
|
353
351
|
* @param format - Specifies the format of the input coordinate.
|
|
354
|
-
* @returns When resolved, returns a [point](https://developers.arcgis.com/javascript/latest/
|
|
352
|
+
* @returns When resolved, returns a [point](https://developers.arcgis.com/javascript/latest/references/core/geometry/Point/).
|
|
355
353
|
*/
|
|
356
354
|
reverseConvert(coordinate: string, format: Format): Promise<Point | null | undefined>;
|
|
357
355
|
/**
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type SceneView from "@arcgis/core/views/SceneView";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
-
import type { ArcgisReferenceElement } from "
|
|
5
|
-
import type {
|
|
6
|
-
import type { Season } from "./daylight-utils.js";
|
|
4
|
+
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
5
|
+
import type { Season } from "./types.js";
|
|
7
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
7
|
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* The Daylight component can be used to manipulate the lighting conditions of a
|
|
12
|
-
* [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/).
|
|
11
|
+
* [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
13
12
|
* To achieve this, the component modifies the `lighting` property of the
|
|
14
|
-
* [environment](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment) of the Scene component.
|
|
13
|
+
* [environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment) of the Scene component.
|
|
15
14
|
*
|
|
16
15
|
* To illuminate the scene, one can either use a configuration of date and time to position the
|
|
17
|
-
* [sun](https://developers.arcgis.com/javascript/latest/
|
|
18
|
-
* [virtual](https://developers.arcgis.com/javascript/latest/
|
|
16
|
+
* [sun](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/) or switch to the
|
|
17
|
+
* [virtual](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/VirtualLighting/) mode,
|
|
19
18
|
* where the light source is relative to the camera.
|
|
20
19
|
*
|
|
21
|
-
* When illuminating the scene with **[sunlight](https://developers.arcgis.com/javascript/latest/
|
|
20
|
+
* When illuminating the scene with **[sunlight](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/)**
|
|
22
21
|
* and adjusting the time and date, the positions of the sun and stars are updated accordingly. This also updates the
|
|
23
|
-
* [date](https://developers.arcgis.com/javascript/latest/
|
|
24
|
-
* [environment.lighting](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment).
|
|
22
|
+
* [date](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/#date) property of
|
|
23
|
+
* [environment.lighting](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment).
|
|
25
24
|
*
|
|
26
25
|
* [](https://developers.arcgis.com/javascript/latest/sample-code/daylight/)
|
|
27
26
|
*
|
|
@@ -47,26 +46,26 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
47
46
|
* 
|
|
48
47
|
*
|
|
49
48
|
* Whenever the sun position option is unchecked, the scene applies the
|
|
50
|
-
* **[virtual light](https://developers.arcgis.com/javascript/latest/
|
|
49
|
+
* **[virtual light](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/VirtualLighting/)** source relative to the camera.
|
|
51
50
|
* With this, the component's time slider, timezone, and date picker get automatically disabled:
|
|
52
51
|
*
|
|
53
52
|
* 
|
|
54
53
|
*
|
|
55
54
|
* **Things to consider**
|
|
56
55
|
*
|
|
57
|
-
* * Daylight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
56
|
+
* * Daylight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/) component.
|
|
58
57
|
* * The Daylight component uses UTC time and does not account for the daylight savings times in different countries and regions of the world.
|
|
59
|
-
* * When using the [virtual light](https://developers.arcgis.com/javascript/latest/
|
|
58
|
+
* * When using the [virtual light](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/VirtualLighting/),
|
|
60
59
|
* setting the time and date programmatically does not have an influence on the lighting conditions of the scene.
|
|
61
|
-
* * When using the [sunlight](https://developers.arcgis.com/javascript/latest/
|
|
60
|
+
* * When using the [sunlight](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/),
|
|
62
61
|
* the time slider and time zone automatically react to the changes of the camera (e.g., position, rotation, pan, zoom) because the position of the simulated sun
|
|
63
62
|
* is updated to maintain a consistent solar time of day based on the camera's current longitude. This can be adjusted using the
|
|
64
|
-
* [cameraTrackingEnabled](https://developers.arcgis.com/javascript/latest/
|
|
65
|
-
* property on [environment.lighting](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment).
|
|
63
|
+
* [cameraTrackingEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/#cameraTrackingEnabled)
|
|
64
|
+
* property on [environment.lighting](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment).
|
|
66
65
|
*
|
|
67
|
-
* @see [Environment](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#environment)
|
|
68
|
-
* @see [SunLighting](https://developers.arcgis.com/javascript/latest/
|
|
69
|
-
* @see [VirtualLighting](https://developers.arcgis.com/javascript/latest/
|
|
66
|
+
* @see [Environment](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/#environment)
|
|
67
|
+
* @see [SunLighting](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/SunLighting/)
|
|
68
|
+
* @see [VirtualLighting](https://developers.arcgis.com/javascript/latest/references/core/views/3d/environment/VirtualLighting/)
|
|
70
69
|
* @see [Sample - Daylight component](https://developers.arcgis.com/javascript/latest/sample-code/daylight/)
|
|
71
70
|
* @since 4.28
|
|
72
71
|
*/
|
|
@@ -75,7 +74,7 @@ export abstract class ArcgisDaylight extends LitElement {
|
|
|
75
74
|
* If true, the component will not be destroyed automatically when it is
|
|
76
75
|
* disconnected from the document. This is useful when you want to move the
|
|
77
76
|
* component to a different place on the page, or temporarily hide it. If this
|
|
78
|
-
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-daylight/#destroy) method when you are done to
|
|
77
|
+
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-daylight/#destroy) method when you are done to
|
|
79
78
|
* prevent memory leaks.
|
|
80
79
|
*
|
|
81
80
|
* @default false
|