@arcgis/map-components 4.34.0-next.7 → 4.34.0-next.70
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/2AR2RL4Y.js +4 -0
- package/dist/cdn/2AWZIA3L.js +4 -0
- package/dist/cdn/2I4CTEGV.js +4 -0
- package/dist/cdn/{73246WZV.js → 2KCAS352.js} +2 -2
- package/dist/cdn/2MLBYMYA.js +4 -0
- package/dist/cdn/2PVEP6H4.js +4 -0
- package/dist/cdn/354NC6VV.js +4 -0
- package/dist/cdn/3A3INGT3.js +4 -0
- package/dist/cdn/3OUX647B.js +4 -0
- package/dist/cdn/3VNO3VMG.js +4 -0
- package/dist/cdn/47XZ6W3K.js +4 -0
- package/dist/cdn/4CC7QROP.js +4 -0
- package/dist/cdn/4F55IKBO.js +4 -0
- package/dist/cdn/4H7DRS3O.js +4 -0
- package/dist/cdn/4O2D4TBD.js +4 -0
- package/dist/cdn/4SIW7M26.js +4 -0
- package/dist/cdn/4UBJIIXV.js +4 -0
- package/dist/cdn/4UEFUOAA.js +4 -0
- package/dist/cdn/5AZIZ3PF.js +4 -0
- package/dist/cdn/5CSIVQNY.js +4 -0
- package/dist/cdn/{IN5MEX7L.js → 5CZOXXGR.js} +2 -2
- package/dist/cdn/{BKCPYV3Y.js → 5EDSTFDH.js} +1 -1
- package/dist/cdn/5LHMHWF3.js +4 -0
- package/dist/cdn/5VYYHNUR.js +4 -0
- package/dist/cdn/5XANDIBI.js +4 -0
- package/dist/cdn/5XBSTGLH.js +4 -0
- package/dist/cdn/{DDSDEOST.js → 5ZULWT7U.js} +2 -2
- package/dist/cdn/{ECQIBBNZ.js → 6IIFVCUH.js} +2 -2
- package/dist/cdn/6RAZA3AP.js +4 -0
- package/dist/cdn/6WTGSRMX.js +4 -0
- package/dist/cdn/6YJ53JQR.js +4 -0
- package/dist/cdn/{4SFJ5GIR.js → 7EFXGXNC.js} +1 -1
- package/dist/cdn/7KVEY34N.js +4 -0
- package/dist/cdn/AAAAM4JS.js +4 -0
- package/dist/cdn/ABJZBV47.js +4 -0
- package/dist/cdn/AIINTYP2.js +4 -0
- package/dist/cdn/AQRGA3CG.js +4 -0
- package/dist/cdn/ATNQTFZB.js +4 -0
- package/dist/cdn/B4VWYF4R.js +4 -0
- package/dist/cdn/BD2SVJPH.js +4 -0
- package/dist/cdn/BFO4H73P.js +4 -0
- package/dist/cdn/BJQ5WB7Y.js +4 -0
- package/dist/cdn/BLS32VQR.js +4 -0
- package/dist/cdn/BMZ7R3XZ.js +4 -0
- package/dist/cdn/BODFPY2F.js +4 -0
- package/dist/cdn/BX3APZPD.js +4 -0
- package/dist/cdn/{LUASKWWP.js → BXZBWMK6.js} +2 -2
- package/dist/cdn/C6MN2WSS.js +4 -0
- package/dist/cdn/C6WNJM44.js +4 -0
- package/dist/cdn/CF7Y5MK6.js +4 -0
- package/dist/cdn/CGKUNVNP.js +4 -0
- package/dist/cdn/CJKPNMKS.js +4 -0
- package/dist/cdn/CKAJNS6I.js +4 -0
- package/dist/cdn/D2MI5TXS.js +4 -0
- package/dist/cdn/{B7KN6YTQ.js → D37I3LMF.js} +2 -2
- package/dist/cdn/DCELIW32.js +4 -0
- package/dist/cdn/DWDFHXAC.js +4 -0
- package/dist/cdn/E7MBDFUE.js +4 -0
- package/dist/cdn/EBLLW3H2.js +4 -0
- package/dist/cdn/EKVSV7IH.js +4 -0
- package/dist/cdn/EMER4YVN.js +6 -0
- package/dist/cdn/EP3IWPAW.js +4 -0
- package/dist/cdn/EWJETCOF.js +4 -0
- package/dist/cdn/EWKMFWBT.js +4 -0
- package/dist/cdn/FHZ4BAXV.js +4 -0
- package/dist/cdn/FKPVE63A.js +4 -0
- package/dist/cdn/FNQNKSR2.js +4 -0
- package/dist/cdn/FO6BAT7N.js +4 -0
- package/dist/cdn/FYTAWAQI.js +4 -0
- package/dist/cdn/GKPZTMAJ.js +4 -0
- package/dist/cdn/GMK6EVBP.js +4 -0
- package/dist/cdn/{JSWLDDUC.js → GMP2KW5X.js} +2 -2
- package/dist/cdn/GPL4UAFP.js +4 -0
- package/dist/cdn/GUQ7OX6Q.js +4 -0
- package/dist/cdn/GVEZBE5M.js +4 -0
- package/dist/cdn/GWAKAXNK.js +4 -0
- package/dist/cdn/GYQDEXP6.js +4 -0
- package/dist/cdn/H36MD5PS.js +4 -0
- package/dist/cdn/HDH3SA27.js +4 -0
- package/dist/cdn/HGECBCSE.js +4 -0
- package/dist/cdn/HIKNK4L5.js +4 -0
- package/dist/cdn/{QAP64MEA.js → HKWWBQUE.js} +1 -1
- package/dist/cdn/HLUFKK5B.js +4 -0
- package/dist/cdn/HMS5KVRL.js +4 -0
- package/dist/cdn/HRXKM2RU.js +4 -0
- package/dist/cdn/HSYVJFUD.js +4 -0
- package/dist/cdn/HXANX6UI.js +4 -0
- package/dist/cdn/I2AJTFGI.js +4 -0
- package/dist/cdn/IABBUAVF.js +4 -0
- package/dist/cdn/IELBU3OR.js +4 -0
- package/dist/cdn/IJCXBO5H.js +4 -0
- package/dist/cdn/IPLHIJA2.js +4 -0
- package/dist/cdn/IQOB2WHM.js +4 -0
- package/dist/cdn/IQU5FXFG.js +4 -0
- package/dist/cdn/ISRIAET4.js +4 -0
- package/dist/cdn/IXAEG2AX.js +4 -0
- package/dist/cdn/J24HQZUE.js +4 -0
- package/dist/cdn/J6GJZPBF.js +4 -0
- package/dist/cdn/JDUEYLBI.js +4 -0
- package/dist/cdn/JHJ3IPEO.js +4 -0
- package/dist/cdn/JJCLARQC.js +4 -0
- package/dist/cdn/JJQ662J6.js +4 -0
- package/dist/cdn/JXG4Q2Q5.js +4 -0
- package/dist/cdn/JXY43SSP.js +4 -0
- package/dist/cdn/K2TRJM27.js +4 -0
- package/dist/cdn/K5Z6FQ7O.js +4 -0
- package/dist/cdn/KHHY53OI.js +4 -0
- package/dist/cdn/KVELDCFU.js +4 -0
- package/dist/cdn/KVVPPPAG.js +4 -0
- package/dist/cdn/LC4O7QMB.js +4 -0
- package/dist/cdn/LWNTGQ4I.js +4 -0
- package/dist/cdn/LX5PHN6W.js +4 -0
- package/dist/cdn/MDJHRHKH.js +5 -0
- package/dist/cdn/MGVM6IXP.js +4 -0
- package/dist/cdn/MKUMSG4G.js +4 -0
- package/dist/cdn/ML7ZZEWH.js +4 -0
- package/dist/cdn/N2OPC5TW.js +4 -0
- package/dist/cdn/{EAVGPD6R.js → N4AMD5OM.js} +1 -1
- package/dist/cdn/NCGGXOKG.js +4 -0
- package/dist/cdn/NEKAFFJA.js +4 -0
- package/dist/cdn/NOWVAMZG.js +4 -0
- package/dist/cdn/NSGPJKHX.js +4 -0
- package/dist/cdn/NSRZO7UM.js +4 -0
- package/dist/cdn/{FAJWL466.js → O673AIIF.js} +2 -2
- package/dist/cdn/OAYIC4MN.js +4 -0
- package/dist/cdn/OC47Z2XQ.js +4 -0
- package/dist/cdn/OCQDH6IW.js +4 -0
- package/dist/cdn/OFSW2VUZ.js +4 -0
- package/dist/cdn/OIPCRWX7.js +4 -0
- package/dist/cdn/ONE42ZUL.js +4 -0
- package/dist/cdn/OXNIPYQL.js +4 -0
- package/dist/cdn/OY3AYNNR.js +4 -0
- package/dist/cdn/{7MLMQPS2.js → PBTBBJK7.js} +1 -1
- package/dist/cdn/PFBMKQBE.js +4 -0
- package/dist/cdn/PMQIZBP2.js +4 -0
- package/dist/cdn/PP7Q7UNI.js +4 -0
- package/dist/cdn/PYFFSITY.js +4 -0
- package/dist/cdn/{KXFOXBSW.js → PZDLSZBV.js} +1 -1
- package/dist/cdn/QBHY6CBB.js +4 -0
- package/dist/cdn/QEI2TTJN.js +4 -0
- package/dist/cdn/QTI5DTMV.js +4 -0
- package/dist/cdn/RF4MOEMZ.js +4 -0
- package/dist/cdn/RKLE6RRM.js +4 -0
- package/dist/cdn/RPRK6C74.js +4 -0
- package/dist/cdn/RSVQX3RP.js +4 -0
- package/dist/cdn/SDJJWQPY.js +4 -0
- package/dist/cdn/SJWH25MD.js +4 -0
- package/dist/cdn/SYTCDH6J.js +4 -0
- package/dist/cdn/T43ZKBUL.js +4 -0
- package/dist/cdn/THPL3AWL.js +4 -0
- package/dist/cdn/TYHMP45B.js +4 -0
- package/dist/cdn/U7GCDM6L.js +4 -0
- package/dist/cdn/UAVTLQX7.js +4 -0
- package/dist/cdn/UH3J53SE.js +4 -0
- package/dist/cdn/UJLVRNX6.js +4 -0
- package/dist/cdn/UKHU2KV4.js +4 -0
- package/dist/cdn/UUKGM4CS.js +4 -0
- package/dist/cdn/UZZO325J.js +4 -0
- package/dist/cdn/VMOB7LDF.js +4 -0
- package/dist/cdn/VOVSPPXO.js +4 -0
- package/dist/cdn/VZKJR64R.js +4 -0
- package/dist/cdn/VZXRN45C.js +4 -0
- package/dist/cdn/WBMYK2NM.js +4 -0
- package/dist/cdn/WQTH5DEY.js +4 -0
- package/dist/cdn/WWK3KN4N.js +4 -0
- package/dist/cdn/{TD3FQAZG.js → WWQ76UBW.js} +1 -1
- package/dist/cdn/{EF5ADWHS.js → X4AY7J4P.js} +2 -2
- package/dist/cdn/X5EFDMTN.js +4 -0
- package/dist/cdn/XAUOLY2L.js +4 -0
- package/dist/cdn/XNWNXAWW.js +4 -0
- package/dist/cdn/XOGYW5MN.js +4 -0
- package/dist/cdn/XQFTJYY2.js +4 -0
- package/dist/cdn/XQZU3IUE.js +4 -0
- package/dist/cdn/XTOHHIAU.js +4 -0
- package/dist/cdn/XWQEZXIF.js +4 -0
- package/dist/cdn/{62NV7NFZ.js → YDKCBMOW.js} +2 -2
- package/dist/cdn/YID6KBLE.js +4 -0
- package/dist/cdn/YKPFG6ZM.js +4 -0
- package/dist/cdn/YN2IBXDY.js +4 -0
- package/dist/cdn/YOUIY6WZ.js +4 -0
- package/dist/cdn/{576TH74N.js → YS2IN3HF.js} +2 -2
- package/dist/cdn/YW5ODCJD.js +4 -0
- package/dist/cdn/Z47CMIYF.js +4 -0
- package/dist/cdn/{42FXNNW7.js → Z6MZTW2K.js} +2 -2
- package/dist/cdn/ZF4GIRLB.js +4 -0
- package/dist/cdn/ZXWVQURO.js +4 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +4 -4
- package/dist/chunks/async-utils.js +3 -3
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +178 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +13 -13
- package/dist/chunks/layer-list.js +2 -2
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +2 -2
- package/dist/chunks/useWidget.js +2 -2
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +113 -11
- package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
- package/dist/components/arcgis-attachments/customElement.d.ts +16 -5
- package/dist/components/arcgis-attachments/customElement.js +8 -8
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +31 -29
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +13 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +17 -18
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +241 -84
- package/dist/components/arcgis-bookmarks/customElement.js +457 -17
- package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
- package/dist/components/arcgis-bookmarks/index.js +21 -0
- package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
- package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
- package/dist/components/arcgis-building-explorer/customElement.d.ts +30 -18
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +12 -3
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +36 -18
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +114 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +12 -3
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directional-pad/utils.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +11 -6
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +10 -5
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +34 -26
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +14 -8
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +200 -86
- package/dist/components/arcgis-feature/customElement.js +208 -21
- package/dist/components/arcgis-feature/index.d.ts +8 -0
- package/dist/components/arcgis-feature/index.js +8 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +37 -0
- package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
- package/dist/components/arcgis-feature-attachments/index.js +3 -0
- package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-content/customElement.js +65 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +42 -0
- package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/index.js +1 -0
- package/dist/components/arcgis-feature-expression/customElement.d.ts +21 -0
- package/dist/components/arcgis-feature-expression/customElement.js +248 -0
- package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
- package/dist/components/arcgis-feature-expression/index.js +5 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-fields/customElement.js +142 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +11 -6
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +36 -0
- package/dist/components/arcgis-feature-media/customElement.js +571 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-relationship/customElement.d.ts +86 -0
- package/dist/components/arcgis-feature-relationship/customElement.js +402 -0
- package/dist/components/arcgis-feature-relationship/index.d.ts +10 -0
- package/dist/components/arcgis-feature-relationship/index.js +10 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -5
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +12 -5
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +9 -4
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -5
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +23 -4
- package/dist/components/arcgis-fullscreen/customElement.js +32 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +16 -7
- package/dist/components/arcgis-grid-controls/customElement.js +16 -16
- package/dist/components/arcgis-grid-controls/gridUtils.d.ts +6 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +31 -10
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- package/dist/components/arcgis-layer-list/customElement.d.ts +14 -6
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +3 -3
- package/dist/components/arcgis-legend/customElement.d.ts +9 -4
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +77 -21
- package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
- package/dist/components/arcgis-link-chart/customElement.d.ts +26 -16
- package/dist/components/arcgis-link-chart/customElement.js +20 -9
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
- package/dist/components/arcgis-locate/customElement.d.ts +19 -7
- package/dist/components/arcgis-locate/customElement.js +115 -113
- package/dist/components/arcgis-locate/index.d.ts +0 -1
- package/dist/components/arcgis-locate/index.js +0 -1
- package/dist/components/arcgis-map/customElement.d.ts +33 -20
- package/dist/components/arcgis-map/customElement.js +26 -15
- package/dist/components/arcgis-measurement/customElement.d.ts +11 -6
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +19 -15
- package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -4
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +7 -2
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +57 -43
- package/dist/components/arcgis-print/customElement.js +38 -33
- package/dist/components/arcgis-print/types.d.ts +40 -0
- package/dist/components/arcgis-print/utils.d.ts +6 -6
- package/dist/components/arcgis-print-custom-text-elements/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-export-button/customElement.js +4 -5
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +3 -9
- package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
- package/dist/components/arcgis-print-preview-input/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
- package/dist/components/arcgis-print-template-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.d.ts +13 -4
- package/dist/components/arcgis-scale-bar/customElement.js +66 -65
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +158 -95
- package/dist/components/arcgis-scene/customElement.js +28 -17
- package/dist/components/arcgis-search/customElement.d.ts +59 -27
- package/dist/components/arcgis-search/customElement.js +42 -39
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -2
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +97 -34
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +13 -8
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
- package/dist/components/arcgis-slice/customElement.d.ts +109 -23
- package/dist/components/arcgis-slice/customElement.js +32 -41
- package/dist/components/arcgis-slider/customElement.d.ts +11 -6
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +31 -5
- package/dist/components/arcgis-swipe/customElement.js +44 -45
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -5
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -4
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +5 -3
- package/dist/components/arcgis-time-zone-label/customElement.js +11 -12
- package/dist/components/arcgis-track/customElement.d.ts +28 -11
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.d.ts +7 -3
- package/dist/components/arcgis-unit-select/customElement.js +22 -16
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +20 -17
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +12 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +10 -5
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +16 -9
- package/dist/components/arcgis-version-management/customElement.js +49 -51
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +3 -4
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +1 -2
- package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
- package/dist/components/arcgis-video/customElement.d.ts +28 -11
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -7
- package/dist/components/arcgis-video-player/customElement.js +39 -33
- package/dist/components/arcgis-video-player-action-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
- package/dist/components/arcgis-video-player-actions-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
- package/dist/components/arcgis-video-player-controls-group/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
- package/dist/components/arcgis-video-player-metadata/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
- package/dist/components/arcgis-video-player-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
- package/dist/components/arcgis-video-player-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
- package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +54 -5
- package/dist/components/arcgis-weather/customElement.js +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +12 -3
- package/dist/components/arcgis-zoom/customElement.js +12 -13
- package/dist/controllers/Handles.d.ts +4 -4
- package/dist/controllers/useHandles.d.ts +5 -5
- package/dist/controllers/useView.d.ts +3 -3
- package/dist/controllers/useViewModel.d.ts +4 -4
- package/dist/controllers/useWidget.d.ts +9 -9
- package/dist/docs/api.json +3785 -1107
- package/dist/docs/docs.json +2854 -925
- package/dist/docs/vscode.html-custom-data.json +467 -174
- package/dist/docs/web-types.json +1076 -488
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +12 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +27 -20
- package/dist/support/heading.d.ts +2 -1
- package/dist/support/maybe.d.ts +3 -3
- package/dist/types/lumina.d.ts +28 -18
- package/dist/types/preact.d.ts +29 -18
- package/dist/types/react.d.ts +30 -18
- package/dist/types/stencil.d.ts +28 -18
- package/dist/utils/async-utils.d.ts +7 -7
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/component-utils.d.ts +9 -9
- package/dist/utils/feature-form-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +33 -0
- package/dist/utils/layer-list-utils.d.ts +17 -17
- package/dist/utils/related-feature-utils.d.ts +6 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +7 -5
- package/dist/cdn/3CVTJ6IR.js +0 -4
- package/dist/cdn/3K4LQ5ZH.js +0 -4
- package/dist/cdn/3NYGB5KC.js +0 -4
- package/dist/cdn/3V7IRFXL.js +0 -4
- package/dist/cdn/43IJVAZP.js +0 -4
- package/dist/cdn/4QHWO73K.js +0 -4
- package/dist/cdn/4V2M77YV.js +0 -4
- package/dist/cdn/5FZJ2H3A.js +0 -4
- package/dist/cdn/5H7D7TSV.js +0 -4
- package/dist/cdn/5KK3XQQZ.js +0 -4
- package/dist/cdn/5LHNWCSF.js +0 -4
- package/dist/cdn/5N4BVYD2.js +0 -4
- package/dist/cdn/5ZJSJBH7.js +0 -4
- package/dist/cdn/6DLNCYNJ.js +0 -4
- package/dist/cdn/6EUTPSR3.js +0 -4
- package/dist/cdn/6JC3X4DH.js +0 -4
- package/dist/cdn/6VMYCMSX.js +0 -4
- package/dist/cdn/7DA7Y4DS.js +0 -4
- package/dist/cdn/7S7U4ABF.js +0 -4
- package/dist/cdn/AGNZOUXO.js +0 -4
- package/dist/cdn/APM7HWPV.js +0 -4
- package/dist/cdn/AXC7MHUY.js +0 -6
- package/dist/cdn/B7YWZFHG.js +0 -4
- package/dist/cdn/BGL6T3KT.js +0 -4
- package/dist/cdn/BIDDZ56Y.js +0 -4
- package/dist/cdn/BNXSE33Y.js +0 -4
- package/dist/cdn/BTMPB2XP.js +0 -4
- package/dist/cdn/BWZL65MZ.js +0 -4
- package/dist/cdn/C3JX4XWF.js +0 -4
- package/dist/cdn/C4TSJEJH.js +0 -4
- package/dist/cdn/C5Y2CFYN.js +0 -4
- package/dist/cdn/CPW7VJRT.js +0 -4
- package/dist/cdn/CTEALHBJ.js +0 -4
- package/dist/cdn/CXJCTNJJ.js +0 -4
- package/dist/cdn/CXVJEZRT.js +0 -4
- package/dist/cdn/DMKGED3D.js +0 -4
- package/dist/cdn/DZRQ3FJN.js +0 -4
- package/dist/cdn/EGXWFLZ6.js +0 -4
- package/dist/cdn/ESO25JEU.js +0 -4
- package/dist/cdn/FEHLXR64.js +0 -4
- package/dist/cdn/FOZYNPTO.js +0 -4
- package/dist/cdn/FUIIOE5K.js +0 -4
- package/dist/cdn/G6V7COIW.js +0 -4
- package/dist/cdn/GXHWA464.js +0 -4
- package/dist/cdn/HLUINBW7.js +0 -4
- package/dist/cdn/I3YONNOJ.js +0 -4
- package/dist/cdn/IFU5E2LC.js +0 -4
- package/dist/cdn/IKGGVPEL.js +0 -4
- package/dist/cdn/ITWSP5JU.js +0 -4
- package/dist/cdn/JCV3FTL7.js +0 -4
- package/dist/cdn/JP5OTXJX.js +0 -4
- package/dist/cdn/JZ6AB7NM.js +0 -4
- package/dist/cdn/JZO3ICTU.js +0 -4
- package/dist/cdn/KGJHCOZ4.js +0 -4
- package/dist/cdn/KHCCACST.js +0 -4
- package/dist/cdn/KPKM24HM.js +0 -4
- package/dist/cdn/L7LDYNLW.js +0 -4
- package/dist/cdn/LHUB6IIZ.js +0 -4
- package/dist/cdn/LJC6WRCS.js +0 -4
- package/dist/cdn/LJSRLQJH.js +0 -4
- package/dist/cdn/LTOXWTO6.js +0 -4
- package/dist/cdn/MHERALSB.js +0 -4
- package/dist/cdn/N2HYKSZN.js +0 -4
- package/dist/cdn/N3UCR7B4.js +0 -4
- package/dist/cdn/N7QZNEIJ.js +0 -4
- package/dist/cdn/NAGYELAG.js +0 -4
- package/dist/cdn/NH4L7TUF.js +0 -4
- package/dist/cdn/PITGRP5J.js +0 -4
- package/dist/cdn/Q4LEDOCN.js +0 -4
- package/dist/cdn/QGSP733R.js +0 -4
- package/dist/cdn/QX4PFK5W.js +0 -4
- package/dist/cdn/R4OCIRWR.js +0 -4
- package/dist/cdn/RR5F3SPW.js +0 -4
- package/dist/cdn/RTEPILHE.js +0 -4
- package/dist/cdn/RYH4JLMG.js +0 -4
- package/dist/cdn/SVIUUV22.js +0 -4
- package/dist/cdn/T4FMPBKP.js +0 -4
- package/dist/cdn/T7AW36YP.js +0 -4
- package/dist/cdn/TC2TTTMU.js +0 -4
- package/dist/cdn/TE3QJZJW.js +0 -4
- package/dist/cdn/TQV4YCGY.js +0 -4
- package/dist/cdn/TUT5QPQJ.js +0 -4
- package/dist/cdn/TY2YZASD.js +0 -4
- package/dist/cdn/UOH2BTYV.js +0 -4
- package/dist/cdn/UQXB5REP.js +0 -4
- package/dist/cdn/UV5D3ZXY.js +0 -4
- package/dist/cdn/VENK34O7.js +0 -4
- package/dist/cdn/VGV6LYWI.js +0 -4
- package/dist/cdn/VRTJXWFO.js +0 -4
- package/dist/cdn/VT73N5VK.js +0 -4
- package/dist/cdn/VZX6PQA2.js +0 -4
- package/dist/cdn/W2EA6D3X.js +0 -4
- package/dist/cdn/WFTKJB4P.js +0 -4
- package/dist/cdn/WOY7XX7B.js +0 -4
- package/dist/cdn/XGXYIF65.js +0 -4
- package/dist/cdn/XJ6BZ6DU.js +0 -4
- package/dist/cdn/XV6MSZ6U.js +0 -4
- package/dist/cdn/YTBQINZ7.js +0 -4
- package/dist/cdn/ZEROK655.js +0 -4
- package/dist/cdn/ZH4LI6ZS.js +0 -4
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
import { c as W } from "../../chunks/runtime.js";
|
|
2
|
+
import { ref as P } from "lit/directives/ref.js";
|
|
3
|
+
import { keyed as D } from "lit/directives/keyed.js";
|
|
4
|
+
import { render as N, html as l } from "lit-html";
|
|
5
|
+
import "@arcgis/toolkit/array";
|
|
6
|
+
import { classes as Z } from "@arcgis/toolkit/dom";
|
|
7
|
+
import "@arcgis/toolkit/promise";
|
|
8
|
+
import "@arcgis/toolkit/error";
|
|
9
|
+
import "@arcgis/toolkit/string";
|
|
10
|
+
import "@arcgis/toolkit/intl";
|
|
11
|
+
import "@arcgis/toolkit/predicate";
|
|
12
|
+
import { debounce as z } from "@arcgis/toolkit/function";
|
|
13
|
+
import "@arcgis/toolkit/url";
|
|
14
|
+
import { LitElement as G, noShadowRoot as J, safeClassMap as y } from "@arcgis/lumina";
|
|
15
|
+
import { css as U } from "lit";
|
|
16
|
+
import { templateHasKey as Q, stripHTML as V } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
17
|
+
import { isRelatableFeatureSupportedLayer as X, findRelatedLayer as Y } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
18
|
+
import { substitute as ee, formatNumber as M } from "@arcgis/core/intl.js";
|
|
19
|
+
import { watch as C, on as te } from "@arcgis/core/core/reactiveUtils.js";
|
|
20
|
+
import { g as re } from "../../chunks/feature-utils.js";
|
|
21
|
+
import j from "@arcgis/core/core/Collection.js";
|
|
22
|
+
import k from "@arcgis/core/rest/support/RelationshipQuery.js";
|
|
23
|
+
import { ignoreAbortErrors as E } from "@arcgis/core/core/promiseUtils.js";
|
|
24
|
+
import se from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
|
|
25
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
26
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
27
|
+
v4.34.0-next.70 */
|
|
28
|
+
const B = Z, x = z, ie = U`@layer{arcgis-feature-relationship{display:block}.arcgis-feature-relationship{position:relative}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__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}}`, ae = (f) => {
|
|
29
|
+
const e = [];
|
|
30
|
+
if (f.formTemplate) {
|
|
31
|
+
const { description: t, title: r } = f.formTemplate;
|
|
32
|
+
f.fields?.forEach((s) => {
|
|
33
|
+
const i = r && Q(r, s.name), a = t && Q(t, s.name);
|
|
34
|
+
(i || a) && e.push(s.name);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
return e;
|
|
38
|
+
}, O = 100, F = "arcgis-feature", m = `${F}-relationship`, d = {
|
|
39
|
+
// widget
|
|
40
|
+
base: m,
|
|
41
|
+
listContainer: `${m}__list`,
|
|
42
|
+
listItem: `${m}__list-item`,
|
|
43
|
+
listItemHidden: `${m}__list-item--hidden`,
|
|
44
|
+
listContainerQuerying: `${m}__list--querying`,
|
|
45
|
+
featureObserver: `${F}__feature-observer`,
|
|
46
|
+
// loading
|
|
47
|
+
stickySpinnerContainer: `${F}__sticky-loading-container`,
|
|
48
|
+
loadingSpinnerContainer: `${F}__loading-container`
|
|
49
|
+
};
|
|
50
|
+
class le extends G {
|
|
51
|
+
constructor() {
|
|
52
|
+
super(...arguments), this._flowItemContainerEl = document.createElement("div"), this._increaseFeaturePage = () => {
|
|
53
|
+
const { state: e, showAllEnabled: t, relatedFeatures: r, featuresPerPage: s, featurePage: i } = this;
|
|
54
|
+
e === "ready" && t && r.length >= s * i && this.featurePage++;
|
|
55
|
+
}, this._relatedFeatureIntersectionObserver = new IntersectionObserver(([e]) => {
|
|
56
|
+
e?.isIntersecting && this._increaseFeaturePage();
|
|
57
|
+
}, {
|
|
58
|
+
root: window.document
|
|
59
|
+
}), this._featurePage = 1, this._cancelQuery = () => {
|
|
60
|
+
const { _queryAbortController: e } = this;
|
|
61
|
+
e && e.abort(), this._queryAbortController = null;
|
|
62
|
+
}, this._cancelQueryFeatureCount = () => {
|
|
63
|
+
const { _queryFeatureCountAbortController: e } = this;
|
|
64
|
+
e && e.abort(), this._queryFeatureCountAbortController = null;
|
|
65
|
+
}, this._cancelQueryPage = () => {
|
|
66
|
+
const { _queryPageAbortController: e } = this;
|
|
67
|
+
e && e.abort(), this._queryPageAbortController = null;
|
|
68
|
+
}, this._queryController = async () => {
|
|
69
|
+
this._cancelQuery();
|
|
70
|
+
const e = new AbortController();
|
|
71
|
+
this._queryAbortController = e, await E(this._query()), this._queryAbortController === e && (this._queryAbortController = null);
|
|
72
|
+
}, this._queryFeatureCountController = async () => {
|
|
73
|
+
this._loaded = !1, this._cancelQueryFeatureCount();
|
|
74
|
+
const e = new AbortController();
|
|
75
|
+
this._queryFeatureCountAbortController = e, await E(this._queryFeatureCount()), this._queryFeatureCountAbortController === e && (this._queryFeatureCountAbortController = null), this._loaded = !0;
|
|
76
|
+
}, this._queryPageController = async () => {
|
|
77
|
+
const e = new AbortController();
|
|
78
|
+
this._queryPageAbortController = e, await E(this._queryPage()), this._queryPageAbortController === e && (this._queryPageAbortController = null);
|
|
79
|
+
}, this._queryDebounced = x(this._queryController, O), this._queryFeatureCountDebounced = x(this._queryFeatureCountController, O), this._queryPageDebounced = x(this._queryPageController, O), this._query = async () => {
|
|
80
|
+
const { _queryAbortController: e, relatedFeatures: t } = this;
|
|
81
|
+
!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 }))));
|
|
82
|
+
}, this._addFlowItem = (e) => {
|
|
83
|
+
const { flowItems: t } = this;
|
|
84
|
+
!t || !e || t.push(e);
|
|
85
|
+
}, this._relatedFeatureIntersectionObserverNode = null, this.relatedFeatures = new j(), this._queryAbortController = null, this._queryPageAbortController = null, this._queryFeatureCountAbortController = null, this.featureCount = 0, this._loaded = !1, this.relatedFeatureViewModels = new j(), this.autoDestroyDisabled = !1, this.featuresPerPage = 10, this.flowType = "feature-relationship", this.headingLevel = 2, this.hideHeading = !1, this.hideDescription = !1, this.showAllEnabled = !1;
|
|
86
|
+
}
|
|
87
|
+
static {
|
|
88
|
+
this.properties = { allCategories: 16, _queryAbortController: 16, _queryPageAbortController: 16, _queryFeatureCountAbortController: 16, featureCount: 16, _loaded: 16, canLoad: 16, canQuery: 16, displayShowAllButton: 16, displayListItems: 16, allItemsDescription: 16, categories: 16, itemDescriptionFieldName: 16, relatedFeatureViewModels: 16, state: 16, autoDestroyDisabled: 5, featurePage: 9, featuresPerPage: 9, flowItems: 0, 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 };
|
|
89
|
+
}
|
|
90
|
+
static {
|
|
91
|
+
this.styles = ie;
|
|
92
|
+
}
|
|
93
|
+
static {
|
|
94
|
+
this.shadowRootOptions = J;
|
|
95
|
+
}
|
|
96
|
+
get orderByFieldsFixedCasing() {
|
|
97
|
+
const { orderByFields: e, relatedLayer: t } = this;
|
|
98
|
+
return e && t?.loaded ? e.map((r) => {
|
|
99
|
+
const s = r.clone();
|
|
100
|
+
return s.field = re(r.field, t), s;
|
|
101
|
+
}) : e ?? [];
|
|
102
|
+
}
|
|
103
|
+
get supportsCacheHint() {
|
|
104
|
+
return !!this.layer?.capabilities?.queryRelated?.supportsCacheHint;
|
|
105
|
+
}
|
|
106
|
+
get allCategoriesCount() {
|
|
107
|
+
return this.allCategories?.length ?? 0;
|
|
108
|
+
}
|
|
109
|
+
get objectId() {
|
|
110
|
+
return (this.objectIdField && this.graphic?.attributes?.[this.objectIdField]) ?? null;
|
|
111
|
+
}
|
|
112
|
+
get objectIdField() {
|
|
113
|
+
return this.layer?.objectIdField || null;
|
|
114
|
+
}
|
|
115
|
+
get relatedLayer() {
|
|
116
|
+
const { layer: e, map: t, relationship: r } = this;
|
|
117
|
+
if (!e?.loaded || !t || !r)
|
|
118
|
+
return null;
|
|
119
|
+
const s = e.type === "subtype-sublayer" && e.parent && X(e.parent) ? e.parent : e;
|
|
120
|
+
return Y(t, s, r) ?? null;
|
|
121
|
+
}
|
|
122
|
+
get relatedLayerKeyField() {
|
|
123
|
+
const { relatedLayer: e, relationshipId: t } = this;
|
|
124
|
+
return e?.loaded && t != null ? e.relationships?.find((r) => r.id === t)?.keyField : null;
|
|
125
|
+
}
|
|
126
|
+
get relatedLayerKeyFields() {
|
|
127
|
+
const { relatedLayer: e } = this;
|
|
128
|
+
return e?.loaded ? e.relationships?.map((t) => t.keyField).filter((t) => t != null) ?? [] : [];
|
|
129
|
+
}
|
|
130
|
+
get relationship() {
|
|
131
|
+
const { relationshipId: e, layer: t } = this;
|
|
132
|
+
return e != null && t?.loaded ? t.relationships?.find(({ id: r }) => r === e) ?? null : null;
|
|
133
|
+
}
|
|
134
|
+
get relationshipKey() {
|
|
135
|
+
const { relationshipKeyField: e } = this;
|
|
136
|
+
return (e && this.graphic?.attributes?.[e]) ?? null;
|
|
137
|
+
}
|
|
138
|
+
get relationshipKeyField() {
|
|
139
|
+
return this.relationship?.keyField || null;
|
|
140
|
+
}
|
|
141
|
+
get canLoad() {
|
|
142
|
+
return !!this.map && this.relationshipId != null && typeof this.objectId == "number";
|
|
143
|
+
}
|
|
144
|
+
get canQuery() {
|
|
145
|
+
const e = this.layer?.capabilities?.queryRelated;
|
|
146
|
+
return !!this.relatedLayer && !!this.relationship && this.relationshipId != null && this.objectId != null && !!e?.supportsCount && e?.supportsPagination;
|
|
147
|
+
}
|
|
148
|
+
get displayShowAllButton() {
|
|
149
|
+
const { showAllEnabled: e, featureCount: t, displayCount: r, state: s, allCategoriesCount: i } = this, a = !!i && (i > r || r === 0), o = !!t && (t > r || r === 0);
|
|
150
|
+
return !e && s === "ready" && (a || o);
|
|
151
|
+
}
|
|
152
|
+
get displayListItems() {
|
|
153
|
+
const { relatedFeatures: e, allCategoriesCount: t } = this;
|
|
154
|
+
return this.displayShowAllButton || !!e.length || !!t;
|
|
155
|
+
}
|
|
156
|
+
get allItemsDescription() {
|
|
157
|
+
const { messages: e, featureCount: t, allCategories: r, allCategoriesCount: s } = this;
|
|
158
|
+
return ee(e?.numberRecords ?? "", {
|
|
159
|
+
number: M(r ? s : t)
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
get categories() {
|
|
163
|
+
const { allCategories: e } = this;
|
|
164
|
+
return this.showAllEnabled ? e : e?.slice(0, this.displayCount) ?? null;
|
|
165
|
+
}
|
|
166
|
+
get itemDescriptionFieldName() {
|
|
167
|
+
return this.orderByFieldsFixedCasing[0]?.field || null;
|
|
168
|
+
}
|
|
169
|
+
get state() {
|
|
170
|
+
const { _queryAbortController: e, _queryFeatureCountAbortController: t, _queryPageAbortController: r, canQuery: s, _loaded: i, canLoad: a } = this;
|
|
171
|
+
return t || a && !i ? "loading" : e || r ? "querying" : s ? "ready" : "disabled";
|
|
172
|
+
}
|
|
173
|
+
get featurePage() {
|
|
174
|
+
return this._featurePage;
|
|
175
|
+
}
|
|
176
|
+
set featurePage(e) {
|
|
177
|
+
const { featuresPerPage: t, featureCount: r } = this, s = 1, i = Math.ceil(r / t) || 1;
|
|
178
|
+
this._featurePage = Math.min(Math.max(e, s), i);
|
|
179
|
+
}
|
|
180
|
+
get heading() {
|
|
181
|
+
const { activeCategory: e } = this;
|
|
182
|
+
return this._heading ?? e?.name;
|
|
183
|
+
}
|
|
184
|
+
set heading(e) {
|
|
185
|
+
this._heading = e;
|
|
186
|
+
}
|
|
187
|
+
get displayCount() {
|
|
188
|
+
return this._displayCount ?? 3;
|
|
189
|
+
}
|
|
190
|
+
set displayCount(e) {
|
|
191
|
+
this._displayCount = Math.min(Math.max(e ?? 3, 0), 10);
|
|
192
|
+
}
|
|
193
|
+
async destroy() {
|
|
194
|
+
await this.manager.destroy();
|
|
195
|
+
}
|
|
196
|
+
loaded() {
|
|
197
|
+
this.manager.onLifecycle(() => [
|
|
198
|
+
C(() => [
|
|
199
|
+
this.displayCount,
|
|
200
|
+
this.graphic,
|
|
201
|
+
this.layer,
|
|
202
|
+
this.layer?.loaded,
|
|
203
|
+
this.map,
|
|
204
|
+
this.orderByFields,
|
|
205
|
+
this.relationshipId,
|
|
206
|
+
this.featuresPerPage,
|
|
207
|
+
this.showAllEnabled,
|
|
208
|
+
this.canQuery,
|
|
209
|
+
this.featureCount,
|
|
210
|
+
this.activeCategory
|
|
211
|
+
], () => this._queryDebounced(), { initial: !0 }),
|
|
212
|
+
C(() => [this.featurePage, this.showAllEnabled], () => this._queryPageDebounced()),
|
|
213
|
+
C(() => [this.layer, this.relationshipId, this.objectId, this.canQuery, this.activeCategory], () => this._queryFeatureCountDebounced()),
|
|
214
|
+
C(() => [this.state, this.showAllEnabled, this._relatedFeatureIntersectionObserverNode], () => this._handleRelatedFeatureObserverChange()),
|
|
215
|
+
te(() => this.relatedFeatures, "change", () => this._setRelatedFeaturesViewModels())
|
|
216
|
+
]), this.manager.onDestroy(() => {
|
|
217
|
+
this.relatedFeatureViewModels.destroyAll(), this.relatedFeatures.destroyAll(), this._cancelQuery(), this._cancelQueryFeatureCount(), this._cancelQueryPage(), this._unobserveRelatedFeatureObserver();
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
async _queryFeatureCount() {
|
|
221
|
+
const { layer: e, relatedLayer: t } = this;
|
|
222
|
+
await e?.load(), await t?.load();
|
|
223
|
+
const { _queryFeatureCountAbortController: r, activeCategory: s, canQuery: i, objectId: a, relatedLayerKeyField: o, relationshipId: n, relationshipKey: c, supportsCacheHint: w } = this;
|
|
224
|
+
if (!i || !e || !t || a == null) {
|
|
225
|
+
this.featureCount = 0, this.allCategories = void 0;
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
if (t?.type === "subtype-group" && !s) {
|
|
229
|
+
if (this.featureCount = 0, this.relatedFeatureViewModels.destroyAll(), this.featurePage = 1, this.relatedFeatures.destroyAll(), o && c != null) {
|
|
230
|
+
const { default: $ } = await import("@arcgis/core/smartMapping/statistics/uniqueValues.js"), { uniqueValueInfos: A } = await $({
|
|
231
|
+
layer: t,
|
|
232
|
+
sqlWhere: `${o} = '${c}'`,
|
|
233
|
+
field: t.subtypeField ?? void 0,
|
|
234
|
+
signal: r?.signal
|
|
235
|
+
}), q = A.map(({ count: h, value: g }) => {
|
|
236
|
+
const b = t.subtypes?.find((L) => L.code === g)?.name;
|
|
237
|
+
return g != null && b ? {
|
|
238
|
+
count: h,
|
|
239
|
+
value: g,
|
|
240
|
+
name: b
|
|
241
|
+
} : void 0;
|
|
242
|
+
}).filter((h) => h != null);
|
|
243
|
+
this.allCategories = q;
|
|
244
|
+
}
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
247
|
+
const { historicMoment: _, gdbVersion: I } = e, v = new k({
|
|
248
|
+
cacheHint: w,
|
|
249
|
+
gdbVersion: I,
|
|
250
|
+
historicMoment: _,
|
|
251
|
+
relationshipId: n,
|
|
252
|
+
returnGeometry: !1,
|
|
253
|
+
objectIds: [a],
|
|
254
|
+
where: this._getRelationshipWhereClause(t)
|
|
255
|
+
}), p = await e.queryRelatedFeaturesCount(v, {
|
|
256
|
+
signal: r?.signal
|
|
257
|
+
});
|
|
258
|
+
this.allCategories = void 0, this.featureCount = p[a] || 0;
|
|
259
|
+
}
|
|
260
|
+
_getRelationshipWhereClause(e) {
|
|
261
|
+
const { activeCategory: t } = this, r = e.createQuery(), s = "subtypeField" in e ? e.subtypeField : void 0, i = t && s ? `${s} = ${t.value}` : void 0, a = r.where;
|
|
262
|
+
return a && i ? `(${a}) AND (${i})` : a ?? i;
|
|
263
|
+
}
|
|
264
|
+
_sliceFeatures(e) {
|
|
265
|
+
const { showAllEnabled: t, displayCount: r } = this;
|
|
266
|
+
return t ? e : r ? e.slice(0, r) : [];
|
|
267
|
+
}
|
|
268
|
+
async _queryPage() {
|
|
269
|
+
const { relatedFeatures: e, featurePage: t, showAllEnabled: r, _queryPageAbortController: s, featureCount: i } = this;
|
|
270
|
+
!r || t < 2 || !i || this.relatedLayer?.type === "subtype-group" && !this.activeCategory || e.addMany(await this._queryRelatedFeatures({ signal: s?.signal }));
|
|
271
|
+
}
|
|
272
|
+
async _queryRelatedFeatures(e) {
|
|
273
|
+
const { displayCount: t, featureCount: r, featurePage: s, featuresPerPage: i, layer: a, orderByFieldsFixedCasing: o, relatedLayer: n, relatedLayerKeyFields: c, relationshipId: w, showAllEnabled: _, supportsCacheHint: I } = this, { canQuery: v, objectId: p } = this;
|
|
274
|
+
if (!v || !a || !n || p == null)
|
|
275
|
+
return [];
|
|
276
|
+
const $ = _ ? ((s - 1) * i + r) % r : 0, A = _ ? i : t, q = n.objectIdField, h = "subtypeField" in n ? n.subtypeField : void 0, g = [
|
|
277
|
+
...o.map((u) => u.field),
|
|
278
|
+
...ae(n),
|
|
279
|
+
...c,
|
|
280
|
+
q,
|
|
281
|
+
h
|
|
282
|
+
].filter((u) => u != null), b = o.map((u) => `${u.field} ${u.order}`), { historicMoment: L, gdbVersion: T } = a, H = new k({
|
|
283
|
+
orderByFields: b,
|
|
284
|
+
start: $,
|
|
285
|
+
num: A,
|
|
286
|
+
outFields: g,
|
|
287
|
+
cacheHint: I,
|
|
288
|
+
historicMoment: L,
|
|
289
|
+
gdbVersion: T,
|
|
290
|
+
relationshipId: w,
|
|
291
|
+
returnGeometry: !1,
|
|
292
|
+
objectIds: [p],
|
|
293
|
+
where: this._getRelationshipWhereClause(n)
|
|
294
|
+
}), R = (await a.queryRelatedFeatures(H, {
|
|
295
|
+
signal: e?.signal
|
|
296
|
+
}))[p]?.features || [];
|
|
297
|
+
return n.type === "subtype-group" && h ? R.forEach((u) => {
|
|
298
|
+
const K = u.attributes[h], S = n.findSublayerForSubtypeCode?.(K);
|
|
299
|
+
u.sourceLayer = S, u.layer = S;
|
|
300
|
+
}) : R.forEach((u) => {
|
|
301
|
+
u.sourceLayer = n, u.layer = n;
|
|
302
|
+
}), R;
|
|
303
|
+
}
|
|
304
|
+
async _selectCategory(e) {
|
|
305
|
+
const { flowItems: t } = this;
|
|
306
|
+
t && (this.activeCategory = e, this.showAllEnabled = !0, this._addRelationshipFlowItem());
|
|
307
|
+
}
|
|
308
|
+
async _selectRecord(e) {
|
|
309
|
+
const { flowItems: t } = this;
|
|
310
|
+
t && N(D(e.graphic, l`<arcgis-feature .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view} ${P(this._addFlowItem)}></arcgis-feature>`), this._flowItemContainerEl);
|
|
311
|
+
}
|
|
312
|
+
_addRelationshipFlowItem() {
|
|
313
|
+
N(D(this.activeCategory, l`<arcgis-feature-relationship .messages=${this.messages} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} hide-description hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view} ${P(this._addFlowItem)}></arcgis-feature-relationship>`), this._flowItemContainerEl);
|
|
314
|
+
}
|
|
315
|
+
_showAllRecords() {
|
|
316
|
+
const { flowItems: e } = this;
|
|
317
|
+
e && (this.showAllEnabled = !0, this._addRelationshipFlowItem());
|
|
318
|
+
}
|
|
319
|
+
_handleRelatedFeatureObserverChange() {
|
|
320
|
+
this._unobserveRelatedFeatureObserver();
|
|
321
|
+
const { state: e, showAllEnabled: t } = this;
|
|
322
|
+
this._relatedFeatureIntersectionObserverNode && e === "ready" && t && this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode);
|
|
323
|
+
}
|
|
324
|
+
_relatedFeatureIntersectionObserverCreated(e) {
|
|
325
|
+
this._relatedFeatureIntersectionObserverNode = e;
|
|
326
|
+
}
|
|
327
|
+
_unobserveRelatedFeatureObserver() {
|
|
328
|
+
this._relatedFeatureIntersectionObserverNode && this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode);
|
|
329
|
+
}
|
|
330
|
+
_matchesFeature(e, t) {
|
|
331
|
+
const r = e?.graphic?.getObjectId(), s = t?.getObjectId();
|
|
332
|
+
return r != null && s != null && r === s;
|
|
333
|
+
}
|
|
334
|
+
_setRelatedFeaturesViewModels() {
|
|
335
|
+
const { relatedFeatures: e, relatedFeatureViewModels: t, map: r, view: s, spatialReference: i, timeZone: a } = this;
|
|
336
|
+
e?.filter(Boolean).forEach((o) => {
|
|
337
|
+
t.some((c) => this._matchesFeature(c, o)) || t.add(new se({
|
|
338
|
+
abilities: { relationshipContent: !1 },
|
|
339
|
+
map: r,
|
|
340
|
+
view: s,
|
|
341
|
+
spatialReference: i,
|
|
342
|
+
timeZone: a,
|
|
343
|
+
graphic: o
|
|
344
|
+
}));
|
|
345
|
+
}), t.forEach((o) => {
|
|
346
|
+
e?.find((c) => this._matchesFeature(o, c)) || t.remove(o);
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
render() {
|
|
350
|
+
const { state: e } = this;
|
|
351
|
+
return l`<div class=${y(d.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e === "loading" ? this._renderLoading() : e === "disabled" ? this._renderRelationshipNotFound() : this._renderRelatedFeatures()}</div>`;
|
|
352
|
+
}
|
|
353
|
+
_renderStickyLoading() {
|
|
354
|
+
return this.state === "querying" ? l`<div class=${y(d.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>` : null;
|
|
355
|
+
}
|
|
356
|
+
_renderLoadingIcon() {
|
|
357
|
+
return l`<calcite-loader inline label></calcite-loader>`;
|
|
358
|
+
}
|
|
359
|
+
_renderLoading() {
|
|
360
|
+
return l`<div class=${y(d.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`;
|
|
361
|
+
}
|
|
362
|
+
_renderShowAllIconNode() {
|
|
363
|
+
return l`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`;
|
|
364
|
+
}
|
|
365
|
+
_renderChevronIconNode() {
|
|
366
|
+
return l`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`;
|
|
367
|
+
}
|
|
368
|
+
_renderCategory(e) {
|
|
369
|
+
const { count: t, name: r } = e, s = M(t);
|
|
370
|
+
return l`<calcite-list-item class=${y(d.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${() => this._selectCategory(e)}><calcite-chip .label=${s} scale=s slot=content-end>${s}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`;
|
|
371
|
+
}
|
|
372
|
+
_renderRelatedFeature(e) {
|
|
373
|
+
const { itemDescriptionFieldName: t, values: r } = this, s = e.title, i = (t && r?.[t]) ?? "", a = e.state === "loading";
|
|
374
|
+
return l`<calcite-list-item class=${y(B(d.listItem, { [d.listItemHidden]: a }))} .description=${V(i.toString())} .label=${V(s)} @calciteListItemSelect=${() => this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`;
|
|
375
|
+
}
|
|
376
|
+
_renderShowAllListItem() {
|
|
377
|
+
return this.displayShowAllButton ? l`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${() => this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>` : null;
|
|
378
|
+
}
|
|
379
|
+
_renderNoRelatedFeaturesMessage() {
|
|
380
|
+
return l`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`;
|
|
381
|
+
}
|
|
382
|
+
_renderFeatureObserver() {
|
|
383
|
+
return l`<div class=${y(d.featureObserver)} ${P(this._relatedFeatureIntersectionObserverCreated)}></div>`;
|
|
384
|
+
}
|
|
385
|
+
_renderList() {
|
|
386
|
+
const { relatedFeatureViewModels: e, categories: t } = this;
|
|
387
|
+
return l`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList ?? ""}>${t?.map((r) => this._renderCategory(r)) ?? e.toArray().map((r) => this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`;
|
|
388
|
+
}
|
|
389
|
+
_renderRelatedFeatures() {
|
|
390
|
+
const { displayListItems: e } = this, { state: t } = this;
|
|
391
|
+
return l`<div class=${y(B(d.listContainer, {
|
|
392
|
+
[d.listContainerQuerying]: t === "querying"
|
|
393
|
+
}))}>${e ? this._renderList() : t === "ready" ? this._renderNoRelatedFeaturesMessage() : null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`;
|
|
394
|
+
}
|
|
395
|
+
_renderRelationshipNotFound() {
|
|
396
|
+
return l`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
W("arcgis-feature-relationship", le);
|
|
400
|
+
export {
|
|
401
|
+
le as ArcgisFeatureRelationship
|
|
402
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "../arcgis-feature/index.js";
|
|
2
|
+
import ".//index.js";
|
|
3
|
+
import "../arcgis-feature-element-info/index.js";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-chip";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
10
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "../arcgis-feature/index.js";
|
|
2
|
+
import ".//index.js";
|
|
3
|
+
import "../arcgis-feature-element-info/index.js";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-chip";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
10
|
+
export * from "./customElement.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as FeatureTable } from '@arcgis/core/widgets/FeatureTable.js';
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
@@ -10,8 +10,8 @@ declare const useFeatureTableWidget: (component: LitElement & Pick<FeatureTable,
|
|
|
10
10
|
state?: "loaded" | "ready" | "loading" | "disabled" | "error" | undefined;
|
|
11
11
|
viewModel?: __esri.FeatureTableViewModel | undefined;
|
|
12
12
|
closed?: boolean;
|
|
13
|
-
icon: import('@arcgis/
|
|
14
|
-
label: import('@arcgis/
|
|
13
|
+
icon: import('@arcgis/toolkit/type').nil | string;
|
|
14
|
+
label: import('@arcgis/toolkit/type').nil | string;
|
|
15
15
|
referenceElement?: ArcgisReferenceElement | string;
|
|
16
16
|
position: __esri.UIPosition;
|
|
17
17
|
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
@@ -434,6 +434,11 @@ export declare class ArcgisFeatureTable extends LitElement {
|
|
|
434
434
|
paginationEnabled: boolean;
|
|
435
435
|
/** @default "manual" */
|
|
436
436
|
position: __esri.UIPosition;
|
|
437
|
+
/**
|
|
438
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
439
|
+
*
|
|
440
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
441
|
+
*/
|
|
437
442
|
referenceElement?: ArcgisReferenceElement | string;
|
|
438
443
|
/**
|
|
439
444
|
* Indicates whether to display any related records associated with rows within the table.
|
|
@@ -524,7 +529,8 @@ export declare class ArcgisFeatureTable extends LitElement {
|
|
|
524
529
|
*/
|
|
525
530
|
readonly supportsDeleteAttachments: boolean;
|
|
526
531
|
/**
|
|
527
|
-
*
|
|
532
|
+
* Defines whether or not the feature supports resizing
|
|
533
|
+
* attachments.
|
|
528
534
|
*
|
|
529
535
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html#supportsResizeAttachments)
|
|
530
536
|
*
|
|
@@ -610,7 +616,7 @@ export declare class ArcgisFeatureTable extends LitElement {
|
|
|
610
616
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
611
617
|
name: "state" | "size" | "effectiveSize" | "isQueryingOrSyncing" | "layerView";
|
|
612
618
|
}>;
|
|
613
|
-
/** Emitted when the component associated with a map or scene view is
|
|
619
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
614
620
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
615
621
|
readonly arcgisSelectionChange: TargetedEvent<this, __esri.CollectionChangeEvent<string | number>>;
|
|
616
622
|
}
|
|
@@ -6,10 +6,10 @@ import a from "@arcgis/core/widgets/FeatureTable.js";
|
|
|
6
6
|
import { LitElement as d, createEvent as l, noShadowRoot as r } from "@arcgis/lumina";
|
|
7
7
|
import { m as g } from "../../chunks/useWidget.js";
|
|
8
8
|
import { e as m, g as c } from "../../chunks/component-utils.js";
|
|
9
|
-
import { css as u } from "
|
|
9
|
+
import { css as u } from "lit";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.70 */
|
|
13
13
|
const w = u`@layer{arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}}`, p = g(a);
|
|
14
14
|
class b extends d {
|
|
15
15
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as FeatureTemplates } from '@arcgis/core/widgets/FeatureTemplates.js';
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
@@ -9,8 +9,8 @@ declare const useFeatureTemplatesWidget: (component: LitElement & Pick<FeatureTe
|
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.FeatureTemplatesViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
12
|
-
icon: import('@arcgis/
|
|
13
|
-
label: import('@arcgis/
|
|
12
|
+
icon: import('@arcgis/toolkit/type').nil | string;
|
|
13
|
+
label: import('@arcgis/toolkit/type').nil | string;
|
|
14
14
|
referenceElement?: ArcgisReferenceElement | string;
|
|
15
15
|
position: __esri.UIPosition;
|
|
16
16
|
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
@@ -21,7 +21,9 @@ declare const useFeatureTemplatesWidget: (component: LitElement & Pick<FeatureTe
|
|
|
21
21
|
childElem?: HTMLElement & {
|
|
22
22
|
ownedBy?: HTMLElement;
|
|
23
23
|
};
|
|
24
|
-
view
|
|
24
|
+
view
|
|
25
|
+
/** @copyDoc */
|
|
26
|
+
?: __esri.LinkChartView | __esri.MapView | __esri.SceneView;
|
|
25
27
|
};
|
|
26
28
|
autoDestroyDisabled: boolean;
|
|
27
29
|
destroy: () => Promise<void>;
|
|
@@ -97,6 +99,11 @@ export declare class ArcgisFeatureTemplates extends LitElement {
|
|
|
97
99
|
layers: (__esri.FeatureLayer | __esri.SceneLayer | __esri.SubtypeGroupLayer | __esri.GeoJSONLayer | __esri.OrientedImageryLayer | __esri.SubtypeSublayer)[];
|
|
98
100
|
/** @default "bottom-left" */
|
|
99
101
|
position: __esri.UIPosition;
|
|
102
|
+
/**
|
|
103
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
104
|
+
*
|
|
105
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
106
|
+
*/
|
|
100
107
|
referenceElement?: ArcgisReferenceElement | string;
|
|
101
108
|
/**
|
|
102
109
|
* Specifies the selection behavior of list items.
|
|
@@ -118,7 +125,7 @@ export declare class ArcgisFeatureTemplates extends LitElement {
|
|
|
118
125
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
119
126
|
name: "state";
|
|
120
127
|
}>;
|
|
121
|
-
/** Emitted when the component associated with a map or scene view is
|
|
128
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
122
129
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
123
130
|
readonly arcgisSelect: TargetedEvent<this, __esri.FeatureTemplatesSelectEvent>;
|
|
124
131
|
}
|
|
@@ -4,10 +4,10 @@ import { reEmitEvent as i } from "@arcgis/lumina/controllers/accessor";
|
|
|
4
4
|
import s from "@arcgis/core/widgets/FeatureTemplates.js";
|
|
5
5
|
import { LitElement as o, createEvent as r, noShadowRoot as l } from "@arcgis/lumina";
|
|
6
6
|
import { m as a } from "../../chunks/useWidget.js";
|
|
7
|
-
import { css as h } from "
|
|
7
|
+
import { css as h } from "lit";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.70 */
|
|
11
11
|
const n = h`@layer{arcgis-feature-templates{display:block}}`, c = a(s);
|
|
12
12
|
class d extends o {
|
|
13
13
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as Features } from '@arcgis/core/widgets/Features.js';
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
@@ -9,8 +9,8 @@ declare const useFeaturesWidget: (component: LitElement & Pick<Features, "icon"
|
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.FeaturesViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
12
|
-
icon: import('@arcgis/
|
|
13
|
-
label: import('@arcgis/
|
|
12
|
+
icon: import('@arcgis/toolkit/type').nil | string;
|
|
13
|
+
label: import('@arcgis/toolkit/type').nil | string;
|
|
14
14
|
referenceElement?: ArcgisReferenceElement | string;
|
|
15
15
|
position: __esri.UIPosition;
|
|
16
16
|
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
@@ -220,6 +220,11 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
220
220
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features.html#promises)
|
|
221
221
|
*/
|
|
222
222
|
promises: Promise<any>[];
|
|
223
|
+
/**
|
|
224
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
225
|
+
*
|
|
226
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
227
|
+
*/
|
|
223
228
|
referenceElement?: ArcgisReferenceElement | string;
|
|
224
229
|
/**
|
|
225
230
|
* The selected feature accessed by the Features widget.
|
|
@@ -276,7 +281,7 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
276
281
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
277
282
|
name: "state" | "selectedFeature" | "selectedFeatureIndex";
|
|
278
283
|
}>;
|
|
279
|
-
/** Emitted when the component associated with a map or scene view is
|
|
284
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
280
285
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
281
286
|
/** Emitted when an action is triggered on the component. */
|
|
282
287
|
readonly arcgisTriggerAction: TargetedEvent<this, __esri.FeaturesTriggerActionEvent>;
|
|
@@ -4,11 +4,11 @@ import { reEmitEvent as a } from "@arcgis/lumina/controllers/accessor";
|
|
|
4
4
|
import o from "@arcgis/core/widgets/Features.js";
|
|
5
5
|
import { LitElement as r, createEvent as n, noShadowRoot as h } from "@arcgis/lumina";
|
|
6
6
|
import { m as d } from "../../chunks/useWidget.js";
|
|
7
|
-
import { css as l } from "
|
|
7
|
+
import { css as l } from "lit";
|
|
8
8
|
import { c } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.70 */
|
|
12
12
|
const g = l`@layer{arcgis-features{display:flex;flex-direction:column;overflow:hidden;.esri-features{flex:1 1 auto;overflow:hidden}}}`, u = d(o);
|
|
13
13
|
class w extends r {
|
|
14
14
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
/// <reference
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as FloorFilter } from '@arcgis/core/widgets/FloorFilter.js';
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
@@ -9,8 +9,8 @@ declare const useFloorFilterWidget: (component: LitElement & Pick<FloorFilter, "
|
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.FloorFilterViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
12
|
-
icon: import('@arcgis/
|
|
13
|
-
label: import('@arcgis/
|
|
12
|
+
icon: import('@arcgis/toolkit/type').nil | string;
|
|
13
|
+
label: import('@arcgis/toolkit/type').nil | string;
|
|
14
14
|
referenceElement?: ArcgisReferenceElement | string;
|
|
15
15
|
position: __esri.UIPosition;
|
|
16
16
|
arcgisReady: import('@arcgis/lumina').EventEmitter;
|
|
@@ -21,7 +21,9 @@ declare const useFloorFilterWidget: (component: LitElement & Pick<FloorFilter, "
|
|
|
21
21
|
childElem?: HTMLElement & {
|
|
22
22
|
ownedBy?: HTMLElement;
|
|
23
23
|
};
|
|
24
|
-
view
|
|
24
|
+
view
|
|
25
|
+
/** @copyDoc */
|
|
26
|
+
?: __esri.LinkChartView | __esri.MapView | __esri.SceneView;
|
|
25
27
|
};
|
|
26
28
|
autoDestroyDisabled: boolean;
|
|
27
29
|
destroy: () => Promise<void>;
|
|
@@ -83,6 +85,11 @@ export declare class ArcgisFloorFilter extends LitElement {
|
|
|
83
85
|
longNames: boolean;
|
|
84
86
|
/** @default "bottom-left" */
|
|
85
87
|
position: __esri.UIPosition;
|
|
88
|
+
/**
|
|
89
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
90
|
+
*
|
|
91
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
92
|
+
*/
|
|
86
93
|
referenceElement?: ArcgisReferenceElement | string;
|
|
87
94
|
/**
|
|
88
95
|
* The currently selected site.
|
|
@@ -93,7 +100,7 @@ export declare class ArcgisFloorFilter extends LitElement {
|
|
|
93
100
|
/** Permanently destroy the component. */
|
|
94
101
|
destroy(): Promise<void>;
|
|
95
102
|
updateWebDocument(webMap: __esri.WebMap): Promise<void>;
|
|
96
|
-
/** Emitted when the component associated with a map or scene view is
|
|
103
|
+
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
97
104
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
98
105
|
}
|
|
99
106
|
export {};
|