@arcgis/charts-components 5.0.0-next.126 → 5.0.0-next.128
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/{W6CJEKZF.js → 22EUL5Z6.js} +2 -2
- package/dist/cdn/{QWA2NXWE.js → 2OLG4WRN.js} +1 -1
- package/dist/cdn/{G2GFLPJY.js → 2OOJOSZW.js} +2 -2
- package/dist/cdn/{B5NYZJPC.js → 2WJS3BYV.js} +2 -2
- package/dist/cdn/{J7JFKQW2.js → 2ZOH7LUU.js} +2 -2
- package/dist/cdn/{LUPA3H3J.js → 3GDXHBOD.js} +2 -2
- package/dist/cdn/{QIKABDKN.js → 3MIOY36J.js} +2 -2
- package/dist/cdn/{ELTMKHI5.js → 3ORTCXHF.js} +2 -2
- package/dist/cdn/{PURVTUAP.js → 3RZ6FIBY.js} +2 -2
- package/dist/cdn/{RXY7BYXO.js → 3THHUD3J.js} +2 -2
- package/dist/cdn/{7UVCY2XW.js → 3UFS6CO6.js} +2 -2
- package/dist/cdn/{OZLDJIIO.js → 3VBS5RCT.js} +2 -2
- package/dist/cdn/{Y5HMOZRL.js → 3ZDYCTTN.js} +2 -2
- package/dist/cdn/{H7BCCLBI.js → 42AJRLW6.js} +2 -2
- package/dist/cdn/{GBPLKUWL.js → 47EQBBON.js} +2 -2
- package/dist/cdn/{AFR2NZEW.js → 4ASN5GBP.js} +2 -2
- package/dist/cdn/{P5JWGION.js → 4EV76DVJ.js} +2 -2
- package/dist/cdn/{SKIPJVXR.js → 4FHLCGLN.js} +2 -2
- package/dist/cdn/4SEJ5IR2.js +4 -0
- package/dist/cdn/{Q5UJ2NHS.js → 4WWSXGJY.js} +2 -2
- package/dist/cdn/{AOLCF6PF.js → 55RBVKFW.js} +2 -2
- package/dist/cdn/{XSVXNSOZ.js → 5HXZV5HL.js} +2 -2
- package/dist/cdn/{JVGBT7HW.js → 5JX3567O.js} +2 -2
- package/dist/cdn/{KZY7SNZU.js → 5ULVLCRN.js} +2 -2
- package/dist/cdn/{DOMFMDO6.js → 5UWWIMAN.js} +2 -2
- package/dist/cdn/{5EZEK2B3.js → 62TSACLV.js} +2 -2
- package/dist/cdn/{M2OM5DNU.js → 65FEXRFR.js} +2 -2
- package/dist/cdn/{GMQMQ6A7.js → 6NLZXAER.js} +2 -2
- package/dist/cdn/{J4AA7FRW.js → 6RSNLO7Z.js} +2 -2
- package/dist/cdn/{CY4JRAZ2.js → 6VSCPZQO.js} +2 -2
- package/dist/cdn/{ERWS266O.js → 7LDVUIPH.js} +2 -2
- package/dist/cdn/{RPIBXVWC.js → 7RJGE5NU.js} +2 -2
- package/dist/cdn/{QMGZNANC.js → AYPAPOHH.js} +2 -2
- package/dist/cdn/{KNME6EGI.js → BFN27ZQX.js} +2 -2
- package/dist/cdn/{ITJ33NKU.js → BFXAQPLK.js} +1 -1
- package/dist/cdn/BKZPBHG3.js +4 -0
- package/dist/cdn/{6NFJLX4R.js → BP4VGL52.js} +2 -2
- package/dist/cdn/{ERETYZHP.js → C5SLBNYZ.js} +2 -2
- package/dist/cdn/{XLGKD4VN.js → C67L6PRG.js} +2 -2
- package/dist/cdn/{HFBS6K2E.js → C6H6UNKX.js} +2 -2
- package/dist/cdn/{ID67GG4Z.js → CF7CDTUO.js} +2 -2
- package/dist/cdn/{XETVTEXP.js → CGP6VUUN.js} +2 -2
- package/dist/cdn/{GV7LTNSB.js → CIARLJJZ.js} +2 -2
- package/dist/cdn/CJFGJOQE.js +4 -0
- package/dist/cdn/{KZPAVR5Z.js → CJGV65E3.js} +2 -2
- package/dist/cdn/{ZNO4DZ3P.js → CRGIXEQA.js} +2 -2
- package/dist/cdn/{PGM6GEJ6.js → CS3Q4QE6.js} +2 -2
- package/dist/cdn/{VXUVRDZ7.js → CS5PQGM2.js} +2 -2
- package/dist/cdn/{W6WAGCUD.js → D53JWOVC.js} +2 -2
- package/dist/cdn/{LCKMPGM7.js → D5GWZCT7.js} +2 -2
- package/dist/cdn/{TEP2J466.js → D6GPLQDQ.js} +2 -2
- package/dist/cdn/{NTCZKQRC.js → D77TW4TO.js} +2 -2
- package/dist/cdn/{JCQLF7EV.js → DMAMV3SD.js} +2 -2
- package/dist/cdn/{YKSNOZ55.js → DQVGETJJ.js} +2 -2
- package/dist/cdn/{TWXQBB4I.js → DZGCI4B4.js} +2 -2
- package/dist/cdn/EAL7RIFQ.js +4 -0
- package/dist/cdn/{I4NTX3Z2.js → EDF5PANH.js} +2 -2
- package/dist/cdn/{OGDDMNLP.js → EIIATGLO.js} +2 -2
- package/dist/cdn/{XB3GAQIJ.js → EIVMHE7S.js} +2 -2
- package/dist/cdn/{YIKQZM3J.js → EQX64DOC.js} +2 -2
- package/dist/cdn/{OQLTXWUU.js → ES77O4JG.js} +2 -2
- package/dist/cdn/{KOCW5WYZ.js → FCOADJI7.js} +2 -2
- package/dist/cdn/{WKOWQ475.js → FDIGHKML.js} +2 -2
- package/dist/cdn/{TP2X6PFS.js → FF47KL7S.js} +2 -2
- package/dist/cdn/{5SPR4WU7.js → FP4JRFZO.js} +2 -2
- package/dist/cdn/FU5J6V4O.js +6 -0
- package/dist/cdn/{AZZEZCTO.js → FWZ5SYUS.js} +2 -2
- package/dist/cdn/{C7ZOIOKQ.js → FXRT2P57.js} +2 -2
- package/dist/cdn/{MS5H6NVL.js → GFD4PVNW.js} +2 -2
- package/dist/cdn/{4AWFYOB3.js → GGS4WKGM.js} +2 -2
- package/dist/cdn/{27UHYAD7.js → GKU4PIXT.js} +2 -2
- package/dist/cdn/{HM7YEGEB.js → GS6CKNF5.js} +2 -2
- package/dist/cdn/{77JNABH4.js → GTBPNHTZ.js} +2 -2
- package/dist/cdn/{UOFAIACY.js → GVID32UY.js} +2 -2
- package/dist/cdn/{VL3YMZBP.js → GYJB3M4B.js} +2 -2
- package/dist/cdn/GYKLQ2WT.js +4 -0
- package/dist/cdn/GZWPAHMQ.js +4 -0
- package/dist/cdn/{NND3FLIE.js → H7NKHPEH.js} +2 -2
- package/dist/cdn/{REQJ5VKC.js → HF7DALE3.js} +2 -2
- package/dist/cdn/{OSUI5UAL.js → HK7GRX27.js} +2 -2
- package/dist/cdn/{JDKSA2FX.js → HVIBLQ4L.js} +2 -2
- package/dist/cdn/{PTIDPN5X.js → HZFB7ZVR.js} +2 -2
- package/dist/cdn/{SYCMKNIB.js → HZW7FWKG.js} +2 -2
- package/dist/cdn/{NL6TNMOY.js → I5AP5DSN.js} +2 -2
- package/dist/cdn/{Q4EJXZA6.js → I5ZN6QSU.js} +2 -2
- package/dist/cdn/{JWN3NIZB.js → I6HXK5QH.js} +2 -2
- package/dist/cdn/{MF5ZAJP4.js → IKJX2VKX.js} +2 -2
- package/dist/cdn/{VRHSLUQS.js → IL3HB56M.js} +2 -2
- package/dist/cdn/{ABRNTTB5.js → IOMKOA5M.js} +2 -2
- package/dist/cdn/{JRSPZ6SO.js → J7G4BQCG.js} +2 -2
- package/dist/cdn/{RXV7TMD3.js → JGVK6PKE.js} +2 -2
- package/dist/cdn/{VIVZZ62F.js → JO2SARJA.js} +2 -2
- package/dist/cdn/{7DZEHEYQ.js → JRHQVGJW.js} +2 -2
- package/dist/cdn/{HRI7QMSC.js → JSOO3QR2.js} +2 -2
- package/dist/cdn/{PAZTQIFU.js → JU24L3ZM.js} +2 -2
- package/dist/cdn/{35E2DSUF.js → JW3RTP6D.js} +2 -2
- package/dist/cdn/JY43H6BJ.js +4 -0
- package/dist/cdn/{WNAGAO6Z.js → K2MPGHPY.js} +2 -2
- package/dist/cdn/{7H276RRF.js → K4WOSEYP.js} +1 -1
- package/dist/cdn/K5QVZ6VI.js +4 -0
- package/dist/cdn/{NGOD7QYS.js → KAR5XGV4.js} +2 -2
- package/dist/cdn/{U5ZB3ZOZ.js → KB3NRK4B.js} +2 -2
- package/dist/cdn/{LAQ7APAM.js → KECW65TS.js} +2 -2
- package/dist/cdn/{VV3EOVSC.js → KKXILXVZ.js} +2 -2
- package/dist/cdn/{N7JRXCWF.js → KOKKVWFB.js} +2 -2
- package/dist/cdn/{5O4AS63P.js → L7IXHNTO.js} +2 -2
- package/dist/cdn/LFUWSVXP.js +4 -0
- package/dist/cdn/LHFZE6DD.js +4 -0
- package/dist/cdn/{RK6CCTOG.js → LJAYMQTD.js} +1 -1
- package/dist/cdn/{QLA6BHOG.js → LOKSHI6H.js} +2 -2
- package/dist/cdn/{AHTZFNZ4.js → MDCTW3UD.js} +2 -2
- package/dist/cdn/{7E3AMLJV.js → MHJTRS2Z.js} +1 -1
- package/dist/cdn/{5YB6JGO6.js → MO57D6AJ.js} +2 -2
- package/dist/cdn/{XCYWE7EO.js → MQMDAPLL.js} +2 -2
- package/dist/cdn/{WU7OX373.js → N65X4OIV.js} +2 -2
- package/dist/cdn/{IWLVXYOY.js → NBYHV2CD.js} +2 -2
- package/dist/cdn/{SAQUHIN6.js → NGAL3AT4.js} +1 -1
- package/dist/cdn/{QXMUMSJD.js → NX3AL6KX.js} +2 -2
- package/dist/cdn/{76MEZSBP.js → NYKALISS.js} +2 -2
- package/dist/cdn/OCCT2XPC.js +245 -0
- package/dist/cdn/{M3HUJD7E.js → OCO2I7JK.js} +2 -2
- package/dist/cdn/{MCXWNKHE.js → OWLEQU27.js} +2 -2
- package/dist/cdn/{6HVKSH55.js → OZTSQ3OP.js} +2 -2
- package/dist/cdn/{ZIJIFME2.js → PDOLR4FS.js} +2 -2
- package/dist/cdn/{OV6TE6ES.js → PO25V3JY.js} +2 -2
- package/dist/cdn/{ZKKNEX53.js → POFOMWNP.js} +2 -2
- package/dist/cdn/PZ5L5WGO.js +4 -0
- package/dist/cdn/{4XRFREWJ.js → Q4ICG5Y7.js} +2 -2
- package/dist/cdn/{MNFUQLWB.js → Q5UN7M2S.js} +2 -2
- package/dist/cdn/{6W2SH2IX.js → QAD5SFE5.js} +2 -2
- package/dist/cdn/{PIK4YDLO.js → QFJGVMK6.js} +2 -2
- package/dist/cdn/{KUJSVFE4.js → QNOWEVXH.js} +2 -2
- package/dist/cdn/{DEGKE72A.js → QRBOEK5Z.js} +2 -2
- package/dist/cdn/{BSDD4JGM.js → QSN45SKH.js} +2 -2
- package/dist/cdn/{SK6EMQF2.js → QXUPZ3MD.js} +2 -2
- package/dist/cdn/{EWSIWHZX.js → R5BWR5QD.js} +2 -2
- package/dist/cdn/{2A6TTXMX.js → RK3E2QZC.js} +2 -2
- package/dist/cdn/{PIM7HXP7.js → RKJDI3RQ.js} +2 -2
- package/dist/cdn/{UFBER3XV.js → RLCXJPJC.js} +2 -2
- package/dist/cdn/{CF76W6BX.js → RNBRSDBA.js} +2 -2
- package/dist/cdn/{KEADQABA.js → RWG56H3Q.js} +2 -2
- package/dist/cdn/{FNBTHB56.js → S5KWGSSV.js} +2 -2
- package/dist/cdn/{25XRK74L.js → S6D4DB5Z.js} +2 -2
- package/dist/cdn/S6LNJ7C3.js +34 -0
- package/dist/cdn/{SLGHP6TN.js → SA3R435U.js} +2 -2
- package/dist/cdn/{TNQLQVSX.js → T2435KTY.js} +2 -2
- package/dist/cdn/{ZNHWCDWX.js → T46OU4PI.js} +40 -38
- package/dist/cdn/{ROTLJPTM.js → T4AL65E5.js} +2 -2
- package/dist/cdn/{Z2UL3XYG.js → T5P46ZPN.js} +2 -2
- package/dist/cdn/{26KI2VVZ.js → THIC2UG3.js} +2 -2
- package/dist/cdn/{ZXQ6YK42.js → TNLLQWNS.js} +2 -2
- package/dist/cdn/{74R27GEX.js → TNWDAYYV.js} +2 -2
- package/dist/cdn/{MKNAFOVQ.js → TXVYIJL3.js} +1 -1
- package/dist/cdn/{3HUEAOWU.js → TZAOI5XR.js} +2 -2
- package/dist/cdn/{MZCCJESV.js → U76X2XGL.js} +2 -2
- package/dist/cdn/{4VMPZYRR.js → UDWEKA7Y.js} +2 -2
- package/dist/cdn/UOPM5PFW.js +4 -0
- package/dist/cdn/{ELGNG2Q4.js → V2I57K3D.js} +2 -2
- package/dist/cdn/{4IWVBMMV.js → VKBCMTGI.js} +2 -2
- package/dist/cdn/{5YVVRQGX.js → VPUCRYMY.js} +2 -2
- package/dist/cdn/{4CBCYV7Y.js → VQD7CKJI.js} +3 -3
- package/dist/cdn/{ZN7ILHG6.js → VQL4FZEL.js} +2 -2
- package/dist/cdn/{5V4WL3KB.js → VTPRHW3X.js} +2 -2
- package/dist/cdn/{XCWR4PVE.js → W3N3SLTR.js} +2 -2
- package/dist/cdn/{ROPL32VZ.js → WAN7MDZQ.js} +2 -2
- package/dist/cdn/{RM65CKH5.js → WFH5FNAA.js} +2 -2
- package/dist/cdn/{ZZCFXZ2V.js → WI7ITARU.js} +2 -2
- package/dist/cdn/{IMG3QRKF.js → WKS4YJO6.js} +2 -2
- package/dist/cdn/{ZQC5FUSI.js → WWRMA4CV.js} +2 -2
- package/dist/cdn/{TSM7CFL5.js → X2CRJSAT.js} +2 -2
- package/dist/cdn/{OMQMS2VP.js → X4DS7ENP.js} +2 -2
- package/dist/cdn/{QXDLE5IZ.js → X62P3NFV.js} +2 -2
- package/dist/cdn/X7Z57GBE.js +4 -0
- package/dist/cdn/{XKI443WC.js → XD6U6SW2.js} +2 -2
- package/dist/cdn/{KICNQRS5.js → XIZHBLBS.js} +2 -2
- package/dist/cdn/{RCNHXERV.js → XMEEEXQP.js} +2 -2
- package/dist/cdn/{MN5E7EBK.js → XZURKCCQ.js} +2 -2
- package/dist/cdn/{S7KXCJNQ.js → Y64A64YC.js} +2 -2
- package/dist/cdn/{6PWOZ6DX.js → YBSH5HOH.js} +2 -2
- package/dist/cdn/{MJSWOREC.js → YHMZWA4E.js} +2 -2
- package/dist/cdn/{DMUPFMGF.js → YOMXHU5P.js} +2 -2
- package/dist/cdn/{TLV7DUO6.js → YPQIUIXK.js} +2 -2
- package/dist/cdn/{YB3HEDVK.js → YU4NX5OA.js} +2 -2
- package/dist/cdn/{FLCOLBWB.js → YYIERA2R.js} +3 -3
- package/dist/cdn/{ZELMXADS.js → ZUEZYJDH.js} +2 -2
- package/dist/cdn/{W3E753E5.js → ZVI7NTIN.js} +2 -2
- package/dist/cdn/{D776AYHH.js → ZXTN65F7.js} +2 -2
- package/dist/cdn/{643TZRTV.js → ZYAJ6T65.js} +2 -2
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +3 -8
- package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +33 -3
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +0 -3
- package/dist/chart-rendering/common/selection/index.d.ts +16 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +2 -2
- package/dist/chunks/action-bar-utils.js +21 -19
- package/dist/chunks/axis-lines-symbol.js +8 -8
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +12 -10
- package/dist/chunks/bar-chart-series.js +12 -10
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +88 -86
- package/dist/chunks/box-plot-model.js +10 -10
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +43 -42
- package/dist/chunks/class-breaks.js +47 -47
- package/dist/chunks/combo-bar-line-chart-model.js +12 -12
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +2 -2
- package/dist/chunks/data-labels-visibility.js +14 -12
- package/dist/chunks/data.js +35 -33
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +68 -66
- package/dist/chunks/generate-x-axis-title.js +40 -27
- package/dist/chunks/heat-chart-model.js +222 -180
- package/dist/chunks/histogram-data.js +37 -36
- package/dist/chunks/histogram-model.js +6 -6
- package/dist/chunks/index.js +4691 -10986
- package/dist/chunks/index2.js +27 -26
- package/dist/chunks/index3.js +17 -17
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +14 -12
- package/dist/chunks/model-with-multi-axes.js +127 -125
- package/dist/chunks/negative-values-stacked-to-baseline.js +3 -1
- package/dist/chunks/pie-chart-data.js +32 -31
- package/dist/chunks/pie-chart-model.js +11 -9
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +4 -2
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/rotated-state.js +5 -4
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +13 -12
- package/dist/chunks/serial-chart-data.js +160 -162
- package/dist/chunks/serial-chart-model.js +11 -11
- package/dist/chunks/series-types.js +1 -1
- 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/utils.js +49 -48
- package/dist/chunks/utils2.js +10 -8
- package/dist/chunks/web-component-utils.js +26 -26
- package/dist/chunks/x-axis-labels-visibility.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +26 -18
- package/dist/components/arcgis-chart/customElement.js +3859 -3847
- package/dist/components/arcgis-chart/index.d.ts +1 -1
- package/dist/components/arcgis-chart/index.js +1 -1
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +8 -6
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +14 -13
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +22 -21
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +7 -5
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +7 -5
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +7 -6
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +75 -73
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +9 -7
- package/dist/components/arcgis-charts-config-general/customElement.js +7 -5
- package/dist/components/arcgis-charts-config-guide/customElement.js +10 -8
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +6 -4
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +85 -82
- package/dist/components/arcgis-charts-config-heat-chart-data/resources.d.ts +1 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +38 -35
- package/dist/components/arcgis-charts-config-histogram/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +7 -6
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +8 -6
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +6 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +8 -6
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +3 -1
- package/dist/components/{arcgis-charts-config-info-modal → arcgis-charts-info-modal}/customElement.d.ts +2 -2
- package/dist/components/{arcgis-charts-config-info-modal → arcgis-charts-info-modal}/customElement.js +3 -3
- package/dist/docs/api.json +37 -40
- package/dist/docs/docs.json +23 -26
- package/dist/docs/vscode.html-custom-data.json +10 -10
- package/dist/docs/web-types.json +20 -20
- package/dist/index.d.ts +3 -3
- package/dist/index.js +365 -364
- package/dist/loader.js +3 -3
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +22 -10
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +0 -6
- package/dist/model.js +1 -1
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +4 -4
- package/dist/types/react.d.ts +5 -5
- package/dist/types/stencil.d.ts +3 -3
- package/dist/utils/chart-config/utils/class-breaks/index.d.ts +2 -2
- package/dist/utils/defaults/index.d.ts +4 -0
- package/package.json +6 -4
- package/dist/cdn/2AIIJ3EU.js +0 -4
- package/dist/cdn/7CRANVFJ.js +0 -4
- package/dist/cdn/AEVMNV6D.js +0 -4
- package/dist/cdn/BIMLXGQH.js +0 -6
- package/dist/cdn/BUDJ5KJ4.js +0 -4
- package/dist/cdn/EOPCIELT.js +0 -244
- package/dist/cdn/PHDC7IS6.js +0 -4
- package/dist/cdn/QQUULICL.js +0 -4
- package/dist/cdn/RZGZRQIF.js +0 -4
- package/dist/cdn/SOBBK6GJ.js +0 -4
- package/dist/cdn/UQWXXVPP.js +0 -4
- package/dist/cdn/UU5ZVLCU.js +0 -4
- package/dist/cdn/VLY2GYOK.js +0 -4
- package/dist/cdn/WCFDKS47.js +0 -4
- package/dist/cdn/WD2HWPCM.js +0 -34
- package/dist/cdn/XFGSO5RQ.js +0 -4
- /package/dist/components/{arcgis-charts-config-info-modal → arcgis-charts-info-modal}/index.d.ts +0 -0
- /package/dist/components/{arcgis-charts-config-info-modal → arcgis-charts-info-modal}/index.js +0 -0
- /package/dist/components/{arcgis-charts-config-info-modal → arcgis-charts-info-modal}/resource.d.ts +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { LitElement as
|
|
3
|
-
import { u as
|
|
4
|
-
import { css as
|
|
5
|
-
import { l as
|
|
6
|
-
import { f as
|
|
7
|
-
import { x as
|
|
1
|
+
import { c as x } from "../../chunks/runtime.js";
|
|
2
|
+
import { LitElement as R, createEvent as T, renderElement as S, safeClassMap as r, safeStyleMap as k } from "@arcgis/lumina";
|
|
3
|
+
import { u as v } from "../../chunks/useT9n.js";
|
|
4
|
+
import { css as D, html as o } from "lit";
|
|
5
|
+
import { l as y, j as p, W as n, v as f, u as A, a as E } from "../../chunks/series-types.js";
|
|
6
|
+
import { f as M, j as I } from "../../chunks/rest-js-object-literals.js";
|
|
7
|
+
import { x as P } from "../../chunks/data.js";
|
|
8
8
|
import "@arcgis/toolkit/intl";
|
|
9
|
-
import { cloneDeep as
|
|
9
|
+
import { cloneDeep as w, isEqual as _, parseInt as H, camelCase as O } from "lodash-es";
|
|
10
|
+
import "luxon";
|
|
10
11
|
import "d3-array";
|
|
11
|
-
import {
|
|
12
|
+
import { br as L, dk as U, ax as b, cY as F, d7 as V, dj as N, ay as g } from "../../chunks/index.js";
|
|
12
13
|
import "@arcgis/core/intl.js";
|
|
13
14
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
14
15
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -22,29 +23,31 @@ import "@arcgis/core/rest/support/Query.js";
|
|
|
22
23
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
23
24
|
import "@arcgis/core/time/TimeExtent.js";
|
|
24
25
|
import "@arcgis/core/core/promiseUtils.js";
|
|
25
|
-
import { b as
|
|
26
|
+
import { b as W } from "../../chunks/index3.js";
|
|
26
27
|
import "@arcgis/toolkit/dom";
|
|
27
|
-
import { r as
|
|
28
|
+
import { r as K } from "../../chunks/popover-ui-utils.js";
|
|
28
29
|
import { createRef as h, ref as m } from "lit/directives/ref.js";
|
|
29
|
-
import { e as l, W as
|
|
30
|
-
import { j as
|
|
31
|
-
import * as
|
|
32
|
-
import { g as
|
|
33
|
-
import { createClassBreaksRenderer as
|
|
34
|
-
import { getSchemes as
|
|
35
|
-
import { i as
|
|
30
|
+
import { e as l, W as $ } from "../../chunks/interfaces.js";
|
|
31
|
+
import { j as B, s as q } from "../../chunks/chart-ui-utils2.js";
|
|
32
|
+
import * as j from "@arcgis/core/smartMapping/symbology/support/colorRamps.js";
|
|
33
|
+
import { g as z, e as X, c as Y } from "../../chunks/class-breaks.js";
|
|
34
|
+
import { createClassBreaksRenderer as G } from "@arcgis/core/smartMapping/renderers/color.js";
|
|
35
|
+
import { getSchemes as J } from "@arcgis/core/smartMapping/symbology/color.js";
|
|
36
|
+
import { i as Q } from "../../chunks/utils.js";
|
|
37
|
+
import { H as Z } from "../../chunks/common.js";
|
|
36
38
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
37
39
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
38
|
-
v5.0.0-next.
|
|
39
|
-
const
|
|
40
|
+
v5.0.0-next.128 */
|
|
41
|
+
const ee = D`.hide{display:none}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.color-ramp{width:100%;height:20px;overflow:hidden;border-radius:0}.color-ramp-segment{height:100%;display:inline-block}.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)}.accordion{margin-top:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}`, c = {
|
|
40
42
|
label: "label",
|
|
41
43
|
colorRamp: "color-ramp",
|
|
42
44
|
colorRampSegment: "color-ramp-segment",
|
|
43
|
-
list: "list"
|
|
45
|
+
list: "list",
|
|
46
|
+
accordion: "accordion"
|
|
44
47
|
};
|
|
45
|
-
class
|
|
48
|
+
class ae extends R {
|
|
46
49
|
constructor() {
|
|
47
|
-
super(...arguments), this._messages =
|
|
50
|
+
super(...arguments), this._messages = v(), this.commonStrings = v({ name: "common", blocking: !0 }), this.heatChartPopover = null, this.xAxisFieldElement = h(), this.aggregationElement = h(), this.numericFieldsElement = h(), this.calendarTypeElement = h(), this.calendarViewTypeElement = h(), this.classBreakMethodElement = h(), this.nullElement = h(), this.breaksCountElement = h(), this.colorSchemeElement = h(), this.onHeatChartDataPopoverChange = async (e) => {
|
|
48
51
|
try {
|
|
49
52
|
if (e.detail?.value !== void 0) {
|
|
50
53
|
const { contentKind: a } = e.detail, t = e.detail.value;
|
|
@@ -53,44 +56,44 @@ class Z extends x {
|
|
|
53
56
|
this.model.aggregationType = t;
|
|
54
57
|
break;
|
|
55
58
|
case l.xAxisField:
|
|
56
|
-
this.model.xAxisField = t, this.setDefaultPropertiesForCalendarHeatChart(), this.model.classificationMethod =
|
|
59
|
+
this.model.xAxisField = t, this.setDefaultPropertiesForCalendarHeatChart(), this.model.classificationMethod = f.naturalBreaks, this.model.heatRulesType = y.Renderer;
|
|
57
60
|
break;
|
|
58
61
|
case l.numericFields:
|
|
59
|
-
this.model.numericFields = [t];
|
|
62
|
+
this.model.numericFields = [t.trim() || ""];
|
|
60
63
|
break;
|
|
61
64
|
case l.calendarType: {
|
|
62
65
|
switch (t) {
|
|
63
|
-
case
|
|
66
|
+
case $.YearByMonthAndDayOfMonth: {
|
|
64
67
|
const s = {
|
|
65
|
-
type:
|
|
68
|
+
type: n.CalendarDateParts,
|
|
66
69
|
unit: p.DayOfMonth
|
|
67
70
|
}, i = {
|
|
68
|
-
type:
|
|
71
|
+
type: n.CalendarDateParts,
|
|
69
72
|
unit: p.MonthOfYear
|
|
70
73
|
};
|
|
71
74
|
this.model.xTemporalBinning = s, this.model.setAxisValueFormat(0, {
|
|
72
|
-
type:
|
|
75
|
+
type: n.DateAxisFormat,
|
|
73
76
|
intlOptions: { day: "2-digit" }
|
|
74
77
|
}), this.model.yTemporalBinning = i, this.model.setAxisValueFormat(1, {
|
|
75
|
-
type:
|
|
78
|
+
type: n.DateAxisFormat,
|
|
76
79
|
intlOptions: { month: "short" }
|
|
77
80
|
});
|
|
78
81
|
break;
|
|
79
82
|
}
|
|
80
|
-
case
|
|
83
|
+
case $.WeekByDayOfWeekAndHourOfDay: {
|
|
81
84
|
const s = {
|
|
82
|
-
type:
|
|
85
|
+
type: n.CalendarDateParts,
|
|
83
86
|
unit: p.HourOfDay
|
|
84
87
|
}, i = {
|
|
85
|
-
type:
|
|
88
|
+
type: n.CalendarDateParts,
|
|
86
89
|
unit: p.DayOfWeek
|
|
87
90
|
};
|
|
88
91
|
this.model.xTemporalBinning = s, this.model.setAxisValueFormat(0, {
|
|
89
|
-
type:
|
|
92
|
+
type: n.DateAxisFormat,
|
|
90
93
|
intlOptions: { hour: "numeric", hour12: !0 }
|
|
91
94
|
}), this.model.yTemporalBinning = i, this.model.setAxisValueFormat(1, {
|
|
92
|
-
type:
|
|
93
|
-
intlOptions: { weekday: "
|
|
95
|
+
type: n.DateAxisFormat,
|
|
96
|
+
intlOptions: { weekday: "short" }
|
|
94
97
|
});
|
|
95
98
|
break;
|
|
96
99
|
}
|
|
@@ -104,7 +107,7 @@ class Z extends x {
|
|
|
104
107
|
break;
|
|
105
108
|
}
|
|
106
109
|
case l.classBreakMethod: {
|
|
107
|
-
this.model.classificationMethod = t, this.model.heatRulesType =
|
|
110
|
+
this.model.classificationMethod = t, this.model.heatRulesType = y.Renderer, this.updateChartRenderer = !0;
|
|
108
111
|
break;
|
|
109
112
|
}
|
|
110
113
|
default:
|
|
@@ -138,20 +141,20 @@ class Z extends x {
|
|
|
138
141
|
...t,
|
|
139
142
|
symbol: {
|
|
140
143
|
...t?.symbol,
|
|
141
|
-
type:
|
|
144
|
+
type: M.SFS,
|
|
142
145
|
color: a,
|
|
143
146
|
outline: t?.symbol?.outline && { ...t.symbol.outline, color: a }
|
|
144
147
|
}
|
|
145
148
|
};
|
|
146
149
|
this.model.emptyCell = s;
|
|
147
150
|
}
|
|
148
|
-
}, this.availableColorRamps = [], this.updateChartRenderer = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError =
|
|
151
|
+
}, this.availableColorRamps = [], this.updateChartRenderer = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError = T();
|
|
149
152
|
}
|
|
150
153
|
static {
|
|
151
154
|
this.properties = { availableColorRamps: 16, aggregationLabel: 16, selectedColorRamp: 16, updateChartRenderer: 16, messageOverrides: 0, model: 0, layerFieldsInfo: 0, open: 5, chartData: 0 };
|
|
152
155
|
}
|
|
153
156
|
static {
|
|
154
|
-
this.styles =
|
|
157
|
+
this.styles = ee;
|
|
155
158
|
}
|
|
156
159
|
connectedCallback() {
|
|
157
160
|
super.connectedCallback(), this.loadColorRampFromArcGIS();
|
|
@@ -160,7 +163,7 @@ class Z extends x {
|
|
|
160
163
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
161
164
|
}
|
|
162
165
|
willUpdate(e) {
|
|
163
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel =
|
|
166
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel = L(this.model.aggregationType, this.commonStrings), e.has("chartData") && (this.updateChartRenderer = this.model.chartRenderer === void 0 || U(this.model.chartRenderer) === I.ClassBreaks);
|
|
164
167
|
}
|
|
165
168
|
updated(e) {
|
|
166
169
|
e.has("updateChartRenderer") && this.updateChartRenderer && this.generateAndUpdateClassBreaks();
|
|
@@ -169,12 +172,12 @@ class Z extends x {
|
|
|
169
172
|
super.disconnectedCallback(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
170
173
|
}
|
|
171
174
|
loadColorRampFromArcGIS() {
|
|
172
|
-
const e =
|
|
175
|
+
const e = j.all();
|
|
173
176
|
this.allColorRamps = e, this.availableColorRamps = this.allColorRamps, this.availableColorRamps.length > 0 && !this.selectedColorRamp && this.model.chartRenderer?.classBreakInfos === void 0 && (this.selectedColorRamp = this.availableColorRamps[0]);
|
|
174
177
|
}
|
|
175
178
|
generateColorsForExistingBreaks(e) {
|
|
176
179
|
const a = this.model.breaksCount;
|
|
177
|
-
return
|
|
180
|
+
return z({
|
|
178
181
|
numberOfClassBreaks: a,
|
|
179
182
|
selectedColorRamp: e,
|
|
180
183
|
colorRamp: this.model.chartRenderer?.classBreakInfos?.map((s) => s.symbol?.color)
|
|
@@ -190,43 +193,43 @@ class Z extends x {
|
|
|
190
193
|
}
|
|
191
194
|
async generateAndUpdateClassBreaks() {
|
|
192
195
|
let e = [];
|
|
193
|
-
if (this.model.classificationMethod ===
|
|
194
|
-
e =
|
|
196
|
+
if (this.model.classificationMethod === f.manual && this.model.chartRenderer?.classBreakInfos.length > 0 && this.selectedColorRamp) {
|
|
197
|
+
e = w(this.model.chartRenderer?.classBreakInfos) ?? [];
|
|
195
198
|
const s = this.generateColorsForExistingBreaks(this.selectedColorRamp);
|
|
196
199
|
for (let i = 0; i < e.length && i < s.length; i++)
|
|
197
200
|
e[i].symbol && (e[i].symbol.color = s[i]);
|
|
198
|
-
} else if (this.model.classificationMethod !==
|
|
199
|
-
const s = await
|
|
201
|
+
} else if (this.model.classificationMethod !== f.manual && this.chartData) {
|
|
202
|
+
const s = await W({
|
|
200
203
|
categoryField: this.model?.xAxisField?.[0] ?? "",
|
|
201
|
-
categoryType:
|
|
202
|
-
numericFields: [
|
|
204
|
+
categoryType: n.DateAxisFormat,
|
|
205
|
+
numericFields: [b.valueField],
|
|
203
206
|
inlineData: this.chartData
|
|
204
207
|
});
|
|
205
208
|
if (s.layer && this.model.layer) {
|
|
206
|
-
const d =
|
|
209
|
+
const d = J({
|
|
207
210
|
geometryType: "point",
|
|
208
211
|
theme: "high-to-low"
|
|
209
|
-
})?.primaryScheme,
|
|
212
|
+
})?.primaryScheme, C = await G({
|
|
210
213
|
layer: s.layer,
|
|
211
|
-
field:
|
|
214
|
+
field: b.valueField,
|
|
212
215
|
classificationMethod: this.model.classificationMethod,
|
|
213
216
|
numClasses: this.model.breaksCount,
|
|
214
217
|
colorScheme: d
|
|
215
218
|
});
|
|
216
|
-
e =
|
|
217
|
-
classBreaksRendererResult:
|
|
219
|
+
e = X({
|
|
220
|
+
classBreaksRendererResult: C,
|
|
218
221
|
numberOfClassBreaks: this.model.breaksCount,
|
|
219
222
|
selectedColorRamp: this.selectedColorRamp,
|
|
220
223
|
// use the color ramp only if the `selectedColorRamp` was not modified by the color ramp popover
|
|
221
|
-
colorRamp: this.updateClassBreaksColor ? void 0 : this.model.chartRenderer?.classBreakInfos?.map((
|
|
224
|
+
colorRamp: this.updateClassBreaksColor ? void 0 : this.model.chartRenderer?.classBreakInfos?.map((u) => u.symbol?.color)
|
|
222
225
|
});
|
|
223
226
|
}
|
|
224
227
|
}
|
|
225
|
-
const a = !this.updateClassBreaksColor, t = !
|
|
228
|
+
const a = !this.updateClassBreaksColor, t = !_(this.normalizeClassBreakInfosForCompare(this.model.chartRenderer?.classBreakInfos, a), this.normalizeClassBreakInfosForCompare(e, a));
|
|
226
229
|
this.updateChartRenderer && t && (this.model.chartRenderer = {
|
|
227
230
|
type: "classBreaks",
|
|
228
231
|
// TODO (heat-chart) use the correct type
|
|
229
|
-
field:
|
|
232
|
+
field: b.valueField,
|
|
230
233
|
classBreakInfos: e
|
|
231
234
|
}), this.updateChartRenderer = !1, this.updateClassBreaksColor = !1;
|
|
232
235
|
}
|
|
@@ -234,10 +237,10 @@ class Z extends x {
|
|
|
234
237
|
a?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
235
238
|
}
|
|
236
239
|
getCorrectedXAxisFieldValue() {
|
|
237
|
-
return
|
|
240
|
+
return P({
|
|
238
241
|
fieldName: this.model.xAxisField,
|
|
239
242
|
fieldList: this.layerFieldsInfo
|
|
240
|
-
}) ? "" :
|
|
243
|
+
}) ? "" : F(this.layerFieldsInfo, this.model.xAxisField);
|
|
241
244
|
}
|
|
242
245
|
onXAxisFieldSelect(e) {
|
|
243
246
|
this.contentKind = l.xAxisField, this.setupPopover(e);
|
|
@@ -255,8 +258,8 @@ class Z extends x {
|
|
|
255
258
|
this.contentKind = l.colorScheme, this.setupPopover(e);
|
|
256
259
|
}
|
|
257
260
|
onBreaksCountChange(e) {
|
|
258
|
-
|
|
259
|
-
|
|
261
|
+
let a = H(e.target.value);
|
|
262
|
+
a < g.min ? a = g.min : a > g.max && (a = g.max), V(a) && (this.breaksCountElement.value && (this.breaksCountElement.value.value = a.toString()), this.model.breaksCount = a, this.updateChartRenderer = !0, this.model.heatRulesType = y.Renderer);
|
|
260
263
|
}
|
|
261
264
|
onAggregationSelect(e) {
|
|
262
265
|
this.contentKind = l.aggregation, this.setupPopover(e);
|
|
@@ -279,10 +282,10 @@ class Z extends x {
|
|
|
279
282
|
a = this.xAxisFieldElement.value, t = this._messages.xAxisField, s = this.model.xAxisField;
|
|
280
283
|
break;
|
|
281
284
|
case l.numericFields:
|
|
282
|
-
a = this.numericFieldsElement.value, t = this._messages.
|
|
285
|
+
a = this.numericFieldsElement.value, t = this._messages.numericField, s = this.model.numericFields?.[0];
|
|
283
286
|
break;
|
|
284
287
|
case l.calendarType:
|
|
285
|
-
a = this.calendarTypeElement.value, t = this._messages.calendarType, s =
|
|
288
|
+
a = this.calendarTypeElement.value, t = this._messages.calendarType, s = B(this.model);
|
|
286
289
|
break;
|
|
287
290
|
case l.calendarViewType:
|
|
288
291
|
a = this.calendarViewTypeElement.value, t = this._messages.viewType, s = this.model.viewType;
|
|
@@ -297,26 +300,26 @@ class Z extends x {
|
|
|
297
300
|
a = e.target, t = this._messages.null;
|
|
298
301
|
break;
|
|
299
302
|
}
|
|
300
|
-
this.heatChartPopover =
|
|
303
|
+
this.heatChartPopover = S(o`<arcgis-charts-config-heat-chart-popover .headingTitle=${t} .referenceElement=${a} open .contentKind=${this.contentKind} .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${s} @arcgisChartsConfigHeatChartDataPopoverChange=${this.onHeatChartDataPopoverChange} @arcgisChartsConfigPopoverClose=${this.popoverClose} .colorRamps=${this.availableColorRamps} @arcgisChartsConfigHeatChartColorRampChange=${this.onColorRampSelection} @arcgisChartsConfigPopoverEmptyCellColorChange=${this.onEmptyCellColorChange} @arcgisChartsConfigPopoverEmptyCellNameChange=${this.onEmptyCellNameChange}></arcgis-charts-config-heat-chart-popover>`), !document.body.contains(this.heatChartPopover) && this.heatChartPopover !== null && document.body.appendChild(this.heatChartPopover);
|
|
301
304
|
}
|
|
302
305
|
removeHeatChartDataPopover() {
|
|
303
|
-
this.heatChartPopover !== null && (this.heatChartPopover.open = !1, this.heatChartPopover =
|
|
306
|
+
this.heatChartPopover !== null && (this.heatChartPopover.open = !1, this.heatChartPopover = K(this.heatChartPopover));
|
|
304
307
|
}
|
|
305
308
|
setDefaultPropertiesForCalendarHeatChart() {
|
|
306
|
-
if (!
|
|
307
|
-
if (this.model.yAxisField = this.model.xAxisField, this.model.xTemporalBinning === void 0) {
|
|
309
|
+
if (!Q(this.model?.config)) {
|
|
310
|
+
if (this.model.yAxisField = this.model.xAxisField, this.model.setYAxisSortOrder(Z.Desc), this.model.xTemporalBinning === void 0) {
|
|
308
311
|
const e = {
|
|
309
|
-
type:
|
|
312
|
+
type: n.CalendarDateParts,
|
|
310
313
|
unit: p.DayOfMonth
|
|
311
314
|
};
|
|
312
315
|
this.model.xTemporalBinning = e;
|
|
313
316
|
}
|
|
314
317
|
if (this.model.yTemporalBinning === void 0) {
|
|
315
318
|
const e = {
|
|
316
|
-
type:
|
|
319
|
+
type: n.CalendarDateParts,
|
|
317
320
|
unit: p.MonthOfYear
|
|
318
321
|
};
|
|
319
|
-
this.model.yTemporalBinning = e, this.model.setAxisValueFormat(1, { type:
|
|
322
|
+
this.model.yTemporalBinning = e, this.model.setAxisValueFormat(1, { type: n.DateAxisFormat, intlOptions: { month: "short" } });
|
|
320
323
|
}
|
|
321
324
|
this.model.viewType = A.singleCalendarView;
|
|
322
325
|
}
|
|
@@ -326,14 +329,14 @@ class Z extends x {
|
|
|
326
329
|
return o`<arcgis-charts-config-field-select .label=${e} @click=${this.onXAxisFieldSelect} ${m(this.xAxisFieldElement)}></arcgis-charts-config-field-select>`;
|
|
327
330
|
}
|
|
328
331
|
renderAggregation() {
|
|
329
|
-
return o`<arcgis-charts-config-field-select .label=${this.model.aggregationType ===
|
|
332
|
+
return o`<arcgis-charts-config-field-select .label=${this.model.aggregationType === E.NoAggregation ? this._messages.noAggregation : this.aggregationLabel} @click=${this.onAggregationSelect} ${m(this.aggregationElement)}></arcgis-charts-config-field-select>`;
|
|
330
333
|
}
|
|
331
334
|
renderNumericFieldsSelect() {
|
|
332
|
-
const e = this.model.numericFields?.[0] === this.model.layer?.objectIdField ? "" :
|
|
335
|
+
const e = this.model.numericFields?.[0] === this.model.layer?.objectIdField ? "" : F(this.layerFieldsInfo, this.model.numericFields?.[0]);
|
|
333
336
|
return o`<arcgis-charts-config-field-select .label=${e} @click=${this.onNumericFieldSelect} ${m(this.numericFieldsElement)}></arcgis-charts-config-field-select>`;
|
|
334
337
|
}
|
|
335
338
|
renderCalendarTypeSelect() {
|
|
336
|
-
const e =
|
|
339
|
+
const e = B(this.model) ?? "", a = {
|
|
337
340
|
weekByDayOfWeekAndHourOfDay: this._messages.weekByDayOfWeekAndHourOfDay,
|
|
338
341
|
yearByMonthAndDayOfMonth: this._messages.yearByMonthAndDayOfMonth
|
|
339
342
|
}, t = e ? a[e] ?? "" : "";
|
|
@@ -350,25 +353,25 @@ class Z extends x {
|
|
|
350
353
|
}
|
|
351
354
|
renderColorRampSelect() {
|
|
352
355
|
const e = this.model.chartRenderer?.classBreakInfos?.map((a) => {
|
|
353
|
-
const t = a !== void 0 ?
|
|
354
|
-
return o`<div class=${
|
|
356
|
+
const t = a !== void 0 ? Y(a.symbol.color) : "#FFFFFF";
|
|
357
|
+
return o`<div class=${r(c.colorRampSegment)} style=${k({ backgroundColor: t, width: `${100 / this.model.breaksCount}%` })}></div>`;
|
|
355
358
|
});
|
|
356
|
-
return o`<arcgis-charts-config-field-select label @click=${this.onColorSchemeSelect} ${m(this.colorSchemeElement)}><div slot=fieldSelectSlot class=${
|
|
359
|
+
return o`<arcgis-charts-config-field-select label @click=${this.onColorSchemeSelect} ${m(this.colorSchemeElement)}><div slot=fieldSelectSlot class=${r(c.colorRamp)}>${e}</div></arcgis-charts-config-field-select>`;
|
|
357
360
|
}
|
|
358
361
|
renderClassBreaksTable() {
|
|
359
362
|
const e = this.model.chartRenderer?.classBreakInfos ?? [];
|
|
360
363
|
return o`<calcite-table caption="Simple table"><calcite-table-row slot=table-header><calcite-table-header .heading=${this._messages.symbol}></calcite-table-header><calcite-table-header .heading=${this._messages.upperValue}></calcite-table-header></calcite-table-row>${e.map((a) => o`<calcite-table-row><calcite-table-cell><calcite-swatch label scale=m .color=${`rgba(${a.symbol.color?.[0]}, ${a.symbol.color?.[1]}, ${a.symbol.color?.[2]}, ${a.symbol.color?.[3] / 255})`}></calcite-swatch></calcite-table-cell><calcite-table-cell>${a.label}</calcite-table-cell></calcite-table-row>`)}</calcite-table>`;
|
|
361
364
|
}
|
|
362
365
|
renderNullUI() {
|
|
363
|
-
const e = this.model.emptyCell, a = this._messages.null, t = e?.symbol?.color ??
|
|
364
|
-
return o`<calcite-list label class=${
|
|
366
|
+
const e = this.model.emptyCell, a = this._messages.null, t = e?.symbol?.color ?? N.grayColor, [s, i, d, C] = [...t], u = `rgba(${s},${i},${d},${C / 255})`;
|
|
367
|
+
return o`<calcite-list label class=${r(c.list)} selection-mode=none ${m(this.nullElement)}><calcite-list-item .label=${a} .value=${a} @calciteListItemSelect=${this.onNullSelect}><calcite-icon icon=square-f style=${k({ color: u })} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
365
368
|
}
|
|
366
369
|
render() {
|
|
367
|
-
const e = this.renderXAxisFieldSelect(), a = this.renderAggregation(), t = this.renderNumericFieldsSelect(), s = this.renderCalendarTypeSelect(), i = this.renderClassBreakMethodSelect(), d = this.renderColorRampSelect(),
|
|
368
|
-
return o`<calcite-label class=${
|
|
370
|
+
const e = this.renderXAxisFieldSelect(), a = this.renderAggregation(), t = this.renderNumericFieldsSelect(), s = this.renderCalendarTypeSelect(), i = this.renderClassBreakMethodSelect(), d = this.renderColorRampSelect(), C = this.renderClassBreaksTable(), u = this.renderNullUI();
|
|
371
|
+
return o`<calcite-label class=${r(c.label)}>${this._messages.dateRequired}${e}</calcite-label><calcite-label class=${r(c.label)}>${this._messages.calendarType}${s}</calcite-label><calcite-label class=${r(c.label)}>${this._messages.aggregation}${a}</calcite-label><calcite-label class=${r(c.label)}>${this._messages.numericField}${t}</calcite-label><calcite-label class=${r(c.label)}>${this._messages.method}${i}</calcite-label><calcite-label class=${r(c.label)}>${this._messages.numberOfClasses}<calcite-input type=number .min=${g.min} .max=${g.max} .disabled=${this.model.classificationMethod === void 0 || this.model.classificationMethod === f.manual} step=1 .value=${q(this.model.breaksCount, 5)} @calciteInputInput=${this.onBreaksCountChange} ${m(this.breaksCountElement)}></calcite-input></calcite-label><calcite-label class=${r(c.label)}>${this._messages.colorScheme}${d}</calcite-label>${u}<calcite-accordion class=${r(c.accordion)} appearance=transparent selection-mode=single><calcite-accordion-item .heading=${this._messages.classBreaks}>${C}</calcite-accordion-item></calcite-accordion><calcite-label class=${r(c.label)} layout=inline-space-between>${this._messages.includeLeapDay}<calcite-switch .checked=${this.model.includeLeapDay} @calciteSwitchChange=${this.onIncludeLeapDayChange}></calcite-switch></calcite-label>`;
|
|
369
372
|
}
|
|
370
373
|
}
|
|
371
|
-
|
|
374
|
+
x("arcgis-charts-config-heat-chart-data", ae);
|
|
372
375
|
export {
|
|
373
|
-
|
|
376
|
+
ae as ArcgisChartsConfigHeatChartData
|
|
374
377
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { repeat as
|
|
3
|
-
import { css as
|
|
4
|
-
import { keyed as
|
|
1
|
+
import { c as I } from "../../chunks/runtime.js";
|
|
2
|
+
import { repeat as d } from "lit/directives/repeat.js";
|
|
3
|
+
import { css as L, html as o } from "lit";
|
|
4
|
+
import { keyed as u } from "lit/directives/keyed.js";
|
|
5
5
|
import T from "@arcgis/core/Color.js";
|
|
6
|
-
import { LitElement as F, createEvent as
|
|
7
|
-
import { createRef as
|
|
6
|
+
import { LitElement as F, createEvent as h, safeClassMap as l, nothing as g, safeStyleMap as P } from "@arcgis/lumina";
|
|
7
|
+
import { createRef as f, ref as p } from "lit/directives/ref.js";
|
|
8
8
|
import { isEqual as S } from "lodash-es";
|
|
9
|
-
import {
|
|
10
|
-
import { u as
|
|
9
|
+
import { br as A, cY as E, bM as D, bL as _, dj as b, ap as M } from "../../chunks/index.js";
|
|
10
|
+
import { u as v } from "../../chunks/useT9n.js";
|
|
11
11
|
import { e as c, W as B } from "../../chunks/interfaces.js";
|
|
12
|
-
import { a as N, u as
|
|
12
|
+
import { a as N, u as $, v as C } from "../../chunks/series-types.js";
|
|
13
13
|
import "@arcgis/toolkit/intl";
|
|
14
|
+
import "luxon";
|
|
14
15
|
import "d3-array";
|
|
15
16
|
import "@arcgis/core/Graphic.js";
|
|
16
17
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
@@ -30,12 +31,12 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
30
31
|
import "@arcgis/core/core/promiseUtils.js";
|
|
31
32
|
import "@arcgis/toolkit/dom";
|
|
32
33
|
import { e as H } from "../../chunks/popover-ui-utils.js";
|
|
33
|
-
import { h as
|
|
34
|
-
import { C as
|
|
34
|
+
import { h as y, U as x, i as m } from "../../chunks/chart-ui-utils2.js";
|
|
35
|
+
import { C as k, a as R } from "../../chunks/class-breaks.js";
|
|
35
36
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
36
37
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
37
|
-
v5.0.0-next.
|
|
38
|
-
const j =
|
|
38
|
+
v5.0.0-next.128 */
|
|
39
|
+
const j = L`.hide{display:none}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.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}.pick-list-item-label{font-size:small}.panel{max-height:60vh}.color-ramp-popover{display:flex;flex-direction:column;gap:.75rem;min-width:320px;max-width:480px}.color-ramp-toolbar{display:flex;gap:.5rem;align-items:center;padding:5px 5px 0}.ramp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem;max-height:300px;overflow:auto;padding:.25rem}.ramp-item{display:flex;flex-direction:column;border:1px solid var(--calcite-color-foreground-3);background:var(--calcite-color-foreground-1);cursor:pointer;box-shadow:inset 0 0 0 1px transparent;transition:box-shadow .12s;border-radius:2px;min-height:56px;padding:4px}.ramp-item:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}.ramp-name{font-size:.625rem;line-height:1;padding:2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-3)}.ramp-item.selected{background-color:var(--calcite-color-brand)!important;border-color:var(--calcite-color-brand)!important;outline:2px solid var(--calcite-color-brand)!important;color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-name{color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-strip{box-shadow:none;border:none}.ramp-strips{display:flex;flex:1;height:28px;width:100%;overflow:hidden}.ramp-strip{flex:1;min-width:0}.ramp-strip-fallback{background:repeating-linear-gradient(45deg,var(--calcite-color-foreground-3) 0,var(--calcite-color-foreground-3) 5px,var(--calcite-color-foreground-2) 5px,var(--calcite-color-foreground-2) 10px)}.ramp-empty{grid-column:1/-1;font-size:.75rem;color:var(--calcite-color-text-3)}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-ramp-popover-footer{display:flex;padding:.5rem}.color-ramp-popover-footer calcite-button{flex:1}`, s = {
|
|
39
40
|
jsAppFlyout: "js-app-flyout",
|
|
40
41
|
name: "bar-chart-data-popover",
|
|
41
42
|
header: "header",
|
|
@@ -55,7 +56,7 @@ const j = I`.hide{display:none}.am5-html-container{z-index:101!important}.am5-la
|
|
|
55
56
|
};
|
|
56
57
|
class q extends F {
|
|
57
58
|
constructor() {
|
|
58
|
-
super(...arguments), this._messages =
|
|
59
|
+
super(...arguments), this._messages = v(), this.commonStrings = v({ name: "common", blocking: !0 }), this.picklist = f(), this.popoverElement = f(), this.placement = "leading", this.offsetDistance = -200, this.availableColorRamps = [], this.selectedCategory = k.all, this.isFlipped = !1, this.aggregationLabels = [], this.layerFieldsInfo = [], this.arcgisChartsConfigHeatChartColorRampChange = h(), this.arcgisChartsConfigHeatChartDataPopoverChange = h(), this.arcgisChartsConfigPopoverClose = h(), this.arcgisChartsConfigPopoverEmptyCellColorChange = h(), this.arcgisChartsConfigPopoverEmptyCellNameChange = h();
|
|
59
60
|
}
|
|
60
61
|
static {
|
|
61
62
|
this.properties = { availableColorRamps: 16, selectedColorRampName: 16, selectedCategory: 16, isFlipped: 16, aggregationLabels: 16, model: 0, messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1, colorRamps: 0 };
|
|
@@ -67,29 +68,31 @@ class q extends F {
|
|
|
67
68
|
await this.popoverElement.value?.reposition();
|
|
68
69
|
}
|
|
69
70
|
willUpdate() {
|
|
70
|
-
const e =
|
|
71
|
+
const e = y.map((t) => A(t, this.commonStrings));
|
|
71
72
|
S(this.aggregationLabels, e) || (this.aggregationLabels = e), this.colorRamps && this.colorRamps !== this.availableColorRamps && (this.availableColorRamps = this.colorRamps);
|
|
72
73
|
}
|
|
73
74
|
updated() {
|
|
74
75
|
setTimeout(() => {
|
|
75
76
|
this.picklist.value?.setFocus();
|
|
76
|
-
},
|
|
77
|
+
}, x.PopoverTimer), H(this.popoverElement.value, this.open), this.hasUpdated || setTimeout(() => {
|
|
77
78
|
this.popoverElement.value?.reposition();
|
|
78
|
-
},
|
|
79
|
+
}, x.PopoverTimer);
|
|
79
80
|
}
|
|
80
81
|
buildAggregationListItems() {
|
|
81
|
-
return
|
|
82
|
+
return d(y.filter((e) => e !== N.NoAggregation), (e) => e, (e, t) => o`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${m(e, this.selectedContent)}></calcite-list-item>`);
|
|
82
83
|
}
|
|
83
84
|
buildPickListItem(e) {
|
|
84
|
-
return
|
|
85
|
+
return u(e.name, o`<calcite-list-item .label=${E(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${m(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
85
86
|
}
|
|
86
87
|
buildPickListItems(e) {
|
|
87
88
|
const t = this.layerFieldsInfo?.length ?? 0, a = [];
|
|
88
89
|
switch (e) {
|
|
89
90
|
case c.numericFields: {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
const i = u(" ", o`<calcite-list-item label=" " value=" " .selected=${m("", this.selectedContent)}></calcite-list-item>`);
|
|
92
|
+
a.push(i);
|
|
93
|
+
for (let r = 0; r < t; r += 1) {
|
|
94
|
+
const n = this.layerFieldsInfo?.[r];
|
|
95
|
+
n && _(n) && a.push(this.buildPickListItem(n));
|
|
93
96
|
}
|
|
94
97
|
break;
|
|
95
98
|
}
|
|
@@ -116,10 +119,10 @@ class q extends F {
|
|
|
116
119
|
}
|
|
117
120
|
filterColorRamps() {
|
|
118
121
|
let e = [];
|
|
119
|
-
if (this.selectedCategory ===
|
|
122
|
+
if (this.selectedCategory === k.all)
|
|
120
123
|
e = this.availableColorRamps;
|
|
121
124
|
else {
|
|
122
|
-
const t =
|
|
125
|
+
const t = R[this.selectedCategory];
|
|
123
126
|
e = this.availableColorRamps?.filter((a) => t.some((i) => a.tags.includes(i)));
|
|
124
127
|
}
|
|
125
128
|
return e;
|
|
@@ -137,7 +140,7 @@ class q extends F {
|
|
|
137
140
|
typeof a == "string" && a.length && (t = a);
|
|
138
141
|
} else if (Array.isArray(e)) {
|
|
139
142
|
const [a, i, r, n] = e;
|
|
140
|
-
[a, i, r].every((
|
|
143
|
+
[a, i, r].every((w) => typeof w == "number") && (t = `rgba(${a},${i},${r},${n ?? 1})`);
|
|
141
144
|
} else if (typeof e == "object" && e) {
|
|
142
145
|
const { r: a, g: i, b: r, a: n } = e;
|
|
143
146
|
if (a != null && i != null && r != null)
|
|
@@ -198,16 +201,16 @@ class q extends F {
|
|
|
198
201
|
return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
199
202
|
}
|
|
200
203
|
renderCalendarType() {
|
|
201
|
-
const e =
|
|
204
|
+
const e = d(Object.values(B), (t) => t, (t) => {
|
|
202
205
|
const a = this._messages[t];
|
|
203
|
-
return o`<calcite-list-item .label=${a} .value=${t} .selected=${
|
|
206
|
+
return o`<calcite-list-item .label=${a} .value=${t} .selected=${m(t, this.selectedContent)}></calcite-list-item>`;
|
|
204
207
|
});
|
|
205
208
|
return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
206
209
|
}
|
|
207
210
|
renderCalendarViewType() {
|
|
208
|
-
const e =
|
|
211
|
+
const e = d(Object.values($), (t) => t, (t) => {
|
|
209
212
|
const a = this._messages[t];
|
|
210
|
-
return o`<calcite-list-item .label=${a} .value=${t} .disabled=${t !==
|
|
213
|
+
return o`<calcite-list-item .label=${a} .value=${t} .disabled=${t !== $.singleCalendarView} .selected=${m(t, this.selectedContent)}></calcite-list-item>`;
|
|
211
214
|
});
|
|
212
215
|
return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
213
216
|
}
|
|
@@ -228,9 +231,9 @@ class q extends F {
|
|
|
228
231
|
title: this._messages?.classBreaksMethod?.quantile,
|
|
229
232
|
msg: this._messages?.classBreaksMethod?.quantileMsg
|
|
230
233
|
}
|
|
231
|
-
], t =
|
|
234
|
+
], t = d(Object.values(e), ({ value: a }) => a, (a) => {
|
|
232
235
|
const { title: i, msg: r, value: n } = a;
|
|
233
|
-
return o`<calcite-list-item .label=${i} .description=${r} .value=${n} .selected=${
|
|
236
|
+
return o`<calcite-list-item .label=${i} .description=${r} .value=${n} .selected=${m(n, this.selectedContent)}></calcite-list-item>`;
|
|
234
237
|
});
|
|
235
238
|
return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${t}</calcite-list>`;
|
|
236
239
|
}
|
|
@@ -269,20 +272,20 @@ class q extends F {
|
|
|
269
272
|
}
|
|
270
273
|
renderColorRampSelect() {
|
|
271
274
|
const e = this.filterColorRamps(), t = this._messages?.colorRampCategories ? this._messages.colorRampCategories[this.selectedCategory] : this.selectedCategory;
|
|
272
|
-
return o`<div class=${l(s.colorRampPopover)}><div class=${l(s.colorRampToolbar)}><calcite-dropdown selection-mode=single placement=bottom-start @calciteDropdownSelect=${this.onCategoryDropdownSelect}><calcite-button slot=trigger appearance=outline icon-end=chevron-down>${t}</calcite-button><calcite-dropdown-group group-title=${this._messages?.colorRamp?.allCategories ?? "All color ramps" ?? g}>${Object.keys(
|
|
275
|
+
return o`<div class=${l(s.colorRampPopover)}><div class=${l(s.colorRampToolbar)}><calcite-dropdown selection-mode=single placement=bottom-start @calciteDropdownSelect=${this.onCategoryDropdownSelect}><calcite-button slot=trigger appearance=outline icon-end=chevron-down>${t}</calcite-button><calcite-dropdown-group group-title=${this._messages?.colorRamp?.allCategories ?? "All color ramps" ?? g}>${Object.keys(R).map((a) => o`<calcite-dropdown-item data-tag=${a ?? g} .selected=${this.selectedCategory === a}>${this._messages?.colorRampCategories ? this._messages.colorRampCategories[a] : a}</calcite-dropdown-item>`)}</calcite-dropdown-group></calcite-dropdown><calcite-button appearance=outline icon-start=arrow-up-down @click=${this.onFlipAll}>${this._messages?.colorRamp?.flipRampColors}</calcite-button></div><div class=${l(s.rampGrid)}>${e.length === 0 && o`<div class=${l(s.rampEmpty)}>${this._messages?.colorRamp?.noRamps} ${this.selectedCategory !== "all" ? `"${this.selectedCategory}"` : ""}</div>` || ""}${e.map((a) => {
|
|
273
276
|
const i = this.getRampColors(a), r = a.name === this.selectedColorRampName || a.name === this.selectedContent;
|
|
274
|
-
return o`<div class=${`${s.rampItem} ${r ? "selected" : ""}`} title=${a.name ?? g} @click=${() => this.onRampSelect(a)}><div class=${l(s.rampName)} aria-hidden=true>${a.name}</div><div class=${l(s.rampStrips)}>${
|
|
277
|
+
return o`<div class=${`${s.rampItem} ${r ? "selected" : ""}`} title=${a.name ?? g} @click=${() => this.onRampSelect(a)}><div class=${l(s.rampName)} aria-hidden=true>${a.name}</div><div class=${l(s.rampStrips)}>${d(i, (n) => n, (n) => o`<div class=${l(s.rampStrip)} style=${P({ backgroundColor: this.rampColorToCss(n) })}></div>`)}${i.length === 0 && o`<div class=${`${s.rampStrip} ${s.rampStripFallback}`}></div>` || ""}</div></div>`;
|
|
275
278
|
})}</div><div class=${l(s.colorRampPopoverFooter)}><calcite-button appearance=solid kind=brand @click=${this.closePopover}>${this._messages?.colorRamp?.done}</calcite-button><calcite-button appearance=outline kind=neutral @click=${this.closePopover}>${this._messages?.colorRamp?.cancel}</calcite-button></div></div>`;
|
|
276
279
|
}
|
|
277
280
|
renderEmptyCellUI() {
|
|
278
|
-
const e = this.model.emptyCellSymbol?.color ??
|
|
281
|
+
const e = this.model.emptyCellSymbol?.color ?? b.grayColor, t = this.model.emptyCellText ?? b.nullCategory?.text ?? "";
|
|
279
282
|
return o`<div><div class=${l(s.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.nameChange}></calcite-input></calcite-label></div><div class=${l(s.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages?.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></div>`;
|
|
280
283
|
}
|
|
281
284
|
render() {
|
|
282
285
|
return o`<div class=${l(s.jsAppFlyout)}><calcite-popover class=${l(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${l(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${l(s.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${void 0}</calcite-panel></calcite-popover></div>`;
|
|
283
286
|
}
|
|
284
287
|
}
|
|
285
|
-
|
|
288
|
+
I("arcgis-charts-config-heat-chart-popover", q);
|
|
286
289
|
export {
|
|
287
290
|
q as ArcgisChartsConfigHeatChartPopover
|
|
288
291
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEqual as r } from "lodash-es";
|
|
4
|
+
import "luxon";
|
|
4
5
|
import "d3-array";
|
|
5
6
|
import "../../chunks/series-types.js";
|
|
6
|
-
import {
|
|
7
|
+
import { bF as n, bH as h } from "../../chunks/index.js";
|
|
7
8
|
import "@arcgis/core/Graphic.js";
|
|
8
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
9
10
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
11
|
+
import "@esri/arcgis-html-sanitizer";
|
|
10
12
|
import "@arcgis/core/intl.js";
|
|
11
13
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
12
14
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -27,7 +29,7 @@ import { css as g, html as i } from "lit";
|
|
|
27
29
|
import { C as s } from "../../chunks/interfaces.js";
|
|
28
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.128 */
|
|
31
33
|
const f = g`: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%}`;
|
|
32
34
|
class p extends d {
|
|
33
35
|
constructor() {
|