@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
|
@@ -4,8 +4,7 @@ import { isEqual as r } from "es-toolkit/compat";
|
|
|
4
4
|
import { LitElement as n } from "@arcgis/lumina";
|
|
5
5
|
import { css as h, html as i } from "lit";
|
|
6
6
|
import { C as o } from "../../chunks/interfaces.js";
|
|
7
|
-
import { i as d,
|
|
8
|
-
import { i as u } from "../../chunks/type-guards.js";
|
|
7
|
+
import { i as d, c9 as c, ca as m, bA as f, l as g, cI as p, v as u } from "../../chunks/index.js";
|
|
9
8
|
const C = h`: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%}`;
|
|
10
9
|
class y extends n {
|
|
11
10
|
constructor() {
|
|
@@ -48,7 +47,7 @@ class y extends n {
|
|
|
48
47
|
if (s) {
|
|
49
48
|
await f(s);
|
|
50
49
|
const t = this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled;
|
|
51
|
-
this.layerFieldsInfo =
|
|
50
|
+
this.layerFieldsInfo = g(s) ? p({ layer: s, popupTemplateFieldInfosEnabled: t, chartType: a?.type }) : u(s, t);
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
53
|
render() {
|
|
@@ -9,9 +9,8 @@ import { u as B } from "../../chunks/useT9n.js";
|
|
|
9
9
|
import { css as N, html as c } from "lit";
|
|
10
10
|
import { createRef as u, ref as v } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as F, createEvent as D, renderElement as _, safeStyleMap as O, safeClassMap as o } from "@arcgis/lumina";
|
|
12
|
-
import { S as H, E as K } from "../../chunks/
|
|
13
|
-
import {
|
|
14
|
-
import { i as U } from "../../chunks/type-guards.js";
|
|
12
|
+
import { S as H, E as K } from "../../chunks/index2.js";
|
|
13
|
+
import { B as A, l as U } from "../../chunks/index.js";
|
|
15
14
|
import { r as z } from "../../chunks/popover-ui-utils.js";
|
|
16
15
|
import { b as R } from "../../chunks/rest-js-object-literals.js";
|
|
17
16
|
import { s as b } from "../../chunks/chart-object-literals.js";
|
|
@@ -10,9 +10,8 @@ import { LitElement as b, createEvent as p, safeClassMap as o } from "@arcgis/lu
|
|
|
10
10
|
import { b as $ } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
import { s } from "../../chunks/chart-object-literals.js";
|
|
12
12
|
import { e as P } from "../../chunks/popover-ui-utils.js";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { r as T } from "../../chunks/index3.js";
|
|
13
|
+
import { b3 as S, B as k } from "../../chunks/index.js";
|
|
14
|
+
import { r as T } from "../../chunks/index2.js";
|
|
16
15
|
const l = {
|
|
17
16
|
symbolPropertyPopover: "symbol-property-popover",
|
|
18
17
|
colorPicker: "color-picker",
|
|
@@ -44,7 +43,7 @@ class x extends b {
|
|
|
44
43
|
if (e === i.numericFields)
|
|
45
44
|
for (let r = 0; r < this.layerFieldsInfo?.length; r += 1) {
|
|
46
45
|
const a = this.layerFieldsInfo[r];
|
|
47
|
-
|
|
46
|
+
S(a) && n.push(c(a.name, t`<calcite-list-item .label=${k(this.layerFieldsInfo, a.name)} .value=${a.name} .selected=${this.selectedNumericField === a.name}></calcite-list-item>`));
|
|
48
47
|
}
|
|
49
48
|
else {
|
|
50
49
|
const r = [
|
|
@@ -4,7 +4,7 @@ import { isEqual as a } from "es-toolkit/compat";
|
|
|
4
4
|
import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
import { css as h, html as o } from "lit";
|
|
6
6
|
import { C as s } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
7
|
+
import { c9 as c, ca as m, v as f, b3 as g, b4 as p } from "../../chunks/index.js";
|
|
8
8
|
const u = h`: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%}`;
|
|
9
9
|
class C extends n {
|
|
10
10
|
constructor() {
|
|
@@ -10,9 +10,8 @@ import { d as p, a as c, r as C, b as T } from "../../chunks/store.js";
|
|
|
10
10
|
import { isEqual as S } from "es-toolkit/compat";
|
|
11
11
|
import { x as E } from "../../chunks/data.js";
|
|
12
12
|
import { d, e as y, h as g } from "../../chunks/chart-object-literals.js";
|
|
13
|
-
import { J as L, K as P } from "../../chunks/
|
|
14
|
-
import { b,
|
|
15
|
-
import { t as $, aR as _ } from "../../chunks/index.js";
|
|
13
|
+
import { J as L, K as P } from "../../chunks/index2.js";
|
|
14
|
+
import { u as $, B as b, b4 as w, c7 as _ } from "../../chunks/index.js";
|
|
16
15
|
import { r as N } from "../../chunks/popover-ui-utils.js";
|
|
17
16
|
const D = k`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}: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}.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 = {
|
|
18
17
|
label: "label",
|
|
@@ -136,7 +135,7 @@ class U extends I {
|
|
|
136
135
|
}
|
|
137
136
|
shouldShowTimeBinning() {
|
|
138
137
|
const e = this.layerFieldsInfo.find((i) => i.name === this.model.xAxisField), t = this.model.aggregationType !== d.NoAggregation;
|
|
139
|
-
return e !== void 0 &&
|
|
138
|
+
return e !== void 0 && w(e) && t;
|
|
140
139
|
}
|
|
141
140
|
setupPopover(e) {
|
|
142
141
|
e.stopImmediatePropagation(), this.removeLineChartDataPopover();
|
|
@@ -188,7 +187,7 @@ class U extends I {
|
|
|
188
187
|
return r`<calcite-list label class=${s(n.fieldList)} ${h(this.numericFieldsElement)}>${i}</calcite-list>`;
|
|
189
188
|
}
|
|
190
189
|
renderInterval() {
|
|
191
|
-
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i =
|
|
190
|
+
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = _(this.model.temporalBinningUnit ?? y.Second, this._messages) ?? "", a = T(c), o = {
|
|
192
191
|
size: this.model.temporalBinningSize,
|
|
193
192
|
unit: this.model.temporalBinningUnit
|
|
194
193
|
}, v = S(o, a);
|
|
@@ -12,9 +12,8 @@ import { c as $, b as F, e as d, f as I, s as T } from "../../chunks/chart-ui-ut
|
|
|
12
12
|
import { d as x } from "../../chunks/rest-js-object-literals.js";
|
|
13
13
|
import { b as g, e as c } from "../../chunks/chart-object-literals.js";
|
|
14
14
|
import { e as A, p as D } from "../../chunks/popover-ui-utils.js";
|
|
15
|
-
import { J as E, K as S } from "../../chunks/
|
|
16
|
-
import {
|
|
17
|
-
import { bL as N, aQ as L, aR as K, a_ as B } from "../../chunks/index.js";
|
|
15
|
+
import { J as E, K as S } from "../../chunks/index2.js";
|
|
16
|
+
import { B as z, c8 as w, b3 as L, b4 as N, bi as K, c7 as B } from "../../chunks/index.js";
|
|
18
17
|
const _ = P`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.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 = {
|
|
19
18
|
name: "line-chart-data-popover",
|
|
20
19
|
header: "header",
|
|
@@ -74,7 +73,7 @@ class H extends k {
|
|
|
74
73
|
case a.xAxisField: {
|
|
75
74
|
for (let l = 0; l < t; l += 1) {
|
|
76
75
|
const i = this.layerFieldsInfo?.[l];
|
|
77
|
-
i && (L(i) ||
|
|
76
|
+
i && (L(i) || N(i) || K(i)) && s.push(this.buildPickListItem(i));
|
|
78
77
|
}
|
|
79
78
|
break;
|
|
80
79
|
}
|
|
@@ -83,7 +82,7 @@ class H extends k {
|
|
|
83
82
|
s.push(l);
|
|
84
83
|
for (let i = 0; i < t; i += 1) {
|
|
85
84
|
const m = this.layerFieldsInfo?.[i];
|
|
86
|
-
m && (
|
|
85
|
+
m && (w(m) || m.type === x.String) && s.push(this.buildPickListItem(m));
|
|
87
86
|
}
|
|
88
87
|
break;
|
|
89
88
|
}
|
|
@@ -152,7 +151,7 @@ class H extends k {
|
|
|
152
151
|
c.Month,
|
|
153
152
|
c.Year
|
|
154
153
|
];
|
|
155
|
-
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=${T(e?.size, 1)} ${p(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${p(this.intervalTypeElement)}>${t.map((s) => n`<calcite-option .value=${s} .label=${
|
|
154
|
+
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=${T(e?.size, 1)} ${p(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${p(this.intervalTypeElement)}>${t.map((s) => n`<calcite-option .value=${s} .label=${B(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>`;
|
|
156
155
|
}
|
|
157
156
|
renderPopoverInfo() {
|
|
158
157
|
let e;
|
|
@@ -1,54 +1,59 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as f } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as u } from "lit/directives/keyed.js";
|
|
4
|
-
import { LitElement as I, renderElement as
|
|
5
|
-
import { css as
|
|
6
|
-
import { repeat as
|
|
4
|
+
import { LitElement as I, renderElement as P, safeStyleMap as $ } from "@arcgis/lumina";
|
|
5
|
+
import { css as L, html as o } from "lit";
|
|
6
|
+
import { repeat as x } from "lit/directives/repeat.js";
|
|
7
7
|
import { u as y } from "../../chunks/useT9n.js";
|
|
8
8
|
import { j as b } from "../../chunks/chart-ui-utils.js";
|
|
9
|
-
import {
|
|
10
|
-
import { r as
|
|
11
|
-
const O =
|
|
9
|
+
import { x as M } from "../../chunks/index.js";
|
|
10
|
+
import { r as a } from "../../chunks/popover-ui-utils.js";
|
|
11
|
+
const O = L`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}`;
|
|
12
12
|
class k extends I {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments), this._messages = y(), this.seriesPopover = null, this.open = !1, this.seriesNameChange = (e) => {
|
|
15
15
|
if (e.detail !== null || e.detail !== void 0) {
|
|
16
|
-
const s = e.detail?.name;
|
|
17
|
-
this.model.setSeriesName(s,
|
|
16
|
+
const s = e.detail?.name, i = this.selectedSeriesIndex;
|
|
17
|
+
i !== void 0 && i >= 0 && this.model.setSeriesName(s, i);
|
|
18
18
|
}
|
|
19
19
|
}, this.seriesColorChange = (e) => {
|
|
20
20
|
if (e.detail !== null && e.detail !== void 0) {
|
|
21
21
|
const { color: s } = e.detail;
|
|
22
|
-
this.model.colorMatch = !1
|
|
22
|
+
this.model.colorMatch = !1;
|
|
23
|
+
const i = this.selectedSeriesIndex;
|
|
24
|
+
s !== void 0 && i !== void 0 && i >= 0 && (this.model.setSeriesColor(s, i), this.model.setSeriesMarkerColor(s, i));
|
|
23
25
|
}
|
|
24
26
|
}, this.seriesLineStyleChange = (e) => {
|
|
25
27
|
if (e.detail !== null && e.detail !== void 0) {
|
|
26
|
-
const { lineStyle: s } = e.detail;
|
|
27
|
-
s !== void 0 && this.model.setSeriesLineStyle(s,
|
|
28
|
+
const { lineStyle: s } = e.detail, i = this.selectedSeriesIndex;
|
|
29
|
+
s !== void 0 && i !== void 0 && i >= 0 && this.model.setSeriesLineStyle(s, i);
|
|
28
30
|
}
|
|
29
31
|
}, this.seriesLineWidthChange = (e) => {
|
|
30
32
|
if (e.detail !== null && e.detail !== void 0) {
|
|
31
|
-
const { lineWidth: s } = e.detail;
|
|
32
|
-
s !== void 0 && (this.model.setSeriesLineWidth(s,
|
|
33
|
+
const { lineWidth: s } = e.detail, i = this.selectedSeriesIndex;
|
|
34
|
+
s !== void 0 && i !== void 0 && i >= 0 && (this.model.setSeriesLineWidth(s, i), this.model.setSeriesMarkerSize(s * 2, i));
|
|
33
35
|
}
|
|
34
36
|
}, this.seriesPopoverClose = (e) => {
|
|
35
37
|
const { selectedSeriesIndex: s } = e.detail;
|
|
36
|
-
this.selectedSeriesIndex === s && (this.seriesPopover =
|
|
38
|
+
this.selectedSeriesIndex === s && (this.seriesPopover = a(this.seriesPopover), this.selectedSeriesId = void 0);
|
|
37
39
|
}, this.onModelConfigChange = () => {
|
|
38
|
-
this.requestUpdate();
|
|
40
|
+
this.selectedSeriesId !== void 0 && this.selectedSeriesIndex === -1 ? (this.removeSeriesPopover(), this.selectedSeriesId = void 0) : this.seriesPopover && (this.seriesPopover.selectedSeriesIndex = this.selectedSeriesIndex), this.requestUpdate();
|
|
39
41
|
}, this.seriesOrderResetCounter = 0, this.activeColorMatch = !1, this.popoverPlacement = "leading";
|
|
40
42
|
}
|
|
41
43
|
static {
|
|
42
|
-
this.properties = {
|
|
44
|
+
this.properties = { selectedSeriesId: 16, seriesOrderResetCounter: 16, messageOverrides: 0, model: 0, activeColorMatch: 5, popoverPlacement: 1 };
|
|
43
45
|
}
|
|
44
46
|
static {
|
|
45
47
|
this.styles = O;
|
|
46
48
|
}
|
|
49
|
+
get selectedSeriesIndex() {
|
|
50
|
+
return this.selectedSeriesId === void 0 ? void 0 : this.model.getSeriesIndex(this.selectedSeriesId);
|
|
51
|
+
}
|
|
47
52
|
load() {
|
|
48
53
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
49
54
|
}
|
|
50
55
|
willUpdate(e) {
|
|
51
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("
|
|
56
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("selectedSeriesId") && this.selectedSeriesChange();
|
|
52
57
|
}
|
|
53
58
|
disconnectedCallback() {
|
|
54
59
|
super.disconnectedCallback(), this.removeSeriesPopover(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -56,41 +61,41 @@ class k extends I {
|
|
|
56
61
|
modelChange(e, s) {
|
|
57
62
|
s?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
58
63
|
}
|
|
59
|
-
|
|
60
|
-
this.selectedSeriesIndex !== void 0 && (this.seriesPopover =
|
|
64
|
+
selectedSeriesChange() {
|
|
65
|
+
this.selectedSeriesIndex !== void 0 && (this.seriesPopover = P(o`<arcgis-charts-config-line-chart-series-popover .referenceElement=${this.el} .selectedName=${this.model.getSeriesName(this.selectedSeriesIndex)} .selectedColor=${this.model.getSeriesColor(this.selectedSeriesIndex)} .selectedLineStyle=${this.model.getSeriesLineStyle(this.selectedSeriesIndex)} .selectedLineWidth=${this.model.getSeriesLineWidth(this.selectedSeriesIndex)} .placement=${this.popoverPlacement} .open=${this.open} .selectedSeriesIndex=${this.selectedSeriesIndex} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-line-chart-series-popover>`), this.seriesPopover && !document.body.contains(this.seriesPopover) && document.body.appendChild(this.seriesPopover));
|
|
61
66
|
}
|
|
62
67
|
removeSeriesPopover() {
|
|
63
|
-
this.seriesPopover !== void 0 && this.seriesPopover !== null && (this.seriesPopover.open = !1, this.seriesPopover =
|
|
68
|
+
this.seriesPopover !== void 0 && this.seriesPopover !== null && (this.seriesPopover.open = !1, this.seriesPopover = a(this.seriesPopover));
|
|
64
69
|
}
|
|
65
70
|
buildSeriesListItems() {
|
|
66
|
-
const e = this.model.seriesLength, s = Array.from({ length: e }, (
|
|
67
|
-
return
|
|
68
|
-
const r = this.model.getSeriesId(
|
|
69
|
-
let n = "#CCCCCC",
|
|
71
|
+
const e = this.model.seriesLength, s = Array.from({ length: e }, (t, r) => r);
|
|
72
|
+
return x(s, (t) => this.model.getSeriesId(t), (t) => {
|
|
73
|
+
const r = this.model.getSeriesId(t), l = this.model.getSeriesColor(t), h = this.model.getSeriesName(t), c = this.model.chartSubType === M.BarAndLineFromFields ? this._messages.series : r, m = this.model.getSeriesLineStyle(t), g = b(m);
|
|
74
|
+
let n = "#CCCCCC", d = "minus-circle";
|
|
70
75
|
if ((e > 1 || !this.activeColorMatch) && l !== void 0) {
|
|
71
|
-
|
|
72
|
-
const [
|
|
73
|
-
n = `rgba(${
|
|
76
|
+
d = `line-${g}`;
|
|
77
|
+
const [p, C, S, v] = [...l];
|
|
78
|
+
n = `rgba(${p},${C},${S},${v / 255})`;
|
|
74
79
|
}
|
|
75
|
-
return o`<calcite-list-item .label=${h ?? r ?? ""} .description=${c} .value=${r} .selected=${this.
|
|
80
|
+
return o`<calcite-list-item .label=${h ?? r ?? ""} .description=${c} .value=${r} .selected=${this.selectedSeriesId === r} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${d} style=${$({ color: n })}></calcite-icon></calcite-list-item>`;
|
|
76
81
|
});
|
|
77
82
|
}
|
|
78
83
|
buildSeriesList() {
|
|
79
84
|
return u(this.seriesOrderResetCounter, o`<calcite-list label drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`);
|
|
80
85
|
}
|
|
81
86
|
resetSeriesOriginal() {
|
|
82
|
-
this.
|
|
87
|
+
this.selectedSeriesId = void 0, this.model.resetSeriesStyling(), this.seriesOrderResetCounter += 1;
|
|
83
88
|
}
|
|
84
89
|
onCalciteListOrderChange(e) {
|
|
85
90
|
if (e.detail !== null && e.detail !== void 0) {
|
|
86
|
-
const { newIndex: s, oldIndex:
|
|
87
|
-
this.model.moveSeries(
|
|
91
|
+
const { newIndex: s, oldIndex: i } = e.detail;
|
|
92
|
+
this.model.moveSeries(i ?? 0, s ?? i ?? 0), this.seriesOrderResetCounter += 1;
|
|
88
93
|
}
|
|
89
94
|
}
|
|
90
95
|
openSeriesPopOver(e) {
|
|
91
96
|
e.stopImmediatePropagation(), this.removeSeriesPopover();
|
|
92
|
-
const s = e.target,
|
|
93
|
-
this.open = this.
|
|
97
|
+
const s = e.target, i = s.localName === "calcite-list-item" ? s : s.parentNode;
|
|
98
|
+
this.open = this.selectedSeriesId !== i.value, this.selectedSeriesId = this.open ? i.value : void 0;
|
|
94
99
|
}
|
|
95
100
|
render() {
|
|
96
101
|
return o`<calcite-panel .heading=${this._messages.series}><calcite-button slot=header-actions-end @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent scale=s icon-end=reset>${this._messages.reset}</calcite-button>${this.buildSeriesList()}</calcite-panel>`;
|
|
@@ -6,7 +6,7 @@ import { u as y } from "../../chunks/useT9n.js";
|
|
|
6
6
|
import { createRef as a, ref as o } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as $, createEvent as s, safeClassMap as l, nothing as c } from "@arcgis/lumina";
|
|
8
8
|
import { e as I } from "../../chunks/popover-ui-utils.js";
|
|
9
|
-
import { r as b } from "../../chunks/
|
|
9
|
+
import { r as b } from "../../chunks/index2.js";
|
|
10
10
|
import { R as i } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const n = {
|
|
12
12
|
sizeSection: "size-section",
|
|
@@ -4,7 +4,7 @@ import { isEqual as n, cloneDeep as h } from "es-toolkit/compat";
|
|
|
4
4
|
import { LitElement as C, createEvent as m } from "@arcgis/lumina";
|
|
5
5
|
import { css as y, html as c } from "lit";
|
|
6
6
|
import { C as d } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
7
|
+
import { c9 as I, ca as F, v } from "../../chunks/index.js";
|
|
8
8
|
import { b } from "../../chunks/rest-js-object-literals.js";
|
|
9
9
|
const S = y`: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%}`;
|
|
10
10
|
class L extends C {
|
|
@@ -7,8 +7,7 @@ import { css as u, html as s } from "lit";
|
|
|
7
7
|
import { createRef as n, ref as c } from "lit/directives/ref.js";
|
|
8
8
|
import { LitElement as b, createEvent as h, renderElement as v, safeClassMap as o } from "@arcgis/lumina";
|
|
9
9
|
import { x as y } from "../../chunks/data.js";
|
|
10
|
-
import {
|
|
11
|
-
import { x as g, t as F } from "../../chunks/index.js";
|
|
10
|
+
import { A as m, B as g, u as F } from "../../chunks/index.js";
|
|
12
11
|
import { r as $ } from "../../chunks/popover-ui-utils.js";
|
|
13
12
|
import { d as P } from "../../chunks/chart-object-literals.js";
|
|
14
13
|
const l = {
|
|
@@ -28,11 +27,11 @@ class E extends b {
|
|
|
28
27
|
break;
|
|
29
28
|
case r.category: {
|
|
30
29
|
const a = t[0]?.trim() || "", d = this.model.numericFields;
|
|
31
|
-
d.length > 1 && a !==
|
|
30
|
+
d.length > 1 && a !== m && (this.model.numericFields = [d[0]]), this.model.category = a, this.model.colorMatch = !0;
|
|
32
31
|
break;
|
|
33
32
|
}
|
|
34
33
|
case r.numericFields:
|
|
35
|
-
(t.length > 1 || t.length > 0 && this.model.category.trim() === "") && (this.model.category =
|
|
34
|
+
(t.length > 1 || t.length > 0 && this.model.category.trim() === "") && (this.model.category = m), this.model.numericFields = t;
|
|
36
35
|
break;
|
|
37
36
|
case r.sortOrder:
|
|
38
37
|
this.model.setDataSortOrder(t[0]);
|
|
@@ -70,7 +69,7 @@ class E extends b {
|
|
|
70
69
|
i?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
71
70
|
}
|
|
72
71
|
buildNumericFieldItem(e) {
|
|
73
|
-
return f(e, s`<calcite-list-item .label=${
|
|
72
|
+
return f(e, s`<calcite-list-item .label=${g(this.layerFieldsInfo, e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`);
|
|
74
73
|
}
|
|
75
74
|
onSortOrderSelect(e) {
|
|
76
75
|
this.contentKind = r.sortOrder, this.setupPopover(e);
|
|
@@ -108,7 +107,7 @@ class E extends b {
|
|
|
108
107
|
return y({
|
|
109
108
|
fieldName: this.model.category,
|
|
110
109
|
fieldList: this.layerFieldsInfo
|
|
111
|
-
}) ? "" :
|
|
110
|
+
}) ? "" : g(this.layerFieldsInfo, this.model.category);
|
|
112
111
|
}
|
|
113
112
|
removePieChartDataPopover() {
|
|
114
113
|
this.pieChartPopover !== null && (this.pieChartPopover.open = !1, this.pieChartPopover = $(this.pieChartPopover));
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as v } from "../../chunks/runtime.js";
|
|
3
|
-
import { repeat as
|
|
3
|
+
import { repeat as m } from "lit/directives/repeat.js";
|
|
4
4
|
import { keyed as g } from "lit/directives/keyed.js";
|
|
5
5
|
import { isEqual as k } from "es-toolkit/compat";
|
|
6
6
|
import { P as o } from "../../chunks/interfaces.js";
|
|
7
7
|
import { p as f, b as $, e as d, f as P } from "../../chunks/chart-ui-utils.js";
|
|
8
8
|
import { u } from "../../chunks/useT9n.js";
|
|
9
9
|
import { css as L, html as n } from "lit";
|
|
10
|
-
import { createRef as C, ref as
|
|
10
|
+
import { createRef as C, ref as h } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as y, createEvent as b, safeClassMap as l } from "@arcgis/lumina";
|
|
12
12
|
import { e as F, p as I } from "../../chunks/popover-ui-utils.js";
|
|
13
|
-
import { J as D } from "../../chunks/
|
|
14
|
-
import {
|
|
15
|
-
import { bL as S, aQ as T } from "../../chunks/index.js";
|
|
13
|
+
import { J as D } from "../../chunks/index2.js";
|
|
14
|
+
import { B as x, c8 as S, b3 as T } from "../../chunks/index.js";
|
|
16
15
|
import { d as E } from "../../chunks/rest-js-object-literals.js";
|
|
17
16
|
import { a as r } from "../../chunks/common.js";
|
|
18
17
|
const s = {
|
|
@@ -51,11 +50,11 @@ class A extends y {
|
|
|
51
50
|
this.pickListHasChanged = I(e, t);
|
|
52
51
|
}
|
|
53
52
|
buildAggregationPickListItems() {
|
|
54
|
-
return
|
|
53
|
+
return m(f, (e) => e, (e, t) => n`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${d(e, this.selectedContent)}></calcite-list-item>`);
|
|
55
54
|
}
|
|
56
55
|
buildSortOrder() {
|
|
57
56
|
const e = Object.keys(r);
|
|
58
|
-
return e.splice(e.indexOf(r.customSort), 1),
|
|
57
|
+
return e.splice(e.indexOf(r.customSort), 1), m(e, (t) => t, (t) => {
|
|
59
58
|
let i = "string";
|
|
60
59
|
const c = "rotate";
|
|
61
60
|
let a = "";
|
|
@@ -134,11 +133,11 @@ class A extends y {
|
|
|
134
133
|
}
|
|
135
134
|
renderCategory() {
|
|
136
135
|
const e = this.buildPickListItems(o.category);
|
|
137
|
-
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${
|
|
136
|
+
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${h(this.picklist)}>${e}</calcite-list>`;
|
|
138
137
|
}
|
|
139
138
|
renderNumericFields() {
|
|
140
139
|
const e = this.buildPickListItems(o.numericFields);
|
|
141
|
-
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${
|
|
140
|
+
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${h(this.picklist)}>${e}</calcite-list>`;
|
|
142
141
|
}
|
|
143
142
|
renderSortOrder() {
|
|
144
143
|
const e = this.buildSortOrder();
|
|
@@ -164,7 +163,7 @@ class A extends y {
|
|
|
164
163
|
}
|
|
165
164
|
render() {
|
|
166
165
|
let e;
|
|
167
|
-
return this.contentKind === o.numericFields && (e = n`<div slot=footer><calcite-fab class=${l(s.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div><calcite-popover class=${l(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .offsetDistance=${this.offsetDistance} .open=${this.open} label auto-close ${
|
|
166
|
+
return this.contentKind === o.numericFields && (e = n`<div slot=footer><calcite-fab class=${l(s.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div><calcite-popover class=${l(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .offsetDistance=${this.offsetDistance} .open=${this.open} label auto-close ${h(this.popoverElement)}><calcite-panel class=${l(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${l(s.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
168
167
|
}
|
|
169
168
|
}
|
|
170
169
|
v("arcgis-charts-config-pie-chart-popover", A);
|
|
@@ -8,7 +8,7 @@ import { css as G, html as d, nothing as w } from "lit";
|
|
|
8
8
|
import { createRef as m, ref as g } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement as z, renderElement as S, safeStyleMap as u, safeClassMap as s } from "@arcgis/lumina";
|
|
10
10
|
import { b as h } from "../../chunks/common.js";
|
|
11
|
-
import {
|
|
11
|
+
import { U as I, p as y } from "../../chunks/index2.js";
|
|
12
12
|
import { r as P } from "../../chunks/popover-ui-utils.js";
|
|
13
13
|
import { b as M } from "../../chunks/rest-js-object-literals.js";
|
|
14
14
|
const a = {
|
|
@@ -171,7 +171,7 @@ class D extends z {
|
|
|
171
171
|
N(this.tooltip);
|
|
172
172
|
}
|
|
173
173
|
render() {
|
|
174
|
-
return d`<div class=${s(a.sectionLabel)}>${this._messages.settings}</div><calcite-label class=${s(a.label)}>${this._messages.shape}<calcite-slider min=0 max=100 step=1 snap .value=${this.model.innerRadius ?? I} @calciteSliderChange=${this.onDonutSizeSliderChange} ${g(this.donutSizeSliderElement)}></calcite-slider></calcite-label><div class=${s(a.pieDonutLabelsContainer)}><calcite-label class=${s(a.label)}>${this._messages.pie}</calcite-label><calcite-label class=${s(a.label)}>${this._messages.donut}</calcite-label></div><calcite-label class=${s(a.label)}><div class=${s(a.groupingLabelContainer)}><div>${this._messages.groupingPercent}</div><calcite-icon icon=information scale=s flip-rtl role=img tabindex=0 aria-label=${this._messages.groupingInfo ?? "" ?? w} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} @focus=${this.createTooltip} @blur=${this.destroyTooltip}></calcite-icon></div><div class=${s(a.sliderInputContainer)}><calcite-slider min=0 max=
|
|
174
|
+
return d`<div class=${s(a.sectionLabel)}>${this._messages.settings}</div><calcite-label class=${s(a.label)}>${this._messages.shape}<calcite-slider min=0 max=100 step=1 snap .value=${this.model.innerRadius ?? I} @calciteSliderChange=${this.onDonutSizeSliderChange} ${g(this.donutSizeSliderElement)}></calcite-slider></calcite-label><div class=${s(a.pieDonutLabelsContainer)}><calcite-label class=${s(a.label)}>${this._messages.pie}</calcite-label><calcite-label class=${s(a.label)}>${this._messages.donut}</calcite-label></div><calcite-label class=${s(a.label)}><div class=${s(a.groupingLabelContainer)}><div>${this._messages.groupingPercent}</div><calcite-icon icon=information scale=s flip-rtl role=img tabindex=0 aria-label=${this._messages.groupingInfo ?? "" ?? w} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} @focus=${this.createTooltip} @blur=${this.destroyTooltip}></calcite-icon></div><div class=${s(a.sliderInputContainer)}><calcite-slider min=0 max=100 step=1 snap .value=${x(p(this.model.groupingThreshold ?? 0))} @calciteSliderChange=${this.onGroupingThresholdSliderChange} ${g(this.groupingThresholdSliderElement)}></calcite-slider><calcite-input class=${s(a.numberInput)} type=number min=0 max=100 step=1 suffix-text=% .value=${p(this.model.groupingThreshold ?? 0)} @calciteInputInput=${this.onGroupingThresholdChange} @click=${(e) => {
|
|
175
175
|
e.stopPropagation();
|
|
176
176
|
}} ${g(this.groupingThresholdElement)}></calcite-input></div></calcite-label><div class=${s(a.sectionLabel)}>${this._messages.labels}</div><calcite-label class=${s(a.label)}>${this._messages.labelCharacterLimit}<calcite-input type=number min=1 step=1 .value=${p(this.model.labelCharacterLimit)} @calciteInputInput=${this.onLabelCharacterLimitChange} ${g(this.labelCharacterLimitElement)}></calcite-input></calcite-label><calcite-label class=${s(a.label)}>${this._messages.decimalPlaces}<calcite-input type=number min=0 max=20 step=1 .value=${p(this.model.decimalPlaces)} @calciteInputInput=${this.onDecimalPlacesChange} ${g(this.decimalPlacesElement)}></calcite-input></calcite-label><calcite-label class=${s(a.label)}>${this._messages.display}<calcite-radio-button-group class=${s(a.radioGroup)} name=display layout=vertical @calciteRadioButtonGroupChange=${this.onDisplayTypeChange}><calcite-label layout=inline><calcite-radio-button .value=${h.Value} .checked=${this.model.displayType === h.Value}></calcite-radio-button>${this._messages.value}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Percentage} .checked=${this.model.displayType === h.Percentage}></calcite-radio-button>${this._messages.percentage}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Both} .checked=${this.model.displayType === h.Both}></calcite-radio-button>${this._messages.both}</calcite-label></calcite-radio-button-group></calcite-label><div class=${s(a.sectionLabel)}>${this._messages.slices}<calcite-button @click=${this.resetSlicesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSliceList()}<div class=${s(a.sectionLabel)}>${this._messages.groupedSlices}</div>${this.buildGroupedSliceList()}`;
|
|
177
177
|
}
|
|
@@ -5,7 +5,7 @@ import { u as m } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { createRef as d, ref as g } from "lit/directives/ref.js";
|
|
6
6
|
import { LitElement as C, createEvent as s, safeClassMap as r } from "@arcgis/lumina";
|
|
7
7
|
import { e as v } from "../../chunks/popover-ui-utils.js";
|
|
8
|
-
import { r as f } from "../../chunks/
|
|
8
|
+
import { r as f } from "../../chunks/index2.js";
|
|
9
9
|
const c = {
|
|
10
10
|
panelChildrenContainer: "panel-children-container"
|
|
11
11
|
}, u = p`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.panel-children-container{padding:0 1rem;margin-top:1rem}`;
|
|
@@ -4,10 +4,9 @@ import { isEqual as l } from "es-toolkit/compat";
|
|
|
4
4
|
import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
import { css as c, html as s } from "lit";
|
|
6
6
|
import { C as o } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class F extends n {
|
|
7
|
+
import { c9 as h, ca as p, bA as f, l as g, cI as m, v as u, b9 as y } from "../../chunks/index.js";
|
|
8
|
+
const F = c`: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%}`;
|
|
9
|
+
class b extends n {
|
|
11
10
|
constructor() {
|
|
12
11
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
13
12
|
const t = e?.detail.config ?? this.model.config;
|
|
@@ -18,7 +17,7 @@ class F extends n {
|
|
|
18
17
|
this.properties = { layerFieldsInfo: 16, model: 0, popoverPlacement: 1, r2: 9, calculatedDataMinMaxBounds: 0, calculatedMinMaxBounds: 0, page: 1, layer: 0, view: 0, usePopupTemplateFieldsInfo: 5, popupTemplateFieldInfosEnabled: 5 };
|
|
19
18
|
}
|
|
20
19
|
static {
|
|
21
|
-
this.styles =
|
|
20
|
+
this.styles = F;
|
|
22
21
|
}
|
|
23
22
|
async load() {
|
|
24
23
|
await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model);
|
|
@@ -43,14 +42,14 @@ class F extends n {
|
|
|
43
42
|
if (t) {
|
|
44
43
|
await f(t);
|
|
45
44
|
const i = this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled;
|
|
46
|
-
this.layerFieldsInfo =
|
|
45
|
+
this.layerFieldsInfo = g(t) ? m({ layer: t, popupTemplateFieldInfosEnabled: i, chartType: a?.type }) : u(t, i);
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
render() {
|
|
50
49
|
let e;
|
|
51
50
|
switch (this.page) {
|
|
52
51
|
case o.Data:
|
|
53
|
-
const a =
|
|
52
|
+
const a = y(this.layer), t = a && "isTable" in a ? a.isTable : !1;
|
|
54
53
|
e = s`<arcgis-charts-config-scatter-plot-data .view=${this.view} .model=${this.model} .r2=${this.r2} .layerFieldsInfo=${this.layerFieldsInfo} .isTableLayer=${t}></arcgis-charts-config-scatter-plot-data>`;
|
|
55
54
|
break;
|
|
56
55
|
case o.Axes:
|
|
@@ -72,7 +71,7 @@ class F extends n {
|
|
|
72
71
|
return e;
|
|
73
72
|
}
|
|
74
73
|
}
|
|
75
|
-
r("arcgis-charts-config-scatter-plot",
|
|
74
|
+
r("arcgis-charts-config-scatter-plot", b);
|
|
76
75
|
export {
|
|
77
|
-
|
|
76
|
+
b as ArcgisChartsConfigScatterplot
|
|
78
77
|
};
|
|
@@ -1,33 +1,29 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as h } from "../../chunks/runtime.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
3
|
+
import { LitElement as d, createEvent as g, nothing as o } from "@arcgis/lumina";
|
|
4
|
+
import { html as m } from "lit";
|
|
5
|
+
import p from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
6
6
|
import { u as a } from "../../chunks/useT9n.js";
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
Circle: "circle",
|
|
10
|
-
FreehandPolygon: "freehandPolygon",
|
|
11
|
-
Polygon: "polygon",
|
|
12
|
-
Polyline: "polyline",
|
|
13
|
-
Rectangle: "rectangle"
|
|
14
|
-
};
|
|
15
|
-
class p extends g {
|
|
7
|
+
import { c$ as r, d0 as n, d1 as t } from "../../chunks/index.js";
|
|
8
|
+
class y extends d {
|
|
16
9
|
constructor() {
|
|
17
|
-
super(...arguments), this._messages = a({ blocking: !0 }), this.commonStrings = a({ name: "common", blocking: !0 }), this.handleAoiToolClick = async (
|
|
18
|
-
this.view?.map &&
|
|
19
|
-
}, this.arcgisImageryScatterplotAoiChange =
|
|
10
|
+
super(...arguments), this._messages = a({ blocking: !0 }), this.commonStrings = a({ name: "common", blocking: !0 }), this.handleAoiToolClick = async (e) => {
|
|
11
|
+
this.view?.map && e && (this.selectedTool === e ? this.deactivateAoiSketch() : await this.startAoiSketch(e));
|
|
12
|
+
}, this.arcgisImageryScatterplotAoiChange = g();
|
|
20
13
|
}
|
|
21
14
|
static {
|
|
22
|
-
this.properties = { selectedTool: 16, messageOverrides: 0, view: 0 };
|
|
15
|
+
this.properties = { selectedTool: 16, tool: 1, messageOverrides: 0, view: 0 };
|
|
16
|
+
}
|
|
17
|
+
willUpdate(e) {
|
|
18
|
+
e.has("tool") && (this.tool ? this.tool !== this.selectedTool && this.startAoiSketch(this.tool) : this.deactivateAoiSketch());
|
|
23
19
|
}
|
|
24
20
|
disconnectedCallback() {
|
|
25
21
|
this.sketchListenerHandle && this.sketchListenerHandle.remove(), this.sketchViewModel && (this.sketchViewModel.destroy(), this.sketchViewModel = void 0), this.selectedTool = void 0, super.disconnectedCallback();
|
|
26
22
|
}
|
|
27
|
-
async startAoiSketch(
|
|
23
|
+
async startAoiSketch(e) {
|
|
28
24
|
if (this.view?.map) {
|
|
29
25
|
const i = r(this.view) ?? n(this.view);
|
|
30
|
-
this.sketchViewModel ? (this.sketchViewModel.cancel(), this.sketchViewModel.layer !== i && (this.sketchViewModel.layer = i)) : (this.sketchViewModel = new
|
|
26
|
+
this.sketchViewModel ? (this.sketchViewModel.cancel(), this.sketchViewModel.layer !== i && (this.sketchViewModel.layer = i)) : (this.sketchViewModel = new p({
|
|
31
27
|
view: this.view,
|
|
32
28
|
layer: i,
|
|
33
29
|
activeFillSymbol: {
|
|
@@ -43,7 +39,7 @@ class p extends g {
|
|
|
43
39
|
},
|
|
44
40
|
creationMode: "continuous",
|
|
45
41
|
updateOnGraphicClick: !1
|
|
46
|
-
}), this.addAoiSketchListener()), this.selectedTool =
|
|
42
|
+
}), this.addAoiSketchListener()), this.selectedTool = e, await this.sketchViewModel.create(e);
|
|
47
43
|
}
|
|
48
44
|
}
|
|
49
45
|
deactivateAoiSketch() {
|
|
@@ -51,7 +47,7 @@ class p extends g {
|
|
|
51
47
|
}
|
|
52
48
|
addAoiSketchListener() {
|
|
53
49
|
if (this.sketchViewModel) {
|
|
54
|
-
const
|
|
50
|
+
const e = this.sketchViewModel, i = e.on("create", (s) => {
|
|
55
51
|
switch (s.state) {
|
|
56
52
|
case "cancel":
|
|
57
53
|
this.deactivateAoiSketch();
|
|
@@ -64,7 +60,7 @@ class p extends g {
|
|
|
64
60
|
newGeometry: c.toJSON()
|
|
65
61
|
});
|
|
66
62
|
const l = r(this.view);
|
|
67
|
-
l?.remove(s.graphic), this.isConnected && (
|
|
63
|
+
l?.remove(s.graphic), this.isConnected && (e.layer = l ?? n(this.view));
|
|
68
64
|
}
|
|
69
65
|
break;
|
|
70
66
|
}
|
|
@@ -73,10 +69,10 @@ class p extends g {
|
|
|
73
69
|
}
|
|
74
70
|
}
|
|
75
71
|
render() {
|
|
76
|
-
return
|
|
72
|
+
return m`<calcite-action-group layout=horizontal id=charts-config-scatter-plot-aoi-action-group><calcite-action id=charts-config-scatter-plot-aoi-line icon=line .text=${this.commonStrings.imageryAoiToolsStrings.polyline} title=${this._messages.draw.polyline ?? o} .active=${this.selectedTool === t.Polyline} @click=${() => this.handleAoiToolClick(t.Polyline)}></calcite-action><calcite-action id=charts-config-scatter-plot-aoi-circle icon=circle .text=${this.commonStrings.imageryAoiToolsStrings.circle} title=${this._messages.draw.circle ?? o} .active=${this.selectedTool === t.Circle} @click=${() => this.handleAoiToolClick(t.Circle)}></calcite-action><calcite-action id=charts-config-scatter-plot-aoi-rectangle icon=rectangle .text=${this.commonStrings.imageryAoiToolsStrings.rectangle} title=${this._messages.draw.rectangle ?? o} .active=${this.selectedTool === t.Rectangle} @click=${() => this.handleAoiToolClick(t.Rectangle)}></calcite-action><calcite-action id=charts-config-scatter-plot-aoi-polygon icon=polygon .text=${this.commonStrings.imageryAoiToolsStrings.polygon} title=${this._messages.draw.polygon ?? o} .active=${this.selectedTool === t.Polygon} @click=${() => this.handleAoiToolClick(t.Polygon)}></calcite-action><calcite-action id=charts-config-scatter-plot-aoi-freehand-area icon=freehand-area .text=${this.commonStrings.imageryAoiToolsStrings.freehandPolygon} title=${this._messages.draw.freehandPolygon ?? o} .active=${this.selectedTool === t.FreehandPolygon} @click=${() => this.handleAoiToolClick(t.FreehandPolygon)}></calcite-action></calcite-action-group>`;
|
|
77
73
|
}
|
|
78
74
|
}
|
|
79
|
-
h("arcgis-charts-config-scatter-plot-aoi",
|
|
75
|
+
h("arcgis-charts-config-scatter-plot-aoi", y);
|
|
80
76
|
export {
|
|
81
|
-
|
|
77
|
+
y as ArcgisChartsConfigScatterplotAoi
|
|
82
78
|
};
|