@arcgis/charts-components 4.34.0-next.143 → 4.34.0-next.144
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/{P4XTDT5I.js → 26T2FPTR.js} +2 -2
- package/dist/cdn/{2Y3VDB4A.js → 2DZFSDBN.js} +2 -2
- package/dist/cdn/2HQVR6SZ.js +4 -0
- package/dist/cdn/{2GXMFXNQ.js → 2J4AFSSU.js} +2 -2
- package/dist/cdn/{LDV74QGM.js → 2J4UJYZT.js} +2 -2
- package/dist/cdn/{WRQILX2B.js → 2VI6QT44.js} +2 -2
- package/dist/cdn/{OXK2XXFX.js → 2ZSQMPK2.js} +2 -2
- package/dist/cdn/{WZWKVPCZ.js → 324WBHNZ.js} +2 -2
- package/dist/cdn/{KTN3MTLN.js → 3DH2WQCY.js} +2 -2
- package/dist/cdn/{DBFWRZDJ.js → 3EQGJ46N.js} +2 -2
- package/dist/cdn/{UR5SKTGT.js → 3LVFJPNB.js} +2 -2
- package/dist/cdn/{CZJLDAUL.js → 3O63ZEAS.js} +2 -2
- package/dist/cdn/{GWOE3PWJ.js → 3S5BN4GW.js} +4 -4
- package/dist/cdn/3UQIPQ6U.js +4 -0
- package/dist/cdn/{6BUORERH.js → 3VLXQDI7.js} +2 -2
- package/dist/cdn/3XVJSKYV.js +4 -0
- package/dist/cdn/{OYNA3N5F.js → 452LBU4V.js} +2 -2
- package/dist/cdn/{6NO3CTQ7.js → 47AOTDB3.js} +2 -2
- package/dist/cdn/{GTOLCUY3.js → 4BC4VABF.js} +2 -2
- package/dist/cdn/{E2NEJIIA.js → 4GA7RI44.js} +2 -2
- package/dist/cdn/{LK353QED.js → 4VYULJJW.js} +1 -1
- package/dist/cdn/{FXJ6IIU7.js → 5GYKLEQM.js} +2 -2
- package/dist/cdn/{SRARQZI7.js → 5OERBFEV.js} +2 -2
- package/dist/cdn/5SHBQMVW.js +4 -0
- package/dist/cdn/{ARSMTOVV.js → 5VJ42MLL.js} +2 -2
- package/dist/cdn/{VBHUU653.js → 5WMWKB7J.js} +2 -2
- package/dist/cdn/{PWHN33GS.js → 64HSDV7Y.js} +2 -2
- package/dist/cdn/{L46ACBCL.js → 66G4VCA2.js} +2 -2
- package/dist/cdn/{V2QONJ63.js → 6M6NDQL6.js} +2 -2
- package/dist/cdn/{T4ODWNN3.js → 6PKWE2PB.js} +2 -2
- package/dist/cdn/{VSWXAAOC.js → 6RJ3EKY6.js} +2 -2
- package/dist/cdn/6SLJ2XOA.js +4 -0
- package/dist/cdn/6VOROOAO.js +4 -0
- package/dist/cdn/{5N7T7RYN.js → 7DOQLCKT.js} +2 -2
- package/dist/cdn/{7PGKNQGM.js → 7O3QYHLA.js} +2 -2
- package/dist/cdn/{VXSFM4K2.js → 7U3RNTZB.js} +2 -2
- package/dist/cdn/A7LSUGPI.js +4 -0
- package/dist/cdn/AFDFEA7M.js +4 -0
- package/dist/cdn/AFEYBTJC.js +4 -0
- package/dist/cdn/{4EDWTAFI.js → AFHYC374.js} +2 -2
- package/dist/cdn/{L6QNURLG.js → ANRJWG4F.js} +2 -2
- package/dist/cdn/B35VGUTH.js +4 -0
- package/dist/cdn/{SIC5XWJJ.js → BQOMTSTB.js} +2 -2
- package/dist/cdn/{UVEEOGJE.js → C2SCAZ57.js} +2 -2
- package/dist/cdn/C6LCXOTC.js +4 -0
- package/dist/cdn/CA7YIB7J.js +4 -0
- package/dist/cdn/{27DPRRIO.js → CKC6B2DW.js} +2 -2
- package/dist/cdn/COLTV55S.js +4 -0
- package/dist/cdn/{YZL2UVIR.js → CXO6JCQV.js} +2 -2
- package/dist/cdn/{QWT35GC3.js → D7XYADY6.js} +2 -2
- package/dist/cdn/{U4KW5WEC.js → DAVXOLUV.js} +2 -2
- package/dist/cdn/{UEDILFWW.js → EHCGN2NF.js} +2 -2
- package/dist/cdn/ENFIPPSJ.js +4 -0
- package/dist/cdn/EOYAAN5E.js +4 -0
- package/dist/cdn/{6RBT7U7F.js → ESUQO7J5.js} +2 -2
- package/dist/cdn/{H65DVXBA.js → EU437XMK.js} +2 -2
- package/dist/cdn/EXR5RQLP.js +4 -0
- package/dist/cdn/FKU45S4A.js +6 -0
- package/dist/cdn/{VDH7KNTF.js → FMZL75OL.js} +2 -2
- package/dist/cdn/{F4PNSY5G.js → FN5KCLZU.js} +2 -2
- package/dist/cdn/FNSZJRYO.js +4 -0
- package/dist/cdn/FZ6XXAI7.js +4 -0
- package/dist/cdn/GKMSHJIH.js +4 -0
- package/dist/cdn/{V3MBA5JM.js → GKUFSUNB.js} +2 -2
- package/dist/cdn/{SDTEUWGA.js → GTQ3T45E.js} +2 -2
- package/dist/cdn/{CS2LS2C4.js → H73SF3NZ.js} +2 -2
- package/dist/cdn/HMDP6YQB.js +4 -0
- package/dist/cdn/{L4NKYMCI.js → HTBKBCF3.js} +2 -2
- package/dist/cdn/{UTYZK53H.js → HXBO345N.js} +2 -2
- package/dist/cdn/{CCOKMCJT.js → I3FF3ITK.js} +1 -1
- package/dist/cdn/IE5CIF3O.js +4 -0
- package/dist/cdn/ILBPUKJK.js +4 -0
- package/dist/cdn/IM3FJOHF.js +4 -0
- package/dist/cdn/{7EOCM732.js → IMXOWATK.js} +2 -2
- package/dist/cdn/{ZEL3FQZS.js → IOB5KVZO.js} +2 -2
- package/dist/cdn/IXVKNKW3.js +4 -0
- package/dist/cdn/{YMTBJTUG.js → IY2KY4AZ.js} +2 -2
- package/dist/cdn/IZKXPUQX.js +4 -0
- package/dist/cdn/{6HZURVW6.js → JBE4H2O2.js} +2 -2
- package/dist/cdn/JEVESPWP.js +4 -0
- package/dist/cdn/{3OUS7FTI.js → JFYW4T4Q.js} +2 -2
- package/dist/cdn/{664ABRXE.js → JINHIAI2.js} +2 -2
- package/dist/cdn/{HR444NEK.js → JTPSBTFO.js} +2 -2
- package/dist/cdn/{LA3WXX6S.js → JZTHURAB.js} +2 -2
- package/dist/cdn/{6A7Q3TQQ.js → KBR526EG.js} +2 -2
- package/dist/cdn/{V2HKJ2XS.js → KGRVWUYS.js} +2 -2
- package/dist/cdn/{WCN5BTZK.js → KKJOXTSR.js} +1 -1
- package/dist/cdn/KO6HL5WN.js +4 -0
- package/dist/cdn/{BPU7FXWG.js → KYKSOV37.js} +2 -2
- package/dist/cdn/{AC564Y7N.js → L2BAYKOL.js} +2 -2
- package/dist/cdn/{LLP5LLYH.js → LHT7AL35.js} +2 -2
- package/dist/cdn/{423V5C4B.js → LJXSCSVX.js} +2 -2
- package/dist/cdn/{KK6BQ2CP.js → LK4UCIKB.js} +2 -2
- package/dist/cdn/{2MSHYKLY.js → LKQ2XH6L.js} +1 -1
- package/dist/cdn/{Y3F4QRXD.js → LKQAEQZ4.js} +2 -2
- package/dist/cdn/{HYJWUK62.js → LXROLJPG.js} +2 -2
- package/dist/cdn/{TX73U2FV.js → LYM4PVSU.js} +2 -2
- package/dist/cdn/MEZYLQ45.js +4 -0
- package/dist/cdn/{2T3TZHDL.js → MSXPH4IW.js} +2 -2
- package/dist/cdn/{GGJMORSZ.js → MUBP4D6K.js} +1 -1
- package/dist/cdn/{SMDXISGW.js → NGOQVF7W.js} +2 -2
- package/dist/cdn/NJVTIVJO.js +4 -0
- package/dist/cdn/{VOY4SECC.js → NK325K6C.js} +2 -2
- package/dist/cdn/{Q4MJCFNM.js → NZKJX6ED.js} +2 -2
- package/dist/cdn/{ENJOMNYR.js → O44Y3FT3.js} +2 -2
- package/dist/cdn/{OXIM4H35.js → O64LL5JP.js} +2 -2
- package/dist/cdn/O7ABFKF6.js +4 -0
- package/dist/cdn/{47UT4ZJL.js → O7PUN6ZV.js} +2 -2
- package/dist/cdn/{M7SQOAZH.js → ODBKODK2.js} +2 -2
- package/dist/cdn/{BHLQIXDL.js → OOALXYFO.js} +2 -2
- package/dist/cdn/{TE3X665C.js → OPBAP7ZZ.js} +2 -2
- package/dist/cdn/{MDE477I7.js → OQMEHUIV.js} +2 -2
- package/dist/cdn/{UGS4NW57.js → OTDS6EZI.js} +1 -1
- package/dist/cdn/OTQYWZXU.js +4 -0
- package/dist/cdn/OTZBMQH6.js +4 -0
- package/dist/cdn/{ZEVGYTNS.js → OZXWBKPW.js} +1 -1
- package/dist/cdn/{FZ2FCD6T.js → P5GLJFDO.js} +2 -2
- package/dist/cdn/{YPP3POBW.js → QBWY6DPH.js} +2 -2
- package/dist/cdn/QIS3JY7M.js +4 -0
- package/dist/cdn/QQ35LHQ5.js +4 -0
- package/dist/cdn/QSHXM4K4.js +4 -0
- package/dist/cdn/{ZK4WKR7K.js → QYCK6SCJ.js} +16 -16
- package/dist/cdn/{CLKJKT6J.js → R6GAXB4J.js} +2 -2
- package/dist/cdn/{NMNYQLQR.js → RDWNQEK3.js} +2 -2
- package/dist/cdn/RNVTPVVG.js +4 -0
- package/dist/cdn/RPYIRMJI.js +4 -0
- package/dist/cdn/{OKMUSD5P.js → RQ2ZKKIA.js} +2 -2
- package/dist/cdn/{DZ2QWGES.js → RSLPD74V.js} +2 -2
- package/dist/cdn/{SYX4WHDL.js → RXFAANT4.js} +2 -2
- package/dist/cdn/{BYR7CBJJ.js → RZAKBIOP.js} +2 -2
- package/dist/cdn/S4VVEI76.js +4 -0
- package/dist/cdn/{ZS3AU56P.js → SB4ENFB3.js} +2 -2
- package/dist/cdn/{5I5TZFA5.js → SDWGJR2S.js} +2 -2
- package/dist/cdn/{DDN6BJZK.js → SII7V63Y.js} +2 -2
- package/dist/cdn/{BHCBPBD5.js → SKJD5NC2.js} +2 -2
- package/dist/cdn/SME6FTK3.js +4 -0
- package/dist/cdn/{HXX354OX.js → SS6K4KIU.js} +2 -2
- package/dist/cdn/{7Y37RVXF.js → SSHVHR3U.js} +2 -2
- package/dist/cdn/{O27CE2NW.js → SWMOL4WC.js} +2 -2
- package/dist/cdn/{FB7DN3DT.js → SYLYSYJM.js} +1 -1
- package/dist/cdn/{4HULC2CI.js → T2SQNU52.js} +2 -2
- package/dist/cdn/{GNVGY7HC.js → T4V2RWLD.js} +2 -2
- package/dist/cdn/{ZTOG5M7S.js → TA3LA3EO.js} +2 -2
- package/dist/cdn/{YJDUWPXE.js → TK7EIFKF.js} +2 -2
- package/dist/cdn/UOXIKDZ3.js +4 -0
- package/dist/cdn/{GRIZMI32.js → V54C7QR7.js} +2 -2
- package/dist/cdn/{ECPH3ETO.js → VD7464WE.js} +2 -2
- package/dist/cdn/{TEXZSQQM.js → VF3BUMUL.js} +2 -2
- package/dist/cdn/{CTVURQ42.js → VNQJMRIR.js} +2 -2
- package/dist/cdn/{SA44ZUJK.js → VR5C5DQV.js} +2 -2
- package/dist/cdn/{YATDLDWB.js → VT4TGCUW.js} +2 -2
- package/dist/cdn/{QH3YQHCO.js → VWXK72J2.js} +2 -2
- package/dist/cdn/W4N6GP7X.js +4 -0
- package/dist/cdn/{B2PRCF3G.js → W5Q3Y3N4.js} +2 -2
- package/dist/cdn/{C722DGNP.js → WFLWRMBB.js} +2 -2
- package/dist/cdn/{HVU3PQF7.js → WHYKP7IA.js} +2 -2
- package/dist/cdn/{3VOZA7FO.js → WKZBZW57.js} +2 -2
- package/dist/cdn/{HHVXGICB.js → WNPMDSIC.js} +2 -2
- package/dist/cdn/{HBSUFJH5.js → WQLQYEUT.js} +2 -2
- package/dist/cdn/{7LXUT7LH.js → WSYMOSDL.js} +2 -2
- package/dist/cdn/XDSEA2AW.js +4 -0
- package/dist/cdn/{Z6WUUF2T.js → XE5PWURJ.js} +2 -2
- package/dist/cdn/{FJRBRN6U.js → XGJQE7ML.js} +2 -2
- package/dist/cdn/{U4NFJDZB.js → XJJJZ6HK.js} +1 -1
- package/dist/cdn/{KGGAJF4P.js → XKJAM2RL.js} +2 -2
- package/dist/cdn/{PRV2MZWR.js → XNXEABAK.js} +2 -2
- package/dist/cdn/{NX27XK5S.js → XU5NNLEE.js} +2 -2
- package/dist/cdn/{Z3J5IOTX.js → YAZ7WAIQ.js} +2 -2
- package/dist/cdn/{FTSITU6D.js → YJAFVJ5U.js} +2 -2
- package/dist/cdn/{M2NBNGYI.js → YOL4HGR7.js} +2 -2
- package/dist/cdn/{RL3UM6MF.js → YRTJBFQX.js} +2 -2
- package/dist/cdn/YTYT3OZE.js +4 -0
- package/dist/cdn/{NX4QKBZH.js → Z7HN543Y.js} +2 -2
- package/dist/cdn/ZEXUMO6C.js +4 -0
- package/dist/cdn/{U65RDXQB.js → ZK4Z2WFD.js} +2 -2
- package/dist/cdn/ZRRL7AJ4.js +4 -0
- package/dist/cdn/{5MDT56DS.js → ZSWJPEGA.js} +2 -2
- package/dist/cdn/{4TMOYJA4.js → ZU5OZ232.js} +2 -2
- package/dist/cdn/{S7PS3LSG.js → ZXQV2IGL.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +53 -53
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +306 -348
- package/dist/chunks/box-plot-model.js +239 -203
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +128 -98
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +705 -739
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +195 -232
- package/dist/chunks/histogram-data.js +64 -68
- package/dist/chunks/histogram-model.js +106 -141
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +240 -279
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +1 -1
- package/dist/chunks/line-chart-model.js +51 -54
- package/dist/chunks/model-with-baseline-stacking.js +77 -57
- package/dist/chunks/model-with-data-labels.js +111 -167
- package/dist/chunks/model-with-multi-axes.js +672 -766
- package/dist/chunks/model-with-rotation.js +9 -12
- package/dist/chunks/pie-chart-data.js +162 -160
- package/dist/chunks/pie-chart-model.js +364 -449
- package/dist/chunks/popover-ui-utils.js +7 -7
- package/dist/chunks/radar-chart-model.js +51 -54
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +138 -168
- package/dist/chunks/serial-chart-model.js +281 -272
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +49 -49
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +20 -18
- package/dist/components/arcgis-chart/customElement.js +955 -955
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +27 -27
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +61 -61
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +20 -20
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +34 -34
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +60 -60
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +23 -23
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +94 -96
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +50 -50
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +48 -48
- 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 +5 -5
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.d.ts +20 -0
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +68 -68
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +30 -30
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +23 -23
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +37 -37
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +32 -32
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +39 -39
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +76 -75
- package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +1 -0
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +12 -8
- 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 +1 -1
- package/dist/json-schema/index.d.ts +3 -0
- package/dist/loader.js +1 -1
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +1 -6
- package/dist/model/box-plot-model/box-plot-model.d.ts +70 -93
- package/dist/model/box-plot-model/utils/box-plot-data.d.ts +33 -27
- package/dist/model/chart-model/chart-model.d.ts +81 -189
- package/dist/model/chart-model/utils/types.d.ts +2 -2
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +4 -4
- package/dist/model/gauge-model/gauge-model.d.ts +61 -153
- package/dist/model/gauge-model/utils/gauge-data.d.ts +24 -10
- package/dist/model/gauge-model/utils/gauge-series.d.ts +12 -6
- package/dist/model/histogram-model/histogram-model.d.ts +41 -106
- package/dist/model/histogram-model/utils/histogram-data.d.ts +11 -4
- package/dist/model/line-chart-model/line-chart-model.d.ts +2 -7
- package/dist/model/mixins/model-with-basic-x-axis.d.ts +23 -68
- package/dist/model/mixins/model-with-color-match.d.ts +3 -14
- package/dist/model/mixins/model-with-data-labels.d.ts +7 -26
- package/dist/model/mixins/model-with-guides.d.ts +3 -7
- package/dist/model/mixins/model-with-legend.d.ts +24 -76
- package/dist/model/mixins/model-with-multi-axes.d.ts +14 -40
- package/dist/model/mixins/model-with-rotation.d.ts +3 -8
- package/dist/model/mixins/model-with-temporal-binning.d.ts +15 -48
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +88 -248
- package/dist/model/pie-chart-model/utils/pie-chart-data.d.ts +10 -5
- package/dist/model/pie-chart-model/utils/pie-chart-series.d.ts +10 -10
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +2 -7
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +26 -70
- package/dist/model/scatterplot-model/utils/scatterplot-data.d.ts +17 -5
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +75 -85
- package/dist/model/serial-chart-model/utils/serial-chart-data.d.ts +32 -36
- package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +14 -6
- package/dist/model/shared/axes.d.ts +9 -6
- package/dist/model/shared/data.d.ts +6 -0
- package/dist/model/shared/utils.d.ts +0 -1
- package/dist/model.js +5 -5
- package/dist/spec/data-source.d.ts +1 -0
- package/dist/spec/events.d.ts +1 -1
- package/dist/utils/defaults/index.d.ts +24 -23
- package/dist/utils/ui/popover-ui-utils.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cdn/2I45E4HX.js +0 -4
- package/dist/cdn/2KA57ESL.js +0 -4
- package/dist/cdn/2KJ6DUBU.js +0 -4
- package/dist/cdn/33MZG54V.js +0 -4
- package/dist/cdn/3YPORNCM.js +0 -4
- package/dist/cdn/4VI6KX2G.js +0 -4
- package/dist/cdn/5ELXT6PR.js +0 -4
- package/dist/cdn/5SG67GSY.js +0 -4
- package/dist/cdn/5SJLW2TE.js +0 -4
- package/dist/cdn/6F46JHJD.js +0 -4
- package/dist/cdn/7HZIBDBN.js +0 -4
- package/dist/cdn/7UNGWO45.js +0 -4
- package/dist/cdn/A7F4LHVM.js +0 -4
- package/dist/cdn/AIHQHM4V.js +0 -4
- package/dist/cdn/BRFPPI6O.js +0 -6
- package/dist/cdn/CDCPDQP7.js +0 -4
- package/dist/cdn/D5534GMU.js +0 -4
- package/dist/cdn/EJUGL4QY.js +0 -4
- package/dist/cdn/FDGLYVMO.js +0 -4
- package/dist/cdn/FFOLYKDF.js +0 -4
- package/dist/cdn/FOOSRTYP.js +0 -4
- package/dist/cdn/GVWQ2O6V.js +0 -4
- package/dist/cdn/JLWIFYPQ.js +0 -4
- package/dist/cdn/JTBNI6SM.js +0 -4
- package/dist/cdn/KOMDBSMS.js +0 -4
- package/dist/cdn/KQQ7FWII.js +0 -4
- package/dist/cdn/LDLGWCT5.js +0 -4
- package/dist/cdn/MLCW5RKR.js +0 -4
- package/dist/cdn/N4MLKZVD.js +0 -4
- package/dist/cdn/N6TQQBVF.js +0 -4
- package/dist/cdn/NHEJYFBE.js +0 -4
- package/dist/cdn/NOKTLBNB.js +0 -4
- package/dist/cdn/P6VORUPJ.js +0 -4
- package/dist/cdn/QUW3APXX.js +0 -4
- package/dist/cdn/QYBP46E3.js +0 -4
- package/dist/cdn/RDDHCGUT.js +0 -4
- package/dist/cdn/RFTRBMMB.js +0 -4
- package/dist/cdn/RKIFKKFA.js +0 -4
- package/dist/cdn/S3STODPH.js +0 -4
- package/dist/cdn/UDDG2EO4.js +0 -4
- package/dist/cdn/VUORQAFM.js +0 -4
- package/dist/cdn/WU4NBI26.js +0 -4
- package/dist/cdn/X25LJUWS.js +0 -4
- package/dist/cdn/YCIOSELY.js +0 -4
- package/dist/cdn/YG76ZVWF.js +0 -4
- package/dist/cdn/YHX5XN4Y.js +0 -4
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { keyed as
|
|
1
|
+
import { c as $ } from "../../chunks/runtime.js";
|
|
2
|
+
import { keyed as F } from "lit/directives/keyed.js";
|
|
3
3
|
import { a as c, i as b, m as d } from "../../chunks/series-types.js";
|
|
4
4
|
import { a as p } from "../../chunks/rest-js-object-literals.js";
|
|
5
|
-
import { b9 as f, aU as
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { css as
|
|
8
|
-
import { createRef as
|
|
9
|
-
import { u as
|
|
5
|
+
import { b9 as f, aU as x, aV as A, cd as u, b as I, ck as k } from "../../chunks/interfaces.js";
|
|
6
|
+
import { LitElement as B, createEvent as g, renderElement as T, safeClassMap as s } from "@arcgis/lumina";
|
|
7
|
+
import { css as S, html as r } from "lit";
|
|
8
|
+
import { createRef as m, ref as h } from "lit/directives/ref.js";
|
|
9
|
+
import { u as v } from "../../chunks/useT9n.js";
|
|
10
10
|
import { L as a } from "../../chunks/interfaces3.js";
|
|
11
|
-
import { d as
|
|
11
|
+
import { d as L, s as w } from "../../chunks/store.js";
|
|
12
12
|
import "@arcgis/toolkit/intl";
|
|
13
13
|
import "lodash-es";
|
|
14
14
|
import "d3-array";
|
|
@@ -23,8 +23,8 @@ import "@arcgis/toolkit/dom";
|
|
|
23
23
|
import { r as E } from "../../chunks/popover-ui-utils.js";
|
|
24
24
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
25
25
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
26
|
-
v4.34.0-next.
|
|
27
|
-
const P =
|
|
26
|
+
v4.34.0-next.144 */
|
|
27
|
+
const P = S`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:.5rem;justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.text{display:flex;margin-left:.5rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}`, n = {
|
|
28
28
|
label: "label",
|
|
29
29
|
fieldList: "field-list",
|
|
30
30
|
fab: "fab",
|
|
@@ -32,48 +32,48 @@ const P = B`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolu
|
|
|
32
32
|
linkContainer: "link-container",
|
|
33
33
|
dimText: "dim-text"
|
|
34
34
|
};
|
|
35
|
-
class
|
|
35
|
+
class _ extends B {
|
|
36
36
|
constructor() {
|
|
37
|
-
super(...arguments), this._messages =
|
|
37
|
+
super(...arguments), this._messages = v(), this.commonStrings = v({ name: "common", blocking: !0 }), this.lineChartPopover = null, this.aggregationElement = m(), this.xAxisFieldElement = m(), this.numericFieldsElement = m(), this.splitByFieldElement = m(), this.intervalAlignmentElement = m(), this.intervalElement = m(), this.onLineChartDataChange = async (e) => {
|
|
38
38
|
try {
|
|
39
39
|
if (e.detail !== null && e.detail?.value !== void 0) {
|
|
40
|
-
const { contentKind:
|
|
41
|
-
switch (
|
|
40
|
+
const { contentKind: t } = e.detail, i = [...e.detail.value];
|
|
41
|
+
switch (L(w), t) {
|
|
42
42
|
case a.aggregation:
|
|
43
|
-
|
|
43
|
+
this.model.aggregationType = i[0] !== c.NoAggregation ? i[0] : c.NoAggregation;
|
|
44
44
|
break;
|
|
45
45
|
case a.xAxisField: {
|
|
46
|
-
const l =
|
|
47
|
-
|
|
46
|
+
const l = i[0]?.trim() || "";
|
|
47
|
+
this.model.xAxisField = l, this.arcgisChartsConfigResetTimeInterval.emit();
|
|
48
48
|
break;
|
|
49
49
|
}
|
|
50
50
|
case a.numericFields:
|
|
51
|
-
|
|
51
|
+
this.model.numericFields = i, this.model.numericFields.length > 0 && this.model.aggregationType === c.Count && this.model.numericFields[0] !== f(this.layerFieldsInfo) && (this.model.aggregationType = c.Sum);
|
|
52
52
|
break;
|
|
53
53
|
case a.splitByField: {
|
|
54
|
-
const l =
|
|
55
|
-
|
|
54
|
+
const l = i[0]?.trim() || "";
|
|
55
|
+
this.model.splitByField = l, this.model.colorMatch = !0;
|
|
56
56
|
break;
|
|
57
57
|
}
|
|
58
58
|
case a.interval:
|
|
59
|
-
this.model.
|
|
59
|
+
this.model.temporalBinningSize = i[0]?.intervalSize, this.model.temporalBinningUnit = i[0]?.intervalUnits, this.arcgisChartsConfigCustomizedTimeInterval.emit();
|
|
60
60
|
break;
|
|
61
61
|
case a.intervalAlignment:
|
|
62
|
-
this.model.
|
|
62
|
+
this.model.timeAggregationType = i[0] ?? "";
|
|
63
63
|
break;
|
|
64
64
|
default:
|
|
65
65
|
break;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
} catch (
|
|
69
|
-
throw this.arcgisChartsConfigDataChangeError.emit({ error:
|
|
68
|
+
} catch (t) {
|
|
69
|
+
throw this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
70
70
|
}
|
|
71
71
|
this.removeLineChartDataPopover(), this.requestUpdate();
|
|
72
72
|
}, this.onModelConfigChange = () => {
|
|
73
73
|
this.requestUpdate();
|
|
74
74
|
}, this.popoverClose = (e) => {
|
|
75
75
|
this.lineChartPopover === e?.target && this.removeLineChartDataPopover();
|
|
76
|
-
}, this.layerFieldsInfo = [], this.arcgisChartsConfigCustomizedTimeInterval =
|
|
76
|
+
}, this.layerFieldsInfo = [], this.arcgisChartsConfigCustomizedTimeInterval = g(), this.arcgisChartsConfigDataChangeError = g(), this.arcgisChartsConfigLineChartDataNumericFieldValidate = g(), this.arcgisChartsConfigResetTimeInterval = g();
|
|
77
77
|
}
|
|
78
78
|
static {
|
|
79
79
|
this.properties = { aggregationLabel: 16, timeAggregationLabel: 16, disableSplitBy: 16, messageOverrides: 0, model: 0, resetTimeInterval: 0, layerFieldsInfo: 0 };
|
|
@@ -84,19 +84,19 @@ class N extends T {
|
|
|
84
84
|
load() {
|
|
85
85
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
86
86
|
}
|
|
87
|
-
|
|
88
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel =
|
|
89
|
-
const
|
|
90
|
-
|
|
87
|
+
willUpdate(e) {
|
|
88
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel = x(this.model.aggregationType, this.commonStrings);
|
|
89
|
+
const t = this.model.timeAggregationType;
|
|
90
|
+
t !== void 0 && (this.timeAggregationLabel = A(t, this.commonStrings)), this.disableSplitBy = this.model.numericFields.length > 1;
|
|
91
91
|
}
|
|
92
92
|
disconnectedCallback() {
|
|
93
93
|
super.disconnectedCallback(), this.removeLineChartDataPopover(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
94
94
|
}
|
|
95
|
-
modelChange(e,
|
|
96
|
-
|
|
95
|
+
modelChange(e, t) {
|
|
96
|
+
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
97
97
|
}
|
|
98
98
|
buildNumericFieldItem(e) {
|
|
99
|
-
return
|
|
99
|
+
return F(e, r`<calcite-list-item .label=${u(this.layerFieldsInfo, e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`);
|
|
100
100
|
}
|
|
101
101
|
resetTimeIntervalOriginal(e) {
|
|
102
102
|
this.popoverClose(e), this.model.resetTimeInterval !== void 0 && (this.model.resetTimeInterval(), this.arcgisChartsConfigResetTimeInterval.emit());
|
|
@@ -113,9 +113,9 @@ class N extends T {
|
|
|
113
113
|
onAddNumericFields(e) {
|
|
114
114
|
this.contentKind = a.numericFields, this.setupPopover(e);
|
|
115
115
|
}
|
|
116
|
-
|
|
117
|
-
const
|
|
118
|
-
|
|
116
|
+
onRemoveNumericField(e) {
|
|
117
|
+
const t = e.target.value;
|
|
118
|
+
this.model.numericFields = this.model.numericFields.filter((i) => i !== t);
|
|
119
119
|
}
|
|
120
120
|
onIntervalAlignmentSelect(e) {
|
|
121
121
|
this.intervalAlignmentElement.value && !this.intervalAlignmentElement.value.disabled && (this.contentKind = a.intervalAlignment, this.setupPopover(e));
|
|
@@ -124,93 +124,93 @@ class N extends T {
|
|
|
124
124
|
this.intervalElement.value && !this.intervalElement.value.disabled && (this.contentKind = a.interval, this.setupPopover(e));
|
|
125
125
|
}
|
|
126
126
|
getCorrectedSplitByValue() {
|
|
127
|
-
return this.model.
|
|
127
|
+
return this.model.splitByField === "" || this.model.numericFields.length > 1 ? "" : u(this.layerFieldsInfo, this.model.splitByField);
|
|
128
128
|
}
|
|
129
129
|
getCorrectedXAxisValue() {
|
|
130
|
-
return this.model.
|
|
130
|
+
return this.model.xAxisField === I || this.model.xAxisField.trim() === "" ? "" : u(this.layerFieldsInfo, this.model.xAxisField);
|
|
131
131
|
}
|
|
132
132
|
onShowDataLabelsChange(e) {
|
|
133
|
-
this.model.
|
|
133
|
+
this.model.dataLabelsVisibility = e.target.checked;
|
|
134
134
|
}
|
|
135
135
|
onTrimIncompleteIntervalChange(e) {
|
|
136
|
-
this.model.
|
|
136
|
+
this.model.trimIncompleteTimeInterval = e.target.checked;
|
|
137
137
|
}
|
|
138
138
|
onNullPolicyChange(e) {
|
|
139
|
-
this.model.
|
|
139
|
+
this.model.nullPolicy = e.target.selectedItem.value;
|
|
140
140
|
}
|
|
141
141
|
shouldShowTimeBinning() {
|
|
142
|
-
const e = this.layerFieldsInfo.find((l) => l.name === this.model.
|
|
143
|
-
return
|
|
142
|
+
const e = this.layerFieldsInfo.find((l) => l.name === this.model.xAxisField), t = e?.type === p.Date || e?.type === p.DateOnly || e?.type === p.TimestampOffset, i = this.model.aggregationType !== c.NoAggregation;
|
|
143
|
+
return t && i;
|
|
144
144
|
}
|
|
145
145
|
setupPopover(e) {
|
|
146
146
|
e.stopImmediatePropagation(), this.removeLineChartDataPopover();
|
|
147
|
-
const
|
|
148
|
-
size: this.model.
|
|
149
|
-
unit: this.model.
|
|
147
|
+
const t = {
|
|
148
|
+
size: this.model.temporalBinningSize ?? 1,
|
|
149
|
+
unit: this.model.temporalBinningUnit ?? b.Second
|
|
150
150
|
};
|
|
151
|
-
let
|
|
151
|
+
let i, l, o;
|
|
152
152
|
switch (this.contentKind) {
|
|
153
153
|
case a.aggregation:
|
|
154
|
-
|
|
154
|
+
i = this.aggregationElement.value, l = this._messages.aggregationHeader, o = this.model.aggregationType;
|
|
155
155
|
break;
|
|
156
156
|
case a.xAxisField:
|
|
157
|
-
|
|
157
|
+
i = this.xAxisFieldElement.value, l = this._messages.xAxisFieldHeader, o = this.model.xAxisField;
|
|
158
158
|
break;
|
|
159
159
|
case a.numericFields:
|
|
160
|
-
|
|
160
|
+
i = this.numericFieldsElement.value, l = this._messages.numericFieldsHeader, o = this.model.numericFields;
|
|
161
161
|
break;
|
|
162
162
|
case a.splitByField:
|
|
163
|
-
|
|
163
|
+
i = this.splitByFieldElement.value, l = this._messages.splitByFieldHeader, o = this.model.splitByField;
|
|
164
164
|
break;
|
|
165
165
|
case a.interval:
|
|
166
|
-
|
|
166
|
+
i = this.intervalElement.value, l = this._messages.editInterval, o = t;
|
|
167
167
|
break;
|
|
168
168
|
case a.intervalAlignment:
|
|
169
|
-
|
|
169
|
+
i = this.intervalAlignmentElement.value, l = this._messages.intervalAlignment, o = this.model.timeAggregationType ?? "";
|
|
170
170
|
break;
|
|
171
171
|
}
|
|
172
|
-
this.lineChartPopover =
|
|
172
|
+
this.lineChartPopover = T(r`<arcgis-charts-config-line-chart-popover .headingTitle=${l} .referenceElement=${i} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${o} @arcgisChartsConfigLineChartDataPopoverChange=${this.onLineChartDataChange} @arcgisChartsConfigLineChartPopoverClose=${this.popoverClose}></arcgis-charts-config-line-chart-popover>`), !document.body.contains(this.lineChartPopover) && this.lineChartPopover !== null && document.body.appendChild(this.lineChartPopover);
|
|
173
173
|
}
|
|
174
174
|
removeLineChartDataPopover() {
|
|
175
175
|
this.lineChartPopover !== null && (this.lineChartPopover.open = !1, this.lineChartPopover = E(this.lineChartPopover));
|
|
176
176
|
}
|
|
177
177
|
renderAggregation() {
|
|
178
|
-
return r`<arcgis-charts-config-field-select .label=${this.model.
|
|
178
|
+
return r`<arcgis-charts-config-field-select .label=${this.model.aggregationType === c.NoAggregation ? this._messages.noAggregation : this.aggregationLabel} @click=${this.onAggregationSelect} ${h(this.aggregationElement)}></arcgis-charts-config-field-select>`;
|
|
179
179
|
}
|
|
180
180
|
renderXAxisField() {
|
|
181
181
|
const e = this.getCorrectedXAxisValue();
|
|
182
|
-
return r`<arcgis-charts-config-field-select .label=${e} @click=${this.onXAxisFieldSelect} ${
|
|
182
|
+
return r`<arcgis-charts-config-field-select .label=${e} @click=${this.onXAxisFieldSelect} ${h(this.xAxisFieldElement)}></arcgis-charts-config-field-select>`;
|
|
183
183
|
}
|
|
184
184
|
renderSplitBy() {
|
|
185
185
|
const e = this.getCorrectedSplitByValue();
|
|
186
|
-
return r`<arcgis-charts-config-field-select .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${
|
|
186
|
+
return r`<arcgis-charts-config-field-select .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${h(this.splitByFieldElement)}></arcgis-charts-config-field-select>`;
|
|
187
187
|
}
|
|
188
188
|
renderNumericFields(e) {
|
|
189
|
-
const
|
|
189
|
+
const t = f(this.layerFieldsInfo), i = [];
|
|
190
190
|
for (const l of e)
|
|
191
|
-
l !==
|
|
192
|
-
return r`<calcite-list label class=${s(n.fieldList)} ${
|
|
191
|
+
l !== t && i.push(this.buildNumericFieldItem(l));
|
|
192
|
+
return r`<calcite-list label class=${s(n.fieldList)} ${h(this.numericFieldsElement)}>${i}</calcite-list>`;
|
|
193
193
|
}
|
|
194
194
|
renderInterval() {
|
|
195
|
-
const e = (this.model.
|
|
195
|
+
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = k(this.model.temporalBinningUnit ?? b.Second, this._messages) ?? "";
|
|
196
196
|
return [
|
|
197
|
-
r`<calcite-list label selection-appearance=border><calcite-list-item .value=${e ? "" : `${
|
|
198
|
-
} : this.onIntervalSelect} ${
|
|
197
|
+
r`<calcite-list label selection-appearance=border><calcite-list-item .value=${e ? "" : `${t} ${i}`} .label=${e ? "" : `${t} ${i}`} @click=${e ? () => {
|
|
198
|
+
} : this.onIntervalSelect} ${h(this.intervalElement)}><calcite-icon slot=content-end icon=pencil></calcite-icon></calcite-list-item></calcite-list>`,
|
|
199
199
|
r`<div class=${s(n.linkContainer)}><calcite-button appearance=transparent scale=s icon-end=reset @click=${this.resetTimeIntervalOriginal}>${this._messages.reset}</calcite-button></div>`
|
|
200
200
|
];
|
|
201
201
|
}
|
|
202
202
|
renderIntervalAlignment() {
|
|
203
|
-
return r`<arcgis-charts-config-field-select .label=${this.timeAggregationLabel} @click=${this.onIntervalAlignmentSelect} ${
|
|
203
|
+
return r`<arcgis-charts-config-field-select .label=${this.timeAggregationLabel} @click=${this.onIntervalAlignmentSelect} ${h(this.intervalAlignmentElement)}></arcgis-charts-config-field-select>`;
|
|
204
204
|
}
|
|
205
205
|
renderEmptyBins() {
|
|
206
|
-
return r`<calcite-radio-button-group name=empty-bins layout=vertical @calciteRadioButtonGroupChange=${this.onNullPolicyChange}><calcite-label layout=inline><calcite-radio-button .value=${d.Zero} .checked=${this.model.
|
|
206
|
+
return r`<calcite-radio-button-group name=empty-bins layout=vertical @calciteRadioButtonGroupChange=${this.onNullPolicyChange}><calcite-label layout=inline><calcite-radio-button .value=${d.Zero} .checked=${this.model.nullPolicy === d.Zero}></calcite-radio-button>${this._messages.treatAsZero}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${d.Interpolate} .checked=${this.model.nullPolicy === d.Interpolate}></calcite-radio-button>${this._messages.connectLine}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${d.Null} .checked=${this.model.nullPolicy === d.Null}></calcite-radio-button>${this._messages.breakLine}</calcite-label></calcite-radio-button-group>`;
|
|
207
207
|
}
|
|
208
208
|
render() {
|
|
209
|
-
const e = this.renderAggregation(),
|
|
210
|
-
return r`<div><calcite-label class=${s(n.label)}>${this._messages.xAxisField}${
|
|
209
|
+
const e = this.renderAggregation(), t = this.renderXAxisField(), i = this.renderSplitBy(), l = this.renderNumericFields([...this.model.numericFields]), o = this.renderInterval(), y = this.renderIntervalAlignment(), C = this.renderEmptyBins();
|
|
210
|
+
return r`<div><calcite-label class=${s(n.label)}>${this._messages.xAxisField}${t}</calcite-label><calcite-label class=${s(n.label)}>${this._messages.aggregation}${e}</calcite-label><calcite-label class=${s(n.label)}>${this._messages.numericFields}${l}</calcite-label><div class=${s(n.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div><calcite-label class=${s(n.label)}><span class=${s(this.disableSplitBy ? n.dimText : "")}>${this._messages.splitBy}</span>${i}</calcite-label><div .hidden=${!this.shouldShowTimeBinning()}><h3 class=${s(n.timeBinningHeader)}>${this._messages.timeBinningOptions}</h3><calcite-label class=${s(n.label)}>${this._messages.interval}${o}</calcite-label><calcite-label class=${s(n.label)}>${this._messages.intervalAlignment}${y}</calcite-label><calcite-label class=${s(n.label)} layout=inline-space-between>${this._messages.trimIncompleteInterval}<calcite-switch .checked=${this.model.trimIncompleteTimeInterval} @calciteSwitchChange=${this.onTrimIncompleteIntervalChange}></calcite-switch></calcite-label><calcite-label class=${s(n.label)}>${this._messages.emptyBins}${C}</calcite-label></div><calcite-label class=${s(n.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label></div>`;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
|
|
213
|
+
$("arcgis-charts-config-line-chart-data", _);
|
|
214
214
|
export {
|
|
215
|
-
|
|
215
|
+
_ as ArcgisChartsConfigLineChartData
|
|
216
216
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as I } from "../../chunks/runtime.js";
|
|
2
2
|
import { repeat as f } from "lit/directives/repeat.js";
|
|
3
3
|
import { keyed as b } from "lit/directives/keyed.js";
|
|
4
4
|
import { n as d, i as c } from "../../chunks/series-types.js";
|
|
@@ -6,7 +6,7 @@ import { a as h } from "../../chunks/rest-js-object-literals.js";
|
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import { isEqual as v } from "lodash-es";
|
|
8
8
|
import "d3-array";
|
|
9
|
-
import { aU as
|
|
9
|
+
import { aU as F, aV as P, cd as x, bc as T, ba as C, ck as A } from "../../chunks/interfaces.js";
|
|
10
10
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
12
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -15,17 +15,17 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
15
15
|
import "@arcgis/core/core/promiseUtils.js";
|
|
16
16
|
import "@arcgis/core/request.js";
|
|
17
17
|
import "@arcgis/toolkit/dom";
|
|
18
|
-
import { e as
|
|
19
|
-
import { LitElement as
|
|
20
|
-
import { css as
|
|
21
|
-
import { createRef as g, ref as
|
|
22
|
-
import { u as
|
|
18
|
+
import { e as w, p as D } from "../../chunks/popover-ui-utils.js";
|
|
19
|
+
import { LitElement as E, createEvent as y, safeClassMap as o } from "@arcgis/lumina";
|
|
20
|
+
import { css as S, html as n } from "lit";
|
|
21
|
+
import { createRef as g, ref as m } from "lit/directives/ref.js";
|
|
22
|
+
import { u as L } from "../../chunks/useT9n.js";
|
|
23
23
|
import { L as a } from "../../chunks/interfaces3.js";
|
|
24
|
-
import { h as
|
|
24
|
+
import { h as $, U as k, i as u, e as z, s as N } from "../../chunks/chart-ui-utils2.js";
|
|
25
25
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
26
26
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
27
|
-
v4.34.0-next.
|
|
28
|
-
const K =
|
|
27
|
+
v4.34.0-next.144 */
|
|
28
|
+
const K = S`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}calcite-panel{max-height:60vh}calcite-panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}calcite-panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}calcite-panel .apply-button{width:17rem}`, r = {
|
|
29
29
|
jsAppFlyout: "js-app-flyout",
|
|
30
30
|
name: "line-chart-data-popover",
|
|
31
31
|
numericFieldPickList: "line-chart-data-numeric-fields-pick-list",
|
|
@@ -35,9 +35,9 @@ const K = E`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolu
|
|
|
35
35
|
sizeSection: "size-section",
|
|
36
36
|
applyButton: "apply-button"
|
|
37
37
|
};
|
|
38
|
-
class B extends
|
|
38
|
+
class B extends E {
|
|
39
39
|
constructor() {
|
|
40
|
-
super(...arguments), this._messages =
|
|
40
|
+
super(...arguments), this._messages = L(), this.commonStrings = L({ name: "common", blocking: !0 }), this.picklist = g(), this.intervalSizeElement = g(), this.intervalTypeElement = g(), this.popoverElement = g(), this.placement = "leading", this.offsetDistance = -200, this.pickListHasChanged = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigLineChartDataPopoverChange = y(), this.arcgisChartsConfigLineChartPopoverClose = y();
|
|
41
41
|
}
|
|
42
42
|
static {
|
|
43
43
|
this.properties = { aggregationLabels: 16, timeAggregationLabels: 16, messageOverrides: 0, headingTitle: 3, referenceElement: 2, open: 7, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1 };
|
|
@@ -48,32 +48,32 @@ class B extends D {
|
|
|
48
48
|
async reposition() {
|
|
49
49
|
await this.popoverElement.value?.reposition();
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
willUpdate(e) {
|
|
52
52
|
e.has("selectedContent") && this.selectedContentChange(this.selectedContent, e.get("selectedContent"));
|
|
53
|
-
const t =
|
|
53
|
+
const t = $.map((i) => F(i, this.commonStrings));
|
|
54
54
|
v(this.aggregationLabels, t) || (this.aggregationLabels = t);
|
|
55
|
-
const
|
|
55
|
+
const l = [d.Start, d.End].map((i) => P(i, this.commonStrings));
|
|
56
56
|
v(this.timeAggregationLabels, l) || (this.timeAggregationLabels = l);
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
updated() {
|
|
59
59
|
setTimeout(async () => {
|
|
60
60
|
typeof this.picklist.value?.setFocus == "function" && await this.picklist.value?.setFocus();
|
|
61
|
-
},
|
|
61
|
+
}, k.PopoverTimer), w(this.popoverElement.value, this.open), this.hasUpdated || setTimeout(() => {
|
|
62
62
|
this.popoverElement.value?.reposition();
|
|
63
|
-
},
|
|
63
|
+
}, k.PopoverTimer);
|
|
64
64
|
}
|
|
65
65
|
selectedContentChange(e, t) {
|
|
66
|
-
this.pickListHasChanged =
|
|
66
|
+
this.pickListHasChanged = D(e, t);
|
|
67
67
|
}
|
|
68
68
|
buildAggregationPickListItems() {
|
|
69
|
-
return f(
|
|
69
|
+
return f($, (e) => e, (e, t) => n`<calcite-list-item .label=${this.aggregationLabels?.[t]} .value=${e} .selected=${u(e, this.selectedContent)}></calcite-list-item>`);
|
|
70
70
|
}
|
|
71
71
|
buildIntervalAlignmentPickListItems() {
|
|
72
72
|
const e = [d.Start, d.End];
|
|
73
73
|
return f(e, (t) => t, (t, s) => n`<calcite-list-item .label=${this.timeAggregationLabels?.[s]} .value=${t} .selected=${u(t, this.selectedContent)}></calcite-list-item>`);
|
|
74
74
|
}
|
|
75
75
|
buildPickListItem(e) {
|
|
76
|
-
return b(e.name, n`<calcite-list-item .label=${
|
|
76
|
+
return b(e.name, n`<calcite-list-item .label=${x(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${u(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
77
77
|
}
|
|
78
78
|
buildPickListItems(e) {
|
|
79
79
|
const t = this.layerFieldsInfo?.length ?? 0, s = [];
|
|
@@ -96,8 +96,8 @@ class B extends D {
|
|
|
96
96
|
const l = b(" ", n`<calcite-list-item label=" " value=" " .selected=${u("", this.selectedContent)}></calcite-list-item>`);
|
|
97
97
|
s.push(l);
|
|
98
98
|
for (let i = 0; i < t; i += 1) {
|
|
99
|
-
const
|
|
100
|
-
|
|
99
|
+
const p = this.layerFieldsInfo?.[i];
|
|
100
|
+
p && (T(p) || p.type === h.String) && s.push(this.buildPickListItem(p));
|
|
101
101
|
}
|
|
102
102
|
break;
|
|
103
103
|
}
|
|
@@ -111,7 +111,7 @@ class B extends D {
|
|
|
111
111
|
eventEmitter: this.arcgisChartsConfigLineChartDataPopoverChange,
|
|
112
112
|
contentKind: this.contentKind
|
|
113
113
|
};
|
|
114
|
-
|
|
114
|
+
z(e);
|
|
115
115
|
}
|
|
116
116
|
this.open = !1, this.arcgisChartsConfigLineChartPopoverClose.emit();
|
|
117
117
|
}
|
|
@@ -142,15 +142,15 @@ class B extends D {
|
|
|
142
142
|
}
|
|
143
143
|
renderXAxisField() {
|
|
144
144
|
const e = this.buildPickListItems(a.xAxisField);
|
|
145
|
-
return n`<calcite-list label class=${o(r.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${
|
|
145
|
+
return n`<calcite-list label class=${o(r.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
146
146
|
}
|
|
147
147
|
renderNumericFields() {
|
|
148
148
|
const e = this.buildPickListItems(a.numericFields);
|
|
149
|
-
return n`<calcite-list label class=${o(r.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${
|
|
149
|
+
return n`<calcite-list label class=${o(r.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
150
150
|
}
|
|
151
151
|
renderSplitByField() {
|
|
152
152
|
const e = this.buildPickListItems(a.splitByField);
|
|
153
|
-
return n`<calcite-list label class=${o(r.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${
|
|
153
|
+
return n`<calcite-list label class=${o(r.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
154
154
|
}
|
|
155
155
|
renderIntervalAlignment() {
|
|
156
156
|
const e = this.buildIntervalAlignmentPickListItems();
|
|
@@ -166,7 +166,7 @@ class B extends D {
|
|
|
166
166
|
c.Month,
|
|
167
167
|
c.Year
|
|
168
168
|
];
|
|
169
|
-
return n`<div><div class=${o(r.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${N(e?.size, 1)} ${
|
|
169
|
+
return n`<div><div class=${o(r.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${N(e?.size, 1)} ${m(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${m(this.intervalTypeElement)}>${t.map((s) => n`<calcite-option .value=${s} .label=${A(s, this._messages)} .selected=${e?.unit === s}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(r.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`;
|
|
170
170
|
}
|
|
171
171
|
renderPopoverInfo() {
|
|
172
172
|
let e;
|
|
@@ -194,10 +194,10 @@ class B extends D {
|
|
|
194
194
|
}
|
|
195
195
|
render() {
|
|
196
196
|
let e;
|
|
197
|
-
return this.contentKind === a.numericFields && (e = n`<div slot=footer><calcite-fab class=${o(r.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div class=${o(r.jsAppFlyout)}><calcite-popover class=${o(r.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${
|
|
197
|
+
return this.contentKind === a.numericFields && (e = n`<div slot=footer><calcite-fab class=${o(r.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div class=${o(r.jsAppFlyout)}><calcite-popover class=${o(r.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${m(this.popoverElement)}><calcite-panel closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(r.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
|
|
200
|
+
I("arcgis-charts-config-line-chart-popover", B);
|
|
201
201
|
export {
|
|
202
202
|
B as ArcgisChartsConfigLineChartPopover
|
|
203
203
|
};
|
|
@@ -21,7 +21,7 @@ import { u as b } from "../../chunks/useT9n.js";
|
|
|
21
21
|
import { g as M } from "../../chunks/chart-ui-utils2.js";
|
|
22
22
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
23
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
24
|
-
v4.34.0-next.
|
|
24
|
+
v4.34.0-next.144 */
|
|
25
25
|
const O = P`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}`;
|
|
26
26
|
class k extends $ {
|
|
27
27
|
constructor() {
|
|
@@ -33,7 +33,7 @@ class k extends $ {
|
|
|
33
33
|
}, this.seriesColorChange = (e) => {
|
|
34
34
|
if (e.detail !== null && e.detail !== void 0) {
|
|
35
35
|
const { color: s } = e.detail;
|
|
36
|
-
this.model.
|
|
36
|
+
this.model.colorMatch = !1, s !== void 0 && (this.model.setSeriesColor(s, this.selectedSeriesIndex ?? -1), this.model.setSeriesMarkerColor(s, this.selectedSeriesIndex ?? -1));
|
|
37
37
|
}
|
|
38
38
|
}, this.seriesLineStyleChange = (e) => {
|
|
39
39
|
if (e.detail !== null && e.detail !== void 0) {
|
|
@@ -77,9 +77,9 @@ class k extends $ {
|
|
|
77
77
|
this.seriesPopover !== void 0 && this.seriesPopover !== null && (this.seriesPopover.open = !1, this.seriesPopover = d(this.seriesPopover));
|
|
78
78
|
}
|
|
79
79
|
buildSeriesListItems() {
|
|
80
|
-
const e = this.model.
|
|
80
|
+
const e = this.model.seriesLength, s = Array.from({ length: e }, (i, t) => t);
|
|
81
81
|
return y(s, (i) => this.model.getSeriesId(i), (i) => {
|
|
82
|
-
const t = this.model.getSeriesId(i), l = this.model.getSeriesColor(i), h = this.model.getSeriesName(i), c = this.model.
|
|
82
|
+
const t = this.model.getSeriesId(i), l = this.model.getSeriesColor(i), h = this.model.getSeriesName(i), c = this.model.chartSubType === I.BarAndLineFromFields ? this._messages.series : t, m = this.model.getSeriesLineStyle(i), g = M(m);
|
|
83
83
|
let n = "#CCCCCC", a = "minus-circle";
|
|
84
84
|
if ((e > 1 || !this.activeColorMatch) && l !== void 0) {
|
|
85
85
|
a = `line-${g}`;
|
|
@@ -21,7 +21,7 @@ import { createRef as n, ref as a } from "lit/directives/ref.js";
|
|
|
21
21
|
import { LitElement as $, createEvent as s, safeClassMap as l, nothing as r } from "@arcgis/lumina";
|
|
22
22
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
23
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
24
|
-
v4.34.0-next.
|
|
24
|
+
v4.34.0-next.144 */
|
|
25
25
|
const o = {
|
|
26
26
|
jsAppFlyout: "js-app-flyout",
|
|
27
27
|
sizeSection: "size-section",
|
|
@@ -8,7 +8,7 @@ import { createRef as r, ref as d } from "lit/directives/ref.js";
|
|
|
8
8
|
import { LitElement as S, createEvent as h, safeClassMap as s, nothing as n } from "@arcgis/lumina";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.144 */
|
|
12
12
|
const a = {
|
|
13
13
|
sizeSection: "size-section",
|
|
14
14
|
dropdownText: "dropdown-text",
|
|
@@ -6,7 +6,7 @@ import { createRef as b, ref as f } from "lit/directives/ref.js";
|
|
|
6
6
|
import { LitElement as v, createEvent as x, safeClassMap as i } from "@arcgis/lumina";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.144 */
|
|
10
10
|
const n = {
|
|
11
11
|
container: "container",
|
|
12
12
|
label: "label",
|
|
@@ -14,25 +14,25 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
14
14
|
import "@arcgis/core/request.js";
|
|
15
15
|
import { h as F } from "../../chunks/index4.js";
|
|
16
16
|
import "@arcgis/toolkit/dom";
|
|
17
|
-
import { LitElement as v, createEvent as
|
|
18
|
-
import { css as
|
|
17
|
+
import { LitElement as v, createEvent as m } from "@arcgis/lumina";
|
|
18
|
+
import { css as P, html as c } from "lit";
|
|
19
19
|
import { C as h } from "../../chunks/interfaces3.js";
|
|
20
20
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
21
21
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
22
|
-
v4.34.0-next.
|
|
23
|
-
const
|
|
24
|
-
class
|
|
22
|
+
v4.34.0-next.144 */
|
|
23
|
+
const L = P`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
24
|
+
class S extends v {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
27
|
-
const
|
|
28
|
-
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(
|
|
29
|
-
}, this.popoverPlacement = "leading", this.arcgisChartsConfigNoSeriesUpdate =
|
|
27
|
+
const s = e?.detail.config ?? this.model.config;
|
|
28
|
+
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(s);
|
|
29
|
+
}, this.popoverPlacement = "leading", this.arcgisChartsConfigNoSeriesUpdate = m(), this.arcgisChartsConfigWebChartChange = m();
|
|
30
30
|
}
|
|
31
31
|
static {
|
|
32
32
|
this.properties = { layerFieldsInfo: 16, model: 0, popoverPlacement: 3, seriesColor: 2, calculatedMinMaxBounds: 2, page: 3, layer: 0, usePopupTemplateFieldsInfo: 5, filterBySelection: 5, chartData: 0 };
|
|
33
33
|
}
|
|
34
34
|
static {
|
|
35
|
-
this.styles =
|
|
35
|
+
this.styles = L;
|
|
36
36
|
}
|
|
37
37
|
async load() {
|
|
38
38
|
this.layer !== void 0 && await this.layerChange(this.layer, void 0), this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), this.usePopupTemplateFieldsInfo !== void 0 && await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo, void 0), this.modelChange(this.model), this.onModelConfigChange();
|
|
@@ -53,29 +53,29 @@ class L extends v {
|
|
|
53
53
|
e !== void 0 && e !== i && await this.updateFetchLayerFieldsInfo();
|
|
54
54
|
}
|
|
55
55
|
seriesColorChange(e) {
|
|
56
|
-
const { slices: i, groupedSlices:
|
|
56
|
+
const { slices: i, groupedSlices: s, groupOfSlices: a } = e?.get(0) ?? {};
|
|
57
57
|
let o = [];
|
|
58
|
-
this.filterBySelection === !0 ? o = this.model.
|
|
59
|
-
const f = this.model.
|
|
60
|
-
f && (o[
|
|
61
|
-
const l = o[
|
|
58
|
+
this.filterBySelection === !0 ? o = this.model.slices?.map((r) => i?.find((t) => t.sliceId === r.sliceId) ?? s?.find((t) => t.sliceId === r.sliceId) ?? r) ?? [] : o = (i ?? []).concat(s ?? []), o.forEach((r, t) => {
|
|
59
|
+
const f = this.model.slices?.find((g) => g.sliceId === o[t].sliceId);
|
|
60
|
+
f && (o[t] = { ...o[t], ...f });
|
|
61
|
+
const l = o[t].fillSymbol;
|
|
62
62
|
l !== void 0 && !n(l?.outline?.color, l?.color) && (l.outline = {
|
|
63
63
|
...l.outline ?? {},
|
|
64
64
|
type: u.SLS,
|
|
65
65
|
color: l.color
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
|
-
const p = (
|
|
69
|
-
|
|
68
|
+
const p = (s ?? []).map((r) => r.sliceId);
|
|
69
|
+
s !== void 0 && !n(p, this.model.groupedSliceIds) && (this.model.groupedSliceIds = d(p)), n(o, this.model.slices) || (this.model.slices = d(o)), a !== void 0 && !n(a, this.model.sliceGrouping) && (this.model.sliceGrouping = d(a));
|
|
70
70
|
}
|
|
71
71
|
async updateFetchLayerFieldsInfo(e) {
|
|
72
|
-
const i = e ?? this.model.
|
|
73
|
-
let
|
|
74
|
-
if (!
|
|
72
|
+
const i = e ?? this.model.config;
|
|
73
|
+
let s = this.layer;
|
|
74
|
+
if (!s) {
|
|
75
75
|
const a = F(i) ? i.iLayer : void 0;
|
|
76
|
-
a && (
|
|
76
|
+
a && (s = await y(a));
|
|
77
77
|
}
|
|
78
|
-
|
|
78
|
+
s && (this.layerFieldsInfo = await I(s, this.usePopupTemplateFieldsInfo));
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
81
|
let e;
|
|
@@ -99,7 +99,7 @@ class L extends v {
|
|
|
99
99
|
return e;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
C("arcgis-charts-config-pie-chart",
|
|
102
|
+
C("arcgis-charts-config-pie-chart", S);
|
|
103
103
|
export {
|
|
104
|
-
|
|
104
|
+
S as ArcgisChartsConfigPieChart
|
|
105
105
|
};
|