@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
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { usePropertyChange as
|
|
6
|
-
import { classes as
|
|
7
|
-
import { u as
|
|
8
|
-
import { m as
|
|
9
|
-
import { b as
|
|
10
|
-
import { g } from "../../chunks/globalCss.js";
|
|
11
|
-
import { V as
|
|
12
|
-
import
|
|
13
|
-
import { getDefaultUnitForView as
|
|
14
|
-
import { property as
|
|
15
|
-
import { watch as
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
import { c as w } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as f, html as d } from "lit";
|
|
4
|
+
import { LitElement as v, createEvent as b, nothing as x, safeClassMap as y } from "@arcgis/lumina";
|
|
5
|
+
import { usePropertyChange as k } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { classes as M } from "@arcgis/toolkit/dom";
|
|
7
|
+
import { u as z } from "../../chunks/useT9n.js";
|
|
8
|
+
import { m as O } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { b as V } from "../../chunks/async-utils.js";
|
|
10
|
+
import { g as p } from "../../chunks/globalCss.js";
|
|
11
|
+
import { V as g } from "../../chunks/visible-element.js";
|
|
12
|
+
import U from "@arcgis/core/analysis/DistanceMeasurementAnalysis.js";
|
|
13
|
+
import { getDefaultUnitForView as D } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
14
|
+
import { property as s, subclass as $ } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
15
|
+
import { watch as u } from "@arcgis/core/core/reactiveUtils.js";
|
|
16
|
+
import h from "@arcgis/core/views/interactive/snapping/SnappingOptions.js";
|
|
17
|
+
import { A as S } from "../../chunks/AnalysisViewModel.js";
|
|
18
|
+
import { g as C, a as E, b as j, c as m } from "../../chunks/measurementUtils.js";
|
|
19
|
+
const A = f`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.esri-unit-select{width:100%}.esri-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}:host{display:block}.esri-measurement-widget-content{padding:var(--arcgis-internal-padding);flex-direction:column;gap:var(--calcite-spacing-xxl);display:flex;position:relative;overflow-y:auto}.esri-measurement-widget-content__error{color:var(--calcite-color-status-danger)}.esri-measurement-widget-content__error,.esri-measurement-widget-content__hint{overflow:hidden}.esri-measurement-widget-content__error p,.esri-measurement-widget-content__hint p{margin:0;padding:0}.esri-measurement-widget-content__hint,.esri-measurement-widget-content__error,.esri-measurement-widget-content__measurement,.esri-measurement-widget-content__measurement-item{flex-direction:column;gap:var(--calcite-spacing-md);animation:.25s ease-in-out esri-fade-in;display:flex}.esri-measurement-widget-content__measurement-item--disabled{color:var(--calcite-color-border-ghost)}.esri-measurement-widget-content__measurement-item__value{font-weight:var(--calcite-font-weight-semibold)}.esri-measurement-widget-content__actions{flex-direction:column;justify-content:center;gap:var(--calcite-spacing-xs);display:flex}:host{.esri-widget--panel{min-width:0}}`;
|
|
20
|
+
var L = Object.defineProperty, P = Object.getOwnPropertyDescriptor, n = (e, t, o, a) => {
|
|
21
|
+
for (var i = a > 1 ? void 0 : a ? P(t, o) : t, l = e.length - 1, c; l >= 0; l--)
|
|
22
|
+
(c = e[l]) && (i = (a ? c(t, o, i) : c(i)) || i);
|
|
23
|
+
return a && i && L(t, o, i), i;
|
|
23
24
|
};
|
|
24
|
-
let
|
|
25
|
+
let r = class extends S {
|
|
25
26
|
constructor() {
|
|
26
|
-
super(...arguments), this.supportedViewType = "2d", this.unsupportedErrorMessage = "The Distance Measurement 2D component is only supported in 2D views.", this.shouldForceInteractive = !1;
|
|
27
|
+
super(...arguments), this.snappingOptions = new h(), this.supportedViewType = "2d", this.unsupportedErrorMessage = "The Distance Measurement 2D component is only supported in 2D views.", this.shouldForceInteractive = !1;
|
|
27
28
|
}
|
|
28
29
|
initialize() {
|
|
29
|
-
this.addHandles(
|
|
30
|
-
|
|
30
|
+
this.addHandles([
|
|
31
|
+
u(
|
|
31
32
|
() => ({
|
|
32
33
|
analysis: this.analysis,
|
|
33
34
|
unit: this.unit
|
|
@@ -36,21 +37,35 @@ let i = class extends D {
|
|
|
36
37
|
e && (e.unit = t);
|
|
37
38
|
},
|
|
38
39
|
{ sync: !0, initial: !0 }
|
|
40
|
+
),
|
|
41
|
+
u(
|
|
42
|
+
() => ({
|
|
43
|
+
analysisView: this.analysisView,
|
|
44
|
+
snappingOptions: this.snappingOptions
|
|
45
|
+
}),
|
|
46
|
+
({ analysisView: e, snappingOptions: t }) => {
|
|
47
|
+
e && (e.snappingOptions = t);
|
|
48
|
+
},
|
|
49
|
+
{ sync: !0, initial: !0 }
|
|
39
50
|
)
|
|
40
|
-
);
|
|
51
|
+
]);
|
|
41
52
|
}
|
|
42
53
|
get state() {
|
|
43
|
-
|
|
54
|
+
const { analysis: e, disabled: t, operationState: o, ready: a, supported: i } = this, { valid: l } = e;
|
|
55
|
+
return C({ supported: i, disabled: t, ready: a, operationState: o, valid: l });
|
|
56
|
+
}
|
|
57
|
+
get displayState() {
|
|
58
|
+
return E(this.state, !!this.analysis.geometry);
|
|
44
59
|
}
|
|
45
60
|
get measurement() {
|
|
46
61
|
return {
|
|
47
62
|
mode: this.analysisView?.result?.mode ?? "euclidean",
|
|
48
|
-
length:
|
|
63
|
+
length: j(this.analysis.valid ? this.analysisView?.result?.length : void 0)
|
|
49
64
|
};
|
|
50
65
|
}
|
|
51
66
|
get unitOptions() {
|
|
52
|
-
const e = this._userUnitOptions?.filter((t) =>
|
|
53
|
-
return e && e.length > 0 ? e :
|
|
67
|
+
const e = this._userUnitOptions?.filter((t) => m.includes(t));
|
|
68
|
+
return e && e.length > 0 ? e : m.slice();
|
|
54
69
|
}
|
|
55
70
|
set unitOptions(e) {
|
|
56
71
|
this._userUnitOptions = e;
|
|
@@ -59,14 +74,14 @@ let i = class extends D {
|
|
|
59
74
|
const e = this._userUnit ?? this.analysis.unit, t = this.unitOptions;
|
|
60
75
|
if (e && t.includes(e))
|
|
61
76
|
return e;
|
|
62
|
-
const
|
|
63
|
-
return
|
|
77
|
+
const o = this._defaultUnit;
|
|
78
|
+
return o && t.includes(o) ? o : t[0];
|
|
64
79
|
}
|
|
65
80
|
set unit(e) {
|
|
66
81
|
this._userUnit = e;
|
|
67
82
|
}
|
|
68
83
|
get _defaultUnit() {
|
|
69
|
-
return this.view ?
|
|
84
|
+
return this.view ? D(this.view) : void 0;
|
|
70
85
|
}
|
|
71
86
|
async place(e) {
|
|
72
87
|
this.analysisView && (await this.analysisView.place(e), this.analysisView.interactive = !0);
|
|
@@ -75,43 +90,49 @@ let i = class extends D {
|
|
|
75
90
|
this.analysis.geometry = null;
|
|
76
91
|
}
|
|
77
92
|
constructAnalysis() {
|
|
78
|
-
return new
|
|
93
|
+
return new U();
|
|
79
94
|
}
|
|
80
95
|
};
|
|
81
96
|
n([
|
|
82
|
-
|
|
83
|
-
],
|
|
97
|
+
s({ readOnly: !0 })
|
|
98
|
+
], r.prototype, "state", 1);
|
|
99
|
+
n([
|
|
100
|
+
s({ readOnly: !0 })
|
|
101
|
+
], r.prototype, "displayState", 1);
|
|
102
|
+
n([
|
|
103
|
+
s()
|
|
104
|
+
], r.prototype, "measurement", 1);
|
|
84
105
|
n([
|
|
85
|
-
|
|
86
|
-
],
|
|
106
|
+
s({ type: h })
|
|
107
|
+
], r.prototype, "snappingOptions", 2);
|
|
87
108
|
n([
|
|
88
|
-
|
|
89
|
-
],
|
|
109
|
+
s()
|
|
110
|
+
], r.prototype, "unitOptions", 1);
|
|
90
111
|
n([
|
|
91
|
-
|
|
92
|
-
],
|
|
112
|
+
s()
|
|
113
|
+
], r.prototype, "_userUnitOptions", 2);
|
|
93
114
|
n([
|
|
94
|
-
|
|
95
|
-
],
|
|
115
|
+
s()
|
|
116
|
+
], r.prototype, "unit", 1);
|
|
96
117
|
n([
|
|
97
|
-
|
|
98
|
-
],
|
|
118
|
+
s()
|
|
119
|
+
], r.prototype, "_userUnit", 2);
|
|
99
120
|
n([
|
|
100
|
-
|
|
101
|
-
],
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
],
|
|
105
|
-
const
|
|
106
|
-
class
|
|
121
|
+
s()
|
|
122
|
+
], r.prototype, "_defaultUnit", 1);
|
|
123
|
+
r = n([
|
|
124
|
+
$("components.distance-measurement-2d.DistanceMeasurement2dViewModel")
|
|
125
|
+
], r);
|
|
126
|
+
const B = O(r);
|
|
127
|
+
class T extends v {
|
|
107
128
|
constructor() {
|
|
108
|
-
super(...arguments), this.viewModel =
|
|
129
|
+
super(...arguments), this.viewModel = B(this), this.messages = z({ name: "distance-measurement-2d", blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.hideStartButton = !1, this.hideUnitSelect = !1, this.hideVisualization = this.viewModel.hideVisualization, this.icon = "measure-line", this.snappingOptions = this.viewModel.snappingOptions, this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = k()("analysis", "state"), this.arcgisReady = b();
|
|
109
130
|
}
|
|
110
131
|
static {
|
|
111
|
-
this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, hideStartButton: 5, hideUnitSelect: 5, hideVisualization: 5, icon: 3, label: 1, referenceElement: 1, state: 32, unit: 1, unitOptions: 0 };
|
|
132
|
+
this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, hideStartButton: 5, hideUnitSelect: 5, hideVisualization: 5, icon: 3, label: 1, referenceElement: 1, snappingOptions: 0, state: 32, unit: 1, unitOptions: 0 };
|
|
112
133
|
}
|
|
113
134
|
static {
|
|
114
|
-
this.styles =
|
|
135
|
+
this.styles = A;
|
|
115
136
|
}
|
|
116
137
|
async clear() {
|
|
117
138
|
this.viewModel.clear();
|
|
@@ -120,21 +141,21 @@ class L extends w {
|
|
|
120
141
|
await this.manager.destroy();
|
|
121
142
|
}
|
|
122
143
|
async start() {
|
|
123
|
-
|
|
144
|
+
V(this.viewModel.start());
|
|
124
145
|
}
|
|
125
146
|
render() {
|
|
126
|
-
const { messages: t, unit:
|
|
127
|
-
return d`<div aria-label=${t.componentLabel ??
|
|
147
|
+
const { messages: t, unit: o, unitOptions: a, viewModel: i } = this, { measurement: l, state: c } = i;
|
|
148
|
+
return d`<div aria-label=${t.componentLabel ?? x} class=${y(M("root", p.widget, p.panel))} role=presentation><arcgis-measurement-content .state=${i.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[
|
|
128
149
|
{
|
|
129
150
|
title: t.distance,
|
|
130
|
-
measurement:
|
|
151
|
+
measurement: l.length
|
|
131
152
|
}
|
|
132
|
-
]}>${
|
|
133
|
-
this.unit =
|
|
134
|
-
}}></arcgis-unit-select>` })}${
|
|
153
|
+
]}>${g({ hidden: this.hideUnitSelect, children: d`<arcgis-unit-select slot=settings .options=${a} .selectLabel=${t.unit} .value=${o} @arcgisUnitSelectChange=${(_) => {
|
|
154
|
+
this.unit = _.detail;
|
|
155
|
+
}}></arcgis-unit-select>` })}${g({ hidden: this.hideStartButton, children: d`<calcite-button slot=actions .disabled=${c === "unsupported" || c === "disabled"} @click=${this.start}>${t.newMeasurement}</calcite-button>` })}</arcgis-measurement-content></div>`;
|
|
135
156
|
}
|
|
136
157
|
}
|
|
137
|
-
|
|
158
|
+
w("arcgis-distance-measurement-2d", T);
|
|
138
159
|
export {
|
|
139
|
-
|
|
160
|
+
T as ArcgisDistanceMeasurement2d
|
|
140
161
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type DistanceMeasurement2DState = "disabled" | "measured" | "measuring" | "ready" | "unsupported";
|
|
@@ -7,8 +7,7 @@ import type SnappingOptions from "@arcgis/core/views/interactive/snapping/Snappi
|
|
|
7
7
|
import type SketchTooltipOptions from "@arcgis/core/views/interactive/sketch/SketchTooltipOptions.js";
|
|
8
8
|
import type { CreateFeaturesCreationInfo } from "@arcgis/core/widgets/Editor.js";
|
|
9
9
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
10
|
-
import type { ArcgisReferenceElement } from "
|
|
11
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
10
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
12
11
|
import type { EditorSketchUpdateEvent, EditorSketchCreateEvent } from "@arcgis/core/widgets/Editor/types";
|
|
13
12
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
14
13
|
import type { HeadingLevel } from "@arcgis/core/widgets/support/types.js";
|
|
@@ -23,14 +22,14 @@ import type { LayerInfo, State, SupportingWidgetDefaults } from "@arcgis/core/wi
|
|
|
23
22
|
export abstract class ArcgisEditor extends LitElement {
|
|
24
23
|
/**
|
|
25
24
|
* A property indicating the current active workflow. This is either
|
|
26
|
-
* [CreateFeaturesWorkflow](https://developers.arcgis.com/javascript/latest/
|
|
25
|
+
* [CreateFeaturesWorkflow](https://developers.arcgis.com/javascript/latest/references/core/widgets/Editor/CreateFeaturesWorkflow/) or [UpdateWorkflow](https://developers.arcgis.com/javascript/latest/references/core/widgets/Editor/UpdateWorkflow/).
|
|
27
26
|
*/
|
|
28
27
|
get activeWorkflow(): CreateFeaturesWorkflow | UpdateWorkflow | null | undefined;
|
|
29
28
|
/**
|
|
30
29
|
* If true, the component will not be destroyed automatically when it is
|
|
31
30
|
* disconnected from the document. This is useful when you want to move the
|
|
32
31
|
* component to a different place on the page, or temporarily hide it. If this
|
|
33
|
-
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-editor/#destroy) method when you are done to
|
|
32
|
+
* is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-editor/#destroy) method when you are done to
|
|
34
33
|
* prevent memory leaks.
|
|
35
34
|
*
|
|
36
35
|
* @default false
|
|
@@ -94,7 +93,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
94
93
|
accessor hideSketch: boolean;
|
|
95
94
|
/**
|
|
96
95
|
* Indicates whether to hide the `enabledToggle` (Enable snapping). This toggles
|
|
97
|
-
* the [SnappingOptions#enabled](https://developers.arcgis.com/javascript/latest/
|
|
96
|
+
* the [SnappingOptions#enabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#enabled) property.
|
|
98
97
|
* > [!WARNING]
|
|
99
98
|
* >
|
|
100
99
|
* > **Note**
|
|
@@ -108,14 +107,14 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
108
107
|
accessor hideSnappingControlsElementsEnabledToggle: boolean;
|
|
109
108
|
/**
|
|
110
109
|
* Indicates whether to hide the `featureEnabledToggle` (Feature to feature). This toggles
|
|
111
|
-
* the [SnappingOptions#featureEnabled](https://developers.arcgis.com/javascript/latest/
|
|
110
|
+
* the [SnappingOptions#featureEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#featureEnabled) property.
|
|
112
111
|
*
|
|
113
112
|
* @default false
|
|
114
113
|
* @since 5.0
|
|
115
114
|
*/
|
|
116
115
|
accessor hideSnappingControlsElementsFeatureEnabledToggle: boolean;
|
|
117
116
|
/**
|
|
118
|
-
* Indicates whether to hide the [FeatureSnappingLayerSource](https://developers.arcgis.com/javascript/latest/
|
|
117
|
+
* Indicates whether to hide the [FeatureSnappingLayerSource](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/FeatureSnappingLayerSource/) layerList. The layerlist provides the available layer sources supported for snapping.
|
|
119
118
|
*
|
|
120
119
|
* @default false
|
|
121
120
|
* @since 5.0
|
|
@@ -123,7 +122,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
123
122
|
accessor hideSnappingControlsElementsLayerList: boolean;
|
|
124
123
|
/**
|
|
125
124
|
* Indicates whether to hide the `selfEnabledToggle` (Geometry guides). This toggles
|
|
126
|
-
* the [SnappingOptions#selfEnabled](https://developers.arcgis.com/javascript/latest/
|
|
125
|
+
* the [SnappingOptions#selfEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/#selfEnabled) property.
|
|
127
126
|
*
|
|
128
127
|
* @default false
|
|
129
128
|
* @since 5.0
|
|
@@ -180,20 +179,20 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
180
179
|
* >
|
|
181
180
|
* > **Known Limitation**
|
|
182
181
|
* >
|
|
183
|
-
* > Sketch labels are currently only supported when working with a [SceneView](https://developers.arcgis.com/javascript/latest/
|
|
182
|
+
* > Sketch labels are currently only supported when working with a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/).
|
|
184
183
|
*
|
|
185
184
|
* @since 4.24
|
|
186
185
|
*/
|
|
187
186
|
accessor labelOptions: SketchLabelOptions;
|
|
188
187
|
/**
|
|
189
|
-
* An array of editing configurations for individual layers. It is possible to iterate through the map's [Map#editableLayers](https://developers.arcgis.com/javascript/latest/
|
|
188
|
+
* An array of editing configurations for individual layers. It is possible to iterate through the map's [Map#editableLayers](https://developers.arcgis.com/javascript/latest/references/core/Map/#editableLayers) and configure these individual layers as needed.
|
|
190
189
|
*
|
|
191
190
|
* If you have an editable feature layer but do not want
|
|
192
191
|
* the end user to do any type of editing, you can limit this by
|
|
193
192
|
* setting the `enabled` property to `false`.
|
|
194
193
|
*
|
|
195
194
|
* @see [Sample - Editor widget with configurations](https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-configurable/)
|
|
196
|
-
* @see [Map#editableLayers](https://developers.arcgis.com/javascript/latest/
|
|
195
|
+
* @see [Map#editableLayers](https://developers.arcgis.com/javascript/latest/references/core/Map/#editableLayers)
|
|
197
196
|
* @example
|
|
198
197
|
* const editor = new Editor({
|
|
199
198
|
* view: view,
|
|
@@ -234,7 +233,7 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
234
233
|
*/
|
|
235
234
|
accessor showSnappingControlsElementsHeader: boolean;
|
|
236
235
|
/**
|
|
237
|
-
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/
|
|
236
|
+
* The [SnappingOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/SnappingOptions/) for editing. Supports self snapping and feature snapping. Starting with version 4.23, the [SnappingControls](https://developers.arcgis.com/javascript/latest/references/core/widgets/support/SnappingControls/) UI is automatically integrated into the Editor component.
|
|
238
237
|
* Modify the `snappingOptions` if modifications are needed from what is provided in the default UI.
|
|
239
238
|
*
|
|
240
239
|
* @since 4.19
|
|
@@ -259,13 +258,13 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
259
258
|
get state(): State;
|
|
260
259
|
/**
|
|
261
260
|
* This property allows customization of supporting Editor components and their default behavior.
|
|
262
|
-
* These components include [FeatureForm](https://developers.arcgis.com/javascript/latest/
|
|
263
|
-
* [SketchViewModel](https://developers.arcgis.com/javascript/latest/
|
|
261
|
+
* These components include [FeatureForm](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureForm/), [FeatureTemplates](https://developers.arcgis.com/javascript/latest/references/core/widgets/FeatureTemplates/), and the
|
|
262
|
+
* [SketchViewModel](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/SketchViewModel/).
|
|
264
263
|
*
|
|
265
264
|
* > [!WARNING]
|
|
266
265
|
* >
|
|
267
266
|
* > This property is useful for basic overrides of the default components. There may be some limitations
|
|
268
|
-
* > to what the Editor can do with these overridden properties. For example, the Editor will disable the `multipleSelectionEnabled` property in [Sketch#defaultUpdateOptions](https://developers.arcgis.com/javascript/latest/
|
|
267
|
+
* > to what the Editor can do with these overridden properties. For example, the Editor will disable the `multipleSelectionEnabled` property in [Sketch#defaultUpdateOptions](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/#defaultUpdateOptions)
|
|
269
268
|
* > no matter what is set within this property.
|
|
270
269
|
*
|
|
271
270
|
* @see [Sample - Editor component with configurations](https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-configurable/)
|
|
@@ -273,14 +272,14 @@ export abstract class ArcgisEditor extends LitElement {
|
|
|
273
272
|
*/
|
|
274
273
|
accessor supportingWidgetDefaults: SupportingWidgetDefaults | null | undefined;
|
|
275
274
|
/**
|
|
276
|
-
* Controls whether the
|
|
275
|
+
* Controls whether the editor should sync with the view's selection manager.
|
|
277
276
|
* This does not include selection sources, which must be configured independently
|
|
278
277
|
* on the view's selection manager.
|
|
279
278
|
*
|
|
280
279
|
* @default false
|
|
281
280
|
* @since 5.0
|
|
282
281
|
*/
|
|
283
|
-
accessor
|
|
282
|
+
accessor syncViewSelection: boolean;
|
|
284
283
|
/**
|
|
285
284
|
* Options to configure the tooltip shown next to the cursor when creating or updating graphics.
|
|
286
285
|
*
|