@arcgis/charts-components 5.2.0-next.31 → 5.2.0-next.32
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/{3QO6REDF.js → 25W6T5FX.js} +8 -8
- package/dist/cdn/{JBR6IJMK.js → 2HG3BPPY.js} +1 -1
- package/dist/cdn/2Y7PYCI7.js +2 -0
- package/dist/cdn/{HIW5WRHR.js → 46DNECVM.js} +1 -1
- package/dist/cdn/{HBS6O3P3.js → 4LKQOIJR.js} +1 -1
- package/dist/cdn/{X7Z4LEZH.js → 4N7Q4USI.js} +1 -1
- package/dist/cdn/{6ANVHVX4.js → 4T3YFJA6.js} +1 -1
- package/dist/cdn/{BI54CNMR.js → 4WISIBCY.js} +1 -1
- package/dist/cdn/{6CB5R4QQ.js → 4XYMN2CV.js} +1 -1
- package/dist/cdn/{AZR6HVRW.js → 575YVIX7.js} +1 -1
- package/dist/cdn/{7VQXBQMZ.js → 5Y5QG6LJ.js} +1 -1
- package/dist/cdn/{YQIFZJTZ.js → 6GQLATNT.js} +1 -1
- package/dist/cdn/{XRLVJJBT.js → 6LH7Y7PU.js} +1 -1
- package/dist/cdn/{6VK54DG5.js → 7HSE4SIZ.js} +1 -1
- package/dist/cdn/{C4TQOUPO.js → 7ISSUJ2D.js} +1 -1
- package/dist/cdn/7NHOA7QL.js +3 -0
- package/dist/cdn/{SSKHF7PO.js → AGY2UGFW.js} +1 -1
- package/dist/cdn/{IWMWJN7M.js → B7TOZQEW.js} +1 -1
- package/dist/cdn/{X7YEBHBF.js → BECNHOTD.js} +1 -1
- package/dist/cdn/{T5TFLMQL.js → BNNTNT7S.js} +1 -1
- package/dist/cdn/{REZ2QR42.js → BXCX7QFT.js} +1 -1
- package/dist/cdn/{BZFGE4LO.js → BXYUDSWF.js} +1 -1
- package/dist/cdn/{PEYVSFSE.js → CXMIIYBK.js} +36 -36
- package/dist/cdn/{4BEGCEGA.js → D7N4VK2S.js} +3 -3
- package/dist/cdn/{KFPJI52X.js → DTG42E2P.js} +1 -1
- package/dist/cdn/{K27GKXGP.js → DWIKPTKJ.js} +1 -1
- package/dist/cdn/{QV3NMKKZ.js → EAJBDT2X.js} +1 -1
- package/dist/cdn/{Q2GW5LB7.js → ESUNC3JW.js} +1 -1
- package/dist/cdn/{2SPGX6AF.js → EXJWV5I4.js} +1 -1
- package/dist/cdn/{YFHB2EFH.js → G5KG5GU4.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → G6EAXNDR.js} +1 -1
- package/dist/cdn/{YWKPGNHB.js → GRPZ65P4.js} +1 -1
- package/dist/cdn/{BKU72IQC.js → GXXY6NI7.js} +1 -1
- package/dist/cdn/{G5EGTXMY.js → HWYXGOUR.js} +1 -1
- package/dist/cdn/{AICTKGE3.js → IAVYR2KG.js} +1 -1
- package/dist/cdn/{4P7URPRQ.js → IDDJVOHS.js} +1 -1
- package/dist/cdn/IFYT2GHB.js +2 -0
- package/dist/cdn/{TSA7UMSZ.js → ILZCAXS5.js} +1 -1
- package/dist/cdn/{Y3CXVO2M.js → J2YNPNIL.js} +1 -1
- package/dist/cdn/JAN3QW7E.js +2 -0
- package/dist/cdn/{5UO6L27Q.js → JOJIT55L.js} +1 -1
- package/dist/cdn/{LFXRCL7K.js → JXPTGJSF.js} +1 -1
- package/dist/cdn/{3NKDMMC2.js → K2V7HVU3.js} +1 -1
- package/dist/cdn/{5XCU5SR2.js → K3FOMGX7.js} +1 -1
- package/dist/cdn/{WHVW3P3O.js → K6PPZIL5.js} +1 -1
- package/dist/cdn/{THTYR6IL.js → KHT4LCWN.js} +1 -1
- package/dist/cdn/{CLN32L2L.js → KU55QTV5.js} +1 -1
- package/dist/cdn/{CRCAJAFA.js → KZ2OB6RV.js} +1 -1
- package/dist/cdn/{3YN4EKSJ.js → L2OJXJD4.js} +1 -1
- package/dist/cdn/{3UTF2CB3.js → L5CT3KCS.js} +1 -1
- package/dist/cdn/{6GV2QPKV.js → LAPPRAQF.js} +1 -1
- package/dist/cdn/{MVUIKY5Y.js → LHLM6RMX.js} +1 -1
- package/dist/cdn/{KQLAAGKI.js → LKEHGBEV.js} +1 -1
- package/dist/cdn/{ADYDCO3M.js → LKLFDY3E.js} +1 -1
- package/dist/cdn/{PAIRUVLU.js → LLUS6VGO.js} +1 -1
- package/dist/cdn/{TCS4HOSG.js → LLYDWCNL.js} +1 -1
- package/dist/cdn/{DAF2U7TN.js → LQQJXKY7.js} +1 -1
- package/dist/cdn/{3TBK72EK.js → LV3T5QZF.js} +1 -1
- package/dist/cdn/{O5NKLK7V.js → MA2J6LRE.js} +1 -1
- package/dist/cdn/{BQXXD2HU.js → MTYZHHDS.js} +1 -1
- package/dist/cdn/{MBPFBE3E.js → N72PRHWL.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → NKUXUCUP.js} +1 -1
- package/dist/cdn/{6XIDALQU.js → NX4OLIXG.js} +1 -1
- package/dist/cdn/{M7QZTQSD.js → OCRAZDQR.js} +1 -1
- package/dist/cdn/OEBQA6SR.js +2 -0
- package/dist/cdn/{XRP6IFM4.js → OKPUFIIU.js} +1 -1
- package/dist/cdn/{DRFJC64L.js → P2KW76YO.js} +1 -1
- package/dist/cdn/{YWCIV7ZZ.js → PCBE7IEQ.js} +1 -1
- package/dist/cdn/{M4ZJRIYM.js → PRGGOOYS.js} +1 -1
- package/dist/cdn/{N673JFHK.js → PXGQGJAV.js} +1 -1
- package/dist/cdn/{6OCDFMFB.js → Q7XQPRE5.js} +1 -1
- package/dist/cdn/{SOGVYNPI.js → QGLWN3TS.js} +1 -1
- package/dist/cdn/{2ODYZG66.js → QH2YJ3TT.js} +1 -1
- package/dist/cdn/{Y6CFEFZM.js → RA7EKGRW.js} +1 -1
- package/dist/cdn/{WU62O2AU.js → RJFIQORK.js} +1 -1
- package/dist/cdn/{MEA74C44.js → RVFD5Z7L.js} +1 -1
- package/dist/cdn/{WJHIJTWS.js → SWJIRHQQ.js} +1 -1
- package/dist/cdn/{3SBYV6BW.js → TYDIOOT2.js} +1 -1
- package/dist/cdn/{4TRUG37X.js → U53OVQF2.js} +1 -1
- package/dist/cdn/{RKG6CXUU.js → WNH47TQQ.js} +1 -1
- package/dist/cdn/{Z43DVT6G.js → WPHYJV72.js} +1 -1
- package/dist/cdn/{GCRQHIGQ.js → WSSYOOMW.js} +1 -1
- package/dist/cdn/{35NSJ3NJ.js → WYU56MVP.js} +1 -1
- package/dist/cdn/{TOFVWGTG.js → XQ2CVQJW.js} +1 -1
- package/dist/cdn/{7Z7NOIH2.js → XRTGYEKU.js} +1 -1
- package/dist/cdn/{IPALCXFF.js → YHFANXPC.js} +1 -1
- package/dist/cdn/{PKQOLKTW.js → YTV5MFKS.js} +1 -1
- package/dist/cdn/{ZW4PF3UK.js → Z2NN43OK.js} +1 -1
- package/dist/cdn/{QGEFY4ND.js → Z2YPKIRL.js} +1 -1
- package/dist/cdn/{NKVZYKL5.js → ZK3QFPDP.js} +1 -1
- package/dist/cdn/{JIV6BQKG.js → ZKZGO5WD.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +39 -36
- package/dist/chunks/box-plot-data.js +36 -36
- package/dist/chunks/box-plot-model.js +5 -5
- package/dist/chunks/chart-model.js +38 -38
- package/dist/chunks/class-breaks.js +7 -7
- package/dist/chunks/combo-bar-line-chart-model.js +27 -27
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +22 -22
- package/dist/chunks/data.js +18 -18
- package/dist/chunks/gauge-model.js +16 -16
- package/dist/chunks/generate-x-axis-title.js +9 -9
- package/dist/chunks/heat-chart-model.js +5 -5
- package/dist/chunks/histogram-data.js +15 -15
- package/dist/chunks/histogram-model.js +4 -4
- package/dist/chunks/index.js +84 -83
- package/dist/chunks/index2.js +989 -973
- package/dist/chunks/index3.js +13 -13
- package/dist/chunks/index4.js +149 -49
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/model-with-y-guides.js +6 -6
- package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
- package/dist/chunks/pie-chart-data.js +16 -16
- package/dist/chunks/pie-chart-model.js +20 -20
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-data.js +73 -73
- package/dist/chunks/serial-chart-model.js +13 -13
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards2.js +24 -20
- package/dist/chunks/utils.js +14 -14
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +41 -41
- package/dist/chunks/x-bounds.js +16 -16
- package/dist/components/arcgis-chart/customElement.js +6354 -6174
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +446 -444
- package/dist/json-schema/index.d.ts +92 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +3 -2
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/shared/type-guards.d.ts +7 -0
- package/dist/spec/web-chart.d.ts +8 -0
- package/dist/utils/chart-config/converter/index.js +15 -15
- package/dist/utils/defaults/index.d.ts +4 -1
- package/package.json +3 -3
- package/dist/cdn/BJBNELDD.js +0 -3
- package/dist/cdn/SAYLTYWY.js +0 -2
- package/dist/cdn/U3MRRFML.js +0 -2
- package/dist/cdn/VWTJHXHI.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
|
@@ -8173,6 +8173,24 @@
|
|
|
8173
8173
|
};
|
|
8174
8174
|
description: string;
|
|
8175
8175
|
};
|
|
8176
|
+
roundCorners: {
|
|
8177
|
+
type: string;
|
|
8178
|
+
properties: {
|
|
8179
|
+
rounded: {
|
|
8180
|
+
type: string;
|
|
8181
|
+
description: string;
|
|
8182
|
+
default: boolean;
|
|
8183
|
+
};
|
|
8184
|
+
cornerRadius: {
|
|
8185
|
+
type: string;
|
|
8186
|
+
description: string;
|
|
8187
|
+
minimum: number;
|
|
8188
|
+
multipleOf: number;
|
|
8189
|
+
};
|
|
8190
|
+
};
|
|
8191
|
+
required: string[];
|
|
8192
|
+
description: string;
|
|
8193
|
+
};
|
|
8176
8194
|
};
|
|
8177
8195
|
required: string[];
|
|
8178
8196
|
description: string;
|
|
@@ -8300,6 +8318,24 @@
|
|
|
8300
8318
|
};
|
|
8301
8319
|
description: string;
|
|
8302
8320
|
};
|
|
8321
|
+
roundCorners: {
|
|
8322
|
+
type: string;
|
|
8323
|
+
properties: {
|
|
8324
|
+
rounded: {
|
|
8325
|
+
type: string;
|
|
8326
|
+
description: string;
|
|
8327
|
+
default: boolean;
|
|
8328
|
+
};
|
|
8329
|
+
cornerRadius: {
|
|
8330
|
+
type: string;
|
|
8331
|
+
description: string;
|
|
8332
|
+
minimum: number;
|
|
8333
|
+
multipleOf: number;
|
|
8334
|
+
};
|
|
8335
|
+
};
|
|
8336
|
+
required: string[];
|
|
8337
|
+
description: string;
|
|
8338
|
+
};
|
|
8303
8339
|
innerRadius: {
|
|
8304
8340
|
type: string[];
|
|
8305
8341
|
description: string;
|
|
@@ -8447,6 +8483,24 @@
|
|
|
8447
8483
|
};
|
|
8448
8484
|
description: string;
|
|
8449
8485
|
};
|
|
8486
|
+
roundCorners: {
|
|
8487
|
+
type: string;
|
|
8488
|
+
properties: {
|
|
8489
|
+
rounded: {
|
|
8490
|
+
type: string;
|
|
8491
|
+
description: string;
|
|
8492
|
+
default: boolean;
|
|
8493
|
+
};
|
|
8494
|
+
cornerRadius: {
|
|
8495
|
+
type: string;
|
|
8496
|
+
description: string;
|
|
8497
|
+
minimum: number;
|
|
8498
|
+
multipleOf: number;
|
|
8499
|
+
};
|
|
8500
|
+
};
|
|
8501
|
+
required: string[];
|
|
8502
|
+
description: string;
|
|
8503
|
+
};
|
|
8450
8504
|
showOutliers: {
|
|
8451
8505
|
type: string;
|
|
8452
8506
|
description: string;
|
|
@@ -8587,6 +8641,24 @@
|
|
|
8587
8641
|
};
|
|
8588
8642
|
description: string;
|
|
8589
8643
|
};
|
|
8644
|
+
roundCorners: {
|
|
8645
|
+
type: string;
|
|
8646
|
+
properties: {
|
|
8647
|
+
rounded: {
|
|
8648
|
+
type: string;
|
|
8649
|
+
description: string;
|
|
8650
|
+
default: boolean;
|
|
8651
|
+
};
|
|
8652
|
+
cornerRadius: {
|
|
8653
|
+
type: string;
|
|
8654
|
+
description: string;
|
|
8655
|
+
minimum: number;
|
|
8656
|
+
multipleOf: number;
|
|
8657
|
+
};
|
|
8658
|
+
};
|
|
8659
|
+
required: string[];
|
|
8660
|
+
description: string;
|
|
8661
|
+
};
|
|
8590
8662
|
};
|
|
8591
8663
|
required: string[];
|
|
8592
8664
|
description: string;
|
|
@@ -8722,6 +8794,24 @@
|
|
|
8722
8794
|
};
|
|
8723
8795
|
description: string;
|
|
8724
8796
|
};
|
|
8797
|
+
roundCorners: {
|
|
8798
|
+
type: string;
|
|
8799
|
+
properties: {
|
|
8800
|
+
rounded: {
|
|
8801
|
+
type: string;
|
|
8802
|
+
description: string;
|
|
8803
|
+
default: boolean;
|
|
8804
|
+
};
|
|
8805
|
+
cornerRadius: {
|
|
8806
|
+
type: string;
|
|
8807
|
+
description: string;
|
|
8808
|
+
minimum: number;
|
|
8809
|
+
multipleOf: number;
|
|
8810
|
+
};
|
|
8811
|
+
};
|
|
8812
|
+
required: string[];
|
|
8813
|
+
description: string;
|
|
8814
|
+
};
|
|
8725
8815
|
hideEmptyRowsAndColumns: {
|
|
8726
8816
|
type: string;
|
|
8727
8817
|
description: string;
|
|
@@ -8741,11 +8831,11 @@
|
|
|
8741
8831
|
description: string;
|
|
8742
8832
|
title: string;
|
|
8743
8833
|
};
|
|
8744
|
-
"Omit<(structure-1066060463-
|
|
8834
|
+
"Omit<(structure-1066060463-59738-61481-1066060463-59663-61482-1066060463-55768-62670-1066060463-0-65723|undefined)937098756,(\"data\"|\"orderByFields\")>": {
|
|
8745
8835
|
$ref: string;
|
|
8746
8836
|
title: string;
|
|
8747
8837
|
};
|
|
8748
|
-
"Pick<(structure-1066060463-
|
|
8838
|
+
"Pick<(structure-1066060463-59738-61481-1066060463-59663-61482-1066060463-55768-62670-1066060463-0-65723|undefined)937098756,Exclude<(\"series\"|\"data\"|\"orderByFields\"),(\"data\"|\"orderByFields\")>>": {
|
|
8749
8839
|
type: string;
|
|
8750
8840
|
properties: {
|
|
8751
8841
|
series: {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
2
2
|
import type { ModelTypes, SerialChartDataSortingKinds } from "../interfaces/common.js";
|
|
3
|
+
import type { WithRoundedCorners } from "../properties/rounded-corners.js";
|
|
3
4
|
import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.js";
|
|
4
5
|
import type { ChartConfig } from "../../utils/types/index.js";
|
|
5
6
|
|
|
6
|
-
export class BarChartModel extends
|
|
7
|
+
export class BarChartModel extends BarChartModelSuperclass {
|
|
7
8
|
/**
|
|
8
9
|
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
9
10
|
* If the index is out of bounds, it will return `undefined`.
|
|
@@ -48,4 +49,5 @@ export class BarChartModel extends SerialChartModel {
|
|
|
48
49
|
* @param params
|
|
49
50
|
*/
|
|
50
51
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.BarChart>>): Promise<void>;
|
|
51
|
-
}
|
|
52
|
+
}
|
|
53
|
+
declare const BarChartModelSuperclass: typeof SerialChartModel & typeof WithRoundedCorners
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
2
2
|
import type { ModelTypes } from "../interfaces/common.js";
|
|
3
|
+
import type { WithRoundedCorners } from "../properties/rounded-corners.js";
|
|
3
4
|
import type { WithNegativeValuesStackedToBaseline } from "../properties/series/negative-values-stacked-to-baseline.js";
|
|
4
5
|
import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.js";
|
|
5
6
|
import type { WebChartTypes } from "../../spec/chart-object-literals.js";
|
|
@@ -16,7 +17,7 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
|
|
|
16
17
|
*/
|
|
17
18
|
getAreaColor(seriesIndex: number): Color | undefined;
|
|
18
19
|
/**
|
|
19
|
-
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
20
|
+
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
20
21
|
*
|
|
21
22
|
* If the index is out of bounds, it will return `undefined`.
|
|
22
23
|
*
|
|
@@ -186,4 +187,4 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
|
|
|
186
187
|
*/
|
|
187
188
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.ComboBarLineChart>>): Promise<void>;
|
|
188
189
|
}
|
|
189
|
-
declare const ComboBarLineChartModelSuperclass: typeof SerialChartModel & typeof WithNegativeValuesStackedToBaseline
|
|
190
|
+
declare const ComboBarLineChartModelSuperclass: typeof SerialChartModel & typeof WithRoundedCorners & typeof WithNegativeValuesStackedToBaseline
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Adds support for configuring rounded corners on charts that support it.
|
|
5
|
+
* NOTE: Currently only bar charts and the bar series in combo bar-line charts.
|
|
6
|
+
*/
|
|
7
|
+
export abstract class WithRoundedCorners extends ChartModelBase {
|
|
8
|
+
/**
|
|
9
|
+
* Gets the rounded corner radius for the chart.
|
|
10
|
+
* **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).
|
|
11
|
+
*/
|
|
12
|
+
accessor cornerRadius: number | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Gets whether rounded corners are enabled for the chart.
|
|
15
|
+
* **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).
|
|
16
|
+
*/
|
|
17
|
+
accessor roundCorners: boolean;
|
|
18
|
+
}
|
|
@@ -171,6 +171,13 @@ export function isPieChartLegendModel(model: ChartModel | undefined): model is P
|
|
|
171
171
|
*/
|
|
172
172
|
export function isModelWithTemporalBinning(model: ChartModel | undefined): model is ModelWithTemporalBinning;
|
|
173
173
|
|
|
174
|
+
/**
|
|
175
|
+
* Determines if the provided `model` supports rounded corners.
|
|
176
|
+
*
|
|
177
|
+
* @param model - The model to check.
|
|
178
|
+
*/
|
|
179
|
+
export function isModelWithRoundCorners(model: ChartModelBase | undefined): model is BarChartModel | ComboBarLineChartModel;
|
|
180
|
+
|
|
174
181
|
/**
|
|
175
182
|
* Determines if the provided model's type matches the `type` argument.
|
|
176
183
|
*
|
package/dist/spec/web-chart.d.ts
CHANGED
|
@@ -1334,6 +1334,14 @@ export interface WebChart {
|
|
|
1334
1334
|
data?: WebChartDirectionalDataOrder | WebChartMultiAxesDataOrder | WebChartPredefinedLabelsDataOrder;
|
|
1335
1335
|
orderByFields?: string[];
|
|
1336
1336
|
};
|
|
1337
|
+
/**
|
|
1338
|
+
* Rounded corners properties for charts supporting rounded corners.
|
|
1339
|
+
* NOTE: Applies only to bar charts and to the bar series in combo bar-line charts.
|
|
1340
|
+
*/
|
|
1341
|
+
roundCorners?: {
|
|
1342
|
+
rounded: boolean;
|
|
1343
|
+
cornerRadius?: number;
|
|
1344
|
+
};
|
|
1337
1345
|
}
|
|
1338
1346
|
|
|
1339
1347
|
/** JSON representation of the gauge chart. */
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { getElementLocale as ze } from "@arcgis/toolkit/intl";
|
|
3
3
|
import { cloneDeep as n, isEmpty as h } from "lodash-es";
|
|
4
4
|
import { DateTime as He } from "luxon";
|
|
5
|
-
import { af as $e, Q as oe, Z as Qe, cq as se,
|
|
6
|
-
import { W as tt,
|
|
5
|
+
import { af as $e, Q as oe, Z as Qe, cq as se, cS as ne, c1 as Ye, ac as Ke, Y as O, bg as Xe, O as b, bE as ee, aG as Ze, aH as Je, m as Z, h as Ue, w as et } from "../../../chunks/index2.js";
|
|
6
|
+
import { W as tt, ay as rt, g as it, E as ot, ae as st } from "../../../chunks/index.js";
|
|
7
7
|
import { c as nt } from "../../../chunks/type-guards.js";
|
|
8
8
|
import { C as f, h as k, q as ae } from "../../../chunks/index3.js";
|
|
9
9
|
import { h as at, o as dt, s as lt } from "../../../chunks/index5.js";
|
|
@@ -465,7 +465,7 @@ function We(r) {
|
|
|
465
465
|
}
|
|
466
466
|
return e;
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function Ee(r) {
|
|
469
469
|
const e = n(r);
|
|
470
470
|
return e.series.forEach((i) => {
|
|
471
471
|
i.query?.outStatistics?.forEach((t) => {
|
|
@@ -473,7 +473,7 @@ function Re(r) {
|
|
|
473
473
|
});
|
|
474
474
|
}), e;
|
|
475
475
|
}
|
|
476
|
-
function
|
|
476
|
+
function Re(r) {
|
|
477
477
|
const e = n(r);
|
|
478
478
|
return e.subtitle === void 0 && e.subTitle && (e.subtitle = e.subTitle), delete e.subTitle, e;
|
|
479
479
|
}
|
|
@@ -523,11 +523,11 @@ function W(r) {
|
|
|
523
523
|
let e = n(r);
|
|
524
524
|
return e = Pe(e), e;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function E(r) {
|
|
527
527
|
let e = n(r);
|
|
528
528
|
return e = Le(e), e;
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function R(r) {
|
|
531
531
|
return Ae(r);
|
|
532
532
|
}
|
|
533
533
|
function N(r) {
|
|
@@ -553,11 +553,11 @@ function H(r) {
|
|
|
553
553
|
return We(r);
|
|
554
554
|
}
|
|
555
555
|
function $(r) {
|
|
556
|
-
return
|
|
556
|
+
return Ee(r);
|
|
557
557
|
}
|
|
558
558
|
function Q(r) {
|
|
559
559
|
let e = n(r);
|
|
560
|
-
return e = J(e),
|
|
560
|
+
return e = J(e), Re(e);
|
|
561
561
|
}
|
|
562
562
|
function Y(r) {
|
|
563
563
|
let e = n(r);
|
|
@@ -574,7 +574,7 @@ function X(r) {
|
|
|
574
574
|
function _e(r) {
|
|
575
575
|
const { versionsToConvert: e, configToUpdate: i } = r;
|
|
576
576
|
let t = n(i);
|
|
577
|
-
return e.length > 0 && t !== void 0 && (t = De(t), e.includes(oe) || e.includes(Ye) ? (t = Ge(t), t = w(t), t = A(t), t = D(t), t = M(t), t = I(t), t = q(t), t = W(t), t =
|
|
577
|
+
return e.length > 0 && t !== void 0 && (t = De(t), e.includes(oe) || e.includes(Ye) ? (t = Ge(t), t = w(t), t = A(t), t = D(t), t = M(t), t = I(t), t = q(t), t = W(t), t = E(t), t = R(t), t = N(t), t = V(t), t = G(t), t = _(t), t = j(t), t = z(t), t = H(t), t = $(t), t = Q(t), t = Y(t), t = K(t), t = X(t)) : e.forEach((o) => {
|
|
578
578
|
if (t !== void 0)
|
|
579
579
|
switch (o) {
|
|
580
580
|
case "1.0.1":
|
|
@@ -599,10 +599,10 @@ function _e(r) {
|
|
|
599
599
|
t = W(t);
|
|
600
600
|
break;
|
|
601
601
|
case "9.2.0":
|
|
602
|
-
t =
|
|
602
|
+
t = E(t);
|
|
603
603
|
break;
|
|
604
604
|
case "9.7.0":
|
|
605
|
-
t =
|
|
605
|
+
t = R(t);
|
|
606
606
|
break;
|
|
607
607
|
case "10.0.0":
|
|
608
608
|
t = N(t);
|
|
@@ -686,8 +686,8 @@ const Lt = {
|
|
|
686
686
|
handleOrderOptionsChanges: Me,
|
|
687
687
|
applyDataOrderInstructionForFromFieldsCharts: Ie,
|
|
688
688
|
convertTemporalBinningProps: We,
|
|
689
|
-
convertRESTStatisticTypeToWebChartStatisticType:
|
|
690
|
-
renameChartSubtitle:
|
|
689
|
+
convertRESTStatisticTypeToWebChartStatisticType: Ee,
|
|
690
|
+
renameChartSubtitle: Re,
|
|
691
691
|
applyMandatoryConversions: he,
|
|
692
692
|
convertTo1x0x1: Ge,
|
|
693
693
|
convertTo2x0x0: w,
|
|
@@ -697,8 +697,8 @@ const Lt = {
|
|
|
697
697
|
convertTo7x0x0: I,
|
|
698
698
|
convertTo7x6x0: q,
|
|
699
699
|
convertTo8x0x1: W,
|
|
700
|
-
convertTo9x3x0:
|
|
701
|
-
convertTo10x0x0:
|
|
700
|
+
convertTo9x3x0: E,
|
|
701
|
+
convertTo10x0x0: R,
|
|
702
702
|
convertTo11x0x0: N,
|
|
703
703
|
convertTo12x0x0: V,
|
|
704
704
|
convertTo15x0x0: G,
|
|
@@ -523,4 +523,7 @@ export const defaultColorForBoxPlotWithMeanLines: Color;
|
|
|
523
523
|
export const percentageSuffix: " percentage ";
|
|
524
524
|
|
|
525
525
|
/** @internal */
|
|
526
|
-
export const heatChartFirstDayOfWeek: 7;
|
|
526
|
+
export const heatChartFirstDayOfWeek: 7;
|
|
527
|
+
|
|
528
|
+
/** @internal */
|
|
529
|
+
export const defaultCornerRadius: 5;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.32",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"luxon": "~3.7.2",
|
|
43
43
|
"simple-statistics": "^7.8.8",
|
|
44
44
|
"tslib": "^2.8.1",
|
|
45
|
-
"@arcgis/lumina": "5.2.0-next.
|
|
46
|
-
"@arcgis/toolkit": "5.2.0-next.
|
|
45
|
+
"@arcgis/lumina": "5.2.0-next.32",
|
|
46
|
+
"@arcgis/toolkit": "5.2.0-next.32"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@arcgis/core": "^5.2.0-next",
|