@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
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "@arcgis/toolkit/intl";
|
|
2
|
-
import { memoize as
|
|
3
|
-
import { a as p, g as C, t as f } from "./series-types.js";
|
|
4
|
-
import {
|
|
2
|
+
import { memoize as j, isEmpty as W, isNull as E, cloneDeep as R } from "lodash-es";
|
|
3
|
+
import { a as p, g as C, t as f, W as $ } from "./series-types.js";
|
|
4
|
+
import { R as G } from "./rest-js-object-literals.js";
|
|
5
|
+
import { d as A, ak as U, aX as z, cg as B, x as I, aG as _, a as P } from "./interfaces.js";
|
|
5
6
|
import "d3-array";
|
|
6
7
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
8
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
@@ -14,13 +15,13 @@ import "./runtime.js";
|
|
|
14
15
|
import "@arcgis/toolkit/dom";
|
|
15
16
|
import { substitute as h } from "@arcgis/core/intl.js";
|
|
16
17
|
import { a as u, P as y } from "./common.js";
|
|
17
|
-
import { b as O, u as x, g as
|
|
18
|
+
import { b as O, u as x, g as k, a as M, c as X } from "./data.js";
|
|
18
19
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
19
20
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
20
|
-
v5.0.0-next.
|
|
21
|
+
v5.0.0-next.20 */
|
|
21
22
|
function N(r) {
|
|
22
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? L({ config: t, layerInfo: e, commonStrings: s, mode: i }) : "",
|
|
23
|
-
return a ===
|
|
23
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? L({ config: t, layerInfo: e, commonStrings: s, mode: i }) : "", n = k(t), l = I(t);
|
|
24
|
+
return a === n || l;
|
|
24
25
|
}
|
|
25
26
|
function q(r) {
|
|
26
27
|
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? O({
|
|
@@ -28,20 +29,20 @@ function q(r) {
|
|
|
28
29
|
layerInfo: e,
|
|
29
30
|
commonStrings: s,
|
|
30
31
|
numericFields: m(t),
|
|
31
|
-
aggregationType:
|
|
32
|
-
}) : "",
|
|
33
|
-
return a ===
|
|
32
|
+
aggregationType: T(t, i)
|
|
33
|
+
}) : "", n = M(1, t), l = I(t);
|
|
34
|
+
return a === n || l;
|
|
34
35
|
}
|
|
35
36
|
const v = (r) => r.series?.[0]?.x ?? "";
|
|
36
|
-
function
|
|
37
|
+
function H(r, t) {
|
|
37
38
|
const e = r.series?.[0];
|
|
38
|
-
return [`${t === u.Category ? e.y :
|
|
39
|
+
return [`${t === u.Category ? e.y : P} ${C.Descending}`];
|
|
39
40
|
}
|
|
40
|
-
const
|
|
41
|
+
const V = (r, t) => {
|
|
41
42
|
let e = y.valueDesc;
|
|
42
|
-
const i = r.orderOptions?.data?.orderType ??
|
|
43
|
+
const i = r.orderOptions?.data?.orderType ?? H(r, t), s = r.orderOptions?.data?.orderBy ?? C.Descending;
|
|
43
44
|
return i === f.Category && Array.isArray(s) ? e = y.customSort : i === f.Category ? s === C.Ascending ? e = y.labelAsc : e = y.labelDesc : s === C.Ascending ? e = y.valueAsc : e = y.valueDesc, e;
|
|
44
|
-
}, m =
|
|
45
|
+
}, m = j(
|
|
45
46
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
46
47
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
47
48
|
(r) => {
|
|
@@ -52,17 +53,22 @@ const P = (r, t) => {
|
|
|
52
53
|
},
|
|
53
54
|
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
54
55
|
(r) => r.series
|
|
55
|
-
),
|
|
56
|
+
), T = (r, t) => {
|
|
56
57
|
const e = m(r);
|
|
57
58
|
let i;
|
|
58
59
|
return t === u.Fields && e.length === 0 ? i = p.Sum : i = r.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? p.NoAggregation, i;
|
|
59
60
|
};
|
|
60
61
|
function w(r) {
|
|
61
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { objectIdField: a } = e ?? {},
|
|
62
|
-
...
|
|
63
|
-
x: i === u.Category ?
|
|
62
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { objectIdField: a } = e ?? {}, n = _(s, a), l = v(t), d = t.series[0]?.dataLabels, o = {
|
|
63
|
+
...n,
|
|
64
|
+
x: i === u.Category ? l : A,
|
|
64
65
|
slices: t.series?.[0]?.slices,
|
|
65
|
-
dataLabels: {
|
|
66
|
+
dataLabels: {
|
|
67
|
+
...n.dataLabels,
|
|
68
|
+
type: n.dataLabels?.type ?? $.Text,
|
|
69
|
+
content: { ...n.dataLabels?.content, ...d?.content, type: G.TS },
|
|
70
|
+
visible: d?.visible ?? !1
|
|
71
|
+
},
|
|
66
72
|
innerRadiusSize: t.series?.[0]?.innerRadius,
|
|
67
73
|
sliceGrouping: t.series?.[0]?.sliceGrouping,
|
|
68
74
|
dataLabelsCharacterLimit: t.series?.[0]?.dataLabelsCharacterLimit,
|
|
@@ -71,40 +77,40 @@ function w(r) {
|
|
|
71
77
|
displayCategoryOnDataLabel: t.series?.[0]?.displayCategoryOnDataLabel,
|
|
72
78
|
displayNumericValueOnDataLabel: t.series?.[0]?.displayNumericValueOnDataLabel,
|
|
73
79
|
displayPercentageOnDataLabel: t.series?.[0]?.displayPercentageOnDataLabel
|
|
74
|
-
},
|
|
75
|
-
if (
|
|
76
|
-
const g = `${
|
|
77
|
-
o.y = i === u.Category ? g :
|
|
80
|
+
}, c = T(t, i);
|
|
81
|
+
if (c !== p.NoAggregation && a !== void 0) {
|
|
82
|
+
const g = `${c}_${a}_0`.toUpperCase();
|
|
83
|
+
o.y = i === u.Category ? g : P, o.query = {
|
|
78
84
|
outStatistics: i === u.Category ? [
|
|
79
85
|
{
|
|
80
|
-
statisticType:
|
|
86
|
+
statisticType: c,
|
|
81
87
|
onStatisticField: a,
|
|
82
88
|
outStatisticFieldName: g
|
|
83
89
|
}
|
|
84
90
|
] : []
|
|
85
91
|
};
|
|
86
92
|
}
|
|
87
|
-
return i === u.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [
|
|
93
|
+
return i === u.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [l] : delete o.query?.groupByFieldsForStatistics, R(o);
|
|
88
94
|
}
|
|
89
95
|
function L(r) {
|
|
90
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a, objectIdField:
|
|
96
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a, objectIdField: n } = e, l = v(t), d = m(t), o = T(t, i), c = d.length === 0 || d.includes(n), g = z(o, s), b = c ? "" : d.map((Y) => B(a ?? [], Y)).join(", "), F = B(a ?? [], l);
|
|
91
97
|
let S = "", D;
|
|
92
|
-
return i === u.Fields ? D = d.length === 0 : D =
|
|
93
|
-
aggregationFields:
|
|
94
|
-
category:
|
|
98
|
+
return i === u.Fields ? D = d.length === 0 : D = l === "", D ? S = s.utilsStrings.chartType.pieChart : o === p.NoAggregation ? S = h(s.titleLabels.aggrFieldsByCategory, {
|
|
99
|
+
aggregationFields: c ? n : b,
|
|
100
|
+
category: F
|
|
95
101
|
}) : o === p.Count ? S = h(s.titleLabels.aggrTypeCategory, {
|
|
96
102
|
aggregationType: g,
|
|
97
|
-
category:
|
|
98
|
-
}) : d.length > 0 && (
|
|
103
|
+
category: F
|
|
104
|
+
}) : d.length > 0 && (F === A || W(F) || E(F) ? S = h(s.titleLabels.aggrTypeOfAggrFields, {
|
|
99
105
|
aggregationType: g,
|
|
100
106
|
aggregationFields: b
|
|
101
107
|
}) : S = h(s.titleLabels.aggrTypeOfAggrFieldsByCategory, {
|
|
102
108
|
aggregationType: g,
|
|
103
109
|
aggregationFields: b,
|
|
104
|
-
category:
|
|
110
|
+
category: F
|
|
105
111
|
})), S;
|
|
106
112
|
}
|
|
107
|
-
const
|
|
113
|
+
const fe = (r) => {
|
|
108
114
|
const { newSortOrderKind: t, config: e, orderByList: i } = r;
|
|
109
115
|
e.orderOptions ??= {}, t === y.customSort && i !== void 0 ? e.orderOptions.data = {
|
|
110
116
|
orderType: f.Category,
|
|
@@ -113,36 +119,36 @@ const ue = (r) => {
|
|
|
113
119
|
orderType: t === y.labelAsc || t === y.labelDesc ? f.Category : f.YValue,
|
|
114
120
|
orderBy: t === y.labelAsc || t === y.valueAsc ? C.Ascending : C.Descending
|
|
115
121
|
};
|
|
116
|
-
},
|
|
117
|
-
const { newCategory: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r,
|
|
122
|
+
}, Te = (r) => {
|
|
123
|
+
const { newCategory: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, n = e.series?.length ?? 0, l = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), d = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
|
|
118
124
|
if (e.series.forEach((o) => {
|
|
119
125
|
o.x = s === u.Category ? t : A, o.query !== void 0 && t !== A ? o.query.groupByFieldsForStatistics = [t] : delete o.query?.groupByFieldsForStatistics;
|
|
120
|
-
}),
|
|
126
|
+
}), n === 0) {
|
|
121
127
|
const o = [w({ config: e, layerInfo: i, mode: s, commonStrings: a })];
|
|
122
128
|
e.series = o;
|
|
123
129
|
}
|
|
124
130
|
if (i !== void 0) {
|
|
125
131
|
if (d) {
|
|
126
|
-
const
|
|
132
|
+
const c = O({
|
|
127
133
|
config: e,
|
|
128
134
|
layerInfo: i,
|
|
129
135
|
numericFields: m(e),
|
|
130
|
-
aggregationType:
|
|
136
|
+
aggregationType: T(e, s),
|
|
131
137
|
commonStrings: a
|
|
132
138
|
});
|
|
133
|
-
x(e, 1,
|
|
139
|
+
x(e, 1, c);
|
|
134
140
|
}
|
|
135
|
-
e.title &&
|
|
136
|
-
const o = s === u.Fields ? m(e).filter((
|
|
137
|
-
|
|
141
|
+
e.title && l && (e.title.content.text = L({ config: e, layerInfo: i, commonStrings: a, mode: s }));
|
|
142
|
+
const o = s === u.Fields ? m(e).filter((c) => c !== i.objectIdField) : m(e);
|
|
143
|
+
J({ newNumericFields: o, config: e, layerInfo: i, mode: s, commonStrings: a });
|
|
138
144
|
}
|
|
139
145
|
};
|
|
140
146
|
function K(r) {
|
|
141
|
-
const { numericFields: t, aggregationType: e, config: i, layerInfo: s, mode: a, commonStrings:
|
|
147
|
+
const { numericFields: t, aggregationType: e, config: i, layerInfo: s, mode: a, commonStrings: n } = r, l = [], d = w({
|
|
142
148
|
config: i,
|
|
143
149
|
layerInfo: s,
|
|
144
150
|
mode: a,
|
|
145
|
-
commonStrings:
|
|
151
|
+
commonStrings: n
|
|
146
152
|
}), o = {
|
|
147
153
|
...d,
|
|
148
154
|
query: {
|
|
@@ -150,7 +156,7 @@ function K(r) {
|
|
|
150
156
|
}
|
|
151
157
|
};
|
|
152
158
|
t.length <= 1 ? o.query.where = d.query?.where : delete o.query.where;
|
|
153
|
-
const
|
|
159
|
+
const c = X({
|
|
154
160
|
config: i,
|
|
155
161
|
xAxisField: v(i),
|
|
156
162
|
numericFields: t,
|
|
@@ -166,7 +172,7 @@ function K(r) {
|
|
|
166
172
|
{
|
|
167
173
|
...d.query?.outStatistics?.[0] ?? {},
|
|
168
174
|
onStatisticField: g,
|
|
169
|
-
outStatisticFieldName:
|
|
175
|
+
outStatisticFieldName: c,
|
|
170
176
|
statisticType: e
|
|
171
177
|
}
|
|
172
178
|
];
|
|
@@ -180,14 +186,14 @@ function K(r) {
|
|
|
180
186
|
});
|
|
181
187
|
else
|
|
182
188
|
o.query = {};
|
|
183
|
-
o.y =
|
|
189
|
+
o.y = c, l.push(o), i.series = l;
|
|
184
190
|
}
|
|
185
|
-
const
|
|
186
|
-
const { newAggregationType: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r,
|
|
191
|
+
const Fe = (r) => {
|
|
192
|
+
const { newAggregationType: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, n = m(e), l = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), d = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
|
|
187
193
|
if (K({
|
|
188
194
|
config: e,
|
|
189
195
|
layerInfo: i,
|
|
190
|
-
numericFields:
|
|
196
|
+
numericFields: n,
|
|
191
197
|
aggregationType: t,
|
|
192
198
|
commonStrings: a,
|
|
193
199
|
mode: s
|
|
@@ -197,69 +203,69 @@ const me = (r) => {
|
|
|
197
203
|
layerInfo: i,
|
|
198
204
|
commonStrings: a,
|
|
199
205
|
numericFields: m(e),
|
|
200
|
-
aggregationType:
|
|
206
|
+
aggregationType: T(e, s)
|
|
201
207
|
});
|
|
202
208
|
x(e, 1, b);
|
|
203
209
|
}
|
|
204
|
-
e.title &&
|
|
205
|
-
const o = e.series?.[0]?.displayCategoryOnDataLabel,
|
|
210
|
+
e.title && l && (e.title.content.text = L({ config: e, layerInfo: i, commonStrings: a, mode: s }));
|
|
211
|
+
const o = e.series?.[0]?.displayCategoryOnDataLabel, c = e.series?.[0]?.displayNumericValueOnDataLabel, g = e.series?.[0]?.displayPercentageOnDataLabel;
|
|
206
212
|
e.legend = {
|
|
207
213
|
...e.legend ?? U(),
|
|
208
|
-
displayNumericValue:
|
|
214
|
+
displayNumericValue: c,
|
|
209
215
|
displayPercentage: g,
|
|
210
216
|
displayCategory: o
|
|
211
217
|
};
|
|
212
|
-
},
|
|
218
|
+
}, J = (r) => {
|
|
213
219
|
let { newNumericFields: t } = r;
|
|
214
|
-
const { config: e, layerInfo: i, mode: s, commonStrings: a } = r, { objectIdField:
|
|
215
|
-
let
|
|
220
|
+
const { config: e, layerInfo: i, mode: s, commonStrings: a } = r, { objectIdField: n } = i ?? {};
|
|
221
|
+
let l = T(e, s);
|
|
216
222
|
const d = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), o = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
|
|
217
|
-
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t,
|
|
223
|
+
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, n !== void 0 && (t.length === 0 && s === u.Category ? (t.push(n), l = p.Count) : l === p.Count && t.length >= 1 && !t.includes(n) && (l = p.Sum)), i !== void 0) {
|
|
218
224
|
if (K({
|
|
219
225
|
config: e,
|
|
220
226
|
layerInfo: i,
|
|
221
227
|
commonStrings: a,
|
|
222
228
|
numericFields: t,
|
|
223
|
-
aggregationType:
|
|
229
|
+
aggregationType: l,
|
|
224
230
|
mode: s
|
|
225
231
|
}), o) {
|
|
226
|
-
const
|
|
232
|
+
const c = O({
|
|
227
233
|
config: e,
|
|
228
234
|
layerInfo: i,
|
|
229
235
|
commonStrings: a,
|
|
230
236
|
numericFields: m(e),
|
|
231
|
-
aggregationType:
|
|
237
|
+
aggregationType: T(e, s)
|
|
232
238
|
});
|
|
233
|
-
x(e, 1,
|
|
239
|
+
x(e, 1, c);
|
|
234
240
|
}
|
|
235
241
|
e.title && d && (e.title.content.text = L({ config: e, layerInfo: i, commonStrings: a, mode: s }));
|
|
236
242
|
} else
|
|
237
|
-
e.series.forEach((
|
|
238
|
-
delete
|
|
243
|
+
e.series.forEach((c) => {
|
|
244
|
+
delete c.query, c.y = t[0];
|
|
239
245
|
});
|
|
240
|
-
},
|
|
246
|
+
}, Se = (r, t) => {
|
|
241
247
|
let e = [];
|
|
242
|
-
const i = r.orderOptions?.data?.orderType, s =
|
|
248
|
+
const i = r.orderOptions?.data?.orderType, s = V(r, t), a = r.orderOptions?.data?.orderBy;
|
|
243
249
|
return s === y.customSort && i === f.Category && Array.isArray(a) && (e = a), e;
|
|
244
|
-
},
|
|
250
|
+
}, Ce = (r) => {
|
|
245
251
|
const { values: t, config: e, mode: i } = r;
|
|
246
252
|
e.orderOptions ??= {};
|
|
247
253
|
const s = e.orderOptions?.data?.orderType;
|
|
248
|
-
|
|
254
|
+
V(e, i) === y.customSort && s === f.Category && (e.orderOptions.data = {
|
|
249
255
|
orderType: f.Category,
|
|
250
256
|
orderBy: [...t]
|
|
251
257
|
});
|
|
252
258
|
};
|
|
253
259
|
export {
|
|
254
260
|
m as a,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
261
|
+
T as b,
|
|
262
|
+
J as c,
|
|
263
|
+
Fe as d,
|
|
264
|
+
V as e,
|
|
265
|
+
fe as f,
|
|
260
266
|
v as g,
|
|
261
|
-
|
|
262
|
-
|
|
267
|
+
Se as h,
|
|
268
|
+
Ce as i,
|
|
263
269
|
L as j,
|
|
264
|
-
|
|
270
|
+
Te as s
|
|
265
271
|
};
|
|
@@ -2,7 +2,7 @@ import { W as n } from "./series-types.js";
|
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { cloneDeep as P } from "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { ak as c, aE as O, ag as h, a2 as C, p as m, cA as o, x as A, aN as I, aG as V } 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";
|
|
@@ -17,11 +17,11 @@ import { b as a, a as l } from "./common.js";
|
|
|
17
17
|
import { M as _, a as w, b as U, c as N } from "./model-with-data-labels.js";
|
|
18
18
|
import "@arcgis/core/intl.js";
|
|
19
19
|
import { e as v, i as M, o as k } from "./data.js";
|
|
20
|
-
import { g as u, s as G, a as
|
|
20
|
+
import { g as u, s as G, a as W, c as z, b as B, d as E, e as R, f as K, h as f, i as p, j } from "./pie-chart-data.js";
|
|
21
21
|
import { R as g } from "./rest-js-object-literals.js";
|
|
22
22
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
23
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
24
|
-
v5.0.0-next.
|
|
24
|
+
v5.0.0-next.20 */
|
|
25
25
|
const q = (t) => t.legend?.displayNumericValue ?? !1, H = (t, e) => {
|
|
26
26
|
e.series[0]?.type === n.PieSeries && (e.legend === void 0 && (e.legend = c()), e.legend.displayNumericValue = t);
|
|
27
27
|
}, J = (t) => t.legend?.displayPercentage ?? !1, Q = (t, e) => {
|
|
@@ -144,12 +144,12 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
144
144
|
);
|
|
145
145
|
}, Ge = (t) => t.series?.[0]?.sliceGrouping, L = (t, e) => {
|
|
146
146
|
e.series?.[0] && (e.series[0].sliceGrouping = t);
|
|
147
|
-
}, F = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold,
|
|
147
|
+
}, F = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, We = (t, e) => {
|
|
148
148
|
e.series?.[0]?.sliceGrouping !== void 0 ? e.series[0].sliceGrouping.percentageThreshold = t : e.series[0].sliceGrouping = {
|
|
149
149
|
sliceId: C.defaultGroupOfSlicesId,
|
|
150
150
|
percentageThreshold: t
|
|
151
151
|
};
|
|
152
|
-
},
|
|
152
|
+
}, ze = (t) => t.series?.[0]?.slices, D = (t, e) => {
|
|
153
153
|
e.series?.[0] && (e.series[0].slices = t);
|
|
154
154
|
}, Be = (t) => {
|
|
155
155
|
D(void 0, t), L(
|
|
@@ -159,8 +159,8 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
159
159
|
},
|
|
160
160
|
t
|
|
161
161
|
);
|
|
162
|
-
},
|
|
163
|
-
class
|
|
162
|
+
}, Ee = (t, e) => e.series[0]?.slices?.[t]?.sliceId, Re = (t, e) => e.series[0]?.slices?.findIndex((i) => i.sliceId === t), Ke = (t) => t.series[0]?.slices?.length ?? 0;
|
|
163
|
+
class je extends x {
|
|
164
164
|
constructor() {
|
|
165
165
|
super(...arguments), this._chartType = n.PieSeries, this._mode = l.Category, this._groupedSliceIds = [];
|
|
166
166
|
}
|
|
@@ -197,11 +197,11 @@ class Ke extends x {
|
|
|
197
197
|
* Numeric fields for the pie chart.
|
|
198
198
|
*/
|
|
199
199
|
get numericFields() {
|
|
200
|
-
return
|
|
200
|
+
return W(this._config);
|
|
201
201
|
}
|
|
202
202
|
set numericFields(e) {
|
|
203
203
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
204
|
-
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? M(this.layerInfo.layerFieldsInfo, e) : !0) ? (
|
|
204
|
+
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? M(this.layerInfo.layerFieldsInfo, e) : !0) ? (z({
|
|
205
205
|
newNumericFields: e,
|
|
206
206
|
config: this._config,
|
|
207
207
|
layerInfo: this.layerInfo,
|
|
@@ -218,7 +218,7 @@ class Ke extends x {
|
|
|
218
218
|
}
|
|
219
219
|
set aggregationType(e) {
|
|
220
220
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
221
|
-
|
|
221
|
+
E({
|
|
222
222
|
newAggregationType: e,
|
|
223
223
|
config: this._config,
|
|
224
224
|
layerInfo: this.layerInfo,
|
|
@@ -232,20 +232,22 @@ class Ke extends x {
|
|
|
232
232
|
* @returns {PieChartDataSortingKinds}
|
|
233
233
|
*/
|
|
234
234
|
getSortOrder() {
|
|
235
|
-
return
|
|
235
|
+
return R(this._config, this._mode);
|
|
236
236
|
}
|
|
237
237
|
/**
|
|
238
238
|
* Sets the sort order for the pie chart.
|
|
239
239
|
* @param {PieChartDataSortingKinds} sortOrder The sort order.
|
|
240
|
+
* @param {string[]} orderByList The list of category values.
|
|
240
241
|
*/
|
|
241
242
|
setSortOrder(e, i) {
|
|
242
|
-
|
|
243
|
+
K({
|
|
243
244
|
newSortOrderKind: e,
|
|
244
245
|
config: this._config,
|
|
245
246
|
orderByList: i
|
|
246
247
|
}), this.emitConfigUpdate("setSortOrder");
|
|
247
248
|
}
|
|
248
|
-
|
|
249
|
+
/**
|
|
250
|
+
* List of category's values for custom sort
|
|
249
251
|
*/
|
|
250
252
|
get orderByList() {
|
|
251
253
|
return f(this._config, this._mode);
|
|
@@ -261,9 +263,7 @@ class Ke extends x {
|
|
|
261
263
|
}
|
|
262
264
|
/**
|
|
263
265
|
* The pie chart data mode (Category or Fields).
|
|
264
|
-
*
|
|
265
266
|
* `category` - The chart is using values from the category field to determine each slice.
|
|
266
|
-
*
|
|
267
267
|
* `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
|
|
268
268
|
*/
|
|
269
269
|
get mode() {
|
|
@@ -287,8 +287,7 @@ class Ke extends x {
|
|
|
287
287
|
}
|
|
288
288
|
/**
|
|
289
289
|
* Moves the custom sort values in-place for the order by list in the config.
|
|
290
|
-
*
|
|
291
|
-
* NOTE: This method should be only used when the sort order is set to `customSort`.
|
|
290
|
+
* **Note:** This method should be only used when the sort order is set to `customSort`.
|
|
292
291
|
* @param {number} fromIndex The index to move the custom sort item from.
|
|
293
292
|
* @param {number} toIndex The index to move the category item to.
|
|
294
293
|
*/
|
|
@@ -323,7 +322,7 @@ class Ke extends x {
|
|
|
323
322
|
* Array of slices for the pie chart.
|
|
324
323
|
*/
|
|
325
324
|
get slices() {
|
|
326
|
-
return
|
|
325
|
+
return ze(this._config);
|
|
327
326
|
}
|
|
328
327
|
set slices(e) {
|
|
329
328
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -369,7 +368,7 @@ class Ke extends x {
|
|
|
369
368
|
}
|
|
370
369
|
set groupingThreshold(e) {
|
|
371
370
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
372
|
-
|
|
371
|
+
We(e, this._config), this.emitConfigUpdate("groupingThreshold");
|
|
373
372
|
});
|
|
374
373
|
}
|
|
375
374
|
/**
|
|
@@ -417,6 +416,7 @@ class Ke extends x {
|
|
|
417
416
|
// ---------------------------------------------------------------------------------------------
|
|
418
417
|
/**
|
|
419
418
|
* Gets the original name of the slice based on the slice index.
|
|
419
|
+
* @param {number} sliceIndex - The index of the slice.
|
|
420
420
|
* @returns {Date | number | string | null | undefined}
|
|
421
421
|
*/
|
|
422
422
|
getOriginalSliceName(e) {
|
|
@@ -489,7 +489,7 @@ class Ke extends x {
|
|
|
489
489
|
* @returns {string | undefined}
|
|
490
490
|
*/
|
|
491
491
|
getSliceId(e) {
|
|
492
|
-
return
|
|
492
|
+
return Ee(e, this._config);
|
|
493
493
|
}
|
|
494
494
|
/**
|
|
495
495
|
* Gets the slice index for a given slice id. If the `sliceId` is not found, this function will return `undefined`.
|
|
@@ -497,14 +497,14 @@ class Ke extends x {
|
|
|
497
497
|
* @returns {number | undefined}
|
|
498
498
|
*/
|
|
499
499
|
getSliceIndex(e) {
|
|
500
|
-
return
|
|
500
|
+
return Re(e, this._config);
|
|
501
501
|
}
|
|
502
502
|
/**
|
|
503
503
|
* Gets the length of the slices array.
|
|
504
504
|
* @returns {number}
|
|
505
505
|
*/
|
|
506
506
|
getSlicesLength() {
|
|
507
|
-
return
|
|
507
|
+
return Ke(this._config);
|
|
508
508
|
}
|
|
509
509
|
/**
|
|
510
510
|
* Resets the slices styling to the default styling.
|
|
@@ -697,7 +697,7 @@ class Ke extends x {
|
|
|
697
697
|
* @returns {string}
|
|
698
698
|
*/
|
|
699
699
|
generateChartTitle() {
|
|
700
|
-
return
|
|
700
|
+
return j({
|
|
701
701
|
config: this._config,
|
|
702
702
|
layerInfo: this.layerInfo,
|
|
703
703
|
commonStrings: this.commonStrings,
|
|
@@ -705,7 +705,7 @@ class Ke extends x {
|
|
|
705
705
|
});
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
|
-
v(
|
|
708
|
+
v(je, [b, w, U, N]);
|
|
709
709
|
export {
|
|
710
|
-
|
|
710
|
+
je as PieChartModel
|
|
711
711
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isEqual as r } from "lodash-es";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
v5.0.0-next.
|
|
4
|
+
v5.0.0-next.20 */
|
|
5
5
|
const i = (e) => (e?.remove(), null), a = (e, t = !1) => {
|
|
6
6
|
e && (t ? (e.style.setProperty("opacity", "1"), e.style.setProperty("pointer-events", "initial")) : (e.style.removeProperty("opacity"), e.style.removeProperty("pointer-events")), e.triggerDisabled = t, e.open = t);
|
|
7
7
|
}, l = (e, t) => e !== void 0 && t !== void 0 && !r(e, t);
|
|
@@ -2,7 +2,7 @@ import { W as l } from "./series-types.js";
|
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { aM as n, aA as r, a6 as m, Y as h } 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";
|
|
@@ -17,11 +17,11 @@ import "@arcgis/core/intl.js";
|
|
|
17
17
|
import "./model-with-multi-axes.js";
|
|
18
18
|
import { M as c, a as g } from "./model-with-baseline-stacking.js";
|
|
19
19
|
import { s as y, a as u, b as p, c as b, d as I } from "./baseline-stacking.js";
|
|
20
|
-
import { d as o, e as
|
|
20
|
+
import { d as o, e as M } from "./data.js";
|
|
21
21
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
22
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
23
|
-
v5.0.0-next.
|
|
24
|
-
class
|
|
23
|
+
v5.0.0-next.20 */
|
|
24
|
+
class k extends f {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments), this._chartType = l.RadarSeries;
|
|
27
27
|
}
|
|
@@ -100,7 +100,7 @@ class M extends f {
|
|
|
100
100
|
return e || t;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
k
|
|
103
|
+
M(k, [c, g]);
|
|
104
104
|
export {
|
|
105
|
-
|
|
105
|
+
k as RadarChartModel
|
|
106
106
|
};
|
package/dist/chunks/resource.js
CHANGED
|
@@ -3,7 +3,7 @@ import { n } from "./type-guards.js";
|
|
|
3
3
|
import "./series-types.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
|
const u = {
|
|
8
8
|
addGuide: "add-guide",
|
|
9
9
|
noMessages: "no-messages"
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -3,7 +3,7 @@ import { makeRuntime as e } from "@arcgis/lumina";
|
|
|
3
3
|
import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.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
|
const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/next/charts-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: h } = t;
|
|
8
8
|
t.t = s;
|
|
9
9
|
t.o = r;
|
|
@@ -2,7 +2,7 @@ import { W as _ } from "./series-types.js";
|
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEmpty as c, isEqual as O } from "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { as as w, at as d, cg as l, x, bf as P, aP as U } 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 { C as z, M as D, b as E, a as V } from "./model-with-multi-axes.js";
|
|
|
18
18
|
import { M as B, a as G, b as N, c as q } from "./model-with-data-labels.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
|
const v = (t) => {
|
|
23
23
|
y({ config: t, value: null, axisIndex: 0, isMax: !1 }), y({ config: t, value: null, axisIndex: 0, isMax: !0 }), y({ config: t, value: null, axisIndex: 1, isMax: !1 }), y({ config: t, value: null, axisIndex: 1, isMax: !0 });
|
|
24
24
|
}, S = (t) => {
|