@arcgis/charts-components 5.2.0-next.11 → 5.2.0-next.111
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/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/{7YXTWBT4.js → 225VUGML.js} +3 -3
- package/dist/cdn/{SERX6V5M.js → 22DIZM2P.js} +1 -1
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/{N5ZUO6F3.js → 2O2ZA6UO.js} +1 -1
- package/dist/cdn/2PWEWSG6.js +2 -0
- package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/3A6N7WAM.js +2 -0
- package/dist/cdn/3CIO2C6J.js +2 -0
- package/dist/cdn/3ECXJYBU.js +2 -0
- package/dist/cdn/3NXCG3O2.js +2 -0
- package/dist/cdn/3S6ZGK3H.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{TFPQDMER.js → 4MZSVX5W.js} +1 -1
- package/dist/cdn/4NIKYLE5.js +2 -0
- package/dist/cdn/56242OEE.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/5HJSLXLN.js +2 -0
- package/dist/cdn/{UYXCGSXU.js → 5KJE3IGJ.js} +1 -1
- package/dist/cdn/{H3EXGCE7.js → 5N2TLPKQ.js} +1 -1
- package/dist/cdn/5O2Y7SWC.js +2 -0
- package/dist/cdn/5QBKM6NC.js +2 -0
- package/dist/cdn/5SXFY4KT.js +2 -0
- package/dist/cdn/5SYHQWPP.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/{ZBIVDGNH.js → 6JQTSYII.js} +1 -1
- package/dist/cdn/{I6UPUSLQ.js → 6M2ZNCH6.js} +1 -1
- package/dist/cdn/{XY4TRZCG.js → 6OBSUHMH.js} +1 -1
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/724I3SBO.js +2 -0
- package/dist/cdn/73R5I52R.js +2 -0
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7CP5MYX6.js +2 -0
- package/dist/cdn/{VDKFC44J.js → 7QCDHUXE.js} +1 -1
- package/dist/cdn/7TM4LYGN.js +2 -0
- package/dist/cdn/7UUCZOKN.js +2 -0
- package/dist/cdn/{2XXW3WF3.js → A55ZLPZQ.js} +1 -1
- package/dist/cdn/{BDGHBTPU.js → A6K5NPU6.js} +1 -1
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/ADKPM4DW.js +2 -0
- package/dist/cdn/AEC7S556.js +2 -0
- package/dist/cdn/{Y6ZCTPJW.js → AEJ4OWWK.js} +1 -1
- package/dist/cdn/AHOCGFB7.js +2 -0
- package/dist/cdn/{SX6SDBU7.js → AOVXHBJK.js} +1 -1
- package/dist/cdn/AYCQHDDV.js +2 -0
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{7QXRWMUN.js → B3KKBK7R.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/{ANN3O54W.js → BK52OYAM.js} +1 -1
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{P2F2O6MH.js → CHBL4DXX.js} +1 -1
- package/dist/cdn/CLL7X6DF.js +2 -0
- package/dist/cdn/CREJLRJS.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/D5DOFLCS.js +2 -0
- package/dist/cdn/DAQT4YNQ.js +2 -0
- package/dist/cdn/{S3ZSZXYG.js → DWWJB3RS.js} +1 -1
- package/dist/cdn/E2YQ7BBF.js +2 -0
- package/dist/cdn/EEKAD6DT.js +2 -0
- package/dist/cdn/EHUV23QJ.js +2 -0
- package/dist/cdn/{DFKVPDMJ.js → EMOJZ4XR.js} +15 -13
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/{MK5ZYSOD.js → EVKBZUDE.js} +1 -1
- package/dist/cdn/EWNXVZMV.js +2 -0
- package/dist/cdn/EWPEPYH7.js +2 -0
- package/dist/cdn/EY3OIDVL.js +2 -0
- package/dist/cdn/{LROW4Y6O.js → F65OW2NU.js} +1 -1
- package/dist/cdn/FBS4RBSA.js +2 -0
- package/dist/cdn/{FWAXKDYV.js → FCFAN63J.js} +1 -1
- package/dist/cdn/FCWOV4NW.js +2 -0
- package/dist/cdn/FTVVGZ4Z.js +4 -0
- package/dist/cdn/FY7T4YLN.js +2 -0
- package/dist/cdn/FZHZIZUN.js +2 -0
- package/dist/cdn/{7JIHGRTB.js → G22GCRXH.js} +1 -1
- package/dist/cdn/GQLSM5Q7.js +2 -0
- package/dist/cdn/{N4L5KE23.js → GRRD6G34.js} +1 -1
- package/dist/cdn/GU4EQDNJ.js +2 -0
- package/dist/cdn/H7K6D57Z.js +2 -0
- package/dist/cdn/HW7O5QZ4.js +2 -0
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I4RZDDUM.js +2 -0
- package/dist/cdn/IBUI4UOV.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/{O4HUYRYL.js → IGOJGDYE.js} +1 -1
- package/dist/cdn/IHOTDAKI.js +2 -0
- package/dist/cdn/J5JKYZZW.js +2 -0
- package/dist/cdn/JJJRAQMT.js +2 -0
- package/dist/cdn/JTP6IREK.js +2 -0
- package/dist/cdn/{FEKSPYHM.js → JV4CEAY2.js} +1 -1
- package/dist/cdn/{OFWEHJDH.js → K6V7ODNF.js} +1 -1
- package/dist/cdn/{5SIAOUPO.js → K7OYAJNO.js} +1 -1
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{ULWJ57VT.js → KYEVNAYY.js} +1 -1
- package/dist/cdn/KYVBQUIS.js +2 -0
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/L76QTUHW.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/{IYA7HQMS.js → LAPLSGZY.js} +1 -1
- package/dist/cdn/LMXFW6NW.js +2 -0
- package/dist/cdn/{L47EGLUH.js → LNR2Y4AV.js} +1 -1
- package/dist/cdn/{AASL4RKT.js → LXTENPD7.js} +1 -1
- package/dist/cdn/{XDMGH7YU.js → LYKD4O7U.js} +1 -1
- package/dist/cdn/M624HH3K.js +2 -0
- package/dist/cdn/M7NERHZY.js +2 -0
- package/dist/cdn/MIA4DLUH.js +3 -0
- package/dist/cdn/MQI4ZLAS.js +2 -0
- package/dist/cdn/MQYMM7JO.js +2 -0
- package/dist/cdn/MRSEZPVC.js +2 -0
- package/dist/cdn/MSU36MJR.js +2 -0
- package/dist/cdn/N2Y3TMUH.js +2 -0
- package/dist/cdn/NITHPHM6.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{YKDW7ZW3.js → NLFZ76DJ.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/NT7D3WEH.js +2 -0
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/OIBX62RU.js +2 -0
- package/dist/cdn/OIQ76HQC.js +2 -0
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/OKKEWHMB.js +2 -0
- package/dist/cdn/{VRZ2SY6M.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{XYKXBWIT.js → OZPCANBC.js} +1 -1
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/PDDYOVQM.js +2 -0
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{QR2OOC4D.js → PVRAR67F.js} +1 -1
- package/dist/cdn/PWJBGZPW.js +2 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/QKUFLZC3.js +2 -0
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QXLY4SFY.js +2 -0
- package/dist/cdn/QYRHZJH3.js +2 -0
- package/dist/cdn/{4OH4NSIW.js → R3END4O2.js} +1 -1
- package/dist/cdn/{FOYOG3G7.js → RBQG2UIF.js} +1 -1
- package/dist/cdn/RPUEIRTH.js +2 -0
- package/dist/cdn/RZJQJ43Y.js +2 -0
- package/dist/cdn/{RSNZMJ6I.js → SIZ6M6MJ.js} +1 -1
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/{3JYZJUOM.js → SWBYVQVE.js} +1 -1
- package/dist/cdn/{I5T7JUDH.js → SZYIWW3C.js} +1 -1
- package/dist/cdn/T7Z4DZ7V.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{PMIWXHTG.js → TK4E37D6.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/U7NEGO4Z.js +2 -0
- package/dist/cdn/{OXYJKZEP.js → UBGDVDOX.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/UNRHPYXW.js +45 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/UVLCXTG4.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/{77A4T4FJ.js → VMHDTE3U.js} +1 -1
- package/dist/cdn/VQHPI3CU.js +2 -0
- package/dist/cdn/VQRSXCKD.js +2 -0
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/{WAINRCCJ.js → VSBDAO7G.js} +1 -1
- package/dist/cdn/VSN5E7Y4.js +2 -0
- package/dist/cdn/{L5DROI2A.js → VYD2S5WA.js} +1 -1
- package/dist/cdn/VZ7OCBNK.js +2 -0
- package/dist/cdn/WDDGKBBJ.js +2 -0
- package/dist/cdn/{X2LW7GTR.js → WE5T6HME.js} +1 -1
- package/dist/cdn/WJQHEITU.js +2 -0
- package/dist/cdn/WOGALV3T.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/WTMEWLUJ.js +2 -0
- package/dist/cdn/WVOXFKFO.js +2 -0
- package/dist/cdn/{2OHFSVV5.js → X4BQWX3B.js} +1 -1
- package/dist/cdn/{SSQ3VCZ2.js → XDBVOUI2.js} +1 -1
- package/dist/cdn/XIBI3WA6.js +2 -0
- package/dist/cdn/{UE5VX2RL.js → XZVJMTU2.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/YFU2NPYA.js +2 -0
- package/dist/cdn/YHON6N45.js +2 -0
- package/dist/cdn/YJURFFSP.js +2 -0
- package/dist/cdn/YK5VKE7I.js +2 -0
- package/dist/cdn/ZHFQTE2B.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{3TZEMBXR.js → ZOC5OCZL.js} +1 -1
- package/dist/cdn/ZYHMZQ7E.js +2 -0
- 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/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +104 -66
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +46 -38
- package/dist/chunks/box-plot-data.js +291 -274
- package/dist/chunks/box-plot-model.js +143 -130
- package/dist/chunks/chart-model.js +65 -56
- package/dist/chunks/chart-object-literals.js +26 -25
- package/dist/chunks/chart-ui-utils.js +148 -66
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +270 -238
- package/dist/chunks/combo-bar-line-chart-model.js +122 -101
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +8 -8
- package/dist/chunks/data.js +41 -41
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +61 -61
- package/dist/chunks/generate-x-axis-title.js +19 -15
- package/dist/chunks/heat-chart-model.js +95 -66
- package/dist/chunks/histogram-data.js +23 -23
- package/dist/chunks/histogram-model.js +10 -10
- package/dist/chunks/index.js +9348 -1079
- package/dist/chunks/index2.js +851 -8757
- package/dist/chunks/index3.js +1169 -849
- package/dist/chunks/index4.js +411 -251
- package/dist/chunks/index5.js +66 -100
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +40 -24
- package/dist/chunks/model-setter.js +59 -64
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +72 -47
- package/dist/chunks/model-with-x-guides.js +5 -5
- package/dist/chunks/model-with-y-guides.js +251 -271
- package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
- package/dist/chunks/pie-chart-data.js +175 -193
- package/dist/chunks/pie-chart-model.js +388 -320
- package/dist/chunks/radar-chart-model.js +413 -46
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +90 -0
- package/dist/chunks/scatterplot-model.js +22 -22
- package/dist/chunks/serial-chart-data.js +934 -818
- package/dist/chunks/serial-chart-model.js +145 -123
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +49 -23
- package/dist/chunks/type-guards2.js +61 -52
- package/dist/chunks/utils.js +110 -87
- package/dist/chunks/utils2.js +54 -37
- package/dist/chunks/web-component-utils.js +413 -383
- package/dist/chunks/x-bounds.js +103 -98
- package/dist/components/arcgis-chart/customElement.d.ts +728 -255
- package/dist/components/arcgis-chart/customElement.js +10870 -10606
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +27 -27
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +43 -43
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +54 -53
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -12
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +48 -49
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +244 -230
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +89 -82
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +4 -4
- 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 +55 -55
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +27 -27
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +18 -18
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +38 -38
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +56 -63
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +54 -53
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +67 -68
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
- package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
- 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 +1 -1
- package/dist/index.js +488 -464
- package/dist/interfaces.d.ts +57 -14
- package/dist/json-schema/index.d.ts +154 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
- package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
- package/dist/model/chart-model/chart-model-base.d.ts +10 -0
- package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/mixins/model-with-guides.d.ts +1 -1
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
- package/dist/model/mixins/model-with-multi-axes.d.ts +69 -106
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- 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/setup-utils.d.ts +3 -3
- package/dist/model/shared/type-guards.d.ts +38 -22
- package/dist/spec/chart-object-literals.d.ts +4 -3
- package/dist/spec/data-source.d.ts +17 -3
- package/dist/spec/web-chart.d.ts +34 -4
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +3 -3
- package/dist/utils/chart-config/converter/index.js +368 -349
- package/dist/utils/chart-config/utils/index.d.ts +28 -10
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +1 -0
- package/dist/utils/components/interfaces.d.ts +2 -0
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +18 -2
- package/dist/utils/data/index.d.ts +28 -22
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +30 -4
- package/dist/utils/defaults/interfaces.d.ts +73 -4
- package/dist/utils/layer/index.d.ts +23 -5
- package/dist/utils/layer/interfaces.d.ts +0 -12
- package/dist/utils/layer/query-features/index.d.ts +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +10 -6
- package/dist/utils/layer/utils/index.d.ts +22 -5
- package/dist/utils/localization/interfaces.d.ts +9 -1
- package/dist/utils/misc/interfaces.d.ts +1 -0
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/package.json +8 -9
- package/dist/cdn/24AOJE7B.js +0 -2
- package/dist/cdn/3KRPCKJZ.js +0 -2
- package/dist/cdn/3TBK72EK.js +0 -3
- package/dist/cdn/425PZ2QJ.js +0 -2
- package/dist/cdn/4PHYDOBF.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/567CLBG4.js +0 -2
- package/dist/cdn/5IIF22XN.js +0 -2
- package/dist/cdn/5IN5WK2R.js +0 -2
- package/dist/cdn/5LXX2PUM.js +0 -2
- package/dist/cdn/5NTIKQP4.js +0 -2
- package/dist/cdn/5YEADAVZ.js +0 -2
- package/dist/cdn/6R7VSDDU.js +0 -2
- package/dist/cdn/76MOP26H.js +0 -2
- package/dist/cdn/AHYYQWKY.js +0 -2
- package/dist/cdn/ASI7RDYV.js +0 -2
- package/dist/cdn/AXS3UMQJ.js +0 -2
- package/dist/cdn/BHUFE4DA.js +0 -2
- package/dist/cdn/CEWH3LQO.js +0 -2
- package/dist/cdn/CTBQ5Y4Z.js +0 -2
- package/dist/cdn/CVK7KFEC.js +0 -2
- package/dist/cdn/DJGEQ42V.js +0 -2
- package/dist/cdn/DL43NPDO.js +0 -2
- package/dist/cdn/E2DO2HQ6.js +0 -2
- package/dist/cdn/E4LJWBRC.js +0 -2
- package/dist/cdn/EDSF5KGV.js +0 -233
- package/dist/cdn/EE3KEIAT.js +0 -2
- package/dist/cdn/EJCGZPIV.js +0 -2
- package/dist/cdn/ETSB7KD3.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/F6QRLYSF.js +0 -2
- package/dist/cdn/FBMA7FW4.js +0 -2
- package/dist/cdn/FFS73X36.js +0 -142
- package/dist/cdn/FUAA6IFR.js +0 -4
- package/dist/cdn/FWRMJQXY.js +0 -2
- package/dist/cdn/G5FULTB5.js +0 -2
- package/dist/cdn/GISGGO3Z.js +0 -2
- package/dist/cdn/GQPOEX7B.js +0 -58
- package/dist/cdn/GYXK3DV7.js +0 -2
- package/dist/cdn/H45LPCQ2.js +0 -2
- package/dist/cdn/HW6MJJSX.js +0 -2
- package/dist/cdn/HZFHTWL6.js +0 -2
- package/dist/cdn/I2EERAZ3.js +0 -2
- package/dist/cdn/IE3GLZJZ.js +0 -2
- package/dist/cdn/IL2FG26D.js +0 -2
- package/dist/cdn/JBPYGZPJ.js +0 -2
- package/dist/cdn/JEOBO5JM.js +0 -2
- package/dist/cdn/KPWHYSA5.js +0 -2
- package/dist/cdn/KXUQJ6GE.js +0 -2
- package/dist/cdn/KZQFX7LH.js +0 -2
- package/dist/cdn/LL7NH3VV.js +0 -2
- package/dist/cdn/LUMOL7ZP.js +0 -2
- package/dist/cdn/LYJFZA2M.js +0 -2
- package/dist/cdn/MBSMC77K.js +0 -2
- package/dist/cdn/MVGAATR7.js +0 -2
- package/dist/cdn/NNZCIR7W.js +0 -2
- package/dist/cdn/NZXQ5BWP.js +0 -2
- package/dist/cdn/O4LKWTBY.js +0 -2
- package/dist/cdn/OW2DLJGU.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/P4UJJCPG.js +0 -2
- package/dist/cdn/P56ROGSK.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PXIAM4CZ.js +0 -2
- package/dist/cdn/QPSJ6XOX.js +0 -2
- package/dist/cdn/R7HW5WVG.js +0 -2
- package/dist/cdn/RJCJ3F5C.js +0 -2
- package/dist/cdn/RKB6QZNW.js +0 -2
- package/dist/cdn/S6LH7YS6.js +0 -2
- package/dist/cdn/S74GCXXK.js +0 -3
- package/dist/cdn/SA22QZNW.js +0 -2
- package/dist/cdn/SJVVFOAX.js +0 -2
- package/dist/cdn/SOKKWGPA.js +0 -2
- package/dist/cdn/SQYOFBS6.js +0 -2
- package/dist/cdn/SVGAVKBQ.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/TTBRUBXY.js +0 -2
- package/dist/cdn/U5IM4KAQ.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UIRKQREJ.js +0 -2
- package/dist/cdn/UIY2PSG4.js +0 -2
- package/dist/cdn/UNTIPIBS.js +0 -2
- package/dist/cdn/VIY3BCJZ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WHJU66P4.js +0 -2
- package/dist/cdn/WJ2VDT6B.js +0 -2
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/WU3C7BQU.js +0 -2
- package/dist/cdn/WWO326JE.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/XNWSVHA3.js +0 -2
- package/dist/cdn/XOM6LSIW.js +0 -2
- package/dist/cdn/XP4S2M7F.js +0 -2
- package/dist/cdn/XUERYUEG.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/Y7HBWU3M.js +0 -2
- package/dist/cdn/YALB4GSA.js +0 -2
- package/dist/cdn/YUF4ZSA5.js +0 -2
- package/dist/cdn/ZJHV3UVG.js +0 -2
- package/dist/cdn/ZQ2WG55W.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,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as s } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as i, html as t } from "lit";
|
|
4
|
-
import { U as a } from "../../chunks/chart-ui-
|
|
4
|
+
import { U as a } from "../../chunks/chart-ui-utils.js";
|
|
5
5
|
import { LitElement as e, safeClassMap as l } from "@arcgis/lumina";
|
|
6
6
|
const n = {
|
|
7
7
|
invalidMessageColor: "invalid-message-color"
|
|
@@ -4,8 +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 {
|
|
8
|
-
import { h as p } from "../../chunks/index5.js";
|
|
7
|
+
import { bC as c, bD as m, t as f, aN as g, aO as p } from "../../chunks/index.js";
|
|
9
8
|
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
9
|
class C extends n {
|
|
11
10
|
constructor() {
|
|
@@ -42,13 +41,13 @@ class C extends n {
|
|
|
42
41
|
const e = t ?? this.model.config;
|
|
43
42
|
let i = this.layer;
|
|
44
43
|
if (!i) {
|
|
45
|
-
const r =
|
|
46
|
-
r && (i = await
|
|
44
|
+
const r = c(e) ? e.iLayer : void 0;
|
|
45
|
+
r && (i = await m(r));
|
|
47
46
|
}
|
|
48
|
-
i && (await i.load(), this.layerFieldsInfo =
|
|
47
|
+
i && (await i.load(), this.layerFieldsInfo = f(i, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled));
|
|
49
48
|
}
|
|
50
49
|
render() {
|
|
51
|
-
const t = this.layerFieldsInfo?.find((r) => r.name === this.model.xAxisField), e = t !== void 0 && (
|
|
50
|
+
const t = this.layerFieldsInfo?.find((r) => r.name === this.model.xAxisField), e = t !== void 0 && (g(t) || p(t));
|
|
52
51
|
let i;
|
|
53
52
|
switch (this.page) {
|
|
54
53
|
case s.Data:
|
|
@@ -3,16 +3,16 @@ import { c as $ } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { keyed as F } from "lit/directives/keyed.js";
|
|
4
4
|
import { LitElement as x, createEvent as g, renderElement as A, safeClassMap as s } from "@arcgis/lumina";
|
|
5
5
|
import { css as I, html as r } from "lit";
|
|
6
|
-
import { createRef as
|
|
6
|
+
import { createRef as d, ref as m } 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
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
12
|
+
import { d as c, e as f, h } from "../../chunks/chart-object-literals.js";
|
|
13
|
+
import { H as L, I as P } from "../../chunks/index3.js";
|
|
14
|
+
import { b as v, p as w } from "../../chunks/index2.js";
|
|
15
|
+
import { r as C, aO as _ } from "../../chunks/index.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",
|
|
@@ -24,7 +24,7 @@ const D = I`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.a
|
|
|
24
24
|
};
|
|
25
25
|
class U extends x {
|
|
26
26
|
constructor() {
|
|
27
|
-
super(...arguments), this._messages = b(), this.commonStrings = b({ name: "common", blocking: !0 }), this.lineChartPopover = null, this.aggregationElement =
|
|
27
|
+
super(...arguments), this._messages = b(), this.commonStrings = b({ name: "common", blocking: !0 }), this.lineChartPopover = null, this.aggregationElement = d(), this.xAxisFieldElement = d(), this.numericFieldsElement = d(), this.splitByFieldElement = d(), this.intervalAlignmentElement = d(), this.intervalElement = d(), this.onLineChartDataChange = (e) => {
|
|
28
28
|
try {
|
|
29
29
|
if (e.detail !== null && e.detail?.value !== void 0) {
|
|
30
30
|
const { contentKind: t } = e.detail, i = [...e.detail.value];
|
|
@@ -34,7 +34,7 @@ class U extends x {
|
|
|
34
34
|
break;
|
|
35
35
|
case l.xAxisField: {
|
|
36
36
|
const a = i[0]?.trim() || "";
|
|
37
|
-
this.model.xAxisField = a
|
|
37
|
+
this.model.xAxisField = a;
|
|
38
38
|
break;
|
|
39
39
|
}
|
|
40
40
|
case l.numericFields:
|
|
@@ -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;
|
|
@@ -169,35 +169,35 @@ 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} ${m(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} ${m(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} ${m(this.splitByFieldElement)}></arcgis-charts-config-field-picker>`;
|
|
181
181
|
}
|
|
182
182
|
renderNumericFields(e) {
|
|
183
183
|
const t = C(this.model.layer).idField, i = [];
|
|
184
184
|
for (const a of e)
|
|
185
185
|
a !== t && i.push(this.buildNumericFieldItem(a));
|
|
186
|
-
return r`<calcite-list label class=${s(n.fieldList)} ${
|
|
186
|
+
return r`<calcite-list label class=${s(n.fieldList)} ${m(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
|
-
} : this.onIntervalSelect} ${
|
|
195
|
+
} : this.onIntervalSelect} ${m(this.intervalElement)}><calcite-icon slot=content-end icon=pencil></calcite-icon></calcite-list-item></calcite-list>`,
|
|
196
196
|
r`<div class=${s(n.linkContainer)}><calcite-button .disabled=${p} appearance=transparent scale=s icon-end=reset @click=${this.resetTimeIntervalOriginal}>${this._messages.reset}</calcite-button></div>`
|
|
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} ${m(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";
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as y } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as u } from "lit/directives/repeat.js";
|
|
4
|
-
import { keyed as
|
|
5
|
-
import { LitElement as k, createEvent as
|
|
6
|
-
import { css as
|
|
7
|
-
import { createRef as
|
|
8
|
-
import { isEqual as
|
|
4
|
+
import { keyed as f } from "lit/directives/keyed.js";
|
|
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
|
+
import { createRef as h, ref as p } from "lit/directives/ref.js";
|
|
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 {
|
|
13
|
-
import {
|
|
14
|
-
import { e as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
const
|
|
11
|
+
import { c as $, b as F, e as d, f as I, s as T } from "../../chunks/chart-ui-utils.js";
|
|
12
|
+
import { d as x } from "../../chunks/rest-js-object-literals.js";
|
|
13
|
+
import { b as g, e as c } from "../../chunks/chart-object-literals.js";
|
|
14
|
+
import { e as A, p as D } from "../../chunks/popover-ui-utils.js";
|
|
15
|
+
import { H as E, I as S } from "../../chunks/index3.js";
|
|
16
|
+
import { b as z, p as w } from "../../chunks/index2.js";
|
|
17
|
+
import { bB as N, aN as L, aO as K, aV as B } from "../../chunks/index.js";
|
|
18
|
+
const H = 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 = {
|
|
19
19
|
name: "line-chart-data-popover",
|
|
20
20
|
header: "header",
|
|
21
21
|
fab: "fab",
|
|
22
|
-
|
|
22
|
+
popoverPickList: "popover-pick-list",
|
|
23
23
|
sizeSection: "size-section",
|
|
24
24
|
applyButton: "apply-button"
|
|
25
25
|
};
|
|
26
|
-
class
|
|
26
|
+
class _ extends k {
|
|
27
27
|
constructor() {
|
|
28
|
-
super(...arguments), this._messages = C(), this.commonStrings = C({ name: "common", blocking: !0 }), this.picklist =
|
|
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();
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
31
|
this.properties = { aggregationLabels: 16, timeAggregationLabels: 16, messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1 };
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
|
-
this.styles =
|
|
34
|
+
this.styles = H;
|
|
35
35
|
}
|
|
36
36
|
async reposition() {
|
|
37
37
|
await this.popoverElement.value?.reposition();
|
|
38
38
|
}
|
|
39
39
|
willUpdate(e) {
|
|
40
40
|
e.has("selectedContent") && this.selectedContentChange(this.selectedContent, e.get("selectedContent"));
|
|
41
|
-
const t =
|
|
42
|
-
|
|
41
|
+
const t = $.map((i) => E(i, this.commonStrings));
|
|
42
|
+
b(this.aggregationLabels, t) || (this.aggregationLabels = t);
|
|
43
43
|
const l = [g.Start, g.End].map((i) => S(i, this.commonStrings));
|
|
44
|
-
|
|
44
|
+
b(this.timeAggregationLabels, l) || (this.timeAggregationLabels = l);
|
|
45
45
|
}
|
|
46
46
|
updated() {
|
|
47
47
|
setTimeout(() => {
|
|
48
48
|
typeof this.picklist.value?.setFocus == "function" && this.picklist.value?.setFocus();
|
|
49
|
-
}, F.PopoverTimer),
|
|
49
|
+
}, F.PopoverTimer), A(this.popoverElement.value, this.open);
|
|
50
50
|
}
|
|
51
51
|
selectedContentChange(e, t) {
|
|
52
52
|
this.pickListHasChanged = D(e, t);
|
|
53
53
|
}
|
|
54
54
|
buildAggregationPickListItems() {
|
|
55
|
-
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>`);
|
|
56
56
|
}
|
|
57
57
|
buildIntervalAlignmentPickListItems() {
|
|
58
58
|
const e = [g.Start, g.End];
|
|
59
59
|
return u(e, (t) => t, (t, s) => n`<calcite-list-item .label=${this.timeAggregationLabels?.[s]} .value=${t} .selected=${d(t, this.selectedContent)}></calcite-list-item>`);
|
|
60
60
|
}
|
|
61
61
|
buildPickListItem(e) {
|
|
62
|
-
return
|
|
62
|
+
return f(e.name, n`<calcite-list-item .label=${z(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${d(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
63
63
|
}
|
|
64
64
|
buildPickListItems(e) {
|
|
65
65
|
const t = this.layerFieldsInfo?.length ?? 0, s = [];
|
|
@@ -67,23 +67,23 @@ class H extends k {
|
|
|
67
67
|
case a.numericFields: {
|
|
68
68
|
for (let l = 0; l < t; l += 1) {
|
|
69
69
|
const i = this.layerFieldsInfo?.[l];
|
|
70
|
-
i &&
|
|
70
|
+
i && L(i) && s.push(this.buildPickListItem(i));
|
|
71
71
|
}
|
|
72
72
|
break;
|
|
73
73
|
}
|
|
74
74
|
case a.xAxisField: {
|
|
75
75
|
for (let l = 0; l < t; l += 1) {
|
|
76
76
|
const i = this.layerFieldsInfo?.[l];
|
|
77
|
-
i && (
|
|
77
|
+
i && (L(i) || K(i) || B(i)) && s.push(this.buildPickListItem(i));
|
|
78
78
|
}
|
|
79
79
|
break;
|
|
80
80
|
}
|
|
81
81
|
case a.splitByField: {
|
|
82
|
-
const l =
|
|
82
|
+
const l = f(" ", n`<calcite-list-item label=" " value=" " .selected=${d("", this.selectedContent)}></calcite-list-item>`);
|
|
83
83
|
s.push(l);
|
|
84
84
|
for (let i = 0; i < t; i += 1) {
|
|
85
|
-
const
|
|
86
|
-
|
|
85
|
+
const m = this.layerFieldsInfo?.[i];
|
|
86
|
+
m && (N(m) || m.type === x.String) && s.push(this.buildPickListItem(m));
|
|
87
87
|
}
|
|
88
88
|
break;
|
|
89
89
|
}
|
|
@@ -97,7 +97,7 @@ class H extends k {
|
|
|
97
97
|
eventEmitter: this.arcgisChartsConfigLineChartDataPopoverChange,
|
|
98
98
|
contentKind: this.contentKind
|
|
99
99
|
};
|
|
100
|
-
|
|
100
|
+
I(e);
|
|
101
101
|
}
|
|
102
102
|
this.open = !1, this.arcgisChartsConfigLineChartPopoverClose.emit();
|
|
103
103
|
}
|
|
@@ -124,23 +124,23 @@ class H extends k {
|
|
|
124
124
|
}
|
|
125
125
|
renderAggregationType() {
|
|
126
126
|
const e = this.buildAggregationPickListItems();
|
|
127
|
-
return n`<calcite-list label class=${o(r.
|
|
127
|
+
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
128
128
|
}
|
|
129
129
|
renderXAxisField() {
|
|
130
130
|
const e = this.buildPickListItems(a.xAxisField);
|
|
131
|
-
return n`<calcite-list label class=${o(r.
|
|
131
|
+
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
132
132
|
}
|
|
133
133
|
renderNumericFields() {
|
|
134
134
|
const e = this.buildPickListItems(a.numericFields);
|
|
135
|
-
return n`<calcite-list label selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${
|
|
135
|
+
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
136
136
|
}
|
|
137
137
|
renderSplitByField() {
|
|
138
138
|
const e = this.buildPickListItems(a.splitByField);
|
|
139
|
-
return n`<calcite-list label class=${o(r.
|
|
139
|
+
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
140
140
|
}
|
|
141
141
|
renderIntervalAlignment() {
|
|
142
142
|
const e = this.buildIntervalAlignmentPickListItems();
|
|
143
|
-
return n`<calcite-list label class=${o(r.
|
|
143
|
+
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
144
144
|
}
|
|
145
145
|
renderInterval() {
|
|
146
146
|
const e = this.selectedContent, t = [
|
|
@@ -152,7 +152,7 @@ class H extends k {
|
|
|
152
152
|
c.Month,
|
|
153
153
|
c.Year
|
|
154
154
|
];
|
|
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)} ${
|
|
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)} ${p(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${p(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>`;
|
|
156
156
|
}
|
|
157
157
|
renderPopoverInfo() {
|
|
158
158
|
let e;
|
|
@@ -180,10 +180,10 @@ class H extends k {
|
|
|
180
180
|
}
|
|
181
181
|
render() {
|
|
182
182
|
let e;
|
|
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 ${
|
|
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 ${p(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>`;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
y("arcgis-charts-config-line-chart-popover",
|
|
186
|
+
y("arcgis-charts-config-line-chart-popover", _);
|
|
187
187
|
export {
|
|
188
|
-
|
|
188
|
+
_ as ArcgisChartsConfigLineChartPopover
|
|
189
189
|
};
|
|
@@ -5,8 +5,8 @@ import { LitElement as I, renderElement as $, safeStyleMap as L } from "@arcgis/
|
|
|
5
5
|
import { css as x, html as o } from "lit";
|
|
6
6
|
import { repeat as P } from "lit/directives/repeat.js";
|
|
7
7
|
import { u as y } from "../../chunks/useT9n.js";
|
|
8
|
-
import { j as b } from "../../chunks/chart-ui-
|
|
9
|
-
import {
|
|
8
|
+
import { j as b } from "../../chunks/chart-ui-utils.js";
|
|
9
|
+
import { a as M } from "../../chunks/index2.js";
|
|
10
10
|
import { r as d } from "../../chunks/popover-ui-utils.js";
|
|
11
11
|
const O = x`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}`;
|
|
12
12
|
class k extends I {
|
|
@@ -1,18 +1,18 @@
|
|
|
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,
|
|
4
|
+
import { i as f, m, U as g, s as S } from "../../chunks/chart-ui-utils.js";
|
|
5
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 {
|
|
10
|
-
import {
|
|
9
|
+
import { r as E } from "../../chunks/index3.js";
|
|
10
|
+
import { R as i } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const n = {
|
|
12
12
|
sizeSection: "size-section",
|
|
13
13
|
dropdownText: "dropdown-text",
|
|
14
14
|
panelChildrenContainer: "panel-children-container"
|
|
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
|
|
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}`;
|
|
16
16
|
class x extends $ {
|
|
17
17
|
constructor() {
|
|
18
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();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as p } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as m, html as s } from "lit";
|
|
4
|
-
import { i as y, m as o,
|
|
4
|
+
import { i as y, m as o, U as c, s as u } from "../../chunks/chart-ui-utils.js";
|
|
5
5
|
import { u as g } from "../../chunks/useT9n.js";
|
|
6
6
|
import { createRef as r, ref as h } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as S, createEvent as d, safeClassMap as l, nothing as n } from "@arcgis/lumina";
|
|
8
|
-
import {
|
|
8
|
+
import { b as f, R as t } from "../../chunks/rest-js-object-literals.js";
|
|
9
9
|
const a = {
|
|
10
10
|
sizeSection: "size-section",
|
|
11
11
|
dropdownText: "dropdown-text",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as o } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as u, html as h } from "lit";
|
|
4
|
-
import { i as p, m,
|
|
4
|
+
import { i as p, m, U as r, s as d } from "../../chunks/chart-ui-utils.js";
|
|
5
5
|
import { u as g } from "../../chunks/useT9n.js";
|
|
6
6
|
import { createRef as b, ref as f } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as v, createEvent as F, safeClassMap as a } from "@arcgis/lumina";
|
|
@@ -4,9 +4,8 @@ import { isEqual as n, cloneDeep as h } from "lodash-es";
|
|
|
4
4
|
import { LitElement as C, createEvent as m } from "@arcgis/lumina";
|
|
5
5
|
import { css as y, html as c } from "lit";
|
|
6
6
|
import { C as d } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { i as b } from "../../chunks/rest-js-object-literals.js";
|
|
7
|
+
import { bC as I, bD as F, t as v } from "../../chunks/index.js";
|
|
8
|
+
import { b } from "../../chunks/rest-js-object-literals.js";
|
|
10
9
|
const S = y`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
11
10
|
class L extends C {
|
|
12
11
|
constructor() {
|
|
@@ -54,10 +53,10 @@ class L extends C {
|
|
|
54
53
|
const i = e ?? this.model.config;
|
|
55
54
|
let s = this.layer;
|
|
56
55
|
if (!s) {
|
|
57
|
-
const a =
|
|
58
|
-
a && (s = await
|
|
56
|
+
const a = I(i) ? i.iLayer : void 0;
|
|
57
|
+
a && (s = await F(a));
|
|
59
58
|
}
|
|
60
|
-
s && (await s.load(), this.layerFieldsInfo =
|
|
59
|
+
s && (await s.load(), this.layerFieldsInfo = v(s, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled));
|
|
61
60
|
}
|
|
62
61
|
render() {
|
|
63
62
|
let e;
|