@arcgis/charts-components 5.2.0-next.16 → 5.2.0-next.18
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/{LM3WDIMX.js → 2TC4JZJO.js} +1 -1
- package/dist/cdn/{WE5N2DWF.js → 2UMH6XR3.js} +1 -1
- package/dist/cdn/{N5M267HE.js → 3KVNM7WF.js} +2 -2
- package/dist/cdn/{JSX3LKOD.js → 3NNAZ5DL.js} +1 -1
- package/dist/cdn/{PACZSOVJ.js → 3RWWJIG5.js} +1 -1
- package/dist/cdn/{DLHFVWHO.js → 4CGXRXLH.js} +1 -1
- package/dist/cdn/{TP36RQNC.js → 4QAPLRTG.js} +1 -1
- package/dist/cdn/{BSWOQJUC.js → 4SF42PXV.js} +1 -1
- package/dist/cdn/{MQSBZKCF.js → 4WY6HQZI.js} +1 -1
- package/dist/cdn/{JEJYJTQ3.js → 5FBPTKD2.js} +1 -1
- package/dist/cdn/{RRYPAPCG.js → 5W5U3YCT.js} +1 -1
- package/dist/cdn/{SLMJ2X57.js → 65EM5PJT.js} +1 -1
- package/dist/cdn/{CFWCANTF.js → 6OEGVKEI.js} +1 -1
- package/dist/cdn/{2H2FBIZ2.js → 6SFQ3ODA.js} +1 -1
- package/dist/cdn/{TQHCSPE5.js → 6UNGL476.js} +1 -1
- package/dist/cdn/{OFZRCSH4.js → 6YD6IPIH.js} +1 -1
- package/dist/cdn/{HYXVFQC4.js → 7SFXGJNT.js} +1 -1
- package/dist/cdn/{QPLOPDDR.js → A5RPILC4.js} +1 -1
- package/dist/cdn/{KMRESWL3.js → A637XF3L.js} +1 -1
- package/dist/cdn/{TO5ZIEQF.js → AEY67Q67.js} +1 -1
- package/dist/cdn/{F2FUMKHT.js → BKZT6DIS.js} +1 -1
- package/dist/cdn/{MBBPNXP3.js → BVJDZG5Y.js} +1 -1
- package/dist/cdn/{YJPAOKRE.js → C5TWLOUL.js} +1 -1
- package/dist/cdn/{5MY4KKZV.js → CCNMKOBB.js} +1 -1
- package/dist/cdn/{QUUADWMW.js → DGHSOXHW.js} +1 -1
- package/dist/cdn/{JQN3RVVS.js → DXZZLLOU.js} +1 -1
- package/dist/cdn/{JQNUPBDP.js → E3SH4JDT.js} +1 -1
- package/dist/cdn/{G7EWCEOQ.js → EBYNTBVV.js} +1 -1
- package/dist/cdn/{ESEUMJAO.js → EJXBZW4I.js} +1 -1
- package/dist/cdn/{Q4RQQGVC.js → F36KMFKC.js} +1 -1
- package/dist/cdn/{JM2NUARU.js → FEZIILDK.js} +13 -13
- package/dist/cdn/{2MS6UDV4.js → FIQ3O5N5.js} +1 -1
- package/dist/cdn/{T7YPANRB.js → FSBIGWGF.js} +1 -1
- package/dist/cdn/FSS3JCMA.js +2 -0
- package/dist/cdn/{VJXC7G7Z.js → GDCYYANX.js} +1 -1
- package/dist/cdn/{475GCHIH.js → GHNRDFV4.js} +1 -1
- package/dist/cdn/{K4PTOYP7.js → GM67HTDG.js} +1 -1
- package/dist/cdn/{IOQKEV5U.js → GMEHVXPT.js} +1 -1
- package/dist/cdn/H5FMH3KI.js +2 -0
- package/dist/cdn/{73VJACG5.js → H5ICWR3Q.js} +1 -1
- package/dist/cdn/{TEE4SFIN.js → H6E76E5A.js} +1 -1
- package/dist/cdn/{ADOT6PAL.js → HNV5M5D2.js} +1 -1
- package/dist/cdn/{INWHDZUX.js → HO6UADCP.js} +1 -1
- package/dist/cdn/I3642G2U.js +2 -0
- package/dist/cdn/{Q5HENWDN.js → JDAHBQHF.js} +1 -1
- package/dist/cdn/{U4FMQ72H.js → JJTS4GMR.js} +1 -1
- package/dist/cdn/{ISN3Z6RD.js → JTUU3JXW.js} +1 -1
- package/dist/cdn/{BLLB6GVU.js → KD6BTGA7.js} +1 -1
- package/dist/cdn/{CEOJDFPK.js → KYCSFK4W.js} +1 -1
- package/dist/cdn/{HDAFZ7HZ.js → L6PTR5XW.js} +1 -1
- package/dist/cdn/{XAONJJD7.js → L7MGB5KR.js} +1 -1
- package/dist/cdn/LANNBQHD.js +3 -0
- package/dist/cdn/{KG34BN4R.js → LC57KDGS.js} +1 -1
- package/dist/cdn/{5XUJFHKU.js → NBOSJ2FF.js} +1 -1
- package/dist/cdn/{I3QPGNX2.js → NY75YT7Z.js} +1 -1
- package/dist/cdn/{336QQVQ2.js → P75Z6F5X.js} +1 -1
- package/dist/cdn/{2ATBYUR5.js → PCXV2JH3.js} +1 -1
- package/dist/cdn/{T4Y7PPAF.js → Q5H2IVEZ.js} +1 -1
- package/dist/cdn/{I7P7Y4AI.js → QHWBNFGR.js} +1 -1
- package/dist/cdn/{2563R3OI.js → QSM73CL4.js} +1 -1
- package/dist/cdn/{EHQCMFMJ.js → QUN52JQW.js} +1 -1
- package/dist/cdn/{WH6E3TRM.js → QXAK4J2A.js} +1 -1
- package/dist/cdn/{4OKQVD4Y.js → R4NU3MN5.js} +1 -1
- package/dist/cdn/{RIXNZMGD.js → RDJBP4WQ.js} +1 -1
- package/dist/cdn/{NHFF5CKW.js → ROETFMYI.js} +1 -1
- package/dist/cdn/{J25L7DLU.js → SS2PEQGJ.js} +1 -1
- package/dist/cdn/{IBGLMETB.js → T2GJNVJ7.js} +1 -1
- package/dist/cdn/{CFEXUWMK.js → TZZCNVXZ.js} +1 -1
- package/dist/cdn/{O32BJPVC.js → U7IBN6GO.js} +1 -1
- package/dist/cdn/{3XFA3QK6.js → UT2Q2IFL.js} +1 -1
- package/dist/cdn/{72MZJZ6I.js → UZDMA67A.js} +1 -1
- package/dist/cdn/{KSLJPKWC.js → VAWGYZN4.js} +1 -1
- package/dist/cdn/{IZBPTSEL.js → VSMQP4LB.js} +1 -1
- package/dist/cdn/{E3EBO7VM.js → W56KDWPN.js} +1 -1
- package/dist/cdn/{CZFZIEMX.js → X55UHKOC.js} +1 -1
- package/dist/cdn/{27Z26FPG.js → YRQT4DV3.js} +1 -1
- package/dist/cdn/{PJR43NZO.js → ZOWQW2N5.js} +1 -1
- package/dist/cdn/{E5LBVUWF.js → ZRXWYONR.js} +1 -1
- package/dist/cdn/{44OQITEZ.js → ZSIPBEQ2.js} +1 -1
- package/dist/cdn/{JRSODGEU.js → ZVSKN4AO.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/index2.js +1136 -1130
- package/dist/chunks/index4.js +36 -35
- package/dist/chunks/serial-chart-data.js +331 -335
- package/dist/components/arcgis-chart/customElement.d.ts +103 -103
- package/dist/components/arcgis-chart/customElement.js +2277 -2272
- package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/FLLUECUY.js +0 -3
- package/dist/cdn/NIXBX2CY.js +0 -2
- package/dist/cdn/OFN7VGCU.js +0 -2
- package/dist/cdn/WH4TRMLQ.js +0 -2
|
@@ -35,112 +35,12 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
35
35
|
* @since 4.32
|
|
36
36
|
*/
|
|
37
37
|
export abstract class ArcgisChart extends LitElement {
|
|
38
|
-
/** @internal */
|
|
39
|
-
protected _messages: Partial<{ chartNotFoundWarning: string; }> & T9nMeta<{ chartNotFoundWarning: string; }>;
|
|
40
|
-
/**
|
|
41
|
-
* Specifies the user action behavior for the chart.
|
|
42
|
-
*
|
|
43
|
-
* - `monoSelection`: Select a single data point or series, new selection replaces the previous one.
|
|
44
|
-
* - `multiSelection`: Select multiple data points or series, new selection adds to the previous one.
|
|
45
|
-
* - `multiSelectionWithCtrlKey`: Select multiple data points or series while holding the Ctrl key (Cmd on Mac). When the key is held, each new selection is added; otherwise, the selection is replaced.
|
|
46
|
-
* - `none`: No action is performed on user interaction.
|
|
47
|
-
* - `zoom`: Zoom into a specific area of the chart.
|
|
48
|
-
*
|
|
49
|
-
* **Note**: Not applicable to gauges.
|
|
50
|
-
*/
|
|
51
|
-
accessor actionMode: ActionModes | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* Whether to allow the object id to be used as a statistic other than `Count`.
|
|
54
|
-
*
|
|
55
|
-
* @default false
|
|
56
|
-
*/
|
|
57
|
-
accessor allowUsingObjectIdStat: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Enable animation on the chart.
|
|
60
|
-
*
|
|
61
|
-
* @default false
|
|
62
|
-
*/
|
|
63
|
-
accessor animationEnabled: boolean | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* The ARIA attributes for the chart. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [\`label\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [\`description\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [\`describedByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements), and [\`labelledByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements).
|
|
66
|
-
*
|
|
67
|
-
* @since 5.0
|
|
68
|
-
*/
|
|
69
|
-
accessor aria: DOMContainerAria | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* If `true`, the component will not be destroyed automatically when it is disconnected from the document. This is useful when you want to move the component to a different place on the page, or temporarily hide it. If this is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#destroy) method when you are done to prevent memory leaks.
|
|
72
|
-
*
|
|
73
|
-
* @default false
|
|
74
|
-
* @since 5.0
|
|
75
|
-
*/
|
|
76
|
-
accessor autoDestroyDisabled: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Auto disposes the chart when a new one is created in the same container.
|
|
79
|
-
*
|
|
80
|
-
* @deprecated since 5.0. Use [autoDestroyDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#autoDestroyDisabled) instead.
|
|
81
|
-
* @default false
|
|
82
|
-
*/
|
|
83
|
-
accessor autoDisposeChart: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* When `true`, the data label text color is automatically adjusted for readability based on its background.
|
|
86
|
-
* If the label is dark and appears over a dark series area, the text color is switched to either the chart background color or white.
|
|
87
|
-
*
|
|
88
|
-
* **Note**: Applicable to heat charts only.
|
|
89
|
-
*
|
|
90
|
-
* @default false
|
|
91
|
-
*/
|
|
92
|
-
accessor autoInverseDataLabelTextColor: boolean;
|
|
93
|
-
/**
|
|
94
|
-
* Allows picking the Calcite CSS variables to use when applying a Calcite theme.
|
|
95
|
-
*
|
|
96
|
-
* By default the following variables are used:
|
|
97
|
-
* - background: `--calcite-color-foreground-1`
|
|
98
|
-
* - text: `--calcite-color-text-1`
|
|
99
|
-
* - line: `--calcite-color-border-1`
|
|
100
|
-
* - secondary line: `--calcite-color-text-3`
|
|
101
|
-
* - spinner: `--calcite-color-brand-hover`
|
|
102
|
-
*
|
|
103
|
-
* The charts colors are overridden by those associated to those CSS variables, but only if they have not been
|
|
104
|
-
* customized beforehand.
|
|
105
|
-
*
|
|
106
|
-
* @since 5.1
|
|
107
|
-
*/
|
|
108
|
-
accessor calciteThemingCSSVariables: CalciteThemeCSSVariables;
|
|
109
|
-
/**
|
|
110
|
-
* The index of the chart to be rendered from the layer. Must be used in conjunction with the `layerItemId` or `layer` property.
|
|
111
|
-
*
|
|
112
|
-
* If a `layer` or `layerItemId` is set without `chartIndex`, the first chart in the layer will be rendered.
|
|
113
|
-
*
|
|
114
|
-
* If the `chartIndex` is out of bounds, the first chart in the layer will be rendered and a warning event will be emitted.
|
|
115
|
-
*
|
|
116
|
-
* @example
|
|
117
|
-
* ```html
|
|
118
|
-
* <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2"></arcgis-chart>
|
|
119
|
-
* ```
|
|
120
|
-
*/
|
|
121
|
-
accessor chartIndex: number | undefined;
|
|
122
|
-
/**
|
|
123
|
-
* Customize the maximum number of series allowed on the chart.
|
|
124
|
-
*
|
|
125
|
-
* The chart's behavior once that limit is reached can be adjusted through the `behaviorAfterLimit` nested property, to either reject the creation
|
|
126
|
-
* or update of the chart, or render the elements up to the given limits.
|
|
127
|
-
*
|
|
128
|
-
* **Note**: Not applicable to gauges.
|
|
129
|
-
*/
|
|
130
|
-
accessor chartLimits: ChartElementLimit | undefined;
|
|
131
|
-
/**
|
|
132
|
-
* Lifecycle function executed after the data has been processed and before the chart renders.
|
|
133
|
-
* Can be used to alter the model from information extracted from the data.
|
|
134
|
-
*
|
|
135
|
-
* **Note**: Applicable to gauges and pie charts only.
|
|
136
|
-
*/
|
|
137
|
-
accessor chartWillRender: PreRenderCallback | undefined;
|
|
138
38
|
/**
|
|
139
39
|
* Localized common strings.
|
|
140
40
|
*
|
|
141
41
|
* @internal
|
|
142
42
|
*/
|
|
143
|
-
protected
|
|
43
|
+
protected _commonStrings: {
|
|
144
44
|
utilsStrings: {
|
|
145
45
|
chartType: {
|
|
146
46
|
chart: string;
|
|
@@ -675,6 +575,106 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
675
575
|
"Invalid date": string;
|
|
676
576
|
};
|
|
677
577
|
}>;
|
|
578
|
+
/** @internal */
|
|
579
|
+
protected _messages: Partial<{ chartNotFoundWarning: string; }> & T9nMeta<{ chartNotFoundWarning: string; }>;
|
|
580
|
+
/**
|
|
581
|
+
* Specifies the user action behavior for the chart.
|
|
582
|
+
*
|
|
583
|
+
* - `monoSelection`: Select a single data point or series, new selection replaces the previous one.
|
|
584
|
+
* - `multiSelection`: Select multiple data points or series, new selection adds to the previous one.
|
|
585
|
+
* - `multiSelectionWithCtrlKey`: Select multiple data points or series while holding the Ctrl key (Cmd on Mac). When the key is held, each new selection is added; otherwise, the selection is replaced.
|
|
586
|
+
* - `none`: No action is performed on user interaction.
|
|
587
|
+
* - `zoom`: Zoom into a specific area of the chart.
|
|
588
|
+
*
|
|
589
|
+
* **Note**: Not applicable to gauges.
|
|
590
|
+
*/
|
|
591
|
+
accessor actionMode: ActionModes | undefined;
|
|
592
|
+
/**
|
|
593
|
+
* Whether to allow the object id to be used as a statistic other than `Count`.
|
|
594
|
+
*
|
|
595
|
+
* @default false
|
|
596
|
+
*/
|
|
597
|
+
accessor allowUsingObjectIdStat: boolean;
|
|
598
|
+
/**
|
|
599
|
+
* Enable animation on the chart.
|
|
600
|
+
*
|
|
601
|
+
* @default false
|
|
602
|
+
*/
|
|
603
|
+
accessor animationEnabled: boolean | undefined;
|
|
604
|
+
/**
|
|
605
|
+
* The ARIA attributes for the chart. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [\`label\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [\`description\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [\`describedByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements), and [\`labelledByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements).
|
|
606
|
+
*
|
|
607
|
+
* @since 5.0
|
|
608
|
+
*/
|
|
609
|
+
accessor aria: DOMContainerAria | undefined;
|
|
610
|
+
/**
|
|
611
|
+
* If `true`, the component will not be destroyed automatically when it is disconnected from the document. This is useful when you want to move the component to a different place on the page, or temporarily hide it. If this is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#destroy) method when you are done to prevent memory leaks.
|
|
612
|
+
*
|
|
613
|
+
* @default false
|
|
614
|
+
* @since 5.0
|
|
615
|
+
*/
|
|
616
|
+
accessor autoDestroyDisabled: boolean;
|
|
617
|
+
/**
|
|
618
|
+
* Auto disposes the chart when a new one is created in the same container.
|
|
619
|
+
*
|
|
620
|
+
* @deprecated since 5.0. Use [autoDestroyDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#autoDestroyDisabled) instead.
|
|
621
|
+
* @default false
|
|
622
|
+
*/
|
|
623
|
+
accessor autoDisposeChart: boolean;
|
|
624
|
+
/**
|
|
625
|
+
* When `true`, the data label text color is automatically adjusted for readability based on its background.
|
|
626
|
+
* If the label is dark and appears over a dark series area, the text color is switched to either the chart background color or white.
|
|
627
|
+
*
|
|
628
|
+
* **Note**: Applicable to heat charts only.
|
|
629
|
+
*
|
|
630
|
+
* @default false
|
|
631
|
+
*/
|
|
632
|
+
accessor autoInverseDataLabelTextColor: boolean;
|
|
633
|
+
/**
|
|
634
|
+
* Allows picking the Calcite CSS variables to use when applying a Calcite theme.
|
|
635
|
+
*
|
|
636
|
+
* By default the following variables are used:
|
|
637
|
+
* - background: `--calcite-color-foreground-1`
|
|
638
|
+
* - text: `--calcite-color-text-1`
|
|
639
|
+
* - line: `--calcite-color-border-1`
|
|
640
|
+
* - secondary line: `--calcite-color-text-3`
|
|
641
|
+
* - spinner: `--calcite-color-brand-hover`
|
|
642
|
+
*
|
|
643
|
+
* The charts colors are overridden by those associated to those CSS variables, but only if they have not been
|
|
644
|
+
* customized beforehand.
|
|
645
|
+
*
|
|
646
|
+
* @since 5.1
|
|
647
|
+
*/
|
|
648
|
+
accessor calciteThemingCSSVariables: CalciteThemeCSSVariables;
|
|
649
|
+
/**
|
|
650
|
+
* The index of the chart to be rendered from the layer. Must be used in conjunction with the `layerItemId` or `layer` property.
|
|
651
|
+
*
|
|
652
|
+
* If a `layer` or `layerItemId` is set without `chartIndex`, the first chart in the layer will be rendered.
|
|
653
|
+
*
|
|
654
|
+
* If the `chartIndex` is out of bounds, the first chart in the layer will be rendered and a warning event will be emitted.
|
|
655
|
+
*
|
|
656
|
+
* @example
|
|
657
|
+
* ```html
|
|
658
|
+
* <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2"></arcgis-chart>
|
|
659
|
+
* ```
|
|
660
|
+
*/
|
|
661
|
+
accessor chartIndex: number | undefined;
|
|
662
|
+
/**
|
|
663
|
+
* Customize the maximum number of series allowed on the chart.
|
|
664
|
+
*
|
|
665
|
+
* The chart's behavior once that limit is reached can be adjusted through the `behaviorAfterLimit` nested property, to either reject the creation
|
|
666
|
+
* or update of the chart, or render the elements up to the given limits.
|
|
667
|
+
*
|
|
668
|
+
* **Note**: Not applicable to gauges.
|
|
669
|
+
*/
|
|
670
|
+
accessor chartLimits: ChartElementLimit | undefined;
|
|
671
|
+
/**
|
|
672
|
+
* Lifecycle function executed after the data has been processed and before the chart renders.
|
|
673
|
+
* Can be used to alter the model from information extracted from the data.
|
|
674
|
+
*
|
|
675
|
+
* **Note**: Applicable to gauges and pie charts only.
|
|
676
|
+
*/
|
|
677
|
+
accessor chartWillRender: PreRenderCallback | undefined;
|
|
678
678
|
/**
|
|
679
679
|
* Whether to use features uniquely designed for a chart currently being configured by a user via the UI.
|
|
680
680
|
* When true, the slotted charts action bar will expose an Edit chart action, surfaces relevant error states,
|
|
@@ -939,7 +939,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
939
939
|
*/
|
|
940
940
|
accessor loaderColors: LoaderColors | undefined;
|
|
941
941
|
/** Custom message overrides for the chart's strings. */
|
|
942
|
-
accessor messageOverrides: {
|
|
942
|
+
accessor messageOverrides: {
|
|
943
943
|
utilsStrings?: {
|
|
944
944
|
chartType?: {
|
|
945
945
|
chart?: string | undefined;
|
|
@@ -1206,7 +1206,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1206
1206
|
"Unable to load file: %1"?: string | undefined;
|
|
1207
1207
|
"Invalid date"?: string | undefined;
|
|
1208
1208
|
} | undefined;
|
|
1209
|
-
};
|
|
1209
|
+
} & { chartNotFoundWarning?: string | undefined; };
|
|
1210
1210
|
/**
|
|
1211
1211
|
* Provides an API to interact with the chart's configuration.
|
|
1212
1212
|
*
|