@arcgis/charts-components 5.2.0-next.1 → 5.2.0-next.11
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/{6PAONFHB.js → 24AOJE7B.js} +1 -1
- package/dist/cdn/{VOTZAPI3.js → 3KRPCKJZ.js} +1 -1
- package/dist/cdn/{Z7EBST4A.js → 3TBK72EK.js} +1 -1
- package/dist/cdn/{P3RM2ACY.js → 425PZ2QJ.js} +1 -1
- package/dist/cdn/{KC6CFXB7.js → 4PHYDOBF.js} +1 -1
- package/dist/cdn/{5MVNVHYG.js → 567CLBG4.js} +1 -1
- package/dist/cdn/{RKN64EJQ.js → 5IIF22XN.js} +1 -1
- package/dist/cdn/{5HQ2CJEQ.js → 5IN5WK2R.js} +1 -1
- package/dist/cdn/5LXX2PUM.js +2 -0
- package/dist/cdn/5NTIKQP4.js +2 -0
- package/dist/cdn/{UNUPCA4W.js → 5YEADAVZ.js} +1 -1
- package/dist/cdn/{7IV6GMF7.js → 6R7VSDDU.js} +1 -1
- package/dist/cdn/{FCXI523J.js → 76MOP26H.js} +1 -1
- package/dist/cdn/77A4T4FJ.js +2 -0
- package/dist/cdn/{CUJHGXNK.js → 7JIHGRTB.js} +1 -1
- package/dist/cdn/{CHQDKVVQ.js → 7YXTWBT4.js} +1 -1
- package/dist/cdn/{TZ4GOE2Q.js → AHYYQWKY.js} +1 -1
- package/dist/cdn/{FAQDMSUC.js → ASI7RDYV.js} +1 -1
- package/dist/cdn/{X6WA2KXK.js → AXS3UMQJ.js} +1 -1
- package/dist/cdn/BHUFE4DA.js +2 -0
- package/dist/cdn/{DYC3Q36R.js → CEWH3LQO.js} +1 -1
- package/dist/cdn/{B7DM7VT6.js → CTBQ5Y4Z.js} +1 -1
- package/dist/cdn/CVK7KFEC.js +2 -0
- package/dist/cdn/{BZCVDNC4.js → DFKVPDMJ.js} +16 -16
- package/dist/cdn/DJGEQ42V.js +2 -0
- package/dist/cdn/DL43NPDO.js +2 -0
- package/dist/cdn/{4OZZXXZF.js → E2DO2HQ6.js} +1 -1
- package/dist/cdn/E4LJWBRC.js +2 -0
- package/dist/cdn/EDSF5KGV.js +233 -0
- package/dist/cdn/EE3KEIAT.js +2 -0
- package/dist/cdn/EJCGZPIV.js +2 -0
- package/dist/cdn/{XMQCH4QI.js → ETSB7KD3.js} +1 -1
- package/dist/cdn/{P6SC5DD2.js → F6QRLYSF.js} +1 -1
- package/dist/cdn/{PTFRQF65.js → FBMA7FW4.js} +1 -1
- package/dist/cdn/{EUOPRFMU.js → FEKSPYHM.js} +1 -1
- package/dist/cdn/FUAA6IFR.js +4 -0
- package/dist/cdn/FWRMJQXY.js +2 -0
- package/dist/cdn/{7SNOZDAD.js → G5FULTB5.js} +1 -1
- package/dist/cdn/{45JPWIBI.js → GISGGO3Z.js} +1 -1
- package/dist/cdn/{CPPT5HUK.js → GQPOEX7B.js} +26 -26
- package/dist/cdn/{PKMZ6N6M.js → GYXK3DV7.js} +1 -1
- package/dist/cdn/{AT2NWWBG.js → H45LPCQ2.js} +1 -1
- package/dist/cdn/HW6MJJSX.js +2 -0
- package/dist/cdn/{RG3I5ORH.js → HZFHTWL6.js} +1 -1
- package/dist/cdn/{GWQJXXP3.js → I2EERAZ3.js} +1 -1
- package/dist/cdn/{MRTKZZTF.js → I5T7JUDH.js} +1 -1
- package/dist/cdn/IE3GLZJZ.js +2 -0
- package/dist/cdn/{V7MBHG4F.js → IL2FG26D.js} +1 -1
- package/dist/cdn/{YVVQVAJZ.js → JBPYGZPJ.js} +1 -1
- package/dist/cdn/JEOBO5JM.js +2 -0
- package/dist/cdn/{FJPGZEGK.js → KPWHYSA5.js} +1 -1
- package/dist/cdn/{JILAM6NH.js → KXUQJ6GE.js} +1 -1
- package/dist/cdn/{V76PIVCF.js → KZQFX7LH.js} +1 -1
- package/dist/cdn/{G6OHBBUT.js → L5DROI2A.js} +1 -1
- package/dist/cdn/LL7NH3VV.js +2 -0
- package/dist/cdn/{I2M6YAUU.js → LUMOL7ZP.js} +1 -1
- package/dist/cdn/{H6NH46AS.js → LYJFZA2M.js} +1 -1
- package/dist/cdn/{3FTJIVFE.js → MBSMC77K.js} +1 -1
- package/dist/cdn/{A5GIBV5W.js → MVGAATR7.js} +1 -1
- package/dist/cdn/NNZCIR7W.js +2 -0
- package/dist/cdn/NZXQ5BWP.js +2 -0
- package/dist/cdn/{UT4TYXFO.js → O4HUYRYL.js} +1 -1
- package/dist/cdn/{V2XJSJH4.js → O4LKWTBY.js} +1 -1
- package/dist/cdn/{KKWXEF5W.js → OW2DLJGU.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → P2F2O6MH.js} +1 -1
- package/dist/cdn/P4UJJCPG.js +2 -0
- package/dist/cdn/{BBURKBKE.js → P56ROGSK.js} +1 -1
- package/dist/cdn/{RWEUTQWS.js → PMIWXHTG.js} +1 -1
- package/dist/cdn/PXIAM4CZ.js +2 -0
- package/dist/cdn/QPSJ6XOX.js +2 -0
- package/dist/cdn/R7HW5WVG.js +2 -0
- package/dist/cdn/{S6PJHEJ7.js → RJCJ3F5C.js} +1 -1
- package/dist/cdn/RKB6QZNW.js +2 -0
- package/dist/cdn/{EQVQRZHJ.js → S6LH7YS6.js} +1 -1
- package/dist/cdn/S74GCXXK.js +3 -0
- package/dist/cdn/{JNNB2DIA.js → SA22QZNW.js} +1 -1
- package/dist/cdn/{ZQCUJ7VE.js → SJVVFOAX.js} +1 -1
- package/dist/cdn/{M75ENKIU.js → SOKKWGPA.js} +1 -1
- package/dist/cdn/SQYOFBS6.js +2 -0
- package/dist/cdn/{MKQAQDRM.js → SVGAVKBQ.js} +1 -1
- package/dist/cdn/SX6SDBU7.js +2 -0
- package/dist/cdn/TTBRUBXY.js +2 -0
- package/dist/cdn/{7BEC5WZB.js → U5IM4KAQ.js} +1 -1
- package/dist/cdn/{UQPFMDJB.js → UE5VX2RL.js} +1 -1
- package/dist/cdn/{GCSGY6GL.js → UIRKQREJ.js} +1 -1
- package/dist/cdn/{URYNG6OA.js → UIY2PSG4.js} +1 -1
- package/dist/cdn/UNTIPIBS.js +2 -0
- package/dist/cdn/{DNMVB3A2.js → VIY3BCJZ.js} +1 -1
- package/dist/cdn/{XFZX5ULX.js → WHJU66P4.js} +1 -1
- package/dist/cdn/{F5Q73CFW.js → WJ2VDT6B.js} +1 -1
- package/dist/cdn/{LKY2A3U6.js → WPPMMVD5.js} +1 -1
- package/dist/cdn/WU3C7BQU.js +2 -0
- package/dist/cdn/WWO326JE.js +2 -0
- package/dist/cdn/{6JGLHOFY.js → XNWSVHA3.js} +1 -1
- package/dist/cdn/{O4M33ZPK.js → XOM6LSIW.js} +1 -1
- package/dist/cdn/{YZQ54BRI.js → XP4S2M7F.js} +1 -1
- package/dist/cdn/YALB4GSA.js +2 -0
- package/dist/cdn/YUF4ZSA5.js +2 -0
- package/dist/cdn/ZJHV3UVG.js +2 -0
- package/dist/cdn/{TORIY3OE.js → ZQ2WG55W.js} +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +8 -8
- package/dist/chunks/axis-lines-symbol.js +4 -4
- package/dist/chunks/bar-chart-model.js +13 -13
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/box-plot-data.js +5 -5
- package/dist/chunks/box-plot-model.js +18 -18
- package/dist/chunks/chart-model.js +170 -138
- package/dist/chunks/chart-ui-utils2.js +13 -13
- package/dist/chunks/class-breaks.js +21 -21
- package/dist/chunks/combo-bar-line-chart-model.js +2 -2
- package/dist/chunks/data.js +63 -63
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/generate-x-axis-title.js +4 -4
- package/dist/chunks/heat-chart-model.js +19 -19
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +11 -11
- package/dist/chunks/index2.js +1663 -1654
- package/dist/chunks/index3.js +39 -36
- package/dist/chunks/index4.js +10812 -680
- package/dist/chunks/index5.js +87 -10782
- package/dist/chunks/index6.js +63 -100
- package/dist/chunks/interfaces.js +3 -3
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +11 -11
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +2 -2
- package/dist/chunks/negative-values-stacked-to-baseline.js +2 -2
- package/dist/chunks/pie-chart-data.js +2 -2
- package/dist/chunks/pie-chart-model.js +2 -2
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +19 -19
- package/dist/chunks/serial-chart-data.js +564 -548
- package/dist/chunks/serial-chart-model.js +44 -44
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/store.js +5 -5
- package/dist/chunks/time-zone.js +1 -1
- package/dist/chunks/type-guards3.js +4 -4
- package/dist/chunks/utils.js +14 -14
- package/dist/chunks/web-component-utils.js +601 -491
- package/dist/chunks/x-bounds.js +4 -4
- package/dist/components/arcgis-chart/customElement.d.ts +48 -41
- package/dist/components/arcgis-chart/customElement.js +5081 -5123
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +29 -29
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +35 -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 +14 -17
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +21 -21
- package/dist/components/arcgis-charts-config-format/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +13 -13
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +15 -16
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +26 -27
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +29 -31
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +35 -35
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +38 -40
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +13 -14
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +8 -10
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +70 -62
- package/dist/index.js +476 -471
- package/dist/json-schema/index.d.ts +59 -2
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/{model.js → model/shared/setup-utils.js} +12 -12
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +8 -2
- package/dist/utils/chart-config/converter/index.js +723 -0
- package/dist/utils/chart-config/utils/index.d.ts +31 -0
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
- package/dist/utils/defaults/index.d.ts +1 -2
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +3 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/query-parser/index.d.ts +3 -3
- package/dist/utils/localization/interfaces.d.ts +4 -0
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +8 -6
- package/dist/cdn/45PJ5TQL.js +0 -2
- package/dist/cdn/47HHRDX4.js +0 -2
- package/dist/cdn/6LQYOBAL.js +0 -2
- package/dist/cdn/6SRISPQN.js +0 -3
- package/dist/cdn/74JAZF7U.js +0 -2
- package/dist/cdn/7YBKGD3V.js +0 -2
- package/dist/cdn/ATIARKAU.js +0 -2
- package/dist/cdn/CAJVNPHZ.js +0 -2
- package/dist/cdn/CXQOEN77.js +0 -2
- package/dist/cdn/D23GGWFM.js +0 -2
- package/dist/cdn/EXTKNE2L.js +0 -2
- package/dist/cdn/FT2K3J7O.js +0 -2
- package/dist/cdn/GUH6CQE6.js +0 -2
- package/dist/cdn/HJHMEVMB.js +0 -2
- package/dist/cdn/HUCSTT64.js +0 -2
- package/dist/cdn/HX4236ZL.js +0 -2
- package/dist/cdn/IWVS6SKP.js +0 -2
- package/dist/cdn/KV4ZPVWQ.js +0 -2
- package/dist/cdn/MOMKSNIZ.js +0 -2
- package/dist/cdn/NS3THLCD.js +0 -2
- package/dist/cdn/NS7OCROO.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/OVM5QF7Q.js +0 -2
- package/dist/cdn/OY6UOUYX.js +0 -2
- package/dist/cdn/P74SXC5B.js +0 -2
- package/dist/cdn/PEZCCXQ7.js +0 -2
- package/dist/cdn/PYKHO4QI.js +0 -2
- package/dist/cdn/RKKWMNWU.js +0 -2
- package/dist/cdn/S3BC57BJ.js +0 -4
- package/dist/cdn/TTDZKISK.js +0 -2
- package/dist/cdn/TXSWWAOF.js +0 -2
- package/dist/cdn/YKGZVYK2.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/chunks/index7.js +0 -66
- /package/dist/cdn/{ABIVSH72.js → 2OHFSVV5.js} +0 -0
- /package/dist/cdn/{TSI3C3OV.js → 2XXW3WF3.js} +0 -0
- /package/dist/cdn/{XWKBJDZT.js → 3JYZJUOM.js} +0 -0
- /package/dist/cdn/{NHDVOYQ2.js → 3TZEMBXR.js} +0 -0
- /package/dist/cdn/{UAZ34KDJ.js → 4OH4NSIW.js} +0 -0
- /package/dist/cdn/{XIJ5VLER.js → 5SIAOUPO.js} +0 -0
- /package/dist/cdn/{75P3QRL4.js → 7QXRWMUN.js} +0 -0
- /package/dist/cdn/{4QQVKRJ5.js → AASL4RKT.js} +0 -0
- /package/dist/cdn/{PH6UOHRS.js → ANN3O54W.js} +0 -0
- /package/dist/cdn/{N6OT5IBC.js → BDGHBTPU.js} +0 -0
- /package/dist/cdn/{ZFM5RGWD.js → FFS73X36.js} +0 -0
- /package/dist/cdn/{5AOYADA3.js → FOYOG3G7.js} +0 -0
- /package/dist/cdn/{53FG76LL.js → FWAXKDYV.js} +0 -0
- /package/dist/cdn/{B4KT2HUE.js → H3EXGCE7.js} +0 -0
- /package/dist/cdn/{FLO3N6JD.js → I6UPUSLQ.js} +0 -0
- /package/dist/cdn/{WVRBLV5L.js → IVLVCLDE.js} +0 -0
- /package/dist/cdn/{NG2IHVZ4.js → IYA7HQMS.js} +0 -0
- /package/dist/cdn/{I5VHQW7B.js → L47EGLUH.js} +0 -0
- /package/dist/cdn/{OYHKUGS6.js → LROW4Y6O.js} +0 -0
- /package/dist/cdn/{DIKQ7BPQ.js → MK5ZYSOD.js} +0 -0
- /package/dist/cdn/{RDTBZUT7.js → N4L5KE23.js} +0 -0
- /package/dist/cdn/{4JQ2RRLY.js → N5ZUO6F3.js} +0 -0
- /package/dist/cdn/{2HGBRW4I.js → OFWEHJDH.js} +0 -0
- /package/dist/cdn/{M4AQLWZU.js → OXYJKZEP.js} +0 -0
- /package/dist/cdn/{O6SNP6QE.js → QR2OOC4D.js} +0 -0
- /package/dist/cdn/{4E7C5QPS.js → RSNZMJ6I.js} +0 -0
- /package/dist/cdn/{CODAXMWM.js → S3ZSZXYG.js} +0 -0
- /package/dist/cdn/{I36OAVW3.js → SERX6V5M.js} +0 -0
- /package/dist/cdn/{AJBEE7WE.js → SSQ3VCZ2.js} +0 -0
- /package/dist/cdn/{3V4HRXIT.js → TFPQDMER.js} +0 -0
- /package/dist/cdn/{2X75KJPF.js → ULWJ57VT.js} +0 -0
- /package/dist/cdn/{LNF44ZGQ.js → UYXCGSXU.js} +0 -0
- /package/dist/cdn/{OA7FHTCA.js → VDKFC44J.js} +0 -0
- /package/dist/cdn/{YIIPYKTL.js → VRZ2SY6M.js} +0 -0
- /package/dist/cdn/{VFM2EV3M.js → WAINRCCJ.js} +0 -0
- /package/dist/cdn/{MHG42BA5.js → WNKDEOFZ.js} +0 -0
- /package/dist/cdn/{DD4QUBOF.js → X2LW7GTR.js} +0 -0
- /package/dist/cdn/{N3VOUI25.js → XDMGH7YU.js} +0 -0
- /package/dist/cdn/{7ILH7ZG2.js → XY4TRZCG.js} +0 -0
- /package/dist/cdn/{66KSEDOR.js → XYKXBWIT.js} +0 -0
- /package/dist/cdn/{O2ERVMSN.js → Y6ZCTPJW.js} +0 -0
- /package/dist/cdn/{NFDXH5B3.js → YKDW7ZW3.js} +0 -0
- /package/dist/cdn/{SGOYJFLO.js → ZBIVDGNH.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import
|
|
2
|
+
import P from "@arcgis/core/Color.js";
|
|
3
3
|
import { createClassBreaksRenderer as q } from "@arcgis/core/smartMapping/renderers/color.js";
|
|
4
|
-
import { a3 as G,
|
|
5
|
-
import { cloneDeep as J, memoize as
|
|
4
|
+
import { a3 as G, bW as _ } from "./index2.js";
|
|
5
|
+
import { cloneDeep as J, memoize as Y, isEqual as T, sortBy as Q, flatMap as U } from "lodash-es";
|
|
6
6
|
import { getSchemes as X } from "@arcgis/core/smartMapping/symbology/color.js";
|
|
7
7
|
import { j as L } from "./index.js";
|
|
8
8
|
import { i as k, f as b, g as C, R as F } from "./rest-js-object-literals.js";
|
|
@@ -182,7 +182,7 @@ const $e = {
|
|
|
182
182
|
convertColor: x,
|
|
183
183
|
removeConfigFieldsFromData: z
|
|
184
184
|
}, w = Z.all(), re = X({ geometryType: "point", theme: "high-to-low" });
|
|
185
|
-
function
|
|
185
|
+
function W(e, o, t) {
|
|
186
186
|
const s = Math.max(0, Math.min(1, t));
|
|
187
187
|
return [
|
|
188
188
|
Math.round(e[0] + (o[0] - e[0]) * s),
|
|
@@ -209,7 +209,7 @@ function ne(e) {
|
|
|
209
209
|
else
|
|
210
210
|
for (let i = 0; i < o; i++) {
|
|
211
211
|
const l = i / (o - 1);
|
|
212
|
-
n.push(
|
|
212
|
+
n.push(W(r, a, l));
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
return n;
|
|
@@ -238,7 +238,7 @@ function le(e) {
|
|
|
238
238
|
c = [];
|
|
239
239
|
break;
|
|
240
240
|
}
|
|
241
|
-
const R = f * (a.length - 1) - u, g =
|
|
241
|
+
const R = f * (a.length - 1) - u, g = W(m, d, R);
|
|
242
242
|
i.push(g);
|
|
243
243
|
}
|
|
244
244
|
c = i;
|
|
@@ -246,7 +246,7 @@ function le(e) {
|
|
|
246
246
|
}
|
|
247
247
|
return c;
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function H(e) {
|
|
250
250
|
const { numberOfClassBreaks: o, selectedColorRamp: t, colorRamp: s, isFlipped: c = !1 } = e;
|
|
251
251
|
let n = ae(o, s);
|
|
252
252
|
const r = t ? le({ colorRamp: t, numberOfClassBreaks: o, isFlipped: c }) : [];
|
|
@@ -304,7 +304,7 @@ function y(e) {
|
|
|
304
304
|
}
|
|
305
305
|
function M(e) {
|
|
306
306
|
let o;
|
|
307
|
-
if (e instanceof
|
|
307
|
+
if (e instanceof P) {
|
|
308
308
|
const t = e.toRgba();
|
|
309
309
|
o = [y(t[0]), y(t[1]), y(t[2]), y(t[3] * 255)];
|
|
310
310
|
} else if (Array.isArray(e) && e.every((t) => typeof t == "number") && e.length === 4) {
|
|
@@ -331,12 +331,12 @@ function E(e, o) {
|
|
|
331
331
|
function fe(e) {
|
|
332
332
|
return [
|
|
333
333
|
...e.colors ?? [],
|
|
334
|
-
...
|
|
334
|
+
...U(e.colorsForClassBreaks ?? [], (o) => o.colors ?? [])
|
|
335
335
|
];
|
|
336
336
|
}
|
|
337
337
|
function ue(e) {
|
|
338
338
|
const { ramp: o, breakKeys: t, breakCount: s, weights: c } = e, n = (d) => d.join(","), r = o.colorsForClassBreaks?.find((d) => d.numClasses === s)?.colors ?? [], a = new Set(I(r).map(n)), i = E(t, a), l = new Set(
|
|
339
|
-
I(
|
|
339
|
+
I(H({ numberOfClassBreaks: s, selectedColorRamp: o })).map(
|
|
340
340
|
n
|
|
341
341
|
)
|
|
342
342
|
), f = E(t, l), u = fe(o).filter((d) => !!d), p = new Set(I(u).map(n)), m = E(t, p);
|
|
@@ -358,7 +358,7 @@ function Ie(e, o) {
|
|
|
358
358
|
weights: t
|
|
359
359
|
});
|
|
360
360
|
return { ramp: f, score: u };
|
|
361
|
-
}), l =
|
|
361
|
+
}), l = Q(i, [
|
|
362
362
|
(f) => -f.score,
|
|
363
363
|
// descending score
|
|
364
364
|
(f) => f.ramp.name
|
|
@@ -431,16 +431,16 @@ async function me(e) {
|
|
|
431
431
|
return r;
|
|
432
432
|
}
|
|
433
433
|
function pe(e) {
|
|
434
|
-
return e?.length ? e :
|
|
434
|
+
return e?.length ? e : K.esriColorRamps;
|
|
435
435
|
}
|
|
436
436
|
function de(e, o) {
|
|
437
437
|
return e ? pe(o).find((s) => s.name === e) : void 0;
|
|
438
438
|
}
|
|
439
439
|
function he(e) {
|
|
440
440
|
const { colorRampName: o, availableColorRamps: t } = e;
|
|
441
|
-
return de(o, t) ??
|
|
441
|
+
return de(o, t) ?? K.defaultColorRampForCharts;
|
|
442
442
|
}
|
|
443
|
-
const Ne =
|
|
443
|
+
const Ne = Y(
|
|
444
444
|
async (e) => {
|
|
445
445
|
const {
|
|
446
446
|
data: o,
|
|
@@ -455,7 +455,7 @@ const Ne = U(
|
|
|
455
455
|
} = e, f = he({
|
|
456
456
|
colorRampName: n,
|
|
457
457
|
availableColorRamps: r
|
|
458
|
-
}), u = l ?? !1, p =
|
|
458
|
+
}), u = l ?? !1, p = H({
|
|
459
459
|
numberOfClassBreaks: t,
|
|
460
460
|
selectedColorRamp: f,
|
|
461
461
|
colorRamp: i ? a?.map((m) => m.symbol?.color) : void 0,
|
|
@@ -470,7 +470,7 @@ const Ne = U(
|
|
|
470
470
|
});
|
|
471
471
|
},
|
|
472
472
|
(e) => JSON.stringify(e)
|
|
473
|
-
),
|
|
473
|
+
), K = {
|
|
474
474
|
esriColorRamps: w,
|
|
475
475
|
defaultColorRampForCharts: w.find((e) => e.name === "Blue 3") ?? w[0]
|
|
476
476
|
};
|
|
@@ -494,11 +494,11 @@ export {
|
|
|
494
494
|
se as a,
|
|
495
495
|
oe as b,
|
|
496
496
|
te as c,
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
497
|
+
Be as d,
|
|
498
|
+
K as e,
|
|
499
|
+
H as f,
|
|
500
|
+
Ne as g,
|
|
501
|
+
Me as h,
|
|
502
502
|
$e as i,
|
|
503
503
|
De as j,
|
|
504
504
|
ve as k,
|
|
@@ -3,9 +3,9 @@ import { g as p, s as b, a as _, b as L } from "./bar-chart-series.js";
|
|
|
3
3
|
import { m as a } from "./model-setter.js";
|
|
4
4
|
import { g as u, a as k, e as C, b as v, f as M, s as z, h as O, c as B, i as V, d as D, j as F, k as A, n as H, o as d, p as j, q as W, r as w, W as P } from "./negative-values-stacked-to-baseline.js";
|
|
5
5
|
import { S as T, s as N } from "./serial-chart-model.js";
|
|
6
|
-
import {
|
|
6
|
+
import { f as q } from "./utils.js";
|
|
7
7
|
import { u as S } from "./chart-object-literals.js";
|
|
8
|
-
import { j as Y, g as l, i as g } from "./
|
|
8
|
+
import { j as Y, g as l, i as g } from "./index5.js";
|
|
9
9
|
import { w as E, x as y, Y as m } from "./index.js";
|
|
10
10
|
import { an as f } from "./index2.js";
|
|
11
11
|
var G = Object.defineProperty, J = Object.getOwnPropertyDescriptor, n = (c, e, i, s) => {
|
package/dist/chunks/data.js
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { capitalize as u } from "lodash-es";
|
|
3
|
-
import { N as x, k as B, m as L,
|
|
3
|
+
import { N as x, k as B, m as L, cS as $, Y as N, an as I, af as H, ax as P, l as _, n as v } from "./index2.js";
|
|
4
4
|
import { g as F } from "./series-types.js";
|
|
5
|
-
import { H as
|
|
6
|
-
import { p as l, n, u as d, r as
|
|
5
|
+
import { H as A, S as o, P as M } from "./common.js";
|
|
6
|
+
import { p as l, n, u as d, r as g } from "./chart-object-literals.js";
|
|
7
7
|
import { C as U } from "./index3.js";
|
|
8
8
|
import { g as W } from "./index.js";
|
|
9
9
|
import { c as Y } from "./type-guards.js";
|
|
10
|
-
function k(e,
|
|
11
|
-
let
|
|
12
|
-
return
|
|
10
|
+
function k(e, r) {
|
|
11
|
+
let s;
|
|
12
|
+
return r === n.Category && Array.isArray(e) ? s = o.customSort : r === n.Category ? s = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? s = o.yAxisAsc : s = o.yAxisDesc, s;
|
|
13
13
|
}
|
|
14
|
-
function w(e,
|
|
15
|
-
let
|
|
16
|
-
return
|
|
14
|
+
function w(e, r) {
|
|
15
|
+
let s;
|
|
16
|
+
return r === n.Category && Array.isArray(e) ? s = A.customSort : s = e === l.Ascending ? A.Asc : A.Desc, s;
|
|
17
17
|
}
|
|
18
18
|
const E = (e) => {
|
|
19
|
-
const
|
|
19
|
+
const r = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
|
|
20
20
|
return k(
|
|
21
|
-
|
|
21
|
+
r,
|
|
22
22
|
e.orderOptions?.data?.orderType ?? n.Category
|
|
23
23
|
);
|
|
24
24
|
}, K = (e) => {
|
|
25
|
-
const
|
|
26
|
-
let
|
|
27
|
-
return (
|
|
25
|
+
const r = F(e.series);
|
|
26
|
+
let s = !1;
|
|
27
|
+
return (r === d.BarSeries || r === d.LineSeries) && (s = E(e) === o.customSort), s;
|
|
28
28
|
}, ee = (e) => {
|
|
29
|
-
let
|
|
30
|
-
const
|
|
31
|
-
return K(e) &&
|
|
32
|
-
},
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
let
|
|
36
|
-
if (
|
|
37
|
-
e ===
|
|
38
|
-
...
|
|
39
|
-
orderByY:
|
|
29
|
+
let r = [];
|
|
30
|
+
const s = e.orderOptions?.data?.orderType;
|
|
31
|
+
return K(e) && s === n.Category && (r = e.orderOptions?.data?.orderBy), r;
|
|
32
|
+
}, re = (e, r, s, t) => {
|
|
33
|
+
const i = F(r.series), y = $(r);
|
|
34
|
+
r.orderOptions ??= {};
|
|
35
|
+
let a = y ? [""] : l.Ascending;
|
|
36
|
+
if (y)
|
|
37
|
+
e === A.customSort && s !== void 0 ? a = [...s] : a = e === A.Desc ? l.Descending : l.Ascending, t ? r.orderOptions.data = {
|
|
38
|
+
...r.orderOptions.data,
|
|
39
|
+
orderByY: a,
|
|
40
40
|
orderType: n.MultiAxes
|
|
41
|
-
} :
|
|
42
|
-
...
|
|
43
|
-
orderByX:
|
|
41
|
+
} : r.orderOptions.data = {
|
|
42
|
+
...r.orderOptions.data,
|
|
43
|
+
orderByX: a,
|
|
44
44
|
orderType: n.MultiAxes
|
|
45
45
|
};
|
|
46
|
-
else if (
|
|
46
|
+
else if (i === d.BarSeries || i === d.LineSeries) {
|
|
47
47
|
let c = n.Category;
|
|
48
|
-
e === o.customSort &&
|
|
48
|
+
e === o.customSort && s !== void 0 ? (a = [...s], r.orderOptions.data = {
|
|
49
49
|
orderType: c,
|
|
50
|
-
orderBy:
|
|
51
|
-
}) : (c = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue,
|
|
50
|
+
orderBy: a
|
|
51
|
+
}) : (c = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue, a = e === o.xAxisAsc || e === o.yAxisAsc ? l.Ascending : l.Descending, r.orderOptions.data = {
|
|
52
52
|
orderType: c,
|
|
53
|
-
orderBy:
|
|
53
|
+
orderBy: a
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
},
|
|
56
|
+
}, se = (e) => e?.series?.[0]?.x ?? "", te = (e) => {
|
|
57
57
|
const {
|
|
58
|
-
config:
|
|
59
|
-
xAxisField:
|
|
58
|
+
config: r,
|
|
59
|
+
xAxisField: s,
|
|
60
60
|
numericFields: t,
|
|
61
|
-
aggregationType:
|
|
62
|
-
mode:
|
|
63
|
-
layer:
|
|
61
|
+
aggregationType: i,
|
|
62
|
+
mode: y,
|
|
63
|
+
layer: a,
|
|
64
64
|
numericFieldIndex: c,
|
|
65
65
|
seriesIndex: h,
|
|
66
66
|
splitByField: S = "",
|
|
67
67
|
fieldList: O
|
|
68
|
-
} = e, T = F(
|
|
68
|
+
} = e, T = F(r.series), b = N(r.series);
|
|
69
69
|
let f;
|
|
70
|
-
if (Y(
|
|
71
|
-
const
|
|
72
|
-
f = t.length === 1 && t[0] ===
|
|
70
|
+
if (Y(a)) {
|
|
71
|
+
const m = P(a);
|
|
72
|
+
f = t.length === 1 && t[0] === m;
|
|
73
73
|
} else {
|
|
74
|
-
const { idField:
|
|
75
|
-
f = D && t.length === 1 && t[0] ===
|
|
74
|
+
const { idField: m, isTraditionalTypeOID: D } = I(H(a));
|
|
75
|
+
f = D && t.length === 1 && t[0] === m;
|
|
76
76
|
}
|
|
77
|
-
let p = "y",
|
|
77
|
+
let p = "y", C = "y";
|
|
78
78
|
switch (T) {
|
|
79
79
|
case d.PieSeries: {
|
|
80
|
-
|
|
80
|
+
i !== g.NoAggregation ? y === M.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), C = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = v : p = t[0];
|
|
81
81
|
break;
|
|
82
82
|
}
|
|
83
83
|
case d.BarSeries:
|
|
@@ -87,38 +87,38 @@ const E = (e) => {
|
|
|
87
87
|
case d.HeatSeries: {
|
|
88
88
|
if (S === "" || t.length > 1)
|
|
89
89
|
V({
|
|
90
|
-
fieldName:
|
|
90
|
+
fieldName: s,
|
|
91
91
|
numericFields: t,
|
|
92
92
|
fieldList: O ?? []
|
|
93
|
-
}) || b === U.BarAndLineFromFields ? p = _ : (p = `${
|
|
93
|
+
}) || b === U.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], C = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
|
|
94
94
|
else {
|
|
95
|
-
const
|
|
96
|
-
p = `${
|
|
95
|
+
const m = t[0];
|
|
96
|
+
p = i !== g.NoAggregation ? `${i}_${m}_${h ?? 0}`.toUpperCase() : m, C = f ? u(g.Count) : u(`${i} of ${m}`);
|
|
97
97
|
}
|
|
98
98
|
break;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
return {
|
|
102
102
|
name: p,
|
|
103
|
-
description:
|
|
103
|
+
description: C
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
106
|
function R(e) {
|
|
107
|
-
const { fieldName:
|
|
108
|
-
return
|
|
107
|
+
const { fieldName: r, fieldList: s } = e, t = x(s ?? [], r);
|
|
108
|
+
return r === B || r === L || r === W || r === void 0 || r.trim() === "" || t === void 0;
|
|
109
109
|
}
|
|
110
110
|
function V(e) {
|
|
111
|
-
const { fieldName:
|
|
112
|
-
return R({ fieldName:
|
|
111
|
+
const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((y) => x(s ?? [], y)?.type !== "esriFieldTypeOID");
|
|
112
|
+
return R({ fieldName: r, fieldList: s }) && (i?.length ?? 0) > 0;
|
|
113
113
|
}
|
|
114
114
|
export {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
115
|
+
se as a,
|
|
116
|
+
w as b,
|
|
117
|
+
k as c,
|
|
118
|
+
re as d,
|
|
119
|
+
ee as e,
|
|
120
|
+
E as f,
|
|
121
121
|
te as g,
|
|
122
|
-
|
|
122
|
+
V as s,
|
|
123
123
|
R as x
|
|
124
124
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { u as c, G as S, r as
|
|
3
|
-
import { K as d, E as
|
|
2
|
+
import { u as c, G as S, r as x } from "./chart-object-literals.js";
|
|
3
|
+
import { K as d, E as b, ah as _, M as m, J as I } from "./index.js";
|
|
4
4
|
import { an as C } from "./index2.js";
|
|
5
5
|
import { C as L } from "./chart-model.js";
|
|
6
6
|
import { m as n } from "./model-setter.js";
|
|
7
7
|
import { M as T } from "./model-with-x-guides.js";
|
|
8
|
-
import { W as A,
|
|
9
|
-
import { W as F,
|
|
10
|
-
import { W as E,
|
|
11
|
-
import { g as P,
|
|
8
|
+
import { W as A, c as W, d as V } from "./axis-lines-symbol.js";
|
|
9
|
+
import { W as F, c as D, d as B } from "./generate-x-axis-title.js";
|
|
10
|
+
import { W as E, a as M } from "./x-bounds.js";
|
|
11
|
+
import { g as P, f as w } from "./utils.js";
|
|
12
12
|
const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
13
13
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.visible = t;
|
|
14
14
|
}, G = (t) => t.axes[0].needle?.symbol, k = (t, e) => {
|
|
@@ -22,9 +22,9 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
22
22
|
}, K = (t) => t.axes[0].needle?.displayPin ?? !1, Q = (t, e) => {
|
|
23
23
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.displayPin = t;
|
|
24
24
|
}, Y = (t) => t.axes[0].innerLabel?.visible ?? !0, z = (t, e) => {
|
|
25
|
-
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel =
|
|
25
|
+
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), e.axes[0].innerLabel.visible = t;
|
|
26
26
|
}, H = (t) => t.axes[0].innerLabel?.content, U = (t, e) => {
|
|
27
|
-
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel =
|
|
27
|
+
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), t !== void 0 && (e.axes[0].innerLabel.content = t);
|
|
28
28
|
}, Z = (t) => t.axes[0].progressBands?.visible ?? !0, ee = (t, e) => {
|
|
29
29
|
e.axes[0].progressBands === void 0 && (e.axes[0].progressBands = {
|
|
30
30
|
type: c.FixedProgressBands
|
|
@@ -46,7 +46,7 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
46
46
|
e === null ? delete s.series[0].featureIndex : s.series[0] !== void 0 && (s.series[0].featureIndex = e), u({ config: s, layerInfo: a, field: l, aggregationType: g, commonStrings: r });
|
|
47
47
|
}, ce = (t) => t.subType ?? S.StatisticGauge, ue = (t) => {
|
|
48
48
|
const { config: e, field: s, aggregationType: a } = t;
|
|
49
|
-
if (a !==
|
|
49
|
+
if (a !== x.NoAggregation) {
|
|
50
50
|
const r = v(e), l = p(r) ? {} : {
|
|
51
51
|
outStatistics: [
|
|
52
52
|
{
|
|
@@ -73,7 +73,7 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
73
73
|
const r = p(e.series[0]?.featureIndex);
|
|
74
74
|
let l = r ? s : `${a}_${s}`;
|
|
75
75
|
r && s.startsWith(`${a}_`) && (l = s.replace(`${a}_`, "")), e.series[0].x = l, ue({ config: e, field: s, aggregationType: a }), he(t);
|
|
76
|
-
}, h = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ??
|
|
76
|
+
}, h = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ?? x.Count, pe = (t) => {
|
|
77
77
|
const { config: e, layerInfo: s, commonStrings: a, aggregationType: r } = t, l = f(e);
|
|
78
78
|
u({
|
|
79
79
|
config: e,
|
|
@@ -85,9 +85,9 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
85
85
|
}, p = (t) => typeof t == "number" && t >= 0, f = (t) => p(t.series[0]?.featureIndex) ? t.series[0]?.x : t.series[0]?.query?.outStatistics?.[0]?.onStatisticField ?? "", fe = (t) => {
|
|
86
86
|
const { field: e, config: s, layerInfo: a, commonStrings: r } = t, l = h(s);
|
|
87
87
|
u({ config: s, layerInfo: a, commonStrings: r, field: e, aggregationType: l });
|
|
88
|
-
}, ye = (t) => t.innerRadius ?? 50,
|
|
88
|
+
}, ye = (t) => t.innerRadius ?? 50, xe = (t, e) => {
|
|
89
89
|
e.innerRadius = t;
|
|
90
|
-
},
|
|
90
|
+
}, be = (t) => t.startAngle ?? -90, me = (t, e) => {
|
|
91
91
|
e.startAngle = t;
|
|
92
92
|
}, ve = (t) => t.endAngle ?? 270, Se = (t, e) => {
|
|
93
93
|
e.endAngle = t;
|
|
@@ -148,13 +148,13 @@ class i extends L {
|
|
|
148
148
|
return ye(this._config);
|
|
149
149
|
}
|
|
150
150
|
set innerRadius(e) {
|
|
151
|
-
|
|
151
|
+
xe(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
152
152
|
}
|
|
153
153
|
/**
|
|
154
154
|
* Start angle of the gauge.
|
|
155
155
|
*/
|
|
156
156
|
get startAngle() {
|
|
157
|
-
return
|
|
157
|
+
return be(this._config);
|
|
158
158
|
}
|
|
159
159
|
set startAngle(e) {
|
|
160
160
|
me(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import { m as t } from "./model-setter.js";
|
|
3
3
|
import { H as o } from "./common.js";
|
|
4
4
|
import { S as u, g as _, a as C } from "./serial-chart-model.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { E as S, F as T, G as F, H as O, I as A, J as L, K as R, L as x, M as D, N as v, O as w, P as b, Q as I, R as B, S as P, T as E, U as N, V as k, W, X as G, Y as H, Z as Y, _ as U, $ as M, a0 as V, a1 as X, a2 as j, a3 as K, a4 as Z, a5 as c, a6 as y, a7 as q, a8 as J, a9 as Q, aa as $, ab as z, ac as ee, y as m, ad as te, ae as ie, af as se, ag as re, ah as oe, ai as ne, aj as ae, ak as ge } from "./serial-chart-data.js";
|
|
6
|
+
import { d } from "./data.js";
|
|
7
7
|
import { u as le, r as f } from "./chart-object-literals.js";
|
|
8
8
|
import { N as pe } from "./index.js";
|
|
9
9
|
import { an as h } from "./index2.js";
|
|
10
10
|
import { q as ce } from "./index3.js";
|
|
11
|
-
var
|
|
12
|
-
for (var n =
|
|
11
|
+
var ye = Object.defineProperty, me = Object.getOwnPropertyDescriptor, i = (l, e, r, a) => {
|
|
12
|
+
for (var n = me(e, r), g = l.length - 1, p; g >= 0; g--)
|
|
13
13
|
(p = l[g]) && (n = p(e, r, n) || n);
|
|
14
|
-
return n &&
|
|
14
|
+
return n && ye(e, r, n), n;
|
|
15
15
|
};
|
|
16
16
|
class s extends u {
|
|
17
17
|
constructor() {
|
|
@@ -60,11 +60,11 @@ class s extends u {
|
|
|
60
60
|
* **Note**: This is only applicable for calendar heat charts (when `xAxisField` and `yAxisField` are date fields).
|
|
61
61
|
*/
|
|
62
62
|
get viewType() {
|
|
63
|
-
return
|
|
63
|
+
return O(this._config);
|
|
64
64
|
}
|
|
65
65
|
set viewType(e) {
|
|
66
66
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
67
|
-
|
|
67
|
+
A(e, this._config), this.emitConfigUpdate("heatChartViewType");
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
@@ -129,11 +129,11 @@ class s extends u {
|
|
|
129
129
|
* `manual` - Allows you to manually specify the class breaks.
|
|
130
130
|
*/
|
|
131
131
|
get classificationMethod() {
|
|
132
|
-
return
|
|
132
|
+
return b(this._config);
|
|
133
133
|
}
|
|
134
134
|
set classificationMethod(e) {
|
|
135
135
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
136
|
-
e && (
|
|
136
|
+
e && (I(e, this._config), this.emitConfigUpdate("classificationMethod"));
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
@@ -177,10 +177,10 @@ class s extends u {
|
|
|
177
177
|
* The grid line color used by the heat chart.
|
|
178
178
|
*/
|
|
179
179
|
get gridLineColor() {
|
|
180
|
-
return
|
|
180
|
+
return Y(this._config);
|
|
181
181
|
}
|
|
182
182
|
set gridLineColor(e) {
|
|
183
|
-
|
|
183
|
+
U(e, this._config);
|
|
184
184
|
}
|
|
185
185
|
/**
|
|
186
186
|
* The name of the series that is used by the heat chart.
|
|
@@ -246,14 +246,14 @@ class s extends u {
|
|
|
246
246
|
}
|
|
247
247
|
set numericFields(e) {
|
|
248
248
|
const { idField: r } = h(this.layerInfo.layer), a = ce(e[0]), n = a ? r : e[0];
|
|
249
|
-
|
|
249
|
+
Z({
|
|
250
250
|
field: n,
|
|
251
251
|
config: this._config,
|
|
252
252
|
layerInfo: this.layerInfo,
|
|
253
253
|
commonStrings: this.commonStrings
|
|
254
254
|
});
|
|
255
255
|
const g = c(this._config);
|
|
256
|
-
a && g !== f.Count &&
|
|
256
|
+
a && g !== f.Count && y({
|
|
257
257
|
aggregationType: f.Count,
|
|
258
258
|
config: this._config,
|
|
259
259
|
layerInfo: this.layerInfo,
|
|
@@ -267,7 +267,7 @@ class s extends u {
|
|
|
267
267
|
return c(this._config);
|
|
268
268
|
}
|
|
269
269
|
set aggregationType(e) {
|
|
270
|
-
|
|
270
|
+
y({
|
|
271
271
|
aggregationType: e,
|
|
272
272
|
config: this._config,
|
|
273
273
|
layerInfo: this.layerInfo,
|
|
@@ -284,7 +284,7 @@ class s extends u {
|
|
|
284
284
|
set splitByField(e) {
|
|
285
285
|
}
|
|
286
286
|
get legendPosition() {
|
|
287
|
-
return
|
|
287
|
+
return q(this._config);
|
|
288
288
|
}
|
|
289
289
|
set legendPosition(e) {
|
|
290
290
|
J(e, this._config);
|
|
@@ -293,10 +293,10 @@ class s extends u {
|
|
|
293
293
|
return Q(this._config);
|
|
294
294
|
}
|
|
295
295
|
set nullPolicy(e) {
|
|
296
|
-
|
|
296
|
+
$(e, this._config);
|
|
297
297
|
}
|
|
298
298
|
get emptyCell() {
|
|
299
|
-
return
|
|
299
|
+
return z(this._config);
|
|
300
300
|
}
|
|
301
301
|
/**
|
|
302
302
|
* The heat chart's empty cell configuration.
|
|
@@ -316,7 +316,7 @@ class s extends u {
|
|
|
316
316
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
317
317
|
*/
|
|
318
318
|
getXAxisSortOrder() {
|
|
319
|
-
const e =
|
|
319
|
+
const e = m(this._config)[0];
|
|
320
320
|
return e === o.Asc || e === o.Desc || e === o.customSort ? e : o.Asc;
|
|
321
321
|
}
|
|
322
322
|
setXAxisSortOrder(e, r) {
|
|
@@ -327,7 +327,7 @@ class s extends u {
|
|
|
327
327
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
328
328
|
*/
|
|
329
329
|
getYAxisSortOrder() {
|
|
330
|
-
const e =
|
|
330
|
+
const e = m(this._config)[1];
|
|
331
331
|
return e === o.Asc || e === o.Desc || e === o.customSort ? e : o.Asc;
|
|
332
332
|
}
|
|
333
333
|
setYAxisSortOrder(e, r) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { substitute as T } from "@arcgis/core/intl.js";
|
|
3
3
|
import { u as O, s as l } from "./utils.js";
|
|
4
|
-
import {
|
|
4
|
+
import { b as M } from "./series-length.js";
|
|
5
5
|
import { g as C } from "./utils2.js";
|
|
6
6
|
import { g as A } from "./chart-object-literals.js";
|
|
7
7
|
import { Q as i, Z as n, P as y, a0 as r } from "./index.js";
|
|
8
8
|
import { d as m } from "./index3.js";
|
|
9
|
-
import { i as h } from "./
|
|
9
|
+
import { i as h } from "./index4.js";
|
|
10
10
|
const v = (s) => {
|
|
11
11
|
l({ config: s, value: null, axisIndex: 0, isMax: !1 }), l({ config: s, value: null, axisIndex: 0, isMax: !0 }), l({ config: s, value: null, axisIndex: 1, isMax: !1 }), l({ config: s, value: null, axisIndex: 1, isMax: !0 });
|
|
12
12
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import { g as h, s as y, a as g, b as f, c as p, d, e as c, f as S, h as
|
|
2
|
+
import { f as m } from "./utils.js";
|
|
3
|
+
import { g as h, s as y, a as g, b as f, c as p, d, e as c, f as S, h as v, i as b, j as u, k as _, l as D, m as O, n as M, o as w, p as C, q as W, r as T, t as x, u as A, v as N, w as L, x as E, y as F, z as X, A as B } from "./histogram-data.js";
|
|
4
4
|
import { C as P } from "./chart-model.js";
|
|
5
5
|
import { M as j, a as H, W as I, b as V } from "./data-labels-visibility.js";
|
|
6
6
|
import { W as G } from "./data-labels-symbol.js";
|
|
7
|
-
import { W as q,
|
|
8
|
-
import { W as Y,
|
|
9
|
-
import { W as K,
|
|
7
|
+
import { W as q, a as z } from "./x-bounds.js";
|
|
8
|
+
import { W as Y, c as k, d as J } from "./axis-lines-symbol.js";
|
|
9
|
+
import { W as K, c as Q, d as R } from "./generate-x-axis-title.js";
|
|
10
10
|
import { m as s } from "./model-setter.js";
|
|
11
11
|
import { u as U } from "./chart-object-literals.js";
|
|
12
12
|
import { O as Z } from "./index.js";
|
|
13
13
|
import { M as $, a as tt } from "./model-with-y-guides.js";
|
|
14
|
-
var et = Object.defineProperty, st = Object.getOwnPropertyDescriptor, o = (
|
|
15
|
-
for (var
|
|
16
|
-
(l =
|
|
17
|
-
return
|
|
14
|
+
var et = Object.defineProperty, st = Object.getOwnPropertyDescriptor, o = (a, t, r, it) => {
|
|
15
|
+
for (var i = st(t, r), n = a.length - 1, l; n >= 0; n--)
|
|
16
|
+
(l = a[n]) && (i = l(t, r, i) || i);
|
|
17
|
+
return i && et(t, r, i), i;
|
|
18
18
|
};
|
|
19
19
|
class e extends P {
|
|
20
20
|
constructor() {
|
|
@@ -82,10 +82,10 @@ class e extends P {
|
|
|
82
82
|
* Line symbol used for the mean overlay in the histogram.
|
|
83
83
|
*/
|
|
84
84
|
get meanSymbol() {
|
|
85
|
-
return
|
|
85
|
+
return v(this._config);
|
|
86
86
|
}
|
|
87
87
|
set meanSymbol(t) {
|
|
88
|
-
|
|
88
|
+
b(t, this._config);
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
91
|
* Line symbol used for the median overlay in the histogram.
|