@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,27 +1,36 @@
|
|
|
1
1
|
import { c as r } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as l, html as o } from "lit";
|
|
3
3
|
import "../../chunks/series-types.js";
|
|
4
|
-
import { R as
|
|
4
|
+
import { R as p } from "../../chunks/rest-js-object-literals.js";
|
|
5
5
|
import "@arcgis/toolkit/intl";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import "../../chunks/
|
|
8
|
+
import "../../chunks/index.js";
|
|
9
|
+
import "@arcgis/core/Graphic.js";
|
|
10
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
12
|
+
import "@arcgis/core/intl.js";
|
|
13
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
14
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
15
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
16
|
+
import "simple-statistics";
|
|
17
|
+
import "@arcgis/core/request.js";
|
|
18
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
9
19
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
20
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
21
|
import "@arcgis/core/rest/support/Query.js";
|
|
12
22
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
13
23
|
import "@arcgis/core/time/TimeExtent.js";
|
|
14
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
15
|
-
import "@arcgis/core/request.js";
|
|
16
25
|
import "@arcgis/toolkit/dom";
|
|
17
|
-
import { e as
|
|
26
|
+
import { e as a } from "../../chunks/popover-ui-utils.js";
|
|
18
27
|
import { g as i } from "../../chunks/default.js";
|
|
19
28
|
import { u as n } from "../../chunks/useT9n.js";
|
|
20
29
|
import { createRef as c, ref as m } from "lit/directives/ref.js";
|
|
21
30
|
import { LitElement as h, createEvent as s, safeClassMap as g } from "@arcgis/lumina";
|
|
22
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
24
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.51 */
|
|
25
34
|
const C = {
|
|
26
35
|
jsAppFlyout: "js-app-flyout"
|
|
27
36
|
}, d = l``;
|
|
@@ -30,7 +39,7 @@ class f extends h {
|
|
|
30
39
|
super(...arguments), this._messages = n(), this.popoverElement = c(), this.placement = "leading", this.arcgisChartsConfigGuidePopoverColorChange = s(), this.arcgisChartsConfigGuidePopoverSymbolChange = s(), this.arcgisChartsConfigPopoverClose = s();
|
|
31
40
|
}
|
|
32
41
|
static {
|
|
33
|
-
this.properties = { messageOverrides: 0, selectedElement:
|
|
42
|
+
this.properties = { messageOverrides: 0, selectedElement: 0, referenceElement: 0, placement: 1, open: 5 };
|
|
34
43
|
}
|
|
35
44
|
static {
|
|
36
45
|
this.styles = d;
|
|
@@ -39,7 +48,7 @@ class f extends h {
|
|
|
39
48
|
await this.popoverElement.value?.reposition();
|
|
40
49
|
}
|
|
41
50
|
updated() {
|
|
42
|
-
|
|
51
|
+
a(this.popoverElement.value, this.open);
|
|
43
52
|
}
|
|
44
53
|
guidePopoverClose() {
|
|
45
54
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
@@ -54,7 +63,7 @@ class f extends h {
|
|
|
54
63
|
}
|
|
55
64
|
render() {
|
|
56
65
|
const t = this.selectedElement, e = this.selectedElement;
|
|
57
|
-
return o`<div class=${g(C.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${m(this.popoverElement)}>${Array.isArray(t) && o`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${t} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` || ""}${e?.type ===
|
|
66
|
+
return o`<div class=${g(C.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${m(this.popoverElement)}>${Array.isArray(t) && o`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${t} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` || ""}${e?.type === p.SLS && o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${e} @arcgisChartsConfigLineStyleClose=${this.guidePopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` || ""}</calcite-popover></div>`;
|
|
58
67
|
}
|
|
59
68
|
}
|
|
60
69
|
r("arcgis-charts-config-guide-popover", f);
|
|
@@ -1,33 +1,29 @@
|
|
|
1
1
|
import { c as p } from "../../chunks/runtime.js";
|
|
2
2
|
import { cloneDeep as r } from "lodash-es";
|
|
3
3
|
import { d as g } from "../../chunks/default.js";
|
|
4
|
-
import { g as
|
|
4
|
+
import { g as l, H as m } from "../../chunks/resource.js";
|
|
5
5
|
import { u as f } from "../../chunks/useT9n.js";
|
|
6
6
|
import { css as A, html as a } from "lit";
|
|
7
7
|
import { createRef as x, ref as C } from "lit/directives/ref.js";
|
|
8
|
-
import { LitElement as
|
|
9
|
-
import { G as
|
|
10
|
-
import { n as
|
|
8
|
+
import { LitElement as v, renderElement as b, safeClassMap as c } from "@arcgis/lumina";
|
|
9
|
+
import { G as s } from "../../chunks/common.js";
|
|
10
|
+
import { n as h, o as u } from "../../chunks/type-guards.js";
|
|
11
11
|
import "../../chunks/series-types.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
14
|
-
v5.0.0-next.
|
|
14
|
+
v5.0.0-next.51 */
|
|
15
15
|
const P = A`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.add-guide{display:flex;justify-content:center;padding:.5rem}.add-guide-btn{width:100%}.no-guides{border-radius:2rem}.no-messages{text-align:center}.guide-icon{padding-left:.5rem;padding-top:.5rem;width:1.5rem;height:1.5rem}`;
|
|
16
|
-
class $ extends
|
|
16
|
+
class $ extends v {
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments), this._messages = f(), this.addGuideButton = x(), this.guideTypePopover = null, this.addXGuide = (e) => {
|
|
19
|
-
if (
|
|
19
|
+
if (h(this.model)) {
|
|
20
20
|
const t = this.getUniqueName(this._messages.xAxisGuide ?? ""), i = this.model.getXGuidesLength() ?? 0;
|
|
21
|
-
this.model.addXAxisGuide(t, i), this.model.setGuideStyle(r(g.style), i,
|
|
22
|
-
n !== this.latestGuidePosition && (d.open = !1);
|
|
23
|
-
});
|
|
21
|
+
this.model.addXAxisGuide(t, i), this.model.setGuideStyle(r(g.style), i, s.X), this.latestGuidePosition = l(i, s.X, this.model), this.togglePopOver(e);
|
|
24
22
|
}
|
|
25
23
|
}, this.addYGuide = (e) => {
|
|
26
|
-
if (
|
|
24
|
+
if (u(this.model)) {
|
|
27
25
|
const t = this.getUniqueName(this._messages.yAxisGuide ?? ""), i = this.model.getYGuidesLength() ?? 0;
|
|
28
|
-
this.model.addYAxisGuide(t, i), this.model.setGuideStyle(r(g.style), i,
|
|
29
|
-
for (const s of this.el.shadowRoot?.querySelectorAll("calcite-block") ?? [])
|
|
30
|
-
s.open = !1;
|
|
26
|
+
this.model.addYAxisGuide(t, i), this.model.setGuideStyle(r(g.style), i, s.Y), this.latestGuidePosition = l(i, s.Y, this.model), this.togglePopOver(e);
|
|
31
27
|
}
|
|
32
28
|
}, this.togglePopOver = (e) => {
|
|
33
29
|
e.stopImmediatePropagation(), this.enableXAxisGuide && this.enableYAxisGuide && (this.showAddButton = !this.showAddButton);
|
|
@@ -38,7 +34,7 @@ class $ extends b {
|
|
|
38
34
|
}, this.showAddButton = !0, this.latestGuidePosition = 0, this.open = !1;
|
|
39
35
|
}
|
|
40
36
|
static {
|
|
41
|
-
this.properties = { showAddButton: 16, latestGuidePosition: 16, messageOverrides: 0, model: 0, timeZone:
|
|
37
|
+
this.properties = { showAddButton: 16, latestGuidePosition: 16, messageOverrides: 0, model: 0, timeZone: 1, calculatedMinMaxBounds: 0, enableXAxisGuide: 5, enableYAxisGuide: 5, open: 5 };
|
|
42
38
|
}
|
|
43
39
|
static {
|
|
44
40
|
this.styles = P;
|
|
@@ -56,50 +52,50 @@ class $ extends b {
|
|
|
56
52
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
57
53
|
}
|
|
58
54
|
getAllGuidesLength() {
|
|
59
|
-
const e =
|
|
55
|
+
const e = h(this.model) ? this.model.getXGuidesLength() ?? 0 : 0, t = u(this.model) ? this.model.getYGuidesLength() ?? 0 : 0;
|
|
60
56
|
return e + t;
|
|
61
57
|
}
|
|
62
58
|
getUniqueName(e, t = 1) {
|
|
63
59
|
const i = `${e} ${t}`;
|
|
64
|
-
let
|
|
65
|
-
if (l(this.model)) {
|
|
66
|
-
const d = this.model.getXGuidesLength() ?? 0;
|
|
67
|
-
for (let n = 0; n < d && !s; n += 1)
|
|
68
|
-
this.model.getGuideName(n, o.X) === i && (s = !0);
|
|
69
|
-
}
|
|
60
|
+
let d = !1;
|
|
70
61
|
if (h(this.model)) {
|
|
71
|
-
const
|
|
72
|
-
for (let n = 0; n <
|
|
73
|
-
this.model.getGuideName(n,
|
|
62
|
+
const o = this.model.getXGuidesLength() ?? 0;
|
|
63
|
+
for (let n = 0; n < o && !d; n += 1)
|
|
64
|
+
this.model.getGuideName(n, s.X) === i && (d = !0);
|
|
74
65
|
}
|
|
75
|
-
|
|
66
|
+
if (u(this.model)) {
|
|
67
|
+
const o = this.model.getYGuidesLength() ?? 0;
|
|
68
|
+
for (let n = 0; n < o && !d; n += 1)
|
|
69
|
+
this.model.getGuideName(n, s.Y) === i && (d = !0);
|
|
70
|
+
}
|
|
71
|
+
return d ? this.getUniqueName(e, t + 1) : i;
|
|
76
72
|
}
|
|
77
73
|
setChangedGuide(e) {
|
|
78
|
-
const { index: t, orientation: i, isDelete:
|
|
79
|
-
|
|
74
|
+
const { index: t, orientation: i, isDelete: d } = e.detail, o = l(t, i, this.model);
|
|
75
|
+
d && o !== void 0 && o <= this.latestGuidePosition && this.latestGuidePosition > 0 && (this.latestGuidePosition -= 1);
|
|
80
76
|
}
|
|
81
77
|
setupGuidePopover(e) {
|
|
82
78
|
e.stopImmediatePropagation(), this.togglePopOver(e);
|
|
83
79
|
}
|
|
84
80
|
renderGuideTypePopover() {
|
|
85
81
|
const e = this.getAllGuidesLength();
|
|
86
|
-
this.guideTypePopover =
|
|
82
|
+
this.guideTypePopover = b(a`<arcgis-charts-config-guides-type-popover .enableXAxisGuide=${this.enableXAxisGuide} .enableYAxisGuide=${this.enableYAxisGuide} .referenceElement=${this.addGuideButton.value} .placement=${e === 0 ? "bottom" : "top"} .open=${!this.showAddButton} @arcgisChartsAddXAxisGuide=${this.addXGuide} @arcgisChartsAddYAxisGuide=${this.addYGuide} @arcgisChartsConfigPopoverClose=${this.closeAddPopOver}></arcgis-charts-config-guides-type-popover>`), !this.showAddButton && !document.body.contains(this.guideTypePopover) && this.guideTypePopover !== null && document.body.appendChild(this.guideTypePopover);
|
|
87
83
|
}
|
|
88
84
|
renderGuide(e, t) {
|
|
89
85
|
let i;
|
|
90
|
-
return (this.enableXAxisGuide && t ===
|
|
86
|
+
return (this.enableXAxisGuide && t === s.X || this.enableYAxisGuide && t === s.Y) && (i = a`<arcgis-charts-config-guide .model=${this.model} .timeZone=${this.timeZone} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .index=${e} .orientation=${t} .latestGuidePosition=${this.latestGuidePosition} @arcgisChartsConfigGuideChange=${this.setChangedGuide}></arcgis-charts-config-guide>`), i;
|
|
91
87
|
}
|
|
92
88
|
renderGuides() {
|
|
93
89
|
const e = [];
|
|
94
|
-
if (
|
|
90
|
+
if (h(this.model)) {
|
|
95
91
|
const t = this.model.getXGuidesLength() ?? 0;
|
|
96
92
|
for (let i = 0; i < t; i += 1)
|
|
97
|
-
e.push(this.renderGuide(i,
|
|
93
|
+
e.push(this.renderGuide(i, s.X));
|
|
98
94
|
}
|
|
99
|
-
if (
|
|
95
|
+
if (u(this.model)) {
|
|
100
96
|
const t = this.model.getYGuidesLength() ?? 0;
|
|
101
97
|
for (let i = 0; i < t; i += 1)
|
|
102
|
-
e.push(this.renderGuide(i,
|
|
98
|
+
e.push(this.renderGuide(i, s.Y));
|
|
103
99
|
}
|
|
104
100
|
return e;
|
|
105
101
|
}
|
|
@@ -107,8 +103,8 @@ class $ extends b {
|
|
|
107
103
|
return a`<calcite-fab slot=fab appearance=outline-fill kind=neutral text-enabled .text=${this._messages.addGuide} .label=${this._messages.addGuide} @click=${e} scale=s></calcite-fab>`;
|
|
108
104
|
}
|
|
109
105
|
render() {
|
|
110
|
-
const t = this.getAllGuidesLength() > 0, i = this.showAddButton && this.enableXAxisGuide && this.enableYAxisGuide,
|
|
111
|
-
return a`${this.renderGuideTypePopover()}${t ? this.renderGuides() : a`<div class=${m
|
|
106
|
+
const t = this.getAllGuidesLength() > 0, i = this.showAddButton && this.enableXAxisGuide && this.enableYAxisGuide, d = this.enableXAxisGuide && !this.enableYAxisGuide, o = !this.enableXAxisGuide && this.enableYAxisGuide;
|
|
107
|
+
return a`${this.renderGuideTypePopover()}${t ? this.renderGuides() : a`<div class=${c(m.noMessages)}>${this._messages.noGuidesMsg}</div>`}<div class=${c(m.addGuide)} ${C(this.addGuideButton)}>${i && this.renderAddGuideButton(this.setupGuidePopover) || ""}${d && this.renderAddGuideButton(this.addXGuide) || ""}${o && this.renderAddGuideButton(this.addYGuide) || ""}</div>`;
|
|
112
108
|
}
|
|
113
109
|
}
|
|
114
110
|
p("arcgis-charts-config-guides", $);
|
|
@@ -2,49 +2,58 @@ import { c as t } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { html as e } from "lit";
|
|
3
3
|
import { LitElement as s, createEvent as i } from "@arcgis/lumina";
|
|
4
4
|
import { u as o } from "../../chunks/useT9n.js";
|
|
5
|
-
import { createRef as
|
|
5
|
+
import { createRef as r, ref as a } from "lit/directives/ref.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import "lodash-es";
|
|
8
8
|
import "../../chunks/series-types.js";
|
|
9
9
|
import "d3-array";
|
|
10
|
-
import "../../chunks/
|
|
10
|
+
import "../../chunks/index.js";
|
|
11
|
+
import "@arcgis/core/Graphic.js";
|
|
12
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
14
|
+
import "@arcgis/core/intl.js";
|
|
15
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
17
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
18
|
+
import "simple-statistics";
|
|
19
|
+
import "@arcgis/core/request.js";
|
|
20
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
11
21
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
12
22
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
13
23
|
import "@arcgis/core/rest/support/Query.js";
|
|
14
24
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
15
25
|
import "@arcgis/core/time/TimeExtent.js";
|
|
16
26
|
import "@arcgis/core/core/promiseUtils.js";
|
|
17
|
-
import "@arcgis/core/request.js";
|
|
18
27
|
import "@arcgis/toolkit/dom";
|
|
19
|
-
import { e as
|
|
28
|
+
import { e as p } from "../../chunks/popover-ui-utils.js";
|
|
20
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
21
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
22
|
-
v5.0.0-next.
|
|
23
|
-
class
|
|
31
|
+
v5.0.0-next.51 */
|
|
32
|
+
class l extends s {
|
|
24
33
|
constructor() {
|
|
25
|
-
super(...arguments), this._messages = o(), this.popoverElement =
|
|
34
|
+
super(...arguments), this._messages = o(), this.popoverElement = r(), this.onAddXGuide = () => {
|
|
26
35
|
this.open = !1, this.arcgisChartsAddXAxisGuide.emit();
|
|
27
36
|
}, this.onAddYGuide = () => {
|
|
28
37
|
this.open = !1, this.arcgisChartsAddYAxisGuide.emit();
|
|
29
38
|
}, this.enableXAxisGuide = !1, this.enableYAxisGuide = !1, this.placement = "bottom", this.open = !1, this.arcgisChartsAddXAxisGuide = i(), this.arcgisChartsAddYAxisGuide = i(), this.arcgisChartsConfigPopoverClose = i();
|
|
30
39
|
}
|
|
31
40
|
static {
|
|
32
|
-
this.properties = { enableXAxisGuide:
|
|
41
|
+
this.properties = { enableXAxisGuide: 5, enableYAxisGuide: 5, messageOverrides: 0, referenceElement: 0, placement: 1, open: 5 };
|
|
33
42
|
}
|
|
34
43
|
async reposition() {
|
|
35
44
|
await this.popoverElement.value?.reposition();
|
|
36
45
|
}
|
|
37
46
|
updated() {
|
|
38
|
-
|
|
47
|
+
p(this.popoverElement.value, this.open);
|
|
39
48
|
}
|
|
40
49
|
guidePopoverClose() {
|
|
41
50
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
42
51
|
}
|
|
43
52
|
render() {
|
|
44
|
-
return e`<calcite-popover .open=${this.open} .referenceElement=${this.referenceElement ?? document.body} flip-disabled pointer-disabled offset-distance=-18 @calcitePopoverClose=${this.guidePopoverClose} .placement=${this.placement} auto-close label ${
|
|
53
|
+
return e`<calcite-popover .open=${this.open} .referenceElement=${this.referenceElement ?? document.body} flip-disabled pointer-disabled offset-distance=-18 @calcitePopoverClose=${this.guidePopoverClose} .placement=${this.placement} auto-close label ${a(this.popoverElement)}><calcite-panel .heading=${this._messages.guideType} closable @calcitePanelClose=${this.guidePopoverClose}>${this.enableXAxisGuide ? e`<calcite-action .label=${this._messages.addXAxisGuide} .text=${this._messages.addXAxisGuide ?? ""} @click=${this.onAddXGuide} icon=x-axis-guide text-enabled></calcite-action>` : null}${this.enableYAxisGuide ? e`<calcite-action .label=${this._messages.addYAxisGuide} .text=${this._messages.addYAxisGuide ?? ""} @click=${this.onAddYGuide} icon=y-axis-guide text-enabled></calcite-action>` : null}</calcite-panel></calcite-popover>`;
|
|
45
54
|
}
|
|
46
55
|
}
|
|
47
|
-
t("arcgis-charts-config-guides-type-popover",
|
|
56
|
+
t("arcgis-charts-config-guides-type-popover", l);
|
|
48
57
|
export {
|
|
49
|
-
|
|
58
|
+
l as ArcgisChartsConfigGuidesTypePopover
|
|
50
59
|
};
|
|
@@ -1,43 +1,53 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEqual as r } from "lodash-es";
|
|
4
4
|
import "../../chunks/series-types.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import { g as
|
|
6
|
+
import { g as n, bz as h } from "../../chunks/index.js";
|
|
7
|
+
import "@arcgis/core/Graphic.js";
|
|
8
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
9
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
10
|
+
import "@arcgis/core/intl.js";
|
|
11
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
12
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
13
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
14
|
+
import "simple-statistics";
|
|
15
|
+
import "@arcgis/core/request.js";
|
|
16
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
7
17
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
18
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
19
|
import "@arcgis/core/rest/support/Query.js";
|
|
10
20
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
11
21
|
import "@arcgis/core/time/TimeExtent.js";
|
|
12
22
|
import "@arcgis/core/core/promiseUtils.js";
|
|
13
|
-
import "
|
|
14
|
-
import { b as d, h as c } from "../../chunks/index4.js";
|
|
23
|
+
import { b as c, h as m } from "../../chunks/index3.js";
|
|
15
24
|
import "@arcgis/toolkit/dom";
|
|
16
|
-
import { LitElement as
|
|
17
|
-
import { css as g, html as
|
|
18
|
-
import { C as s } from "../../chunks/
|
|
25
|
+
import { LitElement as d } from "@arcgis/lumina";
|
|
26
|
+
import { css as g, html as i } from "lit";
|
|
27
|
+
import { C as s } from "../../chunks/interfaces.js";
|
|
19
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
21
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.51 */
|
|
22
31
|
const f = g`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
23
|
-
class p extends
|
|
32
|
+
class p extends d {
|
|
24
33
|
constructor() {
|
|
25
34
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
26
|
-
const
|
|
27
|
-
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(
|
|
35
|
+
const t = e?.detail.config ?? this.model.config;
|
|
36
|
+
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(t);
|
|
28
37
|
};
|
|
29
38
|
}
|
|
30
39
|
static {
|
|
31
|
-
this.properties = { layerFieldsInfo: 16, model: 0, chartData: 0, seriesColor:
|
|
40
|
+
this.properties = { layerFieldsInfo: 16, model: 0, chartData: 0, seriesColor: 0, calculatedMinMaxBounds: 0, page: 1, layer: 0, usePopupTemplateFieldsInfo: 5 };
|
|
32
41
|
}
|
|
33
42
|
static {
|
|
34
43
|
this.styles = f;
|
|
35
44
|
}
|
|
36
45
|
async load() {
|
|
37
|
-
this.
|
|
46
|
+
this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model);
|
|
38
47
|
}
|
|
39
|
-
|
|
40
|
-
|
|
48
|
+
willUpdate(e) {
|
|
49
|
+
let a = !1;
|
|
50
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("layer") && this.layer !== void 0 && !r(e.get("layer"), this.layer) && (a = !0), e.has("usePopupTemplateFieldsInfo") && this.usePopupTemplateFieldsInfo !== e.get("usePopupTemplateFieldsInfo") && (a = !0), e.has("seriesColor") && this.seriesColorChange(this.seriesColor), this.layerFieldsInfo === void 0 && (a = !0), a && this.updateFetchLayerFieldsInfo();
|
|
41
51
|
}
|
|
42
52
|
disconnectedCallback() {
|
|
43
53
|
super.disconnectedCallback(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -45,43 +55,37 @@ class p extends m {
|
|
|
45
55
|
modelChange(e, a) {
|
|
46
56
|
a?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
47
57
|
}
|
|
48
|
-
async layerChange(e, a) {
|
|
49
|
-
e !== void 0 && !r(a, e) && await this.updateFetchLayerFieldsInfo();
|
|
50
|
-
}
|
|
51
|
-
async usePopupTemplateFieldsInfoChange(e, a) {
|
|
52
|
-
e !== void 0 && e !== a && await this.updateFetchLayerFieldsInfo();
|
|
53
|
-
}
|
|
54
58
|
seriesColorChange(e) {
|
|
55
59
|
this.model.colorMatch && e?.forEach((a) => {
|
|
56
|
-
|
|
60
|
+
c(a) && e?.get(0) !== void 0 && !r(this.model.binSymbol, a) && (this.model.binSymbol = a);
|
|
57
61
|
});
|
|
58
62
|
}
|
|
59
63
|
async updateFetchLayerFieldsInfo(e) {
|
|
60
64
|
const a = e ?? this.model.config;
|
|
61
|
-
let
|
|
62
|
-
if (!
|
|
63
|
-
const o =
|
|
64
|
-
o && (
|
|
65
|
+
let t = this.layer;
|
|
66
|
+
if (!t) {
|
|
67
|
+
const o = m(a) ? a.iLayer : void 0;
|
|
68
|
+
o && (t = await n(o));
|
|
65
69
|
}
|
|
66
|
-
|
|
70
|
+
t && (this.layerFieldsInfo = await h(t, this.usePopupTemplateFieldsInfo));
|
|
67
71
|
}
|
|
68
72
|
render() {
|
|
69
73
|
let e;
|
|
70
74
|
switch (this.page) {
|
|
71
75
|
case s.Data:
|
|
72
|
-
e =
|
|
76
|
+
e = i`<arcgis-charts-config-histogram-data .model=${this.model} .meanValue=${this.chartData?.mean} .medianValue=${this.chartData?.median} .standardDevValue=${this.chartData?.stddev} .minValue=${this.chartData?.min} .maxValue=${this.chartData?.max} .sumValue=${this.chartData?.sum} .nullsValue=${this.chartData?.nulls} .countValue=${this.chartData?.count} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-histogram-data>`;
|
|
73
77
|
break;
|
|
74
78
|
case s.Axes:
|
|
75
|
-
e =
|
|
79
|
+
e = i`<arcgis-charts-config-axes .model=${this.model} show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;
|
|
76
80
|
break;
|
|
77
81
|
case s.Guides:
|
|
78
|
-
e =
|
|
82
|
+
e = i`<arcgis-charts-config-guides .model=${this.model} enable-y-axis-guide></arcgis-charts-config-guides>`;
|
|
79
83
|
break;
|
|
80
84
|
case s.Format:
|
|
81
|
-
e =
|
|
85
|
+
e = i`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;
|
|
82
86
|
break;
|
|
83
87
|
case s.General:
|
|
84
|
-
e =
|
|
88
|
+
e = i`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;
|
|
85
89
|
break;
|
|
86
90
|
default:
|
|
87
91
|
e = "";
|
|
@@ -90,7 +94,7 @@ class p extends m {
|
|
|
90
94
|
return e;
|
|
91
95
|
}
|
|
92
96
|
}
|
|
93
|
-
|
|
97
|
+
l("arcgis-charts-config-histogram", p);
|
|
94
98
|
export {
|
|
95
99
|
p as ArcgisChartsConfigHistogram
|
|
96
100
|
};
|
|
@@ -81,6 +81,11 @@ export declare class ArcgisChartsConfigHistogramData extends LitElement {
|
|
|
81
81
|
* @default false
|
|
82
82
|
*/
|
|
83
83
|
open?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Event emitted upon catching an error in an async function.
|
|
86
|
+
*
|
|
87
|
+
* @event
|
|
88
|
+
*/
|
|
84
89
|
readonly arcgisChartsConfigDataChangeError: TargetedEvent<this, DataChangeErrorPayload>;
|
|
85
90
|
/**
|
|
86
91
|
* Event when there is change in histogram data popover.
|
|
@@ -2,29 +2,38 @@ import { c as k } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { debounce as y } from "lodash-es";
|
|
5
|
-
import { b as
|
|
5
|
+
import { b as p } from "../../chunks/series-types.js";
|
|
6
6
|
import { R as M } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { cP as I, ay as L, aw as V } from "../../chunks/index.js";
|
|
9
|
+
import "@arcgis/core/Graphic.js";
|
|
10
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
12
|
+
import "@arcgis/core/intl.js";
|
|
13
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
14
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
15
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
16
|
+
import "simple-statistics";
|
|
17
|
+
import "@arcgis/core/request.js";
|
|
18
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
9
19
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
20
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
21
|
import "@arcgis/core/rest/support/Query.js";
|
|
12
22
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
13
23
|
import "@arcgis/core/time/TimeExtent.js";
|
|
14
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
15
|
-
import "@arcgis/core/request.js";
|
|
16
25
|
import "@arcgis/toolkit/dom";
|
|
17
|
-
import { r as
|
|
18
|
-
import { H as m,
|
|
19
|
-
import { b as
|
|
26
|
+
import { r as P } from "../../chunks/popover-ui-utils.js";
|
|
27
|
+
import { H as m, c as a, d } from "../../chunks/interfaces.js";
|
|
28
|
+
import { b as T, m as C, U as S, f as N, s as F, c as D, D as B } from "../../chunks/chart-ui-utils2.js";
|
|
20
29
|
import { d as _, s as H } from "../../chunks/store.js";
|
|
21
30
|
import { u as K } from "../../chunks/useT9n.js";
|
|
22
31
|
import { css as z, html as r } from "lit";
|
|
23
32
|
import { createRef as b, ref as v } from "lit/directives/ref.js";
|
|
24
|
-
import { LitElement as A, createEvent as $, renderElement as U, safeStyleMap as
|
|
33
|
+
import { LitElement as A, createEvent as $, renderElement as U, safeStyleMap as w, safeClassMap as s } from "@arcgis/lumina";
|
|
25
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
26
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
27
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.51 */
|
|
28
37
|
const o = {
|
|
29
38
|
label: "label",
|
|
30
39
|
row: "row",
|
|
@@ -38,7 +47,7 @@ class R extends A {
|
|
|
38
47
|
constructor() {
|
|
39
48
|
super(...arguments), this._messages = K(), this.numericalFieldSelectionElement = b(), this.transformationSelectionElement = b(), this.histogramPopover = null, this.binColorSectionElement = b(), this.binSliderElement = b(), this.binInputElement = b(), this.popoverHeading = "", this.onBinCountChange = y(() => {
|
|
40
49
|
const e = this.binInputElement.value?.value;
|
|
41
|
-
e !== void 0 &&
|
|
50
|
+
e !== void 0 && T(e, this.binInputElement.value?.min, this.binInputElement.value?.max) ? this.binCountChange(e) : this.binInputElement.value && C({
|
|
42
51
|
inputElement: this.binInputElement.value,
|
|
43
52
|
status: D.INVALID
|
|
44
53
|
});
|
|
@@ -54,13 +63,13 @@ class R extends A {
|
|
|
54
63
|
e.stopImmediatePropagation(), this.onColorElementSelect(this.model.standardDevSymbol, this._messages.standardDevStyle ?? "", this.standardDevOverlayElement);
|
|
55
64
|
}, this.onModelConfigChange = () => {
|
|
56
65
|
this.requestUpdate();
|
|
57
|
-
}, this.updateProps =
|
|
66
|
+
}, this.updateProps = (e) => {
|
|
58
67
|
try {
|
|
59
68
|
if (e.detail !== null && e.detail !== void 0) {
|
|
60
69
|
const { contentKind: t } = e.detail, { value: i } = e.detail;
|
|
61
70
|
switch (_(H), t) {
|
|
62
71
|
case m.transformation:
|
|
63
|
-
this.model.dataTransformationType = i ??
|
|
72
|
+
this.model.dataTransformationType = i ?? p.None;
|
|
64
73
|
break;
|
|
65
74
|
case m.numericFields:
|
|
66
75
|
this.model.numericField = i ?? "";
|
|
@@ -70,7 +79,7 @@ class R extends A {
|
|
|
70
79
|
}
|
|
71
80
|
}
|
|
72
81
|
} catch (t) {
|
|
73
|
-
throw this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
82
|
+
throw t instanceof Error && this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
74
83
|
}
|
|
75
84
|
this.removeHistogramDataPopover(), this.requestUpdate();
|
|
76
85
|
}, this.updateSymbolProps = (e) => {
|
|
@@ -96,7 +105,7 @@ class R extends A {
|
|
|
96
105
|
}, this.binColorSelected = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError = $(), this.arcgisChartsConfigHistogramDataPopoverChange = $();
|
|
97
106
|
}
|
|
98
107
|
static {
|
|
99
|
-
this.properties = { binColorSelected: 16, selectedBinColorSymbol: 16, selectedOverlaySymbol: 16, selectedNumericalField: 16, selectedTransformationType: 16, selectedOverlaySymbolType:
|
|
108
|
+
this.properties = { binColorSelected: 16, selectedBinColorSymbol: 16, selectedOverlaySymbol: 16, selectedNumericalField: 16, selectedTransformationType: 16, selectedOverlaySymbolType: 1, messageOverrides: 0, model: 0, meanValue: 9, medianValue: 9, standardDevValue: 9, minValue: 9, maxValue: 9, sumValue: 9, nullsValue: 9, countValue: 9, layerFieldsInfo: 0, open: 5 };
|
|
100
109
|
}
|
|
101
110
|
static {
|
|
102
111
|
this.styles = j;
|
|
@@ -120,18 +129,18 @@ class R extends A {
|
|
|
120
129
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
121
130
|
}
|
|
122
131
|
removeHistogramDataPopover() {
|
|
123
|
-
this.histogramPopover !== null && (this.histogramPopover =
|
|
132
|
+
this.histogramPopover !== null && (this.histogramPopover = P(this.histogramPopover));
|
|
124
133
|
}
|
|
125
134
|
getDataTransformationLabel() {
|
|
126
135
|
let e;
|
|
127
136
|
switch (this.model.dataTransformationType) {
|
|
128
|
-
case
|
|
137
|
+
case p.None:
|
|
129
138
|
e = this._messages.none ?? "";
|
|
130
139
|
break;
|
|
131
|
-
case
|
|
140
|
+
case p.Log:
|
|
132
141
|
e = this._messages.log ?? "";
|
|
133
142
|
break;
|
|
134
|
-
case
|
|
143
|
+
case p.Sqrt:
|
|
135
144
|
e = this._messages.sqRt ?? "";
|
|
136
145
|
break;
|
|
137
146
|
default:
|
|
@@ -244,12 +253,12 @@ class R extends A {
|
|
|
244
253
|
return r`<arcgis-charts-config-field-select .label=${this.getDataTransformationLabel()} @click=${this.onTransformationSelect} ${v(this.transformationSelectionElement)}></arcgis-charts-config-field-select>`;
|
|
245
254
|
}
|
|
246
255
|
renderColorListItem(e) {
|
|
247
|
-
const { textLabel: t, key: i, value: c, selected: l, ref: n, colorAction: h, color: g } = e, [
|
|
248
|
-
return f(i, r`<calcite-list-item .label=${t ?? ""} .value=${c} .selected=${l} ${v(n ?? void 0)}><calcite-action text=color slot=actions-end appearance=transparent @click=${h}><calcite-icon icon=line-solid style=${
|
|
256
|
+
const { textLabel: t, key: i, value: c, selected: l, ref: n, colorAction: h, color: g } = e, [u, O, E, x] = [...g ?? L()];
|
|
257
|
+
return f(i, r`<calcite-list-item .label=${t ?? ""} .value=${c} .selected=${l} ${v(n ?? void 0)}><calcite-action text=color slot=actions-end appearance=transparent @click=${h}><calcite-icon icon=line-solid style=${w(u !== void 0 ? { color: `rgba(${u},${O},${E},${(x ?? 0) / 255})` } : {})}></calcite-icon></calcite-action></calcite-list-item>`);
|
|
249
258
|
}
|
|
250
259
|
renderBinColorElement() {
|
|
251
260
|
const [e, t, i, c] = [...this.model.binSymbol?.color ?? V(0)];
|
|
252
|
-
return r`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .label=${this._messages.binColor} value=selectTrendLine .selected=${this.binColorSelected} @click=${this.onBinColorSelect} ${v(this.binColorSectionElement)}><calcite-icon slot=content-end icon=square-f style=${
|
|
261
|
+
return r`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .label=${this._messages.binColor} value=selectTrendLine .selected=${this.binColorSelected} @click=${this.onBinColorSelect} ${v(this.binColorSectionElement)}><calcite-icon slot=content-end icon=square-f style=${w({ color: `rgba(${e},${t},${i},${c / 255})` })} class=${s(o.iconSelect)}></calcite-icon></calcite-list-item></calcite-list>`;
|
|
253
262
|
}
|
|
254
263
|
renderNormalDistOverlay() {
|
|
255
264
|
return this.normalDistOverlayVisible = this.model.showNormalDistOverlay, this.renderColorListItem({
|
|
@@ -324,7 +333,7 @@ class R extends A {
|
|
|
324
333
|
}
|
|
325
334
|
render() {
|
|
326
335
|
const e = this.renderFieldSelect(), t = this.renderDataTransformationType();
|
|
327
|
-
return r`<div
|
|
336
|
+
return r`<div class=${s(o.sectionLabel)}>${this._messages.variables}</div><calcite-label class=${s(o.label)}>${this._messages.number}${e}</calcite-label><calcite-label class=${s(o.label)}>${this._messages.withTransformation}${t}</calcite-label><div class=${s(o.sectionLabel)}>${this._messages.bins}</div><p class=${s(o.binTextPadding)}>${this._messages.numberOfBins}</p>${this.renderBinsSection()}${this.renderBinColorElement()}<div class=${s(o.sectionLabel)}>${this._messages.overlays}</div>${this.renderOverlayList()}${this.renderShowDataLabels()}<div class=${s(o.sectionLabel)}>${this._messages.statistics}</div>${this.renderStats()}`;
|
|
328
337
|
}
|
|
329
338
|
}
|
|
330
339
|
k("arcgis-charts-config-histogram-data", R);
|
|
@@ -80,6 +80,11 @@ export declare class ArcgisChartsConfigHistogramPopover extends LitElement {
|
|
|
80
80
|
* @category Public
|
|
81
81
|
*/
|
|
82
82
|
reposition(): Promise<void>;
|
|
83
|
+
/**
|
|
84
|
+
* Event emitted when the popover is closed.
|
|
85
|
+
*
|
|
86
|
+
* @event
|
|
87
|
+
*/
|
|
83
88
|
readonly arcgisChartsConfigHistogramPopoverChange: TargetedEvent<this, {
|
|
84
89
|
contentKind: HistogramDataPopoverKinds | undefined;
|
|
85
90
|
value: any;
|