@arcgis/map-components 5.2.0-next.38 → 5.2.0-next.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/226ASAN4.js +2 -0
- package/dist/cdn/{Z77JVENV.js → 22NMICPW.js} +1 -1
- package/dist/cdn/25J4CQKL.js +2 -0
- package/dist/cdn/262J7OXJ.js +2 -0
- package/dist/cdn/{YCVINCOI.js → 27DGJIUB.js} +1 -1
- package/dist/cdn/{G4CPNGQ6.js → 2JBFSC6D.js} +1 -1
- package/dist/cdn/2KWY4AXN.js +2 -0
- package/dist/cdn/2QX2M2WC.js +2 -0
- package/dist/cdn/{BM3NHWBY.js → 2U5G2QWZ.js} +1 -1
- package/dist/cdn/3AKY7DQG.js +2 -0
- package/dist/cdn/{ROIAI7KY.js → 3AS7CJFU.js} +1 -1
- package/dist/cdn/{75PSCL4A.js → 3BV6XBJZ.js} +1 -1
- package/dist/cdn/{MAJ3JPSY.js → 3C7K3QVM.js} +1 -1
- package/dist/cdn/{7ZVWCRXE.js → 3CBU3MJL.js} +1 -1
- package/dist/cdn/{HKTQWWXP.js → 3MWUCGFA.js} +1 -1
- package/dist/cdn/3QFONUZB.js +2 -0
- package/dist/cdn/{HF7TEJAO.js → 3VIS3UL6.js} +1 -1
- package/dist/cdn/{IAQVHCU7.js → 3WKJVIT5.js} +1 -1
- package/dist/cdn/3YJVHAJW.js +2 -0
- package/dist/cdn/3YZRY2EG.js +2 -0
- package/dist/cdn/{COGFFO5G.js → 3ZQ375NT.js} +1 -1
- package/dist/cdn/3ZQEDFHR.js +2 -0
- package/dist/cdn/42XU4L5C.js +2 -0
- package/dist/cdn/{7LRGEABA.js → 4GB5RIYZ.js} +1 -1
- package/dist/cdn/4GZ7DNJF.js +2 -0
- package/dist/cdn/{6ZJFTT6R.js → 4PF56QFJ.js} +1 -1
- package/dist/cdn/{EIHTWPOP.js → 4QYMX7LR.js} +1 -1
- package/dist/cdn/{NR53EGV6.js → 4RQVKULG.js} +1 -1
- package/dist/cdn/4TYWHTFT.js +2 -0
- package/dist/cdn/4WENIFOF.js +2 -0
- package/dist/cdn/57E26JZ5.js +2 -0
- package/dist/cdn/5IAV6PUT.js +2 -0
- package/dist/cdn/5IO4VISO.js +2 -0
- package/dist/cdn/5L764GTN.js +2 -0
- package/dist/cdn/5PZ64P44.js +2 -0
- package/dist/cdn/{XR4WLNHC.js → 5USS47OO.js} +1 -1
- package/dist/cdn/{SPJCXMMT.js → 63DXQUR2.js} +1 -1
- package/dist/cdn/6RSIIYYJ.js +2 -0
- package/dist/cdn/6URRJVLV.js +2 -0
- package/dist/cdn/6V4MOKPT.js +2 -0
- package/dist/cdn/{OMHMO6DD.js → 6VNX2RV3.js} +1 -1
- package/dist/cdn/{6HXM4D4W.js → 6WBCA7YD.js} +1 -1
- package/dist/cdn/77AOOZB2.js +2 -0
- package/dist/cdn/{EE2CA7CT.js → 7DBZFTR6.js} +1 -1
- package/dist/cdn/{6Z4HUEBW.js → 7HOAA7SE.js} +1 -1
- package/dist/cdn/{SWKWLPLG.js → 7JO4QKKH.js} +1 -1
- package/dist/cdn/7L4FPBGQ.js +2 -0
- package/dist/cdn/{GSI2ZI7D.js → 7MO7E734.js} +1 -1
- package/dist/cdn/{PIRA7ITO.js → 7PLMJIAQ.js} +1 -1
- package/dist/cdn/7SZGIUAX.js +2 -0
- package/dist/cdn/7YMLPJVW.js +2 -0
- package/dist/cdn/{FC3W4JBU.js → A2TTJCDV.js} +1 -1
- package/dist/cdn/A3BUMPTF.js +2 -0
- package/dist/cdn/AFXGNK7O.js +2 -0
- package/dist/cdn/AROGEJUN.js +2 -0
- package/dist/cdn/AUE4JQXJ.js +2 -0
- package/dist/cdn/AWQ26Q4D.js +2 -0
- package/dist/cdn/BCGQ7UIU.js +2 -0
- package/dist/cdn/{QAU5TWTZ.js → BFXQ5WCT.js} +1 -1
- package/dist/cdn/{RO35U2LW.js → BJYHPARY.js} +1 -1
- package/dist/cdn/BQALWYAT.js +2 -0
- package/dist/cdn/{ISUTHAE7.js → C6RQ2TQ4.js} +1 -1
- package/dist/cdn/{SNDTIGUT.js → CM7EQXWU.js} +1 -1
- package/dist/cdn/CPMHDQHY.js +2 -0
- package/dist/cdn/{DLMGAC2A.js → CTSJYC3X.js} +1 -1
- package/dist/cdn/{6PS3YIDY.js → CUXUSAP4.js} +1 -1
- package/dist/cdn/CUZUYZE2.js +2 -0
- package/dist/cdn/CZLAUEZF.js +2 -0
- package/dist/cdn/D5N26QOS.js +2 -0
- package/dist/cdn/DAEEPAST.js +2 -0
- package/dist/cdn/{AGTJNHWI.js → DC357Y2K.js} +1 -1
- package/dist/cdn/{7GTMLYFP.js → DEQA63VJ.js} +1 -1
- package/dist/cdn/DJYIVAB2.js +2 -0
- package/dist/cdn/DNSZMLAX.js +2 -0
- package/dist/cdn/DPDU2GSI.js +2 -0
- package/dist/cdn/DPKCDN3P.js +2 -0
- package/dist/cdn/DZ6TMBVB.js +2 -0
- package/dist/cdn/{DGHNWABD.js → E7E7MIKH.js} +1 -1
- package/dist/cdn/EE4X5YOU.js +2 -0
- package/dist/cdn/{MZ35VFYR.js → EF66VW43.js} +1 -1
- package/dist/cdn/EMW3ALJA.js +2 -0
- package/dist/cdn/{7MWEEVVD.js → EP7FUAF2.js} +1 -1
- package/dist/cdn/EPBKJBDS.js +2 -0
- package/dist/cdn/{JLZJ354E.js → EUCWM5S7.js} +1 -1
- package/dist/cdn/F7RMRBE3.js +2 -0
- package/dist/cdn/FBKD4RWJ.js +2 -0
- package/dist/cdn/FBL4FNP2.js +2 -0
- package/dist/cdn/FD73ZZE6.js +2 -0
- package/dist/cdn/FEWZYBBW.js +2 -0
- package/dist/cdn/{K3PRLBKN.js → FMG7FAUK.js} +1 -1
- package/dist/cdn/G55FBLQV.js +2 -0
- package/dist/cdn/G6WHFUIF.js +2 -0
- package/dist/cdn/G7APNTVJ.js +2 -0
- package/dist/cdn/{5EO47VPH.js → GD5VVQPA.js} +1 -1
- package/dist/cdn/GECBQL23.js +2 -0
- package/dist/cdn/GMIAQHT4.js +2 -0
- package/dist/cdn/GOVUDM4N.js +2 -0
- package/dist/cdn/GPJG37UL.js +2 -0
- package/dist/cdn/GSPJRG26.js +2 -0
- package/dist/cdn/GYZYY2TM.js +2 -0
- package/dist/cdn/H5B4VHOH.js +2 -0
- package/dist/cdn/{WKQXQLLR.js → HGJ56PKD.js} +1 -1
- package/dist/cdn/HKEXPCDW.js +2 -0
- package/dist/cdn/HQVDDVBE.js +2 -0
- package/dist/cdn/HSB4XYHA.js +2 -0
- package/dist/cdn/{WBLJSZV4.js → HT23X37X.js} +1 -1
- package/dist/cdn/I3BAOV7V.js +2 -0
- package/dist/cdn/I5U3QCTO.js +2 -0
- package/dist/cdn/{S3NMAVL6.js → IEWD6LOR.js} +1 -1
- package/dist/cdn/IFZLE6R4.js +2 -0
- package/dist/cdn/{RUFWW2L5.js → IVZM7EPG.js} +1 -1
- package/dist/cdn/J77DHC2R.js +2 -0
- package/dist/cdn/{MDXQUNKW.js → JOJYHVDS.js} +1 -1
- package/dist/cdn/{I5OLG552.js → JP24H6WY.js} +1 -1
- package/dist/cdn/JQ35LUF5.js +2 -0
- package/dist/cdn/JUBO5HRV.js +2 -0
- package/dist/cdn/JXHS44R7.js +2 -0
- package/dist/cdn/KBQRHXQ4.js +2 -0
- package/dist/cdn/{ZQBMKJX7.js → KCEGLGM4.js} +1 -1
- package/dist/cdn/KG4EPDJO.js +2 -0
- package/dist/cdn/KH3IAHXE.js +2 -0
- package/dist/cdn/KWXR6G2J.js +2 -0
- package/dist/cdn/LBRZ6IVX.js +2 -0
- package/dist/cdn/{Z66KOPPI.js → LQHENS2H.js} +1 -1
- package/dist/cdn/LSP6WL4P.js +2 -0
- package/dist/cdn/LXF6LDWE.js +2 -0
- package/dist/cdn/LZPZZMEH.js +2 -0
- package/dist/cdn/MHG26BRV.js +2 -0
- package/dist/cdn/MJB3NLLH.js +2 -0
- package/dist/cdn/MJVODTWO.js +2 -0
- package/dist/cdn/N5PSINKS.js +2 -0
- package/dist/cdn/{W2WYFYTT.js → NGUV3VWT.js} +1 -1
- package/dist/cdn/NJW4OAOH.js +2 -0
- package/dist/cdn/{EOK45N5T.js → NKWXCVN3.js} +1 -1
- package/dist/cdn/{NQSW6QJ6.js → NO5YSGEU.js} +1 -1
- package/dist/cdn/NSF5Q73E.js +2 -0
- package/dist/cdn/{SBUR54TP.js → O5T75PGZ.js} +1 -1
- package/dist/cdn/{K7UC43CL.js → O6L7TWQH.js} +1 -1
- package/dist/cdn/{SJP5NLRB.js → OCLSVHBG.js} +1 -1
- package/dist/cdn/{6ZP6GZS7.js → OENFGUIN.js} +1 -1
- package/dist/cdn/OGYAUMMI.js +2 -0
- package/dist/cdn/{TAFFNLUI.js → OO3JRV5K.js} +1 -1
- package/dist/cdn/OTLQG3D4.js +2 -0
- package/dist/cdn/OUQRKL6Q.js +2 -0
- package/dist/cdn/{DUWXDGIW.js → P6CDJ2IV.js} +1 -1
- package/dist/cdn/{H3J6GAKO.js → PCBZQRX4.js} +1 -1
- package/dist/cdn/{KBHTEAAG.js → PISSWA2X.js} +1 -1
- package/dist/cdn/PJ6BIN6B.js +2 -0
- package/dist/cdn/PWOCWDXH.js +2 -0
- package/dist/cdn/QOD6TYZ2.js +2 -0
- package/dist/cdn/{333FN2FH.js → QRAQ7SYI.js} +1 -1
- package/dist/cdn/QUYXPMFZ.js +2 -0
- package/dist/cdn/QUZTFUWM.js +1 -0
- package/dist/cdn/{4DU47CLL.js → R2Z6LGSX.js} +1 -1
- package/dist/cdn/{IPLVHFN5.js → RAYQEF6G.js} +1 -1
- package/dist/cdn/{KQT5MAFE.js → RDXFUCMG.js} +1 -1
- package/dist/cdn/RFYPQ3GQ.js +2 -0
- package/dist/cdn/RII7CWWU.js +2 -0
- package/dist/cdn/RN6YVTSJ.js +2 -0
- package/dist/cdn/RVHKL3JR.js +2 -0
- package/dist/cdn/RY73K52N.js +2 -0
- package/dist/cdn/RZ6SODVT.js +2 -0
- package/dist/cdn/RZX4PVJV.js +2 -0
- package/dist/cdn/SF6DG2BU.js +2 -0
- package/dist/cdn/SGIT6SHY.js +2 -0
- package/dist/cdn/SL7K5BE2.js +2 -0
- package/dist/cdn/SMETKDNO.js +2 -0
- package/dist/cdn/SP3SHKU4.js +2 -0
- package/dist/cdn/SX7O6EXI.js +2 -0
- package/dist/cdn/{UEYLTX3J.js → SY3M2ZUK.js} +1 -1
- package/dist/cdn/SYRZLONH.js +2 -0
- package/dist/cdn/T4ULWFGS.js +2 -0
- package/dist/cdn/TIPGSYM6.js +2 -0
- package/dist/cdn/TLFRQY4X.js +2 -0
- package/dist/cdn/{JBD3X2G7.js → TLOB62Q3.js} +1 -1
- package/dist/cdn/TOF5NAVM.js +2 -0
- package/dist/cdn/TVTHJ57O.js +2 -0
- package/dist/cdn/TXPI3GGA.js +2 -0
- package/dist/cdn/{FJT2YAI6.js → TZYCSEIK.js} +1 -1
- package/dist/cdn/U5IS4L54.js +2 -0
- package/dist/cdn/{IQSSVLSC.js → UKO2UCD3.js} +1 -1
- package/dist/cdn/UVQAPLIX.js +2 -0
- package/dist/cdn/UYCPX64L.js +2 -0
- package/dist/cdn/{YSLSCMZ4.js → V3YVWJA3.js} +1 -1
- package/dist/cdn/V5TLUM7M.js +2 -0
- package/dist/cdn/{BPXDBUNH.js → V6VLUKHQ.js} +1 -1
- package/dist/cdn/{63RAMAYF.js → VRBQLCFE.js} +1 -1
- package/dist/cdn/VWED2WAO.js +2 -0
- package/dist/cdn/{P6RTW6EN.js → W3AXBO55.js} +1 -1
- package/dist/cdn/WB5Y7X7S.js +2 -0
- package/dist/cdn/WGJ4M2WU.js +2 -0
- package/dist/cdn/WMNHZG4Z.js +2 -0
- package/dist/cdn/{CDY4M34V.js → WMUI4UFI.js} +1 -1
- package/dist/cdn/{6FOYKQEP.js → X6BTGTK3.js} +1 -1
- package/dist/cdn/{QFH7PJYV.js → X6PWBP6M.js} +1 -1
- package/dist/cdn/XE4SUJW2.js +2 -0
- package/dist/cdn/{XJVFSXPM.js → XH4BVYMC.js} +1 -1
- package/dist/cdn/{GPPU5K5J.js → XIVMPSLL.js} +1 -1
- package/dist/cdn/XOFHG45P.js +2 -0
- package/dist/cdn/{YU7SUXHY.js → XP3BVKWY.js} +1 -1
- package/dist/cdn/XPA3T33A.js +2 -0
- package/dist/cdn/XPGYKHZB.js +2 -0
- package/dist/cdn/XWIR344G.js +2 -0
- package/dist/cdn/{BPXKEXYV.js → XYM5LHFM.js} +1 -1
- package/dist/cdn/Y455YVQT.js +2 -0
- package/dist/cdn/Y7ESUBFW.js +2 -0
- package/dist/cdn/{DI6UP5OE.js → Y7JVOMNJ.js} +1 -1
- package/dist/cdn/YL6EQO7B.js +2 -0
- package/dist/cdn/{BD27PEC7.js → Z7J6NDSB.js} +1 -1
- package/dist/cdn/ZJIWWNJV.js +2 -0
- package/dist/cdn/ZLYR2YYJ.js +3 -0
- package/dist/cdn/ZSK55FRY.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +1 -1
- package/dist/chunks/useViewModel.js +13 -12
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +35 -32
- package/dist/components/arcgis-feature-table/customElement.js +7 -1
- package/dist/components/arcgis-features-next/customElement.js +10 -9
- package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +21 -19
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +5 -5
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/cdn/2FBLF35H.js +0 -2
- package/dist/cdn/2GQUMXRP.js +0 -2
- package/dist/cdn/2TWSQAFW.js +0 -2
- package/dist/cdn/32VPFWAU.js +0 -2
- package/dist/cdn/3TV4AW2U.js +0 -2
- package/dist/cdn/3XN5WC3E.js +0 -2
- package/dist/cdn/43E5Q7SX.js +0 -2
- package/dist/cdn/4CIY4MDE.js +0 -2
- package/dist/cdn/4L35X2II.js +0 -2
- package/dist/cdn/4LXXTKLF.js +0 -2
- package/dist/cdn/4PLVKLIO.js +0 -2
- package/dist/cdn/4RYRGSLZ.js +0 -2
- package/dist/cdn/6NVBAMUC.js +0 -2
- package/dist/cdn/737FF4ZH.js +0 -2
- package/dist/cdn/7DJQ6AV3.js +0 -2
- package/dist/cdn/7EYV5QCR.js +0 -2
- package/dist/cdn/7NXADBPZ.js +0 -2
- package/dist/cdn/7SS6YS6U.js +0 -2
- package/dist/cdn/ACB6VKEU.js +0 -2
- package/dist/cdn/ACGQG2T3.js +0 -2
- package/dist/cdn/AGNHPUGM.js +0 -2
- package/dist/cdn/BABV4Q67.js +0 -2
- package/dist/cdn/BB2OVX6Z.js +0 -2
- package/dist/cdn/BJHI57US.js +0 -2
- package/dist/cdn/BK6P2PBO.js +0 -2
- package/dist/cdn/BMEV46IM.js +0 -2
- package/dist/cdn/BYIKUU2V.js +0 -2
- package/dist/cdn/CML7DSDS.js +0 -2
- package/dist/cdn/CMXX5I5Y.js +0 -2
- package/dist/cdn/CUWHMMMX.js +0 -2
- package/dist/cdn/CW3A3NSF.js +0 -2
- package/dist/cdn/CWXLMMIV.js +0 -2
- package/dist/cdn/CZE4HGAH.js +0 -2
- package/dist/cdn/D5OF45DN.js +0 -2
- package/dist/cdn/D5YLOINY.js +0 -2
- package/dist/cdn/DAPA72LS.js +0 -2
- package/dist/cdn/DFMHSA2D.js +0 -2
- package/dist/cdn/DGIBWHDZ.js +0 -2
- package/dist/cdn/DU6OKLV4.js +0 -2
- package/dist/cdn/ESA5KBF2.js +0 -2
- package/dist/cdn/EV4FZDIH.js +0 -2
- package/dist/cdn/EXQF6CLS.js +0 -2
- package/dist/cdn/FCRWSG6Z.js +0 -2
- package/dist/cdn/FJI7SX3Z.js +0 -3
- package/dist/cdn/FK5W4CAM.js +0 -2
- package/dist/cdn/FPWQJH6Z.js +0 -2
- package/dist/cdn/FW6YER2T.js +0 -2
- package/dist/cdn/FWRGAMLD.js +0 -2
- package/dist/cdn/FWVU47N3.js +0 -2
- package/dist/cdn/FZD4BWTZ.js +0 -2
- package/dist/cdn/G62ON2MX.js +0 -2
- package/dist/cdn/HB3P56AO.js +0 -2
- package/dist/cdn/HL32BXZ6.js +0 -2
- package/dist/cdn/HLW5IWNW.js +0 -2
- package/dist/cdn/HSVIFDP7.js +0 -2
- package/dist/cdn/I75L57XX.js +0 -2
- package/dist/cdn/IDZCPNFC.js +0 -2
- package/dist/cdn/IHVHH3Z4.js +0 -2
- package/dist/cdn/IIFKJ5KI.js +0 -2
- package/dist/cdn/IJM4ETBT.js +0 -2
- package/dist/cdn/J5WF4RA3.js +0 -2
- package/dist/cdn/JAPZRY7D.js +0 -2
- package/dist/cdn/JC5VO2H6.js +0 -2
- package/dist/cdn/JK5WW4LS.js +0 -2
- package/dist/cdn/JRGDCJFD.js +0 -2
- package/dist/cdn/K3RZVWUG.js +0 -2
- package/dist/cdn/K7LJE67S.js +0 -2
- package/dist/cdn/KI2RJGYP.js +0 -2
- package/dist/cdn/KN4B6FCH.js +0 -2
- package/dist/cdn/KS54PV2C.js +0 -2
- package/dist/cdn/KXLCQG2D.js +0 -2
- package/dist/cdn/KY3F7CGM.js +0 -2
- package/dist/cdn/KYIGNAWR.js +0 -2
- package/dist/cdn/LWFBZABK.js +0 -2
- package/dist/cdn/LWUHDIX7.js +0 -2
- package/dist/cdn/M7QNKIPS.js +0 -2
- package/dist/cdn/MHFQFV3U.js +0 -2
- package/dist/cdn/MOIULPNJ.js +0 -2
- package/dist/cdn/MS7AHPCF.js +0 -2
- package/dist/cdn/MVGWB3RU.js +0 -2
- package/dist/cdn/NRSO2H4L.js +0 -2
- package/dist/cdn/NXELRSXN.js +0 -2
- package/dist/cdn/O2ETKQ5D.js +0 -2
- package/dist/cdn/O5TYAJJC.js +0 -2
- package/dist/cdn/OES2XNU6.js +0 -2
- package/dist/cdn/OF562TYT.js +0 -2
- package/dist/cdn/OJZS7SEO.js +0 -2
- package/dist/cdn/OPXW6KNI.js +0 -2
- package/dist/cdn/P5CMHBXY.js +0 -2
- package/dist/cdn/PIBSUNDA.js +0 -2
- package/dist/cdn/Q3W5PUKE.js +0 -2
- package/dist/cdn/QEKL2JAR.js +0 -2
- package/dist/cdn/QHA2WGXH.js +0 -2
- package/dist/cdn/QKCBJKWT.js +0 -2
- package/dist/cdn/R76WDXDY.js +0 -2
- package/dist/cdn/RIFV5I7U.js +0 -2
- package/dist/cdn/RY6OC64Z.js +0 -2
- package/dist/cdn/S3Q7DCIL.js +0 -2
- package/dist/cdn/SAEE5GTI.js +0 -2
- package/dist/cdn/SDWAS6TI.js +0 -2
- package/dist/cdn/T2U3NVKA.js +0 -2
- package/dist/cdn/TCOOCOVG.js +0 -2
- package/dist/cdn/TJFVBTGT.js +0 -2
- package/dist/cdn/TJL2GS3I.js +0 -2
- package/dist/cdn/TPL6IAKN.js +0 -2
- package/dist/cdn/TWF5DLV4.js +0 -2
- package/dist/cdn/UCRELG4W.js +0 -2
- package/dist/cdn/URUIZIXD.js +0 -2
- package/dist/cdn/UYO3EHF5.js +0 -2
- package/dist/cdn/VDRSNCLD.js +0 -2
- package/dist/cdn/VHIOEBAH.js +0 -2
- package/dist/cdn/VPMDOL5A.js +0 -2
- package/dist/cdn/VZP4JMWS.js +0 -2
- package/dist/cdn/WIGC724I.js +0 -2
- package/dist/cdn/WVH3PWDM.js +0 -2
- package/dist/cdn/X32UMW74.js +0 -2
- package/dist/cdn/X34ZFQYZ.js +0 -2
- package/dist/cdn/XC3A635J.js +0 -2
- package/dist/cdn/XDK4EBMF.js +0 -2
- package/dist/cdn/XHS7LMVO.js +0 -2
- package/dist/cdn/XJ45UBQS.js +0 -2
- package/dist/cdn/XPSJ37QH.js +0 -2
- package/dist/cdn/XRRV7RO4.js +0 -2
- package/dist/cdn/XVEDSEO5.js +0 -2
- package/dist/cdn/Y4BLBOOK.js +0 -2
- package/dist/cdn/Y6YN2NUF.js +0 -2
- package/dist/cdn/YMGM7P5W.js +0 -2
- package/dist/cdn/YQHCTUQF.js +0 -2
- package/dist/cdn/YVZBBDWC.js +0 -2
- package/dist/cdn/ZVK4FCTD.js +0 -2
- package/dist/cdn/ZVZAGAA3.js +0 -2
- /package/dist/cdn/{2W65DCE5.js → 2JV5SN44.js} +0 -0
- /package/dist/cdn/{KLXEJCTT.js → CDSRIIHC.js} +0 -0
- /package/dist/cdn/{ECNI2A4K.js → XEK22IDA.js} +0 -0
|
@@ -9,24 +9,27 @@ import { isRelatableFeatureSupportedLayer as K, findRelatedLayer as W } from "@a
|
|
|
9
9
|
import { substitute as Z, formatNumber as O } from "@arcgis/core/intl.js";
|
|
10
10
|
import { watch as f, on as z } from "@arcgis/core/core/reactiveUtils.js";
|
|
11
11
|
import { o as G } from "../../chunks/feature-utils.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
12
|
+
import V from "@arcgis/core/core/Collection.js";
|
|
13
|
+
import M from "@arcgis/core/rest/support/RelationshipQuery.js";
|
|
14
14
|
import { ignoreAbortErrors as L } from "@arcgis/core/core/promiseUtils.js";
|
|
15
|
-
import { classes as
|
|
15
|
+
import { classes as S } from "@arcgis/toolkit/dom";
|
|
16
16
|
import { createRef as J, ref as U } from "lit/directives/ref.js";
|
|
17
17
|
import X from "@arcgis/core/popup/Feature.js";
|
|
18
|
-
const Y = H`:host{position:relative;flex:1 1 auto}.list{min-height:var(--calcite-spacing-xxxl)}.list-item-hidden{display:none}.feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.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}`, ee = (
|
|
18
|
+
const Y = H`:host{position:relative;flex:1 1 auto}.list{min-height:var(--calcite-spacing-xxxl)}.list-item-hidden{display:none}.feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.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}`, ee = (h) => {
|
|
19
19
|
const e = [];
|
|
20
|
-
if (
|
|
21
|
-
const { description: t, title: r } =
|
|
22
|
-
|
|
20
|
+
if (h.formTemplate) {
|
|
21
|
+
const { description: t, title: r } = h.formTemplate;
|
|
22
|
+
h.fields?.forEach((i) => {
|
|
23
23
|
const s = r && D(r, i.name), a = t && D(t, i.name);
|
|
24
24
|
(s || a) && e.push(i.name);
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
return e;
|
|
28
28
|
}, R = 100;
|
|
29
|
-
|
|
29
|
+
function te(h) {
|
|
30
|
+
return typeof h == "string" && h.trim().length > 0;
|
|
31
|
+
}
|
|
32
|
+
class re extends k {
|
|
30
33
|
constructor() {
|
|
31
34
|
super(...arguments), this._increaseFeaturePage = () => {
|
|
32
35
|
const { state: e, showAllEnabled: t, relatedFeatures: r, featuresPerPage: i, featurePage: s } = this;
|
|
@@ -60,7 +63,7 @@ class te extends k {
|
|
|
60
63
|
!this.featureCount || this.relatedLayer?.type === "subtype-group" && !this.activeCategory || (this.relatedFeatureViewModels.destroyAll(), this.featurePage = 1, t.destroyAll(), t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({ signal: e?.signal }))));
|
|
61
64
|
}, this._addFlowItem = (e) => {
|
|
62
65
|
e && this.flowItems?.push(e);
|
|
63
|
-
}, this._relatedFeatureIntersectionObserverNode = J(), this.relatedFeatures = new
|
|
66
|
+
}, this._relatedFeatureIntersectionObserverNode = J(), this.relatedFeatures = new V(), this._queryAbortController = null, this._queryPageAbortController = null, this._queryFeatureCountAbortController = null, this.featureCount = 0, this._loaded = !1, this.relatedFeatureViewModels = new V(), this.autoDestroyDisabled = !1, this.featuresPerPage = 10, this.useFeatureNextFlowItem = !1, this.flowType = "feature-relationship", this.headingLevel = 2, this.hideHeading = !1, this.hideDescription = !1, this.showAllEnabled = !1;
|
|
64
67
|
}
|
|
65
68
|
static {
|
|
66
69
|
this.properties = { allCategories: 16, _queryAbortController: 16, _queryPageAbortController: 16, _queryFeatureCountAbortController: 16, featureCount: 16, _loaded: 16, canLoad: 16, canQuery: 16, displayShowAllButton: 16, displayListItems: 16, categories: 16, itemDescriptionFieldName: 16, relatedFeatureViewModels: 16, state: 16, autoDestroyDisabled: 5, allItemsDescription: 32, featurePage: 9, featuresPerPage: 9, flowItems: 0, useFeatureNextFlowItem: 5, flowType: 1, headingLevel: 9, messages: 0, heading: 1, description: 1, values: 0, activeCategory: 0, hideHeading: 5, hideDescription: 5, displayCount: 9, graphic: 0, layer: 0, map: 0, view: 0, spatialReference: 0, timeZone: 1, orderByFields: 0, relationshipId: 9, showAllEnabled: 5, label: 3 };
|
|
@@ -207,19 +210,19 @@ class te extends k {
|
|
|
207
210
|
sqlWhere: `${n} = '${d}'`,
|
|
208
211
|
field: t.subtypeField ?? void 0,
|
|
209
212
|
signal: r?.signal
|
|
210
|
-
}), v = w.map(({ count:
|
|
211
|
-
const m = t.subtypes?.find((I) => I.code ===
|
|
212
|
-
return
|
|
213
|
-
count:
|
|
214
|
-
value:
|
|
213
|
+
}), v = w.map(({ count: c, value: g }) => {
|
|
214
|
+
const m = t.subtypes?.find((I) => I.code === g)?.name;
|
|
215
|
+
return g != null && m ? {
|
|
216
|
+
count: c,
|
|
217
|
+
value: g,
|
|
215
218
|
name: m
|
|
216
219
|
} : void 0;
|
|
217
|
-
}).filter((
|
|
220
|
+
}).filter((c) => c != null);
|
|
218
221
|
this.allCategories = v;
|
|
219
222
|
}
|
|
220
223
|
return;
|
|
221
224
|
}
|
|
222
|
-
const { historicMoment: p, gdbVersion: F } = e, _ = new
|
|
225
|
+
const { historicMoment: p, gdbVersion: F } = e, _ = new M({
|
|
223
226
|
cacheHint: b,
|
|
224
227
|
gdbVersion: F,
|
|
225
228
|
historicMoment: p,
|
|
@@ -227,10 +230,10 @@ class te extends k {
|
|
|
227
230
|
returnGeometry: !1,
|
|
228
231
|
objectIds: [a],
|
|
229
232
|
where: this._getRelationshipWhereClause(t)
|
|
230
|
-
}),
|
|
233
|
+
}), y = await e.queryRelatedFeaturesCount(_, {
|
|
231
234
|
signal: r?.signal
|
|
232
235
|
});
|
|
233
|
-
this.allCategories = void 0, this.featureCount =
|
|
236
|
+
this.allCategories = void 0, this.featureCount = y[a] || 0;
|
|
234
237
|
}
|
|
235
238
|
_getRelationshipWhereClause(e) {
|
|
236
239
|
const { activeCategory: t } = this, r = e.createQuery(), i = "subtypeField" in e ? e.subtypeField : void 0, s = t && i ? `${i} = ${t.value}` : void 0, a = r.where;
|
|
@@ -245,32 +248,32 @@ class te extends k {
|
|
|
245
248
|
!r || t < 2 || !s || this.relatedLayer?.type === "subtype-group" && !this.activeCategory || e.addMany(await this._queryRelatedFeatures({ signal: i?.signal }));
|
|
246
249
|
}
|
|
247
250
|
async _queryRelatedFeatures(e) {
|
|
248
|
-
const { displayCount: t, featureCount: r, featurePage: i, featuresPerPage: s, layer: a, orderByFieldsFixedCasing: n, relatedLayer: l, relatedLayerKeyFields: d, relationshipId: b, showAllEnabled: p, supportsCacheHint: F } = this, { canQuery: _, objectId:
|
|
249
|
-
if (!_ || !a || !l ||
|
|
251
|
+
const { displayCount: t, featureCount: r, featurePage: i, featuresPerPage: s, layer: a, orderByFieldsFixedCasing: n, relatedLayer: l, relatedLayerKeyFields: d, relationshipId: b, showAllEnabled: p, supportsCacheHint: F } = this, { canQuery: _, objectId: y } = this;
|
|
252
|
+
if (!_ || !a || !l || y == null)
|
|
250
253
|
return [];
|
|
251
|
-
const C = p ? ((i - 1) * s + r) % r : 0, w = p ? s : t, v = l.objectIdField,
|
|
254
|
+
const C = p ? ((i - 1) * s + r) % r : 0, w = p ? s : t, v = l.objectIdField, c = "subtypeField" in l ? l.subtypeField : void 0, g = [
|
|
252
255
|
...n.map((u) => u.field),
|
|
253
256
|
...ee(l),
|
|
254
257
|
...d,
|
|
255
258
|
v,
|
|
256
|
-
|
|
257
|
-
].filter(
|
|
259
|
+
c
|
|
260
|
+
].filter(te), m = n.map((u) => `${u.field} ${u.order}`), { historicMoment: I, gdbVersion: Q } = a, j = new M({
|
|
258
261
|
orderByFields: m,
|
|
259
262
|
start: C,
|
|
260
263
|
num: w,
|
|
261
|
-
outFields:
|
|
264
|
+
outFields: g,
|
|
262
265
|
cacheHint: F,
|
|
263
266
|
historicMoment: I,
|
|
264
267
|
gdbVersion: Q,
|
|
265
268
|
relationshipId: b,
|
|
266
269
|
returnGeometry: !1,
|
|
267
|
-
objectIds: [
|
|
270
|
+
objectIds: [y],
|
|
268
271
|
where: this._getRelationshipWhereClause(l)
|
|
269
272
|
}), $ = (await a.queryRelatedFeatures(j, {
|
|
270
273
|
signal: e?.signal
|
|
271
|
-
}))[
|
|
272
|
-
return l.type === "subtype-group" &&
|
|
273
|
-
const T = u.attributes[
|
|
274
|
+
}))[y]?.features || [];
|
|
275
|
+
return l.type === "subtype-group" && c ? $.forEach((u) => {
|
|
276
|
+
const T = u.attributes[c], P = l.findSublayerForSubtypeCode?.(T);
|
|
274
277
|
u.sourceLayer = P, u.layer = P;
|
|
275
278
|
}) : $.forEach((u) => {
|
|
276
279
|
u.sourceLayer = l, u.layer = l;
|
|
@@ -349,7 +352,7 @@ class te extends k {
|
|
|
349
352
|
...r,
|
|
350
353
|
...i?.global
|
|
351
354
|
}, l = (t && n?.[t]) ?? "";
|
|
352
|
-
return o`<calcite-list-item class=${x(
|
|
355
|
+
return o`<calcite-list-item class=${x(S("list-item", { "list-item-hidden": s === "loading" }))} .description=${E(l.toString())} .label=${E(a)} @calciteListItemSelect=${() => this._selectRecord(e)}><div slot=heading><div .innerHTML=${N.sanitize(a ?? "") ?? ""}></div></div><div slot=description><div .innerHTML=${N.sanitize(l ?? "") ?? ""}></div></div>${this._renderChevronIconNode()}</calcite-list-item>`;
|
|
353
356
|
}
|
|
354
357
|
_renderShowAllListItem() {
|
|
355
358
|
return this.displayShowAllButton ? o`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${() => this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>` : null;
|
|
@@ -366,7 +369,7 @@ class te extends k {
|
|
|
366
369
|
}
|
|
367
370
|
_renderRelatedFeatures() {
|
|
368
371
|
const { displayListItems: e } = this, { state: t } = this;
|
|
369
|
-
return o`<div class=${x(
|
|
372
|
+
return o`<div class=${x(S("list", {
|
|
370
373
|
"list-querying": t === "querying"
|
|
371
374
|
}))}>${e ? this._renderList() : t === "ready" ? this._renderNoRelatedFeaturesMessage() : null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`;
|
|
372
375
|
}
|
|
@@ -374,7 +377,7 @@ class te extends k {
|
|
|
374
377
|
return o`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`;
|
|
375
378
|
}
|
|
376
379
|
}
|
|
377
|
-
B("arcgis-feature-relationship",
|
|
380
|
+
B("arcgis-feature-relationship", re);
|
|
378
381
|
export {
|
|
379
|
-
|
|
382
|
+
re as ArcgisFeatureRelationship
|
|
380
383
|
};
|
|
@@ -15,7 +15,7 @@ import { u as w } from "../../chunks/useLayerById.js";
|
|
|
15
15
|
const x = _`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{--arcgis-internal-feature-table-icon-color: var(--calcite-icon-color);--arcgis-internal-feature-table-background-color: var(--calcite-color-surface-2);--arcgis-internal-feature-table-background-color-secondary: var(--calcite-color-surface-1);--arcgis-internal-feature-table-text-color: var(--calcite-color-text-1);--arcgis-internal-feature-table-text-color-secondary: var(--calcite-color-text-2);--arcgis-internal-feature-table-text-color-tertiary: var(--calcite-color-text-3);--arcgis-internal-feature-table-text-color-hover: var(--arcgis-internal-feature-table-text-color);--arcgis-internal-feature-table-interactive-text-color: var(--calcite-color-text-1);--arcgis-internal-feature-table-interactive-text-color-hover: var(--calcite-color-text-1);--arcgis-internal-feature-table-text-color-link: var(--calcite-color-text-link);--arcgis-internal-feature-table-text-color-link-hover: var(--calcite-color-text-highlight);--arcgis-internal-feature-table-column-header-background-color: var(--calcite-color-surface-1);--arcgis-internal-feature-table-column-header-sorted-background-color: var( --arcgis-internal-feature-table-background-color );--arcgis-internal-feature-table-column-header-icon-color: var(--arcgis-internal-feature-table-icon-color);--arcgis-internal-feature-table-column-header-text-color: var(--arcgis-internal-feature-table-text-color);--arcgis-internal-feature-table-column-header-text-font-weight: var(--calcite-font-weight-regular);--arcgis-internal-feature-table-row-background-color: var(--calcite-color-surface-2);--arcgis-internal-feature-table-row-background-color-hover: var(--calcite-color-surface-3);--arcgis-internal-feature-table-selection-checkbox-color: var(--calcite-icon-color, var(--calcite-color-brand));--arcgis-internal-feature-table-selected-row-text-color: var(--arcgis-internal-feature-table-text-color);--arcgis-internal-feature-table-selected-row-text-color-hover: var(--arcgis-internal-feature-table-text-color);--arcgis-internal-feature-table-selected-row-background-color-primary: var(--calcite-color-brand);--arcgis-internal-feature-table-selected-row-background-color-secondary: var(--calcite-color-surface-2);--arcgis-internal-feature-table-selected-row-background-color: color-mix( in sRGB, var(--arcgis-internal-feature-table-selected-row-background-color-primary) 10%, var(--arcgis-internal-feature-table-selected-row-background-color-secondary) );--arcgis-internal-feature-table-selected-row-background-color-hover: color-mix( in sRGB, var(--arcgis-internal-feature-table-selected-row-background-color-primary) 20%, var(--arcgis-internal-feature-table-selected-row-background-color-secondary) )}.esri-feature-table{--icon-size: 64px;flex-direction:column;width:100%;height:100%;display:flex}.esri-feature-table__content{--calcite-action-text-color: var(--arcgis-internal-feature-table-interactive-text-color);--calcite-action-text-color-press: var(--arcgis-internal-feature-table-interactive-text-color-hover);--calcite-panel-description-text-color: var(--arcgis-internal-feature-table-text-color-secondary);--calcite-panel-header-action-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-panel-header-background-color: var(--arcgis-internal-feature-table-background-color);--calcite-panel-heading-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-panel-icon-color: var(--arcgis-internal-feature-table-text-color);overflow:hidden}.esri-feature-table__content calcite-pagination{justify-content:center}.esri-feature-table calcite-scrim>div:first-child{min-width:300px;max-width:400px;max-height:100%;position:relative}.esri-feature-table__collapsed{min-width:500px}.esri-feature-table__collapsed:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px;max-width:300px}.esri-feature-table__expanded{min-width:300px;display:flex}.esri-feature-table__expanded:not(:last-child){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-2)}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel{min-width:fit-content}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child calcite-panel>div:first-child{flex:2 1 0}.esri-feature-table__expanded.esri-feature-table__table-container--attachments:last-child .esri-feature-table__collapsed{max-width:inherit}.esri-feature-table__table-container{flex:1 1 0;min-height:0;margin:0;padding:0;display:flex;width:100%;height:100%}.esri-feature-table__table-container calcite-panel>div{overflow-y:auto}.esri-feature-table__table-container calcite-panel div{flex:1 1 0;display:flex}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list{--calcite-list-label-text-color: var(--arcgis-internal-feature-table-text-color);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);color:var(--arcgis-internal-feature-table-text-color);flex:1 1 0;min-width:480px;overflow-y:auto}.esri-feature-table__table-container calcite-panel div .esri-feature-table__attachments-view__list__filesize{cursor:default;align-items:center;height:100%;margin-inline-end:var(--calcite-space-md);display:flex}.esri-feature-table__table-navigation{--calcite-label-margin-bottom: 0;background-color:var(--arcgis-internal-feature-table-background-color);width:100%;line-height:initial;align-items:center;padding-block-start:var(--calcite-space-base);display:flex}.esri-feature-table__table-navigation calcite-action:first-child{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);transform:scaleX(-1)}.esri-feature-table__table-navigation calcite-chip{--calcite-chip-close-icon-color: var(--calcite-color-text-inverse);margin-inline-end:var(--calcite-space-md)}.esri-feature-table__table-navigation calcite-label{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);padding-inline:var(--calcite-space-md);height:100%}.esri-feature-table__table-navigation calcite-action{display:flex;overflow:hidden}.esri-feature-table__table-navigation div:last-child{float:inline-end;align-items:center;height:100%;margin-inline:auto 0;display:flex}.esri-feature-table__table-navigation calcite-action:last-child{float:inline-end;margin-inline:auto 0;display:flex}.esri-feature-table__attachments-view{background-color:var(--arcgis-internal-feature-table-background-color);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-2);min-width:300px}.esri-feature-table__attachments-view__content{background-color:var(--arcgis-internal-feature-table-background-color-secondary);padding:var(--calcite-space-md);flex-direction:column;justify-content:center;align-items:center;width:100%;max-height:100%;overflow-y:auto}.esri-feature-table__attachments-view__details,.esri-feature-table__attachments-view__drop-area{flex-direction:column;justify-content:center;align-items:center;width:100%}.esri-feature-table__attachments-view__details{padding:var(--calcite-space-xl);max-height:100%}.esri-feature-table__attachments-view__details img{display:block;padding:var(--calcite-space-sm);max-width:100%;max-height:100%}.esri-feature-table__attachments-view__details calcite-action{position:sticky}.esri-feature-table__attachments-view__drop-area{border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-round);text-align:center}.esri-feature-table__attachments-view__drop-area form{justify-content:center;display:flex}.esri-feature-table__attachments-view__drop-area form fieldset{border:none;display:flex;flex-direction:column;align-items:center}.esri-feature-table__attachments-view__drop-area form fieldset calcite-button,.esri-feature-table__attachments-view__drop-area form fieldset span{margin-bottom:var(--calcite-space-sm)}.esri-feature-table__attachments-view__drop-area__label{margin-bottom:var(--calcite-space-md);font-size:var(--calcite-font-size-md)}.esri-feature-table__attachments-view__drop-area__message{margin-bottom:var(--calcite-space-md);word-break:break-all}.esri-feature-table__attachments-view__icon{--calcite-icon-color: var(--arcgis-internal-feature-table-icon-color);margin-bottom:var(--calcite-space-md);block-size:var(--icon-size);inline-size:var(--icon-size)}.esri-feature-table__attachments-view__information{--calcite-button-border-color: var(--calcite-color-brand);--calcite-button-text-color: var(--calcite-color-brand);padding:var(--calcite-space-md);flex-direction:column;max-width:200px;overflow-y:auto}.esri-feature-table__attachments-view__information calcite-button,.esri-feature-table__attachments-view__information calcite-icon,.esri-feature-table__attachments-view__information img{margin-block-end:var(--calcite-space-md)}.esri-feature-table__attachments-view__information__data{margin-block-end:var(--calcite-space-md);word-wrap:break-word;color:var(--arcgis-internal-feature-table-text-color)}.esri-feature-table__attachments-view__information__label{color:var(--arcgis-internal-feature-table-text-color-tertiary);font-weight:var(--calcite-font-weight-regular)}.esri-feature-table__attachments-view__list-item--delete{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.esri-feature-table__attachments-view__list__thumbnail{margin-block:var(--calcite-space-sm);justify-content:center;align-items:center}.esri-feature-table__attachments-view__list__thumbnail span{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-round);width:var(--icon-size);height:var(--icon-size);color:var(--arcgis-internal-feature-table-text-color-tertiary);justify-content:center;align-items:center;display:flex;overflow:hidden}.esri-feature-table__menu-popover{--calcite-popover-text-color: var(--arcgis-internal-feature-table-text-color)}.esri-feature-table__menu-popover calcite-list{--calcite-button-text-color: var(--arcgis-internal-feature-table-text-color-link);--calcite-list-label-text-color: var(--arcgis-internal-feature-table-text-color);color:var(--arcgis-internal-feature-table-text-color);max-width:300px;max-height:260px;overflow-y:auto}.esri-feature-table__dialog{--calcite-dialog-content-space: 0;--calcite-dialog-heading-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-dialog-description-text-color: var(--arcgis-internal-feature-table-text-color-secondary)}.esri-feature-table__dialog calcite-progress{position:sticky;top:0;margin-bottom:var(--calcite-space-sm)}.esri-feature-table__dialog calcite-pagination{justify-content:center;width:100%}.esri-feature-table__dialog calcite-panel{--calcite-panel-description-text-color: var(--arcgis-internal-feature-table-text-color-secondary);--calcite-panel-header-action-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-panel-heading-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-panel-icon-color: var(--arcgis-internal-feature-table-text-color)}.esri-feature-table__dialog img{width:auto;max-width:100%}.esri-feature-table__dialog__content{display:flex;flex-direction:column;flex-grow:1;align-items:center;justify-content:center}.esri-feature-table__dialog__header{color:var(--arcgis-internal-feature-table-text-color);display:flex;flex-direction:row;gap:var(--calcite-space-sm);justify-content:space-between;width:100%}.esri-feature-table__dialog__header span{align-self:center;word-break:break-all;padding-inline-start:var(--calcite-space-md)}.esri-feature-table__footer__message{gap:var(--calcite-space-sm);margin:0 var(--calcite-space-md);align-items:center;display:flex}.esri-feature-table__footer__icon--danger{color:var(--calcite-color-status-danger)}.esri-feature-table__footer__icon--success{color:var(--calcite-color-status-success)}.esri-feature-table__layer-switcher-menu{--calcite-dropdown-item-text-color: var(--arcgis-internal-feature-table-text-color);--calcite-dropdown-item-text-color-press: var(--arcgis-internal-feature-table-text-color);align-items:center;display:flex}calcite-button.esri-attachments-column__button,calcite-button.esri-column__show-related-records-button{--calcite-button-background-color: transparent;--calcite-button-icon-color: var(--arcgis-internal-feature-table-text-color-link);--calcite-button-text-color: var(--arcgis-internal-feature-table-text-color-link);--calcite-offset-invert-focus: 2}calcite-button.esri-attachments-column__button:hover,calcite-button.esri-column__show-related-records-button:hover{--calcite-button-icon-color: var(--arcgis-internal-feature-table-text-color-link-hover);--calcite-button-text-color: var(--arcgis-internal-feature-table-text-color-link-hover)}.esri-column__show-related-records-button{height:100%;display:flex}.esri-attachments-column__button{overflow:hidden}.esri-attachments-column__button>div{display:flex;overflow:hidden}.esri-attachments-column__button>div>div:first-child{text-overflow:ellipsis;width:100%;margin-inline-end:var(--calcite-space-2xl);overflow:hidden}.esri-attachments-column__button>div span{align-self:center;position:absolute;inset-inline-end:var(--calcite-space-3xl)}.esri-attachments-column__content{flex-direction:row;justify-content:space-between;width:100%;height:100%;display:flex;overflow:hidden}.esri-attachments-column__content>div:first-child{text-overflow:ellipsis;line-height:0;overflow:hidden}.esri-attachments-column__button calcite-icon,.esri-attachments-column__button img,.esri-attachments-column__content calcite-icon,.esri-attachments-column__content img{max-width:var(--calcite-space-2xl);max-height:var(--calcite-space-2xl);vertical-align:middle;margin-inline-end:var(--calcite-space-2xs);display:inline-flex}.esri-grid{background-color:var(--arcgis-internal-feature-table-background-color);width:100%;height:100%}.esri-grid vaadin-grid{border-block-end:none;border-inline:none;background-color:inherit;color:inherit;font-family:inherit;font-size:var(--calcite-font-size);overflow:visible}.esri-grid vaadin-grid[reordering]::part(cell):after{content:normal}.esri-grid vaadin-grid[reordering]::part(frozen-cell),.esri-grid vaadin-grid[reordering]::part(frozen-to-end-cell),.esri-grid vaadin-grid[reordering]::part(reorder-allowed-cell){filter:brightness(.9) contrast(1.1)}.esri-grid vaadin-grid::part(empty-state){border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);color:var(--arcgis-internal-feature-table-text-color)}.esri-grid vaadin-grid::part(cell editing){z-index:2}.esri-grid vaadin-grid::part(frozen-cell),.esri-grid vaadin-grid::part(frozen-to-end-cell){z-index:4}.esri-grid vaadin-grid::part(cell last-frozen-cell){overflow:visible}.esri-grid vaadin-grid::part(cell text-wrap){text-wrap:wrap}.esri-grid vaadin-grid-cell-content{box-sizing:border-box!important;align-items:center;padding:var(--calcite-space-2xs) var(--calcite-space-sm);height:100%;min-height:var(--calcite-font-line-height-fixed-3xl)}.esri-grid vaadin-grid::part(cell){border-inline-end:var(--calcite-border-width-sm) solid;border-color:var(--calcite-color-surface-4);line-height:28px;color:var(--arcgis-internal-feature-table-text-color)}.esri-grid vaadin-grid::part(cell):focus:after{outline-color:var(--calcite-color-brand)}.esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=start]::part(cell last-frozen-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}[dir=rtl].esri-grid vaadin-grid[overflow~=end]::part(cell first-frozen-to-end-cell){border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(body-cell){background-color:var(--arcgis-internal-feature-table-row-background-color)}.esri-grid vaadin-grid::part(body-cell):hover{background-color:var(--arcgis-internal-feature-table-row-background-color-hover);color:var(--arcgis-internal-feature-table-text-color-hover)}.esri-grid vaadin-grid::part(body-cell invalid){color:var(--arcgis-internal-feature-table-text-color-tertiary);font-style:italic}.esri-grid vaadin-grid::part(header-cell){background-color:var(--arcgis-internal-feature-table-column-header-background-color)}.esri-grid vaadin-grid::part(header-cell invalid){font-weight:var(--calcite-font-weight-bold)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-text-3)}.esri-grid vaadin-grid::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand);background-color:var(--arcgis-internal-feature-table-column-header-sorted-background-color)}.esri-grid vaadin-grid[overflow~=top]::part(header-cell direction){border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-brand)}.esri-grid vaadin-grid::part(body-cell highlight){background-color:var(--calcite-color-surface-4)}.esri-grid vaadin-grid::part(selected-row-cell){background-color:var(--arcgis-internal-feature-table-selected-row-background-color);color:var(--arcgis-internal-feature-table-selected-row-text-color)}.esri-grid vaadin-grid::part(selected-row-cell):hover{background-color:var(--arcgis-internal-feature-table-selected-row-background-color-hover);color:var(--arcgis-internal-feature-table-selected-row-text-color-hover)}.esri-grid vaadin-grid::part(body-cell pending-edit){border:var(--calcite-border-width-md) solid var(--calcite-color-status-success);background-color:color-mix(in sRGB,var(--calcite-color-status-success) 20%,var(--arcgis-internal-feature-table-background-color))}.esri-grid vaadin-grid::part(body-cell pending-edit):hover{background-color:color-mix(in sRGB,var(--calcite-color-status-success-hover) 20%,var(--arcgis-internal-feature-table-background-color))}.esri-grid vaadin-grid::part(body-cell pending-edit-invalid){border:var(--calcite-border-width-md) dashed var(--calcite-color-status-danger);background-color:color-mix(in sRGB,var(--calcite-color-status-danger) 20%,var(--arcgis-internal-feature-table-background-color));font-weight:var(--calcite-font-weight-bold)}.esri-grid vaadin-grid::part(body-cell pending-edit-invalid):hover{background-color:color-mix(in sRGB,var(--calcite-color-status-danger-hover) 20%,var(--arcgis-internal-feature-table-background-color))}.esri-grid vaadin-grid::part(body-cell pending-edit-other){cursor:not-allowed;color:var(--arcgis-internal-feature-table-text-color-tertiary)}.esri-grid vaadin-checkbox{line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox::part(checkbox){background-color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug)}.esri-grid vaadin-checkbox[checked]::part(checkbox){background-color:var(--arcgis-internal-feature-table-selection-checkbox-color)}.esri-grid vaadin-grid-sorter[direction]::part(indicators),.esri-grid vaadin-grid-sorter[direction]::part(order){color:var(--arcgis-internal-feature-table-column-header-text-color)}.esri-grid .esri-grid__content{background-color:var(--arcgis-internal-feature-table-background-color-secondary);width:100%;height:100%}.esri-grid .esri-grid__grid{width:100%;height:100%}.esri-grid a{color:var(--arcgis-internal-feature-table-text-color-link);text-decoration:underline}.esri-grid a:hover,.esri-grid a:focus{color:var(--arcgis-internal-feature-table-text-color-link-hover)}.esri-grid .esri-column__content--full{width:100%;height:100%;position:absolute;top:0;left:0}.esri-grid .esri-column__header-content{text-align:start;align-items:flex-start;width:100%;height:100%;font-weight:var(--calcite-font-weight-regular);display:flex;overflow:hidden}.esri-grid .esri-column__header-content:has(calcite-icon:only-child){justify-content:center;align-items:center}.esri-grid .esri-column__header-content div{width:100%;flex-flow:column wrap;display:flex;overflow:hidden}.esri-grid .esri-column__header-content div span{text-overflow:ellipsis;width:100%;line-height:var(--calcite-font-line-height-fixed-xl);overflow:hidden}.esri-grid .esri-column__header-content calcite-icon{color:var(--arcgis-internal-feature-table-column-header-icon-color);height:var(--calcite-space-2xl);margin-inline-end:var(--calcite-space-2xs)}.esri-grid .esri-column__header-content calcite-dropdown{float:inline-end;max-height:180px}.esri-grid .esri-column__header-content calcite-dropdown calcite-action{--calcite-icon-color: var(--arcgis-internal-feature-table-column-header-icon-color)}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group{max-width:200px;overflow-x:auto}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-group:only-of-type{max-height:180px;overflow:visible}.esri-grid .esri-column__header-content calcite-dropdown[open] calcite-dropdown-item{display:flex}.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item,.esri-grid .esri-column__header-content calcite-dropdown calcite-dropdown-item[hidden]{display:none}.esri-grid .esri-column__header-description{color:var(--arcgis-internal-feature-table-text-color-tertiary);font-size:var(--calcite-font-size-sm)}.esri-grid .esri-column__sorter:hover{cursor:pointer}.esri-grid .esri-column__sorter,.esri-grid .esri-column__header-label{color:var(--arcgis-internal-feature-table-column-header-text-color);flex-grow:1;font-weight:var(--arcgis-internal-feature-table-column-header-text-font-weight);align-items:center;display:flex;overflow:hidden}.esri-column__header-menu-icon{margin-inline-end:15px}.esri-column__cell-input{border:none;flex:1 1 0;width:100%;height:100%}.esri-column__cell__input-container{flex-direction:column;align-items:center;width:100%;display:flex}.esri-column__cell__input-container input,.esri-column__cell__input-container select{padding:0;position:absolute;top:0;left:0}.esri-column__cell__input-container div,.esri-column__cell__input-container input,.esri-column__cell__input-container select{width:100%;display:flex}.esri-column__cell__input-container calcite-action-bar{background-color:var(--arcgis-internal-feature-table-background-color-secondary)}.esri-column__cell__input-container div:first-child{flex-direction:column}.esri-column__cell__input-container calcite-input-time-zone{--calcite-dropdown-width: 200px}.esri-column__cell__input-container calcite-input-time-picker:last-child,.esri-column__cell__input-container calcite-input-time-picker:nth-child(2),.esri-column__cell__input-container calcite-input-time-zone{margin-top:-1px}.esri-feature-table .esri-editor__prompt--danger{border-top:solid 3px var(--calcite-color-status-danger);background-color:var(--calcite-color-surface-1);color:var(--arcgis-internal-feature-table-text-color);flex-flow:column;max-height:85%;padding-block:var(--calcite-space-md);padding-inline:15px;animation:.25s ease-in-out esri-fade-in-up;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 1px 2px #0000004d}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__header{color:var(--calcite-color-status-danger);flex:none;align-items:center;gap:7px;margin-bottom:var(--calcite-space-md);display:flex}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__header__heading{color:var(--arcgis-internal-feature-table-text-color);margin:0 3px}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__message{word-break:break-word;color:inherit;flex:auto;padding:0 0 12px;font-weight:var(--calcite-font-weight-regular);overflow:hidden auto}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__divider{color:inherit;border-color:var(--calcite-color-border-2);border-bottom-style:solid;border-bottom-width:1px;flex:none;margin:0 0 12px}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__actions{flex-direction:row;display:flex}.esri-feature-table .esri-editor__prompt--danger .esri-editor__prompt__half-width-button{width:50%}`, y = p(g);
|
|
16
16
|
class k extends h {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this._direction = u(), this.widget = y(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.attachmentsColumns = this.widget.attachmentsColumns, this.attributeTableTemplate = this.widget.attributeTableTemplate, this.actionColumn = this.widget.actionColumn, this.actionColumnConfig = this.widget.actionColumnConfig, this.activeFilters = this.widget.activeFilters, this.activeSortOrders = this.widget.activeSortOrders, this.allColumns = this.widget.allColumns, this.allRelatedTablesVisible = this.widget.allRelatedTablesVisible, this.allVisibleColumns = this.widget.allVisibleColumns, this.attachmentsEnabled = this.widget.attachmentsEnabled, this.attachmentsViewOptions = this.widget.attachmentsViewOptions, this.autoDestroyDisabled = !1, this.autoRefreshDisabled = this.widget.autoRefreshEnabled, this.autoSaveDisabled = this.widget.autoSaveEnabled, this.canAddRelatedFeature = this.widget.canAddRelatedFeature, this.closed = this.widget.closed, this.collapsed = this.widget.collapsed, this.columnPerformanceModeDisabled = this.widget.columnPerformanceModeEnabled, this.columnReorderingDisabled = this.widget.columnReorderingEnabled, this.columns = this.widget.columns, this.definitionExpression = this.widget.definitionExpression, this.description = this.widget.description, this.disabled = this.widget.disabled, this.editingEnabled = this.widget.editingEnabled, this.effectiveSize = this.widget.effectiveSize, this.fieldColumns = this.widget.fieldColumns, this.filterByLayerScaleRange = this.widget.filterByLayerScaleRange, this.filterBySelectionEnabled = this.widget.filterBySelectionEnabled, this.filterByViewExtent = this.widget.filterByViewExtent, this.filterGeometry = this.widget.filterGeometry, this.groupColumns = this.widget.groupColumns, this.hasContingentValues = this.widget.hasContingentValues, this.hasInvalidPendingEdits = this.widget.hasInvalidPendingEdits, this.hasPendingEdits = this.widget.hasPendingEdits, this.hiddenFields = this.widget.hiddenFields, this.hideColumnDescriptions = this.widget.visibleElements.columnDescriptions, this.hideColumnMenuItemsSortAscending = this.widget.visibleElements.columnMenuItems.sortAscending, this.hideColumnMenuItemsSortDescending = this.widget.visibleElements.columnMenuItems.sortDescending, this.hideColumnMenus = this.widget.visibleElements.columnMenus, this.hideColumnVisibilityMenu = this.widget.visibleElements.columnVisibilityMenu, this.hideColumnVisibilityMenuItemsFilter = this.widget.visibleElements.columnVisibilityMenuItems.filter, this.hideColumnVisibilityMenuItemsHeader = this.widget.visibleElements.columnVisibilityMenuItems.header, this.hideColumnVisibilityMenuItemsToggleAll = this.widget.visibleElements.columnVisibilityMenuItems.toggleAll, this.hideHeader = this.widget.visibleElements.header, this.hideLayerDropdownIcons = this.widget.visibleElements.layerDropdownIcons, this.hideMenu = this.widget.visibleElements.menu, this.hideMenuItemsClearSelection = this.widget.visibleElements.menuItems.clearSelection, this.hideMenuItemsDeleteSelection = this.widget.visibleElements.menuItems.deleteSelection, this.hideMenuItemsExportSelectionToCsv = this.widget.visibleElements.menuItems.exportSelectionToCSV, this.hideMenuItemsRefreshData = this.widget.visibleElements.menuItems.refreshData, this.hideMenuItemsSelectedRecordsShowAllToggle = this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle, this.hideMenuItemsSelectedRecordsShowSelectedToggle = this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle, this.
|
|
18
|
+
super(...arguments), this._direction = u(), this.widget = y(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.attachmentsColumns = this.widget.attachmentsColumns, this.attributeTableTemplate = this.widget.attributeTableTemplate, this.actionColumn = this.widget.actionColumn, this.actionColumnConfig = this.widget.actionColumnConfig, this.activeFilters = this.widget.activeFilters, this.activeSortOrders = this.widget.activeSortOrders, this.allColumns = this.widget.allColumns, this.allRelatedTablesVisible = this.widget.allRelatedTablesVisible, this.allVisibleColumns = this.widget.allVisibleColumns, this.attachmentsEnabled = this.widget.attachmentsEnabled, this.attachmentsViewOptions = this.widget.attachmentsViewOptions, this.autoDestroyDisabled = !1, this.autoRefreshDisabled = this.widget.autoRefreshEnabled, this.autoSaveDisabled = this.widget.autoSaveEnabled, this.canAddRelatedFeature = this.widget.canAddRelatedFeature, this.closed = this.widget.closed, this.collapsed = this.widget.collapsed, this.columnPerformanceModeDisabled = this.widget.columnPerformanceModeEnabled, this.columnReorderingDisabled = this.widget.columnReorderingEnabled, this.columns = this.widget.columns, this.definitionExpression = this.widget.definitionExpression, this.description = this.widget.description, this.disabled = this.widget.disabled, this.editingEnabled = this.widget.editingEnabled, this.effectiveSize = this.widget.effectiveSize, this.fieldColumns = this.widget.fieldColumns, this.filterByLayerScaleRange = this.widget.filterByLayerScaleRange, this.filterBySelectionEnabled = this.widget.filterBySelectionEnabled, this.filterByViewExtent = this.widget.filterByViewExtent, this.filterGeometry = this.widget.filterGeometry, this.groupColumns = this.widget.groupColumns, this.hasContingentValues = this.widget.hasContingentValues, this.hasInvalidPendingEdits = this.widget.hasInvalidPendingEdits, this.hasPendingEdits = this.widget.hasPendingEdits, this.hiddenFields = this.widget.hiddenFields, this.hideColumnDescriptions = this.widget.visibleElements.columnDescriptions, this.hideColumnMenuItemsSortAscending = this.widget.visibleElements.columnMenuItems.sortAscending, this.hideColumnMenuItemsSortDescending = this.widget.visibleElements.columnMenuItems.sortDescending, this.hideColumnMenus = this.widget.visibleElements.columnMenus, this.hideColumnVisibilityMenu = this.widget.visibleElements.columnVisibilityMenu, this.hideColumnVisibilityMenuItemsFilter = this.widget.visibleElements.columnVisibilityMenuItems.filter, this.hideColumnVisibilityMenuItemsHeader = this.widget.visibleElements.columnVisibilityMenuItems.header, this.hideColumnVisibilityMenuItemsToggleAll = this.widget.visibleElements.columnVisibilityMenuItems.toggleAll, this.hideHeader = this.widget.visibleElements.header, this.hideLayerDropdownIcons = this.widget.visibleElements.layerDropdownIcons, this.hideMenu = this.widget.visibleElements.menu, this.hideMenuItemsClearSelection = this.widget.visibleElements.menuItems.clearSelection, this.hideMenuItemsDeleteSelection = this.widget.visibleElements.menuItems.deleteSelection, this.hideMenuItemsExportSelectionToCsv = this.widget.visibleElements.menuItems.exportSelectionToCSV, this.hideMenuItemsRefreshData = this.widget.visibleElements.menuItems.refreshData, this.hideMenuItemsSelectedRecordsShowAllToggle = this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle, this.hideMenuItemsSelectedRecordsShowSelectedToggle = this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle, this.hideMenuItemsZoomToSelection = this.widget.visibleElements.menuItems.zoomToSelection, this.hideProgress = this.widget.visibleElements.progress, this.hideSelectionColumn = this.widget.visibleElements.selectionColumn, this.hideTooltips = this.widget.visibleElements.tooltips, this.highlightDisabled = this.widget.highlightEnabled, this.highlightIds = this.widget.highlightIds, this.initialSize = this.widget.initialSize, this.icon = this.widget.icon, this.isQueryingOrSyncing = this.widget.isQueryingOrSyncing, this.isSyncingAttachments = this.widget.isSyncingAttachments, this.label = this.widget.label, this.layer = this.widget.layer, this.mapLayerId = w(this, (e) => {
|
|
19
19
|
e && (this.layer = e);
|
|
20
20
|
}), this.layerView = this.widget.layerView, this.layers = this.widget.layers, this.maxSize = this.widget.maxSize, this.menuConfig = this.widget.menuConfig, this.multipleSelectionDisabled = this.widget.multipleSelectionEnabled, this.multipleSortEnabled = this.widget.multiSortEnabled, this.multipleSortPriority = this.widget.multipleSortPriority, this.navigationScale = this.widget.navigationScale, this.noDataMessage = this.widget.noDataMessage, this.objectIds = this.widget.objectIds, this.outFields = this.widget.outFields, this.pageCount = this.widget.pageCount, this.pageIndex = this.widget.pageIndex, this.pageSize = this.widget.pageSize, this.paginationEnabled = this.widget.paginationEnabled, this.relatedRecordsEnabled = this.widget.relatedRecordsEnabled, this.relatedTable = this.widget.relatedTable, this.relatedTables = this.widget.relatedTables, this.relationship = this.widget.relationship, this.relationshipColumns = this.widget.relationshipColumns, this.returnGeometryEnabled = this.widget.returnGeometryEnabled, this.returnMEnabled = this.widget.returnMEnabled, this.returnZEnabled = this.widget.returnZEnabled, this.rowHighlightIds = this.widget.rowHighlightIds, this.selectionManager = this.widget.selectionManager, this.showCollapse = this.widget.visibleElements.collapse, this.showClose = this.widget.visibleElements.close, this.showLayerDropdown = this.widget.visibleElements.layerDropdown, this.size = this.widget.size, this.state = this.widget.state, this.supportsAddAttachments = this.widget.supportsAddAttachments, this.supportsAttachments = this.widget.supportsAttachments, this.supportsDeleteAttachments = this.widget.supportsDeleteAttachments, this.supportsResizeAttachments = this.widget.supportsResizeAttachments, this.supportsUpdateAttachments = this.widget.supportsUpdateAttachments, this.syncTemplateOnChangesDisabled = this.widget.syncTemplateOnChangesEnabled, this.syncViewSelection = this.widget.syncViewSelection, this.tableController = this.widget.tableController, this.tableParent = this.widget.tableParent, this.tableTemplate = this.widget.tableTemplate, this.tableTitle = this.widget.title, this.timeExtent = this.widget.timeExtent, this.timeZone = this.widget.timeZone, this.visibleColumns = this.widget.visibleColumns, this.arcgisCellClick = i(() => this.widget, "cell-click"), this.arcgisCellDblClick = i(() => this.widget, "cell-dblclick"), this.arcgisCellKeydown = i(() => this.widget, "cell-keydown"), this.arcgisCellPointerout = i(() => this.widget, "cell-pointerout"), this.arcgisCellPointerover = i(() => this.widget, "cell-pointerover"), this.arcgisColumnReorder = i(() => this.widget, "column-reorder"), this.arcgisPropertyChange = m()("effectiveSize", "isQueryingOrSyncing", "layerView", "size", "state"), this.arcgisReady = l(), this.arcgisSelectionChange = l();
|
|
21
21
|
}
|
|
@@ -25,6 +25,12 @@ class k extends h {
|
|
|
25
25
|
static {
|
|
26
26
|
this.styles = x;
|
|
27
27
|
}
|
|
28
|
+
get hideMenuItemsToggleColumns() {
|
|
29
|
+
return this.hideColumnVisibilityMenu;
|
|
30
|
+
}
|
|
31
|
+
set hideMenuItemsToggleColumns(e) {
|
|
32
|
+
this.hideColumnVisibilityMenu = e;
|
|
33
|
+
}
|
|
28
34
|
get tableDisabled() {
|
|
29
35
|
return this.widget.disabled;
|
|
30
36
|
}
|
|
@@ -7,8 +7,9 @@ import E from "@arcgis/core/core/Collection.js";
|
|
|
7
7
|
import H from "@arcgis/core/popup/Features.js";
|
|
8
8
|
import { LitElement as P, createEvent as A, renderElement as z, nothing as p, safeClassMap as I } from "@arcgis/lumina";
|
|
9
9
|
import { useDirection as Z, usePropertyChange as V, bypassReadOnly as k } from "@arcgis/lumina/controllers";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { classes as x } from "@arcgis/toolkit/dom";
|
|
11
|
+
import { slotChangeHasContent as D } from "@arcgis/toolkit/dom/slots";
|
|
12
|
+
import { createRef as v, ref as f } from "lit/directives/ref.js";
|
|
12
13
|
import { g as S } from "../../chunks/feature-utils.js";
|
|
13
14
|
import { initializeProjection as U } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
14
15
|
import { t as K, z as j } from "../../chunks/action-utils.js";
|
|
@@ -39,7 +40,7 @@ class te extends P {
|
|
|
39
40
|
e?.isIntersecting && this.viewModel.featurePage != null && this.viewModel.featurePage++;
|
|
40
41
|
}, this._featureMenuIntersectionObserver = new IntersectionObserver(this._featureMenuIntersectionObserverCallback, {
|
|
41
42
|
root: window.document
|
|
42
|
-
}), this._featureMenuIntersectionObserverNode = null, this._focusTrapNode =
|
|
43
|
+
}), this._featureMenuIntersectionObserverNode = null, this._focusTrapNode = v(), this._focusTrapAnimationFrameId = null, this._rootFlowItemNode = v(), this._featureMenuViewportNode = v(), this._actionBarMenuNode = v(), this._flowContainerNode = v(), this._aggregatedFeaturesComponent = v(), this.messages = G(), this._selectedFeatureComponent = v(), this._direction = Z(), this._cancelOpenRelatedFeature = () => {
|
|
43
44
|
this._openRelatedFeatureAbortController = N(this._openRelatedFeatureAbortController);
|
|
44
45
|
}, this._openRelatedFeatureAbortController = null, this.flowItems = new E(), this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._aggregatedFeaturesLoading = !1, this._hasActionsStartSlotContent = !1, this._hasActionsEndSlotContent = !1, this.viewModel = ee(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.autoDestroyDisabled = !1, this.focusTrapEnabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.effectiveHeading = this.viewModel.effectiveHeading, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = !1, this.featureNavigationTop = !1, this.features = this.viewModel.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featureItemAbilities = this.viewModel.featureItemAbilities, this.goToOverride = this.viewModel.goToOverride, this.headerActions = new E(), this.heading = this.viewModel.heading, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSelectFeature = !1, this.hideSpinner = !1, this.hideContent = !1, this.chartAnimationDisabled = this.viewModel.featureItemAbilities?.chartAnimation, this.hideAttachmentsContent = this.viewModel.featureItemAbilities?.attachmentsContent, this.hideCustomContent = this.viewModel.featureItemAbilities?.customContent, this.hideExpressionContent = !1, this.hideFieldsContent = this.viewModel.featureItemAbilities?.fieldsContent, this.hideMediaContent = this.viewModel.featureItemAbilities?.mediaContent, this.hideRelationshipContent = this.viewModel.featureItemAbilities?.relationshipContent, this.hideTextContent = this.viewModel.featureItemAbilities?.textContent, this.hideUtilityNetworkContent = this.viewModel.featureItemAbilities?.utilityNetworkAssociationsContent, this.hideLastEditedInfo = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.map = this.viewModel.map, this.open = this.viewModel.open, this.promises = this.viewModel.promises, this.responsiveActionsEnabled = !1, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.showCollapseButton = !1, this.spatialReference = this.viewModel.spatialReference, this.state = this.viewModel.state, this.timeZone = this.viewModel.timeZone, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.arcgisPropertyChange = V()("active", "collapsed", "effectiveHeading", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "open"), this.arcgisReady = A(), this.arcgisClose = A(), this.arcgisTriggerAction = A();
|
|
45
46
|
}
|
|
@@ -349,10 +350,10 @@ class te extends P {
|
|
|
349
350
|
return this.headerActions.map((e) => this._renderHeaderAction(e)).toArray();
|
|
350
351
|
}
|
|
351
352
|
_renderContentFeature(e) {
|
|
352
|
-
const { headingLevel: t, hideCloseButton: a, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: n, initialDisplayMode: r, selectedFeature: d, hideHeading: l } = this, { active: h, selectedFeatureItem:
|
|
353
|
+
const { headingLevel: t, hideCloseButton: a, _isCollapsed: i, _collapseEnabled: s, featureNavigationTop: n, initialDisplayMode: r, selectedFeature: d, hideHeading: l } = this, { active: h, selectedFeatureItem: m, content: _ } = this.viewModel, u = this._getHeading();
|
|
353
354
|
if (r === "list" && !d)
|
|
354
355
|
return null;
|
|
355
|
-
const w =
|
|
356
|
+
const w = m ? !m.content : !_;
|
|
356
357
|
return o`<calcite-flow-item class=${I(x({
|
|
357
358
|
"content-feature": !0,
|
|
358
359
|
"flow-item-collapsed": i
|
|
@@ -361,7 +362,7 @@ class te extends P {
|
|
|
361
362
|
}))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`;
|
|
362
363
|
}
|
|
363
364
|
_renderFeatureMenuContainer() {
|
|
364
|
-
const { viewModel: e, hideCloseButton: t, featureMenuTitle: a, messages: i, initialDisplayMode: s, featureMenuOpen: n, _featureFlowItemSelected: r, _collapseEnabled: d, _isCollapsed: l, featureNavigationTop: h, headingLevel:
|
|
365
|
+
const { viewModel: e, hideCloseButton: t, featureMenuTitle: a, messages: i, initialDisplayMode: s, featureMenuOpen: n, _featureFlowItemSelected: r, _collapseEnabled: d, _isCollapsed: l, featureNavigationTop: h, headingLevel: m } = this, { active: _, featureItems: u, pendingPromisesCount: w } = e, $ = a ?? i.selectFeature;
|
|
365
366
|
if (s === "feature" && !n)
|
|
366
367
|
return null;
|
|
367
368
|
const M = !r;
|
|
@@ -369,19 +370,19 @@ class te extends P {
|
|
|
369
370
|
"flow-item-collapsed": l
|
|
370
371
|
}))} .closable=${s === "list" && !t} .closed=${!_} .collapsed=${s === "list" && l} .collapseDirection=${this.collapseDirection ?? (h ? "down" : "up")} .collapsible=${s === "list" && d} .messageOverrides=${{ collapse: this.messages.collapse, expand: this.messages.expand }} .description=${this.hideFeatureMenuHeading ? void 0 : g(i.total ?? "", {
|
|
371
372
|
total: u.length
|
|
372
|
-
})} .heading=${this.hideFeatureMenuHeading ? void 0 : $} .headingLevel=${
|
|
373
|
+
})} .heading=${this.hideFeatureMenuHeading ? void 0 : $} .headingLevel=${m} .loading=${e.waitingForContents} .selected=${M} @calciteFlowItemBack=${(B) => {
|
|
373
374
|
B.preventDefault(), this._handleFeatureMenuBack();
|
|
374
375
|
}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${f(this._featureMenuViewportNode)}>${s === "list" ? this._renderHeaderActions() : null}${w > 0 ? o`<calcite-loader class="loader" inline .label=${i.loading ?? ""} slot=header-actions-end></calcite-loader>` : null}<div class="container">${M ? this._renderFeatureMenu() : null}</div><div class="feature-menu-observer" ${f(this._featureMenuIntersectionObserverCreated)}></div>${s === "feature" ? o`<calcite-button scale=s appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full>${i.back}</calcite-button>` : null}</calcite-flow-item>`;
|
|
375
376
|
}
|
|
376
377
|
_renderFlowItem(e, t) {
|
|
377
|
-
const { messages: a, hideCloseButton: i, hideSelectFeature: s, active: n, hideHeading: r } = this, d = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = d && !s, h = e.flowType === "feature-association",
|
|
378
|
+
const { messages: a, hideCloseButton: i, hideSelectFeature: s, active: n, hideHeading: r } = this, d = "graphic" in e && "isFeatureFromTable" in e && !e.isFeatureFromTable, l = d && !s, h = e.flowType === "feature-association", m = a.returnToInitialFeature ?? "", _ = a?.selectFeature, u = this._getActionTitle(this._zoomToFeature), w = !this.hideActionBar && h && d, $ = e.flowType === "feature" && this.viewModel.aggregatedFeaturesEnabled ? o`<div class="footer" slot=footer>${this._renderPagination(() => {
|
|
378
379
|
this._aggregatedFeaturesComponent.value?.previous();
|
|
379
380
|
}, () => {
|
|
380
381
|
this._aggregatedFeaturesComponent.value?.next();
|
|
381
382
|
})}${this._renderFeaturePaginationText(this._aggregatedFeatureCount, this._selectedAggregatedFeatureIndex)}</div>` : null;
|
|
382
383
|
return o`<calcite-flow-item .closable=${!i} .closed=${!n} class="flow-item-drill-in" .description=${T(this._getDrillInFlowItemDescription(e) ?? "")} .heading=${r ? void 0 : T(e.heading ?? "")} .selected=${t} @calciteFlowItemBack=${(M) => {
|
|
383
384
|
M.preventDefault(), this._handleDrillInBackClick();
|
|
384
|
-
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${r ? null : o`<div slot=heading><div .innerHTML=${b.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${b.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${
|
|
385
|
+
}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${r ? null : o`<div slot=heading><div .innerHTML=${b.sanitize(e.heading ?? "") ?? ""}></div></div>`}<div slot=description><div .innerHTML=${b.sanitize(this._getDrillInFlowItemDescription(e) ?? "") ?? ""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${m ?? ""} title=${m ?? "" ?? p}></calcite-action>${l ? o`<calcite-action icon=zoom-to-object @click=${() => this._openRelatedFeature(e)} slot=header-actions-end .text=${_ ?? ""} title=${_ ?? p}></calcite-action>` : null}${w ? o`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action .disabled=${this._zoomToFeature.disabled} .icon=${this._zoomToFeature.icon ?? void 0} .loading=${this._zoomToFeature.active} scale=s text-enabled .text=${u} title=${u ?? p} @click=${() => j(this.viewModel, this._zoomToFeature, e)}></calcite-action></calcite-action-group></calcite-action-bar>` : null}<div class="container">${e}</div>${$}</calcite-flow-item>`;
|
|
385
386
|
}
|
|
386
387
|
_renderContentContainer() {
|
|
387
388
|
const e = this.flowItems?.toArray(), t = e.length > 0, a = this.viewModel.aggregatedFeaturesEnabled && this.viewModel.selectedFeature?.isAggregate && !t, i = a && e.length === 0, s = e.length === 0 && this._featureFlowItemSelected && !a, n = e?.map((l, h) => this._renderFlowItem(l, this._featureFlowItemSelected && h === e.length - 1)), r = this._renderBrowseAggregateContainer(!!i), d = this.initialDisplayMode === "list" ? [this._renderFeatureMenuContainer(), this._renderContentFeature(s)] : [this._renderContentFeature(s), this._renderFeatureMenuContainer()];
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { html as c } from "lit";
|
|
3
3
|
import { keyed as Y } from "lit/directives/keyed.js";
|
|
4
4
|
import { isLayerFromCatalog as Ce } from "@arcgis/core/layers/catalog/catalogUtils.js";
|
|
5
|
-
import { safeClassMap as d, safeStyleMap as
|
|
5
|
+
import { safeClassMap as d, safeStyleMap as Te, nothing as r } from "@arcgis/lumina";
|
|
6
6
|
import { classes as F } from "@arcgis/toolkit/dom";
|
|
7
7
|
import { createRef as Z, ref as ee } from "lit/directives/ref.js";
|
|
8
|
-
import { g as
|
|
8
|
+
import { g as Se, a as le } from "../../../chunks/action-utils.js";
|
|
9
9
|
import { h as xe, j as te, l as Me, k as Le, n as Ee, o as ke, g as we } from "../../../chunks/layer-list-utils.js";
|
|
10
10
|
import { s as Pe } from "../../../chunks/component-utils.js";
|
|
11
11
|
const ne = /* @__PURE__ */ new Map();
|
|
@@ -41,14 +41,14 @@ function se(i, e) {
|
|
|
41
41
|
if (l)
|
|
42
42
|
return null;
|
|
43
43
|
const m = "image" in e ? e.image : void 0;
|
|
44
|
-
return m ? c`<span aria-hidden=true class=${d(F(i.itemActionIcon, { [i.itemActionImage]: !!m }))} style=${Se(
|
|
44
|
+
return m ? c`<span aria-hidden=true class=${d(F(i.itemActionIcon, { [i.itemActionImage]: !!m }))} style=${Te(Se(m))}></span>` : null;
|
|
45
45
|
}
|
|
46
46
|
function ae(i, e, l) {
|
|
47
|
-
const { item: m, css: a, handleAction: f } = i, { active: C, disabled: I, title: b, type:
|
|
48
|
-
return c`<calcite-action .active=${
|
|
47
|
+
const { item: m, css: a, handleAction: f } = i, { active: C, disabled: I, title: b, type: T, indicator: h } = e, S = le(e);
|
|
48
|
+
return c`<calcite-action .active=${T === "toggle" ? e.value : !1} data-action-id=${e.id ?? r} .disabled=${I} .icon=${S} .indicator=${h} .loading=${C} @click=${() => Ge(f, m, e)} scale=s slot=${(l ? void 0 : "actions-end") ?? r} .text=${b ?? ""} .textEnabled=${l} title=${b ?? void 0 ?? r}>${se(a, e)}</calcite-action>`;
|
|
49
49
|
}
|
|
50
50
|
function Ve(i) {
|
|
51
|
-
const { item: e, parent: l, hideStatusIndicators: m, css: a, visibilityAppearance: f, hideCatalogLayerList: C, dragEnabled: I = !1, rootGroupUid: b, listModeDisabled:
|
|
51
|
+
const { item: e, parent: l, hideStatusIndicators: m, css: a, visibilityAppearance: f, hideCatalogLayerList: C, dragEnabled: I = !1, rootGroupUid: b, listModeDisabled: T = !1, selectionMode: h, displayMode: S, layerTablesEnabled: x, showErrors: oe, parentTitles: G, selectedItems: re, activeItem: de, handleCatalogOpen: ue, handleTablesOpen: me, selectedDragItemLayerUid: $e, handleSelectedDragItemLayerUidChange: ge, handlePanelOpen: pe, messages: n, setCurrentActiveItem: R, clearActiveItem: V } = i, g = Z(), M = Z(), y = e.title || ("untitledTable" in n ? n.untitledTable : n.untitledLayer ?? "");
|
|
52
52
|
let H = null;
|
|
53
53
|
m || (H = c`<arcgis-layer-list-item-indicator class=${d(a.statusIndicator)} .messages=${n} .item=${e} .parent=${l} slot=content-end></arcgis-layer-list-item-indicator>`);
|
|
54
54
|
let U = null;
|
|
@@ -64,8 +64,8 @@ function Ve(i) {
|
|
|
64
64
|
visible: e.visible,
|
|
65
65
|
exclusive: t === "exclusive",
|
|
66
66
|
visibilityAppearance: f
|
|
67
|
-
}), o = f === "checkbox", u = n.layerVisibility, v = e.title ?? e.layer?.title ?? "",
|
|
68
|
-
q = c`<calcite-action .aria=${{ pressed: P }} class=${d(a.visibleToggle)} .icon=${o ? s : void 0} .label=${
|
|
67
|
+
}), o = f === "checkbox", u = n.layerVisibility, v = e.title ?? e.layer?.title ?? "", p = v ? `${u ?? ""}: ${v}` : u ?? "", P = ce(e.layer?.id);
|
|
68
|
+
q = c`<calcite-action .aria=${{ pressed: P }} class=${d(a.visibleToggle)} .icon=${o ? s : void 0} .label=${p} @click=${(D) => {
|
|
69
69
|
De(D.currentTarget, e.layer?.id), ie(e, l);
|
|
70
70
|
}} .slot=${o ? "actions-start" : "actions-end"} .text=${u ?? ""} title=${u ?? r}>${o ? null : c`<calcite-icon class=${d(F({
|
|
71
71
|
[a.visibleIcon]: t !== "exclusive" && e.visible
|
|
@@ -81,8 +81,8 @@ function Ve(i) {
|
|
|
81
81
|
{
|
|
82
82
|
const t = e.panel;
|
|
83
83
|
if (t?.visible) {
|
|
84
|
-
const { open: s, title: o, disabled: u } = t, v = { icon: t.icon, image: t.image, indicator: !1 },
|
|
85
|
-
B = c`<calcite-action .active=${s} .disabled=${u} .icon=${
|
|
84
|
+
const { open: s, title: o, disabled: u } = t, v = { icon: t.icon, image: t.image, indicator: !1 }, p = le(v);
|
|
85
|
+
B = c`<calcite-action .active=${s} .disabled=${u} .icon=${p} @click=${() => Fe(e, pe)} slot=actions-end .text=${o ?? ""} title=${o ?? void 0 ?? r}>${se(a, t)}</calcite-action>`;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
let N = null;
|
|
@@ -117,8 +117,8 @@ function Ve(i) {
|
|
|
117
117
|
}
|
|
118
118
|
let K = null;
|
|
119
119
|
if ("children" in e) {
|
|
120
|
-
const t = [...G ?? [], e.title], { children: s, layer: o } = e, u = o?.type !== "catalog-dynamic-group" && Me(e), v =
|
|
121
|
-
(u || P) && (K = c`<calcite-list .canPull=${($) => i.canMove ? i.canMove($, "pull") : !1} .canPut=${($) => i.canMove ? i.canMove($, "put") : !1} data-item=${e.uid ?? r} data-layer-type=${b ?? r} .displayMode=${
|
|
120
|
+
const t = [...G ?? [], e.title], { children: s, layer: o } = e, u = o?.type !== "catalog-dynamic-group" && Me(e), v = T ? !1 : Le(o), p = o?.type === "group", P = !v && !u && I && p, D = p && "sortable" in e && e.sortable, Ie = I && ("childrenSortable" in e && e.childrenSortable || D) && Ee(e), Ae = u ? (s?.filter(($) => !$.hidden && (oe || !$.error)).toArray() ?? []).map(($) => Ve({ ...i, item: $, parent: e, parentTitles: t })) : null;
|
|
121
|
+
(u || P) && (K = c`<calcite-list .canPull=${($) => i.canMove ? i.canMove($, "pull") : !1} .canPut=${($) => i.canMove ? i.canMove($, "put") : !1} data-item=${e.uid ?? r} data-layer-type=${b ?? r} .displayMode=${S} .dragEnabled=${Ie} .group=${p ? b : `${b}-${o?.uid}`} .label=${e.title} selection-appearance=highlight .selectionMode=${h}>${Ae}${J}</calcite-list>`);
|
|
122
122
|
}
|
|
123
123
|
let E = null;
|
|
124
124
|
if (e.error) {
|
|
@@ -137,18 +137,20 @@ function Ve(i) {
|
|
|
137
137
|
k === 1 && W ? w = ae(i, W, !1) : k > 1 && (w = X);
|
|
138
138
|
const ve = "visibleAtCurrentTimeExtent" in e && "layerInvisibleAtTime" in n && !e.visibleAtCurrentTimeExtent ? `${y} (${n.layerInvisibleAtTime})` : "visibleAtCurrentScale" in e && "layerInvisibleAtScale" in n && !e.visibleAtCurrentScale ? `${y} (${n.layerInvisibleAtScale})` : y, fe = "parent" in e && e.parent?.layer?.type === "catalog", A = e.layer, he = "visibleAtCurrentScale" in e && !e.visibleAtCurrentScale || "visibleAtCurrentTimeExtent" in e && !e.visibleAtCurrentTimeExtent;
|
|
139
139
|
return queueMicrotask(() => {
|
|
140
|
-
Oe(
|
|
140
|
+
Oe(g.value ?? null, e, $e, ge), M.value && (i.handleTooltipReferenceChange?.(A?.uid, M.value), queueMicrotask(() => i.handleTooltipReferenceChange?.(A?.uid, null))), e.panel && (e.panel.container = g.value);
|
|
141
141
|
}), Y(e.uid, c`<calcite-list-item class=${d(F(a.item, "itemActive" in a && { [a.itemActive]: de?.uid === e.uid }))} data-item=${e.uid ?? r} data-layer-id=${A?.id ?? r} .dragDisabled=${!("sortable" in e && e.sortable) || fe} id=${A?.uid ?? r} .label=${y} .metadata=${{ parentTitles: G ?? [], _title: y }} .expanded=${"open" in e && e.open} .selected=${h !== "none" ? re.includes(e) : !1} title=${ve ?? r} .unavailable=${he} .value=${e} @focusin=${() => {
|
|
142
|
-
R?.(e),
|
|
142
|
+
R?.(e), g.value?.classList.add(a.itemActive);
|
|
143
143
|
}} @focusout=${() => {
|
|
144
|
-
V?.(),
|
|
144
|
+
V?.(), g.value?.classList.remove(a.itemActive);
|
|
145
145
|
}} @mouseover=${() => {
|
|
146
|
-
R?.(e),
|
|
146
|
+
R?.(e), g.value?.classList.add(a.itemActive);
|
|
147
147
|
}} @mouseleave=${() => {
|
|
148
|
-
V?.(),
|
|
149
|
-
}} @calciteListItemSelect=${(t) =>
|
|
148
|
+
V?.(), g.value?.classList.remove(a.itemActive);
|
|
149
|
+
}} @calciteListItemSelect=${(t) => {
|
|
150
|
+
t.target === t.currentTarget && "visible" in e && we(t.currentTarget, i.operationalItems) === e && h === "none" && O(l) !== "inherited" && ie(e, l);
|
|
151
|
+
}} @calciteListItemToggle=${(t) => {
|
|
150
152
|
"open" in e && (t.stopPropagation(), e.open = t.target.expanded);
|
|
151
|
-
}} ${ee(
|
|
153
|
+
}} ${ee(g)}>${N}${_}${H}${q}${z}${U}${K}${E}${j}${B}${w}</calcite-list-item>`);
|
|
152
154
|
}
|
|
153
155
|
export {
|
|
154
156
|
Ve as ArcgisLayerListItem
|
|
@@ -4,7 +4,7 @@ import { repeat as p } from "lit/directives/repeat.js";
|
|
|
4
4
|
import { css as f, html as l } from "lit";
|
|
5
5
|
import u from "@arcgis/core/core/Collection.js";
|
|
6
6
|
import { LitElement as g } from "@arcgis/lumina";
|
|
7
|
-
import { getElementLocale as b } from "@arcgis/toolkit/intl";
|
|
7
|
+
import { getElementLocale as b } from "@arcgis/toolkit/intl/dom";
|
|
8
8
|
import { c as o } from "../../chunks/time-utils.js";
|
|
9
9
|
import { V as m } from "../../chunks/visible-element.js";
|
|
10
10
|
const v = f`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}calcite-label{display:block}`;
|
|
@@ -167,7 +167,7 @@ class E extends w {
|
|
|
167
167
|
}
|
|
168
168
|
render() {
|
|
169
169
|
const { activeTab: e, state: t } = this;
|
|
170
|
-
return s`<calcite-panel><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${() => this._switchTab("input")} .selected=${e === "input"}>${this._messages.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${() => this._switchTab("results")} .selected=${e === "results"} .disabled=${t === "disabled" || t === "loading"}>${this._messages.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.renderInputTab()}${
|
|
170
|
+
return s`<calcite-panel><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${() => this._switchTab("input")} .selected=${e === "input"}>${this._messages.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${() => this._switchTab("results")} .selected=${e === "results"} .disabled=${t === "disabled" || t === "loading"}>${this._messages.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.renderInputTab()}${this.renderResultsTab()}</calcite-tabs>${e === "input" ? this.renderInputFooter() : null}${e === "results" ? this.renderResultsFooter() : null}</calcite-panel>`;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
m("arcgis-utility-network-trace-analysis", E);
|
|
@@ -9,7 +9,7 @@ import { css as v, html as i } from "lit";
|
|
|
9
9
|
import { createRef as b, ref as u } from "lit/directives/ref.js";
|
|
10
10
|
import { u as R } from "../../chunks/useT9n.js";
|
|
11
11
|
import { l as $ } from "../../chunks/async-utils.js";
|
|
12
|
-
import { q as
|
|
12
|
+
import { q as C, c as w } from "../../chunks/layer-utils.js";
|
|
13
13
|
const E = v`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features{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;margin: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{margin: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{margin: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)}`, g = {
|
|
14
14
|
dirtyAreasDiscovered: -2147208511,
|
|
15
15
|
noValidControllers: -2147208935,
|
|
@@ -25,11 +25,11 @@ class F extends f {
|
|
|
25
25
|
}
|
|
26
26
|
const l = s.createQuery();
|
|
27
27
|
l.gdbVersion = this.utilityNetwork?.gdbVersion, l.objectIds = r.map((c) => c.objectId), l.outFields = ["*"];
|
|
28
|
-
const { features: n } = await
|
|
28
|
+
const { features: n } = await C(s, l);
|
|
29
29
|
n.forEach((c) => {
|
|
30
30
|
const m = c.layer;
|
|
31
31
|
c.getEffectivePopupTemplate(this._defaultPopupTemplateEnabled) || (c.popupTemplate = m.createPopupTemplate());
|
|
32
|
-
}),
|
|
32
|
+
}), w(s) ? n.forEach((c) => this._addOrCreateMapValue(this._subtypeCodeToFeatures, c.layer.subtypeCode, c)) : this._layerIdToFeatures.set(a, n);
|
|
33
33
|
}, this._aggregateGeometryRefChange = (e) => {
|
|
34
34
|
e && (this._aggregatedGeometryComponentElement = e);
|
|
35
35
|
}, this._featuresRefChange = (e) => {
|
|
@@ -57,10 +57,10 @@ class F extends f {
|
|
|
57
57
|
}));
|
|
58
58
|
}
|
|
59
59
|
willUpdate(e) {
|
|
60
|
-
e.has("isElementsSelected") && this.arcgisSelectedResultTypeChange.emit(), e.has("selectedLayer") && this.arcgisSelectedLayerChange.emit(), e.has("traceResult") && (this.isElementsSelected = !1, this.traceResult || (this.traceResultFeatures = [], this._elementsWithoutLayer = []))
|
|
60
|
+
e.has("isElementsSelected") && this.arcgisSelectedResultTypeChange.emit(), e.has("selectedLayer") && this.arcgisSelectedLayerChange.emit(), e.has("traceResult") && (this.isElementsSelected = !1, this.traceResult || (this.traceResultFeatures = [], this._elementsWithoutLayer = []));
|
|
61
61
|
}
|
|
62
62
|
loaded() {
|
|
63
|
-
this.utilityNetwork || d("warn", this, h("utilityNetwork")), this.layers.length
|
|
63
|
+
this.traceResult && (this.utilityNetwork || d("warn", this, h("utilityNetwork")), this.layers.length || d("warn", this, _("layers")), this.view || d("warn", this, h("view")));
|
|
64
64
|
}
|
|
65
65
|
disconnectedCallback() {
|
|
66
66
|
super.disconnectedCallback(), this._layerIdToLayer.clear();
|