@arcgis/map-components 6.0.0-next.3 → 6.0.0-next.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/25PLRKZK.js +2 -0
- package/dist/cdn/{ZBC5RBCD.js → 27TSPXYV.js} +1 -1
- package/dist/cdn/27VBOPFN.js +2 -0
- package/dist/cdn/2AMSAAH4.js +2 -0
- package/dist/cdn/{3ONY25MG.js → 2GPVEWYM.js} +1 -1
- package/dist/cdn/2GV5JA27.js +2 -0
- package/dist/cdn/2IBL2HKQ.js +2 -0
- package/dist/cdn/2JXK3AW7.js +2 -0
- package/dist/cdn/2NMV3XLT.js +2 -0
- package/dist/cdn/2RTEHAVG.js +2 -0
- package/dist/cdn/{65MI3MW2.js → 32526XJ7.js} +1 -1
- package/dist/cdn/34XDXFK6.js +2 -0
- package/dist/cdn/37GYWGAF.js +2 -0
- package/dist/cdn/3HI5IZSQ.js +2 -0
- package/dist/cdn/3KAC2MKA.js +2 -0
- package/dist/cdn/{HI7BF3DL.js → 3MWXYWKR.js} +1 -1
- package/dist/cdn/{GNSNEUMI.js → 3NUN6DK3.js} +1 -1
- package/dist/cdn/3P44HZ3K.js +2 -0
- package/dist/cdn/3RSMD7RR.js +2 -0
- package/dist/cdn/3XHI22WD.js +2 -0
- package/dist/cdn/{AN7R3DP5.js → 43IGD6V3.js} +1 -1
- package/dist/cdn/446MXZCR.js +2 -0
- package/dist/cdn/{ZHSESERJ.js → 4H2REMNG.js} +1 -1
- package/dist/cdn/{SAOLD6MH.js → 4HCQOJIM.js} +1 -1
- package/dist/cdn/4KWDLXSO.js +2 -0
- package/dist/cdn/{FHHVGI4H.js → 4P4NKBQC.js} +1 -1
- package/dist/cdn/4WZZZTT5.js +2 -0
- package/dist/cdn/4ZAEHJPD.js +2 -0
- package/dist/cdn/57LPG3BE.js +2 -0
- package/dist/cdn/5B22465P.js +2 -0
- package/dist/cdn/5DN4ONEW.js +2 -0
- package/dist/cdn/{RRSU6QD4.js → 5FBHHKRV.js} +1 -1
- package/dist/cdn/{PIDNZKSJ.js → 5GFPOTOB.js} +1 -1
- package/dist/cdn/5OABHJND.js +2 -0
- package/dist/cdn/5XMKJYT6.js +2 -0
- package/dist/cdn/{ABOTJ6RE.js → 5XZKVLHC.js} +1 -1
- package/dist/cdn/66TZB3H3.js +3 -0
- package/dist/cdn/6ARTIZQQ.js +2 -0
- package/dist/cdn/6CKQPMJB.js +2 -0
- package/dist/cdn/6FJUKYNB.js +2 -0
- package/dist/cdn/6GGKA7MT.js +2 -0
- package/dist/cdn/6HDYZ7WW.js +2 -0
- package/dist/cdn/6KYZMT4A.js +2 -0
- package/dist/cdn/6NSO42OW.js +2 -0
- package/dist/cdn/6SL7YNKF.js +2 -0
- package/dist/cdn/6TXZMHLZ.js +2 -0
- package/dist/cdn/6WFVZM5S.js +2 -0
- package/dist/cdn/6Y36YFPN.js +2 -0
- package/dist/cdn/6Y7Q7GRB.js +2 -0
- package/dist/cdn/7BU454HH.js +2 -0
- package/dist/cdn/{WSHG4LV7.js → 7HBOZBSC.js} +1 -1
- package/dist/cdn/{2SO5S66J.js → 7ID5HLPS.js} +1 -1
- package/dist/cdn/7ILT5PDJ.js +2 -0
- package/dist/cdn/7JPHMESH.js +2 -0
- package/dist/cdn/{N3DTZRST.js → 7V7LQ35Q.js} +1 -1
- package/dist/cdn/{SIFBGT4D.js → 7Y4SF2NT.js} +1 -1
- package/dist/cdn/7Y6PADB5.js +2 -0
- package/dist/cdn/A7YFCO3R.js +2 -0
- package/dist/cdn/AGXUHDNS.js +2 -0
- package/dist/cdn/{PPAFKBPN.js → AHWBCZBO.js} +1 -1
- package/dist/cdn/AMRGLUBB.js +2 -0
- package/dist/cdn/ARLGT35P.js +2 -0
- package/dist/cdn/{KBA5OIES.js → AUP633OS.js} +1 -1
- package/dist/cdn/BBKQM2GF.js +2 -0
- package/dist/cdn/BEICGIY5.js +2 -0
- package/dist/cdn/{Z2UUXST4.js → BFYJTV6Q.js} +1 -1
- package/dist/cdn/BJUFDQGX.js +2 -0
- package/dist/cdn/{RUYAWRPV.js → BOPNSNUT.js} +1 -1
- package/dist/cdn/BVJRB5FA.js +2 -0
- package/dist/cdn/{QT7GRA34.js → BVRQWRKX.js} +1 -1
- package/dist/cdn/BZXGVKKW.js +2 -0
- package/dist/cdn/C53YBNQ4.js +2 -0
- package/dist/cdn/C6K7TZ27.js +2 -0
- package/dist/cdn/C74S3MND.js +2 -0
- package/dist/cdn/CDHP7WRH.js +2 -0
- package/dist/cdn/CLICUS2A.js +2 -0
- package/dist/cdn/CNXH745H.js +2 -0
- package/dist/cdn/COC7IS2Z.js +2 -0
- package/dist/cdn/{MA7GBKLW.js → CPWIRCCP.js} +1 -1
- package/dist/cdn/{XP74F2F6.js → CWCVAPXD.js} +1 -1
- package/dist/cdn/D6UG734Y.js +2 -0
- package/dist/cdn/DCO26B7J.js +2 -0
- package/dist/cdn/DDGUDJJZ.js +2 -0
- package/dist/cdn/DF2MPD7N.js +2 -0
- package/dist/cdn/DFNH6YRR.js +2 -0
- package/dist/cdn/DFTYQJWJ.js +2 -0
- package/dist/cdn/DGXTCH6B.js +2 -0
- package/dist/cdn/DSIYRWN2.js +2 -0
- package/dist/cdn/DU2IPXWR.js +2 -0
- package/dist/cdn/DWPXOIRF.js +2 -0
- package/dist/cdn/DXTK47ES.js +2 -0
- package/dist/cdn/DXXGERVD.js +2 -0
- package/dist/cdn/{S6BPBG7D.js → DZIJPJS3.js} +1 -1
- package/dist/cdn/E6ZXXC74.js +2 -0
- package/dist/cdn/ECF4B24M.js +2 -0
- package/dist/cdn/EJVFK7JX.js +2 -0
- package/dist/cdn/EP27GLNL.js +2 -0
- package/dist/cdn/{M6YVO33A.js → ETD3FAGO.js} +1 -1
- package/dist/cdn/EVWWTIEQ.js +2 -0
- package/dist/cdn/{EK7Y6JBZ.js → EXB4CY2Y.js} +1 -1
- package/dist/cdn/F2YSSNVY.js +2 -0
- package/dist/cdn/FOKE5ILO.js +2 -0
- package/dist/cdn/{ZIBQTNB6.js → FQ3ZJA4Q.js} +1 -1
- package/dist/cdn/FROWRLYW.js +2 -0
- package/dist/cdn/FTLNYN3G.js +2 -0
- package/dist/cdn/G2PLGAUY.js +2 -0
- package/dist/cdn/G6L4BDEL.js +2 -0
- package/dist/cdn/G7BWEBJH.js +2 -0
- package/dist/cdn/GBMEEEGZ.js +2 -0
- package/dist/cdn/{WBBTZNZU.js → GEOME3IC.js} +1 -1
- package/dist/cdn/{V62TVP3T.js → GFC6LS4L.js} +1 -1
- package/dist/cdn/{MICLX7QW.js → GPYZM5CC.js} +1 -1
- package/dist/cdn/HGEK42FO.js +2 -0
- package/dist/cdn/{FQSHLYKX.js → HLOH2QPV.js} +1 -1
- package/dist/cdn/HTYTZ7GK.js +2 -0
- package/dist/cdn/I52P5EXK.js +2 -0
- package/dist/cdn/I5F7MVDT.js +2 -0
- package/dist/cdn/IFLDLAK4.js +2 -0
- package/dist/cdn/IIX2OICP.js +2 -0
- package/dist/cdn/{TDZIH5OK.js → IKVGZFZ6.js} +1 -1
- package/dist/cdn/IN7TMVRK.js +2 -0
- package/dist/cdn/IUYW4QOS.js +2 -0
- package/dist/cdn/{4HNRKSQ2.js → IZFEOYED.js} +1 -1
- package/dist/cdn/IZYFQNW2.js +2 -0
- package/dist/cdn/J4FR5WZG.js +2 -0
- package/dist/cdn/JB6WQEFJ.js +2 -0
- package/dist/cdn/{ET4UP4EQ.js → JBD7Q5YD.js} +1 -1
- package/dist/cdn/JJXJPZUK.js +2 -0
- package/dist/cdn/JN6RVFAM.js +2 -0
- package/dist/cdn/JNNI75UW.js +2 -0
- package/dist/cdn/KAG4QZ7K.js +2 -0
- package/dist/cdn/{QKZ552KI.js → KIWV2RIN.js} +1 -1
- package/dist/cdn/KWIZ45T7.js +2 -0
- package/dist/cdn/KXDLX4RE.js +2 -0
- package/dist/cdn/L3MJ5NAZ.js +2 -0
- package/dist/cdn/{OUC5HWPQ.js → L5XC4FXT.js} +1 -1
- package/dist/cdn/LC2ZSIJY.js +2 -0
- package/dist/cdn/LFA3XEWF.js +2 -0
- package/dist/cdn/LNTE4FDB.js +2 -0
- package/dist/cdn/LRH4FKHU.js +2 -0
- package/dist/cdn/{OAYNZFL2.js → LSLTIN2Q.js} +1 -1
- package/dist/cdn/LTFGTX7S.js +2 -0
- package/dist/cdn/LXHZGIW5.js +2 -0
- package/dist/cdn/LXME6MU5.js +2 -0
- package/dist/cdn/M3CIFZFR.js +2 -0
- package/dist/cdn/M4GAOTVS.js +2 -0
- package/dist/cdn/M7ENWEKN.js +2 -0
- package/dist/cdn/M7F66X42.js +2 -0
- package/dist/cdn/M7MRLBZA.js +2 -0
- package/dist/cdn/MA2DWIGR.js +2 -0
- package/dist/cdn/MGH6EHT7.js +2 -0
- package/dist/cdn/N4D5I6Y4.js +2 -0
- package/dist/cdn/NEPTDMLE.js +2 -0
- package/dist/cdn/NQXXIEV2.js +2 -0
- package/dist/cdn/NRFCVOMM.js +2 -0
- package/dist/cdn/NVPN3I72.js +2 -0
- package/dist/cdn/O2LMVVKS.js +2 -0
- package/dist/cdn/O5HQ5YZK.js +2 -0
- package/dist/cdn/O6KVILZF.js +2 -0
- package/dist/cdn/OKAGFDAM.js +2 -0
- package/dist/cdn/OKOOKG4L.js +2 -0
- package/dist/cdn/{HPWF3IQV.js → OLY5EME5.js} +1 -1
- package/dist/cdn/P5U37XIA.js +2 -0
- package/dist/cdn/{ESOCZAMZ.js → PCXDOSKQ.js} +1 -1
- package/dist/cdn/PD4ELTMF.js +2 -0
- package/dist/cdn/PD7SLPIK.js +2 -0
- package/dist/cdn/PFSIUSDJ.js +2 -0
- package/dist/cdn/PJIES74D.js +2 -0
- package/dist/cdn/PKYYNRBS.js +2 -0
- package/dist/cdn/PLDTM6JH.js +2 -0
- package/dist/cdn/PMRTCWGK.js +2 -0
- package/dist/cdn/PMXSSYFB.js +2 -0
- package/dist/cdn/PQ7NUE5C.js +4 -0
- package/dist/cdn/PSTG4I4W.js +2 -0
- package/dist/cdn/PYBUTNHM.js +2 -0
- package/dist/cdn/PYEOGYQ3.js +2 -0
- package/dist/cdn/Q2KWXSLQ.js +2 -0
- package/dist/cdn/Q6RSVQNE.js +2 -0
- package/dist/cdn/Q7GF26CL.js +2 -0
- package/dist/cdn/QBRGIFBY.js +2 -0
- package/dist/cdn/QBVHLHRR.js +2 -0
- package/dist/cdn/QXEOEFF3.js +2 -0
- package/dist/cdn/{OAMA6SL3.js → QZVF23GH.js} +1 -1
- package/dist/cdn/R2FI35AK.js +2 -0
- package/dist/cdn/RAADOJWX.js +2 -0
- package/dist/cdn/{ZSPYPXBY.js → REB4CHAK.js} +1 -1
- package/dist/cdn/RINX3CTL.js +2 -0
- package/dist/cdn/RVXA65TI.js +2 -0
- package/dist/cdn/{VUAYNF3K.js → RXKIZFNQ.js} +1 -1
- package/dist/cdn/S4L4V6FJ.js +2 -0
- package/dist/cdn/SI2DEXWH.js +2 -0
- package/dist/cdn/SOIBQ3FH.js +2 -0
- package/dist/cdn/SOLTOPI3.js +2 -0
- package/dist/cdn/SSB4SQXA.js +2 -0
- package/dist/cdn/{VTCE3YQW.js → SXW4GFL3.js} +1 -1
- package/dist/cdn/T4B5XW65.js +2 -0
- package/dist/cdn/TDYIVFVF.js +2 -0
- package/dist/cdn/TEDWUEQ4.js +2 -0
- package/dist/cdn/TEPHXOQ2.js +2 -0
- package/dist/cdn/TI7UH6FZ.js +2 -0
- package/dist/cdn/TLAJ3GMX.js +2 -0
- package/dist/cdn/TM4FFRX5.js +2 -0
- package/dist/cdn/TTWQ7RNF.js +2 -0
- package/dist/cdn/TY4XRXLB.js +2 -0
- package/dist/cdn/U77WHUC6.js +2 -0
- package/dist/cdn/ULOXCWFO.js +2 -0
- package/dist/cdn/UTJTCZCF.js +2 -0
- package/dist/cdn/{P2I63WVL.js → UVAUYBWF.js} +1 -1
- package/dist/cdn/{52CUDGKY.js → UVPQKV5P.js} +1 -1
- package/dist/cdn/{YDZZPLVB.js → UYAOMCP7.js} +1 -1
- package/dist/cdn/UYDXI4AK.js +4 -0
- package/dist/cdn/UYJB3OR4.js +2 -0
- package/dist/cdn/UZ4VANCL.js +2 -0
- package/dist/cdn/UZXVNOOD.js +2 -0
- package/dist/cdn/V4AT7ENI.js +2 -0
- package/dist/cdn/VHLDFKDS.js +2 -0
- package/dist/cdn/{HQWUQFN5.js → VKO3CVBS.js} +1 -1
- package/dist/cdn/VPREN7P6.js +2 -0
- package/dist/cdn/VTDB4D2K.js +2 -0
- package/dist/cdn/{XKCB2DEP.js → VWW5GBIK.js} +1 -1
- package/dist/cdn/VXPGE37T.js +2 -0
- package/dist/cdn/VXXXOGU7.js +2 -0
- package/dist/cdn/W4BA3ECA.js +2 -0
- package/dist/cdn/W73JDM22.js +2 -0
- package/dist/cdn/WFTJ4E4F.js +2 -0
- package/dist/cdn/WGLTX4YP.js +2 -0
- package/dist/cdn/WKI4XW7G.js +2 -0
- package/dist/cdn/WKRW6DI5.js +2 -0
- package/dist/cdn/WP52KJNL.js +2 -0
- package/dist/cdn/WPXCX7TX.js +2 -0
- package/dist/cdn/{DUMHDAYP.js → WVKMYNN7.js} +1 -1
- package/dist/cdn/WYYUFJHO.js +2 -0
- package/dist/cdn/X2M3ZYHO.js +2 -0
- package/dist/cdn/XCDMOCWN.js +2 -0
- package/dist/cdn/XLB473BN.js +2 -0
- package/dist/cdn/XLYOZSWI.js +2 -0
- package/dist/cdn/XLZB6JMZ.js +2 -0
- package/dist/cdn/{CKS5ACAB.js → XO7X6L4B.js} +1 -1
- package/dist/cdn/XQBN6SO5.js +2 -0
- package/dist/cdn/XVZ74ZME.js +2 -0
- package/dist/cdn/{EV7IIQBP.js → XYAJT7LP.js} +1 -1
- package/dist/cdn/Y4C7JJCJ.js +2 -0
- package/dist/cdn/Y6WTYXVP.js +2 -0
- package/dist/cdn/YAWLVMV6.js +2 -0
- package/dist/cdn/{PGUZODKZ.js → YBJ6ZAPO.js} +1 -1
- package/dist/cdn/YBTMO6HU.js +2 -0
- package/dist/cdn/YCKZUQ7P.js +2 -0
- package/dist/cdn/YDILFOHE.js +2 -0
- package/dist/cdn/YEKQVWF5.js +2 -0
- package/dist/cdn/YFX2STSS.js +2 -0
- package/dist/cdn/YME6EWHF.js +2 -0
- package/dist/cdn/YV35TNL4.js +2 -0
- package/dist/cdn/YWOY3GID.js +2 -0
- package/dist/cdn/Z42MH42I.js +2 -0
- package/dist/cdn/Z42YLJMZ.js +2 -0
- package/dist/cdn/Z46QEYSO.js +2 -0
- package/dist/cdn/Z6ZEF6NC.js +2 -0
- package/dist/cdn/ZAW644CF.js +2 -0
- package/dist/cdn/ZCI6T4IU.js +2 -0
- package/dist/cdn/{IAWXCNTX.js → ZE4UHSTB.js} +1 -1
- package/dist/cdn/ZEQHIKTN.js +2 -0
- package/dist/cdn/{26URLKXD.js → ZH3MW6H3.js} +1 -1
- package/dist/cdn/ZMP3REWL.js +2 -0
- package/dist/cdn/{V2YPYCU6.js → ZNV3M5P2.js} +1 -1
- package/dist/cdn/ZP2VJX3N.js +2 -0
- package/dist/cdn/ZPA5JUPD.js +2 -0
- package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/attachment-utils.js +5 -5
- package/dist/chunks/chart-utils.js +12 -12
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/layer-list-next.js +1 -1
- package/dist/chunks/loader-utils.js +43 -0
- package/dist/chunks/print-exports-panel-item-popover.js +1 -1
- package/dist/chunks/resources.js +10 -4
- package/dist/chunks/screenLocation.js +10 -10
- package/dist/chunks/slots.js +7 -7
- package/dist/chunks/useArcgisViewReadyError.js +226 -156
- package/dist/chunks/useViewModel.js +7 -7
- package/dist/chunks/utils.js +17 -17
- package/dist/chunks/utils5.js +2 -2
- package/dist/components/arcgis-add-attachment-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +4 -4
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +10 -4
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/{arcgis-feature-form-field → arcgis-attachment-detail-view}/customElement.d.ts +72 -28
- package/dist/components/arcgis-attachment-detail-view/customElement.js +126 -0
- package/dist/components/arcgis-attachment-detail-view/index.js +8 -0
- package/dist/components/arcgis-attachment-preview/customElement.d.ts +47 -9
- package/dist/components/arcgis-attachment-preview/customElement.js +12 -10
- package/dist/components/arcgis-attachment-thumbnail/customElement.d.ts +42 -9
- package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +42 -9
- package/dist/components/arcgis-attachments/customElement.js +3 -3
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +24 -24
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +90 -88
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -0
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/types.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-level-item/customElement.js +1 -1
- package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
- package/dist/components/arcgis-building-phase-picker/customElement.js +16 -16
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +4 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +7 -7
- package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +2 -2
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +5 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +6 -5
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +38 -38
- package/dist/components/arcgis-daylight/customElement.d.ts +32 -25
- package/dist/components/arcgis-daylight/customElement.js +136 -132
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +12 -7
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +53 -58
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +4 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +8 -3
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +44 -22
- package/dist/components/arcgis-editor/customElement.js +17 -12
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +15 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +95 -97
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +4 -4
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +5 -5
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +7 -7
- package/dist/components/arcgis-expand/customElement.d.ts +49 -2
- package/dist/components/arcgis-expand/customElement.js +47 -47
- package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
- package/dist/components/arcgis-exploratory-analysis/customElement.js +56 -56
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +18 -18
- package/dist/components/arcgis-feature-content/customElement.js +4 -4
- 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.js +16 -16
- package/dist/components/arcgis-feature-form/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +11 -11
- package/dist/components/arcgis-feature-media/customElement.js +263 -216
- package/dist/components/arcgis-feature-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-next/customElement.js +21 -14
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +83 -64
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +6 -6
- package/dist/components/arcgis-features/customElement.js +19 -18
- package/dist/components/arcgis-features-next/customElement.d.ts +14 -8
- package/dist/components/arcgis-features-next/customElement.js +185 -148
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -0
- package/dist/components/arcgis-floor-filter/customElement.js +41 -41
- package/dist/components/arcgis-floor-filter/interfaces.d.ts +72 -0
- package/dist/components/arcgis-fullscreen/customElement.js +4 -4
- package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +2 -2
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +9 -9
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +7 -7
- package/dist/components/arcgis-layer-list-next/customElement.js +97 -95
- package/dist/components/arcgis-legend/customElement.d.ts +3 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +17 -5
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +41 -26
- package/dist/components/arcgis-link-chart/customElement.js +28 -28
- package/dist/components/arcgis-locate/customElement.js +6 -6
- package/dist/components/arcgis-map/customElement.d.ts +65 -53
- package/dist/components/arcgis-map/customElement.js +21 -21
- package/dist/components/arcgis-measurement-content/customElement.js +4 -4
- package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +6 -5
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +19 -18
- package/dist/components/arcgis-paste/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +18 -11
- package/dist/components/arcgis-popup/customElement.js +199 -183
- package/dist/components/arcgis-presentation/customElement.d.ts +5 -5
- package/dist/components/arcgis-presentation/customElement.js +74 -75
- package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-datum-transformation-input/customElement.js +17 -17
- package/dist/components/arcgis-print-exports-panel/customElement.js +8 -8
- 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 +5 -5
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-out-spatial-reference-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 +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +8 -8
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +11 -11
- package/dist/components/arcgis-scene/customElement.d.ts +69 -33
- package/dist/components/arcgis-scene/customElement.js +19 -19
- package/dist/components/arcgis-search/customElement.d.ts +17 -6
- package/dist/components/arcgis-search/customElement.js +3 -0
- package/dist/components/arcgis-selection-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-selection-list/customElement.js +11 -11
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +14 -6
- package/dist/components/arcgis-selection-toolbar/customElement.js +23 -17
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +17 -10
- package/dist/components/arcgis-shadow-cast/customElement.js +45 -45
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +363 -46
- package/dist/components/arcgis-sketch/customElement.js +434 -248
- package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- package/dist/components/arcgis-slice/customElement.js +24 -24
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +4 -3
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +5 -4
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +3 -3
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +15 -7
- package/dist/components/arcgis-slider-scale-range/customElement.js +5 -5
- package/dist/components/arcgis-slider-scale-range/spriteSheetsUtils.d.ts +8 -3
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +3 -3
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +8 -29
- package/dist/components/arcgis-swipe/customElement.js +247 -65
- package/dist/components/arcgis-swipe/types.d.ts +3 -0
- package/dist/components/arcgis-table-list-next/customElement.d.ts +1 -1
- package/dist/components/arcgis-table-list-next/customElement.js +55 -54
- package/dist/components/arcgis-time-bar/customElement.d.ts +486 -409
- package/dist/components/arcgis-time-bar/customElement.js +122 -120
- package/dist/components/arcgis-time-bar/types.d.ts +36 -15
- package/dist/components/arcgis-time-bar-date/customElement.js +10 -10
- package/dist/components/arcgis-time-bar-extent/customElement.js +9 -9
- package/dist/components/arcgis-time-bar-settings/customElement.js +25 -25
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +196 -174
- package/dist/components/arcgis-time-bar-slider/customElement.js +62 -63
- package/dist/components/arcgis-time-slider/customElement.d.ts +9 -7
- package/dist/components/arcgis-time-slider/customElement.js +10 -9
- package/dist/components/arcgis-time-zone-chip/customElement.js +4 -4
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-selector/customElement.js +5 -5
- package/dist/components/arcgis-track/customElement.d.ts +19 -10
- package/dist/components/arcgis-track/types.d.ts +1 -1
- package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-picker/customElement.d.ts +170 -6
- package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.d.ts +107 -19
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +34 -27
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +61 -17
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +85 -81
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +272 -9
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.d.ts +141 -12
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +25 -33
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.d.ts +126 -30
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +88 -81
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +63 -9
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +8 -4
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +240 -14
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +125 -111
- package/dist/components/arcgis-utility-network-trace-locations/customElement.d.ts +177 -23
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +167 -129
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +170 -32
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +132 -125
- package/dist/components/arcgis-utility-network-trace-results-pane/customElement.d.ts +159 -2
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +37 -37
- package/dist/components/arcgis-video/customElement.d.ts +19 -1
- package/dist/components/arcgis-video/customElement.js +7 -4
- package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +2 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +37 -6
- package/dist/components/arcgis-video-player/customElement.js +110 -102
- package/dist/components/arcgis-video-player/index.js +4 -4
- package/dist/components/arcgis-video-player/types.d.ts +6 -0
- package/dist/components/arcgis-video-player-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-previews/customElement.js +159 -0
- package/dist/components/arcgis-video-player-settings/customElement.js +17 -16
- package/dist/components/arcgis-video-player-slider/customElement.js +23 -12
- package/dist/components/arcgis-video-player-slider/index.js +1 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +32 -12
- package/dist/components/arcgis-volume-measurement/customElement.js +62 -62
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/slider-legacy/types.d.ts +2 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +22 -24
- package/dist/loader.js +22 -22
- package/dist/types/lumina.d.ts +24 -38
- package/dist/types/preact.d.ts +25 -41
- package/dist/types/react.d.ts +26 -44
- package/dist/types/stencil.d.ts +24 -38
- package/package.json +9 -9
- package/dist/cdn/2BGZVOT3.js +0 -2
- package/dist/cdn/2F4IGA4W.js +0 -2
- package/dist/cdn/2KPCMM7D.js +0 -2
- package/dist/cdn/2S7DLLA7.js +0 -2
- package/dist/cdn/2TY3T3GH.js +0 -2
- package/dist/cdn/2U3VASQT.js +0 -2
- package/dist/cdn/2UKSCGYU.js +0 -2
- package/dist/cdn/3C6FN5WT.js +0 -2
- package/dist/cdn/3GHQZCMV.js +0 -2
- package/dist/cdn/3N5MWYUQ.js +0 -2
- package/dist/cdn/3UMLR76Y.js +0 -4
- package/dist/cdn/3VCGDZEU.js +0 -2
- package/dist/cdn/4432P7Z5.js +0 -2
- package/dist/cdn/44CQCIZB.js +0 -2
- package/dist/cdn/4B2TLORL.js +0 -2
- package/dist/cdn/4IWYFG2G.js +0 -2
- package/dist/cdn/4KQA2GRX.js +0 -2
- package/dist/cdn/4O3HLHQQ.js +0 -2
- package/dist/cdn/4PI54LJH.js +0 -2
- package/dist/cdn/4WKWYFIH.js +0 -2
- package/dist/cdn/4XJ6RYYC.js +0 -2
- package/dist/cdn/53OXTCE6.js +0 -2
- package/dist/cdn/5AMF6NZN.js +0 -2
- package/dist/cdn/5DY7GHBN.js +0 -2
- package/dist/cdn/5ESNA4SF.js +0 -2
- package/dist/cdn/5RAIBYCT.js +0 -2
- package/dist/cdn/62IE7RFR.js +0 -2
- package/dist/cdn/67PT3A4A.js +0 -2
- package/dist/cdn/6A2OF3TO.js +0 -2
- package/dist/cdn/6QH2NH2Z.js +0 -2
- package/dist/cdn/6UYEO5Q7.js +0 -2
- package/dist/cdn/6VO7G2UX.js +0 -2
- package/dist/cdn/77U2VO5P.js +0 -2
- package/dist/cdn/7DFCYS72.js +0 -2
- package/dist/cdn/7FCZLFJD.js +0 -2
- package/dist/cdn/7FFBCPVE.js +0 -2
- package/dist/cdn/7TULU5QF.js +0 -2
- package/dist/cdn/7VDBR3SK.js +0 -2
- package/dist/cdn/7VJQVX42.js +0 -2
- package/dist/cdn/A3DPMZWE.js +0 -2
- package/dist/cdn/A4VK42OW.js +0 -2
- package/dist/cdn/A7RLC6ZT.js +0 -2
- package/dist/cdn/AL3PLZEE.js +0 -2
- package/dist/cdn/ALVAGE57.js +0 -2
- package/dist/cdn/AS4FG6IT.js +0 -2
- package/dist/cdn/BI2SI2HK.js +0 -2
- package/dist/cdn/BJWJ6E3L.js +0 -2
- package/dist/cdn/BLOQ2AJ5.js +0 -2
- package/dist/cdn/BQBWXR6P.js +0 -2
- package/dist/cdn/BQGY4YCS.js +0 -2
- package/dist/cdn/BTVNXUZQ.js +0 -2
- package/dist/cdn/BVTEQMDF.js +0 -2
- package/dist/cdn/CBVICP6P.js +0 -2
- package/dist/cdn/CF54A7MK.js +0 -2
- package/dist/cdn/CNYZSE22.js +0 -2
- package/dist/cdn/CP5JALYQ.js +0 -2
- package/dist/cdn/CPYVZPJ7.js +0 -2
- package/dist/cdn/CR6PVUCT.js +0 -2
- package/dist/cdn/DDSIQO4G.js +0 -2
- package/dist/cdn/DK7HXJSX.js +0 -2
- package/dist/cdn/DLWQZHNA.js +0 -2
- package/dist/cdn/DTORO2OE.js +0 -2
- package/dist/cdn/DY2EOHFD.js +0 -2
- package/dist/cdn/DYUCS5QP.js +0 -2
- package/dist/cdn/DYWCAORU.js +0 -2
- package/dist/cdn/E54VGGFM.js +0 -2
- package/dist/cdn/EHEWQ23K.js +0 -2
- package/dist/cdn/EMXGW73P.js +0 -2
- package/dist/cdn/EOAVDNBZ.js +0 -2
- package/dist/cdn/EPH5BN6X.js +0 -2
- package/dist/cdn/EZCHUWDK.js +0 -2
- package/dist/cdn/F34QQ4DO.js +0 -2
- package/dist/cdn/F5IHFPKA.js +0 -2
- package/dist/cdn/FDJGQHUA.js +0 -2
- package/dist/cdn/FF7BSRYW.js +0 -2
- package/dist/cdn/FIZMK7GS.js +0 -1
- package/dist/cdn/FPPWXIBA.js +0 -2
- package/dist/cdn/FSBLGH6E.js +0 -2
- package/dist/cdn/FZAQZSRA.js +0 -2
- package/dist/cdn/G26V76WA.js +0 -2
- package/dist/cdn/GCEBFEZ5.js +0 -2
- package/dist/cdn/GFNCEZSN.js +0 -2
- package/dist/cdn/GHVT7W4O.js +0 -2
- package/dist/cdn/GII4POXM.js +0 -2
- package/dist/cdn/GIIYVCKT.js +0 -2
- package/dist/cdn/GJKFDTVX.js +0 -2
- package/dist/cdn/GK47522P.js +0 -2
- package/dist/cdn/GS2HJTMU.js +0 -2
- package/dist/cdn/GUHSWQMF.js +0 -2
- package/dist/cdn/GUZYCRYS.js +0 -2
- package/dist/cdn/H4LMELM2.js +0 -2
- package/dist/cdn/H7NR6B6S.js +0 -2
- package/dist/cdn/HDHWPKJ4.js +0 -2
- package/dist/cdn/HKLBQ7JD.js +0 -2
- package/dist/cdn/HQSY7TKA.js +0 -2
- package/dist/cdn/IDIAWXUO.js +0 -2
- package/dist/cdn/IFR4IYSI.js +0 -2
- package/dist/cdn/IITDAOGZ.js +0 -2
- package/dist/cdn/ILQDA7LL.js +0 -2
- package/dist/cdn/IQOQTYRR.js +0 -2
- package/dist/cdn/J3FRSWZD.js +0 -2
- package/dist/cdn/JBK5HTJ2.js +0 -2
- package/dist/cdn/JF7VJGL4.js +0 -2
- package/dist/cdn/K23R26AN.js +0 -2
- package/dist/cdn/K7ELALW4.js +0 -2
- package/dist/cdn/K7XSWKZ2.js +0 -2
- package/dist/cdn/KCLVDXWB.js +0 -2
- package/dist/cdn/KFTFKI6A.js +0 -2
- package/dist/cdn/KLVBRTYU.js +0 -2
- package/dist/cdn/KPUEQZ7O.js +0 -2
- package/dist/cdn/KVYBIOH5.js +0 -2
- package/dist/cdn/L46JLXJT.js +0 -2
- package/dist/cdn/LC37F7HF.js +0 -2
- package/dist/cdn/LKAJVIS2.js +0 -2
- package/dist/cdn/LOOJWRCW.js +0 -2
- package/dist/cdn/LU22VNJ7.js +0 -2
- package/dist/cdn/LY6LSUSY.js +0 -2
- package/dist/cdn/LZVMUNZC.js +0 -2
- package/dist/cdn/M2LKA37F.js +0 -2
- package/dist/cdn/M42QFFPZ.js +0 -2
- package/dist/cdn/M5KYBYZT.js +0 -2
- package/dist/cdn/MA2GVVQJ.js +0 -2
- package/dist/cdn/MBGCAZPS.js +0 -4
- package/dist/cdn/MCMACXJV.js +0 -2
- package/dist/cdn/MDWBYUFG.js +0 -2
- package/dist/cdn/MFWSWLBW.js +0 -2
- package/dist/cdn/MMYODAC2.js +0 -2
- package/dist/cdn/MUNSXJ5X.js +0 -2
- package/dist/cdn/MWIDHMQZ.js +0 -2
- package/dist/cdn/NDCZFJEK.js +0 -3
- package/dist/cdn/NFCFPU7K.js +0 -2
- package/dist/cdn/NJPPZJ3L.js +0 -2
- package/dist/cdn/NQOS7L2J.js +0 -2
- package/dist/cdn/NWFGMNGG.js +0 -2
- package/dist/cdn/NY7RHFLZ.js +0 -2
- package/dist/cdn/O5YJPUFM.js +0 -2
- package/dist/cdn/O6HYZKBU.js +0 -2
- package/dist/cdn/OAMPGCZF.js +0 -2
- package/dist/cdn/OPNJGHML.js +0 -2
- package/dist/cdn/OSDGWHZZ.js +0 -2
- package/dist/cdn/P3PXDT5V.js +0 -2
- package/dist/cdn/PBHNO4J7.js +0 -2
- package/dist/cdn/PBYHBRG7.js +0 -2
- package/dist/cdn/PDH2DA3L.js +0 -2
- package/dist/cdn/PGK2ZJCX.js +0 -2
- package/dist/cdn/PGSBUAGV.js +0 -2
- package/dist/cdn/PGXNWDD3.js +0 -2
- package/dist/cdn/PJ5OUPGO.js +0 -2
- package/dist/cdn/PWHXRRFU.js +0 -2
- package/dist/cdn/PZSKFFTG.js +0 -2
- package/dist/cdn/PZUVKZGQ.js +0 -2
- package/dist/cdn/QCVMDYJD.js +0 -2
- package/dist/cdn/QEPANMVK.js +0 -2
- package/dist/cdn/QOIURU47.js +0 -2
- package/dist/cdn/QPSAD5DG.js +0 -2
- package/dist/cdn/QTB5YKHB.js +0 -2
- package/dist/cdn/QWIDIEXY.js +0 -2
- package/dist/cdn/R5QMO5FY.js +0 -2
- package/dist/cdn/R5TCWJ6V.js +0 -2
- package/dist/cdn/R5YW65AI.js +0 -2
- package/dist/cdn/R67ZOCIR.js +0 -2
- package/dist/cdn/RGTUSH6U.js +0 -2
- package/dist/cdn/RVEUCXT4.js +0 -2
- package/dist/cdn/RZGWZ2FJ.js +0 -2
- package/dist/cdn/S7ORGB5E.js +0 -2
- package/dist/cdn/SEY3WDK2.js +0 -2
- package/dist/cdn/SG55TVJ5.js +0 -2
- package/dist/cdn/SHU4AE2X.js +0 -2
- package/dist/cdn/SIZZ3BQA.js +0 -2
- package/dist/cdn/SLAFIIZU.js +0 -2
- package/dist/cdn/SLSGW7B6.js +0 -2
- package/dist/cdn/SNNAV3AS.js +0 -2
- package/dist/cdn/SR4V2CUQ.js +0 -2
- package/dist/cdn/TA723HWT.js +0 -2
- package/dist/cdn/THJMCEEO.js +0 -2
- package/dist/cdn/TJQ3GP5V.js +0 -2
- package/dist/cdn/TKILR2SM.js +0 -2
- package/dist/cdn/TO6SOEDF.js +0 -2
- package/dist/cdn/TPVHN6P2.js +0 -2
- package/dist/cdn/TSNUOFL7.js +0 -2
- package/dist/cdn/U5DIWFPP.js +0 -2
- package/dist/cdn/UTV2A7J4.js +0 -2
- package/dist/cdn/VDEMMP33.js +0 -2
- package/dist/cdn/VDKEQI3H.js +0 -2
- package/dist/cdn/VOBRCUIE.js +0 -2
- package/dist/cdn/VZ6UFS6H.js +0 -2
- package/dist/cdn/W6PA72LV.js +0 -2
- package/dist/cdn/WK4TNKKC.js +0 -2
- package/dist/cdn/WO26ZR5Z.js +0 -2
- package/dist/cdn/WQI5PKS4.js +0 -2
- package/dist/cdn/WS46QSWM.js +0 -2
- package/dist/cdn/WUTCKBNC.js +0 -2
- package/dist/cdn/X7BOBKIH.js +0 -2
- package/dist/cdn/XCTPKDKL.js +0 -2
- package/dist/cdn/XYF36P2O.js +0 -2
- package/dist/cdn/Y42K6IOP.js +0 -2
- package/dist/cdn/YCHVPSSP.js +0 -2
- package/dist/cdn/YFTQR2WS.js +0 -2
- package/dist/cdn/YTLRTUMD.js +0 -2
- package/dist/cdn/YZUSPKNF.js +0 -2
- package/dist/cdn/Z3W7LQ5M.js +0 -2
- package/dist/cdn/Z6AVJWLP.js +0 -2
- package/dist/cdn/Z7H4V2JZ.js +0 -2
- package/dist/cdn/ZAUG5MSY.js +0 -2
- package/dist/cdn/ZF4DFDLT.js +0 -2
- package/dist/cdn/ZFO3PVZQ.js +0 -2
- package/dist/cdn/ZGOAZB5L.js +0 -2
- package/dist/cdn/ZKWI43WZ.js +0 -2
- package/dist/cdn/ZO7TUIUE.js +0 -2
- package/dist/components/arcgis-feature-form-field/index.d.ts +0 -1
- package/dist/components/arcgis-feature-form-field/types.d.ts +0 -7
- package/dist/components/arcgis-feature-form-field-number/customElement.d.ts +0 -4
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +0 -158
- package/dist/components/arcgis-scale-range-slider/customElement.js +0 -26
- package/dist/components/arcgis-scale-range-slider/index.d.ts +0 -1
- package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +0 -84
- package/dist/components/arcgis-sketch/configuration.d.ts +0 -33
- package/dist/components/arcgis-sketch/support.d.ts +0 -17
- package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +0 -75
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +0 -642
- package/dist/components/arcgis-value-picker-legacy/customElement.js +0 -39
- package/dist/components/arcgis-value-picker-legacy/index.d.ts +0 -1
- package/dist/components/arcgis-value-picker-legacy/index.js +0 -1
- /package/dist/cdn/{LW4IDPBB.js → 2P5AJORF.js} +0 -0
- /package/dist/cdn/{M4D5WUVD.js → 4LWSF6AI.js} +0 -0
- /package/dist/cdn/{I4AEBGQM.js → 5GGAWGSN.js} +0 -0
- /package/dist/cdn/{RUW7CDCH.js → 5GTPIPN7.js} +0 -0
- /package/dist/cdn/{5WKEDXRT.js → 62HMPABL.js} +0 -0
- /package/dist/cdn/{Y37UMTGV.js → 7YT5W57B.js} +0 -0
- /package/dist/cdn/{WEOKELJE.js → AKTIOEYM.js} +0 -0
- /package/dist/cdn/{VKRAWBPC.js → AYQJ2LTV.js} +0 -0
- /package/dist/cdn/{REGHMH6D.js → CHMBPPHS.js} +0 -0
- /package/dist/cdn/{UHI54OG6.js → DLUFAV4S.js} +0 -0
- /package/dist/cdn/{7FGOCFTQ.js → DPEWQQEB.js} +0 -0
- /package/dist/cdn/{36ZT6IRE.js → ECA47Z37.js} +0 -0
- /package/dist/cdn/{IBN4TKBI.js → FJMXBIN5.js} +0 -0
- /package/dist/cdn/{OCQXPA57.js → G4IKO2R6.js} +0 -0
- /package/dist/cdn/{22I5XGTS.js → GCPR7XFU.js} +0 -0
- /package/dist/cdn/{QVAB57VJ.js → IAYL44LK.js} +0 -0
- /package/dist/cdn/{QNBNH7ME.js → IRFIHD5X.js} +0 -0
- /package/dist/cdn/{4657ONKJ.js → KOMTNQPT.js} +0 -0
- /package/dist/cdn/{CUVRESLH.js → LS4U4GD5.js} +0 -0
- /package/dist/cdn/{GUZCA62E.js → LVIYMA67.js} +0 -0
- /package/dist/cdn/{HJVHORPG.js → MEISDI2H.js} +0 -0
- /package/dist/cdn/{YHPASRFL.js → N2YWWQOS.js} +0 -0
- /package/dist/cdn/{DNE47HSP.js → NVKOZL7X.js} +0 -0
- /package/dist/cdn/{24MLXKMZ.js → NVN2CATF.js} +0 -0
- /package/dist/cdn/{4O6FFXUV.js → OFBWNR54.js} +0 -0
- /package/dist/cdn/{A7SZYQDH.js → OLSESBZ7.js} +0 -0
- /package/dist/cdn/{54GFXFK4.js → PWZHB6VD.js} +0 -0
- /package/dist/cdn/{XULIO6Y3.js → QWMDZDQA.js} +0 -0
- /package/dist/cdn/{ONFKLY6Q.js → RTDY3HLR.js} +0 -0
- /package/dist/cdn/{LUTUHOKB.js → SFDCS6A2.js} +0 -0
- /package/dist/cdn/{OX3WBUBR.js → SLNXNVPI.js} +0 -0
- /package/dist/cdn/{75UV3NKU.js → SLQPDAGN.js} +0 -0
- /package/dist/cdn/{R2D2TXL4.js → T34W3GKP.js} +0 -0
- /package/dist/cdn/{C5XAFXEL.js → TP2KQRW6.js} +0 -0
- /package/dist/cdn/{EH4CBZNF.js → UDXDE3LW.js} +0 -0
- /package/dist/cdn/{JZHZCJTJ.js → XCSF7KJK.js} +0 -0
- /package/dist/cdn/{NWRWQZGL.js → XGWYQ7FU.js} +0 -0
- /package/dist/cdn/{OCFIQBYK.js → XQ2WXTW7.js} +0 -0
- /package/dist/cdn/{PS3KSP2J.js → ZCL4XHIZ.js} +0 -0
- /package/dist/cdn/{42G6XTIG.js → ZHYXFOYU.js} +0 -0
- /package/dist/cdn/{PY5VGH7F.js → ZNIMZP5R.js} +0 -0
- /package/dist/cdn/{R2P5JM7G.js → ZSKO7HLH.js} +0 -0
- /package/dist/components/{arcgis-feature-form-field-number → arcgis-attachment-detail-view}/index.d.ts +0 -0
- /package/dist/components/{arcgis-scale-range-slider → arcgis-video-player-previews}/index.js +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as B } from "../../chunks/runtime.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { useDirection as
|
|
7
|
-
import { getColorsFromRenderer as
|
|
8
|
-
import { LitElement as
|
|
9
|
-
import { substitute as
|
|
10
|
-
import { watch as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { unsafeGetCalciteModeName as
|
|
14
|
-
import { renderingSanitizer as
|
|
15
|
-
import { f as
|
|
16
|
-
import { b as
|
|
17
|
-
const
|
|
18
|
-
function
|
|
19
|
-
if (!
|
|
3
|
+
import { ref as j } from "lit/directives/ref.js";
|
|
4
|
+
import { keyed as W } from "lit/directives/keyed.js";
|
|
5
|
+
import { css as K, html as I, nothing as w } from "lit";
|
|
6
|
+
import { useDirection as G, useMedia as J } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { getColorsFromRenderer as Q } from "@arcgis/core/renderers/support/utils.js";
|
|
8
|
+
import { LitElement as Z } from "@arcgis/lumina";
|
|
9
|
+
import { substitute as ee } from "@arcgis/core/intl.js";
|
|
10
|
+
import { watch as te } from "@arcgis/core/core/reactiveUtils.js";
|
|
11
|
+
import ie from "@arcgis/core/popup/FieldInfo.js";
|
|
12
|
+
import N from "@arcgis/core/popup/content/support/ChartMediaInfoValueSeries.js";
|
|
13
|
+
import { unsafeGetCalciteModeName as re } from "@arcgis/toolkit/dom";
|
|
14
|
+
import { renderingSanitizer as z } from "@arcgis/core/applications/Components/sanitizerUtils.js";
|
|
15
|
+
import { f as b, b as $, m as q, n as E, o as ae, p as X, i as se, q as ne, j as P, s as oe } from "../../chunks/feature-utils.js";
|
|
16
|
+
import { b as le, a as ce, c as de } from "../../chunks/keyboard-utils.js";
|
|
17
|
+
const ue = K`.container{display:flex;flex-flow:row wrap;align-items:center;margin-top:var(--calcite-space-xs);width:100%;min-height:150px}.container .pagination-button{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding-block:var(--calcite-space-xs);padding-inline:var(--calcite-space-xs);color:var(--calcite-color-text-3)}.container .pagination-button:hover,.container .pagination-button:focus{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1);fill:var(--calcite-color-text-1)}.item-title{margin:0;font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-snug)}.item-caption{padding-block-start:var(--calcite-space-2xs);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-snug)}.item{display:flex;align-items:flex-start;justify-content:center;margin-block:var(--calcite-space-xs);width:100%;height:auto}.item-navigation{display:flex;flex:0 1 100%;align-items:flex-start;justify-content:space-between;margin-block-end:var(--calcite-space-xs)}.item-text{margin-inline-end:var(--calcite-space-xs)}.pagination{display:flex;flex:0 0 auto;align-items:center;overflow:hidden}.pagination:only-child{margin-inline-start:auto}.pagination-text{padding-inline:var(--calcite-space-2xs);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.item-container{flex:0 1 auto;width:100%}.item-container img{max-width:100%}.item-container img[src$=".SVG"],.item-container img[src$=".svg"]{width:100%}.chart{width:100%;height:155px}`;
|
|
18
|
+
function k(S) {
|
|
19
|
+
if (!b(S))
|
|
20
20
|
return null;
|
|
21
21
|
const [e, t] = S.split("/").slice(1);
|
|
22
22
|
return { layerId: e, fieldName: t };
|
|
23
23
|
}
|
|
24
|
-
const
|
|
25
|
-
class pe extends
|
|
24
|
+
const V = 15, y = "category", R = "value", T = "rgba(50, 50, 50, 1)", he = 250, fe = 500, me = 200;
|
|
25
|
+
class pe extends Z {
|
|
26
26
|
constructor() {
|
|
27
|
-
super(...arguments), this._direction =
|
|
27
|
+
super(...arguments), this._direction = G(), this._chartRequestRevision = 0, this._chartRevision = 0, this._prefersReducedMotion = J("(prefers-reduced-motion)"), this.activeMediaInfoIndex = 0, this.chartAnimationDisabled = !1, this.headingLevel = 2;
|
|
28
28
|
}
|
|
29
29
|
static {
|
|
30
30
|
this.properties = { _refreshIntervalInfo: 16, messages: 0, values: 0, expressionValues: 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, graphic: 0, formattedMediaInfoCount: 32, headingLevel: 9 };
|
|
31
31
|
}
|
|
32
32
|
static {
|
|
33
|
-
this.styles =
|
|
33
|
+
this.styles = ue;
|
|
34
34
|
}
|
|
35
35
|
get activeMediaInfo() {
|
|
36
36
|
return this.formattedMediaInfos[this.activeMediaInfoIndex] || null;
|
|
@@ -50,12 +50,21 @@ class pe extends Q {
|
|
|
50
50
|
setActiveMedia(e) {
|
|
51
51
|
this._setContentElementMedia(e);
|
|
52
52
|
}
|
|
53
|
+
willUpdate(e) {
|
|
54
|
+
(e.has("expressionValues") || e.has("fieldInfoMap") || e.has("formattedValues") || e.has("graphic") || e.has("layer") || e.has("mediaInfos") || e.has("popupTemplate") || e.has("relatedInfos") || e.has("values")) && this._chartRevision++;
|
|
55
|
+
}
|
|
53
56
|
loaded() {
|
|
54
57
|
this.manager.onLifecycle(() => [
|
|
55
|
-
|
|
58
|
+
te(() => [this.activeMediaInfo, this.activeMediaInfoIndex], () => this._setupMediaRefreshTimer(), { initial: !0 }),
|
|
56
59
|
{ remove: () => this._clearMediaRefreshTimer() }
|
|
57
60
|
]);
|
|
58
61
|
}
|
|
62
|
+
connectedCallback() {
|
|
63
|
+
super.connectedCallback(), this.hasUpdated && this._chartElement?.isConnected && this._updateChartElement(this._chartElement);
|
|
64
|
+
}
|
|
65
|
+
disconnectedCallback() {
|
|
66
|
+
super.disconnectedCallback(), this._chartRequestRevision++, this._chartRoot?.dispose(), this._chartRoot = void 0;
|
|
67
|
+
}
|
|
59
68
|
_setContentElementMedia(e) {
|
|
60
69
|
const { formattedMediaInfoCount: t } = this, i = (e + t) % t;
|
|
61
70
|
this.activeMediaInfoIndex = i;
|
|
@@ -65,48 +74,48 @@ class pe extends Q {
|
|
|
65
74
|
this._setContentElementMedia(i);
|
|
66
75
|
}
|
|
67
76
|
_formatMediaInfos() {
|
|
68
|
-
const { mediaInfos: e, layer: t } = this, i = this.values ?? {}, a = this.formattedValues ?? {},
|
|
77
|
+
const { mediaInfos: e, layer: t } = this, i = this.values ?? {}, a = this.formattedValues ?? {}, s = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), n = this.expressionValues ?? {};
|
|
69
78
|
return e?.map((o) => {
|
|
70
79
|
const r = o?.clone();
|
|
71
80
|
if (!r)
|
|
72
81
|
return null;
|
|
73
|
-
if (r.title =
|
|
82
|
+
if (r.title = $({
|
|
74
83
|
values: i,
|
|
75
|
-
fieldInfoMap:
|
|
84
|
+
fieldInfoMap: s,
|
|
76
85
|
globalValues: a,
|
|
77
86
|
layer: t,
|
|
78
87
|
text: r.title
|
|
79
|
-
}), r.caption =
|
|
88
|
+
}), r.caption = $({
|
|
80
89
|
values: i,
|
|
81
|
-
fieldInfoMap:
|
|
90
|
+
fieldInfoMap: s,
|
|
82
91
|
globalValues: a,
|
|
83
92
|
layer: t,
|
|
84
93
|
text: r.caption
|
|
85
|
-
}), r.altText =
|
|
94
|
+
}), r.altText = $({
|
|
86
95
|
values: i,
|
|
87
|
-
fieldInfoMap:
|
|
96
|
+
fieldInfoMap: s,
|
|
88
97
|
globalValues: a,
|
|
89
98
|
layer: t,
|
|
90
99
|
text: r.altText
|
|
91
100
|
}), r.type === "image") {
|
|
92
101
|
if (!r.value)
|
|
93
102
|
return null;
|
|
94
|
-
const
|
|
103
|
+
const d = r.value;
|
|
95
104
|
return this._setImageValue({
|
|
96
|
-
value:
|
|
105
|
+
value: d,
|
|
97
106
|
formattedValues: a,
|
|
98
107
|
layer: t
|
|
99
|
-
}),
|
|
108
|
+
}), d.sourceURL ? r : void 0;
|
|
100
109
|
}
|
|
101
110
|
if (r.type === "pie-chart" || r.type === "line-chart" || r.type === "column-chart" || r.type === "bar-chart") {
|
|
102
111
|
if (!r.value)
|
|
103
112
|
return null;
|
|
104
|
-
const
|
|
113
|
+
const d = r.value;
|
|
105
114
|
return this._setChartValue({
|
|
106
|
-
value:
|
|
115
|
+
value: d,
|
|
107
116
|
chartType: r.type,
|
|
108
117
|
values: i,
|
|
109
|
-
expressionValues:
|
|
118
|
+
expressionValues: n,
|
|
110
119
|
formattedValues: a,
|
|
111
120
|
layer: t
|
|
112
121
|
}), r;
|
|
@@ -115,18 +124,18 @@ class pe extends Q {
|
|
|
115
124
|
}).filter((o) => o != null) ?? [];
|
|
116
125
|
}
|
|
117
126
|
_setImageValue(e) {
|
|
118
|
-
const t = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { value: i, formattedValues: a, layer:
|
|
127
|
+
const t = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { value: i, formattedValues: a, layer: s } = e, { linkURL: n, sourceURL: o } = i;
|
|
119
128
|
if (o) {
|
|
120
|
-
const r =
|
|
121
|
-
i.sourceURL =
|
|
129
|
+
const r = q(o, s);
|
|
130
|
+
i.sourceURL = E({
|
|
122
131
|
formattedValues: a,
|
|
123
132
|
template: r,
|
|
124
133
|
fieldInfoMap: t
|
|
125
134
|
});
|
|
126
135
|
}
|
|
127
|
-
if (
|
|
128
|
-
const r =
|
|
129
|
-
i.linkURL =
|
|
136
|
+
if (n) {
|
|
137
|
+
const r = q(n, s);
|
|
138
|
+
i.linkURL = E({
|
|
130
139
|
formattedValues: a,
|
|
131
140
|
template: r,
|
|
132
141
|
fieldInfoMap: t
|
|
@@ -134,97 +143,97 @@ class pe extends Q {
|
|
|
134
143
|
}
|
|
135
144
|
}
|
|
136
145
|
_setChartValue(e) {
|
|
137
|
-
const { value: t, values: i, expressionValues: a, formattedValues:
|
|
138
|
-
if (t.fields = ae(
|
|
146
|
+
const { value: t, values: i, expressionValues: a, formattedValues: s, chartType: n, layer: o } = e, { popupTemplate: r, relatedInfos: d } = this, { fields: h, normalizeField: v } = t, l = o;
|
|
147
|
+
if (t.fields = ae(h, l), v && (t.normalizeField = X(v, l)), !h.some((u) => !!(s[u] != null || b(u) && d?.size)))
|
|
139
148
|
return;
|
|
140
|
-
const
|
|
141
|
-
t.series = [],
|
|
142
|
-
const
|
|
143
|
-
if (
|
|
149
|
+
const f = r?.fieldInfos ?? [];
|
|
150
|
+
t.series = [], h.forEach((u, p) => {
|
|
151
|
+
const m = t.colors?.[p];
|
|
152
|
+
if (b(u)) {
|
|
144
153
|
t.series = [
|
|
145
154
|
...t.series,
|
|
146
155
|
...this._getRelatedChartInfos({
|
|
147
|
-
fieldInfos:
|
|
148
|
-
fieldName:
|
|
149
|
-
formattedValues:
|
|
156
|
+
fieldInfos: f,
|
|
157
|
+
fieldName: u,
|
|
158
|
+
formattedValues: s,
|
|
150
159
|
expressionValues: a,
|
|
151
|
-
chartType:
|
|
160
|
+
chartType: n,
|
|
152
161
|
value: t,
|
|
153
|
-
color:
|
|
162
|
+
color: m
|
|
154
163
|
})
|
|
155
164
|
];
|
|
156
165
|
return;
|
|
157
166
|
}
|
|
158
|
-
const
|
|
167
|
+
const g = this._getChartOption({
|
|
159
168
|
value: t,
|
|
160
169
|
values: i,
|
|
161
|
-
chartType:
|
|
162
|
-
formattedValues:
|
|
170
|
+
chartType: n,
|
|
171
|
+
formattedValues: s,
|
|
163
172
|
expressionValues: a,
|
|
164
|
-
fieldName:
|
|
165
|
-
fieldInfos:
|
|
166
|
-
color:
|
|
173
|
+
fieldName: u,
|
|
174
|
+
fieldInfos: f,
|
|
175
|
+
color: m
|
|
167
176
|
});
|
|
168
|
-
t.series.push(
|
|
177
|
+
t.series.push(g);
|
|
169
178
|
});
|
|
170
179
|
}
|
|
171
180
|
_getRelatedChartInfos(e) {
|
|
172
|
-
const { fieldInfos: t, fieldName: i, formattedValues: a, chartType:
|
|
173
|
-
if (!
|
|
174
|
-
return
|
|
175
|
-
const { relatedFeatures: l, relation:
|
|
176
|
-
if (!
|
|
177
|
-
return
|
|
178
|
-
const { cardinality:
|
|
179
|
-
return l.forEach((
|
|
180
|
-
const
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
value:
|
|
184
|
-
values:
|
|
181
|
+
const { fieldInfos: t, fieldName: i, formattedValues: a, chartType: s, value: n, color: o, expressionValues: r } = e, d = [], h = k(i), v = h && this.relatedInfos?.get(h.layerId);
|
|
182
|
+
if (!v)
|
|
183
|
+
return d;
|
|
184
|
+
const { relatedFeatures: l, relation: c } = v;
|
|
185
|
+
if (!c || !l)
|
|
186
|
+
return d;
|
|
187
|
+
const { cardinality: f } = c;
|
|
188
|
+
return l.forEach((p) => {
|
|
189
|
+
const m = p.attributes;
|
|
190
|
+
m && Object.keys(m).forEach((g) => {
|
|
191
|
+
g === h.fieldName && d.push(this._getChartOption({
|
|
192
|
+
value: n,
|
|
193
|
+
values: m,
|
|
185
194
|
formattedValues: a,
|
|
186
195
|
expressionValues: r,
|
|
187
196
|
fieldName: i,
|
|
188
|
-
chartType:
|
|
189
|
-
relatedFieldName:
|
|
197
|
+
chartType: s,
|
|
198
|
+
relatedFieldName: g,
|
|
190
199
|
hasMultipleRelatedFeatures: l?.length > 1,
|
|
191
200
|
fieldInfos: t,
|
|
192
201
|
color: o
|
|
193
202
|
}));
|
|
194
203
|
});
|
|
195
|
-
}),
|
|
204
|
+
}), f && (f === "one-to-many" || f === "many-to-many") ? d : [d[0]];
|
|
196
205
|
}
|
|
197
206
|
_getTooltip({ label: e, value: t, chartType: i }) {
|
|
198
207
|
return i === "pie-chart" ? `${e}` : `${e}: ${t}`;
|
|
199
208
|
}
|
|
200
209
|
_getChartOption(e) {
|
|
201
|
-
const { value: t, values: i, formattedValues: a, expressionValues:
|
|
202
|
-
fieldInfo:
|
|
210
|
+
const { value: t, values: i, formattedValues: a, expressionValues: s, fieldName: n, relatedFieldName: o, fieldInfos: r, chartType: d, hasMultipleRelatedFeatures: h, color: v } = e, { layer: l, graphic: c } = this, f = this.fieldInfoMap ?? /* @__PURE__ */ new Map(), { normalizeField: u, tooltipField: p } = t, m = u ? b(u) ? i[k(u).fieldName] : i[u] : null, g = se(n) && s?.[n] !== void 0 ? s[n] : o && i[o] !== void 0 ? i[o] : i[n] !== void 0 ? i[n] : a[n], x = g === void 0 ? null : g && m && typeof g == "number" && typeof m == "number" ? g / m : g, _ = ne(r, n), C = X(n, l), M = (p && a[p] !== void 0 ? a[p] : P({
|
|
211
|
+
fieldInfo: _ || new ie({ fieldName: C }),
|
|
203
212
|
expressionInfos: this.popupTemplate?.expressionInfos,
|
|
204
|
-
graphic:
|
|
213
|
+
graphic: c,
|
|
205
214
|
layer: l
|
|
206
|
-
})) ?? "", Y = a[
|
|
207
|
-
if (
|
|
208
|
-
const
|
|
209
|
-
return new
|
|
210
|
-
fieldName:
|
|
215
|
+
})) ?? "", Y = a[C] ?? "", L = x != null ? typeof x == "number" ? x : Number(x) : null;
|
|
216
|
+
if (b(n)) {
|
|
217
|
+
const A = f.get(n.toLowerCase()), U = p ? f.get(p.toLowerCase()) : null, D = A?.fieldName ?? n, F = h && p ? k(p).fieldName : U?.fieldName ?? p, O = (h && F ? i[F] : a[F] ?? (A && P({ fieldInfo: A, layer: l, graphic: c })) ?? A?.fieldName ?? o) ?? "", H = (h && o ? i[o] : a[D]) ?? "";
|
|
218
|
+
return new N({
|
|
219
|
+
fieldName: n,
|
|
211
220
|
tooltip: this._getTooltip({
|
|
212
221
|
label: O,
|
|
213
222
|
value: H,
|
|
214
|
-
chartType:
|
|
223
|
+
chartType: d
|
|
215
224
|
}),
|
|
216
|
-
color:
|
|
225
|
+
color: v,
|
|
217
226
|
value: L
|
|
218
227
|
});
|
|
219
228
|
}
|
|
220
|
-
return new
|
|
221
|
-
fieldName:
|
|
229
|
+
return new N({
|
|
230
|
+
fieldName: n,
|
|
222
231
|
tooltip: this._getTooltip({
|
|
223
|
-
label:
|
|
232
|
+
label: M,
|
|
224
233
|
value: Y,
|
|
225
|
-
chartType:
|
|
234
|
+
chartType: d
|
|
226
235
|
}),
|
|
227
|
-
color:
|
|
236
|
+
color: v,
|
|
228
237
|
value: L
|
|
229
238
|
});
|
|
230
239
|
}
|
|
@@ -242,25 +251,38 @@ class pe extends Q {
|
|
|
242
251
|
const { color: e } = await import("@amcharts/amcharts5/index.js"), t = /* @__PURE__ */ new Map(), i = this._getRenderer(), a = "default";
|
|
243
252
|
if (!i)
|
|
244
253
|
return t;
|
|
245
|
-
const
|
|
246
|
-
return
|
|
247
|
-
const r =
|
|
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);
|
|
248
257
|
r && t.set(o, e(r));
|
|
249
258
|
}), t;
|
|
250
259
|
}
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
260
|
+
_isChartRequestCurrent(e) {
|
|
261
|
+
return this.isConnected && e === this._chartRequestRevision;
|
|
262
|
+
}
|
|
263
|
+
async _createChart(e, t) {
|
|
264
|
+
const { activeMediaInfo: i } = this;
|
|
265
|
+
if (!e || !i)
|
|
266
|
+
return;
|
|
267
|
+
const { createRoot: a } = await import("../../chunks/chart-utils.js");
|
|
268
|
+
if (!this._isChartRequestCurrent(t) || !e.isConnected)
|
|
254
269
|
return;
|
|
255
|
-
const
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
270
|
+
const s = await a(e, void 0, (n) => {
|
|
271
|
+
this._chartRoot = n;
|
|
272
|
+
});
|
|
273
|
+
if (!this._isChartRequestCurrent(t) || !e.isConnected) {
|
|
274
|
+
s.isDisposed() || s.dispose();
|
|
275
|
+
return;
|
|
276
|
+
}
|
|
277
|
+
await this._renderChart({
|
|
278
|
+
mediaInfo: i,
|
|
279
|
+
root: s,
|
|
280
|
+
requestRevision: t
|
|
259
281
|
});
|
|
260
282
|
}
|
|
261
283
|
_handleMediaKeydown(e) {
|
|
262
284
|
const { key: t } = e;
|
|
263
|
-
e.defaultPrevented ||
|
|
285
|
+
e.defaultPrevented || le(e) || (ce(t, this._direction, { horizontalOnly: !0 }) && (e.stopPropagation(), e.preventDefault(), this.previous()), de(t, this._direction, { horizontalOnly: !0 }) && (e.stopPropagation(), e.preventDefault(), this.next()));
|
|
264
286
|
}
|
|
265
287
|
_canAnimateChart() {
|
|
266
288
|
return !this.chartAnimationDisabled && !this._prefersReducedMotion;
|
|
@@ -271,12 +293,11 @@ class pe extends Q {
|
|
|
271
293
|
_getChartSeriesAnimationMS() {
|
|
272
294
|
return this._canAnimateChart() ? fe : 0;
|
|
273
295
|
}
|
|
274
|
-
|
|
275
|
-
const { color: i } = await import("@amcharts/amcharts5/index.js");
|
|
296
|
+
_customizeChartTooltip(e, t, i = "horizontal") {
|
|
276
297
|
e.setAll({
|
|
277
|
-
pointerOrientation:
|
|
298
|
+
pointerOrientation: i
|
|
278
299
|
}), e.get("background")?.setAll({
|
|
279
|
-
stroke:
|
|
300
|
+
stroke: t
|
|
280
301
|
}), e.label.setAll({
|
|
281
302
|
direction: this._direction,
|
|
282
303
|
oversizedBehavior: "wrap",
|
|
@@ -284,173 +305,188 @@ class pe extends Q {
|
|
|
284
305
|
});
|
|
285
306
|
}
|
|
286
307
|
async _createPieChart(e, t) {
|
|
287
|
-
const [{ Tooltip: i }, { PieChart:
|
|
308
|
+
const [{ Tooltip: i, color: a }, { PieChart: s, PieSeries: n }] = await Promise.all([
|
|
288
309
|
import("@amcharts/amcharts5/index.js"),
|
|
289
310
|
import("@amcharts/amcharts5/percent.js")
|
|
290
|
-
])
|
|
311
|
+
]);
|
|
312
|
+
if (!this._isChartRequestCurrent(e.requestRevision))
|
|
313
|
+
return;
|
|
314
|
+
const { mediaInfo: o, root: r } = e, { title: d } = o, h = 5, v = o?.altText || o?.title || "", l = r.container.children.push(s.new(r, {
|
|
291
315
|
role: "figure",
|
|
292
|
-
ariaLabel:
|
|
316
|
+
ariaLabel: v,
|
|
293
317
|
focusable: !0,
|
|
294
|
-
paddingBottom:
|
|
295
|
-
paddingTop:
|
|
296
|
-
paddingLeft:
|
|
297
|
-
paddingRight:
|
|
298
|
-
})),
|
|
299
|
-
({value})`,
|
|
300
|
-
labelText:
|
|
301
|
-
}), u =
|
|
302
|
-
name:
|
|
303
|
-
valueField:
|
|
304
|
-
categoryField:
|
|
305
|
-
tooltip:
|
|
318
|
+
paddingBottom: h,
|
|
319
|
+
paddingTop: h,
|
|
320
|
+
paddingLeft: h,
|
|
321
|
+
paddingRight: h
|
|
322
|
+
})), c = `{category}: {valuePercentTotal.formatNumber('0.00')}%
|
|
323
|
+
({value})`, f = i.new(r, {
|
|
324
|
+
labelText: c
|
|
325
|
+
}), u = l.series.push(n.new(r, {
|
|
326
|
+
name: d,
|
|
327
|
+
valueField: R,
|
|
328
|
+
categoryField: y,
|
|
329
|
+
tooltip: f
|
|
306
330
|
}));
|
|
307
331
|
u.ticks.template.set("forceHidden", !0), u.labels.template.set("forceHidden", !0), u.slices.template.states.create("active", {
|
|
308
|
-
shiftRadius:
|
|
309
|
-
}), this._customizeChartTooltip(
|
|
310
|
-
ariaLabel:
|
|
332
|
+
shiftRadius: h
|
|
333
|
+
}), this._customizeChartTooltip(f, a(T)), u.slices.template.setAll({
|
|
334
|
+
ariaLabel: c,
|
|
311
335
|
focusable: !0,
|
|
312
336
|
templateField: "columnSettings"
|
|
313
|
-
}), u.data.setAll(t), u.appear(this._getChartSeriesAnimationMS()),
|
|
337
|
+
}), u.data.setAll(t), u.appear(this._getChartSeriesAnimationMS()), l.appear(this._getChartAnimationMS()), l.root.dom.classList.toggle("chart-rendered", !0);
|
|
314
338
|
}
|
|
315
339
|
_getMinSeriesValue(e) {
|
|
316
340
|
let t = 0;
|
|
317
341
|
return e.forEach((i) => t = Math.min(i.value, t)), t;
|
|
318
342
|
}
|
|
319
343
|
async _createColumnChart(e, t, i) {
|
|
320
|
-
const [{ Tooltip: a, Scrollbar: n }, { CategoryAxis:
|
|
344
|
+
const [{ Tooltip: a, Scrollbar: s, color: n }, { CategoryAxis: o, AxisRendererX: r, AxisRendererY: d, ValueAxis: h, ColumnSeries: v }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]);
|
|
345
|
+
if (!this._isChartRequestCurrent(t.requestRevision))
|
|
346
|
+
return;
|
|
347
|
+
const { mediaInfo: l, root: c } = t, { value: f, title: u } = l, { _direction: p } = this;
|
|
321
348
|
e.setAll({
|
|
322
349
|
wheelX: "panX",
|
|
323
350
|
wheelY: "zoomX"
|
|
324
351
|
});
|
|
325
|
-
const
|
|
326
|
-
renderer:
|
|
327
|
-
inversed:
|
|
352
|
+
const m = e.xAxes.push(o.new(c, {
|
|
353
|
+
renderer: r.new(c, {
|
|
354
|
+
inversed: p === "rtl"
|
|
328
355
|
}),
|
|
329
|
-
categoryField:
|
|
356
|
+
categoryField: y
|
|
330
357
|
}));
|
|
331
|
-
|
|
358
|
+
m.get("renderer").labels.template.setAll({
|
|
332
359
|
forceHidden: !0
|
|
333
360
|
});
|
|
334
|
-
const g = e.yAxes.push(
|
|
335
|
-
renderer:
|
|
336
|
-
min: this._getMinSeriesValue(
|
|
361
|
+
const g = e.yAxes.push(h.new(c, {
|
|
362
|
+
renderer: d.new(c, { inside: !1 }),
|
|
363
|
+
min: this._getMinSeriesValue(f.series)
|
|
337
364
|
}));
|
|
338
365
|
g.get("renderer").labels.template.setAll({
|
|
339
|
-
direction:
|
|
366
|
+
direction: p
|
|
340
367
|
});
|
|
341
|
-
const x = "{categoryX}",
|
|
368
|
+
const x = "{categoryX}", _ = a.new(c, {
|
|
342
369
|
labelText: x
|
|
343
|
-
}),
|
|
370
|
+
}), C = e.series.push(v.new(c, {
|
|
344
371
|
name: u,
|
|
345
|
-
xAxis:
|
|
372
|
+
xAxis: m,
|
|
346
373
|
yAxis: g,
|
|
347
|
-
valueYField:
|
|
348
|
-
categoryXField:
|
|
349
|
-
tooltip:
|
|
374
|
+
valueYField: R,
|
|
375
|
+
categoryXField: y,
|
|
376
|
+
tooltip: _
|
|
350
377
|
}));
|
|
351
|
-
this._customizeChartTooltip(
|
|
378
|
+
this._customizeChartTooltip(_, n(T)), C.columns.template.setAll({
|
|
352
379
|
ariaLabel: x,
|
|
353
380
|
focusable: !0,
|
|
354
381
|
templateField: "columnSettings"
|
|
355
|
-
}),
|
|
382
|
+
}), f.series.length > V && e.set("scrollbarX", s.new(c, {
|
|
356
383
|
orientation: "horizontal"
|
|
357
|
-
})),
|
|
384
|
+
})), m.data.setAll(i), C.data.setAll(i), C.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
358
385
|
}
|
|
359
386
|
async _createBarChart(e, t, i) {
|
|
360
|
-
const [{ Tooltip: a, Scrollbar: n }, { CategoryAxis:
|
|
387
|
+
const [{ Tooltip: a, Scrollbar: s, color: n }, { CategoryAxis: o, AxisRendererX: r, AxisRendererY: d, ValueAxis: h, ColumnSeries: v }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]);
|
|
388
|
+
if (!this._isChartRequestCurrent(t.requestRevision))
|
|
389
|
+
return;
|
|
390
|
+
const { mediaInfo: l, root: c } = t, { value: f, title: u } = l, { _direction: p } = this;
|
|
361
391
|
e.setAll({
|
|
362
392
|
wheelX: "panY",
|
|
363
393
|
wheelY: "zoomY"
|
|
364
394
|
});
|
|
365
|
-
const
|
|
366
|
-
renderer:
|
|
395
|
+
const m = e.yAxes.push(o.new(c, {
|
|
396
|
+
renderer: d.new(c, {
|
|
367
397
|
inversed: !0
|
|
368
398
|
}),
|
|
369
|
-
categoryField:
|
|
399
|
+
categoryField: y
|
|
370
400
|
}));
|
|
371
|
-
|
|
401
|
+
m.get("renderer").labels.template.setAll({
|
|
372
402
|
forceHidden: !0
|
|
373
403
|
});
|
|
374
|
-
const g = e.xAxes.push(
|
|
375
|
-
renderer:
|
|
404
|
+
const g = e.xAxes.push(h.new(c, {
|
|
405
|
+
renderer: r.new(c, {
|
|
376
406
|
inside: !1,
|
|
377
|
-
inversed:
|
|
407
|
+
inversed: p === "rtl"
|
|
378
408
|
}),
|
|
379
|
-
min: this._getMinSeriesValue(
|
|
409
|
+
min: this._getMinSeriesValue(f.series)
|
|
380
410
|
}));
|
|
381
411
|
g.get("renderer").labels.template.setAll({
|
|
382
|
-
direction:
|
|
412
|
+
direction: p
|
|
383
413
|
});
|
|
384
|
-
const x = "{categoryY}",
|
|
414
|
+
const x = "{categoryY}", _ = a.new(c, {
|
|
385
415
|
labelText: x
|
|
386
|
-
}),
|
|
416
|
+
}), C = e.series.push(v.new(c, {
|
|
387
417
|
name: u,
|
|
388
418
|
xAxis: g,
|
|
389
|
-
yAxis:
|
|
390
|
-
valueXField:
|
|
391
|
-
categoryYField:
|
|
392
|
-
tooltip:
|
|
419
|
+
yAxis: m,
|
|
420
|
+
valueXField: R,
|
|
421
|
+
categoryYField: y,
|
|
422
|
+
tooltip: _
|
|
393
423
|
}));
|
|
394
|
-
this._customizeChartTooltip(
|
|
424
|
+
this._customizeChartTooltip(_, n(T), "vertical"), C.columns.template.setAll({
|
|
395
425
|
ariaLabel: x,
|
|
396
426
|
focusable: !0,
|
|
397
427
|
templateField: "columnSettings"
|
|
398
|
-
}),
|
|
428
|
+
}), f.series.length > V && e.set("scrollbarY", s.new(c, {
|
|
399
429
|
orientation: "vertical"
|
|
400
|
-
})),
|
|
430
|
+
})), m.data.setAll(i), C.data.setAll(i), C.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
401
431
|
}
|
|
402
432
|
async _createLineChart(e, t, i) {
|
|
403
|
-
const [{ Tooltip: a, Scrollbar: n }, { CategoryAxis:
|
|
433
|
+
const [{ Tooltip: a, Scrollbar: s, color: n }, { CategoryAxis: o, AxisRendererX: r, AxisRendererY: d, ValueAxis: h, LineSeries: v }] = await Promise.all([import("@amcharts/amcharts5/index.js"), import("@amcharts/amcharts5/xy.js")]);
|
|
434
|
+
if (!this._isChartRequestCurrent(t.requestRevision))
|
|
435
|
+
return;
|
|
436
|
+
const { root: l, mediaInfo: c } = t, { value: f, title: u } = c, { _direction: p } = this;
|
|
404
437
|
e.setAll({
|
|
405
438
|
wheelX: "panX",
|
|
406
439
|
wheelY: "zoomX"
|
|
407
440
|
});
|
|
408
|
-
const
|
|
409
|
-
renderer:
|
|
410
|
-
inversed:
|
|
441
|
+
const m = e.xAxes.push(o.new(l, {
|
|
442
|
+
renderer: r.new(l, {
|
|
443
|
+
inversed: p === "rtl"
|
|
411
444
|
}),
|
|
412
|
-
categoryField:
|
|
445
|
+
categoryField: y
|
|
413
446
|
}));
|
|
414
|
-
|
|
447
|
+
m.get("renderer").labels.template.setAll({
|
|
415
448
|
forceHidden: !0
|
|
416
449
|
});
|
|
417
|
-
const g = e.yAxes.push(
|
|
418
|
-
renderer:
|
|
419
|
-
min: this._getMinSeriesValue(
|
|
450
|
+
const g = e.yAxes.push(h.new(l, {
|
|
451
|
+
renderer: d.new(l, { inside: !1 }),
|
|
452
|
+
min: this._getMinSeriesValue(f.series)
|
|
420
453
|
}));
|
|
421
454
|
g.get("renderer").labels.template.setAll({
|
|
422
|
-
direction:
|
|
455
|
+
direction: p
|
|
423
456
|
});
|
|
424
|
-
const x = "{categoryX}",
|
|
425
|
-
getFillFromSprite: !
|
|
457
|
+
const x = "{categoryX}", _ = i[0]?.lineSettings?.stroke, C = a.new(l, {
|
|
458
|
+
getFillFromSprite: !_,
|
|
426
459
|
labelText: x
|
|
427
460
|
});
|
|
428
|
-
|
|
429
|
-
fill:
|
|
461
|
+
_ && C.get("background")?.setAll({
|
|
462
|
+
fill: _
|
|
430
463
|
});
|
|
431
|
-
const M = e.series.push(
|
|
464
|
+
const M = e.series.push(v.new(l, {
|
|
432
465
|
name: u,
|
|
433
|
-
xAxis:
|
|
466
|
+
xAxis: m,
|
|
434
467
|
yAxis: g,
|
|
435
|
-
valueYField:
|
|
436
|
-
categoryXField:
|
|
437
|
-
tooltip:
|
|
468
|
+
valueYField: R,
|
|
469
|
+
categoryXField: y,
|
|
470
|
+
tooltip: C
|
|
438
471
|
}));
|
|
439
472
|
M.strokes.template.setAll({
|
|
440
473
|
templateField: "lineSettings"
|
|
441
|
-
}), this._customizeChartTooltip(
|
|
474
|
+
}), this._customizeChartTooltip(C, n(T), "vertical"), f.series.length > V && e.set("scrollbarX", s.new(l, {
|
|
442
475
|
orientation: "horizontal"
|
|
443
|
-
})),
|
|
476
|
+
})), m.data.setAll(i), M.data.setAll(i), M.appear(this._getChartSeriesAnimationMS()), e.appear(this._getChartAnimationMS());
|
|
444
477
|
}
|
|
445
478
|
async _createXYChart(e, t) {
|
|
446
|
-
const { XYChart: i, XYCursor: a } = await import("@amcharts/amcharts5/xy.js")
|
|
479
|
+
const { XYChart: i, XYCursor: a } = await import("@amcharts/amcharts5/xy.js");
|
|
480
|
+
if (!this._isChartRequestCurrent(e.requestRevision))
|
|
481
|
+
return;
|
|
482
|
+
const { root: s, mediaInfo: n } = e, { type: o } = n, r = n?.altText || n?.title || "", d = s.container.children.push(i.new(s, {
|
|
447
483
|
role: "figure",
|
|
448
484
|
ariaLabel: r,
|
|
449
485
|
focusable: !0,
|
|
450
486
|
panX: !0,
|
|
451
487
|
panY: !0
|
|
452
488
|
}));
|
|
453
|
-
|
|
489
|
+
d.set("cursor", a.new(s, {})), o === "column-chart" ? await this._createColumnChart(d, e, t) : o === "bar-chart" ? await this._createBarChart(d, e, t) : o === "line-chart" && await this._createLineChart(d, e, t), this._isChartRequestCurrent(e.requestRevision) && d.root.dom.classList.toggle("chart-rendered", !0);
|
|
454
490
|
}
|
|
455
491
|
_clearMediaRefreshTimer() {
|
|
456
492
|
const { _refreshTimer: e } = this;
|
|
@@ -471,24 +507,26 @@ class pe extends Q {
|
|
|
471
507
|
_setRefreshTimeout(e) {
|
|
472
508
|
const { refreshInterval: t, value: i } = e, a = t * 6e4;
|
|
473
509
|
this._updateMediaInfoTimestamp(i.sourceURL);
|
|
474
|
-
const
|
|
510
|
+
const s = window.setInterval(() => {
|
|
475
511
|
this._updateMediaInfoTimestamp(i.sourceURL);
|
|
476
512
|
}, a);
|
|
477
|
-
this._refreshTimer =
|
|
513
|
+
this._refreshTimer = s;
|
|
478
514
|
}
|
|
479
515
|
_getImageSource(e, t) {
|
|
480
|
-
const i = e.includes("?") ? "&" : "?", [a,
|
|
481
|
-
return `${a}${i}timestamp=${t}${
|
|
516
|
+
const i = e.includes("?") ? "&" : "?", [a, s = ""] = e.split("#");
|
|
517
|
+
return `${a}${i}timestamp=${t}${s ? "#" : ""}${s}`;
|
|
482
518
|
}
|
|
483
519
|
_updateChartElement(e) {
|
|
484
|
-
this.
|
|
520
|
+
this._chartElement = e;
|
|
521
|
+
const t = ++this._chartRequestRevision;
|
|
522
|
+
this._chartRoot?.dispose(), this._chartRoot = void 0, !(!e || !this.isConnected) && this._createChart(e, t);
|
|
485
523
|
}
|
|
486
524
|
render() {
|
|
487
|
-
return
|
|
525
|
+
return I`<div class="root" @keydown=${this._handleMediaKeydown}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderMedia()}</div>`;
|
|
488
526
|
}
|
|
489
527
|
_renderMedia() {
|
|
490
528
|
const { formattedMediaInfoCount: e, activeMediaInfoIndex: t } = this, i = this._renderMediaText();
|
|
491
|
-
return e ?
|
|
529
|
+
return e ? I`<div class="container">${this._renderMediaInfo()}<div class="item-navigation">${i}${e > 1 ? I`<div class="pagination">${this._renderMediaPageButton("previous")}<span class="pagination-text">${ee(this.messages?.pageText ?? "", {
|
|
492
530
|
index: t + 1,
|
|
493
531
|
total: e
|
|
494
532
|
})}</span>${this._renderMediaPageButton("next")}</div>` : null}</div></div>` : null;
|
|
@@ -497,18 +535,18 @@ class pe extends Q {
|
|
|
497
535
|
const { activeMediaInfo: e } = this;
|
|
498
536
|
if (!e)
|
|
499
537
|
return null;
|
|
500
|
-
const t = e?.title ?
|
|
501
|
-
return t || i ?
|
|
538
|
+
const t = e?.title ? I`<div class="item-title" .innerHTML=${z.sanitize(e.title) ?? ""}></div>` : null, i = e?.caption ? I`<div class="item-caption" .innerHTML=${z.sanitize(e.caption) ?? ""}></div>` : null;
|
|
539
|
+
return t || i ? I`<div class="item-text">${t}${i}</div>` : null;
|
|
502
540
|
}
|
|
503
541
|
_renderImageMediaInfo(e) {
|
|
504
542
|
if (!e.value)
|
|
505
543
|
return null;
|
|
506
|
-
const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText:
|
|
507
|
-
return (r ?
|
|
544
|
+
const { _refreshIntervalInfo: t } = this, { value: i, refreshInterval: a, altText: s, title: n } = e, { sourceURL: o, linkURL: r } = i, h = oe(r ?? void 0) ? "_blank" : "_self", v = h === "_blank" ? "noreferrer" : "", l = a ? t : null, c = l ? l.sourceURL : o, f = I`<img alt=${(s || n) ?? w} src=${c ?? void 0 ?? w}>`;
|
|
545
|
+
return (r ? I`<a href=${r ?? w} rel=${v ?? w} target=${h ?? w} title=${n ?? w}>${f}</a>` : null) ?? f;
|
|
508
546
|
}
|
|
509
547
|
_renderChartMediaInfo(e) {
|
|
510
548
|
const { activeMediaInfoIndex: t, formattedMediaInfoCount: i } = this;
|
|
511
|
-
return
|
|
549
|
+
return W(`media-${e.type}-${t}-${i}-${this._chartRevision}-${this._direction}-${this.chartAnimationDisabled}-${this._prefersReducedMotion}`, I`<div class="chart" ${j(this._updateChartElement)}></div>`);
|
|
512
550
|
}
|
|
513
551
|
_renderMediaInfoType() {
|
|
514
552
|
const { activeMediaInfo: e } = this;
|
|
@@ -516,42 +554,51 @@ class pe extends Q {
|
|
|
516
554
|
}
|
|
517
555
|
_renderMediaInfo() {
|
|
518
556
|
const { activeMediaInfo: e } = this;
|
|
519
|
-
return e ?
|
|
557
|
+
return e ? I`<div class="item-container"><div class="item">${this._renderMediaInfoType()}</div></div>` : null;
|
|
520
558
|
}
|
|
521
559
|
_renderMediaPageButton(e) {
|
|
522
560
|
if (this.formattedMediaInfoCount < 2)
|
|
523
561
|
return null;
|
|
524
|
-
const t = e === "previous", i = t ? this.messages?.previous ?? "" : this.messages?.next ?? "", a = t ? "chevron-left" : "chevron-right",
|
|
525
|
-
return
|
|
562
|
+
const t = e === "previous", i = t ? this.messages?.previous ?? "" : this.messages?.next ?? "", a = t ? "chevron-left" : "chevron-right", s = t ? this.previous : this.next;
|
|
563
|
+
return I`<button .ariaLabel=${i} class="pagination-button" @click=${s} tabindex=0 title=${i ?? w} type=button><calcite-icon flip-rtl class="pagination-icon" .icon=${a} scale=s></calcite-icon></button>`;
|
|
526
564
|
}
|
|
527
565
|
async _renderChart(e) {
|
|
528
|
-
const { root: t, mediaInfo: i } = e, { value: a, type:
|
|
566
|
+
const { root: t, mediaInfo: i } = e, { value: a, type: s } = i, [{ default: n }, { default: o }, { default: r }, { esriChartColorSet: d }, { ColorSet: h, Theme: v }] = await Promise.all([
|
|
529
567
|
import("@amcharts/amcharts5/themes/Animated.js"),
|
|
530
568
|
import("@amcharts/amcharts5/themes/Dark.js"),
|
|
531
569
|
import("@amcharts/amcharts5/themes/Responsive.js"),
|
|
532
570
|
import("../../chunks/chartCommon.js"),
|
|
533
571
|
import("@amcharts/amcharts5/index.js")
|
|
534
|
-
])
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
572
|
+
]);
|
|
573
|
+
if (!this._isChartRequestCurrent(e.requestRevision))
|
|
574
|
+
return;
|
|
575
|
+
const l = v.new(t);
|
|
576
|
+
l.rule("ColorSet").set("colors", d), l.rule("ColorSet").set("reuse", !0);
|
|
577
|
+
const c = [r.new(t), l];
|
|
578
|
+
re(this.el) === "dark" && c.push(o.new(t)), this._canAnimateChart() && c.push(n.new(t)), t.setThemes(c);
|
|
579
|
+
const f = await this._getRendererColors();
|
|
580
|
+
if (!this._isChartRequestCurrent(e.requestRevision))
|
|
581
|
+
return;
|
|
582
|
+
const u = await this._getSeriesColors(a.series);
|
|
583
|
+
if (!this._isChartRequestCurrent(e.requestRevision))
|
|
584
|
+
return;
|
|
585
|
+
const p = h.new(t, {}), m = u.get(a.series[0]), g = m ? {
|
|
539
586
|
lineSettings: {
|
|
540
|
-
stroke:
|
|
587
|
+
stroke: m
|
|
541
588
|
}
|
|
542
|
-
} : void 0,
|
|
543
|
-
const
|
|
589
|
+
} : void 0, x = a.series.map((_, C) => {
|
|
590
|
+
const M = u.get(_) || f.get(_.fieldName) || p.getIndex(C);
|
|
544
591
|
return {
|
|
545
|
-
[
|
|
546
|
-
[
|
|
592
|
+
[y]: _.tooltip,
|
|
593
|
+
[R]: _.value,
|
|
547
594
|
columnSettings: {
|
|
548
|
-
fill:
|
|
549
|
-
stroke:
|
|
595
|
+
fill: M,
|
|
596
|
+
stroke: M
|
|
550
597
|
},
|
|
551
|
-
...
|
|
598
|
+
...g
|
|
552
599
|
};
|
|
553
|
-
}).filter((
|
|
554
|
-
|
|
600
|
+
}).filter((_) => s === "pie-chart" ? _.value != null && _.value > 0 : !0);
|
|
601
|
+
s === "pie-chart" ? await this._createPieChart(e, x) : await this._createXYChart(e, x);
|
|
555
602
|
}
|
|
556
603
|
}
|
|
557
604
|
B("arcgis-feature-media", pe);
|