@arcgis/map-components 4.34.0-next.83 → 4.34.0-next.85
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/26UA5JEK.js +4 -0
- package/dist/cdn/2DPRYEVD.js +4 -0
- package/dist/cdn/{4Z4NCYCJ.js → 2SANDXQA.js} +2 -2
- package/dist/cdn/{GFHBI3QI.js → 2WLZU4KB.js} +2 -2
- package/dist/cdn/{OVWX6BZ2.js → 2ZFEPBSN.js} +2 -2
- package/dist/cdn/35NBOWX3.js +4 -0
- package/dist/cdn/37IPV33M.js +4 -0
- package/dist/cdn/{E3EDM6BM.js → 3AMN5QRR.js} +2 -2
- package/dist/cdn/3B6J64WY.js +4 -0
- package/dist/cdn/3GQPRO3C.js +4 -0
- package/dist/cdn/3NDA4KSL.js +4 -0
- package/dist/cdn/{OEEKFM4S.js → 3RWCMB3L.js} +2 -2
- package/dist/cdn/45GCHQLL.js +4 -0
- package/dist/cdn/{TUQ6DHM7.js → 4G5DVEA3.js} +2 -2
- package/dist/cdn/4JVUOYYR.js +4 -0
- package/dist/cdn/{GGWRDT2L.js → 4LMQFYBA.js} +2 -2
- package/dist/cdn/4O3KPSBS.js +4 -0
- package/dist/cdn/{MAFNRUP4.js → 4TZQ3RY3.js} +2 -2
- package/dist/cdn/{GNTEPUSB.js → 4W7XHVVQ.js} +2 -2
- package/dist/cdn/4Z65J5D3.js +4 -0
- package/dist/cdn/{HVOI2W7W.js → 57QQH6HV.js} +2 -2
- package/dist/cdn/{T2TQSVAP.js → 57TRELEW.js} +2 -2
- package/dist/cdn/{X5DM7OLR.js → 5HX4MXZQ.js} +2 -2
- package/dist/cdn/{HNNT3LXF.js → 5LPPOBKF.js} +2 -2
- package/dist/cdn/{O5IVOA6B.js → 5OOCTSOD.js} +2 -2
- package/dist/cdn/5XWRSE2E.js +4 -0
- package/dist/cdn/{APFFFDVO.js → 65WGOX5V.js} +2 -2
- package/dist/cdn/65WT4DUX.js +4 -0
- package/dist/cdn/{EKX3G3SL.js → 66M7LPP3.js} +1 -1
- package/dist/cdn/{OGFBZR5Z.js → 6SOCGEEC.js} +2 -2
- package/dist/cdn/{I7T37P43.js → 73PU3EF5.js} +2 -2
- package/dist/cdn/7AVL2BI3.js +4 -0
- package/dist/cdn/7ECU4OVM.js +4 -0
- package/dist/cdn/7GN2X4MI.js +4 -0
- package/dist/cdn/{WP2XATG2.js → 7HLFCJUK.js} +2 -2
- package/dist/cdn/7HSZZLIW.js +4 -0
- package/dist/cdn/{IVJ6ZTR2.js → 7PMTUTHK.js} +2 -2
- package/dist/cdn/{5RBDXV7C.js → 7WYIFG56.js} +2 -2
- package/dist/cdn/A3MT4GA6.js +4 -0
- package/dist/cdn/AHIH6AWE.js +4 -0
- package/dist/cdn/{BLN3YEGZ.js → AJ735OUU.js} +2 -2
- package/dist/cdn/AJYBOGVW.js +4 -0
- package/dist/cdn/AUSMDKDW.js +4 -0
- package/dist/cdn/{74XZPQTI.js → AVABEUCW.js} +2 -2
- package/dist/cdn/{T52WGYKZ.js → BATHRGBY.js} +2 -2
- package/dist/cdn/{FXLPPLHV.js → BESRXV2B.js} +2 -2
- package/dist/cdn/BH36BN3F.js +4 -0
- package/dist/cdn/{HSYGNAVQ.js → BMS7W5FX.js} +2 -2
- package/dist/cdn/{QSWZUMBR.js → BUCFUVXN.js} +2 -2
- package/dist/cdn/{Z3B3P62E.js → BWSC6XUQ.js} +2 -2
- package/dist/cdn/CGWFSZ5L.js +4 -0
- package/dist/cdn/{KLSFHRXW.js → CHQEDT4P.js} +2 -2
- package/dist/cdn/CIS4ZY5H.js +4 -0
- package/dist/cdn/{ZYJ5ZHXY.js → COB4YINF.js} +2 -2
- package/dist/cdn/{F3TEMUVY.js → D3ENCRN4.js} +2 -2
- package/dist/cdn/D6T4L3BS.js +4 -0
- package/dist/cdn/DFA3L4AV.js +4 -0
- package/dist/cdn/DFORSFFI.js +4 -0
- package/dist/cdn/{65Y5QSVR.js → DMOCPXCS.js} +2 -2
- package/dist/cdn/{NT2QUJ37.js → DSSWO7OR.js} +2 -2
- package/dist/cdn/DXYOOHXP.js +4 -0
- package/dist/cdn/E5WEPGE5.js +4 -0
- package/dist/cdn/E7F2AFRA.js +4 -0
- package/dist/cdn/EFBU5NMI.js +4 -0
- package/dist/cdn/EGEO2BLG.js +4 -0
- package/dist/cdn/{DELHRPQZ.js → EJWN5CFJ.js} +2 -2
- package/dist/cdn/EMEY5SDB.js +4 -0
- package/dist/cdn/{4ZWGID6X.js → EN3MJUET.js} +2 -2
- package/dist/cdn/{MX36JPH7.js → EY4FCPZB.js} +2 -2
- package/dist/cdn/{RGKG46AC.js → EZ527SDQ.js} +2 -2
- package/dist/cdn/FJT23QIZ.js +4 -0
- package/dist/cdn/FO6U5GUY.js +4 -0
- package/dist/cdn/FR63OPEC.js +4 -0
- package/dist/cdn/{32KR6PA5.js → G6MLZFXN.js} +2 -2
- package/dist/cdn/{VWFGLAKX.js → GDN4IPMQ.js} +1 -1
- package/dist/cdn/GDX4NNTS.js +4 -0
- package/dist/cdn/GR2RTUJC.js +4 -0
- package/dist/cdn/GY2QEFHO.js +4 -0
- package/dist/cdn/{LSICF5FV.js → GYJ2WLIM.js} +2 -2
- package/dist/cdn/{ROSPWOB3.js → H4USYXFN.js} +2 -2
- package/dist/cdn/H4Y2ABMC.js +4 -0
- package/dist/cdn/{X5OIVBXW.js → H7FTVX23.js} +2 -2
- package/dist/cdn/{TSTHUJEK.js → HEXDYYEX.js} +2 -2
- package/dist/cdn/HJK5VQP4.js +4 -0
- package/dist/cdn/HMTY74S3.js +4 -0
- package/dist/cdn/{2R5ZAA7S.js → HOTM3JGQ.js} +2 -2
- package/dist/cdn/HRRJKX3E.js +4 -0
- package/dist/cdn/{QQ25PTSV.js → HSV5JDJY.js} +2 -2
- package/dist/cdn/{T5ACZMIQ.js → HVYTYKGI.js} +2 -2
- package/dist/cdn/HYWUCCEI.js +5 -0
- package/dist/cdn/{LQBLPR36.js → INAONM5M.js} +2 -2
- package/dist/cdn/INCA6JTE.js +4 -0
- package/dist/cdn/{2VE5SVWX.js → INTWDYT4.js} +2 -2
- package/dist/cdn/{TEYQIIGJ.js → ISESN3YK.js} +2 -2
- package/dist/cdn/{7YVZPRYD.js → IUA4DSXS.js} +2 -2
- package/dist/cdn/{DVVQBID4.js → IUR5ELOK.js} +2 -2
- package/dist/cdn/JMV5DXRN.js +4 -0
- package/dist/cdn/{Z6H6R35A.js → KAYEWKA5.js} +2 -2
- package/dist/cdn/KFB3UAEI.js +4 -0
- package/dist/cdn/KK6I3EQH.js +4 -0
- package/dist/cdn/KODBMWJH.js +4 -0
- package/dist/cdn/{U6TG6KWS.js → KSSQVVKP.js} +2 -2
- package/dist/cdn/{JSKYP4ZL.js → LHZA3OYS.js} +2 -2
- package/dist/cdn/LJ3GOX3T.js +4 -0
- package/dist/cdn/LOTAILZP.js +4 -0
- package/dist/cdn/LPEMG4UN.js +4 -0
- package/dist/cdn/{X2FXOGJC.js → LS4RP7AG.js} +2 -2
- package/dist/cdn/LSOI3TTG.js +4 -0
- package/dist/cdn/{25LFWRSC.js → M26ZRQM6.js} +2 -2
- package/dist/cdn/MCQHTRWS.js +4 -0
- package/dist/cdn/MD4JND4P.js +4 -0
- package/dist/cdn/{JZ2TV6B2.js → MZI7CQYU.js} +2 -2
- package/dist/cdn/{MAKGCPB3.js → N2J6YZUY.js} +2 -2
- package/dist/cdn/N5BJ3UMM.js +4 -0
- package/dist/cdn/{RXO4YKKJ.js → NC5B62KQ.js} +2 -2
- package/dist/cdn/{B3EWA4AI.js → NGFUVSSH.js} +2 -2
- package/dist/cdn/{CKSIP6YB.js → NJP6ECRR.js} +1 -1
- package/dist/cdn/NQYENDIW.js +4 -0
- package/dist/cdn/{3KDD4J5U.js → NSKDNJS2.js} +2 -2
- package/dist/cdn/NZ2EVC4A.js +4 -0
- package/dist/cdn/{CARDB3GN.js → O7JZIAHX.js} +2 -2
- package/dist/cdn/OAEVBIHK.js +4 -0
- package/dist/cdn/{5OBJI2A4.js → OK5W72QI.js} +2 -2
- package/dist/cdn/OOWJRFYO.js +4 -0
- package/dist/cdn/OPZUVQVO.js +4 -0
- package/dist/cdn/{W6LOCZKO.js → OVDHE7KN.js} +2 -2
- package/dist/cdn/OVR6ZZZ6.js +4 -0
- package/dist/cdn/{NT6GQ2KH.js → P42AAJN6.js} +2 -2
- package/dist/cdn/PKGRJ4DY.js +4 -0
- package/dist/cdn/{TGMXNYHN.js → PKZ67MSC.js} +2 -2
- package/dist/cdn/{KG3PSXZK.js → PPPTESRG.js} +2 -2
- package/dist/cdn/{M4WT6NY7.js → PYIKDLX5.js} +1 -1
- package/dist/cdn/Q3IY6GHC.js +4 -0
- package/dist/cdn/{QTD6KGP4.js → QLFRM3K5.js} +2 -2
- package/dist/cdn/QPQV57VF.js +4 -0
- package/dist/cdn/{NJY5TRNT.js → QQXP6RLR.js} +2 -2
- package/dist/cdn/QSEMOQ6U.js +4 -0
- package/dist/cdn/{TOUVB4L7.js → QWUEAZKT.js} +2 -2
- package/dist/cdn/RIDVCJKT.js +4 -0
- package/dist/cdn/RIYCIHID.js +4 -0
- package/dist/cdn/RJ6ZHITV.js +4 -0
- package/dist/cdn/{R7V6PYLY.js → RN4YWTR3.js} +1 -1
- package/dist/cdn/{X6M67J3F.js → RNZK5GHT.js} +2 -2
- package/dist/cdn/{44MTHE2V.js → RQ5RAFOX.js} +1 -1
- package/dist/cdn/{Q6F7UKGM.js → RVYRFEO6.js} +2 -2
- package/dist/cdn/{BXFMVFUZ.js → RXFHFZMZ.js} +2 -2
- package/dist/cdn/RYOAHMSU.js +4 -0
- package/dist/cdn/{T77XB25B.js → SKY245VR.js} +2 -2
- package/dist/cdn/{4J52SRDR.js → SQU37SGY.js} +2 -2
- package/dist/cdn/{DZIOMUWW.js → STQMCRG6.js} +2 -2
- package/dist/cdn/T2MBMBNX.js +4 -0
- package/dist/cdn/T4FYLWO2.js +4 -0
- package/dist/cdn/T6GC3WBD.js +4 -0
- package/dist/cdn/{DX4TCCYR.js → TFJ3PJ2G.js} +2 -2
- package/dist/cdn/{UC6Z2IQN.js → TKOGLJ2Y.js} +2 -2
- package/dist/cdn/{5NX6QKDX.js → U2XVE6MU.js} +2 -2
- package/dist/cdn/U7CNNSFM.js +4 -0
- package/dist/cdn/{ROBNS42E.js → UITL4HGO.js} +2 -2
- package/dist/cdn/UROYDVWP.js +4 -0
- package/dist/cdn/UXM4NZTI.js +4 -0
- package/dist/cdn/VA6MT3BA.js +4 -0
- package/dist/cdn/VAEYUMY7.js +4 -0
- package/dist/cdn/{22CVPHSW.js → VJSVC3ZP.js} +1 -1
- package/dist/cdn/VVJ3HAR6.js +4 -0
- package/dist/cdn/VWLIDQ4Y.js +4 -0
- package/dist/cdn/{BYNNXHPP.js → WIZZHEX7.js} +2 -2
- package/dist/cdn/X3SQC5FW.js +4 -0
- package/dist/cdn/{B5RQSXA3.js → XDMTJWRH.js} +2 -2
- package/dist/cdn/{M7VAZVWP.js → XGEFOF25.js} +2 -2
- package/dist/cdn/{XFHUTFNC.js → XHB7OU2L.js} +2 -2
- package/dist/cdn/XIBYTZ7H.js +4 -0
- package/dist/cdn/XLBDZ7AR.js +4 -0
- package/dist/cdn/XMLLIFY6.js +4 -0
- package/dist/cdn/{5JFVPHJ7.js → XOGC5T7Z.js} +2 -2
- package/dist/cdn/XTVWXND3.js +4 -0
- package/dist/cdn/{DOBRM6LO.js → XY4OEXJ2.js} +2 -2
- package/dist/cdn/YDH5FWQH.js +4 -0
- package/dist/cdn/YZ63EIKT.js +4 -0
- package/dist/cdn/{ZUC7EGF5.js → Z7LJDRA3.js} +1 -1
- package/dist/cdn/{MNMJF754.js → ZFLWAHHO.js} +2 -2
- package/dist/cdn/ZGHATFFL.js +4 -0
- package/dist/cdn/ZHCVOSSB.js +4 -0
- package/dist/cdn/{UCAFINSP.js → ZHS3ZBRH.js} +2 -2
- package/dist/cdn/ZK2CC7MG.js +4 -0
- package/dist/cdn/{UG2RD5AQ.js → ZPLOVFI2.js} +2 -2
- package/dist/cdn/ZSDCTKVU.js +4 -0
- package/dist/cdn/{CCBMUCQU.js → ZZWXRNL2.js} +1 -1
- package/dist/cdn/assets/expand/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/legend/images/transparent-bg.png +0 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +2 -2
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +113 -99
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +2 -2
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/layer-list.js +4 -4
- 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/slots.js +27 -0
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +34 -34
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-2d/customElement.js +13 -16
- package/dist/components/arcgis-area-measurement-3d/customElement.js +74 -77
- package/dist/components/arcgis-attachments/customElement.d.ts +2 -2
- package/dist/components/arcgis-attachments/customElement.js +8 -11
- package/dist/components/arcgis-basemap-gallery/basemap-gallery-resources.d.ts +13 -13
- package/dist/components/arcgis-basemap-gallery/customElement.js +39 -44
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +36 -34
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.js +13 -16
- package/dist/components/arcgis-basemap-toggle/css.d.ts +9 -9
- package/dist/components/arcgis-basemap-toggle/customElement.js +32 -35
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -3
- package/dist/components/arcgis-bookmarks/customElement.js +242 -245
- package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -4
- package/dist/components/arcgis-building-explorer/customElement.js +11 -14
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +13 -16
- package/dist/components/arcgis-compass/customElement.d.ts +3 -2
- package/dist/components/arcgis-compass/customElement.js +23 -25
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +14 -17
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -5
- package/dist/components/arcgis-daylight/customElement.js +9 -12
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +74 -77
- package/dist/components/arcgis-directional-pad/customElement.js +19 -22
- package/dist/components/arcgis-directions/customElement.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.js +30 -33
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +12 -15
- package/dist/components/arcgis-editor/customElement.js +13 -16
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +12 -15
- package/dist/components/arcgis-expand/customElement.d.ts +111 -78
- package/dist/components/arcgis-expand/customElement.js +119 -19
- package/dist/components/arcgis-expand/index.d.ts +5 -0
- package/dist/components/arcgis-expand/index.js +5 -0
- package/dist/components/arcgis-feature/customElement.js +85 -88
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-attachments/customElement.js +9 -12
- package/dist/components/arcgis-feature-content/customElement.js +11 -14
- package/dist/components/arcgis-feature-element-info/customElement.js +13 -16
- package/dist/components/arcgis-feature-expression/customElement.js +53 -56
- package/dist/components/arcgis-feature-fields/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +23 -26
- package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +13 -16
- package/dist/components/arcgis-feature-media/customElement.js +23 -26
- package/dist/components/arcgis-feature-relationship/customElement.js +31 -34
- package/dist/components/arcgis-feature-table/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-table/customElement.js +27 -30
- package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -4
- package/dist/components/arcgis-feature-templates/customElement.js +14 -17
- package/dist/components/arcgis-features/customElement.d.ts +3 -3
- package/dist/components/arcgis-features/customElement.js +11 -14
- package/dist/components/arcgis-floor-filter/customElement.d.ts +8 -6
- package/dist/components/arcgis-floor-filter/customElement.js +13 -16
- package/dist/components/arcgis-fullscreen/customElement.d.ts +5 -5
- package/dist/components/arcgis-fullscreen/customElement.js +21 -20
- package/dist/components/arcgis-grid-controls/customElement.js +83 -86
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.js +14 -17
- package/dist/components/arcgis-home/customElement.js +19 -22
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +3 -6
- package/dist/components/arcgis-layer-list/customElement.js +13 -16
- package/dist/components/arcgis-layer-list-item/customElement.js +39 -42
- package/dist/components/arcgis-legend/customElement.js +12 -15
- package/dist/components/arcgis-line-of-sight/customElement.js +42 -45
- package/dist/components/arcgis-link-chart/customElement.d.ts +6 -6
- package/dist/components/arcgis-link-chart/customElement.js +61 -59
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +17 -21
- package/dist/components/arcgis-locate/customElement.js +67 -69
- package/dist/components/arcgis-map/customElement.d.ts +7 -7
- package/dist/components/arcgis-map/customElement.js +69 -67
- package/dist/components/arcgis-measurement/customElement.d.ts +2 -2
- package/dist/components/arcgis-measurement/customElement.js +12 -15
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/css.d.ts +1 -0
- package/dist/components/arcgis-navigation-toggle/customElement.js +18 -20
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +14 -17
- package/dist/components/arcgis-placement/customElement.d.ts +1 -2
- package/dist/components/arcgis-placement/customElement.js +18 -26
- package/dist/components/arcgis-print/customElement.js +33 -36
- package/dist/components/arcgis-print/utils.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +14 -17
- package/dist/components/arcgis-print-dpi-input/customElement.js +7 -10
- package/dist/components/arcgis-print-export-button/customElement.js +5 -8
- package/dist/components/arcgis-print-exported-link/customElement.js +11 -14
- package/dist/components/arcgis-print-exports-panel/customElement.js +5 -5
- package/dist/components/arcgis-print-format-select/customElement.js +7 -10
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +5 -8
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +61 -61
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +10 -13
- package/dist/components/arcgis-scene/customElement.d.ts +3 -3
- package/dist/components/arcgis-scene/customElement.js +100 -98
- package/dist/components/arcgis-search/customElement.js +58 -61
- package/dist/components/arcgis-search-result-renderer/customElement.js +31 -34
- package/dist/components/arcgis-shadow-cast/customElement.js +13 -16
- package/dist/components/arcgis-sketch/customElement.d.ts +5 -5
- package/dist/components/arcgis-sketch/customElement.js +21 -24
- package/dist/components/arcgis-slice/customElement.js +73 -76
- package/dist/components/arcgis-swipe/customElement.d.ts +2 -2
- package/dist/components/arcgis-swipe/customElement.js +34 -36
- package/dist/components/arcgis-table-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-table-list/customElement.js +14 -17
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-time-slider/customElement.js +18 -21
- package/dist/components/arcgis-time-zone-label/customElement.js +38 -41
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/customElement.js +18 -21
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +15 -14
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +13 -12
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +3 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +21 -20
- package/dist/components/arcgis-value-picker/customElement.d.ts +6 -4
- package/dist/components/arcgis-value-picker/customElement.js +13 -16
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +100 -103
- package/dist/components/arcgis-version-management-service-item/customElement.js +10 -13
- package/dist/components/arcgis-version-management-version-item/customElement.js +6 -9
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +15 -18
- package/dist/components/arcgis-video/customElement.d.ts +2 -2
- package/dist/components/arcgis-video/customElement.js +25 -23
- package/dist/components/arcgis-video-player/customElement.js +29 -32
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +10 -13
- package/dist/components/arcgis-video-player-controls-group/customElement.js +7 -10
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +77 -80
- package/dist/components/arcgis-zoom/css.d.ts +1 -1
- package/dist/components/arcgis-zoom/customElement.js +25 -28
- package/dist/docs/api.json +164 -181
- package/dist/docs/docs.json +223 -183
- package/dist/docs/vscode.html-custom-data.json +24 -18
- package/dist/docs/web-types.json +60 -52
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/resources.d.ts +17 -0
- package/dist/support/slots.d.ts +2 -0
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/dist/utils/globalCss.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cdn/27KYRTH4.js +0 -4
- package/dist/cdn/2EPD7A6D.js +0 -4
- package/dist/cdn/2QM4W2XA.js +0 -4
- package/dist/cdn/2WTT6YDN.js +0 -4
- package/dist/cdn/3ISIE33G.js +0 -4
- package/dist/cdn/3SCNVMJZ.js +0 -4
- package/dist/cdn/4AHXJMWA.js +0 -4
- package/dist/cdn/4BHSRL64.js +0 -4
- package/dist/cdn/4GLRKAKZ.js +0 -4
- package/dist/cdn/4QQ5QA57.js +0 -4
- package/dist/cdn/4TG76MVW.js +0 -4
- package/dist/cdn/4YO3CSB4.js +0 -4
- package/dist/cdn/5EQPHJN3.js +0 -4
- package/dist/cdn/5JBMOEEV.js +0 -4
- package/dist/cdn/5TBEOVQH.js +0 -4
- package/dist/cdn/6JIJZBTX.js +0 -4
- package/dist/cdn/7G4L5ACZ.js +0 -4
- package/dist/cdn/7JRK64IN.js +0 -4
- package/dist/cdn/AEYEWONV.js +0 -4
- package/dist/cdn/ANEHP4HZ.js +0 -4
- package/dist/cdn/B64LWJMV.js +0 -4
- package/dist/cdn/B65UCJAS.js +0 -4
- package/dist/cdn/B7IX2E2T.js +0 -4
- package/dist/cdn/BACXUIW3.js +0 -4
- package/dist/cdn/BMTSCRLD.js +0 -4
- package/dist/cdn/BPL5XNUO.js +0 -4
- package/dist/cdn/BX32LCLT.js +0 -4
- package/dist/cdn/CATRLIM5.js +0 -4
- package/dist/cdn/CHC4LWFL.js +0 -4
- package/dist/cdn/DCA5GSSY.js +0 -4
- package/dist/cdn/DNJA5M7M.js +0 -4
- package/dist/cdn/DZIGFEQI.js +0 -4
- package/dist/cdn/EIURXAQO.js +0 -4
- package/dist/cdn/ELYAJQVJ.js +0 -4
- package/dist/cdn/F32T2CUK.js +0 -4
- package/dist/cdn/FDEEV3TO.js +0 -4
- package/dist/cdn/FI2GUTDA.js +0 -4
- package/dist/cdn/FY5I22ZA.js +0 -4
- package/dist/cdn/FZWOKZVY.js +0 -4
- package/dist/cdn/G52SD4YQ.js +0 -4
- package/dist/cdn/GERC2GCK.js +0 -4
- package/dist/cdn/GIRJ2J5B.js +0 -4
- package/dist/cdn/GJNRUMLM.js +0 -4
- package/dist/cdn/GMYJQ6GY.js +0 -4
- package/dist/cdn/ICB7JL2B.js +0 -4
- package/dist/cdn/JB52NHRV.js +0 -4
- package/dist/cdn/JJZDWCPZ.js +0 -4
- package/dist/cdn/JKLARZVA.js +0 -4
- package/dist/cdn/JN67VPNW.js +0 -4
- package/dist/cdn/JOFKMBBI.js +0 -4
- package/dist/cdn/JOFMI63B.js +0 -4
- package/dist/cdn/KBRAC5BM.js +0 -4
- package/dist/cdn/KEQDU3YI.js +0 -4
- package/dist/cdn/KQJ2WYZS.js +0 -4
- package/dist/cdn/L2HA42RC.js +0 -4
- package/dist/cdn/LEWQFT3N.js +0 -4
- package/dist/cdn/LNXF5PBY.js +0 -4
- package/dist/cdn/LZYRVBDQ.js +0 -4
- package/dist/cdn/M33PLK4N.js +0 -4
- package/dist/cdn/MCFC32CJ.js +0 -4
- package/dist/cdn/MEDTZC4L.js +0 -4
- package/dist/cdn/MNAM54VS.js +0 -4
- package/dist/cdn/MV5PLNPD.js +0 -4
- package/dist/cdn/MYHBZCFF.js +0 -4
- package/dist/cdn/NKDJCF5B.js +0 -4
- package/dist/cdn/NSQYC4OD.js +0 -4
- package/dist/cdn/NZAIPHBW.js +0 -4
- package/dist/cdn/O27RPFR7.js +0 -4
- package/dist/cdn/OJKBOWCN.js +0 -5
- package/dist/cdn/OTQWMPYN.js +0 -4
- package/dist/cdn/P6SQJ2T3.js +0 -4
- package/dist/cdn/PRU2ZGOX.js +0 -4
- package/dist/cdn/PS7KSCXN.js +0 -4
- package/dist/cdn/Q4PU7WQ7.js +0 -4
- package/dist/cdn/QORM2H5L.js +0 -4
- package/dist/cdn/RVLULNB3.js +0 -4
- package/dist/cdn/SEAJO65H.js +0 -4
- package/dist/cdn/TPBGHCRG.js +0 -4
- package/dist/cdn/TTLLCRRM.js +0 -4
- package/dist/cdn/TZYH3YWU.js +0 -4
- package/dist/cdn/UGRKEE2O.js +0 -4
- package/dist/cdn/VIN5JYWR.js +0 -4
- package/dist/cdn/VQ2W72GK.js +0 -4
- package/dist/cdn/VZXSCB77.js +0 -4
- package/dist/cdn/WJTKTGUC.js +0 -4
- package/dist/cdn/WVUTOBDV.js +0 -4
- package/dist/cdn/XAYLUV7I.js +0 -4
- package/dist/cdn/YENCDQFO.js +0 -4
- package/dist/cdn/YMW3FBRS.js +0 -4
- package/dist/cdn/YXH5W6FA.js +0 -4
|
@@ -1,39 +1,139 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { c as x } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as m, html as i } from "lit";
|
|
3
|
+
import { watch as v } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { g as d } from "../../chunks/globalCss.js";
|
|
5
|
+
import { u as f } from "../../chunks/useT9n.js";
|
|
6
|
+
import { createRef as h, ref as g } from "lit-html/directives/ref.js";
|
|
7
|
+
import w from "@arcgis/core/widgets/Expand/ExpandViewModel.js";
|
|
8
|
+
import { c as _ } from "../../chunks/index.js";
|
|
9
|
+
import { m as $ } from "../../chunks/useViewModel.js";
|
|
10
|
+
import { LitElement as b, createEvent as y, safeClassMap as n, nothing as C } from "@arcgis/lumina";
|
|
6
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
12
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
9
|
-
const
|
|
10
|
-
|
|
13
|
+
v4.34.0-next.85 */
|
|
14
|
+
const E = m`:host{display:flex;pointer-events:auto;--arcgis-expand-icon-number-left: none;--arcgis-expand-icon-number-right: none}arcgis-expand>.arcgis-expand__content--expanded{background-color:var(--calcite-color-background)}.arcgis-expand{--esri-widget-panel-max-height: 95vh;--calcite-sheet-max-height: var(--esri-widget-panel-max-height);--calcite-sheet-height: auto;min-width:32px;min-height:32px}.arcgis-expand__toggle{position:relative}.arcgis-expand__popover-content{flex-direction:column;display:flex;max-height:var(--arcgis-expand-max-height, 95vh);overflow-y:auto}.arcgis-expand__popover-content .esri-widget--panel{width:300px}.arcgis-expand__panel{max-height:var(--esri-widget-panel-max-height)}.arcgis-expand__panel-content .esri-widget{width:auto}.arcgis-expand__panel-content .esri-widget--panel{flex:auto}.arcgis-map-container-ui__element .arcgis-expand__popover-content .esri-widget,.arcgis-map-container-ui__element .arcgis-expand__popover-content .esri-widget.esri-component,.arcgis-map-container-ui__element .arcgis-expand__panel-content .esri-widget,.arcgis-map-container-ui__element .arcgis-expand__panel-content .esri-widget.esri-component,.arcgis-expand__popover-content .esri-widget,.arcgis-expand__popover-content .esri-widget.esri-component,.arcgis-expand__panel-content .esri-widget,.arcgis-expand__panel-content .esri-widget.esri-component{box-sizing:border-box;box-shadow:none;margin-bottom:0}.arcgis-expand__panel-content,.arcgis-expand__content-container{background-color:var(--calcite-color-foreground-1);flex-direction:column;flex:auto;justify-content:stretch;display:flex}.arcgis-expand__sheet .arcgis-expand__panel-content,.arcgis-expand__sheet .arcgis-expand__content-container{overflow:hidden}.arcgis-expand__panel-icon-number{align-self:center}.esri-collapse__icon{display:flex}calcite-button:not(:hover) .esri-collapse__icon:not(calcite-icon){color:var(--calcite-color-text-3)}.esri-collapse__icon-flip{transform:rotate(var(--arcgis-collapse-icon-flip))}.arcgis-expand__icon-number{transform-origin:50%;color:var(--calcite-color-text-inverse);pointer-events:none;background-color:var(--calcite-color-text-3);border-radius:var(--calcite-spacing-xl);justify-content:center;align-items:center;height:var(--calcite-spacing-md);padding:.125em .333em;font-size:var(--calcite-font-size-sm);line-height:1em;display:flex;position:absolute;top:-6px;left:var(--arcgis-expand-icon-number-left);right:var(--arcgis-expand-icon-number-right)}`, a = "arcgis-expand", o = {
|
|
15
|
+
base: a,
|
|
16
|
+
toggle: `${a}__toggle`,
|
|
17
|
+
popoverContent: `${a}__popover-content`,
|
|
18
|
+
panel: `${a}__panel`,
|
|
19
|
+
panelContent: `${a}__panel-content`,
|
|
20
|
+
sheet: `${a}__sheet`,
|
|
21
|
+
contentContainer: `${a}__content-container`,
|
|
22
|
+
icon: "arcgis-collapse__icon",
|
|
23
|
+
iconFlip: "arcgis-collapse__icon-flip",
|
|
24
|
+
iconNumber: `${a}__icon-number`
|
|
25
|
+
}, r = "chevrons-left", p = "chevrons-right", M = $(w);
|
|
26
|
+
class T extends b {
|
|
11
27
|
constructor() {
|
|
12
|
-
super(), this.
|
|
28
|
+
super(...arguments), this.popoverEl = h(), this.messages = f({}), this.viewModel = M(this), this.toggleActionEl = h(), this._collapseIcon = p, this._expandIcon = r, this.state = this.viewModel.state, this.autoDestroyDisabled = !1, this.position = /* TODO: [MIGRATION] review default value */
|
|
29
|
+
"top-left", this.autoCollapse = this.viewModel.autoCollapse, this.closeOnEsc = !0, this.content = "", this.expanded = this.viewModel.expanded, this.expandTooltip = "", this.collapseTooltip = "", this.focusTrapDisabled = !1, this.group = this.viewModel.group, this.iconNumber = 0, this.mode = "auto", this.arcgisReady = y();
|
|
13
30
|
}
|
|
14
31
|
static {
|
|
15
|
-
this.properties = {
|
|
32
|
+
this.properties = { expandTitle: 16, _displaySheet: 16, state: 3, icon: 1, label: 1, autoDestroyDisabled: 5, position: 3, referenceElement: 1, autoCollapse: 5, closeOnEsc: 5, content: 1, expanded: 5, expandIcon: 1, expandTooltip: 1, collapseIcon: 1, collapseTooltip: 1, focusTrapDisabled: 5, group: 1, iconNumber: 9, mode: 1, placement: 1, messageOverrides: 0 };
|
|
16
33
|
}
|
|
17
34
|
static {
|
|
18
|
-
this.
|
|
35
|
+
this.styles = E;
|
|
19
36
|
}
|
|
20
|
-
|
|
21
|
-
|
|
37
|
+
get expandTitle() {
|
|
38
|
+
const { expanded: e, messages: t, collapseTooltip: l, expandTooltip: s } = this;
|
|
39
|
+
return (e ? l || t.collapse : s || t.expand) ?? "";
|
|
40
|
+
}
|
|
41
|
+
get _displaySheet() {
|
|
42
|
+
switch (this.mode) {
|
|
43
|
+
case "drawer":
|
|
44
|
+
return !0;
|
|
45
|
+
case "auto":
|
|
46
|
+
return this.viewModel.view?.widthBreakpoint === "xsmall";
|
|
47
|
+
default:
|
|
48
|
+
return !1;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
get expandIcon() {
|
|
52
|
+
return this.content.icon ?? this._expandIcon ?? r;
|
|
53
|
+
}
|
|
54
|
+
set expandIcon(e) {
|
|
55
|
+
this._expandIcon = e;
|
|
56
|
+
}
|
|
57
|
+
get collapseIcon() {
|
|
58
|
+
return this._collapseIcon ?? p;
|
|
59
|
+
}
|
|
60
|
+
set collapseIcon(e) {
|
|
61
|
+
this._collapseIcon = e;
|
|
22
62
|
}
|
|
23
63
|
async collapse() {
|
|
24
|
-
this.
|
|
64
|
+
this.viewModel.expanded = !1;
|
|
25
65
|
}
|
|
26
66
|
async destroy() {
|
|
27
67
|
await this.manager.destroy();
|
|
28
68
|
}
|
|
29
69
|
async expand() {
|
|
30
|
-
this.
|
|
70
|
+
this.viewModel.expanded = !0;
|
|
71
|
+
}
|
|
72
|
+
loaded() {
|
|
73
|
+
this.manager.onLifecycle(() => [
|
|
74
|
+
v(() => this.viewModel?.view?.size, () => this.popoverEl?.value?.reposition(), { initial: !0 })
|
|
75
|
+
]);
|
|
76
|
+
}
|
|
77
|
+
toggle() {
|
|
78
|
+
this.viewModel.expanded = !this.viewModel.expanded;
|
|
79
|
+
}
|
|
80
|
+
getPopoverPlacement() {
|
|
81
|
+
if (this.placement)
|
|
82
|
+
return this.placement;
|
|
83
|
+
switch (this.position) {
|
|
84
|
+
case "bottom-leading":
|
|
85
|
+
case "bottom-left":
|
|
86
|
+
return "right";
|
|
87
|
+
case "bottom-right":
|
|
88
|
+
case "bottom-trailing":
|
|
89
|
+
return "left-end";
|
|
90
|
+
case "top-leading":
|
|
91
|
+
case "top-left":
|
|
92
|
+
return "right";
|
|
93
|
+
case "top-right":
|
|
94
|
+
case "top-trailing":
|
|
95
|
+
return "left";
|
|
96
|
+
case "manual":
|
|
97
|
+
default:
|
|
98
|
+
return "auto";
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
_willCloseOnEsc(e) {
|
|
102
|
+
const { closeOnEsc: t } = this;
|
|
103
|
+
return typeof t == "function" ? t(e) : t;
|
|
104
|
+
}
|
|
105
|
+
_handlePopoverClose(e) {
|
|
106
|
+
e.target === this.popoverEl.value && (this.viewModel.expanded = e.currentTarget.open);
|
|
107
|
+
}
|
|
108
|
+
_handleSheetClose(e) {
|
|
109
|
+
this.viewModel.expanded = e.currentTarget.open;
|
|
110
|
+
}
|
|
111
|
+
_handlePanelClose(e) {
|
|
112
|
+
this.viewModel.expanded = !e.currentTarget.closed;
|
|
113
|
+
}
|
|
114
|
+
_handleKeyDown(e) {
|
|
115
|
+
this.viewModel.expanded && e.key === "Escape" && !this._willCloseOnEsc(e) && e.preventDefault();
|
|
116
|
+
}
|
|
117
|
+
render() {
|
|
118
|
+
const { _displaySheet: e, toggleActionEl: t, viewModel: { expanded: l }, label: s } = this;
|
|
119
|
+
return i`<div class=${n(_(o.base, d.widget))}>${this._renderToggle()}${e ? i`<calcite-sheet class=${n(o.sheet)} height=l .label=${s ?? ""} @keydown=${this._handleKeyDown} .open=${l} position=block-end @calciteSheetClose=${this._handleSheetClose}><calcite-panel class=${n(o.panel)} closable .closed=${!l} .heading=${s} @keydown=${this._handleKeyDown} @calcitePanelClose=${this._handlePanelClose}><div class=${n(o.panelContent)}>${this._renderContent()}</div></calcite-panel></calcite-sheet>` : t.value ? i`<calcite-popover .focusTrapDisabled=${this.focusTrapDisabled} .label=${s ?? ""} @keydown=${this._handleKeyDown} trigger-disabled .open=${this.viewModel.expanded} overlay-positioning=fixed .placement=${this.getPopoverPlacement()} .referenceElement=${t.value} @calcitePopoverClose=${this._handlePopoverClose} ${g(this.popoverEl)}><div class=${n(o.popoverContent)}>${this._renderContent()}</div></calcite-popover>` : null}</div>`;
|
|
120
|
+
}
|
|
121
|
+
_renderBadgeNumber() {
|
|
122
|
+
const { expanded: e, iconNumber: t } = this;
|
|
123
|
+
return t && !e ? i`<span class=${n(o.iconNumber)}>${t}</span>` : null;
|
|
124
|
+
}
|
|
125
|
+
_renderToggleButton() {
|
|
126
|
+
const { expanded: e, expandTitle: t, expandIcon: l, collapseIcon: s } = this, c = e ? s : l, u = c === r || c === p;
|
|
127
|
+
return i`<calcite-action class=${n(d.widgetButton)} @click=${this.toggle} scale=s .text=${t} title=${t ?? C} ${g(this.toggleActionEl)}>${c ? i`<calcite-icon class=${n(_(o.icon, u && o.iconFlip))} .icon=${c} scale=s></calcite-icon>` : null}</calcite-action>`;
|
|
128
|
+
}
|
|
129
|
+
_renderToggle() {
|
|
130
|
+
return i`<div class=${n(o.toggle)}>${this._renderToggleButton()}${this._renderBadgeNumber()}</div>`;
|
|
31
131
|
}
|
|
32
|
-
|
|
33
|
-
|
|
132
|
+
_renderContent() {
|
|
133
|
+
return i`<div class=${n(o.contentContainer)}><slot></slot></div>`;
|
|
34
134
|
}
|
|
35
135
|
}
|
|
36
|
-
|
|
136
|
+
x("arcgis-expand", T);
|
|
37
137
|
export {
|
|
38
|
-
|
|
138
|
+
T as ArcgisExpand
|
|
39
139
|
};
|
|
@@ -1 +1,6 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-sheet";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-panel";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-popover";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
1
6
|
export * from "./customElement.js";
|
|
@@ -1 +1,6 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-sheet";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-panel";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-popover";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
1
6
|
export * from "./customElement.js";
|
|
@@ -1,55 +1,52 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import
|
|
4
|
-
import { g as
|
|
5
|
-
import { u as
|
|
6
|
-
import { H as
|
|
7
|
-
import { classes as
|
|
8
|
-
import { usePropertyChange as
|
|
9
|
-
import { m as
|
|
10
|
-
import { LitElement as
|
|
11
|
-
import { substitute as
|
|
12
|
-
import { renderingSanitizer as
|
|
13
|
-
import { k as
|
|
1
|
+
import { c as w } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as y, html as o } from "lit";
|
|
3
|
+
import k from "@arcgis/core/widgets/Feature/FeatureViewModel.js";
|
|
4
|
+
import { g as z } from "../../chunks/globalCss.js";
|
|
5
|
+
import { u as $ } from "../../chunks/useT9n.js";
|
|
6
|
+
import { H as C } from "../../chunks/heading.js";
|
|
7
|
+
import { classes as v } from "@arcgis/toolkit/dom";
|
|
8
|
+
import { usePropertyChange as M } from "@arcgis/lumina/controllers";
|
|
9
|
+
import { m as I } from "../../chunks/useViewModel.js";
|
|
10
|
+
import { LitElement as L, createEvent as T, safeClassMap as c } from "@arcgis/lumina";
|
|
11
|
+
import { substitute as A } from "@arcgis/core/intl.js";
|
|
12
|
+
import { renderingSanitizer as j } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
13
|
+
import { k as E, l as F, m as V, n as R, s as d, c as H, i as D } from "../../chunks/feature-utils.js";
|
|
14
14
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
15
15
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
16
|
-
v4.34.0-next.
|
|
17
|
-
const U = _`@layer{arcgis-feature{display:block}.arcgis-feature{--calcite-color-background: var(--calcite-color-background);width:100%}.arcgis-feature__title{display:block;word-break:break-word;word-wrap:break-word;font-size:var(--calcite-font-size)}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-xxl);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}}`, p = "arcgis-feature", o = {
|
|
16
|
+
v4.34.0-next.85 */
|
|
17
|
+
const P = y`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-family:Avenir Next,Helvetica Neue,helvetica,arial,sans-serif;font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-attachments__progress-bar:before,.esri-attachments__progress-bar:after{opacity:var(--calcite-opacity-100);content:"";height:1px;transition:opacity .5s ease-in-out;position:absolute;top:0}.esri-attachments__progress-bar:before{z-index:0;background-color:var(--calcite-color-foreground-2);width:100%}.esri-attachments__progress-bar:after{z-index:0;background-color:var(--calcite-color-text-2);width:20%;animation:1.5s linear infinite looping-progresss-bar-ani}.esri-attachments{background-color:var(--calcite-color-background)!important;width:100%}.esri-attachments__loader-container{justify-content:center;align-items:center;height:150px;padding:0;display:flex}.esri-attachments__loader{background:url(../base/images/loading-throb.gif) 50% no-repeat;width:100%;height:64px}.esri-attachments__actions{flex-flow:wrap;padding:6px 7px;display:flex}.esri-attachments__item-add-icon{font-size:var(--calcite-font-size-xl);margin:0;padding:0 7px}.esri-attachments__delete-button{color:var(--calcite-color-status-danger);width:auto;margin-right:auto}.esri-attachments .esri-attachments__items{width:100%;margin:0;padding:0;display:flex}.esri-attachments .esri-attachments__item{margin:0;line-height:1.2em;list-style-type:none}.esri-attachments__item-button{outline-offset:-4px;cursor:pointer;width:100%;text-align:unset;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-2);border:1px solid var(--calcite-color-foreground-1);border-radius:var(--calcite-border-width-md);align-items:center;margin:0 0 var(--calcite-spacing-xs);padding:var(--calcite-spacing-xs) 7px;text-decoration:none;transition:border-color .125s ease-in-out;display:flex;box-shadow:0 1px var(--calcite-color-foreground-1)}.esri-attachments__item-button:focus,.esri-attachments__item-button:hover{border-color:var(--calcite-color-border-white)}.esri-attachments__item-link{text-decoration:none;display:block;position:relative}.esri-attachments__item-link:hover .esri-attachments__item-link-overlay,.esri-attachments__item-link:focus .esri-attachments__item-link-overlay{opacity:1}.esri-attachments__item-add{background-color:var(--calcite-color-background);padding:6px 0}.esri-attachments__add-attachment-button{align-items:baseline!important;border-radius:var(--calcite-corner-radius-xs);border:none!important;justify-content:flex-start!important;padding:12px 3px!important;font-size:var(--calcite-font-size-sm)!important;transition:background-color .25s ease-in-out}.esri-attachments__add-attachment-button:hover{background-color:var(--calcite-color-foreground-1)!important;text-decoration:none;box-shadow:0 1px 2px #0000004d}.esri-attachments__item-link-overlay{opacity:0;pointer-events:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;transition:opacity .25s ease-in-out;display:flex;position:absolute;inset:0}.esri-attachments__item-link-overlay-icon{color:var(--calcite-color-foreground-2);background-color:var(--calcite-color-foreground-1);border-radius:100%;justify-content:center;align-items:center;padding:18px;display:flex}.esri-attachments__item-link-overlay-icon svg{fill:var(--calcite-color-foreground-1)}.esri-attachments__item-mask{justify-content:center;align-items:center;width:64px;height:64px;display:flex;position:relative;overflow:hidden;box-shadow:0 0 0 1px var(--calcite-color-foreground-1)}.esri-attachments__item-mask--icon{background-color:var(--calcite-color-foreground-2);padding:24px 0}.esri-attachments__item-mask--icon .esri-attachments__image{width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl)}.esri-attachments__metadata{justify-content:space-between;margin-top:3px;display:flex}.esri-attachments__metadata .esri-attachments__metadata-fieldset{text-align:center;background-color:var(--calcite-color-foreground-1);border:none;flex:0 calc(50% - 1px);margin:0;padding:6px 7px;font-size:var(--calcite-font-size-sm)}.esri-attachments__file-name{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;margin-bottom:3px;font-size:var(--calcite-font-size-sm);display:inline-block}.esri-attachments__file-fieldset{border:none;margin:0;padding:var(--calcite-spacing-md) 7px}.esri-attachments__file-input{opacity:0;z-index:-1;width:.1px;height:.1px;position:absolute;overflow:hidden}.esri-attachments__container--list .esri-attachments__items{flex-flow:column}.esri-attachments__container--list .esri-attachments__item-mask{flex:none;margin-right:7px;position:relative}.esri-attachments__container--list .esri-attachments__image{max-width:unset;max-height:unset;left:50%}.esri-attachments__container--list .esri-attachments__label{flex:auto;justify-content:space-between;display:flex}.esri-attachments__container--list .esri-attachments__filename{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;cursor:pointer;flex:1 0 0}.esri-attachments__container--list .esri-attachments__item-chevron-icon{cursor:pointer;flex:none;padding:0 15px}.esri-attachments__container--preview .esri-attachments__items{flex-flow:wrap;align-items:center}.esri-attachments__container--preview .esri-attachments__item{width:100%;margin-bottom:var(--calcite-spacing-md)}.esri-attachments__container--preview .esri-attachments__item-mask{width:100%;height:auto}.esri-attachments__container--preview .esri-attachments__item-button{box-shadow:none;flex-flow:column}.esri-attachments__container--preview .esri-attachments__item-button .esri-attachments__label{margin:var(--calcite-spacing-md) 0}.esri-attachments__container--preview .esri-attachments__image{max-width:100%}.esri-attachments__container--preview .esri-attachments__filename{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;text-align:center;text-overflow:ellipsis;width:calc(100% - 15px);margin-top:var(--calcite-spacing-md);overflow:hidden}.esri-attachments__container--preview .esri-attachments__item-mask--icon{background-color:var(--calcite-color-foreground-1)}.esri-attachments__form-node{background-color:var(--calcite-color-foreground-1);padding:6px 7px;box-shadow:var(--calcite-shadow-sm)}.esri-attachments__form-node .esri-attachments__item-mask{box-shadow:none;width:unset;height:unset}.esri-attachments__form-node .esri-attachments__image{max-width:100%}.esri-attachments__error-message{background-color:var(--calcite-color-foreground-1);border-top:3px solid var(--calcite-color-status-danger);margin:6px 7px;padding:var(--calcite-spacing-md) 15px;animation:.25s ease-in-out esri-fade-in-down;box-shadow:0 1px 2px #0000004d}.esri-attachments__progress-bar{width:100%;position:absolute}.esri-attachments__item-mask:dir(rtl){margin-left:7px;margin-right:0}.esri-feature-form{letter-spacing:0em;background:var(--calcite-color-background);padding:var(--esri-widget-padding)}.esri-feature-form .esri-feature-utility-network-associations,.esri-feature-form .esri-feature-form-utility-network-association-list{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form .esri-feature-utility-network-associations .esri-feature-element-info__description{color:var(--calcite-color-text-2)}.esri-feature-form .esri-feature-utility-network-associations .esri-feature-element-info h5{font-size:inherit}.esri-feature-form__form{flex-direction:column;display:flex}.esri-feature-form__centered-button{align-self:center}.esri-feature-form__description-text{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-sm)}.esri-feature-form__list-observer{z-index:2;text-align:center;position:relative;bottom:var(--calcite-spacing-xxl)}.esri-feature-form__related-records_header{margin-bottom:var(--calcite-spacing-xs);display:flex}.esri-feature-form__related-records_header span{flex-grow:1}.esri-feature-form__related-records_label calcite-notice,.esri-feature-form__related-records_label .esri-feature-form__description-text{margin-bottom:var(--calcite-spacing-xs)}.esri-feature-form__related-records_list{min-height:40px;margin-bottom:var(--calcite-spacing-xs)}label.esri-feature-form__label{gap:.5em;margin-bottom:var(--calcite-spacing-md)}.esri-feature-form__label{opacity:1;flex-direction:column;justify-content:space-between;margin-bottom:var(--calcite-spacing-xs);transition:opacity .25s,margin .25s;display:flex;position:relative}.esri-feature-form__label:last-child{margin-bottom:0}.esri-feature-form__label-text-content{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;align-items:center;display:flex}.esri-feature-form__form-header{margin-bottom:var(--calcite-spacing-md)}.esri-feature-form__form-header .esri-feature-form__description-text~.esri-widget__heading{margin-bottom:0}.esri-feature-form__input{width:100%}.esri-feature-form__input:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}textarea.esri-feature-form__input{resize:vertical}.esri-feature-form__input--disabled{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.esri-feature-form__field-error-message{padding:7px 0;font-size:var(--calcite-font-size-sm)}.esri-feature-form__date-input-container{flex-direction:column;display:flex}.esri-feature-form__date-input-container .esri-feature-form__input{margin-bottom:3px}.esri-feature-form__date-input-container :last-child{margin-bottom:0}.esri-feature-form__input--radio-group{flex-direction:column;display:flex}.esri-feature-form__input--radio-label{align-items:center;display:flex}.esri-feature-form__input--switch{margin:7px 0}.esri-feature-form__group{margin:0 0 var(--calcite-spacing-md);background-color:inherit;margin-inline:-10px}.esri-feature-form__group--sequential{border-bottom:none;border-inline-start:3px solid #adadad4d}.esri-feature-form__group--active{border-inline-start-color:var(--calcite-color-status-info)}.esri-feature-form__text-element{color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal)}.esri-feature-form__text-element a{transition:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start inset-size,opacity,outline-color,transform var(--calcite-animation-timing) ease-in-out 0s,outline 0s,outline-offset 0s;background-color:var(--calcite-color-background);background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));color:var(--calcite-color-text-link);background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;border-style:none;padding:0;text-decoration:none;display:inline;position:relative}.esri-feature-form__text-element a:hover,.esri-feature-form__text-element a:focus{background-size:100% 1px,100% 1px}.esri-feature-form__text-element a:active{background-size:100% 2px,100% 2px}.esri-feature-form__text-element a.calcite--rtl{background-position:100% 100%,100% 100%}.esri-feature-form__text-element code{border:1px solid var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-3);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);border-radius:var(--calcite-spacing-base);padding:.25em;font-size:85%}.esri-feature-form__text-element h1,.esri-feature-form__text-element h2,.esri-feature-form__text-element h3,.esri-feature-form__text-element h4,.esri-feature-form__text-element h5{color:var(--calcite-color-text-1);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold);margin-bottom:var(--calcite-spacing-xxs)}.esri-feature-form__text-element h5{font-weight:var(--calcite-font-weight-medium)}.esri-feature-form__text-element h6{color:var(--calcite-color-text-2);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);margin-bottom:var(--calcite-spacing-xxs)}.esri-feature-form__text-element p{color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal);margin-bottom:var(--calcite-spacing-xl)}.esri-feature-form__text-element strong{font-weight:var(--calcite-font-weight-bold)}:dir(rtl) .esri-feature-form__date-input-part:first-child .esri-feature-form__input{border-left:none;border-right:1px solid #adadad4d}.esri-feature-form-utility-network-association-layers{background-color:var(--calcite-color-background)}.esri-feature-form-utility-network-association-layers__header>*{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__header>:last-child{color:var(--calcite-color-text-3)}.esri-feature-form-utility-network-association-layers__heading-content{align-items:center;display:flex}.esri-feature-form-utility-network-association-layers__heading-content calcite-icon{margin-inline-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__list-container{min-height:var(--calcite-spacing-xxxl);margin-bottom:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__feature-observer{z-index:2;text-align:center;position:relative;bottom:20px}.esri-feature-form-utility-network-association-layers__filter-container{z-index:1;margin-bottom:var(--calcite-spacing-md);top:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__filter-options-container{flex-direction:column;display:flex}.esri-feature-form-utility-network-association-layers__filter-options-header{flex-direction:row;align-items:baseline;display:flex}.esri-feature-form-utility-network-association-layers__filter-options-header span{flex-grow:1}.esri-feature-form-utility-network-association-layers__spatial-select-container{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.esri-feature-form-utility-network-association-layers__spatial-select-toolbar{--calcite-action-group-border-color: transparent;border-width:var(--calcite-border-width-sm, 1px);border-radius:var(--calcite-corner-radius-round, 4px);border-style:solid;border-color:var(--calcite-color-border-3, var(--calcite-color-inverse));width:100%;min-height:min-content;overflow:hidden}.esri-feature-form-utility-network-association-layers__sticky-loading-container{z-index:2;pointer-events:none;justify-content:center;align-items:center;height:var(--calcite-spacing-xxxl);margin:0;padding:0;display:flex;position:sticky;bottom:10px}.esri-feature-form-utility-network-association-layers__loading-container{justify-content:center;width:100%;padding:var(--calcite-spacing-md) 0;display:flex}.esri-feature-form-utility-network-association-list{background-color:var(--calcite-color-foreground-1)}.esri-feature-form-utility-network-association-list__header>*{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-list__header>:last-child{color:var(--calcite-color-text-3)}.esri-feature-form-utility-network-association-list__header calcite-block{margin-block-start:-18px;margin-inline:-15px}.esri-feature-form-utility-network-association-list__heading-content{align-items:center;display:flex}.esri-feature-form-utility-network-association-list__heading-content calcite-icon{margin-inline-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-list__list-container{flex-direction:column;min-height:var(--calcite-spacing-xxxl);display:flex}.esri-feature-form-utility-network-association-list__list-container calcite-fab{margin-block:var(--calcite-spacing-md);flex-direction:row;align-self:center;display:flex}.esri-feature-form-utility-network-association-settings{--calcite-block-padding: 0;background-color:var(--calcite-color-foreground-1);flex-direction:column;display:flex}.esri-feature-form-utility-network-association-settings calcite-block{border:1px solid var(--calcite-color-border-3);margin-block:0}.esri-feature-form-utility-network-association-settings calcite-block:first-of-type{border-radius:var(--calcite-spacing-sm) var(--calcite-spacing-sm) 0 0}.esri-feature-form-utility-network-association-settings calcite-block:last-of-type{border-top:none;border-radius:0 0 var(--calcite-spacing-sm) var(--calcite-spacing-sm);margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-settings calcite-block calcite-label{margin-inline:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-settings__info-container{flex-direction:column;display:flex}.esri-feature-form-utility-network-association-settings__info-container>*{margin-block-end:var(--calcite-spacing-md)}:host{display:flex;flex-direction:column;overflow:hidden}.esri-features{flex:1 1 auto;overflow:hidden;flex-direction:column;display:flex}.esri-features img{image-orientation:from-image}.esri-features__flow-item--collapsed{--calcite-flow-item-header-border-block-end: none}.esri-features__container{background-color:var(--calcite-color-foreground-1)}.esri-features__container:not(:empty){padding:var(--calcite-spacing-md)}.esri-features .esri-feature,.esri-features .esri-feature-relationship,.esri-features .esri-feature-utility-network-associations{background-color:var(--calcite-color-foreground-1)}.esri-features__heading{word-break:break-word;word-wrap:break-word}.esri-features__header,.esri-features__footer{background-color:var(--calcite-color-foreground-1);flex:1;justify-content:flex-end;align-items:center;display:flex}.esri-features__pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.esri-features__loader{align-self:center;padding-inline:1rem}.esri-features__pagination-action-bar{flex:1}.esri-features__pagination-menu-button{border-inline-start:1px solid var(--calcite-color-border-3)}.esri-features__icon{flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);display:inline-block}.esri-features__action-image{background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl)}.esri-features__header{border-block-end:1px solid var(--calcite-color-border-3)}.esri-features__content-feature{--calcite-flow-item-footer-padding: 0}.esri-features__feature-menu-observer{z-index:2;text-align:center;position:relative;bottom:20px}.esri-features__action--exit{transform:scaleX(-1)}.esri-feature{letter-spacing:0em;isolation:isolate;position:relative;width:100%}.esri-feature__title{word-break:break-word;word-wrap:break-word;font-size:var(--calcite-font-size);display:block}.esri-feature calcite-icon{box-sizing:content-box}.esri-feature__attachments{display:flex}.esri-feature__loading-container{justify-content:center;width:100%;padding:var(--calcite-spacing-md) 0;display:flex}.esri-feature-relationship{position:relative}.esri-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.esri-feature-relationship__list-item--hidden{display:none}.esri-feature-utility-network-associations{position:relative}.esri-feature__filter-container{z-index:1;margin-bottom:var(--calcite-spacing-md);position:sticky;top:var(--calcite-spacing-md)}.esri-feature__feature-observer{z-index:2;text-align:center;position:relative;bottom:var(--calcite-spacing-xxl)}.esri-feature__sticky-loading-container{z-index:2;pointer-events:none;justify-content:center;align-items:center;height:var(--calcite-spacing-xxxl);margin:0;padding:0;display:flex;position:sticky;bottom:10px}.esri-icon-loading-indicator{display:inline-block}.esri-feature__content-element{margin-bottom:24px;padding:0 7px}.esri-feature__content-element .esri-widget__heading{line-height:1.3}.esri-feature__content-element:only-child,.esri-feature__content-node--text{margin-bottom:3px}.esri-feature__content-node{flex-direction:column;display:flex}.esri-feature__text{line-height:1.3}.esri-feature-attachments{flex-flow:column wrap;align-items:flex-start}.esri-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}:dir(rtl) .esri-feature__attachments-title{margin:0 0 0 auto}:dir(rtl) .esri-feature__attachments--list .esri-feature__attachment-item-mask{margin-left:7px;margin-right:0}.esri-feature-content__loader-container{justify-content:center;align-items:center;height:150px;padding:0;display:flex}.esri-feature-content__loader{background:url(../base/images/loading-throb.gif) 50% no-repeat;width:100%;height:64px}.esri-feature-content{font-size:var(--calcite-font-size)}.esri-feature-content h1,.esri-feature-content h2,.esri-feature-content h3,.esri-feature-content h4,.esri-feature-content h5,.esri-feature-content h6{letter-spacing:0;color:var(--calcite-color-text-2);margin:.5em 0;font-weight:var(--calcite-font-weight-semibold);line-height:normal}.esri-feature-content h1{font-size:1.75em}.esri-feature-content h2{font-size:1.5em}.esri-feature-content h3{font-size:1.25em}.esri-feature-content h4,.esri-feature-content h5,.esri-feature-content h6{font-size:1em}.esri-widget__heading.esri-feature-element-info__title{color:var(--calcite-color-text-2);margin-top:0;margin-bottom:.2em;font-size:var(--calcite-font-size-xl);font-weight:var(--calcite-font-weight-normal)}.esri-feature-element-info__description{margin-bottom:var(--calcite-font-size-xs);font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-normal)}.esri-feature-content p{margin:0 0 1.2em;font-size:var(--calcite-font-size)}.esri-feature-content p:last-child{margin-block-end:0}.esri-feature-content img{image-orientation:from-image;max-width:100%;max-height:100%}.esri-feature-content video{max-width:100%;max-height:100%}.esri-feature-content figure{margin:0;padding:0}.esri-feature-content figcaption{margin:.2em 0 0;padding:0;font-size:var(--calcite-font-size-sm);font-style:italic;display:block}.esri-feature-content ul,.esri-feature-content ol{margin-block:1rem}.esri-feature-content ul:first-child,.esri-feature-content ol:first-child{margin-block-start:0}.esri-feature-content a{color:var(--calcite-color-text-3)}.esri-feature-content a:hover,.esri-feature-content a:focus{color:var(--calcite-color-text-2)}.esri-feature-media__container{flex-flow:wrap;align-items:center;width:100%;min-height:150px;margin-top:var(--calcite-spacing-xs);display:flex}.esri-feature-media__container .esri-feature-media__pagination-button{cursor:pointer;color:var(--calcite-color-text-3);background:0 0;border:none;justify-content:center;align-items:center;padding-block:var(--calcite-spacing-xs);padding-inline:var(--calcite-spacing-sm);display:flex}.esri-feature-media__container .esri-feature-media__pagination-button:hover,.esri-feature-media__container .esri-feature-media__pagination-button:focus{color:var(--calcite-color-text-2);fill:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-2)}.esri-feature-media__item-title{margin:0;font-size:var(--calcite-font-size-md)}.esri-feature-media__item-caption{padding-block-start:3px;font-size:var(--calcite-font-size-sm)}.esri-feature-media__item{justify-content:center;align-items:flex-start;width:100%;height:auto;margin-block:var(--calcite-spacing-xs);display:flex}.esri-feature-media__item-navigation{flex:0 100%;justify-content:space-between;align-items:flex-start;margin-block-end:var(--calcite-spacing-xs);display:flex}.esri-feature-media__item-text{margin-inline-end:var(--calcite-spacing-md)}.esri-feature-media__pagination{flex:none;align-items:center;display:flex;overflow:hidden}.esri-feature-media__pagination:only-child{margin-inline-start:auto}.esri-feature-media__pagination-text{color:var(--calcite-color-text-3);padding-inline:var(--calcite-spacing-base);font-size:var(--calcite-font-size-sm)}.esri-feature-media__item-container{flex:0 auto;width:100%}.esri-feature-media__item-container img{max-width:100%}.esri-feature-media__item-container img[src$=".SVG"],.esri-feature-media__item-container img[src$=".svg"]{width:100%}.esri-feature-media__chart{background-color:var(--calcite-color-foreground-1);width:100%;height:155px}:dir(rtl) .esri-feature-media__image-summary{margin:0 .5em 0 0}:dir(rtl) .esri-feature-media__pagination-icon{transform:rotate(180deg)}.esri-identity-modal__info,.esri-identity-modal__notice{margin:0;margin-bottom:var(--calcite-spacing-md)}.esri-ui .esri-popup{z-index:1;pointer-events:none;flex-flow:column;display:flex;position:absolute}.esri-ui .esri-popup .esri-features{flex:1;width:100%}.esri-ui .esri-popup .esri-widget__heading{margin:0}.esri-ui .esri-popup--hidden{display:none}.esri-popup--shadow{box-shadow:0 1px 4px #000c}.esri-popup--aligned-top-center{transform-origin:50% 100%}.esri-popup--aligned-bottom-center{transform-origin:50% -5%}.esri-popup--aligned-top-left,.esri-popup--aligned-bottom-left{transform-origin:100%}.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-right{transform-origin:-5%}.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right{animation:.2s ease-in-out popup-intro-animation-down}.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right{animation:.2s ease-in-out popup-intro-animation-up}.esri-popup__main-container{z-index:1;pointer-events:auto;background-color:var(--calcite-color-foreground-1);width:340px;min-height:48px;max-height:340px;display:flex;position:relative;overflow:hidden}.esri-popup__pointer{width:0;height:0;position:absolute}.esri-popup__pointer-direction{content:"";background-color:var(--calcite-color-foreground-1);width:var(--calcite-spacing-md);height:var(--calcite-spacing-md);position:absolute}.esri-popup--aligned-top-center .esri-popup__pointer{margin:0 0 0 -6px;top:100%;left:50%}.esri-popup--aligned-bottom-center .esri-popup__pointer{margin:0 0 0 -6px;bottom:100%;left:50%}.esri-popup--aligned-top-left .esri-popup__pointer{bottom:var(--calcite-spacing-xs);right:var(--calcite-spacing-xs);transform:rotate(-45deg)}.esri-popup--aligned-bottom-left .esri-popup__pointer{top:var(--calcite-spacing-xs);right:var(--calcite-spacing-xs);transform:rotate(45deg)}.esri-popup--aligned-top-right .esri-popup__pointer{bottom:var(--calcite-spacing-xs);left:var(--calcite-spacing-xs);transform:rotate(45deg)}.esri-popup--aligned-bottom-right .esri-popup__pointer{top:var(--calcite-spacing-xs);left:var(--calcite-spacing-xs);transform:rotate(-45deg)}.esri-popup--aligned-top-center .esri-popup__pointer-direction,.esri-popup--aligned-bottom-center .esri-popup__pointer-direction{transform:scale(.75,2) rotate(45deg)}.esri-popup--aligned-top-left .esri-popup__pointer-direction,.esri-popup--aligned-bottom-left .esri-popup__pointer-direction,.esri-popup--aligned-top-right .esri-popup__pointer-direction,.esri-popup--aligned-bottom-right .esri-popup__pointer-direction{top:-6px;left:-6px;transform:scaleY(3.5) rotate(45deg)}.esri-popup--aligned-top-center .esri-popup__pointer-direction{top:-6px;left:0}.esri-popup--aligned-bottom-center .esri-popup__pointer-direction{bottom:-6px;left:0}.esri-view-width-xlarge .esri-popup__main-container{width:460px}.esri-view-width-large .esri-popup__main-container{width:400px}.esri-view-width-medium .esri-popup__main-container{width:340px}.esri-view-width-less-than-medium .esri-popup__main-container{width:280px}.esri-view-width-xsmall .esri-popup--is-docked-bottom-center{margin-bottom:var(--calcite-spacing-xl)}.esri-view-width-xsmall .esri-popup--is-docked-top-center,.esri-view-width-xsmall .esri-popup--is-docked-bottom-center{width:auto;margin:0}.esri-view-width-xsmall .esri-popup--is-docked-top-center .esri-popup__main-container,.esri-view-width-xsmall .esri-popup--is-docked-bottom-center .esri-popup__main-container{width:100%;max-height:75%;position:absolute;left:0;right:0}.esri-view-width-xsmall .esri-popup--is-docked-bottom-center .esri-popup__main-container{bottom:0}.esri-view-width-xsmall .esri-popup--is-docked-top-center .esri-popup__main-container{top:0}.esri-view-height-xlarge .esri-popup__main-container{max-height:460px}.esri-view-height-xlarge.esri-popup--feature-menu-open .esri-popup__feature-menu-viewport{max-height:410px}.esri-view-height-large .esri-popup__main-container{max-height:400px}.esri-view-height-large.esri-popup--feature-menu-open .esri-popup__feature-menu-viewport{max-height:350px}.esri-view-height-less-than-medium .esri-popup__main-container{max-height:300px}.esri-view-height-less-than-medium.esri-popup--feature-menu-open .esri-popup__feature-menu-viewport{max-height:250px}.esri-popup--is-docked{margin:15px 15px 30px;animation:.25s ease-out esri-docking-animation;inset:0}.esri-ui .esri-popup--is-docked{flex-flow:row}.esri-popup--is-docked-top-left,.esri-popup--is-docked-top-center,.esri-popup--is-docked-top-right{align-items:flex-start}.esri-popup--is-docked-bottom-left,.esri-popup--is-docked-bottom-center,.esri-popup--is-docked-bottom-right{align-items:flex-end}.esri-popup--is-docked-top-left,.esri-popup--is-docked-bottom-left{justify-content:flex-start}.esri-popup--is-docked-top-center,.esri-popup--is-docked-bottom-center{justify-content:center}.esri-popup--is-docked-top-right,.esri-popup--is-docked-bottom-right{justify-content:flex-end}.esri-popup--is-docked-top-left .esri-popup__main-container,.esri-popup--is-docked-top-right .esri-popup__main-container,.esri-popup--is-docked-bottom-left .esri-popup__main-container,.esri-popup--is-docked-bottom-right .esri-popup__main-container{max-height:80%}.esri-popup--is-docked-top-center .esri-popup__main-container,.esri-popup--is-docked-bottom-center .esri-popup__main-container{max-height:40%}:host{display:block}.arcgis-feature{--calcite-color-background: var(--calcite-color-background);width:100%;height:100%;max-width:40vw;max-height:90vh;overflow:auto}.arcgis-feature__title{display:block;word-break:break-word;word-wrap:break-word;font-size:var(--calcite-font-size)}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-xxl);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`, m = "arcgis-feature", s = {
|
|
18
18
|
// popup renderer
|
|
19
|
-
base:
|
|
19
|
+
base: m,
|
|
20
20
|
// containers and content
|
|
21
|
-
container: `${
|
|
22
|
-
title: `${
|
|
23
|
-
main: `${
|
|
24
|
-
contentElement: `${
|
|
25
|
-
lastEditedInfo: `${
|
|
21
|
+
container: `${m}__size-container`,
|
|
22
|
+
title: `${m}__title`,
|
|
23
|
+
main: `${m}__main-container`,
|
|
24
|
+
contentElement: `${m}__content-element`,
|
|
25
|
+
lastEditedInfo: `${m}__last-edited-info`,
|
|
26
26
|
// loading
|
|
27
|
-
loadingSpinnerContainer: `${
|
|
28
|
-
},
|
|
29
|
-
class
|
|
27
|
+
loadingSpinnerContainer: `${m}__loading-container`
|
|
28
|
+
}, Y = I(k);
|
|
29
|
+
class Z extends L {
|
|
30
30
|
constructor() {
|
|
31
|
-
super(...arguments), this.messages =
|
|
31
|
+
super(...arguments), this.messages = $({}), this.viewModel = Y(this), this.flowType = "feature", this.flowItems = null, this.position = "top-left", this.icon = "icon", this.graphic = this.viewModel.graphic, this.view = this.viewModel.view, 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 = M()("state"), this.arcgisReady = T();
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
34
|
this.properties = { flowType: 16, flowItems: 16, isTable: 16, popupTemplate: 16, sourceLayer: 16, fieldInfoMap: 16, values: 16, globalValues: 16, referenceElement: 1, position: 3, icon: 1, graphic: 0, view: 0, defaultPopupTemplateEnabled: 5, headingLevel: 9, spatialReference: 0, timeZone: 1, heading: 0, map: 0, chartAnimationDisabled: 5, hideHeading: 5, hideContent: 5, hideAttachmentsContent: 5, hideCustomContent: 5, hideExpressionContent: 5, hideFieldsContent: 5, hideMediaContent: 5, showRelationshipContent: 5, hideTextContent: 5, showUtilityNetworkContent: 5, hideLastEditedInfo: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, location: 0, state: 3 };
|
|
35
35
|
}
|
|
36
36
|
static {
|
|
37
|
-
this.styles =
|
|
38
|
-
}
|
|
39
|
-
static {
|
|
40
|
-
this.shadowRootOptions = F;
|
|
37
|
+
this.styles = P;
|
|
41
38
|
}
|
|
42
39
|
get isTable() {
|
|
43
40
|
return this.viewModel.isFeatureFromTable;
|
|
44
41
|
}
|
|
45
42
|
get popupTemplate() {
|
|
46
|
-
return
|
|
43
|
+
return E(this.graphic, this.defaultPopupTemplateEnabled) ?? void 0;
|
|
47
44
|
}
|
|
48
45
|
get sourceLayer() {
|
|
49
|
-
return
|
|
46
|
+
return F(this.graphic);
|
|
50
47
|
}
|
|
51
48
|
get fieldInfoMap() {
|
|
52
|
-
return
|
|
49
|
+
return V(R(this.popupTemplate), this.sourceLayer);
|
|
53
50
|
}
|
|
54
51
|
get values() {
|
|
55
52
|
return this.graphic?.attributes ?? {};
|
|
@@ -70,108 +67,108 @@ class B extends A {
|
|
|
70
67
|
return this.viewModel.setActiveMedia(e, t);
|
|
71
68
|
}
|
|
72
69
|
render() {
|
|
73
|
-
const { state: e } = this.viewModel, t =
|
|
74
|
-
return
|
|
70
|
+
const { state: e } = this.viewModel, t = o`<div class=${c(s.container)}>${this._renderTitle()}${e === "error" ? this._renderError() : e === "loading" ? this._renderLoading() : this._renderContentContainer()}</div>`;
|
|
71
|
+
return o`<div class=${c(v(s.base, z.widget))}>${t}</div>`;
|
|
75
72
|
}
|
|
76
73
|
_renderError() {
|
|
77
74
|
const { messages: e, hideHeading: t } = this;
|
|
78
|
-
return
|
|
75
|
+
return o`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t ? null : o`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`;
|
|
79
76
|
}
|
|
80
77
|
_renderLoading() {
|
|
81
|
-
return
|
|
78
|
+
return o`<div class=${c(s.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`;
|
|
82
79
|
}
|
|
83
80
|
_renderAttachments(e) {
|
|
84
|
-
const { values: t, fieldInfoMap: i, sourceLayer: a, globalValues:
|
|
81
|
+
const { values: t, fieldInfoMap: i, sourceLayer: a, globalValues: r } = this, n = d({
|
|
85
82
|
values: t,
|
|
86
83
|
fieldInfoMap: i,
|
|
87
|
-
globalValues:
|
|
84
|
+
globalValues: r,
|
|
88
85
|
layer: a,
|
|
89
86
|
text: e.title
|
|
90
|
-
}),
|
|
87
|
+
}), l = d({
|
|
91
88
|
values: t,
|
|
92
89
|
fieldInfoMap: i,
|
|
93
|
-
globalValues:
|
|
90
|
+
globalValues: r,
|
|
94
91
|
layer: a,
|
|
95
92
|
text: e.description
|
|
96
93
|
});
|
|
97
|
-
return
|
|
94
|
+
return o`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${n} .displayType=${e.displayType} .graphic=${this.graphic ?? void 0} .description=${l} .messages=${this.messages}></arcgis-feature-attachments>`;
|
|
98
95
|
}
|
|
99
96
|
_renderCustom(e) {
|
|
100
|
-
return
|
|
97
|
+
return o`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer ?? void 0} .graphic=${this.graphic ?? void 0} class=${c(s.contentElement)}></arcgis-feature-content>`;
|
|
101
98
|
}
|
|
102
99
|
_renderFields(e, t) {
|
|
103
|
-
const i = this.viewModel.formattedAttributes, { values: a, fieldInfoMap:
|
|
100
|
+
const i = this.viewModel.formattedAttributes, { values: a, fieldInfoMap: r, sourceLayer: n, popupTemplate: l, globalValues: p } = this, h = (e.fieldInfos ?? l?.fieldInfos ?? [])?.filter(({ fieldName: g }) => !!g && (H(g) || D(g) || g in a)), f = l?.expressionInfos, _ = d({
|
|
104
101
|
values: a,
|
|
105
|
-
fieldInfoMap:
|
|
106
|
-
globalValues:
|
|
107
|
-
layer:
|
|
102
|
+
fieldInfoMap: r,
|
|
103
|
+
globalValues: p,
|
|
104
|
+
layer: n,
|
|
108
105
|
text: e.title
|
|
109
|
-
}),
|
|
106
|
+
}), x = d({
|
|
110
107
|
values: a,
|
|
111
|
-
fieldInfoMap:
|
|
112
|
-
globalValues:
|
|
113
|
-
layer:
|
|
108
|
+
fieldInfoMap: r,
|
|
109
|
+
globalValues: p,
|
|
110
|
+
layer: n,
|
|
114
111
|
text: e.description
|
|
115
112
|
});
|
|
116
|
-
return
|
|
113
|
+
return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${_} class=${c(s.contentElement)} .messages=${this.messages} .description=${x} .values=${{
|
|
117
114
|
...i?.global,
|
|
118
115
|
...i?.content?.[t]
|
|
119
|
-
}} .fieldInfos=${
|
|
116
|
+
}} .fieldInfos=${h} .expressionInfos=${f ?? void 0}></arcgis-feature-fields>`;
|
|
120
117
|
}
|
|
121
118
|
_renderMedia(e, t) {
|
|
122
|
-
const { values: i, graphic: a, fieldInfoMap:
|
|
123
|
-
...
|
|
124
|
-
...
|
|
125
|
-
},
|
|
119
|
+
const { values: i, graphic: a, fieldInfoMap: r, sourceLayer: n, popupTemplate: l, globalValues: p } = this, { formattedAttributes: u, relatedInfos: h } = this.viewModel, f = {
|
|
120
|
+
...u?.global,
|
|
121
|
+
...u?.content?.[t]
|
|
122
|
+
}, _ = d({
|
|
126
123
|
values: i,
|
|
127
|
-
fieldInfoMap:
|
|
128
|
-
globalValues:
|
|
129
|
-
layer:
|
|
124
|
+
fieldInfoMap: r,
|
|
125
|
+
globalValues: p,
|
|
126
|
+
layer: n,
|
|
130
127
|
text: e.title
|
|
131
|
-
}),
|
|
128
|
+
}), x = d({
|
|
132
129
|
values: i,
|
|
133
|
-
fieldInfoMap:
|
|
134
|
-
globalValues:
|
|
135
|
-
layer:
|
|
130
|
+
fieldInfoMap: r,
|
|
131
|
+
globalValues: p,
|
|
132
|
+
layer: n,
|
|
136
133
|
text: e.description
|
|
137
134
|
});
|
|
138
|
-
return
|
|
135
|
+
return o`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex ?? 0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${_} class=${c(s.contentElement)} .description=${x} .values=${i} .layer=${n} .isAggregate=${a?.isAggregate} .messages=${this.messages} .fieldInfoMap=${r} .mediaInfos=${e.mediaInfos ?? []} .popupTemplate=${l ?? void 0} .relatedInfos=${h} .formattedValues=${f}></arcgis-feature-media>`;
|
|
139
136
|
}
|
|
140
137
|
_renderText(e) {
|
|
141
|
-
const { values: t, fieldInfoMap: i, sourceLayer: a, globalValues:
|
|
138
|
+
const { values: t, fieldInfoMap: i, sourceLayer: a, globalValues: r } = this, n = d({
|
|
142
139
|
values: t,
|
|
143
140
|
fieldInfoMap: i,
|
|
144
|
-
globalValues:
|
|
141
|
+
globalValues: r,
|
|
145
142
|
layer: a,
|
|
146
143
|
text: e.text
|
|
147
144
|
});
|
|
148
|
-
return
|
|
145
|
+
return o`<arcgis-feature-content .creator=${n} .graphic=${this.graphic ?? void 0} class=${c(s.contentElement)}></arcgis-feature-content>`;
|
|
149
146
|
}
|
|
150
147
|
_renderExpression(e, t) {
|
|
151
148
|
const i = this.viewModel.formattedAttributes, { fieldInfoMap: a } = this;
|
|
152
|
-
return
|
|
149
|
+
return o`<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=${c(s.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${a} .values=${{
|
|
153
150
|
...i?.global,
|
|
154
151
|
...i?.content?.[t]
|
|
155
152
|
}}></arcgis-feature-expression>`;
|
|
156
153
|
}
|
|
157
154
|
_renderRelationship(e, t) {
|
|
158
|
-
const { values: i, graphic: a, fieldInfoMap:
|
|
159
|
-
...
|
|
160
|
-
...
|
|
161
|
-
}, g =
|
|
155
|
+
const { values: i, graphic: a, fieldInfoMap: r, sourceLayer: n, globalValues: l } = this, { displayCount: p, orderByFields: u, relationshipId: h } = e, { formattedAttributes: f, view: _ } = this.viewModel, x = {
|
|
156
|
+
...f?.global,
|
|
157
|
+
...f?.content?.[t]
|
|
158
|
+
}, g = d({
|
|
162
159
|
values: i,
|
|
163
|
-
fieldInfoMap:
|
|
164
|
-
globalValues:
|
|
165
|
-
layer:
|
|
160
|
+
fieldInfoMap: r,
|
|
161
|
+
globalValues: l,
|
|
162
|
+
layer: n,
|
|
166
163
|
text: e.title
|
|
167
|
-
}),
|
|
164
|
+
}), b = d({
|
|
168
165
|
values: i,
|
|
169
|
-
fieldInfoMap:
|
|
170
|
-
globalValues:
|
|
171
|
-
layer:
|
|
166
|
+
fieldInfoMap: r,
|
|
167
|
+
globalValues: l,
|
|
168
|
+
layer: n,
|
|
172
169
|
text: e.description
|
|
173
170
|
});
|
|
174
|
-
return
|
|
171
|
+
return o`<arcgis-feature-relationship class=${c(s.contentElement)} .description=${b} .displayCount=${p} .graphic=${a ?? void 0} .heading=${g} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${u ?? void 0} .relationshipId=${h ?? void 0} .spatialReference=${this.spatialReference ?? void 0} .timeZone=${this.timeZone ?? void 0} .values=${x} .view=${_ ?? void 0}></arcgis-feature-relationship>`;
|
|
175
172
|
}
|
|
176
173
|
_renderAssociation() {
|
|
177
174
|
return null;
|
|
@@ -200,28 +197,28 @@ class B extends A {
|
|
|
200
197
|
}
|
|
201
198
|
_renderContent() {
|
|
202
199
|
const { content: e, graphic: t } = this.viewModel;
|
|
203
|
-
return e ? Array.isArray(e) && e.length ? e.length ? e.map(this._renderContentElement, this) : null : typeof e == "string" ?
|
|
200
|
+
return e ? Array.isArray(e) && e.length ? e.length ? e.map(this._renderContentElement, this) : null : typeof e == "string" ? o`<arcgis-feature-content .creator=${e} .graphic=${t ?? void 0} class=${c(s.contentElement)}></arcgis-feature-content>` : e instanceof HTMLElement ? e : null : null;
|
|
204
201
|
}
|
|
205
202
|
_renderContentContainer() {
|
|
206
203
|
const { hideContent: e } = this;
|
|
207
|
-
return e ? null :
|
|
204
|
+
return e ? null : o`<div class=${c(s.main)}>${[this._renderContent(), this._renderLastEditInfo()]}</div>`;
|
|
208
205
|
}
|
|
209
206
|
_renderTitle() {
|
|
210
207
|
const { hideHeading: e, heading: t } = this;
|
|
211
|
-
return e ? null :
|
|
208
|
+
return e ? null : C({ class: s.title, level: this.headingLevel, children: o`<div .innerHTML=${j.sanitize(t) ?? ""}></div>` });
|
|
212
209
|
}
|
|
213
210
|
_renderLastEditInfo() {
|
|
214
211
|
const { hideLastEditedInfo: e, messages: t } = this, { lastEditInfo: i } = this.viewModel;
|
|
215
212
|
if (!i || e)
|
|
216
213
|
return null;
|
|
217
|
-
const { date: a, user:
|
|
214
|
+
const { date: a, user: r } = i, n = i.type === "edit" ? r ? t.lastEditedByUser : t.lastEdited : r ? t.lastCreatedByUser : t.lastCreated, l = A(n ?? "", {
|
|
218
215
|
date: a,
|
|
219
|
-
user:
|
|
216
|
+
user: r
|
|
220
217
|
});
|
|
221
|
-
return
|
|
218
|
+
return o`<div class=${c(v(s.lastEditedInfo, s.contentElement))}>${l}</div>`;
|
|
222
219
|
}
|
|
223
220
|
}
|
|
224
|
-
|
|
221
|
+
w("arcgis-feature", Z);
|
|
225
222
|
export {
|
|
226
|
-
|
|
223
|
+
Z as ArcgisFeature
|
|
227
224
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
|
-
import { HeadingLevel } from '../../support/heading';
|
|
4
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
-
import {
|
|
4
|
+
import { HeadingLevel } from '../../support/heading';
|
|
6
5
|
import { ArcgisAttachments } from '../arcgis-attachments/customElement.js';
|
|
6
|
+
import { ArcgisFeature } from '../arcgis-feature/customElement.js';
|
|
7
7
|
|
|
8
8
|
/** @private */
|
|
9
9
|
export declare class ArcgisFeatureAttachments extends LitElement {
|
|
@@ -1,34 +1,31 @@
|
|
|
1
1
|
import { c as e } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as s, html as t } from "lit";
|
|
3
|
-
import { LitElement as a,
|
|
4
|
-
import { createRef as
|
|
3
|
+
import { LitElement as a, safeClassMap as i } from "@arcgis/lumina";
|
|
4
|
+
import { createRef as n, ref as h } from "lit-html/directives/ref.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
8
|
-
const
|
|
9
|
-
base:
|
|
7
|
+
v4.34.0-next.85 */
|
|
8
|
+
const c = s`arcgis-feature-attachments{display:block}`, r = "arcgis-feature-attachments", m = {
|
|
9
|
+
base: r
|
|
10
10
|
};
|
|
11
11
|
class d extends a {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this._attachmentsRef =
|
|
13
|
+
super(...arguments), this._attachmentsRef = n(), this.hideSection = !1, this.attachmentsLength = 0, this.headingLevel = 2;
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { hideSection: 16, attachmentsLength: 16, state: 16, description: 1, displayType: 1, graphic: 0, heading: 1, headingLevel: 9, messages: 0 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.styles =
|
|
20
|
-
}
|
|
21
|
-
static {
|
|
22
|
-
this.shadowRootOptions = i;
|
|
19
|
+
this.styles = c;
|
|
23
20
|
}
|
|
24
21
|
_updateAttachmentsState() {
|
|
25
22
|
this.state = this._attachmentsRef.value?.state, this.attachmentsLength = this._attachmentsRef.value?.attachmentInfos?.length ?? 0;
|
|
26
23
|
}
|
|
27
24
|
render() {
|
|
28
|
-
return t`<div class=${
|
|
25
|
+
return t`<div class=${i(m.base)}>${this.renderContent()}</div>`;
|
|
29
26
|
}
|
|
30
27
|
renderContent() {
|
|
31
|
-
return t`<div .hidden=${!(this.state === "loading" || this.attachmentsLength > 0)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info><arcgis-attachments @arcgisPropertyChange=${this._updateAttachmentsState} .graphic=${this.graphic} .displayType=${this.displayType} ${
|
|
28
|
+
return t`<div .hidden=${!(this.state === "loading" || this.attachmentsLength > 0)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info><arcgis-attachments @arcgisPropertyChange=${this._updateAttachmentsState} .graphic=${this.graphic} .displayType=${this.displayType} ${h(this._attachmentsRef)}></arcgis-attachments></div>`;
|
|
32
29
|
}
|
|
33
30
|
}
|
|
34
31
|
e("arcgis-feature-attachments", d);
|