@arcgis/charts-components 5.2.0-next.5 → 5.2.0-next.51
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/{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/{5QO32XSX.js → 2UMW7TY6.js} +1 -1
- package/dist/cdn/356JWED3.js +2 -0
- package/dist/cdn/{Y7HBWU3M.js → 3GAUDUOD.js} +1 -1
- package/dist/cdn/{SBYD2EKR.js → 3UDKG6TV.js} +1 -1
- package/dist/cdn/{DCZWZOPF.js → 4ASVJDBN.js} +1 -1
- package/dist/cdn/4C3N36J3.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{Y3CXVO2M.js → 4MSUALRF.js} +1 -1
- package/dist/cdn/4PUEIE4S.js +45 -0
- package/dist/cdn/53HYBRJO.js +2 -0
- package/dist/cdn/{L4G6FO7A.js → 57VIC2YX.js} +1 -1
- package/dist/cdn/5BPQQOWS.js +2 -0
- package/dist/cdn/5CIY3LRQ.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{CHQDKVVQ.js → 5DUKB563.js} +1 -1
- package/dist/cdn/5IOIRPSB.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/5XW2VK3A.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/67P25QZA.js +2 -0
- package/dist/cdn/6AICTTLD.js +2 -0
- package/dist/cdn/6HU62XEQ.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → 6RG6AF7N.js} +1 -1
- package/dist/cdn/{HCMD362H.js → 6RPBMFL2.js} +1 -1
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/77A4IT5I.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/7FSMC2TG.js +2 -0
- package/dist/cdn/7M3DALPY.js +2 -0
- package/dist/cdn/{N6AOFBBX.js → 7MEYUIY2.js} +1 -1
- package/dist/cdn/{TNB3MBXR.js → A67PKDYM.js} +1 -1
- package/dist/cdn/AALLRICA.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{5MEQANMY.js → AFE4UMQE.js} +1 -1
- package/dist/cdn/{CJ4POAPM.js → AJ4RZPOJ.js} +1 -1
- package/dist/cdn/AM27TYIA.js +102 -0
- package/dist/cdn/{VEA5ZR5D.js → APATJCOK.js} +1 -1
- package/dist/cdn/AZHBGLOD.js +2 -0
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{TYMKFCF4.js → B6BI3FPN.js} +1 -1
- package/dist/cdn/{HVO4LIXR.js → BAPR67OA.js} +1 -1
- package/dist/cdn/{5JML3JUR.js → BBMN3YU4.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/BYU72SMZ.js +2 -0
- package/dist/cdn/{ZFZ5AEUQ.js → C4O77AVT.js} +1 -1
- package/dist/cdn/CHZMNR2R.js +2 -0
- package/dist/cdn/CK2HC7UZ.js +4 -0
- package/dist/cdn/{64ZMYZ2S.js → CO2YXCVJ.js} +1 -1
- package/dist/cdn/CRUHZMGY.js +2 -0
- package/dist/cdn/{KLC6NTPC.js → CUPAZHZI.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/DEJ5AMUG.js +2 -0
- package/dist/cdn/{DEGBVJ76.js → DGJATKEL.js} +1 -1
- package/dist/cdn/DGU55EVX.js +2 -0
- package/dist/cdn/DT5VZTKL.js +2 -0
- package/dist/cdn/DWWFJ4K4.js +2 -0
- package/dist/cdn/{RAQZUMC6.js → E7YVOSTR.js} +1 -1
- package/dist/cdn/EKHD7EQL.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/{A4GEWIPY.js → F7IPTEHX.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → FHKRXY7E.js} +1 -1
- package/dist/cdn/G33PG425.js +2 -0
- package/dist/cdn/{R45FWF7D.js → G6XSNG2U.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → GEHO65XE.js} +1 -1
- package/dist/cdn/{RFQBUWOW.js → GT6KWFXM.js} +1 -1
- package/dist/cdn/{TF7TE7K5.js → GZZJATH3.js} +1 -1
- package/dist/cdn/HGG2Y5XW.js +2 -0
- package/dist/cdn/HMBXRL4X.js +2 -0
- package/dist/cdn/HQHYGZW7.js +2 -0
- package/dist/cdn/{FF4DUQDZ.js → HRUQXEFI.js} +1 -1
- package/dist/cdn/HUGYHQXM.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → HWHKCIYW.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/{3DK6M5E7.js → IB6KNSJY.js} +1 -1
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/{PSO5AURI.js → INECCYD7.js} +1 -1
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/{PVJEBBA7.js → ISY2BKFT.js} +1 -1
- package/dist/cdn/J64IDIEG.js +2 -0
- package/dist/cdn/J6YHKP6I.js +2 -0
- package/dist/cdn/JDAJB45A.js +2 -0
- package/dist/cdn/{YOT6DVSU.js → JEW6MSOC.js} +1 -1
- package/dist/cdn/{KZ7LPNX3.js → JNFMKAES.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/K5FLBEYI.js +2 -0
- package/dist/cdn/KITNG4RO.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → L5J4TYCU.js} +1 -1
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LGTEA66L.js +2 -0
- package/dist/cdn/LQMU7V5C.js +2 -0
- 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/MCTBEBKM.js +2 -0
- package/dist/cdn/{K3GNHGEW.js → MDPDU2BA.js} +1 -1
- package/dist/cdn/MIJTHCPZ.js +2 -0
- package/dist/cdn/MMGZV3SQ.js +2 -0
- package/dist/cdn/NEOAI7Q7.js +3 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VVKV5KKN.js → NMITBWC4.js} +1 -1
- package/dist/cdn/NPRV25FK.js +2 -0
- 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/{LONASKGH.js → OAFJADKA.js} +1 -1
- 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/{LDPHZHSF.js → OWLVHHFH.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/{WEQBZOH7.js → PDPZBGTU.js} +1 -1
- package/dist/cdn/PFR6MB2U.js +2 -0
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{VDG54AIC.js → PTS74ZAY.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → PV2PO4IS.js} +1 -1
- package/dist/cdn/{ETKPMU7Z.js → Q3ZQR5JF.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → Q5E66RNY.js} +1 -1
- 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/R53ISOLY.js +2 -0
- package/dist/cdn/{GV3TT7L5.js → R6T7WJQJ.js} +1 -1
- package/dist/cdn/{KUZR6CGB.js → R6XIGSQS.js} +1 -1
- package/dist/cdn/{7ABIELGZ.js → RFXODD7V.js} +1 -1
- package/dist/cdn/{5XTQQOTT.js → RLCLIRL6.js} +1 -1
- package/dist/cdn/RREO2RVL.js +2 -0
- package/dist/cdn/{AM2TOTX6.js → RTVU7ANC.js} +1 -1
- package/dist/cdn/RXFVSKL4.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/{DKAHZ7IX.js → SWEIMWH2.js} +1 -1
- package/dist/cdn/T5QBJ7O3.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TIIFRE76.js +2 -0
- package/dist/cdn/TIRQ7FKE.js +2 -0
- package/dist/cdn/{KOBNV5AQ.js → TJZPVPM6.js} +1 -1
- package/dist/cdn/{A5YDJIMZ.js → TNNXIIY2.js} +1 -1
- package/dist/cdn/{KFONSKQF.js → TQLMPVI5.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → TW4RXJ35.js} +1 -1
- package/dist/cdn/{U2LJZ4ML.js → TWULSSGK.js} +1 -1
- package/dist/cdn/TXQMUOMN.js +2 -0
- package/dist/cdn/{5G7DSKI7.js → UBG7XLVS.js} +1 -1
- package/dist/cdn/{NQQW4GKA.js → UBZEWFXF.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/{LZYN55O4.js → UDDRI2Q2.js} +1 -1
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/{A5AECJXP.js → VEXNULZX.js} +1 -1
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VMJSBE4T.js +2 -0
- package/dist/cdn/VN3NJCXR.js +2 -0
- package/dist/cdn/{U4XLNCOU.js → VQJKVJS7.js} +1 -1
- package/dist/cdn/VU2FAY3Y.js +2 -0
- package/dist/cdn/{3YT44D4Z.js → VX6SWJJ6.js} +1 -1
- package/dist/cdn/VZNG7PQX.js +2 -0
- package/dist/cdn/W2QTMTLL.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → WWIRRYDD.js} +1 -1
- package/dist/cdn/{XW4PBQNW.js → X6QMN2HV.js} +1 -1
- package/dist/cdn/XKOKJQQD.js +2 -0
- package/dist/cdn/{LRNADJJG.js → XMV5A2VE.js} +2 -2
- package/dist/cdn/XUL3AOTB.js +2 -0
- package/dist/cdn/{IPM2XKST.js → XVK4ONRA.js} +1 -1
- package/dist/cdn/{QOOBNATX.js → XWLP2CHH.js} +1 -1
- package/dist/cdn/Y6KFUUWA.js +2 -0
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/YEGRLOUM.js +2 -0
- package/dist/cdn/{PAIRUVLU.js → YEK7BIRE.js} +1 -1
- package/dist/cdn/{XE3FKQFA.js → YS73YUW5.js} +1 -1
- package/dist/cdn/{WNKDEOFZ.js → ZALJA7E5.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → ZCAHK6VZ.js} +1 -1
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{FDXE5JLT.js → ZUIZRQUG.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → ZYK5XBZK.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 +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 +37 -37
- package/dist/chunks/box-plot-model.js +10 -10
- 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 +39 -24
- 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 +76 -47
- package/dist/chunks/histogram-data.js +15 -15
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +85 -84
- package/dist/chunks/index2.js +5926 -5735
- package/dist/chunks/index3.js +32 -29
- package/dist/chunks/index4.js +252 -75
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +15 -14
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-x-guides.js +5 -5
- package/dist/chunks/model-with-y-guides.js +20 -20
- 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 +171 -158
- package/dist/chunks/radar-chart-model.js +2 -2
- 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 +15 -15
- package/dist/chunks/serial-chart-data.js +891 -756
- 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 +79 -68
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/chunks/x-bounds.js +17 -17
- package/dist/components/arcgis-chart/customElement.d.ts +178 -148
- package/dist/components/arcgis-chart/customElement.js +8259 -8184
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +15 -15
- 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 +28 -28
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +7 -10
- 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 +16 -16
- 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 +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 +63 -75
- 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 +28 -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 +1 -1
- 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 +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 +6 -7
- 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 +9 -9
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +10 -13
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
- 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 +2 -2
- 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 +2 -2
- 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 +24 -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 +22 -22
- 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/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/misc/index.d.ts +2 -3
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +7 -8
- package/dist/cdn/23YH7MTF.js +0 -2
- package/dist/cdn/26FWESH3.js +0 -102
- package/dist/cdn/2K4ODNJ4.js +0 -2
- package/dist/cdn/3XHZ677O.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5FMEOIBS.js +0 -3
- package/dist/cdn/5XTB2INB.js +0 -2
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/74JAZF7U.js +0 -2
- package/dist/cdn/7CN6J33C.js +0 -2
- package/dist/cdn/7HIZH35G.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/BBURKBKE.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/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/GL3IXVRN.js +0 -2
- package/dist/cdn/GLJWUZHK.js +0 -2
- package/dist/cdn/HCV34H6X.js +0 -2
- package/dist/cdn/IUFXFWXH.js +0 -2
- package/dist/cdn/JHYH555K.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JVHJMPFE.js +0 -2
- package/dist/cdn/K5MXTTSL.js +0 -2
- 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/N5ERJZPG.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/NPXBPNXE.js +0 -2
- package/dist/cdn/NS3THLCD.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/OLV642SY.js +0 -4
- package/dist/cdn/P2NPQAJ3.js +0 -2
- package/dist/cdn/PC7IKOIB.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/PZGIXDMC.js +0 -2
- package/dist/cdn/RMYZGOBM.js +0 -2
- package/dist/cdn/SVLEJ3HK.js +0 -2
- package/dist/cdn/TAI4RIWT.js +0 -2
- package/dist/cdn/TXSWWAOF.js +0 -2
- package/dist/cdn/TZB57XD4.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/WPPMMVD5.js +0 -2
- package/dist/cdn/YF7MNTCU.js +0 -58
- package/dist/cdn/YRBE7MBU.js +0 -2
- package/dist/cdn/YRFZPSCC.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/Z2CVF7CH.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
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -4,7 +4,7 @@ import { isEqual as a } from "lodash-es";
|
|
|
4
4
|
import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
import { css as h, html as o } from "lit";
|
|
6
6
|
import { C as s } from "../../chunks/interfaces.js";
|
|
7
|
-
import { ac as c, I as m,
|
|
7
|
+
import { ac as c, I as m, bk as f, bb as g } from "../../chunks/index2.js";
|
|
8
8
|
import { h as p } from "../../chunks/index5.js";
|
|
9
9
|
const u = h`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
10
10
|
class C extends n {
|
|
@@ -6,13 +6,13 @@ import { css as I, html as r } from "lit";
|
|
|
6
6
|
import { createRef as m, ref as d } from "lit/directives/ref.js";
|
|
7
7
|
import { u as b } from "../../chunks/useT9n.js";
|
|
8
8
|
import { L as l } from "../../chunks/interfaces.js";
|
|
9
|
-
import { d as B, a as u, r as
|
|
10
|
-
import { isEqual as
|
|
9
|
+
import { d as B, a as u, r as k, b as T } from "../../chunks/store.js";
|
|
10
|
+
import { isEqual as S } from "lodash-es";
|
|
11
11
|
import { x as E } from "../../chunks/data.js";
|
|
12
12
|
import { r as c, s as f, m as h } from "../../chunks/chart-object-literals.js";
|
|
13
|
-
import {
|
|
13
|
+
import { u as L, ah as P } from "../../chunks/index.js";
|
|
14
14
|
import { d as v, m as w } from "../../chunks/index3.js";
|
|
15
|
-
import { an as C,
|
|
15
|
+
import { an as C, bb as _ } from "../../chunks/index2.js";
|
|
16
16
|
import { r as N } from "../../chunks/popover-ui-utils.js";
|
|
17
17
|
const D = I`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:.5rem;justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}`, n = {
|
|
18
18
|
label: "label",
|
|
@@ -54,7 +54,7 @@ class U extends x {
|
|
|
54
54
|
default:
|
|
55
55
|
break;
|
|
56
56
|
}
|
|
57
|
-
t !== l.interval && t !== l.intervalAlignment &&
|
|
57
|
+
t !== l.interval && t !== l.intervalAlignment && k(u);
|
|
58
58
|
}
|
|
59
59
|
} catch (t) {
|
|
60
60
|
throw t instanceof Error && this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
@@ -130,7 +130,7 @@ class U extends x {
|
|
|
130
130
|
this.model.trimIncompleteTimeInterval = e.target.checked;
|
|
131
131
|
}
|
|
132
132
|
onNullPolicyChange(e) {
|
|
133
|
-
this.model.nullPolicy = e.target.selectedItem
|
|
133
|
+
this.model.nullPolicy = e.target.selectedItem?.value;
|
|
134
134
|
}
|
|
135
135
|
shouldShowTimeBinning() {
|
|
136
136
|
const e = this.layerFieldsInfo.find((i) => i.name === this.model.xAxisField), t = this.model.aggregationType !== c.NoAggregation;
|
|
@@ -169,15 +169,15 @@ class U extends x {
|
|
|
169
169
|
this.lineChartPopover !== null && (this.lineChartPopover.open = !1, this.lineChartPopover = N(this.lineChartPopover));
|
|
170
170
|
}
|
|
171
171
|
renderAggregation() {
|
|
172
|
-
return r`<arcgis-charts-config-field-
|
|
172
|
+
return r`<arcgis-charts-config-field-picker .label=${this.model.aggregationType === c.NoAggregation ? this._messages.noAggregation : this.aggregationLabel} @click=${this.onAggregationSelect} ${d(this.aggregationElement)}></arcgis-charts-config-field-picker>`;
|
|
173
173
|
}
|
|
174
174
|
renderXAxisField() {
|
|
175
175
|
const e = this.getCorrectedXAxisValue();
|
|
176
|
-
return r`<arcgis-charts-config-field-
|
|
176
|
+
return r`<arcgis-charts-config-field-picker .label=${e} @click=${this.onXAxisFieldSelect} ${d(this.xAxisFieldElement)}></arcgis-charts-config-field-picker>`;
|
|
177
177
|
}
|
|
178
178
|
renderSplitBy() {
|
|
179
179
|
const e = this.getCorrectedSplitByValue();
|
|
180
|
-
return r`<arcgis-charts-config-field-
|
|
180
|
+
return r`<arcgis-charts-config-field-picker .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${d(this.splitByFieldElement)}></arcgis-charts-config-field-picker>`;
|
|
181
181
|
}
|
|
182
182
|
renderNumericFields(e) {
|
|
183
183
|
const t = C(this.model.layer).idField, i = [];
|
|
@@ -186,10 +186,10 @@ class U extends x {
|
|
|
186
186
|
return r`<calcite-list label class=${s(n.fieldList)} ${d(this.numericFieldsElement)}>${i}</calcite-list>`;
|
|
187
187
|
}
|
|
188
188
|
renderInterval() {
|
|
189
|
-
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = w(this.model.temporalBinningUnit ?? f.Second, this._messages) ?? "", a =
|
|
189
|
+
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = w(this.model.temporalBinningUnit ?? f.Second, this._messages) ?? "", a = T(u), o = {
|
|
190
190
|
size: this.model.temporalBinningSize,
|
|
191
191
|
unit: this.model.temporalBinningUnit
|
|
192
|
-
}, p =
|
|
192
|
+
}, p = S(o, a);
|
|
193
193
|
return [
|
|
194
194
|
r`<calcite-list label selection-appearance=border><calcite-list-item .value=${e ? "" : `${t} ${i}`} .label=${e ? "" : `${t} ${i}`} @click=${e ? () => {
|
|
195
195
|
} : this.onIntervalSelect} ${d(this.intervalElement)}><calcite-icon slot=content-end icon=pencil></calcite-icon></calcite-list-item></calcite-list>`,
|
|
@@ -197,7 +197,7 @@ class U extends x {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
renderIntervalAlignment() {
|
|
200
|
-
return r`<arcgis-charts-config-field-
|
|
200
|
+
return r`<arcgis-charts-config-field-picker .label=${this.timeAggregationLabel} @click=${this.onIntervalAlignmentSelect} ${d(this.intervalAlignmentElement)}></arcgis-charts-config-field-picker>`;
|
|
201
201
|
}
|
|
202
202
|
renderEmptyBins() {
|
|
203
203
|
return r`<calcite-radio-button-group name=empty-bins layout=vertical @calciteRadioButtonGroupChange=${this.onNullPolicyChange}><calcite-label layout=inline><calcite-radio-button .value=${h.Zero} .checked=${this.model.nullPolicy === h.Zero}></calcite-radio-button>${this._messages.treatAsZero}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Interpolate} .checked=${this.model.nullPolicy === h.Interpolate}></calcite-radio-button>${this._messages.connectLine}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Null} .checked=${this.model.nullPolicy === h.Null}></calcite-radio-button>${this._messages.breakLine}</calcite-label></calcite-radio-button-group>`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-list-item";
|
|
2
2
|
import "../arcgis-charts-config-line-chart-popover/index.js";
|
|
3
|
-
import "../arcgis-charts-config-field-
|
|
3
|
+
import "../arcgis-charts-config-field-picker/index.js";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-list";
|
|
5
5
|
import "@esri/calcite-components/components/calcite-icon";
|
|
6
6
|
import "@esri/calcite-components/components/calcite-button";
|
|
@@ -2,32 +2,30 @@
|
|
|
2
2
|
import { c as y } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as u } from "lit/directives/repeat.js";
|
|
4
4
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
5
|
-
import { LitElement as k, createEvent as
|
|
6
|
-
import { css as
|
|
5
|
+
import { LitElement as k, createEvent as v, safeClassMap as o } from "@arcgis/lumina";
|
|
6
|
+
import { css as P, html as n } from "lit";
|
|
7
7
|
import { createRef as h, ref as m } from "lit/directives/ref.js";
|
|
8
|
-
import { isEqual as
|
|
8
|
+
import { isEqual as b } from "lodash-es";
|
|
9
9
|
import { u as C } from "../../chunks/useT9n.js";
|
|
10
10
|
import { L as a } from "../../chunks/interfaces.js";
|
|
11
|
-
import { c as
|
|
12
|
-
import { R as
|
|
13
|
-
import { t as g, s as
|
|
14
|
-
import { e as
|
|
15
|
-
import {
|
|
16
|
-
import { d as z, m as
|
|
17
|
-
import {
|
|
18
|
-
const _ =
|
|
19
|
-
jsAppFlyout: "js-app-flyout",
|
|
11
|
+
import { c as $, b as F, e as d, f as I, s as T } from "../../chunks/chart-ui-utils2.js";
|
|
12
|
+
import { R as x } from "../../chunks/rest-js-object-literals.js";
|
|
13
|
+
import { t as g, s as c } from "../../chunks/chart-object-literals.js";
|
|
14
|
+
import { e as A, p as D } from "../../chunks/popover-ui-utils.js";
|
|
15
|
+
import { u as E, ah as S } from "../../chunks/index.js";
|
|
16
|
+
import { d as z, m as w } from "../../chunks/index3.js";
|
|
17
|
+
import { bh as N, bk as L, bb as K, bu as B } from "../../chunks/index2.js";
|
|
18
|
+
const _ = P`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}calcite-panel{max-height:60vh}calcite-panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}calcite-panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}calcite-panel .apply-button{width:17rem}`, r = {
|
|
20
19
|
name: "line-chart-data-popover",
|
|
21
|
-
numericFieldPickList: "line-chart-data-numeric-fields-pick-list",
|
|
22
20
|
header: "header",
|
|
23
21
|
fab: "fab",
|
|
24
|
-
|
|
22
|
+
popoverPickList: "popover-pick-list",
|
|
25
23
|
sizeSection: "size-section",
|
|
26
24
|
applyButton: "apply-button"
|
|
27
25
|
};
|
|
28
26
|
class H extends k {
|
|
29
27
|
constructor() {
|
|
30
|
-
super(...arguments), this._messages = C(), this.commonStrings = C({ name: "common", blocking: !0 }), this.picklist = h(), this.intervalSizeElement = h(), this.intervalTypeElement = h(), this.popoverElement = h(), this.placement = "leading", this.offsetDistance = -200, this.pickListHasChanged = !1, this.open = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigLineChartDataPopoverChange =
|
|
28
|
+
super(...arguments), this._messages = C(), this.commonStrings = C({ name: "common", blocking: !0 }), this.picklist = h(), this.intervalSizeElement = h(), this.intervalTypeElement = h(), this.popoverElement = h(), this.placement = "leading", this.offsetDistance = -200, this.pickListHasChanged = !1, this.open = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigLineChartDataPopoverChange = v(), this.arcgisChartsConfigLineChartPopoverClose = v();
|
|
31
29
|
}
|
|
32
30
|
static {
|
|
33
31
|
this.properties = { aggregationLabels: 16, timeAggregationLabels: 16, messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1 };
|
|
@@ -40,21 +38,21 @@ class H extends k {
|
|
|
40
38
|
}
|
|
41
39
|
willUpdate(e) {
|
|
42
40
|
e.has("selectedContent") && this.selectedContentChange(this.selectedContent, e.get("selectedContent"));
|
|
43
|
-
const t =
|
|
44
|
-
|
|
41
|
+
const t = $.map((i) => E(i, this.commonStrings));
|
|
42
|
+
b(this.aggregationLabels, t) || (this.aggregationLabels = t);
|
|
45
43
|
const l = [g.Start, g.End].map((i) => S(i, this.commonStrings));
|
|
46
|
-
|
|
44
|
+
b(this.timeAggregationLabels, l) || (this.timeAggregationLabels = l);
|
|
47
45
|
}
|
|
48
46
|
updated() {
|
|
49
47
|
setTimeout(() => {
|
|
50
48
|
typeof this.picklist.value?.setFocus == "function" && this.picklist.value?.setFocus();
|
|
51
|
-
},
|
|
49
|
+
}, F.PopoverTimer), A(this.popoverElement.value, this.open);
|
|
52
50
|
}
|
|
53
51
|
selectedContentChange(e, t) {
|
|
54
52
|
this.pickListHasChanged = D(e, t);
|
|
55
53
|
}
|
|
56
54
|
buildAggregationPickListItems() {
|
|
57
|
-
return u(
|
|
55
|
+
return u($, (e) => e, (e, t) => n`<calcite-list-item .label=${this.aggregationLabels?.[t]} .value=${e} .selected=${d(e, this.selectedContent)}></calcite-list-item>`);
|
|
58
56
|
}
|
|
59
57
|
buildIntervalAlignmentPickListItems() {
|
|
60
58
|
const e = [g.Start, g.End];
|
|
@@ -69,14 +67,14 @@ class H extends k {
|
|
|
69
67
|
case a.numericFields: {
|
|
70
68
|
for (let l = 0; l < t; l += 1) {
|
|
71
69
|
const i = this.layerFieldsInfo?.[l];
|
|
72
|
-
i &&
|
|
70
|
+
i && L(i) && s.push(this.buildPickListItem(i));
|
|
73
71
|
}
|
|
74
72
|
break;
|
|
75
73
|
}
|
|
76
74
|
case a.xAxisField: {
|
|
77
75
|
for (let l = 0; l < t; l += 1) {
|
|
78
76
|
const i = this.layerFieldsInfo?.[l];
|
|
79
|
-
i && (
|
|
77
|
+
i && (L(i) || K(i) || B(i)) && s.push(this.buildPickListItem(i));
|
|
80
78
|
}
|
|
81
79
|
break;
|
|
82
80
|
}
|
|
@@ -85,7 +83,7 @@ class H extends k {
|
|
|
85
83
|
s.push(l);
|
|
86
84
|
for (let i = 0; i < t; i += 1) {
|
|
87
85
|
const p = this.layerFieldsInfo?.[i];
|
|
88
|
-
p && (
|
|
86
|
+
p && (N(p) || p.type === x.String) && s.push(this.buildPickListItem(p));
|
|
89
87
|
}
|
|
90
88
|
break;
|
|
91
89
|
}
|
|
@@ -99,7 +97,7 @@ class H extends k {
|
|
|
99
97
|
eventEmitter: this.arcgisChartsConfigLineChartDataPopoverChange,
|
|
100
98
|
contentKind: this.contentKind
|
|
101
99
|
};
|
|
102
|
-
|
|
100
|
+
I(e);
|
|
103
101
|
}
|
|
104
102
|
this.open = !1, this.arcgisChartsConfigLineChartPopoverClose.emit();
|
|
105
103
|
}
|
|
@@ -126,35 +124,35 @@ class H extends k {
|
|
|
126
124
|
}
|
|
127
125
|
renderAggregationType() {
|
|
128
126
|
const e = this.buildAggregationPickListItems();
|
|
129
|
-
return n`<calcite-list label class=${o(
|
|
127
|
+
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
130
128
|
}
|
|
131
129
|
renderXAxisField() {
|
|
132
130
|
const e = this.buildPickListItems(a.xAxisField);
|
|
133
|
-
return n`<calcite-list label class=${o(
|
|
131
|
+
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
134
132
|
}
|
|
135
133
|
renderNumericFields() {
|
|
136
134
|
const e = this.buildPickListItems(a.numericFields);
|
|
137
|
-
return n`<calcite-list label class=${o(
|
|
135
|
+
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
138
136
|
}
|
|
139
137
|
renderSplitByField() {
|
|
140
138
|
const e = this.buildPickListItems(a.splitByField);
|
|
141
|
-
return n`<calcite-list label class=${o(
|
|
139
|
+
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
142
140
|
}
|
|
143
141
|
renderIntervalAlignment() {
|
|
144
142
|
const e = this.buildIntervalAlignmentPickListItems();
|
|
145
|
-
return n`<calcite-list label class=${o(
|
|
143
|
+
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
146
144
|
}
|
|
147
145
|
renderInterval() {
|
|
148
146
|
const e = this.selectedContent, t = [
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
147
|
+
c.Second,
|
|
148
|
+
c.Minute,
|
|
149
|
+
c.Hour,
|
|
150
|
+
c.Day,
|
|
151
|
+
c.Week,
|
|
152
|
+
c.Month,
|
|
153
|
+
c.Year
|
|
156
154
|
];
|
|
157
|
-
return n`<div><div class=${o(
|
|
155
|
+
return n`<div><div class=${o(r.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${T(e?.size, 1)} ${m(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${m(this.intervalTypeElement)}>${t.map((s) => n`<calcite-option .value=${s} .label=${w(s, this._messages)} .selected=${e?.unit === s}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(r.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`;
|
|
158
156
|
}
|
|
159
157
|
renderPopoverInfo() {
|
|
160
158
|
let e;
|
|
@@ -182,7 +180,7 @@ class H extends k {
|
|
|
182
180
|
}
|
|
183
181
|
render() {
|
|
184
182
|
let e;
|
|
185
|
-
return this.contentKind === a.numericFields && (e = n`<div slot=footer><calcite-fab class=${o(
|
|
183
|
+
return this.contentKind === a.numericFields && (e = n`<div slot=footer><calcite-fab class=${o(r.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div><calcite-popover class=${o(r.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${m(this.popoverElement)}><calcite-panel closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(r.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
186
184
|
}
|
|
187
185
|
}
|
|
188
186
|
y("arcgis-charts-config-line-chart-popover", H);
|
|
@@ -63,16 +63,16 @@ class k extends I {
|
|
|
63
63
|
this.seriesPopover !== void 0 && this.seriesPopover !== null && (this.seriesPopover.open = !1, this.seriesPopover = d(this.seriesPopover));
|
|
64
64
|
}
|
|
65
65
|
buildSeriesListItems() {
|
|
66
|
-
const e = this.model.seriesLength, s = Array.from({ length: e }, (i,
|
|
66
|
+
const e = this.model.seriesLength, s = Array.from({ length: e }, (i, r) => r);
|
|
67
67
|
return P(s, (i) => this.model.getSeriesId(i), (i) => {
|
|
68
|
-
const
|
|
68
|
+
const r = this.model.getSeriesId(i), l = this.model.getSeriesColor(i), h = this.model.getSeriesName(i), c = this.model.chartSubType === M.BarAndLineFromFields ? this._messages.series : r, m = this.model.getSeriesLineStyle(i), g = b(m);
|
|
69
69
|
let n = "#CCCCCC", a = "minus-circle";
|
|
70
70
|
if ((e > 1 || !this.activeColorMatch) && l !== void 0) {
|
|
71
71
|
a = `line-${g}`;
|
|
72
72
|
const [C, p, S, v] = [...l];
|
|
73
73
|
n = `rgba(${C},${p},${S},${v / 255})`;
|
|
74
74
|
}
|
|
75
|
-
return o`<calcite-list-item .label=${h ??
|
|
75
|
+
return o`<calcite-list-item .label=${h ?? r ?? ""} .description=${c} .value=${r} .selected=${this.selectedSeriesIndex === i} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${a} style=${L({ color: n })}></calcite-icon></calcite-list-item>`;
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
buildSeriesList() {
|
|
@@ -83,13 +83,13 @@ class k extends I {
|
|
|
83
83
|
}
|
|
84
84
|
onCalciteListOrderChange(e) {
|
|
85
85
|
if (e.detail !== null && e.detail !== void 0) {
|
|
86
|
-
const { newIndex: s, oldIndex:
|
|
87
|
-
this.model.moveSeries(
|
|
86
|
+
const { newIndex: s, oldIndex: t } = e.detail;
|
|
87
|
+
this.model.moveSeries(t ?? 0, s ?? t ?? 0), this.seriesOrderResetCounter += 1;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
openSeriesPopOver(e) {
|
|
91
91
|
e.stopImmediatePropagation(), this.removeSeriesPopover();
|
|
92
|
-
const s = e.target,
|
|
92
|
+
const s = e.target, t = s.localName === "calcite-list-item" ? s : s.parentNode, i = this.model.getSeriesIndex(t.value);
|
|
93
93
|
this.open = this.selectedSeriesIndex !== i, this.selectedSeriesIndex = this.selectedSeriesIndex !== i ? i : void 0;
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as u } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as C, html as v } from "lit";
|
|
4
|
-
import { i as f, m, s as
|
|
5
|
-
import { u as
|
|
4
|
+
import { i as f, m, s as S, U as g } from "../../chunks/chart-ui-utils2.js";
|
|
5
|
+
import { u as y } from "../../chunks/useT9n.js";
|
|
6
6
|
import { createRef as a, ref as o } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as $, createEvent as s, safeClassMap as l, nothing as c } from "@arcgis/lumina";
|
|
8
8
|
import { e as b } from "../../chunks/popover-ui-utils.js";
|
|
9
|
-
import {
|
|
9
|
+
import { aC as E } from "../../chunks/index.js";
|
|
10
10
|
import { g as i } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const n = {
|
|
12
|
-
jsAppFlyout: "js-app-flyout",
|
|
13
12
|
sizeSection: "size-section",
|
|
14
13
|
dropdownText: "dropdown-text",
|
|
15
14
|
panelChildrenContainer: "panel-children-container"
|
|
16
|
-
}, w = C`.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 calcite-panel .size-section{padding:0 1rem 1rem;display:flex}:host calcite-panel .size-section calcite-label{flex:1 1 0px;width:0;padding:0}:host calcite-panel .size-section calcite-label .dropdown-text{max-width:75px;overflow:hidden;white-space:normal;text-overflow:ellipsis;cursor:pointer}.panel-children-container{display:flex
|
|
15
|
+
}, w = C`.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 calcite-panel .size-section{padding:0 1rem 1rem;display:flex}:host calcite-panel .size-section calcite-label{flex:1 1 0px;width:0;padding:0}:host calcite-panel .size-section calcite-label .dropdown-text{max-width:75px;overflow:hidden;white-space:normal;text-overflow:ellipsis;cursor:pointer}.panel-children-container{display:flex}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.panel-children-container{padding:0 1rem;margin-top:1rem}`;
|
|
17
16
|
class x extends $ {
|
|
18
17
|
constructor() {
|
|
19
|
-
super(...arguments), this._messages =
|
|
18
|
+
super(...arguments), this._messages = y(), this.popoverElement = a(), this.lineWidthInputElement = a(), this.lineStyleDropdownElement = a(), this.open = !1, this.arcgisChartsConfigPopoverClose = s(), this.arcgisChartsConfigSeriesPopoverColorChange = s(), this.arcgisChartsConfigSeriesPopoverLineStyleChange = s(), this.arcgisChartsConfigSeriesPopoverLineWidthChange = s(), this.arcgisChartsConfigSeriesPopoverNameChange = s();
|
|
20
19
|
}
|
|
21
20
|
static {
|
|
22
21
|
this.properties = { messageOverrides: 0, referenceElement: 0, selectedName: 1, selectedColor: 0, selectedLineStyle: 1, selectedSeriesIndex: 9, selectedLineWidth: 9, placement: 1, open: 5 };
|
|
@@ -75,7 +74,7 @@ class x extends $ {
|
|
|
75
74
|
}
|
|
76
75
|
render() {
|
|
77
76
|
const e = this.selectedColor;
|
|
78
|
-
return v`<div
|
|
77
|
+
return v`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${o(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${l(n.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div><div class=${l(n.sizeSection)}><calcite-label>${this._messages.style}<calcite-dropdown @calciteDropdownSelect=${this.lineStyleChange} ${o(this.lineStyleDropdownElement)}><calcite-button .iconEnd=${this.getSelectedLineStyleInfo().icon} slot=trigger kind=neutral appearance=outline-fill><label class=${l(n.dropdownText)}>${this.getSelectedLineStyleInfo().style}</label></calcite-button><calcite-dropdown-group><calcite-dropdown-item icon-end=line-solid .selected=${this.selectedLineStyle === i.Solid} accesskey=${i.Solid ?? c}>${this._messages.solid}</calcite-dropdown-item><calcite-dropdown-item icon-end=line-dotted .selected=${this.selectedLineStyle === i.Dot} accesskey=${i.Dot ?? c}>${this._messages.dot}</calcite-dropdown-item><calcite-dropdown-item icon-end=line-dashed .selected=${this.selectedLineStyle === i.Dash} accesskey=${i.Dash ?? c}>${this._messages.dash}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown></calcite-label><calcite-label>${this._messages.width}<calcite-input type=number min=1 step=any .value=${S(this.selectedLineWidth)} @calciteInputInput=${this.lineWidthChange} ${o(this.lineWidthInputElement)}></calcite-input></calcite-label></div><div class=${l(n.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages.lineColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel></calcite-popover></div>`;
|
|
79
78
|
}
|
|
80
79
|
}
|
|
81
80
|
u("arcgis-charts-config-line-chart-series-popover", x);
|
|
@@ -1,43 +1,40 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as p } from "../../chunks/runtime.js";
|
|
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
|
|
3
|
+
import { keyed as f } from "lit/directives/keyed.js";
|
|
4
|
+
import { P as a } 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
|
-
}, k =
|
|
20
|
-
class
|
|
18
|
+
}, k = 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 E 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 a.aggregation:
|
|
27
|
+
this.model.aggregationType = i[0] !== P.NoAggregation ? i[0] : "";
|
|
29
28
|
break;
|
|
30
|
-
case
|
|
31
|
-
const r = i[0]?.trim() || "";
|
|
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 a.category: {
|
|
30
|
+
const r = i[0]?.trim() || "", d = this.model.numericFields;
|
|
31
|
+
d.length > 1 && r !== g && (this.model.numericFields = [d[0]]), this.model.category = r, this.model.colorMatch = !0;
|
|
35
32
|
break;
|
|
36
33
|
}
|
|
37
|
-
case
|
|
38
|
-
i.length > 1 && (this.
|
|
34
|
+
case a.numericFields:
|
|
35
|
+
i.length > 1 && (this.model.category = g), this.model.numericFields = i;
|
|
39
36
|
break;
|
|
40
|
-
case
|
|
37
|
+
case a.sortOrder:
|
|
41
38
|
this.model.setSortOrder(i[0]);
|
|
42
39
|
break;
|
|
43
40
|
default:
|
|
@@ -52,7 +49,7 @@ 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 };
|
|
@@ -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 f(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 = a.sortOrder, this.setupPopover(e);
|
|
80
77
|
}
|
|
81
78
|
onCategorySelect(e) {
|
|
82
|
-
this.contentKind =
|
|
79
|
+
this.contentKind = a.category, this.setupPopover(e);
|
|
83
80
|
}
|
|
84
81
|
onAddNumericFields(e) {
|
|
85
|
-
this.contentKind =
|
|
82
|
+
this.contentKind = a.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
93
|
let t, i, r;
|
|
101
94
|
switch (this.contentKind) {
|
|
102
|
-
case
|
|
95
|
+
case a.category:
|
|
103
96
|
t = this.categoryElement.value, i = this._messages.categoryHeader, r = this.model.category;
|
|
104
97
|
break;
|
|
105
|
-
case
|
|
98
|
+
case a.numericFields:
|
|
106
99
|
t = this.numericFieldsElement.value, i = this._messages.numericFieldsMultipleHeader, r = this.model.numericFields;
|
|
107
100
|
break;
|
|
108
|
-
case
|
|
101
|
+
case a.sortOrder:
|
|
109
102
|
t = this.sortOrderElement.value, i = this._messages.sortOrderHeader, r = 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=${r} @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-picker .label=${this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${c(this.sortOrderElement)}></arcgis-charts-config-field-picker>`;
|
|
125
118
|
}
|
|
126
119
|
renderCategory() {
|
|
127
120
|
const e = this.getCorrectedCategoryValue();
|
|
128
|
-
return
|
|
121
|
+
return s`<arcgis-charts-config-field-picker .label=${e} @click=${this.onCategorySelect} ${c(this.categoryElement)}></arcgis-charts-config-field-picker>`;
|
|
129
122
|
}
|
|
130
123
|
renderNumericFields(e) {
|
|
131
|
-
const t =
|
|
124
|
+
const t = F(this.model.layer).idField, i = [];
|
|
132
125
|
for (const r of e)
|
|
133
126
|
r !== t && i.push(this.buildNumericFieldItem(r));
|
|
134
|
-
return
|
|
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
|
-
p("arcgis-charts-config-pie-chart-data",
|
|
137
|
+
p("arcgis-charts-config-pie-chart-data", E);
|
|
145
138
|
export {
|
|
146
|
-
|
|
139
|
+
E as ArcgisChartsConfigPieChartData
|
|
147
140
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-list-item";
|
|
2
2
|
import "../arcgis-charts-config-pie-chart-popover/index.js";
|
|
3
|
-
import "../arcgis-charts-config-field-
|
|
3
|
+
import "../arcgis-charts-config-field-picker/index.js";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-list";
|
|
5
5
|
import "@esri/calcite-components/components/calcite-label";
|
|
6
6
|
import "@esri/calcite-components/components/calcite-fab";
|