@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
package/dist/cdn/PHDC7IS6.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.126 */
|
|
4
|
-
import{k as s}from"./OMQMS2VP.js";export default $arcgis.t(([])=>{var n=(r,i)=>s(i.series?.[r])?i.series?.[r].hideOversizedSideBySideLabels:void 0,x=(r,i,e)=>{s(e.series?.[i])&&(e.series[i].hideOversizedSideBySideLabels=r)},A=(r,i)=>s(i.series?.[r])?i.series?.[r].hideOversizedStackedLabels:void 0,D=(r,i,e)=>{s(e.series?.[i])&&(e.series[i].hideOversizedStackedLabels=r)};return{a:n,b:x,c:A,d:D}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils")
|
package/dist/cdn/QQUULICL.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.126 */
|
|
4
|
-
import{p as U}from"./OMQMS2VP.js";import a from"./WD2HWPCM.js";import{a as c,b as u,f as N,h as L,y as O}from"./QWA2NXWE.js";export default $arcgis.t(([,,,,,{substitute:D},,,,,,,,,,{Ab:b,Ac:F,Ca:j,Eb:q,Ec:v,Jc:M,Kc:$,Lc:V,Mb:C,Md:I,N:A,P:w,R:B,Xc:P,ea:T,w:S,xb:k}])=>{function xe(a,e,i){let t=a?.axes?.[e];t?.title!==void 0?t.title.content.text=i:t!==void 0&&(t.title=w({text:i,visible:!0,font:A(S.AxisTitle)}))}function de(a){let{config:e,layerInfo:i,commonStrings:t,numericFields:s,aggregationType:o}=a,r="";if(e)if(k(e)===N.Stacked100)r=t.utilsStrings.statistics.percent;else{let n=j(o,t);if(e.series[0]?.type===c.HeatSeries)r=b(i.layerFieldsInfo,e.series[0].y);else if(s.length===1){let g=b(i.layerFieldsInfo,s[0]),m=v(i.layer).idField;o===u.NoAggregation?r=g:o===u.Count&&m!==void 0&&s[0]===m?r=t.utilsStrings.statistics.count:r=D(t.axisLabels.aggregationOfFieldName,{aggregation:n,fieldName:g})}else s.length>1&&(o===u.NoAggregation?r=t.axisLabels.values:r=D(t.axisLabels.aggregationOfValues,{aggregation:n}))}return r}var J=(a,e,i)=>a.axes?.[e]??T(i,a.type)[e],K=a=>{let{config:e,axis:i,axisIndex:t}=a;e.axes!==void 0&&(e.axes[t]=i)},ye=a=>{let{config:e,axisIndex:i,isMax:t}=a,s=Number.NaN;return t?s=e.axes?.[i]?.maximum:s=e.axes?.[i]?.minimum,s??Number.NaN},E=a=>{let{config:e,value:i,axisIndex:t,isMax:s}=a,o=e?.axes?.[t];o!==void 0&&(s?o.maximum=i:o.minimum=i)},pe=a=>a.axes?.[0]?.valueFormat??B(),be=(a,e,i)=>{let t=J(a,0,e);if(t!==void 0&&i!==void 0){let s={...t,valueFormat:i};K({config:a,axis:s,axisIndex:0})}},Fe=(a,e,i)=>{let t=a.axes?.[e];t!==void 0&&(t.integerOnlyValues=i)},W=a=>{let e=O(a.series);return e===c.BarSeries||e===c.ComboLineAndBarSeries||e===c.LineSeries},X=a=>{let{axisIndex:e,config:i,isMultiAxis:t}=a,s=!1;return e===0||e===1&&t?s=!0:e===2&&(s=W(i)),s},ve=a=>{let{axisIndex:e,func:i,config:t}=a;return X({axisIndex:e,config:t,isMultiAxis:!0})?i(e):void 0},H=(a,e)=>{let i,t=e.axes?.[a]?.valueFormat;return(a===0||a>=1&&U(t))&&(i=t),i},Ie=a=>{let{config:e,commonStrings:i,valueFormat:t,axisIndex:s=0}=a,o=J(e,s,i);if(o!==void 0&&t!==void 0){let r={...o,valueFormat:t};K({config:e,axis:r,axisIndex:s})}},he=(a,e)=>a.axes?.[e]?.isLogarithmic??!1,Ne=a=>{let{config:e,isLogarithmic:i,axisIndex:t}=a,s=e.axes?.[t];s&&(s.isLogarithmic=i,E({config:e,value:null,axisIndex:t,isMax:!0}),E({config:e,value:null,axisIndex:t,isMax:!1}))},Le=a=>{let{config:e,scrollbar:i,axisIndex:t}=a;e.axes?.[t]!==void 0&&(e.axes[t].scrollbar=i)};async function Oe(a){let{config:e,layer:i,xAxisField:t,splitByField:s,layerFieldsInfo:o,aggregationFields:r,fetchNullValues:n}=a,g=o.filter(p=>p.name===s)[0]?.type,m=n!==!0?`${s} IS NOT NULL`:"",x=t&&n!==!0?`${t} IS NOT NULL`:"",{where:f}=e?.dataFilters??{},Q={where:F([f,m,x]),orderByFields:q(s)?[]:[`${s} ${L.Ascending}`],geometry:e?.dataFilters?.geometry},h=i,d="";r.length===0?d=v(h).idField:[d]=r;let y=await I({queryObject:h,category:e?.series[0].x??"",splitByField:s,queryConfig:Q});if(e){let p=e?.series.map(l=>P({where:l.query?.where})?.toString()??"").filter(l=>l!==void 0&&l!=="");y=C({arrayA:y,arrayB:p,getKey:l=>l===null?null:l?.toString()})}return{categoriesArray:y,splitByFieldType:g,numericalField:d}}function Se(a,e){let i=e==="";for(let t of a)if(e===t.name){i=!0;break}return i}function Ae(a,e){let i=M(a),t=e.length===0,s=0;for(let o of e){for(let r of i)if(o===r&&(s+=1),s===e.length){t=!0;break}if(t)break}return t}function we(a,e){e.forEach(i=>{Object.getOwnPropertyNames(i.prototype).forEach(t=>{Object.defineProperty(a.prototype,t,Object.getOwnPropertyDescriptor(i.prototype,t)||Object.create(null))})})}async function Be(a){let{layerInfo:e,config:i,category:t}=a,{layer:s}=e,{where:o}=i?.dataFilters??{},{fetchNullValues:r}=i?.series?.[0]?.query??{},n=r!==!0?`${t} IS NOT NULL`:"",g={where:F([o,n]),orderByFields:[],geometry:i?.dataFilters?.geometry},m=$(s);return(await I({queryObject:s,category:t,queryConfig:g})).map(x=>{let f=String(x);return V({fieldName:t,fieldValueToMatch:f,subtypeInfo:m,fieldList:e.layerFieldsInfo})??f})}function Te(a){return a!==void 0&&H(0,a)?.type===c.CategoryAxisFormat&&H(1,a)?.type===c.CategoryAxisFormat}return{a:xe,b:de,c:ye,d:E,e:pe,f:be,g:Fe,h:ve,i:H,j:Ie,k:he,l:Ne,m:Le,n:Oe,o:Se,p:Ae,q:we,r:Be,s:Te}},"core/promiseUtils","request","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent",a)
|
package/dist/cdn/RZGZRQIF.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.126 */
|
|
4
|
-
import o from"./M3HUJD7E.js";import n from"./W6WAGCUD.js";import l from"./P5JWGION.js";import k from"./PTIDPN5X.js";import j from"./VL3YMZBP.js";import i from"./NL6TNMOY.js";import h from"./UQWXXVPP.js";import g from"./7CRANVFJ.js";import f from"./AEVMNV6D.js";import e from"./YKSNOZ55.js";import d from"./UOFAIACY.js";import c from"./RXY7BYXO.js";import b from"./QQUULICL.js";import"./OMQMS2VP.js";import a from"./WD2HWPCM.js";import"./MKNAFOVQ.js";import"./B5NYZJPC.js";import"./ELGNG2Q4.js";import{c as r}from"./ITJ33NKU.js";import{a as m}from"./QWA2NXWE.js";import"./BIMLXGQH.js";import"./7H276RRF.js";export default $arcgis.t(([{Eb:f,Ec:d,xa:h},{q:u},{c:i},{e:p},,{$:G,A:T,B:x,C:F,D:O,E:b,F:v,G:w,H:L,I:B,J:D,K:P,L:R,M:U,N:W,O:k,P:E,Q:M,R:H,S:I,T:N,U:V,V:X,W:Y,X:j,Y:J,Z:q,_:z,aa:K,ba:Q,ca:Z,da:$,ea:tt,fa:et,ga:it,la:c,w:_,x:S,y:C,z:A},{b:st,c:ot,i:rt,j:nt},,,,{b:gt},{b:at},,pt])=>{var ct=Object.defineProperty,lt=Object.getOwnPropertyDescriptor,s=(a,t,o,l)=>{for(var n=lt(t,o),g=a.length-1,y;g>=0;g--)(y=a[g])&&(n=y(t,o,n)||n);return n&&ct(t,o,n),n},e=class extends pt{constructor(){super(...arguments),this._chartType=m.HeatSeries}generateChartTitle(){return K(this.commonStrings)}async setup(t){await this.loadConfigFromLayer(t),this.setupLocalProps(),typeof this.resolveSetup=="function"&&this.resolveSetup()}get yAxisField(){return O(this._config)}set yAxisField(t){F({yField:t,config:this._config,layerInfo:this.layerInfo})}get viewType(){return Q(this._config)}set viewType(t){this.guardSetterFromAsyncOverwrite(()=>{Z(t,this._config),this.emitConfigUpdate("heatChartViewType")})}get xTemporalBinning(){return v(this._config)}set xTemporalBinning(t){b({commonStrings:this.commonStrings,binning:t,config:this._config})}get yTemporalBinning(){return L(this._config)}set yTemporalBinning(t){w({commonStrings:this.commonStrings,binning:t,config:this._config})}get breaksCount(){return $(this._config)}set breaksCount(t){this.guardSetterFromAsyncOverwrite(()=>{tt(t,this._config),this.emitConfigUpdate("breaksCount")})}get classificationMethod(){return et(this._config)}set classificationMethod(t){this.guardSetterFromAsyncOverwrite(()=>{t&&(it(t,this._config),this.emitConfigUpdate("classificationMethod"))})}get hideEmptyRowsAndColumns(){return _(this._config)}set hideEmptyRowsAndColumns(t){S(this._config,t)}get gridLineWidth(){return D(this._config)}set gridLineWidth(t){B(t,this._config)}get gridLineColor(){return R(this._config)}set gridLineColor(t){P(t,this._config)}get seriesName(){return rt(0,this._config)}set seriesName(t){typeof t=="string"&&nt(t,0,this._config)}get heatRulesType(){return A(this._config)}set heatRulesType(t){C(this._config,t)}get gradientRules(){return x(this._config)}set gradientRules(t){T(this._config,t)}get numericFields(){let t=k(this._config);return t!==void 0?[t]:[]}set numericFields(t){let o=t[0];f(o)||E(o,this._config)}get aggregationType(){return M(this._config)}set aggregationType(t){H(t,this._config)}get splitByField(){return""}set splitByField(t){}get legendPosition(){return W(this._config)}set legendPosition(t){U(t,this._config)}get nullPolicy(){return I(this._config)}set nullPolicy(t){N(t,this._config)}get emptyCell(){return V(this._config)}set emptyCell(t){this.guardSetterFromAsyncOverwrite(()=>{X(t,this._config),this.emitConfigUpdate("emptyCell")})}getSortOrder(){return r.Asc}setSortOrder(t,o){}getXAxisSortOrder(){let t=c(this._config)[0];return t===r.Asc||t===r.Desc||t===r.customSort?t:r.Asc}setXAxisSortOrder(t,o){p(t,this._config,o)}getYAxisSortOrder(){let t=c(this._config)[1];return t===r.Asc||t===r.Desc||t===r.customSort?t:r.Asc}setYAxisSortOrder(t,o){p(t,this._config,o,!0)}get emptyCellText(){return Y(this._config)}set emptyCellText(t){j(t,this._config)}get includeLeapDay(){return J(this._config)}set includeLeapDay(t){this.guardSetterFromAsyncOverwrite(()=>{q(t,this._config),this.emitConfigUpdate("includeLeapDay")})}get emptyCellSymbol(){return z(this._config)}set emptyCellSymbol(t){G(t,this._config)}get rotatedState(){return!1}set rotatedState(t){}setAssignToSecondValueAxis(t,o){}set stackedType(t){}set binTemporalData(t){}set nullCategory(t){}generateDefaultConfig(){let t=h(this.commonStrings,d(this.layerInfo.layer).idField);return t.axes?.forEach((o,l)=>{o&&(o.valueFormat={intlOptions:{timeZone:void 0,dateStyle:l>0?"long":"medium"},type:"date"})}),t}};s([i],e.prototype,"yAxisField");s([i],e.prototype,"xTemporalBinning");s([i],e.prototype,"yTemporalBinning");s([i],e.prototype,"hideEmptyRowsAndColumns");s([i],e.prototype,"gridLineWidth");s([i],e.prototype,"gridLineColor");s([i],e.prototype,"seriesName");s([i],e.prototype,"heatRulesType");s([i],e.prototype,"gradientRules");s([i],e.prototype,"numericFields");s([i],e.prototype,"aggregationType");s([i],e.prototype,"splitByField");s([i],e.prototype,"legendPosition");s([i],e.prototype,"nullPolicy");s([i],e.prototype,"setSortOrder");s([i],e.prototype,"setXAxisSortOrder");s([i],e.prototype,"setYAxisSortOrder");s([i],e.prototype,"emptyCellText");s([i],e.prototype,"emptyCellSymbol");s([i],e.prototype,"rotatedState");s([i],e.prototype,"setAssignToSecondValueAxis");s([i],e.prototype,"stackedType");s([i],e.prototype,"binTemporalData");s([i],e.prototype,"nullCategory");var yt=[ot,at,gt,st];u(e,yt);return e},a,b,c,d,e,f,g,h,i,j,k,l,n,o)
|
package/dist/cdn/SOBBK6GJ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.126 */
|
|
4
|
-
import{d as o}from"./ROTLJPTM.js";import{g}from"./OMQMS2VP.js";import a from"./WD2HWPCM.js";import{k as m}from"./MKNAFOVQ.js";import"./B5NYZJPC.js";import"./QWA2NXWE.js";import{F as l,g as n,h as i,z as h}from"./BIMLXGQH.js";import"./7H276RRF.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{Bc:c,Dc:d}])=>{var p=n`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,s=class extends h{static{this.properties={layerFieldsInfo:16,model:0,page:1,layer:0,usePopupTemplateFieldsInfo:5,chartData:0}}static{this.styles=p}async load(){await this.updateFetchLayerFieldsInfo(this.model?.config),this.modelChange(this.model)}willUpdate(t){let a=!1;t.has("model")&&this.modelChange(this.model,t.get("model")),t.has("layer")&&this.layer!==void 0&&!m(t.get("layer"),this.layer)&&(a=!0),t.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==t.get("usePopupTemplateFieldsInfo")&&(a=!0),this.layerFieldsInfo===void 0&&(a=!0),a&&this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(t,a){a?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),t?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}async updateFetchLayerFieldsInfo(t){let a=t??this.model.config,e=this.layer;if(!e){let r=g(a)?a.iLayer:void 0;r&&(e=await c(r))}e&&(this.layerFieldsInfo=await d(e,this.usePopupTemplateFieldsInfo))}async onModelConfigChange(t){let a=t?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(a)}render(){let t;switch(this.page){case o.Data:t=i`<arcgis-charts-config-heat-chart-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo} .chartData=${this.chartData}></arcgis-charts-config-heat-chart-data>`;break;case o.Format:t=i`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case o.General:t=i`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:t="";break}return t}};l("arcgis-charts-config-heat-chart",s);return s},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a)
|
package/dist/cdn/UQWXXVPP.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.126 */
|
|
4
|
-
import d from"./YKSNOZ55.js";import b from"./RXY7BYXO.js";import a from"./WD2HWPCM.js";import{g as c,i as f,j as g,k as h}from"./ELGNG2Q4.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{Ab:p,E:l},{b:n,c:a},{c:d,d:y,e:T,f:u}])=>{var v=Object.defineProperty,O=Object.getOwnPropertyDescriptor,P=(i,t,s,b)=>{for(var r=O(t,s),o=i.length-1,e;o>=0;o--)(e=i[o])&&(r=e(t,s,r)||r);return r&&v(t,s,r),r};function U(i){return i!==void 0&&"xAxisTitleText"in i}var m=class extends n{get xAxisTitleText(){return d(0,this._config)}set xAxisTitleText(t){y(t,0,this._config)}};P([a],m.prototype,"xAxisTitleText");var _=Object.defineProperty,j=Object.getOwnPropertyDescriptor,V=(i,t,s,b)=>{for(var r=j(t,s),o=i.length-1,e;o>=0;o--)(e=i[o])&&(r=e(t,s,r)||r);return r&&_(t,s,r),r};function Y(i){return i!==void 0&&"xAxisTitleVisibility"in i}var x=class extends n{get xAxisTitleVisibility(){return T(0,this._config)}set xAxisTitleVisibility(t){u(t,0,this._config)}};V([a],x.prototype,"xAxisTitleVisibility");function $(i){return i!==void 0&&"generateXAxisTitle"in i}var A=class extends n{generateXAxisTitle(){let t=this.layerInfo?.layerFieldsInfo;return t===void 0?"":g(this)||c(this)?p(t,this.xAxisField):f(this)?this.category!==l?p(t,this.category):"":h(this)?p(t,this.numericField):""}};return{a:U,b:m,c:Y,d:x,e:$,f:A}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b,d)
|
package/dist/cdn/UU5ZVLCU.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.126 */
|
|
4
|
-
import{v as g,y as p}from"./MKNAFOVQ.js";function m(s){let r=s.toRgba();return r[3]=Math.round(r[3]*255),r}function M(s,r,n){let l=Math.max(0,Math.min(1,n));return[Math.round(s[0]+(r[0]-s[0])*l),Math.round(s[1]+(r[1]-s[1])*l),Math.round(s[2]+(r[2]-s[2])*l),Math.round(s[3]+(r[3]-s[3])*l)]}function b(s,r){let n=[],l=[],t=!1;if(s.colorsForClassBreaks&&s.colorsForClassBreaks.length>0){let e=s.colorsForClassBreaks.find(o=>o.numClasses===r);if(e?.colors?.length===r){let o=e.colors.map(a=>m(a));l=s.colors[0]!==e.colors[0]?o.reverse():o,t=!0}}if(!t){let e=s.colors||[];if(e.length>0){for(let o=0;o<r;o++){let a=r>1?o/(r-1):0,c=Math.floor(a*(e.length-1)),u=Math.min(c+1,e.length-1),i=a*(e.length-1)-c,h=m(e[c]),d=m(e[u]),f=M(h,d,i);n.push(f)}l=n}}return l}function k(s){let{numberOfClassBreaks:r,selectedColorRamp:n,colorRamp:l}=s,t=[],e=[237,248,251,255],o=[136,65,157,255];if(l&&l.length>0)e=l[0],o=l[l.length-1],l.length===r&&(t=l);else if(n){let a=b(n,r);a.length>0&&(t=a)}if(t.length===0){let a=[];if(r>1)for(let c=0;c<r;c++){let u=c/(r-1),i=M(e,o,u);a.push(i)}else a.push(e);t=a}return t}function S(s,r){return`\u2264 ${(n=>{let l="";return n%1===0?l=n.toString():l=Math.round(n).toString(),l})(r)}`}function y(s){let{classBreaksRendererResult:r,numberOfClassBreaks:n,selectedColorRamp:l,colorRamp:t}=s,e=[];if(r?.classBreaksResult.classBreakInfos){let o=k({numberOfClassBreaks:n,selectedColorRamp:l,colorRamp:t});r.classBreaksResult.classBreakInfos.forEach((a,c)=>{let{maxValue:u,minValue:i}=a,h=Math.ceil(u),d=Math.floor(i),f=S(d,h);e.push({classMinValue:d,classMaxValue:h,label:f,symbol:{type:p.SFS,style:g.Solid,color:o[c]||[0,0,0,255],outline:{style:g.Solid,width:.5,color:[50,50,50,.6]}}})})}return e}function C(s){let r="#000000";if(s&&Array.isArray(s)&&s.length>=3){let n=Math.max(0,Math.min(255,Math.round(s[0]||0))),l=Math.max(0,Math.min(255,Math.round(s[1]||0))),t=Math.max(0,Math.min(255,Math.round(s[2]||0))),e=n.toString(16).padStart(2,"0"),o=l.toString(16).padStart(2,"0"),a=t.toString(16).padStart(2,"0");r=`#${e}${o}${a}`}return r}var x={all:["*"],light:["light"],dark:["dark"],redsAndYellows:["oranges","reds","yellows"],greens:["greens"],blues:["blues"],purplesAndPinks:["purples","pinks"],browns:["browns"],grays:["grays"],bright:["bright"],subdued:["subdued"],colorblindFriendly:["colorblind-friendly"]},F={all:"all"};export{k as a,y as b,C as c,x as d,F as e};
|
package/dist/cdn/VLY2GYOK.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.126 */
|
|
4
|
-
import{a as ue,b as fe,c as Ce}from"./UU5ZVLCU.js";import{a as ge}from"./DMUPFMGF.js";import g from"./OGDDMNLP.js";import{l as c,m as K}from"./ROTLJPTM.js";import{a as j}from"./MF5ZAJP4.js";import f from"./UOFAIACY.js";import e from"./QQUULICL.js";import"./OMQMS2VP.js";import a from"./WD2HWPCM.js";import{C as ie,f as ee,g as T,k as ae,p as te,s as D,t as S,v as $,y as v}from"./MKNAFOVQ.js";import"./B5NYZJPC.js";import"./ITJ33NKU.js";import{a as d,b as se,l as F,m as w,w as le,x}from"./QWA2NXWE.js";import{A as p,B as H,D as Q,F as Z,g as G,h as m,m as Y,x as C,y as b,z as J}from"./BIMLXGQH.js";import"./7H276RRF.js";export default $arcgis.t(([,,,,,,,,,,,,$e,{createClassBreaksRenderer:Se},{getSchemes:Re},{Ab:q,Bc:he,Ca:re,F:_,Jb:ce,La:oe,ab:ne},{s:me},{h:pe},{g:de,s:W}])=>{function ke(s){let a;switch(s.length){case 4:{let e=s.match(/^#?([\da-f]{1})([\da-f]{1})([\da-f]{1})$/iu);e&&(a=[Number.parseInt(`${e[1]}${e[1]}`,16),Number.parseInt(`${e[2]}${e[2]}`,16),Number.parseInt(`${e[3]}${e[3]}`,16),255]);break}case 5:{let e=s.match(/^#?([\da-f]{1})([\da-f]{1})([\da-f]{1})([\da-f]{1})$/iu);e&&(a=[Number.parseInt(`${e[1]}${e[1]}`,16),Number.parseInt(`${e[2]}${e[2]}`,16),Number.parseInt(`${e[3]}${e[3]}`,16),Number.parseInt(`${e[4]}${e[4]}`,16)]);break}case 7:{let e=s.match(/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu);e&&(a=[Number.parseInt(e[1],16),Number.parseInt(e[2],16),Number.parseInt(e[3],16),255]);break}case 9:{let e=s.match(/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu);e&&(a=[Number.parseInt(e[1],16),Number.parseInt(e[2],16),Number.parseInt(e[3],16),Number.parseInt(e[4],16)]);break}}return a}function z(s){let a;if(typeof s=="string"&&s.startsWith("#")){let e=ke(s);e&&(a=e)}else Array.isArray(s)&&s.every(e=>typeof e=="number")&&(s.length===4?a=s:s.length===3&&(a=[...s,255]));return a}function ye(s){return s===$.BackwardDiagonal||s===$.Cross||s===$.DiagonalCross||s===$.ForwardDiagonal||s===$.Horizontal||s===$.Null||s===$.Solid||s===$.Vertical}function O(s){return s===S.Dash||s===S.DashDot||s===S.DashDotDot||s===S.Dot||s===S.Null||s===S.Solid}function ve(s){let{categoryField:a,numericFields:e,configFields:t,inlineData:l}=s,o={};return t&&Object.keys(t).length>0&&"dataItems"in l&&(o={type:"uniqueValue",field1:a,uniqueValueInfos:[]},l.dataItems.forEach(r=>{let h=r[a];if(h!=null){let i={value:h};e.forEach(n=>{let g=z(r[`${t.fillColor}_${n}`]),y=r[`${t.fillOpacity}_${n}`],R=r[`${t.fillStyle}_${n}`],k=r[`${t.markerSize}_${n}`],B=z(r[`${t.outlineColor}_${n}`]),P=r[`${t.outlineOpacity}_${n}`],I=r[`${t.outlineWidth}_${n}`],N=r[`${t.outlineStyle}_${n}`],A=z(r[`${t.lineColor}_${n}`]),V=r[`${t.lineOpacity}_${n}`],M=r[`${t.lineWidth}_${n}`],L=r[`${t.lineStyle}_${n}`],X=r[`${t.displayLabel}_${n}`];if(typeof X=="string"&&(i={...i,label:X}),k!=null){let u={type:v.SMS};k&&typeof k=="number"&&(u.size=k),i.symbol=u}if(g||ye(R)){let u=i.symbol&&i.symbol.type===v.SMS?i.symbol:{type:v.SFS};if(g&&(y&&typeof y=="number"&&(g[3]=y),u.color=g),ye(R)&&(u.style=R),i.symbol=u,B||I!=null||O(N)){let E={type:v.SLS};B&&(P&&typeof P=="number"&&(B[3]=P),E.color=B),O(N)&&(E.style=N),I&&typeof I=="number"&&(E.width=I),i.symbol.outline=E}}else if(A||M!=null||O(L)){let u={type:v.SLS};A&&(V&&typeof V=="number"&&(A[3]=V),u.color=A),O(L)&&(u.style=L),M!=null&&typeof M=="number"&&(u.width=M),i.symbol=u}}),(i.label||i.symbol)&&o.uniqueValueInfos.push(i)}})),o}function Fe(s){let{numericFields:a,configFields:e,inlineData:t}=s,l=t;return"dataItems"in t&&Object.entries(e).forEach(([o,r])=>{a.forEach(h=>{let i=`${r}_${h}`;t.dataItems.forEach(n=>{i in n&&delete n[i]})})}),l}function De(s){let{categoryField:a,categoryType:e,numericFields:t,inlineData:l}=s,o;if("dataItems"in l){let{dataItems:r}=l,h=[],i="OBJECTID",n=r.map((y,R)=>{let k={...y};return"FID"in y?i="FID":"ObjectId"in y&&(i="ObjectId"),k[i]||(k[i]=R),{attributes:k}});h.push({type:"esriFieldTypeOID",name:i});let g;switch(e){case"dateOnly":g=D.DateOnly;break;case"timeStampOffset":g=D.TimestampOffset;break;case"date":g=D.Date;break;case"number":g=D.Double;break;case"string":default:g=D.String;break}h.push({type:g,name:a}),t.forEach(y=>{h.push({type:D.Double,name:y})}),o={id:"",layerType:"ArcGISFeatureLayer",featureCollection:{layers:[{layerDefinition:{fields:h},featureSet:{features:n}}]}}}return o}async function be(s){let{categoryField:a,categoryType:e,numericFields:t,configFields:l,inlineData:o}=s,r,h,i=T(o);l&&(r=ve({categoryField:a,numericFields:t,configFields:l,inlineData:i}),i=Fe({numericFields:t,configFields:l,inlineData:i}));let n=De({categoryField:a,categoryType:e,numericFields:t,inlineData:i});return n&&(h=await he(n)),{chartRenderer:r,iLayer:n,layer:h}}var xe=G`.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)}`,f={label:"label",colorRamp:"color-ramp",colorRampSegment:"color-ramp-segment",list:"list"},U=class extends J{constructor(){super(...arguments),this._messages=j(),this.commonStrings=j({name:"common",blocking:!0}),this.heatChartPopover=null,this.xAxisFieldElement=C(),this.aggregationElement=C(),this.numericFieldsElement=C(),this.calendarTypeElement=C(),this.calendarViewTypeElement=C(),this.classBreakMethodElement=C(),this.nullElement=C(),this.breaksCountElement=C(),this.colorSchemeElement=C(),this.onHeatChartDataPopoverChange=async a=>{try{if(a.detail?.value!==void 0){let{contentKind:e}=a.detail,t=a.detail.value;switch(e){case c.aggregation:this.model.aggregationType=t;break;case c.xAxisField:this.model.xAxisField=t,this.setDefaultPropertiesForCalendarHeatChart(),this.model.classificationMethod=x.naturalBreaks,this.model.heatRulesType=w.Renderer;break;case c.numericFields:this.model.numericFields=[t];break;case c.calendarType:{switch(t){case K.YearByMonthAndDayOfMonth:{let l={type:d.CalendarDateParts,unit:F.DayOfMonth},o={type:d.CalendarDateParts,unit:F.MonthOfYear};this.model.xTemporalBinning=l,this.model.setAxisValueFormat(0,{type:d.DateAxisFormat,intlOptions:{day:"2-digit"}}),this.model.yTemporalBinning=o,this.model.setAxisValueFormat(1,{type:d.DateAxisFormat,intlOptions:{month:"short"}});break}case K.WeekByDayOfWeekAndHourOfDay:{let l={type:d.CalendarDateParts,unit:F.HourOfDay},o={type:d.CalendarDateParts,unit:F.DayOfWeek};this.model.xTemporalBinning=l,this.model.setAxisValueFormat(0,{type:d.DateAxisFormat,intlOptions:{hour:"numeric",hour12:!0}}),this.model.yTemporalBinning=o,this.model.setAxisValueFormat(1,{type:d.DateAxisFormat,intlOptions:{weekday:"long"}});break}default:break}break}case c.calendarViewType:{this.model.viewType=t;break}case c.classBreakMethod:{this.model.classificationMethod=t,this.model.heatRulesType=w.Renderer,this.updateChartRenderer=!0;break}default:break}}}catch(e){throw this.arcgisChartsConfigDataChangeError.emit({error:e,model:this.model}),e}this.removeHeatChartDataPopover(),this.requestUpdate()},this.popoverClose=a=>{this.heatChartPopover===a?.target&&this.removeHeatChartDataPopover()},this.onModelConfigChange=()=>{this.requestUpdate()},this.allColorRamps=[],this.onColorRampSelection=a=>{let{ramp:e}=a.detail;this.selectedColorRamp=e,this.updateChartRenderer=!0,this.updateClassBreaksColor=!0,this.generateAndUpdateClassBreaks(),this.removeHeatChartDataPopover()},this.updateClassBreaksColor=!1,this.onEmptyCellNameChange=a=>{let{name:e}=a.detail;if(e!==void 0){let t={...this.model.emptyCell,name:e};this.model.emptyCell=t}},this.onEmptyCellColorChange=a=>{let{color:e}=a.detail;if(e!==void 0){let t=this.model.emptyCell,l={...t,symbol:{...t?.symbol,type:v.SFS,color:e,outline:t?.symbol?.outline&&{...t.symbol.outline,color:e}}};this.model.emptyCell=l}},this.availableColorRamps=[],this.updateChartRenderer=!1,this.layerFieldsInfo=[],this.arcgisChartsConfigDataChangeError=Y()}static{this.properties={availableColorRamps:16,aggregationLabel:16,selectedColorRamp:16,updateChartRenderer:16,messageOverrides:0,model:0,layerFieldsInfo:0,open:5,chartData:0}}static{this.styles=xe}connectedCallback(){super.connectedCallback(),this.loadColorRampFromArcGIS()}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(a){a.has("model")&&this.modelChange(this.model,a.get("model")),this.aggregationLabel=re(this.model.aggregationType,this.commonStrings),a.has("chartData")&&(this.updateChartRenderer=this.model.chartRenderer===void 0||ne(this.model.chartRenderer)===ie.ClassBreaks)}updated(a){a.has("updateChartRenderer")&&this.updateChartRenderer&&this.generateAndUpdateClassBreaks()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}loadColorRampFromArcGIS(){let a=$e.all();this.allColorRamps=a,this.availableColorRamps=this.allColorRamps,this.availableColorRamps.length>0&&!this.selectedColorRamp&&this.model.chartRenderer?.classBreakInfos===void 0&&(this.selectedColorRamp=this.availableColorRamps[0])}generateColorsForExistingBreaks(a){let e=this.model.breaksCount;return ue({numberOfClassBreaks:e,selectedColorRamp:a,colorRamp:this.model.chartRenderer?.classBreakInfos?.map(t=>t.symbol?.color)})}normalizeClassBreakInfosForCompare(a,e){return(a??[]).map(({classMinValue:t,classMaxValue:l,label:o,symbol:r})=>({classMinValue:t,classMaxValue:l,label:o,symbol:e?void 0:r}))}async generateAndUpdateClassBreaks(){let a=[];if(this.model.classificationMethod===x.manual&&this.model.chartRenderer?.classBreakInfos.length>0&&this.selectedColorRamp){a=T(this.model.chartRenderer?.classBreakInfos)??[];let l=this.generateColorsForExistingBreaks(this.selectedColorRamp);for(let o=0;o<a.length&&o<l.length;o++)a[o].symbol&&(a[o].symbol.color=l[o])}else if(this.model.classificationMethod!==x.manual&&this.chartData){let l=await be({categoryField:this.model?.xAxisField?.[0]??"",categoryType:d.DateAxisFormat,numericFields:[_.valueField],inlineData:this.chartData});if(l.layer&&this.model.layer){let o=Re({geometryType:"point",theme:"high-to-low"})?.primaryScheme,r=await Se({layer:l.layer,field:_.valueField,classificationMethod:this.model.classificationMethod,numClasses:this.model.breaksCount,colorScheme:o});a=fe({classBreaksRendererResult:r,numberOfClassBreaks:this.model.breaksCount,selectedColorRamp:this.selectedColorRamp,colorRamp:this.updateClassBreaksColor?void 0:this.model.chartRenderer?.classBreakInfos?.map(h=>h.symbol?.color)})}}let e=!this.updateClassBreaksColor,t=!ae(this.normalizeClassBreakInfosForCompare(this.model.chartRenderer?.classBreakInfos,e),this.normalizeClassBreakInfosForCompare(a,e));this.updateChartRenderer&&t&&(this.model.chartRenderer={type:"classBreaks",field:_.valueField,classBreakInfos:a}),this.updateChartRenderer=!1,this.updateClassBreaksColor=!1}modelChange(a,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),a?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}getCorrectedXAxisFieldValue(){return pe({fieldName:this.model.xAxisField,fieldList:this.layerFieldsInfo})?"":q(this.layerFieldsInfo,this.model.xAxisField)}onXAxisFieldSelect(a){this.contentKind=c.xAxisField,this.setupPopover(a)}onNumericFieldSelect(a){this.contentKind=c.numericFields,this.setupPopover(a)}onCalendarTypeSelect(a){this.contentKind=c.calendarType,this.setupPopover(a)}onClassBreakMethodSelect(a){this.contentKind=c.classBreakMethod,this.setupPopover(a)}onColorSchemeSelect(a){this.contentKind=c.colorScheme,this.setupPopover(a)}onBreaksCountChange(a){let e=te(a.target.value);ce(e)&&e>0&&(this.model.breaksCount=e,this.updateChartRenderer=!0,this.model.heatRulesType=w.Renderer)}onAggregationSelect(a){this.contentKind=c.aggregation,this.setupPopover(a)}onNullSelect(a){this.contentKind=c.null,this.setupPopover(a)}onIncludeLeapDayChange(a){let e=a.target.checked;this.model.includeLeapDay=e}setupPopover(a){a.stopImmediatePropagation(),this.removeHeatChartDataPopover();let e,t,l;switch(this.contentKind){case c.aggregation:e=this.aggregationElement.value,t=this._messages.aggregation,l=this.model.aggregationType;break;case c.xAxisField:e=this.xAxisFieldElement.value,t=this._messages.xAxisField,l=this.model.xAxisField;break;case c.numericFields:e=this.numericFieldsElement.value,t=this._messages.numericFieldOptional,l=this.model.numericFields?.[0];break;case c.calendarType:e=this.calendarTypeElement.value,t=this._messages.calendarType,l=W(this.model);break;case c.calendarViewType:e=this.calendarViewTypeElement.value,t=this._messages.viewType,l=this.model.viewType;break;case c.classBreakMethod:e=this.classBreakMethodElement.value,t=this._messages.method,l=this.model.classificationMethod;break;case c.colorScheme:e=this.colorSchemeElement.value,t=this._messages.colorScheme,l=this.selectedColorRamp?.name;break;case c.null:e=a.target,t=this._messages.null;break}this.heatChartPopover=Q(m`<arcgis-charts-config-heat-chart-popover .headingTitle=${t} .referenceElement=${e} open .contentKind=${this.contentKind} .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${l} @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)}removeHeatChartDataPopover(){this.heatChartPopover!==null&&(this.heatChartPopover.open=!1,this.heatChartPopover=ge(this.heatChartPopover))}setDefaultPropertiesForCalendarHeatChart(){if(!me(this.model?.config)){if(this.model.yAxisField=this.model.xAxisField,this.model.xTemporalBinning===void 0){let a={type:d.CalendarDateParts,unit:F.DayOfMonth};this.model.xTemporalBinning=a}if(this.model.yTemporalBinning===void 0){let a={type:d.CalendarDateParts,unit:F.MonthOfYear};this.model.yTemporalBinning=a,this.model.setAxisValueFormat(1,{type:d.DateAxisFormat,intlOptions:{month:"short"}})}this.model.viewType=le.singleCalendarView}}renderXAxisFieldSelect(){let a=this.getCorrectedXAxisFieldValue();return m`<arcgis-charts-config-field-select .label=${a} @click=${this.onXAxisFieldSelect} ${b(this.xAxisFieldElement)}></arcgis-charts-config-field-select>`}renderAggregation(){return m`<arcgis-charts-config-field-select .label=${this.model.aggregationType===se.NoAggregation?this._messages.noAggregation:this.aggregationLabel} @click=${this.onAggregationSelect} ${b(this.aggregationElement)}></arcgis-charts-config-field-select>`}renderNumericFieldsSelect(){let a=this.model.numericFields?.[0]===this.model.layer?.objectIdField?"":q(this.layerFieldsInfo,this.model.numericFields?.[0]);return m`<arcgis-charts-config-field-select .label=${a} @click=${this.onNumericFieldSelect} ${b(this.numericFieldsElement)}></arcgis-charts-config-field-select>`}renderCalendarTypeSelect(){let a=W(this.model)??"",e={weekByDayOfWeekAndHourOfDay:this._messages.weekByDayOfWeekAndHourOfDay,yearByMonthAndDayOfMonth:this._messages.yearByMonthAndDayOfMonth},t=a?e[a]??"":"";return m`<arcgis-charts-config-field-select .label=${t} @click=${this.onCalendarTypeSelect} ${b(this.calendarTypeElement)}></arcgis-charts-config-field-select>`}renderClassBreakMethodSelect(){let a={equalInterval:this._messages.classBreaksMethod?.equalInterval,manual:this._messages.classBreaksMethod?.manual,naturalBreaks:this._messages.classBreaksMethod?.naturalBreaks,quantile:this._messages.classBreaksMethod?.quantile},e=this.model.classificationMethod?a[ee(this.model.classificationMethod)]??"":"";return m`<arcgis-charts-config-field-select .label=${e} @click=${this.onClassBreakMethodSelect} ${b(this.classBreakMethodElement)}></arcgis-charts-config-field-select>`}renderColorRampSelect(){let a=this.model.chartRenderer?.classBreakInfos?.map(e=>{let t=e!==void 0?Ce(e.symbol.color):"#FFFFFF";return m`<div class=${p(f.colorRampSegment)} style=${H({backgroundColor:t,width:`${100/this.model.breaksCount}%`})}></div>`});return m`<arcgis-charts-config-field-select label @click=${this.onColorSchemeSelect} ${b(this.colorSchemeElement)}><div slot=fieldSelectSlot class=${p(f.colorRamp)}>${a}</div></arcgis-charts-config-field-select>`}renderClassBreaksTable(){let a=this.model.chartRenderer?.classBreakInfos??[];return m`<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>${a.map(e=>m`<calcite-table-row><calcite-table-cell><calcite-swatch label scale=m .color=${`rgba(${e.symbol.color?.[0]}, ${e.symbol.color?.[1]}, ${e.symbol.color?.[2]}, ${e.symbol.color?.[3]/255})`}></calcite-swatch></calcite-table-cell><calcite-table-cell>${e.label}</calcite-table-cell></calcite-table-row>`)}</calcite-table>`}renderNullUI(){let a=this.model.emptyCell,e=this._messages.null,t=a?.symbol?.color??oe.grayColor,[l,o,r,h]=[...t],i=`rgba(${l},${o},${r},${h/255})`;return m`<calcite-list label class=${p(f.list)} selection-mode=none ${b(this.nullElement)}><calcite-list-item .label=${e} .value=${e} @calciteListItemSelect=${this.onNullSelect}><calcite-icon icon=square-f style=${H({color:i})} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`}render(){let a=this.renderXAxisFieldSelect(),e=this.renderAggregation(),t=this.renderNumericFieldsSelect(),l=this.renderCalendarTypeSelect(),o=this.renderClassBreakMethodSelect(),r=this.renderColorRampSelect(),h=this.renderClassBreaksTable(),i=this.renderNullUI();return m`<calcite-label class=${p(f.label)}>${this._messages.dateRequired}${a}</calcite-label><calcite-label class=${p(f.label)}>${this._messages.calendarType}${l}</calcite-label><calcite-label class=${p(f.label)}>${this._messages.aggregation}${e}</calcite-label><calcite-label class=${p(f.label)}>${this._messages.numericFieldOptional}${t}</calcite-label><calcite-label class=${p(f.label)}>${this._messages.method}${o}</calcite-label><calcite-label class=${p(f.label)}>${this._messages.numberOfClasses}<calcite-input type=number min=1 .disabled=${this.model.classificationMethod===void 0||this.model.classificationMethod===x.manual} step=1 .value=${de(this.model.breaksCount,5)} @calciteInputInput=${this.onBreaksCountChange} ${b(this.breaksCountElement)}></calcite-input></calcite-label><calcite-label class=${p(f.label)}>${this._messages.colorScheme}${r}</calcite-label>${i}<calcite-accordion appearance=transparent selection-mode=single><calcite-accordion-item .heading=${this._messages.classBreaks}>${h}</calcite-accordion-item></calcite-accordion><calcite-label class=${p(f.label)} layout=inline-space-between>${this._messages.includeLeapDay}<calcite-switch .checked=${this.model.includeLeapDay} @calciteSwitchChange=${this.onIncludeLeapDayChange}></calcite-switch></calcite-label>`}};Z("arcgis-charts-config-heat-chart-data",U);return U},"intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","smartMapping/symbology/support/colorRamps","smartMapping/renderers/color","smartMapping/symbology/color",a,e,f,g)
|
package/dist/cdn/WCFDKS47.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.126 */
|
|
4
|
-
import g from"./AEVMNV6D.js";import e from"./YKSNOZ55.js";import c from"./UOFAIACY.js";import b from"./QQUULICL.js";import{h as O,o as ae}from"./OMQMS2VP.js";import a from"./WD2HWPCM.js";import{d as $,g as E,j as Y,k as ee,s as oe}from"./MKNAFOVQ.js";import{b as d}from"./ITJ33NKU.js";import{a as f,h,v as u}from"./QWA2NXWE.js";export default $arcgis.t(([,,,,,,,{substitute:P},,,,,,,,{Ab:B,C:J,Dd:le,E:I,Ic:ne,Ja:Q,Kc:R,Lc:U,Ld:L,Q:j,R:ie,S:re,Uc:A,Yc:te,Z:T,_:W,ga:se,ka:K},{a:C,d:X,e:Z,f:ce,n:me,r:ye},{i:D},{c:N},{a:de}])=>{var go=(o,e)=>e?.series?.[o]?.name,uo=(o,e,i)=>{let r=i;r?.series?.[e]!==void 0&&(r.series[e].name=o)},So=(o,e)=>{let i,r=e.series?.[o];return r?.type===f.BoxPlotSeries?i=r.fillSymbol?.color:r?.type===f.LineSeries&&(i=r.lineSymbol?.color),i},ve=o=>{let e=o.series[0];return o.showMean===!0&&O(e)?e.fillSymbol?.color:void 0},Be=(o,e)=>{let i=e.series[0];e.showMean===!0&&O(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=o:i.fillSymbol={...T(),color:o})},po=(o,e,i)=>{let r=i?.series?.[e];r?.type===f.BoxPlotSeries&&r.fillSymbol!==void 0?r.fillSymbol.color=o:r?.type===f.LineSeries&&r.lineSymbol!==void 0&&(r.lineSymbol.color=o,r.markerSymbol!==void 0&&(r.markerSymbol.color=o))},Me=o=>o.series.map(e=>e.id),Ae=(o,e)=>{e?.series?.sort((i,r)=>o.findIndex(s=>i.id===s)-o.findIndex(s=>r.id===s))},bo=(o,e,i)=>{let r=Me(i),[s]=r.splice(o,1);r.splice(e,0,s),Ae(r,i)},xo=o=>_(o)?o.series.findIndex(e=>e.type===f.BoxPlotSeries):-1;function Le(o,e,i){let r=xe(o,e,i),s=de(o),n=L(o);return r===s||n}function fe(o,e,i){let r=k(o,e,i),s=N(1,o),n=L(o);return r===s||n}function Oe(o){let{config:e,layerInfo:i,newCategory:r}=o,{layerFieldsInfo:s}=i,n=M(e),l=r!==I?B(s,n):"",t=N(0,e),a=L(e);return l===t||a||t.trim()===""}var M=o=>A(o)?.x??I,Ce=$(o=>{let e=A(o),i=e?.query?.where?.split("=")[0].trim()??"";return te(e?.query?.where)?"":i},o=>A(o)?.query?.where),ge=$(o=>le(o?.series).filter(e=>e!==""),o=>o?.series),V=o=>{let{category:e,seriesIndex:i,y:r,commonStrings:s}=o,n={...K(s,i),x:e===void 0||e===""?I:e,y:r,query:{}};return E(n)},ke=o=>{let{category:e,seriesIndex:i,y:r,commonStrings:s}=o,n={...se({commonStrings:s,seriesIndex:i}),x:e===void 0||e===""?I:e,y:r,query:{}};return E(n)};function ue(o){let{x:e,y:i,seriesTemplate:r,commonStrings:s}=o,{id:n,fillSymbol:l}=r??{},t=K(s),a=n??`series_${Date.now()}`;return t.id=a,t.name=a,t.x=e,t.y=i,l?t.fillSymbol=l:t.fillSymbol&&(t.fillSymbol.color=Q,t.fillSymbol?.outline&&(t.fillSymbol.outline.color=Q)),t}function Se(o){let{numericFields:e,config:i,layerInfo:r,category:s,commonStrings:n}=o,{layerFieldsInfo:l}=r,t=[],a=s??M(i),m=!1,c=D({fieldName:a,numericFields:e,fieldList:l});if(e.length===0){let S=V({y:"",seriesIndex:0,category:a,commonStrings:n});t.push(S)}else if(c){let S=e.length>1?e:e[0],w=V({y:S,seriesIndex:0,category:a,commonStrings:n}),b=e.length>1?n.axisLabels.values:B(r.layerFieldsInfo,e[0]),p={...w,id:e[0],name:b,x:c?I:a},g=i.series.find(y=>ee(S,y.y)&&y.query?.where===void 0);g!==void 0&&(!i.colorMatch&&"fillSymbol"in g&&(p.fillSymbol=g.fillSymbol,m=!0),p.id=g.id,p.name=g.name),t.push(p)}else for(let S=0;S<e.length;S+=1){let w=e[S],b=V({y:w,seriesIndex:S,category:a,commonStrings:n}),p=B(l,w),g={...b,id:w,name:p,x:a},y=i.series.find(v=>w===v.y);y!==void 0&&(!i.colorMatch&&"fillSymbol"in y&&(g.fillSymbol=y.fillSymbol,m=!0),g.id=y.id,g.name=y.name),t.push(g)}return i.series.length===1&&t.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(t[0].fillSymbol=i.series[0].fillSymbol,m=!0),i.colorMatch=!m,t}var pe=o=>o?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",qe=o=>o.series.some(e=>e.type===f.LineSeries)&&o.series.some(e=>e.type===f.BoxPlotSeries);function Te(o,e,i){let r=[];return o.forEach(s=>{if(s.type===f.BoxPlotSeries){let{type:n,fillSymbol:l,...t}=s;r.push({...t,type:f.LineSeries,lineSymbol:{...j({width:J}),...l!==void 0?{color:l.color}:{}},markerSymbol:{...W(),...l!==void 0?{color:l.color}:{}}})}}),r.unshift(ue({x:o[0].x,y:o[0].y,seriesTemplate:i,commonStrings:e})),r}function De(o){let e=o.slice(1),i=[];return e.forEach(r=>{if(r.type===f.LineSeries){let{type:s,lineSymbol:n,markerSymbol:l,...t}=r,a=T();i.push({...t,type:f.BoxPlotSeries,fillSymbol:{...a,color:n?.color}})}}),i}function be(o){let{formerSeries:e,newSeries:i,showMean:r}=o,s=i,n=a=>a.type===(r?f.LineSeries:f.BoxPlotSeries),l=e.filter(n).map(a=>a.id),t=i.filter(n).map(a=>a.id);return l.length===t.length&&JSON.stringify(l)!==JSON.stringify(t)&&(s=s.sort((a,m)=>l.findIndex(c=>c===a.id)-l.findIndex(c=>c===m.id))),s}async function Ne(o){let{config:e,layerInfo:i,commonStrings:r,splitByField:s,numericFields:n,category:l}=o,{layer:t,layerFieldsInfo:a}=i,{fetchNullValues:m}=A(e)?.query??{},c=l??M(e),{categoriesArray:S,splitByFieldType:w}=await me({config:e,layer:t,layerFieldsInfo:a,xAxisField:G(c)?void 0:c,aggregationFields:n,splitByField:s,fetchNullValues:m}),b=[],p=!1,g=qe(e);if(S.length===0){b=Se({numericFields:n,category:c,config:e,layerInfo:i,commonStrings:r});for(let y of b)y.query&&(y.query.where=`${s}=''`)}else for(let y=0;y<S.length;y+=1){let v=S[y],q={y:n,seriesIndex:y,category:c,commonStrings:r},H=g?ke(q):V(q),we={fieldName:s,fieldValueToMatch:v??"",subtypeInfo:R(i.layer),fieldList:i.layerFieldsInfo},Fe=U(we),z=`${v}`,F={...H,id:z,name:Fe??z,x:c===void 0||c===""?I:c,query:{...H.query,where:`${s}=${w===oe.String&&v!==null?`'${v}'`:v}`}},x=e.series.find(Ie=>pe(Ie)===z);x!==void 0&&(e.colorMatch||(F.type===f.BoxPlotSeries?O(x)?F.fillSymbol=x.fillSymbol:F.fillSymbol={...T(),color:x.lineSymbol?.color}:O(x)?(F.lineSymbol={...j({width:J}),...x.fillSymbol!==void 0?{color:x.fillSymbol.color}:{}},F.markerSymbol={...W(),...x.fillSymbol!==void 0?{color:x.fillSymbol.color}:{}}):(F.lineSymbol=x.lineSymbol,F.markerSymbol=x.markerSymbol),p=!0),F.id=x.id,F.name=x.name),b.push(F)}if(b=be({formerSeries:e.series,newSeries:b,showMean:_(e)}),e.colorMatch=!p,_(e)){let y=e.series.find(q=>q.type===f.BoxPlotSeries),v=ue({x:c,y:n,seriesTemplate:y,commonStrings:r});b.unshift(v)}return b}var ho=async o=>{let{splitByField:e,numericFields:i,category:r,config:s,layerInfo:n,commonStrings:l}=o,{layerFieldsInfo:t}=n,a=$e(r,i,e),m=ne(t),c=M(s),S=Le(s,n,l),w=fe(s,n,l),b=Oe({config:s,layerInfo:n,newCategory:r}),p=Z(s);if(!m.includes(c)&&m.includes(r)?p=re():m.includes(c)&&!m.includes(r)&&(p=ie()),p!==void 0&&ce(s,l,p),Ve(a?{newShowMeanLines:s.showMean,config:s,commonStrings:l}:{newShowMeanLines:!1,config:s,commonStrings:l}),s.series=a?await Ne({config:s,layerInfo:n,splitByField:e,numericFields:i,category:r,commonStrings:l}):Se({numericFields:i,config:s,layerInfo:n,category:r,commonStrings:l}),b){let g=D({fieldName:r,numericFields:i,fieldList:t})?"":B(t,r);C(s,0,g)}if(w){let g=k(s,n,l);C(s,1,g)}s?.title!==void 0&&S&&(s.title.content.text=xe(s,n,l)),X({config:s,value:null,axisIndex:1,isMax:!1}),X({config:s,value:null,axisIndex:1,isMax:!0})},Pe=o=>o?.standardizeValues??!1;function k(o,e,i){let{layerFieldsInfo:r}=e,s=Pe(o)?i.axisLabels.standardizedValues:i.axisLabels.values,n=o?.series?.map(l=>l.y).flat();return n=[...new Set(n)],n.length===1&&(s=B(r,n[0])),s}function xe(o,e,i){let{layerFieldsInfo:r}=e,s=M(o),n=ge(o),l=Ce(o),t=n.map(c=>B(r??[],c)).join(", "),a=B(r??[],s),m="";return n.length>0&&(s!==I&&l!==""?m=P(i.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:t,category:a,splitByField:l}):s!==I?m=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:t,category:a}):l!==""?m=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:t,category:l}):m=P(i.titleLabels.distributionOfField,{valueField:t})),m}var wo=o=>{let{series:e,splitByField:i,layerInfo:r,commonStrings:s}=o,n=typeof e.y=="string"?B(r.layerFieldsInfo,e.y):s.axisLabels.values;Y(i)||(n=pe(e));let l={fieldName:i,fieldValueToMatch:n??"",subtypeInfo:R(r.layer),fieldList:r.layerFieldsInfo};return n=U(l)??n,n??e.id},Fo=o=>o?.showOutliers??!1,Io=o=>{let{newShowOutliers:e,config:i,layerInfo:r,commonStrings:s}=o;if(i.showOutliers=e,fe(i,r,s)){let n=k(i,r,s);C(i,1,n)}},vo=o=>{let{newStandardizeValues:e,config:i,layerInfo:r,commonStrings:s}=o,n=N(1,i),l=k(i,r,s),t=L(i);if(i.standardizeValues=e,n===l||t){let a=k(i,r,s);C(i,1,a)}},he=o=>{let e=d.xAxisAsc,i=o.orderOptions?.data?.orderType??u.Category,r=o.orderOptions?.data&&"orderBy"in o.orderOptions.data?o.orderOptions.data.orderBy:h.Ascending;switch(i){case u.Category:e=Array.isArray(r)?d.customSort:r===h.Ascending?d.xAxisAsc:d.xAxisDesc;break;case u.Mean:e=r===h.Ascending?d.meanAsc:d.meanDesc;break;case u.Median:e=r===h.Ascending?d.medianAsc:d.medianDesc;break}return e},Bo=(o,e,i)=>{let r=u.Category,s=h.Ascending;if(e.orderOptions=e.orderOptions??{},o===d.customSort&&i!==void 0)e.orderOptions.data={orderType:u.Category,orderBy:i};else{switch(o){case d.xAxisAsc:{r=u.Category,s=h.Ascending;break}case d.xAxisDesc:{r=u.Category,s=h.Descending;break}case d.meanAsc:{r=u.Mean,s=h.Ascending;break}case d.meanDesc:{r=u.Mean,s=h.Descending;break}case d.medianAsc:{r=u.Median,s=h.Ascending;break}case d.medianDesc:{r=u.Median,s=h.Descending;break}}e.orderOptions.data={orderType:r,orderBy:s}}},_=o=>o.showMean??!1,Ve=o=>{let{newShowMeanLines:e=!1,config:i,commonStrings:r,previousMeanLinesBoxColor:s}=o,n=e?s:ve(i),l=(e??!1)!==(i.showMean??!1);if(i.showMean=e,l){let t;e?t=ae(i.series)?Te(i.series,r):i.series:t=De(i.series),t&&(t=be({formerSeries:i.series,newSeries:t,showMean:e}),i.series=t)}return e&&s!==void 0&&Be(s,i),{previousMeanLinesBoxColor:n}},Mo=o=>{let e=[],i=o.orderOptions?.data?.orderType;return he(o)===d.customSort&&i===u.Category&&(e=o.orderOptions?.data?.orderBy),e},Ao=(o,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;he(e)===d.customSort&&i===u.Category&&(e.orderOptions.data={orderType:u.Category,orderBy:o})},Lo=async(o,e)=>{let i=M(o),r=Z(o)?.type,s=ge(o),n=[];return r===f.CategoryAxisFormat&&(D({fieldName:i,numericFields:s,fieldList:e.layerFieldsInfo})?n=s:G(i)||(n=await ye({layerInfo:e,config:o,category:i}))),n},G=o=>o.trim()===""||o===I,ze=(o,e)=>e.length>1&&!G(o),$e=(o,e,i)=>!ze(o,e)&&i!=="";return{a:go,b:uo,c:So,d:ve,e:Be,f:po,g:Me,h:Ae,i:bo,j:xo,k:M,l:Ce,m:ge,n:ho,o:Pe,p:k,q:xe,r:wo,s:Fo,t:Io,u:vo,v:he,w:Bo,x:_,y:Ve,z:Mo,A:Ao,B:Lo,C:ze,D:$e}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","AttributeBinsGraphic",a,b,c,e,g)
|