@arcgis/charts-components 5.2.0-next.4 → 5.2.0-next.41
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/{2K4ODNJ4.js → 22GC5BZP.js} +1 -1
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/{2HUAW34Q.js → 2R5BXKVB.js} +1 -1
- package/dist/cdn/2VWSSNE6.js +2 -0
- package/dist/cdn/{PC7IKOIB.js → 2WFIFBMW.js} +1 -1
- package/dist/cdn/{ZRFHAQL6.js → 3MRL3AI7.js} +1 -1
- package/dist/cdn/{U2LJZ4ML.js → 3QI7A32R.js} +1 -1
- package/dist/cdn/{SBYD2EKR.js → 3UDKG6TV.js} +1 -1
- package/dist/cdn/3WV4T637.js +2 -0
- package/dist/cdn/{PSO5AURI.js → 3YJRZ7CT.js} +1 -1
- package/dist/cdn/{DCZWZOPF.js → 4ASVJDBN.js} +1 -1
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{Y3CXVO2M.js → 4MSUALRF.js} +1 -1
- package/dist/cdn/4QGMMXRI.js +2 -0
- package/dist/cdn/{TYMKFCF4.js → 4RGS5J3H.js} +1 -1
- package/dist/cdn/4WQF5DM3.js +2 -0
- package/dist/cdn/{LRNADJJG.js → 4ZJHIYGJ.js} +2 -2
- package/dist/cdn/{L4G6FO7A.js → 57VIC2YX.js} +1 -1
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{CHQDKVVQ.js → 5DUKB563.js} +1 -1
- package/dist/cdn/{U4XLNCOU.js → 5SIHKT2T.js} +1 -1
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/{BBURKBKE.js → 6BXPCTBA.js} +1 -1
- package/dist/cdn/{PZGIXDMC.js → 6BZMGEWV.js} +1 -1
- package/dist/cdn/6IKWZMBE.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → 6RG6AF7N.js} +1 -1
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/76ILRLUC.js +2 -0
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{JJIGLOJA.js → 7CGAXWPM.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/{VVKV5KKN.js → 7KYTSBST.js} +1 -1
- package/dist/cdn/{N6AOFBBX.js → 7MEYUIY2.js} +1 -1
- package/dist/cdn/7RFX7LUS.js +102 -0
- package/dist/cdn/7T4W77V3.js +2 -0
- package/dist/cdn/7T5P3U5A.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{5MEQANMY.js → AFE4UMQE.js} +1 -1
- package/dist/cdn/AZHBGLOD.js +2 -0
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{HCMD362H.js → B6GOLH4Q.js} +1 -1
- package/dist/cdn/{HVO4LIXR.js → BAPR67OA.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BYPSLSFP.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{ZFZ5AEUQ.js → C4O77AVT.js} +1 -1
- package/dist/cdn/{R45FWF7D.js → CAOUA6TM.js} +1 -1
- package/dist/cdn/{GL3IXVRN.js → CHFKSXBJ.js} +1 -1
- package/dist/cdn/CHZMNR2R.js +2 -0
- package/dist/cdn/{LONASKGH.js → CMPHWKTI.js} +1 -1
- package/dist/cdn/{3YT44D4Z.js → CXT62XXL.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/D7D3TANP.js +2 -0
- package/dist/cdn/D7FL6CSK.js +2 -0
- package/dist/cdn/DE5QJPJV.js +2 -0
- package/dist/cdn/{DEGBVJ76.js → DGJATKEL.js} +1 -1
- package/dist/cdn/DZP63RLO.js +2 -0
- package/dist/cdn/{LDPHZHSF.js → E47MLNJA.js} +1 -1
- package/dist/cdn/EAXAXRX2.js +2 -0
- package/dist/cdn/{A5GIBV5W.js → EDYALXKT.js} +1 -1
- package/dist/cdn/ELICLP7J.js +2 -0
- package/dist/cdn/EMMV3MPZ.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/F5P4Z43T.js +2 -0
- package/dist/cdn/{A4GEWIPY.js → F7IPTEHX.js} +1 -1
- package/dist/cdn/FBHIZNWF.js +2 -0
- package/dist/cdn/{WASEMNYV.js → FHKRXY7E.js} +1 -1
- package/dist/cdn/FK7GEP3O.js +45 -0
- package/dist/cdn/G3IEARQP.js +2 -0
- package/dist/cdn/{LFQGH44F.js → GEHO65XE.js} +1 -1
- package/dist/cdn/{JVHJMPFE.js → GGN3I7J2.js} +1 -1
- package/dist/cdn/GKXBWOFH.js +2 -0
- package/dist/cdn/{Y7HBWU3M.js → GP3V6A7V.js} +1 -1
- package/dist/cdn/{TF7TE7K5.js → GZZJATH3.js} +1 -1
- package/dist/cdn/{NQQW4GKA.js → HCYQEOJ6.js} +1 -1
- package/dist/cdn/HMBXRL4X.js +2 -0
- package/dist/cdn/{5G7DSKI7.js → HRMCHOLZ.js} +1 -1
- package/dist/cdn/{FF4DUQDZ.js → HRUQXEFI.js} +1 -1
- package/dist/cdn/{ZXOO3X5P.js → HWHKCIYW.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I6CEN2WV.js +2 -0
- package/dist/cdn/{YRBE7MBU.js → I6REUMW3.js} +1 -1
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/IIQVRNZF.js +2 -0
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/J64IDIEG.js +2 -0
- package/dist/cdn/JATS27TM.js +2 -0
- package/dist/cdn/{YOT6DVSU.js → JEW6MSOC.js} +1 -1
- package/dist/cdn/{KZ7LPNX3.js → JNFMKAES.js} +1 -1
- package/dist/cdn/JPPLQW3P.js +2 -0
- package/dist/cdn/JTYCEFWF.js +4 -0
- package/dist/cdn/{WNKDEOFZ.js → JWD4Y2L6.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → K25GJKPH.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/{23YH7MTF.js → KHLGXKN5.js} +1 -1
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{5QO32XSX.js → KS72POQC.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → L5J4TYCU.js} +1 -1
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → LJLL37FG.js} +1 -1
- package/dist/cdn/LN3IK232.js +2 -0
- package/dist/cdn/{RFQBUWOW.js → LSMBD5CK.js} +1 -1
- package/dist/cdn/LSWWNXP3.js +2 -0
- package/dist/cdn/M22IUUVK.js +2 -0
- package/dist/cdn/{MRTKZZTF.js → MBL6ZAKF.js} +1 -1
- package/dist/cdn/{PAIRUVLU.js → MCT4U7MC.js} +1 -1
- package/dist/cdn/{K3GNHGEW.js → MDPDU2BA.js} +1 -1
- package/dist/cdn/{3DK6M5E7.js → MLBDUKS3.js} +1 -1
- package/dist/cdn/MNE46H4A.js +2 -0
- package/dist/cdn/MWARLTCH.js +2 -0
- package/dist/cdn/NG254LPM.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → NYFHPR6N.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → O25MQAZU.js} +1 -1
- package/dist/cdn/O324BBM7.js +2 -0
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{E7OAEGSE.js → OZSAA5YQ.js} +1 -1
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{N5ERJZPG.js → PCODH67Z.js} +1 -1
- package/dist/cdn/PDYF2IZ2.js +2 -0
- package/dist/cdn/PF7KNYUV.js +2 -0
- package/dist/cdn/PGO6DEJM.js +2 -0
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{UKDTXHZT.js → PTQOX5OZ.js} +1 -1
- package/dist/cdn/{ETKPMU7Z.js → Q3ZQR5JF.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → Q5E66RNY.js} +1 -1
- package/dist/cdn/QFDQH5CQ.js +2 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XJFVSX2E.js → QJMUS3VS.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/{THTYR6IL.js → QYNNPEED.js} +1 -1
- package/dist/cdn/{KOBNV5AQ.js → QZ5YUJ7Y.js} +1 -1
- package/dist/cdn/{GV3TT7L5.js → R6T7WJQJ.js} +1 -1
- package/dist/cdn/{KUZR6CGB.js → R6XIGSQS.js} +1 -1
- package/dist/cdn/{VEA5ZR5D.js → RE5QI7WA.js} +1 -1
- package/dist/cdn/{5XTQQOTT.js → RLCLIRL6.js} +1 -1
- package/dist/cdn/RPTZ52MF.js +2 -0
- package/dist/cdn/{TZB57XD4.js → RS37HDC7.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → RTVU7ANC.js} +1 -1
- package/dist/cdn/{WEQBZOH7.js → SDHNDW2J.js} +1 -1
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/{DKAHZ7IX.js → SWEIMWH2.js} +1 -1
- package/dist/cdn/TAGN7GHJ.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/{KFONSKQF.js → TQLMPVI5.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{KLC6NTPC.js → TTTGMEZ7.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → TW4RXJ35.js} +1 -1
- package/dist/cdn/U5FPTPFH.js +2 -0
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/{CJ4POAPM.js → UG37REGM.js} +1 -1
- package/dist/cdn/{PVJEBBA7.js → UNFEHNQQ.js} +1 -1
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{TAI4RIWT.js → USQYT55U.js} +1 -1
- package/dist/cdn/UTJ2ODDK.js +2 -0
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/VAUVQGBW.js +3 -0
- package/dist/cdn/{A5AECJXP.js → VEXNULZX.js} +1 -1
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/WGYVJ5PD.js +2 -0
- package/dist/cdn/WIPAO2FH.js +2 -0
- package/dist/cdn/{7ABIELGZ.js → WKRYWDKZ.js} +1 -1
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/{VDG54AIC.js → WVPMH6DW.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → WWIRRYDD.js} +1 -1
- package/dist/cdn/{XW4PBQNW.js → X6QMN2HV.js} +1 -1
- package/dist/cdn/{IPM2XKST.js → XVK4ONRA.js} +1 -1
- package/dist/cdn/{QOOBNATX.js → XWLP2CHH.js} +1 -1
- package/dist/cdn/XY4HDZKZ.js +2 -0
- package/dist/cdn/{5JML3JUR.js → YABRVLVL.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{LZYN55O4.js → YGGPPIZ7.js} +1 -1
- package/dist/cdn/{RAQZUMC6.js → YLMCVYAS.js} +1 -1
- package/dist/cdn/{XE3FKQFA.js → YS73YUW5.js} +1 -1
- package/dist/cdn/{TNB3MBXR.js → YXG7RVTK.js} +1 -1
- package/dist/cdn/{FDXE5JLT.js → Z7NF4IGS.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → ZCAHK6VZ.js} +1 -1
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/ZQDCFKNT.js +2 -0
- package/dist/cdn/{CLXVAIQX.js → ZYK5XBZK.js} +1 -1
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +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 +7 -7
- package/dist/chunks/bar-chart-model.js +39 -36
- package/dist/chunks/box-plot-data.js +36 -36
- package/dist/chunks/box-plot-model.js +5 -5
- package/dist/chunks/chart-model.js +173 -141
- package/dist/chunks/chart-object-literals.js +2 -1
- package/dist/chunks/chart-ui-utils.js +24 -23
- package/dist/chunks/class-breaks.js +12 -12
- package/dist/chunks/combo-bar-line-chart-model.js +27 -27
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +22 -22
- package/dist/chunks/data.js +68 -68
- package/dist/chunks/gauge-model.js +16 -16
- package/dist/chunks/generate-x-axis-title.js +9 -9
- package/dist/chunks/heat-chart-model.js +47 -27
- package/dist/chunks/histogram-data.js +15 -15
- package/dist/chunks/histogram-model.js +4 -4
- package/dist/chunks/index.js +84 -83
- package/dist/chunks/index2.js +3836 -3664
- package/dist/chunks/index3.js +32 -29
- package/dist/chunks/index4.js +252 -75
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-setter.js +10 -9
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-y-guides.js +12 -12
- package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
- package/dist/chunks/pie-chart-data.js +48 -42
- package/dist/chunks/pie-chart-model.js +173 -160
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +4 -4
- package/dist/chunks/serial-chart-data.js +575 -525
- package/dist/chunks/serial-chart-model.js +107 -93
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +17 -13
- package/dist/chunks/type-guards2.js +24 -20
- package/dist/chunks/type-guards3.js +1 -1
- package/dist/chunks/utils.js +69 -58
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/chunks/x-bounds.js +16 -16
- package/dist/components/arcgis-chart/customElement.d.ts +147 -139
- package/dist/components/arcgis-chart/customElement.js +8568 -8455
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +6 -9
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +25 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +21 -20
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -54
- package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +36 -38
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -56
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -56
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
- package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
- 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 +66 -70
- package/dist/index.js +457 -450
- package/dist/json-schema/index.d.ts +162 -2
- package/dist/loader.js +1 -1
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +8 -5
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +22 -0
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +6 -5
- package/dist/model/mixins/model-with-multi-axes.d.ts +22 -22
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
- 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/properties/rounded-corners.d.ts +18 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +15 -0
- package/dist/model/shared/type-guards.d.ts +7 -0
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +6 -1
- 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 +16 -2
- package/dist/utils/chart-config/converter/index.js +17 -17
- package/dist/utils/chart-config/utils/index.d.ts +35 -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/data/index.d.ts +14 -10
- package/dist/utils/defaults/index.d.ts +5 -3
- package/dist/utils/defaults/interfaces.d.ts +1 -1
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +5 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +2 -1
- package/dist/utils/layer/query-features/index.d.ts +17 -1
- package/dist/utils/layer/query-parser/index.d.ts +4 -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 +7 -8
- package/dist/cdn/24LTTBTF.js +0 -2
- package/dist/cdn/26FWESH3.js +0 -102
- package/dist/cdn/3XHZ677O.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5FMEOIBS.js +0 -3
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/74JAZF7U.js +0 -2
- package/dist/cdn/7HIZH35G.js +0 -2
- package/dist/cdn/CCR46UHB.js +0 -2
- package/dist/cdn/CJPEW4LJ.js +0 -142
- package/dist/cdn/CRFJ2GGS.js +0 -2
- package/dist/cdn/CXQOEN77.js +0 -2
- package/dist/cdn/DYC3Q36R.js +0 -2
- package/dist/cdn/E2N2S7BH.js +0 -2
- package/dist/cdn/E43KEVHT.js +0 -2
- package/dist/cdn/EXTKNE2L.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/F7Y6EWWB.js +0 -2
- package/dist/cdn/G5HVFOIO.js +0 -2
- package/dist/cdn/G7TRU7JI.js +0 -2
- package/dist/cdn/GES3HRXE.js +0 -2
- package/dist/cdn/HCV34H6X.js +0 -2
- package/dist/cdn/IHQ7R6L4.js +0 -4
- package/dist/cdn/IUFXFWXH.js +0 -2
- package/dist/cdn/JHYH555K.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JRRFLDWX.js +0 -58
- package/dist/cdn/KI4HS3AM.js +0 -2
- package/dist/cdn/KVGEY3IQ.js +0 -2
- package/dist/cdn/LWODMEOP.js +0 -2
- package/dist/cdn/LYZGRYQV.js +0 -2
- package/dist/cdn/MF3FGXHI.js +0 -2
- package/dist/cdn/MUPHTV55.js +0 -2
- package/dist/cdn/N524VXQ2.js +0 -2
- package/dist/cdn/NGPMU4T3.js +0 -2
- package/dist/cdn/NJCZ6UTM.js +0 -2
- package/dist/cdn/NMB6TWC2.js +0 -2
- package/dist/cdn/NNNTZU5J.js +0 -2
- package/dist/cdn/NS3THLCD.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/OE3UFORR.js +0 -2
- package/dist/cdn/P2NPQAJ3.js +0 -2
- package/dist/cdn/PJUAU42S.js +0 -2
- package/dist/cdn/PK5XIIZY.js +0 -2
- package/dist/cdn/PY5Q3V6E.js +0 -2
- package/dist/cdn/RMYZGOBM.js +0 -2
- package/dist/cdn/RX3RNE7F.js +0 -2
- package/dist/cdn/TU3UF32Y.js +0 -2
- package/dist/cdn/TXSWWAOF.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UAJGYF4S.js +0 -2
- package/dist/cdn/UT6G7RV7.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WO6JBNMU.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/ZRZEKOEF.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/time-zone.js +0 -38
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as D } from "../../chunks/runtime.js";
|
|
3
3
|
import { LitElement as E, createEvent as P, renderElement as M, safeClassMap as o, safeStyleMap as x } from "@arcgis/lumina";
|
|
4
|
-
import {
|
|
4
|
+
import { normalizeLocale as w, defaultLocale as I } from "@arcgis/toolkit/intl";
|
|
5
|
+
import { getElementLocale as N } from "@arcgis/toolkit/intl/dom";
|
|
5
6
|
import { css as _, html as i } from "lit";
|
|
6
7
|
import { createRef as n, ref as c } from "lit/directives/ref.js";
|
|
7
8
|
import { parseInt as O, camelCase as H } from "lodash-es";
|
|
8
9
|
import { DateTime as L } from "luxon";
|
|
9
10
|
import { F as B, d as T, x as U } from "../../chunks/index3.js";
|
|
10
11
|
import { u as R } from "../../chunks/useT9n.js";
|
|
11
|
-
import { e as l, W as
|
|
12
|
+
import { e as l, W as u } from "../../chunks/interfaces.js";
|
|
12
13
|
import { x as W } from "../../chunks/data.js";
|
|
13
14
|
import { i as V } from "../../chunks/utils.js";
|
|
14
15
|
import { l as v, s as q } from "../../chunks/chart-ui-utils2.js";
|
|
15
|
-
import { e as $, g as K, d as
|
|
16
|
-
import { e as
|
|
16
|
+
import { e as $, g as K, d as z, j as X } from "../../chunks/class-breaks.js";
|
|
17
|
+
import { e as Z, a as j } from "../../chunks/store.js";
|
|
17
18
|
import { H as G } from "../../chunks/common.js";
|
|
18
19
|
import { i as Y } from "../../chunks/rest-js-object-literals.js";
|
|
19
|
-
import { r as d, m as h, d as
|
|
20
|
-
import {
|
|
20
|
+
import { r as d, m as h, d as C, u as m, h as f, e as F, i as J } from "../../chunks/chart-object-literals.js";
|
|
21
|
+
import { u as Q, k as ee, l as g } from "../../chunks/index.js";
|
|
21
22
|
import { an as S } from "../../chunks/index2.js";
|
|
22
23
|
import { i as ae } from "../../chunks/index4.js";
|
|
23
24
|
import { r as te } from "../../chunks/popover-ui-utils.js";
|
|
@@ -125,18 +126,18 @@ class le extends E {
|
|
|
125
126
|
return this.requestedBreaksCount ?? this.model.breaksCount ?? B.classBreaks.breaksCount;
|
|
126
127
|
}
|
|
127
128
|
getFirstDayOfWeek() {
|
|
128
|
-
const { lang: e } =
|
|
129
|
-
return L.local().setLocale(e).startOf("week", { useLocaleWeeks: a !==
|
|
129
|
+
const { lang: e } = N(this.el ?? document.documentElement), a = w(e);
|
|
130
|
+
return L.local().setLocale(e).startOf("week", { useLocaleWeeks: a !== I }).weekday;
|
|
130
131
|
}
|
|
131
132
|
applyCalendarTypePreset(e) {
|
|
132
133
|
switch (e) {
|
|
133
|
-
case
|
|
134
|
+
case u.YearByMonthAndDayOfMonth: {
|
|
134
135
|
const a = {
|
|
135
136
|
type: m.CalendarDateParts,
|
|
136
|
-
unit:
|
|
137
|
+
unit: C.DayOfMonth
|
|
137
138
|
}, t = {
|
|
138
139
|
type: m.CalendarDateParts,
|
|
139
|
-
unit:
|
|
140
|
+
unit: C.MonthOfYear
|
|
140
141
|
};
|
|
141
142
|
this.model.xTemporalBinning = a, this.model.setAxisValueFormat(0, {
|
|
142
143
|
type: m.DateAxisFormat,
|
|
@@ -147,13 +148,13 @@ class le extends E {
|
|
|
147
148
|
});
|
|
148
149
|
break;
|
|
149
150
|
}
|
|
150
|
-
case
|
|
151
|
+
case u.WeekByDayOfWeekAndHourOfDay: {
|
|
151
152
|
const a = {
|
|
152
153
|
type: m.CalendarDateParts,
|
|
153
|
-
unit:
|
|
154
|
+
unit: C.HourOfDay
|
|
154
155
|
}, t = {
|
|
155
156
|
type: m.CalendarDateParts,
|
|
156
|
-
unit:
|
|
157
|
+
unit: C.DayOfWeek
|
|
157
158
|
};
|
|
158
159
|
this.model.firstDayOfWeek = this.getFirstDayOfWeek(), this.model.xTemporalBinning = a, this.model.setAxisValueFormat(0, {
|
|
159
160
|
type: m.DateAxisFormat,
|
|
@@ -168,7 +169,7 @@ class le extends E {
|
|
|
168
169
|
}
|
|
169
170
|
async generateClassBreaks(e = !1) {
|
|
170
171
|
let a = [];
|
|
171
|
-
const t = this.model.chartRenderer?.classBreakInfos, s =
|
|
172
|
+
const t = this.model.chartRenderer?.classBreakInfos, s = Z(j);
|
|
172
173
|
return s && (a = await K({
|
|
173
174
|
data: s,
|
|
174
175
|
xAxisField: this.model.xAxisField,
|
|
@@ -194,7 +195,7 @@ class le extends E {
|
|
|
194
195
|
}
|
|
195
196
|
async generateAndUpdateClassBreaks(e = !1) {
|
|
196
197
|
const a = this.getRequestedBreaksCount(), t = await this.generateClassBreaks(e);
|
|
197
|
-
|
|
198
|
+
z({
|
|
198
199
|
currentBreaks: t,
|
|
199
200
|
configBreaks: this.model.chartRenderer?.classBreakInfos ?? [],
|
|
200
201
|
treatReversedColorsAsEqual: !e
|
|
@@ -239,7 +240,7 @@ class le extends E {
|
|
|
239
240
|
this.model.includeLeapDay = a;
|
|
240
241
|
}
|
|
241
242
|
onNullPolicyChange(e) {
|
|
242
|
-
this.model.nullPolicy = e.target.selectedItem
|
|
243
|
+
this.model.nullPolicy = e.target.selectedItem?.value;
|
|
243
244
|
}
|
|
244
245
|
setupPopover(e) {
|
|
245
246
|
e.stopImmediatePropagation(), this.removeHeatChartDataPopover();
|
|
@@ -276,7 +277,7 @@ class le extends E {
|
|
|
276
277
|
this.heatChartPopover !== null && (this.heatChartPopover.open = !1, this.heatChartPopover = te(this.heatChartPopover));
|
|
277
278
|
}
|
|
278
279
|
setDefaultPropertiesForCalendarHeatChart() {
|
|
279
|
-
V(this.model?.config) || ((this.model.xTemporalBinning === void 0 || this.model.yTemporalBinning === void 0) && this.applyCalendarTypePreset(
|
|
280
|
+
V(this.model?.config) || ((this.model.xTemporalBinning === void 0 || this.model.yTemporalBinning === void 0) && this.applyCalendarTypePreset(u.YearByMonthAndDayOfMonth), this.model.yAxisField = this.model.xAxisField, this.model.setYAxisSortOrder(G.Desc), this.model.classificationMethod === void 0 && (this.model.classificationMethod = F.naturalBreaks), this.model.heatRulesType !== f.Renderer && (this.model.heatRulesType = f.Renderer), this.model.viewType === void 0 && (this.model.viewType = J.singleCalendarView), (this.model.aggregationType === d.Count || this.model.aggregationType === d.Sum) && this.model.nullPolicy !== h.Zero && (this.model.nullPolicy = h.Zero), this.model.colorRampName = $.defaultColorRampForCharts?.name);
|
|
280
281
|
}
|
|
281
282
|
renderXAxisFieldSelect() {
|
|
282
283
|
const e = this.getCorrectedXAxisFieldValue();
|
|
@@ -307,7 +308,7 @@ class le extends E {
|
|
|
307
308
|
}
|
|
308
309
|
renderColorRampSelect() {
|
|
309
310
|
const e = this.model.chartRenderer?.classBreakInfos?.map((a) => {
|
|
310
|
-
const t = a !== void 0 ?
|
|
311
|
+
const t = a !== void 0 ? X(a.symbol.color) : "#FFFFFF";
|
|
311
312
|
return i`<div class=${o(r.colorRampSegment)} style=${x({ backgroundColor: t, width: `${100 / this.model.breaksCount}%` })}></div>`;
|
|
312
313
|
});
|
|
313
314
|
return i`<arcgis-charts-config-field-select label @click=${this.onColorSchemeSelect} ${c(this.colorSchemeElement)}><div slot=fieldSelectSlot class=${o(r.colorRamp)}>${e}</div></arcgis-charts-config-field-select>`;
|
|
@@ -325,7 +326,7 @@ class le extends E {
|
|
|
325
326
|
}
|
|
326
327
|
render() {
|
|
327
328
|
const e = this.renderXAxisFieldSelect(), a = this.renderAggregation(), t = this.renderNumericFieldsSelect(), s = this.renderCalendarTypeSelect(), p = this.renderClassBreakMethodSelect(), y = this.renderColorRampSelect(), b = this.renderClassBreaksTable(), k = this.renderNullUI(), A = this.renderEmptyBins();
|
|
328
|
-
return i`<calcite-label class=${o(r.label)}>${this._messages.dateRequired}${e}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.calendarType}${s}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.aggregation}${a}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numericField}${t}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.method}${p}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numberOfClasses}<calcite-input type=number .min=${g.min} .max=${g.max} .disabled=${this.model.classificationMethod === void 0 || this.model.classificationMethod === F.manual} step=1 .value=${q(this.model.breaksCount, 5)} @calciteInputInput=${this.onBreaksCountChange} ${c(this.breaksCountElement)}></calcite-input></calcite-label><calcite-label class=${o(r.label)}>${this._messages.colorScheme}${y}</calcite-label>${k}<calcite-accordion class=${o(r.accordion)} appearance=transparent selection-mode=single><calcite-accordion-item .heading=${this._messages.classBreaks}>${b}</calcite-accordion-item></calcite-accordion><calcite-label class=${o(r.label)}>${this._messages.emptyBins}${A}</calcite-label>${v(this.model) ===
|
|
329
|
+
return i`<calcite-label class=${o(r.label)}>${this._messages.dateRequired}${e}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.calendarType}${s}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.aggregation}${a}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numericField}${t}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.method}${p}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numberOfClasses}<calcite-input type=number .min=${g.min} .max=${g.max} .disabled=${this.model.classificationMethod === void 0 || this.model.classificationMethod === F.manual} step=1 .value=${q(this.model.breaksCount, 5)} @calciteInputInput=${this.onBreaksCountChange} ${c(this.breaksCountElement)}></calcite-input></calcite-label><calcite-label class=${o(r.label)}>${this._messages.colorScheme}${y}</calcite-label>${k}<calcite-accordion class=${o(r.accordion)} appearance=transparent selection-mode=single><calcite-accordion-item .heading=${this._messages.classBreaks}>${b}</calcite-accordion-item></calcite-accordion><calcite-label class=${o(r.label)}>${this._messages.emptyBins}${A}</calcite-label>${v(this.model) === u.YearByMonthAndDayOfMonth ? i`<calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.includeLeapDay}<calcite-switch .checked=${this.model.includeLeapDay} @calciteSwitchChange=${this.onIncludeLeapDayChange}></calcite-switch></calcite-label>` : null}`;
|
|
329
330
|
}
|
|
330
331
|
}
|
|
331
332
|
D("arcgis-charts-config-heat-chart-data", le);
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as F } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as d } from "lit/directives/repeat.js";
|
|
4
|
-
import { css as
|
|
4
|
+
import { css as T, html as l } from "lit";
|
|
5
5
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
6
|
-
import
|
|
7
|
-
import { LitElement as
|
|
6
|
+
import P from "@arcgis/core/Color.js";
|
|
7
|
+
import { LitElement as I, createEvent as h, safeClassMap as r, nothing as g, safeStyleMap as L } from "@arcgis/lumina";
|
|
8
8
|
import { createRef as u, ref as p } from "lit/directives/ref.js";
|
|
9
9
|
import { isEqual as S } from "lodash-es";
|
|
10
|
-
import { d as
|
|
11
|
-
import { u as
|
|
10
|
+
import { d as D, F as v } from "../../chunks/index3.js";
|
|
11
|
+
import { u as b } from "../../chunks/useT9n.js";
|
|
12
12
|
import { e as c, W as $ } from "../../chunks/interfaces.js";
|
|
13
|
-
import { c as y, b as
|
|
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
|
-
import { e as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
const
|
|
21
|
-
jsAppFlyout: "js-app-flyout",
|
|
17
|
+
import { e as N } from "../../chunks/popover-ui-utils.js";
|
|
18
|
+
import { u as B, aC as M } from "../../chunks/index.js";
|
|
19
|
+
import { bb as H, bk as O } from "../../chunks/index2.js";
|
|
20
|
+
const q = T`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.panel{max-height:60vh}.color-ramp-popover{display:flex;flex-direction:column;gap:.75rem;min-width:320px;max-width:480px}.color-ramp-toolbar{display:flex;gap:.5rem;align-items:center;padding:5px 5px 0}.ramp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem;max-height:300px;overflow:auto;padding:.25rem}.ramp-item{display:flex;flex-direction:column;border:1px solid var(--calcite-color-foreground-3);background:var(--calcite-color-foreground-1);cursor:pointer;box-shadow:inset 0 0 0 1px transparent;transition:box-shadow .12s;border-radius:2px;min-height:56px;padding:4px}.ramp-item:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}.ramp-name{font-size:.625rem;line-height:1;padding:2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-3)}.ramp-item.selected{background-color:var(--calcite-color-brand)!important;border-color:var(--calcite-color-brand)!important;outline:2px solid var(--calcite-color-brand)!important;color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-name{color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-strip{box-shadow:none;border:none}.ramp-strips{display:flex;flex:1;height:28px;width:100%;overflow:hidden}.ramp-strip{flex:1;min-width:0}.ramp-strip-fallback{background:repeating-linear-gradient(45deg,var(--calcite-color-foreground-3) 0,var(--calcite-color-foreground-3) 5px,var(--calcite-color-foreground-2) 5px,var(--calcite-color-foreground-2) 10px)}.ramp-empty{grid-column:1/-1;font-size:.75rem;color:var(--calcite-color-text-3)}.panel-children-container{display:flex;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
|
+
popoverPickList: "popover-pick-list",
|
|
25
24
|
panel: "panel",
|
|
26
25
|
colorRampPopover: "color-ramp-popover",
|
|
27
26
|
colorRampToolbar: "color-ramp-toolbar",
|
|
@@ -35,50 +34,50 @@ 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 I {
|
|
39
38
|
constructor() {
|
|
40
|
-
super(...arguments), this._messages =
|
|
39
|
+
super(...arguments), this._messages = b(), this.commonStrings = b({ 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
|
}
|
|
42
41
|
static {
|
|
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();
|
|
50
49
|
}
|
|
51
50
|
willUpdate() {
|
|
52
|
-
const e = y.map((t) =>
|
|
51
|
+
const e = y.map((t) => B(t, this.commonStrings));
|
|
53
52
|
S(this.aggregationLabels, e) || (this.aggregationLabels = e), this.colorRamps && this.colorRamps !== this.availableColorRamps && (this.availableColorRamps = this.colorRamps), this.contentKind === c.colorScheme && this.selectedContent && !this.selectedColorRampName && (this.selectedColorRampName = this.selectedContent);
|
|
54
53
|
}
|
|
55
54
|
updated() {
|
|
56
55
|
setTimeout(() => {
|
|
57
56
|
this.picklist.value?.setFocus();
|
|
58
|
-
},
|
|
57
|
+
}, A.PopoverTimer), N(this.popoverElement.value, this.open);
|
|
59
58
|
}
|
|
60
59
|
buildAggregationListItems() {
|
|
61
|
-
return d(y.filter((e) => e !== _.NoAggregation), (e) => e, (e, t) =>
|
|
60
|
+
return d(y.filter((e) => e !== _.NoAggregation), (e) => e, (e, t) => l`<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,
|
|
63
|
+
return f(e.name, l`<calcite-list-item .label=${D(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${m(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
65
64
|
}
|
|
66
65
|
buildPickListItems(e) {
|
|
67
66
|
const t = this.layerFieldsInfo?.length ?? 0, a = [];
|
|
68
67
|
switch (e) {
|
|
69
68
|
case c.numericFields: {
|
|
70
|
-
const i = f(" ",
|
|
69
|
+
const i = f(" ", l`<calcite-list-item label=" " value=" " .selected=${m("", this.selectedContent)}></calcite-list-item>`);
|
|
71
70
|
a.push(i);
|
|
72
|
-
for (let
|
|
73
|
-
const n = this.layerFieldsInfo?.[
|
|
74
|
-
n &&
|
|
71
|
+
for (let o = 0; o < t; o += 1) {
|
|
72
|
+
const n = this.layerFieldsInfo?.[o];
|
|
73
|
+
n && O(n) && a.push(this.buildPickListItem(n));
|
|
75
74
|
}
|
|
76
75
|
break;
|
|
77
76
|
}
|
|
78
77
|
case c.xAxisField: {
|
|
79
78
|
for (let i = 0; i < t; i += 1) {
|
|
80
|
-
const
|
|
81
|
-
|
|
79
|
+
const o = this.layerFieldsInfo?.[i];
|
|
80
|
+
o && H(o) && a.push(this.buildPickListItem(o));
|
|
82
81
|
}
|
|
83
82
|
break;
|
|
84
83
|
}
|
|
@@ -114,16 +113,16 @@ class q extends T {
|
|
|
114
113
|
let t = "#000000";
|
|
115
114
|
try {
|
|
116
115
|
if (e) {
|
|
117
|
-
if (e instanceof
|
|
116
|
+
if (e instanceof P) {
|
|
118
117
|
const a = e.toHex();
|
|
119
118
|
typeof a == "string" && a.length && (t = a);
|
|
120
119
|
} else if (Array.isArray(e)) {
|
|
121
|
-
const [a, i,
|
|
122
|
-
[a, i,
|
|
120
|
+
const [a, i, o, n] = e;
|
|
121
|
+
[a, i, o].every((w) => typeof w == "number") && (t = `rgba(${a},${i},${o},${n ?? 1})`);
|
|
123
122
|
} else if (typeof e == "object" && e) {
|
|
124
|
-
const { r: a, g: i, b:
|
|
125
|
-
if (a != null && i != null &&
|
|
126
|
-
return `rgba(${a},${i},${
|
|
123
|
+
const { r: a, g: i, b: o, a: n } = e;
|
|
124
|
+
if (a != null && i != null && o != null)
|
|
125
|
+
return `rgba(${a},${i},${o},${n ?? 1})`;
|
|
127
126
|
}
|
|
128
127
|
}
|
|
129
128
|
} catch {
|
|
@@ -164,34 +163,34 @@ class q extends T {
|
|
|
164
163
|
this.model.emptyCellText !== t && (this.model.emptyCellText = t, this.arcgisChartsConfigPopoverEmptyCellNameChange.emit({ name: t }));
|
|
165
164
|
}
|
|
166
165
|
colorChange(e) {
|
|
167
|
-
const t = e instanceof CustomEvent ? e.detail : e, [a, i,
|
|
168
|
-
this.arcgisChartsConfigPopoverEmptyCellColorChange.emit({ color: [a, i,
|
|
166
|
+
const t = e instanceof CustomEvent ? e.detail : e, [a, i, o] = t, n = M * 255;
|
|
167
|
+
this.arcgisChartsConfigPopoverEmptyCellColorChange.emit({ color: [a, i, o, n] });
|
|
169
168
|
}
|
|
170
169
|
renderAggregationType() {
|
|
171
170
|
const e = this.buildAggregationListItems();
|
|
172
|
-
return
|
|
171
|
+
return l`<calcite-list label class=${r(s.popoverPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
173
172
|
}
|
|
174
173
|
renderXAxisFieldSelect() {
|
|
175
174
|
const e = this.buildPickListItems(c.xAxisField);
|
|
176
|
-
return
|
|
175
|
+
return l`<calcite-list label class=${r(s.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
177
176
|
}
|
|
178
177
|
renderNumericFields() {
|
|
179
178
|
const e = this.buildPickListItems(c.numericFields);
|
|
180
|
-
return
|
|
179
|
+
return l`<calcite-list label class=${r(s.popoverPickList)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
181
180
|
}
|
|
182
181
|
renderCalendarType() {
|
|
183
182
|
const e = this.layerFieldsInfo.find((i) => i.name === this.model.xAxisField), t = Object.values($).filter((i) => i !== $.WeekByDayOfWeekAndHourOfDay || e?.type !== E.DateOnly), a = d(t, (i) => i, (i) => {
|
|
184
|
-
const
|
|
185
|
-
return
|
|
183
|
+
const o = this._messages[i];
|
|
184
|
+
return l`<calcite-list-item .label=${o} .value=${i} .selected=${m(i, this.selectedContent)}></calcite-list-item>`;
|
|
186
185
|
});
|
|
187
|
-
return
|
|
186
|
+
return l`<calcite-list label class=${r(s.popoverPickList)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${a}</calcite-list>`;
|
|
188
187
|
}
|
|
189
188
|
renderCalendarViewType() {
|
|
190
189
|
const e = d(Object.values(R), (t) => t, (t) => {
|
|
191
190
|
const a = this._messages[t];
|
|
192
|
-
return
|
|
191
|
+
return l`<calcite-list-item .label=${a} .value=${t} .disabled=${t !== R.singleCalendarView} .selected=${m(t, this.selectedContent)}></calcite-list-item>`;
|
|
193
192
|
});
|
|
194
|
-
return
|
|
193
|
+
return l`<calcite-list label class=${r(s.popoverPickList)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
195
194
|
}
|
|
196
195
|
renderClassBreakMethod() {
|
|
197
196
|
const e = [
|
|
@@ -211,10 +210,10 @@ class q extends T {
|
|
|
211
210
|
msg: this._messages?.classBreaksMethod?.quantileMsg
|
|
212
211
|
}
|
|
213
212
|
], t = d(Object.values(e), ({ value: a }) => a, (a) => {
|
|
214
|
-
const { title: i, msg:
|
|
215
|
-
return
|
|
213
|
+
const { title: i, msg: o, value: n } = a;
|
|
214
|
+
return l`<calcite-list-item .label=${i} .description=${o} .value=${n} .selected=${m(n, this.selectedContent)}></calcite-list-item>`;
|
|
216
215
|
});
|
|
217
|
-
return
|
|
216
|
+
return l`<calcite-list label class=${r(s.popoverPickList)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${t}</calcite-list>`;
|
|
218
217
|
}
|
|
219
218
|
renderPopoverInfo() {
|
|
220
219
|
let e;
|
|
@@ -244,27 +243,27 @@ class q extends T {
|
|
|
244
243
|
e = this.renderEmptyCellUI();
|
|
245
244
|
break;
|
|
246
245
|
default:
|
|
247
|
-
e =
|
|
246
|
+
e = l`<div></div>`;
|
|
248
247
|
break;
|
|
249
248
|
}
|
|
250
249
|
return e;
|
|
251
250
|
}
|
|
252
251
|
renderColorRampSelect() {
|
|
253
252
|
const e = this.filterColorRamps(), t = this._messages?.colorRampCategories ? this._messages.colorRampCategories[this.selectedCategory] : this.selectedCategory;
|
|
254
|
-
return
|
|
255
|
-
const i = this.getRampColors(a),
|
|
256
|
-
return
|
|
253
|
+
return l`<div class=${r(s.colorRampPopover)}><div class=${r(s.colorRampToolbar)}><calcite-dropdown selection-mode=single placement=bottom-start @calciteDropdownSelect=${this.onCategoryDropdownSelect}><calcite-button slot=trigger appearance=outline icon-end=chevron-down>${t}</calcite-button><calcite-dropdown-group group-title=${this._messages?.colorRamp?.allCategories ?? "All color ramps" ?? g}>${Object.keys(k).map((a) => l`<calcite-dropdown-item data-tag=${a ?? g} .selected=${this.selectedCategory === a}>${this._messages?.colorRampCategories ? this._messages.colorRampCategories[a] : a}</calcite-dropdown-item>`)}</calcite-dropdown-group></calcite-dropdown><calcite-button appearance=outline icon-start=arrow-up-down @click=${this.onFlipAll}>${this._messages?.colorRamp?.flipRampColors}</calcite-button></div><div class=${r(s.rampGrid)}>${e.length === 0 && l`<div class=${r(s.rampEmpty)}>${this._messages?.colorRamp?.noRamps} ${this.selectedCategory !== "all" ? `"${this.selectedCategory}"` : ""}</div>` || ""}${e.map((a) => {
|
|
254
|
+
const i = this.getRampColors(a), o = a.name === this.selectedColorRampName;
|
|
255
|
+
return l`<div class=${`${s.rampItem} ${o ? "selected" : ""}`} title=${a.name ?? g} @click=${() => this.onRampSelect(a)}><div class=${r(s.rampName)} aria-hidden=true>${a.name}</div><div class=${r(s.rampStrips)}>${d(i, (n) => n, (n) => l`<div class=${r(s.rampStrip)} style=${L({ backgroundColor: this.rampColorToCss(n) })}></div>`)}${i.length === 0 && l`<div class=${`${s.rampStrip} ${s.rampStripFallback}`}></div>` || ""}</div></div>`;
|
|
257
256
|
})}</div><div class=${r(s.colorRampPopoverFooter)}><calcite-button appearance=solid kind=brand @click=${this.closePopover}>${this._messages?.colorRamp?.done}</calcite-button></div></div>`;
|
|
258
257
|
}
|
|
259
258
|
renderEmptyCellUI() {
|
|
260
|
-
const e = this.model.emptyCellSymbol?.color ??
|
|
261
|
-
return
|
|
259
|
+
const e = this.model.emptyCellSymbol?.color ?? v.grayColor, t = this.model.emptyCellText ?? v.nullCategory?.text ?? "";
|
|
260
|
+
return l`<div><div class=${r(s.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.nameChange}></calcite-input></calcite-label></div><div class=${r(s.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages?.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></div>`;
|
|
262
261
|
}
|
|
263
262
|
render() {
|
|
264
|
-
return
|
|
263
|
+
return l`<div><calcite-popover class=${r(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${r(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${r(s.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${void 0}</calcite-panel></calcite-popover></div>`;
|
|
265
264
|
}
|
|
266
265
|
}
|
|
267
|
-
|
|
266
|
+
F("arcgis-charts-config-heat-chart-popover", W);
|
|
268
267
|
export {
|
|
269
|
-
|
|
268
|
+
W as ArcgisChartsConfigHeatChartPopover
|
|
270
269
|
};
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
import { c as l } from "../../chunks/runtime.js";
|
|
3
3
|
import { isEqual as r } from "lodash-es";
|
|
4
4
|
import { LitElement as n } from "@arcgis/lumina";
|
|
5
|
-
import { css as h, html as
|
|
6
|
-
import { C as
|
|
7
|
-
import { ac as d,
|
|
8
|
-
import { p as
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
import { css as h, html as i } from "lit";
|
|
6
|
+
import { C as o } from "../../chunks/interfaces.js";
|
|
7
|
+
import { ac as d, bx as c, aw as m, I as f } from "../../chunks/index2.js";
|
|
8
|
+
import { p as g, h as p } from "../../chunks/index5.js";
|
|
9
|
+
import { d as u } from "../../chunks/type-guards.js";
|
|
10
|
+
const C = 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%}`;
|
|
11
|
+
class y extends n {
|
|
11
12
|
constructor() {
|
|
12
13
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
13
14
|
const s = e?.detail.config ?? this.model.config;
|
|
@@ -18,7 +19,7 @@ class u extends n {
|
|
|
18
19
|
this.properties = { layerFieldsInfo: 16, model: 0, chartData: 0, seriesColor: 0, calculatedMinMaxBounds: 0, page: 1, layer: 0, usePopupTemplateFieldsInfo: 5, popupTemplateFieldInfosEnabled: 5 };
|
|
19
20
|
}
|
|
20
21
|
static {
|
|
21
|
-
this.styles =
|
|
22
|
+
this.styles = C;
|
|
22
23
|
}
|
|
23
24
|
async load() {
|
|
24
25
|
this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model);
|
|
@@ -35,35 +36,39 @@ class u extends n {
|
|
|
35
36
|
}
|
|
36
37
|
seriesColorChange(e) {
|
|
37
38
|
this.model.colorMatch && e?.forEach((a) => {
|
|
38
|
-
|
|
39
|
+
g(a) && e?.get(0) !== void 0 && !r(this.model.binSymbol, a) && (this.model.binSymbol = a);
|
|
39
40
|
});
|
|
40
41
|
}
|
|
41
42
|
async updateFetchLayerFieldsInfo(e) {
|
|
42
43
|
const a = e ?? this.model.config;
|
|
43
44
|
let s = this.layer;
|
|
44
45
|
if (!s) {
|
|
45
|
-
const
|
|
46
|
-
|
|
46
|
+
const t = p(a) ? a.iLayer : void 0;
|
|
47
|
+
t && (s = await d(t));
|
|
48
|
+
}
|
|
49
|
+
if (s) {
|
|
50
|
+
await c(s);
|
|
51
|
+
const t = this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled;
|
|
52
|
+
this.layerFieldsInfo = u(s) ? m({ layer: s, popupTemplateFieldInfosEnabled: t, chartType: a?.type }) : f(s, t);
|
|
47
53
|
}
|
|
48
|
-
s && (await c(s), this.layerFieldsInfo = m(s, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled));
|
|
49
54
|
}
|
|
50
55
|
render() {
|
|
51
56
|
let e;
|
|
52
57
|
switch (this.page) {
|
|
53
|
-
case
|
|
54
|
-
e =
|
|
58
|
+
case o.Data:
|
|
59
|
+
e = i`<arcgis-charts-config-histogram-data .model=${this.model} .meanValue=${this.chartData?.mean} .medianValue=${this.chartData?.median} .standardDevValue=${this.chartData?.stddev} .minValue=${this.chartData?.min} .maxValue=${this.chartData?.max} .sumValue=${this.chartData?.sum} .nullsValue=${this.chartData?.nulls} .countValue=${this.chartData?.count} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-histogram-data>`;
|
|
55
60
|
break;
|
|
56
|
-
case
|
|
57
|
-
e =
|
|
61
|
+
case o.Axes:
|
|
62
|
+
e = i`<arcgis-charts-config-axes .model=${this.model} show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;
|
|
58
63
|
break;
|
|
59
|
-
case
|
|
60
|
-
e =
|
|
64
|
+
case o.Guides:
|
|
65
|
+
e = i`<arcgis-charts-config-guides .model=${this.model} enable-y-axis-guide></arcgis-charts-config-guides>`;
|
|
61
66
|
break;
|
|
62
|
-
case
|
|
63
|
-
e =
|
|
67
|
+
case o.Format:
|
|
68
|
+
e = i`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;
|
|
64
69
|
break;
|
|
65
|
-
case
|
|
66
|
-
e =
|
|
70
|
+
case o.General:
|
|
71
|
+
e = i`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;
|
|
67
72
|
break;
|
|
68
73
|
default:
|
|
69
74
|
e = "";
|
|
@@ -72,7 +77,7 @@ class u extends n {
|
|
|
72
77
|
return e;
|
|
73
78
|
}
|
|
74
79
|
}
|
|
75
|
-
l("arcgis-charts-config-histogram",
|
|
80
|
+
l("arcgis-charts-config-histogram", y);
|
|
76
81
|
export {
|
|
77
|
-
|
|
82
|
+
y as ArcgisChartsConfigHistogram
|
|
78
83
|
};
|
|
@@ -9,11 +9,11 @@ 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";
|
|
11
11
|
import { LitElement as B, createEvent as $, renderElement as _, safeStyleMap as O, safeClassMap as o } from "@arcgis/lumina";
|
|
12
|
-
import {
|
|
12
|
+
import { r as H, G as K } from "../../chunks/index.js";
|
|
13
13
|
import { d as A } from "../../chunks/index3.js";
|
|
14
|
-
import {
|
|
15
|
-
import { r as
|
|
16
|
-
import { i as
|
|
14
|
+
import { d as U } from "../../chunks/type-guards.js";
|
|
15
|
+
import { r as z } from "../../chunks/popover-ui-utils.js";
|
|
16
|
+
import { i as R } from "../../chunks/rest-js-object-literals.js";
|
|
17
17
|
import { g as u } from "../../chunks/chart-object-literals.js";
|
|
18
18
|
const l = {
|
|
19
19
|
label: "label",
|
|
@@ -23,8 +23,8 @@ const l = {
|
|
|
23
23
|
sectionLabel: "section-label",
|
|
24
24
|
binTextPadding: "bin-text-padding",
|
|
25
25
|
histogramStatsList: "histogram-stats-list"
|
|
26
|
-
},
|
|
27
|
-
class
|
|
26
|
+
}, j = 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)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}calcite-list-item{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor)}.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}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.row{padding-top:1rem}.bin-count-container{display:flex;flex-wrap:wrap;padding:var(--arcgis-charts-config-margin-minor)}.bin-count-container>calcite-slider{flex-grow:10;min-width:50%}.bin-count-container>calcite-input{margin-bottom:.5rem;margin-top:var(--arcgis-charts-config-margin-minor);margin-left:var(--arcgis-charts-config-margin-minor);width:5rem}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.bin-text-padding{margin-left:var(--arcgis-charts-config-margin-minor)}.histogram-stats-list{pointer-events:none;margin-bottom:var(--arcgis-charts-config-margin-minor)}`;
|
|
27
|
+
class q 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;
|
|
@@ -89,7 +89,7 @@ class j extends B {
|
|
|
89
89
|
this.properties = { binColorSelected: 16, selectedBinColorSymbol: 16, selectedOverlaySymbol: 16, selectedNumericalField: 16, selectedTransformationType: 16, selectedOverlaySymbolType: 1, messageOverrides: 0, model: 0, meanValue: 9, medianValue: 9, standardDevValue: 9, minValue: 9, maxValue: 9, sumValue: 9, nullsValue: 9, countValue: 9, layerFieldsInfo: 0, open: 5 };
|
|
90
90
|
}
|
|
91
91
|
static {
|
|
92
|
-
this.styles =
|
|
92
|
+
this.styles = j;
|
|
93
93
|
}
|
|
94
94
|
get selectedBinColorSymbol() {
|
|
95
95
|
return this._selectedBinColorSymbol;
|
|
@@ -110,7 +110,7 @@ class j extends B {
|
|
|
110
110
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
111
111
|
}
|
|
112
112
|
removeHistogramDataPopover() {
|
|
113
|
-
this.histogramPopover !== null && (this.histogramPopover =
|
|
113
|
+
this.histogramPopover !== null && (this.histogramPopover = z(this.histogramPopover));
|
|
114
114
|
}
|
|
115
115
|
getDataTransformationLabel() {
|
|
116
116
|
let e;
|
|
@@ -174,7 +174,7 @@ class j extends B {
|
|
|
174
174
|
}));
|
|
175
175
|
}
|
|
176
176
|
onColorElementSelect(e, t, i) {
|
|
177
|
-
this.binColorSelected = i === void 0, e.type ===
|
|
177
|
+
this.binColorSelected = i === void 0, e.type === R.SFS ? (this.selectedOverlaySymbol = void 0, this.selectedBinColorSymbol = e, this.contentKind = d.fillSymbol) : (this.selectedBinColorSymbol = void 0, this.selectedOverlaySymbol = e, this.overlaySectionElement = i, this.contentKind = d.lineSymbol), this.popoverHeading = t, this.setupPopover();
|
|
178
178
|
}
|
|
179
179
|
onNumericFieldSelect(e) {
|
|
180
180
|
e.stopImmediatePropagation(), this.selectedNumericalField = this.model.numericField, this.contentKind = d.numericFields, this.setupPopover();
|
|
@@ -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
|
-
I("arcgis-charts-config-histogram-data",
|
|
320
|
+
I("arcgis-charts-config-histogram-data", q);
|
|
321
321
|
export {
|
|
322
|
-
|
|
322
|
+
q as ArcgisChartsConfigHistogramData
|
|
323
323
|
};
|