@arcgis/charts-components 5.0.0-next.149 → 5.0.0-next.150
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/README.md +2 -4
- package/dist/cdn/2ATTYJG6.js +2 -0
- package/dist/cdn/2CTKBS47.js +2 -0
- package/dist/cdn/2TUSY77N.js +2 -0
- package/dist/cdn/3C4HBCTV.js +2 -0
- package/dist/cdn/3MXDGSBY.js +2 -0
- package/dist/cdn/3NIVTPH5.js +2 -0
- package/dist/cdn/3Q2BMY2L.js +2 -0
- package/dist/cdn/4DH3GZII.js +2 -0
- package/dist/cdn/{Z255YC4E.js → 4KZSOP76.js} +1 -1
- package/dist/cdn/4UDVEHW7.js +2 -0
- package/dist/cdn/4ZDZD6FW.js +2 -0
- package/dist/cdn/5L3VUKGY.js +2 -0
- package/dist/cdn/{NPTAS3PB.js → 6B7P3OWP.js} +1 -1
- package/dist/cdn/6G6VPJ6K.js +2 -0
- package/dist/cdn/6L2NFOQY.js +2 -0
- package/dist/cdn/6UGQKSVS.js +2 -0
- package/dist/cdn/6VS2BUNX.js +2 -0
- package/dist/cdn/72ILHP4O.js +2 -0
- package/dist/cdn/7AXTHOAU.js +2 -0
- package/dist/cdn/{FPVMDAVP.js → 7K4VZYMF.js} +1 -1
- package/dist/cdn/{E7NSRJS7.js → 7KL2S53W.js} +1 -1
- package/dist/cdn/7QTZ5O4B.js +2 -0
- package/dist/cdn/7YWK5AX4.js +2 -0
- package/dist/cdn/ASYHUBK5.js +2 -0
- package/dist/cdn/{CB2EYCDF.js → AUSXHSLY.js} +1 -1
- package/dist/cdn/AZYWNZ5K.js +2 -0
- package/dist/cdn/BQQLJHIU.js +2 -0
- package/dist/cdn/BRLZ2A7F.js +2 -0
- package/dist/cdn/BZYRPXHD.js +2 -0
- package/dist/cdn/C6RJHADU.js +2 -0
- package/dist/cdn/CEVAPOOF.js +2 -0
- package/dist/cdn/{OHBHUABJ.js → CHYRXR3K.js} +1 -1
- package/dist/cdn/CRNVPN6B.js +2 -0
- package/dist/cdn/CSV2VTSA.js +2 -0
- package/dist/cdn/{W66EH66K.js → CZ3Y6FRM.js} +1 -1
- package/dist/cdn/DJLJ5P4N.js +2 -0
- package/dist/cdn/DKJ7FFOL.js +2 -0
- package/dist/cdn/{BVAXFPTE.js → DPJE33GY.js} +1 -1
- package/dist/cdn/{Z4XTLHV3.js → EGHGISFS.js} +1 -1
- package/dist/cdn/F6PKNIKI.js +2 -0
- package/dist/cdn/FTZVIGVW.js +2 -0
- package/dist/cdn/GJWPFACV.js +2 -0
- package/dist/cdn/H2ABG252.js +2 -0
- package/dist/cdn/{IBPSHNO6.js → H4ULSC2D.js} +1 -1
- package/dist/cdn/HEN5PMZU.js +2 -0
- package/dist/cdn/HPG3LCZN.js +2 -0
- package/dist/cdn/HT5B7AY6.js +2 -0
- package/dist/cdn/IARNAL5N.js +9 -0
- package/dist/cdn/IBKDU34P.js +2 -0
- package/dist/cdn/{737LK3MK.js → IR2XD6P6.js} +3 -3
- package/dist/cdn/{UF2PXUST.js → IXYFMAZY.js} +1 -1
- package/dist/cdn/JO6AAGBV.js +2 -0
- package/dist/cdn/{5Z2N5G2K.js → JTDP2THJ.js} +1 -1
- package/dist/cdn/KA4BSBVA.js +2 -0
- package/dist/cdn/KBKA3QP3.js +2 -0
- package/dist/cdn/KDYJOJ2S.js +2 -0
- package/dist/cdn/KISYVPQA.js +2 -0
- package/dist/cdn/{2NWN5I6T.js → KTHE5IC6.js} +1 -1
- package/dist/cdn/{ZAIDOCYY.js → LHEOE5LN.js} +1 -1
- package/dist/cdn/MAUJ4HUQ.js +2 -0
- package/dist/cdn/MGJN25XS.js +2 -0
- package/dist/cdn/MQRY2EYZ.js +2 -0
- package/dist/cdn/MR5ORMVY.js +2 -0
- package/dist/cdn/MZSNIA3C.js +2 -0
- package/dist/cdn/NA4ZFNCV.js +2 -0
- package/dist/cdn/NMLR7I33.js +2 -0
- package/dist/cdn/{NDRUBDOF.js → NNS7M7OW.js} +1 -1
- package/dist/cdn/{QUWXB6XH.js → NOGZZTAP.js} +1 -1
- package/dist/cdn/NZZFA6F6.js +2 -0
- package/dist/cdn/{OF3VUOXY.js → O4D2KFXK.js} +1 -1
- package/dist/cdn/O4NETRGZ.js +2 -0
- package/dist/cdn/OQNPUVUK.js +2 -0
- package/dist/cdn/PPJ4YIYD.js +2 -0
- package/dist/cdn/PT44XBUL.js +2 -0
- package/dist/cdn/QFHFFY63.js +32 -0
- package/dist/cdn/QSS4DLDZ.js +2 -0
- package/dist/cdn/REHRP6LK.js +2 -0
- package/dist/cdn/SK3SXWIS.js +2 -0
- package/dist/cdn/SUK2EU7N.js +2 -0
- package/dist/cdn/SWNLXRQP.js +2 -0
- package/dist/cdn/TAHOH5D6.js +2 -0
- package/dist/cdn/TJFJHDEJ.js +2 -0
- package/dist/cdn/TKGRT45N.js +2 -0
- package/dist/cdn/{CLEHXDRG.js → TKUAPKCR.js} +1 -1
- package/dist/cdn/{YJ5B4PNE.js → TTLM6X2H.js} +1 -1
- package/dist/cdn/TVTAA4IC.js +2 -0
- package/dist/cdn/UIOMTO3X.js +2 -0
- package/dist/cdn/{3YZMWGH2.js → UNK6HRSC.js} +1 -1
- package/dist/cdn/VPR47IMP.js +2 -0
- package/dist/cdn/{MB3EVMIM.js → W26BDESX.js} +1 -1
- package/dist/cdn/{LBO2EK4A.js → WUYK6PKY.js} +1 -1
- package/dist/cdn/X2HDENND.js +2 -0
- package/dist/cdn/Y6GE3FLR.js +2 -0
- package/dist/cdn/ZALZRTR5.js +2 -0
- package/dist/cdn/{YGNXHR5T.js → ZJG2TJC6.js} +1 -1
- package/dist/cdn/{TXSCRECL.js → ZL3FVX4B.js} +2 -2
- package/dist/cdn/{IYCVQI4V.js → ZMA6K5G6.js} +1 -1
- package/dist/cdn/ZUI6QY5V.js +2 -0
- package/dist/cdn/ZYBAYHZU.js +2 -0
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-popover/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/bar-chart-model.js +15 -16
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/box-plot-data.js +3 -3
- package/dist/chunks/box-plot-model.js +69 -67
- package/dist/chunks/chart-model.js +527 -0
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +13 -12
- package/dist/chunks/combo-bar-line-chart-model.js +40 -41
- package/dist/chunks/data.js +4 -4
- package/dist/chunks/default.js +5 -4
- package/dist/chunks/gauge-model.js +19 -18
- package/dist/chunks/generate-x-axis-title.js +1 -1
- package/dist/chunks/heat-chart-model.js +42 -43
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +43 -42
- package/dist/chunks/index.js +1128 -1195
- package/dist/chunks/interfaces.js +31 -30
- package/dist/chunks/line-chart-model.js +15 -15
- package/dist/chunks/model-setter.js +23 -18
- package/dist/chunks/model-with-guides.js +317 -0
- package/dist/chunks/model-with-line-marker-styling.js +177 -0
- package/dist/chunks/model-with-tooltips.js +315 -0
- package/dist/chunks/model-with-x-guides.js +49 -0
- package/dist/chunks/model-with-y-guides.js +629 -0
- package/dist/chunks/negative-values-stacked-to-baseline.js +77 -19
- package/dist/chunks/pie-chart-data.js +2 -2
- package/dist/chunks/pie-chart-model.js +18 -18
- package/dist/chunks/radar-chart-model.js +8 -8
- package/dist/chunks/resource.js +5 -4
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +54 -52
- package/dist/chunks/serial-chart-data.js +322 -371
- package/dist/chunks/serial-chart-model.js +295 -138
- package/dist/chunks/series-length.js +79 -0
- package/dist/chunks/series.js +37 -0
- package/dist/chunks/setup-utils.js +79 -0
- package/dist/chunks/type-guards.js +45 -44
- package/dist/chunks/utils.js +3 -3
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +63 -61
- package/dist/components/arcgis-chart/customElement.d.ts +9 -0
- package/dist/components/arcgis-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +6 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- 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/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/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-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-font-style/resource.d.ts +9 -0
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/resource.d.ts +8 -0
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/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/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/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 +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/interfaces.d.ts +77 -0
- package/dist/json-schema/index.d.ts +8498 -0
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +9 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +14 -28
- package/dist/model/chart-model/chart-model-base.d.ts +1 -0
- package/dist/model/chart-model/chart-model.d.ts +2 -31
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +11 -9
- package/dist/model/gauge-model/gauge-model.d.ts +12 -18
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +17 -2
- package/dist/model/histogram-model/histogram-model.d.ts +15 -27
- package/dist/model/line-chart-model/line-chart-model.d.ts +12 -11
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +1 -0
- package/dist/model/mixins/model-with-multi-axes.d.ts +1 -0
- package/dist/model/mixins/model-with-x-guides.d.ts +2 -8
- package/dist/model/mixins/model-with-y-guides.d.ts +2 -8
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +2 -8
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +12 -14
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +12 -11
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +16 -29
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +9 -31
- package/dist/model.js +38 -112
- package/dist/spec/config-defaults.d.ts +4 -0
- package/dist/spec/rest-js-types.d.ts +89 -224
- package/dist/spec/web-chart.d.ts +1 -2
- package/dist/utils/chart-config/interfaces.d.ts +3 -0
- package/dist/utils/chart-config/utils/index.d.ts +39 -1
- package/dist/utils/chart-config/utils/interfaces.d.ts +2 -0
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +19 -7
- package/dist/utils/components/event-payloads.d.ts +9 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -0
- package/dist/utils/data/index.d.ts +12 -0
- package/dist/utils/data/interfaces.d.ts +6 -0
- package/dist/utils/data/time-binning/interfaces.d.ts +6 -0
- package/dist/utils/defaults/index.d.ts +135 -15
- package/dist/utils/defaults/interfaces.d.ts +4 -0
- package/dist/utils/layer/index.d.ts +40 -0
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +2 -0
- package/dist/utils/layer/interfaces.d.ts +15 -2
- package/dist/utils/layer/query-features/index.d.ts +26 -1
- package/dist/utils/layer/query-features/interfaces.d.ts +3 -0
- package/dist/utils/layer/query-parser/index.d.ts +15 -1
- package/dist/utils/layer/utils/index.d.ts +16 -0
- package/dist/utils/localization/index.d.ts +10 -0
- package/dist/utils/localization/interfaces.d.ts +11 -0
- package/dist/utils/misc/index.d.ts +29 -0
- package/dist/utils/type-guards/index.d.ts +38 -3
- package/dist/utils/type-guards/series-types.d.ts +18 -0
- package/dist/utils/types/index.d.ts +31 -6
- package/dist/utils/ui/chart-ui-utils.d.ts +6 -1
- package/dist/utils/ui/popover-ui-utils.d.ts +3 -0
- package/package.json +3 -3
- package/dist/cdn/3IFN5UNC.js +0 -2
- package/dist/cdn/3NE6BHA7.js +0 -2
- package/dist/cdn/3T66I3AV.js +0 -2
- package/dist/cdn/4G3CMZYX.js +0 -2
- package/dist/cdn/5NFDDXIZ.js +0 -2
- package/dist/cdn/5ZDTPYVX.js +0 -2
- package/dist/cdn/73DP7O6V.js +0 -2
- package/dist/cdn/7BYBNK4D.js +0 -2
- package/dist/cdn/7J55VBBP.js +0 -2
- package/dist/cdn/7JHAQ55T.js +0 -2
- package/dist/cdn/7MK2A5CN.js +0 -2
- package/dist/cdn/7QAEPVLP.js +0 -2
- package/dist/cdn/AZXSIAD5.js +0 -2
- package/dist/cdn/B4ONKX76.js +0 -2
- package/dist/cdn/BGRFXQBF.js +0 -2
- package/dist/cdn/BRSFMI7W.js +0 -2
- package/dist/cdn/BZBPPMPO.js +0 -2
- package/dist/cdn/CCE73L6Y.js +0 -2
- package/dist/cdn/CN4JJBQD.js +0 -2
- package/dist/cdn/CSGEEI34.js +0 -2
- package/dist/cdn/E7HMRRLS.js +0 -2
- package/dist/cdn/EJUACEYV.js +0 -2
- package/dist/cdn/F2EEAM7D.js +0 -2
- package/dist/cdn/F32ALQAF.js +0 -2
- package/dist/cdn/FDMFAAYD.js +0 -32
- package/dist/cdn/GXU3KAZJ.js +0 -2
- package/dist/cdn/HBBVQMKS.js +0 -2
- package/dist/cdn/HKS7OKQ2.js +0 -2
- package/dist/cdn/IDUT4PPZ.js +0 -2
- package/dist/cdn/ITOFPGYG.js +0 -2
- package/dist/cdn/K35SAKH6.js +0 -2
- package/dist/cdn/K7PHN6CK.js +0 -2
- package/dist/cdn/KFJDBWIX.js +0 -2
- package/dist/cdn/KJZSK5YZ.js +0 -2
- package/dist/cdn/KTAVV3VX.js +0 -2
- package/dist/cdn/KTLKB6B4.js +0 -2
- package/dist/cdn/KVD56MDM.js +0 -2
- package/dist/cdn/L53UCZR6.js +0 -2
- package/dist/cdn/L7C7MUW3.js +0 -2
- package/dist/cdn/LWCWU4HZ.js +0 -2
- package/dist/cdn/MJMTX7G3.js +0 -2
- package/dist/cdn/MKUWP4YO.js +0 -2
- package/dist/cdn/OLWAY6BU.js +0 -2
- package/dist/cdn/P4IJGBEM.js +0 -2
- package/dist/cdn/PHOC6W4U.js +0 -2
- package/dist/cdn/PTHMEJ4M.js +0 -2
- package/dist/cdn/Q4XRMPTN.js +0 -2
- package/dist/cdn/Q65AFAC2.js +0 -2
- package/dist/cdn/QEUQO5PH.js +0 -2
- package/dist/cdn/QJ7AL2JA.js +0 -2
- package/dist/cdn/QR6LWJA6.js +0 -2
- package/dist/cdn/QRNC5B3Q.js +0 -2
- package/dist/cdn/QZQBEPBF.js +0 -2
- package/dist/cdn/R23O2O7W.js +0 -2
- package/dist/cdn/TTDJJ46R.js +0 -2
- package/dist/cdn/TZ6AFED4.js +0 -2
- package/dist/cdn/UMDCLTNE.js +0 -2
- package/dist/cdn/VPVSYP2L.js +0 -2
- package/dist/cdn/VZR5LOQW.js +0 -2
- package/dist/cdn/W7MNTZT7.js +0 -2
- package/dist/cdn/XRRVOQJ3.js +0 -2
- package/dist/cdn/XSDOT2VC.js +0 -2
- package/dist/cdn/YJC6B2JE.js +0 -2
- package/dist/cdn/YMO37QWY.js +0 -9
- package/dist/cdn/Z2RUBKU7.js +0 -2
- package/dist/cdn/ZEKY74JE.js +0 -2
- package/dist/cdn/ZWPLVA7G.js +0 -2
- package/dist/cdn/ZXRU5IEE.js +0 -2
- package/dist/chunks/data-labels-visibility.js +0 -87
- package/dist/chunks/model-with-multi-axes.js +0 -1995
- package/dist/chunks/x-axis-labels-visibility.js +0 -68
- package/dist/model/shared/utils.d.ts +0 -4
- /package/dist/cdn/{CF5YAZDQ.js → 2BRTKEX6.js} +0 -0
- /package/dist/cdn/{S24EVUYE.js → F4KKUFSS.js} +0 -0
- /package/dist/cdn/{OJHML5IU.js → Z5QOLHIZ.js} +0 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Former interface describing the property `configFields` from an inline data source.
|
|
3
3
|
* Is an object which dictate which data-item field should be used for defining a property of the rendered element (line, point, bars, etc). Used in inline data source mode only.
|
|
4
|
+
*
|
|
5
|
+
* @internal
|
|
4
6
|
*/
|
|
5
7
|
export interface WebChartConfigFields {
|
|
6
8
|
fillColor?: string;
|
|
@@ -6,6 +6,7 @@ import type { WebChart } from "../../spec/web-chart.js";
|
|
|
6
6
|
import type { RESTRendererType } from "../../spec/rest-js-object-literals.js";
|
|
7
7
|
import type { ICodedValue } from "../../spec/rest-js-types.js";
|
|
8
8
|
|
|
9
|
+
/** @internal */
|
|
9
10
|
export interface QueryObjectProps {
|
|
10
11
|
chartConfig: WebChart;
|
|
11
12
|
layer?: FeatureLayerView | SupportedLayer;
|
|
@@ -13,12 +14,14 @@ export interface QueryObjectProps {
|
|
|
13
14
|
filterByExtent?: boolean;
|
|
14
15
|
}
|
|
15
16
|
|
|
17
|
+
/** @internal */
|
|
16
18
|
export interface RendererInfo {
|
|
17
19
|
rendererType?: RESTRendererType;
|
|
18
20
|
rendererField?: string;
|
|
19
21
|
rendererNormalizationField?: string;
|
|
20
22
|
}
|
|
21
23
|
|
|
24
|
+
/** @internal */
|
|
22
25
|
export interface ServerRestInfo {
|
|
23
26
|
currentVersion?: string;
|
|
24
27
|
fullVersion?: string;
|
|
@@ -30,14 +33,22 @@ export interface ServerRestInfo {
|
|
|
30
33
|
};
|
|
31
34
|
}
|
|
32
35
|
|
|
33
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Store information about coded-value domains in the subtype
|
|
38
|
+
*
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
34
41
|
export interface ICodedValueDomain {
|
|
35
42
|
fieldName: string;
|
|
36
43
|
name: string;
|
|
37
44
|
codedValues?: ICodedValue[];
|
|
38
45
|
}
|
|
39
46
|
|
|
40
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Store information about featureType
|
|
49
|
+
*
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
41
52
|
export interface IFeatureType {
|
|
42
53
|
id: number | string;
|
|
43
54
|
name: string;
|
|
@@ -49,6 +60,8 @@ export interface IFeatureType {
|
|
|
49
60
|
* - either the couple typeIdField + types
|
|
50
61
|
* - or the couple subtypeField + subtypes
|
|
51
62
|
* representing the field name and information associating a code with a name
|
|
63
|
+
*
|
|
64
|
+
* @internal
|
|
52
65
|
*/
|
|
53
66
|
export interface SubtypeInfo {
|
|
54
67
|
typeIdField?: string;
|
|
@@ -11,6 +11,7 @@ import type { WebChartDataItem } from "../../../spec/data-source.js";
|
|
|
11
11
|
* Performs a query analytic.
|
|
12
12
|
*
|
|
13
13
|
* @param props - The object used to query (FL or FLV)
|
|
14
|
+
* @internal
|
|
14
15
|
*/
|
|
15
16
|
export function queryAnalytic(props: {
|
|
16
17
|
queryObject: QueryObject;
|
|
@@ -25,6 +26,7 @@ export function queryAnalytic(props: {
|
|
|
25
26
|
*
|
|
26
27
|
* @param x - The x field used for the stack alias
|
|
27
28
|
* @param y - The y field used by the stacks
|
|
29
|
+
* @internal
|
|
28
30
|
*/
|
|
29
31
|
export function getQueryAttributeBinsForScatterplotFieldsAlias(x: string, y: string): {
|
|
30
32
|
lowerBoundaryAlias: string;
|
|
@@ -36,6 +38,7 @@ export function getQueryAttributeBinsForScatterplotFieldsAlias(x: string, y: str
|
|
|
36
38
|
* Fetches and returns the heat chart data using query(Attribute)Bins
|
|
37
39
|
*
|
|
38
40
|
* @param props - The chart configuration
|
|
41
|
+
* @internal
|
|
39
42
|
*/
|
|
40
43
|
export function queryAttributeBinsForHeatChart(props: {
|
|
41
44
|
chartConfig: WebHeatChart;
|
|
@@ -48,6 +51,7 @@ export function queryAttributeBinsForHeatChart(props: {
|
|
|
48
51
|
* Query the features for the matrix heat chart.
|
|
49
52
|
*
|
|
50
53
|
* @param props - The chart configuration
|
|
54
|
+
* @internal
|
|
51
55
|
*/
|
|
52
56
|
export function queryFeaturesForMatrixHeatChart(props: {
|
|
53
57
|
chartConfig: WebHeatChart;
|
|
@@ -62,6 +66,7 @@ export function queryFeaturesForMatrixHeatChart(props: {
|
|
|
62
66
|
* Uses query(Attribute)Bins to fetch the aggregated scatterplot data
|
|
63
67
|
*
|
|
64
68
|
* @param props - The object used to query (FL or FLV)
|
|
69
|
+
* @internal
|
|
65
70
|
*/
|
|
66
71
|
export function queryAttributeBinsForScatterplot(props: {
|
|
67
72
|
queryObject: QueryObject;
|
|
@@ -79,6 +84,7 @@ export function queryAttributeBinsForScatterplot(props: {
|
|
|
79
84
|
* Performs a query feature count based on the provided parameters.
|
|
80
85
|
*
|
|
81
86
|
* @param props - The object used to query (FL or FLV)
|
|
87
|
+
* @internal
|
|
82
88
|
*/
|
|
83
89
|
export function queryFeatureCount(props: {
|
|
84
90
|
queryObject: QueryObject;
|
|
@@ -93,6 +99,7 @@ export function queryFeatureCount(props: {
|
|
|
93
99
|
* Returns an object mapping the outStatisticFieldName with its value
|
|
94
100
|
*
|
|
95
101
|
* @param props - The object used to query (FL or FLV)
|
|
102
|
+
* @internal
|
|
96
103
|
*/
|
|
97
104
|
export function queryStatistics<T extends Date | number | string>(props: {
|
|
98
105
|
queryObject: QueryObject;
|
|
@@ -100,11 +107,23 @@ export function queryStatistics<T extends Date | number | string>(props: {
|
|
|
100
107
|
abortKey?: AbortControllerKeyType;
|
|
101
108
|
}): Promise<Map<string, T>>;
|
|
102
109
|
|
|
110
|
+
/**
|
|
111
|
+
* @param props
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
export function queryFeatures(props: {
|
|
115
|
+
queryObject?: QueryObject;
|
|
116
|
+
queryConfig?: WebChartQuery;
|
|
117
|
+
returnUniqueIdsOnly?: boolean;
|
|
118
|
+
abortKey?: AbortControllerKeyType;
|
|
119
|
+
}): Promise<Features>;
|
|
120
|
+
|
|
103
121
|
/**
|
|
104
122
|
* Fetches all the features from the input QueryObject, according to the other specified input settings (query, outFields...).
|
|
105
123
|
* Handles the paging.
|
|
106
124
|
*
|
|
107
125
|
* @param props - The object used to query (FL or FLV)
|
|
126
|
+
* @internal
|
|
108
127
|
*/
|
|
109
128
|
export function queryAllFeatures(props: {
|
|
110
129
|
queryObject?: QueryObject;
|
|
@@ -119,6 +138,7 @@ export function queryAllFeatures(props: {
|
|
|
119
138
|
* Fetches the extent of all the features that are represented by their object ids
|
|
120
139
|
*
|
|
121
140
|
* @param props - The object used to query (FL or FLV)
|
|
141
|
+
* @internal
|
|
122
142
|
*/
|
|
123
143
|
export function queryUniqueIDs(props: {
|
|
124
144
|
queryObject?: QueryObject;
|
|
@@ -132,10 +152,14 @@ export function queryUniqueIDs(props: {
|
|
|
132
152
|
* to a unique key to avoid cancelling queries for other charts.
|
|
133
153
|
*
|
|
134
154
|
* @param key - The key pointing to the abort controller to execute
|
|
155
|
+
* @internal
|
|
135
156
|
*/
|
|
136
157
|
export function abortPendingQueries(key?: AbortControllerKeyType): void;
|
|
137
158
|
|
|
138
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* @param x
|
|
161
|
+
* @internal
|
|
162
|
+
*/
|
|
139
163
|
export function getQueryAttributeBinsForTemporalDataAliases(x: string): {
|
|
140
164
|
lowerBoundaryAlias: string;
|
|
141
165
|
upperBoundaryAlias: string;
|
|
@@ -147,6 +171,7 @@ export function getQueryAttributeBinsForTemporalDataAliases(x: string): {
|
|
|
147
171
|
* TODO: support for abortKey input parameter
|
|
148
172
|
*
|
|
149
173
|
* @param props - The object used to query (FL or FLV)
|
|
174
|
+
* @internal
|
|
150
175
|
*/
|
|
151
176
|
export function queryAttributeBinsForTemporalData(props: {
|
|
152
177
|
queryObject?: QueryObject;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type Graphic from "@arcgis/core/Graphic";
|
|
2
2
|
|
|
3
|
+
/** @internal */
|
|
3
4
|
export type AbortControllerKeyType = Date | number | string;
|
|
4
5
|
|
|
6
|
+
/** @internal */
|
|
5
7
|
export const abortControllerMap: Map<AbortControllerKeyType, AbortController>;
|
|
6
8
|
|
|
9
|
+
/** @internal */
|
|
7
10
|
export type Features = (number | string)[] | Graphic[];
|
|
@@ -15,6 +15,7 @@ import type { QueryObject } from "../interfaces.js";
|
|
|
15
15
|
* - a date filter is set
|
|
16
16
|
*
|
|
17
17
|
* @param query - The query object or query parameters
|
|
18
|
+
* @internal
|
|
18
19
|
*/
|
|
19
20
|
export function isQueryCacheable(query: AttributeBinsQuery | Query | QueryProperties): boolean;
|
|
20
21
|
|
|
@@ -26,6 +27,7 @@ export function getMaxRecords(layer?: Pick<FeatureLayer, "sourceJSON"> | Subtype
|
|
|
26
27
|
*
|
|
27
28
|
* @param filterList - The list of filters to combine
|
|
28
29
|
* @param operand - The operand to use to combine the filters (OR, AND...)
|
|
30
|
+
* @internal
|
|
29
31
|
*/
|
|
30
32
|
export function combineFilters(filterList: (string | null | undefined)[], operand?: string): string;
|
|
31
33
|
|
|
@@ -34,6 +36,7 @@ export function combineFilters(filterList: (string | null | undefined)[], operan
|
|
|
34
36
|
*
|
|
35
37
|
* @param queryObject - The layer or feature layer view
|
|
36
38
|
* @param defaultTimeExtent - The time extent defined at the series config level or provided at runtime
|
|
39
|
+
* @internal
|
|
37
40
|
*/
|
|
38
41
|
export function getQueryTimeExtent(queryObject: QueryObject, defaultTimeExtent?: WebChartQuery["timeExtent"]): WebChartQuery["timeExtent"] | undefined;
|
|
39
42
|
|
|
@@ -42,6 +45,7 @@ export function getQueryTimeExtent(queryObject: QueryObject, defaultTimeExtent?:
|
|
|
42
45
|
* over the series config extent, unless `ignoreViewExtent` is set to true.
|
|
43
46
|
*
|
|
44
47
|
* @param props - The layer or feature layer view
|
|
48
|
+
* @internal
|
|
45
49
|
*/
|
|
46
50
|
export function getQueryGeometry(props: {
|
|
47
51
|
queryObject: QueryObject;
|
|
@@ -53,6 +57,7 @@ export function getQueryGeometry(props: {
|
|
|
53
57
|
* Transforms a [timestamp, timestamp] to a JSAPI TimeExtent object
|
|
54
58
|
*
|
|
55
59
|
* @param timeExtentConfig - The time extent filter from the config
|
|
60
|
+
* @internal
|
|
56
61
|
*/
|
|
57
62
|
export function mapQueryTimeExtent(timeExtentConfig?: WebChartQuery["timeExtent"]): TimeExtent | undefined;
|
|
58
63
|
|
|
@@ -60,6 +65,7 @@ export function mapQueryTimeExtent(timeExtentConfig?: WebChartQuery["timeExtent"
|
|
|
60
65
|
* Transforms a IGeometry to a JSAPI Geometry
|
|
61
66
|
*
|
|
62
67
|
* @param geometryConfig - The geometry from the config
|
|
68
|
+
* @internal
|
|
63
69
|
*/
|
|
64
70
|
export function mapQueryGeometry(geometryConfig?: WebChartQuery["geometry"]): Geometry | null | undefined;
|
|
65
71
|
|
|
@@ -67,6 +73,7 @@ export function mapQueryGeometry(geometryConfig?: WebChartQuery["geometry"]): Ge
|
|
|
67
73
|
* Maps properties from a WebChartQuery and properties specific to temporal binning into an AttributeBinsQuery object.
|
|
68
74
|
*
|
|
69
75
|
* @param props - The layer or feature layer view
|
|
76
|
+
* @internal
|
|
70
77
|
*/
|
|
71
78
|
export function mapAttributeBinsQueryForTemporalData(props: {
|
|
72
79
|
queryObject?: QueryObject;
|
|
@@ -80,6 +87,7 @@ export function mapAttributeBinsQueryForTemporalData(props: {
|
|
|
80
87
|
* Builds a SQL expression as well as the start and end values necessary for the calendar date parts binning.
|
|
81
88
|
*
|
|
82
89
|
* @param props - The field used by the heat chart
|
|
90
|
+
* @internal
|
|
83
91
|
*/
|
|
84
92
|
export function getCalendarDatePartsParameters(props: {
|
|
85
93
|
field: string;
|
|
@@ -100,6 +108,7 @@ export function getCalendarDatePartsParameters(props: {
|
|
|
100
108
|
* Maps properties from a WebChartQuery and properties specific to heat chart into an AttributeBinsQuery object.
|
|
101
109
|
*
|
|
102
110
|
* @param props - The layer or feature layer view
|
|
111
|
+
* @internal
|
|
103
112
|
*/
|
|
104
113
|
export function mapAttributeBinsQueryForHeatChart(props: {
|
|
105
114
|
queryObject?: QueryObject;
|
|
@@ -117,6 +126,7 @@ export function mapAttributeBinsQueryForHeatChart(props: {
|
|
|
117
126
|
* Maps properties from a WebChartQuery and properties specific to temporal binning into an AttributeBinsQuery object.
|
|
118
127
|
*
|
|
119
128
|
* @param props - The layer or feature layer view
|
|
129
|
+
* @internal
|
|
120
130
|
*/
|
|
121
131
|
export function mapAttributeBinsQueryForScatterplot(props: {
|
|
122
132
|
queryObject?: QueryObject;
|
|
@@ -133,6 +143,7 @@ export function mapAttributeBinsQueryForScatterplot(props: {
|
|
|
133
143
|
* Maps properties from a WebChartQuery into a Query object.
|
|
134
144
|
*
|
|
135
145
|
* @param props - The layer or feature layer view
|
|
146
|
+
* @internal
|
|
136
147
|
*/
|
|
137
148
|
export function mapQuery(props: {
|
|
138
149
|
queryObject?: QueryObject;
|
|
@@ -140,5 +151,8 @@ export function mapQuery(props: {
|
|
|
140
151
|
maxRecordCountFactor?: number;
|
|
141
152
|
}): Query;
|
|
142
153
|
|
|
143
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* @param layer
|
|
156
|
+
* @internal
|
|
157
|
+
*/
|
|
144
158
|
export function getMaxRecordCountFactor(layer?: Pick<FeatureLayer, "sourceJSON"> | SubtypeSublayer): number | undefined;
|
|
@@ -10,6 +10,7 @@ import type { WebChart } from "../../../spec/web-chart.js";
|
|
|
10
10
|
* Indicates whether the input object is a feature collection.
|
|
11
11
|
*
|
|
12
12
|
* @param queryObject
|
|
13
|
+
* @internal
|
|
13
14
|
*/
|
|
14
15
|
export function isFeatureCollectionLayer(queryObject: QueryObject): queryObject is FeatureLayerView;
|
|
15
16
|
|
|
@@ -17,6 +18,7 @@ export function isFeatureCollectionLayer(queryObject: QueryObject): queryObject
|
|
|
17
18
|
* Indicates whether the input object is an instance of `FeatureLayerView`.
|
|
18
19
|
*
|
|
19
20
|
* @param queryObject
|
|
21
|
+
* @internal
|
|
20
22
|
*/
|
|
21
23
|
export function isFeatureLayerView(queryObject: QueryObject | SubtypeGroupLayer): queryObject is FeatureLayerView;
|
|
22
24
|
|
|
@@ -24,6 +26,7 @@ export function isFeatureLayerView(queryObject: QueryObject | SubtypeGroupLayer)
|
|
|
24
26
|
* Indicates whether the input object is an instance of `FeatureLayer`.
|
|
25
27
|
*
|
|
26
28
|
* @param queryObject
|
|
29
|
+
* @internal
|
|
27
30
|
*/
|
|
28
31
|
export function isFeatureLayer(queryObject: QueryObject): queryObject is FeatureLayer;
|
|
29
32
|
|
|
@@ -31,6 +34,7 @@ export function isFeatureLayer(queryObject: QueryObject): queryObject is Feature
|
|
|
31
34
|
* Indicates whether the input object is an instance of `SubtypeGroupLayer`.
|
|
32
35
|
*
|
|
33
36
|
* @param queryObject
|
|
37
|
+
* @internal
|
|
34
38
|
*/
|
|
35
39
|
export function isSubtypeGroupLayer(queryObject: QueryObject | SubtypeGroupLayer): queryObject is SubtypeGroupLayer;
|
|
36
40
|
|
|
@@ -38,6 +42,7 @@ export function isSubtypeGroupLayer(queryObject: QueryObject | SubtypeGroupLayer
|
|
|
38
42
|
* Indicates whether the input object is an instance of `SubtypeSublayer`.
|
|
39
43
|
*
|
|
40
44
|
* @param queryObject
|
|
45
|
+
* @internal
|
|
41
46
|
*/
|
|
42
47
|
export function isSubtypeSublayer(queryObject: Pick<SubtypeSublayer, "type"> | QueryObject): queryObject is SubtypeSublayer;
|
|
43
48
|
|
|
@@ -45,6 +50,7 @@ export function isSubtypeSublayer(queryObject: Pick<SubtypeSublayer, "type"> | Q
|
|
|
45
50
|
* Indicates whether the input object is an instance of `SupportedLayer` (`FeatureLayer` or `SubtypeSublayer`).
|
|
46
51
|
*
|
|
47
52
|
* @param queryObject
|
|
53
|
+
* @internal
|
|
48
54
|
*/
|
|
49
55
|
export function isSupportedLayer(queryObject: QueryObject): queryObject is SupportedLayer;
|
|
50
56
|
|
|
@@ -54,6 +60,7 @@ export function isSupportedLayer(queryObject: QueryObject): queryObject is Suppo
|
|
|
54
60
|
* Only needed for the case where the layer is a `SubtypeSublayer`, in which case we use the parent layer which is a `SubtypeGroupLayer`.
|
|
55
61
|
*
|
|
56
62
|
* @param layer
|
|
63
|
+
* @internal
|
|
57
64
|
*/
|
|
58
65
|
export function getMainLayer(layer: FeatureLayer | Pick<SubtypeSublayer, "parent" | "type">): FeatureLayer | SubtypeGroupLayer;
|
|
59
66
|
|
|
@@ -68,6 +75,7 @@ export function getMainLayer(layer: FeatureLayer | Pick<SubtypeSublayer, "parent
|
|
|
68
75
|
*
|
|
69
76
|
* @param layer - The layer to test
|
|
70
77
|
* @returns A boolean
|
|
78
|
+
* @internal
|
|
71
79
|
*/
|
|
72
80
|
export function doesLayerSupportQueryWithDistance(layer: SupportedLayer): boolean;
|
|
73
81
|
|
|
@@ -77,6 +85,7 @@ export function doesLayerSupportQueryWithDistance(layer: SupportedLayer): boolea
|
|
|
77
85
|
* @param layer - The layer to test
|
|
78
86
|
* @param queryObject
|
|
79
87
|
* @returns A boolean indicating whether the operation is supported
|
|
88
|
+
* @internal
|
|
80
89
|
*/
|
|
81
90
|
export function doesLayerSupportsQueryBinsForHeatChart(layer: SupportedLayer, queryObject: QueryObject): boolean;
|
|
82
91
|
|
|
@@ -88,6 +97,7 @@ export function doesLayerSupportsQueryBinsForHeatChart(layer: SupportedLayer, qu
|
|
|
88
97
|
* @param layer - The layer to test
|
|
89
98
|
* @param splitByField - The split-by field
|
|
90
99
|
* @returns A boolean indicating whether the operation is supported
|
|
100
|
+
* @internal
|
|
91
101
|
*/
|
|
92
102
|
export function doesLayerSupportsQueryBinsForTemporalData(layer?: FeatureLayerView | SubtypeGroupLayer | SupportedLayer, splitByField?: string): boolean;
|
|
93
103
|
|
|
@@ -95,6 +105,7 @@ export function doesLayerSupportsQueryBinsForTemporalData(layer?: FeatureLayerVi
|
|
|
95
105
|
* Indicates whether the layer supports the cacheHint parameter for the queryBins operation
|
|
96
106
|
*
|
|
97
107
|
* @param queryObject - The layer or feature layer view
|
|
108
|
+
* @internal
|
|
98
109
|
*/
|
|
99
110
|
export function doesLayerSupportsCacheHintForQueryBins(queryObject: QueryObject): boolean;
|
|
100
111
|
|
|
@@ -105,6 +116,7 @@ export function doesLayerSupportsCacheHintForQueryBins(queryObject: QueryObject)
|
|
|
105
116
|
* - statistics: supports MAX and COUNT
|
|
106
117
|
*
|
|
107
118
|
* @param queryObject - The layer or feature layer view
|
|
119
|
+
* @internal
|
|
108
120
|
*/
|
|
109
121
|
export function doesLayerSupportsQueryBinsForScatterplot(queryObject: QueryObject): boolean;
|
|
110
122
|
|
|
@@ -113,6 +125,7 @@ export function doesLayerSupportsQueryBinsForScatterplot(queryObject: QueryObjec
|
|
|
113
125
|
* It will use the QueryObject itself if it's a Feature Layer, or the `layer` property from it if it's a Feature Layer View.
|
|
114
126
|
*
|
|
115
127
|
* @param layerOrLayerView
|
|
128
|
+
* @internal
|
|
116
129
|
*/
|
|
117
130
|
export function getLayerFromLayerOrLayerView(layerOrLayerView: FeatureLayerView | SupportedLayer): SupportedLayer;
|
|
118
131
|
|
|
@@ -121,6 +134,7 @@ export function getLayerFromLayerOrLayerView(layerOrLayerView: FeatureLayerView
|
|
|
121
134
|
* It will use the QueryObject itself if it's a Feature Layer, or the `layer` property from it if it's a Feature Layer View.
|
|
122
135
|
*
|
|
123
136
|
* @param queryObject
|
|
137
|
+
* @internal
|
|
124
138
|
*/
|
|
125
139
|
export function getLayerFromQueryObject(queryObject: QueryObject): SupportedLayer;
|
|
126
140
|
|
|
@@ -130,6 +144,7 @@ export function getLayerFromQueryObject(queryObject: QueryObject): SupportedLaye
|
|
|
130
144
|
*
|
|
131
145
|
* @param layer - The layer instance
|
|
132
146
|
* @returns A sum up of the capabilities
|
|
147
|
+
* @internal
|
|
133
148
|
*/
|
|
134
149
|
export function getLayerSpatialAggregationStatisticsCapabilities(layer: SupportedLayer): boolean;
|
|
135
150
|
|
|
@@ -139,6 +154,7 @@ export function getLayerSpatialAggregationStatisticsCapabilities(layer: Supporte
|
|
|
139
154
|
*
|
|
140
155
|
* @param props - The chart config with no iLayer
|
|
141
156
|
* @returns The update chart config with a `iLayer` property
|
|
157
|
+
* @internal
|
|
142
158
|
*/
|
|
143
159
|
export function addILayer<T extends WebChart>(props: {
|
|
144
160
|
chartConfig: T;
|
|
@@ -5,6 +5,7 @@ import type { ErrorStrings, LocaleInfo, UtilsStrings, SupportedLocalesForFormats
|
|
|
5
5
|
* Finds the locale info of the closest element to the given element.
|
|
6
6
|
*
|
|
7
7
|
* @param element - The element to get the locale info from.
|
|
8
|
+
* @internal
|
|
8
9
|
*/
|
|
9
10
|
export function getLocaleInfo(element?: HTMLElement): LocaleInfo;
|
|
10
11
|
|
|
@@ -12,6 +13,7 @@ export function getLocaleInfo(element?: HTMLElement): LocaleInfo;
|
|
|
12
13
|
* Converts the given `timeZone` from ArcGIS `MapView` to a valid time zone string.
|
|
13
14
|
*
|
|
14
15
|
* @param timeZone
|
|
16
|
+
* @internal
|
|
15
17
|
*/
|
|
16
18
|
export function convertTimeZone(timeZone: MapView["timeZone"] | undefined): string | undefined;
|
|
17
19
|
|
|
@@ -20,6 +22,7 @@ export function convertTimeZone(timeZone: MapView["timeZone"] | undefined): stri
|
|
|
20
22
|
*
|
|
21
23
|
* @param date
|
|
22
24
|
* @param timeZone
|
|
25
|
+
* @internal
|
|
23
26
|
*/
|
|
24
27
|
export function getDateStringInCalciteDatePickerFormat(date: Date, timeZone: string): string;
|
|
25
28
|
|
|
@@ -28,6 +31,7 @@ export function getDateStringInCalciteDatePickerFormat(date: Date, timeZone: str
|
|
|
28
31
|
*
|
|
29
32
|
* @param date
|
|
30
33
|
* @param timeZone
|
|
34
|
+
* @internal
|
|
31
35
|
*/
|
|
32
36
|
export function getTimeStringInCalciteTimePickerFormat(date: Date, timeZone: string): string;
|
|
33
37
|
|
|
@@ -36,6 +40,7 @@ export function getTimeStringInCalciteTimePickerFormat(date: Date, timeZone: str
|
|
|
36
40
|
*
|
|
37
41
|
* @param localizedString - string that has to be parsed
|
|
38
42
|
* @param locale - locale used for parsing the float
|
|
43
|
+
* @internal
|
|
39
44
|
*/
|
|
40
45
|
export function localeParseFloat(localizedString: string, locale?: string): number;
|
|
41
46
|
|
|
@@ -43,17 +48,22 @@ export function localeParseFloat(localizedString: string, locale?: string): numb
|
|
|
43
48
|
* Gets the format locale from the given element.
|
|
44
49
|
*
|
|
45
50
|
* @param element - HTMLElement to get the locale from
|
|
51
|
+
* @internal
|
|
46
52
|
*/
|
|
47
53
|
export function getElementFormatLocale(element: HTMLElement): SupportedLocalesForFormats;
|
|
48
54
|
|
|
49
55
|
/**
|
|
50
56
|
* Returns a default `CommonStrings` t9n object.
|
|
51
57
|
* This is used by the chart components unit tests and the charts-js Storybook demos.
|
|
58
|
+
*
|
|
59
|
+
* @internal
|
|
52
60
|
*/
|
|
53
61
|
export function getDefaultErrorsStrings(): Promise<ErrorStrings>;
|
|
54
62
|
|
|
55
63
|
/**
|
|
56
64
|
* Returns a default `UtilsStrings` t9n object.
|
|
57
65
|
* This is used by the chart components unit tests and the charts-js Storybook demos.
|
|
66
|
+
*
|
|
67
|
+
* @internal
|
|
58
68
|
*/
|
|
59
69
|
export function getDefaultUtilsStrings(): Promise<UtilsStrings>;
|
|
@@ -8,17 +8,22 @@ export type UtilsStrings = ReturnType<typeof CommonStringsIdentity>["utilsString
|
|
|
8
8
|
|
|
9
9
|
export type CustomAmchartsStrings = ReturnType<typeof CommonStringsIdentity>["customAmchartsStrings"];
|
|
10
10
|
|
|
11
|
+
/** @internal */
|
|
11
12
|
export type LocaleItem = { [key: string]: LocaleItem | string; };
|
|
12
13
|
|
|
14
|
+
/** @internal */
|
|
13
15
|
export interface ComponentLocaleItem<T extends LocaleItem> {
|
|
14
16
|
strings: T;
|
|
15
17
|
direction: "ltr" | "rtl";
|
|
16
18
|
}
|
|
17
19
|
|
|
20
|
+
/** @internal */
|
|
18
21
|
export const SupportedLocalesForFormats: (("id" | "ar" | "bg" | "bs" | "ca" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "he" | "hr" | "hu" | "it" | "ja" | "ko" | "lt" | "lv" | "nl" | "nb" | "no" | "pl" | "pt-BR" | "pt-PT" | "ro" | "ru" | "sk" | "sl" | "sr" | "sv" | "th" | "tr" | "uk" | "vi" | "zh-CN" | "zh-HK" | "zh-TW") | string | string | string | string | string | string | string | string | string | string | string)[];
|
|
19
22
|
|
|
23
|
+
/** @internal */
|
|
20
24
|
export type SupportedLocalesForFormats = SupportedLocale | "ar-u-nu-latn" | "de-AT" | "de-CH" | "de-DE" | "en-AU" | "en-GB" | "es-ES" | "es-MX" | "fr-CA" | "it-CH" | "it-IT";
|
|
21
25
|
|
|
26
|
+
/** @internal */
|
|
22
27
|
export interface LocaleInfo {
|
|
23
28
|
locale: SupportedLocale;
|
|
24
29
|
formatLocale: SupportedLocalesForFormats;
|
|
@@ -36,6 +41,8 @@ export const CommonStringsIdentity: (value: {
|
|
|
36
41
|
scatterplot: string;
|
|
37
42
|
boxPlot: string;
|
|
38
43
|
heatChart: string;
|
|
44
|
+
calendarHeatChart: string;
|
|
45
|
+
matrixHeatChart: string;
|
|
39
46
|
};
|
|
40
47
|
statistics: {
|
|
41
48
|
mean: string;
|
|
@@ -82,6 +89,7 @@ export const CommonStringsIdentity: (value: {
|
|
|
82
89
|
weekOfYear: string;
|
|
83
90
|
quarterOfYear: string;
|
|
84
91
|
};
|
|
92
|
+
null: string;
|
|
85
93
|
};
|
|
86
94
|
errorStrings: {
|
|
87
95
|
errorHeading: string;
|
|
@@ -288,6 +296,8 @@ export const CommonStringsIdentity: (value: {
|
|
|
288
296
|
scatterplot: string;
|
|
289
297
|
boxPlot: string;
|
|
290
298
|
heatChart: string;
|
|
299
|
+
calendarHeatChart: string;
|
|
300
|
+
matrixHeatChart: string;
|
|
291
301
|
};
|
|
292
302
|
statistics: {
|
|
293
303
|
mean: string;
|
|
@@ -334,6 +344,7 @@ export const CommonStringsIdentity: (value: {
|
|
|
334
344
|
weekOfYear: string;
|
|
335
345
|
quarterOfYear: string;
|
|
336
346
|
};
|
|
347
|
+
null: string;
|
|
337
348
|
};
|
|
338
349
|
errorStrings: {
|
|
339
350
|
errorHeading: string;
|