@arcgis/charts-components 6.0.0-next.1 → 6.0.0-next.11
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/{CB6RALFJ.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/{XEUHT7JB.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/{L7USVDCR.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/{J7CDASEM.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/{K7KTLLN3.js → RPB56XMC.js} +3 -3
- package/dist/cdn/RWR5WVPG.js +2 -0
- package/dist/cdn/{JC3KQC4M.js → RZY26VLW.js} +2 -2
- package/dist/cdn/{TOFHR6G7.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/{AX6KSFYK.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/{O7QPA3NH.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/XS33HEQ4.js +4 -0
- package/dist/cdn/{IJGJ7LW4.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/{AKW3NHSY.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 +19 -21
- 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 +53 -55
- 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 +5321 -4202
- 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 +7 -7
- 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 +7 -8
- 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 +14 -16
- package/dist/chunks/serial-chart-data.js +459 -461
- 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 +56 -57
- package/dist/chunks/x-bounds.js +25 -26
- package/dist/components/arcgis-chart/customElement.d.ts +112 -30
- package/dist/components/arcgis-chart/customElement.js +8089 -7870
- 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 +63 -58
- 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 +12 -13
- 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 +190 -185
- 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 +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +10 -11
- 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 +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +9 -11
- 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 +397 -399
- 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/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 +74 -76
- 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/2JIOGP7R.js +0 -2
- package/dist/cdn/32URMI5E.js +0 -2
- package/dist/cdn/3C5377V2.js +0 -2
- package/dist/cdn/3EOTHJWP.js +0 -2
- package/dist/cdn/3U6UEUC3.js +0 -2
- package/dist/cdn/3V7MD72Y.js +0 -2
- package/dist/cdn/4IZR4ZL4.js +0 -2
- package/dist/cdn/4R6YXEBJ.js +0 -2
- package/dist/cdn/53QW4BYR.js +0 -2
- package/dist/cdn/5CXU3NKH.js +0 -2
- package/dist/cdn/5DHZV7X2.js +0 -2
- package/dist/cdn/64VXZM5A.js +0 -2
- package/dist/cdn/6RB4RYGN.js +0 -2
- package/dist/cdn/7TK4GSLV.js +0 -2
- package/dist/cdn/A5EZTVKV.js +0 -2
- package/dist/cdn/AL6ZEHZK.js +0 -2
- package/dist/cdn/B5SRZGC2.js +0 -2
- package/dist/cdn/BF2W5NTN.js +0 -2
- package/dist/cdn/BRBAHSCB.js +0 -2
- package/dist/cdn/BRW7VZ2C.js +0 -2
- package/dist/cdn/C7WUBEMI.js +0 -2
- package/dist/cdn/CE2OEL6G.js +0 -2
- package/dist/cdn/DA5DYK4X.js +0 -2
- package/dist/cdn/DP3ALDSI.js +0 -2
- package/dist/cdn/DPXBPL2Y.js +0 -2
- package/dist/cdn/DUIC7PGW.js +0 -2
- package/dist/cdn/EETR5IRC.js +0 -2
- package/dist/cdn/EHD6HNUK.js +0 -2
- package/dist/cdn/EJAZWHRG.js +0 -2
- package/dist/cdn/EWFT2JV5.js +0 -2
- package/dist/cdn/EWS4XDX5.js +0 -2
- package/dist/cdn/FI67QJAR.js +0 -2
- package/dist/cdn/FTR2IWDM.js +0 -2
- package/dist/cdn/G2T43FGA.js +0 -2
- package/dist/cdn/GPFDXMZV.js +0 -2
- package/dist/cdn/GUU5K7KZ.js +0 -2
- package/dist/cdn/HGCITTOQ.js +0 -2
- package/dist/cdn/HPXU7UB6.js +0 -2
- package/dist/cdn/HPZNKDNN.js +0 -2
- package/dist/cdn/HRYM365L.js +0 -2
- package/dist/cdn/J24X7IAD.js +0 -2
- package/dist/cdn/JBGGX4GF.js +0 -2
- package/dist/cdn/JCSGUVJN.js +0 -2
- package/dist/cdn/JZCSDGTO.js +0 -2
- package/dist/cdn/KCJ3UIVJ.js +0 -2
- package/dist/cdn/KFS2IDLJ.js +0 -2
- package/dist/cdn/KOPGJ6GL.js +0 -2
- package/dist/cdn/KWJG3BJA.js +0 -2
- package/dist/cdn/L6ACX7PK.js +0 -3
- package/dist/cdn/L6AHDF5D.js +0 -2
- package/dist/cdn/M4G56EOH.js +0 -2
- package/dist/cdn/NNIAFAEK.js +0 -2
- package/dist/cdn/O3VCA2HA.js +0 -2
- package/dist/cdn/OAQCPPNF.js +0 -2
- package/dist/cdn/ORTPYOO7.js +0 -2
- package/dist/cdn/OWAETVFH.js +0 -2
- package/dist/cdn/PNFPQKYB.js +0 -3
- package/dist/cdn/PXKD656W.js +0 -2
- package/dist/cdn/QKPEMJRH.js +0 -2
- package/dist/cdn/QXIFJISA.js +0 -2
- package/dist/cdn/R44U46BF.js +0 -2
- package/dist/cdn/RB2DJJAF.js +0 -2
- package/dist/cdn/RV2J4OPJ.js +0 -2
- package/dist/cdn/TLPP547P.js +0 -2
- package/dist/cdn/TPFFIATK.js +0 -2
- package/dist/cdn/U64ICCSZ.js +0 -2
- package/dist/cdn/UW35QKDS.js +0 -4
- package/dist/cdn/VB6XKC4W.js +0 -2
- package/dist/cdn/VCER6DFQ.js +0 -2
- package/dist/cdn/W5Z2EI2D.js +0 -2
- package/dist/cdn/WAUIROBC.js +0 -2
- package/dist/cdn/WOGALV3T.js +0 -2
- package/dist/cdn/WULMITJI.js +0 -2
- package/dist/cdn/WYDO2IF4.js +0 -2
- package/dist/cdn/WYIHJMCL.js +0 -2
- package/dist/cdn/XE6MQ6IR.js +0 -2
- package/dist/cdn/ZLI33FIZ.js +0 -2
- package/dist/cdn/ZQPCVZ2Z.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,75 +1,81 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as x } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as P } from "lit/directives/keyed.js";
|
|
4
4
|
import { repeat as T } from "lit/directives/repeat.js";
|
|
5
5
|
import { u as L } from "../../chunks/useT9n.js";
|
|
6
|
-
import { css as
|
|
7
|
-
import { LitElement as
|
|
6
|
+
import { css as N, html as a } from "lit";
|
|
7
|
+
import { LitElement as M, createEvent as O, renderElement as C, safeStyleMap as h, safeClassMap as r } from "@arcgis/lumina";
|
|
8
8
|
import { a as _ } from "../../chunks/chart-ui-utils.js";
|
|
9
|
-
import {
|
|
10
|
-
import { r as
|
|
11
|
-
import { c as n, d as
|
|
12
|
-
import { ar as m } from "../../chunks/index.js";
|
|
9
|
+
import { aG as g, x as E, C as v } from "../../chunks/index.js";
|
|
10
|
+
import { r as S } from "../../chunks/popover-ui-utils.js";
|
|
11
|
+
import { c as n, d as f } from "../../chunks/chart-object-literals.js";
|
|
13
12
|
const w = {
|
|
14
13
|
stackedType: "stacked-type"
|
|
15
|
-
},
|
|
14
|
+
}, l = {
|
|
16
15
|
topSection: "top-section",
|
|
17
16
|
sectionLabel: "section-label",
|
|
18
17
|
list: "list",
|
|
19
18
|
disabledInfo: "disabled-info",
|
|
20
19
|
disabledStackingOption: "disabled-stacking-option"
|
|
21
|
-
}, D =
|
|
22
|
-
class z extends
|
|
20
|
+
}, D = N`.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)}.top-section{margin-top:var(--arcgis-charts-config-margin-minor)}.section-label{display:flex;margin-bottom:var(--arcgis-charts-config-margin-major);margin-left:var(--arcgis-charts-config-margin-minor);margin-right: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)}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.disabled-info{margin:auto 1rem;pointer-events:auto}.disabled-info:active{margin:auto 1rem;pointer-events:none}.disabled-stacking-option{pointer-events:none;opacity:var(--calcite-opacity-disabled)}`;
|
|
21
|
+
class z extends M {
|
|
23
22
|
constructor() {
|
|
24
23
|
super(...arguments), this._messages = L(), this.open = !1, this.seriesNameChange = (e) => {
|
|
25
24
|
if (e.detail !== null && e.detail !== void 0) {
|
|
26
25
|
const t = e.detail.name;
|
|
27
26
|
if (this.isNullCategorySelected) {
|
|
28
|
-
const
|
|
29
|
-
if (
|
|
30
|
-
const
|
|
31
|
-
this.model.nullCategory =
|
|
27
|
+
const i = this.model.nullCategory;
|
|
28
|
+
if (i) {
|
|
29
|
+
const s = { ...i, text: t };
|
|
30
|
+
this.model.nullCategory = s;
|
|
32
31
|
}
|
|
33
|
-
} else
|
|
34
|
-
|
|
32
|
+
} else {
|
|
33
|
+
const i = this.selectedSeriesIndex;
|
|
34
|
+
i !== void 0 && i >= 0 && this.model.setSeriesName(t, i);
|
|
35
|
+
}
|
|
35
36
|
}
|
|
36
37
|
}, this.seriesColorChange = (e) => {
|
|
37
38
|
if (e.detail !== null && e.detail !== void 0) {
|
|
38
39
|
const { color: t } = e.detail;
|
|
39
40
|
if (t !== void 0) {
|
|
40
41
|
if (this.isNullCategorySelected) {
|
|
41
|
-
const
|
|
42
|
-
...
|
|
42
|
+
const i = this.model.nullCategory, s = g(i), o = i !== void 0 && s !== void 0 ? {
|
|
43
|
+
...i,
|
|
43
44
|
fillSymbol: {
|
|
44
|
-
...
|
|
45
|
+
...s,
|
|
45
46
|
color: t,
|
|
46
|
-
outline:
|
|
47
|
+
outline: s.outline && { ...s.outline, color: t }
|
|
47
48
|
}
|
|
48
49
|
} : void 0;
|
|
49
|
-
this.model.nullCategory =
|
|
50
|
-
} else
|
|
51
|
-
|
|
50
|
+
this.model.nullCategory = o;
|
|
51
|
+
} else {
|
|
52
|
+
const i = this.selectedSeriesIndex;
|
|
53
|
+
i !== void 0 && i >= 0 && this.model.setSeriesColor(t, i);
|
|
54
|
+
}
|
|
52
55
|
this.model.colorMatch = !1;
|
|
53
56
|
}
|
|
54
57
|
}
|
|
55
58
|
}, this.seriesPopoverClose = (e) => {
|
|
56
59
|
const { selectedSeriesIndex: t } = e.detail;
|
|
57
|
-
this.selectedSeriesIndex === t && (this.seriesPopover =
|
|
60
|
+
this.selectedSeriesIndex === t && (this.seriesPopover = S(this.seriesPopover), this.selectedSeriesId = void 0);
|
|
58
61
|
}, this.onModelConfigChange = () => {
|
|
59
|
-
this.requestUpdate();
|
|
62
|
+
this.selectedSeriesId !== void 0 && !this.isNullCategorySelected && this.selectedSeriesIndex === -1 ? (this.removeSeriesPopover(), this.selectedSeriesId = void 0) : this.seriesPopover && (this.seriesPopover.selectedSeriesIndex = this.selectedSeriesIndex), this.requestUpdate();
|
|
60
63
|
}, this.seriesOrderResetCounter = 0, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.arcgisChartsConfigDataChangeError = O();
|
|
61
64
|
}
|
|
62
65
|
static {
|
|
63
|
-
this.properties = { seriesOrderResetCounter: 16,
|
|
66
|
+
this.properties = { seriesOrderResetCounter: 16, selectedSeriesId: 16, messageOverrides: 0, model: 0, activeColorMatch: 5, popoverPlacement: 1 };
|
|
64
67
|
}
|
|
65
68
|
static {
|
|
66
69
|
this.styles = D;
|
|
67
70
|
}
|
|
71
|
+
get selectedSeriesIndex() {
|
|
72
|
+
return this.selectedSeriesId === void 0 ? void 0 : this.model.getSeriesIndex(this.selectedSeriesId);
|
|
73
|
+
}
|
|
68
74
|
load() {
|
|
69
75
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
70
76
|
}
|
|
71
77
|
willUpdate(e) {
|
|
72
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("
|
|
78
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("selectedSeriesId") && this.selectedSeriesChange();
|
|
73
79
|
}
|
|
74
80
|
disconnectedCallback() {
|
|
75
81
|
super.disconnectedCallback(), this.removeSeriesPopover(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -78,37 +84,37 @@ class z extends N {
|
|
|
78
84
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
79
85
|
}
|
|
80
86
|
removeSeriesPopover() {
|
|
81
|
-
this.seriesPopover !== null && this.seriesPopover !== void 0 && (this.seriesPopover.open = !1, this.seriesPopover =
|
|
87
|
+
this.seriesPopover !== null && this.seriesPopover !== void 0 && (this.seriesPopover.open = !1, this.seriesPopover = S(this.seriesPopover));
|
|
82
88
|
}
|
|
83
|
-
|
|
89
|
+
selectedSeriesChange() {
|
|
84
90
|
this.selectedSeriesIndex !== void 0 && (this.seriesPopover = C(a`<arcgis-charts-config-bar-chart-series-popover .referenceElement=${this.el} .selectedName=${this.selectedSeriesIndex != null ? this.model.getSeriesName(this.selectedSeriesIndex) : void 0} .selectedColor=${this.selectedSeriesIndex != null ? this.model.getSeriesColor(this.selectedSeriesIndex) : void 0} .placement=${this.popoverPlacement} .selectedSeriesIndex=${this.selectedSeriesIndex != null ? this.selectedSeriesIndex : void 0} .nullCategory=${this.isNullCategorySelected ? this.model.nullCategory : void 0} .open=${this.open} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-bar-chart-series-popover>`), this.seriesPopover && !document.body.contains(this.seriesPopover) && document.body.appendChild(this.seriesPopover));
|
|
85
91
|
}
|
|
86
92
|
buildSeriesListItems() {
|
|
87
|
-
const e = this.model.seriesLength ?? 0, t = Array.from({ length: e }, (
|
|
88
|
-
return T(t, (
|
|
89
|
-
const
|
|
93
|
+
const e = this.model.seriesLength ?? 0, t = Array.from({ length: e }, (s, o) => o);
|
|
94
|
+
return T(t, (s) => this.model.getSeriesId(s), (s) => {
|
|
95
|
+
const o = this.model.getSeriesId(s), c = this.model.getSeriesColor(s), d = this.model.getSeriesName(s), b = this.model.chartSubType === E.BarAndLineFromFields ? this._messages.series : o;
|
|
90
96
|
let p = "#CCCCCC", u = "minus-square";
|
|
91
97
|
if ((e > 1 || !this.activeColorMatch) && c !== void 0) {
|
|
92
98
|
u = "square-f";
|
|
93
99
|
const [y, $, I, k] = [...c];
|
|
94
100
|
p = `rgba(${y},${$},${I},${k / 255})`;
|
|
95
101
|
}
|
|
96
|
-
return a`<calcite-list-item .label=${d ??
|
|
102
|
+
return a`<calcite-list-item .label=${d ?? o ?? ""} .description=${b} .value=${o} .selected=${this.selectedSeriesId === o} @click=${this.openSeriesPopOver}><calcite-icon .icon=${u} style=${h({ color: p })} slot=content-end></calcite-icon></calcite-list-item>`;
|
|
97
103
|
});
|
|
98
104
|
}
|
|
99
105
|
buildSeriesList() {
|
|
100
|
-
return P(this.seriesOrderResetCounter, a`<calcite-list label class=${r(
|
|
106
|
+
return P(this.seriesOrderResetCounter, a`<calcite-list label class=${r(l.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`);
|
|
101
107
|
}
|
|
102
108
|
buildNullCategoryUI() {
|
|
103
|
-
const e = this.model.nullCategory, t = this._messages.nullCategory,
|
|
104
|
-
return a`<calcite-list label class=${r(
|
|
109
|
+
const e = this.model.nullCategory, t = this._messages.nullCategory, i = g(e)?.color ?? g(v.nullCategory)?.color ?? v.grayColor, [s, o, c, d] = [...i], m = `rgba(${s},${o},${c},${d / 255})`;
|
|
110
|
+
return a`<calcite-list label class=${r(l.list)} selection-mode=none><calcite-list-item .label=${t} .value=${t} .selected=${this.selectedSeriesId !== void 0 && this.isNullCategorySelected} @click=${this.openSeriesPopOver}><calcite-icon icon=square-f style=${h({ color: m })} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
105
111
|
}
|
|
106
112
|
buildMultipleBarTypeList() {
|
|
107
113
|
const e = this.shouldDisableStacking();
|
|
108
|
-
return e && this.model.stackedType !== n.Side && (this.model.stackedType = n.Side), a`<calcite-list label id=${w.stackedType} class=${r(
|
|
114
|
+
return e && this.model.stackedType !== n.Side && (this.model.stackedType = n.Side), a`<calcite-list label id=${w.stackedType} class=${r(l.list)} selection-mode=single-persist selection-appearance=border @click=${this.onMultipleBarSelect}><calcite-list-item .label=${this._messages.sideBySide} .value=${n.Side} .selected=${this.model.stackedType === void 0 || this.model.stackedType === n.Side}><calcite-icon scale=l icon=graph-bar-side-by-side slot=content-start></calcite-icon></calcite-list-item><calcite-list-item class=${r(e ? l.disabledStackingOption : "")} .label=${this._messages.stacked} .value=${n.Stacked} .selected=${this.model.stackedType === n.Stacked}><calcite-icon scale=l icon=graph-bar-stacked slot=content-start></calcite-icon>${e && a`<calcite-icon class=${r(l.disabledInfo)} slot=content-end icon=information scale=s flip-rtl @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-icon>` || ""}</calcite-list-item><calcite-list-item class=${r(e ? l.disabledStackingOption : "")} .label=${this._messages.stacked100} .value=${n.Stacked100} .selected=${this.model.stackedType === n.Stacked100}><calcite-icon scale=l icon=graph-bar100-stacked slot=content-start></calcite-icon>${e && a`<calcite-icon class=${r(l.disabledInfo)} slot=content-end icon=information scale=s flip-rtl @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-icon>` || ""}</calcite-list-item></calcite-list>`;
|
|
109
115
|
}
|
|
110
116
|
resetSeriesOriginal() {
|
|
111
|
-
this.
|
|
117
|
+
this.selectedSeriesId = void 0, this.model.resetSeriesStyling(), this.seriesOrderResetCounter += 1;
|
|
112
118
|
}
|
|
113
119
|
onMultipleBarSelect(e) {
|
|
114
120
|
if (!this.shouldDisableStacking()) {
|
|
@@ -118,27 +124,27 @@ class z extends N {
|
|
|
118
124
|
}
|
|
119
125
|
onCalciteListOrderChange(e) {
|
|
120
126
|
if (e.detail !== null && e.detail !== void 0) {
|
|
121
|
-
const { newIndex: t, oldIndex:
|
|
122
|
-
this.model.moveSeries(
|
|
127
|
+
const { newIndex: t, oldIndex: i } = e.detail;
|
|
128
|
+
this.model.moveSeries(i ?? 0, t ?? i ?? 0), this.seriesOrderResetCounter += 1;
|
|
123
129
|
}
|
|
124
130
|
}
|
|
125
131
|
openSeriesPopOver(e) {
|
|
126
132
|
e.stopImmediatePropagation(), this.removeSeriesPopover();
|
|
127
|
-
const t = e.target,
|
|
128
|
-
this.
|
|
133
|
+
const t = e.target, i = t.localName === "calcite-list-item" ? t : t.parentNode;
|
|
134
|
+
this.isNullCategorySelected = i.value === this._messages.nullCategory, this.open = this.selectedSeriesId !== i.value, this.selectedSeriesId = this.open ? i.value : void 0;
|
|
129
135
|
}
|
|
130
136
|
createTooltip(e) {
|
|
131
|
-
const t = e.target,
|
|
132
|
-
this.tooltip = C(a`<calcite-tooltip style=${h({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${
|
|
137
|
+
const t = e.target, i = (this.model.aggregationType === f.NoAggregation ? this._messages.noAggStackingDisabled : this._messages.singleStackingDisabled) ?? "";
|
|
138
|
+
this.tooltip = C(a`<calcite-tooltip style=${h({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
133
139
|
}
|
|
134
140
|
destroyTooltip() {
|
|
135
141
|
_(this.tooltip);
|
|
136
142
|
}
|
|
137
143
|
shouldDisableStacking() {
|
|
138
|
-
return (this.model.seriesLength ?? 0) <= 1 || this.model.aggregationType ===
|
|
144
|
+
return (this.model.seriesLength ?? 0) <= 1 || this.model.aggregationType === f.NoAggregation;
|
|
139
145
|
}
|
|
140
146
|
render() {
|
|
141
|
-
return a`<div class=${`${
|
|
147
|
+
return a`<div class=${`${l.sectionLabel} ${l.topSection}`}>${this._messages.displayMultiSeries}</div>${this.buildMultipleBarTypeList()}<div class=${r(l.sectionLabel)}>${this._messages.series}<calcite-button @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSeriesList()}${this.model.nullCategory !== void 0 && this.model.fetchNULLValues ? this.buildNullCategoryUI() : null}`;
|
|
142
148
|
}
|
|
143
149
|
}
|
|
144
150
|
x("arcgis-charts-config-bar-chart-series", z);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c } 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 l } from "@arcgis/lumina";
|
|
7
7
|
import { e as v } from "../../chunks/popover-ui-utils.js";
|
|
8
|
-
import { r as f } from "../../chunks/
|
|
9
|
-
import {
|
|
8
|
+
import { r as f } from "../../chunks/index2.js";
|
|
9
|
+
import { aG as u } from "../../chunks/index.js";
|
|
10
10
|
const n = {
|
|
11
11
|
panelChildrenContainer: "panel-children-container"
|
|
12
12
|
}, y = 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,10 +1,10 @@
|
|
|
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 { LitElement as n } from "@arcgis/lumina";
|
|
4
4
|
import { css as c, html as t } from "lit";
|
|
5
5
|
import { isEqual as l } from "es-toolkit/compat";
|
|
6
6
|
import { C as a } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
7
|
+
import { c9 as d, ca as h, v as f } from "../../chunks/index.js";
|
|
8
8
|
const g = 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
9
|
class m extends n {
|
|
10
10
|
constructor() {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as b } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
4
|
-
import { isEqual as
|
|
5
|
-
import { repeat as
|
|
6
|
-
import { b as l, a as
|
|
7
|
-
import { d as
|
|
8
|
-
import { b as
|
|
9
|
-
import { u as
|
|
10
|
-
import { css as
|
|
11
|
-
import { createRef as
|
|
12
|
-
import { LitElement as B, createEvent as
|
|
13
|
-
import { x as
|
|
14
|
-
import { B as
|
|
15
|
-
import { l as u } from "../../chunks/
|
|
16
|
-
import {
|
|
17
|
-
import { r as
|
|
4
|
+
import { isEqual as y } from "es-toolkit/compat";
|
|
5
|
+
import { repeat as S } from "lit/directives/repeat.js";
|
|
6
|
+
import { b as l, a as c } from "../../chunks/interfaces.js";
|
|
7
|
+
import { d as v, a as $ } from "../../chunks/store.js";
|
|
8
|
+
import { b as g } from "../../chunks/chart-ui-utils.js";
|
|
9
|
+
import { u as x } from "../../chunks/useT9n.js";
|
|
10
|
+
import { css as F, nothing as I, html as a } from "lit";
|
|
11
|
+
import { createRef as d, ref as m } from "lit/directives/ref.js";
|
|
12
|
+
import { LitElement as B, createEvent as L, safeClassMap as o, renderElement as P } from "@arcgis/lumina";
|
|
13
|
+
import { x as O } from "../../chunks/data.js";
|
|
14
|
+
import { B as h } from "../../chunks/common.js";
|
|
15
|
+
import { l as u } from "../../chunks/index2.js";
|
|
16
|
+
import { c6 as w, B as p } from "../../chunks/index.js";
|
|
17
|
+
import { r as C } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { a as k } from "../../chunks/chart-object-literals.js";
|
|
19
19
|
const r = {
|
|
20
20
|
label: "label",
|
|
@@ -23,33 +23,34 @@ const r = {
|
|
|
23
23
|
dimText: "dim-text",
|
|
24
24
|
list: "list",
|
|
25
25
|
customSortButtons: "custom-sort-buttons"
|
|
26
|
-
}, D =
|
|
26
|
+
}, D = F`.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: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}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major);max-height:400px;overflow-y:auto}.custom-sort-buttons{display:flex;justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}`;
|
|
27
27
|
class E extends B {
|
|
28
28
|
constructor() {
|
|
29
|
-
super(...arguments), this._messages =
|
|
29
|
+
super(...arguments), this._messages = x(), this.boxPlotPopover = null, this.categoryElement = d(), this.numericFieldsElement = d(), this.splitByFieldElement = d(), this.sortOrderElement = d(), this.originalCustomSortLabels = [], this.isCustomSortDisabled = !1, this.onModelConfigChange = () => {
|
|
30
30
|
this.requestUpdate();
|
|
31
|
-
}, this.
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
}, this.onModelDataChange = async () => {
|
|
32
|
+
if (this.model.getDataSortOrder() === h.customSort) {
|
|
33
|
+
const e = await this.updateCustomSortProps();
|
|
34
|
+
this.model.orderByList = e, this.sortOrderResetCounter += 1;
|
|
35
|
+
} else
|
|
36
|
+
await this.updateCustomSortDisabled();
|
|
37
|
+
this.requestUpdate();
|
|
38
|
+
}, this.popoverClose = (e) => {
|
|
39
|
+
this.boxPlotPopover === e?.target && (this.boxPlotPopover = C(this.boxPlotPopover));
|
|
40
|
+
}, this.onBoxPlotDataChange = async (e) => {
|
|
34
41
|
try {
|
|
35
|
-
if (
|
|
36
|
-
const { contentKind:
|
|
37
|
-
switch (
|
|
42
|
+
if (e.detail !== null && e.detail?.value !== void 0) {
|
|
43
|
+
const { contentKind: t } = e.detail, s = [...e.detail.value];
|
|
44
|
+
switch (v($), t) {
|
|
38
45
|
case l.category: {
|
|
39
46
|
const i = s[0]?.trim() || u;
|
|
40
|
-
|
|
41
|
-
const n = await this.updateCustomSortProps();
|
|
42
|
-
this.model.orderByList = n, this.sortOrderResetCounter += 1;
|
|
43
|
-
}
|
|
47
|
+
this.model.category = i;
|
|
44
48
|
break;
|
|
45
49
|
}
|
|
46
50
|
case l.numericFields: {
|
|
47
51
|
this.model.numericFields = s;
|
|
48
52
|
const i = s.length > 1;
|
|
49
|
-
|
|
50
|
-
const n = await this.updateCustomSortProps();
|
|
51
|
-
this.model.orderByList = n, this.sortOrderResetCounter += 1;
|
|
52
|
-
}
|
|
53
|
+
this.model.standardizeValues = i;
|
|
53
54
|
break;
|
|
54
55
|
}
|
|
55
56
|
case l.splitByField: {
|
|
@@ -60,7 +61,7 @@ class E extends B {
|
|
|
60
61
|
case l.sortOrder:
|
|
61
62
|
{
|
|
62
63
|
const i = s[0];
|
|
63
|
-
if (i ===
|
|
64
|
+
if (i === h.customSort) {
|
|
64
65
|
const n = await this.updateCustomSortProps();
|
|
65
66
|
this.model.setDataSortOrder(i, n);
|
|
66
67
|
} else
|
|
@@ -72,11 +73,11 @@ class E extends B {
|
|
|
72
73
|
break;
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
|
-
} catch (
|
|
76
|
-
throw
|
|
76
|
+
} catch (t) {
|
|
77
|
+
throw t instanceof Error && this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
77
78
|
}
|
|
78
79
|
this.requestUpdate();
|
|
79
|
-
}, this.selectedCustomSortItemId = "", this.sortOrderResetCounter = 0, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError =
|
|
80
|
+
}, this.selectedCustomSortItemId = "", this.sortOrderResetCounter = 0, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError = L();
|
|
80
81
|
}
|
|
81
82
|
static {
|
|
82
83
|
this.properties = { selectedCustomSortItemId: 16, sortOrderResetCounter: 16, messageOverrides: 0, model: 0, layerFieldsInfo: 0 };
|
|
@@ -85,134 +86,135 @@ class E extends B {
|
|
|
85
86
|
this.styles = D;
|
|
86
87
|
}
|
|
87
88
|
load() {
|
|
88
|
-
this.modelChange(this.model), this.onModelConfigChange(), this.
|
|
89
|
+
this.modelChange(this.model), this.onModelConfigChange(), this.updateCustomSortProps();
|
|
89
90
|
}
|
|
90
|
-
willUpdate(
|
|
91
|
-
|
|
91
|
+
willUpdate(e) {
|
|
92
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), this.disableSplitBy = this.model.numericFields.length === 0 || this.model.numericFields.length > 1 && this.model.category !== u;
|
|
92
93
|
}
|
|
93
94
|
disconnectedCallback() {
|
|
94
|
-
super.disconnectedCallback(), this.boxPlotPopover =
|
|
95
|
+
super.disconnectedCallback(), this.boxPlotPopover = C(this.boxPlotPopover), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), this.model.removeEventListener("arcgisChartsModelDataChange", this.onModelDataChange);
|
|
95
96
|
}
|
|
96
|
-
modelChange(
|
|
97
|
-
|
|
97
|
+
modelChange(e, t) {
|
|
98
|
+
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), t?.removeEventListener("arcgisChartsModelDataChange", this.onModelDataChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelDataChange", this.onModelDataChange);
|
|
98
99
|
}
|
|
99
|
-
onCalciteListOrderChange(
|
|
100
|
-
if (
|
|
101
|
-
const { newIndex:
|
|
102
|
-
this.model.moveCustomSortValuesInOrderByList(s ?? 0,
|
|
100
|
+
onCalciteListOrderChange(e) {
|
|
101
|
+
if (e.detail !== null && e.detail !== void 0) {
|
|
102
|
+
const { newIndex: t, oldIndex: s } = e.detail;
|
|
103
|
+
this.model.moveCustomSortValuesInOrderByList(s ?? 0, t ?? s ?? 0);
|
|
103
104
|
}
|
|
104
105
|
}
|
|
105
|
-
onCustomSortItemSelected(
|
|
106
|
-
const { id:
|
|
107
|
-
this.selectedCustomSortItemId = this.selectedCustomSortItemId ===
|
|
106
|
+
onCustomSortItemSelected(e) {
|
|
107
|
+
const { id: t } = e.target;
|
|
108
|
+
this.selectedCustomSortItemId = this.selectedCustomSortItemId === t ? "" : t;
|
|
108
109
|
}
|
|
109
|
-
onCustomSortListClick(
|
|
110
|
-
|
|
110
|
+
onCustomSortListClick(e) {
|
|
111
|
+
e.preventDefault();
|
|
111
112
|
}
|
|
112
|
-
onCustomSortItemMoved(
|
|
113
|
-
const { id:
|
|
113
|
+
onCustomSortItemMoved(e) {
|
|
114
|
+
const { id: t } = e.target;
|
|
114
115
|
let s = this.model.orderByList.length;
|
|
115
116
|
const i = this.model.orderByList.indexOf(this.selectedCustomSortItemId);
|
|
116
|
-
|
|
117
|
+
t === c.Up ? s = i - 1 : t === c.Down && (s = i + 1), i >= 0 && s >= 0 && s < this.model.orderByList.length && this.model.moveCustomSortValuesInOrderByList(i, s);
|
|
117
118
|
}
|
|
118
119
|
buildCustomSortListItems() {
|
|
119
|
-
return
|
|
120
|
-
const s = w(this.layerFieldsInfo,
|
|
121
|
-
return a`<calcite-list-item id=${
|
|
120
|
+
return S(this.model.orderByList, (t) => t, (t) => {
|
|
121
|
+
const s = w(this.layerFieldsInfo, t);
|
|
122
|
+
return a`<calcite-list-item id=${t ?? I} .label=${t ?? ""} .description=${s} .value=${t} .selected=${this.selectedCustomSortItemId === t} @calciteListItemSelect=${this.onCustomSortItemSelected}><calcite-icon slot=content-end></calcite-icon></calcite-list-item>`;
|
|
122
123
|
});
|
|
123
124
|
}
|
|
124
125
|
buildCustomSortList() {
|
|
125
126
|
return f(this.sortOrderResetCounter, a`<calcite-list label class=${o(r.list)} drag-enabled selection-mode=single selection-appearance=border @click=${this.onCustomSortListClick} @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildCustomSortListItems()}</calcite-list>`);
|
|
126
127
|
}
|
|
127
|
-
buildNumericFieldItem(
|
|
128
|
-
return f(
|
|
128
|
+
buildNumericFieldItem(e) {
|
|
129
|
+
return f(e, a`<calcite-list-item .label=${p(this.layerFieldsInfo, e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`);
|
|
129
130
|
}
|
|
130
|
-
onCategorySelect(
|
|
131
|
-
this.categoryElement.value && !this.categoryElement.value.disabled && (this.contentKind = l.category, this.setupPopover(
|
|
131
|
+
onCategorySelect(e) {
|
|
132
|
+
this.categoryElement.value && !this.categoryElement.value.disabled && (this.contentKind = l.category, this.setupPopover(e));
|
|
132
133
|
}
|
|
133
|
-
async onRemoveNumericField(
|
|
134
|
-
const
|
|
135
|
-
|
|
136
|
-
const s = await this.updateCustomSortProps();
|
|
137
|
-
this.model.orderByList = s, this.sortOrderResetCounter += 1;
|
|
138
|
-
}
|
|
134
|
+
async onRemoveNumericField(e) {
|
|
135
|
+
const t = e.target.value;
|
|
136
|
+
this.model.numericFields = this.model.numericFields.filter((s) => s !== t), this.model.numericFields.length === 0 && this.model.resetConfig();
|
|
139
137
|
}
|
|
140
138
|
async updateCustomSortProps() {
|
|
141
|
-
const
|
|
142
|
-
this.originalCustomSortLabels = [...
|
|
143
|
-
const
|
|
144
|
-
return
|
|
139
|
+
const e = await this.model.getCustomSortValues();
|
|
140
|
+
this.originalCustomSortLabels = [...e];
|
|
141
|
+
const t = e.length > g.customSortLimit;
|
|
142
|
+
return t && (this.sortOrderElement.value && (this.sortOrderElement.value.label = this._messages.xAxisAsc), this.model.setDataSortOrder(h.xAxisAsc)), this.isCustomSortDisabled = t, e;
|
|
143
|
+
}
|
|
144
|
+
async updateCustomSortDisabled() {
|
|
145
|
+
const e = await this.model.getCustomSortValues(g.customSortLimit + 1);
|
|
146
|
+
this.isCustomSortDisabled = e.length > g.customSortLimit;
|
|
145
147
|
}
|
|
146
|
-
onStandardizeValuesChange(
|
|
147
|
-
this.model.standardizeValues =
|
|
148
|
+
onStandardizeValuesChange(e) {
|
|
149
|
+
this.model.standardizeValues = e.target.checked;
|
|
148
150
|
}
|
|
149
|
-
onShowOutliersChange(
|
|
150
|
-
this.model.showOutliers =
|
|
151
|
+
onShowOutliersChange(e) {
|
|
152
|
+
this.model.showOutliers = e.target.checked;
|
|
151
153
|
}
|
|
152
|
-
onSplitBySelect(
|
|
153
|
-
this.splitByFieldElement.value && !this.splitByFieldElement.value.disabled && (this.contentKind = l.splitByField, this.setupPopover(
|
|
154
|
+
onSplitBySelect(e) {
|
|
155
|
+
this.splitByFieldElement.value && !this.splitByFieldElement.value.disabled && (this.contentKind = l.splitByField, this.setupPopover(e));
|
|
154
156
|
}
|
|
155
|
-
onSortOrderSelect(
|
|
156
|
-
this.contentKind = l.sortOrder, this.setupPopover(
|
|
157
|
+
onSortOrderSelect(e) {
|
|
158
|
+
this.contentKind = l.sortOrder, this.setupPopover(e);
|
|
157
159
|
}
|
|
158
|
-
setupPopover(
|
|
159
|
-
|
|
160
|
-
let
|
|
160
|
+
setupPopover(e) {
|
|
161
|
+
e.stopImmediatePropagation(), this.boxPlotPopover = C(this.boxPlotPopover);
|
|
162
|
+
let t, s, i, n = !1;
|
|
161
163
|
switch (this.contentKind) {
|
|
162
164
|
case l.category:
|
|
163
|
-
|
|
165
|
+
t = this.categoryElement.value, s = this._messages.categoryHeader, i = this.model.category === u ? "" : this.model.category;
|
|
164
166
|
break;
|
|
165
167
|
case l.numericFields:
|
|
166
|
-
|
|
168
|
+
t = this.numericFieldsElement.value, s = this._messages.numericFieldsHeader, i = this.model.numericFields;
|
|
167
169
|
break;
|
|
168
170
|
case l.splitByField:
|
|
169
|
-
|
|
171
|
+
t = this.splitByFieldElement.value, s = this._messages.splitByFieldHeader, i = this.model.splitByField;
|
|
170
172
|
break;
|
|
171
173
|
case l.sortOrder:
|
|
172
|
-
|
|
174
|
+
t = this.sortOrderElement.value, s = this._messages.selectSortOrder, i = this.model.getDataSortOrder(), n = this.isCustomSortDisabled;
|
|
173
175
|
break;
|
|
174
176
|
}
|
|
175
|
-
this.boxPlotPopover =
|
|
177
|
+
this.boxPlotPopover = P(a`<arcgis-charts-config-box-plot-popover .headingTitle=${s} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${i} .isCustomSortDisabled=${n} @arcgisChartsConfigBoxPlotDataPopoverChange=${this.onBoxPlotDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-box-plot-popover>`), !document.body.contains(this.boxPlotPopover) && this.boxPlotPopover !== null && document.body.appendChild(this.boxPlotPopover);
|
|
176
178
|
}
|
|
177
|
-
onAddNumericFields(
|
|
178
|
-
this.contentKind = l.numericFields, this.setupPopover(
|
|
179
|
+
onAddNumericFields(e) {
|
|
180
|
+
this.contentKind = l.numericFields, this.setupPopover(e);
|
|
179
181
|
}
|
|
180
182
|
getCorrectedSplitByValue() {
|
|
181
|
-
return this.model.splitByField?.trim() === "" ? "" :
|
|
183
|
+
return this.model.splitByField?.trim() === "" ? "" : p(this.layerFieldsInfo, this.model.splitByField);
|
|
182
184
|
}
|
|
183
185
|
getCorrectedCategoryValue() {
|
|
184
|
-
return
|
|
186
|
+
return O({
|
|
185
187
|
fieldName: this.model.category,
|
|
186
188
|
fieldList: this.layerFieldsInfo
|
|
187
|
-
}) ? "" :
|
|
189
|
+
}) ? "" : p(this.layerFieldsInfo, this.model.category);
|
|
188
190
|
}
|
|
189
191
|
resetToOriginalCustomSortLabels() {
|
|
190
192
|
this.selectedCustomSortItemId = "", this.model.orderByList = [...this.originalCustomSortLabels], this.sortOrderResetCounter += 1;
|
|
191
193
|
}
|
|
192
194
|
renderCustomSortUI() {
|
|
193
|
-
const
|
|
194
|
-
return
|
|
195
|
+
const e = this.model.getDataSortOrder(), t = this.model.getAxisValueFormat(0)?.type, s = this.model.orderByList.indexOf(this.selectedCustomSortItemId);
|
|
196
|
+
return t === k.CategoryAxisFormat && e === h.customSort && !this.isCustomSortDisabled ? a`<calcite-label class=${o(r.label)}><div class=${o(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${s === 0 || s === -1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-up id=${c.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${s === -1 || s === this.model.orderByList.length - 1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-down id=${c.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${y(this.model.orderByList, this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.model.category === u ? this._messages.values : this._messages.category}${this.buildCustomSortList()}</calcite-label>` : null;
|
|
195
197
|
}
|
|
196
|
-
renderNumericFields(
|
|
197
|
-
const
|
|
198
|
-
for (const s of
|
|
199
|
-
|
|
200
|
-
return a`<calcite-list label class=${o(r.fieldList)} ${
|
|
198
|
+
renderNumericFields(e) {
|
|
199
|
+
const t = [];
|
|
200
|
+
for (const s of e)
|
|
201
|
+
t.push(this.buildNumericFieldItem(s));
|
|
202
|
+
return a`<calcite-list label class=${o(r.fieldList)} ${m(this.numericFieldsElement)}>${t}</calcite-list>`;
|
|
201
203
|
}
|
|
202
204
|
renderCategory() {
|
|
203
|
-
const
|
|
204
|
-
return a`<arcgis-charts-config-field-picker .label=${
|
|
205
|
+
const e = this.getCorrectedCategoryValue(), t = this.model.numericFields.length === 0 || (this.model.numericFields ?? []).length > 1 && this.model.splitByField !== "";
|
|
206
|
+
return a`<arcgis-charts-config-field-picker .label=${e} .disabled=${t} @click=${this.onCategorySelect} ${m(this.categoryElement)}></arcgis-charts-config-field-picker>`;
|
|
205
207
|
}
|
|
206
208
|
renderSplitBy() {
|
|
207
|
-
const
|
|
208
|
-
return a`<arcgis-charts-config-field-picker .label=${
|
|
209
|
+
const e = this.getCorrectedSplitByValue();
|
|
210
|
+
return a`<arcgis-charts-config-field-picker .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${m(this.splitByFieldElement)}></arcgis-charts-config-field-picker>`;
|
|
209
211
|
}
|
|
210
212
|
renderSorting() {
|
|
211
|
-
return a`<arcgis-charts-config-field-picker .label=${this._messages[this.model.getDataSortOrder()]} @click=${this.onSortOrderSelect} ${
|
|
213
|
+
return a`<arcgis-charts-config-field-picker .label=${this._messages[this.model.getDataSortOrder()]} @click=${this.onSortOrderSelect} ${m(this.sortOrderElement)}></arcgis-charts-config-field-picker>`;
|
|
212
214
|
}
|
|
213
215
|
render() {
|
|
214
|
-
const
|
|
215
|
-
return a`<calcite-label class=${o(r.label)}>${this._messages.numericFields}${
|
|
216
|
+
const e = this.renderCategory(), t = this.renderNumericFields([...this.model.numericFields ?? []]), s = this.renderSplitBy(), i = this.renderSorting(), n = this.renderCustomSortUI();
|
|
217
|
+
return a`<calcite-label class=${o(r.label)}>${this._messages.numericFields}${t}</calcite-label><div class=${o(r.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div><calcite-label class=${o(r.label)}><div>${this._messages.category} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${e}</calcite-label><calcite-label class=${o(r.label)}><div class=${o(this.disableSplitBy ? r.dimText : "")}>${this._messages.splitBy} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${s}</calcite-label><div>${(this.model.numericFields ?? []).length > 1 ? a`<calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.standardizeValues}<calcite-switch .checked=${this.model.standardizeValues} @calciteSwitchChange=${this.onStandardizeValuesChange}></calcite-switch></calcite-label>` : null}</div><calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.showOutliers}<calcite-switch .checked=${this.model.showOutliers} @calciteSwitchChange=${this.onShowOutliersChange}></calcite-switch></calcite-label><calcite-label class=${o(r.label)}>${this._messages.sortOrder}${i}</calcite-label>${n}`;
|
|
216
218
|
}
|
|
217
219
|
}
|
|
218
220
|
b("arcgis-charts-config-box-plot-data", E);
|