@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
|
@@ -169,6 +169,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
169
169
|
};
|
|
170
170
|
notifications: {
|
|
171
171
|
invalidConfig: string;
|
|
172
|
+
invalidConfigForRaster: string;
|
|
173
|
+
invalidConfigTitle: string;
|
|
172
174
|
invalidSeriesConfig: string;
|
|
173
175
|
invalidSeriesConfigTitle: string;
|
|
174
176
|
validateAggregationTypeMsg: string;
|
|
@@ -434,6 +436,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
434
436
|
};
|
|
435
437
|
notifications: {
|
|
436
438
|
invalidConfig: string;
|
|
439
|
+
invalidConfigForRaster: string;
|
|
440
|
+
invalidConfigTitle: string;
|
|
437
441
|
invalidSeriesConfig: string;
|
|
438
442
|
invalidSeriesConfigTitle: string;
|
|
439
443
|
validateAggregationTypeMsg: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as w } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as O, html as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { css as O, html as a } from "lit";
|
|
4
|
+
import { b as T } from "../../chunks/interfaces.js";
|
|
5
|
+
import { a as _, g as z } from "../../chunks/type-guards3.js";
|
|
6
6
|
import { u as S } from "../../chunks/useT9n.js";
|
|
7
7
|
import { createRef as $, ref as b } from "lit/directives/ref.js";
|
|
8
8
|
import { LitElement as V, renderElement as C, safeStyleMap as y, createEvent as B, safeClassMap as L, nothing as s } from "@arcgis/lumina";
|
|
9
|
-
import {
|
|
9
|
+
import { a as n } from "../../chunks/chart-ui-utils2.js";
|
|
10
10
|
import { i as F } from "../../chunks/rotated-state.js";
|
|
11
|
-
import { a as t, A as o, D as e } from "../../chunks/
|
|
11
|
+
import { a as t, A as o, D as e } from "../../chunks/index6.js";
|
|
12
12
|
import { A as D } from "../../chunks/index3.js";
|
|
13
13
|
import { u as k } from "../../chunks/chart-object-literals.js";
|
|
14
14
|
import { b as r, k as I } from "../../chunks/type-guards2.js";
|
|
@@ -19,10 +19,10 @@ class Z extends V {
|
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments), this.calciteActionBar = $(), this.exportCalciteActionBar = $(), this.expandAction = null, this._messages = S(), this.commonStrings = S({ name: "common", blocking: !0 }), this.handleMouseOver = (l) => {
|
|
21
21
|
if (this.calciteActionBar.value && !this.calciteActionBar.value?.expanded) {
|
|
22
|
-
const
|
|
22
|
+
const c = l.target;
|
|
23
23
|
this.actionTooltip !== void 0 && (this.actionTooltip = n(this.actionTooltip));
|
|
24
24
|
let i;
|
|
25
|
-
|
|
25
|
+
c?.tagName === "CALCITE-ACTION" ? i = c : (c?.tagName === "CALCITE-ACTION-MENU" || c?.tagName === "DIV") && (i = c.firstChild), i !== void 0 && (this.actionTooltip = C(a`<calcite-tooltip style=${y({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${i} open placement=trailing-end>${i.text}</calcite-tooltip>`), document.body.appendChild(this.actionTooltip));
|
|
26
26
|
} else
|
|
27
27
|
this.actionTooltip = n(this.actionTooltip);
|
|
28
28
|
}, this._csvExportExclusionList = [k.ScatterSeries, k.BoxPlotSeries], this.actionTooltip = null, this.forceDisableActions = !1, this.editChartToggle = t.Inactive, this.editChartState = o.Disabled, this.legendToggle = t.Inactive, this.legendState = o.Enabled, this.rotateChartToggle = t.Inactive, this.rotateChartState = o.Enabled, this.filterBySelectionToggle = t.Inactive, this.filterBySelectionState = o.Enabled, this.filterByExtentToggle = t.Inactive, this.filterByExtentState = o.Enabled, this.actionBarSelectionMode = D.MultiSelectionWithCtrlKey, this.selectionToggle = t.Inactive, this.selectionState = o.Enabled, this.zoomToggle = t.Inactive, this.zoomState = o.Enabled, this.fullExtentToggle = t.Inactive, this.fullExtentState = o.Enabled, this.clearSelectionToggle = t.Inactive, this.clearSelectionState = o.Enabled, this.switchSelectionToggle = t.Inactive, this.switchSelectionState = o.Enabled, this.exportAsImageState = o.Enabled, this.exportAsCSVState = o.Enabled, this.disableCSVExportForChartTypes = this._csvExportExclusionList, this.csvExportExclusionList = this._csvExportExclusionList, this.exportActionState = o.Enabled, this.expanded = !1, this.hiddenActions = [e.EditChart], this.arcgisActionBarToggle = B(), this.arcgisDefaultActionSelect = B();
|
|
@@ -43,11 +43,11 @@ class Z extends V {
|
|
|
43
43
|
super.disconnectedCallback(), this.actionTooltip?.remove();
|
|
44
44
|
}
|
|
45
45
|
async onDefaultActionClick(l) {
|
|
46
|
-
const
|
|
47
|
-
actionId:
|
|
46
|
+
const c = l.currentTarget, i = {
|
|
47
|
+
actionId: c.id,
|
|
48
48
|
actionActive: !1
|
|
49
49
|
};
|
|
50
|
-
switch (
|
|
50
|
+
switch (c.id) {
|
|
51
51
|
case e.EditChart:
|
|
52
52
|
this.editChartToggle = this.editChartToggle === t.Active ? t.Inactive : t.Active, i.actionActive = this.editChartToggle === t.Active;
|
|
53
53
|
break;
|
|
@@ -100,13 +100,13 @@ class Z extends V {
|
|
|
100
100
|
}
|
|
101
101
|
setCustomActionsExpanded() {
|
|
102
102
|
this.el.querySelectorAll("calcite-action").forEach((l) => {
|
|
103
|
-
const
|
|
104
|
-
|
|
103
|
+
const c = l;
|
|
104
|
+
c.textEnabled = this.expanded;
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
handleExpandTooltip() {
|
|
108
108
|
this.expandAction === null && (this.expandAction = this.calciteActionBar.value?.shadowRoot?.querySelector("calcite-action") ?? null, this.expandAction !== null && (this.listenOn(this.expandAction, "mouseenter", () => {
|
|
109
|
-
!this.calciteActionBar.value?.expanded && this.expandAction !== null && !document.body.contains(this.actionTooltip) && (this.actionTooltip = C(
|
|
109
|
+
!this.calciteActionBar.value?.expanded && this.expandAction !== null && !document.body.contains(this.actionTooltip) && (this.actionTooltip = C(a`<calcite-tooltip style=${y({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${this.expandAction} open placement=trailing-end>${this._messages.expand ?? ""}</calcite-tooltip>`), document.body.appendChild(this.actionTooltip));
|
|
110
110
|
}), this.listenOn(this.expandAction, "mouseleave", () => {
|
|
111
111
|
!this.calciteActionBar.value?.expanded && this.actionTooltip !== null && (this.actionTooltip = n(this.actionTooltip));
|
|
112
112
|
}), this.listenOn(this.expandAction, "click", () => {
|
|
@@ -114,16 +114,16 @@ class Z extends V {
|
|
|
114
114
|
})));
|
|
115
115
|
}
|
|
116
116
|
renderDefaultActions() {
|
|
117
|
-
const l = z(this.chartType).filter((M) => !this.hiddenActions?.includes(M)),
|
|
117
|
+
const l = z(this.chartType).filter((M) => !this.hiddenActions?.includes(M)), c = this.chartElement?.layer && "isTable" in this.chartElement.layer ? this.chartElement.layer.isTable : !1, i = l.includes(e.EditChart), h = l.includes(e.Legend), d = l.includes(e.RotateChart), g = l.includes(e.FilterBySelection), m = l.includes(e.FilterByExtent) && !c, p = l.includes(e.Zoom), u = l.includes(e.Selection), x = l.includes(e.ClearSelection), A = l.includes(e.FullExtent), v = l.includes(e.SwitchSelection), f = l.includes(e.ExportAsImage), E = l.includes(e.ExportAsCSV);
|
|
118
118
|
return [
|
|
119
|
-
h || d ?
|
|
120
|
-
g || m ?
|
|
121
|
-
u || p || A || x || v ?
|
|
122
|
-
f || E ?
|
|
119
|
+
h || d ? a`<calcite-action-group>${i ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.EditChart ?? s} icon=gear .text=${this.commonStrings?.utilsStrings.actions?.editChart ?? ""} .textEnabled=${this.expanded} .active=${this.editChartToggle === t.Active} .disabled=${this.editChartState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${h ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Legend ?? s} .text=${this.legendTitle ?? this._messages?.legend ?? ""} .textEnabled=${this.expanded} .active=${this.legendToggle === t.Active} .disabled=${this.legendState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}><calcite-icon icon=legend scale=s flip-rtl></calcite-icon></calcite-action></div>` : null}${d ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.RotateChart ?? s} icon=rotate .text=${this.rotateChartTitle ?? this._messages?.rotateChart ?? ""} .textEnabled=${this.expanded} .active=${this.rotateChartToggle === t.Active} .disabled=${this.rotateChartState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
120
|
+
g || m ? a`<calcite-action-group>${g ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FilterBySelection ?? s} icon=selection-filter .text=${this.filterBySelectionTitle ?? this._messages?.filterBySelection ?? ""} .textEnabled=${this.expanded} .active=${this.filterBySelectionToggle === t.Active} .disabled=${this.filterBySelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${m ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FilterByExtent ?? s} icon=extent-filter .text=${this.filterByExtentTitle ?? this._messages?.filterByExtent ?? ""} .textEnabled=${this.expanded} .active=${this.filterByExtentToggle === t.Active} .disabled=${this.filterByExtentState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
121
|
+
u || p || A || x || v ? a`<calcite-action-group>${p ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Zoom ?? s} icon=magnifying-glass .text=${this.zoomTitle ?? this._messages?.zoom ?? ""} .textEnabled=${this.expanded} .active=${this.zoomToggle === t.Active} .disabled=${this.zoomState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${u ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Selection ?? s} icon=cursor-selection .text=${this.selectionTitle ?? this._messages?.selection ?? ""} .textEnabled=${this.expanded} .active=${this.selectionToggle === t.Active} .disabled=${this.selectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${x ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.ClearSelection ?? s} icon=erase .text=${this.clearSelectionTitle ?? this._messages?.clearSelection ?? ""} .textEnabled=${this.expanded} .active=${this.clearSelectionToggle === t.Active} .disabled=${this.clearSelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${A ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FullExtent ?? s} icon=zoom-out-fixed .text=${this.fullExtentTitle ?? this._messages?.fullExtent ?? ""} .textEnabled=${this.expanded} .active=${this.fullExtentToggle === t.Active} .disabled=${this.fullExtentState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${v ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.SwitchSelection ?? s} icon=arrow-right-left .text=${this.switchSelectionTitle ?? this._messages?.switchSelection ?? ""} .textEnabled=${this.expanded} .active=${this.switchSelectionToggle === t.Active} .disabled=${this.switchSelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
122
|
+
f || E ? a`<calcite-action-menu .label=${this._messages?.export ?? ""} ${b(this.exportCalciteActionBar)}><calcite-action id=export icon=export .text=${this._messages?.export ?? ""} .textEnabled=${this.expanded} .disabled=${this.exportActionState === o.Disabled || this.forceDisableActions} @mouseover=${this.handleMouseOver} slot=trigger></calcite-action>${f ? a`<div><calcite-action id=${e.ExportAsImage ?? s} icon=graph-bar .text=${this.exportAsImageTitle ?? this._messages?.exportAsImage ?? ""} .disabled=${this.exportAsImageState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick} text-enabled></calcite-action></div>` : null}${E ? a`<div><calcite-action id=${e.ExportAsCSV ?? s} icon=table .text=${this.exportAsCSVTitle ?? this._messages?.exportAsTable ?? ""} .disabled=${this.exportAsCSVState === o.Disabled || this.forceDisableActions || this.chartType && (this.disableCSVExportForChartTypes.includes(this.chartType) || this.csvExportExclusionList.includes(this.chartType))} @click=${this.onDefaultActionClick} text-enabled></calcite-action></div>` : null}</calcite-action-menu>` : null
|
|
123
123
|
];
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return
|
|
126
|
+
return a`<calcite-action-bar class=${L(N.actionBar)} @calciteActionBarToggle=${this.handleCalciteActionBarToggle} @mouseout=${this.handleMouseOut} .expanded=${this.expanded} .messageOverrides=${{ expand: this._messages.expand, collapse: this._messages.collapse }} overflow-actions-disabled ${b(this.calciteActionBar)}><slot name=${T.customActionTop} @slotchange=${this.handleSlotChange}></slot>${this.renderDefaultActions()}<slot name=${T.customActionBelow} @slotchange=${this.handleSlotChange}></slot></calcite-action-bar>`;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
w("arcgis-charts-action-bar", Z);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as b } from "../../chunks/runtime.js";
|
|
3
3
|
import { debounce as m } from "lodash-es";
|
|
4
|
-
import { g as f,
|
|
5
|
-
import { i as c, m as M, U as a,
|
|
4
|
+
import { g as f, a as N } from "../../chunks/store.js";
|
|
5
|
+
import { i as c, m as M, U as a, b as x, s as g } from "../../chunks/chart-ui-utils2.js";
|
|
6
6
|
import { A as B } from "../../chunks/axis-model-wrapper.js";
|
|
7
7
|
import { u as p } from "../../chunks/useT9n.js";
|
|
8
8
|
import { css as v, html as s } from "lit";
|
|
@@ -4,8 +4,8 @@ import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as c, html as s } from "lit";
|
|
5
5
|
import { isEqual as r } from "lodash-es";
|
|
6
6
|
import { C as t } from "../../chunks/interfaces.js";
|
|
7
|
-
import { ac as h,
|
|
8
|
-
import { p as m, h as u } from "../../chunks/
|
|
7
|
+
import { ac as h, bw as f, I as p, bb as g } from "../../chunks/index2.js";
|
|
8
|
+
import { p as m, h as u } from "../../chunks/index5.js";
|
|
9
9
|
const C = c`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
10
10
|
class F extends n {
|
|
11
11
|
constructor() {
|
|
@@ -3,16 +3,16 @@ import { c as w } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { keyed as $ } from "lit/directives/keyed.js";
|
|
4
4
|
import { isEqual as v } from "lodash-es";
|
|
5
5
|
import { repeat as k } from "lit/directives/repeat.js";
|
|
6
|
-
import { B as a,
|
|
7
|
-
import { d as O,
|
|
8
|
-
import {
|
|
6
|
+
import { B as a, c as p } from "../../chunks/interfaces.js";
|
|
7
|
+
import { d as O, a as y, r as D, b as E } from "../../chunks/store.js";
|
|
8
|
+
import { b as P } from "../../chunks/chart-ui-utils2.js";
|
|
9
9
|
import { u as I } from "../../chunks/useT9n.js";
|
|
10
10
|
import { css as _, html as n, nothing as N } from "lit";
|
|
11
11
|
import { createRef as c, ref as m } from "lit/directives/ref.js";
|
|
12
12
|
import { LitElement as U, createEvent as b, safeClassMap as l, renderElement as V } from "@arcgis/lumina";
|
|
13
13
|
import { d as S, f as z, F as M, C as F, m as R } from "../../chunks/index3.js";
|
|
14
14
|
import { x as K } from "../../chunks/data.js";
|
|
15
|
-
import { an as B, k as j, Y as A,
|
|
15
|
+
import { an as B, k as j, Y as A, bb as H } from "../../chunks/index2.js";
|
|
16
16
|
import { t as q, ag as W } from "../../chunks/index.js";
|
|
17
17
|
import { r as Z } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { r as d, s as L, u as C, m as f } from "../../chunks/chart-object-literals.js";
|
|
@@ -112,7 +112,7 @@ class Y extends U {
|
|
|
112
112
|
onCalciteListOrderChange(e) {
|
|
113
113
|
if (e.detail !== null && e.detail !== void 0) {
|
|
114
114
|
const { newIndex: t, oldIndex: i } = e.detail;
|
|
115
|
-
this.model.moveCustomSortValuesInOrderByList(i, t);
|
|
115
|
+
this.model.moveCustomSortValuesInOrderByList(i ?? 0, t ?? i ?? 0);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
onCustomSortItemSelected(e) {
|
|
@@ -235,7 +235,7 @@ class Y extends U {
|
|
|
235
235
|
this.model.trimIncompleteTimeInterval = e.target.checked;
|
|
236
236
|
}
|
|
237
237
|
onNullPolicyChange(e) {
|
|
238
|
-
this.model.nullPolicy = e.target.selectedItem
|
|
238
|
+
this.model.nullPolicy = e.target.selectedItem?.value;
|
|
239
239
|
}
|
|
240
240
|
shouldShowTimeBinning() {
|
|
241
241
|
const e = this.layerFieldsInfo.find((i) => i.name === this.model.xAxisField), t = this.model.aggregationType !== d.NoAggregation;
|
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { repeat as
|
|
2
|
+
import { c as S } from "../../chunks/runtime.js";
|
|
3
|
+
import { repeat as u } from "lit/directives/repeat.js";
|
|
4
4
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { substitute as
|
|
7
|
-
import { css as
|
|
5
|
+
import { LitElement as T, createEvent as C, renderElement as F, safeStyleMap as A, safeClassMap as c } from "@arcgis/lumina";
|
|
6
|
+
import { substitute as D } from "@arcgis/core/intl.js";
|
|
7
|
+
import { css as P, html as a } from "lit";
|
|
8
8
|
import { createRef as g, ref as d } from "lit/directives/ref.js";
|
|
9
9
|
import { isEqual as y } from "lodash-es";
|
|
10
10
|
import { u as $ } from "../../chunks/useT9n.js";
|
|
11
11
|
import { B as n } from "../../chunks/interfaces.js";
|
|
12
|
-
import {
|
|
12
|
+
import { c as v, b as L, e as h, a as x, f as E, s as z } from "../../chunks/chart-ui-utils2.js";
|
|
13
13
|
import { R as k } from "../../chunks/rest-js-object-literals.js";
|
|
14
|
-
import { t as
|
|
14
|
+
import { t as b, r as N, s as p } from "../../chunks/chart-object-literals.js";
|
|
15
15
|
import { S as m } from "../../chunks/common.js";
|
|
16
16
|
import { e as w, p as B } from "../../chunks/popover-ui-utils.js";
|
|
17
17
|
import { t as K, ag as _ } from "../../chunks/index.js";
|
|
18
|
-
import { a2 as
|
|
19
|
-
import { d as
|
|
20
|
-
const R =
|
|
21
|
-
jsAppFlyout: "js-app-flyout",
|
|
18
|
+
import { a2 as O, bh as I, bb as H, bu as M, bk as U } from "../../chunks/index2.js";
|
|
19
|
+
import { d as W, m as j } from "../../chunks/index3.js";
|
|
20
|
+
const R = P`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`, r = {
|
|
22
21
|
name: "bar-chart-data-popover",
|
|
23
|
-
numericFieldPickList: "bar-chart-data-numeric-fields-pick-list",
|
|
24
22
|
header: "header",
|
|
25
23
|
fab: "fab",
|
|
26
24
|
pickListItemLabel: "pick-list-item-label",
|
|
@@ -30,7 +28,7 @@ const R = D`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.a
|
|
|
30
28
|
applyButton: "apply-button",
|
|
31
29
|
panel: "panel"
|
|
32
30
|
};
|
|
33
|
-
class q extends
|
|
31
|
+
class q extends T {
|
|
34
32
|
constructor() {
|
|
35
33
|
super(...arguments), this._messages = $(), this.commonStrings = $({ name: "common", blocking: !0 }), this.picklist = g(), this.intervalSizeElement = g(), this.intervalTypeElement = g(), this.popoverElement = g(), this.placement = "leading", this.offsetDistance = -200, this.pickListHasChanged = !1, this.aggregationLabels = [], this.open = !1, this.layerFieldsInfo = [], this.isCustomSortDisabled = !1, this.isNoAggregationDisabled = !1, this.arcgisChartsConfigBarChartDataPopoverChange = C(), this.arcgisChartsConfigPopoverClose = C();
|
|
36
34
|
}
|
|
@@ -47,7 +45,7 @@ class q extends S {
|
|
|
47
45
|
e.has("selectedContent") && this.selectedContentChange(this.selectedContent, e.get("selectedContent"));
|
|
48
46
|
const t = v.map((s) => K(s, this.commonStrings));
|
|
49
47
|
y(this.aggregationLabels, t) || (this.aggregationLabels = t);
|
|
50
|
-
const l = [
|
|
48
|
+
const l = [b.Start, b.End].map((s) => _(s, this.commonStrings));
|
|
51
49
|
y(this.timeAggregationLabels, l) || (this.timeAggregationLabels = l);
|
|
52
50
|
}
|
|
53
51
|
updated() {
|
|
@@ -60,14 +58,14 @@ class q extends S {
|
|
|
60
58
|
}
|
|
61
59
|
buildAggregationListItems() {
|
|
62
60
|
const e = this.isNoAggregationDisabled ? v.filter((t) => t !== N.NoAggregation) : v;
|
|
63
|
-
return
|
|
61
|
+
return u(e, (t) => t, (t, i) => a`<calcite-list-item .label=${this.aggregationLabels[i]} .value=${t} .selected=${h(t, this.selectedContent)}></calcite-list-item>`);
|
|
64
62
|
}
|
|
65
63
|
createTooltip(e) {
|
|
66
64
|
if (e.target?.label === this._messages.customSort && this.isCustomSortDisabled) {
|
|
67
|
-
const t = e.target, i =
|
|
65
|
+
const t = e.target, i = O(t), s = new Intl.NumberFormat(i).format(L.customSortLimit), o = D(this._messages.customSortLimit ?? "", {
|
|
68
66
|
totalLimit: s
|
|
69
67
|
});
|
|
70
|
-
this.tooltip =
|
|
68
|
+
this.tooltip = F(a`<calcite-tooltip style=${A({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${o}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
71
69
|
}
|
|
72
70
|
}
|
|
73
71
|
destroyTooltip() {
|
|
@@ -76,7 +74,7 @@ class q extends S {
|
|
|
76
74
|
buildSortOrder() {
|
|
77
75
|
const e = Object.keys(m);
|
|
78
76
|
let t;
|
|
79
|
-
return
|
|
77
|
+
return u(e, (i) => i, (i) => {
|
|
80
78
|
let l = "";
|
|
81
79
|
switch (i) {
|
|
82
80
|
case m.xAxisAsc: {
|
|
@@ -88,11 +86,11 @@ class q extends S {
|
|
|
88
86
|
break;
|
|
89
87
|
}
|
|
90
88
|
case m.yAxisAsc: {
|
|
91
|
-
t = "sort-descending", l =
|
|
89
|
+
t = "sort-descending", l = r.rotateClass;
|
|
92
90
|
break;
|
|
93
91
|
}
|
|
94
92
|
case m.yAxisDesc: {
|
|
95
|
-
t = "sort-ascending", l =
|
|
93
|
+
t = "sort-ascending", l = r.rotateClass;
|
|
96
94
|
break;
|
|
97
95
|
}
|
|
98
96
|
case m.customSort: {
|
|
@@ -104,7 +102,7 @@ class q extends S {
|
|
|
104
102
|
});
|
|
105
103
|
}
|
|
106
104
|
buildPickListItem(e) {
|
|
107
|
-
return f(e.name, a`<calcite-list-item .label=${
|
|
105
|
+
return f(e.name, a`<calcite-list-item .label=${W(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${h(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
108
106
|
}
|
|
109
107
|
buildPickListItems(e) {
|
|
110
108
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
@@ -112,7 +110,7 @@ class q extends S {
|
|
|
112
110
|
case n.numericFields: {
|
|
113
111
|
for (let l = 0; l < t; l += 1) {
|
|
114
112
|
const s = this.layerFieldsInfo?.[l];
|
|
115
|
-
s &&
|
|
113
|
+
s && U(s) && i.push(this.buildPickListItem(s));
|
|
116
114
|
}
|
|
117
115
|
break;
|
|
118
116
|
}
|
|
@@ -120,8 +118,8 @@ class q extends S {
|
|
|
120
118
|
const l = f(" ", a`<calcite-list-item label=" " value=" " .selected=${h("", this.selectedContent)}></calcite-list-item>`);
|
|
121
119
|
i.push(l);
|
|
122
120
|
for (let s = 0; s < t; s += 1) {
|
|
123
|
-
const
|
|
124
|
-
|
|
121
|
+
const o = this.layerFieldsInfo?.[s];
|
|
122
|
+
o && (o.type === k.String || I(o) || H(o) || M(o)) && i.push(this.buildPickListItem(o));
|
|
125
123
|
}
|
|
126
124
|
break;
|
|
127
125
|
}
|
|
@@ -129,8 +127,8 @@ class q extends S {
|
|
|
129
127
|
const l = f(" ", a`<calcite-list-item label=" " value=" " .selected=${h("", this.selectedContent)}></calcite-list-item>`);
|
|
130
128
|
i.push(l);
|
|
131
129
|
for (let s = 0; s < t; s += 1) {
|
|
132
|
-
const
|
|
133
|
-
|
|
130
|
+
const o = this.layerFieldsInfo?.[s];
|
|
131
|
+
o && (I(o) || o.type === k.String) && i.push(this.buildPickListItem(o));
|
|
134
132
|
}
|
|
135
133
|
break;
|
|
136
134
|
}
|
|
@@ -169,32 +167,32 @@ class q extends S {
|
|
|
169
167
|
this.closePopover();
|
|
170
168
|
}
|
|
171
169
|
buildIntervalAlignmentPickListItems() {
|
|
172
|
-
const e = [
|
|
173
|
-
return
|
|
170
|
+
const e = [b.Start, b.End];
|
|
171
|
+
return u(e, (t) => t, (t, i) => a`<calcite-list-item .label=${this.timeAggregationLabels?.[i]} .value=${t} .selected=${h(t, this.selectedContent)}></calcite-list-item>`);
|
|
174
172
|
}
|
|
175
173
|
renderAggregationType() {
|
|
176
174
|
const e = this.buildAggregationListItems();
|
|
177
|
-
return a`<calcite-list label class=${c(
|
|
175
|
+
return a`<calcite-list label class=${c(r.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
178
176
|
}
|
|
179
177
|
renderCategory() {
|
|
180
178
|
const e = this.buildPickListItems(n.category);
|
|
181
|
-
return a`<calcite-list label class=${c(
|
|
179
|
+
return a`<calcite-list label class=${c(r.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`;
|
|
182
180
|
}
|
|
183
181
|
renderNumericFields() {
|
|
184
182
|
const e = this.buildPickListItems(n.numericFields);
|
|
185
|
-
return a`<calcite-list label
|
|
183
|
+
return a`<calcite-list label selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${d(this.picklist)}>${e}</calcite-list>`;
|
|
186
184
|
}
|
|
187
185
|
renderSortOrder() {
|
|
188
186
|
const e = this.buildSortOrder();
|
|
189
|
-
return a`<calcite-list label class=${c(
|
|
187
|
+
return a`<calcite-list label class=${c(r.sortOrderPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
190
188
|
}
|
|
191
189
|
renderSplitByField() {
|
|
192
190
|
const e = this.buildPickListItems(n.splitByField);
|
|
193
|
-
return a`<calcite-list label class=${c(
|
|
191
|
+
return a`<calcite-list label class=${c(r.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`;
|
|
194
192
|
}
|
|
195
193
|
renderIntervalAlignment() {
|
|
196
194
|
const e = this.buildIntervalAlignmentPickListItems();
|
|
197
|
-
return a`<calcite-list label class=${c(
|
|
195
|
+
return a`<calcite-list label class=${c(r.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
198
196
|
}
|
|
199
197
|
renderInterval() {
|
|
200
198
|
const e = this.selectedContent, t = [
|
|
@@ -206,7 +204,7 @@ class q extends S {
|
|
|
206
204
|
p.Month,
|
|
207
205
|
p.Year
|
|
208
206
|
];
|
|
209
|
-
return a`<div><div class=${c(
|
|
207
|
+
return a`<div><div class=${c(r.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${z(e?.size, 1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${d(this.intervalTypeElement)}>${t.map((i) => a`<calcite-option .value=${i} .label=${j(i, this._messages)} .selected=${e?.unit === i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${c(r.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`;
|
|
210
208
|
}
|
|
211
209
|
renderPopoverInfo() {
|
|
212
210
|
let e;
|
|
@@ -237,10 +235,10 @@ class q extends S {
|
|
|
237
235
|
}
|
|
238
236
|
render() {
|
|
239
237
|
let e;
|
|
240
|
-
return this.contentKind === n.numericFields && (e = a`<div slot=footer><calcite-fab class=${c(
|
|
238
|
+
return this.contentKind === n.numericFields && (e = a`<div slot=footer><calcite-fab class=${c(r.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), a`<div><calcite-popover class=${c(r.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${d(this.popoverElement)}><calcite-panel class=${c(r.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${c(r.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
241
239
|
}
|
|
242
240
|
}
|
|
243
|
-
|
|
241
|
+
S("arcgis-charts-config-bar-chart-popover", q);
|
|
244
242
|
export {
|
|
245
243
|
q as ArcgisChartsConfigBarChartPopover
|
|
246
244
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as k } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as x } from "lit/directives/keyed.js";
|
|
4
|
-
import { repeat as
|
|
5
|
-
import { u as
|
|
4
|
+
import { repeat as P } from "lit/directives/repeat.js";
|
|
5
|
+
import { u as T } from "../../chunks/useT9n.js";
|
|
6
6
|
import { css as L, html as l } from "lit";
|
|
7
7
|
import { LitElement as M, createEvent as N, renderElement as u, safeStyleMap as h, safeClassMap as a } from "@arcgis/lumina";
|
|
8
|
-
import {
|
|
8
|
+
import { a as O } from "../../chunks/chart-ui-utils2.js";
|
|
9
9
|
import { C as _, F as C } from "../../chunks/index3.js";
|
|
10
10
|
import { r as v } from "../../chunks/popover-ui-utils.js";
|
|
11
11
|
import { q as r, r as f } from "../../chunks/chart-object-literals.js";
|
|
@@ -17,17 +17,17 @@ const E = {
|
|
|
17
17
|
list: "list",
|
|
18
18
|
disabledInfo: "disabled-info",
|
|
19
19
|
disabledStackingOption: "disabled-stacking-option"
|
|
20
|
-
}, w = L
|
|
20
|
+
}, w = L`.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)}.top-section{margin-top:var(--arcgis-charts-config-margin-minor)}.section-label{display:flex;margin-bottom:var(--arcgis-charts-config-margin-major);margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.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)}.disabled-info{margin:auto 1rem;pointer-events:auto}.disabled-info:active{margin:auto 1rem;pointer-events:none}.disabled-stacking-option{pointer-events:none;opacity:var(--calcite-opacity-disabled)}`;
|
|
21
21
|
class D extends M {
|
|
22
22
|
constructor() {
|
|
23
|
-
super(...arguments), this._messages =
|
|
23
|
+
super(...arguments), this._messages = T(), this.open = !1, this.seriesNameChange = (e) => {
|
|
24
24
|
if (e.detail !== null && e.detail !== void 0) {
|
|
25
25
|
const t = e.detail.name;
|
|
26
26
|
if (this.isNullCategorySelected) {
|
|
27
|
-
const
|
|
28
|
-
if (
|
|
29
|
-
const
|
|
30
|
-
this.model.nullCategory =
|
|
27
|
+
const i = this.model.nullCategory;
|
|
28
|
+
if (i) {
|
|
29
|
+
const s = { ...i, text: t };
|
|
30
|
+
this.model.nullCategory = s;
|
|
31
31
|
}
|
|
32
32
|
} else
|
|
33
33
|
this.model.setSeriesName(t, this.selectedSeriesIndex ?? -1);
|
|
@@ -37,15 +37,15 @@ class D extends M {
|
|
|
37
37
|
const { color: t } = e.detail;
|
|
38
38
|
if (t !== void 0) {
|
|
39
39
|
if (this.isNullCategorySelected) {
|
|
40
|
-
const
|
|
41
|
-
...
|
|
40
|
+
const i = this.model.nullCategory, s = i?.symbol && {
|
|
41
|
+
...i,
|
|
42
42
|
symbol: {
|
|
43
|
-
...
|
|
43
|
+
...i.symbol,
|
|
44
44
|
color: t,
|
|
45
|
-
outline:
|
|
45
|
+
outline: i.symbol.outline && { ...i.symbol.outline, color: t }
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
|
-
this.model.nullCategory =
|
|
48
|
+
this.model.nullCategory = s;
|
|
49
49
|
} else
|
|
50
50
|
this.model.setSeriesColor(t, this.selectedSeriesIndex ?? -1);
|
|
51
51
|
this.model.colorMatch = !1;
|
|
@@ -83,24 +83,24 @@ class D extends M {
|
|
|
83
83
|
this.selectedSeriesIndex !== void 0 && (this.seriesPopover = u(l`<arcgis-charts-config-bar-chart-series-popover .referenceElement=${this.el} .selectedName=${this.selectedSeriesIndex != null ? this.model.getSeriesName(this.selectedSeriesIndex) : void 0} .selectedColor=${this.selectedSeriesIndex != null ? this.model.getSeriesColor(this.selectedSeriesIndex) : void 0} .placement=${this.popoverPlacement} .selectedSeriesIndex=${this.selectedSeriesIndex != null ? this.selectedSeriesIndex : void 0} .nullCategory=${this.isNullCategorySelected ? this.model.nullCategory : void 0} .open=${this.open} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-bar-chart-series-popover>`), this.seriesPopover && !document.body.contains(this.seriesPopover) && document.body.appendChild(this.seriesPopover));
|
|
84
84
|
}
|
|
85
85
|
buildSeriesListItems() {
|
|
86
|
-
const e = this.model.seriesLength ?? 0, t = Array.from({ length: e }, (
|
|
87
|
-
return
|
|
88
|
-
const n = this.model.getSeriesId(
|
|
89
|
-
let
|
|
86
|
+
const e = this.model.seriesLength ?? 0, t = Array.from({ length: e }, (s, n) => n);
|
|
87
|
+
return P(t, (s) => this.model.getSeriesId(s), (s) => {
|
|
88
|
+
const n = this.model.getSeriesId(s), c = this.model.getSeriesColor(s), d = this.model.getSeriesName(s), b = this.model.chartSubType === _.BarAndLineFromFields ? this._messages.series : n;
|
|
89
|
+
let g = "#CCCCCC", p = "minus-square";
|
|
90
90
|
if ((e > 1 || !this.activeColorMatch) && c !== void 0) {
|
|
91
91
|
p = "square-f";
|
|
92
|
-
const [
|
|
93
|
-
|
|
92
|
+
const [S, y, $, I] = [...c];
|
|
93
|
+
g = `rgba(${S},${y},${$},${I / 255})`;
|
|
94
94
|
}
|
|
95
|
-
return l`<calcite-list-item .label=${d ?? n ?? ""} .description=${
|
|
95
|
+
return l`<calcite-list-item .label=${d ?? n ?? ""} .description=${b} .value=${n} .selected=${this.selectedSeriesIndex === s} @click=${this.openSeriesPopOver}><calcite-icon .icon=${p} style=${h({ color: g })} slot=content-end></calcite-icon></calcite-list-item>`;
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
98
|
buildSeriesList() {
|
|
99
99
|
return x(this.seriesOrderResetCounter, l`<calcite-list label class=${a(o.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`);
|
|
100
100
|
}
|
|
101
101
|
buildNullCategoryUI() {
|
|
102
|
-
const e = this.model.nullCategory, t = this._messages.nullCategory,
|
|
103
|
-
return l`<calcite-list label class=${a(o.list)} selection-mode=none><calcite-list-item .label=${t} .value=${t} .selected=${this.selectedSeriesIndex === null} @click=${this.openSeriesPopOver}><calcite-icon icon=square-f style=${h({ color:
|
|
102
|
+
const e = this.model.nullCategory, t = this._messages.nullCategory, i = e?.symbol?.color ?? C.nullCategory?.symbol?.color ?? C.grayColor, [s, n, c, d] = [...i], m = `rgba(${s},${n},${c},${d / 255})`;
|
|
103
|
+
return l`<calcite-list label class=${a(o.list)} selection-mode=none><calcite-list-item .label=${t} .value=${t} .selected=${this.selectedSeriesIndex === null} @click=${this.openSeriesPopOver}><calcite-icon icon=square-f style=${h({ color: m })} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
104
104
|
}
|
|
105
105
|
buildMultipleBarTypeList() {
|
|
106
106
|
const e = this.shouldDisableStacking();
|
|
@@ -117,18 +117,18 @@ class D extends M {
|
|
|
117
117
|
}
|
|
118
118
|
onCalciteListOrderChange(e) {
|
|
119
119
|
if (e.detail !== null && e.detail !== void 0) {
|
|
120
|
-
const { newIndex: t, oldIndex:
|
|
121
|
-
this.model.moveSeries(
|
|
120
|
+
const { newIndex: t, oldIndex: i } = e.detail;
|
|
121
|
+
this.model.moveSeries(i ?? 0, t ?? i ?? 0), this.seriesOrderResetCounter += 1;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
openSeriesPopOver(e) {
|
|
125
125
|
e.stopImmediatePropagation(), this.removeSeriesPopover();
|
|
126
|
-
const t = e.target,
|
|
127
|
-
this.open = this.selectedSeriesIndex !==
|
|
126
|
+
const t = e.target, i = t.localName === "calcite-list-item" ? t : t.parentNode, s = this.model.getSeriesIndex(i.value);
|
|
127
|
+
this.open = this.selectedSeriesIndex !== s, this.selectedSeriesIndex = this.selectedSeriesIndex !== s ? s : void 0, this.isNullCategorySelected = i.value === this._messages.nullCategory;
|
|
128
128
|
}
|
|
129
129
|
createTooltip(e) {
|
|
130
|
-
const t = e.target,
|
|
131
|
-
this.tooltip = u(l`<calcite-tooltip style=${h({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${
|
|
130
|
+
const t = e.target, i = (this.model.aggregationType === f.NoAggregation ? this._messages.noAggStackingDisabled : this._messages.singleStackingDisabled) ?? "";
|
|
131
|
+
this.tooltip = u(l`<calcite-tooltip style=${h({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
132
132
|
}
|
|
133
133
|
destroyTooltip() {
|
|
134
134
|
O(this.tooltip);
|
|
@@ -3,11 +3,10 @@ import { c } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css as p, html as h } from "lit";
|
|
4
4
|
import { u as m } from "../../chunks/useT9n.js";
|
|
5
5
|
import { createRef as d, ref as g } from "lit/directives/ref.js";
|
|
6
|
-
import { LitElement as C, createEvent as s, safeClassMap as
|
|
6
|
+
import { LitElement as C, createEvent as s, safeClassMap as n } from "@arcgis/lumina";
|
|
7
7
|
import { e as v } from "../../chunks/popover-ui-utils.js";
|
|
8
8
|
import { aB as f } from "../../chunks/index.js";
|
|
9
|
-
const
|
|
10
|
-
jsAppFlyout: "js-app-flyout",
|
|
9
|
+
const l = {
|
|
11
10
|
panelChildrenContainer: "panel-children-container"
|
|
12
11
|
}, u = p`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`;
|
|
13
12
|
class y extends C {
|
|
@@ -36,14 +35,12 @@ class y extends C {
|
|
|
36
35
|
});
|
|
37
36
|
}
|
|
38
37
|
colorChange(e) {
|
|
39
|
-
const t = e instanceof CustomEvent ? e.detail : e, [
|
|
40
|
-
this.selectedColor = [
|
|
38
|
+
const t = e instanceof CustomEvent ? e.detail : e, [o, i, a] = t, r = f * 255;
|
|
39
|
+
this.selectedColor = [o, i, a, r], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [o, i, a, r] });
|
|
41
40
|
}
|
|
42
41
|
render() {
|
|
43
42
|
const e = this.nullCategory?.symbol?.color ?? this.selectedColor, t = this.nullCategory?.text ?? this.selectedName;
|
|
44
|
-
return h`<div class=${
|
|
45
|
-
[i.jsAppFlyout]: !0
|
|
46
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${g(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${o(i.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div><div class=${o(i.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel></calcite-popover></div>`;
|
|
43
|
+
return h`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${g(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${n(l.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div><div class=${n(l.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel></calcite-popover></div>`;
|
|
47
44
|
}
|
|
48
45
|
}
|
|
49
46
|
c("arcgis-charts-config-bar-chart-series-popover", y);
|
|
@@ -5,7 +5,7 @@ import { css as d, html as s } from "lit";
|
|
|
5
5
|
import { isEqual as r } from "lodash-es";
|
|
6
6
|
import { C as a } from "../../chunks/interfaces.js";
|
|
7
7
|
import { ac as c, I as h } from "../../chunks/index2.js";
|
|
8
|
-
import { h as f } from "../../chunks/
|
|
8
|
+
import { h as f } from "../../chunks/index5.js";
|
|
9
9
|
const m = d`: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 p extends n {
|
|
11
11
|
constructor() {
|
|
@@ -3,9 +3,9 @@ import { c as b } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
4
4
|
import { isEqual as C } from "lodash-es";
|
|
5
5
|
import { repeat as y } from "lit/directives/repeat.js";
|
|
6
|
-
import { a as l, d } from "../../chunks/interfaces.js";
|
|
7
|
-
import { d as S,
|
|
8
|
-
import {
|
|
6
|
+
import { a as l, c as d } from "../../chunks/interfaces.js";
|
|
7
|
+
import { d as S, a as v } from "../../chunks/store.js";
|
|
8
|
+
import { b as $ } from "../../chunks/chart-ui-utils2.js";
|
|
9
9
|
import { u as F } from "../../chunks/useT9n.js";
|
|
10
10
|
import { css as x, nothing as I, html as a } from "lit";
|
|
11
11
|
import { createRef as m, ref as h } from "lit/directives/ref.js";
|
|
@@ -99,7 +99,7 @@ class D extends B {
|
|
|
99
99
|
onCalciteListOrderChange(e) {
|
|
100
100
|
if (e.detail !== null && e.detail !== void 0) {
|
|
101
101
|
const { newIndex: t, oldIndex: s } = e.detail;
|
|
102
|
-
this.model.moveCustomSortValuesInOrderByList(s, t);
|
|
102
|
+
this.model.moveCustomSortValuesInOrderByList(s ?? 0, t ?? s ?? 0);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
onCustomSortItemSelected(e) {
|