@arcgis/map-components 5.0.0-next.2 → 5.0.0-next.20
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/{QIHNJACI.js → 22WDHND6.js} +2 -2
- package/dist/cdn/2NWTMEYS.js +4 -0
- package/dist/cdn/{ZSBYVNTF.js → 2RIFKOAN.js} +2 -2
- package/dist/cdn/3BY2NUEG.js +4 -0
- package/dist/cdn/3JR5777J.js +4 -0
- package/dist/cdn/3Q76INXU.js +4 -0
- package/dist/cdn/{D3J6FQND.js → 3T33252B.js} +2 -2
- package/dist/cdn/{WQIHCSIB.js → 3WDLSMCJ.js} +2 -2
- package/dist/cdn/{M4Q6OT7N.js → 3WTH46NU.js} +2 -2
- package/dist/cdn/3Y6L5VWO.js +4 -0
- package/dist/cdn/{S5GZVWZU.js → 467UVORY.js} +2 -2
- package/dist/cdn/{DYE3OMWI.js → 4DQMVAQO.js} +2 -2
- package/dist/cdn/{AG36YWTY.js → 4ITXZHQT.js} +2 -2
- package/dist/cdn/{KINLQCMT.js → 4NREMD5R.js} +2 -2
- package/dist/cdn/{YWABNYKW.js → 4OUSLG6P.js} +2 -2
- package/dist/cdn/{3T7FDPDY.js → 4SFKF2JI.js} +2 -2
- package/dist/cdn/{2FSZ533Q.js → 4YQ6NUH3.js} +2 -2
- package/dist/cdn/57JOQYIM.js +4 -0
- package/dist/cdn/{EVVWYUQ6.js → 5AXLMPFI.js} +2 -2
- package/dist/cdn/5AYJMDGK.js +4 -0
- package/dist/cdn/{QQSTRBG5.js → 5NMFKKWU.js} +2 -2
- package/dist/cdn/{VPXTL3JW.js → 5T3CZNUR.js} +2 -2
- package/dist/cdn/5UDD32HR.js +4 -0
- package/dist/cdn/5X43DH5B.js +4 -0
- package/dist/cdn/{SFPTSDC5.js → 5Z2L6SLD.js} +2 -2
- package/dist/cdn/{7M6KRUMN.js → 65P5XX26.js} +2 -2
- package/dist/cdn/{2ZJAWBCC.js → 6BIHIV65.js} +2 -2
- package/dist/cdn/{4F255Q2I.js → 6KT43CXY.js} +2 -2
- package/dist/cdn/6N75UIBQ.js +4 -0
- package/dist/cdn/{GKWPGMXB.js → 6OSJQBAA.js} +2 -2
- package/dist/cdn/6RWLCX6Q.js +4 -0
- package/dist/cdn/{WGTKEB4I.js → 73K3N57M.js} +2 -2
- package/dist/cdn/{HZSHBIZC.js → 775LL2MB.js} +2 -2
- package/dist/cdn/{BCX44KFS.js → 7FMKPQZM.js} +2 -2
- package/dist/cdn/{T4XPBRWM.js → 7FZB4BL4.js} +2 -2
- package/dist/cdn/7JVKVZME.js +4 -0
- package/dist/cdn/{T7W2MKY4.js → 7ORI7D6O.js} +2 -2
- package/dist/cdn/{IMVOXJ3X.js → 7VISVA4D.js} +2 -2
- package/dist/cdn/7WUK45ZG.js +4 -0
- package/dist/cdn/{KBZ46AZB.js → A4ZEKZ4A.js} +2 -2
- package/dist/cdn/{XWVEOBZY.js → A6FVCGWL.js} +2 -2
- package/dist/cdn/ADMUAEQY.js +4 -0
- package/dist/cdn/AFOGFAIV.js +4 -0
- package/dist/cdn/AG4CIIJW.js +9 -0
- package/dist/cdn/{GWZVUYWG.js → AMKOCW7N.js} +2 -2
- package/dist/cdn/ARMSNP4Q.js +4 -0
- package/dist/cdn/AW5GT6RH.js +4 -0
- package/dist/cdn/B2IC2QXP.js +4 -0
- package/dist/cdn/B5JPQ55Y.js +4 -0
- package/dist/cdn/{K5Q7ZDK6.js → BBXJEFJA.js} +2 -2
- package/dist/cdn/{S57WM3UW.js → BCAIT37C.js} +2 -2
- package/dist/cdn/{JKK3KMTQ.js → BDHD2ICU.js} +2 -2
- package/dist/cdn/{NCV3ZNHB.js → BDPWXJ4D.js} +2 -2
- package/dist/cdn/BGSBVCD4.js +4 -0
- package/dist/cdn/{T77V6MVE.js → BKGUQMSX.js} +2 -2
- package/dist/cdn/{GWEK6NJW.js → BMUKBZNV.js} +2 -2
- package/dist/cdn/{DDX32HNA.js → BMWTQ7ZJ.js} +2 -2
- package/dist/cdn/BNAADXVM.js +4 -0
- package/dist/cdn/{3IKTR6VS.js → BQWBWGWQ.js} +1 -1
- package/dist/cdn/{ID7ZALPM.js → BSLSVJZ6.js} +2 -2
- package/dist/cdn/BU7VU36T.js +4 -0
- package/dist/cdn/BW7MX5NE.js +4 -0
- package/dist/cdn/C7HYOPGE.js +4 -0
- package/dist/cdn/{QUEYDMQM.js → CSVYSYIQ.js} +2 -2
- package/dist/cdn/CV7RDRUN.js +4 -0
- package/dist/cdn/CZ2Z763U.js +4 -0
- package/dist/cdn/D6IXVUGA.js +4 -0
- package/dist/cdn/{IGQM4UBV.js → DASSOD44.js} +2 -2
- package/dist/cdn/DDFF5DRX.js +4 -0
- package/dist/cdn/DIJ4C4PA.js +4 -0
- package/dist/cdn/{KEBAU3JT.js → DJGPKIJ2.js} +2 -2
- package/dist/cdn/{XSCRYZTU.js → DKYQBK25.js} +2 -2
- package/dist/cdn/{M43ZPMYR.js → DQLWGJ56.js} +2 -2
- package/dist/cdn/{MWEAYQ6P.js → DWBSZ7KP.js} +2 -2
- package/dist/cdn/DX6OMRAG.js +4 -0
- package/dist/cdn/E4COUMHQ.js +4 -0
- package/dist/cdn/EGWQEQA4.js +4 -0
- package/dist/cdn/{HRMU6ZLG.js → EI5WAWRV.js} +2 -2
- package/dist/cdn/EM3PKFCT.js +4 -0
- package/dist/cdn/ENOHO5E5.js +4 -0
- package/dist/cdn/{PTWD2CWF.js → EY7U3QWU.js} +2 -2
- package/dist/cdn/FEUABVG6.js +4 -0
- package/dist/cdn/FHBTBRCK.js +4 -0
- package/dist/cdn/FJUEY2XM.js +4 -0
- package/dist/cdn/FVUQJZH4.js +4 -0
- package/dist/cdn/G6OBVLJ3.js +4 -0
- package/dist/cdn/G6QWH3H3.js +4 -0
- package/dist/cdn/G7COATOP.js +4 -0
- package/dist/cdn/{2YFA7MO7.js → GJB4LQ3N.js} +2 -2
- package/dist/cdn/{XKZUF3A3.js → GLAEHKFG.js} +2 -2
- package/dist/cdn/GMPJWAF7.js +4 -0
- package/dist/cdn/{B4TY42RA.js → GNBLUEPN.js} +2 -2
- package/dist/cdn/GO633MWK.js +4 -0
- package/dist/cdn/{V3APUWXR.js → GSPQFRRZ.js} +2 -2
- package/dist/cdn/{NJRBHNFE.js → H5GKQ5RT.js} +2 -2
- package/dist/cdn/H5XNWPQA.js +4 -0
- package/dist/cdn/{LW2KXU4H.js → HAFMCR3P.js} +2 -2
- package/dist/cdn/HDLGOCLJ.js +4 -0
- package/dist/cdn/{OQOY43UX.js → HGUM6T4D.js} +2 -2
- package/dist/cdn/{SOMLC3JY.js → HH2PNDDP.js} +2 -2
- package/dist/cdn/{XIM54QCG.js → HU7UE6TH.js} +2 -2
- package/dist/cdn/{C7RJNWOA.js → HVGS2DG4.js} +1 -1
- package/dist/cdn/{DQLQ6VQI.js → I5NFUC37.js} +2 -2
- package/dist/cdn/{GMXKAB4P.js → IHJIS7XW.js} +1 -1
- package/dist/cdn/{ADZMLGPK.js → IKZS66JU.js} +2 -2
- package/dist/cdn/{3UM5ZMDK.js → INXI7RR3.js} +2 -2
- package/dist/cdn/{EXQRV7AV.js → IPY2L3RX.js} +2 -2
- package/dist/cdn/J33RLNXM.js +4 -0
- package/dist/cdn/{VKB3RDAQ.js → J6UDPT2Y.js} +1 -1
- package/dist/cdn/{YCMFGIA7.js → JDH3VQI5.js} +2 -2
- package/dist/cdn/{DSG63V6Y.js → JFQDPWFY.js} +2 -2
- package/dist/cdn/JLV6XFX5.js +4 -0
- package/dist/cdn/{7BF6TZXK.js → JSQ62FJ7.js} +2 -2
- package/dist/cdn/{7JWW45TB.js → JXDE7L3B.js} +2 -2
- package/dist/cdn/JXSZBQPS.js +4 -0
- package/dist/cdn/K42RGKKB.js +4 -0
- package/dist/cdn/KB4TF4OS.js +4 -0
- package/dist/cdn/KHT5OCKA.js +4 -0
- package/dist/cdn/KKV7S4RI.js +4 -0
- package/dist/cdn/{A7KL6REP.js → KLXCCO2P.js} +2 -2
- package/dist/cdn/{GMRX73WP.js → KRZGZZMA.js} +2 -2
- package/dist/cdn/{MOOKKPWD.js → KUNJMMPY.js} +2 -2
- package/dist/cdn/L34THDK5.js +4 -0
- package/dist/cdn/LKP3SMRC.js +4 -0
- package/dist/cdn/LTBFINQD.js +4 -0
- package/dist/cdn/LWVLNIFG.js +4 -0
- package/dist/cdn/LZOJ6ZJY.js +4 -0
- package/dist/cdn/{FUGPLS6Q.js → M3DBPTBB.js} +2 -2
- package/dist/cdn/{L2VWD5AA.js → M3MGFQTU.js} +2 -2
- package/dist/cdn/MAQHWSLW.js +4 -0
- package/dist/cdn/{FLOAUQJS.js → MGSE5NQG.js} +2 -2
- package/dist/cdn/MI6I7OID.js +4 -0
- package/dist/cdn/{4SNBAULO.js → MKTQ6XG3.js} +2 -2
- package/dist/cdn/MROBISKT.js +4 -0
- package/dist/cdn/MSHWSQV6.js +4 -0
- package/dist/cdn/N2FIU3XG.js +4 -0
- package/dist/cdn/{LJEJWOTO.js → N6LXSKRC.js} +2 -2
- package/dist/cdn/{OKEKQ465.js → NJYDODNT.js} +2 -2
- package/dist/cdn/{HI46JHLQ.js → NK62SOMR.js} +2 -2
- package/dist/cdn/NSU5A4GR.js +4 -0
- package/dist/cdn/{VESDBJJS.js → NYTNXFQM.js} +2 -2
- package/dist/cdn/{U3YH2U3R.js → O42FKS4I.js} +2 -2
- package/dist/cdn/{BZWAV4OI.js → OCRSTQRR.js} +2 -2
- package/dist/cdn/OOWNJQKH.js +4 -0
- package/dist/cdn/{RCUV5H2V.js → OWZ4XPKA.js} +1 -1
- package/dist/cdn/OZMDT3WG.js +4 -0
- package/dist/cdn/{SEPN6RPM.js → PC5HB54U.js} +1 -1
- package/dist/cdn/{ZHBKFF6D.js → PU7TL6AA.js} +2 -2
- package/dist/cdn/PWFQBEIJ.js +4 -0
- package/dist/cdn/{2UUSKOCF.js → Q5VAVW45.js} +2 -2
- package/dist/cdn/{TCN4TY3G.js → Q6TN6CLX.js} +2 -2
- package/dist/cdn/QAP35FTO.js +4 -0
- package/dist/cdn/QC2ZOZYE.js +4 -0
- package/dist/cdn/QCPPNULA.js +4 -0
- package/dist/cdn/QCXSRQ7I.js +4 -0
- package/dist/cdn/{DELMWERE.js → QDJY6OF4.js} +2 -2
- package/dist/cdn/QHZOFYYX.js +4 -0
- package/dist/cdn/QPTJW4W6.js +4 -0
- package/dist/cdn/R6C3V6CT.js +4 -0
- package/dist/cdn/RABO7JHJ.js +4 -0
- package/dist/cdn/RBOWHVEK.js +4 -0
- package/dist/cdn/{EXYDF553.js → RCPGQYPK.js} +1 -1
- package/dist/cdn/RJCUM3FO.js +4 -0
- package/dist/cdn/RVJKKKXV.js +4 -0
- package/dist/cdn/{MS724JQD.js → RXF5NSDX.js} +2 -2
- package/dist/cdn/{7CKYJWVX.js → RXOPFSHS.js} +2 -2
- package/dist/cdn/{JEJFR6MK.js → RXVQ2DKV.js} +2 -2
- package/dist/cdn/S5M4JNOV.js +5 -0
- package/dist/cdn/SATE43NH.js +4 -0
- package/dist/cdn/SCW5PJDH.js +4 -0
- package/dist/cdn/{42QXWX4H.js → SI6ZKIMV.js} +2 -2
- package/dist/cdn/SOCQWZ63.js +4 -0
- package/dist/cdn/SS4EZKFK.js +4 -0
- package/dist/cdn/{OAVOB53K.js → SSQUK45S.js} +2 -2
- package/dist/cdn/SWE7VCR7.js +4 -0
- package/dist/cdn/TDXINZN4.js +4 -0
- package/dist/cdn/{NGCUJMMV.js → TGDPMVTN.js} +2 -2
- package/dist/cdn/{F7PYYQH3.js → THT5R25E.js} +1 -1
- package/dist/cdn/TP2CW6AV.js +4 -0
- package/dist/cdn/{IOTAY2KD.js → TTYIND6L.js} +2 -2
- package/dist/cdn/TU5RGHMP.js +4 -0
- package/dist/cdn/TX5EL3DI.js +4 -0
- package/dist/cdn/TZM5LVRG.js +4 -0
- package/dist/cdn/{4OPRCCEM.js → U23L6G2K.js} +2 -2
- package/dist/cdn/{K3GYNTLH.js → U2NWYA7E.js} +2 -2
- package/dist/cdn/U3RXO3AF.js +4 -0
- package/dist/cdn/{EVUBVCYC.js → U6PZMI5N.js} +2 -2
- package/dist/cdn/UH25J5WF.js +4 -0
- package/dist/cdn/{WMNU6EQE.js → UZY4NDKT.js} +2 -2
- package/dist/cdn/{5ZM27QOF.js → V7CGCDO7.js} +2 -2
- package/dist/cdn/{SFUUC5SB.js → VAWBVNOT.js} +2 -2
- package/dist/cdn/VF22HLA2.js +4 -0
- package/dist/cdn/VNFMYQRM.js +4 -0
- package/dist/cdn/VSGFTRI7.js +4 -0
- package/dist/cdn/W3QH7L7A.js +4 -0
- package/dist/cdn/W7LG52RY.js +4 -0
- package/dist/cdn/W7XPCFFB.js +4 -0
- package/dist/cdn/WF35HF6W.js +4 -0
- package/dist/cdn/WIAZWMVB.js +4 -0
- package/dist/cdn/{2QL4MBR6.js → WSSPJJWI.js} +2 -2
- package/dist/cdn/WVLBYRNT.js +4 -0
- package/dist/cdn/{ZKHGJOMM.js → WYQ7CEHU.js} +2 -2
- package/dist/cdn/X6DNLSOT.js +4 -0
- package/dist/cdn/XG5UMQDO.js +4 -0
- package/dist/cdn/XO7WAX3Z.js +4 -0
- package/dist/cdn/XVILAKUO.js +4 -0
- package/dist/cdn/XWEHNLWM.js +4 -0
- package/dist/cdn/XXRFJH47.js +4 -0
- package/dist/cdn/{CT5WHZRX.js → Y3PZ3VS4.js} +2 -2
- package/dist/cdn/YBYX2MRT.js +4 -0
- package/dist/cdn/{IUNO4GDY.js → YC24QOXO.js} +1 -1
- package/dist/cdn/{DNDRYUZU.js → YDFXO6FV.js} +2 -2
- package/dist/cdn/YILTHN24.js +4 -0
- package/dist/cdn/{SLNGCIFR.js → YN4ORVC2.js} +2 -2
- package/dist/cdn/YOLYANMW.js +4 -0
- package/dist/cdn/{KYNMU5VZ.js → YQPWDJTY.js} +2 -2
- package/dist/cdn/YT4FVBLG.js +4 -0
- package/dist/cdn/{T3BYAPRC.js → YWZBNUOQ.js} +2 -2
- package/dist/cdn/YXYMU3G5.js +4 -0
- package/dist/cdn/Z5WLH6FQ.js +4 -0
- package/dist/cdn/{53EJENRW.js → ZD5UJXZN.js} +1 -1
- package/dist/cdn/ZITUEUAB.js +4 -0
- package/dist/cdn/{SOKL4WDT.js → ZKERGRZT.js} +2 -2
- package/dist/cdn/{EE5HN4P2.js → ZMZZSVEN.js} +2 -2
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +1 -1
- 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/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +40 -36
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +80 -62
- 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 +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +7 -7
- 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/components/arcgis-area-measurement-2d/customElement.d.ts +3 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +8 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.js +30 -31
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -5
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -1
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.js +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +42 -43
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +79 -35
- package/dist/components/arcgis-daylight/customElement.js +110 -114
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +9 -10
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -12
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +50 -58
- package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +3 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +3 -3
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +5 -5
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- 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-next/ElevationProfileViewModel.d.ts +17 -6
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +4 -4
- package/dist/components/arcgis-elevation-profile-next/customElement.js +212 -163
- package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +2 -11
- 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/customElement.d.ts +6 -8
- package/dist/components/arcgis-expand/customElement.js +29 -35
- package/dist/components/arcgis-feature/customElement.d.ts +6 -5
- 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.d.ts +2 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
- 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 +1 -1
- 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 +7 -6
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
- 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-feature-utility-network-associations/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
- package/dist/components/arcgis-features/customElement.d.ts +4 -5
- package/dist/components/arcgis-features/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -2
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- 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 +1 -1
- 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 +2 -2
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +59 -3
- package/dist/components/arcgis-link-chart/customElement.js +20 -22
- package/dist/components/arcgis-link-chart/index.d.ts +2 -0
- package/dist/components/arcgis-link-chart/index.js +2 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +95 -34
- package/dist/components/arcgis-map/customElement.js +29 -31
- package/dist/components/arcgis-map/index.d.ts +2 -0
- package/dist/components/arcgis-map/index.js +2 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -5
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +3 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +48 -16
- package/dist/components/arcgis-popup/customElement.js +72 -72
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- 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-exported-link/customElement.js +38 -48
- package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- 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 +17 -15
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +45 -5
- package/dist/components/arcgis-scene/customElement.js +27 -29
- package/dist/components/arcgis-scene/index.d.ts +2 -0
- package/dist/components/arcgis-scene/index.js +2 -0
- package/dist/components/arcgis-search/customElement.d.ts +16 -18
- 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 +3 -3
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +4 -4
- package/dist/components/arcgis-sketch/customElement.js +2 -2
- package/dist/components/arcgis-slice/customElement.d.ts +1 -1
- 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 +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +3 -3
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +11 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/customElement.js +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 +2 -2
- package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -48
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +30 -51
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +7 -8
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +214 -56
- 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 +44 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +194 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +3 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +2 -2
- 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 +1 -1
- 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 +9 -2
- package/dist/components/arcgis-video/customElement.js +15 -9
- package/dist/components/arcgis-video-player/customElement.d.ts +2 -2
- 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 +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +1 -1
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/controllers/uiController.d.ts +11 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +1465 -1189
- package/dist/docs/docs.json +1435 -1037
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +166 -231
- package/dist/docs/web-types.json +469 -362
- package/dist/index.d.ts +33 -20
- package/dist/index.js +1 -1
- package/dist/loader.js +22 -19
- package/dist/support/AnalysisViewModel.d.ts +1 -0
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/slots.d.ts +1 -1
- package/dist/types/lumina.d.ts +28 -15
- package/dist/types/preact.d.ts +30 -16
- package/dist/types/preact10.d.ts +32 -17
- package/dist/types/react.d.ts +32 -17
- package/dist/types/stencil.d.ts +28 -15
- 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/2ABU443O.js +0 -4
- package/dist/cdn/2LYAFHOG.js +0 -4
- package/dist/cdn/2X42KENH.js +0 -4
- package/dist/cdn/3GOJ3L5A.js +0 -4
- package/dist/cdn/3H4MAGDU.js +0 -4
- package/dist/cdn/3LBGFTG4.js +0 -4
- package/dist/cdn/443UF6ND.js +0 -4
- package/dist/cdn/4EKVN2G7.js +0 -4
- package/dist/cdn/4JGOSQMJ.js +0 -4
- package/dist/cdn/4L4EMIWX.js +0 -4
- package/dist/cdn/4NAR65FM.js +0 -4
- package/dist/cdn/4NZNNIW4.js +0 -4
- package/dist/cdn/4QUI24BM.js +0 -4
- package/dist/cdn/4ZVQXWPU.js +0 -4
- package/dist/cdn/55TYV6SS.js +0 -4
- package/dist/cdn/56CNVNWC.js +0 -9
- package/dist/cdn/5CTVGNOG.js +0 -4
- package/dist/cdn/5S546GEJ.js +0 -4
- package/dist/cdn/6ONVXD3F.js +0 -4
- package/dist/cdn/6VR4KXG4.js +0 -4
- package/dist/cdn/7JWZ6WMI.js +0 -4
- package/dist/cdn/7LQEVAFG.js +0 -4
- package/dist/cdn/7O6BYFZT.js +0 -4
- package/dist/cdn/7VHCUTDX.js +0 -4
- package/dist/cdn/A5PCP4UZ.js +0 -4
- package/dist/cdn/ACOZPFBS.js +0 -4
- package/dist/cdn/AIE6ABFJ.js +0 -4
- package/dist/cdn/ANNCBYQ4.js +0 -4
- package/dist/cdn/B7P75WLO.js +0 -4
- package/dist/cdn/BAG6ZD4C.js +0 -4
- package/dist/cdn/BC26BQJE.js +0 -4
- package/dist/cdn/BKRVU6NB.js +0 -4
- package/dist/cdn/BT3CCAKU.js +0 -4
- package/dist/cdn/BZWMKXFD.js +0 -4
- package/dist/cdn/DDFQHH4T.js +0 -4
- package/dist/cdn/F42WR2KG.js +0 -4
- package/dist/cdn/FLGSSZCA.js +0 -4
- package/dist/cdn/FXAZDV22.js +0 -4
- package/dist/cdn/GVLCW3KB.js +0 -4
- package/dist/cdn/H5LJ4EI5.js +0 -4
- package/dist/cdn/HKDCTJ4N.js +0 -4
- package/dist/cdn/HNQAWGEN.js +0 -4
- package/dist/cdn/HNYGMKKJ.js +0 -4
- package/dist/cdn/HONXVVWS.js +0 -4
- package/dist/cdn/HRNRYC5Q.js +0 -4
- package/dist/cdn/IGQOSGHX.js +0 -4
- package/dist/cdn/IKNRSFWX.js +0 -5
- package/dist/cdn/IMLRCSF7.js +0 -4
- package/dist/cdn/IPGZD2C2.js +0 -4
- package/dist/cdn/IWZF3ZFJ.js +0 -4
- package/dist/cdn/J4EZ2X2C.js +0 -4
- package/dist/cdn/JD7NCLEN.js +0 -4
- package/dist/cdn/JK4B6OM6.js +0 -4
- package/dist/cdn/JRJOS5VN.js +0 -4
- package/dist/cdn/JRU5LK6B.js +0 -4
- package/dist/cdn/JULYEPM5.js +0 -4
- package/dist/cdn/KQ4KIIUY.js +0 -4
- package/dist/cdn/LBZO6H7A.js +0 -4
- package/dist/cdn/LDXGIM6Z.js +0 -4
- package/dist/cdn/LLYWMKR3.js +0 -4
- package/dist/cdn/LUKVX5GF.js +0 -4
- package/dist/cdn/LUQ6NIJV.js +0 -4
- package/dist/cdn/M76STHQT.js +0 -4
- package/dist/cdn/MFCJHVPX.js +0 -4
- package/dist/cdn/MIRZXXAK.js +0 -4
- package/dist/cdn/MS27ZNB6.js +0 -4
- package/dist/cdn/N3J3SWM7.js +0 -4
- package/dist/cdn/N6CFUROA.js +0 -4
- package/dist/cdn/NFSQPAAU.js +0 -4
- package/dist/cdn/NG7P6VOK.js +0 -4
- package/dist/cdn/NHY2PQJJ.js +0 -4
- package/dist/cdn/NJVB7ZLX.js +0 -4
- package/dist/cdn/P34WNOEX.js +0 -4
- package/dist/cdn/PUPUWJBY.js +0 -4
- package/dist/cdn/QNVPUZNY.js +0 -4
- package/dist/cdn/RN5L3ZSL.js +0 -4
- package/dist/cdn/RSGU5OJQ.js +0 -4
- package/dist/cdn/S3LDELWL.js +0 -4
- package/dist/cdn/SHQUFFBF.js +0 -4
- package/dist/cdn/SK64U7Z2.js +0 -4
- package/dist/cdn/SMYTWYGP.js +0 -4
- package/dist/cdn/SOPUMOKS.js +0 -4
- package/dist/cdn/TNWXMQOG.js +0 -4
- package/dist/cdn/TQ7LQYAE.js +0 -4
- package/dist/cdn/TWBTJV4V.js +0 -4
- package/dist/cdn/U7FJT636.js +0 -4
- package/dist/cdn/VTQUONQX.js +0 -4
- package/dist/cdn/WECVZJHB.js +0 -4
- package/dist/cdn/WIYF4ODA.js +0 -4
- package/dist/cdn/WTCGQIMA.js +0 -4
- package/dist/cdn/WVQ3U5YC.js +0 -4
- package/dist/cdn/XCSN24IP.js +0 -4
- package/dist/cdn/XUIMDOP7.js +0 -4
- package/dist/cdn/XXHAZXR7.js +0 -4
- package/dist/cdn/Y23YPB3G.js +0 -4
- package/dist/cdn/YM274DMT.js +0 -4
- package/dist/cdn/YQIWRVI7.js +0 -4
- package/dist/cdn/YXS5KPZR.js +0 -4
- package/dist/cdn/YYELAI4Z.js +0 -4
- package/dist/cdn/Z4Q536P6.js +0 -4
- package/dist/cdn/Z6SQULCL.js +0 -4
- package/dist/cdn/ZA676A7N.js +0 -4
- package/dist/cdn/ZDLPT4R6.js +0 -4
- package/dist/cdn/ZHJWHENF.js +0 -4
- package/dist/cdn/ZJMYDJNR.js +0 -4
- package/dist/cdn/ZRF2VRDP.js +0 -4
- package/dist/chunks/uiController.js +0 -45
- 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
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { html as a } from "lit";
|
|
2
|
+
import { when as c, watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
3
|
+
import { GenericController as u, useDirection as h, makeGenericController as n } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { getSlotAssignedElements as f } from "@arcgis/toolkit/dom";
|
|
5
|
+
import { a as d } from "./slots.js";
|
|
6
|
+
import { createEvent as l } from "@arcgis/lumina";
|
|
7
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
+
v5.0.0-next.20 */
|
|
10
|
+
class R extends u {
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region Lifecycle
|
|
13
|
+
constructor(o) {
|
|
14
|
+
super(o), this.direction = h(), this.component.listen("arcgisViewClick", (r) => {
|
|
15
|
+
this._handleOpenPopup(r.detail);
|
|
16
|
+
}), this.component.listenOn(globalThis, "unhandledrejection", (r) => {
|
|
17
|
+
if (r.reason?.name === "webgl:required") {
|
|
18
|
+
const { name: e } = r.reason;
|
|
19
|
+
this.webGLError = { name: e };
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region Private Methods
|
|
25
|
+
hostLifecycle() {
|
|
26
|
+
return c(() => this.component.view.popup?.visible, () => {
|
|
27
|
+
this.popupRef?.visible && (this.popupRef.visible = !1);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
openPopup(o) {
|
|
31
|
+
this.popupRef ? this.popupRef.open(o) : this.component.view.openPopup(o);
|
|
32
|
+
}
|
|
33
|
+
closePopup() {
|
|
34
|
+
this.popupRef ? this.popupRef.visible = !1 : this.component.view.closePopup();
|
|
35
|
+
}
|
|
36
|
+
async _handleOpenPopup(o) {
|
|
37
|
+
if (this.popupRef && !this.component.popupDisabled) {
|
|
38
|
+
o.stopPropagation();
|
|
39
|
+
const { location: r, promises: e } = await this.popupRef?.handleViewClick(o);
|
|
40
|
+
e?.length && (this.component.view.closePopup(), this.popupRef?.open({ location: r, promises: e }));
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
_handlePopupSlotChange(o) {
|
|
44
|
+
const r = f(o.target, "arcgis-popup");
|
|
45
|
+
!this.popupRef && r.length ? this.popupRef = r[0] : r.length || (this.popupRef = void 0);
|
|
46
|
+
}
|
|
47
|
+
_webGLErrorAlert() {
|
|
48
|
+
return this.webGLError ? a`<calcite-alert icon=x-octagon kind=danger open .label=${this.webGLError.name}><div slot=title>Unable to display map. WebGL2 support is required.</div><div slot=message>Ensure that your browser and hardware meet the minimum requirements.</div><calcite-link slot=link href=https://esriurl.com/webgl-faq>https://esriurl.com/webgl-faq</calcite-link></calcite-alert>` : null;
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region Rendering
|
|
52
|
+
render() {
|
|
53
|
+
return d(this.direction, (o) => this._handlePopupSlotChange(o), this._webGLErrorAlert());
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
const L = n((t, o) => {
|
|
57
|
+
const r = l();
|
|
58
|
+
return o.onLifecycle(
|
|
59
|
+
() => p(
|
|
60
|
+
() => {
|
|
61
|
+
const { map: e } = t;
|
|
62
|
+
if (!e || e.destroyed)
|
|
63
|
+
return [];
|
|
64
|
+
const i = [];
|
|
65
|
+
return e.loadError && i.push(e), e.basemap?.loadError && i.push(e.basemap), e.ground.loadError && i.push(e.ground), [...e.allLayers, ...e.allTables].forEach((s) => {
|
|
66
|
+
s.loadError && i.push(s);
|
|
67
|
+
}), i;
|
|
68
|
+
},
|
|
69
|
+
(e) => {
|
|
70
|
+
e.length && (t.loadErrorSources = e, r.emit());
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
), r;
|
|
74
|
+
}), y = n(
|
|
75
|
+
(t, o) => {
|
|
76
|
+
const r = l();
|
|
77
|
+
return o.onLifecycle(
|
|
78
|
+
() => p(
|
|
79
|
+
() => t.view?.readyState,
|
|
80
|
+
(e) => {
|
|
81
|
+
(e === "map-content-error" || e === "rendering-error") && r.emit();
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
), r;
|
|
85
|
+
}
|
|
86
|
+
);
|
|
87
|
+
export {
|
|
88
|
+
R as U,
|
|
89
|
+
y as a,
|
|
90
|
+
L as u
|
|
91
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toFunction as i, Controller as n } from "@arcgis/lumina/controllers";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
v5.0.0-next.
|
|
4
|
+
v5.0.0-next.20 */
|
|
5
5
|
class o {
|
|
6
6
|
constructor() {
|
|
7
7
|
this._groups = /* @__PURE__ */ new Map();
|
package/dist/chunks/useT9n.js
CHANGED
|
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
|
|
|
2
2
|
import { g as t } from "./runtime.js";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.20 */
|
|
6
6
|
const s = o(t);
|
|
7
7
|
export {
|
|
8
8
|
s as u
|
package/dist/chunks/useView.js
CHANGED
|
@@ -3,7 +3,7 @@ import { a as t } from "./component-utils.js";
|
|
|
3
3
|
import * as r from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.20 */
|
|
7
7
|
const p = (o) => l(o);
|
|
8
8
|
class c extends s {
|
|
9
9
|
#e;
|
|
@@ -5,7 +5,7 @@ import { V as m } from "./useView.js";
|
|
|
5
5
|
import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
8
|
+
v5.0.0-next.20 */
|
|
9
9
|
const v = (t, o) => (e) => a(e, t);
|
|
10
10
|
class r extends i {
|
|
11
11
|
#o = void 0;
|
package/dist/chunks/useWidget.js
CHANGED
|
@@ -5,7 +5,7 @@ import { V as g } from "./useView.js";
|
|
|
5
5
|
import { watch as m } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
8
|
+
v5.0.0-next.20 */
|
|
9
9
|
const I = (d, e) => (t) => C(t, d);
|
|
10
10
|
class p extends b {
|
|
11
11
|
#o = /* @__PURE__ */ new Map();
|
package/dist/chunks/utils.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { formatNumber as r } from "@arcgis/core/intl.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
v5.0.0-next.
|
|
5
|
-
const
|
|
4
|
+
v5.0.0-next.20 */
|
|
5
|
+
const p = /* @__PURE__ */ new Map([
|
|
6
6
|
["a3-landscape", "a3-landscape"],
|
|
7
7
|
["a3-portrait", "a3-portrait"],
|
|
8
8
|
["a4-landscape", "a4-landscape"],
|
|
@@ -12,10 +12,6 @@ const s = /* @__PURE__ */ new Map([
|
|
|
12
12
|
["tabloid-ansi-b-landscape", "ansi-b-landscape"],
|
|
13
13
|
["tabloid-ansi-b-portrait", "ansi-b-portrait"]
|
|
14
14
|
]), u = /^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/iu;
|
|
15
|
-
function d(a) {
|
|
16
|
-
const t = a?.closest("[dir]");
|
|
17
|
-
return t !== null && t instanceof HTMLElement && t.dir === "rtl" || document.dir === "rtl";
|
|
18
|
-
}
|
|
19
15
|
function f(a) {
|
|
20
16
|
if (!a)
|
|
21
17
|
return;
|
|
@@ -25,12 +21,12 @@ function f(a) {
|
|
|
25
21
|
const [e, n] = t.pageSize;
|
|
26
22
|
return `${r(e)} × ${r(n)} ${a.pageUnits}`;
|
|
27
23
|
}
|
|
28
|
-
function
|
|
29
|
-
const { label: e, layout: n, layoutItem:
|
|
30
|
-
return
|
|
24
|
+
function d(a, t) {
|
|
25
|
+
const { label: e, layout: n, layoutItem: i, type: o } = a;
|
|
26
|
+
return o === "print-service-template" && t[n] ? t[n] : (e ?? n ?? i?.id)?.replaceAll("_", " ") ?? t.untitled;
|
|
31
27
|
}
|
|
32
28
|
function g(a) {
|
|
33
|
-
return
|
|
29
|
+
return p.get(a);
|
|
34
30
|
}
|
|
35
31
|
const b = /* @__PURE__ */ new Map([
|
|
36
32
|
["AIX", "aix"],
|
|
@@ -43,16 +39,15 @@ const b = /* @__PURE__ */ new Map([
|
|
|
43
39
|
["SVG", "svg"],
|
|
44
40
|
["SVGZ", "svgz"],
|
|
45
41
|
["TIFF", "tiff"]
|
|
46
|
-
]),
|
|
47
|
-
function
|
|
48
|
-
return a?.toLowerCase() ===
|
|
42
|
+
]), s = "map-only";
|
|
43
|
+
function m(a) {
|
|
44
|
+
return a?.toLowerCase() === s;
|
|
49
45
|
}
|
|
50
46
|
export {
|
|
51
|
-
|
|
47
|
+
d as a,
|
|
52
48
|
g as b,
|
|
53
|
-
d as c,
|
|
54
49
|
b as f,
|
|
55
50
|
f as g,
|
|
56
|
-
|
|
51
|
+
m as i,
|
|
57
52
|
u as r
|
|
58
53
|
};
|
package/dist/chunks/utils2.js
CHANGED
|
@@ -2,7 +2,7 @@ import { substitute as o, formatNumber as l } from "@arcgis/core/intl.js";
|
|
|
2
2
|
import { stripHTML as s } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.20 */
|
|
6
6
|
function d(r, t) {
|
|
7
7
|
return t;
|
|
8
8
|
}
|
|
@@ -7,7 +7,7 @@ import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
|
7
7
|
|
|
8
8
|
declare const useAreaMeasurement2dWidget: (component: LitElement & Pick<AreaMeasurement2D & {
|
|
9
9
|
viewModel: __esri.Accessor;
|
|
10
|
-
}, "
|
|
10
|
+
}, "label" | "viewModel" | "icon" | "snappingOptions" | "unit" | "unitOptions"> & {
|
|
11
11
|
state?: unknown;
|
|
12
12
|
viewModel?: (__esri.AreaMeasurement2DViewModel & __esri.Accessor) | undefined;
|
|
13
13
|
closed?: boolean;
|
|
@@ -67,7 +67,7 @@ export declare class ArcgisAreaMeasurement2d extends LitElement {
|
|
|
67
67
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D.html#label)
|
|
68
68
|
*/
|
|
69
69
|
label: string;
|
|
70
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
70
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
71
71
|
position?: __esri.UIPosition;
|
|
72
72
|
/**
|
|
73
73
|
* 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.
|
|
@@ -86,7 +86,7 @@ export declare class ArcgisAreaMeasurement2d extends LitElement {
|
|
|
86
86
|
*
|
|
87
87
|
* @default "disabled"
|
|
88
88
|
*/
|
|
89
|
-
readonly state: "ready" | "disabled" | "
|
|
89
|
+
readonly state: "ready" | "disabled" | "measuring" | "measured";
|
|
90
90
|
/**
|
|
91
91
|
* Unit system (imperial, metric) or specific unit used for displaying the area values.
|
|
92
92
|
*
|
|
@@ -6,7 +6,7 @@ import { m as a } 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.
|
|
9
|
+
v5.0.0-next.20 */
|
|
10
10
|
const s = n`.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-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}`, c = a(
|
|
11
11
|
// Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/61559
|
|
12
12
|
i
|
|
@@ -1,12 +1,11 @@
|
|
|
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 { MeasurementModeString, MeasurementState, MeasurementValue } from '../../support/measurementUtils';
|
|
4
|
+
import { Area, Length, MeasurementModeString, MeasurementState, MeasurementValue, SystemOrAreaUnit } from '../../support/measurementUtils';
|
|
6
5
|
export interface Measurement {
|
|
7
6
|
readonly mode: MeasurementModeString;
|
|
8
|
-
readonly area: MeasurementValue<
|
|
9
|
-
readonly perimeter: MeasurementValue<
|
|
7
|
+
readonly area: MeasurementValue<Area>;
|
|
8
|
+
readonly perimeter: MeasurementValue<Length>;
|
|
10
9
|
}
|
|
11
10
|
export default class AreaMeasurement3dViewModel extends AnalysisViewModel<SceneView, AreaMeasurementAnalysis> {
|
|
12
11
|
initialize(): void;
|
|
@@ -19,16 +18,16 @@ export default class AreaMeasurement3dViewModel extends AnalysisViewModel<SceneV
|
|
|
19
18
|
/**
|
|
20
19
|
* List of unit systems (imperial, metric) and specific units for displaying the distance values.
|
|
21
20
|
*/
|
|
22
|
-
get unitOptions():
|
|
23
|
-
set unitOptions(units:
|
|
21
|
+
get unitOptions(): SystemOrAreaUnit[];
|
|
22
|
+
set unitOptions(units: SystemOrAreaUnit[] | undefined);
|
|
24
23
|
private _userUnitOptions?;
|
|
25
24
|
/**
|
|
26
25
|
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
27
26
|
*/
|
|
28
|
-
get unit():
|
|
29
|
-
set unit(unit:
|
|
27
|
+
get unit(): SystemOrAreaUnit;
|
|
28
|
+
set unit(unit: SystemOrAreaUnit | undefined);
|
|
30
29
|
private _userUnit?;
|
|
31
|
-
get
|
|
30
|
+
private get _defaultUnit();
|
|
32
31
|
place(options?: {
|
|
33
32
|
signal?: AbortSignal;
|
|
34
33
|
}): Promise<void>;
|
|
@@ -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.
|
|
@@ -140,7 +140,7 @@ export declare class ArcgisAreaMeasurement3d extends LitElement {
|
|
|
140
140
|
* * `measuring` - currently measuring
|
|
141
141
|
* * `measured` - measuring has finished
|
|
142
142
|
*/
|
|
143
|
-
readonly state: "ready" | "disabled" | "
|
|
143
|
+
readonly state: "ready" | "disabled" | "measuring" | "measured";
|
|
144
144
|
/**
|
|
145
145
|
* Unit system (imperial, metric) or specific unit used for displaying the area values. Possible values are listed in
|
|
146
146
|
* [unitOptions](#unitOptions).
|
|
@@ -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 { A as U } from "../../chunks/AnalysisViewModel.js";
|
|
13
14
|
import { g, a as u } from "../../chunks/measurementUtils.js";
|
|
14
|
-
import {
|
|
15
|
+
import { b 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.20 */
|
|
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{.esri-widget--panel{min-width:0}}`;
|
|
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 && 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.
|
|
@@ -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.20 */
|
|
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+Tz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Vn0cdO/rsJpulXvfeXF7gHV4fGeDWoEqfniFjZCPiWOSgIdsk2WVipdhK4+ffSujpKWmp6grEQAh+QQJBAAKACwXAAYACQAbAAAEEFDISau9OOvNu/9gKI5kyUUAIfkECQQACgAsAAAAACEAJwAABElQyUmrvTjrzbv/YCiOZGkqQaqqJ7qu7QufMkvXQYzrNS/7L+DMhMvdesdfMrgclopCG3HXlD6pU2RWuWV2nSRoa0wum8/o9CYCACH5BAUEAAoALAAAAAAhACcAAARsUMlJq7046827/2AojmRpckmqqtLqti6rxDKdwjQe6+9s8ytg7efLFXfHni0hvCWDz6Fx2WRGndSrNcsldqfeMHiM/JbFZ7ISvVZDze20PE5/s+1u6Ry/19f9fH9Yd4CFTieIiYqLjI2OjyQRACH5BAUEAAoALAAAAAABAAEAAAQCUEUAIfkEBQQACgAsAAAAAAEAAQAABAJQRQA7) 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
|
};
|