@arcgis/map-components 5.0.0-next.5 → 5.0.0-next.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/2A4SEVJG.js +4 -0
- package/dist/cdn/2CI2JVXM.js +4 -0
- package/dist/cdn/{HQRMKPHR.js → 2CVZ2YS3.js} +2 -2
- package/dist/cdn/2DHVLOQX.js +4 -0
- package/dist/cdn/{WQTDRNT3.js → 2EBDNME3.js} +2 -2
- package/dist/cdn/{R47O2BDP.js → 2Z2GJUMJ.js} +2 -2
- package/dist/cdn/35ZHTZPD.js +4 -0
- package/dist/cdn/{NCDGWPV7.js → 3H5BKKF3.js} +2 -2
- package/dist/cdn/{Q3ICPLQZ.js → 3HGM3E72.js} +2 -2
- package/dist/cdn/{A7EK4YU5.js → 3ZTD4JZM.js} +2 -2
- package/dist/cdn/{466INVOH.js → 4AE2RTKS.js} +2 -2
- package/dist/cdn/4AS3NCC4.js +4 -0
- package/dist/cdn/4QZUEJZI.js +4 -0
- package/dist/cdn/4WFXRSW7.js +4 -0
- package/dist/cdn/4WYNI7YQ.js +4 -0
- package/dist/cdn/52MZN2RS.js +4 -0
- package/dist/cdn/5CPRS3LY.js +4 -0
- package/dist/cdn/5DGOTXYU.js +4 -0
- package/dist/cdn/{A7BICR4O.js → 5MTHKOSB.js} +2 -2
- package/dist/cdn/{7BBQPJCM.js → 62ZUZK26.js} +2 -2
- package/dist/cdn/66NKMAE4.js +4 -0
- package/dist/cdn/67KU6XJB.js +4 -0
- package/dist/cdn/6CINJHPJ.js +4 -0
- package/dist/cdn/6FXGCM6T.js +4 -0
- package/dist/cdn/6MG4CYOG.js +4 -0
- package/dist/cdn/6MG7OECA.js +4 -0
- package/dist/cdn/6VKOZSDZ.js +4 -0
- package/dist/cdn/{H3LWJIDF.js → 7DUYWT4W.js} +2 -2
- package/dist/cdn/{ADXVD42H.js → 7DVEKPBS.js} +2 -2
- package/dist/cdn/7QU53Q5V.js +4 -0
- package/dist/cdn/{I6QIB7JC.js → 7XNYFBIU.js} +2 -2
- package/dist/cdn/A42OPO6X.js +4 -0
- package/dist/cdn/A7G6ZHDG.js +4 -0
- package/dist/cdn/ACNEKHXU.js +4 -0
- package/dist/cdn/ACZAASBK.js +4 -0
- package/dist/cdn/AEVFEMEI.js +4 -0
- package/dist/cdn/AEYPA5NF.js +4 -0
- package/dist/cdn/AI6VOYQU.js +4 -0
- package/dist/cdn/AJIFAD5F.js +4 -0
- package/dist/cdn/{4J7UXW4V.js → AMG3XOBO.js} +1 -1
- package/dist/cdn/AMLE4TAU.js +4 -0
- package/dist/cdn/{PD2HATHB.js → ARSB37D3.js} +2 -2
- package/dist/cdn/{UL7MLQKU.js → AV3V6HQN.js} +2 -2
- package/dist/cdn/{L5R3WRXO.js → AV5VP7UV.js} +2 -2
- package/dist/cdn/{OR5HVPGI.js → B5WB6DIQ.js} +2 -2
- package/dist/cdn/B765UYFL.js +4 -0
- package/dist/cdn/BKT6PWPY.js +4 -0
- package/dist/cdn/BMMEJHBQ.js +4 -0
- package/dist/cdn/BSTYY5OB.js +4 -0
- package/dist/cdn/BTPQCIV2.js +4 -0
- package/dist/cdn/{WK5SF3NM.js → BVHVYGZV.js} +2 -2
- package/dist/cdn/BVKFDQLW.js +4 -0
- package/dist/cdn/BVUOAIEM.js +4 -0
- package/dist/cdn/CALMYY2I.js +4 -0
- package/dist/cdn/CAXXINYP.js +4 -0
- package/dist/cdn/{IURKMZB2.js → CK56VVLR.js} +2 -2
- package/dist/cdn/{RQIUPQN4.js → CKJKU62H.js} +2 -2
- package/dist/cdn/{ZG5YI3R5.js → COWYRP3A.js} +2 -2
- package/dist/cdn/CQECKIZO.js +4 -0
- package/dist/cdn/CQG2AX3D.js +4 -0
- package/dist/cdn/CUXMLQWE.js +4 -0
- package/dist/cdn/{34OUIPI6.js → D3HOILWL.js} +2 -2
- package/dist/cdn/D6Y5ZSNP.js +4 -0
- package/dist/cdn/{B3BDZMK4.js → DFVDWE2V.js} +2 -2
- package/dist/cdn/{Q6JTY2DJ.js → DIZEKFMU.js} +1 -1
- package/dist/cdn/{5AFYPDDT.js → DJTPN52Y.js} +2 -2
- package/dist/cdn/DK5377N6.js +4 -0
- package/dist/cdn/{JY63CMAB.js → DKFWT5ZL.js} +2 -2
- package/dist/cdn/DOLVQQSC.js +4 -0
- package/dist/cdn/{YA5LAKIG.js → DPI2NKBN.js} +2 -2
- package/dist/cdn/{AN73DPMU.js → DRPDE5JS.js} +1 -1
- package/dist/cdn/{RYP3YAQU.js → DW45AITN.js} +2 -2
- package/dist/cdn/DXSWOERM.js +4 -0
- package/dist/cdn/EAPDAKO2.js +4 -0
- package/dist/cdn/EHCDUHOT.js +4 -0
- package/dist/cdn/{REQDDBVN.js → EP5JAAC4.js} +1 -1
- package/dist/cdn/EQDGRLXT.js +4 -0
- package/dist/cdn/EWS4R3LC.js +4 -0
- package/dist/cdn/EWSWQGQR.js +4 -0
- package/dist/cdn/EXHY4COS.js +4 -0
- package/dist/cdn/{AFQCY6M5.js → FAO3IOW4.js} +2 -2
- package/dist/cdn/FBKXANOD.js +4 -0
- package/dist/cdn/{O7W3JZFF.js → FP4Q2SH6.js} +2 -2
- package/dist/cdn/{ZXFC3OPO.js → FPQ2ZB4W.js} +2 -2
- package/dist/cdn/FSPLUUNU.js +4 -0
- package/dist/cdn/FWOR3MKO.js +4 -0
- package/dist/cdn/FXJYJAR4.js +4 -0
- package/dist/cdn/G24LC5BN.js +4 -0
- package/dist/cdn/{J6KG2Z45.js → G46LKFWJ.js} +2 -2
- package/dist/cdn/GAOHEWXQ.js +4 -0
- package/dist/cdn/{5PSO47CO.js → GBRG4IFK.js} +2 -2
- package/dist/cdn/{6DTQPNPV.js → GEGUIJOE.js} +2 -2
- package/dist/cdn/{6P4FNYFK.js → GERYKKDP.js} +2 -2
- package/dist/cdn/{EBH3NORE.js → GI6VVAUS.js} +2 -2
- package/dist/cdn/{ZXUX6MFW.js → GIBNBOPC.js} +2 -2
- package/dist/cdn/GT4BV5HJ.js +4 -0
- package/dist/cdn/{E734O7ZN.js → GUUVPCLL.js} +2 -2
- package/dist/cdn/{C3PGIIHL.js → H5APOVQQ.js} +2 -2
- package/dist/cdn/{4TPCMFWZ.js → HES6CQGK.js} +2 -2
- package/dist/cdn/HFFHANM5.js +4 -0
- package/dist/cdn/{XSRIC2UT.js → HH76TPFY.js} +2 -2
- package/dist/cdn/{PIH3NRT7.js → HX46HUFF.js} +2 -2
- package/dist/cdn/{LHZIRPAB.js → I6IBW3PI.js} +2 -2
- package/dist/cdn/{BXK33PBZ.js → IBAN5OWW.js} +1 -1
- package/dist/cdn/IMHMQMVU.js +4 -0
- package/dist/cdn/IW4PFMZR.js +4 -0
- package/dist/cdn/J2QSPH5O.js +4 -0
- package/dist/cdn/{FON2DRNE.js → J465VKJ2.js} +2 -2
- package/dist/cdn/{LUIM6R3C.js → J5ALR3M5.js} +2 -2
- package/dist/cdn/{GRCPMP5I.js → J5ZWYR2I.js} +2 -2
- package/dist/cdn/{6TR3C4W7.js → J64VWYRI.js} +2 -2
- package/dist/cdn/{VSZ6MWHR.js → JFQRZB5K.js} +2 -2
- package/dist/cdn/JI7LNRBU.js +4 -0
- package/dist/cdn/JKGFIUSQ.js +4 -0
- package/dist/cdn/JNSXYSEM.js +4 -0
- package/dist/cdn/{FENOD7H6.js → JQ34I4Q6.js} +2 -2
- package/dist/cdn/JVNIXKCZ.js +4 -0
- package/dist/cdn/{X2P2BANB.js → JWQ4VCC2.js} +2 -2
- package/dist/cdn/KMXCLMT7.js +4 -0
- package/dist/cdn/{B3TRMHSU.js → L37V46LW.js} +2 -2
- package/dist/cdn/L7DQ3GY5.js +4 -0
- package/dist/cdn/{WVWW5FTO.js → LBSAQDQ4.js} +2 -2
- package/dist/cdn/LDEYL6WL.js +4 -0
- package/dist/cdn/LN7X7TPF.js +4 -0
- package/dist/cdn/LODOZEHD.js +4 -0
- package/dist/cdn/LQCH23JZ.js +4 -0
- package/dist/cdn/LT7ASUQG.js +4 -0
- package/dist/cdn/{TRGKRUEY.js → LYOZJAZO.js} +2 -2
- package/dist/cdn/{IN4RK6U7.js → LYWUI6SE.js} +2 -2
- package/dist/cdn/LZ4V4NSB.js +4 -0
- package/dist/cdn/{Y5ECN5RN.js → M3TZJMCZ.js} +2 -2
- package/dist/cdn/MEWWJMYB.js +4 -0
- package/dist/cdn/MIULWZSQ.js +4 -0
- package/dist/cdn/MM5NKI3H.js +4 -0
- package/dist/cdn/MPWUMW4B.js +4 -0
- package/dist/cdn/MSZJ3767.js +4 -0
- package/dist/cdn/MUBNABDT.js +5 -0
- package/dist/cdn/{LUGLNVKJ.js → N3Z7T6N3.js} +2 -2
- package/dist/cdn/{AEQ2EA5V.js → NCKRVQKA.js} +2 -2
- package/dist/cdn/NNP3H5C4.js +4 -0
- package/dist/cdn/{VFF44TJ6.js → NPCC6UAS.js} +2 -2
- package/dist/cdn/NROGMGLZ.js +4 -0
- package/dist/cdn/{3BKVP63O.js → NUH3NFTE.js} +2 -2
- package/dist/cdn/NX2NBSOC.js +4 -0
- package/dist/cdn/NXMJJ3F6.js +4 -0
- package/dist/cdn/OHQCHOHD.js +4 -0
- package/dist/cdn/OM6Z4WFO.js +9 -0
- package/dist/cdn/{WAQVWOOL.js → ONSE6PNO.js} +2 -2
- package/dist/cdn/{VX7UD4NL.js → OQMBKALI.js} +1 -1
- package/dist/cdn/{4LHPWTSQ.js → OSGO7MK5.js} +2 -2
- package/dist/cdn/OZLCRQM6.js +4 -0
- package/dist/cdn/{66XP7ISP.js → PAKPV66E.js} +2 -2
- package/dist/cdn/PCR6Z2O5.js +4 -0
- package/dist/cdn/{HBH2NXCY.js → PEFD6NCJ.js} +2 -2
- package/dist/cdn/PFAA4L2X.js +4 -0
- package/dist/cdn/PLL4XWNN.js +4 -0
- package/dist/cdn/PO7CRWYJ.js +4 -0
- package/dist/cdn/POHWJNYF.js +4 -0
- package/dist/cdn/{PQFM7YFO.js → Q2EQSZBN.js} +2 -2
- package/dist/cdn/Q34RBA4M.js +4 -0
- package/dist/cdn/Q54RWROQ.js +4 -0
- package/dist/cdn/Q7X3ULRJ.js +4 -0
- package/dist/cdn/QF57YWVQ.js +4 -0
- package/dist/cdn/{C63TPNGG.js → QQ7H3AMS.js} +2 -2
- package/dist/cdn/QR2E7VBB.js +4 -0
- package/dist/cdn/QT7KMOWO.js +4 -0
- package/dist/cdn/{M57KTCMF.js → QXTIJKNU.js} +2 -2
- package/dist/cdn/{5RONE6G5.js → R7NM5AH7.js} +2 -2
- package/dist/cdn/{FRWCQ2AN.js → RALZE7OT.js} +1 -1
- package/dist/cdn/RL7XXO3R.js +4 -0
- package/dist/cdn/{LPV53QOR.js → RQKSDYLX.js} +2 -2
- package/dist/cdn/{PHS7UW45.js → RVUL6XZ4.js} +2 -2
- package/dist/cdn/S7EC4U4R.js +4 -0
- package/dist/cdn/S7PFLWKP.js +4 -0
- package/dist/cdn/S7WCHV76.js +4 -0
- package/dist/cdn/{GIBKNUFW.js → SA6R7VMZ.js} +2 -2
- package/dist/cdn/{U3KXM6JN.js → SITBBEV5.js} +1 -1
- package/dist/cdn/{F26G26OG.js → SLS2ETGS.js} +2 -2
- package/dist/cdn/{TUU22AO6.js → SXNF4BPM.js} +2 -2
- package/dist/cdn/{A2W2SQO4.js → SZY2OBWT.js} +2 -2
- package/dist/cdn/T35ZPHIA.js +4 -0
- package/dist/cdn/{UTKHOHKS.js → T7I7Z47V.js} +2 -2
- package/dist/cdn/THJVAUUE.js +4 -0
- package/dist/cdn/TILK5KSH.js +4 -0
- package/dist/cdn/{ZQLSVPWL.js → TMGRWN3Z.js} +2 -2
- package/dist/cdn/TOTISPWX.js +4 -0
- package/dist/cdn/TSWX7XZ7.js +4 -0
- package/dist/cdn/U74DVE5Q.js +4 -0
- package/dist/cdn/UEJFTVBJ.js +4 -0
- package/dist/cdn/UGAXLJ4Q.js +4 -0
- package/dist/cdn/{C7DCQBPT.js → UNKPTBTQ.js} +2 -2
- package/dist/cdn/UQTKVA6B.js +4 -0
- package/dist/cdn/UT7GS2ZR.js +4 -0
- package/dist/cdn/UUM2LN5Q.js +4 -0
- package/dist/cdn/UWDWRFQH.js +4 -0
- package/dist/cdn/{V27L2ZBV.js → UY4Q23MA.js} +2 -2
- package/dist/cdn/{AWI3K6XR.js → V46INBRT.js} +2 -2
- package/dist/cdn/{HNRGCE2E.js → V4ALNFKD.js} +2 -2
- package/dist/cdn/VECYOE7G.js +4 -0
- package/dist/cdn/{UNORCWD2.js → VGTZRMKO.js} +2 -2
- package/dist/cdn/VN5OVKU2.js +4 -0
- package/dist/cdn/VWVSXCUG.js +4 -0
- package/dist/cdn/{QQ7NXCBU.js → W2X2UUYX.js} +2 -2
- package/dist/cdn/{UEGRTPH3.js → WAH4QSJ6.js} +2 -2
- package/dist/cdn/WIBRL54B.js +4 -0
- package/dist/cdn/WWICGHWH.js +4 -0
- package/dist/cdn/WZ56H5KX.js +4 -0
- package/dist/cdn/X3KBCDFH.js +4 -0
- package/dist/cdn/XBQKZOT5.js +4 -0
- package/dist/cdn/XCWYRGWI.js +4 -0
- package/dist/cdn/XECVPW7O.js +4 -0
- package/dist/cdn/XHTCFRBS.js +4 -0
- package/dist/cdn/XKHAY4LG.js +4 -0
- package/dist/cdn/{I52NZLXX.js → XKPLNXY7.js} +2 -2
- package/dist/cdn/XOSF4MXX.js +4 -0
- package/dist/cdn/XRNFCVLN.js +4 -0
- package/dist/cdn/{QJQTAHNS.js → XW2RZWSX.js} +2 -2
- package/dist/cdn/{3LTZOKPZ.js → YPJOQCIN.js} +1 -1
- package/dist/cdn/YQHZZR3B.js +4 -0
- package/dist/cdn/YXKMVGLH.js +4 -0
- package/dist/cdn/YZ5T2AKC.js +4 -0
- package/dist/cdn/{UODLYZYS.js → YZ7AVRNL.js} +2 -2
- package/dist/cdn/{DK6N3VRZ.js → Z3XMBYNJ.js} +2 -2
- package/dist/cdn/ZI6IATLS.js +4 -0
- package/dist/cdn/ZNXQQ435.js +4 -0
- package/dist/cdn/{B4YSX2BI.js → ZPZBN5F2.js} +1 -1
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/color-select/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +42 -38
- package/dist/chunks/action-utils.js +2 -2
- package/dist/chunks/async-utils.js +79 -61
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +24 -10
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +5 -5
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +91 -0
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/visible-element.js +9 -0
- package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +40 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +71 -55
- package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
- package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +10 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.js +31 -32
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -6
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +17 -7
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-color-select/customElement.d.ts +25 -0
- package/dist/components/arcgis-color-select/customElement.js +59 -0
- package/dist/components/arcgis-color-select/index.d.ts +5 -0
- package/dist/components/arcgis-color-select/index.js +5 -0
- package/dist/components/arcgis-compass/customElement.d.ts +4 -4
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +55 -56
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +119 -56
- package/dist/components/arcgis-daylight/customElement.js +158 -160
- package/dist/components/arcgis-daylight/index.d.ts +1 -0
- package/dist/components/arcgis-daylight/index.js +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +11 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +43 -51
- package/dist/components/arcgis-directional-pad/customElement.d.ts +3 -3
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +39 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +70 -51
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
- package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-editor/customElement.d.ts +29 -7
- package/dist/components/arcgis-editor/customElement.js +4 -4
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +30 -19
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +192 -79
- package/dist/components/arcgis-elevation-profile/customElement.js +576 -16
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
- package/dist/components/arcgis-elevation-profile/index.js +5 -0
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +2 -11
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +48 -0
- package/dist/components/arcgis-expand/customElement.d.ts +13 -12
- package/dist/components/arcgis-expand/customElement.js +152 -45
- package/dist/components/arcgis-feature/customElement.d.ts +20 -24
- package/dist/components/arcgis-feature/customElement.js +90 -77
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-fields/customElement.js +36 -32
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-media/customElement.js +179 -178
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -10
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/{arcgis-print-exported-link → arcgis-feature-utility-network-associations}/index.d.ts +4 -3
- package/dist/components/{arcgis-print-exported-link → arcgis-feature-utility-network-associations}/index.js +4 -3
- package/dist/components/arcgis-features/customElement.d.ts +29 -14
- package/dist/components/arcgis-features/customElement.js +8 -8
- package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -4
- package/dist/components/arcgis-floor-filter/customElement.js +7 -7
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +4 -4
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +4 -4
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +19 -4
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +73 -8
- package/dist/components/arcgis-link-chart/customElement.js +22 -27
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -4
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +3 -3
- package/dist/components/arcgis-map/customElement.d.ts +479 -64
- package/dist/components/arcgis-map/customElement.js +28 -33
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -4
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
- package/dist/components/arcgis-measurement-content/customElement.js +25 -34
- package/dist/components/arcgis-measurement-content/index.d.ts +1 -0
- package/dist/components/arcgis-measurement-content/index.js +1 -0
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +14 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +43 -10
- package/dist/components/arcgis-popup/customElement.js +8 -5
- package/dist/components/arcgis-print/customElement.d.ts +22 -6
- package/dist/components/arcgis-print/customElement.js +22 -19
- package/dist/components/arcgis-print/utils.d.ts +1 -2
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exports-panel/customElement.js +75 -18
- package/dist/components/arcgis-print-exports-panel/index.d.ts +4 -1
- package/dist/components/arcgis-print-exports-panel/index.js +4 -1
- package/dist/components/arcgis-print-format-select/customElement.js +15 -16
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +2 -0
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +22 -20
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +4 -0
- package/dist/components/arcgis-print-layout-panel/customElement.js +18 -19
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +5 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +10 -10
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -0
- package/dist/components/arcgis-print-map-only-panel/customElement.js +23 -21
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +18 -19
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +23 -22
- package/dist/components/arcgis-print-template-selector/customElement.js +16 -17
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -3
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +66 -11
- package/dist/components/arcgis-scene/customElement.js +25 -30
- package/dist/components/arcgis-search/customElement.d.ts +19 -21
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +8 -8
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +28 -11
- package/dist/components/arcgis-sketch/customElement.js +18 -10
- package/dist/components/arcgis-slice/customElement.d.ts +3 -3
- package/dist/components/arcgis-slice/customElement.js +14 -15
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -3
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -5
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -4
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +38 -52
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +17 -7
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +241 -62
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +56 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +250 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +4 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +4 -4
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +4 -4
- package/dist/components/arcgis-video-player/customElement.js +4 -4
- package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
- package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
- package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
- package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/VolumeMeasurementViewModel.d.ts +55 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +114 -0
- package/dist/components/arcgis-volume-measurement/customElement.js +236 -0
- package/dist/components/arcgis-volume-measurement/index.d.ts +10 -0
- package/dist/components/arcgis-volume-measurement/index.js +10 -0
- package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +1 -0
- package/dist/components/arcgis-weather/LabeledSlider.d.ts +3 -2
- package/dist/components/arcgis-weather/customElement.d.ts +18 -2
- package/dist/components/arcgis-weather/customElement.js +150 -132
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
- package/dist/controllers/uiController.d.ts +5 -0
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/controllers/useHandles.d.ts +1 -1
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/api.json +11895 -10538
- package/dist/docs/docs.json +6805 -5580
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +581 -506
- package/dist/docs/web-types.json +1405 -1098
- package/dist/index.d.ts +78 -40
- package/dist/index.js +1 -1
- package/dist/loader.js +34 -30
- package/dist/support/AnalysisViewModel.d.ts +2 -1
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +7 -4
- package/dist/types/lumina.d.ts +54 -29
- package/dist/types/preact.d.ts +59 -31
- package/dist/types/preact10.d.ts +64 -33
- package/dist/types/react.d.ts +64 -33
- package/dist/types/stencil.d.ts +54 -29
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +16 -1
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/dist/utils/layer-utils.d.ts +4 -0
- package/package.json +5 -5
- package/dist/cdn/26MREIVX.js +0 -4
- package/dist/cdn/2HCAQJDA.js +0 -4
- package/dist/cdn/2NGYP2TU.js +0 -4
- package/dist/cdn/2OPKEDRF.js +0 -4
- package/dist/cdn/2QQXT6S3.js +0 -4
- package/dist/cdn/2U56XZA5.js +0 -4
- package/dist/cdn/3LFISTCL.js +0 -4
- package/dist/cdn/3QEGCSXN.js +0 -4
- package/dist/cdn/3TXEUTMX.js +0 -4
- package/dist/cdn/4ELLMRLV.js +0 -4
- package/dist/cdn/4LG44MCV.js +0 -4
- package/dist/cdn/52TIW2GW.js +0 -4
- package/dist/cdn/5K7B7ZV3.js +0 -4
- package/dist/cdn/6OBLJBSZ.js +0 -4
- package/dist/cdn/6UIGZRW5.js +0 -4
- package/dist/cdn/6V2MNKRP.js +0 -4
- package/dist/cdn/6WKL7XXK.js +0 -4
- package/dist/cdn/752MVXWG.js +0 -4
- package/dist/cdn/7HIVI5W6.js +0 -4
- package/dist/cdn/7IIYFAL2.js +0 -4
- package/dist/cdn/7LENP7UQ.js +0 -4
- package/dist/cdn/7M3YBBT4.js +0 -4
- package/dist/cdn/7OXV6AQA.js +0 -4
- package/dist/cdn/AT7HVKEZ.js +0 -4
- package/dist/cdn/BU6LB2N4.js +0 -4
- package/dist/cdn/CI7PXTLU.js +0 -4
- package/dist/cdn/CP23UGPK.js +0 -4
- package/dist/cdn/CP2HQZUP.js +0 -9
- package/dist/cdn/D332NHX4.js +0 -4
- package/dist/cdn/DELN7ZGL.js +0 -5
- package/dist/cdn/DHEMTNFY.js +0 -4
- package/dist/cdn/EBLK7WAD.js +0 -4
- package/dist/cdn/EEVS67WB.js +0 -4
- package/dist/cdn/EHSC3ELP.js +0 -4
- package/dist/cdn/F67NPTF5.js +0 -4
- package/dist/cdn/FESFNS34.js +0 -4
- package/dist/cdn/FFQ5PPQJ.js +0 -4
- package/dist/cdn/FHIPTY2Q.js +0 -4
- package/dist/cdn/FSHOPPLQ.js +0 -4
- package/dist/cdn/FSU3E6AQ.js +0 -4
- package/dist/cdn/FVILGVFZ.js +0 -4
- package/dist/cdn/G4H5D4DJ.js +0 -4
- package/dist/cdn/G54Y3XZX.js +0 -4
- package/dist/cdn/GFOOUTML.js +0 -4
- package/dist/cdn/GLOIWZ3O.js +0 -4
- package/dist/cdn/H3JJOTON.js +0 -4
- package/dist/cdn/H7YNL2TB.js +0 -4
- package/dist/cdn/HJU6AZMW.js +0 -4
- package/dist/cdn/HK3XAWSI.js +0 -4
- package/dist/cdn/HQCVE2GO.js +0 -4
- package/dist/cdn/HVWVEPEF.js +0 -4
- package/dist/cdn/HYQZEUBU.js +0 -4
- package/dist/cdn/HYTYRGG4.js +0 -4
- package/dist/cdn/IC6SSSQO.js +0 -4
- package/dist/cdn/IDDFJ4DV.js +0 -4
- package/dist/cdn/ILRNOAV4.js +0 -4
- package/dist/cdn/IT3LUX3O.js +0 -4
- package/dist/cdn/IUY6HYRA.js +0 -4
- package/dist/cdn/JQ5GUQ7P.js +0 -4
- package/dist/cdn/JQMPF5IV.js +0 -4
- package/dist/cdn/KRGNBQ5Z.js +0 -4
- package/dist/cdn/KRM4ZBQX.js +0 -4
- package/dist/cdn/LDR7F5EQ.js +0 -4
- package/dist/cdn/LHRDTGQY.js +0 -4
- package/dist/cdn/LJGUZAHH.js +0 -4
- package/dist/cdn/LYR5T5U2.js +0 -4
- package/dist/cdn/M5TG4CFU.js +0 -4
- package/dist/cdn/MBMBYUJM.js +0 -4
- package/dist/cdn/MDSY3NEJ.js +0 -4
- package/dist/cdn/MIILDVMA.js +0 -4
- package/dist/cdn/MJTBUONI.js +0 -4
- package/dist/cdn/MROG6VEE.js +0 -4
- package/dist/cdn/N4IL4AAP.js +0 -4
- package/dist/cdn/NAUZASE4.js +0 -4
- package/dist/cdn/NKFSCGG6.js +0 -4
- package/dist/cdn/NSWHZFRT.js +0 -4
- package/dist/cdn/O6ETD4MH.js +0 -4
- package/dist/cdn/OKDOTHSU.js +0 -4
- package/dist/cdn/OM64AHWG.js +0 -4
- package/dist/cdn/PDTW4YVA.js +0 -4
- package/dist/cdn/PIAPT753.js +0 -4
- package/dist/cdn/PLSSYDMD.js +0 -4
- package/dist/cdn/PQELEFJN.js +0 -4
- package/dist/cdn/PTBGNUJM.js +0 -4
- package/dist/cdn/PTVDQWLH.js +0 -4
- package/dist/cdn/PV45DKP7.js +0 -4
- package/dist/cdn/QL45S7N3.js +0 -4
- package/dist/cdn/R52GAK7D.js +0 -4
- package/dist/cdn/RESW7W5U.js +0 -4
- package/dist/cdn/RGWLLT5R.js +0 -4
- package/dist/cdn/RR5AN2LO.js +0 -4
- package/dist/cdn/RRFZLG2A.js +0 -4
- package/dist/cdn/RRSFGBWH.js +0 -4
- package/dist/cdn/RRTNNJPP.js +0 -4
- package/dist/cdn/RVLHZ2VH.js +0 -4
- package/dist/cdn/RZEP2TRT.js +0 -4
- package/dist/cdn/S6KB7IUN.js +0 -4
- package/dist/cdn/SAUW35NW.js +0 -4
- package/dist/cdn/SNL2OTTM.js +0 -4
- package/dist/cdn/SSWX5ZC5.js +0 -4
- package/dist/cdn/STEBIRS4.js +0 -4
- package/dist/cdn/SVWGIDDU.js +0 -4
- package/dist/cdn/SWZPUBX6.js +0 -4
- package/dist/cdn/SXGMPEP3.js +0 -4
- package/dist/cdn/TELHVYR4.js +0 -4
- package/dist/cdn/UKIS5KFN.js +0 -4
- package/dist/cdn/V3W3XWBZ.js +0 -4
- package/dist/cdn/VD6BHESH.js +0 -4
- package/dist/cdn/VS3WT3CK.js +0 -4
- package/dist/cdn/W75DFBEN.js +0 -4
- package/dist/cdn/WFURIXQT.js +0 -4
- package/dist/cdn/WPILMPPG.js +0 -4
- package/dist/cdn/WVIM6FIJ.js +0 -4
- package/dist/cdn/X262DH36.js +0 -4
- package/dist/cdn/X3ERGEZW.js +0 -4
- package/dist/cdn/X54JTEIS.js +0 -4
- package/dist/cdn/XGEGIP2X.js +0 -4
- package/dist/cdn/XI2OTXXN.js +0 -4
- package/dist/cdn/Y363VSHL.js +0 -4
- package/dist/cdn/YKC76WL2.js +0 -4
- package/dist/cdn/YWUALWAR.js +0 -4
- package/dist/cdn/ZCOROTYT.js +0 -4
- package/dist/cdn/ZJXPCSTB.js +0 -4
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
- package/dist/chunks/uiController.js +0 -50
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
- package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -542
- package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
- package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +0 -14
- package/dist/components/arcgis-print-exported-link/customElement.js +0 -100
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
- package/dist/utils/mapping-utils.d.ts +0 -2
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
|
@@ -1,37 +1,149 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { usePropertyChange as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { c as m } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as h, html as _ } from "lit";
|
|
3
|
+
import { LitElement as w, createEvent as f, nothing as v, safeClassMap as b } from "@arcgis/lumina";
|
|
4
|
+
import { usePropertyChange as x } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { u as y } from "../../chunks/useT9n.js";
|
|
6
|
+
import { m as k } from "../../chunks/useViewModel.js";
|
|
7
|
+
import { g as c } from "../../chunks/globalCss.js";
|
|
8
|
+
import z from "@arcgis/core/analysis/AreaMeasurementAnalysis.js";
|
|
9
|
+
import { getDefaultUnitForView as M } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
10
|
+
import { property as n, subclass as O } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
11
|
+
import { watch as V } from "@arcgis/core/core/reactiveUtils.js";
|
|
12
|
+
import { A as $ } from "../../chunks/AnalysisViewModel.js";
|
|
13
|
+
import { g, b as p } from "../../chunks/measurementUtils.js";
|
|
14
|
+
import { i as A } from "../../chunks/async-utils.js";
|
|
7
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
16
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
);
|
|
14
|
-
|
|
17
|
+
v5.0.0-next.51 */
|
|
18
|
+
const U = h`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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(--esri-widget-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(--esri-widget-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}}`;
|
|
19
|
+
var C = Object.defineProperty, D = Object.getOwnPropertyDescriptor, s = (e, t, r, l) => {
|
|
20
|
+
for (var o = l > 1 ? void 0 : l ? D(t, r) : t, d = e.length - 1, a; d >= 0; d--)
|
|
21
|
+
(a = e[d]) && (o = (l ? a(t, r, o) : a(o)) || o);
|
|
22
|
+
return l && o && C(t, r, o), o;
|
|
23
|
+
};
|
|
24
|
+
let i = class extends $ {
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments), this.supportedViewType = "2d", this.unsupportedErrorMessage = "The Area Measurement 2D component is only supported in 2D views.", this.shouldForceInteractive = !1;
|
|
27
|
+
}
|
|
28
|
+
initialize() {
|
|
29
|
+
this.addHandles(
|
|
30
|
+
V(
|
|
31
|
+
() => ({
|
|
32
|
+
analysis: this.analysis,
|
|
33
|
+
unit: this.unit
|
|
34
|
+
}),
|
|
35
|
+
({ analysis: e, unit: t }) => {
|
|
36
|
+
e && (e.unit = t);
|
|
37
|
+
},
|
|
38
|
+
{ sync: !0, initial: !0 }
|
|
39
|
+
)
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
get state() {
|
|
43
|
+
return this.supported ? this.disabled ? "disabled" : this.operationState === "inactive" && !this.analysis.valid ? "ready" : this.analysis.valid ? "measured" : "measuring" : "unsupported";
|
|
44
|
+
}
|
|
45
|
+
get measurement() {
|
|
46
|
+
return {
|
|
47
|
+
mode: this.analysisView?.result?.mode ?? "euclidean",
|
|
48
|
+
area: g(this.analysis.valid ? this.analysisView?.result?.area : void 0),
|
|
49
|
+
perimeter: g(this.analysis.valid ? this.analysisView?.result?.perimeter : void 0)
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
get unitOptions() {
|
|
53
|
+
const e = this._userUnitOptions?.filter((t) => p.includes(t));
|
|
54
|
+
return e && e.length > 0 ? e : p.slice();
|
|
55
|
+
}
|
|
56
|
+
set unitOptions(e) {
|
|
57
|
+
this._userUnitOptions = e;
|
|
58
|
+
}
|
|
59
|
+
get unit() {
|
|
60
|
+
const e = this._userUnit ?? this.analysis.unit, t = this.unitOptions;
|
|
61
|
+
if (e && t.includes(e))
|
|
62
|
+
return e;
|
|
63
|
+
const r = this._defaultUnit;
|
|
64
|
+
return r && t.includes(r) ? r : t[0];
|
|
65
|
+
}
|
|
66
|
+
set unit(e) {
|
|
67
|
+
this._userUnit = e;
|
|
68
|
+
}
|
|
69
|
+
get _defaultUnit() {
|
|
70
|
+
return this.view ? M(this.view) : void 0;
|
|
71
|
+
}
|
|
72
|
+
async place(e) {
|
|
73
|
+
this.analysisView && (await this.analysisView.place(e), this.analysisView.interactive = !0);
|
|
74
|
+
}
|
|
75
|
+
clearAnalysis() {
|
|
76
|
+
this.analysis.geometry = null;
|
|
77
|
+
}
|
|
78
|
+
constructAnalysis() {
|
|
79
|
+
return new z();
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
s([
|
|
83
|
+
n()
|
|
84
|
+
], i.prototype, "state", 1);
|
|
85
|
+
s([
|
|
86
|
+
n()
|
|
87
|
+
], i.prototype, "measurement", 1);
|
|
88
|
+
s([
|
|
89
|
+
n()
|
|
90
|
+
], i.prototype, "unitOptions", 1);
|
|
91
|
+
s([
|
|
92
|
+
n()
|
|
93
|
+
], i.prototype, "_userUnitOptions", 2);
|
|
94
|
+
s([
|
|
95
|
+
n()
|
|
96
|
+
], i.prototype, "unit", 1);
|
|
97
|
+
s([
|
|
98
|
+
n()
|
|
99
|
+
], i.prototype, "_userUnit", 2);
|
|
100
|
+
s([
|
|
101
|
+
n()
|
|
102
|
+
], i.prototype, "_defaultUnit", 1);
|
|
103
|
+
i = s([
|
|
104
|
+
O("components.area-measurement-2d.AreaMeasurement2dViewModel")
|
|
105
|
+
], i);
|
|
106
|
+
const E = "arcgis-area-measurement-2d", j = { base: E }, P = k(i);
|
|
107
|
+
class L extends w {
|
|
15
108
|
constructor() {
|
|
16
|
-
super(...arguments), this.
|
|
109
|
+
super(...arguments), this.viewModel = P(this), this.messages = y({ name: "area-measurement-2d", blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.icon = "measure-area", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = x()("analysis", "state"), this.arcgisReady = f();
|
|
17
110
|
}
|
|
18
111
|
static {
|
|
19
|
-
this.properties = { view: 0, autoDestroyDisabled: 5, icon:
|
|
112
|
+
this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, icon: 3, label: 1, position: 1, referenceElement: 1, state: 35, unit: 1, unitOptions: 0 };
|
|
20
113
|
}
|
|
21
114
|
static {
|
|
22
|
-
this.styles =
|
|
115
|
+
this.styles = U;
|
|
23
116
|
}
|
|
24
117
|
async clear() {
|
|
25
|
-
this.viewModel
|
|
118
|
+
this.viewModel.clear();
|
|
26
119
|
}
|
|
27
120
|
async destroy() {
|
|
28
121
|
await this.manager.destroy();
|
|
29
122
|
}
|
|
30
123
|
async start() {
|
|
31
|
-
this.viewModel
|
|
124
|
+
A(this.viewModel.start());
|
|
125
|
+
}
|
|
126
|
+
render() {
|
|
127
|
+
const { messages: t, unit: r, unitOptions: l, viewModel: o } = this, { measurement: d, state: a } = o;
|
|
128
|
+
return _`<div aria-label=${t.componentLabel ?? v} class=${b({
|
|
129
|
+
[j.base]: !0,
|
|
130
|
+
[c.widget]: !0,
|
|
131
|
+
[c.panel]: !0
|
|
132
|
+
})} role=presentation><arcgis-measurement-content .state=${a} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[
|
|
133
|
+
{
|
|
134
|
+
title: t.area,
|
|
135
|
+
measurement: d.area
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
title: t.perimeter,
|
|
139
|
+
measurement: d.perimeter
|
|
140
|
+
}
|
|
141
|
+
]}><arcgis-unit-select slot=settings .options=${l} .selectLabel=${t.unit} .value=${r} @arcgisUnitSelectChange=${(u) => {
|
|
142
|
+
this.unit = u.detail;
|
|
143
|
+
}}></arcgis-unit-select><calcite-button slot=actions .disabled=${a === "unsupported" || a === "disabled"} @click=${this.start}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`;
|
|
32
144
|
}
|
|
33
145
|
}
|
|
34
|
-
|
|
146
|
+
m("arcgis-area-measurement-2d", L);
|
|
35
147
|
export {
|
|
36
|
-
|
|
148
|
+
L as ArcgisAreaMeasurement2d
|
|
37
149
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
1
|
import { default as AreaMeasurementAnalysis } from '@arcgis/core/analysis/AreaMeasurementAnalysis.js';
|
|
3
2
|
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
4
3
|
import { AnalysisViewModel } from '../../support/AnalysisViewModel';
|
|
5
|
-
import {
|
|
4
|
+
import { Area, Length, MeasurementState, MeasurementValue, SystemOrAreaUnit } from '../../support/measurementUtils';
|
|
5
|
+
import { MeasurementMode } from '@arcgis/core/views/analysis/types';
|
|
6
6
|
export interface Measurement {
|
|
7
|
-
readonly mode:
|
|
8
|
-
readonly area: MeasurementValue<
|
|
9
|
-
readonly perimeter: MeasurementValue<
|
|
7
|
+
readonly mode: MeasurementMode;
|
|
8
|
+
readonly area: MeasurementValue<Area>;
|
|
9
|
+
readonly perimeter: MeasurementValue<Length>;
|
|
10
10
|
}
|
|
11
11
|
export default class AreaMeasurement3dViewModel extends AnalysisViewModel<SceneView, AreaMeasurementAnalysis> {
|
|
12
12
|
initialize(): void;
|
|
@@ -19,16 +19,16 @@ export default class AreaMeasurement3dViewModel extends AnalysisViewModel<SceneV
|
|
|
19
19
|
/**
|
|
20
20
|
* List of unit systems (imperial, metric) and specific units for displaying the distance values.
|
|
21
21
|
*/
|
|
22
|
-
get unitOptions():
|
|
23
|
-
set unitOptions(units:
|
|
22
|
+
get unitOptions(): SystemOrAreaUnit[];
|
|
23
|
+
set unitOptions(units: SystemOrAreaUnit[] | undefined);
|
|
24
24
|
private _userUnitOptions?;
|
|
25
25
|
/**
|
|
26
26
|
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
27
27
|
*/
|
|
28
|
-
get unit():
|
|
29
|
-
set unit(unit:
|
|
28
|
+
get unit(): SystemOrAreaUnit;
|
|
29
|
+
set unit(unit: SystemOrAreaUnit | undefined);
|
|
30
30
|
private _userUnit?;
|
|
31
|
-
get
|
|
31
|
+
private get _defaultUnit();
|
|
32
32
|
place(options?: {
|
|
33
33
|
signal?: AbortSignal;
|
|
34
34
|
}): Promise<void>;
|
|
@@ -61,7 +61,7 @@ declare const useViewModel: (component: LitElement & Pick<AreaMeasurement3dViewM
|
|
|
61
61
|
export declare class ArcgisAreaMeasurement3d extends LitElement {
|
|
62
62
|
/**
|
|
63
63
|
* The view associated with the component.
|
|
64
|
-
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the
|
|
64
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the Area Measurement 3D component will be associated with a map or scene component rather than using the `view` property.
|
|
65
65
|
*/
|
|
66
66
|
view?: __esri.SceneView | undefined;
|
|
67
67
|
/**
|
|
@@ -124,7 +124,7 @@ export declare class ArcgisAreaMeasurement3d extends LitElement {
|
|
|
124
124
|
icon?: HTMLCalciteIconElement["icon"];
|
|
125
125
|
/** The component's default label. */
|
|
126
126
|
label?: string;
|
|
127
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
127
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
128
128
|
position?: __esri.UIPosition;
|
|
129
129
|
/**
|
|
130
130
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
@@ -160,7 +160,7 @@ export declare class ArcgisAreaMeasurement3d extends LitElement {
|
|
|
160
160
|
start(): Promise<void>;
|
|
161
161
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
162
162
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
163
|
-
name: "
|
|
163
|
+
name: "analysis" | "state";
|
|
164
164
|
}>;
|
|
165
165
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
166
166
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
@@ -5,23 +5,24 @@ import { usePropertyChange as x } from "@arcgis/lumina/controllers";
|
|
|
5
5
|
import { u as y } from "../../chunks/useT9n.js";
|
|
6
6
|
import { m as k } from "../../chunks/useViewModel.js";
|
|
7
7
|
import { g as c } from "../../chunks/globalCss.js";
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import z from "@arcgis/core/analysis/AreaMeasurementAnalysis.js";
|
|
9
|
+
import { hasValidAreaResult as M } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
10
|
+
import { getDefaultUnitForView as O } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
11
|
+
import { property as n, subclass as A } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
11
12
|
import { watch as $ } from "@arcgis/core/core/reactiveUtils.js";
|
|
12
|
-
import { A } from "../../chunks/AnalysisViewModel.js";
|
|
13
|
-
import { g,
|
|
14
|
-
import {
|
|
13
|
+
import { A as U } from "../../chunks/AnalysisViewModel.js";
|
|
14
|
+
import { g, b as u } from "../../chunks/measurementUtils.js";
|
|
15
|
+
import { i as V } from "../../chunks/async-utils.js";
|
|
15
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
17
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
17
|
-
v5.0.0-next.
|
|
18
|
-
const
|
|
19
|
-
var
|
|
20
|
-
for (var o = s > 1 ? void 0 : s ?
|
|
18
|
+
v5.0.0-next.51 */
|
|
19
|
+
const C = h`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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(--esri-widget-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(--esri-widget-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{width:300px}`;
|
|
20
|
+
var D = Object.defineProperty, E = Object.getOwnPropertyDescriptor, a = (e, t, i, s) => {
|
|
21
|
+
for (var o = s > 1 ? void 0 : s ? E(t, i) : t, l = e.length - 1, d; l >= 0; l--)
|
|
21
22
|
(d = e[l]) && (o = (s ? d(t, i, o) : d(o)) || o);
|
|
22
|
-
return s && o &&
|
|
23
|
+
return s && o && D(t, i, o), o;
|
|
23
24
|
};
|
|
24
|
-
let r = class extends
|
|
25
|
+
let r = class extends U {
|
|
25
26
|
constructor() {
|
|
26
27
|
super(...arguments), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Area Measurement 3D component is only supported in 3D views.";
|
|
27
28
|
}
|
|
@@ -57,7 +58,7 @@ let r = class extends A {
|
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
get measurement() {
|
|
60
|
-
const { analysisView: e } = this, t = e?.result, i = t?.mode ?? "euclidean", s = e != null &&
|
|
61
|
+
const { analysisView: e } = this, t = e?.result, i = t?.mode ?? "euclidean", s = e != null && e.type === "area-measurement-view-3d" && M(e);
|
|
61
62
|
return {
|
|
62
63
|
mode: i,
|
|
63
64
|
area: g(t?.area, s),
|
|
@@ -72,17 +73,17 @@ let r = class extends A {
|
|
|
72
73
|
this._userUnitOptions = e;
|
|
73
74
|
}
|
|
74
75
|
get unit() {
|
|
75
|
-
const e = this._userUnit, t = this.unitOptions;
|
|
76
|
+
const e = this._userUnit ?? this.analysis.unit, t = this.unitOptions;
|
|
76
77
|
if (e && t.includes(e))
|
|
77
78
|
return e;
|
|
78
|
-
const i = this.
|
|
79
|
+
const i = this._defaultUnit;
|
|
79
80
|
return i && t.includes(i) ? i : t[0];
|
|
80
81
|
}
|
|
81
82
|
set unit(e) {
|
|
82
83
|
this._userUnit = e;
|
|
83
84
|
}
|
|
84
|
-
get
|
|
85
|
-
return this.view ?
|
|
85
|
+
get _defaultUnit() {
|
|
86
|
+
return this.view ? O(this.view) : void 0;
|
|
86
87
|
}
|
|
87
88
|
async place(e) {
|
|
88
89
|
await this.analysisView?.place(e);
|
|
@@ -91,7 +92,7 @@ let r = class extends A {
|
|
|
91
92
|
this.analysis.geometry = null;
|
|
92
93
|
}
|
|
93
94
|
constructAnalysis() {
|
|
94
|
-
return new
|
|
95
|
+
return new z();
|
|
95
96
|
}
|
|
96
97
|
};
|
|
97
98
|
a([
|
|
@@ -116,21 +117,21 @@ a([
|
|
|
116
117
|
n()
|
|
117
118
|
], r.prototype, "_userUnit", 2);
|
|
118
119
|
a([
|
|
119
|
-
n(
|
|
120
|
-
], r.prototype, "
|
|
120
|
+
n()
|
|
121
|
+
], r.prototype, "_defaultUnit", 1);
|
|
121
122
|
r = a([
|
|
122
|
-
|
|
123
|
+
A("components.area-measurement-3d.AreaMeasurement3dViewModel")
|
|
123
124
|
], r);
|
|
124
|
-
const
|
|
125
|
-
class
|
|
125
|
+
const j = "arcgis-area-measurement-3d", L = { base: j }, P = k(r);
|
|
126
|
+
class S extends w {
|
|
126
127
|
constructor() {
|
|
127
|
-
super(...arguments), this.viewModel =
|
|
128
|
+
super(...arguments), this.viewModel = P(this), this.messages = y({ blocking: !0 }), this.view = this.viewModel.view, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.icon = "measure-area", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = x()("analysis", "state"), this.arcgisReady = f();
|
|
128
129
|
}
|
|
129
130
|
static {
|
|
130
131
|
this.properties = { view: 0, analysis: 0, autoDestroyDisabled: 5, icon: 3, label: 1, position: 1, referenceElement: 1, state: 35, unit: 1, unitOptions: 0 };
|
|
131
132
|
}
|
|
132
133
|
static {
|
|
133
|
-
this.styles =
|
|
134
|
+
this.styles = C;
|
|
134
135
|
}
|
|
135
136
|
async clear() {
|
|
136
137
|
this.viewModel.clear();
|
|
@@ -139,12 +140,12 @@ class P extends w {
|
|
|
139
140
|
await this.manager.destroy();
|
|
140
141
|
}
|
|
141
142
|
async start() {
|
|
142
|
-
this.viewModel.start();
|
|
143
|
+
V(this.viewModel.start());
|
|
143
144
|
}
|
|
144
145
|
render() {
|
|
145
146
|
const { messages: t, unit: i, unitOptions: s, viewModel: o } = this, { measurement: l, state: d } = o;
|
|
146
147
|
return _`<div aria-label=${t.componentLabel ?? v} class=${b({
|
|
147
|
-
[
|
|
148
|
+
[L.base]: !0,
|
|
148
149
|
[c.widget]: !0,
|
|
149
150
|
[c.panel]: !0
|
|
150
151
|
})} role=presentation><arcgis-measurement-content .state=${o.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[
|
|
@@ -158,12 +159,10 @@ class P extends w {
|
|
|
158
159
|
}
|
|
159
160
|
]}><arcgis-unit-select slot=settings .options=${s} .selectLabel=${t.unit} .value=${i} @arcgisUnitSelectChange=${(p) => {
|
|
160
161
|
this.unit = p.detail;
|
|
161
|
-
}}></arcgis-unit-select><calcite-button slot=actions .disabled=${d === "disabled"} @click=${
|
|
162
|
-
this.viewModel.start({ clear: !0 });
|
|
163
|
-
}}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`;
|
|
162
|
+
}}></arcgis-unit-select><calcite-button slot=actions .disabled=${d === "disabled"} @click=${this.start}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`;
|
|
164
163
|
}
|
|
165
164
|
}
|
|
166
|
-
m("arcgis-area-measurement-3d",
|
|
165
|
+
m("arcgis-area-measurement-3d", S);
|
|
167
166
|
export {
|
|
168
|
-
|
|
167
|
+
S as ArcgisAreaMeasurement3d
|
|
169
168
|
};
|
|
@@ -5,7 +5,7 @@ import { default as Attachments } from '@arcgis/core/widgets/Attachments.js';
|
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
7
|
|
|
8
|
-
declare const useAttachmentsWidget: (component: LitElement & Pick<Attachments, "
|
|
8
|
+
declare const useAttachmentsWidget: (component: LitElement & Pick<Attachments, "label" | "viewModel" | "icon" | "graphic" | "capabilities" | "attachmentKeywords" | "attachmentTypes" | "displayType"> & {
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.AttachmentsViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
@@ -59,7 +59,7 @@ export declare class ArcgisAttachments extends LitElement {
|
|
|
59
59
|
*
|
|
60
60
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attachments.html#graphic)
|
|
61
61
|
*/
|
|
62
|
-
graphic:
|
|
62
|
+
graphic: __esri.Graphic | nullish;
|
|
63
63
|
/** @default false */
|
|
64
64
|
hideAddButton: boolean | undefined;
|
|
65
65
|
/** @default false */
|
|
@@ -90,7 +90,7 @@ export declare class ArcgisAttachments extends LitElement {
|
|
|
90
90
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Widget.html#label)
|
|
91
91
|
*/
|
|
92
92
|
label: string | nullish;
|
|
93
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
93
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
94
94
|
position?: __esri.UIPosition;
|
|
95
95
|
/**
|
|
96
96
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
@@ -103,7 +103,7 @@ export declare class ArcgisAttachments extends LitElement {
|
|
|
103
103
|
*
|
|
104
104
|
* @default "ready"
|
|
105
105
|
*/
|
|
106
|
-
readonly state: "ready" | "
|
|
106
|
+
readonly state: "ready" | "disabled" | "loading";
|
|
107
107
|
/**
|
|
108
108
|
* Indicates whether there is currently an attachment being added, updated or deleted.
|
|
109
109
|
*
|
|
@@ -123,13 +123,13 @@ export declare class ArcgisAttachments extends LitElement {
|
|
|
123
123
|
*
|
|
124
124
|
* @default null
|
|
125
125
|
*/
|
|
126
|
-
attachmentKeywords: string[]
|
|
126
|
+
attachmentKeywords: nullish | string[];
|
|
127
127
|
/**
|
|
128
128
|
* An array of strings representing MIME types.
|
|
129
129
|
*
|
|
130
130
|
* @default null
|
|
131
131
|
*/
|
|
132
|
-
attachmentTypes: string[]
|
|
132
|
+
attachmentTypes: nullish | string[];
|
|
133
133
|
/** Permanently destroy the component. */
|
|
134
134
|
destroy(): Promise<void>;
|
|
135
135
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
@@ -6,11 +6,11 @@ import { m as s } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "lit";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
10
|
-
const o = n`.esri-attachments__progress-bar:before,.esri-attachments__progress-bar:after{opacity:var(--calcite-opacity-100);content:"";height:1px;transition:opacity .5s ease-in-out;position:absolute;top:0}.esri-attachments__progress-bar:before{z-index:0;background-color:var(--calcite-color-foreground-2);width:100%}.esri-attachments__progress-bar:after{z-index:0;background-color:var(--calcite-color-text-2);width:20%;animation:1.5s linear infinite looping-progresss-bar-ani}.esri-attachments{background-color:var(--calcite-color-background)!important;width:100%}.esri-attachments__loader-container{justify-content:center;align-items:center;height:150px;padding:0;display:flex}.esri-attachments__loader{background:url(./assets/attachments/images/loading-throb.gif) 50% no-repeat;width:100%;height:64px}.esri-attachments__actions{flex-flow:wrap;padding:6px 7px;display:flex}.esri-attachments__item-add-icon{font-size:var(--calcite-font-size-xl);margin:0;padding:0 7px}.esri-attachments__delete-button{color:var(--calcite-color-status-danger);width:auto;margin-right:auto}.esri-attachments .esri-attachments__items{width:100%;margin:0;padding:0;display:flex}.esri-attachments .esri-attachments__item{margin:0;line-height:var(--calcite-font-line-height-relative-tight);list-style-type:none}.esri-attachments__item-button{outline-offset:-4px;cursor:pointer;width:100%;text-align:unset;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-2);border:1px solid var(--calcite-color-foreground-1);border-radius:var(--calcite-border-width-md);align-items:center;margin:0 0 var(--calcite-spacing-xs);padding:var(--calcite-spacing-xs) 7px;text-decoration:none;transition:border-color .125s ease-in-out;display:flex;box-shadow:0 1px var(--calcite-color-foreground-1)}.esri-attachments__item-button:focus,.esri-attachments__item-button:hover{border-color:var(--calcite-color-border-white)}.esri-attachments__item-link{text-decoration:none;display:block;position:relative}.esri-attachments__item-link:hover .esri-attachments__item-link-overlay,.esri-attachments__item-link:focus .esri-attachments__item-link-overlay{opacity:1}.esri-attachments__item-add{background-color:var(--calcite-color-background);padding:6px 0}.esri-attachments__add-attachment-button{align-items:baseline!important;border-radius:var(--calcite-corner-radius-xs);border:none!important;justify-content:flex-start!important;padding:12px 3px!important;font-size:var(--calcite-font-size-sm)!important;transition:background-color .25s ease-in-out}.esri-attachments__add-attachment-button:hover{background-color:var(--calcite-color-foreground-1)!important;text-decoration:none;box-shadow:0 1px 2px #0000004d}.esri-attachments__item-link-overlay{opacity:0;pointer-events:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;transition:opacity .25s ease-in-out;display:flex;position:absolute;inset:0}.esri-attachments__item-link-overlay-icon{color:var(--calcite-color-foreground-2);background-color:var(--calcite-color-foreground-1);border-radius:100%;justify-content:center;align-items:center;padding:18px;display:flex}.esri-attachments__item-link-overlay-icon svg{fill:var(--calcite-color-foreground-1)}.esri-attachments__item-mask{justify-content:center;align-items:center;width:64px;height:64px;display:flex;position:relative;overflow:hidden;box-shadow:0 0 0 1px var(--calcite-color-foreground-1)}.esri-attachments__item-mask--icon{background-color:var(--calcite-color-foreground-2);padding:24px 0}.esri-attachments__item-mask--icon .esri-attachments__image{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}.esri-attachments__metadata{justify-content:space-between;margin-top:3px;display:flex}.esri-attachments__metadata .esri-attachments__metadata-fieldset{text-align:center;background-color:var(--calcite-color-foreground-1);border:none;flex:0 calc(50% - 1px);margin:0;padding:6px 7px;font-size:var(--calcite-font-size-sm)}.esri-attachments__file-name{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;margin-bottom:3px;font-size:var(--calcite-font-size-sm);display:inline-block}.esri-attachments__file-fieldset{border:none;margin:0;padding:var(--calcite-spacing-md) 7px}.esri-attachments__file-input{opacity:0;z-index:-1;width:.1px;height:.1px;position:absolute;overflow:hidden}.esri-attachments__container--list .esri-attachments__items{flex-flow:column}.esri-attachments__container--list .esri-attachments__item-mask{flex:none;margin-right:7px;position:relative}.esri-attachments__container--list .esri-attachments__image{max-width:unset;max-height:unset;left:50%}.esri-attachments__container--list .esri-attachments__label{flex:auto;justify-content:space-between;display:flex}.esri-attachments__container--list .esri-attachments__filename{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;cursor:pointer;flex:1 0 0}.esri-attachments__container--list .esri-attachments__item-chevron-icon{cursor:pointer;flex:none;padding:0 15px}.esri-attachments__container--preview .esri-attachments__items{flex-flow:wrap;align-items:center}.esri-attachments__container--preview .esri-attachments__item{width:100%;margin-bottom:var(--calcite-spacing-md)}.esri-attachments__container--preview .esri-attachments__item-mask{width:100%;height:auto}.esri-attachments__container--preview .esri-attachments__item-button{box-shadow:none;flex-flow:column}.esri-attachments__container--preview .esri-attachments__item-button .esri-attachments__label{margin:var(--calcite-spacing-md) 0}.esri-attachments__container--preview .esri-attachments__image{max-width:100%}.esri-attachments__container--preview .esri-attachments__filename{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;text-align:center;text-overflow:ellipsis;width:calc(100% - 15px);margin-top:var(--calcite-spacing-md);overflow:hidden}.esri-attachments__container--preview .esri-attachments__item-mask--icon{background-color:var(--calcite-color-foreground-1)}.esri-attachments__form-node{background-color:var(--calcite-color-foreground-1);padding:6px 7px;box-shadow:var(--calcite-shadow-sm)}.esri-attachments__form-node .esri-attachments__item-mask{box-shadow:none;width:unset;height:unset}.esri-attachments__form-node .esri-attachments__image{max-width:100%}.esri-attachments__error-message{background-color:var(--calcite-color-foreground-1);border-top:3px solid var(--calcite-color-status-danger);margin:6px 7px;padding:var(--calcite-spacing-md) 15px;animation:.25s ease-in-out esri-fade-in-down;box-shadow:0 1px 2px #0000004d}.esri-attachments__progress-bar{width:100%;position:absolute}.esri-attachments__item-mask:dir(rtl){margin-left:7px;margin-right:0}`, c = s(i);
|
|
11
|
-
class
|
|
9
|
+
v5.0.0-next.51 */
|
|
10
|
+
const o = n`.esri-attachments__progress-bar:before,.esri-attachments__progress-bar:after{opacity:var(--calcite-opacity-100);content:"";height:1px;transition:opacity .5s ease-in-out;position:absolute;top:0}.esri-attachments__progress-bar:before{z-index:0;background-color:var(--calcite-color-foreground-2);width:100%}.esri-attachments__progress-bar:after{z-index:0;background-color:var(--calcite-color-text-2);width:20%;animation:1.5s linear infinite looping-progresss-bar-ani}.esri-attachments{background-color:var(--calcite-color-background)!important;width:100%}.esri-attachments__loader-container{justify-content:center;align-items:center;height:150px;padding:0;display:flex}.esri-attachments__loader{background:url(data:image/gif;base64,R0lGODlhIQAnALMKAAB6wrze86TR7Y3F53W44V6s2kaf1C+TzheGyNPq+f///wAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo1MkRGQzEzOEQ3MUIxMUU0QjJCRTkxRjI3NjA5MTc2MyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo2RDdDRTgwM0Q3MjAxMUU0QjJCRTkxRjI3NjA5MTc2MyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo2RDdDRTgwMkQ3MjAxMUU0QjJCRTkxRjI3NjA5MTc2MyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNCAoTWFjaW50b3NoKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOmQyYThhNjgzLWIwNjctNDhhZi05Nzc0LTZiOTZkM2RhMjI2OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1MkRGQzEzOEQ3MUIxMUU0QjJCRTkxRjI3NjA5MTc2MyIvPiA8L3JkZjpEZXNj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) 50% no-repeat;width:100%;height:64px}.esri-attachments__actions{flex-flow:wrap;padding:6px 7px;display:flex}.esri-attachments__item-add-icon{font-size:var(--calcite-font-size-xl);margin:0;padding:0 7px}.esri-attachments__delete-button{color:var(--calcite-color-status-danger);width:auto;margin-right:auto}.esri-attachments .esri-attachments__items{width:100%;margin:0;padding:0;display:flex}.esri-attachments .esri-attachments__item{margin:0;line-height:var(--calcite-font-line-height-relative-tight);list-style-type:none}.esri-attachments__item-button{outline-offset:-4px;cursor:pointer;width:100%;text-align:unset;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-2);border:1px solid var(--calcite-color-foreground-1);border-radius:var(--calcite-border-width-md);align-items:center;margin:0 0 var(--calcite-spacing-xs);padding:var(--calcite-spacing-xs) 7px;text-decoration:none;transition:border-color .125s ease-in-out;display:flex;box-shadow:0 1px var(--calcite-color-foreground-1)}.esri-attachments__item-button:focus,.esri-attachments__item-button:hover{border-color:var(--calcite-color-border-white)}.esri-attachments__item-link{text-decoration:none;display:block;position:relative}.esri-attachments__item-link:hover .esri-attachments__item-link-overlay,.esri-attachments__item-link:focus .esri-attachments__item-link-overlay{opacity:1}.esri-attachments__item-add{background-color:var(--calcite-color-background);padding:6px 0}.esri-attachments__add-attachment-button{align-items:baseline!important;border-radius:var(--calcite-corner-radius-xs);border:none!important;justify-content:flex-start!important;padding:12px 3px!important;font-size:var(--calcite-font-size-sm)!important;transition:background-color .25s ease-in-out}.esri-attachments__add-attachment-button:hover{background-color:var(--calcite-color-foreground-1)!important;text-decoration:none;box-shadow:0 1px 2px #0000004d}.esri-attachments__item-link-overlay{opacity:0;pointer-events:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;transition:opacity .25s ease-in-out;display:flex;position:absolute;inset:0}.esri-attachments__item-link-overlay-icon{color:var(--calcite-color-foreground-2);background-color:var(--calcite-color-foreground-1);border-radius:100%;justify-content:center;align-items:center;padding:18px;display:flex}.esri-attachments__item-link-overlay-icon svg{fill:var(--calcite-color-foreground-1)}.esri-attachments__item-mask{justify-content:center;align-items:center;width:64px;height:64px;display:flex;position:relative;overflow:hidden;box-shadow:0 0 0 1px var(--calcite-color-foreground-1)}.esri-attachments__item-mask--icon{background-color:var(--calcite-color-foreground-2);padding:24px 0}.esri-attachments__item-mask--icon .esri-attachments__image{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}.esri-attachments__metadata{justify-content:space-between;margin-top:3px;display:flex}.esri-attachments__metadata .esri-attachments__metadata-fieldset{text-align:center;background-color:var(--calcite-color-foreground-1);border:none;flex:0 calc(50% - 1px);margin:0;padding:6px 7px;font-size:var(--calcite-font-size-sm)}.esri-attachments__file-name{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;margin-bottom:3px;font-size:var(--calcite-font-size-sm);display:inline-block}.esri-attachments__file-fieldset{border:none;margin:0;padding:var(--calcite-spacing-md) 7px}.esri-attachments__file-input{opacity:0;z-index:-1;width:.1px;height:.1px;position:absolute;overflow:hidden}.esri-attachments__container--list .esri-attachments__items{flex-flow:column}.esri-attachments__container--list .esri-attachments__item-mask{flex:none;margin-right:7px;position:relative}.esri-attachments__container--list .esri-attachments__image{max-width:unset;max-height:unset;left:50%}.esri-attachments__container--list .esri-attachments__label{flex:auto;justify-content:space-between;display:flex}.esri-attachments__container--list .esri-attachments__filename{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;cursor:pointer;flex:1 0 0}.esri-attachments__container--list .esri-attachments__item-chevron-icon{cursor:pointer;flex:none;padding:0 15px}.esri-attachments__container--preview .esri-attachments__items{flex-flow:wrap;align-items:center}.esri-attachments__container--preview .esri-attachments__item{width:100%;margin-bottom:var(--calcite-spacing-md)}.esri-attachments__container--preview .esri-attachments__item-mask{width:100%;height:auto}.esri-attachments__container--preview .esri-attachments__item-button{box-shadow:none;flex-flow:column}.esri-attachments__container--preview .esri-attachments__item-button .esri-attachments__label{margin:var(--calcite-spacing-md) 0}.esri-attachments__container--preview .esri-attachments__image{max-width:100%}.esri-attachments__container--preview .esri-attachments__filename{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;text-align:center;text-overflow:ellipsis;width:calc(100% - 15px);margin-top:var(--calcite-spacing-md);overflow:hidden}.esri-attachments__container--preview .esri-attachments__item-mask--icon{background-color:var(--calcite-color-foreground-1)}.esri-attachments__form-node{background-color:var(--calcite-color-foreground-1);padding:6px 7px;box-shadow:var(--calcite-shadow-sm)}.esri-attachments__form-node .esri-attachments__item-mask{box-shadow:none;width:unset;height:unset}.esri-attachments__form-node .esri-attachments__image{max-width:100%}.esri-attachments__error-message{background-color:var(--calcite-color-foreground-1);border-top:3px solid var(--calcite-color-status-danger);margin:6px 7px;padding:var(--calcite-spacing-md) 15px;animation:.25s ease-in-out esri-fade-in-down;box-shadow:0 1px 2px #0000004d}.esri-attachments__progress-bar{width:100%;position:absolute}.esri-attachments__item-mask:dir(rtl){margin-left:7px;margin-right:0}`, A = s(i);
|
|
11
|
+
class c extends a {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget =
|
|
13
|
+
super(...arguments), this.widget = A(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.capabilities = this.widget.capabilities, this.displayType = this.widget.displayType, this.graphic = this.widget.graphic, this.hideAddButton = this.widget.visibleElements.addButton, this.hideAddSubmitButton = this.widget.visibleElements.addSubmitButton, this.hideCancelAddButton = this.widget.visibleElements.cancelAddButton, this.hideCancelUpdateButton = this.widget.visibleElements.cancelUpdateButton, this.hideDeleteButton = this.widget.visibleElements.deleteButton, this.hideErrorMessage = this.widget.visibleElements.errorMessage, this.hideProgressBar = this.widget.visibleElements.progressBar, this.hideUpdateButton = this.widget.visibleElements.updateButton, this.icon = this.widget.icon, this.label = this.widget.label, this.state = this.viewModel.state, this.submitting = this.widget.submitting, this.attachmentInfos = this.viewModel.attachmentInfos, this.attachmentKeywords = this.viewModel.attachmentKeywords, this.attachmentTypes = this.viewModel.attachmentTypes, this.arcgisPropertyChange = e()("submitting", "state", "attachmentInfos"), this.arcgisReady = r();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { autoDestroyDisabled: 5, capabilities: 0, displayType: 1, graphic: 0, hideAddButton: 5, hideAddSubmitButton: 5, hideCancelAddButton: 5, hideCancelUpdateButton: 5, hideDeleteButton: 5, hideErrorMessage: 5, hideProgressBar: 5, hideUpdateButton: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, submitting: 4, attachmentInfos: 0, attachmentKeywords: 0, attachmentTypes: 0 };
|
|
@@ -22,7 +22,7 @@ class l extends a {
|
|
|
22
22
|
await this.manager.destroy();
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
t("arcgis-attachments",
|
|
25
|
+
t("arcgis-attachments", c);
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
c as ArcgisAttachments
|
|
28
28
|
};
|