@arcgis/charts-components 6.0.0-next.0 → 6.0.0-next.10
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/{CYGMXV56.js → 2AQOOOLP.js} +2 -2
- package/dist/cdn/{6P652GSA.js → 2BPLDZAJ.js} +2 -2
- package/dist/cdn/{EQZBQP5A.js → 2IME76YJ.js} +2 -2
- package/dist/cdn/{5D2QRMC6.js → 2U7I6WSI.js} +2 -2
- package/dist/cdn/{BGQBOLMO.js → 2WQNU554.js} +2 -2
- package/dist/cdn/{G4A4HBNN.js → 33LWKOPD.js} +2 -2
- package/dist/cdn/{KGUFKVDR.js → 373UZR4I.js} +2 -2
- package/dist/cdn/{VKU5WPWI.js → 3DDSV3IF.js} +2 -2
- package/dist/cdn/3MXANTL7.js +2 -0
- package/dist/cdn/{WTF2PFHV.js → 3VLTTU3Q.js} +2 -2
- package/dist/cdn/{KFLVZ3W6.js → 3VZK52LO.js} +2 -2
- package/dist/cdn/4CUMUAAH.js +2 -0
- package/dist/cdn/4MCM2HLB.js +2 -0
- package/dist/cdn/{HP4BKU3R.js → 4MSDOPVE.js} +2 -2
- package/dist/cdn/{UQSD6YZM.js → 4PZOGAUO.js} +2 -2
- package/dist/cdn/{ACJYOVLW.js → 52PHJCYM.js} +2 -2
- package/dist/cdn/{UT5D2ZKJ.js → 55DRYT5X.js} +2 -2
- package/dist/cdn/{L6O73HFV.js → 57RWTLRG.js} +2 -2
- package/dist/cdn/{POA2XTTK.js → 5AKOPV7Z.js} +2 -2
- package/dist/cdn/{Q4U7XCT6.js → 5ANJA54O.js} +2 -2
- package/dist/cdn/5BRIW4JG.js +2 -0
- package/dist/cdn/{BZLDCR76.js → 5JK6VH6K.js} +2 -2
- package/dist/cdn/5OYAVQQE.js +2 -0
- package/dist/cdn/{7COM5REK.js → 5RNBCLC3.js} +2 -2
- package/dist/cdn/5ZUY5423.js +2 -0
- package/dist/cdn/62FX3J5X.js +2 -0
- package/dist/cdn/{2BE3GYK4.js → 67ANW3I4.js} +2 -2
- package/dist/cdn/{77MRFLGO.js → 6FW2SXLC.js} +2 -2
- package/dist/cdn/6QBSP4KD.js +2 -0
- package/dist/cdn/6RWOVGNO.js +2 -0
- package/dist/cdn/7CKN3OHT.js +2 -0
- package/dist/cdn/7GF7IASO.js +2 -0
- package/dist/cdn/{Q45WYAOY.js → 7JMZPDM5.js} +1 -1
- package/dist/cdn/A2PYAGE3.js +2 -0
- package/dist/cdn/ADQTDPLB.js +2 -0
- package/dist/cdn/{CPHTAVGQ.js → AS2IRRXE.js} +2 -2
- package/dist/cdn/{Z5QPCSUQ.js → AUKJ4CBR.js} +2 -2
- package/dist/cdn/{E3EMRNWO.js → AVRIN2FL.js} +2 -2
- package/dist/cdn/{QVG3TOL4.js → BNAX4Y53.js} +1 -1
- package/dist/cdn/BNNHHDU7.js +2 -0
- package/dist/cdn/{PIZPF2BH.js → BRDWYHNB.js} +2 -2
- package/dist/cdn/BRTTYFXT.js +2 -0
- package/dist/cdn/{ENFJM3LJ.js → C7VQM4TH.js} +2 -2
- package/dist/cdn/CI5EMPAM.js +2 -0
- package/dist/cdn/{VLCUXTLC.js → D2PAS7YI.js} +2 -2
- package/dist/cdn/D6GRNBZP.js +2 -0
- package/dist/cdn/D6WOKCOW.js +2 -0
- package/dist/cdn/DEXP6J3O.js +2 -0
- package/dist/cdn/{ZLCRTIQH.js → DGKQXBUX.js} +2 -2
- package/dist/cdn/{OKAZOAYZ.js → DKV3ENOO.js} +2 -2
- package/dist/cdn/DMOEIZNS.js +2 -0
- package/dist/cdn/DRUWV4QU.js +2 -0
- package/dist/cdn/{B2SUC7VR.js → DTUR5Z3G.js} +2 -2
- package/dist/cdn/{IRONVMYK.js → DXDQ6EMD.js} +25 -25
- package/dist/cdn/{6WKTHJQK.js → E5DTUNML.js} +2 -2
- package/dist/cdn/{UUVJGPFG.js → ECJI2AWN.js} +2 -2
- package/dist/cdn/{7C2LVFNV.js → EMVUIELY.js} +2 -2
- package/dist/cdn/EOTR4BKX.js +2 -0
- package/dist/cdn/EPY6V4CJ.js +4 -0
- package/dist/cdn/ESXR5BLH.js +2 -0
- package/dist/cdn/{YCQLYXH4.js → ETGI2F7C.js} +2 -2
- package/dist/cdn/EYDYH5BT.js +2 -0
- package/dist/cdn/F3RF7JPT.js +2 -0
- package/dist/cdn/{QP5UAIC6.js → FHN6CIIO.js} +1 -1
- package/dist/cdn/{24MSASQQ.js → FKBLB3H6.js} +2 -2
- package/dist/cdn/{QD7SXYTF.js → FKES55PK.js} +2 -2
- package/dist/cdn/{LAEUROZM.js → FLCOXPGW.js} +2 -2
- package/dist/cdn/{2C2NIEZB.js → FM6F6ZYW.js} +2 -2
- package/dist/cdn/{LVFZRGTZ.js → FNXREQOE.js} +2 -2
- package/dist/cdn/FYQGRCBG.js +2 -0
- package/dist/cdn/G37AUFZF.js +2 -0
- package/dist/cdn/G5VMZ4VH.js +2 -0
- package/dist/cdn/GAKY2U56.js +2 -0
- package/dist/cdn/GBX7JKXH.js +2 -0
- package/dist/cdn/{LN2ZLCLE.js → GCUOASRZ.js} +2 -2
- package/dist/cdn/GOIPGQBY.js +2 -0
- package/dist/cdn/{BK7DHYA7.js → GPGC4L7H.js} +2 -2
- package/dist/cdn/GRGXX2Z5.js +2 -0
- package/dist/cdn/GRMO7AJJ.js +2 -0
- package/dist/cdn/{RP6LD7CU.js → GSCC3FON.js} +2 -2
- package/dist/cdn/{TB7JE5XK.js → GV333VNC.js} +2 -2
- package/dist/cdn/{KTYMZ5LM.js → H3ZHPXRC.js} +2 -2
- package/dist/cdn/{YNHYJOH7.js → H5VCT3XP.js} +2 -2
- package/dist/cdn/HHHAJL7M.js +2 -0
- package/dist/cdn/HNXEJNF2.js +2 -0
- package/dist/cdn/{DOOQHQ3P.js → HUU3QFFC.js} +2 -2
- package/dist/cdn/HVJPAZGC.js +2 -0
- package/dist/cdn/HVNTD3Q6.js +2 -0
- package/dist/cdn/HXMLK3YJ.js +2 -0
- package/dist/cdn/HZTTUPNN.js +2 -0
- package/dist/cdn/I6SVVJK3.js +2 -0
- package/dist/cdn/{OBPAQN4H.js → IBCFYECI.js} +1 -1
- package/dist/cdn/IBZIYVHR.js +2 -0
- package/dist/cdn/{XHCJKB27.js → INILFUNG.js} +2 -2
- package/dist/cdn/IVTDNZSZ.js +2 -0
- package/dist/cdn/{I2BM5KSH.js → J2BBY6FO.js} +2 -2
- package/dist/cdn/{5FZODM64.js → J5VMBGYI.js} +2 -2
- package/dist/cdn/{M3XUZXNC.js → JYLCRNMW.js} +2 -2
- package/dist/cdn/{NKPZCF5U.js → K2BDZCYY.js} +2 -2
- package/dist/cdn/{5XJT5ZZ3.js → K43DVQFC.js} +2 -2
- package/dist/cdn/{S6QN5N3G.js → KCP6AJV7.js} +2 -2
- package/dist/cdn/{YU3PMXUH.js → KE7XE22Z.js} +2 -2
- package/dist/cdn/{NWITMWCT.js → KK445MLC.js} +2 -2
- package/dist/cdn/{NRXCKYYY.js → KK532FRP.js} +2 -2
- package/dist/cdn/{ADI63OO7.js → KR6LSUUG.js} +2 -2
- package/dist/cdn/{TOL6YNER.js → KRRYFLG4.js} +2 -2
- package/dist/cdn/{NWLNHFHJ.js → KWC3D6QX.js} +2 -2
- package/dist/cdn/{ZSPRUAWO.js → L26HYK34.js} +2 -2
- package/dist/cdn/{5ZQUHYTV.js → L4KDCWA7.js} +2 -2
- package/dist/cdn/{MFJTFFLO.js → LE3B3ATZ.js} +2 -2
- package/dist/cdn/{BDEDEGCZ.js → LYEEM2QH.js} +2 -2
- package/dist/cdn/{H36JC7RS.js → M7MSRLEE.js} +2 -2
- package/dist/cdn/{P37JASN4.js → MG5KAUC3.js} +2 -2
- package/dist/cdn/MVIMCR4O.js +2 -0
- package/dist/cdn/{ZZHKDFTA.js → MXQONC3S.js} +2 -2
- package/dist/cdn/MXTS44AG.js +2 -0
- package/dist/cdn/{3VMHKSYP.js → N7JJ6DIC.js} +1 -1
- package/dist/cdn/NCPNWQMP.js +2 -0
- package/dist/cdn/NHJPAIVY.js +2 -0
- package/dist/cdn/{TK2F34AK.js → NUTUTE7W.js} +2 -2
- package/dist/cdn/OA24BIJ5.js +2 -0
- package/dist/cdn/OO25ZLEY.js +2 -0
- package/dist/cdn/OQ2DAU4S.js +2 -0
- package/dist/cdn/{ZD6FBRAV.js → OYUTQX4U.js} +2 -2
- package/dist/cdn/{PABVNO3N.js → OZSHGMU6.js} +2 -2
- package/dist/cdn/{NGXRBJKL.js → OZSOICXE.js} +1 -1
- package/dist/cdn/{L7CMLBHB.js → P67ON5B6.js} +1 -1
- package/dist/cdn/{64B7ILJI.js → PANHH53Q.js} +2 -2
- package/dist/cdn/PBQRZBQM.js +2 -0
- package/dist/cdn/PBWXTUZG.js +2 -0
- package/dist/cdn/{64JQTZPV.js → PQESGESY.js} +2 -2
- package/dist/cdn/{5GAM5RFW.js → Q4H5YVTW.js} +2 -2
- package/dist/cdn/{64L7VJJK.js → QGHI4FS2.js} +2 -2
- package/dist/cdn/{UGNJ4AF4.js → QLBO3URO.js} +2 -2
- package/dist/cdn/{4DXGXATO.js → QM6ITQXX.js} +2 -2
- package/dist/cdn/{RJB4BUDG.js → R4PFJLD2.js} +2 -2
- package/dist/cdn/R53Q2XGQ.js +2 -0
- package/dist/cdn/REHZ6CP3.js +2 -0
- package/dist/cdn/{OQFM5DBD.js → RFOCYJOH.js} +2 -2
- package/dist/cdn/{LALIPDHB.js → RPB56XMC.js} +3 -3
- package/dist/cdn/RWR5WVPG.js +2 -0
- package/dist/cdn/{N2EY7RDB.js → RZY26VLW.js} +2 -2
- package/dist/cdn/{2V5NOKVR.js → SBJXOYLB.js} +2 -2
- package/dist/cdn/{UIH663J3.js → SCS4MWFN.js} +2 -2
- package/dist/cdn/{SSOL6PCL.js → SDQYOTQB.js} +2 -2
- package/dist/cdn/SERDXBEF.js +2 -0
- package/dist/cdn/SFX2QCRS.js +2 -0
- package/dist/cdn/{Y3X7AUIP.js → SMHUUBEU.js} +2 -2
- package/dist/cdn/SOSQGEYI.js +2 -0
- package/dist/cdn/{UD724V36.js → SZACRMUM.js} +2 -2
- package/dist/cdn/{Y5JSJPHW.js → TFWCYDKN.js} +2 -2
- package/dist/cdn/TG37UNR7.js +2 -0
- package/dist/cdn/{BYSUABOV.js → TIWCUJOG.js} +1 -1
- package/dist/cdn/TTV7DGFQ.js +2 -0
- package/dist/cdn/TU3OFQPY.js +2 -0
- package/dist/cdn/{OISERMTF.js → U2FUO2GZ.js} +2 -2
- package/dist/cdn/{CG7KYJ6V.js → UHSL7Y3B.js} +2 -2
- package/dist/cdn/{Y3C3CPH6.js → UITA7CSN.js} +2 -2
- package/dist/cdn/{ZEI2ZKEJ.js → UQRD2CTK.js} +2 -2
- package/dist/cdn/UUEYN7QY.js +2 -0
- package/dist/cdn/{QIG5H6WA.js → UWQ27S2B.js} +2 -2
- package/dist/cdn/V35YA4VJ.js +2 -0
- package/dist/cdn/{E2KUCER2.js → V7SVV26H.js} +2 -2
- package/dist/cdn/{NUD4N547.js → VITUV4HV.js} +2 -2
- package/dist/cdn/VJMXXMFI.js +2 -0
- package/dist/cdn/{SO5USEBM.js → VKMVMHTT.js} +2 -2
- package/dist/cdn/{5WIR3JWC.js → VRDO75EG.js} +2 -2
- package/dist/cdn/{2BYGCYAZ.js → VT3NOR5A.js} +2 -2
- package/dist/cdn/{LWT3HZYN.js → W7VPVF72.js} +2 -2
- package/dist/cdn/WAHJIOS5.js +2 -0
- package/dist/cdn/{TRAVRA3M.js → WIOGS5VR.js} +2 -2
- package/dist/cdn/WIXK4A6U.js +2 -0
- package/dist/cdn/{KX7KGXKQ.js → WKF53DYD.js} +1 -1
- package/dist/cdn/{YG254BNH.js → WMGJN3JL.js} +2 -2
- package/dist/cdn/X5TWBBO6.js +2 -0
- package/dist/cdn/XF7SJJ6J.js +2 -0
- package/dist/cdn/{YD3ETL5Z.js → XFEWDUTX.js} +2 -2
- package/dist/cdn/{6HBAS6LD.js → XIE5EUIH.js} +2 -2
- package/dist/cdn/XJUMOE6X.js +2 -0
- package/dist/cdn/{GL2VXFGY.js → XR7RCGIT.js} +2 -2
- package/dist/cdn/{QHYCUUOS.js → XS33HEQ4.js} +3 -3
- package/dist/cdn/{RL2LPFWQ.js → XTGFTMVI.js} +2 -2
- package/dist/cdn/XTYXEE3J.js +2 -0
- package/dist/cdn/{ZSP5DFLS.js → XUSFQDK4.js} +2 -2
- package/dist/cdn/{5L7BAEX5.js → XXO5K6N4.js} +2 -2
- package/dist/cdn/Y67ETZ3T.js +2 -0
- package/dist/cdn/Y7P2RW24.js +2 -0
- package/dist/cdn/{P5I5RQTN.js → Y7ZYTQQ5.js} +2 -2
- package/dist/cdn/{IDAOLPMA.js → YA4OQLNH.js} +2 -2
- package/dist/cdn/{UE4KTI5X.js → YF6ML4P6.js} +2 -2
- package/dist/cdn/{QKZK6MTN.js → YKNX76GX.js} +2 -2
- package/dist/cdn/{5ALFG7T4.js → Z2IHEWWP.js} +2 -2
- package/dist/cdn/{KOY5DWSR.js → Z7AXROEU.js} +2 -2
- package/dist/cdn/{AHFXCORG.js → ZCEZ3K6F.js} +2 -2
- package/dist/cdn/{OD2NWPCL.js → ZCJFZFEV.js} +2 -2
- package/dist/cdn/ZFWGZCEY.js +2 -0
- package/dist/cdn/ZK3ZCNLZ.js +2 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/model/shared/setup-utils.js +2 -2
- package/dist/chunks/action-bar-utils.js +59 -59
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +6 -8
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/box-plot-data.js +134 -135
- package/dist/chunks/box-plot-model.js +45 -43
- package/dist/chunks/chart-model.js +32 -34
- package/dist/chunks/chart-object-literals.js +1 -1
- package/dist/chunks/chart-ui-utils.js +46 -48
- package/dist/chunks/chart-ui-utils2.js +2 -2
- package/dist/chunks/class-breaks.js +15 -15
- package/dist/chunks/combo-bar-line-chart-model.js +16 -17
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +2 -2
- package/dist/chunks/data-labels-visibility.js +2 -2
- package/dist/chunks/data.js +57 -59
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +66 -66
- package/dist/chunks/generate-x-axis-title.js +20 -20
- package/dist/chunks/heat-chart-model.js +14 -15
- package/dist/chunks/histogram-data.js +48 -49
- package/dist/chunks/histogram-model.js +7 -7
- package/dist/chunks/index.js +5327 -4201
- package/dist/chunks/index2.js +1166 -872
- package/dist/chunks/index3.js +11041 -1174
- package/dist/chunks/index4.js +66 -11087
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +19 -20
- package/dist/chunks/model-setter.js +11 -11
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +1 -1
- package/dist/chunks/model-with-x-guides.js +2 -2
- package/dist/chunks/model-with-y-guides.js +26 -26
- package/dist/chunks/negative-values-stacked-to-baseline.js +7 -7
- package/dist/chunks/pie-chart-data.js +26 -28
- package/dist/chunks/pie-chart-model.js +30 -29
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +38 -26
- package/dist/chunks/resource.js +2 -2
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/rotated-state.js +2 -2
- package/dist/chunks/rounded-corners.js +3 -3
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/scatterplot-model.js +18 -20
- package/dist/chunks/serial-chart-data.js +468 -470
- package/dist/chunks/serial-chart-model.js +71 -68
- package/dist/chunks/series-length.js +5 -5
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +110 -56
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +147 -213
- package/dist/chunks/web-component-utils.js +16 -17
- package/dist/chunks/x-bounds.js +21 -22
- package/dist/components/arcgis-chart/customElement.d.ts +112 -30
- package/dist/components/arcgis-chart/customElement.js +8095 -7876
- package/dist/components/arcgis-charts-action-bar/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +68 -63
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +52 -46
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +107 -105
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +14 -15
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +53 -47
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +189 -184
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-format/customElement.js +38 -39
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +15 -16
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +39 -34
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +13 -14
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +40 -28
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +12 -14
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +22 -26
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +21 -22
- package/dist/components/arcgis-charts-info-modal/customElement.js +5 -5
- 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 +386 -387
- package/dist/loader.js +3 -3
- package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +6 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
- package/dist/model/shared/setup-utils.js +1 -1
- 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 +56 -58
- package/dist/utils/chart-config/utils/index.d.ts +10 -1
- package/dist/utils/data/categorical-data/index.d.ts +1 -0
- package/dist/utils/misc/index.d.ts +4 -4
- package/package.json +5 -5
- package/dist/cdn/2VXXSM6V.js +0 -2
- package/dist/cdn/3THTYYIE.js +0 -2
- package/dist/cdn/45W7WOG7.js +0 -2
- package/dist/cdn/4KVE3AGY.js +0 -2
- package/dist/cdn/4LJXFMPL.js +0 -2
- package/dist/cdn/53BLOO76.js +0 -2
- package/dist/cdn/54DSGXZ4.js +0 -2
- package/dist/cdn/65FYSCF2.js +0 -2
- package/dist/cdn/6TELFJWN.js +0 -2
- package/dist/cdn/6UH6D4P7.js +0 -2
- package/dist/cdn/7YFEZ5NG.js +0 -2
- package/dist/cdn/AEJUKKCS.js +0 -2
- package/dist/cdn/ANVRAFUS.js +0 -2
- package/dist/cdn/AQQSX6MB.js +0 -2
- package/dist/cdn/ARNTHMJA.js +0 -2
- package/dist/cdn/B7EFM4EC.js +0 -2
- package/dist/cdn/BMH7K2GR.js +0 -2
- package/dist/cdn/BWOIRNCD.js +0 -2
- package/dist/cdn/CRYNT7GM.js +0 -2
- package/dist/cdn/DGD5IYSW.js +0 -2
- package/dist/cdn/EE7HRPYS.js +0 -2
- package/dist/cdn/ET6ADBCU.js +0 -2
- package/dist/cdn/F2W66ULA.js +0 -2
- package/dist/cdn/FAPVUQXJ.js +0 -2
- package/dist/cdn/FJR2CXBV.js +0 -2
- package/dist/cdn/FRFHLGO7.js +0 -2
- package/dist/cdn/GBC7DUU3.js +0 -2
- package/dist/cdn/GONLVB3N.js +0 -2
- package/dist/cdn/HPXU7UB6.js +0 -2
- package/dist/cdn/HXUOAXW6.js +0 -2
- package/dist/cdn/HYOZOWIV.js +0 -2
- package/dist/cdn/IKQYLTZL.js +0 -2
- package/dist/cdn/ILJVVN6I.js +0 -2
- package/dist/cdn/JCLUY2EI.js +0 -2
- package/dist/cdn/JU7EYMOJ.js +0 -2
- package/dist/cdn/K63HGT6O.js +0 -2
- package/dist/cdn/K6EMFLBK.js +0 -2
- package/dist/cdn/KCBT3VDQ.js +0 -2
- package/dist/cdn/KK3WP5IA.js +0 -2
- package/dist/cdn/KMB4KGP7.js +0 -2
- package/dist/cdn/LXJ5MUWA.js +0 -2
- package/dist/cdn/LYKIQ7DH.js +0 -2
- package/dist/cdn/METVD2N2.js +0 -2
- package/dist/cdn/MNR7SALB.js +0 -2
- package/dist/cdn/N7UJDGTB.js +0 -2
- package/dist/cdn/NG66OGBO.js +0 -2
- package/dist/cdn/NKYFX3GN.js +0 -2
- package/dist/cdn/O4NXWUXR.js +0 -2
- package/dist/cdn/OAQCPPNF.js +0 -2
- package/dist/cdn/P2WGODPL.js +0 -2
- package/dist/cdn/PF5QGO7P.js +0 -2
- package/dist/cdn/PIXQELBO.js +0 -2
- package/dist/cdn/PLGLTSHE.js +0 -2
- package/dist/cdn/PNFPQKYB.js +0 -3
- package/dist/cdn/PPBZHYSA.js +0 -2
- package/dist/cdn/Q5RYOZ3L.js +0 -2
- package/dist/cdn/QOCXO3SH.js +0 -2
- package/dist/cdn/RBXMEHR5.js +0 -2
- package/dist/cdn/SNUNNPBG.js +0 -2
- package/dist/cdn/SXRIEUIN.js +0 -2
- package/dist/cdn/TBOCYB3D.js +0 -2
- package/dist/cdn/THXGBWDW.js +0 -2
- package/dist/cdn/UTDG54SS.js +0 -2
- package/dist/cdn/VB2SRFYU.js +0 -2
- package/dist/cdn/VMMRXTAY.js +0 -2
- package/dist/cdn/VZUSTDAS.js +0 -3
- package/dist/cdn/WOGALV3T.js +0 -2
- package/dist/cdn/WONOW5WD.js +0 -2
- package/dist/cdn/WQAPQIKI.js +0 -2
- package/dist/cdn/WULMITJI.js +0 -2
- package/dist/cdn/WYIHJMCL.js +0 -2
- package/dist/cdn/WZBDHR5B.js +0 -2
- package/dist/cdn/XAUKPCFO.js +0 -2
- package/dist/cdn/XOCPNNLY.js +0 -2
- package/dist/cdn/Y4D3RT7S.js +0 -2
- package/dist/cdn/YPOUCQL3.js +0 -2
- package/dist/cdn/ZMWTAWSP.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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as p } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
4
4
|
import { P as r } from "../../chunks/interfaces.js";
|
|
@@ -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
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
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 { bK 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 = {
|
|
@@ -24,7 +23,7 @@ const s = {
|
|
|
24
23
|
sortOrderPickList: "sort-order-pick-list",
|
|
25
24
|
panel: "panel"
|
|
26
25
|
}, w = L`.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-counter-clockwise{transform:scaleX(-1)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`;
|
|
27
|
-
class
|
|
26
|
+
class A extends y {
|
|
28
27
|
constructor() {
|
|
29
28
|
super(...arguments), this._messages = u(), this.commonStrings = u({ name: "common", blocking: !0 }), this.picklist = C(), this.popoverElement = C(), this.placement = "leading", this.offsetDistance = -200, this.pickListHasChanged = !1, this.aggregationLabels = [], this.open = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigPieChartDataPopoverChange = b(), this.arcgisChartsConfigPopoverClose = b();
|
|
30
29
|
}
|
|
@@ -51,11 +50,11 @@ class K 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 K 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,10 +163,10 @@ class K 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
|
-
v("arcgis-charts-config-pie-chart-popover",
|
|
169
|
+
v("arcgis-charts-config-pie-chart-popover", A);
|
|
171
170
|
export {
|
|
172
|
-
|
|
171
|
+
A as ArcgisChartsConfigPieChartPopover
|
|
173
172
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as L } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
4
4
|
import { debounce as $, isEmpty as E, toNumber as x } from "es-toolkit/compat";
|
|
@@ -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 = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as n } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as p, html as h } from "lit";
|
|
4
4
|
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}`;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as r } from "../../chunks/runtime.js";
|
|
3
3
|
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, cH 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,10 +1,10 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import { c as
|
|
3
|
-
import { html as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import { c as h } from "../../chunks/runtime.js";
|
|
3
|
+
import { html as d } from "lit";
|
|
4
|
+
import { LitElement as g, createEvent as m, nothing as o } from "@arcgis/lumina";
|
|
5
|
+
import y from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
6
|
+
import { u as a } from "../../chunks/useT9n.js";
|
|
7
|
+
import { c_ as r, c$ as n } from "../../chunks/index.js";
|
|
8
8
|
const e = {
|
|
9
9
|
Circle: "circle",
|
|
10
10
|
FreehandPolygon: "freehandPolygon",
|
|
@@ -12,22 +12,22 @@ const e = {
|
|
|
12
12
|
Polyline: "polyline",
|
|
13
13
|
Rectangle: "rectangle"
|
|
14
14
|
};
|
|
15
|
-
class
|
|
15
|
+
class p extends g {
|
|
16
16
|
constructor() {
|
|
17
|
-
super(...arguments), this._messages =
|
|
18
|
-
this.selectedTool
|
|
19
|
-
}, this.arcgisImageryScatterplotAoiChange =
|
|
17
|
+
super(...arguments), this._messages = a({ blocking: !0 }), this.commonStrings = a({ name: "common", blocking: !0 }), this.handleAoiToolClick = async (t) => {
|
|
18
|
+
this.view?.map && t && (this.selectedTool === t ? this.deactivateAoiSketch() : await this.startAoiSketch(t));
|
|
19
|
+
}, this.arcgisImageryScatterplotAoiChange = m();
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.properties = { selectedTool: 16, messageOverrides: 0, view: 0 };
|
|
23
23
|
}
|
|
24
24
|
disconnectedCallback() {
|
|
25
|
-
this.sketchListenerHandle && this.sketchListenerHandle.remove(), this.sketchViewModel && (this.sketchViewModel.destroy(), this.sketchViewModel = void 0), super.disconnectedCallback();
|
|
25
|
+
this.sketchListenerHandle && this.sketchListenerHandle.remove(), this.sketchViewModel && (this.sketchViewModel.destroy(), this.sketchViewModel = void 0), this.selectedTool = void 0, super.disconnectedCallback();
|
|
26
26
|
}
|
|
27
27
|
async startAoiSketch(t) {
|
|
28
|
-
if (this.view?.map
|
|
29
|
-
const i =
|
|
30
|
-
this.sketchViewModel ? this.sketchViewModel.cancel() : (this.sketchViewModel = new
|
|
28
|
+
if (this.view?.map) {
|
|
29
|
+
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 y({
|
|
31
31
|
view: this.view,
|
|
32
32
|
layer: i,
|
|
33
33
|
activeFillSymbol: {
|
|
@@ -41,30 +41,42 @@ class m extends n {
|
|
|
41
41
|
color: [0, 255, 255],
|
|
42
42
|
width: 1
|
|
43
43
|
},
|
|
44
|
-
|
|
44
|
+
creationMode: "continuous",
|
|
45
45
|
updateOnGraphicClick: !1
|
|
46
|
-
}), this.addAoiSketchListener()), await this.sketchViewModel.create(t);
|
|
46
|
+
}), this.addAoiSketchListener()), this.selectedTool = t, await this.sketchViewModel.create(t);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
+
deactivateAoiSketch() {
|
|
50
|
+
this.sketchViewModel?.cancel(), this.selectedTool = void 0;
|
|
51
|
+
}
|
|
49
52
|
addAoiSketchListener() {
|
|
50
53
|
if (this.sketchViewModel) {
|
|
51
|
-
const t = this.sketchViewModel.on("create", (
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
const t = this.sketchViewModel, i = t.on("create", (s) => {
|
|
55
|
+
switch (s.state) {
|
|
56
|
+
case "cancel":
|
|
57
|
+
this.deactivateAoiSketch();
|
|
58
|
+
break;
|
|
59
|
+
case "complete":
|
|
60
|
+
const c = s.graphic?.geometry;
|
|
61
|
+
if (c?.type === "polygon" || c?.type === "polyline") {
|
|
62
|
+
this.arcgisImageryScatterplotAoiChange.emit({
|
|
63
|
+
tool: this.selectedTool ?? c.type,
|
|
64
|
+
newGeometry: c.toJSON()
|
|
65
|
+
});
|
|
66
|
+
const l = r(this.view);
|
|
67
|
+
l?.remove(s.graphic), this.isConnected && (t.layer = l ?? n(this.view));
|
|
68
|
+
}
|
|
69
|
+
break;
|
|
58
70
|
}
|
|
59
71
|
});
|
|
60
|
-
this.sketchListenerHandle?.remove(), this.sketchListenerHandle =
|
|
72
|
+
this.sketchListenerHandle?.remove(), this.sketchListenerHandle = i;
|
|
61
73
|
}
|
|
62
74
|
}
|
|
63
75
|
render() {
|
|
64
|
-
return
|
|
76
|
+
return d`<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 === e.Polyline} @click=${() => this.handleAoiToolClick(e.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 === e.Circle} @click=${() => this.handleAoiToolClick(e.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 === e.Rectangle} @click=${() => this.handleAoiToolClick(e.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 === e.Polygon} @click=${() => this.handleAoiToolClick(e.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 === e.FreehandPolygon} @click=${() => this.handleAoiToolClick(e.FreehandPolygon)}></calcite-action></calcite-action-group>`;
|
|
65
77
|
}
|
|
66
78
|
}
|
|
67
|
-
|
|
79
|
+
h("arcgis-charts-config-scatter-plot-aoi", p);
|
|
68
80
|
export {
|
|
69
|
-
|
|
81
|
+
p as ArcgisChartsConfigScatterplotAoi
|
|
70
82
|
};
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as F } from "../../chunks/runtime.js";
|
|
3
3
|
import { cloneDeep as A, isEmpty as k, toNumber as z } from "es-toolkit/compat";
|
|
4
4
|
import { f as n, g as d } from "../../chunks/interfaces.js";
|
|
5
5
|
import { d as M, a as m } from "../../chunks/store.js";
|
|
6
6
|
import { i as v, m as g, U as y, n as L, D as w, s as u } from "../../chunks/chart-ui-utils.js";
|
|
7
|
-
import {
|
|
8
|
-
import { u as
|
|
9
|
-
import { css as
|
|
7
|
+
import { l as $, B as b, d0 as _ } from "../../chunks/index.js";
|
|
8
|
+
import { u as I } from "../../chunks/useT9n.js";
|
|
9
|
+
import { css as V, html as r } from "lit";
|
|
10
10
|
import { createRef as h, ref as c } from "lit/directives/ref.js";
|
|
11
|
-
import { LitElement as
|
|
12
|
-
import {
|
|
13
|
-
import { ah as R, E, r as G } from "../../chunks/index3.js";
|
|
14
|
-
import { b } from "../../chunks/index2.js";
|
|
11
|
+
import { LitElement as D, createEvent as x, renderElement as N, safeClassMap as t, safeStyleMap as C } from "@arcgis/lumina";
|
|
12
|
+
import { ah as R, E, r as G } from "../../chunks/index2.js";
|
|
15
13
|
import { r as T } from "../../chunks/popover-ui-utils.js";
|
|
16
14
|
import { b as P } from "../../chunks/rest-js-object-literals.js";
|
|
17
15
|
import { a as f } from "../../chunks/chart-object-literals.js";
|
|
@@ -27,10 +25,10 @@ const s = {
|
|
|
27
25
|
dimText: "dim-text",
|
|
28
26
|
aoiTools: "aoi-tools",
|
|
29
27
|
currentAoiBlock: "current-aoi-block"
|
|
30
|
-
}, K =
|
|
31
|
-
class O extends
|
|
28
|
+
}, K = V`.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)}:host .number-input{margin-bottom:.5rem;display:flex}:host .number-input>div{width:100%}calcite-list-item{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor)}calcite-slider{margin-top:-1.5rem}.r2{margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor)}.label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.section-container{display:flex;flex-direction:column}.icon-select{cursor:pointer}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.switch-element{margin-right:var(--arcgis-charts-config-margin-minor)}.multi-input-section{display:flex;justify-content:space-between;align-items:center}.aoi-tools{margin-top:0;margin-bottom:var(--arcgis-charts-config-margin-major);margin-inline:var(--arcgis-charts-config-margin-minor);background:var(--calcite-color-foreground-1)}.current-aoi-block{margin:var(--arcgis-charts-config-calcite-block-default-margin)}`;
|
|
29
|
+
class O extends D {
|
|
32
30
|
constructor() {
|
|
33
|
-
super(...arguments), this._messages =
|
|
31
|
+
super(...arguments), this._messages = I(), this.commonStrings = I({ name: "common", blocking: !0 }), this.scatterplotPopover = null, this.selectColorElement = h(), this.selectTrendLineElement = h(), this.xAxisElement = h(), this.yAxisElement = h(), this.tooltipFieldElement = h(), this.sizeVariableElement = h(), this.colorModeElement = h(), this.symbolSizeModeElement = h(), this.minSizeInputElement = h(), this.maxSizeInputElement = h(), this.items = [], this.setTrendLineSymbol = (e) => {
|
|
34
32
|
const i = e.detail;
|
|
35
33
|
this.model.linearTrendSymbol = A(i);
|
|
36
34
|
}, this.setFixedSymbolRGBAColor = (e) => {
|
|
@@ -85,7 +83,7 @@ class O extends V {
|
|
|
85
83
|
}, this.segmentedControlRef = (e) => {
|
|
86
84
|
e && (e.focus = () => {
|
|
87
85
|
}, this.items.push(e));
|
|
88
|
-
}, this.isAoiEnabled = !1, this.isFixedSymbolSizeInvalid = !1, this.isMaxSizeInvalid = !1, this.isMinSizeInvalid = !1, this.layerFieldsInfo = [], this.isTableLayer = !1, this.arcgisChartsConfigDataChangeError =
|
|
86
|
+
}, this.isAoiEnabled = !1, this.isFixedSymbolSizeInvalid = !1, this.isMaxSizeInvalid = !1, this.isMinSizeInvalid = !1, this.layerFieldsInfo = [], this.isTableLayer = !1, this.arcgisChartsConfigDataChangeError = x(), this.arcgisChartsConfigScatterplotPopoverChange = x();
|
|
89
87
|
}
|
|
90
88
|
static {
|
|
91
89
|
this.properties = { selectedElement: 16, selectedSizeType: 16, aoiGeometry: 16, aoiTool: 16, isAoiEnabled: 16, isFixedSymbolSizeInvalid: 16, isMaxSizeInvalid: 16, isMinSizeInvalid: 16, messageOverrides: 0, view: 0, model: 0, r2: 9, layerFieldsInfo: 0, isTableLayer: 5 };
|
|
@@ -230,7 +228,7 @@ class O extends V {
|
|
|
230
228
|
this.contentKind = n.none, this.removeScatterplotPopover();
|
|
231
229
|
break;
|
|
232
230
|
}
|
|
233
|
-
this.scatterplotPopover =
|
|
231
|
+
this.scatterplotPopover = N(r`<arcgis-charts-config-scatter-plot-popover .headingTitle=${o} .referenceElement=${l} open .contentKind=${this.contentKind} .layerFieldsInfo=${i} .selectedContent=${a} .placement=${p} @arcgisChartsConfigPopoverClose=${this.closeScatterplotPopover} @arcgisChartsConfigScatterplotFillColorChange=${this.setFixedSymbolRGBAColor} @arcgisChartsConfigScatterplotLineStyleChange=${this.setTrendLineSymbol} @arcgisChartsConfigScatterplotXYFieldChange=${this.setXYField} @arcgisChartsConfigScatterplotSizeVariableFieldChange=${this.setSizeVariableField} @arcgisChartsConfigScatterplotAdditionalTooltipFieldChange=${this.setAdditionalTooltipField}></arcgis-charts-config-scatter-plot-popover>`), !document.body.contains(this.scatterplotPopover) && this.scatterplotPopover !== null && document.body.appendChild(this.scatterplotPopover);
|
|
234
232
|
}
|
|
235
233
|
removeScatterplotPopover() {
|
|
236
234
|
this.scatterplotPopover !== null && (this.scatterplotPopover = T(this.scatterplotPopover)), this.selectedElement = void 0;
|
|
@@ -294,7 +292,7 @@ class O extends V {
|
|
|
294
292
|
return r`<div class=${t(s.sectionContainer)}>${this.renderSymbolSizeType()}${this.selectedSizeType === d.Proportional ? this.renderProportionalSymbol() : this.renderFixedSymbol()}<calcite-label class=${t(s.label)}>${this._messages.color}${!this.isTableLayer && !e ? r`<calcite-segmented-control name=layerColor layout=horizontal scale=s @calciteSegmentedControlChange=${this.changeColorTypeToggle} ${c(this.colorModeElement)}><calcite-segmented-control-item .value=${this._messages.useLayerColors} .checked=${this.model.colorMatch} ${c(this.segmentedControlRef)}>${this._messages.useLayerColors}</calcite-segmented-control-item><calcite-segmented-control-item .value=${this._messages.singleColor} .checked=${!this.model.colorMatch} ${c(this.segmentedControlRef)}>${this._messages.singleColor}</calcite-segmented-control-item></calcite-segmented-control>` : null}</calcite-label><calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .label=${this._messages.color} value=selectColor .hidden=${this.model.colorMatch && !this.isTableLayer && !e} .selected=${Array.isArray(this.selectedElement)} @click=${this.changeElementStyle} ${c(this.selectColorElement)}><calcite-icon slot=content-end icon=circle-f style=${C({ color: `rgba(${i},${l},${o},${a / 255})` })} class=${t(s.iconSelect)} @click=${this.changeElementStyle}></calcite-icon></calcite-list-item></calcite-list></div>`;
|
|
295
293
|
}
|
|
296
294
|
renderDefineAnAoiSection() {
|
|
297
|
-
const e = $(this.model.layer), i = this.aoiTool ??
|
|
295
|
+
const e = $(this.model.layer), i = this.aoiTool ?? _(this.aoiGeometry), l = i ? this.commonStrings.imageryAoiToolsStrings[i] : "";
|
|
298
296
|
return e ? r`<h3 class=${t(s.sectionLabel)}>${this._messages.defineAnAoi}</h3><div class=${t(s.sectionContainer)}><arcgis-charts-config-scatter-plot-aoi class=${t(s.aoiTools)} .view=${this.view} @arcgisImageryScatterplotAoiChange=${this.handleImageryScatterplotAoiChange}></arcgis-charts-config-scatter-plot-aoi><calcite-label class=${t(s.label)} layout=inline-space-between>${this._messages.useAoi}<calcite-switch class=${t(s.switchElement)} id=charts-config-scatter-plot-aoi-use-switch .checked=${this.isAoiEnabled && !!this.aoiGeometry} .disabled=${!this.aoiGeometry} @calciteSwitchChange=${this.handleImageryScatterplotToggleUseAoi}></calcite-switch></calcite-label><calcite-block class=${t(s.currentAoiBlock)} expanded .hidden=${!this.isAoiEnabled || !this.aoiGeometry}><calcite-label>${this._messages.currentAoi}</calcite-label><calcite-label layout=inline-space-between scale=s>${l}<calcite-button id=charts-config-scatter-plot-aoi-delete icon-start=trash appearance=transparent scale=s .disabled=${!this.aoiGeometry} @click=${this.handleImageryScatterplotAoiDeleteClick}></calcite-button></calcite-label></calcite-block></div>` : null;
|
|
299
297
|
}
|
|
300
298
|
render() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as g } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as f, html as o } from "lit";
|
|
4
4
|
import { keyed as c } from "lit/directives/keyed.js";
|
|
@@ -9,8 +9,7 @@ import { createRef as h, ref as d } from "lit/directives/ref.js";
|
|
|
9
9
|
import { LitElement as S, createEvent as l, safeClassMap as r } from "@arcgis/lumina";
|
|
10
10
|
import { b as m } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
import { e as $ } from "../../chunks/popover-ui-utils.js";
|
|
12
|
-
import {
|
|
13
|
-
import { aQ as b } from "../../chunks/index.js";
|
|
12
|
+
import { b3 as P, B as b } from "../../chunks/index.js";
|
|
14
13
|
const n = {
|
|
15
14
|
scatterplotPopover: "scatter-plot-popover",
|
|
16
15
|
fillColor: "fill-color",
|
|
@@ -61,8 +60,8 @@ class k extends S {
|
|
|
61
60
|
(this.contentKind === a.sizeVariable || this.contentKind === a.additionalTooltipFields) && t.push(c(" ", o`<calcite-list-item label=" " value=" " .selected=${p("", this.selectedContent)}></calcite-list-item>`));
|
|
62
61
|
for (let i = 0; i < e; i += 1) {
|
|
63
62
|
const s = this.layerFieldsInfo?.[i] ?? void 0;
|
|
64
|
-
if (s !== void 0 && (this.contentKind === a.additionalTooltipFields ||
|
|
65
|
-
const C =
|
|
63
|
+
if (s !== void 0 && (this.contentKind === a.additionalTooltipFields || P(s))) {
|
|
64
|
+
const C = b(this.layerFieldsInfo, s.name);
|
|
66
65
|
t.push(c(s.name, o`<calcite-list-item .label=${C} .value=${s.name} .selected=${p(s.name, this.selectedContent)}></calcite-list-item>`));
|
|
67
66
|
}
|
|
68
67
|
}
|
|
@@ -1,42 +1,38 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { u as
|
|
5
|
-
import { createRef as
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { e as
|
|
8
|
-
import {
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import { c as o } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as r, html as t } from "lit";
|
|
4
|
+
import { u as n } from "../../chunks/useT9n.js";
|
|
5
|
+
import { createRef as p, ref as h } from "lit/directives/ref.js";
|
|
6
|
+
import { LitElement as m, createEvent as a, safeClassMap as l } from "@arcgis/lumina";
|
|
7
|
+
import { e as d } from "../../chunks/popover-ui-utils.js";
|
|
8
|
+
import { a as s } from "../../chunks/chart-object-literals.js";
|
|
9
9
|
import { M as e } from "../../chunks/common.js";
|
|
10
10
|
const c = {
|
|
11
11
|
selectChartComponent: "select-chart-component",
|
|
12
12
|
panel: "panel"
|
|
13
|
-
},
|
|
14
|
-
class
|
|
13
|
+
}, C = r`.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)}.select-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}calcite-block{width:var(--arcgis-charts-config-calcite-block-default-width);height:var(--arcgis-charts-config-calcite-block-default-height);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.header{margin:0}.panel{max-height:60vh}`;
|
|
14
|
+
class g extends m {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(...arguments), this._messages =
|
|
16
|
+
super(...arguments), this._messages = n(), this.selectChartTypePopover = p(), this.open = !1, this.arcgisChartsConfigPopoverClose = a(), this.arcgisChartsConfigSelectChartTypeChange = a();
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.properties = { messageOverrides: 0, headerTitle: 1, layerId: 1, layerType: 1,
|
|
19
|
+
this.properties = { messageOverrides: 0, headerTitle: 1, layerId: 1, layerType: 1, supportedChartTypes: 0, open: 5, referenceElement: 0, popoverPlacement: 1, selectedModelType: 1 };
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
|
-
this.styles =
|
|
22
|
+
this.styles = C;
|
|
23
23
|
}
|
|
24
24
|
async reposition() {
|
|
25
25
|
await this.selectChartTypePopover.value?.reposition();
|
|
26
26
|
}
|
|
27
27
|
updated() {
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
buildRasterChartTypesList() {
|
|
31
|
-
const t = this.isRasterBarChartSupported === !0;
|
|
32
|
-
return i`<calcite-list label @click=${this.onChartTypeClick}>${t ? i`<calcite-list-item .label=${this._messages.barChart} .value=${e.BarChart} .selected=${this.selectedModelType === e.BarChart}><calcite-icon slot=content-start icon=graph-bar></calcite-icon></calcite-list-item>` : null}<calcite-list-item .label=${this._messages.histogram} .value=${e.Histogram} .selected=${this.selectedModelType === e.Histogram}><calcite-icon slot=content-start icon=graph-histogram></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.scatterplot} .value=${e.Scatterplot} .selected=${this.selectedModelType === e.Scatterplot}><calcite-icon slot=content-start icon=graph-scatter-plot></calcite-icon></calcite-list-item></calcite-list>`;
|
|
28
|
+
d(this.selectChartTypePopover.value, this.open);
|
|
33
29
|
}
|
|
34
30
|
buildChartTypesList() {
|
|
35
|
-
let
|
|
36
|
-
return
|
|
31
|
+
let i;
|
|
32
|
+
return i = t`<calcite-list label @click=${this.onChartTypeClick}>${this.supportedChartTypes?.includes(s.BarSeries) ? t`<calcite-list-item .label=${this._messages.barChart} .value=${e.BarChart} .selected=${this.selectedModelType === e.BarChart}><calcite-icon slot=content-start icon=graph-bar></calcite-icon></calcite-list-item>` : null}${this.supportedChartTypes?.includes(s.LineSeries) ? t`<calcite-list-item .label=${this._messages.lineChart} .value=${e.LineChart} .selected=${this.selectedModelType === e.LineChart}><calcite-icon slot=content-start icon=graph-time-series></calcite-icon></calcite-list-item>` : null}${this.supportedChartTypes?.includes(s.PieSeries) ? t`<calcite-list-item .label=${this._messages.pieChart} .value=${e.PieChart} .selected=${this.selectedModelType === e.PieChart}><calcite-icon slot=content-start icon=pie-chart></calcite-icon></calcite-list-item>` : null}${this.supportedChartTypes?.includes(s.HistogramSeries) ? t`<calcite-list-item .label=${this._messages.histogram} .value=${e.Histogram} .selected=${this.selectedModelType === e.Histogram}><calcite-icon slot=content-start icon=graph-histogram></calcite-icon></calcite-list-item>` : null}${this.supportedChartTypes?.includes(s.ScatterSeries) ? t`<calcite-list-item .label=${this._messages.scatterplot} .value=${e.Scatterplot} .selected=${this.selectedModelType === e.Scatterplot}><calcite-icon slot=content-start icon=graph-scatter-plot></calcite-icon></calcite-list-item>` : null}${this.supportedChartTypes?.includes(s.BoxPlotSeries) ? t`<calcite-list-item .label=${this._messages.boxPlot} .value=${e.BoxPlot} .selected=${this.selectedModelType === e.BoxPlot}><calcite-icon slot=content-start icon=box-chart></calcite-icon></calcite-list-item>` : null}${this.supportedChartTypes?.includes(s.HeatSeries) ? t`<calcite-list-item .label=${this._messages.calendarHeatChart} .value=${e.HeatChart} .selected=${this.selectedModelType === e.HeatChart}><calcite-icon slot=content-start icon=calendar-heat-chart></calcite-icon></calcite-list-item>` : null}</calcite-list>`, i;
|
|
37
33
|
}
|
|
38
|
-
onChartTypeClick(
|
|
39
|
-
|
|
34
|
+
onChartTypeClick(i) {
|
|
35
|
+
i.target?.localName === "calcite-list-item" ? this.selectedModelType = i.target?.value : this.selectedModelType = i.target?.parentNode?.value, this.arcgisChartsConfigSelectChartTypeChange.emit();
|
|
40
36
|
}
|
|
41
37
|
popoverOpen() {
|
|
42
38
|
setTimeout(() => {
|
|
@@ -49,12 +45,12 @@ class C extends p {
|
|
|
49
45
|
}, 250);
|
|
50
46
|
}
|
|
51
47
|
render() {
|
|
52
|
-
return
|
|
48
|
+
return t`<div class=${l({
|
|
53
49
|
[c.selectChartComponent]: !0
|
|
54
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.popoverPlacement} .flipPlacements=${["top", "bottom"]} @calcitePopoverOpen=${this.popoverOpen} @calcitePopoverClose=${this.popoverClose} .open=${this.open} auto-close label ${h(this.selectChartTypePopover)}><calcite-panel class=${
|
|
50
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.popoverPlacement} .flipPlacements=${["top", "bottom"]} @calcitePopoverOpen=${this.popoverOpen} @calcitePopoverClose=${this.popoverClose} .open=${this.open} auto-close label ${h(this.selectChartTypePopover)}><calcite-panel class=${l(c.panel)} .heading=${this.headerTitle ?? this._messages.chooseChartType} closable @calcitePanelClose=${this.popoverClose} .closed=${!this.open}>${this.buildChartTypesList()}</calcite-panel></calcite-popover></div>`;
|
|
55
51
|
}
|
|
56
52
|
}
|
|
57
|
-
|
|
53
|
+
o("arcgis-charts-config-select-chart-type-popover", g);
|
|
58
54
|
export {
|
|
59
|
-
|
|
55
|
+
g as ArcgisChartsConfigSelectChartTypePopover
|
|
60
56
|
};
|