@arcgis/map-components 5.0.0-next.0 → 5.0.0-next.10
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/2AKWLKBL.js +4 -0
- package/dist/cdn/2GRRR4TM.js +4 -0
- package/dist/cdn/{QT6PCASD.js → 2HSYNMBZ.js} +2 -2
- package/dist/cdn/{GVMTF6MH.js → 2KII47UI.js} +2 -2
- package/dist/cdn/2LLFUF43.js +4 -0
- package/dist/cdn/{OVFAD3X3.js → 2M7EYGPO.js} +2 -2
- package/dist/cdn/{U43YELD6.js → 2O5JOQNK.js} +2 -2
- package/dist/cdn/{UNXQBDIT.js → 2ZULXRHA.js} +2 -2
- package/dist/cdn/{GFQFHL3Y.js → 2ZVP52OF.js} +2 -2
- package/dist/cdn/{I5PJFINE.js → 32N6UFLV.js} +2 -2
- package/dist/cdn/36C6G5WT.js +4 -0
- package/dist/cdn/{GFXWII4D.js → 37AXW37Z.js} +2 -2
- package/dist/cdn/3FKOLUUI.js +4 -0
- package/dist/cdn/3ROVUNV7.js +4 -0
- package/dist/cdn/{RIB7F7FP.js → 3VQGSSHN.js} +2 -2
- package/dist/cdn/3ZCTXNDM.js +4 -0
- package/dist/cdn/{WPCP6NML.js → 3ZQ2E4TL.js} +2 -2
- package/dist/cdn/42NBQUF6.js +4 -0
- package/dist/cdn/{HDWYOV7I.js → 4HZP5Z7J.js} +2 -2
- package/dist/cdn/{CT3WXBK7.js → 4I4OU6VG.js} +2 -2
- package/dist/cdn/{56K23KFL.js → 4KD6G5A4.js} +2 -2
- package/dist/cdn/4PMPZ3MD.js +4 -0
- package/dist/cdn/{ASOANU2F.js → 4QOOPLW5.js} +2 -2
- package/dist/cdn/4RUSBQVK.js +4 -0
- package/dist/cdn/{SZUJW2EZ.js → 4USLLLNN.js} +2 -2
- package/dist/cdn/{G33T3TOF.js → 4UTZK5AQ.js} +2 -2
- package/dist/cdn/{SU4N2R25.js → 4XCB5LDU.js} +2 -2
- package/dist/cdn/{MEBSEHED.js → 54CXDZCE.js} +2 -2
- package/dist/cdn/{GIDAUGHR.js → 557LT3MA.js} +2 -2
- package/dist/cdn/{57Z3CSP3.js → 5DMBTHWQ.js} +2 -2
- package/dist/cdn/5FZEUACB.js +4 -0
- package/dist/cdn/{KOBA75EW.js → 5ICVDZBL.js} +2 -2
- package/dist/cdn/5ODNISFC.js +4 -0
- package/dist/cdn/{OVWJLB33.js → 5TGXR4U6.js} +2 -2
- package/dist/cdn/5UZNTJA4.js +4 -0
- package/dist/cdn/5WF4W42T.js +4 -0
- package/dist/cdn/5WK44UFV.js +4 -0
- package/dist/cdn/65AIVKCZ.js +4 -0
- package/dist/cdn/{U4BLDUQ2.js → 67VKRHSQ.js} +2 -2
- package/dist/cdn/{MVKW52XD.js → 6EPUAQLW.js} +2 -2
- package/dist/cdn/{IMKO2NP7.js → 6KYGYHCA.js} +2 -2
- package/dist/cdn/6LOCREPO.js +4 -0
- package/dist/cdn/6NPQ2F2Z.js +4 -0
- package/dist/cdn/6OKWRQPX.js +4 -0
- package/dist/cdn/6QOHEF27.js +4 -0
- package/dist/cdn/{6R73MG62.js → 77BICRLT.js} +2 -2
- package/dist/cdn/7BJVZBIF.js +4 -0
- package/dist/cdn/{44KITBL5.js → 7SBVUDIP.js} +2 -2
- package/dist/cdn/AATCFB3M.js +4 -0
- package/dist/cdn/{S5UBMQXQ.js → AESWIVFT.js} +2 -2
- package/dist/cdn/AGRY63UN.js +4 -0
- package/dist/cdn/{BFL4JJOO.js → AGYB5F5F.js} +2 -2
- package/dist/cdn/{XZUAR56F.js → AOITERFR.js} +2 -2
- package/dist/cdn/AUKFPZCX.js +9 -0
- package/dist/cdn/AXLS3CBH.js +4 -0
- package/dist/cdn/AYKTD2MO.js +4 -0
- package/dist/cdn/{TDJEG2AK.js → B43CI673.js} +2 -2
- package/dist/cdn/{ZD3Y4SEL.js → B73BHWYE.js} +2 -2
- package/dist/cdn/{B372JIBE.js → BH4ZODAH.js} +2 -2
- package/dist/cdn/BQGBTONX.js +4 -0
- package/dist/cdn/BREKMAPO.js +4 -0
- package/dist/cdn/{QOFENLV5.js → BVFADHLD.js} +2 -2
- package/dist/cdn/{XYQWLBTQ.js → BZS24LHG.js} +2 -2
- package/dist/cdn/{LLLTSDNB.js → C5PDWYOY.js} +2 -2
- package/dist/cdn/{BYESJQMV.js → CFYJ7XEK.js} +2 -2
- package/dist/cdn/CGAHD5SE.js +4 -0
- package/dist/cdn/CIJ6KAN3.js +4 -0
- package/dist/cdn/{N7DEJ6J7.js → CT3RLY77.js} +2 -2
- package/dist/cdn/CZJJ2HQ2.js +4 -0
- package/dist/cdn/D2JBCPSI.js +5 -0
- package/dist/cdn/D52BPKM6.js +4 -0
- package/dist/cdn/{W42RVFFA.js → DB3SGFLK.js} +2 -2
- package/dist/cdn/DNCXHD43.js +4 -0
- package/dist/cdn/{MOL7QOJC.js → DNX7LMWJ.js} +2 -2
- package/dist/cdn/DTBJAD63.js +4 -0
- package/dist/cdn/E2D7ZSEX.js +4 -0
- package/dist/cdn/EAJ5KVNC.js +4 -0
- package/dist/cdn/{TDNV3XVJ.js → EEDUKP5F.js} +1 -1
- package/dist/cdn/{L32WV2VP.js → EI6R6C6I.js} +2 -2
- package/dist/cdn/{QYWBFBLC.js → EJRGBG47.js} +2 -2
- package/dist/cdn/{45IHGGXJ.js → EOIIXKUK.js} +2 -2
- package/dist/cdn/{P6QSZHM2.js → EV7DD6IS.js} +2 -2
- package/dist/cdn/EVD7GO4K.js +4 -0
- package/dist/cdn/{PLHEZQPX.js → F6LALBTQ.js} +2 -2
- package/dist/cdn/{6TUBQ5XR.js → F6VT2FPV.js} +2 -2
- package/dist/cdn/FE7OXMRK.js +4 -0
- package/dist/cdn/{YF6CM6F6.js → FGXRZMUH.js} +2 -2
- package/dist/cdn/FPQP7CHZ.js +4 -0
- package/dist/cdn/{KCOQW7LM.js → FZ6WNOMM.js} +1 -1
- package/dist/cdn/{EYZDDN4Y.js → G2PGCSDA.js} +2 -2
- package/dist/cdn/{MY4TGM65.js → G56AFRPQ.js} +2 -2
- package/dist/cdn/GHEZ5IDG.js +4 -0
- package/dist/cdn/GJTYGWRS.js +4 -0
- package/dist/cdn/{KLIUHHXL.js → GMQGCPGQ.js} +2 -2
- package/dist/cdn/{ISWSFHVP.js → GMYQF3QU.js} +1 -1
- package/dist/cdn/{K53OIGRB.js → H3TBBSWW.js} +2 -2
- package/dist/cdn/{PIIKQIWP.js → H4AK46R2.js} +2 -2
- package/dist/cdn/{HR3Z6AIE.js → HIACN3X7.js} +1 -1
- package/dist/cdn/{OBAXOVUP.js → HK3XI4O7.js} +2 -2
- package/dist/cdn/{XNFT6J47.js → HM5XMKAZ.js} +2 -2
- package/dist/cdn/{CTBXRE5R.js → HNZWUG7F.js} +1 -1
- package/dist/cdn/HRR4KNJB.js +4 -0
- package/dist/cdn/{4OV6XOMD.js → HV4KKZXB.js} +2 -2
- package/dist/cdn/{FJK3C6F3.js → I5KDXR3L.js} +2 -2
- package/dist/cdn/{ULUMEUS2.js → I6EOCC7C.js} +2 -2
- package/dist/cdn/IFGLDY55.js +4 -0
- package/dist/cdn/IHXDKDKY.js +4 -0
- package/dist/cdn/IVOOX6AD.js +4 -0
- package/dist/cdn/{33UFJENY.js → IX7OJ4V6.js} +2 -2
- package/dist/cdn/{SEQXJNEO.js → IXX3G6DW.js} +2 -2
- package/dist/cdn/IZEC6XQA.js +4 -0
- package/dist/cdn/{YZCCVCY5.js → JEGDDWYT.js} +2 -2
- package/dist/cdn/{EFFSGZUE.js → JG5D7ZLP.js} +2 -2
- package/dist/cdn/{ZWK2AZW6.js → JHGO7ZCK.js} +2 -2
- package/dist/cdn/{NYZFXHEY.js → JJQDOSXS.js} +2 -2
- package/dist/cdn/{TXKK5ZYM.js → JJVSDYDL.js} +2 -2
- package/dist/cdn/{AP7EYBOD.js → K64XGNW5.js} +2 -2
- package/dist/cdn/{SYKFEKY5.js → K7BKJJSU.js} +2 -2
- package/dist/cdn/L6PKT72K.js +4 -0
- package/dist/cdn/{D7HDFTPE.js → L7MPMVZG.js} +2 -2
- package/dist/cdn/{TRVSYV37.js → LFPETQZ6.js} +2 -2
- package/dist/cdn/LXFRXZAZ.js +4 -0
- package/dist/cdn/{KJLPOWZ3.js → MAJSERWL.js} +2 -2
- package/dist/cdn/MFCR75J6.js +4 -0
- package/dist/cdn/MIZZQDOG.js +4 -0
- package/dist/cdn/MNC3DWBN.js +4 -0
- package/dist/cdn/{D2SSLQZS.js → MWHMYSCN.js} +2 -2
- package/dist/cdn/NGUPUR3D.js +4 -0
- package/dist/cdn/NLVHFHZ4.js +4 -0
- package/dist/cdn/NQVFJBBL.js +4 -0
- package/dist/cdn/NR6M5ZYT.js +4 -0
- package/dist/cdn/NRB64KPZ.js +4 -0
- package/dist/cdn/{VJUG22CU.js → NXPS662X.js} +2 -2
- package/dist/cdn/{VZX6WH6V.js → O3TFUIQO.js} +2 -2
- package/dist/cdn/{PFYBQ6QL.js → O5JL2C3T.js} +2 -2
- package/dist/cdn/O6JI5VFU.js +4 -0
- package/dist/cdn/OCJMX7NX.js +4 -0
- package/dist/cdn/{K42DEXKL.js → OOJF6AFB.js} +2 -2
- package/dist/cdn/OQTKRUHI.js +4 -0
- package/dist/cdn/OYE3Y6AE.js +4 -0
- package/dist/cdn/{ACKZ3YB5.js → OZ4W53EF.js} +2 -2
- package/dist/cdn/{37K32YWQ.js → P7IHBO6A.js} +2 -2
- package/dist/cdn/{IC7GASHL.js → PBDIBP6R.js} +2 -2
- package/dist/cdn/{YUJYBWWD.js → PGYWXLPI.js} +2 -2
- package/dist/cdn/PODC5MGI.js +4 -0
- package/dist/cdn/PQUQRRD2.js +4 -0
- package/dist/cdn/PSY5IYSQ.js +4 -0
- package/dist/cdn/PVXQKH4X.js +4 -0
- package/dist/cdn/{N5ACC46S.js → PWMXMDBC.js} +1 -1
- package/dist/cdn/{4MKCUKPE.js → PYKHTSPH.js} +2 -2
- package/dist/cdn/Q62QMQNZ.js +4 -0
- package/dist/cdn/Q7GZO6MQ.js +4 -0
- package/dist/cdn/QEA4YIIA.js +4 -0
- package/dist/cdn/{SL674NX4.js → QLC7VKBK.js} +2 -2
- package/dist/cdn/QPJJXUPT.js +4 -0
- package/dist/cdn/{P2HYSJOP.js → QTPEBMMV.js} +2 -2
- package/dist/cdn/QW5QAJTB.js +4 -0
- package/dist/cdn/{6ULV2TTQ.js → QXFSIHPL.js} +2 -2
- package/dist/cdn/QYIPDBQV.js +4 -0
- package/dist/cdn/{HMP5XHUR.js → QZ3SYHZ6.js} +2 -2
- package/dist/cdn/{ORMHA7BG.js → R3TLKWGW.js} +2 -2
- package/dist/cdn/REFVQ2PC.js +4 -0
- package/dist/cdn/{FNVZBLOY.js → RFS34E3V.js} +2 -2
- package/dist/cdn/RG4CWY6M.js +4 -0
- package/dist/cdn/{UMAYDPFB.js → RIYFCFCG.js} +2 -2
- package/dist/cdn/{DDQHK3HF.js → RL4P265X.js} +2 -2
- package/dist/cdn/{XO3UVMDJ.js → RUBEJJPX.js} +2 -2
- package/dist/cdn/{G2VCHNTD.js → RVOZAU5C.js} +2 -2
- package/dist/cdn/{NUVN6WSD.js → RX5Z7HJO.js} +2 -2
- package/dist/cdn/S2XZJIG4.js +4 -0
- package/dist/cdn/{JFW2XJ22.js → STBZICPA.js} +2 -2
- package/dist/cdn/{4DMHEUK5.js → SWZVGSTR.js} +2 -2
- package/dist/cdn/T2PZWF35.js +4 -0
- package/dist/cdn/T4XFU7CJ.js +4 -0
- package/dist/cdn/{ZED43I4L.js → T5GTY367.js} +2 -2
- package/dist/cdn/THR46J2G.js +4 -0
- package/dist/cdn/{O6NWHQM7.js → TTOCXNLC.js} +2 -2
- package/dist/cdn/TXHQV24X.js +4 -0
- package/dist/cdn/{3HCNNX6O.js → U7YQKDSJ.js} +1 -1
- package/dist/cdn/UAYZV2SB.js +4 -0
- package/dist/cdn/UDC2MJEF.js +4 -0
- package/dist/cdn/UDXKFPIK.js +4 -0
- package/dist/cdn/ULYTE5KS.js +4 -0
- package/dist/cdn/{ZSUWM2EO.js → UOESJK4T.js} +2 -2
- package/dist/cdn/UVWI5QKG.js +4 -0
- package/dist/cdn/{I23HEHZY.js → UWYE5EL4.js} +2 -2
- package/dist/cdn/UXSKVYCC.js +4 -0
- package/dist/cdn/VK2ROKAQ.js +4 -0
- package/dist/cdn/VKXX6LDU.js +4 -0
- package/dist/cdn/{FFMXPTNF.js → VLEGVRLK.js} +1 -1
- package/dist/cdn/VVZ4DSDI.js +4 -0
- package/dist/cdn/W3BOKSHZ.js +4 -0
- package/dist/cdn/{26CZCTFV.js → WRU54RA4.js} +2 -2
- package/dist/cdn/WSCU44DB.js +4 -0
- package/dist/cdn/{FZISOA34.js → X4HL2ISN.js} +2 -2
- package/dist/cdn/{G4TA2Y6N.js → XG7TUPOD.js} +2 -2
- package/dist/cdn/{4IUMTL7B.js → XKDXV4KQ.js} +2 -2
- package/dist/cdn/{RY7GER6M.js → XLKS7IKY.js} +2 -2
- package/dist/cdn/XNQMHCXU.js +4 -0
- package/dist/cdn/XOKSYTEH.js +4 -0
- package/dist/cdn/{FIDKB6SF.js → XXCJVJCM.js} +2 -2
- package/dist/cdn/{D2WNRPVE.js → XZU2S32T.js} +1 -1
- package/dist/cdn/{ZG43I6HK.js → Y3BC6FEV.js} +2 -2
- package/dist/cdn/{7QDHQKJJ.js → Y4XLUKPM.js} +2 -2
- package/dist/cdn/{EACPDMHP.js → YB3FTZD7.js} +2 -2
- package/dist/cdn/{FVQVICC3.js → YFZW6XII.js} +2 -2
- package/dist/cdn/{SGBNQLIG.js → YJFHF553.js} +2 -2
- package/dist/cdn/YKVB5RJI.js +4 -0
- package/dist/cdn/{NLYV7PKQ.js → YMBIIT7L.js} +2 -2
- package/dist/cdn/{RQW7DYXW.js → YP2P2N6W.js} +2 -2
- package/dist/cdn/YRYAAJYL.js +4 -0
- package/dist/cdn/YVSU2VWV.js +4 -0
- package/dist/cdn/{UQQWCQ7N.js → Z37YV6S3.js} +2 -2
- package/dist/cdn/{KTYAGUAE.js → ZA2N4GFH.js} +2 -2
- package/dist/cdn/{2O5EHXVS.js → ZMFDIT24.js} +2 -2
- package/dist/cdn/{J3WXA3DK.js → ZMSOFZAE.js} +2 -2
- package/dist/cdn/ZQIXX4NX.js +4 -0
- package/dist/cdn/ZSMQ72A6.js +4 -0
- package/dist/cdn/ZUUE4W6M.js +4 -0
- package/dist/cdn/{W2NRRSXB.js → ZVPHHVS3.js} +2 -2
- package/dist/cdn/{RJJ5BJOI.js → ZVWLS5HO.js} +1 -1
- package/dist/cdn/{44DZUE2B.js → ZVYU2KRZ.js} +2 -2
- package/dist/cdn/ZWW5QAIW.js +4 -0
- package/dist/cdn/ZWXA7NAF.js +4 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- 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 +80 -62
- 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 +7 -7
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +86 -0
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +4 -4
- 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.d.ts +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 +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +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.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +80 -71
- package/dist/components/arcgis-daylight/customElement.js +142 -146
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +4 -4
- 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.d.ts +3 -3
- package/dist/components/arcgis-elevation-profile-next/customElement.js +199 -150
- 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 +29 -35
- package/dist/components/arcgis-feature/customElement.d.ts +5 -4
- package/dist/components/arcgis-feature/customElement.js +88 -75
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
- 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.d.ts +4 -4
- 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.d.ts +7 -6
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
- package/dist/components/arcgis-features/customElement.d.ts +3 -4
- package/dist/components/arcgis-features/customElement.js +3 -3
- package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +8 -8
- 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.d.ts +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +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.d.ts +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.d.ts +1 -0
- 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 +59 -3
- package/dist/components/arcgis-link-chart/customElement.js +21 -15
- package/dist/components/arcgis-link-chart/index.d.ts +2 -0
- package/dist/components/arcgis-link-chart/index.js +2 -0
- 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 +99 -36
- package/dist/components/arcgis-map/customElement.js +26 -20
- package/dist/components/arcgis-map/index.d.ts +2 -0
- package/dist/components/arcgis-map/index.js +2 -0
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -4
- 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.d.ts +2 -2
- 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 +48 -16
- package/dist/components/arcgis-popup/customElement.js +67 -69
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print/utils.d.ts +1 -2
- 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.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +45 -5
- package/dist/components/arcgis-scene/customElement.js +22 -16
- package/dist/components/arcgis-scene/index.d.ts +2 -0
- package/dist/components/arcgis-scene/index.js +2 -0
- package/dist/components/arcgis-search/customElement.d.ts +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +2 -2
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -3
- package/dist/components/arcgis-sketch/customElement.js +2 -2
- 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 +8 -8
- package/dist/components/arcgis-table-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
- 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.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
- 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.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +2 -2
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +9 -2
- package/dist/components/arcgis-video/customElement.js +15 -9
- package/dist/components/arcgis-video-player/customElement.d.ts +8 -1
- package/dist/components/arcgis-video-player/customElement.js +22 -25
- 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/controllers/uiController.d.ts +6 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +1130 -144
- package/dist/docs/docs.json +1137 -152
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +66 -12
- package/dist/docs/web-types.json +317 -68
- package/dist/index.d.ts +32 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +19 -15
- package/dist/support/AnalysisViewModel.d.ts +1 -0
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/slots.d.ts +1 -1
- package/dist/types/lumina.d.ts +26 -7
- package/dist/types/preact.d.ts +28 -7
- package/dist/types/preact10.d.ts +30 -7
- package/dist/types/react.d.ts +30 -7
- package/dist/types/stencil.d.ts +26 -7
- package/dist/utils/async-utils.d.ts +19 -0
- 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 +6 -6
- package/dist/cdn/246MABWF.js +0 -4
- package/dist/cdn/24MOQK7K.js +0 -4
- package/dist/cdn/2C5ZQV42.js +0 -4
- package/dist/cdn/3A7FPLDB.js +0 -4
- package/dist/cdn/3MLSHMZU.js +0 -4
- package/dist/cdn/3MOJH4YU.js +0 -4
- package/dist/cdn/3PKAH5VE.js +0 -4
- package/dist/cdn/3W2R6RNL.js +0 -4
- package/dist/cdn/46VJNVQB.js +0 -4
- package/dist/cdn/4HZ7HUS7.js +0 -4
- package/dist/cdn/5BQDYSXD.js +0 -4
- package/dist/cdn/5DGNYP2Q.js +0 -4
- package/dist/cdn/5M4H6RGP.js +0 -4
- package/dist/cdn/5SSQS7G2.js +0 -4
- package/dist/cdn/6B7RNSPO.js +0 -4
- package/dist/cdn/6FY3LIRF.js +0 -4
- package/dist/cdn/6MBB2W7K.js +0 -9
- package/dist/cdn/7HBKIE2G.js +0 -4
- package/dist/cdn/7L7UZYCO.js +0 -4
- package/dist/cdn/7T5CKINW.js +0 -4
- package/dist/cdn/7UUT6OXM.js +0 -4
- package/dist/cdn/7ZYYPJU7.js +0 -4
- package/dist/cdn/B2OFNE7N.js +0 -4
- package/dist/cdn/BDGC2OV6.js +0 -4
- package/dist/cdn/BUP4M2Z3.js +0 -4
- package/dist/cdn/DLHHWX35.js +0 -4
- package/dist/cdn/DUJARUJM.js +0 -4
- package/dist/cdn/FJ3CLTYS.js +0 -4
- package/dist/cdn/FKZD6I6Q.js +0 -4
- package/dist/cdn/FLRRJ2FF.js +0 -5
- package/dist/cdn/FVE3O4PH.js +0 -4
- package/dist/cdn/FYOWMF5S.js +0 -4
- package/dist/cdn/G2CUH7MB.js +0 -4
- package/dist/cdn/GKVDMBYT.js +0 -4
- package/dist/cdn/HKPMACKY.js +0 -4
- package/dist/cdn/HYHUFDNE.js +0 -4
- package/dist/cdn/IO6SVXCV.js +0 -4
- package/dist/cdn/IOBZDH4Q.js +0 -4
- package/dist/cdn/ITEYALDP.js +0 -4
- package/dist/cdn/IYZNFZLK.js +0 -4
- package/dist/cdn/JKEJPIOL.js +0 -4
- package/dist/cdn/JKNSWYRA.js +0 -4
- package/dist/cdn/JYHGIGGU.js +0 -4
- package/dist/cdn/KJ77YNBI.js +0 -4
- package/dist/cdn/M7QRWICX.js +0 -4
- package/dist/cdn/MBC3TRZX.js +0 -4
- package/dist/cdn/MCJO2GPD.js +0 -4
- package/dist/cdn/MIHL7FBO.js +0 -4
- package/dist/cdn/MJYFEFCD.js +0 -4
- package/dist/cdn/MYR6KG6B.js +0 -4
- package/dist/cdn/N3U5QI3H.js +0 -4
- package/dist/cdn/NOJOTRPW.js +0 -4
- package/dist/cdn/NSEFYEGV.js +0 -4
- package/dist/cdn/OROBVLLR.js +0 -4
- package/dist/cdn/OS5N5PB2.js +0 -4
- package/dist/cdn/OYU4U2Z4.js +0 -4
- package/dist/cdn/PG2FNQK6.js +0 -4
- package/dist/cdn/PGONIA3M.js +0 -4
- package/dist/cdn/PJCO47MY.js +0 -4
- package/dist/cdn/Q4IJDS57.js +0 -4
- package/dist/cdn/Q6CSKNW6.js +0 -4
- package/dist/cdn/Q7DDZSB7.js +0 -4
- package/dist/cdn/QBJX4TEF.js +0 -4
- package/dist/cdn/QVSPJUYM.js +0 -4
- package/dist/cdn/R3R77S2G.js +0 -4
- package/dist/cdn/R5GOQM4A.js +0 -4
- package/dist/cdn/RGSWOBYA.js +0 -4
- package/dist/cdn/ROU3UWZB.js +0 -4
- package/dist/cdn/RQLPN6Z4.js +0 -4
- package/dist/cdn/RTYEF2SH.js +0 -4
- package/dist/cdn/STIMLOJN.js +0 -4
- package/dist/cdn/SUMQQI3U.js +0 -4
- package/dist/cdn/T5O6UJJ3.js +0 -4
- package/dist/cdn/TA64WON5.js +0 -4
- package/dist/cdn/TCK6E7YB.js +0 -4
- package/dist/cdn/TIGIOLUD.js +0 -4
- package/dist/cdn/TQ5W4NIV.js +0 -4
- package/dist/cdn/U4ATKMUT.js +0 -4
- package/dist/cdn/UYMPIMEC.js +0 -4
- package/dist/cdn/VGHFJCBR.js +0 -4
- package/dist/cdn/VV4SQP6Q.js +0 -4
- package/dist/cdn/VXL2C7UJ.js +0 -4
- package/dist/cdn/VYPHZNMK.js +0 -4
- package/dist/cdn/WCJBNDM7.js +0 -4
- package/dist/cdn/WGB25DX2.js +0 -4
- package/dist/cdn/WPBB7F6E.js +0 -4
- package/dist/cdn/WVF7FXS7.js +0 -4
- package/dist/cdn/XR335O54.js +0 -4
- package/dist/cdn/Y55YYRE3.js +0 -4
- package/dist/cdn/YBORIA6Y.js +0 -4
- package/dist/cdn/YX3ODFH7.js +0 -4
- package/dist/chunks/uiController.js +0 -45
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
|
@@ -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.10 */
|
|
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);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-snug)}.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.10 */
|
|
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) {
|