@arcgis/charts-components 5.0.0-next.2 → 5.0.0-next.20
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/{KRIG7CPX.js → 22LUVTOP.js} +2 -2
- package/dist/cdn/{6G2R3MN5.js → 27XNWLMT.js} +2 -2
- package/dist/cdn/{A4BYZFQP.js → 2RM65F7S.js} +2 -2
- package/dist/cdn/2S3W7EE5.js +4 -0
- package/dist/cdn/2SMYKOKC.js +4 -0
- package/dist/cdn/{B54HNL65.js → 34LHJK7D.js} +2 -2
- package/dist/cdn/3DQCTTSY.js +4 -0
- package/dist/cdn/43SJ5F5T.js +4 -0
- package/dist/cdn/46WOKB3R.js +4 -0
- package/dist/cdn/4G7TTANJ.js +4 -0
- package/dist/cdn/{R3G5M4F7.js → 4H3IX4XJ.js} +2 -2
- package/dist/cdn/4HB5BYMS.js +4 -0
- package/dist/cdn/{TQ4SKFMX.js → 4HLR67G5.js} +2 -2
- package/dist/cdn/{LOTUCDOA.js → 4JJZWRU4.js} +1 -1
- package/dist/cdn/{GF2COPTT.js → 4OGMCO4T.js} +2 -2
- package/dist/cdn/{YLZX2MHJ.js → 4Q2VR6G5.js} +2 -2
- package/dist/cdn/{EVHG3NOW.js → 4Q57TVGK.js} +2 -2
- package/dist/cdn/4TFPNGKL.js +4 -0
- package/dist/cdn/{6YTCTNPK.js → 4WA2NRGD.js} +2 -2
- package/dist/cdn/{HJPNRGYL.js → 5N2H7VCQ.js} +2 -2
- package/dist/cdn/5SJLSVTO.js +4 -0
- package/dist/cdn/{KCZ3WIW6.js → 63Z6WAZG.js} +2 -2
- package/dist/cdn/{IVURDFPA.js → 6B24FAG5.js} +2 -2
- package/dist/cdn/{H7A6K4TS.js → 6BDKEYMO.js} +2 -2
- package/dist/cdn/{CORIQ62W.js → 6NW26DOK.js} +2 -2
- package/dist/cdn/6QPNTZAB.js +4 -0
- package/dist/cdn/{J5N73PSS.js → 6TTLV323.js} +2 -2
- package/dist/cdn/{QO2W5K2E.js → 76JBUV6G.js} +2 -2
- package/dist/cdn/7DGQJ5XA.js +4 -0
- package/dist/cdn/7EUURVZR.js +4 -0
- package/dist/cdn/{KMANLUX6.js → 7RARTKCF.js} +2 -2
- package/dist/cdn/{RQYYBI4H.js → 7VN53RK6.js} +1 -1
- package/dist/cdn/{H2UPKR6S.js → 7XEDBROB.js} +2 -2
- package/dist/cdn/7XOJTNAE.js +4 -0
- package/dist/cdn/{PGLIJUXT.js → ABJR6MPD.js} +2 -2
- package/dist/cdn/ATMUWGSJ.js +4 -0
- package/dist/cdn/B6VYM5GC.js +4 -0
- package/dist/cdn/B7RDRRXG.js +4 -0
- package/dist/cdn/{GG7SUIY3.js → BINJMZ5F.js} +2 -2
- package/dist/cdn/{DZHN5VUX.js → BZCO5IN4.js} +2 -2
- package/dist/cdn/{O2MX3VL7.js → CEPVF3VU.js} +2 -2
- package/dist/cdn/{QUALYXLD.js → CS23XTN5.js} +2 -2
- package/dist/cdn/CUMTTPAY.js +4 -0
- package/dist/cdn/{DLU3HUP7.js → CWAPXCLI.js} +2 -2
- package/dist/cdn/CWKQ6QXC.js +4 -0
- package/dist/cdn/{7EOQ5TCI.js → CWZCYCST.js} +2 -2
- package/dist/cdn/{IAODGTXG.js → CZ7THBSW.js} +2 -2
- package/dist/cdn/{OG7U546P.js → DE2MCTEB.js} +2 -2
- package/dist/cdn/{YAGWLY75.js → DOCQUKUS.js} +2 -2
- package/dist/cdn/{UR6AIX3U.js → DS6AU3OW.js} +2 -2
- package/dist/cdn/{YWQ4X7JY.js → DZCZMB6C.js} +2 -2
- package/dist/cdn/{7CQNT5AG.js → EBRWDR3A.js} +2 -2
- package/dist/cdn/ECJD4WEW.js +4 -0
- package/dist/cdn/{4LKCRN7B.js → EE3ZRBOT.js} +2 -2
- package/dist/cdn/{FLEXUMVX.js → EKVONWA3.js} +2 -2
- package/dist/cdn/{RRBCAYMC.js → ERCHSI53.js} +2 -2
- package/dist/cdn/EVHHDR75.js +4 -0
- package/dist/cdn/{3ZV3NNGN.js → EZMCO45F.js} +1 -1
- package/dist/cdn/F3576UBB.js +4 -0
- package/dist/cdn/{7KDPHVPV.js → FBMTE3JO.js} +2 -2
- package/dist/cdn/FDW5VQ3Z.js +58 -0
- package/dist/cdn/FEZF53IG.js +4 -0
- package/dist/cdn/{ZDMEEWOX.js → FHM4UGBO.js} +2 -2
- package/dist/cdn/FHTJO4CU.js +4 -0
- package/dist/cdn/{IIU7SIYD.js → FHTWMUEI.js} +2 -2
- package/dist/cdn/{U4IE7DFG.js → FL7OHU6D.js} +1 -1
- package/dist/cdn/{PC6FCSDX.js → FPIN6JD6.js} +2 -2
- package/dist/cdn/{AKSR565H.js → FRMIXEGJ.js} +2 -2
- package/dist/cdn/{RSHRZ4MU.js → G3RXOQ3L.js} +2 -2
- package/dist/cdn/G3UTXSKL.js +4 -0
- package/dist/cdn/GF35RBWH.js +4 -0
- package/dist/cdn/{MWYGGYUB.js → GH5WWXO6.js} +2 -2
- package/dist/cdn/{S7VLGFBV.js → GIR6GXTY.js} +2 -2
- package/dist/cdn/{SQCQR2L2.js → GIRNLIKH.js} +1 -1
- package/dist/cdn/GNEMUCI4.js +4 -0
- package/dist/cdn/{ZDENIMCH.js → H3VUNX2Y.js} +2 -2
- package/dist/cdn/HAZJ5J5H.js +4 -0
- package/dist/cdn/{R3PMNECX.js → HCED4AAI.js} +2 -2
- package/dist/cdn/HYCXMYQX.js +4 -0
- package/dist/cdn/{OWBI3ZU7.js → I2E5HP7S.js} +2 -2
- package/dist/cdn/IBJNX77I.js +4 -0
- package/dist/cdn/{GMEM7HDR.js → IBSHFCD3.js} +2 -2
- package/dist/cdn/IDEYXFFU.js +4 -0
- package/dist/cdn/IDMB7Y4J.js +4 -0
- package/dist/cdn/{Z72YZBVK.js → IH2UHDQG.js} +2 -2
- package/dist/cdn/IH3ED5QH.js +4 -0
- package/dist/cdn/IJV6LRDD.js +4 -0
- package/dist/cdn/IOYI5XEQ.js +4 -0
- package/dist/cdn/ITOIK3WT.js +4 -0
- package/dist/cdn/{STTIBK4B.js → IYMEFF5B.js} +2 -2
- package/dist/cdn/JAYSJSVN.js +4 -0
- package/dist/cdn/JO2EZ4D7.js +4 -0
- package/dist/cdn/{5BZKB5WN.js → JRKZNQQK.js} +2 -2
- package/dist/cdn/{QFDNK4AG.js → KOZ4JFC5.js} +2 -2
- package/dist/cdn/{6MANQPFR.js → KPHTU7PW.js} +2 -2
- package/dist/cdn/{ALPDGAEI.js → KQAQJBOV.js} +3 -3
- package/dist/cdn/{YGKNSXIY.js → KSHI4EAD.js} +2 -2
- package/dist/cdn/KXGJYFQ6.js +4 -0
- package/dist/cdn/L6ZEVCAZ.js +4 -0
- package/dist/cdn/{FZHL35W5.js → LAOVFI5H.js} +2 -2
- package/dist/cdn/{BJ437O6R.js → LB6CJTVN.js} +2 -2
- package/dist/cdn/LHLEOMUD.js +4 -0
- package/dist/cdn/LJXZZISL.js +4 -0
- package/dist/cdn/{O4CVPZBZ.js → LUGGI4TL.js} +2 -2
- package/dist/cdn/MCAXZIC4.js +4 -0
- package/dist/cdn/{6HMKNYAB.js → MCTJ5KQS.js} +2 -2
- package/dist/cdn/MKYSTZ4G.js +4 -0
- package/dist/cdn/MLL3XWFZ.js +4 -0
- package/dist/cdn/{2WEBNHQN.js → MTPMIK7W.js} +2 -2
- package/dist/cdn/{O2CFKWNX.js → MXWNJWZ3.js} +2 -2
- package/dist/cdn/{J55STN4N.js → NCH7HZWM.js} +2 -2
- package/dist/cdn/{UBMVTRQT.js → NHTOHVKZ.js} +2 -2
- package/dist/cdn/{7OCR5LGZ.js → NIC6KBIP.js} +1 -1
- package/dist/cdn/NKIGMVMC.js +4 -0
- package/dist/cdn/{34XV3PST.js → NSKJAE5I.js} +1 -1
- package/dist/cdn/NXAWWNOZ.js +4 -0
- package/dist/cdn/{ROQWPMNA.js → NXIHVZ5K.js} +2 -2
- package/dist/cdn/OBK7TZOZ.js +4 -0
- package/dist/cdn/OD43NPJT.js +4 -0
- package/dist/cdn/ONDA2BYM.js +4 -0
- package/dist/cdn/OVW33QF5.js +4 -0
- package/dist/cdn/{FSO7EWOR.js → OZSSWMKC.js} +2 -2
- package/dist/cdn/{KCQLJI57.js → P3PWLBUW.js} +2 -2
- package/dist/cdn/PNEJDY5J.js +4 -0
- package/dist/cdn/{LDBUAPTJ.js → PQO4EHAU.js} +2 -2
- package/dist/cdn/QDGMLBPN.js +4 -0
- package/dist/cdn/QDZVS2BU.js +4 -0
- package/dist/cdn/{CXRCG5DA.js → QEMCT22O.js} +2 -2
- package/dist/cdn/{IOESBG3D.js → QZPMHREO.js} +2 -2
- package/dist/cdn/R2JBRI44.js +4 -0
- package/dist/cdn/S32LGD6T.js +4 -0
- package/dist/cdn/S3BCLUPW.js +4 -0
- package/dist/cdn/SIYMXGGJ.js +4 -0
- package/dist/cdn/{MAMDCTEO.js → SJ4Q5TVO.js} +2 -2
- package/dist/cdn/{OFLIEREM.js → SSJZF3HA.js} +2 -2
- package/dist/cdn/{H55KMHCY.js → SZPMHWSE.js} +2 -2
- package/dist/cdn/T2VXXH4M.js +4 -0
- package/dist/cdn/{4FGITNJL.js → T34HUAKH.js} +2 -2
- package/dist/cdn/T56L7KLC.js +4 -0
- package/dist/cdn/{QT4EBDYM.js → T5VCW3OZ.js} +2 -2
- package/dist/cdn/{37KGNLME.js → TJ3FPYH2.js} +2 -2
- package/dist/cdn/TT673Y5J.js +4 -0
- package/dist/cdn/{BUEMLPMQ.js → TWOW3KTS.js} +1 -1
- package/dist/cdn/{WSRS6VM3.js → UBKTECP4.js} +2 -2
- package/dist/cdn/{CX4UFCYA.js → UHGA7GMD.js} +2 -2
- package/dist/cdn/{OWIU32TC.js → UOFK5FPD.js} +1 -1
- package/dist/cdn/{6X4IOTIX.js → UQB3NUIC.js} +2 -2
- package/dist/cdn/USYU6HAI.js +4 -0
- package/dist/cdn/{5U4QI3M3.js → UWCPWZC5.js} +2 -2
- package/dist/cdn/UZSVFWXS.js +4 -0
- package/dist/cdn/V3O45BXK.js +4 -0
- package/dist/cdn/{KH24YX2V.js → VB66YKZM.js} +2 -2
- package/dist/cdn/{KSIS2GMN.js → VDCNL3WO.js} +2 -2
- package/dist/cdn/{U7PC37X6.js → VJT6B3WO.js} +2 -2
- package/dist/cdn/{XJF6GKGF.js → VTSJRLOH.js} +2 -2
- package/dist/cdn/VYA6EPPK.js +4 -0
- package/dist/cdn/WBV6TZVJ.js +4 -0
- package/dist/cdn/{CTBTU6R7.js → WNZ6TDPZ.js} +2 -2
- package/dist/cdn/{QVFF3NZF.js → WOQVYJHI.js} +2 -2
- package/dist/cdn/{JJ3HEDMX.js → X2NF4Z6J.js} +2 -2
- package/dist/cdn/{E7J2SU77.js → XACSVBOT.js} +2 -2
- package/dist/cdn/XADEUCJO.js +4 -0
- package/dist/cdn/XCBPJW4N.js +4 -0
- package/dist/cdn/{XSAIZFKV.js → XDYIHDY3.js} +2 -2
- package/dist/cdn/{4VEYBWNU.js → XGJFQG4B.js} +2 -2
- package/dist/cdn/{JFODPCBN.js → XHBPOGW4.js} +2 -2
- package/dist/cdn/XIEQYQ7P.js +4 -0
- package/dist/cdn/XK5FPK7F.js +4 -0
- package/dist/cdn/{YPC6LVPV.js → XM2SEMYT.js} +2 -2
- package/dist/cdn/XQQUCUS6.js +4 -0
- package/dist/cdn/{VA7NRPXH.js → YAOXIF4J.js} +2 -2
- package/dist/cdn/{GZJQC62G.js → YDMSUWLV.js} +2 -2
- package/dist/cdn/YDW7P5FJ.js +4 -0
- package/dist/cdn/YFCWEMMW.js +4 -0
- package/dist/cdn/{6ARHZZVD.js → YU6GJDM4.js} +2 -2
- package/dist/cdn/Z3QTWM7D.js +4 -0
- package/dist/cdn/ZAV5M6VU.js +42 -0
- package/dist/cdn/{P6E42R4P.js → ZDFMCNGK.js} +2 -2
- package/dist/cdn/ZDRFJ43D.js +4 -0
- package/dist/cdn/{W7UZLF7Y.js → ZHLKHTSS.js} +2 -2
- package/dist/cdn/ZO3SOICU.js +4 -0
- package/dist/cdn/ZZGBQOF5.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/config-utils/index.d.ts +11 -16
- package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
- package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +0 -8
- package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +1 -0
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +4 -6
- package/dist/chart-rendering/common/interfaces.d.ts +11 -6
- package/dist/chart-rendering/common/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/next/chart-library-elements/tooltips/bar-chart/index.d.ts +2 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +4 -4
- package/dist/chart-rendering/next/chart-library-elements/tooltips/histogram/index.d.ts +3 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/pie-chart/index.d.ts +2 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/scatter-plot/index.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/utils/index.d.ts +22 -4
- package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
- package/dist/chart-rendering/next/index.d.ts +2 -2
- package/dist/chart-rendering/next/utils/index.d.ts +14 -0
- package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/stable/index.d.ts +5 -3
- package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +5 -7
- package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
- package/dist/chunks/action-bar-utils.js +25 -16
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +2 -2
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +2 -2
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +164 -162
- package/dist/chunks/box-plot-model.js +41 -43
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +12 -12
- package/dist/chunks/combo-bar-line-chart-model.js +32 -46
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +2171 -2176
- package/dist/chunks/data.js +330 -330
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +11 -11
- package/dist/chunks/heat-chart-model.js +154 -50
- package/dist/chunks/histogram-data.js +9 -9
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +440 -5953
- package/dist/chunks/index2.js +2 -2
- package/dist/chunks/index3.js +2 -2
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +7846 -2264
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +8 -8
- package/dist/chunks/line-chart-model.js +6 -6
- package/dist/chunks/model-with-baseline-stacking.js +18 -28
- package/dist/chunks/model-with-data-labels.js +2 -2
- package/dist/chunks/model-with-multi-axes.js +30 -70
- package/dist/chunks/model-with-rotation.js +2 -2
- package/dist/chunks/pie-chart-data.js +83 -77
- package/dist/chunks/pie-chart-model.js +25 -25
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +6 -6
- 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 +2 -2
- package/dist/chunks/serial-chart-model.js +23 -23
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +22 -13
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +30 -30
- package/dist/components/arcgis-chart/customElement.d.ts +7 -10
- package/dist/components/arcgis-chart/customElement.js +6182 -6057
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axis/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +111 -107
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +36 -36
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-color-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +67 -67
- package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +26 -26
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +52 -48
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-number-format/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +38 -35
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +6 -90
- package/dist/docs/docs.json +87 -91
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +3 -3
- package/dist/index.js +206 -205
- package/dist/json-schema/index.d.ts +4 -0
- package/dist/loader.js +1 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +2 -4
- package/dist/model/box-plot-model/utils/box-plot-data.d.ts +2 -0
- package/dist/model/chart-model/chart-model.d.ts +8 -23
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +70 -10
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +49 -5
- package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
- package/dist/model/mixins/model-with-multi-axes.d.ts +21 -47
- package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
- package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -4
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +2 -4
- package/dist/model/shared/axes.d.ts +0 -3
- package/dist/model.js +1 -1
- package/dist/spec/data-source.d.ts +5 -0
- package/dist/spec/web-chart.d.ts +2 -2
- package/dist/store.d.ts +24 -3
- package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -8
- package/dist/utils/chart-config/converter/index.d.ts +3 -3
- package/dist/utils/chart-config/utils/index.d.ts +7 -0
- package/dist/utils/chart-config/validator/index.d.ts +10 -10
- package/dist/utils/components/config-update.d.ts +11 -3
- package/dist/utils/layer/interfaces.d.ts +1 -0
- package/dist/utils/layer/query-parser/index.d.ts +8 -0
- package/dist/utils/layer/utils/index.d.ts +3 -3
- package/package.json +5 -5
- package/dist/cdn/26ZDKIM2.js +0 -4
- package/dist/cdn/2722MDKQ.js +0 -4
- package/dist/cdn/2GXXGXVH.js +0 -4
- package/dist/cdn/2OF4P5LU.js +0 -4
- package/dist/cdn/2ZDHGQFG.js +0 -4
- package/dist/cdn/4IIZMUKW.js +0 -4
- package/dist/cdn/4OPEZPGO.js +0 -4
- package/dist/cdn/53YQPQU7.js +0 -4
- package/dist/cdn/5QEGZD45.js +0 -4
- package/dist/cdn/65CIPXBU.js +0 -4
- package/dist/cdn/7BZGKSJP.js +0 -4
- package/dist/cdn/7VA7HFFX.js +0 -4
- package/dist/cdn/AQP4LAW6.js +0 -4
- package/dist/cdn/B3SKHW55.js +0 -4
- package/dist/cdn/B56HEX5S.js +0 -4
- package/dist/cdn/BGU75DEL.js +0 -4
- package/dist/cdn/BZEZGR3Q.js +0 -4
- package/dist/cdn/CN6C7CKP.js +0 -4
- package/dist/cdn/CODB7654.js +0 -4
- package/dist/cdn/DAFES5NQ.js +0 -4
- package/dist/cdn/DBCE6YK4.js +0 -4
- package/dist/cdn/DBOVM2GI.js +0 -4
- package/dist/cdn/DVYMNVKQ.js +0 -58
- package/dist/cdn/F4X5AZYC.js +0 -4
- package/dist/cdn/FCZE76ZT.js +0 -4
- package/dist/cdn/FQLRTUFP.js +0 -4
- package/dist/cdn/GB2LCBGU.js +0 -4
- package/dist/cdn/GLHSUPO2.js +0 -4
- package/dist/cdn/GOEKIBRP.js +0 -4
- package/dist/cdn/H7VGLHF3.js +0 -4
- package/dist/cdn/HCZCK553.js +0 -4
- package/dist/cdn/HQSU7XQD.js +0 -4
- package/dist/cdn/I4COPFSD.js +0 -4
- package/dist/cdn/I7XMRSKS.js +0 -4
- package/dist/cdn/IG6J4GJL.js +0 -4
- package/dist/cdn/IHGIFUEA.js +0 -4
- package/dist/cdn/IPZ3UP5O.js +0 -4
- package/dist/cdn/IVCEM4ZM.js +0 -4
- package/dist/cdn/KNRKRRRO.js +0 -4
- package/dist/cdn/KYFOBNT7.js +0 -4
- package/dist/cdn/LWDUNAKP.js +0 -4
- package/dist/cdn/M2BNPJIN.js +0 -4
- package/dist/cdn/N7MD6SPR.js +0 -4
- package/dist/cdn/NGAGKKLX.js +0 -4
- package/dist/cdn/NHJSWMJ3.js +0 -4
- package/dist/cdn/NK55SOH6.js +0 -4
- package/dist/cdn/NN2EIGE6.js +0 -4
- package/dist/cdn/O3JYODXZ.js +0 -4
- package/dist/cdn/OHMBY6IK.js +0 -4
- package/dist/cdn/OMG6SL3T.js +0 -4
- package/dist/cdn/OMNGUMOT.js +0 -4
- package/dist/cdn/OTMFFLYC.js +0 -4
- package/dist/cdn/P5O2P2RF.js +0 -4
- package/dist/cdn/P5Q43U7B.js +0 -4
- package/dist/cdn/PFVQP4GC.js +0 -4
- package/dist/cdn/PKT6EC3O.js +0 -4
- package/dist/cdn/PNWEOTMI.js +0 -4
- package/dist/cdn/PRVCQVPA.js +0 -4
- package/dist/cdn/QZB4NFIW.js +0 -4
- package/dist/cdn/R2UESZZA.js +0 -4
- package/dist/cdn/RTDALJUF.js +0 -4
- package/dist/cdn/S5IAVCC4.js +0 -4
- package/dist/cdn/SCGRHZME.js +0 -4
- package/dist/cdn/SLFY6MNY.js +0 -4
- package/dist/cdn/TBXOAJ6X.js +0 -4
- package/dist/cdn/UFRAN3HD.js +0 -4
- package/dist/cdn/UJZLVYVW.js +0 -4
- package/dist/cdn/UO74AY6S.js +0 -4
- package/dist/cdn/UWTMDEXN.js +0 -4
- package/dist/cdn/V4K56KHO.js +0 -42
- package/dist/cdn/V53H2UTK.js +0 -4
- package/dist/cdn/VPSPX45T.js +0 -4
- package/dist/cdn/X4ZPL74N.js +0 -4
- package/dist/cdn/XHUTCLWD.js +0 -4
- package/dist/cdn/XN26QRQK.js +0 -4
- package/dist/cdn/Y2AI5DXX.js +0 -4
- package/dist/cdn/Z7YX3V7O.js +0 -4
- package/dist/cdn/ZYYIRFRL.js +0 -4
|
@@ -2,7 +2,7 @@ import "@arcgis/toolkit/intl";
|
|
|
2
2
|
import "lodash-es";
|
|
3
3
|
import { W as O } from "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { a3 as n, aK as I, aD as x, cg as A, a6 as b, Y as U, b2 as l, a0 as g, a1 as c } from "./interfaces.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -18,13 +18,13 @@ import { B as N } from "./common.js";
|
|
|
18
18
|
import { M as V, a as E, b as T, c as R } from "./model-with-data-labels.js";
|
|
19
19
|
import "@arcgis/core/intl.js";
|
|
20
20
|
import { M as z } from "./model-with-rotation.js";
|
|
21
|
-
import { i as
|
|
22
|
-
import { g as j, s as d, a as
|
|
23
|
-
import {
|
|
21
|
+
import { i as K, f as Y, e as k } from "./data.js";
|
|
22
|
+
import { g as j, s as d, a as q, b as f } from "./series.js";
|
|
23
|
+
import { s as G, g as X, a as H, b as J, c as Q, d as m, e as u, f as y, h as S, i as p, j as Z, k as $, l as ee, m as C, n as te, o as ie, p as se, q as re, r as _, t as oe, u as L, v as ne, w as F, x as ae, y as he, z as le, A as ge, B as ce, C as de, D as w } from "./box-plot-data.js";
|
|
24
24
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
25
25
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
26
|
-
v5.0.0-next.
|
|
27
|
-
class
|
|
26
|
+
v5.0.0-next.20 */
|
|
27
|
+
class fe extends P {
|
|
28
28
|
constructor() {
|
|
29
29
|
super(...arguments), this._chartType = O.BoxPlotSeries, this._category = n, this._splitByField = "", this._numericFields = [];
|
|
30
30
|
}
|
|
@@ -52,7 +52,7 @@ class ce extends P {
|
|
|
52
52
|
}
|
|
53
53
|
set numericFields(e) {
|
|
54
54
|
const { layerFieldsInfo: t } = this.layerInfo;
|
|
55
|
-
typeof e == "string" && (e = [e]),
|
|
55
|
+
typeof e == "string" && (e = [e]), K(t, e) ? (this._numericFields = e, this.dirtyAsyncSetters.push("numericFields"), G(this._category, this._numericFields) && (this._splitByField = "", this.dirtyAsyncSetters.push("splitByField")), this.processSeriesRebuild()) : console.log("Invalid numericFields");
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* The split-by field for the box plot.
|
|
@@ -61,17 +61,17 @@ class ce extends P {
|
|
|
61
61
|
return this._splitByField;
|
|
62
62
|
}
|
|
63
63
|
set splitByField(e) {
|
|
64
|
-
|
|
64
|
+
Y(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.dirtyAsyncSetters.push("splitByField"), this.processSeriesRebuild()) : console.log("Invalid splitByField");
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* Whether outliers are shown.
|
|
68
68
|
*/
|
|
69
69
|
get showOutliers() {
|
|
70
|
-
return
|
|
70
|
+
return X(this._config);
|
|
71
71
|
}
|
|
72
72
|
set showOutliers(e) {
|
|
73
73
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
74
|
-
|
|
74
|
+
H({
|
|
75
75
|
newShowOutliers: e,
|
|
76
76
|
config: this._config,
|
|
77
77
|
layerInfo: this.layerInfo,
|
|
@@ -87,7 +87,7 @@ class ce extends P {
|
|
|
87
87
|
}
|
|
88
88
|
set standardizeValues(e) {
|
|
89
89
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
90
|
-
|
|
90
|
+
Q({
|
|
91
91
|
newStandardizeValues: e,
|
|
92
92
|
config: this._config,
|
|
93
93
|
layerInfo: this.layerInfo,
|
|
@@ -117,7 +117,7 @@ class ce extends P {
|
|
|
117
117
|
* @returns {string[]}
|
|
118
118
|
*/
|
|
119
119
|
async getCustomSortValues() {
|
|
120
|
-
return await
|
|
120
|
+
return await y(this._config, this.layerInfo);
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
123
|
* Sets the data filter for the bar chart.
|
|
@@ -127,7 +127,7 @@ class ce extends P {
|
|
|
127
127
|
super.setDataFilters(e);
|
|
128
128
|
const t = m(this._config);
|
|
129
129
|
if (t === N.customSort) {
|
|
130
|
-
const i = await
|
|
130
|
+
const i = await y(this._config, this.layerInfo);
|
|
131
131
|
u(t, this._config, i);
|
|
132
132
|
}
|
|
133
133
|
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setDataFilter");
|
|
@@ -136,7 +136,7 @@ class ce extends P {
|
|
|
136
136
|
* The list of category's values for custom sort
|
|
137
137
|
*/
|
|
138
138
|
get orderByList() {
|
|
139
|
-
return
|
|
139
|
+
return S(this._config);
|
|
140
140
|
}
|
|
141
141
|
set orderByList(e) {
|
|
142
142
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -157,11 +157,11 @@ class ce extends P {
|
|
|
157
157
|
* Whether mean lines are shown.
|
|
158
158
|
*/
|
|
159
159
|
get showMeanLines() {
|
|
160
|
-
return
|
|
160
|
+
return Z(this._config);
|
|
161
161
|
}
|
|
162
162
|
set showMeanLines(e) {
|
|
163
163
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
164
|
-
const { previousMeanLinesBoxColor: t } =
|
|
164
|
+
const { previousMeanLinesBoxColor: t } = $({
|
|
165
165
|
newShowMeanLines: e,
|
|
166
166
|
config: this._config,
|
|
167
167
|
commonStrings: this.commonStrings,
|
|
@@ -174,7 +174,7 @@ class ce extends P {
|
|
|
174
174
|
* The color of the boxes when showing mean lines. Only applicable when mean lines are shown.
|
|
175
175
|
*/
|
|
176
176
|
get meanLinesBoxColor() {
|
|
177
|
-
return
|
|
177
|
+
return ee(this._config);
|
|
178
178
|
}
|
|
179
179
|
set meanLinesBoxColor(e) {
|
|
180
180
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -189,7 +189,7 @@ class ce extends P {
|
|
|
189
189
|
* @category Protected
|
|
190
190
|
*/
|
|
191
191
|
setupLocalProps() {
|
|
192
|
-
this._category =
|
|
192
|
+
this._category = te(this._config), this._splitByField = ie(this._config), this._numericFields = se(this._config);
|
|
193
193
|
}
|
|
194
194
|
generateDefaultConfig() {
|
|
195
195
|
const e = I(this.commonStrings);
|
|
@@ -210,7 +210,7 @@ class ce extends P {
|
|
|
210
210
|
* @category Protected
|
|
211
211
|
*/
|
|
212
212
|
canUseSynchronousSeriesRebuild() {
|
|
213
|
-
return this.
|
|
213
|
+
return !re(this.category, this.numericFields, this.splitByField);
|
|
214
214
|
}
|
|
215
215
|
/**
|
|
216
216
|
* Processes the series rebuild.
|
|
@@ -222,12 +222,12 @@ class ce extends P {
|
|
|
222
222
|
if (this.layerInfo !== void 0) {
|
|
223
223
|
const e = this.dirtyAsyncSetters[this.dirtyAsyncSetters.length - 1];
|
|
224
224
|
if (this.canUseSynchronousSeriesRebuild())
|
|
225
|
-
this.dirtyAsyncSetters = [],
|
|
225
|
+
this.dirtyAsyncSetters = [], _(this.getBuildNewSeriesProps());
|
|
226
226
|
else if (!this.asyncConfigUpdateInProgress) {
|
|
227
227
|
for (this.asyncConfigUpdateInProgress = !0, this.setupFinished = new Promise((t) => {
|
|
228
228
|
this.resolveSetup = t;
|
|
229
229
|
}); this.dirtyAsyncSetters.length > 0; )
|
|
230
|
-
this.dirtyAsyncSetters = [], await
|
|
230
|
+
this.dirtyAsyncSetters = [], await _(this.getBuildNewSeriesProps());
|
|
231
231
|
this.asyncConfigUpdateInProgress = !1, this.resolveSetup?.();
|
|
232
232
|
}
|
|
233
233
|
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(e);
|
|
@@ -258,7 +258,7 @@ class ce extends P {
|
|
|
258
258
|
* @returns {string | undefined}
|
|
259
259
|
*/
|
|
260
260
|
getSeriesName(e) {
|
|
261
|
-
return
|
|
261
|
+
return oe(e, this._config);
|
|
262
262
|
}
|
|
263
263
|
/**
|
|
264
264
|
* Sets name of the series based on the series index.
|
|
@@ -267,7 +267,7 @@ class ce extends P {
|
|
|
267
267
|
*/
|
|
268
268
|
setSeriesName(e, t) {
|
|
269
269
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
270
|
-
|
|
270
|
+
L(e, t, this._config), this.emitConfigUpdate("setSeriesName");
|
|
271
271
|
});
|
|
272
272
|
}
|
|
273
273
|
/**
|
|
@@ -276,7 +276,7 @@ class ce extends P {
|
|
|
276
276
|
* @returns {Color | undefined}
|
|
277
277
|
*/
|
|
278
278
|
getSeriesColor(e) {
|
|
279
|
-
return
|
|
279
|
+
return ne(e, this._config);
|
|
280
280
|
}
|
|
281
281
|
/**
|
|
282
282
|
* Sets the color of the series based on the series index.
|
|
@@ -326,7 +326,7 @@ class ce extends P {
|
|
|
326
326
|
getSeriesLineWidth(e) {
|
|
327
327
|
const t = this._config.series[e];
|
|
328
328
|
if (this.showMeanLines === !0 && o(t))
|
|
329
|
-
return
|
|
329
|
+
return q(t);
|
|
330
330
|
}
|
|
331
331
|
/**
|
|
332
332
|
* Sets the line width of the series based on the series index.
|
|
@@ -346,11 +346,11 @@ class ce extends P {
|
|
|
346
346
|
* The order of the series array by returning an array of series ids.
|
|
347
347
|
*/
|
|
348
348
|
get orderOfSeries() {
|
|
349
|
-
return
|
|
349
|
+
return ae(this._config);
|
|
350
350
|
}
|
|
351
351
|
set orderOfSeries(e) {
|
|
352
352
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
353
|
-
|
|
353
|
+
he(e, this._config), this.emitConfigUpdate("orderOfSeries");
|
|
354
354
|
});
|
|
355
355
|
}
|
|
356
356
|
/**
|
|
@@ -360,27 +360,25 @@ class ce extends P {
|
|
|
360
360
|
*/
|
|
361
361
|
moveSeries(e, t) {
|
|
362
362
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
363
|
-
|
|
363
|
+
le(e, t, this._config), this.emitConfigUpdate("moveSeries");
|
|
364
364
|
});
|
|
365
365
|
}
|
|
366
366
|
/**
|
|
367
367
|
* The index of the box plot series in the series array in config object when show mean is true.
|
|
368
|
-
*
|
|
369
|
-
* **NOTE**: There is only one box plot series when show mean is true. The function returns '-1' if show mean is false.
|
|
368
|
+
* **Note:** There is only one box plot series when show mean is true. The function returns '-1' if show mean is false.
|
|
370
369
|
*/
|
|
371
370
|
get boxPlotSeriesIndexWhenMeanLinesShown() {
|
|
372
|
-
return
|
|
371
|
+
return ge(this._config);
|
|
373
372
|
}
|
|
374
373
|
/**
|
|
375
374
|
* Move the custom sort values in-place for the order by list in the config.
|
|
376
|
-
*
|
|
377
|
-
* NOTE: This method should be only used when the sort order is set to `BoxPlotDataSortingKinds.customSort`.
|
|
375
|
+
* **Note:** This method should be only used when the sort order is set to `BoxPlotDataSortingKinds.customSort`.
|
|
378
376
|
* @param {number} fromIndex The index to move the custom sort item from.
|
|
379
377
|
* @param {number} toIndex The index to move the category item to.
|
|
380
378
|
*/
|
|
381
379
|
moveCustomSortValuesInOrderByList(e, t) {
|
|
382
380
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
383
|
-
const i =
|
|
381
|
+
const i = S(this._config), [s] = i.splice(e, 1);
|
|
384
382
|
i.splice(t, 0, s), p(i, this._config), this.emitConfigUpdate("moveCustomSortValuesInOrderByList");
|
|
385
383
|
});
|
|
386
384
|
}
|
|
@@ -391,7 +389,7 @@ class ce extends P {
|
|
|
391
389
|
* Generate the proper chart title given the current config.
|
|
392
390
|
*/
|
|
393
391
|
generateChartTitle() {
|
|
394
|
-
return
|
|
392
|
+
return ce(this._config, this.layerInfo, this.commonStrings);
|
|
395
393
|
}
|
|
396
394
|
/**
|
|
397
395
|
* Generate the proper x-axis title given the current config.
|
|
@@ -405,7 +403,7 @@ class ce extends P {
|
|
|
405
403
|
* Generate the proper y-axis title given the current config.
|
|
406
404
|
*/
|
|
407
405
|
generateYAxisTitle() {
|
|
408
|
-
return
|
|
406
|
+
return de(this._config, this.layerInfo, this.commonStrings);
|
|
409
407
|
}
|
|
410
408
|
// ---------------------------------------------------------------------------------------------
|
|
411
409
|
// #region Reset Methods
|
|
@@ -427,7 +425,7 @@ class ce extends P {
|
|
|
427
425
|
layerInfo: this.layerInfo,
|
|
428
426
|
commonStrings: this.commonStrings
|
|
429
427
|
});
|
|
430
|
-
|
|
428
|
+
L(r ?? t, e, this._config), this.showMeanLines === !0 && o(s) && (d(g, s), f(c, s));
|
|
431
429
|
}
|
|
432
430
|
this.showMeanLines === !0 && C(l, this._config), this._config.colorMatch = !0, this.emitConfigUpdate("resetSeriesStyling");
|
|
433
431
|
});
|
|
@@ -446,14 +444,14 @@ class ce extends P {
|
|
|
446
444
|
splitByField: this._splitByField,
|
|
447
445
|
layerInfo: this.layerInfo,
|
|
448
446
|
commonStrings: this.commonStrings
|
|
449
|
-
}),
|
|
450
|
-
if (h !== void 0 && h !==
|
|
447
|
+
}), B = this.getSeriesName(r);
|
|
448
|
+
if (h !== void 0 && h !== B) {
|
|
451
449
|
i = !0;
|
|
452
450
|
break;
|
|
453
451
|
}
|
|
454
452
|
if (this.showMeanLines === !0 && o(a)) {
|
|
455
|
-
const
|
|
456
|
-
if (
|
|
453
|
+
const v = this.getSeriesLineStyle(r), M = this.getSeriesLineWidth(r);
|
|
454
|
+
if (v !== g || M !== c) {
|
|
457
455
|
s = !0;
|
|
458
456
|
break;
|
|
459
457
|
}
|
|
@@ -462,7 +460,7 @@ class ce extends P {
|
|
|
462
460
|
return e || t || i || s;
|
|
463
461
|
}
|
|
464
462
|
}
|
|
465
|
-
|
|
463
|
+
k(fe, [
|
|
466
464
|
W,
|
|
467
465
|
V,
|
|
468
466
|
E,
|
|
@@ -472,5 +470,5 @@ Y(ce, [
|
|
|
472
470
|
D
|
|
473
471
|
]);
|
|
474
472
|
export {
|
|
475
|
-
|
|
473
|
+
fe as BoxPlotModel
|
|
476
474
|
};
|
|
@@ -3,7 +3,7 @@ import { fetchT9nStringsBundle as i, getElementLocale as o } from "@arcgis/toolk
|
|
|
3
3
|
import { g as n } from "./runtime.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.20 */
|
|
7
7
|
function p(a) {
|
|
8
8
|
const s = c(a.series);
|
|
9
9
|
let e = "graph-bar";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as r } from "./series-types.js";
|
|
2
2
|
import { c as l } from "./rest-js-object-literals.js";
|
|
3
|
-
import {
|
|
3
|
+
import { cr as u, b as d } from "./interfaces.js";
|
|
4
4
|
import "@arcgis/toolkit/intl";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "d3-array";
|
|
@@ -17,7 +17,7 @@ import { F as o } from "./interfaces3.js";
|
|
|
17
17
|
import { F as a } from "./common.js";
|
|
18
18
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
19
19
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
20
|
-
v5.0.0-next.
|
|
20
|
+
v5.0.0-next.20 */
|
|
21
21
|
const x = {
|
|
22
22
|
DebounceTimer: 400,
|
|
23
23
|
SliderTimer: 100,
|
|
@@ -122,9 +122,9 @@ function R(e) {
|
|
|
122
122
|
function j(e) {
|
|
123
123
|
return e === void 0 || Number.isNaN(e.r) || Number.isNaN(e.g) || Number.isNaN(e.b) ? null : e;
|
|
124
124
|
}
|
|
125
|
-
const
|
|
125
|
+
const W = (e) => {
|
|
126
126
|
["e", "E"].includes(e.key) && e.preventDefault();
|
|
127
|
-
},
|
|
127
|
+
}, X = (e) => {
|
|
128
128
|
if (e.pickListElement !== void 0) {
|
|
129
129
|
const t = e.pickListElement.selectedItems;
|
|
130
130
|
e.eventEmitter.emit({
|
|
@@ -133,7 +133,7 @@ const q = (e) => {
|
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
|
-
function
|
|
136
|
+
function Y(e) {
|
|
137
137
|
let t = "solid";
|
|
138
138
|
switch (e) {
|
|
139
139
|
case l.Dash:
|
|
@@ -149,11 +149,11 @@ function X(e) {
|
|
|
149
149
|
}
|
|
150
150
|
return t;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function $(e, t) {
|
|
153
153
|
const i = document.createElement("a");
|
|
154
154
|
i.style.display = "none", i.download = t, i.setAttribute("href", e), i.click(), i.remove(), URL.revokeObjectURL(e);
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function q(e) {
|
|
157
157
|
return e != null && (e.style.removeProperty("opacity"), e.remove()), null;
|
|
158
158
|
}
|
|
159
159
|
export {
|
|
@@ -162,17 +162,17 @@ export {
|
|
|
162
162
|
R as a,
|
|
163
163
|
K as b,
|
|
164
164
|
B as c,
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
q as d,
|
|
166
|
+
X as e,
|
|
167
167
|
G as f,
|
|
168
|
-
|
|
168
|
+
Y as g,
|
|
169
169
|
w as h,
|
|
170
170
|
O as i,
|
|
171
|
-
|
|
171
|
+
W as j,
|
|
172
172
|
j as k,
|
|
173
173
|
U as l,
|
|
174
174
|
z as m,
|
|
175
|
-
|
|
175
|
+
$ as n,
|
|
176
176
|
P as p,
|
|
177
177
|
M as s
|
|
178
178
|
};
|
|
@@ -2,7 +2,7 @@ import { W as a } from "./series-types.js";
|
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { aJ as g, aC as l, az as c } from "./interfaces.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -18,7 +18,7 @@ import { g as u, a as b, e as p, b as _, f as C, s as L, h as v, c as k, i as O,
|
|
|
18
18
|
import { S as D, s as H } from "./serial-chart-model.js";
|
|
19
19
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
20
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
21
|
-
v5.0.0-next.
|
|
21
|
+
v5.0.0-next.20 */
|
|
22
22
|
class te extends D {
|
|
23
23
|
constructor() {
|
|
24
24
|
super(...arguments), this._chartType = a.ComboLineAndBarSeries;
|
|
@@ -54,7 +54,11 @@ class te extends D {
|
|
|
54
54
|
// ---------------------------------------------------------------------------------------------
|
|
55
55
|
// Series Methods
|
|
56
56
|
// ---------------------------------------------------------------------------------------------
|
|
57
|
-
|
|
57
|
+
/**
|
|
58
|
+
* Changes the chart series type at the specified index from bar to line and vice-versa.
|
|
59
|
+
* @param {number} seriesIndex - The index of the series to update.
|
|
60
|
+
* @param {WebChartTypes} seriesType - The new chart series type to apply.
|
|
61
|
+
*/
|
|
58
62
|
setSeriesType(e, i) {
|
|
59
63
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
60
64
|
if (e < this._config.series.length && e >= 0) {
|
|
@@ -102,10 +106,9 @@ class te extends D {
|
|
|
102
106
|
}
|
|
103
107
|
/**
|
|
104
108
|
* Sets the line style of the series based on the series index.
|
|
109
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
105
110
|
* @param {RESTSimpleLineSymbolStyle | undefined} newStyle The new style for the series.
|
|
106
111
|
* @param {number} seriesIndex The index of the series.
|
|
107
|
-
*
|
|
108
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
109
112
|
*/
|
|
110
113
|
setSeriesLineStyle(e, i) {
|
|
111
114
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -123,10 +126,9 @@ class te extends D {
|
|
|
123
126
|
}
|
|
124
127
|
/**
|
|
125
128
|
* Sets the line width of the series based on the series index.
|
|
129
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
126
130
|
* @param {number | undefined} newWidth The new width for the series.
|
|
127
131
|
* @param {number} seriesIndex The index of the series.
|
|
128
|
-
*
|
|
129
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
130
132
|
*/
|
|
131
133
|
setSeriesLineWidth(e, i) {
|
|
132
134
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -144,10 +146,9 @@ class te extends D {
|
|
|
144
146
|
}
|
|
145
147
|
/**
|
|
146
148
|
* Sets the marker color of the series based on the series index.
|
|
149
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
147
150
|
* @param {Color | undefined} newColor The new color for the series.
|
|
148
151
|
* @param {number} seriesIndex The index of the series.
|
|
149
|
-
*
|
|
150
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
151
152
|
*/
|
|
152
153
|
setSeriesMarkerColor(e, i) {
|
|
153
154
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -165,10 +166,9 @@ class te extends D {
|
|
|
165
166
|
}
|
|
166
167
|
/**
|
|
167
168
|
* Sets the marker style of the series based on the series index.
|
|
169
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
168
170
|
* @param {RESTSimpleMarkerSymbolStyle | undefined} newStyle The new style for the series.
|
|
169
171
|
* @param {number} seriesIndex The index of the series.
|
|
170
|
-
*
|
|
171
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
172
172
|
*/
|
|
173
173
|
setSeriesMarkerStyle(e, i) {
|
|
174
174
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -186,10 +186,9 @@ class te extends D {
|
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
188
188
|
* Sets the marker size of the series based on the series index.
|
|
189
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
189
190
|
* @param {number | undefined} newSize The new size for the series.
|
|
190
191
|
* @param {number} seriesIndex The index of the series.
|
|
191
|
-
*
|
|
192
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
193
192
|
*/
|
|
194
193
|
setSeriesMarkerSize(e, i) {
|
|
195
194
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -209,10 +208,9 @@ class te extends D {
|
|
|
209
208
|
}
|
|
210
209
|
/**
|
|
211
210
|
* Specify whether line segments of the series should be smoothed.
|
|
212
|
-
*
|
|
213
|
-
* @param {
|
|
214
|
-
*
|
|
215
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
211
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
212
|
+
* @param {boolean} smoothed - `true` if line segment of the series should be smoothed, `false` otherwise.
|
|
213
|
+
* @param {number} seriesIndex - The index of the series.
|
|
216
214
|
* @default false
|
|
217
215
|
*/
|
|
218
216
|
setLineSmoothed(e, i) {
|
|
@@ -237,10 +235,9 @@ class te extends D {
|
|
|
237
235
|
}
|
|
238
236
|
/**
|
|
239
237
|
* Specify whether the line series should show area.
|
|
240
|
-
*
|
|
241
|
-
* @param {
|
|
242
|
-
*
|
|
243
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
238
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
239
|
+
* @param {boolean} visible - `true` if the line series should show area, `false` otherwise.
|
|
240
|
+
* @param {number} seriesIndex - The index of the series.
|
|
244
241
|
*/
|
|
245
242
|
setAreaVisible(e, i) {
|
|
246
243
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -264,10 +261,9 @@ class te extends D {
|
|
|
264
261
|
}
|
|
265
262
|
/**
|
|
266
263
|
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
267
|
-
*
|
|
268
|
-
* @param {
|
|
269
|
-
*
|
|
270
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
264
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
265
|
+
* @param {boolean} visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
266
|
+
* @param {number} seriesIndex - The index of the series.
|
|
271
267
|
*/
|
|
272
268
|
setMarkerVisible(e, i) {
|
|
273
269
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -281,10 +277,8 @@ class te extends D {
|
|
|
281
277
|
}
|
|
282
278
|
/**
|
|
283
279
|
* Specify the color of the filled area for line chart.
|
|
280
|
+
* **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
284
281
|
* @param {number} seriesIndex - The index of the series.
|
|
285
|
-
*
|
|
286
|
-
* NOTE: areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
287
|
-
*
|
|
288
282
|
* @returns {Color | undefined}
|
|
289
283
|
*/
|
|
290
284
|
getAreaColor(e) {
|
|
@@ -292,10 +286,9 @@ class te extends D {
|
|
|
292
286
|
}
|
|
293
287
|
/**
|
|
294
288
|
* Specify the color of the filled area for line chart.
|
|
295
|
-
*
|
|
296
|
-
* @param {
|
|
297
|
-
*
|
|
298
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
289
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
290
|
+
* @param {Color | undefined} color The color of the filled area for line chart.
|
|
291
|
+
* @param {number} seriesIndex The index of the series.
|
|
299
292
|
*/
|
|
300
293
|
setAreaColor(e, i) {
|
|
301
294
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -309,11 +302,8 @@ class te extends D {
|
|
|
309
302
|
}
|
|
310
303
|
/**
|
|
311
304
|
* Specify how negative values are treated in stacked series.
|
|
305
|
+
* **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
312
306
|
* @param {number} seriesIndex - The index of the series.
|
|
313
|
-
*
|
|
314
|
-
* NOTE: If true, negative values will be stacked on the base line.
|
|
315
|
-
* If false, negative values will be stacked in relation to their previous values in the stack.
|
|
316
|
-
*
|
|
317
307
|
* @default true
|
|
318
308
|
* @returns {boolean}
|
|
319
309
|
*/
|
|
@@ -322,13 +312,10 @@ class te extends D {
|
|
|
322
312
|
}
|
|
323
313
|
/**
|
|
324
314
|
* Specify how negative values are treated in stacked series.
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
*
|
|
329
|
-
* If false, negative values will be stacked in relation to their previous values in the stack.
|
|
330
|
-
*
|
|
331
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
315
|
+
* **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
316
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
317
|
+
* @param {boolean} stackNegativeValuesToBaseline - `true` if negative values should be stacked on the base line, `false` otherwise.
|
|
318
|
+
* @param {number} seriesIndex - The index of the series.
|
|
332
319
|
*/
|
|
333
320
|
setNegativeValuesStackedToBaseline(e, i) {
|
|
334
321
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -353,7 +340,7 @@ class te extends D {
|
|
|
353
340
|
* @param {boolean} hide The value for hiding oversized labels.
|
|
354
341
|
* @param {number} seriesIndex The index of the series.
|
|
355
342
|
*
|
|
356
|
-
* **
|
|
343
|
+
* **Note:** This method will only work if the series is a bar chart series.
|
|
357
344
|
*/
|
|
358
345
|
setSeriesHideOversizedSideBySideLabels(e, i) {
|
|
359
346
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -371,10 +358,9 @@ class te extends D {
|
|
|
371
358
|
}
|
|
372
359
|
/**
|
|
373
360
|
* Sets whether to hide oversized data labels of the stacked series based on the series index.
|
|
361
|
+
* **Note:** This method will only work if the series is a bar chart series.
|
|
374
362
|
* @param {boolean} hide The value for hiding oversized stacked labels.
|
|
375
363
|
* @param {number} seriesIndex The index of the series.
|
|
376
|
-
*
|
|
377
|
-
* **NOTE:** This method will only work if the series is a bar chart series.
|
|
378
364
|
*/
|
|
379
365
|
setSeriesHideOversizedStackedLabels(e, i) {
|
|
380
366
|
this.guardSetterFromAsyncOverwrite(() => {
|
package/dist/chunks/common.js
CHANGED