@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,43 +1,40 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { keyed as
|
|
4
|
-
import { P as
|
|
5
|
-
import { u } from "../../chunks/useT9n.js";
|
|
6
|
-
import { css as
|
|
7
|
-
import { createRef as n, ref as
|
|
8
|
-
import { LitElement as
|
|
9
|
-
import { x as
|
|
10
|
-
import { d as
|
|
11
|
-
import { m as
|
|
2
|
+
import { c as f } from "../../chunks/runtime.js";
|
|
3
|
+
import { keyed as p } from "lit/directives/keyed.js";
|
|
4
|
+
import { P as r } from "../../chunks/interfaces.js";
|
|
5
|
+
import { u as C } from "../../chunks/useT9n.js";
|
|
6
|
+
import { css as u, html as s } from "lit";
|
|
7
|
+
import { createRef as n, ref as c } from "lit/directives/ref.js";
|
|
8
|
+
import { LitElement as b, createEvent as h, renderElement as v, safeClassMap as o } from "@arcgis/lumina";
|
|
9
|
+
import { x as y } from "../../chunks/data.js";
|
|
10
|
+
import { d as m } from "../../chunks/index3.js";
|
|
11
|
+
import { m as g, an as F } from "../../chunks/index2.js";
|
|
12
12
|
import { r as $ } from "../../chunks/popover-ui-utils.js";
|
|
13
|
-
import { r as
|
|
14
|
-
import { P as f } from "../../chunks/common.js";
|
|
13
|
+
import { r as P } from "../../chunks/chart-object-literals.js";
|
|
15
14
|
const l = {
|
|
16
15
|
label: "label",
|
|
17
16
|
fieldList: "field-list",
|
|
18
17
|
fab: "fab"
|
|
19
|
-
},
|
|
20
|
-
class
|
|
18
|
+
}, E = u`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left: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}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}`;
|
|
19
|
+
class k extends b {
|
|
21
20
|
constructor() {
|
|
22
|
-
super(...arguments), this._messages =
|
|
21
|
+
super(...arguments), this._messages = C(), this.pieChartPopover = null, this.sortOrderElement = n(), this.categoryElement = n(), this.numericFieldsElement = n(), this.onPieChartDataChange = (e) => {
|
|
23
22
|
try {
|
|
24
23
|
if (e.detail !== null && e.detail?.value !== void 0) {
|
|
25
24
|
const { contentKind: t } = e.detail, i = [...e.detail.value];
|
|
26
25
|
switch (t) {
|
|
27
|
-
case
|
|
28
|
-
this.model.aggregationType = i[0] !==
|
|
26
|
+
case r.aggregation:
|
|
27
|
+
this.model.aggregationType = i[0] !== P.NoAggregation ? i[0] : "";
|
|
29
28
|
break;
|
|
30
|
-
case
|
|
31
|
-
const
|
|
32
|
-
this.
|
|
33
|
-
const h = this.model.numericFields;
|
|
34
|
-
h.length > 1 && r !== c && (this.model.numericFields = [h[0]]), this.model.category = r, this.model.colorMatch = !0;
|
|
29
|
+
case r.category: {
|
|
30
|
+
const a = i[0]?.trim() || "", d = this.model.numericFields;
|
|
31
|
+
d.length > 1 && a !== g && (this.model.numericFields = [d[0]]), this.model.category = a, this.model.colorMatch = !0;
|
|
35
32
|
break;
|
|
36
33
|
}
|
|
37
|
-
case
|
|
38
|
-
i.length > 1 && (this.
|
|
34
|
+
case r.numericFields:
|
|
35
|
+
i.length > 1 && (this.model.category = g), this.model.numericFields = i;
|
|
39
36
|
break;
|
|
40
|
-
case
|
|
37
|
+
case r.sortOrder:
|
|
41
38
|
this.model.setSortOrder(i[0]);
|
|
42
39
|
break;
|
|
43
40
|
default:
|
|
@@ -52,13 +49,13 @@ class w extends v {
|
|
|
52
49
|
this.requestUpdate();
|
|
53
50
|
}, this.popoverClose = (e) => {
|
|
54
51
|
this.pieChartPopover === e?.target && this.removePieChartDataPopover();
|
|
55
|
-
}, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError =
|
|
52
|
+
}, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError = h(), this.arcgisChartsConfigPieChartDataNumericFieldValidate = h();
|
|
56
53
|
}
|
|
57
54
|
static {
|
|
58
55
|
this.properties = { messageOverrides: 0, model: 0, layerFieldsInfo: 0 };
|
|
59
56
|
}
|
|
60
57
|
static {
|
|
61
|
-
this.styles =
|
|
58
|
+
this.styles = E;
|
|
62
59
|
}
|
|
63
60
|
load() {
|
|
64
61
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
@@ -73,16 +70,16 @@ class w extends v {
|
|
|
73
70
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
74
71
|
}
|
|
75
72
|
buildNumericFieldItem(e) {
|
|
76
|
-
return
|
|
73
|
+
return p(e, s`<calcite-list-item .label=${m(this.layerFieldsInfo, e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`);
|
|
77
74
|
}
|
|
78
75
|
onSortOrderSelect(e) {
|
|
79
|
-
this.contentKind =
|
|
76
|
+
this.contentKind = r.sortOrder, this.setupPopover(e);
|
|
80
77
|
}
|
|
81
78
|
onCategorySelect(e) {
|
|
82
|
-
this.contentKind =
|
|
79
|
+
this.contentKind = r.category, this.setupPopover(e);
|
|
83
80
|
}
|
|
84
81
|
onAddNumericFields(e) {
|
|
85
|
-
this.contentKind =
|
|
82
|
+
this.contentKind = r.numericFields, this.setupPopover(e);
|
|
86
83
|
}
|
|
87
84
|
onRemoveNumericField(e) {
|
|
88
85
|
const t = e.target.value;
|
|
@@ -91,57 +88,53 @@ class w extends v {
|
|
|
91
88
|
onShowDataLabelsChange(e) {
|
|
92
89
|
this.model.dataLabelsVisibility = e.target.checked;
|
|
93
90
|
}
|
|
94
|
-
updateMode(e) {
|
|
95
|
-
const t = e !== c && e.trim() !== "";
|
|
96
|
-
this.model.mode = t ? f.Category : f.Fields;
|
|
97
|
-
}
|
|
98
91
|
setupPopover(e) {
|
|
99
92
|
e.stopImmediatePropagation(), this.removePieChartDataPopover();
|
|
100
|
-
let t, i,
|
|
93
|
+
let t, i, a;
|
|
101
94
|
switch (this.contentKind) {
|
|
102
|
-
case
|
|
103
|
-
t = this.categoryElement.value, i = this._messages.categoryHeader,
|
|
95
|
+
case r.category:
|
|
96
|
+
t = this.categoryElement.value, i = this._messages.categoryHeader, a = this.model.category;
|
|
104
97
|
break;
|
|
105
|
-
case
|
|
106
|
-
t = this.numericFieldsElement.value, i = this._messages.numericFieldsMultipleHeader,
|
|
98
|
+
case r.numericFields:
|
|
99
|
+
t = this.numericFieldsElement.value, i = this._messages.numericFieldsMultipleHeader, a = this.model.numericFields;
|
|
107
100
|
break;
|
|
108
|
-
case
|
|
109
|
-
t = this.sortOrderElement.value, i = this._messages.sortOrderHeader,
|
|
101
|
+
case r.sortOrder:
|
|
102
|
+
t = this.sortOrderElement.value, i = this._messages.sortOrderHeader, a = this.model.getSortOrder();
|
|
110
103
|
break;
|
|
111
104
|
}
|
|
112
|
-
this.pieChartPopover =
|
|
105
|
+
this.pieChartPopover = v(s`<arcgis-charts-config-pie-chart-popover .headingTitle=${i} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${a} @arcgisChartsConfigPieChartDataPopoverChange=${this.onPieChartDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-pie-chart-popover>`), !document.body.contains(this.pieChartPopover) && this.pieChartPopover !== null && document.body.appendChild(this.pieChartPopover);
|
|
113
106
|
}
|
|
114
107
|
getCorrectedCategoryValue() {
|
|
115
|
-
return
|
|
108
|
+
return y({
|
|
116
109
|
fieldName: this.model.category,
|
|
117
110
|
fieldList: this.layerFieldsInfo
|
|
118
|
-
}) ? "" :
|
|
111
|
+
}) ? "" : m(this.layerFieldsInfo, this.model.category);
|
|
119
112
|
}
|
|
120
113
|
removePieChartDataPopover() {
|
|
121
114
|
this.pieChartPopover !== null && (this.pieChartPopover.open = !1, this.pieChartPopover = $(this.pieChartPopover));
|
|
122
115
|
}
|
|
123
116
|
renderSorting() {
|
|
124
|
-
return
|
|
117
|
+
return s`<arcgis-charts-config-field-select .label=${this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${c(this.sortOrderElement)}></arcgis-charts-config-field-select>`;
|
|
125
118
|
}
|
|
126
119
|
renderCategory() {
|
|
127
120
|
const e = this.getCorrectedCategoryValue();
|
|
128
|
-
return
|
|
121
|
+
return s`<arcgis-charts-config-field-select .label=${e} @click=${this.onCategorySelect} ${c(this.categoryElement)}></arcgis-charts-config-field-select>`;
|
|
129
122
|
}
|
|
130
123
|
renderNumericFields(e) {
|
|
131
|
-
const t =
|
|
132
|
-
for (const
|
|
133
|
-
|
|
134
|
-
return
|
|
124
|
+
const t = F(this.model.layer).idField, i = [];
|
|
125
|
+
for (const a of e)
|
|
126
|
+
a !== t && i.push(this.buildNumericFieldItem(a));
|
|
127
|
+
return s`<calcite-list label class=${o(l.fieldList)} ${c(this.numericFieldsElement)}>${i}</calcite-list>`;
|
|
135
128
|
}
|
|
136
129
|
render() {
|
|
137
130
|
const e = this.renderCategory(), t = this.renderSorting(), i = this.renderNumericFields([...this.model.numericFields]);
|
|
138
|
-
return
|
|
139
|
-
|
|
140
|
-
|
|
131
|
+
return s`<calcite-label class=${o(l.label)}>${this._messages.category}${e}</calcite-label>${[
|
|
132
|
+
s`<calcite-label class=${o(l.label)}>${this._messages.numericFields}${i}</calcite-label>`,
|
|
133
|
+
s`<div class=${o(l.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div>`
|
|
141
134
|
]}<calcite-label class=${o(l.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label><calcite-label class=${o(l.label)}>${this._messages.sortOrder}${t}</calcite-label>`;
|
|
142
135
|
}
|
|
143
136
|
}
|
|
144
|
-
|
|
137
|
+
f("arcgis-charts-config-pie-chart-data", k);
|
|
145
138
|
export {
|
|
146
|
-
|
|
139
|
+
k as ArcgisChartsConfigPieChartData
|
|
147
140
|
};
|
|
@@ -1,46 +1,45 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as v } from "../../chunks/runtime.js";
|
|
3
|
-
import { repeat as
|
|
3
|
+
import { repeat as m } from "lit/directives/repeat.js";
|
|
4
4
|
import { keyed as g } from "lit/directives/keyed.js";
|
|
5
5
|
import { isEqual as k } from "lodash-es";
|
|
6
|
-
import { P as
|
|
7
|
-
import { p as
|
|
8
|
-
import { u
|
|
6
|
+
import { P as o } from "../../chunks/interfaces.js";
|
|
7
|
+
import { p as f, b as $, e as d, f as P } from "../../chunks/chart-ui-utils2.js";
|
|
8
|
+
import { u } from "../../chunks/useT9n.js";
|
|
9
9
|
import { css as L, html as n } from "lit";
|
|
10
|
-
import { createRef as
|
|
11
|
-
import { LitElement as
|
|
10
|
+
import { createRef as C, ref as h } from "lit/directives/ref.js";
|
|
11
|
+
import { LitElement as y, createEvent as b, safeClassMap as l } from "@arcgis/lumina";
|
|
12
12
|
import { e as F, p as I } from "../../chunks/popover-ui-utils.js";
|
|
13
|
-
import {
|
|
13
|
+
import { u as D } from "../../chunks/index.js";
|
|
14
14
|
import { d as x } from "../../chunks/index3.js";
|
|
15
|
-
import {
|
|
15
|
+
import { bh as S, bk as T } from "../../chunks/index2.js";
|
|
16
16
|
import { R as E } from "../../chunks/rest-js-object-literals.js";
|
|
17
|
-
import { a as
|
|
18
|
-
const
|
|
19
|
-
jsAppFlyout: "js-app-flyout",
|
|
17
|
+
import { a as r } from "../../chunks/common.js";
|
|
18
|
+
const s = {
|
|
20
19
|
name: "pie-chart-data-popover",
|
|
21
|
-
numericFieldPickList: "pie-chart-data-numeric-fields-pick-list",
|
|
22
20
|
header: "header",
|
|
23
21
|
fab: "fab",
|
|
24
|
-
|
|
22
|
+
popoverPickList: "popover-pick-list",
|
|
25
23
|
flipClass: "sort-counter-clockwise",
|
|
24
|
+
sortOrderPickList: "sort-order-pick-list",
|
|
26
25
|
panel: "panel"
|
|
27
|
-
},
|
|
28
|
-
class
|
|
26
|
+
}, 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)}.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}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.sort-icon-color{color:#000}.sort-counter-clockwise{transform:scaleX(-1)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`;
|
|
27
|
+
class A extends y {
|
|
29
28
|
constructor() {
|
|
30
|
-
super(...arguments), this._messages =
|
|
29
|
+
super(...arguments), this._messages = u(), this.commonStrings = u({ name: "common", blocking: !0 }), this.picklist = C(), this.popoverElement = C(), this.placement = "leading", this.offsetDistance = -200, this.pickListHasChanged = !1, this.aggregationLabels = [], this.open = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigPieChartDataPopoverChange = b(), this.arcgisChartsConfigPopoverClose = b();
|
|
31
30
|
}
|
|
32
31
|
static {
|
|
33
32
|
this.properties = { aggregationLabels: 16, messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1 };
|
|
34
33
|
}
|
|
35
34
|
static {
|
|
36
|
-
this.styles =
|
|
35
|
+
this.styles = w;
|
|
37
36
|
}
|
|
38
37
|
async reposition() {
|
|
39
38
|
await this.popoverElement.value?.reposition();
|
|
40
39
|
}
|
|
41
40
|
willUpdate(e) {
|
|
42
41
|
e.has("selectedContent") && this.selectedContentChange(this.selectedContent, e.get("selectedContent"));
|
|
43
|
-
const t =
|
|
42
|
+
const t = f.map((i) => D(i, this.commonStrings));
|
|
44
43
|
k(this.aggregationLabels, t) || (this.aggregationLabels = t);
|
|
45
44
|
}
|
|
46
45
|
updated() {
|
|
@@ -52,31 +51,31 @@ class w extends P {
|
|
|
52
51
|
this.pickListHasChanged = I(e, t);
|
|
53
52
|
}
|
|
54
53
|
buildAggregationPickListItems() {
|
|
55
|
-
return
|
|
54
|
+
return m(f, (e) => e, (e, t) => n`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${d(e, this.selectedContent)}></calcite-list-item>`);
|
|
56
55
|
}
|
|
57
56
|
buildSortOrder() {
|
|
58
|
-
const e = Object.keys(
|
|
59
|
-
return e.splice(e.indexOf(
|
|
57
|
+
const e = Object.keys(r);
|
|
58
|
+
return e.splice(e.indexOf(r.customSort), 1), m(e, (t) => t, (t) => {
|
|
60
59
|
let i = "string";
|
|
61
|
-
const
|
|
62
|
-
let
|
|
60
|
+
const c = "rotate";
|
|
61
|
+
let a = "";
|
|
63
62
|
switch (t) {
|
|
64
|
-
case
|
|
63
|
+
case r.labelAsc:
|
|
65
64
|
i = "string";
|
|
66
65
|
break;
|
|
67
|
-
case
|
|
68
|
-
i = "string",
|
|
66
|
+
case r.labelDesc:
|
|
67
|
+
i = "string", a = s.flipClass;
|
|
69
68
|
break;
|
|
70
|
-
case
|
|
69
|
+
case r.valueAsc:
|
|
71
70
|
i = "number";
|
|
72
71
|
break;
|
|
73
|
-
case
|
|
74
|
-
i = "number",
|
|
72
|
+
case r.valueDesc:
|
|
73
|
+
i = "number", a = s.flipClass;
|
|
75
74
|
break;
|
|
76
75
|
// Do nothing for customSort for now
|
|
77
|
-
case
|
|
76
|
+
case r.customSort:
|
|
78
77
|
}
|
|
79
|
-
return n`<calcite-list-item .selected=${this.selectedContent === t} .label=${this._messages[t]} .value=${
|
|
78
|
+
return n`<calcite-list-item .selected=${this.selectedContent === t} .label=${this._messages[t]} .value=${r[t]}><calcite-icon slot=content-end .icon=${i}></calcite-icon><calcite-icon class=${l(a)} slot=content-end .icon=${c}></calcite-icon></calcite-list-item>`;
|
|
80
79
|
});
|
|
81
80
|
}
|
|
82
81
|
buildPickListItem(e) {
|
|
@@ -85,19 +84,19 @@ class w extends P {
|
|
|
85
84
|
buildPickListItems(e) {
|
|
86
85
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
87
86
|
switch (e) {
|
|
88
|
-
case
|
|
89
|
-
for (let
|
|
90
|
-
const
|
|
91
|
-
T(
|
|
87
|
+
case o.numericFields: {
|
|
88
|
+
for (let c = 0; c < t; c += 1) {
|
|
89
|
+
const a = this.layerFieldsInfo[c];
|
|
90
|
+
T(a) && i.push(this.buildPickListItem(a));
|
|
92
91
|
}
|
|
93
92
|
break;
|
|
94
93
|
}
|
|
95
|
-
case
|
|
96
|
-
const
|
|
97
|
-
i.push(
|
|
98
|
-
for (let
|
|
99
|
-
const
|
|
100
|
-
(S(
|
|
94
|
+
case o.category: {
|
|
95
|
+
const c = g(" ", n`<calcite-list-item label=" " value=" " .selected=${d("", this.selectedContent)}></calcite-list-item>`);
|
|
96
|
+
i.push(c);
|
|
97
|
+
for (let a = 0; a < t; a += 1) {
|
|
98
|
+
const p = this.layerFieldsInfo[a];
|
|
99
|
+
(S(p) || p.type === E.String) && i.push(this.buildPickListItem(p));
|
|
101
100
|
}
|
|
102
101
|
break;
|
|
103
102
|
}
|
|
@@ -105,13 +104,13 @@ class w extends P {
|
|
|
105
104
|
return i;
|
|
106
105
|
}
|
|
107
106
|
closePopover() {
|
|
108
|
-
if (this.contentKind ===
|
|
107
|
+
if (this.contentKind === o.numericFields && this.pickListHasChanged) {
|
|
109
108
|
const e = {
|
|
110
109
|
pickListElement: this.picklist.value,
|
|
111
110
|
eventEmitter: this.arcgisChartsConfigPieChartDataPopoverChange,
|
|
112
111
|
contentKind: this.contentKind
|
|
113
112
|
};
|
|
114
|
-
|
|
113
|
+
P(e);
|
|
115
114
|
}
|
|
116
115
|
this.arcgisChartsConfigPopoverClose.emit();
|
|
117
116
|
}
|
|
@@ -131,33 +130,33 @@ class w extends P {
|
|
|
131
130
|
}
|
|
132
131
|
renderAggregationType() {
|
|
133
132
|
const e = this.buildAggregationPickListItems();
|
|
134
|
-
return n`<calcite-list label class=${
|
|
133
|
+
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
135
134
|
}
|
|
136
135
|
renderCategory() {
|
|
137
|
-
const e = this.buildPickListItems(
|
|
138
|
-
return n`<calcite-list label class=${
|
|
136
|
+
const e = this.buildPickListItems(o.category);
|
|
137
|
+
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${h(this.picklist)}>${e}</calcite-list>`;
|
|
139
138
|
}
|
|
140
139
|
renderNumericFields() {
|
|
141
|
-
const e = this.buildPickListItems(
|
|
142
|
-
return n`<calcite-list label class=${
|
|
140
|
+
const e = this.buildPickListItems(o.numericFields);
|
|
141
|
+
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${h(this.picklist)}>${e}</calcite-list>`;
|
|
143
142
|
}
|
|
144
143
|
renderSortOrder() {
|
|
145
144
|
const e = this.buildSortOrder();
|
|
146
|
-
return n`<calcite-list label selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
145
|
+
return n`<calcite-list label class=${`${s.popoverPickList} ${s.sortOrderPickList}`} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
147
146
|
}
|
|
148
147
|
renderPopoverInfo() {
|
|
149
148
|
let e;
|
|
150
149
|
switch (this.contentKind) {
|
|
151
|
-
case
|
|
150
|
+
case o.aggregation:
|
|
152
151
|
e = this.renderAggregationType();
|
|
153
152
|
break;
|
|
154
|
-
case
|
|
153
|
+
case o.category:
|
|
155
154
|
e = this.renderCategory();
|
|
156
155
|
break;
|
|
157
|
-
case
|
|
156
|
+
case o.numericFields:
|
|
158
157
|
e = this.renderNumericFields();
|
|
159
158
|
break;
|
|
160
|
-
case
|
|
159
|
+
case o.sortOrder:
|
|
161
160
|
e = this.renderSortOrder();
|
|
162
161
|
break;
|
|
163
162
|
}
|
|
@@ -165,10 +164,10 @@ class w extends P {
|
|
|
165
164
|
}
|
|
166
165
|
render() {
|
|
167
166
|
let e;
|
|
168
|
-
return this.contentKind ===
|
|
167
|
+
return this.contentKind === o.numericFields && (e = n`<div slot=footer><calcite-fab class=${l(s.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>`), n`<div><calcite-popover class=${l(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .offsetDistance=${this.offsetDistance} .open=${this.open} label auto-close ${h(this.popoverElement)}><calcite-panel class=${l(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${l(s.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
169
168
|
}
|
|
170
169
|
}
|
|
171
|
-
v("arcgis-charts-config-pie-chart-popover",
|
|
170
|
+
v("arcgis-charts-config-pie-chart-popover", A);
|
|
172
171
|
export {
|
|
173
|
-
|
|
172
|
+
A as ArcgisChartsConfigPieChartPopover
|
|
174
173
|
};
|
|
@@ -6,11 +6,11 @@ import { b as $, a as N, s as p } from "../../chunks/chart-ui-utils2.js";
|
|
|
6
6
|
import { u as G } from "../../chunks/useT9n.js";
|
|
7
7
|
import { css as _, html as d } from "lit";
|
|
8
8
|
import { createRef as m, ref as g } from "lit/directives/ref.js";
|
|
9
|
-
import { LitElement as
|
|
9
|
+
import { LitElement as z, renderElement as S, safeStyleMap as u, safeClassMap as s } from "@arcgis/lumina";
|
|
10
10
|
import { b as h } from "../../chunks/common.js";
|
|
11
|
-
import {
|
|
11
|
+
import { ax as I, ay as y } from "../../chunks/index.js";
|
|
12
12
|
import { r as P } from "../../chunks/popover-ui-utils.js";
|
|
13
|
-
import { i as
|
|
13
|
+
import { i as w } from "../../chunks/rest-js-object-literals.js";
|
|
14
14
|
const a = {
|
|
15
15
|
sectionLabel: "section-label",
|
|
16
16
|
label: "label",
|
|
@@ -20,8 +20,8 @@ const a = {
|
|
|
20
20
|
sliderInputContainer: "slider-input-container",
|
|
21
21
|
groupingLabelContainer: "grouping-label-container",
|
|
22
22
|
numberInput: "number-input"
|
|
23
|
-
},
|
|
24
|
-
class k extends
|
|
23
|
+
}, M = _`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.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}.label .grouping-label-container{display:flex;justify-content:space-between}.label .slider-input-container{display:flex}.label .slider-input-container calcite-slider{--calcite-label-margin-bottom: var(--arcgis-charts-intra-section-margin) !important;margin-right:var(--arcgis-charts-config-margin-minor);flex-grow:1}.label .slider-input-container .number-input{width:8rem}.slice-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)}.radio-group{margin-top:var(--arcgis-charts-config-margin-minor)}.pie-donut-labels-container{display:flex;justify-content:space-between;margin-top:calc(var(--arcgis-charts-config-margin-minor) * -3)}`;
|
|
24
|
+
class k extends z {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments), this._messages = G(), this.slicesPopover = null, this.donutSizeSliderElement = m(), this.groupingThresholdElement = m(), this.groupingThresholdSliderElement = m(), this.labelCharacterLimitElement = m(), this.decimalPlacesElement = m(), this.open = !1, this.onDonutSizeSliderChange = C(() => {
|
|
27
27
|
this.donutSizeSliderElement.value && Number.isInteger(this.donutSizeSliderElement.value?.value) && (this.model.innerRadiusSize = this.donutSizeSliderElement.value.value ?? I);
|
|
@@ -43,7 +43,7 @@ class k extends w {
|
|
|
43
43
|
...t,
|
|
44
44
|
fillSymbol: {
|
|
45
45
|
...t.fillSymbol,
|
|
46
|
-
type:
|
|
46
|
+
type: w.SFS,
|
|
47
47
|
color: l
|
|
48
48
|
}
|
|
49
49
|
});
|
|
@@ -59,7 +59,7 @@ class k extends w {
|
|
|
59
59
|
this.properties = { selectedSliceId: 16, messageOverrides: 0, model: 0, popoverPlacement: 1, chartData: 0 };
|
|
60
60
|
}
|
|
61
61
|
static {
|
|
62
|
-
this.styles =
|
|
62
|
+
this.styles = M;
|
|
63
63
|
}
|
|
64
64
|
load() {
|
|
65
65
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
@@ -148,7 +148,7 @@ class k extends w {
|
|
|
148
148
|
}
|
|
149
149
|
onDisplayTypeChange(e) {
|
|
150
150
|
const l = e.target.selectedItem;
|
|
151
|
-
this.model.displayType = l
|
|
151
|
+
this.model.displayType = l?.value;
|
|
152
152
|
}
|
|
153
153
|
resetSlicesOriginal() {
|
|
154
154
|
this.selectedSliceId = void 0, this.model.colorMatch = !0, this.model.resetSlices();
|
|
@@ -156,7 +156,7 @@ class k extends w {
|
|
|
156
156
|
onCalciteListOrderChange(e) {
|
|
157
157
|
if (e.detail !== null && e.detail !== void 0) {
|
|
158
158
|
const { newIndex: l, oldIndex: i } = e.detail;
|
|
159
|
-
this.model.moveSeries(i, l);
|
|
159
|
+
this.model.moveSeries(i ?? 0, l ?? i ?? 0);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
openSlicesPopover(e) {
|
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
import { c as n } 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
|
-
import { createRef as d, ref as
|
|
6
|
-
import { LitElement as
|
|
5
|
+
import { createRef as d, ref as C } from "lit/directives/ref.js";
|
|
6
|
+
import { LitElement as g, createEvent as s, safeClassMap as r } from "@arcgis/lumina";
|
|
7
7
|
import { e as v } from "../../chunks/popover-ui-utils.js";
|
|
8
|
-
import {
|
|
9
|
-
const
|
|
10
|
-
jsAppFlyout: "js-app-flyout",
|
|
8
|
+
import { aC as f } from "../../chunks/index.js";
|
|
9
|
+
const c = {
|
|
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
|
-
class y extends
|
|
12
|
+
class y extends g {
|
|
14
13
|
constructor() {
|
|
15
14
|
super(...arguments), this._messages = m(), this.popoverElement = d(), this.selectedSliceId = "", this.open = !1, this.arcgisChartsConfigPopoverClose = s(), this.arcgisChartsConfigSlicesPopoverColorChange = s(), this.arcgisChartsConfigSlicesPopoverNameChange = s();
|
|
16
15
|
}
|
|
@@ -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, [i, o, a] = t, l = f * 255;
|
|
39
|
+
this.selectedColor = [i, o, a, l], this.arcgisChartsConfigSlicesPopoverColorChange.emit({ color: [i, o, a, l] });
|
|
41
40
|
}
|
|
42
41
|
render() {
|
|
43
42
|
const e = this.selectedColor !== void 0 ? [...this.selectedColor] : void 0;
|
|
44
|
-
return h`<div class=${
|
|
45
|
-
[o.jsAppFlyout]: !0
|
|
46
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${g(this.popoverElement)}><calcite-panel .heading=${this._messages.sliceStyle} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${i(o.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.sliceNameChange}></calcite-input></calcite-label></div><div class=${i(o.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} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${C(this.popoverElement)}><calcite-panel .heading=${this._messages.sliceStyle} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${r(c.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.sliceNameChange}></calcite-input></calcite-label></div><div class=${r(c.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
|
n("arcgis-charts-config-pie-chart-slices-popover", y);
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
import { c as r } from "../../chunks/runtime.js";
|
|
3
3
|
import { isEqual as l } from "lodash-es";
|
|
4
4
|
import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
5
|
-
import { css as c, html as
|
|
6
|
-
import { C as
|
|
7
|
-
import { ac as h,
|
|
8
|
-
import { h as
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
import { css as c, html as s } from "lit";
|
|
6
|
+
import { C as o } from "../../chunks/interfaces.js";
|
|
7
|
+
import { ac as h, bx as p, aw as f, I as m, ak as g } from "../../chunks/index2.js";
|
|
8
|
+
import { h as u } from "../../chunks/index5.js";
|
|
9
|
+
import { d as y } from "../../chunks/type-guards.js";
|
|
10
|
+
const F = c`: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 b extends n {
|
|
11
12
|
constructor() {
|
|
12
13
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
13
14
|
const t = e?.detail.config ?? this.model.config;
|
|
@@ -18,7 +19,7 @@ class y extends n {
|
|
|
18
19
|
this.properties = { layerFieldsInfo: 16, model: 0, popoverPlacement: 1, r2: 9, calculatedDataMinMaxBounds: 0, calculatedMinMaxBounds: 0, page: 1, layer: 0, usePopupTemplateFieldsInfo: 5, popupTemplateFieldInfosEnabled: 5 };
|
|
19
20
|
}
|
|
20
21
|
static {
|
|
21
|
-
this.styles =
|
|
22
|
+
this.styles = F;
|
|
22
23
|
}
|
|
23
24
|
async load() {
|
|
24
25
|
await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model);
|
|
@@ -37,29 +38,33 @@ class y extends n {
|
|
|
37
38
|
const a = e ?? this.model.config;
|
|
38
39
|
let t = this.layer;
|
|
39
40
|
if (!t) {
|
|
40
|
-
const
|
|
41
|
-
|
|
41
|
+
const i = u(a) ? a.iLayer : void 0;
|
|
42
|
+
i && (t = await h(i));
|
|
43
|
+
}
|
|
44
|
+
if (t) {
|
|
45
|
+
await p(t);
|
|
46
|
+
const i = this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled;
|
|
47
|
+
this.layerFieldsInfo = y(t) ? f({ layer: t, popupTemplateFieldInfosEnabled: i, chartType: a?.type }) : m(t, i);
|
|
42
48
|
}
|
|
43
|
-
t && (await f(t), this.layerFieldsInfo = p(t, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled));
|
|
44
49
|
}
|
|
45
50
|
render() {
|
|
46
51
|
let e;
|
|
47
52
|
switch (this.page) {
|
|
48
|
-
case
|
|
53
|
+
case o.Data:
|
|
49
54
|
const a = g(this.layer), t = a && "isTable" in a ? a.isTable : !1;
|
|
50
|
-
e =
|
|
55
|
+
e = s`<arcgis-charts-config-scatter-plot-data .model=${this.model} .r2=${this.r2} .layerFieldsInfo=${this.layerFieldsInfo} .isTableLayer=${t}></arcgis-charts-config-scatter-plot-data>`;
|
|
51
56
|
break;
|
|
52
|
-
case
|
|
53
|
-
e =
|
|
57
|
+
case o.Axes:
|
|
58
|
+
e = s`<arcgis-charts-config-axes .model=${this.model} show-min-x-bound-option show-max-x-bound-option show-min-y-bound-option show-max-y-bound-option show-enable-x-log-option show-enable-y-log-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds}></arcgis-charts-config-axes>`;
|
|
54
59
|
break;
|
|
55
|
-
case
|
|
56
|
-
e =
|
|
60
|
+
case o.Guides:
|
|
61
|
+
e = s`<arcgis-charts-config-guides .model=${this.model} enable-x-axis-guide enable-y-axis-guide></arcgis-charts-config-guides>`;
|
|
57
62
|
break;
|
|
58
|
-
case
|
|
59
|
-
e =
|
|
63
|
+
case o.Format:
|
|
64
|
+
e = s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;
|
|
60
65
|
break;
|
|
61
|
-
case
|
|
62
|
-
e =
|
|
66
|
+
case o.General:
|
|
67
|
+
e = s`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;
|
|
63
68
|
break;
|
|
64
69
|
default:
|
|
65
70
|
e = "";
|
|
@@ -68,7 +73,7 @@ class y extends n {
|
|
|
68
73
|
return e;
|
|
69
74
|
}
|
|
70
75
|
}
|
|
71
|
-
r("arcgis-charts-config-scatter-plot",
|
|
76
|
+
r("arcgis-charts-config-scatter-plot", b);
|
|
72
77
|
export {
|
|
73
|
-
|
|
78
|
+
b as ArcgisChartsConfigScatterplot
|
|
74
79
|
};
|