@arcgis/charts-components 5.2.0-next.1 → 5.2.0-next.11
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/{6PAONFHB.js → 24AOJE7B.js} +1 -1
- package/dist/cdn/{VOTZAPI3.js → 3KRPCKJZ.js} +1 -1
- package/dist/cdn/{Z7EBST4A.js → 3TBK72EK.js} +1 -1
- package/dist/cdn/{P3RM2ACY.js → 425PZ2QJ.js} +1 -1
- package/dist/cdn/{KC6CFXB7.js → 4PHYDOBF.js} +1 -1
- package/dist/cdn/{5MVNVHYG.js → 567CLBG4.js} +1 -1
- package/dist/cdn/{RKN64EJQ.js → 5IIF22XN.js} +1 -1
- package/dist/cdn/{5HQ2CJEQ.js → 5IN5WK2R.js} +1 -1
- package/dist/cdn/5LXX2PUM.js +2 -0
- package/dist/cdn/5NTIKQP4.js +2 -0
- package/dist/cdn/{UNUPCA4W.js → 5YEADAVZ.js} +1 -1
- package/dist/cdn/{7IV6GMF7.js → 6R7VSDDU.js} +1 -1
- package/dist/cdn/{FCXI523J.js → 76MOP26H.js} +1 -1
- package/dist/cdn/77A4T4FJ.js +2 -0
- package/dist/cdn/{CUJHGXNK.js → 7JIHGRTB.js} +1 -1
- package/dist/cdn/{CHQDKVVQ.js → 7YXTWBT4.js} +1 -1
- package/dist/cdn/{TZ4GOE2Q.js → AHYYQWKY.js} +1 -1
- package/dist/cdn/{FAQDMSUC.js → ASI7RDYV.js} +1 -1
- package/dist/cdn/{X6WA2KXK.js → AXS3UMQJ.js} +1 -1
- package/dist/cdn/BHUFE4DA.js +2 -0
- package/dist/cdn/{DYC3Q36R.js → CEWH3LQO.js} +1 -1
- package/dist/cdn/{B7DM7VT6.js → CTBQ5Y4Z.js} +1 -1
- package/dist/cdn/CVK7KFEC.js +2 -0
- package/dist/cdn/{BZCVDNC4.js → DFKVPDMJ.js} +16 -16
- package/dist/cdn/DJGEQ42V.js +2 -0
- package/dist/cdn/DL43NPDO.js +2 -0
- package/dist/cdn/{4OZZXXZF.js → E2DO2HQ6.js} +1 -1
- package/dist/cdn/E4LJWBRC.js +2 -0
- package/dist/cdn/EDSF5KGV.js +233 -0
- package/dist/cdn/EE3KEIAT.js +2 -0
- package/dist/cdn/EJCGZPIV.js +2 -0
- package/dist/cdn/{XMQCH4QI.js → ETSB7KD3.js} +1 -1
- package/dist/cdn/{P6SC5DD2.js → F6QRLYSF.js} +1 -1
- package/dist/cdn/{PTFRQF65.js → FBMA7FW4.js} +1 -1
- package/dist/cdn/{EUOPRFMU.js → FEKSPYHM.js} +1 -1
- package/dist/cdn/FUAA6IFR.js +4 -0
- package/dist/cdn/FWRMJQXY.js +2 -0
- package/dist/cdn/{7SNOZDAD.js → G5FULTB5.js} +1 -1
- package/dist/cdn/{45JPWIBI.js → GISGGO3Z.js} +1 -1
- package/dist/cdn/{CPPT5HUK.js → GQPOEX7B.js} +26 -26
- package/dist/cdn/{PKMZ6N6M.js → GYXK3DV7.js} +1 -1
- package/dist/cdn/{AT2NWWBG.js → H45LPCQ2.js} +1 -1
- package/dist/cdn/HW6MJJSX.js +2 -0
- package/dist/cdn/{RG3I5ORH.js → HZFHTWL6.js} +1 -1
- package/dist/cdn/{GWQJXXP3.js → I2EERAZ3.js} +1 -1
- package/dist/cdn/{MRTKZZTF.js → I5T7JUDH.js} +1 -1
- package/dist/cdn/IE3GLZJZ.js +2 -0
- package/dist/cdn/{V7MBHG4F.js → IL2FG26D.js} +1 -1
- package/dist/cdn/{YVVQVAJZ.js → JBPYGZPJ.js} +1 -1
- package/dist/cdn/JEOBO5JM.js +2 -0
- package/dist/cdn/{FJPGZEGK.js → KPWHYSA5.js} +1 -1
- package/dist/cdn/{JILAM6NH.js → KXUQJ6GE.js} +1 -1
- package/dist/cdn/{V76PIVCF.js → KZQFX7LH.js} +1 -1
- package/dist/cdn/{G6OHBBUT.js → L5DROI2A.js} +1 -1
- package/dist/cdn/LL7NH3VV.js +2 -0
- package/dist/cdn/{I2M6YAUU.js → LUMOL7ZP.js} +1 -1
- package/dist/cdn/{H6NH46AS.js → LYJFZA2M.js} +1 -1
- package/dist/cdn/{3FTJIVFE.js → MBSMC77K.js} +1 -1
- package/dist/cdn/{A5GIBV5W.js → MVGAATR7.js} +1 -1
- package/dist/cdn/NNZCIR7W.js +2 -0
- package/dist/cdn/NZXQ5BWP.js +2 -0
- package/dist/cdn/{UT4TYXFO.js → O4HUYRYL.js} +1 -1
- package/dist/cdn/{V2XJSJH4.js → O4LKWTBY.js} +1 -1
- package/dist/cdn/{KKWXEF5W.js → OW2DLJGU.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → P2F2O6MH.js} +1 -1
- package/dist/cdn/P4UJJCPG.js +2 -0
- package/dist/cdn/{BBURKBKE.js → P56ROGSK.js} +1 -1
- package/dist/cdn/{RWEUTQWS.js → PMIWXHTG.js} +1 -1
- package/dist/cdn/PXIAM4CZ.js +2 -0
- package/dist/cdn/QPSJ6XOX.js +2 -0
- package/dist/cdn/R7HW5WVG.js +2 -0
- package/dist/cdn/{S6PJHEJ7.js → RJCJ3F5C.js} +1 -1
- package/dist/cdn/RKB6QZNW.js +2 -0
- package/dist/cdn/{EQVQRZHJ.js → S6LH7YS6.js} +1 -1
- package/dist/cdn/S74GCXXK.js +3 -0
- package/dist/cdn/{JNNB2DIA.js → SA22QZNW.js} +1 -1
- package/dist/cdn/{ZQCUJ7VE.js → SJVVFOAX.js} +1 -1
- package/dist/cdn/{M75ENKIU.js → SOKKWGPA.js} +1 -1
- package/dist/cdn/SQYOFBS6.js +2 -0
- package/dist/cdn/{MKQAQDRM.js → SVGAVKBQ.js} +1 -1
- package/dist/cdn/SX6SDBU7.js +2 -0
- package/dist/cdn/TTBRUBXY.js +2 -0
- package/dist/cdn/{7BEC5WZB.js → U5IM4KAQ.js} +1 -1
- package/dist/cdn/{UQPFMDJB.js → UE5VX2RL.js} +1 -1
- package/dist/cdn/{GCSGY6GL.js → UIRKQREJ.js} +1 -1
- package/dist/cdn/{URYNG6OA.js → UIY2PSG4.js} +1 -1
- package/dist/cdn/UNTIPIBS.js +2 -0
- package/dist/cdn/{DNMVB3A2.js → VIY3BCJZ.js} +1 -1
- package/dist/cdn/{XFZX5ULX.js → WHJU66P4.js} +1 -1
- package/dist/cdn/{F5Q73CFW.js → WJ2VDT6B.js} +1 -1
- package/dist/cdn/{LKY2A3U6.js → WPPMMVD5.js} +1 -1
- package/dist/cdn/WU3C7BQU.js +2 -0
- package/dist/cdn/WWO326JE.js +2 -0
- package/dist/cdn/{6JGLHOFY.js → XNWSVHA3.js} +1 -1
- package/dist/cdn/{O4M33ZPK.js → XOM6LSIW.js} +1 -1
- package/dist/cdn/{YZQ54BRI.js → XP4S2M7F.js} +1 -1
- package/dist/cdn/YALB4GSA.js +2 -0
- package/dist/cdn/YUF4ZSA5.js +2 -0
- package/dist/cdn/ZJHV3UVG.js +2 -0
- package/dist/cdn/{TORIY3OE.js → ZQ2WG55W.js} +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +8 -8
- package/dist/chunks/axis-lines-symbol.js +4 -4
- package/dist/chunks/bar-chart-model.js +13 -13
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/box-plot-data.js +5 -5
- package/dist/chunks/box-plot-model.js +18 -18
- package/dist/chunks/chart-model.js +170 -138
- package/dist/chunks/chart-ui-utils2.js +13 -13
- package/dist/chunks/class-breaks.js +21 -21
- package/dist/chunks/combo-bar-line-chart-model.js +2 -2
- package/dist/chunks/data.js +63 -63
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/generate-x-axis-title.js +4 -4
- package/dist/chunks/heat-chart-model.js +19 -19
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +11 -11
- package/dist/chunks/index2.js +1663 -1654
- package/dist/chunks/index3.js +39 -36
- package/dist/chunks/index4.js +10812 -680
- package/dist/chunks/index5.js +87 -10782
- package/dist/chunks/index6.js +63 -100
- package/dist/chunks/interfaces.js +3 -3
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +11 -11
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +2 -2
- package/dist/chunks/negative-values-stacked-to-baseline.js +2 -2
- package/dist/chunks/pie-chart-data.js +2 -2
- package/dist/chunks/pie-chart-model.js +2 -2
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +19 -19
- package/dist/chunks/serial-chart-data.js +564 -548
- package/dist/chunks/serial-chart-model.js +44 -44
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/store.js +5 -5
- package/dist/chunks/time-zone.js +1 -1
- package/dist/chunks/type-guards3.js +4 -4
- package/dist/chunks/utils.js +14 -14
- package/dist/chunks/web-component-utils.js +601 -491
- package/dist/chunks/x-bounds.js +4 -4
- package/dist/components/arcgis-chart/customElement.d.ts +48 -41
- package/dist/components/arcgis-chart/customElement.js +5081 -5123
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +29 -29
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +35 -36
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +21 -21
- package/dist/components/arcgis-charts-config-format/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +13 -13
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +15 -16
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +26 -27
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +29 -31
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +35 -35
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +38 -40
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +13 -14
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +8 -10
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +70 -62
- package/dist/index.js +476 -471
- package/dist/json-schema/index.d.ts +59 -2
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/{model.js → model/shared/setup-utils.js} +12 -12
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +8 -2
- package/dist/utils/chart-config/converter/index.js +723 -0
- package/dist/utils/chart-config/utils/index.d.ts +31 -0
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
- package/dist/utils/defaults/index.d.ts +1 -2
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +3 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/query-parser/index.d.ts +3 -3
- package/dist/utils/localization/interfaces.d.ts +4 -0
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +8 -6
- package/dist/cdn/45PJ5TQL.js +0 -2
- package/dist/cdn/47HHRDX4.js +0 -2
- package/dist/cdn/6LQYOBAL.js +0 -2
- package/dist/cdn/6SRISPQN.js +0 -3
- package/dist/cdn/74JAZF7U.js +0 -2
- package/dist/cdn/7YBKGD3V.js +0 -2
- package/dist/cdn/ATIARKAU.js +0 -2
- package/dist/cdn/CAJVNPHZ.js +0 -2
- package/dist/cdn/CXQOEN77.js +0 -2
- package/dist/cdn/D23GGWFM.js +0 -2
- package/dist/cdn/EXTKNE2L.js +0 -2
- package/dist/cdn/FT2K3J7O.js +0 -2
- package/dist/cdn/GUH6CQE6.js +0 -2
- package/dist/cdn/HJHMEVMB.js +0 -2
- package/dist/cdn/HUCSTT64.js +0 -2
- package/dist/cdn/HX4236ZL.js +0 -2
- package/dist/cdn/IWVS6SKP.js +0 -2
- package/dist/cdn/KV4ZPVWQ.js +0 -2
- package/dist/cdn/MOMKSNIZ.js +0 -2
- package/dist/cdn/NS3THLCD.js +0 -2
- package/dist/cdn/NS7OCROO.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/OVM5QF7Q.js +0 -2
- package/dist/cdn/OY6UOUYX.js +0 -2
- package/dist/cdn/P74SXC5B.js +0 -2
- package/dist/cdn/PEZCCXQ7.js +0 -2
- package/dist/cdn/PYKHO4QI.js +0 -2
- package/dist/cdn/RKKWMNWU.js +0 -2
- package/dist/cdn/S3BC57BJ.js +0 -4
- package/dist/cdn/TTDZKISK.js +0 -2
- package/dist/cdn/TXSWWAOF.js +0 -2
- package/dist/cdn/YKGZVYK2.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/chunks/index7.js +0 -66
- /package/dist/cdn/{ABIVSH72.js → 2OHFSVV5.js} +0 -0
- /package/dist/cdn/{TSI3C3OV.js → 2XXW3WF3.js} +0 -0
- /package/dist/cdn/{XWKBJDZT.js → 3JYZJUOM.js} +0 -0
- /package/dist/cdn/{NHDVOYQ2.js → 3TZEMBXR.js} +0 -0
- /package/dist/cdn/{UAZ34KDJ.js → 4OH4NSIW.js} +0 -0
- /package/dist/cdn/{XIJ5VLER.js → 5SIAOUPO.js} +0 -0
- /package/dist/cdn/{75P3QRL4.js → 7QXRWMUN.js} +0 -0
- /package/dist/cdn/{4QQVKRJ5.js → AASL4RKT.js} +0 -0
- /package/dist/cdn/{PH6UOHRS.js → ANN3O54W.js} +0 -0
- /package/dist/cdn/{N6OT5IBC.js → BDGHBTPU.js} +0 -0
- /package/dist/cdn/{ZFM5RGWD.js → FFS73X36.js} +0 -0
- /package/dist/cdn/{5AOYADA3.js → FOYOG3G7.js} +0 -0
- /package/dist/cdn/{53FG76LL.js → FWAXKDYV.js} +0 -0
- /package/dist/cdn/{B4KT2HUE.js → H3EXGCE7.js} +0 -0
- /package/dist/cdn/{FLO3N6JD.js → I6UPUSLQ.js} +0 -0
- /package/dist/cdn/{WVRBLV5L.js → IVLVCLDE.js} +0 -0
- /package/dist/cdn/{NG2IHVZ4.js → IYA7HQMS.js} +0 -0
- /package/dist/cdn/{I5VHQW7B.js → L47EGLUH.js} +0 -0
- /package/dist/cdn/{OYHKUGS6.js → LROW4Y6O.js} +0 -0
- /package/dist/cdn/{DIKQ7BPQ.js → MK5ZYSOD.js} +0 -0
- /package/dist/cdn/{RDTBZUT7.js → N4L5KE23.js} +0 -0
- /package/dist/cdn/{4JQ2RRLY.js → N5ZUO6F3.js} +0 -0
- /package/dist/cdn/{2HGBRW4I.js → OFWEHJDH.js} +0 -0
- /package/dist/cdn/{M4AQLWZU.js → OXYJKZEP.js} +0 -0
- /package/dist/cdn/{O6SNP6QE.js → QR2OOC4D.js} +0 -0
- /package/dist/cdn/{4E7C5QPS.js → RSNZMJ6I.js} +0 -0
- /package/dist/cdn/{CODAXMWM.js → S3ZSZXYG.js} +0 -0
- /package/dist/cdn/{I36OAVW3.js → SERX6V5M.js} +0 -0
- /package/dist/cdn/{AJBEE7WE.js → SSQ3VCZ2.js} +0 -0
- /package/dist/cdn/{3V4HRXIT.js → TFPQDMER.js} +0 -0
- /package/dist/cdn/{2X75KJPF.js → ULWJ57VT.js} +0 -0
- /package/dist/cdn/{LNF44ZGQ.js → UYXCGSXU.js} +0 -0
- /package/dist/cdn/{OA7FHTCA.js → VDKFC44J.js} +0 -0
- /package/dist/cdn/{YIIPYKTL.js → VRZ2SY6M.js} +0 -0
- /package/dist/cdn/{VFM2EV3M.js → WAINRCCJ.js} +0 -0
- /package/dist/cdn/{MHG42BA5.js → WNKDEOFZ.js} +0 -0
- /package/dist/cdn/{DD4QUBOF.js → X2LW7GTR.js} +0 -0
- /package/dist/cdn/{N3VOUI25.js → XDMGH7YU.js} +0 -0
- /package/dist/cdn/{7ILH7ZG2.js → XY4TRZCG.js} +0 -0
- /package/dist/cdn/{66KSEDOR.js → XYKXBWIT.js} +0 -0
- /package/dist/cdn/{O2ERVMSN.js → Y6ZCTPJW.js} +0 -0
- /package/dist/cdn/{NFDXH5B3.js → YKDW7ZW3.js} +0 -0
- /package/dist/cdn/{SGOYJFLO.js → ZBIVDGNH.js} +0 -0
|
@@ -3,13 +3,10 @@ import { c as i } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { html as o } from "lit";
|
|
4
4
|
import { u as a } from "../../chunks/useT9n.js";
|
|
5
5
|
import { createRef as l, ref as n } from "lit/directives/ref.js";
|
|
6
|
-
import { LitElement as c, createEvent as s
|
|
7
|
-
import { e as
|
|
6
|
+
import { LitElement as c, createEvent as s } from "@arcgis/lumina";
|
|
7
|
+
import { e as p } from "../../chunks/popover-ui-utils.js";
|
|
8
8
|
import { i as r } from "../../chunks/rest-js-object-literals.js";
|
|
9
|
-
|
|
10
|
-
jsAppFlyout: "js-app-flyout"
|
|
11
|
-
};
|
|
12
|
-
class m extends c {
|
|
9
|
+
class h extends c {
|
|
13
10
|
constructor() {
|
|
14
11
|
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();
|
|
15
12
|
}
|
|
@@ -20,7 +17,7 @@ class m extends c {
|
|
|
20
17
|
await this.popoverElement.value?.reposition();
|
|
21
18
|
}
|
|
22
19
|
updated() {
|
|
23
|
-
|
|
20
|
+
p(this.popoverElement.value, this.open);
|
|
24
21
|
}
|
|
25
22
|
closePopover() {
|
|
26
23
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
@@ -36,10 +33,10 @@ class m extends c {
|
|
|
36
33
|
}
|
|
37
34
|
render() {
|
|
38
35
|
const e = this.selectedElement, t = this.selectedElement;
|
|
39
|
-
return o`<div
|
|
36
|
+
return o`<div><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>`;
|
|
40
37
|
}
|
|
41
38
|
}
|
|
42
|
-
i("arcgis-charts-config-format-popover",
|
|
39
|
+
i("arcgis-charts-config-format-popover", h);
|
|
43
40
|
export {
|
|
44
|
-
|
|
41
|
+
h as ArcgisChartsConfigFormatPopover
|
|
45
42
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as T } from "../../chunks/runtime.js";
|
|
3
3
|
import { m as n, f as r, k as c } from "../../chunks/type-guards2.js";
|
|
4
|
-
import { i as h,
|
|
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 "lodash-es";
|
|
6
6
|
import { m as u, U as b } from "../../chunks/chart-ui-utils2.js";
|
|
7
7
|
import { u as p } from "../../chunks/useT9n.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 { k as a } from "../../chunks/chart-object-literals.js";
|
|
12
|
-
import { i as y } from "../../chunks/
|
|
12
|
+
import { i as y } from "../../chunks/index4.js";
|
|
13
13
|
const s = {
|
|
14
14
|
textInput: "text-input",
|
|
15
15
|
label: "label",
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import { c as R } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as X } from "lit/directives/keyed.js";
|
|
4
4
|
import { cloneDeep as E } from "lodash-es";
|
|
5
|
-
import { m as G,
|
|
5
|
+
import { m as G, a as N, j as Z, k, U as S } from "../../chunks/chart-ui-utils2.js";
|
|
6
6
|
import { d as F } from "../../chunks/default.js";
|
|
7
7
|
import { g as q } from "../../chunks/resource.js";
|
|
8
8
|
import { u as z } from "../../chunks/useT9n.js";
|
|
9
|
-
import { css as O, html as
|
|
9
|
+
import { css as O, html as c } from "lit";
|
|
10
10
|
import { createRef as h, ref as u } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as V, createEvent as U, renderElement as M, safeStyleMap as L, safeClassMap as o } from "@arcgis/lumina";
|
|
12
12
|
import { m as W, p as Y, q as j } from "../../chunks/type-guards2.js";
|
|
13
13
|
import { M as p, i as H, a1 as A, aI as _ } from "../../chunks/index2.js";
|
|
14
14
|
import { Z as J } from "../../chunks/index.js";
|
|
15
|
-
import { q as m, p as K } from "../../chunks/
|
|
15
|
+
import { q as m, p as K } from "../../chunks/index5.js";
|
|
16
16
|
import { r as Q } from "../../chunks/popover-ui-utils.js";
|
|
17
17
|
import { i as g, g as ee } from "../../chunks/rest-js-object-literals.js";
|
|
18
18
|
import { u as te } from "../../chunks/chart-object-literals.js";
|
|
@@ -102,15 +102,15 @@ class se extends V {
|
|
|
102
102
|
})), this.guidePopover?.open === !0 && this.removeGuidePopover();
|
|
103
103
|
}
|
|
104
104
|
setGuideDateTimeRange() {
|
|
105
|
-
const e = this.calculatedMinMaxBounds?.find((
|
|
105
|
+
const e = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = H(this.timeZone) ?? l, r = A(i, s), v = _(i, s), f = A(a, s), B = _(a, s), T = this.startDateCalciteInput.value?.value ?? "", C = T === "" ? r : T, D = this.startTimeCalciteInput.value?.value ?? "", I = D === "" ? v : D, x = this.endDateCalciteInput.value?.value ?? "", y = x === "" ? f : x, w = this.endTimeCalciteInput.value?.value ?? "", P = w === "" ? B : w;
|
|
106
106
|
let $ = !1;
|
|
107
107
|
if (!Array.isArray(C) && C !== void 0 && I !== void 0) {
|
|
108
|
-
const
|
|
109
|
-
this.model.setGuideStart(
|
|
108
|
+
const d = `${C}T${I}`;
|
|
109
|
+
this.model.setGuideStart(d, this.index, this.orientation), $ = !0;
|
|
110
110
|
}
|
|
111
111
|
if (!Array.isArray(y) && y !== void 0 && P !== void 0) {
|
|
112
|
-
const
|
|
113
|
-
this.model.setGuideEnd(
|
|
112
|
+
const d = x === "" ? void 0 : `${y}T${P}`;
|
|
113
|
+
this.model.setGuideEnd(d, this.index, this.orientation), $ = !0;
|
|
114
114
|
}
|
|
115
115
|
$ && (this.symbolChange(), this.arcgisChartsConfigGuideChange.emit({
|
|
116
116
|
index: this.index,
|
|
@@ -159,7 +159,7 @@ class se extends V {
|
|
|
159
159
|
let l;
|
|
160
160
|
p(i, a) === g.SLS ? l = m(t) ? t : void 0 : l = t?.color;
|
|
161
161
|
const s = this.colorElement.value;
|
|
162
|
-
Array.isArray(t?.color) ? (this.guidePopover = M(
|
|
162
|
+
Array.isArray(t?.color) ? (this.guidePopover = M(c`<arcgis-charts-config-guide-popover .referenceElement=${s} open .selectedElement=${l} @arcgisChartsConfigGuidePopoverColorChange=${this.colorChange} @arcgisChartsConfigGuidePopoverSymbolChange=${this.symbolChange} @arcgisChartsConfigPopoverClose=${this.removeGuidePopover}></arcgis-charts-config-guide-popover>`), this.guidePopover !== void 0 && !document.body.contains(this.guidePopover) && document.body.appendChild(this.guidePopover)) : this.removeGuidePopover();
|
|
163
163
|
}
|
|
164
164
|
removeGuidePopover() {
|
|
165
165
|
this.guidePopover !== null && this.guidePopover !== void 0 && (this.guidePopover = Q(this.guidePopover));
|
|
@@ -197,7 +197,7 @@ class se extends V {
|
|
|
197
197
|
i = this._messages.deleteGuide ?? "";
|
|
198
198
|
break;
|
|
199
199
|
}
|
|
200
|
-
this.tooltip = M(
|
|
200
|
+
this.tooltip = M(c`<calcite-tooltip style=${L({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
201
201
|
}
|
|
202
202
|
toggleGuide() {
|
|
203
203
|
const e = this.model.getGuideVisibility(this.index, this.orientation);
|
|
@@ -215,14 +215,14 @@ class se extends V {
|
|
|
215
215
|
}
|
|
216
216
|
renderColorElement() {
|
|
217
217
|
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) ? Z(e.style) : ee.Solid, f = p(s, r) === g.SLS ? `line-${v}` : "square-f";
|
|
218
|
-
return
|
|
218
|
+
return c`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .value=${this._messages.style} class=${o(n.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>`;
|
|
219
219
|
}
|
|
220
220
|
render() {
|
|
221
221
|
const e = this.model.getGuideStart(this.index, this.orientation), t = this.model.getGuideEnd(this.index, this.orientation), i = this.model.getGuideName(this.index, this.orientation), a = this.model.getGuideLabelText(this.index, this.orientation), l = this.model.getGuideAbove(this.index, this.orientation), s = this.model.getGuideVisibility(this.index, this.orientation), r = this.isXAxisDateField;
|
|
222
|
-
return
|
|
222
|
+
return c`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition === q(this.index, this.orientation, this.model)} collapsible .messageOverrides=${{
|
|
223
223
|
expand: this._messages.expand,
|
|
224
224
|
collapse: this._messages.collapse
|
|
225
|
-
}}><calcite-action slot=actions-end text .icon=${s ? "view-visible" : "view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=actions-end text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.start}${r ?
|
|
225
|
+
}}><calcite-action slot=actions-end text .icon=${s ? "view-visible" : "view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=actions-end text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.start}${r ? c`<calcite-input-date-picker .value=${this.getDateStringFromBound(e)} required scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${u(this.startDateCalciteInput)}></calcite-input-date-picker>` : c`<calcite-input type=number required @calciteInputInput=${this.setGuideStart} @keydown=${k} number-button-type=none .value=${e?.toString()} ${u(this.startCalciteInput)}></calcite-input>`}</calcite-label><calcite-label class=${o(n.column)}>${this._messages.end}${r ? c`<calcite-input-date-picker .value=${this.getDateStringFromBound(t)} scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${u(this.endDateCalciteInput)}></calcite-input-date-picker>` : c`<calcite-input type=number @calciteInputInput=${this.setGuideEnd} @keydown=${k} number-button-type=none .value=${t?.toString()} ${u(this.endCalciteInput)}></calcite-input>`}</calcite-label></div>${r ? X("time-picker-row", c`<div class=${o(n.row)}>${e != null ? c`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(e)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${u(this.startTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}${t != null ? c`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(t)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${u(this.endTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}</div>`) : null}<div class=${o(n.row)}><div class=${o(n.column)}>${this.renderColorElement()}</div></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideName}<calcite-input type=text .value=${i} @calciteInputInput=${this.setGuideName}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideLabel}<calcite-input type=text .value=${a} @calciteInputInput=${this.setGuideLabel}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.display}<calcite-segmented-control @calciteSegmentedControlChange=${this.setGuideRendered} scale=s><calcite-segmented-control-item .checked=${l} .value=${this._messages.inFront}>${this._messages.inFront}</calcite-segmented-control-item><calcite-segmented-control-item .checked=${!l} .value=${this._messages.inBack}>${this._messages.inBack}</calcite-segmented-control-item></calcite-segmented-control></calcite-label></div></calcite-block>`;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
R("arcgis-charts-config-guide", se);
|
|
@@ -4,13 +4,10 @@ import { html as t } from "lit";
|
|
|
4
4
|
import { g as i } from "../../chunks/default.js";
|
|
5
5
|
import { u as l } from "../../chunks/useT9n.js";
|
|
6
6
|
import { createRef as a, ref as n } from "lit/directives/ref.js";
|
|
7
|
-
import { LitElement as
|
|
8
|
-
import { i as
|
|
9
|
-
import { e as
|
|
10
|
-
|
|
11
|
-
jsAppFlyout: "js-app-flyout"
|
|
12
|
-
};
|
|
13
|
-
class C extends p {
|
|
7
|
+
import { LitElement as c, createEvent as s } from "@arcgis/lumina";
|
|
8
|
+
import { i as p } from "../../chunks/rest-js-object-literals.js";
|
|
9
|
+
import { e as h } from "../../chunks/popover-ui-utils.js";
|
|
10
|
+
class m extends c {
|
|
14
11
|
constructor() {
|
|
15
12
|
super(...arguments), this._messages = l(), this.popoverElement = a(), this.placement = "leading", this.open = !1, this.arcgisChartsConfigGuidePopoverColorChange = s(), this.arcgisChartsConfigGuidePopoverSymbolChange = s(), this.arcgisChartsConfigPopoverClose = s();
|
|
16
13
|
}
|
|
@@ -21,7 +18,7 @@ class C extends p {
|
|
|
21
18
|
await this.popoverElement.value?.reposition();
|
|
22
19
|
}
|
|
23
20
|
updated() {
|
|
24
|
-
|
|
21
|
+
h(this.popoverElement.value, this.open);
|
|
25
22
|
}
|
|
26
23
|
guidePopoverClose() {
|
|
27
24
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
@@ -36,10 +33,10 @@ class C extends p {
|
|
|
36
33
|
}
|
|
37
34
|
render() {
|
|
38
35
|
const o = this.selectedElement, e = this.selectedElement;
|
|
39
|
-
return t`<div
|
|
36
|
+
return t`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${n(this.popoverElement)}>${Array.isArray(o) && t`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${o} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` || ""}${e?.type === p.SLS && t`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${e} @arcgisChartsConfigLineStyleClose=${this.guidePopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` || ""}</calcite-popover></div>`;
|
|
40
37
|
}
|
|
41
38
|
}
|
|
42
|
-
r("arcgis-charts-config-guide-popover",
|
|
39
|
+
r("arcgis-charts-config-guide-popover", m);
|
|
43
40
|
export {
|
|
44
|
-
|
|
41
|
+
m as ArcgisChartsConfigGuidePopover
|
|
45
42
|
};
|
|
@@ -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 o } from "../../chunks/interfaces.js";
|
|
6
6
|
import { isEqual as d } from "lodash-es";
|
|
7
|
-
import { h } from "../../chunks/
|
|
7
|
+
import { h } from "../../chunks/index5.js";
|
|
8
8
|
import { ac as c, I as f } from "../../chunks/index2.js";
|
|
9
9
|
const m = n`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
10
10
|
class p extends l {
|
|
@@ -11,15 +11,15 @@ import { u as R } from "../../chunks/useT9n.js";
|
|
|
11
11
|
import { e as l, W as C } from "../../chunks/interfaces.js";
|
|
12
12
|
import { x as W } from "../../chunks/data.js";
|
|
13
13
|
import { i as V } from "../../chunks/utils.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { l as v, s as q } from "../../chunks/chart-ui-utils2.js";
|
|
15
|
+
import { e as $, g as K, d as j, j as z } from "../../chunks/class-breaks.js";
|
|
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 { i as Y } from "../../chunks/rest-js-object-literals.js";
|
|
19
19
|
import { r as d, m as h, d as u, u as m, h as f, e as F, i as J } from "../../chunks/chart-object-literals.js";
|
|
20
20
|
import { t as Q, j as ee, k as g } from "../../chunks/index.js";
|
|
21
21
|
import { an as S } from "../../chunks/index2.js";
|
|
22
|
-
import { i as ae } from "../../chunks/
|
|
22
|
+
import { i as ae } from "../../chunks/index4.js";
|
|
23
23
|
import { r as te } from "../../chunks/popover-ui-utils.js";
|
|
24
24
|
const se = _`.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
25
|
label: "label",
|
|
@@ -239,7 +239,7 @@ class le extends E {
|
|
|
239
239
|
this.model.includeLeapDay = a;
|
|
240
240
|
}
|
|
241
241
|
onNullPolicyChange(e) {
|
|
242
|
-
this.model.nullPolicy = e.target.selectedItem
|
|
242
|
+
this.model.nullPolicy = e.target.selectedItem?.value;
|
|
243
243
|
}
|
|
244
244
|
setupPopover(e) {
|
|
245
245
|
e.stopImmediatePropagation(), this.removeHeatChartDataPopover();
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as w } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as d } from "lit/directives/repeat.js";
|
|
4
|
-
import { css as
|
|
4
|
+
import { css as F, html as o } from "lit";
|
|
5
5
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
6
6
|
import L from "@arcgis/core/Color.js";
|
|
7
7
|
import { LitElement as T, createEvent as h, safeClassMap as r, nothing as g, safeStyleMap as P } from "@arcgis/lumina";
|
|
8
8
|
import { createRef as u, ref as p } from "lit/directives/ref.js";
|
|
9
9
|
import { isEqual as S } from "lodash-es";
|
|
10
|
-
import { d as
|
|
10
|
+
import { d as D, F as b } from "../../chunks/index3.js";
|
|
11
11
|
import { u as v } from "../../chunks/useT9n.js";
|
|
12
12
|
import { e as c, W as $ } from "../../chunks/interfaces.js";
|
|
13
|
-
import {
|
|
13
|
+
import { c as y, b as A, e as m } from "../../chunks/chart-ui-utils2.js";
|
|
14
14
|
import { C as x, k } from "../../chunks/class-breaks.js";
|
|
15
15
|
import { R as E } from "../../chunks/rest-js-object-literals.js";
|
|
16
16
|
import { r as _, i as R, e as C } from "../../chunks/chart-object-literals.js";
|
|
17
17
|
import { e as B } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { t as N, aB as M } from "../../chunks/index.js";
|
|
19
|
-
import {
|
|
20
|
-
const
|
|
21
|
-
jsAppFlyout: "js-app-flyout",
|
|
19
|
+
import { bb as H, bk as O } from "../../chunks/index2.js";
|
|
20
|
+
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}.pick-list-item-label{font-size:small}.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;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-ramp-popover-footer{display:flex;padding:.5rem}.color-ramp-popover-footer calcite-button{flex:1}`, s = {
|
|
22
21
|
name: "bar-chart-data-popover",
|
|
23
22
|
header: "header",
|
|
24
23
|
pickListItemLabel: "pick-list-item-label",
|
|
@@ -35,7 +34,7 @@ const O = w`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.a
|
|
|
35
34
|
panelChildrenContainer: "panel-children-container",
|
|
36
35
|
colorRampPopoverFooter: "color-ramp-popover-footer"
|
|
37
36
|
};
|
|
38
|
-
class
|
|
37
|
+
class W extends T {
|
|
39
38
|
constructor() {
|
|
40
39
|
super(...arguments), this._messages = v(), this.commonStrings = v({ name: "common", blocking: !0 }), this.picklist = u(), this.popoverElement = u(), this.placement = "leading", this.offsetDistance = -200, this.availableColorRamps = [], this.selectedCategory = x.all, this.aggregationLabels = [], this.isFlipped = !1, this.open = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigHeatChartColorRampChange = h(), this.arcgisChartsConfigHeatChartDataPopoverChange = h(), this.arcgisChartsConfigPopoverClose = h(), this.arcgisChartsConfigPopoverEmptyCellColorChange = h(), this.arcgisChartsConfigPopoverEmptyCellNameChange = h();
|
|
41
40
|
}
|
|
@@ -43,7 +42,7 @@ class q extends T {
|
|
|
43
42
|
this.properties = { availableColorRamps: 16, selectedColorRampName: 16, selectedCategory: 16, aggregationLabels: 16, isFlipped: 5, model: 0, messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1, colorRamps: 0 };
|
|
44
43
|
}
|
|
45
44
|
static {
|
|
46
|
-
this.styles =
|
|
45
|
+
this.styles = q;
|
|
47
46
|
}
|
|
48
47
|
async reposition() {
|
|
49
48
|
await this.popoverElement.value?.reposition();
|
|
@@ -55,13 +54,13 @@ class q extends T {
|
|
|
55
54
|
updated() {
|
|
56
55
|
setTimeout(() => {
|
|
57
56
|
this.picklist.value?.setFocus();
|
|
58
|
-
},
|
|
57
|
+
}, A.PopoverTimer), B(this.popoverElement.value, this.open);
|
|
59
58
|
}
|
|
60
59
|
buildAggregationListItems() {
|
|
61
60
|
return d(y.filter((e) => e !== _.NoAggregation), (e) => e, (e, t) => o`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${m(e, this.selectedContent)}></calcite-list-item>`);
|
|
62
61
|
}
|
|
63
62
|
buildPickListItem(e) {
|
|
64
|
-
return f(e.name, o`<calcite-list-item .label=${
|
|
63
|
+
return f(e.name, o`<calcite-list-item .label=${D(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${m(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
65
64
|
}
|
|
66
65
|
buildPickListItems(e) {
|
|
67
66
|
const t = this.layerFieldsInfo?.length ?? 0, a = [];
|
|
@@ -71,7 +70,7 @@ class q extends T {
|
|
|
71
70
|
a.push(i);
|
|
72
71
|
for (let l = 0; l < t; l += 1) {
|
|
73
72
|
const n = this.layerFieldsInfo?.[l];
|
|
74
|
-
n &&
|
|
73
|
+
n && O(n) && a.push(this.buildPickListItem(n));
|
|
75
74
|
}
|
|
76
75
|
break;
|
|
77
76
|
}
|
|
@@ -119,7 +118,7 @@ class q extends T {
|
|
|
119
118
|
typeof a == "string" && a.length && (t = a);
|
|
120
119
|
} else if (Array.isArray(e)) {
|
|
121
120
|
const [a, i, l, n] = e;
|
|
122
|
-
[a, i, l].every((
|
|
121
|
+
[a, i, l].every((I) => typeof I == "number") && (t = `rgba(${a},${i},${l},${n ?? 1})`);
|
|
123
122
|
} else if (typeof e == "object" && e) {
|
|
124
123
|
const { r: a, g: i, b: l, a: n } = e;
|
|
125
124
|
if (a != null && i != null && l != null)
|
|
@@ -261,10 +260,10 @@ class q extends T {
|
|
|
261
260
|
return o`<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>`;
|
|
262
261
|
}
|
|
263
262
|
render() {
|
|
264
|
-
return o`<div
|
|
263
|
+
return o`<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>`;
|
|
265
264
|
}
|
|
266
265
|
}
|
|
267
|
-
|
|
266
|
+
w("arcgis-charts-config-heat-chart-popover", W);
|
|
268
267
|
export {
|
|
269
|
-
|
|
268
|
+
W as ArcgisChartsConfigHeatChartPopover
|
|
270
269
|
};
|
|
@@ -4,8 +4,8 @@ import { isEqual as r } from "lodash-es";
|
|
|
4
4
|
import { LitElement as n } from "@arcgis/lumina";
|
|
5
5
|
import { css as h, html as t } from "lit";
|
|
6
6
|
import { C as i } from "../../chunks/interfaces.js";
|
|
7
|
-
import { ac as d,
|
|
8
|
-
import { p as f, h as g } from "../../chunks/
|
|
7
|
+
import { ac as d, bw as c, I as m } from "../../chunks/index2.js";
|
|
8
|
+
import { p as f, h as g } from "../../chunks/index5.js";
|
|
9
9
|
const p = h`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
10
10
|
class u extends n {
|
|
11
11
|
constructor() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as I } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as y } from "lit/directives/keyed.js";
|
|
4
4
|
import { debounce as f } from "lodash-es";
|
|
5
|
-
import { H as d, f as a,
|
|
6
|
-
import { i as
|
|
7
|
-
import { d as P,
|
|
5
|
+
import { H as d, f as a, d as s } from "../../chunks/interfaces.js";
|
|
6
|
+
import { i as L, m as C, b as S, n as k, s as V, U as D, D as T } from "../../chunks/chart-ui-utils2.js";
|
|
7
|
+
import { d as P, a as x } from "../../chunks/store.js";
|
|
8
8
|
import { u as N } from "../../chunks/useT9n.js";
|
|
9
9
|
import { css as F, html as c } from "lit";
|
|
10
10
|
import { createRef as b, ref as v } from "lit/directives/ref.js";
|
|
@@ -28,7 +28,7 @@ class j extends B {
|
|
|
28
28
|
constructor() {
|
|
29
29
|
super(...arguments), this._messages = N(), this.numericalFieldSelectionElement = b(), this.transformationSelectionElement = b(), this.histogramPopover = null, this.binColorSectionElement = b(), this.binSliderElement = b(), this.binInputElement = b(), this.popoverHeading = "", this.onBinCountChange = f(() => {
|
|
30
30
|
const e = this.binInputElement.value?.value;
|
|
31
|
-
e !== void 0 &&
|
|
31
|
+
e !== void 0 && L(e, this.binInputElement.value?.min, this.binInputElement.value?.max) ? this.binCountChange(e) : this.binInputElement.value && C({
|
|
32
32
|
inputElement: this.binInputElement.value,
|
|
33
33
|
status: D.INVALID
|
|
34
34
|
});
|
|
@@ -164,7 +164,7 @@ class j extends B {
|
|
|
164
164
|
t = void 0;
|
|
165
165
|
break;
|
|
166
166
|
}
|
|
167
|
-
return
|
|
167
|
+
return k(t, T);
|
|
168
168
|
}
|
|
169
169
|
binCountChange(e) {
|
|
170
170
|
const t = Number.parseInt(e);
|
|
@@ -317,7 +317,7 @@ class j extends B {
|
|
|
317
317
|
return c`<div class=${o(l.sectionLabel)}>${this._messages.variables}</div><calcite-label class=${o(l.label)}>${this._messages.number}${e}</calcite-label><calcite-label class=${o(l.label)}>${this._messages.withTransformation}${t}</calcite-label><div class=${o(l.sectionLabel)}>${this._messages.bins}</div><p class=${o(l.binTextPadding)}>${this._messages.numberOfBins}</p>${this.renderBinsSection()}${this.renderBinColorElement()}<div class=${o(l.sectionLabel)}>${this._messages.overlays}</div>${this.renderOverlayList()}${this.renderShowDataLabels()}<div class=${o(l.sectionLabel)}>${this._messages.statistics}</div>${this.renderStats()}`;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
|
|
320
|
+
I("arcgis-charts-config-histogram-data", j);
|
|
321
321
|
export {
|
|
322
322
|
j as ArcgisChartsConfigHistogramData
|
|
323
323
|
};
|
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as f } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as y, html as
|
|
3
|
+
import { css as y, html as t } from "lit";
|
|
4
4
|
import { keyed as c } from "lit/directives/keyed.js";
|
|
5
|
-
import { H as
|
|
6
|
-
import {
|
|
7
|
-
import { u } from "../../chunks/useT9n.js";
|
|
5
|
+
import { H as i } from "../../chunks/interfaces.js";
|
|
6
|
+
import { b as v, o as C } from "../../chunks/chart-ui-utils2.js";
|
|
7
|
+
import { u as b } from "../../chunks/useT9n.js";
|
|
8
8
|
import { createRef as m, ref as h } from "lit/directives/ref.js";
|
|
9
|
-
import { LitElement as
|
|
9
|
+
import { LitElement as u, createEvent as p, safeClassMap as s } from "@arcgis/lumina";
|
|
10
10
|
import { i as $ } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
import { g as o } from "../../chunks/chart-object-literals.js";
|
|
12
12
|
import { e as P } from "../../chunks/popover-ui-utils.js";
|
|
13
13
|
import { d as S } from "../../chunks/index3.js";
|
|
14
|
-
import {
|
|
14
|
+
import { bk as k } from "../../chunks/index2.js";
|
|
15
15
|
import { aB as L } from "../../chunks/index.js";
|
|
16
|
-
const
|
|
16
|
+
const l = {
|
|
17
17
|
symbolPropertyPopover: "symbol-property-popover",
|
|
18
18
|
colorPicker: "color-picker",
|
|
19
|
-
jsAppFlyout: "js-app-flyout",
|
|
20
19
|
header: "header",
|
|
21
20
|
pickListItemLabel: "pick-list-item-label",
|
|
22
21
|
fieldSelectPanel: "field-select-panel",
|
|
23
22
|
transformationPanel: "transformation-panel"
|
|
24
23
|
}, T = y`.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)}.right{display:block;text-align:right}.inline{display:inline-flex;flex-wrap:wrap}.symbol-property-popover{min-width:300px}.symbol-property-popover .inline{align-items:center;margin-bottom:1rem;padding:0 1rem}.symbol-property-popover .inline calcite-action{margin-left:.2rem}.symbol-property-popover .inline input,.symbol-property-popover .inline select{width:4rem;margin-left:.5rem;height:24px}.symbol-property-popover .inline select{width:6rem}.symbol-property-popover .color calcite-icon{margin-left:.5rem}.symbol-property-popover .color .color-picker{padding:1rem}.header{margin:0;font-weight:bolder}.pick-list-item-label{font-size:small}.field-select-panel{max-height:60vh}.transformation-panel{width:calc(var(--calcite-panel-width-multiplier) * 12vw);max-width:calc(var(--calcite-panel-width-multiplier) * 300px);min-width:calc(var(--calcite-panel-width-multiplier) * 150px);min-width:calc(var(--calcite-panel-width-multiplier) * 170px)}`;
|
|
25
|
-
class F extends
|
|
24
|
+
class F extends u {
|
|
26
25
|
constructor() {
|
|
27
|
-
super(...arguments), this._messages =
|
|
26
|
+
super(...arguments), this._messages = b(), this.picklist = m(), this.popoverElement = m(), this.layerFieldsInfo = [], this.open = !1, this.arcgisChartsConfigHistogramPopoverChange = p(), this.arcgisChartsConfigHistogramPopoverSymbolChange = p(), this.arcgisChartsConfigPopoverClose = p();
|
|
28
27
|
}
|
|
29
28
|
static {
|
|
30
29
|
this.properties = { messageOverrides: 0, layerFieldsInfo: 0, headingTitle: 1, selectedNumericField: 1, selectedTransformationType: 1, selectedOverlaySymbol: 0, selectedBinColor: 0, referenceElement: 0, contentKind: 1, placement: 1, open: 5, selectedOverlaySymbolType: 1 };
|
|
@@ -42,23 +41,23 @@ class F extends b {
|
|
|
42
41
|
}
|
|
43
42
|
buildPickListItems(e) {
|
|
44
43
|
const n = [];
|
|
45
|
-
if (e ===
|
|
44
|
+
if (e === i.numericFields)
|
|
46
45
|
for (let r = 0; r < this.layerFieldsInfo?.length; r += 1) {
|
|
47
46
|
const a = this.layerFieldsInfo[r];
|
|
48
|
-
k(a) && n.push(c(a.name,
|
|
47
|
+
k(a) && n.push(c(a.name, t`<calcite-list-item .label=${S(this.layerFieldsInfo, a.name)} .value=${a.name} .selected=${this.selectedNumericField === a.name}></calcite-list-item>`));
|
|
49
48
|
}
|
|
50
49
|
else {
|
|
51
50
|
const r = [
|
|
52
|
-
c(o.None,
|
|
53
|
-
c(o.Log,
|
|
54
|
-
c(o.Sqrt,
|
|
51
|
+
c(o.None, t`<calcite-list-item .label=${this._messages.none} .value=${o.None} .selected=${this.selectedTransformationType === o.None}></calcite-list-item>`),
|
|
52
|
+
c(o.Log, t`<calcite-list-item .label=${this._messages.log} .value=${o.Log} .selected=${this.selectedTransformationType === o.Log}></calcite-list-item>`),
|
|
53
|
+
c(o.Sqrt, t`<calcite-list-item .label=${this._messages.sqRt} .value=${o.Sqrt} .selected=${this.selectedTransformationType === o.Sqrt}></calcite-list-item>`)
|
|
55
54
|
];
|
|
56
55
|
n.push(...r);
|
|
57
56
|
}
|
|
58
57
|
return n;
|
|
59
58
|
}
|
|
60
59
|
getPopoverClass() {
|
|
61
|
-
return this.contentKind ===
|
|
60
|
+
return this.contentKind === i.fillSymbol || this.contentKind === i.lineSymbol ? l.symbolPropertyPopover : "";
|
|
62
61
|
}
|
|
63
62
|
closePopover() {
|
|
64
63
|
(this.open || this.popoverElement.value?.open === !1) && (this.open = !1, this.arcgisChartsConfigPopoverClose.emit());
|
|
@@ -80,31 +79,31 @@ class F extends b {
|
|
|
80
79
|
}), this.open = !1);
|
|
81
80
|
}
|
|
82
81
|
renderFillColor() {
|
|
83
|
-
return
|
|
82
|
+
return t`<arcgis-charts-config-color-style class=${s(l.colorPicker)} .header=${this.headingTitle ?? this._messages.fillColor} enable-close .open=${this.open} .selectedColor=${this.selectedBinColor?.color} @arcgisChartsConfigColorStyleChange=${this.fillColorChange} @arcgisChartsConfigColorStyleClose=${this.closePopover}></arcgis-charts-config-color-style>`;
|
|
84
83
|
}
|
|
85
84
|
renderOverlayStyle() {
|
|
86
|
-
return
|
|
85
|
+
return t`<arcgis-charts-config-line-style class=${s(l.colorPicker)} .open=${this.open} enable-close .header=${this.headingTitle ?? this._messages.lineStyle} .lineStyle=${this.selectedOverlaySymbol} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.overlaySymbolChange}></arcgis-charts-config-line-style>`;
|
|
87
86
|
}
|
|
88
87
|
renderFieldSelect() {
|
|
89
|
-
const e = this.buildPickListItems(
|
|
90
|
-
return
|
|
88
|
+
const e = this.buildPickListItems(i.numericFields);
|
|
89
|
+
return t`<calcite-panel class=${s(l.fieldSelectPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${s(l.header)}>${this._messages.numericalFieldHeader}</div><calcite-list label selection-mode=single selection-appearance=border class=${s(l.pickListItemLabel)} filter-enabled @calciteListChange=${this.onPickListChange} ${h(this.picklist)}>${e}</calcite-list></calcite-panel>`;
|
|
91
90
|
}
|
|
92
91
|
renderTransformationSelect() {
|
|
93
|
-
const e = this.buildPickListItems(
|
|
94
|
-
return
|
|
92
|
+
const e = this.buildPickListItems(i.transformation);
|
|
93
|
+
return t`<calcite-panel class=${s(l.transformationPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${s(l.header)}>${this._messages.transformationHeader}</div><calcite-list label selection-mode=single selection-appearance=border class=${s(l.pickListItemLabel)} @calciteListChange=${this.onPickListChange}>${e}</calcite-list></calcite-panel>`;
|
|
95
94
|
}
|
|
96
95
|
render() {
|
|
97
|
-
return
|
|
96
|
+
return t`<div><calcite-popover class=${s(this.getPopoverClass())} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .open=${this.open} .offsetDistance=${C(this.placement)} label auto-close ${h(this.popoverElement)}>${this.renderContentType()}</calcite-popover></div>`;
|
|
98
97
|
}
|
|
99
98
|
renderContentType() {
|
|
100
99
|
switch (this.contentKind) {
|
|
101
|
-
case
|
|
100
|
+
case i.fillSymbol:
|
|
102
101
|
return this.renderFillColor();
|
|
103
|
-
case
|
|
102
|
+
case i.lineSymbol:
|
|
104
103
|
return this.renderOverlayStyle();
|
|
105
|
-
case
|
|
104
|
+
case i.numericFields:
|
|
106
105
|
return this.renderFieldSelect();
|
|
107
|
-
case
|
|
106
|
+
case i.transformation:
|
|
108
107
|
return this.renderTransformationSelect();
|
|
109
108
|
default:
|
|
110
109
|
return;
|
|
@@ -4,8 +4,8 @@ import { isEqual as a } from "lodash-es";
|
|
|
4
4
|
import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
import { css as h, html as o } from "lit";
|
|
6
6
|
import { C as s } from "../../chunks/interfaces.js";
|
|
7
|
-
import { ac as c, I as m,
|
|
8
|
-
import { h as p } from "../../chunks/
|
|
7
|
+
import { ac as c, I as m, bk as f, bb as g } from "../../chunks/index2.js";
|
|
8
|
+
import { h as p } from "../../chunks/index5.js";
|
|
9
9
|
const u = h`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
10
10
|
class C extends n {
|
|
11
11
|
constructor() {
|
|
@@ -6,13 +6,13 @@ import { css as I, html as r } from "lit";
|
|
|
6
6
|
import { createRef as m, ref as d } from "lit/directives/ref.js";
|
|
7
7
|
import { u as b } from "../../chunks/useT9n.js";
|
|
8
8
|
import { L as l } from "../../chunks/interfaces.js";
|
|
9
|
-
import { d as B,
|
|
9
|
+
import { d as B, a as u, r as T, b as S } from "../../chunks/store.js";
|
|
10
10
|
import { isEqual as k } from "lodash-es";
|
|
11
11
|
import { x as E } from "../../chunks/data.js";
|
|
12
12
|
import { r as c, s as f, m as h } from "../../chunks/chart-object-literals.js";
|
|
13
13
|
import { t as L, ag as P } from "../../chunks/index.js";
|
|
14
14
|
import { d as v, m as w } from "../../chunks/index3.js";
|
|
15
|
-
import { an as C,
|
|
15
|
+
import { an as C, bb as _ } from "../../chunks/index2.js";
|
|
16
16
|
import { r as N } from "../../chunks/popover-ui-utils.js";
|
|
17
17
|
const D = I`.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,.disabled-label{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:.5rem;justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}`, n = {
|
|
18
18
|
label: "label",
|
|
@@ -130,7 +130,7 @@ class U extends x {
|
|
|
130
130
|
this.model.trimIncompleteTimeInterval = e.target.checked;
|
|
131
131
|
}
|
|
132
132
|
onNullPolicyChange(e) {
|
|
133
|
-
this.model.nullPolicy = e.target.selectedItem
|
|
133
|
+
this.model.nullPolicy = e.target.selectedItem?.value;
|
|
134
134
|
}
|
|
135
135
|
shouldShowTimeBinning() {
|
|
136
136
|
const e = this.layerFieldsInfo.find((i) => i.name === this.model.xAxisField), t = this.model.aggregationType !== c.NoAggregation;
|