@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
|
@@ -4,28 +4,40 @@ import type { CategoryFormatOptions, DateTimeFormatOptions, HistogramOverlays, N
|
|
|
4
4
|
import type { CommonStrings } from "../localization/interfaces.js";
|
|
5
5
|
import type { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, QueryDefaults, TextElements } from "./interfaces.js";
|
|
6
6
|
|
|
7
|
+
/** @internal */
|
|
7
8
|
export const histogramBinCount: 32;
|
|
8
9
|
|
|
10
|
+
/** @internal */
|
|
9
11
|
export const featuresExtentField: "arcgis_charts_features_extent";
|
|
10
12
|
|
|
13
|
+
/** @internal */
|
|
11
14
|
export const queryDefaults: QueryDefaults;
|
|
12
15
|
|
|
16
|
+
/** @internal */
|
|
13
17
|
export const queryCalculatedExpr: (string | string | string | string)[];
|
|
14
18
|
|
|
19
|
+
/** @internal */
|
|
15
20
|
export const fullOpacity: 1;
|
|
16
21
|
|
|
22
|
+
/** @internal */
|
|
17
23
|
export const reducedOpacity: 0.7;
|
|
18
24
|
|
|
25
|
+
/** @internal */
|
|
19
26
|
export const defaultGridLineOpacity: 25;
|
|
20
27
|
|
|
28
|
+
/** @internal */
|
|
21
29
|
export const defaultAxisLineColor: Color;
|
|
22
30
|
|
|
31
|
+
/** @internal */
|
|
23
32
|
export const defaultPieTickColor: Color;
|
|
24
33
|
|
|
34
|
+
/** @internal */
|
|
25
35
|
export const defaultLineSymbolStyle: "esriSLSSolid";
|
|
26
36
|
|
|
37
|
+
/** @internal */
|
|
27
38
|
export const defaultLineSymbolWidth: 2;
|
|
28
39
|
|
|
40
|
+
/** @internal */
|
|
29
41
|
export const pieChartSpecialSlicesId: {
|
|
30
42
|
defaultGroupOfSlicesId: string;
|
|
31
43
|
sliceIdPrefix: string;
|
|
@@ -34,23 +46,33 @@ export const pieChartSpecialSlicesId: {
|
|
|
34
46
|
emptySliceId: string;
|
|
35
47
|
};
|
|
36
48
|
|
|
49
|
+
/** @internal */
|
|
37
50
|
export const defaultBoxPlotCategory: "arcgis_charts_box_plot_category";
|
|
38
51
|
|
|
52
|
+
/** @internal */
|
|
39
53
|
export const defaultHeatChartFields: {
|
|
40
54
|
valueField: string;
|
|
41
55
|
xField: string;
|
|
42
56
|
yField: string;
|
|
43
57
|
};
|
|
44
58
|
|
|
59
|
+
/** @internal */
|
|
45
60
|
export const defaultHeatChartNumberOfBreaks: {
|
|
46
61
|
min: number;
|
|
47
62
|
max: number;
|
|
48
63
|
};
|
|
49
64
|
|
|
65
|
+
/**
|
|
66
|
+
* default color set from Pro
|
|
67
|
+
*
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
50
70
|
export const ramp: Color[];
|
|
51
71
|
|
|
72
|
+
/** @internal */
|
|
52
73
|
export const darkModeRamp: Color[];
|
|
53
74
|
|
|
75
|
+
/** @internal */
|
|
54
76
|
export const darkModeOverlayRamp: Color[];
|
|
55
77
|
|
|
56
78
|
/**
|
|
@@ -58,6 +80,7 @@ export const darkModeOverlayRamp: Color[];
|
|
|
58
80
|
* we use modulo to get the corresponding color.
|
|
59
81
|
*
|
|
60
82
|
* @param props - The index to fetch the color from the `ramp` or `overlayRamp` array
|
|
83
|
+
* @internal
|
|
61
84
|
*/
|
|
62
85
|
export function getOneRampColor(props: {
|
|
63
86
|
colorIndex?: number;
|
|
@@ -65,13 +88,17 @@ export function getOneRampColor(props: {
|
|
|
65
88
|
histogramOverlays?: boolean;
|
|
66
89
|
}): Color;
|
|
67
90
|
|
|
68
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* @param opacity
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
69
95
|
export function getDefaultColor(opacity?: number): Color;
|
|
70
96
|
|
|
71
97
|
/**
|
|
72
98
|
* Gets default cursor crosshair
|
|
73
99
|
*
|
|
74
100
|
* @returns default cursor crosshair
|
|
101
|
+
* @internal
|
|
75
102
|
*/
|
|
76
103
|
export function getDefaultCursorCrosshair(): WebChartCursorCrosshair;
|
|
77
104
|
|
|
@@ -79,23 +106,34 @@ export function getDefaultCursorCrosshair(): WebChartCursorCrosshair;
|
|
|
79
106
|
* random color with alpha 70% for authoring page.
|
|
80
107
|
*
|
|
81
108
|
* @param opacityPercentage - default is 1
|
|
109
|
+
* @internal
|
|
82
110
|
*/
|
|
83
111
|
export function generateRandomRestColor(opacityPercentage?: number): Color;
|
|
84
112
|
|
|
85
|
-
/**
|
|
113
|
+
/**
|
|
114
|
+
* @param type
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
86
117
|
export function getDefaultFont(type?: TextElements): IFont;
|
|
87
118
|
|
|
88
119
|
/**
|
|
89
120
|
* @param text
|
|
90
121
|
* @param font
|
|
91
122
|
* @param type
|
|
123
|
+
* @internal
|
|
92
124
|
*/
|
|
93
125
|
export function getDefaultTextSymbol(text?: string, font?: IFont, type?: TextElements): WebChartTextSymbol;
|
|
94
126
|
|
|
95
|
-
/**
|
|
127
|
+
/**
|
|
128
|
+
* @param props
|
|
129
|
+
* @internal
|
|
130
|
+
*/
|
|
96
131
|
export function getDefaultChartText(props?: ChartTextProps): WebChartText;
|
|
97
132
|
|
|
98
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* @param props
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
99
137
|
export function getDefaultLineSymbol(props?: {
|
|
100
138
|
color?: Color;
|
|
101
139
|
useRandomColor?: boolean;
|
|
@@ -105,32 +143,49 @@ export function getDefaultLineSymbol(props?: {
|
|
|
105
143
|
isHistogramOverlay?: boolean;
|
|
106
144
|
}): ISimpleLineSymbol;
|
|
107
145
|
|
|
146
|
+
/** @internal */
|
|
108
147
|
export function getDefaultCategoryFormat(): CategoryFormatOptions;
|
|
109
148
|
|
|
149
|
+
/** @internal */
|
|
110
150
|
export function getDefaultDateFormat(): DateTimeFormatOptions;
|
|
111
151
|
|
|
152
|
+
/** @internal */
|
|
112
153
|
export function getDefaultNumberFormat(): NumberFormatOptions;
|
|
113
154
|
|
|
155
|
+
/** @internal */
|
|
114
156
|
export function getDefaultStatNumberFormat(): NumberFormatOptions;
|
|
115
157
|
|
|
158
|
+
/** @internal */
|
|
116
159
|
export function getDefaultPercentNumberFormat(): NumberFormatOptions;
|
|
117
160
|
|
|
118
|
-
/**
|
|
161
|
+
/**
|
|
162
|
+
* @param text
|
|
163
|
+
* @internal
|
|
164
|
+
*/
|
|
119
165
|
export function getDefaultValueAxis(text?: string): WebChartAxis;
|
|
120
166
|
|
|
167
|
+
/** @internal */
|
|
121
168
|
export function getDefaultLegend(): WebChartLegend;
|
|
122
169
|
|
|
123
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* @param overlayIndex
|
|
172
|
+
* @internal
|
|
173
|
+
*/
|
|
124
174
|
export function getDefaultOverlay(overlayIndex: number): WebChartOverlay;
|
|
125
175
|
|
|
176
|
+
/** @internal */
|
|
126
177
|
export function getDefaultBackground(): Color;
|
|
127
178
|
|
|
128
|
-
/**
|
|
179
|
+
/**
|
|
180
|
+
* @param commonStrings
|
|
181
|
+
* @internal
|
|
182
|
+
*/
|
|
129
183
|
export function getDefaultTitle(commonStrings: CommonStrings): string;
|
|
130
184
|
|
|
131
185
|
/**
|
|
132
186
|
* @param seriesIndex
|
|
133
187
|
* @param useRandomColor
|
|
188
|
+
* @internal
|
|
134
189
|
*/
|
|
135
190
|
export function getDefaultBoxPlotElementSymbol(seriesIndex: number | undefined, useRandomColor?: boolean): ISimpleFillSymbol;
|
|
136
191
|
|
|
@@ -138,6 +193,7 @@ export function getDefaultBoxPlotElementSymbol(seriesIndex: number | undefined,
|
|
|
138
193
|
* Returns a default marker symbol for a line chart
|
|
139
194
|
*
|
|
140
195
|
* @param seriesIndex - The series index to pick a symbol color
|
|
196
|
+
* @internal
|
|
141
197
|
*/
|
|
142
198
|
export function getDefaultLineChartMarkerSymbol(seriesIndex?: number): ISimpleMarkerSymbol;
|
|
143
199
|
|
|
@@ -145,23 +201,33 @@ export function getDefaultLineChartMarkerSymbol(seriesIndex?: number): ISimpleMa
|
|
|
145
201
|
* Returns a default line symbol for a line chart
|
|
146
202
|
*
|
|
147
203
|
* @param seriesIndex - The series index to pick a symbol color
|
|
204
|
+
* @internal
|
|
148
205
|
*/
|
|
149
206
|
export function getDefaultLineChartLineSymbol(seriesIndex?: number): ISimpleLineSymbol;
|
|
150
207
|
|
|
151
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* @param useRandomColor
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
152
212
|
export function getDefaultScatterplotMarkerSymbol(useRandomColor?: boolean): ISimpleMarkerSymbol;
|
|
153
213
|
|
|
214
|
+
/** @internal */
|
|
154
215
|
export function getDefaultScatterplotSizePolicy(): Required<SizePolicy>;
|
|
155
216
|
|
|
156
|
-
/**
|
|
217
|
+
/**
|
|
218
|
+
* @param useRandomColor
|
|
219
|
+
* @internal
|
|
220
|
+
*/
|
|
157
221
|
export function getDefaultTrendLine(useRandomColor?: boolean): Required<ScatterplotOverlays>;
|
|
158
222
|
|
|
159
223
|
/**
|
|
160
224
|
* @param commonStrings
|
|
161
225
|
* @param objectIDField
|
|
226
|
+
* @internal
|
|
162
227
|
*/
|
|
163
228
|
export function getHeatChartSeries(commonStrings: CommonStrings, objectIDField?: string): WebChartHeatChartSeries;
|
|
164
229
|
|
|
230
|
+
/** @internal */
|
|
165
231
|
export function getScatterplotSeries(): WebChartScatterplotSeries;
|
|
166
232
|
|
|
167
233
|
/**
|
|
@@ -169,16 +235,22 @@ export function getScatterplotSeries(): WebChartScatterplotSeries;
|
|
|
169
235
|
*
|
|
170
236
|
* @param commonStrings - The common strings used in the chart
|
|
171
237
|
* @param chartType - The type of WebChart which is of type WebChartTypes
|
|
238
|
+
* @internal
|
|
172
239
|
*/
|
|
173
240
|
export function getDefaultAxes(commonStrings: CommonStrings, chartType: WebChartTypes): WebChartAxis[];
|
|
174
241
|
|
|
175
|
-
/**
|
|
242
|
+
/**
|
|
243
|
+
* Returns the default gauge needle
|
|
244
|
+
*
|
|
245
|
+
* @internal
|
|
246
|
+
*/
|
|
176
247
|
export function getDefaultGaugeNeedle(): WebChartNeedle;
|
|
177
248
|
|
|
178
249
|
/**
|
|
179
250
|
* Returns the gauge axes
|
|
180
251
|
*
|
|
181
252
|
* @param commonStrings
|
|
253
|
+
* @internal
|
|
182
254
|
*/
|
|
183
255
|
export function getGaugeAxes(commonStrings: CommonStrings): WebChartGaugeAxis[];
|
|
184
256
|
|
|
@@ -186,6 +258,7 @@ export function getGaugeAxes(commonStrings: CommonStrings): WebChartGaugeAxis[];
|
|
|
186
258
|
* Returns a default LineChartSeries object as per the WebChart Specification
|
|
187
259
|
*
|
|
188
260
|
* @param props
|
|
261
|
+
* @internal
|
|
189
262
|
*/
|
|
190
263
|
export function getDefaultLineChartSeries(props: {
|
|
191
264
|
commonStrings: CommonStrings;
|
|
@@ -197,6 +270,7 @@ export function getDefaultLineChartSeries(props: {
|
|
|
197
270
|
* Returns a default RadarChartSeries object as per the WebChart Specification
|
|
198
271
|
*
|
|
199
272
|
* @param props
|
|
273
|
+
* @internal
|
|
200
274
|
*/
|
|
201
275
|
export function getDefaultRadarChartSeries(props: {
|
|
202
276
|
commonStrings: CommonStrings;
|
|
@@ -208,6 +282,7 @@ export function getDefaultRadarChartSeries(props: {
|
|
|
208
282
|
* Returns a default symbol for a bar chart series
|
|
209
283
|
*
|
|
210
284
|
* @param seriesIndex - The series index to pick a symbol color
|
|
285
|
+
* @internal
|
|
211
286
|
*/
|
|
212
287
|
export function getDefaultBarChartSeriesSymbol(seriesIndex?: number): ISimpleFillSymbol;
|
|
213
288
|
|
|
@@ -215,6 +290,7 @@ export function getDefaultBarChartSeriesSymbol(seriesIndex?: number): ISimpleFil
|
|
|
215
290
|
* Returns a default BarChartSeries object as per the WebChart Specification
|
|
216
291
|
*
|
|
217
292
|
* @param props
|
|
293
|
+
* @internal
|
|
218
294
|
*/
|
|
219
295
|
export function getDefaultBarChartSeries(props: {
|
|
220
296
|
objectIDField?: string;
|
|
@@ -227,13 +303,22 @@ export function getDefaultBarChartSeries(props: {
|
|
|
227
303
|
*
|
|
228
304
|
* @param commonStrings
|
|
229
305
|
* @param seriesIndex
|
|
306
|
+
* @internal
|
|
230
307
|
*/
|
|
231
308
|
export function getDefaultBoxPlotSeries(commonStrings: CommonStrings, seriesIndex?: number): WebChartBoxPlotSeries;
|
|
232
309
|
|
|
233
|
-
/**
|
|
310
|
+
/**
|
|
311
|
+
* Returns a default pie chart tick object as per the WebChart Specification
|
|
312
|
+
*
|
|
313
|
+
* @internal
|
|
314
|
+
*/
|
|
234
315
|
export function getDefaultPieChartTick(): WebChartPieChartTick;
|
|
235
316
|
|
|
236
|
-
/**
|
|
317
|
+
/**
|
|
318
|
+
* Returns a default symbol for a pie chart
|
|
319
|
+
*
|
|
320
|
+
* @internal
|
|
321
|
+
*/
|
|
237
322
|
export function getDefaultPieChartSymbol(): ISimpleFillSymbol;
|
|
238
323
|
|
|
239
324
|
/**
|
|
@@ -241,6 +326,7 @@ export function getDefaultPieChartSymbol(): ISimpleFillSymbol;
|
|
|
241
326
|
*
|
|
242
327
|
* @param commonStrings
|
|
243
328
|
* @param objectIDField
|
|
329
|
+
* @internal
|
|
244
330
|
*/
|
|
245
331
|
export function getDefaultPieChartSeries(commonStrings: CommonStrings, objectIDField?: string): Required<Pick<WebChartPieChartSeries, "dataLabels" | "fillSymbol" | "query">> & WebChartPieChartSeries;
|
|
246
332
|
|
|
@@ -248,51 +334,63 @@ export function getDefaultPieChartSeries(commonStrings: CommonStrings, objectIDF
|
|
|
248
334
|
* Returns a default GaugeSeries object as per the WebChart Specification
|
|
249
335
|
*
|
|
250
336
|
* @param props
|
|
337
|
+
* @internal
|
|
251
338
|
*/
|
|
252
339
|
export function getDefaultGaugeSeries(props: { objectIDField?: string; }): WebChartGaugeSeries;
|
|
253
340
|
|
|
254
|
-
/**
|
|
341
|
+
/**
|
|
342
|
+
* Returns the default chart rotation.
|
|
343
|
+
*
|
|
344
|
+
* @internal
|
|
345
|
+
*/
|
|
255
346
|
export function getDefaultChartRotation(): boolean;
|
|
256
347
|
|
|
257
348
|
/**
|
|
258
349
|
* @param commonStrings
|
|
259
350
|
* @param id
|
|
351
|
+
* @internal
|
|
260
352
|
*/
|
|
261
353
|
export function getDefaultBarChart(commonStrings: CommonStrings, id?: string): WebChart;
|
|
262
354
|
|
|
263
355
|
/**
|
|
264
356
|
* @param commonStrings
|
|
265
357
|
* @param id
|
|
358
|
+
* @internal
|
|
266
359
|
*/
|
|
267
360
|
export function getDefaultBoxPlot(commonStrings: CommonStrings, id?: string): WebBoxPlot;
|
|
268
361
|
|
|
269
362
|
/**
|
|
270
363
|
* @param commonStrings
|
|
271
364
|
* @param id
|
|
365
|
+
* @internal
|
|
272
366
|
*/
|
|
273
367
|
export function getDefaultLineChart(commonStrings: CommonStrings, id?: string): WebChart;
|
|
274
368
|
|
|
275
369
|
/**
|
|
276
370
|
* @param commonStrings
|
|
277
371
|
* @param id
|
|
372
|
+
* @internal
|
|
278
373
|
*/
|
|
279
374
|
export function getDefaultRadarChart(commonStrings: CommonStrings, id?: string): WebChart;
|
|
280
375
|
|
|
281
376
|
/**
|
|
282
377
|
* @param commonStrings
|
|
283
378
|
* @param id
|
|
379
|
+
* @internal
|
|
284
380
|
*/
|
|
285
381
|
export function getDefaultPieChart(commonStrings: CommonStrings, id?: string): WebChart;
|
|
286
382
|
|
|
287
383
|
/**
|
|
288
384
|
* @param commonStrings
|
|
289
385
|
* @param id
|
|
386
|
+
* @internal
|
|
290
387
|
*/
|
|
291
388
|
export function getDefaultGauge(commonStrings: CommonStrings, id?: string): WebGaugeChart;
|
|
292
389
|
|
|
293
390
|
/**
|
|
294
391
|
* @param commonStrings
|
|
295
392
|
* @param id
|
|
393
|
+
* @internal
|
|
296
394
|
*/
|
|
297
395
|
export function getDefaultScatterplot(commonStrings: CommonStrings, id?: string): WebChart;
|
|
298
396
|
|
|
@@ -302,18 +400,23 @@ export function getDefaultScatterplot(commonStrings: CommonStrings, id?: string)
|
|
|
302
400
|
* @param commonStrings - Common strings
|
|
303
401
|
* @param objectIDField - Object ID field
|
|
304
402
|
* @returns WebHeatChart
|
|
403
|
+
* @internal
|
|
305
404
|
*/
|
|
306
405
|
export function getDefaultHeatChart(commonStrings: CommonStrings, objectIDField: string): WebHeatChart;
|
|
307
406
|
|
|
407
|
+
/** @internal */
|
|
308
408
|
export function getDefaultHistogramOverlays(): Required<HistogramOverlays>;
|
|
309
409
|
|
|
410
|
+
/** @internal */
|
|
310
411
|
export function getDefaultHistogramSymbol(): ISimpleFillSymbol;
|
|
311
412
|
|
|
413
|
+
/** @internal */
|
|
312
414
|
export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeries>, "dataTooltipDateFormat" | "dataTooltipPercentFormat" | "dataTooltipValueFormat" | "query">;
|
|
313
415
|
|
|
314
416
|
/**
|
|
315
417
|
* @param commonStrings
|
|
316
418
|
* @param id
|
|
419
|
+
* @internal
|
|
317
420
|
*/
|
|
318
421
|
export function getDefaultHistogram(commonStrings: CommonStrings, id?: string): WebChart;
|
|
319
422
|
|
|
@@ -322,10 +425,15 @@ export function getDefaultHistogram(commonStrings: CommonStrings, id?: string):
|
|
|
322
425
|
* or let as defaults.
|
|
323
426
|
*
|
|
324
427
|
* @param customizedLimits
|
|
428
|
+
* @internal
|
|
325
429
|
*/
|
|
326
430
|
export function getChartLimits(customizedLimits?: ChartElementLimit): Required<ChartElementLimit>;
|
|
327
431
|
|
|
328
|
-
/**
|
|
432
|
+
/**
|
|
433
|
+
* Returns a list of technical limitations, mainly to the size of large queries.
|
|
434
|
+
*
|
|
435
|
+
* @internal
|
|
436
|
+
*/
|
|
329
437
|
export function getChartTechnicalLimits(): ChartElementTechnicalLimit;
|
|
330
438
|
|
|
331
439
|
/**
|
|
@@ -333,6 +441,7 @@ export function getChartTechnicalLimits(): ChartElementTechnicalLimit;
|
|
|
333
441
|
*
|
|
334
442
|
* @param aggregationType
|
|
335
443
|
* @param commonStrings
|
|
444
|
+
* @internal
|
|
336
445
|
*/
|
|
337
446
|
export function getDefaultAggregationTypeLabel(aggregationType: string | undefined, commonStrings: CommonStrings): string;
|
|
338
447
|
|
|
@@ -341,25 +450,36 @@ export function getDefaultAggregationTypeLabel(aggregationType: string | undefin
|
|
|
341
450
|
*
|
|
342
451
|
* @param timeAggregationType
|
|
343
452
|
* @param commonStrings
|
|
453
|
+
* @internal
|
|
344
454
|
*/
|
|
345
455
|
export function getDefaultTimeAggregationTypeLabel(timeAggregationType: string | undefined, commonStrings: CommonStrings): string;
|
|
346
456
|
|
|
347
|
-
/**
|
|
457
|
+
/**
|
|
458
|
+
* Returns the default stacked type for Bar or Line chart with multiple series.
|
|
459
|
+
*
|
|
460
|
+
* @internal
|
|
461
|
+
*/
|
|
348
462
|
export function getDefaultStackedType(): WebChartStackedKinds;
|
|
349
463
|
|
|
350
464
|
/**
|
|
351
465
|
* Returns the default label to show when there is no R2 value computed or set for scatterplot
|
|
352
466
|
*
|
|
353
467
|
* @param commonStrings
|
|
468
|
+
* @internal
|
|
354
469
|
*/
|
|
355
470
|
export function getDefaultNoR2Label(commonStrings: CommonStrings): string;
|
|
356
471
|
|
|
472
|
+
/** @internal */
|
|
357
473
|
export const pieChartInnerRadius: 0;
|
|
358
474
|
|
|
475
|
+
/** @internal */
|
|
359
476
|
export const boxPlotOutliersSuffix: "_arcgis_charts_outliers";
|
|
360
477
|
|
|
478
|
+
/** @internal */
|
|
361
479
|
export const boxPlotZScoreSuffix: "_arcgis_charts_z_score";
|
|
362
480
|
|
|
481
|
+
/** @internal */
|
|
363
482
|
export const defaultColorForBoxPlotWithMeanLines: Color;
|
|
364
483
|
|
|
484
|
+
/** @internal */
|
|
365
485
|
export const percentageSuffix: " percentage ";
|
|
@@ -44,6 +44,7 @@ export interface ChartElementTechnicalLimit {
|
|
|
44
44
|
maxOperandsPerWhereClause: number;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
/** @internal */
|
|
47
48
|
export interface QueryDefaults {
|
|
48
49
|
maxRecordCountFactor: number;
|
|
49
50
|
maxParallelRequests: number;
|
|
@@ -53,6 +54,7 @@ export interface QueryDefaults {
|
|
|
53
54
|
orderByJSAPIDelimiter: string;
|
|
54
55
|
}
|
|
55
56
|
|
|
57
|
+
/** @internal */
|
|
56
58
|
export interface ChartTextProps {
|
|
57
59
|
text: string;
|
|
58
60
|
visible: boolean;
|
|
@@ -60,6 +62,7 @@ export interface ChartTextProps {
|
|
|
60
62
|
type?: TextElements;
|
|
61
63
|
}
|
|
62
64
|
|
|
65
|
+
/** @internal */
|
|
63
66
|
export const TextElements: {
|
|
64
67
|
readonly AxisLabels: "axisLabels";
|
|
65
68
|
readonly GuideLabel: "guideLabel";
|
|
@@ -72,4 +75,5 @@ export const TextElements: {
|
|
|
72
75
|
readonly DescriptionText: "descriptionText";
|
|
73
76
|
};
|
|
74
77
|
|
|
78
|
+
/** @internal */
|
|
75
79
|
export type TextElements = (typeof TextElements)[keyof typeof TextElements];
|
|
@@ -12,6 +12,7 @@ import type { WebChart, WebChartDataFilters, WebChartQuery } from "../../spec/we
|
|
|
12
12
|
* Returns the renderer type and the field and normalization field if applicable.
|
|
13
13
|
*
|
|
14
14
|
* @param layerRenderer
|
|
15
|
+
* @internal
|
|
15
16
|
*/
|
|
16
17
|
export function getRendererInfo(layerRenderer?: Renderer): RendererInfo;
|
|
17
18
|
|
|
@@ -19,6 +20,8 @@ export function getRendererInfo(layerRenderer?: Renderer): RendererInfo;
|
|
|
19
20
|
* Function creating a FeatureLayer from a set of parameters.
|
|
20
21
|
* It returns the created Feature Layer.
|
|
21
22
|
* It is memoized (cached) to avoid multiple requests for a same feature layer.
|
|
23
|
+
*
|
|
24
|
+
* @internal
|
|
22
25
|
*/
|
|
23
26
|
export const getFeatureLayer: (featureLayer: IFeatureLayer) => Promise<FeatureLayer>;
|
|
24
27
|
|
|
@@ -27,6 +30,7 @@ export const getFeatureLayer: (featureLayer: IFeatureLayer) => Promise<FeatureLa
|
|
|
27
30
|
* If can return either a FeatureLayer or a FeatureLayerView (and possibly nothing)
|
|
28
31
|
*
|
|
29
32
|
* @param props
|
|
33
|
+
* @internal
|
|
30
34
|
*/
|
|
31
35
|
export function getQueryObject(props: QueryObjectProps): Promise<QueryObject>;
|
|
32
36
|
|
|
@@ -35,6 +39,7 @@ export function getQueryObject(props: QueryObjectProps): Promise<QueryObject>;
|
|
|
35
39
|
*
|
|
36
40
|
* @param queryObject
|
|
37
41
|
* @param usePopupTemplateFieldsInfo - whether to use the aliases from the popupTemplate
|
|
42
|
+
* @internal
|
|
38
43
|
*/
|
|
39
44
|
export function fetchLayerFieldsInfo(queryObject: QueryObject, usePopupTemplateFieldsInfo?: boolean): Promise<IField[]>;
|
|
40
45
|
|
|
@@ -44,6 +49,7 @@ export function fetchLayerFieldsInfo(queryObject: QueryObject, usePopupTemplateF
|
|
|
44
49
|
*
|
|
45
50
|
* @param fieldName - The list of fields containing all the information regarding the fields, including the name
|
|
46
51
|
* @param fields
|
|
52
|
+
* @internal
|
|
47
53
|
*/
|
|
48
54
|
export function getFieldFromName(fieldName: string, fields?: IField[]): IField | undefined;
|
|
49
55
|
|
|
@@ -54,6 +60,7 @@ export function getFieldFromName(fieldName: string, fields?: IField[]): IField |
|
|
|
54
60
|
* @param layer - The layer
|
|
55
61
|
* @returns An object containing the unique ID fields or the object ID field and a boolean indicating if it is a traditional Object ID field
|
|
56
62
|
* When the layer is undefined, returns undefined ID fields and false for the boolean.
|
|
63
|
+
* @internal
|
|
57
64
|
*/
|
|
58
65
|
export function getLayerUniqueIdOrObjectIdFields(layer?: SupportedLayer): {
|
|
59
66
|
idFields: string[] | undefined;
|
|
@@ -65,6 +72,7 @@ export function getLayerUniqueIdOrObjectIdFields(layer?: SupportedLayer): {
|
|
|
65
72
|
* If the layer has unique ID fields defined, the first field is returned.
|
|
66
73
|
*
|
|
67
74
|
* @param layer - The layer
|
|
75
|
+
* @internal
|
|
68
76
|
*/
|
|
69
77
|
export function getObjectIdField(layer?: SupportedLayer): {
|
|
70
78
|
idField: string;
|
|
@@ -76,6 +84,7 @@ export function getObjectIdField(layer?: SupportedLayer): {
|
|
|
76
84
|
* Fields descriptions are [here](http://resources.esri.com/help/9.3/ArcGISEngine/ArcObjects/esriGeoDatabase/esriFieldType.htm).
|
|
77
85
|
*
|
|
78
86
|
* @param field
|
|
87
|
+
* @internal
|
|
79
88
|
*/
|
|
80
89
|
export function isNumericField(field: IField): boolean;
|
|
81
90
|
|
|
@@ -84,6 +93,7 @@ export function isNumericField(field: IField): boolean;
|
|
|
84
93
|
* Fields descriptions are [here](http://resources.esri.com/help/9.3/ArcGISEngine/ArcObjects/esriGeoDatabase/esriFieldType.htm).
|
|
85
94
|
*
|
|
86
95
|
* @param field
|
|
96
|
+
* @internal
|
|
87
97
|
*/
|
|
88
98
|
export function isDateField(field: IField): boolean;
|
|
89
99
|
|
|
@@ -92,6 +102,7 @@ export function isDateField(field: IField): boolean;
|
|
|
92
102
|
* Fields descriptions are [here](http://resources.esri.com/help/9.3/ArcGISEngine/ArcObjects/esriGeoDatabase/esriFieldType.htm).
|
|
93
103
|
*
|
|
94
104
|
* @param field
|
|
105
|
+
* @internal
|
|
95
106
|
*/
|
|
96
107
|
export function isIntegerField(field: IField): boolean;
|
|
97
108
|
|
|
@@ -99,6 +110,7 @@ export function isIntegerField(field: IField): boolean;
|
|
|
99
110
|
* Returns list of date field names from an array of fields of type IField
|
|
100
111
|
*
|
|
101
112
|
* @param fieldsInfo
|
|
113
|
+
* @internal
|
|
102
114
|
*/
|
|
103
115
|
export function getLayerDateFields(fieldsInfo: IField[]): string[];
|
|
104
116
|
|
|
@@ -106,15 +118,32 @@ export function getLayerDateFields(fieldsInfo: IField[]): string[];
|
|
|
106
118
|
* Returns list of numeric field names from an array of fields of type IField
|
|
107
119
|
*
|
|
108
120
|
* @param fieldsInfo
|
|
121
|
+
* @internal
|
|
109
122
|
*/
|
|
110
123
|
export function getLayerNumericFields(fieldsInfo: IField[]): string[];
|
|
111
124
|
|
|
125
|
+
/**
|
|
126
|
+
* Retrieve the subtype name from the subtype id, if available.
|
|
127
|
+
* Otherwise, just simply returns the original value.
|
|
128
|
+
*
|
|
129
|
+
* @param props - The subtypeInfo which consists of a typeIdField and a list of subtypes.
|
|
130
|
+
* @returns The matching subtype name if it's a subtype field; otherwise undefined.
|
|
131
|
+
* //TODO: may need to revise regrading the typeIdField property (See https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/42555)
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
export function getSubtypeName(props: {
|
|
135
|
+
subtypeInfo?: SubtypeInfo;
|
|
136
|
+
fieldName: string;
|
|
137
|
+
fieldValueToMatch: number | string;
|
|
138
|
+
}): string | undefined;
|
|
139
|
+
|
|
112
140
|
/**
|
|
113
141
|
* Retrieve subtype information from the query object.
|
|
114
142
|
*
|
|
115
143
|
* @param queryObject - The query object from which to retrieve the feature layer.
|
|
116
144
|
* @returns subtype info like typeIdField and the subtypes, if defined; otherwise undefined.
|
|
117
145
|
* //TODO: may need to revise regrading the typeIdField property (See https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/42555)
|
|
146
|
+
* @internal
|
|
118
147
|
*/
|
|
119
148
|
export function getLayerSubtypeInfo(queryObject: QueryObject): SubtypeInfo | undefined;
|
|
120
149
|
|
|
@@ -124,6 +153,7 @@ export function getLayerSubtypeInfo(queryObject: QueryObject): SubtypeInfo | und
|
|
|
124
153
|
*
|
|
125
154
|
* @param props - the name of the field
|
|
126
155
|
* @returns The field description if available; otherwise undefined.
|
|
156
|
+
* @internal
|
|
127
157
|
*/
|
|
128
158
|
export function getFieldDescription(props: {
|
|
129
159
|
fieldName: string;
|
|
@@ -136,6 +166,7 @@ export function getFieldDescription(props: {
|
|
|
136
166
|
* Returns feature layer field names used in its renderer.
|
|
137
167
|
*
|
|
138
168
|
* @param layer
|
|
169
|
+
* @internal
|
|
139
170
|
*/
|
|
140
171
|
export function getRendererFieldNames(layer: SupportedLayer): Promise<string[]>;
|
|
141
172
|
|
|
@@ -144,6 +175,7 @@ export function getRendererFieldNames(layer: SupportedLayer): Promise<string[]>;
|
|
|
144
175
|
* https://doc.arcgis.com/en/arcgis-online/reference/faq.htm#anchor7
|
|
145
176
|
*
|
|
146
177
|
* @param layer
|
|
178
|
+
* @internal
|
|
147
179
|
*/
|
|
148
180
|
export function isStandardLayer(layer: SupportedLayer): Promise<boolean>;
|
|
149
181
|
|
|
@@ -151,6 +183,7 @@ export function isStandardLayer(layer: SupportedLayer): Promise<boolean>;
|
|
|
151
183
|
* Finds the matching field name for a given layer based on the fieldToMatch parameter.
|
|
152
184
|
*
|
|
153
185
|
* @param props
|
|
186
|
+
* @internal
|
|
154
187
|
*/
|
|
155
188
|
export function findMatchingLayerFieldName(props: {
|
|
156
189
|
queryObject: QueryObject;
|
|
@@ -172,6 +205,7 @@ export function findMatchingLayerFieldName(props: {
|
|
|
172
205
|
* @param layerFieldList - The list of fields to search in.
|
|
173
206
|
* @param fieldToMatch - The field name to match.
|
|
174
207
|
* @returns The matching field if found, otherwise undefined.
|
|
208
|
+
* @internal
|
|
175
209
|
*/
|
|
176
210
|
export function findMatchingField(layerFieldList: IField[], fieldToMatch: string): IField | undefined;
|
|
177
211
|
|
|
@@ -179,6 +213,7 @@ export function findMatchingField(layerFieldList: IField[], fieldToMatch: string
|
|
|
179
213
|
* Finds the matching layer fields for a list of fields.
|
|
180
214
|
*
|
|
181
215
|
* @param props
|
|
216
|
+
* @internal
|
|
182
217
|
*/
|
|
183
218
|
export function matchFieldsList(props: {
|
|
184
219
|
fieldsList: string[] | undefined;
|
|
@@ -192,6 +227,7 @@ export function matchFieldsList(props: {
|
|
|
192
227
|
* Regarding the other filters (by geometry, gdb version and time extent) only one of each can be applied. The runtime filters are chosen over the config filters.
|
|
193
228
|
*
|
|
194
229
|
* @param props - The query object (feature layer or feature layer view)
|
|
230
|
+
* @internal
|
|
195
231
|
*/
|
|
196
232
|
export function buildQueryConfig(props: {
|
|
197
233
|
queryObject?: QueryObject;
|
|
@@ -205,6 +241,7 @@ export function buildQueryConfig(props: {
|
|
|
205
241
|
*
|
|
206
242
|
* @param layer - the supported layer
|
|
207
243
|
* @returns The list of fields used in the charts
|
|
244
|
+
* @internal
|
|
208
245
|
*/
|
|
209
246
|
export function getFieldsUsedInCharts(layer: SupportedLayer): Promise<string[]>;
|
|
210
247
|
|
|
@@ -214,6 +251,7 @@ export function getFieldsUsedInCharts(layer: SupportedLayer): Promise<string[]>;
|
|
|
214
251
|
* @param config - The chart configuration
|
|
215
252
|
* @param layer - The feature layer
|
|
216
253
|
* @returns The list of matching fields
|
|
254
|
+
* @internal
|
|
217
255
|
*/
|
|
218
256
|
export function extractFieldsUsedInConfig(config: WebChart, layer: SupportedLayer | undefined): Promise<string[]>;
|
|
219
257
|
|
|
@@ -222,6 +260,7 @@ export function extractFieldsUsedInConfig(config: WebChart, layer: SupportedLaye
|
|
|
222
260
|
*
|
|
223
261
|
* @param layer - The layer
|
|
224
262
|
* @returns The list of layer fields
|
|
263
|
+
* @internal
|
|
225
264
|
*/
|
|
226
265
|
export function extractFieldsFromConfigList(layer: SupportedLayer): Promise<string[]>;
|
|
227
266
|
|
|
@@ -239,6 +278,7 @@ export function extractFieldsFromConfigList(layer: SupportedLayer): Promise<stri
|
|
|
239
278
|
* @requires
|
|
240
279
|
* - view
|
|
241
280
|
* - portalItemId
|
|
281
|
+
* @internal
|
|
242
282
|
*/
|
|
243
283
|
export function findMatchingLayerFromView(props: {
|
|
244
284
|
view?: MapView | SceneView;
|