@arcgis/charts-components 5.2.0-next.0 → 5.2.0-next.10
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/{3HDCBEWA.js → 255TSQSE.js} +14 -14
- package/dist/cdn/{A5GIBV5W.js → 25YAWDIB.js} +1 -1
- package/dist/cdn/{AHXJHLWG.js → 2A7JZQX5.js} +1 -1
- package/dist/cdn/{DYC3Q36R.js → 2HTYRBIX.js} +1 -1
- package/dist/cdn/{4DN22Z2T.js → 2PAVNZEM.js} +1 -1
- package/dist/cdn/{JJ2M4U57.js → 2XYTPC2V.js} +1 -1
- package/dist/cdn/{ERSFBFQP.js → 3376CR53.js} +1 -1
- package/dist/cdn/{NS3THLCD.js → 3CFZUVMF.js} +1 -1
- package/dist/cdn/{GKCSV5KX.js → 3S3PN7AK.js} +1 -1
- package/dist/cdn/3W2A4SAP.js +2 -0
- package/dist/cdn/{O3YTMAQX.js → 4ETF22K6.js} +1 -1
- package/dist/cdn/{I6ILHZ4V.js → 4J6UFQ2Q.js} +1 -1
- package/dist/cdn/4YJSRB7R.js +2 -0
- package/dist/cdn/{74JAZF7U.js → 5JNEJJU3.js} +1 -1
- package/dist/cdn/{H6NH46AS.js → 5OKNLDIJ.js} +1 -1
- package/dist/cdn/{I6ZAHATO.js → 5V3ADOWS.js} +1 -1
- package/dist/cdn/{XMMHYOKG.js → 6MF2R6DJ.js} +1 -1
- package/dist/cdn/{SSIG3VVL.js → 6SRJ2VKV.js} +1 -1
- package/dist/cdn/{BI4UYGSS.js → 7EEYYP6X.js} +1 -1
- package/dist/cdn/{VM7TU42Q.js → BER7FMK3.js} +1 -1
- package/dist/cdn/{QPZNCW73.js → BJRHNVLR.js} +1 -1
- package/dist/cdn/{ETLXX7MH.js → CBHWMUGA.js} +37 -37
- package/dist/cdn/{ZPMBL64I.js → CDHUW42P.js} +1 -1
- package/dist/cdn/{NI5ICKEY.js → CEE2QRZ5.js} +1 -1
- package/dist/cdn/{TXSWWAOF.js → CGYB5KPV.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → CSAUXIK2.js} +1 -1
- package/dist/cdn/{JOI6WL3P.js → DJ5OHPYW.js} +1 -1
- package/dist/cdn/EDSF5KGV.js +233 -0
- package/dist/cdn/{UUBMII4X.js → EK33HUAH.js} +1 -1
- package/dist/cdn/{ROIT25TY.js → F7Q3XDZH.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → FTOYQNHN.js} +1 -1
- package/dist/cdn/{XQN3IPCF.js → GBDEYCR6.js} +1 -1
- package/dist/cdn/{74GWGGKE.js → GKPMAFU3.js} +1 -1
- package/dist/cdn/GNC62GNV.js +2 -0
- package/dist/cdn/{OBPXCFUE.js → GXC7VLYM.js} +1 -1
- package/dist/cdn/{LEK5TYY2.js → H4B3ERFL.js} +1 -1
- package/dist/cdn/{DPSPWVA2.js → HD4FP3ZK.js} +1 -1
- package/dist/cdn/{PD433VW7.js → HFJ4EPET.js} +1 -1
- package/dist/cdn/{AUFCZ2VI.js → I5AALJRN.js} +1 -1
- package/dist/cdn/{UUO3C7JX.js → ICVAXCHZ.js} +1 -1
- package/dist/cdn/{FKH3OVSJ.js → IHTJSWKK.js} +1 -1
- package/dist/cdn/{LDLY2SF3.js → IKCVYV5L.js} +1 -1
- package/dist/cdn/{WBH5XG4U.js → JEH22SPH.js} +1 -1
- package/dist/cdn/{E4SQHQBK.js → JMAVBKEZ.js} +1 -1
- package/dist/cdn/{V7TM2WGV.js → JQYB4ZDY.js} +1 -1
- package/dist/cdn/{35COV7CA.js → KB76VF4V.js} +1 -1
- package/dist/cdn/{HOX7NZNG.js → KHNP4LWB.js} +1 -1
- package/dist/cdn/{4MT26NON.js → KKKCWW6G.js} +1 -1
- package/dist/cdn/{XCBRFRLO.js → L6ZALCLC.js} +1 -1
- package/dist/cdn/{QR5JSPMD.js → LIPUN4CH.js} +1 -1
- package/dist/cdn/{DA7U5FLY.js → LO6KKSE4.js} +1 -1
- package/dist/cdn/{Z7EBST4A.js → LOZOENFC.js} +1 -1
- package/dist/cdn/{RJN2Y6QR.js → M6JCOZIE.js} +1 -1
- package/dist/cdn/{G2RDPRW6.js → N7NZHIGS.js} +1 -1
- package/dist/cdn/{I2AGE5R2.js → NFANBMTU.js} +1 -1
- package/dist/cdn/{MRSWVYMY.js → NKJC4MT7.js} +1 -1
- package/dist/cdn/{H3VQJF7X.js → OYCT7CFU.js} +1 -1
- package/dist/cdn/{CXQOEN77.js → PJZVDHIF.js} +1 -1
- package/dist/cdn/{MRTKZZTF.js → PM6FCUUV.js} +1 -1
- package/dist/cdn/{BAIMTE2A.js → PNDFAGEB.js} +1 -1
- package/dist/cdn/{4ONG3Z7W.js → PRPNJEPZ.js} +1 -1
- package/dist/cdn/{P4T5TI3T.js → PZKRRAXW.js} +1 -1
- package/dist/cdn/{YYK7SPXC.js → QAIY4AMN.js} +1 -1
- package/dist/cdn/{76ZTJWGM.js → QF4UBQYT.js} +1 -1
- package/dist/cdn/{ZCIQS5VL.js → QF6LHQTR.js} +1 -1
- package/dist/cdn/QM27URJR.js +2 -0
- package/dist/cdn/{UQN6IMJJ.js → RA3CZHC7.js} +1 -1
- package/dist/cdn/{7JNA22OU.js → RH4AC577.js} +1 -1
- package/dist/cdn/{GGQP5JYM.js → SHTFWNG3.js} +1 -1
- package/dist/cdn/SPVZ5BND.js +2 -0
- package/dist/cdn/SXT5DNXJ.js +4 -0
- package/dist/cdn/SYIW6YJN.js +2 -0
- package/dist/cdn/{3EOJXLYW.js → SZEYHOGG.js} +1 -1
- package/dist/cdn/{L4RUPWN7.js → TH4OHGTQ.js} +1 -1
- package/dist/cdn/{EXTKNE2L.js → U4COKMGA.js} +1 -1
- package/dist/cdn/{ZVZ2XDVU.js → U6USPTQ5.js} +1 -1
- package/dist/cdn/UHPAFBYO.js +2 -0
- package/dist/cdn/VL2G5M57.js +2 -0
- package/dist/cdn/{IFUSMYSL.js → VMS7DT3M.js} +1 -1
- package/dist/cdn/{4WLT4SF2.js → VSPTNIIU.js} +1 -1
- package/dist/cdn/{ZSNIMQ53.js → VW4GW2JT.js} +1 -1
- package/dist/cdn/{MJCXQCOV.js → WBJ6NWHX.js} +1 -1
- package/dist/cdn/{LKY2A3U6.js → WPPMMVD5.js} +1 -1
- package/dist/cdn/{2RU466XY.js → X4BYDZDR.js} +1 -1
- package/dist/cdn/XACXJMSF.js +3 -0
- package/dist/cdn/{Q3AILKYR.js → XJ2L7VN4.js} +1 -1
- package/dist/cdn/{JN2ZWL6Y.js → XP5GZU4O.js} +1 -1
- package/dist/cdn/{5PBHJCIL.js → XUT56VH6.js} +1 -1
- package/dist/cdn/{GJNWHFFY.js → XWZYTOHY.js} +1 -1
- package/dist/cdn/{SOQJHUX7.js → XXXXO6OB.js} +1 -1
- package/dist/cdn/{6BUS62PQ.js → YDJPGFXU.js} +1 -1
- package/dist/cdn/{IMK7WGD3.js → YSWV4FZE.js} +1 -1
- package/dist/cdn/{5MMDKA25.js → YXWIKYN4.js} +1 -1
- package/dist/cdn/{M7DJDXCP.js → Z4HCNLCD.js} +1 -1
- package/dist/cdn/{C3ZSWQ3I.js → Z5VVIVR3.js} +1 -1
- package/dist/cdn/{BXXLVGNQ.js → ZIVPZF6E.js} +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +8 -8
- package/dist/chunks/axis-lines-symbol.js +4 -4
- package/dist/chunks/bar-chart-model.js +13 -13
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/box-plot-data.js +5 -5
- package/dist/chunks/box-plot-model.js +18 -18
- package/dist/chunks/chart-model.js +170 -138
- package/dist/chunks/chart-ui-utils2.js +13 -13
- package/dist/chunks/class-breaks.js +21 -21
- package/dist/chunks/combo-bar-line-chart-model.js +2 -2
- package/dist/chunks/data.js +21 -21
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/generate-x-axis-title.js +4 -4
- package/dist/chunks/heat-chart-model.js +19 -19
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +11 -11
- package/dist/chunks/index2.js +1549 -1540
- package/dist/chunks/index3.js +38 -36
- package/dist/chunks/index4.js +10805 -680
- package/dist/chunks/index5.js +87 -10782
- package/dist/chunks/index6.js +63 -100
- package/dist/chunks/interfaces.js +3 -3
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +11 -11
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +2 -2
- package/dist/chunks/negative-values-stacked-to-baseline.js +2 -2
- package/dist/chunks/pie-chart-data.js +2 -2
- package/dist/chunks/pie-chart-model.js +2 -2
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +19 -19
- package/dist/chunks/serial-chart-data.js +379 -377
- package/dist/chunks/serial-chart-model.js +44 -44
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/store.js +5 -5
- package/dist/chunks/time-zone.js +1 -1
- package/dist/chunks/type-guards3.js +4 -4
- package/dist/chunks/utils.js +14 -14
- package/dist/chunks/web-component-utils.js +557 -468
- package/dist/chunks/x-bounds.js +4 -4
- package/dist/components/arcgis-chart/customElement.d.ts +48 -41
- package/dist/components/arcgis-chart/customElement.js +6700 -6898
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-format/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +13 -13
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +70 -62
- package/dist/index.js +476 -471
- package/dist/json-schema/index.d.ts +52 -2
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/{model.js → model/shared/setup-utils.js} +12 -12
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/web-chart.d.ts +6 -0
- package/dist/utils/chart-config/converter/index.js +723 -0
- package/dist/utils/chart-config/utils/index.d.ts +30 -0
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +2 -0
- package/dist/utils/data/index.d.ts +2 -0
- package/dist/utils/defaults/index.d.ts +1 -2
- package/dist/utils/layer/index.d.ts +3 -3
- package/dist/utils/layer/inline-conversion/index.d.ts +3 -0
- package/dist/utils/layer/query-parser/index.d.ts +3 -3
- package/dist/utils/localization/interfaces.d.ts +4 -0
- package/package.json +8 -6
- package/dist/cdn/2CKPKXNB.js +0 -2
- package/dist/cdn/6LTWEPUM.js +0 -2
- package/dist/cdn/F22N7RZE.js +0 -2
- package/dist/cdn/FJFVM6MK.js +0 -2
- package/dist/cdn/IU3JHT4C.js +0 -4
- package/dist/cdn/LKLXYXQS.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/SOSPMFB6.js +0 -2
- package/dist/cdn/V7HFHWME.js +0 -2
- package/dist/cdn/ZIF2SLZ7.js +0 -3
- package/dist/chunks/index7.js +0 -66
- /package/dist/cdn/{ABIVSH72.js → 2OHFSVV5.js} +0 -0
- /package/dist/cdn/{TSI3C3OV.js → 2XXW3WF3.js} +0 -0
- /package/dist/cdn/{XWKBJDZT.js → 3JYZJUOM.js} +0 -0
- /package/dist/cdn/{NHDVOYQ2.js → 3TZEMBXR.js} +0 -0
- /package/dist/cdn/{UAZ34KDJ.js → 4OH4NSIW.js} +0 -0
- /package/dist/cdn/{XIJ5VLER.js → 5SIAOUPO.js} +0 -0
- /package/dist/cdn/{75P3QRL4.js → 7QXRWMUN.js} +0 -0
- /package/dist/cdn/{4QQVKRJ5.js → AASL4RKT.js} +0 -0
- /package/dist/cdn/{PH6UOHRS.js → ANN3O54W.js} +0 -0
- /package/dist/cdn/{N6OT5IBC.js → BDGHBTPU.js} +0 -0
- /package/dist/cdn/{ZFM5RGWD.js → FFS73X36.js} +0 -0
- /package/dist/cdn/{5AOYADA3.js → FOYOG3G7.js} +0 -0
- /package/dist/cdn/{53FG76LL.js → FWAXKDYV.js} +0 -0
- /package/dist/cdn/{B4KT2HUE.js → H3EXGCE7.js} +0 -0
- /package/dist/cdn/{FLO3N6JD.js → I6UPUSLQ.js} +0 -0
- /package/dist/cdn/{WVRBLV5L.js → IVLVCLDE.js} +0 -0
- /package/dist/cdn/{NG2IHVZ4.js → IYA7HQMS.js} +0 -0
- /package/dist/cdn/{I5VHQW7B.js → L47EGLUH.js} +0 -0
- /package/dist/cdn/{OYHKUGS6.js → LROW4Y6O.js} +0 -0
- /package/dist/cdn/{DIKQ7BPQ.js → MK5ZYSOD.js} +0 -0
- /package/dist/cdn/{RDTBZUT7.js → N4L5KE23.js} +0 -0
- /package/dist/cdn/{4JQ2RRLY.js → N5ZUO6F3.js} +0 -0
- /package/dist/cdn/{2HGBRW4I.js → OFWEHJDH.js} +0 -0
- /package/dist/cdn/{M4AQLWZU.js → OXYJKZEP.js} +0 -0
- /package/dist/cdn/{O6SNP6QE.js → QR2OOC4D.js} +0 -0
- /package/dist/cdn/{4E7C5QPS.js → RSNZMJ6I.js} +0 -0
- /package/dist/cdn/{CODAXMWM.js → S3ZSZXYG.js} +0 -0
- /package/dist/cdn/{I36OAVW3.js → SERX6V5M.js} +0 -0
- /package/dist/cdn/{AJBEE7WE.js → SSQ3VCZ2.js} +0 -0
- /package/dist/cdn/{3V4HRXIT.js → TFPQDMER.js} +0 -0
- /package/dist/cdn/{2X75KJPF.js → ULWJ57VT.js} +0 -0
- /package/dist/cdn/{LNF44ZGQ.js → UYXCGSXU.js} +0 -0
- /package/dist/cdn/{OA7FHTCA.js → VDKFC44J.js} +0 -0
- /package/dist/cdn/{YIIPYKTL.js → VRZ2SY6M.js} +0 -0
- /package/dist/cdn/{VFM2EV3M.js → WAINRCCJ.js} +0 -0
- /package/dist/cdn/{MHG42BA5.js → WNKDEOFZ.js} +0 -0
- /package/dist/cdn/{DD4QUBOF.js → X2LW7GTR.js} +0 -0
- /package/dist/cdn/{N3VOUI25.js → XDMGH7YU.js} +0 -0
- /package/dist/cdn/{7ILH7ZG2.js → XY4TRZCG.js} +0 -0
- /package/dist/cdn/{66KSEDOR.js → XYKXBWIT.js} +0 -0
- /package/dist/cdn/{O2ERVMSN.js → Y6ZCTPJW.js} +0 -0
- /package/dist/cdn/{NFDXH5B3.js → YKDW7ZW3.js} +0 -0
- /package/dist/cdn/{SGOYJFLO.js → ZBIVDGNH.js} +0 -0
|
@@ -169,6 +169,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
169
169
|
};
|
|
170
170
|
notifications: {
|
|
171
171
|
invalidConfig: string;
|
|
172
|
+
invalidConfigForRaster: string;
|
|
173
|
+
invalidConfigTitle: string;
|
|
172
174
|
invalidSeriesConfig: string;
|
|
173
175
|
invalidSeriesConfigTitle: string;
|
|
174
176
|
validateAggregationTypeMsg: string;
|
|
@@ -434,6 +436,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
434
436
|
};
|
|
435
437
|
notifications: {
|
|
436
438
|
invalidConfig: string;
|
|
439
|
+
invalidConfigForRaster: string;
|
|
440
|
+
invalidConfigTitle: string;
|
|
437
441
|
invalidSeriesConfig: string;
|
|
438
442
|
invalidSeriesConfigTitle: string;
|
|
439
443
|
validateAggregationTypeMsg: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as w } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as O, html as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { css as O, html as a } from "lit";
|
|
4
|
+
import { b as T } from "../../chunks/interfaces.js";
|
|
5
|
+
import { a as _, g as z } from "../../chunks/type-guards3.js";
|
|
6
6
|
import { u as S } from "../../chunks/useT9n.js";
|
|
7
7
|
import { createRef as $, ref as b } from "lit/directives/ref.js";
|
|
8
8
|
import { LitElement as V, renderElement as C, safeStyleMap as y, createEvent as B, safeClassMap as L, nothing as s } from "@arcgis/lumina";
|
|
9
|
-
import {
|
|
9
|
+
import { a as n } from "../../chunks/chart-ui-utils2.js";
|
|
10
10
|
import { i as F } from "../../chunks/rotated-state.js";
|
|
11
|
-
import { a as t, A as o, D as e } from "../../chunks/
|
|
11
|
+
import { a as t, A as o, D as e } from "../../chunks/index6.js";
|
|
12
12
|
import { A as D } from "../../chunks/index3.js";
|
|
13
13
|
import { u as k } from "../../chunks/chart-object-literals.js";
|
|
14
14
|
import { b as r, k as I } from "../../chunks/type-guards2.js";
|
|
@@ -19,10 +19,10 @@ class Z extends V {
|
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments), this.calciteActionBar = $(), this.exportCalciteActionBar = $(), this.expandAction = null, this._messages = S(), this.commonStrings = S({ name: "common", blocking: !0 }), this.handleMouseOver = (l) => {
|
|
21
21
|
if (this.calciteActionBar.value && !this.calciteActionBar.value?.expanded) {
|
|
22
|
-
const
|
|
22
|
+
const c = l.target;
|
|
23
23
|
this.actionTooltip !== void 0 && (this.actionTooltip = n(this.actionTooltip));
|
|
24
24
|
let i;
|
|
25
|
-
|
|
25
|
+
c?.tagName === "CALCITE-ACTION" ? i = c : (c?.tagName === "CALCITE-ACTION-MENU" || c?.tagName === "DIV") && (i = c.firstChild), i !== void 0 && (this.actionTooltip = C(a`<calcite-tooltip style=${y({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${i} open placement=trailing-end>${i.text}</calcite-tooltip>`), document.body.appendChild(this.actionTooltip));
|
|
26
26
|
} else
|
|
27
27
|
this.actionTooltip = n(this.actionTooltip);
|
|
28
28
|
}, this._csvExportExclusionList = [k.ScatterSeries, k.BoxPlotSeries], this.actionTooltip = null, this.forceDisableActions = !1, this.editChartToggle = t.Inactive, this.editChartState = o.Disabled, this.legendToggle = t.Inactive, this.legendState = o.Enabled, this.rotateChartToggle = t.Inactive, this.rotateChartState = o.Enabled, this.filterBySelectionToggle = t.Inactive, this.filterBySelectionState = o.Enabled, this.filterByExtentToggle = t.Inactive, this.filterByExtentState = o.Enabled, this.actionBarSelectionMode = D.MultiSelectionWithCtrlKey, this.selectionToggle = t.Inactive, this.selectionState = o.Enabled, this.zoomToggle = t.Inactive, this.zoomState = o.Enabled, this.fullExtentToggle = t.Inactive, this.fullExtentState = o.Enabled, this.clearSelectionToggle = t.Inactive, this.clearSelectionState = o.Enabled, this.switchSelectionToggle = t.Inactive, this.switchSelectionState = o.Enabled, this.exportAsImageState = o.Enabled, this.exportAsCSVState = o.Enabled, this.disableCSVExportForChartTypes = this._csvExportExclusionList, this.csvExportExclusionList = this._csvExportExclusionList, this.exportActionState = o.Enabled, this.expanded = !1, this.hiddenActions = [e.EditChart], this.arcgisActionBarToggle = B(), this.arcgisDefaultActionSelect = B();
|
|
@@ -43,11 +43,11 @@ class Z extends V {
|
|
|
43
43
|
super.disconnectedCallback(), this.actionTooltip?.remove();
|
|
44
44
|
}
|
|
45
45
|
async onDefaultActionClick(l) {
|
|
46
|
-
const
|
|
47
|
-
actionId:
|
|
46
|
+
const c = l.currentTarget, i = {
|
|
47
|
+
actionId: c.id,
|
|
48
48
|
actionActive: !1
|
|
49
49
|
};
|
|
50
|
-
switch (
|
|
50
|
+
switch (c.id) {
|
|
51
51
|
case e.EditChart:
|
|
52
52
|
this.editChartToggle = this.editChartToggle === t.Active ? t.Inactive : t.Active, i.actionActive = this.editChartToggle === t.Active;
|
|
53
53
|
break;
|
|
@@ -100,13 +100,13 @@ class Z extends V {
|
|
|
100
100
|
}
|
|
101
101
|
setCustomActionsExpanded() {
|
|
102
102
|
this.el.querySelectorAll("calcite-action").forEach((l) => {
|
|
103
|
-
const
|
|
104
|
-
|
|
103
|
+
const c = l;
|
|
104
|
+
c.textEnabled = this.expanded;
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
handleExpandTooltip() {
|
|
108
108
|
this.expandAction === null && (this.expandAction = this.calciteActionBar.value?.shadowRoot?.querySelector("calcite-action") ?? null, this.expandAction !== null && (this.listenOn(this.expandAction, "mouseenter", () => {
|
|
109
|
-
!this.calciteActionBar.value?.expanded && this.expandAction !== null && !document.body.contains(this.actionTooltip) && (this.actionTooltip = C(
|
|
109
|
+
!this.calciteActionBar.value?.expanded && this.expandAction !== null && !document.body.contains(this.actionTooltip) && (this.actionTooltip = C(a`<calcite-tooltip style=${y({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${this.expandAction} open placement=trailing-end>${this._messages.expand ?? ""}</calcite-tooltip>`), document.body.appendChild(this.actionTooltip));
|
|
110
110
|
}), this.listenOn(this.expandAction, "mouseleave", () => {
|
|
111
111
|
!this.calciteActionBar.value?.expanded && this.actionTooltip !== null && (this.actionTooltip = n(this.actionTooltip));
|
|
112
112
|
}), this.listenOn(this.expandAction, "click", () => {
|
|
@@ -114,16 +114,16 @@ class Z extends V {
|
|
|
114
114
|
})));
|
|
115
115
|
}
|
|
116
116
|
renderDefaultActions() {
|
|
117
|
-
const l = z(this.chartType).filter((M) => !this.hiddenActions?.includes(M)),
|
|
117
|
+
const l = z(this.chartType).filter((M) => !this.hiddenActions?.includes(M)), c = this.chartElement?.layer && "isTable" in this.chartElement.layer ? this.chartElement.layer.isTable : !1, i = l.includes(e.EditChart), h = l.includes(e.Legend), d = l.includes(e.RotateChart), g = l.includes(e.FilterBySelection), m = l.includes(e.FilterByExtent) && !c, p = l.includes(e.Zoom), u = l.includes(e.Selection), x = l.includes(e.ClearSelection), A = l.includes(e.FullExtent), v = l.includes(e.SwitchSelection), f = l.includes(e.ExportAsImage), E = l.includes(e.ExportAsCSV);
|
|
118
118
|
return [
|
|
119
|
-
h || d ?
|
|
120
|
-
g || m ?
|
|
121
|
-
u || p || A || x || v ?
|
|
122
|
-
f || E ?
|
|
119
|
+
h || d ? a`<calcite-action-group>${i ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.EditChart ?? s} icon=gear .text=${this.commonStrings?.utilsStrings.actions?.editChart ?? ""} .textEnabled=${this.expanded} .active=${this.editChartToggle === t.Active} .disabled=${this.editChartState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${h ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Legend ?? s} .text=${this.legendTitle ?? this._messages?.legend ?? ""} .textEnabled=${this.expanded} .active=${this.legendToggle === t.Active} .disabled=${this.legendState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}><calcite-icon icon=legend scale=s flip-rtl></calcite-icon></calcite-action></div>` : null}${d ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.RotateChart ?? s} icon=rotate .text=${this.rotateChartTitle ?? this._messages?.rotateChart ?? ""} .textEnabled=${this.expanded} .active=${this.rotateChartToggle === t.Active} .disabled=${this.rotateChartState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
120
|
+
g || m ? a`<calcite-action-group>${g ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FilterBySelection ?? s} icon=selection-filter .text=${this.filterBySelectionTitle ?? this._messages?.filterBySelection ?? ""} .textEnabled=${this.expanded} .active=${this.filterBySelectionToggle === t.Active} .disabled=${this.filterBySelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${m ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FilterByExtent ?? s} icon=extent-filter .text=${this.filterByExtentTitle ?? this._messages?.filterByExtent ?? ""} .textEnabled=${this.expanded} .active=${this.filterByExtentToggle === t.Active} .disabled=${this.filterByExtentState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
121
|
+
u || p || A || x || v ? a`<calcite-action-group>${p ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Zoom ?? s} icon=magnifying-glass .text=${this.zoomTitle ?? this._messages?.zoom ?? ""} .textEnabled=${this.expanded} .active=${this.zoomToggle === t.Active} .disabled=${this.zoomState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${u ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Selection ?? s} icon=cursor-selection .text=${this.selectionTitle ?? this._messages?.selection ?? ""} .textEnabled=${this.expanded} .active=${this.selectionToggle === t.Active} .disabled=${this.selectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${x ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.ClearSelection ?? s} icon=erase .text=${this.clearSelectionTitle ?? this._messages?.clearSelection ?? ""} .textEnabled=${this.expanded} .active=${this.clearSelectionToggle === t.Active} .disabled=${this.clearSelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${A ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FullExtent ?? s} icon=zoom-out-fixed .text=${this.fullExtentTitle ?? this._messages?.fullExtent ?? ""} .textEnabled=${this.expanded} .active=${this.fullExtentToggle === t.Active} .disabled=${this.fullExtentState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${v ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.SwitchSelection ?? s} icon=arrow-right-left .text=${this.switchSelectionTitle ?? this._messages?.switchSelection ?? ""} .textEnabled=${this.expanded} .active=${this.switchSelectionToggle === t.Active} .disabled=${this.switchSelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
122
|
+
f || E ? a`<calcite-action-menu .label=${this._messages?.export ?? ""} ${b(this.exportCalciteActionBar)}><calcite-action id=export icon=export .text=${this._messages?.export ?? ""} .textEnabled=${this.expanded} .disabled=${this.exportActionState === o.Disabled || this.forceDisableActions} @mouseover=${this.handleMouseOver} slot=trigger></calcite-action>${f ? a`<div><calcite-action id=${e.ExportAsImage ?? s} icon=graph-bar .text=${this.exportAsImageTitle ?? this._messages?.exportAsImage ?? ""} .disabled=${this.exportAsImageState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick} text-enabled></calcite-action></div>` : null}${E ? a`<div><calcite-action id=${e.ExportAsCSV ?? s} icon=table .text=${this.exportAsCSVTitle ?? this._messages?.exportAsTable ?? ""} .disabled=${this.exportAsCSVState === o.Disabled || this.forceDisableActions || this.chartType && (this.disableCSVExportForChartTypes.includes(this.chartType) || this.csvExportExclusionList.includes(this.chartType))} @click=${this.onDefaultActionClick} text-enabled></calcite-action></div>` : null}</calcite-action-menu>` : null
|
|
123
123
|
];
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return
|
|
126
|
+
return a`<calcite-action-bar class=${L(N.actionBar)} @calciteActionBarToggle=${this.handleCalciteActionBarToggle} @mouseout=${this.handleMouseOut} .expanded=${this.expanded} .messageOverrides=${{ expand: this._messages.expand, collapse: this._messages.collapse }} overflow-actions-disabled ${b(this.calciteActionBar)}><slot name=${T.customActionTop} @slotchange=${this.handleSlotChange}></slot>${this.renderDefaultActions()}<slot name=${T.customActionBelow} @slotchange=${this.handleSlotChange}></slot></calcite-action-bar>`;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
w("arcgis-charts-action-bar", Z);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as b } from "../../chunks/runtime.js";
|
|
3
3
|
import { debounce as m } from "lodash-es";
|
|
4
|
-
import { g as f,
|
|
5
|
-
import { i as c, m as M, U as a,
|
|
4
|
+
import { g as f, a as N } from "../../chunks/store.js";
|
|
5
|
+
import { i as c, m as M, U as a, b as x, s as g } from "../../chunks/chart-ui-utils2.js";
|
|
6
6
|
import { A as B } from "../../chunks/axis-model-wrapper.js";
|
|
7
7
|
import { u as p } from "../../chunks/useT9n.js";
|
|
8
8
|
import { css as v, html as s } from "lit";
|
|
@@ -4,8 +4,8 @@ import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as c, html as s } from "lit";
|
|
5
5
|
import { isEqual as r } from "lodash-es";
|
|
6
6
|
import { C as t } from "../../chunks/interfaces.js";
|
|
7
|
-
import { ac as h,
|
|
8
|
-
import { p as m, h as u } from "../../chunks/
|
|
7
|
+
import { ac as h, bw as f, I as p, bb as g } from "../../chunks/index2.js";
|
|
8
|
+
import { p as m, h as u } from "../../chunks/index5.js";
|
|
9
9
|
const C = c`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
10
10
|
class F extends n {
|
|
11
11
|
constructor() {
|
|
@@ -3,16 +3,16 @@ import { c as w } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { keyed as $ } from "lit/directives/keyed.js";
|
|
4
4
|
import { isEqual as v } from "lodash-es";
|
|
5
5
|
import { repeat as k } from "lit/directives/repeat.js";
|
|
6
|
-
import { B as a,
|
|
7
|
-
import { d as O,
|
|
8
|
-
import {
|
|
6
|
+
import { B as a, c as p } from "../../chunks/interfaces.js";
|
|
7
|
+
import { d as O, a as y, r as D, b as E } from "../../chunks/store.js";
|
|
8
|
+
import { b as P } from "../../chunks/chart-ui-utils2.js";
|
|
9
9
|
import { u as I } from "../../chunks/useT9n.js";
|
|
10
10
|
import { css as _, html as n, nothing as N } from "lit";
|
|
11
11
|
import { createRef as c, ref as m } from "lit/directives/ref.js";
|
|
12
12
|
import { LitElement as U, createEvent as b, safeClassMap as l, renderElement as V } from "@arcgis/lumina";
|
|
13
13
|
import { d as S, f as z, F as M, C as F, m as R } from "../../chunks/index3.js";
|
|
14
14
|
import { x as K } from "../../chunks/data.js";
|
|
15
|
-
import { an as B, k as j, Y as A,
|
|
15
|
+
import { an as B, k as j, Y as A, bb as H } from "../../chunks/index2.js";
|
|
16
16
|
import { t as q, ag as W } from "../../chunks/index.js";
|
|
17
17
|
import { r as Z } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { r as d, s as L, u as C, m as f } from "../../chunks/chart-object-literals.js";
|
|
@@ -112,7 +112,7 @@ class Y extends U {
|
|
|
112
112
|
onCalciteListOrderChange(e) {
|
|
113
113
|
if (e.detail !== null && e.detail !== void 0) {
|
|
114
114
|
const { newIndex: t, oldIndex: i } = e.detail;
|
|
115
|
-
this.model.moveCustomSortValuesInOrderByList(i, t);
|
|
115
|
+
this.model.moveCustomSortValuesInOrderByList(i ?? 0, t ?? i ?? 0);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
onCustomSortItemSelected(e) {
|
|
@@ -235,7 +235,7 @@ class Y extends U {
|
|
|
235
235
|
this.model.trimIncompleteTimeInterval = e.target.checked;
|
|
236
236
|
}
|
|
237
237
|
onNullPolicyChange(e) {
|
|
238
|
-
this.model.nullPolicy = e.target.selectedItem
|
|
238
|
+
this.model.nullPolicy = e.target.selectedItem?.value;
|
|
239
239
|
}
|
|
240
240
|
shouldShowTimeBinning() {
|
|
241
241
|
const e = this.layerFieldsInfo.find((i) => i.name === this.model.xAxisField), t = this.model.aggregationType !== d.NoAggregation;
|
|
@@ -9,13 +9,13 @@ import { createRef as g, ref as d } from "lit/directives/ref.js";
|
|
|
9
9
|
import { isEqual as y } from "lodash-es";
|
|
10
10
|
import { u as $ } from "../../chunks/useT9n.js";
|
|
11
11
|
import { B as n } from "../../chunks/interfaces.js";
|
|
12
|
-
import {
|
|
12
|
+
import { c as v, b as L, e as h, a as x, f as E, s as z } from "../../chunks/chart-ui-utils2.js";
|
|
13
13
|
import { R as k } from "../../chunks/rest-js-object-literals.js";
|
|
14
14
|
import { t as u, r as N, s as p } from "../../chunks/chart-object-literals.js";
|
|
15
15
|
import { S as m } from "../../chunks/common.js";
|
|
16
16
|
import { e as w, p as B } from "../../chunks/popover-ui-utils.js";
|
|
17
17
|
import { t as K, ag as _ } from "../../chunks/index.js";
|
|
18
|
-
import { a2 as
|
|
18
|
+
import { a2 as O, bh as I, bb as j, bu as H, bk as M } from "../../chunks/index2.js";
|
|
19
19
|
import { d as U, m as W } from "../../chunks/index3.js";
|
|
20
20
|
const R = D`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`, o = {
|
|
21
21
|
jsAppFlyout: "js-app-flyout",
|
|
@@ -64,7 +64,7 @@ class q extends S {
|
|
|
64
64
|
}
|
|
65
65
|
createTooltip(e) {
|
|
66
66
|
if (e.target?.label === this._messages.customSort && this.isCustomSortDisabled) {
|
|
67
|
-
const t = e.target, i =
|
|
67
|
+
const t = e.target, i = O(t), s = new Intl.NumberFormat(i).format(L.customSortLimit), r = P(this._messages.customSortLimit ?? "", {
|
|
68
68
|
totalLimit: s
|
|
69
69
|
});
|
|
70
70
|
this.tooltip = T(a`<calcite-tooltip style=${A({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${r}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
@@ -121,7 +121,7 @@ class q extends S {
|
|
|
121
121
|
i.push(l);
|
|
122
122
|
for (let s = 0; s < t; s += 1) {
|
|
123
123
|
const r = this.layerFieldsInfo?.[s];
|
|
124
|
-
r && (r.type === k.String || I(r) ||
|
|
124
|
+
r && (r.type === k.String || I(r) || j(r) || H(r)) && i.push(this.buildPickListItem(r));
|
|
125
125
|
}
|
|
126
126
|
break;
|
|
127
127
|
}
|
|
@@ -5,7 +5,7 @@ import { repeat as T } from "lit/directives/repeat.js";
|
|
|
5
5
|
import { u as P } from "../../chunks/useT9n.js";
|
|
6
6
|
import { css as L, html as l } from "lit";
|
|
7
7
|
import { LitElement as M, createEvent as N, renderElement as u, safeStyleMap as h, safeClassMap as a } from "@arcgis/lumina";
|
|
8
|
-
import {
|
|
8
|
+
import { a as O } from "../../chunks/chart-ui-utils2.js";
|
|
9
9
|
import { C as _, F as C } from "../../chunks/index3.js";
|
|
10
10
|
import { r as v } from "../../chunks/popover-ui-utils.js";
|
|
11
11
|
import { q as r, r as f } from "../../chunks/chart-object-literals.js";
|
|
@@ -118,7 +118,7 @@ class D extends M {
|
|
|
118
118
|
onCalciteListOrderChange(e) {
|
|
119
119
|
if (e.detail !== null && e.detail !== void 0) {
|
|
120
120
|
const { newIndex: t, oldIndex: s } = e.detail;
|
|
121
|
-
this.model.moveSeries(s, t), this.seriesOrderResetCounter += 1;
|
|
121
|
+
this.model.moveSeries(s ?? 0, t ?? s ?? 0), this.seriesOrderResetCounter += 1;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
openSeriesPopOver(e) {
|
|
@@ -5,7 +5,7 @@ import { css as d, html as s } from "lit";
|
|
|
5
5
|
import { isEqual as r } from "lodash-es";
|
|
6
6
|
import { C as a } from "../../chunks/interfaces.js";
|
|
7
7
|
import { ac as c, I as h } from "../../chunks/index2.js";
|
|
8
|
-
import { h as f } from "../../chunks/
|
|
8
|
+
import { h as f } from "../../chunks/index5.js";
|
|
9
9
|
const m = d`: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%}`;
|
|
10
10
|
class p extends n {
|
|
11
11
|
constructor() {
|
|
@@ -3,9 +3,9 @@ import { c as b } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
4
4
|
import { isEqual as C } from "lodash-es";
|
|
5
5
|
import { repeat as y } from "lit/directives/repeat.js";
|
|
6
|
-
import { a as l, d } from "../../chunks/interfaces.js";
|
|
7
|
-
import { d as S,
|
|
8
|
-
import {
|
|
6
|
+
import { a as l, c as d } from "../../chunks/interfaces.js";
|
|
7
|
+
import { d as S, a as v } from "../../chunks/store.js";
|
|
8
|
+
import { b as $ } from "../../chunks/chart-ui-utils2.js";
|
|
9
9
|
import { u as F } from "../../chunks/useT9n.js";
|
|
10
10
|
import { css as x, nothing as I, html as a } from "lit";
|
|
11
11
|
import { createRef as m, ref as h } from "lit/directives/ref.js";
|
|
@@ -99,7 +99,7 @@ class D extends B {
|
|
|
99
99
|
onCalciteListOrderChange(e) {
|
|
100
100
|
if (e.detail !== null && e.detail !== void 0) {
|
|
101
101
|
const { newIndex: t, oldIndex: s } = e.detail;
|
|
102
|
-
this.model.moveCustomSortValuesInOrderByList(s, t);
|
|
102
|
+
this.model.moveCustomSortValuesInOrderByList(s ?? 0, t ?? s ?? 0);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
onCustomSortItemSelected(e) {
|
|
@@ -4,14 +4,14 @@ import { keyed as p } from "lit/directives/keyed.js";
|
|
|
4
4
|
import { repeat as v } from "lit/directives/repeat.js";
|
|
5
5
|
import { substitute as $ } from "@arcgis/core/intl.js";
|
|
6
6
|
import { a as l } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
7
|
+
import { b as u, f as y, e as h, a as F } from "../../chunks/chart-ui-utils2.js";
|
|
8
8
|
import { u as L } from "../../chunks/useT9n.js";
|
|
9
9
|
import { css as P, html as n } from "lit";
|
|
10
10
|
import { createRef as f, ref as m } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as I, createEvent as g, renderElement as x, safeStyleMap as D, safeClassMap as d } from "@arcgis/lumina";
|
|
12
12
|
import { B as r } from "../../chunks/common.js";
|
|
13
13
|
import { e as S, p as T } from "../../chunks/popover-ui-utils.js";
|
|
14
|
-
import {
|
|
14
|
+
import { bh as b, bk as E, a2 as w } from "../../chunks/index2.js";
|
|
15
15
|
import { d as B } from "../../chunks/index3.js";
|
|
16
16
|
import { R as C } from "../../chunks/rest-js-object-literals.js";
|
|
17
17
|
const o = {
|
|
@@ -5,7 +5,7 @@ import { keyed as y } from "lit/directives/keyed.js";
|
|
|
5
5
|
import { repeat as M } from "lit/directives/repeat.js";
|
|
6
6
|
import { u as B } from "../../chunks/useT9n.js";
|
|
7
7
|
import { LitElement as O, renderElement as d, safeStyleMap as h, safeClassMap as a } from "@arcgis/lumina";
|
|
8
|
-
import {
|
|
8
|
+
import { a as w } from "../../chunks/chart-ui-utils2.js";
|
|
9
9
|
import { C as S } from "../../chunks/index3.js";
|
|
10
10
|
import { r as f } from "../../chunks/popover-ui-utils.js";
|
|
11
11
|
import { b as m } from "../../chunks/chart-object-literals.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as o } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as l, html as c } from "lit";
|
|
4
|
-
import {
|
|
4
|
+
import { g } from "../../chunks/chart-ui-utils2.js";
|
|
5
5
|
import { u as h } from "../../chunks/useT9n.js";
|
|
6
6
|
import { LitElement as m, createEvent as n } from "@arcgis/lumina";
|
|
7
7
|
const u = "arcgis-charts-config-storage-colors", v = l`:host{--calcite-color-border-1: transparent}.color-header{margin-bottom:.5rem}`;
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
import { c as V } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as U } from "lit/directives/repeat.js";
|
|
4
4
|
import { keyed as b } from "lit/directives/keyed.js";
|
|
5
|
-
import { createModel as R } from "../../model.js";
|
|
5
|
+
import { createModel as R } from "../../model/shared/setup-utils.js";
|
|
6
6
|
import { g as S, i as T, u as _, k as v, m as I } from "../../chunks/type-guards2.js";
|
|
7
7
|
import { i as H } from "../../chunks/rotated-state.js";
|
|
8
8
|
import { substitute as z } from "@arcgis/core/intl.js";
|
|
9
9
|
import { C as n } from "../../chunks/interfaces.js";
|
|
10
10
|
import { isEqual as D } from "lodash-es";
|
|
11
|
-
import { i as F } from "../../chunks/
|
|
11
|
+
import { i as F } from "../../chunks/index4.js";
|
|
12
12
|
import { D as E, w as k, F as O } from "../../chunks/index3.js";
|
|
13
|
-
import { LitElement as W, createEvent as f, renderElement as L, safeStyleMap as
|
|
13
|
+
import { LitElement as W, createEvent as f, renderElement as L, safeStyleMap as Z, safeClassMap as d } from "@arcgis/lumina";
|
|
14
14
|
import { css as G, html as h } from "lit";
|
|
15
|
-
import { createRef as
|
|
15
|
+
import { createRef as X, ref as K } from "lit/directives/ref.js";
|
|
16
16
|
import { u as P } from "../../chunks/useT9n.js";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
17
|
+
import { c as j, a as x, g as q } from "../../chunks/store.js";
|
|
18
|
+
import { d0 as Y, _ as Q, d1 as J, K as ee, bZ as te } from "../../chunks/index2.js";
|
|
19
19
|
import { A as ae } from "../../chunks/axis-model-wrapper.js";
|
|
20
|
-
import { h as ie,
|
|
21
|
-
import {
|
|
22
|
-
import { C as M } from "../../chunks/
|
|
20
|
+
import { h as ie, f as y } from "../../chunks/web-component-utils.js";
|
|
21
|
+
import { a as se } from "../../chunks/chart-ui-utils2.js";
|
|
22
|
+
import { C as M } from "../../chunks/index6.js";
|
|
23
23
|
import { a as B } from "../../chunks/chart-ui-utils.js";
|
|
24
24
|
import { c as re, d as $ } from "../../chunks/type-guards.js";
|
|
25
25
|
import { r as oe } from "../../chunks/popover-ui-utils.js";
|
|
@@ -83,7 +83,7 @@ function pe(m, e) {
|
|
|
83
83
|
const me = G`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
|
|
84
84
|
class ue extends W {
|
|
85
85
|
constructor() {
|
|
86
|
-
super(), this.selectChartTypePopover = null, this.chartsListFlowItem =
|
|
86
|
+
super(), this.selectChartTypePopover = null, this.chartsListFlowItem = X(), this.supportedChartTypes = [
|
|
87
87
|
o.BarSeries,
|
|
88
88
|
o.BoxPlotSeries,
|
|
89
89
|
o.LineSeries,
|
|
@@ -391,7 +391,7 @@ class ue extends W {
|
|
|
391
391
|
t = "";
|
|
392
392
|
break;
|
|
393
393
|
}
|
|
394
|
-
this.tooltip = L(h`<calcite-tooltip style=${
|
|
394
|
+
this.tooltip = L(h`<calcite-tooltip style=${Z({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${i} open placement=top>${t}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
395
395
|
}
|
|
396
396
|
destroyTooltip() {
|
|
397
397
|
se(this.tooltip);
|
|
@@ -3,15 +3,15 @@ import { c as M } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { ref as B } from "lit/directives/ref.js";
|
|
4
4
|
import { s as S, m as n, k as h, j as T, e as V, u as w } from "../../chunks/type-guards2.js";
|
|
5
5
|
import { i as L } from "../../chunks/data-labels-symbol.js";
|
|
6
|
-
import { i as P,
|
|
6
|
+
import { i as P, a as C, b as E } from "../../chunks/axis-lines-symbol.js";
|
|
7
7
|
import { isEmpty as f, cloneDeep as a, isArray as F, isObject as A, mergeWith as G } from "lodash-es";
|
|
8
|
-
import {
|
|
8
|
+
import { h as W } from "../../chunks/chart-ui-utils2.js";
|
|
9
9
|
import { g as D, i as b } from "../../chunks/rest-js-object-literals.js";
|
|
10
10
|
import { u as N } from "../../chunks/useT9n.js";
|
|
11
11
|
import { css as H, html as u } from "lit";
|
|
12
12
|
import { LitElement as j, renderElement as I, safeClassMap as p } from "@arcgis/lumina";
|
|
13
13
|
import { C as O, F as i, L as d } from "../../chunks/common.js";
|
|
14
|
-
import { q as x, x as l } from "../../chunks/
|
|
14
|
+
import { q as x, x as l } from "../../chunks/index5.js";
|
|
15
15
|
import { r as $ } from "../../chunks/popover-ui-utils.js";
|
|
16
16
|
import { u as r } from "../../chunks/chart-object-literals.js";
|
|
17
17
|
const v = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as T } from "../../chunks/runtime.js";
|
|
3
3
|
import { m as n, f as r, k as c } from "../../chunks/type-guards2.js";
|
|
4
|
-
import { i as h,
|
|
4
|
+
import { i as h, a as m, b as g } from "../../chunks/generate-x-axis-title.js";
|
|
5
5
|
import { isEmpty as x } from "lodash-es";
|
|
6
6
|
import { m as u, U as b } from "../../chunks/chart-ui-utils2.js";
|
|
7
7
|
import { u as p } from "../../chunks/useT9n.js";
|
|
@@ -9,7 +9,7 @@ import { css as C, html as l } from "lit";
|
|
|
9
9
|
import { createRef as f, ref as $ } from "lit/directives/ref.js";
|
|
10
10
|
import { LitElement as v, safeClassMap as i } from "@arcgis/lumina";
|
|
11
11
|
import { k as a } from "../../chunks/chart-object-literals.js";
|
|
12
|
-
import { i as y } from "../../chunks/
|
|
12
|
+
import { i as y } from "../../chunks/index4.js";
|
|
13
13
|
const s = {
|
|
14
14
|
textInput: "text-input",
|
|
15
15
|
label: "label",
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import { c as R } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as X } from "lit/directives/keyed.js";
|
|
4
4
|
import { cloneDeep as E } from "lodash-es";
|
|
5
|
-
import { m as G,
|
|
5
|
+
import { m as G, a as N, j as Z, k, U as S } from "../../chunks/chart-ui-utils2.js";
|
|
6
6
|
import { d as F } from "../../chunks/default.js";
|
|
7
7
|
import { g as q } from "../../chunks/resource.js";
|
|
8
8
|
import { u as z } from "../../chunks/useT9n.js";
|
|
9
|
-
import { css as O, html as
|
|
9
|
+
import { css as O, html as c } from "lit";
|
|
10
10
|
import { createRef as h, ref as u } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as V, createEvent as U, renderElement as M, safeStyleMap as L, safeClassMap as o } from "@arcgis/lumina";
|
|
12
12
|
import { m as W, p as Y, q as j } from "../../chunks/type-guards2.js";
|
|
13
13
|
import { M as p, i as H, a1 as A, aI as _ } from "../../chunks/index2.js";
|
|
14
14
|
import { Z as J } from "../../chunks/index.js";
|
|
15
|
-
import { q as m, p as K } from "../../chunks/
|
|
15
|
+
import { q as m, p as K } from "../../chunks/index5.js";
|
|
16
16
|
import { r as Q } from "../../chunks/popover-ui-utils.js";
|
|
17
17
|
import { i as g, g as ee } from "../../chunks/rest-js-object-literals.js";
|
|
18
18
|
import { u as te } from "../../chunks/chart-object-literals.js";
|
|
@@ -102,15 +102,15 @@ class se extends V {
|
|
|
102
102
|
})), this.guidePopover?.open === !0 && this.removeGuidePopover();
|
|
103
103
|
}
|
|
104
104
|
setGuideDateTimeRange() {
|
|
105
|
-
const e = this.calculatedMinMaxBounds?.find((
|
|
105
|
+
const e = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = H(this.timeZone) ?? l, r = A(i, s), v = _(i, s), f = A(a, s), B = _(a, s), T = this.startDateCalciteInput.value?.value ?? "", C = T === "" ? r : T, D = this.startTimeCalciteInput.value?.value ?? "", I = D === "" ? v : D, x = this.endDateCalciteInput.value?.value ?? "", y = x === "" ? f : x, w = this.endTimeCalciteInput.value?.value ?? "", P = w === "" ? B : w;
|
|
106
106
|
let $ = !1;
|
|
107
107
|
if (!Array.isArray(C) && C !== void 0 && I !== void 0) {
|
|
108
|
-
const
|
|
109
|
-
this.model.setGuideStart(
|
|
108
|
+
const d = `${C}T${I}`;
|
|
109
|
+
this.model.setGuideStart(d, this.index, this.orientation), $ = !0;
|
|
110
110
|
}
|
|
111
111
|
if (!Array.isArray(y) && y !== void 0 && P !== void 0) {
|
|
112
|
-
const
|
|
113
|
-
this.model.setGuideEnd(
|
|
112
|
+
const d = x === "" ? void 0 : `${y}T${P}`;
|
|
113
|
+
this.model.setGuideEnd(d, this.index, this.orientation), $ = !0;
|
|
114
114
|
}
|
|
115
115
|
$ && (this.symbolChange(), this.arcgisChartsConfigGuideChange.emit({
|
|
116
116
|
index: this.index,
|
|
@@ -159,7 +159,7 @@ class se extends V {
|
|
|
159
159
|
let l;
|
|
160
160
|
p(i, a) === g.SLS ? l = m(t) ? t : void 0 : l = t?.color;
|
|
161
161
|
const s = this.colorElement.value;
|
|
162
|
-
Array.isArray(t?.color) ? (this.guidePopover = M(
|
|
162
|
+
Array.isArray(t?.color) ? (this.guidePopover = M(c`<arcgis-charts-config-guide-popover .referenceElement=${s} open .selectedElement=${l} @arcgisChartsConfigGuidePopoverColorChange=${this.colorChange} @arcgisChartsConfigGuidePopoverSymbolChange=${this.symbolChange} @arcgisChartsConfigPopoverClose=${this.removeGuidePopover}></arcgis-charts-config-guide-popover>`), this.guidePopover !== void 0 && !document.body.contains(this.guidePopover) && document.body.appendChild(this.guidePopover)) : this.removeGuidePopover();
|
|
163
163
|
}
|
|
164
164
|
removeGuidePopover() {
|
|
165
165
|
this.guidePopover !== null && this.guidePopover !== void 0 && (this.guidePopover = Q(this.guidePopover));
|
|
@@ -197,7 +197,7 @@ class se extends V {
|
|
|
197
197
|
i = this._messages.deleteGuide ?? "";
|
|
198
198
|
break;
|
|
199
199
|
}
|
|
200
|
-
this.tooltip = M(
|
|
200
|
+
this.tooltip = M(c`<calcite-tooltip style=${L({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
201
201
|
}
|
|
202
202
|
toggleGuide() {
|
|
203
203
|
const e = this.model.getGuideVisibility(this.index, this.orientation);
|
|
@@ -215,14 +215,14 @@ class se extends V {
|
|
|
215
215
|
}
|
|
216
216
|
renderColorElement() {
|
|
217
217
|
const e = this.model.getGuideStyle(this.index, this.orientation), [t, i, a, l] = [...e?.color ?? [1, 1, 1, 255]], s = this.model.getGuideStart(this.index, this.orientation), r = this.model.getGuideEnd(this.index, this.orientation), v = m(e) ? Z(e.style) : ee.Solid, f = p(s, r) === g.SLS ? `line-${v}` : "square-f";
|
|
218
|
-
return
|
|
218
|
+
return c`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .value=${this._messages.style} class=${o(n.colorPicker)} .label=${this._messages.style} .selected=${this.guidePopover?.open} @click=${this.onColorElementSelect} ${u(this.colorElement)}><calcite-icon slot=content-end .icon=${f} style=${L({ color: `rgba(${t},${i},${a},${l / 255})` })}></calcite-icon></calcite-list-item></calcite-list>`;
|
|
219
219
|
}
|
|
220
220
|
render() {
|
|
221
221
|
const e = this.model.getGuideStart(this.index, this.orientation), t = this.model.getGuideEnd(this.index, this.orientation), i = this.model.getGuideName(this.index, this.orientation), a = this.model.getGuideLabelText(this.index, this.orientation), l = this.model.getGuideAbove(this.index, this.orientation), s = this.model.getGuideVisibility(this.index, this.orientation), r = this.isXAxisDateField;
|
|
222
|
-
return
|
|
222
|
+
return c`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition === q(this.index, this.orientation, this.model)} collapsible .messageOverrides=${{
|
|
223
223
|
expand: this._messages.expand,
|
|
224
224
|
collapse: this._messages.collapse
|
|
225
|
-
}}><calcite-action slot=actions-end text .icon=${s ? "view-visible" : "view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=actions-end text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.start}${r ?
|
|
225
|
+
}}><calcite-action slot=actions-end text .icon=${s ? "view-visible" : "view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=actions-end text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.start}${r ? c`<calcite-input-date-picker .value=${this.getDateStringFromBound(e)} required scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${u(this.startDateCalciteInput)}></calcite-input-date-picker>` : c`<calcite-input type=number required @calciteInputInput=${this.setGuideStart} @keydown=${k} number-button-type=none .value=${e?.toString()} ${u(this.startCalciteInput)}></calcite-input>`}</calcite-label><calcite-label class=${o(n.column)}>${this._messages.end}${r ? c`<calcite-input-date-picker .value=${this.getDateStringFromBound(t)} scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${u(this.endDateCalciteInput)}></calcite-input-date-picker>` : c`<calcite-input type=number @calciteInputInput=${this.setGuideEnd} @keydown=${k} number-button-type=none .value=${t?.toString()} ${u(this.endCalciteInput)}></calcite-input>`}</calcite-label></div>${r ? X("time-picker-row", c`<div class=${o(n.row)}>${e != null ? c`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(e)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${u(this.startTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}${t != null ? c`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(t)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${u(this.endTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}</div>`) : null}<div class=${o(n.row)}><div class=${o(n.column)}>${this.renderColorElement()}</div></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideName}<calcite-input type=text .value=${i} @calciteInputInput=${this.setGuideName}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideLabel}<calcite-input type=text .value=${a} @calciteInputInput=${this.setGuideLabel}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.display}<calcite-segmented-control @calciteSegmentedControlChange=${this.setGuideRendered} scale=s><calcite-segmented-control-item .checked=${l} .value=${this._messages.inFront}>${this._messages.inFront}</calcite-segmented-control-item><calcite-segmented-control-item .checked=${!l} .value=${this._messages.inBack}>${this._messages.inBack}</calcite-segmented-control-item></calcite-segmented-control></calcite-label></div></calcite-block>`;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
R("arcgis-charts-config-guide", se);
|
|
@@ -4,7 +4,7 @@ import { LitElement as l } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as n, html as i } from "lit";
|
|
5
5
|
import { C as o } from "../../chunks/interfaces.js";
|
|
6
6
|
import { isEqual as d } from "lodash-es";
|
|
7
|
-
import { h } from "../../chunks/
|
|
7
|
+
import { h } from "../../chunks/index5.js";
|
|
8
8
|
import { ac as c, I as f } from "../../chunks/index2.js";
|
|
9
9
|
const m = n`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
10
10
|
class p extends l {
|
|
@@ -11,15 +11,15 @@ import { u as R } from "../../chunks/useT9n.js";
|
|
|
11
11
|
import { e as l, W as C } from "../../chunks/interfaces.js";
|
|
12
12
|
import { x as W } from "../../chunks/data.js";
|
|
13
13
|
import { i as V } from "../../chunks/utils.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { l as v, s as q } from "../../chunks/chart-ui-utils2.js";
|
|
15
|
+
import { e as $, g as K, d as j, j as z } from "../../chunks/class-breaks.js";
|
|
16
|
+
import { e as X, a as Z } from "../../chunks/store.js";
|
|
17
17
|
import { H as G } from "../../chunks/common.js";
|
|
18
18
|
import { i as Y } from "../../chunks/rest-js-object-literals.js";
|
|
19
19
|
import { r as d, m as h, d as u, u as m, h as f, e as F, i as J } from "../../chunks/chart-object-literals.js";
|
|
20
20
|
import { t as Q, j as ee, k as g } from "../../chunks/index.js";
|
|
21
21
|
import { an as S } from "../../chunks/index2.js";
|
|
22
|
-
import { i as ae } from "../../chunks/
|
|
22
|
+
import { i as ae } from "../../chunks/index4.js";
|
|
23
23
|
import { r as te } from "../../chunks/popover-ui-utils.js";
|
|
24
24
|
const se = _`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.color-ramp{width:100%;height:20px;overflow:hidden;border-radius:0}.color-ramp-segment{height:100%;display:inline-block}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.accordion{margin-top:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}`, r = {
|
|
25
25
|
label: "label",
|
|
@@ -239,7 +239,7 @@ class le extends E {
|
|
|
239
239
|
this.model.includeLeapDay = a;
|
|
240
240
|
}
|
|
241
241
|
onNullPolicyChange(e) {
|
|
242
|
-
this.model.nullPolicy = e.target.selectedItem
|
|
242
|
+
this.model.nullPolicy = e.target.selectedItem?.value;
|
|
243
243
|
}
|
|
244
244
|
setupPopover(e) {
|
|
245
245
|
e.stopImmediatePropagation(), this.removeHeatChartDataPopover();
|