@arcgis/charts-components 6.0.0-next.2 → 6.0.0-next.20
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/{XAP5PIZ2.js → 23OBJJMY.js} +1 -1
- package/dist/cdn/2CNZDYOY.js +2 -0
- package/dist/cdn/2L3CFU7R.js +2 -0
- package/dist/cdn/{2R2K5DTZ.js → 2TVBBBFB.js} +1 -1
- package/dist/cdn/3D6A3FSY.js +2 -0
- package/dist/cdn/{VTUFKWMW.js → 3FAXIZDY.js} +1 -1
- package/dist/cdn/{6WVZUW3A.js → 3RJA6GU5.js} +1 -1
- package/dist/cdn/3RMCJLPQ.js +2 -0
- package/dist/cdn/{NOWRHZV7.js → 3RXZGLTX.js} +1 -1
- package/dist/cdn/{RKWSCI6H.js → 3XO5QWW2.js} +1 -1
- package/dist/cdn/{IS6WNL3S.js → 4AA4A62W.js} +1 -1
- package/dist/cdn/4DBZXMWZ.js +2 -0
- package/dist/cdn/{D4SDXCEK.js → 4HXGM3VX.js} +1 -1
- package/dist/cdn/4OC5GZ3M.js +4 -0
- package/dist/cdn/57ZRFAP5.js +2 -0
- package/dist/cdn/{TIKPLOJF.js → 5FLPMVDG.js} +1 -1
- package/dist/cdn/5VCVKGKW.js +2 -0
- package/dist/cdn/{Z4MPWA44.js → 5VG5RZKN.js} +1 -1
- package/dist/cdn/{MPSFMJZL.js → 6COGNLWU.js} +1 -1
- package/dist/cdn/6FLJN3FM.js +2 -0
- package/dist/cdn/{S6FQN6HR.js → 6YTUMBO6.js} +1 -1
- package/dist/cdn/73E367AZ.js +2 -0
- package/dist/cdn/74J2YHAH.js +2 -0
- package/dist/cdn/{RKRR2KKS.js → 7CHIKM2Y.js} +1 -1
- package/dist/cdn/7EH2KTOE.js +2 -0
- package/dist/cdn/{ICCD23OE.js → 7EO4DMRO.js} +1 -1
- package/dist/cdn/A5Y7SINJ.js +2 -0
- package/dist/cdn/{C27CFMVY.js → ABHDMXQ7.js} +1 -1
- package/dist/cdn/{KK445MLC.js → ANXI7X33.js} +1 -1
- package/dist/cdn/B2MNXOZC.js +2 -0
- package/dist/cdn/B3YDN37X.js +2 -0
- package/dist/cdn/BXUTY44W.js +2 -0
- package/dist/cdn/CCCVN47Z.js +2 -0
- package/dist/cdn/{HN7A4IOJ.js → CFC3MJF7.js} +1 -1
- package/dist/cdn/{RD2X624K.js → CNQNN4CB.js} +1 -1
- package/dist/cdn/{RANPMLRU.js → CPBCKPO3.js} +1 -1
- package/dist/cdn/CQU7SD5I.js +2 -0
- package/dist/cdn/CXZF73UW.js +2 -0
- package/dist/cdn/D26USL3R.js +2 -0
- package/dist/cdn/{OZSHGMU6.js → D7HVHYVY.js} +1 -1
- package/dist/cdn/DBCZ7X7L.js +2 -0
- package/dist/cdn/DHXZKTF6.js +4 -0
- package/dist/cdn/DO4L5IAM.js +2 -0
- package/dist/cdn/DQJZEIEB.js +2 -0
- package/dist/cdn/{5LR2NVD4.js → DYWTYNT4.js} +1 -1
- package/dist/cdn/EBNM4Q47.js +2 -0
- package/dist/cdn/EBVBQSUD.js +2 -0
- package/dist/cdn/{FGJPWWIL.js → EKWGPT5Y.js} +1 -1
- package/dist/cdn/{RY665VHB.js → EN4TKBF7.js} +1 -1
- package/dist/cdn/{YPTG2SNF.js → EXFLYGOA.js} +1 -1
- package/dist/cdn/F2AEPQP5.js +2 -0
- package/dist/cdn/F76PZBOK.js +2 -0
- package/dist/cdn/GFVKVWUY.js +2 -0
- package/dist/cdn/GQFD2BXB.js +2 -0
- package/dist/cdn/{SLZVSMMS.js → H32ZCMZI.js} +1 -1
- package/dist/cdn/HW5YPNRC.js +2 -0
- package/dist/cdn/HZSR2TZW.js +2 -0
- package/dist/cdn/{UCADTSTO.js → IJ4NLEMH.js} +1 -1
- package/dist/cdn/IQE6TEF7.js +2 -0
- package/dist/cdn/{OXNMXLJF.js → IVMUU655.js} +1 -1
- package/dist/cdn/{H5VCT3XP.js → IVX5JR6I.js} +1 -1
- package/dist/cdn/IYVGK242.js +4 -0
- package/dist/cdn/JNFER2G5.js +2 -0
- package/dist/cdn/{IHAADQBV.js → JP7ADCJN.js} +1 -1
- package/dist/cdn/{BXQLCRCF.js → JSIJJIJ2.js} +1 -1
- package/dist/cdn/JTQIRNPA.js +2 -0
- package/dist/cdn/JWZEPPGG.js +2 -0
- package/dist/cdn/KBUFMYZQ.js +2 -0
- package/dist/cdn/KDVRUUVP.js +2 -0
- package/dist/cdn/{GE5JXYB2.js → KEX2VV73.js} +1 -1
- package/dist/cdn/{ZXXFRYTC.js → KJ2WKS3E.js} +1 -1
- package/dist/cdn/KKAUA5I4.js +2 -0
- package/dist/cdn/KXU3XKM2.js +2 -0
- package/dist/cdn/{3CSWEOBS.js → KZMHSQD6.js} +1 -1
- package/dist/cdn/L5HPMS5V.js +2 -0
- package/dist/cdn/L5U7LDC3.js +2 -0
- package/dist/cdn/{FTEOTYTH.js → L5YQURIU.js} +1 -1
- package/dist/cdn/L6BGXMMO.js +2 -0
- package/dist/cdn/{YR2F7I7M.js → LLQZNNEC.js} +1 -1
- package/dist/cdn/{QNK2HVPS.js → LRZAD7VO.js} +1 -1
- package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
- package/dist/cdn/MG4XERCZ.js +2 -0
- package/dist/cdn/MIBOTYKP.js +2 -0
- package/dist/cdn/{2HAZBMAW.js → MMZZZC7O.js} +1 -1
- package/dist/cdn/MU55JIYV.js +2 -0
- package/dist/cdn/MVHLKL7W.js +2 -0
- package/dist/cdn/N35DJP7H.js +2 -0
- package/dist/cdn/{ZH7H3YEB.js → N3JX6GNR.js} +27 -27
- package/dist/cdn/{DGDPNLJ6.js → N5QBW4DK.js} +1 -1
- package/dist/cdn/{ADIHYDO7.js → NHKIOS73.js} +1 -1
- package/dist/cdn/NSHVMSOK.js +2 -0
- package/dist/cdn/NWPO6T3D.js +2 -0
- package/dist/cdn/NX3KK4IQ.js +2 -0
- package/dist/cdn/{PME6JKVL.js → NXKWU3DD.js} +1 -1
- package/dist/cdn/OMMWNI5R.js +2 -0
- package/dist/cdn/OZNRLDTD.js +2 -0
- package/dist/cdn/{KBGVSXMS.js → PBFYIRZY.js} +1 -1
- package/dist/cdn/{7YQKCXR4.js → PISJX2S5.js} +1 -1
- package/dist/cdn/Q2SHE4BB.js +2 -0
- package/dist/cdn/{QKV23ZMN.js → Q3KUGWEO.js} +1 -1
- package/dist/cdn/QB5X2DNO.js +2 -0
- package/dist/cdn/{3B2AC6Y3.js → QGCRMKE5.js} +1 -1
- package/dist/cdn/{ZHWH7DPA.js → QJZFHN2U.js} +1 -1
- package/dist/cdn/{ZAXERTST.js → QKRQPIDL.js} +1 -1
- package/dist/cdn/QUOBWCF5.js +2 -0
- package/dist/cdn/R6MIM2PY.js +2 -0
- package/dist/cdn/RDAE2OL3.js +2 -0
- package/dist/cdn/{T4YC5GXW.js → RWTBVIDB.js} +1 -1
- package/dist/cdn/{4BAPCH7E.js → SNAWWD5A.js} +1 -1
- package/dist/cdn/{2CNCTLOI.js → ST6XSWHI.js} +1 -1
- package/dist/cdn/{RPUVDZVR.js → SZWXYTUV.js} +1 -1
- package/dist/cdn/T35SJEP4.js +2 -0
- package/dist/cdn/TRTYIA2G.js +2 -0
- package/dist/cdn/U2MXHNZR.js +2 -0
- package/dist/cdn/UIZELEJD.js +2 -0
- package/dist/cdn/UNFDJW5A.js +2 -0
- package/dist/cdn/{P3D2YICV.js → UXCVVLXG.js} +1 -1
- package/dist/cdn/{GYILUQLN.js → VARG4EGS.js} +1 -1
- package/dist/cdn/{B6EROAY4.js → VJWRWNXG.js} +1 -1
- package/dist/cdn/{INYMF2BQ.js → VKMVMHTT.js} +1 -1
- package/dist/cdn/VTCPVV2K.js +2 -0
- package/dist/cdn/W5I5BEM4.js +2 -0
- package/dist/cdn/{L3CL4LCS.js → WCOMQDTO.js} +1 -1
- package/dist/cdn/WMLMPR4P.js +2 -0
- package/dist/cdn/WO73Q3XE.js +2 -0
- package/dist/cdn/X2YVJPZF.js +2 -0
- package/dist/cdn/X7WYDIZE.js +2 -0
- package/dist/cdn/XCFAVK6F.js +2 -0
- package/dist/cdn/Y2FV4AZ4.js +2 -0
- package/dist/cdn/YJW7KSEK.js +2 -0
- package/dist/cdn/{EYSSZWSX.js → YOVZ4RVH.js} +1 -1
- package/dist/cdn/{RSII6PTR.js → YQPVQLX7.js} +1 -1
- package/dist/cdn/YR2TWUVL.js +2 -0
- package/dist/cdn/{GPQCW5EO.js → Z6PP7BPU.js} +2 -2
- package/dist/cdn/{4USN37PO.js → ZASO3PKX.js} +1 -1
- package/dist/cdn/ZCXMHYL5.js +2 -0
- package/dist/cdn/{WDUFLQ32.js → ZIHB4MW5.js} +1 -1
- package/dist/cdn/ZJKDLNZQ.js +2 -0
- package/dist/cdn/ZOZCGOID.js +2 -0
- package/dist/cdn/ZY5S677G.js +2 -0
- package/dist/cdn/ZYH6RLUY.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/action-bar-utils.js +18 -20
- package/dist/chunks/axis-lines-symbol.js +6 -6
- package/dist/chunks/bar-chart-model.js +6 -8
- package/dist/chunks/box-plot-data.js +157 -156
- package/dist/chunks/box-plot-model.js +35 -33
- package/dist/chunks/chart-model.js +27 -29
- package/dist/chunks/chart-ui-utils.js +44 -46
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +20 -20
- package/dist/chunks/combo-bar-line-chart-model.js +15 -16
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +52 -54
- package/dist/chunks/gauge-model.js +64 -64
- package/dist/chunks/generate-x-axis-title.js +19 -19
- package/dist/chunks/heat-chart-model.js +13 -14
- package/dist/chunks/histogram-data.js +47 -48
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +5419 -4251
- package/dist/chunks/index2.js +1165 -871
- package/dist/chunks/index3.js +11040 -1173
- package/dist/chunks/index4.js +65 -11086
- package/dist/chunks/line-chart-model.js +17 -18
- package/dist/chunks/model-setter.js +6 -6
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +25 -25
- package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
- package/dist/chunks/pie-chart-data.js +25 -27
- package/dist/chunks/pie-chart-model.js +26 -25
- package/dist/chunks/radar-chart-model.js +6 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +2 -2
- package/dist/chunks/scatterplot-model.js +20 -22
- package/dist/chunks/serial-chart-data.js +510 -510
- package/dist/chunks/serial-chart-model.js +69 -66
- package/dist/chunks/series-length.js +4 -4
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +109 -55
- package/dist/chunks/utils.js +146 -212
- package/dist/chunks/web-component-utils.js +55 -56
- package/dist/chunks/x-bounds.js +20 -21
- package/dist/components/arcgis-chart/customElement.d.ts +166 -45
- package/dist/components/arcgis-chart/customElement.js +8226 -8013
- package/dist/components/arcgis-charts-action-bar/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +62 -57
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +51 -45
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +106 -104
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +52 -46
- package/dist/components/arcgis-charts-config-box-plot-series-popover/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 +189 -184
- package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-format/customElement.js +37 -38
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +14 -15
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +32 -33
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +38 -33
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +20 -24
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +21 -25
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +20 -21
- package/dist/components/arcgis-charts-info-modal/customElement.js +4 -4
- 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.js +316 -316
- package/dist/loader.js +3 -3
- package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
- package/dist/model/mixins/model-with-multi-axes.d.ts +29 -1
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
- 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 +1 -1
- package/dist/utils/chart-config/converter/index.js +89 -91
- package/dist/utils/chart-config/utils/index.d.ts +10 -3
- package/dist/utils/data/categorical-data/index.d.ts +1 -0
- package/dist/utils/misc/index.d.ts +4 -4
- package/package.json +7 -7
- package/dist/cdn/26JXKZ7A.js +0 -2
- package/dist/cdn/3DUAM7RK.js +0 -2
- package/dist/cdn/3PZWFW3T.js +0 -2
- package/dist/cdn/3W5KLNGL.js +0 -2
- package/dist/cdn/3YK3KIWI.js +0 -2
- package/dist/cdn/44I6NO6U.js +0 -2
- package/dist/cdn/4DZ3REFU.js +0 -2
- package/dist/cdn/4VNZG2VT.js +0 -2
- package/dist/cdn/53HMTYWA.js +0 -2
- package/dist/cdn/5OCPLZJD.js +0 -2
- package/dist/cdn/5UUI3TOG.js +0 -2
- package/dist/cdn/6TBNJO5J.js +0 -2
- package/dist/cdn/7GM6BQNN.js +0 -2
- package/dist/cdn/7TDWD3GC.js +0 -2
- package/dist/cdn/A33LL5AD.js +0 -2
- package/dist/cdn/AA6Q62S5.js +0 -2
- package/dist/cdn/AGGIZ74B.js +0 -2
- package/dist/cdn/AWKRU62U.js +0 -2
- package/dist/cdn/B6APNE72.js +0 -3
- package/dist/cdn/CCGAVRQQ.js +0 -2
- package/dist/cdn/CFMPJGNL.js +0 -2
- package/dist/cdn/D5WZ4UJC.js +0 -2
- package/dist/cdn/D66KCKCQ.js +0 -2
- package/dist/cdn/DSZIXRAL.js +0 -2
- package/dist/cdn/EPTOURLO.js +0 -2
- package/dist/cdn/EV5FQPUN.js +0 -2
- package/dist/cdn/FBUROOQZ.js +0 -2
- package/dist/cdn/FRFFG6VJ.js +0 -2
- package/dist/cdn/G3PLPDEP.js +0 -2
- package/dist/cdn/GD6OHLIR.js +0 -2
- package/dist/cdn/GSCC3FON.js +0 -2
- package/dist/cdn/HZQLPN4H.js +0 -2
- package/dist/cdn/IEOIKLLK.js +0 -2
- package/dist/cdn/ILEGHIRD.js +0 -2
- package/dist/cdn/IR5IIAYC.js +0 -2
- package/dist/cdn/J2HDKV47.js +0 -2
- package/dist/cdn/J7HDQGZM.js +0 -2
- package/dist/cdn/JI5EYK4Q.js +0 -2
- package/dist/cdn/KKNH7H7Q.js +0 -2
- package/dist/cdn/KQLTJETV.js +0 -2
- package/dist/cdn/KR5D7UAA.js +0 -2
- package/dist/cdn/LQG6JN2P.js +0 -2
- package/dist/cdn/MBMCCOYI.js +0 -2
- package/dist/cdn/MG6D45PY.js +0 -2
- package/dist/cdn/MJFMEOAZ.js +0 -2
- package/dist/cdn/MKG4JBMF.js +0 -2
- package/dist/cdn/MS6S4O2A.js +0 -2
- package/dist/cdn/N4RM5VSS.js +0 -2
- package/dist/cdn/ND72GIXE.js +0 -2
- package/dist/cdn/NOP2A3XL.js +0 -2
- package/dist/cdn/NZGQZZZ2.js +0 -2
- package/dist/cdn/O3P2WLI6.js +0 -2
- package/dist/cdn/OAEWLSKN.js +0 -2
- package/dist/cdn/OJN27UF2.js +0 -2
- package/dist/cdn/OSBZ6SF2.js +0 -2
- package/dist/cdn/OZSOICXE.js +0 -2
- package/dist/cdn/QG7ZBCDQ.js +0 -2
- package/dist/cdn/QZYHN3H3.js +0 -2
- package/dist/cdn/RHAWHDKW.js +0 -2
- package/dist/cdn/S3JZNDJK.js +0 -2
- package/dist/cdn/S7EQRXFW.js +0 -2
- package/dist/cdn/SKI5Z6UH.js +0 -2
- package/dist/cdn/SN4U2TYE.js +0 -2
- package/dist/cdn/SQOCBFAR.js +0 -2
- package/dist/cdn/STZNZAAW.js +0 -3
- package/dist/cdn/TCK5ZVBJ.js +0 -2
- package/dist/cdn/U6KRV4RA.js +0 -2
- package/dist/cdn/UD7VIM4I.js +0 -2
- package/dist/cdn/UQS25TZX.js +0 -2
- package/dist/cdn/UZRN5642.js +0 -2
- package/dist/cdn/VBYDJXIO.js +0 -2
- package/dist/cdn/W4LSI4AL.js +0 -2
- package/dist/cdn/W5DI7RYL.js +0 -2
- package/dist/cdn/WCM6N6ME.js +0 -2
- package/dist/cdn/WCONWQ4A.js +0 -2
- package/dist/cdn/WHUP2W37.js +0 -2
- package/dist/cdn/WMISD5B2.js +0 -4
- package/dist/cdn/XUY3ZVKB.js +0 -2
- package/dist/cdn/YDODEM4F.js +0 -2
- package/dist/cdn/YF6ML4P6.js +0 -4
- package/dist/cdn/YW3BJIXP.js +0 -2
- package/dist/cdn/YYOQY7YY.js +0 -2
- package/dist/chunks/index5.js +0 -69
- package/dist/chunks/type-guards2.js +0 -113
- package/dist/chunks/utils2.js +0 -63
- /package/dist/cdn/{OTV3YYDU.js → 7JMZPDM5.js} +0 -0
- /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
- /package/dist/cdn/{27C6PCQ2.js → XXO5K6N4.js} +0 -0
|
@@ -2,19 +2,18 @@
|
|
|
2
2
|
import { isEqual as W } from "es-toolkit/compat";
|
|
3
3
|
import { log as y } from "@arcgis/toolkit/log";
|
|
4
4
|
import { a as O } from "./chart-object-literals.js";
|
|
5
|
-
import { l as p, ap as D,
|
|
6
|
-
import {
|
|
5
|
+
import { l as p, ap as D, a9 as P, g as R, aa as m, an as u, ab as S, r as A } from "./index2.js";
|
|
6
|
+
import { eO as V, eN as T, cJ as E, eP as N, cD as h, eM as z } from "./index.js";
|
|
7
7
|
import { m as s } from "./model-setter.js";
|
|
8
|
-
import { B as
|
|
9
|
-
import { M as
|
|
10
|
-
import { M as
|
|
11
|
-
import { W as k, c as
|
|
12
|
-
import { W as
|
|
13
|
-
import { W as
|
|
14
|
-
import { W as
|
|
15
|
-
import { W as
|
|
16
|
-
import { g as
|
|
17
|
-
import { k as re, j as oe, l as ne, h as ae } from "./utils.js";
|
|
8
|
+
import { B as U } from "./common.js";
|
|
9
|
+
import { M as X, a as j, W as q, b as G } from "./data-labels-visibility.js";
|
|
10
|
+
import { M as K, a as Y } from "./model-with-y-guides.js";
|
|
11
|
+
import { W as k, c as J, d as H } from "./axis-lines-symbol.js";
|
|
12
|
+
import { W as Q, c as Z, d as $ } from "./generate-x-axis-title.js";
|
|
13
|
+
import { W as ee, a as te } from "./x-bounds.js";
|
|
14
|
+
import { W as ie } from "./data-labels-symbol.js";
|
|
15
|
+
import { W as se } from "./rotated-state.js";
|
|
16
|
+
import { g as re, b as oe, s as ne, a as ae } from "./series.js";
|
|
18
17
|
import { s as le, d as he, e as ce, f as ge, h as de, i as g, j as d, k as _, l as L, m as B, g as fe, n as ye, o as pe, p as C, a as me, c as ue, b as Se, q as _e, r as F, t as Le, u as Be, v as M, w as Ce, x, y as Fe, z as Me, A as xe, B as Ie, C as be, D as ve, E as we, F as We, G as I } from "./box-plot-data.js";
|
|
19
18
|
import { C as Oe } from "./chart-model.js";
|
|
20
19
|
var De = Object.defineProperty, Pe = Object.getOwnPropertyDescriptor, r = (c, e, t, n) => {
|
|
@@ -104,7 +103,7 @@ class i extends Oe {
|
|
|
104
103
|
}
|
|
105
104
|
set numericFields(e) {
|
|
106
105
|
const { layerFieldsInfo: t } = this.layerInfo;
|
|
107
|
-
typeof e == "string" && (e = [e]),
|
|
106
|
+
typeof e == "string" && (e = [e]), V(t, e) ? (this._numericFields = e, le(this._category, this._numericFields) && (this._splitByField = ""), this.processSeriesRebuild("numericFields")) : y("error", "box-plot-model", "Invalid `numericFields`");
|
|
108
107
|
}
|
|
109
108
|
/**
|
|
110
109
|
* The split-by field for the box plot.
|
|
@@ -113,7 +112,7 @@ class i extends Oe {
|
|
|
113
112
|
return this._splitByField;
|
|
114
113
|
}
|
|
115
114
|
set splitByField(e) {
|
|
116
|
-
|
|
115
|
+
T(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.processSeriesRebuild("splitByField")) : y("error", "box-plot-model", "Invalid `splitByField`");
|
|
117
116
|
}
|
|
118
117
|
/**
|
|
119
118
|
* Whether outliers are shown.
|
|
@@ -178,18 +177,21 @@ class i extends Oe {
|
|
|
178
177
|
}
|
|
179
178
|
/**
|
|
180
179
|
* Gets the list of the category values for the chart.
|
|
180
|
+
*
|
|
181
|
+
* @param num The maximum number of category values to fetch.
|
|
181
182
|
*/
|
|
182
|
-
async getCustomSortValues() {
|
|
183
|
+
async getCustomSortValues(e) {
|
|
183
184
|
return await _({
|
|
184
185
|
config: this._config,
|
|
185
186
|
layerInfo: this.layerInfo,
|
|
187
|
+
num: e,
|
|
186
188
|
errorStrings: this.commonStrings.errorStrings
|
|
187
189
|
});
|
|
188
190
|
}
|
|
189
191
|
async setDataFilters(e) {
|
|
190
192
|
super.setDataFilters(e);
|
|
191
193
|
const t = g(this._config);
|
|
192
|
-
if (t ===
|
|
194
|
+
if (t === U.customSort) {
|
|
193
195
|
this.startAsyncUpdate();
|
|
194
196
|
const n = await _({
|
|
195
197
|
config: this._config,
|
|
@@ -294,8 +296,8 @@ class i extends Oe {
|
|
|
294
296
|
* Fetches the split-by field information and stores it in a private member for use in building the series.
|
|
295
297
|
*/
|
|
296
298
|
async fetchSplitByFieldInfos() {
|
|
297
|
-
const { fetchNullValues: e } =
|
|
298
|
-
return this.splitByFieldInfos = await
|
|
299
|
+
const { fetchNullValues: e } = E(this._config)?.query ?? {};
|
|
300
|
+
return this.splitByFieldInfos = await N({
|
|
299
301
|
config: this._config,
|
|
300
302
|
layer: this.layerInfo.layer,
|
|
301
303
|
layerFieldsInfo: this.layerInfo.layerFieldsInfo,
|
|
@@ -359,7 +361,7 @@ class i extends Oe {
|
|
|
359
361
|
getSeriesLineStyle(e) {
|
|
360
362
|
const t = this._config.series[e];
|
|
361
363
|
if (this.showMeanLines === !0 && h(t))
|
|
362
|
-
return
|
|
364
|
+
return re(t);
|
|
363
365
|
}
|
|
364
366
|
setSeriesLineStyle(e, t) {
|
|
365
367
|
this.showMeanLines === !0 && Fe({ style: e, seriesIndex: t, config: this._config });
|
|
@@ -374,7 +376,7 @@ class i extends Oe {
|
|
|
374
376
|
getSeriesLineWidth(e) {
|
|
375
377
|
const t = this._config.series[e];
|
|
376
378
|
if (this.showMeanLines === !0 && h(t))
|
|
377
|
-
return
|
|
379
|
+
return oe(t);
|
|
378
380
|
}
|
|
379
381
|
setSeriesLineWidth(e, t) {
|
|
380
382
|
this.showMeanLines === !0 && Me({ width: e, seriesIndex: t, config: this._config });
|
|
@@ -437,7 +439,7 @@ class i extends Oe {
|
|
|
437
439
|
layerInfo: this.layerInfo,
|
|
438
440
|
commonStrings: this.commonStrings
|
|
439
441
|
});
|
|
440
|
-
M(a ?? t, e, this._config), this.showMeanLines === !0 && h(o) && (
|
|
442
|
+
M(a ?? t, e, this._config), this.showMeanLines === !0 && h(o) && (ne(u, o), ae(S, o));
|
|
441
443
|
}
|
|
442
444
|
this.showMeanLines === !0 && C(m, this._config), this._config.colorMatch = !0;
|
|
443
445
|
}
|
|
@@ -522,24 +524,24 @@ r([
|
|
|
522
524
|
s
|
|
523
525
|
], i.prototype, "resetSeriesStyling");
|
|
524
526
|
const Re = [
|
|
527
|
+
K,
|
|
525
528
|
X,
|
|
526
|
-
E,
|
|
527
|
-
N,
|
|
528
|
-
z,
|
|
529
|
-
$,
|
|
530
|
-
U,
|
|
531
|
-
Z,
|
|
532
529
|
j,
|
|
533
|
-
|
|
534
|
-
|
|
530
|
+
q,
|
|
531
|
+
se,
|
|
532
|
+
G,
|
|
533
|
+
ie,
|
|
535
534
|
Y,
|
|
536
535
|
Q,
|
|
536
|
+
ee,
|
|
537
|
+
Z,
|
|
538
|
+
te,
|
|
537
539
|
k,
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
540
|
+
J,
|
|
541
|
+
H,
|
|
542
|
+
$
|
|
541
543
|
];
|
|
542
|
-
|
|
544
|
+
z(i, Re);
|
|
543
545
|
export {
|
|
544
546
|
i as BoxPlotModel
|
|
545
547
|
};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import { g as
|
|
2
|
+
import { bP as j, r as F, eM as W } from "./index.js";
|
|
3
|
+
import { g as L, W as I, c as z, d as N } from "./series-length.js";
|
|
4
4
|
import { m as a, C as n } from "./model-setter.js";
|
|
5
|
-
import {
|
|
6
|
-
import { u as z } from "./index2.js";
|
|
7
|
-
import { q as N } from "./index.js";
|
|
5
|
+
import { a4 as p, a6 as c, a5 as f } from "./index2.js";
|
|
8
6
|
var R = Object.defineProperty, M = Object.getOwnPropertyDescriptor, U = (e, t, r, l) => {
|
|
9
7
|
for (var i = M(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
10
8
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
11
9
|
return i && R(t, r, i), i;
|
|
12
10
|
};
|
|
13
|
-
const B = (e) => e.title?.content,
|
|
11
|
+
const B = (e) => e.title?.content, E = (e, t) => {
|
|
14
12
|
if (e) {
|
|
15
|
-
const r =
|
|
13
|
+
const r = L(t);
|
|
16
14
|
t.title === void 0 && (t.title = p({
|
|
17
15
|
text: "",
|
|
18
16
|
visible: !0,
|
|
@@ -32,16 +30,16 @@ class h extends n {
|
|
|
32
30
|
return B(this._config);
|
|
33
31
|
}
|
|
34
32
|
set titleSymbol(t) {
|
|
35
|
-
|
|
33
|
+
E(t, this._config);
|
|
36
34
|
}
|
|
37
35
|
}
|
|
38
36
|
U([
|
|
39
37
|
a
|
|
40
38
|
], h.prototype, "titleSymbol");
|
|
41
|
-
var
|
|
39
|
+
var q = Object.defineProperty, A = Object.getOwnPropertyDescriptor, G = (e, t, r, l) => {
|
|
42
40
|
for (var i = A(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
43
41
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
44
|
-
return i &&
|
|
42
|
+
return i && q(t, r, i), i;
|
|
45
43
|
};
|
|
46
44
|
class u extends n {
|
|
47
45
|
/**
|
|
@@ -231,10 +229,10 @@ class D extends n {
|
|
|
231
229
|
gt([
|
|
232
230
|
a
|
|
233
231
|
], D.prototype, "chartTitleVisibility");
|
|
234
|
-
var
|
|
235
|
-
for (var i =
|
|
232
|
+
var Pt = Object.defineProperty, Ot = Object.getOwnPropertyDescriptor, St = (e, t, r, l) => {
|
|
233
|
+
for (var i = Ot(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
236
234
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
237
|
-
return i &&
|
|
235
|
+
return i && Pt(t, r, i), i;
|
|
238
236
|
};
|
|
239
237
|
const xt = (e) => e.subtitle ? e.subtitle.visible ?? !0 : !1, Tt = (e, t) => {
|
|
240
238
|
t.subtitle !== void 0 ? t.subtitle.visible = e : t.subtitle = p({
|
|
@@ -243,7 +241,7 @@ const xt = (e) => e.subtitle ? e.subtitle.visible ?? !0 : !1, Tt = (e, t) => {
|
|
|
243
241
|
font: f(c.ChartSubtitle)
|
|
244
242
|
});
|
|
245
243
|
};
|
|
246
|
-
class
|
|
244
|
+
class P extends n {
|
|
247
245
|
/**
|
|
248
246
|
* Whether or not the chart subtitle is visible.
|
|
249
247
|
*
|
|
@@ -258,14 +256,14 @@ class O extends n {
|
|
|
258
256
|
}
|
|
259
257
|
St([
|
|
260
258
|
a
|
|
261
|
-
],
|
|
259
|
+
], P.prototype, "chartSubtitleVisibility");
|
|
262
260
|
var Ct = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, $t = (e, t, r, l) => {
|
|
263
261
|
for (var i = Vt(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
264
262
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
265
263
|
return i && Ct(t, r, i), i;
|
|
266
264
|
};
|
|
267
|
-
const
|
|
268
|
-
t.footer !== void 0 ? t.footer.visible = e : e !==
|
|
265
|
+
const O = (e) => e.footer?.visible ?? !1, mt = (e, t) => {
|
|
266
|
+
t.footer !== void 0 ? t.footer.visible = e : e !== O(t) && (t.footer = p({
|
|
269
267
|
text: "",
|
|
270
268
|
visible: !0,
|
|
271
269
|
font: f(c.DescriptionText)
|
|
@@ -278,7 +276,7 @@ class S extends n {
|
|
|
278
276
|
* **Note:** Even if the description is visible, it may not be displayed if the description text is empty.
|
|
279
277
|
*/
|
|
280
278
|
get descriptionVisibility() {
|
|
281
|
-
return
|
|
279
|
+
return O(this._config);
|
|
282
280
|
}
|
|
283
281
|
set descriptionVisibility(t) {
|
|
284
282
|
mt(t, this._config);
|
|
@@ -373,13 +371,13 @@ class T extends n {
|
|
|
373
371
|
Nt([
|
|
374
372
|
a
|
|
375
373
|
], T.prototype, "backgroundColor");
|
|
376
|
-
var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor,
|
|
374
|
+
var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, Et = (e, t, r, l) => {
|
|
377
375
|
for (var i = Bt(t, r), s = e.length - 1, o; s >= 0; s--)
|
|
378
376
|
(o = e[s]) && (i = o(t, r, i) || i);
|
|
379
377
|
return i && Ut(t, r, i), i;
|
|
380
378
|
};
|
|
381
|
-
const
|
|
382
|
-
|
|
379
|
+
const qt = (e, t) => t.series[e].visible ?? !0, At = (e, t) => {
|
|
380
|
+
j({ detail: e }, t);
|
|
383
381
|
};
|
|
384
382
|
class C extends n {
|
|
385
383
|
/**
|
|
@@ -388,13 +386,13 @@ class C extends n {
|
|
|
388
386
|
* @param seriesIndex The series index
|
|
389
387
|
*/
|
|
390
388
|
getSeriesVisibility(t) {
|
|
391
|
-
return
|
|
389
|
+
return qt(t, this._config);
|
|
392
390
|
}
|
|
393
391
|
setSeriesVisibility(t) {
|
|
394
392
|
At(t, this._config);
|
|
395
393
|
}
|
|
396
394
|
}
|
|
397
|
-
|
|
395
|
+
Et([
|
|
398
396
|
a
|
|
399
397
|
], C.prototype, "setSeriesVisibility");
|
|
400
398
|
const Gt = (e, t) => t.series[e]?.id;
|
|
@@ -421,7 +419,7 @@ class Kt extends n {
|
|
|
421
419
|
return Jt(t, this._config);
|
|
422
420
|
}
|
|
423
421
|
}
|
|
424
|
-
const Qt = (e) =>
|
|
422
|
+
const Qt = (e) => F(e.series);
|
|
425
423
|
class Xt extends n {
|
|
426
424
|
/**
|
|
427
425
|
* The chart sub type of the series.
|
|
@@ -547,7 +545,7 @@ const ge = [
|
|
|
547
545
|
u,
|
|
548
546
|
H,
|
|
549
547
|
Q,
|
|
550
|
-
|
|
548
|
+
I,
|
|
551
549
|
h,
|
|
552
550
|
Y,
|
|
553
551
|
b,
|
|
@@ -555,22 +553,22 @@ const ge = [
|
|
|
555
553
|
g,
|
|
556
554
|
y,
|
|
557
555
|
D,
|
|
558
|
-
|
|
556
|
+
P,
|
|
559
557
|
S,
|
|
560
558
|
x,
|
|
561
559
|
T,
|
|
562
560
|
C,
|
|
563
561
|
Ht,
|
|
564
562
|
Kt,
|
|
565
|
-
|
|
563
|
+
z,
|
|
566
564
|
Xt,
|
|
567
565
|
$,
|
|
568
566
|
V,
|
|
569
567
|
m,
|
|
570
|
-
|
|
568
|
+
N,
|
|
571
569
|
w
|
|
572
570
|
];
|
|
573
|
-
|
|
571
|
+
W(ve, ge);
|
|
574
572
|
export {
|
|
575
573
|
ve as C
|
|
576
574
|
};
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { F as o, W as f } from "./interfaces.js";
|
|
3
|
-
import {
|
|
3
|
+
import { cN as b, J as N, ck as d, c5 as g } from "./index.js";
|
|
4
4
|
import { R as u } from "./rest-js-object-literals.js";
|
|
5
|
-
import { d as r, l as
|
|
6
|
-
import { E as p, bK as g } from "./index.js";
|
|
7
|
-
import { t as d } from "./index2.js";
|
|
5
|
+
import { d as r, l as c } from "./chart-object-literals.js";
|
|
8
6
|
import { F as n } from "./common.js";
|
|
9
|
-
const
|
|
7
|
+
const D = {
|
|
10
8
|
DebounceTimer: 400,
|
|
11
9
|
SliderTimer: 100,
|
|
12
10
|
PopoverTimer: 60,
|
|
13
11
|
customSortLimit: 100
|
|
14
|
-
},
|
|
12
|
+
}, h = {
|
|
15
13
|
style: "decimal",
|
|
16
14
|
minimumFractionDigits: 0,
|
|
17
15
|
maximumFractionDigits: 3
|
|
18
|
-
},
|
|
16
|
+
}, F = [
|
|
19
17
|
r.Count,
|
|
20
18
|
r.Sum,
|
|
21
19
|
r.Average,
|
|
@@ -23,8 +21,8 @@ const F = {
|
|
|
23
21
|
r.Minimum,
|
|
24
22
|
r.Maximum,
|
|
25
23
|
r.NoAggregation
|
|
26
|
-
],
|
|
27
|
-
function
|
|
24
|
+
], S = [r.Count, r.Sum];
|
|
25
|
+
function v(e) {
|
|
28
26
|
let t;
|
|
29
27
|
switch (e) {
|
|
30
28
|
case n.Title:
|
|
@@ -55,12 +53,12 @@ function C(e) {
|
|
|
55
53
|
}
|
|
56
54
|
return t;
|
|
57
55
|
}
|
|
58
|
-
function
|
|
56
|
+
function I(e, t, a) {
|
|
59
57
|
let i = !1;
|
|
60
|
-
const s = typeof e == "string" ? Number.parseFloat(e) : e,
|
|
61
|
-
return Number.isNaN(s) || (i = (
|
|
58
|
+
const s = typeof e == "string" ? Number.parseFloat(e) : e, m = typeof t == "string" ? Number.parseFloat(t) : t, l = typeof a == "string" ? Number.parseFloat(a) : a;
|
|
59
|
+
return Number.isNaN(s) || (i = (m === void 0 || Number.isNaN(m) || s >= m) && (l === void 0 || Number.isNaN(l) || s <= l)), i;
|
|
62
60
|
}
|
|
63
|
-
function
|
|
61
|
+
function C(e, t) {
|
|
64
62
|
let a;
|
|
65
63
|
if (e !== null) {
|
|
66
64
|
const i = typeof e == "string" ? Number.parseFloat(e) : e;
|
|
@@ -68,23 +66,23 @@ function x(e, t) {
|
|
|
68
66
|
}
|
|
69
67
|
return a === void 0 ? "" : `${a}`;
|
|
70
68
|
}
|
|
71
|
-
function
|
|
69
|
+
function x(e) {
|
|
72
70
|
const { inputElement: t, status: a } = e;
|
|
73
71
|
t.status = a;
|
|
74
72
|
}
|
|
75
|
-
const
|
|
73
|
+
const A = {
|
|
76
74
|
IDLE: "idle",
|
|
77
75
|
INVALID: "invalid"
|
|
78
76
|
};
|
|
79
|
-
function
|
|
77
|
+
function E(e, t) {
|
|
80
78
|
let a = "";
|
|
81
79
|
if (e !== void 0 && !Number.isNaN(e)) {
|
|
82
|
-
const i =
|
|
80
|
+
const i = N(document.documentElement);
|
|
83
81
|
a = Intl.NumberFormat(i, t).format(e);
|
|
84
82
|
}
|
|
85
83
|
return a;
|
|
86
84
|
}
|
|
87
|
-
function
|
|
85
|
+
function O(e, t) {
|
|
88
86
|
let a = !1;
|
|
89
87
|
if (t !== void 0) {
|
|
90
88
|
const i = typeof t == "string" ? t.trim() : t, s = e.trim();
|
|
@@ -92,7 +90,7 @@ function B(e, t) {
|
|
|
92
90
|
}
|
|
93
91
|
return a;
|
|
94
92
|
}
|
|
95
|
-
function
|
|
93
|
+
function V(e) {
|
|
96
94
|
let t;
|
|
97
95
|
switch (e) {
|
|
98
96
|
case "trailing":
|
|
@@ -107,12 +105,12 @@ function M(e) {
|
|
|
107
105
|
}
|
|
108
106
|
return t;
|
|
109
107
|
}
|
|
110
|
-
function
|
|
108
|
+
function B(e) {
|
|
111
109
|
return e === void 0 || Number.isNaN(e.r) || Number.isNaN(e.g) || Number.isNaN(e.b) ? null : e;
|
|
112
110
|
}
|
|
113
|
-
const
|
|
111
|
+
const M = (e) => {
|
|
114
112
|
["e", "E"].includes(e.key) && e.preventDefault();
|
|
115
|
-
},
|
|
113
|
+
}, U = (e) => {
|
|
116
114
|
if (e.pickListElement !== void 0) {
|
|
117
115
|
const t = e.pickListElement.selectedItems;
|
|
118
116
|
e.eventEmitter.emit({
|
|
@@ -121,7 +119,7 @@ const W = (e) => {
|
|
|
121
119
|
});
|
|
122
120
|
}
|
|
123
121
|
};
|
|
124
|
-
function
|
|
122
|
+
function W(e) {
|
|
125
123
|
let t = "solid";
|
|
126
124
|
switch (e) {
|
|
127
125
|
case u.Dash:
|
|
@@ -137,36 +135,36 @@ function w(e) {
|
|
|
137
135
|
}
|
|
138
136
|
return t;
|
|
139
137
|
}
|
|
140
|
-
function
|
|
138
|
+
function P(e, t) {
|
|
141
139
|
const a = document.createElement("a");
|
|
142
140
|
a.style.display = "none", a.download = t, a.setAttribute("href", e), a.click(), a.remove(), URL.revokeObjectURL(e);
|
|
143
141
|
}
|
|
144
|
-
function
|
|
142
|
+
function w(e) {
|
|
145
143
|
return e != null && (e.style.removeProperty("opacity"), e.remove()), null;
|
|
146
144
|
}
|
|
147
|
-
function
|
|
145
|
+
function H(e) {
|
|
148
146
|
const t = !b(e?.config), a = e.xTemporalBinning?.unit, i = e.yTemporalBinning?.unit;
|
|
149
147
|
let s;
|
|
150
|
-
return t && a !== void 0 && i !== void 0 && (a ===
|
|
148
|
+
return t && a !== void 0 && i !== void 0 && (a === c.HourOfDay && i === c.DayOfWeek ? s = f.WeekByDayOfWeekAndHourOfDay : a === c.DayOfMonth && i === c.MonthOfYear && (s = f.YearByMonthAndDayOfMonth)), s;
|
|
151
149
|
}
|
|
152
150
|
export {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
151
|
+
h as D,
|
|
152
|
+
A as U,
|
|
153
|
+
w as a,
|
|
154
|
+
D as b,
|
|
155
|
+
F as c,
|
|
156
|
+
P as d,
|
|
157
|
+
O as e,
|
|
158
|
+
U as f,
|
|
159
|
+
B as g,
|
|
160
|
+
v as h,
|
|
161
|
+
I as i,
|
|
162
|
+
W as j,
|
|
163
|
+
M as k,
|
|
164
|
+
H as l,
|
|
165
|
+
x as m,
|
|
166
|
+
E as n,
|
|
167
|
+
V as o,
|
|
168
|
+
S as p,
|
|
169
|
+
C as s
|
|
172
170
|
};
|
|
@@ -4,7 +4,7 @@ import { g as h } from "./runtime.js";
|
|
|
4
4
|
import { fetchT9nStringsBundle as n } from "@arcgis/toolkit/intl";
|
|
5
5
|
import { getElementLocale as m } from "@arcgis/toolkit/intl/dom";
|
|
6
6
|
import { a as e } from "./chart-object-literals.js";
|
|
7
|
-
import {
|
|
7
|
+
import { cN as p } from "./index.js";
|
|
8
8
|
function k(s) {
|
|
9
9
|
const c = o(s.series);
|
|
10
10
|
let r = "graph-bar";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import G from "@arcgis/core/Color.js";
|
|
3
3
|
import { createClassBreaksRenderer as J } from "@arcgis/core/smartMapping/renderers/color.js";
|
|
4
|
-
import {
|
|
5
|
-
import { cloneDeep as Q, memoize as U, isEqual as
|
|
4
|
+
import { cO as Y, cP as L } from "./index.js";
|
|
5
|
+
import { cloneDeep as Q, memoize as U, isEqual as N, sortBy as X, flatMap as Z } from "es-toolkit/compat";
|
|
6
6
|
import { getSchemes as ee } from "@arcgis/core/smartMapping/symbology/color.js";
|
|
7
|
-
import { i as V } from "./
|
|
7
|
+
import { i as V } from "./index2.js";
|
|
8
8
|
import { b as S, a as b, R as g, d as k } from "./rest-js-object-literals.js";
|
|
9
9
|
import * as te from "@arcgis/core/smartMapping/symbology/support/colorRamps.js";
|
|
10
10
|
import { a as oe } from "./chart-object-literals.js";
|
|
@@ -80,7 +80,7 @@ function se(e) {
|
|
|
80
80
|
if (l != null) {
|
|
81
81
|
let n = { value: l };
|
|
82
82
|
t.forEach((i) => {
|
|
83
|
-
const u = x(a[`${s.fillColor}_${i}`]), f = a[`${s.fillOpacity}_${i}`], d = a[`${s.fillStyle}_${i}`], m = a[`${s.markerSize}_${i}`], p = x(a[`${s.outlineColor}_${i}`]), R = a[`${s.outlineOpacity}_${i}`], C = a[`${s.outlineWidth}_${i}`], B = a[`${s.outlineStyle}_${i}`], $ = x(a[`${s.lineColor}_${i}`]),
|
|
83
|
+
const u = x(a[`${s.fillColor}_${i}`]), f = a[`${s.fillOpacity}_${i}`], d = a[`${s.fillStyle}_${i}`], m = a[`${s.markerSize}_${i}`], p = x(a[`${s.outlineColor}_${i}`]), R = a[`${s.outlineOpacity}_${i}`], C = a[`${s.outlineWidth}_${i}`], B = a[`${s.outlineStyle}_${i}`], $ = x(a[`${s.lineColor}_${i}`]), O = a[`${s.lineOpacity}_${i}`], F = a[`${s.lineWidth}_${i}`], w = a[`${s.lineStyle}_${i}`], _ = a[`${s.displayLabel}_${i}`];
|
|
84
84
|
if (typeof _ == "string" && (n = {
|
|
85
85
|
...n,
|
|
86
86
|
label: _
|
|
@@ -96,9 +96,9 @@ function se(e) {
|
|
|
96
96
|
const v = { type: S.SLS };
|
|
97
97
|
p && (R && typeof R == "number" && (p[3] = R), v.color = p), D(B) && (v.style = B), C && typeof C == "number" && (v.width = C), n.symbol.outline = v;
|
|
98
98
|
}
|
|
99
|
-
} else if ($ || F != null || D(
|
|
99
|
+
} else if ($ || F != null || D(w)) {
|
|
100
100
|
const h = { type: S.SLS };
|
|
101
|
-
$ && (
|
|
101
|
+
$ && (O && typeof O == "number" && ($[3] = O), h.color = $), D(w) && (h.style = w), F != null && typeof F == "number" && (h.width = F), n.symbol = h;
|
|
102
102
|
}
|
|
103
103
|
}), (n.label || n.symbol) && r.uniqueValueInfos.push(n);
|
|
104
104
|
}
|
|
@@ -182,7 +182,7 @@ const xe = {
|
|
|
182
182
|
convertColor: x,
|
|
183
183
|
removeConfigFieldsFromData: j
|
|
184
184
|
}, T = te.all(), le = ee({ geometryType: "point", theme: "high-to-low" });
|
|
185
|
-
function
|
|
185
|
+
function P(e, o, t) {
|
|
186
186
|
const s = Math.max(0, Math.min(1, t));
|
|
187
187
|
return [
|
|
188
188
|
Math.round(e[0] + (o[0] - e[0]) * s),
|
|
@@ -209,12 +209,12 @@ function ie(e) {
|
|
|
209
209
|
else
|
|
210
210
|
for (let n = 0; n < o; n++) {
|
|
211
211
|
const i = n / (o - 1);
|
|
212
|
-
r.push(
|
|
212
|
+
r.push(P(a, l, i));
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
return r;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function K(e) {
|
|
218
218
|
const { colorRamp: o, numberOfClassBreaks: t, isFlipped: s } = e;
|
|
219
219
|
let c = [], r = !1;
|
|
220
220
|
if (o.colorsForClassBreaks && o.colorsForClassBreaks.length > 0) {
|
|
@@ -238,7 +238,7 @@ function P(e) {
|
|
|
238
238
|
c = [];
|
|
239
239
|
break;
|
|
240
240
|
}
|
|
241
|
-
const R = u * (l.length - 1) - f, C =
|
|
241
|
+
const R = u * (l.length - 1) - f, C = P(m, p, R);
|
|
242
242
|
n.push(C);
|
|
243
243
|
}
|
|
244
244
|
c = n;
|
|
@@ -249,7 +249,7 @@ function P(e) {
|
|
|
249
249
|
function W(e) {
|
|
250
250
|
const { numberOfClassBreaks: o, selectedColorRamp: t, colorRamp: s, isFlipped: c = !1 } = e;
|
|
251
251
|
let r = ne(o, s);
|
|
252
|
-
const a = t ?
|
|
252
|
+
const a = t ? K({ colorRamp: t, numberOfClassBreaks: o, isFlipped: c }) : [];
|
|
253
253
|
return r.length !== o && (r = a), r.length !== o && (r = ie({
|
|
254
254
|
numberOfClassBreaks: o,
|
|
255
255
|
baseColors: a.length > 0 ? a : s
|
|
@@ -342,7 +342,7 @@ function me(e) {
|
|
|
342
342
|
), u = E(t, i), f = fe(o).filter((p) => !!p), d = new Set(I(f).map(r)), m = E(t, d);
|
|
343
343
|
return n * c.exactN + u * c.generated + m * c.anyOverlap;
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function Oe(e, o) {
|
|
346
346
|
const t = {
|
|
347
347
|
exactN: 100,
|
|
348
348
|
generated: 10,
|
|
@@ -368,7 +368,7 @@ function we(e, o) {
|
|
|
368
368
|
}
|
|
369
369
|
return c;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function we(e, o) {
|
|
372
372
|
let t = !0;
|
|
373
373
|
if (!e?.length || o.length < 2)
|
|
374
374
|
t = !1;
|
|
@@ -397,7 +397,7 @@ function de(e) {
|
|
|
397
397
|
return o.size === 1 ? t : void 0;
|
|
398
398
|
}
|
|
399
399
|
function pe(e, o) {
|
|
400
|
-
const t =
|
|
400
|
+
const t = K({
|
|
401
401
|
colorRamp: A.defaultColorRampForCharts,
|
|
402
402
|
numberOfClassBreaks: 1
|
|
403
403
|
})[0];
|
|
@@ -472,7 +472,7 @@ function ge(e) {
|
|
|
472
472
|
const { colorRampName: o, availableColorRamps: t } = e;
|
|
473
473
|
return be(o, t) ?? A.defaultColorRampForCharts;
|
|
474
474
|
}
|
|
475
|
-
const
|
|
475
|
+
const Ne = U(
|
|
476
476
|
async (e) => {
|
|
477
477
|
const {
|
|
478
478
|
data: o,
|
|
@@ -514,8 +514,8 @@ function Te({
|
|
|
514
514
|
let s = !0;
|
|
515
515
|
if (Array.isArray(e) && Array.isArray(o)) {
|
|
516
516
|
const c = (r) => r.map(({ symbol: a, ...l }) => l);
|
|
517
|
-
if (
|
|
518
|
-
const r = e.map((i) => i.symbol?.color), a = o.map((i) => i.symbol?.color), l =
|
|
517
|
+
if (N(c(e), c(o))) {
|
|
518
|
+
const r = e.map((i) => i.symbol?.color), a = o.map((i) => i.symbol?.color), l = N(r, a), n = N(r, [...a].reverse());
|
|
519
519
|
s = t ? !(l || n) : !l;
|
|
520
520
|
}
|
|
521
521
|
}
|
|
@@ -529,10 +529,10 @@ export {
|
|
|
529
529
|
Me as d,
|
|
530
530
|
W as e,
|
|
531
531
|
se as f,
|
|
532
|
-
|
|
532
|
+
Ne as g,
|
|
533
533
|
re as h,
|
|
534
|
-
|
|
534
|
+
we as i,
|
|
535
535
|
ae as j,
|
|
536
536
|
xe as k,
|
|
537
|
-
|
|
537
|
+
Oe as p
|
|
538
538
|
};
|