@arcgis/map-components 4.34.0-next.5 → 4.34.0-next.50
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/26R2YV3B.js +4 -0
- package/dist/cdn/2CQONIL2.js +4 -0
- package/dist/cdn/2GI6YQEI.js +4 -0
- package/dist/cdn/2H5QL6X7.js +4 -0
- package/dist/cdn/{JE6AJOV2.js → 2OQ6OXJG.js} +2 -2
- package/dist/cdn/2V6QW57Y.js +4 -0
- package/dist/cdn/{RNMVFT5P.js → 2WB3VDBK.js} +1 -1
- package/dist/cdn/34V6FFLC.js +4 -0
- package/dist/cdn/3IUDGD65.js +4 -0
- package/dist/cdn/3KFRZNJE.js +4 -0
- package/dist/cdn/3Q5GWAOH.js +4 -0
- package/dist/cdn/{UKUTVSTC.js → 3TNNWTAT.js} +2 -2
- package/dist/cdn/3TQU7RFR.js +4 -0
- package/dist/cdn/4CYKZL33.js +4 -0
- package/dist/cdn/{BNUZVD5L.js → 4DUQHI6P.js} +2 -2
- package/dist/cdn/4ISQY7KF.js +4 -0
- package/dist/cdn/4JDOUOBV.js +4 -0
- package/dist/cdn/4TO2R3SL.js +4 -0
- package/dist/cdn/4YWQ66WB.js +4 -0
- package/dist/cdn/{54VGZGQT.js → 5GSDGHZ3.js} +2 -2
- package/dist/cdn/5KHZOBUA.js +4 -0
- package/dist/cdn/5KNUYIJ6.js +4 -0
- package/dist/cdn/5QDRURVW.js +4 -0
- package/dist/cdn/{FCPVKFF7.js → 5TSGKVAP.js} +2 -2
- package/dist/cdn/5V4YSXEX.js +4 -0
- package/dist/cdn/5VMYC2HB.js +4 -0
- package/dist/cdn/5YKVZEXB.js +4 -0
- package/dist/cdn/62KIHSAJ.js +4 -0
- package/dist/cdn/67DILXT3.js +4 -0
- package/dist/cdn/6DGB7FVP.js +4 -0
- package/dist/cdn/6DNNBLTS.js +4 -0
- package/dist/cdn/{Z5OKVV3T.js → 6FRZKVET.js} +2 -2
- package/dist/cdn/6FTO5TUV.js +4 -0
- package/dist/cdn/6ILWU6S2.js +4 -0
- package/dist/cdn/6LSEPDH5.js +4 -0
- package/dist/cdn/6UE2J3H3.js +4 -0
- package/dist/cdn/6UXIXOUF.js +4 -0
- package/dist/cdn/{CY2ZUEMG.js → 75KMGR2T.js} +2 -2
- package/dist/cdn/7ADE73RA.js +4 -0
- package/dist/cdn/7GIELD22.js +4 -0
- package/dist/cdn/7XPT54JR.js +4 -0
- package/dist/cdn/7ZR5PR2L.js +4 -0
- package/dist/cdn/A5VWDFHE.js +4 -0
- package/dist/cdn/AHBYJOVM.js +4 -0
- package/dist/cdn/AI7PXAN4.js +4 -0
- package/dist/cdn/ALII4L6W.js +4 -0
- package/dist/cdn/APJD3H2R.js +4 -0
- package/dist/cdn/AUZ7N5WS.js +4 -0
- package/dist/cdn/AYGTXJXG.js +4 -0
- package/dist/cdn/B5N4VUXB.js +4 -0
- package/dist/cdn/BBPAZJHG.js +4 -0
- package/dist/cdn/BJ7DXLBG.js +4 -0
- package/dist/cdn/BQVV32YK.js +4 -0
- package/dist/cdn/BRFMXB22.js +4 -0
- package/dist/cdn/BU57WANH.js +4 -0
- package/dist/cdn/{RZWKYMUH.js → BUJKCBLN.js} +2 -2
- package/dist/cdn/BYIG4A56.js +4 -0
- package/dist/cdn/C2YRACL5.js +4 -0
- package/dist/cdn/C4PORT7A.js +4 -0
- package/dist/cdn/C5NTPG2J.js +4 -0
- package/dist/cdn/CCIJI4Q3.js +4 -0
- package/dist/cdn/CFCNUTV7.js +4 -0
- package/dist/cdn/CIAKNPGH.js +4 -0
- package/dist/cdn/CQM22ZVV.js +4 -0
- package/dist/cdn/D6EDBL24.js +4 -0
- package/dist/cdn/DA2JDIA5.js +4 -0
- package/dist/cdn/{HRVDXQJH.js → DDZSCFPP.js} +1 -1
- package/dist/cdn/{ZFZIGRGE.js → DL5QNAJH.js} +1 -1
- package/dist/cdn/DRS5TFL3.js +4 -0
- package/dist/cdn/ED2ELRSD.js +4 -0
- package/dist/cdn/EGHBXJIQ.js +4 -0
- package/dist/cdn/EMURL3M6.js +6 -0
- package/dist/cdn/ENYA3CUT.js +4 -0
- package/dist/cdn/EYYHLTDA.js +4 -0
- package/dist/cdn/EZRL6KFN.js +4 -0
- package/dist/cdn/FBDQXCVG.js +5 -0
- package/dist/cdn/FMJZJRW7.js +4 -0
- package/dist/cdn/FPW62K7V.js +4 -0
- package/dist/cdn/FVIXRTM5.js +4 -0
- package/dist/cdn/G2W42WVA.js +4 -0
- package/dist/cdn/G77RWWJ5.js +4 -0
- package/dist/cdn/GAAU3OGF.js +4 -0
- package/dist/cdn/GPA5ZUND.js +4 -0
- package/dist/cdn/GZ333KTW.js +4 -0
- package/dist/cdn/GZCPDM7J.js +4 -0
- package/dist/cdn/HQL7E2T6.js +4 -0
- package/dist/cdn/HT3JKPOI.js +4 -0
- package/dist/cdn/IAB4RRTE.js +4 -0
- package/dist/cdn/IUSN6HPI.js +4 -0
- package/dist/cdn/IZPSAWGI.js +4 -0
- package/dist/cdn/JFFZT22V.js +4 -0
- package/dist/cdn/JGO5DXAG.js +4 -0
- package/dist/cdn/JPGZ6LTV.js +4 -0
- package/dist/cdn/JYJEO4XX.js +4 -0
- package/dist/cdn/KNDCZL4P.js +4 -0
- package/dist/cdn/KWFOKKJP.js +4 -0
- package/dist/cdn/KWQEP3GX.js +4 -0
- package/dist/cdn/LB4VE6GE.js +4 -0
- package/dist/cdn/LFAAOP6W.js +4 -0
- package/dist/cdn/LGEEWJVV.js +4 -0
- package/dist/cdn/LKCFUBW7.js +4 -0
- package/dist/cdn/LKDVJARU.js +4 -0
- package/dist/cdn/LPIAWKJF.js +4 -0
- package/dist/cdn/LRWBSDZG.js +4 -0
- package/dist/cdn/MJAUREYK.js +4 -0
- package/dist/cdn/{4MRPFB2F.js → N7K24QHL.js} +2 -2
- package/dist/cdn/NBPRSKK7.js +4 -0
- package/dist/cdn/NM4L7QLO.js +4 -0
- package/dist/cdn/NN5DZJEE.js +4 -0
- package/dist/cdn/NNYT4CEU.js +4 -0
- package/dist/cdn/NPZSYTOT.js +4 -0
- package/dist/cdn/NWB2XYJW.js +4 -0
- package/dist/cdn/OFQCNUYO.js +4 -0
- package/dist/cdn/OGM4QM2V.js +4 -0
- package/dist/cdn/OPFMFHCU.js +4 -0
- package/dist/cdn/OSGGZ36A.js +4 -0
- package/dist/cdn/{AIJ5QKVL.js → OTWW4QVQ.js} +1 -1
- package/dist/cdn/P4ZV2W74.js +4 -0
- package/dist/cdn/PCQ7W5WT.js +4 -0
- package/dist/cdn/PCSSJZVF.js +4 -0
- package/dist/cdn/PVB3L6DK.js +4 -0
- package/dist/cdn/QAK5OEEC.js +4 -0
- package/dist/cdn/QBVLPPIJ.js +4 -0
- package/dist/cdn/QC56X3K3.js +4 -0
- package/dist/cdn/QCEJDAKG.js +4 -0
- package/dist/cdn/{LB4FJL6Z.js → QOIC3IV2.js} +2 -2
- package/dist/cdn/QVFHJC6H.js +4 -0
- package/dist/cdn/R3O37JLG.js +4 -0
- package/dist/cdn/R45G45E4.js +4 -0
- package/dist/cdn/R6K42OY3.js +4 -0
- package/dist/cdn/RCVY3GBR.js +4 -0
- package/dist/cdn/RNLSGN6H.js +4 -0
- package/dist/cdn/RR65BWBB.js +4 -0
- package/dist/cdn/RXSZD3FE.js +4 -0
- package/dist/cdn/RYW3GXMR.js +4 -0
- package/dist/cdn/S5MYJBHN.js +4 -0
- package/dist/cdn/SASHNNW5.js +4 -0
- package/dist/cdn/{QIELYIFC.js → SLRHUPQ2.js} +2 -2
- package/dist/cdn/SPJRFIG2.js +4 -0
- package/dist/cdn/SPRMAJ56.js +4 -0
- package/dist/cdn/SWTYYNLD.js +4 -0
- package/dist/cdn/SZMMDMHA.js +4 -0
- package/dist/cdn/T4CACD5U.js +4 -0
- package/dist/cdn/TQPCCDKQ.js +3 -0
- package/dist/cdn/TT5VTF6S.js +4 -0
- package/dist/cdn/TYMITYZ4.js +4 -0
- package/dist/cdn/TYUKFL7V.js +4 -0
- package/dist/cdn/UA2BRGBJ.js +4 -0
- package/dist/cdn/UFENVRBO.js +4 -0
- package/dist/cdn/UK5RXJ2E.js +4 -0
- package/dist/cdn/{5ZZR2J6N.js → UPRLADCM.js} +2 -2
- package/dist/cdn/UUZ5KPUV.js +4 -0
- package/dist/cdn/V2XEX63R.js +4 -0
- package/dist/cdn/V7EIWO6W.js +4 -0
- package/dist/cdn/{4GXYTGZZ.js → VCPKX6Y6.js} +1 -1
- package/dist/cdn/VGB2AEHQ.js +4 -0
- package/dist/cdn/VIEIBC7W.js +4 -0
- package/dist/cdn/VOKZINB7.js +4 -0
- package/dist/cdn/VOXJGYJJ.js +4 -0
- package/dist/cdn/VSO767QL.js +4 -0
- package/dist/cdn/VUFI4AOT.js +4 -0
- package/dist/cdn/W23WNNVI.js +4 -0
- package/dist/cdn/WCRDNJT5.js +4 -0
- package/dist/cdn/WDVXB57P.js +4 -0
- package/dist/cdn/WOCZMUK7.js +4 -0
- package/dist/cdn/WQSJK5WS.js +4 -0
- package/dist/cdn/X34P6RQS.js +4 -0
- package/dist/cdn/{EPS7HMFS.js → X4QWBI4I.js} +1 -1
- package/dist/cdn/XDG7JWMS.js +4 -0
- package/dist/cdn/XKAZZEMM.js +4 -0
- package/dist/cdn/XNFLRNSD.js +4 -0
- package/dist/cdn/XRWJG5LI.js +4 -0
- package/dist/cdn/XTK5JLGR.js +4 -0
- package/dist/cdn/YAMEYVQA.js +4 -0
- package/dist/cdn/YBP6R7CX.js +4 -0
- package/dist/cdn/YFCCMEVT.js +4 -0
- package/dist/cdn/YIAYHUYJ.js +4 -0
- package/dist/cdn/YNHG6MC2.js +4 -0
- package/dist/cdn/{V32WTVMP.js → YYBZPUPB.js} +1 -1
- package/dist/cdn/YYTCKFUT.js +4 -0
- package/dist/cdn/Z27CF6WG.js +4 -0
- package/dist/cdn/Z2AC2NOA.js +4 -0
- package/dist/cdn/Z5ZIY43G.js +4 -0
- package/dist/cdn/ZCRRAN4X.js +4 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +4 -4
- package/dist/chunks/async-utils.js +3 -3
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +145 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +13 -13
- package/dist/chunks/layer-list.js +2 -2
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +111 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -1
- package/dist/components/arcgis-attachments/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +18 -19
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +11 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +16 -17
- package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +239 -82
- package/dist/components/arcgis-bookmarks/customElement.js +456 -17
- package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
- package/dist/components/arcgis-bookmarks/index.js +21 -0
- package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
- package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
- package/dist/components/arcgis-building-explorer/customElement.d.ts +26 -14
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.d.ts +10 -1
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +27 -13
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +112 -9
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
- package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -1
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directions/customElement.d.ts +7 -2
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.d.ts +6 -1
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +28 -20
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.d.ts +10 -4
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.d.ts +6 -1
- package/dist/components/arcgis-feature/customElement.js +11 -10
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +16 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +30 -0
- package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
- package/dist/components/arcgis-feature-attachments/index.js +3 -0
- package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-content/customElement.js +65 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +42 -0
- package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/index.js +1 -0
- package/dist/components/arcgis-feature-expression/customElement.d.ts +19 -0
- package/dist/components/arcgis-feature-expression/customElement.js +241 -0
- package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
- package/dist/components/arcgis-feature-expression/index.js +5 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-fields/customElement.js +142 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +7 -2
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +38 -0
- package/dist/components/arcgis-feature-media/customElement.js +576 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +7 -1
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -0
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +5 -0
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -0
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.d.ts +21 -2
- package/dist/components/arcgis-fullscreen/customElement.js +32 -19
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -1
- package/dist/components/arcgis-grid-controls/customElement.js +15 -16
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +39 -16
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +2 -2
- package/dist/components/arcgis-legend/customElement.d.ts +5 -0
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +75 -19
- package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
- package/dist/components/arcgis-link-chart/customElement.d.ts +20 -10
- package/dist/components/arcgis-link-chart/customElement.js +20 -9
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
- package/dist/components/arcgis-locate/customElement.d.ts +17 -5
- package/dist/components/arcgis-locate/customElement.js +55 -56
- package/dist/components/arcgis-map/customElement.d.ts +27 -14
- package/dist/components/arcgis-map/customElement.js +26 -15
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -0
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -13
- package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +5 -0
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +55 -41
- package/dist/components/arcgis-print/customElement.js +38 -33
- package/dist/components/arcgis-print/types.d.ts +40 -0
- package/dist/components/arcgis-print/utils.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +4 -5
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +2 -8
- package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.d.ts +11 -2
- package/dist/components/arcgis-scale-bar/customElement.js +3 -3
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.d.ts +144 -81
- package/dist/components/arcgis-scene/customElement.js +28 -17
- package/dist/components/arcgis-search/customElement.d.ts +52 -16
- package/dist/components/arcgis-search/customElement.js +41 -38
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +92 -30
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +5 -0
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
- package/dist/components/arcgis-slice/customElement.d.ts +77 -18
- package/dist/components/arcgis-slice/customElement.js +32 -41
- package/dist/components/arcgis-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +28 -2
- package/dist/components/arcgis-swipe/customElement.js +43 -44
- package/dist/components/arcgis-table-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +10 -11
- package/dist/components/arcgis-track/customElement.d.ts +26 -9
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.d.ts +6 -2
- package/dist/components/arcgis-unit-select/customElement.js +22 -16
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +16 -13
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -0
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.d.ts +14 -5
- package/dist/components/arcgis-version-management/customElement.js +49 -51
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
- package/dist/components/arcgis-video/customElement.d.ts +27 -10
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -5
- package/dist/components/arcgis-video-player/customElement.js +38 -32
- package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
- package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
- package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
- package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
- package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
- package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
- package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +52 -3
- package/dist/components/arcgis-weather/customElement.js +16 -17
- package/dist/components/arcgis-zoom/customElement.d.ts +10 -1
- package/dist/components/arcgis-zoom/customElement.js +11 -12
- package/dist/controllers/Handles.d.ts +2 -2
- package/dist/controllers/useHandles.d.ts +4 -4
- package/dist/docs/api.json +1881 -586
- package/dist/docs/docs.json +1746 -818
- package/dist/docs/vscode.html-custom-data.json +252 -114
- package/dist/docs/web-types.json +559 -274
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +24 -18
- package/dist/support/heading.d.ts +2 -1
- package/dist/types/lumina.d.ts +22 -17
- package/dist/types/preact.d.ts +22 -17
- package/dist/types/react.d.ts +22 -17
- package/dist/types/stencil.d.ts +22 -17
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +30 -0
- package/dist/utils/related-feature-utils.d.ts +17 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +6 -4
- package/dist/cdn/24BGG5B5.js +0 -4
- package/dist/cdn/2ABLOYUQ.js +0 -4
- package/dist/cdn/2MCSN6B6.js +0 -4
- package/dist/cdn/2O4Y7OHR.js +0 -4
- package/dist/cdn/2TWTTB4C.js +0 -4
- package/dist/cdn/2UUPIIJ2.js +0 -4
- package/dist/cdn/3JRMNN7J.js +0 -4
- package/dist/cdn/3PIZQW3M.js +0 -4
- package/dist/cdn/3TK75HC6.js +0 -4
- package/dist/cdn/4O62D3XH.js +0 -4
- package/dist/cdn/4WF35OVZ.js +0 -4
- package/dist/cdn/544SB4EK.js +0 -4
- package/dist/cdn/5AZ345NY.js +0 -4
- package/dist/cdn/5DVI4EBY.js +0 -4
- package/dist/cdn/64ECRPXA.js +0 -4
- package/dist/cdn/6CDNOZQF.js +0 -4
- package/dist/cdn/6SCGGHDS.js +0 -4
- package/dist/cdn/7LOOJUA4.js +0 -4
- package/dist/cdn/7Q2LH4TM.js +0 -4
- package/dist/cdn/7X5UWWAM.js +0 -4
- package/dist/cdn/A2GEUHD7.js +0 -4
- package/dist/cdn/BMYPLHTO.js +0 -4
- package/dist/cdn/BOBGF74Z.js +0 -4
- package/dist/cdn/CEY2DMIN.js +0 -4
- package/dist/cdn/CQG33CHS.js +0 -4
- package/dist/cdn/DB2RVFYE.js +0 -4
- package/dist/cdn/DCAIQVAC.js +0 -4
- package/dist/cdn/EDF5YBMS.js +0 -4
- package/dist/cdn/EE2WJOUL.js +0 -4
- package/dist/cdn/EFPP35S3.js +0 -4
- package/dist/cdn/ETTC3DDE.js +0 -4
- package/dist/cdn/EZXIFOKP.js +0 -4
- package/dist/cdn/FDO7BW3M.js +0 -4
- package/dist/cdn/FIIIUSQA.js +0 -4
- package/dist/cdn/FIQDTOHK.js +0 -4
- package/dist/cdn/FIRY4NWS.js +0 -4
- package/dist/cdn/FKYCCKL6.js +0 -4
- package/dist/cdn/G7FI7ZEJ.js +0 -4
- package/dist/cdn/GTFZYBLH.js +0 -4
- package/dist/cdn/H7WRFI2D.js +0 -4
- package/dist/cdn/HGHOHO2E.js +0 -4
- package/dist/cdn/HHKEZDYI.js +0 -4
- package/dist/cdn/HI5YGVEU.js +0 -4
- package/dist/cdn/HVHKTHJR.js +0 -4
- package/dist/cdn/I4UJICTJ.js +0 -4
- package/dist/cdn/IDRJHSB4.js +0 -4
- package/dist/cdn/INXLPBES.js +0 -4
- package/dist/cdn/IPSPJR6H.js +0 -4
- package/dist/cdn/J3TNLK3O.js +0 -4
- package/dist/cdn/JEGU6LY5.js +0 -4
- package/dist/cdn/JPHNAFYX.js +0 -4
- package/dist/cdn/JWHVUXI7.js +0 -4
- package/dist/cdn/JXEJ2FDT.js +0 -4
- package/dist/cdn/K667RV3F.js +0 -4
- package/dist/cdn/KHHWOKDH.js +0 -4
- package/dist/cdn/KWXFVL5O.js +0 -4
- package/dist/cdn/LNC2FBRF.js +0 -4
- package/dist/cdn/LX2VKBL5.js +0 -4
- package/dist/cdn/LZ4SDJU4.js +0 -4
- package/dist/cdn/M42LA7QJ.js +0 -4
- package/dist/cdn/MHF4R4QG.js +0 -4
- package/dist/cdn/MHXI4R7Q.js +0 -6
- package/dist/cdn/MT6FGRRO.js +0 -4
- package/dist/cdn/MTJFO22N.js +0 -4
- package/dist/cdn/MWH2P5CL.js +0 -4
- package/dist/cdn/MWRQZLPR.js +0 -4
- package/dist/cdn/MZJOI5UH.js +0 -4
- package/dist/cdn/O2E4MNME.js +0 -4
- package/dist/cdn/O7NRUX5I.js +0 -4
- package/dist/cdn/OLDX3JZA.js +0 -4
- package/dist/cdn/OMQCMWFC.js +0 -4
- package/dist/cdn/OQ4Q4IIJ.js +0 -4
- package/dist/cdn/OSKGVTTW.js +0 -4
- package/dist/cdn/OVXJMGHR.js +0 -4
- package/dist/cdn/P2BRHVAB.js +0 -4
- package/dist/cdn/PQ3OUY5L.js +0 -4
- package/dist/cdn/PVTCJ67N.js +0 -4
- package/dist/cdn/RC2PKLFD.js +0 -4
- package/dist/cdn/RLYPTZW6.js +0 -4
- package/dist/cdn/RRJG3CW4.js +0 -4
- package/dist/cdn/SRXUA5WQ.js +0 -4
- package/dist/cdn/T5RGPAAI.js +0 -4
- package/dist/cdn/TEBWJ3I7.js +0 -4
- package/dist/cdn/TISZTZQL.js +0 -4
- package/dist/cdn/UF2KELUQ.js +0 -4
- package/dist/cdn/UF5A7HCA.js +0 -4
- package/dist/cdn/UKX6JNY3.js +0 -4
- package/dist/cdn/UPUPF3OI.js +0 -4
- package/dist/cdn/V5FW6B4I.js +0 -4
- package/dist/cdn/VF2Y76QB.js +0 -4
- package/dist/cdn/W425S3CR.js +0 -4
- package/dist/cdn/WE4HRX3B.js +0 -4
- package/dist/cdn/X7HXAK7T.js +0 -4
- package/dist/cdn/XBWRLYN4.js +0 -4
- package/dist/cdn/XIHWMEJG.js +0 -4
- package/dist/cdn/YGTIT746.js +0 -4
- package/dist/cdn/YJLPPO4D.js +0 -4
- package/dist/cdn/YTVNHZ2T.js +0 -4
- package/dist/cdn/YZO4MONH.js +0 -4
- package/dist/cdn/ZPQ7DJV3.js +0 -4
|
@@ -0,0 +1,576 @@
|
|
|
1
|
+
import { c as j } 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 { useMedia as J } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { getColorsFromRenderer as Q } from "@arcgis/core/renderers/support/utils.js";
|
|
7
|
+
import { LitElement as Z, noShadowRoot as ee, safeClassMap as C, nothing as A } from "@arcgis/lumina";
|
|
8
|
+
import { substitute as te } from "@arcgis/core/intl.js";
|
|
9
|
+
import { c as S } from "../../chunks/utils.js";
|
|
10
|
+
import { watch as ie } from "@arcgis/core/core/reactiveUtils.js";
|
|
11
|
+
import ae from "@arcgis/core/popup/FieldInfo.js";
|
|
12
|
+
import X from "@arcgis/core/popup/content/support/ChartMediaInfoValueSeries.js";
|
|
13
|
+
import { unsafeGetModeName as re } from "@arcgis/components-utils";
|
|
14
|
+
import { renderingSanitizer as E } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
15
|
+
import { i as T, s as V, f as Y, a as U, g as ne, b as D, c as se, d as oe, e as le, h as ce } from "../../chunks/feature-utils.js";
|
|
16
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
+
v4.34.0-next.50 */
|
|
19
|
+
const de = G`@layer{arcgis-feature-media{display:block}.arcgis-feature-media__container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-spacing-xs);width:100%;min-height:150px}.arcgis-feature-media__container .arcgis-feature-media__pagination-button{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding-block:var(--calcite-spacing-xs);padding-inline:var(--calcite-spacing-xs);color:var(--calcite-color-text-3)}.arcgis-feature-media__container .arcgis-feature-media__pagination-button:hover,.arcgis-feature-media__container .arcgis-feature-media__pagination-button:focus{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1);fill:var(--calcite-color-text-1)}.arcgis-feature-media__item-title{margin:0;font-size:var(--calcite-font-size-md)}.arcgis-feature-media__item-caption{padding-block-start:var(--calcite-spacing-xxs);font-size:var(--calcite-font-size)}.arcgis-feature-media__item{display:flex;align-items:flex-start;justify-content:center;margin-block:var(--calcite-spacing-xs);width:100%;height:auto}.arcgis-feature-media__item-navigation{display:flex;flex:0 1 100%;align-items:flex-start;justify-content:space-between;margin-block-end:var(--calcite-spacing-xs)}.arcgis-feature-media__item-text{margin-inline-end:var(--calcite-spacing-xs)}.arcgis-feature-media__pagination{display:flex;flex:0 0 auto;align-items:center;overflow:hidden}.arcgis-feature-media__pagination:only-child{margin-inline-start:auto}.arcgis-feature-media__pagination-text{padding-inline:var(--calcite-spacing-xxs);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.arcgis-feature-media__item-container{flex:0 1 auto;width:100%}.arcgis-feature-media__item-container img{max-width:100%}.arcgis-feature-media__item-container img[src$=".SVG"],.arcgis-feature-media__item-container img[src$=".svg"]{width:100%}.arcgis-feature-media__chart{width:100%;height:155px}}`;
|
|
20
|
+
function N(R) {
|
|
21
|
+
if (!T(R))
|
|
22
|
+
return null;
|
|
23
|
+
const [e, t] = R.split("/").slice(1);
|
|
24
|
+
return { layerId: e, fieldName: t };
|
|
25
|
+
}
|
|
26
|
+
const M = "arcgis-feature-media", I = {
|
|
27
|
+
base: M,
|
|
28
|
+
mediaContainer: `${M}__container`,
|
|
29
|
+
mediaItemContainer: `${M}__item-container`,
|
|
30
|
+
mediaItem: `${M}__item`,
|
|
31
|
+
mediaItemText: `${M}__item-text`,
|
|
32
|
+
mediaItemTitle: `${M}__item-title`,
|
|
33
|
+
mediaItemCaption: `${M}__item-caption`,
|
|
34
|
+
mediaNavigation: `${M}__item-navigation`,
|
|
35
|
+
mediaPagination: `${M}__pagination`,
|
|
36
|
+
mediaPaginationText: `${M}__pagination-text`,
|
|
37
|
+
mediaChart: `${M}__chart`,
|
|
38
|
+
mediaPaginationButton: `${M}__pagination-button`,
|
|
39
|
+
mediaPaginationIcon: `${M}__pagination-icon`,
|
|
40
|
+
mediaChartRendered: `${M}__chart--rendered`
|
|
41
|
+
}, z = 15, w = "category", b = "value", ue = "rgba(50, 50, 50, 1)", me = 250, he = 500, fe = 200;
|
|
42
|
+
class pe extends Z {
|
|
43
|
+
constructor() {
|
|
44
|
+
super(...arguments), this._prefersReducedMotion = J("(prefers-reduced-motion)"), this.activeMediaInfoIndex = 0, this.chartAnimationDisabled = !1, this.isAggregate = !1, this.headingLevel = 2;
|
|
45
|
+
}
|
|
46
|
+
static {
|
|
47
|
+
this.properties = { _refreshIntervalInfo: 16, messages: 0, values: 0, activeMediaInfoIndex: 9, chartAnimationDisabled: 5, activeMediaInfo: 32, formattedMediaInfos: 32, description: 1, fieldInfoMap: 0, layer: 0, mediaInfos: 0, popupTemplate: 0, relatedInfos: 0, formattedValues: 0, expressionValues: 0, heading: 1, isAggregate: 5, formattedMediaInfoCount: 32, headingLevel: 9 };
|
|
48
|
+
}
|
|
49
|
+
static {
|
|
50
|
+
this.styles = de;
|
|
51
|
+
}
|
|
52
|
+
static {
|
|
53
|
+
this.shadowRootOptions = ee;
|
|
54
|
+
}
|
|
55
|
+
get activeMediaInfo() {
|
|
56
|
+
return this.formattedMediaInfos[this.activeMediaInfoIndex] || null;
|
|
57
|
+
}
|
|
58
|
+
get formattedMediaInfos() {
|
|
59
|
+
return this._formatMediaInfos() || [];
|
|
60
|
+
}
|
|
61
|
+
get formattedMediaInfoCount() {
|
|
62
|
+
return this.formattedMediaInfos.length;
|
|
63
|
+
}
|
|
64
|
+
next() {
|
|
65
|
+
this._pageContentElementMedia(1);
|
|
66
|
+
}
|
|
67
|
+
previous() {
|
|
68
|
+
this._pageContentElementMedia(-1);
|
|
69
|
+
}
|
|
70
|
+
setActiveMedia(e) {
|
|
71
|
+
this._setContentElementMedia(e);
|
|
72
|
+
}
|
|
73
|
+
loaded() {
|
|
74
|
+
this.manager.onLifecycle(() => [
|
|
75
|
+
ie(() => [this.activeMediaInfo, this.activeMediaInfoIndex], () => this._setupMediaRefreshTimer(), { initial: !0 }),
|
|
76
|
+
{ remove: () => this._clearMediaRefreshTimer() }
|
|
77
|
+
]);
|
|
78
|
+
}
|
|
79
|
+
_setContentElementMedia(e) {
|
|
80
|
+
const { formattedMediaInfoCount: t } = this, i = (e + t) % t;
|
|
81
|
+
this.activeMediaInfoIndex = i;
|
|
82
|
+
}
|
|
83
|
+
_pageContentElementMedia(e) {
|
|
84
|
+
const { activeMediaInfoIndex: t } = this, i = t + e;
|
|
85
|
+
this._setContentElementMedia(i);
|
|
86
|
+
}
|
|
87
|
+
_formatMediaInfos() {
|
|
88
|
+
const { mediaInfos: e, layer: t } = this, i = this.values ?? {}, a = this.formattedValues ?? {}, s = this.expressionValues ?? {}, n = this.fieldInfoMap ?? /* @__PURE__ */ new Map();
|
|
89
|
+
return e?.map((o) => {
|
|
90
|
+
const r = o?.clone();
|
|
91
|
+
if (!r)
|
|
92
|
+
return null;
|
|
93
|
+
if (r.title = V({
|
|
94
|
+
values: i,
|
|
95
|
+
fieldInfoMap: n,
|
|
96
|
+
globalValues: a,
|
|
97
|
+
expressionValues: s,
|
|
98
|
+
layer: t,
|
|
99
|
+
text: r.title
|
|
100
|
+
}), r.caption = V({
|
|
101
|
+
values: i,
|
|
102
|
+
fieldInfoMap: n,
|
|
103
|
+
globalValues: a,
|
|
104
|
+
expressionValues: s,
|
|
105
|
+
layer: t,
|
|
106
|
+
text: r.caption
|
|
107
|
+
}), r.altText = V({
|
|
108
|
+
values: i,
|
|
109
|
+
fieldInfoMap: n,
|
|
110
|
+
globalValues: a,
|
|
111
|
+
expressionValues: s,
|
|
112
|
+
layer: t,
|
|
113
|
+
text: r.altText
|
|
114
|
+
}), r.type === "image") {
|
|
115
|
+
if (!r.value)
|
|
116
|
+
return null;
|
|
117
|
+
const c = r.value;
|
|
118
|
+
return this._setImageValue({
|
|
119
|
+
value: c,
|
|
120
|
+
formattedValues: a,
|
|
121
|
+
layer: t
|
|
122
|
+
}), c.sourceURL ? r : void 0;
|
|
123
|
+
}
|
|
124
|
+
if (r.type === "pie-chart" || r.type === "line-chart" || r.type === "column-chart" || r.type === "bar-chart") {
|
|
125
|
+
if (!r.value)
|
|
126
|
+
return null;
|
|
127
|
+
const c = r.value;
|
|
128
|
+
return this._setChartValue({
|
|
129
|
+
value: c,
|
|
130
|
+
chartType: r.type,
|
|
131
|
+
values: i,
|
|
132
|
+
formattedValues: a,
|
|
133
|
+
layer: t,
|
|
134
|
+
expressionValues: s
|
|
135
|
+
}), r;
|
|
136
|
+
}
|
|
137
|
+
return null;
|
|
138
|
+
}).filter((o) => o != null) ?? [];
|
|
139
|
+
}
|
|
140
|
+
_setImageValue(e) {
|
|
141
|
+
const t = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { value: i, formattedValues: a, layer: s } = e, { linkURL: n, sourceURL: o } = i;
|
|
142
|
+
if (o) {
|
|
143
|
+
const r = Y(o, s);
|
|
144
|
+
i.sourceURL = U({
|
|
145
|
+
formattedValues: a,
|
|
146
|
+
template: r,
|
|
147
|
+
fieldInfoMap: t
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
if (n) {
|
|
151
|
+
const r = Y(n, s);
|
|
152
|
+
i.linkURL = U({
|
|
153
|
+
formattedValues: a,
|
|
154
|
+
template: r,
|
|
155
|
+
fieldInfoMap: t
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
_setChartValue(e) {
|
|
160
|
+
const { value: t, values: i, formattedValues: a, chartType: s, layer: n, expressionValues: o } = e, { popupTemplate: r, relatedInfos: c } = this, { fields: f, normalizeField: u } = t, l = n;
|
|
161
|
+
if (t.fields = ne(f, l), u && (t.normalizeField = D(u, l)), !f.some((d) => !!(a[d] != null || T(d) && c?.size)))
|
|
162
|
+
return;
|
|
163
|
+
const m = r?.fieldInfos ?? [];
|
|
164
|
+
f.forEach((d, g) => {
|
|
165
|
+
const p = t.colors?.[g];
|
|
166
|
+
if (T(d)) {
|
|
167
|
+
t.series = [
|
|
168
|
+
...t.series,
|
|
169
|
+
...this._getRelatedChartInfos({ fieldInfos: m, fieldName: d, formattedValues: a, chartType: s, value: t, color: p })
|
|
170
|
+
];
|
|
171
|
+
return;
|
|
172
|
+
}
|
|
173
|
+
const _ = this._getChartOption({
|
|
174
|
+
value: t,
|
|
175
|
+
values: i,
|
|
176
|
+
chartType: s,
|
|
177
|
+
formattedValues: a,
|
|
178
|
+
expressionValues: o,
|
|
179
|
+
fieldName: d,
|
|
180
|
+
fieldInfos: m,
|
|
181
|
+
color: p
|
|
182
|
+
});
|
|
183
|
+
t.series.push(_);
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
_getRelatedChartInfos(e) {
|
|
187
|
+
const { fieldInfos: t, fieldName: i, formattedValues: a, chartType: s, value: n, color: o } = e, r = [], c = N(i), f = c && this.relatedInfos?.get(c.layerId.toString());
|
|
188
|
+
if (!f)
|
|
189
|
+
return r;
|
|
190
|
+
const { relatedFeatures: u, relation: l } = f;
|
|
191
|
+
if (!l || !u)
|
|
192
|
+
return r;
|
|
193
|
+
const { cardinality: h } = l;
|
|
194
|
+
return u.forEach((d) => {
|
|
195
|
+
const g = d.attributes;
|
|
196
|
+
g && Object.keys(g).forEach((p) => {
|
|
197
|
+
p === c.fieldName && r.push(this._getChartOption({
|
|
198
|
+
value: n,
|
|
199
|
+
values: g,
|
|
200
|
+
formattedValues: a,
|
|
201
|
+
fieldName: i,
|
|
202
|
+
chartType: s,
|
|
203
|
+
relatedFieldName: p,
|
|
204
|
+
hasMultipleRelatedFeatures: u?.length > 1,
|
|
205
|
+
fieldInfos: t,
|
|
206
|
+
color: o
|
|
207
|
+
}));
|
|
208
|
+
});
|
|
209
|
+
}), h && (h === "one-to-many" || h === "many-to-many") ? r : [r[0]];
|
|
210
|
+
}
|
|
211
|
+
_getTooltip({ label: e, value: t, chartType: i }) {
|
|
212
|
+
return i === "pie-chart" ? `${e}` : `${e}: ${t}`;
|
|
213
|
+
}
|
|
214
|
+
_getChartOption(e) {
|
|
215
|
+
const { value: t, values: i, formattedValues: a, expressionValues: s, fieldName: n, relatedFieldName: o, fieldInfos: r, chartType: c, hasMultipleRelatedFeatures: f, color: u } = e, l = this.layer, h = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { normalizeField: m, tooltipField: d } = t, g = m ? T(m) ? i[N(m).fieldName] : i[m] : null, p = se(n) && s?.[n] !== void 0 ? s[n] : o && i[o] !== void 0 ? i[o] : i[n] !== void 0 ? i[n] : a[n], _ = p === void 0 ? null : p && g && typeof p == "number" && typeof g == "number" ? p / g : p, v = oe(r, n), x = D(n, l), F = (d && a[d] !== void 0 ? a[d] : le(v || new ae({ fieldName: x }), this.popupTemplate?.expressionInfos)) ?? "", $ = a[x] ?? "", P = typeof _ == "number" ? _ : Number(_);
|
|
216
|
+
if (T(n)) {
|
|
217
|
+
const k = h.get(n.toLowerCase()), B = d ? h.get(d.toLowerCase()) : null, H = k?.fieldName ?? n, L = f && d ? N(d).fieldName : B?.fieldName ?? d, O = (f && L ? i[L] : a[L] ?? k?.label ?? k?.fieldName ?? o) ?? "", W = (f && o ? i[o] : a[H]) ?? "";
|
|
218
|
+
return new X({
|
|
219
|
+
fieldName: n,
|
|
220
|
+
tooltip: this._getTooltip({
|
|
221
|
+
label: O,
|
|
222
|
+
value: W,
|
|
223
|
+
chartType: c
|
|
224
|
+
}),
|
|
225
|
+
color: u,
|
|
226
|
+
value: P
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
return new X({
|
|
230
|
+
fieldName: n,
|
|
231
|
+
tooltip: this._getTooltip({
|
|
232
|
+
label: F,
|
|
233
|
+
value: $,
|
|
234
|
+
chartType: c
|
|
235
|
+
}),
|
|
236
|
+
color: u,
|
|
237
|
+
value: P
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
_getRenderer() {
|
|
241
|
+
const e = this.layer;
|
|
242
|
+
return this.isAggregate && e?.featureReduction && "renderer" in e.featureReduction ? e.featureReduction.renderer : e?.renderer;
|
|
243
|
+
}
|
|
244
|
+
async _getSeriesColors(e) {
|
|
245
|
+
const { color: t } = await import("@amcharts/amcharts5/index.js"), i = /* @__PURE__ */ new Map();
|
|
246
|
+
return e.forEach((a) => {
|
|
247
|
+
a.color && i.set(a, t(a.color.toCss(!0)));
|
|
248
|
+
}), i;
|
|
249
|
+
}
|
|
250
|
+
async _getRendererColors() {
|
|
251
|
+
const { color: e } = await import("@amcharts/amcharts5/index.js"), t = /* @__PURE__ */ new Map(), i = this._getRenderer(), a = "default";
|
|
252
|
+
if (!i)
|
|
253
|
+
return t;
|
|
254
|
+
const s = await Q(i);
|
|
255
|
+
return s.delete(a), Array.from(s.values()).every((o) => o?.length === 1) && Array.from(s.keys()).forEach((o) => {
|
|
256
|
+
const r = s.get(o)?.[0]?.toCss(!0);
|
|
257
|
+
r && t.set(o, e(r));
|
|
258
|
+
}), t;
|
|
259
|
+
}
|
|
260
|
+
async _createChart(e) {
|
|
261
|
+
const { activeMediaInfo: t } = this;
|
|
262
|
+
if (!e || !t)
|
|
263
|
+
return;
|
|
264
|
+
const { createRoot: i } = await import("../../chunks/chart-utils.js"), a = await i(e);
|
|
265
|
+
this._chartRoot = a, this._renderChart({
|
|
266
|
+
mediaInfo: t,
|
|
267
|
+
root: a
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
_handleMediaKeyup(e) {
|
|
271
|
+
const { key: t } = e;
|
|
272
|
+
t === "ArrowLeft" && (e.stopPropagation(), this.previous()), t === "ArrowRight" && (e.stopPropagation(), this.next());
|
|
273
|
+
}
|
|
274
|
+
_canAnimateChart() {
|
|
275
|
+
return !this.chartAnimationDisabled && !this._prefersReducedMotion;
|
|
276
|
+
}
|
|
277
|
+
_getChartAnimationMS() {
|
|
278
|
+
return this._canAnimateChart() ? me : 0;
|
|
279
|
+
}
|
|
280
|
+
_getChartSeriesAnimationMS() {
|
|
281
|
+
return this._canAnimateChart() ? he : 0;
|
|
282
|
+
}
|
|
283
|
+
_getDirection() {
|
|
284
|
+
return S(this.el) ? "rtl" : "ltr";
|
|
285
|
+
}
|
|
286
|
+
async _customizeChartTooltip(e, t = "horizontal") {
|
|
287
|
+
const { color: i } = await import("@amcharts/amcharts5/index.js");
|
|
288
|
+
e.setAll({
|
|
289
|
+
pointerOrientation: t
|
|
290
|
+
}), e.get("background")?.setAll({
|
|
291
|
+
stroke: i(ue)
|
|
292
|
+
}), e.label.setAll({
|
|
293
|
+
direction: this._getDirection(),
|
|
294
|
+
oversizedBehavior: "wrap",
|
|
295
|
+
maxWidth: fe
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
async _createPieChart(e, t) {
|
|
299
|
+
const [{ Tooltip: i }, { PieChart: a, PieSeries: s }] = await Promise.all([
|
|
300
|
+
import("@amcharts/amcharts5/index.js"),
|
|
301
|
+
import("@amcharts/amcharts5/percent.js")
|
|
302
|
+
]), { mediaInfo: n, root: o } = e, { title: r } = n, c = 5, f = n?.altText || n?.title || "", u = o.container.children.push(a.new(o, {
|
|
303
|
+
role: "figure",
|
|
304
|
+
ariaLabel: f,
|
|
305
|
+
focusable: !0,
|
|
306
|
+
paddingBottom: c,
|
|
307
|
+
paddingTop: c,
|
|
308
|
+
paddingLeft: c,
|
|
309
|
+
paddingRight: c
|
|
310
|
+
})), l = `{category}: {valuePercentTotal.formatNumber('0.00')}%
|
|
311
|
+
({value})`, h = i.new(o, {
|
|
312
|
+
labelText: l
|
|
313
|
+
}), m = u.series.push(s.new(o, {
|
|
314
|
+
name: r,
|
|
315
|
+
valueField: b,
|
|
316
|
+
categoryField: w,
|
|
317
|
+
tooltip: h
|
|
318
|
+
}));
|
|
319
|
+
m.ticks.template.set("forceHidden", !0), m.labels.template.set("forceHidden", !0), m.slices.template.states.create("active", {
|
|
320
|
+
shiftRadius: c
|
|
321
|
+
}), this._customizeChartTooltip(h), m.slices.template.setAll({
|
|
322
|
+
ariaLabel: l,
|
|
323
|
+
focusable: !0,
|
|
324
|
+
templateField: "columnSettings"
|
|
325
|
+
}), m.data.setAll(t), m.appear(this._getChartSeriesAnimationMS()), u.appear(this._getChartAnimationMS()), u.root.dom.classList.toggle(I.mediaChartRendered, !0);
|
|
326
|
+
}
|
|
327
|
+
_getMinSeriesValue(e) {
|
|
328
|
+
let t = 0;
|
|
329
|
+
return e.forEach((i) => t = Math.min(i.value, t)), t;
|
|
330
|
+
}
|
|
331
|
+
async _createColumnChart(e, t, i) {
|
|
332
|
+
const [{ Tooltip: a, Scrollbar: s }, { CategoryAxis: n, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, ColumnSeries: f }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: u, root: l } = t, { value: h, title: m } = u;
|
|
333
|
+
e.setAll({
|
|
334
|
+
wheelX: "panX",
|
|
335
|
+
wheelY: "zoomX"
|
|
336
|
+
});
|
|
337
|
+
const d = e.xAxes.push(n.new(l, {
|
|
338
|
+
renderer: o.new(l, {
|
|
339
|
+
inversed: S(this.el)
|
|
340
|
+
}),
|
|
341
|
+
categoryField: w
|
|
342
|
+
}));
|
|
343
|
+
d.get("renderer").labels.template.setAll({
|
|
344
|
+
forceHidden: !0
|
|
345
|
+
});
|
|
346
|
+
const g = e.yAxes.push(c.new(l, {
|
|
347
|
+
renderer: r.new(l, { inside: !1 }),
|
|
348
|
+
min: this._getMinSeriesValue(h.series)
|
|
349
|
+
}));
|
|
350
|
+
g.get("renderer").labels.template.setAll({
|
|
351
|
+
direction: this._getDirection()
|
|
352
|
+
});
|
|
353
|
+
const p = "{categoryX}", _ = a.new(l, {
|
|
354
|
+
labelText: p
|
|
355
|
+
}), v = e.series.push(f.new(l, {
|
|
356
|
+
name: m,
|
|
357
|
+
xAxis: d,
|
|
358
|
+
yAxis: g,
|
|
359
|
+
valueYField: b,
|
|
360
|
+
categoryXField: w,
|
|
361
|
+
tooltip: _
|
|
362
|
+
}));
|
|
363
|
+
this._customizeChartTooltip(_), v.columns.template.setAll({
|
|
364
|
+
ariaLabel: p,
|
|
365
|
+
focusable: !0,
|
|
366
|
+
templateField: "columnSettings"
|
|
367
|
+
}), h.series.length > z && e.set("scrollbarX", s.new(l, {
|
|
368
|
+
orientation: "horizontal"
|
|
369
|
+
})), d.data.setAll(i), v.data.setAll(i), v.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
370
|
+
}
|
|
371
|
+
async _createBarChart(e, t, i) {
|
|
372
|
+
const [{ Tooltip: a, Scrollbar: s }, { CategoryAxis: n, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, ColumnSeries: f }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { mediaInfo: u, root: l } = t, { value: h, title: m } = u;
|
|
373
|
+
e.setAll({
|
|
374
|
+
wheelX: "panY",
|
|
375
|
+
wheelY: "zoomY"
|
|
376
|
+
});
|
|
377
|
+
const d = e.yAxes.push(n.new(l, {
|
|
378
|
+
renderer: r.new(l, {
|
|
379
|
+
inversed: !0
|
|
380
|
+
}),
|
|
381
|
+
categoryField: w
|
|
382
|
+
}));
|
|
383
|
+
d.get("renderer").labels.template.setAll({
|
|
384
|
+
forceHidden: !0
|
|
385
|
+
});
|
|
386
|
+
const g = e.xAxes.push(c.new(l, {
|
|
387
|
+
renderer: o.new(l, {
|
|
388
|
+
inside: !1,
|
|
389
|
+
inversed: S(this.el)
|
|
390
|
+
}),
|
|
391
|
+
min: this._getMinSeriesValue(h.series)
|
|
392
|
+
}));
|
|
393
|
+
g.get("renderer").labels.template.setAll({
|
|
394
|
+
direction: this._getDirection()
|
|
395
|
+
});
|
|
396
|
+
const p = "{categoryY}", _ = a.new(l, {
|
|
397
|
+
labelText: p
|
|
398
|
+
}), v = e.series.push(f.new(l, {
|
|
399
|
+
name: m,
|
|
400
|
+
xAxis: g,
|
|
401
|
+
yAxis: d,
|
|
402
|
+
valueXField: b,
|
|
403
|
+
categoryYField: w,
|
|
404
|
+
tooltip: _
|
|
405
|
+
}));
|
|
406
|
+
this._customizeChartTooltip(_, "vertical"), v.columns.template.setAll({
|
|
407
|
+
ariaLabel: p,
|
|
408
|
+
focusable: !0,
|
|
409
|
+
templateField: "columnSettings"
|
|
410
|
+
}), h.series.length > z && e.set("scrollbarY", s.new(l, {
|
|
411
|
+
orientation: "vertical"
|
|
412
|
+
})), d.data.setAll(i), v.data.setAll(i), v.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
413
|
+
}
|
|
414
|
+
async _createLineChart(e, t, i) {
|
|
415
|
+
const [{ Tooltip: a, Scrollbar: s }, { CategoryAxis: n, AxisRendererX: o, AxisRendererY: r, ValueAxis: c, LineSeries: f }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]), { root: u, mediaInfo: l } = t, { value: h, title: m } = l;
|
|
416
|
+
e.setAll({
|
|
417
|
+
wheelX: "panX",
|
|
418
|
+
wheelY: "zoomX"
|
|
419
|
+
});
|
|
420
|
+
const d = e.xAxes.push(n.new(u, {
|
|
421
|
+
renderer: o.new(u, {
|
|
422
|
+
inversed: S(this.el)
|
|
423
|
+
}),
|
|
424
|
+
categoryField: w
|
|
425
|
+
}));
|
|
426
|
+
d.get("renderer").labels.template.setAll({
|
|
427
|
+
forceHidden: !0
|
|
428
|
+
});
|
|
429
|
+
const g = e.yAxes.push(c.new(u, {
|
|
430
|
+
renderer: r.new(u, { inside: !1 }),
|
|
431
|
+
min: this._getMinSeriesValue(h.series)
|
|
432
|
+
}));
|
|
433
|
+
g.get("renderer").labels.template.setAll({
|
|
434
|
+
direction: this._getDirection()
|
|
435
|
+
});
|
|
436
|
+
const p = "{categoryX}", _ = i[0]?.lineSettings?.stroke, v = a.new(u, {
|
|
437
|
+
getFillFromSprite: !_,
|
|
438
|
+
labelText: p
|
|
439
|
+
});
|
|
440
|
+
_ && v.get("background")?.setAll({
|
|
441
|
+
fill: _
|
|
442
|
+
});
|
|
443
|
+
const x = e.series.push(f.new(u, {
|
|
444
|
+
name: m,
|
|
445
|
+
xAxis: d,
|
|
446
|
+
yAxis: g,
|
|
447
|
+
valueYField: b,
|
|
448
|
+
categoryXField: w,
|
|
449
|
+
tooltip: v
|
|
450
|
+
}));
|
|
451
|
+
x.strokes.template.setAll({
|
|
452
|
+
templateField: "lineSettings"
|
|
453
|
+
}), this._customizeChartTooltip(v, "vertical"), h.series.length > z && e.set("scrollbarX", s.new(u, {
|
|
454
|
+
orientation: "horizontal"
|
|
455
|
+
})), d.data.setAll(i), x.data.setAll(i), x.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
456
|
+
}
|
|
457
|
+
async _createXYChart(e, t) {
|
|
458
|
+
const { XYChart: i, XYCursor: a } = await import("@amcharts/amcharts5/xy.js"), { root: s, mediaInfo: n } = e, { type: o } = n, r = n?.altText || n?.title || "", c = s.container.children.push(i.new(s, {
|
|
459
|
+
role: "figure",
|
|
460
|
+
ariaLabel: r,
|
|
461
|
+
focusable: !0,
|
|
462
|
+
panX: !0,
|
|
463
|
+
panY: !0
|
|
464
|
+
}));
|
|
465
|
+
c.set("cursor", a.new(s, {})), o === "column-chart" && await this._createColumnChart(c, e, t), o === "bar-chart" && await this._createBarChart(c, e, t), o === "line-chart" && await this._createLineChart(c, e, t), c.root.dom.classList.toggle(I.mediaChartRendered, !0);
|
|
466
|
+
}
|
|
467
|
+
_clearMediaRefreshTimer() {
|
|
468
|
+
const { _refreshTimer: e } = this;
|
|
469
|
+
e && (clearTimeout(e), this._refreshTimer = void 0);
|
|
470
|
+
}
|
|
471
|
+
_updateMediaInfoTimestamp(e) {
|
|
472
|
+
const t = Date.now();
|
|
473
|
+
this._refreshIntervalInfo = {
|
|
474
|
+
timestamp: t,
|
|
475
|
+
sourceURL: e && this._getImageSource(e, t)
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
_setupMediaRefreshTimer() {
|
|
479
|
+
this._clearMediaRefreshTimer();
|
|
480
|
+
const { activeMediaInfo: e } = this;
|
|
481
|
+
e?.type === "image" && e.refreshInterval > 0 && this._setRefreshTimeout(e);
|
|
482
|
+
}
|
|
483
|
+
_setRefreshTimeout(e) {
|
|
484
|
+
const { refreshInterval: t, value: i } = e, a = t * 6e4;
|
|
485
|
+
this._updateMediaInfoTimestamp(i.sourceURL);
|
|
486
|
+
const s = window.setInterval(() => {
|
|
487
|
+
this._updateMediaInfoTimestamp(i.sourceURL);
|
|
488
|
+
}, a);
|
|
489
|
+
this._refreshTimer = s;
|
|
490
|
+
}
|
|
491
|
+
_getImageSource(e, t) {
|
|
492
|
+
const i = e.includes("?") ? "&" : "?", [a, s = ""] = e.split("#");
|
|
493
|
+
return `${a}${i}timestamp=${t}${s ? "#" : ""}${s}`;
|
|
494
|
+
}
|
|
495
|
+
_updateChartElement(e) {
|
|
496
|
+
if (!e) {
|
|
497
|
+
this._chartRoot?.dispose(), this._chartRoot = void 0;
|
|
498
|
+
return;
|
|
499
|
+
}
|
|
500
|
+
this._createChart(e);
|
|
501
|
+
}
|
|
502
|
+
render() {
|
|
503
|
+
return y`<div class=${C(I.base)} @keyup=${this._handleMediaKeyup}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderMedia()}</div>`;
|
|
504
|
+
}
|
|
505
|
+
_renderMedia() {
|
|
506
|
+
const { formattedMediaInfoCount: e, activeMediaInfoIndex: t } = this, i = this._renderMediaText();
|
|
507
|
+
return e ? y`<div class=${C(I.mediaContainer)}>${this._renderMediaInfo()}<div class=${C(I.mediaNavigation)}>${i}${e > 1 ? y`<div class=${C(I.mediaPagination)}>${this._renderMediaPageButton("previous")}<span class=${C(I.mediaPaginationText)}>${te(this.messages?.pageText ?? "", {
|
|
508
|
+
index: t + 1,
|
|
509
|
+
total: e
|
|
510
|
+
})}</span>${this._renderMediaPageButton("next")}</div>` : null}</div></div>` : null;
|
|
511
|
+
}
|
|
512
|
+
_renderMediaText() {
|
|
513
|
+
const { activeMediaInfo: e } = this;
|
|
514
|
+
if (!e)
|
|
515
|
+
return null;
|
|
516
|
+
const t = e?.title ? y`<div class=${C(I.mediaItemTitle)} .innerHTML=${E.sanitize(e.title) ?? ""}></div>` : null, i = e?.caption ? y`<div class=${C(I.mediaItemCaption)} .innerHTML=${E.sanitize(e.caption) ?? ""}></div>` : null;
|
|
517
|
+
return t || i ? y`<div class=${C(I.mediaItemText)}>${t}${i}</div>` : null;
|
|
518
|
+
}
|
|
519
|
+
_renderImageMediaInfo(e) {
|
|
520
|
+
if (!e.value)
|
|
521
|
+
return null;
|
|
522
|
+
const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: s, title: n } = e, { sourceURL: o, linkURL: r } = i, f = ce(r ?? void 0) ? "_blank" : "_self", u = f === "_blank" ? "noreferrer" : "", l = a ? t : null, h = l ? l.sourceURL : o, m = y`<img alt=${(s || n) ?? A} src=${h ?? void 0 ?? A}>`;
|
|
523
|
+
return (r ? y`<a href=${r ?? A} rel=${u ?? A} target=${f ?? A} title=${n ?? A}>${m}</a>` : null) ?? m;
|
|
524
|
+
}
|
|
525
|
+
_renderChartMediaInfo(e) {
|
|
526
|
+
const { activeMediaInfoIndex: t, formattedMediaInfoCount: i } = this;
|
|
527
|
+
return K(`media-${e.type}-${t}-${i}`, y`<div class=${C(I.mediaChart)} ${q(this._updateChartElement)}></div>`);
|
|
528
|
+
}
|
|
529
|
+
_renderMediaInfoType() {
|
|
530
|
+
const { activeMediaInfo: e } = this;
|
|
531
|
+
return e ? e.type === "image" ? this._renderImageMediaInfo(e) : e.type.includes("chart") ? this._renderChartMediaInfo(e) : null : null;
|
|
532
|
+
}
|
|
533
|
+
_renderMediaInfo() {
|
|
534
|
+
const { activeMediaInfo: e } = this;
|
|
535
|
+
return e ? y`<div class=${C(I.mediaItemContainer)}><div class=${C(I.mediaItem)}>${this._renderMediaInfoType()}</div></div>` : null;
|
|
536
|
+
}
|
|
537
|
+
_renderMediaPageButton(e) {
|
|
538
|
+
if (this.formattedMediaInfoCount < 2)
|
|
539
|
+
return null;
|
|
540
|
+
const t = e === "previous", i = t ? this.messages?.previous ?? "" : this.messages?.next ?? "", a = t ? "chevron-left" : "chevron-right", s = t ? this.previous : this.next;
|
|
541
|
+
return y`<button .ariaLabel=${i} class=${C(I.mediaPaginationButton)} @click=${s} tabindex=0 title=${i ?? A} type=button><calcite-icon flip-rtl class=${C(I.mediaPaginationIcon)} .icon=${a} scale=s></calcite-icon></button>`;
|
|
542
|
+
}
|
|
543
|
+
async _renderChart(e) {
|
|
544
|
+
const { root: t, mediaInfo: i } = e, { value: a, type: s } = i, [{ default: n }, { default: o }, { default: r }, { esriChartColorSet: c }, { ColorSet: f, Theme: u }] = await Promise.all([
|
|
545
|
+
import("@amcharts/amcharts5/themes/Animated.js"),
|
|
546
|
+
import("@amcharts/amcharts5/themes/Dark.js"),
|
|
547
|
+
import("@amcharts/amcharts5/themes/Responsive.js"),
|
|
548
|
+
import("../../chunks/chartCommon.js"),
|
|
549
|
+
import("@amcharts/amcharts5/index.js")
|
|
550
|
+
]), l = u.new(t);
|
|
551
|
+
l.rule("ColorSet").set("colors", c), l.rule("ColorSet").set("reuse", !0);
|
|
552
|
+
const h = [r.new(t), l];
|
|
553
|
+
re(this.el) === "dark" && h.push(o.new(t)), this._canAnimateChart() && h.push(n.new(t)), t.setThemes(h);
|
|
554
|
+
const m = await this._getRendererColors(), d = await this._getSeriesColors(a.series), g = f.new(t, {}), p = d.get(a.series[0]), _ = p ? {
|
|
555
|
+
lineSettings: {
|
|
556
|
+
stroke: p
|
|
557
|
+
}
|
|
558
|
+
} : void 0, v = a.series.map((x, F) => {
|
|
559
|
+
const $ = d.get(x) || m.get(x.fieldName) || g.getIndex(F);
|
|
560
|
+
return {
|
|
561
|
+
[w]: x.tooltip,
|
|
562
|
+
[b]: x.value,
|
|
563
|
+
columnSettings: {
|
|
564
|
+
fill: $,
|
|
565
|
+
stroke: $
|
|
566
|
+
},
|
|
567
|
+
..._
|
|
568
|
+
};
|
|
569
|
+
}).filter((x) => s === "pie-chart" ? x.value != null && x.value > 0 : !0);
|
|
570
|
+
s === "pie-chart" ? this._createPieChart(e, v) : this._createXYChart(e, v);
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
j("arcgis-feature-media", pe);
|
|
574
|
+
export {
|
|
575
|
+
pe as ArcgisFeatureMedia
|
|
576
|
+
};
|
|
@@ -434,6 +434,11 @@ export declare class ArcgisFeatureTable extends LitElement {
|
|
|
434
434
|
paginationEnabled: boolean;
|
|
435
435
|
/** @default "manual" */
|
|
436
436
|
position: __esri.UIPosition;
|
|
437
|
+
/**
|
|
438
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
439
|
+
*
|
|
440
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
441
|
+
*/
|
|
437
442
|
referenceElement?: ArcgisReferenceElement | string;
|
|
438
443
|
/**
|
|
439
444
|
* Indicates whether to display any related records associated with rows within the table.
|
|
@@ -524,7 +529,8 @@ export declare class ArcgisFeatureTable extends LitElement {
|
|
|
524
529
|
*/
|
|
525
530
|
readonly supportsDeleteAttachments: boolean;
|
|
526
531
|
/**
|
|
527
|
-
*
|
|
532
|
+
* Defines whether or not the feature supports resizing
|
|
533
|
+
* attachments.
|
|
528
534
|
*
|
|
529
535
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html#supportsResizeAttachments)
|
|
530
536
|
*
|
|
@@ -6,10 +6,10 @@ import a from "@arcgis/core/widgets/FeatureTable.js";
|
|
|
6
6
|
import { LitElement as d, createEvent as l, noShadowRoot as r } from "@arcgis/lumina";
|
|
7
7
|
import { m as g } from "../../chunks/useWidget.js";
|
|
8
8
|
import { e as m, g as c } from "../../chunks/component-utils.js";
|
|
9
|
-
import { css as u } from "
|
|
9
|
+
import { css as u } from "lit";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.50 */
|
|
13
13
|
const w = u`@layer{arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}}`, p = g(a);
|
|
14
14
|
class b extends d {
|
|
15
15
|
constructor() {
|
|
@@ -97,6 +97,11 @@ export declare class ArcgisFeatureTemplates extends LitElement {
|
|
|
97
97
|
layers: (__esri.FeatureLayer | __esri.SceneLayer | __esri.SubtypeGroupLayer | __esri.GeoJSONLayer | __esri.OrientedImageryLayer | __esri.SubtypeSublayer)[];
|
|
98
98
|
/** @default "bottom-left" */
|
|
99
99
|
position: __esri.UIPosition;
|
|
100
|
+
/**
|
|
101
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
102
|
+
*
|
|
103
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
104
|
+
*/
|
|
100
105
|
referenceElement?: ArcgisReferenceElement | string;
|
|
101
106
|
/**
|
|
102
107
|
* Specifies the selection behavior of list items.
|
|
@@ -4,10 +4,10 @@ import { reEmitEvent as i } from "@arcgis/lumina/controllers/accessor";
|
|
|
4
4
|
import s from "@arcgis/core/widgets/FeatureTemplates.js";
|
|
5
5
|
import { LitElement as o, createEvent as r, noShadowRoot as l } from "@arcgis/lumina";
|
|
6
6
|
import { m as a } from "../../chunks/useWidget.js";
|
|
7
|
-
import { css as h } from "
|
|
7
|
+
import { css as h } from "lit";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.50 */
|
|
11
11
|
const n = h`@layer{arcgis-feature-templates{display:block}}`, c = a(s);
|
|
12
12
|
class d extends o {
|
|
13
13
|
constructor() {
|
|
@@ -220,6 +220,11 @@ export declare class ArcgisFeatures extends LitElement {
|
|
|
220
220
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features.html#promises)
|
|
221
221
|
*/
|
|
222
222
|
promises: Promise<any>[];
|
|
223
|
+
/**
|
|
224
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
225
|
+
*
|
|
226
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
227
|
+
*/
|
|
223
228
|
referenceElement?: ArcgisReferenceElement | string;
|
|
224
229
|
/**
|
|
225
230
|
* The selected feature accessed by the Features widget.
|
|
@@ -4,11 +4,11 @@ import { reEmitEvent as a } from "@arcgis/lumina/controllers/accessor";
|
|
|
4
4
|
import o from "@arcgis/core/widgets/Features.js";
|
|
5
5
|
import { LitElement as r, createEvent as n, noShadowRoot as h } from "@arcgis/lumina";
|
|
6
6
|
import { m as d } from "../../chunks/useWidget.js";
|
|
7
|
-
import { css as l } from "
|
|
7
|
+
import { css as l } from "lit";
|
|
8
8
|
import { c } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.50 */
|
|
12
12
|
const g = l`@layer{arcgis-features{display:flex;flex-direction:column;overflow:hidden;.esri-features{flex:1 1 auto;overflow:hidden}}}`, u = d(o);
|
|
13
13
|
class w extends r {
|
|
14
14
|
constructor() {
|