@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
|
@@ -3,13 +3,14 @@ import { c } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css as p, html as h } from "lit";
|
|
4
4
|
import { u as m } from "../../chunks/useT9n.js";
|
|
5
5
|
import { createRef as d, ref as g } from "lit/directives/ref.js";
|
|
6
|
-
import { LitElement as C, createEvent as s, safeClassMap as
|
|
6
|
+
import { LitElement as C, createEvent as s, safeClassMap as l } from "@arcgis/lumina";
|
|
7
7
|
import { e as v } from "../../chunks/popover-ui-utils.js";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import { r as f } from "../../chunks/index3.js";
|
|
9
|
+
import { ao as u } from "../../chunks/index.js";
|
|
10
|
+
const n = {
|
|
10
11
|
panelChildrenContainer: "panel-children-container"
|
|
11
|
-
},
|
|
12
|
-
class
|
|
12
|
+
}, y = p`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.panel-children-container{padding:0 1rem;margin-top:1rem}`;
|
|
13
|
+
class x extends C {
|
|
13
14
|
constructor() {
|
|
14
15
|
super(...arguments), this._messages = m(), this.popoverElement = d(), this.open = !1, this.arcgisChartsConfigPopoverClose = s(), this.arcgisChartsConfigSeriesPopoverColorChange = s(), this.arcgisChartsConfigSeriesPopoverNameChange = s();
|
|
15
16
|
}
|
|
@@ -17,7 +18,7 @@ class y extends C {
|
|
|
17
18
|
this.properties = { messageOverrides: 0, referenceElement: 0, selectedName: 1, selectedColor: 0, selectedSeriesIndex: 9, placement: 1, open: 5, nullCategory: 0 };
|
|
18
19
|
}
|
|
19
20
|
static {
|
|
20
|
-
this.styles =
|
|
21
|
+
this.styles = y;
|
|
21
22
|
}
|
|
22
23
|
async reposition() {
|
|
23
24
|
await this.popoverElement.value?.reposition();
|
|
@@ -35,15 +36,15 @@ class y extends C {
|
|
|
35
36
|
});
|
|
36
37
|
}
|
|
37
38
|
colorChange(e) {
|
|
38
|
-
const t = e instanceof CustomEvent ? e.detail : e, [o, i,
|
|
39
|
-
this.selectedColor = [o, i,
|
|
39
|
+
const t = e instanceof CustomEvent ? e.detail : e, [o, i, r] = t, a = f * 255;
|
|
40
|
+
this.selectedColor = [o, i, r, a], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [o, i, r, a] });
|
|
40
41
|
}
|
|
41
42
|
render() {
|
|
42
|
-
const e = this.nullCategory?.
|
|
43
|
-
return h`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${g(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${n
|
|
43
|
+
const e = u(this.nullCategory)?.color ?? this.selectedColor, t = this.nullCategory?.text ?? this.selectedName;
|
|
44
|
+
return h`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${g(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=${t} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div><div class=${l(n.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel></calcite-popover></div>`;
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
|
-
c("arcgis-charts-config-bar-chart-series-popover",
|
|
47
|
+
c("arcgis-charts-config-bar-chart-series-popover", x);
|
|
47
48
|
export {
|
|
48
|
-
|
|
49
|
+
x as ArcgisChartsConfigBarChartSeriesPopover
|
|
49
50
|
};
|
|
@@ -1,80 +1,72 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as r } from "../../chunks/runtime.js";
|
|
3
3
|
import { LitElement as n } from "@arcgis/lumina";
|
|
4
|
-
import { css as
|
|
5
|
-
import { isEqual as
|
|
4
|
+
import { css as c, html as t } from "lit";
|
|
5
|
+
import { isEqual as l } from "lodash-es";
|
|
6
6
|
import { C as a } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class p extends n {
|
|
7
|
+
import { bC as d, bD as h, t as f } from "../../chunks/index.js";
|
|
8
|
+
const g = c`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
9
|
+
class m extends n {
|
|
11
10
|
constructor() {
|
|
12
11
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
13
|
-
const
|
|
14
|
-
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(
|
|
12
|
+
const i = e?.detail.config ?? this.model.config;
|
|
13
|
+
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(i);
|
|
15
14
|
}, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.usePopupTemplateFieldsInfo = !1;
|
|
16
15
|
}
|
|
17
16
|
static {
|
|
18
17
|
this.properties = { layerFieldsInfo: 16, activeColorMatch: 16, model: 0, popoverPlacement: 1, seriesColor: 0, page: 1, calculatedMinMaxBounds: 0, layer: 0, usePopupTemplateFieldsInfo: 5, popupTemplateFieldInfosEnabled: 5 };
|
|
19
18
|
}
|
|
20
19
|
static {
|
|
21
|
-
this.styles =
|
|
20
|
+
this.styles = g;
|
|
22
21
|
}
|
|
23
22
|
async load() {
|
|
24
|
-
this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model)
|
|
23
|
+
this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model);
|
|
25
24
|
}
|
|
26
25
|
willUpdate(e) {
|
|
27
|
-
let
|
|
28
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("layer") && this.layer !== void 0 && !
|
|
26
|
+
let o = !1;
|
|
27
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("layer") && this.layer !== void 0 && !l(e.get("layer"), this.layer) && (o = !0), (e.has("usePopupTemplateFieldsInfo") && this.usePopupTemplateFieldsInfo !== e.get("usePopupTemplateFieldsInfo") || e.has("popupTemplateFieldInfosEnabled") && this.popupTemplateFieldInfosEnabled !== e.get("popupTemplateFieldInfosEnabled")) && (o = !0), e.has("seriesColor") && this.seriesColorChange(this.seriesColor), this.layerFieldsInfo === void 0 && (o = !0), o && this.updateFetchLayerFieldsInfo();
|
|
29
28
|
}
|
|
30
29
|
disconnectedCallback() {
|
|
31
30
|
super.disconnectedCallback(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
32
31
|
}
|
|
33
|
-
modelChange(e,
|
|
34
|
-
|
|
32
|
+
modelChange(e, o) {
|
|
33
|
+
o?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
35
34
|
}
|
|
36
35
|
seriesColorChange(e) {
|
|
37
|
-
this.activeColorMatch = e?.get(0) === void 0, this.model.colorMatch && e?.forEach((
|
|
38
|
-
let
|
|
39
|
-
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
async updateDataFilters() {
|
|
43
|
-
const e = this.model.getDataFilters(), i = e?.where, o = this.layer?.definitionExpression ?? void 0;
|
|
44
|
-
r(i, o) || await this.model.setDataFilters({
|
|
45
|
-
...e,
|
|
46
|
-
where: o ?? void 0
|
|
36
|
+
this.activeColorMatch = e?.get(0) === void 0, this.model.colorMatch && e?.forEach((o, i) => {
|
|
37
|
+
let s;
|
|
38
|
+
o && ("fillSymbol" in o ? s = o.fillSymbol?.color : "lineSymbol" in o && (s = o.lineSymbol.color)), e?.get(0) !== void 0 && s !== void 0 && !l(this.model.getSeriesColor(i), s) && this.model.setSeriesColor(s, i);
|
|
47
39
|
});
|
|
48
40
|
}
|
|
49
41
|
async updateFetchLayerFieldsInfo(e) {
|
|
50
|
-
const
|
|
51
|
-
let
|
|
52
|
-
if (!
|
|
53
|
-
const
|
|
54
|
-
|
|
42
|
+
const o = e ?? this.model.config;
|
|
43
|
+
let i = this.layer;
|
|
44
|
+
if (!i) {
|
|
45
|
+
const s = d(o) ? o.iLayer : void 0;
|
|
46
|
+
s && (i = await h(s));
|
|
55
47
|
}
|
|
56
|
-
|
|
48
|
+
i && (await i.load(), this.layerFieldsInfo = f(i, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled));
|
|
57
49
|
}
|
|
58
50
|
render() {
|
|
59
51
|
let e;
|
|
60
52
|
switch (this.page) {
|
|
61
53
|
case a.Data:
|
|
62
|
-
e =
|
|
54
|
+
e = t`<arcgis-charts-config-box-plot-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-box-plot-data>`;
|
|
63
55
|
break;
|
|
64
56
|
case a.Series:
|
|
65
|
-
e =
|
|
57
|
+
e = t`<arcgis-charts-config-box-plot-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-box-plot-series>`;
|
|
66
58
|
break;
|
|
67
59
|
case a.Axes:
|
|
68
|
-
e =
|
|
60
|
+
e = t`<arcgis-charts-config-axes .model=${this.model} show-min-y-bound-option show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;
|
|
69
61
|
break;
|
|
70
62
|
case a.Guides:
|
|
71
|
-
e =
|
|
63
|
+
e = t`<arcgis-charts-config-guides .model=${this.model} enable-y-axis-guide></arcgis-charts-config-guides>`;
|
|
72
64
|
break;
|
|
73
65
|
case a.Format:
|
|
74
|
-
e =
|
|
66
|
+
e = t`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;
|
|
75
67
|
break;
|
|
76
68
|
case a.General:
|
|
77
|
-
e =
|
|
69
|
+
e = t`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;
|
|
78
70
|
break;
|
|
79
71
|
default:
|
|
80
72
|
e = "";
|
|
@@ -83,7 +75,7 @@ class p extends n {
|
|
|
83
75
|
return e;
|
|
84
76
|
}
|
|
85
77
|
}
|
|
86
|
-
|
|
78
|
+
r("arcgis-charts-config-box-plot", m);
|
|
87
79
|
export {
|
|
88
|
-
|
|
80
|
+
m as ArcgisChartsConfigBoxPlot
|
|
89
81
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as C } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
4
|
-
import { isEqual as
|
|
4
|
+
import { isEqual as b } from "lodash-es";
|
|
5
5
|
import { repeat as y } from "lit/directives/repeat.js";
|
|
6
|
-
import {
|
|
6
|
+
import { b as l, a as d } from "../../chunks/interfaces.js";
|
|
7
7
|
import { d as S, a as v } from "../../chunks/store.js";
|
|
8
|
-
import { b as $ } from "../../chunks/chart-ui-
|
|
8
|
+
import { b as $ } from "../../chunks/chart-ui-utils.js";
|
|
9
9
|
import { u as F } from "../../chunks/useT9n.js";
|
|
10
10
|
import { css as x, nothing as I, html as a } from "lit";
|
|
11
11
|
import { createRef as m, ref as h } from "lit/directives/ref.js";
|
|
12
12
|
import { LitElement as B, createEvent as P, safeClassMap as o, renderElement as O } from "@arcgis/lumina";
|
|
13
13
|
import { x as L } from "../../chunks/data.js";
|
|
14
14
|
import { B as c } from "../../chunks/common.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
15
|
+
import { l as u } from "../../chunks/index3.js";
|
|
16
|
+
import { o as w, b as g } from "../../chunks/index2.js";
|
|
17
17
|
import { r as p } from "../../chunks/popover-ui-utils.js";
|
|
18
|
-
import {
|
|
18
|
+
import { a as k } from "../../chunks/chart-object-literals.js";
|
|
19
19
|
const r = {
|
|
20
20
|
label: "label",
|
|
21
21
|
fieldList: "field-list",
|
|
@@ -23,7 +23,7 @@ const r = {
|
|
|
23
23
|
dimText: "dim-text",
|
|
24
24
|
list: "list",
|
|
25
25
|
customSortButtons: "custom-sort-buttons"
|
|
26
|
-
},
|
|
26
|
+
}, E = x`.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}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major);max-height:400px;overflow-y:auto}.custom-sort-buttons{display:flex;justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}`;
|
|
27
27
|
class D extends B {
|
|
28
28
|
constructor() {
|
|
29
29
|
super(...arguments), this._messages = F(), this.boxPlotPopover = null, this.categoryElement = m(), this.numericFieldsElement = m(), this.splitByFieldElement = m(), this.sortOrderElement = m(), this.originalCustomSortLabels = [], this.isCustomSortDisabled = !1, this.onModelConfigChange = () => {
|
|
@@ -82,13 +82,13 @@ class D extends B {
|
|
|
82
82
|
this.properties = { selectedCustomSortItemId: 16, sortOrderResetCounter: 16, messageOverrides: 0, model: 0, layerFieldsInfo: 0 };
|
|
83
83
|
}
|
|
84
84
|
static {
|
|
85
|
-
this.styles =
|
|
85
|
+
this.styles = E;
|
|
86
86
|
}
|
|
87
87
|
load() {
|
|
88
88
|
this.modelChange(this.model), this.onModelConfigChange(), this.currentDataFilter = this.model.getDataFilters(), this.updateCustomSortProps();
|
|
89
89
|
}
|
|
90
90
|
willUpdate(e) {
|
|
91
|
-
e.has("model") && this.modelChange(this.model, e.get("model")),
|
|
91
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), b(this.model.getDataFilters(), this.currentDataFilter) || (this.updateCustomSortProps(), this.currentDataFilter = this.model.getDataFilters()), this.disableSplitBy = this.model.numericFields.length === 0 || this.model.numericFields.length > 1 && this.model.category !== u;
|
|
92
92
|
}
|
|
93
93
|
disconnectedCallback() {
|
|
94
94
|
super.disconnectedCallback(), this.boxPlotPopover = p(this.boxPlotPopover), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -188,7 +188,7 @@ class D extends B {
|
|
|
188
188
|
}
|
|
189
189
|
renderCustomSortUI() {
|
|
190
190
|
const e = this.model.getSortOrder(), t = this.model.getAxisValueFormat(0)?.type, s = this.model.orderByList.indexOf(this.selectedCustomSortItemId);
|
|
191
|
-
return t ===
|
|
191
|
+
return t === k.CategoryAxisFormat && e === c.customSort && !this.isCustomSortDisabled ? a`<calcite-label class=${o(r.label)}><div class=${o(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${s === 0 || s === -1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-up id=${d.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${s === -1 || s === this.model.orderByList.length - 1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-down id=${d.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${b(this.model.orderByList, this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.model.category === u ? this._messages.values : this._messages.category}${this.buildCustomSortList()}</calcite-label>` : null;
|
|
192
192
|
}
|
|
193
193
|
renderNumericFields(e) {
|
|
194
194
|
const t = [];
|
|
@@ -198,21 +198,21 @@ class D extends B {
|
|
|
198
198
|
}
|
|
199
199
|
renderCategory() {
|
|
200
200
|
const e = this.getCorrectedCategoryValue(), t = this.model.numericFields.length === 0 || (this.model.numericFields ?? []).length > 1 && this.model.splitByField !== "";
|
|
201
|
-
return a`<arcgis-charts-config-field-
|
|
201
|
+
return a`<arcgis-charts-config-field-picker .label=${e} .disabled=${t} @click=${this.onCategorySelect} ${h(this.categoryElement)}></arcgis-charts-config-field-picker>`;
|
|
202
202
|
}
|
|
203
203
|
renderSplitBy() {
|
|
204
204
|
const e = this.getCorrectedSplitByValue();
|
|
205
|
-
return a`<arcgis-charts-config-field-
|
|
205
|
+
return a`<arcgis-charts-config-field-picker .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${h(this.splitByFieldElement)}></arcgis-charts-config-field-picker>`;
|
|
206
206
|
}
|
|
207
207
|
renderSorting() {
|
|
208
|
-
return a`<arcgis-charts-config-field-
|
|
208
|
+
return a`<arcgis-charts-config-field-picker .label=${this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${h(this.sortOrderElement)}></arcgis-charts-config-field-picker>`;
|
|
209
209
|
}
|
|
210
210
|
render() {
|
|
211
211
|
const e = this.renderCategory(), t = this.renderNumericFields([...this.model.numericFields ?? []]), s = this.renderSplitBy(), i = this.renderSorting(), n = this.renderCustomSortUI();
|
|
212
212
|
return a`<calcite-label class=${o(r.label)}>${this._messages.numericFields}${t}</calcite-label><div class=${o(r.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><calcite-label class=${o(r.label)}><div>${this._messages.category} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${e}</calcite-label><calcite-label class=${o(r.label)}><div class=${o(this.disableSplitBy ? r.dimText : "")}>${this._messages.splitBy} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${s}</calcite-label><div>${(this.model.numericFields ?? []).length > 1 ? a`<calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.standardizeValues}<calcite-switch .checked=${this.model.standardizeValues} @calciteSwitchChange=${this.onStandardizeValuesChange}></calcite-switch></calcite-label>` : null}</div><calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.showOutliers}<calcite-switch .checked=${this.model.showOutliers} @calciteSwitchChange=${this.onShowOutliersChange}></calcite-switch></calcite-label><calcite-label class=${o(r.label)}>${this._messages.sortOrder}${i}</calcite-label>${n}`;
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
|
|
215
|
+
C("arcgis-charts-config-box-plot-data", D);
|
|
216
216
|
export {
|
|
217
217
|
D as ArcgisChartsConfigBoxPlotData
|
|
218
218
|
};
|
|
@@ -4,7 +4,7 @@ import "@esri/calcite-components/components/calcite-list";
|
|
|
4
4
|
import "../arcgis-charts-config-box-plot-popover/index.js";
|
|
5
5
|
import "@esri/calcite-components/components/calcite-label";
|
|
6
6
|
import "@esri/calcite-components/components/calcite-button";
|
|
7
|
-
import "../arcgis-charts-config-field-
|
|
7
|
+
import "../arcgis-charts-config-field-picker/index.js";
|
|
8
8
|
import "@esri/calcite-components/components/calcite-fab";
|
|
9
9
|
import "@esri/calcite-components/components/calcite-switch";
|
|
10
10
|
export * from "./customElement.js";
|
|
@@ -1,33 +1,32 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as v } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as p } from "lit/directives/keyed.js";
|
|
4
|
-
import { repeat as
|
|
4
|
+
import { repeat as k } from "lit/directives/repeat.js";
|
|
5
5
|
import { substitute as $ } from "@arcgis/core/intl.js";
|
|
6
|
-
import {
|
|
7
|
-
import { b as
|
|
6
|
+
import { b as l } from "../../chunks/interfaces.js";
|
|
7
|
+
import { b as f, f as y, e as h, a as P } from "../../chunks/chart-ui-utils.js";
|
|
8
8
|
import { u as F } from "../../chunks/useT9n.js";
|
|
9
|
-
import { css as
|
|
10
|
-
import { createRef as
|
|
11
|
-
import { LitElement as
|
|
9
|
+
import { css as L, html as n } from "lit";
|
|
10
|
+
import { createRef as u, ref as m } from "lit/directives/ref.js";
|
|
11
|
+
import { LitElement as x, createEvent as g, renderElement as I, safeStyleMap as D, safeClassMap as d } from "@arcgis/lumina";
|
|
12
12
|
import { B as r } from "../../chunks/common.js";
|
|
13
13
|
import { e as S, p as T } from "../../chunks/popover-ui-utils.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
const
|
|
14
|
+
import { bB as b, aN as E, D as w } from "../../chunks/index.js";
|
|
15
|
+
import { b as B } from "../../chunks/index2.js";
|
|
16
|
+
import { d as C } from "../../chunks/rest-js-object-literals.js";
|
|
17
|
+
const o = {
|
|
18
18
|
name: "bar-chart-data-popover",
|
|
19
|
-
numericFieldPickList: "bar-chart-data-numeric-fields-pick-list",
|
|
20
19
|
header: "header",
|
|
21
20
|
fab: "fab",
|
|
22
|
-
|
|
21
|
+
popoverPickList: "popover-pick-list",
|
|
23
22
|
sortMean: "sort-mean",
|
|
24
23
|
sortMedian: "sort-median",
|
|
25
24
|
sortOrderPickList: "sort-order-pick-list",
|
|
26
25
|
panel: "panel"
|
|
27
|
-
}, N =
|
|
28
|
-
class K extends
|
|
26
|
+
}, N = L`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.sort-icon-color{color:#000}.sort-mean,.sort-median{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`;
|
|
27
|
+
class K extends x {
|
|
29
28
|
constructor() {
|
|
30
|
-
super(...arguments), this._messages = F(), this.picklist =
|
|
29
|
+
super(...arguments), this._messages = F(), this.picklist = u(), this.placement = "leading", this.popoverElement = u(), this.offsetDistance = -200, this.pickListHasChanged = !1, this.open = !1, this.layerFieldsInfo = [], this.isCustomSortDisabled = !1, this.arcgisChartsConfigBoxPlotDataPopoverChange = g(), this.arcgisChartsConfigPopoverClose = g();
|
|
31
30
|
}
|
|
32
31
|
static {
|
|
33
32
|
this.properties = { messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, isCustomSortDisabled: 5, selectedContent: 1 };
|
|
@@ -44,13 +43,13 @@ class K extends I {
|
|
|
44
43
|
updated() {
|
|
45
44
|
setTimeout(() => {
|
|
46
45
|
typeof this.picklist.value?.setFocus == "function" && this.picklist.value?.setFocus();
|
|
47
|
-
},
|
|
46
|
+
}, f.PopoverTimer), S(this.popoverElement.value, this.open);
|
|
48
47
|
}
|
|
49
48
|
selectedContentChange(e, t) {
|
|
50
49
|
this.pickListHasChanged = T(e, t);
|
|
51
50
|
}
|
|
52
51
|
closePopover() {
|
|
53
|
-
if (this.contentKind ===
|
|
52
|
+
if (this.contentKind === l.numericFields && this.pickListHasChanged) {
|
|
54
53
|
const e = {
|
|
55
54
|
pickListElement: this.picklist.value,
|
|
56
55
|
eventEmitter: this.arcgisChartsConfigBoxPlotDataPopoverChange,
|
|
@@ -74,27 +73,27 @@ class K extends I {
|
|
|
74
73
|
buildPickListItems(e) {
|
|
75
74
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
76
75
|
switch (e) {
|
|
77
|
-
case
|
|
76
|
+
case l.numericFields: {
|
|
78
77
|
for (let s = 0; s < t; s += 1) {
|
|
79
|
-
const
|
|
80
|
-
E(
|
|
78
|
+
const a = this.layerFieldsInfo[s];
|
|
79
|
+
E(a) && i.push(this.buildPickListItem(a));
|
|
81
80
|
}
|
|
82
81
|
break;
|
|
83
82
|
}
|
|
84
|
-
case
|
|
83
|
+
case l.category: {
|
|
85
84
|
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${h("", this.selectedContent)}></calcite-list-item>`);
|
|
86
85
|
i.push(s);
|
|
87
|
-
for (let
|
|
88
|
-
const c = this.layerFieldsInfo[
|
|
86
|
+
for (let a = 0; a < t; a += 1) {
|
|
87
|
+
const c = this.layerFieldsInfo[a];
|
|
89
88
|
(b(c) || c.type === C.String) && i.push(this.buildPickListItem(c));
|
|
90
89
|
}
|
|
91
90
|
break;
|
|
92
91
|
}
|
|
93
|
-
case
|
|
92
|
+
case l.splitByField: {
|
|
94
93
|
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${h("", this.selectedContent)}></calcite-list-item>`);
|
|
95
94
|
i.push(s);
|
|
96
|
-
for (let
|
|
97
|
-
const c = this.layerFieldsInfo[
|
|
95
|
+
for (let a = 0; a < t; a += 1) {
|
|
96
|
+
const c = this.layerFieldsInfo[a];
|
|
98
97
|
(b(c) || c.type === C.String) && i.push(this.buildPickListItem(c));
|
|
99
98
|
}
|
|
100
99
|
break;
|
|
@@ -108,7 +107,7 @@ class K extends I {
|
|
|
108
107
|
buildSortOrder() {
|
|
109
108
|
const e = Object.keys(r);
|
|
110
109
|
let t;
|
|
111
|
-
return
|
|
110
|
+
return k(e, (i) => i, (i) => {
|
|
112
111
|
let s = "";
|
|
113
112
|
switch (i) {
|
|
114
113
|
case r.xAxisAsc: {
|
|
@@ -120,18 +119,18 @@ class K extends I {
|
|
|
120
119
|
break;
|
|
121
120
|
}
|
|
122
121
|
case r.meanAsc:
|
|
123
|
-
t = "sort-descending", s =
|
|
122
|
+
t = "sort-descending", s = o.sortMean;
|
|
124
123
|
break;
|
|
125
124
|
case r.meanDesc: {
|
|
126
|
-
t = "sort-ascending", s =
|
|
125
|
+
t = "sort-ascending", s = o.sortMean;
|
|
127
126
|
break;
|
|
128
127
|
}
|
|
129
128
|
case r.medianAsc: {
|
|
130
|
-
t = "sort-descending", s =
|
|
129
|
+
t = "sort-descending", s = o.sortMedian;
|
|
131
130
|
break;
|
|
132
131
|
}
|
|
133
132
|
case r.medianDesc: {
|
|
134
|
-
t = "sort-ascending", s =
|
|
133
|
+
t = "sort-ascending", s = o.sortMedian;
|
|
135
134
|
break;
|
|
136
135
|
}
|
|
137
136
|
case r.customSort: {
|
|
@@ -147,44 +146,44 @@ class K extends I {
|
|
|
147
146
|
}
|
|
148
147
|
createTooltip(e) {
|
|
149
148
|
if (e.target?.label === this._messages.customSort && this.isCustomSortDisabled) {
|
|
150
|
-
const t = e.target, i = w(t),
|
|
151
|
-
totalLimit:
|
|
149
|
+
const t = e.target, i = w(t), a = new Intl.NumberFormat(i).format(f.customSortLimit), c = $(this._messages.customSortLimit ?? "", {
|
|
150
|
+
totalLimit: a
|
|
152
151
|
});
|
|
153
|
-
this.tooltip =
|
|
152
|
+
this.tooltip = I(n`<calcite-tooltip style=${D({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${c}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
154
153
|
}
|
|
155
154
|
}
|
|
156
155
|
destroyTooltip() {
|
|
157
|
-
|
|
156
|
+
P(this.tooltip);
|
|
158
157
|
}
|
|
159
158
|
renderCategory() {
|
|
160
|
-
const e = this.buildPickListItems(
|
|
161
|
-
return n`<calcite-list label class=${d(
|
|
159
|
+
const e = this.buildPickListItems(l.category);
|
|
160
|
+
return n`<calcite-list label class=${d(o.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
162
161
|
}
|
|
163
162
|
renderNumericFields() {
|
|
164
|
-
const e = this.buildPickListItems(
|
|
165
|
-
return n`<calcite-list label class=${d(
|
|
163
|
+
const e = this.buildPickListItems(l.numericFields);
|
|
164
|
+
return n`<calcite-list label class=${d(o.popoverPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
166
165
|
}
|
|
167
166
|
renderSplitByField() {
|
|
168
|
-
const e = this.buildPickListItems(
|
|
169
|
-
return n`<calcite-list label class=${d(
|
|
167
|
+
const e = this.buildPickListItems(l.splitByField);
|
|
168
|
+
return n`<calcite-list label class=${d(o.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
170
169
|
}
|
|
171
170
|
renderSortOrder() {
|
|
172
171
|
const e = this.buildSortOrder();
|
|
173
|
-
return n`<calcite-list label class=${
|
|
172
|
+
return n`<calcite-list label class=${`${o.popoverPickList} ${o.sortOrderPickList}`} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
174
173
|
}
|
|
175
174
|
renderPopoverInfo() {
|
|
176
175
|
let e;
|
|
177
176
|
switch (this.contentKind) {
|
|
178
|
-
case
|
|
177
|
+
case l.category:
|
|
179
178
|
e = this.renderCategory();
|
|
180
179
|
break;
|
|
181
|
-
case
|
|
180
|
+
case l.numericFields:
|
|
182
181
|
e = this.renderNumericFields();
|
|
183
182
|
break;
|
|
184
|
-
case
|
|
183
|
+
case l.splitByField:
|
|
185
184
|
e = this.renderSplitByField();
|
|
186
185
|
break;
|
|
187
|
-
case
|
|
186
|
+
case l.sortOrder:
|
|
188
187
|
e = this.renderSortOrder();
|
|
189
188
|
break;
|
|
190
189
|
}
|
|
@@ -192,10 +191,10 @@ class K extends I {
|
|
|
192
191
|
}
|
|
193
192
|
render() {
|
|
194
193
|
let e;
|
|
195
|
-
return this.contentKind ===
|
|
194
|
+
return this.contentKind === l.numericFields && (e = n`<div slot=footer><calcite-fab class=${d(o.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=${d(o.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${m(this.popoverElement)}><calcite-panel class=${d(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${d(o.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
196
195
|
}
|
|
197
196
|
}
|
|
198
|
-
|
|
197
|
+
v("arcgis-charts-config-box-plot-popover", K);
|
|
199
198
|
export {
|
|
200
199
|
K as ArcgisChartsConfigBoxPlotPopover
|
|
201
200
|
};
|
|
@@ -5,10 +5,10 @@ import { keyed as y } from "lit/directives/keyed.js";
|
|
|
5
5
|
import { repeat as M } from "lit/directives/repeat.js";
|
|
6
6
|
import { u as B } from "../../chunks/useT9n.js";
|
|
7
7
|
import { LitElement as O, renderElement as d, safeStyleMap as h, safeClassMap as a } from "@arcgis/lumina";
|
|
8
|
-
import { a as w } from "../../chunks/chart-ui-
|
|
9
|
-
import {
|
|
8
|
+
import { a as w } from "../../chunks/chart-ui-utils.js";
|
|
9
|
+
import { a as S } from "../../chunks/index2.js";
|
|
10
10
|
import { r as f } from "../../chunks/popover-ui-utils.js";
|
|
11
|
-
import {
|
|
11
|
+
import { p as m } from "../../chunks/chart-object-literals.js";
|
|
12
12
|
const l = {
|
|
13
13
|
topSection: "top-section",
|
|
14
14
|
sectionLabel: "section-label",
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as g } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as C, html as
|
|
3
|
+
import { css as C, html as a } from "lit";
|
|
4
4
|
import { isEqual as f } from "lodash-es";
|
|
5
5
|
import { u as v } from "../../chunks/useT9n.js";
|
|
6
6
|
import { createRef as y, ref as S } from "lit/directives/ref.js";
|
|
7
|
-
import { LitElement as b, createEvent as
|
|
7
|
+
import { LitElement as b, createEvent as n, safeClassMap as p } from "@arcgis/lumina";
|
|
8
8
|
import { e as u } from "../../chunks/popover-ui-utils.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { r as m } from "../../chunks/index3.js";
|
|
10
|
+
import { b as $ } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const d = {
|
|
12
12
|
panelChildrenContainer: "panel-children-container"
|
|
13
|
-
}, L = 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{overflow-y:auto;width:min-content}.panel-children-container{display:flex
|
|
13
|
+
}, L = 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{overflow-y:auto;width:min-content}.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}`;
|
|
14
14
|
class P extends b {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(...arguments), this._messages = v(), this.popoverElement = y(), this.isLineSymbol = !1, this.open = !1, this.labelCanBeConfigured = !1, this.arcgisChartsConfigPopoverClose =
|
|
16
|
+
super(...arguments), this._messages = v(), this.popoverElement = y(), this.isLineSymbol = !1, this.open = !1, this.labelCanBeConfigured = !1, this.arcgisChartsConfigPopoverClose = n(), this.arcgisChartsConfigSeriesPopoverColorChange = n(), this.arcgisChartsConfigSeriesPopoverLineStyleChange = n(), this.arcgisChartsConfigSeriesPopoverLineWidthChange = n(), this.arcgisChartsConfigSeriesPopoverNameChange = n();
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
19
|
this.properties = { messageOverrides: 0, referenceElement: 0, selectedName: 1, selectedColor: 0, selectedLineStyle: 1, selectedLineWidth: 9, selectedSeriesIndex: 9, isLineSymbol: 5, placement: 1, open: 5, labelCanBeConfigured: 5 };
|
|
@@ -41,19 +41,19 @@ class P extends b {
|
|
|
41
41
|
lineSymbolChange(e) {
|
|
42
42
|
const { lineStyle: i } = e.target, { color: o, style: t, width: s } = i;
|
|
43
43
|
if (o !== void 0 && !f(o, this.selectedColor)) {
|
|
44
|
-
const [r,
|
|
45
|
-
this.selectedColor = [r,
|
|
44
|
+
const [r, l, c] = o, h = m * 255;
|
|
45
|
+
this.selectedColor = [r, l, c, h], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [r, l, c, h] });
|
|
46
46
|
}
|
|
47
47
|
t !== void 0 && t !== this.selectedLineStyle && (this.selectedLineStyle = t, this.arcgisChartsConfigSeriesPopoverLineStyleChange.emit({ style: t })), s !== void 0 && s !== this.selectedLineWidth && (this.selectedLineWidth = s, this.arcgisChartsConfigSeriesPopoverLineWidthChange.emit({ width: s }));
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
50
|
const e = this.selectedColor;
|
|
51
|
-
return
|
|
51
|
+
return a`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${S(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}>${this.labelCanBeConfigured ? a`<div class=${p(d.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div>` : null}<div class=${p(this.isLineSymbol ? "" : d.panelChildrenContainer)}>${this.isLineSymbol ? a`<arcgis-charts-config-line-style .open=${this.open} enable-close .lineStyle=${{
|
|
52
52
|
type: $.SLS,
|
|
53
53
|
style: this.selectedLineStyle,
|
|
54
54
|
width: this.selectedLineWidth,
|
|
55
55
|
color: e
|
|
56
|
-
}} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>` :
|
|
56
|
+
}} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>` : a`<arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors>`}</div></calcite-panel></calcite-popover></div>`;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
g("arcgis-charts-config-box-plot-series-popover", P);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as m } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as o, html as l } from "lit";
|
|
4
|
-
import { i as h, m as r,
|
|
4
|
+
import { i as h, m as r, U as s, s as u } from "../../chunks/chart-ui-utils.js";
|
|
5
5
|
import { u as p } from "../../chunks/useT9n.js";
|
|
6
6
|
import { createRef as g, ref as d } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as f, createEvent as b, safeClassMap as e } from "@arcgis/lumina";
|