@arcgis/charts-components 5.0.0-next.5 → 5.0.0-next.51
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/2FFIX2UZ.js +4 -0
- package/dist/cdn/2O3KE45T.js +4 -0
- package/dist/cdn/3724OAQD.js +4 -0
- package/dist/cdn/{TETZB6TG.js → 3CWBUXCF.js} +2 -2
- package/dist/cdn/{6XICP4O2.js → 3DIKD6LL.js} +2 -2
- package/dist/cdn/3GSG5A4P.js +4 -0
- package/dist/cdn/3HFCTYVJ.js +4 -0
- package/dist/cdn/3X2PUY3Z.js +4 -0
- package/dist/cdn/4CFJ7WM7.js +4 -0
- package/dist/cdn/{CV6THL4H.js → 4RBINONO.js} +2 -2
- package/dist/cdn/54M2LS4C.js +4 -0
- package/dist/cdn/5CMEKYG2.js +4 -0
- package/dist/cdn/5IT3DNJM.js +4 -0
- package/dist/cdn/5STK5WG7.js +4 -0
- package/dist/cdn/5WU5MG6R.js +4 -0
- package/dist/cdn/{ZV2FCWVF.js → 6SPUGQG4.js} +2 -2
- package/dist/cdn/6ST76NPJ.js +4 -0
- package/dist/cdn/{6RJ54FTE.js → 6SZCLOJV.js} +2 -2
- package/dist/cdn/6VOAZOMP.js +4 -0
- package/dist/cdn/74ZE52UP.js +4 -0
- package/dist/cdn/{W6JDJ6CI.js → AA43CFU7.js} +2 -2
- package/dist/cdn/AHGMA4MA.js +4 -0
- package/dist/cdn/{AS4BM6KR.js → AKBINYLB.js} +2 -2
- package/dist/cdn/ANVE7IP7.js +4 -0
- package/dist/cdn/AQ7MA75N.js +4 -0
- package/dist/cdn/{Z6IXB3E5.js → AQMC3HBD.js} +2 -2
- package/dist/cdn/AU4OCCCR.js +4 -0
- package/dist/cdn/AV666V52.js +4 -0
- package/dist/cdn/{ESYIBBDW.js → AWCQUNZE.js} +2 -2
- package/dist/cdn/AWJIP5SC.js +4 -0
- package/dist/cdn/BB23SUT3.js +4 -0
- package/dist/cdn/BDQRKBQJ.js +6 -0
- package/dist/cdn/BIE445NL.js +4 -0
- package/dist/cdn/{HREWUP6X.js → BROOW6ZG.js} +2 -2
- package/dist/cdn/BUZQSBDL.js +4 -0
- package/dist/cdn/BWF232OP.js +4 -0
- package/dist/cdn/BY2IOI6P.js +4 -0
- package/dist/cdn/C5RBVHQK.js +4 -0
- package/dist/cdn/CDKHTPGB.js +4 -0
- package/dist/cdn/{WTH425VI.js → CEGRP5PX.js} +1 -1
- package/dist/cdn/{ULD7JICH.js → CN3THIJA.js} +2 -2
- package/dist/cdn/COKG2QN7.js +4 -0
- package/dist/cdn/COYMZGHI.js +4 -0
- package/dist/cdn/{73AZHLP7.js → CQ5PTW3D.js} +2 -2
- package/dist/cdn/{CFTAWZ77.js → CTQ2SXIJ.js} +2 -2
- package/dist/cdn/CYQNPKG2.js +4 -0
- package/dist/cdn/{A2XWPGD2.js → DAYOKYDA.js} +2 -2
- package/dist/cdn/DD5QV2AB.js +4 -0
- package/dist/cdn/{LAGE62S7.js → DDPDZAFM.js} +1 -1
- package/dist/cdn/DF6EGSHT.js +4 -0
- package/dist/cdn/DFRMI7OU.js +4 -0
- package/dist/cdn/{5HRJVYD3.js → DL4FPPQS.js} +2 -2
- package/dist/cdn/DPGLTVXD.js +4 -0
- package/dist/cdn/{AXYMSHID.js → DS6NX7MU.js} +2 -2
- package/dist/cdn/DWTTCDLX.js +4 -0
- package/dist/cdn/E7J3XVE5.js +4 -0
- package/dist/cdn/{3H5R54P6.js → EQHNGPEU.js} +2 -2
- package/dist/cdn/F2ZJALSA.js +4 -0
- package/dist/cdn/F4VY4N6L.js +4 -0
- package/dist/cdn/{4IJR7EHI.js → F5FVJ5KN.js} +2 -2
- package/dist/cdn/FABFSBPK.js +4 -0
- package/dist/cdn/FDYMLFEA.js +4 -0
- package/dist/cdn/{DONAR2FZ.js → FSYKVNJ3.js} +2 -2
- package/dist/cdn/GCWZR5S3.js +4 -0
- package/dist/cdn/GH57K2DD.js +4 -0
- package/dist/cdn/{OX37U5FL.js → GL7DYCIY.js} +2 -2
- package/dist/cdn/GN4PWMLK.js +4 -0
- package/dist/cdn/GNQYXO2A.js +4 -0
- package/dist/cdn/GP6WVWMP.js +4 -0
- package/dist/cdn/{Q6LEDMBZ.js → GQ5UYMZ5.js} +1 -1
- package/dist/cdn/{D6KEJTTL.js → GRKP7BFO.js} +2 -2
- package/dist/cdn/GTCDCUYC.js +4 -0
- package/dist/cdn/GTDK7IDR.js +4 -0
- package/dist/cdn/{G2METNMC.js → GVYDJSRQ.js} +2 -2
- package/dist/cdn/GYL522GH.js +4 -0
- package/dist/cdn/{7XE7ZIHN.js → H2K4DW6T.js} +2 -2
- package/dist/cdn/{VTWEX57C.js → H2RWX3DS.js} +2 -2
- package/dist/cdn/H4WARRAC.js +58 -0
- package/dist/cdn/H6BINBNX.js +4 -0
- package/dist/cdn/{IAH4FEMB.js → HDPN7SOH.js} +2 -2
- package/dist/cdn/{K4VUPLRS.js → HJWO74BA.js} +1 -1
- package/dist/cdn/{4JOT7RYS.js → HTZD3B4O.js} +2 -2
- package/dist/cdn/I4ZQSKBQ.js +4 -0
- package/dist/cdn/{B22PSOMV.js → II2R3DSC.js} +2 -2
- package/dist/cdn/{VLY5ZFJB.js → IL5S5CW5.js} +2 -2
- package/dist/cdn/{H4QOQNQX.js → IOUPMTLG.js} +2 -2
- package/dist/cdn/IPIB5PCL.js +4 -0
- package/dist/cdn/IQ4BYS4D.js +4 -0
- package/dist/cdn/{TROAL5VH.js → IQSSKC6N.js} +2 -2
- package/dist/cdn/{PRUOLLXX.js → J2QDUXJE.js} +2 -2
- package/dist/cdn/JF434MRT.js +4 -0
- package/dist/cdn/{XWMI6JSB.js → JNVPCZNK.js} +2 -2
- package/dist/cdn/{O3HVGYZS.js → JOO7NCD3.js} +2 -2
- package/dist/cdn/{WZO6BPV2.js → JP7EO6BR.js} +2 -2
- package/dist/cdn/{EQRBT4RS.js → JQ3JBBOB.js} +2 -2
- package/dist/cdn/K44JZRLF.js +4 -0
- package/dist/cdn/{G6IPNEE3.js → K6NSRQ6V.js} +2 -2
- package/dist/cdn/K6NXEBG6.js +4 -0
- package/dist/cdn/{H355OUXG.js → KCRNKETG.js} +2 -2
- package/dist/cdn/KFAXAEHT.js +4 -0
- package/dist/cdn/{OSGGRDHY.js → KW6MJD4T.js} +2 -2
- package/dist/cdn/{PCGSJWVC.js → L2HTZCD6.js} +2 -2
- package/dist/cdn/L3BQ5TWO.js +4 -0
- package/dist/cdn/{UUFUCAD3.js → L4ZMM5YJ.js} +1 -1
- package/dist/cdn/{KOZIVKMW.js → L6Y3LN4B.js} +1 -1
- package/dist/cdn/LJKU5DOQ.js +4 -0
- package/dist/cdn/{PX4P6EVU.js → LQTZDVTL.js} +2 -2
- package/dist/cdn/{5GCX3ASK.js → LSWDE26H.js} +2 -2
- package/dist/cdn/{TXAGJJ7V.js → LWCVLRHQ.js} +2 -2
- package/dist/cdn/M2KOHO26.js +4 -0
- package/dist/cdn/{NFXRX2K2.js → M6HSAZI7.js} +2 -2
- package/dist/cdn/{TFR2XJOG.js → MGSTGM2O.js} +2 -2
- package/dist/cdn/{RR2GRLN4.js → MQWIEP63.js} +2 -2
- package/dist/cdn/{MUTK62YG.js → MXTVONY2.js} +2 -2
- package/dist/cdn/{7LJXG2EB.js → N5SAD3IN.js} +2 -2
- package/dist/cdn/N6HOODDF.js +4 -0
- package/dist/cdn/{HDBIXSWC.js → NDBN3CYG.js} +2 -2
- package/dist/cdn/{4MEZ4HKS.js → NHBOJSGE.js} +2 -2
- package/dist/cdn/NJP4TOWP.js +4 -0
- package/dist/cdn/NS6ESVWF.js +4 -0
- package/dist/cdn/{RFHU6X2B.js → NSAWUEOY.js} +2 -2
- package/dist/cdn/{DDGMIWZC.js → NVEWHE6O.js} +2 -2
- package/dist/cdn/NXTIHJ2P.js +4 -0
- package/dist/cdn/O2NYFQCL.js +4 -0
- package/dist/cdn/{FSB6NTEU.js → O33DW7ZZ.js} +2 -2
- package/dist/cdn/{FSLY4LNC.js → O7JUKN2Q.js} +2 -2
- package/dist/cdn/OSQESB3E.js +4 -0
- package/dist/cdn/OW2XQCBR.js +4 -0
- package/dist/cdn/{4D4W6UVF.js → PNGCP7KC.js} +2 -2
- package/dist/cdn/PROYNBFN.js +4 -0
- package/dist/cdn/PXPLGJRU.js +4 -0
- package/dist/cdn/{VIGBYFUK.js → Q7I345O4.js} +2 -2
- package/dist/cdn/QJOOCYFA.js +4 -0
- package/dist/cdn/QNM5RCZY.js +4 -0
- package/dist/cdn/RIWIFFMV.js +4 -0
- package/dist/cdn/RK7VELRG.js +4 -0
- package/dist/cdn/RLHL6HHH.js +4 -0
- package/dist/cdn/RMREODR3.js +4 -0
- package/dist/cdn/RSAVWV6P.js +4 -0
- package/dist/cdn/RWWWFCKQ.js +4 -0
- package/dist/cdn/S4ZKKCVF.js +4 -0
- package/dist/cdn/SBVMIBUY.js +4 -0
- package/dist/cdn/{635XSSNH.js → SLS4K5UK.js} +2 -2
- package/dist/cdn/{KBDI5BIF.js → SQZQQKJZ.js} +2 -2
- package/dist/cdn/TDILUAGE.js +4 -0
- package/dist/cdn/TETD6QHI.js +4 -0
- package/dist/cdn/TI3G5ABA.js +4 -0
- package/dist/cdn/TJH3I3LD.js +4 -0
- package/dist/cdn/TNF2MVZI.js +4 -0
- package/dist/cdn/{Y4BOOI43.js → TOOYVIAU.js} +2 -2
- package/dist/cdn/TUFE5B5M.js +4 -0
- package/dist/cdn/{I5HVQQ3Q.js → TUOORNZN.js} +2 -2
- package/dist/cdn/UAFOQ3XQ.js +4 -0
- package/dist/cdn/UMSXJEYX.js +4 -0
- package/dist/cdn/USX3GUS7.js +4 -0
- package/dist/cdn/{JCJDTWWY.js → UUW55D6Y.js} +2 -2
- package/dist/cdn/V72HAW3A.js +42 -0
- package/dist/cdn/VAVNAMP2.js +4 -0
- package/dist/cdn/{XREL2EGV.js → VVGO57XM.js} +2 -2
- package/dist/cdn/W5HCONSX.js +4 -0
- package/dist/cdn/WBTRPWQM.js +4 -0
- package/dist/cdn/WGA4QOON.js +4 -0
- package/dist/cdn/{VEUR3MYM.js → WHHOEHEE.js} +2 -2
- package/dist/cdn/WLE7CQD4.js +4 -0
- package/dist/cdn/WNCAET2Z.js +4 -0
- package/dist/cdn/WOBVOJFL.js +4 -0
- package/dist/cdn/XBC6GHB3.js +4 -0
- package/dist/cdn/XC6MMICH.js +4 -0
- package/dist/cdn/{RIATOUFB.js → XJYGPXHP.js} +2 -2
- package/dist/cdn/XREVRW6Y.js +4 -0
- package/dist/cdn/Y6FYKIS7.js +4 -0
- package/dist/cdn/YKIBACTO.js +4 -0
- package/dist/cdn/YSZYWYQW.js +4 -0
- package/dist/cdn/{ZTCVGEDC.js → YVH4TYHT.js} +2 -2
- package/dist/cdn/YWU6XQ2J.js +4 -0
- package/dist/cdn/YYRTXFKJ.js +4 -0
- package/dist/cdn/{JUDN6TYO.js → Z6EEQTA7.js} +2 -2
- package/dist/cdn/ZGKD3DQA.js +4 -0
- package/dist/cdn/ZROF5BBD.js +4 -0
- package/dist/cdn/ZYKH466J.js +4 -0
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/axes/index.d.ts +1 -1
- package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +2 -3
- package/dist/chart-rendering/common/config-utils/index.d.ts +13 -120
- package/dist/chart-rendering/common/data/index.d.ts +9 -6
- 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 +3 -166
- package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
- package/dist/chart-rendering/common/data/utils/selection/index.d.ts +2 -2
- package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +6 -8
- package/dist/chart-rendering/common/error-utils/index.d.ts +2 -2
- package/dist/chart-rendering/common/events/index.d.ts +2 -4
- package/dist/chart-rendering/common/interfaces.d.ts +20 -7
- package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
- package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +2 -3
- 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/common/t9n/errors/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/axes/gauge/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/axes/histogram/index.d.ts +8 -2
- package/dist/chart-rendering/next/chart-library-elements/axes/index.d.ts +9 -2
- package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-format/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 +2 -2
- package/dist/chart-rendering/next/chart-library-elements/legend/index.d.ts +8 -6
- package/dist/chart-rendering/next/chart-library-elements/legend/interfaces.d.ts +15 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +5 -1
- package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/pie-chart/index.d.ts +2 -0
- package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/interfaces.d.ts +3 -0
- package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/size-policy/index.d.ts +8 -17
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +7 -18
- package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- 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/interfaces.d.ts +3 -0
- package/dist/chart-rendering/next/utils/chart-modal/index.d.ts +4 -4
- package/dist/chart-rendering/next/utils/index.d.ts +15 -7
- package/dist/chart-rendering/next/utils/misc/index.d.ts +9 -3
- package/dist/chart-rendering/stable/chart-library-elements/axes/histogram/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/scatter-plot/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-renderer/index.d.ts +2 -2
- package/dist/chart-rendering/stable/chart-library-elements/label/utils/gauge/index.d.ts +5 -0
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -1
- 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 +8 -4
- package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
- package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +8 -10
- package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
- package/dist/chart-rendering/stable/utils/misc/index.d.ts +2 -8
- package/dist/chunks/action-bar-utils.js +52 -39
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +22 -13
- package/dist/chunks/bar-chart-series.js +21 -12
- package/dist/chunks/baseline-stacking.js +49 -40
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +216 -194
- package/dist/chunks/box-plot-model.js +35 -27
- package/dist/chunks/chart-ui-utils.js +17 -23
- package/dist/chunks/chart-ui-utils2.js +58 -50
- package/dist/chunks/combo-bar-line-chart-model.js +52 -57
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +144 -5401
- package/dist/chunks/data.js +64 -927
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +24 -16
- package/dist/chunks/heat-chart-model.js +177 -52
- package/dist/chunks/histogram-data.js +57 -49
- package/dist/chunks/histogram-model.js +19 -11
- package/dist/chunks/index.js +23765 -2184
- package/dist/chunks/index2.js +670 -36
- package/dist/chunks/index3.js +90 -63
- package/dist/chunks/index4.js +62 -91
- package/dist/chunks/interfaces.js +90 -16256
- package/dist/chunks/line-chart-model.js +17 -9
- package/dist/chunks/model-with-baseline-stacking.js +18 -28
- package/dist/chunks/model-with-data-labels.js +30 -21
- package/dist/chunks/model-with-multi-axes.js +145 -146
- package/dist/chunks/model-with-rotation.js +15 -6
- package/dist/chunks/pie-chart-data.js +144 -128
- package/dist/chunks/pie-chart-model.js +62 -53
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +15 -7
- 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 +44 -36
- package/dist/chunks/serial-chart-data.js +912 -0
- package/dist/chunks/serial-chart-model.js +52 -36
- package/dist/chunks/series-types.js +3 -2
- package/dist/chunks/series.js +18 -9
- 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 +208 -193
- package/dist/components/arcgis-chart/customElement.d.ts +529 -56
- package/dist/components/arcgis-chart/customElement.js +7969 -7806
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +2 -3
- package/dist/components/arcgis-charts-action-bar/customElement.js +57 -48
- package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axis/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-axis/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +45 -41
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +116 -109
- package/dist/components/arcgis-charts-config-bar-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +21 -14
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +27 -17
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +18 -9
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +34 -30
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +36 -23
- package/dist/components/arcgis-charts-config-box-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +52 -45
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +26 -23
- package/dist/components/arcgis-charts-config-color-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-colors/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +143 -148
- package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +21 -12
- package/dist/components/arcgis-charts-config-format/customElement.js +34 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-general/customElement.js +26 -17
- package/dist/components/arcgis-charts-config-guide/customElement.js +31 -32
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +17 -8
- package/dist/components/arcgis-charts-config-guides/customElement.js +32 -36
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +21 -12
- package/dist/components/arcgis-charts-config-histogram/customElement.js +37 -33
- package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +30 -21
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +16 -7
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +37 -33
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +68 -51
- package/dist/components/arcgis-charts-config-line-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +22 -13
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +36 -27
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +16 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +48 -44
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -36
- package/dist/components/arcgis-charts-config-pie-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +46 -37
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +31 -22
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +14 -5
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -29
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +60 -45
- package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +21 -12
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +23 -10
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +22 -13
- package/dist/docs/api.json +27 -288
- package/dist/docs/docs.json +111 -244
- package/dist/docs/vscode.html-custom-data.json +6 -35
- package/dist/docs/web-types.json +12 -64
- package/dist/index.js +426 -405
- package/dist/json-schema/index.d.ts +14 -3
- package/dist/loader.js +2 -2
- package/dist/model/chart-model/chart-model.d.ts +4 -9
- 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 +75 -10
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +63 -8
- 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 +4 -3
- 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 +5 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +4 -0
- package/dist/model/shared/data.d.ts +44 -2
- package/dist/model.js +1 -1
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +11 -0
- package/dist/spec/web-chart.d.ts +6 -4
- package/dist/store.d.ts +24 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.d.ts +27 -3
- package/dist/utils/chart-config/utils/index.d.ts +272 -1
- package/dist/utils/chart-config/validator/index.d.ts +10 -10
- package/dist/utils/components/config-update.d.ts +22 -25
- package/dist/utils/components/data-update.d.ts +36 -0
- package/dist/utils/components/watch-handlers.d.ts +12 -12
- package/dist/utils/components/web-component-utils.d.ts +8 -2
- package/dist/utils/data/index.d.ts +1 -1
- package/dist/utils/data/interfaces.d.ts +30 -2
- package/dist/utils/data/time-binning/interfaces.d.ts +0 -4
- package/dist/utils/defaults/index.d.ts +1 -1
- package/dist/utils/defaults/interfaces.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +46 -3
- package/dist/utils/layer/interfaces.d.ts +1 -0
- package/dist/utils/layer/query-features/index.d.ts +3 -3
- package/dist/utils/layer/query-parser/index.d.ts +8 -0
- package/dist/utils/layer/utils/index.d.ts +3 -3
- package/dist/utils/misc/index.d.ts +1 -8
- package/dist/utils/misc/interfaces.d.ts +1 -1
- package/dist/utils/ui/chart-ui-utils.d.ts +2 -1
- package/package.json +5 -5
- package/dist/cdn/2CQCJUK3.js +0 -4
- package/dist/cdn/2NTY7DVX.js +0 -4
- package/dist/cdn/2YMGZECH.js +0 -4
- package/dist/cdn/2YQYGHQO.js +0 -4
- package/dist/cdn/3RZX4TOQ.js +0 -6
- package/dist/cdn/3T5QJ3UH.js +0 -4
- package/dist/cdn/3YDBKBBR.js +0 -4
- package/dist/cdn/4T53OXS6.js +0 -4
- package/dist/cdn/52ZJWBJT.js +0 -4
- package/dist/cdn/573TNYY5.js +0 -4
- package/dist/cdn/5AALQ6RZ.js +0 -4
- package/dist/cdn/5KMNAURG.js +0 -4
- package/dist/cdn/5VTYZVJH.js +0 -4
- package/dist/cdn/62ZVQ3ZH.js +0 -4
- package/dist/cdn/6CQPTE3E.js +0 -4
- package/dist/cdn/6HWUT7L4.js +0 -4
- package/dist/cdn/6NZ5234Z.js +0 -4
- package/dist/cdn/6OJCTSQD.js +0 -4
- package/dist/cdn/6SVM5HRB.js +0 -4
- package/dist/cdn/7DM5FB6A.js +0 -4
- package/dist/cdn/7XU3S5AU.js +0 -42
- package/dist/cdn/AD3SQBUO.js +0 -4
- package/dist/cdn/AIGJFWPO.js +0 -4
- package/dist/cdn/BR5RSKQJ.js +0 -4
- package/dist/cdn/BRYCQYEF.js +0 -4
- package/dist/cdn/BUZQFX4X.js +0 -4
- package/dist/cdn/CB7O2PE3.js +0 -4
- package/dist/cdn/CFJM4T24.js +0 -4
- package/dist/cdn/DCPP2A6R.js +0 -4
- package/dist/cdn/DCYBICHJ.css +0 -1
- package/dist/cdn/DI74HOSV.js +0 -4
- package/dist/cdn/DIQKH37P.js +0 -4
- package/dist/cdn/DRJ4SKBY.js +0 -4
- package/dist/cdn/DW3KTB7W.js +0 -4
- package/dist/cdn/EHWOH3AS.js +0 -4
- package/dist/cdn/EQIVGIV5.js +0 -4
- package/dist/cdn/ETWCEC6I.js +0 -4
- package/dist/cdn/EV7NZIDI.js +0 -4
- package/dist/cdn/G34MOD6Z.js +0 -4
- package/dist/cdn/GCWYVEAM.js +0 -4
- package/dist/cdn/H7YSSKNX.js +0 -4
- package/dist/cdn/HO66RCKA.js +0 -58
- package/dist/cdn/HTCGNGWS.js +0 -4
- package/dist/cdn/I4W5SN2C.js +0 -4
- package/dist/cdn/IDYONL6G.js +0 -4
- package/dist/cdn/IMF6T5KA.js +0 -4
- package/dist/cdn/IXZG7BYH.js +0 -4
- package/dist/cdn/IYCGVT6M.js +0 -4
- package/dist/cdn/JBINPRLV.js +0 -4
- package/dist/cdn/JFBDHWTH.js +0 -4
- package/dist/cdn/KREPFU54.js +0 -4
- package/dist/cdn/KSO4FH7T.js +0 -4
- package/dist/cdn/KV7MQRID.js +0 -4
- package/dist/cdn/KVQGRGTX.js +0 -4
- package/dist/cdn/KZ2PASIL.js +0 -4
- package/dist/cdn/L7XBIHO4.js +0 -4
- package/dist/cdn/LHKTIOAS.js +0 -4
- package/dist/cdn/LKQSJH6O.js +0 -4
- package/dist/cdn/LO3BV66U.js +0 -4
- package/dist/cdn/LU4QMMFH.js +0 -4
- package/dist/cdn/MFCXPRPK.js +0 -4
- package/dist/cdn/MG2HFVH3.js +0 -4
- package/dist/cdn/MJMLISNQ.js +0 -4
- package/dist/cdn/NFFCP5DA.js +0 -4
- package/dist/cdn/NFFRB4BR.js +0 -4
- package/dist/cdn/NG4OYKF4.js +0 -4
- package/dist/cdn/NGDMHV44.js +0 -4
- package/dist/cdn/NMZIP2MC.js +0 -4
- package/dist/cdn/OI5MJGAM.js +0 -4
- package/dist/cdn/OIQ4EV4L.js +0 -4
- package/dist/cdn/OMKUZSPX.js +0 -4
- package/dist/cdn/P2L45OHX.js +0 -4
- package/dist/cdn/PUVURJEA.js +0 -4
- package/dist/cdn/PYJJGJD5.js +0 -4
- package/dist/cdn/Q2IJF3UD.js +0 -4
- package/dist/cdn/QGB6IYXA.js +0 -4
- package/dist/cdn/QUP7LRZB.js +0 -4
- package/dist/cdn/QVM2XZGE.js +0 -4
- package/dist/cdn/RKVGZGMT.js +0 -4
- package/dist/cdn/RYGSUHPL.js +0 -4
- package/dist/cdn/S26GJIZW.js +0 -4
- package/dist/cdn/S57HESNZ.js +0 -4
- package/dist/cdn/SUSSWOBP.js +0 -4
- package/dist/cdn/T3HLSENK.js +0 -4
- package/dist/cdn/T4OLCB57.js +0 -4
- package/dist/cdn/TC4K2IBN.js +0 -4
- package/dist/cdn/TEKM44UI.js +0 -4
- package/dist/cdn/THFW5BGS.js +0 -4
- package/dist/cdn/TP24LJTV.js +0 -4
- package/dist/cdn/TQ6TYM53.js +0 -4
- package/dist/cdn/TUSAPA3B.js +0 -4
- package/dist/cdn/TZOUXYMP.js +0 -4
- package/dist/cdn/UP5YHRAT.js +0 -4
- package/dist/cdn/USDDCXSD.js +0 -4
- package/dist/cdn/VANVPL7B.js +0 -4
- package/dist/cdn/VE7L4QD3.js +0 -4
- package/dist/cdn/VUG3AMJW.js +0 -4
- package/dist/cdn/VZHZP3WS.js +0 -4
- package/dist/cdn/VZOYYSMT.js +0 -4
- package/dist/cdn/W3PPNJUI.js +0 -4
- package/dist/cdn/W5D44LNY.js +0 -4
- package/dist/cdn/WB3AED73.js +0 -4
- package/dist/cdn/WFODK6LM.js +0 -4
- package/dist/cdn/XATS2GRO.js +0 -4
- package/dist/cdn/XIBVZCXM.js +0 -4
- package/dist/cdn/XLRLWYNY.js +0 -4
- package/dist/cdn/XQ7LOQ6A.js +0 -4
- package/dist/cdn/XTYW4JSU.js +0 -4
- package/dist/cdn/Y54PXKNX.js +0 -4
- package/dist/cdn/YRXQVP63.js +0 -4
- package/dist/cdn/ZIRCERSI.js +0 -4
- package/dist/cdn/ZM7CB4BA.js +0 -4
- package/dist/cdn/stdin.css +0 -1
- package/dist/chart-rendering/common/data/utils/misc/interfaces.d.ts +0 -30
- package/dist/chunks/index5.js +0 -66
- package/dist/chunks/interfaces2.js +0 -18
- package/dist/chunks/interfaces3.js +0 -96
- package/dist/chunks/interfaces4.js +0 -491
- package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -15
- package/dist/test/utils/test-utils/utils.d.ts +0 -13
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { W as
|
|
1
|
+
import { W as o } 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 { aJ as c, b1 as O, aF as h, ar as C, p as m, d6 as n, U as A, ba as I, b3 as V } from "./index.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";
|
|
@@ -12,24 +12,32 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
12
12
|
import "@arcgis/core/request.js";
|
|
13
13
|
import "./runtime.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import { C as
|
|
15
|
+
import { C as w } from "./model-with-multi-axes.js";
|
|
16
16
|
import { b as a, a as l } from "./common.js";
|
|
17
|
-
import { M as _, a as
|
|
17
|
+
import { M as _, a as x, b as U, c as N } from "./model-with-data-labels.js";
|
|
18
18
|
import "@arcgis/core/intl.js";
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
19
|
+
import { d as b, i as M, h as k } from "./serial-chart-data.js";
|
|
20
|
+
import "@arcgis/core/Graphic.js";
|
|
21
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
22
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
23
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
24
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
25
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
26
|
+
import "simple-statistics";
|
|
27
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
28
|
+
import { g as u, s as G, a as W, c as z, b as B, d as R, e as E, f as K, h as p, i as f, j } from "./pie-chart-data.js";
|
|
21
29
|
import { R as g } from "./rest-js-object-literals.js";
|
|
22
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
24
|
-
v5.0.0-next.
|
|
25
|
-
const
|
|
26
|
-
e.series[0]?.type ===
|
|
27
|
-
},
|
|
28
|
-
e.series[0]?.type ===
|
|
32
|
+
v5.0.0-next.51 */
|
|
33
|
+
const J = (t) => t.legend?.displayNumericValue ?? !1, q = (t, e) => {
|
|
34
|
+
e.series[0]?.type === o.PieSeries && (e.legend === void 0 && (e.legend = c()), e.legend.displayNumericValue = t);
|
|
35
|
+
}, H = (t) => t.legend?.displayPercentage ?? !1, Q = (t, e) => {
|
|
36
|
+
e.series[0]?.type === o.PieSeries && (e.legend === void 0 && (e.legend = c()), e.legend.displayPercentage = t);
|
|
29
37
|
}, X = (t) => t.legend?.labelMaxWidth ?? 200, Y = (t, e) => {
|
|
30
|
-
e.series[0]?.type ===
|
|
38
|
+
e.series[0]?.type === o.PieSeries && (e.legend === void 0 && (e.legend = c()), e.legend.labelMaxWidth = t);
|
|
31
39
|
};
|
|
32
|
-
class
|
|
40
|
+
class v extends _ {
|
|
33
41
|
/**
|
|
34
42
|
* Gets the setting for the display of numerical value in the legend items.
|
|
35
43
|
* @returns {boolean}
|
|
@@ -37,7 +45,7 @@ class b extends _ {
|
|
|
37
45
|
* This setting is only applicable to pie charts.
|
|
38
46
|
*/
|
|
39
47
|
getDisplayNumericValue() {
|
|
40
|
-
return
|
|
48
|
+
return J(this._config);
|
|
41
49
|
}
|
|
42
50
|
/**
|
|
43
51
|
* Sets the setting for the display of numerical value in the legend items.
|
|
@@ -46,7 +54,7 @@ class b extends _ {
|
|
|
46
54
|
* This setting is only applicable to pie charts.
|
|
47
55
|
*/
|
|
48
56
|
setDisplayNumericValue(e) {
|
|
49
|
-
|
|
57
|
+
q(e, this._config), this.emitConfigUpdate("setDisplayNumericValue");
|
|
50
58
|
}
|
|
51
59
|
/**
|
|
52
60
|
* Gets the setting for the display of percentage in the legend items.
|
|
@@ -55,7 +63,7 @@ class b extends _ {
|
|
|
55
63
|
* This setting is only applicable to pie charts.
|
|
56
64
|
*/
|
|
57
65
|
getDisplayPercentage() {
|
|
58
|
-
return
|
|
66
|
+
return H(this._config);
|
|
59
67
|
}
|
|
60
68
|
/**
|
|
61
69
|
* Sets the setting for the display of percentage in the legend items.
|
|
@@ -85,7 +93,7 @@ class b extends _ {
|
|
|
85
93
|
Y(e, this._config), this.emitConfigUpdate("setLabelMaxWidth");
|
|
86
94
|
}
|
|
87
95
|
}
|
|
88
|
-
v
|
|
96
|
+
b(v, [_]);
|
|
89
97
|
const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
90
98
|
e.series?.[0] && (e.series[0].innerRadius = t);
|
|
91
99
|
}, ee = (t) => t.series?.[0]?.dataLabelsCharacterLimit, te = (t, e) => {
|
|
@@ -94,7 +102,7 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
94
102
|
e.series?.[0] && (e.series[0].startAngle = t);
|
|
95
103
|
}, se = (t, e) => {
|
|
96
104
|
e.series?.[0] && (e.series[0].endAngle = t);
|
|
97
|
-
}, re = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, ae = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0,
|
|
105
|
+
}, re = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, ae = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, oe = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, ne = (t, e) => {
|
|
98
106
|
e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
|
|
99
107
|
}, le = (t) => t.series?.[0]?.valuePrefix, ge = (t, e) => {
|
|
100
108
|
e.series?.[0] && (e.series[0].valuePrefix = t);
|
|
@@ -102,9 +110,9 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
102
110
|
e.series?.[0] && (e.series[0].valueSuffix = t);
|
|
103
111
|
}, he = (t) => t.series?.[0]?.percentagePrefix, me = (t, e) => {
|
|
104
112
|
e.series?.[0] && (e.series[0].percentagePrefix = t);
|
|
105
|
-
}, ue = (t) => t.series?.[0]?.percentageSuffix,
|
|
113
|
+
}, ue = (t) => t.series?.[0]?.percentageSuffix, pe = (t, e) => {
|
|
106
114
|
e.series?.[0] && (e.series[0].percentageSuffix = t);
|
|
107
|
-
},
|
|
115
|
+
}, fe = (t) => {
|
|
108
116
|
let e;
|
|
109
117
|
const i = t.series?.[0];
|
|
110
118
|
return i?.displayNumericValueOnDataLabel === !0 && i?.displayPercentageOnDataLabel === !0 ? e = a.Both : i?.displayNumericValueOnDataLabel === !0 ? e = a.Value : e = a.Percentage, e;
|
|
@@ -119,7 +127,7 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
119
127
|
e.series[0] && (e.series[0].alignDataLabels = t);
|
|
120
128
|
}, Ce = (t) => t.series?.[0]?.dataLabelsInside ?? !1, _e = (t, e) => {
|
|
121
129
|
e.series[0] && (e.series[0].dataLabelsInside = t);
|
|
122
|
-
},
|
|
130
|
+
}, be = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, ve = (t, e) => {
|
|
123
131
|
e.series[0] && (e.series[0].dataLabelsOffset = t);
|
|
124
132
|
}, Le = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Fe = (t, e) => {
|
|
125
133
|
e.series?.[0] && (e.series[0].numericValueFormat ??= h(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= h(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
|
|
@@ -129,7 +137,7 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
129
137
|
e.series?.[0] && (e.series[0].ticks ??= O(), e.series[0].ticks.visible = t);
|
|
130
138
|
}, Ie = (t) => t.series[0]?.ticks?.lineSymbol, Ve = (t, e) => {
|
|
131
139
|
t && e.series?.[0] && (e.series[0].ticks ??= O(), e.series[0].ticks.lineSymbol = P(t));
|
|
132
|
-
},
|
|
140
|
+
}, we = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, xe = (t, e) => e.series?.[0]?.slices?.[t]?.label, Ue = (t, e, i) => {
|
|
133
141
|
i.series?.[0]?.slices?.[e] && (i.series[0].slices[e].label = t);
|
|
134
142
|
}, Ne = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, Me = (t, e, i) => {
|
|
135
143
|
const s = i.series?.[0]?.slices?.[e]?.fillSymbol;
|
|
@@ -144,12 +152,12 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
144
152
|
);
|
|
145
153
|
}, Ge = (t) => t.series?.[0]?.sliceGrouping, L = (t, e) => {
|
|
146
154
|
e.series?.[0] && (e.series[0].sliceGrouping = t);
|
|
147
|
-
}, F = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold,
|
|
155
|
+
}, F = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, We = (t, e) => {
|
|
148
156
|
e.series?.[0]?.sliceGrouping !== void 0 ? e.series[0].sliceGrouping.percentageThreshold = t : e.series[0].sliceGrouping = {
|
|
149
157
|
sliceId: C.defaultGroupOfSlicesId,
|
|
150
158
|
percentageThreshold: t
|
|
151
159
|
};
|
|
152
|
-
},
|
|
160
|
+
}, ze = (t) => t.series?.[0]?.slices, D = (t, e) => {
|
|
153
161
|
e.series?.[0] && (e.series[0].slices = t);
|
|
154
162
|
}, Be = (t) => {
|
|
155
163
|
D(void 0, t), L(
|
|
@@ -159,17 +167,17 @@ const Z = (t) => t.series?.[0]?.innerRadius, $ = (t, e) => {
|
|
|
159
167
|
},
|
|
160
168
|
t
|
|
161
169
|
);
|
|
162
|
-
}, Re = (t, e) => e.series[0]?.slices?.[t]?.sliceId, Ee = (t, e) => e.series[0]?.slices?.findIndex((i) => i.sliceId === t),
|
|
163
|
-
class
|
|
170
|
+
}, Re = (t, e) => e.series[0]?.slices?.[t]?.sliceId, Ee = (t, e) => e.series[0]?.slices?.findIndex((i) => i.sliceId === t), Ke = (t) => t.series[0]?.slices?.length ?? 0;
|
|
171
|
+
class je extends w {
|
|
164
172
|
constructor() {
|
|
165
|
-
super(...arguments), this._chartType =
|
|
173
|
+
super(...arguments), this._chartType = o.PieSeries, this._mode = l.Category, this._groupedSliceIds = [];
|
|
166
174
|
}
|
|
167
175
|
async setup(e) {
|
|
168
176
|
await this.loadConfigFromLayer(e);
|
|
169
177
|
const { config: i } = e;
|
|
170
178
|
if (i !== void 0) {
|
|
171
179
|
const s = m(i.series);
|
|
172
|
-
this._mode = s !==
|
|
180
|
+
this._mode = s !== n.PieFromFields ? l.Category : l.Fields;
|
|
173
181
|
}
|
|
174
182
|
typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
175
183
|
}
|
|
@@ -197,11 +205,11 @@ class Ke extends x {
|
|
|
197
205
|
* Numeric fields for the pie chart.
|
|
198
206
|
*/
|
|
199
207
|
get numericFields() {
|
|
200
|
-
return
|
|
208
|
+
return W(this._config);
|
|
201
209
|
}
|
|
202
210
|
set numericFields(e) {
|
|
203
211
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
204
|
-
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? M(this.layerInfo.layerFieldsInfo, e) : !0) ? (
|
|
212
|
+
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? M(this.layerInfo.layerFieldsInfo, e) : !0) ? (z({
|
|
205
213
|
newNumericFields: e,
|
|
206
214
|
config: this._config,
|
|
207
215
|
layerInfo: this.layerInfo,
|
|
@@ -237,22 +245,24 @@ class Ke extends x {
|
|
|
237
245
|
/**
|
|
238
246
|
* Sets the sort order for the pie chart.
|
|
239
247
|
* @param {PieChartDataSortingKinds} sortOrder The sort order.
|
|
248
|
+
* @param {string[]} orderByList The list of category values.
|
|
240
249
|
*/
|
|
241
250
|
setSortOrder(e, i) {
|
|
242
|
-
|
|
251
|
+
K({
|
|
243
252
|
newSortOrderKind: e,
|
|
244
253
|
config: this._config,
|
|
245
254
|
orderByList: i
|
|
246
255
|
}), this.emitConfigUpdate("setSortOrder");
|
|
247
256
|
}
|
|
248
|
-
|
|
257
|
+
/**
|
|
258
|
+
* List of category's values for custom sort
|
|
249
259
|
*/
|
|
250
260
|
get orderByList() {
|
|
251
|
-
return
|
|
261
|
+
return p(this._config, this._mode);
|
|
252
262
|
}
|
|
253
263
|
set orderByList(e) {
|
|
254
264
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
255
|
-
|
|
265
|
+
f({
|
|
256
266
|
values: e,
|
|
257
267
|
config: this._config,
|
|
258
268
|
mode: this._mode
|
|
@@ -261,9 +271,7 @@ class Ke extends x {
|
|
|
261
271
|
}
|
|
262
272
|
/**
|
|
263
273
|
* The pie chart data mode (Category or Fields).
|
|
264
|
-
*
|
|
265
274
|
* `category` - The chart is using values from the category field to determine each slice.
|
|
266
|
-
*
|
|
267
275
|
* `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
|
|
268
276
|
*/
|
|
269
277
|
get mode() {
|
|
@@ -279,7 +287,7 @@ class Ke extends x {
|
|
|
279
287
|
async getCustomSortValues() {
|
|
280
288
|
const e = u(this._config), i = m(this._config.series);
|
|
281
289
|
let s = [];
|
|
282
|
-
return i ===
|
|
290
|
+
return i === n.PieFromFields ? s = this.numericFields : e.trim() !== "" && i === n.PieFromCategory && (s = await k({
|
|
283
291
|
category: e,
|
|
284
292
|
config: this._config,
|
|
285
293
|
layerInfo: this.layerInfo
|
|
@@ -293,8 +301,8 @@ class Ke extends x {
|
|
|
293
301
|
*/
|
|
294
302
|
moveCustomSortValuesInOrderByList(e, i) {
|
|
295
303
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
296
|
-
const s =
|
|
297
|
-
s.splice(i, 0, r),
|
|
304
|
+
const s = p(this._config, this._mode), [r] = s.splice(e, 1);
|
|
305
|
+
s.splice(i, 0, r), f({
|
|
298
306
|
values: s,
|
|
299
307
|
config: this._config,
|
|
300
308
|
mode: this._mode
|
|
@@ -322,7 +330,7 @@ class Ke extends x {
|
|
|
322
330
|
* Array of slices for the pie chart.
|
|
323
331
|
*/
|
|
324
332
|
get slices() {
|
|
325
|
-
return
|
|
333
|
+
return ze(this._config);
|
|
326
334
|
}
|
|
327
335
|
set slices(e) {
|
|
328
336
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -368,7 +376,7 @@ class Ke extends x {
|
|
|
368
376
|
}
|
|
369
377
|
set groupingThreshold(e) {
|
|
370
378
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
371
|
-
|
|
379
|
+
We(e, this._config), this.emitConfigUpdate("groupingThreshold");
|
|
372
380
|
});
|
|
373
381
|
}
|
|
374
382
|
/**
|
|
@@ -397,7 +405,7 @@ class Ke extends x {
|
|
|
397
405
|
* Display type for the pie chart slices. Specifies whether to display the slices as a percentage, value, or both.
|
|
398
406
|
*/
|
|
399
407
|
get displayType() {
|
|
400
|
-
return
|
|
408
|
+
return fe(this._config);
|
|
401
409
|
}
|
|
402
410
|
set displayType(e) {
|
|
403
411
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -416,10 +424,11 @@ class Ke extends x {
|
|
|
416
424
|
// ---------------------------------------------------------------------------------------------
|
|
417
425
|
/**
|
|
418
426
|
* Gets the original name of the slice based on the slice index.
|
|
427
|
+
* @param {number} sliceIndex - The index of the slice.
|
|
419
428
|
* @returns {Date | number | string | null | undefined}
|
|
420
429
|
*/
|
|
421
430
|
getOriginalSliceName(e) {
|
|
422
|
-
return
|
|
431
|
+
return we(e, this._config);
|
|
423
432
|
}
|
|
424
433
|
/**
|
|
425
434
|
* Gets the name of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
@@ -427,7 +436,7 @@ class Ke extends x {
|
|
|
427
436
|
* @returns {string | undefined}
|
|
428
437
|
*/
|
|
429
438
|
getSliceName(e) {
|
|
430
|
-
return
|
|
439
|
+
return xe(e, this._config);
|
|
431
440
|
}
|
|
432
441
|
/**
|
|
433
442
|
* Sets name of the slice based on the slice index.
|
|
@@ -503,7 +512,7 @@ class Ke extends x {
|
|
|
503
512
|
* @returns {number}
|
|
504
513
|
*/
|
|
505
514
|
getSlicesLength() {
|
|
506
|
-
return
|
|
515
|
+
return Ke(this._config);
|
|
507
516
|
}
|
|
508
517
|
/**
|
|
509
518
|
* Resets the slices styling to the default styling.
|
|
@@ -592,11 +601,11 @@ class Ke extends x {
|
|
|
592
601
|
* @remarks If the setting is not found in the config, it will default to `true`.
|
|
593
602
|
*/
|
|
594
603
|
get displayPercentageOnTooltip() {
|
|
595
|
-
return
|
|
604
|
+
return oe(this._config);
|
|
596
605
|
}
|
|
597
606
|
set displayPercentageOnTooltip(e) {
|
|
598
607
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
599
|
-
|
|
608
|
+
ne(e, this._config), this.emitConfigUpdate("displayPercentageOnTooltip");
|
|
600
609
|
});
|
|
601
610
|
}
|
|
602
611
|
/**
|
|
@@ -640,18 +649,18 @@ class Ke extends x {
|
|
|
640
649
|
}
|
|
641
650
|
set percentageSuffix(e) {
|
|
642
651
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
643
|
-
|
|
652
|
+
pe(e, this._config), this.emitConfigUpdate("percentageSuffix");
|
|
644
653
|
});
|
|
645
654
|
}
|
|
646
655
|
/**
|
|
647
656
|
* Offset for the data labels.
|
|
648
657
|
*/
|
|
649
658
|
get dataLabelsOffset() {
|
|
650
|
-
return
|
|
659
|
+
return be(this._config);
|
|
651
660
|
}
|
|
652
661
|
set dataLabelsOffset(e) {
|
|
653
662
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
654
|
-
|
|
663
|
+
ve(e, this._config), this.emitConfigUpdate("dataLabelsOffset");
|
|
655
664
|
});
|
|
656
665
|
}
|
|
657
666
|
/**
|
|
@@ -696,7 +705,7 @@ class Ke extends x {
|
|
|
696
705
|
* @returns {string}
|
|
697
706
|
*/
|
|
698
707
|
generateChartTitle() {
|
|
699
|
-
return
|
|
708
|
+
return j({
|
|
700
709
|
config: this._config,
|
|
701
710
|
layerInfo: this.layerInfo,
|
|
702
711
|
commonStrings: this.commonStrings,
|
|
@@ -704,7 +713,7 @@ class Ke extends x {
|
|
|
704
713
|
});
|
|
705
714
|
}
|
|
706
715
|
}
|
|
707
|
-
|
|
716
|
+
b(je, [v, x, U, N]);
|
|
708
717
|
export {
|
|
709
|
-
|
|
718
|
+
je as PieChartModel
|
|
710
719
|
};
|
|
@@ -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.51 */
|
|
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,25 +2,33 @@ 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 { b9 as n, aZ as r, av as m, al as h } from "./index.js";
|
|
6
|
+
import "@arcgis/core/Graphic.js";
|
|
7
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
9
|
+
import "@arcgis/core/intl.js";
|
|
10
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
11
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
12
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
13
|
+
import "simple-statistics";
|
|
14
|
+
import "@arcgis/core/request.js";
|
|
15
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
6
16
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
17
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
18
|
import "@arcgis/core/rest/support/Query.js";
|
|
9
19
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
10
20
|
import "@arcgis/core/time/TimeExtent.js";
|
|
11
21
|
import "@arcgis/core/core/promiseUtils.js";
|
|
12
|
-
import "@arcgis/core/request.js";
|
|
13
22
|
import "./runtime.js";
|
|
14
23
|
import "@arcgis/toolkit/dom";
|
|
15
24
|
import { S as f, s as S, a as d } from "./serial-chart-model.js";
|
|
16
|
-
import "@arcgis/core/intl.js";
|
|
17
25
|
import "./model-with-multi-axes.js";
|
|
18
26
|
import { M as c, a as g } from "./model-with-baseline-stacking.js";
|
|
19
|
-
import { s as y, a as
|
|
20
|
-
import {
|
|
27
|
+
import { s as y, a as p, b as u, c as b, d as I } from "./baseline-stacking.js";
|
|
28
|
+
import { c as o, d as k } from "./serial-chart-data.js";
|
|
21
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
23
|
-
v5.0.0-next.
|
|
31
|
+
v5.0.0-next.51 */
|
|
24
32
|
class M extends f {
|
|
25
33
|
constructor() {
|
|
26
34
|
super(...arguments), this._chartType = l.RadarSeries;
|
|
@@ -69,7 +77,7 @@ class M extends f {
|
|
|
69
77
|
});
|
|
70
78
|
s !== this.layerInfo.objectIdField && d(s ?? i, e, this._config);
|
|
71
79
|
}
|
|
72
|
-
|
|
80
|
+
p(this.defaultSeries?.lineSymbol?.style, e, this._config), u(this.defaultSeries?.lineSymbol?.width, e, this._config), b(this.defaultSeries?.markerSymbol?.style, e, this._config), I(this.defaultSeries?.markerSymbol?.size, e, this._config);
|
|
73
81
|
}
|
|
74
82
|
this._config.colorMatch = !0, this.emitConfigUpdate("resetSeriesStyling");
|
|
75
83
|
});
|
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.51 */
|
|
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.51 */
|
|
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,53 +2,61 @@ 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 { aR as w, aS as d, cP as l, U as h, bE as P, bc as U } from "./index.js";
|
|
6
|
+
import "@arcgis/core/Graphic.js";
|
|
7
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
9
|
+
import { substitute as X } from "@arcgis/core/intl.js";
|
|
10
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
11
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
12
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
13
|
+
import "simple-statistics";
|
|
14
|
+
import "@arcgis/core/request.js";
|
|
15
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
6
16
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
17
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
18
|
import "@arcgis/core/rest/support/Query.js";
|
|
9
19
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
10
20
|
import "@arcgis/core/time/TimeExtent.js";
|
|
11
21
|
import "@arcgis/core/core/promiseUtils.js";
|
|
12
|
-
import "@arcgis/core/request.js";
|
|
13
22
|
import "./runtime.js";
|
|
14
23
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import { g as
|
|
16
|
-
import {
|
|
17
|
-
import { C as z, M as D, b as E, a as V } from "./model-with-multi-axes.js";
|
|
24
|
+
import { g as Y, a as A, s as m, u as g, l as W, d as k } from "./serial-chart-data.js";
|
|
25
|
+
import { C as z, M as E, b as D, a as V } from "./model-with-multi-axes.js";
|
|
18
26
|
import { M as B, a as G, b as N, c as q } from "./model-with-data-labels.js";
|
|
19
27
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
28
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
21
|
-
v5.0.0-next.
|
|
29
|
+
v5.0.0-next.51 */
|
|
22
30
|
const v = (t) => {
|
|
23
|
-
|
|
31
|
+
m({ config: t, value: null, axisIndex: 0, isMax: !1 }), m({ config: t, value: null, axisIndex: 0, isMax: !0 }), m({ config: t, value: null, axisIndex: 1, isMax: !1 }), m({ config: t, value: null, axisIndex: 1, isMax: !0 });
|
|
24
32
|
}, S = (t) => {
|
|
25
|
-
const { name: e, axisIndex: i, config: s, layerInfo: r } = t, { layerFieldsInfo: o } = r, n = o.find((
|
|
26
|
-
|
|
33
|
+
const { name: e, axisIndex: i, config: s, layerInfo: r } = t, { layerFieldsInfo: o } = r, n = o.find((u) => u.name === e), a = n !== void 0 && P(n);
|
|
34
|
+
W(s, i, a);
|
|
27
35
|
};
|
|
28
36
|
function F(t, e, i) {
|
|
29
|
-
const s =
|
|
37
|
+
const s = x(t, e, i), r = Y(t), o = h(t);
|
|
30
38
|
return s === r || o;
|
|
31
39
|
}
|
|
32
40
|
function C(t, e) {
|
|
33
|
-
const { layerFieldsInfo: i } = e, s = l(i,
|
|
41
|
+
const { layerFieldsInfo: i } = e, s = l(i, p(t)), r = A(1, t), o = h(t);
|
|
34
42
|
return s === r || o;
|
|
35
43
|
}
|
|
36
44
|
function L(t, e) {
|
|
37
|
-
const { layerFieldsInfo: i } = e, s =
|
|
45
|
+
const { layerFieldsInfo: i } = e, s = y(t), r = l(i, s), o = A(0, t), n = h(t);
|
|
38
46
|
return r === o || n;
|
|
39
47
|
}
|
|
40
|
-
function
|
|
41
|
-
const s =
|
|
42
|
-
return
|
|
48
|
+
function x(t, e, i) {
|
|
49
|
+
const s = y(t), r = p(t), { layerFieldsInfo: o } = e, n = l(o, s), a = l(o, r);
|
|
50
|
+
return X(i.titleLabels.xAndY, { x: n, y: a });
|
|
43
51
|
}
|
|
44
52
|
const I = (t) => {
|
|
45
|
-
const { x: e, y: i, config: s, layerInfo: r, updateChartTitle: o, updateXAxisTitle: n, updateYAxisTitle: a, commonStrings:
|
|
46
|
-
!c(e) && n && g(s, 0, b), !c(i) && a && g(s, 1, M), !c(e) && !c(i) && s.title && o && (s.title.content.text =
|
|
47
|
-
},
|
|
53
|
+
const { x: e, y: i, config: s, layerInfo: r, updateChartTitle: o, updateXAxisTitle: n, updateYAxisTitle: a, commonStrings: u } = t, { layerFieldsInfo: f } = r, b = l(f, e), M = l(f, i);
|
|
54
|
+
!c(e) && n && g(s, 0, b), !c(i) && a && g(s, 1, M), !c(e) && !c(i) && s.title && o && (s.title.content.text = x(s, r, u));
|
|
55
|
+
}, y = (t) => t.series[0]?.x ?? "", p = (t) => t.series[0]?.y ?? "", R = (t) => {
|
|
48
56
|
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = F(i, s, r), n = L(i, s), a = C(i, s);
|
|
49
57
|
v(i), i.series[0] && (i.series[0].x = e), I({
|
|
50
58
|
x: e,
|
|
51
|
-
y:
|
|
59
|
+
y: p(i),
|
|
52
60
|
config: i,
|
|
53
61
|
layerInfo: s,
|
|
54
62
|
updateChartTitle: o,
|
|
@@ -61,10 +69,10 @@ const I = (t) => {
|
|
|
61
69
|
config: i,
|
|
62
70
|
layerInfo: s
|
|
63
71
|
});
|
|
64
|
-
},
|
|
72
|
+
}, j = (t) => {
|
|
65
73
|
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = F(i, s, r), n = L(i, s), a = C(i, s);
|
|
66
74
|
v(i), i.series[0] && (i.series[0].y = e), I({
|
|
67
|
-
x:
|
|
75
|
+
x: y(i),
|
|
68
76
|
y: e,
|
|
69
77
|
config: i,
|
|
70
78
|
layerInfo: s,
|
|
@@ -78,12 +86,12 @@ const I = (t) => {
|
|
|
78
86
|
config: i,
|
|
79
87
|
layerInfo: s
|
|
80
88
|
});
|
|
81
|
-
},
|
|
89
|
+
}, H = (t) => {
|
|
82
90
|
const e = {};
|
|
83
91
|
return t.series[0]?.markerSymbol ?? e;
|
|
84
|
-
},
|
|
92
|
+
}, J = (t, e) => {
|
|
85
93
|
e.series[0] && (e.series[0].markerSymbol = t);
|
|
86
|
-
},
|
|
94
|
+
}, K = (t) => (t.series[0]?.overlays?.trendLine?.visible ?? !0) && (t.series[0]?.overlays?.trendLine?.created ?? !1), Q = (t) => {
|
|
87
95
|
const e = {};
|
|
88
96
|
return t.series[0]?.overlays?.trendLine?.symbol ?? e;
|
|
89
97
|
}, Z = (t, e) => {
|
|
@@ -115,29 +123,29 @@ class ne extends z {
|
|
|
115
123
|
* X-axis field.
|
|
116
124
|
*/
|
|
117
125
|
get xAxisField() {
|
|
118
|
-
return
|
|
126
|
+
return y(this._config);
|
|
119
127
|
}
|
|
120
128
|
set xAxisField(e) {
|
|
121
129
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
122
|
-
|
|
130
|
+
R({ fieldName: e, config: this._config, layerInfo: this.layerInfo, commonStrings: this.commonStrings }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("xAxisField");
|
|
123
131
|
});
|
|
124
132
|
}
|
|
125
133
|
/**
|
|
126
134
|
* Y-axis field.
|
|
127
135
|
*/
|
|
128
136
|
get yAxisField() {
|
|
129
|
-
return
|
|
137
|
+
return p(this._config);
|
|
130
138
|
}
|
|
131
139
|
set yAxisField(e) {
|
|
132
140
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
133
|
-
|
|
141
|
+
j({ fieldName: e, config: this._config, layerInfo: this.layerInfo, commonStrings: this.commonStrings }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("yAxisField");
|
|
134
142
|
});
|
|
135
143
|
}
|
|
136
144
|
/**
|
|
137
145
|
* Whether the linear trend line is shown.
|
|
138
146
|
*/
|
|
139
147
|
get showLinearTrend() {
|
|
140
|
-
return
|
|
148
|
+
return K(this._config);
|
|
141
149
|
}
|
|
142
150
|
set showLinearTrend(e) {
|
|
143
151
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -148,7 +156,7 @@ class ne extends z {
|
|
|
148
156
|
* Line symbol for the linear trend line.
|
|
149
157
|
*/
|
|
150
158
|
get linearTrendSymbol() {
|
|
151
|
-
return
|
|
159
|
+
return Q(this._config);
|
|
152
160
|
}
|
|
153
161
|
set linearTrendSymbol(e) {
|
|
154
162
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -159,11 +167,11 @@ class ne extends z {
|
|
|
159
167
|
* Marker symbol used for the scatterplot points when using a fixed symbol (i.e. no size policy is set).
|
|
160
168
|
*/
|
|
161
169
|
get fixedMarkerSymbol() {
|
|
162
|
-
return
|
|
170
|
+
return H(this._config);
|
|
163
171
|
}
|
|
164
172
|
set fixedMarkerSymbol(e) {
|
|
165
173
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
166
|
-
|
|
174
|
+
J(e, this._config), this.emitConfigUpdate("fixedMarkerSymbol");
|
|
167
175
|
});
|
|
168
176
|
}
|
|
169
177
|
/**
|
|
@@ -211,7 +219,7 @@ class ne extends z {
|
|
|
211
219
|
* @returns {string}
|
|
212
220
|
*/
|
|
213
221
|
generateChartTitle() {
|
|
214
|
-
return
|
|
222
|
+
return x(this._config, this.layerInfo, this.commonStrings);
|
|
215
223
|
}
|
|
216
224
|
/**
|
|
217
225
|
* Generate the proper x-axis title given the current config.
|
|
@@ -238,13 +246,13 @@ class ne extends z {
|
|
|
238
246
|
return U(this.commonStrings);
|
|
239
247
|
}
|
|
240
248
|
}
|
|
241
|
-
|
|
242
|
-
|
|
249
|
+
k(ne, [
|
|
250
|
+
E,
|
|
243
251
|
B,
|
|
244
252
|
G,
|
|
245
253
|
N,
|
|
246
254
|
q,
|
|
247
|
-
|
|
255
|
+
D,
|
|
248
256
|
V
|
|
249
257
|
]);
|
|
250
258
|
export {
|