@arcgis/map-components 4.34.0-next.3 → 4.34.0-next.31
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/26DLYMMR.js +4 -0
- package/dist/cdn/2LA4GLAI.js +4 -0
- package/dist/cdn/2YQKPNDT.js +4 -0
- package/dist/cdn/36IPUTQX.js +4 -0
- package/dist/cdn/3ADIDWVI.js +4 -0
- package/dist/cdn/{F3DQMWJ6.js → 3BAWA3LT.js} +2 -2
- package/dist/cdn/3CKMW2Q7.js +4 -0
- package/dist/cdn/3PBS3Q4N.js +4 -0
- package/dist/cdn/4B5PPETT.js +4 -0
- package/dist/cdn/4BDSIGFP.js +4 -0
- package/dist/cdn/4JVOBYXB.js +4 -0
- package/dist/cdn/4LFWEY26.js +4 -0
- package/dist/cdn/4M2LSAHJ.js +4 -0
- package/dist/cdn/4VPIQFJG.js +4 -0
- package/dist/cdn/{T3BMQYR2.js → 53CKEVNM.js} +2 -2
- package/dist/cdn/{46FOHP5W.js → 5HM4DXXC.js} +1 -1
- package/dist/cdn/5O4AEJTW.js +4 -0
- package/dist/cdn/622LTAWJ.js +4 -0
- package/dist/cdn/6DLZGELR.js +4 -0
- package/dist/cdn/6HCHHWVQ.js +4 -0
- package/dist/cdn/6IIYZGAO.js +4 -0
- package/dist/cdn/6JBTZTC4.js +4 -0
- package/dist/cdn/6KYTRBQ6.js +4 -0
- package/dist/cdn/6YITMAED.js +4 -0
- package/dist/cdn/73NMUS6P.js +4 -0
- package/dist/cdn/763422CW.js +4 -0
- package/dist/cdn/7CIEE227.js +4 -0
- package/dist/cdn/7FDT4OMI.js +4 -0
- package/dist/cdn/7ICHTEBA.js +4 -0
- package/dist/cdn/7OKH4ASK.js +4 -0
- package/dist/cdn/A7K23NW5.js +4 -0
- package/dist/cdn/{VXVE4ZXP.js → AA3IOEUJ.js} +2 -2
- package/dist/cdn/ALJRY2FC.js +4 -0
- package/dist/cdn/AXKKDFUQ.js +4 -0
- package/dist/cdn/BDLQBPYG.js +5 -0
- package/dist/cdn/BFKMSLZI.js +4 -0
- package/dist/cdn/BJM2DCRK.js +4 -0
- package/dist/cdn/BLULWZYD.js +4 -0
- package/dist/cdn/BTRN7VJ4.js +4 -0
- package/dist/cdn/BXK5XOEO.js +4 -0
- package/dist/cdn/{72K6PTPA.js → C76Q4VBO.js} +1 -1
- package/dist/cdn/CAFKXOOL.js +4 -0
- package/dist/cdn/CGRDJ5UJ.js +4 -0
- package/dist/cdn/CP5OPXZE.js +4 -0
- package/dist/cdn/CPM4VQI4.js +4 -0
- package/dist/cdn/D7NYAGRB.js +4 -0
- package/dist/cdn/DC6NDRG7.js +4 -0
- package/dist/cdn/DCWCSQRU.js +4 -0
- package/dist/cdn/DDEQLPG7.js +4 -0
- package/dist/cdn/DGNKHT6U.js +4 -0
- package/dist/cdn/DNKO5WD4.js +4 -0
- package/dist/cdn/DPDKZHBS.js +4 -0
- package/dist/cdn/DZSLNGVD.js +4 -0
- package/dist/cdn/EAVO2WOK.js +4 -0
- package/dist/cdn/{OYIZFWCL.js → EBOZA7ZG.js} +2 -2
- package/dist/cdn/{MFJLKVY3.js → EHLBYAW6.js} +2 -2
- package/dist/cdn/EJ5ZDARC.js +4 -0
- package/dist/cdn/EMVUGP3L.js +4 -0
- package/dist/cdn/EUN5OD2J.js +4 -0
- package/dist/cdn/FLGTTJBB.js +4 -0
- package/dist/cdn/FPBPE422.js +4 -0
- package/dist/cdn/FQV4SUAY.js +4 -0
- package/dist/cdn/FYPTTC7V.js +4 -0
- package/dist/cdn/{3W2WGUDP.js → G3YO6G3G.js} +1 -1
- package/dist/cdn/G5TA3KVQ.js +4 -0
- package/dist/cdn/GAOEXMR7.js +4 -0
- package/dist/cdn/GIYTXCBM.js +4 -0
- package/dist/cdn/GJJOP3HC.js +4 -0
- package/dist/cdn/GQTHMU4S.js +4 -0
- package/dist/cdn/GQYM23VB.js +4 -0
- package/dist/cdn/HHSFLGQJ.js +4 -0
- package/dist/cdn/HIOV6S45.js +4 -0
- package/dist/cdn/HUEFDYUQ.js +4 -0
- package/dist/cdn/HY6VFKBI.js +4 -0
- package/dist/cdn/I2BOYOB6.js +4 -0
- package/dist/cdn/I7ZOGENV.js +4 -0
- package/dist/cdn/IBCDVZKK.js +4 -0
- package/dist/cdn/{4IQYTQIS.js → IBLIJAUY.js} +2 -2
- package/dist/cdn/IHNSXSRB.js +4 -0
- package/dist/cdn/JCGEWIZJ.js +4 -0
- package/dist/cdn/JPP4VR4A.js +4 -0
- package/dist/cdn/K4AVZIZY.js +4 -0
- package/dist/cdn/K6D6OMQR.js +4 -0
- package/dist/cdn/KHUZW65E.js +4 -0
- package/dist/cdn/{WUICCK44.js → KKG33AH4.js} +2 -2
- package/dist/cdn/KP24HLQQ.js +4 -0
- package/dist/cdn/KWFYJ3PH.js +4 -0
- package/dist/cdn/KY7UB4SK.js +4 -0
- package/dist/cdn/LBKPOWHT.js +4 -0
- package/dist/cdn/LEJJWBPC.js +4 -0
- package/dist/cdn/LF6WKLSP.js +4 -0
- package/dist/cdn/{PQBBBIQU.js → LIWDJPSV.js} +2 -2
- package/dist/cdn/LQMXJQBO.js +4 -0
- package/dist/cdn/LTQN4UYJ.js +4 -0
- package/dist/cdn/LUGQJB5O.js +4 -0
- package/dist/cdn/M3ED5O6F.js +4 -0
- package/dist/cdn/M6FUVO53.js +4 -0
- package/dist/cdn/M7QHUCKP.js +4 -0
- package/dist/cdn/MI4KV3CX.js +4 -0
- package/dist/cdn/MN3XLBQS.js +4 -0
- package/dist/cdn/MSP4TFNY.js +4 -0
- package/dist/cdn/MZU5L2JD.js +4 -0
- package/dist/cdn/NATL267K.js +4 -0
- package/dist/cdn/NBEZ3HD2.js +4 -0
- package/dist/cdn/NEFKVILA.js +4 -0
- package/dist/cdn/NLEHYGIW.js +4 -0
- package/dist/cdn/NS3FMAYW.js +4 -0
- package/dist/cdn/NTF525KK.js +4 -0
- package/dist/cdn/{EGAU2GAK.js → O5UBAPDN.js} +2 -2
- package/dist/cdn/OATNAOVF.js +4 -0
- package/dist/cdn/OFAQC3GS.js +4 -0
- package/dist/cdn/OMVHEDLC.js +4 -0
- package/dist/cdn/OY36GFUB.js +4 -0
- package/dist/cdn/PAWTXHBY.js +4 -0
- package/dist/cdn/PEXNMK5Q.js +4 -0
- package/dist/cdn/PS62UU6E.js +4 -0
- package/dist/cdn/PUJ23HZE.js +4 -0
- package/dist/cdn/Q7LO7KLU.js +4 -0
- package/dist/cdn/Q7WVYIOB.js +4 -0
- package/dist/cdn/{5R5OWXAQ.js → QGT5ESJQ.js} +2 -2
- package/dist/cdn/QR7K3RUL.js +4 -0
- package/dist/cdn/QROWDO6U.js +4 -0
- package/dist/cdn/QXPJFR6H.js +4 -0
- package/dist/cdn/QZ53U2T6.js +4 -0
- package/dist/cdn/R2URNESZ.js +4 -0
- package/dist/cdn/{LP4I37RY.js → R4CT2F7F.js} +1 -1
- package/dist/cdn/R5LSLUTP.js +4 -0
- package/dist/cdn/R5OKIQET.js +4 -0
- package/dist/cdn/RDRAZMZM.js +4 -0
- package/dist/cdn/RIZJRT6Y.js +4 -0
- package/dist/cdn/RKBMMJM2.js +4 -0
- package/dist/cdn/{N4BQ2M5C.js → RNPVFMQ7.js} +2 -2
- package/dist/cdn/RNSKJ3XA.js +4 -0
- package/dist/cdn/RT46PA45.js +4 -0
- package/dist/cdn/RUSYF6NM.js +4 -0
- package/dist/cdn/SD3UUDRY.js +4 -0
- package/dist/cdn/SMCJKPQM.js +4 -0
- package/dist/cdn/SS2ZFJPC.js +4 -0
- package/dist/cdn/T7L24I5I.js +4 -0
- package/dist/cdn/{5YG75FR4.js → TAOTWWKU.js} +4 -4
- package/dist/cdn/TDYYD2N6.js +4 -0
- package/dist/cdn/TLVAT3AY.js +4 -0
- package/dist/cdn/TOLZJFGD.js +4 -0
- package/dist/cdn/TT3YIOPW.js +4 -0
- package/dist/cdn/U3PE5XKO.js +4 -0
- package/dist/cdn/U6I77C3G.js +4 -0
- package/dist/cdn/{TG4WOIVN.js → U75MZFTX.js} +2 -2
- package/dist/cdn/UARKWXHU.js +4 -0
- package/dist/cdn/UJUODCMJ.js +4 -0
- package/dist/cdn/UMI4O723.js +4 -0
- package/dist/cdn/UPSUYH4Y.js +4 -0
- package/dist/cdn/UT7UMC7K.js +4 -0
- package/dist/cdn/UVSB6JMI.js +4 -0
- package/dist/cdn/VHTHRPHC.js +4 -0
- package/dist/cdn/VUJ4WOH2.js +4 -0
- package/dist/cdn/VY4W7K6V.js +4 -0
- package/dist/cdn/WEAXSAF7.js +4 -0
- package/dist/cdn/{Y3HMAR44.js → WFZBPWEW.js} +1 -1
- package/dist/cdn/WL4DZY4L.js +4 -0
- package/dist/cdn/WLZHIEET.js +4 -0
- package/dist/cdn/WP7TCQS6.js +4 -0
- package/dist/cdn/WY2V34L5.js +4 -0
- package/dist/cdn/XBK7M2JX.js +4 -0
- package/dist/cdn/XCPXCNRD.js +4 -0
- package/dist/cdn/{ZDO5M5ZH.js → XQ5YJ6DC.js} +2 -2
- package/dist/cdn/XRYJX5GI.js +4 -0
- package/dist/cdn/XXMM7VGN.js +4 -0
- package/dist/cdn/XZ64KGLO.js +4 -0
- package/dist/cdn/YCXS4EZW.js +4 -0
- package/dist/cdn/{363OWKVL.js → YOHULSJK.js} +2 -2
- package/dist/cdn/YTCIMUZ4.js +4 -0
- package/dist/cdn/YXERGQ66.js +4 -0
- package/dist/cdn/YXWPO6AK.js +4 -0
- package/dist/cdn/Z2A3RVER.js +4 -0
- package/dist/cdn/ZB3SR2RL.js +4 -0
- package/dist/cdn/ZBCV3H2S.js +4 -0
- package/dist/cdn/ZBVID3H2.js +4 -0
- package/dist/cdn/ZE6RGNFJ.js +4 -0
- package/dist/cdn/ZFOERVH2.js +4 -0
- package/dist/cdn/{D4UC6YNK.js → ZKBCJP4L.js} +2 -2
- package/dist/cdn/ZNVU7M2F.js +4 -0
- package/dist/cdn/{BRHFFFB6.js → ZR3PDZ5Q.js} +1 -1
- package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/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 +1 -1
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +145 -0
- package/dist/chunks/globalCss.js +2 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +111 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +11 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +5 -5
- package/dist/components/arcgis-bookmarks/customElement.d.ts +6 -3
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +26 -14
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +10 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +3 -3
- package/dist/components/arcgis-daylight/customElement.d.ts +27 -13
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +112 -9
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +6 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +5 -0
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +28 -20
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +8 -2
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +6 -1
- package/dist/components/arcgis-feature/customElement.js +10 -9
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +15 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +24 -0
- package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
- package/dist/components/arcgis-feature-attachments/index.js +3 -0
- package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-content/customElement.js +66 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +39 -0
- package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/index.js +1 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +16 -0
- package/dist/components/arcgis-feature-fields/customElement.js +141 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +6 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +37 -0
- package/dist/components/arcgis-feature-media/customElement.js +575 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +7 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -0
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +5 -0
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -0
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +16 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +23 -12
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +5 -0
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +75 -19
- package/dist/components/arcgis-line-of-sight/customElement.js +10 -13
- package/dist/components/arcgis-link-chart/customElement.d.ts +19 -9
- package/dist/components/arcgis-link-chart/customElement.js +14 -5
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -26
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/customElement.d.ts +17 -5
- package/dist/components/arcgis-locate/customElement.js +29 -29
- package/dist/components/arcgis-map/customElement.d.ts +27 -14
- package/dist/components/arcgis-map/customElement.js +25 -14
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -0
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -13
- package/dist/components/arcgis-navigation-toggle/customElement.js +14 -11
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +5 -0
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +54 -40
- package/dist/components/arcgis-print/customElement.js +39 -33
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +3 -4
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -22
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +23 -18
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -19
- 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.d.ts +11 -2
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +143 -80
- package/dist/components/arcgis-scene/customElement.js +27 -16
- package/dist/components/arcgis-search/customElement.d.ts +46 -16
- package/dist/components/arcgis-search/customElement.js +39 -36
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +92 -30
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +5 -0
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/customElement.d.ts +77 -18
- package/dist/components/arcgis-slice/customElement.js +2 -2
- package/dist/components/arcgis-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +11 -2
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +26 -9
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +5 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +16 -13
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -0
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +14 -5
- package/dist/components/arcgis-version-management/customElement.js +48 -50
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +11 -11
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +19 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +45 -45
- package/dist/components/arcgis-video/customElement.d.ts +20 -9
- package/dist/components/arcgis-video/customElement.js +10 -19
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -5
- package/dist/components/arcgis-video-player/customElement.js +32 -26
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +12 -12
- package/dist/components/arcgis-video-player-metadata/customElement.js +2 -2
- package/dist/components/arcgis-video-player-settings/customElement.js +2 -2
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +52 -3
- package/dist/components/arcgis-weather/customElement.js +2 -2
- package/dist/components/arcgis-zoom/customElement.d.ts +10 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/Handles.d.ts +2 -2
- package/dist/controllers/useHandles.d.ts +4 -4
- package/dist/docs/api.json +1381 -495
- package/dist/docs/docs.json +1119 -509
- package/dist/docs/vscode.html-custom-data.json +195 -102
- package/dist/docs/web-types.json +421 -230
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +20 -15
- package/dist/types/lumina.d.ts +15 -12
- package/dist/types/preact.d.ts +15 -12
- package/dist/types/react.d.ts +15 -12
- package/dist/types/stencil.d.ts +15 -12
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +30 -0
- package/dist/utils/related-feature-utils.d.ts +17 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +5 -4
- package/dist/cdn/2DEASVZD.js +0 -4
- package/dist/cdn/2ESEAIA5.js +0 -4
- package/dist/cdn/46DOZMHG.js +0 -4
- package/dist/cdn/46NE5CD2.js +0 -4
- package/dist/cdn/4H2W5GYD.js +0 -4
- package/dist/cdn/4QRBF4FC.js +0 -4
- package/dist/cdn/4USUAQ3M.js +0 -4
- package/dist/cdn/4XMBZYKO.js +0 -4
- package/dist/cdn/56EGKCO3.js +0 -4
- package/dist/cdn/5VXQTBEA.js +0 -4
- package/dist/cdn/67UXLU2S.js +0 -4
- package/dist/cdn/6EE4JJ2I.js +0 -4
- package/dist/cdn/6K7QBAMI.js +0 -4
- package/dist/cdn/6X6BDLCA.js +0 -4
- package/dist/cdn/6Z56X76F.js +0 -4
- package/dist/cdn/7AXRMMLJ.js +0 -4
- package/dist/cdn/7L5XBWYD.js +0 -4
- package/dist/cdn/ALUNHIFF.js +0 -4
- package/dist/cdn/BKWCCZ53.js +0 -4
- package/dist/cdn/BOZBPEOQ.js +0 -4
- package/dist/cdn/C2GRKYPA.js +0 -4
- package/dist/cdn/C5VB62EV.js +0 -4
- package/dist/cdn/CQMPO2FO.js +0 -4
- package/dist/cdn/CV25FGWS.js +0 -4
- package/dist/cdn/CWRD56OW.js +0 -4
- package/dist/cdn/DPC4BXUO.js +0 -4
- package/dist/cdn/DVRWN2X3.js +0 -4
- package/dist/cdn/DWMAF3AB.js +0 -4
- package/dist/cdn/FGMM6TLQ.js +0 -4
- package/dist/cdn/GKQV3GV7.js +0 -4
- package/dist/cdn/GOEEX3IG.js +0 -4
- package/dist/cdn/H34JBL4Z.js +0 -4
- package/dist/cdn/HAFNNW3D.js +0 -4
- package/dist/cdn/HJBXOC2I.js +0 -4
- package/dist/cdn/HLKSYNBA.js +0 -4
- package/dist/cdn/HQEQV3QC.js +0 -4
- package/dist/cdn/JCQD3YNR.js +0 -4
- package/dist/cdn/JDTYQCZK.js +0 -4
- package/dist/cdn/JI6FC2KZ.js +0 -4
- package/dist/cdn/JLCRXIKZ.js +0 -4
- package/dist/cdn/JP5O6B5F.js +0 -4
- package/dist/cdn/JV24GCAP.js +0 -4
- package/dist/cdn/K7UZ42V3.js +0 -4
- package/dist/cdn/KXYEAIS4.js +0 -4
- package/dist/cdn/L3OI72NI.js +0 -4
- package/dist/cdn/LEGQAMIG.js +0 -4
- package/dist/cdn/LUJBBH5J.js +0 -4
- package/dist/cdn/LXPDH2BL.js +0 -4
- package/dist/cdn/M3YHSP3I.js +0 -4
- package/dist/cdn/MSKYKJCN.js +0 -4
- package/dist/cdn/MT5RQBAH.js +0 -4
- package/dist/cdn/MZ4A2RS4.js +0 -4
- package/dist/cdn/N2AWMIHG.js +0 -4
- package/dist/cdn/NFP7KMGH.js +0 -4
- package/dist/cdn/NNWDJSAH.js +0 -4
- package/dist/cdn/O7ZKXOTB.js +0 -4
- package/dist/cdn/OYUETUJJ.js +0 -4
- package/dist/cdn/PPUKTTQ3.js +0 -4
- package/dist/cdn/PYZLIY6P.js +0 -4
- package/dist/cdn/QPFJHO6Q.js +0 -4
- package/dist/cdn/QSM7LMGZ.js +0 -4
- package/dist/cdn/REMEYP6N.js +0 -4
- package/dist/cdn/RFMOKDOF.js +0 -4
- package/dist/cdn/RNXSFATM.js +0 -4
- package/dist/cdn/RURKZO7X.js +0 -4
- package/dist/cdn/S2O5QLCT.js +0 -4
- package/dist/cdn/SHCBXBY3.js +0 -4
- package/dist/cdn/SLDQ2YZY.js +0 -4
- package/dist/cdn/SWDKYZ6Z.js +0 -4
- package/dist/cdn/TJN54QWM.js +0 -4
- package/dist/cdn/TNVEJWIO.js +0 -4
- package/dist/cdn/TRPGUDFV.js +0 -4
- package/dist/cdn/TXZALV35.js +0 -4
- package/dist/cdn/U2HHRTN2.js +0 -4
- package/dist/cdn/V2RJSRTT.js +0 -4
- package/dist/cdn/V45UQX3A.js +0 -4
- package/dist/cdn/V4COQWPL.js +0 -4
- package/dist/cdn/V5ZNHCME.js +0 -4
- package/dist/cdn/VIDQXKDI.js +0 -4
- package/dist/cdn/VQD7JRM4.js +0 -4
- package/dist/cdn/W3XQBJXS.js +0 -4
- package/dist/cdn/WG47QYRW.js +0 -4
- package/dist/cdn/WQJO5G7X.js +0 -4
- package/dist/cdn/WY2EGIGS.js +0 -4
- package/dist/cdn/XFRS3WPC.js +0 -4
- package/dist/cdn/XRRL7PHW.js +0 -4
- package/dist/cdn/XUU76GOK.js +0 -4
- package/dist/cdn/Y5DTQNYQ.js +0 -4
- package/dist/cdn/Y5TCYX4Y.js +0 -4
- package/dist/cdn/YPOT4P5O.js +0 -4
- package/dist/cdn/Z5HH6M3E.js +0 -4
- package/dist/cdn/Z5JQ33M4.js +0 -4
- package/dist/cdn/ZAORUVUH.js +0 -4
- package/dist/cdn/ZEVG6CNZ.js +0 -4
- package/dist/cdn/ZHMO3DWS.js +0 -4
- package/dist/cdn/ZS3C5VPV.js +0 -4
- package/dist/cdn/ZUXJIOON.js +0 -4
|
@@ -0,0 +1,575 @@
|
|
|
1
|
+
import { c as j } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as y } from "lit-html";
|
|
3
|
+
import { ref as G } from "lit-html/directives/ref.js";
|
|
4
|
+
import { keyed as q } from "lit-html/directives/keyed.js";
|
|
5
|
+
import { useMedia as K } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { getColorsFromRenderer as J } from "@arcgis/core/renderers/support/utils.js";
|
|
7
|
+
import { LitElement as Q, noShadowRoot as Z, safeClassMap as C, nothing as A } from "@arcgis/lumina";
|
|
8
|
+
import { css as ee } from "@lit/reactive-element/css-tag.js";
|
|
9
|
+
import { substitute as te } from "@arcgis/core/intl.js";
|
|
10
|
+
import { c as S } from "../../chunks/utils.js";
|
|
11
|
+
import { watch as ie } from "@arcgis/core/core/reactiveUtils.js";
|
|
12
|
+
import ae from "@arcgis/core/popup/FieldInfo.js";
|
|
13
|
+
import X from "@arcgis/core/popup/content/support/ChartMediaInfoValueSeries.js";
|
|
14
|
+
import { unsafeGetModeName as re } from "@arcgis/components-utils";
|
|
15
|
+
import { renderingSanitizer as E } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
16
|
+
import { i as T, s as V, f as Y, a as U, g as ne, b as D, c as se, d as oe, e as le, h as ce } from "../../chunks/feature-utils.js";
|
|
17
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
19
|
+
v4.34.0-next.31 */
|
|
20
|
+
const de = ee`@layer{arcgis-feature-media{.arcgis-feature-media__container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-spacing-xs);width:100%;min-height:150px}.arcgis-feature-media__container .arcgis-feature-media__pagination-button{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding-block:var(--calcite-spacing-xs);padding-inline:var(--calcite-spacing-xs);color:var(--calcite-color-text-3)}.arcgis-feature-media__container .arcgis-feature-media__pagination-button:hover,.arcgis-feature-media__container .arcgis-feature-media__pagination-button:focus{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1);fill:var(--calcite-color-text-1)}.arcgis-feature-media__item-title{margin:0;font-size:var(--calcite-font-size-md)}.arcgis-feature-media__item-caption{padding-block-start:var(--calcite-spacing-xxs);font-size:var(--calcite-font-size)}.arcgis-feature-media__item{display:flex;align-items:flex-start;justify-content:center;margin-block:var(--calcite-spacing-xs);width:100%;height:auto}.arcgis-feature-media__item-navigation{display:flex;flex:0 1 100%;align-items:flex-start;justify-content:space-between;margin-block-end:var(--calcite-spacing-xs)}.arcgis-feature-media__item-text{margin-inline-end:var(--calcite-spacing-xs)}.arcgis-feature-media__pagination{display:flex;flex:0 0 auto;align-items:center;overflow:hidden}.arcgis-feature-media__pagination:only-child{margin-inline-start:auto}.arcgis-feature-media__pagination-text{padding-inline:var(--calcite-spacing-xxs);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.arcgis-feature-media__item-container{flex:0 1 auto;width:100%}.arcgis-feature-media__item-container img{max-width:100%}.arcgis-feature-media__item-container img[src$=".SVG"],.arcgis-feature-media__item-container img[src$=".svg"]{width:100%}.arcgis-feature-media__chart{width:100%;height:155px}}}`;
|
|
21
|
+
function N(R) {
|
|
22
|
+
if (!T(R))
|
|
23
|
+
return null;
|
|
24
|
+
const [e, t] = R.split("/").slice(1);
|
|
25
|
+
return { layerId: e, fieldName: t };
|
|
26
|
+
}
|
|
27
|
+
const M = "arcgis-feature-media", I = {
|
|
28
|
+
base: M,
|
|
29
|
+
mediaContainer: `${M}__container`,
|
|
30
|
+
mediaItemContainer: `${M}__item-container`,
|
|
31
|
+
mediaItem: `${M}__item`,
|
|
32
|
+
mediaItemText: `${M}__item-text`,
|
|
33
|
+
mediaItemTitle: `${M}__item-title`,
|
|
34
|
+
mediaItemCaption: `${M}__item-caption`,
|
|
35
|
+
mediaNavigation: `${M}__item-navigation`,
|
|
36
|
+
mediaPagination: `${M}__pagination`,
|
|
37
|
+
mediaPaginationText: `${M}__pagination-text`,
|
|
38
|
+
mediaChart: `${M}__chart`,
|
|
39
|
+
mediaPaginationButton: `${M}__pagination-button`,
|
|
40
|
+
mediaPaginationIcon: `${M}__pagination-icon`,
|
|
41
|
+
mediaChartRendered: `${M}__chart--rendered`
|
|
42
|
+
}, z = 15, w = "category", b = "value", me = "rgba(50, 50, 50, 1)", ue = 250, he = 500, fe = 200;
|
|
43
|
+
class pe extends Q {
|
|
44
|
+
constructor() {
|
|
45
|
+
super(...arguments), this._prefersReducedMotion = K("(prefers-reduced-motion)"), this.activeMediaInfoIndex = 0, this.chartAnimationDisabled = !1, this.isAggregate = !1;
|
|
46
|
+
}
|
|
47
|
+
static {
|
|
48
|
+
this.properties = { _refreshIntervalInfo: 16, messages: 0, values: 0, activeMediaInfoIndex: 9, chartAnimationDisabled: 5, activeMediaInfo: 32, formattedMediaInfos: 32, description: 1, fieldInfoMap: 0, layer: 0, mediaInfos: 0, popupTemplate: 0, relatedInfos: 0, formattedValues: 0, expressionValues: 0, heading: 1, isAggregate: 5, formattedMediaInfoCount: 32, headingLevel: 9 };
|
|
49
|
+
}
|
|
50
|
+
static {
|
|
51
|
+
this.styles = de;
|
|
52
|
+
}
|
|
53
|
+
static {
|
|
54
|
+
this.shadowRootOptions = Z;
|
|
55
|
+
}
|
|
56
|
+
get activeMediaInfo() {
|
|
57
|
+
return this.formattedMediaInfos[this.activeMediaInfoIndex] || null;
|
|
58
|
+
}
|
|
59
|
+
get formattedMediaInfos() {
|
|
60
|
+
return this._formatMediaInfos() || [];
|
|
61
|
+
}
|
|
62
|
+
get formattedMediaInfoCount() {
|
|
63
|
+
return this.formattedMediaInfos.length;
|
|
64
|
+
}
|
|
65
|
+
next() {
|
|
66
|
+
this._pageContentElementMedia(1);
|
|
67
|
+
}
|
|
68
|
+
previous() {
|
|
69
|
+
this._pageContentElementMedia(-1);
|
|
70
|
+
}
|
|
71
|
+
setActiveMedia(e) {
|
|
72
|
+
this._setContentElementMedia(e);
|
|
73
|
+
}
|
|
74
|
+
loaded() {
|
|
75
|
+
this.manager.onLifecycle(() => [
|
|
76
|
+
ie(() => [this.activeMediaInfo, this.activeMediaInfoIndex], () => this._setupMediaRefreshTimer(), { initial: !0 }),
|
|
77
|
+
{ remove: () => this._clearMediaRefreshTimer() }
|
|
78
|
+
]);
|
|
79
|
+
}
|
|
80
|
+
_setContentElementMedia(e) {
|
|
81
|
+
const { formattedMediaInfoCount: t } = this, i = (e + t) % t;
|
|
82
|
+
this.activeMediaInfoIndex = i;
|
|
83
|
+
}
|
|
84
|
+
_pageContentElementMedia(e) {
|
|
85
|
+
const { activeMediaInfoIndex: t } = this, i = t + e;
|
|
86
|
+
this._setContentElementMedia(i);
|
|
87
|
+
}
|
|
88
|
+
_formatMediaInfos() {
|
|
89
|
+
const { mediaInfos: e, layer: t } = this, i = this.values ?? {}, a = this.formattedValues ?? {}, s = this.expressionValues ?? {}, n = this.fieldInfoMap ?? /* @__PURE__ */ new Map();
|
|
90
|
+
return e?.map((o) => {
|
|
91
|
+
const r = o?.clone();
|
|
92
|
+
if (!r)
|
|
93
|
+
return null;
|
|
94
|
+
if (r.title = V({
|
|
95
|
+
values: i,
|
|
96
|
+
fieldInfoMap: n,
|
|
97
|
+
globalValues: a,
|
|
98
|
+
expressionValues: s,
|
|
99
|
+
layer: t,
|
|
100
|
+
text: r.title
|
|
101
|
+
}), r.caption = V({
|
|
102
|
+
values: i,
|
|
103
|
+
fieldInfoMap: n,
|
|
104
|
+
globalValues: a,
|
|
105
|
+
expressionValues: s,
|
|
106
|
+
layer: t,
|
|
107
|
+
text: r.caption
|
|
108
|
+
}), r.altText = V({
|
|
109
|
+
values: i,
|
|
110
|
+
fieldInfoMap: n,
|
|
111
|
+
globalValues: a,
|
|
112
|
+
expressionValues: s,
|
|
113
|
+
layer: t,
|
|
114
|
+
text: r.altText
|
|
115
|
+
}), r.type === "image") {
|
|
116
|
+
if (!r.value)
|
|
117
|
+
return null;
|
|
118
|
+
const c = r.value;
|
|
119
|
+
return this._setImageValue({
|
|
120
|
+
value: c,
|
|
121
|
+
formattedValues: a,
|
|
122
|
+
layer: t
|
|
123
|
+
}), c.sourceURL ? r : void 0;
|
|
124
|
+
}
|
|
125
|
+
if (r.type === "pie-chart" || r.type === "line-chart" || r.type === "column-chart" || r.type === "bar-chart") {
|
|
126
|
+
if (!r.value)
|
|
127
|
+
return null;
|
|
128
|
+
const c = r.value;
|
|
129
|
+
return this._setChartValue({
|
|
130
|
+
value: c,
|
|
131
|
+
chartType: r.type,
|
|
132
|
+
values: i,
|
|
133
|
+
formattedValues: a,
|
|
134
|
+
layer: t,
|
|
135
|
+
expressionValues: s
|
|
136
|
+
}), r;
|
|
137
|
+
}
|
|
138
|
+
return null;
|
|
139
|
+
}).filter((o) => o != null) ?? [];
|
|
140
|
+
}
|
|
141
|
+
_setImageValue(e) {
|
|
142
|
+
const t = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { value: i, formattedValues: a, layer: s } = e, { linkURL: n, sourceURL: o } = i;
|
|
143
|
+
if (o) {
|
|
144
|
+
const r = Y(o, s);
|
|
145
|
+
i.sourceURL = U({
|
|
146
|
+
formattedValues: a,
|
|
147
|
+
template: r,
|
|
148
|
+
fieldInfoMap: t
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
if (n) {
|
|
152
|
+
const r = Y(n, s);
|
|
153
|
+
i.linkURL = U({
|
|
154
|
+
formattedValues: a,
|
|
155
|
+
template: r,
|
|
156
|
+
fieldInfoMap: t
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
_setChartValue(e) {
|
|
161
|
+
const { value: t, values: i, formattedValues: a, chartType: s, layer: n, expressionValues: o } = e, { popupTemplate: r, relatedInfos: c } = this, { fields: f, normalizeField: m } = t, l = n;
|
|
162
|
+
if (t.fields = ne(f, l), m && (t.normalizeField = D(m, l)), !f.some((d) => !!(a[d] != null || T(d) && c?.size)))
|
|
163
|
+
return;
|
|
164
|
+
const u = r?.fieldInfos ?? [];
|
|
165
|
+
f.forEach((d, g) => {
|
|
166
|
+
const p = t.colors?.[g];
|
|
167
|
+
if (T(d)) {
|
|
168
|
+
t.series = [
|
|
169
|
+
...t.series,
|
|
170
|
+
...this._getRelatedChartInfos({ fieldInfos: u, fieldName: d, formattedValues: a, chartType: s, value: t, color: p })
|
|
171
|
+
];
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
const _ = this._getChartOption({
|
|
175
|
+
value: t,
|
|
176
|
+
values: i,
|
|
177
|
+
chartType: s,
|
|
178
|
+
formattedValues: a,
|
|
179
|
+
expressionValues: o,
|
|
180
|
+
fieldName: d,
|
|
181
|
+
fieldInfos: u,
|
|
182
|
+
color: p
|
|
183
|
+
});
|
|
184
|
+
t.series.push(_);
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
_getRelatedChartInfos(e) {
|
|
188
|
+
const { fieldInfos: t, fieldName: i, formattedValues: a, chartType: s, value: n, color: o } = e, r = [], c = N(i), f = c && this.relatedInfos?.get(c.layerId.toString());
|
|
189
|
+
if (!f)
|
|
190
|
+
return r;
|
|
191
|
+
const { relatedFeatures: m, relation: l } = f;
|
|
192
|
+
if (!l || !m)
|
|
193
|
+
return r;
|
|
194
|
+
const { cardinality: h } = l;
|
|
195
|
+
return m.forEach((d) => {
|
|
196
|
+
const g = d.attributes;
|
|
197
|
+
g && Object.keys(g).forEach((p) => {
|
|
198
|
+
p === c.fieldName && r.push(this._getChartOption({
|
|
199
|
+
value: n,
|
|
200
|
+
values: g,
|
|
201
|
+
formattedValues: a,
|
|
202
|
+
fieldName: i,
|
|
203
|
+
chartType: s,
|
|
204
|
+
relatedFieldName: p,
|
|
205
|
+
hasMultipleRelatedFeatures: m?.length > 1,
|
|
206
|
+
fieldInfos: t,
|
|
207
|
+
color: o
|
|
208
|
+
}));
|
|
209
|
+
});
|
|
210
|
+
}), h && (h === "one-to-many" || h === "many-to-many") ? r : [r[0]];
|
|
211
|
+
}
|
|
212
|
+
_getTooltip({ label: e, value: t, chartType: i }) {
|
|
213
|
+
return i === "pie-chart" ? `${e}` : `${e}: ${t}`;
|
|
214
|
+
}
|
|
215
|
+
_getChartOption(e) {
|
|
216
|
+
const { value: t, values: i, formattedValues: a, expressionValues: s, fieldName: n, relatedFieldName: o, fieldInfos: r, chartType: c, hasMultipleRelatedFeatures: f, color: m } = e, l = this.layer, h = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { normalizeField: u, tooltipField: d } = t, g = u ? T(u) ? i[N(u).fieldName] : i[u] : null, p = se(n) && s?.[n] !== void 0 ? s[n] : o && i[o] !== void 0 ? i[o] : i[n] !== void 0 ? i[n] : a[n], _ = p === void 0 ? null : p && g && typeof p == "number" && typeof g == "number" ? p / g : p, v = oe(r, n), x = D(n, l), F = (d && a[d] !== void 0 ? a[d] : le(v || new ae({ fieldName: x }), this.popupTemplate?.expressionInfos)) ?? "", $ = a[x] ?? "", P = typeof _ == "number" ? _ : Number(_);
|
|
217
|
+
if (T(n)) {
|
|
218
|
+
const k = h.get(n.toLowerCase()), B = d ? h.get(d.toLowerCase()) : null, H = k?.fieldName ?? n, L = f && d ? N(d).fieldName : B?.fieldName ?? d, O = (f && L ? i[L] : a[L] ?? k?.label ?? k?.fieldName ?? o) ?? "", W = (f && o ? i[o] : a[H]) ?? "";
|
|
219
|
+
return new X({
|
|
220
|
+
fieldName: n,
|
|
221
|
+
tooltip: this._getTooltip({
|
|
222
|
+
label: O,
|
|
223
|
+
value: W,
|
|
224
|
+
chartType: c
|
|
225
|
+
}),
|
|
226
|
+
color: m,
|
|
227
|
+
value: P
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
return new X({
|
|
231
|
+
fieldName: n,
|
|
232
|
+
tooltip: this._getTooltip({
|
|
233
|
+
label: F,
|
|
234
|
+
value: $,
|
|
235
|
+
chartType: c
|
|
236
|
+
}),
|
|
237
|
+
color: m,
|
|
238
|
+
value: P
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
_getRenderer() {
|
|
242
|
+
const e = this.layer;
|
|
243
|
+
return this.isAggregate && e?.featureReduction && "renderer" in e.featureReduction ? e.featureReduction.renderer : e?.renderer;
|
|
244
|
+
}
|
|
245
|
+
async _getSeriesColors(e) {
|
|
246
|
+
const { color: t } = await import("@amcharts/amcharts5/index.js"), i = /* @__PURE__ */ new Map();
|
|
247
|
+
return e.forEach((a) => {
|
|
248
|
+
a.color && i.set(a, t(a.color.toCss(!0)));
|
|
249
|
+
}), i;
|
|
250
|
+
}
|
|
251
|
+
async _getRendererColors() {
|
|
252
|
+
const { color: e } = await import("@amcharts/amcharts5/index.js"), t = /* @__PURE__ */ new Map(), i = this._getRenderer(), a = "default";
|
|
253
|
+
if (!i)
|
|
254
|
+
return t;
|
|
255
|
+
const s = await J(i);
|
|
256
|
+
return s.delete(a), Array.from(s.values()).every((o) => o?.length === 1) && Array.from(s.keys()).forEach((o) => {
|
|
257
|
+
const r = s.get(o)?.[0]?.toCss(!0);
|
|
258
|
+
r && t.set(o, e(r));
|
|
259
|
+
}), t;
|
|
260
|
+
}
|
|
261
|
+
async _createChart(e) {
|
|
262
|
+
const { activeMediaInfo: t } = this;
|
|
263
|
+
if (!e || !t)
|
|
264
|
+
return;
|
|
265
|
+
const { createRoot: i } = await import("../../chunks/chart-utils.js"), a = await i(e);
|
|
266
|
+
this._chartRoot = a, this._renderChart({
|
|
267
|
+
mediaInfo: t,
|
|
268
|
+
root: a
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
_handleMediaKeyup(e) {
|
|
272
|
+
const { key: t } = e;
|
|
273
|
+
t === "ArrowLeft" && (e.stopPropagation(), this.previous()), t === "ArrowRight" && (e.stopPropagation(), this.next());
|
|
274
|
+
}
|
|
275
|
+
_canAnimateChart() {
|
|
276
|
+
return !this.chartAnimationDisabled && !this._prefersReducedMotion;
|
|
277
|
+
}
|
|
278
|
+
_getChartAnimationMS() {
|
|
279
|
+
return this._canAnimateChart() ? ue : 0;
|
|
280
|
+
}
|
|
281
|
+
_getChartSeriesAnimationMS() {
|
|
282
|
+
return this._canAnimateChart() ? he : 0;
|
|
283
|
+
}
|
|
284
|
+
_getDirection() {
|
|
285
|
+
return S(this.el) ? "rtl" : "ltr";
|
|
286
|
+
}
|
|
287
|
+
async _customizeChartTooltip(e, t = "horizontal") {
|
|
288
|
+
const { color: i } = await import("@amcharts/amcharts5/index.js");
|
|
289
|
+
e.setAll({
|
|
290
|
+
pointerOrientation: t
|
|
291
|
+
}), e.get("background")?.setAll({
|
|
292
|
+
stroke: i(me)
|
|
293
|
+
}), e.label.setAll({
|
|
294
|
+
direction: this._getDirection(),
|
|
295
|
+
oversizedBehavior: "wrap",
|
|
296
|
+
maxWidth: fe
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
async _createPieChart(e, t) {
|
|
300
|
+
const [{ Tooltip: i }, { PieChart: a, PieSeries: s }] = await Promise.all([
|
|
301
|
+
import("@amcharts/amcharts5/index.js"),
|
|
302
|
+
import("@amcharts/amcharts5/percent.js")
|
|
303
|
+
]), { mediaInfo: n, root: o } = e, { title: r } = n, c = 5, f = n?.altText || n?.title || "", m = o.container.children.push(a.new(o, {
|
|
304
|
+
ariaLabel: f,
|
|
305
|
+
focusable: !0,
|
|
306
|
+
paddingBottom: c,
|
|
307
|
+
paddingTop: c,
|
|
308
|
+
paddingLeft: c,
|
|
309
|
+
paddingRight: c
|
|
310
|
+
})), l = `{category}: {valuePercentTotal.formatNumber('0.00')}%
|
|
311
|
+
({value})`, h = i.new(o, {
|
|
312
|
+
labelText: l
|
|
313
|
+
}), u = m.series.push(s.new(o, {
|
|
314
|
+
name: r,
|
|
315
|
+
valueField: b,
|
|
316
|
+
categoryField: w,
|
|
317
|
+
tooltip: h
|
|
318
|
+
}));
|
|
319
|
+
u.ticks.template.set("forceHidden", !0), u.labels.template.set("forceHidden", !0), u.slices.template.states.create("active", {
|
|
320
|
+
shiftRadius: c
|
|
321
|
+
}), this._customizeChartTooltip(h), u.slices.template.setAll({
|
|
322
|
+
ariaLabel: l,
|
|
323
|
+
focusable: !0,
|
|
324
|
+
templateField: "columnSettings"
|
|
325
|
+
}), u.data.setAll(t), u.appear(this._getChartSeriesAnimationMS()), m.appear(this._getChartAnimationMS()), m.root.dom.classList.toggle(I.mediaChartRendered, !0);
|
|
326
|
+
}
|
|
327
|
+
_getMinSeriesValue(e) {
|
|
328
|
+
let t = 0;
|
|
329
|
+
return e.forEach((i) => t = Math.min(i.value, t)), t;
|
|
330
|
+
}
|
|
331
|
+
async _createColumnChart(e, t, i) {
|
|
332
|
+
const [{ Tooltip: a, Scrollbar: s }, { CategoryAxis: n, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, ColumnSeries: f }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: m, root: l } = t, { value: h, title: u } = m;
|
|
333
|
+
e.setAll({
|
|
334
|
+
wheelX: "panX",
|
|
335
|
+
wheelY: "zoomX"
|
|
336
|
+
});
|
|
337
|
+
const d = e.xAxes.push(n.new(l, {
|
|
338
|
+
renderer: o.new(l, {
|
|
339
|
+
inversed: S(this.el)
|
|
340
|
+
}),
|
|
341
|
+
categoryField: w
|
|
342
|
+
}));
|
|
343
|
+
d.get("renderer").labels.template.setAll({
|
|
344
|
+
forceHidden: !0
|
|
345
|
+
});
|
|
346
|
+
const g = e.yAxes.push(c.new(l, {
|
|
347
|
+
renderer: r.new(l, { inside: !1 }),
|
|
348
|
+
min: this._getMinSeriesValue(h.series)
|
|
349
|
+
}));
|
|
350
|
+
g.get("renderer").labels.template.setAll({
|
|
351
|
+
direction: this._getDirection()
|
|
352
|
+
});
|
|
353
|
+
const p = "{categoryX}", _ = a.new(l, {
|
|
354
|
+
labelText: p
|
|
355
|
+
}), v = e.series.push(f.new(l, {
|
|
356
|
+
name: u,
|
|
357
|
+
xAxis: d,
|
|
358
|
+
yAxis: g,
|
|
359
|
+
valueYField: b,
|
|
360
|
+
categoryXField: w,
|
|
361
|
+
tooltip: _
|
|
362
|
+
}));
|
|
363
|
+
this._customizeChartTooltip(_), v.columns.template.setAll({
|
|
364
|
+
ariaLabel: p,
|
|
365
|
+
focusable: !0,
|
|
366
|
+
templateField: "columnSettings"
|
|
367
|
+
}), h.series.length > z && e.set("scrollbarX", s.new(l, {
|
|
368
|
+
orientation: "horizontal"
|
|
369
|
+
})), d.data.setAll(i), v.data.setAll(i), v.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
370
|
+
}
|
|
371
|
+
async _createBarChart(e, t, i) {
|
|
372
|
+
const [{ Tooltip: a, Scrollbar: s }, { CategoryAxis: n, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, ColumnSeries: f }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: m, root: l } = t, { value: h, title: u } = m;
|
|
373
|
+
e.setAll({
|
|
374
|
+
wheelX: "panY",
|
|
375
|
+
wheelY: "zoomY"
|
|
376
|
+
});
|
|
377
|
+
const d = e.yAxes.push(n.new(l, {
|
|
378
|
+
renderer: r.new(l, {
|
|
379
|
+
inversed: !0
|
|
380
|
+
}),
|
|
381
|
+
categoryField: w
|
|
382
|
+
}));
|
|
383
|
+
d.get("renderer").labels.template.setAll({
|
|
384
|
+
forceHidden: !0
|
|
385
|
+
});
|
|
386
|
+
const g = e.xAxes.push(c.new(l, {
|
|
387
|
+
renderer: o.new(l, {
|
|
388
|
+
inside: !1,
|
|
389
|
+
inversed: S(this.el)
|
|
390
|
+
}),
|
|
391
|
+
min: this._getMinSeriesValue(h.series)
|
|
392
|
+
}));
|
|
393
|
+
g.get("renderer").labels.template.setAll({
|
|
394
|
+
direction: this._getDirection()
|
|
395
|
+
});
|
|
396
|
+
const p = "{categoryY}", _ = a.new(l, {
|
|
397
|
+
labelText: p
|
|
398
|
+
}), v = e.series.push(f.new(l, {
|
|
399
|
+
name: u,
|
|
400
|
+
xAxis: g,
|
|
401
|
+
yAxis: d,
|
|
402
|
+
valueXField: b,
|
|
403
|
+
categoryYField: w,
|
|
404
|
+
tooltip: _
|
|
405
|
+
}));
|
|
406
|
+
this._customizeChartTooltip(_, "vertical"), v.columns.template.setAll({
|
|
407
|
+
ariaLabel: p,
|
|
408
|
+
focusable: !0,
|
|
409
|
+
templateField: "columnSettings"
|
|
410
|
+
}), h.series.length > z && e.set("scrollbarY", s.new(l, {
|
|
411
|
+
orientation: "vertical"
|
|
412
|
+
})), d.data.setAll(i), v.data.setAll(i), v.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
413
|
+
}
|
|
414
|
+
async _createLineChart(e, t, i) {
|
|
415
|
+
const [{ Tooltip: a, Scrollbar: s }, { CategoryAxis: n, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, LineSeries: f }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { root: m, mediaInfo: l } = t, { value: h, title: u } = l;
|
|
416
|
+
e.setAll({
|
|
417
|
+
wheelX: "panX",
|
|
418
|
+
wheelY: "zoomX"
|
|
419
|
+
});
|
|
420
|
+
const d = e.xAxes.push(n.new(m, {
|
|
421
|
+
renderer: o.new(m, {
|
|
422
|
+
inversed: S(this.el)
|
|
423
|
+
}),
|
|
424
|
+
categoryField: w
|
|
425
|
+
}));
|
|
426
|
+
d.get("renderer").labels.template.setAll({
|
|
427
|
+
forceHidden: !0
|
|
428
|
+
});
|
|
429
|
+
const g = e.yAxes.push(c.new(m, {
|
|
430
|
+
renderer: r.new(m, { inside: !1 }),
|
|
431
|
+
min: this._getMinSeriesValue(h.series)
|
|
432
|
+
}));
|
|
433
|
+
g.get("renderer").labels.template.setAll({
|
|
434
|
+
direction: this._getDirection()
|
|
435
|
+
});
|
|
436
|
+
const p = "{categoryX}", _ = i[0]?.lineSettings?.stroke, v = a.new(m, {
|
|
437
|
+
getFillFromSprite: !_,
|
|
438
|
+
labelText: p
|
|
439
|
+
});
|
|
440
|
+
_ && v.get("background")?.setAll({
|
|
441
|
+
fill: _
|
|
442
|
+
});
|
|
443
|
+
const x = e.series.push(f.new(m, {
|
|
444
|
+
name: u,
|
|
445
|
+
xAxis: d,
|
|
446
|
+
yAxis: g,
|
|
447
|
+
valueYField: b,
|
|
448
|
+
categoryXField: w,
|
|
449
|
+
tooltip: v
|
|
450
|
+
}));
|
|
451
|
+
x.strokes.template.setAll({
|
|
452
|
+
templateField: "lineSettings"
|
|
453
|
+
}), this._customizeChartTooltip(v, "vertical"), h.series.length > z && e.set("scrollbarX", s.new(m, {
|
|
454
|
+
orientation: "horizontal"
|
|
455
|
+
})), d.data.setAll(i), x.data.setAll(i), x.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
456
|
+
}
|
|
457
|
+
async _createXYChart(e, t) {
|
|
458
|
+
const { XYChart: i, XYCursor: a } = await import("@amcharts/amcharts5/xy.js"), { root: s, mediaInfo: n } = e, { type: o } = n, r = n?.altText || n?.title || "", c = s.container.children.push(i.new(s, {
|
|
459
|
+
ariaLabel: r,
|
|
460
|
+
focusable: !0,
|
|
461
|
+
panX: !0,
|
|
462
|
+
panY: !0
|
|
463
|
+
}));
|
|
464
|
+
c.set("cursor", a.new(s, {})), o === "column-chart" && await this._createColumnChart(c, e, t), o === "bar-chart" && await this._createBarChart(c, e, t), o === "line-chart" && await this._createLineChart(c, e, t), c.root.dom.classList.toggle(I.mediaChartRendered, !0);
|
|
465
|
+
}
|
|
466
|
+
_clearMediaRefreshTimer() {
|
|
467
|
+
const { _refreshTimer: e } = this;
|
|
468
|
+
e && (clearTimeout(e), this._refreshTimer = void 0);
|
|
469
|
+
}
|
|
470
|
+
_updateMediaInfoTimestamp(e) {
|
|
471
|
+
const t = Date.now();
|
|
472
|
+
this._refreshIntervalInfo = {
|
|
473
|
+
timestamp: t,
|
|
474
|
+
sourceURL: e && this._getImageSource(e, t)
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
_setupMediaRefreshTimer() {
|
|
478
|
+
this._clearMediaRefreshTimer();
|
|
479
|
+
const { activeMediaInfo: e } = this;
|
|
480
|
+
e?.type === "image" && e.refreshInterval > 0 && this._setRefreshTimeout(e);
|
|
481
|
+
}
|
|
482
|
+
_setRefreshTimeout(e) {
|
|
483
|
+
const { refreshInterval: t, value: i } = e, a = t * 6e4;
|
|
484
|
+
this._updateMediaInfoTimestamp(i.sourceURL);
|
|
485
|
+
const s = window.setInterval(() => {
|
|
486
|
+
this._updateMediaInfoTimestamp(i.sourceURL);
|
|
487
|
+
}, a);
|
|
488
|
+
this._refreshTimer = s;
|
|
489
|
+
}
|
|
490
|
+
_getImageSource(e, t) {
|
|
491
|
+
const i = e.includes("?") ? "&" : "?", [a, s = ""] = e.split("#");
|
|
492
|
+
return `${a}${i}timestamp=${t}${s ? "#" : ""}${s}`;
|
|
493
|
+
}
|
|
494
|
+
_updateChartElement(e) {
|
|
495
|
+
if (!e) {
|
|
496
|
+
this._chartRoot?.dispose(), this._chartRoot = void 0;
|
|
497
|
+
return;
|
|
498
|
+
}
|
|
499
|
+
this._createChart(e);
|
|
500
|
+
}
|
|
501
|
+
render() {
|
|
502
|
+
return y`<div class=${C(I.base)} @keyup=${this._handleMediaKeyup}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderMedia()}</div>`;
|
|
503
|
+
}
|
|
504
|
+
_renderMedia() {
|
|
505
|
+
const { formattedMediaInfoCount: e, activeMediaInfoIndex: t } = this, i = this._renderMediaText();
|
|
506
|
+
return e ? y`<div class=${C(I.mediaContainer)}>${this._renderMediaInfo()}<div class=${C(I.mediaNavigation)}>${i}${e > 1 ? y`<div class=${C(I.mediaPagination)}>${this._renderMediaPageButton("previous")}<span class=${C(I.mediaPaginationText)}>${te(this.messages?.pageText ?? "", {
|
|
507
|
+
index: t + 1,
|
|
508
|
+
total: e
|
|
509
|
+
})}</span>${this._renderMediaPageButton("next")}</div>` : null}</div></div>` : null;
|
|
510
|
+
}
|
|
511
|
+
_renderMediaText() {
|
|
512
|
+
const { activeMediaInfo: e } = this;
|
|
513
|
+
if (!e)
|
|
514
|
+
return null;
|
|
515
|
+
const t = e?.title ? y`<div class=${C(I.mediaItemTitle)} .innerHTML=${E.sanitize(e.title) ?? ""}></div>` : null, i = e?.caption ? y`<div class=${C(I.mediaItemCaption)} .innerHTML=${E.sanitize(e.caption) ?? ""}></div>` : null;
|
|
516
|
+
return t || i ? y`<div class=${C(I.mediaItemText)}>${t}${i}</div>` : null;
|
|
517
|
+
}
|
|
518
|
+
_renderImageMediaInfo(e) {
|
|
519
|
+
if (!e.value)
|
|
520
|
+
return null;
|
|
521
|
+
const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: s, title: n } = e, { sourceURL: o, linkURL: r } = i, f = ce(r ?? void 0) ? "_blank" : "_self", m = f === "_blank" ? "noreferrer" : "", l = a ? t : null, h = l ? l.sourceURL : o, u = y`<img alt=${(s || n) ?? A} src=${h ?? void 0 ?? A}>`;
|
|
522
|
+
return (r ? y`<a href=${r ?? A} rel=${m ?? A} target=${f ?? A} title=${n ?? A}>${u}</a>` : null) ?? u;
|
|
523
|
+
}
|
|
524
|
+
_renderChartMediaInfo(e) {
|
|
525
|
+
const { activeMediaInfoIndex: t, formattedMediaInfoCount: i } = this;
|
|
526
|
+
return q(`media-${e.type}-${t}-${i}`, y`<div class=${C(I.mediaChart)} ${G(this._updateChartElement)}></div>`);
|
|
527
|
+
}
|
|
528
|
+
_renderMediaInfoType() {
|
|
529
|
+
const { activeMediaInfo: e } = this;
|
|
530
|
+
return e ? e.type === "image" ? this._renderImageMediaInfo(e) : e.type.includes("chart") ? this._renderChartMediaInfo(e) : null : null;
|
|
531
|
+
}
|
|
532
|
+
_renderMediaInfo() {
|
|
533
|
+
const { activeMediaInfo: e } = this;
|
|
534
|
+
return e ? y`<div class=${C(I.mediaItemContainer)}><div class=${C(I.mediaItem)}>${this._renderMediaInfoType()}</div></div>` : null;
|
|
535
|
+
}
|
|
536
|
+
_renderMediaPageButton(e) {
|
|
537
|
+
if (this.formattedMediaInfoCount < 2)
|
|
538
|
+
return null;
|
|
539
|
+
const t = e === "previous", i = t ? this.messages?.previous ?? "" : this.messages?.next ?? "", a = t ? "chevron-left" : "chevron-right", s = t ? this.previous : this.next;
|
|
540
|
+
return y`<button .ariaLabel=${i} class=${C(I.mediaPaginationButton)} @click=${s} tabindex=0 title=${i ?? A} type=button><calcite-icon flip-rtl class=${C(I.mediaPaginationIcon)} .icon=${a} scale=s></calcite-icon></button>`;
|
|
541
|
+
}
|
|
542
|
+
async _renderChart(e) {
|
|
543
|
+
const { root: t, mediaInfo: i } = e, { value: a, type: s } = i, [{ default: n }, { default: o }, { default: r }, { esriChartColorSet: c }, { ColorSet: f, Theme: m }] = await Promise.all([
|
|
544
|
+
import("@amcharts/amcharts5/themes/Animated.js"),
|
|
545
|
+
import("@amcharts/amcharts5/themes/Dark.js"),
|
|
546
|
+
import("@amcharts/amcharts5/themes/Responsive.js"),
|
|
547
|
+
import("../../chunks/chartCommon.js"),
|
|
548
|
+
import("@amcharts/amcharts5/index.js")
|
|
549
|
+
]), l = m.new(t);
|
|
550
|
+
l.rule("ColorSet").set("colors", c), l.rule("ColorSet").set("reuse", !0);
|
|
551
|
+
const h = [r.new(t), l];
|
|
552
|
+
re(this.el) === "dark" && h.push(o.new(t)), this._canAnimateChart() && h.push(n.new(t)), t.setThemes(h);
|
|
553
|
+
const u = await this._getRendererColors(), d = await this._getSeriesColors(a.series), g = f.new(t, {}), p = d.get(a.series[0]), _ = p ? {
|
|
554
|
+
lineSettings: {
|
|
555
|
+
stroke: p
|
|
556
|
+
}
|
|
557
|
+
} : void 0, v = a.series.map((x, F) => {
|
|
558
|
+
const $ = d.get(x) || u.get(x.fieldName) || g.getIndex(F);
|
|
559
|
+
return {
|
|
560
|
+
[w]: x.tooltip,
|
|
561
|
+
[b]: x.value,
|
|
562
|
+
columnSettings: {
|
|
563
|
+
fill: $,
|
|
564
|
+
stroke: $
|
|
565
|
+
},
|
|
566
|
+
..._
|
|
567
|
+
};
|
|
568
|
+
}).filter((x) => s === "pie-chart" ? x.value != null && x.value > 0 : !0);
|
|
569
|
+
s === "pie-chart" ? this._createPieChart(e, v) : this._createXYChart(e, v);
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
j("arcgis-feature-media", pe);
|
|
573
|
+
export {
|
|
574
|
+
pe as ArcgisFeatureMedia
|
|
575
|
+
};
|
|
@@ -434,6 +434,11 @@ export declare class ArcgisFeatureTable extends LitElement {
|
|
|
434
434
|
paginationEnabled: boolean;
|
|
435
435
|
/** @default "manual" */
|
|
436
436
|
position: __esri.UIPosition;
|
|
437
|
+
/**
|
|
438
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
439
|
+
*
|
|
440
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
441
|
+
*/
|
|
437
442
|
referenceElement?: ArcgisReferenceElement | string;
|
|
438
443
|
/**
|
|
439
444
|
* Indicates whether to display any related records associated with rows within the table.
|
|
@@ -524,7 +529,8 @@ export declare class ArcgisFeatureTable extends LitElement {
|
|
|
524
529
|
*/
|
|
525
530
|
readonly supportsDeleteAttachments: boolean;
|
|
526
531
|
/**
|
|
527
|
-
*
|
|
532
|
+
* Defines whether or not the feature supports resizing
|
|
533
|
+
* attachments.
|
|
528
534
|
*
|
|
529
535
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html#supportsResizeAttachments)
|
|
530
536
|
*
|
|
@@ -9,7 +9,7 @@ import { e as m, g as c } from "../../chunks/component-utils.js";
|
|
|
9
9
|
import { css as u } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.31 */
|
|
13
13
|
const w = u`@layer{arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}}`, p = g(a);
|
|
14
14
|
class b extends d {
|
|
15
15
|
constructor() {
|
|
@@ -97,6 +97,11 @@ export declare class ArcgisFeatureTemplates extends LitElement {
|
|
|
97
97
|
layers: (__esri.FeatureLayer | __esri.SceneLayer | __esri.SubtypeGroupLayer | __esri.GeoJSONLayer | __esri.OrientedImageryLayer | __esri.SubtypeSublayer)[];
|
|
98
98
|
/** @default "bottom-left" */
|
|
99
99
|
position: __esri.UIPosition;
|
|
100
|
+
/**
|
|
101
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
102
|
+
*
|
|
103
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
104
|
+
*/
|
|
100
105
|
referenceElement?: ArcgisReferenceElement | string;
|
|
101
106
|
/**
|
|
102
107
|
* Specifies the selection behavior of list items.
|
|
@@ -7,7 +7,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.31 */
|
|
11
11
|
const n = h`@layer{arcgis-feature-templates{display:block}}`, c = a(s);
|
|
12
12
|
class d extends o {
|
|
13
13
|
constructor() {
|
|
@@ -220,6 +220,11 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
220
220
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features.html#promises)
|
|
221
221
|
*/
|
|
222
222
|
promises: Promise<any>[];
|
|
223
|
+
/**
|
|
224
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
225
|
+
*
|
|
226
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
227
|
+
*/
|
|
223
228
|
referenceElement?: ArcgisReferenceElement | string;
|
|
224
229
|
/**
|
|
225
230
|
* The selected feature accessed by the Features widget.
|
|
@@ -8,7 +8,7 @@ import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { c } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.31 */
|
|
12
12
|
const g = l`@layer{arcgis-features{display:flex;flex-direction:column;overflow:hidden;.esri-features{flex:1 1 auto;overflow:hidden}}}`, u = d(o);
|
|
13
13
|
class w extends r {
|
|
14
14
|
constructor() {
|
|
@@ -83,6 +83,11 @@ export declare class ArcgisFloorFilter extends LitElement {
|
|
|
83
83
|
longNames: boolean;
|
|
84
84
|
/** @default "bottom-left" */
|
|
85
85
|
position: __esri.UIPosition;
|
|
86
|
+
/**
|
|
87
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
88
|
+
*
|
|
89
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
90
|
+
*/
|
|
86
91
|
referenceElement?: ArcgisReferenceElement | string;
|
|
87
92
|
/**
|
|
88
93
|
* The currently selected site.
|