@arcgis/charts-components 5.1.0-next.98 → 5.1.0
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 -2
- package/dist/cdn/2JFIUU3X.js +2 -0
- package/dist/cdn/2JUO3GP2.js +2 -0
- package/dist/cdn/{GDFOZNYR.js → 2WDUA6L4.js} +2 -2
- package/dist/cdn/334U2KAR.js +2 -0
- package/dist/cdn/3A5542IZ.js +2 -0
- package/dist/cdn/3DYFAIW2.js +2 -0
- package/dist/cdn/43P4WOC4.js +2 -0
- package/dist/cdn/4LA6DRGM.js +2 -0
- package/dist/cdn/4P6NLXDP.js +2 -0
- package/dist/cdn/4XSIB5AA.js +2 -0
- package/dist/cdn/{OEZ2XTZE.js → 64HPM724.js} +1 -1
- package/dist/cdn/6BJXOUW2.js +2 -0
- package/dist/cdn/6IL4JEXA.js +2 -0
- package/dist/cdn/6JI4NDJ6.js +2 -0
- package/dist/cdn/6KA24PEA.js +2 -0
- package/dist/cdn/6TV5E5JT.js +2 -0
- package/dist/cdn/75Y43JLP.js +2 -0
- package/dist/cdn/777EBGS5.js +2 -0
- package/dist/cdn/7HZFPSKD.js +2 -0
- package/dist/cdn/7MKAC33Z.js +2 -0
- package/dist/cdn/7X2HKQS7.js +2 -0
- package/dist/cdn/AHPLTCSH.js +2 -0
- package/dist/cdn/AVVOHZH7.js +2 -0
- package/dist/cdn/AZEQVTDQ.js +2 -0
- package/dist/cdn/AZIX3IFP.js +2 -0
- package/dist/cdn/BNTRLKLG.js +2 -0
- package/dist/cdn/BSFUPCQF.js +2 -0
- package/dist/cdn/C2TRAWJB.js +2 -0
- package/dist/cdn/CH3BYORW.js +2 -0
- package/dist/cdn/CPYOPFIS.js +2 -0
- package/dist/cdn/CPYPTGTK.js +2 -0
- package/dist/cdn/CSV6Q3VU.js +2 -0
- package/dist/cdn/CWJZT5NA.js +2 -0
- package/dist/cdn/D64RR3BQ.js +2 -0
- package/dist/cdn/E6ICXDNS.js +2 -0
- package/dist/cdn/EBN6GWGZ.js +2 -0
- package/dist/cdn/EX7VWKWX.js +2 -0
- package/dist/cdn/EXTC334W.js +2 -0
- package/dist/cdn/F6NHEUXC.js +2 -0
- package/dist/cdn/F7KMJXGD.js +2 -0
- package/dist/cdn/FCBTMNYR.js +2 -0
- package/dist/cdn/FIMXZMTB.js +2 -0
- package/dist/cdn/FNHDDK6Y.js +2 -0
- package/dist/cdn/GFLYSDHX.js +2 -0
- package/dist/cdn/H2F4EMEO.js +2 -0
- package/dist/cdn/HBEEYG5R.js +2 -0
- package/dist/cdn/HCEKAYF5.js +2 -0
- package/dist/cdn/HCIVARDS.js +2 -0
- package/dist/cdn/HIVZ4CAD.js +2 -0
- package/dist/cdn/HXLQEUPH.js +2 -0
- package/dist/cdn/{7LOXDMX3.js → JBWK3DSH.js} +1 -1
- package/dist/cdn/JW6KFBCT.js +2 -0
- package/dist/cdn/K6N5BBOM.js +2 -0
- package/dist/cdn/K7IQIF6X.js +2 -0
- package/dist/cdn/KGNYAMFB.js +2 -0
- package/dist/cdn/{4QCCCXMK.js → KUEF5L2Y.js} +1 -1
- package/dist/cdn/LHHRGNPI.js +2 -0
- package/dist/cdn/LM3RWOCL.js +2 -0
- package/dist/cdn/LSOS2REF.js +2 -0
- package/dist/cdn/{6ES4YKXX.js → LY7A6MST.js} +1 -1
- package/dist/cdn/{MRTH2CHN.js → M23H264O.js} +1 -1
- package/dist/cdn/MEQCCHAT.js +2 -0
- package/dist/cdn/MFOZISZU.js +2 -0
- package/dist/cdn/{FPDW4F45.js → MZ2UZAFW.js} +1 -1
- package/dist/cdn/NNH6F2PX.js +2 -0
- package/dist/cdn/NQAPPISU.js +2 -0
- package/dist/cdn/OH3XEKCB.js +2 -0
- package/dist/cdn/OR5W4LAU.js +2 -0
- package/dist/cdn/OTJX7BJS.js +2 -0
- package/dist/cdn/P5XJTTU3.js +3 -0
- package/dist/cdn/PDBL2LVQ.js +2 -0
- package/dist/cdn/PUWB3ZW4.js +2 -0
- package/dist/cdn/PXEQJDTP.js +2 -0
- package/dist/cdn/QLAAJ4TP.js +2 -0
- package/dist/cdn/QMOXGUU6.js +2 -0
- package/dist/cdn/QQY7FC2J.js +2 -0
- package/dist/cdn/QV7ZOLEX.js +2 -0
- package/dist/cdn/QY4I5GS2.js +4 -0
- package/dist/cdn/R7NIN2IP.js +2 -0
- package/dist/cdn/RV3ILDL6.js +2 -0
- package/dist/cdn/RXOISEOG.js +2 -0
- package/dist/cdn/SBS4J65N.js +2 -0
- package/dist/cdn/SPI2NEGA.js +2 -0
- package/dist/cdn/SPXLWSUF.js +2 -0
- package/dist/cdn/SS5KCPTA.js +2 -0
- package/dist/cdn/SSLS3BOB.js +2 -0
- package/dist/cdn/SU5G6JQD.js +2 -0
- package/dist/cdn/{XSMRKVR2.js → TJQGGNGV.js} +1 -1
- package/dist/cdn/{HX4RTI3G.js → TLS7SEFF.js} +1 -1
- package/dist/cdn/TOO3T62Y.js +2 -0
- package/dist/cdn/TTSQHXH3.js +2 -0
- package/dist/cdn/TWUQ2ILR.js +102 -0
- package/dist/cdn/U2LFGV2U.js +2 -0
- package/dist/cdn/UFYGFN2M.js +2 -0
- package/dist/cdn/UM6YK4R4.js +2 -0
- package/dist/cdn/USBY2OTE.js +233 -0
- package/dist/cdn/UUNBOK5Y.js +2 -0
- package/dist/cdn/V6NWTBC4.js +58 -0
- package/dist/cdn/VANTG2HX.js +2 -0
- package/dist/cdn/VESCHQRS.js +2 -0
- package/dist/cdn/VKY6S62L.js +2 -0
- package/dist/cdn/VPURXMI6.js +2 -0
- package/dist/cdn/VUZ4QNET.js +2 -0
- package/dist/cdn/WC4T47OL.js +2 -0
- package/dist/cdn/WEGNK77V.js +2 -0
- package/dist/cdn/WND4PQ7O.js +2 -0
- package/dist/cdn/XI3H6GMK.js +2 -0
- package/dist/cdn/XOB365BI.js +2 -0
- package/dist/cdn/XVU4S23S.js +2 -0
- package/dist/cdn/YK5PPTDT.js +2 -0
- package/dist/cdn/YKGXUFVU.js +2 -0
- package/dist/cdn/YUO2G7OX.js +3 -0
- package/dist/cdn/YX7I5VFP.js +2 -0
- package/dist/cdn/ZPNW6LWT.js +2 -0
- package/dist/cdn/{FKZETVX5.js → ZWFVKTLC.js} +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +11 -10
- package/dist/chunks/axis-lines-symbol.js +13 -13
- package/dist/chunks/bar-chart-model.js +25 -52
- package/dist/chunks/bar-chart-series.js +10 -40
- package/dist/chunks/box-plot-data.js +149 -170
- package/dist/chunks/box-plot-model.js +118 -110
- package/dist/chunks/chart-model.js +184 -179
- package/dist/chunks/chart-object-literals.js +189 -0
- package/dist/chunks/chart-ui-utils.js +17 -16
- package/dist/chunks/chart-ui-utils2.js +91 -117
- package/dist/chunks/class-breaks.js +375 -196
- package/dist/chunks/combo-bar-line-chart-model.js +11 -10
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +56 -84
- package/dist/chunks/data.js +76 -99
- package/dist/chunks/default.js +6 -7
- package/dist/chunks/gauge-model.js +206 -191
- package/dist/chunks/generate-x-axis-title.js +40 -67
- package/dist/chunks/heat-chart-model.js +184 -184
- package/dist/chunks/histogram-data.js +56 -80
- package/dist/chunks/histogram-model.js +30 -30
- package/dist/chunks/index.js +568 -20527
- package/dist/chunks/index2.js +8756 -596
- package/dist/chunks/index3.js +876 -160
- package/dist/chunks/index4.js +10840 -82
- package/dist/chunks/index5.js +100 -63
- package/dist/chunks/index6.js +66 -0
- package/dist/chunks/interfaces.js +31 -32
- package/dist/chunks/line-chart-model.js +25 -24
- package/dist/chunks/model-setter.js +41 -37
- package/dist/chunks/model-types.js +43 -0
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +90 -117
- package/dist/chunks/negative-values-stacked-to-baseline.js +50 -79
- package/dist/chunks/pie-chart-data.js +88 -110
- package/dist/chunks/pie-chart-model.js +63 -86
- package/dist/chunks/radar-chart-model.js +36 -63
- package/dist/chunks/resource.js +8 -10
- package/dist/chunks/rotated-state.js +31 -46
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/scatterplot-model.js +59 -81
- package/dist/chunks/serial-chart-data.js +795 -704
- package/dist/chunks/serial-chart-model.js +204 -220
- package/dist/chunks/series-length.js +26 -54
- package/dist/chunks/series-types.js +21 -205
- package/dist/chunks/series.js +9 -38
- package/dist/chunks/store.js +5 -5
- package/dist/chunks/time-zone.js +22 -23
- package/dist/chunks/type-guards.js +23 -132
- package/dist/chunks/type-guards2.js +100 -191
- package/dist/chunks/type-guards3.js +173 -0
- package/dist/chunks/utils.js +120 -128
- package/dist/chunks/utils2.js +34 -63
- package/dist/chunks/web-component-utils.js +660 -396
- package/dist/chunks/x-bounds.js +74 -100
- package/dist/components/arcgis-chart/customElement.d.ts +95 -52
- package/dist/components/arcgis-chart/customElement.js +8114 -8143
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +18 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +26 -27
- package/dist/components/arcgis-charts-config-axis/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +36 -63
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +49 -72
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +33 -54
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +37 -64
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +12 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +87 -111
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +41 -65
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +14 -41
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +22 -49
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +17 -45
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +47 -67
- package/dist/components/arcgis-charts-config-font-style/customElement.js +21 -48
- package/dist/components/arcgis-charts-config-format/customElement.js +58 -85
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +12 -44
- package/dist/components/arcgis-charts-config-general/customElement.js +29 -55
- package/dist/components/arcgis-charts-config-guide/customElement.js +40 -64
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +22 -54
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -3
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +10 -39
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +29 -56
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +152 -174
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +51 -74
- package/dist/components/arcgis-charts-config-histogram/customElement.js +33 -55
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +63 -86
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -57
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +27 -54
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +25 -48
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +46 -69
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +33 -61
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +14 -42
- package/dist/components/arcgis-charts-config-line-style/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +28 -55
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +24 -49
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +43 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +40 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -55
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +73 -96
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +16 -42
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +10 -38
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +21 -50
- package/dist/components/arcgis-charts-info-modal/customElement.js +24 -49
- 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.d.ts +65 -3
- package/dist/index.js +476 -461
- package/dist/json-schema/index.d.ts +4834 -4729
- package/dist/loader.js +2 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +12 -12
- package/dist/model/chart-model/chart-model-base.d.ts +2 -2
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/gauge-model/gauge-model.d.ts +25 -7
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +9 -2
- package/dist/model/interfaces/chart-interfaces.d.ts +5 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/line-chart-model/line-chart-model.d.ts +3 -3
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -6
- package/dist/model/properties/axes/x-axis/x-bounds.d.ts +2 -3
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +6 -0
- package/dist/model/properties/time-zone.d.ts +1 -11
- package/dist/model/shared/setup-utils.d.ts +5 -2
- package/dist/model/shared/setup-utils.js +80 -0
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +54 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.d.ts +2 -1
- package/dist/utils/chart-config/converter/index.js +723 -0
- package/dist/utils/chart-config/utils/index.d.ts +49 -9
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +4 -4
- package/dist/utils/components/themes.d.ts +8 -0
- package/dist/utils/data/categorical-data/index.d.ts +4 -1
- package/dist/utils/data/index.d.ts +26 -19
- package/dist/utils/defaults/index.d.ts +23 -4
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +32 -11
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/query-features/index.d.ts +20 -3
- package/dist/utils/layer/query-parser/index.d.ts +7 -5
- package/dist/utils/layer/utils/index.d.ts +21 -8
- package/dist/utils/localization/interfaces.d.ts +18 -0
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/type-guards/index.d.ts +9 -1
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +12 -9
- package/dist/cdn/2L4KRFAO.js +0 -2
- package/dist/cdn/2WMGX4LG.js +0 -2
- package/dist/cdn/3LHIBPWU.js +0 -2
- package/dist/cdn/3NHSJC2V.js +0 -2
- package/dist/cdn/3TYKSX6S.js +0 -2
- package/dist/cdn/4A46GMQH.js +0 -2
- package/dist/cdn/4AP7OF2H.js +0 -2
- package/dist/cdn/4F4XNNGS.js +0 -58
- package/dist/cdn/4MGAAHBF.js +0 -2
- package/dist/cdn/533OIYHT.js +0 -2
- package/dist/cdn/54JMGDNM.js +0 -2
- package/dist/cdn/6WQO34EX.js +0 -2
- package/dist/cdn/7BIC7WRS.js +0 -2
- package/dist/cdn/7JYYEL7C.js +0 -2
- package/dist/cdn/ABRBND33.js +0 -2
- package/dist/cdn/AKNI6ZDM.js +0 -2
- package/dist/cdn/B5DED64I.js +0 -2
- package/dist/cdn/BDROQPZY.js +0 -2
- package/dist/cdn/BGHKBRAY.js +0 -2
- package/dist/cdn/BIBH7Z6B.js +0 -2
- package/dist/cdn/BYMLWT4F.js +0 -2
- package/dist/cdn/C6VFUQYR.js +0 -2
- package/dist/cdn/CBAUBDVW.js +0 -2
- package/dist/cdn/CJPYRPNG.js +0 -2
- package/dist/cdn/DOKKZWPP.js +0 -2
- package/dist/cdn/DQOPCAYH.js +0 -2
- package/dist/cdn/ETKEDYJI.js +0 -2
- package/dist/cdn/ETLJKITO.js +0 -2
- package/dist/cdn/FPOY54UW.js +0 -2
- package/dist/cdn/FSPMT24F.js +0 -2
- package/dist/cdn/FTTFIYT7.js +0 -2
- package/dist/cdn/FXE7IJTK.js +0 -2
- package/dist/cdn/FXXKMSX7.js +0 -2
- package/dist/cdn/GCLBISUU.js +0 -2
- package/dist/cdn/GG4V6IWC.js +0 -2
- package/dist/cdn/GN55TJMJ.js +0 -2
- package/dist/cdn/GOCPXSNF.js +0 -2
- package/dist/cdn/GR2MDXNR.js +0 -2
- package/dist/cdn/GSIQ3AM5.js +0 -100
- package/dist/cdn/HAPHXGDG.js +0 -2
- package/dist/cdn/HRWT2MVN.js +0 -2
- package/dist/cdn/HZLHE35F.js +0 -2
- package/dist/cdn/IYAA5JNA.js +0 -2
- package/dist/cdn/J34XNLVV.js +0 -2
- package/dist/cdn/JII3X6GD.js +0 -2
- package/dist/cdn/JIJTDQNZ.js +0 -2
- package/dist/cdn/JP5QECNE.js +0 -2
- package/dist/cdn/JQAYCBRF.js +0 -2
- package/dist/cdn/JUTIXOZ7.js +0 -2
- package/dist/cdn/JXUQXIWS.js +0 -2
- package/dist/cdn/KDU3ISRJ.js +0 -2
- package/dist/cdn/KHK4ESCR.js +0 -2
- package/dist/cdn/KYO65OVO.js +0 -2
- package/dist/cdn/KZQPT32K.js +0 -2
- package/dist/cdn/L5ESAQAD.js +0 -2
- package/dist/cdn/LRLFI235.js +0 -2
- package/dist/cdn/LTPICGE4.js +0 -2
- package/dist/cdn/M6AWZ4GQ.js +0 -2
- package/dist/cdn/N3QESBWD.js +0 -2
- package/dist/cdn/N72JHWOW.js +0 -2
- package/dist/cdn/NJOCWENE.js +0 -2
- package/dist/cdn/NLPIWZ6O.js +0 -2
- package/dist/cdn/OG6XNLNH.js +0 -2
- package/dist/cdn/OGYHFMDK.js +0 -2
- package/dist/cdn/OM2N4R7B.js +0 -2
- package/dist/cdn/OSLQS2GQ.js +0 -2
- package/dist/cdn/OXOPYUOS.js +0 -2
- package/dist/cdn/PDXLVDA2.js +0 -2
- package/dist/cdn/PE5WVBYF.js +0 -2
- package/dist/cdn/PECU6KQ5.js +0 -2
- package/dist/cdn/PHSAVE6E.js +0 -2
- package/dist/cdn/PMSMMLY4.js +0 -2
- package/dist/cdn/PSDHB4WG.js +0 -2
- package/dist/cdn/PZAAA62R.js +0 -2
- package/dist/cdn/QCLX4TIM.js +0 -2
- package/dist/cdn/QCNYOXG2.js +0 -2
- package/dist/cdn/QNEGICXV.js +0 -2
- package/dist/cdn/QQNMK2QL.js +0 -2
- package/dist/cdn/RK3BAJOA.js +0 -2
- package/dist/cdn/SCVQSDX5.js +0 -2
- package/dist/cdn/T5RPAQYI.js +0 -2
- package/dist/cdn/TCJ5YAK5.js +0 -2
- package/dist/cdn/TNXVGUYE.js +0 -2
- package/dist/cdn/TQG6RDX5.js +0 -2
- package/dist/cdn/URBTZGXF.js +0 -2
- package/dist/cdn/URX6VCYJ.js +0 -2
- package/dist/cdn/VFNQXIXU.js +0 -2
- package/dist/cdn/VFULMUE5.js +0 -2
- package/dist/cdn/VRCCFTGJ.js +0 -2
- package/dist/cdn/W553UCBH.js +0 -4
- package/dist/cdn/WMLNHOVN.js +0 -2
- package/dist/cdn/WTPRSRPB.js +0 -2
- package/dist/cdn/XEDWXXF3.js +0 -2
- package/dist/cdn/Y4DORYPQ.js +0 -2
- package/dist/cdn/YEOSKZ4Q.js +0 -2
- package/dist/cdn/ZAKAJKUI.js +0 -2
- package/dist/cdn/ZNOJBKUZ.js +0 -2
- package/dist/chunks/setup-utils.js +0 -79
- package/dist/model/index.d.ts +0 -19
- package/dist/model.js +0 -42
- package/dist/spec/index.d.ts +0 -8
- package/dist/utils/index.d.ts +0 -33
- /package/dist/cdn/{SOIF6AMX.js → 27Y4YBZ7.js} +0 -0
- /package/dist/cdn/{BQOMKKBK.js → 2W64WSBS.js} +0 -0
- /package/dist/cdn/{NGLXQHZ2.js → 3S33OYZS.js} +0 -0
- /package/dist/cdn/{ALRIN5E5.js → 47SEEPGM.js} +0 -0
- /package/dist/cdn/{EVHJVY4I.js → 4CEOP4CL.js} +0 -0
- /package/dist/cdn/{ZL5EGDOW.js → 4NXQY2SY.js} +0 -0
- /package/dist/cdn/{I3BNBZ4D.js → 4RZOR2GZ.js} +0 -0
- /package/dist/cdn/{COQ55XOW.js → 5S37PAVK.js} +0 -0
- /package/dist/cdn/{TX2SYGTH.js → 5VCKTFEN.js} +0 -0
- /package/dist/cdn/{NPVXLEZW.js → 6SLYYVAM.js} +0 -0
- /package/dist/cdn/{MS6EYP4R.js → 75WJAOD5.js} +0 -0
- /package/dist/cdn/{3OGKV4KZ.js → 76OQVFII.js} +0 -0
- /package/dist/cdn/{LOX7MXL4.js → 7GXB5ABV.js} +0 -0
- /package/dist/cdn/{AVU2CHAB.js → 7S4C7DMD.js} +0 -0
- /package/dist/cdn/{WRNEDEFZ.js → A4O5PTH7.js} +0 -0
- /package/dist/cdn/{YQJLA77R.js → A52S6LGL.js} +0 -0
- /package/dist/cdn/{DNSUOJXJ.js → BR7YHHRO.js} +0 -0
- /package/dist/cdn/{X7ENJ4HH.js → BXOAEW3W.js} +0 -0
- /package/dist/cdn/{KCILWIMQ.js → CS6SBRT6.js} +0 -0
- /package/dist/cdn/{BY77PBZ2.js → D63ZM4I6.js} +0 -0
- /package/dist/cdn/{G2L5FYWK.js → DGYDZT63.js} +0 -0
- /package/dist/cdn/{FSNQ3YXX.js → DTU5F26A.js} +0 -0
- /package/dist/cdn/{F57IRWBF.js → FCE53PT5.js} +0 -0
- /package/dist/cdn/{EIIQ2CSC.js → G626QVCR.js} +0 -0
- /package/dist/cdn/{GR4BZF3L.js → GBLD6EF5.js} +0 -0
- /package/dist/cdn/{B4ULOSFG.js → HM7TTHYN.js} +0 -0
- /package/dist/cdn/{3VMIFF7C.js → JHXWK5HY.js} +0 -0
- /package/dist/cdn/{JM6E3U5J.js → JUUAJRZL.js} +0 -0
- /package/dist/cdn/{HJW6UNEH.js → LZTVRB5K.js} +0 -0
- /package/dist/cdn/{FLSUJTUZ.js → N4ZIPC6C.js} +0 -0
- /package/dist/cdn/{GWPFABGL.js → NF4ADSMI.js} +0 -0
- /package/dist/cdn/{SXJYUHC3.js → OPJ6LPA2.js} +0 -0
- /package/dist/cdn/{S5OM65RV.js → PDWS67CW.js} +0 -0
- /package/dist/cdn/{47EOUNYO.js → QSAYNOYT.js} +0 -0
- /package/dist/cdn/{THJTENN5.js → SEV3K4MK.js} +0 -0
- /package/dist/cdn/{KBDOBMB5.js → TWPDFIMS.js} +0 -0
- /package/dist/cdn/{BUCYRXMT.js → U6BD2QQW.js} +0 -0
- /package/dist/cdn/{6HUDF5Q2.js → WXLU5XAQ.js} +0 -0
- /package/dist/cdn/{HLSO5KDC.js → XLHC66GD.js} +0 -0
- /package/dist/cdn/{NSRIVIOH.js → XQL5X2VK.js} +0 -0
- /package/dist/cdn/{S5EI7T2D.js → Y4YDLI6O.js} +0 -0
- /package/dist/cdn/{RHGKKMJG.js → YIK7I32W.js} +0 -0
- /package/dist/cdn/{5TOYNVTW.js → ZYBUK2GC.js} +0 -0
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { r as e } from "./chunks/runtime.js";
|
|
3
3
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
4
4
|
const r = t(e, {
|
|
5
|
-
"arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "_messages:,actionMode,allowUsingObjectIdStat,animationEnabled,aria:,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,commonStrings:,configurationEnabled,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,
|
|
5
|
+
"arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "_messages:,actionMode,allowUsingObjectIdStat,animationEnabled,aria:,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,calciteThemingCSSVariables:,chartIndex,chartLimits:,chartWillRender:,commonStrings:,configurationEnabled,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,filterByViewExtent,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,hideUIMessages,hideZeroCountCategories,ignoreSmoothRenderingLimit,ignoreViewExtent,interactionsDisabled,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,popupTemplateFieldInfosEnabled,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotated,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionManager:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showEmptySeries,showLicenseWatermark,showUIMessages,skipChartCreationQueue,syncChartsSelection,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,syncViewSelection,syncViewTimeExtent,syncViewTimeZone,syncViewTimeZoneInclusionList:,timeZone,togglingLegendItemsDisabled,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,destroy,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection;applySelectionFromSelectionManager"],
|
|
6
6
|
"arcgis-charts-action-bar": [() => import("./components/arcgis-charts-action-bar/customElement.js"), "_messages:,actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,commonStrings:,csvExportExclusionList:,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle"],
|
|
7
7
|
"arcgis-charts-config-axes": [() => import("./components/arcgis-charts-config-axes/customElement.js"), "calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,messageOverrides:,model:,open,showEnableXLogOption,showEnableYLogOption,showMaxXBoundOption,showMaxYBoundOption,showMinXBoundOption,showMinYBoundOption"],
|
|
8
8
|
"arcgis-charts-config-axis": [() => import("./components/arcgis-charts-config-axis/customElement.js"), "axisTitle,dataMaxValue,dataMinValue,initialMaxBound,initialMinBound,isXAxis,maxBoundMaxLimit,maxBoundMinLimit,messageOverrides:,minBoundMaxLimit,minBoundMinLimit,model:,showEnableLogOption,showMaxBoundOption,showMinBoundOption"],
|
|
@@ -54,7 +54,7 @@ const r = t(e, {
|
|
|
54
54
|
"arcgis-charts-config-scatter-plot-popover": [() => import("./components/arcgis-charts-config-scatter-plot-popover/customElement.js"), "contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedContent;reposition"],
|
|
55
55
|
"arcgis-charts-config-select-chart-type-popover": [() => import("./components/arcgis-charts-config-select-chart-type-popover/customElement.js"), "headerTitle,isRasterBarChartSupported,layerId,layerType,messageOverrides:,open,popoverPlacement,referenceElement:,selectedModelType;reposition"],
|
|
56
56
|
"arcgis-charts-config-view-charts": [() => import("./components/arcgis-charts-config-view-charts/customElement.js"), "disableEditing,layer:,messageOverrides:,modelList:,noGroup,selectedChartId"],
|
|
57
|
-
"arcgis-charts-info-modal": [() => import("./components/arcgis-charts-info-modal/customElement.js"), "
|
|
57
|
+
"arcgis-charts-info-modal": [() => import("./components/arcgis-charts-info-modal/customElement.js"), "calciteThemeColors:,heading,loaderColors:,message,showLoader"]
|
|
58
58
|
});
|
|
59
59
|
export {
|
|
60
60
|
r as defineCustomElements
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
+
import type { RESTSimpleLineSymbolStyle } from "../../spec/rest-js-object-literals.js";
|
|
2
|
+
import type { Color } from "../../spec/rest-js-types.js";
|
|
3
|
+
import type { WebChartDataFilters } from "../../spec/web-chart.js";
|
|
4
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
1
5
|
import type { ChartModel } from "../chart-model/chart-model.js";
|
|
2
6
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
3
7
|
import type { ModelTypes, BoxPlotDataSortingKinds } from "../interfaces/common.js";
|
|
8
|
+
import type { ModelWithLegend } from "../mixins/model-with-legend.js";
|
|
9
|
+
import type { ModelWithMultiAxes } from "../mixins/model-with-multi-axes.js";
|
|
10
|
+
import type { ModelWithTooltips } from "../mixins/model-with-tooltips.js";
|
|
11
|
+
import type { ModelWithYGuides } from "../mixins/model-with-y-guides.js";
|
|
4
12
|
import type { WithAxisLabelsSymbol } from "../properties/axes/axis-labels-symbol.js";
|
|
5
13
|
import type { WithAxisLinesSymbol } from "../properties/axes/axis-lines-symbol.js";
|
|
6
|
-
import type {
|
|
14
|
+
import type { WithGenerateXAxisTitle } from "../properties/axes/x-axis/generate-x-axis-title.js";
|
|
7
15
|
import type { WithXAxisLabelsVisibility } from "../properties/axes/x-axis/x-axis-labels-visibility.js";
|
|
8
16
|
import type { WithXAxisTitleSymbol } from "../properties/axes/x-axis/x-axis-title-symbol.js";
|
|
9
17
|
import type { WithXAxisTitleText } from "../properties/axes/x-axis/x-axis-title-text.js";
|
|
10
18
|
import type { WithXAxisTitleVisibility } from "../properties/axes/x-axis/x-axis-title-visibility.js";
|
|
11
|
-
import type {
|
|
19
|
+
import type { WithXBounds } from "../properties/axes/x-axis/x-bounds.js";
|
|
12
20
|
import type { WithColorMatch } from "../properties/color-match.js";
|
|
13
|
-
import type { WithRotatedState } from "../properties/rotated-state.js";
|
|
14
|
-
import type { WithDataLabelsVisibility } from "../properties/data-labels/data-labels-visibility.js";
|
|
15
21
|
import type { WithDataLabelsSymbol } from "../properties/data-labels/data-labels-symbol.js";
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import type { RESTSimpleLineSymbolStyle } from "../../spec/rest-js-object-literals.js";
|
|
19
|
-
import type { ChartConfig } from "../../utils/types/index.js";
|
|
20
|
-
import type { ModelWithMultiAxes } from "../mixins/model-with-multi-axes.js";
|
|
21
|
-
import type { ModelWithLegend } from "../mixins/model-with-legend.js";
|
|
22
|
-
import type { ModelWithTooltips } from "../mixins/model-with-tooltips.js";
|
|
23
|
-
import type { ModelWithYGuides } from "../mixins/model-with-y-guides.js";
|
|
22
|
+
import type { WithDataLabelsVisibility } from "../properties/data-labels/data-labels-visibility.js";
|
|
23
|
+
import type { WithRotatedState } from "../properties/rotated-state.js";
|
|
24
24
|
|
|
25
25
|
export class BoxPlotModel extends BoxPlotModelSuperclass {
|
|
26
26
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { ChartTypes } from "../../utils/misc/index.js";
|
|
2
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
1
3
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
2
4
|
import type { ChartModel } from "./chart-model.js";
|
|
3
|
-
import type { ChartConfig } from "../../utils/types/index.js";
|
|
4
|
-
import type { ChartTypes } from "../../utils/misc/index.js";
|
|
5
5
|
|
|
6
6
|
export abstract class ChartModelBase extends EventTarget {
|
|
7
7
|
constructor(...args: any[]);
|
|
@@ -19,10 +19,11 @@ import type { WithSeriesId } from "../properties/series/series-id.js";
|
|
|
19
19
|
import type { WithSeriesIndex } from "../properties/series/series-index.js";
|
|
20
20
|
import type { WithSeriesLength } from "../properties/series/series-length.js";
|
|
21
21
|
import type { WithChartSubType } from "../properties/chart-sub-type.js";
|
|
22
|
+
import type { WithSeriesDataTooltipFontSize } from "../properties/data-tooltip-font-size.js";
|
|
22
23
|
import type { WithSeriesDataTooltipValueFormat } from "../properties/data-tooltip-value-format.js";
|
|
23
24
|
import type { WithFetchNULLValues } from "../properties/fetch-null-values.js";
|
|
24
25
|
import type { WithSplitByValues } from "../properties/split-by-values.js";
|
|
25
26
|
import type { WithDataFilters } from "../properties/data-filters.js";
|
|
26
27
|
|
|
27
28
|
export abstract class ChartModel extends ChartModelSuperclass {}
|
|
28
|
-
declare const ChartModelSuperclass: typeof ChartModelBase & typeof WithDataFilters & typeof WithSplitByValues & typeof WithFetchNULLValues & typeof WithSeriesDataTooltipValueFormat & typeof WithChartSubType & typeof WithSeriesLength & typeof WithSeriesIndex & typeof WithSeriesId & typeof WithSeriesVisibility & typeof WithBackgroundColor & typeof WithChartRenderer & typeof WithDescriptionVisibility & typeof WithChartSubtitleVisibility & typeof WithChartTitleVisibility & typeof WithDescriptionSymbol & typeof WithDescriptionText & typeof WithSubtitleSymbol & typeof WithSubtitleText & typeof WithVersion & typeof WithTitleSymbol & typeof WithTitleText & typeof WithChartId & typeof WithLayer & typeof WithConfig
|
|
29
|
+
declare const ChartModelSuperclass: typeof ChartModelBase & typeof WithDataFilters & typeof WithSplitByValues & typeof WithFetchNULLValues & typeof WithSeriesDataTooltipFontSize & typeof WithSeriesDataTooltipValueFormat & typeof WithChartSubType & typeof WithSeriesLength & typeof WithSeriesIndex & typeof WithSeriesId & typeof WithSeriesVisibility & typeof WithBackgroundColor & typeof WithChartRenderer & typeof WithDescriptionVisibility & typeof WithChartSubtitleVisibility & typeof WithChartTitleVisibility & typeof WithDescriptionSymbol & typeof WithDescriptionText & typeof WithSubtitleSymbol & typeof WithSubtitleText & typeof WithVersion & typeof WithTitleSymbol & typeof WithTitleText & typeof WithChartId & typeof WithLayer & typeof WithConfig
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
+
import type { GaugeChartSubTypes, WebChartStatisticType } from "../../spec/chart-object-literals.js";
|
|
2
|
+
import type { ISimpleFillSymbol } from "../../spec/rest-js-types.js";
|
|
3
|
+
import type { ValueConversion, WebChartGaugeFixedProgressBands, WebChartTextSymbol } from "../../spec/web-chart.js";
|
|
4
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
1
5
|
import type { ChartModel } from "../chart-model/chart-model.js";
|
|
2
6
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
3
7
|
import type { ModelTypes } from "../interfaces/common.js";
|
|
8
|
+
import type { ModelWithXGuides } from "../mixins/model-with-x-guides.js";
|
|
4
9
|
import type { WithAxisLabelsSymbol } from "../properties/axes/axis-labels-symbol.js";
|
|
5
10
|
import type { WithAxisLinesSymbol } from "../properties/axes/axis-lines-symbol.js";
|
|
6
|
-
import type {
|
|
11
|
+
import type { WithGenerateXAxisTitle } from "../properties/axes/x-axis/generate-x-axis-title.js";
|
|
7
12
|
import type { WithXAxisLabelsVisibility } from "../properties/axes/x-axis/x-axis-labels-visibility.js";
|
|
8
13
|
import type { WithXAxisTitleSymbol } from "../properties/axes/x-axis/x-axis-title-symbol.js";
|
|
9
14
|
import type { WithXAxisTitleText } from "../properties/axes/x-axis/x-axis-title-text.js";
|
|
10
15
|
import type { WithXAxisTitleVisibility } from "../properties/axes/x-axis/x-axis-title-visibility.js";
|
|
11
|
-
import type {
|
|
12
|
-
import type { ValueConversion, WebChartTextSymbol } from "../../spec/web-chart.js";
|
|
13
|
-
import type { GaugeChartSubTypes, WebChartStatisticType } from "../../spec/chart-object-literals.js";
|
|
14
|
-
import type { ISimpleFillSymbol } from "../../spec/rest-js-types.js";
|
|
15
|
-
import type { ChartConfig } from "../../utils/types/index.js";
|
|
16
|
-
import type { ModelWithXGuides } from "../mixins/model-with-x-guides.js";
|
|
16
|
+
import type { WithXBounds } from "../properties/axes/x-axis/x-bounds.js";
|
|
17
17
|
|
|
18
18
|
export class GaugeModel extends GaugeModelSuperclass {
|
|
19
19
|
/**
|
|
@@ -85,6 +85,24 @@ export class GaugeModel extends GaugeModelSuperclass {
|
|
|
85
85
|
accessor needleVisibility: boolean;
|
|
86
86
|
/** Whether to only show the first and last axis labels. */
|
|
87
87
|
accessor onlyShowFirstAndLastLabels: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Gauge progress bands configuration.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ```ts
|
|
93
|
+
* gaugeModel.progressBands = {
|
|
94
|
+
* type: "fixed",
|
|
95
|
+
* visible: true,
|
|
96
|
+
* bands: {
|
|
97
|
+
* target: { type: "esriSFS", color: [0, 255, 0, 255] },
|
|
98
|
+
* base: { type: "esriSFS", color: [255, 0, 0, 255] }
|
|
99
|
+
* }
|
|
100
|
+
* };
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
accessor progressBands: WebChartGaugeFixedProgressBands | undefined;
|
|
104
|
+
/** Whether progress bands are visible. */
|
|
105
|
+
accessor progressBandsVisibility: boolean;
|
|
88
106
|
/** Start angle of the gauge. */
|
|
89
107
|
accessor startAngle: number;
|
|
90
108
|
/** Conversion to apply to the gauge value. */
|
|
@@ -30,6 +30,8 @@ export class HeatChartModel extends SerialChartModel {
|
|
|
30
30
|
* `manual` - Allows you to manually specify the class breaks.
|
|
31
31
|
*/
|
|
32
32
|
accessor classificationMethod: WebChartClassBreakTypes | undefined;
|
|
33
|
+
/** The name of the color ramp used by the heat chart. */
|
|
34
|
+
accessor colorRampName: string | undefined;
|
|
33
35
|
/** The heat chart's empty cell configuration. */
|
|
34
36
|
accessor emptyCell: WebChartHeatChartEmptyCell | undefined;
|
|
35
37
|
/** The heat chart's empty cell symbol. */
|
|
@@ -77,6 +79,11 @@ export class HeatChartModel extends SerialChartModel {
|
|
|
77
79
|
accessor hideEmptyRowsAndColumns: boolean | undefined;
|
|
78
80
|
/** Whether to include leap day (February 29) in the heat chart when using "day of month" temporal binning. */
|
|
79
81
|
accessor includeLeapDay: boolean | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Whether the color ramp is flipped for the heat chart,
|
|
84
|
+
* which means the colors will be reversed (e.g., if the original color ramp goes from light to dark, flipping it will make it go from dark to light).
|
|
85
|
+
*/
|
|
86
|
+
accessor isColorRampFlipped: boolean;
|
|
80
87
|
/** The layer associated with the heat chart model. */
|
|
81
88
|
get layer(): Exclude<SerialChartModel["layer"], SupportedRasterLayer>;
|
|
82
89
|
/** The heat chart's legend position. */
|
|
@@ -96,11 +103,11 @@ export class HeatChartModel extends SerialChartModel {
|
|
|
96
103
|
/** Heat chart only supports one numeric field, if there are multiple numeric fields provided in the array, only the first one will be used and the rest will be ignored. */
|
|
97
104
|
accessor numericFields: string[];
|
|
98
105
|
/**
|
|
99
|
-
* The heat chart's
|
|
106
|
+
* The heat chart's rotated state (not supported)
|
|
100
107
|
*
|
|
101
108
|
* @internal
|
|
102
109
|
*/
|
|
103
|
-
accessor
|
|
110
|
+
accessor rotated: boolean;
|
|
104
111
|
/**
|
|
105
112
|
* The name of the series that is used by the heat chart.
|
|
106
113
|
*
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { ModelTypes } from "./common.js";
|
|
2
1
|
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
3
|
-
import type { ChartConfig } from "../../utils/types/index.js";
|
|
4
2
|
import type { IFeatureLayer, IImageServiceLayer, ITiledImageServiceLayer } from "../../spec/rest-js-types.js";
|
|
5
3
|
import type { WebChartBarChartSeries, WebChartHeatChartSeries, WebChartLineChartSeries, WebChartRadarChartSeries } from "../../spec/web-chart.js";
|
|
4
|
+
import type { CommonStrings } from "../../utils/localization/interfaces.js";
|
|
5
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
6
|
+
import type { ModelTypes } from "./common.js";
|
|
6
7
|
|
|
7
8
|
/** Parameters for creating a chart model. */
|
|
8
9
|
export type ModelParams<T extends ChartConfig> = {
|
|
@@ -12,6 +13,8 @@ export type ModelParams<T extends ChartConfig> = {
|
|
|
12
13
|
iLayer?: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer;
|
|
13
14
|
/** Chart config object to be edited. If not provided, a new config will be created using default values. */
|
|
14
15
|
config?: T;
|
|
16
|
+
/** t9n error strings */
|
|
17
|
+
commonStrings?: CommonStrings;
|
|
15
18
|
};
|
|
16
19
|
|
|
17
20
|
/** Type alias for the supported serial chart config. */
|
|
@@ -163,11 +163,9 @@ export const ModelTypes: {
|
|
|
163
163
|
|
|
164
164
|
export type ModelTypes = (typeof ModelTypes)[keyof typeof ModelTypes];
|
|
165
165
|
|
|
166
|
-
/** @internal */
|
|
167
166
|
export type ModelTypeToSeriesType<T extends ModelTypes> = T extends typeof ModelTypes.BarChart ? WebChartBarChartSeries : T extends typeof ModelTypes.LineChart ? WebChartLineChartSeries : T extends typeof ModelTypes.ComboBarLineChart ? WebChartBarChartSeries | WebChartLineChartSeries : T extends typeof ModelTypes.BoxPlot ? WebChartBoxPlotSeries | WebChartLineChartSeries : T extends typeof ModelTypes.PieChart ? WebChartPieChartSeries : T extends typeof ModelTypes.Scatterplot ? WebChartScatterplotSeries : T extends typeof ModelTypes.Histogram ? WebChartHistogramSeries : T extends typeof ModelTypes.Gauge ? WebChartGaugeSeries : T extends typeof ModelTypes.RadarChart ? WebChartRadarChartSeries : T extends typeof ModelTypes.HeatChart ? WebChartHeatChartSeries : SupportedChartSeries;
|
|
168
167
|
|
|
169
168
|
/** @internal */
|
|
170
169
|
export type SeriesTypeToChartType<T extends SupportedChartSeries> = T extends WebChartBarChartSeries ? typeof WebChartTypes.BarSeries : T extends WebChartLineChartSeries ? typeof WebChartTypes.LineSeries : T extends WebChartBoxPlotSeries ? typeof WebChartTypes.BoxPlotSeries : T extends WebChartPieChartSeries ? typeof WebChartTypes.PieSeries : T extends WebChartScatterplotSeries ? typeof WebChartTypes.ScatterSeries : T extends WebChartHistogramSeries ? typeof WebChartTypes.HistogramSeries : T extends WebChartGaugeSeries ? typeof WebChartTypes.GaugeSeries : T extends WebChartRadarChartSeries ? typeof WebChartTypes.RadarSeries : T extends WebChartHeatChartSeries ? typeof WebChartTypes.HeatSeries : never;
|
|
171
170
|
|
|
172
|
-
/** @internal */
|
|
173
171
|
export type ModelOfType<T> = T extends typeof ModelTypes.BarChart ? BarChartModel : T extends typeof ModelTypes.BoxPlot ? BoxPlotModel : T extends typeof ModelTypes.LineChart ? LineChartModel : T extends typeof ModelTypes.ComboBarLineChart ? ComboBarLineChartModel : T extends typeof ModelTypes.PieChart ? PieChartModel : T extends typeof ModelTypes.Scatterplot ? ScatterplotModel : T extends typeof ModelTypes.Histogram ? HistogramModel : T extends typeof ModelTypes.Gauge ? GaugeModel : T extends typeof ModelTypes.RadarChart ? RadarChartModel : T extends typeof ModelTypes.HeatChart ? HeatChartModel : never;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
1
2
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
2
3
|
import type { ModelTypes } from "../interfaces/common.js";
|
|
3
|
-
import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.js";
|
|
4
|
-
import type { WithNegativeValuesStackedToBaseline } from "../properties/series/negative-values-stacked-to-baseline.js";
|
|
5
|
-
import type { ChartConfig } from "../../utils/types/index.js";
|
|
6
4
|
import type { ModelWithLineMarkerStyling } from "../mixins/model-with-line-marker-styling.js";
|
|
5
|
+
import type { WithNegativeValuesStackedToBaseline } from "../properties/series/negative-values-stacked-to-baseline.js";
|
|
6
|
+
import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.js";
|
|
7
7
|
|
|
8
8
|
export class LineChartModel extends LineChartModelSuperclass {
|
|
9
9
|
/** Returns whether the series styling is able to be reset. */
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import type { WebChartStatisticType } from "../../spec/chart-object-literals.js";
|
|
2
|
+
import type { Color, ISimpleLineSymbol } from "../../spec/rest-js-types.js";
|
|
3
|
+
import type { WebChartPieChartGroupSlice, WebChartPieChartSlice } from "../../spec/web-chart.js";
|
|
4
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
1
5
|
import type { ChartModel } from "../chart-model/chart-model.js";
|
|
2
6
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
3
7
|
import type { ModelTypes, PieChartDataSortingKinds, PieChartSlicesDisplay, PieChartDataModes } from "../interfaces/common.js";
|
|
8
|
+
import type { ModelWithTooltips } from "../mixins/model-with-tooltips.js";
|
|
4
9
|
import type { WithColorMatch } from "../properties/color-match.js";
|
|
5
|
-
import type { WithDataLabelsVisibility } from "../properties/data-labels/data-labels-visibility.js";
|
|
6
10
|
import type { WithDataLabelsSymbol } from "../properties/data-labels/data-labels-symbol.js";
|
|
11
|
+
import type { WithDataLabelsVisibility } from "../properties/data-labels/data-labels-visibility.js";
|
|
7
12
|
import type { PieChartLegendModel } from "./pie-chart-legend-model.js";
|
|
8
|
-
import type { ChartConfig } from "../../utils/types/index.js";
|
|
9
|
-
import type { WebChartPieChartGroupSlice, WebChartPieChartSlice } from "../../spec/web-chart.js";
|
|
10
|
-
import type { WebChartStatisticType } from "../../spec/chart-object-literals.js";
|
|
11
|
-
import type { Color, ISimpleLineSymbol } from "../../spec/rest-js-types.js";
|
|
12
|
-
import type { ModelWithTooltips } from "../mixins/model-with-tooltips.js";
|
|
13
13
|
|
|
14
14
|
export class PieChartModel extends PieChartModelSuperclass {
|
|
15
15
|
/** Aggregation type for the pie chart. */
|
|
@@ -3,6 +3,5 @@ import type { WithMaxXBound } from "./max-x-bound.js";
|
|
|
3
3
|
import type { WithMinXBound } from "./min-x-bound.js";
|
|
4
4
|
|
|
5
5
|
/** Adds support for configuring both minimum and maximum x-axis bounds. */
|
|
6
|
-
export abstract class WithXBounds extends
|
|
7
|
-
|
|
8
|
-
export interface WithXBounds extends WithMaxXBound, WithMinXBound {}
|
|
6
|
+
export abstract class WithXBounds extends WithXBoundsSuperclass {}
|
|
7
|
+
declare const WithXBoundsSuperclass: typeof ChartModelBase & typeof WithMinXBound & typeof WithMaxXBound
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for working with data tooltip font sizes. */
|
|
4
|
+
export abstract class WithSeriesDataTooltipFontSize extends ChartModelBase {
|
|
5
|
+
/**
|
|
6
|
+
* Gets the data tooltip font size for a series.
|
|
7
|
+
*
|
|
8
|
+
* If the series index is out of bounds or the series list is empty, this function will return `undefined`.
|
|
9
|
+
*
|
|
10
|
+
* @param seriesIndex - The index of the series to retrieve the font size for.
|
|
11
|
+
*/
|
|
12
|
+
getDataTooltipFontSize(seriesIndex: number): number | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Sets the data tooltip font size for a series.
|
|
15
|
+
*
|
|
16
|
+
* @param fontSize - The font size to set.
|
|
17
|
+
* @param seriesIndex - The index of the series to set the font size for.
|
|
18
|
+
*/
|
|
19
|
+
setDataTooltipFontSize(fontSize: number | undefined, seriesIndex: number): void;
|
|
20
|
+
}
|
|
@@ -3,5 +3,11 @@ import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
|
3
3
|
/** Adds support for working with the chart rotated state. */
|
|
4
4
|
export abstract class WithRotatedState extends ChartModelBase {
|
|
5
5
|
/** Whether the chart is rotated. */
|
|
6
|
+
accessor rotated: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Whether the chart is rotated.
|
|
9
|
+
*
|
|
10
|
+
* @deprecated since 5.1. Use [rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/model/properties/rotated-state/#rotated) instead.
|
|
11
|
+
*/
|
|
6
12
|
accessor rotatedState: boolean;
|
|
7
13
|
}
|
|
@@ -3,15 +3,5 @@ import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
|
3
3
|
/** Adds support for working with a time zone. */
|
|
4
4
|
export abstract class WithTimeZone extends ChartModelBase {
|
|
5
5
|
/** Gets the time zone for the chart. */
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Sets the time zone for the chart.
|
|
9
|
-
*
|
|
10
|
-
* @param newTimeZone - The new time zone.
|
|
11
|
-
* @example
|
|
12
|
-
* ```typescript
|
|
13
|
-
* chartModel.setTimeZone("America/Los_Angeles");
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
setTimeZone(newTimeZone: string | undefined): Promise<void>;
|
|
6
|
+
accessor timeZone: string | undefined;
|
|
17
7
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { ModelOfType, ModelTypes } from "../interfaces/common.js";
|
|
2
1
|
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
3
2
|
import type { IFeatureLayer, IImageServiceLayer, ITiledImageServiceLayer } from "../../spec/rest-js-types.js";
|
|
3
|
+
import type { CommonStrings } from "../../utils/localization/interfaces.js";
|
|
4
4
|
import type { ChartConfig } from "../../utils/types/index.js";
|
|
5
|
+
import type { ModelOfType, ModelTypes } from "../interfaces/common.js";
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Creates a new chart model for config interaction based on the provided properties.
|
|
@@ -22,7 +23,9 @@ export function createModel<T extends ModelTypes>(props: CreateModelProps<T>): P
|
|
|
22
23
|
* Properties used by the `createModel` function to create a new model.
|
|
23
24
|
* Various combinations of `layer`, `iLayer`, `chartType`, and `config` are supported.
|
|
24
25
|
*/
|
|
25
|
-
export type CreateModelProps<T extends ModelTypes> = ILayerAndSourcelessConfig<T> | ILayerAndType<T> | LayerAndSourcelessConfig<T> | LayerAndType<T> | SourcedConfig<T
|
|
26
|
+
export type CreateModelProps<T extends ModelTypes> = (ILayerAndSourcelessConfig<T> | ILayerAndType<T> | LayerAndSourcelessConfig<T> | LayerAndType<T> | SourcedConfig<T>) & {
|
|
27
|
+
commonStrings?: CommonStrings;
|
|
28
|
+
};
|
|
26
29
|
|
|
27
30
|
/**
|
|
28
31
|
* Properties used by the `createModel` function to create a new model based on the provided `layer` and `chartType`.
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import { M as o } from "../../chunks/common.js";
|
|
3
|
+
import { g as r, i as n, c } from "../../chunks/model-types.js";
|
|
4
|
+
async function s(a) {
|
|
5
|
+
const i = "config" in a ? r(a.config) : a.chartType;
|
|
6
|
+
let t;
|
|
7
|
+
if (!("layer" in a) && !("iLayer" in a) && "config" in a && a.config.iLayer === void 0)
|
|
8
|
+
throw new Error(
|
|
9
|
+
"The source is missing. You can provide it to createModel through either `iLayer`, `layer`, or by setting the `config.iLayer` property."
|
|
10
|
+
);
|
|
11
|
+
switch (i) {
|
|
12
|
+
case o.LineChart: {
|
|
13
|
+
const { LineChartModel: e } = await import("../../chunks/line-chart-model.js");
|
|
14
|
+
t = new e();
|
|
15
|
+
break;
|
|
16
|
+
}
|
|
17
|
+
case o.ComboBarLineChart: {
|
|
18
|
+
const { ComboBarLineChartModel: e } = await import("../../chunks/combo-bar-line-chart-model.js");
|
|
19
|
+
t = new e();
|
|
20
|
+
break;
|
|
21
|
+
}
|
|
22
|
+
case o.PieChart: {
|
|
23
|
+
const { PieChartModel: e } = await import("../../chunks/pie-chart-model.js");
|
|
24
|
+
t = new e();
|
|
25
|
+
break;
|
|
26
|
+
}
|
|
27
|
+
case o.Histogram: {
|
|
28
|
+
const { HistogramModel: e } = await import("../../chunks/histogram-model.js");
|
|
29
|
+
t = new e();
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
case o.Scatterplot: {
|
|
33
|
+
const { ScatterplotModel: e } = await import("../../chunks/scatterplot-model.js");
|
|
34
|
+
t = new e();
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
case o.BoxPlot: {
|
|
38
|
+
const { BoxPlotModel: e } = await import("../../chunks/box-plot-model.js");
|
|
39
|
+
t = new e();
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
case o.Gauge: {
|
|
43
|
+
const { GaugeModel: e } = await import("../../chunks/gauge-model.js");
|
|
44
|
+
t = new e();
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
case o.RadarChart: {
|
|
48
|
+
const { RadarChartModel: e } = await import("../../chunks/radar-chart-model.js");
|
|
49
|
+
t = new e();
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
case o.HeatChart: {
|
|
53
|
+
const { HeatChartModel: e } = await import("../../chunks/heat-chart-model.js");
|
|
54
|
+
t = new e();
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
case o.BarChart:
|
|
58
|
+
default: {
|
|
59
|
+
const { BarChartModel: e } = await import("../../chunks/bar-chart-model.js");
|
|
60
|
+
t = new e();
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
if (await t?.setup({
|
|
65
|
+
layer: "layer" in a ? a.layer : void 0,
|
|
66
|
+
iLayer: "iLayer" in a ? a.iLayer : void 0,
|
|
67
|
+
config: "config" in a ? a.config : void 0,
|
|
68
|
+
commonStrings: "commonStrings" in a ? a.commonStrings : void 0
|
|
69
|
+
}), i !== void 0 && n(t, i))
|
|
70
|
+
return t;
|
|
71
|
+
{
|
|
72
|
+
const e = c(t.chartType);
|
|
73
|
+
throw new Error(
|
|
74
|
+
`Please check the arguments provided to \`createModel\`. The generated model's type (\`${e}\`) does not match the type specified by either the \`chartType\` or the \`config\` argument (\`${i}\`).`
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export {
|
|
79
|
+
s as createModel
|
|
80
|
+
};
|
|
@@ -8,6 +8,7 @@ export const WebChartTypes: {
|
|
|
8
8
|
readonly Axis: "chartAxis";
|
|
9
9
|
readonly GaugeAxisTick: "gaugeAxisTick";
|
|
10
10
|
readonly GaugeNeedle: "gaugeNeedle";
|
|
11
|
+
readonly FixedProgressBands: "fixed";
|
|
11
12
|
readonly CategoryAxisFormat: "category";
|
|
12
13
|
readonly NumberAxisFormat: "number";
|
|
13
14
|
readonly DateAxisFormat: "date";
|
|
@@ -108,7 +108,7 @@ export const RESTFontDecoration: {
|
|
|
108
108
|
/** @deprecated since 5.1. Won't be replaced. */
|
|
109
109
|
export type RESTFontDecoration = (typeof RESTFontDecoration)[keyof typeof RESTFontDecoration];
|
|
110
110
|
|
|
111
|
-
/** @deprecated since 5.1. Use core
|
|
111
|
+
/** @deprecated since 5.1. Use [Query#units](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) instead. */
|
|
112
112
|
export const RESTUnits: {
|
|
113
113
|
readonly Feet: "feet";
|
|
114
114
|
readonly Miles: "miles";
|
|
@@ -118,7 +118,7 @@ export const RESTUnits: {
|
|
|
118
118
|
readonly Kilometers: "kilometers";
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
/** @deprecated since 5.1. Use core
|
|
121
|
+
/** @deprecated since 5.1. Use [Query#units](https://developers.arcgis.com/javascript/latest/references/core/rest/support/Query/#units) instead. */
|
|
122
122
|
export type RESTUnits = (typeof RESTUnits)[keyof typeof RESTUnits];
|
|
123
123
|
|
|
124
124
|
export const RESTRendererType: {
|
|
@@ -71,7 +71,16 @@ export interface IGeometry {
|
|
|
71
71
|
spatialReference?: ISpatialReference;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* A simple point geometry, with spatial reference defined.
|
|
76
|
+
*
|
|
77
|
+
* `IPoint` can also be imported from the following packages:
|
|
78
|
+
*
|
|
79
|
+
* ```js
|
|
80
|
+
* import { IPoint } from "@esri/arcgis-rest-routing";
|
|
81
|
+
* import { IPoint } from "@esri/arcgis-rest-geocoding";
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
75
84
|
export interface IPoint extends IHasZM, IGeometry {
|
|
76
85
|
x: number;
|
|
77
86
|
y: number;
|
|
@@ -90,7 +99,7 @@ export interface ILocation {
|
|
|
90
99
|
z?: number;
|
|
91
100
|
}
|
|
92
101
|
|
|
93
|
-
/**
|
|
102
|
+
/** Polyline geometry. */
|
|
94
103
|
export interface IPolyline extends IHasZM, IGeometry {
|
|
95
104
|
paths: Position[][];
|
|
96
105
|
}
|
|
@@ -103,12 +112,12 @@ export interface IPolylineWithCurves extends IHasZM, IGeometry {
|
|
|
103
112
|
curvePaths: (JsonCurve | Position)[][];
|
|
104
113
|
}
|
|
105
114
|
|
|
106
|
-
/**
|
|
115
|
+
/** Polygon geometry. */
|
|
107
116
|
export interface IPolygon extends IHasZM, IGeometry {
|
|
108
117
|
rings: Position[][];
|
|
109
118
|
}
|
|
110
119
|
|
|
111
|
-
/**
|
|
120
|
+
/** Polygon geometry with curves. */
|
|
112
121
|
export interface IPolygonWithCurves extends IHasZM, IGeometry {
|
|
113
122
|
curveRings: (JsonCurve | Position)[][];
|
|
114
123
|
}
|
|
@@ -1367,7 +1376,6 @@ export interface IBingLayer extends ILayer {
|
|
|
1367
1376
|
portalUrl?: string;
|
|
1368
1377
|
}
|
|
1369
1378
|
|
|
1370
|
-
/** @internal */
|
|
1371
1379
|
export interface IImageServiceLayer extends ILayer, ISupportsTime {
|
|
1372
1380
|
/** An array of bandIds that are visible, can specify bands to export or rearrange band order(from image service). */
|
|
1373
1381
|
bandIds?: number[];
|
|
@@ -1748,7 +1756,7 @@ export interface IOpenStreetMapLayer extends ILayer {
|
|
|
1748
1756
|
type?: "OpenStreetMap";
|
|
1749
1757
|
}
|
|
1750
1758
|
|
|
1751
|
-
/**
|
|
1759
|
+
/** Tiled image service layer definition. */
|
|
1752
1760
|
export interface ITiledImageServiceLayer extends ILayer {
|
|
1753
1761
|
/** Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false). */
|
|
1754
1762
|
isReference?: boolean;
|
|
@@ -1758,7 +1766,7 @@ export interface ITiledImageServiceLayer extends ILayer {
|
|
|
1758
1766
|
refreshInterval?: number;
|
|
1759
1767
|
}
|
|
1760
1768
|
|
|
1761
|
-
/**
|
|
1769
|
+
/** Web Coverage Service (WCS) layer definition. */
|
|
1762
1770
|
export interface IWCSLayer extends ILayer {
|
|
1763
1771
|
/** Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false). */
|
|
1764
1772
|
isReference?: boolean;
|
|
@@ -1935,7 +1943,13 @@ export interface ICsvLayer extends ILayer {
|
|
|
1935
1943
|
type?: "CSV";
|
|
1936
1944
|
}
|
|
1937
1945
|
|
|
1938
|
-
/**
|
|
1946
|
+
/**
|
|
1947
|
+
* Feature layers can be created by referencing a layer from either a map service or a feature service or by specifying a feature collection object.
|
|
1948
|
+
* Use a map service if you just want to retrieve geometries and attributes from the server and symbolize them yourself. Use a feature service if
|
|
1949
|
+
* you want to take advantage of symbols from the service's source map document. Also, use a feature service if you plan on doing editing with the
|
|
1950
|
+
* feature layer. Feature layers honor any feature templates configured in the source map document. Feature collection objects are used to create
|
|
1951
|
+
* a feature layer based on the supplied definition.
|
|
1952
|
+
*/
|
|
1939
1953
|
export interface IFeatureLayer extends ILayer, ISupportsTime {
|
|
1940
1954
|
/** A comma-separated string listing which editing operations are allowed on an editable feature service. */
|
|
1941
1955
|
capabilities?: string;
|