@arcgis/map-components 5.0.0-next.3 → 5.0.0-next.31
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/2AQRAJTZ.js +4 -0
- package/dist/cdn/{G7HJYLTI.js → 2EGSWSWX.js} +2 -2
- package/dist/cdn/2GGYYDAO.js +4 -0
- package/dist/cdn/2UBOOLFG.js +4 -0
- package/dist/cdn/2ZCRGED2.js +4 -0
- package/dist/cdn/34LH5JPS.js +4 -0
- package/dist/cdn/3O7VW2BP.js +4 -0
- package/dist/cdn/3QINBRGY.js +4 -0
- package/dist/cdn/45XJ3ZFG.js +4 -0
- package/dist/cdn/4R2AGRIN.js +4 -0
- package/dist/cdn/4SIX5I2T.js +4 -0
- package/dist/cdn/4UUNBZED.js +4 -0
- package/dist/cdn/4WJTMABC.js +4 -0
- package/dist/cdn/{HYX7CRNH.js → 527A425K.js} +2 -2
- package/dist/cdn/5EFEIHCY.js +4 -0
- package/dist/cdn/{5Y726H3N.js → 5I7ZKWOA.js} +2 -2
- package/dist/cdn/{ZVMC7KNO.js → 5POYQFJV.js} +2 -2
- package/dist/cdn/5QJJBDTL.js +4 -0
- package/dist/cdn/{OTAT274C.js → 5YL7XWYT.js} +2 -2
- package/dist/cdn/5YM6G4H7.js +4 -0
- package/dist/cdn/{HDI3Z2HD.js → 6555OILL.js} +2 -2
- package/dist/cdn/{SPSIJZKA.js → 656VJ7WM.js} +2 -2
- package/dist/cdn/6A34IZQQ.js +4 -0
- package/dist/cdn/{7CNGYGTJ.js → 6BN7JMLX.js} +2 -2
- package/dist/cdn/6GRSQ5AT.js +4 -0
- package/dist/cdn/6JXXQFP6.js +4 -0
- package/dist/cdn/6OD7JEDW.js +4 -0
- package/dist/cdn/6VEZBQP7.js +4 -0
- package/dist/cdn/6X62UGFL.js +4 -0
- package/dist/cdn/{J74HR7ZS.js → 72OQPZOG.js} +2 -2
- package/dist/cdn/{ALNZYXRY.js → 75AMF5N3.js} +2 -2
- package/dist/cdn/{PH5CV2LM.js → 7AOPQJ5N.js} +1 -1
- package/dist/cdn/{HHFFCMML.js → 7GR7BSV5.js} +1 -1
- package/dist/cdn/{SK3UKEH4.js → 7KJVFXSO.js} +2 -2
- package/dist/cdn/{USMO52IS.js → 7MCFJ63R.js} +2 -2
- package/dist/cdn/7MQ77DN5.js +4 -0
- package/dist/cdn/7OJC2XHL.js +4 -0
- package/dist/cdn/{LYJ4UH2R.js → 7Q7HXJQQ.js} +2 -2
- package/dist/cdn/7YB2KCZR.js +4 -0
- package/dist/cdn/{AQ2NPWC6.js → A3LGOVVH.js} +2 -2
- package/dist/cdn/{4XLFNXAU.js → A74JTXNA.js} +1 -1
- package/dist/cdn/{AYNMHQEJ.js → AC5KGLTK.js} +2 -2
- package/dist/cdn/AC5X6TKC.js +4 -0
- package/dist/cdn/{2NLU5P6Z.js → ATD7IBT2.js} +2 -2
- package/dist/cdn/AZZYSS6I.js +4 -0
- package/dist/cdn/{A3762FET.js → B2A4RD3P.js} +2 -2
- package/dist/cdn/{UDPPDKXD.js → BAUQB5JT.js} +2 -2
- package/dist/cdn/BRDIXYZF.js +4 -0
- package/dist/cdn/BRSVVMDI.js +4 -0
- package/dist/cdn/{E6NGXE4D.js → BRTBZD32.js} +2 -2
- package/dist/cdn/{QLRG2ZV7.js → BVC7GJQQ.js} +2 -2
- package/dist/cdn/{SSTOK5YE.js → BXGL3NLV.js} +2 -2
- package/dist/cdn/BZUZUPVY.js +4 -0
- package/dist/cdn/C5JSALBJ.js +4 -0
- package/dist/cdn/CB2QKDBF.js +4 -0
- package/dist/cdn/{E3PFF3QO.js → CI34P757.js} +2 -2
- package/dist/cdn/CSZF66DN.js +4 -0
- package/dist/cdn/CVVU6KCP.js +4 -0
- package/dist/cdn/{UU6DUHJ7.js → CYYSV6G7.js} +1 -1
- package/dist/cdn/{4UP6FMTP.js → D2QZTO6D.js} +2 -2
- package/dist/cdn/{VUH7USVP.js → DDEDVC3N.js} +2 -2
- package/dist/cdn/{V2J3UBB6.js → DDLYFJWK.js} +2 -2
- package/dist/cdn/DJRTU65B.js +9 -0
- package/dist/cdn/DJVWTY2O.js +4 -0
- package/dist/cdn/DLCVHCP5.js +4 -0
- package/dist/cdn/{OQ4DWZRX.js → DNM5AN5U.js} +2 -2
- package/dist/cdn/DPY4NZTG.js +4 -0
- package/dist/cdn/{O7JOBF3W.js → E6DKUJAY.js} +2 -2
- package/dist/cdn/{Y4JZGJBR.js → E7MPU2LD.js} +2 -2
- package/dist/cdn/EECCSOEQ.js +4 -0
- package/dist/cdn/EGD6PYMD.js +4 -0
- package/dist/cdn/{PAQHYLRL.js → EGTFRPNE.js} +2 -2
- package/dist/cdn/EJFQ72MI.js +4 -0
- package/dist/cdn/ETEBDFH7.js +4 -0
- package/dist/cdn/{PT4SB4F4.js → ETZDYCX4.js} +2 -2
- package/dist/cdn/EVQGQEW6.js +4 -0
- package/dist/cdn/{JNRTXRIA.js → F2IRYW26.js} +2 -2
- package/dist/cdn/{NQG5ZLHV.js → F2QBYAH6.js} +2 -2
- package/dist/cdn/F444TI7Q.js +4 -0
- package/dist/cdn/{IRVVFCPI.js → F45ASYSB.js} +2 -2
- package/dist/cdn/{NZU4NUKA.js → F6B6BT6Q.js} +2 -2
- package/dist/cdn/FFXIN2MG.js +4 -0
- package/dist/cdn/{4SGPWL6P.js → FTIT6G2R.js} +2 -2
- package/dist/cdn/FU2S5XB7.js +4 -0
- package/dist/cdn/G2MDHNMB.js +5 -0
- package/dist/cdn/G4AMADSL.js +4 -0
- package/dist/cdn/G7I2COIA.js +4 -0
- package/dist/cdn/{O6EPJYM3.js → GJ7NJVFJ.js} +2 -2
- package/dist/cdn/GLUDRX26.js +4 -0
- package/dist/cdn/{QQEDG3FQ.js → GMX6PEIT.js} +1 -1
- package/dist/cdn/HDYK4Y4R.js +4 -0
- package/dist/cdn/HGAWW22J.js +4 -0
- package/dist/cdn/HR6LWXLL.js +4 -0
- package/dist/cdn/HTQ2LQTW.js +4 -0
- package/dist/cdn/HYMCZNE3.js +4 -0
- package/dist/cdn/HZQNDTQR.js +4 -0
- package/dist/cdn/I5DAFEW7.js +4 -0
- package/dist/cdn/{SLM4KEUZ.js → IA4TLSGM.js} +2 -2
- package/dist/cdn/IDWXVXG4.js +4 -0
- package/dist/cdn/IHIY2OZW.js +4 -0
- package/dist/cdn/IJHFT4D5.js +4 -0
- package/dist/cdn/{YGN7CXIS.js → IKF2AA6N.js} +2 -2
- package/dist/cdn/{PL6UYYNH.js → INRLL4BX.js} +2 -2
- package/dist/cdn/IW2IYDE3.js +4 -0
- package/dist/cdn/J6DKFVGQ.js +4 -0
- package/dist/cdn/{GHJ24W6Y.js → JGITZIRM.js} +2 -2
- package/dist/cdn/{JMEUEYO3.js → JH55FP7W.js} +2 -2
- package/dist/cdn/JLUKLBJ7.js +4 -0
- package/dist/cdn/{ZIEJSM2I.js → JMG6JQRL.js} +2 -2
- package/dist/cdn/JNP65RJZ.js +4 -0
- package/dist/cdn/{XCUKO2A2.js → K63PE5TS.js} +2 -2
- package/dist/cdn/{FJ2ODCZO.js → K73USKBF.js} +2 -2
- package/dist/cdn/{UOB52WH7.js → KBITSIOR.js} +2 -2
- package/dist/cdn/{XS57JNBV.js → KIHPHOQ7.js} +2 -2
- package/dist/cdn/{MJ33XVNW.js → KKCF6NVT.js} +2 -2
- package/dist/cdn/{LTI2QYVU.js → KOY5TZ6C.js} +2 -2
- package/dist/cdn/{TIKIHUXB.js → KY4EPBJA.js} +2 -2
- package/dist/cdn/L55HZC7P.js +4 -0
- package/dist/cdn/{D4LXLZZW.js → LGHHXYMZ.js} +2 -2
- package/dist/cdn/LJJHQ5RC.js +4 -0
- package/dist/cdn/LOX7PSCC.js +4 -0
- package/dist/cdn/LXQOQXSE.js +4 -0
- package/dist/cdn/LZI7YQFP.js +4 -0
- package/dist/cdn/LZJ4PQ7W.js +4 -0
- package/dist/cdn/LZPVUZBZ.js +4 -0
- package/dist/cdn/M2MG7B46.js +4 -0
- package/dist/cdn/{TG7X24CK.js → M4QPN4OV.js} +2 -2
- package/dist/cdn/{L7F3QWKO.js → MKDNJ7S6.js} +2 -2
- package/dist/cdn/{6NDFRLCI.js → MM6M3FST.js} +2 -2
- package/dist/cdn/{U5AQM4PG.js → MWBOZXZW.js} +2 -2
- package/dist/cdn/N52KPVYR.js +4 -0
- package/dist/cdn/NLFPFGOC.js +4 -0
- package/dist/cdn/{MY5DKMMJ.js → NNDS7JPY.js} +2 -2
- package/dist/cdn/{FKYZEDOJ.js → NP7Q7AFO.js} +2 -2
- package/dist/cdn/{CAGCLXVW.js → O2IZRAL2.js} +2 -2
- package/dist/cdn/O46ZITMM.js +4 -0
- package/dist/cdn/O66IQNII.js +4 -0
- package/dist/cdn/{QEP5NFEU.js → OCBP4OXX.js} +2 -2
- package/dist/cdn/{JY4X6DI4.js → ODGGTNLL.js} +2 -2
- package/dist/cdn/OFE7RRBB.js +4 -0
- package/dist/cdn/{V7Z2OLGJ.js → OHLIGEU3.js} +1 -1
- package/dist/cdn/OP2T5RC4.js +4 -0
- package/dist/cdn/{XSHK3IHW.js → OYB5FX7O.js} +2 -2
- package/dist/cdn/{YTHR4NZ6.js → OZ5ATYQL.js} +2 -2
- package/dist/cdn/P57ZN2RW.js +4 -0
- package/dist/cdn/{SUC4EKIE.js → P5UXBDLF.js} +2 -2
- package/dist/cdn/P6MB5YDK.js +4 -0
- package/dist/cdn/{IFCRROLM.js → P7NXNQFY.js} +1 -1
- package/dist/cdn/{KHBODFWE.js → PA7EVE6Q.js} +1 -1
- package/dist/cdn/PAITI6FE.js +4 -0
- package/dist/cdn/{FJHYJ3NL.js → PIEOGNMC.js} +2 -2
- package/dist/cdn/{T25TCQNP.js → PMD5DYML.js} +2 -2
- package/dist/cdn/PMJB2B2I.js +4 -0
- package/dist/cdn/{RQGY47DP.js → PVI6R5NR.js} +2 -2
- package/dist/cdn/QBCORREL.js +4 -0
- package/dist/cdn/{7UZQHGLP.js → QG5UOMWP.js} +2 -2
- package/dist/cdn/{7PEEU67P.js → QH5C542F.js} +2 -2
- package/dist/cdn/{2Y7DD43B.js → QSAZRPKV.js} +2 -2
- package/dist/cdn/{NSSQHGXK.js → QTHBKSHD.js} +2 -2
- package/dist/cdn/R4IRISQA.js +4 -0
- package/dist/cdn/{H7M3PSWM.js → R72LGRXF.js} +2 -2
- package/dist/cdn/{5BGXROFC.js → RBLJWJJI.js} +2 -2
- package/dist/cdn/{24FW7BG5.js → RDY3HXV5.js} +2 -2
- package/dist/cdn/RHS7YWUC.js +4 -0
- package/dist/cdn/{VYJLK7NT.js → RMWT3DT5.js} +2 -2
- package/dist/cdn/{5KLSEZXC.js → RWATYW6A.js} +2 -2
- package/dist/cdn/S7UVWOGM.js +4 -0
- package/dist/cdn/SGT5BVWY.js +4 -0
- package/dist/cdn/SN2O52BI.js +4 -0
- package/dist/cdn/{JIWHI7EW.js → SV476ZWT.js} +2 -2
- package/dist/cdn/SXN6RDCP.js +4 -0
- package/dist/cdn/{BL7YER2G.js → SXUHZXNT.js} +2 -2
- package/dist/cdn/SYV6QG2F.js +4 -0
- package/dist/cdn/T2ZVE2A3.js +4 -0
- package/dist/cdn/TFCA5Z3E.js +4 -0
- package/dist/cdn/TGBMFRCG.js +4 -0
- package/dist/cdn/{V2SEO7LF.js → TRB3X2QP.js} +2 -2
- package/dist/cdn/UIURUE3U.js +4 -0
- package/dist/cdn/UYXODDQY.js +4 -0
- package/dist/cdn/V66BXYVW.js +4 -0
- package/dist/cdn/{IPSS2ZMH.js → VB3QMUGA.js} +2 -2
- package/dist/cdn/{PHBC5D77.js → VDFGV4MQ.js} +2 -2
- package/dist/cdn/{HQL6HUHP.js → VTS3MC5S.js} +2 -2
- package/dist/cdn/VVSLTCJP.js +4 -0
- package/dist/cdn/VZCZAPJ2.js +4 -0
- package/dist/cdn/W3DM7O7B.js +4 -0
- package/dist/cdn/{T352QWFP.js → W4YQY636.js} +2 -2
- package/dist/cdn/W6XDIOLU.js +4 -0
- package/dist/cdn/{QWNJRMAQ.js → WBESWZSE.js} +2 -2
- package/dist/cdn/WCJAR24J.js +4 -0
- package/dist/cdn/WGFWCP6H.js +4 -0
- package/dist/cdn/WPZH72AE.js +4 -0
- package/dist/cdn/{36DL5HXP.js → WROZ3K3U.js} +2 -2
- package/dist/cdn/WS2CEEZ2.js +4 -0
- package/dist/cdn/{NIQUPN4E.js → WSU3MUWG.js} +2 -2
- package/dist/cdn/WWQRZMGN.js +4 -0
- package/dist/cdn/{FGL64TB3.js → XBWDFG7Q.js} +2 -2
- package/dist/cdn/{OXFFB6Y3.js → XFPA4O46.js} +2 -2
- package/dist/cdn/XIH5B3HP.js +4 -0
- package/dist/cdn/{V4QJNRPL.js → XJHQ5CYB.js} +1 -1
- package/dist/cdn/{E3GEOJL3.js → XL3RVYYK.js} +2 -2
- package/dist/cdn/{WM6PZMMT.js → XMD5RB7L.js} +2 -2
- package/dist/cdn/{H37YYHYW.js → XNKJWTJ5.js} +2 -2
- package/dist/cdn/XQAOPEXH.js +4 -0
- package/dist/cdn/XREEDUA7.js +4 -0
- package/dist/cdn/{WLZJRN6C.js → YAL2I644.js} +1 -1
- package/dist/cdn/{IHZK6TIX.js → YJV7QFZ3.js} +2 -2
- package/dist/cdn/YUHO3CWK.js +4 -0
- package/dist/cdn/YUM7FS5D.js +4 -0
- package/dist/cdn/YWKTH7AB.js +4 -0
- package/dist/cdn/YXEIVBIK.js +4 -0
- package/dist/cdn/YZEMRTEV.js +4 -0
- package/dist/cdn/Z32HYGC6.js +4 -0
- package/dist/cdn/ZAOMSMHZ.js +4 -0
- package/dist/cdn/ZAOXQBWR.js +4 -0
- package/dist/cdn/ZBZO6RHJ.js +4 -0
- package/dist/cdn/ZDZYWX67.js +4 -0
- package/dist/cdn/ZGYSHMRW.js +4 -0
- package/dist/cdn/ZNYRU4NQ.js +4 -0
- package/dist/cdn/ZPHRLNJF.js +4 -0
- package/dist/cdn/{X6KL6BYF.js → ZQBE2VSU.js} +2 -2
- package/dist/cdn/ZR4ENA57.js +4 -0
- package/dist/cdn/ZRGH7HRT.js +4 -0
- package/dist/cdn/{XOR2JIKE.js → ZZD6VW4H.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 +5 -5
- 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 +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.js +30 -31
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -6
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +17 -7
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-explorer/customElement.js +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +4 -4
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +55 -56
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +116 -57
- package/dist/components/arcgis-daylight/customElement.js +154 -157
- package/dist/components/arcgis-daylight/index.d.ts +1 -0
- package/dist/components/arcgis-daylight/index.js +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +9 -10
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +50 -58
- package/dist/components/arcgis-directional-pad/customElement.d.ts +3 -3
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +15 -7
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +7 -7
- 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 +5 -5
- 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/ExpandViewModel.d.ts +48 -0
- package/dist/components/arcgis-expand/customElement.d.ts +13 -12
- package/dist/components/arcgis-expand/customElement.js +153 -52
- package/dist/components/arcgis-feature/customElement.d.ts +20 -24
- package/dist/components/arcgis-feature/customElement.js +90 -77
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.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 +11 -10
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/arcgis-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 +27 -12
- package/dist/components/arcgis-features/customElement.js +7 -7
- package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -4
- package/dist/components/arcgis-floor-filter/customElement.js +7 -7
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +3 -3
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +4 -4
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +19 -4
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +71 -5
- 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 +4 -4
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +477 -61
- 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 +7 -7
- 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 +2 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +48 -18
- package/dist/components/arcgis-popup/customElement.js +72 -72
- package/dist/components/arcgis-print/customElement.d.ts +3 -3
- 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 +3 -3
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +46 -6
- 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 +19 -21
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +5 -5
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +27 -10
- package/dist/components/arcgis-sketch/customElement.js +18 -10
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- 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 +3 -3
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -5
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -4
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +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 +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +9 -2
- package/dist/components/arcgis-video/customElement.js +15 -9
- package/dist/components/arcgis-video-player/customElement.d.ts +4 -4
- package/dist/components/arcgis-video-player/customElement.js +4 -4
- package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
- package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
- package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
- package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
- package/dist/components/arcgis-weather/customElement.d.ts +2 -2
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
- package/dist/controllers/uiController.d.ts +11 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +2207 -1555
- package/dist/docs/docs.json +1920 -1230
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +214 -291
- package/dist/docs/web-types.json +635 -520
- package/dist/index.d.ts +33 -20
- package/dist/index.js +1 -1
- package/dist/loader.js +23 -20
- 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 +31 -18
- package/dist/types/preact.d.ts +33 -19
- package/dist/types/preact10.d.ts +35 -20
- package/dist/types/react.d.ts +35 -20
- package/dist/types/stencil.d.ts +31 -18
- 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/2AZHLSAM.js +0 -4
- package/dist/cdn/2QRPRZG7.js +0 -4
- package/dist/cdn/2TIHIEKF.js +0 -4
- package/dist/cdn/34BYMZKN.js +0 -4
- package/dist/cdn/34UFWCNP.js +0 -4
- package/dist/cdn/37KDGILU.js +0 -4
- package/dist/cdn/3R2IE2EP.js +0 -4
- package/dist/cdn/3TNLQA2F.js +0 -4
- package/dist/cdn/44N6D3WC.js +0 -4
- package/dist/cdn/4CPDJQ27.js +0 -4
- package/dist/cdn/53D5QJFX.js +0 -4
- package/dist/cdn/5UJK4YHX.js +0 -4
- package/dist/cdn/63KJYSZ6.js +0 -4
- package/dist/cdn/6G2XDWMZ.js +0 -4
- package/dist/cdn/6VRVCX3L.js +0 -4
- package/dist/cdn/7BGZFWPA.js +0 -4
- package/dist/cdn/7C2OVYAI.js +0 -4
- package/dist/cdn/7CTFDRQC.js +0 -4
- package/dist/cdn/7DC3PGD2.js +0 -4
- package/dist/cdn/7HSMTM2G.js +0 -4
- package/dist/cdn/7KIRVDDY.js +0 -4
- package/dist/cdn/AFYGKVBX.js +0 -4
- package/dist/cdn/AH3BVTCT.js +0 -4
- package/dist/cdn/ALENT5NF.js +0 -4
- package/dist/cdn/ATKMD43D.js +0 -5
- package/dist/cdn/BG77QJIW.js +0 -4
- package/dist/cdn/CKCTJ6CW.js +0 -4
- package/dist/cdn/CNLBDFHY.js +0 -4
- package/dist/cdn/CTZ7P2ON.js +0 -4
- package/dist/cdn/CV57WMBL.js +0 -9
- package/dist/cdn/CVMDCLGB.js +0 -4
- package/dist/cdn/DRLSZQDU.js +0 -4
- package/dist/cdn/DV2N434J.js +0 -4
- package/dist/cdn/EESASTEL.js +0 -4
- package/dist/cdn/EIB4B7NM.js +0 -4
- package/dist/cdn/EJ6NO5NK.js +0 -4
- package/dist/cdn/EQ5LPNFG.js +0 -4
- package/dist/cdn/ESWN44C2.js +0 -4
- package/dist/cdn/FGMLBVRU.js +0 -4
- package/dist/cdn/FMG27I4G.js +0 -4
- package/dist/cdn/G7HMCSFT.js +0 -4
- package/dist/cdn/GF6IWOJL.js +0 -4
- package/dist/cdn/GKKACUDU.js +0 -4
- package/dist/cdn/GNUO5PT5.js +0 -4
- package/dist/cdn/GO3GNQWU.js +0 -4
- package/dist/cdn/GTX63LFG.js +0 -4
- package/dist/cdn/IJ7RAUIP.js +0 -4
- package/dist/cdn/IXQV54AH.js +0 -4
- package/dist/cdn/IYKN5PO5.js +0 -4
- package/dist/cdn/J3J6R74M.js +0 -4
- package/dist/cdn/J775FRFE.js +0 -4
- package/dist/cdn/JCD5KEV5.js +0 -4
- package/dist/cdn/JO6R7FAD.js +0 -4
- package/dist/cdn/JULFSLDD.js +0 -4
- package/dist/cdn/KA2OECP3.js +0 -4
- package/dist/cdn/KQ3JBLDT.js +0 -4
- package/dist/cdn/KT3EUEKF.js +0 -4
- package/dist/cdn/L3AGPAN7.js +0 -4
- package/dist/cdn/LUBY2O7T.js +0 -4
- package/dist/cdn/LWWUKKLM.js +0 -4
- package/dist/cdn/MJIHMPZU.js +0 -4
- package/dist/cdn/MNLAUE2R.js +0 -4
- package/dist/cdn/MSCH74JK.js +0 -4
- package/dist/cdn/N3ZZQIYY.js +0 -4
- package/dist/cdn/NFNK7YME.js +0 -4
- package/dist/cdn/NNJWJUAD.js +0 -4
- package/dist/cdn/NXFS5VZC.js +0 -4
- package/dist/cdn/NYJOUGGN.js +0 -4
- package/dist/cdn/O7ICRTC5.js +0 -4
- package/dist/cdn/OH55X5ST.js +0 -4
- package/dist/cdn/OHXEZHUF.js +0 -4
- package/dist/cdn/OULH6KEN.js +0 -4
- package/dist/cdn/OXCYD67R.js +0 -4
- package/dist/cdn/P4GL7TQJ.js +0 -4
- package/dist/cdn/PK5EPYTE.js +0 -4
- package/dist/cdn/Q26RMW45.js +0 -4
- package/dist/cdn/Q7CX6235.js +0 -4
- package/dist/cdn/QMRZYMIJ.js +0 -4
- package/dist/cdn/QPXLDAZR.js +0 -4
- package/dist/cdn/QREJFC5Z.js +0 -4
- package/dist/cdn/QRPZEJLW.js +0 -4
- package/dist/cdn/QUFHIUYU.js +0 -4
- package/dist/cdn/R35F7LSR.js +0 -4
- package/dist/cdn/RAUOWG2P.js +0 -4
- package/dist/cdn/RBLUJIEM.js +0 -4
- package/dist/cdn/RD4WHUHX.js +0 -4
- package/dist/cdn/RPYAAT7A.js +0 -4
- package/dist/cdn/RQUX2H7R.js +0 -4
- package/dist/cdn/RXHQCPJY.js +0 -4
- package/dist/cdn/RYXSSH5D.js +0 -4
- package/dist/cdn/SBYAAEWD.js +0 -4
- package/dist/cdn/SSEBMECL.js +0 -4
- package/dist/cdn/SZABV557.js +0 -4
- package/dist/cdn/T6XWFHOM.js +0 -4
- package/dist/cdn/TF2524IM.js +0 -4
- package/dist/cdn/TUHJKFNY.js +0 -4
- package/dist/cdn/TWK4M5TM.js +0 -4
- package/dist/cdn/TWZ6WRUM.js +0 -4
- package/dist/cdn/U5HMRSJG.js +0 -4
- package/dist/cdn/UBXMRMPS.js +0 -4
- package/dist/cdn/V25AJNHD.js +0 -4
- package/dist/cdn/V3KSNGDN.js +0 -4
- package/dist/cdn/V54CMZHN.js +0 -4
- package/dist/cdn/V5SM3QEH.js +0 -4
- package/dist/cdn/VLS7CPMI.js +0 -4
- package/dist/cdn/VSIBQFUQ.js +0 -4
- package/dist/cdn/VWFDTLYA.js +0 -4
- package/dist/cdn/X74EKXT7.js +0 -4
- package/dist/cdn/XAPWGYND.js +0 -4
- package/dist/cdn/XCKB43CS.js +0 -4
- package/dist/cdn/YAJHM6HT.js +0 -4
- package/dist/cdn/Z25G3SCO.js +0 -4
- package/dist/cdn/Z4Z7YFNR.js +0 -4
- package/dist/cdn/ZKKZT5GI.js +0 -4
- package/dist/cdn/ZR4UXKJK.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,506 @@
|
|
|
1
|
+
import { c as T } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as N, html as p } from "lit";
|
|
3
|
+
import { keyed as C } from "lit/directives/keyed.js";
|
|
4
|
+
import { createReactiveMap as I, findUtilityNetwork as M, queryAllJSON as $, getOrCreateMapValue as j } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
5
|
+
import { stripHTML as k } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
6
|
+
import w from "@arcgis/core/core/Collection.js";
|
|
7
|
+
import { ignoreAbortErrors as v } from "@arcgis/core/core/promiseUtils.js";
|
|
8
|
+
import { watch as A } from "@arcgis/core/core/reactiveUtils.js";
|
|
9
|
+
import * as U from "@arcgis/core/core/sql.js";
|
|
10
|
+
import V from "@arcgis/core/rest/networks/support/NetworkElement.js";
|
|
11
|
+
import x from "@arcgis/core/rest/networks/support/QueryAssociationsParameters.js";
|
|
12
|
+
import D from "@arcgis/core/rest/support/FeatureSet.js";
|
|
13
|
+
import P from "@arcgis/core/rest/support/Query.js";
|
|
14
|
+
import G from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
|
|
15
|
+
import { LitElement as Q, renderElement as B } from "@arcgis/lumina";
|
|
16
|
+
import { debounce as L } from "@arcgis/toolkit/function";
|
|
17
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
19
|
+
v5.0.0-next.31 */
|
|
20
|
+
const O = N`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`, q = 100, E = {
|
|
21
|
+
assetGroup: "assetgroup",
|
|
22
|
+
assetType: "assettype"
|
|
23
|
+
}, S = "{00000000-0000-0000-0000-000000000000}";
|
|
24
|
+
class R extends Q {
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments), this._addFlowItem = (t) => {
|
|
27
|
+
t && this.flowItems?.push(t);
|
|
28
|
+
}, this._attachmentAssociations = new w(), this._attachmentFeatureCount = 0, this._cancelQuery = () => {
|
|
29
|
+
const { _queryAbortController: t } = this;
|
|
30
|
+
t && t.abort(), this._queryAbortController = null;
|
|
31
|
+
}, this._cancelQueryFeatureCount = () => {
|
|
32
|
+
const { _queryFeatureCountAbortController: t } = this;
|
|
33
|
+
t && t.abort(), this._queryFeatureCountAbortController = null;
|
|
34
|
+
}, this._connectivityAssociations = new w(), this._connectivityFeatureCount = 0, this._containerAssociations = new w(), this._containerFeatureCount = 0, this._contentAssociations = new w(), this._contentFeatureCount = 0, this._networkSourceIdsInUse = /* @__PURE__ */ new Set(), this._query = async (t) => {
|
|
35
|
+
if (!t)
|
|
36
|
+
return;
|
|
37
|
+
await this._loadUtiltyNetworks();
|
|
38
|
+
const { _queryAbortController: e } = this;
|
|
39
|
+
this._destroyAssociatedFeatureViewModels(), this._clearFeatures(), this._featureCount && await this._queryAssociatedFeatures(t, { signal: e?.signal });
|
|
40
|
+
}, this._queryController = async (t) => {
|
|
41
|
+
this._cancelQuery();
|
|
42
|
+
const e = new AbortController();
|
|
43
|
+
this._queryAbortController = e, await v(this._query(t)), this._queryAbortController === e && (this._queryAbortController = null);
|
|
44
|
+
}, this._queryFeatureCountController = async () => {
|
|
45
|
+
this._loaded = !1, this._cancelQueryFeatureCount();
|
|
46
|
+
const t = new AbortController();
|
|
47
|
+
this._queryFeatureCountAbortController = t, await v(this._queryFeatureCount()), this._queryFeatureCountAbortController === t && (this._queryFeatureCountAbortController = null), this._loaded = !0;
|
|
48
|
+
}, this._queryDebounced = L(this._queryController, q), this._queryFeatureCountDebounced = L(this._queryFeatureCountController, q), this._structureAssociations = new w(), this._structureFeatureCount = 0, this._queryAssociationType = async () => {
|
|
49
|
+
this._activeAssociationType && this._queryDebounced(this._activeAssociationType);
|
|
50
|
+
}, this._associationFeatures = I(), this._associationViewModels = I(), this._featureCount = 0, this._loaded = !1, this._queryAbortController = null, this._queryFeatureCountAbortController = null, this._queryPageAbortController = null, this.associationTypes = null, this.autoDestroyDisabled = !1, this.flowType = "feature-utility-network-associations", this.headingLevel = 2, this.source = "popup";
|
|
51
|
+
}
|
|
52
|
+
static {
|
|
53
|
+
this.properties = { _activeAssociationType: 16, _associationFeatures: 16, _associationViewModels: 16, _canLoad: 16, _canQuery: 16, _featureCount: 16, _loaded: 16, _queryAbortController: 16, _queryFeatureCountAbortController: 16, _queryPageAbortController: 16, _state: 16, associationTypes: 0, autoDestroyDisabled: 5, description: 1, flowItems: 0, flowType: 1, graphic: 0, heading: 1, headingLevel: 9, layer: 0, map: 0, messages: 0, parentFeatureViewModel: 0, source: 1, spatialReference: 0, timeZone: 1, view: 0 };
|
|
54
|
+
}
|
|
55
|
+
static {
|
|
56
|
+
this.styles = O;
|
|
57
|
+
}
|
|
58
|
+
get _globalId() {
|
|
59
|
+
return (this._globalIdField && this.graphic?.attributes?.[this._globalIdField]) ?? null;
|
|
60
|
+
}
|
|
61
|
+
get _globalIdField() {
|
|
62
|
+
return this.layer?.globalIdField;
|
|
63
|
+
}
|
|
64
|
+
get _objectId() {
|
|
65
|
+
return (this._objectIdField && this.graphic?.attributes?.[this._objectIdField]) ?? null;
|
|
66
|
+
}
|
|
67
|
+
get _objectIdField() {
|
|
68
|
+
return this.layer?.objectIdField;
|
|
69
|
+
}
|
|
70
|
+
get _supportsCacheHint() {
|
|
71
|
+
return !!this.layer?.capabilities?.queryRelated?.supportsCacheHint;
|
|
72
|
+
}
|
|
73
|
+
get _utilityNetwork() {
|
|
74
|
+
const { layer: t, map: e } = this;
|
|
75
|
+
if (!t?.loaded || !e)
|
|
76
|
+
return null;
|
|
77
|
+
const s = this._isSubtypeSublayer(t) ? t.parent : t;
|
|
78
|
+
return M(e, s);
|
|
79
|
+
}
|
|
80
|
+
get _canLoad() {
|
|
81
|
+
return !!this.map;
|
|
82
|
+
}
|
|
83
|
+
get _canQuery() {
|
|
84
|
+
return !!this.layer?.capabilities?.query?.supportsPagination;
|
|
85
|
+
}
|
|
86
|
+
get _state() {
|
|
87
|
+
const { _canLoad: t, _canQuery: e, _featureCount: s, _loaded: o, _queryAbortController: i, _queryFeatureCountAbortController: a, _queryPageAbortController: u, associationTypes: c } = this;
|
|
88
|
+
return a || t && !o ? "loading" : i || u ? "querying" : !this._globalId || !c || !e || !s ? "disabled" : "ready";
|
|
89
|
+
}
|
|
90
|
+
get heading() {
|
|
91
|
+
return this._heading;
|
|
92
|
+
}
|
|
93
|
+
set heading(t) {
|
|
94
|
+
this._heading = t;
|
|
95
|
+
}
|
|
96
|
+
async destroy() {
|
|
97
|
+
await this.manager.destroy();
|
|
98
|
+
}
|
|
99
|
+
loaded() {
|
|
100
|
+
this.manager.onLifecycle(() => [
|
|
101
|
+
A(() => [
|
|
102
|
+
this.graphic,
|
|
103
|
+
this.layer,
|
|
104
|
+
this.map,
|
|
105
|
+
this.associationTypes,
|
|
106
|
+
this._canQuery,
|
|
107
|
+
this._objectId,
|
|
108
|
+
this._globalId
|
|
109
|
+
], () => {
|
|
110
|
+
this._queryFeatureCountDebounced(), this._queryAssociationType();
|
|
111
|
+
}, { initial: !0 }),
|
|
112
|
+
A(() => this._activeAssociationType, (t) => {
|
|
113
|
+
this._queryDebounced(t);
|
|
114
|
+
}),
|
|
115
|
+
A(() => this._associationFeatures.values(), () => {
|
|
116
|
+
this._setUpUtilityNetworkAssociationsViewModels();
|
|
117
|
+
})
|
|
118
|
+
]), this.manager.onDestroy(() => {
|
|
119
|
+
this._cancelQuery(), this._cancelQueryFeatureCount();
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
_addAssociationTypeFlowItem() {
|
|
123
|
+
this._addFlowItem(B(p`<arcgis-feature-utility-network-association-list .associationViewModels=${this._associationViewModels} .flowItems=${this.flowItems} .flowType=${this.flowType} .messages=${this.messages} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`));
|
|
124
|
+
}
|
|
125
|
+
_clearAssociations() {
|
|
126
|
+
this._attachmentAssociations.removeAll(), this._connectivityAssociations.removeAll(), this._containerAssociations.removeAll(), this._contentAssociations.removeAll(), this._structureAssociations.removeAll();
|
|
127
|
+
}
|
|
128
|
+
_clearFeatures() {
|
|
129
|
+
this._associationFeatures.forEach((t) => t.removeAll()), this._associationFeatures.clear();
|
|
130
|
+
}
|
|
131
|
+
_compareByFeatureTitle(t, e) {
|
|
132
|
+
return t.title.localeCompare(e.title, void 0, {
|
|
133
|
+
numeric: !0
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
async _countAssociatedFeatureCount(t, e, s, o, i) {
|
|
137
|
+
const a = this._getFeatureQueryWhereClause(t, e, s, o);
|
|
138
|
+
return await t.queryFeatureCount({
|
|
139
|
+
where: a,
|
|
140
|
+
outFields: ["*"],
|
|
141
|
+
returnGeometry: !1
|
|
142
|
+
}, {
|
|
143
|
+
signal: i?.signal
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
async _countAssociatedFeatures(t, e, s, o, i) {
|
|
147
|
+
if (!e.length)
|
|
148
|
+
return 0;
|
|
149
|
+
const a = await this._findLayersBySourceId(t);
|
|
150
|
+
await this._loadLayers(a);
|
|
151
|
+
const u = a.map((r) => this._countAssociatedFeatureCount(r, e, s, o, i));
|
|
152
|
+
return (await Promise.all(u)).reduce((r, d) => r + d, 0);
|
|
153
|
+
}
|
|
154
|
+
async _createAssociationFeatureObjects(t, e, s, o, i) {
|
|
155
|
+
if (!t.length)
|
|
156
|
+
return [];
|
|
157
|
+
const a = /* @__PURE__ */ new Map(), u = Array.from(e.entries()).map(async ([r, d]) => {
|
|
158
|
+
const l = await this._findLayersBySourceId(r);
|
|
159
|
+
await this._loadLayers(l);
|
|
160
|
+
const y = l.map((n) => this._queryLayer(n, d, s, o, i));
|
|
161
|
+
(await Promise.all(y)).forEach((n) => {
|
|
162
|
+
n.forEach((h) => {
|
|
163
|
+
if (this.source === "popup" ? h.sourceLayer && h.getEffectivePopupTemplate() : !!h.sourceLayer) {
|
|
164
|
+
const f = h.layer.globalIdField ?? "", g = h.attributes[f], b = a.get(g) ?? [];
|
|
165
|
+
b.push(h), a.set(g, b);
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
});
|
|
170
|
+
await Promise.all(u);
|
|
171
|
+
const c = [];
|
|
172
|
+
return await Promise.all(t.toArray().map(async (r) => {
|
|
173
|
+
const { fromNetworkElement: d, toNetworkElement: l } = r, y = d.globalId === this._globalId ? l : d, m = a.get(y.globalId) ?? [];
|
|
174
|
+
await Promise.all(m.map(async (n) => {
|
|
175
|
+
const h = this._utilityNetwork?.getTerminalById(y?.terminalId)?.name, _ = await n.sourceLayer.getFeatureTitle(n) || this._getFeatureTitle(n);
|
|
176
|
+
c.push({
|
|
177
|
+
title: _,
|
|
178
|
+
feature: n,
|
|
179
|
+
association: r,
|
|
180
|
+
terminalName: h
|
|
181
|
+
});
|
|
182
|
+
}));
|
|
183
|
+
})), c;
|
|
184
|
+
}
|
|
185
|
+
_destroyAssociatedFeatureViewModels() {
|
|
186
|
+
this._associationViewModels.forEach((t) => t.destroyAll());
|
|
187
|
+
}
|
|
188
|
+
_equals(t, e) {
|
|
189
|
+
if (t.globalId === S && e.globalId === S) {
|
|
190
|
+
let s = function(d, l) {
|
|
191
|
+
return d.networkSourceId === l.networkSourceId && d.globalId === l.globalId && d.terminalId === l.terminalId && d.firstUnit === l.firstUnit && d.numUnits === l.numUnits;
|
|
192
|
+
};
|
|
193
|
+
const o = t.fromNetworkElement, i = t.toNetworkElement, a = e.fromNetworkElement, u = e.toNetworkElement, c = s(o, a), r = s(i, u);
|
|
194
|
+
return c && r && t.associationType === e.associationType;
|
|
195
|
+
}
|
|
196
|
+
return t.globalId != null && e.globalId != null && t.globalId === e.globalId;
|
|
197
|
+
}
|
|
198
|
+
async _findLayersBySourceId(t) {
|
|
199
|
+
const { _utilityNetwork: e, map: s } = this;
|
|
200
|
+
e?.loaded || await e?.load();
|
|
201
|
+
const o = e.getLayerIdBySourceId(t), i = s.allLayers.filter((c) => !!e?.isUtilityLayer(c) && c.layerId === o), a = s.allTables.filter((c) => !!e?.isUtilityLayer(c) && c.layerId === o);
|
|
202
|
+
return i.concat(a).toArray();
|
|
203
|
+
}
|
|
204
|
+
_getAssociationsByType(t) {
|
|
205
|
+
switch (t) {
|
|
206
|
+
case "attachment":
|
|
207
|
+
return this._attachmentAssociations;
|
|
208
|
+
case "structure":
|
|
209
|
+
return this._structureAssociations;
|
|
210
|
+
case "connectivity":
|
|
211
|
+
return this._connectivityAssociations;
|
|
212
|
+
case "container":
|
|
213
|
+
return this._containerAssociations;
|
|
214
|
+
case "content":
|
|
215
|
+
return this._contentAssociations;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
_getAssociationTypeTitle(t) {
|
|
219
|
+
const { messages: e } = this;
|
|
220
|
+
if (t.title)
|
|
221
|
+
return t.title;
|
|
222
|
+
switch (t.type) {
|
|
223
|
+
case "attachment":
|
|
224
|
+
return e?.associationsAttachments ?? this.messages?.noTitle ?? "";
|
|
225
|
+
case "connectivity":
|
|
226
|
+
return e?.associationsConnectivity ?? this.messages?.noTitle ?? "";
|
|
227
|
+
case "structure":
|
|
228
|
+
return e?.associationsStructure ?? this.messages?.noTitle ?? "";
|
|
229
|
+
case "content":
|
|
230
|
+
return e?.associationsContents ?? this.messages?.noTitle ?? "";
|
|
231
|
+
case "container":
|
|
232
|
+
return e?.associationsContainer ?? this.messages?.noTitle ?? "";
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
_getFeatureCountForAssociationType(t) {
|
|
236
|
+
switch (t) {
|
|
237
|
+
case "attachment":
|
|
238
|
+
return this._attachmentFeatureCount;
|
|
239
|
+
case "structure":
|
|
240
|
+
return this._structureFeatureCount;
|
|
241
|
+
case "content":
|
|
242
|
+
return this._contentFeatureCount;
|
|
243
|
+
case "container":
|
|
244
|
+
return this._containerFeatureCount;
|
|
245
|
+
case "connectivity":
|
|
246
|
+
return this._connectivityFeatureCount;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
_getFeatureQueryWhereClause(t, e, s, o) {
|
|
250
|
+
const i = t.globalIdField, a = t.fieldsIndex.get(E.assetGroup), u = t.fieldsIndex.get(E.assetType), c = s != null, r = o != null, d = i ? U.sqlIn(i, e) : null, l = c ? `(${a?.name} = ${s})` : null, y = c && r ? `(${u?.name} = ${o})` : null;
|
|
251
|
+
return [d, l, y].filter(Boolean).join(" AND ");
|
|
252
|
+
}
|
|
253
|
+
_getFeatureTitle(t) {
|
|
254
|
+
const e = t.attributes, s = t.sourceLayer;
|
|
255
|
+
if (!e || !s)
|
|
256
|
+
return "";
|
|
257
|
+
const o = "displayField" in s ? s.displayField : null, i = o != null ? e[o.toString()] : null, a = i != null ? i.toString() : null, u = t.getObjectId()?.toString();
|
|
258
|
+
return a || u || "";
|
|
259
|
+
}
|
|
260
|
+
_isSubtypeGroupLayer(t) {
|
|
261
|
+
return t != null && typeof t == "object" && "type" in t && t.type === "subtype-group" && "sublayers" in t;
|
|
262
|
+
}
|
|
263
|
+
_isSubtypeSublayer(t) {
|
|
264
|
+
return t?.type === "subtype-sublayer";
|
|
265
|
+
}
|
|
266
|
+
async _loadUtiltyNetworks() {
|
|
267
|
+
const t = this.map;
|
|
268
|
+
if (!t)
|
|
269
|
+
return;
|
|
270
|
+
await Promise.allSettled(t.utilityNetworks?.map((s) => s.load()) ?? []);
|
|
271
|
+
const e = this._utilityNetwork;
|
|
272
|
+
if (e) {
|
|
273
|
+
const s = (o) => {
|
|
274
|
+
if ("layerId" in o && e.isUtilityLayer(o)) {
|
|
275
|
+
const i = o.layerId != null ? e.getSourceIdByLayerId(o.layerId) : null;
|
|
276
|
+
i != null && this._networkSourceIdsInUse.add(i);
|
|
277
|
+
}
|
|
278
|
+
};
|
|
279
|
+
this._networkSourceIdsInUse = /* @__PURE__ */ new Set(), t.allLayers.forEach(s), t.allTables.forEach(s);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
async _loadLayers(t) {
|
|
283
|
+
const e = t.filter((s) => !s.loaded).map((s) => s.load());
|
|
284
|
+
e.length && await Promise.allSettled(e);
|
|
285
|
+
}
|
|
286
|
+
_matchesGlobalFeature(t, e) {
|
|
287
|
+
return this._equals(t.association, e.association);
|
|
288
|
+
}
|
|
289
|
+
async _queryAssociatedFeatures(t, e) {
|
|
290
|
+
const { layer: s, _globalId: o, associationTypes: i, _utilityNetwork: a, _canQuery: u, _associationFeatures: c } = this;
|
|
291
|
+
if (await Promise.allSettled([s?.load(), a?.load()]), !u || !s || !i || !a)
|
|
292
|
+
return;
|
|
293
|
+
const r = this._getAssociationsByType(t.type), { associatedAssetGroup: d, associatedAssetType: l } = t, y = /* @__PURE__ */ new Map();
|
|
294
|
+
r.forEach((n) => {
|
|
295
|
+
const { fromNetworkElement: h, toNetworkElement: _ } = n, { networkSourceId: f, elementGlobalId: g } = h.globalId === o ? {
|
|
296
|
+
networkSourceId: _.networkSourceId,
|
|
297
|
+
elementGlobalId: _.globalId
|
|
298
|
+
} : {
|
|
299
|
+
networkSourceId: h.networkSourceId,
|
|
300
|
+
elementGlobalId: h.globalId
|
|
301
|
+
}, b = y.get(f) || [];
|
|
302
|
+
b.push(g), y.set(f, b);
|
|
303
|
+
});
|
|
304
|
+
const m = await this._createAssociationFeatureObjects(r, y, d, l, e);
|
|
305
|
+
this._parseFeatureObjects(m, c);
|
|
306
|
+
}
|
|
307
|
+
async _queryAssociations(t) {
|
|
308
|
+
const { layer: e, _globalId: s, associationTypes: o, _utilityNetwork: i, _canQuery: a } = this;
|
|
309
|
+
if (await Promise.allSettled([e?.load(), i?.load()]), this._clearAssociations(), !a || !e || !o || !i || !s)
|
|
310
|
+
return;
|
|
311
|
+
const u = this._isSubtypeSublayer(e) ? e.parent : e, c = new V({
|
|
312
|
+
globalId: s,
|
|
313
|
+
networkSourceId: i.getSourceIdByLayerId(u.layerId)
|
|
314
|
+
}), r = /* @__PURE__ */ new Set();
|
|
315
|
+
o.forEach((n) => {
|
|
316
|
+
switch (n.type) {
|
|
317
|
+
case "attachment":
|
|
318
|
+
case "structure":
|
|
319
|
+
r.add("attachment");
|
|
320
|
+
break;
|
|
321
|
+
case "container":
|
|
322
|
+
case "content":
|
|
323
|
+
r.add("containment");
|
|
324
|
+
break;
|
|
325
|
+
case "connectivity":
|
|
326
|
+
r.add("connectivity"), r.add("junction-junction-connectivity"), r.add("junction-edge-from-connectivity"), r.add("junction-edge-midspan-connectivity"), r.add("junction-edge-to-connectivity");
|
|
327
|
+
break;
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
const d = await i?.queryAssociations(new x({
|
|
331
|
+
elements: [c],
|
|
332
|
+
types: Array.from(r)
|
|
333
|
+
}), {
|
|
334
|
+
signal: t?.signal
|
|
335
|
+
}), l = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map();
|
|
336
|
+
o.forEach((n) => {
|
|
337
|
+
y.set(n.type, n), l.set(n.type, []);
|
|
338
|
+
}), d.forEach((n) => {
|
|
339
|
+
const { toNetworkElement: h, fromNetworkElement: _ } = n;
|
|
340
|
+
switch (n.associationType) {
|
|
341
|
+
case "attachment":
|
|
342
|
+
if (_?.globalId === s) {
|
|
343
|
+
if (this._shouldDiscardNetworkElement(h, "attachment", y))
|
|
344
|
+
break;
|
|
345
|
+
l.get("attachment")?.push(h.globalId), this._attachmentAssociations.add(n);
|
|
346
|
+
} else {
|
|
347
|
+
if (this._shouldDiscardNetworkElement(_, "structure", y))
|
|
348
|
+
break;
|
|
349
|
+
l.get("structure")?.push(_.globalId), this._structureAssociations.add(n);
|
|
350
|
+
}
|
|
351
|
+
break;
|
|
352
|
+
case "connectivity":
|
|
353
|
+
case "junction-edge-from-connectivity":
|
|
354
|
+
case "junction-edge-midspan-connectivity":
|
|
355
|
+
case "junction-edge-to-connectivity":
|
|
356
|
+
case "junction-junction-connectivity":
|
|
357
|
+
if (_?.globalId === s) {
|
|
358
|
+
if (this._shouldDiscardNetworkElement(h, "connectivity", y))
|
|
359
|
+
break;
|
|
360
|
+
l.get("connectivity")?.push(h.globalId);
|
|
361
|
+
} else {
|
|
362
|
+
if (this._shouldDiscardNetworkElement(_, "connectivity", y))
|
|
363
|
+
break;
|
|
364
|
+
l.get("connectivity")?.push(_.globalId);
|
|
365
|
+
}
|
|
366
|
+
this._connectivityAssociations.add(n);
|
|
367
|
+
break;
|
|
368
|
+
case "containment":
|
|
369
|
+
if (_?.globalId === s) {
|
|
370
|
+
if (this._shouldDiscardNetworkElement(h, "content", y))
|
|
371
|
+
break;
|
|
372
|
+
l.get("content")?.push(h.globalId), this._contentAssociations.add(n);
|
|
373
|
+
} else {
|
|
374
|
+
if (this._shouldDiscardNetworkElement(_, "container", y))
|
|
375
|
+
break;
|
|
376
|
+
l.get("container")?.push(_.globalId), this._containerAssociations.add(n);
|
|
377
|
+
}
|
|
378
|
+
break;
|
|
379
|
+
}
|
|
380
|
+
});
|
|
381
|
+
const m = o.map(async (n) => {
|
|
382
|
+
const { associatedNetworkSourceId: h, associatedAssetGroup: _, associatedAssetType: f } = n, g = l.get(n.type), F = _ != null ? await this._countAssociatedFeatures(h, g, _, f, t) : g.length;
|
|
383
|
+
switch (n.type) {
|
|
384
|
+
case "attachment":
|
|
385
|
+
this._attachmentFeatureCount = F;
|
|
386
|
+
break;
|
|
387
|
+
case "connectivity":
|
|
388
|
+
this._connectivityFeatureCount = F;
|
|
389
|
+
break;
|
|
390
|
+
case "container":
|
|
391
|
+
this._containerFeatureCount = F;
|
|
392
|
+
break;
|
|
393
|
+
case "content":
|
|
394
|
+
this._contentFeatureCount = F;
|
|
395
|
+
break;
|
|
396
|
+
case "structure":
|
|
397
|
+
this._structureFeatureCount = F;
|
|
398
|
+
break;
|
|
399
|
+
}
|
|
400
|
+
});
|
|
401
|
+
await Promise.allSettled(m);
|
|
402
|
+
}
|
|
403
|
+
async _queryFeatureCount() {
|
|
404
|
+
await this._loadUtiltyNetworks();
|
|
405
|
+
const { _queryFeatureCountAbortController: t, _canQuery: e } = this;
|
|
406
|
+
if (!e) {
|
|
407
|
+
this._featureCount = 0;
|
|
408
|
+
return;
|
|
409
|
+
}
|
|
410
|
+
await this._queryAssociations(t), this._featureCount = this._attachmentFeatureCount + this._connectivityFeatureCount + this._containerFeatureCount + this._contentFeatureCount + this._structureFeatureCount;
|
|
411
|
+
}
|
|
412
|
+
async _queryLayer(t, e, s, o, i) {
|
|
413
|
+
const a = this._getFeatureQueryWhereClause(t, e, s, o), u = new P({
|
|
414
|
+
where: a,
|
|
415
|
+
outFields: ["*"],
|
|
416
|
+
cacheHint: this._supportsCacheHint
|
|
417
|
+
}), c = D.fromJSON(await $(t, u, i));
|
|
418
|
+
return c.features.forEach((r) => {
|
|
419
|
+
const d = this._isSubtypeGroupLayer(t);
|
|
420
|
+
r.layer = d ? t.findSublayerForFeature(r) : t, r.sourceLayer = d ? t.findSublayerForFeature(r) : t;
|
|
421
|
+
}), c.features;
|
|
422
|
+
}
|
|
423
|
+
_parseFeatureObjects(t, e) {
|
|
424
|
+
const s = I();
|
|
425
|
+
t.forEach((o) => {
|
|
426
|
+
const a = (o?.feature).sourceLayer;
|
|
427
|
+
j(s, a, () => new w()).add(o);
|
|
428
|
+
});
|
|
429
|
+
for (const [o, i] of s)
|
|
430
|
+
this._sortFeatureObjectsByTitle(i), e.set(o, i);
|
|
431
|
+
}
|
|
432
|
+
_selectAssociationType(t) {
|
|
433
|
+
const { flowItems: e } = this;
|
|
434
|
+
e && (this._activeAssociationType = t, this._setUpUtilityNetworkAssociationsViewModels(), this._addAssociationTypeFlowItem());
|
|
435
|
+
}
|
|
436
|
+
_setUpUtilityNetworkAssociationsViewModels() {
|
|
437
|
+
this._associationViewModels.forEach((i, a) => {
|
|
438
|
+
const u = this._associationFeatures.get(a);
|
|
439
|
+
u ? i.forEach((c) => {
|
|
440
|
+
u.find((d) => this._matchesGlobalFeature(c, d)) || (i.remove(c), i.length || this._associationViewModels.delete(a));
|
|
441
|
+
}) : (i.removeAll(), this._associationViewModels.delete(a));
|
|
442
|
+
});
|
|
443
|
+
const { map: t, view: e, spatialReference: s, timeZone: o } = this;
|
|
444
|
+
this._associationFeatures.forEach((i, a) => {
|
|
445
|
+
const u = this._associationViewModels.get(a) || new w();
|
|
446
|
+
i?.filter(Boolean).forEach((c, r) => {
|
|
447
|
+
if (!u.some((l) => this._matchesGlobalFeature(l, c))) {
|
|
448
|
+
const { association: l, feature: y, terminalName: m, title: n } = c;
|
|
449
|
+
u.add({
|
|
450
|
+
title: n,
|
|
451
|
+
association: l,
|
|
452
|
+
featureViewModel: new G({
|
|
453
|
+
abilities: { utilityNetworkAssociationsContent: !1 },
|
|
454
|
+
map: t,
|
|
455
|
+
view: e,
|
|
456
|
+
spatialReference: s,
|
|
457
|
+
timeZone: o,
|
|
458
|
+
graphic: y
|
|
459
|
+
}),
|
|
460
|
+
terminalName: m
|
|
461
|
+
}, r);
|
|
462
|
+
}
|
|
463
|
+
}), this._associationViewModels.set(a, u);
|
|
464
|
+
});
|
|
465
|
+
}
|
|
466
|
+
_shouldDiscardNetworkElement(t, e, s) {
|
|
467
|
+
if (!t)
|
|
468
|
+
return !1;
|
|
469
|
+
const { networkSourceId: o } = t, i = s.get(e)?.associatedNetworkSourceId, a = this._networkSourceIdsInUse.has(o);
|
|
470
|
+
return i != null && i !== o || !a;
|
|
471
|
+
}
|
|
472
|
+
_sortFeatureObjectsByTitle(t) {
|
|
473
|
+
t.sort(this._compareByFeatureTitle);
|
|
474
|
+
}
|
|
475
|
+
render() {
|
|
476
|
+
const { _state: t } = this;
|
|
477
|
+
return p`<div><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${t === "loading" ? this._renderLoading() : t === "disabled" ? this._renderAssociationNotFound() : this._renderContent()}</div>`;
|
|
478
|
+
}
|
|
479
|
+
_renderAssociationNotFound() {
|
|
480
|
+
return p`<calcite-notice icon=information kind=info open scale=s width=full><div slot=message>${this.messages?.noAssociations}</div></calcite-notice>`;
|
|
481
|
+
}
|
|
482
|
+
_renderAssociationTypeList(t) {
|
|
483
|
+
return this._getFeatureCountForAssociationType(t.type) > 0 ? this._renderAssociationTypeListItem(t) : null;
|
|
484
|
+
}
|
|
485
|
+
_renderAssociationTypeListItem(t) {
|
|
486
|
+
const e = this._getAssociationTypeTitle(t);
|
|
487
|
+
return C(`association-type-${t.type}`, p`<calcite-list-item .description=${k(t.description)} .label=${k(e)} .value=${t.type} @calciteListItemSelect=${() => this._selectAssociationType(t)}><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`);
|
|
488
|
+
}
|
|
489
|
+
_renderContent() {
|
|
490
|
+
const { _state: t, associationTypes: e, messages: s } = this, o = s?.associationsList ?? s?.noTitle ?? "";
|
|
491
|
+
return C("list-container", p`<div class="list-container">${t === "ready" ? p`<div><calcite-list display-mode=flat .label=${o}>${e.map((i) => this._renderAssociationTypeList(i))}</calcite-list></div>` : null}${this._renderStickyLoading()}</div>`);
|
|
492
|
+
}
|
|
493
|
+
_renderLoading() {
|
|
494
|
+
return p`<div class="loading-container">${this._renderLoadingIcon()}${this._renderStickyLoading()}</div>`;
|
|
495
|
+
}
|
|
496
|
+
_renderLoadingIcon() {
|
|
497
|
+
return p`<calcite-loader inline label></calcite-loader>`;
|
|
498
|
+
}
|
|
499
|
+
_renderStickyLoading() {
|
|
500
|
+
return this._state === "querying" ? p`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>` : null;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
T("arcgis-feature-utility-network-associations", R);
|
|
504
|
+
export {
|
|
505
|
+
R as ArcgisFeatureUtilityNetworkAssociations
|
|
506
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "../arcgis-feature-utility-network-association-list/index.js";
|
|
2
|
+
import "../arcgis-feature-element-info/index.js";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
8
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "../arcgis-feature-utility-network-association-list/index.js";
|
|
2
|
+
import "../arcgis-feature-element-info/index.js";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
8
|
+
export * from "./customElement.js";
|
|
@@ -15,10 +15,10 @@ declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewMo
|
|
|
15
15
|
/**
|
|
16
16
|
* The Features component allows users to view a feature's popupTemplate content such as attributes,
|
|
17
17
|
* actions, related records, etc., without having to be tied to a [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/) or [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
18
|
-
* This component looks and behaves similarly to the [
|
|
18
|
+
* This component looks and behaves similarly to the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/) component,
|
|
19
19
|
* however unlike Popup, the Features component can be placed outside of the map or scene component.
|
|
20
20
|
* For example, when features are selected in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/),
|
|
21
|
-
* the [
|
|
21
|
+
* the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/) opens within the map whether it is docked
|
|
22
22
|
* or anchored to the selected feature.
|
|
23
23
|
* With the Features component, the same information that Popup provides is shown in a separate container from the map, such as
|
|
24
24
|
* a HTML div within a Calcite Design System
|
|
@@ -33,11 +33,11 @@ declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewMo
|
|
|
33
33
|
*
|
|
34
34
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-features/)
|
|
35
35
|
*
|
|
36
|
-
* @see
|
|
37
|
-
* @see [Guide - Esri Icon Font](../esri-icon-font/)
|
|
36
|
+
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html)
|
|
38
37
|
* @since 4.28
|
|
39
38
|
*/
|
|
40
39
|
export declare class ArcgisFeatures extends LitElement {
|
|
40
|
+
/** @since 4.34 */
|
|
41
41
|
viewModel: FeaturesViewModel;
|
|
42
42
|
/**
|
|
43
43
|
* [Collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html) of [action](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionButton.html) or [action toggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-support-actions-ActionToggle.html) objects displayed in the action bar.
|
|
@@ -111,6 +111,7 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
111
111
|
*
|
|
112
112
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features-FeaturesViewModel.html#defaultPopupTemplateEnabled)
|
|
113
113
|
*
|
|
114
|
+
* @since 4.34
|
|
114
115
|
* @default false
|
|
115
116
|
*/
|
|
116
117
|
defaultPopupTemplateEnabled: boolean;
|
|
@@ -130,7 +131,11 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
130
131
|
* @default false
|
|
131
132
|
*/
|
|
132
133
|
featureMenuOpen: boolean;
|
|
133
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* Sets the title to display on the component while viewing the feature menu.
|
|
136
|
+
*
|
|
137
|
+
* @since 4.34
|
|
138
|
+
*/
|
|
134
139
|
featureMenuTitle: string | nullish;
|
|
135
140
|
/**
|
|
136
141
|
* Indicates whether the feature navigation arrows are displayed at the top of the component.
|
|
@@ -207,6 +212,7 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
207
212
|
* corresponding template is used here.
|
|
208
213
|
*
|
|
209
214
|
* @see [headingLevel](#headingLevel)
|
|
215
|
+
* @since 4.34
|
|
210
216
|
* @example
|
|
211
217
|
* ```js
|
|
212
218
|
* // This title will display in the component unless a selected feature's
|
|
@@ -260,13 +266,14 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
260
266
|
/**
|
|
261
267
|
* Indicates whether to hide the group heading for a list of multiple features.
|
|
262
268
|
*
|
|
269
|
+
* @since 4.34
|
|
263
270
|
* @default false
|
|
264
271
|
*/
|
|
265
272
|
hideFeatureListLayerTitle: boolean;
|
|
266
273
|
/**
|
|
267
274
|
* Determines whether the component should be shown within its built-in [flow component](https://developers.arcgis.com/calcite-design-system/components/flow/) or if the flow component should be excluded.
|
|
268
275
|
* The component will be displayed within its original flow component if set to `false`.
|
|
269
|
-
* The flow component will be omitted from the
|
|
276
|
+
* The flow component will be omitted from the component if set to `true`.
|
|
270
277
|
* To place the component into an existing Calcite flow component, set this property to `false`.
|
|
271
278
|
*
|
|
272
279
|
* @default false
|
|
@@ -303,6 +310,7 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
303
310
|
* Indicates whether to include the default actions in the component.
|
|
304
311
|
* In order to disable any default actions, it is necessary to set `includeDefaultActionsDisabled` to `true`.
|
|
305
312
|
*
|
|
313
|
+
* @since 4.34
|
|
306
314
|
* @default false
|
|
307
315
|
*/
|
|
308
316
|
includeDefaultActionsDisabled: boolean;
|
|
@@ -329,14 +337,16 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
329
337
|
* ```
|
|
330
338
|
* @default null
|
|
331
339
|
*/
|
|
332
|
-
map: __esri.Map
|
|
340
|
+
map: nullish | __esri.Map;
|
|
333
341
|
/**
|
|
334
342
|
* Replace localized message strings with your own strings.
|
|
335
343
|
*
|
|
336
344
|
* _**Note**: Individual message keys may change between releases._
|
|
345
|
+
*
|
|
346
|
+
* @since 4.34
|
|
337
347
|
*/
|
|
338
348
|
messageOverrides?: typeof this.messages._overrides;
|
|
339
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
349
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
340
350
|
position?: __esri.UIPosition;
|
|
341
351
|
/**
|
|
342
352
|
* 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.
|
|
@@ -362,7 +372,7 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
362
372
|
* The selected feature accessed by the Features component. The content displayed in the component is
|
|
363
373
|
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) assigned to this feature.
|
|
364
374
|
*/
|
|
365
|
-
readonly selectedFeature:
|
|
375
|
+
readonly selectedFeature: __esri.Graphic | nullish;
|
|
366
376
|
/**
|
|
367
377
|
* Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/) component.
|
|
368
378
|
* This is useful if needing to get a reference to the Feature component in order to make any changes to it.
|
|
@@ -422,11 +432,12 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
422
432
|
*
|
|
423
433
|
* @since 4.34
|
|
424
434
|
*/
|
|
425
|
-
view?: __esri.MapView | __esri.SceneView
|
|
435
|
+
view?: nullish | __esri.MapView | __esri.SceneView;
|
|
426
436
|
/**
|
|
427
437
|
* Indicates whether the popup is visible. This property is `true` when the popup is querying for results, even if it is not open in the view.
|
|
428
|
-
* Use the property to check if the
|
|
438
|
+
* Use the property to check if the component is visible.
|
|
429
439
|
*
|
|
440
|
+
* @since 4.34
|
|
430
441
|
* @default false
|
|
431
442
|
*/
|
|
432
443
|
visible: boolean;
|
|
@@ -533,7 +544,11 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
533
544
|
* @see [selectedFeatureIndex](#selectedFeatureIndex)
|
|
534
545
|
*/
|
|
535
546
|
previous(): Promise<FeaturesViewModel>;
|
|
536
|
-
/**
|
|
547
|
+
/**
|
|
548
|
+
* Use this method to give focus to the Component if the component is able to be focused.
|
|
549
|
+
*
|
|
550
|
+
* @since 4.34
|
|
551
|
+
*/
|
|
537
552
|
setFocus(): Promise<void>;
|
|
538
553
|
/**
|
|
539
554
|
* Triggers the [`arcgisTriggerAction`](#arcgisTriggerAction) event and executes the action
|