@arcgis/map-components 5.1.0-next.6 → 5.1.0-next.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cdn/277YGNPQ.js +2 -0
- package/dist/cdn/2H4TOIDN.js +2 -0
- package/dist/cdn/2OYSX637.js +2 -0
- package/dist/cdn/2QO5XYXC.js +2 -0
- package/dist/cdn/{27HOTQNB.js → 2RITORYK.js} +1 -1
- package/dist/cdn/{X26CF5AU.js → 2TP43ZJT.js} +1 -1
- package/dist/cdn/34N6NVCA.js +2 -0
- package/dist/cdn/{THXN5VZY.js → 3BSS4OJF.js} +1 -1
- package/dist/cdn/3GY55TR6.js +2 -0
- package/dist/cdn/3IMMSP7K.js +2 -0
- package/dist/cdn/{24PK3ZLX.js → 3LHUEYZM.js} +1 -1
- package/dist/cdn/3QUBDSPU.js +2 -0
- package/dist/cdn/{JTEJ2NHE.js → 3RCS4AK2.js} +1 -1
- package/dist/cdn/3TSFQO2E.js +2 -0
- package/dist/cdn/{FQJMTGXO.js → 3VBTMG7C.js} +1 -1
- package/dist/cdn/3WY7V7O6.js +2 -0
- package/dist/cdn/{D6VUTTEH.js → 43C5DIH5.js} +1 -1
- package/dist/cdn/4JJPFWBJ.js +2 -0
- package/dist/cdn/4WXHSJS4.js +2 -0
- package/dist/cdn/{OKXZJQ2B.js → 4Y32ZA4A.js} +1 -1
- package/dist/cdn/54VXNFQ4.js +2 -0
- package/dist/cdn/55JQXQSW.js +2 -0
- package/dist/cdn/{5V7HEV2R.js → 5ABSWG4I.js} +1 -1
- package/dist/cdn/{AFU3S7KW.js → 5EGS3PEJ.js} +1 -1
- package/dist/cdn/5JNFAIJ6.js +2 -0
- package/dist/cdn/5RELUUK7.js +2 -0
- package/dist/cdn/{3OE7JG5I.js → 5VOKWJYK.js} +1 -1
- package/dist/cdn/5VYGY5I2.js +2 -0
- package/dist/cdn/{7IBXOWTT.js → 63G7LUIG.js} +1 -1
- package/dist/cdn/64LRQ74J.js +2 -0
- package/dist/cdn/{B6T4CWYF.js → 6D7YTBW3.js} +1 -1
- package/dist/cdn/{BSRIYDMN.js → 6FU5MMYZ.js} +1 -1
- package/dist/cdn/{YA6FUJR2.js → 6HLZ37OL.js} +1 -1
- package/dist/cdn/{RISVXUI4.js → 6IFFBFYE.js} +1 -1
- package/dist/cdn/{33U3K3P2.js → 6V5OS3F6.js} +1 -1
- package/dist/cdn/{QLPUP6A3.js → 6XPVHLWQ.js} +1 -1
- package/dist/cdn/762NGL33.js +2 -0
- package/dist/cdn/76LZPCRF.js +2 -0
- package/dist/cdn/76MRQR3N.js +2 -0
- package/dist/cdn/{XOP2SCW3.js → 77HK7ZGB.js} +1 -1
- package/dist/cdn/7BWFZ4B2.js +2 -0
- package/dist/cdn/{7357JBTM.js → 7EJRQZ4J.js} +1 -1
- package/dist/cdn/7IOKJUW4.js +2 -0
- package/dist/cdn/{CMWIMRU2.js → 7JI6J4N6.js} +1 -1
- package/dist/cdn/{5UDFTH5U.js → 7KPBI4XT.js} +1 -1
- package/dist/cdn/{W2A4ONZA.js → 7LBICZSN.js} +1 -1
- package/dist/cdn/{SKGRUNAJ.js → 7QLMRDBI.js} +1 -1
- package/dist/cdn/7RXSOZQ7.js +2 -0
- package/dist/cdn/{HOYFIMNJ.js → 7WYC3QVX.js} +1 -1
- package/dist/cdn/7YSD6HNU.js +2 -0
- package/dist/cdn/A2QPYUE5.js +2 -0
- package/dist/cdn/AO4UV75O.js +2 -0
- package/dist/cdn/ASV42UM4.js +2 -0
- package/dist/cdn/{5PJEJPFY.js → B3MJD74A.js} +1 -1
- package/dist/cdn/BA3BDAAS.js +2 -0
- package/dist/cdn/{AJBY2TVM.js → BFIXVV5U.js} +1 -1
- package/dist/cdn/BIJOBOZ4.js +2 -0
- package/dist/cdn/BVQJEN6O.js +2 -0
- package/dist/cdn/{PI6UQWTD.js → C2T4S7R6.js} +1 -1
- package/dist/cdn/C3MEDREM.js +2 -0
- package/dist/cdn/C4TTO7TK.js +2 -0
- package/dist/cdn/CGKNN7O3.js +2 -0
- package/dist/cdn/CRI4IX6X.js +2 -0
- package/dist/cdn/{IFSGM32L.js → CTUMJNVV.js} +1 -1
- package/dist/cdn/CVBW7J23.js +2 -0
- package/dist/cdn/{HY73HOSP.js → CXFTZC4P.js} +1 -1
- package/dist/cdn/{XEYK67J5.js → CYX7ZCTI.js} +1 -1
- package/dist/cdn/CZP57LZN.js +2 -0
- package/dist/cdn/{DUT3D6UH.js → D3ID2M4K.js} +1 -1
- package/dist/cdn/D4WLKVXQ.js +2 -0
- package/dist/cdn/DBZ3TUNH.js +2 -0
- package/dist/cdn/DOAUTR3P.js +2 -0
- package/dist/cdn/DQH27QCF.js +2 -0
- package/dist/cdn/DSN53CZZ.js +2 -0
- package/dist/cdn/DWTMIKGK.js +2 -0
- package/dist/cdn/EIZD6RWP.js +2 -0
- package/dist/cdn/EQ7PMY6V.js +2 -0
- package/dist/cdn/{4YQLL44L.js → EYEWDNE5.js} +1 -1
- package/dist/cdn/F234D4MB.js +2 -0
- package/dist/cdn/F37IC6GS.js +2 -0
- package/dist/cdn/{ENDLVIST.js → F4WUHSSA.js} +1 -1
- package/dist/cdn/FIG6WRQB.js +2 -0
- package/dist/cdn/FPIFCILH.js +2 -0
- package/dist/cdn/FWXI6DGS.js +2 -0
- package/dist/cdn/GCFS62KM.js +2 -0
- package/dist/cdn/{6XJFSJGE.js → GGFRRU24.js} +1 -1
- package/dist/cdn/{GLV3FW3Z.js → GIQWOYCO.js} +1 -1
- package/dist/cdn/GTGN4N7C.js +2 -0
- package/dist/cdn/{RN44YUJM.js → GTL2XK2G.js} +1 -1
- package/dist/cdn/GW3E4WBW.js +2 -0
- package/dist/cdn/{H5UJFKXO.js → GZ7R6ON7.js} +1 -1
- package/dist/cdn/HTWBRXGA.js +2 -0
- package/dist/cdn/HW4WLKS3.js +2 -0
- package/dist/cdn/HX43LUFZ.js +2 -0
- package/dist/cdn/{CQ4QHVEL.js → I5CLFGA4.js} +1 -1
- package/dist/cdn/I76WQDAB.js +2 -0
- package/dist/cdn/{FYYKRDW3.js → I7FUAEVX.js} +1 -1
- package/dist/cdn/J2NNVVQJ.js +2 -0
- package/dist/cdn/{D4BT63BV.js → J2UAHEHR.js} +1 -1
- package/dist/cdn/{TVTQW6GC.js → J6UG5EF7.js} +1 -1
- package/dist/cdn/JEBIHMOV.js +2 -0
- package/dist/cdn/JVFREF7G.js +4 -0
- package/dist/cdn/JYMO2RQW.js +2 -0
- package/dist/cdn/JZZSQAW2.js +2 -0
- package/dist/cdn/K4WPBHLB.js +2 -0
- package/dist/cdn/KMHTPOUS.js +3 -0
- package/dist/cdn/KMPRGO2N.js +2 -0
- package/dist/cdn/KSGWOMMH.js +2 -0
- package/dist/cdn/KVUEQOKK.js +2 -0
- package/dist/cdn/{6RDB26PI.js → KXHRLYKD.js} +1 -1
- package/dist/cdn/{IIPYTUR3.js → LF6Z577I.js} +1 -1
- package/dist/cdn/{HXPCADLA.js → LMRDVTIM.js} +1 -1
- package/dist/cdn/LMYZFAFF.js +2 -0
- package/dist/cdn/LUAKM4MG.js +2 -0
- package/dist/cdn/{MQ6HO6LA.js → M2EZHNOA.js} +1 -1
- package/dist/cdn/{TCG6VGIB.js → M3SO3XES.js} +1 -1
- package/dist/cdn/MDRC374Z.js +4 -0
- package/dist/cdn/{4PWBNKOA.js → MI222VBR.js} +1 -1
- package/dist/cdn/MP4O7I6K.js +2 -0
- package/dist/cdn/{ZATCJZP2.js → MPXHOG6M.js} +1 -1
- package/dist/cdn/MRBYVJ5U.js +2 -0
- package/dist/cdn/MX7NGEWP.js +2 -0
- package/dist/cdn/N3KVIOWL.js +2 -0
- package/dist/cdn/NJWMNFLG.js +2 -0
- package/dist/cdn/{JFDN4YD7.js → NTQDM7T6.js} +1 -1
- package/dist/cdn/ODQ4JQEF.js +2 -0
- package/dist/cdn/OGLMIUHI.js +2 -0
- package/dist/cdn/{3FSARSVN.js → OH3I63ZU.js} +1 -1
- package/dist/cdn/OK7S4W2T.js +2 -0
- package/dist/cdn/OM6N42EA.js +2 -0
- package/dist/cdn/{ZYMCKBTT.js → ORZL7AJK.js} +1 -1
- package/dist/cdn/OY3SJG2A.js +2 -0
- package/dist/cdn/P2ABZVPJ.js +2 -0
- package/dist/cdn/PBTWS5ZO.js +2 -0
- package/dist/cdn/PLPEGT56.js +2 -0
- package/dist/cdn/{LSF66JVY.js → PM4BDQTV.js} +1 -1
- package/dist/cdn/PMSDTN4F.js +2 -0
- package/dist/cdn/{GKW3DDEQ.js → PZD2JLT5.js} +1 -1
- package/dist/cdn/QG6R7I4M.js +2 -0
- package/dist/cdn/QHIBDCFD.js +2 -0
- package/dist/cdn/QPPSIZAB.js +2 -0
- package/dist/cdn/QVKAKMZA.js +2 -0
- package/dist/cdn/{LVSNYSCO.js → QVQPUYUA.js} +1 -1
- package/dist/cdn/QWJMM65P.js +2 -0
- package/dist/cdn/R2ZIHQ6C.js +2 -0
- package/dist/cdn/R3NYK6BO.js +2 -0
- package/dist/cdn/R4GEB2D7.js +2 -0
- package/dist/cdn/{P4PTEXIJ.js → RCWAURXQ.js} +1 -1
- package/dist/cdn/{NWK2WHZF.js → RFFRNLP2.js} +1 -1
- package/dist/cdn/RH62B2NE.js +2 -0
- package/dist/cdn/{5CYQI4SX.js → RRTCHX7D.js} +1 -1
- package/dist/cdn/{34V5UMTY.js → RT4LIRRF.js} +1 -1
- package/dist/cdn/RWKDHERX.js +2 -0
- package/dist/cdn/RWZCNZXX.js +2 -0
- package/dist/cdn/S4I3X6AX.js +2 -0
- package/dist/cdn/S676CANE.js +2 -0
- package/dist/cdn/{WAASVZRG.js → SVM4RWA7.js} +1 -1
- package/dist/cdn/{TTR6UUEQ.js → SYWVHWVX.js} +1 -1
- package/dist/cdn/TBWM3VXL.js +2 -0
- package/dist/cdn/{IZOPV2VQ.js → TCYJRUYQ.js} +1 -1
- package/dist/cdn/{NW44UOKT.js → TE5VBSUT.js} +1 -1
- package/dist/cdn/{2IOCPFSI.js → TFMBO2TF.js} +1 -1
- package/dist/cdn/{H5QDPW5Y.js → TFUFDVQ6.js} +1 -1
- package/dist/cdn/TGSCLA2C.js +2 -0
- package/dist/cdn/TNCVNE6F.js +2 -0
- package/dist/cdn/TWV3S4Z7.js +2 -0
- package/dist/cdn/{7ZAVSDBZ.js → U3OC5CUW.js} +1 -1
- package/dist/cdn/{INS77MCT.js → U4CA3PYG.js} +1 -1
- package/dist/cdn/{BUE7MOVD.js → UO4R7CWA.js} +1 -1
- package/dist/cdn/UOEUBKDF.js +2 -0
- package/dist/cdn/UVO7OQB6.js +2 -0
- package/dist/cdn/UX2LYYGS.js +2 -0
- package/dist/cdn/V3QXCAYX.js +2 -0
- package/dist/cdn/V4KC76CR.js +2 -0
- package/dist/cdn/VEYOGGAN.js +2 -0
- package/dist/cdn/VHLUJNCP.js +2 -0
- package/dist/cdn/VY2CZNYM.js +2 -0
- package/dist/cdn/W3ELN5AQ.js +2 -0
- package/dist/cdn/{KYOYYCFY.js → W3EWLBL6.js} +1 -1
- package/dist/cdn/W73LTDPZ.js +2 -0
- package/dist/cdn/{GHFKQEFW.js → WE5C2IC6.js} +1 -1
- package/dist/cdn/WNDNGPC6.js +2 -0
- package/dist/cdn/WP44MHA5.js +2 -0
- package/dist/cdn/WU4OO2CE.js +2 -0
- package/dist/cdn/{62WRVJ3U.js → X5KTEF4Q.js} +1 -1
- package/dist/cdn/XCN5IIIA.js +2 -0
- package/dist/cdn/{GYTQDFSL.js → XCSLXGGT.js} +1 -1
- package/dist/cdn/XEXCDGSR.js +2 -0
- package/dist/cdn/{4IC3NWKK.js → XIBJIKAX.js} +1 -1
- package/dist/cdn/{L5EGJLC4.js → XKP5ITQT.js} +1 -1
- package/dist/cdn/XPZYTUFI.js +2 -0
- package/dist/cdn/XQW7SSDL.js +2 -0
- package/dist/cdn/XSRRD3ET.js +2 -0
- package/dist/cdn/{ATRTNMMR.js → Y2SCBPL7.js} +1 -1
- package/dist/cdn/Y56BNGW6.js +2 -0
- package/dist/cdn/{SPACZLHW.js → YJJZFGLZ.js} +1 -1
- package/dist/cdn/YM46E2DT.js +2 -0
- package/dist/cdn/YMG6MCNY.js +2 -0
- package/dist/cdn/YWIQ2K5S.js +2 -0
- package/dist/cdn/YXIRQ6K2.js +2 -0
- package/dist/cdn/YXUK3MCB.js +2 -0
- package/dist/cdn/YZLPEORC.js +2 -0
- package/dist/cdn/Z4AZUIMN.js +2 -0
- package/dist/cdn/Z57TNQ4S.js +2 -0
- package/dist/cdn/ZKF65A44.js +2 -0
- package/dist/cdn/ZTERN4BN.js +2 -0
- package/dist/cdn/ZUMTQ5P7.js +2 -0
- package/dist/cdn/assets/fonts/CalciteWebCoreIcons.woff2 +0 -0
- package/dist/cdn/assets/layer-list-new/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +106 -99
- package/dist/chunks/action-utils.js +4 -4
- package/dist/chunks/component-utils.js +42 -36
- package/dist/chunks/css.js +25 -0
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +10 -12
- package/dist/chunks/globalCss.js +1 -0
- package/dist/chunks/heading.js +2 -2
- package/dist/chunks/layer-list-utils.js +112 -0
- package/dist/chunks/layer-utils.js +44 -28
- package/dist/chunks/measurementUtils.js +12 -12
- package/dist/chunks/slots.js +27 -27
- package/dist/chunks/useArcgisViewReadyError.js +11 -11
- package/dist/chunks/useViewModel.js +5 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +19 -11
- package/dist/components/arcgis-area-measurement-2d/customElement.js +97 -100
- package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +27 -26
- package/dist/components/arcgis-area-measurement-3d/customElement.js +69 -86
- package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +4 -5
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -5
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +126 -99
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +6 -6
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +12 -17
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/types.d.ts +14 -7
- package/dist/components/arcgis-building-explorer/customElement.d.ts +16 -75
- package/dist/components/arcgis-building-explorer/customElement.js +17 -12
- package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +127 -73
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-clipboard/customElement.d.ts +3 -3
- package/dist/components/arcgis-compass/customElement.d.ts +2 -3
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +14 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.js +23 -22
- package/dist/components/arcgis-daylight/customElement.d.ts +31 -32
- package/dist/components/arcgis-daylight/customElement.js +212 -206
- package/dist/components/arcgis-daylight/types.d.ts +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +24 -23
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +74 -91
- package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
- package/dist/components/arcgis-directions/customElement.d.ts +60 -14
- package/dist/components/arcgis-directions/customElement.js +31 -9
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +23 -11
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +77 -80
- package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-editor/customElement.d.ts +79 -18
- package/dist/components/arcgis-editor/customElement.js +23 -14
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +30 -29
- package/dist/components/arcgis-elevation-profile/customElement.js +100 -111
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
- package/dist/components/arcgis-expand/customElement.d.ts +6 -7
- package/dist/components/arcgis-expand/customElement.js +5 -11
- package/dist/components/arcgis-expand/types.d.ts +1 -0
- package/dist/components/arcgis-feature/customElement.d.ts +38 -39
- package/dist/components/arcgis-feature/customElement.js +39 -39
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +23 -26
- package/dist/components/arcgis-feature-fields/customElement.js +28 -28
- package/dist/components/arcgis-feature-form/customElement.d.ts +19 -15
- package/dist/components/arcgis-feature-image/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-media/customElement.js +172 -199
- package/dist/components/arcgis-feature-relationship/customElement.js +14 -14
- package/dist/components/arcgis-feature-table/customElement.d.ts +181 -87
- package/dist/components/arcgis-feature-table/customElement.js +46 -30
- package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.d.ts +44 -35
- package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/customElement.js +4 -4
- package/dist/components/arcgis-feature-title/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +25 -21
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +1 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +84 -93
- package/dist/components/arcgis-features/customElement.d.ts +70 -70
- package/dist/components/arcgis-features/customElement.js +92 -110
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -15
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -10
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +36 -37
- package/dist/components/arcgis-home/customElement.d.ts +8 -10
- package/dist/components/arcgis-home/customElement.js +16 -14
- package/dist/components/arcgis-layer-list/customElement.d.ts +50 -53
- package/dist/components/arcgis-layer-list/customElement.js +15 -15
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +35 -0
- package/dist/components/arcgis-layer-list-item-indicator/index.js +2 -0
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +74 -0
- package/dist/components/arcgis-layer-list-item-panel/index.js +2 -0
- package/dist/components/arcgis-layer-list-new/customElement.d.ts +302 -0
- package/dist/components/arcgis-layer-list-new/customElement.js +249 -0
- package/dist/components/arcgis-layer-list-new/index.js +10 -0
- package/dist/components/arcgis-layer-list-new/layer-list-item/customElement.js +139 -0
- package/dist/components/{arcgis-layer-list-item → arcgis-layer-list-new/layer-list-item}/index.js +6 -5
- package/dist/components/arcgis-legend/customElement.d.ts +42 -43
- package/dist/components/arcgis-legend-classic-element/customElement.js +22 -24
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +16 -14
- package/dist/components/arcgis-link-chart/customElement.d.ts +76 -68
- package/dist/components/arcgis-link-chart/customElement.js +8 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +3 -5
- package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +9 -9
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
- package/dist/components/arcgis-locate/customElement.d.ts +3 -4
- package/dist/components/arcgis-locate/customElement.js +24 -23
- package/dist/components/arcgis-map/customElement.d.ts +189 -181
- package/dist/components/arcgis-map/customElement.js +4 -4
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
- package/dist/components/arcgis-measurement-content/customElement.js +18 -14
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -11
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +7 -12
- package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
- package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +6 -3
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +28 -16
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +267 -123
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +117 -116
- package/dist/components/arcgis-paste/customElement.d.ts +5 -5
- package/dist/components/arcgis-paste/customElement.js +92 -74
- package/dist/components/arcgis-paste/index.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +87 -75
- package/dist/components/arcgis-popup/customElement.js +121 -125
- package/dist/components/arcgis-popup/types.d.ts +2 -2
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +4 -3
- package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
- package/dist/components/arcgis-presentation/customElement.js +6 -6
- package/dist/components/arcgis-print/customElement.d.ts +51 -31
- package/dist/components/arcgis-print/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +6 -6
- package/dist/components/arcgis-print-main-panel/customElement.js +7 -7
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +20 -19
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +3 -2
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +42 -32
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -7
- package/dist/components/arcgis-scale-bar/customElement.js +7 -7
- package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
- package/dist/components/arcgis-scene/customElement.d.ts +185 -177
- package/dist/components/arcgis-scene/customElement.js +10 -10
- package/dist/components/arcgis-search/customElement.d.ts +55 -59
- package/dist/components/arcgis-search/customElement.js +13 -12
- package/dist/components/arcgis-search/types.d.ts +1 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +84 -40
- package/dist/components/arcgis-shadow-cast/customElement.js +34 -34
- package/dist/components/arcgis-sketch/customElement.d.ts +82 -33
- package/dist/components/arcgis-sketch/customElement.js +14 -14
- package/dist/components/arcgis-slice/customElement.d.ts +26 -26
- package/dist/components/arcgis-slice/customElement.js +11 -10
- package/dist/components/arcgis-slice/types.d.ts +4 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +128 -97
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +53 -59
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +51 -54
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +79 -101
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +149 -99
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +13 -14
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +75 -93
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +81 -97
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +76 -16
- package/dist/components/arcgis-snapping-controls/customElement.js +3 -3
- package/dist/components/arcgis-swipe/customElement.d.ts +16 -17
- package/dist/components/arcgis-swipe/customElement.js +55 -43
- package/dist/components/arcgis-table-list/customElement.d.ts +122 -80
- package/dist/components/arcgis-table-list/customElement.js +11 -11
- package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
- package/dist/components/arcgis-time-of-day-slider/customElement.js +23 -25
- package/dist/components/arcgis-time-slider/customElement.d.ts +23 -26
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +10 -34
- package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
- package/dist/components/arcgis-time-zone-label/index.js +1 -1
- package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
- package/dist/components/arcgis-track/customElement.d.ts +6 -7
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +18 -10
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +54 -59
- package/dist/components/arcgis-utility-network-aggregated-geometry/index.js +0 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -8
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +95 -29
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +76 -60
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +23 -6
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +119 -75
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +17 -5
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +200 -195
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +12 -12
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +23 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +120 -98
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +51 -53
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +7 -21
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management/types.d.ts +15 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +13 -11
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +46 -41
- package/dist/components/arcgis-volume-measurement/customElement.js +164 -173
- package/dist/components/arcgis-volume-measurement/index.js +1 -1
- package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
- package/dist/components/arcgis-weather/customElement.d.ts +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +8 -7
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/components/arcgis-zoom/types.d.ts +3 -0
- package/dist/components/types.d.ts +58 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +17 -35
- package/dist/loader.js +38 -36
- package/dist/types/lumina.d.ts +41 -55
- package/dist/types/preact.d.ts +43 -60
- package/dist/types/react.d.ts +45 -65
- package/dist/types/stencil.d.ts +41 -55
- package/dist/utils/action-utils.d.ts +1 -3
- package/dist/utils/layer-list-utils.d.ts +12 -0
- package/package.json +7 -7
- package/dist/cdn/22LNBUKE.js +0 -2
- package/dist/cdn/23UYZVTW.js +0 -2
- package/dist/cdn/2BJHF4JK.js +0 -2
- package/dist/cdn/2K45WUVH.js +0 -2
- package/dist/cdn/3NKCXSOG.js +0 -2
- package/dist/cdn/3WJ4CTLO.js +0 -2
- package/dist/cdn/3WKKQ4VO.js +0 -2
- package/dist/cdn/4TURMTXA.js +0 -2
- package/dist/cdn/4URF7CKU.js +0 -2
- package/dist/cdn/5FZLG5YS.js +0 -2
- package/dist/cdn/5RBOHMMK.js +0 -2
- package/dist/cdn/6NR6EZZI.js +0 -2
- package/dist/cdn/6Q52PYPA.js +0 -2
- package/dist/cdn/6V543DNR.js +0 -2
- package/dist/cdn/6ZNO34O5.js +0 -2
- package/dist/cdn/77ERVO5S.js +0 -2
- package/dist/cdn/7CBBWB77.js +0 -2
- package/dist/cdn/7WLTT4K3.js +0 -2
- package/dist/cdn/7ZCMIKP6.js +0 -2
- package/dist/cdn/B2WEYYED.js +0 -2
- package/dist/cdn/BAPY2HFP.js +0 -2
- package/dist/cdn/BB5CXHDQ.js +0 -2
- package/dist/cdn/BEXRPBHT.js +0 -2
- package/dist/cdn/BGOWWLCQ.js +0 -2
- package/dist/cdn/BM2JTRBY.js +0 -2
- package/dist/cdn/BMR2YFEM.js +0 -2
- package/dist/cdn/BQMLNDT6.js +0 -2
- package/dist/cdn/C2PSJPHR.js +0 -2
- package/dist/cdn/C67HCGCO.js +0 -2
- package/dist/cdn/CCJHB4A2.js +0 -2
- package/dist/cdn/CEJGZMGB.js +0 -2
- package/dist/cdn/CIUAWIL5.js +0 -4
- package/dist/cdn/CKNH5OMJ.js +0 -2
- package/dist/cdn/CNMF4MVD.js +0 -2
- package/dist/cdn/CQ2L75M3.js +0 -2
- package/dist/cdn/CUWONRT5.js +0 -2
- package/dist/cdn/CXOYV56L.js +0 -2
- package/dist/cdn/D7DDJ2QZ.js +0 -3
- package/dist/cdn/DLFGSUYT.js +0 -2
- package/dist/cdn/DWW7KAMQ.js +0 -2
- package/dist/cdn/E4YMNWRJ.js +0 -2
- package/dist/cdn/EJZTSGNS.js +0 -2
- package/dist/cdn/EL62JS5C.js +0 -2
- package/dist/cdn/EPQN4FJS.js +0 -2
- package/dist/cdn/EQKQCYUY.js +0 -2
- package/dist/cdn/ET6YD3C7.js +0 -2
- package/dist/cdn/EVC4MXIZ.js +0 -2
- package/dist/cdn/EYW7YQF6.js +0 -2
- package/dist/cdn/FANKLSAT.js +0 -2
- package/dist/cdn/FEQLUSM2.js +0 -2
- package/dist/cdn/FFDRV5ZO.js +0 -2
- package/dist/cdn/FOMIDTAN.js +0 -2
- package/dist/cdn/FTBTVD7U.js +0 -2
- package/dist/cdn/G4A4VLTL.js +0 -2
- package/dist/cdn/G7PHEWBZ.js +0 -2
- package/dist/cdn/GHA2ANJZ.js +0 -2
- package/dist/cdn/GLNRLEZE.js +0 -2
- package/dist/cdn/GQN4ALIE.js +0 -2
- package/dist/cdn/GS43BIES.js +0 -2
- package/dist/cdn/GUAI5SHN.js +0 -2
- package/dist/cdn/GYDNEXYU.js +0 -2
- package/dist/cdn/HGNP2J3R.js +0 -2
- package/dist/cdn/HVI2FE73.js +0 -2
- package/dist/cdn/I2WEEE2E.js +0 -2
- package/dist/cdn/ILPNFQWH.js +0 -2
- package/dist/cdn/IPNIJANM.js +0 -2
- package/dist/cdn/J7ZNOOZ4.js +0 -2
- package/dist/cdn/JC4DYMKT.js +0 -2
- package/dist/cdn/JCV26SSG.js +0 -2
- package/dist/cdn/JLIZWDU5.js +0 -2
- package/dist/cdn/JMHCIJG4.js +0 -2
- package/dist/cdn/KBY7C6QM.js +0 -2
- package/dist/cdn/KE3XRRXO.js +0 -2
- package/dist/cdn/KEFY4XPI.js +0 -2
- package/dist/cdn/KNJ7PME5.js +0 -2
- package/dist/cdn/KRCRJUYG.js +0 -2
- package/dist/cdn/L6LZYPWJ.js +0 -2
- package/dist/cdn/L7NIKN24.js +0 -2
- package/dist/cdn/LLNNQ2ED.js +0 -2
- package/dist/cdn/LMV6L2OF.js +0 -2
- package/dist/cdn/LVMJAMRO.js +0 -2
- package/dist/cdn/LZ3PMD7Z.js +0 -2
- package/dist/cdn/LZ7PMWXR.js +0 -2
- package/dist/cdn/LZFDWRYI.js +0 -2
- package/dist/cdn/MSMDSEFM.js +0 -2
- package/dist/cdn/MW73TE2N.js +0 -2
- package/dist/cdn/N76CLHYJ.js +0 -2
- package/dist/cdn/OF4IOSNA.js +0 -2
- package/dist/cdn/OJNMPOYD.js +0 -2
- package/dist/cdn/OKZSKR6W.js +0 -2
- package/dist/cdn/OXHLBFME.js +0 -2
- package/dist/cdn/PCQ5PXPF.js +0 -2
- package/dist/cdn/PESPV6VP.js +0 -2
- package/dist/cdn/PFYZ7JRB.js +0 -2
- package/dist/cdn/PNDLNFML.js +0 -2
- package/dist/cdn/POEZXWTT.js +0 -2
- package/dist/cdn/PTWLVTFS.js +0 -4
- package/dist/cdn/QXUY4FOY.js +0 -2
- package/dist/cdn/RVFNEP2J.js +0 -2
- package/dist/cdn/RXFUZXUX.js +0 -2
- package/dist/cdn/S52VES4H.js +0 -2
- package/dist/cdn/SD7FABOK.js +0 -2
- package/dist/cdn/SFM3XWUA.js +0 -2
- package/dist/cdn/SRSYUCVL.js +0 -2
- package/dist/cdn/SSZMOOL6.js +0 -2
- package/dist/cdn/SZNBYDQI.js +0 -2
- package/dist/cdn/TM5C2P2F.js +0 -2
- package/dist/cdn/U5HXLA7K.js +0 -2
- package/dist/cdn/UZ7KLWGC.js +0 -2
- package/dist/cdn/V3M37NHT.js +0 -2
- package/dist/cdn/VGFC3ME5.js +0 -2
- package/dist/cdn/VGTTCLO3.js +0 -2
- package/dist/cdn/VJMMA6UX.js +0 -2
- package/dist/cdn/VPJCFCJU.js +0 -2
- package/dist/cdn/VYHDFNKP.js +0 -2
- package/dist/cdn/WICYZB2Q.js +0 -2
- package/dist/cdn/XWAT4IT2.js +0 -2
- package/dist/cdn/XXDOZQ6Q.js +0 -2
- package/dist/cdn/Y7HDE5NQ.js +0 -2
- package/dist/cdn/YEDAGZUF.js +0 -2
- package/dist/cdn/YHRPRHZA.js +0 -2
- package/dist/cdn/YMDVBOE7.js +0 -2
- package/dist/cdn/YMPJFJHK.js +0 -2
- package/dist/cdn/YSDQ5VNK.js +0 -2
- package/dist/cdn/Z6VVHLCW.js +0 -2
- package/dist/cdn/ZHINQNZ2.js +0 -2
- package/dist/cdn/ZIX3WE2Q.js +0 -2
- package/dist/cdn/ZMLRDNKR.js +0 -2
- package/dist/chunks/layer-list.js +0 -6
- package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
- package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
- package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
- package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
- package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
- package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
- package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
- package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
- package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
- package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
- package/dist/components/arcgis-feature-templates/index.d.ts +0 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +0 -287
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -4
- package/dist/components/support/goTo.d.ts +0 -37
- package/dist/controllers/useArcgisLoadError.d.ts +0 -9
- package/dist/support/heading.d.ts +0 -1
- package/dist/support/measurementUtils.d.ts +0 -1
- package/dist/utils/component-utils.d.ts +0 -5
- /package/dist/cdn/{W5B5LTGN.js → 2HXYJZSB.js} +0 -0
- /package/dist/cdn/{W2Q7NWBG.js → 37GJW6KT.js} +0 -0
- /package/dist/cdn/{ORP3ZND2.js → 4IM2FY5W.js} +0 -0
- /package/dist/cdn/{DWZIXPJ4.js → 4MDRPZTG.js} +0 -0
- /package/dist/cdn/{FPD3STSJ.js → 4STAROOM.js} +0 -0
- /package/dist/cdn/{HZTWWEVM.js → 5IMWXYL2.js} +0 -0
- /package/dist/cdn/{LCXF3AKY.js → 5TXE67XV.js} +0 -0
- /package/dist/cdn/{B7IYR676.js → BBQPUWRO.js} +0 -0
- /package/dist/cdn/{PUOWH3YL.js → BND2TJBO.js} +0 -0
- /package/dist/cdn/{UQ7E33T4.js → CJOHGWK6.js} +0 -0
- /package/dist/cdn/{5OB4E5PR.js → D5WXOOS3.js} +0 -0
- /package/dist/cdn/{QAXR4LT6.js → DMDCKD5U.js} +0 -0
- /package/dist/cdn/{DDI363AI.js → EP252O27.js} +0 -0
- /package/dist/cdn/{YP3JKXC4.js → EVHNFE5I.js} +0 -0
- /package/dist/cdn/{7FMJZURP.js → EW6V3NZI.js} +0 -0
- /package/dist/cdn/{ZLIZCBGT.js → F6BQWE5I.js} +0 -0
- /package/dist/cdn/{W5XM52J7.js → FLLSBLLE.js} +0 -0
- /package/dist/cdn/{PHF2XKSK.js → FQZXILRT.js} +0 -0
- /package/dist/cdn/{X5H6ZUFX.js → GHY23IXW.js} +0 -0
- /package/dist/cdn/{RDW2NJPR.js → GIGQIUF5.js} +0 -0
- /package/dist/cdn/{DEOCASGG.js → GS75FRUR.js} +0 -0
- /package/dist/cdn/{JMDNJPNT.js → HGAJ2IEN.js} +0 -0
- /package/dist/cdn/{GB42YXHR.js → JKVKP7AW.js} +0 -0
- /package/dist/cdn/{YDJGMRV3.js → JU3BLGXG.js} +0 -0
- /package/dist/cdn/{76ESM6B2.js → L4TA63M6.js} +0 -0
- /package/dist/cdn/{RCD5UKTW.js → LQVZVGY4.js} +0 -0
- /package/dist/cdn/{E2KWMQKQ.js → MM4KQLRF.js} +0 -0
- /package/dist/cdn/{UVZZX6YP.js → Q3GALNWS.js} +0 -0
- /package/dist/cdn/{ZFFBK3VO.js → QM34BSKE.js} +0 -0
- /package/dist/cdn/{M6TJN2I5.js → QTWRDNXX.js} +0 -0
- /package/dist/cdn/{2ZL4CF6P.js → TC3Q2QUA.js} +0 -0
- /package/dist/cdn/{YHVFARHN.js → TEFALOII.js} +0 -0
- /package/dist/cdn/{JDPQMOEW.js → TP5VEU3D.js} +0 -0
- /package/dist/cdn/{CRR65TKV.js → U35ISUWJ.js} +0 -0
- /package/dist/cdn/{L4WRYSKZ.js → UUC3DBCQ.js} +0 -0
- /package/dist/cdn/{BQIH5T3S.js → UVMLKDJA.js} +0 -0
- /package/dist/cdn/{YMU5IPMP.js → V7DG2KF6.js} +0 -0
- /package/dist/cdn/{OSRAPPNR.js → WHDMC5HB.js} +0 -0
- /package/dist/cdn/{55VMVXRK.js → XJXQC6HM.js} +0 -0
- /package/dist/cdn/{CHDRBZNL.js → YZSLMAVX.js} +0 -0
- /package/dist/cdn/{KAJ3U6DP.js → ZUPEVR3P.js} +0 -0
- /package/dist/components/{arcgis-building-discipline-tree → arcgis-feature-templates-legacy}/index.d.ts +0 -0
- /package/dist/components/{arcgis-feature-templates → arcgis-feature-templates-legacy}/index.js +0 -0
- /package/dist/components/{arcgis-building-level-item → arcgis-layer-list-new}/index.d.ts +0 -0
- /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
|
@@ -1,35 +1,39 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
2
|
+
import { c as f } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as g, html as n } from "lit";
|
|
4
4
|
import { keyed as d } from "lit/directives/keyed.js";
|
|
5
|
-
import { ArcgisUtilityNetworkAssociationList as
|
|
5
|
+
import { ArcgisUtilityNetworkAssociationList as y } from "../arcgis-utility-network-association-list/customElement.js";
|
|
6
6
|
import { stripHTML as u } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
7
|
-
import { renderElement as p, safeClassMap as y } from "@arcgis/lumina";
|
|
8
7
|
import { formatNumber as w, substitute as $ } from "@arcgis/core/intl.js";
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
import { renderElement as p, safeClassMap as b } from "@arcgis/lumina";
|
|
9
|
+
import { i as m } from "../../chunks/layer-utils.js";
|
|
10
|
+
const _ = g`:host{position:relative;flex:1 1 auto}.list-item--hidden{display:none}.feature-observer{bottom:var(--calcite-spacing-xxl);position:relative;text-align:center;z-index:2}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.notice-container{margin-bottom:var(--calcite-spacing-xs)}`, A = "nested";
|
|
11
|
+
class F extends y {
|
|
11
12
|
constructor() {
|
|
12
|
-
super(...arguments), this.displayCount = 3, this.flowType = "feature-utility-network-association-type";
|
|
13
|
+
super(...arguments), this.autoDestroyDisabled = !1, this.displayCount = 3, this.flowType = "feature-utility-network-association-type";
|
|
13
14
|
}
|
|
14
15
|
static {
|
|
15
|
-
this.properties = { description: 1, displayCount: 9, endIndex: 32, flowItems: 0, flowType: 1, heading: 1, map: 0, spatialReference: 0, timeZone: 1, view: 0 };
|
|
16
|
+
this.properties = { autoDestroyDisabled: 5, description: 1, displayCount: 9, endIndex: 32, flowItems: 0, flowType: 1, heading: 1, map: 0, referenceElement: 1, spatialReference: 0, timeZone: 1, view: 0 };
|
|
16
17
|
}
|
|
17
18
|
static {
|
|
18
|
-
this.styles =
|
|
19
|
+
this.styles = _;
|
|
19
20
|
}
|
|
20
21
|
get endIndex() {
|
|
21
22
|
const { currentFeaturePage: e, featuresPerPage: t, maxFeatureCount: s } = this;
|
|
22
23
|
return Math.min(e * t, s);
|
|
23
24
|
}
|
|
25
|
+
async destroy() {
|
|
26
|
+
await this.manager.destroy();
|
|
27
|
+
}
|
|
24
28
|
_featureViewModelMatch(e, t) {
|
|
25
29
|
const s = e.graphic, i = s?.layer;
|
|
26
30
|
let o = null;
|
|
27
|
-
i
|
|
28
|
-
const l = o ? s?.
|
|
31
|
+
m(i) && i.parent ? o = i.parent.globalIdField ?? null : i && "globalIdField" in i && (o = i.globalIdField);
|
|
32
|
+
const l = o ? s?.getAttribute(o) : null, r = t.graphic, a = r?.layer;
|
|
29
33
|
let c = null;
|
|
30
|
-
a
|
|
31
|
-
const h = c ? r?.
|
|
32
|
-
return l && h && l === h;
|
|
34
|
+
m(a) && a.parent ? c = a.parent.globalIdField ?? null : a && "globalIdField" in a && (c = a.globalIdField);
|
|
35
|
+
const h = c ? r?.getAttribute(c) : null;
|
|
36
|
+
return !!(l && h && l === h);
|
|
33
37
|
}
|
|
34
38
|
_findFlowItem(e) {
|
|
35
39
|
return this.flowItems?.findIndex((t) => {
|
|
@@ -49,7 +53,7 @@ class A extends g {
|
|
|
49
53
|
async _handleFeatureClick(e, t, s) {
|
|
50
54
|
const { flowItems: i } = this;
|
|
51
55
|
if (e) {
|
|
52
|
-
i?.
|
|
56
|
+
i?.destroyAll();
|
|
53
57
|
return;
|
|
54
58
|
}
|
|
55
59
|
if (t < 0 || !i) {
|
|
@@ -75,7 +79,7 @@ class A extends g {
|
|
|
75
79
|
}
|
|
76
80
|
async _selectAssociation(e) {
|
|
77
81
|
const { flowItems: t } = this;
|
|
78
|
-
t && t.push(p(d(this.parentFeatureViewModel, n`<arcgis-feature .flowItems=${t} .flowType=${"feature-
|
|
82
|
+
t && t.push(p(d(this.parentFeatureViewModel, n`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${"feature-association"} .graphic=${e.graphic} .map=${this.map} .referenceElement=${this.referenceElement} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`)));
|
|
79
83
|
}
|
|
80
84
|
_showAllAssociations(e) {
|
|
81
85
|
const { flowItems: t, description: s } = this;
|
|
@@ -83,15 +87,15 @@ class A extends g {
|
|
|
83
87
|
return;
|
|
84
88
|
this.showAllEnabled = !0;
|
|
85
89
|
const i = e?.title ?? "";
|
|
86
|
-
t.push(p(n`<arcgis-feature-utility-network-association-list .associationViewModels=${this.associationViewModels} .description=${s} .flowItems=${t} .flowType=${this.flowType} .heading=${i} .messages=${this.messages} .parentFeatureViewModel=${this.parentFeatureViewModel} .selectedLayer=${e} .showAllEnabled=${this.showAllEnabled}></arcgis-feature-utility-network-association-list>`));
|
|
90
|
+
t.push(p(n`<arcgis-feature-utility-network-association-list .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this.associationViewModels} .description=${s} .flowItems=${t} .flowType=${this.flowType} .heading=${i} .messages=${this.messages} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .selectedLayer=${e} .showAllEnabled=${this.showAllEnabled}></arcgis-feature-utility-network-association-list>`));
|
|
87
91
|
}
|
|
88
92
|
render() {
|
|
89
93
|
const { associationViewModels: e, state: t } = this, s = this.selectedLayer?.title ?? this.messages?.noTitle ?? "";
|
|
90
|
-
return n`<div class="root">${t === "loading" || t === "querying" ? this._renderLoading() : n`<calcite-list .displayMode=${
|
|
94
|
+
return n`<div class="root">${t === "loading" || t === "querying" ? this._renderLoading() : n`<calcite-list .displayMode=${A} .filterEnabled=${this.showAllEnabled && !!this.selectedLayer} .filterLabel=${this.messages?.associationFilterPlaceholder} .filterPlaceholder=${this.messages?.associationFilterPlaceholder} .label=${s}>${this.showAllEnabled && this.selectedLayer ? n`${this._renderFeatureCountWarning()}${this._renderAssociatedFeatureListPage()}${this._renderFeatureObserver()}` : Array.from(e.keys(), (i) => this._renderTypeList(i))}</calcite-list>`}</div>`;
|
|
91
95
|
}
|
|
92
96
|
_renderAssociatedFeature(e) {
|
|
93
97
|
const { featureViewModel: t, title: s } = e, i = this.state === "loading", o = this._findFlowItem(t), l = o < 0 && this._isParentFeature(t), r = l || o >= 0, a = `associated-feature-${e.association.globalId}`;
|
|
94
|
-
return n`<calcite-list-item class=${
|
|
98
|
+
return n`<calcite-list-item class=${b(i ? "list-item--hidden" : "")} .description=${u(e.terminalName ?? "")} .label=${u(s)} @calciteListItemSelect=${async () => await this._handleFeatureClick(l, o, t)}>${this._isConnectivityAssociation(e.association) ? this._renderConnectivityIcon(e.association.associationType, a) : null}${this._isConnectivityMidspanAssociation(e.association) ? n`<calcite-chip .label=${this._formatPercentAlong(e.association)} scale=s slot=content-end>${this._formatPercentAlong(e.association)}</calcite-chip>` : null}${this._renderChevronIconNode(r)}</calcite-list-item>`;
|
|
95
99
|
}
|
|
96
100
|
_renderAssociatedFeatureList(e) {
|
|
97
101
|
return e.toArray().map((t) => this._renderAssociatedFeature(t));
|
|
@@ -115,7 +119,7 @@ class A extends g {
|
|
|
115
119
|
return e.toArray().map((t) => this._renderItemTooltip(t));
|
|
116
120
|
}
|
|
117
121
|
}
|
|
118
|
-
|
|
122
|
+
f("arcgis-feature-utility-network-association-list", F);
|
|
119
123
|
export {
|
|
120
|
-
|
|
124
|
+
F as ArcgisFeatureUtilityNetworkAssociationList
|
|
121
125
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
2
|
+
import { c as S } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as M, html as p } from "lit";
|
|
4
4
|
import { keyed as C } from "lit/directives/keyed.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { i as k, q as $ } from "../../chunks/layer-utils.js";
|
|
6
|
+
import { createReactiveMap as I, findUtilityNetwork as j, getOrCreateMapValue as D } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
7
|
+
import { stripHTML as v } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
7
8
|
import w from "@arcgis/core/core/Collection.js";
|
|
8
|
-
import { ignoreAbortErrors as
|
|
9
|
+
import { ignoreAbortErrors as q } from "@arcgis/core/core/promiseUtils.js";
|
|
9
10
|
import { watch as A } from "@arcgis/core/core/reactiveUtils.js";
|
|
10
11
|
import * as V from "@arcgis/core/core/sql.js";
|
|
11
12
|
import U from "@arcgis/core/rest/networks/support/NetworkElement.js";
|
|
12
13
|
import x from "@arcgis/core/rest/networks/support/QueryAssociationsParameters.js";
|
|
13
|
-
import D from "@arcgis/core/rest/support/FeatureSet.js";
|
|
14
14
|
import P from "@arcgis/core/rest/support/Query.js";
|
|
15
|
-
import
|
|
16
|
-
import { LitElement as
|
|
17
|
-
import { debounce as
|
|
18
|
-
const O =
|
|
15
|
+
import Q from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
|
|
16
|
+
import { LitElement as B, renderElement as G } from "@arcgis/lumina";
|
|
17
|
+
import { debounce as E } from "@arcgis/toolkit/function";
|
|
18
|
+
const O = M`.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}`, L = 100, T = {
|
|
19
19
|
assetGroup: "assetgroup",
|
|
20
20
|
assetType: "assettype"
|
|
21
|
-
},
|
|
22
|
-
class R extends
|
|
21
|
+
}, N = "{00000000-0000-0000-0000-000000000000}";
|
|
22
|
+
class R extends B {
|
|
23
23
|
constructor() {
|
|
24
24
|
super(...arguments), this._addFlowItem = (t) => {
|
|
25
25
|
t && this.flowItems?.push(t);
|
|
@@ -38,17 +38,17 @@ class R extends Q {
|
|
|
38
38
|
}, this._queryController = async (t) => {
|
|
39
39
|
this._cancelQuery();
|
|
40
40
|
const e = new AbortController();
|
|
41
|
-
this._queryAbortController = e, await
|
|
41
|
+
this._queryAbortController = e, await q(this._query(t)), this._queryAbortController === e && (this._queryAbortController = null);
|
|
42
42
|
}, this._queryFeatureCountController = async () => {
|
|
43
43
|
this._loaded = !1, this._cancelQueryFeatureCount();
|
|
44
44
|
const t = new AbortController();
|
|
45
|
-
this._queryFeatureCountAbortController = t, await
|
|
46
|
-
}, this._queryDebounced =
|
|
45
|
+
this._queryFeatureCountAbortController = t, await q(this._queryFeatureCount()), this._queryFeatureCountAbortController === t && (this._queryFeatureCountAbortController = null), this._loaded = !0;
|
|
46
|
+
}, this._queryDebounced = E(this._queryController, L), this._queryFeatureCountDebounced = E(this._queryFeatureCountController, L), this._structureAssociations = new w(), this._structureFeatureCount = 0, this._queryAssociationType = async () => {
|
|
47
47
|
this._activeAssociationType && this._queryDebounced(this._activeAssociationType);
|
|
48
48
|
}, 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";
|
|
49
49
|
}
|
|
50
50
|
static {
|
|
51
|
-
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 };
|
|
51
|
+
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, referenceElement: 1, source: 1, spatialReference: 0, timeZone: 1, view: 0 };
|
|
52
52
|
}
|
|
53
53
|
static {
|
|
54
54
|
this.styles = O;
|
|
@@ -72,8 +72,8 @@ class R extends Q {
|
|
|
72
72
|
const { layer: t, map: e } = this;
|
|
73
73
|
if (!t?.loaded || !e)
|
|
74
74
|
return null;
|
|
75
|
-
const s =
|
|
76
|
-
return
|
|
75
|
+
const s = k(t) ? t.parent : t;
|
|
76
|
+
return j(e, s);
|
|
77
77
|
}
|
|
78
78
|
get _canLoad() {
|
|
79
79
|
return !!this.map;
|
|
@@ -82,8 +82,8 @@ class R extends Q {
|
|
|
82
82
|
return !!this.layer?.capabilities?.query?.supportsPagination;
|
|
83
83
|
}
|
|
84
84
|
get _state() {
|
|
85
|
-
const { _canLoad: t, _canQuery: e, _featureCount: s, _loaded: o, _queryAbortController: i, _queryFeatureCountAbortController: a, _queryPageAbortController: u, associationTypes:
|
|
86
|
-
return a || t && !o ? "loading" : i || u ? "querying" : !this._globalId || !
|
|
85
|
+
const { _canLoad: t, _canQuery: e, _featureCount: s, _loaded: o, _queryAbortController: i, _queryFeatureCountAbortController: a, _queryPageAbortController: u, associationTypes: n } = this;
|
|
86
|
+
return a || t && !o ? "loading" : i || u ? "querying" : !this._globalId || !n || !e || !s ? "disabled" : "ready";
|
|
87
87
|
}
|
|
88
88
|
get heading() {
|
|
89
89
|
return this._heading;
|
|
@@ -118,7 +118,7 @@ class R extends Q {
|
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
_addAssociationTypeFlowItem(t) {
|
|
121
|
-
this._addFlowItem(
|
|
121
|
+
this._addFlowItem(G(p`<arcgis-feature-utility-network-association-list .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this._associationViewModels} .description=${this.parentFeatureViewModel?.title} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(t)} .messages=${this.messages} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`));
|
|
122
122
|
}
|
|
123
123
|
_clearAssociations() {
|
|
124
124
|
this._attachmentAssociations.removeAll(), this._connectivityAssociations.removeAll(), this._containerAssociations.removeAll(), this._contentAssociations.removeAll(), this._structureAssociations.removeAll();
|
|
@@ -146,57 +146,57 @@ class R extends Q {
|
|
|
146
146
|
return 0;
|
|
147
147
|
const a = await this._findLayersBySourceId(t);
|
|
148
148
|
await this._loadLayers(a);
|
|
149
|
-
const u = a.map((
|
|
150
|
-
return (await Promise.all(u)).reduce((
|
|
149
|
+
const u = a.map((c) => this._countAssociatedFeatureCount(c, e, s, o, i));
|
|
150
|
+
return (await Promise.all(u)).reduce((c, d) => c + d, 0);
|
|
151
151
|
}
|
|
152
152
|
async _createAssociationFeatureObjects(t, e, s, o, i) {
|
|
153
153
|
if (!t.length)
|
|
154
154
|
return [];
|
|
155
|
-
const a = /* @__PURE__ */ new Map(), u = Array.from(e.entries()).map(async ([
|
|
156
|
-
const l = await this._findLayersBySourceId(
|
|
155
|
+
const a = /* @__PURE__ */ new Map(), u = Array.from(e.entries()).map(async ([c, d]) => {
|
|
156
|
+
const l = await this._findLayersBySourceId(c);
|
|
157
157
|
await this._loadLayers(l);
|
|
158
|
-
const y = l.map((
|
|
159
|
-
(await Promise.all(y)).forEach((
|
|
160
|
-
|
|
158
|
+
const y = l.map((r) => this._queryLayer(r, d, s, o, i));
|
|
159
|
+
(await Promise.all(y)).forEach((r) => {
|
|
160
|
+
r.forEach((h) => {
|
|
161
161
|
if (this.source === "popup" ? h.sourceLayer && h.getEffectivePopupTemplate() : !!h.sourceLayer) {
|
|
162
|
-
const f = h.layer.globalIdField ?? "", g = h.
|
|
162
|
+
const f = h.layer.globalIdField ?? "", g = h.getAttribute(f), b = a.get(g) ?? [];
|
|
163
163
|
b.push(h), a.set(g, b);
|
|
164
164
|
}
|
|
165
165
|
});
|
|
166
166
|
});
|
|
167
167
|
});
|
|
168
168
|
await Promise.all(u);
|
|
169
|
-
const
|
|
170
|
-
return await Promise.all(t.toArray().map(async (
|
|
171
|
-
const { fromNetworkElement: d, toNetworkElement: l } =
|
|
172
|
-
await Promise.all(m.map(async (
|
|
173
|
-
const h = this._utilityNetwork?.getTerminalById(y?.terminalId ?? void 0)?.name, _ = await
|
|
174
|
-
|
|
169
|
+
const n = [];
|
|
170
|
+
return await Promise.all(t.toArray().map(async (c) => {
|
|
171
|
+
const { fromNetworkElement: d, toNetworkElement: l } = c, y = d.globalId === this._globalId ? l : d, m = a.get(y.globalId) ?? [];
|
|
172
|
+
await Promise.all(m.map(async (r) => {
|
|
173
|
+
const h = this._utilityNetwork?.getTerminalById(y?.terminalId ?? void 0)?.name, _ = await r.sourceLayer.getFeatureTitle(r) || this._getFeatureTitle(r);
|
|
174
|
+
n.push({
|
|
175
175
|
title: _,
|
|
176
|
-
feature:
|
|
177
|
-
association:
|
|
176
|
+
feature: r,
|
|
177
|
+
association: c,
|
|
178
178
|
terminalName: h
|
|
179
179
|
});
|
|
180
180
|
}));
|
|
181
|
-
})),
|
|
181
|
+
})), n;
|
|
182
182
|
}
|
|
183
183
|
_destroyAssociatedFeatureViewModels() {
|
|
184
184
|
this._associationViewModels.forEach((t) => t.destroyAll());
|
|
185
185
|
}
|
|
186
186
|
_equals(t, e) {
|
|
187
|
-
if (t.globalId ===
|
|
187
|
+
if (t.globalId === N && e.globalId === N) {
|
|
188
188
|
let s = function(d, l) {
|
|
189
189
|
return d.networkSourceId === l.networkSourceId && d.globalId === l.globalId && d.terminalId === l.terminalId && d.firstUnit === l.firstUnit && d.numUnits === l.numUnits;
|
|
190
190
|
};
|
|
191
|
-
const o = t.fromNetworkElement, i = t.toNetworkElement, a = e.fromNetworkElement, u = e.toNetworkElement,
|
|
192
|
-
return
|
|
191
|
+
const o = t.fromNetworkElement, i = t.toNetworkElement, a = e.fromNetworkElement, u = e.toNetworkElement, n = s(o, a), c = s(i, u);
|
|
192
|
+
return n && c && t.associationType === e.associationType;
|
|
193
193
|
}
|
|
194
194
|
return t.globalId != null && e.globalId != null && t.globalId === e.globalId;
|
|
195
195
|
}
|
|
196
196
|
async _findLayersBySourceId(t) {
|
|
197
197
|
const { _utilityNetwork: e, map: s } = this;
|
|
198
198
|
e?.loaded || await e?.load();
|
|
199
|
-
const o = e.getLayerIdBySourceId(t), i = s.allLayers.filter((
|
|
199
|
+
const o = e.getLayerIdBySourceId(t), i = s.allLayers.filter((n) => !!e?.isUtilityLayer(n) && n.layerId === o), a = s.allTables.filter((n) => !!e?.isUtilityLayer(n) && n.layerId === o);
|
|
200
200
|
return i.concat(a).toArray();
|
|
201
201
|
}
|
|
202
202
|
_getAssociationsByType(t) {
|
|
@@ -245,7 +245,7 @@ class R extends Q {
|
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
_getFeatureQueryWhereClause(t, e, s, o) {
|
|
248
|
-
const i = t.globalIdField, a = t.fieldsIndex.get(
|
|
248
|
+
const i = t.globalIdField, a = t.fieldsIndex.get(T.assetGroup), u = t.fieldsIndex.get(T.assetType), n = s != null, c = o != null, d = i ? V.sqlIn(i, e) : null, l = n ? `(${a?.name} = ${s})` : null, y = n && c ? `(${u?.name} = ${o})` : null;
|
|
249
249
|
return [d, l, y].filter(Boolean).join(" AND ");
|
|
250
250
|
}
|
|
251
251
|
_getFeatureTitle(t) {
|
|
@@ -255,12 +255,6 @@ class R extends Q {
|
|
|
255
255
|
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();
|
|
256
256
|
return a || u || "";
|
|
257
257
|
}
|
|
258
|
-
_isSubtypeGroupLayer(t) {
|
|
259
|
-
return t != null && typeof t == "object" && "type" in t && t.type === "subtype-group" && "sublayers" in t;
|
|
260
|
-
}
|
|
261
|
-
_isSubtypeSublayer(t) {
|
|
262
|
-
return t?.type === "subtype-sublayer";
|
|
263
|
-
}
|
|
264
258
|
async _loadUtiltyNetworks() {
|
|
265
259
|
const t = this.map;
|
|
266
260
|
if (!t)
|
|
@@ -285,12 +279,12 @@ class R extends Q {
|
|
|
285
279
|
return this._equals(t.association, e.association);
|
|
286
280
|
}
|
|
287
281
|
async _queryAssociatedFeatures(t, e) {
|
|
288
|
-
const { layer: s, _globalId: o, associationTypes: i, _utilityNetwork: a, _canQuery: u, _associationFeatures:
|
|
282
|
+
const { layer: s, _globalId: o, associationTypes: i, _utilityNetwork: a, _canQuery: u, _associationFeatures: n } = this;
|
|
289
283
|
if (await Promise.allSettled([s?.load(), a?.load()]), !u || !s || !i || !a)
|
|
290
284
|
return;
|
|
291
|
-
const
|
|
292
|
-
|
|
293
|
-
const { fromNetworkElement: h, toNetworkElement: _ } =
|
|
285
|
+
const c = this._getAssociationsByType(t.type), { associatedAssetGroup: d, associatedAssetType: l } = t, y = /* @__PURE__ */ new Map();
|
|
286
|
+
c.forEach((r) => {
|
|
287
|
+
const { fromNetworkElement: h, toNetworkElement: _ } = r, { networkSourceId: f, elementGlobalId: g } = h.globalId === o ? {
|
|
294
288
|
networkSourceId: _.networkSourceId,
|
|
295
289
|
elementGlobalId: _.globalId
|
|
296
290
|
} : {
|
|
@@ -299,52 +293,52 @@ class R extends Q {
|
|
|
299
293
|
}, b = y.get(f) || [];
|
|
300
294
|
b.push(g), y.set(f, b);
|
|
301
295
|
});
|
|
302
|
-
const m = await this._createAssociationFeatureObjects(
|
|
303
|
-
this._parseFeatureObjects(m,
|
|
296
|
+
const m = await this._createAssociationFeatureObjects(c, y, d, l, e);
|
|
297
|
+
this._parseFeatureObjects(m, n);
|
|
304
298
|
}
|
|
305
299
|
async _queryAssociations(t) {
|
|
306
300
|
const { layer: e, _globalId: s, associationTypes: o, _utilityNetwork: i, _canQuery: a } = this;
|
|
307
301
|
if (await Promise.allSettled([e?.load(), i?.load()]), this._clearAssociations(), !a || !e || !o || !i || !s)
|
|
308
302
|
return;
|
|
309
|
-
const u =
|
|
303
|
+
const u = k(e) ? e.parent : e, n = new U({
|
|
310
304
|
globalId: s,
|
|
311
305
|
networkSourceId: i.getSourceIdByLayerId(u.layerId)
|
|
312
|
-
}),
|
|
313
|
-
o.forEach((
|
|
314
|
-
switch (
|
|
306
|
+
}), c = /* @__PURE__ */ new Set();
|
|
307
|
+
o.forEach((r) => {
|
|
308
|
+
switch (r.type) {
|
|
315
309
|
case "attachment":
|
|
316
310
|
case "structure":
|
|
317
|
-
|
|
311
|
+
c.add("attachment");
|
|
318
312
|
break;
|
|
319
313
|
case "container":
|
|
320
314
|
case "content":
|
|
321
|
-
|
|
315
|
+
c.add("containment");
|
|
322
316
|
break;
|
|
323
317
|
case "connectivity":
|
|
324
|
-
|
|
318
|
+
c.add("connectivity"), c.add("junction-junction-connectivity"), c.add("junction-edge-from-connectivity"), c.add("junction-edge-midspan-connectivity"), c.add("junction-edge-to-connectivity");
|
|
325
319
|
break;
|
|
326
320
|
}
|
|
327
321
|
});
|
|
328
322
|
const d = await i?.queryAssociations(new x({
|
|
329
|
-
elements: [
|
|
330
|
-
types: Array.from(
|
|
323
|
+
elements: [n],
|
|
324
|
+
types: Array.from(c)
|
|
331
325
|
}), {
|
|
332
326
|
signal: t?.signal
|
|
333
327
|
}), l = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map();
|
|
334
|
-
o.forEach((
|
|
335
|
-
y.set(
|
|
336
|
-
}), d.forEach((
|
|
337
|
-
const { toNetworkElement: h, fromNetworkElement: _ } =
|
|
338
|
-
switch (
|
|
328
|
+
o.forEach((r) => {
|
|
329
|
+
y.set(r.type, r), l.set(r.type, []);
|
|
330
|
+
}), d.forEach((r) => {
|
|
331
|
+
const { toNetworkElement: h, fromNetworkElement: _ } = r;
|
|
332
|
+
switch (r.associationType) {
|
|
339
333
|
case "attachment":
|
|
340
334
|
if (_?.globalId === s) {
|
|
341
335
|
if (this._shouldDiscardNetworkElement(h, "attachment", y))
|
|
342
336
|
break;
|
|
343
|
-
l.get("attachment")?.push(h.globalId), this._attachmentAssociations.add(
|
|
337
|
+
l.get("attachment")?.push(h.globalId), this._attachmentAssociations.add(r);
|
|
344
338
|
} else {
|
|
345
339
|
if (this._shouldDiscardNetworkElement(_, "structure", y))
|
|
346
340
|
break;
|
|
347
|
-
l.get("structure")?.push(_.globalId), this._structureAssociations.add(
|
|
341
|
+
l.get("structure")?.push(_.globalId), this._structureAssociations.add(r);
|
|
348
342
|
}
|
|
349
343
|
break;
|
|
350
344
|
case "connectivity":
|
|
@@ -361,24 +355,24 @@ class R extends Q {
|
|
|
361
355
|
break;
|
|
362
356
|
l.get("connectivity")?.push(_.globalId);
|
|
363
357
|
}
|
|
364
|
-
this._connectivityAssociations.add(
|
|
358
|
+
this._connectivityAssociations.add(r);
|
|
365
359
|
break;
|
|
366
360
|
case "containment":
|
|
367
361
|
if (_?.globalId === s) {
|
|
368
362
|
if (this._shouldDiscardNetworkElement(h, "content", y))
|
|
369
363
|
break;
|
|
370
|
-
l.get("content")?.push(h.globalId), this._contentAssociations.add(
|
|
364
|
+
l.get("content")?.push(h.globalId), this._contentAssociations.add(r);
|
|
371
365
|
} else {
|
|
372
366
|
if (this._shouldDiscardNetworkElement(_, "container", y))
|
|
373
367
|
break;
|
|
374
|
-
l.get("container")?.push(_.globalId), this._containerAssociations.add(
|
|
368
|
+
l.get("container")?.push(_.globalId), this._containerAssociations.add(r);
|
|
375
369
|
}
|
|
376
370
|
break;
|
|
377
371
|
}
|
|
378
372
|
});
|
|
379
|
-
const m = o.map(async (
|
|
380
|
-
const { associatedNetworkSourceId: h, associatedAssetGroup: _, associatedAssetType: f } =
|
|
381
|
-
switch (
|
|
373
|
+
const m = o.map(async (r) => {
|
|
374
|
+
const { associatedNetworkSourceId: h, associatedAssetGroup: _, associatedAssetType: f } = r, g = l.get(r.type), F = _ != null ? await this._countAssociatedFeatures(h, g, _, f, t) : g.length;
|
|
375
|
+
switch (r.type) {
|
|
382
376
|
case "attachment":
|
|
383
377
|
this._attachmentFeatureCount = F;
|
|
384
378
|
break;
|
|
@@ -412,17 +406,14 @@ class R extends Q {
|
|
|
412
406
|
where: a,
|
|
413
407
|
outFields: ["*"],
|
|
414
408
|
cacheHint: this._supportsCacheHint
|
|
415
|
-
}),
|
|
416
|
-
return
|
|
417
|
-
const d = this._isSubtypeGroupLayer(t);
|
|
418
|
-
r.layer = d ? t.findSublayerForFeature(r) : t, r.sourceLayer = d ? t.findSublayerForFeature(r) : t;
|
|
419
|
-
}), c.features;
|
|
409
|
+
}), { features: n } = await $(t, u, i);
|
|
410
|
+
return n;
|
|
420
411
|
}
|
|
421
412
|
_parseFeatureObjects(t, e) {
|
|
422
413
|
const s = I();
|
|
423
414
|
t.forEach((o) => {
|
|
424
415
|
const a = (o?.feature).sourceLayer;
|
|
425
|
-
|
|
416
|
+
D(s, a, () => new w()).add(o);
|
|
426
417
|
});
|
|
427
418
|
for (const [o, i] of s)
|
|
428
419
|
this._sortFeatureObjectsByTitle(i), e.set(o, i);
|
|
@@ -434,20 +425,20 @@ class R extends Q {
|
|
|
434
425
|
_setUpUtilityNetworkAssociationsViewModels() {
|
|
435
426
|
this._associationViewModels.forEach((i, a) => {
|
|
436
427
|
const u = this._associationFeatures.get(a);
|
|
437
|
-
u ? i.forEach((
|
|
438
|
-
u.find((d) => this._matchesGlobalFeature(
|
|
428
|
+
u ? i.forEach((n) => {
|
|
429
|
+
u.find((d) => this._matchesGlobalFeature(n, d)) || (i.remove(n), i.length || this._associationViewModels.delete(a));
|
|
439
430
|
}) : (i.removeAll(), this._associationViewModels.delete(a));
|
|
440
431
|
});
|
|
441
432
|
const { map: t, view: e, spatialReference: s, timeZone: o } = this;
|
|
442
433
|
this._associationFeatures.forEach((i, a) => {
|
|
443
434
|
const u = this._associationViewModels.get(a) || new w();
|
|
444
|
-
i?.filter(Boolean).forEach((
|
|
445
|
-
if (!u.some((l) => this._matchesGlobalFeature(l,
|
|
446
|
-
const { association: l, feature: y, terminalName: m, title:
|
|
435
|
+
i?.filter(Boolean).forEach((n, c) => {
|
|
436
|
+
if (!u.some((l) => this._matchesGlobalFeature(l, n))) {
|
|
437
|
+
const { association: l, feature: y, terminalName: m, title: r } = n;
|
|
447
438
|
u.add({
|
|
448
|
-
title:
|
|
439
|
+
title: r,
|
|
449
440
|
association: l,
|
|
450
|
-
featureViewModel: new
|
|
441
|
+
featureViewModel: new Q({
|
|
451
442
|
abilities: { utilityNetworkAssociationsContent: !1 },
|
|
452
443
|
map: t,
|
|
453
444
|
view: e,
|
|
@@ -456,7 +447,7 @@ class R extends Q {
|
|
|
456
447
|
graphic: y
|
|
457
448
|
}),
|
|
458
449
|
terminalName: m
|
|
459
|
-
},
|
|
450
|
+
}, c);
|
|
460
451
|
}
|
|
461
452
|
}), this._associationViewModels.set(a, u);
|
|
462
453
|
});
|
|
@@ -482,7 +473,7 @@ class R extends Q {
|
|
|
482
473
|
}
|
|
483
474
|
_renderAssociationTypeListItem(t) {
|
|
484
475
|
const e = this._getAssociationTypeTitle(t);
|
|
485
|
-
return C(`association-type-${t.type}`, p`<calcite-list-item .description=${
|
|
476
|
+
return C(`association-type-${t.type}`, p`<calcite-list-item .description=${v(t.description)} .label=${v(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>`);
|
|
486
477
|
}
|
|
487
478
|
_renderContent() {
|
|
488
479
|
const { _state: t, associationTypes: e, messages: s } = this, o = s?.associationsList ?? s?.noTitle ?? "";
|
|
@@ -498,7 +489,7 @@ class R extends Q {
|
|
|
498
489
|
return this._state === "querying" ? p`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>` : null;
|
|
499
490
|
}
|
|
500
491
|
}
|
|
501
|
-
|
|
492
|
+
S("arcgis-feature-utility-network-associations", R);
|
|
502
493
|
export {
|
|
503
494
|
R as ArcgisFeatureUtilityNetworkAssociations
|
|
504
495
|
};
|