@arcgis/charts-components 6.0.0-next.6 → 6.0.0-next.7
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/{4YPBPYT2.js → 22TQSTSU.js} +1 -1
- package/dist/cdn/2IZ27E73.js +2 -0
- package/dist/cdn/36YS6SWU.js +2 -0
- package/dist/cdn/3JXXDTM7.js +2 -0
- package/dist/cdn/3RUCVEOG.js +2 -0
- package/dist/cdn/3UNCSMIH.js +4 -0
- package/dist/cdn/3XWKTCG2.js +2 -0
- package/dist/cdn/{SP2OUJAE.js → 4DQDAM44.js} +2 -2
- package/dist/cdn/4F5HIOT7.js +2 -0
- package/dist/cdn/4W5FC5UJ.js +2 -0
- package/dist/cdn/6Y63J2D4.js +2 -0
- package/dist/cdn/7A6ZC3BY.js +2 -0
- package/dist/cdn/7B26LXAO.js +2 -0
- package/dist/cdn/7BMO4QQG.js +2 -0
- package/dist/cdn/7SKWCJOI.js +2 -0
- package/dist/cdn/ABHDKVCT.js +2 -0
- package/dist/cdn/AHDEGHQC.js +2 -0
- package/dist/cdn/{QQFMQAJ3.js → AS2IRRXE.js} +1 -1
- package/dist/cdn/B73SVOUA.js +2 -0
- package/dist/cdn/{WWMDDOKW.js → BILTOAXM.js} +1 -1
- package/dist/cdn/CX5HMAVB.js +2 -0
- package/dist/cdn/{EKPT25EF.js → DIOXIMBZ.js} +1 -1
- package/dist/cdn/DIVS65HK.js +2 -0
- package/dist/cdn/EJE4D6K4.js +2 -0
- package/dist/cdn/EMJV6FFC.js +2 -0
- package/dist/cdn/EOAW5SJZ.js +2 -0
- package/dist/cdn/EU5JSGVI.js +2 -0
- package/dist/cdn/EVKJUQYC.js +2 -0
- package/dist/cdn/GIUYJ4MX.js +2 -0
- package/dist/cdn/{J6KIUQWW.js → H7EH6MJN.js} +1 -1
- package/dist/cdn/HKD2DTMQ.js +2 -0
- package/dist/cdn/HWJULHS4.js +2 -0
- package/dist/cdn/{6T5V66TB.js → I3VAEJNQ.js} +24 -24
- package/dist/cdn/IMHL6OT4.js +2 -0
- package/dist/cdn/IMJ4ZP54.js +2 -0
- package/dist/cdn/IPRY6SMT.js +2 -0
- package/dist/cdn/IUWQ2XAM.js +2 -0
- package/dist/cdn/IZ6QMJ5N.js +2 -0
- package/dist/cdn/JGKOHDSF.js +2 -0
- package/dist/cdn/JQH63THU.js +2 -0
- package/dist/cdn/{563H5HEV.js → JYLCRNMW.js} +1 -1
- package/dist/cdn/K43QNXLK.js +2 -0
- package/dist/cdn/KE6MY5WL.js +2 -0
- package/dist/cdn/KHC45XNZ.js +2 -0
- package/dist/cdn/KXW4QAYP.js +2 -0
- package/dist/cdn/{OFJLWSKN.js → LNJSZCPC.js} +1 -1
- package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
- package/dist/cdn/{U7PBBWGS.js → MGKEPCZT.js} +1 -1
- package/dist/cdn/MGX5TD4I.js +2 -0
- package/dist/cdn/MIRDAGB6.js +2 -0
- package/dist/cdn/N337OTT2.js +2 -0
- package/dist/cdn/NCFIBVSV.js +2 -0
- package/dist/cdn/NNKLFRZL.js +2 -0
- package/dist/cdn/NSF637D3.js +2 -0
- package/dist/cdn/{VSKK65CP.js → NUTUTE7W.js} +1 -1
- package/dist/cdn/O3FVBAXP.js +2 -0
- package/dist/cdn/O53REUWO.js +2 -0
- package/dist/cdn/OPSWLJ6M.js +2 -0
- package/dist/cdn/OTIAHPXY.js +2 -0
- package/dist/cdn/PYK3S2WM.js +2 -0
- package/dist/cdn/PYMEPWV2.js +2 -0
- package/dist/cdn/QE4HAH4J.js +2 -0
- package/dist/cdn/SFX2QCRS.js +2 -0
- package/dist/cdn/SI7W275P.js +2 -0
- package/dist/cdn/SVF2UENW.js +4 -0
- package/dist/cdn/SY4PA5GZ.js +2 -0
- package/dist/cdn/TCUFKLTS.js +2 -0
- package/dist/cdn/TMVELVZ4.js +2 -0
- package/dist/cdn/TVAJJTLH.js +2 -0
- package/dist/cdn/TVBULK7L.js +2 -0
- package/dist/cdn/TYVYXA4I.js +2 -0
- package/dist/cdn/TZJX3ZDX.js +2 -0
- package/dist/cdn/{CIZUS2EL.js → U6AJIZZU.js} +1 -1
- package/dist/cdn/U75UR6WF.js +2 -0
- package/dist/cdn/{5BMOVHD7.js → VJBVJ2GM.js} +1 -1
- package/dist/cdn/VKLX5GBO.js +2 -0
- package/dist/cdn/{INYMF2BQ.js → VKMVMHTT.js} +1 -1
- package/dist/cdn/VL3NDPH3.js +2 -0
- package/dist/cdn/VUNCUXZR.js +2 -0
- package/dist/cdn/VVB5JOCB.js +2 -0
- package/dist/cdn/WAW5LS5U.js +2 -0
- package/dist/cdn/XWGJFR6Q.js +2 -0
- package/dist/cdn/YBFPKUEE.js +2 -0
- package/dist/cdn/YBPCOPML.js +2 -0
- package/dist/cdn/YGYZNUDM.js +2 -0
- package/dist/cdn/YLJUSUEV.js +2 -0
- package/dist/cdn/Z3UCAFDO.js +2 -0
- package/dist/cdn/ZHKGWF55.js +2 -0
- package/dist/cdn/{5S3M57QS.js → ZXPGBKDC.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/action-bar-utils.js +18 -20
- package/dist/chunks/axis-lines-symbol.js +6 -6
- package/dist/chunks/bar-chart-model.js +5 -7
- package/dist/chunks/box-plot-data.js +74 -76
- package/dist/chunks/box-plot-model.js +40 -41
- package/dist/chunks/chart-model.js +31 -33
- package/dist/chunks/chart-ui-utils.js +45 -47
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +14 -14
- package/dist/chunks/combo-bar-line-chart-model.js +15 -16
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +52 -54
- package/dist/chunks/gauge-model.js +65 -65
- package/dist/chunks/generate-x-axis-title.js +19 -19
- package/dist/chunks/heat-chart-model.js +13 -14
- package/dist/chunks/histogram-data.js +47 -48
- package/dist/chunks/histogram-model.js +6 -6
- package/dist/chunks/index.js +4943 -3839
- package/dist/chunks/index2.js +1165 -871
- package/dist/chunks/index3.js +11040 -1173
- package/dist/chunks/index4.js +65 -11086
- package/dist/chunks/line-chart-model.js +18 -19
- package/dist/chunks/model-setter.js +6 -6
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +25 -25
- package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
- package/dist/chunks/pie-chart-data.js +25 -27
- package/dist/chunks/pie-chart-model.js +21 -23
- package/dist/chunks/radar-chart-model.js +6 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +2 -2
- package/dist/chunks/scatterplot-model.js +13 -15
- package/dist/chunks/serial-chart-data.js +226 -229
- package/dist/chunks/serial-chart-model.js +66 -66
- package/dist/chunks/series-length.js +4 -4
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +109 -55
- package/dist/chunks/utils.js +146 -212
- package/dist/chunks/web-component-utils.js +55 -56
- package/dist/chunks/x-bounds.js +24 -25
- package/dist/components/arcgis-chart/customElement.d.ts +11 -4
- package/dist/components/arcgis-chart/customElement.js +5937 -5770
- package/dist/components/arcgis-charts-action-bar/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +189 -184
- package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-format/customElement.js +37 -38
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +14 -15
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +32 -33
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +8 -10
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +21 -25
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +15 -16
- package/dist/components/arcgis-charts-info-modal/customElement.js +4 -4
- 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 +396 -398
- package/dist/loader.js +1 -1
- package/dist/utils/chart-config/converter/index.js +73 -75
- package/dist/utils/misc/index.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cdn/2CUBWUT6.js +0 -2
- package/dist/cdn/2E3WHSEW.js +0 -2
- package/dist/cdn/2NTEIXDC.js +0 -2
- package/dist/cdn/3BLCT5B3.js +0 -2
- package/dist/cdn/3KVXZ4Q7.js +0 -2
- package/dist/cdn/3R5OPVW7.js +0 -2
- package/dist/cdn/3TPIZXLQ.js +0 -2
- package/dist/cdn/5BFSYCQN.js +0 -2
- package/dist/cdn/5ORGE6FR.js +0 -2
- package/dist/cdn/6IODKSGJ.js +0 -2
- package/dist/cdn/6KYES23V.js +0 -2
- package/dist/cdn/6MQWBIAC.js +0 -2
- package/dist/cdn/6UY62IZQ.js +0 -2
- package/dist/cdn/7IGL5XAY.js +0 -2
- package/dist/cdn/7ZM3ISL6.js +0 -2
- package/dist/cdn/A5YDIX7U.js +0 -2
- package/dist/cdn/AGKAJN2K.js +0 -2
- package/dist/cdn/ASCE4YBS.js +0 -2
- package/dist/cdn/B6APNE72.js +0 -3
- package/dist/cdn/BAYPYA6T.js +0 -2
- package/dist/cdn/BENXDFDK.js +0 -2
- package/dist/cdn/BG2GEL6V.js +0 -2
- package/dist/cdn/BZ4HWKAF.js +0 -2
- package/dist/cdn/DLMKQ6I2.js +0 -2
- package/dist/cdn/DOC3MQJC.js +0 -2
- package/dist/cdn/ECONXQCG.js +0 -2
- package/dist/cdn/EJ2FAXEX.js +0 -2
- package/dist/cdn/EOAQOIWV.js +0 -2
- package/dist/cdn/FHTWTEA4.js +0 -2
- package/dist/cdn/FN5XFRQS.js +0 -2
- package/dist/cdn/G2DJJIGO.js +0 -2
- package/dist/cdn/HBFEI43W.js +0 -2
- package/dist/cdn/HFQGFEEC.js +0 -2
- package/dist/cdn/HNVWY4XA.js +0 -2
- package/dist/cdn/HRGA4VCV.js +0 -2
- package/dist/cdn/HSSNNVVK.js +0 -2
- package/dist/cdn/I64VVDLI.js +0 -2
- package/dist/cdn/IEOIKLLK.js +0 -2
- package/dist/cdn/IUM6GDBZ.js +0 -2
- package/dist/cdn/JDN6OXCC.js +0 -2
- package/dist/cdn/KHHQ3O5Q.js +0 -2
- package/dist/cdn/LIHIBT2F.js +0 -3
- package/dist/cdn/LLGBFUAJ.js +0 -2
- package/dist/cdn/LRAKZMK6.js +0 -2
- package/dist/cdn/LV6XVOC5.js +0 -2
- package/dist/cdn/M5M3RE6W.js +0 -2
- package/dist/cdn/NEHAS4YX.js +0 -2
- package/dist/cdn/OMR65IIM.js +0 -2
- package/dist/cdn/OP3AF4WI.js +0 -2
- package/dist/cdn/PR3CHNEH.js +0 -2
- package/dist/cdn/PTBNT4NV.js +0 -2
- package/dist/cdn/PWDBJLTW.js +0 -2
- package/dist/cdn/Q2QELGQX.js +0 -2
- package/dist/cdn/Q4I6HPPG.js +0 -2
- package/dist/cdn/QJL6FNQQ.js +0 -2
- package/dist/cdn/QMKBTPPL.js +0 -2
- package/dist/cdn/SEK42UT2.js +0 -2
- package/dist/cdn/SJPUWCSQ.js +0 -2
- package/dist/cdn/SKI5Z6UH.js +0 -2
- package/dist/cdn/SPRQ2OBE.js +0 -2
- package/dist/cdn/TT6IHBTH.js +0 -2
- package/dist/cdn/ULRG7JME.js +0 -2
- package/dist/cdn/UMOEONXM.js +0 -2
- package/dist/cdn/UYCPYSQI.js +0 -2
- package/dist/cdn/WBZEARYO.js +0 -2
- package/dist/cdn/WFAHWPGT.js +0 -2
- package/dist/cdn/WID7G6E7.js +0 -2
- package/dist/cdn/XFFDNZIQ.js +0 -2
- package/dist/cdn/YF7BOK2T.js +0 -2
- package/dist/cdn/ZCC7V2A2.js +0 -2
- package/dist/cdn/ZI7QPEAF.js +0 -2
- package/dist/cdn/ZM5C3KIP.js +0 -2
- package/dist/cdn/ZMBD4NTY.js +0 -4
- package/dist/cdn/ZN7A4NI2.js +0 -2
- package/dist/cdn/ZQAM5BZI.js +0 -2
- package/dist/cdn/ZYYBMTVE.js +0 -2
- package/dist/chunks/index5.js +0 -69
- package/dist/chunks/type-guards2.js +0 -113
- package/dist/chunks/utils2.js +0 -63
- /package/dist/cdn/{OTV3YYDU.js → 7JMZPDM5.js} +0 -0
- /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
- /package/dist/cdn/{27C6PCQ2.js → XXO5K6N4.js} +0 -0
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { c as h } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as m, html as s } from "lit";
|
|
4
4
|
import { merge as i } from "es-toolkit/compat";
|
|
5
|
-
import { i as p, m as c, U as r, s as
|
|
6
|
-
import { u } from "../../chunks/useT9n.js";
|
|
7
|
-
import { createRef as S, ref as
|
|
5
|
+
import { i as p, m as c, U as r, s as d } from "../../chunks/chart-ui-utils.js";
|
|
6
|
+
import { u as y } from "../../chunks/useT9n.js";
|
|
7
|
+
import { createRef as S, ref as u } from "lit/directives/ref.js";
|
|
8
8
|
import { LitElement as g, createEvent as f, safeClassMap as n } from "@arcgis/lumina";
|
|
9
|
-
import { Q as v } from "../../chunks/
|
|
9
|
+
import { Q as v } from "../../chunks/index2.js";
|
|
10
10
|
import { b } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const C = {
|
|
12
12
|
arial: "Arial",
|
|
@@ -31,7 +31,7 @@ const C = {
|
|
|
31
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 .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{display:flex}: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 .font-style-container{padding:0 1rem}:host calcite-panel calcite-label.font{display:block;margin-top:1rem}`;
|
|
32
32
|
class I extends g {
|
|
33
33
|
constructor() {
|
|
34
|
-
super(...arguments), this._messages =
|
|
34
|
+
super(...arguments), this._messages = y(), this.fontSizeInputElement = S(), this.isFontSizeInvalid = !1, this.fontStyle = {
|
|
35
35
|
type: b.TS
|
|
36
36
|
}, this.open = !1, this.enableClose = !1, this.arcgisChartsConfigFontStyleChange = f(), this.arcgisChartsConfigFontStyleClose = f();
|
|
37
37
|
}
|
|
@@ -66,7 +66,7 @@ class I extends g {
|
|
|
66
66
|
} else this.fontSizeInputElement.value && (this.isFontSizeInvalid = !0, c({
|
|
67
67
|
inputElement: this.fontSizeInputElement.value,
|
|
68
68
|
status: r.INVALID
|
|
69
|
-
}));
|
|
69
|
+
}), this.fontStyle.font?.size !== void 0 && (this.fontStyle.font.size = Number(t)));
|
|
70
70
|
}
|
|
71
71
|
boldSelect() {
|
|
72
72
|
let t = "bold";
|
|
@@ -101,7 +101,7 @@ class I extends g {
|
|
|
101
101
|
return this.fontStyle?.font?.family === "" && t.push(s`<calcite-option value selected></calcite-option>`), t;
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
|
-
return s`<calcite-panel .heading=${this.header ?? this._messages.header} .closed=${!this.open} .closable=${this.enableClose ?? !1} @calcitePanelClose=${this.closePanel}><div class=${n(a.fontStyleContainer)}><calcite-label class=${n(a.font)}>${this._messages.font}<calcite-select .label=${this._messages.font ?? ""} @calciteSelectChange=${this.fontChange}>${this.renderFonts()}</calcite-select></calcite-label></div><div class=${n(a.fontStyleContainer)}><calcite-label class=${n(a.inputLabel)}>${this._messages.size}<calcite-input class=${n(a.numberInput)} type=number min=6 max=40 step=1 .value=${
|
|
104
|
+
return s`<calcite-panel .heading=${this.header ?? this._messages.header} .closed=${!this.open} .closable=${this.enableClose ?? !1} @calcitePanelClose=${this.closePanel}><div class=${n(a.fontStyleContainer)}><calcite-label class=${n(a.font)}>${this._messages.font}<calcite-select .label=${this._messages.font ?? ""} @calciteSelectChange=${this.fontChange}>${this.renderFonts()}</calcite-select></calcite-label></div><div class=${n(a.fontStyleContainer)}><calcite-label class=${n(a.inputLabel)}>${this._messages.size}<calcite-input class=${n(a.numberInput)} type=number min=6 max=40 step=1 .value=${d(this.fontStyle?.font?.size)} @calciteInputInput=${this.fontSizeChange} ${u(this.fontSizeInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.invalidFontSize} .isInvalid=${this.isFontSizeInvalid}></arcgis-charts-config-invalid-input-message></calcite-label><calcite-action appearance=transparent .text=${this._messages.bold ?? ""} @click=${this.boldSelect} scale=l .active=${this.fontStyle?.font?.weight === "bold"} .disabled=${this.isFontSizeInvalid}><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"} .disabled=${this.isFontSizeInvalid}><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"} .disabled=${this.isFontSizeInvalid}><calcite-icon scale=s icon=underline></calcite-icon></calcite-action></div><div class=${n(a.fontStyleContainer)}><arcgis-charts-config-colors .rgba=${this.fontStyle?.color ?? void 0} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel>`;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
h("arcgis-charts-config-font-style", I);
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as B } from "../../chunks/runtime.js";
|
|
3
3
|
import { ref as M } from "lit/directives/ref.js";
|
|
4
|
-
import { n as y, l as
|
|
4
|
+
import { n as y, l as m, j as h, o as S, c as V, k as w } from "../../chunks/type-guards.js";
|
|
5
5
|
import { i as T } from "../../chunks/data-labels-symbol.js";
|
|
6
6
|
import { i as C, a as L, b as P } from "../../chunks/axis-lines-symbol.js";
|
|
7
|
-
import { cloneDeep as
|
|
7
|
+
import { cloneDeep as c, isArray as F, isObject as A, mergeWith as D, isEmpty as E } from "es-toolkit/compat";
|
|
8
8
|
import { h as G } from "../../chunks/chart-ui-utils.js";
|
|
9
9
|
import { R as W, b } from "../../chunks/rest-js-object-literals.js";
|
|
10
10
|
import { u as N } from "../../chunks/useT9n.js";
|
|
11
11
|
import { css as z, html as f } from "lit";
|
|
12
12
|
import { LitElement as H, renderElement as R, safeClassMap as p } from "@arcgis/lumina";
|
|
13
|
-
import { C as j, F as i, L as
|
|
14
|
-
import { b as u,
|
|
13
|
+
import { C as j, F as i, L as d } from "../../chunks/common.js";
|
|
14
|
+
import { b as u, cg as r, C as I } from "../../chunks/index.js";
|
|
15
15
|
import { r as $ } from "../../chunks/popover-ui-utils.js";
|
|
16
|
-
import { C as I } from "../../chunks/index2.js";
|
|
17
16
|
import { a } from "../../chunks/chart-object-literals.js";
|
|
18
17
|
const v = {
|
|
19
18
|
type: b.TS,
|
|
@@ -55,8 +54,8 @@ class X extends H {
|
|
|
55
54
|
if (e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedBackground = [], e.shiftKey) {
|
|
56
55
|
this.selectedTexts = [];
|
|
57
56
|
const o = this.textProperties.indexOf(this.lastSelectedText ?? s), l = this.textProperties.indexOf(s);
|
|
58
|
-
this.textProperties.forEach((
|
|
59
|
-
x >= Math.min(o, l) && x <= Math.max(o, l) && this.selectedTexts.push(
|
|
57
|
+
this.textProperties.forEach((n, x) => {
|
|
58
|
+
x >= Math.min(o, l) && x <= Math.max(o, l) && this.selectedTexts.push(n);
|
|
60
59
|
}), this.updateSelectedElement(this.selectedTexts), this.setupFormatPopover();
|
|
61
60
|
} else if (e.ctrlKey)
|
|
62
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();
|
|
@@ -82,20 +81,20 @@ class X extends H {
|
|
|
82
81
|
const e = t.detail;
|
|
83
82
|
this.selectedSymbols.forEach((s) => {
|
|
84
83
|
this.setFormatValue(s, e);
|
|
85
|
-
}), this.selectedElement =
|
|
84
|
+
}), this.selectedElement = c(t.target.selectedElement);
|
|
86
85
|
}, this.updateBackground = (t) => {
|
|
87
86
|
this.setFormatValue(j.Background, t.detail), this.selectedElement = t.detail;
|
|
88
87
|
}, this.updateTextProps = (t) => {
|
|
89
88
|
const { font: e, color: s } = t.detail;
|
|
90
89
|
this.selectedTexts.forEach((o) => {
|
|
91
|
-
const l = this.getFormatValue(o),
|
|
90
|
+
const l = this.getFormatValue(o), n = r(l) ? l : void 0;
|
|
92
91
|
this.setFormatValue(o, {
|
|
93
|
-
...
|
|
92
|
+
...n,
|
|
94
93
|
type: b.TS,
|
|
95
|
-
font: { ...
|
|
96
|
-
color: s ??
|
|
94
|
+
font: { ...n?.font, ...e },
|
|
95
|
+
color: s ?? n?.color
|
|
97
96
|
});
|
|
98
|
-
}), this.selectedElement =
|
|
97
|
+
}), this.selectedElement = c(t.target.selectedElement);
|
|
99
98
|
}, this.onModelConfigChange = () => {
|
|
100
99
|
this.requestUpdate();
|
|
101
100
|
}, this.formatPopoverClose = (t) => {
|
|
@@ -135,23 +134,23 @@ class X extends H {
|
|
|
135
134
|
}
|
|
136
135
|
updateSelectedElement(t, e) {
|
|
137
136
|
if (this.selectedElement = void 0, e === void 0) {
|
|
138
|
-
const s =
|
|
137
|
+
const s = c(this.getFormatValue(t[0]));
|
|
139
138
|
this.selectedElement = t?.reduce((o, l) => {
|
|
140
|
-
const
|
|
141
|
-
return D(o,
|
|
139
|
+
const n = this.getFormatValue(l);
|
|
140
|
+
return D(o, n, this.mergeFormatValues);
|
|
142
141
|
}, s);
|
|
143
142
|
} else {
|
|
144
|
-
let s =
|
|
145
|
-
E(e) && (this.selectedSymbols?.length > 0 && (s =
|
|
143
|
+
let s = c(e);
|
|
144
|
+
E(e) && (this.selectedSymbols?.length > 0 && (s = c(k)), this.selectedTexts?.length > 0 && (s = c(v))), this.selectedElement = s;
|
|
146
145
|
}
|
|
147
146
|
}
|
|
148
147
|
initSelectedTexts(t) {
|
|
149
|
-
let e =
|
|
150
|
-
E(t) && (e =
|
|
148
|
+
let e = c(t);
|
|
149
|
+
E(t) && (e = c(v)), this.selectedElement = e;
|
|
151
150
|
}
|
|
152
151
|
initSelectedSymbols(t) {
|
|
153
|
-
let e =
|
|
154
|
-
E(t) && (e =
|
|
152
|
+
let e = c(t);
|
|
153
|
+
E(t) && (e = c(k)), this.selectedElement = e;
|
|
155
154
|
}
|
|
156
155
|
setupFormatPopover() {
|
|
157
156
|
this.formatPopover = $(this.formatPopover);
|
|
@@ -171,7 +170,7 @@ class X extends H {
|
|
|
171
170
|
case i.XAxisTitle:
|
|
172
171
|
return P(this.model) ? this.model.xAxisTitleSymbol : void 0;
|
|
173
172
|
case i.YAxisTitle:
|
|
174
|
-
return
|
|
173
|
+
return m(this.model) ? this.model.getAxisTitleSymbol(1) : void 0;
|
|
175
174
|
case i.AxisLabels:
|
|
176
175
|
return L(this.model) ? this.model.axisLabelsSymbol : void 0;
|
|
177
176
|
case i.GuideLabels:
|
|
@@ -182,11 +181,11 @@ class X extends H {
|
|
|
182
181
|
return h(this.model) ? this.model.legendTitleSymbol : void 0;
|
|
183
182
|
case i.DataLabels:
|
|
184
183
|
return T(this.model) ? this.model.dataLabelsSymbol : void 0;
|
|
185
|
-
case
|
|
184
|
+
case d.AxisLines:
|
|
186
185
|
return C(this.model) ? this.model.axisLinesSymbol : void 0;
|
|
187
|
-
case
|
|
188
|
-
return
|
|
189
|
-
case
|
|
186
|
+
case d.GridLines:
|
|
187
|
+
return m(this.model) ? this.model.getGridLinesSymbol() : void 0;
|
|
188
|
+
case d.LeaderLines:
|
|
190
189
|
return y(this.model) ? this.model.ticksSymbol : void 0;
|
|
191
190
|
case i.Background:
|
|
192
191
|
return this.model.backgroundColor;
|
|
@@ -206,7 +205,7 @@ class X extends H {
|
|
|
206
205
|
P(this.model) && r(e) && (this.model.xAxisTitleSymbol = e);
|
|
207
206
|
break;
|
|
208
207
|
case i.YAxisTitle:
|
|
209
|
-
|
|
208
|
+
m(this.model) && r(e) && this.model.setAxisTitleSymbol(e, 1);
|
|
210
209
|
break;
|
|
211
210
|
case i.AxisLabels:
|
|
212
211
|
L(this.model) && r(e) && (this.model.axisLabelsSymbol = e);
|
|
@@ -223,14 +222,14 @@ class X extends H {
|
|
|
223
222
|
case i.DataLabels:
|
|
224
223
|
T(this.model) && r(e) && (this.model.dataLabelsSymbol = e);
|
|
225
224
|
break;
|
|
226
|
-
case
|
|
225
|
+
case d.AxisLines:
|
|
227
226
|
C(this.model) && u(e) && (this.model.axisLinesSymbol = e);
|
|
228
227
|
break;
|
|
229
|
-
case
|
|
228
|
+
case d.GridLines:
|
|
230
229
|
if (u(e)) {
|
|
231
230
|
if (V(this.model))
|
|
232
231
|
this.model.setGridLinesSymbol(e);
|
|
233
|
-
else if (
|
|
232
|
+
else if (m(this.model)) {
|
|
234
233
|
const s = this.model.chartType;
|
|
235
234
|
let o = [];
|
|
236
235
|
switch (s) {
|
|
@@ -254,7 +253,7 @@ class X extends H {
|
|
|
254
253
|
}
|
|
255
254
|
}
|
|
256
255
|
break;
|
|
257
|
-
case
|
|
256
|
+
case d.LeaderLines:
|
|
258
257
|
y(this.model) && u(e) && (this.model.ticksSymbol = e);
|
|
259
258
|
break;
|
|
260
259
|
case i.Background:
|
|
@@ -266,7 +265,7 @@ class X extends H {
|
|
|
266
265
|
this.textProperties = [
|
|
267
266
|
i.Title,
|
|
268
267
|
...P(this.model) ? [i.XAxisTitle] : [],
|
|
269
|
-
...
|
|
268
|
+
...m(this.model) ? [i.YAxisTitle] : [],
|
|
270
269
|
...h(this.model) ? [i.LegendTitle] : [],
|
|
271
270
|
i.Description,
|
|
272
271
|
...h(this.model) ? [i.LegendText] : [],
|
|
@@ -275,16 +274,16 @@ class X extends H {
|
|
|
275
274
|
...T(this.model) && this.model.chartType !== a.HeatSeries && this.model.chartType !== a.BoxPlotSeries ? [i.DataLabels] : []
|
|
276
275
|
], w(this.model) && (this.textProperties = this.textProperties.filter((s) => s !== i.DataLabels)), this.symbolProperties = [
|
|
277
276
|
i.Background,
|
|
278
|
-
...C(this.model) && this.model.chartType !== a.HeatSeries ? [
|
|
279
|
-
...
|
|
280
|
-
...y(this.model) ? [
|
|
277
|
+
...C(this.model) && this.model.chartType !== a.HeatSeries ? [d.AxisLines] : [],
|
|
278
|
+
...m(this.model) ? [d.GridLines] : [],
|
|
279
|
+
...y(this.model) ? [d.LeaderLines] : []
|
|
281
280
|
];
|
|
282
281
|
const t = this.textProperties.map((s) => this.renderTextElement(s, this.textPropertyChange)), e = this.symbolProperties.map((s) => s === i.Background ? this.renderTextElement(s, this.backgroundChange) : this.renderTextElement(s, this.symbolPropertyChange));
|
|
283
282
|
return { textElements: t, symbolElements: e };
|
|
284
283
|
}
|
|
285
284
|
renderTextElement(t, e) {
|
|
286
|
-
const s = G(t), o = this.getFormatValue(t), l = typeof o == "string" ? o : "",
|
|
287
|
-
return f`<calcite-list-item class=${p(g.element)} .label=${this._messages[t]} .description=${l} .value=${t} .selected=${
|
|
285
|
+
const s = G(t), o = this.getFormatValue(t), l = typeof o == "string" ? o : "", n = this.selectedTexts.includes(t) || this.selectedSymbols.includes(t) || this.selectedBackground.includes(t);
|
|
286
|
+
return f`<calcite-list-item class=${p(g.element)} .label=${this._messages[t]} .description=${l} .value=${t} .selected=${n} @click=${e} ${M(this.updateSelectableElements)}>${s !== void 0 ? f`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>` : null}</calcite-list-item>`;
|
|
288
287
|
}
|
|
289
288
|
render() {
|
|
290
289
|
const { textElements: t, symbolElements: e } = this.renderFormatElements();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as T } from "../../chunks/runtime.js";
|
|
3
|
-
import { l as n, p as r, j as c } from "../../chunks/type-
|
|
3
|
+
import { l as n, p as r, j as c } from "../../chunks/type-guards.js";
|
|
4
4
|
import { i as h, a as m, b as g } from "../../chunks/generate-x-axis-title.js";
|
|
5
5
|
import { isEmpty as x } from "es-toolkit/compat";
|
|
6
6
|
import { m as u, U as b } from "../../chunks/chart-ui-utils.js";
|
|
@@ -9,7 +9,7 @@ import { css as C, html as l } from "lit";
|
|
|
9
9
|
import { createRef as f, ref as $ } from "lit/directives/ref.js";
|
|
10
10
|
import { LitElement as v, safeClassMap as i } from "@arcgis/lumina";
|
|
11
11
|
import { f as a } from "../../chunks/chart-object-literals.js";
|
|
12
|
-
import { i as y } from "../../chunks/
|
|
12
|
+
import { i as y } from "../../chunks/index3.js";
|
|
13
13
|
const s = {
|
|
14
14
|
textInput: "text-input",
|
|
15
15
|
label: "label",
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import { c as B } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as X } from "lit/directives/keyed.js";
|
|
4
4
|
import { cloneDeep as P } from "es-toolkit/compat";
|
|
5
|
-
import { m as $, U as S, a as
|
|
5
|
+
import { m as $, U as S, a as N, j as V, k } from "../../chunks/chart-ui-utils.js";
|
|
6
6
|
import { d as F } from "../../chunks/default.js";
|
|
7
7
|
import { g as Z } from "../../chunks/resource.js";
|
|
8
8
|
import { u as q } from "../../chunks/useT9n.js";
|
|
9
9
|
import { css as z, html as d } from "lit";
|
|
10
10
|
import { createRef as h, ref as u } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as O, createEvent as U, renderElement as M, safeStyleMap as L, safeClassMap as n } from "@arcgis/lumina";
|
|
12
|
-
import { l as W, q as
|
|
13
|
-
import {
|
|
14
|
-
import { t as K } from "../../chunks/
|
|
12
|
+
import { l as W, q as j, r as Y } from "../../chunks/type-guards.js";
|
|
13
|
+
import { ch as p, b as m, bI as H, ci as A, cj as _, i as J } from "../../chunks/index.js";
|
|
14
|
+
import { t as K } from "../../chunks/index2.js";
|
|
15
15
|
import { r as Q } from "../../chunks/popover-ui-utils.js";
|
|
16
16
|
import { b as g, R as ee } from "../../chunks/rest-js-object-literals.js";
|
|
17
17
|
import { a as te } from "../../chunks/chart-object-literals.js";
|
|
@@ -203,17 +203,17 @@ class se extends O {
|
|
|
203
203
|
this.model.setGuideVisibility(!e, this.index, this.orientation);
|
|
204
204
|
}
|
|
205
205
|
destroyTooltip() {
|
|
206
|
-
|
|
206
|
+
N(this.tooltip);
|
|
207
207
|
}
|
|
208
208
|
deleteGuide() {
|
|
209
|
-
this.destroyTooltip(), this.orientation === b.X &&
|
|
209
|
+
this.destroyTooltip(), this.orientation === b.X && j(this.model) ? this.model.deleteXAxisGuide(this.index) : this.orientation === b.Y && Y(this.model) && this.model.deleteYAxisGuide(this.index), this.arcgisChartsConfigGuideChange.emit({
|
|
210
210
|
index: this.index,
|
|
211
211
|
orientation: this.orientation,
|
|
212
212
|
isDelete: !0
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
renderColorElement() {
|
|
216
|
-
const e = this.model.getGuideStyle(this.index, this.orientation), [t, i, a, l] = [...e?.color ?? [1, 1, 1, 255]], s = this.model.getGuideStart(this.index, this.orientation), r = this.model.getGuideEnd(this.index, this.orientation), v = m(e) ?
|
|
216
|
+
const e = this.model.getGuideStyle(this.index, this.orientation), [t, i, a, l] = [...e?.color ?? [1, 1, 1, 255]], s = this.model.getGuideStart(this.index, this.orientation), r = this.model.getGuideEnd(this.index, this.orientation), v = m(e) ? V(e.style) : ee.Solid, f = p(s, r) === g.SLS ? `line-${v}` : "square-f";
|
|
217
217
|
return d`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .value=${this._messages.style} class=${n(o.colorPicker)} .label=${this._messages.style} .selected=${this.guidePopover?.open} @click=${this.onColorElementSelect} ${u(this.colorElement)}><calcite-icon slot=content-end .icon=${f} style=${L({ color: `rgba(${t},${i},${a},${l / 255})` })}></calcite-icon></calcite-list-item></calcite-list>`;
|
|
218
218
|
}
|
|
219
219
|
render() {
|
|
@@ -7,7 +7,7 @@ import { u as f } from "../../chunks/useT9n.js";
|
|
|
7
7
|
import { css as A, html as a } from "lit";
|
|
8
8
|
import { createRef as x, ref as C } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement as b, renderElement as v, safeClassMap as c } from "@arcgis/lumina";
|
|
10
|
-
import { q as h, r as u } from "../../chunks/type-
|
|
10
|
+
import { q as h, r as u } from "../../chunks/type-guards.js";
|
|
11
11
|
import { G as s } from "../../chunks/common.js";
|
|
12
12
|
const P = A`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.add-guide{display:flex;justify-content:center;padding:.5rem}.add-guide-btn{width:100%}.no-guides{border-radius:2rem}.no-messages{text-align:center}.guide-icon{padding-left:.5rem;padding-top:.5rem;width:1.5rem;height:1.5rem}`;
|
|
13
13
|
class $ extends b {
|
|
@@ -4,7 +4,7 @@ import { LitElement as l } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as n, html as i } from "lit";
|
|
5
5
|
import { C as s } from "../../chunks/interfaces.js";
|
|
6
6
|
import { isEqual as d } from "es-toolkit/compat";
|
|
7
|
-
import {
|
|
7
|
+
import { c9 as h, ca as c, v as f } from "../../chunks/index.js";
|
|
8
8
|
const p = n`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
9
9
|
class m extends l {
|
|
10
10
|
static {
|
|
@@ -7,8 +7,8 @@ import { css as N, html as i } from "lit";
|
|
|
7
7
|
import { createRef as n, ref as c } from "lit/directives/ref.js";
|
|
8
8
|
import { parseInt as _, camelCase as H } from "es-toolkit/compat";
|
|
9
9
|
import { DateTime as L } from "luxon";
|
|
10
|
-
import {
|
|
11
|
-
import { u as
|
|
10
|
+
import { u as T, B as x, ck as O, C as U } from "../../chunks/index.js";
|
|
11
|
+
import { u as R } from "../../chunks/useT9n.js";
|
|
12
12
|
import { c as s, W as k } from "../../chunks/interfaces.js";
|
|
13
13
|
import { x as W } from "../../chunks/data.js";
|
|
14
14
|
import { l as v, s as q } from "../../chunks/chart-ui-utils.js";
|
|
@@ -16,10 +16,9 @@ import { c as $, g as K, a as V, b as z } from "../../chunks/class-breaks.js";
|
|
|
16
16
|
import { e as X, a as Z } from "../../chunks/store.js";
|
|
17
17
|
import { H as G } from "../../chunks/common.js";
|
|
18
18
|
import { b as j } from "../../chunks/rest-js-object-literals.js";
|
|
19
|
-
import { d
|
|
20
|
-
import { J, I as Q, i as ee, R as
|
|
21
|
-
import {
|
|
22
|
-
import { i as ae } from "../../chunks/index4.js";
|
|
19
|
+
import { d, h, l as p, a as C, n as u, q as F, r as Y } from "../../chunks/chart-object-literals.js";
|
|
20
|
+
import { J, I as Q, i as ee, R as m } from "../../chunks/index2.js";
|
|
21
|
+
import { i as ae } from "../../chunks/index3.js";
|
|
23
22
|
import { r as te } from "../../chunks/popover-ui-utils.js";
|
|
24
23
|
const se = N`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.color-ramp{width:100%;height:20px;overflow:hidden;border-radius:0}.color-ramp-segment{height:100%;display:inline-block}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.accordion{margin-top:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}`, r = {
|
|
25
24
|
label: "label",
|
|
@@ -30,19 +29,19 @@ const se = N`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.
|
|
|
30
29
|
};
|
|
31
30
|
class le extends E {
|
|
32
31
|
constructor() {
|
|
33
|
-
super(...arguments), this._messages =
|
|
32
|
+
super(...arguments), this._messages = R(), this.commonStrings = R({ name: "common", blocking: !0 }), this.heatChartPopover = null, this.xAxisFieldElement = n(), this.aggregationElement = n(), this.numericFieldsElement = n(), this.calendarTypeElement = n(), this.calendarViewTypeElement = n(), this.classBreakMethodElement = n(), this.nullElement = n(), this.breaksCountElement = n(), this.colorSchemeElement = n(), this.onHeatChartDataPopoverChange = async (e) => {
|
|
34
33
|
try {
|
|
35
34
|
if (e.detail?.value !== void 0) {
|
|
36
35
|
const { contentKind: a } = e.detail, t = e.detail.value;
|
|
37
36
|
switch (a) {
|
|
38
37
|
case s.aggregation:
|
|
39
|
-
this.model.aggregationType = t, t ===
|
|
38
|
+
this.model.aggregationType = t, t === d.Count || t === d.Sum ? this.model.nullPolicy = h.Zero : this.model.nullPolicy = h.Null;
|
|
40
39
|
break;
|
|
41
40
|
case s.xAxisField:
|
|
42
41
|
this.model.xAxisField = t, this.setDefaultPropertiesForCalendarHeatChart();
|
|
43
42
|
break;
|
|
44
43
|
case s.numericFields:
|
|
45
|
-
this.model.numericFields = [t.trim() || ""], (this.model.numericFields ?? []).length > 0 && this.model.aggregationType ===
|
|
44
|
+
this.model.numericFields = [t.trim() || ""], (this.model.numericFields ?? []).length > 0 && this.model.aggregationType === d.Count && this.model.numericFields[0] !== T(this.model.layer).idField && (this.model.aggregationType = d.Sum);
|
|
46
45
|
break;
|
|
47
46
|
case s.calendarType: {
|
|
48
47
|
this.applyCalendarTypePreset(t);
|
|
@@ -186,7 +185,7 @@ class le extends E {
|
|
|
186
185
|
return W({
|
|
187
186
|
fieldName: this.model.xAxisField,
|
|
188
187
|
fieldList: this.layerFieldsInfo
|
|
189
|
-
}) ? "" :
|
|
188
|
+
}) ? "" : x(this.layerFieldsInfo, this.model.xAxisField);
|
|
190
189
|
}
|
|
191
190
|
onXAxisFieldSelect(e) {
|
|
192
191
|
this.contentKind = s.xAxisField, this.setupPopover(e);
|
|
@@ -205,7 +204,7 @@ class le extends E {
|
|
|
205
204
|
}
|
|
206
205
|
async onBreaksCountChange(e) {
|
|
207
206
|
let a = _(e.target.value);
|
|
208
|
-
a <
|
|
207
|
+
a < m.min ? a = m.min : a > m.max && (a = m.max), O(a) && (this.breaksCountElement.value && (this.breaksCountElement.value.value = a.toString()), this.requestedBreaksCount = a, this.model.breaksCount = a, await this.generateAndUpdateClassBreaks());
|
|
209
208
|
}
|
|
210
209
|
onAggregationSelect(e) {
|
|
211
210
|
this.contentKind = s.aggregation, this.setupPopover(e);
|
|
@@ -255,17 +254,17 @@ class le extends E {
|
|
|
255
254
|
this.heatChartPopover !== null && (this.heatChartPopover.open = !1, this.heatChartPopover = te(this.heatChartPopover));
|
|
256
255
|
}
|
|
257
256
|
setDefaultPropertiesForCalendarHeatChart() {
|
|
258
|
-
this.model.yAxisField = this.model.xAxisField, this.model.setYAxisSortOrder(G.Desc), this.model.classificationMethod === void 0 && (this.model.classificationMethod = F.naturalBreaks), this.model.heatRulesType !== u.Renderer && (this.model.heatRulesType = u.Renderer), this.model.viewType === void 0 && (this.model.viewType = Y.singleCalendarView), (this.model.aggregationType ===
|
|
257
|
+
this.model.yAxisField = this.model.xAxisField, this.model.setYAxisSortOrder(G.Desc), this.model.classificationMethod === void 0 && (this.model.classificationMethod = F.naturalBreaks), this.model.heatRulesType !== u.Renderer && (this.model.heatRulesType = u.Renderer), this.model.viewType === void 0 && (this.model.viewType = Y.singleCalendarView), (this.model.aggregationType === d.Count || this.model.aggregationType === d.Sum) && this.model.nullPolicy !== h.Zero && (this.model.nullPolicy = h.Zero), this.model.colorRampName === void 0 && (this.model.colorRampName = $.defaultColorRampForCharts?.name);
|
|
259
258
|
}
|
|
260
259
|
renderXAxisFieldSelect() {
|
|
261
260
|
const e = this.getCorrectedXAxisFieldValue();
|
|
262
261
|
return i`<arcgis-charts-config-field-picker .label=${e} @click=${this.onXAxisFieldSelect} ${c(this.xAxisFieldElement)}></arcgis-charts-config-field-picker>`;
|
|
263
262
|
}
|
|
264
263
|
renderAggregation() {
|
|
265
|
-
return i`<arcgis-charts-config-field-picker .label=${this.model.aggregationType ===
|
|
264
|
+
return i`<arcgis-charts-config-field-picker .label=${this.model.aggregationType === d.NoAggregation ? this._messages.noAggregation : this.aggregationLabel} @click=${this.onAggregationSelect} ${c(this.aggregationElement)}></arcgis-charts-config-field-picker>`;
|
|
266
265
|
}
|
|
267
266
|
renderNumericFieldsSelect() {
|
|
268
|
-
const e = this.model.numericFields?.[0] ===
|
|
267
|
+
const e = this.model.numericFields?.[0] === T(this.model.layer).idField ? "" : x(this.layerFieldsInfo, this.model.numericFields?.[0]);
|
|
269
268
|
return i`<arcgis-charts-config-field-picker .label=${e} @click=${this.onNumericFieldSelect} ${c(this.numericFieldsElement)}></arcgis-charts-config-field-picker>`;
|
|
270
269
|
}
|
|
271
270
|
renderCalendarTypeSelect() {
|
|
@@ -304,7 +303,7 @@ class le extends E {
|
|
|
304
303
|
}
|
|
305
304
|
render() {
|
|
306
305
|
const e = this.renderXAxisFieldSelect(), a = this.renderAggregation(), t = this.renderNumericFieldsSelect(), l = this.renderCalendarTypeSelect(), g = this.renderClassBreakMethodSelect(), f = this.renderColorRampSelect(), y = this.renderClassBreaksTable(), b = this.renderNullUI(), S = this.renderEmptyBins();
|
|
307
|
-
return i`<calcite-label class=${o(r.label)}>${this._messages.dateRequired}${e}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.calendarType}${l}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.aggregation}${a}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numericField}${t}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.method}${g}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numberOfClasses}<calcite-input type=number .min=${
|
|
306
|
+
return i`<calcite-label class=${o(r.label)}>${this._messages.dateRequired}${e}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.calendarType}${l}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.aggregation}${a}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numericField}${t}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.method}${g}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numberOfClasses}<calcite-input type=number .min=${m.min} .max=${m.max} .disabled=${this.model.classificationMethod === void 0 || this.model.classificationMethod === F.manual} step=1 .value=${q(this.model.breaksCount, 5)} @calciteInputInput=${this.onBreaksCountChange} ${c(this.breaksCountElement)}></calcite-input></calcite-label><calcite-label class=${o(r.label)}>${this._messages.colorScheme}${f}</calcite-label>${b}<calcite-accordion class=${o(r.accordion)} appearance=transparent selection-mode=single><calcite-accordion-item .heading=${this._messages.classBreaks}>${y}</calcite-accordion-item></calcite-accordion><calcite-label class=${o(r.label)}>${this._messages.emptyBins}${S}</calcite-label>${v(this.model) === k.YearByMonthAndDayOfMonth ? i`<calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.includeLeapDay}<calcite-switch .checked=${this.model.includeLeapDay} @calciteSwitchChange=${this.onIncludeLeapDayChange}></calcite-switch></calcite-label>` : null}`;
|
|
308
307
|
}
|
|
309
308
|
}
|
|
310
309
|
P("arcgis-charts-config-heat-chart-data", le);
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as T } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as d } from "lit/directives/repeat.js";
|
|
4
|
-
import { css as F, html as
|
|
4
|
+
import { css as F, html as l } from "lit";
|
|
5
5
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
6
6
|
import P from "@arcgis/core/Color.js";
|
|
7
|
-
import { LitElement as I, createEvent as h, safeClassMap as
|
|
7
|
+
import { LitElement as I, createEvent as h, safeClassMap as r, nothing as g, safeStyleMap as L } from "@arcgis/lumina";
|
|
8
8
|
import { createRef as u, ref as p } from "lit/directives/ref.js";
|
|
9
9
|
import { isEqual as S } from "es-toolkit/compat";
|
|
10
|
-
import {
|
|
10
|
+
import { B as D, b4 as A, b3 as E, C as v } from "../../chunks/index.js";
|
|
11
11
|
import { u as b } from "../../chunks/useT9n.js";
|
|
12
12
|
import { c, W as $ } from "../../chunks/interfaces.js";
|
|
13
|
-
import { c as y, b as
|
|
13
|
+
import { c as y, b as _, e as m } from "../../chunks/chart-ui-utils.js";
|
|
14
14
|
import { C as x, d as k } from "../../chunks/class-breaks.js";
|
|
15
|
-
import { d as
|
|
16
|
-
import { d as
|
|
17
|
-
import { e as
|
|
18
|
-
import { J as
|
|
19
|
-
import { aR as H, aQ as O } from "../../chunks/index.js";
|
|
15
|
+
import { d as B } from "../../chunks/rest-js-object-literals.js";
|
|
16
|
+
import { d as N, r as R, q as C } from "../../chunks/chart-object-literals.js";
|
|
17
|
+
import { e as M } from "../../chunks/popover-ui-utils.js";
|
|
18
|
+
import { J as H, r as O } from "../../chunks/index2.js";
|
|
20
19
|
const q = F`.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}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.panel{max-height:60vh}.color-ramp-popover{display:flex;flex-direction:column;gap:.75rem;min-width:320px;max-width:480px}.color-ramp-toolbar{display:flex;gap:.5rem;align-items:center;padding:5px 5px 0}.ramp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem;max-height:300px;overflow:auto;padding:.25rem}.ramp-item{display:flex;flex-direction:column;border:1px solid var(--calcite-color-foreground-3);background:var(--calcite-color-foreground-1);cursor:pointer;box-shadow:inset 0 0 0 1px transparent;transition:box-shadow .12s;border-radius:2px;min-height:56px;padding:4px}.ramp-item:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}.ramp-name{font-size:.625rem;line-height:1;padding:2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-3)}.ramp-item.selected{background-color:var(--calcite-color-brand)!important;border-color:var(--calcite-color-brand)!important;outline:2px solid var(--calcite-color-brand)!important;color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-name{color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-strip{box-shadow:none;border:none}.ramp-strips{display:flex;flex:1;height:28px;width:100%;overflow:hidden}.ramp-strip{flex:1;min-width:0}.ramp-strip-fallback{background:repeating-linear-gradient(45deg,var(--calcite-color-foreground-3) 0,var(--calcite-color-foreground-3) 5px,var(--calcite-color-foreground-2) 5px,var(--calcite-color-foreground-2) 10px)}.ramp-empty{grid-column:1/-1;font-size:.75rem;color:var(--calcite-color-text-3)}.panel-children-container{display:flex}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.panel-children-container{padding:0 1rem;margin-top:1rem}.color-ramp-popover-footer{display:flex;padding:.5rem}.color-ramp-popover-footer calcite-button{flex:1}`, s = {
|
|
21
20
|
name: "bar-chart-data-popover",
|
|
22
21
|
header: "header",
|
|
@@ -48,36 +47,36 @@ class W extends I {
|
|
|
48
47
|
await this.popoverElement.value?.reposition();
|
|
49
48
|
}
|
|
50
49
|
willUpdate() {
|
|
51
|
-
const e = y.map((t) =>
|
|
50
|
+
const e = y.map((t) => H(t, this.commonStrings));
|
|
52
51
|
S(this.aggregationLabels, e) || (this.aggregationLabels = e), this.colorRamps && this.colorRamps !== this.availableColorRamps && (this.availableColorRamps = this.colorRamps), this.contentKind === c.colorScheme && this.selectedContent && !this.selectedColorRampName && (this.selectedColorRampName = this.selectedContent);
|
|
53
52
|
}
|
|
54
53
|
updated() {
|
|
55
54
|
setTimeout(() => {
|
|
56
55
|
this.picklist.value?.setFocus();
|
|
57
|
-
},
|
|
56
|
+
}, _.PopoverTimer), M(this.popoverElement.value, this.open);
|
|
58
57
|
}
|
|
59
58
|
buildAggregationListItems() {
|
|
60
|
-
return d(y.filter((e) => e !==
|
|
59
|
+
return d(y.filter((e) => e !== N.NoAggregation), (e) => e, (e, t) => l`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${m(e, this.selectedContent)}></calcite-list-item>`);
|
|
61
60
|
}
|
|
62
61
|
buildPickListItem(e) {
|
|
63
|
-
return f(e.name,
|
|
62
|
+
return f(e.name, l`<calcite-list-item .label=${D(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${m(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
64
63
|
}
|
|
65
64
|
buildPickListItems(e) {
|
|
66
65
|
const t = this.layerFieldsInfo?.length ?? 0, a = [];
|
|
67
66
|
switch (e) {
|
|
68
67
|
case c.numericFields: {
|
|
69
|
-
const i = f(" ",
|
|
68
|
+
const i = f(" ", l`<calcite-list-item label=" " value=" " .selected=${m("", this.selectedContent)}></calcite-list-item>`);
|
|
70
69
|
a.push(i);
|
|
71
70
|
for (let o = 0; o < t; o += 1) {
|
|
72
71
|
const n = this.layerFieldsInfo?.[o];
|
|
73
|
-
n &&
|
|
72
|
+
n && E(n) && a.push(this.buildPickListItem(n));
|
|
74
73
|
}
|
|
75
74
|
break;
|
|
76
75
|
}
|
|
77
76
|
case c.xAxisField: {
|
|
78
77
|
for (let i = 0; i < t; i += 1) {
|
|
79
78
|
const o = this.layerFieldsInfo?.[i];
|
|
80
|
-
o &&
|
|
79
|
+
o && A(o) && a.push(this.buildPickListItem(o));
|
|
81
80
|
}
|
|
82
81
|
break;
|
|
83
82
|
}
|
|
@@ -163,34 +162,34 @@ class W extends I {
|
|
|
163
162
|
this.model.emptyCellText !== t && (this.model.emptyCellText = t, this.arcgisChartsConfigPopoverEmptyCellNameChange.emit({ name: t }));
|
|
164
163
|
}
|
|
165
164
|
colorChange(e) {
|
|
166
|
-
const t = e instanceof CustomEvent ? e.detail : e, [a, i, o] = t, n =
|
|
165
|
+
const t = e instanceof CustomEvent ? e.detail : e, [a, i, o] = t, n = O * 255;
|
|
167
166
|
this.arcgisChartsConfigPopoverEmptyCellColorChange.emit({ color: [a, i, o, n] });
|
|
168
167
|
}
|
|
169
168
|
renderAggregationType() {
|
|
170
169
|
const e = this.buildAggregationListItems();
|
|
171
|
-
return
|
|
170
|
+
return l`<calcite-list label class=${r(s.popoverPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
172
171
|
}
|
|
173
172
|
renderXAxisFieldSelect() {
|
|
174
173
|
const e = this.buildPickListItems(c.xAxisField);
|
|
175
|
-
return
|
|
174
|
+
return l`<calcite-list label class=${r(s.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
176
175
|
}
|
|
177
176
|
renderNumericFields() {
|
|
178
177
|
const e = this.buildPickListItems(c.numericFields);
|
|
179
|
-
return
|
|
178
|
+
return l`<calcite-list label class=${r(s.popoverPickList)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
180
179
|
}
|
|
181
180
|
renderCalendarType() {
|
|
182
|
-
const e = this.layerFieldsInfo.find((i) => i.name === this.model.xAxisField), t = Object.values($).filter((i) => i !== $.WeekByDayOfWeekAndHourOfDay || e?.type !==
|
|
181
|
+
const e = this.layerFieldsInfo.find((i) => i.name === this.model.xAxisField), t = Object.values($).filter((i) => i !== $.WeekByDayOfWeekAndHourOfDay || e?.type !== B.DateOnly), a = d(t, (i) => i, (i) => {
|
|
183
182
|
const o = this._messages[i];
|
|
184
|
-
return
|
|
183
|
+
return l`<calcite-list-item .label=${o} .value=${i} .selected=${m(i, this.selectedContent)}></calcite-list-item>`;
|
|
185
184
|
});
|
|
186
|
-
return
|
|
185
|
+
return l`<calcite-list label class=${r(s.popoverPickList)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${a}</calcite-list>`;
|
|
187
186
|
}
|
|
188
187
|
renderCalendarViewType() {
|
|
189
188
|
const e = d(Object.values(R), (t) => t, (t) => {
|
|
190
189
|
const a = this._messages[t];
|
|
191
|
-
return
|
|
190
|
+
return l`<calcite-list-item .label=${a} .value=${t} .disabled=${t !== R.singleCalendarView} .selected=${m(t, this.selectedContent)}></calcite-list-item>`;
|
|
192
191
|
});
|
|
193
|
-
return
|
|
192
|
+
return l`<calcite-list label class=${r(s.popoverPickList)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
194
193
|
}
|
|
195
194
|
renderClassBreakMethod() {
|
|
196
195
|
const e = [
|
|
@@ -211,9 +210,9 @@ class W extends I {
|
|
|
211
210
|
}
|
|
212
211
|
], t = d(Object.values(e), ({ value: a }) => a, (a) => {
|
|
213
212
|
const { title: i, msg: o, value: n } = a;
|
|
214
|
-
return
|
|
213
|
+
return l`<calcite-list-item .label=${i} .description=${o} .value=${n} .selected=${m(n, this.selectedContent)}></calcite-list-item>`;
|
|
215
214
|
});
|
|
216
|
-
return
|
|
215
|
+
return l`<calcite-list label class=${r(s.popoverPickList)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${t}</calcite-list>`;
|
|
217
216
|
}
|
|
218
217
|
renderPopoverInfo() {
|
|
219
218
|
let e;
|
|
@@ -243,24 +242,24 @@ class W extends I {
|
|
|
243
242
|
e = this.renderEmptyCellUI();
|
|
244
243
|
break;
|
|
245
244
|
default:
|
|
246
|
-
e =
|
|
245
|
+
e = l`<div></div>`;
|
|
247
246
|
break;
|
|
248
247
|
}
|
|
249
248
|
return e;
|
|
250
249
|
}
|
|
251
250
|
renderColorRampSelect() {
|
|
252
251
|
const e = this.filterColorRamps(), t = this._messages?.colorRampCategories ? this._messages.colorRampCategories[this.selectedCategory] : this.selectedCategory;
|
|
253
|
-
return
|
|
252
|
+
return l`<div class=${r(s.colorRampPopover)}><div class=${r(s.colorRampToolbar)}><calcite-dropdown selection-mode=single placement=bottom-start @calciteDropdownSelect=${this.onCategoryDropdownSelect}><calcite-button slot=trigger appearance=outline icon-end=chevron-down>${t}</calcite-button><calcite-dropdown-group group-title=${this._messages?.colorRamp?.allCategories ?? "All color ramps" ?? g}>${Object.keys(k).map((a) => l`<calcite-dropdown-item data-tag=${a ?? g} .selected=${this.selectedCategory === a}>${this._messages?.colorRampCategories ? this._messages.colorRampCategories[a] : a}</calcite-dropdown-item>`)}</calcite-dropdown-group></calcite-dropdown><calcite-button appearance=outline icon-start=arrow-up-down @click=${this.onFlipAll}>${this._messages?.colorRamp?.flipRampColors}</calcite-button></div><div class=${r(s.rampGrid)}>${e.length === 0 && l`<div class=${r(s.rampEmpty)}>${this._messages?.colorRamp?.noRamps} ${this.selectedCategory !== "all" ? `"${this.selectedCategory}"` : ""}</div>` || ""}${e.map((a) => {
|
|
254
253
|
const i = this.getRampColors(a), o = a.name === this.selectedColorRampName;
|
|
255
|
-
return
|
|
256
|
-
})}</div><div class=${
|
|
254
|
+
return l`<div class=${`${s.rampItem} ${o ? "selected" : ""}`} title=${a.name ?? g} @click=${() => this.onRampSelect(a)}><div class=${r(s.rampName)} aria-hidden=true>${a.name}</div><div class=${r(s.rampStrips)}>${d(i, (n) => n, (n) => l`<div class=${r(s.rampStrip)} style=${L({ backgroundColor: this.rampColorToCss(n) })}></div>`)}${i.length === 0 && l`<div class=${`${s.rampStrip} ${s.rampStripFallback}`}></div>` || ""}</div></div>`;
|
|
255
|
+
})}</div><div class=${r(s.colorRampPopoverFooter)}><calcite-button appearance=solid kind=brand @click=${this.closePopover}>${this._messages?.colorRamp?.done}</calcite-button></div></div>`;
|
|
257
256
|
}
|
|
258
257
|
renderEmptyCellUI() {
|
|
259
258
|
const e = this.model.emptyCellSymbol?.color ?? v.grayColor, t = this.model.emptyCellText ?? v.nullCategory?.text ?? "";
|
|
260
|
-
return
|
|
259
|
+
return l`<div><div class=${r(s.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.nameChange}></calcite-input></calcite-label></div><div class=${r(s.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages?.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></div>`;
|
|
261
260
|
}
|
|
262
261
|
render() {
|
|
263
|
-
return
|
|
262
|
+
return l`<div><calcite-popover class=${r(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${r(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${r(s.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${void 0}</calcite-panel></calcite-popover></div>`;
|
|
264
263
|
}
|
|
265
264
|
}
|
|
266
265
|
T("arcgis-charts-config-heat-chart-popover", W);
|