@arcgis/charts-components 5.2.0-next.9 → 5.2.0-next.91
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/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/2B4DKL3R.js +2 -0
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/3HG6OEAW.js +2 -0
- package/dist/cdn/3K7H52Y5.js +2 -0
- package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
- package/dist/cdn/{IYA7HQMS.js → 3ZNZH5XV.js} +1 -1
- package/dist/cdn/44ICH2UX.js +2 -0
- package/dist/cdn/4A42J7HF.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{3TZEMBXR.js → 4EWMZYXM.js} +1 -1
- package/dist/cdn/{TFPQDMER.js → 4JBUJYUG.js} +1 -1
- package/dist/cdn/4JMHK7HK.js +2 -0
- package/dist/cdn/{WASEMNYV.js → 4JWNKQ22.js} +1 -1
- package/dist/cdn/4O4L6CM3.js +2 -0
- package/dist/cdn/4QQRIMTI.js +2 -0
- package/dist/cdn/4VW736DF.js +2 -0
- package/dist/cdn/54LUEUIT.js +2 -0
- package/dist/cdn/57PMXO2G.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{XY4TRZCG.js → 5JV6PU34.js} +1 -1
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/5YBMIR4F.js +2 -0
- package/dist/cdn/62EUOXR7.js +45 -0
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/65HVRSR6.js +2 -0
- package/dist/cdn/6K6Z6CQE.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/73DFT5MR.js +2 -0
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7HANUCEA.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{5SIAOUPO.js → AI2WUG3K.js} +1 -1
- package/dist/cdn/{XYKXBWIT.js → AKEVK6VK.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{AASL4RKT.js → B4HOQOHS.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/{MK5ZYSOD.js → BG4CYK7C.js} +1 -1
- package/dist/cdn/BHJHX65O.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/BZEYWH2F.js +2 -0
- package/dist/cdn/BZIGQJAH.js +2 -0
- package/dist/cdn/{S3ZSZXYG.js → C6UUBWI2.js} +1 -1
- package/dist/cdn/CDWFPVYG.js +2 -0
- package/dist/cdn/{FWAXKDYV.js → CHHARRJP.js} +1 -1
- package/dist/cdn/{2GJX5OO6.js → CKRZTUGB.js} +1 -1
- package/dist/cdn/COSE26XR.js +2 -0
- package/dist/cdn/CPDE3ZSY.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{FOYOG3G7.js → D3ZXHZRV.js} +1 -1
- package/dist/cdn/D5O2M65G.js +2 -0
- package/dist/cdn/D7LBGWWL.js +2 -0
- package/dist/cdn/{ULWJ57VT.js → DF2SKHUD.js} +1 -1
- package/dist/cdn/DLCJMSYG.js +2 -0
- package/dist/cdn/DOE5S7EP.js +2 -0
- package/dist/cdn/{WAINRCCJ.js → E45CPXW6.js} +1 -1
- package/dist/cdn/EFXNPF4V.js +2 -0
- package/dist/cdn/ELNZ7PTF.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/{N5ZUO6F3.js → ESBQKSZF.js} +1 -1
- package/dist/cdn/F66W272X.js +2 -0
- package/dist/cdn/F6VXAPTT.js +2 -0
- package/dist/cdn/{3JYZJUOM.js → FPM6WDQ4.js} +1 -1
- package/dist/cdn/{SSQ3VCZ2.js → FXBSBXWY.js} +1 -1
- package/dist/cdn/{H3EXGCE7.js → G7W2RL4I.js} +1 -1
- package/dist/cdn/GK6IJBRW.js +2 -0
- package/dist/cdn/GUMN6KPP.js +2 -0
- package/dist/cdn/{73BVFUAA.js → GUWBPR2H.js} +1 -1
- package/dist/cdn/GVJF3VFV.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → H2NVXIPH.js} +2 -2
- package/dist/cdn/H4R2P2BO.js +2 -0
- package/dist/cdn/HIVJRWLF.js +2 -0
- package/dist/cdn/{UYXCGSXU.js → HPNWQANQ.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → HSIYQNVK.js} +1 -1
- package/dist/cdn/{ANN3O54W.js → HVWOLFLT.js} +1 -1
- package/dist/cdn/HZEGDF6W.js +2 -0
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/{7QXRWMUN.js → IBLGAXGT.js} +1 -1
- package/dist/cdn/{LROW4Y6O.js → IC7XUYKD.js} +1 -1
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/IGE2Z7GO.js +2 -0
- package/dist/cdn/IHDWXIBS.js +3 -0
- package/dist/cdn/IIV6X3KV.js +2 -0
- package/dist/cdn/{RSNZMJ6I.js → IUZFB3JE.js} +1 -1
- package/dist/cdn/JSPNXGH3.js +2 -0
- package/dist/cdn/JXAPOWHG.js +2 -0
- package/dist/cdn/{RCK5VONL.js → KAUOH4F3.js} +1 -1
- package/dist/cdn/KHC2DMSU.js +2 -0
- package/dist/cdn/{PRFJNHPS.js → KHWZ54IX.js} +1 -1
- package/dist/cdn/{N4L5KE23.js → KIIS7OLN.js} +1 -1
- package/dist/cdn/KJAMXKR3.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/KPEBWOLJ.js +2 -0
- package/dist/cdn/KQUI4CT6.js +2 -0
- package/dist/cdn/KVWM73YN.js +2 -0
- package/dist/cdn/KYCNUCTQ.js +2 -0
- package/dist/cdn/KZ4SCRQT.js +2 -0
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/L6IM34J7.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LCJVASMQ.js +2 -0
- package/dist/cdn/{QR2OOC4D.js → LCRLYOX6.js} +1 -1
- package/dist/cdn/LJJPOUVA.js +2 -0
- package/dist/cdn/LKC6J4IQ.js +2 -0
- package/dist/cdn/LU7UO6PR.js +2 -0
- package/dist/cdn/LZ3ZRY2F.js +2 -0
- package/dist/cdn/{YKDW7ZW3.js → MCWIIGOW.js} +1 -1
- package/dist/cdn/MF2ZBHWI.js +2 -0
- package/dist/cdn/MTFWTSTG.js +2 -0
- package/dist/cdn/{BDGHBTPU.js → MW6VSJEF.js} +1 -1
- package/dist/cdn/{JRN2TZSV.js → N4XXKTCN.js} +1 -1
- package/dist/cdn/NGGJIQHT.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/NYR4K242.js +2 -0
- package/dist/cdn/OCT2KA4Q.js +2 -0
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/OPMACXLA.js +2 -0
- package/dist/cdn/{VRZ2SY6M.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/OQQIDPDH.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{4OH4NSIW.js → PSQDO4QK.js} +1 -1
- package/dist/cdn/PWJBGZPW.js +2 -0
- package/dist/cdn/{2OHFSVV5.js → PWSEK3XV.js} +1 -1
- package/dist/cdn/QBBUOEKF.js +4 -0
- package/dist/cdn/QFXCVZYG.js +2 -0
- package/dist/cdn/QIBUTVUN.js +2 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/{X2LW7GTR.js → QOQ5QNZV.js} +1 -1
- package/dist/cdn/QVLDIB2N.js +2 -0
- package/dist/cdn/QYRHZJH3.js +2 -0
- package/dist/cdn/RAJO727X.js +2 -0
- package/dist/cdn/RCAJJ24P.js +2 -0
- package/dist/cdn/RPUEIRTH.js +2 -0
- package/dist/cdn/SBJGOYJL.js +2 -0
- package/dist/cdn/SBZKGQBV.js +2 -0
- package/dist/cdn/SJBJ2N5C.js +104 -0
- package/dist/cdn/{OXYJKZEP.js → SLQPIX6X.js} +1 -1
- package/dist/cdn/SMTDJE55.js +2 -0
- package/dist/cdn/SOR4DYKA.js +2 -0
- package/dist/cdn/SQHEWY2J.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/SZNZAD56.js +2 -0
- package/dist/cdn/{ZBIVDGNH.js → SZXVQMQV.js} +1 -1
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{VDKFC44J.js → TVKP2GAI.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/ULF3LG3W.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/UZHQF5CV.js +2 -0
- package/dist/cdn/VBDLVCPP.js +2 -0
- package/dist/cdn/VCBFPEET.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/{I6UPUSLQ.js → VQLXOQMY.js} +1 -1
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/VVOQ4Q2X.js +2 -0
- package/dist/cdn/{Y6ZCTPJW.js → WJY4AWHX.js} +1 -1
- package/dist/cdn/{L47EGLUH.js → WNDLNCF7.js} +1 -1
- package/dist/cdn/WOGALV3T.js +2 -0
- package/dist/cdn/{ZAHVBXAQ.js → WPLJ5BXE.js} +1 -1
- package/dist/cdn/WTABMFFY.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/XW5I2M45.js +2 -0
- package/dist/cdn/XYJJ2PIL.js +2 -0
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{SERX6V5M.js → YNED6356.js} +1 -1
- package/dist/cdn/YOUTTWJN.js +2 -0
- package/dist/cdn/YQL5A2WS.js +2 -0
- package/dist/cdn/YX7WAUQZ.js +2 -0
- package/dist/cdn/{XDMGH7YU.js → YZCWFNPW.js} +1 -1
- package/dist/cdn/{2XXW3WF3.js → ZEQF2W7Y.js} +1 -1
- package/dist/cdn/ZFHU5I2O.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{GQ3TDTO5.js → ZO4GRLG6.js} +1 -1
- package/dist/cdn/{OFWEHJDH.js → ZYK4DWCN.js} +1 -1
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +46 -20
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +46 -38
- package/dist/chunks/box-plot-data.js +291 -274
- package/dist/chunks/box-plot-model.js +143 -130
- package/dist/chunks/chart-model.js +194 -153
- package/dist/chunks/chart-object-literals.js +26 -25
- package/dist/chunks/chart-ui-utils.js +148 -66
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +30 -30
- package/dist/chunks/combo-bar-line-chart-model.js +122 -101
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +8 -8
- package/dist/chunks/data.js +68 -68
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +61 -61
- package/dist/chunks/generate-x-axis-title.js +15 -15
- package/dist/chunks/heat-chart-model.js +95 -66
- package/dist/chunks/histogram-data.js +23 -23
- package/dist/chunks/histogram-model.js +9 -9
- package/dist/chunks/index.js +9401 -1079
- package/dist/chunks/index2.js +851 -8751
- package/dist/chunks/index3.js +1169 -847
- package/dist/chunks/index4.js +467 -250
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +40 -24
- package/dist/chunks/model-setter.js +59 -64
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +72 -47
- package/dist/chunks/model-with-y-guides.js +52 -67
- package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
- package/dist/chunks/pie-chart-data.js +175 -193
- package/dist/chunks/pie-chart-model.js +388 -320
- package/dist/chunks/radar-chart-model.js +413 -46
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +90 -0
- package/dist/chunks/scatterplot-model.js +12 -12
- package/dist/chunks/serial-chart-data.js +869 -746
- package/dist/chunks/serial-chart-model.js +145 -123
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +49 -23
- package/dist/chunks/type-guards2.js +61 -52
- package/dist/chunks/utils.js +101 -91
- package/dist/chunks/utils2.js +9 -9
- package/dist/chunks/web-component-utils.js +591 -540
- package/dist/chunks/x-bounds.js +98 -97
- package/dist/components/arcgis-chart/customElement.d.ts +611 -234
- package/dist/components/arcgis-chart/customElement.js +10433 -10078
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +29 -29
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
- 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 +243 -229
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +23 -24
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +65 -77
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +57 -58
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
- package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +488 -466
- package/dist/interfaces.d.ts +57 -14
- package/dist/json-schema/index.d.ts +211 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
- package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
- package/dist/model/chart-model/chart-model-base.d.ts +10 -0
- package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-guides.d.ts +1 -1
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
- package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
- package/dist/model/shared/setup-utils.d.ts +3 -3
- package/dist/model/shared/type-guards.d.ts +38 -22
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +17 -3
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +42 -6
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +3 -3
- package/dist/utils/chart-config/converter/index.js +210 -191
- package/dist/utils/chart-config/utils/index.d.ts +30 -9
- package/dist/utils/chart-config/validator/index.d.ts +2 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
- package/dist/utils/components/interfaces.d.ts +2 -0
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -1
- package/dist/utils/data/index.d.ts +28 -22
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +31 -5
- package/dist/utils/defaults/interfaces.d.ts +73 -4
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +26 -8
- package/dist/utils/layer/inline-conversion/index.d.ts +0 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +0 -12
- package/dist/utils/layer/query-features/index.d.ts +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +13 -9
- package/dist/utils/layer/utils/index.d.ts +22 -5
- package/dist/utils/localization/interfaces.d.ts +9 -1
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/misc/interfaces.d.ts +1 -0
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +8 -9
- package/dist/cdn/2B4S6PH2.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3X5JIVJJ.js +0 -3
- package/dist/cdn/44GWFKSR.js +0 -2
- package/dist/cdn/4LLOMGO7.js +0 -2
- package/dist/cdn/4P7S3KIY.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/55UVN4AF.js +0 -4
- package/dist/cdn/5F54SB3S.js +0 -2
- package/dist/cdn/667DYS3D.js +0 -2
- package/dist/cdn/7DD3FFI5.js +0 -2
- package/dist/cdn/7LXWQH6J.js +0 -2
- package/dist/cdn/7TRRNFTL.js +0 -2
- package/dist/cdn/7XLZ42N6.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/ADGMA3ST.js +0 -3
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/BSP7U5YN.js +0 -58
- package/dist/cdn/CAGJKKOW.js +0 -2
- package/dist/cdn/CG6PLENK.js +0 -2
- package/dist/cdn/CKRMYU2S.js +0 -2
- package/dist/cdn/CQTLTJ52.js +0 -2
- package/dist/cdn/CY7GY33F.js +0 -2
- package/dist/cdn/CZ5XRXCE.js +0 -2
- package/dist/cdn/D57ESYPO.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DKXRIXFG.js +0 -2
- package/dist/cdn/EDSF5KGV.js +0 -233
- package/dist/cdn/EPUNY3VI.js +0 -2
- package/dist/cdn/EZD3FBJU.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FATECLIQ.js +0 -2
- package/dist/cdn/FFS73X36.js +0 -142
- package/dist/cdn/FGNRWY57.js +0 -2
- package/dist/cdn/FJ4UGRMY.js +0 -2
- package/dist/cdn/G7YZE67F.js +0 -2
- package/dist/cdn/GGHRYV36.js +0 -2
- package/dist/cdn/GOP2GNGE.js +0 -2
- package/dist/cdn/H2DP7HXE.js +0 -2
- package/dist/cdn/H42V247N.js +0 -2
- package/dist/cdn/H7TZ42RW.js +0 -2
- package/dist/cdn/HZR4NSZV.js +0 -2
- package/dist/cdn/I5B6REVT.js +0 -2
- package/dist/cdn/IXKYQBM7.js +0 -2
- package/dist/cdn/J7XXIAQJ.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JRUIUNQA.js +0 -2
- package/dist/cdn/KI2YCXW6.js +0 -2
- package/dist/cdn/KPPNRDOP.js +0 -2
- package/dist/cdn/LB6EF2UN.js +0 -2
- package/dist/cdn/M7QVV7WC.js +0 -2
- package/dist/cdn/MICVGPGC.js +0 -2
- package/dist/cdn/MRTKZZTF.js +0 -2
- package/dist/cdn/MZHOWTY3.js +0 -2
- package/dist/cdn/NALKWY43.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/OCE4FAJ4.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PQHVQQSI.js +0 -2
- package/dist/cdn/QJC3FDWG.js +0 -2
- package/dist/cdn/QNUCPXBU.js +0 -2
- package/dist/cdn/QW5KML7L.js +0 -2
- package/dist/cdn/QXUR76TF.js +0 -2
- package/dist/cdn/RJW2DOIR.js +0 -102
- package/dist/cdn/RR63Q3C2.js +0 -2
- package/dist/cdn/RRC5ESYH.js +0 -2
- package/dist/cdn/SS42OW45.js +0 -2
- package/dist/cdn/STM26XZG.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/TX43YOVC.js +0 -2
- package/dist/cdn/TYAN5HWQ.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UAGGYOZB.js +0 -2
- package/dist/cdn/UDKG7LGN.js +0 -2
- package/dist/cdn/UHQGJR3U.js +0 -2
- package/dist/cdn/UYOCWLLG.js +0 -2
- package/dist/cdn/UYTPOUP7.js +0 -2
- package/dist/cdn/VKYQGU2R.js +0 -2
- package/dist/cdn/VOSE67U2.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/W3OA4MKU.js +0 -2
- package/dist/cdn/W6KE6F3T.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WCJ5W5TE.js +0 -2
- package/dist/cdn/WHYRYWPW.js +0 -2
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WOJQ6BTB.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/XP6RGZ2N.js +0 -2
- package/dist/cdn/XRUOXTHH.js +0 -2
- package/dist/cdn/XTNDUDWE.js +0 -2
- package/dist/cdn/XUERYUEG.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YAR2TF55.js +0 -2
- package/dist/cdn/YEZL5KRS.js +0 -2
- package/dist/cdn/YRFSWIDQ.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/ZG7SUAGR.js +0 -2
- package/dist/cdn/ZTX2ULE6.js +0 -2
- package/dist/cdn/ZY44M3QZ.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
package/dist/chunks/data.js
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { capitalize as u } from "lodash-es";
|
|
3
|
-
import {
|
|
4
|
-
import { g as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
function
|
|
11
|
-
let
|
|
12
|
-
return
|
|
3
|
+
import { p as B, r as L, q as $, co as N, bY as h, bA as I, w as H, aN as P, c8 as _, y as v } from "./index.js";
|
|
4
|
+
import { g as C } from "./series-types.js";
|
|
5
|
+
import { P as M, H as A, S as o } from "./common.js";
|
|
6
|
+
import { a as d, d as g, g as l, t as n } from "./chart-object-literals.js";
|
|
7
|
+
import { a as U } from "./index2.js";
|
|
8
|
+
import { l as W } from "./index3.js";
|
|
9
|
+
import { i as Y } from "./type-guards.js";
|
|
10
|
+
function E(e, r) {
|
|
11
|
+
let s;
|
|
12
|
+
return r === n.Category && Array.isArray(e) ? s = o.customSort : r === n.Category ? s = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? s = o.yAxisAsc : s = o.yAxisDesc, s;
|
|
13
13
|
}
|
|
14
|
-
function w(e,
|
|
15
|
-
let
|
|
16
|
-
return
|
|
14
|
+
function w(e, r) {
|
|
15
|
+
let s;
|
|
16
|
+
return r === n.Category && Array.isArray(e) ? s = A.customSort : s = e === l.Ascending ? A.Asc : A.Desc, s;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
return
|
|
21
|
-
|
|
18
|
+
const K = (e) => {
|
|
19
|
+
const r = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
|
|
20
|
+
return E(
|
|
21
|
+
r,
|
|
22
22
|
e.orderOptions?.data?.orderType ?? n.Category
|
|
23
23
|
);
|
|
24
|
-
},
|
|
25
|
-
const
|
|
26
|
-
let
|
|
27
|
-
return (
|
|
24
|
+
}, R = (e) => {
|
|
25
|
+
const r = C(e.series);
|
|
26
|
+
let s = !1;
|
|
27
|
+
return (r === d.BarSeries || r === d.LineSeries) && (s = K(e) === o.customSort), s;
|
|
28
28
|
}, ee = (e) => {
|
|
29
|
-
let
|
|
30
|
-
const
|
|
31
|
-
return
|
|
32
|
-
},
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
let
|
|
29
|
+
let r = [];
|
|
30
|
+
const s = e.orderOptions?.data?.orderType;
|
|
31
|
+
return R(e) && s === n.Category && (r = e.orderOptions?.data?.orderBy), r;
|
|
32
|
+
}, re = (e, r, s, t) => {
|
|
33
|
+
const i = C(r.series), m = P(r);
|
|
34
|
+
r.orderOptions ??= {};
|
|
35
|
+
let a = m ? [""] : l.Ascending;
|
|
36
36
|
if (m)
|
|
37
|
-
e ===
|
|
38
|
-
...
|
|
39
|
-
orderByY:
|
|
37
|
+
e === A.customSort && s !== void 0 ? a = [...s] : a = e === A.Desc ? l.Descending : l.Ascending, t ? r.orderOptions.data = {
|
|
38
|
+
...r.orderOptions.data,
|
|
39
|
+
orderByY: a,
|
|
40
40
|
orderType: n.MultiAxes
|
|
41
|
-
} :
|
|
42
|
-
...
|
|
43
|
-
orderByX:
|
|
41
|
+
} : r.orderOptions.data = {
|
|
42
|
+
...r.orderOptions.data,
|
|
43
|
+
orderByX: a,
|
|
44
44
|
orderType: n.MultiAxes
|
|
45
45
|
};
|
|
46
|
-
else if (
|
|
46
|
+
else if (i === d.BarSeries || i === d.LineSeries) {
|
|
47
47
|
let c = n.Category;
|
|
48
|
-
e === o.customSort &&
|
|
48
|
+
e === o.customSort && s !== void 0 ? (a = [...s], r.orderOptions.data = {
|
|
49
49
|
orderType: c,
|
|
50
|
-
orderBy:
|
|
51
|
-
}) : (c = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue,
|
|
50
|
+
orderBy: a
|
|
51
|
+
}) : (c = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue, a = e === o.xAxisAsc || e === o.yAxisAsc ? l.Ascending : l.Descending, r.orderOptions.data = {
|
|
52
52
|
orderType: c,
|
|
53
|
-
orderBy:
|
|
53
|
+
orderBy: a
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
},
|
|
56
|
+
}, se = (e) => e?.series?.[0]?.x ?? "", te = (e) => {
|
|
57
57
|
const {
|
|
58
|
-
config:
|
|
59
|
-
xAxisField:
|
|
58
|
+
config: r,
|
|
59
|
+
xAxisField: s,
|
|
60
60
|
numericFields: t,
|
|
61
|
-
aggregationType:
|
|
61
|
+
aggregationType: i,
|
|
62
62
|
mode: m,
|
|
63
|
-
layer:
|
|
63
|
+
layer: a,
|
|
64
64
|
numericFieldIndex: c,
|
|
65
|
-
seriesIndex:
|
|
65
|
+
seriesIndex: x,
|
|
66
66
|
splitByField: S = "",
|
|
67
67
|
fieldList: O
|
|
68
|
-
} = e, T =
|
|
68
|
+
} = e, T = C(r.series), b = B(r.series);
|
|
69
69
|
let f;
|
|
70
|
-
if (
|
|
71
|
-
const y =
|
|
70
|
+
if (Y(a)) {
|
|
71
|
+
const y = N(a);
|
|
72
72
|
f = t.length === 1 && t[0] === y;
|
|
73
73
|
} else {
|
|
74
|
-
const { idField: y, isTraditionalTypeOID: D } =
|
|
74
|
+
const { idField: y, isTraditionalTypeOID: D } = L($(a));
|
|
75
75
|
f = D && t.length === 1 && t[0] === y;
|
|
76
76
|
}
|
|
77
|
-
let p = "y",
|
|
77
|
+
let p = "y", F = "y";
|
|
78
78
|
switch (T) {
|
|
79
79
|
case d.PieSeries: {
|
|
80
|
-
|
|
80
|
+
i !== g.NoAggregation ? m === M.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), F = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = v : p = t[0];
|
|
81
81
|
break;
|
|
82
82
|
}
|
|
83
83
|
case d.BarSeries:
|
|
@@ -86,39 +86,39 @@ const k = (e) => {
|
|
|
86
86
|
case d.RadarSeries:
|
|
87
87
|
case d.HeatSeries: {
|
|
88
88
|
if (S === "" || t.length > 1)
|
|
89
|
-
|
|
90
|
-
fieldName:
|
|
89
|
+
j({
|
|
90
|
+
fieldName: s,
|
|
91
91
|
numericFields: t,
|
|
92
92
|
fieldList: O ?? []
|
|
93
|
-
}) || b ===
|
|
93
|
+
}) || b === U.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], F = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
|
|
94
94
|
else {
|
|
95
95
|
const y = t[0];
|
|
96
|
-
p = `${
|
|
96
|
+
p = i !== g.NoAggregation ? `${i}_${y}_${x ?? 0}`.toUpperCase() : y, F = f ? u(g.Count) : u(`${i} of ${y}`);
|
|
97
97
|
}
|
|
98
98
|
break;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
return {
|
|
102
102
|
name: p,
|
|
103
|
-
description:
|
|
103
|
+
description: F
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
|
-
function K(e) {
|
|
107
|
-
const { fieldName: s, fieldList: r } = e, t = x(r ?? [], s);
|
|
108
|
-
return s === B || s === L || s === U || s === void 0 || s.trim() === "" || t === void 0;
|
|
109
|
-
}
|
|
110
106
|
function V(e) {
|
|
111
|
-
const { fieldName:
|
|
112
|
-
return
|
|
107
|
+
const { fieldName: r, fieldList: s } = e, t = h(s ?? [], r);
|
|
108
|
+
return r === I || r === H || r === W || r === void 0 || r.trim() === "" || t === void 0;
|
|
109
|
+
}
|
|
110
|
+
function j(e) {
|
|
111
|
+
const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((m) => h(s ?? [], m)?.type !== "esriFieldTypeOID");
|
|
112
|
+
return V({ fieldName: r, fieldList: s }) && (i?.length ?? 0) > 0;
|
|
113
113
|
}
|
|
114
114
|
export {
|
|
115
|
-
|
|
115
|
+
se as a,
|
|
116
116
|
w as b,
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
E as c,
|
|
118
|
+
re as d,
|
|
119
119
|
ee as e,
|
|
120
|
-
|
|
120
|
+
K as f,
|
|
121
121
|
te as g,
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
j as s,
|
|
123
|
+
V as x
|
|
124
124
|
};
|
package/dist/chunks/default.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
2
|
+
import { R as t, b as e } from "./rest-js-object-literals.js";
|
|
3
|
+
import { a as o } from "./chart-object-literals.js";
|
|
4
|
+
const l = 153, i = {
|
|
5
5
|
type: o.Guide,
|
|
6
6
|
style: {
|
|
7
7
|
type: e.SLS,
|
|
8
|
-
color: [127, 127, 127,
|
|
8
|
+
color: [127, 127, 127, l],
|
|
9
9
|
width: 2,
|
|
10
10
|
style: t.Solid
|
|
11
11
|
},
|
|
12
12
|
label: { type: e.TS }
|
|
13
13
|
};
|
|
14
14
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
i as d,
|
|
16
|
+
l as g
|
|
17
17
|
};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { a as c, G as S, d as x } from "./chart-object-literals.js";
|
|
3
|
+
import { ar as d, a3 as b, aA as _, as as m, aq as I } from "./index3.js";
|
|
4
|
+
import { r as C } from "./index.js";
|
|
5
5
|
import { C as L } from "./chart-model.js";
|
|
6
6
|
import { m as n } from "./model-setter.js";
|
|
7
7
|
import { M as T } from "./model-with-x-guides.js";
|
|
8
8
|
import { W as A, c as W, d as V } from "./axis-lines-symbol.js";
|
|
9
9
|
import { W as F, c as D, d as B } from "./generate-x-axis-title.js";
|
|
10
|
-
import { W as E, a as
|
|
11
|
-
import { g as
|
|
10
|
+
import { W as E, a as P } from "./x-bounds.js";
|
|
11
|
+
import { g as w, f as M } from "./utils.js";
|
|
12
12
|
const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
13
13
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.visible = t;
|
|
14
14
|
}, G = (t) => t.axes[0].needle?.symbol, k = (t, e) => {
|
|
15
15
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.symbol = t;
|
|
16
16
|
}, O = (t) => t.axes[0].needle?.startWidth, X = (t, e) => {
|
|
17
17
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.startWidth = t;
|
|
18
|
-
}, $ = (t) => t.axes[0].needle?.endWidth,
|
|
18
|
+
}, $ = (t) => t.axes[0].needle?.endWidth, q = (t, e) => {
|
|
19
19
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.endWidth = t;
|
|
20
|
-
},
|
|
20
|
+
}, j = (t) => t.axes[0].needle?.innerRadius, Q = (t, e) => {
|
|
21
21
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.innerRadius = t;
|
|
22
|
-
},
|
|
22
|
+
}, Y = (t) => t.axes[0].needle?.displayPin ?? !1, z = (t, e) => {
|
|
23
23
|
e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.displayPin = t;
|
|
24
|
-
},
|
|
24
|
+
}, H = (t) => t.axes[0].innerLabel?.visible ?? !0, J = (t, e) => {
|
|
25
25
|
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), e.axes[0].innerLabel.visible = t;
|
|
26
|
-
},
|
|
26
|
+
}, K = (t) => t.axes[0].innerLabel?.content, U = (t, e) => {
|
|
27
27
|
e.axes[0].innerLabel === void 0 && (e.axes[0].innerLabel = b()), t !== void 0 && (e.axes[0].innerLabel.content = t);
|
|
28
28
|
}, Z = (t) => t.axes[0].progressBands?.visible ?? !0, ee = (t, e) => {
|
|
29
29
|
e.axes[0].progressBands === void 0 && (e.axes[0].progressBands = {
|
|
@@ -35,19 +35,19 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
35
35
|
e.axes[0].ticks === void 0 && (e.axes[0].ticks = {
|
|
36
36
|
type: c.GaugeAxisTick
|
|
37
37
|
}), e.axes[0].ticks.visible = t;
|
|
38
|
-
},
|
|
38
|
+
}, re = (t) => t.axes[0].labelsIncrement, oe = (t, e) => {
|
|
39
39
|
e.axes[0].labelsIncrement = t;
|
|
40
40
|
}, ae = (t) => t.axes[0].onlyShowFirstAndLastLabels ?? !1, le = (t, e) => {
|
|
41
41
|
e.axes[0].onlyShowFirstAndLastLabels = t;
|
|
42
42
|
}, de = (t) => t.series[0]?.valueConversion, ge = (t, e) => {
|
|
43
43
|
e.series[0] !== void 0 && (e.series[0].valueConversion = t);
|
|
44
44
|
}, v = (t) => t.series[0]?.featureIndex, y = (t) => {
|
|
45
|
-
const { featureIndex: e, config: s, layerInfo: a, commonStrings:
|
|
46
|
-
e === null ? delete s.series[0].featureIndex : s.series[0] !== void 0 && (s.series[0].featureIndex = e), u({ config: s, layerInfo: a, field: l, aggregationType: g, commonStrings:
|
|
45
|
+
const { featureIndex: e, config: s, layerInfo: a, commonStrings: o } = t, l = f(s), g = h(s);
|
|
46
|
+
e === null ? delete s.series[0].featureIndex : s.series[0] !== void 0 && (s.series[0].featureIndex = e), u({ config: s, layerInfo: a, field: l, aggregationType: g, commonStrings: o });
|
|
47
47
|
}, ce = (t) => t.subType ?? S.StatisticGauge, ue = (t) => {
|
|
48
48
|
const { config: e, field: s, aggregationType: a } = t;
|
|
49
49
|
if (a !== x.NoAggregation) {
|
|
50
|
-
const
|
|
50
|
+
const o = v(e), l = p(o) ? {} : {
|
|
51
51
|
outStatistics: [
|
|
52
52
|
{
|
|
53
53
|
statisticType: a,
|
|
@@ -59,32 +59,32 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
59
59
|
e.series[0].query = l;
|
|
60
60
|
}
|
|
61
61
|
}, he = (t) => {
|
|
62
|
-
const { config: e, layerInfo: s, commonStrings: a, field:
|
|
63
|
-
e.title && (e.title.content.text =
|
|
62
|
+
const { config: e, layerInfo: s, commonStrings: a, field: o, aggregationType: l } = t;
|
|
63
|
+
e.title && (e.title.content.text = w({
|
|
64
64
|
config: e,
|
|
65
65
|
layerInfo: s,
|
|
66
66
|
commonStrings: a,
|
|
67
|
-
numericFields: [
|
|
67
|
+
numericFields: [o],
|
|
68
68
|
aggregationType: l
|
|
69
69
|
}));
|
|
70
70
|
}, u = (t) => {
|
|
71
71
|
const { config: e, field: s, aggregationType: a } = t;
|
|
72
72
|
e.series[0] === void 0 && (e.series = [m({})]);
|
|
73
|
-
const
|
|
74
|
-
let l =
|
|
75
|
-
|
|
73
|
+
const o = p(e.series[0]?.featureIndex);
|
|
74
|
+
let l = o ? s : `${a}_${s}`;
|
|
75
|
+
o && s.startsWith(`${a}_`) && (l = s.replace(`${a}_`, "")), e.series[0].x = l, ue({ config: e, field: s, aggregationType: a }), he(t);
|
|
76
76
|
}, h = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ?? x.Count, pe = (t) => {
|
|
77
|
-
const { config: e, layerInfo: s, commonStrings: a, aggregationType:
|
|
77
|
+
const { config: e, layerInfo: s, commonStrings: a, aggregationType: o } = t, l = f(e);
|
|
78
78
|
u({
|
|
79
79
|
config: e,
|
|
80
80
|
layerInfo: s,
|
|
81
81
|
commonStrings: a,
|
|
82
82
|
field: l,
|
|
83
|
-
aggregationType:
|
|
83
|
+
aggregationType: o
|
|
84
84
|
});
|
|
85
85
|
}, p = (t) => typeof t == "number" && t >= 0, f = (t) => p(t.series[0]?.featureIndex) ? t.series[0]?.x : t.series[0]?.query?.outStatistics?.[0]?.onStatisticField ?? "", fe = (t) => {
|
|
86
|
-
const { field: e, config: s, layerInfo: a, commonStrings:
|
|
87
|
-
u({ config: s, layerInfo: a, commonStrings:
|
|
86
|
+
const { field: e, config: s, layerInfo: a, commonStrings: o } = t, l = h(s);
|
|
87
|
+
u({ config: s, layerInfo: a, commonStrings: o, field: e, aggregationType: l });
|
|
88
88
|
}, ye = (t) => t.innerRadius ?? 50, xe = (t, e) => {
|
|
89
89
|
e.innerRadius = t;
|
|
90
90
|
}, be = (t) => t.startAngle ?? -90, me = (t, e) => {
|
|
@@ -95,10 +95,10 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
|
|
|
95
95
|
function _e(t) {
|
|
96
96
|
return _(t);
|
|
97
97
|
}
|
|
98
|
-
var Ie = Object.defineProperty, Ce = Object.getOwnPropertyDescriptor,
|
|
99
|
-
for (var
|
|
100
|
-
(g = t[l]) && (
|
|
101
|
-
return
|
|
98
|
+
var Ie = Object.defineProperty, Ce = Object.getOwnPropertyDescriptor, r = (t, e, s, a) => {
|
|
99
|
+
for (var o = Ce(e, s), l = t.length - 1, g; l >= 0; l--)
|
|
100
|
+
(g = t[l]) && (o = g(e, s, o) || o);
|
|
101
|
+
return o && Ie(e, s, o), o;
|
|
102
102
|
};
|
|
103
103
|
class i extends L {
|
|
104
104
|
constructor() {
|
|
@@ -259,34 +259,34 @@ class i extends L {
|
|
|
259
259
|
return $(this._config);
|
|
260
260
|
}
|
|
261
261
|
set needleEndWidth(e) {
|
|
262
|
-
|
|
262
|
+
q(e, this._config);
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
265
|
* Inner radius of the gauge's needle.
|
|
266
266
|
*/
|
|
267
267
|
get needleInnerRadius() {
|
|
268
|
-
return
|
|
268
|
+
return j(this._config);
|
|
269
269
|
}
|
|
270
270
|
set needleInnerRadius(e) {
|
|
271
|
-
|
|
271
|
+
Q(e, this._config);
|
|
272
272
|
}
|
|
273
273
|
/**
|
|
274
274
|
* Whether to display the pin for the gauge's needle.
|
|
275
275
|
*/
|
|
276
276
|
get needleDisplayPin() {
|
|
277
|
-
return
|
|
277
|
+
return Y(this._config);
|
|
278
278
|
}
|
|
279
279
|
set needleDisplayPin(e) {
|
|
280
|
-
|
|
280
|
+
z(e, this._config);
|
|
281
281
|
}
|
|
282
282
|
/**
|
|
283
283
|
* Whether the inner label is visible.
|
|
284
284
|
*/
|
|
285
285
|
get innerLabelVisible() {
|
|
286
|
-
return
|
|
286
|
+
return H(this._config);
|
|
287
287
|
}
|
|
288
288
|
set innerLabelVisible(e) {
|
|
289
|
-
|
|
289
|
+
J(e, this._config);
|
|
290
290
|
}
|
|
291
291
|
/**
|
|
292
292
|
* Content symbol for the inner label.
|
|
@@ -300,7 +300,7 @@ class i extends L {
|
|
|
300
300
|
* ```
|
|
301
301
|
*/
|
|
302
302
|
get innerLabelContent() {
|
|
303
|
-
return
|
|
303
|
+
return K(this._config);
|
|
304
304
|
}
|
|
305
305
|
set innerLabelContent(e) {
|
|
306
306
|
U(e, this._config);
|
|
@@ -348,10 +348,10 @@ class i extends L {
|
|
|
348
348
|
* Labels increment for the gauge.
|
|
349
349
|
*/
|
|
350
350
|
get labelsIncrement() {
|
|
351
|
-
return
|
|
351
|
+
return re(this._config);
|
|
352
352
|
}
|
|
353
353
|
set labelsIncrement(e) {
|
|
354
|
-
|
|
354
|
+
oe(e, this._config);
|
|
355
355
|
}
|
|
356
356
|
/**
|
|
357
357
|
* Whether to only show the first and last axis labels.
|
|
@@ -371,81 +371,81 @@ class i extends L {
|
|
|
371
371
|
return e.series = [m({ objectIDField: C(this.layerInfo.layer).idField })], e;
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
|
|
374
|
+
r([
|
|
375
375
|
n
|
|
376
376
|
], i.prototype, "field");
|
|
377
|
-
|
|
377
|
+
r([
|
|
378
378
|
n
|
|
379
379
|
], i.prototype, "aggregationType");
|
|
380
|
-
|
|
380
|
+
r([
|
|
381
381
|
n
|
|
382
382
|
], i.prototype, "innerRadius");
|
|
383
|
-
|
|
383
|
+
r([
|
|
384
384
|
n
|
|
385
385
|
], i.prototype, "startAngle");
|
|
386
|
-
|
|
386
|
+
r([
|
|
387
387
|
n
|
|
388
388
|
], i.prototype, "endAngle");
|
|
389
|
-
|
|
389
|
+
r([
|
|
390
390
|
n
|
|
391
391
|
], i.prototype, "valueConversion");
|
|
392
|
-
|
|
392
|
+
r([
|
|
393
393
|
n
|
|
394
394
|
], i.prototype, "featureIndex");
|
|
395
|
-
|
|
395
|
+
r([
|
|
396
396
|
n
|
|
397
397
|
], i.prototype, "removeFeatureIndex");
|
|
398
|
-
|
|
398
|
+
r([
|
|
399
399
|
n
|
|
400
400
|
], i.prototype, "needleVisibility");
|
|
401
|
-
|
|
401
|
+
r([
|
|
402
402
|
n
|
|
403
403
|
], i.prototype, "needleSymbol");
|
|
404
|
-
|
|
404
|
+
r([
|
|
405
405
|
n
|
|
406
406
|
], i.prototype, "needleStartWidth");
|
|
407
|
-
|
|
407
|
+
r([
|
|
408
408
|
n
|
|
409
409
|
], i.prototype, "needleEndWidth");
|
|
410
|
-
|
|
410
|
+
r([
|
|
411
411
|
n
|
|
412
412
|
], i.prototype, "needleInnerRadius");
|
|
413
|
-
|
|
413
|
+
r([
|
|
414
414
|
n
|
|
415
415
|
], i.prototype, "needleDisplayPin");
|
|
416
|
-
|
|
416
|
+
r([
|
|
417
417
|
n
|
|
418
418
|
], i.prototype, "innerLabelVisible");
|
|
419
|
-
|
|
419
|
+
r([
|
|
420
420
|
n
|
|
421
421
|
], i.prototype, "innerLabelContent");
|
|
422
|
-
|
|
422
|
+
r([
|
|
423
423
|
n
|
|
424
424
|
], i.prototype, "progressBandsVisibility");
|
|
425
|
-
|
|
425
|
+
r([
|
|
426
426
|
n
|
|
427
427
|
], i.prototype, "progressBands");
|
|
428
|
-
|
|
428
|
+
r([
|
|
429
429
|
n
|
|
430
430
|
], i.prototype, "axisTickVisibility");
|
|
431
|
-
|
|
431
|
+
r([
|
|
432
432
|
n
|
|
433
433
|
], i.prototype, "labelsIncrement");
|
|
434
|
-
|
|
434
|
+
r([
|
|
435
435
|
n
|
|
436
436
|
], i.prototype, "onlyShowFirstAndLastLabels");
|
|
437
437
|
const Le = [
|
|
438
438
|
F,
|
|
439
439
|
E,
|
|
440
440
|
D,
|
|
441
|
-
|
|
441
|
+
P,
|
|
442
442
|
A,
|
|
443
443
|
W,
|
|
444
444
|
V,
|
|
445
445
|
B,
|
|
446
446
|
T
|
|
447
447
|
];
|
|
448
|
-
|
|
448
|
+
M(i, Le);
|
|
449
449
|
export {
|
|
450
450
|
i as GaugeModel
|
|
451
451
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { C as o, m as a } from "./model-setter.js";
|
|
3
|
-
import { g as f, b as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
var
|
|
8
|
-
for (var e =
|
|
3
|
+
import { g as f, b as h, c as T, d as c } from "./utils2.js";
|
|
4
|
+
import { h as d, q as u, r as p, n as y, a as A } from "./type-guards2.js";
|
|
5
|
+
import { l as g } from "./index3.js";
|
|
6
|
+
import { b as l } from "./index2.js";
|
|
7
|
+
var _ = Object.defineProperty, b = Object.getOwnPropertyDescriptor, v = (t, i, s, x) => {
|
|
8
|
+
for (var e = b(i, s), r = t.length - 1, n; r >= 0; r--)
|
|
9
9
|
(n = t[r]) && (e = n(i, s, e) || e);
|
|
10
|
-
return e &&
|
|
10
|
+
return e && _(i, s, e), e;
|
|
11
11
|
};
|
|
12
12
|
function S(t) {
|
|
13
13
|
return t !== void 0 && "xAxisTitleText" in t;
|
|
@@ -20,10 +20,10 @@ class m extends o {
|
|
|
20
20
|
return f(0, this._config);
|
|
21
21
|
}
|
|
22
22
|
set xAxisTitleText(i) {
|
|
23
|
-
|
|
23
|
+
h(i, 0, this._config);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
v([
|
|
27
27
|
a
|
|
28
28
|
], m.prototype, "xAxisTitleText");
|
|
29
29
|
var P = Object.defineProperty, C = Object.getOwnPropertyDescriptor, M = (t, i, s, x) => {
|
|
@@ -41,10 +41,10 @@ class O extends o {
|
|
|
41
41
|
* `false`: X-axis title is hidden.
|
|
42
42
|
*/
|
|
43
43
|
get xAxisTitleVisibility() {
|
|
44
|
-
return
|
|
44
|
+
return T(0, this._config);
|
|
45
45
|
}
|
|
46
46
|
set xAxisTitleVisibility(i) {
|
|
47
|
-
|
|
47
|
+
c(i, 0, this._config);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
M([
|
|
@@ -61,13 +61,13 @@ class w extends o {
|
|
|
61
61
|
const i = this.layerInfo?.layerFieldsInfo;
|
|
62
62
|
if (i === void 0)
|
|
63
63
|
return "";
|
|
64
|
-
if (
|
|
64
|
+
if (d(this) || u(this))
|
|
65
65
|
return l(i, this.xAxisField);
|
|
66
|
-
if (g(this))
|
|
67
|
-
return this.category !== A ? l(i, this.category) : "";
|
|
68
66
|
if (p(this))
|
|
67
|
+
return this.category !== g ? l(i, this.category) : "";
|
|
68
|
+
if (y(this))
|
|
69
69
|
return l(i, this.numericField);
|
|
70
|
-
if (
|
|
70
|
+
if (A(this)) {
|
|
71
71
|
const s = this.xTemporalBinning?.unit;
|
|
72
72
|
return s !== void 0 ? this.commonStrings.utilsStrings.heatChartCalendarDatePartsUnits[s] : "";
|
|
73
73
|
}
|