@arcgis/charts-components 5.1.0-next.111 → 5.1.0-next.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cdn/24TOMTMP.js +2 -0
- package/dist/cdn/2EPXIQFD.js +2 -0
- package/dist/cdn/2JUO3GP2.js +2 -0
- package/dist/cdn/2SVBUT3V.js +2 -0
- package/dist/cdn/2XTQT6TW.js +2 -0
- package/dist/cdn/{ANMNNZTA.js → 2YI4HWFY.js} +39 -39
- package/dist/cdn/34WNZMJY.js +2 -0
- package/dist/cdn/43P4WOC4.js +2 -0
- package/dist/cdn/4G5JOLEP.js +2 -0
- package/dist/cdn/4MZJZQDO.js +2 -0
- package/dist/cdn/52QMEXI6.js +2 -0
- package/dist/cdn/5I75UYWD.js +2 -0
- package/dist/cdn/5M72DGYL.js +2 -0
- package/dist/cdn/5PG6PXDG.js +2 -0
- package/dist/cdn/6FGRLBTA.js +2 -0
- package/dist/cdn/6JNHTWDQ.js +2 -0
- package/dist/cdn/6YSH3ROL.js +2 -0
- package/dist/cdn/75Y43JLP.js +2 -0
- package/dist/cdn/777EBGS5.js +2 -0
- package/dist/cdn/7AVVBDQS.js +4 -0
- package/dist/cdn/7EDHTVVK.js +2 -0
- package/dist/cdn/7MHEEH5F.js +2 -0
- package/dist/cdn/7MKAC33Z.js +2 -0
- package/dist/cdn/7Y76VKGS.js +2 -0
- package/dist/cdn/AC2XSIOU.js +2 -0
- package/dist/cdn/AEESEH6N.js +2 -0
- package/dist/cdn/AYY2C4BW.js +2 -0
- package/dist/cdn/BH7WDRGU.js +2 -0
- package/dist/cdn/BZUQTY3A.js +2 -0
- package/dist/cdn/CMPHBGKB.js +2 -0
- package/dist/cdn/DDA7NVBX.js +2 -0
- package/dist/cdn/DMDXALHQ.js +2 -0
- package/dist/cdn/DX5LK7LS.js +2 -0
- package/dist/cdn/ERUYMQOC.js +2 -0
- package/dist/cdn/{CSNF7XRL.js → ESUMWLYT.js} +1 -1
- package/dist/cdn/EULFJ5JL.js +2 -0
- package/dist/cdn/EX27CNDS.js +2 -0
- package/dist/cdn/FIMXZMTB.js +2 -0
- package/dist/cdn/FYI7J2KF.js +2 -0
- package/dist/cdn/G42X3FFH.js +2 -0
- package/dist/cdn/GGZNH26O.js +2 -0
- package/dist/cdn/HIQSXKPT.js +3 -0
- package/dist/cdn/HS2WQJEO.js +2 -0
- package/dist/cdn/IBCUXQZ4.js +2 -0
- package/dist/cdn/IC4OZCXG.js +2 -0
- package/dist/cdn/JGD2M47O.js +2 -0
- package/dist/cdn/KGOERXN5.js +2 -0
- package/dist/cdn/{JEQDHNEJ.js → KPXH2MNB.js} +1 -1
- package/dist/cdn/KSBWHMXE.js +2 -0
- package/dist/cdn/{6KFD2LHE.js → L3ULFQN3.js} +1 -1
- package/dist/cdn/LKHNZDEC.js +2 -0
- package/dist/cdn/LXVLBS7T.js +2 -0
- package/dist/cdn/M5E3NFDP.js +2 -0
- package/dist/cdn/MKEUDI3M.js +2 -0
- package/dist/cdn/MKQPW6B4.js +2 -0
- package/dist/cdn/MVAMHZ3Q.js +2 -0
- package/dist/cdn/{VTJXTTAB.js → MZ2UZAFW.js} +1 -1
- package/dist/cdn/N265ZHHU.js +2 -0
- package/dist/cdn/N2S6YV3I.js +2 -0
- package/dist/cdn/N3EATDXE.js +2 -0
- package/dist/cdn/NLWP2JOG.js +2 -0
- package/dist/cdn/NR3BCOHU.js +3 -0
- package/dist/cdn/O2JEDVIA.js +2 -0
- package/dist/cdn/OB7IDW6S.js +2 -0
- package/dist/cdn/OBPCKG62.js +2 -0
- package/dist/cdn/OCERCT4I.js +2 -0
- package/dist/cdn/OFN7ED75.js +2 -0
- package/dist/cdn/OQSFVGUL.js +2 -0
- package/dist/cdn/PA3PSUQ3.js +2 -0
- package/dist/cdn/PYFMKPMO.js +2 -0
- package/dist/cdn/QRZ32JMG.js +2 -0
- package/dist/cdn/R3GNKVFS.js +2 -0
- package/dist/cdn/R3Y2F64T.js +2 -0
- package/dist/cdn/RBVV7JGY.js +102 -0
- package/dist/cdn/RSXO7AZM.js +2 -0
- package/dist/cdn/S32VCEG7.js +2 -0
- package/dist/cdn/S7ASARWB.js +2 -0
- package/dist/cdn/SBS4J65N.js +2 -0
- package/dist/cdn/SVMC3JP5.js +2 -0
- package/dist/cdn/SYXU6NZX.js +2 -0
- package/dist/cdn/T3CSQ5DU.js +2 -0
- package/dist/cdn/T3NJTAF3.js +2 -0
- package/dist/cdn/T53WJZQN.js +2 -0
- package/dist/cdn/TES5ZESK.js +2 -0
- package/dist/cdn/{XSMRKVR2.js → TJQGGNGV.js} +1 -1
- package/dist/cdn/TOO3T62Y.js +2 -0
- package/dist/cdn/U5ZB4YD6.js +2 -0
- package/dist/cdn/UK2A3DRS.js +2 -0
- package/dist/cdn/UNDCO72C.js +2 -0
- package/dist/cdn/UR537UXK.js +2 -0
- package/dist/cdn/VMAOMKFN.js +2 -0
- package/dist/cdn/VV7JMGHL.js +2 -0
- package/dist/cdn/W6CIWZSM.js +2 -0
- package/dist/cdn/WA5XK3HC.js +2 -0
- package/dist/cdn/WD4QY4YU.js +2 -0
- package/dist/cdn/WESXMGHU.js +2 -0
- package/dist/cdn/WFDVEHVL.js +2 -0
- package/dist/cdn/WI3CE5TT.js +2 -0
- package/dist/cdn/WNZ2PSFZ.js +2 -0
- package/dist/cdn/XLJSZ42M.js +2 -0
- package/dist/cdn/XM6GBBOL.js +2 -0
- package/dist/cdn/XOB365BI.js +2 -0
- package/dist/cdn/Y2AULE2F.js +2 -0
- package/dist/cdn/YE5ASSSN.js +2 -0
- package/dist/cdn/ZBLRD77K.js +2 -0
- package/dist/cdn/{5RMUCBSG.js → ZZRH7LXO.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/axis-lines-symbol.js +12 -12
- package/dist/chunks/bar-chart-model.js +20 -47
- package/dist/chunks/bar-chart-series.js +10 -40
- package/dist/chunks/box-plot-data.js +132 -155
- package/dist/chunks/box-plot-model.js +18 -18
- package/dist/chunks/chart-model.js +76 -103
- package/dist/chunks/chart-object-literals.js +189 -0
- package/dist/chunks/chart-ui-utils.js +17 -16
- package/dist/chunks/chart-ui-utils2.js +91 -116
- package/dist/chunks/class-breaks.js +375 -196
- package/dist/chunks/combo-bar-line-chart-model.js +19 -18
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +56 -84
- package/dist/chunks/data.js +82 -105
- package/dist/chunks/default.js +6 -7
- package/dist/chunks/gauge-model.js +42 -69
- package/dist/chunks/generate-x-axis-title.js +39 -66
- package/dist/chunks/heat-chart-model.js +183 -183
- package/dist/chunks/histogram-data.js +56 -80
- package/dist/chunks/histogram-model.js +24 -24
- package/dist/chunks/index.js +560 -21042
- package/dist/chunks/index2.js +8706 -596
- package/dist/chunks/index3.js +873 -160
- package/dist/chunks/index4.js +701 -76
- package/dist/chunks/index5.js +10794 -62
- package/dist/chunks/index6.js +99 -0
- package/dist/chunks/index7.js +66 -0
- package/dist/chunks/interfaces.js +31 -32
- package/dist/chunks/line-chart-model.js +12 -11
- package/dist/chunks/model-setter.js +44 -41
- package/dist/chunks/model-types.js +43 -0
- package/dist/chunks/model-with-y-guides.js +89 -116
- package/dist/chunks/negative-values-stacked-to-baseline.js +50 -79
- package/dist/chunks/pie-chart-data.js +89 -111
- package/dist/chunks/pie-chart-model.js +46 -70
- package/dist/chunks/radar-chart-model.js +35 -62
- package/dist/chunks/resource.js +8 -10
- package/dist/chunks/rotated-state.js +24 -52
- package/dist/chunks/scatterplot-model.js +90 -112
- package/dist/chunks/serial-chart-data.js +540 -530
- package/dist/chunks/serial-chart-model.js +90 -115
- package/dist/chunks/series-length.js +25 -53
- package/dist/chunks/series-types.js +21 -206
- package/dist/chunks/series.js +9 -38
- package/dist/chunks/time-zone.js +14 -15
- package/dist/chunks/type-guards.js +23 -132
- package/dist/chunks/type-guards2.js +100 -192
- package/dist/chunks/type-guards3.js +173 -0
- package/dist/chunks/utils.js +75 -97
- package/dist/chunks/utils2.js +34 -63
- package/dist/chunks/web-component-utils.js +85 -83
- package/dist/chunks/x-bounds.js +69 -95
- package/dist/components/arcgis-chart/customElement.js +3670 -3637
- package/dist/components/arcgis-charts-action-bar/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-axis/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +33 -60
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +47 -70
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +33 -54
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +37 -64
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +12 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +87 -111
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +41 -65
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -40
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +18 -45
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +17 -45
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +47 -68
- package/dist/components/arcgis-charts-config-font-style/customElement.js +21 -48
- package/dist/components/arcgis-charts-config-format/customElement.js +55 -82
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +12 -41
- package/dist/components/arcgis-charts-config-general/customElement.js +29 -55
- package/dist/components/arcgis-charts-config-guide/customElement.js +44 -68
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +14 -43
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -3
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +10 -39
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +29 -56
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +153 -175
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +56 -79
- package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -55
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +39 -62
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +26 -50
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +27 -54
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +23 -46
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +46 -69
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +33 -61
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +14 -42
- package/dist/components/arcgis-charts-config-line-style/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +28 -55
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +24 -49
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +42 -66
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +38 -65
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +31 -58
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +31 -55
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +16 -42
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +10 -38
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +21 -50
- package/dist/components/arcgis-charts-info-modal/customElement.js +17 -43
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +57 -3
- package/dist/index.js +464 -459
- package/dist/json-schema/index.d.ts +4839 -4825
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -0
- package/dist/model.js +77 -39
- package/dist/spec/web-chart.d.ts +5 -1
- package/dist/utils/layer/index.d.ts +3 -1
- package/dist/utils/layer/utils/index.d.ts +16 -4
- package/package.json +3 -3
- package/dist/cdn/2NCZCQJQ.js +0 -2
- package/dist/cdn/2QWN4KMQ.js +0 -2
- package/dist/cdn/3HHF7GDV.js +0 -2
- package/dist/cdn/43EPRNLY.js +0 -2
- package/dist/cdn/53YROF54.js +0 -2
- package/dist/cdn/57M5BGHO.js +0 -2
- package/dist/cdn/5Y2AIQMX.js +0 -2
- package/dist/cdn/6CGECXEP.js +0 -2
- package/dist/cdn/6MDEAZCW.js +0 -2
- package/dist/cdn/6YLXJOBN.js +0 -2
- package/dist/cdn/7LE76H3V.js +0 -2
- package/dist/cdn/7OK6DOOJ.js +0 -2
- package/dist/cdn/7QJ77UCB.js +0 -2
- package/dist/cdn/7XCTW7TF.js +0 -2
- package/dist/cdn/ABPBMLW4.js +0 -4
- package/dist/cdn/ACBNPWST.js +0 -2
- package/dist/cdn/AU5NU5OU.js +0 -2
- package/dist/cdn/AUKWLONZ.js +0 -2
- package/dist/cdn/B3TAQSVG.js +0 -2
- package/dist/cdn/B7BDZS5Q.js +0 -2
- package/dist/cdn/B7OT7NHE.js +0 -2
- package/dist/cdn/BIW46U2E.js +0 -2
- package/dist/cdn/BNMVFWWL.js +0 -2
- package/dist/cdn/BUPTELGR.js +0 -2
- package/dist/cdn/C3EG6JVL.js +0 -2
- package/dist/cdn/CEML6AMG.js +0 -2
- package/dist/cdn/CSISDIV5.js +0 -2
- package/dist/cdn/CXSBPI44.js +0 -2
- package/dist/cdn/DEWZASZK.js +0 -2
- package/dist/cdn/FJFVBE6K.js +0 -2
- package/dist/cdn/FLBXUDIS.js +0 -2
- package/dist/cdn/FQKOG42T.js +0 -2
- package/dist/cdn/FTXNBE44.js +0 -2
- package/dist/cdn/FU6JT3UD.js +0 -2
- package/dist/cdn/H7SXQSDY.js +0 -2
- package/dist/cdn/HFHPPFTL.js +0 -2
- package/dist/cdn/IQ5ZYJIB.js +0 -2
- package/dist/cdn/IVSSNIVI.js +0 -2
- package/dist/cdn/J27JNN6U.js +0 -2
- package/dist/cdn/J5O4KJG3.js +0 -2
- package/dist/cdn/KJHX7M5S.js +0 -2
- package/dist/cdn/KKDZFW5O.js +0 -2
- package/dist/cdn/KRZLTTVV.js +0 -2
- package/dist/cdn/KUOSDD5D.js +0 -2
- package/dist/cdn/L767SIJD.js +0 -2
- package/dist/cdn/LSF52M7M.js +0 -2
- package/dist/cdn/LW3BORFM.js +0 -2
- package/dist/cdn/M3ATYECI.js +0 -2
- package/dist/cdn/M6BMA2X5.js +0 -2
- package/dist/cdn/MCSGNGSS.js +0 -2
- package/dist/cdn/MJEMDC6S.js +0 -2
- package/dist/cdn/MY2TTPFJ.js +0 -2
- package/dist/cdn/MZQHYO73.js +0 -2
- package/dist/cdn/N6ZYLQ35.js +0 -2
- package/dist/cdn/ODM6XDHJ.js +0 -2
- package/dist/cdn/PAPWPFW4.js +0 -2
- package/dist/cdn/PDDEFX6K.js +0 -2
- package/dist/cdn/PNQ6VVJK.js +0 -2
- package/dist/cdn/QCO44WFX.js +0 -2
- package/dist/cdn/QCZO6SPY.js +0 -2
- package/dist/cdn/QJQCXQZQ.js +0 -2
- package/dist/cdn/QLBJVTC3.js +0 -2
- package/dist/cdn/QLRYZVYC.js +0 -2
- package/dist/cdn/QRJS3CVV.js +0 -2
- package/dist/cdn/QWCMSPHD.js +0 -2
- package/dist/cdn/RCS3DD7Z.js +0 -104
- package/dist/cdn/S52W7JS7.js +0 -2
- package/dist/cdn/SDWC5FQU.js +0 -2
- package/dist/cdn/SLGQSOZB.js +0 -2
- package/dist/cdn/SNQFOXQP.js +0 -2
- package/dist/cdn/STPMMRCH.js +0 -2
- package/dist/cdn/SUYBENSN.js +0 -2
- package/dist/cdn/TAW7DR2R.js +0 -2
- package/dist/cdn/TUM7FWOK.js +0 -2
- package/dist/cdn/UFCW5HCY.js +0 -2
- package/dist/cdn/URPIV4FP.js +0 -2
- package/dist/cdn/URX6VCYJ.js +0 -2
- package/dist/cdn/V2LSSOBU.js +0 -2
- package/dist/cdn/V7JH3U65.js +0 -2
- package/dist/cdn/VFOLCHS4.js +0 -2
- package/dist/cdn/VFZ5WZJL.js +0 -2
- package/dist/cdn/WEAUUIMY.js +0 -2
- package/dist/cdn/WHL3PAOM.js +0 -2
- package/dist/cdn/WQRH2BWD.js +0 -2
- package/dist/cdn/WQRXJQDO.js +0 -2
- package/dist/cdn/WTIY4H4L.js +0 -2
- package/dist/cdn/WXEJ47F6.js +0 -2
- package/dist/cdn/XUAJWZRU.js +0 -2
- package/dist/cdn/XYTCID73.js +0 -2
- package/dist/cdn/Z7L63G6V.js +0 -2
- package/dist/cdn/ZJOBVONS.js +0 -2
- package/dist/cdn/ZZQFMONS.js +0 -2
- package/dist/chunks/setup-utils.js +0 -80
- package/dist/model/index.d.ts +0 -19
- package/dist/spec/index.d.ts +0 -8
- package/dist/utils/index.d.ts +0 -33
- /package/dist/cdn/{S5OM65RV.js → COYWSD6X.js} +0 -0
|
@@ -1,40 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import "@arcgis/toolkit/intl";
|
|
2
|
+
import { c as h } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as m, html as o } from "lit";
|
|
5
4
|
import { merge as i } from "lodash-es";
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import {
|
|
10
|
-
import "
|
|
11
|
-
import "
|
|
12
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
13
|
-
import { bh as y } from "../../chunks/index.js";
|
|
14
|
-
import "@arcgis/core/Graphic.js";
|
|
15
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
16
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
17
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
18
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
19
|
-
import "@esri/arcgis-html-sanitizer";
|
|
20
|
-
import "@arcgis/core/intl.js";
|
|
21
|
-
import "@arcgis/core/request.js";
|
|
22
|
-
import "simple-statistics";
|
|
23
|
-
import "@arcgis/core/core/sql.js";
|
|
24
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
25
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
26
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
27
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
28
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
29
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
30
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
31
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
32
|
-
import "@arcgis/core/geometry/Point.js";
|
|
33
|
-
import "@arcgis/toolkit/dom";
|
|
34
|
-
import { i as u, m as c, s as S, U as r } from "../../chunks/chart-ui-utils2.js";
|
|
35
|
-
import { u as d } from "../../chunks/useT9n.js";
|
|
36
|
-
import { createRef as g, ref as b } from "lit/directives/ref.js";
|
|
37
|
-
import { LitElement as v, createEvent as m, safeClassMap as n } from "@arcgis/lumina";
|
|
5
|
+
import { i as p, m as c, s as y, U as r } from "../../chunks/chart-ui-utils2.js";
|
|
6
|
+
import { u } from "../../chunks/useT9n.js";
|
|
7
|
+
import { createRef as S, ref as d } from "lit/directives/ref.js";
|
|
8
|
+
import { LitElement as g, createEvent as f, safeClassMap as n } from "@arcgis/lumina";
|
|
9
|
+
import { af as b } from "../../chunks/index.js";
|
|
10
|
+
import { i as v } from "../../chunks/rest-js-object-literals.js";
|
|
38
11
|
const C = {
|
|
39
12
|
arial: "Arial",
|
|
40
13
|
arialBlack: "Arial Black",
|
|
@@ -50,17 +23,17 @@ const C = {
|
|
|
50
23
|
times: "Times",
|
|
51
24
|
timesNewRoman: "Times New Roman",
|
|
52
25
|
verdana: "Verdana"
|
|
53
|
-
},
|
|
26
|
+
}, l = {
|
|
54
27
|
fontStyleContainer: "font-style-container",
|
|
55
28
|
font: "font",
|
|
56
29
|
numberInput: "number-input",
|
|
57
30
|
inputLabel: "input-label"
|
|
58
|
-
}, $ =
|
|
59
|
-
class E extends
|
|
31
|
+
}, $ = m`.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}:host calcite-panel .font-style-container{display:flex;padding:0 1rem}:host calcite-panel .font-style-container .input-label{--calcite-label-margin-bottom: var(--arcgis-charts-intra-section-margin) !important}:host calcite-panel .font-style-container .number-input{margin-bottom:.5rem;display:flex}:host calcite-panel .font-style-container .number-input>div{width:100%}:host calcite-panel .font-style-container calcite-action,:host calcite-panel .font-style-container calcite-label{flex:1 1 0px;display:flex;flex-grow:inherit;width:80px}:host calcite-panel .font-style-container calcite-label{flex-grow:2}:host calcite-panel calcite-label.font{display:block;margin-top:1rem}`;
|
|
32
|
+
class E extends g {
|
|
60
33
|
constructor() {
|
|
61
|
-
super(...arguments), this._messages =
|
|
62
|
-
type:
|
|
63
|
-
}, this.open = !1, this.enableClose = !1, this.arcgisChartsConfigFontStyleChange =
|
|
34
|
+
super(...arguments), this._messages = u(), this.fontSizeInputElement = S(), this.fontStyle = {
|
|
35
|
+
type: v.TS
|
|
36
|
+
}, this.open = !1, this.enableClose = !1, this.arcgisChartsConfigFontStyleChange = f(), this.arcgisChartsConfigFontStyleClose = f();
|
|
64
37
|
}
|
|
65
38
|
static {
|
|
66
39
|
this.properties = { messageOverrides: 0, fontStyle: 0, header: 1, open: 5, enableClose: 5 };
|
|
@@ -74,15 +47,15 @@ class E extends v {
|
|
|
74
47
|
fontChange(t) {
|
|
75
48
|
const s = t.target.selectedOption.value;
|
|
76
49
|
if (s !== void 0) {
|
|
77
|
-
const
|
|
50
|
+
const a = {
|
|
78
51
|
family: s
|
|
79
52
|
};
|
|
80
|
-
this.isNewFontProperty("family",
|
|
53
|
+
this.isNewFontProperty("family", a) && (this.fontStyle = i(this.fontStyle, { font: a }), this.emitFontStyleEvent({ font: a }));
|
|
81
54
|
}
|
|
82
55
|
}
|
|
83
56
|
fontSizeChange() {
|
|
84
57
|
const t = this.fontSizeInputElement.value?.value;
|
|
85
|
-
if (t !== void 0 &&
|
|
58
|
+
if (t !== void 0 && p(t, this.fontSizeInputElement.value?.min, this.fontSizeInputElement.value?.max)) {
|
|
86
59
|
const e = {
|
|
87
60
|
size: Number.parseInt(t)
|
|
88
61
|
};
|
|
@@ -124,14 +97,14 @@ class E extends v {
|
|
|
124
97
|
return this.fontStyle?.font?.[t] !== e[t];
|
|
125
98
|
}
|
|
126
99
|
renderFonts() {
|
|
127
|
-
const t = Object.values(C).map((e) =>
|
|
128
|
-
return this.fontStyle?.font?.family === "" && t.push(
|
|
100
|
+
const t = Object.values(C).map((e) => o`<calcite-option .value=${e} .selected=${e === this.fontStyle?.font?.family || e === b().font?.family?.split(",")[0] && this.fontStyle?.font?.family === void 0}>${e}</calcite-option>`);
|
|
101
|
+
return this.fontStyle?.font?.family === "" && t.push(o`<calcite-option value selected></calcite-option>`), t;
|
|
129
102
|
}
|
|
130
103
|
render() {
|
|
131
|
-
return
|
|
104
|
+
return o`<calcite-panel .heading=${this.header ?? this._messages.header} .closed=${!this.open} .closable=${this.enableClose ?? !1} @calcitePanelClose=${this.closePanel}><div class=${n(l.fontStyleContainer)}><calcite-label class=${n(l.font)}>${this._messages.font}<calcite-select .label=${this._messages.font ?? ""} @calciteSelectChange=${this.fontChange}>${this.renderFonts()}</calcite-select></calcite-label></div><div class=${n(l.fontStyleContainer)}><calcite-label class=${n(l.inputLabel)}>${this._messages.size}<calcite-input class=${n(l.numberInput)} type=number min=6 max=40 step=1 .value=${y(this.fontStyle?.font?.size)} @calciteInputInput=${this.fontSizeChange} ${d(this.fontSizeInputElement)}></calcite-input></calcite-label><calcite-action appearance=transparent .text=${this._messages.bold ?? ""} @click=${this.boldSelect} scale=l .active=${this.fontStyle?.font?.weight === "bold"}><calcite-icon scale=s icon=bold></calcite-icon></calcite-action><calcite-action appearance=transparent .text=${this._messages.italic ?? ""} @click=${this.italicSelect} scale=l .active=${this.fontStyle?.font?.style === "italic"}><calcite-icon scale=s icon=italicize></calcite-icon></calcite-action><calcite-action appearance=transparent .text=${this._messages.underline ?? ""} @click=${this.underlineSelect} scale=l .active=${this.fontStyle?.font?.decoration === "underline"}><calcite-icon scale=s icon=underline></calcite-icon></calcite-action></div><div class=${n(l.fontStyleContainer)}><arcgis-charts-config-colors .rgba=${this.fontStyle?.color ?? void 0} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel>`;
|
|
132
105
|
}
|
|
133
106
|
}
|
|
134
|
-
|
|
107
|
+
h("arcgis-charts-config-font-style", E);
|
|
135
108
|
export {
|
|
136
109
|
E as ArcgisChartsConfigFontStyle
|
|
137
110
|
};
|
|
@@ -1,46 +1,19 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as M } from "../../chunks/runtime.js";
|
|
3
3
|
import { ref as B } from "lit/directives/ref.js";
|
|
4
|
-
import {
|
|
5
|
-
import { s as x, m as n, k as h, j as T, e as w, u as G } from "../../chunks/type-guards.js";
|
|
6
|
-
import "@arcgis/toolkit/type";
|
|
7
|
-
import { u as l } from "../../chunks/series-types.js";
|
|
8
|
-
import { g as W, i as b } from "../../chunks/rest-js-object-literals.js";
|
|
4
|
+
import { s as x, m as n, k as h, j as T, e as V, u as w } from "../../chunks/type-guards2.js";
|
|
9
5
|
import { i as L } from "../../chunks/data-labels-symbol.js";
|
|
10
6
|
import { i as P, c as C, d as E } from "../../chunks/axis-lines-symbol.js";
|
|
11
|
-
import "
|
|
12
|
-
import {
|
|
13
|
-
import "
|
|
14
|
-
import "
|
|
15
|
-
import "
|
|
16
|
-
import "@arcgis/
|
|
17
|
-
import "../../chunks/
|
|
18
|
-
import "
|
|
19
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
20
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
21
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
22
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
23
|
-
import "@esri/arcgis-html-sanitizer";
|
|
24
|
-
import "@arcgis/core/intl.js";
|
|
25
|
-
import "@arcgis/core/request.js";
|
|
26
|
-
import "simple-statistics";
|
|
27
|
-
import "@arcgis/core/core/sql.js";
|
|
28
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
29
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
30
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
31
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
32
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
33
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
34
|
-
import { p as u, w as r } from "../../chunks/index4.js";
|
|
35
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
36
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
37
|
-
import "@arcgis/core/geometry/Point.js";
|
|
38
|
-
import "@arcgis/toolkit/dom";
|
|
7
|
+
import { isEmpty as f, cloneDeep as a, isArray as F, isObject as A, mergeWith as G } from "lodash-es";
|
|
8
|
+
import { n as W } from "../../chunks/chart-ui-utils2.js";
|
|
9
|
+
import { g as D, i as b } from "../../chunks/rest-js-object-literals.js";
|
|
10
|
+
import { u as N } from "../../chunks/useT9n.js";
|
|
11
|
+
import { css as H, html as u } from "lit";
|
|
12
|
+
import { LitElement as j, renderElement as I, safeClassMap as p } from "@arcgis/lumina";
|
|
13
|
+
import { C as O, F as i, L as d } from "../../chunks/common.js";
|
|
14
|
+
import { p as y, w as l } from "../../chunks/index6.js";
|
|
39
15
|
import { r as $ } from "../../chunks/popover-ui-utils.js";
|
|
40
|
-
import {
|
|
41
|
-
import { u as H } from "../../chunks/useT9n.js";
|
|
42
|
-
import { css as j, html as y } from "lit";
|
|
43
|
-
import { LitElement as I, renderElement as O, safeClassMap as p } from "@arcgis/lumina";
|
|
16
|
+
import { u as r } from "../../chunks/chart-object-literals.js";
|
|
44
17
|
const v = {
|
|
45
18
|
type: b.TS,
|
|
46
19
|
color: [1, 1, 1, 255],
|
|
@@ -54,16 +27,16 @@ const v = {
|
|
|
54
27
|
}, k = {
|
|
55
28
|
type: b.SLS,
|
|
56
29
|
color: [1, 1, 1, 255],
|
|
57
|
-
style:
|
|
30
|
+
style: D.Solid,
|
|
58
31
|
width: 2
|
|
59
32
|
}, g = {
|
|
60
33
|
element: "chart-element",
|
|
61
34
|
elementList: "element-list",
|
|
62
35
|
sectionLabel: "section-label"
|
|
63
|
-
}, R =
|
|
64
|
-
class X extends
|
|
36
|
+
}, R = H`:host{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`;
|
|
37
|
+
class X extends j {
|
|
65
38
|
constructor() {
|
|
66
|
-
super(...arguments), this._messages =
|
|
39
|
+
super(...arguments), this._messages = N(), this.formatPopover = null, this.selectableElements = [], this.textProperties = [], this.symbolProperties = [], this.symbolPropertyChange = (t) => {
|
|
67
40
|
const e = t;
|
|
68
41
|
e.stopImmediatePropagation();
|
|
69
42
|
let s;
|
|
@@ -71,7 +44,7 @@ class X extends I {
|
|
|
71
44
|
this.selectedSymbols = [], this.updateSelectedElement(this.selectedSymbols);
|
|
72
45
|
else {
|
|
73
46
|
const o = this.getFormatValue(s);
|
|
74
|
-
this.selectedSymbols = [s], this.initSelectedSymbols(
|
|
47
|
+
this.selectedSymbols = [s], this.initSelectedSymbols(y(o) ? o : k);
|
|
75
48
|
}
|
|
76
49
|
this.setupFormatPopover();
|
|
77
50
|
}, this.textPropertyChange = (t) => {
|
|
@@ -80,9 +53,9 @@ class X extends I {
|
|
|
80
53
|
let s;
|
|
81
54
|
if (e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedBackground = [], e.shiftKey) {
|
|
82
55
|
this.selectedTexts = [];
|
|
83
|
-
const o = this.textProperties.indexOf(this.lastSelectedText ?? s),
|
|
84
|
-
this.textProperties.forEach((
|
|
85
|
-
S >= Math.min(o,
|
|
56
|
+
const o = this.textProperties.indexOf(this.lastSelectedText ?? s), c = this.textProperties.indexOf(s);
|
|
57
|
+
this.textProperties.forEach((m, S) => {
|
|
58
|
+
S >= Math.min(o, c) && S <= Math.max(o, c) && this.selectedTexts.push(m);
|
|
86
59
|
}), this.updateSelectedElement(this.selectedTexts), this.setupFormatPopover();
|
|
87
60
|
} else if (e.ctrlKey)
|
|
88
61
|
this.selectedTexts.includes(s) ? (this.selectedTexts = this.selectedTexts.filter((o) => o !== s), this.updateSelectedElement(this.selectedTexts)) : (this.selectedTexts = [...this.selectedTexts, s], this.updateSelectedElement(this.selectedTexts)), this.setupFormatPopover();
|
|
@@ -90,7 +63,7 @@ class X extends I {
|
|
|
90
63
|
this.selectedTexts = [], this.updateSelectedElement(this.selectedTexts), this.setupFormatPopover();
|
|
91
64
|
else {
|
|
92
65
|
const o = this.getFormatValue(s);
|
|
93
|
-
this.selectedTexts = [s], this.initSelectedTexts(
|
|
66
|
+
this.selectedTexts = [s], this.initSelectedTexts(l(o) ? o : v), this.setupFormatPopover();
|
|
94
67
|
}
|
|
95
68
|
this.lastSelectedText = s;
|
|
96
69
|
}, this.backgroundChange = (t) => {
|
|
@@ -104,16 +77,16 @@ class X extends I {
|
|
|
104
77
|
this.setFormatValue(s, e);
|
|
105
78
|
}), this.selectedElement = a(t.target.selectedElement);
|
|
106
79
|
}, this.updateBackground = (t) => {
|
|
107
|
-
this.setFormatValue(
|
|
80
|
+
this.setFormatValue(O.Background, t.detail), this.selectedElement = t.detail;
|
|
108
81
|
}, this.updateTextProps = (t) => {
|
|
109
82
|
const { font: e, color: s } = t.detail;
|
|
110
83
|
this.selectedTexts.forEach((o) => {
|
|
111
|
-
const
|
|
84
|
+
const c = this.getFormatValue(o), m = l(c) ? c : void 0;
|
|
112
85
|
this.setFormatValue(o, {
|
|
113
|
-
...
|
|
86
|
+
...m,
|
|
114
87
|
type: b.TS,
|
|
115
|
-
font: { ...
|
|
116
|
-
color: s ??
|
|
88
|
+
font: { ...m?.font, ...e },
|
|
89
|
+
color: s ?? m?.color
|
|
117
90
|
});
|
|
118
91
|
}), this.selectedElement = a(t.target.selectedElement);
|
|
119
92
|
}, this.onModelConfigChange = () => {
|
|
@@ -156,9 +129,9 @@ class X extends I {
|
|
|
156
129
|
updateSelectedElement(t, e) {
|
|
157
130
|
if (this.selectedElement = void 0, e === void 0) {
|
|
158
131
|
const s = a(this.getFormatValue(t[0]));
|
|
159
|
-
this.selectedElement = t?.reduce((o,
|
|
160
|
-
const
|
|
161
|
-
return
|
|
132
|
+
this.selectedElement = t?.reduce((o, c) => {
|
|
133
|
+
const m = this.getFormatValue(c);
|
|
134
|
+
return G(o, m, this.mergeFormatValues);
|
|
162
135
|
}, s);
|
|
163
136
|
} else {
|
|
164
137
|
let s = a(e);
|
|
@@ -177,7 +150,7 @@ class X extends I {
|
|
|
177
150
|
this.formatPopover = $(this.formatPopover);
|
|
178
151
|
const t = this.selectedElement;
|
|
179
152
|
t?.type === b.TS || t?.type === b.SLS || // To check if the selected element is background.
|
|
180
|
-
Array.isArray(this.selectedElement) ? (this.formatPopover =
|
|
153
|
+
Array.isArray(this.selectedElement) ? (this.formatPopover = I(u`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`), this.formatPopover !== null && !document.body.contains(this.formatPopover) && document.body.appendChild(this.formatPopover)) : this.removeFormatPopover();
|
|
181
154
|
}
|
|
182
155
|
removeFormatPopover() {
|
|
183
156
|
this.formatPopover !== null && (this.formatPopover.open = !1, this.formatPopover = $(this.formatPopover));
|
|
@@ -217,55 +190,55 @@ class X extends I {
|
|
|
217
190
|
setFormatValue(t, e) {
|
|
218
191
|
switch (t) {
|
|
219
192
|
case i.Title:
|
|
220
|
-
|
|
193
|
+
l(e) && (this.model.titleSymbol = e);
|
|
221
194
|
break;
|
|
222
195
|
case i.Description:
|
|
223
|
-
|
|
196
|
+
l(e) && (this.model.descriptionSymbol = e);
|
|
224
197
|
break;
|
|
225
198
|
case i.XAxisTitle:
|
|
226
|
-
E(this.model) &&
|
|
199
|
+
E(this.model) && l(e) && (this.model.xAxisTitleSymbol = e);
|
|
227
200
|
break;
|
|
228
201
|
case i.YAxisTitle:
|
|
229
|
-
n(this.model) &&
|
|
202
|
+
n(this.model) && l(e) && this.model.setAxisTitleSymbol(e, 1);
|
|
230
203
|
break;
|
|
231
204
|
case i.AxisLabels:
|
|
232
|
-
C(this.model) &&
|
|
205
|
+
C(this.model) && l(e) && (this.model.axisLabelsSymbol = e);
|
|
233
206
|
break;
|
|
234
207
|
case i.GuideLabels:
|
|
235
|
-
T(this.model) &&
|
|
208
|
+
T(this.model) && l(e) && (this.model.guideLabelsSymbol = e);
|
|
236
209
|
break;
|
|
237
210
|
case i.LegendText:
|
|
238
|
-
h(this.model) &&
|
|
211
|
+
h(this.model) && l(e) && (this.model.legendTextSymbol = e);
|
|
239
212
|
break;
|
|
240
213
|
case i.LegendTitle:
|
|
241
|
-
h(this.model) &&
|
|
214
|
+
h(this.model) && l(e) && (this.model.legendTitleSymbol = e);
|
|
242
215
|
break;
|
|
243
216
|
case i.DataLabels:
|
|
244
|
-
L(this.model) &&
|
|
217
|
+
L(this.model) && l(e) && (this.model.dataLabelsSymbol = e);
|
|
245
218
|
break;
|
|
246
219
|
case d.AxisLines:
|
|
247
|
-
P(this.model) &&
|
|
220
|
+
P(this.model) && y(e) && (this.model.axisLinesSymbol = e);
|
|
248
221
|
break;
|
|
249
222
|
case d.GridLines:
|
|
250
|
-
if (
|
|
251
|
-
if (
|
|
223
|
+
if (y(e)) {
|
|
224
|
+
if (V(this.model))
|
|
252
225
|
this.model.setGridLinesSymbol(e);
|
|
253
226
|
else if (n(this.model)) {
|
|
254
227
|
const s = this.model.chartType;
|
|
255
228
|
let o = [];
|
|
256
229
|
switch (s) {
|
|
257
230
|
// set y-axis grid line for charts -Bar chart/Line chart, Histogram and Box plot
|
|
258
|
-
case
|
|
259
|
-
case
|
|
260
|
-
case
|
|
261
|
-
case
|
|
262
|
-
case
|
|
263
|
-
case
|
|
231
|
+
case r.BarSeries:
|
|
232
|
+
case r.LineSeries:
|
|
233
|
+
case r.ComboLineAndBarSeries:
|
|
234
|
+
case r.HistogramSeries:
|
|
235
|
+
case r.BoxPlotSeries:
|
|
236
|
+
case r.RadarSeries: {
|
|
264
237
|
o = [1];
|
|
265
238
|
break;
|
|
266
239
|
}
|
|
267
240
|
// set both x and y-axis grid lines for charts - Scatter chart
|
|
268
|
-
case
|
|
241
|
+
case r.ScatterSeries: {
|
|
269
242
|
o = [0, 1];
|
|
270
243
|
break;
|
|
271
244
|
}
|
|
@@ -275,7 +248,7 @@ class X extends I {
|
|
|
275
248
|
}
|
|
276
249
|
break;
|
|
277
250
|
case d.LeaderLines:
|
|
278
|
-
x(this.model) &&
|
|
251
|
+
x(this.model) && y(e) && (this.model.ticksSymbol = e);
|
|
279
252
|
break;
|
|
280
253
|
case i.Background:
|
|
281
254
|
Array.isArray(e) && (this.model.backgroundColor = e);
|
|
@@ -291,11 +264,11 @@ class X extends I {
|
|
|
291
264
|
i.Description,
|
|
292
265
|
...h(this.model) ? [i.LegendText] : [],
|
|
293
266
|
...C(this.model) ? [i.AxisLabels] : [],
|
|
294
|
-
...T(this.model) && this.model.chartType !==
|
|
295
|
-
...L(this.model) && this.model.chartType !==
|
|
296
|
-
],
|
|
267
|
+
...T(this.model) && this.model.chartType !== r.HeatSeries ? [i.GuideLabels] : [],
|
|
268
|
+
...L(this.model) && this.model.chartType !== r.HeatSeries && this.model.chartType !== r.BoxPlotSeries ? [i.DataLabels] : []
|
|
269
|
+
], w(this.model) && (this.textProperties = this.textProperties.filter((s) => s !== i.DataLabels)), this.symbolProperties = [
|
|
297
270
|
i.Background,
|
|
298
|
-
...P(this.model) && this.model.chartType !==
|
|
271
|
+
...P(this.model) && this.model.chartType !== r.HeatSeries ? [d.AxisLines] : [],
|
|
299
272
|
...n(this.model) ? [d.GridLines] : [],
|
|
300
273
|
...x(this.model) ? [d.LeaderLines] : []
|
|
301
274
|
];
|
|
@@ -303,12 +276,12 @@ class X extends I {
|
|
|
303
276
|
return { textElements: t, symbolElements: e };
|
|
304
277
|
}
|
|
305
278
|
renderTextElement(t, e) {
|
|
306
|
-
const s =
|
|
307
|
-
return
|
|
279
|
+
const s = W(t), o = this.getFormatValue(t), c = typeof o == "string" ? o : "", m = this.selectedTexts.includes(t) || this.selectedSymbols.includes(t) || this.selectedBackground.includes(t);
|
|
280
|
+
return u`<calcite-list-item class=${p(g.element)} .label=${this._messages[t]} .description=${c} .value=${t} .selected=${m} @click=${e} ${B(this.updateSelectableElements)}>${s !== void 0 ? u`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>` : null}</calcite-list-item>`;
|
|
308
281
|
}
|
|
309
282
|
render() {
|
|
310
283
|
const { textElements: t, symbolElements: e } = this.renderFormatElements();
|
|
311
|
-
return
|
|
284
|
+
return u`<div class=${p(g.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${p(g.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${p(g.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${p(g.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`;
|
|
312
285
|
}
|
|
313
286
|
}
|
|
314
287
|
M("arcgis-charts-config-format", X);
|
|
@@ -1,46 +1,17 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as i } from "../../chunks/runtime.js";
|
|
3
3
|
import { html as o } from "lit";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "../../chunks/
|
|
9
|
-
|
|
10
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
11
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
12
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
13
|
-
import "../../chunks/index.js";
|
|
14
|
-
import "@arcgis/core/Graphic.js";
|
|
15
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
16
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
17
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
18
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
19
|
-
import "@esri/arcgis-html-sanitizer";
|
|
20
|
-
import "@arcgis/core/intl.js";
|
|
21
|
-
import "@arcgis/core/request.js";
|
|
22
|
-
import "simple-statistics";
|
|
23
|
-
import "@arcgis/core/core/sql.js";
|
|
24
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
25
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
26
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
27
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
28
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
29
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
30
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
31
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
32
|
-
import "@arcgis/core/geometry/Point.js";
|
|
33
|
-
import "@arcgis/toolkit/dom";
|
|
34
|
-
import { e as a } from "../../chunks/popover-ui-utils.js";
|
|
35
|
-
import { u as l } from "../../chunks/useT9n.js";
|
|
36
|
-
import { createRef as p, ref as n } from "lit/directives/ref.js";
|
|
37
|
-
import { LitElement as m, createEvent as r, safeClassMap as c } from "@arcgis/lumina";
|
|
38
|
-
const h = {
|
|
4
|
+
import { u as a } from "../../chunks/useT9n.js";
|
|
5
|
+
import { createRef as l, ref as n } from "lit/directives/ref.js";
|
|
6
|
+
import { LitElement as c, createEvent as s, safeClassMap as p } from "@arcgis/lumina";
|
|
7
|
+
import { e as h } from "../../chunks/popover-ui-utils.js";
|
|
8
|
+
import { i as r } from "../../chunks/rest-js-object-literals.js";
|
|
9
|
+
const g = {
|
|
39
10
|
jsAppFlyout: "js-app-flyout"
|
|
40
11
|
};
|
|
41
|
-
class
|
|
12
|
+
class m extends c {
|
|
42
13
|
constructor() {
|
|
43
|
-
super(...arguments), this._messages =
|
|
14
|
+
super(...arguments), this._messages = a(), this.popoverElement = l(), this.placement = "leading", this.open = !1, this.arcgisChartsConfigFormatPopoverColorChange = s(), this.arcgisChartsConfigFormatPopoverSymbolChange = s(), this.arcgisChartsConfigFormatPopoverTextChange = s(), this.arcgisChartsConfigPopoverClose = s();
|
|
44
15
|
}
|
|
45
16
|
static {
|
|
46
17
|
this.properties = { messageOverrides: 0, selectedElement: 0, referenceElement: 0, placement: 1, open: 5 };
|
|
@@ -49,7 +20,7 @@ class g extends m {
|
|
|
49
20
|
await this.popoverElement.value?.reposition();
|
|
50
21
|
}
|
|
51
22
|
updated() {
|
|
52
|
-
|
|
23
|
+
h(this.popoverElement.value, this.open);
|
|
53
24
|
}
|
|
54
25
|
closePopover() {
|
|
55
26
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
@@ -65,10 +36,10 @@ class g extends m {
|
|
|
65
36
|
}
|
|
66
37
|
render() {
|
|
67
38
|
const e = this.selectedElement, t = this.selectedElement;
|
|
68
|
-
return o`<div class=${
|
|
39
|
+
return o`<div class=${p(g.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${!this.open} label @calcitePopoverClose=${this.closePopover} pointer-disabled auto-close ${n(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>`;
|
|
69
40
|
}
|
|
70
41
|
}
|
|
71
|
-
i("arcgis-charts-config-format-popover",
|
|
42
|
+
i("arcgis-charts-config-format-popover", m);
|
|
72
43
|
export {
|
|
73
|
-
|
|
44
|
+
m as ArcgisChartsConfigFormatPopover
|
|
74
45
|
};
|