@arcgis/charts-components 4.34.0-next.112 → 4.34.0-next.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{E26XH3YH.js → 23I4Q3OX.js} +1 -1
- package/dist/cdn/{KCUL2QHN.js → 262AENTU.js} +2 -2
- package/dist/cdn/{I7KJ3UIA.js → 2AEEFPEX.js} +2 -2
- package/dist/cdn/2CXG76NM.js +4 -0
- package/dist/cdn/{PH56PPFP.js → 2ER5PXU6.js} +2 -2
- package/dist/cdn/{6CVIYXIM.js → 2FKZJUPY.js} +2 -2
- package/dist/cdn/2OYSTEG4.js +4 -0
- package/dist/cdn/{MYROUJWW.js → 2XRLHUO4.js} +2 -2
- package/dist/cdn/{7GTS22FA.js → 34CTQ2YC.js} +23 -23
- package/dist/cdn/{YID5SKYK.js → 36DWFWMR.js} +2 -2
- package/dist/cdn/{DNLNKATA.js → 3YCYB5YB.js} +2 -2
- package/dist/cdn/{IKIA6HNO.js → 4H5KCTKT.js} +2 -2
- package/dist/cdn/{HRER5BGU.js → 4JZ5QNSR.js} +2 -2
- package/dist/cdn/{O2WEDWVV.js → 4KYIOYQJ.js} +2 -2
- package/dist/cdn/{QHSYDH3A.js → 4NH3HZ7S.js} +2 -2
- package/dist/cdn/{PYGZWOLF.js → 4O56TDHY.js} +2 -2
- package/dist/cdn/4O7SEJLL.js +4 -0
- package/dist/cdn/{7GTQKF2A.js → 4OBIO427.js} +2 -2
- package/dist/cdn/{ELMF5MPY.js → 53BUUZMF.js} +2 -2
- package/dist/cdn/{WBWL4DBL.js → 5WBMOWIY.js} +1 -1
- package/dist/cdn/5ZZYKWT2.js +4 -0
- package/dist/cdn/{74AAGHE4.js → 62YSTE7B.js} +2 -2
- package/dist/cdn/{7PDPY5IW.js → 67SRQPQO.js} +2 -2
- package/dist/cdn/6MAVBETA.js +4 -0
- package/dist/cdn/{UXFYSPO5.js → 6YDMBON5.js} +2 -2
- package/dist/cdn/{XUQ22G7T.js → 74GOXLFU.js} +2 -2
- package/dist/cdn/{64MADX24.js → 77E5KG5S.js} +2 -2
- package/dist/cdn/7FHQSHKC.js +4 -0
- package/dist/cdn/7KMZG76W.js +6 -0
- package/dist/cdn/{TLUZWL4B.js → 7QNYDVH4.js} +2 -2
- package/dist/cdn/{UCDG2EE5.js → ACXTURJX.js} +2 -2
- package/dist/cdn/AJPLPIVM.js +4 -0
- package/dist/cdn/{VTAU36PV.js → APTMEFHH.js} +2 -2
- package/dist/cdn/{YHB556LF.js → AUAH5WQA.js} +2 -2
- package/dist/cdn/{VC7ELLEP.js → AZ4NACBM.js} +2 -2
- package/dist/cdn/{EBWEMLO7.js → BJZHJTCR.js} +2 -2
- package/dist/cdn/{GWD4B6LT.js → BQ5FFKZT.js} +2 -2
- package/dist/cdn/{QYQLXYUT.js → BTZPYYAW.js} +2 -2
- package/dist/cdn/BWO26RLA.js +4 -0
- package/dist/cdn/{MDSWQIN2.js → BXZ4PAPX.js} +2 -2
- package/dist/cdn/{M65UJVI3.js → CWSOEJAF.js} +2 -2
- package/dist/cdn/D4LC37XL.js +4 -0
- package/dist/cdn/{GOSQHC5D.js → D5K7GLZI.js} +2 -2
- package/dist/cdn/{QKUUA4H6.js → DC245MVI.js} +2 -2
- package/dist/cdn/{NHSIC2TU.js → DDGLCJYC.js} +2 -2
- package/dist/cdn/DPSEGNJG.js +4 -0
- package/dist/cdn/{HPDODHOM.js → DQ7SBWPB.js} +2 -2
- package/dist/cdn/{6HOOIBSM.js → DS4E4Q2G.js} +2 -2
- package/dist/cdn/{6JWFVPVK.js → DUFPMHN6.js} +1 -1
- package/dist/cdn/{VDHSMWWT.js → EDV3MOKX.js} +2 -2
- package/dist/cdn/{4I4SOIJX.js → EFHJ22PU.js} +2 -2
- package/dist/cdn/{TNRYOKWX.js → EL63BDEN.js} +2 -2
- package/dist/cdn/{ILDATC4K.js → ERRILYTQ.js} +2 -2
- package/dist/cdn/{O7AA3NCK.js → ES3WLIA6.js} +2 -2
- package/dist/cdn/{AUWK5P4X.js → EUMWR4FW.js} +2 -2
- package/dist/cdn/{MCD4LRQU.js → FBTZQQO2.js} +2 -2
- package/dist/cdn/{X6AQDCGB.js → FJFF5NBC.js} +1 -1
- package/dist/cdn/{X26FOZK5.js → FP4VD5M5.js} +2 -2
- package/dist/cdn/FRG4H7DY.js +4 -0
- package/dist/cdn/{WD67B27C.js → FVKXONAJ.js} +2 -2
- package/dist/cdn/G2U7BOXW.js +4 -0
- package/dist/cdn/{QAV74JBH.js → G5KZWTTJ.js} +2 -2
- package/dist/cdn/{CADUQZJC.js → G6SI62O6.js} +2 -2
- package/dist/cdn/G7AJFCHY.js +4 -0
- package/dist/cdn/{Q6LQWMQV.js → G7NAHC4H.js} +2 -2
- package/dist/cdn/{4F5K6KX2.js → GEXEMHKT.js} +1 -1
- package/dist/cdn/GLVB2Y4Z.js +4 -0
- package/dist/cdn/{W4WKFYKW.js → GP6BLLZ6.js} +2 -2
- package/dist/cdn/{GMK22GMO.js → GQLETBEV.js} +2 -2
- package/dist/cdn/{6LUTMPHK.js → H2MGRSEZ.js} +2 -2
- package/dist/cdn/{SR7RL5W2.js → H3UO7KXQ.js} +2 -2
- package/dist/cdn/{RXVCTR7F.js → HDJSFPBO.js} +2 -2
- package/dist/cdn/{6ENKFPJA.js → HJCUPHBY.js} +2 -2
- package/dist/cdn/{MIE5LCQD.js → HXENFBLS.js} +2 -2
- package/dist/cdn/HYYPVCJY.js +4 -0
- package/dist/cdn/{DGCYLWHI.js → I7I5UN3B.js} +2 -2
- package/dist/cdn/{YONVCJTW.js → IA3R7DWY.js} +2 -2
- package/dist/cdn/{TNWTCAXN.js → IDKXEI5N.js} +2 -2
- package/dist/cdn/IGZXWEGN.js +4 -0
- package/dist/cdn/{74HH54PS.js → ITJUM6CQ.js} +2 -2
- package/dist/cdn/{XWMHH6NE.js → IWBZ2LG6.js} +2 -2
- package/dist/cdn/{ZHLG4CJW.js → IYXEA5UZ.js} +2 -2
- package/dist/cdn/J4LS67JX.js +4 -0
- package/dist/cdn/{UW3UNZWZ.js → JIZSQTFO.js} +2 -2
- package/dist/cdn/{DZT3CXWL.js → JOEKX63Y.js} +2 -2
- package/dist/cdn/{BBZJ7R4U.js → JQIM4HXM.js} +2 -2
- package/dist/cdn/JU4HNSSP.js +4 -0
- package/dist/cdn/{H65DJBE6.js → JZAQOUOG.js} +2 -2
- package/dist/cdn/{2OJSVJGK.js → K24M4DIQ.js} +2 -2
- package/dist/cdn/KDALCUMD.js +4 -0
- package/dist/cdn/{X4W7T2SN.js → KGAKAOYH.js} +2 -2
- package/dist/cdn/{BGW3J4KI.js → KIQX6GVB.js} +2 -2
- package/dist/cdn/{NXH3NS55.js → KRQMKCZI.js} +2 -2
- package/dist/cdn/{3P6YNASY.js → KV7EM7PX.js} +1 -1
- package/dist/cdn/KVFRZUPI.js +4 -0
- package/dist/cdn/{ROKBJDEN.js → L3YC2CMK.js} +2 -2
- package/dist/cdn/{R4S3UKAA.js → L52BOAFI.js} +2 -2
- package/dist/cdn/LK5F7IJH.js +4 -0
- package/dist/cdn/{JUTCF2ZP.js → LMRA733F.js} +2 -2
- package/dist/cdn/{EW527LB7.js → LR6HD2P3.js} +2 -2
- package/dist/cdn/{K4QU63XX.js → LYEHHYEU.js} +2 -2
- package/dist/cdn/{I2HMTDCL.js → LZQ6574F.js} +2 -2
- package/dist/cdn/MARTZ5CU.js +4 -0
- package/dist/cdn/{75ZPOGMM.js → MBPX3ABN.js} +2 -2
- package/dist/cdn/{CULWXJ5Q.js → MCNBXXW4.js} +2 -2
- package/dist/cdn/MQYDTINF.js +4 -0
- package/dist/cdn/{7TIUTROT.js → MRBTE465.js} +2 -2
- package/dist/cdn/{XND5QXSE.js → N55DMRDM.js} +2 -2
- package/dist/cdn/{4YA7G5AI.js → N5JQAFBS.js} +2 -2
- package/dist/cdn/{UO3VGBJ4.js → N6Q2R2TE.js} +2 -2
- package/dist/cdn/{LG35BC2W.js → N7DQPBWE.js} +2 -2
- package/dist/cdn/NCEYDCHU.js +4 -0
- package/dist/cdn/NG7OWFJ6.js +4 -0
- package/dist/cdn/{Z7IAKTYB.js → OAWCJUZT.js} +2 -2
- package/dist/cdn/{CTOQ4WQY.js → OFBW4P4T.js} +2 -2
- package/dist/cdn/{YIOKCBNZ.js → OJI4CLWE.js} +2 -2
- package/dist/cdn/OOO6DIKM.js +4 -0
- package/dist/cdn/{FBH7D26D.js → P3FFH4DH.js} +2 -2
- package/dist/cdn/{3UYFGM5Z.js → P4I2IJI7.js} +2 -2
- package/dist/cdn/P6HBTDNT.js +4 -0
- package/dist/cdn/{AQPHTU22.js → PPDFDZHH.js} +2 -2
- package/dist/cdn/{3TSO4SYC.js → Q2C2P4EN.js} +2 -2
- package/dist/cdn/{6ZQLPBRN.js → Q4TY76YP.js} +2 -2
- package/dist/cdn/{6PZKOOJB.js → Q4YQVWNG.js} +2 -2
- package/dist/cdn/{6ZO45V3G.js → Q7LOJ3JF.js} +2 -2
- package/dist/cdn/{TRNK5O3A.js → QROY3C7T.js} +2 -2
- package/dist/cdn/{HQBEYF4Y.js → QSWGXAUW.js} +2 -2
- package/dist/cdn/{HTZL6QKW.js → QVNMLFWY.js} +2 -2
- package/dist/cdn/RES37HIF.js +42 -0
- package/dist/cdn/{FCUKMN2L.js → RLR3ZNM2.js} +2 -2
- package/dist/cdn/{ZE7KL2PU.js → RQ3GKOJ7.js} +2 -2
- package/dist/cdn/{KPPEXGOH.js → RXKDSHL7.js} +2 -2
- package/dist/cdn/{BCQHMKKI.js → S4VHP2ZR.js} +2 -2
- package/dist/cdn/SAWZHKVM.js +4 -0
- package/dist/cdn/{O4B5HRLU.js → SCBRD7D5.js} +2 -2
- package/dist/cdn/{XBXCJBPG.js → SEYRQNRV.js} +2 -2
- package/dist/cdn/{DN6WQI7X.js → SSIMBGDR.js} +2 -2
- package/dist/cdn/{ERF4RCDM.js → TBNIGI5Y.js} +2 -2
- package/dist/cdn/{7NJSYCNP.js → TBNKPKMC.js} +2 -2
- package/dist/cdn/{TUQ7UZW6.js → TIZV2MNP.js} +2 -2
- package/dist/cdn/{45DIBQTO.js → TWCVQILN.js} +2 -2
- package/dist/cdn/{QV4RTCLH.js → TX6OXVK6.js} +2 -2
- package/dist/cdn/{AHHI5MW2.js → UD7DXOYR.js} +2 -2
- package/dist/cdn/{RJ54H6RK.js → UIMNI23U.js} +2 -2
- package/dist/cdn/{ED7XZ2VG.js → UNNMKPG6.js} +2 -2
- package/dist/cdn/{NDIUY54J.js → VBYPJL3M.js} +2 -2
- package/dist/cdn/VLG63OOO.js +4 -0
- package/dist/cdn/{EES3RPO4.js → VZ7MRAHZ.js} +2 -2
- package/dist/cdn/{27E5XNFA.js → WB24ZY6A.js} +2 -2
- package/dist/cdn/WFMTTAJ6.js +4 -0
- package/dist/cdn/{FMIPUAUI.js → WISYDBQW.js} +2 -2
- package/dist/cdn/WN5SWFMA.js +4 -0
- package/dist/cdn/{2RCBQY46.js → WNOEDRP4.js} +2 -2
- package/dist/cdn/WSXTRM7N.js +4 -0
- package/dist/cdn/{IMX3YHC7.js → WXJ5YZUW.js} +2 -2
- package/dist/cdn/{F4RIOGH6.js → WY65YRDM.js} +2 -2
- package/dist/cdn/{BRVDA53F.js → XD5BIPXT.js} +2 -2
- package/dist/cdn/{3674PEAT.js → XMAUG3VG.js} +2 -2
- package/dist/cdn/{G3X4SSG4.js → XOH4RGS6.js} +2 -2
- package/dist/cdn/XYRDMRJA.js +4 -0
- package/dist/cdn/{WD2TBCGQ.js → XYTVQU7V.js} +2 -2
- package/dist/cdn/{EQ466QHF.js → XZN52GO4.js} +2 -2
- package/dist/cdn/{CTROZ3D7.js → Y34U7R5P.js} +2 -2
- package/dist/cdn/Y3OZTMJT.js +4 -0
- package/dist/cdn/{XRY77N6P.js → Y755N4VS.js} +2 -2
- package/dist/cdn/YE2LGUYA.js +4 -0
- package/dist/cdn/YFN2MEJP.js +4 -0
- package/dist/cdn/YG2A5ZJ5.js +4 -0
- package/dist/cdn/{5JOTWTAQ.js → YGP67EKU.js} +2 -2
- package/dist/cdn/{URQICVH7.js → YM5Z2FFK.js} +1 -1
- package/dist/cdn/YMZW2ZUF.js +4 -0
- package/dist/cdn/{VF7ZNAUT.js → YNJBI7WH.js} +2 -2
- package/dist/cdn/{A5PX3HYM.js → YO6PCY3Y.js} +2 -2
- package/dist/cdn/{FEKJ3ABC.js → YPSJQKN4.js} +2 -2
- package/dist/cdn/{R7AXZH3T.js → YYSVUXJZ.js} +2 -2
- package/dist/cdn/Z43T6AQJ.js +4 -0
- package/dist/cdn/{OHEHWEF4.js → Z43TGHKL.js} +2 -2
- package/dist/cdn/{65SYWC3T.js → ZILUOBRR.js} +2 -2
- package/dist/cdn/ZKWH7XFG.js +4 -0
- package/dist/cdn/{EEC7R3DN.js → ZNZCLCZD.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/model.js +2 -2
- package/dist/cdn/spec.js +2 -2
- package/dist/chart-rendering/common/data/utils/query-parser/index.d.ts +1 -3
- package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -0
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +15 -15
- package/dist/chunks/bar-chart-model.js +2 -2
- package/dist/chunks/bar-chart-series.js +2 -2
- package/dist/chunks/baseline-stacking.js +2 -2
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +240 -240
- package/dist/chunks/box-plot-model.js +17 -17
- package/dist/chunks/chart-object-literals.js +33 -56
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +458 -476
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +3 -3
- package/dist/chunks/histogram-data.js +68 -68
- package/dist/chunks/histogram-model.js +10 -10
- package/dist/chunks/index.js +153 -142
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1096 -1159
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/line-chart-model.js +4 -4
- package/dist/chunks/model-with-baseline-stacking.js +2 -2
- package/dist/chunks/model-with-data-labels.js +3 -3
- package/dist/chunks/{model-with-y-guides.js → model-with-multi-axes.js} +780 -630
- package/dist/chunks/model-with-rotation.js +3 -3
- package/dist/chunks/pie-chart-data.js +11 -11
- package/dist/chunks/pie-chart-model.js +11 -11
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +3 -3
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +71 -71
- package/dist/chunks/serial-chart-model.js +84 -82
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +6 -6
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +3 -3
- package/dist/components/arcgis-chart/customElement.js +4039 -4026
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axes/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-axis/customElement.js +22 -22
- package/dist/components/arcgis-charts-config-axis/utils/axis-model-wrapper.d.ts +6 -6
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +36 -36
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +13 -13
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +13 -13
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-color-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +21 -21
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-format/customElement.js +85 -64
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-guide/customElement.js +25 -25
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +7 -7
- 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 +7 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-number-format/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +3 -3
- package/dist/docs/docs.json +5 -5
- package/dist/docs/web-types.json +2 -2
- package/dist/index.js +1 -1
- package/dist/json-schema/index.d.ts +84 -96
- package/dist/loader.js +1 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +2 -2
- package/dist/model/histogram-model/histogram-model.d.ts +2 -2
- package/dist/model/mixins/index.d.ts +1 -1
- package/dist/model/mixins/model-with-basic-x-axis.d.ts +2 -2
- package/dist/model/mixins/model-with-multi-axes.d.ts +342 -0
- package/dist/model/mixins/model-with-temporal-binning.d.ts +5 -5
- package/dist/model/mixins/utils/axes.d.ts +55 -43
- package/dist/model/mixins/utils/temporal-binning.d.ts +3 -14
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +2 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +3 -3
- package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +1 -1
- package/dist/model/shared/axes.d.ts +120 -51
- package/dist/model/shared/type-guards.d.ts +3 -3
- package/dist/model.js +13 -13
- package/dist/spec/chart-object-literals.d.ts +0 -35
- package/dist/spec/web-chart.d.ts +55 -69
- package/dist/spec.js +32 -35
- package/dist/utils/chart-config/converter/index.d.ts +16 -3
- package/dist/utils/chart-config/converter/interfaces.d.ts +42 -1
- package/dist/utils/components/config-update.d.ts +1 -1
- package/dist/utils/data/time-binning/interfaces.d.ts +2 -2
- package/dist/utils/layer/query-features/index.d.ts +2 -2
- package/dist/utils/layer/query-parser/index.d.ts +2 -2
- package/dist/utils/layer/utils/index.d.ts +1 -1
- package/dist/utils/type-guards/series-types.d.ts +2 -2
- package/package.json +3 -3
- package/dist/cdn/25WLAM57.js +0 -4
- package/dist/cdn/2JH4BPVO.js +0 -4
- package/dist/cdn/3KSU43OR.js +0 -4
- package/dist/cdn/3SE4X4TZ.js +0 -4
- package/dist/cdn/5WS5BTVR.js +0 -4
- package/dist/cdn/6KQOZPWY.js +0 -4
- package/dist/cdn/ASNR55S5.js +0 -4
- package/dist/cdn/B75MWHKZ.js +0 -4
- package/dist/cdn/BBQ25KZV.js +0 -4
- package/dist/cdn/BJOHLR7P.js +0 -4
- package/dist/cdn/BTEF7YAO.js +0 -4
- package/dist/cdn/CCCV6H6F.js +0 -4
- package/dist/cdn/D3F3H53M.js +0 -4
- package/dist/cdn/DDXUVQCE.js +0 -4
- package/dist/cdn/E7G55LQV.js +0 -4
- package/dist/cdn/FE6KTUC4.js +0 -4
- package/dist/cdn/FF4ERDW3.js +0 -4
- package/dist/cdn/FNQJEYNY.js +0 -4
- package/dist/cdn/FR5I4JZB.js +0 -4
- package/dist/cdn/H67IACET.js +0 -4
- package/dist/cdn/HAB4NLNI.js +0 -4
- package/dist/cdn/HHUETOEY.js +0 -4
- package/dist/cdn/ISHCMJUO.js +0 -4
- package/dist/cdn/K5HJIM7K.js +0 -4
- package/dist/cdn/KDPENY5A.js +0 -4
- package/dist/cdn/LCHKEYLO.js +0 -4
- package/dist/cdn/M5ZQ3OD4.js +0 -4
- package/dist/cdn/MFHXXXBA.js +0 -4
- package/dist/cdn/MXRMXWDA.js +0 -4
- package/dist/cdn/MYKAGNE3.js +0 -4
- package/dist/cdn/NKI3Z35T.js +0 -4
- package/dist/cdn/PBKUAFPA.js +0 -4
- package/dist/cdn/PUQDQ33R.js +0 -4
- package/dist/cdn/PXPTMIIC.js +0 -4
- package/dist/cdn/SBW3SEJW.js +0 -4
- package/dist/cdn/SWN7M5JD.js +0 -6
- package/dist/cdn/TDF5UKSN.js +0 -4
- package/dist/cdn/TU4RTA33.js +0 -4
- package/dist/cdn/XSY6P76J.js +0 -4
- package/dist/cdn/Z2G47LLT.js +0 -4
- package/dist/cdn/Z34US2MS.js +0 -4
- package/dist/cdn/Z3QSPLI3.js +0 -44
- package/dist/model/mixins/model-with-xy-axes.d.ts +0 -331
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChartConfig } from '../../utils';
|
|
2
|
-
import { CategoryFormatOptions, DateTimeFormatOptions, NumberFormatOptions, WebChart, WebChartAxis, WebChartStatisticType } from '../../spec';
|
|
2
|
+
import { CategoryFormatOptions, DateTimeFormatOptions, NumberFormatOptions, WebChart, WebChartAxis, WebChartAxisScrollBar, WebChartStatisticType } from '../../spec';
|
|
3
3
|
import { LayerInfo } from '../interfaces/common';
|
|
4
4
|
/**
|
|
5
5
|
* Updates the axis config with the provided title text. Provides a default title object if one does not exist.
|
|
@@ -23,66 +23,41 @@ export declare function getYAxisTitleLabel(props: {
|
|
|
23
23
|
*/
|
|
24
24
|
export declare const getAxes: (config: WebChart) => WebChartAxis[] | undefined;
|
|
25
25
|
export declare const getAxis: (config: WebChart, axisIndex: number) => Promise<WebChartAxis>;
|
|
26
|
-
export declare const setAxis: (
|
|
26
|
+
export declare const setAxis: (props: {
|
|
27
|
+
config: WebChart;
|
|
28
|
+
axis: WebChartAxis;
|
|
29
|
+
axisIndex: number;
|
|
30
|
+
}) => void;
|
|
27
31
|
/**
|
|
28
32
|
* Get the maximum or minimum bound of the axis
|
|
29
|
-
* @param config - the config object
|
|
30
|
-
* @param axisIndex - the index of the axis
|
|
31
|
-
* @param isMax - whether it is the max bound or not
|
|
33
|
+
* @param {WebChart} props.config - the config object
|
|
34
|
+
* @param {number} props.axisIndex - the index of the axis
|
|
35
|
+
* @param {boolean} props.isMax - whether it is the max bound or not
|
|
32
36
|
*/
|
|
33
|
-
export declare const getAxisBound: (
|
|
37
|
+
export declare const getAxisBound: (props: {
|
|
38
|
+
config: WebChart;
|
|
39
|
+
axisIndex: number;
|
|
40
|
+
isMax: boolean;
|
|
41
|
+
}) => number;
|
|
34
42
|
/**
|
|
35
43
|
* Set the axis bound
|
|
36
|
-
* @param config - the config object
|
|
37
|
-
* @param value - the value to set
|
|
38
|
-
* @param axisIndex - the index of the axis
|
|
39
|
-
* @param isMax - whether it is the max bound
|
|
40
|
-
*/
|
|
41
|
-
export declare const setAxisBound: (
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Set the maximum Y bound
|
|
49
|
-
* @param config - the config object
|
|
50
|
-
* @param newMaxYBound - the value to set
|
|
51
|
-
*/
|
|
52
|
-
export declare const setMaxYBound: (config: ChartConfig, newMaxYBound: number | null) => Promise<void>;
|
|
53
|
-
/**
|
|
54
|
-
* Get the minimum bound for the y-axis
|
|
55
|
-
* @param config - the config object
|
|
56
|
-
*/
|
|
57
|
-
export declare const getMinYBound: (config: ChartConfig) => number;
|
|
58
|
-
/**
|
|
59
|
-
* Set the minimum Y bound
|
|
60
|
-
* @param config - the config object
|
|
61
|
-
* @param newMinYBound - the value to set
|
|
62
|
-
*/
|
|
63
|
-
export declare const setMinYBound: (config: ChartConfig, newMinYBound: number | null) => Promise<void>;
|
|
64
|
-
/**
|
|
65
|
-
* Get the maximum bound for the x-axis
|
|
66
|
-
* @param config - the config object
|
|
67
|
-
*/
|
|
68
|
-
export declare const getMaxXBound: (config: ChartConfig) => number;
|
|
69
|
-
/**
|
|
70
|
-
* Set the maximum X bound
|
|
71
|
-
* @param config - the config object
|
|
72
|
-
* @param newMaxXBound - the value to set
|
|
73
|
-
*/
|
|
74
|
-
export declare const setMaxXBound: (config: ChartConfig, newMaxXBound: number | null) => Promise<void>;
|
|
75
|
-
/**
|
|
76
|
-
* Get the minimum bound for the x-axis
|
|
77
|
-
* @param config - the config object
|
|
78
|
-
*/
|
|
79
|
-
export declare const getMinXBound: (config: ChartConfig) => number;
|
|
44
|
+
* @param {WebChart} props.config - the config object
|
|
45
|
+
* @param {number | null} props.value - the value to set
|
|
46
|
+
* @param {number} props.axisIndex - the index of the axis
|
|
47
|
+
* @param {boolean} props.isMax - whether it is the max bound
|
|
48
|
+
*/
|
|
49
|
+
export declare const setAxisBound: (props: {
|
|
50
|
+
config: WebChart;
|
|
51
|
+
value: number | null;
|
|
52
|
+
axisIndex: number;
|
|
53
|
+
isMax: boolean;
|
|
54
|
+
}) => void;
|
|
80
55
|
/**
|
|
81
56
|
* Set the minimum X bound
|
|
82
57
|
* @param config - the config object
|
|
83
58
|
* @param newMinXBound - the value to set
|
|
84
59
|
*/
|
|
85
|
-
export declare const setMinXBound: (config: ChartConfig, newMinXBound: number | null) =>
|
|
60
|
+
export declare const setMinXBound: (config: ChartConfig, newMinXBound: number | null) => void;
|
|
86
61
|
/**
|
|
87
62
|
* Get the valueFormat of the x-axis
|
|
88
63
|
* @param config
|
|
@@ -103,3 +78,97 @@ export declare const setYAxisValueFormat: (config: ChartConfig, valueFormat?: Nu
|
|
|
103
78
|
* @param integerOnlyValues - the value to set
|
|
104
79
|
*/
|
|
105
80
|
export declare const setIntegerOnlyValuesInAxis: (config: WebChart, axisIndex: number, integerOnlyValues: boolean) => void;
|
|
81
|
+
/**
|
|
82
|
+
* Check if the chart supports dual axes
|
|
83
|
+
* @param config - the chart configuration
|
|
84
|
+
* @returns boolean - true if the config has dual axes, false otherwise
|
|
85
|
+
*/
|
|
86
|
+
export declare const isDualAxisSupported: (config: WebChart) => boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Validates the axis index based on the chart configuration and whether it supports dual axes.
|
|
89
|
+
*
|
|
90
|
+
* @param {number} props.axisIndex - axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
91
|
+
* @param {WebChart} props.config - config The chart config.
|
|
92
|
+
* @param {boolean} [props.isMultiAxis] - isMultiAxis Optional flag indicating if the chart supports multiple axes (has a x-axis and y-axis).
|
|
93
|
+
* @returns {boolean} - Returns true if the axis index is valid, false otherwise.
|
|
94
|
+
*/
|
|
95
|
+
export declare const validateAxisIndex: (props: {
|
|
96
|
+
axisIndex: number;
|
|
97
|
+
config: WebChart;
|
|
98
|
+
isMultiAxis?: boolean;
|
|
99
|
+
}) => boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Run a util function on valid axis, ensuring that only valid changes are applied on the valid axes.
|
|
102
|
+
* If the index is invalid, it returns undefined.
|
|
103
|
+
*
|
|
104
|
+
* @param {number} props.axisIndex - The index of the axis to validate (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
105
|
+
* @param {function} props.func - The function to run with the valid axis index.
|
|
106
|
+
* @param {WebChart} props.config - The chart configuration object.
|
|
107
|
+
*/
|
|
108
|
+
export declare const runWithDualAxisGuard: <T>(props: {
|
|
109
|
+
axisIndex: number;
|
|
110
|
+
func: (validIndex: number) => T;
|
|
111
|
+
config: WebChart;
|
|
112
|
+
}) => T | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* Get the value format of the axis based on the axis index
|
|
115
|
+
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
116
|
+
* @returns {CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions | undefined} The value format options for the specified axis index
|
|
117
|
+
*/
|
|
118
|
+
export declare const getAxisValueFormat: (axisIndex: number, config: WebChart) => CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* Sets the value format for the specified axis.
|
|
121
|
+
* @param {WebChart} props.config - The chart configuration object
|
|
122
|
+
* @param {CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions} [props.valueFormat] - The value format to set
|
|
123
|
+
* @param {number} [props.axisIndex=0] - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis)
|
|
124
|
+
*/
|
|
125
|
+
export declare const setAxisValueFormat: (props: {
|
|
126
|
+
config: WebChart;
|
|
127
|
+
valueFormat?: CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions;
|
|
128
|
+
axisIndex?: number;
|
|
129
|
+
}) => Promise<void>;
|
|
130
|
+
/**
|
|
131
|
+
* Gets whether logarithmic scale is enabled for the specified axis.
|
|
132
|
+
* @param {WebChart} config The chart configuration object.
|
|
133
|
+
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
134
|
+
*
|
|
135
|
+
* `true`: Logarithmic scale is enabled for the specified axis.
|
|
136
|
+
*
|
|
137
|
+
* `false`: Logarithmic scale is disabled for the specified axis.
|
|
138
|
+
*
|
|
139
|
+
* @returns {boolean}
|
|
140
|
+
*/
|
|
141
|
+
export declare const getAxisLogarithmic: (config: WebChart, axisIndex: number) => boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Sets whether logarithmic scale is enabled for the specified axis.
|
|
144
|
+
*
|
|
145
|
+
* `true`: Enable logarithmic scale for the specified axis.
|
|
146
|
+
*
|
|
147
|
+
* `false`: Disable logarithmic scale for the specified axis.
|
|
148
|
+
*
|
|
149
|
+
* @param {WebChart} props.config The chart configuration object.
|
|
150
|
+
* @param {boolean} props.isLogarithmic Whether to enable logarithmic scale for the specified axis.
|
|
151
|
+
* @param {number} props.axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
152
|
+
*/
|
|
153
|
+
export declare const setAxisLogarithmic: (props: {
|
|
154
|
+
config: WebChart;
|
|
155
|
+
isLogarithmic: boolean;
|
|
156
|
+
axisIndex: number;
|
|
157
|
+
}) => void;
|
|
158
|
+
/**
|
|
159
|
+
* Gets the scrollbar configuration for the specified axis.
|
|
160
|
+
* @param {WebChart} config The chart configuration object.
|
|
161
|
+
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
162
|
+
* @returns {WebChartAxisScrollBar | undefined} The scrollbar configuration for the specified axis.
|
|
163
|
+
*/
|
|
164
|
+
export declare const getAxisScrollbar: (config: WebChart, axisIndex: number) => WebChartAxisScrollBar | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* Sets the scrollbar configuration for the specified axis.
|
|
167
|
+
* @param {WebChartAxisScrollBar} scrollbar The scrollbar configuration to set.
|
|
168
|
+
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
169
|
+
*/
|
|
170
|
+
export declare const setAxisScrollbar: (props: {
|
|
171
|
+
config: WebChart;
|
|
172
|
+
scrollbar: WebChartAxisScrollBar;
|
|
173
|
+
axisIndex: number;
|
|
174
|
+
}) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WebChart } from '../../spec';
|
|
2
2
|
import { BarChartModel, BoxPlotModel, ChartModel, HistogramModel, LineChartModel, ModelOfType, ModelTypes, PieChartModel, ScatterplotModel, SerialChartModel } from '..';
|
|
3
|
-
import { ModelWithBasicXAxis, ModelWithDataLabels, ModelWithGuides, ModelWithLegend, ModelWithRotation, ModelWithTemporalBinning, ModelWithXGuides,
|
|
3
|
+
import { ModelWithBasicXAxis, ModelWithDataLabels, ModelWithGuides, ModelWithLegend, ModelWithRotation, ModelWithTemporalBinning, ModelWithXGuides, ModelWithYGuides, ModelWithMultiAxes } from '../mixins/index';
|
|
4
4
|
/**
|
|
5
5
|
* Determines if the provided model or config is a `ChartModel`.
|
|
6
6
|
* @param model The model to check.
|
|
@@ -49,10 +49,10 @@ export declare function isHistogramModel(model: ChartModel | undefined): model i
|
|
|
49
49
|
*/
|
|
50
50
|
export declare function isModelWithBasicXAxis(model: ChartModel | undefined): model is ModelWithBasicXAxis;
|
|
51
51
|
/**
|
|
52
|
-
* Type guard for
|
|
52
|
+
* Type guard for ModelWithMultiAxes
|
|
53
53
|
* @param model
|
|
54
54
|
*/
|
|
55
|
-
export declare function
|
|
55
|
+
export declare function isModelWithMultiAxes(model: ChartModel | undefined): model is ModelWithMultiAxes;
|
|
56
56
|
/**
|
|
57
57
|
* Type guard for ModelWithRotation
|
|
58
58
|
* @param model
|
package/dist/model.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { M as i } from "./chunks/common.js";
|
|
2
|
-
import { B as m, C as y, F as g, G as C, L as w, P as f, a as
|
|
2
|
+
import { B as m, C as y, F as g, G as C, L as w, P as f, a as u, b, S as L, T } from "./chunks/common.js";
|
|
3
3
|
import { o as r, p as s, q as n } from "./chunks/type-guards.js";
|
|
4
|
-
import { n as B, s as P, m as k, d as x, f as S, u as W, c as v, j as G, k as K, e as D,
|
|
4
|
+
import { n as B, s as P, m as k, d as x, f as S, u as W, c as v, j as G, k as K, e as D, b as F, g as H, t as O, i as R, a as A, h as E, l as X, r as Y } from "./chunks/type-guards.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.113 */
|
|
8
8
|
async function c(a) {
|
|
9
9
|
const o = "config" in a ? r(a.config) : a.chartType;
|
|
10
10
|
let t;
|
|
@@ -81,8 +81,8 @@ export {
|
|
|
81
81
|
w as LineFormatKeys,
|
|
82
82
|
i as ModelTypes,
|
|
83
83
|
f as PieChartDataModes,
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
u as PieChartDataSortingKinds,
|
|
85
|
+
b as PieChartSlicesDisplay,
|
|
86
86
|
L as SerialChartDataSortingKinds,
|
|
87
87
|
T as TextFormatKeys,
|
|
88
88
|
c as createModel,
|
|
@@ -96,12 +96,12 @@ export {
|
|
|
96
96
|
G as isModelWithDataLabels,
|
|
97
97
|
K as isModelWithGuides,
|
|
98
98
|
D as isModelWithLegend,
|
|
99
|
-
F as
|
|
100
|
-
H as
|
|
101
|
-
O as
|
|
102
|
-
R as
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
99
|
+
F as isModelWithMultiAxes,
|
|
100
|
+
H as isModelWithRotation,
|
|
101
|
+
O as isModelWithTemporalBinning,
|
|
102
|
+
R as isModelWithXGuides,
|
|
103
|
+
A as isModelWithYGuides,
|
|
104
|
+
E as isPieChartModel,
|
|
105
|
+
X as isScatterplotModel,
|
|
106
|
+
Y as isSerialChartModel
|
|
107
107
|
};
|
|
@@ -91,14 +91,6 @@ export declare const WebChartLineSmoothedKinds: {
|
|
|
91
91
|
readonly MonotoneY: "monotoneY";
|
|
92
92
|
};
|
|
93
93
|
export type WebChartLineSmoothedKinds = (typeof WebChartLineSmoothedKinds)[keyof typeof WebChartLineSmoothedKinds];
|
|
94
|
-
/**
|
|
95
|
-
* Represents the different types of temporal binning that can be applied to a chart.
|
|
96
|
-
*/
|
|
97
|
-
export declare const WebChartTemporalBinningTypes: {
|
|
98
|
-
readonly FixedDateBased: "fixedDateBased";
|
|
99
|
-
readonly CalendarBased: "calendarBased";
|
|
100
|
-
};
|
|
101
|
-
export type WebChartTemporalBinningTypes = (typeof WebChartTemporalBinningTypes)[keyof typeof WebChartTemporalBinningTypes];
|
|
102
94
|
/**
|
|
103
95
|
* The temporal binning units
|
|
104
96
|
*/
|
|
@@ -124,33 +116,6 @@ export declare const WebChartCalendarDatePartsUnits: {
|
|
|
124
116
|
readonly MonthOfYear: "monthOfYear";
|
|
125
117
|
};
|
|
126
118
|
export type WebChartCalendarDatePartsUnits = (typeof WebChartCalendarDatePartsUnits)[keyof typeof WebChartCalendarDatePartsUnits];
|
|
127
|
-
/**
|
|
128
|
-
* The temporal binning units for fixed-date based binning
|
|
129
|
-
*/
|
|
130
|
-
export declare const WebChartFixedDateBinningUnits: {
|
|
131
|
-
readonly Second: "seconds";
|
|
132
|
-
readonly Minute: "minutes";
|
|
133
|
-
readonly Hour: "hours";
|
|
134
|
-
readonly Day: "days";
|
|
135
|
-
readonly Week: "weeks";
|
|
136
|
-
readonly Month: "months";
|
|
137
|
-
readonly Year: "years";
|
|
138
|
-
};
|
|
139
|
-
export type WebChartFixedDateBinningUnits = (typeof WebChartFixedDateBinningUnits)[keyof typeof WebChartFixedDateBinningUnits];
|
|
140
|
-
/**
|
|
141
|
-
* The temporal binning units for calendar based binning
|
|
142
|
-
*/
|
|
143
|
-
export declare const WebChartCalendarBinningUnits: {
|
|
144
|
-
readonly Second: "seconds";
|
|
145
|
-
readonly Minute: "minutes";
|
|
146
|
-
readonly Hour: "hours";
|
|
147
|
-
readonly Day: "days";
|
|
148
|
-
readonly Week: "weeks";
|
|
149
|
-
readonly Month: "months";
|
|
150
|
-
readonly Quarter: "quarters";
|
|
151
|
-
readonly Year: "years";
|
|
152
|
-
};
|
|
153
|
-
export type WebChartCalendarBinningUnits = (typeof WebChartCalendarBinningUnits)[keyof typeof WebChartCalendarBinningUnits];
|
|
154
119
|
/**
|
|
155
120
|
* The temporal binning units for the calendar based binning offset
|
|
156
121
|
*/
|
package/dist/spec/web-chart.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
import { GaugeChartSubTypes, SizePolicyScaleTypes,
|
|
2
|
+
import { GaugeChartSubTypes, SizePolicyScaleTypes, WebChartCalendarDatePartsUnits, WebChartDataTransformations, WebChartDirectionalDataOrder, WebChartLabelBehavior, WebChartLegendPositions, WebChartNullPolicyTypes, WebChartOrderSeriesBy, WebChartPredefinedLabelsDataOrder, WebChartRadarChartAxisLabelsOrientation, WebChartStackedKinds, WebChartTemporalBinningUnits, WebChartTimeAggregationTypes, WebChartTypes } from './chart-object-literals';
|
|
3
3
|
import { TimeIntervalInfo } from './data-source';
|
|
4
4
|
import { RESTUnits } from './rest-js-object-literals';
|
|
5
5
|
import { Color, IDrawingInfo, IEnvelope, IExtent, IFeatureLayer, IPoint, IPolygon, IPolygonWithCurves, IPolyline, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol, IStatisticDefinition, ITextSymbol } from './rest-js-types';
|
|
6
6
|
/**
|
|
7
7
|
* Version of the current specification.
|
|
8
8
|
*/
|
|
9
|
-
export declare const WebChartCurrentVersion = "
|
|
9
|
+
export declare const WebChartCurrentVersion = "24.0.0";
|
|
10
10
|
/**
|
|
11
11
|
* Stores information regarding a numeric conversion
|
|
12
12
|
*/
|
|
@@ -687,11 +687,10 @@ export interface WebChartSeries {
|
|
|
687
687
|
*/
|
|
688
688
|
assignToSecondValueAxis?: boolean;
|
|
689
689
|
}
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
size?: number;
|
|
690
|
+
/**
|
|
691
|
+
* Describes the basic properties available for a temporal binning
|
|
692
|
+
*/
|
|
693
|
+
interface WebChartTemporalBinningBase {
|
|
695
694
|
/**
|
|
696
695
|
* Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart.
|
|
697
696
|
* Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval.
|
|
@@ -700,70 +699,71 @@ interface WebChartDateBinning {
|
|
|
700
699
|
*/
|
|
701
700
|
trimIncompleteTimeInterval?: boolean;
|
|
702
701
|
/**
|
|
703
|
-
* The
|
|
704
|
-
*
|
|
705
|
-
*/
|
|
706
|
-
timeAggregationType?: WebChartTimeAggregationTypes;
|
|
707
|
-
/**
|
|
708
|
-
* How summarized bins returning a null value are displayed. Supported options are:
|
|
709
|
-
* - `null`, `zero`, and `interpolate` for line series
|
|
710
|
-
* - `null` and `zero` for bar series
|
|
711
|
-
* @default "null"
|
|
712
|
-
*/
|
|
713
|
-
nullPolicy?: WebChartNullPolicyTypes;
|
|
714
|
-
}
|
|
715
|
-
/**
|
|
716
|
-
* Represents the properties related to the the fixed-date temporal binning. It currently covers the same scope as `WebChartDateBinning`.
|
|
717
|
-
*/
|
|
718
|
-
export interface WebChartFixedDateBinning extends WebChartDateBinning {
|
|
719
|
-
type: typeof WebChartTemporalBinningTypes.FixedDateBased;
|
|
720
|
-
/**
|
|
721
|
-
* The unit of time to use to bin the temporal data.
|
|
722
|
-
*/
|
|
723
|
-
unit?: WebChartFixedDateBinningUnits;
|
|
724
|
-
}
|
|
725
|
-
/**
|
|
726
|
-
* Represents the properties related to the calendar-based temporal binning. It supports the same properties as `WebChartDateBinning` and adds some.
|
|
727
|
-
*/
|
|
728
|
-
export interface WebChartCalendarBasedBinning extends WebChartDateBinning {
|
|
729
|
-
type: typeof WebChartTemporalBinningTypes.CalendarBased;
|
|
730
|
-
/**
|
|
731
|
-
* The unit of time to use to bin the temporal data.
|
|
732
|
-
*/
|
|
733
|
-
unit?: WebChartCalendarBinningUnits;
|
|
734
|
-
/**
|
|
735
|
-
* The binning start date
|
|
702
|
+
* The binning start date.
|
|
703
|
+
* Current limitation: this is applied only when the provided layer supports the `queryBins` operation.
|
|
736
704
|
*/
|
|
737
705
|
start?: number;
|
|
738
706
|
/**
|
|
739
707
|
* The binning end date
|
|
708
|
+
* Current limitation: this is applied only when the provided layer supports the `queryBins` operation.
|
|
740
709
|
*/
|
|
741
710
|
end?: number;
|
|
742
711
|
/**
|
|
743
712
|
* Offset to apply to the results
|
|
713
|
+
* Current limitation: this is applied only when the provided layer supports the `queryBins` operation.
|
|
744
714
|
*/
|
|
745
715
|
offset?: {
|
|
746
|
-
unit:
|
|
716
|
+
unit: WebChartTemporalBinningUnits;
|
|
747
717
|
size: number;
|
|
748
718
|
};
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* Describes the extra properties available for a temporal series and for the heat chart
|
|
722
|
+
*/
|
|
723
|
+
interface WebChartTemporalBinningExtras {
|
|
749
724
|
/**
|
|
750
725
|
* Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations
|
|
726
|
+
* Current limitation: this is applied only when the provided layer supports the `queryBins` operation.
|
|
751
727
|
*/
|
|
752
728
|
outTimeZone?: string;
|
|
729
|
+
/**
|
|
730
|
+
* The first day of the week. This property is used to determine the start of the week for date-based bins. The default value is 7, representing Sunday, if no value is specified.
|
|
731
|
+
* Current limitation: this is applied only when the provided layer supports the `queryBins` operation.
|
|
732
|
+
*/
|
|
733
|
+
firstDayOfWeek?: number;
|
|
734
|
+
/**
|
|
735
|
+
* How summarized bins returning a null value are displayed. Supported options are:
|
|
736
|
+
* - `null`, `zero`, and `interpolate` for line series
|
|
737
|
+
* - `null` and `zero` for bar series
|
|
738
|
+
* @default "null"
|
|
739
|
+
*/
|
|
740
|
+
nullPolicy?: WebChartNullPolicyTypes;
|
|
741
|
+
}
|
|
742
|
+
export interface WebChartCalendarDatePartsBinning extends WebChartTemporalBinningBase {
|
|
743
|
+
/**
|
|
744
|
+
* Represents the unit to use to bin the data.
|
|
745
|
+
*/
|
|
746
|
+
unit: WebChartCalendarDatePartsUnits;
|
|
753
747
|
}
|
|
754
748
|
/**
|
|
755
|
-
*
|
|
749
|
+
* Describes the properties available for a temporal binning for a bar or line
|
|
756
750
|
*/
|
|
757
|
-
export interface
|
|
758
|
-
type: typeof WebChartTypes.CalendarDateParts;
|
|
751
|
+
export interface WebChartTemporalBinning extends WebChartTemporalBinningBase, WebChartTemporalBinningExtras {
|
|
759
752
|
/**
|
|
760
|
-
* The unit to use to bin the data.
|
|
753
|
+
* The unit of time to use to bin the temporal data.
|
|
754
|
+
* Current limitation: the "quarters" unit is only supported if the provided layer supports the `queryBins` operation.
|
|
761
755
|
*/
|
|
762
|
-
unit
|
|
756
|
+
unit?: WebChartTemporalBinningUnits;
|
|
763
757
|
/**
|
|
764
|
-
*
|
|
758
|
+
* The span of time that will be binned or aggregated together. Works in coordination with `unit`.
|
|
765
759
|
*/
|
|
766
|
-
|
|
760
|
+
size?: number;
|
|
761
|
+
/**
|
|
762
|
+
* The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.
|
|
763
|
+
* When specific the binning will start at the first or last date of the dataset.
|
|
764
|
+
* @default "equalIntervalsFromStartTime"
|
|
765
|
+
*/
|
|
766
|
+
timeAggregationType?: WebChartTimeAggregationTypes;
|
|
767
767
|
}
|
|
768
768
|
/**
|
|
769
769
|
* Describes the properties related to a temporal series
|
|
@@ -776,12 +776,9 @@ export interface WebChartTemporalSeries {
|
|
|
776
776
|
*/
|
|
777
777
|
binTemporalData?: boolean;
|
|
778
778
|
/**
|
|
779
|
-
*
|
|
780
|
-
* The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.)
|
|
781
|
-
* The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins
|
|
782
|
-
* will go from the 18th of January to the 17th of February).
|
|
779
|
+
* Describes how to bin the temporal data.
|
|
783
780
|
*/
|
|
784
|
-
temporalBinning?:
|
|
781
|
+
temporalBinning?: WebChartTemporalBinning;
|
|
785
782
|
}
|
|
786
783
|
/**
|
|
787
784
|
* Bar Chart Interfaces
|
|
@@ -1272,24 +1269,13 @@ export interface WebChartHeatChartSeries extends WebChartSeries {
|
|
|
1272
1269
|
*/
|
|
1273
1270
|
y: string;
|
|
1274
1271
|
/**
|
|
1275
|
-
*
|
|
1276
|
-
|
|
1277
|
-
* The "calendarDateParts" type will create bins extracting date parts from date values (e.g. a bin for each day of the week, a bin for each month or the year, etc.)
|
|
1278
|
-
* The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.)
|
|
1279
|
-
* For example, if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February.
|
|
1272
|
+
* Describes how to bin the temporal data when the x-axis field is a date.
|
|
1280
1273
|
*/
|
|
1281
|
-
xTemporalBinning?:
|
|
1274
|
+
xTemporalBinning?: WebChartCalendarDatePartsBinning;
|
|
1282
1275
|
/**
|
|
1283
|
-
*
|
|
1284
|
-
* The "calendarDateParts" type will create bins extracting date parts from date values (e.g. a bin for each day of the week, a bin for each month or the year, etc.)
|
|
1285
|
-
* The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.)
|
|
1286
|
-
* For example, if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February.
|
|
1276
|
+
* Describes how to bin the temporal data when the y-axis field is a date.
|
|
1287
1277
|
*/
|
|
1288
|
-
yTemporalBinning?:
|
|
1289
|
-
/**
|
|
1290
|
-
* The first day of the week. This property is used to determine the start of the week for date-based bins. The default value is 7, representing Sunday, if no value is specified.
|
|
1291
|
-
*/
|
|
1292
|
-
firstDayOfWeek?: number;
|
|
1278
|
+
yTemporalBinning?: WebChartCalendarDatePartsBinning;
|
|
1293
1279
|
}
|
|
1294
1280
|
export type WebChartRadarChartSeries = WebChartLineChartSeries<"radarSeries">;
|
|
1295
1281
|
/**
|
|
@@ -1500,7 +1486,7 @@ export interface WebRadarChart extends WebChart {
|
|
|
1500
1486
|
/**
|
|
1501
1487
|
* Gives a JSON representation of the Heat Chart object.
|
|
1502
1488
|
*/
|
|
1503
|
-
export interface WebHeatChart extends WebChart {
|
|
1489
|
+
export interface WebHeatChart extends WebChart, WebChartTemporalBinningExtras {
|
|
1504
1490
|
/**
|
|
1505
1491
|
* The heat chart series
|
|
1506
1492
|
* @minItems 1
|
package/dist/spec.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { G as o, S as d, r as
|
|
2
|
-
import { a as
|
|
1
|
+
import { G as o, S, o as d, r as b, n as h, s as m, p as T, f as C, b as c, g as y, k as p, m as W, j as _, d as f, q as g, c as u, l as R, a as F, h as E, i as D, W as P, e as B } from "./chunks/chart-object-literals.js";
|
|
2
|
+
import { a as v, i as x, h as M, g as A, f as N, k as O, b as V, c as k, d as K, R as U, j, e as z } from "./chunks/rest-js-object-literals.js";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
5
|
-
v4.34.0-next.
|
|
6
|
-
const a = "
|
|
5
|
+
v4.34.0-next.113 */
|
|
6
|
+
const a = "24.0.0", e = "arcgis_charts_pie_from_fields_name", s = "arcgis_charts_pie_from_fields_value", t = "arcgis_charts_bar_line_from_fields_name", r = "arcgis_charts_bar_line_from_fields_value", i = {
|
|
7
7
|
Mean: "Mean",
|
|
8
8
|
Median: "Median",
|
|
9
9
|
StdDev: "Standard Deviation",
|
|
@@ -13,43 +13,40 @@ const a = "23.3.0", e = "arcgis_charts_pie_from_fields_name", s = "arcgis_charts
|
|
|
13
13
|
export {
|
|
14
14
|
o as GaugeChartSubTypes,
|
|
15
15
|
i as OverlayTerms,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
16
|
+
v as RESTFieldType,
|
|
17
|
+
x as RESTFontDecoration,
|
|
18
|
+
M as RESTFontStyle,
|
|
19
|
+
A as RESTFontWeight,
|
|
20
|
+
N as RESTHorizontalAlignment,
|
|
21
|
+
O as RESTRendererType,
|
|
22
|
+
V as RESTSimpleFillSymbolStyle,
|
|
23
|
+
k as RESTSimpleLineSymbolStyle,
|
|
24
|
+
K as RESTSimpleMarkerSymbolStyle,
|
|
25
|
+
U as RESTSymbolType,
|
|
26
|
+
j as RESTUnits,
|
|
27
|
+
z as RESTVerticalAlignment,
|
|
28
|
+
S as SizePolicyScaleTypes,
|
|
29
|
+
d as StatisticsDefaults,
|
|
30
30
|
b as WebChartAxisTypes,
|
|
31
31
|
h as WebChartBoxPlotMultipleSeriesKinds,
|
|
32
32
|
m as WebChartCalendarBinningOffsetUnits,
|
|
33
|
-
T as
|
|
34
|
-
C as
|
|
35
|
-
W as WebChartColoringPatterns,
|
|
33
|
+
T as WebChartCalendarDatePartsUnits,
|
|
34
|
+
C as WebChartColoringPatterns,
|
|
36
35
|
a as WebChartCurrentVersion,
|
|
37
36
|
c as WebChartDataTransformations,
|
|
38
|
-
p as WebChartFixedDateBinningUnits,
|
|
39
37
|
y as WebChartLabelBehavior,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
L as WebChartVersionStatus,
|
|
38
|
+
p as WebChartLegendPositions,
|
|
39
|
+
W as WebChartLineSmoothedKinds,
|
|
40
|
+
_ as WebChartNullPolicyTypes,
|
|
41
|
+
f as WebChartOrderDataByTypes,
|
|
42
|
+
g as WebChartRadarChartAxisLabelsOrientation,
|
|
43
|
+
u as WebChartSortOrderKinds,
|
|
44
|
+
R as WebChartStackedKinds,
|
|
45
|
+
F as WebChartStatisticType,
|
|
46
|
+
E as WebChartTemporalBinningUnits,
|
|
47
|
+
D as WebChartTimeAggregationTypes,
|
|
48
|
+
P as WebChartTypes,
|
|
49
|
+
B as WebChartVersionStatus,
|
|
53
50
|
t as defaultBarLineFromFieldsName,
|
|
54
51
|
r as defaultBarLineFromFieldsValue,
|
|
55
52
|
e as defaultPieFromFieldsName,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SupportedLayer, WebBoxPlot, WebChart, WebChartBoxPlotSeries, WebChartDirectionalDataOrder, WebChartLineChartSeries, WebGaugeChart, WebChartOrderDataByTypes } from '../../../spec';
|
|
2
1
|
import { FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
|
|
2
|
+
import { SupportedLayer, WebBoxPlot, WebChart, WebChartBoxPlotSeries, WebChartDirectionalDataOrder, WebChartLineChartSeries, WebGaugeChart, WebChartOrderDataByTypes } from '../../../spec';
|
|
3
3
|
import { FormerWebChartBoxPlotDataSortTypes, FormerWebChartDataValueTypes } from './interfaces';
|
|
4
4
|
/**
|
|
5
5
|
* Matches the config properties that have field names which mismatch the layer data source fields.
|
|
@@ -210,7 +210,6 @@ declare function applyDataOrderInstructionForFromFieldsCharts(configToUpdate: We
|
|
|
210
210
|
* "trimIncompleteTimeInterval": true,
|
|
211
211
|
* "nullPolicy": "null"
|
|
212
212
|
* }
|
|
213
|
-
* @param configToUpdate
|
|
214
213
|
* @param configToUpdate Config to update
|
|
215
214
|
* @returns the updated chart config
|
|
216
215
|
*/
|
|
@@ -222,6 +221,11 @@ declare function convertRESTStatisticTypeToWebChartStatisticType(configToUpdate:
|
|
|
222
221
|
* @returns
|
|
223
222
|
*/
|
|
224
223
|
declare function renameChartSubtitle(configToUpdate: WebChart): WebChart;
|
|
224
|
+
/**
|
|
225
|
+
* Converts the temporal binning properties from the old pattern to the new pattern introduced in version 24.0.0.
|
|
226
|
+
* @param configToUpdate The chart's config to update
|
|
227
|
+
*/
|
|
228
|
+
declare function convertTemporalBinningProps2(configToUpdate: WebChart): WebChart;
|
|
225
229
|
/** **********************************************************************************************************
|
|
226
230
|
* *
|
|
227
231
|
* Conversion functions to be called in `convertChartSpec()` *
|
|
@@ -360,9 +364,16 @@ declare function convertTo21x1x0(configToUpdate: WebChart): WebChart;
|
|
|
360
364
|
* Conversion for v23.3.0:
|
|
361
365
|
* - Rename the subTitle property to subtitle
|
|
362
366
|
* @param configToUpdate The chart's config to update
|
|
363
|
-
* @returns
|
|
367
|
+
* @returns The updated chart config
|
|
364
368
|
*/
|
|
365
369
|
declare function convertTo23x3x0(configToUpdate: WebChart): WebChart;
|
|
370
|
+
/**
|
|
371
|
+
* Conversion for v24.0.0:
|
|
372
|
+
* - Converts the temporal binning properties from the old pattern to the new pattern
|
|
373
|
+
* @param configToUpdate The chart's config to update
|
|
374
|
+
* @returns The updated chart config
|
|
375
|
+
*/
|
|
376
|
+
declare function convertTo24x0x0(configToUpdate: WebChart): WebChart;
|
|
366
377
|
/**
|
|
367
378
|
* Apply the needed function calls depending on the current chart version.
|
|
368
379
|
* Note: Additional switch cases and convertToxxx functions are to be added to this function accordingly.
|
|
@@ -445,6 +456,8 @@ export declare const chartConfigConverterPrivateFunctions: {
|
|
|
445
456
|
convertTo20x2x0: typeof convertTo20x2x0;
|
|
446
457
|
convertTo21x1x0: typeof convertTo21x1x0;
|
|
447
458
|
convertTo23x3x0: typeof convertTo23x3x0;
|
|
459
|
+
convertTo24x0x0: typeof convertTo24x0x0;
|
|
460
|
+
convertTemporalBinningProps2: typeof convertTemporalBinningProps2;
|
|
448
461
|
applyConversions: typeof applyConversions;
|
|
449
462
|
convertDataSourceToILayer: typeof convertDataSourceToILayer;
|
|
450
463
|
};
|