@arcgis/charts-components 5.1.0-next.65 → 5.1.0-next.67
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/2333HQZZ.js +2 -0
- package/dist/cdn/25LAV2UI.js +2 -0
- package/dist/cdn/{SMGWUDX3.js → 2J5IWBKU.js} +1 -1
- package/dist/cdn/2NIOPMWE.js +2 -0
- package/dist/cdn/32WPXK4K.js +2 -0
- package/dist/cdn/35NR6IHU.js +2 -0
- package/dist/cdn/4BDLJPIB.js +2 -0
- package/dist/cdn/4HRFZU2C.js +2 -0
- package/dist/cdn/4NYTLY62.js +2 -0
- package/dist/cdn/{66CPF67N.js → 5KOFW5BO.js} +1 -1
- package/dist/cdn/5PSQ7OKJ.js +2 -0
- package/dist/cdn/6GURKNO2.js +2 -0
- package/dist/cdn/{GLST76GV.js → 6GVGNQYH.js} +1 -1
- package/dist/cdn/6RKNXP6N.js +2 -0
- package/dist/cdn/{X6QQ322N.js → 6TKG7ZF7.js} +1 -1
- package/dist/cdn/{6VW6XPBH.js → 75FO5HPY.js} +1 -1
- package/dist/cdn/7HGCX3PA.js +2 -0
- package/dist/cdn/7Y5FTMNT.js +2 -0
- package/dist/cdn/{4YWBOW4N.js → 7YDVVZJU.js} +1 -1
- package/dist/cdn/AALOFAWG.js +2 -0
- package/dist/cdn/AMLWVAHN.js +2 -0
- package/dist/cdn/BVK4ULHH.js +2 -0
- package/dist/cdn/BXDRHDLV.js +2 -0
- package/dist/cdn/BXNLQMSP.js +2 -0
- package/dist/cdn/{3WMOCDMO.js → CCNHG4LT.js} +1 -1
- package/dist/cdn/CUAIY5DK.js +37 -0
- package/dist/cdn/DHCFSWRJ.js +2 -0
- package/dist/cdn/ECRW3QJF.js +2 -0
- package/dist/cdn/{DHZT5P3N.js → EF4GVHB2.js} +1 -1
- package/dist/cdn/EGHVQUKF.js +2 -0
- package/dist/cdn/EP5VVTAX.js +2 -0
- package/dist/cdn/EWLMYFSA.js +2 -0
- package/dist/cdn/{QFC7M2Y2.js → FFXTYOTF.js} +1 -1
- package/dist/cdn/FOSGOEWY.js +2 -0
- package/dist/cdn/G56RB2UI.js +2 -0
- package/dist/cdn/{HR62GM42.js → GKYHQ5OF.js} +1 -1
- package/dist/cdn/GXQDCOI4.js +99 -0
- package/dist/cdn/HW42VNOU.js +2 -0
- package/dist/cdn/I54YDLFZ.js +2 -0
- package/dist/cdn/I6IYDKWG.js +2 -0
- package/dist/cdn/IN3H6ULU.js +2 -0
- package/dist/cdn/ISNJYFT7.js +2 -0
- package/dist/cdn/ITB7EYBT.js +2 -0
- package/dist/cdn/JDQ6BNXO.js +2 -0
- package/dist/cdn/JMMW4Z5P.js +2 -0
- package/dist/cdn/JTL73F75.js +2 -0
- package/dist/cdn/KOLQWSYX.js +2 -0
- package/dist/cdn/KYFOP4WA.js +2 -0
- package/dist/cdn/L2NQ6Z3Z.js +2 -0
- package/dist/cdn/LGAAHH35.js +2 -0
- package/dist/cdn/LIXBROPH.js +2 -0
- package/dist/cdn/LRQVALTM.js +2 -0
- package/dist/cdn/LT62HS4S.js +2 -0
- package/dist/cdn/MUCSVAGN.js +2 -0
- package/dist/cdn/N4IITAR7.js +2 -0
- package/dist/cdn/NEEKPRM4.js +2 -0
- package/dist/cdn/NEFPCTH3.js +2 -0
- package/dist/cdn/NVV2EBVI.js +2 -0
- package/dist/cdn/O7ZCEGVR.js +2 -0
- package/dist/cdn/{WIP3X44L.js → OPDQRTZL.js} +3 -3
- package/dist/cdn/PG36SBDU.js +2 -0
- package/dist/cdn/PGJD4Q7S.js +2 -0
- package/dist/cdn/PGVNBWSU.js +23 -0
- package/dist/cdn/PL24HKI7.js +2 -0
- package/dist/cdn/PLBPOYRN.js +2 -0
- package/dist/cdn/QEPCR5IP.js +2 -0
- package/dist/cdn/QT24FAYQ.js +2 -0
- package/dist/cdn/R6XIAIZH.js +2 -0
- package/dist/cdn/RDBNRYTF.js +2 -0
- package/dist/cdn/RQLVJM4J.js +2 -0
- package/dist/cdn/RX6QOYCR.js +2 -0
- package/dist/cdn/SNZF4LXV.js +2 -0
- package/dist/cdn/{QRNEQ6OE.js → TJA5FMLP.js} +1 -1
- package/dist/cdn/TZJGC4RS.js +2 -0
- package/dist/cdn/{IIJZ52BJ.js → VRXVXPKS.js} +1 -1
- package/dist/cdn/VWCFL5P6.js +2 -0
- package/dist/cdn/W5VC5OCC.js +2 -0
- package/dist/cdn/W6T7TNP5.js +2 -0
- package/dist/cdn/WNEW6UZS.js +2 -0
- package/dist/cdn/XFXE7IY2.js +2 -0
- package/dist/cdn/XV7GLCBP.js +2 -0
- package/dist/cdn/Y3DU5EIT.js +2 -0
- package/dist/cdn/Y3NWCVUF.js +2 -0
- package/dist/cdn/YHUBOYF5.js +2 -0
- package/dist/cdn/YNRVU2AU.js +2 -0
- package/dist/cdn/YPSEQYTV.js +2 -0
- package/dist/cdn/YQTJQ5J7.js +2 -0
- package/dist/cdn/Z4GL4EF6.js +2 -0
- package/dist/cdn/ZIXBICPN.js +2 -0
- package/dist/cdn/ZRDVJBTQ.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +8 -0
- package/dist/chart-rendering/common/interfaces.d.ts +7 -0
- package/dist/chunks/action-bar-utils.js +22 -28
- package/dist/chunks/axis-lines-symbol.js +8 -8
- package/dist/chunks/bar-chart-model.js +19 -25
- package/dist/chunks/bar-chart-series.js +12 -18
- package/dist/chunks/box-plot-data.js +75 -81
- package/dist/chunks/box-plot-model.js +19 -19
- package/dist/chunks/chart-model.js +40 -46
- package/dist/chunks/chart-ui-utils2.js +47 -53
- package/dist/chunks/class-breaks.js +16 -16
- package/dist/chunks/combo-bar-line-chart-model.js +20 -20
- package/dist/chunks/data-labels-symbol.js +5 -5
- package/dist/chunks/data.js +53 -59
- package/dist/chunks/gauge-model.js +22 -28
- package/dist/chunks/generate-x-axis-title.js +30 -36
- package/dist/chunks/heat-chart-model.js +10 -16
- package/dist/chunks/histogram-data.js +53 -59
- package/dist/chunks/histogram-model.js +31 -31
- package/dist/chunks/index.js +608 -20565
- package/dist/chunks/index2.js +171 -678
- package/dist/chunks/index3.js +46 -181
- package/dist/chunks/interfaces.js +16443 -103
- package/dist/chunks/interfaces2.js +109 -0
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +15 -21
- package/dist/chunks/model-with-guides.js +22 -28
- package/dist/chunks/model-with-tooltips.js +23 -29
- package/dist/chunks/model-with-x-guides.js +4 -4
- package/dist/chunks/model-with-y-guides.js +25 -31
- package/dist/chunks/negative-values-stacked-to-baseline.js +41 -47
- package/dist/chunks/pie-chart-data.js +33 -39
- package/dist/chunks/pie-chart-model.js +62 -68
- package/dist/chunks/radar-chart-model.js +8 -15
- package/dist/chunks/rotated-state.js +9 -15
- package/dist/chunks/scatterplot-model.js +84 -90
- package/dist/chunks/serial-chart-data.js +8178 -4195
- package/dist/chunks/serial-chart-model.js +32 -39
- package/dist/chunks/series-length.js +14 -20
- package/dist/chunks/series.js +10 -16
- package/dist/chunks/utils.js +337 -119
- package/dist/chunks/utils2.js +19 -25
- package/dist/chunks/web-component-utils.js +42 -42
- package/dist/components/arcgis-chart/customElement.js +5255 -5339
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +22 -28
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +15 -20
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +9 -15
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +9 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -16
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +5 -11
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +33 -38
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +7 -13
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +14 -20
- package/dist/components/arcgis-charts-config-font-style/customElement.js +14 -20
- package/dist/components/arcgis-charts-config-format/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +10 -16
- package/dist/components/arcgis-charts-config-general/customElement.js +8 -14
- package/dist/components/arcgis-charts-config-guide/customElement.js +14 -19
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +13 -19
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +20 -26
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +17 -24
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +15 -21
- package/dist/components/arcgis-charts-config-histogram/customElement.js +26 -32
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +26 -32
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +5 -11
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +18 -24
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -18
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +8 -14
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -11
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +8 -14
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +18 -24
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +8 -14
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +22 -28
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +9 -15
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -11
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +4 -10
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +12 -19
- package/dist/components/arcgis-charts-info-modal/customElement.js +4 -10
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +421 -412
- package/dist/utils/chart-config/utils/index.d.ts +22 -1
- package/dist/utils/chart-config/validator/index.d.ts +2 -2
- package/dist/utils/data/index.d.ts +48 -1
- package/dist/utils/data/pie-chart/index.d.ts +31 -0
- package/package.json +3 -3
- package/dist/cdn/2R7GVZ2K.js +0 -2
- package/dist/cdn/3LT2GKQ2.js +0 -2
- package/dist/cdn/4D7IL776.js +0 -23
- package/dist/cdn/4TUXERAH.js +0 -2
- package/dist/cdn/53BACKKK.js +0 -2
- package/dist/cdn/5TNV7JHC.js +0 -2
- package/dist/cdn/627BGNFG.js +0 -2
- package/dist/cdn/6LOKVOKI.js +0 -2
- package/dist/cdn/6NZ5UJML.js +0 -2
- package/dist/cdn/6WJVFMRO.js +0 -2
- package/dist/cdn/7GZN67ZQ.js +0 -2
- package/dist/cdn/7SSD7QVG.js +0 -2
- package/dist/cdn/7XRXZ5B3.js +0 -2
- package/dist/cdn/7Y57O4FJ.js +0 -2
- package/dist/cdn/7Y7YFJKK.js +0 -2
- package/dist/cdn/7YXQ6TZT.js +0 -2
- package/dist/cdn/A642VLJ3.js +0 -2
- package/dist/cdn/AVCKTWRB.js +0 -2
- package/dist/cdn/BCEUGCIB.js +0 -2
- package/dist/cdn/BP7HN7YH.js +0 -2
- package/dist/cdn/BPZNMCFA.js +0 -2
- package/dist/cdn/DRLAYMR6.js +0 -2
- package/dist/cdn/DXWMRZX7.js +0 -2
- package/dist/cdn/E7ZG5PMT.js +0 -2
- package/dist/cdn/EDBE2EVF.js +0 -2
- package/dist/cdn/EDCUOXXS.js +0 -2
- package/dist/cdn/EWCL54AQ.js +0 -2
- package/dist/cdn/FKR2N42T.js +0 -2
- package/dist/cdn/GT2GE37X.js +0 -2
- package/dist/cdn/HHMRHLFD.js +0 -2
- package/dist/cdn/HMYIPN7X.js +0 -2
- package/dist/cdn/HQZDYYW6.js +0 -2
- package/dist/cdn/HZDIYXNY.js +0 -2
- package/dist/cdn/I34GLJPW.js +0 -2
- package/dist/cdn/IGRLN5QE.js +0 -2
- package/dist/cdn/IJD3YDOE.js +0 -2
- package/dist/cdn/ITF5WJUH.js +0 -2
- package/dist/cdn/J73HEYK6.js +0 -2
- package/dist/cdn/JWTEQZTD.js +0 -2
- package/dist/cdn/KDLX6TGN.js +0 -2
- package/dist/cdn/LLNUWDC5.js +0 -2
- package/dist/cdn/LZ7LNUEI.js +0 -2
- package/dist/cdn/MAZJTJ64.js +0 -2
- package/dist/cdn/MB7BDR7H.js +0 -2
- package/dist/cdn/MTTVUHUH.js +0 -2
- package/dist/cdn/MVLJJ7VZ.js +0 -2
- package/dist/cdn/N373OIOT.js +0 -2
- package/dist/cdn/N4GBOPIU.js +0 -2
- package/dist/cdn/OG3JZ3LP.js +0 -37
- package/dist/cdn/PSYU6XTK.js +0 -2
- package/dist/cdn/PVTBEXFF.js +0 -2
- package/dist/cdn/PYLJO324.js +0 -2
- package/dist/cdn/QQ6DOFHZ.js +0 -99
- package/dist/cdn/RAJWBR34.js +0 -2
- package/dist/cdn/S7COU7MH.js +0 -2
- package/dist/cdn/SYY7UU2N.js +0 -2
- package/dist/cdn/TN45YUM2.js +0 -2
- package/dist/cdn/TODWZ6FZ.js +0 -2
- package/dist/cdn/TP7767ZV.js +0 -2
- package/dist/cdn/UFJOL4MK.js +0 -2
- package/dist/cdn/ULSVHCH4.js +0 -2
- package/dist/cdn/UVFPEIK2.js +0 -2
- package/dist/cdn/V3PU5TMU.js +0 -2
- package/dist/cdn/V3VVN7ST.js +0 -2
- package/dist/cdn/V5JXE6N4.js +0 -2
- package/dist/cdn/VPOAGMYE.js +0 -2
- package/dist/cdn/VXMMIOTJ.js +0 -2
- package/dist/cdn/WL2XRSAH.js +0 -2
- package/dist/cdn/WWARKOXR.js +0 -2
- package/dist/cdn/WWGW24FD.js +0 -2
- package/dist/cdn/XUHCS2SB.js +0 -2
- package/dist/cdn/YBAPI2UV.js +0 -2
- package/dist/cdn/YJDYXU2Q.js +0 -2
- package/dist/cdn/YUZ26Q2B.js +0 -2
- package/dist/cdn/ZRDKD2U3.js +0 -2
- package/dist/cdn/ZVOSWG36.js +0 -2
- /package/dist/cdn/{FPDW4F45.js → VCUC6CMW.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as O } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as z, html as a } from "lit";
|
|
4
|
-
import { g as E } from "../../chunks/
|
|
4
|
+
import { g as E } from "../../chunks/interfaces2.js";
|
|
5
5
|
import { g as _ } from "../../chunks/action-bar-utils.js";
|
|
6
6
|
import { u as $ } from "../../chunks/useT9n.js";
|
|
7
7
|
import { createRef as b, ref as C } from "lit/directives/ref.js";
|
|
@@ -12,7 +12,7 @@ import "@arcgis/toolkit/type";
|
|
|
12
12
|
import { u as I } from "../../chunks/series-types.js";
|
|
13
13
|
import { i as L } from "../../chunks/rotated-state.js";
|
|
14
14
|
import { a as t, A as o, D as e } from "../../chunks/index5.js";
|
|
15
|
-
import { A as M } from "../../chunks/
|
|
15
|
+
import { A as M } from "../../chunks/interfaces.js";
|
|
16
16
|
function N(d) {
|
|
17
17
|
return d?.tagName.toLowerCase() === "arcgis-chart";
|
|
18
18
|
}
|
|
@@ -5,41 +5,35 @@ import { isEqual as r } from "lodash-es";
|
|
|
5
5
|
import "luxon";
|
|
6
6
|
import "../../chunks/series-types.js";
|
|
7
7
|
import "@arcgis/toolkit/type";
|
|
8
|
-
import {
|
|
8
|
+
import { bt as n, a6 as c, cz as h } from "../../chunks/interfaces.js";
|
|
9
9
|
import "@arcgis/core/Graphic.js";
|
|
10
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
12
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
13
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
14
12
|
import "@esri/arcgis-html-sanitizer";
|
|
15
|
-
import "@arcgis/core/intl.js";
|
|
16
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
17
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
18
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
19
|
-
import "simple-statistics";
|
|
20
|
-
import "@arcgis/core/request.js";
|
|
21
|
-
import "@arcgis/core/core/sql.js";
|
|
22
13
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
23
14
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
24
15
|
import "@arcgis/core/rest/support/Query.js";
|
|
25
16
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
26
17
|
import "@arcgis/core/time/TimeExtent.js";
|
|
27
18
|
import "@arcgis/core/core/promiseUtils.js";
|
|
19
|
+
import "@arcgis/core/request.js";
|
|
28
20
|
import { o as d, h as m } from "../../chunks/index4.js";
|
|
29
21
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
22
|
import "@arcgis/core/geometry/Extent.js";
|
|
31
23
|
import "@arcgis/core/geometry/Point.js";
|
|
24
|
+
import "simple-statistics";
|
|
32
25
|
import "@arcgis/toolkit/dom";
|
|
33
|
-
import
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
|
|
37
|
-
|
|
26
|
+
import "@arcgis/core/intl.js";
|
|
27
|
+
import { LitElement as g, createEvent as f } from "@arcgis/lumina";
|
|
28
|
+
import { css as p, html as a } from "lit";
|
|
29
|
+
import { C as o } from "../../chunks/interfaces2.js";
|
|
30
|
+
const u = p`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
31
|
+
class C extends g {
|
|
38
32
|
constructor() {
|
|
39
33
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
40
34
|
const i = e?.detail.config ?? this.model.config;
|
|
41
35
|
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(i);
|
|
42
|
-
}, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.arcgisChartsConfigNoSeriesUpdate =
|
|
36
|
+
}, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.arcgisChartsConfigNoSeriesUpdate = f();
|
|
43
37
|
}
|
|
44
38
|
static {
|
|
45
39
|
this.properties = { layerFieldsInfo: 16, activeColorMatch: 16, model: 0, timeZone: 1, popoverPlacement: 1, seriesColor: 0, calculatedMinMaxBounds: 0, page: 1, layer: 0, usePopupTemplateFieldsInfo: 5 };
|
|
@@ -85,23 +79,23 @@ class C extends p {
|
|
|
85
79
|
const e = this.layerFieldsInfo?.find((s) => s.name === this.model.xAxisField), t = e !== void 0 && h(e);
|
|
86
80
|
let i;
|
|
87
81
|
switch (this.page) {
|
|
88
|
-
case
|
|
89
|
-
i =
|
|
82
|
+
case o.Data:
|
|
83
|
+
i = a`<arcgis-charts-config-bar-chart-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-bar-chart-data>`;
|
|
90
84
|
break;
|
|
91
|
-
case
|
|
92
|
-
i =
|
|
85
|
+
case o.Series:
|
|
86
|
+
i = a`<arcgis-charts-config-bar-chart-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-bar-chart-series>`;
|
|
93
87
|
break;
|
|
94
|
-
case
|
|
95
|
-
i =
|
|
88
|
+
case o.Axes:
|
|
89
|
+
i = a`<arcgis-charts-config-axes .model=${this.model} show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;
|
|
96
90
|
break;
|
|
97
|
-
case
|
|
98
|
-
i =
|
|
91
|
+
case o.Guides:
|
|
92
|
+
i = a`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .enableXAxisGuide=${t} enable-y-axis-guide .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-guides>`;
|
|
99
93
|
break;
|
|
100
|
-
case
|
|
101
|
-
i =
|
|
94
|
+
case o.Format:
|
|
95
|
+
i = a`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;
|
|
102
96
|
break;
|
|
103
|
-
case
|
|
104
|
-
i =
|
|
97
|
+
case o.General:
|
|
98
|
+
i = a`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;
|
|
105
99
|
break;
|
|
106
100
|
default:
|
|
107
101
|
i = "";
|
|
@@ -5,7 +5,7 @@ import "@arcgis/toolkit/intl";
|
|
|
5
5
|
import { isEqual as f } from "lodash-es";
|
|
6
6
|
import "luxon";
|
|
7
7
|
import { r as g, s as I, u as p, m as b } from "../../chunks/series-types.js";
|
|
8
|
-
import {
|
|
8
|
+
import { bD as F, au as k, bc as D, w as O, bi as y, bn as E, dU as P, an as B, C as A, cz as _, c1 as N } from "../../chunks/interfaces.js";
|
|
9
9
|
import "@arcgis/toolkit/type";
|
|
10
10
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
@@ -21,18 +21,12 @@ import "simple-statistics";
|
|
|
21
21
|
import "@arcgis/core/Graphic.js";
|
|
22
22
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
23
23
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
24
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
25
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
26
|
-
import "@arcgis/core/intl.js";
|
|
27
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
28
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
29
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
30
|
-
import "@arcgis/core/core/sql.js";
|
|
31
24
|
import "@arcgis/toolkit/dom";
|
|
25
|
+
import "@arcgis/core/intl.js";
|
|
32
26
|
import { r as U } from "../../chunks/popover-ui-utils.js";
|
|
33
27
|
import { S as d } from "../../chunks/common.js";
|
|
34
28
|
import { repeat as V } from "lit/directives/repeat.js";
|
|
35
|
-
import { B as a, c as C } from "../../chunks/
|
|
29
|
+
import { B as a, c as C } from "../../chunks/interfaces2.js";
|
|
36
30
|
import { d as z, s as S, r as M, a as R } from "../../chunks/store.js";
|
|
37
31
|
import { a as K } from "../../chunks/chart-ui-utils2.js";
|
|
38
32
|
import { u as L } from "../../chunks/useT9n.js";
|
|
@@ -124,7 +118,7 @@ class J extends q {
|
|
|
124
118
|
willUpdate(e) {
|
|
125
119
|
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel = k(this.model.aggregationType, this.commonStrings), f(this.model.getDataFilters(), this.currentDataFilter) || (this.model.getSortOrder() === d.customSort && this.updateCustomSortProps(), this.currentDataFilter = this.model.getDataFilters());
|
|
126
120
|
const t = this.model.timeAggregationType;
|
|
127
|
-
t !== void 0 && (this.timeAggregationLabel =
|
|
121
|
+
t !== void 0 && (this.timeAggregationLabel = D(t, this.commonStrings)), this.disableSplitBy = this.model.numericFields.length > 1 || this.model.xAxisField === "" || this.model.xAxisField === O;
|
|
128
122
|
}
|
|
129
123
|
disconnectedCallback() {
|
|
130
124
|
super.disconnectedCallback(), this.removeBarChartDataPopover(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -11,33 +11,28 @@ import { css as x, html as a } from "lit";
|
|
|
11
11
|
import { createRef as u, ref as d } from "lit/directives/ref.js";
|
|
12
12
|
import { isEqual as $ } from "lodash-es";
|
|
13
13
|
import { u as L } from "../../chunks/useT9n.js";
|
|
14
|
-
import { B as n } from "../../chunks/
|
|
14
|
+
import { B as n } from "../../chunks/interfaces2.js";
|
|
15
15
|
import { S as m } from "../../chunks/common.js";
|
|
16
16
|
import "@arcgis/toolkit/intl";
|
|
17
17
|
import "luxon";
|
|
18
|
-
import {
|
|
18
|
+
import { au as E, bc as z, bi as N, cI as k, cz as w, d2 as B, cM as K, c1 as _ } from "../../chunks/interfaces.js";
|
|
19
19
|
import "@arcgis/core/Graphic.js";
|
|
20
20
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
21
21
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
22
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
23
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
24
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
25
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
26
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
27
|
-
import "simple-statistics";
|
|
28
|
-
import "@arcgis/core/request.js";
|
|
29
|
-
import "@arcgis/core/core/sql.js";
|
|
30
22
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
31
23
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
32
24
|
import "@arcgis/core/rest/support/Query.js";
|
|
33
25
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
34
26
|
import "@arcgis/core/time/TimeExtent.js";
|
|
35
27
|
import "@arcgis/core/core/promiseUtils.js";
|
|
28
|
+
import "@arcgis/core/request.js";
|
|
36
29
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
37
30
|
import "@arcgis/core/geometry/Extent.js";
|
|
38
31
|
import "@arcgis/core/geometry/Point.js";
|
|
39
|
-
import
|
|
40
|
-
import {
|
|
32
|
+
import "simple-statistics";
|
|
33
|
+
import { a as M } from "../../chunks/index3.js";
|
|
34
|
+
import { e as O, p as j } from "../../chunks/popover-ui-utils.js";
|
|
35
|
+
import { b as v, a as I, c as h, d as H, e as U, s as W } from "../../chunks/chart-ui-utils2.js";
|
|
41
36
|
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 = {
|
|
42
37
|
jsAppFlyout: "js-app-flyout",
|
|
43
38
|
name: "bar-chart-data-popover",
|
|
@@ -68,7 +63,7 @@ class q extends T {
|
|
|
68
63
|
e.has("selectedContent") && this.selectedContentChange(this.selectedContent, e.get("selectedContent"));
|
|
69
64
|
const t = v.map((s) => E(s, this.commonStrings));
|
|
70
65
|
$(this.aggregationLabels, t) || (this.aggregationLabels = t);
|
|
71
|
-
const l = [g.Start, g.End].map((s) =>
|
|
66
|
+
const l = [g.Start, g.End].map((s) => z(s, this.commonStrings));
|
|
72
67
|
$(this.timeAggregationLabels, l) || (this.timeAggregationLabels = l);
|
|
73
68
|
}
|
|
74
69
|
updated() {
|
|
@@ -77,7 +72,7 @@ class q extends T {
|
|
|
77
72
|
}, I.PopoverTimer), O(this.popoverElement.value, this.open);
|
|
78
73
|
}
|
|
79
74
|
selectedContentChange(e, t) {
|
|
80
|
-
this.pickListHasChanged =
|
|
75
|
+
this.pickListHasChanged = j(e, t);
|
|
81
76
|
}
|
|
82
77
|
buildAggregationListItems() {
|
|
83
78
|
const e = this.isNoAggregationDisabled ? v.filter((t) => t !== S.NoAggregation) : v;
|
|
@@ -85,14 +80,14 @@ class q extends T {
|
|
|
85
80
|
}
|
|
86
81
|
createTooltip(e) {
|
|
87
82
|
if (e.target?.label === this._messages.customSort && this.isCustomSortDisabled) {
|
|
88
|
-
const t = e.target, i =
|
|
83
|
+
const t = e.target, i = M(t), s = new Intl.NumberFormat(i).format(I.customSortLimit), r = D(this._messages.customSortLimit ?? "", {
|
|
89
84
|
totalLimit: s
|
|
90
85
|
});
|
|
91
86
|
this.tooltip = A(a`<calcite-tooltip style=${P({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${r}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
92
87
|
}
|
|
93
88
|
}
|
|
94
89
|
destroyTooltip() {
|
|
95
|
-
|
|
90
|
+
H(this.tooltip);
|
|
96
91
|
}
|
|
97
92
|
buildSortOrder() {
|
|
98
93
|
const e = Object.keys(m);
|
|
@@ -125,7 +120,7 @@ class q extends T {
|
|
|
125
120
|
});
|
|
126
121
|
}
|
|
127
122
|
buildPickListItem(e) {
|
|
128
|
-
return f(e.name, a`<calcite-list-item .label=${
|
|
123
|
+
return f(e.name, a`<calcite-list-item .label=${N(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${h(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
129
124
|
}
|
|
130
125
|
buildPickListItems(e) {
|
|
131
126
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
@@ -133,7 +128,7 @@ class q extends T {
|
|
|
133
128
|
case n.numericFields: {
|
|
134
129
|
for (let l = 0; l < t; l += 1) {
|
|
135
130
|
const s = this.layerFieldsInfo?.[l];
|
|
136
|
-
s &&
|
|
131
|
+
s && K(s) && i.push(this.buildPickListItem(s));
|
|
137
132
|
}
|
|
138
133
|
break;
|
|
139
134
|
}
|
|
@@ -142,7 +137,7 @@ class q extends T {
|
|
|
142
137
|
i.push(l);
|
|
143
138
|
for (let s = 0; s < t; s += 1) {
|
|
144
139
|
const r = this.layerFieldsInfo?.[s];
|
|
145
|
-
r && (r.type === C.String || k(r) ||
|
|
140
|
+
r && (r.type === C.String || k(r) || w(r) || B(r)) && i.push(this.buildPickListItem(r));
|
|
146
141
|
}
|
|
147
142
|
break;
|
|
148
143
|
}
|
|
@@ -227,7 +222,7 @@ class q extends T {
|
|
|
227
222
|
p.Month,
|
|
228
223
|
p.Year
|
|
229
224
|
];
|
|
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=${W(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=${
|
|
225
|
+
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=${W(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=${_(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
226
|
}
|
|
232
227
|
renderPopoverInfo() {
|
|
233
228
|
let e;
|
|
@@ -6,35 +6,29 @@ import "lodash-es";
|
|
|
6
6
|
import "luxon";
|
|
7
7
|
import { q as r, r as u } from "../../chunks/series-types.js";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
|
-
import { C as T,
|
|
9
|
+
import { C as T, dU as C } from "../../chunks/interfaces.js";
|
|
10
10
|
import "@arcgis/core/Graphic.js";
|
|
11
11
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
12
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
13
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
14
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
15
13
|
import "@esri/arcgis-html-sanitizer";
|
|
16
|
-
import "@arcgis/core/intl.js";
|
|
17
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
18
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
19
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
20
|
-
import "simple-statistics";
|
|
21
|
-
import "@arcgis/core/request.js";
|
|
22
|
-
import "@arcgis/core/core/sql.js";
|
|
23
14
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
24
15
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
25
16
|
import "@arcgis/core/rest/support/Query.js";
|
|
26
17
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
27
18
|
import "@arcgis/core/time/TimeExtent.js";
|
|
28
19
|
import "@arcgis/core/core/promiseUtils.js";
|
|
20
|
+
import "@arcgis/core/request.js";
|
|
29
21
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
22
|
import "@arcgis/core/geometry/Extent.js";
|
|
31
23
|
import "@arcgis/core/geometry/Point.js";
|
|
24
|
+
import "simple-statistics";
|
|
32
25
|
import "@arcgis/toolkit/dom";
|
|
26
|
+
import "@arcgis/core/intl.js";
|
|
33
27
|
import { r as v } from "../../chunks/popover-ui-utils.js";
|
|
34
28
|
import { repeat as P } from "lit/directives/repeat.js";
|
|
35
29
|
import { u as L } from "../../chunks/useT9n.js";
|
|
36
30
|
import { css as M, html as l } from "lit";
|
|
37
|
-
import { LitElement as N, createEvent as O, renderElement as f, safeStyleMap as
|
|
31
|
+
import { LitElement as N, createEvent as O, renderElement as f, safeStyleMap as h, safeClassMap as a } from "@arcgis/lumina";
|
|
38
32
|
import { d as _ } from "../../chunks/chart-ui-utils2.js";
|
|
39
33
|
const E = {
|
|
40
34
|
stackedType: "stacked-type"
|
|
@@ -119,15 +113,15 @@ class D extends N {
|
|
|
119
113
|
const [b, y, $, I] = [...c];
|
|
120
114
|
g = `rgba(${b},${y},${$},${I / 255})`;
|
|
121
115
|
}
|
|
122
|
-
return l`<calcite-list-item .label=${d ?? n ?? ""} .description=${S} .value=${n} .selected=${this.selectedSeriesIndex === s} @click=${this.openSeriesPopOver}><calcite-icon .icon=${p} style=${
|
|
116
|
+
return l`<calcite-list-item .label=${d ?? n ?? ""} .description=${S} .value=${n} .selected=${this.selectedSeriesIndex === s} @click=${this.openSeriesPopOver}><calcite-icon .icon=${p} style=${h({ color: g })} slot=content-end></calcite-icon></calcite-list-item>`;
|
|
123
117
|
});
|
|
124
118
|
}
|
|
125
119
|
buildSeriesList() {
|
|
126
120
|
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
121
|
}
|
|
128
122
|
buildNullCategoryUI() {
|
|
129
|
-
const e = this.model.nullCategory, t = this._messages.nullCategory, i = e?.symbol?.color ?? C.nullCategory?.symbol?.color ?? C.grayColor, [s, n, c, d] = [...i],
|
|
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=${
|
|
123
|
+
const e = this.model.nullCategory, t = this._messages.nullCategory, i = e?.symbol?.color ?? C.nullCategory?.symbol?.color ?? C.grayColor, [s, n, c, d] = [...i], m = `rgba(${s},${n},${c},${d / 255})`;
|
|
124
|
+
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: m })} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
131
125
|
}
|
|
132
126
|
buildMultipleBarTypeList() {
|
|
133
127
|
const e = this.shouldDisableStacking();
|
|
@@ -155,7 +149,7 @@ class D extends N {
|
|
|
155
149
|
}
|
|
156
150
|
createTooltip(e) {
|
|
157
151
|
const t = e.target, i = (this.model.aggregationType === u.NoAggregation ? this._messages.noAggStackingDisabled : this._messages.singleStackingDisabled) ?? "";
|
|
158
|
-
this.tooltip = f(l`<calcite-tooltip style=${
|
|
152
|
+
this.tooltip = f(l`<calcite-tooltip style=${h({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
159
153
|
}
|
|
160
154
|
destroyTooltip() {
|
|
161
155
|
_(this.tooltip);
|
|
@@ -6,35 +6,29 @@ import "lodash-es";
|
|
|
6
6
|
import "luxon";
|
|
7
7
|
import "../../chunks/series-types.js";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
|
-
import {
|
|
9
|
+
import { dB as h } from "../../chunks/interfaces.js";
|
|
10
10
|
import "@arcgis/core/Graphic.js";
|
|
11
11
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
12
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
13
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
14
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
15
13
|
import "@esri/arcgis-html-sanitizer";
|
|
16
|
-
import "@arcgis/core/intl.js";
|
|
17
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
18
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
19
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
20
|
-
import "simple-statistics";
|
|
21
|
-
import "@arcgis/core/request.js";
|
|
22
|
-
import "@arcgis/core/core/sql.js";
|
|
23
14
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
24
15
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
25
16
|
import "@arcgis/core/rest/support/Query.js";
|
|
26
17
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
27
18
|
import "@arcgis/core/time/TimeExtent.js";
|
|
28
19
|
import "@arcgis/core/core/promiseUtils.js";
|
|
20
|
+
import "@arcgis/core/request.js";
|
|
29
21
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
22
|
import "@arcgis/core/geometry/Extent.js";
|
|
31
23
|
import "@arcgis/core/geometry/Point.js";
|
|
24
|
+
import "simple-statistics";
|
|
32
25
|
import "@arcgis/toolkit/dom";
|
|
26
|
+
import "@arcgis/core/intl.js";
|
|
33
27
|
import { e as d } from "../../chunks/popover-ui-utils.js";
|
|
34
28
|
import { u as g } from "../../chunks/useT9n.js";
|
|
35
29
|
import { createRef as C, ref as v } from "lit/directives/ref.js";
|
|
36
30
|
import { LitElement as f, createEvent as o, safeClassMap as i } from "@arcgis/lumina";
|
|
37
|
-
const
|
|
31
|
+
const s = {
|
|
38
32
|
jsAppFlyout: "js-app-flyout",
|
|
39
33
|
panelChildrenContainer: "panel-children-container"
|
|
40
34
|
}, 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}`;
|
|
@@ -64,14 +58,14 @@ class y extends f {
|
|
|
64
58
|
});
|
|
65
59
|
}
|
|
66
60
|
colorChange(e) {
|
|
67
|
-
const t = e instanceof CustomEvent ? e.detail : e, [
|
|
68
|
-
this.selectedColor = [
|
|
61
|
+
const t = e instanceof CustomEvent ? e.detail : e, [r, a, l] = t, n = h * 255;
|
|
62
|
+
this.selectedColor = [r, a, l, n], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [r, a, l, n] });
|
|
69
63
|
}
|
|
70
64
|
render() {
|
|
71
65
|
const e = this.nullCategory?.symbol?.color ?? this.selectedColor, t = this.nullCategory?.text ?? this.selectedName;
|
|
72
66
|
return m`<div class=${i({
|
|
73
|
-
[
|
|
74
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${v(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${i(
|
|
67
|
+
[s.jsAppFlyout]: !0
|
|
68
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${v(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${i(s.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div><div class=${i(s.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
69
|
}
|
|
76
70
|
}
|
|
77
71
|
c("arcgis-charts-config-bar-chart-series-popover", y);
|
|
@@ -5,36 +5,30 @@ import { isEqual as r } from "lodash-es";
|
|
|
5
5
|
import "luxon";
|
|
6
6
|
import "../../chunks/series-types.js";
|
|
7
7
|
import "@arcgis/toolkit/type";
|
|
8
|
-
import {
|
|
8
|
+
import { bt as n, a6 as c } from "../../chunks/interfaces.js";
|
|
9
9
|
import "@arcgis/core/Graphic.js";
|
|
10
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
12
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
13
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
14
12
|
import "@esri/arcgis-html-sanitizer";
|
|
15
|
-
import "@arcgis/core/intl.js";
|
|
16
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
17
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
18
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
19
|
-
import "simple-statistics";
|
|
20
|
-
import "@arcgis/core/request.js";
|
|
21
|
-
import "@arcgis/core/core/sql.js";
|
|
22
13
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
23
14
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
24
15
|
import "@arcgis/core/rest/support/Query.js";
|
|
25
16
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
26
17
|
import "@arcgis/core/time/TimeExtent.js";
|
|
27
18
|
import "@arcgis/core/core/promiseUtils.js";
|
|
19
|
+
import "@arcgis/core/request.js";
|
|
28
20
|
import { h } from "../../chunks/index4.js";
|
|
29
21
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
22
|
import "@arcgis/core/geometry/Extent.js";
|
|
31
23
|
import "@arcgis/core/geometry/Point.js";
|
|
24
|
+
import "simple-statistics";
|
|
32
25
|
import "@arcgis/toolkit/dom";
|
|
26
|
+
import "@arcgis/core/intl.js";
|
|
33
27
|
import { LitElement as d } from "@arcgis/lumina";
|
|
34
28
|
import { css as m, html as s } from "lit";
|
|
35
|
-
import { C as a } from "../../chunks/
|
|
36
|
-
const
|
|
37
|
-
class
|
|
29
|
+
import { C as a } from "../../chunks/interfaces2.js";
|
|
30
|
+
const f = m`: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%}`;
|
|
31
|
+
class g extends d {
|
|
38
32
|
constructor() {
|
|
39
33
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
40
34
|
const o = e?.detail.config ?? this.model.config;
|
|
@@ -45,7 +39,7 @@ class f extends d {
|
|
|
45
39
|
this.properties = { layerFieldsInfo: 16, activeColorMatch: 16, model: 0, popoverPlacement: 1, seriesColor: 0, page: 1, calculatedMinMaxBounds: 0, layer: 0, usePopupTemplateFieldsInfo: 5 };
|
|
46
40
|
}
|
|
47
41
|
static {
|
|
48
|
-
this.styles =
|
|
42
|
+
this.styles = f;
|
|
49
43
|
}
|
|
50
44
|
async load() {
|
|
51
45
|
this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model), this.updateDataFilters();
|
|
@@ -110,7 +104,7 @@ class f extends d {
|
|
|
110
104
|
return e;
|
|
111
105
|
}
|
|
112
106
|
}
|
|
113
|
-
l("arcgis-charts-config-box-plot",
|
|
107
|
+
l("arcgis-charts-config-box-plot", g);
|
|
114
108
|
export {
|
|
115
|
-
|
|
109
|
+
g as ArcgisChartsConfigBoxPlot
|
|
116
110
|
};
|
|
@@ -7,32 +7,26 @@ import { u as y } from "../../chunks/series-types.js";
|
|
|
7
7
|
import "@arcgis/toolkit/intl";
|
|
8
8
|
import { isEqual as C } from "lodash-es";
|
|
9
9
|
import "luxon";
|
|
10
|
-
import {
|
|
10
|
+
import { y as d, bn as S, bi as g } from "../../chunks/interfaces.js";
|
|
11
11
|
import "@arcgis/core/Graphic.js";
|
|
12
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
14
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
15
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
16
|
-
import "@arcgis/core/intl.js";
|
|
17
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
18
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
19
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
20
|
-
import "simple-statistics";
|
|
21
|
-
import "@arcgis/core/request.js";
|
|
22
|
-
import "@arcgis/core/core/sql.js";
|
|
23
14
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
24
15
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
25
16
|
import "@arcgis/core/rest/support/Query.js";
|
|
26
17
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
27
18
|
import "@arcgis/core/time/TimeExtent.js";
|
|
28
19
|
import "@arcgis/core/core/promiseUtils.js";
|
|
20
|
+
import "@arcgis/core/request.js";
|
|
29
21
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
30
22
|
import "@arcgis/core/geometry/Extent.js";
|
|
31
23
|
import "@arcgis/core/geometry/Point.js";
|
|
24
|
+
import "simple-statistics";
|
|
32
25
|
import "@arcgis/toolkit/dom";
|
|
26
|
+
import "@arcgis/core/intl.js";
|
|
33
27
|
import { r as p } from "../../chunks/popover-ui-utils.js";
|
|
34
28
|
import { repeat as v } from "lit/directives/repeat.js";
|
|
35
|
-
import { a as l, c as m } from "../../chunks/
|
|
29
|
+
import { a as l, c as m } from "../../chunks/interfaces2.js";
|
|
36
30
|
import { d as $, s as F } from "../../chunks/store.js";
|
|
37
31
|
import { a as x } from "../../chunks/chart-ui-utils2.js";
|
|
38
32
|
import { u as I } from "../../chunks/useT9n.js";
|