@arcgis/charts-components 5.2.0-next.6 → 5.2.0-next.61
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/README.md +2 -2
- package/dist/cdn/{FF4DUQDZ.js → 22WGB4CQ.js} +1 -1
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2G65P262.js +2 -0
- package/dist/cdn/2RYKKN36.js +2 -0
- package/dist/cdn/3AYXOX4U.js +2 -0
- package/dist/cdn/{ZFZ5AEUQ.js → 3CGAUDYD.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → 3FZCVKWJ.js} +1 -1
- package/dist/cdn/{DCZWZOPF.js → 3GVTYZ2I.js} +1 -1
- package/dist/cdn/3YCGBAQY.js +2 -0
- package/dist/cdn/3ZGG7Q5M.js +2 -0
- package/dist/cdn/46PXO7ZC.js +4 -0
- package/dist/cdn/4COV22K4.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → 4EBMUPEV.js} +1 -1
- package/dist/cdn/4ITNOJXC.js +2 -0
- package/dist/cdn/{E7OAEGSE.js → 4VL2SBHK.js} +1 -1
- package/dist/cdn/54W4C75M.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{GDQBQQUP.js → 5JXEO4VE.js} +1 -1
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/5YP7P6S3.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/67QYTLMM.js +2 -0
- package/dist/cdn/6AI3ZXL5.js +2 -0
- package/dist/cdn/6MNV7FJC.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/{JRHMUFED.js → 7DIQIFKR.js} +1 -1
- package/dist/cdn/{ETKPMU7Z.js → 7WVTY3XI.js} +1 -1
- package/dist/cdn/{A5AECJXP.js → A2NFOGT2.js} +1 -1
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/ANHW36VW.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → ASZ6YFIL.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → AYQ4HHL6.js} +1 -1
- package/dist/cdn/AYUYEY5H.js +2 -0
- package/dist/cdn/{JJIGLOJA.js → AZKX3FMB.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → AZMQPJO3.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BDTKAMUN.js +2 -0
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/BHGOAHMJ.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BKK57XHL.js +2 -0
- package/dist/cdn/BLZLMGO6.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → CDJRYMBP.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → CHMLTTRN.js} +1 -1
- package/dist/cdn/{HVO4LIXR.js → CL5G6D6W.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → CMGCZ4MF.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → CVJSVWF3.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{K3GNHGEW.js → D3KIBJKD.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → DAFNQT4C.js} +1 -1
- package/dist/cdn/DBAM7MH7.js +2 -0
- package/dist/cdn/DGV6S2W3.js +2 -0
- package/dist/cdn/{TF7TE7K5.js → DJPMW6UC.js} +1 -1
- package/dist/cdn/DPTA2AET.js +2 -0
- package/dist/cdn/DQXO7PWX.js +2 -0
- package/dist/cdn/EAV3KAS7.js +2 -0
- package/dist/cdn/EMBMJCFZ.js +2 -0
- package/dist/cdn/EOHKNJSJ.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/EUOJG5H6.js +2 -0
- package/dist/cdn/{2HUAW34Q.js → EXS2KOEA.js} +1 -1
- package/dist/cdn/FHBCVW5T.js +2 -0
- package/dist/cdn/FJGG2VVZ.js +2 -0
- package/dist/cdn/FQLRMWNL.js +2 -0
- package/dist/cdn/{QFEZPP3R.js → GARBFC7Q.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → GP3LPIRJ.js} +1 -1
- package/dist/cdn/GRL5SM6K.js +2 -0
- package/dist/cdn/{ADGMA3ST.js → H57XAQPI.js} +2 -2
- package/dist/cdn/{L4G6FO7A.js → HBOYEK6P.js} +1 -1
- package/dist/cdn/{MVHQR4FJ.js → HOIPLQXD.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → HQMOMCWF.js} +1 -1
- package/dist/cdn/{N6AOFBBX.js → HSQ32NUA.js} +1 -1
- package/dist/cdn/{7HGVEE7A.js → HUNN3ERX.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I3XBTQKJ.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/INISFVAK.js +2 -0
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/{KCMZSNBL.js → ISK4QVLY.js} +1 -1
- package/dist/cdn/{DEGBVJ76.js → IUOORM26.js} +1 -1
- package/dist/cdn/J3CL6KB6.js +2 -0
- package/dist/cdn/JGESKW6S.js +2 -0
- package/dist/cdn/JH3NSZUT.js +2 -0
- package/dist/cdn/{ML3A3MYV.js → JS6A5QAV.js} +1 -1
- package/dist/cdn/{4LPXOEML.js → JUON3AJY.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/JYITKARU.js +104 -0
- package/dist/cdn/{KUZR6CGB.js → JZ5HUNM5.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/KCES2YBJ.js +2 -0
- package/dist/cdn/KDCZQ6UT.js +2 -0
- package/dist/cdn/KJZTU3DV.js +2 -0
- package/dist/cdn/KLKI4XNW.js +2 -0
- package/dist/cdn/{5XTQQOTT.js → KOCZJFY6.js} +1 -1
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/KWA7OWHO.js +2 -0
- package/dist/cdn/L7TUV2MY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LGTXQIF7.js +2 -0
- package/dist/cdn/{IPM2XKST.js → LHDBHPXR.js} +1 -1
- package/dist/cdn/LIBE4XVH.js +2 -0
- package/dist/cdn/M744CFJ2.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → MARXRC6B.js} +1 -1
- package/dist/cdn/MI6AKTXQ.js +2 -0
- package/dist/cdn/MJTWR33N.js +2 -0
- package/dist/cdn/MPGHOXLW.js +2 -0
- package/dist/cdn/MU6ZYADT.js +2 -0
- package/dist/cdn/{XE3FKQFA.js → MVCB4RM7.js} +1 -1
- package/dist/cdn/MXE4VPZS.js +2 -0
- package/dist/cdn/{KFONSKQF.js → MZ2RZ62O.js} +1 -1
- package/dist/cdn/NK66D65H.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/NZ2C5DJB.js +2 -0
- package/dist/cdn/O3VKOV2W.js +2 -0
- package/dist/cdn/{THTYR6IL.js → OAXHS4LE.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/OFFKJPQH.js +2 -0
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/ONKEO3Z2.js +2 -0
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{A4GEWIPY.js → OSUM4CWA.js} +1 -1
- package/dist/cdn/OT7PLFBK.js +2 -0
- package/dist/cdn/OWWQ5SYW.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/P5QEJOJS.js +2 -0
- package/dist/cdn/{5MEQANMY.js → PAQGR4DD.js} +1 -1
- package/dist/cdn/PBO5VH6A.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → PEEVY5UG.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/PLEC3GNT.js +2 -0
- package/dist/cdn/Q5OFF4FE.js +45 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QZCTLQBM.js +2 -0
- package/dist/cdn/RICA7GJM.js +2 -0
- package/dist/cdn/S5GVUYBL.js +2 -0
- package/dist/cdn/SCU3SBSN.js +2 -0
- package/dist/cdn/SQIKFO32.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/SUNHJPBW.js +2 -0
- package/dist/cdn/SYVPFDIW.js +2 -0
- package/dist/cdn/T62EETHJ.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TEWEPSIO.js +2 -0
- package/dist/cdn/{QOOBNATX.js → TGEHTOWR.js} +1 -1
- package/dist/cdn/{DAB5R2BN.js → TQYJM66E.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{SBYD2EKR.js → TSSN2OW3.js} +1 -1
- package/dist/cdn/TU3LYEK3.js +2 -0
- package/dist/cdn/TVG7KD3H.js +2 -0
- package/dist/cdn/{MRTKZZTF.js → U43KANH5.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → UB36FUCN.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/UM7RIOCE.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/V6LKZUEZ.js +3 -0
- package/dist/cdn/{YOT6DVSU.js → V7AEHY25.js} +1 -1
- package/dist/cdn/VA6KJZ2Y.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VM4XLVMS.js +2 -0
- package/dist/cdn/{KZ7LPNX3.js → VNNTABNO.js} +1 -1
- package/dist/cdn/VPYL3RVN.js +2 -0
- package/dist/cdn/{XW4PBQNW.js → VT6X6QMA.js} +1 -1
- package/dist/cdn/WFW6BNDT.js +2 -0
- package/dist/cdn/{GV3TT7L5.js → WKQB6Z7Z.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → WMUPNT4Q.js} +1 -1
- package/dist/cdn/WSL76GA5.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/WTJ2NJ76.js +2 -0
- package/dist/cdn/WZOHQJFB.js +2 -0
- package/dist/cdn/X3S4M6JL.js +2 -0
- package/dist/cdn/XV4LD73L.js +2 -0
- package/dist/cdn/Y5ZH7VS4.js +2 -0
- package/dist/cdn/{WASEMNYV.js → YC4WZNPI.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/ZGBULDPL.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → ZRX4BEOX.js} +1 -1
- package/dist/cdn/{S5UDCCRH.js → ZWIF7LHW.js} +1 -1
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/charts-config-view-charts/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 +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +19 -21
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +27 -35
- 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 +273 -282
- package/dist/chunks/box-plot-model.js +159 -144
- package/dist/chunks/chart-model.js +177 -145
- 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 +25 -26
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +24 -24
- package/dist/chunks/data.js +69 -69
- package/dist/chunks/gauge-model.js +18 -18
- package/dist/chunks/generate-x-axis-title.js +12 -12
- package/dist/chunks/heat-chart-model.js +93 -64
- package/dist/chunks/histogram-data.js +22 -22
- package/dist/chunks/histogram-model.js +10 -10
- package/dist/chunks/index.js +190 -179
- package/dist/chunks/index2.js +6069 -5721
- package/dist/chunks/index3.js +96 -86
- package/dist/chunks/index4.js +312 -87
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/line-chart-model.js +12 -12
- package/dist/chunks/model-setter.js +16 -15
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-y-guides.js +59 -74
- package/dist/chunks/negative-values-stacked-to-baseline.js +18 -18
- package/dist/chunks/pie-chart-data.js +174 -192
- package/dist/chunks/pie-chart-model.js +161 -148
- package/dist/chunks/radar-chart-model.js +397 -46
- package/dist/chunks/resource.js +5 -5
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-data.js +889 -774
- package/dist/chunks/serial-chart-model.js +145 -124
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +17 -13
- package/dist/chunks/type-guards2.js +41 -33
- package/dist/chunks/utils.js +108 -96
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/chunks/x-bounds.js +41 -42
- package/dist/components/arcgis-chart/customElement.d.ts +277 -164
- package/dist/components/arcgis-chart/customElement.js +10323 -10325
- package/dist/components/arcgis-charts-action-bar/customElement.js +33 -30
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-box-plot-data/index.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 +15 -18
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +138 -136
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +93 -86
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide/customElement.js +17 -18
- 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/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -54
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -37
- 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 +6 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -56
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +65 -66
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- 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-config-view-charts/customElement.js +57 -26
- package/dist/components/arcgis-charts-info-modal/customElement.js +6 -6
- 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 +62 -67
- package/dist/index.js +471 -458
- package/dist/json-schema/index.d.ts +207 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
- 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 +44 -2
- 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 +62 -99
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -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/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
- package/dist/model/shared/type-guards.d.ts +16 -2
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +15 -3
- 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 +42 -6
- package/dist/utils/chart-config/converter/index.js +198 -179
- package/dist/utils/chart-config/utils/index.d.ts +54 -4
- 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/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +2 -2
- package/dist/utils/data/index.d.ts +14 -10
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +16 -4
- package/dist/utils/defaults/interfaces.d.ts +7 -2
- 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 +18 -1
- package/dist/utils/layer/query-parser/index.d.ts +5 -3
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +7 -8
- package/dist/cdn/24RLLXS6.js +0 -2
- package/dist/cdn/2N4MK6FQ.js +0 -2
- package/dist/cdn/32FR66QO.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3NUNWPAR.js +0 -2
- package/dist/cdn/43ZHPVBB.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/6AF2OTL6.js +0 -2
- package/dist/cdn/6CFIKYKR.js +0 -2
- package/dist/cdn/6GLTSMOR.js +0 -2
- package/dist/cdn/7EMCHGGV.js +0 -2
- package/dist/cdn/7OF2IANH.js +0 -2
- package/dist/cdn/7VN3A7S2.js +0 -2
- package/dist/cdn/7YWZG3ZS.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/ADPDJISV.js +0 -2
- package/dist/cdn/B4KAJRUJ.js +0 -2
- package/dist/cdn/BBUPTHPL.js +0 -2
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/BLZODYE2.js +0 -4
- package/dist/cdn/BO62KSB5.js +0 -2
- package/dist/cdn/C2FOUUEM.js +0 -2
- package/dist/cdn/CJPEW4LJ.js +0 -142
- package/dist/cdn/CVU3UPPF.js +0 -2
- package/dist/cdn/CZ5XRXCE.js +0 -2
- package/dist/cdn/D73VV2AZ.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DPNTYHTH.js +0 -2
- package/dist/cdn/DZ72EIRH.js +0 -2
- package/dist/cdn/EGISZTGB.js +0 -2
- package/dist/cdn/EP34TF4L.js +0 -2
- package/dist/cdn/EZD3FBJU.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FQT7V7QG.js +0 -2
- package/dist/cdn/G72TNKCS.js +0 -2
- package/dist/cdn/GQ5QBLRO.js +0 -2
- package/dist/cdn/HWJGWDU3.js +0 -2
- package/dist/cdn/HZR4NSZV.js +0 -2
- package/dist/cdn/ICFKKJWQ.js +0 -2
- package/dist/cdn/IWX5L226.js +0 -2
- package/dist/cdn/JNG6V7XC.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JS2KOBA2.js +0 -2
- package/dist/cdn/JTTJ455Y.js +0 -2
- package/dist/cdn/JWO5WVTZ.js +0 -2
- package/dist/cdn/K4WI2SGM.js +0 -2
- package/dist/cdn/KLHZFPYK.js +0 -2
- package/dist/cdn/KO7HQLGV.js +0 -2
- package/dist/cdn/L5AQ4I5T.js +0 -2
- package/dist/cdn/LC6CY2HW.js +0 -2
- package/dist/cdn/MBVTB42G.js +0 -2
- package/dist/cdn/MGEW6X3Y.js +0 -102
- package/dist/cdn/NSOZIR5F.js +0 -2
- package/dist/cdn/NTSTL3FK.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/O5A25X5K.js +0 -2
- package/dist/cdn/OAAJ6CIN.js +0 -2
- package/dist/cdn/OGYY2Y22.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PRGFNLY7.js +0 -2
- package/dist/cdn/PROSIXIF.js +0 -2
- package/dist/cdn/Q5JDSPJA.js +0 -2
- package/dist/cdn/QJC3FDWG.js +0 -2
- package/dist/cdn/QRLILSSI.js +0 -2
- package/dist/cdn/QY53LXP2.js +0 -2
- package/dist/cdn/R75MHIRF.js +0 -2
- package/dist/cdn/RDA5NV6M.js +0 -2
- package/dist/cdn/RG3DO2OE.js +0 -2
- package/dist/cdn/RPNZL6AC.js +0 -2
- package/dist/cdn/S32NLOJ5.js +0 -2
- package/dist/cdn/SCAZDS2G.js +0 -2
- package/dist/cdn/SJGYHEMZ.js +0 -2
- package/dist/cdn/STU55UIS.js +0 -58
- package/dist/cdn/TCTQ4LMU.js +0 -2
- package/dist/cdn/TDHHWIIC.js +0 -2
- package/dist/cdn/TJMPLGQI.js +0 -2
- package/dist/cdn/TJMTF45U.js +0 -3
- package/dist/cdn/TW5DX7YP.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UZEMSOA2.js +0 -2
- package/dist/cdn/VBHQFV2H.js +0 -2
- package/dist/cdn/VFREVEVA.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/VZTLODMQ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/XCUXUZXY.js +0 -2
- package/dist/cdn/XG3WW5GG.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YEZL5KRS.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { ref as
|
|
4
|
-
import {
|
|
5
|
-
import { i as
|
|
6
|
-
import { i as
|
|
7
|
-
import {
|
|
8
|
-
import { h as
|
|
9
|
-
import { g as
|
|
2
|
+
import { c as B } from "../../chunks/runtime.js";
|
|
3
|
+
import { ref as M } from "lit/directives/ref.js";
|
|
4
|
+
import { u as y, m as d, k as h, j as S, e as V, w } from "../../chunks/type-guards2.js";
|
|
5
|
+
import { i as T } from "../../chunks/data-labels-symbol.js";
|
|
6
|
+
import { i as C, a as L, b as P } from "../../chunks/axis-lines-symbol.js";
|
|
7
|
+
import { cloneDeep as n, isArray as F, isObject as A, mergeWith as D, isEmpty as E } from "lodash-es";
|
|
8
|
+
import { h as G } from "../../chunks/chart-ui-utils2.js";
|
|
9
|
+
import { g as W, i as b } from "../../chunks/rest-js-object-literals.js";
|
|
10
10
|
import { u as N } from "../../chunks/useT9n.js";
|
|
11
|
-
import { css as
|
|
12
|
-
import { LitElement as
|
|
13
|
-
import { C as
|
|
14
|
-
import {
|
|
11
|
+
import { css as z, html as f } from "lit";
|
|
12
|
+
import { LitElement as H, renderElement as j, safeClassMap as p } from "@arcgis/lumina";
|
|
13
|
+
import { C as I, F as i, L as m } from "../../chunks/common.js";
|
|
14
|
+
import { bF as u, bV as r } from "../../chunks/index2.js";
|
|
15
15
|
import { r as $ } from "../../chunks/popover-ui-utils.js";
|
|
16
|
-
import {
|
|
16
|
+
import { F as O } from "../../chunks/index3.js";
|
|
17
|
+
import { u as a } from "../../chunks/chart-object-literals.js";
|
|
17
18
|
const v = {
|
|
18
19
|
type: b.TS,
|
|
19
20
|
color: [1, 1, 1, 255],
|
|
@@ -27,14 +28,14 @@ const v = {
|
|
|
27
28
|
}, k = {
|
|
28
29
|
type: b.SLS,
|
|
29
30
|
color: [1, 1, 1, 255],
|
|
30
|
-
style:
|
|
31
|
+
style: W.Solid,
|
|
31
32
|
width: 2
|
|
32
33
|
}, g = {
|
|
33
34
|
element: "chart-element",
|
|
34
35
|
elementList: "element-list",
|
|
35
36
|
sectionLabel: "section-label"
|
|
36
|
-
}, R =
|
|
37
|
-
class X extends
|
|
37
|
+
}, R = z`.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{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)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`;
|
|
38
|
+
class X extends H {
|
|
38
39
|
constructor() {
|
|
39
40
|
super(...arguments), this._messages = N(), this.formatPopover = null, this.selectableElements = [], this.textProperties = [], this.symbolProperties = [], this.symbolPropertyChange = (t) => {
|
|
40
41
|
const e = t;
|
|
@@ -44,7 +45,7 @@ class X extends j {
|
|
|
44
45
|
this.selectedSymbols = [], this.updateSelectedElement(this.selectedSymbols);
|
|
45
46
|
else {
|
|
46
47
|
const o = this.getFormatValue(s);
|
|
47
|
-
this.selectedSymbols = [s], this.initSelectedSymbols(
|
|
48
|
+
this.selectedSymbols = [s], this.initSelectedSymbols(u(o) ? o : k);
|
|
48
49
|
}
|
|
49
50
|
this.setupFormatPopover();
|
|
50
51
|
}, this.textPropertyChange = (t) => {
|
|
@@ -53,9 +54,9 @@ class X extends j {
|
|
|
53
54
|
let s;
|
|
54
55
|
if (e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedBackground = [], e.shiftKey) {
|
|
55
56
|
this.selectedTexts = [];
|
|
56
|
-
const o = this.textProperties.indexOf(this.lastSelectedText ?? s),
|
|
57
|
-
this.textProperties.forEach((
|
|
58
|
-
|
|
57
|
+
const o = this.textProperties.indexOf(this.lastSelectedText ?? s), l = this.textProperties.indexOf(s);
|
|
58
|
+
this.textProperties.forEach((c, x) => {
|
|
59
|
+
x >= Math.min(o, l) && x <= Math.max(o, l) && this.selectedTexts.push(c);
|
|
59
60
|
}), this.updateSelectedElement(this.selectedTexts), this.setupFormatPopover();
|
|
60
61
|
} else if (e.ctrlKey)
|
|
61
62
|
this.selectedTexts.includes(s) ? (this.selectedTexts = this.selectedTexts.filter((o) => o !== s), this.updateSelectedElement(this.selectedTexts)) : (this.selectedTexts = [...this.selectedTexts, s], this.updateSelectedElement(this.selectedTexts)), this.setupFormatPopover();
|
|
@@ -63,32 +64,38 @@ class X extends j {
|
|
|
63
64
|
this.selectedTexts = [], this.updateSelectedElement(this.selectedTexts), this.setupFormatPopover();
|
|
64
65
|
else {
|
|
65
66
|
const o = this.getFormatValue(s);
|
|
66
|
-
this.selectedTexts = [s], this.initSelectedTexts(
|
|
67
|
+
this.selectedTexts = [s], this.initSelectedTexts(r(o) ? o : v), this.setupFormatPopover();
|
|
67
68
|
}
|
|
68
69
|
this.lastSelectedText = s;
|
|
69
70
|
}, this.backgroundChange = (t) => {
|
|
70
71
|
const e = t;
|
|
71
72
|
e.stopImmediatePropagation();
|
|
72
73
|
let s;
|
|
73
|
-
e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedTexts = [], this.selectedBackground.includes(s)
|
|
74
|
+
if (e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedTexts = [], this.selectedBackground.includes(s))
|
|
75
|
+
this.selectedBackground = [], this.selectedElement = void 0;
|
|
76
|
+
else {
|
|
77
|
+
const o = this.getFormatValue(s), l = [...O.backgroundColor];
|
|
78
|
+
this.selectedBackground = [s], this.selectedElement = o ?? l;
|
|
79
|
+
}
|
|
80
|
+
this.setupFormatPopover();
|
|
74
81
|
}, this.updateSymbolProps = (t) => {
|
|
75
82
|
const e = t.detail;
|
|
76
83
|
this.selectedSymbols.forEach((s) => {
|
|
77
84
|
this.setFormatValue(s, e);
|
|
78
|
-
}), this.selectedElement =
|
|
85
|
+
}), this.selectedElement = n(t.target.selectedElement);
|
|
79
86
|
}, this.updateBackground = (t) => {
|
|
80
|
-
this.setFormatValue(
|
|
87
|
+
this.setFormatValue(I.Background, t.detail), this.selectedElement = t.detail;
|
|
81
88
|
}, this.updateTextProps = (t) => {
|
|
82
89
|
const { font: e, color: s } = t.detail;
|
|
83
90
|
this.selectedTexts.forEach((o) => {
|
|
84
|
-
const
|
|
91
|
+
const l = this.getFormatValue(o), c = r(l) ? l : void 0;
|
|
85
92
|
this.setFormatValue(o, {
|
|
86
|
-
...
|
|
93
|
+
...c,
|
|
87
94
|
type: b.TS,
|
|
88
|
-
font: { ...
|
|
89
|
-
color: s ??
|
|
95
|
+
font: { ...c?.font, ...e },
|
|
96
|
+
color: s ?? c?.color
|
|
90
97
|
});
|
|
91
|
-
}), this.selectedElement =
|
|
98
|
+
}), this.selectedElement = n(t.target.selectedElement);
|
|
92
99
|
}, this.onModelConfigChange = () => {
|
|
93
100
|
this.requestUpdate();
|
|
94
101
|
}, this.formatPopoverClose = (t) => {
|
|
@@ -128,29 +135,29 @@ class X extends j {
|
|
|
128
135
|
}
|
|
129
136
|
updateSelectedElement(t, e) {
|
|
130
137
|
if (this.selectedElement = void 0, e === void 0) {
|
|
131
|
-
const s =
|
|
132
|
-
this.selectedElement = t?.reduce((o,
|
|
133
|
-
const
|
|
134
|
-
return
|
|
138
|
+
const s = n(this.getFormatValue(t[0]));
|
|
139
|
+
this.selectedElement = t?.reduce((o, l) => {
|
|
140
|
+
const c = this.getFormatValue(l);
|
|
141
|
+
return D(o, c, this.mergeFormatValues);
|
|
135
142
|
}, s);
|
|
136
143
|
} else {
|
|
137
|
-
let s =
|
|
138
|
-
|
|
144
|
+
let s = n(e);
|
|
145
|
+
E(e) && (this.selectedSymbols?.length > 0 && (s = n(k)), this.selectedTexts?.length > 0 && (s = n(v))), this.selectedElement = s;
|
|
139
146
|
}
|
|
140
147
|
}
|
|
141
148
|
initSelectedTexts(t) {
|
|
142
|
-
let e =
|
|
143
|
-
|
|
149
|
+
let e = n(t);
|
|
150
|
+
E(t) && (e = n(v)), this.selectedElement = e;
|
|
144
151
|
}
|
|
145
152
|
initSelectedSymbols(t) {
|
|
146
|
-
let e =
|
|
147
|
-
|
|
153
|
+
let e = n(t);
|
|
154
|
+
E(t) && (e = n(k)), this.selectedElement = e;
|
|
148
155
|
}
|
|
149
156
|
setupFormatPopover() {
|
|
150
157
|
this.formatPopover = $(this.formatPopover);
|
|
151
158
|
const t = this.selectedElement;
|
|
152
159
|
t?.type === b.TS || t?.type === b.SLS || // To check if the selected element is background.
|
|
153
|
-
Array.isArray(this.selectedElement) ? (this.formatPopover =
|
|
160
|
+
Array.isArray(this.selectedElement) ? (this.formatPopover = j(f`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`), this.formatPopover !== null && !document.body.contains(this.formatPopover) && document.body.appendChild(this.formatPopover)) : this.removeFormatPopover();
|
|
154
161
|
}
|
|
155
162
|
removeFormatPopover() {
|
|
156
163
|
this.formatPopover !== null && (this.formatPopover.open = !1, this.formatPopover = $(this.formatPopover));
|
|
@@ -162,25 +169,25 @@ class X extends j {
|
|
|
162
169
|
case i.Description:
|
|
163
170
|
return this.model.descriptionSymbol;
|
|
164
171
|
case i.XAxisTitle:
|
|
165
|
-
return
|
|
172
|
+
return P(this.model) ? this.model.xAxisTitleSymbol : void 0;
|
|
166
173
|
case i.YAxisTitle:
|
|
167
|
-
return
|
|
174
|
+
return d(this.model) ? this.model.getAxisTitleSymbol(1) : void 0;
|
|
168
175
|
case i.AxisLabels:
|
|
169
|
-
return
|
|
176
|
+
return L(this.model) ? this.model.axisLabelsSymbol : void 0;
|
|
170
177
|
case i.GuideLabels:
|
|
171
|
-
return
|
|
178
|
+
return S(this.model) ? this.model.guideLabelsSymbol : void 0;
|
|
172
179
|
case i.LegendText:
|
|
173
180
|
return h(this.model) ? this.model.legendTextSymbol : void 0;
|
|
174
181
|
case i.LegendTitle:
|
|
175
182
|
return h(this.model) ? this.model.legendTitleSymbol : void 0;
|
|
176
183
|
case i.DataLabels:
|
|
177
|
-
return
|
|
178
|
-
case
|
|
179
|
-
return
|
|
180
|
-
case
|
|
181
|
-
return
|
|
182
|
-
case
|
|
183
|
-
return
|
|
184
|
+
return T(this.model) ? this.model.dataLabelsSymbol : void 0;
|
|
185
|
+
case m.AxisLines:
|
|
186
|
+
return C(this.model) ? this.model.axisLinesSymbol : void 0;
|
|
187
|
+
case m.GridLines:
|
|
188
|
+
return d(this.model) ? this.model.getGridLinesSymbol() : void 0;
|
|
189
|
+
case m.LeaderLines:
|
|
190
|
+
return y(this.model) ? this.model.ticksSymbol : void 0;
|
|
184
191
|
case i.Background:
|
|
185
192
|
return this.model.backgroundColor;
|
|
186
193
|
default:
|
|
@@ -190,55 +197,55 @@ class X extends j {
|
|
|
190
197
|
setFormatValue(t, e) {
|
|
191
198
|
switch (t) {
|
|
192
199
|
case i.Title:
|
|
193
|
-
|
|
200
|
+
r(e) && (this.model.titleSymbol = e);
|
|
194
201
|
break;
|
|
195
202
|
case i.Description:
|
|
196
|
-
|
|
203
|
+
r(e) && (this.model.descriptionSymbol = e);
|
|
197
204
|
break;
|
|
198
205
|
case i.XAxisTitle:
|
|
199
|
-
|
|
206
|
+
P(this.model) && r(e) && (this.model.xAxisTitleSymbol = e);
|
|
200
207
|
break;
|
|
201
208
|
case i.YAxisTitle:
|
|
202
|
-
|
|
209
|
+
d(this.model) && r(e) && this.model.setAxisTitleSymbol(e, 1);
|
|
203
210
|
break;
|
|
204
211
|
case i.AxisLabels:
|
|
205
|
-
|
|
212
|
+
L(this.model) && r(e) && (this.model.axisLabelsSymbol = e);
|
|
206
213
|
break;
|
|
207
214
|
case i.GuideLabels:
|
|
208
|
-
|
|
215
|
+
S(this.model) && r(e) && (this.model.guideLabelsSymbol = e);
|
|
209
216
|
break;
|
|
210
217
|
case i.LegendText:
|
|
211
|
-
h(this.model) &&
|
|
218
|
+
h(this.model) && r(e) && (this.model.legendTextSymbol = e);
|
|
212
219
|
break;
|
|
213
220
|
case i.LegendTitle:
|
|
214
|
-
h(this.model) &&
|
|
221
|
+
h(this.model) && r(e) && (this.model.legendTitleSymbol = e);
|
|
215
222
|
break;
|
|
216
223
|
case i.DataLabels:
|
|
217
|
-
|
|
224
|
+
T(this.model) && r(e) && (this.model.dataLabelsSymbol = e);
|
|
218
225
|
break;
|
|
219
|
-
case
|
|
220
|
-
|
|
226
|
+
case m.AxisLines:
|
|
227
|
+
C(this.model) && u(e) && (this.model.axisLinesSymbol = e);
|
|
221
228
|
break;
|
|
222
|
-
case
|
|
223
|
-
if (
|
|
229
|
+
case m.GridLines:
|
|
230
|
+
if (u(e)) {
|
|
224
231
|
if (V(this.model))
|
|
225
232
|
this.model.setGridLinesSymbol(e);
|
|
226
|
-
else if (
|
|
233
|
+
else if (d(this.model)) {
|
|
227
234
|
const s = this.model.chartType;
|
|
228
235
|
let o = [];
|
|
229
236
|
switch (s) {
|
|
230
237
|
// set y-axis grid line for charts -Bar chart/Line chart, Histogram and Box plot
|
|
231
|
-
case
|
|
232
|
-
case
|
|
233
|
-
case
|
|
234
|
-
case
|
|
235
|
-
case
|
|
236
|
-
case
|
|
238
|
+
case a.BarSeries:
|
|
239
|
+
case a.LineSeries:
|
|
240
|
+
case a.ComboLineAndBarSeries:
|
|
241
|
+
case a.HistogramSeries:
|
|
242
|
+
case a.BoxPlotSeries:
|
|
243
|
+
case a.RadarSeries: {
|
|
237
244
|
o = [1];
|
|
238
245
|
break;
|
|
239
246
|
}
|
|
240
247
|
// set both x and y-axis grid lines for charts - Scatter chart
|
|
241
|
-
case
|
|
248
|
+
case a.ScatterSeries: {
|
|
242
249
|
o = [0, 1];
|
|
243
250
|
break;
|
|
244
251
|
}
|
|
@@ -247,8 +254,8 @@ class X extends j {
|
|
|
247
254
|
}
|
|
248
255
|
}
|
|
249
256
|
break;
|
|
250
|
-
case
|
|
251
|
-
|
|
257
|
+
case m.LeaderLines:
|
|
258
|
+
y(this.model) && u(e) && (this.model.ticksSymbol = e);
|
|
252
259
|
break;
|
|
253
260
|
case i.Background:
|
|
254
261
|
Array.isArray(e) && (this.model.backgroundColor = e);
|
|
@@ -258,33 +265,33 @@ class X extends j {
|
|
|
258
265
|
renderFormatElements() {
|
|
259
266
|
this.textProperties = [
|
|
260
267
|
i.Title,
|
|
261
|
-
...
|
|
262
|
-
...
|
|
268
|
+
...P(this.model) ? [i.XAxisTitle] : [],
|
|
269
|
+
...d(this.model) ? [i.YAxisTitle] : [],
|
|
263
270
|
...h(this.model) ? [i.LegendTitle] : [],
|
|
264
271
|
i.Description,
|
|
265
272
|
...h(this.model) ? [i.LegendText] : [],
|
|
266
|
-
...
|
|
267
|
-
...
|
|
268
|
-
...
|
|
273
|
+
...L(this.model) ? [i.AxisLabels] : [],
|
|
274
|
+
...S(this.model) && this.model.chartType !== a.HeatSeries ? [i.GuideLabels] : [],
|
|
275
|
+
...T(this.model) && this.model.chartType !== a.HeatSeries && this.model.chartType !== a.BoxPlotSeries ? [i.DataLabels] : []
|
|
269
276
|
], w(this.model) && (this.textProperties = this.textProperties.filter((s) => s !== i.DataLabels)), this.symbolProperties = [
|
|
270
277
|
i.Background,
|
|
271
|
-
...
|
|
272
|
-
...
|
|
273
|
-
...
|
|
278
|
+
...C(this.model) && this.model.chartType !== a.HeatSeries ? [m.AxisLines] : [],
|
|
279
|
+
...d(this.model) ? [m.GridLines] : [],
|
|
280
|
+
...y(this.model) ? [m.LeaderLines] : []
|
|
274
281
|
];
|
|
275
282
|
const t = this.textProperties.map((s) => this.renderTextElement(s, this.textPropertyChange)), e = this.symbolProperties.map((s) => s === i.Background ? this.renderTextElement(s, this.backgroundChange) : this.renderTextElement(s, this.symbolPropertyChange));
|
|
276
283
|
return { textElements: t, symbolElements: e };
|
|
277
284
|
}
|
|
278
285
|
renderTextElement(t, e) {
|
|
279
|
-
const s =
|
|
280
|
-
return
|
|
286
|
+
const s = G(t), o = this.getFormatValue(t), l = typeof o == "string" ? o : "", c = this.selectedTexts.includes(t) || this.selectedSymbols.includes(t) || this.selectedBackground.includes(t);
|
|
287
|
+
return f`<calcite-list-item class=${p(g.element)} .label=${this._messages[t]} .description=${l} .value=${t} .selected=${c} @click=${e} ${M(this.updateSelectableElements)}>${s !== void 0 ? f`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>` : null}</calcite-list-item>`;
|
|
281
288
|
}
|
|
282
289
|
render() {
|
|
283
290
|
const { textElements: t, symbolElements: e } = this.renderFormatElements();
|
|
284
|
-
return
|
|
291
|
+
return f`<div class=${p(g.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${p(g.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${p(g.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${p(g.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`;
|
|
285
292
|
}
|
|
286
293
|
}
|
|
287
|
-
|
|
294
|
+
B("arcgis-charts-config-format", X);
|
|
288
295
|
export {
|
|
289
296
|
X as ArcgisChartsConfigFormat
|
|
290
297
|
};
|
|
@@ -3,13 +3,10 @@ import { c as i } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { html as o } from "lit";
|
|
4
4
|
import { u as a } from "../../chunks/useT9n.js";
|
|
5
5
|
import { createRef as l, ref as n } from "lit/directives/ref.js";
|
|
6
|
-
import { LitElement as c, createEvent as s
|
|
7
|
-
import { e as
|
|
6
|
+
import { LitElement as c, createEvent as s } from "@arcgis/lumina";
|
|
7
|
+
import { e as p } from "../../chunks/popover-ui-utils.js";
|
|
8
8
|
import { i as r } from "../../chunks/rest-js-object-literals.js";
|
|
9
|
-
|
|
10
|
-
jsAppFlyout: "js-app-flyout"
|
|
11
|
-
};
|
|
12
|
-
class m extends c {
|
|
9
|
+
class h extends c {
|
|
13
10
|
constructor() {
|
|
14
11
|
super(...arguments), this._messages = a(), this.popoverElement = l(), this.placement = "leading", this.open = !1, this.arcgisChartsConfigFormatPopoverColorChange = s(), this.arcgisChartsConfigFormatPopoverSymbolChange = s(), this.arcgisChartsConfigFormatPopoverTextChange = s(), this.arcgisChartsConfigPopoverClose = s();
|
|
15
12
|
}
|
|
@@ -20,7 +17,7 @@ class m extends c {
|
|
|
20
17
|
await this.popoverElement.value?.reposition();
|
|
21
18
|
}
|
|
22
19
|
updated() {
|
|
23
|
-
|
|
20
|
+
p(this.popoverElement.value, this.open);
|
|
24
21
|
}
|
|
25
22
|
closePopover() {
|
|
26
23
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
@@ -36,10 +33,10 @@ class m extends c {
|
|
|
36
33
|
}
|
|
37
34
|
render() {
|
|
38
35
|
const e = this.selectedElement, t = this.selectedElement;
|
|
39
|
-
return o`<div
|
|
36
|
+
return o`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${!this.open} label @calcitePopoverClose=${this.closePopover} pointer-disabled auto-close ${n(this.popoverElement)}>${Array.isArray(e) ? o`<arcgis-charts-config-color-style .header=${this._messages.backgroundElement} enable-close .open=${this.open} .selectedColor=${e} @arcgisChartsConfigColorStyleClose=${this.closePopover} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` : null}${t?.type === r.SLS ? o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${t} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` : null}${t?.type === r.TS ? o`<arcgis-charts-config-font-style .header=${this._messages.textStyle} .open=${this.open} enable-close .fontStyle=${t} @arcgisChartsConfigFontStyleClose=${this.closePopover} @arcgisChartsConfigFontStyleChange=${this.updateTextProperties}></arcgis-charts-config-font-style>` : null}</calcite-popover></div>`;
|
|
40
37
|
}
|
|
41
38
|
}
|
|
42
|
-
i("arcgis-charts-config-format-popover",
|
|
39
|
+
i("arcgis-charts-config-format-popover", h);
|
|
43
40
|
export {
|
|
44
|
-
|
|
41
|
+
h as ArcgisChartsConfigFormatPopover
|
|
45
42
|
};
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as R } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as X } from "lit/directives/keyed.js";
|
|
4
|
-
import { cloneDeep as
|
|
4
|
+
import { cloneDeep as P } from "lodash-es";
|
|
5
5
|
import { m as G, a as N, j as Z, k, U as S } from "../../chunks/chart-ui-utils2.js";
|
|
6
6
|
import { d as F } from "../../chunks/default.js";
|
|
7
|
-
import { g as
|
|
8
|
-
import { u as
|
|
9
|
-
import { css as
|
|
7
|
+
import { g as z } from "../../chunks/resource.js";
|
|
8
|
+
import { u as O } from "../../chunks/useT9n.js";
|
|
9
|
+
import { css as V, html as c } from "lit";
|
|
10
10
|
import { createRef as h, ref as u } from "lit/directives/ref.js";
|
|
11
|
-
import { LitElement as
|
|
12
|
-
import { m as W,
|
|
13
|
-
import { M as p, i as H, a1 as A,
|
|
14
|
-
import {
|
|
15
|
-
import { q as m, p as K } from "../../chunks/index5.js";
|
|
11
|
+
import { LitElement as q, createEvent as U, renderElement as M, safeStyleMap as L, safeClassMap as o } from "@arcgis/lumina";
|
|
12
|
+
import { m as W, r as Y, s as j } from "../../chunks/type-guards2.js";
|
|
13
|
+
import { M as p, bF as m, i as H, a1 as A, aK as _, bE as K } from "../../chunks/index2.js";
|
|
14
|
+
import { a0 as J } from "../../chunks/index.js";
|
|
16
15
|
import { r as Q } from "../../chunks/popover-ui-utils.js";
|
|
17
16
|
import { i as g, g as ee } from "../../chunks/rest-js-object-literals.js";
|
|
18
17
|
import { u as te } from "../../chunks/chart-object-literals.js";
|
|
@@ -21,13 +20,13 @@ const n = {
|
|
|
21
20
|
row: "row",
|
|
22
21
|
column: "column",
|
|
23
22
|
colorPicker: "color-picker"
|
|
24
|
-
}, ie =
|
|
25
|
-
class se extends
|
|
23
|
+
}, ie = V`.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}.row{display:flex;flex-direction:row;column-gap:var(--arcgis-charts-inter-section-margin)}.column{display:flex;flex-direction:column;flex-wrap:wrap;flex-grow:1}.column>calcite-input{margin-bottom:.5rem;flex-grow:2}.column>calcite-input[type=number]{margin-bottom:.5rem}input{padding:.5rem}.label{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--arcgis-charts-intra-section-margin);flex-grow:1}.color-picker{border:1px solid var(--calcite-color-border-2);box-shadow:none;margin-bottom:var(--arcgis-charts-inter-section-margin)}.delete-guide{display:flex;flex-direction:row-reverse;height:2rem;margin:0 1rem;font-weight:550}.delete-guide:dir(rtl){flex-direction:row}`;
|
|
24
|
+
class se extends q {
|
|
26
25
|
constructor() {
|
|
27
|
-
super(...arguments), this._messages =
|
|
26
|
+
super(...arguments), this._messages = O(), this.startCalciteInput = h(), this.endCalciteInput = h(), this.startDateCalciteInput = h(), this.endDateCalciteInput = h(), this.startTimeCalciteInput = h(), this.endTimeCalciteInput = h(), this.colorElement = h(), this.colorChange = (e) => {
|
|
28
27
|
const t = e.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
29
28
|
if (p(i, a) === g.SLS) {
|
|
30
|
-
const l =
|
|
29
|
+
const l = P(F.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
31
30
|
...l,
|
|
32
31
|
...m(s) ? s : {},
|
|
33
32
|
color: t
|
|
@@ -38,7 +37,7 @@ class se extends V {
|
|
|
38
37
|
}, this.symbolChange = (e) => {
|
|
39
38
|
const t = e?.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
40
39
|
if (p(i, a) === g.SLS) {
|
|
41
|
-
const l =
|
|
40
|
+
const l = P(F.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
42
41
|
...l,
|
|
43
42
|
...m(s) ? s : {},
|
|
44
43
|
...m(t) ? t : {}
|
|
@@ -102,14 +101,14 @@ class se extends V {
|
|
|
102
101
|
})), this.guidePopover?.open === !0 && this.removeGuidePopover();
|
|
103
102
|
}
|
|
104
103
|
setGuideDateTimeRange() {
|
|
105
|
-
const e = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = H(this.timeZone) ?? l, r = A(i, s), v = _(i, s), f = A(a, s), B = _(a, s), T = this.startDateCalciteInput.value?.value ?? "", C = T === "" ? r : T, D = this.startTimeCalciteInput.value?.value ?? "", I = D === "" ? v : D, x = this.endDateCalciteInput.value?.value ?? "", y = x === "" ? f : x, w = this.endTimeCalciteInput.value?.value ?? "",
|
|
104
|
+
const e = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = H(this.timeZone) ?? l, r = A(i, s), v = _(i, s), f = A(a, s), B = _(a, s), T = this.startDateCalciteInput.value?.value ?? "", C = T === "" ? r : T, D = this.startTimeCalciteInput.value?.value ?? "", I = D === "" ? v : D, x = this.endDateCalciteInput.value?.value ?? "", y = x === "" ? f : x, w = this.endTimeCalciteInput.value?.value ?? "", E = w === "" ? B : w;
|
|
106
105
|
let $ = !1;
|
|
107
106
|
if (!Array.isArray(C) && C !== void 0 && I !== void 0) {
|
|
108
107
|
const d = `${C}T${I}`;
|
|
109
108
|
this.model.setGuideStart(d, this.index, this.orientation), $ = !0;
|
|
110
109
|
}
|
|
111
|
-
if (!Array.isArray(y) && y !== void 0 &&
|
|
112
|
-
const d = x === "" ? void 0 : `${y}T${
|
|
110
|
+
if (!Array.isArray(y) && y !== void 0 && E !== void 0) {
|
|
111
|
+
const d = x === "" ? void 0 : `${y}T${E}`;
|
|
113
112
|
this.model.setGuideEnd(d, this.index, this.orientation), $ = !0;
|
|
114
113
|
}
|
|
115
114
|
$ && (this.symbolChange(), this.arcgisChartsConfigGuideChange.emit({
|
|
@@ -219,7 +218,7 @@ class se extends V {
|
|
|
219
218
|
}
|
|
220
219
|
render() {
|
|
221
220
|
const e = this.model.getGuideStart(this.index, this.orientation), t = this.model.getGuideEnd(this.index, this.orientation), i = this.model.getGuideName(this.index, this.orientation), a = this.model.getGuideLabelText(this.index, this.orientation), l = this.model.getGuideAbove(this.index, this.orientation), s = this.model.getGuideVisibility(this.index, this.orientation), r = this.isXAxisDateField;
|
|
222
|
-
return c`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition ===
|
|
221
|
+
return c`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition === z(this.index, this.orientation, this.model)} collapsible .messageOverrides=${{
|
|
223
222
|
expand: this._messages.expand,
|
|
224
223
|
collapse: this._messages.collapse
|
|
225
224
|
}}><calcite-action slot=actions-end text .icon=${s ? "view-visible" : "view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=actions-end text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.start}${r ? c`<calcite-input-date-picker .value=${this.getDateStringFromBound(e)} required scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${u(this.startDateCalciteInput)}></calcite-input-date-picker>` : c`<calcite-input type=number required @calciteInputInput=${this.setGuideStart} @keydown=${k} number-button-type=none .value=${e?.toString()} ${u(this.startCalciteInput)}></calcite-input>`}</calcite-label><calcite-label class=${o(n.column)}>${this._messages.end}${r ? c`<calcite-input-date-picker .value=${this.getDateStringFromBound(t)} scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${u(this.endDateCalciteInput)}></calcite-input-date-picker>` : c`<calcite-input type=number @calciteInputInput=${this.setGuideEnd} @keydown=${k} number-button-type=none .value=${t?.toString()} ${u(this.endCalciteInput)}></calcite-input>`}</calcite-label></div>${r ? X("time-picker-row", c`<div class=${o(n.row)}>${e != null ? c`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(e)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${u(this.startTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}${t != null ? c`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(t)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${u(this.endTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}</div>`) : null}<div class=${o(n.row)}><div class=${o(n.column)}>${this.renderColorElement()}</div></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideName}<calcite-input type=text .value=${i} @calciteInputInput=${this.setGuideName}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideLabel}<calcite-input type=text .value=${a} @calciteInputInput=${this.setGuideLabel}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.display}<calcite-segmented-control @calciteSegmentedControlChange=${this.setGuideRendered} scale=s><calcite-segmented-control-item .checked=${l} .value=${this._messages.inFront}>${this._messages.inFront}</calcite-segmented-control-item><calcite-segmented-control-item .checked=${!l} .value=${this._messages.inBack}>${this._messages.inBack}</calcite-segmented-control-item></calcite-segmented-control></calcite-label></div></calcite-block>`;
|
|
@@ -4,13 +4,10 @@ import { html as t } from "lit";
|
|
|
4
4
|
import { g as i } from "../../chunks/default.js";
|
|
5
5
|
import { u as l } from "../../chunks/useT9n.js";
|
|
6
6
|
import { createRef as a, ref as n } from "lit/directives/ref.js";
|
|
7
|
-
import { LitElement as
|
|
8
|
-
import { i as
|
|
9
|
-
import { e as
|
|
10
|
-
|
|
11
|
-
jsAppFlyout: "js-app-flyout"
|
|
12
|
-
};
|
|
13
|
-
class C extends p {
|
|
7
|
+
import { LitElement as c, createEvent as s } from "@arcgis/lumina";
|
|
8
|
+
import { i as p } from "../../chunks/rest-js-object-literals.js";
|
|
9
|
+
import { e as h } from "../../chunks/popover-ui-utils.js";
|
|
10
|
+
class m extends c {
|
|
14
11
|
constructor() {
|
|
15
12
|
super(...arguments), this._messages = l(), this.popoverElement = a(), this.placement = "leading", this.open = !1, this.arcgisChartsConfigGuidePopoverColorChange = s(), this.arcgisChartsConfigGuidePopoverSymbolChange = s(), this.arcgisChartsConfigPopoverClose = s();
|
|
16
13
|
}
|
|
@@ -21,7 +18,7 @@ class C extends p {
|
|
|
21
18
|
await this.popoverElement.value?.reposition();
|
|
22
19
|
}
|
|
23
20
|
updated() {
|
|
24
|
-
|
|
21
|
+
h(this.popoverElement.value, this.open);
|
|
25
22
|
}
|
|
26
23
|
guidePopoverClose() {
|
|
27
24
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
@@ -36,10 +33,10 @@ class C extends p {
|
|
|
36
33
|
}
|
|
37
34
|
render() {
|
|
38
35
|
const o = this.selectedElement, e = this.selectedElement;
|
|
39
|
-
return t`<div
|
|
36
|
+
return t`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${n(this.popoverElement)}>${Array.isArray(o) && t`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${o} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` || ""}${e?.type === p.SLS && t`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${e} @arcgisChartsConfigLineStyleClose=${this.guidePopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` || ""}</calcite-popover></div>`;
|
|
40
37
|
}
|
|
41
38
|
}
|
|
42
|
-
r("arcgis-charts-config-guide-popover",
|
|
39
|
+
r("arcgis-charts-config-guide-popover", m);
|
|
43
40
|
export {
|
|
44
|
-
|
|
41
|
+
m as ArcgisChartsConfigGuidePopover
|
|
45
42
|
};
|
|
@@ -7,7 +7,7 @@ import { u as f } from "../../chunks/useT9n.js";
|
|
|
7
7
|
import { css as A, html as a } from "lit";
|
|
8
8
|
import { createRef as x, ref as C } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement as b, renderElement as v, safeClassMap as c } from "@arcgis/lumina";
|
|
10
|
-
import {
|
|
10
|
+
import { r as h, s as u } from "../../chunks/type-guards2.js";
|
|
11
11
|
import { G as s } from "../../chunks/common.js";
|
|
12
12
|
const P = A`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.add-guide{display:flex;justify-content:center;padding:.5rem}.add-guide-btn{width:100%}.no-guides{border-radius:2rem}.no-messages{text-align:center}.guide-icon{padding-left:.5rem;padding-top:.5rem;width:1.5rem;height:1.5rem}`;
|
|
13
13
|
class $ extends b {
|
|
@@ -2,17 +2,16 @@
|
|
|
2
2
|
import { c as r } from "../../chunks/runtime.js";
|
|
3
3
|
import { LitElement as l } from "@arcgis/lumina";
|
|
4
4
|
import { css as n, html as i } from "lit";
|
|
5
|
-
import { C as
|
|
5
|
+
import { C as s } from "../../chunks/interfaces.js";
|
|
6
6
|
import { isEqual as d } from "lodash-es";
|
|
7
|
-
import { h } from "../../chunks/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class p extends l {
|
|
7
|
+
import { a$ as h, ac as c, I as f } from "../../chunks/index2.js";
|
|
8
|
+
const p = n`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
9
|
+
class m extends l {
|
|
11
10
|
static {
|
|
12
11
|
this.properties = { layerFieldsInfo: 16, model: 0, page: 1, layer: 0, usePopupTemplateFieldsInfo: 5, popupTemplateFieldInfosEnabled: 5 };
|
|
13
12
|
}
|
|
14
13
|
static {
|
|
15
|
-
this.styles =
|
|
14
|
+
this.styles = p;
|
|
16
15
|
}
|
|
17
16
|
async load() {
|
|
18
17
|
await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model);
|
|
@@ -31,8 +30,8 @@ class p extends l {
|
|
|
31
30
|
const a = e ?? this.model.config;
|
|
32
31
|
let t = this.layer;
|
|
33
32
|
if (!t) {
|
|
34
|
-
const
|
|
35
|
-
|
|
33
|
+
const o = h(a) ? a.iLayer : void 0;
|
|
34
|
+
o && (t = await c(o));
|
|
36
35
|
}
|
|
37
36
|
t && (await t.load(), this.layerFieldsInfo = f(t, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled));
|
|
38
37
|
}
|
|
@@ -43,13 +42,13 @@ class p extends l {
|
|
|
43
42
|
render() {
|
|
44
43
|
let e;
|
|
45
44
|
switch (this.page) {
|
|
46
|
-
case
|
|
45
|
+
case s.Data:
|
|
47
46
|
e = i`<arcgis-charts-config-heat-chart-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-heat-chart-data>`;
|
|
48
47
|
break;
|
|
49
|
-
case
|
|
48
|
+
case s.Format:
|
|
50
49
|
e = i`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;
|
|
51
50
|
break;
|
|
52
|
-
case
|
|
51
|
+
case s.General:
|
|
53
52
|
e = i`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;
|
|
54
53
|
break;
|
|
55
54
|
default:
|
|
@@ -59,7 +58,7 @@ class p extends l {
|
|
|
59
58
|
return e;
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
|
-
r("arcgis-charts-config-heat-chart",
|
|
61
|
+
r("arcgis-charts-config-heat-chart", m);
|
|
63
62
|
export {
|
|
64
|
-
|
|
63
|
+
m as ArcgisChartsConfigHeatChart
|
|
65
64
|
};
|