@arcgis/charts-components 4.34.0-next.137 → 4.34.0-next.139
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{MS4XYPSC.js → 24727M32.js} +2 -2
- package/dist/cdn/{QYNI75XR.js → 24AOABIJ.js} +2 -2
- package/dist/cdn/{SB4GITO4.js → 275IWBUL.js} +2 -2
- package/dist/cdn/{PSZTKTH5.js → 2BBHT77V.js} +2 -2
- package/dist/cdn/{2TG2EZ7L.js → 2DFVXYZZ.js} +2 -2
- package/dist/cdn/{NI233ASE.js → 2HWLESX7.js} +1 -1
- package/dist/cdn/2TQVJANU.js +4 -0
- package/dist/cdn/{LCGCWNCV.js → 2Z5QZCFJ.js} +2 -2
- package/dist/cdn/{K5EUTDCW.js → 35M3UULX.js} +2 -2
- package/dist/cdn/{QYM3POIV.js → 3EZ5I5OP.js} +2 -2
- package/dist/cdn/3F4JEJEA.js +4 -0
- package/dist/cdn/{UOCK6NRQ.js → 3NNFVET2.js} +2 -2
- package/dist/cdn/{WBHCQ35R.js → 3R42OOYX.js} +2 -2
- package/dist/cdn/{U5O5DU3K.js → 3SIQACVN.js} +2 -2
- package/dist/cdn/{COL4BR4N.js → 3YWAYBOP.js} +2 -2
- package/dist/cdn/{UWTLLLGA.js → 4AV33IV4.js} +2 -2
- package/dist/cdn/{TY4AACIT.js → 4CMMHISB.js} +2 -2
- package/dist/cdn/{EUKYYHZX.js → 4EPKGG7E.js} +2 -2
- package/dist/cdn/{RPXGXESV.js → 4FUBFI63.js} +2 -2
- package/dist/cdn/{NLCHH3PA.js → 4KAYRNBJ.js} +2 -2
- package/dist/cdn/{ZVMXU72W.js → 4Q6VLLNL.js} +2 -2
- package/dist/cdn/{WKW2EY33.js → 4QIMBRET.js} +2 -2
- package/dist/cdn/{RTVALPS6.js → 4RW7YIQW.js} +2 -2
- package/dist/cdn/53EV3MZT.js +4 -0
- package/dist/cdn/{GVEJNJ6W.js → 55F4PKIU.js} +2 -2
- package/dist/cdn/{T7RKBO5R.js → 5HTKVNVU.js} +2 -2
- package/dist/cdn/{C5T6VUHW.js → 5LPFIGE5.js} +2 -2
- package/dist/cdn/{DBD7TXON.js → 62YLRCZ3.js} +2 -2
- package/dist/cdn/{4IFQQ22Q.js → 6HKTEN26.js} +2 -2
- package/dist/cdn/6KWDDRP3.js +4 -0
- package/dist/cdn/{NWVFHYJ4.js → 6MLVADSL.js} +2 -2
- package/dist/cdn/{J2GDDFON.js → 7JKH3A3L.js} +1 -1
- package/dist/cdn/{MPNJZTIJ.js → 7M6O44MJ.js} +2 -2
- package/dist/cdn/{HF7QUOV2.js → 7SP4VWKX.js} +2 -2
- package/dist/cdn/{SLDAVWPQ.js → 7VT3JILN.js} +2 -2
- package/dist/cdn/{OO43JSJR.js → 7YIGASYS.js} +2 -2
- package/dist/cdn/{TD53ETQ2.js → A43LOI3S.js} +2 -2
- package/dist/cdn/{CYA55SRQ.js → AASZ2NNB.js} +2 -2
- package/dist/cdn/{RQ6P2WIA.js → AGR66VGN.js} +1 -1
- package/dist/cdn/{RHDN6GIU.js → AIOJRVUP.js} +2 -2
- package/dist/cdn/{W67II2AQ.js → AIPWFENR.js} +2 -2
- package/dist/cdn/{PQVQD6CJ.js → AO7SKWWW.js} +2 -2
- package/dist/cdn/{3O2NKJMU.js → ARSERCLF.js} +2 -2
- package/dist/cdn/{5HKR2XQN.js → ATJ7PUAG.js} +2 -2
- package/dist/cdn/{YONNDJAA.js → AUOLPYT4.js} +2 -2
- package/dist/cdn/{HXA66IKK.js → AVMOQPLZ.js} +2 -2
- package/dist/cdn/{OIJHYUNL.js → B7AQO23Y.js} +2 -2
- package/dist/cdn/BKBDVEMA.js +4 -0
- package/dist/cdn/{E6WS2PNI.js → BNUYM65P.js} +2 -2
- package/dist/cdn/{TQCCKX5J.js → C5OMHPCP.js} +2 -2
- package/dist/cdn/{ZRGIW4IF.js → CKG455T3.js} +2 -2
- package/dist/cdn/{VSCLREOC.js → CL5PS2ZQ.js} +2 -2
- package/dist/cdn/{3EKBIFG2.js → CLHKW2R4.js} +2 -2
- package/dist/cdn/{R7FHXTD7.js → CO2FLJ3Y.js} +2 -2
- package/dist/cdn/{Z4IW4CZO.js → CQNULM3X.js} +2 -2
- package/dist/cdn/{6NHNZUMU.js → CVNAPOVD.js} +2 -2
- package/dist/cdn/{QSXKJ4UY.js → CYIPOL2X.js} +2 -2
- package/dist/cdn/CZJXXGG4.js +4 -0
- package/dist/cdn/{W3VDAH5Z.js → D3Y5X2RZ.js} +2 -2
- package/dist/cdn/{Z3ILN5GE.js → D5QIJWED.js} +2 -2
- package/dist/cdn/{OBOJISEC.js → DKVFP5PU.js} +2 -2
- package/dist/cdn/{56ZMW6ZT.js → DRXGR5N6.js} +2 -2
- package/dist/cdn/{5GFYJO4N.js → E33WMWB7.js} +2 -2
- package/dist/cdn/{6LYUL32L.js → EEUKLBDN.js} +2 -2
- package/dist/cdn/{6NGUSG6Z.js → ESFDWI2T.js} +2 -2
- package/dist/cdn/{BPBJ6HHB.js → ESOFQM6P.js} +2 -2
- package/dist/cdn/{2IUXXBNE.js → F55XH6IZ.js} +2 -2
- package/dist/cdn/{XLS2ZIO5.js → F7JABPNG.js} +2 -2
- package/dist/cdn/{I7JRXIX6.js → FC5NKDA3.js} +2 -2
- package/dist/cdn/{NWANFRQZ.js → FCORKVAA.js} +1 -1
- package/dist/cdn/{3UHMFXPL.js → FHCA75QA.js} +2 -2
- package/dist/cdn/{2GM3JRET.js → G45PGUQN.js} +2 -2
- package/dist/cdn/{OE57TPY4.js → GJ3JLCUX.js} +2 -2
- package/dist/cdn/{T2KMQVDW.js → GRZUDJ23.js} +2 -2
- package/dist/cdn/{7EPB7NUQ.js → GS6HMLEU.js} +2 -2
- package/dist/cdn/{YWFIAFI5.js → GSG2VUXI.js} +2 -2
- package/dist/cdn/{WO5AZSNE.js → GWQI56LV.js} +2 -2
- package/dist/cdn/{RYW5RMKR.js → H5D47BKX.js} +2 -2
- package/dist/cdn/{H4ABW5RH.js → HDLBXV7M.js} +2 -2
- package/dist/cdn/{WFJWDHVE.js → HFTUMX5C.js} +2 -2
- package/dist/cdn/HGYMKMCV.js +4 -0
- package/dist/cdn/{WX6MHA4C.js → HMY5IMMX.js} +2 -2
- package/dist/cdn/{NS7LIL7G.js → HMZXUUOL.js} +2 -2
- package/dist/cdn/HNKRKWC3.js +4 -0
- package/dist/cdn/{LTNPY5NM.js → HROD7HBX.js} +2 -2
- package/dist/cdn/{Z3GHWLXO.js → HSE5TX37.js} +2 -2
- package/dist/cdn/{EIEO534N.js → HTIIP76D.js} +2 -2
- package/dist/cdn/{TCOATTAO.js → HYQ6RQRD.js} +2 -2
- package/dist/cdn/{LPF7LCEV.js → I5XKWJQ3.js} +2 -2
- package/dist/cdn/{SSTWJRPL.js → IESXX2ZN.js} +2 -2
- package/dist/cdn/{4GEYKPPZ.js → IIEO3CUM.js} +2 -2
- package/dist/cdn/{ZKTHH2D2.js → IQNSNAPF.js} +2 -2
- package/dist/cdn/J6O2Q7JQ.js +4 -0
- package/dist/cdn/{64E35VZF.js → JI4SCCKL.js} +2 -2
- package/dist/cdn/{BDE437TR.js → JJBMFIJR.js} +2 -2
- package/dist/cdn/{AZUJU64Z.js → JNEUGJJP.js} +2 -2
- package/dist/cdn/{GWU5GX73.js → KKQ5YMWB.js} +2 -2
- package/dist/cdn/KOSZILX5.js +4 -0
- package/dist/cdn/{UUXEUOIF.js → KWN5Q4E5.js} +2 -2
- package/dist/cdn/{MSYZQUPK.js → KYFB56YJ.js} +2 -2
- package/dist/cdn/{57WE222S.js → KZ7R2GNT.js} +2 -2
- package/dist/cdn/{AV4VWOKJ.js → L2IRDB6T.js} +2 -2
- package/dist/cdn/{IUKN5SK3.js → L6SJIJ4U.js} +2 -2
- package/dist/cdn/{GEDBEOAB.js → LEYFIB5I.js} +2 -2
- package/dist/cdn/{WS7UNU26.js → LIN2JSC3.js} +2 -2
- package/dist/cdn/{QUOXLAGO.js → LO7TZSPN.js} +1 -1
- package/dist/cdn/{L3IDJWBE.js → LYHLT7KP.js} +2 -2
- package/dist/cdn/M46AKLTX.js +4 -0
- package/dist/cdn/{MWP5HKFH.js → MSP6ENWY.js} +2 -2
- package/dist/cdn/{NQWOGRFC.js → MV3JUDYG.js} +2 -2
- package/dist/cdn/MYXBBS5N.js +6 -0
- package/dist/cdn/{C4SSBI7M.js → N4ALCYUU.js} +2 -2
- package/dist/cdn/{HB26JJPI.js → N4FD6GFX.js} +2 -2
- package/dist/cdn/{CKFADYI3.js → NBK3IGYG.js} +2 -2
- package/dist/cdn/{KB5VDJXS.js → NDPTI4DK.js} +2 -2
- package/dist/cdn/{QSU6IIFW.js → NHGBQNGR.js} +2 -2
- package/dist/cdn/{ZUP7EB7A.js → NTA7RIMK.js} +1 -1
- package/dist/cdn/{GEWDU66X.js → NTOPMFTD.js} +1 -1
- package/dist/cdn/{OAPUV56D.js → NVNTOMN3.js} +2 -2
- package/dist/cdn/{OHM2J36S.js → NXQ4SDPQ.js} +2 -2
- package/dist/cdn/{LCLE2R6O.js → OKCKTHTO.js} +2 -2
- package/dist/cdn/{MIMRBYW2.js → OMLAJ4TO.js} +2 -2
- package/dist/cdn/{NWAAWZP2.js → OMSVBDXG.js} +2 -2
- package/dist/cdn/{FP4XIAZA.js → ORRKIZWH.js} +2 -2
- package/dist/cdn/{35XS4G7U.js → OZKXMCJA.js} +2 -2
- package/dist/cdn/{RUVABNP7.js → OZYGBOFG.js} +2 -2
- package/dist/cdn/{XEU72CT2.js → PAG6XWJA.js} +2 -2
- package/dist/cdn/{N46QLWTZ.js → PRJSC3RV.js} +2 -2
- package/dist/cdn/{ORC6TL5X.js → PTM7SNSE.js} +2 -2
- package/dist/cdn/QW5PY2X3.js +4 -0
- package/dist/cdn/{UMRBGDBL.js → QWI2A6ZL.js} +2 -2
- package/dist/cdn/{ZF4MRQ56.js → QX27BY34.js} +2 -2
- package/dist/cdn/{OUSZB3WZ.js → RD6AKW5W.js} +2 -2
- package/dist/cdn/{5O7OVSZS.js → RL3EEN44.js} +2 -2
- package/dist/cdn/{QR6Z5QK5.js → S4HKPNOQ.js} +2 -2
- package/dist/cdn/{A4NWMBYH.js → S52ZYYIM.js} +2 -2
- package/dist/cdn/{QVELZ5IY.js → S5ZFBXHP.js} +2 -2
- package/dist/cdn/{ZGKEHJ64.js → SGY3Y3T2.js} +2 -2
- package/dist/cdn/{UVMNH23P.js → SIC5Q5IQ.js} +2 -2
- package/dist/cdn/{RM2JGKYW.js → SKCZJNTG.js} +2 -2
- package/dist/cdn/{3IJG35MT.js → SPI4CDXV.js} +2 -2
- package/dist/cdn/{PIYYGBED.js → SRPLJB2L.js} +2 -2
- package/dist/cdn/{LUZ7IF6Q.js → SX77MTL5.js} +2 -2
- package/dist/cdn/T265JJO4.js +4 -0
- package/dist/cdn/{EX4JU7GR.js → T37XLGRC.js} +2 -2
- package/dist/cdn/{MN5BI7ZH.js → TD557D5H.js} +2 -2
- package/dist/cdn/TIAZ2E3Q.js +4 -0
- package/dist/cdn/{IZXEJUQ7.js → TVN64B5W.js} +2 -2
- package/dist/cdn/{PD4XSNEZ.js → TX33Y4PI.js} +2 -2
- package/dist/cdn/{7QI2TCHJ.js → U3LR4SEM.js} +2 -2
- package/dist/cdn/{RO5T5LR7.js → U64R6C4H.js} +2 -2
- package/dist/cdn/{Z6LDW5WG.js → UESGPZ3P.js} +2 -2
- package/dist/cdn/{3YVN7ZEL.js → UFZXQNXX.js} +2 -2
- package/dist/cdn/{2MV6WAUW.js → UHPYWYXH.js} +2 -2
- package/dist/cdn/{4HXNMDS6.js → UMVCJSEL.js} +2 -2
- package/dist/cdn/{PXQRFZG3.js → UPJNAB23.js} +2 -2
- package/dist/cdn/{2N7KPE3X.js → UPK33ANF.js} +2 -2
- package/dist/cdn/{3SZRGL74.js → VAJCC7MO.js} +2 -2
- package/dist/cdn/VGT6OV7C.js +4 -0
- package/dist/cdn/VMKHC6RQ.js +4 -0
- package/dist/cdn/{DN7HLW7R.js → W3KQRTPP.js} +2 -2
- package/dist/cdn/{23A35FGI.js → W6IWMH2N.js} +2 -2
- package/dist/cdn/{AD6UTPKO.js → WZNK5TL7.js} +2 -2
- package/dist/cdn/{IJG2RPEH.js → X244JP3P.js} +2 -2
- package/dist/cdn/{7NKXAXRK.js → XGMCJCID.js} +2 -2
- package/dist/cdn/{FF64YKHU.js → XJQ3SQ2F.js} +2 -2
- package/dist/cdn/{KWGVVBCK.js → XLFDFDKQ.js} +2 -2
- package/dist/cdn/{CTXK6J6A.js → XSODGSTK.js} +2 -2
- package/dist/cdn/{NL5HWOSB.js → XV7SKWTW.js} +10 -10
- package/dist/cdn/{GRCBC7FY.js → XYKFL3V6.js} +2 -2
- package/dist/cdn/{IJM7TMTX.js → Y23T3DSI.js} +2 -2
- package/dist/cdn/{5DAAXFKZ.js → Y2OO5FYQ.js} +2 -2
- package/dist/cdn/{7TD3DUVR.js → Y4VP5EK2.js} +2 -2
- package/dist/cdn/{JNJRBTCS.js → YBO24WWY.js} +2 -2
- package/dist/cdn/{UOBY6NVK.js → YSAMGVP7.js} +2 -2
- package/dist/cdn/{F67CMYND.js → Z2AMZVEI.js} +2 -2
- package/dist/cdn/{QGCTZUSE.js → Z5AQSMCG.js} +2 -2
- package/dist/cdn/{QCPXEY3Y.js → ZHPMZD6C.js} +2 -2
- package/dist/cdn/{QLWFJ26E.js → ZZILHPFL.js} +20 -20
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +1 -0
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +2 -0
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +8 -1
- package/dist/chart-rendering/common/interfaces.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +1 -0
- package/dist/chunks/action-bar-utils.js +12 -11
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +5 -5
- package/dist/chunks/bar-chart-series.js +3 -3
- package/dist/chunks/baseline-stacking.js +23 -23
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +34 -34
- package/dist/chunks/box-plot-model.js +23 -23
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +122 -77
- package/dist/chunks/combo-bar-line-chart-model.js +10 -10
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +435 -400
- package/dist/chunks/default.js +4 -4
- package/dist/chunks/events.js +18 -0
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +69 -6163
- package/dist/chunks/index2.js +16 -38
- package/dist/chunks/index3.js +6124 -35
- package/dist/chunks/interfaces.js +90 -16212
- package/dist/chunks/interfaces2.js +16120 -90
- package/dist/chunks/interfaces3.js +491 -0
- package/dist/chunks/interfaces4.js +18 -0
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +11 -11
- package/dist/chunks/model-with-multi-axes.js +50 -50
- package/dist/chunks/model-with-rotation.js +4 -4
- package/dist/chunks/pie-chart-data.js +29 -28
- package/dist/chunks/pie-chart-model.js +12 -12
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +8 -8
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +5 -5
- package/dist/chunks/serial-chart-model.js +109 -84
- package/dist/chunks/series-types.js +16 -21
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +304 -770
- package/dist/components/arcgis-chart/customElement.js +3234 -3188
- package/dist/components/arcgis-charts-action-bar/customElement.js +43 -42
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +76 -71
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +68 -44
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +7 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +17 -18
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +79 -75
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +18 -17
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +4 -3
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +90 -542
- package/dist/json-schema/index.d.ts +55 -25
- package/dist/loader.js +2 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +11 -1
- package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +16 -1
- package/dist/model.js +1 -1
- package/dist/spec/index.d.ts +2 -2
- package/dist/spec/web-chart.d.ts +28 -1
- package/dist/utils/chart-config/converter/index.d.ts +3 -3
- package/package.json +3 -3
- package/dist/cdn/3XSLT5D7.js +0 -4
- package/dist/cdn/7K6HWWFH.js +0 -4
- package/dist/cdn/7L4GCMKU.js +0 -4
- package/dist/cdn/ADGH33XA.js +0 -4
- package/dist/cdn/EKKUUTLJ.js +0 -4
- package/dist/cdn/H4EKWUGZ.js +0 -4
- package/dist/cdn/H57THMT5.js +0 -6
- package/dist/cdn/KUH3QJNM.js +0 -4
- package/dist/cdn/P73CI4UI.js +0 -4
- package/dist/cdn/RP7TFTPB.js +0 -4
- package/dist/cdn/WB5LCPZU.js +0 -4
- package/dist/cdn/WXUZD5V2.js +0 -4
- package/dist/cdn/XWI545BD.js +0 -4
- package/dist/cdn/YRIZNPRL.js +0 -4
- package/dist/cdn/Z75YNMRA.js +0 -4
- package/dist/chunks/index4.js +0 -68
- package/dist/chunks/index5.js +0 -95
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { W as p, o as _ } from "./series-types.js";
|
|
2
2
|
import { fetchT9nStringsBundle as X, getElementLocale as N } from "@arcgis/toolkit/intl";
|
|
3
|
-
import { cloneDeep as
|
|
3
|
+
import { cloneDeep as z } from "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { aA as m, aG as g, aH as h, aL as E, m as R, H as w, I as O, f as k, ay as H, b as W, ab as Y, aM as b } from "./interfaces2.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -13,29 +13,29 @@ import "@arcgis/core/request.js";
|
|
|
13
13
|
import "./runtime.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
15
|
import "@arcgis/core/intl.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { c as
|
|
19
|
-
import { g as C, S, T as
|
|
16
|
+
import { f } from "./rest-js-object-literals.js";
|
|
17
|
+
import { g as Z, c as K } from "./index.js";
|
|
18
|
+
import { c as P, G as l } from "./common.js";
|
|
19
|
+
import { g as C, S, T as j, U as q, V as $, W as J, X as Q, Y as ii, Z as ti, _ as ei, $ as si, a0 as oi, a1 as ni, a2 as ri, a3 as ai, a4 as gi, l as li, a5 as ci, a6 as fi, a as T, a7 as L, a8 as V, a9 as A, aa as u, s as x, ab as ui, ac as v, ad as G, ae as hi, af as di, ag as xi, ah as mi, e as y, ai as o, aj as bi, ak as Ci, al as yi, am as pi, an as _i, ao as Si, ap as Ti, aq as Li, ar as Vi, as as Ai, at as vi, au as Gi, av as Ui, aw as Di, ax as Bi, ay as Fi, az as Ii } from "./data.js";
|
|
20
20
|
import { getAssetPath as Mi } from "@esri/calcite-components";
|
|
21
|
-
import { c as Xi } from "./
|
|
21
|
+
import { c as Xi } from "./index3.js";
|
|
22
22
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
23
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
24
|
-
v4.34.0-next.
|
|
25
|
-
const Ni = (e) => e.title?.content,
|
|
24
|
+
v4.34.0-next.139 */
|
|
25
|
+
const Ni = (e) => e.title?.content, zi = (e, i) => {
|
|
26
26
|
if (e) {
|
|
27
27
|
const t = C(i);
|
|
28
|
-
i.title === void 0 && (i.title =
|
|
28
|
+
i.title === void 0 && (i.title = m({
|
|
29
29
|
text: "",
|
|
30
30
|
visible: !0,
|
|
31
31
|
font: h(g.ChartTitle),
|
|
32
32
|
type: g.ChartTitle
|
|
33
33
|
})), i.title.content = e, i.title.content.text = t;
|
|
34
34
|
}
|
|
35
|
-
},
|
|
35
|
+
}, Ei = (e) => e.subtitle?.content, Ri = (e, i) => {
|
|
36
36
|
if (e) {
|
|
37
37
|
const t = C(i);
|
|
38
|
-
i.subtitle === void 0 && (i.subtitle =
|
|
38
|
+
i.subtitle === void 0 && (i.subtitle = m({
|
|
39
39
|
text: "",
|
|
40
40
|
visible: !0,
|
|
41
41
|
font: h(g.ChartSubtitle),
|
|
@@ -45,21 +45,21 @@ const Ni = (e) => e.title?.content, Ri = (e, i) => {
|
|
|
45
45
|
}, wi = (e) => e.footer?.content, Oi = (e, i) => {
|
|
46
46
|
if (e) {
|
|
47
47
|
const t = S(i);
|
|
48
|
-
i.footer === void 0 && (i.footer =
|
|
48
|
+
i.footer === void 0 && (i.footer = m({
|
|
49
49
|
text: "",
|
|
50
50
|
visible: !0,
|
|
51
51
|
font: h(g.DescriptionText),
|
|
52
52
|
type: g.DescriptionText
|
|
53
53
|
})), i.footer.content = e, i.footer.content.text = t;
|
|
54
54
|
}
|
|
55
|
-
}, ki = (e) => e.background,
|
|
55
|
+
}, ki = (e) => e.background, Hi = (e, i) => {
|
|
56
56
|
i.background = e;
|
|
57
|
-
},
|
|
58
|
-
function
|
|
57
|
+
}, Wi = (e, i) => i.series[e]?.id, Yi = (e, i) => i.series.findIndex((t) => t.id === e), Zi = (e) => e.series.length ?? 0, Ki = (e, i) => i.series[e].visible ?? !0;
|
|
58
|
+
function Pi(e, i) {
|
|
59
59
|
let t;
|
|
60
60
|
return e.length !== 0 && i < e.length && (t = e[i].dataTooltipValueFormat), t;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function ji(e) {
|
|
63
63
|
const { series: i, seriesIndex: t, valueFormat: s } = e;
|
|
64
64
|
i.length !== 0 && t < i.length && (i[t].dataTooltipValueFormat = s);
|
|
65
65
|
}
|
|
@@ -146,7 +146,7 @@ class U extends EventTarget {
|
|
|
146
146
|
* @param {string} title The title text.
|
|
147
147
|
*/
|
|
148
148
|
setTitleText(i) {
|
|
149
|
-
|
|
149
|
+
j(i, this._config), this.emitConfigUpdate("setTitleText");
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
152
|
* Gets the chart subtitle text.
|
|
@@ -290,21 +290,21 @@ class U extends EventTarget {
|
|
|
290
290
|
* @param {WebChartTextSymbol | undefined} titleSymbol The title symbol.
|
|
291
291
|
*/
|
|
292
292
|
setTitleSymbol(i) {
|
|
293
|
-
|
|
293
|
+
zi(i, this._config), this.emitConfigUpdate("setTitleSymbol");
|
|
294
294
|
}
|
|
295
295
|
/**
|
|
296
296
|
* Gets the subtitle text symbol. Contains styling information such as font, color, and symbol style.
|
|
297
297
|
* @returns {WebChartTextSymbol | undefined}
|
|
298
298
|
*/
|
|
299
299
|
getSubtitleSymbol() {
|
|
300
|
-
return
|
|
300
|
+
return Ei(this._config);
|
|
301
301
|
}
|
|
302
302
|
/**
|
|
303
303
|
* Sets the subtitle text symbol. Contains styling information such as font, color, and symbol style.
|
|
304
304
|
* @param {WebChartTextSymbol | undefined} subtitleSymbol The title symbol.
|
|
305
305
|
*/
|
|
306
306
|
setSubtitleSymbol(i) {
|
|
307
|
-
|
|
307
|
+
Ri(i, this._config), this.emitConfigUpdate("setSubtitleSymbol");
|
|
308
308
|
}
|
|
309
309
|
/**
|
|
310
310
|
* Gets the description text symbol. Contains styling information such as font, color, and symbol style.
|
|
@@ -332,7 +332,7 @@ class U extends EventTarget {
|
|
|
332
332
|
* @param {Color | undefined} backgroundColor The background color.
|
|
333
333
|
*/
|
|
334
334
|
setBackgroundColor(i) {
|
|
335
|
-
|
|
335
|
+
Hi(i, this._config), this.emitConfigUpdate("setBackgroundColor");
|
|
336
336
|
}
|
|
337
337
|
// #endregion
|
|
338
338
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -344,7 +344,7 @@ class U extends EventTarget {
|
|
|
344
344
|
* @returns {boolean}
|
|
345
345
|
*/
|
|
346
346
|
getSeriesVisibility(i) {
|
|
347
|
-
return
|
|
347
|
+
return Ki(i, this._config);
|
|
348
348
|
}
|
|
349
349
|
/**
|
|
350
350
|
* Sets the visibility of a series.
|
|
@@ -355,7 +355,7 @@ class U extends EventTarget {
|
|
|
355
355
|
* @param {WebChartDataItem} props.sliceData
|
|
356
356
|
*/
|
|
357
357
|
setSeriesVisibility(i) {
|
|
358
|
-
|
|
358
|
+
E({ detail: i }, this._config), this.emitConfigUpdate("setSeriesVisibility");
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
361
361
|
* Gets the series ID for a given series index.
|
|
@@ -366,7 +366,7 @@ class U extends EventTarget {
|
|
|
366
366
|
* @returns {string | undefined}
|
|
367
367
|
*/
|
|
368
368
|
getSeriesId(i) {
|
|
369
|
-
return
|
|
369
|
+
return Wi(i, this._config);
|
|
370
370
|
}
|
|
371
371
|
/**
|
|
372
372
|
* Gets the series index for a given series ID.
|
|
@@ -391,7 +391,7 @@ class U extends EventTarget {
|
|
|
391
391
|
* @returns {ChartSubType}
|
|
392
392
|
*/
|
|
393
393
|
getChartSubType() {
|
|
394
|
-
return
|
|
394
|
+
return R(this._config.series);
|
|
395
395
|
}
|
|
396
396
|
/**
|
|
397
397
|
* Gets the data tooltip value format for a series.
|
|
@@ -402,7 +402,7 @@ class U extends EventTarget {
|
|
|
402
402
|
* @returns {NumberFormatOptions | undefined}
|
|
403
403
|
*/
|
|
404
404
|
getDataTooltipValueFormat(i) {
|
|
405
|
-
return
|
|
405
|
+
return Pi(this._config.series, i);
|
|
406
406
|
}
|
|
407
407
|
/**
|
|
408
408
|
* Sets the data tooltip value format for a series.
|
|
@@ -411,7 +411,7 @@ class U extends EventTarget {
|
|
|
411
411
|
* @param {NumberFormatOptions | undefined} valueFormat The value format to set.
|
|
412
412
|
*/
|
|
413
413
|
setDataTooltipValueFormat(i, t) {
|
|
414
|
-
|
|
414
|
+
ji({
|
|
415
415
|
series: this._config.series,
|
|
416
416
|
seriesIndex: i,
|
|
417
417
|
valueFormat: t
|
|
@@ -469,7 +469,7 @@ class U extends EventTarget {
|
|
|
469
469
|
* Only called if `supportsCustomSort` is true.
|
|
470
470
|
*/
|
|
471
471
|
isSortOrderCustomSort(i) {
|
|
472
|
-
return i ===
|
|
472
|
+
return i === P;
|
|
473
473
|
}
|
|
474
474
|
/**
|
|
475
475
|
* Gets the data filter for the bar chart.
|
|
@@ -565,7 +565,7 @@ class D extends U {
|
|
|
565
565
|
* @param {boolean} newXAxisTitleVisibility - Whether the x-axis title is visible or not.
|
|
566
566
|
*/
|
|
567
567
|
setXAxisTitleVisibility(i) {
|
|
568
|
-
|
|
568
|
+
A(i, 0, this._config), this.emitConfigUpdate("setXAxisTitleVisibility");
|
|
569
569
|
}
|
|
570
570
|
/**
|
|
571
571
|
* Gets the maximum bound that is currently set for the x-axis.
|
|
@@ -602,7 +602,7 @@ class D extends U {
|
|
|
602
602
|
* @returns {WebChartTextSymbol | undefined}
|
|
603
603
|
*/
|
|
604
604
|
getXAxisTitleSymbol() {
|
|
605
|
-
return
|
|
605
|
+
return v(this._config, 0);
|
|
606
606
|
}
|
|
607
607
|
/**
|
|
608
608
|
* Sets the x-axis title text symbol. Contains styling information such as font, color, and symbol style.
|
|
@@ -637,7 +637,7 @@ class D extends U {
|
|
|
637
637
|
* @param {ISimpleLineSymbol | undefined} newAxisLinesSymbol - The new axis lines symbol.
|
|
638
638
|
*/
|
|
639
639
|
setAxisLinesSymbol(i) {
|
|
640
|
-
|
|
640
|
+
mi(i, this._config), this.emitConfigUpdate("setAxisLinesSymbol");
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
643
|
const qi = (e) => {
|
|
@@ -649,7 +649,7 @@ const qi = (e) => {
|
|
|
649
649
|
for (const t of i.axes ?? [])
|
|
650
650
|
for (const s of t?.guides ?? []) {
|
|
651
651
|
const a = s.label?.text ?? "";
|
|
652
|
-
s.label =
|
|
652
|
+
s.label = z(e), s.label !== void 0 && (s.label.text = a);
|
|
653
653
|
}
|
|
654
654
|
};
|
|
655
655
|
function n(e) {
|
|
@@ -668,7 +668,7 @@ const Ji = (e) => {
|
|
|
668
668
|
t?.guides?.[s] !== void 0 && (t.guides[s].visible = i);
|
|
669
669
|
}, B = (e) => {
|
|
670
670
|
const i = Y(e.start, e.end);
|
|
671
|
-
Z(e.style) && i === f.SFS ? e.style = { type: f.SFS, color: e.style.color } :
|
|
671
|
+
Z(e.style) && i === f.SFS ? e.style = { type: f.SFS, color: e.style.color } : K(e.style) && i === f.SLS && (e.style = { type: f.SLS, color: e.style.color });
|
|
672
672
|
}, it = (e) => {
|
|
673
673
|
const { axis: i, index: t } = n(e);
|
|
674
674
|
return i?.guides?.[t]?.start ?? null;
|
|
@@ -691,7 +691,7 @@ const Ji = (e) => {
|
|
|
691
691
|
const { axis: i, index: t } = n(e);
|
|
692
692
|
return i?.guides?.[t]?.label?.text;
|
|
693
693
|
}, at = (e) => {
|
|
694
|
-
const { labelText: i, axis: t, index: s } = n(e), a = t?.guides?.[s]?.label ??
|
|
694
|
+
const { labelText: i, axis: t, index: s } = n(e), a = t?.guides?.[s]?.label ?? H(i, h(g.GuideLabel), g.GuideLabel);
|
|
695
695
|
t?.guides?.[s] !== void 0 && (t.guides[s].label = { ...a, text: i });
|
|
696
696
|
}, gt = (e) => {
|
|
697
697
|
const { axis: i, index: t } = n(e);
|
|
@@ -713,7 +713,7 @@ const Ji = (e) => {
|
|
|
713
713
|
type: p.Guide,
|
|
714
714
|
name: t,
|
|
715
715
|
start: r.valueFormat.type === p.DateAxisFormat ? "" : 0,
|
|
716
|
-
style:
|
|
716
|
+
style: W()
|
|
717
717
|
};
|
|
718
718
|
s !== void 0 && s < r.guides.length ? r.guides.splice(s, 0, c) : r.guides.push(c);
|
|
719
719
|
}
|
|
@@ -958,17 +958,17 @@ class xt extends d {
|
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
960
|
y(xt, [d]);
|
|
961
|
-
const
|
|
961
|
+
const mt = (e) => e.horizontalAxisLabelsBehavior ?? _.Rotate, bt = (e, i) => {
|
|
962
962
|
i.horizontalAxisLabelsBehavior = e;
|
|
963
963
|
}, Ct = (e) => e.verticalAxisLabelsBehavior ?? _.Wrap, yt = (e, i) => {
|
|
964
964
|
i.verticalAxisLabelsBehavior = e;
|
|
965
965
|
}, pt = (e) => e.cursorCrosshair?.horizontalLineVisible ?? !1, _t = (e, i) => {
|
|
966
|
-
i.cursorCrosshair === void 0 && (i.cursorCrosshair =
|
|
966
|
+
i.cursorCrosshair === void 0 && (i.cursorCrosshair = b()), i.cursorCrosshair.horizontalLineVisible = e;
|
|
967
967
|
}, St = (e) => e.cursorCrosshair?.verticalLineVisible ?? !1, Tt = (e, i) => {
|
|
968
|
-
i.cursorCrosshair === void 0 && (i.cursorCrosshair =
|
|
968
|
+
i.cursorCrosshair === void 0 && (i.cursorCrosshair = b()), i.cursorCrosshair.verticalLineVisible = e;
|
|
969
969
|
}, Lt = (e) => e.cursorCrosshair?.style, Vt = (e, i) => {
|
|
970
|
-
i.cursorCrosshair === void 0 && (i.cursorCrosshair =
|
|
971
|
-
},
|
|
970
|
+
i.cursorCrosshair === void 0 && (i.cursorCrosshair = b()), i.cursorCrosshair.style = e;
|
|
971
|
+
}, At = (e) => e.cursorCrosshair, vt = (e, i) => {
|
|
972
972
|
i.cursorCrosshair = e;
|
|
973
973
|
};
|
|
974
974
|
class Gt extends D {
|
|
@@ -1026,7 +1026,7 @@ class Gt extends D {
|
|
|
1026
1026
|
config: this._config,
|
|
1027
1027
|
axisIndex: t,
|
|
1028
1028
|
func: (s) => {
|
|
1029
|
-
|
|
1029
|
+
A(i, s, this._config), this.emitConfigUpdate("setAxisTitleVisibility");
|
|
1030
1030
|
}
|
|
1031
1031
|
});
|
|
1032
1032
|
}
|
|
@@ -1201,7 +1201,7 @@ class Gt extends D {
|
|
|
1201
1201
|
return o({
|
|
1202
1202
|
config: this._config,
|
|
1203
1203
|
axisIndex: i,
|
|
1204
|
-
func: (t) =>
|
|
1204
|
+
func: (t) => v(this._config, t)
|
|
1205
1205
|
});
|
|
1206
1206
|
}
|
|
1207
1207
|
/**
|
|
@@ -1226,7 +1226,7 @@ class Gt extends D {
|
|
|
1226
1226
|
* @returns {WebChartLabelBehavior}
|
|
1227
1227
|
*/
|
|
1228
1228
|
getHorizontalAxisLabelsBehavior() {
|
|
1229
|
-
return
|
|
1229
|
+
return mt(this._config);
|
|
1230
1230
|
}
|
|
1231
1231
|
/**
|
|
1232
1232
|
* Sets the horizontal axis labels behavior for the chart.
|
|
@@ -1237,7 +1237,7 @@ class Gt extends D {
|
|
|
1237
1237
|
*
|
|
1238
1238
|
*/
|
|
1239
1239
|
setHorizontalAxisLabelsBehavior(i) {
|
|
1240
|
-
|
|
1240
|
+
bt(i, this._config), this.emitConfigUpdate("setHorizontalAxisLabelsBehavior");
|
|
1241
1241
|
}
|
|
1242
1242
|
/**
|
|
1243
1243
|
* Gets the vertical axis labels behavior for the chart.
|
|
@@ -1261,7 +1261,7 @@ class Gt extends D {
|
|
|
1261
1261
|
* @returns {ISimpleLineSymbol | undefined}
|
|
1262
1262
|
*/
|
|
1263
1263
|
getGridLinesSymbol() {
|
|
1264
|
-
return
|
|
1264
|
+
return bi(this._config);
|
|
1265
1265
|
}
|
|
1266
1266
|
/**
|
|
1267
1267
|
* Sets the grid lines symbol. Contains styling information such as line width, line style, and line color.
|
|
@@ -1315,7 +1315,7 @@ class Gt extends D {
|
|
|
1315
1315
|
config: this._config,
|
|
1316
1316
|
axisIndex: t,
|
|
1317
1317
|
func: (s) => {
|
|
1318
|
-
|
|
1318
|
+
Ai(this._config, i, s), this.emitConfigUpdate("setDisplayZeroLine");
|
|
1319
1319
|
}
|
|
1320
1320
|
});
|
|
1321
1321
|
}
|
|
@@ -1331,7 +1331,7 @@ class Gt extends D {
|
|
|
1331
1331
|
return o({
|
|
1332
1332
|
config: this._config,
|
|
1333
1333
|
axisIndex: i,
|
|
1334
|
-
func: (t) =>
|
|
1334
|
+
func: (t) => vi(this._config, t)
|
|
1335
1335
|
}) ?? !1;
|
|
1336
1336
|
}
|
|
1337
1337
|
/**
|
|
@@ -1526,7 +1526,7 @@ class Gt extends D {
|
|
|
1526
1526
|
* @returns {WebChartCursorCrosshair | undefined}
|
|
1527
1527
|
*/
|
|
1528
1528
|
getCursorCrosshair() {
|
|
1529
|
-
return
|
|
1529
|
+
return At(this._config);
|
|
1530
1530
|
}
|
|
1531
1531
|
/**
|
|
1532
1532
|
* Sets the cursor crosshair in the chart config.
|
|
@@ -1536,7 +1536,7 @@ class Gt extends D {
|
|
|
1536
1536
|
* **NOTE**: To set the cursor crosshair for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1537
1537
|
*/
|
|
1538
1538
|
setCursorCrosshair(i) {
|
|
1539
|
-
|
|
1539
|
+
vt(i, this._config), this.emitConfigUpdate("setCursorCrosshair");
|
|
1540
1540
|
}
|
|
1541
1541
|
}
|
|
1542
1542
|
y(Gt, [D]);
|
|
@@ -2,7 +2,7 @@ import "@arcgis/toolkit/intl";
|
|
|
2
2
|
import "lodash-es";
|
|
3
3
|
import "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { t as o, u as i } from "./interfaces2.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -15,8 +15,8 @@ import "@arcgis/toolkit/dom";
|
|
|
15
15
|
import { C as r } from "./model-with-multi-axes.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
-
v4.34.0-next.
|
|
19
|
-
class
|
|
18
|
+
v4.34.0-next.139 */
|
|
19
|
+
class M extends r {
|
|
20
20
|
/**
|
|
21
21
|
* Gets whether the chart is rotated.
|
|
22
22
|
* @returns {boolean}
|
|
@@ -33,5 +33,5 @@ class S extends r {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
M
|
|
37
37
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { fetchT9nStringsBundle as Y, getElementLocale as E } from "@arcgis/toolkit/intl";
|
|
2
|
-
import { memoize as
|
|
2
|
+
import { memoize as $, isEmpty as U, isNull as W, cloneDeep as z } from "lodash-es";
|
|
3
3
|
import { a as u, g as C, t as m } from "./series-types.js";
|
|
4
|
-
import { d as A,
|
|
4
|
+
import { d as A, a as v } from "./events.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
+
import { f as G, h as R, c as q, i as B, j as _ } from "./interfaces2.js";
|
|
6
7
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
8
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
9
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -12,14 +13,14 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
12
13
|
import "@arcgis/core/request.js";
|
|
13
14
|
import { g as M } from "./runtime.js";
|
|
14
15
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import { substitute as
|
|
16
|
+
import { substitute as b } from "@arcgis/core/intl.js";
|
|
16
17
|
import { a as y, P as g } from "./common.js";
|
|
17
18
|
import { b as w, u as D, g as k, a as H, c as J } from "./data.js";
|
|
18
19
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
19
20
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
20
|
-
v4.34.0-next.
|
|
21
|
+
v4.34.0-next.139 */
|
|
21
22
|
async function x(s) {
|
|
22
|
-
const { config: t, layerInfo: e, mode: i } = s, a = e !== void 0 ? await O({ config: t, layerInfo: e, mode: i }) : "", o = k(t), n =
|
|
23
|
+
const { config: t, layerInfo: e, mode: i } = s, a = e !== void 0 ? await O({ config: t, layerInfo: e, mode: i }) : "", o = k(t), n = B(t);
|
|
23
24
|
return a === o || n;
|
|
24
25
|
}
|
|
25
26
|
async function N(s) {
|
|
@@ -28,19 +29,19 @@ async function N(s) {
|
|
|
28
29
|
layerInfo: e,
|
|
29
30
|
numericFields: p(t),
|
|
30
31
|
aggregationType: f(t, i)
|
|
31
|
-
}) : "", o = H(1, t), n =
|
|
32
|
+
}) : "", o = H(1, t), n = B(t);
|
|
32
33
|
return a === o || n;
|
|
33
34
|
}
|
|
34
35
|
const P = (s) => s.series?.[0]?.x ?? "";
|
|
35
36
|
function Q(s, t) {
|
|
36
37
|
const e = s.series?.[0];
|
|
37
|
-
return [`${t === y.Category ? e.y :
|
|
38
|
+
return [`${t === y.Category ? e.y : v} ${C.Descending}`];
|
|
38
39
|
}
|
|
39
40
|
const V = (s, t) => {
|
|
40
41
|
let e = g.valueDesc;
|
|
41
42
|
const i = s.orderOptions?.data?.orderType ?? Q(s, t), a = s.orderOptions?.data?.orderBy ?? C.Descending;
|
|
42
43
|
return i === m.Category && Array.isArray(a) ? e = g.customSort : i === m.Category ? a === C.Ascending ? e = g.labelAsc : e = g.labelDesc : a === C.Ascending ? e = g.valueAsc : e = g.valueDesc, e;
|
|
43
|
-
}, p =
|
|
44
|
+
}, p = $(
|
|
44
45
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
45
46
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
46
47
|
(s) => {
|
|
@@ -73,7 +74,7 @@ async function I(s) {
|
|
|
73
74
|
}, l = f(t, i);
|
|
74
75
|
if (l !== u.NoAggregation && a !== void 0) {
|
|
75
76
|
const d = `${l}_${a}_0`.toUpperCase();
|
|
76
|
-
r.y = i === y.Category ? d :
|
|
77
|
+
r.y = i === y.Category ? d : v, r.query = {
|
|
77
78
|
outStatistics: i === y.Category ? [
|
|
78
79
|
{
|
|
79
80
|
statisticType: l,
|
|
@@ -86,30 +87,30 @@ async function I(s) {
|
|
|
86
87
|
return i === y.Category && r.query !== void 0 ? r.query.groupByFieldsForStatistics = [n] : delete r.query?.groupByFieldsForStatistics, z(r);
|
|
87
88
|
}
|
|
88
89
|
async function O(s) {
|
|
89
|
-
const { config: t, layerInfo: e, mode: i } = s, { layerFieldsInfo: a, objectIdField: o } = e, n = P(t), c = p(t), r = f(t, i), l = c.length === 0 || c.includes(o), d = await R(r),
|
|
90
|
+
const { config: t, layerInfo: e, mode: i } = s, { layerFieldsInfo: a, objectIdField: o } = e, n = P(t), c = p(t), r = f(t, i), l = c.length === 0 || c.includes(o), d = await R(r), h = l ? "" : c.map((j) => q(a ?? [], j)).join(", "), F = q(a ?? [], n);
|
|
90
91
|
let T = "";
|
|
91
|
-
const
|
|
92
|
+
const S = await Y(
|
|
92
93
|
E(document.documentElement).t9nLocale,
|
|
93
94
|
M("./assets/common/t9n"),
|
|
94
95
|
"messages."
|
|
95
96
|
);
|
|
96
97
|
let L;
|
|
97
|
-
return i === y.Fields ? L = c.length === 0 : L = n === "", L ? T =
|
|
98
|
-
aggregationFields: l ? o :
|
|
98
|
+
return i === y.Fields ? L = c.length === 0 : L = n === "", L ? T = S.utilsStrings.chartType.pieChart : r === u.NoAggregation ? T = b(S.titleLabels.aggrFieldsByCategory, {
|
|
99
|
+
aggregationFields: l ? o : h,
|
|
99
100
|
category: F
|
|
100
|
-
}) : r === u.Count ? T =
|
|
101
|
+
}) : r === u.Count ? T = b(S.titleLabels.aggrTypeCategory, {
|
|
101
102
|
aggregationType: d,
|
|
102
103
|
category: F
|
|
103
|
-
}) : c.length > 0 && (F === A ||
|
|
104
|
+
}) : c.length > 0 && (F === A || U(F) || W(F) ? T = b(S.titleLabels.aggrTypeOfAggrFields, {
|
|
104
105
|
aggregationType: d,
|
|
105
|
-
aggregationFields:
|
|
106
|
-
}) : T =
|
|
106
|
+
aggregationFields: h
|
|
107
|
+
}) : T = b(S.titleLabels.aggrTypeOfAggrFieldsByCategory, {
|
|
107
108
|
aggregationType: d,
|
|
108
|
-
aggregationFields:
|
|
109
|
+
aggregationFields: h,
|
|
109
110
|
category: F
|
|
110
111
|
})), T;
|
|
111
112
|
}
|
|
112
|
-
const
|
|
113
|
+
const Fe = (s) => {
|
|
113
114
|
const { newSortOrderKind: t, config: e, orderByList: i } = s;
|
|
114
115
|
e.orderOptions ??= {}, t === g.customSort && i !== void 0 ? e.orderOptions.data = {
|
|
115
116
|
orderType: m.Category,
|
|
@@ -118,7 +119,7 @@ const fe = (s) => {
|
|
|
118
119
|
orderType: t === g.labelAsc || t === g.labelDesc ? m.Category : m.YValue,
|
|
119
120
|
orderBy: t === g.labelAsc || t === g.valueAsc ? C.Ascending : C.Descending
|
|
120
121
|
};
|
|
121
|
-
},
|
|
122
|
+
}, Te = async (s) => {
|
|
122
123
|
const { newCategory: t, config: e, layerInfo: i, mode: a } = s, o = e.series?.length ?? 0, n = await x({ config: e, layerInfo: i, mode: a }), c = await N({ config: e, layerInfo: i, mode: a });
|
|
123
124
|
if (e.series.forEach((r) => {
|
|
124
125
|
r.x = a === y.Category ? t : A, r.query !== void 0 && t !== A ? r.query.groupByFieldsForStatistics = [t] : delete r.query?.groupByFieldsForStatistics;
|
|
@@ -184,7 +185,7 @@ async function K(s) {
|
|
|
184
185
|
r.query = {};
|
|
185
186
|
r.y = l, n.push(r), i.series = n;
|
|
186
187
|
}
|
|
187
|
-
const
|
|
188
|
+
const Ce = async (s) => {
|
|
188
189
|
const { newAggregationType: t, config: e, layerInfo: i, mode: a } = s, o = p(e), n = await x({ config: e, layerInfo: i, mode: a }), c = await N({ config: e, layerInfo: i, mode: a });
|
|
189
190
|
if (await K({
|
|
190
191
|
config: e,
|
|
@@ -193,13 +194,13 @@ const Te = async (s) => {
|
|
|
193
194
|
aggregationType: t,
|
|
194
195
|
mode: a
|
|
195
196
|
}), c) {
|
|
196
|
-
const
|
|
197
|
+
const h = await w({
|
|
197
198
|
config: e,
|
|
198
199
|
layerInfo: i,
|
|
199
200
|
numericFields: p(e),
|
|
200
201
|
aggregationType: f(e, a)
|
|
201
202
|
});
|
|
202
|
-
D(e, 1,
|
|
203
|
+
D(e, 1, h);
|
|
203
204
|
}
|
|
204
205
|
e.title && n && (e.title.content.text = await O({ config: e, layerInfo: i, mode: a }));
|
|
205
206
|
const r = e.series?.[0]?.displayCategoryOnDataLabel, l = e.series?.[0]?.displayNumericValueOnDataLabel, d = e.series?.[0]?.displayPercentageOnDataLabel;
|
|
@@ -235,7 +236,7 @@ const Te = async (s) => {
|
|
|
235
236
|
e.series.forEach((l) => {
|
|
236
237
|
delete l.query, l.y = t[0];
|
|
237
238
|
});
|
|
238
|
-
},
|
|
239
|
+
}, he = (s, t) => {
|
|
239
240
|
let e = [];
|
|
240
241
|
const i = s.orderOptions?.data?.orderType, a = V(s, t), o = s.orderOptions?.data?.orderBy;
|
|
241
242
|
return a === g.customSort && i === m.Category && Array.isArray(o) && (e = o), e;
|
|
@@ -252,12 +253,12 @@ export {
|
|
|
252
253
|
p as a,
|
|
253
254
|
f as b,
|
|
254
255
|
X as c,
|
|
255
|
-
|
|
256
|
+
Ce as d,
|
|
256
257
|
V as e,
|
|
257
|
-
|
|
258
|
+
Fe as f,
|
|
258
259
|
P as g,
|
|
259
|
-
|
|
260
|
+
he as h,
|
|
260
261
|
Se as i,
|
|
261
262
|
O as j,
|
|
262
|
-
|
|
263
|
+
Te as s
|
|
263
264
|
};
|
|
@@ -2,7 +2,7 @@ import { W as o } from "./series-types.js";
|
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { cloneDeep as x } from "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { f, aE as b, ax as p, p as D, m as h, C as l, i as N, aF as U, j as F } from "./interfaces2.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -14,14 +14,14 @@ import "./runtime.js";
|
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
15
|
import { C as M } from "./model-with-multi-axes.js";
|
|
16
16
|
import { b as r, a as g } from "./common.js";
|
|
17
|
-
import { M as
|
|
17
|
+
import { M as O, a as G, b as A, c as k } from "./model-with-data-labels.js";
|
|
18
18
|
import "@arcgis/core/intl.js";
|
|
19
|
-
import { e as
|
|
19
|
+
import { e as L, i as w, p as W } from "./data.js";
|
|
20
20
|
import { g as u, s as z, a as B, c as E, b as R, d as j, e as K, f as q, h as m, i as y, j as H } from "./pie-chart-data.js";
|
|
21
|
-
import {
|
|
21
|
+
import { f as c } from "./rest-js-object-literals.js";
|
|
22
22
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
23
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
24
|
-
v4.34.0-next.
|
|
24
|
+
v4.34.0-next.139 */
|
|
25
25
|
const J = (i) => i.legend?.displayNumericValue ?? !1, Q = (i, e) => {
|
|
26
26
|
e.series[0]?.type === o.PieSeries && (e.legend === void 0 && (e.legend = f()), e.legend.displayNumericValue = i);
|
|
27
27
|
}, X = (i) => i.legend?.displayPercentage ?? !1, Y = (i, e) => {
|
|
@@ -29,7 +29,7 @@ const J = (i) => i.legend?.displayNumericValue ?? !1, Q = (i, e) => {
|
|
|
29
29
|
}, Z = (i) => i.legend?.labelMaxWidth ?? 200, $ = (i, e) => {
|
|
30
30
|
e.series[0]?.type === o.PieSeries && (e.legend === void 0 && (e.legend = f()), e.legend.labelMaxWidth = i);
|
|
31
31
|
};
|
|
32
|
-
class P extends
|
|
32
|
+
class P extends O {
|
|
33
33
|
/**
|
|
34
34
|
* Gets the setting for the display of numerical value in the legend items.
|
|
35
35
|
* @returns {boolean}
|
|
@@ -85,7 +85,7 @@ class P extends L {
|
|
|
85
85
|
$(e, this._config), this.emitConfigUpdate("setLabelMaxWidth");
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
L(P, [O]);
|
|
89
89
|
const ee = (i) => i.series?.[0]?.innerRadius, ie = (i, e) => {
|
|
90
90
|
e.series?.[0] && (e.series[0].innerRadius = i);
|
|
91
91
|
}, te = (i) => i.series?.[0]?.dataLabelsCharacterLimit, se = (i, e) => {
|
|
@@ -117,9 +117,9 @@ const ee = (i) => i.series?.[0]?.innerRadius, ie = (i, e) => {
|
|
|
117
117
|
e.series[0] && (e.series[0].alignDataLabels = i);
|
|
118
118
|
}, _e = (i) => i.series?.[0]?.dataLabelsInside ?? !1, be = (i, e) => {
|
|
119
119
|
e.series[0] && (e.series[0].dataLabelsInside = i);
|
|
120
|
-
}, De = (i) => i.series?.[0]?.dataLabelsOffset ?? 10,
|
|
120
|
+
}, De = (i) => i.series?.[0]?.dataLabelsOffset ?? 10, Oe = (i, e) => {
|
|
121
121
|
e.series[0] && (e.series[0].dataLabelsOffset = i);
|
|
122
|
-
},
|
|
122
|
+
}, Le = (i) => i.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Pe = (i, e) => {
|
|
123
123
|
e.series?.[0] && (e.series[0].numericValueFormat ??= p(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = i, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = i, e.series[0].percentValueFormat ??= p(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = i, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = i);
|
|
124
124
|
}, Te = (i) => i.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Ve = (i, e) => {
|
|
125
125
|
e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = i);
|
|
@@ -434,7 +434,7 @@ class Ke extends M {
|
|
|
434
434
|
* @returns {number}
|
|
435
435
|
*/
|
|
436
436
|
getDecimalPlaces() {
|
|
437
|
-
return
|
|
437
|
+
return Le(this._config) ?? 1;
|
|
438
438
|
}
|
|
439
439
|
/**
|
|
440
440
|
* Sets the number of decimal places to display in the slice values.
|
|
@@ -734,7 +734,7 @@ class Ke extends M {
|
|
|
734
734
|
* @param offset The offset for the data labels.
|
|
735
735
|
*/
|
|
736
736
|
setDataLabelsOffset(e) {
|
|
737
|
-
|
|
737
|
+
Oe(e, this._config), this.emitConfigUpdate("setDataLabelsOffset");
|
|
738
738
|
}
|
|
739
739
|
/**
|
|
740
740
|
* Gets the align data labels setting for the pie chart.
|
|
@@ -790,7 +790,7 @@ class Ke extends M {
|
|
|
790
790
|
return await H({ config: this._config, layerInfo: this.layerInfo, mode: this._mode });
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
|
-
|
|
793
|
+
L(Ke, [P, G, A, k]);
|
|
794
794
|
export {
|
|
795
795
|
Ke as PieChartModel
|
|
796
796
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isEqual as l } from "lodash-es";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
4
|
-
v4.34.0-next.
|
|
4
|
+
v4.34.0-next.139 */
|
|
5
5
|
const s = (e) => (e?.remove(), null), c = (e, t = !1) => {
|
|
6
6
|
if (e != null) {
|
|
7
7
|
t ? (e.style.setProperty("opacity", "1"), e.style.setProperty("pointer-events", "initial")) : (e.style.removeProperty("opacity"), e.style.removeProperty("pointer-events"));
|
|
@@ -2,7 +2,7 @@ import { W as n } from "./series-types.js";
|
|
|
2
2
|
import { fetchT9nStringsBundle as m, getElementLocale as h } from "@arcgis/toolkit/intl";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { F as f, G as o, q as d, r as S } from "./interfaces2.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -20,7 +20,7 @@ import { d as a, e as I } from "./data.js";
|
|
|
20
20
|
import { s as k, a as C, b as M, c as L, d as v } from "./baseline-stacking.js";
|
|
21
21
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
22
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
23
|
-
v4.34.0-next.
|
|
23
|
+
v4.34.0-next.139 */
|
|
24
24
|
class _ extends g {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments), this._chartType = n.RadarSeries;
|
package/dist/chunks/resource.js
CHANGED
|
@@ -3,7 +3,7 @@ import { n } from "./type-guards.js";
|
|
|
3
3
|
import "./series-types.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
6
|
+
v4.34.0-next.139 */
|
|
7
7
|
const u = {
|
|
8
8
|
addGuide: "add-guide",
|
|
9
9
|
noMessages: "no-messages"
|