@arcgis/charts-components 4.34.0-next.121 → 4.34.0-next.123
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/{USWZLWAH.js → 25N2XK7C.js} +2 -2
- package/dist/cdn/{NVVQ3YE2.js → 2C3GBV5Z.js} +2 -2
- package/dist/cdn/{ME7YRDMH.js → 2DSJGXSA.js} +2 -2
- package/dist/cdn/{WXGOB5HQ.js → 2EXTJNEO.js} +2 -2
- package/dist/cdn/{PZPIQRJU.js → 2HB45LR7.js} +2 -2
- package/dist/cdn/{A55DI3E4.js → 2UDT7N6Y.js} +1 -1
- package/dist/cdn/{GBAN6U5D.js → 3GSJREKB.js} +2 -2
- package/dist/cdn/{BWX4HMWG.js → 3H3KMVUP.js} +2 -2
- package/dist/cdn/{NX2CLI7H.js → 3HL4UIWD.js} +1 -1
- package/dist/cdn/{FLZCAWKD.js → 3K5S5OBT.js} +2 -2
- package/dist/cdn/{3SYE3QT5.js → 4BBPHLI7.js} +1 -1
- package/dist/cdn/{4BVVSEQL.js → 4DEGDIUZ.js} +2 -2
- package/dist/cdn/{OIF4PP4M.js → 4JLCKPBH.js} +2 -2
- package/dist/cdn/{BB2XMIY3.js → 4LNOTRYZ.js} +2 -2
- package/dist/cdn/{OIJ5QEES.js → 4VSO7PQK.js} +2 -2
- package/dist/cdn/{LDZIGPZL.js → 55DQYGPZ.js} +2 -2
- package/dist/cdn/{XHNWKT76.js → 565MOFIW.js} +2 -2
- package/dist/cdn/{FE2ZXMKG.js → 56OCN7CZ.js} +2 -2
- package/dist/cdn/{5PWKPTPD.js → 5DGG4IE5.js} +2 -2
- package/dist/cdn/{TKPMJHFP.js → 5H4XBWGD.js} +2 -2
- package/dist/cdn/{U7FR4IYM.js → 5KCRC5UT.js} +2 -2
- package/dist/cdn/{UOMWOI4Z.js → 5Q3WOEND.js} +2 -2
- package/dist/cdn/{D2D536RQ.js → 5VW3OGA6.js} +2 -2
- package/dist/cdn/{4YXFGO65.js → 6E7X2YXP.js} +2 -2
- package/dist/cdn/{AYHAHXIS.js → 6GEGDGV5.js} +2 -2
- package/dist/cdn/{3QIT56TW.js → 6UBH47HY.js} +2 -2
- package/dist/cdn/{DS3DICEN.js → 6WNQT7VH.js} +2 -2
- package/dist/cdn/{D4UODAEI.js → 743V5TGR.js} +2 -2
- package/dist/cdn/{A2CRE3JK.js → 77KV5X3C.js} +2 -2
- package/dist/cdn/{PCOJSCK7.js → 7BFJHYHT.js} +2 -2
- package/dist/cdn/7FDYYIEN.js +56 -0
- package/dist/cdn/{G3KLJJCH.js → 7FMW36JK.js} +2 -2
- package/dist/cdn/{VYGU363U.js → 7GMN6GQB.js} +2 -2
- package/dist/cdn/{G2HB67YA.js → 7GTIUPQD.js} +2 -2
- package/dist/cdn/{ZXYBAGIE.js → 7GUBMSHM.js} +2 -2
- package/dist/cdn/{4IF3XVGQ.js → 7GXVX6P4.js} +2 -2
- package/dist/cdn/{ULR72CV3.js → 7HGZ6PA2.js} +1 -1
- package/dist/cdn/{HEHWLRGY.js → 7NXEV7DR.js} +2 -2
- package/dist/cdn/{6QHJWVAZ.js → 7PUYLCGH.js} +2 -2
- package/dist/cdn/{75GFQV2T.js → 7WAVUDSX.js} +2 -2
- package/dist/cdn/{YT5TV6OQ.js → 7WMTLEC4.js} +2 -2
- package/dist/cdn/{VJULVVR6.js → 7YQT3W3J.js} +2 -2
- package/dist/cdn/{CGBO4MDT.js → AHXGYSM5.js} +2 -2
- package/dist/cdn/{YFDOLRTB.js → AVCM6M2F.js} +2 -2
- package/dist/cdn/{RUL7UIUI.js → AX4V4MPV.js} +2 -2
- package/dist/cdn/{7AE7ZWU6.js → AY7JW3E7.js} +2 -2
- package/dist/cdn/{KBS76TEQ.js → B4J46YVX.js} +2 -2
- package/dist/cdn/{VREO6T36.js → B6F37Y6W.js} +2 -2
- package/dist/cdn/{FISLBG3O.js → BDZFAXUJ.js} +2 -2
- package/dist/cdn/{V7E5QO2X.js → BIN2HJ5A.js} +2 -2
- package/dist/cdn/{CH3NSKRQ.js → BJQFSA35.js} +2 -2
- package/dist/cdn/{6GOSRGDZ.js → BQHCNQ3T.js} +2 -2
- package/dist/cdn/{BQTORW22.js → BR3JPQXV.js} +2 -2
- package/dist/cdn/{NS7NFL2R.js → C2DHDZL5.js} +2 -2
- package/dist/cdn/{KYE5HSNS.js → CCWZ62HP.js} +2 -2
- package/dist/cdn/{6TIFVKEE.js → CDE6QOTO.js} +2 -2
- package/dist/cdn/{FKNZMCLV.js → CGIPNOCG.js} +2 -2
- package/dist/cdn/CXBSXK2J.js +4 -0
- package/dist/cdn/{XWATM26Z.js → CZRHM6YK.js} +9 -9
- package/dist/cdn/{FWVTMQQV.js → DDWOB65W.js} +2 -2
- package/dist/cdn/{YTWAXYYB.js → DFXAFILA.js} +2 -2
- package/dist/cdn/{OKY537FA.js → DLNMR35H.js} +2 -2
- package/dist/cdn/{HZPBDXTY.js → DNJNUUBW.js} +2 -2
- package/dist/cdn/DW3TVLRW.js +4 -0
- package/dist/cdn/{JY36TQG2.js → E53RT4AR.js} +2 -2
- package/dist/cdn/{XETN2BQP.js → EFOGGONR.js} +2 -2
- package/dist/cdn/{V2HOCHLN.js → F3I5UUOP.js} +2 -2
- package/dist/cdn/{BCJZER62.js → F3JFGL6X.js} +2 -2
- package/dist/cdn/{3HR6TYVY.js → FOBZIZI2.js} +2 -2
- package/dist/cdn/{CIZGQYNX.js → FUR3INSR.js} +2 -2
- package/dist/cdn/{25UZBETP.js → G6YIY2O4.js} +2 -2
- package/dist/cdn/{726CUQ43.js → GC6NNQP4.js} +2 -2
- package/dist/cdn/{WXGUAEBM.js → HIQRVMJE.js} +2 -2
- package/dist/cdn/{XNPLAQTZ.js → HMZHZ6PO.js} +2 -2
- package/dist/cdn/{NFLBCGHU.js → HYZPX44W.js} +2 -2
- package/dist/cdn/{6MTOWT3G.js → I4WNCVXL.js} +2 -2
- package/dist/cdn/{Q5TNRIUH.js → I55J7A2R.js} +2 -2
- package/dist/cdn/{NDVZPC3G.js → IKMC42V4.js} +2 -2
- package/dist/cdn/{V7MC6QUB.js → ILPQY62F.js} +2 -2
- package/dist/cdn/{BSCAVDX7.js → IMAP3EGB.js} +2 -2
- package/dist/cdn/{G7ZQR6GA.js → J3L6GXI3.js} +2 -2
- package/dist/cdn/{3YNNQAH4.js → J3SAHM3P.js} +2 -2
- package/dist/cdn/{VYXM6RQX.js → J6Q67BBV.js} +2 -2
- package/dist/cdn/{CTAYOON3.js → JNLLYZ2O.js} +2 -2
- package/dist/cdn/{3V63Y5JC.js → JOONXIVB.js} +2 -2
- package/dist/cdn/JOQ6WBLO.js +4 -0
- package/dist/cdn/{ELM2CSYN.js → JXBS4OXQ.js} +2 -2
- package/dist/cdn/{JG4JWBCH.js → K2QFYVUB.js} +2 -2
- package/dist/cdn/{HIT44KOF.js → KG7MVX54.js} +2 -2
- package/dist/cdn/{CN64VWDD.js → KZLTAPSO.js} +2 -2
- package/dist/cdn/{MWSG6HB3.js → L5HYRSTO.js} +2 -2
- package/dist/cdn/{UTOSEVCL.js → L7CSVQ57.js} +2 -2
- package/dist/cdn/{2TN6FVE5.js → LDNVCKLL.js} +2 -2
- package/dist/cdn/{F7M7H6V4.js → LG73KJML.js} +2 -2
- package/dist/cdn/{OFGDSNY3.js → LOPDFWII.js} +2 -2
- package/dist/cdn/{IEXSIIFO.js → M77U74UG.js} +2 -2
- package/dist/cdn/{FQXFXQKP.js → MDTL2JR2.js} +1 -1
- package/dist/cdn/{D2BMJ3K5.js → MJINICMJ.js} +2 -2
- package/dist/cdn/{JMHPW6UL.js → MQUN5RN4.js} +2 -2
- package/dist/cdn/{VEZ7ERCR.js → MSCRPY2M.js} +2 -2
- package/dist/cdn/{JYATXYYE.js → MTVMUYMJ.js} +2 -2
- package/dist/cdn/{4BI3A644.js → MUE7QXB4.js} +2 -2
- package/dist/cdn/{75S2RNTT.js → NDB3FIXX.js} +2 -2
- package/dist/cdn/{IQIWMK6X.js → NU35QTZL.js} +2 -2
- package/dist/cdn/{JAKM6US6.js → O5GLAYBS.js} +2 -2
- package/dist/cdn/OY3FKLQO.js +4 -0
- package/dist/cdn/{6LKYWSFV.js → PDNFIR6Q.js} +2 -2
- package/dist/cdn/{T5M3ESIR.js → PPVONJBU.js} +2 -2
- package/dist/cdn/{4BMUSYIY.js → PQYCYEZL.js} +2 -2
- package/dist/cdn/PTRKFJ47.js +4 -0
- package/dist/cdn/{BCFFENCI.js → PVHI3EBP.js} +2 -2
- package/dist/cdn/{OJ3LBCKQ.js → PXYTGXT5.js} +2 -2
- package/dist/cdn/{MHCKBACK.js → QGEE6Z5Z.js} +2 -2
- package/dist/cdn/{DKHOLZ6W.js → QH4QD7AF.js} +2 -2
- package/dist/cdn/{SIX2YH57.js → QOCUXLEJ.js} +2 -2
- package/dist/cdn/{WZ6X7UTT.js → QQXUG23Y.js} +2 -2
- package/dist/cdn/{QD7GJTHQ.js → QS2OQX4S.js} +2 -2
- package/dist/cdn/{CW6SDZW2.js → QUCDP454.js} +2 -2
- package/dist/cdn/{6JXQOEHH.js → QZSCAUKX.js} +2 -2
- package/dist/cdn/RBPQBOG4.js +4 -0
- package/dist/cdn/{ZQPMVVLU.js → ROZF7EIA.js} +2 -2
- package/dist/cdn/{FINSESAJ.js → RQPOBAOX.js} +2 -2
- package/dist/cdn/{643NZBFI.js → RYS4Q5IE.js} +2 -2
- package/dist/cdn/{QNFJEMKN.js → S264JYUQ.js} +2 -2
- package/dist/cdn/{RFUVGWJN.js → S3UQQEFZ.js} +2 -2
- package/dist/cdn/{RCVHFXOP.js → S76LBKP3.js} +2 -2
- package/dist/cdn/{OOIKSYNY.js → SMTBGJMS.js} +2 -2
- package/dist/cdn/{5KQKZK35.js → SQ3JD2UB.js} +2 -2
- package/dist/cdn/{AHLGEIR7.js → SRPHEQQQ.js} +2 -2
- package/dist/cdn/{24DSCQYL.js → STDJCLCV.js} +2 -2
- package/dist/cdn/{VNARFLWG.js → SVEBGTYG.js} +2 -2
- package/dist/cdn/{JVEICMBD.js → T3GJMKTA.js} +2 -2
- package/dist/cdn/{JSUKVRWZ.js → T43TNC6H.js} +2 -2
- package/dist/cdn/{IZ7BNK7V.js → T566GPB3.js} +1 -1
- package/dist/cdn/{JIFN3HER.js → TFROKX36.js} +2 -2
- package/dist/cdn/{QGGPVFMR.js → TKP4SDGV.js} +2 -2
- package/dist/cdn/{JECO6DZ2.js → TM3I53QF.js} +2 -2
- package/dist/cdn/{SM5CS6YN.js → TMXMZLGX.js} +2 -2
- package/dist/cdn/{MDQYBME4.js → TN3B4YN3.js} +2 -2
- package/dist/cdn/{NCZN2PYY.js → TPAOZXIZ.js} +2 -2
- package/dist/cdn/{7I2I5LWH.js → TVKLFZV5.js} +2 -2
- package/dist/cdn/{RNGK6KCM.js → U7OF5277.js} +1 -1
- package/dist/cdn/{NAPV5O4A.js → V7UOWD7E.js} +2 -2
- package/dist/cdn/{QV5IJO2Z.js → VAPJHUGO.js} +2 -2
- package/dist/cdn/{H4ENQZZ6.js → VJ5YJUDE.js} +2 -2
- package/dist/cdn/{IUCXWMVG.js → VPTUFDR6.js} +2 -2
- package/dist/cdn/{DNJQ73I5.js → VQ2UXTI3.js} +2 -2
- package/dist/cdn/{NFFWFOUK.js → VXACP4UZ.js} +2 -2
- package/dist/cdn/{YYGATDC4.js → W2H64VYV.js} +2 -2
- package/dist/cdn/{NBHJJYZI.js → W5GC2P33.js} +2 -2
- package/dist/cdn/{EAAV6LOE.js → W6OLAJCB.js} +2 -2
- package/dist/cdn/{TS4WANDN.js → WD5GNKSQ.js} +2 -2
- package/dist/cdn/{PB2NX6NA.js → WMPAOBST.js} +2 -2
- package/dist/cdn/{BIIXXBNF.js → WQ3GXYHC.js} +2 -2
- package/dist/cdn/{W5YEXTVB.js → X27U64ED.js} +2 -2
- package/dist/cdn/{4MBYRGFB.js → XAJ2AY3D.js} +2 -2
- package/dist/cdn/{IKFNPJLQ.js → XC346EUN.js} +2 -2
- package/dist/cdn/{WQSJL2UM.js → XQ2DOUKC.js} +2 -2
- package/dist/cdn/{WAV7HNTH.js → XUNSBFAI.js} +2 -2
- package/dist/cdn/{GAHOYK5N.js → XUUQ5JNK.js} +2 -2
- package/dist/cdn/{32NBLHMR.js → XXE3OIAL.js} +2 -2
- package/dist/cdn/{OPZCFYWU.js → Y2SXV6M7.js} +2 -2
- package/dist/cdn/{MWC4Y3G2.js → Y64DOLL4.js} +2 -2
- package/dist/cdn/{72RYRDRX.js → Y65SKR5F.js} +2 -2
- package/dist/cdn/{W5CTUX2S.js → YJFBJQPC.js} +2 -2
- package/dist/cdn/{JJ5VVMGA.js → YJV72RFD.js} +2 -2
- package/dist/cdn/{MQ5RSCJ3.js → YL5Q6ATL.js} +2 -2
- package/dist/cdn/{75ZKTRQA.js → YR5FIELG.js} +2 -2
- package/dist/cdn/{H7ZG6EU3.js → YSVASPIO.js} +2 -2
- package/dist/cdn/{W7L6GQH3.js → YWJYHG22.js} +2 -2
- package/dist/cdn/{IIETA3OW.js → YXUDZO7O.js} +2 -2
- package/dist/cdn/{V5U2ICY6.js → YYUQGGZQ.js} +2 -2
- package/dist/cdn/{FIEEYQCA.js → ZS4IWUMC.js} +2 -2
- package/dist/cdn/{QMQKEUH2.js → ZWTZYUVE.js} +2 -2
- package/dist/cdn/{DUEHWUGW.js → ZYXFETBZ.js} +2 -2
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/interfaces.d.ts +2 -1
- package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +2 -1
- package/dist/chart-rendering/common/tooltips/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +61 -0
- package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/interfaces.d.ts +5 -0
- package/dist/chart-rendering/next/chart-library-elements/tooltips/interfaces.d.ts +4 -4
- package/dist/chart-rendering/next/defaults/index.d.ts +11 -0
- package/dist/chart-rendering/stable/chart-library-elements/axes/gauge/index.d.ts +1 -1
- package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +4 -1
- package/dist/chunks/action-bar-utils.js +3 -3
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +9 -9
- package/dist/chunks/bar-chart-series.js +2 -2
- package/dist/chunks/baseline-stacking.js +2 -2
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +32 -32
- package/dist/chunks/box-plot-model.js +12 -12
- package/dist/chunks/chart-ui-utils.js +2 -2
- package/dist/chunks/chart-ui-utils2.js +2 -2
- package/dist/chunks/combo-bar-line-chart-model.js +2 -2
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +3 -3
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +2 -2
- package/dist/chunks/histogram-data.js +6 -6
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +5959 -432
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +2 -2
- package/dist/chunks/interfaces.js +656 -567
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/line-chart-model.js +10 -10
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +2 -2
- package/dist/chunks/model-with-multi-axes.js +16 -16
- package/dist/chunks/model-with-rotation.js +2 -2
- package/dist/chunks/pie-chart-data.js +13 -13
- package/dist/chunks/pie-chart-model.js +2 -2
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +8 -8
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +10 -10
- package/dist/chunks/serial-chart-model.js +2 -2
- package/dist/chunks/series-types.js +50 -44
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/setup-utils.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +2 -2
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +15 -15
- package/dist/components/arcgis-chart/customElement.js +9857 -15176
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-format/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +158 -157
- package/dist/json-schema/index.d.ts +74 -0
- package/dist/loader.js +1 -1
- package/dist/model/interfaces/common.d.ts +1 -1
- package/dist/spec/chart-object-literals.d.ts +11 -1
- package/dist/spec/web-chart.d.ts +69 -4
- package/dist/utils/chart-config/converter/index.d.ts +30 -13
- package/dist/utils/layer/query-parser/index.d.ts +4 -0
- package/dist/utils/localization/interfaces.d.ts +10 -0
- package/dist/utils/misc/index.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cdn/32OWZWOV.js +0 -4
- package/dist/cdn/35KK7CKX.js +0 -4
- package/dist/cdn/3COY6C6Y.js +0 -4
- package/dist/cdn/AS7KTYSR.js +0 -4
- package/dist/cdn/ETY2SECN.js +0 -4
- package/dist/cdn/MA23MMTK.js +0 -58
- package/dist/cdn/TYL72ATI.js +0 -4
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/4.34/esri/copyright.txt for details.
|
|
5
|
-
v4.34.0-next.
|
|
5
|
+
v4.34.0-next.123 */
|
|
6
6
|
const o = t(e, {
|
|
7
7
|
"arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "actionMode,allowUsingObjectIdStat,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,cursorRange,dataLabelFormatter:,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:,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"],
|
|
@@ -134,5 +134,5 @@ export declare const ModelTypes: {
|
|
|
134
134
|
};
|
|
135
135
|
export type ModelTypes = (typeof ModelTypes)[keyof typeof ModelTypes];
|
|
136
136
|
export type ModelTypeToSeriesType<T extends ModelTypes> = T extends typeof ModelTypes.BarChart ? WebChartBarChartSeries : T extends typeof ModelTypes.LineChart ? WebChartLineChartSeries : T extends typeof ModelTypes.ComboBarLineChart ? WebChartBarChartSeries | WebChartLineChartSeries : T extends typeof ModelTypes.BoxPlot ? WebChartBoxPlotSeries | WebChartLineChartSeries : T extends typeof ModelTypes.PieChart ? WebChartPieChartSeries : T extends typeof ModelTypes.Scatterplot ? WebChartScatterplotSeries : T extends typeof ModelTypes.Histogram ? WebChartHistogramSeries : T extends typeof ModelTypes.Gauge ? WebChartGaugeSeries : T extends typeof ModelTypes.RadarChart ? WebChartRadarChartSeries : T extends typeof ModelTypes.HeatChart ? WebChartHeatChartSeries : SupportedChartSeries;
|
|
137
|
-
export type SeriesTypeToChartType<T extends SupportedChartSeries> = T extends WebChartBarChartSeries ? typeof WebChartTypes.BarSeries : T extends WebChartLineChartSeries ? typeof WebChartTypes.LineSeries : T extends WebChartBoxPlotSeries ? typeof WebChartTypes.BoxPlotSeries : T extends WebChartPieChartSeries ? typeof WebChartTypes.PieSeries : T extends WebChartScatterplotSeries ? typeof WebChartTypes.ScatterSeries : T extends WebChartHistogramSeries ? typeof WebChartTypes.HistogramSeries : T extends WebChartGaugeSeries ? typeof WebChartTypes.GaugeSeries : T extends WebChartRadarChartSeries ? typeof WebChartTypes.RadarSeries : T extends WebChartHeatChartSeries ? typeof WebChartTypes.
|
|
137
|
+
export type SeriesTypeToChartType<T extends SupportedChartSeries> = T extends WebChartBarChartSeries ? typeof WebChartTypes.BarSeries : T extends WebChartLineChartSeries ? typeof WebChartTypes.LineSeries : T extends WebChartBoxPlotSeries ? typeof WebChartTypes.BoxPlotSeries : T extends WebChartPieChartSeries ? typeof WebChartTypes.PieSeries : T extends WebChartScatterplotSeries ? typeof WebChartTypes.ScatterSeries : T extends WebChartHistogramSeries ? typeof WebChartTypes.HistogramSeries : T extends WebChartGaugeSeries ? typeof WebChartTypes.GaugeSeries : T extends WebChartRadarChartSeries ? typeof WebChartTypes.RadarSeries : T extends WebChartHeatChartSeries ? typeof WebChartTypes.HeatSeries : never;
|
|
138
138
|
export type ModelOfType<T> = T extends typeof ModelTypes.BoxPlot ? BoxPlotModel : T extends typeof ModelTypes.LineChart ? LineChartModel : T extends typeof ModelTypes.ComboBarLineChart ? ComboBarLineChartModel : T extends typeof ModelTypes.PieChart ? PieChartModel : T extends typeof ModelTypes.Scatterplot ? ScatterplotModel : T extends typeof ModelTypes.Histogram ? HistogramModel : T extends typeof ModelTypes.Gauge ? GaugeModel : T extends typeof ModelTypes.RadarChart ? RadarChartModel : T extends typeof ModelTypes.HeatChart ? never : BarChartModel;
|
|
@@ -22,7 +22,7 @@ export declare const WebChartTypes: {
|
|
|
22
22
|
readonly BoxPlotSeries: "boxPlotSeries";
|
|
23
23
|
readonly RadarSeries: "radarSeries";
|
|
24
24
|
readonly ComboLineAndBarSeries: "comboLineAndBarSeries";
|
|
25
|
-
readonly
|
|
25
|
+
readonly HeatSeries: "heatSeries";
|
|
26
26
|
readonly Buffer: "buffer";
|
|
27
27
|
readonly SizePolicy: "sizeScale";
|
|
28
28
|
readonly CalendarDateParts: "calendarDateParts";
|
|
@@ -114,6 +114,9 @@ export declare const WebChartCalendarDatePartsUnits: {
|
|
|
114
114
|
readonly DayOfYear: "dayOfYear";
|
|
115
115
|
readonly HourOfDay: "hourOfDay";
|
|
116
116
|
readonly MonthOfYear: "monthOfYear";
|
|
117
|
+
readonly MinuteOfDay: "minuteOfDay";
|
|
118
|
+
readonly WeekOfYear: "weekOfYear";
|
|
119
|
+
readonly QuarterOfYear: "quarterOfYear";
|
|
117
120
|
};
|
|
118
121
|
export type WebChartCalendarDatePartsUnits = (typeof WebChartCalendarDatePartsUnits)[keyof typeof WebChartCalendarDatePartsUnits];
|
|
119
122
|
/**
|
|
@@ -126,6 +129,13 @@ export declare const WebChartCalendarBinningOffsetUnits: {
|
|
|
126
129
|
readonly Day: "days";
|
|
127
130
|
};
|
|
128
131
|
export type WebChartCalendarBinningOffsetUnits = (typeof WebChartCalendarBinningOffsetUnits)[keyof typeof WebChartCalendarBinningOffsetUnits];
|
|
132
|
+
/**
|
|
133
|
+
* Represents the different types of heat rule that can be applied to a heat chart.
|
|
134
|
+
*/
|
|
135
|
+
export declare const WebChartHeatChartHeatRulesTypes: {
|
|
136
|
+
readonly Gradient: "gradient";
|
|
137
|
+
};
|
|
138
|
+
export type WebChartHeatChartHeatRulesTypes = (typeof WebChartHeatChartHeatRulesTypes)[keyof typeof WebChartHeatChartHeatRulesTypes];
|
|
129
139
|
/**
|
|
130
140
|
* Represents the different types of null policy that can be applied to a chart using the time binning feature.
|
|
131
141
|
*/
|
package/dist/spec/web-chart.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
import { GaugeChartSubTypes, SizePolicyScaleTypes, WebChartCalendarDatePartsUnits, WebChartDataTransformations, WebChartDirectionalDataOrder, WebChartLabelBehavior, WebChartLegendPositions, WebChartNullPolicyTypes, WebChartOrderSeriesBy, WebChartPredefinedLabelsDataOrder, WebChartRadarChartAxisLabelsOrientation, WebChartStackedKinds, WebChartTemporalBinningUnits, WebChartTimeAggregationTypes, WebChartTypes } from './chart-object-literals';
|
|
2
|
+
import { GaugeChartSubTypes, SizePolicyScaleTypes, WebChartCalendarDatePartsUnits, WebChartDataTransformations, WebChartDirectionalDataOrder, WebChartHeatChartHeatRulesTypes, WebChartLabelBehavior, WebChartLegendPositions, WebChartNullPolicyTypes, WebChartOrderSeriesBy, WebChartPredefinedLabelsDataOrder, WebChartRadarChartAxisLabelsOrientation, WebChartStackedKinds, WebChartTemporalBinningUnits, WebChartTimeAggregationTypes, WebChartTypes } from './chart-object-literals';
|
|
3
3
|
import { TimeIntervalInfo } from './data-source';
|
|
4
4
|
import { RESTUnits } from './rest-js-object-literals';
|
|
5
5
|
import { Color, IDrawingInfo, IEnvelope, IExtent, IFeatureLayer, IPoint, IPolygon, IPolygonWithCurves, IPolyline, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol, IStatisticDefinition, ITextSymbol } from './rest-js-types';
|
|
6
6
|
/**
|
|
7
7
|
* Version of the current specification.
|
|
8
8
|
*/
|
|
9
|
-
export declare const WebChartCurrentVersion = "24.
|
|
9
|
+
export declare const WebChartCurrentVersion = "24.1.0";
|
|
10
10
|
/**
|
|
11
11
|
* Stores information regarding a numeric conversion
|
|
12
12
|
*/
|
|
@@ -395,6 +395,7 @@ export interface WebChartAxis {
|
|
|
395
395
|
/**
|
|
396
396
|
* The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size.
|
|
397
397
|
* When not provided a default value is assigned according to the axis type and axis labels behavior.
|
|
398
|
+
* @remarks This property only applies for axes of an XYChart, not Gauge.
|
|
398
399
|
* @minimum 1
|
|
399
400
|
*/
|
|
400
401
|
tickSpacing?: number;
|
|
@@ -727,8 +728,11 @@ interface WebChartTemporalBinningExtras {
|
|
|
727
728
|
*/
|
|
728
729
|
outTimeZone?: string;
|
|
729
730
|
/**
|
|
730
|
-
* The first day of the week. This property is used to determine the start of the week for date-based bins. The default value
|
|
731
|
+
* The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one).
|
|
731
732
|
* Current limitation: this is applied only when the provided layer supports the `queryBins` operation.
|
|
733
|
+
* @minimum 1
|
|
734
|
+
* @maximum 7
|
|
735
|
+
* @multipleOf 1
|
|
732
736
|
*/
|
|
733
737
|
firstDayOfWeek?: number;
|
|
734
738
|
/**
|
|
@@ -1258,11 +1262,43 @@ export interface WebChartBoxPlotSeries extends WebChartSeries {
|
|
|
1258
1262
|
*/
|
|
1259
1263
|
fillSymbol?: ISimpleFillSymbol;
|
|
1260
1264
|
}
|
|
1265
|
+
/**
|
|
1266
|
+
* JSON representation of the Heat chart - gradient type specific
|
|
1267
|
+
*/
|
|
1268
|
+
export interface WebChartHeatChartGradient {
|
|
1269
|
+
/**
|
|
1270
|
+
* An array of 2 colors to use for the gradient. The first color represents the minimum value, the second color represents the maximum value.
|
|
1271
|
+
*
|
|
1272
|
+
*/
|
|
1273
|
+
colorList?: [Color, Color];
|
|
1274
|
+
/**
|
|
1275
|
+
* Specifies the custom minimum value for the heat chart. If none is provided, the minimum value from the dataset will be used.
|
|
1276
|
+
*/
|
|
1277
|
+
minValue?: number;
|
|
1278
|
+
/**
|
|
1279
|
+
* Specifies the custom maximum value for the heat chart. If none is provided, the maximum value from the dataset will be used.
|
|
1280
|
+
*/
|
|
1281
|
+
maxValue?: number;
|
|
1282
|
+
/**
|
|
1283
|
+
* Specifies the color to use for the items outside the lower range specified by minValue. If none is provided,
|
|
1284
|
+
* the default color will be used.
|
|
1285
|
+
*
|
|
1286
|
+
* @default [250, 250, 250, 255] - white
|
|
1287
|
+
*/
|
|
1288
|
+
outsideRangeLowerColor?: Color;
|
|
1289
|
+
/**
|
|
1290
|
+
* Specifies the color to use for the items outside the upper range specified by maxValue. If none is provided,
|
|
1291
|
+
* the default color will be used.
|
|
1292
|
+
*
|
|
1293
|
+
* @default [0, 0, 255, 255] - blue
|
|
1294
|
+
*/
|
|
1295
|
+
outsideRangeUpperColor?: Color;
|
|
1296
|
+
}
|
|
1261
1297
|
/**
|
|
1262
1298
|
* JSON representation of the Heat chart series
|
|
1263
1299
|
*/
|
|
1264
1300
|
export interface WebChartHeatChartSeries extends WebChartSeries {
|
|
1265
|
-
type: typeof WebChartTypes.
|
|
1301
|
+
type: typeof WebChartTypes.HeatSeries;
|
|
1266
1302
|
/**
|
|
1267
1303
|
* Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.
|
|
1268
1304
|
* @minLength 1
|
|
@@ -1276,6 +1312,35 @@ export interface WebChartHeatChartSeries extends WebChartSeries {
|
|
|
1276
1312
|
* Describes how to bin the temporal data when the y-axis field is a date.
|
|
1277
1313
|
*/
|
|
1278
1314
|
yTemporalBinning?: WebChartCalendarDatePartsBinning;
|
|
1315
|
+
/**
|
|
1316
|
+
* Defines the type of rule to apply for the heat chart.
|
|
1317
|
+
*
|
|
1318
|
+
* @default WebChartHeatChartHeatRulesTypes.Gradient
|
|
1319
|
+
*/
|
|
1320
|
+
heatRuleType?: WebChartHeatChartHeatRulesTypes;
|
|
1321
|
+
/**
|
|
1322
|
+
* Specifies the details of the gradient rules for the heat chart.
|
|
1323
|
+
*/
|
|
1324
|
+
gradientRules?: WebChartHeatChartGradient;
|
|
1325
|
+
/**
|
|
1326
|
+
* Specifies how to display items with no data, in term of text and color.
|
|
1327
|
+
*/
|
|
1328
|
+
noData?: {
|
|
1329
|
+
/**
|
|
1330
|
+
* Specifies the text to use for the item with no data.
|
|
1331
|
+
* If none is provided, the default `null` text will be used.
|
|
1332
|
+
*
|
|
1333
|
+
* @default `null`
|
|
1334
|
+
*/
|
|
1335
|
+
text?: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* Specifies the color to use for the item with no data.
|
|
1338
|
+
* If none is provided, the default color will be used.
|
|
1339
|
+
*
|
|
1340
|
+
* @default [150, 150, 150, 255] - light gray
|
|
1341
|
+
*/
|
|
1342
|
+
color?: Color;
|
|
1343
|
+
};
|
|
1279
1344
|
}
|
|
1280
1345
|
export type WebChartRadarChartSeries = WebChartLineChartSeries<"radarSeries">;
|
|
1281
1346
|
/**
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import { FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
|
|
2
|
-
import { SupportedLayer, WebBoxPlot, WebChart, WebChartBoxPlotSeries, WebChartDirectionalDataOrder, WebChartLineChartSeries, WebGaugeChart, WebChartOrderDataByTypes } from '../../../spec';
|
|
2
|
+
import { SupportedLayer, WebBoxPlot, WebChart, WebChartBoxPlotSeries, WebChartDirectionalDataOrder, WebChartLineChartSeries, WebGaugeChart, WebHeatChart, WebChartOrderDataByTypes } from '../../../spec';
|
|
3
3
|
import { FormerWebChartBoxPlotDataSortTypes, FormerWebChartDataValueTypes } from './interfaces';
|
|
4
|
+
/** ***********************************************************************************
|
|
5
|
+
* *
|
|
6
|
+
* Routines that handle adjustments/conversions for chart regardless of chart version.*
|
|
7
|
+
* These will be called in `applyMandatoryConversions()`.
|
|
8
|
+
* *
|
|
9
|
+
************************************************************************************ */
|
|
10
|
+
/**
|
|
11
|
+
* Applies the default first day of the week to the heat chart config if not already set, using the user's locale.
|
|
12
|
+
* @param configToUpdate The config to update
|
|
13
|
+
* @param chartContainer The chart's container
|
|
14
|
+
*/
|
|
15
|
+
declare function applyDefaultFirstDayOfWeek(configToUpdate: WebChart | WebHeatChart, chartContainer?: HTMLElement): WebChart | WebHeatChart;
|
|
4
16
|
/**
|
|
5
17
|
* Matches the config properties that have field names which mismatch the layer data source fields.
|
|
6
18
|
*
|
|
@@ -55,6 +67,17 @@ declare function convertDataSourceToILayer(configToUpdate: WebChart): WebChart;
|
|
|
55
67
|
* @param configToUpdate The config to update
|
|
56
68
|
*/
|
|
57
69
|
declare function preventDuplicatedIds(configToUpdate: WebChart): WebChart;
|
|
70
|
+
/**
|
|
71
|
+
* Applies mandatory conversions that should be applied to all chart types and versions.
|
|
72
|
+
* @param props.configToUpdate The chart's config to update
|
|
73
|
+
* @param props.layer The layer instance
|
|
74
|
+
* @param props.chartContainer The chart container element
|
|
75
|
+
*/
|
|
76
|
+
declare function applyMandatoryConversions(props: {
|
|
77
|
+
configToUpdate: WebChart;
|
|
78
|
+
layer?: SupportedLayer;
|
|
79
|
+
chartContainer?: HTMLElement;
|
|
80
|
+
}): Promise<WebChart>;
|
|
58
81
|
/**
|
|
59
82
|
* This function renames the orderByFields field name from `arcgis_charts_pie_category_from_fields_name`
|
|
60
83
|
* to `defaultPieFromFieldsName` (or `arcgis_charts_pie_from_fields_name`)
|
|
@@ -226,13 +249,6 @@ declare function renameChartSubtitle(configToUpdate: WebChart): WebChart;
|
|
|
226
249
|
* @param configToUpdate The chart's config to update
|
|
227
250
|
*/
|
|
228
251
|
declare function convertTemporalBinningProps2(configToUpdate: WebChart): WebChart;
|
|
229
|
-
/** **********************************************************************************************************
|
|
230
|
-
* *
|
|
231
|
-
* Conversion functions to be called in `convertChartSpec()` *
|
|
232
|
-
* For ease of maintenance, it's recommended to name the functions as `convertTo<major>x<minor>x<patch>()` *
|
|
233
|
-
* *
|
|
234
|
-
*********************************************************************************************************** */
|
|
235
|
-
declare function convertTo1x0x0(configToUpdate: WebChart, layer?: SupportedLayer): Promise<WebChart>;
|
|
236
252
|
/**
|
|
237
253
|
* Conversions for 1.0.1:
|
|
238
254
|
* - orderByField adjustment for PieFromFields
|
|
@@ -368,12 +384,12 @@ declare function convertTo21x1x0(configToUpdate: WebChart): WebChart;
|
|
|
368
384
|
*/
|
|
369
385
|
declare function convertTo23x3x0(configToUpdate: WebChart): WebChart;
|
|
370
386
|
/**
|
|
371
|
-
* Conversion for v24.
|
|
387
|
+
* Conversion for v24.1.0:
|
|
372
388
|
* - Converts the temporal binning properties from the old pattern to the new pattern
|
|
373
389
|
* @param configToUpdate The chart's config to update
|
|
374
390
|
* @returns The updated chart config
|
|
375
391
|
*/
|
|
376
|
-
declare function
|
|
392
|
+
declare function convertTo24x1x0(configToUpdate: WebChart): WebChart;
|
|
377
393
|
/**
|
|
378
394
|
* Apply the needed function calls depending on the current chart version.
|
|
379
395
|
* Note: Additional switch cases and convertToxxx functions are to be added to this function accordingly.
|
|
@@ -408,7 +424,7 @@ declare function applyConversions<T extends WebChart>(props: {
|
|
|
408
424
|
*
|
|
409
425
|
* @returns the updated web chart config.
|
|
410
426
|
*/
|
|
411
|
-
export declare function convertChartSpec<T extends WebChart | WebGaugeChart>(config?: T, layerOrLayerView?: FeatureLayerView | SupportedLayer): Promise<T>;
|
|
427
|
+
export declare function convertChartSpec<T extends WebChart | WebGaugeChart>(config?: T, layerOrLayerView?: FeatureLayerView | SupportedLayer, chartContainer?: HTMLElement): Promise<T>;
|
|
412
428
|
export declare const chartConfigConverterPrivateFunctions: {
|
|
413
429
|
matchChartFieldsToLayerFields: typeof matchChartFieldsToLayerFields;
|
|
414
430
|
moveSeriesQueryExtent: typeof moveSeriesQueryExtent;
|
|
@@ -436,7 +452,7 @@ export declare const chartConfigConverterPrivateFunctions: {
|
|
|
436
452
|
convertTemporalBinningProps: typeof convertTemporalBinningProps;
|
|
437
453
|
convertRESTStatisticTypeToWebChartStatisticType: typeof convertRESTStatisticTypeToWebChartStatisticType;
|
|
438
454
|
renameChartSubtitle: typeof renameChartSubtitle;
|
|
439
|
-
|
|
455
|
+
applyMandatoryConversions: typeof applyMandatoryConversions;
|
|
440
456
|
convertTo1x0x1: typeof convertTo1x0x1;
|
|
441
457
|
convertTo2x0x0: typeof convertTo2x0x0;
|
|
442
458
|
convertTo3x5x0: typeof convertTo3x5x0;
|
|
@@ -456,9 +472,10 @@ export declare const chartConfigConverterPrivateFunctions: {
|
|
|
456
472
|
convertTo20x2x0: typeof convertTo20x2x0;
|
|
457
473
|
convertTo21x1x0: typeof convertTo21x1x0;
|
|
458
474
|
convertTo23x3x0: typeof convertTo23x3x0;
|
|
459
|
-
|
|
475
|
+
convertTo24x1x0: typeof convertTo24x1x0;
|
|
460
476
|
convertTemporalBinningProps2: typeof convertTemporalBinningProps2;
|
|
461
477
|
applyConversions: typeof applyConversions;
|
|
462
478
|
convertDataSourceToILayer: typeof convertDataSourceToILayer;
|
|
479
|
+
applyDefaultFirstDayOfWeek: typeof applyDefaultFirstDayOfWeek;
|
|
463
480
|
};
|
|
464
481
|
export {};
|
|
@@ -92,6 +92,8 @@ export declare function getCalendarDatePartsParameters(props: {
|
|
|
92
92
|
* @param props.y The y field
|
|
93
93
|
* @param props.xTemporalBinning The x temporal binning configuration
|
|
94
94
|
* @param props.yTemporalBinning The y temporal binning configuration
|
|
95
|
+
* @param props.firstDayOfWeek The first day of the week, used for date-based bins
|
|
96
|
+
* @param props.outTimeZone The IANA time zone used for temporal bin calculations
|
|
95
97
|
*/
|
|
96
98
|
export declare function mapAttributeBinsQueryForHeatChart(props: {
|
|
97
99
|
queryObject?: QueryObject;
|
|
@@ -100,6 +102,8 @@ export declare function mapAttributeBinsQueryForHeatChart(props: {
|
|
|
100
102
|
y: string;
|
|
101
103
|
xTemporalBinning?: WebChartHeatChartSeries["xTemporalBinning"];
|
|
102
104
|
yTemporalBinning?: WebChartHeatChartSeries["yTemporalBinning"];
|
|
105
|
+
firstDayOfWeek?: number;
|
|
106
|
+
outTimeZone?: string;
|
|
103
107
|
}): Promise<AttributeBinsQuery>;
|
|
104
108
|
/**
|
|
105
109
|
* Maps properties from a WebChartQuery and properties specific to temporal binning into an AttributeBinsQuery object.
|
|
@@ -49,6 +49,11 @@ declare const CommonStringsIdentity: (value: {
|
|
|
49
49
|
};
|
|
50
50
|
notAvailable: string;
|
|
51
51
|
field: string;
|
|
52
|
+
dayOfWeek: string;
|
|
53
|
+
monthOfYear: string;
|
|
54
|
+
dayOfMonth: string;
|
|
55
|
+
hourOfDay: string;
|
|
56
|
+
dayOfYear: string;
|
|
52
57
|
};
|
|
53
58
|
errorStrings: {
|
|
54
59
|
errorHeading: string;
|
|
@@ -291,6 +296,11 @@ declare const CommonStringsIdentity: (value: {
|
|
|
291
296
|
};
|
|
292
297
|
notAvailable: string;
|
|
293
298
|
field: string;
|
|
299
|
+
dayOfWeek: string;
|
|
300
|
+
monthOfYear: string;
|
|
301
|
+
dayOfMonth: string;
|
|
302
|
+
hourOfDay: string;
|
|
303
|
+
dayOfYear: string;
|
|
294
304
|
};
|
|
295
305
|
errorStrings: {
|
|
296
306
|
errorHeading: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IField, LegendItemVisibility, WebBoxPlot, WebChart, WebChartDataItem, WebChartDataItemValue, WebChartSeries, WebChartStackedKinds, OverlayTerms, WebChartSortOrderKinds, WebChartTemporalBinningUnits, WebChartTypes } from '../../spec';
|
|
2
2
|
import { ChartElementLimit } from '../defaults/interfaces';
|
|
3
3
|
import { SelectionData, ChartSubType } from './interfaces';
|
|
4
|
-
type WebChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.BoxPlotSeries | typeof WebChartTypes.ComboLineAndBarSeries | typeof WebChartTypes.GaugeSeries | typeof WebChartTypes.
|
|
4
|
+
type WebChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.BoxPlotSeries | typeof WebChartTypes.ComboLineAndBarSeries | typeof WebChartTypes.GaugeSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.HistogramSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.PieSeries | typeof WebChartTypes.RadarSeries | typeof WebChartTypes.ScatterSeries;
|
|
5
5
|
type XYChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.BoxPlotSeries | typeof WebChartTypes.ComboLineAndBarSeries | typeof WebChartTypes.HistogramSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.RadarSeries | typeof WebChartTypes.ScatterSeries;
|
|
6
6
|
type SerialChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.ComboLineAndBarSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.RadarSeries;
|
|
7
|
-
type SupportedChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.BoxPlotSeries | typeof WebChartTypes.
|
|
7
|
+
type SupportedChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.BoxPlotSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.HistogramSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.PieSeries | typeof WebChartTypes.RadarSeries | typeof WebChartTypes.ScatterSeries;
|
|
8
8
|
export type ChartTypes = Extract<WebChartTypes, WebChartType>;
|
|
9
9
|
export type XYChartTypes = Extract<WebChartTypes, XYChartType>;
|
|
10
10
|
export type SerialChartTypes = Extract<WebChartTypes, SerialChartType>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "4.34.0-next.
|
|
3
|
+
"version": "4.34.0-next.123",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@amcharts/amcharts4": "^4.10.31",
|
|
30
|
-
"@amcharts/amcharts5": "^5.13.
|
|
31
|
-
"@arcgis/lumina": "4.34.0-next.
|
|
32
|
-
"@arcgis/toolkit": "4.34.0-next.
|
|
30
|
+
"@amcharts/amcharts5": "^5.13.5",
|
|
31
|
+
"@arcgis/lumina": "4.34.0-next.123",
|
|
32
|
+
"@arcgis/toolkit": "4.34.0-next.123",
|
|
33
33
|
"ajv": "6.12.6",
|
|
34
34
|
"d3-array": "^3.2.1",
|
|
35
35
|
"d3-shape": "^3.2.0",
|
package/dist/cdn/32OWZWOV.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.121 */
|
|
4
|
-
import{b as P}from"./PB2NX6NA.js";import d from"./NAPV5O4A.js";import"./6LKYWSFV.js";import{a as x}from"./IKFNPJLQ.js";import"./RNGK6KCM.js";import c from"./XWATM26Z.js";import{B as b,S}from"./35KK7CKX.js";import"./A55DI3E4.js";import{A as l,F as u,g as C,h as n,l as a,w as f,x as v,y}from"./NX2CLI7H.js";import"./ULR72CV3.js";export default $arcgis.t(([,,,,,,,{v:c},{h:$}])=>{var h={jsAppFlyout:"js-app-flyout",panelChildrenContainer:"panel-children-container"},w=C`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`,p=class extends y{constructor(){super(...arguments),this._messages=x(),this.popoverElement=f(),this.isLineSymbol=!1,this.arcgisChartsConfigPopoverClose=a(),this.arcgisChartsConfigSeriesPopoverColorChange=a(),this.arcgisChartsConfigSeriesPopoverLineStyleChange=a(),this.arcgisChartsConfigSeriesPopoverLineWidthChange=a(),this.arcgisChartsConfigSeriesPopoverNameChange=a()}static{this.properties={messageOverrides:0,referenceElement:2,selectedName:3,selectedColor:2,selectedLineStyle:3,selectedLineWidth:11,selectedSeriesIndex:11,isLineSymbol:7,placement:3,open:7,labelCanBeConfigured:7}}static{this.styles=w}async reposition(){await this.popoverElement.value?.reposition()}updated(){P(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},$.PopoverTimer)}seriesNameChange(e){let t=e.target.value;this.selectedName!==t&&(this.selectedName=t,this.arcgisChartsConfigSeriesPopoverNameChange.emit({name:t}))}closePopover(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}colorChange(e){let t=e instanceof CustomEvent?e.detail:e,[s,i,o]=t,r=c*255;this.selectedColor=[s,i,o,r],this.arcgisChartsConfigSeriesPopoverColorChange.emit({color:[s,i,o,r]})}lineSymbolChange(e){let{lineStyle:t}=e.target,{color:s,style:i,width:o}=t;if(s!==void 0&&!S(s,this.selectedColor)){let[r,d,m]=s,g=c*255;this.selectedColor=[r,d,m,g],this.arcgisChartsConfigSeriesPopoverColorChange.emit({color:[r,d,m,g]})}i!==void 0&&i!==this.selectedLineStyle&&(this.selectedLineStyle=i,this.arcgisChartsConfigSeriesPopoverLineStyleChange.emit({style:i})),o!==void 0&&o!==this.selectedLineWidth&&(this.selectedLineWidth=o,this.arcgisChartsConfigSeriesPopoverLineWidthChange.emit({width:o}))}render(){let e=this.selectedColor;return n`<div class=${l({[h.jsAppFlyout]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${v(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}>${this.labelCanBeConfigured?n`<div class=${l(h.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div>`:null}<div class=${l(h.panelChildrenContainer)}>${this.isLineSymbol?n`<arcgis-charts-config-line-style .open=${this.open} enable-close .lineStyle=${{type:b.SLS,style:this.selectedLineStyle,width:this.selectedLineWidth,color:e}} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>`:n`<arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @colorSelect=${this.colorChange}></arcgis-charts-config-colors>`}</div></calcite-panel></calcite-popover></div>`}};u("arcgis-charts-config-box-plot-series-popover",p);return p},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",c,d)
|
package/dist/cdn/35KK7CKX.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.121 */
|
|
4
|
-
var rr={Chart:"chart",Text:"chartText",Overlay:"chartOverlay",Overlays:"chartOverlays",Legend:"chartLegend",CursorCrosshair:"cursorCrosshair",Axis:"chartAxis",GaugeAxisTick:"gaugeAxisTick",GaugeNeedle:"gaugeNeedle",CategoryAxisFormat:"category",NumberAxisFormat:"number",DateAxisFormat:"date",Guide:"chartGuide",ScatterSeries:"scatterSeries",PieSeries:"pieSeries",PieTick:"pieTick",GaugeSeries:"gaugeSeries",LineSeries:"lineSeries",BarSeries:"barSeries",HistogramSeries:"histogramSeries",BoxPlotSeries:"boxPlotSeries",RadarSeries:"radarSeries",ComboLineAndBarSeries:"comboLineAndBarSeries",HeatChartSeries:"heatSeries",Buffer:"buffer",SizePolicy:"sizeScale",CalendarDateParts:"calendarDateParts"},sa={Count:"count",Sum:"sum",Minimum:"min",Maximum:"max",Average:"avg",StandardDeviation:"stddev",Variance:"var",ContinuousPercentile:"percentile-continuous",DiscretePercentile:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate",NoAggregation:"no_aggregation"},qm={None:"none",Log:"logarithmic",Sqrt:"squareRoot"},Km={Single:"singleColor",Match:"colorMatch"},Ym={Left:"left",Right:"right",Top:"top",Bottom:"bottom"},$m={Side:"sideBySide",Stacked:"stacked",Stacked100:"stacked100"},km={Side:"sideBySide",MeanLines:"meanLines"},pa={Ascending:"ASC",Descending:"DESC"},Vm={statisticType:sa.Count,sortingOrder:pa.Ascending},Xm={Bezier:"bezier",MonotoneX:"monotoneX",MonotoneY:"monotoneY"},Jm={Second:"seconds",Minute:"minutes",Hour:"hours",Day:"days",Week:"weeks",Month:"months",Quarter:"quarters",Year:"years"},Zm={DayOfMonth:"dayOfMonth",DayOfWeek:"dayOfWeek",DayOfYear:"dayOfYear",HourOfDay:"hourOfDay",MonthOfYear:"monthOfYear"};var Qm={Null:"null",Zero:"zero",Interpolate:"interpolate"},rl={Start:"equalIntervalsFromStartTime",End:"equalIntervalsFromEndTime"},el={Hide:"hide",Rotate:"rotate",Stagger:"stagger",Wrap:"wrap"},tl={Same:"same",Newer:"newer",Older:"older",Unrecognized:"unrecognized"},ol={Value:"value",Date:"date",Category:"category"},al={FeatureGauge:"featureGauge",StatisticGauge:"statisticGauge"},fl={Linear:"linear",Logarithmic:"logarithmic"},il={Radial:"radial",Circular:"circular",Horizontal:"horizontal"},nl={YValue:"arcgis-charts-y-value",Mean:"arcgis-charts-mean",Median:"arcgis-charts-median",Category:"arcgis-charts-category"},sl={Blob:"esriFieldTypeBlob",Date:"esriFieldTypeDate",DateOnly:"esriFieldTypeDateOnly",TimestampOffset:"esriFieldTypeTimestampOffset",Double:"esriFieldTypeDouble",Geometry:"esriFieldTypeGeometry",GlobalID:"esriFieldTypeGlobalID",GUID:"esriFieldTypeGUID",Integer:"esriFieldTypeInteger",SmallInteger:"esriFieldTypeSmallInteger",BigInteger:"esriFieldTypeBigInteger",OID:"esriFieldTypeOID",Raster:"esriFieldTypeRaster",Single:"esriFieldTypeSingle",String:"esriFieldTypeString",XML:"esriFieldTypeXML"},pl={Dash:"esriSLSDash",DashDot:"esriSLSDashDot",DashDotDot:"esriSLSDashDotDot",Dot:"esriSLSDot",Null:"esriSLSNull",Solid:"esriSLSSolid"},ul={Circle:"esriSMSCircle",Cross:"esriSMSCross",Diamond:"esriSMSDiamond",Square:"esriSMSSquare",X:"esriSMSX",Triangle:"esriSMSTriangle"},ml={BackwardDiagonal:"esriSFSBackwardDiagonal",Cross:"esriSFSCross",DiagonalCross:"esriSFSDiagonalCross",ForwardDiagonal:"esriSFSForwardDiagonal",Horizontal:"esriSFSHorizontal",Null:"esriSFSNull",Solid:"esriSFSSolid",Vertical:"esriSFSVertical"},ll={Left:"left",Right:"right",Center:"center",Justify:"justify"},dl={Baseline:"baseline",Top:"top",Middle:"middle",Bottom:"bottom"},cl={SLS:"esriSLS",SMS:"esriSMS",SFS:"esriSFS",PMS:"esriPMS",PFS:"esriPFS",TS:"esriTS"},xl={Italic:"italic",Normal:"normal",Oblique:"oblique"},gl={Bold:"bold",Bolder:"bolder",Lighter:"lighter",Normal:"normal"},yl={LineThrough:"line-through",Underline:"underline",None:"none"},hl={UniqueValue:"unique-value",Simple:"simple",ClassBreaks:"class-breaks",Heatmap:"heatmap",DotDensity:"dot-density",Dictionary:"dictionary",PieChart:"pie-chart"},bl={Feet:"feet",Miles:"miles",NauticalMiles:"nautical-miles",USNauticalMiles:"us-nautical-miles",Meters:"meters",Kilometers:"kilometers"};function ua(r){return r.size===2&&r.has(rr.LineSeries)&&r.has(rr.BarSeries)}function ma(r){return r.size===2&&r.has(rr.LineSeries)&&r.has(rr.BoxPlotSeries)||r.size===1&&r.has(rr.BoxPlotSeries)}function Sl(r,e){let t;if(r!==void 0&&r.length>0)if(e!==void 0&&e>=0&&e<r.length)t=r[e].type;else{let o=new Set(r.map(i=>i.type)),a=ua(o),f=ma(o);a===!0?t=rr.ComboLineAndBarSeries:f?t=rr.BoxPlotSeries:o.size>=2?t=void 0:t=r[0].type}return t}function Tl(r,e=!0){return e?r?.xTemporalBinning:r?.yTemporalBinning}var la=Array.isArray,d=la;function da(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}var g=da;var ca=/\s/;function xa(r){for(var e=r.length;e--&&ca.test(r.charAt(e)););return e}var Se=xa;var ga=/^\s+/;function ya(r){return r&&r.slice(0,Se(r)+1).replace(ga,"")}var Te=ya;var ha=typeof global=="object"&&global&&global.Object===Object&&global,Lr=ha;var ba=typeof self=="object"&&self&&self.Object===Object&&self,Sa=Lr||ba||Function("return this")(),y=Sa;var Ta=y.Symbol,O=Ta;var Ae=Object.prototype,Aa=Ae.hasOwnProperty,va=Ae.toString,Or=O?O.toStringTag:void 0;function Oa(r){var e=Aa.call(r,Or),t=r[Or];try{r[Or]=void 0;var o=!0}catch{}var a=va.call(r);return o&&(e?r[Or]=t:delete r[Or]),a}var ve=Oa;var _a=Object.prototype,Ca=_a.toString;function wa(r){return Ca.call(r)}var Oe=wa;var Pa="[object Null]",Ia="[object Undefined]",_e=O?O.toStringTag:void 0;function Ma(r){return r==null?r===void 0?Ia:Pa:_e&&_e in Object(r)?ve(r):Oe(r)}var C=Ma;function La(r){return r!=null&&typeof r=="object"}var h=La;var ja="[object Symbol]";function Ea(r){return typeof r=="symbol"||h(r)&&C(r)==ja}var I=Ea;var Ce=NaN,Da=/^[-+]0x[0-9a-f]+$/i,Fa=/^0b[01]+$/i,Ba=/^0o[0-7]+$/i,Ra=parseInt;function Na(r){if(typeof r=="number")return r;if(I(r))return Ce;if(g(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=g(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=Te(r);var t=Fa.test(r);return t||Ba.test(r)?Ra(r.slice(2),t?2:8):Da.test(r)?Ce:+r}var jr=Na;function Ga(){this.__data__=[],this.size=0}var we=Ga;function Ua(r,e){return r===e||r!==r&&e!==e}var D=Ua;function Wa(r,e){for(var t=r.length;t--;)if(D(r[t][0],e))return t;return-1}var q=Wa;var za=Array.prototype,Ha=za.splice;function qa(r){var e=this.__data__,t=q(e,r);if(t<0)return!1;var o=e.length-1;return t==o?e.pop():Ha.call(e,t,1),--this.size,!0}var Pe=qa;function Ka(r){var e=this.__data__,t=q(e,r);return t<0?void 0:e[t][1]}var Ie=Ka;function Ya(r){return q(this.__data__,r)>-1}var Me=Ya;function $a(r,e){var t=this.__data__,o=q(t,r);return o<0?(++this.size,t.push([r,e])):t[o][1]=e,this}var Le=$a;function ar(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var o=r[e];this.set(o[0],o[1])}}ar.prototype.clear=we;ar.prototype.delete=Pe;ar.prototype.get=Ie;ar.prototype.has=Me;ar.prototype.set=Le;var K=ar;function ka(){this.__data__=new K,this.size=0}var je=ka;function Va(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}var Ee=Va;function Xa(r){return this.__data__.get(r)}var De=Xa;function Ja(r){return this.__data__.has(r)}var Fe=Ja;var Za="[object AsyncFunction]",Qa="[object Function]",rf="[object GeneratorFunction]",ef="[object Proxy]";function tf(r){if(!g(r))return!1;var e=C(r);return e==Qa||e==rf||e==Za||e==ef}var fr=tf;var of=y["__core-js_shared__"],Er=of;var Be=function(){var r=/[^.]+$/.exec(Er&&Er.keys&&Er.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function af(r){return!!Be&&Be in r}var Re=af;var ff=Function.prototype,nf=ff.toString;function sf(r){if(r!=null){try{return nf.call(r)}catch{}try{return r+""}catch{}}return""}var G=sf;var pf=/[\\^$.*+?()[\]{}|]/g,uf=/^\[object .+?Constructor\]$/,mf=Function.prototype,lf=Object.prototype,df=mf.toString,cf=lf.hasOwnProperty,xf=RegExp("^"+df.call(cf).replace(pf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function gf(r){if(!g(r)||Re(r))return!1;var e=fr(r)?xf:uf;return e.test(G(r))}var Ne=gf;function yf(r,e){return r?.[e]}var Ge=yf;function hf(r,e){var t=Ge(r,e);return Ne(t)?t:void 0}var w=hf;var bf=w(y,"Map"),Y=bf;var Sf=w(Object,"create"),U=Sf;function Tf(){this.__data__=U?U(null):{},this.size=0}var Ue=Tf;function Af(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var We=Af;var vf="__lodash_hash_undefined__",Of=Object.prototype,_f=Of.hasOwnProperty;function Cf(r){var e=this.__data__;if(U){var t=e[r];return t===vf?void 0:t}return _f.call(e,r)?e[r]:void 0}var ze=Cf;var wf=Object.prototype,Pf=wf.hasOwnProperty;function If(r){var e=this.__data__;return U?e[r]!==void 0:Pf.call(e,r)}var He=If;var Mf="__lodash_hash_undefined__";function Lf(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=U&&e===void 0?Mf:e,this}var qe=Lf;function ir(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var o=r[e];this.set(o[0],o[1])}}ir.prototype.clear=Ue;ir.prototype.delete=We;ir.prototype.get=ze;ir.prototype.has=He;ir.prototype.set=qe;var me=ir;function jf(){this.size=0,this.__data__={hash:new me,map:new(Y||K),string:new me}}var Ke=jf;function Ef(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}var Ye=Ef;function Df(r,e){var t=r.__data__;return Ye(e)?t[typeof e=="string"?"string":"hash"]:t.map}var $=Df;function Ff(r){var e=$(this,r).delete(r);return this.size-=e?1:0,e}var $e=Ff;function Bf(r){return $(this,r).get(r)}var ke=Bf;function Rf(r){return $(this,r).has(r)}var Ve=Rf;function Nf(r,e){var t=$(this,r),o=t.size;return t.set(r,e),this.size+=t.size==o?0:1,this}var Xe=Nf;function nr(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var o=r[e];this.set(o[0],o[1])}}nr.prototype.clear=Ke;nr.prototype.delete=$e;nr.prototype.get=ke;nr.prototype.has=Ve;nr.prototype.set=Xe;var er=nr;var Gf=200;function Uf(r,e){var t=this.__data__;if(t instanceof K){var o=t.__data__;if(!Y||o.length<Gf-1)return o.push([r,e]),this.size=++t.size,this;t=this.__data__=new er(o)}return t.set(r,e),this.size=t.size,this}var Je=Uf;function sr(r){var e=this.__data__=new K(r);this.size=e.size}sr.prototype.clear=je;sr.prototype.delete=Ee;sr.prototype.get=De;sr.prototype.has=Fe;sr.prototype.set=Je;var F=sr;function Wf(r,e){for(var t=-1,o=r==null?0:r.length;++t<o&&e(r[t],t,r)!==!1;);return r}var Ze=Wf;var zf=function(){try{var r=w(Object,"defineProperty");return r({},"",{}),r}catch{}}(),pr=zf;function Hf(r,e,t){e=="__proto__"&&pr?pr(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}var ur=Hf;var qf=Object.prototype,Kf=qf.hasOwnProperty;function Yf(r,e,t){var o=r[e];(!(Kf.call(r,e)&&D(o,t))||t===void 0&&!(e in r))&&ur(r,e,t)}var Dr=Yf;function $f(r,e,t,o){var a=!t;t||(t={});for(var f=-1,i=e.length;++f<i;){var n=e[f],s=o?o(t[n],r[n],n,t,r):void 0;s===void 0&&(s=r[n]),a?ur(t,n,s):Dr(t,n,s)}return t}var B=$f;function kf(r,e){for(var t=-1,o=Array(r);++t<r;)o[t]=e(t);return o}var Fr=kf;var Vf="[object Arguments]";function Xf(r){return h(r)&&C(r)==Vf}var le=Xf;var Qe=Object.prototype,Jf=Qe.hasOwnProperty,Zf=Qe.propertyIsEnumerable,Qf=le(function(){return arguments}())?le:function(r){return h(r)&&Jf.call(r,"callee")&&!Zf.call(r,"callee")},M=Qf;function ri(){return!1}var rt=ri;var ot=typeof exports=="object"&&exports&&!exports.nodeType&&exports,et=ot&&typeof module=="object"&&module&&!module.nodeType&&module,ei=et&&et.exports===ot,tt=ei?y.Buffer:void 0,ti=tt?tt.isBuffer:void 0,oi=ti||rt,L=oi;var ai=9007199254740991,fi=/^(?:0|[1-9]\d*)$/;function ii(r,e){var t=typeof r;return e=e??ai,!!e&&(t=="number"||t!="symbol"&&fi.test(r))&&r>-1&&r%1==0&&r<e}var mr=ii;var ni=9007199254740991;function si(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=ni}var lr=si;var pi="[object Arguments]",ui="[object Array]",mi="[object Boolean]",li="[object Date]",di="[object Error]",ci="[object Function]",xi="[object Map]",gi="[object Number]",yi="[object Object]",hi="[object RegExp]",bi="[object Set]",Si="[object String]",Ti="[object WeakMap]",Ai="[object ArrayBuffer]",vi="[object DataView]",Oi="[object Float32Array]",_i="[object Float64Array]",Ci="[object Int8Array]",wi="[object Int16Array]",Pi="[object Int32Array]",Ii="[object Uint8Array]",Mi="[object Uint8ClampedArray]",Li="[object Uint16Array]",ji="[object Uint32Array]",x={};x[Oi]=x[_i]=x[Ci]=x[wi]=x[Pi]=x[Ii]=x[Mi]=x[Li]=x[ji]=!0;x[pi]=x[ui]=x[Ai]=x[mi]=x[vi]=x[li]=x[di]=x[ci]=x[xi]=x[gi]=x[yi]=x[hi]=x[bi]=x[Si]=x[Ti]=!1;function Ei(r){return h(r)&&lr(r.length)&&!!x[C(r)]}var at=Ei;function Di(r){return function(e){return r(e)}}var k=Di;var ft=typeof exports=="object"&&exports&&!exports.nodeType&&exports,_r=ft&&typeof module=="object"&&module&&!module.nodeType&&module,Fi=_r&&_r.exports===ft,de=Fi&&Lr.process,Bi=function(){try{var r=_r&&_r.require&&_r.require("util").types;return r||de&&de.binding&&de.binding("util")}catch{}}(),W=Bi;var it=W&&W.isTypedArray,Ri=it?k(it):at,V=Ri;var Ni=Object.prototype,Gi=Ni.hasOwnProperty;function Ui(r,e){var t=d(r),o=!t&&M(r),a=!t&&!o&&L(r),f=!t&&!o&&!a&&V(r),i=t||o||a||f,n=i?Fr(r.length,String):[],s=n.length;for(var p in r)(e||Gi.call(r,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||f&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||mr(p,s)))&&n.push(p);return n}var Br=Ui;var Wi=Object.prototype;function zi(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||Wi;return r===t}var X=zi;function Hi(r,e){return function(t){return r(e(t))}}var Rr=Hi;var qi=Rr(Object.keys,Object),nt=qi;var Ki=Object.prototype,Yi=Ki.hasOwnProperty;function $i(r){if(!X(r))return nt(r);var e=[];for(var t in Object(r))Yi.call(r,t)&&t!="constructor"&&e.push(t);return e}var Nr=$i;function ki(r){return r!=null&&lr(r.length)&&!fr(r)}var P=ki;function Vi(r){return P(r)?Br(r):Nr(r)}var R=Vi;function Xi(r,e){return r&&B(e,R(e),r)}var st=Xi;function Ji(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var pt=Ji;var Zi=Object.prototype,Qi=Zi.hasOwnProperty;function rn(r){if(!g(r))return pt(r);var e=X(r),t=[];for(var o in r)o=="constructor"&&(e||!Qi.call(r,o))||t.push(o);return t}var ut=rn;function en(r){return P(r)?Br(r,!0):ut(r)}var N=en;function tn(r,e){return r&&B(e,N(e),r)}var mt=tn;var xt=typeof exports=="object"&&exports&&!exports.nodeType&&exports,lt=xt&&typeof module=="object"&&module&&!module.nodeType&&module,on=lt&<.exports===xt,dt=on?y.Buffer:void 0,ct=dt?dt.allocUnsafe:void 0;function an(r,e){if(e)return r.slice();var t=r.length,o=ct?ct(t):new r.constructor(t);return r.copy(o),o}var Gr=an;function fn(r,e){var t=-1,o=r.length;for(e||(e=Array(o));++t<o;)e[t]=r[t];return e}var Ur=fn;function nn(r,e){for(var t=-1,o=r==null?0:r.length,a=0,f=[];++t<o;){var i=r[t];e(i,t,r)&&(f[a++]=i)}return f}var Wr=nn;function sn(){return[]}var zr=sn;var pn=Object.prototype,un=pn.propertyIsEnumerable,gt=Object.getOwnPropertySymbols,mn=gt?function(r){return r==null?[]:(r=Object(r),Wr(gt(r),function(e){return un.call(r,e)}))}:zr,dr=mn;function ln(r,e){return B(r,dr(r),e)}var yt=ln;function dn(r,e){for(var t=-1,o=e.length,a=r.length;++t<o;)r[a+t]=e[t];return r}var cr=dn;var cn=Rr(Object.getPrototypeOf,Object),xr=cn;var xn=Object.getOwnPropertySymbols,gn=xn?function(r){for(var e=[];r;)cr(e,dr(r)),r=xr(r);return e}:zr,Hr=gn;function yn(r,e){return B(r,Hr(r),e)}var ht=yn;function hn(r,e,t){var o=e(r);return d(r)?o:cr(o,t(r))}var qr=hn;function bn(r){return qr(r,R,dr)}var Cr=bn;function Sn(r){return qr(r,N,Hr)}var bt=Sn;var Tn=w(y,"DataView"),Kr=Tn;var An=w(y,"Promise"),Yr=An;var vn=w(y,"Set"),$r=vn;var On=w(y,"WeakMap"),kr=On;var St="[object Map]",_n="[object Object]",Tt="[object Promise]",At="[object Set]",vt="[object WeakMap]",Ot="[object DataView]",Cn=G(Kr),wn=G(Y),Pn=G(Yr),In=G($r),Mn=G(kr),tr=C;(Kr&&tr(new Kr(new ArrayBuffer(1)))!=Ot||Y&&tr(new Y)!=St||Yr&&tr(Yr.resolve())!=Tt||$r&&tr(new $r)!=At||kr&&tr(new kr)!=vt)&&(tr=function(r){var e=C(r),t=e==_n?r.constructor:void 0,o=t?G(t):"";if(o)switch(o){case Cn:return Ot;case wn:return St;case Pn:return Tt;case In:return At;case Mn:return vt}return e});var j=tr;var Ln=Object.prototype,jn=Ln.hasOwnProperty;function En(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&jn.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var _t=En;var Dn=y.Uint8Array,gr=Dn;function Fn(r){var e=new r.constructor(r.byteLength);return new gr(e).set(new gr(r)),e}var yr=Fn;function Bn(r,e){var t=e?yr(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}var Ct=Bn;var Rn=/\w*$/;function Nn(r){var e=new r.constructor(r.source,Rn.exec(r));return e.lastIndex=r.lastIndex,e}var wt=Nn;var Pt=O?O.prototype:void 0,It=Pt?Pt.valueOf:void 0;function Gn(r){return It?Object(It.call(r)):{}}var Mt=Gn;function Un(r,e){var t=e?yr(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var Vr=Un;var Wn="[object Boolean]",zn="[object Date]",Hn="[object Map]",qn="[object Number]",Kn="[object RegExp]",Yn="[object Set]",$n="[object String]",kn="[object Symbol]",Vn="[object ArrayBuffer]",Xn="[object DataView]",Jn="[object Float32Array]",Zn="[object Float64Array]",Qn="[object Int8Array]",rs="[object Int16Array]",es="[object Int32Array]",ts="[object Uint8Array]",os="[object Uint8ClampedArray]",as="[object Uint16Array]",fs="[object Uint32Array]";function is(r,e,t){var o=r.constructor;switch(e){case Vn:return yr(r);case Wn:case zn:return new o(+r);case Xn:return Ct(r,t);case Jn:case Zn:case Qn:case rs:case es:case ts:case os:case as:case fs:return Vr(r,t);case Hn:return new o;case qn:case $n:return new o(r);case Kn:return wt(r);case Yn:return new o;case kn:return Mt(r)}}var Lt=is;var jt=Object.create,ns=function(){function r(){}return function(e){if(!g(e))return{};if(jt)return jt(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}(),Et=ns;function ss(r){return typeof r.constructor=="function"&&!X(r)?Et(xr(r)):{}}var Xr=ss;var ps="[object Map]";function us(r){return h(r)&&j(r)==ps}var Dt=us;var Ft=W&&W.isMap,ms=Ft?k(Ft):Dt,Bt=ms;var ls="[object Set]";function ds(r){return h(r)&&j(r)==ls}var Rt=ds;var Nt=W&&W.isSet,cs=Nt?k(Nt):Rt,Gt=cs;var xs=1,gs=2,ys=4,Ut="[object Arguments]",hs="[object Array]",bs="[object Boolean]",Ss="[object Date]",Ts="[object Error]",Wt="[object Function]",As="[object GeneratorFunction]",vs="[object Map]",Os="[object Number]",zt="[object Object]",_s="[object RegExp]",Cs="[object Set]",ws="[object String]",Ps="[object Symbol]",Is="[object WeakMap]",Ms="[object ArrayBuffer]",Ls="[object DataView]",js="[object Float32Array]",Es="[object Float64Array]",Ds="[object Int8Array]",Fs="[object Int16Array]",Bs="[object Int32Array]",Rs="[object Uint8Array]",Ns="[object Uint8ClampedArray]",Gs="[object Uint16Array]",Us="[object Uint32Array]",c={};c[Ut]=c[hs]=c[Ms]=c[Ls]=c[bs]=c[Ss]=c[js]=c[Es]=c[Ds]=c[Fs]=c[Bs]=c[vs]=c[Os]=c[zt]=c[_s]=c[Cs]=c[ws]=c[Ps]=c[Rs]=c[Ns]=c[Gs]=c[Us]=!0;c[Ts]=c[Wt]=c[Is]=!1;function Jr(r,e,t,o,a,f){var i,n=e&xs,s=e&gs,p=e&ys;if(t&&(i=a?t(r,o,a,f):t(r)),i!==void 0)return i;if(!g(r))return r;var m=d(r);if(m){if(i=_t(r),!n)return Ur(r,i)}else{var u=j(r),l=u==Wt||u==As;if(L(r))return Gr(r,n);if(u==zt||u==Ut||l&&!a){if(i=s||l?{}:Xr(r),!n)return s?ht(r,mt(i,r)):yt(r,st(i,r))}else{if(!c[u])return a?r:{};i=Lt(r,u,n)}}f||(f=new F);var b=f.get(r);if(b)return b;f.set(r,i),Gt(r)?r.forEach(function(S){i.add(Jr(S,e,t,S,r,f))}):Bt(r)&&r.forEach(function(S,T){i.set(T,Jr(S,e,t,T,r,f))});var A=p?s?bt:Cr:s?N:R,_=m?void 0:A(r);return Ze(_||r,function(S,T){_&&(T=S,S=r[T]),Dr(i,T,Jr(S,e,t,T,r,f))}),i}var Ht=Jr;var Ws=1,zs=4;function Hs(r){return Ht(r,Ws|zs)}var qs=Hs;var Ks=function(){return y.Date.now()},Zr=Ks;var Ys="Expected a function",$s=Math.max,ks=Math.min;function Vs(r,e,t){var o,a,f,i,n,s,p=0,m=!1,u=!1,l=!0;if(typeof r!="function")throw new TypeError(Ys);e=jr(e)||0,g(t)&&(m=!!t.leading,u="maxWait"in t,f=u?$s(jr(t.maxWait)||0,e):f,l="trailing"in t?!!t.trailing:l);function b(v){var H=o,vr=a;return o=a=void 0,p=v,i=r.apply(vr,H),i}function A(v){return p=v,n=setTimeout(T,e),m?b(v):i}function _(v){var H=v-s,vr=v-p,be=e-H;return u?ks(be,f-vr):be}function S(v){var H=v-s,vr=v-p;return s===void 0||H>=e||H<0||u&&vr>=f}function T(){var v=Zr();if(S(v))return E(v);n=setTimeout(T,_(v))}function E(v){return n=void 0,l&&o?b(v):(o=a=void 0,i)}function Mr(){n!==void 0&&clearTimeout(n),p=0,o=s=a=n=void 0}function or(){return n===void 0?i:E(Zr())}function z(){var v=Zr(),H=S(v);if(o=arguments,a=this,s=v,H){if(n===void 0)return A(s);if(u)return clearTimeout(n),n=setTimeout(T,e),b(s)}return n===void 0&&(n=setTimeout(T,e)),i}return z.cancel=Mr,z.flush=or,z}var Xs=Vs;function Js(r,e,t){(t!==void 0&&!D(r[e],t)||t===void 0&&!(e in r))&&ur(r,e,t)}var wr=Js;function Zs(r){return function(e,t,o){for(var a=-1,f=Object(e),i=o(e),n=i.length;n--;){var s=i[r?n:++a];if(t(f[s],s,f)===!1)break}return e}}var qt=Zs;var Qs=qt(),Qr=Qs;function rp(r){return h(r)&&P(r)}var re=rp;var ep="[object Object]",tp=Function.prototype,op=Object.prototype,Kt=tp.toString,ap=op.hasOwnProperty,fp=Kt.call(Object);function ip(r){if(!h(r)||C(r)!=ep)return!1;var e=xr(r);if(e===null)return!0;var t=ap.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&Kt.call(t)==fp}var Yt=ip;function np(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}var Pr=np;function sp(r){return B(r,N(r))}var $t=sp;function pp(r,e,t,o,a,f,i){var n=Pr(r,t),s=Pr(e,t),p=i.get(s);if(p){wr(r,t,p);return}var m=f?f(n,s,t+"",r,e,i):void 0,u=m===void 0;if(u){var l=d(s),b=!l&&L(s),A=!l&&!b&&V(s);m=s,l||b||A?d(n)?m=n:re(n)?m=Ur(n):b?(u=!1,m=Gr(s,!0)):A?(u=!1,m=Vr(s,!0)):m=[]:Yt(s)||M(s)?(m=n,M(n)?m=$t(n):(!g(n)||fr(n))&&(m=Xr(s))):u=!1}u&&(i.set(s,m),a(m,s,o,f,i),i.delete(s)),wr(r,t,m)}var kt=pp;function Vt(r,e,t,o,a){r!==e&&Qr(e,function(f,i){if(a||(a=new F),g(f))kt(r,e,i,t,Vt,o,a);else{var n=o?o(Pr(r,i),f,i+"",r,e,a):void 0;n===void 0&&(n=f),wr(r,i,n)}},N)}var ee=Vt;function up(r){return r}var J=up;function mp(r,e,t){switch(t.length){case 0:return r.call(e);case 1:return r.call(e,t[0]);case 2:return r.call(e,t[0],t[1]);case 3:return r.call(e,t[0],t[1],t[2])}return r.apply(e,t)}var Xt=mp;var Jt=Math.max;function lp(r,e,t){return e=Jt(e===void 0?r.length-1:e,0),function(){for(var o=arguments,a=-1,f=Jt(o.length-e,0),i=Array(f);++a<f;)i[a]=o[e+a];a=-1;for(var n=Array(e+1);++a<e;)n[a]=o[a];return n[e]=t(i),Xt(r,this,n)}}var Zt=lp;function dp(r){return function(){return r}}var Qt=dp;var cp=pr?function(r,e){return pr(r,"toString",{configurable:!0,enumerable:!1,value:Qt(e),writable:!0})}:J,ro=cp;var xp=800,gp=16,yp=Date.now;function hp(r){var e=0,t=0;return function(){var o=yp(),a=gp-(o-t);if(t=o,a>0){if(++e>=xp)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}var eo=hp;var bp=eo(ro),to=bp;function Sp(r,e){return to(Zt(r,e,J),r+"")}var hr=Sp;function Tp(r,e,t){if(!g(t))return!1;var o=typeof e;return(o=="number"?P(t)&&mr(e,t.length):o=="string"&&e in t)?D(t[e],r):!1}var Ir=Tp;function Ap(r){return hr(function(e,t){var o=-1,a=t.length,f=a>1?t[a-1]:void 0,i=a>2?t[2]:void 0;for(f=r.length>3&&typeof f=="function"?(a--,f):void 0,i&&Ir(t[0],t[1],i)&&(f=a<3?void 0:f,a=1),e=Object(e);++o<a;){var n=t[o];n&&r(e,n,o,f)}return e})}var te=Ap;var vp=te(function(r,e,t,o){ee(r,e,t,o)}),Op=vp;var _p="[object Map]",Cp="[object Set]",wp=Object.prototype,Pp=wp.hasOwnProperty;function Ip(r){if(r==null)return!0;if(P(r)&&(d(r)||typeof r=="string"||typeof r.splice=="function"||L(r)||V(r)||M(r)))return!r.length;var e=j(r);if(e==_p||e==Cp)return!r.size;if(X(r))return!Nr(r).length;for(var t in r)if(Pp.call(r,t))return!1;return!0}var Mp=Ip;var Lp="__lodash_hash_undefined__";function jp(r){return this.__data__.set(r,Lp),this}var oo=jp;function Ep(r){return this.__data__.has(r)}var ao=Ep;function oe(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new er;++e<t;)this.add(r[e])}oe.prototype.add=oe.prototype.push=oo;oe.prototype.has=ao;var fo=oe;function Dp(r,e){for(var t=-1,o=r==null?0:r.length;++t<o;)if(e(r[t],t,r))return!0;return!1}var io=Dp;function Fp(r,e){return r.has(e)}var no=Fp;var Bp=1,Rp=2;function Np(r,e,t,o,a,f){var i=t&Bp,n=r.length,s=e.length;if(n!=s&&!(i&&s>n))return!1;var p=f.get(r),m=f.get(e);if(p&&m)return p==e&&m==r;var u=-1,l=!0,b=t&Rp?new fo:void 0;for(f.set(r,e),f.set(e,r);++u<n;){var A=r[u],_=e[u];if(o)var S=i?o(_,A,u,e,r,f):o(A,_,u,r,e,f);if(S!==void 0){if(S)continue;l=!1;break}if(b){if(!io(e,function(T,E){if(!no(b,E)&&(A===T||a(A,T,t,o,f)))return b.push(E)})){l=!1;break}}else if(!(A===_||a(A,_,t,o,f))){l=!1;break}}return f.delete(r),f.delete(e),l}var ae=Np;function Gp(r){var e=-1,t=Array(r.size);return r.forEach(function(o,a){t[++e]=[a,o]}),t}var so=Gp;function Up(r){var e=-1,t=Array(r.size);return r.forEach(function(o){t[++e]=o}),t}var po=Up;var Wp=1,zp=2,Hp="[object Boolean]",qp="[object Date]",Kp="[object Error]",Yp="[object Map]",$p="[object Number]",kp="[object RegExp]",Vp="[object Set]",Xp="[object String]",Jp="[object Symbol]",Zp="[object ArrayBuffer]",Qp="[object DataView]",uo=O?O.prototype:void 0,ce=uo?uo.valueOf:void 0;function ru(r,e,t,o,a,f,i){switch(t){case Qp:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case Zp:return!(r.byteLength!=e.byteLength||!f(new gr(r),new gr(e)));case Hp:case qp:case $p:return D(+r,+e);case Kp:return r.name==e.name&&r.message==e.message;case kp:case Xp:return r==e+"";case Yp:var n=so;case Vp:var s=o&Wp;if(n||(n=po),r.size!=e.size&&!s)return!1;var p=i.get(r);if(p)return p==e;o|=zp,i.set(r,e);var m=ae(n(r),n(e),o,a,f,i);return i.delete(r),m;case Jp:if(ce)return ce.call(r)==ce.call(e)}return!1}var mo=ru;var eu=1,tu=Object.prototype,ou=tu.hasOwnProperty;function au(r,e,t,o,a,f){var i=t&eu,n=Cr(r),s=n.length,p=Cr(e),m=p.length;if(s!=m&&!i)return!1;for(var u=s;u--;){var l=n[u];if(!(i?l in e:ou.call(e,l)))return!1}var b=f.get(r),A=f.get(e);if(b&&A)return b==e&&A==r;var _=!0;f.set(r,e),f.set(e,r);for(var S=i;++u<s;){l=n[u];var T=r[l],E=e[l];if(o)var Mr=i?o(E,T,l,e,r,f):o(T,E,l,r,e,f);if(!(Mr===void 0?T===E||a(T,E,t,o,f):Mr)){_=!1;break}S||(S=l=="constructor")}if(_&&!S){var or=r.constructor,z=e.constructor;or!=z&&"constructor"in r&&"constructor"in e&&!(typeof or=="function"&&or instanceof or&&typeof z=="function"&&z instanceof z)&&(_=!1)}return f.delete(r),f.delete(e),_}var lo=au;var fu=1,co="[object Arguments]",xo="[object Array]",fe="[object Object]",iu=Object.prototype,go=iu.hasOwnProperty;function nu(r,e,t,o,a,f){var i=d(r),n=d(e),s=i?xo:j(r),p=n?xo:j(e);s=s==co?fe:s,p=p==co?fe:p;var m=s==fe,u=p==fe,l=s==p;if(l&&L(r)){if(!L(e))return!1;i=!0,m=!1}if(l&&!m)return f||(f=new F),i||V(r)?ae(r,e,t,o,a,f):mo(r,e,s,t,o,a,f);if(!(t&fu)){var b=m&&go.call(r,"__wrapped__"),A=u&&go.call(e,"__wrapped__");if(b||A){var _=b?r.value():r,S=A?e.value():e;return f||(f=new F),a(_,S,t,o,f)}}return l?(f||(f=new F),lo(r,e,t,o,a,f)):!1}var yo=nu;function ho(r,e,t,o,a){return r===e?!0:r==null||e==null||!h(r)&&!h(e)?r!==r&&e!==e:yo(r,e,t,o,ho,a)}var br=ho;function su(r,e){return br(r,e)}var pu=su;var uu=te(function(r,e,t){ee(r,e,t)}),mu=uu;var bo=O?O.isConcatSpreadable:void 0;function lu(r){return d(r)||M(r)||!!(bo&&r&&r[bo])}var So=lu;function To(r,e,t,o,a){var f=-1,i=r.length;for(t||(t=So),a||(a=[]);++f<i;){var n=r[f];e>0&&t(n)?e>1?To(n,e-1,t,o,a):cr(a,n):o||(a[a.length]=n)}return a}var Ao=To;function du(r,e){for(var t=-1,o=r==null?0:r.length,a=Array(o);++t<o;)a[t]=e(r[t],t,r);return a}var Z=du;var cu=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xu=/^\w*$/;function gu(r,e){if(d(r))return!1;var t=typeof r;return t=="number"||t=="symbol"||t=="boolean"||r==null||I(r)?!0:xu.test(r)||!cu.test(r)||e!=null&&r in Object(e)}var Sr=gu;var yu="Expected a function";function xe(r,e){if(typeof r!="function"||e!=null&&typeof e!="function")throw new TypeError(yu);var t=function(){var o=arguments,a=e?e.apply(this,o):o[0],f=t.cache;if(f.has(a))return f.get(a);var i=r.apply(this,o);return t.cache=f.set(a,i)||f,i};return t.cache=new(xe.Cache||er),t}xe.Cache=er;var ge=xe;var hu=500;function bu(r){var e=ge(r,function(o){return t.size===hu&&t.clear(),o}),t=e.cache;return e}var vo=bu;var Su=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tu=/\\(\\)?/g,Au=vo(function(r){var e=[];return r.charCodeAt(0)===46&&e.push(""),r.replace(Su,function(t,o,a,f){e.push(a?f.replace(Tu,"$1"):o||t)}),e}),Oo=Au;var vu=1/0,_o=O?O.prototype:void 0,Co=_o?_o.toString:void 0;function wo(r){if(typeof r=="string")return r;if(d(r))return Z(r,wo)+"";if(I(r))return Co?Co.call(r):"";var e=r+"";return e=="0"&&1/r==-vu?"-0":e}var Po=wo;function Ou(r){return r==null?"":Po(r)}var Tr=Ou;function _u(r,e){return d(r)?r:Sr(r,e)?[r]:Oo(Tr(r))}var ie=_u;var Cu=1/0;function wu(r){if(typeof r=="string"||I(r))return r;var e=r+"";return e=="0"&&1/r==-Cu?"-0":e}var Q=wu;function Pu(r,e){e=ie(e,r);for(var t=0,o=e.length;r!=null&&t<o;)r=r[Q(e[t++])];return t&&t==o?r:void 0}var Ar=Pu;var Iu=1,Mu=2;function Lu(r,e,t,o){var a=t.length,f=a,i=!o;if(r==null)return!f;for(r=Object(r);a--;){var n=t[a];if(i&&n[2]?n[1]!==r[n[0]]:!(n[0]in r))return!1}for(;++a<f;){n=t[a];var s=n[0],p=r[s],m=n[1];if(i&&n[2]){if(p===void 0&&!(s in r))return!1}else{var u=new F;if(o)var l=o(p,m,s,r,e,u);if(!(l===void 0?br(m,p,Iu|Mu,o,u):l))return!1}}return!0}var Io=Lu;function ju(r){return r===r&&!g(r)}var ne=ju;function Eu(r){for(var e=R(r),t=e.length;t--;){var o=e[t],a=r[o];e[t]=[o,a,ne(a)]}return e}var Mo=Eu;function Du(r,e){return function(t){return t==null?!1:t[r]===e&&(e!==void 0||r in Object(t))}}var se=Du;function Fu(r){var e=Mo(r);return e.length==1&&e[0][2]?se(e[0][0],e[0][1]):function(t){return t===r||Io(t,r,e)}}var Lo=Fu;function Bu(r,e,t){var o=r==null?void 0:Ar(r,e);return o===void 0?t:o}var jo=Bu;function Ru(r,e){return r!=null&&e in Object(r)}var Eo=Ru;function Nu(r,e,t){e=ie(e,r);for(var o=-1,a=e.length,f=!1;++o<a;){var i=Q(e[o]);if(!(f=r!=null&&t(r,i)))break;r=r[i]}return f||++o!=a?f:(a=r==null?0:r.length,!!a&&lr(a)&&mr(i,a)&&(d(r)||M(r)))}var Do=Nu;function Gu(r,e){return r!=null&&Do(r,e,Eo)}var Fo=Gu;var Uu=1,Wu=2;function zu(r,e){return Sr(r)&&ne(e)?se(Q(r),e):function(t){var o=jo(t,r);return o===void 0&&o===e?Fo(t,r):br(e,o,Uu|Wu)}}var Bo=zu;function Hu(r){return function(e){return e?.[r]}}var pe=Hu;function qu(r){return function(e){return Ar(e,r)}}var Ro=qu;function Ku(r){return Sr(r)?pe(Q(r)):Ro(r)}var No=Ku;function Yu(r){return typeof r=="function"?r:r==null?J:typeof r=="object"?d(r)?Bo(r[0],r[1]):Lo(r):No(r)}var Go=Yu;function $u(r,e){return r&&Qr(r,e,R)}var Uo=$u;function ku(r,e){return function(t,o){if(t==null)return t;if(!P(t))return r(t,o);for(var a=t.length,f=e?a:-1,i=Object(t);(e?f--:++f<a)&&o(i[f],f,i)!==!1;);return t}}var Wo=ku;var Vu=Wo(Uo),zo=Vu;function Xu(r,e){var t=-1,o=P(r)?Array(r.length):[];return zo(r,function(a,f,i){o[++t]=e(a,f,i)}),o}var Ho=Xu;function Ju(r,e){var t=r.length;for(r.sort(e);t--;)r[t]=r[t].value;return r}var qo=Ju;function Zu(r,e){if(r!==e){var t=r!==void 0,o=r===null,a=r===r,f=I(r),i=e!==void 0,n=e===null,s=e===e,p=I(e);if(!n&&!p&&!f&&r>e||f&&i&&s&&!n&&!p||o&&i&&s||!t&&s||!a)return 1;if(!o&&!f&&!p&&r<e||p&&t&&a&&!o&&!f||n&&t&&a||!i&&a||!s)return-1}return 0}var Ko=Zu;function Qu(r,e,t){for(var o=-1,a=r.criteria,f=e.criteria,i=a.length,n=t.length;++o<i;){var s=Ko(a[o],f[o]);if(s){if(o>=n)return s;var p=t[o];return s*(p=="desc"?-1:1)}}return r.index-e.index}var Yo=Qu;function rm(r,e,t){e.length?e=Z(e,function(f){return d(f)?function(i){return Ar(i,f.length===1?f[0]:f)}:f}):e=[J];var o=-1;e=Z(e,k(Go));var a=Ho(r,function(f,i,n){var s=Z(e,function(p){return p(f)});return{criteria:s,index:++o,value:f}});return qo(a,function(f,i){return Yo(f,i,t)})}var $o=rm;var em=hr(function(r,e){if(r==null)return[];var t=e.length;return t>1&&Ir(r,e[0],e[1])?e=[]:t>2&&Ir(e[0],e[1],e[2])&&(e=[e[0]]),$o(r,Ao(e,1),[])}),tm=em;function om(r,e,t){var o=-1,a=r.length;e<0&&(e=-e>a?0:a+e),t=t>a?a:t,t<0&&(t+=a),a=e>t?0:t-e>>>0,e>>>=0;for(var f=Array(a);++o<a;)f[o]=r[o+e];return f}var ko=om;function am(r,e,t){var o=r.length;return t=t===void 0?o:t,!e&&t>=o?r:ko(r,e,t)}var Vo=am;var fm="\\ud800-\\udfff",im="\\u0300-\\u036f",nm="\\ufe20-\\ufe2f",sm="\\u20d0-\\u20ff",pm=im+nm+sm,um="\\ufe0e\\ufe0f",mm="\\u200d",lm=RegExp("["+mm+fm+pm+um+"]");function dm(r){return lm.test(r)}var ue=dm;function cm(r){return r.split("")}var Xo=cm;var Jo="\\ud800-\\udfff",xm="\\u0300-\\u036f",gm="\\ufe20-\\ufe2f",ym="\\u20d0-\\u20ff",hm=xm+gm+ym,bm="\\ufe0e\\ufe0f",Sm="["+Jo+"]",ye="["+hm+"]",he="\\ud83c[\\udffb-\\udfff]",Tm="(?:"+ye+"|"+he+")",Zo="[^"+Jo+"]",Qo="(?:\\ud83c[\\udde6-\\uddff]){2}",ra="[\\ud800-\\udbff][\\udc00-\\udfff]",Am="\\u200d",ea=Tm+"?",ta="["+bm+"]?",vm="(?:"+Am+"(?:"+[Zo,Qo,ra].join("|")+")"+ta+ea+")*",Om=ta+ea+vm,_m="(?:"+[Zo+ye+"?",ye,Qo,ra,Sm].join("|")+")",Cm=RegExp(he+"(?="+he+")|"+_m+Om,"g");function wm(r){return r.match(Cm)||[]}var oa=wm;function Pm(r){return ue(r)?oa(r):Xo(r)}var aa=Pm;function Im(r){return function(e){e=Tr(e);var t=ue(e)?aa(e):void 0,o=t?t[0]:e.charAt(0),a=t?Vo(t,1).join(""):e.slice(1);return o[r]()+a}}var fa=Im;var Mm=fa("toUpperCase"),ia=Mm;function Lm(r){return ia(Tr(r).toLowerCase())}var jm=Lm;var Em="[object Number]";function Dm(r){return typeof r=="number"||h(r)&&C(r)==Em}var Fm=Dm;function Bm(r){return r==null}var Rm=Bm;function Nm(r){return r===null}var Gm=Nm;var Um=Math.max;function Wm(r){if(!(r&&r.length))return[];var e=0;return r=Wr(r,function(t){if(re(t))return e=Um(t.length,e),!0}),Fr(e,function(t){return Z(r,pe(t))})}var na=Wm;var zm=hr(na),Hm=zm;export{rr as a,sa as b,qm as c,Km as d,Ym as e,$m as f,km as g,pa as h,Vm as i,Xm as j,Jm as k,Zm as l,Qm as m,rl as n,el as o,tl as p,ol as q,al as r,fl as s,il as t,nl as u,sl as v,pl as w,ul as x,ml as y,ll as z,dl as A,cl as B,xl as C,gl as D,yl as E,hl as F,bl as G,Sl as H,Tl as I,d as J,g as K,jr as L,ge as M,jm as N,qs as O,Xs as P,Op as Q,Mp as R,pu as S,Fm as T,Rm as U,Gm as V,mu as W,tm as X,Hm as Y};
|
package/dist/cdn/3COY6C6Y.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.121 */
|
|
4
|
-
import c from"./ETY2SECN.js";import b from"./XHNWKT76.js";import{c as $,d as q}from"./75GFQV2T.js";import{i as g}from"./RNGK6KCM.js";import a from"./XWATM26Z.js";import{B as h,O as X,a as _,o as C}from"./35KK7CKX.js";import{c as F,d as N}from"./A55DI3E4.js";import{z as B}from"./NX2CLI7H.js";export default $arcgis.t(([,,,,,,,,{F:x,H:d,I:E,J:m,K:R,Q:H,Xa:P,dc:Z,fc:j,hb:O,mb:Y,p:s},{A:he,B:de,C:pe,D:T,E:A,F:ue,G:xe,Ga:Ue,H:me,Ha:Ve,I:ve,Ia:Ge,J:be,K:ye,L:k,M:L,N:I,O:U,P:we,Q:ze,R:_e,S:Ce,T:Se,U:Te,V:Ae,W:ke,X:Le,Y:Ie,d:p,e:v,f:J,j:a,k:K,l:Q,m:ee,n:ie,o:te,p:b,pa:y,q:ce,r:ae,s:oe,t:S,u:re,v:ne,w:le,x:se,y:ge,z:fe},W])=>{var Re="calcite-mode-auto",He="calcite-mode-dark";function De(){let{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,i=()=>t.contains(He)||t.contains(Re)&&e?"dark":"light",c=l=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:l}})),r=l=>{o!==l&&c(l),o=l},o=i();c(o),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",l=>r(l.matches?"dark":"light")),new MutationObserver(()=>r(i())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var u=globalThis.calciteConfig,Oi=u?.focusTrapStack||[],Yi=u?.logLevel||"info",Me="3.3.0-next.95",Pe="2025-09-03",Oe="4ff34176e";function Ye(){if(u&&u.version)return;console.info(`Using Calcite Components ${Me} [Date: ${Pe}, Revision: ${Oe}]`);let t=u||globalThis.calciteConfig||{};Object.defineProperty(t,"version",{value:Me,writable:!1}),globalThis.calciteConfig=t}document.readyState==="interactive"?De():document.addEventListener("DOMContentLoaded",De,{once:!0});queueMicrotask(Ye);var Ze=B({defaultAssetPath:"https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.3.0-next.95/dist/calcite/",hydratedAttribute:"calcite-hydrated"}),{customElement:Zi,getAssetPath:V,setAssetPath:je}=Ze;var $e=t=>t.title?.content,qe=(t,e)=>{if(t){let i=b(e);e.title===void 0&&(e.title=m({text:"",visible:!0,font:d(s.ChartTitle),type:s.ChartTitle})),e.title.content=t,e.title.content.text=i}},We=t=>t.subtitle?.content,Je=(t,e)=>{if(t){let i=b(e);e.subtitle===void 0&&(e.subtitle=m({text:"",visible:!0,font:d(s.ChartSubtitle),type:s.ChartSubtitle})),e.subtitle.content=t,e.subtitle.content.text=i}},Ke=t=>t.footer?.content,Qe=(t,e)=>{if(t){let i=S(e);e.footer===void 0&&(e.footer=m({text:"",visible:!0,font:d(s.DescriptionText),type:s.DescriptionText})),e.footer.content=t,e.footer.content.text=i}},ei=t=>t.background,ii=(t,e)=>{e.background=t},ti=(t,e)=>e.series[t]?.id,ci=(t,e)=>e.series.findIndex(i=>i.id===t),ai=t=>t.series.length??0,oi=(t,e)=>e.series[t].visible??!0;function ri(t,e){let i;return t.length!==0&&e<t.length&&(i=t[e].dataTooltipValueFormat),i}function ni(t){let{series:e,seriesIndex:i,valueFormat:c}=t;e.length!==0&&i<e.length&&(e[i].dataTooltipValueFormat=c)}var w=class extends EventTarget{constructor(){super(...arguments),this.dataStore={},this.setupFinished=new Promise(e=>{this.resolveSetup=e})}isSameChartAs(e){let i=e?.getLayer();return i!==void 0&&this._config.id===e?.getChartId()&&this.layerInfo?.layer.id===i.id}getConfig(){return this._config}setConfig(e){this._config=e,this.emitConfigUpdate("setConfig")}getChartType(){return this._chartType}getLayer(){return this.layerInfo?.layer}getChartId(){return this._config.id}setChartId(e){this._config.id=e}getVersion(){return this.getVersion()}getTitleText(){return b(this._config)}setTitleText(e){ce(e,this._config),this.emitConfigUpdate("setTitleText")}getSubtitleText(){return ae(this._config)}setSubtitleText(e){oe(e,this._config),this.emitConfigUpdate("setSubtitleText")}getDescriptionText(){return S(this._config)}setDescriptionText(e){re(e,this._config),this.emitConfigUpdate("setDescriptionText")}getChartTitleVisibility(){return ne(this._config)}setChartTitleVisibility(e){le(e,this._config),this.emitConfigUpdate("setChartTitleVisibility")}getChartSubtitleVisibility(){return se(this._config)}setChartSubtitleVisibility(e){ge(e,this._config),this.emitConfigUpdate("setChartSubtitleVisibility")}getDescriptionVisibility(){return fe(this._config)}setDescriptionVisibility(e){he(e,this._config),this.emitConfigUpdate("setDescriptionVisibility")}getChartRenderer(){return de(this._config)}setChartRenderer(e){pe(e,this._config),this.emitConfigUpdate("setChartRenderer")}getTitleSymbol(){return $e(this._config)}setTitleSymbol(e){qe(e,this._config),this.emitConfigUpdate("setTitleSymbol")}getSubtitleSymbol(){return We(this._config)}setSubtitleSymbol(e){Je(e,this._config),this.emitConfigUpdate("setSubtitleSymbol")}getDescriptionSymbol(){return Ke(this._config)}setDescriptionSymbol(e){Qe(e,this._config),this.emitConfigUpdate("setDescriptionSymbol")}getBackgroundColor(){return ei(this._config)}setBackgroundColor(e){ii(e,this._config),this.emitConfigUpdate("setBackgroundColor")}getSeriesVisibility(e){return oi(e,this._config)}setSeriesVisibility(e){P({detail:e},this._config),this.emitConfigUpdate("setSeriesVisibility")}getSeriesId(e){return ti(e,this._config)}getSeriesIndex(e){return ci(e,this._config)}getSeriesLength(){return ai(this._config)}getChartSubType(){return Y(this._config.series)}getDataTooltipValueFormat(e){return ri(this._config.series,e)}setDataTooltipValueFormat(e,i){ni({series:this._config.series,seriesIndex:e,valueFormat:i})}setFetchNULLValues(e){Ue(e,this._config),this.emitConfigUpdate("setFetchNULLValues")}getFetchNULLValues(){return Ve(this._config)}getSplitByValues(){return Ge(this._config)}emitConfigUpdate(e){this.dispatchEvent(new CustomEvent("arcgisChartsModelConfigChange",{detail:{config:this._config,functionCalled:e}}))}async loadConfigFromLayer(e){let{layer:i,iLayer:c,config:r}=e,o=i;if(!o&&c&&(o=await Z(c)),o){let l=await j(o,!0),{objectIdField:Ne}=o;this.layerInfo={layer:o,layerFieldsInfo:l,objectIdField:Ne}}this._config=r!==void 0?await W(r):await this.generateDefaultConfig(),this._config.legend!==void 0&&this._config.legend?.title===void 0&&(this._config.legend.title=H().title),c&&(this._config.iLayer=c)}},z=class extends w{getXAxisTitleText(){return k(0,this._config)}setXAxisTitleText(e){L(e,0,this._config),this.emitConfigUpdate("setXAxisTitleText")}getXAxisTitleVisibility(){return I(0,this._config)}setXAxisTitleVisibility(e){U(e,0,this._config),this.emitConfigUpdate("setXAxisTitleVisibility")}getMaxXBound(){return p({config:this._config,axisIndex:0,isMax:!0})}setMaxXBound(e){v({config:this._config,value:e,axisIndex:0,isMax:!0}),this.emitConfigUpdate("setMaxXBound")}getMinXBound(){return p({config:this._config,axisIndex:0,isMax:!1})}setMinXBound(e){J(this._config,e),this.emitConfigUpdate("setMinXBound")}getXAxisTitleSymbol(){return T(this._config,0)}setXAxisTitleSymbol(e){A({symbol:e,axisIndex:0,config:this._config}),this.emitConfigUpdate("setXAxisTitleSymbol")}getAxisLabelsSymbol(){return ue(this._config)}setAxisLabelsSymbol(e){xe(e,this._config),this.emitConfigUpdate("setAxisLabelsSymbol")}getAxisLinesSymbol(){return me(this._config)}setAxisLinesSymbol(e){ve(e,this._config),this.emitConfigUpdate("setAxisLinesSymbol")}},li=t=>{for(let e of t.axes??[])for(let i of e?.guides??[])if(i.label!==void 0)return i.label},si=(t,e)=>{for(let i of e.axes??[])for(let c of i?.guides??[]){let r=c.label?.text??"";c.label=X(t),c.label!==void 0&&(c.label.text=r)}};function n(t){return{...t,axis:t.orientation===g.X?t.config.axes?.[0]:t.config.axes?.[1],index:t.index??0,orientation:t.orientation??g.Y}}var gi=t=>{let{axis:e,index:i}=n(t);return e?.guides?.[i]?.visible??!0},fi=t=>{let{visible:e,axis:i,index:c}=n(t);i?.guides?.[c]!==void 0&&(i.guides[c].visible=e)},Be=t=>{let e=O(t.start,t.end);q(t.style)&&e===h.SFS?t.style={type:h.SFS,color:t.style.color}:$(t.style)&&e===h.SLS&&(t.style={type:h.SLS,color:t.style.color})},hi=t=>{let{axis:e,index:i}=n(t);return e?.guides?.[i]?.start??null},di=t=>{let{start:e,axis:i,index:c}=n(t);i?.guides?.[c]!==void 0&&(i.guides[c].start=e,Be(i.guides[c]))},pi=t=>{let{axis:e,index:i}=n(t);return e?.guides?.[i]?.end},ui=t=>{let{end:e,axis:i,index:c}=n(t);i?.guides?.[c]!==void 0&&(i.guides[c].end=e,Be(i.guides[c]))},xi=t=>{let{axis:e,index:i}=n(t);return e?.guides?.[i]?.name},mi=t=>{let{name:e,axis:i,index:c}=n(t);i?.guides?.[c]!==void 0&&(i.guides[c].name=e)},vi=t=>{let{axis:e,index:i}=n(t);return e?.guides?.[i]?.label?.text},bi=t=>{let{labelText:e,axis:i,index:c}=n(t),r=i?.guides?.[c]?.label??E(e,d(s.GuideLabel),s.GuideLabel);i?.guides?.[c]!==void 0&&(i.guides[c].label={...r,text:e})},yi=t=>{let{axis:e,index:i}=n(t);return e?.guides?.[i]?.above??!1},wi=t=>{let{above:e,axis:i,index:c}=n(t);i?.guides?.[c]!==void 0&&(i.guides[c].above=e)},zi=t=>{let{axis:e,index:i}=n(t);return e?.guides?.[i]?.style},_i=t=>{let{style:e,axis:i,index:c}=n(t);i?.guides?.[c]!==void 0&&(i.guides[c].style=e)},Xe=t=>{let{config:e,name:i,index:c,orientation:r}=t,o=r===g.X?e.axes?.[0]:e.axes?.[1];if(o!==void 0){o.guides=o.guides??[];let l={type:_.Guide,name:i,start:o.valueFormat.type===_.DateAxisFormat?"":0,style:R()};c!==void 0&&c<o.guides.length?o.guides.splice(c,0,l):o.guides.push(l)}},Fe=t=>{let{config:e,index:i,orientation:c}=t,r=c===g.X?e.axes?.[0]:e.axes?.[1];r?.guides!==void 0&&(i!==void 0&&i<r.guides.length?r.guides.splice(i,1):r.guides.pop())},Ci=t=>{let{axis:e,index:i}=n(t);return e?.guides?.[i]?.tooltipReverseColor??!1},Si=t=>{let{reverseColor:e,axis:i,index:c}=n(t);i?.guides?.[c]!==void 0&&(i.guides[c].tooltipReverseColor=e)},f=class extends w{getGuideLabelsSymbol(){return li(this._config)}setGuideLabelsSymbol(e){si(e,this._config),this.emitConfigUpdate("setGuideLabels")}getGuideVisibility(e,i){return gi({config:this._config,index:e,orientation:i})}setGuideVisibility(e,i,c){fi({visible:e,config:this._config,index:i,orientation:c}),this.emitConfigUpdate("setGuideVisibility")}getGuideStart(e,i){return hi({config:this._config,index:e,orientation:i})}setGuideStart(e,i,c){di({start:e,config:this._config,index:i,orientation:c}),this.emitConfigUpdate("setGuideStart")}getGuideEnd(e,i){return pi({config:this._config,index:e,orientation:i})}setGuideEnd(e,i,c){ui({end:e,config:this._config,index:i,orientation:c}),this.emitConfigUpdate("setGuideEnd")}getGuideName(e,i){return xi({config:this._config,index:e,orientation:i})}setGuideName(e,i,c){mi({name:e,config:this._config,index:i,orientation:c}),this.emitConfigUpdate("setGuideName")}getGuideLabelText(e,i){return vi({config:this._config,index:e,orientation:i})}setGuideLabelText(e,i,c){bi({labelText:e,config:this._config,index:i,orientation:c}),this.emitConfigUpdate("setGuideLabelText")}getGuideAbove(e,i){return yi({config:this._config,index:e,orientation:i})}setGuideAbove(e,i,c){wi({above:e,config:this._config,index:i,orientation:c}),this.emitConfigUpdate("setGuideAbove")}getGuideStyle(e,i){return zi({config:this._config,index:e,orientation:i})}setGuideStyle(e,i,c){_i({style:e,config:this._config,index:i,orientation:c}),this.emitConfigUpdate("setGuideStyle")}getTooltipReverseColor(e,i){return Ci({config:this._config,index:e,orientation:i})}setTooltipReverseColor(e,i,c){Si({reverseColor:e,config:this._config,index:i,orientation:c}),this.emitConfigUpdate("setTooltipReverseColor")}},G=class extends f{getXGuidesLength(){return this._config.axes?.[0]?.guides?.length}addXAxisGuide(e,i){Xe({config:this._config,name:e,index:i,orientation:g.X}),this.emitConfigUpdate("addXAxisGuide")}deleteXAxisGuide(e){Fe({config:this._config,index:e,orientation:g.X}),this.emitConfigUpdate("deleteXAxisGuide")}};y(G,[f]);var D=class extends f{getYGuidesLength(){return this._config.axes?.[1]?.guides?.length}addYAxisGuide(e,i){Xe({config:this._config,name:e,index:i,orientation:g.Y}),this.emitConfigUpdate("addYAxisGuide")}deleteYAxisGuide(e){Fe({config:this._config,index:e,orientation:g.Y}),this.emitConfigUpdate("deleteYAxisGuide")}};y(D,[f]);var Ti=t=>t.horizontalAxisLabelsBehavior??C.Rotate,Ai=(t,e)=>{e.horizontalAxisLabelsBehavior=t},ki=t=>t.verticalAxisLabelsBehavior??C.Wrap,Li=(t,e)=>{e.verticalAxisLabelsBehavior=t},Ii=t=>t.cursorCrosshair?.horizontalLineVisible??!1,Ui=(t,e)=>{e.cursorCrosshair===void 0&&(e.cursorCrosshair=x()),e.cursorCrosshair.horizontalLineVisible=t},Vi=t=>t.cursorCrosshair?.verticalLineVisible??!1,Gi=(t,e)=>{e.cursorCrosshair===void 0&&(e.cursorCrosshair=x()),e.cursorCrosshair.verticalLineVisible=t},Di=t=>t.cursorCrosshair?.style,Mi=(t,e)=>{e.cursorCrosshair===void 0&&(e.cursorCrosshair=x()),e.cursorCrosshair.style=t},Bi=t=>t.cursorCrosshair,Xi=(t,e)=>{e.cursorCrosshair=t},M=class extends z{getAxisTitleText(e){return a({config:this._config,axisIndex:e,func:i=>k(i,this._config)})??""}setAxisTitleText(e,i){a({config:this._config,axisIndex:i,func:c=>{L(e,c,this._config),this.emitConfigUpdate("setAxisTitleText")}})}getAxisTitleVisibility(e){return a({config:this._config,axisIndex:e,func:i=>I(i,this._config)})??!1}setAxisTitleVisibility(e,i){a({config:this._config,axisIndex:i,func:c=>{U(e,c,this._config),this.emitConfigUpdate("setAxisTitleVisibility")}})}getMaxBound(e){return a({config:this._config,axisIndex:e,func:i=>p({config:this._config,axisIndex:i,isMax:!0})})??Number.NaN}setMaxBound(e,i){a({config:this._config,axisIndex:i,func:c=>{v({config:this._config,value:e,axisIndex:c,isMax:!0}),this.emitConfigUpdate("setMaxBound")}})}getMinBound(e){return a({config:this._config,axisIndex:e,func:i=>p({config:this._config,axisIndex:i,isMax:!1})})??Number.NaN}setMinBound(e,i){a({config:this._config,axisIndex:i,func:c=>{v({config:this._config,value:e,axisIndex:c,isMax:!1}),this.emitConfigUpdate("setMinBound")}})}getAxisValueFormat(e){return a({config:this._config,axisIndex:e,func:i=>K(i,this._config)})}async setAxisValueFormat(e,i){await a({config:this._config,axisIndex:e,func:async c=>{await Q({config:this._config,valueFormat:i,axisIndex:c}),this.emitConfigUpdate("setAxisValueFormat")}})}getLogarithmic(e){return a({config:this._config,axisIndex:e,func:i=>ee(this._config,i)})??!1}setLogarithmic(e,i){a({config:this._config,axisIndex:i,func:c=>{ie({config:this._config,isLogarithmic:e,axisIndex:c}),this.emitConfigUpdate("setLogarithmic")}})}getAxisScrollbar(e){return a({config:this._config,axisIndex:e,func:i=>this._config.axes?.[i]?.scrollbar})}setAxisScrollbar(e,i){a({config:this._config,axisIndex:i,func:c=>{te({config:this._config,scrollbar:e,axisIndex:c}),this.emitConfigUpdate("setAxisScrollbar")}})}getAxisTitleSymbol(e){return a({config:this._config,axisIndex:e,func:i=>T(this._config,i)})}setAxisTitleSymbol(e,i){a({config:this._config,axisIndex:i,func:c=>{A({symbol:e,config:this._config,axisIndex:c}),this.emitConfigUpdate("setAxisTitleSymbol")}})}getHorizontalAxisLabelsBehavior(){return Ti(this._config)}setHorizontalAxisLabelsBehavior(e){Ai(e,this._config),this.emitConfigUpdate("setHorizontalAxisLabelsBehavior")}getVerticalAxisLabelsBehavior(){return ki(this._config)}setVerticalAxisLabelsBehavior(e){Li(e,this._config),this.emitConfigUpdate("setVerticalAxisLabelsBehavior")}getGridLinesSymbol(){return be(this._config)}setGridLinesSymbol(e,i){Array.isArray(i)&&ye(e,this._config,i),this.emitConfigUpdate("setGridLinesSymbol")}async getDefaultXAxisTitleText(){return(await F(N(document.documentElement).t9nLocale,V("./assets/common/t9n"),"messages.")).utilsStrings.statistics.count}getDisplayZeroLine(e){return a({config:this._config,axisIndex:e,func:i=>we(this._config,i)})??!1}setDisplayZeroLine(e,i){a({config:this._config,axisIndex:i,func:c=>{ze(this._config,e,c),this.emitConfigUpdate("setDisplayZeroLine")}})}getDisplayCursorTooltip(e){return a({config:this._config,axisIndex:e,func:i=>_e(this._config,i)})??!1}setDisplayCursorTooltip(e,i){a({config:this._config,axisIndex:i,func:c=>{Ce({config:this._config,displayCursorTooltip:e,axisIndex:c}),this.emitConfigUpdate("setDisplayCursorTooltip")}})}getBuffer(e){return a({config:this._config,axisIndex:e,func:i=>Se(this._config,i)})??!1}setBuffer(e,i){a({config:this._config,axisIndex:i,func:c=>{Te({config:this._config,buffer:e,axisIndex:c}),this.emitConfigUpdate("setBuffer")}})}getTickSpacing(e){return Ae(this._config,e)}setTickSpacing(e,i){a({config:this._config,axisIndex:i,func:c=>{ke({config:this._config,tickSpacing:e,axisIndex:c}),this.emitConfigUpdate("setTickSpacing")}})}getIntegerOnlyValues(e){return a({config:this._config,axisIndex:e,func:i=>Le(this._config,i)})??!1}setIntegerOnlyValues(e,i){a({config:this._config,axisIndex:i,func:c=>{Ie({config:this._config,integerOnlyValues:e,axisIndex:c}),this.emitConfigUpdate("setIntegerOnlyValues")}})}getCursorCrosshairHorizontalLineVisibility(){return Ii(this._config)}setCursorCrosshairHorizontalLineVisibility(e){Ui(e,this._config),this.emitConfigUpdate("setCursorCrosshairHorizontalLineVisibility")}getCursorCrosshairVerticalLineVisibility(){return Vi(this._config)}setCursorCrosshairVerticalLineVisibility(e){Gi(e,this._config),this.emitConfigUpdate("setCursorCrosshairVerticalLineVisibility")}getCursorCrosshairStyle(){return Di(this._config)}setCursorCrosshairStyle(e){Mi(e,this._config),this.emitConfigUpdate("setCursorCrosshairStyle")}getCursorCrosshair(){return Bi(this._config)}setCursorCrosshair(e){Xi(e,this._config),this.emitConfigUpdate("setCursorCrosshair")}};y(M,[z]);return{a:w,b:z,c:G,d:D,e:M}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,c)
|
package/dist/cdn/AS7KTYSR.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.121 */
|
|
4
|
-
import f from"./VEZ7ERCR.js";import e from"./3COY6C6Y.js";import c from"./ETY2SECN.js";import b from"./XHNWKT76.js";import"./VYXM6RQX.js";import"./75GFQV2T.js";import"./RNGK6KCM.js";import a from"./XWATM26Z.js";import{R as d,S,a as L}from"./35KK7CKX.js";import{c as C,d as T}from"./A55DI3E4.js";import{G as I}from"./NX2CLI7H.js";import"./ULR72CV3.js";export default $arcgis.t(([,,,,,,,{substitute:K},{Oa:n,X:F,Y:l,jc:w,pa:b,wc:g},{L:h,b:u,e:y,i:U,p:k,pa:D},,{a:A,c:_,d:M,e:Y},{a:E,b:X,c:z,d:P}])=>{var q=i=>{y({config:i,value:null,axisIndex:0,isMax:!1}),y({config:i,value:null,axisIndex:0,isMax:!0}),y({config:i,value:null,axisIndex:1,isMax:!1}),y({config:i,value:null,axisIndex:1,isMax:!0})},B=i=>{let{name:e,axisIndex:s,config:t,layerInfo:r}=i,{layerFieldsInfo:a}=r,o=a.find(m=>m.name===e),c=o!==void 0&&w(o);U(t,s,c)};async function N(i,e){let s=await p(i,e),t=k(i),r=g(i);return s===t||r}function W(i,e){let{layerFieldsInfo:s}=e,t=n(s,f(i)),r=h(1,i),a=g(i);return t===r||a}function j(i,e){let{layerFieldsInfo:s}=e,t=v(i),r=n(s,t),a=h(0,i),o=g(i);return r===a||o}async function p(i,e){let s=v(i),t=f(i),{layerFieldsInfo:r}=e,a=n(r,s),o=n(r,t),c=await C(T(document.documentElement).t9nLocale,I("./assets/common/t9n"),"messages.");return K(c.titleLabels.xAndY,{x:a,y:o})}var G=async i=>{let{x:e,y:s,config:t,layerInfo:r,updateChartTitle:a,updateXAxisTitle:o,updateYAxisTitle:c}=i,{layerFieldsInfo:m}=r,H=n(m,e),J=n(m,s);!d(e)&&o&&u(t,0,H),!d(s)&&c&&u(t,1,J),!d(e)&&!d(s)&&t.title&&a&&(t.title.content.text=await p(t,r))},v=i=>i.series[0]?.x??"",f=i=>i.series[0]?.y??"",Q=async(i,e,s)=>{let t=await N(e,s),r=j(e,s),a=W(e,s);q(e),e.series[0]&&(e.series[0].x=i),await G({x:i,y:f(e),config:e,layerInfo:s,updateChartTitle:t,updateXAxisTitle:r,updateYAxisTitle:a}),B({name:i,axisIndex:0,config:e,layerInfo:s})},R=async(i,e,s)=>{let t=await N(e,s),r=j(e,s),a=W(e,s);q(e),e.series[0]&&(e.series[0].y=i),await G({x:i,y:f(e),config:e,layerInfo:s,updateChartTitle:t,updateXAxisTitle:r,updateYAxisTitle:a}),B({name:i,axisIndex:1,config:e,layerInfo:s})},V=i=>{let e={};return i.series[0]?.markerSymbol??e},Z=(i,e)=>{e.series[0]&&(e.series[0].markerSymbol=i)},$=i=>(i.series[0]?.overlays?.trendLine?.visible??!0)&&(i.series[0]?.overlays?.trendLine?.created??!1),ee=i=>{let e={};return i.series[0]?.overlays?.trendLine?.symbol??e},ie=(i,e)=>{e.series[0].overlays??=l(),e.series[0].overlays.trendLine??=l().trendLine,e.series[0].overlays.trendLine.symbol=i},se=(i,e)=>{e.series[0].overlays??=l(),e.series[0].overlays.trendLine??=l().trendLine,e.series[0].overlays.trendLine.visible=i},te=(i,e)=>{!(e.series[0]?.overlays?.trendLine?.created??!1)&&i&&(e.series[0].overlays??=l(),e.series[0].overlays.trendLine??=l().trendLine,e.series[0].overlays.trendLine.created=i),se(i,e)},O=i=>i.series[0]?.sizePolicy??F(),re=(i,e)=>{e.series[0]&&(i!==void 0&&i.field?.trim()!==""?e.series[0].sizePolicy={...e.series[0].sizePolicy,...i}:e.series[0].sizePolicy=void 0)},ae=i=>i?.series?.[0]?.overlays,ne=(i,e)=>{e?.series[0]!==void 0&&(e.series[0].overlays=i)},x=class extends A{constructor(){super(...arguments),this._chartType=L.ScatterSeries}async setup(e){await this.loadConfigFromLayer(e),this.resolveSetup()}getXAxisField(){return v(this._config)}async setXAxisField(e){await Q(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setXAxisField")}getYAxisField(){return f(this._config)}async setYAxisField(e){await R(e,this._config,this.layerInfo),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setYAxisField")}getShowLinearTrend(){return $(this._config)}setShowLinearTrend(e){te(e,this._config),this.emitConfigUpdate("setShowLinearTrend")}getLinearTrendSymbol(){return ee(this._config)}setLinearTrendSymbol(e){ie(e,this._config),this.emitConfigUpdate("setLinearTrendSymbol")}getFixedMarkerSymbol(){return V(this._config)}setFixedMarkerSymbol(e){Z(e,this._config),this.emitConfigUpdate("setFixedMarkerSymbol")}getSizePolicy(){return O(this._config)}setSizePolicy(e){let s=O(this._config);S(s,e)||(re(e,this._config),this.emitConfigUpdate("setSizePolicy"))}getSeriesOverlays(){return ae(this._config)}setSeriesOverlays(e){ne(e,this._config),this.emitConfigUpdate("setSeriesOverlays")}async generateChartTitle(){return await p(this._config,this.layerInfo)}generateXAxisTitle(){let e=this.getXAxisField();return n(this.layerInfo.layerFieldsInfo,e)}generateYAxisTitle(){let e=this.getYAxisField();return n(this.layerInfo.layerFieldsInfo,e)}async generateDefaultConfig(){return await b()}};D(x,[Y,X,z,E,P,_,M]);return x},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,c,e,f)
|
package/dist/cdn/ETY2SECN.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.121 */
|
|
4
|
-
import{a as J,b as K,g as X}from"./75GFQV2T.js";import a from"./XWATM26Z.js";import{H as S,O as s,R as B,a as l,b,d as E,h as m,k as T,o as k,p as A,u as g}from"./35KK7CKX.js";export default $arcgis.t(([{$a:O,$b:Y,A:N,Fa:c,Mb:R,Sa:L,db:q,dc:Q,eb:V,fb:_,h:I,i:w,ia:j,ib:z,jb:W,mb:h,ob:$,qc:x,rb:H,rc:M,ya:U,z:G}])=>{var C=(t=>(t.NONE="none",t.ROTATE="rotate",t.STAGGER="stagger",t.WRAP="wrap",t))(C||{});function xe(t){let e=s(t);return B(t.axes)||(e.axes=t.axes?.map(i=>{let r=i;return delete r.calculateAutomaticMaximum,delete r.calculateAutomaticMinimum,r.title?.content.font?.style!==void 0&&(r.title.content.font.style=r.title.content.font.style.toLowerCase()),r})),e}function be(t){let e=s(t);return B(t.series)||(e.series=t.series.map((i,r)=>{let o=i;i.id===void 0&&(o.id=`Series ${Date.now()}-${r}`);let n=S(t.series,r);return(n===l.BarSeries||n===l.LineSeries||n===l.RadarSeries)&&o.query?.outStatistics?.[0]?.statisticType==="median"&&(o.query.outStatistics[0].statisticType=b.ContinuousPercentile),n===l.BarSeries&&o.multipleBarType!==void 0&&(o.stackedType=o.multipleBarType,delete o.multipleBarType),n===l.PieSeries&&o.sliceGrouping!==void 0&&(o.sliceGrouping.sliceId=G.defaultGroupOfSlicesId,o.sliceGrouping.groupName!==void 0&&(o.sliceGrouping={...o.sliceGrouping,label:o.sliceGrouping.groupName},delete o.sliceGrouping.groupName),o.sliceGrouping.groupSliceSymbol!==void 0&&(o.sliceGrouping={...o.sliceGrouping,fillSymbol:o.sliceGrouping.groupSliceSymbol},delete o.sliceGrouping.groupSliceSymbol)),o})),e}async function Z(t,e){let i=[];return await Promise.all(t.map(async r=>{if(!L(r)){let o=O(r,!1);if(o.fieldToSort!==void 0){let n=await x({queryObject:e,fieldToMatch:o.fieldToSort});n!==void 0&&i.push(o.orderBy===void 0?n:`${n} ${o.orderBy}`)}}})),i}async function Oe(t,e){let i={...t},r=e;if(!r){let o=X(t)?t.iLayer:t.dataSource?.layer;o&&(r=await Q(o))}if(r){let o=h(i.series),n=S(i.series),f=i.series&&i.series.length>0&&i.series[0].x.trim()===""||n===l.GaugeSeries&&!H(t)||o===c.PieFromFields||o===c.BarAndLineFromFields||o===c.BoxPlotMonoField||o===c.BoxPlotMonoFieldAndSplitBy||o===c.BoxPlotMultiFields||o===c.BoxPlotMultiFieldsAndSplitBy,v=n===l.ScatterSeries||o===c.BarAndLineNoAggregation||o===c.BarAndLineSplitByNoAggregation||o===c.BoxPlotMonoField||o===c.BoxPlotMonoFieldAndSplitBy||o===c.BoxPlotMonoFieldAndCategory||o===c.BoxPlotMonoFieldAndCategoryAndSplitBy||o===c.PieNoAggregation;if(i.series=await Promise.all(t.series.map(async d=>{let a={...d};if(f||(a.x=await x({queryObject:r,fieldToMatch:d.x})),"y"in a&&v){let u=a.y;if(Array.isArray(u)){let y=await M({fieldsList:u,queryObject:r});y!==void 0&&"y"in a&&(a.y=y)}else"y"in a&&typeof u=="string"&&(a.y=await x({queryObject:r,fieldToMatch:u}))}if(d.query!==void 0){let{where:u,groupByFieldsForStatistics:y,outStatistics:p}=d.query;if(y=await M({fieldsList:y,queryObject:r}),p!==void 0&&(p=await Promise.all(p.map(async F=>{let P={...F};return P.onStatisticField=await x({queryObject:r,fieldToMatch:F.onStatisticField}),P}))),u!==void 0&&o===c.BarAndLineSplitBy){let F=z(d.query?.where),P=W({where:d.query?.where,normalize:!1,escape:!1});u=`${await x({queryObject:r,fieldToMatch:F})}=${P}`}a.query!==void 0&&(u!==void 0&&(a.query.where=u),y!==void 0&&(a.query.groupByFieldsForStatistics=y),p!==void 0&&(a.query.outStatistics=p))}return a})),i.series[0]?.query!==void 0){let d=i.series[0].query,{orderByFields:a}=d;a!==void 0&&a.length>0&&(a=await Z(a,r),a.length>0&&d.orderByFields!==void 0&&(i.series[0].query.orderByFields=a))}if(i.orderOptions?.orderByFields!==void 0){let{orderByFields:d}=i.orderOptions;d!==void 0&&d.length>0&&(d=await Z(d,r),d.length>0&&(i.orderOptions.orderByFields=d))}if(n===l.GaugeSeries&&t.axes?.[0]!==void 0){let{minimumFromField:d,maximumFromField:a}=t.axes[0];if(d!==void 0){let u=typeof d=="string"?d:d.onStatisticField,y=await x({queryObject:r,fieldToMatch:u}),p=d;typeof t.axes[0].minimumFromField=="string"?p=y:typeof d=="object"&&(p={...d,onStatisticField:y}),t.axes[0].minimumFromField=p}if(a!==void 0){let u=typeof a=="string"?a:a.onStatisticField,y=await x({queryObject:r,fieldToMatch:u}),p=a;typeof t.axes[0].maximumFromField=="string"?p=y:typeof a=="object"&&(p={...a,onStatisticField:y}),t.axes[0].maximumFromField=p}}}return i}function he(t){let e=s(t);if(!B(t.series)&&S(t.series)===l.BoxPlotSeries){let i=e.series[0];i&&(i.showOutliers!==void 0&&(t.showOutliers===void 0&&(e.showOutliers=i.showOutliers),delete i.showOutliers),i.standardizeValues!==void 0&&(t.standardizeValues===void 0&&(e.standardizeValues=i.standardizeValues),delete i.standardizeValues),i.showMean!==void 0&&(t.showMean===void 0&&(e.showMean=i.showMean),delete i.showMean))}return e}function Fe(t){let e={orderType:g.Category,orderBy:m.Ascending},i=t.query?.orderByFields?.[0];if(i!==void 0){let{outStatisticFieldName:r,statisticType:o}=t.query?.outStatistics?.[0]??{},n=O(i);r!==void 0&&n.fieldToSort===r&&o!==void 0&&(o===b.Average||o==="mean"?e.orderType=g.Mean:o===b.ContinuousPercentile&&(e.orderType=g.Median)),e.orderBy=n.orderBy??m.Ascending}return e}function Pe(t){let e=!1,i=Array.from(new Set(t.series.map(r=>r.type)));return i.length===2&&i.includes(l.BoxPlotSeries)&&i.includes(l.LineSeries)&&(e=t.series.find(r=>r.type===l.LineSeries)?.query?.outStatistics?.[0]!==void 0),e}function we(t){let e=s(t);if(!B(e.series)&&S(t.series)===l.BoxPlotSeries){if(e.orderOptions?.data===void 0){let i=Fe(t.series[0]);i.orderType!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:i.orderType,orderBy:i.orderBy})}if(e.series=t.series.map(i=>{let r=i;return B(r.x?.trim())&&(r.x=N),delete r.query?.orderByFields,r}),Pe(e)){e.showMean=!0;let i=e.series.find(r=>r.type===l.BoxPlotSeries);e.series.forEach(r=>{r.type===l.LineSeries&&(delete r.query?.groupByFieldsForStatistics,delete r.query?.outStatistics,delete r.query?.orderByFields,i&&(r.y=i.y))})}e.series=t.series.map(i=>{let r=i;return delete r.query?.outStatistics,r})}return e}function ke(t){let e=s(t);return e.legend!==void 0&&!Number.isFinite(e.legend.maxHeight)&&(e.legend.maxHeight=Number.NaN),e}function Ae(t){let e=s(t);return"dataSource"in e&&e.dataSource.layer&&(e.iLayer=e.dataSource.layer,delete e.dataSource),e}function Le(t){let e=s(t),i=new Set,r=e.id??"";return i.add(r),e.series.forEach(o=>{let n=o.id;i.has(n)&&(n=`${n}_${Date.now()}`,o.id=n),i.add(n)}),e}function qe(t){let e=s(t);return e?.orderOptions?.orderByFields!==void 0&&h(t.series)===c.PieFromFields&&(e.orderOptions.orderByFields=t?.orderOptions?.orderByFields?.map(i=>{let r=s(i);return i!==void 0&&i.includes("arcgis_charts_pie_category_from_fields_name")&&(r=i.replace("arcgis_charts_pie_category_from_fields_name",w)),r})),e}function Me(t){let e=s(t);if(!B(t.series)&&e.axes?.[0]!==void 0&&S(t.series)===l.GaugeSeries&&t.axes?.[0]!==void 0){let i=t.axes[0];i.ticks!==void 0&&Object.hasOwn(i.ticks,"spacing")&&delete i.ticks.spacing,e.axes[0]=i}return e}function Ce(t){let e=s(t),{extent:i}=e.series[0]?.query??{};return i!==void 0&&(e.dataFilters={...e.dataFilters,geometry:i},e.series.forEach(r=>{"query"in r&&"extent"in r.query&&delete r.query.extent})),e}function Se(t){let e=s(t);return B(t.series)||(J(t)&&t.rotated===void 0&&(e.rotated=t.series[0].rotated??j()),e.series.forEach(i=>{i.rotated!==void 0&&delete i.rotated})),e}function De(t){let e=s(t),i=t.dataSource;return"dataSource"in e&&!B(i)&&(i.type==="featureLayer"&&e.dataSource!==void 0&&(e.dataSource.type="layer"),"featureLayer"in i&&(e.dataSource.layer=i.featureLayer,delete e.dataSource.featureLayer)),e}function Ee(t){let e=s(t);if("dataSource"in t){let i=t.dataSource;if(i.filter!==void 0&&i.filter.trim()!==""){let r=Y([i.filter,e.dataFilters?.where]);e.dataFilters={...e.dataFilters,where:r},delete e.dataSource.filter}}return e}function Ie(t){return t!=="originalValue"}function Te(t){let e;switch(t){case"mean":e=g.Mean;break;case"median":e=g.Median;break;case"category":e=g.Category;break}return e}function Ge(t){let e=s(t);if(!B(t.series)&&S(t.series)===l.PieSeries){let i=e.series[0];if(i){if(i.sortLabelsBy==="originalValue")e.sortLabelsBy=i.sortLabelsBy;else if(i.sortLabelsBy!==void 0&&e.orderOptions?.data===void 0){let r=D(e);r!==void 0&&(e.orderOptions??={},e.orderOptions.data=r)}i.sortLabelsBy&&delete i.sortLabelsBy}}return e}function Ne(t){let e=s(t);return B(t.series)||(K(t)&&t.stackedType===void 0&&(e.stackedType=t.series[0].stackedType??U()),e.series.forEach(i=>{"stackedType"in i&&delete i.stackedType})),e}function je(t){let e=s(t),i=t.sortOptions?.sortSeriesBy;return e.orderOptions===void 0&&typeof i=="string"&&(e.orderOptions??={},e.orderOptions.series={orderBy:i==="DESC"?m.Descending:m.Ascending}),e}function Ue(t){let e=s(t);return e.colorMatch===void 0&&e.series[0]?.colorType!==void 0&&(e.colorMatch=e.series[0]?.colorType===E.Match),e.series.forEach(i=>{i.colorType!==void 0&&delete i.colorType}),e}function Ve(t){let e=s(t);if(e.sortDataBy!==void 0){if(e.orderOptions?.data===void 0){let i=t.sortDataBy,r=Te(i?.sortType);r!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:r,orderBy:i?.sortOrder??m.Ascending})}delete e.sortDataBy}return e}function _e(t){let e=s(t);return e.axes?.forEach(i=>{i!==void 0&&i.scrollbarVisible!==void 0&&i.scrollbar?.visible===void 0&&(i.scrollbar={...i.scrollbar,visible:i.scrollbarVisible},delete i.scrollbarVisible)}),e}function ze(t){let e=s(t),i=e.series[0]?.query?.orderByFields;if(i!==void 0&&i.length>0&&e.orderOptions?.orderByFields===void 0){e.orderOptions??={};let r=!0;if(i.length===1){let{fieldToSort:o,orderBy:n}=O(i[0]),f;o===t.series[0].x||o===w?f=g.Category:"y"in t.series[0]&&o===t.series[0].y&&(f=g.YValue),f!==void 0&&(r=!1,e.orderOptions.data===void 0&&(e.orderOptions.data={orderType:f,orderBy:n?.toUpperCase()==="DESC"?m.Descending:m.Ascending}))}r&&(e.orderOptions.orderByFields=i)}return e.series.forEach(r=>{delete r.query?.orderByFields}),e}function D(t){let e,i=t.orderOptions?.orderByFields?.[0];if(t.series?.length>0){let r=S(t.series),o=h(t.series);if(r!==l.PieSeries&&o!==c.BarAndLineFromFields&&(i=i??t.series[0].x),i&&!L(i)){let{fieldToSort:n,orderBy:f}=O(i),v;n===t.series[0].x||n===w?v=g.Category:"y"in t.series[0]&&n===t.series[0].y&&(v=g.YValue),v!==void 0&&(e={orderType:v,orderBy:f?.toUpperCase()==="DESC"?m.Descending:m.Ascending})}}return e}function We(t){let e=s(t),i=t,r=t,o=t,n=t,f=t;if(e){if(e.orderOptions?.series===void 0&&i.sortOptions?.sortSeriesBy!==void 0&&(e.orderOptions??={},e.orderOptions.series={preferLabel:Ie(r.sortLabelsBy??i.sortOptions.sortSeriesBy.sortType),orderBy:i.sortOptions.sortSeriesBy.sortOrder??m.Ascending}),r.sortLabelsBy==="originalValue"||n.orderOptions?.data?.preferDataLabel===!1||f.orderOptions?.data?.preferLabel===!1)e.orderOptions?.data&&delete e.orderOptions.data;else if(e.orderOptions?.data===void 0)if(S(e.series)===l.BoxPlotSeries){if(r.sortLabelsBy||o.sortOptions?.sortDataBy!==void 0){let v=Te(o.sortOptions?.sortDataBy?.sortType);v!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:v,orderBy:o.sortOptions?.sortDataBy?.sortOrder??m.Ascending})}}else{let v=D(e);v!==void 0&&(e.orderOptions??={},e.orderOptions.data=v)}"sortLabelsBy"in e&&delete e.sortLabelsBy,"sortOptions"in e&&delete e.sortOptions}return e}function $e(t){let e=s(t);if(e){let i=h(e.series);if((i===c.BarAndLineFromFields||i===c.PieFromFields)&&e.orderOptions?.data===void 0&&e.orderOptions?.orderByFields!==void 0){let r=D(e);r!==void 0&&(e.orderOptions??={},e.orderOptions.data=r,delete e.orderOptions.orderByFields)}}return e}function He(t){let e=s(t);return e.horizontalAxisLabelsBehavior===C.NONE&&(e.horizontalAxisLabelsBehavior=k.Hide),e.verticalAxisLabelsBehavior===C.NONE&&(e.verticalAxisLabelsBehavior=k.Hide),e}function Re(t){let e=s(t),i=e.series[0];if(i&&!i.temporalBinning&&$(e.series[0])&&("timeIntervalSize"in i||"timeIntervalUnits"in i||"timeAggregationType"in i||"trimIncompleteTimeInterval"in i||"nullPolicy"in i)){if(i.temporalBinning={},i.timeIntervalSize!==void 0&&(i.temporalBinning.size=i.timeIntervalSize,delete i.timeIntervalSize),i.timeIntervalUnits){let r;switch(i.timeIntervalUnits){case"esriTimeUnitsSeconds":r=T.Second;break;case"esriTimeUnitsMinutes":r=T.Minute;break;case"esriTimeUnitsHours":r=T.Hour;break;case"esriTimeUnitsDays":r=T.Day;break;case"esriTimeUnitsWeeks":r=T.Week;break;case"esriTimeUnitsMonths":r=T.Month;break;case"esriTimeUnitsYears":r=T.Year;break}r!==void 0&&(i.temporalBinning.unit=r),delete i.timeIntervalUnits}i.timeAggregationType&&(i.temporalBinning.timeAggregationType=i.timeAggregationType,delete i.timeAggregationType),i.trimIncompleteTimeInterval!==void 0&&(i.temporalBinning.trimIncompleteTimeInterval=i.trimIncompleteTimeInterval,delete i.trimIncompleteTimeInterval),i.nullPolicy&&(i.temporalBinning.nullPolicy=i.nullPolicy,delete i.nullPolicy)}return e}function Ye(t){let e=s(t);return e.series.forEach(i=>{i.query?.outStatistics?.forEach(r=>{r.statisticType==="percentile_cont"?r.statisticType=b.ContinuousPercentile:r.statisticType==="percentile_disc"&&(r.statisticType=b.DiscretePercentile)})}),e}function Qe(t){let e=s(t);return e.subtitle===void 0&&e.subTitle&&(e.subtitle=e.subTitle),delete e.subTitle,e}function Je(t){let e=s(t),i=e.series[0];return i?.temporalBinning&&delete i.temporalBinning?.type,e}async function Ke(t,e){let i=s(t);return i=xe(i),i=be(i),i=await Oe(i,e),i=he(i),i=we(i),i=ke(i),i=Le(i),i}function Xe(t){let e=s(t);return e=qe(e),e}function ee(t){let e=s(t);return e=Me(e),e}function te(t){let e=s(t);return e=Ce(e),e}function ie(t){let e=s(t);return e=Se(e),e}function re(t){let e=s(t);return e=De(e),e}function oe(t){let e=s(t);return e=Ee(e),e}function se(t){let e=s(t);return e=Ge(e),e}function ne(t){let e=s(t);return e=je(e),e}function ae(t){let e=s(t);return e=Ue(e),e}function de(t){return _e(t)}function le(t){let e=s(t);return t.series[0]?.type===l.BoxPlotSeries&&(e=Ve(e)),e}function ce(t){return Ne(t)}function ue(t){return We(t)}function ye(t){return Ae(t)}function pe(t){return $e(t)}function fe(t){return He(t)}function ve(t){return Re(t)}function me(t){return Ye(t)}function ge(t){let e=s(t);return e=Se(e),Qe(e)}function Be(t){let e=s(t);return e=Je(e),e}function Ze(t){let{versionsToConvert:e=[],configToUpdate:i}=t,r=s(i);return e.length>0&&r!==void 0&&(r=ze(r),e.includes(q)||e.includes(V)?(r=Xe(r),r=ee(r),r=te(r),r=ie(r),r=re(r),r=oe(r),r=se(r),r=ne(r),r=ae(r),r=de(r),r=le(r),r=ce(r),r=ue(r),r=ye(r),r=pe(r),r=fe(r),r=ve(r),r=me(r),r=ge(r),r=Be(r)):e.forEach(o=>{if(r!==void 0)switch(o){case"1.0.1":r=ee(r);break;case"3.4.0":r=te(r);break;case"4.0.0":r=ie(r);break;case"4.0.1":r=re(r);break;case"6.4.0":r=oe(r);break;case"7.5.1":r=se(r);break;case"8.0.0":r=ne(r);break;case"9.2.0":r=ae(r);break;case"9.7.0":r=de(r);break;case"10.0.0":r=le(r);break;case"11.0.0":r=ce(r);break;case"14.0.1":r=ue(r);break;case"16.0.0":r=ye(r);break;case"16.1.0":r=pe(r);break;case"18.1.3":r=fe(r);break;case"20.1.0":r=ve(r);break;case"21.0.0":r=me(r);break;case"23.2.0":r=ge(r);break;case"23.3.0":r=Be(r);break}}),r.version=I),r}async function ot(t,e){let i=t;if(t){let r=R(e);i=await Ke(t,r);let o=t.version??q,{versionStatus:n,versions:f}=_(o);(n===A.Older||n===A.Unrecognized)&&(i=Ze({versionsToConvert:f,configToUpdate:i}))}return i}return ot},a)
|