@arcgis/charts-components 4.34.0-next.138 → 4.34.0-next.139
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/{V7PMJLZ7.js → 24727M32.js} +2 -2
- package/dist/cdn/{XQRVM6V5.js → 24AOABIJ.js} +2 -2
- package/dist/cdn/{K2BWSS6E.js → 275IWBUL.js} +2 -2
- package/dist/cdn/{6JEFQ2QU.js → 2BBHT77V.js} +2 -2
- package/dist/cdn/{HC6PSK2U.js → 2DFVXYZZ.js} +2 -2
- package/dist/cdn/{7XUFB7BU.js → 2HWLESX7.js} +1 -1
- package/dist/cdn/2TQVJANU.js +4 -0
- package/dist/cdn/{5XKKOFWY.js → 2Z5QZCFJ.js} +2 -2
- package/dist/cdn/{2WQ24E5T.js → 35M3UULX.js} +2 -2
- package/dist/cdn/{EGEMLKBU.js → 3EZ5I5OP.js} +2 -2
- package/dist/cdn/3F4JEJEA.js +4 -0
- package/dist/cdn/{A3SVOZ3N.js → 3NNFVET2.js} +2 -2
- package/dist/cdn/{BVYUMK6P.js → 3R42OOYX.js} +2 -2
- package/dist/cdn/{EAFROOME.js → 3SIQACVN.js} +2 -2
- package/dist/cdn/{VB2QU35Z.js → 3YWAYBOP.js} +2 -2
- package/dist/cdn/{5ZFLRUAQ.js → 4AV33IV4.js} +2 -2
- package/dist/cdn/{4DNOT2SM.js → 4CMMHISB.js} +2 -2
- package/dist/cdn/{7P7ZCI4D.js → 4EPKGG7E.js} +2 -2
- package/dist/cdn/{7NPU76EB.js → 4FUBFI63.js} +2 -2
- package/dist/cdn/{2A2KORG3.js → 4KAYRNBJ.js} +2 -2
- package/dist/cdn/{UXIANTBG.js → 4Q6VLLNL.js} +2 -2
- package/dist/cdn/{JULFMHYU.js → 4QIMBRET.js} +2 -2
- package/dist/cdn/{FP4XXXH4.js → 4RW7YIQW.js} +2 -2
- package/dist/cdn/53EV3MZT.js +4 -0
- package/dist/cdn/{24XWETQR.js → 55F4PKIU.js} +2 -2
- package/dist/cdn/{65WCP3U4.js → 5HTKVNVU.js} +2 -2
- package/dist/cdn/{PNEHBKTZ.js → 5LPFIGE5.js} +2 -2
- package/dist/cdn/{3V5HP27T.js → 62YLRCZ3.js} +2 -2
- package/dist/cdn/{MMO5YA25.js → 6HKTEN26.js} +2 -2
- package/dist/cdn/6KWDDRP3.js +4 -0
- package/dist/cdn/{MVV5BSUB.js → 6MLVADSL.js} +2 -2
- package/dist/cdn/{QBKRNEI4.js → 7JKH3A3L.js} +1 -1
- package/dist/cdn/{W6TH42I6.js → 7M6O44MJ.js} +2 -2
- package/dist/cdn/{LI37MVAT.js → 7SP4VWKX.js} +2 -2
- package/dist/cdn/{OLN4GDJ5.js → 7VT3JILN.js} +2 -2
- package/dist/cdn/{ZHAUZSGZ.js → 7YIGASYS.js} +2 -2
- package/dist/cdn/{3HFOQMHO.js → A43LOI3S.js} +2 -2
- package/dist/cdn/{7TU33QBB.js → AASZ2NNB.js} +2 -2
- package/dist/cdn/{GHHYPSDM.js → AGR66VGN.js} +1 -1
- package/dist/cdn/{6NOW5STW.js → AIOJRVUP.js} +2 -2
- package/dist/cdn/{NUS5MWN3.js → AIPWFENR.js} +2 -2
- package/dist/cdn/{TRAYYR57.js → AO7SKWWW.js} +2 -2
- package/dist/cdn/{AVFLUZGG.js → ARSERCLF.js} +2 -2
- package/dist/cdn/{SGGWXSAT.js → ATJ7PUAG.js} +2 -2
- package/dist/cdn/{IVAFZR5S.js → AUOLPYT4.js} +2 -2
- package/dist/cdn/{BQBNGYUY.js → AVMOQPLZ.js} +2 -2
- package/dist/cdn/{J3PDSHB4.js → B7AQO23Y.js} +2 -2
- package/dist/cdn/BKBDVEMA.js +4 -0
- package/dist/cdn/{Q4ETO6KX.js → BNUYM65P.js} +2 -2
- package/dist/cdn/{UQCYC6RS.js → C5OMHPCP.js} +2 -2
- package/dist/cdn/{H3O4CV2N.js → CKG455T3.js} +2 -2
- package/dist/cdn/{KJTGNGE7.js → CL5PS2ZQ.js} +2 -2
- package/dist/cdn/{AQ545GQW.js → CLHKW2R4.js} +2 -2
- package/dist/cdn/{J4Q4Y52Q.js → CO2FLJ3Y.js} +2 -2
- package/dist/cdn/{NW7QSNZQ.js → CQNULM3X.js} +2 -2
- package/dist/cdn/{7NSN7PKK.js → CVNAPOVD.js} +2 -2
- package/dist/cdn/{MKOIRYD2.js → CYIPOL2X.js} +2 -2
- package/dist/cdn/CZJXXGG4.js +4 -0
- package/dist/cdn/{VL5P2YF2.js → D3Y5X2RZ.js} +2 -2
- package/dist/cdn/{3FV2W2TJ.js → D5QIJWED.js} +2 -2
- package/dist/cdn/{E2UK3VPZ.js → DKVFP5PU.js} +2 -2
- package/dist/cdn/{ZJQNS6C6.js → DRXGR5N6.js} +2 -2
- package/dist/cdn/{2EFMHI5C.js → E33WMWB7.js} +2 -2
- package/dist/cdn/{3VMADFU7.js → EEUKLBDN.js} +2 -2
- package/dist/cdn/{3RARKOUO.js → ESFDWI2T.js} +2 -2
- package/dist/cdn/{YXDOYMXQ.js → ESOFQM6P.js} +2 -2
- package/dist/cdn/{S264YT4E.js → F55XH6IZ.js} +2 -2
- package/dist/cdn/{2OTKLLUH.js → F7JABPNG.js} +2 -2
- package/dist/cdn/{WSUW2SRX.js → FC5NKDA3.js} +2 -2
- package/dist/cdn/{3F4YDB4N.js → FCORKVAA.js} +1 -1
- package/dist/cdn/{WS37TO2K.js → FHCA75QA.js} +2 -2
- package/dist/cdn/{WVWLCTA7.js → G45PGUQN.js} +2 -2
- package/dist/cdn/{AQ6EKAVQ.js → GJ3JLCUX.js} +2 -2
- package/dist/cdn/{HZO43CCS.js → GRZUDJ23.js} +2 -2
- package/dist/cdn/{LAKNTP3E.js → GS6HMLEU.js} +2 -2
- package/dist/cdn/{62GUSPPZ.js → GSG2VUXI.js} +2 -2
- package/dist/cdn/{JXZWLSDG.js → GWQI56LV.js} +2 -2
- package/dist/cdn/{63LOCIDR.js → H5D47BKX.js} +2 -2
- package/dist/cdn/{C7YKHH2X.js → HDLBXV7M.js} +2 -2
- package/dist/cdn/{2GMGLR5P.js → HFTUMX5C.js} +2 -2
- package/dist/cdn/HGYMKMCV.js +4 -0
- package/dist/cdn/{Z5VFVQJS.js → HMY5IMMX.js} +2 -2
- package/dist/cdn/{P7B4CUVV.js → HMZXUUOL.js} +2 -2
- package/dist/cdn/HNKRKWC3.js +4 -0
- package/dist/cdn/{VMVXNHIE.js → HROD7HBX.js} +2 -2
- package/dist/cdn/{QYPJB6KJ.js → HSE5TX37.js} +2 -2
- package/dist/cdn/{47C2USD3.js → HTIIP76D.js} +2 -2
- package/dist/cdn/{LQ6O6S4G.js → HYQ6RQRD.js} +2 -2
- package/dist/cdn/{KV6YLRHG.js → I5XKWJQ3.js} +2 -2
- package/dist/cdn/{4AWPOLH2.js → IESXX2ZN.js} +2 -2
- package/dist/cdn/{ZJQQ25X3.js → IIEO3CUM.js} +2 -2
- package/dist/cdn/{QEARPOGE.js → IQNSNAPF.js} +2 -2
- package/dist/cdn/J6O2Q7JQ.js +4 -0
- package/dist/cdn/{3GXCBHN7.js → JI4SCCKL.js} +2 -2
- package/dist/cdn/{CQ6CAS5V.js → JJBMFIJR.js} +2 -2
- package/dist/cdn/{BIKOLGHP.js → JNEUGJJP.js} +2 -2
- package/dist/cdn/{655VV6J7.js → KKQ5YMWB.js} +2 -2
- package/dist/cdn/KOSZILX5.js +4 -0
- package/dist/cdn/{5QYBQGM4.js → KWN5Q4E5.js} +2 -2
- package/dist/cdn/{2BJLMLSJ.js → KYFB56YJ.js} +2 -2
- package/dist/cdn/{6YELTPCV.js → KZ7R2GNT.js} +2 -2
- package/dist/cdn/{MGEXMURL.js → L2IRDB6T.js} +2 -2
- package/dist/cdn/{OEPX4LYZ.js → L6SJIJ4U.js} +2 -2
- package/dist/cdn/{UBTXULZC.js → LEYFIB5I.js} +2 -2
- package/dist/cdn/{E34GIVUN.js → LIN2JSC3.js} +2 -2
- package/dist/cdn/{EGEWNOKE.js → LO7TZSPN.js} +1 -1
- package/dist/cdn/{2SKX4UWZ.js → LYHLT7KP.js} +2 -2
- package/dist/cdn/M46AKLTX.js +4 -0
- package/dist/cdn/{YIR2SBJB.js → MSP6ENWY.js} +2 -2
- package/dist/cdn/{P2U3VERW.js → MV3JUDYG.js} +2 -2
- package/dist/cdn/MYXBBS5N.js +6 -0
- package/dist/cdn/{ADT2ADOP.js → N4ALCYUU.js} +2 -2
- package/dist/cdn/{BM42PZQA.js → N4FD6GFX.js} +2 -2
- package/dist/cdn/{HNFXK5BC.js → NBK3IGYG.js} +2 -2
- package/dist/cdn/{LD574V2G.js → NDPTI4DK.js} +2 -2
- package/dist/cdn/{U44MT23C.js → NHGBQNGR.js} +2 -2
- package/dist/cdn/{PU3IMZ4C.js → NTA7RIMK.js} +1 -1
- package/dist/cdn/{OQJR5UYE.js → NTOPMFTD.js} +1 -1
- package/dist/cdn/{R2UCVSOJ.js → NVNTOMN3.js} +2 -2
- package/dist/cdn/{X2B3TOT2.js → NXQ4SDPQ.js} +2 -2
- package/dist/cdn/{GA5DDTA4.js → OKCKTHTO.js} +2 -2
- package/dist/cdn/{RWUGTZKD.js → OMLAJ4TO.js} +2 -2
- package/dist/cdn/{QZ45JGUL.js → OMSVBDXG.js} +2 -2
- package/dist/cdn/{KA72OML2.js → ORRKIZWH.js} +2 -2
- package/dist/cdn/{5DZ4PENM.js → OZKXMCJA.js} +2 -2
- package/dist/cdn/{QH4CXIBG.js → OZYGBOFG.js} +2 -2
- package/dist/cdn/{6BQ3LNWC.js → PAG6XWJA.js} +2 -2
- package/dist/cdn/{KKK6NKAK.js → PRJSC3RV.js} +2 -2
- package/dist/cdn/{IWZN6Z2X.js → PTM7SNSE.js} +2 -2
- package/dist/cdn/QW5PY2X3.js +4 -0
- package/dist/cdn/{T4I7CMUA.js → QWI2A6ZL.js} +2 -2
- package/dist/cdn/{6RCZYLQV.js → QX27BY34.js} +2 -2
- package/dist/cdn/{SJ3KH7ID.js → RD6AKW5W.js} +2 -2
- package/dist/cdn/{6LMPGM6X.js → RL3EEN44.js} +2 -2
- package/dist/cdn/{MGD3RS3B.js → S4HKPNOQ.js} +2 -2
- package/dist/cdn/{7CBCONCT.js → S52ZYYIM.js} +2 -2
- package/dist/cdn/{CQ37CKSP.js → S5ZFBXHP.js} +2 -2
- package/dist/cdn/{26WOYBLS.js → SGY3Y3T2.js} +2 -2
- package/dist/cdn/{QBOP4WZB.js → SIC5Q5IQ.js} +2 -2
- package/dist/cdn/{V5GN2LL4.js → SKCZJNTG.js} +2 -2
- package/dist/cdn/{ET3IDOQP.js → SPI4CDXV.js} +2 -2
- package/dist/cdn/{BHGFCAVN.js → SRPLJB2L.js} +2 -2
- package/dist/cdn/{KKG3W27G.js → SX77MTL5.js} +2 -2
- package/dist/cdn/T265JJO4.js +4 -0
- package/dist/cdn/{TOCU34T4.js → T37XLGRC.js} +2 -2
- package/dist/cdn/{MSFB4KBJ.js → TD557D5H.js} +2 -2
- package/dist/cdn/TIAZ2E3Q.js +4 -0
- package/dist/cdn/{KN6NW37P.js → TVN64B5W.js} +2 -2
- package/dist/cdn/{5DJTALER.js → TX33Y4PI.js} +2 -2
- package/dist/cdn/{3746J2IS.js → U3LR4SEM.js} +2 -2
- package/dist/cdn/{QQWXEUYG.js → U64R6C4H.js} +2 -2
- package/dist/cdn/{ZPBAWQHF.js → UESGPZ3P.js} +2 -2
- package/dist/cdn/{JUKLBBIL.js → UFZXQNXX.js} +2 -2
- package/dist/cdn/{IJAGBSJZ.js → UHPYWYXH.js} +2 -2
- package/dist/cdn/{HTE6EJSS.js → UMVCJSEL.js} +2 -2
- package/dist/cdn/{JUOH3GUW.js → UPJNAB23.js} +2 -2
- package/dist/cdn/{SBYEL7EE.js → UPK33ANF.js} +2 -2
- package/dist/cdn/{FUWYL4ML.js → VAJCC7MO.js} +2 -2
- package/dist/cdn/VGT6OV7C.js +4 -0
- package/dist/cdn/VMKHC6RQ.js +4 -0
- package/dist/cdn/{WIKE7CRP.js → W3KQRTPP.js} +2 -2
- package/dist/cdn/{YRI2KAO3.js → W6IWMH2N.js} +2 -2
- package/dist/cdn/{AJKXVHWW.js → WZNK5TL7.js} +2 -2
- package/dist/cdn/{B64JGUDN.js → X244JP3P.js} +2 -2
- package/dist/cdn/{WWF7JFCF.js → XGMCJCID.js} +2 -2
- package/dist/cdn/{3UFHPC6W.js → XJQ3SQ2F.js} +2 -2
- package/dist/cdn/{4JCXTUTP.js → XLFDFDKQ.js} +2 -2
- package/dist/cdn/{CCQVL7XZ.js → XSODGSTK.js} +2 -2
- package/dist/cdn/{7BD5455G.js → XV7SKWTW.js} +9 -9
- package/dist/cdn/{CLLSYEA5.js → XYKFL3V6.js} +2 -2
- package/dist/cdn/{QJPMZ5PV.js → Y23T3DSI.js} +2 -2
- package/dist/cdn/{2WAIYIQS.js → Y2OO5FYQ.js} +2 -2
- package/dist/cdn/{EY37HPEB.js → Y4VP5EK2.js} +2 -2
- package/dist/cdn/{3HICWNID.js → YBO24WWY.js} +2 -2
- package/dist/cdn/{IVAT7IEB.js → YSAMGVP7.js} +2 -2
- package/dist/cdn/{TTUWIA2P.js → Z2AMZVEI.js} +2 -2
- package/dist/cdn/{6XN5OMSG.js → Z5AQSMCG.js} +2 -2
- package/dist/cdn/{7DSG22B6.js → ZHPMZD6C.js} +2 -2
- package/dist/cdn/{TXPWICK7.js → ZZILHPFL.js} +22 -22
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +1 -0
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +2 -0
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +8 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +1 -0
- package/dist/chunks/action-bar-utils.js +12 -11
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +5 -5
- package/dist/chunks/bar-chart-series.js +3 -3
- package/dist/chunks/baseline-stacking.js +23 -23
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +34 -34
- package/dist/chunks/box-plot-model.js +23 -23
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +122 -77
- package/dist/chunks/combo-bar-line-chart-model.js +10 -10
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +435 -400
- package/dist/chunks/default.js +4 -4
- package/dist/chunks/events.js +18 -0
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +69 -6163
- package/dist/chunks/index2.js +16 -38
- package/dist/chunks/index3.js +6124 -35
- package/dist/chunks/interfaces.js +90 -16216
- package/dist/chunks/interfaces2.js +16120 -90
- package/dist/chunks/interfaces3.js +491 -0
- package/dist/chunks/interfaces4.js +18 -0
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +11 -11
- package/dist/chunks/model-with-multi-axes.js +50 -50
- package/dist/chunks/model-with-rotation.js +4 -4
- package/dist/chunks/pie-chart-data.js +29 -28
- package/dist/chunks/pie-chart-model.js +12 -12
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +8 -8
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +5 -5
- package/dist/chunks/serial-chart-model.js +109 -84
- package/dist/chunks/series-types.js +16 -21
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +304 -770
- package/dist/components/arcgis-chart/customElement.js +3510 -3474
- package/dist/components/arcgis-charts-action-bar/customElement.js +43 -42
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +76 -71
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +68 -44
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +7 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +17 -18
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +79 -75
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +18 -17
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +4 -3
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +90 -542
- package/dist/json-schema/index.d.ts +52 -25
- package/dist/loader.js +2 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +11 -1
- package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +16 -1
- package/dist/model.js +1 -1
- package/dist/spec/index.d.ts +2 -2
- package/dist/spec/web-chart.d.ts +28 -1
- package/dist/utils/chart-config/converter/index.d.ts +3 -3
- package/package.json +3 -3
- package/dist/cdn/33ZN6PCD.js +0 -4
- package/dist/cdn/47OMAX2Z.js +0 -4
- package/dist/cdn/4K6MOKTP.js +0 -4
- package/dist/cdn/6IQDK4QF.js +0 -4
- package/dist/cdn/747VV5WK.js +0 -6
- package/dist/cdn/BPYIIPNZ.js +0 -4
- package/dist/cdn/GRQM5NKM.js +0 -4
- package/dist/cdn/HACFQS62.js +0 -4
- package/dist/cdn/HHPHUIUM.js +0 -4
- package/dist/cdn/IXIWUOLD.js +0 -4
- package/dist/cdn/N2IAZOQ7.js +0 -4
- package/dist/cdn/SQAKVW23.js +0 -4
- package/dist/cdn/TZUL5VVX.js +0 -4
- package/dist/cdn/WR4YXJE2.js +0 -4
- package/dist/cdn/XR2EF3UR.js +0 -4
- package/dist/chunks/index4.js +0 -68
- package/dist/chunks/index5.js +0 -95
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as o } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as l, html as m } from "lit";
|
|
3
|
-
import {
|
|
3
|
+
import { c as h, m as r, s as u, d as n } from "../../chunks/chart-ui-utils2.js";
|
|
4
4
|
import { u as p } from "../../chunks/useT9n.js";
|
|
5
5
|
import { createRef as d, ref as g } from "lit/directives/ref.js";
|
|
6
6
|
import { LitElement as f, createEvent as b, safeClassMap as a } from "@arcgis/lumina";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.139 */
|
|
10
10
|
const e = {
|
|
11
11
|
container: "container",
|
|
12
12
|
label: "label",
|
|
@@ -3,7 +3,7 @@ import "@arcgis/toolkit/intl";
|
|
|
3
3
|
import { isEmpty as c } from "lodash-es";
|
|
4
4
|
import "../../chunks/series-types.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import "../../chunks/
|
|
6
|
+
import "../../chunks/interfaces2.js";
|
|
7
7
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
8
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
9
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -13,14 +13,14 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
13
13
|
import "@arcgis/core/request.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
15
|
import { e as m } from "../../chunks/popover-ui-utils.js";
|
|
16
|
-
import { m as h,
|
|
16
|
+
import { m as h, d as n } from "../../chunks/chart-ui-utils2.js";
|
|
17
17
|
import { u as p } from "../../chunks/useT9n.js";
|
|
18
18
|
import { css as d, html as g } from "lit";
|
|
19
19
|
import { createRef as s, ref as o } from "lit/directives/ref.js";
|
|
20
20
|
import { LitElement as u, createEvent as r, safeClassMap as a } from "@arcgis/lumina";
|
|
21
21
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
22
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
23
|
-
v4.34.0-next.
|
|
23
|
+
v4.34.0-next.139 */
|
|
24
24
|
const t = {
|
|
25
25
|
jsAppFlyout: "js-app-flyout",
|
|
26
26
|
chartRenameComponent: "chart-rename-component",
|
|
@@ -4,7 +4,7 @@ import { u as i } from "../../chunks/useT9n.js";
|
|
|
4
4
|
import { LitElement as l, createEvent as t, safeClassMap as r } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.139 */
|
|
8
8
|
const n = {
|
|
9
9
|
colorStyleContainer: "color-style-container"
|
|
10
10
|
}, c = a`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}:host calcite-panel .color-style-container{display:flex;padding:0 1rem;margin-top:1rem}:host calcite-panel .color-style-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-styling-panel>.panel-body{padding:var(--arcgis-charts-panel-padding);margin-top:var(--arcgis-charts-inter-section-margin)}`;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c as i } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as l, html as c } from "lit";
|
|
3
|
-
import {
|
|
3
|
+
import { q as g } from "../../chunks/chart-ui-utils2.js";
|
|
4
4
|
import { u as h } from "../../chunks/useT9n.js";
|
|
5
5
|
import { LitElement as m, createEvent as n } from "@arcgis/lumina";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.139 */
|
|
9
9
|
const u = "arcgis-charts-config-storage-colors", v = l`:host{--calcite-color-border-1: transparent}.color-header{margin-bottom:.5rem}`;
|
|
10
10
|
class b extends m {
|
|
11
11
|
constructor() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { repeat as
|
|
1
|
+
import { c as F } from "../../chunks/runtime.js";
|
|
2
|
+
import { repeat as N } from "lit/directives/repeat.js";
|
|
3
3
|
import { keyed as v } from "lit/directives/keyed.js";
|
|
4
|
-
import { createModel as
|
|
5
|
-
import { b as $, a as
|
|
4
|
+
import { createModel as V } from "../../model.js";
|
|
5
|
+
import { b as $, a as L, p as b, k as U, j as S } from "../../chunks/type-guards.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
|
-
import { isEqual as
|
|
8
|
-
import { W as o, i as
|
|
9
|
-
import {
|
|
7
|
+
import { isEqual as B } from "lodash-es";
|
|
8
|
+
import { W as o, i as _ } from "../../chunks/series-types.js";
|
|
9
|
+
import { i as w, ac as D, ad as E, ae as R } from "../../chunks/interfaces2.js";
|
|
10
10
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
12
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -15,29 +15,30 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
15
15
|
import "@arcgis/core/core/promiseUtils.js";
|
|
16
16
|
import "@arcgis/core/request.js";
|
|
17
17
|
import "@arcgis/toolkit/dom";
|
|
18
|
-
import {
|
|
19
|
-
import { a as
|
|
20
|
-
import { r as
|
|
21
|
-
import { substitute as
|
|
22
|
-
import { C as n } from "../../chunks/
|
|
18
|
+
import { C as u } from "../../chunks/index2.js";
|
|
19
|
+
import { a as T } from "../../chunks/chart-ui-utils.js";
|
|
20
|
+
import { r as z } from "../../chunks/popover-ui-utils.js";
|
|
21
|
+
import { substitute as W } from "@arcgis/core/intl.js";
|
|
22
|
+
import { C as n } from "../../chunks/interfaces.js";
|
|
23
23
|
import "d3-array";
|
|
24
|
-
import { LitElement as
|
|
24
|
+
import { LitElement as H, createEvent as f, renderElement as I, safeStyleMap as X, safeClassMap as h } from "@arcgis/lumina";
|
|
25
25
|
import { css as G, html as c } from "lit";
|
|
26
|
-
import { createRef as
|
|
27
|
-
import { u as
|
|
28
|
-
import { s as
|
|
29
|
-
import { h as
|
|
30
|
-
import { A as
|
|
31
|
-
import {
|
|
26
|
+
import { createRef as Z, ref as O } from "lit/directives/ref.js";
|
|
27
|
+
import { u as j } from "../../chunks/useT9n.js";
|
|
28
|
+
import { s as x, g as K } from "../../chunks/store.js";
|
|
29
|
+
import { h as q, a as y, s as Y } from "../../chunks/web-component-utils.js";
|
|
30
|
+
import { A as Q } from "../../chunks/axis-model-wrapper.js";
|
|
31
|
+
import { e as J } from "../../chunks/chart-ui-utils2.js";
|
|
32
|
+
import { C as ee } from "../../chunks/interfaces3.js";
|
|
32
33
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
33
34
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
34
|
-
v4.34.0-next.
|
|
35
|
+
v4.34.0-next.139 */
|
|
35
36
|
const d = {
|
|
36
37
|
chartUIComponent: "chart-ui-component",
|
|
37
38
|
tabBar: "tab-bar",
|
|
38
39
|
tab: "tab"
|
|
39
40
|
};
|
|
40
|
-
function
|
|
41
|
+
function P(m, e) {
|
|
41
42
|
const a = /* @__PURE__ */ new Set();
|
|
42
43
|
let t = e;
|
|
43
44
|
return m?.forEach((i, s) => {
|
|
@@ -45,62 +46,62 @@ function I(m, e) {
|
|
|
45
46
|
(a.has(r) || r === void 0 || r === "") && (i.setChartId(`Chart_${Date.now()}_${s}`), e === r && (t = i.getChartId())), a.add(r);
|
|
46
47
|
}), t;
|
|
47
48
|
}
|
|
48
|
-
function
|
|
49
|
+
function te(m, e, a) {
|
|
49
50
|
return m?.filter(
|
|
50
|
-
(t) =>
|
|
51
|
+
(t) => E(a, t.getConfig()) && t.getLayer()?.id === e
|
|
51
52
|
) ?? [];
|
|
52
53
|
}
|
|
53
|
-
function
|
|
54
|
+
function ae(m) {
|
|
54
55
|
const { modelList: e, layerList: a, activeLayerId: t, disableEditing: i } = m, s = /* @__PURE__ */ new Map();
|
|
55
56
|
return e?.forEach((r) => {
|
|
56
57
|
const l = r.getLayer();
|
|
57
58
|
l && s.set(l.id, l);
|
|
58
59
|
}), i || a.forEach((r) => s.set(r.id, r)), Array.from(s.values()).filter((r) => !t || r.id === t);
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
+
function ie(m, e) {
|
|
61
62
|
m.forEach((a) => {
|
|
62
63
|
e.forEach((t) => {
|
|
63
|
-
a?.id === t.getLayer()?.id &&
|
|
64
|
+
a?.id === t.getLayer()?.id && k(a, t);
|
|
64
65
|
});
|
|
65
66
|
});
|
|
66
67
|
}
|
|
67
|
-
function
|
|
68
|
+
function k(m, e) {
|
|
68
69
|
const a = m;
|
|
69
70
|
if (a) {
|
|
70
71
|
const t = [...a?.charts ?? []], i = t?.findIndex((r) => r.id === e.getChartId());
|
|
71
72
|
let s = !1;
|
|
72
|
-
i !== void 0 && i > -1 ? (s = !
|
|
73
|
+
i !== void 0 && i > -1 ? (s = !B(t[i], e.getConfig()), t[i] = e.getConfig()) : a && !w(e.getConfig()) && (s = !0, t.push(e.getConfig())), s && (a.charts = t);
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
|
-
function
|
|
76
|
+
function se(m, e) {
|
|
76
77
|
const a = m;
|
|
77
78
|
if (a) {
|
|
78
79
|
const t = [...a.charts ?? []], i = t.findIndex((s) => s.id === e);
|
|
79
80
|
i > -1 && (t.splice(i, 1), a.charts = t);
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
|
-
function
|
|
83
|
+
function re(m, e) {
|
|
83
84
|
const a = m;
|
|
84
85
|
if (a) {
|
|
85
86
|
let t = [...a.charts ?? []];
|
|
86
|
-
t =
|
|
87
|
+
t = D({
|
|
87
88
|
arrayA: t,
|
|
88
89
|
arrayB: e.map((i) => i.getConfig()),
|
|
89
90
|
getKey: (i) => i.id ?? i.title?.content.text ?? ""
|
|
90
91
|
}), a.charts = t;
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
|
-
const
|
|
94
|
-
class
|
|
94
|
+
const oe = G`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
|
|
95
|
+
class ne extends H {
|
|
95
96
|
constructor() {
|
|
96
|
-
super(), this.selectChartTypePopover = null, this.chartsListFlowItem =
|
|
97
|
+
super(), this.selectChartTypePopover = null, this.chartsListFlowItem = Z(), this.supportedChartTypes = [
|
|
97
98
|
o.BarSeries,
|
|
98
99
|
o.BoxPlotSeries,
|
|
99
100
|
o.LineSeries,
|
|
100
101
|
o.PieSeries,
|
|
101
102
|
o.HistogramSeries,
|
|
102
103
|
o.ScatterSeries
|
|
103
|
-
], this._messages =
|
|
104
|
+
], this._messages = j(), this.chartDataProcessComplete = (e) => {
|
|
104
105
|
const a = e, { chartData: t, model: i } = a.detail, s = this.getModel(this.selectedChartId);
|
|
105
106
|
if (i?.isSameChartAs(s))
|
|
106
107
|
switch (s?.getChartType()) {
|
|
@@ -112,15 +113,18 @@ class re extends W {
|
|
|
112
113
|
break;
|
|
113
114
|
}
|
|
114
115
|
case o.ScatterSeries: {
|
|
115
|
-
const l = t, { dataItems: g, r2:
|
|
116
|
-
let p =
|
|
117
|
-
Number.isFinite(
|
|
116
|
+
const l = t, { dataItems: g, r2: C } = l;
|
|
117
|
+
let p = C;
|
|
118
|
+
Number.isFinite(C) || (p = void 0), this.r2 = p, i && (i.dataStore.r2 = p), this.calculatedDataMinMaxBounds = this.getDataExtent(g), i && (i.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds);
|
|
118
119
|
break;
|
|
119
120
|
}
|
|
120
121
|
case o.LineSeries:
|
|
121
122
|
case o.BarSeries: {
|
|
122
123
|
const { dataItems: l, timeIntervalInfo: g } = t;
|
|
123
|
-
($(s) ||
|
|
124
|
+
if (($(s) || L(s) && s.getBinTemporalData()) && (g?.size !== void 0 && s.getTemporalBinningSize() !== g?.size && s.setTemporalBinningSize(g?.size), g?.unit !== void 0 && s.getTemporalBinningUnit() !== g?.unit && g?.unit !== _.Quarter && s.setTemporalBinningUnit(g?.unit)), this.calculatedDataMinMaxBounds = this.getDataExtent(l), i && (i.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds), L(s)) {
|
|
125
|
+
const C = s.getXAxisField(), p = l.some((A) => A[C] === null), M = s.getNullCategory();
|
|
126
|
+
p && M === void 0 && s.setNullCategory(ee.nullCategory);
|
|
127
|
+
}
|
|
124
128
|
break;
|
|
125
129
|
}
|
|
126
130
|
}
|
|
@@ -158,18 +162,18 @@ class re extends W {
|
|
|
158
162
|
if (r)
|
|
159
163
|
switch (t) {
|
|
160
164
|
case "rotation":
|
|
161
|
-
typeof i == "boolean" &&
|
|
165
|
+
typeof i == "boolean" && U(r) && r.setRotatedState(i);
|
|
162
166
|
break;
|
|
163
167
|
case "legendPosition":
|
|
164
|
-
typeof i == "string" &&
|
|
168
|
+
typeof i == "string" && b(r) && r.setLegendPosition(i);
|
|
165
169
|
break;
|
|
166
170
|
case "legendVisibility":
|
|
167
|
-
typeof i == "boolean" &&
|
|
171
|
+
typeof i == "boolean" && b(r) && r.setLegendVisibility(i);
|
|
168
172
|
break;
|
|
169
173
|
}
|
|
170
174
|
}, this.chartLegendItemVisibilityChange = async (e) => {
|
|
171
175
|
const a = e, { legendItemVisibility: t, model: i } = a.detail, s = this.modelList.find((r) => i?.isSameChartAs(r));
|
|
172
|
-
s?.setSeriesVisibility(t),
|
|
176
|
+
s?.setSeriesVisibility(t), S(s) && ((s.getMinBound(1) === null || Number.isNaN(s.getMinBound(1))) && s.setMinBound(null, 1), (s.getMaxBound(1) === null || Number.isNaN(s.getMaxBound(1))) && s.setMaxBound(null, 1), $(s) && ((s.getMinBound(0) === null || Number.isNaN(s.getMinBound(0))) && s.setMinBound(null, 0), (s.getMaxBound(0) === null || Number.isNaN(s.getMaxBound(0))) && s.setMaxBound(null, 0)));
|
|
173
177
|
}, this.onSelectChartTypeChange = (e) => {
|
|
174
178
|
this.currentChartTypeText = "", this.calculatedDataMinMaxBounds = void 0, this.calculatedMinMaxBounds = void 0, this.removeSelectChartTypePopover();
|
|
175
179
|
const { selectedModelType: a, layerId: t } = e.target;
|
|
@@ -183,16 +187,16 @@ class re extends W {
|
|
|
183
187
|
}, this.onModelConfigChange = (e) => {
|
|
184
188
|
if (this.syncChartsToLayers && this.allowChartSyncing) {
|
|
185
189
|
const a = e.target;
|
|
186
|
-
|
|
190
|
+
k(a?.getLayer(), a);
|
|
187
191
|
}
|
|
188
192
|
this.requestUpdate();
|
|
189
193
|
}, this.allowChartSyncing = !1, this.currentChartTypeText = "", this.modelList = [], this.layerList = [], this.disableEditing = !1, this.syncChartsToLayers = !1, this.panelNumber = 0, this.arcgisChartsConfigChartViewChartClose = f(), this.arcgisChartsConfigModelListChange = f(), this.arcgisChartsConfigNewChart = f(), this.arcgisChartsConfigPanelNumberChange = f(), this.arcgisChartsConfigSelectedChartChange = f(), this.listen("arcgisChartsConfigModelListReorder", this.modelListReorderChangeListener);
|
|
190
194
|
}
|
|
191
195
|
static {
|
|
192
|
-
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged: y }], layerList: [0, { hasChanged: y }], selectedChartId: 3, activeLayerId: 3, disableEditing: 7, syncChartsToLayers: 7, timeZone: 3, headerTitle: 3, open: 7, chartData: [0, { hasChanged: y }], r2: 9, calculatedDataMinMaxBounds: [0, { hasChanged: y }], calculatedMinMaxBounds: [2, { hasChanged: y }], seriesColor: [2, { hasChanged:
|
|
196
|
+
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged: y }], layerList: [0, { hasChanged: y }], selectedChartId: 3, activeLayerId: 3, disableEditing: 7, syncChartsToLayers: 7, timeZone: 3, headerTitle: 3, open: 7, chartData: [0, { hasChanged: y }], r2: 9, calculatedDataMinMaxBounds: [0, { hasChanged: y }], calculatedMinMaxBounds: [2, { hasChanged: y }], seriesColor: [2, { hasChanged: q }], popoverPlacement: 3, usePopupTemplateFieldsInfo: 5, panelNumber: 11, filterBySelection: 5 };
|
|
193
197
|
}
|
|
194
198
|
static {
|
|
195
|
-
this.styles =
|
|
199
|
+
this.styles = oe;
|
|
196
200
|
}
|
|
197
201
|
async setFocus() {
|
|
198
202
|
this.chartsListFlowItem.value?.setFocus();
|
|
@@ -213,7 +217,7 @@ class re extends W {
|
|
|
213
217
|
}
|
|
214
218
|
modelListReorderChangeListener(e) {
|
|
215
219
|
const { modelList: a } = e.detail;
|
|
216
|
-
if (this.modelList =
|
|
220
|
+
if (this.modelList = D({
|
|
217
221
|
arrayA: this.modelList,
|
|
218
222
|
arrayB: a,
|
|
219
223
|
getKey: (t) => t.getChartId() ?? t.getTitleText() ?? ""
|
|
@@ -221,7 +225,7 @@ class re extends W {
|
|
|
221
225
|
const t = a.find((i) => i.getLayer()?.id !== void 0)?.getLayer()?.id;
|
|
222
226
|
if (t) {
|
|
223
227
|
const i = this.layerList.find((s) => s.id.toString() === t);
|
|
224
|
-
i &&
|
|
228
|
+
i && re(i, a);
|
|
225
229
|
}
|
|
226
230
|
}
|
|
227
231
|
}
|
|
@@ -236,30 +240,30 @@ class re extends W {
|
|
|
236
240
|
}
|
|
237
241
|
const s = i;
|
|
238
242
|
for (const r of s.charts ?? []) {
|
|
239
|
-
const l = await
|
|
243
|
+
const l = await V({
|
|
240
244
|
layer: i,
|
|
241
245
|
config: r
|
|
242
246
|
});
|
|
243
247
|
l !== void 0 && e.push(l);
|
|
244
248
|
}
|
|
245
249
|
}
|
|
246
|
-
|
|
250
|
+
P(e), e.forEach((i) => {
|
|
247
251
|
t.find((r) => r.isSameChartAs(i)) === void 0 && t.push(i);
|
|
248
252
|
}), this.modelList = t;
|
|
249
253
|
}
|
|
250
254
|
async modelListChange(e, a) {
|
|
251
|
-
this.selectedChartId =
|
|
255
|
+
this.selectedChartId = P(e, this.selectedChartId), a?.forEach((i) => {
|
|
252
256
|
i.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
253
257
|
}), e.forEach((i) => {
|
|
254
258
|
i.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
255
259
|
});
|
|
256
260
|
const t = this.getModel(this.selectedChartId);
|
|
257
|
-
this.currentChartTypeText = t?.getChartType() !== void 0 ? await
|
|
261
|
+
this.currentChartTypeText = t?.getChartType() !== void 0 ? await T(t.getChartType()) : "", this.syncChartsToLayers && this.allowChartSyncing && ie(this.layerList, e), this.arcgisChartsConfigModelListChange.emit({ modelList: e });
|
|
258
262
|
}
|
|
259
263
|
async selectedChartIdChange(e) {
|
|
260
264
|
this.selectedChartId === void 0 && (this.panelNumber = 0), this.selectedPanel = n.Data;
|
|
261
265
|
const a = this.getModel(e);
|
|
262
|
-
this.setEventBasedPropsFromModelData(a), this.currentChartTypeText = a?.getChartType() !== void 0 ? await
|
|
266
|
+
this.setEventBasedPropsFromModelData(a), this.currentChartTypeText = a?.getChartType() !== void 0 ? await T(a.getChartType()) : "", e !== void 0 && e !== x.selectedChartId && (x.selectedChartId = e), this.allowChartSyncing = !0, this.arcgisChartsConfigSelectedChartChange.emit({
|
|
263
267
|
key: "key",
|
|
264
268
|
model: a
|
|
265
269
|
});
|
|
@@ -268,16 +272,16 @@ class re extends W {
|
|
|
268
272
|
e === 0 ? this.clearPartialModels() : e === 1 && this.removeSelectChartTypePopover(), this.arcgisChartsConfigPanelNumberChange.emit({ panelNumber: e, modelList: this.modelList });
|
|
269
273
|
}
|
|
270
274
|
addChartEventListeners() {
|
|
271
|
-
document.addEventListener(
|
|
275
|
+
document.addEventListener(u.DataProcessComplete, this.chartDataProcessComplete), document.addEventListener(u.AxesMinMaxChange, this.chartAxesMinMaxChange), document.addEventListener(u.SeriesColorChange, this.chartSeriesColorChange), document.addEventListener(u.NoRenderPropChange, this.chartNoRenderPropChange), document.addEventListener(u.LegendItemVisibilityChange, this.chartLegendItemVisibilityChange);
|
|
272
276
|
}
|
|
273
277
|
removeChartEventListeners() {
|
|
274
|
-
document.removeEventListener(
|
|
278
|
+
document.removeEventListener(u.DataProcessComplete, this.chartDataProcessComplete), document.removeEventListener(u.AxesMinMaxChange, this.chartAxesMinMaxChange), document.removeEventListener(u.SeriesColorChange, this.chartSeriesColorChange), document.removeEventListener(u.NoRenderPropChange, this.chartNoRenderPropChange), document.removeEventListener(u.LegendItemVisibilityChange, this.chartLegendItemVisibilityChange);
|
|
275
279
|
}
|
|
276
280
|
getDataExtent(e) {
|
|
277
281
|
const a = this.getModel(this.selectedChartId)?.getConfig();
|
|
278
282
|
let t = [];
|
|
279
283
|
if (a !== void 0 && e !== void 0) {
|
|
280
|
-
const i =
|
|
284
|
+
const i = R({
|
|
281
285
|
chartConfig: a,
|
|
282
286
|
chartData: e
|
|
283
287
|
}), { minY: s, maxY: r, minX: l, maxX: g } = i;
|
|
@@ -291,20 +295,20 @@ class re extends W {
|
|
|
291
295
|
updateAxesBoundsInAppState(e) {
|
|
292
296
|
e?.forEach((a) => {
|
|
293
297
|
const { isXAxis: t, maximum: i, minimum: s } = a, r = this.getModel(this.selectedChartId);
|
|
294
|
-
if (r !== void 0 &&
|
|
295
|
-
const l = new
|
|
298
|
+
if (r !== void 0 && S(r) && this.selectedChartId !== void 0) {
|
|
299
|
+
const l = new Q(r, t), g = K({
|
|
296
300
|
chartId: this.selectedChartId,
|
|
297
301
|
isXAxis: t,
|
|
298
302
|
isLogarithmic: l.getLogarithmic()
|
|
299
|
-
}),
|
|
300
|
-
|
|
301
|
-
const p =
|
|
303
|
+
}), C = x.chartAxesBoundDataMap;
|
|
304
|
+
C[this.selectedChartId] === void 0 && (C[this.selectedChartId] = {});
|
|
305
|
+
const p = C[this.selectedChartId]?.[g], M = {
|
|
302
306
|
defaultMinBound: p?.defaultMinBound === p?.currMinBound ? s : p?.defaultMinBound,
|
|
303
307
|
currMinBound: s,
|
|
304
308
|
defaultMaxBound: p?.defaultMaxBound === p?.currMaxBound ? i : p?.defaultMaxBound,
|
|
305
309
|
currMaxBound: i
|
|
306
310
|
};
|
|
307
|
-
!
|
|
311
|
+
!B(p, M) && this.selectedChartId !== void 0 && C?.[this.selectedChartId] !== void 0 && (C[this.selectedChartId][g] = M);
|
|
308
312
|
}
|
|
309
313
|
});
|
|
310
314
|
}
|
|
@@ -313,7 +317,7 @@ class re extends W {
|
|
|
313
317
|
if (this.popoverPlacement !== void 0)
|
|
314
318
|
e = this.popoverPlacement;
|
|
315
319
|
else {
|
|
316
|
-
const a = this.modelList?.filter((i) =>
|
|
320
|
+
const a = this.modelList?.filter((i) => E(Y, i.getConfig())).length;
|
|
317
321
|
e = Number(a) <= 2 ? "bottom" : "top";
|
|
318
322
|
}
|
|
319
323
|
return e;
|
|
@@ -327,22 +331,22 @@ class re extends W {
|
|
|
327
331
|
}
|
|
328
332
|
setupSelectChartTypePopover(e, a) {
|
|
329
333
|
const t = this.getPlacement();
|
|
330
|
-
this.removeSelectChartTypePopover(), this.selectChartTypePopover =
|
|
334
|
+
this.removeSelectChartTypePopover(), this.selectChartTypePopover = I(c`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${a} .popoverPlacement=${t} @arcgisChartsConfigPopoverClose=${this.onAddChartClose} @arcgisChartsConfigSelectChartTypeChange=${this.onSelectChartTypeChange}></arcgis-charts-config-select-chart-type-popover>`), !document.body.contains(this.selectChartTypePopover) && this.selectChartTypePopover !== null && document.body.appendChild(this.selectChartTypePopover);
|
|
331
335
|
}
|
|
332
336
|
getModel(e) {
|
|
333
337
|
return this.modelList?.find((a) => a.getChartId() === e);
|
|
334
338
|
}
|
|
335
339
|
removeSelectChartTypePopover() {
|
|
336
|
-
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover =
|
|
340
|
+
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover = z(this.selectChartTypePopover));
|
|
337
341
|
}
|
|
338
342
|
clearPartialModels() {
|
|
339
|
-
this.modelList = this.modelList.filter((e) => !
|
|
343
|
+
this.modelList = this.modelList.filter((e) => !w(e.getConfig()));
|
|
340
344
|
}
|
|
341
345
|
onViewChartDelete(e) {
|
|
342
346
|
const { chartId: a } = e.detail;
|
|
343
347
|
if (a !== void 0) {
|
|
344
348
|
const t = this.modelList.find((s) => s.getChartId() === a), i = this.layerList.find((s) => s.id === t?.getLayer()?.id);
|
|
345
|
-
this.modelList = [...this.modelList.filter((s) => s.getChartId() !== a)], i && this.syncChartsToLayers && this.allowChartSyncing &&
|
|
349
|
+
this.modelList = [...this.modelList.filter((s) => s.getChartId() !== a)], i && this.syncChartsToLayers && this.allowChartSyncing && se(i, a);
|
|
346
350
|
}
|
|
347
351
|
}
|
|
348
352
|
onViewChartsSelect(e) {
|
|
@@ -391,26 +395,26 @@ class re extends W {
|
|
|
391
395
|
t = "";
|
|
392
396
|
break;
|
|
393
397
|
}
|
|
394
|
-
this.tooltip =
|
|
398
|
+
this.tooltip = I(c`<calcite-tooltip style=${X({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${a} open placement=top>${t}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
395
399
|
}
|
|
396
400
|
destroyTooltip() {
|
|
397
|
-
|
|
401
|
+
J(this.tooltip);
|
|
398
402
|
}
|
|
399
403
|
renderViewCharts() {
|
|
400
|
-
const e =
|
|
404
|
+
const e = ae({
|
|
401
405
|
modelList: this.modelList,
|
|
402
406
|
layerList: this.layerList,
|
|
403
407
|
activeLayerId: this.activeLayerId,
|
|
404
408
|
disableEditing: this.disableEditing
|
|
405
409
|
});
|
|
406
|
-
return
|
|
410
|
+
return N(e, (a) => a.id, (a) => c`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId !== void 0} .modelList=${te(this.modelList, a.id.toString(), this.supportedChartTypes)} .selectedChartId=${this.selectedChartId ?? ""} .layer=${a} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`);
|
|
407
411
|
}
|
|
408
412
|
render() {
|
|
409
|
-
return this.open !== !1 ? c`<calcite-flow>${v("charts-list", c`<calcite-flow-item .selected=${this.panelNumber === 0 || this.disableEditing} .heading=${this.headerTitle ?? this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${
|
|
413
|
+
return this.open !== !1 ? c`<calcite-flow>${v("charts-list", c`<calcite-flow-item .selected=${this.panelNumber === 0 || this.disableEditing} .heading=${this.headerTitle ?? this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${O(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.renderTabs()}</calcite-flow>` : null;
|
|
410
414
|
}
|
|
411
415
|
renderTabs() {
|
|
412
416
|
const e = this.getModel(this.selectedChartId);
|
|
413
|
-
return v("chart-edit", c`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? n.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ?
|
|
417
|
+
return v("chart-edit", c`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? n.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ? W(this._messages.pageFlowTitle, {
|
|
414
418
|
chartName: e?.getTitleText() ?? this.currentChartTypeText,
|
|
415
419
|
layerName: e?.getLayer()?.title ?? ""
|
|
416
420
|
}) : ""}>${e?.getChartType() !== void 0 ? c`<calcite-action-bar class=${h(d.tabBar)} layout=horizontal expand-disabled><calcite-action class=${h(d.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel === n.Data || this.selectedPanel === void 0} @click=${() => {
|
|
@@ -460,7 +464,7 @@ class re extends W {
|
|
|
460
464
|
return t;
|
|
461
465
|
}
|
|
462
466
|
}
|
|
463
|
-
|
|
467
|
+
F("arcgis-charts-config-create-flow", ne);
|
|
464
468
|
export {
|
|
465
|
-
|
|
469
|
+
ne as ArcgisChartsConfigCreateFlow
|
|
466
470
|
};
|
|
@@ -3,7 +3,7 @@ import { css as l, html as c } from "lit";
|
|
|
3
3
|
import { LitElement as a, safeClassMap as t } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
6
|
+
v4.34.0-next.139 */
|
|
7
7
|
const e = {
|
|
8
8
|
fieldSelectButtonSection: "field-select-btn-section",
|
|
9
9
|
fieldSelectButton: "field-select-btn",
|
|
@@ -3,9 +3,9 @@ import { css as y, html as l } from "lit";
|
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { merge as i } from "lodash-es";
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
|
-
import {
|
|
6
|
+
import { f as u, h as s, g as c, i as r } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { ay as S } from "../../chunks/interfaces2.js";
|
|
9
9
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
11
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -14,13 +14,13 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
14
14
|
import "@arcgis/core/core/promiseUtils.js";
|
|
15
15
|
import "@arcgis/core/request.js";
|
|
16
16
|
import "@arcgis/toolkit/dom";
|
|
17
|
-
import {
|
|
17
|
+
import { c as g, m as h, s as b, d as m } from "../../chunks/chart-ui-utils2.js";
|
|
18
18
|
import { u as v } from "../../chunks/useT9n.js";
|
|
19
19
|
import { createRef as C, ref as $ } from "lit/directives/ref.js";
|
|
20
20
|
import { LitElement as x, createEvent as p, safeClassMap as n } from "@arcgis/lumina";
|
|
21
21
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
22
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
23
|
-
v4.34.0-next.
|
|
23
|
+
v4.34.0-next.139 */
|
|
24
24
|
const w = {
|
|
25
25
|
arial: "Arial",
|
|
26
26
|
arialBlack: "Arial Black",
|
|
@@ -3,11 +3,11 @@ import { ref as $ } from "lit/directives/ref.js";
|
|
|
3
3
|
import { C as B, F as i, L as m } from "../../chunks/common.js";
|
|
4
4
|
import { d as T, j as h, h as n, l as L, p, m as E, f as M } from "../../chunks/type-guards.js";
|
|
5
5
|
import { W as d } from "../../chunks/series-types.js";
|
|
6
|
-
import {
|
|
6
|
+
import { a as V, f as b, h as w, g as D, i as N } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "@arcgis/toolkit/intl";
|
|
8
8
|
import { isEmpty as u, cloneDeep as r, isArray as v, isObject as k, mergeWith as G } from "lodash-es";
|
|
9
9
|
import "d3-array";
|
|
10
|
-
import "../../chunks/
|
|
10
|
+
import "../../chunks/interfaces2.js";
|
|
11
11
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
12
12
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
13
13
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -15,16 +15,16 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
15
15
|
import "@arcgis/core/time/TimeExtent.js";
|
|
16
16
|
import "@arcgis/core/core/promiseUtils.js";
|
|
17
17
|
import "@arcgis/core/request.js";
|
|
18
|
-
import {
|
|
18
|
+
import { g as S, l } from "../../chunks/index.js";
|
|
19
19
|
import "@arcgis/toolkit/dom";
|
|
20
20
|
import { r as F } from "../../chunks/popover-ui-utils.js";
|
|
21
|
-
import {
|
|
21
|
+
import { t as W } from "../../chunks/chart-ui-utils2.js";
|
|
22
22
|
import { u as R } from "../../chunks/useT9n.js";
|
|
23
23
|
import { css as X, html as x } from "lit";
|
|
24
24
|
import { LitElement as j, renderElement as I, safeClassMap as g } from "@arcgis/lumina";
|
|
25
25
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
26
26
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
27
|
-
v4.34.0-next.
|
|
27
|
+
v4.34.0-next.139 */
|
|
28
28
|
const P = {
|
|
29
29
|
type: b.TS,
|
|
30
30
|
color: [1, 1, 1, 255],
|
|
@@ -3,9 +3,9 @@ import { css as a, html as o } from "lit";
|
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
|
-
import {
|
|
6
|
+
import { f as r } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import "../../chunks/
|
|
8
|
+
import "../../chunks/interfaces2.js";
|
|
9
9
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
11
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -20,7 +20,7 @@ import { createRef as p, ref as c } from "lit/directives/ref.js";
|
|
|
20
20
|
import { LitElement as m, createEvent as s, safeClassMap as h } from "@arcgis/lumina";
|
|
21
21
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
22
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
23
|
-
v4.34.0-next.
|
|
23
|
+
v4.34.0-next.139 */
|
|
24
24
|
const g = {
|
|
25
25
|
jsAppFlyout: "js-app-flyout"
|
|
26
26
|
}, C = a``;
|
|
@@ -2,14 +2,14 @@ import { c as g } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { h as n, j as c, g as h, p as r } from "../../chunks/type-guards.js";
|
|
3
3
|
import { d as l } from "../../chunks/series-types.js";
|
|
4
4
|
import { isEmpty as b } from "lodash-es";
|
|
5
|
-
import { m as p,
|
|
5
|
+
import { m as p, d as m } from "../../chunks/chart-ui-utils2.js";
|
|
6
6
|
import { u as x } from "../../chunks/useT9n.js";
|
|
7
7
|
import { css as T, html as a } from "lit";
|
|
8
8
|
import { createRef as u, ref as f } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement as C, safeClassMap as i } from "@arcgis/lumina";
|
|
10
10
|
import "@arcgis/toolkit/intl";
|
|
11
11
|
import "d3-array";
|
|
12
|
-
import {
|
|
12
|
+
import { i as $ } from "../../chunks/interfaces2.js";
|
|
13
13
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
14
14
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
15
15
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -20,7 +20,7 @@ import "@arcgis/core/request.js";
|
|
|
20
20
|
import "@arcgis/toolkit/dom";
|
|
21
21
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
22
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
23
|
-
v4.34.0-next.
|
|
23
|
+
v4.34.0-next.139 */
|
|
24
24
|
const s = {
|
|
25
25
|
textInput: "text-input",
|
|
26
26
|
label: "label",
|