@arcgis/charts-components 5.0.0-next.20 → 5.0.0-next.21
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/{UQB3NUIC.js → 27XFXHX3.js} +2 -2
- package/dist/cdn/{VJT6B3WO.js → 2GTKWA5H.js} +2 -2
- package/dist/cdn/{KPHTU7PW.js → 2LGKZA3D.js} +2 -2
- package/dist/cdn/{SZPMHWSE.js → 2QKTTKXR.js} +2 -2
- package/dist/cdn/{TT673Y5J.js → 2QSUIX4S.js} +2 -2
- package/dist/cdn/{T2VXXH4M.js → 2RWSL7IX.js} +2 -2
- package/dist/cdn/{G3RXOQ3L.js → 2SKLLTUK.js} +2 -2
- package/dist/cdn/{Z3QTWM7D.js → 2VILXJOT.js} +1 -1
- package/dist/cdn/{34LHJK7D.js → 2XT2IEZM.js} +2 -2
- package/dist/cdn/{FHTJO4CU.js → 2YL53ROC.js} +2 -2
- package/dist/cdn/{LB6CJTVN.js → 33KUWTZT.js} +2 -2
- package/dist/cdn/{FDW5VQ3Z.js → 37E7RGPD.js} +8 -8
- package/dist/cdn/{7XOJTNAE.js → 3A2O7DDS.js} +2 -2
- package/dist/cdn/{TJ3FPYH2.js → 3BISEDHE.js} +2 -2
- package/dist/cdn/{WOQVYJHI.js → 3DBFREGP.js} +2 -2
- package/dist/cdn/{KXGJYFQ6.js → 3DMAIADS.js} +2 -2
- package/dist/cdn/{USYU6HAI.js → 3H6MQGAF.js} +2 -2
- package/dist/cdn/{EVHHDR75.js → 3HOM2AAM.js} +2 -2
- package/dist/cdn/{DS6AU3OW.js → 3PSCXSCX.js} +2 -2
- package/dist/cdn/{63Z6WAZG.js → 3QQT2OFZ.js} +2 -2
- package/dist/cdn/{MTPMIK7W.js → 3VLDLE6L.js} +2 -2
- package/dist/cdn/{46WOKB3R.js → 3YBDI7B2.js} +2 -2
- package/dist/cdn/{CWZCYCST.js → 3Z3H7AJK.js} +2 -2
- package/dist/cdn/{4TFPNGKL.js → 45775PJA.js} +2 -2
- package/dist/cdn/{FHTWMUEI.js → 4BOV2Y63.js} +2 -2
- package/dist/cdn/{DZCZMB6C.js → 4DBXVCU5.js} +2 -2
- package/dist/cdn/{NXIHVZ5K.js → 4FJ6DD46.js} +2 -2
- package/dist/cdn/{76JBUV6G.js → 4IELDMUR.js} +2 -2
- package/dist/cdn/{4Q57TVGK.js → 4LUTUOMB.js} +2 -2
- package/dist/cdn/{IH2UHDQG.js → 4QEL6SWZ.js} +2 -2
- package/dist/cdn/{VDCNL3WO.js → 4SSTFMY7.js} +2 -2
- package/dist/cdn/{B6VYM5GC.js → 56I7NHOB.js} +2 -2
- package/dist/cdn/{XK5FPK7F.js → 5JRBTMQB.js} +2 -2
- package/dist/cdn/{KOZ4JFC5.js → 5LWSMXGB.js} +2 -2
- package/dist/cdn/{YDW7P5FJ.js → 5ZZTHPU3.js} +2 -2
- package/dist/cdn/{IBJNX77I.js → 6BBA432G.js} +2 -2
- package/dist/cdn/{XACSVBOT.js → 6HNTAPCU.js} +2 -2
- package/dist/cdn/{6BDKEYMO.js → 6OH6RCK2.js} +2 -2
- package/dist/cdn/{LJXZZISL.js → 6OKM2AD7.js} +2 -2
- package/dist/cdn/{EE3ZRBOT.js → 6SJFVCSA.js} +2 -2
- package/dist/cdn/{QZPMHREO.js → 6WOSWGX2.js} +2 -2
- package/dist/cdn/{7VN53RK6.js → 6X3NOINZ.js} +1 -1
- package/dist/cdn/{ECJD4WEW.js → 77TQR4ZW.js} +2 -2
- package/dist/cdn/{T56L7KLC.js → 7CSVCFNW.js} +2 -2
- package/dist/cdn/{7DGQJ5XA.js → 7E2TXYCU.js} +2 -2
- package/dist/cdn/{BINJMZ5F.js → 7INUYOOA.js} +2 -2
- package/dist/cdn/{HCED4AAI.js → 7JN3FSLF.js} +2 -2
- package/dist/cdn/{6TTLV323.js → 7RMKZ4PY.js} +2 -2
- package/dist/cdn/{UBKTECP4.js → 7ZDGHDOM.js} +2 -2
- package/dist/cdn/{IH3ED5QH.js → A36CMQLA.js} +2 -2
- package/dist/cdn/{MXWNJWZ3.js → ADLS2ZLX.js} +2 -2
- package/dist/cdn/AEPH7374.js +4 -0
- package/dist/cdn/{EKVONWA3.js → ALOVAZQZ.js} +2 -2
- package/dist/cdn/{NCH7HZWM.js → AN4HYYA6.js} +2 -2
- package/dist/cdn/{WBV6TZVJ.js → AS2DLPC7.js} +2 -2
- package/dist/cdn/ATDRUK5H.js +4 -0
- package/dist/cdn/{OBK7TZOZ.js → AUY2C3MV.js} +2 -2
- package/dist/cdn/{6QPNTZAB.js → AYUFTRIT.js} +2 -2
- package/dist/cdn/{T5VCW3OZ.js → B6DGELGV.js} +2 -2
- package/dist/cdn/{CS23XTN5.js → B6EUGEFM.js} +2 -2
- package/dist/cdn/{X2NF4Z6J.js → BCRSZBJ4.js} +2 -2
- package/dist/cdn/{VB66YKZM.js → BCVSCME7.js} +2 -2
- package/dist/cdn/{KQAQJBOV.js → BEJPPLLY.js} +2 -2
- package/dist/cdn/{ONDA2BYM.js → BL24Q2DY.js} +2 -2
- package/dist/cdn/{ZO3SOICU.js → BT3MLYYC.js} +2 -2
- package/dist/cdn/{PQO4EHAU.js → BTJD7NJJ.js} +2 -2
- package/dist/cdn/{IDMB7Y4J.js → BVI2CNZ4.js} +2 -2
- package/dist/cdn/{GNEMUCI4.js → BWIAZPK7.js} +2 -2
- package/dist/cdn/{JO2EZ4D7.js → C4RKHVAB.js} +2 -2
- package/dist/cdn/{GIRNLIKH.js → CWCJ67DX.js} +1 -1
- package/dist/cdn/{2S3W7EE5.js → DGL5MMG2.js} +2 -2
- package/dist/cdn/{CZ7THBSW.js → DIBR77KB.js} +2 -2
- package/dist/cdn/{BZCO5IN4.js → DTZBBW3J.js} +2 -2
- package/dist/cdn/{OVW33QF5.js → DVUF3VD6.js} +2 -2
- package/dist/cdn/{NHTOHVKZ.js → DXBRNGNX.js} +2 -2
- package/dist/cdn/{MLL3XWFZ.js → E7AI2PIF.js} +2 -2
- package/dist/cdn/{GH5WWXO6.js → EGXV5J2I.js} +2 -2
- package/dist/cdn/{XGJFQG4B.js → ENYRGENB.js} +2 -2
- package/dist/cdn/{ATMUWGSJ.js → EVKL64OR.js} +2 -2
- package/dist/cdn/{UOFK5FPD.js → F3BSM26R.js} +1 -1
- package/dist/cdn/{XIEQYQ7P.js → FHRNXBNT.js} +2 -2
- package/dist/cdn/{ZZGBQOF5.js → FJU67NCM.js} +2 -2
- package/dist/cdn/{FL7OHU6D.js → FLQVC3QN.js} +1 -1
- package/dist/cdn/{R2JBRI44.js → FOEFA6XN.js} +2 -2
- package/dist/cdn/{NKIGMVMC.js → FTB74LRR.js} +2 -2
- package/dist/cdn/{22LUVTOP.js → FVW7NJSZ.js} +2 -2
- package/dist/cdn/{TWOW3KTS.js → GDA7PY47.js} +1 -1
- package/dist/cdn/{XDYIHDY3.js → GDH5MMXJ.js} +2 -2
- package/dist/cdn/{HAZJ5J5H.js → HTUWZPXF.js} +2 -2
- package/dist/cdn/{27XNWLMT.js → I3XNEEG3.js} +2 -2
- package/dist/cdn/{S32LGD6T.js → I5A4I3KQ.js} +2 -2
- package/dist/cdn/{FHM4UGBO.js → IADBQMEH.js} +2 -2
- package/dist/cdn/{QEMCT22O.js → IAUJMVQ2.js} +2 -2
- package/dist/cdn/{4OGMCO4T.js → ILBYEM4Q.js} +2 -2
- package/dist/cdn/{NIC6KBIP.js → IRT2BB2N.js} +1 -1
- package/dist/cdn/{4HB5BYMS.js → ITA3V35F.js} +2 -2
- package/dist/cdn/{6B24FAG5.js → JQD4UPZS.js} +2 -2
- package/dist/cdn/{IOYI5XEQ.js → JRCM3ZZS.js} +2 -2
- package/dist/cdn/{SIYMXGGJ.js → JZP5EKAS.js} +2 -2
- package/dist/cdn/{QDZVS2BU.js → K3VQ7SOM.js} +2 -2
- package/dist/cdn/{2SMYKOKC.js → K5QIOPE3.js} +2 -2
- package/dist/cdn/{GF35RBWH.js → KDJVFOEU.js} +2 -2
- package/dist/cdn/{UZSVFWXS.js → KFAH7XXB.js} +2 -2
- package/dist/cdn/{YU6GJDM4.js → KIHFM4UW.js} +2 -2
- package/dist/cdn/{MCAXZIC4.js → KII6BNEA.js} +2 -2
- package/dist/cdn/{WNZ6TDPZ.js → KIR56BS5.js} +2 -2
- package/dist/cdn/{CWAPXCLI.js → KMD36BPP.js} +2 -2
- package/dist/cdn/{7XEDBROB.js → KMZACD46.js} +2 -2
- package/dist/cdn/{I2E5HP7S.js → KT4MZPI5.js} +2 -2
- package/dist/cdn/{4G7TTANJ.js → KU6KRXTD.js} +2 -2
- package/dist/cdn/{MKYSTZ4G.js → KWSSY2YG.js} +2 -2
- package/dist/cdn/{EZMCO45F.js → L6UUC2GI.js} +1 -1
- package/dist/cdn/{DOCQUKUS.js → LAF3DUQE.js} +2 -2
- package/dist/cdn/{F3576UBB.js → LF7YJBPT.js} +2 -2
- package/dist/cdn/{IBSHFCD3.js → LGG6TMNC.js} +2 -2
- package/dist/cdn/{NXAWWNOZ.js → LH2XZLNO.js} +2 -2
- package/dist/cdn/{VTSJRLOH.js → LM3OOFPM.js} +2 -2
- package/dist/cdn/{GIR6GXTY.js → LQEMVEGU.js} +2 -2
- package/dist/cdn/{4Q2VR6G5.js → LQF35FG3.js} +2 -2
- package/dist/cdn/{4JJZWRU4.js → LSOZEH46.js} +1 -1
- package/dist/cdn/{ZDRFJ43D.js → M3WEYTH3.js} +2 -2
- package/dist/cdn/{CUMTTPAY.js → MLRU55AD.js} +2 -2
- package/dist/cdn/{H3VUNX2Y.js → MVCPUXFX.js} +2 -2
- package/dist/cdn/{4WA2NRGD.js → NALBE2KT.js} +2 -2
- package/dist/cdn/{NSKJAE5I.js → NAXC3EBC.js} +1 -1
- package/dist/cdn/{4H3IX4XJ.js → NJB5K5JL.js} +2 -2
- package/dist/cdn/{T34HUAKH.js → NKZDAPEF.js} +2 -2
- package/dist/cdn/{UWCPWZC5.js → NLIO3CCN.js} +2 -2
- package/dist/cdn/{IDEYXFFU.js → NLNGAKVV.js} +2 -2
- package/dist/cdn/{XCBPJW4N.js → NM5GSIVR.js} +2 -2
- package/dist/cdn/{MCTJ5KQS.js → NZYB5FHU.js} +2 -2
- package/dist/cdn/{43SJ5F5T.js → O3Z6UI77.js} +2 -2
- package/dist/cdn/{QDGMLBPN.js → OMYA6OIW.js} +2 -2
- package/dist/cdn/{IYMEFF5B.js → OY2YV2JP.js} +2 -2
- package/dist/cdn/{2RM65F7S.js → PAS7LG4L.js} +2 -2
- package/dist/cdn/{YDMSUWLV.js → PZMADEY3.js} +2 -2
- package/dist/cdn/{FRMIXEGJ.js → Q5TR7VJT.js} +2 -2
- package/dist/cdn/{ZAV5M6VU.js → QBXIU4YH.js} +2 -2
- package/dist/cdn/{ZDFMCNGK.js → QKDL5MZQ.js} +2 -2
- package/dist/cdn/{YAOXIF4J.js → QV63CON6.js} +2 -2
- package/dist/cdn/{G3UTXSKL.js → RG5MV5UQ.js} +2 -2
- package/dist/cdn/{PNEJDY5J.js → RHKK3RMO.js} +2 -2
- package/dist/cdn/{FPIN6JD6.js → RHYXGTHM.js} +2 -2
- package/dist/cdn/{SJ4Q5TVO.js → RIIIVJLP.js} +2 -2
- package/dist/cdn/{YFCWEMMW.js → RV6XNEGA.js} +2 -2
- package/dist/cdn/{7EUURVZR.js → SACMBQQE.js} +2 -2
- package/dist/cdn/{XADEUCJO.js → SQWACKER.js} +2 -2
- package/dist/cdn/{4HLR67G5.js → ST6LAIAP.js} +2 -2
- package/dist/cdn/{CEPVF3VU.js → SWIWUWM6.js} +2 -2
- package/dist/cdn/{ABJR6MPD.js → T6XDJGHP.js} +2 -2
- package/dist/cdn/{XHBPOGW4.js → TJEXEEIW.js} +2 -2
- package/dist/cdn/{L6ZEVCAZ.js → TVY5A5W3.js} +2 -2
- package/dist/cdn/{V3O45BXK.js → U2N5M3G6.js} +2 -2
- package/dist/cdn/{XQQUCUS6.js → UEQU7T6L.js} +2 -2
- package/dist/cdn/{5N2H7VCQ.js → UFL5N6OV.js} +2 -2
- package/dist/cdn/{SSJZF3HA.js → UXLQ7M3B.js} +2 -2
- package/dist/cdn/{KSHI4EAD.js → V5K3XKFG.js} +2 -2
- package/dist/cdn/{ITOIK3WT.js → VJKH6CJN.js} +2 -2
- package/dist/cdn/{JRKZNQQK.js → VO5QPZD7.js} +2 -2
- package/dist/cdn/{ERCHSI53.js → W2ISC3E6.js} +2 -2
- package/dist/cdn/{LAOVFI5H.js → W6GYOREV.js} +2 -2
- package/dist/cdn/{VYA6EPPK.js → WHA4WMJN.js} +2 -2
- package/dist/cdn/{7RARTKCF.js → WJMUP3NY.js} +2 -2
- package/dist/cdn/{EBRWDR3A.js → WSRLORRS.js} +2 -2
- package/dist/cdn/{5SJLSVTO.js → WZFIJ2YC.js} +2 -2
- package/dist/cdn/{XM2SEMYT.js → XBSU5RMI.js} +2 -2
- package/dist/cdn/{OZSSWMKC.js → XEZUUESQ.js} +2 -2
- package/dist/cdn/{B7RDRRXG.js → XKGITGT4.js} +2 -2
- package/dist/cdn/{S3BCLUPW.js → XNEVNDQM.js} +2 -2
- package/dist/cdn/{CWKQ6QXC.js → XOUCFNJO.js} +2 -2
- package/dist/cdn/{LUGGI4TL.js → YBUQ2CZN.js} +2 -2
- package/dist/cdn/{FEZF53IG.js → YHTDEGGL.js} +2 -2
- package/dist/cdn/{FBMTE3JO.js → YMXAYPQF.js} +2 -2
- package/dist/cdn/{LHLEOMUD.js → YNTNCLUF.js} +2 -2
- package/dist/cdn/{HYCXMYQX.js → YOCJL575.js} +2 -2
- package/dist/cdn/{DE2MCTEB.js → YSC56A32.js} +2 -2
- package/dist/cdn/{ZHLKHTSS.js → ZA2QWT56.js} +2 -2
- package/dist/cdn/{IJV6LRDD.js → ZEXQVTYO.js} +2 -2
- package/dist/cdn/{3DQCTTSY.js → ZG54HWVW.js} +2 -2
- package/dist/cdn/{UHGA7GMD.js → ZJRC5EPB.js} +2 -2
- package/dist/cdn/{OD43NPJT.js → ZPSD5J36.js} +2 -2
- package/dist/cdn/{6NW26DOK.js → ZR2JJJTB.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +0 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +11 -11
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +42 -29
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-chart/customElement.js +35 -49
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +5 -3
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- 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.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +6 -1
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +13 -2
- package/dist/model.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/JAYSJSVN.js +0 -4
- package/dist/cdn/P3PWLBUW.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.21 */
|
|
4
|
+
import"./6X3NOINZ.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"dC",_era_bc:"aC",A:"a. m.",P:"p. m.",AM:"a. m.",PM:"p. m.","A.M.":"a. m.","P.M.":"p. m.",January:"de gener",February:"de febrer",March:"de mar\xE7",April:"d\u2019abril",May:"de maig",June:"de juny",July:"de juliol",August:"d\u2019agost",September:"de setembre",October:"d\u2019octubre",November:"de novembre",December:"de desembre",Jan:"de gen.",Feb:"de febr.",Mar:"de mar\xE7",Apr:"d\u2019abr.","May(short)":"de maig",Jun:"de juny",Jul:"de jul.",Aug:"d\u2019ag.",Sep:"de set.",Oct:"d\u2019oct.",Nov:"de nov.",Dec:"de des.",Sunday:"diumenge",Monday:"dilluns",Tuesday:"dimarts",Wednesday:"dimecres",Thursday:"dijous",Friday:"divendres",Saturday:"dissabte",Sun:"dg.",Mon:"dl.",Tue:"dt.",Wed:"dc.",Thu:"dj.",Fri:"dv.",Sat:"ds.",_dateOrd:function(d){var e="th";if(d<11||d>13)switch(d%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Reprodueix",Stop:"Parada",Legend:"Llegenda","Click, tap or press ENTER to toggle":"",Loading:"S'est\xE0 carregant",Home:"Inici",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Imprimeix",Image:"Imatge",Data:"Dades",Print:"Imprimeix","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"De %1 a %2","From %1":"De %1","To %1":"A %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import b from"./XADEUCJO.js";import{h as O,n as te}from"./KSHI4EAD.js";import a from"./ZAV5M6VU.js";import{d as $,f as E,i as Y,j as Z,q as ee}from"./4JJZWRU4.js";import{b as d}from"./UOFK5FPD.js";import{a as f,h as x,v as u}from"./FL7OHU6D.js";export default $arcgis.t(([,,,,,,,{substitute:P},{B:w,Bc:L,Fa:G,L:J,M:oe,N:ie,Qa:F,U:D,V:W,aa:se,ea:_,ib:A,mb:re,pc:le,rc:H,sc:K,z:j,zb:ne},{M:T,b:C,e:Q,g:R,h:ae,na:ye,q:ce,ra:me}])=>{var oo=(o,e)=>e?.series?.[o]?.name,io=(o,e,i)=>{let s=i;s?.series?.[e]!==void 0&&(s.series[e].name=o)},so=(o,e)=>{let i,s=e.series?.[o];return s?.type===f.BoxPlotSeries?i=s.fillSymbol?.color:s?.type===f.LineSeries&&(i=s.lineSymbol?.color),i},Fe=o=>{let e=o.series[0];return o.showMean===!0&&O(e)?e.fillSymbol?.color:void 0},ve=(o,e)=>{let i=e.series[0];e.showMean===!0&&O(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=o:i.fillSymbol={...D(),color:o})},ro=(o,e,i)=>{let s=i?.series?.[e];s?.type===f.BoxPlotSeries&&s.fillSymbol!==void 0?s.fillSymbol.color=o:s?.type===f.LineSeries&&s.lineSymbol!==void 0&&(s.lineSymbol.color=o,s.markerSymbol!==void 0&&(s.markerSymbol.color=o))},Me=o=>o.series.map(e=>e.id),Be=(o,e)=>{e?.series?.sort((i,s)=>o.findIndex(r=>i.id===r)-o.findIndex(r=>s.id===r))},no=(o,e,i)=>{let s=Me(i),[r]=s.splice(o,1);s.splice(e,0,r),Be(s,i)},lo=o=>U(o)?o.series.findIndex(e=>e.type===f.BoxPlotSeries):-1;function Ae(o,e,i){let s=be(o,e,i),r=ce(o),n=L(o);return s===r||n}function de(o,e,i){let s=k(o,e,i),r=T(1,o),n=L(o);return s===r||n}function Le(o){let{config:e,layerInfo:i,newCategory:s}=o,{layerFieldsInfo:r}=i,n=B(e),t=s!==w?F(r,n):"",l=T(0,e),a=L(e);return t===l||a||l.trim()===""}var B=o=>A(o)?.x??w,Oe=$(o=>{let e=A(o),i=e?.query?.where?.split("=")[0].trim()??"";return re(e?.query?.where)?"":i},o=>A(o)?.query?.where),fe=$(o=>ne(o?.series).filter(e=>e!==""),o=>o?.series),V=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={..._(r,i),x:e===void 0||e===""?w:e,y:s,query:{}};return E(n)},Ce=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={...se({commonStrings:r,seriesIndex:i}),x:e===void 0||e===""?w:e,y:s,query:{}};return E(n)};function ge(o){let{x:e,y:i,seriesTemplate:s,commonStrings:r}=o,{id:n,fillSymbol:t}=s??{},l=_(r),a=n??`series_${Date.now()}`;return l.id=a,l.name=a,l.x=e,l.y=i,t?l.fillSymbol=t:l.fillSymbol&&(l.fillSymbol.color=G,l.fillSymbol?.outline&&(l.fillSymbol.outline.color=G)),l}function ue(o){let{numericFields:e,config:i,layerInfo:s,category:r,commonStrings:n}=o,{layerFieldsInfo:t}=s,l=[],a=r??B(i),y=!1;if(e.length===0){let c=V({y:"",seriesIndex:0,category:a,commonStrings:n});l.push(c)}else if(a===w){let c=e.length>1?e:e[0],b=V({y:c,seriesIndex:0,category:a,commonStrings:n}),v=e.length>1?n.axisLabels.values:F(s.layerFieldsInfo,e[0]),g={...b,id:e[0],name:v,x:a},m=i.series.find(S=>Z(c,S.y)&&S.query?.where===void 0);m!==void 0&&(!i.colorMatch&&"fillSymbol"in m&&(g.fillSymbol=m.fillSymbol,y=!0),g.id=m.id,g.name=m.name),l.push(g)}else for(let c=0;c<e.length;c+=1){let b=e[c],v=V({y:b,seriesIndex:c,category:a,commonStrings:n}),g=F(t,b),m={...v,id:b,name:g,x:a},S=i.series.find(h=>b===h.y);S!==void 0&&(!i.colorMatch&&"fillSymbol"in S&&(m.fillSymbol=S.fillSymbol,y=!0),m.id=S.id,m.name=S.name),l.push(m)}return i.series.length===1&&l.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(l[0].fillSymbol=i.series[0].fillSymbol,y=!0),i.colorMatch=!y,l}var Se=o=>o?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",ke=o=>o.series.some(e=>e.type===f.LineSeries)&&o.series.some(e=>e.type===f.BoxPlotSeries);function qe(o,e,i){let s=[];return o.forEach(r=>{if(r.type===f.BoxPlotSeries){let{type:n,fillSymbol:t,...l}=r;s.push({...l,type:f.LineSeries,lineSymbol:{...J({width:j}),...t!==void 0?{color:t.color}:{}},markerSymbol:{...W(),...t!==void 0?{color:t.color}:{}}})}}),s.unshift(ge({x:o[0].x,y:o[0].y,seriesTemplate:i,commonStrings:e})),s}function De(o){let e=o.slice(1),i=[];return e.forEach(s=>{if(s.type===f.LineSeries){let{type:r,lineSymbol:n,markerSymbol:t,...l}=s,a=D();i.push({...l,type:f.BoxPlotSeries,fillSymbol:{...a,color:n?.color}})}}),i}function pe(o){let{formerSeries:e,newSeries:i,showMean:s}=o,r=i,n=a=>a.type===(s?f.LineSeries:f.BoxPlotSeries),t=e.filter(n).map(a=>a.id),l=i.filter(n).map(a=>a.id);return t.length===l.length&&JSON.stringify(t)!==JSON.stringify(l)&&(r=r.sort((a,y)=>t.findIndex(c=>c===a.id)-t.findIndex(c=>c===y.id))),r}async function Te(o){let{config:e,layerInfo:i,commonStrings:s,splitByField:r,numericFields:n,category:t}=o,{layer:l,layerFieldsInfo:a}=i,{fetchNullValues:y}=A(e)?.query??{},c=t??B(e),{categoriesArray:b,splitByFieldType:v}=await ye({config:e,layer:l,layerFieldsInfo:a,xAxisField:z(c)?void 0:c,aggregationFields:n,splitByField:r,fetchNullValues:y}),g=[],m=!1,S=ke(e);if(b.length===0){g=ue({numericFields:n,category:c,config:e,layerInfo:i,commonStrings:s});for(let h of g)h.query&&(h.query.where=`${r}=''`)}else for(let h=0;h<b.length;h+=1){let M=b[h],q={y:n,seriesIndex:h,category:c,commonStrings:s},X=S?Ce(q):V(q),he={fieldName:r,fieldValueToMatch:M??"",subtypeInfo:H(i.layer),fieldList:i.layerFieldsInfo},we=K(he),N=`${M}`,I={...X,id:N,name:we??N,x:c===void 0||c===""?w:c,query:{...X.query,where:`${r}=${v===ee.String&&M!==null?`'${M}'`:M}`}},p=e.series.find(Ie=>Se(Ie)===N);p!==void 0&&(e.colorMatch||(I.type===f.BoxPlotSeries?O(p)?I.fillSymbol=p.fillSymbol:I.fillSymbol={...D(),color:p.lineSymbol?.color}:O(p)?(I.lineSymbol={...J({width:j}),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}},I.markerSymbol={...W(),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}}):(I.lineSymbol=p.lineSymbol,I.markerSymbol=p.markerSymbol),m=!0),I.id=p.id,I.name=p.name),g.push(I)}if(g=pe({formerSeries:e.series,newSeries:g,showMean:U(e)}),e.colorMatch=!m,U(e)){let h=e.series.find(q=>q.type===f.BoxPlotSeries),M=ge({x:c,y:n,seriesTemplate:h,commonStrings:s});g.unshift(M)}return g}var to=async o=>{let{splitByField:e,numericFields:i,category:s,config:r,layerInfo:n,commonStrings:t}=o,{layerFieldsInfo:l}=n,a=Ne(s,i,e),y=le(l),c=B(r),b=Ae(r,n,t),v=de(r,n,t),g=Le({config:r,layerInfo:n,newCategory:s}),m=R(r);if(!y.includes(c)&&y.includes(s)?m=ie():y.includes(c)&&!y.includes(s)&&(m=oe()),m!==void 0&&ae(r,t,m),Ve(a?{newShowMeanLines:r.showMean,config:r,commonStrings:t}:{newShowMeanLines:!1,config:r,commonStrings:t}),r.series=a?await Te({config:r,layerInfo:n,splitByField:e,numericFields:i,category:s,commonStrings:t}):ue({numericFields:i,config:r,layerInfo:n,category:s,commonStrings:t}),g){let S=z(s)?"":F(l,s);C(r,0,S)}if(v){let S=k(r,n,t);C(r,1,S)}r?.title!==void 0&&b&&(r.title.content.text=be(r,n,t)),Q({config:r,value:null,axisIndex:1,isMax:!1}),Q({config:r,value:null,axisIndex:1,isMax:!0})},Pe=o=>o?.standardizeValues??!1;function k(o,e,i){let{layerFieldsInfo:s}=e,r=Pe(o)?i.axisLabels.standardizedValues:i.axisLabels.values,n=o?.series?.map(t=>t.y).flat();return n=[...new Set(n)],n.length===1&&(r=F(s,n[0])),r}function be(o,e,i){let{layerFieldsInfo:s}=e,r=B(o),n=fe(o),t=Oe(o),l=n.map(c=>F(s??[],c)).join(", "),a=F(s??[],r),y="";return n.length>0&&(r!==w&&t!==""?y=P(i.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:l,category:a,splitByField:t}):r!==w?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:a}):t!==""?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:t}):y=P(i.titleLabels.distributionOfField,{valueField:l})),y}var ao=o=>{let{series:e,splitByField:i,layerInfo:s,commonStrings:r}=o,n=typeof e.y=="string"?F(s.layerFieldsInfo,e.y):r.axisLabels.values;Y(i)||(n=Se(e));let t={fieldName:i,fieldValueToMatch:n??"",subtypeInfo:H(s.layer),fieldList:s.layerFieldsInfo};return n=K(t)??n,n??e.id},co=o=>o?.showOutliers??!1,yo=o=>{let{newShowOutliers:e,config:i,layerInfo:s,commonStrings:r}=o;if(i.showOutliers=e,de(i,s,r)){let n=k(i,s,r);C(i,1,n)}},mo=o=>{let{newStandardizeValues:e,config:i,layerInfo:s,commonStrings:r}=o,n=T(1,i),t=k(i,s,r),l=L(i);if(i.standardizeValues=e,n===t||l){let a=k(i,s,r);C(i,1,a)}},xe=o=>{let e=d.xAxisAsc,i=o.orderOptions?.data?.orderType??u.Category,s=o.orderOptions?.data?.orderBy??x.Ascending;switch(i){case u.Category:e=Array.isArray(s)?d.customSort:s===x.Ascending?d.xAxisAsc:d.xAxisDesc;break;case u.Mean:e=s===x.Ascending?d.meanAsc:d.meanDesc;break;case u.Median:e=s===x.Ascending?d.medianAsc:d.medianDesc;break}return e},fo=(o,e,i)=>{let s=u.Category,r=x.Ascending;if(e.orderOptions=e.orderOptions??{},o===d.customSort&&i!==void 0)e.orderOptions.data={orderType:u.Category,orderBy:i};else{switch(o){case d.xAxisAsc:{s=u.Category,r=x.Ascending;break}case d.xAxisDesc:{s=u.Category,r=x.Descending;break}case d.meanAsc:{s=u.Mean,r=x.Ascending;break}case d.meanDesc:{s=u.Mean,r=x.Descending;break}case d.medianAsc:{s=u.Median,r=x.Ascending;break}case d.medianDesc:{s=u.Median,r=x.Descending;break}}e.orderOptions.data={orderType:s,orderBy:r}}},U=o=>o.showMean??!1,Ve=o=>{let{newShowMeanLines:e=!1,config:i,commonStrings:s,previousMeanLinesBoxColor:r}=o,n=e?r:Fe(i),t=(e??!1)!==(i.showMean??!1);if(i.showMean=e,t){let l;e?l=te(i.series)?qe(i.series,s):i.series:l=De(i.series),l&&(l=pe({formerSeries:i.series,newSeries:l,showMean:e}),i.series=l)}return e&&r!==void 0&&ve(r,i),{previousMeanLinesBoxColor:n}},go=o=>{let e=[],i=o.orderOptions?.data?.orderType;return xe(o)===d.customSort&&i===u.Category&&(e=o.orderOptions?.data?.orderBy),e},uo=(o,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;xe(e)===d.customSort&&i===u.Category&&(e.orderOptions.data={orderType:u.Category,orderBy:o})},So=async(o,e)=>{let i=B(o),s=R(o)?.type,r=fe(o),n=[];return s===f.CategoryAxisFormat&&(i===w?n=r:z(i)||(n=await me({layerInfo:e,config:o,category:i}))),n},z=o=>o.trim()===""||o===w,ze=(o,e)=>e.length>1&&!z(o),Ne=(o,e,i)=>!ze(o,e)&&i!=="";return{a:oo,b:io,c:so,d:Fe,e:ve,f:ro,g:Me,h:Be,i:no,j:lo,k:B,l:Oe,m:fe,n:to,o:Pe,p:k,q:be,r:ao,s:co,t:yo,u:mo,v:xe,w:fo,x:U,y:Ve,z:go,A:uo,B:So,C:ze,D:Ne}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b)
|
|
3
|
+
v5.0.0-next.21 */
|
|
4
|
+
import b from"./SQWACKER.js";import{h as O,n as te}from"./V5K3XKFG.js";import a from"./QBXIU4YH.js";import{d as $,f as E,i as Y,j as Z,q as ee}from"./LSOZEH46.js";import{b as d}from"./F3BSM26R.js";import{a as f,h as x,v as u}from"./FLQVC3QN.js";export default $arcgis.t(([,,,,,,,{substitute:P},{B:w,Bc:L,Fa:G,L:J,M:oe,N:ie,Qa:F,U:D,V:W,aa:se,ea:_,ib:A,mb:re,pc:le,rc:H,sc:K,z:j,zb:ne},{M:T,b:C,e:Q,g:R,h:ae,na:ye,q:ce,ra:me}])=>{var oo=(o,e)=>e?.series?.[o]?.name,io=(o,e,i)=>{let s=i;s?.series?.[e]!==void 0&&(s.series[e].name=o)},so=(o,e)=>{let i,s=e.series?.[o];return s?.type===f.BoxPlotSeries?i=s.fillSymbol?.color:s?.type===f.LineSeries&&(i=s.lineSymbol?.color),i},Fe=o=>{let e=o.series[0];return o.showMean===!0&&O(e)?e.fillSymbol?.color:void 0},ve=(o,e)=>{let i=e.series[0];e.showMean===!0&&O(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=o:i.fillSymbol={...D(),color:o})},ro=(o,e,i)=>{let s=i?.series?.[e];s?.type===f.BoxPlotSeries&&s.fillSymbol!==void 0?s.fillSymbol.color=o:s?.type===f.LineSeries&&s.lineSymbol!==void 0&&(s.lineSymbol.color=o,s.markerSymbol!==void 0&&(s.markerSymbol.color=o))},Me=o=>o.series.map(e=>e.id),Be=(o,e)=>{e?.series?.sort((i,s)=>o.findIndex(r=>i.id===r)-o.findIndex(r=>s.id===r))},no=(o,e,i)=>{let s=Me(i),[r]=s.splice(o,1);s.splice(e,0,r),Be(s,i)},lo=o=>U(o)?o.series.findIndex(e=>e.type===f.BoxPlotSeries):-1;function Ae(o,e,i){let s=be(o,e,i),r=ce(o),n=L(o);return s===r||n}function de(o,e,i){let s=k(o,e,i),r=T(1,o),n=L(o);return s===r||n}function Le(o){let{config:e,layerInfo:i,newCategory:s}=o,{layerFieldsInfo:r}=i,n=B(e),t=s!==w?F(r,n):"",l=T(0,e),a=L(e);return t===l||a||l.trim()===""}var B=o=>A(o)?.x??w,Oe=$(o=>{let e=A(o),i=e?.query?.where?.split("=")[0].trim()??"";return re(e?.query?.where)?"":i},o=>A(o)?.query?.where),fe=$(o=>ne(o?.series).filter(e=>e!==""),o=>o?.series),V=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={..._(r,i),x:e===void 0||e===""?w:e,y:s,query:{}};return E(n)},Ce=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={...se({commonStrings:r,seriesIndex:i}),x:e===void 0||e===""?w:e,y:s,query:{}};return E(n)};function ge(o){let{x:e,y:i,seriesTemplate:s,commonStrings:r}=o,{id:n,fillSymbol:t}=s??{},l=_(r),a=n??`series_${Date.now()}`;return l.id=a,l.name=a,l.x=e,l.y=i,t?l.fillSymbol=t:l.fillSymbol&&(l.fillSymbol.color=G,l.fillSymbol?.outline&&(l.fillSymbol.outline.color=G)),l}function ue(o){let{numericFields:e,config:i,layerInfo:s,category:r,commonStrings:n}=o,{layerFieldsInfo:t}=s,l=[],a=r??B(i),y=!1;if(e.length===0){let c=V({y:"",seriesIndex:0,category:a,commonStrings:n});l.push(c)}else if(a===w){let c=e.length>1?e:e[0],b=V({y:c,seriesIndex:0,category:a,commonStrings:n}),v=e.length>1?n.axisLabels.values:F(s.layerFieldsInfo,e[0]),g={...b,id:e[0],name:v,x:a},m=i.series.find(S=>Z(c,S.y)&&S.query?.where===void 0);m!==void 0&&(!i.colorMatch&&"fillSymbol"in m&&(g.fillSymbol=m.fillSymbol,y=!0),g.id=m.id,g.name=m.name),l.push(g)}else for(let c=0;c<e.length;c+=1){let b=e[c],v=V({y:b,seriesIndex:c,category:a,commonStrings:n}),g=F(t,b),m={...v,id:b,name:g,x:a},S=i.series.find(h=>b===h.y);S!==void 0&&(!i.colorMatch&&"fillSymbol"in S&&(m.fillSymbol=S.fillSymbol,y=!0),m.id=S.id,m.name=S.name),l.push(m)}return i.series.length===1&&l.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(l[0].fillSymbol=i.series[0].fillSymbol,y=!0),i.colorMatch=!y,l}var Se=o=>o?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",ke=o=>o.series.some(e=>e.type===f.LineSeries)&&o.series.some(e=>e.type===f.BoxPlotSeries);function qe(o,e,i){let s=[];return o.forEach(r=>{if(r.type===f.BoxPlotSeries){let{type:n,fillSymbol:t,...l}=r;s.push({...l,type:f.LineSeries,lineSymbol:{...J({width:j}),...t!==void 0?{color:t.color}:{}},markerSymbol:{...W(),...t!==void 0?{color:t.color}:{}}})}}),s.unshift(ge({x:o[0].x,y:o[0].y,seriesTemplate:i,commonStrings:e})),s}function De(o){let e=o.slice(1),i=[];return e.forEach(s=>{if(s.type===f.LineSeries){let{type:r,lineSymbol:n,markerSymbol:t,...l}=s,a=D();i.push({...l,type:f.BoxPlotSeries,fillSymbol:{...a,color:n?.color}})}}),i}function pe(o){let{formerSeries:e,newSeries:i,showMean:s}=o,r=i,n=a=>a.type===(s?f.LineSeries:f.BoxPlotSeries),t=e.filter(n).map(a=>a.id),l=i.filter(n).map(a=>a.id);return t.length===l.length&&JSON.stringify(t)!==JSON.stringify(l)&&(r=r.sort((a,y)=>t.findIndex(c=>c===a.id)-t.findIndex(c=>c===y.id))),r}async function Te(o){let{config:e,layerInfo:i,commonStrings:s,splitByField:r,numericFields:n,category:t}=o,{layer:l,layerFieldsInfo:a}=i,{fetchNullValues:y}=A(e)?.query??{},c=t??B(e),{categoriesArray:b,splitByFieldType:v}=await ye({config:e,layer:l,layerFieldsInfo:a,xAxisField:z(c)?void 0:c,aggregationFields:n,splitByField:r,fetchNullValues:y}),g=[],m=!1,S=ke(e);if(b.length===0){g=ue({numericFields:n,category:c,config:e,layerInfo:i,commonStrings:s});for(let h of g)h.query&&(h.query.where=`${r}=''`)}else for(let h=0;h<b.length;h+=1){let M=b[h],q={y:n,seriesIndex:h,category:c,commonStrings:s},X=S?Ce(q):V(q),he={fieldName:r,fieldValueToMatch:M??"",subtypeInfo:H(i.layer),fieldList:i.layerFieldsInfo},we=K(he),N=`${M}`,I={...X,id:N,name:we??N,x:c===void 0||c===""?w:c,query:{...X.query,where:`${r}=${v===ee.String&&M!==null?`'${M}'`:M}`}},p=e.series.find(Ie=>Se(Ie)===N);p!==void 0&&(e.colorMatch||(I.type===f.BoxPlotSeries?O(p)?I.fillSymbol=p.fillSymbol:I.fillSymbol={...D(),color:p.lineSymbol?.color}:O(p)?(I.lineSymbol={...J({width:j}),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}},I.markerSymbol={...W(),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}}):(I.lineSymbol=p.lineSymbol,I.markerSymbol=p.markerSymbol),m=!0),I.id=p.id,I.name=p.name),g.push(I)}if(g=pe({formerSeries:e.series,newSeries:g,showMean:U(e)}),e.colorMatch=!m,U(e)){let h=e.series.find(q=>q.type===f.BoxPlotSeries),M=ge({x:c,y:n,seriesTemplate:h,commonStrings:s});g.unshift(M)}return g}var to=async o=>{let{splitByField:e,numericFields:i,category:s,config:r,layerInfo:n,commonStrings:t}=o,{layerFieldsInfo:l}=n,a=Ne(s,i,e),y=le(l),c=B(r),b=Ae(r,n,t),v=de(r,n,t),g=Le({config:r,layerInfo:n,newCategory:s}),m=R(r);if(!y.includes(c)&&y.includes(s)?m=ie():y.includes(c)&&!y.includes(s)&&(m=oe()),m!==void 0&&ae(r,t,m),Ve(a?{newShowMeanLines:r.showMean,config:r,commonStrings:t}:{newShowMeanLines:!1,config:r,commonStrings:t}),r.series=a?await Te({config:r,layerInfo:n,splitByField:e,numericFields:i,category:s,commonStrings:t}):ue({numericFields:i,config:r,layerInfo:n,category:s,commonStrings:t}),g){let S=z(s)?"":F(l,s);C(r,0,S)}if(v){let S=k(r,n,t);C(r,1,S)}r?.title!==void 0&&b&&(r.title.content.text=be(r,n,t)),Q({config:r,value:null,axisIndex:1,isMax:!1}),Q({config:r,value:null,axisIndex:1,isMax:!0})},Pe=o=>o?.standardizeValues??!1;function k(o,e,i){let{layerFieldsInfo:s}=e,r=Pe(o)?i.axisLabels.standardizedValues:i.axisLabels.values,n=o?.series?.map(t=>t.y).flat();return n=[...new Set(n)],n.length===1&&(r=F(s,n[0])),r}function be(o,e,i){let{layerFieldsInfo:s}=e,r=B(o),n=fe(o),t=Oe(o),l=n.map(c=>F(s??[],c)).join(", "),a=F(s??[],r),y="";return n.length>0&&(r!==w&&t!==""?y=P(i.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:l,category:a,splitByField:t}):r!==w?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:a}):t!==""?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:t}):y=P(i.titleLabels.distributionOfField,{valueField:l})),y}var ao=o=>{let{series:e,splitByField:i,layerInfo:s,commonStrings:r}=o,n=typeof e.y=="string"?F(s.layerFieldsInfo,e.y):r.axisLabels.values;Y(i)||(n=Se(e));let t={fieldName:i,fieldValueToMatch:n??"",subtypeInfo:H(s.layer),fieldList:s.layerFieldsInfo};return n=K(t)??n,n??e.id},co=o=>o?.showOutliers??!1,yo=o=>{let{newShowOutliers:e,config:i,layerInfo:s,commonStrings:r}=o;if(i.showOutliers=e,de(i,s,r)){let n=k(i,s,r);C(i,1,n)}},mo=o=>{let{newStandardizeValues:e,config:i,layerInfo:s,commonStrings:r}=o,n=T(1,i),t=k(i,s,r),l=L(i);if(i.standardizeValues=e,n===t||l){let a=k(i,s,r);C(i,1,a)}},xe=o=>{let e=d.xAxisAsc,i=o.orderOptions?.data?.orderType??u.Category,s=o.orderOptions?.data?.orderBy??x.Ascending;switch(i){case u.Category:e=Array.isArray(s)?d.customSort:s===x.Ascending?d.xAxisAsc:d.xAxisDesc;break;case u.Mean:e=s===x.Ascending?d.meanAsc:d.meanDesc;break;case u.Median:e=s===x.Ascending?d.medianAsc:d.medianDesc;break}return e},fo=(o,e,i)=>{let s=u.Category,r=x.Ascending;if(e.orderOptions=e.orderOptions??{},o===d.customSort&&i!==void 0)e.orderOptions.data={orderType:u.Category,orderBy:i};else{switch(o){case d.xAxisAsc:{s=u.Category,r=x.Ascending;break}case d.xAxisDesc:{s=u.Category,r=x.Descending;break}case d.meanAsc:{s=u.Mean,r=x.Ascending;break}case d.meanDesc:{s=u.Mean,r=x.Descending;break}case d.medianAsc:{s=u.Median,r=x.Ascending;break}case d.medianDesc:{s=u.Median,r=x.Descending;break}}e.orderOptions.data={orderType:s,orderBy:r}}},U=o=>o.showMean??!1,Ve=o=>{let{newShowMeanLines:e=!1,config:i,commonStrings:s,previousMeanLinesBoxColor:r}=o,n=e?r:Fe(i),t=(e??!1)!==(i.showMean??!1);if(i.showMean=e,t){let l;e?l=te(i.series)?qe(i.series,s):i.series:l=De(i.series),l&&(l=pe({formerSeries:i.series,newSeries:l,showMean:e}),i.series=l)}return e&&r!==void 0&&ve(r,i),{previousMeanLinesBoxColor:n}},go=o=>{let e=[],i=o.orderOptions?.data?.orderType;return xe(o)===d.customSort&&i===u.Category&&(e=o.orderOptions?.data?.orderBy),e},uo=(o,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;xe(e)===d.customSort&&i===u.Category&&(e.orderOptions.data={orderType:u.Category,orderBy:o})},So=async(o,e)=>{let i=B(o),s=R(o)?.type,r=fe(o),n=[];return s===f.CategoryAxisFormat&&(i===w?n=r:z(i)||(n=await me({layerInfo:e,config:o,category:i}))),n},z=o=>o.trim()===""||o===w,ze=(o,e)=>e.length>1&&!z(o),Ne=(o,e,i)=>!ze(o,e)&&i!=="";return{a:oo,b:io,c:so,d:Fe,e:ve,f:ro,g:Me,h:Be,i:no,j:lo,k:B,l:Oe,m:fe,n:to,o:Pe,p:k,q:be,r:ao,s:co,t:yo,u:mo,v:xe,w:fo,x:U,y:Ve,z:go,A:uo,B:So,C:ze,D:Ne}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.21 */
|
|
4
|
+
import"./6X3NOINZ.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:"%",_percentSuffix:null,_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"MS",_era_bc:"M\xD6",A:"\xF6\xF6",P:"\xF6s",AM:"\xD6\xD6",PM:"\xD6S","A.M.":"\xD6\xD6","P.M.":"\xD6S",January:"Ocak",February:"\u015Eubat",March:"Mart",April:"Nisan",May:"May\u0131s",June:"Haziran",July:"Temmuz",August:"A\u011Fustos",September:"Eyl\xFCl",October:"Ekim",November:"Kas\u0131m",December:"Aral\u0131k",Jan:"Oca",Feb:"\u015Eub",Mar:"Mar",Apr:"Nis","May(short)":"May",Jun:"Haz",Jul:"Tem",Aug:"A\u011Fu",Sep:"Eyl",Oct:"Eki",Nov:"Kas",Dec:"Ara",Sunday:"Pazar",Monday:"Pazartesi",Tuesday:"Sal\u0131",Wednesday:"\xC7ar\u015Famba",Thursday:"Per\u015Fembe",Friday:"Cuma",Saturday:"Cumartesi",Sun:"Paz",Mon:"Pzt",Tue:"Sal",Wed:"\xC7ar",Thu:"Per",Fri:"Cum",Sat:"Cmt",_dateOrd:function(a){var e="th";if(a<11||a>13)switch(a%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Yak\u0131nla\u015Ft\u0131r",Play:"Oynat",Stop:"Durdur",Legend:"G\xF6sterge","Click, tap or press ENTER to toggle":"",Loading:"Y\xFCkleniyor",Home:"Giri\u015F Sayfas\u0131",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Yazd\u0131r",Image:"G\xF6r\xFCnt\xFC",Data:"Veri",Print:"Yazd\u0131r","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Kaynak %1 hedef %2","From %1":"Kaynak %1","To %1":"Hedef %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
+
v5.0.0-next.21 */
|
|
4
|
+
import{a as L}from"./XEZUUESQ.js";import{a as P}from"./XBSU5RMI.js";import{a as v}from"./B6EUGEFM.js";import h from"./RIIIVJLP.js";import"./7RMKZ4PY.js";import{a as I}from"./DTZBBW3J.js";import f from"./UEQU7T6L.js";import"./L6UUC2GI.js";import e from"./Q5TR7VJT.js";import c from"./QBXIU4YH.js";import"./LSOZEH46.js";import"./CWCJ67DX.js";import"./F3BSM26R.js";import{b as u,f as r}from"./FLQVC3QN.js";import{A as a,B as d,D as p,F as y,g as b,h as o,l as g,y as $}from"./GDA7PY47.js";import"./6X3NOINZ.js";export default $arcgis.t(([,,,,,,,{Ha:k},,C,{r:x}])=>{var _={stackedType:"stacked-type"},l={topSection:"top-section",sectionLabel:"section-label",list:"list",disabledInfo:"disabled-info",disabledStackingOption:"disabled-stacking-option"},E=b`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.top-section{margin-top:var(--arcgis-charts-config-margin-minor)}.section-label{display:flex;margin-bottom:var(--arcgis-charts-config-margin-major);margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.disabled-info{margin:auto 1rem;pointer-events:auto}.disabled-info:active{margin:auto 1rem;pointer-events:none}.disabled-stacking-option{pointer-events:none;opacity:var(--calcite-opacity-disabled)}`,S=class extends ${constructor(){super(...arguments),this._messages=I(),this.open=!1,this.seriesNameChange=e=>{if(e.detail!==null&&e.detail!==void 0){let t=e.detail?.name;if(this.isNullCategorySelected){let i=this.model.nullCategory;if(i){let s={...i,text:t};this.model.nullCategory=s}}else this.model.setSeriesName(t,this.selectedSeriesIndex??-1)}},this.seriesColorChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{color:t}=e.detail;if(t!==void 0){if(this.isNullCategorySelected){let i=this.model.nullCategory,s=i?.symbol&&{...i,symbol:{...i.symbol,color:t,outline:i.symbol.outline&&{...i.symbol.outline,color:t}}};this.model.nullCategory=s}else this.model.setSeriesColor(t,this.selectedSeriesIndex??-1);this.model.colorMatch=!1}}},this.seriesPopoverClose=e=>{let{selectedSeriesIndex:t}=e.detail;this.selectedSeriesIndex===t&&(this.seriesPopover=v(this.seriesPopover),this.selectedSeriesIndex=void 0)},this.onModelConfigChange=()=>{this.requestUpdate()},this.seriesOrderResetCounter=0,this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigDataChangeError=g(),this.arcgisChartsConfigPopoverOpenChange=g()}static{this.properties={seriesOrderResetCounter:16,selectedSeriesIndex:16,messageOverrides:0,model:0,activeColorMatch:5,popoverPlacement:1}}static{this.styles=E}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("selectedSeriesIndex")&&this.selectedSeriesIndexChange()}disconnectedCallback(){super.disconnectedCallback(),this.removeSeriesPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}removeSeriesPopover(){this.seriesPopover!==null&&this.seriesPopover!==void 0&&(this.seriesPopover.open=!1,this.seriesPopover=v(this.seriesPopover))}selectedSeriesIndexChange(){this.selectedSeriesIndex!==void 0&&(this.seriesPopover=p(o`<arcgis-charts-config-bar-chart-series-popover .referenceElement=${this.el} .selectedName=${this.selectedSeriesIndex!=null?this.model.getSeriesName(this.selectedSeriesIndex):void 0} .selectedColor=${this.selectedSeriesIndex!=null?this.model.getSeriesColor(this.selectedSeriesIndex):void 0} .placement=${this.popoverPlacement} .selectedSeriesIndex=${this.selectedSeriesIndex!=null?this.selectedSeriesIndex:void 0} .nullCategory=${this.isNullCategorySelected?this.model.nullCategory:void 0} .open=${this.open} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-bar-chart-series-popover>`),this.seriesPopover&&!document.body.contains(this.seriesPopover)&&document.body.appendChild(this.seriesPopover))}buildSeriesListItems(){let e=this.model.seriesLength??0,t=Array.from({length:e},(i,s)=>s);return L(t,i=>this.model.getSeriesId(i),i=>{let s=this.model.getSeriesId(i),n=this.model.getSeriesColor(i),h=this.model.getSeriesName(i),m=this.model.chartSubType===k.BarAndLineFromFields?this._messages.series:s,c="#CCCCCC",f="minus-square";if((e>1||!this.activeColorMatch)&&n!==void 0){f="square-f";let[T,M,N,O]=[...n];c=`rgba(${T},${M},${N},${O/255})`}return o`<calcite-list-item .label=${h??s??""} .description=${m} .value=${s} .selected=${this.selectedSeriesIndex===i} @click=${this.openSeriesPopOver}><calcite-icon .icon=${f} style=${d({color:c})} slot=content-end></calcite-icon></calcite-list-item>`})}buildSeriesList(){return P(this.seriesOrderResetCounter,o`<calcite-list label class=${a(l.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`)}buildNullCategoryUI(){let e=this.model.nullCategory,t=this._messages.nullCategory,i=e?.symbol?.color??C.nullCategory?.symbol?.color??C.grayColor,[s,n,h,m]=[...i],c=`rgba(${s},${n},${h},${m/255})`;return o`<calcite-list label class=${a(l.list)} selection-mode=none><calcite-list-item .label=${t} .value=${t} .selected=${this.selectedSeriesIndex===null} @click=${this.openSeriesPopOver}><calcite-icon icon=square-f style=${d({color:c})} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`}buildMultipleBarTypeList(){let e=this.shouldDisableStacking();return e&&this.model.stackedType!==r.Side&&(this.model.stackedType=r.Side),o`<calcite-list label id=${_.stackedType} class=${a(l.list)} selection-mode=single-persist selection-appearance=border @click=${this.onMultipleBarSelect}><calcite-list-item .label=${this._messages.sideBySide} .value=${r.Side} .selected=${this.model.stackedType===void 0||this.model.stackedType===r.Side}><calcite-icon scale=l icon=graph-bar-side-by-side slot=content-start></calcite-icon></calcite-list-item><calcite-list-item class=${a(e?l.disabledStackingOption:"")} .label=${this._messages.stacked} .value=${r.Stacked} .selected=${this.model.stackedType===r.Stacked}><calcite-icon scale=l icon=graph-bar-stacked slot=content-start></calcite-icon>${e&&o`<calcite-icon class=${a(l.disabledInfo)} slot=content-end icon=information scale=s flip-rtl @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-icon>`||""}</calcite-list-item><calcite-list-item class=${a(e?l.disabledStackingOption:"")} .label=${this._messages.stacked100} .value=${r.Stacked100} .selected=${this.model.stackedType===r.Stacked100}><calcite-icon scale=l icon=graph-bar-100-stacked slot=content-start></calcite-icon>${e&&o`<calcite-icon class=${a(l.disabledInfo)} slot=content-end icon=information scale=s flip-rtl @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-icon>`||""}</calcite-list-item></calcite-list>`}resetSeriesOriginal(){this.selectedSeriesIndex=void 0,this.model.resetSeriesStyling(),this.seriesOrderResetCounter+=1}onMultipleBarSelect(e){if(!this.shouldDisableStacking()){let t=e.target;this.model.stackedType=t.value??t.parentElement.value??""}}onCalciteListOrderChange(e){if(e.detail!==null&&e.detail!==void 0){let{newIndex:t,oldIndex:i}=e.detail;this.model.moveSeries(i,t),this.seriesOrderResetCounter+=1}}openSeriesPopOver(e){e.stopImmediatePropagation(),this.removeSeriesPopover();let t=e.target,i=t.localName==="calcite-list-item"?t:t.parentNode,s=this.model.getSeriesIndex(i.value);this.open=this.selectedSeriesIndex!==s,this.selectedSeriesIndex=this.selectedSeriesIndex!==s?s:void 0,this.isNullCategorySelected=i.value===this._messages.nullCategory}createTooltip(e){let t=e.target,i=(this.model.aggregationType===u.NoAggregation?this._messages.noAggStackingDisabled:this._messages.singleStackingDisabled)??"";this.tooltip=p(o`<calcite-tooltip style=${d({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}destroyTooltip(){x(this.tooltip)}shouldDisableStacking(){return(this.model.seriesLength??0)<=1||this.model.aggregationType===u.NoAggregation}render(){return o`<div class=${`${l.sectionLabel} ${l.topSection}`}>${this._messages.displayMultiSeries}</div>${this.buildMultipleBarTypeList()}<div class=${a(l.sectionLabel)}>${this._messages.series}<calcite-button @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSeriesList()}${this.model.nullCategory!==void 0&&this.model.fetchNULLValues?this.buildNullCategoryUI():null}`}};y("arcgis-charts-config-bar-chart-series",S);return S},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",c,e,f,h)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as C}from"./CS23XTN5.js";import e from"./SJ4Q5TVO.js";import"./6TTLV323.js";import{a as I}from"./BZCO5IN4.js";import d from"./FRMIXEGJ.js";import{d as x,f as l}from"./KSHI4EAD.js";import c from"./ZAV5M6VU.js";import{a as E,b as L,f as a,h as M,i as f,r as D,w as u,x as G,y as j,z as O}from"./4JJZWRU4.js";import"./GIRNLIKH.js";import{g as y,h as z,j as m,k as h,m as S,n as T,q as p}from"./FHTWMUEI.js";import{f as i,g as r,h as X}from"./UOFK5FPD.js";import{a as n}from"./FL7OHU6D.js";import{A as g,D as N,F as w,g as A,h as b,x as B,y as V}from"./TWOW3KTS.js";import"./7VN53RK6.js";export default $arcgis.t(([,,,,,,,,,{e:R}])=>{var P={type:u.TS,color:[1,1,1,255],font:{family:"Tahoma",size:12,decoration:O.None,style:G.Normal,weight:j.Normal}},k={type:u.SLS,color:[1,1,1,255],style:D.Solid,width:2},v={element:"chart-element",elementList:"element-list",sectionLabel:"section-label"},W=A`:host{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`,F=class extends V{constructor(){super(...arguments),this._messages=I(),this.formatPopover=null,this.selectableElements=[],this.textProperties=[],this.symbolProperties=[],this.symbolPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedTexts=[],this.selectedBackground=[],this.selectedSymbols.includes(s))this.selectedSymbols=[],this.updateSelectedElement(this.selectedSymbols);else{let o=this.getFormatValue(s);this.selectedSymbols=[s],this.initSelectedSymbols(x(o)?o:k)}this.setupFormatPopover()},this.textPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedBackground=[],e.shiftKey){this.selectedTexts=[];let o=this.textProperties.indexOf(this.lastSelectedText??s),c=this.textProperties.indexOf(s);this.textProperties.forEach((d,$)=>{$>=Math.min(o,c)&&$<=Math.max(o,c)&&this.selectedTexts.push(d)}),this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover()}else if(e.ctrlKey)this.selectedTexts.includes(s)?(this.selectedTexts=this.selectedTexts.filter(o=>o!==s),this.updateSelectedElement(this.selectedTexts)):(this.selectedTexts=[...this.selectedTexts,s],this.updateSelectedElement(this.selectedTexts)),this.setupFormatPopover();else if(this.selectedTexts.includes(s))this.selectedTexts=[],this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover();else{let o=this.getFormatValue(s);this.selectedTexts=[s],this.initSelectedTexts(l(o)?o:P),this.setupFormatPopover()}this.lastSelectedText=s},this.backgroundChange=t=>{let e=t;e.stopImmediatePropagation();let s;e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground.includes(s)?(this.selectedBackground=[],this.selectedElement={}):(this.selectedBackground=[s],this.selectedElement=f(this.getFormatValue(s))?void 0:this.getFormatValue(s)),this.setupFormatPopover()},this.updateSymbolProps=t=>{let e=t.detail;this.selectedSymbols.forEach(s=>{this.setFormatValue(s,e)}),this.selectedElement=a(t.target.selectedElement)},this.updateBackground=t=>{this.setFormatValue(X.Background,t.detail),this.selectedElement=t.detail},this.updateTextProps=t=>{let{font:e,color:s}=t.detail;this.selectedTexts.forEach(o=>{let c=this.getFormatValue(o),d=l(c)?c:void 0;this.setFormatValue(o,{...d,type:u.TS,font:{...d?.font,...e},color:s??d?.color})}),this.selectedElement=a(t.target.selectedElement)},this.onModelConfigChange=()=>{this.requestUpdate()},this.formatPopoverClose=t=>{this.formatPopover===t?.target&&(this.selectedTexts=[],this.selectedSymbols=[],this.selectedBackground=[],this.selectedElement={},this.removeFormatPopover())},this.mergeFormatValues=(t,e)=>{let s=!1;E(t)&&E(e)||L(t)&&L(e)?s=!0:s=t===e;let o=typeof t=="number"||typeof e=="number"?Number.NaN:"";return s?void 0:o},this.updateSelectableElements=t=>{t&&!this.selectableElements.includes(t)&&this.selectableElements.push(t)},this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground=[]}static{this.properties={selectedSymbols:16,selectedTexts:16,selectedBackground:16,selectedElement:16,messageOverrides:0,model:0}}static{this.styles=W}load(){this.modelChange(this.model)}willUpdate(t){t.has("model")&&this.modelChange(this.model,t.get("model"))}disconnectedCallback(){super.disconnectedCallback(),this.removeFormatPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(t,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),t?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}correctTextElementSelection(){for(let t of this.selectableElements){let e=this.selectedTexts.includes(t.value)||this.selectedSymbols.includes(t.value)||this.selectedBackground.includes(t.value);t.selected=e}}updateSelectedElement(t,e){if(this.selectedElement=void 0,e===void 0){let s=a(this.getFormatValue(t[0]));this.selectedElement=t?.reduce((o,c)=>{let d=this.getFormatValue(c);return M(o,d,this.mergeFormatValues)},s)}else{let s=a(e);f(e)&&(this.selectedSymbols?.length>0&&(s=a(k)),this.selectedTexts?.length>0&&(s=a(P))),this.selectedElement=s}}initSelectedTexts(t){let e=a(t);f(t)&&(e=a(P)),this.selectedElement=e}initSelectedSymbols(t){let e=a(t);f(t)&&(e=a(k)),this.selectedElement=e}setupFormatPopover(){this.formatPopover=C(this.formatPopover);let t=this.selectedElement;t?.type===u.TS||t?.type===u.SLS||Array.isArray(this.selectedElement)?(this.formatPopover=N(b`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`),this.formatPopover!==null&&!document.body.contains(this.formatPopover)&&document.body.appendChild(this.formatPopover)):this.removeFormatPopover()}removeFormatPopover(){this.formatPopover!==null&&(this.formatPopover.open=!1,this.formatPopover=C(this.formatPopover))}getFormatValue(t){switch(t){case i.Title:return this.model.titleSymbol;case i.Description:return this.model.descriptionSymbol;case i.XAxisTitle:return m(this.model)?this.model.xAxisTitleSymbol:void 0;case i.YAxisTitle:return h(this.model)?this.model.getAxisTitleSymbol(1):void 0;case i.AxisLabels:return m(this.model)?this.model.axisLabelsSymbol:void 0;case i.GuideLabels:return T(this.model)?this.model.guideLabelsSymbol:void 0;case i.LegendText:return p(this.model)?this.model.legendTextSymbol:void 0;case i.LegendTitle:return p(this.model)?this.model.legendTitleSymbol:void 0;case i.DataLabels:return S(this.model)?this.model.dataLabelsSymbol:void 0;case r.AxisLines:return m(this.model)?this.model.axisLinesSymbol:void 0;case r.GridLines:return h(this.model)?this.model.getGridLinesSymbol():void 0;case r.LeaderLines:return y(this.model)?this.model.ticksSymbol:void 0;case i.Background:return this.model.backgroundColor;default:return}}setFormatValue(t,e){switch(t){case i.Title:l(e)&&(this.model.titleSymbol=e);break;case i.Description:l(e)&&(this.model.descriptionSymbol=e);break;case i.XAxisTitle:m(this.model)&&l(e)&&(this.model.xAxisTitleSymbol=e);break;case i.YAxisTitle:h(this.model)&&l(e)&&this.model.setAxisTitleSymbol(e,1);break;case i.AxisLabels:m(this.model)&&l(e)&&(this.model.axisLabelsSymbol=e);break;case i.GuideLabels:T(this.model)&&l(e)&&(this.model.guideLabelsSymbol=e);break;case i.LegendText:p(this.model)&&l(e)&&(this.model.legendTextSymbol=e);break;case i.LegendTitle:p(this.model)&&l(e)&&(this.model.legendTitleSymbol=e);break;case i.DataLabels:S(this.model)&&l(e)&&(this.model.dataLabelsSymbol=e);break;case r.AxisLines:m(this.model)&&x(e)&&(this.model.axisLinesSymbol=e);break;case r.GridLines:if(h(this.model)&&x(e)){let s=this.model.chartType,o=[];switch(s){case n.BarSeries:case n.LineSeries:case n.ComboLineAndBarSeries:case n.HistogramSeries:case n.BoxPlotSeries:case n.RadarSeries:{o=[1];break}case n.ScatterSeries:{o=[0,1];break}}this.model.setGridLinesSymbol(e,o)}break;case r.LeaderLines:y(this.model)&&x(e)&&(this.model.ticksSymbol=e);break;case i.Background:Array.isArray(e)&&(this.model.backgroundColor=e);break}}renderFormatElements(){this.textProperties=[i.Title,...m(this.model)?[i.XAxisTitle]:[],...h(this.model)?[i.YAxisTitle]:[],...p(this.model)?[i.LegendTitle]:[],i.Description,...p(this.model)?[i.LegendText]:[],...m(this.model)?[i.AxisLabels]:[],...T(this.model)?[i.GuideLabels]:[],...S(this.model)?[i.DataLabels]:[]],z(this.model)&&(this.textProperties=this.textProperties.filter(s=>s!==i.DataLabels)),this.symbolProperties=[i.Background,...m(this.model)?[r.AxisLines]:[],...h(this.model)?[r.GridLines]:[],...y(this.model)?[r.LeaderLines]:[]];let t=this.textProperties.map(s=>this.renderTextElement(s,this.textPropertyChange)),e=this.symbolProperties.map(s=>s===i.Background?this.renderTextElement(s,this.backgroundChange):this.renderTextElement(s,this.symbolPropertyChange));return{textElements:t,symbolElements:e}}renderTextElement(t,e){let s=R(t),o=this.getFormatValue(t),c=typeof o=="string"?o:"",d=this.selectedTexts.includes(t)||this.selectedSymbols.includes(t)||this.selectedBackground.includes(t);return b`<calcite-list-item class=${g(v.element)} .label=${this._messages[t]} .description=${c} .value=${t} .selected=${d} @click=${e} ${B(this.updateSelectableElements)}>${s!==void 0?b`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>`:null}</calcite-list-item>`}render(){let{textElements:t,symbolElements:e}=this.renderFormatElements();return b`<div class=${g(v.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${g(v.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`}};w("arcgis-charts-config-format",F);return F},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",c,d,e)
|
|
3
|
+
v5.0.0-next.21 */
|
|
4
|
+
import{a as C}from"./B6EUGEFM.js";import e from"./RIIIVJLP.js";import"./7RMKZ4PY.js";import{a as I}from"./DTZBBW3J.js";import d from"./Q5TR7VJT.js";import{d as x,f as l}from"./V5K3XKFG.js";import c from"./QBXIU4YH.js";import{a as E,b as L,f as a,h as M,i as f,r as D,w as u,x as G,y as j,z as O}from"./LSOZEH46.js";import"./CWCJ67DX.js";import{g as y,h as z,j as m,k as h,m as S,n as T,q as p}from"./4BOV2Y63.js";import{f as i,g as r,h as X}from"./F3BSM26R.js";import{a as n}from"./FLQVC3QN.js";import{A as g,D as N,F as w,g as A,h as b,x as B,y as V}from"./GDA7PY47.js";import"./6X3NOINZ.js";export default $arcgis.t(([,,,,,,,,,{e:R}])=>{var P={type:u.TS,color:[1,1,1,255],font:{family:"Tahoma",size:12,decoration:O.None,style:G.Normal,weight:j.Normal}},k={type:u.SLS,color:[1,1,1,255],style:D.Solid,width:2},v={element:"chart-element",elementList:"element-list",sectionLabel:"section-label"},W=A`:host{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`,F=class extends V{constructor(){super(...arguments),this._messages=I(),this.formatPopover=null,this.selectableElements=[],this.textProperties=[],this.symbolProperties=[],this.symbolPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedTexts=[],this.selectedBackground=[],this.selectedSymbols.includes(s))this.selectedSymbols=[],this.updateSelectedElement(this.selectedSymbols);else{let o=this.getFormatValue(s);this.selectedSymbols=[s],this.initSelectedSymbols(x(o)?o:k)}this.setupFormatPopover()},this.textPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedBackground=[],e.shiftKey){this.selectedTexts=[];let o=this.textProperties.indexOf(this.lastSelectedText??s),c=this.textProperties.indexOf(s);this.textProperties.forEach((d,$)=>{$>=Math.min(o,c)&&$<=Math.max(o,c)&&this.selectedTexts.push(d)}),this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover()}else if(e.ctrlKey)this.selectedTexts.includes(s)?(this.selectedTexts=this.selectedTexts.filter(o=>o!==s),this.updateSelectedElement(this.selectedTexts)):(this.selectedTexts=[...this.selectedTexts,s],this.updateSelectedElement(this.selectedTexts)),this.setupFormatPopover();else if(this.selectedTexts.includes(s))this.selectedTexts=[],this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover();else{let o=this.getFormatValue(s);this.selectedTexts=[s],this.initSelectedTexts(l(o)?o:P),this.setupFormatPopover()}this.lastSelectedText=s},this.backgroundChange=t=>{let e=t;e.stopImmediatePropagation();let s;e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground.includes(s)?(this.selectedBackground=[],this.selectedElement={}):(this.selectedBackground=[s],this.selectedElement=f(this.getFormatValue(s))?void 0:this.getFormatValue(s)),this.setupFormatPopover()},this.updateSymbolProps=t=>{let e=t.detail;this.selectedSymbols.forEach(s=>{this.setFormatValue(s,e)}),this.selectedElement=a(t.target.selectedElement)},this.updateBackground=t=>{this.setFormatValue(X.Background,t.detail),this.selectedElement=t.detail},this.updateTextProps=t=>{let{font:e,color:s}=t.detail;this.selectedTexts.forEach(o=>{let c=this.getFormatValue(o),d=l(c)?c:void 0;this.setFormatValue(o,{...d,type:u.TS,font:{...d?.font,...e},color:s??d?.color})}),this.selectedElement=a(t.target.selectedElement)},this.onModelConfigChange=()=>{this.requestUpdate()},this.formatPopoverClose=t=>{this.formatPopover===t?.target&&(this.selectedTexts=[],this.selectedSymbols=[],this.selectedBackground=[],this.selectedElement={},this.removeFormatPopover())},this.mergeFormatValues=(t,e)=>{let s=!1;E(t)&&E(e)||L(t)&&L(e)?s=!0:s=t===e;let o=typeof t=="number"||typeof e=="number"?Number.NaN:"";return s?void 0:o},this.updateSelectableElements=t=>{t&&!this.selectableElements.includes(t)&&this.selectableElements.push(t)},this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground=[]}static{this.properties={selectedSymbols:16,selectedTexts:16,selectedBackground:16,selectedElement:16,messageOverrides:0,model:0}}static{this.styles=W}load(){this.modelChange(this.model)}willUpdate(t){t.has("model")&&this.modelChange(this.model,t.get("model"))}disconnectedCallback(){super.disconnectedCallback(),this.removeFormatPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(t,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),t?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}correctTextElementSelection(){for(let t of this.selectableElements){let e=this.selectedTexts.includes(t.value)||this.selectedSymbols.includes(t.value)||this.selectedBackground.includes(t.value);t.selected=e}}updateSelectedElement(t,e){if(this.selectedElement=void 0,e===void 0){let s=a(this.getFormatValue(t[0]));this.selectedElement=t?.reduce((o,c)=>{let d=this.getFormatValue(c);return M(o,d,this.mergeFormatValues)},s)}else{let s=a(e);f(e)&&(this.selectedSymbols?.length>0&&(s=a(k)),this.selectedTexts?.length>0&&(s=a(P))),this.selectedElement=s}}initSelectedTexts(t){let e=a(t);f(t)&&(e=a(P)),this.selectedElement=e}initSelectedSymbols(t){let e=a(t);f(t)&&(e=a(k)),this.selectedElement=e}setupFormatPopover(){this.formatPopover=C(this.formatPopover);let t=this.selectedElement;t?.type===u.TS||t?.type===u.SLS||Array.isArray(this.selectedElement)?(this.formatPopover=N(b`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`),this.formatPopover!==null&&!document.body.contains(this.formatPopover)&&document.body.appendChild(this.formatPopover)):this.removeFormatPopover()}removeFormatPopover(){this.formatPopover!==null&&(this.formatPopover.open=!1,this.formatPopover=C(this.formatPopover))}getFormatValue(t){switch(t){case i.Title:return this.model.titleSymbol;case i.Description:return this.model.descriptionSymbol;case i.XAxisTitle:return m(this.model)?this.model.xAxisTitleSymbol:void 0;case i.YAxisTitle:return h(this.model)?this.model.getAxisTitleSymbol(1):void 0;case i.AxisLabels:return m(this.model)?this.model.axisLabelsSymbol:void 0;case i.GuideLabels:return T(this.model)?this.model.guideLabelsSymbol:void 0;case i.LegendText:return p(this.model)?this.model.legendTextSymbol:void 0;case i.LegendTitle:return p(this.model)?this.model.legendTitleSymbol:void 0;case i.DataLabels:return S(this.model)?this.model.dataLabelsSymbol:void 0;case r.AxisLines:return m(this.model)?this.model.axisLinesSymbol:void 0;case r.GridLines:return h(this.model)?this.model.getGridLinesSymbol():void 0;case r.LeaderLines:return y(this.model)?this.model.ticksSymbol:void 0;case i.Background:return this.model.backgroundColor;default:return}}setFormatValue(t,e){switch(t){case i.Title:l(e)&&(this.model.titleSymbol=e);break;case i.Description:l(e)&&(this.model.descriptionSymbol=e);break;case i.XAxisTitle:m(this.model)&&l(e)&&(this.model.xAxisTitleSymbol=e);break;case i.YAxisTitle:h(this.model)&&l(e)&&this.model.setAxisTitleSymbol(e,1);break;case i.AxisLabels:m(this.model)&&l(e)&&(this.model.axisLabelsSymbol=e);break;case i.GuideLabels:T(this.model)&&l(e)&&(this.model.guideLabelsSymbol=e);break;case i.LegendText:p(this.model)&&l(e)&&(this.model.legendTextSymbol=e);break;case i.LegendTitle:p(this.model)&&l(e)&&(this.model.legendTitleSymbol=e);break;case i.DataLabels:S(this.model)&&l(e)&&(this.model.dataLabelsSymbol=e);break;case r.AxisLines:m(this.model)&&x(e)&&(this.model.axisLinesSymbol=e);break;case r.GridLines:if(h(this.model)&&x(e)){let s=this.model.chartType,o=[];switch(s){case n.BarSeries:case n.LineSeries:case n.ComboLineAndBarSeries:case n.HistogramSeries:case n.BoxPlotSeries:case n.RadarSeries:{o=[1];break}case n.ScatterSeries:{o=[0,1];break}}this.model.setGridLinesSymbol(e,o)}break;case r.LeaderLines:y(this.model)&&x(e)&&(this.model.ticksSymbol=e);break;case i.Background:Array.isArray(e)&&(this.model.backgroundColor=e);break}}renderFormatElements(){this.textProperties=[i.Title,...m(this.model)?[i.XAxisTitle]:[],...h(this.model)?[i.YAxisTitle]:[],...p(this.model)?[i.LegendTitle]:[],i.Description,...p(this.model)?[i.LegendText]:[],...m(this.model)?[i.AxisLabels]:[],...T(this.model)?[i.GuideLabels]:[],...S(this.model)?[i.DataLabels]:[]],z(this.model)&&(this.textProperties=this.textProperties.filter(s=>s!==i.DataLabels)),this.symbolProperties=[i.Background,...m(this.model)?[r.AxisLines]:[],...h(this.model)?[r.GridLines]:[],...y(this.model)?[r.LeaderLines]:[]];let t=this.textProperties.map(s=>this.renderTextElement(s,this.textPropertyChange)),e=this.symbolProperties.map(s=>s===i.Background?this.renderTextElement(s,this.backgroundChange):this.renderTextElement(s,this.symbolPropertyChange));return{textElements:t,symbolElements:e}}renderTextElement(t,e){let s=R(t),o=this.getFormatValue(t),c=typeof o=="string"?o:"",d=this.selectedTexts.includes(t)||this.selectedSymbols.includes(t)||this.selectedBackground.includes(t);return b`<calcite-list-item class=${g(v.element)} .label=${this._messages[t]} .description=${c} .value=${t} .selected=${d} @click=${e} ${B(this.updateSelectableElements)}>${s!==void 0?b`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>`:null}</calcite-list-item>`}render(){let{textElements:t,symbolElements:e}=this.renderFormatElements();return b`<div class=${g(v.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${g(v.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`}};w("arcgis-charts-config-format",F);return F},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",c,d,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.21 */
|
|
4
|
+
import"./6X3NOINZ.js";var o={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"n. l.",_era_bc:"pr. n. l.",A:"dop.",P:"odp.",AM:"dop.",PM:"odp.","A.M.":"dop.","P.M.":"odp.",January:"janu\xE1ra",February:"febru\xE1ra",March:"marca",April:"apr\xEDla",May:"m\xE1ja",June:"j\xFAna",July:"j\xFAla",August:"augusta",September:"septembra",October:"okt\xF3bra",November:"novembra",December:"decembra",Jan:"jan",Feb:"feb",Mar:"mar",Apr:"apr","May(short)":"m\xE1j",Jun:"j\xFAn",Jul:"j\xFAl",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"nedela",Monday:"pondelok",Tuesday:"utorok",Wednesday:"streda",Thursday:"\u0161tvrtok",Friday:"piatok",Saturday:"sobota",Sun:"ne",Mon:"po",Tue:"ut",Wed:"st",Thu:"\u0161t",Fri:"pi",Sat:"so",_dateOrd:function(e){return"."},"Zoom Out":"Zv\xE4\u010D\u0161enie",Play:"Prehra\u0165",Stop:"Ukon\u010Di\u0165 iter\xE1ciu (Stop)",Legend:"Legenda","Click, tap or press ENTER to toggle":"",Loading:"Na\u010D\xEDtanie",Home:"Domov",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Export",Image:"Obr\xE1zok",Data:"Data",Print:"Tla\u010D","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{o as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.21 */
|
|
4
|
+
import"./6X3NOINZ.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u05DC\u05E1\u05E4\u05D9\u05E8\u05D4",_era_bc:"\u05DC\u05E4\u05E0\u05D4\u05F4\u05E1",A:"\u05DC\u05E4\u05E0\u05D4\u05F4\u05E6",P:"\u05D0\u05D7\u05D4\u05F4\u05E6",AM:"\u05DC\u05E4\u05E0\u05D4\u05F4\u05E6",PM:"\u05D0\u05D7\u05D4\u05F4\u05E6","A.M.":"\u05DC\u05E4\u05E0\u05D4\u05F4\u05E6","P.M.":"\u05D0\u05D7\u05D4\u05F4\u05E6",January:"\u05D9\u05E0\u05D5\u05D0\u05E8",February:"\u05E4\u05D1\u05E8\u05D5\u05D0\u05E8",March:"\u05DE\u05E8\u05E5",April:"\u05D0\u05E4\u05E8\u05D9\u05DC",May:"\u05DE\u05D0\u05D9",June:"\u05D9\u05D5\u05E0\u05D9",July:"\u05D9\u05D5\u05DC\u05D9",August:"\u05D0\u05D5\u05D2\u05D5\u05E1\u05D8",September:"\u05E1\u05E4\u05D8\u05DE\u05D1\u05E8",October:"\u05D0\u05D5\u05E7\u05D8\u05D5\u05D1\u05E8",November:"\u05E0\u05D5\u05D1\u05DE\u05D1\u05E8",December:"\u05D3\u05E6\u05DE\u05D1\u05E8",Jan:"\u05D9\u05E0\u05D5\u05F3",Feb:"\u05E4\u05D1\u05E8\u05F3",Mar:"\u05DE\u05E8\u05E5",Apr:"\u05D0\u05E4\u05E8\u05F3","May(short)":"\u05DE\u05D0\u05D9",Jun:"\u05D9\u05D5\u05E0\u05D9",Jul:"\u05D9\u05D5\u05DC\u05D9",Aug:"\u05D0\u05D5\u05D2\u05F3",Sep:"\u05E1\u05E4\u05D8\u05F3",Oct:"\u05D0\u05D5\u05E7\u05F3",Nov:"\u05E0\u05D5\u05D1\u05F3",Dec:"\u05D3\u05E6\u05DE\u05F3",Sunday:"\u05D9\u05D5\u05DD \u05E8\u05D0\u05E9\u05D5\u05DF",Monday:"\u05D9\u05D5\u05DD \u05E9\u05E0\u05D9",Tuesday:"\u05D9\u05D5\u05DD \u05E9\u05DC\u05D9\u05E9\u05D9",Wednesday:"\u05D9\u05D5\u05DD \u05E8\u05D1\u05D9\u05E2\u05D9",Thursday:"\u05D9\u05D5\u05DD \u05D7\u05DE\u05D9\u05E9\u05D9",Friday:"\u05D9\u05D5\u05DD \u05E9\u05D9\u05E9\u05D9",Saturday:"\u05D9\u05D5\u05DD \u05E9\u05D1\u05EA",Sun:"\u05D9\u05D5\u05DD \u05D0\u05F3",Mon:"\u05D9\u05D5\u05DD \u05D1\u05F3",Tue:"\u05D9\u05D5\u05DD \u05D2\u05F3",Wed:"\u05D9\u05D5\u05DD \u05D3\u05F3",Thu:"\u05D9\u05D5\u05DD \u05D4\u05F3",Fri:"\u05D9\u05D5\u05DD \u05D5\u05F3",Sat:"\u05E9\u05D1\u05EA",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u05D4\u05EA\u05DE\u05E7\u05D3",Play:"\u05E0\u05D2\u05DF",Stop:"\u05E2\u05E6\u05D5\u05E8",Legend:"\u05DE\u05E7\u05E8\u05D0","Press ENTER to toggle":"",Loading:"\u05D8\u05E2\u05D9\u05E0\u05D4",Home:"\u05D3\u05E3 \u05D4\u05D1\u05D9\u05EA",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u05D4\u05D3\u05E4\u05E1",Image:"\u05EA\u05DE\u05D5\u05E0\u05D4",Data:"\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD",Print:"\u05D4\u05D3\u05E4\u05E1","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u05DE %1 \u05E2\u05D3 %2","From %1":"\u05DE %1","To %1":"\u05E2\u05D3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
+
v5.0.0-next.21 */
|
|
4
|
+
import l from"./AYUFTRIT.js";import k from"./UEQU7T6L.js";import"./L6UUC2GI.js";import j from"./Q5TR7VJT.js";import i from"./FTB74LRR.js";import h from"./NKZDAPEF.js";import f from"./FVW7NJSZ.js";import e from"./2RWSL7IX.js";import d from"./XKGITGT4.js";import b from"./SQWACKER.js";import"./V5K3XKFG.js";import a from"./QBXIU4YH.js";import"./LSOZEH46.js";import"./CWCJ67DX.js";import"./F3BSM26R.js";import{a as F,b as c,e as g}from"./FLQVC3QN.js";import"./GDA7PY47.js";import"./6X3NOINZ.js";export default $arcgis.t(([,,,,,,,,{Bc:y,Qa:d,Ua:S,ra:C},{M:f,b:h,qa:_},,,{c:x,d:T},,{a:A,b:v,d:w},,,{Ga:p}])=>{var U=t=>{let{xField:e,config:i,layerInfo:s}=t,{layerFieldsInfo:r}=s,a=f(0,i),o=O(i),l=y(i),n=i.series[0];if(typeof e=="string"&&o!==e&&n&&(n.x=e,p(i),o===a||l)){let m=d(r,e);h(i,0,m)}},O=t=>t.series[0].x??"",L=(t,e)=>{let i=t.series[0];i.heatRulesType=e},I=t=>t.series[0].heatRulesType,R=(t,e)=>{let i=t.series[0];i.gradientRules=e},b=t=>t.series[0].gradientRules,P=t=>{let{yField:e,config:i,layerInfo:s}=t,{layerFieldsInfo:r}=s,a=f(1,i),o=B(i),l=y(i),n=i.series[0];if(typeof e=="string"&&o!==e&&n&&(n.y=e,p(i),o===a||l)){let m=d(r,e);h(i,1,m)}},B=t=>t.series[0].y??"",N=(t,e)=>{let i=e.series[0];i.xTemporalBinning=t},q=t=>t.series[0].xTemporalBinning,W=(t,e)=>{let i=e.series[0];i.yTemporalBinning=t},$=t=>t.series[0].yTemporalBinning,E=(t,e)=>{let i=e.series[0];i.gridLine&&(i.gridLine.width=t)},H=t=>t.series[0].gridLine?.width,M=(t,e)=>{let i=e.series[0],s=t?.length===4&&t.every(r=>typeof r=="number");i.gridLine&&s&&(i.gridLine.color=t)},j=t=>t.series[0].gridLine?.color,k=(t,e)=>{let i=e.legend;t===g.Bottom&&i&&(i.position=g.Bottom)},D=t=>t.legend?.position??g.Bottom,Q=t=>t.series[0].query?.outStatistics?.[0]?.onStatisticField,V=(t,e)=>{let i=e.series[0].query?.outStatistics?.[0];i&&(i.onStatisticField=t,i.outStatisticFieldName=`${i.statisticType}_${t}`)},Z=t=>t.series[0].query?.outStatistics?.[0].statisticType??c.Count,z=(t,e)=>{let i=e.series[0]?.query?.outStatistics?.[0];i&&t!==c.NoAggregation&&(i.statisticType=t,i.outStatisticFieldName=`${t}_${i.onStatisticField}`)},G=t=>t.nullPolicy,J=(t,e)=>{e.nullPolicy=t},K=t=>t.series[0].emptyCells?.text,X=(t,e)=>{e.series[0].emptyCells?e.series[0].emptyCells.text=t:e.series[0].emptyCells={text:t}},Y=t=>t.series[0].emptyCells?.symbol,ee=(t,e)=>{e.series[0].emptyCells?e.series[0].emptyCells.symbol=t:e.series[0].emptyCells={symbol:t}},u=class extends w{constructor(){super(...arguments),this._chartType=F.HeatSeries}generateChartTitle(){throw new Error("Method not implemented.")}async setup(e){await this.loadConfigFromLayer(e),typeof this.resolveSetup=="function"&&this.resolveSetup()}get xAxisField(){return O(this._config)}set xAxisField(e){this.guardSetterFromAsyncOverwrite(()=>{U({xField:e,config:this._config,layerInfo:this.layerInfo}),this.emitConfigUpdate("xAxisField")})}get yAxisField(){return B(this._config)}set yAxisField(e){this.guardSetterFromAsyncOverwrite(()=>{P({yField:e,config:this._config,layerInfo:this.layerInfo}),this.emitConfigUpdate("yAxisField")})}get xTemporalBinning(){return q(this._config)}set xTemporalBinning(e){this.guardSetterFromAsyncOverwrite(()=>{N(e,this._config),this.emitConfigUpdate("xTemporalBinning")})}get yTemporalBinning(){return $(this._config)}set yTemporalBinning(e){this.guardSetterFromAsyncOverwrite(()=>{W(e,this._config),this.emitConfigUpdate("yTemporalBinning")})}get gridLineWidth(){return H(this._config)}set gridLineWidth(e){this.guardSetterFromAsyncOverwrite(()=>{E(e,this._config),this.emitConfigUpdate("gridLineWidth")})}get gridLineColor(){return j(this._config)}set gridLineColor(e){this.guardSetterFromAsyncOverwrite(()=>{M(e,this._config),this.emitConfigUpdate("gridLineColor")})}get seriesName(){return A(0,this._config)}set seriesName(e){this.guardSetterFromAsyncOverwrite(()=>{typeof e=="string"&&(v(e,0,this.config),this.emitConfigUpdate("seriesName"))})}get heatRulesType(){return I(this._config)}set heatRulesType(e){this.guardSetterFromAsyncOverwrite(()=>{L(this._config,e),this.emitConfigUpdate("heatRulesType")})}get gradientRules(){return b(this._config)}set gradientRules(e){this.guardSetterFromAsyncOverwrite(()=>{R(this._config,e),this.emitConfigUpdate("gradientRules")})}get numericFields(){let e=Q(this._config);return e!==void 0?[e]:[]}set numericFields(e){this.guardSetterFromAsyncOverwrite(()=>{let i=e[0];S(i)||(V(i,this._config),this.emitConfigUpdate("numericFields"))})}get aggregationType(){return Z(this._config)}set aggregationType(e){this.guardSetterFromAsyncOverwrite(()=>{z(e,this._config),this.emitConfigUpdate("aggregationType")})}get splitByField(){return""}set splitByField(e){}set legendTitleText(e){this.guardSetterFromAsyncOverwrite(()=>{})}get legendPosition(){return D(this._config)}set legendPosition(e){this.guardSetterFromAsyncOverwrite(()=>{e===g.Bottom&&(k(e,this._config),this.emitConfigUpdate("legendVisibility"))})}set rotatedState(e){this.guardSetterFromAsyncOverwrite(()=>{})}get nullPolicy(){return G(this._config)}set nullPolicy(e){this.guardSetterFromAsyncOverwrite(()=>{J(e,this._config),this.emitConfigUpdate("nullPolicy")})}get emptyCellText(){return K(this._config)}set emptyCellText(e){this.guardSetterFromAsyncOverwrite(()=>{X(e,this._config),this.emitConfigUpdate("emptyCellText")})}get emptyCellSymbol(){return Y(this._config)}set emptyCellSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{ee(e,this._config),this.emitConfigUpdate("emptyCellSymbol")})}generateDefaultConfig(){let e=C(this.commonStrings,this.layerInfo?.objectIdField);return e.axes?.forEach(i=>{i&&(i.valueFormat={intlOptions:{timeZone:void 0},type:"date"})}),e}};_(u,[x,T]);return u},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,d,e,f,h,i,j,k,l)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.21 */
|
|
4
|
+
import"./6X3NOINZ.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u516C\u5143",_era_bc:"\u516C\u5143\u524D",A:"\u4E0A\u5348",P:"\u4E0B\u5348",AM:"\u4E0A\u5348",PM:"\u4E0B\u5348","A.M.":"\u4E0A\u5348","P.M.":"\u4E0B\u5348",January:"\u4E00\u6708",February:"\u4E8C\u6708",March:"\u4E09\u6708",April:"\u56DB\u6708",May:"\u4E94\u6708",June:"\u516D\u6708",July:"\u4E03\u6708",August:"\u516B\u6708",September:"\u4E5D\u6708",October:"\u5341\u6708",November:"\u5341\u4E00\u6708",December:"\u5341\u4E8C\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u661F\u671F\u65E5",Monday:"\u661F\u671F\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sun:"\u5468\u65E5",Mon:"\u5468\u4E00",Tue:"\u5468\u4E8C",Wed:"\u5468\u4E09",Thu:"\u5468\u56DB",Fri:"\u5468\u4E94",Sat:"\u5468\u516D",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="\u65E5";break;case 2:e="\u65E5";break;case 3:e="\u65E5";break}return e},"Zoom Out":"\u7F29\u653E",Play:"\u64AD\u653E",Stop:"\u505C\u9760\u70B9",Legend:"\u56FE\u4F8B","Press ENTER to toggle":"",Loading:"\u52A0\u8F7D",Home:"\u4E3B\u9875",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u6253\u5370",Image:"\u5F71\u50CF",Data:"\u6570\u636E",Print:"\u6253\u5370","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u81EA %1 \u81F3 %2","From %1":"\u81EA %1","To %1":"\u81F3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
|