@arcgis/map-components 5.2.0-next.119 → 5.2.0-next.120
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/23KFFLAG.js +2 -0
- package/dist/cdn/2DDAZ3QO.js +2 -0
- package/dist/cdn/2DZOKMWP.js +2 -0
- package/dist/cdn/{MBM4QDNU.js → 2JMMBI2U.js} +1 -1
- package/dist/cdn/2KN3VFRG.js +2 -0
- package/dist/cdn/{SE6ZPONW.js → 2L6YCWXJ.js} +1 -1
- package/dist/cdn/{QBGHDPYA.js → 3EYHGXI5.js} +1 -1
- package/dist/cdn/3KTHEK76.js +2 -0
- package/dist/cdn/{D6P4SRPC.js → 3OQZ3SMG.js} +1 -1
- package/dist/cdn/{BBNUDGDE.js → 3VGRIUOZ.js} +1 -1
- package/dist/cdn/{MKSPISM6.js → 46ZZWK6X.js} +1 -1
- package/dist/cdn/4FBTH6YD.js +2 -0
- package/dist/cdn/{X422A3RM.js → 4IB44LRA.js} +1 -1
- package/dist/cdn/4SLCQ6RS.js +2 -0
- package/dist/cdn/{7TJ753YP.js → 4W6PAHFY.js} +1 -1
- package/dist/cdn/{TPX3OJ3S.js → 4YDQKGDY.js} +1 -1
- package/dist/cdn/5DV4N5DK.js +2 -0
- package/dist/cdn/5LLUEI66.js +2 -0
- package/dist/cdn/{IO73RGZR.js → 5RBUI62E.js} +1 -1
- package/dist/cdn/{NV3DKNG5.js → 6SKPV2U5.js} +1 -1
- package/dist/cdn/{NYIZIVHF.js → 6XZKWBWD.js} +1 -1
- package/dist/cdn/6ZKGF6SQ.js +2 -0
- package/dist/cdn/7AKMHKTT.js +2 -0
- package/dist/cdn/7VLIHMQS.js +2 -0
- package/dist/cdn/AA5T4ECA.js +2 -0
- package/dist/cdn/ACIG6774.js +2 -0
- package/dist/cdn/{47WT53LM.js → B67VAZX4.js} +1 -1
- package/dist/cdn/{DCCXLOTF.js → B6JX5OWP.js} +1 -1
- package/dist/cdn/BB66E2IZ.js +2 -0
- package/dist/cdn/BFGF2JTH.js +2 -0
- package/dist/cdn/{XCHLU7ZD.js → BJ77QJXM.js} +1 -1
- package/dist/cdn/{HBD2HVM3.js → BMSEVLUF.js} +1 -1
- package/dist/cdn/{JTK32JFE.js → CONE7FEI.js} +1 -1
- package/dist/cdn/CPBFA25A.js +2 -0
- package/dist/cdn/{DFMO5W44.js → CST7D7GR.js} +1 -1
- package/dist/cdn/CWQN57H6.js +2 -0
- package/dist/cdn/{LQE4ZOCO.js → D3F6S7NU.js} +1 -1
- package/dist/cdn/DDSMWDPS.js +2 -0
- package/dist/cdn/{7PRWSCBO.js → DOHO6T7Z.js} +1 -1
- package/dist/cdn/EGFWED7R.js +2 -0
- package/dist/cdn/{PH6KFJNY.js → EZVWEV6T.js} +1 -1
- package/dist/cdn/{H5XVDYHD.js → F5EC22X4.js} +1 -1
- package/dist/cdn/{3NOPKUND.js → F6BRM6HX.js} +1 -1
- package/dist/cdn/{ZR2DRKCC.js → FAFDJABP.js} +1 -1
- package/dist/cdn/{2JMZ2QME.js → FAN45DMA.js} +1 -1
- package/dist/cdn/{NA7AGRNV.js → FTTOI66H.js} +1 -1
- package/dist/cdn/GG3LRZHU.js +2 -0
- package/dist/cdn/{KMRD6WMN.js → GN4BH6SY.js} +1 -1
- package/dist/cdn/GPIHHNP7.js +2 -0
- package/dist/cdn/GUXHPQB5.js +2 -0
- package/dist/cdn/{5HAFUKZQ.js → GYCEMWMN.js} +1 -1
- package/dist/cdn/{YOLISV6H.js → HGYJFGKA.js} +1 -1
- package/dist/cdn/{J4GQBHLN.js → HH4T6PVP.js} +1 -1
- package/dist/cdn/HIFWGQCW.js +2 -0
- package/dist/cdn/HNMWTX7W.js +2 -0
- package/dist/cdn/HVWMSTQK.js +2 -0
- package/dist/cdn/{W32RZGCD.js → IDE4IFH7.js} +1 -1
- package/dist/cdn/IJTCIWOA.js +2 -0
- package/dist/cdn/{DLQPKKJL.js → ILBDNJQP.js} +1 -1
- package/dist/cdn/{FEO7SZVK.js → IR2RGKT4.js} +2 -2
- package/dist/cdn/IXVJQIMH.js +2 -0
- package/dist/cdn/IYGUG4PD.js +2 -0
- package/dist/cdn/JB46R4PC.js +2 -0
- package/dist/cdn/{D2DXLALU.js → JD46SR26.js} +1 -1
- package/dist/cdn/{K6DPMFXZ.js → JKZMOIRA.js} +1 -1
- package/dist/cdn/{FU2FP364.js → JMWMN4DG.js} +1 -1
- package/dist/cdn/{GGO772QS.js → JZKIH22R.js} +1 -1
- package/dist/cdn/{H6D265DV.js → K3J3WDMO.js} +1 -1
- package/dist/cdn/{Q7WGEZPS.js → KFE2444H.js} +1 -1
- package/dist/cdn/{IXB3GAL4.js → KGBACXRG.js} +1 -1
- package/dist/cdn/{CZKXSDTS.js → KKDWRLQ4.js} +1 -1
- package/dist/cdn/KKDZFKGV.js +2 -0
- package/dist/cdn/{AK3RVXC7.js → KQ3E54MW.js} +1 -1
- package/dist/cdn/KRSOL3FL.js +2 -0
- package/dist/cdn/{3AUMBOFQ.js → KWJAKUM4.js} +1 -1
- package/dist/cdn/{76WOUY24.js → LBJMKYT2.js} +2 -2
- package/dist/cdn/{KFNN3GQE.js → LBVSFCZG.js} +1 -1
- package/dist/cdn/{VHIYGLEF.js → LCNYVSCF.js} +1 -1
- package/dist/cdn/LGLKLXNY.js +2 -0
- package/dist/cdn/{JX3LFG3P.js → LH33ZRF7.js} +1 -1
- package/dist/cdn/MJK57OXC.js +2 -0
- package/dist/cdn/{OZ57D2SL.js → MRC7R44N.js} +1 -1
- package/dist/cdn/{TSNNWTL4.js → MU54WQG6.js} +1 -1
- package/dist/cdn/{5ECZZVPO.js → MXA65YBP.js} +1 -1
- package/dist/cdn/{DYS2MC2S.js → MZZGKPLV.js} +1 -1
- package/dist/cdn/NEQHSO5U.js +2 -0
- package/dist/cdn/{AIXN5FRK.js → NK74ZCP7.js} +1 -1
- package/dist/cdn/{RAD5V5D4.js → OMZESNEM.js} +1 -1
- package/dist/cdn/{IMZFMHRP.js → OTPKIKAJ.js} +1 -1
- package/dist/cdn/{JLEJQ2CG.js → P2X5UYZB.js} +1 -1
- package/dist/cdn/POEFPML6.js +2 -0
- package/dist/cdn/PYTZ3YBE.js +2 -0
- package/dist/cdn/{SQQA5NMR.js → Q6MJXAPZ.js} +1 -1
- package/dist/cdn/QD7ELNLS.js +2 -0
- package/dist/cdn/QLJEWRH3.js +2 -0
- package/dist/cdn/QSZJFQJC.js +2 -0
- package/dist/cdn/REDWVTQJ.js +2 -0
- package/dist/cdn/{TQ5GSNFI.js → RRC7AD75.js} +1 -1
- package/dist/cdn/{6BBACFDY.js → SEMVPT7E.js} +1 -1
- package/dist/cdn/{GS5F7SMZ.js → SR3XJAI3.js} +1 -1
- package/dist/cdn/SRN5Z6WH.js +2 -0
- package/dist/cdn/TB3M7LUD.js +2 -0
- package/dist/cdn/TCYOOMSU.js +2 -0
- package/dist/cdn/{S3J3OYPA.js → TL7OKFLN.js} +1 -1
- package/dist/cdn/{W7XP44Z4.js → TNY5ERJS.js} +1 -1
- package/dist/cdn/{ODG3O637.js → TOBWMRET.js} +1 -1
- package/dist/cdn/{KFDXN73R.js → U35IJFNU.js} +1 -1
- package/dist/cdn/UJVNCEXT.js +2 -0
- package/dist/cdn/UNP7N3DO.js +2 -0
- package/dist/cdn/UNUMT2DZ.js +2 -0
- package/dist/cdn/VFSWB7LJ.js +2 -0
- package/dist/cdn/{MTEH5BSL.js → VHQAII6W.js} +1 -1
- package/dist/cdn/{2AYHF7VG.js → W5B2F2LI.js} +1 -1
- package/dist/cdn/{6YHAXMQ5.js → W5O3OCTG.js} +1 -1
- package/dist/cdn/{LOBN6XL7.js → W5YXSHEP.js} +1 -1
- package/dist/cdn/WJ3JWM5S.js +2 -0
- package/dist/cdn/WLVBYYQ7.js +2 -0
- package/dist/cdn/WU7R423Z.js +2 -0
- package/dist/cdn/{GCUM7LIJ.js → WWGWIJMC.js} +1 -1
- package/dist/cdn/X7KSMNND.js +2 -0
- package/dist/cdn/{XUFI4LK4.js → XCARHZUP.js} +1 -1
- package/dist/cdn/{VBD2JBTM.js → XJGJMS7L.js} +1 -1
- package/dist/cdn/{36NVCUUH.js → XO3NPMHQ.js} +1 -1
- package/dist/cdn/{ZNWJCZKE.js → Y5Q3Q4GW.js} +1 -1
- package/dist/cdn/YZUEPMQZ.js +2 -0
- package/dist/cdn/{HOFTC2ZE.js → Z3JADSL3.js} +1 -1
- package/dist/cdn/{JKKOA3ZK.js → ZB6W452H.js} +1 -1
- package/dist/cdn/{77JEGLHX.js → ZSQCIUGN.js} +1 -1
- package/dist/cdn/assets/common/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature-form-next/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/utility-network-associations/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +124 -103
- package/dist/chunks/GeolocationPositioning.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +4 -5
- package/dist/chunks/field.js +43 -0
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-aggregated-features/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +9 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +27 -26
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +9 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +16 -16
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +1 -1
- package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +9 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +10 -10
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +9 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +21 -20
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +9 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +16 -12
- package/dist/components/arcgis-exploratory-analysis/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.js +29 -29
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-field/customElement.d.ts +36 -0
- package/dist/components/arcgis-feature-form-field/customElement.js +9 -0
- package/dist/components/arcgis-feature-form-field/index.d.ts +1 -0
- package/dist/components/arcgis-feature-form-field/index.js +1 -0
- package/dist/components/arcgis-feature-form-field/types.d.ts +7 -0
- package/dist/components/arcgis-feature-form-field-number/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-form-field-number/customElement.js +33 -0
- package/dist/components/arcgis-feature-form-field-number/index.d.ts +1 -0
- package/dist/components/arcgis-feature-form-field-number/index.js +3 -0
- package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +1 -1
- package/dist/components/arcgis-feature-next/customElement.js +4 -4
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates-legacy/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +20 -20
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +9 -9
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-next/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +9 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +12 -12
- package/dist/components/arcgis-link-chart/customElement.js +7 -6
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +2 -1
- package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +7 -6
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-selection-toolbar/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +9 -1
- package/dist/components/arcgis-slice/customElement.js +31 -27
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-table-list-next/customElement.js +1 -1
- package/dist/components/arcgis-time-bar/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +9 -1
- package/dist/components/arcgis-volume-measurement/customElement.js +4 -4
- package/dist/components/feature-form-next/customElement.js +2 -0
- package/dist/components/feature-form-next/index.js +1 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/loader.js +12 -10
- package/dist/types/lumina.d.ts +13 -8
- package/dist/types/preact.d.ts +14 -8
- package/dist/types/react.d.ts +15 -8
- package/dist/types/stencil.d.ts +13 -8
- package/package.json +8 -7
- package/dist/cdn/34WL35IV.js +0 -2
- package/dist/cdn/3GP5VMNH.js +0 -2
- package/dist/cdn/3S5DZICB.js +0 -2
- package/dist/cdn/4FFO42CA.js +0 -2
- package/dist/cdn/4N6GTXNB.js +0 -2
- package/dist/cdn/57GT5KQ6.js +0 -2
- package/dist/cdn/5DUJXUUF.js +0 -2
- package/dist/cdn/5OFKDU6L.js +0 -2
- package/dist/cdn/67V6VAOB.js +0 -2
- package/dist/cdn/6EXRTZ6W.js +0 -2
- package/dist/cdn/6J5SL3P3.js +0 -2
- package/dist/cdn/ACJZA4FW.js +0 -2
- package/dist/cdn/AMIIBOJW.js +0 -2
- package/dist/cdn/BL4AWMGM.js +0 -2
- package/dist/cdn/BVOFBD27.js +0 -2
- package/dist/cdn/CEUOTZKZ.js +0 -2
- package/dist/cdn/DRPHIFHL.js +0 -2
- package/dist/cdn/EDSBOPFW.js +0 -2
- package/dist/cdn/F7YHYRVZ.js +0 -2
- package/dist/cdn/FL4P7ZV3.js +0 -2
- package/dist/cdn/I7ZQDJDX.js +0 -2
- package/dist/cdn/IDIAH5EL.js +0 -2
- package/dist/cdn/KOBBTBFG.js +0 -2
- package/dist/cdn/LB76LDPE.js +0 -2
- package/dist/cdn/LPJ3FCSN.js +0 -2
- package/dist/cdn/MPTR6XUU.js +0 -2
- package/dist/cdn/MRBNZE6V.js +0 -2
- package/dist/cdn/NZ5DI3XS.js +0 -2
- package/dist/cdn/O4U7FC7V.js +0 -2
- package/dist/cdn/POZ7OKIJ.js +0 -2
- package/dist/cdn/QBEOOBJI.js +0 -2
- package/dist/cdn/SKHZNWOK.js +0 -2
- package/dist/cdn/TBLGJZIE.js +0 -2
- package/dist/cdn/TCUXHE5C.js +0 -2
- package/dist/cdn/THB7VBIU.js +0 -2
- package/dist/cdn/TVNK45VP.js +0 -2
- package/dist/cdn/UHGTBFYC.js +0 -2
- package/dist/cdn/ULRRIL6W.js +0 -2
- package/dist/cdn/UMXUR3Y6.js +0 -2
- package/dist/cdn/UY2N6L5W.js +0 -2
- package/dist/cdn/VKQHWAV6.js +0 -2
- package/dist/cdn/VR72KWM5.js +0 -2
- package/dist/cdn/WSWN6C6X.js +0 -2
- package/dist/cdn/XG24VK5T.js +0 -2
- package/dist/cdn/XTXNTKTM.js +0 -2
- package/dist/cdn/YQRFGWEX.js +0 -2
- package/dist/cdn/Z5RSMH5T.js +0 -2
- package/dist/cdn/ZRWEOQPU.js +0 -2
- package/dist/cdn/ZVKSU4TV.js +0 -2
- /package/dist/cdn/{NELLEA35.js → 232VF5GS.js} +0 -0
- /package/dist/cdn/{HHWD2ACY.js → 2LEEKX4J.js} +0 -0
- /package/dist/cdn/{XUG5SGZW.js → 2PRRRGTC.js} +0 -0
- /package/dist/cdn/{GPAVFJJ2.js → 2Q7J34UP.js} +0 -0
- /package/dist/cdn/{AMFC75OV.js → 2UG26OVP.js} +0 -0
- /package/dist/cdn/{35UXF37C.js → 33AEAI5T.js} +0 -0
- /package/dist/cdn/{UVMCDSS6.js → 3NKJ4HFO.js} +0 -0
- /package/dist/cdn/{YJEG3G25.js → 3XRSSDOC.js} +0 -0
- /package/dist/cdn/{JJ7PXJ4D.js → 4PMOT2RS.js} +0 -0
- /package/dist/cdn/{FMZCGSOG.js → 4TZLBS5N.js} +0 -0
- /package/dist/cdn/{GR2ZKO3P.js → 55Q2U4HS.js} +0 -0
- /package/dist/cdn/{FHIUPKBV.js → 5ZZ7JN5X.js} +0 -0
- /package/dist/cdn/{YHKIBDLR.js → 62XRQDSI.js} +0 -0
- /package/dist/cdn/{U77HF5VQ.js → 6VBFCBUV.js} +0 -0
- /package/dist/cdn/{2SETBP7C.js → 7HQJTIYO.js} +0 -0
- /package/dist/cdn/{ZQLD3CWI.js → 7Y65HW7Z.js} +0 -0
- /package/dist/cdn/{HN7SSSF4.js → AKKV6RKF.js} +0 -0
- /package/dist/cdn/{UMKYHWHA.js → ANRJPTRX.js} +0 -0
- /package/dist/cdn/{V4HGMIZK.js → CDGKQKVU.js} +0 -0
- /package/dist/cdn/{GLZP7INE.js → COSLSZXO.js} +0 -0
- /package/dist/cdn/{7A7U5OC5.js → CQW2542N.js} +0 -0
- /package/dist/cdn/{DA7SWSNX.js → CTHAODQE.js} +0 -0
- /package/dist/cdn/{GDDCWHP4.js → EGN54PEX.js} +0 -0
- /package/dist/cdn/{F2N4BVTU.js → EJ5KLAEE.js} +0 -0
- /package/dist/cdn/{W2CWLTCA.js → FZATLDJD.js} +0 -0
- /package/dist/cdn/{O3ID3UGW.js → G5DB24SO.js} +0 -0
- /package/dist/cdn/{VPC3FLCL.js → HJP2DQC3.js} +0 -0
- /package/dist/cdn/{ZVA6ISLV.js → HLHFT3VN.js} +0 -0
- /package/dist/cdn/{VP5SVAOH.js → HMZDI4HQ.js} +0 -0
- /package/dist/cdn/{TZ32MUB4.js → IMINWWQN.js} +0 -0
- /package/dist/cdn/{255FN7UE.js → KMODOE6H.js} +0 -0
- /package/dist/cdn/{7WTUIMDW.js → KWL3F4UP.js} +0 -0
- /package/dist/cdn/{KM5I5NI7.js → KXCLNNE5.js} +0 -0
- /package/dist/cdn/{K3ARVWTT.js → MM6LPGBW.js} +0 -0
- /package/dist/cdn/{LUL3QSO6.js → N43ZQ4C7.js} +0 -0
- /package/dist/cdn/{3VJFCPFY.js → N5NLF7RI.js} +0 -0
- /package/dist/cdn/{XFF7PYOQ.js → P3MLJ7YL.js} +0 -0
- /package/dist/cdn/{QALKU234.js → RLTZHJ26.js} +0 -0
- /package/dist/cdn/{XV3BITX2.js → TKC3X6S6.js} +0 -0
- /package/dist/cdn/{GS44HJV5.js → UCFBAQVW.js} +0 -0
- /package/dist/cdn/{3LJYQM7L.js → W6X34YBZ.js} +0 -0
- /package/dist/cdn/{27TTAZ4Z.js → YUZAZ3CJ.js} +0 -0
- /package/dist/cdn/{INNLP4TM.js → ZU6D3YMF.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as $ } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as w, html as
|
|
3
|
+
import { css as w, html as n } from "lit";
|
|
4
4
|
import { ref as y } from "lit/directives/ref.js";
|
|
5
5
|
import { u as I } from "../../chunks/useT9n.js";
|
|
6
6
|
import { classes as M } from "@arcgis/toolkit/dom";
|
|
@@ -15,7 +15,7 @@ import { watch as P } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
15
15
|
import { stripHTML as Z } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
16
16
|
import E from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
|
|
17
17
|
const z = w`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element[empty]{display:none}.content-element:not([empty]):only-child,.content-element:not([empty]):last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, U = x(E);
|
|
18
|
-
class
|
|
18
|
+
class O extends F {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments), this.messages = I(), this._rootFlowNode = null, this.internalFlowItems = new N(), this.flowType = "feature", this.viewModel = U(this), this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.title, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = C()("flowItems", "state"), this.arcgisReady = b();
|
|
21
21
|
}
|
|
@@ -73,12 +73,12 @@ class S extends F {
|
|
|
73
73
|
this.internalFlowItems?.pop()?.destroy();
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
const { state: e } = this.viewModel, t =
|
|
77
|
-
return
|
|
76
|
+
const { state: e } = this.viewModel, t = n`<div class="container">${e === "error" ? this._renderError() : this._renderContentContainer()}</div>`;
|
|
77
|
+
return n`<div class="root">${t}</div>`;
|
|
78
78
|
}
|
|
79
79
|
_renderError() {
|
|
80
80
|
const { messages: e, hideHeading: t } = this;
|
|
81
|
-
return
|
|
81
|
+
return n`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t ? null : n`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`;
|
|
82
82
|
}
|
|
83
83
|
_renderAttachments(e) {
|
|
84
84
|
const { values: t, fieldInfoMap: i, sourceLayer: o, globalValues: s } = this, a = c({
|
|
@@ -87,20 +87,20 @@ class S extends F {
|
|
|
87
87
|
globalValues: s,
|
|
88
88
|
layer: o,
|
|
89
89
|
text: e.title
|
|
90
|
-
}),
|
|
90
|
+
}), r = c({
|
|
91
91
|
values: t,
|
|
92
92
|
fieldInfoMap: i,
|
|
93
93
|
globalValues: s,
|
|
94
94
|
layer: o,
|
|
95
95
|
text: e.description
|
|
96
96
|
});
|
|
97
|
-
return
|
|
97
|
+
return n`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${a} class="content-element" .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords ?? void 0} .attachmentTypes=${e.attachmentTypes ?? void 0} .orderByFields=${e.orderByFields ?? void 0} .graphic=${this.graphic ?? void 0} .description=${r} .messages=${this.messages}></arcgis-feature-attachments>`;
|
|
98
98
|
}
|
|
99
99
|
_renderCustom(e) {
|
|
100
|
-
return
|
|
100
|
+
return n`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
|
|
101
101
|
}
|
|
102
102
|
_renderFields(e, t) {
|
|
103
|
-
const i = this.viewModel.formattedAttributes, { values: o, fieldInfoMap: s, sourceLayer: a, popupTemplate:
|
|
103
|
+
const i = this.viewModel.formattedAttributes, { values: o, fieldInfoMap: s, sourceLayer: a, popupTemplate: r, globalValues: l, graphic: d } = this, h = !!e?.fieldInfos, u = (e.fieldInfos ?? r?.fieldInfos ?? [])?.filter(({ fieldName: m }) => !!m && (B(m) || H(m) || m in o)), f = r?.expressionInfos, g = c({
|
|
104
104
|
values: o,
|
|
105
105
|
fieldInfoMap: s,
|
|
106
106
|
globalValues: l,
|
|
@@ -113,13 +113,13 @@ class S extends F {
|
|
|
113
113
|
layer: a,
|
|
114
114
|
text: e.description
|
|
115
115
|
});
|
|
116
|
-
return
|
|
116
|
+
return n`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${g} class="content-element" .messages=${this.messages} .graphic=${d ?? void 0} .isContentFieldInfos=${h} .layer=${a} .description=${v} .values=${{
|
|
117
117
|
...i?.global,
|
|
118
118
|
...i?.content?.[t]
|
|
119
119
|
}} .fieldInfos=${u} .expressionInfos=${f ?? void 0}></arcgis-feature-fields>`;
|
|
120
120
|
}
|
|
121
121
|
_renderMedia(e, t) {
|
|
122
|
-
const { values: i, graphic: o, fieldInfoMap: s, sourceLayer: a, popupTemplate:
|
|
122
|
+
const { values: i, graphic: o, fieldInfoMap: s, sourceLayer: a, popupTemplate: r, globalValues: l } = this, { formattedAttributes: d, relatedInfos: h } = this.viewModel, p = {
|
|
123
123
|
...d?.global,
|
|
124
124
|
...d?.content?.[t]
|
|
125
125
|
}, u = c({
|
|
@@ -135,52 +135,52 @@ class S extends F {
|
|
|
135
135
|
layer: a,
|
|
136
136
|
text: e.description
|
|
137
137
|
});
|
|
138
|
-
return
|
|
138
|
+
return n`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${u} class="content-element" .description=${f} .values=${i} .layer=${a} .graphic=${o ?? void 0} .messages=${this.messages} .fieldInfoMap=${s} .mediaInfos=${e.mediaInfos ?? []} .popupTemplate=${r ?? void 0} .relatedInfos=${h} .formattedValues=${p}></arcgis-feature-media>`;
|
|
139
139
|
}
|
|
140
140
|
_renderText(e) {
|
|
141
|
-
return
|
|
141
|
+
return n`<arcgis-feature-content .creator=${e.text} .graphic=${this.graphic ?? void 0} class="content-element"></arcgis-feature-content>`;
|
|
142
142
|
}
|
|
143
143
|
_renderExpression(e, t) {
|
|
144
144
|
const i = this.viewModel.formattedAttributes, { fieldInfoMap: o } = this;
|
|
145
|
-
return
|
|
145
|
+
return n`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .view=${this.viewModel.view ?? void 0} .graphic=${this.graphic ?? void 0} .location=${this.location ?? void 0} .headingLevel=${this.headingLevel} class="content-element" .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${o} .values=${{
|
|
146
146
|
...i?.global,
|
|
147
147
|
...i?.content?.[t]
|
|
148
148
|
}}></arcgis-feature-expression>`;
|
|
149
149
|
}
|
|
150
150
|
_renderRelationship(e, t) {
|
|
151
|
-
const { values: i, graphic: o, fieldInfoMap: s, sourceLayer: a, globalValues:
|
|
151
|
+
const { values: i, graphic: o, fieldInfoMap: s, sourceLayer: a, globalValues: r } = this, { displayCount: l, orderByFields: d, relationshipId: h } = e, { formattedAttributes: p, view: u } = this.viewModel, f = {
|
|
152
152
|
...p?.global,
|
|
153
153
|
...p?.content?.[t]
|
|
154
154
|
}, g = c({
|
|
155
155
|
values: i,
|
|
156
156
|
fieldInfoMap: s,
|
|
157
|
-
globalValues:
|
|
157
|
+
globalValues: r,
|
|
158
158
|
layer: a,
|
|
159
159
|
text: e.title
|
|
160
160
|
}), v = c({
|
|
161
161
|
values: i,
|
|
162
162
|
fieldInfoMap: s,
|
|
163
|
-
globalValues:
|
|
163
|
+
globalValues: r,
|
|
164
164
|
layer: a,
|
|
165
165
|
text: e.description
|
|
166
166
|
});
|
|
167
|
-
return
|
|
167
|
+
return n`<arcgis-feature-relationship .autoDestroyDisabled=${this.autoDestroyDisabled} class="content-element" .flowItems=${this.flowItems ?? this.internalFlowItems} .description=${v} .layer=${a} .map=${this.map ?? void 0} .displayCount=${l} .graphic=${o ?? void 0} .heading=${g} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${d ?? void 0} .relationshipId=${h ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .values=${f} .view=${u ?? void 0}></arcgis-feature-relationship>`;
|
|
168
168
|
}
|
|
169
169
|
_renderAssociation(e) {
|
|
170
|
-
const { fieldInfoMap: t, globalValues: i, graphic: o, messages: s, sourceLayer: a, values:
|
|
171
|
-
values:
|
|
170
|
+
const { fieldInfoMap: t, globalValues: i, graphic: o, messages: s, sourceLayer: a, values: r } = this, l = c({
|
|
171
|
+
values: r,
|
|
172
172
|
fieldInfoMap: t,
|
|
173
173
|
globalValues: i,
|
|
174
174
|
layer: a,
|
|
175
175
|
text: e.title
|
|
176
176
|
}), d = c({
|
|
177
|
-
values:
|
|
177
|
+
values: r,
|
|
178
178
|
fieldInfoMap: t,
|
|
179
179
|
globalValues: i,
|
|
180
180
|
layer: a,
|
|
181
181
|
text: e.description
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return n`<arcgis-feature-utility-network-associations .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${d} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${o ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .layer=${a} .map=${this.map ?? void 0} .messageOverrides=${this.messageOverrides} .messages=${s} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
|
|
184
184
|
}
|
|
185
185
|
_renderContentElement(e, t) {
|
|
186
186
|
switch (e.type) {
|
|
@@ -206,11 +206,11 @@ class S extends F {
|
|
|
206
206
|
}
|
|
207
207
|
_renderContent() {
|
|
208
208
|
const { content: e, graphic: t } = this.viewModel;
|
|
209
|
-
return e ? Array.isArray(e) && e.length ? e.length ? e.map(this._renderContentElement, this) : null : typeof e == "string" ?
|
|
209
|
+
return e ? Array.isArray(e) && e.length ? e.length ? e.map(this._renderContentElement, this) : null : typeof e == "string" ? n`<arcgis-feature-content .creator=${e} .graphic=${t ?? void 0} class="content-element"></arcgis-feature-content>` : e instanceof HTMLElement ? e : null : null;
|
|
210
210
|
}
|
|
211
211
|
_renderContentContainer() {
|
|
212
|
-
const { flowItems: e, hideContent: t, internalFlowItems: i, headingLevel: o, state: s, messages: a, heading:
|
|
213
|
-
return e ? d :
|
|
212
|
+
const { flowItems: e, hideContent: t, internalFlowItems: i, headingLevel: o, state: s, messages: a, heading: r, hideHeading: l } = this, d = t ? null : n`<div class="main">${[this._renderContent(), this._renderLastEditInfo()]}</div>`, h = a.returnToInitialFeature ?? "";
|
|
213
|
+
return e ? d : n`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .loading=${s === "loading"} .headingLevel=${o} .heading=${l ? void 0 : Z(r)} .selected=${!i.length}>${!l && r ? n`<div slot=heading><div .innerHTML=${A.sanitize(r ?? "") ?? ""}></div></div>` : null}${d}</calcite-flow-item>${i.toArray().map((p, u) => n`<calcite-flow-item @calciteFlowItemBack=${(f) => {
|
|
214
214
|
f.preventDefault(), this._handleDrillInBackClick();
|
|
215
215
|
}} .loading=${s === "loading"} .headingLevel=${o} .selected=${u === i.length - 1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${h} title=${h ?? _}></calcite-action>${p}</calcite-flow-item>`)}</calcite-flow>`;
|
|
216
216
|
}
|
|
@@ -218,14 +218,14 @@ class S extends F {
|
|
|
218
218
|
const { hideLastEditedInfo: e, messages: t } = this, { lastEditInfo: i } = this.viewModel;
|
|
219
219
|
if (!i || e)
|
|
220
220
|
return null;
|
|
221
|
-
const { date: o, user: s } = i, a = i.type === "edit" ? s ? t.lastEditedByUser : t.lastEdited : s ? t.lastCreatedByUser : t.lastCreated,
|
|
221
|
+
const { date: o, user: s } = i, a = i.type === "edit" ? s ? t.lastEditedByUser : t.lastEdited : s ? t.lastCreatedByUser : t.lastCreated, r = T(a ?? "", {
|
|
222
222
|
date: o,
|
|
223
223
|
user: s
|
|
224
224
|
});
|
|
225
|
-
return
|
|
225
|
+
return n`<div class=${L(M("last-edited-info", "content-element"))}>${r}</div>`;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
|
-
$("arcgis-feature",
|
|
228
|
+
$("arcgis-feature", O);
|
|
229
229
|
export {
|
|
230
|
-
|
|
230
|
+
O as ArcgisFeature
|
|
231
231
|
};
|
|
@@ -5,7 +5,7 @@ import { LitElement as y } from "@arcgis/lumina";
|
|
|
5
5
|
import { watch as $, when as k } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
6
|
import { a as u } from "../../chunks/maybe.js";
|
|
7
7
|
import { g as m, c as v, t as d } from "../../chunks/async-utils.js";
|
|
8
|
-
import { throttle as g } from "
|
|
8
|
+
import { throttle as g } from "es-toolkit/function";
|
|
9
9
|
import I from "@arcgis/core/popup/content/MediaContent.js";
|
|
10
10
|
import w from "@arcgis/core/popup/content/FieldsContent.js";
|
|
11
11
|
import L from "@arcgis/core/popup/content/TextContent.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as i } from "../../chunks/runtime.js";
|
|
3
3
|
import { usePropertyChange as t } from "@arcgis/lumina/controllers";
|
|
4
|
-
import { reEmitEvent as e } from "@arcgis/lumina/
|
|
4
|
+
import { reEmitEvent as e } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
5
5
|
import r from "@arcgis/core/widgets/FeatureForm.js";
|
|
6
6
|
import { LitElement as o, createEvent as a } from "@arcgis/lumina";
|
|
7
7
|
import { m as n } from "../../chunks/useWidget.js";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type FieldInput from "@arcgis/core/widgets/BatchAttributeForm/inputs/FieldInput.js";
|
|
3
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
+
import type { ValueChangeCallback } from "./types.js";
|
|
5
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
|
+
|
|
7
|
+
export abstract class ArcgisFeatureFormField extends LitElement {
|
|
8
|
+
/** @internal */
|
|
9
|
+
protected _messages: Partial<{
|
|
10
|
+
componentLabel: string;
|
|
11
|
+
differentValuesPlaceholder: string;
|
|
12
|
+
empty: string;
|
|
13
|
+
}> & T9nMeta<{
|
|
14
|
+
componentLabel: string;
|
|
15
|
+
differentValuesPlaceholder: string;
|
|
16
|
+
empty: string;
|
|
17
|
+
}>;
|
|
18
|
+
/**
|
|
19
|
+
* When true, the component is visually de-emphasized and does not accept user interaction.
|
|
20
|
+
*
|
|
21
|
+
* @default false
|
|
22
|
+
*/
|
|
23
|
+
accessor disabled: boolean;
|
|
24
|
+
/** @required */
|
|
25
|
+
accessor input: FieldInput | undefined;
|
|
26
|
+
accessor messageOverrides: {
|
|
27
|
+
componentLabel?: string | undefined;
|
|
28
|
+
differentValuesPlaceholder?: string | undefined;
|
|
29
|
+
empty?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
/** @default false */
|
|
32
|
+
accessor readOnly: boolean;
|
|
33
|
+
/** @required */
|
|
34
|
+
accessor valueChangeCallback: ValueChangeCallback;
|
|
35
|
+
setFocus(): Promise<void>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import "../../chunks/runtime.js";
|
|
3
|
+
import "@arcgis/lumina";
|
|
4
|
+
import "../../chunks/useT9n.js";
|
|
5
|
+
import "@arcgis/core/widgets/BatchAttributeForm/inputs/support/inputUtils.js";
|
|
6
|
+
import { A as e } from "../../chunks/field.js";
|
|
7
|
+
export {
|
|
8
|
+
e as ArcgisFeatureFormField
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { c as h } from "../../chunks/runtime.js";
|
|
3
|
+
import { html as p } from "lit";
|
|
4
|
+
import { keyed as f } from "lit/directives/keyed.js";
|
|
5
|
+
import { isIntegerField as g } from "@arcgis/core/layers/support/fieldUtils.js";
|
|
6
|
+
import { A as $, i as b, p as v } from "../../chunks/field.js";
|
|
7
|
+
import { createRef as F, ref as _ } from "lit/directives/ref.js";
|
|
8
|
+
class C extends $ {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments), this._rootRef = F();
|
|
11
|
+
}
|
|
12
|
+
_handleFocusOut(t) {
|
|
13
|
+
if (super._handleFocusOut(t), this.input?.userHasChangedValue) {
|
|
14
|
+
const e = this._rootRef.value?.value, a = v(e);
|
|
15
|
+
this.valueChangeCallback(this.input.fieldName, a);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
_handleInput(t) {
|
|
19
|
+
const { input: e } = this;
|
|
20
|
+
e && (e.userHasChangedValue = !0, b(t.currentTarget.value) && this.valueChangeCallback(e.fieldName, null));
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
const { input: t } = this;
|
|
24
|
+
if (!t)
|
|
25
|
+
return null;
|
|
26
|
+
const { label: e, range: a, fieldName: s, field: u, editable: l, required: n, status: o, validationMessage: d } = t, { placeholder: m, value: r } = this, i = g(u), c = i && r !== "" ? Math.round(parseFloat(String(r))) : r;
|
|
27
|
+
return f(t, p`<calcite-input-number .disabled=${this.disabled} .integer=${i} .label=${e} .labelText=${e} .max=${a?.max ?? void 0} .min=${a?.min ?? void 0} .name=${s} .placeholder=${m} .readOnly=${!l || this.readOnly} .required=${n} .status=${o} .step=${i ? 1 : "any"} .validationMessage=${d} .value=${String(c)} @focusout=${this._handleFocusOut} @calciteInputNumberInput=${this._handleInput} ${_(this._rootRef)}></calcite-input-number>`);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
h("arcgis-feature-form-field-number", C);
|
|
31
|
+
export {
|
|
32
|
+
C as ArcgisFeatureFormFieldNumber
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js
CHANGED
|
@@ -37,7 +37,7 @@ function T(n) {
|
|
|
37
37
|
}
|
|
38
38
|
class I extends v {
|
|
39
39
|
constructor() {
|
|
40
|
-
super(...arguments), this._messagesFeature = b({ blocking: !0 }), this.#e = 0, this.#t = !1, this._filteredItemCount = 0, this.addAssociation = () => {
|
|
40
|
+
super(...arguments), this._messagesFeature = b({ name: "feature", blocking: !0 }), this.#e = 0, this.#t = !1, this._filteredItemCount = 0, this.addAssociation = () => {
|
|
41
41
|
}, this.headingLevel = 5, this.hideAssociationDetails = !1, this.selectAssociatedFeature = async () => {
|
|
42
42
|
}, this.selectAssociatedLayer = () => {
|
|
43
43
|
}, this.topLayerDisabled = !1;
|
package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js
CHANGED
|
@@ -28,7 +28,7 @@ function p(r, e) {
|
|
|
28
28
|
const $ = f`:host{--calcite-block-padding: 0;display:flex;flex-direction:column;background-color:transparent}calcite-block{margin-block:0;border:1px solid var(--calcite-color-border-3)}calcite-block:first-of-type{border-radius:var(--calcite-spacing-sm) var(--calcite-spacing-sm) 0 0}calcite-block:last-of-type{margin-block-end:var(--calcite-spacing-md);border-top:none;border-radius:0 0 var(--calcite-spacing-sm) var(--calcite-spacing-sm)}calcite-block calcite-label{margin-inline:var(--calcite-spacing-md)}.info-container{display:flex;flex-direction:column}.info-container>*{margin-block-end:var(--calcite-spacing-md)}`;
|
|
29
29
|
class k extends y {
|
|
30
30
|
constructor() {
|
|
31
|
-
super(...arguments), this._messages = v({ blocking: !0 }), this.#e = 50, this.topLayerDisabled = !1;
|
|
31
|
+
super(...arguments), this._messages = v({ name: "utility-network-associations", blocking: !0 }), this.#e = 50, this.topLayerDisabled = !1;
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
34
|
this.properties = { association: 0, associationType: 1, percentAlong: 9, sourceFeature: 0, targetFeature: 0, topLayerDisabled: 5, utilityNetwork: 0 };
|
|
@@ -15,7 +15,7 @@ import { watch as H } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
15
15
|
import { stripHTML as P } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
16
16
|
import Z from "@arcgis/core/popup/FeatureContent.js";
|
|
17
17
|
const z = y`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element[empty]{display:none}.content-element:not([empty]):only-child,.content-element:not([empty]):last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, U = x(Z);
|
|
18
|
-
class
|
|
18
|
+
class O extends b {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments), this.messages = I(), this._rootFlowNode = null, this.internalFlowItems = new N(), this.flowType = "feature", this.viewModel = U(this), this.view = this.viewModel.view, this.icon = "icon", this.isFeatureFromTable = this.viewModel.isFeatureFromTable, this.graphic = this.viewModel.graphic, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.headingLevel = 2, this.spatialReference = this.viewModel.spatialReference, this.timeZone = this.viewModel.timeZone, this.heading = this.viewModel.heading, this.map = this.viewModel.map, this.chartAnimationDisabled = this.viewModel.abilities.chartAnimation, this.hideHeading = !1, this.hideContent = !1, this.hideAttachmentsContent = !1, this.hideEmptyRelationshipContent = !1, this.hideCustomContent = !1, this.hideExpressionContent = !1, this.hideFieldsContent = !1, this.hideMediaContent = !1, this.showRelationshipContent = !1, this.hideTextContent = !1, this.showUtilityNetworkContent = !1, this.hideLastEditedInfo = !1, this.autoDestroyDisabled = !1, this.location = this.viewModel.location, this.state = this.viewModel.state, this.arcgisPropertyChange = C()("flowItems", "state"), this.arcgisReady = F();
|
|
21
21
|
}
|
|
@@ -208,7 +208,7 @@ class S extends b {
|
|
|
208
208
|
layer: o,
|
|
209
209
|
text: e.description
|
|
210
210
|
});
|
|
211
|
-
return r`<arcgis-feature-utility-network-associations .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${c} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${a ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .layer=${o} .map=${this.map ?? void 0} .messages=${s} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} use-feature-next-flow-item .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
|
|
211
|
+
return r`<arcgis-feature-utility-network-associations .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${c} .flowItems=${this.flowItems ?? this.internalFlowItems} .graphic=${a ?? void 0} .heading=${l} .headingLevel=${this.headingLevel} .layer=${o} .map=${this.map ?? void 0} .messageOverrides=${this.messageOverrides} .messages=${s} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} use-feature-next-flow-item .view=${this.viewModel.view ?? void 0}></arcgis-feature-utility-network-associations>`;
|
|
212
212
|
}
|
|
213
213
|
_renderContentElement(e, t) {
|
|
214
214
|
switch (e.type) {
|
|
@@ -267,7 +267,7 @@ class S extends b {
|
|
|
267
267
|
return r`<div class=${L(M("last-edited-info", "content-element"))}>${n}</div>`;
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
$("arcgis-feature-next",
|
|
270
|
+
$("arcgis-feature-next", O);
|
|
271
271
|
export {
|
|
272
|
-
|
|
272
|
+
O as ArcgisFeatureNext
|
|
273
273
|
};
|
|
@@ -4,7 +4,7 @@ import { on as d } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import g from "@arcgis/core/widgets/FeatureTable.js";
|
|
5
5
|
import { LitElement as h, createEvent as o } from "@arcgis/lumina";
|
|
6
6
|
import { useDirection as u, usePropertyChange as m } from "@arcgis/lumina/controllers";
|
|
7
|
-
import { reEmitEvent as r } from "@arcgis/lumina/
|
|
7
|
+
import { reEmitEvent as r } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
8
8
|
import { unsafeGetCalciteModeName as b } from "@arcgis/toolkit/dom";
|
|
9
9
|
import * as a from "@arcgis/toolkit/log";
|
|
10
10
|
import { u as p } from "../../chunks/useLayerById.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as i } from "../../chunks/runtime.js";
|
|
3
3
|
import { usePropertyChange as t } from "@arcgis/lumina/controllers";
|
|
4
|
-
import { reEmitEvent as r } from "@arcgis/lumina/
|
|
4
|
+
import { reEmitEvent as r } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
5
5
|
import o from "@arcgis/core/widgets/FeatureTemplates.js";
|
|
6
6
|
import { LitElement as s, createEvent as a } from "@arcgis/lumina";
|
|
7
7
|
import { m as l } from "../../chunks/useWidget.js";
|
|
@@ -8,13 +8,13 @@ import { formatNumber as w, substitute as $ } from "@arcgis/core/intl.js";
|
|
|
8
8
|
import { renderElement as h, safeClassMap as b } from "@arcgis/lumina";
|
|
9
9
|
import { u as F } from "../../chunks/useT9n.js";
|
|
10
10
|
import { i as m } from "../../chunks/layer-utils.js";
|
|
11
|
-
const _ = g`:host{position:relative;flex:1 1 auto}.list-item--hidden{display:none}.feature-observer{bottom:var(--calcite-spacing-xxl);position:relative;text-align:center;z-index:2}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.notice-container{margin-bottom:var(--calcite-spacing-xs)}`,
|
|
12
|
-
class
|
|
11
|
+
const _ = g`:host{position:relative;flex:1 1 auto}.list-item--hidden{display:none}.feature-observer{bottom:var(--calcite-spacing-xxl);position:relative;text-align:center;z-index:2}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.notice-container{margin-bottom:var(--calcite-spacing-xs)}`, v = "nested";
|
|
12
|
+
class A extends y {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this._messagesFeature = F({ blocking: !0 }), this.autoDestroyDisabled = !1, this.displayCount = 3, this.useFeatureNextFlowItem = !1, this.flowType = "feature-utility-network-association-type";
|
|
14
|
+
super(...arguments), this._messagesFeature = F({ name: "feature", blocking: !0 }), this.autoDestroyDisabled = !1, this.displayCount = 3, this.useFeatureNextFlowItem = !1, this.flowType = "feature-utility-network-association-type";
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
|
-
this.properties = { autoDestroyDisabled: 5, description: 1, displayCount: 9, flowItems: 0, useFeatureNextFlowItem: 5, flowType: 1, heading: 1, map: 0, referenceElement: 1, spatialReference: 0, timeZone: 1, view: 0 };
|
|
17
|
+
this.properties = { autoDestroyDisabled: 5, description: 1, displayCount: 9, flowItems: 0, useFeatureNextFlowItem: 5, flowType: 1, heading: 1, map: 0, messageOverrides: 0, referenceElement: 1, spatialReference: 0, timeZone: 1, view: 0 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
20
|
this.styles = _;
|
|
@@ -24,13 +24,13 @@ class I extends y {
|
|
|
24
24
|
}
|
|
25
25
|
_featureViewModelMatch(e, t) {
|
|
26
26
|
const i = e.graphic, s = i?.layer;
|
|
27
|
-
let
|
|
28
|
-
m(s) && s.parent ?
|
|
29
|
-
const
|
|
27
|
+
let a = null;
|
|
28
|
+
m(s) && s.parent ? a = s.parent.globalIdField ?? null : s && "globalIdField" in s && (a = s.globalIdField);
|
|
29
|
+
const r = a ? i?.getAttribute(a) : null, l = t.graphic, n = l?.layer;
|
|
30
30
|
let c = null;
|
|
31
|
-
m(
|
|
32
|
-
const u = c ?
|
|
33
|
-
return !!(
|
|
31
|
+
m(n) && n.parent ? c = n.parent.globalIdField ?? null : n && "globalIdField" in n && (c = n.globalIdField);
|
|
32
|
+
const u = c ? l?.getAttribute(c) : null;
|
|
33
|
+
return !!(r && u && r === u);
|
|
34
34
|
}
|
|
35
35
|
_findFlowItem(e) {
|
|
36
36
|
return this.flowItems?.findIndex((t) => {
|
|
@@ -78,7 +78,7 @@ class I extends y {
|
|
|
78
78
|
const { flowItems: t } = this;
|
|
79
79
|
if (!t)
|
|
80
80
|
return;
|
|
81
|
-
const i = this.useFeatureNextFlowItem ? h(d(this.parentFeatureViewModel, o`<arcgis-feature-next .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${"feature-association"} .graphic=${e.graphic} .map=${this.map} .referenceElement=${this.referenceElement} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-next>`)) : h(d(this.parentFeatureViewModel, o`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${"feature-association"} .graphic=${e.graphic} .map=${this.map} .referenceElement=${this.referenceElement} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`));
|
|
81
|
+
const i = this.useFeatureNextFlowItem ? h(d(this.parentFeatureViewModel, o`<arcgis-feature-next .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${"feature-association"} .graphic=${e.graphic} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-next>`)) : h(d(this.parentFeatureViewModel, o`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${"feature-association"} .graphic=${e.graphic} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`));
|
|
82
82
|
t.push(i);
|
|
83
83
|
}
|
|
84
84
|
_showAllAssociations(e) {
|
|
@@ -87,15 +87,15 @@ class I extends y {
|
|
|
87
87
|
return;
|
|
88
88
|
this.showAllEnabled = !0;
|
|
89
89
|
const s = e?.title ?? "";
|
|
90
|
-
t.push(h(o`<arcgis-feature-utility-network-association-list .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this.associationViewModels} .description=${i} .flowItems=${t} .flowType=${this.flowType} .heading=${s} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .selectedLayer=${e} .showAllEnabled=${this.showAllEnabled} .useFeatureNextFlowItem=${this.useFeatureNextFlowItem}></arcgis-feature-utility-network-association-list>`));
|
|
90
|
+
t.push(h(o`<arcgis-feature-utility-network-association-list .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this.associationViewModels} .description=${i} .flowItems=${t} .flowType=${this.flowType} .heading=${s} .messageOverrides=${this.messageOverrides} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .selectedLayer=${e} .showAllEnabled=${this.showAllEnabled} .useFeatureNextFlowItem=${this.useFeatureNextFlowItem}></arcgis-feature-utility-network-association-list>`));
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
93
|
const { associationViewModels: e, state: t } = this, i = this.selectedLayer?.title ?? this._messagesFeature.noTitle ?? "";
|
|
94
|
-
return o`<div class="root">${t === "loading" || t === "querying" ? this._renderLoading() : o`<calcite-list .displayMode=${
|
|
94
|
+
return o`<div class="root">${t === "loading" || t === "querying" ? this._renderLoading() : o`<calcite-list .displayMode=${v} .filterEnabled=${this.showAllEnabled && !!this.selectedLayer} .filterLabel=${this._messages.associationFilterPlaceholder} .filterPlaceholder=${this._messages.associationFilterPlaceholder} .label=${i}>${this.showAllEnabled && this.selectedLayer ? o`${this._renderFeatureCountWarning()}${this._renderAssociatedFeatureListPage()}${this._renderFeatureObserver()}` : Array.from(e.keys(), (s) => this._renderTypeList(s))}</calcite-list>`}</div>`;
|
|
95
95
|
}
|
|
96
96
|
_renderAssociatedFeature(e) {
|
|
97
|
-
const { featureViewModel: t, title: i } = e, s = this.state === "loading",
|
|
98
|
-
return o`<calcite-list-item class=${b(s ? "list-item--hidden" : "")} .description=${p(e.terminalName ?? "")} .label=${p(i)} @calciteListItemSelect=${async () => await this._handleFeatureClick(
|
|
97
|
+
const { featureViewModel: t, title: i } = e, s = this.state === "loading", a = this._findFlowItem(t), r = a < 0 && this._isParentFeature(t), l = r || a >= 0, n = `associated-feature-${e.association.globalId}`;
|
|
98
|
+
return o`<calcite-list-item class=${b(s ? "list-item--hidden" : "")} .description=${p(e.terminalName ?? "")} .label=${p(i)} @calciteListItemSelect=${async () => await this._handleFeatureClick(r, a, t)}>${this._isConnectivityAssociation(e.association) ? this._renderConnectivityIcon(e.association.associationType, n) : null}${this._isConnectivityMidspanAssociation(e.association) ? o`<calcite-chip .label=${this._formatPercentAlong(e.association)} scale=s slot=content-end>${this._formatPercentAlong(e.association)}</calcite-chip>` : null}${this._renderChevronIconNode(l)}</calcite-list-item>`;
|
|
99
99
|
}
|
|
100
100
|
_renderAssociatedFeatureList(e) {
|
|
101
101
|
return e.toArray().map((t) => this._renderAssociatedFeature(t));
|
|
@@ -112,16 +112,16 @@ class I extends y {
|
|
|
112
112
|
return this._isConnectivityAssociation(e.association) ? o`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(i)}>${this.getConnectivityTooltip(e.association.associationType)}</calcite-tooltip>` : null;
|
|
113
113
|
}
|
|
114
114
|
_renderTypeList(e) {
|
|
115
|
-
const { displayCount: t } = this, i = this.associationViewModels.get(e), s = i.slice(0, t),
|
|
115
|
+
const { displayCount: t } = this, i = this.associationViewModels.get(e), s = i.slice(0, t), a = s.length < i.length, r = $(this._messagesFeature.numberRecords ?? "", {
|
|
116
116
|
number: i.length.toString()
|
|
117
|
-
}),
|
|
118
|
-
return d("show-all", o`<calcite-list-item expanded .label=${e.title} .value=${e.id}><calcite-chip .label=${String(i.length)} scale=s slot=content-end>${i.length}</calcite-chip><calcite-list .group=${e.id} .label=${e.title ?? ""}>${[this._renderTooltips(s), this._renderAssociatedFeatureList(s)]}${
|
|
117
|
+
}), l = this._messagesFeature.showAll ?? "";
|
|
118
|
+
return d("show-all", o`<calcite-list-item expanded .label=${e.title} .value=${e.id}><calcite-chip .label=${String(i.length)} scale=s slot=content-end>${i.length}</calcite-chip><calcite-list .group=${e.id} .label=${e.title ?? ""}>${[this._renderTooltips(s), this._renderAssociatedFeatureList(s)]}${a ? d("show-all-item", o`<calcite-list-item .description=${r} .label=${l} @calciteListItemSelect=${() => this._showAllAssociations(e)}><calcite-icon icon=list scale=s slot=content-end></calcite-icon></calcite-list-item>`) : null}</calcite-list></calcite-list-item>`);
|
|
119
119
|
}
|
|
120
120
|
_renderTooltips(e) {
|
|
121
121
|
return e.toArray().map((t) => this._renderItemTooltip(t));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
f("arcgis-feature-utility-network-association-list",
|
|
124
|
+
f("arcgis-feature-utility-network-association-list", A);
|
|
125
125
|
export {
|
|
126
|
-
|
|
126
|
+
A as ArcgisFeatureUtilityNetworkAssociationList
|
|
127
127
|
};
|
|
@@ -14,9 +14,9 @@ import Q from "@arcgis/core/rest/networks/support/NetworkElement.js";
|
|
|
14
14
|
import G from "@arcgis/core/rest/networks/support/QueryAssociationsParameters.js";
|
|
15
15
|
import { LitElement as B, renderElement as q } from "@arcgis/lumina";
|
|
16
16
|
import { debounce as L } from "@arcgis/toolkit/function";
|
|
17
|
-
import
|
|
18
|
-
import { u as
|
|
19
|
-
const
|
|
17
|
+
import O from "@arcgis/core/popup/FeatureContent.js";
|
|
18
|
+
import { u as $ } from "../../chunks/useT9n.js";
|
|
19
|
+
const R = V`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`, N = 100, S = {
|
|
20
20
|
assetGroup: "assetgroup",
|
|
21
21
|
assetType: "assettype"
|
|
22
22
|
}, M = "{00000000-0000-0000-0000-000000000000}";
|
|
@@ -30,7 +30,7 @@ class Z extends B {
|
|
|
30
30
|
}, this._cancelQueryFeatureCount = () => {
|
|
31
31
|
const { _queryFeatureCountAbortController: t } = this;
|
|
32
32
|
t && t.abort(), this._queryFeatureCountAbortController = null;
|
|
33
|
-
}, this._connectivityAssociations = new w(), this._connectivityFeatureCount = 0, this._containerAssociations = new w(), this._containerFeatureCount = 0, this._contentAssociations = new w(), this._contentFeatureCount = 0, this._messages =
|
|
33
|
+
}, this._connectivityAssociations = new w(), this._connectivityFeatureCount = 0, this._containerAssociations = new w(), this._containerFeatureCount = 0, this._contentAssociations = new w(), this._contentFeatureCount = 0, this._messages = $({ name: "utility-network-associations", blocking: !0 }), this._messagesFeature = $({ name: "feature", blocking: !0 }), this._networkSourceIdsInUse = /* @__PURE__ */ new Set(), this._query = async (t) => {
|
|
34
34
|
if (!t)
|
|
35
35
|
return;
|
|
36
36
|
await this._loadUtilityNetworks();
|
|
@@ -44,15 +44,15 @@ class Z extends B {
|
|
|
44
44
|
this._loaded = !1, this._cancelQueryFeatureCount();
|
|
45
45
|
const t = new AbortController();
|
|
46
46
|
this._queryFeatureCountAbortController = t, await T(this._queryFeatureCount()), this._queryFeatureCountAbortController === t && (this._queryFeatureCountAbortController = null), this._loaded = !0;
|
|
47
|
-
}, this._queryDebounced = L(this._queryController, v(
|
|
47
|
+
}, this._queryDebounced = L(this._queryController, v(N)), this._queryFeatureCountDebounced = L(this._queryFeatureCountController, v(N)), this._structureAssociations = new w(), this._structureFeatureCount = 0, this._queryAssociationType = async () => {
|
|
48
48
|
this._activeAssociationType && this._queryDebounced(this._activeAssociationType);
|
|
49
49
|
}, this._associationFeatures = I(), this._associationViewModels = I(), this._featureCount = 0, this._loaded = !1, this._queryAbortController = null, this._queryFeatureCountAbortController = null, this._queryPageAbortController = null, this.associationTypes = null, this.autoDestroyDisabled = !1, this.useFeatureNextFlowItem = !1, this.flowType = "feature-utility-network-associations", this.headingLevel = 2, this.source = "popup";
|
|
50
50
|
}
|
|
51
51
|
static {
|
|
52
|
-
this.properties = { _activeAssociationType: 16, _associationFeatures: 16, _associationViewModels: 16, _canLoad: 16, _canQuery: 16, _featureCount: 16, _loaded: 16, _queryAbortController: 16, _queryFeatureCountAbortController: 16, _queryPageAbortController: 16, _state: 16, associationTypes: 0, autoDestroyDisabled: 5, description: 1, flowItems: 0, useFeatureNextFlowItem: 5, flowType: 1, graphic: 0, heading: 1, headingLevel: 9, layer: 0, map: 0, messages: 0, parentFeatureViewModel: 0, referenceElement: 1, source: 1, spatialReference: 0, timeZone: 1, view: 0 };
|
|
52
|
+
this.properties = { _activeAssociationType: 16, _associationFeatures: 16, _associationViewModels: 16, _canLoad: 16, _canQuery: 16, _featureCount: 16, _loaded: 16, _queryAbortController: 16, _queryFeatureCountAbortController: 16, _queryPageAbortController: 16, _state: 16, associationTypes: 0, autoDestroyDisabled: 5, description: 1, flowItems: 0, useFeatureNextFlowItem: 5, flowType: 1, graphic: 0, heading: 1, headingLevel: 9, layer: 0, map: 0, messageOverrides: 0, messages: 0, parentFeatureViewModel: 0, referenceElement: 1, source: 1, spatialReference: 0, timeZone: 1, view: 0 };
|
|
53
53
|
}
|
|
54
54
|
static {
|
|
55
|
-
this.styles =
|
|
55
|
+
this.styles = R;
|
|
56
56
|
}
|
|
57
57
|
get _globalId() {
|
|
58
58
|
return (this._globalIdField && this.graphic?.attributes?.[this._globalIdField]) ?? null;
|
|
@@ -119,7 +119,7 @@ class Z extends B {
|
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
_addAssociationTypeFlowItem(t) {
|
|
122
|
-
const e = this.useFeatureNextFlowItem ? q(m`<arcgis-feature-utility-network-association-list .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this._associationViewModels} .description=${this._getParentFeatureDescription()} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(t)} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} use-feature-next-flow-item .view=${this.view}></arcgis-feature-utility-network-association-list>`) : q(m`<arcgis-feature-utility-network-association-list .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this._associationViewModels} .description=${this._getParentFeatureDescription()} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(t)} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`);
|
|
122
|
+
const e = this.useFeatureNextFlowItem ? q(m`<arcgis-feature-utility-network-association-list .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this._associationViewModels} .description=${this._getParentFeatureDescription()} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(t)} .map=${this.map} .messageOverrides=${this.messageOverrides} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} use-feature-next-flow-item .view=${this.view}></arcgis-feature-utility-network-association-list>`) : q(m`<arcgis-feature-utility-network-association-list .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this._associationViewModels} .description=${this._getParentFeatureDescription()} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(t)} .map=${this.map} .messageOverrides=${this.messageOverrides} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`);
|
|
123
123
|
this._addFlowItem(e);
|
|
124
124
|
}
|
|
125
125
|
_clearAssociations() {
|
|
@@ -443,7 +443,7 @@ class Z extends B {
|
|
|
443
443
|
r.add({
|
|
444
444
|
title: n,
|
|
445
445
|
association: u,
|
|
446
|
-
featureViewModel: new
|
|
446
|
+
featureViewModel: new O({
|
|
447
447
|
abilities: { utilityNetworkAssociationsContent: !1 },
|
|
448
448
|
map: t,
|
|
449
449
|
view: e,
|
|
@@ -13,7 +13,7 @@ import { u as N } from "../../chunks/useT9n.js";
|
|
|
13
13
|
import { m as S } from "../../chunks/useViewModel.js";
|
|
14
14
|
import { H as w, i as C } from "../../chunks/heading.js";
|
|
15
15
|
import { g as d } from "../../chunks/globalCss.js";
|
|
16
|
-
import { createStore as E } from "@arcgis/lumina/
|
|
16
|
+
import { createStore as E } from "@arcgis/lumina-toolkit/store";
|
|
17
17
|
import { createRef as x, ref as p } from "lit/directives/ref.js";
|
|
18
18
|
import { g as A } from "../../chunks/async-utils.js";
|
|
19
19
|
const h = "floor-filter", v = `${h}__filter-menu`, o = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as t } from "../../chunks/runtime.js";
|
|
3
3
|
import { usePropertyChange as r } from "@arcgis/lumina/controllers";
|
|
4
|
-
import { reEmitEvent as a } from "@arcgis/lumina/
|
|
4
|
+
import { reEmitEvent as a } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
5
5
|
import l from "@arcgis/core/widgets/LayerList.js";
|
|
6
6
|
import { LitElement as o, createEvent as s } from "@arcgis/lumina";
|
|
7
7
|
import { m as n } from "../../chunks/useWidget.js";
|
|
@@ -16,7 +16,7 @@ import p from "@arcgis/core/core/Collection.js";
|
|
|
16
16
|
import { on as $, watch as A } from "@arcgis/core/core/reactiveUtils.js";
|
|
17
17
|
import { LitElement as Q, createEvent as I, renderElement as D, safeClassMap as E, nothing as O } from "@arcgis/lumina";
|
|
18
18
|
import { usePropertyChange as W } from "@arcgis/lumina/controllers";
|
|
19
|
-
import { reEmitEvent as X } from "@arcgis/lumina/
|
|
19
|
+
import { reEmitEvent as X } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
20
20
|
import { u as Y } from "../../chunks/useCloseEvent.js";
|
|
21
21
|
import { ArcgisLayerListItem as Z } from "./layer-list-item/customElement.js";
|
|
22
22
|
import { s as ee, a as te } from "../../chunks/layer-list-next.js";
|