@arcgis/map-components 5.0.0-next.6 → 5.0.0-next.8
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/{BD5LNODX.js → 23ASAGYP.js} +2 -2
- package/dist/cdn/{FGRJXTC4.js → 2554QVRC.js} +2 -2
- package/dist/cdn/{N35AGRPR.js → 26QXSRVS.js} +2 -2
- package/dist/cdn/2CECWMVK.js +4 -0
- package/dist/cdn/{YNUARQV3.js → 2FRPZWMI.js} +2 -2
- package/dist/cdn/{KY4EUKNJ.js → 2FUC7QP6.js} +2 -2
- package/dist/cdn/2LM2R7B3.js +4 -0
- package/dist/cdn/{UAIGXACR.js → 2MJKZQFY.js} +2 -2
- package/dist/cdn/{Q4AC6G46.js → 2PLOTVLI.js} +2 -2
- package/dist/cdn/{MJ4YBES2.js → 2PSREXHQ.js} +2 -2
- package/dist/cdn/{CGL4MV5F.js → 2TDRLZ7S.js} +2 -2
- package/dist/cdn/{7KMCO32Q.js → 2TTMDDIE.js} +2 -2
- package/dist/cdn/{JT24YIBS.js → 2VBGQQ7G.js} +2 -2
- package/dist/cdn/{SNZU6GQA.js → 2ZKJ3OQJ.js} +2 -2
- package/dist/cdn/{YHSECDVX.js → 32WBTYH4.js} +2 -2
- package/dist/cdn/{2PXF3GPF.js → 33WLMRAZ.js} +2 -2
- package/dist/cdn/355WACH3.js +4 -0
- package/dist/cdn/{KQBARG67.js → 3QVZ6V7G.js} +2 -2
- package/dist/cdn/{JGAMA7FC.js → 3S3DT5VV.js} +2 -2
- package/dist/cdn/{OM5T7IMH.js → 3VALLIQN.js} +2 -2
- package/dist/cdn/{4PNCM4AX.js → 3VHC25P4.js} +2 -2
- package/dist/cdn/{YLUUTWQL.js → 3ZJW5QWB.js} +1 -1
- package/dist/cdn/{5GGEMLNR.js → 4DX6NMYX.js} +1 -1
- package/dist/cdn/{7B3GFLM4.js → 4MBDMR4B.js} +2 -2
- package/dist/cdn/{JCYH652U.js → 4QMTMF4A.js} +2 -2
- package/dist/cdn/{OB7MFKZ2.js → 4UGJ23D4.js} +2 -2
- package/dist/cdn/{GBFC7BDF.js → 4XQBP25B.js} +2 -2
- package/dist/cdn/{KKW7L2H6.js → 55JWAAO7.js} +2 -2
- package/dist/cdn/{24FIOFGL.js → 55U3YBF3.js} +2 -2
- package/dist/cdn/{YXLQEOV6.js → 5JMTQ2US.js} +2 -2
- package/dist/cdn/{U4WWVT6W.js → 5LA55TQF.js} +2 -2
- package/dist/cdn/5Q3SJX5R.js +4 -0
- package/dist/cdn/5Q4EJVSR.js +4 -0
- package/dist/cdn/5XK6MNTC.js +4 -0
- package/dist/cdn/{LDRCHRH6.js → 5XUPDERZ.js} +2 -2
- package/dist/cdn/{3KXHDPQI.js → 5XVI44I7.js} +1 -1
- package/dist/cdn/{U4PIL5HO.js → 64SN6WSY.js} +1 -1
- package/dist/cdn/{NYJGMFYD.js → 6N6E5455.js} +2 -2
- package/dist/cdn/{VRJQ2TUN.js → 6NO6BM5P.js} +2 -2
- package/dist/cdn/{4XPC3USH.js → 6R7D4RJE.js} +2 -2
- package/dist/cdn/{F75STQIS.js → 77LZNLNM.js} +2 -2
- package/dist/cdn/{BZSTQJWD.js → 7G4RDHXH.js} +2 -2
- package/dist/cdn/{EMQJDRYZ.js → A25BQHL2.js} +2 -2
- package/dist/cdn/AA3LXKI7.js +4 -0
- package/dist/cdn/AA3QNSWT.js +4 -0
- package/dist/cdn/ABP2SI4D.js +4 -0
- package/dist/cdn/{N54JLHJH.js → ATWX77AZ.js} +2 -2
- package/dist/cdn/{K7O52SLI.js → AZO24OGM.js} +1 -1
- package/dist/cdn/{KUGNRX5I.js → BOPWKAAG.js} +2 -2
- package/dist/cdn/{5KFUEZNB.js → BXULVDX2.js} +2 -2
- package/dist/cdn/{6N5YEI5U.js → BYJWYYJD.js} +2 -2
- package/dist/cdn/{A5LDRWTA.js → CBBDZGRH.js} +2 -2
- package/dist/cdn/{2WK2MSUI.js → CCZV7WQU.js} +2 -2
- package/dist/cdn/{JEKQ4FH3.js → CERY5KV5.js} +2 -2
- package/dist/cdn/{GLZM6JSO.js → CGY52QHC.js} +2 -2
- package/dist/cdn/CGZ4Z6PI.js +4 -0
- package/dist/cdn/CJGHGUKT.js +4 -0
- package/dist/cdn/{KK2JJGUK.js → CM7JBESZ.js} +2 -2
- package/dist/cdn/{ZON57F3Z.js → CMDH2LBN.js} +2 -2
- package/dist/cdn/{5PLNMTFM.js → D7TRZ6UC.js} +2 -2
- package/dist/cdn/{3R4HANKL.js → DCV54J4B.js} +1 -1
- package/dist/cdn/{7L55KE2V.js → DCVGLEXP.js} +2 -2
- package/dist/cdn/{XE4A4ZAW.js → DEXACXUX.js} +2 -2
- package/dist/cdn/{NICHIV22.js → DGKHPMEW.js} +2 -2
- package/dist/cdn/{GHCICMTZ.js → DH27WENW.js} +2 -2
- package/dist/cdn/{5VFO3P34.js → DH3KYNDW.js} +2 -2
- package/dist/cdn/{QZVSJ65F.js → DJN2OAET.js} +2 -2
- package/dist/cdn/{5ROISKK5.js → DJPESWJI.js} +2 -2
- package/dist/cdn/DKF7SNJS.js +4 -0
- package/dist/cdn/DOGXB6MI.js +4 -0
- package/dist/cdn/{MKR5A67F.js → DROYBBTC.js} +2 -2
- package/dist/cdn/{ZWJFEUXM.js → DSMC5XKI.js} +2 -2
- package/dist/cdn/{2TT7JHKU.js → DV4HYRLM.js} +2 -2
- package/dist/cdn/{ISGJWGMP.js → DXQSWPW6.js} +2 -2
- package/dist/cdn/{HTTTUKFU.js → DYDTLPK5.js} +2 -2
- package/dist/cdn/{ER5OU65T.js → E4ZG4KEB.js} +2 -2
- package/dist/cdn/{J52AVBWV.js → E5L65GS6.js} +2 -2
- package/dist/cdn/{VVDPWDSN.js → E6QVA3FP.js} +2 -2
- package/dist/cdn/{3ETI3KHD.js → E76HTPPH.js} +2 -2
- package/dist/cdn/{HSORIPSD.js → ENKOZHOF.js} +2 -2
- package/dist/cdn/{VN5JPWXN.js → EPDXVNDZ.js} +1 -1
- package/dist/cdn/EPRPWV56.js +4 -0
- package/dist/cdn/EYJHVNJU.js +4 -0
- package/dist/cdn/{KD63FUE7.js → F22PT2MZ.js} +2 -2
- package/dist/cdn/{H4FO43TQ.js → F5L2JKYI.js} +2 -2
- package/dist/cdn/{OOARTTCF.js → FVOINB4E.js} +2 -2
- package/dist/cdn/{PKTRQSJ3.js → FX75AH3E.js} +2 -2
- package/dist/cdn/{G6YBBKHU.js → FXGB76UZ.js} +2 -2
- package/dist/cdn/{NNNE2APH.js → FXYCD3QI.js} +2 -2
- package/dist/cdn/G4HP5PXO.js +4 -0
- package/dist/cdn/{OODU2NAN.js → GGQ4NF5E.js} +2 -2
- package/dist/cdn/GISW2E2C.js +9 -0
- package/dist/cdn/{M3JCFUWF.js → GJXC7JWJ.js} +2 -2
- package/dist/cdn/{TVDSU7R2.js → GNRVWBIT.js} +2 -2
- package/dist/cdn/{D2LJXS5O.js → GWLX6RBH.js} +2 -2
- package/dist/cdn/{CJGNIR2H.js → GXSY2G2F.js} +2 -2
- package/dist/cdn/{GIDT5OTS.js → HCNOUG4I.js} +2 -2
- package/dist/cdn/{7BDY3BU7.js → HCXSIJLL.js} +2 -2
- package/dist/cdn/{GOGBHK5W.js → HI56FAC2.js} +2 -2
- package/dist/cdn/{X3OIHTMN.js → HJ3TKQPT.js} +2 -2
- package/dist/cdn/{6XWHYYCL.js → HRRUDEN4.js} +2 -2
- package/dist/cdn/{FUNOEGEP.js → HT2VNFBY.js} +2 -2
- package/dist/cdn/{3UTRV5F5.js → HUMCQYTE.js} +2 -2
- package/dist/cdn/{FIOK6KKP.js → I5GCMMZ6.js} +2 -2
- package/dist/cdn/{MSBMMGC7.js → I7FTN4SS.js} +2 -2
- package/dist/cdn/{OLAIRBN2.js → IA3FETL7.js} +2 -2
- package/dist/cdn/{F32DNIAM.js → IAMC4UQF.js} +2 -2
- package/dist/cdn/{E5DTA2QE.js → IB7DLO5L.js} +2 -2
- package/dist/cdn/IEWSU3AP.js +4 -0
- package/dist/cdn/IHPALLAT.js +5 -0
- package/dist/cdn/{XOUKYVQ4.js → J4CP3NSB.js} +2 -2
- package/dist/cdn/{KOTDYNET.js → JDI4NVR3.js} +2 -2
- package/dist/cdn/{KYK5G6U6.js → JI265SUK.js} +2 -2
- package/dist/cdn/{QQHBOFYP.js → JMZMSG7L.js} +2 -2
- package/dist/cdn/JW5HQYPI.js +4 -0
- package/dist/cdn/{SN7O2A3T.js → K3OEW4P7.js} +2 -2
- package/dist/cdn/{OO6TJIN7.js → K7DJA6BL.js} +2 -2
- package/dist/cdn/{36IQDZ3G.js → KAWYFYCS.js} +2 -2
- package/dist/cdn/{YEZT5OD7.js → KLAQ4QRJ.js} +2 -2
- package/dist/cdn/{CZZ7Y35Z.js → KMNCOGEA.js} +2 -2
- package/dist/cdn/{PIEJP6YZ.js → KON4FD5Q.js} +2 -2
- package/dist/cdn/{L4NOWY7R.js → KS7BA3SG.js} +2 -2
- package/dist/cdn/{B2ZFGOXD.js → KUTYXTS7.js} +2 -2
- package/dist/cdn/KWAJCVXT.js +4 -0
- package/dist/cdn/{VOZF6LQJ.js → KXKIPFUU.js} +2 -2
- package/dist/cdn/KXXPEYRC.js +4 -0
- package/dist/cdn/KZ2KNB3O.js +4 -0
- package/dist/cdn/{6AJF75LJ.js → L2XTODY4.js} +2 -2
- package/dist/cdn/{LNOGOTUO.js → L5TGGSAL.js} +2 -2
- package/dist/cdn/{UK5FKXNT.js → LAQ7KJOZ.js} +2 -2
- package/dist/cdn/{Q7RJTSMT.js → LKMAWAR5.js} +2 -2
- package/dist/cdn/LQCATF7G.js +4 -0
- package/dist/cdn/{RBW5EUUZ.js → LSD6WMMC.js} +2 -2
- package/dist/cdn/{XHJW7EJB.js → LTD6T2Q3.js} +2 -2
- package/dist/cdn/{M35EWG3A.js → LZOLBXMF.js} +2 -2
- package/dist/cdn/{GLWAKTJ6.js → M4IDYG6A.js} +2 -2
- package/dist/cdn/{TDWHOSGC.js → MAI5N3QC.js} +2 -2
- package/dist/cdn/{ISU7UB5C.js → MAU2UOK7.js} +2 -2
- package/dist/cdn/{P7BS2OQL.js → MG3ZY5RH.js} +2 -2
- package/dist/cdn/{BIUV2EW2.js → MUOOVLST.js} +2 -2
- package/dist/cdn/{IM3WBCCU.js → MWVBHJI3.js} +2 -2
- package/dist/cdn/{ILS226ZZ.js → N3KBPLDD.js} +2 -2
- package/dist/cdn/{KRJQ47FX.js → N4LFGHKK.js} +2 -2
- package/dist/cdn/{NHJUZYR7.js → NJFWKOSW.js} +2 -2
- package/dist/cdn/{NINFL2YQ.js → NT4I6O5D.js} +2 -2
- package/dist/cdn/{2QAML4P7.js → NWLLTDPL.js} +2 -2
- package/dist/cdn/{7333ELLT.js → NXQMACSR.js} +2 -2
- package/dist/cdn/{HD7BQXXH.js → O3CMJ47P.js} +2 -2
- package/dist/cdn/OBE3UR44.js +4 -0
- package/dist/cdn/{YWD7ZFOR.js → OM2J6G7R.js} +2 -2
- package/dist/cdn/{IBLIJJ2U.js → OT2QCJH7.js} +2 -2
- package/dist/cdn/OWZ7RK5W.js +4 -0
- package/dist/cdn/{6L4TZHKU.js → OX6WUMOC.js} +2 -2
- package/dist/cdn/P3ZYOIZR.js +4 -0
- package/dist/cdn/{TSL3GRQ7.js → P76F7K2L.js} +2 -2
- package/dist/cdn/{C7O5KTPB.js → PD32M3AF.js} +2 -2
- package/dist/cdn/{MBMAIEIY.js → PLFIWWJT.js} +2 -2
- package/dist/cdn/{ENPAUNXX.js → PM4A2XL2.js} +2 -2
- package/dist/cdn/{RYZGV3PB.js → PMTYAVRQ.js} +2 -2
- package/dist/cdn/{VGTBOKKG.js → POU44SBV.js} +2 -2
- package/dist/cdn/PQP6YSCC.js +4 -0
- package/dist/cdn/{4WMRWSKE.js → PWI6J5R7.js} +2 -2
- package/dist/cdn/{PKSMBCZG.js → PX2LCRY2.js} +2 -2
- package/dist/cdn/{XCQMZYFT.js → PY36ZZE3.js} +2 -2
- package/dist/cdn/{OAL2DV3H.js → Q5LUZLLH.js} +2 -2
- package/dist/cdn/{OAVOMLYV.js → Q67KHNIN.js} +2 -2
- package/dist/cdn/{GPNRFEBQ.js → QLUMG45S.js} +2 -2
- package/dist/cdn/{ZNGXUT36.js → QWEVJ374.js} +1 -1
- package/dist/cdn/{G4KOFHHD.js → R5KPEW23.js} +2 -2
- package/dist/cdn/{EDBEJKG4.js → R5KRPIJ5.js} +2 -2
- package/dist/cdn/{IQ2UBST6.js → RAIKE7CC.js} +2 -2
- package/dist/cdn/{2ZOE2EB7.js → REY2RQSK.js} +2 -2
- package/dist/cdn/{FYLKCHLA.js → RIRH4ORC.js} +2 -2
- package/dist/cdn/{5KTQXHUJ.js → RK2H6BOT.js} +2 -2
- package/dist/cdn/{I3NH27UL.js → RLI75H6A.js} +2 -2
- package/dist/cdn/{J5DMYV4L.js → RVMTJPZF.js} +2 -2
- package/dist/cdn/{R4KHFOUZ.js → SB7N26WT.js} +2 -2
- package/dist/cdn/{VA6J4CYT.js → SBPPEESE.js} +2 -2
- package/dist/cdn/{6AFC4KYA.js → SKD5DYJC.js} +2 -2
- package/dist/cdn/{4MWLYDY5.js → SOVBG5WN.js} +2 -2
- package/dist/cdn/{6H5AZ4GE.js → SQAQVB6N.js} +1 -1
- package/dist/cdn/SWN74NVP.js +4 -0
- package/dist/cdn/{YUWKUAFN.js → T4J36IUE.js} +2 -2
- package/dist/cdn/{FQHCN5PI.js → T5U7SYHL.js} +2 -2
- package/dist/cdn/{LM6HXX6Z.js → T6FMXPFZ.js} +2 -2
- package/dist/cdn/{Q4MGAVXA.js → T7PRQSQS.js} +1 -1
- package/dist/cdn/{MGEO265K.js → U6I6EQ5X.js} +2 -2
- package/dist/cdn/{6JZBRZQZ.js → UCJQJNCW.js} +2 -2
- package/dist/cdn/{ZXP6O3VA.js → UCWGIUTB.js} +2 -2
- package/dist/cdn/{GTFTLDMW.js → UGG34DPF.js} +2 -2
- package/dist/cdn/{QMJS7YYV.js → UH64RQEO.js} +2 -2
- package/dist/cdn/{CHYFQH6P.js → UMQH67XW.js} +2 -2
- package/dist/cdn/{DUZNF3KO.js → UN3LXMCA.js} +2 -2
- package/dist/cdn/UTZYPKFK.js +4 -0
- package/dist/cdn/{3MHCWB64.js → UZ7EH5BZ.js} +2 -2
- package/dist/cdn/{3GLBQK27.js → V7VXXJT5.js} +2 -2
- package/dist/cdn/{HXA2FJLS.js → VDD3AXI3.js} +2 -2
- package/dist/cdn/{TELKXVUT.js → VJO4MRNH.js} +2 -2
- package/dist/cdn/{2QEVKF3M.js → VPU3T6IE.js} +2 -2
- package/dist/cdn/{IRJJTNFE.js → VQHCTGSO.js} +2 -2
- package/dist/cdn/{GLODJKMZ.js → VWLYSTIX.js} +2 -2
- package/dist/cdn/{EMMLC2ML.js → VWV6FXWM.js} +2 -2
- package/dist/cdn/{D67SAEXC.js → VXF4VRMN.js} +2 -2
- package/dist/cdn/{ZNSS52UU.js → W26VR5XP.js} +2 -2
- package/dist/cdn/{5S42PJTM.js → WJJH5MQ4.js} +2 -2
- package/dist/cdn/{FEJPBDMX.js → WO35VYIC.js} +2 -2
- package/dist/cdn/{ABX2KJWQ.js → WYUWCPHL.js} +2 -2
- package/dist/cdn/{DQFSD3BZ.js → X2QJHLVQ.js} +2 -2
- package/dist/cdn/XFABQCAS.js +4 -0
- package/dist/cdn/{ZTB6OSGP.js → XQFBPGTI.js} +2 -2
- package/dist/cdn/{4VC56N4L.js → Y2IFECMM.js} +2 -2
- package/dist/cdn/{J376WYHL.js → Y3O3FJ5I.js} +2 -2
- package/dist/cdn/{B2W4EWK6.js → Y5ULX2UV.js} +2 -2
- package/dist/cdn/YJA3BX4K.js +4 -0
- package/dist/cdn/{F2RWK5EM.js → YJAGQMYM.js} +2 -2
- package/dist/cdn/{DPDBGZUQ.js → YMIC2GK4.js} +2 -2
- package/dist/cdn/{5NGQ34PO.js → YMPRD7FJ.js} +2 -2
- package/dist/cdn/{4LLXQ7MU.js → YPBNZLPI.js} +1 -1
- package/dist/cdn/{LB5CIPFL.js → YQQW7W3B.js} +2 -2
- package/dist/cdn/{SRQV7IAC.js → YY5ZTFUT.js} +2 -2
- package/dist/cdn/{A4AKT4LY.js → Z4MIQP7M.js} +2 -2
- package/dist/cdn/{KTUEXPGY.js → ZDLYK2Z4.js} +2 -2
- package/dist/cdn/{C56GZNCL.js → ZHBT7VMK.js} +2 -2
- package/dist/cdn/{4VJ33WZ7.js → ZJES24AO.js} +2 -2
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +39 -35
- package/dist/chunks/action-utils.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 +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- 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/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +32 -31
- 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 +1 -1
- package/dist/chunks/utils.js +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -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.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +80 -71
- package/dist/components/arcgis-daylight/customElement.js +13 -17
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
- package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +17 -6
- package/dist/components/arcgis-elevation-profile-next/customElement.js +196 -147
- package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +1 -8
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +49 -49
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +5 -0
- package/dist/components/arcgis-feature-fields/customElement.js +38 -34
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +177 -176
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -0
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +34 -28
- package/dist/components/arcgis-map/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +37 -1
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print/utils.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +38 -48
- package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
- 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.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 +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +17 -15
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +1 -0
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +2 -48
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +30 -51
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +7 -8
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +214 -56
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +44 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +194 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +3 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +496 -41
- package/dist/docs/docs.json +503 -34
- package/dist/docs/vscode.html-custom-data.json +50 -10
- package/dist/docs/web-types.json +146 -28
- package/dist/index.d.ts +26 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +9 -7
- package/dist/support/AnalysisViewModel.d.ts +1 -0
- package/dist/support/handle.d.ts +1 -1
- package/dist/types/lumina.d.ts +14 -1
- package/dist/types/preact.d.ts +16 -1
- package/dist/types/preact10.d.ts +18 -1
- package/dist/types/react.d.ts +18 -1
- package/dist/types/stencil.d.ts +14 -1
- package/dist/utils/feature-utils.d.ts +16 -1
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/dist/utils/layer-utils.d.ts +4 -0
- package/package.json +3 -3
- package/dist/cdn/4P5DFLTX.js +0 -5
- package/dist/cdn/637CWHOC.js +0 -4
- package/dist/cdn/65HNRYB4.js +0 -4
- package/dist/cdn/A3MI5N43.js +0 -4
- package/dist/cdn/BL6DFV7R.js +0 -4
- package/dist/cdn/BUFQD3QO.js +0 -4
- package/dist/cdn/DRMOWRTY.js +0 -4
- package/dist/cdn/DXPNHQ2A.js +0 -4
- package/dist/cdn/EJLSAJ7Z.js +0 -4
- package/dist/cdn/FYLZIBTR.js +0 -4
- package/dist/cdn/G6RKDMGY.js +0 -4
- package/dist/cdn/HAD7DDQH.js +0 -4
- package/dist/cdn/HT5P52JJ.js +0 -4
- package/dist/cdn/IXUH65C6.js +0 -4
- package/dist/cdn/JO46OYZR.js +0 -4
- package/dist/cdn/M6XAZZYO.js +0 -4
- package/dist/cdn/MA6HL7K7.js +0 -4
- package/dist/cdn/MTOZCJE4.js +0 -4
- package/dist/cdn/NTGYJRE6.js +0 -4
- package/dist/cdn/PF2BHU63.js +0 -4
- package/dist/cdn/Q7E3BJCS.js +0 -4
- package/dist/cdn/QNRNXYW4.js +0 -4
- package/dist/cdn/RTELX7UO.js +0 -4
- package/dist/cdn/SI3EGWNU.js +0 -4
- package/dist/cdn/SQHW7ZPZ.js +0 -4
- package/dist/cdn/UKRZFM6L.js +0 -9
- package/dist/cdn/Y3TA75KJ.js +0 -4
- package/dist/cdn/YGES3DLF.js +0 -4
- package/dist/cdn/ZJE52YLT.js +0 -4
|
@@ -1,53 +1,52 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { ref as
|
|
4
|
-
import { keyed as
|
|
5
|
-
import { useMedia as
|
|
6
|
-
import { getColorsFromRenderer as
|
|
7
|
-
import { LitElement as
|
|
8
|
-
import { substitute as
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import te from "@arcgis/core/popup/FieldInfo.js";
|
|
1
|
+
import { c as W } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as G, html as y } from "lit";
|
|
3
|
+
import { ref as q } from "lit/directives/ref.js";
|
|
4
|
+
import { keyed as K } from "lit/directives/keyed.js";
|
|
5
|
+
import { useDirection as J, useMedia as Q } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { getColorsFromRenderer as Z } from "@arcgis/core/renderers/support/utils.js";
|
|
7
|
+
import { LitElement as ee, safeClassMap as C, nothing as b } from "@arcgis/lumina";
|
|
8
|
+
import { substitute as te } from "@arcgis/core/intl.js";
|
|
9
|
+
import { watch as ie } from "@arcgis/core/core/reactiveUtils.js";
|
|
10
|
+
import ae from "@arcgis/core/popup/FieldInfo.js";
|
|
12
11
|
import P from "@arcgis/core/popup/content/support/ChartMediaInfoValueSeries.js";
|
|
13
|
-
import { unsafeGetCalciteModeName as
|
|
12
|
+
import { unsafeGetCalciteModeName as re } from "@arcgis/toolkit/dom";
|
|
14
13
|
import { renderingSanitizer as X } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
15
|
-
import { i as $, s as
|
|
14
|
+
import { i as $, s as L, f as E, b as Y, c as ne, a as U, d as se, e as oe, h as B, j as le } from "../../chunks/feature-utils.js";
|
|
16
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
16
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
18
|
-
v5.0.0-next.
|
|
19
|
-
const
|
|
20
|
-
function
|
|
21
|
-
if (!$(
|
|
17
|
+
v5.0.0-next.8 */
|
|
18
|
+
const ce = G`.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);line-height:var(--calcite-font-line-height-relative-snug)}.arcgis-feature-media__item-caption{padding-block-start:var(--calcite-spacing-xxs)}.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);line-height:var(--calcite-font-line-height-relative-normal)}.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}`;
|
|
19
|
+
function N(F) {
|
|
20
|
+
if (!$(F))
|
|
22
21
|
return null;
|
|
23
|
-
const [e, t] =
|
|
22
|
+
const [e, t] = F.split("/").slice(1);
|
|
24
23
|
return { layerId: e, fieldName: t };
|
|
25
24
|
}
|
|
26
|
-
const
|
|
27
|
-
base:
|
|
28
|
-
mediaContainer: `${
|
|
29
|
-
mediaItemContainer: `${
|
|
30
|
-
mediaItem: `${
|
|
31
|
-
mediaItemText: `${
|
|
32
|
-
mediaItemTitle: `${
|
|
33
|
-
mediaItemCaption: `${
|
|
34
|
-
mediaNavigation: `${
|
|
35
|
-
mediaPagination: `${
|
|
36
|
-
mediaPaginationText: `${
|
|
37
|
-
mediaChart: `${
|
|
38
|
-
mediaPaginationButton: `${
|
|
39
|
-
mediaPaginationIcon: `${
|
|
40
|
-
mediaChartRendered: `${
|
|
41
|
-
},
|
|
42
|
-
class
|
|
25
|
+
const M = "arcgis-feature-media", v = {
|
|
26
|
+
base: M,
|
|
27
|
+
mediaContainer: `${M}__container`,
|
|
28
|
+
mediaItemContainer: `${M}__item-container`,
|
|
29
|
+
mediaItem: `${M}__item`,
|
|
30
|
+
mediaItemText: `${M}__item-text`,
|
|
31
|
+
mediaItemTitle: `${M}__item-title`,
|
|
32
|
+
mediaItemCaption: `${M}__item-caption`,
|
|
33
|
+
mediaNavigation: `${M}__item-navigation`,
|
|
34
|
+
mediaPagination: `${M}__pagination`,
|
|
35
|
+
mediaPaginationText: `${M}__pagination-text`,
|
|
36
|
+
mediaChart: `${M}__chart`,
|
|
37
|
+
mediaPaginationButton: `${M}__pagination-button`,
|
|
38
|
+
mediaPaginationIcon: `${M}__pagination-icon`,
|
|
39
|
+
mediaChartRendered: `${M}__chart--rendered`
|
|
40
|
+
}, V = 15, w = "category", T = "value", de = "rgba(50, 50, 50, 1)", ue = 250, me = 500, he = 200;
|
|
41
|
+
class fe extends ee {
|
|
43
42
|
constructor() {
|
|
44
|
-
super(...arguments), this._prefersReducedMotion =
|
|
43
|
+
super(...arguments), this._direction = J(), this._prefersReducedMotion = Q("(prefers-reduced-motion)"), this.activeMediaInfoIndex = 0, this.chartAnimationDisabled = !1, this.isAggregate = !1, this.headingLevel = 2;
|
|
45
44
|
}
|
|
46
45
|
static {
|
|
47
46
|
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, heading: 1, isAggregate: 5, formattedMediaInfoCount: 32, headingLevel: 9 };
|
|
48
47
|
}
|
|
49
48
|
static {
|
|
50
|
-
this.styles =
|
|
49
|
+
this.styles = ce;
|
|
51
50
|
}
|
|
52
51
|
get activeMediaInfo() {
|
|
53
52
|
return this.formattedMediaInfos[this.activeMediaInfoIndex] || null;
|
|
@@ -69,7 +68,7 @@ class he extends Q {
|
|
|
69
68
|
}
|
|
70
69
|
loaded() {
|
|
71
70
|
this.manager.onLifecycle(() => [
|
|
72
|
-
|
|
71
|
+
ie(() => [this.activeMediaInfo, this.activeMediaInfoIndex], () => this._setupMediaRefreshTimer(), { initial: !0 }),
|
|
73
72
|
{ remove: () => this._clearMediaRefreshTimer() }
|
|
74
73
|
]);
|
|
75
74
|
}
|
|
@@ -87,19 +86,19 @@ class he extends Q {
|
|
|
87
86
|
const n = s?.clone();
|
|
88
87
|
if (!n)
|
|
89
88
|
return null;
|
|
90
|
-
if (n.title =
|
|
89
|
+
if (n.title = L({
|
|
91
90
|
values: i,
|
|
92
91
|
fieldInfoMap: r,
|
|
93
92
|
globalValues: a,
|
|
94
93
|
layer: t,
|
|
95
94
|
text: n.title
|
|
96
|
-
}), n.caption =
|
|
95
|
+
}), n.caption = L({
|
|
97
96
|
values: i,
|
|
98
97
|
fieldInfoMap: r,
|
|
99
98
|
globalValues: a,
|
|
100
99
|
layer: t,
|
|
101
100
|
text: n.caption
|
|
102
|
-
}), n.altText =
|
|
101
|
+
}), n.altText = L({
|
|
103
102
|
values: i,
|
|
104
103
|
fieldInfoMap: r,
|
|
105
104
|
globalValues: a,
|
|
@@ -150,83 +149,88 @@ class he extends Q {
|
|
|
150
149
|
}
|
|
151
150
|
}
|
|
152
151
|
_setChartValue(e) {
|
|
153
|
-
const { value: t, values: i, formattedValues: a, chartType: r, layer: s } = e, { popupTemplate: n, relatedInfos: o } = this, { fields:
|
|
154
|
-
if (t.fields =
|
|
152
|
+
const { value: t, values: i, formattedValues: a, chartType: r, layer: s } = e, { popupTemplate: n, relatedInfos: o } = this, { fields: c, normalizeField: _ } = t, d = s;
|
|
153
|
+
if (t.fields = ne(c, d), _ && (t.normalizeField = U(_, d)), !c.some((u) => !!(a[u] != null || $(u) && o?.size)))
|
|
155
154
|
return;
|
|
156
|
-
const
|
|
157
|
-
t.series = [],
|
|
155
|
+
const m = n?.fieldInfos ?? [];
|
|
156
|
+
t.series = [], c.forEach((u, h) => {
|
|
158
157
|
const f = t.colors?.[h];
|
|
159
|
-
if ($(
|
|
158
|
+
if ($(u)) {
|
|
160
159
|
t.series = [
|
|
161
160
|
...t.series,
|
|
162
|
-
...this._getRelatedChartInfos({ fieldInfos:
|
|
161
|
+
...this._getRelatedChartInfos({ fieldInfos: m, fieldName: u, formattedValues: a, chartType: r, value: t, color: f })
|
|
163
162
|
];
|
|
164
163
|
return;
|
|
165
164
|
}
|
|
166
|
-
const
|
|
165
|
+
const p = this._getChartOption({
|
|
167
166
|
value: t,
|
|
168
167
|
values: i,
|
|
169
168
|
chartType: r,
|
|
170
169
|
formattedValues: a,
|
|
171
|
-
fieldName:
|
|
172
|
-
fieldInfos:
|
|
170
|
+
fieldName: u,
|
|
171
|
+
fieldInfos: m,
|
|
173
172
|
color: f
|
|
174
173
|
});
|
|
175
|
-
t.series.push(
|
|
174
|
+
t.series.push(p);
|
|
176
175
|
});
|
|
177
176
|
}
|
|
178
177
|
_getRelatedChartInfos(e) {
|
|
179
|
-
const { fieldInfos: t, fieldName: i, formattedValues: a, chartType: r, value: s, color: n } = e, o = [],
|
|
180
|
-
if (!
|
|
178
|
+
const { fieldInfos: t, fieldName: i, formattedValues: a, chartType: r, value: s, color: n } = e, o = [], c = N(i), _ = c && this.relatedInfos?.get(c.layerId);
|
|
179
|
+
if (!_)
|
|
181
180
|
return o;
|
|
182
|
-
const { relatedFeatures:
|
|
183
|
-
if (!l || !
|
|
181
|
+
const { relatedFeatures: d, relation: l } = _;
|
|
182
|
+
if (!l || !d)
|
|
184
183
|
return o;
|
|
185
|
-
const { cardinality:
|
|
186
|
-
return
|
|
184
|
+
const { cardinality: m } = l;
|
|
185
|
+
return d.forEach((h) => {
|
|
187
186
|
const f = h.attributes;
|
|
188
|
-
f && Object.keys(f).forEach((
|
|
189
|
-
|
|
187
|
+
f && Object.keys(f).forEach((p) => {
|
|
188
|
+
p === c.fieldName && o.push(this._getChartOption({
|
|
190
189
|
value: s,
|
|
191
190
|
values: f,
|
|
192
191
|
formattedValues: a,
|
|
193
192
|
fieldName: i,
|
|
194
193
|
chartType: r,
|
|
195
|
-
relatedFieldName:
|
|
196
|
-
hasMultipleRelatedFeatures:
|
|
194
|
+
relatedFieldName: p,
|
|
195
|
+
hasMultipleRelatedFeatures: d?.length > 1,
|
|
197
196
|
fieldInfos: t,
|
|
198
197
|
color: n
|
|
199
198
|
}));
|
|
200
199
|
});
|
|
201
|
-
}),
|
|
200
|
+
}), m && (m === "one-to-many" || m === "many-to-many") ? o : [o[0]];
|
|
202
201
|
}
|
|
203
202
|
_getTooltip({ label: e, value: t, chartType: i }) {
|
|
204
203
|
return i === "pie-chart" ? `${e}` : `${e}: ${t}`;
|
|
205
204
|
}
|
|
206
205
|
_getChartOption(e) {
|
|
207
|
-
const { value: t, values: i, formattedValues: a, fieldName: r, relatedFieldName: s, fieldInfos: n, chartType: o, hasMultipleRelatedFeatures:
|
|
206
|
+
const { value: t, values: i, formattedValues: a, fieldName: r, relatedFieldName: s, fieldInfos: n, chartType: o, hasMultipleRelatedFeatures: c, color: _ } = e, { layer: d, isAggregate: l } = this, m = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { normalizeField: u, tooltipField: h } = t, f = u ? $(u) ? i[N(u).fieldName] : i[u] : null, p = se(r) && a?.[r] !== void 0 ? a[r] : s && i[s] !== void 0 ? i[s] : i[r] !== void 0 ? i[r] : a[r], I = p === void 0 ? null : p && f && typeof p == "number" && typeof f == "number" ? p / f : p, x = oe(n, r), g = U(r, d), A = (h && a[h] !== void 0 ? a[h] : B({
|
|
207
|
+
fieldInfo: x || new ae({ fieldName: g }),
|
|
208
|
+
expressionInfos: this.popupTemplate?.expressionInfos,
|
|
209
|
+
isAggregate: l,
|
|
210
|
+
layer: d
|
|
211
|
+
})) ?? "", S = a[g] ?? "", z = I != null ? typeof I == "number" ? I : Number(I) : null;
|
|
208
212
|
if ($(r)) {
|
|
209
|
-
const
|
|
213
|
+
const R = m.get(r.toLowerCase()), H = h ? m.get(h.toLowerCase()) : null, D = R?.fieldName ?? r, k = c && h ? N(h).fieldName : H?.fieldName ?? h, O = (c && k ? i[k] : a[k] ?? (R && B({ fieldInfo: R, layer: d, isAggregate: l })) ?? R?.fieldName ?? s) ?? "", j = (c && s ? i[s] : a[D]) ?? "";
|
|
210
214
|
return new P({
|
|
211
215
|
fieldName: r,
|
|
212
216
|
tooltip: this._getTooltip({
|
|
213
|
-
label:
|
|
214
|
-
value:
|
|
217
|
+
label: O,
|
|
218
|
+
value: j,
|
|
215
219
|
chartType: o
|
|
216
220
|
}),
|
|
217
|
-
color:
|
|
218
|
-
value:
|
|
221
|
+
color: _,
|
|
222
|
+
value: z
|
|
219
223
|
});
|
|
220
224
|
}
|
|
221
225
|
return new P({
|
|
222
226
|
fieldName: r,
|
|
223
227
|
tooltip: this._getTooltip({
|
|
224
|
-
label:
|
|
225
|
-
value:
|
|
228
|
+
label: A,
|
|
229
|
+
value: S,
|
|
226
230
|
chartType: o
|
|
227
231
|
}),
|
|
228
|
-
color:
|
|
229
|
-
value:
|
|
232
|
+
color: _,
|
|
233
|
+
value: z
|
|
230
234
|
});
|
|
231
235
|
}
|
|
232
236
|
_getRenderer() {
|
|
@@ -243,7 +247,7 @@ class he extends Q {
|
|
|
243
247
|
const { color: e } = await import("@amcharts/amcharts5/index.js"), t = /* @__PURE__ */ new Map(), i = this._getRenderer(), a = "default";
|
|
244
248
|
if (!i)
|
|
245
249
|
return t;
|
|
246
|
-
const r = await
|
|
250
|
+
const r = await Z(i);
|
|
247
251
|
return r.delete(a), Array.from(r.values()).every((n) => n?.length === 1) && Array.from(r.keys()).forEach((n) => {
|
|
248
252
|
const o = r.get(n)?.[0]?.toCss(!0);
|
|
249
253
|
o && t.set(n, e(o));
|
|
@@ -267,194 +271,191 @@ class he extends Q {
|
|
|
267
271
|
return !this.chartAnimationDisabled && !this._prefersReducedMotion;
|
|
268
272
|
}
|
|
269
273
|
_getChartAnimationMS() {
|
|
270
|
-
return this._canAnimateChart() ? de : 0;
|
|
271
|
-
}
|
|
272
|
-
_getChartSeriesAnimationMS() {
|
|
273
274
|
return this._canAnimateChart() ? ue : 0;
|
|
274
275
|
}
|
|
275
|
-
|
|
276
|
-
return
|
|
276
|
+
_getChartSeriesAnimationMS() {
|
|
277
|
+
return this._canAnimateChart() ? me : 0;
|
|
277
278
|
}
|
|
278
279
|
async _customizeChartTooltip(e, t = "horizontal") {
|
|
279
280
|
const { color: i } = await import("@amcharts/amcharts5/index.js");
|
|
280
281
|
e.setAll({
|
|
281
282
|
pointerOrientation: t
|
|
282
283
|
}), e.get("background")?.setAll({
|
|
283
|
-
stroke: i(
|
|
284
|
+
stroke: i(de)
|
|
284
285
|
}), e.label.setAll({
|
|
285
|
-
direction: this.
|
|
286
|
+
direction: this._direction,
|
|
286
287
|
oversizedBehavior: "wrap",
|
|
287
|
-
maxWidth:
|
|
288
|
+
maxWidth: he
|
|
288
289
|
});
|
|
289
290
|
}
|
|
290
291
|
async _createPieChart(e, t) {
|
|
291
292
|
const [{ Tooltip: i }, { PieChart: a, PieSeries: r }] = await Promise.all([
|
|
292
293
|
import("@amcharts/amcharts5/index.js"),
|
|
293
294
|
import("@amcharts/amcharts5/percent.js")
|
|
294
|
-
]), { mediaInfo: s, root: n } = e, { title: o } = s,
|
|
295
|
+
]), { mediaInfo: s, root: n } = e, { title: o } = s, c = 5, _ = s?.altText || s?.title || "", d = n.container.children.push(a.new(n, {
|
|
295
296
|
role: "figure",
|
|
296
|
-
ariaLabel:
|
|
297
|
+
ariaLabel: _,
|
|
297
298
|
focusable: !0,
|
|
298
|
-
paddingBottom:
|
|
299
|
-
paddingTop:
|
|
300
|
-
paddingLeft:
|
|
301
|
-
paddingRight:
|
|
299
|
+
paddingBottom: c,
|
|
300
|
+
paddingTop: c,
|
|
301
|
+
paddingLeft: c,
|
|
302
|
+
paddingRight: c
|
|
302
303
|
})), l = `{category}: {valuePercentTotal.formatNumber('0.00')}%
|
|
303
|
-
({value})`,
|
|
304
|
+
({value})`, m = i.new(n, {
|
|
304
305
|
labelText: l
|
|
305
|
-
}),
|
|
306
|
+
}), u = d.series.push(r.new(n, {
|
|
306
307
|
name: o,
|
|
307
308
|
valueField: T,
|
|
308
309
|
categoryField: w,
|
|
309
|
-
tooltip:
|
|
310
|
+
tooltip: m
|
|
310
311
|
}));
|
|
311
|
-
|
|
312
|
-
shiftRadius:
|
|
313
|
-
}), this._customizeChartTooltip(
|
|
312
|
+
u.ticks.template.set("forceHidden", !0), u.labels.template.set("forceHidden", !0), u.slices.template.states.create("active", {
|
|
313
|
+
shiftRadius: c
|
|
314
|
+
}), this._customizeChartTooltip(m), u.slices.template.setAll({
|
|
314
315
|
ariaLabel: l,
|
|
315
316
|
focusable: !0,
|
|
316
317
|
templateField: "columnSettings"
|
|
317
|
-
}),
|
|
318
|
+
}), u.data.setAll(t), u.appear(this._getChartSeriesAnimationMS()), d.appear(this._getChartAnimationMS()), d.root.dom.classList.toggle(v.mediaChartRendered, !0);
|
|
318
319
|
}
|
|
319
320
|
_getMinSeriesValue(e) {
|
|
320
321
|
let t = 0;
|
|
321
322
|
return e.forEach((i) => t = Math.min(i.value, t)), t;
|
|
322
323
|
}
|
|
323
324
|
async _createColumnChart(e, t, i) {
|
|
324
|
-
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis:
|
|
325
|
+
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis: c, ColumnSeries: _ }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: d, root: l } = t, { value: m, title: u } = d, { _direction: h } = this;
|
|
325
326
|
e.setAll({
|
|
326
327
|
wheelX: "panX",
|
|
327
328
|
wheelY: "zoomX"
|
|
328
329
|
});
|
|
329
|
-
const
|
|
330
|
+
const f = e.xAxes.push(s.new(l, {
|
|
330
331
|
renderer: n.new(l, {
|
|
331
|
-
inversed:
|
|
332
|
+
inversed: h === "rtl"
|
|
332
333
|
}),
|
|
333
334
|
categoryField: w
|
|
334
335
|
}));
|
|
335
|
-
|
|
336
|
+
f.get("renderer").labels.template.setAll({
|
|
336
337
|
forceHidden: !0
|
|
337
338
|
});
|
|
338
|
-
const
|
|
339
|
+
const p = e.yAxes.push(c.new(l, {
|
|
339
340
|
renderer: o.new(l, { inside: !1 }),
|
|
340
|
-
min: this._getMinSeriesValue(
|
|
341
|
+
min: this._getMinSeriesValue(m.series)
|
|
341
342
|
}));
|
|
342
|
-
|
|
343
|
-
direction:
|
|
343
|
+
p.get("renderer").labels.template.setAll({
|
|
344
|
+
direction: h
|
|
344
345
|
});
|
|
345
|
-
const
|
|
346
|
-
labelText:
|
|
347
|
-
}),
|
|
348
|
-
name:
|
|
349
|
-
xAxis:
|
|
350
|
-
yAxis:
|
|
346
|
+
const I = "{categoryX}", x = a.new(l, {
|
|
347
|
+
labelText: I
|
|
348
|
+
}), g = e.series.push(_.new(l, {
|
|
349
|
+
name: u,
|
|
350
|
+
xAxis: f,
|
|
351
|
+
yAxis: p,
|
|
351
352
|
valueYField: T,
|
|
352
353
|
categoryXField: w,
|
|
353
354
|
tooltip: x
|
|
354
355
|
}));
|
|
355
|
-
this._customizeChartTooltip(x),
|
|
356
|
-
ariaLabel:
|
|
356
|
+
this._customizeChartTooltip(x), g.columns.template.setAll({
|
|
357
|
+
ariaLabel: I,
|
|
357
358
|
focusable: !0,
|
|
358
359
|
templateField: "columnSettings"
|
|
359
|
-
}),
|
|
360
|
+
}), m.series.length > V && e.set("scrollbarX", r.new(l, {
|
|
360
361
|
orientation: "horizontal"
|
|
361
|
-
})),
|
|
362
|
+
})), f.data.setAll(i), g.data.setAll(i), g.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
362
363
|
}
|
|
363
364
|
async _createBarChart(e, t, i) {
|
|
364
|
-
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis:
|
|
365
|
+
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis: c, ColumnSeries: _ }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: d, root: l } = t, { value: m, title: u } = d, { _direction: h } = this;
|
|
365
366
|
e.setAll({
|
|
366
367
|
wheelX: "panY",
|
|
367
368
|
wheelY: "zoomY"
|
|
368
369
|
});
|
|
369
|
-
const
|
|
370
|
+
const f = e.yAxes.push(s.new(l, {
|
|
370
371
|
renderer: o.new(l, {
|
|
371
372
|
inversed: !0
|
|
372
373
|
}),
|
|
373
374
|
categoryField: w
|
|
374
375
|
}));
|
|
375
|
-
|
|
376
|
+
f.get("renderer").labels.template.setAll({
|
|
376
377
|
forceHidden: !0
|
|
377
378
|
});
|
|
378
|
-
const
|
|
379
|
+
const p = e.xAxes.push(c.new(l, {
|
|
379
380
|
renderer: n.new(l, {
|
|
380
381
|
inside: !1,
|
|
381
|
-
inversed:
|
|
382
|
+
inversed: h === "rtl"
|
|
382
383
|
}),
|
|
383
|
-
min: this._getMinSeriesValue(
|
|
384
|
+
min: this._getMinSeriesValue(m.series)
|
|
384
385
|
}));
|
|
385
|
-
|
|
386
|
-
direction:
|
|
386
|
+
p.get("renderer").labels.template.setAll({
|
|
387
|
+
direction: h
|
|
387
388
|
});
|
|
388
|
-
const
|
|
389
|
-
labelText:
|
|
390
|
-
}),
|
|
391
|
-
name:
|
|
392
|
-
xAxis:
|
|
393
|
-
yAxis:
|
|
389
|
+
const I = "{categoryY}", x = a.new(l, {
|
|
390
|
+
labelText: I
|
|
391
|
+
}), g = e.series.push(_.new(l, {
|
|
392
|
+
name: u,
|
|
393
|
+
xAxis: p,
|
|
394
|
+
yAxis: f,
|
|
394
395
|
valueXField: T,
|
|
395
396
|
categoryYField: w,
|
|
396
397
|
tooltip: x
|
|
397
398
|
}));
|
|
398
|
-
this._customizeChartTooltip(x, "vertical"),
|
|
399
|
-
ariaLabel:
|
|
399
|
+
this._customizeChartTooltip(x, "vertical"), g.columns.template.setAll({
|
|
400
|
+
ariaLabel: I,
|
|
400
401
|
focusable: !0,
|
|
401
402
|
templateField: "columnSettings"
|
|
402
|
-
}),
|
|
403
|
+
}), m.series.length > V && e.set("scrollbarY", r.new(l, {
|
|
403
404
|
orientation: "vertical"
|
|
404
|
-
})),
|
|
405
|
+
})), f.data.setAll(i), g.data.setAll(i), g.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
405
406
|
}
|
|
406
407
|
async _createLineChart(e, t, i) {
|
|
407
|
-
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis:
|
|
408
|
+
const [{ Tooltip: a, Scrollbar: r }, { CategoryAxis: s, AxisRendererX: n, AxisRendererY: o, ValueAxis: c, LineSeries: _ }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { root: d, mediaInfo: l } = t, { value: m, title: u } = l, { _direction: h } = this;
|
|
408
409
|
e.setAll({
|
|
409
410
|
wheelX: "panX",
|
|
410
411
|
wheelY: "zoomX"
|
|
411
412
|
});
|
|
412
|
-
const
|
|
413
|
-
renderer: n.new(
|
|
414
|
-
inversed:
|
|
413
|
+
const f = e.xAxes.push(s.new(d, {
|
|
414
|
+
renderer: n.new(d, {
|
|
415
|
+
inversed: h === "rtl"
|
|
415
416
|
}),
|
|
416
417
|
categoryField: w
|
|
417
418
|
}));
|
|
418
|
-
|
|
419
|
+
f.get("renderer").labels.template.setAll({
|
|
419
420
|
forceHidden: !0
|
|
420
421
|
});
|
|
421
|
-
const
|
|
422
|
-
renderer: o.new(
|
|
423
|
-
min: this._getMinSeriesValue(
|
|
422
|
+
const p = e.yAxes.push(c.new(d, {
|
|
423
|
+
renderer: o.new(d, { inside: !1 }),
|
|
424
|
+
min: this._getMinSeriesValue(m.series)
|
|
424
425
|
}));
|
|
425
|
-
|
|
426
|
-
direction:
|
|
426
|
+
p.get("renderer").labels.template.setAll({
|
|
427
|
+
direction: h
|
|
427
428
|
});
|
|
428
|
-
const
|
|
429
|
+
const I = "{categoryX}", x = i[0]?.lineSettings?.stroke, g = a.new(d, {
|
|
429
430
|
getFillFromSprite: !x,
|
|
430
|
-
labelText:
|
|
431
|
+
labelText: I
|
|
431
432
|
});
|
|
432
|
-
x &&
|
|
433
|
+
x && g.get("background")?.setAll({
|
|
433
434
|
fill: x
|
|
434
435
|
});
|
|
435
|
-
const
|
|
436
|
-
name:
|
|
437
|
-
xAxis:
|
|
438
|
-
yAxis:
|
|
436
|
+
const A = e.series.push(_.new(d, {
|
|
437
|
+
name: u,
|
|
438
|
+
xAxis: f,
|
|
439
|
+
yAxis: p,
|
|
439
440
|
valueYField: T,
|
|
440
441
|
categoryXField: w,
|
|
441
|
-
tooltip:
|
|
442
|
+
tooltip: g
|
|
442
443
|
}));
|
|
443
|
-
|
|
444
|
+
A.strokes.template.setAll({
|
|
444
445
|
templateField: "lineSettings"
|
|
445
|
-
}), this._customizeChartTooltip(
|
|
446
|
+
}), this._customizeChartTooltip(g, "vertical"), m.series.length > V && e.set("scrollbarX", r.new(d, {
|
|
446
447
|
orientation: "horizontal"
|
|
447
|
-
})),
|
|
448
|
+
})), f.data.setAll(i), A.data.setAll(i), A.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
448
449
|
}
|
|
449
450
|
async _createXYChart(e, t) {
|
|
450
|
-
const { XYChart: i, XYCursor: a } = await import("@amcharts/amcharts5/xy.js"), { root: r, mediaInfo: s } = e, { type: n } = s, o = s?.altText || s?.title || "",
|
|
451
|
+
const { XYChart: i, XYCursor: a } = await import("@amcharts/amcharts5/xy.js"), { root: r, mediaInfo: s } = e, { type: n } = s, o = s?.altText || s?.title || "", c = r.container.children.push(i.new(r, {
|
|
451
452
|
role: "figure",
|
|
452
453
|
ariaLabel: o,
|
|
453
454
|
focusable: !0,
|
|
454
455
|
panX: !0,
|
|
455
456
|
panY: !0
|
|
456
457
|
}));
|
|
457
|
-
|
|
458
|
+
c.set("cursor", a.new(r, {})), n === "column-chart" && await this._createColumnChart(c, e, t), n === "bar-chart" && await this._createBarChart(c, e, t), n === "line-chart" && await this._createLineChart(c, e, t), c.root.dom.classList.toggle(v.mediaChartRendered, !0);
|
|
458
459
|
}
|
|
459
460
|
_clearMediaRefreshTimer() {
|
|
460
461
|
const { _refreshTimer: e } = this;
|
|
@@ -492,7 +493,7 @@ class he extends Q {
|
|
|
492
493
|
}
|
|
493
494
|
_renderMedia() {
|
|
494
495
|
const { formattedMediaInfoCount: e, activeMediaInfoIndex: t } = this, i = this._renderMediaText();
|
|
495
|
-
return e ? y`<div class=${C(v.mediaContainer)}>${this._renderMediaInfo()}<div class=${C(v.mediaNavigation)}>${i}${e > 1 ? y`<div class=${C(v.mediaPagination)}>${this._renderMediaPageButton("previous")}<span class=${C(v.mediaPaginationText)}>${
|
|
496
|
+
return e ? y`<div class=${C(v.mediaContainer)}>${this._renderMediaInfo()}<div class=${C(v.mediaNavigation)}>${i}${e > 1 ? y`<div class=${C(v.mediaPagination)}>${this._renderMediaPageButton("previous")}<span class=${C(v.mediaPaginationText)}>${te(this.messages?.pageText ?? "", {
|
|
496
497
|
index: t + 1,
|
|
497
498
|
total: e
|
|
498
499
|
})}</span>${this._renderMediaPageButton("next")}</div>` : null}</div></div>` : null;
|
|
@@ -507,12 +508,12 @@ class he extends Q {
|
|
|
507
508
|
_renderImageMediaInfo(e) {
|
|
508
509
|
if (!e.value)
|
|
509
510
|
return null;
|
|
510
|
-
const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: r, title: s } = e, { sourceURL: n, linkURL: o } = i,
|
|
511
|
-
return (o ? y`<a href=${o ??
|
|
511
|
+
const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: r, title: s } = e, { sourceURL: n, linkURL: o } = i, _ = le(o ?? void 0) ? "_blank" : "_self", d = _ === "_blank" ? "noreferrer" : "", l = a ? t : null, m = l ? l.sourceURL : n, u = y`<img alt=${(r || s) ?? b} src=${m ?? void 0 ?? b}>`;
|
|
512
|
+
return (o ? y`<a href=${o ?? b} rel=${d ?? b} target=${_} title=${s ?? b}>${u}</a>` : null) ?? u;
|
|
512
513
|
}
|
|
513
514
|
_renderChartMediaInfo(e) {
|
|
514
515
|
const { activeMediaInfoIndex: t, formattedMediaInfoCount: i } = this;
|
|
515
|
-
return
|
|
516
|
+
return K(`media-${e.type}-${t}-${i}`, y`<div class=${C(v.mediaChart)} ${q(this._updateChartElement)}></div>`);
|
|
516
517
|
}
|
|
517
518
|
_renderMediaInfoType() {
|
|
518
519
|
const { activeMediaInfo: e } = this;
|
|
@@ -526,39 +527,39 @@ class he extends Q {
|
|
|
526
527
|
if (this.formattedMediaInfoCount < 2)
|
|
527
528
|
return null;
|
|
528
529
|
const t = e === "previous", i = t ? this.messages?.previous ?? "" : this.messages?.next ?? "", a = t ? "chevron-left" : "chevron-right", r = t ? this.previous : this.next;
|
|
529
|
-
return y`<button .ariaLabel=${i} class=${C(v.mediaPaginationButton)} @click=${r} tabindex=0 title=${i ??
|
|
530
|
+
return y`<button .ariaLabel=${i} class=${C(v.mediaPaginationButton)} @click=${r} tabindex=0 title=${i ?? b} type=button><calcite-icon flip-rtl class=${C(v.mediaPaginationIcon)} .icon=${a} scale=s></calcite-icon></button>`;
|
|
530
531
|
}
|
|
531
532
|
async _renderChart(e) {
|
|
532
|
-
const { root: t, mediaInfo: i } = e, { value: a, type: r } = i, [{ default: s }, { default: n }, { default: o }, { esriChartColorSet:
|
|
533
|
+
const { root: t, mediaInfo: i } = e, { value: a, type: r } = i, [{ default: s }, { default: n }, { default: o }, { esriChartColorSet: c }, { ColorSet: _, Theme: d }] = await Promise.all([
|
|
533
534
|
import("@amcharts/amcharts5/themes/Animated.js"),
|
|
534
535
|
import("@amcharts/amcharts5/themes/Dark.js"),
|
|
535
536
|
import("@amcharts/amcharts5/themes/Responsive.js"),
|
|
536
537
|
import("../../chunks/chartCommon.js"),
|
|
537
538
|
import("@amcharts/amcharts5/index.js")
|
|
538
|
-
]), l =
|
|
539
|
-
l.rule("ColorSet").set("colors",
|
|
540
|
-
const
|
|
541
|
-
|
|
542
|
-
const
|
|
539
|
+
]), l = d.new(t);
|
|
540
|
+
l.rule("ColorSet").set("colors", c), l.rule("ColorSet").set("reuse", !0);
|
|
541
|
+
const m = [o.new(t), l];
|
|
542
|
+
re(this.el) === "dark" && m.push(n.new(t)), this._canAnimateChart() && m.push(s.new(t)), t.setThemes(m);
|
|
543
|
+
const u = await this._getRendererColors(), h = await this._getSeriesColors(a.series), f = _.new(t, {}), p = h.get(a.series[0]), I = p ? {
|
|
543
544
|
lineSettings: {
|
|
544
|
-
stroke:
|
|
545
|
+
stroke: p
|
|
545
546
|
}
|
|
546
|
-
} : void 0,
|
|
547
|
-
const
|
|
547
|
+
} : void 0, x = a.series.map((g, A) => {
|
|
548
|
+
const S = h.get(g) || u.get(g.fieldName) || f.getIndex(A);
|
|
548
549
|
return {
|
|
549
|
-
[w]:
|
|
550
|
-
[T]:
|
|
550
|
+
[w]: g.tooltip,
|
|
551
|
+
[T]: g.value,
|
|
551
552
|
columnSettings: {
|
|
552
|
-
fill:
|
|
553
|
-
stroke:
|
|
553
|
+
fill: S,
|
|
554
|
+
stroke: S
|
|
554
555
|
},
|
|
555
|
-
...
|
|
556
|
+
...I
|
|
556
557
|
};
|
|
557
|
-
}).filter((
|
|
558
|
-
r === "pie-chart" ? this._createPieChart(e,
|
|
558
|
+
}).filter((g) => r === "pie-chart" ? g.value != null && g.value > 0 : !0);
|
|
559
|
+
r === "pie-chart" ? this._createPieChart(e, x) : this._createXYChart(e, x);
|
|
559
560
|
}
|
|
560
561
|
}
|
|
561
|
-
|
|
562
|
+
W("arcgis-feature-media", fe);
|
|
562
563
|
export {
|
|
563
|
-
|
|
564
|
+
fe as ArcgisFeatureMedia
|
|
564
565
|
};
|
|
@@ -16,7 +16,7 @@ import { classes as j } from "@arcgis/toolkit/dom";
|
|
|
16
16
|
import { createRef as Y, ref as ee } from "lit/directives/ref.js";
|
|
17
17
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
18
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
19
|
-
v5.0.0-next.
|
|
19
|
+
v5.0.0-next.8 */
|
|
20
20
|
const te = K`:host{position:relative;flex:1 1 auto}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}`, re = (m) => {
|
|
21
21
|
const e = [];
|
|
22
22
|
if (m.formTemplate) {
|