@arcgis/charts-components 5.1.0-next.111 → 5.1.0-next.113
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/README.md +2 -2
- package/dist/cdn/24TOMTMP.js +2 -0
- package/dist/cdn/2EPXIQFD.js +2 -0
- package/dist/cdn/2JUO3GP2.js +2 -0
- package/dist/cdn/2SVBUT3V.js +2 -0
- package/dist/cdn/2XTQT6TW.js +2 -0
- package/dist/cdn/{ANMNNZTA.js → 2YI4HWFY.js} +39 -39
- package/dist/cdn/34WNZMJY.js +2 -0
- package/dist/cdn/43P4WOC4.js +2 -0
- package/dist/cdn/4G5JOLEP.js +2 -0
- package/dist/cdn/4MZJZQDO.js +2 -0
- package/dist/cdn/52QMEXI6.js +2 -0
- package/dist/cdn/5I75UYWD.js +2 -0
- package/dist/cdn/5M72DGYL.js +2 -0
- package/dist/cdn/5PG6PXDG.js +2 -0
- package/dist/cdn/6FGRLBTA.js +2 -0
- package/dist/cdn/6JNHTWDQ.js +2 -0
- package/dist/cdn/6YSH3ROL.js +2 -0
- package/dist/cdn/75Y43JLP.js +2 -0
- package/dist/cdn/777EBGS5.js +2 -0
- package/dist/cdn/7AVVBDQS.js +4 -0
- package/dist/cdn/7EDHTVVK.js +2 -0
- package/dist/cdn/7MHEEH5F.js +2 -0
- package/dist/cdn/7MKAC33Z.js +2 -0
- package/dist/cdn/7Y76VKGS.js +2 -0
- package/dist/cdn/AC2XSIOU.js +2 -0
- package/dist/cdn/AEESEH6N.js +2 -0
- package/dist/cdn/AYY2C4BW.js +2 -0
- package/dist/cdn/BH7WDRGU.js +2 -0
- package/dist/cdn/BZUQTY3A.js +2 -0
- package/dist/cdn/CMPHBGKB.js +2 -0
- package/dist/cdn/DDA7NVBX.js +2 -0
- package/dist/cdn/DMDXALHQ.js +2 -0
- package/dist/cdn/DX5LK7LS.js +2 -0
- package/dist/cdn/ERUYMQOC.js +2 -0
- package/dist/cdn/{CSNF7XRL.js → ESUMWLYT.js} +1 -1
- package/dist/cdn/EULFJ5JL.js +2 -0
- package/dist/cdn/EX27CNDS.js +2 -0
- package/dist/cdn/FIMXZMTB.js +2 -0
- package/dist/cdn/FYI7J2KF.js +2 -0
- package/dist/cdn/G42X3FFH.js +2 -0
- package/dist/cdn/GGZNH26O.js +2 -0
- package/dist/cdn/HIQSXKPT.js +3 -0
- package/dist/cdn/HS2WQJEO.js +2 -0
- package/dist/cdn/IBCUXQZ4.js +2 -0
- package/dist/cdn/IC4OZCXG.js +2 -0
- package/dist/cdn/JGD2M47O.js +2 -0
- package/dist/cdn/KGOERXN5.js +2 -0
- package/dist/cdn/{JEQDHNEJ.js → KPXH2MNB.js} +1 -1
- package/dist/cdn/KSBWHMXE.js +2 -0
- package/dist/cdn/{6KFD2LHE.js → L3ULFQN3.js} +1 -1
- package/dist/cdn/LKHNZDEC.js +2 -0
- package/dist/cdn/LXVLBS7T.js +2 -0
- package/dist/cdn/M5E3NFDP.js +2 -0
- package/dist/cdn/MKEUDI3M.js +2 -0
- package/dist/cdn/MKQPW6B4.js +2 -0
- package/dist/cdn/MVAMHZ3Q.js +2 -0
- package/dist/cdn/{VTJXTTAB.js → MZ2UZAFW.js} +1 -1
- package/dist/cdn/N265ZHHU.js +2 -0
- package/dist/cdn/N2S6YV3I.js +2 -0
- package/dist/cdn/N3EATDXE.js +2 -0
- package/dist/cdn/NLWP2JOG.js +2 -0
- package/dist/cdn/NR3BCOHU.js +3 -0
- package/dist/cdn/O2JEDVIA.js +2 -0
- package/dist/cdn/OB7IDW6S.js +2 -0
- package/dist/cdn/OBPCKG62.js +2 -0
- package/dist/cdn/OCERCT4I.js +2 -0
- package/dist/cdn/OFN7ED75.js +2 -0
- package/dist/cdn/OQSFVGUL.js +2 -0
- package/dist/cdn/PA3PSUQ3.js +2 -0
- package/dist/cdn/PYFMKPMO.js +2 -0
- package/dist/cdn/QRZ32JMG.js +2 -0
- package/dist/cdn/R3GNKVFS.js +2 -0
- package/dist/cdn/R3Y2F64T.js +2 -0
- package/dist/cdn/RBVV7JGY.js +102 -0
- package/dist/cdn/RSXO7AZM.js +2 -0
- package/dist/cdn/S32VCEG7.js +2 -0
- package/dist/cdn/S7ASARWB.js +2 -0
- package/dist/cdn/SBS4J65N.js +2 -0
- package/dist/cdn/SVMC3JP5.js +2 -0
- package/dist/cdn/SYXU6NZX.js +2 -0
- package/dist/cdn/T3CSQ5DU.js +2 -0
- package/dist/cdn/T3NJTAF3.js +2 -0
- package/dist/cdn/T53WJZQN.js +2 -0
- package/dist/cdn/TES5ZESK.js +2 -0
- package/dist/cdn/{XSMRKVR2.js → TJQGGNGV.js} +1 -1
- package/dist/cdn/TOO3T62Y.js +2 -0
- package/dist/cdn/U5ZB4YD6.js +2 -0
- package/dist/cdn/UK2A3DRS.js +2 -0
- package/dist/cdn/UNDCO72C.js +2 -0
- package/dist/cdn/UR537UXK.js +2 -0
- package/dist/cdn/VMAOMKFN.js +2 -0
- package/dist/cdn/VV7JMGHL.js +2 -0
- package/dist/cdn/W6CIWZSM.js +2 -0
- package/dist/cdn/WA5XK3HC.js +2 -0
- package/dist/cdn/WD4QY4YU.js +2 -0
- package/dist/cdn/WESXMGHU.js +2 -0
- package/dist/cdn/WFDVEHVL.js +2 -0
- package/dist/cdn/WI3CE5TT.js +2 -0
- package/dist/cdn/WNZ2PSFZ.js +2 -0
- package/dist/cdn/XLJSZ42M.js +2 -0
- package/dist/cdn/XM6GBBOL.js +2 -0
- package/dist/cdn/XOB365BI.js +2 -0
- package/dist/cdn/Y2AULE2F.js +2 -0
- package/dist/cdn/YE5ASSSN.js +2 -0
- package/dist/cdn/ZBLRD77K.js +2 -0
- package/dist/cdn/{5RMUCBSG.js → ZZRH7LXO.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/axis-lines-symbol.js +12 -12
- package/dist/chunks/bar-chart-model.js +20 -47
- package/dist/chunks/bar-chart-series.js +10 -40
- package/dist/chunks/box-plot-data.js +132 -155
- package/dist/chunks/box-plot-model.js +18 -18
- package/dist/chunks/chart-model.js +76 -103
- package/dist/chunks/chart-object-literals.js +189 -0
- package/dist/chunks/chart-ui-utils.js +17 -16
- package/dist/chunks/chart-ui-utils2.js +91 -116
- package/dist/chunks/class-breaks.js +375 -196
- package/dist/chunks/combo-bar-line-chart-model.js +19 -18
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +56 -84
- package/dist/chunks/data.js +82 -105
- package/dist/chunks/default.js +6 -7
- package/dist/chunks/gauge-model.js +42 -69
- package/dist/chunks/generate-x-axis-title.js +39 -66
- package/dist/chunks/heat-chart-model.js +183 -183
- package/dist/chunks/histogram-data.js +56 -80
- package/dist/chunks/histogram-model.js +24 -24
- package/dist/chunks/index.js +560 -21042
- package/dist/chunks/index2.js +8706 -596
- package/dist/chunks/index3.js +873 -160
- package/dist/chunks/index4.js +701 -76
- package/dist/chunks/index5.js +10794 -62
- package/dist/chunks/index6.js +99 -0
- package/dist/chunks/index7.js +66 -0
- package/dist/chunks/interfaces.js +31 -32
- package/dist/chunks/line-chart-model.js +12 -11
- package/dist/chunks/model-setter.js +44 -41
- package/dist/chunks/model-types.js +43 -0
- package/dist/chunks/model-with-y-guides.js +89 -116
- package/dist/chunks/negative-values-stacked-to-baseline.js +50 -79
- package/dist/chunks/pie-chart-data.js +89 -111
- package/dist/chunks/pie-chart-model.js +46 -70
- package/dist/chunks/radar-chart-model.js +35 -62
- package/dist/chunks/resource.js +8 -10
- package/dist/chunks/rotated-state.js +24 -52
- package/dist/chunks/scatterplot-model.js +90 -112
- package/dist/chunks/serial-chart-data.js +540 -530
- package/dist/chunks/serial-chart-model.js +90 -115
- package/dist/chunks/series-length.js +25 -53
- package/dist/chunks/series-types.js +21 -206
- package/dist/chunks/series.js +9 -38
- package/dist/chunks/time-zone.js +14 -15
- package/dist/chunks/type-guards.js +23 -132
- package/dist/chunks/type-guards2.js +100 -192
- package/dist/chunks/type-guards3.js +173 -0
- package/dist/chunks/utils.js +75 -97
- package/dist/chunks/utils2.js +34 -63
- package/dist/chunks/web-component-utils.js +85 -83
- package/dist/chunks/x-bounds.js +69 -95
- package/dist/components/arcgis-chart/customElement.js +3670 -3637
- package/dist/components/arcgis-charts-action-bar/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-axis/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +33 -60
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +47 -70
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +33 -54
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +37 -64
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +12 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +87 -111
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +41 -65
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -40
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +18 -45
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +17 -45
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +47 -68
- package/dist/components/arcgis-charts-config-font-style/customElement.js +21 -48
- package/dist/components/arcgis-charts-config-format/customElement.js +55 -82
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +12 -41
- package/dist/components/arcgis-charts-config-general/customElement.js +29 -55
- package/dist/components/arcgis-charts-config-guide/customElement.js +44 -68
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +14 -43
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -3
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +10 -39
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +29 -56
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +153 -175
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +56 -79
- package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -55
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +39 -62
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +26 -50
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +27 -54
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +23 -46
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +46 -69
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +33 -61
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +14 -42
- package/dist/components/arcgis-charts-config-line-style/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +28 -55
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +24 -49
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +42 -66
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +38 -65
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +31 -58
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +31 -55
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +16 -42
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +10 -38
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +21 -50
- package/dist/components/arcgis-charts-info-modal/customElement.js +17 -43
- 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 +57 -3
- package/dist/index.js +464 -459
- package/dist/json-schema/index.d.ts +4839 -4825
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -0
- package/dist/model.js +77 -39
- package/dist/spec/web-chart.d.ts +5 -1
- package/dist/utils/layer/index.d.ts +3 -1
- package/dist/utils/layer/utils/index.d.ts +16 -4
- package/package.json +3 -3
- package/dist/cdn/2NCZCQJQ.js +0 -2
- package/dist/cdn/2QWN4KMQ.js +0 -2
- package/dist/cdn/3HHF7GDV.js +0 -2
- package/dist/cdn/43EPRNLY.js +0 -2
- package/dist/cdn/53YROF54.js +0 -2
- package/dist/cdn/57M5BGHO.js +0 -2
- package/dist/cdn/5Y2AIQMX.js +0 -2
- package/dist/cdn/6CGECXEP.js +0 -2
- package/dist/cdn/6MDEAZCW.js +0 -2
- package/dist/cdn/6YLXJOBN.js +0 -2
- package/dist/cdn/7LE76H3V.js +0 -2
- package/dist/cdn/7OK6DOOJ.js +0 -2
- package/dist/cdn/7QJ77UCB.js +0 -2
- package/dist/cdn/7XCTW7TF.js +0 -2
- package/dist/cdn/ABPBMLW4.js +0 -4
- package/dist/cdn/ACBNPWST.js +0 -2
- package/dist/cdn/AU5NU5OU.js +0 -2
- package/dist/cdn/AUKWLONZ.js +0 -2
- package/dist/cdn/B3TAQSVG.js +0 -2
- package/dist/cdn/B7BDZS5Q.js +0 -2
- package/dist/cdn/B7OT7NHE.js +0 -2
- package/dist/cdn/BIW46U2E.js +0 -2
- package/dist/cdn/BNMVFWWL.js +0 -2
- package/dist/cdn/BUPTELGR.js +0 -2
- package/dist/cdn/C3EG6JVL.js +0 -2
- package/dist/cdn/CEML6AMG.js +0 -2
- package/dist/cdn/CSISDIV5.js +0 -2
- package/dist/cdn/CXSBPI44.js +0 -2
- package/dist/cdn/DEWZASZK.js +0 -2
- package/dist/cdn/FJFVBE6K.js +0 -2
- package/dist/cdn/FLBXUDIS.js +0 -2
- package/dist/cdn/FQKOG42T.js +0 -2
- package/dist/cdn/FTXNBE44.js +0 -2
- package/dist/cdn/FU6JT3UD.js +0 -2
- package/dist/cdn/H7SXQSDY.js +0 -2
- package/dist/cdn/HFHPPFTL.js +0 -2
- package/dist/cdn/IQ5ZYJIB.js +0 -2
- package/dist/cdn/IVSSNIVI.js +0 -2
- package/dist/cdn/J27JNN6U.js +0 -2
- package/dist/cdn/J5O4KJG3.js +0 -2
- package/dist/cdn/KJHX7M5S.js +0 -2
- package/dist/cdn/KKDZFW5O.js +0 -2
- package/dist/cdn/KRZLTTVV.js +0 -2
- package/dist/cdn/KUOSDD5D.js +0 -2
- package/dist/cdn/L767SIJD.js +0 -2
- package/dist/cdn/LSF52M7M.js +0 -2
- package/dist/cdn/LW3BORFM.js +0 -2
- package/dist/cdn/M3ATYECI.js +0 -2
- package/dist/cdn/M6BMA2X5.js +0 -2
- package/dist/cdn/MCSGNGSS.js +0 -2
- package/dist/cdn/MJEMDC6S.js +0 -2
- package/dist/cdn/MY2TTPFJ.js +0 -2
- package/dist/cdn/MZQHYO73.js +0 -2
- package/dist/cdn/N6ZYLQ35.js +0 -2
- package/dist/cdn/ODM6XDHJ.js +0 -2
- package/dist/cdn/PAPWPFW4.js +0 -2
- package/dist/cdn/PDDEFX6K.js +0 -2
- package/dist/cdn/PNQ6VVJK.js +0 -2
- package/dist/cdn/QCO44WFX.js +0 -2
- package/dist/cdn/QCZO6SPY.js +0 -2
- package/dist/cdn/QJQCXQZQ.js +0 -2
- package/dist/cdn/QLBJVTC3.js +0 -2
- package/dist/cdn/QLRYZVYC.js +0 -2
- package/dist/cdn/QRJS3CVV.js +0 -2
- package/dist/cdn/QWCMSPHD.js +0 -2
- package/dist/cdn/RCS3DD7Z.js +0 -104
- package/dist/cdn/S52W7JS7.js +0 -2
- package/dist/cdn/SDWC5FQU.js +0 -2
- package/dist/cdn/SLGQSOZB.js +0 -2
- package/dist/cdn/SNQFOXQP.js +0 -2
- package/dist/cdn/STPMMRCH.js +0 -2
- package/dist/cdn/SUYBENSN.js +0 -2
- package/dist/cdn/TAW7DR2R.js +0 -2
- package/dist/cdn/TUM7FWOK.js +0 -2
- package/dist/cdn/UFCW5HCY.js +0 -2
- package/dist/cdn/URPIV4FP.js +0 -2
- package/dist/cdn/URX6VCYJ.js +0 -2
- package/dist/cdn/V2LSSOBU.js +0 -2
- package/dist/cdn/V7JH3U65.js +0 -2
- package/dist/cdn/VFOLCHS4.js +0 -2
- package/dist/cdn/VFZ5WZJL.js +0 -2
- package/dist/cdn/WEAUUIMY.js +0 -2
- package/dist/cdn/WHL3PAOM.js +0 -2
- package/dist/cdn/WQRH2BWD.js +0 -2
- package/dist/cdn/WQRXJQDO.js +0 -2
- package/dist/cdn/WTIY4H4L.js +0 -2
- package/dist/cdn/WXEJ47F6.js +0 -2
- package/dist/cdn/XUAJWZRU.js +0 -2
- package/dist/cdn/XYTCID73.js +0 -2
- package/dist/cdn/Z7L63G6V.js +0 -2
- package/dist/cdn/ZJOBVONS.js +0 -2
- package/dist/cdn/ZZQFMONS.js +0 -2
- package/dist/chunks/setup-utils.js +0 -80
- package/dist/model/index.d.ts +0 -19
- package/dist/spec/index.d.ts +0 -8
- package/dist/utils/index.d.ts +0 -33
- /package/dist/cdn/{S5OM65RV.js → COYWSD6X.js} +0 -0
|
@@ -2,43 +2,22 @@
|
|
|
2
2
|
import { c as F } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as b } from "lit/directives/repeat.js";
|
|
4
4
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
5
|
-
import "@arcgis/
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { createRef as u, ref as d } from "lit/directives/ref.js";
|
|
12
|
-
import { isEqual as $ } from "lodash-es";
|
|
13
|
-
import { u as L } from "../../chunks/useT9n.js";
|
|
5
|
+
import { LitElement as S, createEvent as C, renderElement as T, safeStyleMap as A, safeClassMap as c } from "@arcgis/lumina";
|
|
6
|
+
import { substitute as P } from "@arcgis/core/intl.js";
|
|
7
|
+
import { css as D, html as a } from "lit";
|
|
8
|
+
import { createRef as g, ref as d } from "lit/directives/ref.js";
|
|
9
|
+
import { isEqual as y } from "lodash-es";
|
|
10
|
+
import { u as $ } from "../../chunks/useT9n.js";
|
|
14
11
|
import { B as n } from "../../chunks/interfaces.js";
|
|
12
|
+
import { b as v, a as L, c as h, d as x, e as E, s as z } from "../../chunks/chart-ui-utils2.js";
|
|
13
|
+
import { R as k } from "../../chunks/rest-js-object-literals.js";
|
|
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
|
-
import "
|
|
17
|
-
import "
|
|
18
|
-
import "
|
|
19
|
-
import "
|
|
20
|
-
|
|
21
|
-
import { ay as E, bi as N, bn as z, bp as w, cW as k, cN as B, dg as K, c_ as _, cc as O } from "../../chunks/index.js";
|
|
22
|
-
import "@arcgis/core/Graphic.js";
|
|
23
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
24
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
25
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
26
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
27
|
-
import "@arcgis/core/request.js";
|
|
28
|
-
import "simple-statistics";
|
|
29
|
-
import "@arcgis/core/core/sql.js";
|
|
30
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
31
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
32
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
33
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
34
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
35
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
36
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
37
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
38
|
-
import "@arcgis/core/geometry/Point.js";
|
|
39
|
-
import { e as j, p as H } from "../../chunks/popover-ui-utils.js";
|
|
40
|
-
import { b as v, a as I, c as h, d as M, e as U, s as W } from "../../chunks/chart-ui-utils2.js";
|
|
41
|
-
const R = x`.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 = {
|
|
16
|
+
import { e as w, p as B } from "../../chunks/popover-ui-utils.js";
|
|
17
|
+
import { t as K, ag as _ } from "../../chunks/index.js";
|
|
18
|
+
import { a2 as j, bg as I, ba as O, bs as H, bj as M } from "../../chunks/index2.js";
|
|
19
|
+
import { d as U, m as W } from "../../chunks/index3.js";
|
|
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 = {
|
|
42
21
|
jsAppFlyout: "js-app-flyout",
|
|
43
22
|
name: "bar-chart-data-popover",
|
|
44
23
|
numericFieldPickList: "bar-chart-data-numeric-fields-pick-list",
|
|
@@ -51,9 +30,9 @@ const R = x`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.a
|
|
|
51
30
|
applyButton: "apply-button",
|
|
52
31
|
panel: "panel"
|
|
53
32
|
};
|
|
54
|
-
class q extends
|
|
33
|
+
class q extends S {
|
|
55
34
|
constructor() {
|
|
56
|
-
super(...arguments), this._messages =
|
|
35
|
+
super(...arguments), this._messages = $(), this.commonStrings = $({ name: "common", blocking: !0 }), this.picklist = g(), this.intervalSizeElement = g(), this.intervalTypeElement = g(), this.popoverElement = g(), this.placement = "leading", this.offsetDistance = -200, this.pickListHasChanged = !1, this.aggregationLabels = [], this.open = !1, this.layerFieldsInfo = [], this.isCustomSortDisabled = !1, this.isNoAggregationDisabled = !1, this.arcgisChartsConfigBarChartDataPopoverChange = C(), this.arcgisChartsConfigPopoverClose = C();
|
|
57
36
|
}
|
|
58
37
|
static {
|
|
59
38
|
this.properties = { aggregationLabels: 16, timeAggregationLabels: 16, messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1, isCustomSortDisabled: 5, isNoAggregationDisabled: 5 };
|
|
@@ -66,33 +45,33 @@ class q extends T {
|
|
|
66
45
|
}
|
|
67
46
|
willUpdate(e) {
|
|
68
47
|
e.has("selectedContent") && this.selectedContentChange(this.selectedContent, e.get("selectedContent"));
|
|
69
|
-
const t = v.map((s) =>
|
|
70
|
-
|
|
71
|
-
const l = [
|
|
72
|
-
|
|
48
|
+
const t = v.map((s) => K(s, this.commonStrings));
|
|
49
|
+
y(this.aggregationLabels, t) || (this.aggregationLabels = t);
|
|
50
|
+
const l = [u.Start, u.End].map((s) => _(s, this.commonStrings));
|
|
51
|
+
y(this.timeAggregationLabels, l) || (this.timeAggregationLabels = l);
|
|
73
52
|
}
|
|
74
53
|
updated() {
|
|
75
54
|
setTimeout(() => {
|
|
76
55
|
this.picklist.value?.setFocus();
|
|
77
|
-
},
|
|
56
|
+
}, L.PopoverTimer), w(this.popoverElement.value, this.open);
|
|
78
57
|
}
|
|
79
58
|
selectedContentChange(e, t) {
|
|
80
|
-
this.pickListHasChanged =
|
|
59
|
+
this.pickListHasChanged = B(e, t);
|
|
81
60
|
}
|
|
82
61
|
buildAggregationListItems() {
|
|
83
|
-
const e = this.isNoAggregationDisabled ? v.filter((t) => t !==
|
|
62
|
+
const e = this.isNoAggregationDisabled ? v.filter((t) => t !== N.NoAggregation) : v;
|
|
84
63
|
return b(e, (t) => t, (t, i) => a`<calcite-list-item .label=${this.aggregationLabels[i]} .value=${t} .selected=${h(t, this.selectedContent)}></calcite-list-item>`);
|
|
85
64
|
}
|
|
86
65
|
createTooltip(e) {
|
|
87
66
|
if (e.target?.label === this._messages.customSort && this.isCustomSortDisabled) {
|
|
88
|
-
const t = e.target, i =
|
|
67
|
+
const t = e.target, i = j(t), s = new Intl.NumberFormat(i).format(L.customSortLimit), r = P(this._messages.customSortLimit ?? "", {
|
|
89
68
|
totalLimit: s
|
|
90
69
|
});
|
|
91
|
-
this.tooltip =
|
|
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);
|
|
92
71
|
}
|
|
93
72
|
}
|
|
94
73
|
destroyTooltip() {
|
|
95
|
-
|
|
74
|
+
x(this.tooltip);
|
|
96
75
|
}
|
|
97
76
|
buildSortOrder() {
|
|
98
77
|
const e = Object.keys(m);
|
|
@@ -125,7 +104,7 @@ class q extends T {
|
|
|
125
104
|
});
|
|
126
105
|
}
|
|
127
106
|
buildPickListItem(e) {
|
|
128
|
-
return f(e.name, a`<calcite-list-item .label=${
|
|
107
|
+
return f(e.name, a`<calcite-list-item .label=${U(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${h(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
129
108
|
}
|
|
130
109
|
buildPickListItems(e) {
|
|
131
110
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
@@ -133,7 +112,7 @@ class q extends T {
|
|
|
133
112
|
case n.numericFields: {
|
|
134
113
|
for (let l = 0; l < t; l += 1) {
|
|
135
114
|
const s = this.layerFieldsInfo?.[l];
|
|
136
|
-
s &&
|
|
115
|
+
s && M(s) && i.push(this.buildPickListItem(s));
|
|
137
116
|
}
|
|
138
117
|
break;
|
|
139
118
|
}
|
|
@@ -142,7 +121,7 @@ class q extends T {
|
|
|
142
121
|
i.push(l);
|
|
143
122
|
for (let s = 0; s < t; s += 1) {
|
|
144
123
|
const r = this.layerFieldsInfo?.[s];
|
|
145
|
-
r && (r.type ===
|
|
124
|
+
r && (r.type === k.String || I(r) || O(r) || H(r)) && i.push(this.buildPickListItem(r));
|
|
146
125
|
}
|
|
147
126
|
break;
|
|
148
127
|
}
|
|
@@ -151,7 +130,7 @@ class q extends T {
|
|
|
151
130
|
i.push(l);
|
|
152
131
|
for (let s = 0; s < t; s += 1) {
|
|
153
132
|
const r = this.layerFieldsInfo?.[s];
|
|
154
|
-
r && (
|
|
133
|
+
r && (I(r) || r.type === k.String) && i.push(this.buildPickListItem(r));
|
|
155
134
|
}
|
|
156
135
|
break;
|
|
157
136
|
}
|
|
@@ -165,7 +144,7 @@ class q extends T {
|
|
|
165
144
|
eventEmitter: this.arcgisChartsConfigBarChartDataPopoverChange,
|
|
166
145
|
contentKind: this.contentKind
|
|
167
146
|
};
|
|
168
|
-
|
|
147
|
+
E(e);
|
|
169
148
|
}
|
|
170
149
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
171
150
|
}
|
|
@@ -190,7 +169,7 @@ class q extends T {
|
|
|
190
169
|
this.closePopover();
|
|
191
170
|
}
|
|
192
171
|
buildIntervalAlignmentPickListItems() {
|
|
193
|
-
const e = [
|
|
172
|
+
const e = [u.Start, u.End];
|
|
194
173
|
return b(e, (t) => t, (t, i) => a`<calcite-list-item .label=${this.timeAggregationLabels?.[i]} .value=${t} .selected=${h(t, this.selectedContent)}></calcite-list-item>`);
|
|
195
174
|
}
|
|
196
175
|
renderAggregationType() {
|
|
@@ -227,7 +206,7 @@ class q extends T {
|
|
|
227
206
|
p.Month,
|
|
228
207
|
p.Year
|
|
229
208
|
];
|
|
230
|
-
return a`<div><div class=${c(o.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${
|
|
209
|
+
return a`<div><div class=${c(o.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${z(e?.size, 1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${d(this.intervalTypeElement)}>${t.map((i) => a`<calcite-option .value=${i} .label=${W(i, this._messages)} .selected=${e?.unit === i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${c(o.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`;
|
|
231
210
|
}
|
|
232
211
|
renderPopoverInfo() {
|
|
233
212
|
let e;
|
|
@@ -1,41 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as k } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as x } from "lit/directives/keyed.js";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "@arcgis/
|
|
8
|
-
import {
|
|
9
|
-
import "
|
|
10
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
11
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
12
|
-
import { C as T, ec as C } from "../../chunks/index.js";
|
|
13
|
-
import "@arcgis/core/Graphic.js";
|
|
14
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
15
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
16
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
17
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
18
|
-
import "@esri/arcgis-html-sanitizer";
|
|
19
|
-
import "@arcgis/core/intl.js";
|
|
20
|
-
import "@arcgis/core/request.js";
|
|
21
|
-
import "simple-statistics";
|
|
22
|
-
import "@arcgis/core/core/sql.js";
|
|
23
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
24
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
25
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
26
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
27
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
28
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
29
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
31
|
-
import "@arcgis/core/geometry/Point.js";
|
|
32
|
-
import "@arcgis/toolkit/dom";
|
|
4
|
+
import { repeat as T } from "lit/directives/repeat.js";
|
|
5
|
+
import { u as P } from "../../chunks/useT9n.js";
|
|
6
|
+
import { css as L, html as l } from "lit";
|
|
7
|
+
import { LitElement as M, createEvent as N, renderElement as u, safeStyleMap as h, safeClassMap as a } from "@arcgis/lumina";
|
|
8
|
+
import { d as O } from "../../chunks/chart-ui-utils2.js";
|
|
9
|
+
import { C as _, F as C } from "../../chunks/index3.js";
|
|
33
10
|
import { r as v } from "../../chunks/popover-ui-utils.js";
|
|
34
|
-
import {
|
|
35
|
-
import { u as L } from "../../chunks/useT9n.js";
|
|
36
|
-
import { css as M, html as l } from "lit";
|
|
37
|
-
import { LitElement as N, createEvent as O, renderElement as f, safeStyleMap as m, safeClassMap as a } from "@arcgis/lumina";
|
|
38
|
-
import { d as _ } from "../../chunks/chart-ui-utils2.js";
|
|
11
|
+
import { q as r, r as f } from "../../chunks/chart-object-literals.js";
|
|
39
12
|
const E = {
|
|
40
13
|
stackedType: "stacked-type"
|
|
41
14
|
}, o = {
|
|
@@ -44,17 +17,17 @@ const E = {
|
|
|
44
17
|
list: "list",
|
|
45
18
|
disabledInfo: "disabled-info",
|
|
46
19
|
disabledStackingOption: "disabled-stacking-option"
|
|
47
|
-
}, w =
|
|
48
|
-
class D extends
|
|
20
|
+
}, w = L`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.top-section{margin-top:var(--arcgis-charts-config-margin-minor)}.section-label{display:flex;margin-bottom:var(--arcgis-charts-config-margin-major);margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.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)}.disabled-info{margin:auto 1rem;pointer-events:auto}.disabled-info:active{margin:auto 1rem;pointer-events:none}.disabled-stacking-option{pointer-events:none;opacity:var(--calcite-opacity-disabled)}`;
|
|
21
|
+
class D extends M {
|
|
49
22
|
constructor() {
|
|
50
|
-
super(...arguments), this._messages =
|
|
23
|
+
super(...arguments), this._messages = P(), this.open = !1, this.seriesNameChange = (e) => {
|
|
51
24
|
if (e.detail !== null && e.detail !== void 0) {
|
|
52
25
|
const t = e.detail.name;
|
|
53
26
|
if (this.isNullCategorySelected) {
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
56
|
-
const
|
|
57
|
-
this.model.nullCategory =
|
|
27
|
+
const s = this.model.nullCategory;
|
|
28
|
+
if (s) {
|
|
29
|
+
const i = { ...s, text: t };
|
|
30
|
+
this.model.nullCategory = i;
|
|
58
31
|
}
|
|
59
32
|
} else
|
|
60
33
|
this.model.setSeriesName(t, this.selectedSeriesIndex ?? -1);
|
|
@@ -64,15 +37,15 @@ class D extends N {
|
|
|
64
37
|
const { color: t } = e.detail;
|
|
65
38
|
if (t !== void 0) {
|
|
66
39
|
if (this.isNullCategorySelected) {
|
|
67
|
-
const
|
|
68
|
-
...
|
|
40
|
+
const s = this.model.nullCategory, i = s?.symbol && {
|
|
41
|
+
...s,
|
|
69
42
|
symbol: {
|
|
70
|
-
...
|
|
43
|
+
...s.symbol,
|
|
71
44
|
color: t,
|
|
72
|
-
outline:
|
|
45
|
+
outline: s.symbol.outline && { ...s.symbol.outline, color: t }
|
|
73
46
|
}
|
|
74
47
|
};
|
|
75
|
-
this.model.nullCategory =
|
|
48
|
+
this.model.nullCategory = i;
|
|
76
49
|
} else
|
|
77
50
|
this.model.setSeriesColor(t, this.selectedSeriesIndex ?? -1);
|
|
78
51
|
this.model.colorMatch = !1;
|
|
@@ -83,7 +56,7 @@ class D extends N {
|
|
|
83
56
|
this.selectedSeriesIndex === t && (this.seriesPopover = v(this.seriesPopover), this.selectedSeriesIndex = void 0);
|
|
84
57
|
}, this.onModelConfigChange = () => {
|
|
85
58
|
this.requestUpdate();
|
|
86
|
-
}, this.seriesOrderResetCounter = 0, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.arcgisChartsConfigDataChangeError =
|
|
59
|
+
}, this.seriesOrderResetCounter = 0, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.arcgisChartsConfigDataChangeError = N();
|
|
87
60
|
}
|
|
88
61
|
static {
|
|
89
62
|
this.properties = { seriesOrderResetCounter: 16, selectedSeriesIndex: 16, messageOverrides: 0, model: 0, activeColorMatch: 5, popoverPlacement: 1 };
|
|
@@ -107,27 +80,27 @@ class D extends N {
|
|
|
107
80
|
this.seriesPopover !== null && this.seriesPopover !== void 0 && (this.seriesPopover.open = !1, this.seriesPopover = v(this.seriesPopover));
|
|
108
81
|
}
|
|
109
82
|
selectedSeriesIndexChange() {
|
|
110
|
-
this.selectedSeriesIndex !== void 0 && (this.seriesPopover =
|
|
83
|
+
this.selectedSeriesIndex !== void 0 && (this.seriesPopover = u(l`<arcgis-charts-config-bar-chart-series-popover .referenceElement=${this.el} .selectedName=${this.selectedSeriesIndex != null ? this.model.getSeriesName(this.selectedSeriesIndex) : void 0} .selectedColor=${this.selectedSeriesIndex != null ? this.model.getSeriesColor(this.selectedSeriesIndex) : void 0} .placement=${this.popoverPlacement} .selectedSeriesIndex=${this.selectedSeriesIndex != null ? this.selectedSeriesIndex : void 0} .nullCategory=${this.isNullCategorySelected ? this.model.nullCategory : void 0} .open=${this.open} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-bar-chart-series-popover>`), this.seriesPopover && !document.body.contains(this.seriesPopover) && document.body.appendChild(this.seriesPopover));
|
|
111
84
|
}
|
|
112
85
|
buildSeriesListItems() {
|
|
113
|
-
const e = this.model.seriesLength ?? 0, t = Array.from({ length: e }, (
|
|
114
|
-
return
|
|
115
|
-
const n = this.model.getSeriesId(
|
|
116
|
-
let
|
|
86
|
+
const e = this.model.seriesLength ?? 0, t = Array.from({ length: e }, (i, n) => n);
|
|
87
|
+
return T(t, (i) => this.model.getSeriesId(i), (i) => {
|
|
88
|
+
const n = this.model.getSeriesId(i), c = this.model.getSeriesColor(i), d = this.model.getSeriesName(i), S = this.model.chartSubType === _.BarAndLineFromFields ? this._messages.series : n;
|
|
89
|
+
let m = "#CCCCCC", p = "minus-square";
|
|
117
90
|
if ((e > 1 || !this.activeColorMatch) && c !== void 0) {
|
|
118
91
|
p = "square-f";
|
|
119
92
|
const [b, y, $, I] = [...c];
|
|
120
|
-
|
|
93
|
+
m = `rgba(${b},${y},${$},${I / 255})`;
|
|
121
94
|
}
|
|
122
|
-
return l`<calcite-list-item .label=${d ?? n ?? ""} .description=${S} .value=${n} .selected=${this.selectedSeriesIndex ===
|
|
95
|
+
return l`<calcite-list-item .label=${d ?? n ?? ""} .description=${S} .value=${n} .selected=${this.selectedSeriesIndex === i} @click=${this.openSeriesPopOver}><calcite-icon .icon=${p} style=${h({ color: m })} slot=content-end></calcite-icon></calcite-list-item>`;
|
|
123
96
|
});
|
|
124
97
|
}
|
|
125
98
|
buildSeriesList() {
|
|
126
99
|
return x(this.seriesOrderResetCounter, l`<calcite-list label class=${a(o.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`);
|
|
127
100
|
}
|
|
128
101
|
buildNullCategoryUI() {
|
|
129
|
-
const e = this.model.nullCategory, t = this._messages.nullCategory,
|
|
130
|
-
return l`<calcite-list label class=${a(o.list)} selection-mode=none><calcite-list-item .label=${t} .value=${t} .selected=${this.selectedSeriesIndex === null} @click=${this.openSeriesPopOver}><calcite-icon icon=square-f style=${
|
|
102
|
+
const e = this.model.nullCategory, t = this._messages.nullCategory, s = e?.symbol?.color ?? C.nullCategory?.symbol?.color ?? C.grayColor, [i, n, c, d] = [...s], g = `rgba(${i},${n},${c},${d / 255})`;
|
|
103
|
+
return l`<calcite-list label class=${a(o.list)} selection-mode=none><calcite-list-item .label=${t} .value=${t} .selected=${this.selectedSeriesIndex === null} @click=${this.openSeriesPopOver}><calcite-icon icon=square-f style=${h({ color: g })} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
131
104
|
}
|
|
132
105
|
buildMultipleBarTypeList() {
|
|
133
106
|
const e = this.shouldDisableStacking();
|
|
@@ -144,24 +117,24 @@ class D extends N {
|
|
|
144
117
|
}
|
|
145
118
|
onCalciteListOrderChange(e) {
|
|
146
119
|
if (e.detail !== null && e.detail !== void 0) {
|
|
147
|
-
const { newIndex: t, oldIndex:
|
|
148
|
-
this.model.moveSeries(
|
|
120
|
+
const { newIndex: t, oldIndex: s } = e.detail;
|
|
121
|
+
this.model.moveSeries(s, t), this.seriesOrderResetCounter += 1;
|
|
149
122
|
}
|
|
150
123
|
}
|
|
151
124
|
openSeriesPopOver(e) {
|
|
152
125
|
e.stopImmediatePropagation(), this.removeSeriesPopover();
|
|
153
|
-
const t = e.target,
|
|
154
|
-
this.open = this.selectedSeriesIndex !==
|
|
126
|
+
const t = e.target, s = t.localName === "calcite-list-item" ? t : t.parentNode, i = this.model.getSeriesIndex(s.value);
|
|
127
|
+
this.open = this.selectedSeriesIndex !== i, this.selectedSeriesIndex = this.selectedSeriesIndex !== i ? i : void 0, this.isNullCategorySelected = s.value === this._messages.nullCategory;
|
|
155
128
|
}
|
|
156
129
|
createTooltip(e) {
|
|
157
|
-
const t = e.target,
|
|
158
|
-
this.tooltip =
|
|
130
|
+
const t = e.target, s = (this.model.aggregationType === f.NoAggregation ? this._messages.noAggStackingDisabled : this._messages.singleStackingDisabled) ?? "";
|
|
131
|
+
this.tooltip = u(l`<calcite-tooltip style=${h({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${s}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
159
132
|
}
|
|
160
133
|
destroyTooltip() {
|
|
161
|
-
|
|
134
|
+
O(this.tooltip);
|
|
162
135
|
}
|
|
163
136
|
shouldDisableStacking() {
|
|
164
|
-
return (this.model.seriesLength ?? 0) <= 1 || this.model.aggregationType ===
|
|
137
|
+
return (this.model.seriesLength ?? 0) <= 1 || this.model.aggregationType === f.NoAggregation;
|
|
165
138
|
}
|
|
166
139
|
render() {
|
|
167
140
|
return l`<div class=${`${o.sectionLabel} ${o.topSection}`}>${this._messages.displayMultiSeries}</div>${this.buildMultipleBarTypeList()}<div class=${a(o.sectionLabel)}>${this._messages.series}<calcite-button @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSeriesList()}${this.model.nullCategory !== void 0 && this.model.fetchNULLValues ? this.buildNullCategoryUI() : null}`;
|
|
@@ -1,46 +1,18 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as p, html as
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "../../chunks/
|
|
9
|
-
|
|
10
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
11
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
12
|
-
import { dT as h } from "../../chunks/index.js";
|
|
13
|
-
import "@arcgis/core/Graphic.js";
|
|
14
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
15
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
16
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
17
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
18
|
-
import "@esri/arcgis-html-sanitizer";
|
|
19
|
-
import "@arcgis/core/intl.js";
|
|
20
|
-
import "@arcgis/core/request.js";
|
|
21
|
-
import "simple-statistics";
|
|
22
|
-
import "@arcgis/core/core/sql.js";
|
|
23
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
24
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
25
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
26
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
27
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
28
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
29
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
31
|
-
import "@arcgis/core/geometry/Point.js";
|
|
32
|
-
import "@arcgis/toolkit/dom";
|
|
33
|
-
import { e as d } from "../../chunks/popover-ui-utils.js";
|
|
34
|
-
import { u as g } from "../../chunks/useT9n.js";
|
|
35
|
-
import { createRef as C, ref as v } from "lit/directives/ref.js";
|
|
36
|
-
import { LitElement as f, createEvent as o, safeClassMap as i } from "@arcgis/lumina";
|
|
37
|
-
const r = {
|
|
3
|
+
import { css as p, html as h } from "lit";
|
|
4
|
+
import { u as m } from "../../chunks/useT9n.js";
|
|
5
|
+
import { createRef as d, ref as g } from "lit/directives/ref.js";
|
|
6
|
+
import { LitElement as C, createEvent as s, safeClassMap as o } from "@arcgis/lumina";
|
|
7
|
+
import { e as v } from "../../chunks/popover-ui-utils.js";
|
|
8
|
+
import { aB as f } from "../../chunks/index.js";
|
|
9
|
+
const i = {
|
|
38
10
|
jsAppFlyout: "js-app-flyout",
|
|
39
11
|
panelChildrenContainer: "panel-children-container"
|
|
40
12
|
}, u = p`.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{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`;
|
|
41
|
-
class y extends
|
|
13
|
+
class y extends C {
|
|
42
14
|
constructor() {
|
|
43
|
-
super(...arguments), this._messages =
|
|
15
|
+
super(...arguments), this._messages = m(), this.popoverElement = d(), this.open = !1, this.arcgisChartsConfigPopoverClose = s(), this.arcgisChartsConfigSeriesPopoverColorChange = s(), this.arcgisChartsConfigSeriesPopoverNameChange = s();
|
|
44
16
|
}
|
|
45
17
|
static {
|
|
46
18
|
this.properties = { messageOverrides: 0, referenceElement: 0, selectedName: 1, selectedColor: 0, selectedSeriesIndex: 9, placement: 1, open: 5, nullCategory: 0 };
|
|
@@ -52,7 +24,7 @@ class y extends f {
|
|
|
52
24
|
await this.popoverElement.value?.reposition();
|
|
53
25
|
}
|
|
54
26
|
updated() {
|
|
55
|
-
|
|
27
|
+
v(this.popoverElement.value, this.open);
|
|
56
28
|
}
|
|
57
29
|
seriesNameChange(e) {
|
|
58
30
|
const t = e.target.value;
|
|
@@ -64,14 +36,14 @@ class y extends f {
|
|
|
64
36
|
});
|
|
65
37
|
}
|
|
66
38
|
colorChange(e) {
|
|
67
|
-
const t = e instanceof CustomEvent ? e.detail : e, [
|
|
68
|
-
this.selectedColor = [
|
|
39
|
+
const t = e instanceof CustomEvent ? e.detail : e, [a, r, l] = t, n = f * 255;
|
|
40
|
+
this.selectedColor = [a, r, l, n], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [a, r, l, n] });
|
|
69
41
|
}
|
|
70
42
|
render() {
|
|
71
43
|
const e = this.nullCategory?.symbol?.color ?? this.selectedColor, t = this.nullCategory?.text ?? this.selectedName;
|
|
72
|
-
return
|
|
73
|
-
[
|
|
74
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${
|
|
44
|
+
return h`<div class=${o({
|
|
45
|
+
[i.jsAppFlyout]: !0
|
|
46
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${g(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${o(i.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div><div class=${o(i.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel></calcite-popover></div>`;
|
|
75
47
|
}
|
|
76
48
|
}
|
|
77
49
|
c("arcgis-charts-config-bar-chart-series-popover", y);
|
|
@@ -1,40 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as l } from "../../chunks/runtime.js";
|
|
3
|
-
import "@arcgis/
|
|
3
|
+
import { LitElement as n } from "@arcgis/lumina";
|
|
4
|
+
import { css as d, html as s } from "lit";
|
|
4
5
|
import { isEqual as r } from "lodash-es";
|
|
5
|
-
import "luxon";
|
|
6
|
-
import "@arcgis/toolkit/type";
|
|
7
|
-
import "../../chunks/series-types.js";
|
|
8
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
9
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
10
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
11
|
-
import { bB as n, a8 as d } from "../../chunks/index.js";
|
|
12
|
-
import "@arcgis/core/Graphic.js";
|
|
13
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
14
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
15
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
16
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
17
|
-
import "@esri/arcgis-html-sanitizer";
|
|
18
|
-
import "@arcgis/core/intl.js";
|
|
19
|
-
import "@arcgis/core/request.js";
|
|
20
|
-
import "simple-statistics";
|
|
21
|
-
import "@arcgis/core/core/sql.js";
|
|
22
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
23
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
24
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
25
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
26
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
27
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
28
|
-
import { h as c } from "../../chunks/index4.js";
|
|
29
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
31
|
-
import "@arcgis/core/geometry/Point.js";
|
|
32
|
-
import "@arcgis/toolkit/dom";
|
|
33
|
-
import { LitElement as h } from "@arcgis/lumina";
|
|
34
|
-
import { css as m, html as s } from "lit";
|
|
35
6
|
import { C as a } from "../../chunks/interfaces.js";
|
|
36
|
-
|
|
37
|
-
|
|
7
|
+
import { ac as c, I as h } from "../../chunks/index2.js";
|
|
8
|
+
import { h as f } from "../../chunks/index6.js";
|
|
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
|
+
class p extends n {
|
|
38
11
|
constructor() {
|
|
39
12
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
40
13
|
const o = e?.detail.config ?? this.model.config;
|
|
@@ -45,7 +18,7 @@ class f extends h {
|
|
|
45
18
|
this.properties = { layerFieldsInfo: 16, activeColorMatch: 16, model: 0, popoverPlacement: 1, seriesColor: 0, page: 1, calculatedMinMaxBounds: 0, layer: 0, usePopupTemplateFieldsInfo: 5, popupTemplateFieldInfosEnabled: 5 };
|
|
46
19
|
}
|
|
47
20
|
static {
|
|
48
|
-
this.styles =
|
|
21
|
+
this.styles = m;
|
|
49
22
|
}
|
|
50
23
|
async load() {
|
|
51
24
|
this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model), this.updateDataFilters();
|
|
@@ -77,10 +50,10 @@ class f extends h {
|
|
|
77
50
|
const i = e ?? this.model.config;
|
|
78
51
|
let o = this.layer;
|
|
79
52
|
if (!o) {
|
|
80
|
-
const t =
|
|
81
|
-
t && (o = await
|
|
53
|
+
const t = f(i) ? i.iLayer : void 0;
|
|
54
|
+
t && (o = await c(t));
|
|
82
55
|
}
|
|
83
|
-
o && (await o.load(), this.layerFieldsInfo =
|
|
56
|
+
o && (await o.load(), this.layerFieldsInfo = h(o, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled));
|
|
84
57
|
}
|
|
85
58
|
render() {
|
|
86
59
|
let e;
|
|
@@ -110,7 +83,7 @@ class f extends h {
|
|
|
110
83
|
return e;
|
|
111
84
|
}
|
|
112
85
|
}
|
|
113
|
-
l("arcgis-charts-config-box-plot",
|
|
86
|
+
l("arcgis-charts-config-box-plot", p);
|
|
114
87
|
export {
|
|
115
|
-
|
|
88
|
+
p as ArcgisChartsConfigBoxPlot
|
|
116
89
|
};
|