@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/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.128 */
|
|
6
6
|
const o = t(e, {
|
|
7
7
|
"arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "actionMode,allowUsingObjectIdStat,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,cursorRange,dataLabelFormatter:,disableAutoTheming,disableInteractions,disableTogglingLegendItems,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,ignoreSmoothRenderingLimit,ignoreViewExtent,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showUIMessages,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,timeZone,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection"],
|
|
8
8
|
"arcgis-charts-action-bar": [() => import("./components/arcgis-charts-action-bar/customElement.js"), "actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle"],
|
|
@@ -38,7 +38,6 @@ const o = t(e, {
|
|
|
38
38
|
"arcgis-charts-config-histogram": [() => import("./components/arcgis-charts-config-histogram/customElement.js"), "calculatedMinMaxBounds:,chartData:,layer:,model:,page,seriesColor:,usePopupTemplateFieldsInfo"],
|
|
39
39
|
"arcgis-charts-config-histogram-data": [() => import("./components/arcgis-charts-config-histogram-data/customElement.js"), "countValue,layerFieldsInfo:,maxValue,meanValue,medianValue,messageOverrides:,minValue,model:,nullsValue,open,selectedOverlaySymbolType,standardDevValue,sumValue"],
|
|
40
40
|
"arcgis-charts-config-histogram-popover": [() => import("./components/arcgis-charts-config-histogram-popover/customElement.js"), "contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedBinColor:,selectedNumericField,selectedOverlaySymbol:,selectedOverlaySymbolType,selectedTransformationType;reposition"],
|
|
41
|
-
"arcgis-charts-config-info-modal": [() => import("./components/arcgis-charts-config-info-modal/customElement.js"), "heading,message,showErrorModalInfo"],
|
|
42
41
|
"arcgis-charts-config-invalid-input-message": [() => import("./components/arcgis-charts-config-invalid-input-message/customElement.js"), "invalidInputMessage,isInvalid"],
|
|
43
42
|
"arcgis-charts-config-line-chart": [() => import("./components/arcgis-charts-config-line-chart/customElement.js"), "calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,seriesColor:,timeZone,usePopupTemplateFieldsInfo"],
|
|
44
43
|
"arcgis-charts-config-line-chart-data": [() => import("./components/arcgis-charts-config-line-chart-data/customElement.js"), "layerFieldsInfo:,messageOverrides:,model:,resetTimeInterval:"],
|
|
@@ -56,7 +55,8 @@ const o = t(e, {
|
|
|
56
55
|
"arcgis-charts-config-scatter-plot-data": [() => import("./components/arcgis-charts-config-scatter-plot-data/customElement.js"), "isTableLayer,layerFieldsInfo:,messageOverrides:,model:,r2"],
|
|
57
56
|
"arcgis-charts-config-scatter-plot-popover": [() => import("./components/arcgis-charts-config-scatter-plot-popover/customElement.js"), "contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedContent;reposition"],
|
|
58
57
|
"arcgis-charts-config-select-chart-type-popover": [() => import("./components/arcgis-charts-config-select-chart-type-popover/customElement.js"), "headerTitle,layerId,messageOverrides:,open,popoverPlacement,referenceElement:,selectedModelType;reposition"],
|
|
59
|
-
"arcgis-charts-config-view-charts": [() => import("./components/arcgis-charts-config-view-charts/customElement.js"), "disableEditing,layer:,messageOverrides:,modelList:,noGroup,selectedChartId"]
|
|
58
|
+
"arcgis-charts-config-view-charts": [() => import("./components/arcgis-charts-config-view-charts/customElement.js"), "disableEditing,layer:,messageOverrides:,modelList:,noGroup,selectedChartId"],
|
|
59
|
+
"arcgis-charts-info-modal": [() => import("./components/arcgis-charts-info-modal/customElement.js"), "heading,message,showErrorModalInfo"]
|
|
60
60
|
});
|
|
61
61
|
export {
|
|
62
62
|
o as defineCustomElements
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ModelParams } from '../interfaces/chart-interfaces';
|
|
2
2
|
import { LayerInfo, ModelTypes, SerialChartDataSortingKinds, HeatChartDataSortingKinds } from '../interfaces/common';
|
|
3
|
-
import { ModelWithLegend, ModelWithTooltips } from '../mixins';
|
|
4
|
-
import { WithDataLabelsVisibility } from '../properties/data-labels/data-labels-visibility';
|
|
5
|
-
import { WithDataLabelsSymbol } from '../properties/data-labels/data-labels-symbol';
|
|
6
3
|
import { SerialChartModel } from '../serial-chart-model/serial-chart-model';
|
|
7
|
-
import { MixinInstances } from '../shared/utils';
|
|
8
4
|
import { WebChartCalendarDatePartsBinning, WebChartHeatChartEmptyCell, WebChartHeatChartGradient, WebChartNullCategory, WebHeatChart } from '../../spec/web-chart';
|
|
9
|
-
import { WebChartClassBreakTypes, WebChartHeatChartHeatRulesTypes, WebChartHeatChartViewTypes, WebChartLegendPositions, WebChartNullPolicyTypes, WebChartStackedKinds
|
|
5
|
+
import { WebChartStatisticType, WebChartClassBreakTypes, WebChartHeatChartHeatRulesTypes, WebChartHeatChartViewTypes, WebChartLegendPositions, WebChartNullPolicyTypes, WebChartStackedKinds } from '../../spec/chart-object-literals';
|
|
10
6
|
import { ISimpleFillSymbol } from '../../spec/rest-js-types';
|
|
11
7
|
import { ChartConfig } from '../../utils/types/index';
|
|
12
8
|
export declare class HeatChartModel extends SerialChartModel {
|
|
@@ -14,6 +10,10 @@ export declare class HeatChartModel extends SerialChartModel {
|
|
|
14
10
|
* Generate the proper chart title given the current config.
|
|
15
11
|
*/
|
|
16
12
|
generateChartTitle(): string;
|
|
13
|
+
/**
|
|
14
|
+
* Generate the proper y-axis title given the current config.
|
|
15
|
+
*/
|
|
16
|
+
generateYAxisTitle(): string;
|
|
17
17
|
/**
|
|
18
18
|
* Current configuration used for the Heat chart.
|
|
19
19
|
*/
|
|
@@ -80,7 +80,23 @@ export declare class HeatChartModel extends SerialChartModel {
|
|
|
80
80
|
get heatRulesType(): WebChartHeatChartHeatRulesTypes | undefined;
|
|
81
81
|
set heatRulesType(heatRulesTypes: WebChartHeatChartHeatRulesTypes | undefined);
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* Set the gradient rules for the heat chart, which define how data values map to colors.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* In this example, we set the gradient rules for the heat chart to use a color gradient from light blue to red, with specific colors for values outside the defined range.
|
|
87
|
+
*
|
|
88
|
+
* ```js
|
|
89
|
+
* heatChartModel.gradientRules = {
|
|
90
|
+
* colorList: [
|
|
91
|
+
* [200, 225, 255, 255],
|
|
92
|
+
* [220, 0, 0, 255],
|
|
93
|
+
* ],
|
|
94
|
+
* minValue: 100,
|
|
95
|
+
* maxValue: 250,
|
|
96
|
+
* outsideRangeLowerColor: [0, 255, 255, 255],
|
|
97
|
+
* outsideRangeUpperColor: [0, 30, 30, 255],
|
|
98
|
+
* };
|
|
99
|
+
* ```
|
|
84
100
|
*/
|
|
85
101
|
get gradientRules(): WebChartHeatChartGradient | undefined;
|
|
86
102
|
set gradientRules(gradientRule: WebChartHeatChartGradient | undefined);
|
|
@@ -186,7 +202,3 @@ export declare class HeatChartModel extends SerialChartModel {
|
|
|
186
202
|
*/
|
|
187
203
|
protected generateDefaultConfig(): Omit<typeof this._config, "iLayer">;
|
|
188
204
|
}
|
|
189
|
-
declare const heatChartMixins: readonly [typeof ModelWithTooltips, typeof WithDataLabelsVisibility, typeof WithDataLabelsSymbol, typeof ModelWithLegend];
|
|
190
|
-
export interface HeatChartModel extends MixinInstances<typeof heatChartMixins> {
|
|
191
|
-
}
|
|
192
|
-
export {};
|
|
@@ -201,12 +201,6 @@ export declare const getEmptyCellSymbol: (config: HeatChartConfig) => ISimpleFil
|
|
|
201
201
|
* @param config - The heat chart config
|
|
202
202
|
*/
|
|
203
203
|
export declare const setEmptyCellSymbol: (symbol: ISimpleFillSymbol | undefined, config: HeatChartConfig) => void;
|
|
204
|
-
/**
|
|
205
|
-
* Gets the proper chart title given the current config.
|
|
206
|
-
* @param {CommonStrings} commonStrings The common strings
|
|
207
|
-
* @returns {string}
|
|
208
|
-
*/
|
|
209
|
-
export declare function getChartTitle(commonStrings: CommonStrings): string;
|
|
210
204
|
/**
|
|
211
205
|
* Gets the calendar view type for the heat chart
|
|
212
206
|
* @param {HeatChartConfig} config the heat chart config
|
package/dist/model.js
CHANGED
|
@@ -4,7 +4,7 @@ import { v as r, w as s, x as n } from "./chunks/type-guards.js";
|
|
|
4
4
|
import { a as P, f as B, i as x, c as v, k as G, j as H, h as K, b as W, u as D, o as F, r as O, m as E, l as R, t as Y, n as $, p as j, q, s as A, e as X, g as z, d as I } from "./chunks/type-guards.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.128 */
|
|
8
8
|
async function c(t) {
|
|
9
9
|
const o = "config" in t ? r(t.config) : t.chartType;
|
|
10
10
|
let a;
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="../index.d.ts" />
|
|
2
2
|
import type { ArcgisChart } from "../components/arcgis-chart/customElement.js";
|
|
3
3
|
import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-bar/customElement.js";
|
|
4
|
-
import type {
|
|
4
|
+
import type { ArcgisChartsInfoModal } from "../components/arcgis-charts-info-modal/customElement.js";
|
|
5
5
|
import type { h, EventHandler } from "@arcgis/lumina";
|
|
6
6
|
|
|
7
7
|
interface LuminaArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableAutoTheming' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisChartElement> {
|
|
@@ -29,7 +29,7 @@ interface LuminaArcgisChartsActionBar extends Partial<Pick<ArcgisChartsActionBar
|
|
|
29
29
|
onarcgisDefaultActionSelect?: EventHandler<HTMLArcgisChartsActionBarElement["arcgisDefaultActionSelect"]>;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
interface
|
|
32
|
+
interface LuminaArcgisChartsInfoModal extends Partial<Pick<ArcgisChartsInfoModal, 'heading' | 'message' | 'showErrorModalInfo'>>, h.JSX.HTMLAttributes<HTMLArcgisChartsInfoModalElement> {
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
declare module "@arcgis/lumina" {
|
|
@@ -37,7 +37,7 @@ declare module "@arcgis/lumina" {
|
|
|
37
37
|
interface IntrinsicElements {
|
|
38
38
|
"arcgis-chart": LuminaArcgisChart;
|
|
39
39
|
"arcgis-charts-action-bar": LuminaArcgisChartsActionBar;
|
|
40
|
-
"arcgis-charts-
|
|
40
|
+
"arcgis-charts-info-modal": LuminaArcgisChartsInfoModal;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="../index.d.ts" />
|
|
2
2
|
import type { ArcgisChart } from "../components/arcgis-chart/customElement.js";
|
|
3
3
|
import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-bar/customElement.js";
|
|
4
|
-
import type {
|
|
4
|
+
import type { ArcgisChartsInfoModal } from "../components/arcgis-charts-info-modal/customElement.js";
|
|
5
5
|
import { HTMLAttributes } from "preact";
|
|
6
6
|
import type { EventHandler } from "@arcgis/lumina";
|
|
7
7
|
|
|
@@ -30,7 +30,7 @@ interface PreactArcgisChartsActionBar extends Partial<Pick<ArcgisChartsActionBar
|
|
|
30
30
|
onarcgisDefaultActionSelect?: EventHandler<HTMLArcgisChartsActionBarElement["arcgisDefaultActionSelect"]>;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
interface
|
|
33
|
+
interface PreactArcgisChartsInfoModal extends Partial<Pick<ArcgisChartsInfoModal, 'heading' | 'message' | 'showErrorModalInfo'>>, HTMLAttributes<HTMLArcgisChartsInfoModalElement> {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
declare module 'preact' {
|
|
@@ -38,14 +38,14 @@ declare module 'preact' {
|
|
|
38
38
|
interface IntrinsicElements {
|
|
39
39
|
"arcgis-chart": PreactArcgisChart;
|
|
40
40
|
"arcgis-charts-action-bar": PreactArcgisChartsActionBar;
|
|
41
|
-
"arcgis-charts-
|
|
41
|
+
"arcgis-charts-info-modal": PreactArcgisChartsInfoModal;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
namespace h.JSX {
|
|
45
45
|
interface IntrinsicElements {
|
|
46
46
|
"arcgis-chart": PreactArcgisChart;
|
|
47
47
|
"arcgis-charts-action-bar": PreactArcgisChartsActionBar;
|
|
48
|
-
"arcgis-charts-
|
|
48
|
+
"arcgis-charts-info-modal": PreactArcgisChartsInfoModal;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
package/dist/types/react.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="../index.d.ts" />
|
|
2
2
|
import type { ArcgisChart } from "../components/arcgis-chart/customElement.js";
|
|
3
3
|
import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-bar/customElement.js";
|
|
4
|
-
import type {
|
|
4
|
+
import type { ArcgisChartsInfoModal } from "../components/arcgis-charts-info-modal/customElement.js";
|
|
5
5
|
import type { HTMLProps } from 'react';
|
|
6
6
|
import type { EventHandler } from "@arcgis/lumina";
|
|
7
7
|
|
|
@@ -30,7 +30,7 @@ interface ReactArcgisChartsActionBar extends Partial<Pick<ArcgisChartsActionBar,
|
|
|
30
30
|
onarcgisDefaultActionSelect?: EventHandler<HTMLArcgisChartsActionBarElement["arcgisDefaultActionSelect"]>;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
interface
|
|
33
|
+
interface ReactArcgisChartsInfoModal extends Partial<Pick<ArcgisChartsInfoModal, 'heading' | 'message' | 'showErrorModalInfo'>>, HTMLProps<HTMLArcgisChartsInfoModalElement> {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
declare module "react" {
|
|
@@ -38,7 +38,7 @@ declare module "react" {
|
|
|
38
38
|
interface IntrinsicElements {
|
|
39
39
|
"arcgis-chart": ReactArcgisChart;
|
|
40
40
|
"arcgis-charts-action-bar": ReactArcgisChartsActionBar;
|
|
41
|
-
"arcgis-charts-
|
|
41
|
+
"arcgis-charts-info-modal": ReactArcgisChartsInfoModal;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -47,7 +47,7 @@ declare module "react/jsx-runtime" {
|
|
|
47
47
|
interface IntrinsicElements {
|
|
48
48
|
"arcgis-chart": ReactArcgisChart;
|
|
49
49
|
"arcgis-charts-action-bar": ReactArcgisChartsActionBar;
|
|
50
|
-
"arcgis-charts-
|
|
50
|
+
"arcgis-charts-info-modal": ReactArcgisChartsInfoModal;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -56,7 +56,7 @@ declare module "react/jsx-dev-runtime" {
|
|
|
56
56
|
interface IntrinsicElements {
|
|
57
57
|
"arcgis-chart": ReactArcgisChart;
|
|
58
58
|
"arcgis-charts-action-bar": ReactArcgisChartsActionBar;
|
|
59
|
-
"arcgis-charts-
|
|
59
|
+
"arcgis-charts-info-modal": ReactArcgisChartsInfoModal;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
}
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="../index.d.ts" />
|
|
2
2
|
import type { ArcgisChart } from "../components/arcgis-chart/customElement.js";
|
|
3
3
|
import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-bar/customElement.js";
|
|
4
|
-
import type {
|
|
4
|
+
import type { ArcgisChartsInfoModal } from "../components/arcgis-charts-info-modal/customElement.js";
|
|
5
5
|
import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
6
6
|
import type { EventHandler } from "@arcgis/lumina";
|
|
7
7
|
|
|
@@ -30,13 +30,13 @@ interface StencilArcgisChartsActionBar extends Partial<Pick<ArcgisChartsActionBa
|
|
|
30
30
|
onArcgisDefaultActionSelect?: EventHandler<HTMLArcgisChartsActionBarElement["arcgisDefaultActionSelect"]>;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
interface
|
|
33
|
+
interface StencilArcgisChartsInfoModal extends Partial<Pick<ArcgisChartsInfoModal, 'heading' | 'message' | 'showErrorModalInfo'>>, StencilJsx.HTMLAttributes<HTMLArcgisChartsInfoModalElement> {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
interface ExposedElements {
|
|
37
37
|
"arcgis-chart": StencilArcgisChart;
|
|
38
38
|
"arcgis-charts-action-bar": StencilArcgisChartsActionBar;
|
|
39
|
-
"arcgis-charts-
|
|
39
|
+
"arcgis-charts-info-modal": StencilArcgisChartsInfoModal;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
export namespace JSX {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RESTSymbolType, RESTSimpleFillSymbolStyle, Color } from '../../../../spec';
|
|
1
|
+
import { RESTSymbolType, RESTSimpleFillSymbolStyle, Color, RESTSimpleLineSymbolStyle } from '../../../../spec';
|
|
2
2
|
export interface ClassBreakInfo {
|
|
3
3
|
label: string;
|
|
4
4
|
classMinValue: number;
|
|
@@ -8,7 +8,7 @@ export interface ClassBreakInfo {
|
|
|
8
8
|
style: RESTSimpleFillSymbolStyle;
|
|
9
9
|
color: Color;
|
|
10
10
|
outline: {
|
|
11
|
-
style:
|
|
11
|
+
style: RESTSimpleLineSymbolStyle;
|
|
12
12
|
color: Color;
|
|
13
13
|
width: number;
|
|
14
14
|
};
|
|
@@ -27,6 +27,10 @@ export declare const defaultHeatChartFields: {
|
|
|
27
27
|
xField: string;
|
|
28
28
|
yField: string;
|
|
29
29
|
};
|
|
30
|
+
export declare const defaultHeatChartNumberOfBreaks: {
|
|
31
|
+
min: number;
|
|
32
|
+
max: number;
|
|
33
|
+
};
|
|
30
34
|
export declare const ramp: Color[];
|
|
31
35
|
export declare const darkModeRamp: Color[];
|
|
32
36
|
export declare const darkModeOverlayRamp: Color[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.128",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -28,8 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@amcharts/amcharts4": "^4.10.31",
|
|
30
30
|
"@amcharts/amcharts5": "~5.15.1",
|
|
31
|
-
"@arcgis
|
|
32
|
-
"@arcgis/toolkit": "5.0.0-next.126",
|
|
31
|
+
"@esri/arcgis-html-sanitizer": "~4.1.0",
|
|
33
32
|
"ajv": "6.12.6",
|
|
34
33
|
"d3-array": "^3.2.1",
|
|
35
34
|
"d3-shape": "^3.2.0",
|
|
@@ -38,9 +37,12 @@
|
|
|
38
37
|
"jszip": "^3.10.1",
|
|
39
38
|
"lit": "^3.3.0",
|
|
40
39
|
"lodash-es": "^4.17.21",
|
|
40
|
+
"luxon": "~3.7.2",
|
|
41
41
|
"simple-statistics": "^7.8.8",
|
|
42
42
|
"tslib": "^2.8.1",
|
|
43
|
-
"uuid": "^11.1.0"
|
|
43
|
+
"uuid": "^11.1.0",
|
|
44
|
+
"@arcgis/lumina": "5.0.0-next.128",
|
|
45
|
+
"@arcgis/toolkit": "5.0.0-next.128"
|
|
44
46
|
},
|
|
45
47
|
"peerDependencies": {
|
|
46
48
|
"@arcgis/core": ">=5.0.0-next.62 <5.1",
|
package/dist/cdn/2AIIJ3EU.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{b as e,c as r,d as o}from"./SAQUHIN6.js";import b from"./W6WAGCUD.js";import a from"./WD2HWPCM.js";import{d,p as y}from"./ELGNG2Q4.js";import{a as l,y as S}from"./QWA2NXWE.js";export default $arcgis.t(([,,,,,,,{Cb:p,Lb:x,Ld:C,Zc:B,sb:g,u:m},{a:h}])=>{var v=[e.EditChart,e.Legend,e.RotateChart,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsCSV,e.ExportAsImage],D=[e.EditChart,e.Legend,e.RotateChart,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],w=[e.EditChart,e.Legend,e.RotateChart,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],L=[e.EditChart,e.Legend,e.FilterBySelection,e.FilterByExtent,e.Selection,e.ClearSelection,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],T=[e.EditChart,e.Legend,e.FilterBySelection,e.Selection,e.ClearSelection,e.SwitchSelection],V=[e.EditChart,e.Legend,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],Z=[e.EditChart,e.Legend,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],M=[e.EditChart,e.Legend,e.RotateChart,e.FilterBySelection,e.FilterByExtent,e.Zoom,e.Selection,e.ClearSelection,e.FullExtent,e.SwitchSelection,e.ExportAsImage,e.ExportAsCSV],P=[e.EditChart,e.FilterByExtent,e.ExportAsImage,e.ExportAsCSV];function X(a){switch(a){case l.BarSeries:return v;case l.LineSeries:return D;case l.ComboLineAndBarSeries:return w;case l.PieSeries:return L;case l.HistogramSeries:return V;case l.ScatterSeries:return Z;case l.BoxPlotSeries:return M;case l.GaugeSeries:return P;case l.HeatSeries:return T;default:return[]}}var Y=(a,i,t)=>{let n=a.target.assignedNodes().find(c=>"legendToggle"in c),s=S(t?.series);return n&&(n.chartType=s,R({actionBar:n,chartComponent:i,config:t})),n};function R(a){let{actionBar:i,chartComponent:t,config:n,isWarningDisplayed:s}=a,c=x(t.selectionData),f=n?.legend?n.legend.visible??!0:!1;if(i.chartType=S(n?.series),t.enableConfiguration){let F=i.hiddenActions??[];i.hiddenActions=F.filter(I=>I!==e.EditChart)}i.editChartState=t.enableConfiguration?o.Enabled:o.Disabled;let E=n&&p(n.series);i.legendState=E?o.Enabled:o.Disabled;let b=d(t?.model)&&y(t?.model)?t.model.legendVisibility:f;i.legendToggle=E&&b?r.Active:r.Inactive;let A=d(t?.model)&&h(t.model)?t.model.rotatedState:n?.rotated;i.rotateChartToggle=A?r.Active:r.Inactive;let u=B(n?.series??[])===g.PieFromFields;i.filterBySelectionState=!u&&(t.filterBySelection===!0||!c&&t.filterByExtent!==!0)?o.Enabled:o.Disabled,i.filterBySelectionToggle=t.filterBySelection===!0?r.Active:r.Inactive,i.filterByExtentState=t.filterByExtent===!0||t.filterBySelection!==!0?o.Enabled:o.Disabled,i.filterByExtentToggle=t.filterByExtent===!0?r.Active:r.Inactive,i.zoomState=t.filterBySelection?o.Disabled:o.Enabled,i.zoomToggle=t.actionMode===m.Zoom?r.Active:r.Inactive,i.selectionState=t.filterBySelection?o.Disabled:o.Enabled,i.selectionToggle=(t.actionMode??i.actionBarSelectionMode)===i.actionBarSelectionMode?r.Active:r.Inactive,i.clearSelectionState=c?o.Disabled:o.Enabled,i.fullExtentState=t.filterBySelection?o.Disabled:o.Enabled,i.switchSelectionState=t.filterBySelection?o.Disabled:o.Enabled,i.exportActionState=s||C(n)?o.Disabled:o.Enabled}return{a:X,b:Y,c:R}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b)
|
package/dist/cdn/7CRANVFJ.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 e from"./AEVMNV6D.js";import d from"./YKSNOZ55.js";import c from"./RXY7BYXO.js";import b from"./QQUULICL.js";import{c as Se,d as Te,i as l,j as g,k as L}from"./OMQMS2VP.js";import a from"./WD2HWPCM.js";import{g as ie,y as P}from"./MKNAFOVQ.js";import{j as T}from"./ITJ33NKU.js";import{a as G,e as fe,f as te,p as se}from"./QWA2NXWE.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{$:F,Hb:ve,L:M,N:y,O:ue,P:b,Q:pe,T:xe,V:he,Vc:me,W:S,Zc:_e,_:w,ea:ye,ia:be,w:f},{a:Ve,b:Ie,c:oe,d:D,h:c,i:Oe,j:Ce,k:Le,l:Ae,m:Pe,q:B},{b:d,c:n},{a:De,b:ke,c:je,d:Ge,e:Me,f:we,g:Fe,h:Be},{a:Re,b:ze,d:Ne,e:He,f:Xe,g:Ee,h:Ue,i:Ye,ia:ei,j:We,k:qe,ka:ii,l:Ze,m:$e,n:Je,o:Ke,p:Qe}])=>{var fi=Object.defineProperty,ui=Object.getOwnPropertyDescriptor,pi=(i,e,t,s)=>{for(var o=ui(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&fi(e,t,o),o},xi=i=>i.title?.content,hi=(i,e)=>{if(i){let t=Re(e);e.title===void 0&&(e.title=b({text:"",visible:!0,font:y(f.ChartTitle),type:f.ChartTitle})),e.title.content=i,e.title.content.text=t}},R=class extends d{get titleSymbol(){return xi(this._config)}set titleSymbol(e){hi(e,this._config)}};pi([n],R.prototype,"titleSymbol");var yi=Object.defineProperty,bi=Object.getOwnPropertyDescriptor,vi=(i,e,t,s)=>{for(var o=bi(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&yi(e,t,o),o},z=class extends d{get config(){return this._config}set config(e){this._config=e}};vi([n],z.prototype,"config");var re=class extends d{get layer(){return this.layerInfo?.layer}},mi=i=>i.id,_i=(i,e)=>{e.id=i},ne=class extends d{get chartId(){return mi(this._config)}set chartId(e){_i(e,this._config)}},Si=i=>i.version,ae=class extends d{get version(){return Si(this._config)}},Ti=Object.defineProperty,Vi=Object.getOwnPropertyDescriptor,Ii=(i,e,t,s)=>{for(var o=Vi(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&Ti(e,t,o),o},si=i=>i.subtitle?.content.text??"",Oi=(i,e)=>{e.subtitle!==void 0?e.subtitle.content.text=i:i!==void 0&&(e.subtitle=b({text:i,visible:!0,font:y(f.ChartSubtitle)}))},N=class extends d{get subtitleText(){return si(this._config)}set subtitleText(e){Oi(e,this._config)}};Ii([n],N.prototype,"subtitleText");var Ci=Object.defineProperty,Li=Object.getOwnPropertyDescriptor,Ai=(i,e,t,s)=>{for(var o=Li(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&Ci(e,t,o),o},Pi=i=>i.subtitle?.content,Di=(i,e)=>{if(i){let t=si(e);e.subtitle===void 0&&(e.subtitle=b({text:"",visible:!0,font:y(f.ChartSubtitle),type:f.ChartSubtitle})),e.subtitle.content=i,e.subtitle.content.text=t}},H=class extends d{get subtitleSymbol(){return Pi(this._config)}set subtitleSymbol(e){Di(e,this._config)}};Ai([n],H.prototype,"subtitleSymbol");var ki=Object.defineProperty,ji=Object.getOwnPropertyDescriptor,Gi=(i,e,t,s)=>{for(var o=ji(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&ki(e,t,o),o},oi=i=>i.footer?.content.text??"",Mi=(i,e)=>{e.footer!==void 0?e.footer.content.text=i:i!==void 0&&(e.footer=b({text:i,visible:!0,font:y(f.DescriptionText)}))},X=class extends d{get descriptionText(){return oi(this._config)}set descriptionText(e){Mi(e,this._config)}};Gi([n],X.prototype,"descriptionText");var wi=Object.defineProperty,Fi=Object.getOwnPropertyDescriptor,Bi=(i,e,t,s)=>{for(var o=Fi(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&wi(e,t,o),o},Ri=i=>i.footer?.content,zi=(i,e)=>{if(i){let t=oi(e);e.footer===void 0&&(e.footer=b({text:"",visible:!0,font:y(f.DescriptionText),type:f.DescriptionText})),e.footer.content=i,e.footer.content.text=t}},E=class extends d{get descriptionSymbol(){return Ri(this._config)}set descriptionSymbol(e){zi(e,this._config)}};Bi([n],E.prototype,"descriptionSymbol");var Ni=Object.defineProperty,Hi=Object.getOwnPropertyDescriptor,Xi=(i,e,t,s)=>{for(var o=Hi(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&Ni(e,t,o),o},Ei=i=>i.title?i.title.visible??!0:!1,Ui=(i,e)=>{e.title!==void 0?e.title.visible=i:e.title=b({text:"",visible:i,font:y(f.ChartTitle)})},U=class extends d{get chartTitleVisibility(){return Ei(this._config)}set chartTitleVisibility(e){Ui(e,this._config)}};Xi([n],U.prototype,"chartTitleVisibility");var Yi=Object.defineProperty,Wi=Object.getOwnPropertyDescriptor,qi=(i,e,t,s)=>{for(var o=Wi(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&Yi(e,t,o),o},Zi=i=>i.subtitle?i.subtitle.visible??!0:!1,$i=(i,e)=>{e.subtitle!==void 0?e.subtitle.visible=i:e.subtitle=b({text:"",visible:i,font:y(f.ChartSubtitle)})},Y=class extends d{get chartSubtitleVisibility(){return Zi(this._config)}set chartSubtitleVisibility(e){$i(e,this._config)}};qi([n],Y.prototype,"chartSubtitleVisibility");var Ji=Object.defineProperty,Ki=Object.getOwnPropertyDescriptor,Qi=(i,e,t,s)=>{for(var o=Ki(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&Ji(e,t,o),o},ri=i=>i.footer?.visible??!1,et=(i,e)=>{e.footer!==void 0?e.footer.visible=i:i!==ri(e)&&(e.footer=b({text:"",visible:!0,font:y(f.DescriptionText)}))},W=class extends d{get descriptionVisibility(){return ri(this._config)}set descriptionVisibility(e){et(e,this._config)}};Qi([n],W.prototype,"descriptionVisibility");var it=Object.defineProperty,tt=Object.getOwnPropertyDescriptor,st=(i,e,t,s)=>{for(var o=tt(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&it(e,t,o),o},ot=i=>i.chartRenderer,rt=(i,e)=>{e.chartRenderer=i},q=class extends d{get chartRenderer(){return ot(this._config)}set chartRenderer(e){rt(e,this._config)}};st([n],q.prototype,"chartRenderer");var nt=Object.defineProperty,at=Object.getOwnPropertyDescriptor,ct=(i,e,t,s)=>{for(var o=at(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&nt(e,t,o),o},lt=i=>i.background,gt=(i,e)=>{e.background=i},Z=class extends d{get backgroundColor(){return lt(this._config)}set backgroundColor(e){gt(e,this._config)}};ct([n],Z.prototype,"backgroundColor");var dt=Object.defineProperty,ft=Object.getOwnPropertyDescriptor,ut=(i,e,t,s)=>{for(var o=ft(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&dt(e,t,o),o},pt=(i,e)=>e.series[i].visible??!0,xt=(i,e)=>{ve({detail:i},e)},$=class extends d{getSeriesVisibility(e){return pt(e,this._config)}setSeriesVisibility(e){xt(e,this._config)}};ut([n],$.prototype,"setSeriesVisibility");var ht=(i,e)=>e.series[i]?.id,ce=class extends d{getSeriesId(e){return ht(e,this._config)}},yt=(i,e)=>e.series.findIndex(t=>t.id===i),le=class extends d{getSeriesIndex(e){return yt(e,this._config)}},bt=i=>_e(i.series),ge=class extends d{get chartSubType(){return bt(this._config)}},vt=Object.defineProperty,mt=Object.getOwnPropertyDescriptor,_t=(i,e,t,s)=>{for(var o=mt(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&vt(e,t,o),o},St=(i,e)=>{let t;return i.length!==0&&e<i.length&&(t=i[e].dataTooltipValueFormat),t},Tt=i=>{let{series:e,seriesIndex:t,valueFormat:s}=i;e.length!==0&&t<e.length&&(e[t].dataTooltipValueFormat=s)},J=class extends d{getDataTooltipValueFormat(e){return St(this._config.series,e)}setDataTooltipValueFormat(e,t){Tt({series:this._config.series,seriesIndex:e,valueFormat:t})}};_t([n],J.prototype,"setDataTooltipValueFormat");var Vt=Object.defineProperty,It=Object.getOwnPropertyDescriptor,Ot=(i,e,t,s)=>{for(var o=It(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&Vt(e,t,o),o},Ct=(i,e)=>{e.series.forEach(t=>{t.query&&(t.query.fetchNullValues=i)})},Lt=i=>i.series.some(e=>e.query?.fetchNullValues),K=class extends d{get fetchNULLValues(){return Lt(this._config)}set fetchNULLValues(e){Ct(e,this._config)}};Ot([n],K.prototype,"fetchNULLValues");var At=Object.defineProperty,Pt=Object.getOwnPropertyDescriptor,Dt=(i,e,t,s)=>{for(var o=Pt(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&At(e,t,o),o},kt=i=>i.dataFilters,jt=(i,e)=>{i!==void 0?e.dataFilters=i:delete e.dataFilters},Q=class extends d{getDataFilters(){return kt(this._config)}async setDataFilters(e){jt(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}};Dt([n],Q.prototype,"setDataFilters");var V=class extends d{},Gt=[z,re,ne,ze,R,ae,N,H,X,E,U,Y,W,q,Z,$,ce,le,Qe,ge,J,K,Ne,Q];B(V,Gt);var Mt=i=>{let e=!1;return i.legend!==void 0&&(e=i.legend.visible??!0),e},wt=(i,e)=>{e.legend===void 0&&(e.legend=S()),e.legend.visible=i},Ft=i=>i.legend?.title?.content,Bt=(i,e)=>{e.legend===void 0&&(e.legend=S()),(e.legend.title===void 0||i===void 0)&&(e.legend.title=b({text:"",visible:!0,font:y(f.LegendTitle),type:f.LegendTitle})),i!==void 0&&(e.legend.title.content=i)},Rt=i=>i.legend?.body,zt=(i,e)=>{e.legend===void 0&&(e.legend=S()),e.legend.body=i??b({text:"",visible:!0,font:y(f.LegendText),type:f.LegendText}).content},de=i=>i.legend?.title?.content.text??"",Nt=(i,e)=>{if(e.legend?.title!==void 0)e.legend.title.content.text=i;else if(e.legend===void 0&&i!==void 0){let t=S();t.title!==void 0&&(t.title.content.text=i,t.title.visible=!0,e.legend=t)}},Ht=i=>i.legend?.title?.visible??!1,Xt=(i,e)=>{if(e.legend?.title!==void 0)e.legend.title.visible=i;else if(e.legend!==void 0&&e.legend?.title===void 0&&i)e.legend.title=b({text:de(e),visible:i,font:y(f.LegendTitle),type:f.LegendTitle});else if(e.legend===void 0){let t=S();t.title=b({text:de(e),visible:i,font:y(f.LegendTitle),type:f.LegendTitle}),e.legend=t}},Et=i=>i.legend?.position??fe.Right,Ut=(i,e)=>{if(e.legend!==void 0)e.legend.position=i;else if(e.legend===void 0){let t=S();t.position=i,e.legend=t}},Yt=i=>i.legend?.roundMarkers??!1,Wt=(i,e)=>{e.legend===void 0&&(e.legend=S()),e.legend.roundMarkers=i},qt=i=>i.legend?.maxHeight??void 0,Zt=(i,e)=>{e.legend===void 0&&(e.legend=S()),e.legend.maxHeight=i},$t=Object.defineProperty,Jt=Object.getOwnPropertyDescriptor,C=(i,e,t,s)=>{for(var o=Jt(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&$t(e,t,o),o},m=class extends V{get legendVisibility(){return Mt(this._config)}set legendVisibility(e){wt(e,this._config)}get legendTitleText(){return de(this._config)}set legendTitleText(e){Nt(e,this._config)}get legendTitleVisibility(){return Ht(this._config)}set legendTitleVisibility(e){Xt(e,this._config)}get legendPosition(){return Et(this._config)}set legendPosition(e){Ut(e,this._config)}get legendTitleSymbol(){return Ft(this._config)}set legendTitleSymbol(e){Bt(e,this._config)}get legendTextSymbol(){return Rt(this._config)}set legendTextSymbol(e){zt(e,this._config)}get legendMaxHeight(){return qt(this._config)}set legendMaxHeight(e){e!==void 0&&Zt(e,this._config)}get legendRoundMarker(){return Yt(this._config)}set legendRoundMarker(e){Wt(e,this._config)}};C([n],m.prototype,"legendVisibility");C([n],m.prototype,"legendTitleText");C([n],m.prototype,"legendTitleVisibility");C([n],m.prototype,"legendPosition");C([n],m.prototype,"legendTitleSymbol");C([n],m.prototype,"legendTextSymbol");C([n],m.prototype,"legendMaxHeight");C([n],m.prototype,"legendRoundMarker");var Kt=(i,e)=>i.series?.[e??0]?.dataTooltipVisible??!0,Qt=(i,e,t)=>{t&&i.series?.[t]?i.series[t].dataTooltipVisible=e:i.series&&i.series.forEach(s=>{s.dataTooltipVisible=e})},es=(i,e)=>i.series?.[e??0]?.dataTooltipReverseColor??!1,is=(i,e,t)=>{t&&i.series?.[t]?i.series[t].dataTooltipReverseColor=e:i.series&&i.series.forEach(s=>{s.dataTooltipReverseColor=e})},ts=Object.defineProperty,ss=Object.getOwnPropertyDescriptor,ni=(i,e,t,s)=>{for(var o=ss(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&ts(e,t,o),o},ee=class extends V{getDataTooltipVisibility(e){return Kt(this._config,e)}setDataTooltipVisibility(e,t){Qt(this._config,e,t)}getDataTooltipReverseColor(e){return es(this._config,e)}setDataTooltipReverseColor(e,t){is(this._config,e,t)}};ni([n],ee.prototype,"setDataTooltipVisibility");ni([n],ee.prototype,"setDataTooltipReverseColor");var os=i=>{for(let e of i.axes??[])for(let t of e?.guides??[])if(t.label!==void 0)return t.label},rs=(i,e)=>{for(let t of e.axes??[])for(let s of t?.guides??[]){let o=s.label?.text??"";s.label=ie(i),s.label!==void 0&&(s.label.text=o)}};function x(i){return{...i,axis:i.orientation===T.X?i.config.axes?.[0]:i.config.axes?.[1],index:i.index??0,orientation:i.orientation??T.Y}}var ns=i=>{let{axis:e,index:t}=x(i);return e?.guides?.[t]?.visible??!0},as=i=>{let{visible:e,axis:t,index:s}=x(i);t?.guides?.[s]!==void 0&&(t.guides[s].visible=e)},ai=i=>{let e=me(i.start,i.end);Te(i.style)&&e===P.SFS?i.style={type:P.SFS,color:i.style.color}:Se(i.style)&&e===P.SLS&&(i.style={type:P.SLS,color:i.style.color})},cs=i=>{let{axis:e,index:t}=x(i);return e?.guides?.[t]?.start??null},ls=i=>{let{start:e,axis:t,index:s}=x(i);t?.guides?.[s]!==void 0&&(t.guides[s].start=e,ai(t.guides[s]))},gs=i=>{let{axis:e,index:t}=x(i);return e?.guides?.[t]?.end},ds=i=>{let{end:e,axis:t,index:s}=x(i);t?.guides?.[s]!==void 0&&(t.guides[s].end=e,ai(t.guides[s]))},fs=i=>{let{axis:e,index:t}=x(i);return e?.guides?.[t]?.name},us=i=>{let{name:e,axis:t,index:s}=x(i);t?.guides?.[s]!==void 0&&(t.guides[s].name=e)},ps=i=>{let{axis:e,index:t}=x(i);return e?.guides?.[t]?.label?.text},xs=i=>{let{labelText:e,axis:t,index:s}=x(i),o=t?.guides?.[s]?.label??ue(e,y(f.GuideLabel),f.GuideLabel);t?.guides?.[s]!==void 0&&(t.guides[s].label={...o,text:e})},hs=i=>{let{axis:e,index:t}=x(i);return e?.guides?.[t]?.above??!1},ys=i=>{let{above:e,axis:t,index:s}=x(i);t?.guides?.[s]!==void 0&&(t.guides[s].above=e)},bs=i=>{let{axis:e,index:t}=x(i);return e?.guides?.[t]?.style},vs=i=>{let{style:e,axis:t,index:s}=x(i);t?.guides?.[s]!==void 0&&(t.guides[s].style=e)},ci=i=>{let{config:e,name:t,index:s,orientation:o}=i,r=o===T.X?e.axes?.[0]:e.axes?.[1];if(r!==void 0){r.guides=r.guides??[];let a={type:G.Guide,name:t,start:r.valueFormat.type===G.DateAxisFormat?"":0,style:pe()};s!==void 0&&s<r.guides.length?r.guides.splice(s,0,a):r.guides.push(a)}},li=i=>{let{config:e,index:t,orientation:s}=i,o=s===T.X?e.axes?.[0]:e.axes?.[1];o?.guides!==void 0&&(t!==void 0&&t<o.guides.length?o.guides.splice(t,1):o.guides.pop())},ms=i=>{let{axis:e,index:t}=x(i);return e?.guides?.[t]?.tooltipReverseColor??!1},_s=i=>{let{reverseColor:e,axis:t,index:s}=x(i);t?.guides?.[s]!==void 0&&(t.guides[s].tooltipReverseColor=e)},Ss=Object.defineProperty,Ts=Object.getOwnPropertyDescriptor,I=(i,e,t,s)=>{for(var o=Ts(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&Ss(e,t,o),o},h=class extends V{get guideLabelsSymbol(){return os(this._config)}set guideLabelsSymbol(e){rs(e,this._config)}getGuideVisibility(e,t){return ns({config:this._config,index:e,orientation:t})}setGuideVisibility(e,t,s){as({visible:e,config:this._config,index:t,orientation:s})}getGuideStart(e,t){return cs({config:this._config,index:e,orientation:t})}setGuideStart(e,t,s){ls({start:e,config:this._config,index:t,orientation:s})}getGuideEnd(e,t){return gs({config:this._config,index:e,orientation:t})}setGuideEnd(e,t,s){ds({end:e,config:this._config,index:t,orientation:s})}getGuideName(e,t){return fs({config:this._config,index:e,orientation:t})}setGuideName(e,t,s){us({name:e,config:this._config,index:t,orientation:s})}getGuideLabelText(e,t){return ps({config:this._config,index:e,orientation:t})}setGuideLabelText(e,t,s){xs({labelText:e,config:this._config,index:t,orientation:s})}getGuideAbove(e,t){return hs({config:this._config,index:e,orientation:t})}setGuideAbove(e,t,s){ys({above:e,config:this._config,index:t,orientation:s})}getGuideStyle(e,t){return bs({config:this._config,index:e,orientation:t})}setGuideStyle(e,t,s){vs({style:e,config:this._config,index:t,orientation:s})}getTooltipReverseColor(e,t){return ms({config:this._config,index:e,orientation:t})}setTooltipReverseColor(e,t,s){_s({reverseColor:e,config:this._config,index:t,orientation:s})}};I([n],h.prototype,"guideLabelsSymbol");I([n],h.prototype,"setGuideVisibility");I([n],h.prototype,"setGuideStart");I([n],h.prototype,"setGuideEnd");I([n],h.prototype,"setGuideName");I([n],h.prototype,"setGuideLabelText");I([n],h.prototype,"setGuideAbove");I([n],h.prototype,"setGuideStyle");I([n],h.prototype,"setTooltipReverseColor");var Vs=Object.defineProperty,Is=Object.getOwnPropertyDescriptor,gi=(i,e,t,s)=>{for(var o=Is(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&Vs(e,t,o),o},k=class extends h{getXGuidesLength(){return this._config.axes?.[0]?.guides?.length}addXAxisGuide(e,t){ci({config:this._config,name:e,index:t,orientation:T.X})}deleteXAxisGuide(e){li({config:this._config,index:e,orientation:T.X})}};gi([n],k.prototype,"addXAxisGuide");gi([n],k.prototype,"deleteXAxisGuide");var Os=[h];B(k,Os);var Cs=Object.defineProperty,Ls=Object.getOwnPropertyDescriptor,di=(i,e,t,s)=>{for(var o=Ls(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&Cs(e,t,o),o},j=class extends h{getYGuidesLength(){return this._config.axes?.[1]?.guides?.length}addYAxisGuide(e,t){ci({config:this._config,name:e,index:t,orientation:T.Y})}deleteYAxisGuide(e){li({config:this._config,index:e,orientation:T.Y})}};di([n],j.prototype,"addYAxisGuide");di([n],j.prototype,"deleteYAxisGuide");var As=[h];B(j,As);var Ps=Object.defineProperty,Ds=Object.getOwnPropertyDescriptor,A=(i,e,t,s)=>{for(var o=Ds(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&Ps(e,t,o),o},O=class extends V{get temporalBinningSize(){return He(this._config)}set temporalBinningSize(e){We(e,this._config)}get temporalBinningUnit(){return Xe(this._config)}set temporalBinningUnit(e){Ze(e,this._config)}get timeAggregationType(){return Ee(this._config)}set timeAggregationType(e){$e(e,this._config)}get trimIncompleteTimeInterval(){return Ue(this._config)}set trimIncompleteTimeInterval(e){Je(e,this._config)}get nullPolicy(){return Ye(this._config)}set nullPolicy(e){qe(e,this._config)}resetTimeInterval(){Ke(this._config)}};A([n],O.prototype,"temporalBinningSize");A([n],O.prototype,"temporalBinningUnit");A([n],O.prototype,"timeAggregationType");A([n],O.prototype,"trimIncompleteTimeInterval");A([n],O.prototype,"nullPolicy");A([n],O.prototype,"resetTimeInterval");var rr=(i,e)=>e.series?.[i].assignToSecondValueAxis??!1,nr=i=>{let{assign:e,seriesIndex:t,config:s,commonStrings:o}=i;e&&s.axes!==void 0&&!s.axes?.[2]&&(s.axes[2]=ye(o,G.BarSeries)[1]),s.series&&s.series.forEach((r,a)=>{a===t?r.assignToSecondValueAxis=e:a!==t&&r?.assignToSecondValueAxis!==!0&&(r.assignToSecondValueAxis=!1)}),s.axes?.[2]&&!s.series.some(r=>r.assignToSecondValueAxis)&&s.axes.splice(2,1)},ar=(i,e)=>e.series?.[i]?.name,cr=(i,e,t)=>{t.series?.[e]&&(t.series[e].name=i)},lr=(i,e)=>{let t=e.series?.[i],s;return L(t)?s=t.fillSymbol?.color:l(t)&&(s=t.lineSymbol?.color),s},ks=(i,e,t)=>{let s=t.series?.[e];s&&(L(s)?s.fillSymbol={...be(e),...s.fillSymbol,color:i}:l(s)&&(s.lineSymbol={...F(e),...s.lineSymbol,color:i}))},gr=i=>i.series.map(e=>e.id),dr=(i,e)=>{e.series?.sort((t,s)=>i.findIndex(o=>t.id===o)-i.findIndex(o=>s.id===o))},fr=i=>i.stackedType??te.Side,ur=i=>{let{newStackedType:e,config:t,layerInfo:s,commonStrings:o}=i;if(t.stackedType=e,s!==void 0){let r=Ie({config:t,layerInfo:s,commonStrings:o,numericFields:ii(t),aggregationType:ei(t)});Ve(t,1,r)}t.axes?.[1]&&(e===te.Stacked100?t.axes[1].valueFormat=he():t.axes[1].valueFormat=xe()),D({config:t,value:null,axisIndex:1,isMax:!1}),D({config:t,value:null,axisIndex:1,isMax:!0})},pr=i=>{let e,t=i.series.find(s=>(L(s)||l(s)||g(s))&&s.nullCategory!==void 0);return(L(t)||l(t)||g(t))&&(e=t?.nullCategory),e},xr=(i,e)=>{i.series.forEach(t=>{(L(t)||l(t)||g(t))&&(t.nullCategory=e)})},js=i=>i.lineSymbol?.style,Gs=(i,e)=>{e.lineSymbol??=F(),e.lineSymbol.style=i},Ms=i=>i.lineSymbol?.width,ws=(i,e)=>{e.lineSymbol??=F(),e.lineSymbol.width=i},Fs=(i,e)=>{if(l(e.series[i])||g(e.series[i]))return js(e.series[i])},Bs=(i,e,t)=>{(l(t.series[e])||g(t.series[e]))&&Gs(i,t.series[e])},Rs=(i,e)=>{if(l(e.series[i])||g(e.series[i]))return Ms(e.series[i])},zs=(i,e,t)=>{(l(t.series[e])||g(t.series[e]))&&ws(i,t.series[e])},Ns=(i,e)=>l(e.series[i])||g(e.series[i])?e.series[i].markerSymbol?.color:void 0,Hs=(i,e,t)=>{if(l(t.series[e])||g(t.series[e])){let s=t.series[e];s.markerSymbol===void 0&&(s.markerSymbol=w()),s.markerSymbol.color=i}},Xs=(i,e)=>l(e.series[i])||g(e.series[i])?e.series?.[i]?.markerSymbol?.style:void 0,Es=(i,e,t)=>{if(l(t.series[e])||g(t.series[e])){let s=t.series[e];s.markerSymbol===void 0&&(s.markerSymbol=w()),s.markerSymbol.style=i}},Us=(i,e)=>l(e.series[i])||g(e.series[i])?e.series?.[i]?.markerSymbol?.size:void 0,Ys=(i,e,t)=>{if(l(t.series[e])||g(t.series[e])){let s=t.series[e];s.markerSymbol===void 0&&(s.markerSymbol=w()),s.markerSymbol.size=i}},Ws=(i,e)=>l(e.series[i])||g(e.series[i])?e.series?.[i]?.lineSmoothed??!1:!1,qs=i=>{let{smoothed:e,seriesIndex:t,config:s}=i;(l(s.series[t])||g(s.series[t]))&&(s.series[t].lineSmoothed=e)},Zs=(i,e)=>l(e.series[i])||g(e.series[i])?e.series[i].showArea??!1:!1,ti=i=>{let{visible:e,seriesIndex:t,config:s}=i;(l(s.series[t])||g(s.series[t]))&&(s.series[t].showArea=e)},$s=(i,e)=>l(e.series[i])||g(e.series[i])?e.series[i].markerVisible??!0:!1,Js=i=>{let{visible:e,seriesIndex:t,config:s}=i;(l(s.series[t])||g(s.series[t]))&&(s.series[t].markerVisible=e)},Ks=(i,e)=>l(e.series[i])||g(e.series[i])?e.series[i].areaColor:void 0,Qs=(i,e)=>l(e.series[i])||g(e.series[i])?e.series?.[i]?.connectLines:void 0,eo=i=>{let{connect:e,seriesIndex:t,config:s}=i;(l(s.series[t])||g(s.series[t]))&&(s.series[t].connectLines=e)},io=Object.defineProperty,to=Object.getOwnPropertyDescriptor,_=(i,e,t,s)=>{for(var o=to(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&io(e,t,o),o},v=class extends V{getSeriesLineStyle(e){return Fs(e,this._config)}setSeriesLineStyle(e,t){Bs(e,t,this._config)}getSeriesLineWidth(e){return Rs(e,this._config)}setSeriesLineWidth(e,t){zs(e,t,this._config)}getSeriesMarkerColor(e){return Ns(e,this._config)}setSeriesMarkerColor(e,t){Hs(e,t,this._config)}getSeriesMarkerStyle(e){return Xs(e,this._config)}setSeriesMarkerStyle(e,t){Es(e,t,this._config)}getSeriesMarkerSize(e){return Us(e,this._config)}setSeriesMarkerSize(e,t){Ys(e,t,this._config)}isLineSmoothed(e){return Ws(e,this._config)}setLineSmoothed(e,t){qs({smoothed:e,seriesIndex:t,config:this._config})}getConnectLines(e){return Qs(e,this._config)}setConnectLines(e,t){eo({connect:e,seriesIndex:t,config:this._config})}isAreaVisible(e){return Zs(e,this._config)}setAreaVisible(e,t){ti({visible:e,seriesIndex:t,config:this._config})}isMarkerVisible(e){return $s(e,this._config)}setMarkerVisible(e,t){Js({visible:e,seriesIndex:t,config:this._config})}getAreaColor(e){return Ks(e,this._config)}setAreaColor(e,t){ti({visible:!0,seriesIndex:t,config:this._config}),ks(e,t,this._config)}};_([n],v.prototype,"setSeriesLineStyle");_([n],v.prototype,"setSeriesLineWidth");_([n],v.prototype,"setSeriesMarkerColor");_([n],v.prototype,"setSeriesMarkerStyle");_([n],v.prototype,"setSeriesMarkerSize");_([n],v.prototype,"setLineSmoothed");_([n],v.prototype,"setConnectLines");_([n],v.prototype,"setAreaVisible");_([n],v.prototype,"setMarkerVisible");_([n],v.prototype,"setAreaColor");var so=i=>{for(let e of i.axes??[])if(e?.grid!==void 0)return e.grid},oo=(i,e,t)=>{let s=e.axes;t.forEach(o=>{s?.[o]!==void 0&&(s[o].grid=ie(i))})},ro=(i,e)=>e.axes?.[i]?.visible??!0,no=(i,e,t)=>{let s=t.axes?.[e];s!==void 0&&(s.visible=i)},ao=(i,e)=>i.axes?.[e]?.displayZeroLine??!1,co=(i,e,t)=>{i.axes?.[t]!==void 0&&(i.axes[t].displayZeroLine=e)},lo=(i,e)=>i.axes?.[e]?.displayCursorTooltip??!1,go=i=>{let{config:e,displayCursorTooltip:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].displayCursorTooltip=t)},fo=(i,e)=>i.axes?.[e]?.buffer??!1,uo=i=>{let{config:e,buffer:t,axisIndex:s}=i,o=e.axes?.[s];o!==void 0&&(o.buffer=t)},po=(i,e)=>i.axes?.[e]?.tickSpacing,xo=i=>{let{config:e,tickSpacing:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].tickSpacing=t)},ho=(i,e)=>i.axes?.[e]?.integerOnlyValues??!1,yo=i=>{let{config:e,integerOnlyValues:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].integerOnlyValues=t)},bo=i=>i.horizontalAxisLabelsBehavior??se.Rotate,vo=(i,e)=>{e.horizontalAxisLabelsBehavior=i},mo=i=>i.verticalAxisLabelsBehavior??se.Wrap,_o=(i,e)=>{e.verticalAxisLabelsBehavior=i},So=i=>i.cursorCrosshair?.horizontalLineVisible??!1,To=(i,e)=>{e.cursorCrosshair===void 0&&(e.cursorCrosshair=M()),e.cursorCrosshair.horizontalLineVisible=i},Vo=i=>i.cursorCrosshair?.verticalLineVisible??!1,Io=(i,e)=>{e.cursorCrosshair===void 0&&(e.cursorCrosshair=M()),e.cursorCrosshair.verticalLineVisible=i},Oo=i=>i.cursorCrosshair?.style,Co=(i,e)=>{e.cursorCrosshair===void 0&&(e.cursorCrosshair=M()),e.cursorCrosshair.style=i},Lo=i=>i.cursorCrosshair,Ao=(i,e)=>{e.cursorCrosshair=i},Po=Object.defineProperty,Do=Object.getOwnPropertyDescriptor,p=(i,e,t,s)=>{for(var o=Do(e,t),r=i.length-1,a;r>=0;r--)(a=i[r])&&(o=a(e,t,o)||o);return o&&Po(e,t,o),o},u=class extends V{getAxisTitleText(e){return c({config:this._config,axisIndex:e,func:t=>je(t,this._config)})??""}setAxisTitleText(e,t){c({config:this._config,axisIndex:t,func:s=>{Ge(e,s,this._config)}})}getAxisVisibility(e){return c({config:this._config,axisIndex:e,func:t=>ro(t,this._config)})??!0}setAxisVisibility(e,t){this.guardSetterFromAsyncOverwrite(()=>{c({config:this._config,axisIndex:t,func:s=>{no(e,s,this._config),this.emitConfigUpdate("setAxisVisibility")}})})}getAxisLabelsVisibility(e){return c({config:this._config,axisIndex:e,func:t=>De(t,this._config)})??!0}setAxisLabelsVisibility(e,t){this.guardSetterFromAsyncOverwrite(()=>{c({config:this._config,axisIndex:t,func:s=>{ke(e,s,this._config),this.emitConfigUpdate("setAxisLabelsVisibility")}})})}getAxisTitleVisibility(e){return c({config:this._config,axisIndex:e,func:t=>Me(t,this._config)})??!1}setAxisTitleVisibility(e,t){c({config:this._config,axisIndex:t,func:s=>{we(e,s,this._config)}})}getMaxBound(e){return c({config:this._config,axisIndex:e,func:t=>oe({config:this._config,axisIndex:t,isMax:!0})})??Number.NaN}setMaxBound(e,t){c({config:this._config,axisIndex:t,func:s=>{D({config:this._config,value:e,axisIndex:s,isMax:!0})}})}getMinBound(e){return c({config:this._config,axisIndex:e,func:t=>oe({config:this._config,axisIndex:t,isMax:!1})})??Number.NaN}setMinBound(e,t){c({config:this._config,axisIndex:t,func:s=>{D({config:this._config,value:e,axisIndex:s,isMax:!1})}})}getAxisValueFormat(e){return c({config:this._config,axisIndex:e,func:t=>Oe(t,this._config)})}setAxisValueFormat(e,t){c({config:this._config,axisIndex:e,func:s=>{Ce({config:this._config,valueFormat:t,axisIndex:s,commonStrings:this.commonStrings})}})}getLogarithmic(e){return c({config:this._config,axisIndex:e,func:t=>Le(this._config,t)})??!1}setLogarithmic(e,t){c({config:this._config,axisIndex:t,func:s=>{Ae({config:this._config,isLogarithmic:e,axisIndex:s})}})}getAxisScrollbar(e){return c({config:this._config,axisIndex:e,func:t=>this._config.axes?.[t]?.scrollbar})}setAxisScrollbar(e,t){c({config:this._config,axisIndex:t,func:s=>{Pe({config:this._config,scrollbar:e,axisIndex:s})}})}getAxisTitleSymbol(e){return c({config:this._config,axisIndex:e,func:t=>Fe(this._config,t)})}setAxisTitleSymbol(e,t){c({config:this._config,axisIndex:t,func:s=>{Be({symbol:e,config:this._config,axisIndex:s})}})}getHorizontalAxisLabelsBehavior(){return bo(this._config)}setHorizontalAxisLabelsBehavior(e){vo(e,this._config)}getVerticalAxisLabelsBehavior(){return mo(this._config)}setVerticalAxisLabelsBehavior(e){_o(e,this._config)}getGridLinesSymbol(){return so(this._config)}setGridLinesSymbol(e,t){Array.isArray(t)&&oo(e,this._config,t)}getDefaultXAxisTitleText(){return this.commonStrings.utilsStrings.statistics.count}getDisplayZeroLine(e){return c({config:this._config,axisIndex:e,func:t=>ao(this._config,t)})??!1}setDisplayZeroLine(e,t){c({config:this._config,axisIndex:t,func:s=>{co(this._config,e,s)}})}getDisplayCursorTooltip(e){return c({config:this._config,axisIndex:e,func:t=>lo(this._config,t)})??!1}setDisplayCursorTooltip(e,t){c({config:this._config,axisIndex:t,func:s=>{go({config:this._config,displayCursorTooltip:e,axisIndex:s})}})}getBuffer(e){return c({config:this._config,axisIndex:e,func:t=>fo(this._config,t)})??!1}setBuffer(e,t){c({config:this._config,axisIndex:t,func:s=>{uo({config:this._config,buffer:e,axisIndex:s})}})}getTickSpacing(e){return po(this._config,e)}setTickSpacing(e,t){c({config:this._config,axisIndex:t,func:s=>{xo({config:this._config,tickSpacing:e,axisIndex:s})}})}getIntegerOnlyValues(e){return c({config:this._config,axisIndex:e,func:t=>ho(this._config,t)})??!1}setIntegerOnlyValues(e,t){c({config:this._config,axisIndex:t,func:s=>{yo({config:this._config,integerOnlyValues:e,axisIndex:s})}})}get cursorCrosshairHorizontalLineVisibility(){return So(this._config)}set cursorCrosshairHorizontalLineVisibility(e){To(e,this._config)}get cursorCrosshairVerticalLineVisibility(){return Vo(this._config)}set cursorCrosshairVerticalLineVisibility(e){Io(e,this._config)}get cursorCrosshairStyle(){return Oo(this._config)}set cursorCrosshairStyle(e){e&&Co(e,this._config)}get cursorCrosshair(){return Lo(this._config)}set cursorCrosshair(e){e&&Ao(e,this._config)}};p([n],u.prototype,"setAxisTitleText");p([n],u.prototype,"setAxisTitleVisibility");p([n],u.prototype,"setMaxBound");p([n],u.prototype,"setMinBound");p([n],u.prototype,"setAxisValueFormat");p([n],u.prototype,"setLogarithmic");p([n],u.prototype,"setAxisScrollbar");p([n],u.prototype,"setAxisTitleSymbol");p([n],u.prototype,"setHorizontalAxisLabelsBehavior");p([n],u.prototype,"setVerticalAxisLabelsBehavior");p([n],u.prototype,"setGridLinesSymbol");p([n],u.prototype,"setDisplayZeroLine");p([n],u.prototype,"setDisplayCursorTooltip");p([n],u.prototype,"setBuffer");p([n],u.prototype,"setTickSpacing");p([n],u.prototype,"setIntegerOnlyValues");p([n],u.prototype,"cursorCrosshairHorizontalLineVisibility");p([n],u.prototype,"cursorCrosshairVerticalLineVisibility");p([n],u.prototype,"cursorCrosshairStyle");p([n],u.prototype,"cursorCrosshair");return{a:V,b:m,c:ee,d:k,e:j,f:O,g:rr,h:nr,i:ar,j:cr,k:lr,l:ks,m:gr,n:dr,o:fr,p:ur,q:pr,r:xr,s:js,t:Gs,u:Ms,v:ws,w:Fs,x:Bs,y:Rs,z:zs,A:Ns,B:Hs,C:Xs,D:Es,E:Us,F:Ys,G:Ws,H:qs,I:Zs,J:ti,K:$s,L:Js,M:Ks,N:v,O:u}},"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,c,d,e)
|
package/dist/cdn/AEVMNV6D.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 e from"./YKSNOZ55.js";import d from"./UOFAIACY.js";import c from"./RXY7BYXO.js";import b from"./QQUULICL.js";import{g as ne,i as T,j as v,k as C,l as oe,m as Ye,n as Je}from"./OMQMS2VP.js";import a from"./WD2HWPCM.js";import{d as Z,g as G,j as fe,s as H,y as be}from"./MKNAFOVQ.js";import{a as z}from"./ITJ33NKU.js";import{a as N,b as B,e as Se,h as Fe,k as _,n as U,o as xe,v as h,y as he}from"./QWA2NXWE.js";export default $arcgis.t(([,,,,,,,{substitute:M},,,,,,,,{$c:A,Ab:w,Ca:Oe,Ec:$,Fc:Re,Hc:te,Ic:_e,Kc:ae,La:P,Lc:re,Ld:E,N:Ie,P:Ce,Pc:Ue,R:ee,S:Ae,Sa:ie,Sb:je,T:qe,Ub:se,Wc:Xe,Xc:X,Y:we,Yc:ze,Zc:V,_c:Qe,da:Le,e:D,ga:ke,ha:Me,ja:Ne,k:Be,sb:q,sc:De,uc:Pe,vc:$e,w:Te,x:ve,xc:Ve,xd:We,zc:Ee},{a:O,b:le,d:b,e:ce,f:Ge,g:ge,n:He,r:ei},{a:Ke,b:Q,c:Ze},{a:ii,b:ye,f:j,g:W,i:de},{c:Y}])=>{var mi=Object.defineProperty,pi=Object.getOwnPropertyDescriptor,fi=(i,e,s,r)=>{for(var a=pi(e,s),t=i.length-1,n;t>=0;t--)(n=i[t])&&(a=n(e,s,a)||a);return a&&mi(e,s,a),a},ai=i=>i.title?.content.text??"",Si=(i,e)=>{e.title!==void 0?e.title.content.text=i:e.title===void 0&&i!==void 0&&(e.title=Ce({text:i,visible:!0,font:Ie(Te.ChartTitle)}))},ue=class extends Q{get titleText(){return ai(this._config)}set titleText(e){Si(e,this._config)}};fi([Ze],ue.prototype,"titleText");var Fi=i=>i.series.map(e=>String(X({where:e.query?.where}))).filter(e=>e!==void 0&&e.trim()!==""),si=class extends Q{get splitByValues(){return Fi(this._config)}},xi=i=>{let e,s=i.series[0];return A(s)&&(e=s.temporalBinning?.size),e},hi=i=>{let e,s=i.series[0];return A(s)&&(e=s.temporalBinning?.unit),e},bi=i=>{let e,s=i.series[0];return A(s)&&(e=s.temporalBinning?.timeAggregationType),e},Bi=i=>{let e,s=i.series[0];return A(s)&&(e=s.temporalBinning?.trimIncompleteTimeInterval),e},Ti=i=>{let e,s=i.series[0];return A(s)&&(e=s.temporalBinning?.nullPolicy),e},ri=(i,e)=>{e?.series?.forEach(s=>{A(s)&&(s.temporalBinning??={},s.temporalBinning.size=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},vi=(i,e)=>{e?.series?.forEach(s=>{A(s)&&(s.temporalBinning??={},s.temporalBinning.nullPolicy=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},ms=(i,e)=>{e.series?.forEach(s=>{A(s)&&(s.temporalBinning??={},s.temporalBinning.unit=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},ps=(i,e)=>{e.series?.forEach(s=>{A(s)&&(s.temporalBinning??={},s.temporalBinning.timeAggregationType=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},fs=(i,e)=>{e.series?.forEach(s=>{A(s)&&(s.temporalBinning??={},s.temporalBinning.trimIncompleteTimeInterval=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},Ss=i=>{ri(0,i)},ni=i=>i.series.length??0,ti=class extends Q{get seriesLength(){return ni(this._config)}};function Fs(i,e){let s;return e!==void 0&&(s={...e},s.legend!==void 0&&(s.legend.position=i)),s}function xs(i,e){let s;return e!==void 0&&(s={...e},s.legend!==void 0&&(s.legend.visible=i)),s}function hs(i,e){let s;return e!==void 0&&(s={...e,rotated:i}),s}function Ii(i){let e;return i!==void 0&&(e={...i},delete e.axes?.[0]?.minimum,delete e.axes?.[0]?.maximum,delete e.axes?.[1]?.minimum,delete e.axes?.[1]?.maximum),e}function bs(i,e){return e!=null||ne(i)}async function Ci(i){let{queryObject:e,chartConfig:s,options:r,splitByField:a}=i,t=[],n,l=G(s),o=l.series[0],c=Ue({queryObject:e,chartConfig:l,runtimeDataFilters:r?.runtimeDataFilters,ignoreViewExtent:r?.ignoreViewExtent});if(c.outStatistics?.[0]?.outStatisticFieldName&&(c.outStatistics[0].outStatisticFieldName=ve.outStatistics.outStatisticFieldName),A(o)&&Qe({xAxisValueFormatType:Be(l),setTimeBinningInfoWhenNotProvided:r?.setTimeBinningInfoWhenNotProvided,seriesConfig:o})&&De(e)){let{temporalBinning:f,x:g}=o,{uniqueQuery:F}=await se({chartConfig:l,queryConfig:c,queryObject:e,options:r});n=await Ee({queryObject:e,dateField:g,splitByField:a,queryConfig:F,temporalBinning:f}),t=Array.from(new Set(n.flatMap(S=>{let{stackedAttributes:d}=S,y=[];return d&&(y=d.map(p=>p[a]).filter(p=>p!==void 0)),y})).values())}else{let{uniqueQuery:f}=await se({chartConfig:l,queryObject:e,queryConfig:c,options:r});n=await Ve({queryObject:e,queryConfig:f,featureCount:1}),t=Array.from(new Set(n.map(g=>g.attributes[a]).filter(g=>g!==void 0)).values())}return{allValues:t,preFetchedQueryResponse:n}}function Ai(i,e){let s=new Map;return i.series.forEach(r=>{let a=X({where:r.query?.where,normalize:!0,escape:!1});e&&a!==null&&(a=Number(a));let t=he([r]);t!==void 0&&s.set(t,[...s.get(t)??[],a])}),s}function qi(i){let{allValues:e,configUniqueValuesPerSeriesType:s,initialConfigWasEmpty:r}=i,a=new Map;return Array.from(s.keys()).forEach(t=>{let n=s.get(t)??[],l=[];r?l=e:e.forEach(o=>{n.includes(o)||l.push(o)}),a.set(t,l)}),a}function wi(i){let{chartConfig:e,missingValue:s,splitByField:r,seriesTemplate:a}=i,t=JSON.parse(JSON.stringify({...e.series[0],...a}));if(t.query){if(t.id=`${s}-${e.series.length}-${Date.now()}`,t.name=`${s}`,t.query.outStatistics?.[0]!==void 0){let l=t.id;t.query.outStatistics[0].outStatisticFieldName=l,"y"in t&&(t.y=l)}let n=typeof s=="number"||s===null?s:`'${s}'`;t.query.where=`${r}=${n}`}return t}async function Li(i){let{updateSplitBySeries:e,config:s,options:r,queryObject:a}=i,{seriesTemplate:t}=e??{},n;if(e!==void 0&&s!==void 0&&(s.series.length>0||t!==void 0)&&e.addMissingSeries){let l=s.series.length===0;s.series.length===0&&t!==void 0&&s.series.push(t);let o=V(s.series);if((o===q.BoxPlotMonoFieldAndSplitBy||o===q.BoxPlotMultiFieldsAndSplitBy||o===q.BoxPlotMonoFieldAndCategoryAndSplitBy||o===q.BarAndLineSplitBy||o===q.BarAndLineSplitByNoAggregation)&&a!==void 0){let c=Xe(s.series[0]?.query?.where),f=Pe(a);await f.load();let g=f.getField(c)?.toJSON(),F=Re(g),S=await Ci({queryObject:a,chartConfig:s,splitByField:c,options:r}),{allValues:d}=S;if({preFetchedQueryResponse:n}=S,d.length>0){let y=Ai(s,F),p=qi({allValues:d,configUniqueValuesPerSeriesType:y,initialConfigWasEmpty:l});Array.from(p.keys()).forEach(m=>{(p.get(m)??[]).forEach(u=>{s.series.push(wi({chartConfig:s,seriesTemplate:t,missingValue:u,splitByField:c}))}),l&&s.series.shift()})}}}return n}function ki(i,e){e&&!ne(e)&&(e=$e({chartConfig:e,queryObject:i}))}async function Bs(i){let{configToAlter:e,layer:s,addMissingSeries:r,updateSplitBySeries:a,chartContainer:t,queryObject:n,options:l}=i,o=e,c;return o&&(ki(s,o),o=await Ke(o,s),r&&(c=await Li({updateSplitBySeries:a,config:o,options:l,queryObject:n})),o=We(o,t)),{alteredConfig:o,preFetchedQueryResponse:c}}var Ts=i=>i.hideEmptyRowsAndColumns,vs=(i,e)=>{i.hideEmptyRowsAndColumns=e},Is=(i,e)=>{let s=i.series[0];s.heatRulesType=e},Cs=i=>i.series[0].heatRulesType,As=(i,e)=>{let s=i.series[0];s.gradientRules=e},qs=i=>i.series[0].gradientRules,ws=i=>{let{yField:e,config:s,layerInfo:r}=i,{layerFieldsInfo:a}=r,t=Y(1,s),n=Mi(s),l=E(s),o=s.series[0];if(typeof e=="string"&&n!==e&&o&&(o.y=e,Ii(s),n===t||l)){let c=w(a,e);O(s,1,c)}},Mi=i=>i.series[0].y??"",Ls=i=>{let{binning:e,config:s,commonStrings:r}=i,a=s.series[0];if(a.xTemporalBinning=e,e?.unit!==void 0&&e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits){let t=r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];O(s,0,t)}},ks=i=>i.series[0].xTemporalBinning,Ms=i=>{let{binning:e,config:s,commonStrings:r}=i,a=s.series[0];if(a.yTemporalBinning=e,e?.unit!==void 0&&e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits){let t=r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];O(s,1,t)}},Ns=i=>i.series[0].yTemporalBinning,Ni=(i,e)=>{e.orderOptions??={};let s=e.axes?.[0]?.valueFormat?.type==="category"?h.Category:h.YValue,r=me(e)[0],a=e.axes?.[1]?.valueFormat?.type==="category"?h.Category:h.YValue,t=me(e)[1],n={...e.orderOptions.data??{},orderType:h.MultiAxes};r===z.customSort&&s===h.Category&&(n.orderByX=[...i]),t===z.customSort&&a===h.Category&&(n.orderByY=[...i]),Object.keys(n).length>1&&(e.orderOptions.data=n)},Os=(i,e)=>{let s=e.series[0];s.gridLine&&(s.gridLine.width=i)},js=i=>i.series[0].gridLine?.width,Ds=(i,e)=>{let s=e.series[0],r=i?.length===4&&i.every(a=>typeof a=="number");s.gridLine&&r&&(s.gridLine.color=i)},Ps=i=>i.series[0].gridLine?.color,$s=(i,e)=>{let s=e.legend;s&&(s.position=i)},Vs=i=>i.legend?.position??Se.Bottom,Es=i=>i.series[0].query?.outStatistics?.[0]?.onStatisticField,Rs=(i,e)=>{let s=e.series[0].query?.outStatistics?.[0];s?(s.onStatisticField=i,s.outStatisticFieldName=`${s.statisticType}_${i}`):e.series[0].query={outStatistics:[{onStatisticField:i,outStatisticFieldName:`${B.Count}_${i}`,statisticType:B.Count}]}},_s=i=>i.series[0].query?.outStatistics?.[0].statisticType??B.Count,Us=(i,e)=>{let s=e.series[0]?.query?.outStatistics?.[0];s&&i!==B.NoAggregation&&(s.statisticType=i,s.outStatisticFieldName=`${i}_${s.onStatisticField}`)},Xs=i=>i.nullPolicy,zs=(i,e)=>{e.nullPolicy=i},Qs=i=>i.series[0].emptyCells,Ws=(i,e)=>{e.series[0].emptyCells=i},Ys=i=>i.series[0].emptyCells?.text,Js=(i,e)=>{e.series[0].emptyCells?e.series[0].emptyCells.text=i:e.series[0].emptyCells={text:i}},Ks=i=>i.includeLeapDay,Zs=(i,e)=>{e.includeLeapDay=i},Gs=i=>i.series[0].emptyCells?.symbol,Hs=(i,e)=>{e.series[0].emptyCells?e.series[0].emptyCells.symbol=i:e.series[0].emptyCells={symbol:i}};function et(i){return we(i)}function it(i){return i.viewType}function st(i,e){je(e)||(e.viewType=i)}function tt(i){return i.series[0].classBreaksRules?.breaksCount??P.classBreaks.breaksCount}function at(i,e){e.series[0].classBreaksRules!==void 0?e.series[0].classBreaksRules.breaksCount=i??P.classBreaks.breaksCount:e.series[0].classBreaksRules={breaksCount:i??P.classBreaks.breaksCount}}function rt(i){return i.series[0].classBreaksRules?.classificationMethod}function nt(i,e){e.series[0].classBreaksRules!==void 0?e.series[0].classBreaksRules.classificationMethod=i:e.series[0].classBreaksRules={classificationMethod:i},e.series[0].classBreaksRules.breaksCount=e.series[0].classBreaksRules.breaksCount??P.classBreaks.breaksCount}function R(i){let{seriesIndex:e,xAxisField:s,aggregationType:r,config:a,layerInfo:t,commonStrings:n}=i,l=$(t?.layer).idField,o,c=a.series[e??0],f=!1,g=!1,F=!1;if(c===void 0){let y=a.series;f=y.slice(0,e).every(p=>T(p)),g=y.slice(0,e).every(p=>v(p)),F=y.slice(0,e).every(p=>oe(p))}else f=T(c),g=v(c),F=oe(c);f?o=ke({commonStrings:n,seriesIndex:e,objectIDField:l}):g?o=Me({commonStrings:n,seriesIndex:e,objectIDField:l}):F?o=Le(n,l):o=Ne({seriesIndex:e,objectIDField:l,commonStrings:n});let S=a.series[0]?.dataLabels,d={...o,x:s,y:"",dataLabels:{...o.dataLabels,type:o.dataLabels?.type??N.Text,content:{...o.dataLabels?.content,...S?.content,type:be.TS},visible:S?.visible??!1}};if(d.query={groupByFieldsForStatistics:[s]},r!==B.NoAggregation&&l!==void 0){let y=`${r}_${l}_0`.toUpperCase();d.y=y,d.query.outStatistics=[{statisticType:r,onStatisticField:l,outStatisticFieldName:y}]}if(T(d)||v(d)||C(d)&&a.series[0]?.binTemporalData){let y;if(a?.series?.[0]!==void 0&&(y=V(a.series)),y!==q.BarAndLineNoAggregation&&y!==q.BarAndLineSplitByNoAggregation){let p=hi(a);p===_.Quarter&&(p=_.Month),d.temporalBinning={size:xi(a),unit:p,timeAggregationType:bi(a),trimIncompleteTimeInterval:Bi(a),nullPolicy:Ti(a)}}}return G(d)}function oi(i,e,s){let{layerFieldsInfo:r}=e,{idField:a,isTraditionalTypeOID:t}=$(e.layer),n=j(i),l=pe(i),o=ci(i),c=J(i),f=t&&(l.length===0||l.includes(a)),g=Oe(o,s),F=f?"":l.map(x=>w(r??[],x)).join(", "),S=w(r??[],n),d=w(r??[],c),y=i.series.some(x=>C(x)),p=y?"category":"xAxisField",m=S,u="";if(de({fieldName:n,numericFields:l,fieldList:r}))u=M(s.titleLabels.aggrTypeOfAggrFields,{aggregationType:g,aggregationFields:F});else if(o===B.NoAggregation){let x=f?a:F;if(c===""){let k=y?"aggrTypeCategory":"aggrTypeXAxisField";u=M(s.titleLabels[k],{aggregationType:x,[p]:m})}else{let k=y?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";u=M(s.titleLabels[k],{aggregationType:x,[p]:m,splitByField:d})}}else if(o===B.Count)if(c===""){let x=y?"aggrTypeCategory":"aggrTypeXAxisField";u=M(s.titleLabels[x],{aggregationType:g,[p]:m})}else{let x=y?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";u=M(s.titleLabels[x],{aggregationType:g,[p]:m,splitByField:d})}else if(c!==""){let x=y?"aggrTypeOfAggrFieldByCategoryBySplitByField":"aggrTypeOfAggrFieldByXAxisFieldBySplitByField";u=M(s.titleLabels[x],{aggregationType:g,aggregationField:F,[p]:m,splitByField:d})}else if(l.length>0){let x=y?"aggrTypeOfAggrFieldsByCategory":"aggrTypeOfAggrFieldsByXAxisField";u=M(s.titleLabels[x],{aggregationType:g,aggregationFields:F,[p]:m})}return u}var li=i=>X({where:i.query?.where,normalize:!1,escape:!1})??"",ci=i=>i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType??B.NoAggregation,J=Z(i=>{let e=i?.series?.[0]?.query?.where?.split("=")[0].trim()??"";return ze(i?.series?.[0]?.query?.where)?"":e},i=>i?.series?.[0]?.query?.where),pe=Z(i=>{let e=[];if(J(i)==="")e=i?.series.map(s=>{let r=s.query?.outStatistics?.map(a=>a.onStatisticField)??[];return r?.length>0?r:s.y}).flat()??[];else{let s=i?.series?.[0],r=s?.query?.outStatistics?.[0]?.onStatisticField??[s?.y].flat()[0];e=r!==void 0?[r]:[]}return[...new Set(e.filter(s=>s!==""))]},i=>i?.series);function Oi(i){let{numericFields:e,aggregationType:s,config:r,layerInfo:a}=i,t=!1;s===B.Count?t=!0:s===B.NoAggregation&&(t=e.every(o=>{let c=a.layerFieldsInfo.find(f=>f.name===o);return c!==void 0?te(c):!1})),ge(r,1,t);let n=r.series.some(o=>T(o)),l=r.series.some(o=>v(o));if(n||l){let o=j(r),c=a.layerFieldsInfo.find(g=>g.name===o),f=c!==void 0&&te(c);ge(r,0,f)}}var me=i=>{let e;if(ie(i)){let s=i.orderOptions?.data?.orderByX??[""],r=i.orderOptions?.data?.orderByY??[""],a=i.axes?.[0]?.valueFormat?.type==="category"?h.Category:h.YValue,t=i.axes?.[1]?.valueFormat?.type==="category"?h.Category:h.YValue;e=[ye(s,a),ye(r,t)]}else{let s=i.orderOptions?.data?.orderType??h.Category,r=i.orderOptions?.data&&"orderBy"in i.orderOptions.data?i.orderOptions.data.orderBy:Fe.Ascending;e=[ii(r,s)]}return e};function ji(i){let{xAxisField:e,numericFields:s,aggregationType:r,config:a,layerInfo:t,commonStrings:n}=i,{layerFieldsInfo:l}=t,o=!1,c=R({config:a,xAxisField:e,aggregationType:r,layerInfo:t,seriesIndex:0,commonStrings:n}),f=W({config:a,xAxisField:e,numericFields:s,aggregationType:r,layer:t.layer,fieldList:l}).name,g={...c,id:`series_${Date.now()}`,name:n.axisLabels.values,x:D,y:f},F=[];for(let d of s)F.push({onStatisticField:d,outStatisticFieldName:`${d}_0`.toUpperCase(),statisticType:r});g.query={outStatistics:F};let S=a.series[0];return S!==void 0&&(g.id=S.id,a.colorMatch||(C(S)&&C(g)?g.fillSymbol=S.fillSymbol:(T(g)&&T(S)||v(g)&&v(S))&&(g.lineSymbol=S.lineSymbol,g.markerSymbol=S.markerSymbol),o=!0),g.id=S.id,S.name!==c.name&&(g.name=S.name)),a.series.length===1&&!a.colorMatch&&(C(g)?g.fillSymbol=a.series[0].fillSymbol:(T(g)||v(g))&&(g.lineSymbol=a.series[0].lineSymbol,g.markerSymbol=a.series[0].markerSymbol),o=!0),a.colorMatch=!o,[g]}function gi(i){let{xAxisField:e,numericFields:s,aggregationType:r,config:a,layerInfo:t,commonStrings:n}=i,{layerFieldsInfo:l}=t,o=$(t.layer).idField,c=[],f=!1;for(let g=0;g<s.length;g+=1){let F=R({config:a,xAxisField:e,aggregationType:r,layerInfo:t,seriesIndex:g,commonStrings:n}),S=W({config:a,xAxisField:e,numericFields:s,aggregationType:r,layer:t.layer,numericFieldIndex:g,fieldList:l}).name,d=s[g],y={...F,query:{...F.query}};s&&d!==o&&(y={...y,id:d,name:w(l,d)});let p=d;y.query!==void 0&&(r!==B.NoAggregation?(p=S,y.query.outStatistics=[{...F.query?.outStatistics?.[0]??{},onStatisticField:d,outStatisticFieldName:S,statisticType:r}]):delete y.query.outStatistics),y.y=p;let m=a.series.find(u=>u.query?.outStatistics?.[0]?.onStatisticField===d&&u.query.where===void 0);if(m!==void 0&&typeof m.y=="string"&&m.y.trim()!==""){a.colorMatch||(C(y)&&C(m)?y.fillSymbol=m.fillSymbol:(T(y)&&T(m)||v(y)&&v(m))&&(y.lineSymbol=m.lineSymbol,y.markerSymbol=m.markerSymbol),f=!0);let u=R({config:a,xAxisField:e,aggregationType:r,layerInfo:t,seriesIndex:g,commonStrings:n});y.id=m.id,m.id!==u.id&&m.name!==u.name&&(y.id=m.id,y.name=m.name)}c.push(y)}return a.series.length===1&&c.length===1&&!a.colorMatch&&(C(a.series[0])&&C(c[0])?c[0].fillSymbol=a.series[0].fillSymbol:(T(a.series[0])&&T(c[0])||v(a.series[0])&&v(c[0]))&&(c[0].lineSymbol=a.series[0].lineSymbol,c[0].markerSymbol=a.series[0].markerSymbol),f=!0),a.colorMatch=!f,c}async function Di(i){let{splitByField:e,xAxisField:s,numericFields:r,aggregationType:a,config:t,layerInfo:n,commonStrings:l}=i,{layer:o,layerFieldsInfo:c}=n,{fetchNullValues:f}=t?.series?.[0]?.query??{},g=s!==D?s:void 0,{categoriesArray:F,splitByFieldType:S,numericalField:d}=await He({config:t,layer:o,layerFieldsInfo:c,xAxisField:g,aggregationFields:r,splitByField:e,fetchNullValues:f}),y=[],p=!1;if(F.length===0){y=gi({xAxisField:s,numericFields:r,aggregationType:a,config:t,layerInfo:n,commonStrings:l});for(let m of y)m.query&&(m.query.where=`${e}=''`)}else for(let m=0;m<F.length;m+=1){let u=F[m],x=W({config:t,xAxisField:s,numericFields:r,aggregationType:a,layer:n.layer,seriesIndex:m,splitByField:e,fieldList:c}).name,k=R({config:t,xAxisField:s,aggregationType:a,layerInfo:n,seriesIndex:m,commonStrings:l}),yi={fieldName:e,fieldValueToMatch:u??"",subtypeInfo:ae(n.layer),fieldList:n.layerFieldsInfo},di=re(yi),K=`${u}`,I={...k,id:K,name:di??K,y:x,query:{...k.query,where:`${e}=${S===H.String&&u!==null?`'${u}'`:u}`,outStatistics:a!==B.NoAggregation?[{...k.query?.outStatistics?.[0]??{},onStatisticField:d,outStatisticFieldName:x,statisticType:a}]:void 0}};a===B.NoAggregation&&(I.query!==void 0&&(delete I.query.outStatistics,delete I.query.groupByFieldsForStatistics),I.y=d);let L=t.series.find(ui=>String(li(ui)).trim().replace(/'/gu,"")===K);L!==void 0&&(t.colorMatch||(C(I)&&C(L)?I.fillSymbol=L.fillSymbol:(T(I)&&T(L)||v(I)&&v(L))&&(I.lineSymbol=L.lineSymbol,I.markerSymbol=L.markerSymbol),p=!0),I.id=L.id,I.name=L.name),y.push(I)}return t.colorMatch=!p,y}var ot=async i=>{let{xAxisField:e,splitByField:s,numericFields:r,aggregationType:a,config:t,layerInfo:n,commonStrings:l}=i,{layerFieldsInfo:o}=n??{},c=ni(t),f=j(t),g=Pi(t,n,l),F=$i(t,n,l),S=Vi(t,n),d=ce(t),y=t.series.some(u=>C(u)),p=Ye(t.series),m=Je(t.series);if(o!==void 0){let u=_e(o);!u.includes(f)&&u.includes(e)?d=Ae():u.includes(f)&&!u.includes(e)&&(y?d=ee():d=qe()),o.find(x=>x.name===e)?.type===H.String&&(d=ee()),d!==void 0&&Ge(t,l,d)}if(c===0&&(t.series=[R({config:t,xAxisField:e,aggregationType:a,layerInfo:n,commonStrings:l})]),t.series.forEach(u=>{u.x=e,u.query!==void 0&&(u.query.groupByFieldsForStatistics=[e])}),s===""||r.length>1?de({fieldName:e,numericFields:r,fieldList:o})?t.series=ji({config:t,layerInfo:n,xAxisField:e,numericFields:r,aggregationType:a,commonStrings:l}):t.series=gi({config:t,layerInfo:n,xAxisField:e,numericFields:r,aggregationType:a,commonStrings:l}):(await Promise.resolve(),t.series=await Di({config:t,layerInfo:n,splitByField:s,xAxisField:e,numericFields:r,aggregationType:a,commonStrings:l})),S){let u=w(o,e);O(t,0,u)}if(F){let u=le({config:t,layerInfo:n,commonStrings:l,numericFields:r,aggregationType:a});O(t,1,u)}if(t.title&&g&&(t.title.content.text=oi(t,n,l)),b({config:t,value:null,axisIndex:1,isMax:!1}),b({config:t,value:null,axisIndex:1,isMax:!0}),Oi({numericFields:r,aggregationType:a,config:t,layerInfo:n}),p||m){b({config:t,value:null,axisIndex:0,isMax:!1}),b({config:t,value:null,axisIndex:0,isMax:!0}),ri(0,t);let u=d?.type===N.DateAxisFormat?U.Null:U.Interpolate;vi(u,t)}},lt=i=>{let{config:e,seriesIndex:s,layerInfo:r,commonStrings:a}=i,t=e.series?.[s],n=J(e),l;if(V(e.series)===q.BarAndLineFromFields)l=a.axisLabels.values;else if(fe(n)){let o=t.query?.outStatistics?.[0]?.onStatisticField;o!==void 0&&o!==$(r.layer).idField&&(l=w(r.layerFieldsInfo,o))}else{let o=String(li(t)).trim().replace(/'/gu,""),c={fieldName:J(e),fieldValueToMatch:o??"",subtypeInfo:ae(r.layer),fieldList:r.layerFieldsInfo};l=re(c)??o}return l??t.id},ct=(i,e)=>{if(ie(e))Ni(i,e);else{e.orderOptions??={};let s=e.orderOptions?.data?.orderType;me(e)[0]===z.customSort&&s===h.Category&&(e.orderOptions.data={orderType:h.Category,orderBy:[...i]})}},gt=async(i,e)=>{let s=j(i),r=ce(i)?.type,a=pe(i),t=V(i.series),n=[];return r===N.CategoryAxisFormat&&(t===q.BarAndLineFromFields||s===D?n=a.map(l=>w(e?.layerFieldsInfo,l)):s.trim()!==""&&s!==D&&e!==void 0&&(n=await ei({layerInfo:e,config:i,category:s}))),n};function Pi(i,e,s){let r=oi(i,e,s),a=ai(i),t=E(i);return r===a||t}function $i(i,e,s){let r=le({config:i,layerInfo:e,commonStrings:s,numericFields:pe(i),aggregationType:ci(i)}),a=Y(1,i),t=E(i);return r===a||t}function Vi(i,e){let s=w(e.layerFieldsInfo,j(i)),r=Y(0,i),a=E(i);return s===r||a}function yt(i){return i.series[0]?.binTemporalData??!1}function dt(i,e){e?.series.forEach(s=>{(s?.type===N.BarSeries||s?.type===N.LineSeries)&&(s.binTemporalData=i,i?s.temporalBinning={unit:_.Day,size:0,timeAggregationType:xe.Start,trimIncompleteTimeInterval:!0,nullPolicy:U.Null}:delete s.temporalBinning)})}return{a:ai,b:ue,c:Fi,d:si,e:xi,f:hi,g:bi,h:Bi,i:Ti,j:ri,k:vi,l:ms,m:ps,n:fs,o:Ss,p:ti,q:Fs,r:xs,s:hs,t:Ii,u:bs,v:Bs,w:Ts,x:vs,y:Is,z:Cs,A:As,B:qs,C:ws,D:Mi,E:Ls,F:ks,G:Ms,H:Ns,I:Os,J:js,K:Ds,L:Ps,M:$s,N:Vs,O:Es,P:Rs,Q:_s,R:Us,S:Xs,T:zs,U:Qs,V:Ws,W:Ys,X:Js,Y:Ks,Z:Zs,_:Gs,$:Hs,aa:et,ba:it,ca:st,da:tt,ea:at,fa:rt,ga:nt,ha:oi,ia:ci,ja:J,ka:pe,la:me,ma:ot,na:lt,oa:ct,pa:gt,qa:yt,ra:dt}},"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,d,e)
|
package/dist/cdn/BIMLXGQH.js
DELETED
|
@@ -1,6 +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
|
-
var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gt=Symbol(),Rt=new WeakMap,k=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==gt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=Rt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Rt.set(e,t))}return t}toString(){return this.cssText}},Mt=o=>new k(typeof o=="string"?o:o+"",void 0,gt),Ee=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1]),o[0]);return new k(e,o,gt)},It=(o,t)=>{if(Z)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),r=Y.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},vt=Z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Mt(e)})(o):o;var{is:$e,defineProperty:be,getOwnPropertyDescriptor:_e,getOwnPropertyNames:Ae,getOwnPropertySymbols:Ce,getPrototypeOf:we}=Object,tt=globalThis,kt=tt.trustedTypes,Oe=kt?kt.emptyScript:"",Te=tt.reactiveElementPolyfillSupport,j=(o,t)=>o,X={toAttribute(o,t){switch(t){case Boolean:o=o?Oe:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},H=(o,t)=>!$e(o,t),jt={attribute:!0,type:String,converter:X,reflect:!1,useDefault:!1,hasChanged:H};Symbol.metadata??=Symbol("metadata"),tt.litPropertyMetadata??=new WeakMap;var _=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=jt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&be(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=_e(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??jt}static _$Ei(){if(this.hasOwnProperty(j("elementProperties")))return;let t=we(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(j("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(j("properties"))){let e=this.properties,s=[...Ae(e),...Ce(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(vt(r))}else t!==void 0&&e.push(vt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return It(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:X).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:X;this._$Em=r,this[r]=n.fromAttribute(e,i.type)??this._$Ej?.get(r)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??H)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[j("elementProperties")]=new Map,_[j("finalized")]=new Map,Te?.({ReactiveElement:_}),(tt.reactiveElementVersions??=[]).push("2.1.0");var $t=globalThis,et=$t.trustedTypes,Ht=et?et.createPolicy("lit-html",{createHTML:o=>o}):void 0,bt="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,_t="?"+A,Se=`<${_t}>`,T=document,z=()=>T.createComment(""),B=o=>o===null||typeof o!="object"&&typeof o!="function",At=Array.isArray,qt=o=>At(o)||typeof o?.[Symbol.iterator]=="function",Et=`[
|
|
5
|
-
\f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,zt=/>/g,w=RegExp(`>|${Et}(?:([^\\s"'>=/]+)(${Et}*=${Et}*(?:[^
|
|
6
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Bt=/'/g,Wt=/"/g,Gt=/^(?:script|style|textarea|title)$/i,Ct=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),ds=Ct(1),ps=Ct(2),us=Ct(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Ft=new WeakMap,O=T.createTreeWalker(T,129);function Kt(o,t){if(!At(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ht!==void 0?Ht.createHTML(t):t}var Qt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=V;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===V?u[1]==="!--"?n=Vt:u[1]!==void 0?n=zt:u[2]!==void 0?(Gt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=r??V,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?w:u[3]==='"'?Wt:Bt):n===Wt||n===Bt?n=w:n===Vt||n===zt?n=V:(n=w,r=void 0);let g=n===w&&o[a+1].startsWith("/>")?" ":"";i+=n===V?c+Se:h>=0?(s.push(l),c.slice(0,h)+bt+c.slice(h)+A+g):c+A+(h===-2?a:g)}return[Kt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},W=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Qt(t,e);if(this.el=o.createElement(l,s),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=O.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(bt)){let y=u[n++],g=r.getAttribute(h).split(A),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?ot:C[1]==="?"?rt:C[1]==="@"?it:P}),r.removeAttribute(h)}else h.startsWith(A)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Gt.test(r.tagName)){let h=r.textContent.split(A),y=h.length-1;if(y>0){r.textContent=et?et.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],z()),O.nextNode(),c.push({type:2,index:++i});r.append(h[y],z())}}}else if(r.nodeType===8)if(r.data===_t)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(A,h+1))!==-1;)c.push({type:7,index:i}),h+=A.length-1}i++}}static createElement(t,e){let s=T.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=B(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=S(o,r._$AS(o,t.values),r,s)),t}var st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??T).importNode(e,!0);O.currentNode=r;let i=O.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new U(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new nt(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=O.nextNode(),n++)}return O.currentNode=T,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},U=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),B(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):qt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&B(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=W.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new st(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=Ft.get(t.strings);return e===void 0&&Ft.set(t.strings,e=new W(t)),e}k(t){At(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=S(this,t,e,0),n=!B(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=S(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!B(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},rt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},it=class extends P{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Jt={M:bt,P:A,A:_t,C:1,L:Qt,R:st,D:qt,V:S,I:U,H:P,N:rt,U:it,B:ot,F:nt},Pe=$t.litHtmlPolyfillSupport;Pe?.(W,U),($t.litHtmlVersions??=[]).push("3.3.0");var at=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new U(t.insertBefore(z(),i),i,void 0,e??{})}return r._$AI(o),r};var wt=globalThis,$=class extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=at(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};$._$litElement$=!0,$.finalized=!0,wt.litElementHydrateSupport?.({LitElement:$});var Ne=wt.litElementPolyfillSupport;Ne?.({LitElement:$});(wt.litElementVersions??=[]).push("4.2.0");var Yt=new Set,Zt;var Xt=o=>typeof o=="string"?o:"el"in o?o.el.localName:"localName"in o?o.localName:o.declaredClass,Os=(o,t,e,s)=>{let r=Xt(t);if(s?.once){let n=`${o}${r}${e}`;if(Yt.has(n))return;Yt.add(n)}let i;if(s?.detail){i={};for(let[n,a]of Object.entries(s.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let c=new WeakRef(a);Object.defineProperty(i,n,{get(){return c.deref()}})}else i[n]=a;Zt?.log.interceptors?.forEach(n=>n(o,r,e,i)),console[o](`[${r}]: ${e}`,i)}else Zt?.log.interceptors?.forEach(n=>n(o,r,e)),console[o](`[${r}]: ${e}`)},te=o=>{let t=`[${Xt(o)}] `;return e=>{let s=e instanceof Error&&e.message?e:new Error(String(e));s.message=`${t}${s.message}`,setTimeout(()=>{throw e})}};var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},F=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var G=Symbol.for("controller"),xe=o=>typeof o=="object"&&o!==null&&(G in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Ps=o=>typeof o?.then=="function";var q,x=o=>{q!==o&&(q=o,queueMicrotask(()=>q===o?q=void 0:0))},K=o=>q,N=[],ee=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},se=()=>N,R,Ns=o=>{R!==o&&(R=o,queueMicrotask(()=>R===o?R=void 0:0))},De=()=>{let o=R;return R=void 0,o},oe=async(o,t)=>{let e=lt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},re=async o=>{let t=lt(o);return await t.ready,t},lt=o=>{let e=K().manager.X(o);if(e!==void 0)return e;if(xe(o))return o;let s=De();if(s!==void 0)return s},ct=!1,xs=o=>{ct=!0;try{return o()}finally{ct=!1}};var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},ie=(o,t)=>{let e=t>Le?Ue:t/Re,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},Le=4e3,Ue=2e3,Re=4;var Me=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(I),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,I=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},Ie=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},ke=(o=[K(),...se()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Me(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){Ie(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},je=(o="",t={},e=K())=>{let s={emit:r=>{o===""&&I();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&ke(void 0,r=>o=r.key,s),s},He=je.bind(null,""),ce;ce=G;var Ot=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#r=[],this.#i=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[ce]=!0,this.#a=[];let e=this,s=t??K(new.target.name);e.#o=s,e.ready=e.P.promise,e.#n=ae(e),e.component=s,e.#o.addController(e),e.#o.manager===void 0||(ee(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#r;#i;#c;#l;#p;#h;#d;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(te(this.#o))}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?ae(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return x(this.#o),oe}get useRef(){return x(this.#o),re}get useRefSync(){return x(this.#o),lt}controllerRemoved(){this.#o.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#r.push(t)}onUpdate(t){this.#i.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await F(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(F)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#r.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#i.forEach(ne,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(ne,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){x(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function ne(o){p(o,void 0,this)}var le=Ot,ae=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var{I:Ve}=Jt;var ht=o=>o.strings===void 0,he=()=>document.createComment(""),zs=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(he(),r),n=s.insertBefore(he(),r);e=new Ve(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},Bs=(o,t,e=o)=>(o._$AI(t,e),o),ze={},de=(o,t=ze)=>o._$AH=t,Ws=o=>o._$AH,Fs=o=>{o._$AP?.(!1,!0);let t=o._$AA,e=o._$AB.nextSibling;for(;t!==e;){let s=t.nextSibling;t.remove(),t=s}};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var Q=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),Q(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},pe=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Fe(t)}};function Be(o){this._$AN!==void 0?(dt(this),this._$AM=o,pe(this)):this._$AM=o}function We(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)Q(s[i],!1),dt(s[i]);else s!=null&&(Q(s,!1),dt(s));else Q(this,o)}var Fe=o=>{o.type==m.CHILD&&(o._$AP??=We,o._$AQ??=Be)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),pe(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(Q(this,t),dt(this))}setValue(t){if(ht(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var eo=()=>new St,St=class{},Tt=new WeakMap,Pt=E(class extends pt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Tt.get(t);e===void 0&&(e=new WeakMap,Tt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Tt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var ut=o=>o.replace(Ge,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Ge=/[A-Z]+(?![a-z])|[A-Z]/gu;var mo="randomUUID"in crypto;var xt=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Dt={};function Lt(){}var Ke=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(";"),g=u?u?.split(",").map(Qe):void 0,C=g?.map(([L])=>L),D=class extends Nt{static{this.observedAttributes=g?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=C}static{this.E=h?h?.split(","):void 0}static{this.D=y?.split(",")}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},ft=Object.defineProperty,Qe=o=>{let t=o.split(":");return t.length===1?[t[0],ut(t[0])]:t},Je=globalThis.HTMLElement??Lt,Nt=class extends Je{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#r({a:e.A}):e.B.then(async s=>{await e.K.p,t.#r(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])ft(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])ft(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])ft(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=xt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#r(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Ze(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(Ye,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Ye([o,t]){this[o]=t}var Ze=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},ft(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var mt=class extends le{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=yt in t&&typeof t.destroy=="function",$.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${yt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),I();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=ie(t,Xe)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},Xe=1e3,yt="autoDestroyDisabled";var fe=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter((t=>o[t])).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter((s=>s!==""))));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var me="important",ts=" !"+me,ye=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce(((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(ts);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?me:""):e[s]=r}}return f}});var es=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return de(o),t}});var ge=class o extends ${constructor(){super(),this.M=[],this.manager=new mt(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#r=s?.H??new b,t.I=s?.I??new b,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Lt,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Dt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??H,n={attribute:s&1&&typeof t=="string"?ut(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!ct&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(I(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#r;#i;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#i=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#r.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#i.clear(),this.constructor.K.r(this.#i,()=>super.update(t))}catch(e){throw this.#i.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#i?.destroy(),this.#i=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===Dt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??xt(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(F(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(yt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#r.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#i?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#r.promise,this}addController(t){this.M.push(t),!(G in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var ve=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var Cr=o=>typeof o=="object"&&o!=null?fe(o):o,wr=o=>typeof o=="object"&&o!=null?ye(o):o;var Ut=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,Pt(this.#e)):Pt(t)}},Or=E(Ut);var Tr=d;var Sr=o=>{let t=document.createElement("div");return at(o,t),t.firstElementChild};var J=ve({defaultAssetPath:"https://jsdev.arcgis.com/5.0.0-next/charts-components/",hydratedAttribute:"hydrated"}),{customElement:Lr,getAssetPath:Ur,setAssetPath:Rr}=J;J.t=void 0;J.o=void 0;J.c=void 0;J.r=void 0;export{Ps as a,x as b,ee as c,se as d,Ns as e,xs as f,Ee as g,ds as h,f as i,d as j,Os as k,ke as l,He as m,Ot as n,Ke as o,m as p,E as q,v as r,zs as s,Bs as t,de as u,Ws as v,Fs as w,eo as x,Pt as y,ge as z,Cr as A,wr as B,Tr as C,Sr as D,J as E,Lr as F,Ur as G};
|
package/dist/cdn/BUDJ5KJ4.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 x,e as k}from"./UU5ZVLCU.js";import{a as h}from"./QXDLE5IZ.js";import{a as N}from"./QIKABDKN.js";import{b as B}from"./DMUPFMGF.js";import c from"./OGDDMNLP.js";import{l as n,m as M}from"./ROTLJPTM.js";import{a as f}from"./MF5ZAJP4.js";import b from"./QQUULICL.js";import"./OMQMS2VP.js";import a from"./WD2HWPCM.js";import{k as P}from"./MKNAFOVQ.js";import"./B5NYZJPC.js";import"./ITJ33NKU.js";import{b as T,w as v,x as C}from"./QWA2NXWE.js";import{A as r,B as F,C as g,F as I,g as w,h as o,m,x as u,y as p,z as L}from"./BIMLXGQH.js";import"./7H276RRF.js";export default $arcgis.t(([H,,,,,,,,,,,,,,,,{Ab:_,Ca:E,Fc:A,Gc:D,La:b,z:S},,{a:$,c:y,k:d}])=>{var q=w`.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}`,i={jsAppFlyout:"js-app-flyout",name:"bar-chart-data-popover",header:"header",pickListItemLabel:"pick-list-item-label",panel:"panel",colorRampPopover:"color-ramp-popover",colorRampToolbar:"color-ramp-toolbar",rampGrid:"ramp-grid",rampItem:"ramp-item",rampName:"ramp-name",rampStrips:"ramp-strips",rampStrip:"ramp-strip",rampStripFallback:"ramp-strip-fallback",rampEmpty:"ramp-empty",panelChildrenContainer:"panel-children-container",colorRampPopoverFooter:"color-ramp-popover-footer"},R=class extends L{constructor(){super(...arguments),this._messages=f(),this.commonStrings=f({name:"common",blocking:!0}),this.picklist=u(),this.popoverElement=u(),this.placement="leading",this.offsetDistance=-200,this.availableColorRamps=[],this.selectedCategory=k.all,this.isFlipped=!1,this.aggregationLabels=[],this.layerFieldsInfo=[],this.arcgisChartsConfigHeatChartColorRampChange=m(),this.arcgisChartsConfigHeatChartDataPopoverChange=m(),this.arcgisChartsConfigPopoverClose=m(),this.arcgisChartsConfigPopoverEmptyCellColorChange=m(),this.arcgisChartsConfigPopoverEmptyCellNameChange=m()}static{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}}static{this.styles=q}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(){let e=y.map(t=>E(t,this.commonStrings));P(this.aggregationLabels,e)||(this.aggregationLabels=e),this.colorRamps&&this.colorRamps!==this.availableColorRamps&&(this.availableColorRamps=this.colorRamps)}updated(){setTimeout(()=>{this.picklist.value?.setFocus()},$.PopoverTimer),B(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},$.PopoverTimer)}buildAggregationListItems(){return h(y.filter(e=>e!==T.NoAggregation),e=>e,(e,t)=>o`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${d(e,this.selectedContent)}></calcite-list-item>`)}buildPickListItem(e){return N(e.name,o`<calcite-list-item .label=${_(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${d(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,a=[];switch(e){case n.numericFields:{for(let s=0;s<t;s+=1){let l=this.layerFieldsInfo?.[s];l&&A(l)&&a.push(this.buildPickListItem(l))}break}case n.xAxisField:{for(let s=0;s<t;s+=1){let l=this.layerFieldsInfo?.[s];l&&D(l)&&a.push(this.buildPickListItem(l))}break}}return a}closePopover(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}onDataContentTypeChange(e){let t=e.target.selectedItems;this.arcgisChartsConfigHeatChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(a=>a.value)[0]}),this.open=!1}filterColorRamps(){let e=[];if(this.selectedCategory===k.all)e=this.availableColorRamps;else{let t=x[this.selectedCategory];e=this.availableColorRamps?.filter(a=>t.some(s=>a.tags.includes(s)))}return e}getRampColors(e){let t=e.colors;return this.isFlipped?[...t].reverse():t}rampColorToCss(e){let t="#000000";try{if(e){if(e instanceof H){let a=e.toHex();typeof a=="string"&&a.length&&(t=a)}else if(Array.isArray(e)){let[a,s,l,c]=e;[a,s,l].every(j=>typeof j=="number")&&(t=`rgba(${a},${s},${l},${c??1})`)}else if(typeof e=="object"&&e){let{r:a,g:s,b:l,a:c}=e;if(a!=null&&s!=null&&l!=null)return`rgba(${a},${s},${l},${c??1})`}}}catch{}return t}onCategoryDropdownSelect(e){let t=e.target.selectedItems[0]?.getAttribute("data-tag");t&&(this.selectedCategory=t)}onFlipAll(){if(this.isFlipped=!this.isFlipped,this.selectedColorRampName){let e=this.availableColorRamps.find(t=>t.name===this.selectedColorRampName);if(e){let t={...e,colors:this.getRampColors(e)};this.arcgisChartsConfigHeatChartColorRampChange.emit({rampName:e.name,ramp:t,isFlipped:this.isFlipped})}}}onRampSelect(e){this.selectedColorRampName=e.name;let t={...e,colors:this.getRampColors(e)};this.arcgisChartsConfigHeatChartColorRampChange.emit({rampName:e.name,ramp:t,isFlipped:this.isFlipped})}nameChange(e){let t=e.target.value;this.model.emptyCellText!==t&&(this.model.emptyCellText=t,this.arcgisChartsConfigPopoverEmptyCellNameChange.emit({name:t}))}colorChange(e){let t=e instanceof CustomEvent?e.detail:e,[a,s,l]=t,c=S*255;this.arcgisChartsConfigPopoverEmptyCellColorChange.emit({color:[a,s,l,c]})}renderAggregationType(){let e=this.buildAggregationListItems();return o`<calcite-list label class=${r(i.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderXAxisFieldSelect(){let e=this.buildPickListItems(n.xAxisField);return o`<calcite-list label class=${r(i.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(n.numericFields);return o`<calcite-list label class=${r(i.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderCalendarType(){let e=h(Object.values(M),t=>t,t=>{let a=this._messages[t];return o`<calcite-list-item .label=${a} .value=${t} .selected=${d(t,this.selectedContent)}></calcite-list-item>`});return o`<calcite-list label class=${r(i.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderCalendarViewType(){let e=h(Object.values(v),t=>t,t=>{let a=this._messages[t];return o`<calcite-list-item .label=${a} .value=${t} .disabled=${t!==v.singleCalendarView} .selected=${d(t,this.selectedContent)}></calcite-list-item>`});return o`<calcite-list label class=${r(i.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderClassBreakMethod(){let e=[{value:C.naturalBreaks,title:this._messages?.classBreaksMethod?.naturalBreaks,msg:this._messages?.classBreaksMethod?.naturalBreaksMsg},{value:C.equalInterval,title:this._messages?.classBreaksMethod?.equalInterval,msg:this._messages?.classBreaksMethod?.equalIntervalMsg},{value:C.quantile,title:this._messages?.classBreaksMethod?.quantile,msg:this._messages?.classBreaksMethod?.quantileMsg}],t=h(Object.values(e),({value:a})=>a,a=>{let{title:s,msg:l,value:c}=a;return o`<calcite-list-item .label=${s} .description=${l} .value=${c} .selected=${d(c,this.selectedContent)}></calcite-list-item>`});return o`<calcite-list label class=${r(i.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${t}</calcite-list>`}renderPopoverInfo(){let e;switch(this.contentKind){case n.aggregation:e=this.renderAggregationType();break;case n.numericFields:e=this.renderNumericFields();break;case n.xAxisField:e=this.renderXAxisFieldSelect();break;case n.calendarType:e=this.renderCalendarType();break;case n.calendarViewType:e=this.renderCalendarViewType();break;case n.classBreakMethod:e=this.renderClassBreakMethod();break;case n.colorScheme:e=this.renderColorRampSelect();break;case n.null:e=this.renderEmptyCellUI();break;default:e=o`<div></div>`;break}return e}renderColorRampSelect(){let e=this.filterColorRamps(),t=this._messages?.colorRampCategories?this._messages.colorRampCategories[this.selectedCategory]:this.selectedCategory;return o`<div class=${r(i.colorRampPopover)}><div class=${r(i.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(x).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=${r(i.rampGrid)}>${e.length===0&&o`<div class=${r(i.rampEmpty)}>${this._messages?.colorRamp?.noRamps} ${this.selectedCategory!=="all"?`"${this.selectedCategory}"`:""}</div>`||""}${e.map(a=>{let s=this.getRampColors(a),l=a.name===this.selectedColorRampName||a.name===this.selectedContent;return o`<div class=${`${i.rampItem} ${l?"selected":""}`} title=${a.name??g} @click=${()=>this.onRampSelect(a)}><div class=${r(i.rampName)} aria-hidden=true>${a.name}</div><div class=${r(i.rampStrips)}>${h(s,c=>c,c=>o`<div class=${r(i.rampStrip)} style=${F({backgroundColor:this.rampColorToCss(c)})}></div>`)}${s.length===0&&o`<div class=${`${i.rampStrip} ${i.rampStripFallback}`}></div>`||""}</div></div>`})}</div><div class=${r(i.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>`}renderEmptyCellUI(){let e=this.model.emptyCellSymbol?.color??b.grayColor,t=this.model.emptyCellText??b.nullCategory?.text??"";return o`<div><div class=${r(i.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.nameChange}></calcite-input></calcite-label></div><div class=${r(i.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages?.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></div>`}render(){return o`<div class=${r(i.jsAppFlyout)}><calcite-popover class=${r(i.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=${r(i.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${r(i.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${void 0}</calcite-panel></calcite-popover></div>`}};I("arcgis-charts-config-heat-chart-popover",R);return R},"Color","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,c)
|