@arcgis/map-components 5.0.0-next.1 → 5.0.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/2AKWLKBL.js +4 -0
- package/dist/cdn/2GRRR4TM.js +4 -0
- package/dist/cdn/{WYBIHIVJ.js → 2HSYNMBZ.js} +2 -2
- package/dist/cdn/{2GPSZQZ4.js → 2KII47UI.js} +2 -2
- package/dist/cdn/2LLFUF43.js +4 -0
- package/dist/cdn/{LEYFVAKA.js → 2M7EYGPO.js} +2 -2
- package/dist/cdn/{3YIQQT63.js → 2O5JOQNK.js} +2 -2
- package/dist/cdn/{K2TQ5BZF.js → 2ZULXRHA.js} +2 -2
- package/dist/cdn/{TTGJGIXX.js → 2ZVP52OF.js} +2 -2
- package/dist/cdn/{KZFKH5QF.js → 32N6UFLV.js} +2 -2
- package/dist/cdn/36C6G5WT.js +4 -0
- package/dist/cdn/{M5NGMCTD.js → 37AXW37Z.js} +2 -2
- package/dist/cdn/3FKOLUUI.js +4 -0
- package/dist/cdn/3ROVUNV7.js +4 -0
- package/dist/cdn/{27P5CKIL.js → 3VQGSSHN.js} +2 -2
- package/dist/cdn/3ZCTXNDM.js +4 -0
- package/dist/cdn/{ZFMPKCXJ.js → 3ZQ2E4TL.js} +2 -2
- package/dist/cdn/42NBQUF6.js +4 -0
- package/dist/cdn/{CZMF62FW.js → 4HZP5Z7J.js} +2 -2
- package/dist/cdn/{FHVHBCVL.js → 4I4OU6VG.js} +2 -2
- package/dist/cdn/{Q64OZXTQ.js → 4KD6G5A4.js} +2 -2
- package/dist/cdn/4PMPZ3MD.js +4 -0
- package/dist/cdn/{YIU4233X.js → 4QOOPLW5.js} +2 -2
- package/dist/cdn/4RUSBQVK.js +4 -0
- package/dist/cdn/{TYZRTHCW.js → 4USLLLNN.js} +2 -2
- package/dist/cdn/{DEC45ZOV.js → 4UTZK5AQ.js} +2 -2
- package/dist/cdn/{EDMSWCZF.js → 4XCB5LDU.js} +2 -2
- package/dist/cdn/{3O3G7CHQ.js → 54CXDZCE.js} +2 -2
- package/dist/cdn/{THT555FR.js → 557LT3MA.js} +2 -2
- package/dist/cdn/{OQSZ2IPM.js → 5DMBTHWQ.js} +2 -2
- package/dist/cdn/5FZEUACB.js +4 -0
- package/dist/cdn/{QTZDMCJ3.js → 5ICVDZBL.js} +2 -2
- package/dist/cdn/5ODNISFC.js +4 -0
- package/dist/cdn/{IOHQYAJY.js → 5TGXR4U6.js} +2 -2
- package/dist/cdn/5UZNTJA4.js +4 -0
- package/dist/cdn/5WF4W42T.js +4 -0
- package/dist/cdn/5WK44UFV.js +4 -0
- package/dist/cdn/65AIVKCZ.js +4 -0
- package/dist/cdn/{NLIVWTQ7.js → 67VKRHSQ.js} +2 -2
- package/dist/cdn/{FZY26WO4.js → 6EPUAQLW.js} +2 -2
- package/dist/cdn/{NULOJB5V.js → 6KYGYHCA.js} +2 -2
- package/dist/cdn/6LOCREPO.js +4 -0
- package/dist/cdn/6NPQ2F2Z.js +4 -0
- package/dist/cdn/6OKWRQPX.js +4 -0
- package/dist/cdn/6QOHEF27.js +4 -0
- package/dist/cdn/{LUVEB5WC.js → 77BICRLT.js} +2 -2
- package/dist/cdn/7BJVZBIF.js +4 -0
- package/dist/cdn/{ZVO73H77.js → 7SBVUDIP.js} +2 -2
- package/dist/cdn/AATCFB3M.js +4 -0
- package/dist/cdn/{MNNQ2ONJ.js → AESWIVFT.js} +2 -2
- package/dist/cdn/AGRY63UN.js +4 -0
- package/dist/cdn/{LDODH7MF.js → AGYB5F5F.js} +2 -2
- package/dist/cdn/{AXETG3J7.js → AOITERFR.js} +2 -2
- package/dist/cdn/AUKFPZCX.js +9 -0
- package/dist/cdn/{3MCTFEIH.js → AXLS3CBH.js} +2 -2
- package/dist/cdn/AYKTD2MO.js +4 -0
- package/dist/cdn/{C7XY3MEB.js → B43CI673.js} +2 -2
- package/dist/cdn/{ZBEL2VXD.js → B73BHWYE.js} +2 -2
- package/dist/cdn/{XEMUVRQX.js → BH4ZODAH.js} +2 -2
- package/dist/cdn/BQGBTONX.js +4 -0
- package/dist/cdn/BREKMAPO.js +4 -0
- package/dist/cdn/{4UBBZ6SF.js → BVFADHLD.js} +2 -2
- package/dist/cdn/{C64KBKDQ.js → BZS24LHG.js} +2 -2
- package/dist/cdn/{TKFMAB7T.js → C5PDWYOY.js} +2 -2
- package/dist/cdn/{VSIY5RM3.js → CFYJ7XEK.js} +2 -2
- package/dist/cdn/CGAHD5SE.js +4 -0
- package/dist/cdn/CIJ6KAN3.js +4 -0
- package/dist/cdn/{OUYEXJF2.js → CT3RLY77.js} +2 -2
- package/dist/cdn/CZJJ2HQ2.js +4 -0
- package/dist/cdn/D2JBCPSI.js +5 -0
- package/dist/cdn/D52BPKM6.js +4 -0
- package/dist/cdn/{C4E77IEU.js → DB3SGFLK.js} +2 -2
- package/dist/cdn/DNCXHD43.js +4 -0
- package/dist/cdn/{KEWEWXAV.js → DNX7LMWJ.js} +2 -2
- package/dist/cdn/DTBJAD63.js +4 -0
- package/dist/cdn/E2D7ZSEX.js +4 -0
- package/dist/cdn/EAJ5KVNC.js +4 -0
- package/dist/cdn/{KGBKEGGD.js → EEDUKP5F.js} +1 -1
- package/dist/cdn/{5KDV4SSZ.js → EI6R6C6I.js} +2 -2
- package/dist/cdn/{LTRIS6J5.js → EJRGBG47.js} +2 -2
- package/dist/cdn/{AWZM3YBI.js → EOIIXKUK.js} +2 -2
- package/dist/cdn/{QZVUDHAL.js → EV7DD6IS.js} +2 -2
- package/dist/cdn/EVD7GO4K.js +4 -0
- package/dist/cdn/{7DQITGM7.js → F6LALBTQ.js} +2 -2
- package/dist/cdn/{3GXVR5GV.js → F6VT2FPV.js} +2 -2
- package/dist/cdn/FE7OXMRK.js +4 -0
- package/dist/cdn/{A6K4P52C.js → FGXRZMUH.js} +2 -2
- package/dist/cdn/FPQP7CHZ.js +4 -0
- package/dist/cdn/{V4U65AFR.js → FZ6WNOMM.js} +1 -1
- package/dist/cdn/{MCXAXT6C.js → G2PGCSDA.js} +2 -2
- package/dist/cdn/{WJW6SKYB.js → G56AFRPQ.js} +2 -2
- package/dist/cdn/GHEZ5IDG.js +4 -0
- package/dist/cdn/GJTYGWRS.js +4 -0
- package/dist/cdn/{AJCTUEY7.js → GMQGCPGQ.js} +2 -2
- package/dist/cdn/{JMFE2J6D.js → GMYQF3QU.js} +1 -1
- package/dist/cdn/{P5DQCWRT.js → H3TBBSWW.js} +2 -2
- package/dist/cdn/{LNKN23WA.js → H4AK46R2.js} +2 -2
- package/dist/cdn/{OSOOI6BN.js → HIACN3X7.js} +1 -1
- package/dist/cdn/{7SVNYMDO.js → HK3XI4O7.js} +2 -2
- package/dist/cdn/{Z6QEPHNM.js → HM5XMKAZ.js} +2 -2
- package/dist/cdn/{L5CIL4S6.js → HNZWUG7F.js} +1 -1
- package/dist/cdn/HRR4KNJB.js +4 -0
- package/dist/cdn/{266MFGHJ.js → HV4KKZXB.js} +2 -2
- package/dist/cdn/{CDLGY4J6.js → I5KDXR3L.js} +2 -2
- package/dist/cdn/{IN53Z5QU.js → I6EOCC7C.js} +2 -2
- package/dist/cdn/IFGLDY55.js +4 -0
- package/dist/cdn/IHXDKDKY.js +4 -0
- package/dist/cdn/IVOOX6AD.js +4 -0
- package/dist/cdn/{THOLWPT2.js → IX7OJ4V6.js} +2 -2
- package/dist/cdn/{LTRDZSBF.js → IXX3G6DW.js} +2 -2
- package/dist/cdn/IZEC6XQA.js +4 -0
- package/dist/cdn/{6EVWV5HC.js → JEGDDWYT.js} +2 -2
- package/dist/cdn/{42LREVDQ.js → JG5D7ZLP.js} +2 -2
- package/dist/cdn/{MLSMJKB7.js → JHGO7ZCK.js} +2 -2
- package/dist/cdn/{SYBV6HCB.js → JJQDOSXS.js} +2 -2
- package/dist/cdn/{OAVGTNLH.js → JJVSDYDL.js} +2 -2
- package/dist/cdn/{SZ7N2WIA.js → K64XGNW5.js} +2 -2
- package/dist/cdn/{4LW2T2YX.js → K7BKJJSU.js} +2 -2
- package/dist/cdn/L6PKT72K.js +4 -0
- package/dist/cdn/{FNMFT2SB.js → L7MPMVZG.js} +2 -2
- package/dist/cdn/{OYNXBW6C.js → LFPETQZ6.js} +2 -2
- package/dist/cdn/LXFRXZAZ.js +4 -0
- package/dist/cdn/{T6CXQFYL.js → MAJSERWL.js} +2 -2
- package/dist/cdn/MFCR75J6.js +4 -0
- package/dist/cdn/MIZZQDOG.js +4 -0
- package/dist/cdn/MNC3DWBN.js +4 -0
- package/dist/cdn/{CKXE5HKV.js → MWHMYSCN.js} +2 -2
- package/dist/cdn/NGUPUR3D.js +4 -0
- package/dist/cdn/NLVHFHZ4.js +4 -0
- package/dist/cdn/NQVFJBBL.js +4 -0
- package/dist/cdn/NR6M5ZYT.js +4 -0
- package/dist/cdn/NRB64KPZ.js +4 -0
- package/dist/cdn/{TVQBL527.js → NXPS662X.js} +2 -2
- package/dist/cdn/{YJZG2K6M.js → O3TFUIQO.js} +2 -2
- package/dist/cdn/{E4EHMNXV.js → O5JL2C3T.js} +2 -2
- package/dist/cdn/O6JI5VFU.js +4 -0
- package/dist/cdn/OCJMX7NX.js +4 -0
- package/dist/cdn/{PIM22RZR.js → OOJF6AFB.js} +2 -2
- package/dist/cdn/OQTKRUHI.js +4 -0
- package/dist/cdn/OYE3Y6AE.js +4 -0
- package/dist/cdn/{W66L6MRX.js → OZ4W53EF.js} +2 -2
- package/dist/cdn/{Z2KA3GCH.js → P7IHBO6A.js} +2 -2
- package/dist/cdn/{N5U3HG2F.js → PBDIBP6R.js} +2 -2
- package/dist/cdn/{NXUX5W4U.js → PGYWXLPI.js} +2 -2
- package/dist/cdn/PODC5MGI.js +4 -0
- package/dist/cdn/PQUQRRD2.js +4 -0
- package/dist/cdn/PSY5IYSQ.js +4 -0
- package/dist/cdn/PVXQKH4X.js +4 -0
- package/dist/cdn/{QGJ53GY5.js → PWMXMDBC.js} +1 -1
- package/dist/cdn/{AMWDHO5R.js → PYKHTSPH.js} +2 -2
- package/dist/cdn/Q62QMQNZ.js +4 -0
- package/dist/cdn/Q7GZO6MQ.js +4 -0
- package/dist/cdn/QEA4YIIA.js +4 -0
- package/dist/cdn/{PMNYDGPN.js → QLC7VKBK.js} +2 -2
- package/dist/cdn/QPJJXUPT.js +4 -0
- package/dist/cdn/{INNY43QS.js → QTPEBMMV.js} +2 -2
- package/dist/cdn/QW5QAJTB.js +4 -0
- package/dist/cdn/{OHJJ4CFM.js → QXFSIHPL.js} +2 -2
- package/dist/cdn/QYIPDBQV.js +4 -0
- package/dist/cdn/{ZCE45PVP.js → QZ3SYHZ6.js} +2 -2
- package/dist/cdn/{ZAMRHVHR.js → R3TLKWGW.js} +2 -2
- package/dist/cdn/REFVQ2PC.js +4 -0
- package/dist/cdn/{OUG55BXM.js → RFS34E3V.js} +2 -2
- package/dist/cdn/RG4CWY6M.js +4 -0
- package/dist/cdn/{2KHATNUA.js → RIYFCFCG.js} +2 -2
- package/dist/cdn/{SSJO7VUT.js → RL4P265X.js} +2 -2
- package/dist/cdn/{JLBB7CUI.js → RUBEJJPX.js} +2 -2
- package/dist/cdn/{BOBOVYXW.js → RVOZAU5C.js} +2 -2
- package/dist/cdn/{UUPWBRF6.js → RX5Z7HJO.js} +2 -2
- package/dist/cdn/S2XZJIG4.js +4 -0
- package/dist/cdn/{YYSK24LW.js → STBZICPA.js} +2 -2
- package/dist/cdn/{6BBD5JPR.js → SWZVGSTR.js} +2 -2
- package/dist/cdn/T2PZWF35.js +4 -0
- package/dist/cdn/T4XFU7CJ.js +4 -0
- package/dist/cdn/{L3S2GEXF.js → T5GTY367.js} +2 -2
- package/dist/cdn/THR46J2G.js +4 -0
- package/dist/cdn/{DMI7BW5Z.js → TTOCXNLC.js} +2 -2
- package/dist/cdn/TXHQV24X.js +4 -0
- package/dist/cdn/{QRSXKOXJ.js → U7YQKDSJ.js} +1 -1
- package/dist/cdn/UAYZV2SB.js +4 -0
- package/dist/cdn/UDC2MJEF.js +4 -0
- package/dist/cdn/UDXKFPIK.js +4 -0
- package/dist/cdn/ULYTE5KS.js +4 -0
- package/dist/cdn/{H5MZURWB.js → UOESJK4T.js} +2 -2
- package/dist/cdn/UVWI5QKG.js +4 -0
- package/dist/cdn/{BU3HMAPW.js → UWYE5EL4.js} +2 -2
- package/dist/cdn/UXSKVYCC.js +4 -0
- package/dist/cdn/VK2ROKAQ.js +4 -0
- package/dist/cdn/VKXX6LDU.js +4 -0
- package/dist/cdn/{RD572UXX.js → VLEGVRLK.js} +1 -1
- package/dist/cdn/VVZ4DSDI.js +4 -0
- package/dist/cdn/W3BOKSHZ.js +4 -0
- package/dist/cdn/{2IHYFX3W.js → WRU54RA4.js} +2 -2
- package/dist/cdn/WSCU44DB.js +4 -0
- package/dist/cdn/{TJFWI4RN.js → X4HL2ISN.js} +2 -2
- package/dist/cdn/{K6BMVYUS.js → XG7TUPOD.js} +2 -2
- package/dist/cdn/{7SBIPOGZ.js → XKDXV4KQ.js} +2 -2
- package/dist/cdn/{YZMRGG4D.js → XLKS7IKY.js} +2 -2
- package/dist/cdn/XNQMHCXU.js +4 -0
- package/dist/cdn/XOKSYTEH.js +4 -0
- package/dist/cdn/{LU7OCXFW.js → XXCJVJCM.js} +2 -2
- package/dist/cdn/{ZGYSINDA.js → XZU2S32T.js} +1 -1
- package/dist/cdn/{AMDQPIUR.js → Y3BC6FEV.js} +2 -2
- package/dist/cdn/{CH7SBFEL.js → Y4XLUKPM.js} +2 -2
- package/dist/cdn/{ZRGLEEUS.js → YB3FTZD7.js} +2 -2
- package/dist/cdn/{D6SOZWKA.js → YFZW6XII.js} +2 -2
- package/dist/cdn/{QTJNLCEH.js → YJFHF553.js} +2 -2
- package/dist/cdn/YKVB5RJI.js +4 -0
- package/dist/cdn/{27D5LY57.js → YMBIIT7L.js} +2 -2
- package/dist/cdn/{KKRW3J5Y.js → YP2P2N6W.js} +2 -2
- package/dist/cdn/YRYAAJYL.js +4 -0
- package/dist/cdn/YVSU2VWV.js +4 -0
- package/dist/cdn/{H4DKOG6A.js → Z37YV6S3.js} +2 -2
- package/dist/cdn/{BLPOLHPE.js → ZA2N4GFH.js} +2 -2
- package/dist/cdn/{UR3BJIHR.js → ZMFDIT24.js} +2 -2
- package/dist/cdn/{AYGXIBNT.js → ZMSOFZAE.js} +2 -2
- package/dist/cdn/ZQIXX4NX.js +4 -0
- package/dist/cdn/ZSMQ72A6.js +4 -0
- package/dist/cdn/ZUUE4W6M.js +4 -0
- package/dist/cdn/{4CMHKMQ6.js → ZVPHHVS3.js} +2 -2
- package/dist/cdn/{XDTV2N42.js → ZVWLS5HO.js} +1 -1
- package/dist/cdn/{5MUGASLZ.js → ZVYU2KRZ.js} +2 -2
- package/dist/cdn/ZWW5QAIW.js +4 -0
- package/dist/cdn/ZWXA7NAF.js +4 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +39 -35
- 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 +86 -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 +2 -2
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +4 -4
- package/dist/components/arcgis-attachments/customElement.js +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 +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +80 -71
- package/dist/components/arcgis-daylight/customElement.js +142 -146
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +4 -4
- 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 +3 -3
- package/dist/components/arcgis-elevation-profile-next/customElement.js +199 -150
- package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +1 -8
- 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.js +29 -35
- package/dist/components/arcgis-feature/customElement.d.ts +5 -4
- package/dist/components/arcgis-feature/customElement.js +88 -75
- 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 +5 -0
- package/dist/components/arcgis-feature-fields/customElement.js +38 -34
- 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.js +177 -176
- 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 +3 -4
- package/dist/components/arcgis-features/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +8 -8
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
- 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 -0
- 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 +1 -1
- 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 +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +59 -3
- package/dist/components/arcgis-link-chart/customElement.js +21 -15
- 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.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +99 -36
- package/dist/components/arcgis-map/customElement.js +26 -20
- 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 +4 -4
- 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.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +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 +66 -69
- 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.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
- 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 +22 -16
- 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 +1 -1
- 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 +2 -2
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -3
- package/dist/components/arcgis-sketch/customElement.js +2 -2
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +8 -8
- package/dist/components/arcgis-table-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +2 -2
- package/dist/components/arcgis-value-picker/customElement.js +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 +8 -1
- package/dist/components/arcgis-video-player/customElement.js +22 -25
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/uiController.d.ts +6 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +1130 -144
- package/dist/docs/docs.json +1137 -152
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +66 -12
- package/dist/docs/web-types.json +317 -68
- package/dist/index.d.ts +32 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +19 -15
- 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 +26 -7
- package/dist/types/preact.d.ts +28 -7
- package/dist/types/preact10.d.ts +30 -7
- package/dist/types/react.d.ts +30 -7
- package/dist/types/stencil.d.ts +26 -7
- 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 +6 -6
- package/dist/cdn/2P44O4O2.js +0 -5
- package/dist/cdn/2WUIMDA5.js +0 -4
- package/dist/cdn/3CLH3YYD.js +0 -4
- package/dist/cdn/3FDYM5PP.js +0 -4
- package/dist/cdn/3HX6B7TR.js +0 -9
- package/dist/cdn/3NB7G4LV.js +0 -4
- package/dist/cdn/4C3LMRNG.js +0 -4
- package/dist/cdn/4ENSVHTY.js +0 -4
- package/dist/cdn/4GEIPOJK.js +0 -4
- package/dist/cdn/4HJSTTJF.js +0 -4
- package/dist/cdn/4TGXA7B7.js +0 -4
- package/dist/cdn/5I5DVOZZ.js +0 -4
- package/dist/cdn/5UBBANGR.js +0 -4
- package/dist/cdn/5ZG67RG4.js +0 -4
- package/dist/cdn/6HGJSV2O.js +0 -4
- package/dist/cdn/75L54XPX.js +0 -4
- package/dist/cdn/7EHYUARR.js +0 -4
- package/dist/cdn/7F34D57K.js +0 -4
- package/dist/cdn/7XVX4A27.js +0 -4
- package/dist/cdn/AGCG5FPU.js +0 -4
- package/dist/cdn/AZ722YCG.js +0 -4
- package/dist/cdn/B6R7BCOO.js +0 -4
- package/dist/cdn/BVKOLYDR.js +0 -4
- package/dist/cdn/CNGVFNRG.js +0 -4
- package/dist/cdn/CVVEOUP3.js +0 -4
- package/dist/cdn/CZ7FY7WK.js +0 -4
- package/dist/cdn/DH6B5HOV.js +0 -4
- package/dist/cdn/DQTQKAKC.js +0 -4
- package/dist/cdn/E3RHVSUI.js +0 -4
- package/dist/cdn/ESRJARQ6.js +0 -4
- package/dist/cdn/FDFLOP6T.js +0 -4
- package/dist/cdn/FUJ3MOBY.js +0 -4
- package/dist/cdn/GD3ELGYS.js +0 -4
- package/dist/cdn/H63I2B6H.js +0 -4
- package/dist/cdn/HPSTWRGP.js +0 -4
- package/dist/cdn/HZGKQD2C.js +0 -4
- package/dist/cdn/IHY4QCGU.js +0 -4
- package/dist/cdn/IULWUKC7.js +0 -4
- package/dist/cdn/JKQU5OTM.js +0 -4
- package/dist/cdn/JTRGCV3P.js +0 -4
- package/dist/cdn/JU57L2NI.js +0 -4
- package/dist/cdn/K3TD3WGY.js +0 -4
- package/dist/cdn/K6M6N4JP.js +0 -4
- package/dist/cdn/KBM7LWA6.js +0 -4
- package/dist/cdn/KCTA4G5Y.js +0 -4
- package/dist/cdn/KEXVBAZW.js +0 -4
- package/dist/cdn/KL6RI2DE.js +0 -4
- package/dist/cdn/KNGOI2NF.js +0 -4
- package/dist/cdn/KYNTUK7X.js +0 -4
- package/dist/cdn/L5PMMB34.js +0 -4
- package/dist/cdn/LA3O2Q3F.js +0 -4
- package/dist/cdn/LBKXCP57.js +0 -4
- package/dist/cdn/LHFYVKNV.js +0 -4
- package/dist/cdn/M2ZHK76G.js +0 -4
- package/dist/cdn/M7UPMMQQ.js +0 -4
- package/dist/cdn/MEKIRW6O.js +0 -4
- package/dist/cdn/MKCR2EEV.js +0 -4
- package/dist/cdn/MNHIWHDP.js +0 -4
- package/dist/cdn/MWQNC6JX.js +0 -4
- package/dist/cdn/NAJKA4JQ.js +0 -4
- package/dist/cdn/NTIGDTMA.js +0 -4
- package/dist/cdn/O76PCIDG.js +0 -4
- package/dist/cdn/P2LPJ3UW.js +0 -4
- package/dist/cdn/PAHGNWYF.js +0 -4
- package/dist/cdn/PK2P7LOX.js +0 -4
- package/dist/cdn/PP72DPJR.js +0 -4
- package/dist/cdn/PSGZR5ND.js +0 -4
- package/dist/cdn/PWF6GFRL.js +0 -4
- package/dist/cdn/Q7MJGW2R.js +0 -4
- package/dist/cdn/Q7U3VLMH.js +0 -4
- package/dist/cdn/QMOSSWPF.js +0 -4
- package/dist/cdn/QS5FBU6C.js +0 -4
- package/dist/cdn/QSJ3KILL.js +0 -4
- package/dist/cdn/RAU2BRBJ.js +0 -4
- package/dist/cdn/RIU427QE.js +0 -4
- package/dist/cdn/SJJBGQIS.js +0 -4
- package/dist/cdn/STO2VUQY.js +0 -4
- package/dist/cdn/TEWD3DJ2.js +0 -4
- package/dist/cdn/UX5G6TUG.js +0 -4
- package/dist/cdn/UXIUCHSK.js +0 -4
- package/dist/cdn/VH5NR7DL.js +0 -4
- package/dist/cdn/VU2ADM27.js +0 -4
- package/dist/cdn/WVLVS2MQ.js +0 -4
- package/dist/cdn/XSVVZKDP.js +0 -4
- package/dist/cdn/XWVLK657.js +0 -4
- package/dist/cdn/XZEFDWPA.js +0 -4
- package/dist/cdn/YCYNJ6S4.js +0 -4
- package/dist/cdn/YMUEX6Q2.js +0 -4
- package/dist/cdn/ZH2NNOYY.js +0 -4
- package/dist/cdn/ZIUWKQD5.js +0 -4
- package/dist/cdn/ZX3IRVWI.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
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { default as ElevationProfileAnalysis } from '@arcgis/core/analysis/ElevationProfileAnalysis.js';
|
|
3
3
|
import { default as Color } from '@arcgis/core/Color.js';
|
|
4
4
|
import { default as Collection } from '@arcgis/core/core/Collection.js';
|
|
5
|
+
import { default as ElevationProfileResult } from '@arcgis/core/views/analysis/ElevationProfile/ElevationProfileResult';
|
|
5
6
|
export type AnalysisViewType = __esri.ElevationProfileAnalysisView2D | __esri.ElevationProfileAnalysisView3D;
|
|
6
7
|
type CollectionType<T> = T extends Collection<infer U> ? U : never;
|
|
7
8
|
export type ElevationProfileLine = CollectionType<ElevationProfileAnalysis["profiles"]>;
|
|
8
9
|
export type ElevationProfileLineType = ElevationProfileLine["type"];
|
|
9
10
|
export type ElevationProfileEffectiveDisplayUnits = AnalysisViewType["effectiveDisplayUnits"];
|
|
10
|
-
export type ElevationProfileResult = AnalysisViewType["results"][number];
|
|
11
11
|
export type ElevationProfileSamples = NonNullable<ElevationProfileResult["samples"]>;
|
|
12
12
|
export type ElevationProfileSample = ElevationProfileSamples[number];
|
|
13
13
|
export type ElevationProfileStatistics = NonNullable<AnalysisViewType["statistics"]>;
|
|
@@ -161,11 +161,4 @@ export interface ChartData {
|
|
|
161
161
|
* Error state of the elevation profile component. We'll display a different error message depending on the error state.
|
|
162
162
|
*/
|
|
163
163
|
export type ElevationProfileErrorState = "invalid-geometry" | "no-available-profiles" | "no-valid-input" | "none" | "too-complex" | "unknown";
|
|
164
|
-
/**
|
|
165
|
-
* Combined profile line and its corresponding result.
|
|
166
|
-
*/
|
|
167
|
-
export interface ElevationProfileCombinedResult {
|
|
168
|
-
profileLine: ElevationProfileLine;
|
|
169
|
-
result: ElevationProfileResult;
|
|
170
|
-
}
|
|
171
164
|
export {};
|
|
@@ -4,7 +4,7 @@ import { css as r, html as a } from "lit";
|
|
|
4
4
|
import { LitElement as l, createEvent as h, nothing as o } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.10 */
|
|
8
8
|
const g = r`calcite-popover[calcite-hydrated-hidden]{inset-block-start:-999999px;inset-inline-start:-999999px}.popover-content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);min-width:180px}.uniform-chart-scaling-label{--calcite-label-margin-bottom: 0}`;
|
|
9
9
|
class p extends l {
|
|
10
10
|
constructor() {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { default as ElevationProfileResult } from '@arcgis/core/views/analysis/ElevationProfile/ElevationProfileResult';
|
|
3
4
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
-
import {
|
|
5
|
+
import { ElevationProfileEffectiveDisplayUnits, ElevationProfileMessages } from '../arcgis-elevation-profile-next/interfaces';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Component which displays statistics for a profile line and a checkbox to toggle its visibility in the chart and view.
|
|
@@ -11,7 +12,7 @@ import { ElevationProfileCombinedResult, ElevationProfileEffectiveDisplayUnits,
|
|
|
11
12
|
export declare class ArcgisElevationProfileStatistics extends LitElement {
|
|
12
13
|
effectiveDisplayUnits?: ElevationProfileEffectiveDisplayUnits;
|
|
13
14
|
messages: ElevationProfileMessages;
|
|
14
|
-
result
|
|
15
|
+
result?: ElevationProfileResult;
|
|
15
16
|
destroy(): Promise<void>;
|
|
16
17
|
readonly arcgisExpandedToggle: TargetedEvent<this, __esri.ElevationProfileLineGround | __esri.ElevationProfileLineInput | __esri.ElevationProfileLineQuery | __esri.ElevationProfileLineScene>;
|
|
17
18
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as o, html as n } from "lit";
|
|
3
|
-
import
|
|
4
|
-
import d from "@arcgis/
|
|
3
|
+
import c from "@arcgis/core/applications/Components/QuantityFormatter.js";
|
|
4
|
+
import { LitElement as v, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.10 */
|
|
8
8
|
const p = o`:host{--internal-block-spacing: var(--calcite-spacing-sm-plus);--internal-inline-spacing: var(--calcite-spacing-md);--internal-columns: 1;--internal-icon-size: 16px;container-type:inline-size}.container{display:grid;isolation:isolate;grid-template-columns:repeat(var(--internal-columns, 1),1fr);gap:var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.statistic{display:block;width:max-content;text-align:start;white-space:nowrap}.statistic-label,.statistic-value,.slope-values{font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-bold)}.statistic-label{font-weight:var(--calcite-font-weight-regular)}.statistic-value{margin-top:-.15em}.slope-values{display:flex;align-items:center;calcite-icon{width:var(--internal-icon-size);height:var(--internal-icon-size)}}@container (width > 200px){.container{--internal-columns: 2}}@container (width > 400px){.container{--internal-columns: 4}}@container (width > 800px){.container{--internal-columns: 8}}`;
|
|
9
|
-
class m extends
|
|
9
|
+
class m extends v {
|
|
10
10
|
constructor() {
|
|
11
|
-
super(...arguments), this._formatter = new
|
|
11
|
+
super(...arguments), this._formatter = new c(), this.arcgisExpandedToggle = d();
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
14
|
this.properties = { effectiveDisplayUnits: 0, messages: 0, result: 0 };
|
|
@@ -54,7 +54,7 @@ class m extends c {
|
|
|
54
54
|
return n`<div class="statistic"><label class="statistic-label">${t}</label><div class="statistic-value">${i}</div></div>`;
|
|
55
55
|
}
|
|
56
56
|
_renderValue(t, i) {
|
|
57
|
-
const { result: a } = this
|
|
57
|
+
const { result: a } = this, e = a?.progress === 1 ? a.statistics?.[t] : void 0;
|
|
58
58
|
return e == null ? " ― " : i(e);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
1
|
+
import { c as m } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as x, html as s } from "lit";
|
|
3
3
|
import { watch as _ } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import { g as l } from "../../chunks/globalCss.js";
|
|
5
|
-
import { u as
|
|
5
|
+
import { u as f } from "../../chunks/useT9n.js";
|
|
6
6
|
import { createRef as d, ref as p } from "lit/directives/ref.js";
|
|
7
|
-
import
|
|
8
|
-
import { usePropertyChange as
|
|
9
|
-
import { m as
|
|
7
|
+
import v from "@arcgis/core/widgets/Expand/ExpandViewModel.js";
|
|
8
|
+
import { usePropertyChange as b } from "@arcgis/lumina/controllers";
|
|
9
|
+
import { m as w } from "../../chunks/useViewModel.js";
|
|
10
10
|
import { LitElement as $, createEvent as y, safeClassMap as i, nothing as C } from "@arcgis/lumina";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
13
|
-
v5.0.0-next.
|
|
14
|
-
const E =
|
|
15
|
-
base:
|
|
16
|
-
toggle: `${
|
|
17
|
-
popoverContent: `${
|
|
18
|
-
panel: `${
|
|
19
|
-
panelContent: `${
|
|
20
|
-
sheet: `${
|
|
21
|
-
contentContainer: `${
|
|
22
|
-
icon: `${
|
|
23
|
-
iconFlip: `${
|
|
24
|
-
iconNumber: `${
|
|
25
|
-
}, g = "chevrons-left", h = "chevrons-right", T =
|
|
26
|
-
class
|
|
13
|
+
v5.0.0-next.10 */
|
|
14
|
+
const E = x`:host{display:flex;pointer-events:auto;--arcgis-expand-icon-number-left: none;--arcgis-expand-icon-number-right: none}arcgis-expand>.arcgis-expand__content--expanded{background-color:var(--calcite-color-background)}.arcgis-expand{--esri-widget-panel-max-height: 95svh;--calcite-sheet-max-height: var(--esri-widget-panel-max-height);--calcite-sheet-height: auto;min-width:32px;min-height:32px}.arcgis-expand__toggle{position:relative}.arcgis-expand__popover-content{flex-direction:column;display:flex;max-height:var(--arcgis-expand-max-height, 95svh);::slotted(*){max-height:var(--arcgis-expand-max-height, 95svh);overflow-y:auto}::slotted(arcgis-sketch){--arcgis-internal-sketch-gap: var(--calcite-spacing-none)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width);min-width:var(--calcite-spacing-xxxl);min-height:var(--calcite-spacing-xxxl);transition:max-height .25s ease-in-out}}.arcgis-expand__popover-content .esri-widget--panel{width:300px}.arcgis-expand__panel{max-height:var(--esri-widget-panel-max-height)}.arcgis-expand__panel-content{::slotted(*){width:100%}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-utility-network-trace,arcgis-grid-controls)){overflow-y:auto}}.arcgis-expand__panel-content .esri-widget{width:auto}.arcgis-expand__panel-content .esri-widget--panel{flex:auto}.arcgis-map-container-ui__element .arcgis-expand__popover-content .esri-widget,.arcgis-map-container-ui__element .arcgis-expand__popover-content .esri-widget.esri-component,.arcgis-map-container-ui__element .arcgis-expand__panel-content .esri-widget,.arcgis-map-container-ui__element .arcgis-expand__panel-content .esri-widget.esri-component,.arcgis-expand__popover-content .esri-widget,.arcgis-expand__popover-content .esri-widget.esri-component,.arcgis-expand__panel-content .esri-widget,.arcgis-expand__panel-content .esri-widget.esri-component{box-sizing:border-box;box-shadow:none;margin-bottom:0}.arcgis-expand__panel-content,.arcgis-expand__content-container{background-color:var(--calcite-color-foreground-1);flex-direction:column;flex:auto;justify-content:stretch;display:flex}.arcgis-expand__sheet .arcgis-expand__panel-content,.arcgis-expand__sheet .arcgis-expand__content-container{overflow:hidden}.arcgis-expand__panel-icon-number{align-self:center}.arcgis-expand__icon{display:flex}calcite-button:not(:hover) .arcgis-expand__icon:not(calcite-icon){color:var(--calcite-color-text-3)}.arcgis-expand__icon-flip{transform:var(--arcgis-collapse-icon-flip)}.arcgis-expand__icon-number{transform-origin:50%;color:var(--calcite-color-text-inverse);pointer-events:none;background-color:var(--calcite-color-text-3);border-radius:var(--calcite-spacing-xl);justify-content:center;align-items:center;height:var(--calcite-spacing-lg);padding:.125em .333em;font-size:var(--calcite-font-size-sm);line-height:1em;display:flex;position:absolute;top:-6px;left:var(--arcgis-expand-icon-number-left);right:var(--arcgis-expand-icon-number-right)}`, a = "arcgis-expand", n = {
|
|
15
|
+
base: a,
|
|
16
|
+
toggle: `${a}__toggle`,
|
|
17
|
+
popoverContent: `${a}__popover-content`,
|
|
18
|
+
panel: `${a}__panel`,
|
|
19
|
+
panelContent: `${a}__panel-content`,
|
|
20
|
+
sheet: `${a}__sheet`,
|
|
21
|
+
contentContainer: `${a}__content-container`,
|
|
22
|
+
icon: `${a}__icon`,
|
|
23
|
+
iconFlip: `${a}__icon-flip`,
|
|
24
|
+
iconNumber: `${a}__icon-number`
|
|
25
|
+
}, g = "chevrons-left", h = "chevrons-right", T = w(v);
|
|
26
|
+
class k extends $ {
|
|
27
27
|
constructor() {
|
|
28
|
-
super(...arguments), this.popoverEl = d(), this.messages =
|
|
28
|
+
super(...arguments), this.popoverEl = d(), this.messages = f({}), this.viewModel = T(this), this.toggleActionEl = d(), this.view = this.viewModel.view, this.state = this.viewModel.state, this.autoDestroyDisabled = !1, this.autoCollapse = this.viewModel.autoCollapse, this.closeOnEscDisabled = !1, this.content = "", this.expandTooltip = "", this.collapseTooltip = "", this.focusTrapDisabled = !1, this.focusTrapEnabled = this.focusTrapDisabled, this.group = this.viewModel.group, this.iconNumber = 0, this.mode = "auto", this.arcgisPropertyChange = b()("expanded"), this.arcgisReady = y();
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
31
|
this.properties = { expandTitle: 16, _displaySheet: 16, view: 0, state: 3, icon: 1, label: 1, autoDestroyDisabled: 5, position: 1, referenceElement: 1, autoCollapse: 5, closeOnEscDisabled: 5, content: 1, expanded: 7, expandIcon: 3, expandTooltip: 1, collapseIcon: 3, collapseTooltip: 1, focusTrapDisabled: 5, focusTrapEnabled: 5, group: 1, iconNumber: 9, mode: 1, placement: 1, messageOverrides: 0 };
|
|
@@ -111,37 +111,31 @@ class D extends $ {
|
|
|
111
111
|
return typeof t == "function" ? t(e) : t;
|
|
112
112
|
}
|
|
113
113
|
_handlePopoverClose(e) {
|
|
114
|
-
e.target === this.popoverEl.value &&
|
|
115
|
-
}
|
|
116
|
-
_handleSheetClose(e) {
|
|
117
|
-
this.expanded = e.currentTarget.open;
|
|
118
|
-
}
|
|
119
|
-
_handlePanelClose(e) {
|
|
120
|
-
this.expanded = !e.currentTarget.closed;
|
|
114
|
+
e.target === this.popoverEl.value && this.collapse();
|
|
121
115
|
}
|
|
122
116
|
_handleKeyDown(e) {
|
|
123
117
|
this.expanded && e.key === "Escape" && this._isCloseOnEscapeDisabled(e) && e.preventDefault();
|
|
124
118
|
}
|
|
125
119
|
render() {
|
|
126
120
|
const { _displaySheet: e, toggleActionEl: t, viewModel: { expanded: r }, label: o } = this;
|
|
127
|
-
return s`<div class=${i({ [
|
|
121
|
+
return s`<div class=${i({ [n.base]: !0, [l.widget]: !0 })}>${this._renderToggle()}${e ? s`<calcite-sheet class=${i(n.sheet)} height=l .label=${o ?? ""} @keydown=${this._handleKeyDown} .open=${r} position=block-end @calciteSheetClose=${this.collapse}><calcite-panel class=${i(n.panel)} closable .closed=${!r} .heading=${o} @keydown=${this._handleKeyDown} @calcitePanelClose=${this.collapse}><div class=${i(n.panelContent)}>${this._renderContent()}</div></calcite-panel></calcite-sheet>` : t.value ? s`<calcite-popover .focusTrapDisabled=${this.focusTrapDisabled} .label=${o ?? ""} @keydown=${this._handleKeyDown} trigger-disabled .open=${this.expanded} overlay-positioning=fixed .placement=${this.getPopoverPlacement()} .referenceElement=${t.value} @calcitePopoverClose=${this._handlePopoverClose} ${p(this.popoverEl)}><div class=${i(n.popoverContent)}>${this._renderContent()}</div></calcite-popover>` : null}</div>`;
|
|
128
122
|
}
|
|
129
123
|
_renderBadgeNumber() {
|
|
130
124
|
const { expanded: e, iconNumber: t } = this;
|
|
131
|
-
return t && !e ? s`<span class=${i(
|
|
125
|
+
return t && !e ? s`<span class=${i(n.iconNumber)}>${t}</span>` : null;
|
|
132
126
|
}
|
|
133
127
|
_renderToggleButton() {
|
|
134
128
|
const { expanded: e, expandTitle: t, expandIcon: r, collapseIcon: o } = this, c = e ? o : r, u = c === g || c === h;
|
|
135
|
-
return s`<calcite-action class=${i(l.widgetButton)} @click=${this.toggle} scale=s .text=${t} title=${t ?? C} ${p(this.toggleActionEl)}>${c ? s`<calcite-icon class=${i({ [
|
|
129
|
+
return s`<calcite-action class=${i(l.widgetButton)} @click=${this.toggle} scale=s .text=${t} title=${t ?? C} ${p(this.toggleActionEl)}>${c ? s`<calcite-icon class=${i({ [n.icon]: !0, [n.iconFlip]: u })} .icon=${c} scale=s></calcite-icon>` : null}</calcite-action>`;
|
|
136
130
|
}
|
|
137
131
|
_renderToggle() {
|
|
138
|
-
return s`<div class=${i(
|
|
132
|
+
return s`<div class=${i(n.toggle)}>${this._renderToggleButton()}${this._renderBadgeNumber()}</div>`;
|
|
139
133
|
}
|
|
140
134
|
_renderContent() {
|
|
141
|
-
return s`<div class=${i(
|
|
135
|
+
return s`<div class=${i(n.contentContainer)}><slot></slot></div>`;
|
|
142
136
|
}
|
|
143
137
|
}
|
|
144
|
-
|
|
138
|
+
m("arcgis-expand", k);
|
|
145
139
|
export {
|
|
146
|
-
|
|
140
|
+
k as ArcgisExpand
|
|
147
141
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { ArcgisFeatureRelationship } from '../arcgis-feature-relationship/customElement.js';
|
|
4
|
+
import { ArcgisFeatureUtilityNetworkAssociations } from '../arcgis-feature-utility-network-associations/customElement.js';
|
|
4
5
|
import { default as FeatureViewModel } from '@arcgis/core/widgets/Feature/FeatureViewModel.js';
|
|
5
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
6
7
|
import { HeadingLevel } from '../../support/heading';
|
|
@@ -8,7 +9,7 @@ import { nil } from '@arcgis/toolkit/type';
|
|
|
8
9
|
import { Use } from '@arcgis/lumina/controllers';
|
|
9
10
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
10
11
|
export type FlowItemType = "feature-association" | "feature-relationship" | "feature-utility-network-association-type" | "feature-utility-network-associations" | "feature";
|
|
11
|
-
export type FlowItemComponent = HTMLArcgisFeatureElement | ArcgisFeatureRelationship["el"];
|
|
12
|
+
export type FlowItemComponent = HTMLArcgisFeatureElement | ArcgisFeatureRelationship["el"] | ArcgisFeatureUtilityNetworkAssociations["el"];
|
|
12
13
|
|
|
13
14
|
declare const useFeatureViewModel: (component: LitElement & Pick<FeatureViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<FeatureViewModel>) => FeatureViewModel;
|
|
14
15
|
/**
|
|
@@ -93,7 +94,7 @@ export declare class ArcgisFeature extends LitElement {
|
|
|
93
94
|
* ```
|
|
94
95
|
* @default null
|
|
95
96
|
*/
|
|
96
|
-
graphic:
|
|
97
|
+
graphic: __esri.Graphic | nullish;
|
|
97
98
|
/**
|
|
98
99
|
* Enables automatic creation of a popup template for layers that have popups enabled but no
|
|
99
100
|
* popupTemplate defined. Automatic popup templates are supported for layers that
|
|
@@ -174,7 +175,7 @@ export declare class ArcgisFeature extends LitElement {
|
|
|
174
175
|
* ```
|
|
175
176
|
* @default null
|
|
176
177
|
*/
|
|
177
|
-
map: __esri.Map
|
|
178
|
+
map: nullish | __esri.Map;
|
|
178
179
|
/**
|
|
179
180
|
* Disables chart animation within the component.
|
|
180
181
|
*
|
|
@@ -332,7 +333,7 @@ export declare class ArcgisFeature extends LitElement {
|
|
|
332
333
|
*
|
|
333
334
|
* @default null
|
|
334
335
|
*/
|
|
335
|
-
location:
|
|
336
|
+
location: __esri.Point | nullish;
|
|
336
337
|
/**
|
|
337
338
|
* The current state of the component.
|
|
338
339
|
*
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { ref as
|
|
1
|
+
import { c as y } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as I, html as o } from "lit";
|
|
3
|
+
import { ref as M } from "lit/directives/ref.js";
|
|
4
4
|
import x from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
|
|
5
|
-
import { u as
|
|
6
|
-
import { classes as
|
|
7
|
-
import { usePropertyChange as
|
|
8
|
-
import { m as
|
|
9
|
-
import { LitElement as
|
|
10
|
-
import { substitute as
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import { watch as
|
|
5
|
+
import { u as _ } from "../../chunks/useT9n.js";
|
|
6
|
+
import { classes as F } from "@arcgis/toolkit/dom";
|
|
7
|
+
import { usePropertyChange as b } from "@arcgis/lumina/controllers";
|
|
8
|
+
import { m as L } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { LitElement as T, createEvent as A, safeClassMap as d, nothing as E } from "@arcgis/lumina";
|
|
10
|
+
import { substitute as k } from "@arcgis/core/intl.js";
|
|
11
|
+
import { o as R, g as V, p as D, q as H, s as c, d as B, i as N } from "../../chunks/feature-utils.js";
|
|
12
|
+
import P from "@arcgis/core/core/Collection.js";
|
|
13
|
+
import { watch as Z } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
14
|
import { stripHTML as U } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
15
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
16
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
17
|
-
v5.0.0-next.
|
|
18
|
-
const
|
|
17
|
+
v5.0.0-next.10 */
|
|
18
|
+
const z = I`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.arcgis-feature{flex:1 1 auto}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child,.arcgis-feature__content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, g = "arcgis-feature", l = {
|
|
19
19
|
// popup renderer
|
|
20
|
-
base:
|
|
20
|
+
base: g,
|
|
21
21
|
// containers and content
|
|
22
|
-
container: `${
|
|
23
|
-
main: `${
|
|
24
|
-
contentElement: `${
|
|
25
|
-
lastEditedInfo: `${
|
|
22
|
+
container: `${g}__size-container`,
|
|
23
|
+
main: `${g}__main-container`,
|
|
24
|
+
contentElement: `${g}__content-element`,
|
|
25
|
+
lastEditedInfo: `${g}__last-edited-info`,
|
|
26
26
|
// loading
|
|
27
|
-
loadingSpinnerContainer: `${
|
|
28
|
-
},
|
|
29
|
-
class
|
|
27
|
+
loadingSpinnerContainer: `${g}__loading-container`
|
|
28
|
+
}, S = L(x);
|
|
29
|
+
class G extends T {
|
|
30
30
|
constructor() {
|
|
31
|
-
super(...arguments), this.messages =
|
|
31
|
+
super(...arguments), this.messages = _(), this._rootFlowNode = null, this.flowType = "feature", this.internalFlowItems = new P(), this.viewModel = S(this), this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.title, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = b()("flowItems", "state"), this.arcgisReady = A();
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
34
|
this.properties = { flowType: 16, popupTemplate: 16, sourceLayer: 16, fieldInfoMap: 16, values: 16, globalValues: 16, internalFlowItems: 16, viewModel: 0, view: 0, flowItems: 0, referenceElement: 1, position: 3, icon: 1, isFeatureFromTable: 4, graphic: 0, defaultPopupTemplateEnabled: 5, headingLevel: 9, spatialReference: 0, timeZone: 1, heading: 0, map: 0, chartAnimationDisabled: 5, hideHeading: 5, hideTitle: 5, hideContent: 5, hideAttachmentsContent: 5, hideContentAttachments: 5, hideCustomContent: 5, hideExpressionContent: 5, hideContentExpression: 5, hideFieldsContent: 5, hideContentFields: 5, hideMediaContent: 5, hideContentMedia: 5, showRelationshipContent: 5, hideTextContent: 5, hideContentText: 5, showUtilityNetworkContent: 5, hideLastEditedInfo: 5, hideLastEditInfo: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, location: 0, state: 3 };
|
|
35
35
|
}
|
|
36
36
|
static {
|
|
37
|
-
this.styles =
|
|
37
|
+
this.styles = z;
|
|
38
38
|
}
|
|
39
39
|
get popupTemplate() {
|
|
40
|
-
return
|
|
40
|
+
return R(this.graphic, this.defaultPopupTemplateEnabled) ?? void 0;
|
|
41
41
|
}
|
|
42
42
|
get sourceLayer() {
|
|
43
|
-
return
|
|
43
|
+
return V(this.graphic);
|
|
44
44
|
}
|
|
45
45
|
get fieldInfoMap() {
|
|
46
|
-
return
|
|
46
|
+
return D(H(this.popupTemplate), this.sourceLayer);
|
|
47
47
|
}
|
|
48
48
|
get values() {
|
|
49
49
|
return this.graphic?.attributes ?? {};
|
|
@@ -110,7 +110,7 @@ class S extends L {
|
|
|
110
110
|
}
|
|
111
111
|
loaded() {
|
|
112
112
|
this.manager.onLifecycle(() => [
|
|
113
|
-
|
|
113
|
+
Z(() => [this.internalFlowItems?.length], () => this._setFocus())
|
|
114
114
|
]);
|
|
115
115
|
}
|
|
116
116
|
_removeFlowItems() {
|
|
@@ -137,71 +137,71 @@ class S extends L {
|
|
|
137
137
|
return o`<div class=${d(l.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`;
|
|
138
138
|
}
|
|
139
139
|
_renderAttachments(e) {
|
|
140
|
-
const { values: t, fieldInfoMap: i, sourceLayer: n, globalValues:
|
|
140
|
+
const { values: t, fieldInfoMap: i, sourceLayer: n, globalValues: a } = this, s = c({
|
|
141
141
|
values: t,
|
|
142
142
|
fieldInfoMap: i,
|
|
143
|
-
globalValues:
|
|
143
|
+
globalValues: a,
|
|
144
144
|
layer: n,
|
|
145
145
|
text: e.title
|
|
146
146
|
}), r = c({
|
|
147
147
|
values: t,
|
|
148
148
|
fieldInfoMap: i,
|
|
149
|
-
globalValues:
|
|
149
|
+
globalValues: a,
|
|
150
150
|
layer: n,
|
|
151
151
|
text: e.description
|
|
152
152
|
});
|
|
153
|
-
return o`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${
|
|
153
|
+
return o`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${s} .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords ?? void 0} .attachmentTypes=${e.attachmentTypes ?? void 0} .graphic=${this.graphic ?? void 0} .description=${r} .messages=${this.messages}></arcgis-feature-attachments>`;
|
|
154
154
|
}
|
|
155
155
|
_renderCustom(e) {
|
|
156
156
|
return o`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class=${d(l.contentElement)}></arcgis-feature-content>`;
|
|
157
157
|
}
|
|
158
158
|
_renderFields(e, t) {
|
|
159
|
-
const i = this.viewModel.formattedAttributes, { values: n, fieldInfoMap:
|
|
159
|
+
const i = this.viewModel.formattedAttributes, { values: n, fieldInfoMap: a, sourceLayer: s, popupTemplate: r, globalValues: h, graphic: p } = this, u = !!e?.fieldInfos, m = (e.fieldInfos ?? r?.fieldInfos ?? [])?.filter(({ fieldName: $ }) => !!$ && (B($) || N($) || $ in n)), v = r?.expressionInfos, w = c({
|
|
160
160
|
values: n,
|
|
161
|
-
fieldInfoMap:
|
|
161
|
+
fieldInfoMap: a,
|
|
162
162
|
globalValues: h,
|
|
163
|
-
layer:
|
|
163
|
+
layer: s,
|
|
164
164
|
text: e.title
|
|
165
|
-
}),
|
|
165
|
+
}), C = c({
|
|
166
166
|
values: n,
|
|
167
|
-
fieldInfoMap:
|
|
167
|
+
fieldInfoMap: a,
|
|
168
168
|
globalValues: h,
|
|
169
|
-
layer:
|
|
169
|
+
layer: s,
|
|
170
170
|
text: e.description
|
|
171
171
|
});
|
|
172
|
-
return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${
|
|
172
|
+
return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${w} class=${d(l.contentElement)} .messages=${this.messages} .isAggregate=${p?.isAggregate} .isContentFieldInfos=${u} .layer=${s} .description=${C} .values=${{
|
|
173
173
|
...i?.global,
|
|
174
174
|
...i?.content?.[t]
|
|
175
|
-
}} .fieldInfos=${
|
|
175
|
+
}} .fieldInfos=${m} .expressionInfos=${v ?? void 0}></arcgis-feature-fields>`;
|
|
176
176
|
}
|
|
177
177
|
_renderMedia(e, t) {
|
|
178
|
-
const { values: i, graphic: n, fieldInfoMap:
|
|
179
|
-
...
|
|
180
|
-
...
|
|
181
|
-
},
|
|
178
|
+
const { values: i, graphic: n, fieldInfoMap: a, sourceLayer: s, popupTemplate: r, globalValues: h } = this, { formattedAttributes: p, relatedInfos: u } = this.viewModel, f = {
|
|
179
|
+
...p?.global,
|
|
180
|
+
...p?.content?.[t]
|
|
181
|
+
}, m = c({
|
|
182
182
|
values: i,
|
|
183
|
-
fieldInfoMap:
|
|
183
|
+
fieldInfoMap: a,
|
|
184
184
|
globalValues: h,
|
|
185
|
-
layer:
|
|
185
|
+
layer: s,
|
|
186
186
|
text: e.title
|
|
187
|
-
}),
|
|
187
|
+
}), v = c({
|
|
188
188
|
values: i,
|
|
189
|
-
fieldInfoMap:
|
|
189
|
+
fieldInfoMap: a,
|
|
190
190
|
globalValues: h,
|
|
191
|
-
layer:
|
|
191
|
+
layer: s,
|
|
192
192
|
text: e.description
|
|
193
193
|
});
|
|
194
|
-
return o`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${
|
|
194
|
+
return o`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${m} class=${d(l.contentElement)} .description=${v} .values=${i} .layer=${s} .isAggregate=${n?.isAggregate} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos ?? []} .popupTemplate=${r ?? void 0} .relatedInfos=${u} .formattedValues=${f}></arcgis-feature-media>`;
|
|
195
195
|
}
|
|
196
196
|
_renderText(e) {
|
|
197
|
-
const { values: t, fieldInfoMap: i, sourceLayer: n, globalValues:
|
|
197
|
+
const { values: t, fieldInfoMap: i, sourceLayer: n, globalValues: a } = this, s = c({
|
|
198
198
|
values: t,
|
|
199
199
|
fieldInfoMap: i,
|
|
200
|
-
globalValues:
|
|
200
|
+
globalValues: a,
|
|
201
201
|
layer: n,
|
|
202
202
|
text: e.text
|
|
203
203
|
});
|
|
204
|
-
return o`<arcgis-feature-content .creator=${
|
|
204
|
+
return o`<arcgis-feature-content .creator=${s} .graphic=${this.graphic ?? void 0} class=${d(l.contentElement)}></arcgis-feature-content>`;
|
|
205
205
|
}
|
|
206
206
|
_renderExpression(e, t) {
|
|
207
207
|
const i = this.viewModel.formattedAttributes, { fieldInfoMap: n } = this;
|
|
@@ -211,26 +211,39 @@ class S extends L {
|
|
|
211
211
|
}}></arcgis-feature-expression>`;
|
|
212
212
|
}
|
|
213
213
|
_renderRelationship(e, t) {
|
|
214
|
-
const { values: i, graphic: n, fieldInfoMap:
|
|
214
|
+
const { values: i, graphic: n, fieldInfoMap: a, sourceLayer: s, globalValues: r } = this, { displayCount: h, orderByFields: p, relationshipId: u } = e, { formattedAttributes: f, view: m } = this.viewModel, v = {
|
|
215
215
|
...f?.global,
|
|
216
216
|
...f?.content?.[t]
|
|
217
|
-
},
|
|
217
|
+
}, w = c({
|
|
218
218
|
values: i,
|
|
219
|
-
fieldInfoMap:
|
|
219
|
+
fieldInfoMap: a,
|
|
220
220
|
globalValues: r,
|
|
221
|
-
layer:
|
|
221
|
+
layer: s,
|
|
222
222
|
text: e.title
|
|
223
|
-
}),
|
|
223
|
+
}), C = c({
|
|
224
224
|
values: i,
|
|
225
|
-
fieldInfoMap:
|
|
225
|
+
fieldInfoMap: a,
|
|
226
226
|
globalValues: r,
|
|
227
|
-
layer:
|
|
227
|
+
layer: s,
|
|
228
228
|
text: e.description
|
|
229
229
|
});
|
|
230
|
-
return o`<arcgis-feature-relationship class=${d(l.contentElement)} .flowItems=${this.flowItems ?? this.internalFlowItems} .description=${
|
|
231
|
-
}
|
|
232
|
-
_renderAssociation() {
|
|
233
|
-
|
|
230
|
+
return o`<arcgis-feature-relationship class=${d(l.contentElement)} .flowItems=${this.flowItems ?? this.internalFlowItems} .description=${C} .layer=${s} .map=${this.map ?? void 0} .displayCount=${h} .graphic=${n ?? void 0} .heading=${w} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${p ?? void 0} .relationshipId=${u ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .values=${v} .view=${m ?? void 0}></arcgis-feature-relationship>`;
|
|
231
|
+
}
|
|
232
|
+
_renderAssociation(e) {
|
|
233
|
+
const { fieldInfoMap: t, globalValues: i, graphic: n, messages: a, sourceLayer: s, values: r } = this, h = c({
|
|
234
|
+
values: r,
|
|
235
|
+
fieldInfoMap: t,
|
|
236
|
+
globalValues: i,
|
|
237
|
+
layer: s,
|
|
238
|
+
text: e.title
|
|
239
|
+
}), p = c({
|
|
240
|
+
values: r,
|
|
241
|
+
fieldInfoMap: t,
|
|
242
|
+
globalValues: i,
|
|
243
|
+
layer: s,
|
|
244
|
+
text: e.description
|
|
245
|
+
});
|
|
246
|
+
return o`<arcgis-feature-utility-network-associations .associationTypes=${e.associationTypes} class=${d(l.contentElement)} .description=${p} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${n ?? void 0} .heading=${h} .headingLevel=${this.headingLevel} .layer=${s} .map=${this.map ?? void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
|
|
234
247
|
}
|
|
235
248
|
_renderContentElement(e, t) {
|
|
236
249
|
switch (e.type) {
|
|
@@ -249,7 +262,7 @@ class S extends L {
|
|
|
249
262
|
case "relationship":
|
|
250
263
|
return this.showRelationshipContent ? this._renderRelationship(e, t) : null;
|
|
251
264
|
case "utility-network-associations":
|
|
252
|
-
return this.showUtilityNetworkContent ? this._renderAssociation() : null;
|
|
265
|
+
return this.showUtilityNetworkContent ? this._renderAssociation(e) : null;
|
|
253
266
|
default:
|
|
254
267
|
return null;
|
|
255
268
|
}
|
|
@@ -259,26 +272,26 @@ class S extends L {
|
|
|
259
272
|
return e ? Array.isArray(e) && e.length ? e.length ? e.map(this._renderContentElement, this) : null : typeof e == "string" ? o`<arcgis-feature-content .creator=${e} .graphic=${t ?? void 0} class=${d(l.contentElement)}></arcgis-feature-content>` : e instanceof HTMLElement ? e : null : null;
|
|
260
273
|
}
|
|
261
274
|
_renderContentContainer() {
|
|
262
|
-
const { hideContent: e, internalFlowItems: t, headingLevel: i, state: n, messages:
|
|
275
|
+
const { hideContent: e, internalFlowItems: t, headingLevel: i, state: n, messages: a } = this;
|
|
263
276
|
if (e)
|
|
264
277
|
return null;
|
|
265
|
-
const
|
|
266
|
-
return this.flowItems ?
|
|
267
|
-
|
|
268
|
-
}} .loading=${n === "loading"} .headingLevel=${i} .selected=${
|
|
278
|
+
const s = o`<div class=${d(l.main)}>${[this._renderContent(), this._renderLastEditInfo()]}</div>`, r = a.returnToInitialFeature ?? "";
|
|
279
|
+
return this.flowItems ? s : o`<calcite-flow ${M(this._storeRootFlowNode)}><calcite-flow-item .loading=${n === "loading"} .headingLevel=${i} .heading=${this.hideHeading ? void 0 : U(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((h, p) => o`<calcite-flow-item @calciteFlowItemBack=${(u) => {
|
|
280
|
+
u.preventDefault(), this._handleDrillInBackClick();
|
|
281
|
+
}} .loading=${n === "loading"} .headingLevel=${i} .selected=${p === t.length - 1}><calcite-action appearance=transparent icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r} title=${r ?? E}></calcite-action>${h}</calcite-flow-item>`)}</calcite-flow>`;
|
|
269
282
|
}
|
|
270
283
|
_renderLastEditInfo() {
|
|
271
284
|
const { hideLastEditedInfo: e, messages: t } = this, { lastEditInfo: i } = this.viewModel;
|
|
272
285
|
if (!i || e)
|
|
273
286
|
return null;
|
|
274
|
-
const { date: n, user:
|
|
287
|
+
const { date: n, user: a } = i, s = i.type === "edit" ? a ? t.lastEditedByUser : t.lastEdited : a ? t.lastCreatedByUser : t.lastCreated, r = k(s ?? "", {
|
|
275
288
|
date: n,
|
|
276
|
-
user:
|
|
289
|
+
user: a
|
|
277
290
|
});
|
|
278
|
-
return o`<div class=${d(
|
|
291
|
+
return o`<div class=${d(F(l.lastEditedInfo, l.contentElement))}>${r}</div>`;
|
|
279
292
|
}
|
|
280
293
|
}
|
|
281
|
-
|
|
294
|
+
y("arcgis-feature", G);
|
|
282
295
|
export {
|
|
283
|
-
|
|
296
|
+
G as ArcgisFeature
|
|
284
297
|
};
|
|
@@ -6,6 +6,7 @@ import "../arcgis-feature-fields/index.js";
|
|
|
6
6
|
import "../arcgis-feature-media/index.js";
|
|
7
7
|
import "../arcgis-feature-expression/index.js";
|
|
8
8
|
import "../arcgis-feature-relationship/index.js";
|
|
9
|
+
import "../arcgis-feature-utility-network-associations/index.js";
|
|
9
10
|
import "@esri/calcite-components/components/calcite-flow";
|
|
10
11
|
import "@esri/calcite-components/components/calcite-flow-item";
|
|
11
12
|
import "@esri/calcite-components/components/calcite-action";
|
|
@@ -6,6 +6,7 @@ import "../arcgis-feature-fields/index.js";
|
|
|
6
6
|
import "../arcgis-feature-media/index.js";
|
|
7
7
|
import "../arcgis-feature-expression/index.js";
|
|
8
8
|
import "../arcgis-feature-relationship/index.js";
|
|
9
|
+
import "../arcgis-feature-utility-network-associations/index.js";
|
|
9
10
|
import "@esri/calcite-components/components/calcite-flow";
|
|
10
11
|
import "@esri/calcite-components/components/calcite-flow-item";
|
|
11
12
|
import "@esri/calcite-components/components/calcite-action";
|
|
@@ -7,6 +7,8 @@ import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
|
7
7
|
|
|
8
8
|
/** @private */
|
|
9
9
|
export declare class ArcgisFeatureAttachments extends LitElement {
|
|
10
|
+
attachmentKeywords?: string[];
|
|
11
|
+
attachmentTypes?: ("application" | "audio" | "image" | "model" | "text" | "video")[];
|
|
10
12
|
description?: string;
|
|
11
13
|
displayType?: __esri.AttachmentsContent["displayType"];
|
|
12
14
|
graphic?: __esri.Graphic;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as e } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as s, html as t } from "lit";
|
|
3
3
|
import { LitElement as a, safeClassMap as i } from "@arcgis/lumina";
|
|
4
|
-
import { createRef as
|
|
4
|
+
import { createRef as h, ref as n } from "lit/directives/ref.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
8
|
-
const
|
|
9
|
-
base:
|
|
7
|
+
v5.0.0-next.10 */
|
|
8
|
+
const c = s``, r = "arcgis-feature-attachments", m = {
|
|
9
|
+
base: r
|
|
10
10
|
};
|
|
11
11
|
class d extends a {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this._attachmentsRef =
|
|
13
|
+
super(...arguments), this._attachmentsRef = h(), this.hideSection = !1, this.attachmentsLength = 0, this.headingLevel = 2;
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
|
-
this.properties = { hideSection: 16, attachmentsLength: 16, state: 16, description: 1, displayType: 1, graphic: 0, heading: 1, headingLevel: 9, messages: 0 };
|
|
16
|
+
this.properties = { hideSection: 16, attachmentsLength: 16, state: 16, attachmentKeywords: 0, attachmentTypes: 0, description: 1, displayType: 1, graphic: 0, heading: 1, headingLevel: 9, messages: 0 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.styles =
|
|
19
|
+
this.styles = c;
|
|
20
20
|
}
|
|
21
21
|
_updateAttachmentsState() {
|
|
22
22
|
this.state = this._attachmentsRef.value?.state, this.attachmentsLength = this._attachmentsRef.value?.attachmentInfos?.length ?? 0;
|
|
@@ -25,7 +25,7 @@ class d extends a {
|
|
|
25
25
|
return t`<div class=${i(m.base)}>${this.renderContent()}</div>`;
|
|
26
26
|
}
|
|
27
27
|
renderContent() {
|
|
28
|
-
return t`<div .hidden=${!(this.state === "loading" || this.attachmentsLength > 0)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info><arcgis-attachments @arcgisPropertyChange=${this._updateAttachmentsState} .graphic=${this.graphic} .displayType=${this.displayType} ${
|
|
28
|
+
return t`<div .hidden=${!(this.state === "loading" || this.attachmentsLength > 0)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info><arcgis-attachments @arcgisPropertyChange=${this._updateAttachmentsState} .graphic=${this.graphic} .displayType=${this.displayType} .attachmentKeywords=${this.attachmentKeywords} .attachmentTypes=${this.attachmentTypes} ${n(this._attachmentsRef)}></arcgis-attachments></div>`;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
e("arcgis-feature-attachments", d);
|