@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,42 +1,37 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as k } from "../../chunks/runtime.js";
|
|
3
|
-
import { keyed as
|
|
3
|
+
import { keyed as p } from "lit/directives/keyed.js";
|
|
4
4
|
import { repeat as v } from "lit/directives/repeat.js";
|
|
5
|
-
import { B as
|
|
5
|
+
import { B as r } from "../../chunks/common.js";
|
|
6
6
|
import "@arcgis/toolkit/type";
|
|
7
7
|
import "../../chunks/series-types.js";
|
|
8
8
|
import { R as u } from "../../chunks/rest-js-object-literals.js";
|
|
9
9
|
import "@arcgis/toolkit/intl";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "luxon";
|
|
12
|
-
import {
|
|
12
|
+
import { bi as $, cI as f, cM as y } from "../../chunks/interfaces.js";
|
|
13
13
|
import "@arcgis/core/Graphic.js";
|
|
14
14
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
15
15
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
16
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
17
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
18
|
-
import { substitute as L } from "@arcgis/core/intl.js";
|
|
19
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
20
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
21
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
22
|
-
import "simple-statistics";
|
|
23
|
-
import "@arcgis/core/request.js";
|
|
24
|
-
import "@arcgis/core/core/sql.js";
|
|
25
16
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
26
17
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
27
18
|
import "@arcgis/core/rest/support/Query.js";
|
|
28
19
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
29
20
|
import "@arcgis/core/time/TimeExtent.js";
|
|
30
21
|
import "@arcgis/core/core/promiseUtils.js";
|
|
22
|
+
import "@arcgis/core/request.js";
|
|
31
23
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
32
24
|
import "@arcgis/core/geometry/Extent.js";
|
|
33
25
|
import "@arcgis/core/geometry/Point.js";
|
|
26
|
+
import "simple-statistics";
|
|
27
|
+
import { a as F } from "../../chunks/index3.js";
|
|
28
|
+
import { substitute as L } from "@arcgis/core/intl.js";
|
|
34
29
|
import { e as P, p as I } from "../../chunks/popover-ui-utils.js";
|
|
35
|
-
import { a as l } from "../../chunks/
|
|
30
|
+
import { a as l } from "../../chunks/interfaces2.js";
|
|
36
31
|
import { a as g, e as x, c as h, d as D } from "../../chunks/chart-ui-utils2.js";
|
|
37
32
|
import { u as S } from "../../chunks/useT9n.js";
|
|
38
|
-
import { css as T, html as
|
|
39
|
-
import { createRef as b, ref as
|
|
33
|
+
import { css as T, html as n } from "lit";
|
|
34
|
+
import { createRef as b, ref as d } from "lit/directives/ref.js";
|
|
40
35
|
import { LitElement as E, createEvent as C, renderElement as w, safeStyleMap as B, safeClassMap as m } from "@arcgis/lumina";
|
|
41
36
|
const o = {
|
|
42
37
|
jsAppFlyout: "js-app-flyout",
|
|
@@ -49,8 +44,8 @@ const o = {
|
|
|
49
44
|
sortMedian: "sort-median",
|
|
50
45
|
sortOrderPickList: "sort-order-pick-list",
|
|
51
46
|
panel: "panel"
|
|
52
|
-
},
|
|
53
|
-
class
|
|
47
|
+
}, M = T`.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-mean,.sort-median{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`;
|
|
48
|
+
class N extends E {
|
|
54
49
|
constructor() {
|
|
55
50
|
super(...arguments), this._messages = S(), this.picklist = b(), this.placement = "leading", this.popoverElement = b(), this.offsetDistance = -200, this.pickListHasChanged = !1, this.layerFieldsInfo = [], this.isCustomSortDisabled = !1, this.arcgisChartsConfigBoxPlotDataPopoverChange = C(), this.arcgisChartsConfigPopoverClose = C();
|
|
56
51
|
}
|
|
@@ -58,7 +53,7 @@ class K extends E {
|
|
|
58
53
|
this.properties = { messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, isCustomSortDisabled: 5, selectedContent: 1 };
|
|
59
54
|
}
|
|
60
55
|
static {
|
|
61
|
-
this.styles =
|
|
56
|
+
this.styles = M;
|
|
62
57
|
}
|
|
63
58
|
async reposition() {
|
|
64
59
|
await this.popoverElement.value?.reposition();
|
|
@@ -94,7 +89,7 @@ class K extends E {
|
|
|
94
89
|
}), this.open = !1;
|
|
95
90
|
}
|
|
96
91
|
buildPickListItem(e) {
|
|
97
|
-
return
|
|
92
|
+
return p(e.name, n`<calcite-list-item .label=${$(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${h(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
98
93
|
}
|
|
99
94
|
buildPickListItems(e) {
|
|
100
95
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
@@ -107,7 +102,7 @@ class K extends E {
|
|
|
107
102
|
break;
|
|
108
103
|
}
|
|
109
104
|
case l.category: {
|
|
110
|
-
const s =
|
|
105
|
+
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${h("", this.selectedContent)}></calcite-list-item>`);
|
|
111
106
|
i.push(s);
|
|
112
107
|
for (let a = 0; a < t; a += 1) {
|
|
113
108
|
const c = this.layerFieldsInfo[a];
|
|
@@ -116,7 +111,7 @@ class K extends E {
|
|
|
116
111
|
break;
|
|
117
112
|
}
|
|
118
113
|
case l.splitByField: {
|
|
119
|
-
const s =
|
|
114
|
+
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${h("", this.selectedContent)}></calcite-list-item>`);
|
|
120
115
|
i.push(s);
|
|
121
116
|
for (let a = 0; a < t; a += 1) {
|
|
122
117
|
const c = this.layerFieldsInfo[a];
|
|
@@ -131,40 +126,40 @@ class K extends E {
|
|
|
131
126
|
e.target !== null && (this.selectedContent = e.target.selectedItems.map((t) => t.value));
|
|
132
127
|
}
|
|
133
128
|
buildSortOrder() {
|
|
134
|
-
const e = Object.keys(
|
|
129
|
+
const e = Object.keys(r);
|
|
135
130
|
let t;
|
|
136
131
|
return v(e, (i) => i, (i) => {
|
|
137
132
|
let s = "";
|
|
138
133
|
switch (i) {
|
|
139
|
-
case
|
|
134
|
+
case r.xAxisAsc: {
|
|
140
135
|
t = "a-z-down";
|
|
141
136
|
break;
|
|
142
137
|
}
|
|
143
|
-
case
|
|
138
|
+
case r.xAxisDesc: {
|
|
144
139
|
t = "a-z-up";
|
|
145
140
|
break;
|
|
146
141
|
}
|
|
147
|
-
case
|
|
142
|
+
case r.meanAsc:
|
|
148
143
|
t = "sort-descending", s = o.sortMean;
|
|
149
144
|
break;
|
|
150
|
-
case
|
|
145
|
+
case r.meanDesc: {
|
|
151
146
|
t = "sort-ascending", s = o.sortMean;
|
|
152
147
|
break;
|
|
153
148
|
}
|
|
154
|
-
case
|
|
149
|
+
case r.medianAsc: {
|
|
155
150
|
t = "sort-descending", s = o.sortMedian;
|
|
156
151
|
break;
|
|
157
152
|
}
|
|
158
|
-
case
|
|
153
|
+
case r.medianDesc: {
|
|
159
154
|
t = "sort-ascending", s = o.sortMedian;
|
|
160
155
|
break;
|
|
161
156
|
}
|
|
162
|
-
case
|
|
157
|
+
case r.customSort: {
|
|
163
158
|
t = "arrow-up-down";
|
|
164
159
|
break;
|
|
165
160
|
}
|
|
166
161
|
}
|
|
167
|
-
return
|
|
162
|
+
return n`<calcite-list-item .disabled=${this.isCustomSortDisabled && i === r.customSort} .label=${this._messages[i]} .selected=${this.selectedContent === i} .value=${r[i]} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}><calcite-icon class=${`sort-icon-color ${s}`} slot=content-start .icon=${t}></calcite-icon></calcite-list-item>`;
|
|
168
163
|
});
|
|
169
164
|
}
|
|
170
165
|
onNumericFieldSelectionDone() {
|
|
@@ -175,7 +170,7 @@ class K extends E {
|
|
|
175
170
|
const t = e.target, i = F(t), a = new Intl.NumberFormat(i).format(g.customSortLimit), c = L(this._messages.customSortLimit ?? "", {
|
|
176
171
|
totalLimit: a
|
|
177
172
|
});
|
|
178
|
-
this.tooltip = w(
|
|
173
|
+
this.tooltip = w(n`<calcite-tooltip style=${B({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${c}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
179
174
|
}
|
|
180
175
|
}
|
|
181
176
|
destroyTooltip() {
|
|
@@ -183,19 +178,19 @@ class K extends E {
|
|
|
183
178
|
}
|
|
184
179
|
renderCategory() {
|
|
185
180
|
const e = this.buildPickListItems(l.category);
|
|
186
|
-
return
|
|
181
|
+
return n`<calcite-list label class=${m(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`;
|
|
187
182
|
}
|
|
188
183
|
renderNumericFields() {
|
|
189
184
|
const e = this.buildPickListItems(l.numericFields);
|
|
190
|
-
return
|
|
185
|
+
return n`<calcite-list label class=${m(o.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${d(this.picklist)}>${e}</calcite-list>`;
|
|
191
186
|
}
|
|
192
187
|
renderSplitByField() {
|
|
193
188
|
const e = this.buildPickListItems(l.splitByField);
|
|
194
|
-
return
|
|
189
|
+
return n`<calcite-list label class=${m(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`;
|
|
195
190
|
}
|
|
196
191
|
renderSortOrder() {
|
|
197
192
|
const e = this.buildSortOrder();
|
|
198
|
-
return
|
|
193
|
+
return n`<calcite-list label class=${m(o.sortOrderPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
199
194
|
}
|
|
200
195
|
renderPopoverInfo() {
|
|
201
196
|
let e;
|
|
@@ -217,10 +212,10 @@ class K extends E {
|
|
|
217
212
|
}
|
|
218
213
|
render() {
|
|
219
214
|
let e;
|
|
220
|
-
return this.contentKind === l.numericFields && (e =
|
|
215
|
+
return this.contentKind === l.numericFields && (e = n`<div slot=footer><calcite-fab class=${m(o.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div class=${m(o.jsAppFlyout)}><calcite-popover class=${m(o.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${d(this.popoverElement)}><calcite-panel class=${m(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${m(o.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
221
216
|
}
|
|
222
217
|
}
|
|
223
|
-
k("arcgis-charts-config-box-plot-popover",
|
|
218
|
+
k("arcgis-charts-config-box-plot-popover", N);
|
|
224
219
|
export {
|
|
225
|
-
|
|
220
|
+
N as ArcgisChartsConfigBoxPlotPopover
|
|
226
221
|
};
|
|
@@ -7,30 +7,24 @@ import "lodash-es";
|
|
|
7
7
|
import "luxon";
|
|
8
8
|
import { b as d } from "../../chunks/series-types.js";
|
|
9
9
|
import "@arcgis/toolkit/type";
|
|
10
|
-
import { C as S } from "../../chunks/
|
|
10
|
+
import { C as S } 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
14
|
import "@esri/arcgis-html-sanitizer";
|
|
17
|
-
import "@arcgis/core/intl.js";
|
|
18
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
19
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
20
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
21
|
-
import "simple-statistics";
|
|
22
|
-
import "@arcgis/core/request.js";
|
|
23
|
-
import "@arcgis/core/core/sql.js";
|
|
24
15
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
25
16
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
26
17
|
import "@arcgis/core/rest/support/Query.js";
|
|
27
18
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
28
19
|
import "@arcgis/core/time/TimeExtent.js";
|
|
29
20
|
import "@arcgis/core/core/promiseUtils.js";
|
|
21
|
+
import "@arcgis/core/request.js";
|
|
30
22
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
31
23
|
import "@arcgis/core/geometry/Extent.js";
|
|
32
24
|
import "@arcgis/core/geometry/Point.js";
|
|
25
|
+
import "simple-statistics";
|
|
33
26
|
import "@arcgis/toolkit/dom";
|
|
27
|
+
import "@arcgis/core/intl.js";
|
|
34
28
|
import { r as f } from "../../chunks/popover-ui-utils.js";
|
|
35
29
|
import { repeat as M } from "lit/directives/repeat.js";
|
|
36
30
|
import { u as B } from "../../chunks/useT9n.js";
|
|
@@ -7,30 +7,24 @@ import "luxon";
|
|
|
7
7
|
import "../../chunks/series-types.js";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
9
|
import { i as v } from "../../chunks/rest-js-object-literals.js";
|
|
10
|
-
import {
|
|
10
|
+
import { dB as d } 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
14
|
import "@esri/arcgis-html-sanitizer";
|
|
17
|
-
import "@arcgis/core/intl.js";
|
|
18
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
19
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
20
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
21
|
-
import "simple-statistics";
|
|
22
|
-
import "@arcgis/core/request.js";
|
|
23
|
-
import "@arcgis/core/core/sql.js";
|
|
24
15
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
25
16
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
26
17
|
import "@arcgis/core/rest/support/Query.js";
|
|
27
18
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
28
19
|
import "@arcgis/core/time/TimeExtent.js";
|
|
29
20
|
import "@arcgis/core/core/promiseUtils.js";
|
|
21
|
+
import "@arcgis/core/request.js";
|
|
30
22
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
31
23
|
import "@arcgis/core/geometry/Extent.js";
|
|
32
24
|
import "@arcgis/core/geometry/Point.js";
|
|
25
|
+
import "simple-statistics";
|
|
33
26
|
import "@arcgis/toolkit/dom";
|
|
27
|
+
import "@arcgis/core/intl.js";
|
|
34
28
|
import { e as y } from "../../chunks/popover-ui-utils.js";
|
|
35
29
|
import { u as S } from "../../chunks/useT9n.js";
|
|
36
30
|
import { createRef as u, ref as b } from "lit/directives/ref.js";
|
|
@@ -5,35 +5,29 @@ import { isEmpty as m } from "lodash-es";
|
|
|
5
5
|
import "luxon";
|
|
6
6
|
import "../../chunks/series-types.js";
|
|
7
7
|
import "@arcgis/toolkit/type";
|
|
8
|
-
import "../../chunks/
|
|
8
|
+
import "../../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 "@arcgis/core/applications/Components/imageryUtils.js";
|
|
29
21
|
import "@arcgis/core/geometry/Extent.js";
|
|
30
22
|
import "@arcgis/core/geometry/Point.js";
|
|
23
|
+
import "simple-statistics";
|
|
31
24
|
import "@arcgis/toolkit/dom";
|
|
25
|
+
import "@arcgis/core/intl.js";
|
|
32
26
|
import { e as c } from "../../chunks/popover-ui-utils.js";
|
|
33
27
|
import { m as p, U as s } from "../../chunks/chart-ui-utils2.js";
|
|
34
28
|
import { u as h } from "../../chunks/useT9n.js";
|
|
35
29
|
import { css as d, html as u } from "lit";
|
|
36
|
-
import { createRef as
|
|
30
|
+
import { createRef as n, ref as r } from "lit/directives/ref.js";
|
|
37
31
|
import { LitElement as g, createEvent as o, safeClassMap as i } from "@arcgis/lumina";
|
|
38
32
|
const e = {
|
|
39
33
|
jsAppFlyout: "js-app-flyout",
|
|
@@ -43,7 +37,7 @@ const e = {
|
|
|
43
37
|
}, v = 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)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex;padding:0 1rem;margin-top:1rem}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`;
|
|
44
38
|
class C extends g {
|
|
45
39
|
constructor() {
|
|
46
|
-
super(...arguments), this._messages = h(), this.characterLimitInputElement =
|
|
40
|
+
super(...arguments), this._messages = h(), this.characterLimitInputElement = n(), this.popoverElement = n(), this.isChartTitleInvalid = !1, this.changedName = "", this.name = "", this.arcgisChartsConfigChartRenamePopoverChange = o(), this.arcgisChartsConfigPopoverClose = o();
|
|
47
41
|
}
|
|
48
42
|
static {
|
|
49
43
|
this.properties = { isChartTitleInvalid: 16, changedName: 16, messageOverrides: 0, name: 1, open: 5, referenceElement: 0 };
|
|
@@ -80,7 +74,7 @@ class C extends g {
|
|
|
80
74
|
return u`<div class=${i({
|
|
81
75
|
[e.chartRenameComponent]: !0,
|
|
82
76
|
[e.jsAppFlyout]: !0
|
|
83
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${
|
|
77
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${r(this.popoverElement)}><calcite-panel class=${i(e.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${i(e.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${r(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`;
|
|
84
78
|
}
|
|
85
79
|
}
|
|
86
80
|
l("arcgis-charts-config-chart-rename-popover", C);
|
|
@@ -4,11 +4,11 @@ import { repeat as V } from "lit/directives/repeat.js";
|
|
|
4
4
|
import { keyed as $ } from "lit/directives/keyed.js";
|
|
5
5
|
import { c as U } from "../../chunks/setup-utils.js";
|
|
6
6
|
import { g as S, i as b, t as _, k as T, m as v } from "../../chunks/type-guards.js";
|
|
7
|
-
import { i as
|
|
7
|
+
import { i as H } from "../../chunks/rotated-state.js";
|
|
8
8
|
import "@arcgis/toolkit/intl";
|
|
9
9
|
import { isEqual as w } from "lodash-es";
|
|
10
10
|
import "luxon";
|
|
11
|
-
import {
|
|
11
|
+
import { cN as D, dJ as k, cZ as F, dU as R, c$ as z, dX as O, ar as W, dY as X, d0 as Z, dL as G } from "../../chunks/interfaces.js";
|
|
12
12
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
13
13
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
14
14
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -19,25 +19,19 @@ import { u as o, s as K } from "../../chunks/series-types.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 { substitute as j } from "@arcgis/core/intl.js";
|
|
25
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
26
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
27
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
28
|
-
import "simple-statistics";
|
|
29
|
-
import "@arcgis/core/request.js";
|
|
30
|
-
import "@arcgis/core/core/sql.js";
|
|
31
22
|
import "@arcgis/core/core/promiseUtils.js";
|
|
23
|
+
import "@arcgis/core/request.js";
|
|
32
24
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
33
25
|
import "@arcgis/core/geometry/Extent.js";
|
|
34
26
|
import "@arcgis/core/geometry/Point.js";
|
|
27
|
+
import "simple-statistics";
|
|
35
28
|
import "@arcgis/toolkit/dom";
|
|
36
29
|
import { C as f } from "../../chunks/index5.js";
|
|
37
30
|
import { a as L } from "../../chunks/chart-ui-utils.js";
|
|
38
|
-
import { r as
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
31
|
+
import { r as Y } from "../../chunks/popover-ui-utils.js";
|
|
32
|
+
import { substitute as j } from "@arcgis/core/intl.js";
|
|
33
|
+
import { C as l } from "../../chunks/interfaces2.js";
|
|
34
|
+
import { LitElement as q, createEvent as y, renderElement as I, safeStyleMap as J, safeClassMap as d } from "@arcgis/lumina";
|
|
41
35
|
import { css as Q, html as h } from "lit";
|
|
42
36
|
import { createRef as ee, ref as te } from "lit/directives/ref.js";
|
|
43
37
|
import { u as P } from "../../chunks/useT9n.js";
|
|
@@ -102,7 +96,7 @@ function de(p, e) {
|
|
|
102
96
|
}
|
|
103
97
|
}
|
|
104
98
|
const me = Q`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
|
|
105
|
-
class pe extends
|
|
99
|
+
class pe extends q {
|
|
106
100
|
constructor() {
|
|
107
101
|
super(), this.selectChartTypePopover = null, this.chartsListFlowItem = ee(), this.supportedChartTypes = [
|
|
108
102
|
o.BarSeries,
|
|
@@ -137,7 +131,7 @@ class pe extends Y {
|
|
|
137
131
|
const { dataItems: n, timeIntervalInfo: c } = t;
|
|
138
132
|
if ((S(s) || b(s) && s.binTemporalData) && (c?.size !== void 0 && s.temporalBinningSize !== c?.size && (s.temporalBinningSize = c?.size), c?.unit !== void 0 && s.temporalBinningUnit !== c?.unit && c?.unit !== K.Quarter && (s.temporalBinningUnit = c?.unit), c?.size !== void 0 && c?.unit !== void 0 && ae(x, { size: c.size, unit: c.unit })), this.calculatedDataMinMaxBounds = this.getDataExtent(n), a && (a.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds), b(s)) {
|
|
139
133
|
const g = s.xAxisField, u = n.some((A) => A[g] === null), C = s.nullCategory;
|
|
140
|
-
u && C === void 0 && (s.nullCategory =
|
|
134
|
+
u && C === void 0 && (s.nullCategory = R.nullCategory);
|
|
141
135
|
}
|
|
142
136
|
break;
|
|
143
137
|
}
|
|
@@ -176,7 +170,7 @@ class pe extends Y {
|
|
|
176
170
|
if (r)
|
|
177
171
|
switch (t) {
|
|
178
172
|
case "rotation":
|
|
179
|
-
typeof a == "boolean" &&
|
|
173
|
+
typeof a == "boolean" && H(r) && (r.rotatedState = a);
|
|
180
174
|
break;
|
|
181
175
|
case "legendPosition":
|
|
182
176
|
typeof a == "string" && T(r) && (r.legendPosition = a);
|
|
@@ -331,7 +325,7 @@ class pe extends Y {
|
|
|
331
325
|
}
|
|
332
326
|
getPlacement() {
|
|
333
327
|
let e;
|
|
334
|
-
return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((a) => F(
|
|
328
|
+
return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((a) => F(X, a.config)).length <= 2 ? "bottom" : "top", e;
|
|
335
329
|
}
|
|
336
330
|
onBackFlow() {
|
|
337
331
|
this.panelNumber -= 1;
|
|
@@ -348,7 +342,7 @@ class pe extends Y {
|
|
|
348
342
|
return this.modelList?.find((i) => i.chartId === e);
|
|
349
343
|
}
|
|
350
344
|
removeSelectChartTypePopover() {
|
|
351
|
-
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover =
|
|
345
|
+
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover = Y(this.selectChartTypePopover));
|
|
352
346
|
}
|
|
353
347
|
clearPartialModels() {
|
|
354
348
|
this.modelList = this.modelList.filter((e) => !D(e.config));
|
|
@@ -418,7 +412,7 @@ class pe extends Y {
|
|
|
418
412
|
activeLayerId: this.activeLayerId,
|
|
419
413
|
disableEditing: this.disableEditing
|
|
420
414
|
});
|
|
421
|
-
return V(e, (i) => i.id, (i) => h`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId !== void 0} .modelList=${ne(this.modelList, i.id.toString(),
|
|
415
|
+
return V(e, (i) => i.id, (i) => h`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId !== void 0} .modelList=${ne(this.modelList, i.id.toString(), Z(i.type) ? G : this.supportedChartTypes)} .selectedChartId=${this.selectedChartId ?? ""} .layer=${i} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`);
|
|
422
416
|
}
|
|
423
417
|
render() {
|
|
424
418
|
return this.open !== !1 ? h`<calcite-flow>${$("charts-list", h`<calcite-flow-item .selected=${this.panelNumber === 0 || this.disableEditing} .heading=${this.headerTitle ?? this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${te(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.panelNumber >= 1 && !this.disableEditing ? this.renderTabs() : null}</calcite-flow>` : null;
|
|
@@ -7,34 +7,28 @@ import "luxon";
|
|
|
7
7
|
import "../../chunks/series-types.js";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
9
|
import { i as u, c as s, b as c, a as r } from "../../chunks/rest-js-object-literals.js";
|
|
10
|
-
import {
|
|
10
|
+
import { bb as d } 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
14
|
import "@esri/arcgis-html-sanitizer";
|
|
17
|
-
import "@arcgis/core/intl.js";
|
|
18
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
19
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
20
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
21
|
-
import "simple-statistics";
|
|
22
|
-
import "@arcgis/core/request.js";
|
|
23
|
-
import "@arcgis/core/core/sql.js";
|
|
24
15
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
25
16
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
26
17
|
import "@arcgis/core/rest/support/Query.js";
|
|
27
18
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
28
19
|
import "@arcgis/core/time/TimeExtent.js";
|
|
29
20
|
import "@arcgis/core/core/promiseUtils.js";
|
|
21
|
+
import "@arcgis/core/request.js";
|
|
30
22
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
31
23
|
import "@arcgis/core/geometry/Extent.js";
|
|
32
24
|
import "@arcgis/core/geometry/Point.js";
|
|
25
|
+
import "simple-statistics";
|
|
33
26
|
import "@arcgis/toolkit/dom";
|
|
34
|
-
import
|
|
27
|
+
import "@arcgis/core/intl.js";
|
|
28
|
+
import { i as g, m, s as b, U as h } from "../../chunks/chart-ui-utils2.js";
|
|
35
29
|
import { u as v } from "../../chunks/useT9n.js";
|
|
36
30
|
import { createRef as C, ref as $ } from "lit/directives/ref.js";
|
|
37
|
-
import { LitElement as E, createEvent as
|
|
31
|
+
import { LitElement as E, createEvent as p, safeClassMap as n } from "@arcgis/lumina";
|
|
38
32
|
const I = {
|
|
39
33
|
arial: "Arial",
|
|
40
34
|
arialBlack: "Arial Black",
|
|
@@ -60,7 +54,7 @@ class z extends E {
|
|
|
60
54
|
constructor() {
|
|
61
55
|
super(...arguments), this._messages = v(), this.fontSizeInputElement = C(), this.fontStyle = {
|
|
62
56
|
type: u.TS
|
|
63
|
-
}, this.arcgisChartsConfigFontStyleChange =
|
|
57
|
+
}, this.arcgisChartsConfigFontStyleChange = p(), this.arcgisChartsConfigFontStyleClose = p();
|
|
64
58
|
}
|
|
65
59
|
static {
|
|
66
60
|
this.properties = { messageOverrides: 0, fontStyle: 0, header: 1, open: 5, enableClose: 5 };
|
|
@@ -72,10 +66,10 @@ class z extends E {
|
|
|
72
66
|
t.target.closed && this.enableClose === !0 && (this.open = !1, this.arcgisChartsConfigFontStyleClose.emit());
|
|
73
67
|
}
|
|
74
68
|
fontChange(t) {
|
|
75
|
-
const
|
|
76
|
-
if (
|
|
69
|
+
const f = t.target.selectedOption.value;
|
|
70
|
+
if (f !== void 0) {
|
|
77
71
|
const a = {
|
|
78
|
-
family:
|
|
72
|
+
family: f
|
|
79
73
|
};
|
|
80
74
|
this.isNewFontProperty("family", a) && (this.fontStyle = i(this.fontStyle, { font: a }), this.emitFontStyleEvent({ font: a }));
|
|
81
75
|
}
|
|
@@ -86,13 +80,13 @@ class z extends E {
|
|
|
86
80
|
const e = {
|
|
87
81
|
size: Number.parseInt(t)
|
|
88
82
|
};
|
|
89
|
-
this.isNewFontProperty("size", e) && (this.fontStyle = i(this.fontStyle, { font: e }), this.emitFontStyleEvent({ font: e })), this.fontSizeInputElement.value &&
|
|
83
|
+
this.isNewFontProperty("size", e) && (this.fontStyle = i(this.fontStyle, { font: e }), this.emitFontStyleEvent({ font: e })), this.fontSizeInputElement.value && m({
|
|
90
84
|
inputElement: this.fontSizeInputElement.value,
|
|
91
|
-
status:
|
|
85
|
+
status: h.IDLE
|
|
92
86
|
});
|
|
93
|
-
} else this.fontSizeInputElement.value &&
|
|
87
|
+
} else this.fontSizeInputElement.value && m({
|
|
94
88
|
inputElement: this.fontSizeInputElement.value,
|
|
95
|
-
status:
|
|
89
|
+
status: h.INVALID
|
|
96
90
|
});
|
|
97
91
|
}
|
|
98
92
|
boldSelect() {
|
|
@@ -11,31 +11,25 @@ import { i as P, c as E, d as C } from "../../chunks/axis-lines-symbol.js";
|
|
|
11
11
|
import "@arcgis/toolkit/intl";
|
|
12
12
|
import { isEmpty as f, cloneDeep as a, isArray as F, isObject as A, mergeWith as H } from "lodash-es";
|
|
13
13
|
import "luxon";
|
|
14
|
-
import "../../chunks/
|
|
14
|
+
import "../../chunks/interfaces.js";
|
|
15
15
|
import "@arcgis/core/Graphic.js";
|
|
16
16
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
17
17
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
18
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
19
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
20
18
|
import "@esri/arcgis-html-sanitizer";
|
|
21
|
-
import "@arcgis/core/intl.js";
|
|
22
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
23
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
24
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
25
|
-
import "simple-statistics";
|
|
26
|
-
import "@arcgis/core/request.js";
|
|
27
|
-
import "@arcgis/core/core/sql.js";
|
|
28
19
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
29
20
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
30
21
|
import "@arcgis/core/rest/support/Query.js";
|
|
31
22
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
32
23
|
import "@arcgis/core/time/TimeExtent.js";
|
|
33
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
25
|
+
import "@arcgis/core/request.js";
|
|
34
26
|
import { p as u, w as r } from "../../chunks/index4.js";
|
|
35
27
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
36
28
|
import "@arcgis/core/geometry/Extent.js";
|
|
37
29
|
import "@arcgis/core/geometry/Point.js";
|
|
30
|
+
import "simple-statistics";
|
|
38
31
|
import "@arcgis/toolkit/dom";
|
|
32
|
+
import "@arcgis/core/intl.js";
|
|
39
33
|
import { r as $ } from "../../chunks/popover-ui-utils.js";
|
|
40
34
|
import { n as j } from "../../chunks/chart-ui-utils2.js";
|
|
41
35
|
import { u as I } from "../../chunks/useT9n.js";
|
|
@@ -6,41 +6,35 @@ import "lodash-es";
|
|
|
6
6
|
import "luxon";
|
|
7
7
|
import "../../chunks/series-types.js";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
|
-
import { i as
|
|
10
|
-
import "../../chunks/
|
|
9
|
+
import { i as r } from "../../chunks/rest-js-object-literals.js";
|
|
10
|
+
import "../../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
14
|
import "@esri/arcgis-html-sanitizer";
|
|
17
|
-
import "@arcgis/core/intl.js";
|
|
18
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
19
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
20
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
21
|
-
import "simple-statistics";
|
|
22
|
-
import "@arcgis/core/request.js";
|
|
23
|
-
import "@arcgis/core/core/sql.js";
|
|
24
15
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
25
16
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
26
17
|
import "@arcgis/core/rest/support/Query.js";
|
|
27
18
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
28
19
|
import "@arcgis/core/time/TimeExtent.js";
|
|
29
20
|
import "@arcgis/core/core/promiseUtils.js";
|
|
21
|
+
import "@arcgis/core/request.js";
|
|
30
22
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
31
23
|
import "@arcgis/core/geometry/Extent.js";
|
|
32
24
|
import "@arcgis/core/geometry/Point.js";
|
|
25
|
+
import "simple-statistics";
|
|
33
26
|
import "@arcgis/toolkit/dom";
|
|
27
|
+
import "@arcgis/core/intl.js";
|
|
34
28
|
import { e as l } from "../../chunks/popover-ui-utils.js";
|
|
35
29
|
import { u as p } from "../../chunks/useT9n.js";
|
|
36
|
-
import { createRef as n, ref as
|
|
37
|
-
import { LitElement as
|
|
30
|
+
import { createRef as n, ref as c } from "lit/directives/ref.js";
|
|
31
|
+
import { LitElement as m, createEvent as s, safeClassMap as h } from "@arcgis/lumina";
|
|
38
32
|
const g = {
|
|
39
33
|
jsAppFlyout: "js-app-flyout"
|
|
40
34
|
}, C = a``;
|
|
41
|
-
class f extends
|
|
35
|
+
class f extends m {
|
|
42
36
|
constructor() {
|
|
43
|
-
super(...arguments), this._messages = p(), this.popoverElement = n(), this.placement = "leading", this.arcgisChartsConfigFormatPopoverColorChange =
|
|
37
|
+
super(...arguments), this._messages = p(), this.popoverElement = n(), this.placement = "leading", this.arcgisChartsConfigFormatPopoverColorChange = s(), this.arcgisChartsConfigFormatPopoverSymbolChange = s(), this.arcgisChartsConfigFormatPopoverTextChange = s(), this.arcgisChartsConfigPopoverClose = s();
|
|
44
38
|
}
|
|
45
39
|
static {
|
|
46
40
|
this.properties = { messageOverrides: 0, selectedElement: 0, referenceElement: 0, placement: 1, open: 5 };
|
|
@@ -68,7 +62,7 @@ class f extends c {
|
|
|
68
62
|
}
|
|
69
63
|
render() {
|
|
70
64
|
const e = this.selectedElement, t = this.selectedElement;
|
|
71
|
-
return o`<div class=${h(g.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} label @calcitePopoverClose=${this.closePopover} pointer-disabled auto-close ${
|
|
65
|
+
return o`<div class=${h(g.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} label @calcitePopoverClose=${this.closePopover} pointer-disabled auto-close ${c(this.popoverElement)}>${Array.isArray(e) ? o`<arcgis-charts-config-color-style .header=${this._messages.backgroundElement} enable-close .open=${this.open} .selectedColor=${e} @arcgisChartsConfigColorStyleClose=${this.closePopover} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` : null}${t?.type === r.SLS ? o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${t} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` : null}${t?.type === r.TS ? o`<arcgis-charts-config-font-style .header=${this._messages.textStyle} .open=${this.open} enable-close .fontStyle=${t} @arcgisChartsConfigFontStyleClose=${this.closePopover} @arcgisChartsConfigFontStyleChange=${this.updateTextProperties}></arcgis-charts-config-font-style>` : null}</calcite-popover></div>`;
|
|
72
66
|
}
|
|
73
67
|
}
|
|
74
68
|
i("arcgis-charts-config-format-popover", f);
|