@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
|
@@ -2,18 +2,18 @@ import { c as I } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { repeat as f } from "lit/directives/repeat.js";
|
|
3
3
|
import { keyed as v } from "lit/directives/keyed.js";
|
|
4
4
|
import { n as u, a as T, i as p } from "../../chunks/series-types.js";
|
|
5
|
-
import {
|
|
5
|
+
import { R as h } from "../../chunks/rest-js-object-literals.js";
|
|
6
6
|
import { LitElement as F, createEvent as $, renderElement as P, safeStyleMap as x, safeClassMap as c } from "@arcgis/lumina";
|
|
7
7
|
import { substitute as S } from "@arcgis/core/intl.js";
|
|
8
8
|
import { css as A, html as a } from "lit";
|
|
9
9
|
import { createRef as b, ref as d } from "lit/directives/ref.js";
|
|
10
10
|
import { isEqual as k } from "lodash-es";
|
|
11
11
|
import { u as D } from "../../chunks/useT9n.js";
|
|
12
|
-
import { B as n } from "../../chunks/
|
|
12
|
+
import { B as n } from "../../chunks/interfaces.js";
|
|
13
13
|
import { S as m } from "../../chunks/common.js";
|
|
14
14
|
import "@arcgis/toolkit/intl";
|
|
15
15
|
import "d3-array";
|
|
16
|
-
import {
|
|
16
|
+
import { h as w, a8 as E, c as z, a3 as L, K as N, a9 as B } from "../../chunks/interfaces2.js";
|
|
17
17
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
18
18
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
19
19
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -21,12 +21,11 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
21
21
|
import "@arcgis/core/time/TimeExtent.js";
|
|
22
22
|
import "@arcgis/core/core/promiseUtils.js";
|
|
23
23
|
import "@arcgis/core/request.js";
|
|
24
|
-
import {
|
|
25
|
-
import { e as
|
|
26
|
-
import { h as C, U as y, i as g, d as O, e as j, s as H } from "../../chunks/chart-ui-utils2.js";
|
|
24
|
+
import { j as C, U as y, i as g, r as K, e as _, h as j, s as O } from "../../chunks/chart-ui-utils2.js";
|
|
25
|
+
import { e as U, p as H } from "../../chunks/popover-ui-utils.js";
|
|
27
26
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
28
27
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
29
|
-
v4.34.0-next.
|
|
28
|
+
v4.34.0-next.139 */
|
|
30
29
|
const M = A`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`, o = {
|
|
31
30
|
jsAppFlyout: "js-app-flyout",
|
|
32
31
|
name: "bar-chart-data-popover",
|
|
@@ -63,12 +62,12 @@ class W extends F {
|
|
|
63
62
|
async updated() {
|
|
64
63
|
setTimeout(async () => {
|
|
65
64
|
await this.picklist.value?.setFocus();
|
|
66
|
-
}, y.PopoverTimer),
|
|
65
|
+
}, y.PopoverTimer), U(this.popoverElement.value, this.open), this.hasUpdated || setTimeout(() => {
|
|
67
66
|
this.popoverElement.value?.reposition();
|
|
68
67
|
}, y.PopoverTimer);
|
|
69
68
|
}
|
|
70
69
|
selectedContentChange(e, t) {
|
|
71
|
-
this.pickListHasChanged =
|
|
70
|
+
this.pickListHasChanged = H(e, t);
|
|
72
71
|
}
|
|
73
72
|
buildAggregationListItems() {
|
|
74
73
|
const e = this.isNoAggregationDisabled ? C.filter((t) => t !== T.NoAggregation) : C;
|
|
@@ -83,7 +82,7 @@ class W extends F {
|
|
|
83
82
|
}
|
|
84
83
|
}
|
|
85
84
|
destroyTooltip() {
|
|
86
|
-
|
|
85
|
+
_(this.tooltip);
|
|
87
86
|
}
|
|
88
87
|
buildSortOrder() {
|
|
89
88
|
const e = Object.keys(m);
|
|
@@ -218,7 +217,7 @@ class W extends F {
|
|
|
218
217
|
p.Month,
|
|
219
218
|
p.Year
|
|
220
219
|
];
|
|
221
|
-
return a`<div><div class=${c(o.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${
|
|
220
|
+
return a`<div><div class=${c(o.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${O(e?.size, 1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${d(this.intervalTypeElement)}>${t.map((i) => a`<calcite-option .value=${i} .label=${B(i, this._messages)} .selected=${e?.unit === i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${c(o.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`;
|
|
222
221
|
}
|
|
223
222
|
renderPopoverInfo() {
|
|
224
223
|
let e;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { keyed as
|
|
1
|
+
import { c as x } from "../../chunks/runtime.js";
|
|
2
|
+
import { keyed as P } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import "lodash-es";
|
|
5
|
-
import { e as
|
|
5
|
+
import { e as r, a as C } from "../../chunks/series-types.js";
|
|
6
6
|
import "d3-array";
|
|
7
|
-
import {
|
|
7
|
+
import { C as T } from "../../chunks/interfaces2.js";
|
|
8
8
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
9
9
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
10
10
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -13,48 +13,68 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
13
13
|
import "@arcgis/core/core/promiseUtils.js";
|
|
14
14
|
import "@arcgis/core/request.js";
|
|
15
15
|
import "@arcgis/toolkit/dom";
|
|
16
|
-
import { r as
|
|
17
|
-
import { repeat as
|
|
18
|
-
import { u as
|
|
19
|
-
import { css as
|
|
20
|
-
import { LitElement as
|
|
21
|
-
import {
|
|
16
|
+
import { r as u } from "../../chunks/popover-ui-utils.js";
|
|
17
|
+
import { repeat as N } from "lit/directives/repeat.js";
|
|
18
|
+
import { u as L } from "../../chunks/useT9n.js";
|
|
19
|
+
import { css as M, html as l } from "lit";
|
|
20
|
+
import { LitElement as O, createEvent as S, renderElement as v, safeStyleMap as h, safeClassMap as a } from "@arcgis/lumina";
|
|
21
|
+
import { e as _ } from "../../chunks/chart-ui-utils2.js";
|
|
22
|
+
import { C as f } from "../../chunks/interfaces3.js";
|
|
22
23
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
24
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
24
|
-
v4.34.0-next.
|
|
25
|
+
v4.34.0-next.139 */
|
|
25
26
|
const E = {
|
|
26
27
|
stackedType: "stacked-type"
|
|
27
|
-
},
|
|
28
|
+
}, o = {
|
|
28
29
|
topSection: "top-section",
|
|
29
30
|
sectionLabel: "section-label",
|
|
30
31
|
list: "list",
|
|
31
32
|
disabledInfo: "disabled-info",
|
|
32
33
|
disabledStackingOption: "disabled-stacking-option"
|
|
33
|
-
},
|
|
34
|
-
class
|
|
34
|
+
}, w = M`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.top-section{margin-top:var(--arcgis-charts-config-margin-minor)}.section-label{display:flex;margin-bottom:var(--arcgis-charts-config-margin-major);margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.disabled-info{margin:auto 1rem;pointer-events:auto}.disabled-info:active{margin:auto 1rem;pointer-events:none}.disabled-stacking-option{pointer-events:none;opacity:var(--calcite-opacity-disabled)}`;
|
|
35
|
+
class A extends O {
|
|
35
36
|
constructor() {
|
|
36
|
-
super(...arguments), this._messages =
|
|
37
|
-
if (e.detail !== null
|
|
37
|
+
super(...arguments), this._messages = L(), this.open = !1, this.seriesNameChange = (e) => {
|
|
38
|
+
if (e.detail !== null && e.detail !== void 0) {
|
|
38
39
|
const t = e.detail?.name;
|
|
39
|
-
|
|
40
|
+
if (this.isNullCategorySelected) {
|
|
41
|
+
const i = this.model.getNullCategory();
|
|
42
|
+
if (i) {
|
|
43
|
+
const s = { ...i, text: t };
|
|
44
|
+
this.model.setNullCategory(s);
|
|
45
|
+
}
|
|
46
|
+
} else
|
|
47
|
+
this.model.setSeriesName(t, this.selectedSeriesIndex ?? -1);
|
|
40
48
|
}
|
|
41
49
|
}, this.seriesColorChange = (e) => {
|
|
42
50
|
if (e.detail !== null && e.detail !== void 0) {
|
|
43
51
|
const { color: t } = e.detail;
|
|
44
|
-
|
|
52
|
+
if (t !== void 0)
|
|
53
|
+
if (this.isNullCategorySelected) {
|
|
54
|
+
const i = this.model.getNullCategory(), s = i?.symbol && {
|
|
55
|
+
...i,
|
|
56
|
+
symbol: {
|
|
57
|
+
...i.symbol,
|
|
58
|
+
color: t,
|
|
59
|
+
outline: i.symbol.outline && { ...i.symbol.outline, color: t }
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
this.model.setNullCategory(s);
|
|
63
|
+
} else
|
|
64
|
+
this.model.setColorMatch(!1), this.model.setSeriesColor(t, this.selectedSeriesIndex ?? -1);
|
|
45
65
|
}
|
|
46
66
|
}, this.seriesPopoverClose = (e) => {
|
|
47
67
|
const { selectedSeriesIndex: t } = e.detail;
|
|
48
|
-
this.selectedSeriesIndex === t && (this.seriesPopover =
|
|
68
|
+
this.selectedSeriesIndex === t && (this.seriesPopover = u(this.seriesPopover), this.selectedSeriesIndex = void 0);
|
|
49
69
|
}, this.onModelConfigChange = () => {
|
|
50
70
|
this.requestUpdate();
|
|
51
|
-
}, this.seriesOrderResetCounter = 0, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.arcgisChartsConfigDataChangeError =
|
|
71
|
+
}, this.seriesOrderResetCounter = 0, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.arcgisChartsConfigDataChangeError = S(), this.arcgisChartsConfigPopoverOpenChange = S();
|
|
52
72
|
}
|
|
53
73
|
static {
|
|
54
74
|
this.properties = { seriesOrderResetCounter: 16, selectedSeriesIndex: 16, messageOverrides: 0, model: 0, activeColorMatch: 5, popoverPlacement: 1 };
|
|
55
75
|
}
|
|
56
76
|
static {
|
|
57
|
-
this.styles =
|
|
77
|
+
this.styles = w;
|
|
58
78
|
}
|
|
59
79
|
load() {
|
|
60
80
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
@@ -69,30 +89,34 @@ class _ extends M {
|
|
|
69
89
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
70
90
|
}
|
|
71
91
|
removeSeriesPopover() {
|
|
72
|
-
this.seriesPopover !== null && this.seriesPopover !== void 0 && (this.seriesPopover.open = !1, this.seriesPopover =
|
|
92
|
+
this.seriesPopover !== null && this.seriesPopover !== void 0 && (this.seriesPopover.open = !1, this.seriesPopover = u(this.seriesPopover));
|
|
73
93
|
}
|
|
74
94
|
selectedSeriesIndexChange() {
|
|
75
|
-
this.selectedSeriesIndex !== void 0 && (this.seriesPopover =
|
|
95
|
+
this.selectedSeriesIndex !== void 0 && (this.seriesPopover = v(l`<arcgis-charts-config-bar-chart-series-popover .referenceElement=${this.el} .selectedName=${this.selectedSeriesIndex != null ? this.model.getSeriesName(this.selectedSeriesIndex) : void 0} .selectedColor=${this.selectedSeriesIndex != null ? this.model.getSeriesColor(this.selectedSeriesIndex) : void 0} .placement=${this.popoverPlacement} .selectedSeriesIndex=${this.selectedSeriesIndex != null ? this.selectedSeriesIndex : void 0} .nullCategory=${this.isNullCategorySelected ? this.model.getNullCategory() : void 0} .open=${this.open} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-bar-chart-series-popover>`), this.seriesPopover && !document.body.contains(this.seriesPopover) && document.body.appendChild(this.seriesPopover));
|
|
76
96
|
}
|
|
77
97
|
buildSeriesListItems() {
|
|
78
|
-
const e = this.model.getSeriesLength() ?? 0, t = Array.from({ length: e }, (
|
|
79
|
-
return
|
|
80
|
-
const n = this.model.getSeriesId(
|
|
81
|
-
let
|
|
98
|
+
const e = this.model.getSeriesLength() ?? 0, t = Array.from({ length: e }, (s, n) => n);
|
|
99
|
+
return N(t, (s) => this.model.getSeriesId(s), (s) => {
|
|
100
|
+
const n = this.model.getSeriesId(s), c = this.model.getSeriesColor(s), d = this.model.getSeriesName(s), b = this.model.getChartSubType() === T.BarAndLineFromFields ? this._messages.series : n;
|
|
101
|
+
let m = "#CCCCCC", p = "minus-square";
|
|
82
102
|
if ((e > 1 || !this.activeColorMatch) && c !== void 0) {
|
|
83
|
-
|
|
84
|
-
const [
|
|
85
|
-
|
|
103
|
+
p = "square-f";
|
|
104
|
+
const [y, $, I, k] = [...c];
|
|
105
|
+
m = `rgba(${y},${$},${I},${k / 255})`;
|
|
86
106
|
}
|
|
87
|
-
return
|
|
107
|
+
return l`<calcite-list-item .label=${d ?? n ?? ""} .description=${b} .value=${n} .selected=${this.selectedSeriesIndex === s} @click=${this.openSeriesPopOver}><calcite-icon .icon=${p} style=${h({ color: m })} slot=content-end></calcite-icon></calcite-list-item>`;
|
|
88
108
|
});
|
|
89
109
|
}
|
|
90
110
|
buildSeriesList() {
|
|
91
|
-
return
|
|
111
|
+
return P(this.seriesOrderResetCounter, l`<calcite-list label class=${a(o.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`);
|
|
112
|
+
}
|
|
113
|
+
buildNullCategoryUI() {
|
|
114
|
+
const e = this.model.getNullCategory(), t = this._messages.nullCategory, i = e?.symbol?.color ?? f.nullCategory?.symbol?.color ?? f.grayColor, [s, n, c, d] = [...i], g = `rgba(${s},${n},${c},${d / 255})`;
|
|
115
|
+
return l`<calcite-list label class=${a(o.list)} selection-mode=none><calcite-list-item .label=${t} .value=${t} .selected=${this.selectedSeriesIndex === null} @click=${this.openSeriesPopOver}><calcite-icon icon=square-f style=${h({ color: g })} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
92
116
|
}
|
|
93
117
|
buildMultipleBarTypeList() {
|
|
94
118
|
const e = this.shouldDisableStacking();
|
|
95
|
-
return e && this.model.getStackedType() !==
|
|
119
|
+
return e && this.model.getStackedType() !== r.Side && this.model.setStackedType(r.Side), l`<calcite-list label id=${E.stackedType} class=${a(o.list)} selection-mode=single-persist selection-appearance=border @click=${this.onMultipleBarSelect}><calcite-list-item .label=${this._messages.sideBySide} .value=${r.Side} .selected=${this.model.getStackedType() === void 0 || this.model.getStackedType() === r.Side}><calcite-icon scale=l icon=graph-bar-side-by-side slot=content-start></calcite-icon></calcite-list-item><calcite-list-item class=${a(e ? o.disabledStackingOption : "")} .label=${this._messages.stacked} .value=${r.Stacked} .selected=${this.model.getStackedType() === r.Stacked}><calcite-icon scale=l icon=graph-bar-stacked slot=content-start></calcite-icon>${e && l`<calcite-icon class=${a(o.disabledInfo)} slot=content-end icon=information scale=s flip-rtl @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-icon>` || ""}</calcite-list-item><calcite-list-item class=${a(e ? o.disabledStackingOption : "")} .label=${this._messages.stacked100} .value=${r.Stacked100} .selected=${this.model.getStackedType() === r.Stacked100}><calcite-icon scale=l icon=graph-bar-100-stacked slot=content-start></calcite-icon>${e && l`<calcite-icon class=${a(o.disabledInfo)} slot=content-end icon=information scale=s flip-rtl @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-icon>` || ""}</calcite-list-item></calcite-list>`;
|
|
96
120
|
}
|
|
97
121
|
async resetSeriesOriginal() {
|
|
98
122
|
this.selectedSeriesIndex = void 0, this.model.resetSeriesStyling(), this.seriesOrderResetCounter += 1;
|
|
@@ -105,30 +129,30 @@ class _ extends M {
|
|
|
105
129
|
}
|
|
106
130
|
onCalciteListOrderChange(e) {
|
|
107
131
|
if (e.detail !== null && e.detail !== void 0) {
|
|
108
|
-
const { newIndex: t, oldIndex:
|
|
109
|
-
this.model.moveSeries(
|
|
132
|
+
const { newIndex: t, oldIndex: i } = e.detail;
|
|
133
|
+
this.model.moveSeries(i, t), this.seriesOrderResetCounter += 1;
|
|
110
134
|
}
|
|
111
135
|
}
|
|
112
136
|
openSeriesPopOver(e) {
|
|
113
137
|
e.stopImmediatePropagation(), this.removeSeriesPopover();
|
|
114
|
-
const t = e.target,
|
|
115
|
-
this.open = this.selectedSeriesIndex !==
|
|
138
|
+
const t = e.target, i = t.localName === "calcite-list-item" ? t : t.parentNode, s = this.model.getSeriesIndex(i.value);
|
|
139
|
+
this.open = this.selectedSeriesIndex !== s, this.selectedSeriesIndex = this.selectedSeriesIndex !== s ? s : void 0, this.isNullCategorySelected = i.value === this._messages.nullCategory;
|
|
116
140
|
}
|
|
117
141
|
createTooltip(e) {
|
|
118
|
-
const t = e.target,
|
|
119
|
-
this.tooltip =
|
|
142
|
+
const t = e.target, i = (this.model.getAggregationType() === C.NoAggregation ? this._messages.noAggStackingDisabled : this._messages.singleStackingDisabled) ?? "";
|
|
143
|
+
this.tooltip = v(l`<calcite-tooltip style=${h({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
120
144
|
}
|
|
121
145
|
destroyTooltip() {
|
|
122
|
-
|
|
146
|
+
_(this.tooltip);
|
|
123
147
|
}
|
|
124
148
|
shouldDisableStacking() {
|
|
125
|
-
return (this.model.getSeriesLength() ?? 0) <= 1 || this.model.getAggregationType() ===
|
|
149
|
+
return (this.model.getSeriesLength() ?? 0) <= 1 || this.model.getAggregationType() === C.NoAggregation;
|
|
126
150
|
}
|
|
127
151
|
render() {
|
|
128
|
-
return
|
|
152
|
+
return l`<div class=${`${o.sectionLabel} ${o.topSection}`}>${this._messages.displayMultiSeries}</div>${this.buildMultipleBarTypeList()}<div class=${a(o.sectionLabel)}>${this._messages.series}<calcite-button @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSeriesList()}${this.model.getNullCategory() !== void 0 && this.model.getFetchNULLValues() ? this.buildNullCategoryUI() : null}`;
|
|
129
153
|
}
|
|
130
154
|
}
|
|
131
|
-
|
|
155
|
+
x("arcgis-charts-config-bar-chart-series", A);
|
|
132
156
|
export {
|
|
133
|
-
|
|
157
|
+
A as ArcgisChartsConfigBarChartSeries
|
|
134
158
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import { Color } from '../../spec';
|
|
2
|
+
import { Color, WebChartNullCategory } from '../../spec';
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
|
|
5
5
|
/** @private */
|
|
@@ -43,6 +43,12 @@ export declare class ArcgisChartsConfigBarChartSeriesPopover extends LitElement
|
|
|
43
43
|
* @default false
|
|
44
44
|
*/
|
|
45
45
|
open?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* null category to show in popover
|
|
48
|
+
*
|
|
49
|
+
* @category Public
|
|
50
|
+
*/
|
|
51
|
+
nullCategory?: WebChartNullCategory;
|
|
46
52
|
/**
|
|
47
53
|
* Calls `reposition()` method on popover element.
|
|
48
54
|
*
|
|
@@ -4,7 +4,7 @@ import "@arcgis/toolkit/intl";
|
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
6
|
import "d3-array";
|
|
7
|
-
import {
|
|
7
|
+
import { r as h } from "../../chunks/interfaces2.js";
|
|
8
8
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
9
9
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
10
10
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -20,7 +20,7 @@ import { createRef as C, ref as u } from "lit/directives/ref.js";
|
|
|
20
20
|
import { LitElement as v, createEvent as o, safeClassMap as i } from "@arcgis/lumina";
|
|
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
|
const s = {
|
|
25
25
|
jsAppFlyout: "js-app-flyout",
|
|
26
26
|
panelChildrenContainer: "panel-children-container"
|
|
@@ -30,7 +30,7 @@ class b extends v {
|
|
|
30
30
|
super(...arguments), this._messages = f(), this.popoverElement = C(), this.arcgisChartsConfigPopoverClose = o(), this.arcgisChartsConfigSeriesPopoverColorChange = o(), this.arcgisChartsConfigSeriesPopoverNameChange = o();
|
|
31
31
|
}
|
|
32
32
|
static {
|
|
33
|
-
this.properties = { messageOverrides: 0, referenceElement: 2, selectedName: 3, selectedColor: 2, selectedSeriesIndex: 11, placement: 3, open: 7 };
|
|
33
|
+
this.properties = { messageOverrides: 0, referenceElement: 2, selectedName: 3, selectedColor: 2, selectedSeriesIndex: 11, placement: 3, open: 7, nullCategory: 0 };
|
|
34
34
|
}
|
|
35
35
|
static {
|
|
36
36
|
this.styles = x;
|
|
@@ -57,10 +57,10 @@ class b extends v {
|
|
|
57
57
|
this.selectedColor = [a, r, n, l], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [a, r, n, l] });
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
const e = this.selectedColor;
|
|
60
|
+
const e = this.nullCategory?.symbol?.color ?? this.selectedColor, t = this.nullCategory?.text ?? this.selectedName;
|
|
61
61
|
return m`<div class=${i({
|
|
62
62
|
[s.jsAppFlyout]: !0
|
|
63
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${u(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${i(s.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${
|
|
63
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${u(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${i(s.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div><div class=${i(s.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @colorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel></calcite-popover></div>`;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
c("arcgis-charts-config-bar-chart-series-popover", b);
|
|
@@ -3,7 +3,7 @@ import "@arcgis/toolkit/intl";
|
|
|
3
3
|
import { isEqual as r } from "lodash-es";
|
|
4
4
|
import "../../chunks/series-types.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import {
|
|
6
|
+
import { H as n, I as h } from "../../chunks/interfaces2.js";
|
|
7
7
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
8
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
9
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -11,16 +11,16 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
11
11
|
import "@arcgis/core/time/TimeExtent.js";
|
|
12
12
|
import "@arcgis/core/core/promiseUtils.js";
|
|
13
13
|
import "@arcgis/core/request.js";
|
|
14
|
-
import { h as c } from "../../chunks/
|
|
14
|
+
import { h as c } from "../../chunks/index.js";
|
|
15
15
|
import "@arcgis/toolkit/dom";
|
|
16
16
|
import { LitElement as d } from "@arcgis/lumina";
|
|
17
17
|
import { css as m, html as a } from "lit";
|
|
18
|
-
import { C as s } from "../../chunks/
|
|
18
|
+
import { C as s } from "../../chunks/interfaces.js";
|
|
19
19
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
20
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
21
|
-
v4.34.0-next.
|
|
22
|
-
const
|
|
23
|
-
class
|
|
21
|
+
v4.34.0-next.139 */
|
|
22
|
+
const f = m`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
23
|
+
class g extends d {
|
|
24
24
|
constructor() {
|
|
25
25
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
26
26
|
const o = e?.detail.config ?? this.model.getConfig();
|
|
@@ -31,7 +31,7 @@ class f extends d {
|
|
|
31
31
|
this.properties = { layerFieldsInfo: 16, activeColorMatch: 16, model: 0, popoverPlacement: 3, seriesColor: 2, page: 3, calculatedMinMaxBounds: 2, layer: 0, usePopupTemplateFieldsInfo: 5 };
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
|
-
this.styles =
|
|
34
|
+
this.styles = f;
|
|
35
35
|
}
|
|
36
36
|
async load() {
|
|
37
37
|
this.layer !== void 0 && await this.layerChange(this.layer, void 0), this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), this.usePopupTemplateFieldsInfo !== void 0 && await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo, void 0), this.modelChange(this.model), this.onModelConfigChange(), this.updateDataFilters();
|
|
@@ -101,7 +101,7 @@ class f extends d {
|
|
|
101
101
|
return e;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
l("arcgis-charts-config-box-plot",
|
|
104
|
+
l("arcgis-charts-config-box-plot", g);
|
|
105
105
|
export {
|
|
106
|
-
|
|
106
|
+
g as ArcgisChartsConfigBoxPlot
|
|
107
107
|
};
|
|
@@ -5,7 +5,7 @@ import { W as S } from "../../chunks/series-types.js";
|
|
|
5
5
|
import "@arcgis/toolkit/intl";
|
|
6
6
|
import { isEqual as b } from "lodash-es";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { A as d, af as y, c as u } from "../../chunks/interfaces2.js";
|
|
9
9
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
11
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -16,7 +16,7 @@ import "@arcgis/core/request.js";
|
|
|
16
16
|
import "@arcgis/toolkit/dom";
|
|
17
17
|
import { r as p } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { repeat as v } from "lit/directives/repeat.js";
|
|
19
|
-
import { a, e as m } from "../../chunks/
|
|
19
|
+
import { a, e as m } from "../../chunks/interfaces.js";
|
|
20
20
|
import { d as $, s as x } from "../../chunks/store.js";
|
|
21
21
|
import { U as F } from "../../chunks/chart-ui-utils2.js";
|
|
22
22
|
import { u as w } from "../../chunks/useT9n.js";
|
|
@@ -25,7 +25,7 @@ import { createRef as h, ref as g } from "lit/directives/ref.js";
|
|
|
25
25
|
import { LitElement as B, createEvent as P, safeClassMap as o, renderElement as L } from "@arcgis/lumina";
|
|
26
26
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
27
27
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
28
|
-
v4.34.0-next.
|
|
28
|
+
v4.34.0-next.139 */
|
|
29
29
|
const r = {
|
|
30
30
|
label: "label",
|
|
31
31
|
fieldList: "field-list",
|
|
@@ -3,11 +3,11 @@ import { keyed as p } from "lit/directives/keyed.js";
|
|
|
3
3
|
import { repeat as y } from "lit/directives/repeat.js";
|
|
4
4
|
import { B as r } from "../../chunks/common.js";
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
|
-
import {
|
|
6
|
+
import { R as u } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "@arcgis/toolkit/intl";
|
|
8
8
|
import "lodash-es";
|
|
9
9
|
import "d3-array";
|
|
10
|
-
import {
|
|
10
|
+
import { c as v, a3 as g, K as $ } from "../../chunks/interfaces2.js";
|
|
11
11
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
12
12
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
13
13
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -15,18 +15,17 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
15
15
|
import "@arcgis/core/time/TimeExtent.js";
|
|
16
16
|
import "@arcgis/core/core/promiseUtils.js";
|
|
17
17
|
import "@arcgis/core/request.js";
|
|
18
|
-
import {
|
|
19
|
-
import { e as
|
|
20
|
-
import { substitute as
|
|
21
|
-
import { a as l } from "../../chunks/
|
|
22
|
-
import { U as h, e as I, i as f, d as w } from "../../chunks/chart-ui-utils2.js";
|
|
18
|
+
import { U as h, h as F, i as f, r as L, e as x } from "../../chunks/chart-ui-utils2.js";
|
|
19
|
+
import { e as P, p as I } from "../../chunks/popover-ui-utils.js";
|
|
20
|
+
import { substitute as w } from "@arcgis/core/intl.js";
|
|
21
|
+
import { a as l } from "../../chunks/interfaces.js";
|
|
23
22
|
import { u as D } from "../../chunks/useT9n.js";
|
|
24
23
|
import { css as S, html as n } from "lit";
|
|
25
24
|
import { createRef as b, ref as m } from "lit/directives/ref.js";
|
|
26
25
|
import { LitElement as T, createEvent as C, renderElement as E, safeStyleMap as B, safeClassMap as d } from "@arcgis/lumina";
|
|
27
26
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
28
27
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
29
|
-
v4.34.0-next.
|
|
28
|
+
v4.34.0-next.139 */
|
|
30
29
|
const o = {
|
|
31
30
|
jsAppFlyout: "js-app-flyout",
|
|
32
31
|
name: "bar-chart-data-popover",
|
|
@@ -38,8 +37,8 @@ const o = {
|
|
|
38
37
|
sortMedian: "sort-median",
|
|
39
38
|
sortOrderPickList: "sort-order-pick-list",
|
|
40
39
|
panel: "panel"
|
|
41
|
-
},
|
|
42
|
-
class
|
|
40
|
+
}, K = S`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-mean,.sort-median{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`;
|
|
41
|
+
class N extends T {
|
|
43
42
|
constructor() {
|
|
44
43
|
super(...arguments), this._messages = D(), this.picklist = b(), this.placement = "leading", this.popoverElement = b(), this.offsetDistance = -200, this.pickListHasChanged = !1, this.layerFieldsInfo = [], this.isCustomSortDisabled = !1, this.arcgisChartsConfigBoxPlotDataPopoverChange = C(), this.arcgisChartsConfigPopoverClose = C();
|
|
45
44
|
}
|
|
@@ -47,7 +46,7 @@ class z extends T {
|
|
|
47
46
|
this.properties = { messageOverrides: 0, headingTitle: 3, referenceElement: 2, open: 7, contentKind: 1, layerFieldsInfo: 0, isCustomSortDisabled: 5, selectedContent: 1 };
|
|
48
47
|
}
|
|
49
48
|
static {
|
|
50
|
-
this.styles =
|
|
49
|
+
this.styles = K;
|
|
51
50
|
}
|
|
52
51
|
async reposition() {
|
|
53
52
|
await this.popoverElement.value?.reposition();
|
|
@@ -58,12 +57,12 @@ class z extends T {
|
|
|
58
57
|
async updated() {
|
|
59
58
|
setTimeout(async () => {
|
|
60
59
|
typeof this.picklist.value?.setFocus == "function" && await this.picklist.value?.setFocus();
|
|
61
|
-
}, h.PopoverTimer),
|
|
60
|
+
}, h.PopoverTimer), P(this.popoverElement.value, this.open), this.hasUpdated || setTimeout(() => {
|
|
62
61
|
this.popoverElement.value?.reposition();
|
|
63
62
|
}, h.PopoverTimer);
|
|
64
63
|
}
|
|
65
64
|
selectedContentChange(e, t) {
|
|
66
|
-
this.pickListHasChanged =
|
|
65
|
+
this.pickListHasChanged = I(e, t);
|
|
67
66
|
}
|
|
68
67
|
closePopover() {
|
|
69
68
|
if (this.contentKind === l.numericFields && this.pickListHasChanged) {
|
|
@@ -72,7 +71,7 @@ class z extends T {
|
|
|
72
71
|
eventEmitter: this.arcgisChartsConfigBoxPlotDataPopoverChange,
|
|
73
72
|
contentKind: this.contentKind
|
|
74
73
|
};
|
|
75
|
-
|
|
74
|
+
F(e);
|
|
76
75
|
}
|
|
77
76
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
78
77
|
}
|
|
@@ -163,14 +162,14 @@ class z extends T {
|
|
|
163
162
|
}
|
|
164
163
|
createTooltip(e) {
|
|
165
164
|
if (e.target?.label === this._messages.customSort && this.isCustomSortDisabled) {
|
|
166
|
-
const t = e.target, i =
|
|
165
|
+
const t = e.target, i = L(t), a = new Intl.NumberFormat(i).format(h.customSortLimit), c = w(this._messages.customSortLimit ?? "", {
|
|
167
166
|
totalLimit: a
|
|
168
167
|
});
|
|
169
168
|
this.tooltip = E(n`<calcite-tooltip style=${B({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${c}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
170
169
|
}
|
|
171
170
|
}
|
|
172
171
|
destroyTooltip() {
|
|
173
|
-
|
|
172
|
+
x(this.tooltip);
|
|
174
173
|
}
|
|
175
174
|
renderCategory() {
|
|
176
175
|
const e = this.buildPickListItems(l.category);
|
|
@@ -211,7 +210,7 @@ class z extends T {
|
|
|
211
210
|
return this.contentKind === l.numericFields && (e = n`<div slot=footer><calcite-fab class=${d(o.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div class=${d(o.jsAppFlyout)}><calcite-popover class=${d(o.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${m(this.popoverElement)}><calcite-panel class=${d(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${d(o.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
212
211
|
}
|
|
213
212
|
}
|
|
214
|
-
k("arcgis-charts-config-box-plot-popover",
|
|
213
|
+
k("arcgis-charts-config-box-plot-popover", N);
|
|
215
214
|
export {
|
|
216
|
-
|
|
215
|
+
N as ArcgisChartsConfigBoxPlotPopover
|
|
217
216
|
};
|
|
@@ -5,7 +5,7 @@ import "@arcgis/toolkit/intl";
|
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import { f as d } from "../../chunks/series-types.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { C as S } from "../../chunks/interfaces2.js";
|
|
9
9
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
11
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -18,10 +18,10 @@ import { r as f } from "../../chunks/popover-ui-utils.js";
|
|
|
18
18
|
import { repeat as y } from "lit/directives/repeat.js";
|
|
19
19
|
import { u as B } from "../../chunks/useT9n.js";
|
|
20
20
|
import { LitElement as O, renderElement as h, safeStyleMap as m, createEvent as w, safeClassMap as a } from "@arcgis/lumina";
|
|
21
|
-
import {
|
|
21
|
+
import { e as T } from "../../chunks/chart-ui-utils2.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 l = {
|
|
26
26
|
topSection: "top-section",
|
|
27
27
|
sectionLabel: "section-label",
|
|
@@ -3,9 +3,9 @@ import { css as f, html as n } from "lit";
|
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { isEqual as C } from "lodash-es";
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
|
-
import {
|
|
6
|
+
import { f as v } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { r as d } from "../../chunks/interfaces2.js";
|
|
9
9
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
11
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -18,17 +18,17 @@ import { e as u } from "../../chunks/popover-ui-utils.js";
|
|
|
18
18
|
import { U as y } from "../../chunks/chart-ui-utils2.js";
|
|
19
19
|
import { u as b } from "../../chunks/useT9n.js";
|
|
20
20
|
import { createRef as S, ref as x } from "lit/directives/ref.js";
|
|
21
|
-
import { LitElement as $, createEvent as
|
|
21
|
+
import { LitElement as $, createEvent as a, safeClassMap as l } from "@arcgis/lumina";
|
|
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 c = {
|
|
26
26
|
jsAppFlyout: "js-app-flyout",
|
|
27
27
|
panelChildrenContainer: "panel-children-container"
|
|
28
28
|
}, P = f`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`;
|
|
29
29
|
class L extends $ {
|
|
30
30
|
constructor() {
|
|
31
|
-
super(...arguments), this._messages = b(), this.popoverElement = S(), this.isLineSymbol = !1, this.arcgisChartsConfigPopoverClose =
|
|
31
|
+
super(...arguments), this._messages = b(), this.popoverElement = S(), this.isLineSymbol = !1, this.arcgisChartsConfigPopoverClose = a(), this.arcgisChartsConfigSeriesPopoverColorChange = a(), this.arcgisChartsConfigSeriesPopoverLineStyleChange = a(), this.arcgisChartsConfigSeriesPopoverLineWidthChange = a(), this.arcgisChartsConfigSeriesPopoverNameChange = a();
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
34
|
this.properties = { messageOverrides: 0, referenceElement: 2, selectedName: 3, selectedColor: 2, selectedLineStyle: 3, selectedLineWidth: 11, selectedSeriesIndex: 11, isLineSymbol: 7, placement: 3, open: 7, labelCanBeConfigured: 7 };
|
|
@@ -52,14 +52,14 @@ class L extends $ {
|
|
|
52
52
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
53
53
|
}
|
|
54
54
|
colorChange(e) {
|
|
55
|
-
const t = e instanceof CustomEvent ? e.detail : e, [s, i, o] = t,
|
|
56
|
-
this.selectedColor = [s, i, o,
|
|
55
|
+
const t = e instanceof CustomEvent ? e.detail : e, [s, i, o] = t, r = d * 255;
|
|
56
|
+
this.selectedColor = [s, i, o, r], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [s, i, o, r] });
|
|
57
57
|
}
|
|
58
58
|
lineSymbolChange(e) {
|
|
59
59
|
const { lineStyle: t } = e.target, { color: s, style: i, width: o } = t;
|
|
60
60
|
if (s !== void 0 && !C(s, this.selectedColor)) {
|
|
61
|
-
const [
|
|
62
|
-
this.selectedColor = [
|
|
61
|
+
const [r, p, h] = s, m = d * 255;
|
|
62
|
+
this.selectedColor = [r, p, h, m], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [r, p, h, m] });
|
|
63
63
|
}
|
|
64
64
|
i !== void 0 && i !== this.selectedLineStyle && (this.selectedLineStyle = i, this.arcgisChartsConfigSeriesPopoverLineStyleChange.emit({ style: i })), o !== void 0 && o !== this.selectedLineWidth && (this.selectedLineWidth = o, this.arcgisChartsConfigSeriesPopoverLineWidthChange.emit({ width: o }));
|
|
65
65
|
}
|