@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,101 +1,119 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import
|
|
4
|
-
import v from "@arcgis/core/Color.js";
|
|
2
|
+
import { c as _ } from "../../chunks/runtime.js";
|
|
3
|
+
import b from "@arcgis/core/Color.js";
|
|
5
4
|
import "@arcgis/core/core/Error.js";
|
|
6
|
-
import * as h from "@arcgis/core/geometry/operators/shapePreservingProjectOperator.js";
|
|
7
5
|
import "@arcgis/core/Graphic.js";
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
const
|
|
6
|
+
import { LitElement as v, createEvent as n } from "@arcgis/lumina";
|
|
7
|
+
import { log as u, composeMissingPropertyMessage as m, composeEmptyPropertyMessage as $ } from "@arcgis/toolkit/log";
|
|
8
|
+
import { css as F, html as r } from "lit";
|
|
9
|
+
import { createRef as w, ref as g } from "lit/directives/ref.js";
|
|
10
|
+
import { u as L } from "../../chunks/useT9n.js";
|
|
11
|
+
import { h as y } from "../../chunks/feature-utils.js";
|
|
12
|
+
import { q as C, c as T, i as R } from "../../chunks/layer-utils.js";
|
|
13
|
+
const E = F`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features{height:100%}calcite-flow{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.aggregated-geometry-container{display:flex;justify-content:space-between;padding:0 var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-md)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{padding:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.functions-heading{padding:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs) var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, p = {
|
|
16
14
|
dirtyAreasDiscovered: -2147208511,
|
|
17
15
|
noValidControllers: -2147208935
|
|
18
16
|
};
|
|
19
|
-
class
|
|
17
|
+
class G extends v {
|
|
20
18
|
constructor() {
|
|
21
|
-
super(...arguments), this._messages =
|
|
22
|
-
const
|
|
23
|
-
return
|
|
19
|
+
super(...arguments), this._defaultPopupTemplateEnabled = !0, this._messages = L({ blocking: !0 }), this._elementsWithoutLayer = [], this._popoverRef = w(), this._featuresFromSelectedLayer = [], this._layerIdToFeatures = /* @__PURE__ */ new Map(), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._subtypeCodeToFeatures = /* @__PURE__ */ new Map(), this._sourceIdToElements = /* @__PURE__ */ new Map(), this._unLayers = [], this._compareByFeatureTitle = (e, t) => e.label.localeCompare(t.label, void 0, { numeric: !0 }), this._compareByLayerTitle = ([, e], [, t]) => {
|
|
20
|
+
const s = e[0].feature.layer, a = t[0].feature.layer, c = s?.title ?? "", i = a?.title ?? "";
|
|
21
|
+
return c.localeCompare(i, void 0, { numeric: !0 });
|
|
24
22
|
}, this._queryFeaturesOnLayer = async ([e, t]) => {
|
|
25
|
-
const
|
|
26
|
-
if (
|
|
27
|
-
this._elementsWithoutLayer.push(...
|
|
23
|
+
const s = this.utilityNetwork?.getLayerIdBySourceId(e), a = this._getLayerByLayerId(s), c = this._getElementsUniqueByGlobalId(t);
|
|
24
|
+
if (s == null || !a) {
|
|
25
|
+
this._elementsWithoutLayer.push(...c);
|
|
28
26
|
return;
|
|
29
27
|
}
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
const { features:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
return { feature: i, label: p };
|
|
28
|
+
const i = a.createQuery();
|
|
29
|
+
i.gdbVersion = this.utilityNetwork?.gdbVersion, i.objectIds = c.map((l) => l.objectId), i.outFields = ["*"];
|
|
30
|
+
const { features: h } = await C(a, i), o = await Promise.all(h.map(async (l) => {
|
|
31
|
+
const d = l.layer;
|
|
32
|
+
if (l.getEffectivePopupTemplate(this._defaultPopupTemplateEnabled) || (l.popupTemplate = d.createPopupTemplate()), d && "getFeatureTitle" in d) {
|
|
33
|
+
const f = await d.getFeatureTitle(l) || y(l);
|
|
34
|
+
return { feature: l, label: f };
|
|
38
35
|
}
|
|
39
|
-
return { feature:
|
|
36
|
+
return { feature: l, label: y(l) };
|
|
40
37
|
}));
|
|
41
|
-
|
|
42
|
-
}, this.
|
|
38
|
+
T(a) ? o.forEach((l) => this._addOrCreateMapValue(this._subtypeCodeToFeatures, l.feature.layer.subtypeCode, l)) : this._layerIdToFeatures.set(s, o);
|
|
39
|
+
}, this._aggregateGeometryRefChange = (e) => {
|
|
40
|
+
e && (this._aggregatedGeometryComponentElement = e);
|
|
41
|
+
}, this._featuresRefChange = (e) => {
|
|
42
|
+
e && (this._featuresComponentElement = e);
|
|
43
|
+
}, this._handleFeaturesPropertyChange = (e) => {
|
|
44
|
+
e.detail.name === "features" && (this.features = e.target.features);
|
|
45
|
+
}, this.features = [], this._aggregatedGeometryDisabled = !1, this.aggregatedGeometryGraphicsColor = new b([255, 255, 0, 0.6]), this.hideActionBar = !1, this.hideFeatureResults = !1, this.isElementsSelected = !1, this.layers = [], this.state = "ready", this.traceResultFeatures = [], this.autoDestroyDisabled = !1, this.arcgisAggregatedGeometryGraphicsColorChange = n(), this.arcgisHideGraphicsChange = n(), this.arcgisSelectedLayerChange = n(), this.arcgisSelectedResultTypeChange = n(), this.arcgisTraceResultFeaturesReady = n(), this._renderLayerListItem = ([, e]) => {
|
|
43
46
|
if (!e.length)
|
|
44
47
|
return null;
|
|
45
|
-
const t = e[0].feature.layer,
|
|
46
|
-
return
|
|
48
|
+
const t = e[0].feature.layer, s = t?.title || this._messages.unknown;
|
|
49
|
+
return r`<calcite-list-item .label=${s} @calciteListItemSelect=${() => this._setSelectedLayerAndFeatures(t)}><calcite-chip .label=${this._messages.labels.numElements} slot=content-end scale=s>${e.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
|
|
47
50
|
}, this._renderFeatureListItem = (e) => {
|
|
48
|
-
const { feature: t, label:
|
|
49
|
-
return
|
|
51
|
+
const { feature: t, label: s } = e;
|
|
52
|
+
return r`<calcite-list-item .label=${s} @calciteListItemSelect=${() => {
|
|
53
|
+
this.selectedFeature = t, this.features = [this.selectedFeature];
|
|
54
|
+
}}><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
|
|
50
55
|
};
|
|
51
56
|
}
|
|
52
57
|
static {
|
|
53
|
-
this.properties = { aggregatedGeometryGraphicsColor: 0, hideFeatureResults: 5, featuresFromSelectedLayer: 32, isElementsSelected: 5, layers: 0, messageOverrides: 0, referenceElement: 1, selectedFeature: 0, selectedLayer: 0, state: 1, traceConfigTitle: 1, traceError: 0, traceResult: 0, traceResultFeatures: 0, utilityNetwork: 0, view: 0 };
|
|
58
|
+
this.properties = { features: 16, _aggregatedGeometryDisabled: 16, aggregatedGeometryGraphicsColor: 0, hideActionBar: 5, hideFeatureResults: 5, featuresFromSelectedLayer: 32, isElementsSelected: 5, layers: 0, messageOverrides: 0, numResults: 32, referenceElement: 1, selectedFeature: 0, selectedLayer: 0, state: 1, traceConfigTitle: 1, traceError: 0, traceResult: 0, traceResultFeatures: 0, utilityNetwork: 0, view: 0, autoDestroyDisabled: 5 };
|
|
54
59
|
}
|
|
55
60
|
static {
|
|
56
|
-
this.styles =
|
|
61
|
+
this.styles = E;
|
|
57
62
|
}
|
|
58
63
|
get featuresFromSelectedLayer() {
|
|
59
64
|
return this._featuresFromSelectedLayer.map(({ feature: e }) => e);
|
|
60
65
|
}
|
|
66
|
+
get numResults() {
|
|
67
|
+
return this.traceResultFeatures.length + this._elementsWithoutLayer.length;
|
|
68
|
+
}
|
|
69
|
+
clearAggregatedGeometryGraphics() {
|
|
70
|
+
this._aggregatedGeometryComponentElement?.destroy();
|
|
71
|
+
}
|
|
72
|
+
async destroy() {
|
|
73
|
+
this._layerIdToFeatures.clear(), this._subtypeCodeToFeatures.clear(), this._sourceIdToElements.clear(), this._aggregatedGeometryComponentElement?.destroy(), this._featuresComponentElement?.destroy(), await this.manager.destroy();
|
|
74
|
+
}
|
|
61
75
|
load() {
|
|
62
|
-
this.traceResult && (this._setSourceIdToElements(), this._loadDependencies().then(() => this._queryTraceResultsFeatures()).
|
|
76
|
+
this.traceResult && (this._setSourceIdToElements(), this._loadDependencies().then(() => this._queryTraceResultsFeatures()).finally(() => {
|
|
63
77
|
this.arcgisTraceResultFeaturesReady.emit(), this.state = "ready";
|
|
64
78
|
}));
|
|
65
79
|
}
|
|
66
80
|
willUpdate(e) {
|
|
67
|
-
e.has("isElementsSelected") && this.arcgisSelectedResultTypeChange.emit(), e.has("selectedLayer") && this.arcgisSelectedLayerChange.emit(), e.has("traceResult") && (this.isElementsSelected = !1), (e.has("layers") || e.has("utilityNetwork")) && this._loadDependencies();
|
|
81
|
+
e.has("isElementsSelected") && this.arcgisSelectedResultTypeChange.emit(), e.has("selectedLayer") && this.arcgisSelectedLayerChange.emit(), e.has("traceResult") && (this.isElementsSelected = !1, this.traceResult || (this.traceResultFeatures = [], this._elementsWithoutLayer = [])), (e.has("layers") || e.has("utilityNetwork")) && this._loadDependencies();
|
|
68
82
|
}
|
|
69
83
|
loaded() {
|
|
70
|
-
this.utilityNetwork ||
|
|
84
|
+
this.utilityNetwork || u("warn", this, m("utilityNetwork")), this.layers.length === 0 && u("warn", this, $("layers")), this.view || u("warn", this, m("view"));
|
|
71
85
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
86
|
+
disconnectedCallback() {
|
|
87
|
+
super.disconnectedCallback(), this._layerIdToLayer.clear();
|
|
88
|
+
}
|
|
89
|
+
_addOrCreateMapValue(e, t, s) {
|
|
90
|
+
const a = e.get(t);
|
|
91
|
+
a == null ? e.set(t, [s]) : a.push(s);
|
|
75
92
|
}
|
|
76
93
|
_getLayerByLayerId(e) {
|
|
77
94
|
if (e == null)
|
|
78
95
|
return;
|
|
79
|
-
const { _layerIdToLayer: t, _unLayers:
|
|
96
|
+
const { _layerIdToLayer: t, _unLayers: s } = this;
|
|
80
97
|
if (t.get(e))
|
|
81
98
|
return t.get(e);
|
|
82
|
-
const
|
|
83
|
-
return
|
|
99
|
+
const a = s.find((c) => "layerId" in c && c.layerId === e);
|
|
100
|
+
return a && t.set(e, a), a;
|
|
101
|
+
}
|
|
102
|
+
_getElementsUniqueByGlobalId(e) {
|
|
103
|
+
return Array.from(new Map(e.map((t) => [t.globalId, t])).values());
|
|
84
104
|
}
|
|
85
105
|
_handleHideGraphicsChange(e) {
|
|
86
|
-
e.stopPropagation()
|
|
106
|
+
e.stopPropagation();
|
|
107
|
+
const t = e.detail;
|
|
108
|
+
this.arcgisHideGraphicsChange.emit(t), this._aggregatedGeometryDisabled = t, t && this._popoverRef.value?.open && (this._popoverRef.value.open = !1);
|
|
87
109
|
}
|
|
88
110
|
async _loadDependencies() {
|
|
89
111
|
const { layers: e, utilityNetwork: t } = this;
|
|
90
112
|
if (!t)
|
|
91
113
|
return;
|
|
92
|
-
t.loaded || (this.state = "loading", await t.load()), this._unLayers = e.filter((
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
async _loadProjectOperator() {
|
|
97
|
-
const { aggregatedGeometry: e } = this.traceResult;
|
|
98
|
-
e && !h.isLoaded() && await h.load();
|
|
114
|
+
t.loaded || (this.state = "loading", await t.load()), this._unLayers = e.filter((a) => t.isUtilityLayer(a));
|
|
115
|
+
const s = this._unLayers.filter((a) => !a.loaded).map((a) => a.load());
|
|
116
|
+
s.length > 0 && (this.state = "loading", await Promise.allSettled(s));
|
|
99
117
|
}
|
|
100
118
|
async _queryTraceResultsFeatures() {
|
|
101
119
|
const e = Array.from(this._sourceIdToElements.entries());
|
|
@@ -103,25 +121,25 @@ class S extends $ {
|
|
|
103
121
|
return;
|
|
104
122
|
this.state = "loading";
|
|
105
123
|
const t = e.map(this._queryFeaturesOnLayer);
|
|
106
|
-
(await Promise.allSettled(t)).forEach((
|
|
107
|
-
if (
|
|
108
|
-
const [
|
|
109
|
-
|
|
124
|
+
(await Promise.allSettled(t)).forEach((i, h) => {
|
|
125
|
+
if (i.status === "rejected") {
|
|
126
|
+
const [o] = e[h];
|
|
127
|
+
u("error", this, `Failed to query features for source ${o}. Reason: ${i.reason}`);
|
|
110
128
|
}
|
|
111
129
|
});
|
|
112
|
-
const
|
|
113
|
-
this.traceResultFeatures =
|
|
130
|
+
const a = Array.from(this._layerIdToFeatures.values()), c = Array.from(this._subtypeCodeToFeatures.values());
|
|
131
|
+
this.traceResultFeatures = a.concat(c).flat().map(({ feature: i }) => i);
|
|
114
132
|
}
|
|
115
133
|
_setSelectedLayerAndFeatures(e) {
|
|
116
134
|
let t;
|
|
117
135
|
if (!e)
|
|
118
136
|
t = [];
|
|
119
|
-
else if (e
|
|
120
|
-
const { subtypeCode:
|
|
121
|
-
t = this._subtypeCodeToFeatures.get(
|
|
137
|
+
else if (R(e)) {
|
|
138
|
+
const { subtypeCode: s } = e;
|
|
139
|
+
t = this._subtypeCodeToFeatures.get(s) ?? [];
|
|
122
140
|
} else {
|
|
123
|
-
const { layerId:
|
|
124
|
-
t = this._layerIdToFeatures.get(
|
|
141
|
+
const { layerId: s } = e;
|
|
142
|
+
t = this._layerIdToFeatures.get(s) ?? [];
|
|
125
143
|
}
|
|
126
144
|
this._featuresFromSelectedLayer = t.sort(this._compareByFeatureTitle), this.selectedLayer = e;
|
|
127
145
|
}
|
|
@@ -131,76 +149,80 @@ class S extends $ {
|
|
|
131
149
|
render() {
|
|
132
150
|
const { traceError: e, traceResult: t } = this;
|
|
133
151
|
if (e)
|
|
134
|
-
return
|
|
152
|
+
return this._renderErrorLanding(e);
|
|
135
153
|
if (!t)
|
|
136
|
-
return
|
|
137
|
-
const { elements:
|
|
138
|
-
if (!
|
|
139
|
-
return
|
|
154
|
+
return this._renderNoTraceLanding();
|
|
155
|
+
const { elements: s, globalFunctionResults: a, aggregatedGeometry: c } = t;
|
|
156
|
+
if (!s.length && !a.length && !c)
|
|
157
|
+
return this._renderNoResultsLanding();
|
|
140
158
|
if (this.state === "loading")
|
|
141
|
-
return
|
|
142
|
-
if (this.selectedFeature)
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
159
|
+
return this._renderGettingResults();
|
|
160
|
+
if (this.selectedFeature)
|
|
161
|
+
return r`<arcgis-features .referenceElement=${this.referenceElement} @arcgisPropertyChange=${this._handleFeaturesPropertyChange} .features=${this.features} .view=${this.view} open .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} .hideActionBar=${this.hideActionBar} @arcgisClose=${() => this.selectedFeature = void 0} .autoDestroyDisabled=${this.autoDestroyDisabled} ${g(this._featuresRefChange)}></arcgis-features>`;
|
|
162
|
+
const i = s.length > 0 && !a.length && !c;
|
|
163
|
+
return this.hideFeatureResults && i ? this._renderFeaturesAreHiddenLanding() : r`<calcite-flow>${i ? null : r`<calcite-flow-item .selected=${!this.isElementsSelected}>${this._renderLanding(t)}</calcite-flow-item>`}<calcite-flow-item .heading=${this._messages.headings.features} .description=${this._messages.headings.totalFeatures.replace("{number}", this.numResults.toString())} .selected=${(i || this.isElementsSelected) && !this.selectedLayer} @calciteFlowItemBack=${() => this.isElementsSelected = !1}>${this._renderLayerList()}</calcite-flow-item><calcite-flow-item .heading=${this.selectedLayer?.title ?? void 0} .description=${this._messages.headings.totalFeatures.replace("{number}", this._featuresFromSelectedLayer.length.toString())} .selected=${!!this.selectedLayer} @calciteFlowItemBack=${() => this.selectedLayer = void 0}>${this._renderFeaturesList()}</calcite-flow-item></calcite-flow>`;
|
|
164
|
+
}
|
|
165
|
+
_renderGettingResults() {
|
|
166
|
+
return r`<calcite-panel class="white-panel-background"><calcite-loader .label=${this._messages.gettingResults} .text=${this._messages.gettingResults}></calcite-loader></calcite-panel>`;
|
|
148
167
|
}
|
|
149
168
|
_renderLanding(e) {
|
|
150
|
-
const { elements: t, globalFunctionResults:
|
|
151
|
-
return
|
|
169
|
+
const { elements: t, globalFunctionResults: s, aggregatedGeometry: a } = e;
|
|
170
|
+
return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}${a != null ? this._renderAggregatedGeometry(a) : null}${a != null && !t.length ? this._renderNoSelectableResults() : null}${t.length > 0 ? this.hideFeatureResults ? this._renderFeaturesAreHidden() : this._renderElementsResults() : null}${s.length > 0 ? this._renderFunctionsResults(s) : null}</calcite-panel>`;
|
|
152
171
|
}
|
|
153
172
|
_renderAggregatedGeometry(e) {
|
|
154
|
-
return
|
|
155
|
-
const
|
|
156
|
-
this.arcgisAggregatedGeometryGraphicsColorChange.emit(
|
|
157
|
-
}}></calcite-color-picker></calcite-popover></div>`;
|
|
173
|
+
return r`<div class="aggregated-geometry-container"><arcgis-utility-network-aggregated-geometry .graphicsColor=${this.aggregatedGeometryGraphicsColor} .geometry=${e} .view=${this.view} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange} auto-destroy-disabled ${g(this._aggregateGeometryRefChange)}></arcgis-utility-network-aggregated-geometry><calcite-swatch id=geometry-color-swatch .label=${this._messages.labels.aggregatedGeometryGraphicsColor} .color=${this.aggregatedGeometryGraphicsColor.toCss()} .disabled=${this._aggregatedGeometryDisabled}></calcite-swatch><calcite-popover .heading=${this._messages.headings.setColor} .label=${this._messages.headings.setColor} reference-element=geometry-color-swatch closable ${g(this._popoverRef)}><calcite-color-picker alpha-channel channels-disabled clearable hex-disabled saved-disabled .value=${this.aggregatedGeometryGraphicsColor} @calciteColorPickerChange=${(t) => {
|
|
174
|
+
const s = t.target.value;
|
|
175
|
+
this.arcgisAggregatedGeometryGraphicsColorChange.emit(s);
|
|
176
|
+
}} .disabled=${this._aggregatedGeometryDisabled}></calcite-color-picker></calcite-popover></div>`;
|
|
177
|
+
}
|
|
178
|
+
_renderFeaturesAreHiddenLanding() {
|
|
179
|
+
return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}${this._renderFeaturesAreHidden()}</calcite-panel>`;
|
|
158
180
|
}
|
|
159
181
|
_renderFeaturesAreHidden() {
|
|
160
|
-
return
|
|
182
|
+
return r`<div class="no-selectable-results">${this._messages.resultFeaturesAreHidden}</div>`;
|
|
161
183
|
}
|
|
162
184
|
_renderNoSelectableResults() {
|
|
163
|
-
return
|
|
185
|
+
return r`<div class="no-selectable-results">${this._messages.noSelectableFeatures}</div>`;
|
|
164
186
|
}
|
|
165
187
|
_renderElementsResults() {
|
|
166
|
-
return
|
|
188
|
+
return r`<calcite-list .label=${this._messages.headings.traceResultsGeneric}><calcite-list-item id=elements-list-item .label=${this._messages.headings.features} @calciteListItemSelect=${() => this.isElementsSelected = !0}><calcite-chip .label=${this._messages.labels.numFeatures} scale=s slot=content-end>${this.numResults}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
167
189
|
}
|
|
168
190
|
_renderFunctionsResults(e) {
|
|
169
|
-
return
|
|
191
|
+
return r`<div class="functions-heading">${this._messages.headings.functions}</div><calcite-table .caption=${this._messages.labels.functionResults}>${e.filter((t) => t.networkAttributeName != null && t.result != null && t.functionType != null).map((t) => r`<calcite-table-row><calcite-table-cell>${`${t.networkAttributeName} ${t.functionType}`}</calcite-table-cell><calcite-table-cell>${t.result}</calcite-table-cell></calcite-table-row>`)}</calcite-table>`;
|
|
170
192
|
}
|
|
171
193
|
_renderLayerList() {
|
|
172
|
-
const e = Array.from(this._layerIdToFeatures.entries()), t = Array.from(this._subtypeCodeToFeatures.entries()),
|
|
173
|
-
return this._elementsWithoutLayer.length > 0 &&
|
|
194
|
+
const e = Array.from(this._layerIdToFeatures.entries()), t = Array.from(this._subtypeCodeToFeatures.entries()), a = e.concat(t).sort(this._compareByLayerTitle).map(this._renderLayerListItem);
|
|
195
|
+
return this._elementsWithoutLayer.length > 0 && a.push(this._renderUnknownListItem()), r`<calcite-list .label=${this._messages.labels.traceResultElementsByLayer} .loading=${this.state === "loading"}>${a}</calcite-list>`;
|
|
174
196
|
}
|
|
175
197
|
_renderUnknownListItem() {
|
|
176
|
-
return
|
|
198
|
+
return r`<calcite-list-item .label=${this._messages.unknown} disabled><calcite-chip .label=${this._messages.labels.numElements} slot=content-end scale=s>${this._elementsWithoutLayer.length}</calcite-chip></calcite-list-item>`;
|
|
177
199
|
}
|
|
178
200
|
_renderFeaturesList() {
|
|
179
|
-
return
|
|
201
|
+
return r`<calcite-list .label=${this._messages.headings.traceResultsGeneric}>${this._featuresFromSelectedLayer.map(this._renderFeatureListItem)}</calcite-list>`;
|
|
180
202
|
}
|
|
181
203
|
_renderTraceResultsHeading() {
|
|
182
|
-
return
|
|
204
|
+
return r`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle ? r`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>` : null}</div>`;
|
|
183
205
|
}
|
|
184
206
|
_renderErrorLanding(e) {
|
|
185
207
|
let t = e.message;
|
|
186
208
|
switch (e.details?.raw?.extendedCode) {
|
|
187
|
-
case
|
|
209
|
+
case p.dirtyAreasDiscovered:
|
|
188
210
|
t = this._messages.traceErrors.dirtyAreasDiscovered;
|
|
189
211
|
break;
|
|
190
|
-
case
|
|
212
|
+
case p.noValidControllers:
|
|
191
213
|
t = this._messages.traceErrors.noValidControllers;
|
|
192
214
|
break;
|
|
193
215
|
}
|
|
194
|
-
return
|
|
216
|
+
return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.traceFailedHeading}</div><div class="no-results-description">${this._messages.traceFailedDescription}</div><div class="no-results-description">${t}</div></div></calcite-panel>`;
|
|
195
217
|
}
|
|
196
218
|
_renderNoResultsLanding() {
|
|
197
|
-
return
|
|
219
|
+
return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.noResultsHeading}</div><div class="no-results-description">${this._messages.noResultsDescription}</div></div></calcite-panel>`;
|
|
198
220
|
}
|
|
199
221
|
_renderNoTraceLanding() {
|
|
200
|
-
return
|
|
222
|
+
return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div></calcite-panel>`;
|
|
201
223
|
}
|
|
202
224
|
}
|
|
203
|
-
|
|
225
|
+
_("arcgis-utility-network-trace-results", G);
|
|
204
226
|
export {
|
|
205
|
-
|
|
227
|
+
G as ArcgisUtilityNetworkTraceResults
|
|
206
228
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-loader";
|
|
2
1
|
import "../arcgis-features/index.js";
|
|
3
2
|
import "@esri/calcite-components/components/calcite-flow";
|
|
4
3
|
import "@esri/calcite-components/components/calcite-flow-item";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-panel";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
5
6
|
import "../arcgis-utility-network-aggregated-geometry/index.js";
|
|
6
7
|
import "@esri/calcite-components/components/calcite-swatch";
|
|
7
8
|
import "@esri/calcite-components/components/calcite-popover";
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
3
|
import type UtilityNetwork from "@arcgis/core/networks/UtilityNetwork.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
-
import type { ArcgisReferenceElement } from "
|
|
6
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
5
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
7
6
|
import type { UtilityNetworkValidateTopologyExtentOption } from "@arcgis/core/widgets/UtilityNetworkValidateTopology.js";
|
|
8
7
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
9
8
|
import type { UtilityNetworkValidateTopologyViewModelState } from "@arcgis/core/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js";
|