@arcgis/charts-components 5.0.0-next.28 → 5.0.0-next.29
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/{XL4KQLHA.js → 227RYINO.js} +2 -2
- package/dist/cdn/{WJIDNWD4.js → 23M5MWUE.js} +2 -2
- package/dist/cdn/{45B2VPBB.js → 2HCL3U7H.js} +2 -2
- package/dist/cdn/{VMOMJF2S.js → 2Z6JBI37.js} +2 -2
- package/dist/cdn/{IHZW5EKG.js → 35KPRVEF.js} +2 -2
- package/dist/cdn/{H5DN5QBP.js → 3AAIHJ7T.js} +2 -2
- package/dist/cdn/{ZRTXEF4M.js → 3HYPAN4R.js} +2 -2
- package/dist/cdn/3MYBAIBN.js +4 -0
- package/dist/cdn/{6HNR27P6.js → 3QJFSEVH.js} +1 -1
- package/dist/cdn/{MPFXH6FB.js → 453IXEPF.js} +2 -2
- package/dist/cdn/{5YX5RQNF.js → 45C6N7LH.js} +2 -2
- package/dist/cdn/{W2TO4JSV.js → 4BQXI4YX.js} +2 -2
- package/dist/cdn/{77GAR6O7.js → 4DCX7URB.js} +2 -2
- package/dist/cdn/{Y32TQLWJ.js → 4F2ISRHO.js} +2 -2
- package/dist/cdn/{QARR2BNJ.js → 4GCDQA7H.js} +2 -2
- package/dist/cdn/{2HDW5YZH.js → 54J3X5S5.js} +2 -2
- package/dist/cdn/55BWCUT2.js +4 -0
- package/dist/cdn/{YVW252CK.js → 57BTF2Z4.js} +2 -2
- package/dist/cdn/{KVRP5DJG.js → 5ETGG6RV.js} +2 -2
- package/dist/cdn/{AKOVKAFO.js → 5FYIRWLE.js} +2 -2
- package/dist/cdn/{KGITN32X.js → 5LNXKT26.js} +2 -2
- package/dist/cdn/5WWKQYWT.js +4 -0
- package/dist/cdn/{OFCZJHOC.js → 5X4MPWCG.js} +2 -2
- package/dist/cdn/{D5DEVMBH.js → 65SJM5EY.js} +2 -2
- package/dist/cdn/6AIA5KG7.js +4 -0
- package/dist/cdn/{JJJIIQSD.js → 6L6A7GDI.js} +1 -1
- package/dist/cdn/{A5KCHMW4.js → 6QKN62GA.js} +2 -2
- package/dist/cdn/{CVMFRSNZ.js → 6RLPOJ3P.js} +2 -2
- package/dist/cdn/{N7HKIKNE.js → 6SKDAYJC.js} +2 -2
- package/dist/cdn/{WF7AHGX5.js → 7552FTOS.js} +2 -2
- package/dist/cdn/{DF6NCE6M.js → 77AKUFT5.js} +2 -2
- package/dist/cdn/77ATZLPU.js +4 -0
- package/dist/cdn/{7I53MFLW.js → 7ATEKLU6.js} +2 -2
- package/dist/cdn/{XCSLE3V2.js → 7AWMRTC6.js} +2 -2
- package/dist/cdn/{OCWHH3VO.js → 7FKCGDFG.js} +2 -2
- package/dist/cdn/{XT65XVWW.js → 7RS3RAYV.js} +2 -2
- package/dist/cdn/7VQUMOZF.js +4 -0
- package/dist/cdn/A24FRLXF.js +4 -0
- package/dist/cdn/{TOW2DKYI.js → A66MC2SV.js} +2 -2
- package/dist/cdn/{7S7JDPVI.js → AFOIFSSK.js} +2 -2
- package/dist/cdn/{C6FHLHT5.js → AJGUKEEM.js} +2 -2
- package/dist/cdn/{3QAFHN7Q.js → B3RIO3SG.js} +2 -2
- package/dist/cdn/B56QXSPE.js +4 -0
- package/dist/cdn/{25Y2DXCM.js → B6EZZFR7.js} +2 -2
- package/dist/cdn/{PM76JFZI.js → BBI3MFZ6.js} +2 -2
- package/dist/cdn/{64PSJBIK.js → BGBYNSCQ.js} +1 -1
- package/dist/cdn/{FTF7DBN3.js → BJEXT42Q.js} +2 -2
- package/dist/cdn/C55F6NAR.js +4 -0
- package/dist/cdn/{OYMTYZNK.js → CFRGSA7C.js} +2 -2
- package/dist/cdn/{OR4HA4EK.js → CGWFSGUD.js} +2 -2
- package/dist/cdn/{GMPHSCM5.js → CHQCRNXG.js} +2 -2
- package/dist/cdn/{MPECBXGM.js → CRYZGBKK.js} +1 -1
- package/dist/cdn/{R5TQTV73.js → CSPJBFH3.js} +2 -2
- package/dist/cdn/D4YIZPNP.js +4 -0
- package/dist/cdn/{WKIFJZVE.js → D63B4VGS.js} +2 -2
- package/dist/cdn/{MQXMA3FC.js → DALKQNAN.js} +2 -2
- package/dist/cdn/DDAGI7DE.js +4 -0
- package/dist/cdn/DGWOSLGL.js +4 -0
- package/dist/cdn/{74RHQ7DA.js → DNLK6AYR.js} +2 -2
- package/dist/cdn/{3G4LKUTY.js → DRY326KA.js} +2 -2
- package/dist/cdn/{YRHP42RI.js → E24V33OI.js} +2 -2
- package/dist/cdn/{KTJBFEOB.js → E6L24TR2.js} +1 -1
- package/dist/cdn/{67NJCVAP.js → EBV2ENFM.js} +2 -2
- package/dist/cdn/ECD57S6V.js +4 -0
- package/dist/cdn/{EZZOGDGS.js → EHBJDMOB.js} +2 -2
- package/dist/cdn/{QABDHBIJ.js → EJMON4YC.js} +2 -2
- package/dist/cdn/{WT2E2GCC.js → EKC5APDE.js} +2 -2
- package/dist/cdn/{2T723BS7.js → EKRJKSG2.js} +2 -2
- package/dist/cdn/EPGI27US.js +4 -0
- package/dist/cdn/EPXZZOTU.js +4 -0
- package/dist/cdn/{4ZI3RX4F.js → EQH4DSMZ.js} +2 -2
- package/dist/cdn/ESFDHKMV.js +4 -0
- package/dist/cdn/{4G4UM3U5.js → EW6S3LTP.js} +2 -2
- package/dist/cdn/{SNJATEUS.js → FFSIXTYR.js} +2 -2
- package/dist/cdn/{BS4SEXOB.js → FXKWJZNP.js} +2 -2
- package/dist/cdn/{ON3KRWLP.js → G7CEZFIL.js} +2 -2
- package/dist/cdn/{HF53CWQW.js → G7MCEKXD.js} +2 -2
- package/dist/cdn/{3YFQ3LAO.js → GDKTUYSX.js} +2 -2
- package/dist/cdn/{SO726PXH.js → GK4OFOIA.js} +2 -2
- package/dist/cdn/{H24ELZFT.js → GSJDDOET.js} +2 -2
- package/dist/cdn/{QZ5WCCHX.js → GVCMJJFD.js} +2 -2
- package/dist/cdn/{4X4CSSG3.js → GXXWPIZT.js} +2 -2
- package/dist/cdn/{BW52FUUE.js → H4U27W7Q.js} +2 -2
- package/dist/cdn/{BX5J3RTH.js → H7E7ID6M.js} +2 -2
- package/dist/cdn/{EZHEJJAQ.js → HGUBIU33.js} +2 -2
- package/dist/cdn/{3USMTJRM.js → HQRJWRMU.js} +2 -2
- package/dist/cdn/{6EYPDFD6.js → I3QEK34U.js} +2 -2
- package/dist/cdn/{MELC5H3X.js → I7GVESLR.js} +2 -2
- package/dist/cdn/{N2DWQGZ5.js → IC4FKOXT.js} +2 -2
- package/dist/cdn/IQASZL7P.js +4 -0
- package/dist/cdn/{WZ5DTCDR.js → IVH7GZXL.js} +2 -2
- package/dist/cdn/{DTWQFFJB.js → IVLHFKHS.js} +2 -2
- package/dist/cdn/{N3FAQAMU.js → IYFODUPO.js} +2 -2
- package/dist/cdn/{ZF6PR3CC.js → JBSLVUMR.js} +2 -2
- package/dist/cdn/{EKD3FWCW.js → JLSBQ7YP.js} +2 -2
- package/dist/cdn/JOQQHVL6.js +4 -0
- package/dist/cdn/{7D6VNU6H.js → JWIG6MAR.js} +2 -2
- package/dist/cdn/KJP3NSS3.js +4 -0
- package/dist/cdn/{FHNP2POD.js → KUL2HAU7.js} +2 -2
- package/dist/cdn/KWL6G6NA.js +4 -0
- package/dist/cdn/{U7NBB3LB.js → L4DVEQYV.js} +2 -2
- package/dist/cdn/{ACNNRA7A.js → L5VY4U7P.js} +2 -2
- package/dist/cdn/{WYRL5JOP.js → L6U2LQ2J.js} +2 -2
- package/dist/cdn/LJYF4M56.js +4 -0
- package/dist/cdn/{AJWZT5VX.js → LNUONQ5V.js} +2 -2
- package/dist/cdn/{Z3U5RHH6.js → LOBDYZO2.js} +2 -2
- package/dist/cdn/{WRENDH4A.js → LPJD7BMO.js} +2 -2
- package/dist/cdn/{I6XMDHMQ.js → LSVBJ4HE.js} +2 -2
- package/dist/cdn/{UMLBYNLG.js → LVTQ6DSG.js} +2 -2
- package/dist/cdn/{OCCESY5K.js → LZV5G44W.js} +2 -2
- package/dist/cdn/MBB2UL4T.js +4 -0
- package/dist/cdn/{WO45HJEA.js → MCBPRI3J.js} +2 -2
- package/dist/cdn/{SC3GQZ4Z.js → MCOY2D62.js} +2 -2
- package/dist/cdn/{TJAPHL6Q.js → MUABWJE4.js} +2 -2
- package/dist/cdn/{NU33XYS3.js → NEBXOTVO.js} +2 -2
- package/dist/cdn/{E53MXDA2.js → NEJSN3JR.js} +2 -2
- package/dist/cdn/NFLWTDWD.js +4 -0
- package/dist/cdn/{I5MGKQSH.js → NG4TI5KJ.js} +2 -2
- package/dist/cdn/{TUZK6L6M.js → NNP3VY3V.js} +2 -2
- package/dist/cdn/{AMEYGTC4.js → NTYT4R5I.js} +2 -2
- package/dist/cdn/{AKBERJGC.js → OBWIKUGC.js} +2 -2
- package/dist/cdn/{JKOP6ROV.js → OLF3U57N.js} +2 -2
- package/dist/cdn/{AWQASTYP.js → OSBW6FOC.js} +2 -2
- package/dist/cdn/{6LXPCVBU.js → P55NWIZK.js} +2 -2
- package/dist/cdn/{K5J3GIHV.js → P6LSZKPN.js} +2 -2
- package/dist/cdn/{G7DYCHMZ.js → PRJMBVC7.js} +2 -2
- package/dist/cdn/{2LYQEQ4W.js → PTLGU4MB.js} +2 -2
- package/dist/cdn/{AXB3W3DZ.js → QD3INGMU.js} +2 -2
- package/dist/cdn/QE3FFWAY.js +4 -0
- package/dist/cdn/{ITISYU34.js → QEV7J2TW.js} +2 -2
- package/dist/cdn/{ERMGHHYH.js → QNTKIML6.js} +2 -2
- package/dist/cdn/{QWP3HHF3.js → QUPCFWTB.js} +2 -2
- package/dist/cdn/RAR4UNTM.js +4 -0
- package/dist/cdn/{LZAMRBIR.js → RBHQC2W7.js} +2 -2
- package/dist/cdn/RBLV4RX7.js +4 -0
- package/dist/cdn/{E5NCXOER.js → RC7VAWVS.js} +27 -27
- package/dist/cdn/{OHMFRSLO.js → RWUHPDEW.js} +2 -2
- package/dist/cdn/{LWJ5ZF24.js → SBB25RVH.js} +2 -2
- package/dist/cdn/{43F7665M.js → SBSFV2EY.js} +2 -2
- package/dist/cdn/{2DTYFON6.js → SCCNUPGH.js} +2 -2
- package/dist/cdn/{3FR6FK3C.js → SKMVZEA4.js} +2 -2
- package/dist/cdn/{QJ5ZSM3A.js → SRAEEK3U.js} +2 -2
- package/dist/cdn/{CNK3LOBC.js → SVA2VUEO.js} +1 -1
- package/dist/cdn/{LTKWOR7Y.js → T5K5TNGX.js} +2 -2
- package/dist/cdn/{YLJ4KPKN.js → T7WYUODM.js} +2 -2
- package/dist/cdn/{K4B3QFNQ.js → TEIJKTRA.js} +2 -2
- package/dist/cdn/{B5KI4WUW.js → TEPWTXPH.js} +2 -2
- package/dist/cdn/{CFFGCXF2.js → TMKGTQYC.js} +2 -2
- package/dist/cdn/{EGX2ZIWG.js → TPDA3QLI.js} +2 -2
- package/dist/cdn/{USJPLEQ7.js → TTQTPH4N.js} +2 -2
- package/dist/cdn/{PXJZC2QA.js → TZZ5NV7B.js} +2 -2
- package/dist/cdn/{WTO6OTQI.js → VAYLHSPU.js} +1 -1
- package/dist/cdn/VKYEUV4G.js +4 -0
- package/dist/cdn/{DGYWZ7UC.js → VOORD3AW.js} +2 -2
- package/dist/cdn/{GFBQZH6C.js → VP7XO3GK.js} +2 -2
- package/dist/cdn/{DNVZIYIO.js → VR5YTWCR.js} +2 -2
- package/dist/cdn/{XH4LGA4S.js → VVESXLID.js} +2 -2
- package/dist/cdn/VVKL7KRB.js +4 -0
- package/dist/cdn/W4AZDRLP.js +4 -0
- package/dist/cdn/W667BDKN.js +4 -0
- package/dist/cdn/{IZX2EM7F.js → WJSOHZF3.js} +2 -2
- package/dist/cdn/{TX4IWDQU.js → WQMOCFU6.js} +2 -2
- package/dist/cdn/{X3TBJ6TT.js → WRCWHPFU.js} +2 -2
- package/dist/cdn/XC37KLDO.js +4 -0
- package/dist/cdn/{LG7B2IQY.js → XE5QRMQK.js} +2 -2
- package/dist/cdn/{GMN4T7D6.js → XQNER34X.js} +2 -2
- package/dist/cdn/{TOZ44NHZ.js → XU4GL22W.js} +2 -2
- package/dist/cdn/{TFO4N5O4.js → XV6D6AVL.js} +1 -1
- package/dist/cdn/{QVJVZ242.js → XXAYT65T.js} +2 -2
- package/dist/cdn/{JGWE3R3P.js → Y4TEDW3Y.js} +2 -2
- package/dist/cdn/{WE6NSQ3B.js → YCLHWTC3.js} +2 -2
- package/dist/cdn/{CTYNX2GT.js → YOKN6RLU.js} +2 -2
- package/dist/cdn/{5OI4ETP2.js → YVWVT7WY.js} +2 -2
- package/dist/cdn/{IKRL23DY.js → Z7AKC2TH.js} +2 -2
- package/dist/cdn/{LKFFPAGD.js → ZD32MHOU.js} +2 -2
- package/dist/cdn/{P2D5KTCB.js → ZRD525L6.js} +2 -2
- package/dist/cdn/{6VLL32EJ.js → ZRMD33KA.js} +2 -2
- package/dist/cdn/{3OHX2HI5.js → ZUBNDW4X.js} +2 -2
- package/dist/cdn/{N7SUV5FZ.js → ZURFX53N.js} +2 -2
- package/dist/cdn/{2XUIOHDT.js → ZXGFDTDF.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +17 -23
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +118 -123
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +2454 -2460
- package/dist/components/arcgis-charts-action-bar/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +23 -23
- package/dist/components/arcgis-charts-config-axis/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +22 -27
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-bar-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +28 -33
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +49 -49
- package/dist/components/arcgis-charts-config-box-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +37 -37
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +9 -15
- package/dist/components/arcgis-charts-config-color-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-colors/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +107 -119
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-guide/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +31 -35
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +25 -30
- package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +15 -20
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-line-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +27 -32
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +29 -29
- package/dist/components/arcgis-charts-config-pie-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +26 -31
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +36 -33
- package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +7 -3
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model/mixins/model-with-multi-axes.d.ts +3 -3
- package/dist/model.js +1 -1
- package/dist/utils/components/watch-handlers.d.ts +12 -12
- package/dist/utils/misc/index.d.ts +1 -1
- package/dist/utils/ui/chart-ui-utils.d.ts +2 -1
- package/package.json +3 -3
- package/dist/cdn/2M4HDU6O.js +0 -4
- package/dist/cdn/3E5XIN3C.js +0 -4
- package/dist/cdn/47TBFKG2.js +0 -4
- package/dist/cdn/4CRXOTJL.js +0 -4
- package/dist/cdn/4LHYJZKH.js +0 -4
- package/dist/cdn/4MTRFM6A.js +0 -4
- package/dist/cdn/5LI2TSF2.js +0 -4
- package/dist/cdn/7KAYITHT.js +0 -4
- package/dist/cdn/B23AQKQD.js +0 -4
- package/dist/cdn/BGOBAWHV.js +0 -4
- package/dist/cdn/C6LLGIKT.js +0 -4
- package/dist/cdn/DCYBICHJ.css +0 -1
- package/dist/cdn/DDZO6MO3.js +0 -4
- package/dist/cdn/DZW6UZFU.js +0 -4
- package/dist/cdn/HFDF7KZ7.js +0 -4
- package/dist/cdn/I32YOJ2V.js +0 -4
- package/dist/cdn/KSBSE7SC.js +0 -4
- package/dist/cdn/KSMY5VBS.js +0 -4
- package/dist/cdn/M3TWXHKD.js +0 -4
- package/dist/cdn/NKUL4P5Z.js +0 -4
- package/dist/cdn/O7UVIMT7.js +0 -4
- package/dist/cdn/P22UKELH.js +0 -4
- package/dist/cdn/P6ZZKHR2.js +0 -4
- package/dist/cdn/RJKTENM6.js +0 -4
- package/dist/cdn/TG7ZISUA.js +0 -4
- package/dist/cdn/UWOOIVAT.js +0 -4
- package/dist/cdn/VKH5MLG5.js +0 -4
- package/dist/cdn/VLAMSWCX.js +0 -4
- package/dist/cdn/WKI5DXW4.js +0 -4
- package/dist/cdn/WP5C4YA4.js +0 -4
- package/dist/cdn/WWPT5UD4.js +0 -4
- package/dist/cdn/ZSGW52A3.js +0 -4
- package/dist/cdn/stdin.css +0 -1
|
@@ -4,7 +4,7 @@ import { u as i } from "../../chunks/useT9n.js";
|
|
|
4
4
|
import { LitElement as l, createEvent as t, safeClassMap as r } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.29 */
|
|
8
8
|
const n = {
|
|
9
9
|
colorStyleContainer: "color-style-container"
|
|
10
10
|
}, c = a`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.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}:host calcite-panel .color-style-container{display:flex;padding:0 1rem;margin-top:1rem}:host calcite-panel .color-style-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-styling-panel>.panel-body{padding:var(--arcgis-charts-panel-padding);margin-top:var(--arcgis-charts-inter-section-margin)}`;
|
|
@@ -25,7 +25,7 @@ class d extends l {
|
|
|
25
25
|
this.selectedColor = e.detail, this.arcgisChartsConfigColorStyleChange.emit(this.selectedColor);
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return s`<calcite-panel .heading=${this.header ?? this._messages.header} .closed=${this.open === !1} .closable=${this.enableClose} @calcitePanelClose=${this.closePanel}><div class=${r(n.colorStyleContainer)}><arcgis-charts-config-colors @
|
|
28
|
+
return s`<calcite-panel .heading=${this.header ?? this._messages.header} .closed=${this.open === !1} .closable=${this.enableClose} @calcitePanelClose=${this.closePanel}><div class=${r(n.colorStyleContainer)}><arcgis-charts-config-colors @arcgisColorSelect=${this.colorChange} .rgba=${this.selectedColor}></arcgis-charts-config-colors></div></calcite-panel>`;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
o("arcgis-charts-config-color-style", d);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as o } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as l, html as c } from "lit";
|
|
3
3
|
import { k as g } from "../../chunks/chart-ui-utils2.js";
|
|
4
4
|
import { u as h } from "../../chunks/useT9n.js";
|
|
5
5
|
import { LitElement as m, createEvent as n } from "@arcgis/lumina";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
8
|
+
v5.0.0-next.29 */
|
|
9
9
|
const u = "arcgis-charts-config-storage-colors", v = l`:host{--calcite-color-border-1: transparent}.color-header{margin-bottom:.5rem}`;
|
|
10
10
|
class b extends m {
|
|
11
11
|
constructor() {
|
|
12
|
-
super(...arguments), this._messages = h(), this.
|
|
12
|
+
super(...arguments), this._messages = h(), this.arcgisColorSelect = n();
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
15
|
this.properties = { messageOverrides: 0, rgba: 0, heading: 1 };
|
|
@@ -20,8 +20,8 @@ class b extends m {
|
|
|
20
20
|
onColorSelect(s) {
|
|
21
21
|
const { value: e } = s.target;
|
|
22
22
|
if (e !== null) {
|
|
23
|
-
const { r: t, g: r, b:
|
|
24
|
-
this.isNewColor(
|
|
23
|
+
const { r: t, g: r, b: i } = e, a = [t, r, i, 255];
|
|
24
|
+
this.isNewColor(a) && this.arcgisColorSelect.emit(a);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
isNewColor(s) {
|
|
@@ -53,7 +53,7 @@ class b extends m {
|
|
|
53
53
|
}} clearable .storageId=${u} format=rgb></calcite-color-picker>`;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
|
|
56
|
+
o("arcgis-charts-config-colors", b);
|
|
57
57
|
export {
|
|
58
58
|
b as ArcgisChartsConfigColors
|
|
59
59
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { repeat as
|
|
3
|
-
import { keyed as
|
|
4
|
-
import { createModel as
|
|
5
|
-
import { b
|
|
1
|
+
import { c as N } from "../../chunks/runtime.js";
|
|
2
|
+
import { repeat as V } from "lit/directives/repeat.js";
|
|
3
|
+
import { keyed as $ } from "lit/directives/keyed.js";
|
|
4
|
+
import { createModel as U } from "../../model.js";
|
|
5
|
+
import { b, a as S, f as _, p as v, k as z, j as T } from "../../chunks/type-guards.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
|
-
import { isEqual as
|
|
8
|
-
import { W as o, i as
|
|
9
|
-
import { S as
|
|
7
|
+
import { isEqual as w } from "lodash-es";
|
|
8
|
+
import { W as o, i as O } from "../../chunks/series-types.js";
|
|
9
|
+
import { S as D, d3 as k, cQ as E, da as R, a9 as W } from "../../chunks/index.js";
|
|
10
10
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
12
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -25,27 +25,27 @@ import "@arcgis/core/request.js";
|
|
|
25
25
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
26
26
|
import "@arcgis/core/core/promiseUtils.js";
|
|
27
27
|
import "@arcgis/toolkit/dom";
|
|
28
|
-
import { C } from "../../chunks/index4.js";
|
|
29
|
-
import { a as
|
|
28
|
+
import { C as f } from "../../chunks/index4.js";
|
|
29
|
+
import { a as L } from "../../chunks/chart-ui-utils.js";
|
|
30
30
|
import { r as G } from "../../chunks/popover-ui-utils.js";
|
|
31
|
-
import { C as
|
|
31
|
+
import { C as l } from "../../chunks/interfaces.js";
|
|
32
32
|
import { LitElement as X, createEvent as y, renderElement as I, safeStyleMap as Z, safeClassMap as d } from "@arcgis/lumina";
|
|
33
|
-
import { css as
|
|
34
|
-
import { createRef as
|
|
35
|
-
import { u as
|
|
33
|
+
import { css as j, html as h } from "lit";
|
|
34
|
+
import { createRef as K, ref as q } from "lit/directives/ref.js";
|
|
35
|
+
import { u as P } from "../../chunks/useT9n.js";
|
|
36
36
|
import { a as Q, s as x, b as Y } from "../../chunks/store.js";
|
|
37
37
|
import { h as J, a as M, s as ee } from "../../chunks/web-component-utils.js";
|
|
38
38
|
import { A as te } from "../../chunks/axis-model-wrapper.js";
|
|
39
39
|
import { d as ae } from "../../chunks/chart-ui-utils2.js";
|
|
40
40
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
41
41
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
42
|
-
v5.0.0-next.
|
|
42
|
+
v5.0.0-next.29 */
|
|
43
43
|
const m = {
|
|
44
44
|
chartUIComponent: "chart-ui-component",
|
|
45
45
|
tabBar: "tab-bar",
|
|
46
46
|
tab: "tab"
|
|
47
47
|
};
|
|
48
|
-
function
|
|
48
|
+
function B(p, e) {
|
|
49
49
|
const a = /* @__PURE__ */ new Set();
|
|
50
50
|
let t = e;
|
|
51
51
|
return p?.forEach((i, s) => {
|
|
@@ -59,23 +59,23 @@ function ie(p, e, a) {
|
|
|
59
59
|
function se(p) {
|
|
60
60
|
const { modelList: e, layerList: a, activeLayerId: t, disableEditing: i } = p, s = /* @__PURE__ */ new Map();
|
|
61
61
|
return e?.forEach((r) => {
|
|
62
|
-
const
|
|
63
|
-
|
|
62
|
+
const n = r.layer;
|
|
63
|
+
n && s.set(n.id, n);
|
|
64
64
|
}), i || a.forEach((r) => s.set(r.id, r)), Array.from(s.values()).filter((r) => !t || r.id === t);
|
|
65
65
|
}
|
|
66
66
|
function re(p, e) {
|
|
67
67
|
p.forEach((a) => {
|
|
68
68
|
e.forEach((t) => {
|
|
69
|
-
a?.id === t.layer?.id &&
|
|
69
|
+
a?.id === t.layer?.id && F(a, t);
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function F(p, e) {
|
|
74
74
|
const a = p;
|
|
75
75
|
if (a) {
|
|
76
76
|
const t = [...a?.charts ?? []], i = t?.findIndex((r) => r.id === e.chartId);
|
|
77
77
|
let s = !1;
|
|
78
|
-
i !== void 0 && i > -1 ? (s = !
|
|
78
|
+
i !== void 0 && i > -1 ? (s = !w(t[i], e.config), t[i] = e.config) : a && !D(e.config) && (s = !0, t.push(e.config)), s && (a.charts = t);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
function oe(p, e) {
|
|
@@ -85,28 +85,28 @@ function oe(p, e) {
|
|
|
85
85
|
i > -1 && (t.splice(i, 1), a.charts = t);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function le(p, e) {
|
|
89
89
|
const a = p;
|
|
90
90
|
if (a) {
|
|
91
91
|
let t = [...a.charts ?? []];
|
|
92
|
-
t =
|
|
92
|
+
t = k({
|
|
93
93
|
arrayA: t,
|
|
94
94
|
arrayB: e.map((i) => i.config),
|
|
95
95
|
getKey: (i) => i.id ?? i.title?.content.text ?? ""
|
|
96
96
|
}), a.charts = t;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
const
|
|
99
|
+
const ne = j`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
|
|
100
100
|
class ce extends X {
|
|
101
101
|
constructor() {
|
|
102
|
-
super(), this.selectChartTypePopover = null, this.chartsListFlowItem =
|
|
102
|
+
super(), this.selectChartTypePopover = null, this.chartsListFlowItem = K(), this.supportedChartTypes = [
|
|
103
103
|
o.BarSeries,
|
|
104
104
|
o.BoxPlotSeries,
|
|
105
105
|
o.LineSeries,
|
|
106
106
|
o.PieSeries,
|
|
107
107
|
o.HistogramSeries,
|
|
108
108
|
o.ScatterSeries
|
|
109
|
-
], this._messages =
|
|
109
|
+
], this._messages = P(), this.commonStrings = P({ name: "common", blocking: !0 }), this.chartDataProcessComplete = (e) => {
|
|
110
110
|
const a = e, { chartData: t, model: i } = a.detail, s = this.getModel(this.selectedChartId);
|
|
111
111
|
if (i?.isSameChartAs(s))
|
|
112
112
|
switch (s?.chartType) {
|
|
@@ -118,25 +118,25 @@ class ce extends X {
|
|
|
118
118
|
break;
|
|
119
119
|
}
|
|
120
120
|
case o.ScatterSeries: {
|
|
121
|
-
const
|
|
122
|
-
let
|
|
123
|
-
Number.isFinite(g) || (
|
|
121
|
+
const n = t, { dataItems: c, r2: g, aggregated: u } = n;
|
|
122
|
+
let C = g;
|
|
123
|
+
Number.isFinite(g) || (C = void 0), this.r2 = C, _(i) && (i.dataStore.r2 = C, i.dataStore.aggregated = u, u && (i.additionalTooltipField = void 0)), this.calculatedDataMinMaxBounds = this.getDataExtent(c), i && (i.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds);
|
|
124
124
|
break;
|
|
125
125
|
}
|
|
126
126
|
case o.LineSeries:
|
|
127
127
|
case o.BarSeries: {
|
|
128
|
-
const { dataItems:
|
|
129
|
-
if ((
|
|
130
|
-
const g = s.xAxisField, u =
|
|
131
|
-
u &&
|
|
128
|
+
const { dataItems: n, timeIntervalInfo: c } = t;
|
|
129
|
+
if ((b(s) || S(s) && s.binTemporalData) && (c?.size !== void 0 && s.temporalBinningSize !== c?.size && (s.temporalBinningSize = c?.size), c?.unit !== void 0 && s.temporalBinningUnit !== c?.unit && c?.unit !== O.Quarter && (s.temporalBinningUnit = c?.unit), c?.size !== void 0 && c?.unit !== void 0 && Q(x, { size: c.size, unit: c.unit })), this.calculatedDataMinMaxBounds = this.getDataExtent(n), i && (i.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds), S(s)) {
|
|
130
|
+
const g = s.xAxisField, u = n.some((A) => A[g] === null), C = s.nullCategory;
|
|
131
|
+
u && C === void 0 && (s.nullCategory = R.nullCategory);
|
|
132
132
|
}
|
|
133
133
|
break;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
}, this.chartAxesMinMaxChange = (e) => {
|
|
137
|
-
const a = e, { bounds: t, model: i } = a.detail, s = this.getModel(this.selectedChartId), r = i?.isSameChartAs(s),
|
|
137
|
+
const a = e, { bounds: t, model: i } = a.detail, s = this.getModel(this.selectedChartId), r = i?.isSameChartAs(s), n = s?.chartType;
|
|
138
138
|
if (r)
|
|
139
|
-
switch (
|
|
139
|
+
switch (n) {
|
|
140
140
|
case o.BarSeries:
|
|
141
141
|
case o.BoxPlotSeries:
|
|
142
142
|
case o.LineSeries:
|
|
@@ -156,29 +156,29 @@ class ce extends X {
|
|
|
156
156
|
this.seriesColor = t, i && (i.dataStore.seriesColor = t);
|
|
157
157
|
break;
|
|
158
158
|
case o.PieSeries: {
|
|
159
|
-
const
|
|
160
|
-
this.seriesColor =
|
|
159
|
+
const n = /* @__PURE__ */ new Map([[0, t]]);
|
|
160
|
+
this.seriesColor = n, i && (i.dataStore.seriesColor = n);
|
|
161
161
|
break;
|
|
162
162
|
}
|
|
163
163
|
case o.ScatterSeries:
|
|
164
164
|
}
|
|
165
165
|
}, this.chartNoRenderPropChange = (e) => {
|
|
166
|
-
const a = e, { propName: t, value: i, model: s } = a.detail, r = this.modelList.find((
|
|
166
|
+
const a = e, { propName: t, value: i, model: s } = a.detail, r = this.modelList.find((n) => s?.isSameChartAs(n));
|
|
167
167
|
if (r)
|
|
168
168
|
switch (t) {
|
|
169
169
|
case "rotation":
|
|
170
|
-
typeof i == "boolean" &&
|
|
170
|
+
typeof i == "boolean" && z(r) && (r.rotatedState = i);
|
|
171
171
|
break;
|
|
172
172
|
case "legendPosition":
|
|
173
|
-
typeof i == "string" &&
|
|
173
|
+
typeof i == "string" && v(r) && (r.legendPosition = i);
|
|
174
174
|
break;
|
|
175
175
|
case "legendVisibility":
|
|
176
|
-
typeof i == "boolean" &&
|
|
176
|
+
typeof i == "boolean" && v(r) && (r.legendVisibility = i);
|
|
177
177
|
break;
|
|
178
178
|
}
|
|
179
|
-
}, this.chartLegendItemVisibilityChange =
|
|
179
|
+
}, this.chartLegendItemVisibilityChange = (e) => {
|
|
180
180
|
const a = e, { legendItemVisibility: t, model: i } = a.detail, s = this.modelList.find((r) => i?.isSameChartAs(r));
|
|
181
|
-
s?.setSeriesVisibility(t),
|
|
181
|
+
s?.setSeriesVisibility(t), T(s) && ((s.getMinBound(1) === null || Number.isNaN(s.getMinBound(1))) && s.setMinBound(null, 1), (s.getMaxBound(1) === null || Number.isNaN(s.getMaxBound(1))) && s.setMaxBound(null, 1), b(s) && ((s.getMinBound(0) === null || Number.isNaN(s.getMinBound(0))) && s.setMinBound(null, 0), (s.getMaxBound(0) === null || Number.isNaN(s.getMaxBound(0))) && s.setMaxBound(null, 0)));
|
|
182
182
|
}, this.onSelectChartTypeChange = (e) => {
|
|
183
183
|
this.currentChartTypeText = "", this.calculatedDataMinMaxBounds = void 0, this.calculatedMinMaxBounds = void 0, this.removeSelectChartTypePopover();
|
|
184
184
|
const { selectedModelType: a, layerId: t } = e.target;
|
|
@@ -192,37 +192,34 @@ class ce extends X {
|
|
|
192
192
|
}, this.onModelConfigChange = (e) => {
|
|
193
193
|
if (this.syncChartsToLayers && this.allowChartSyncing) {
|
|
194
194
|
const a = e.target;
|
|
195
|
-
|
|
195
|
+
F(a?.layer, a);
|
|
196
196
|
}
|
|
197
197
|
this.requestUpdate();
|
|
198
|
-
}, this.allowChartSyncing = !1, this.currentChartTypeText = "", this.modelList = [], this.layerList = [], this.disableEditing = !1, this.syncChartsToLayers = !1, this.panelNumber = 0, this.arcgisChartsConfigChartViewChartClose = y(), this.arcgisChartsConfigModelListChange = y(), this.arcgisChartsConfigNewChart = y(), this.arcgisChartsConfigPanelNumberChange = y(), this.arcgisChartsConfigSelectedChartChange = y(), this.listen("arcgisChartsConfigModelListReorder", this.modelListReorderChangeListener);
|
|
198
|
+
}, this.allowChartSyncing = !1, this.currentChartTypeText = "", this.modelList = [], this.layerList = [], this.disableEditing = !1, this.syncChartsToLayers = !1, this.panelNumber = 0, this.arcgisChartsConfigChartViewChartClose = y(), this.arcgisChartsConfigModelListChange = y(), this.arcgisChartsConfigNewChart = y(), this.arcgisChartsConfigPanelNumberChange = y(), this.arcgisChartsConfigSelectedChartChange = y(), this.addChartEventListeners(), this.listen("arcgisChartsConfigModelListReorder", this.modelListReorderChangeListener);
|
|
199
199
|
}
|
|
200
200
|
static {
|
|
201
201
|
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged: M }], layerList: [0, { hasChanged: M }], selectedChartId: 1, activeLayerId: 1, disableEditing: 5, syncChartsToLayers: 5, timeZone: 1, headerTitle: 1, open: 5, chartData: [0, { hasChanged: M }], r2: 9, calculatedDataMinMaxBounds: [0, { hasChanged: M }], calculatedMinMaxBounds: [0, { hasChanged: M }], seriesColor: [0, { hasChanged: J }], popoverPlacement: 1, usePopupTemplateFieldsInfo: 5, panelNumber: 9, filterBySelection: 5 };
|
|
202
202
|
}
|
|
203
203
|
static {
|
|
204
|
-
this.styles =
|
|
204
|
+
this.styles = ne;
|
|
205
205
|
}
|
|
206
206
|
async setFocus() {
|
|
207
|
-
this.chartsListFlowItem.value?.setFocus();
|
|
208
|
-
}
|
|
209
|
-
connectedCallback() {
|
|
210
|
-
super.connectedCallback(), this.addChartEventListeners();
|
|
207
|
+
await this.chartsListFlowItem.value?.setFocus();
|
|
211
208
|
}
|
|
212
209
|
async load() {
|
|
213
210
|
await this.layerListChange();
|
|
214
211
|
const e = this.getModel(this.selectedChartId);
|
|
215
212
|
this.setEventBasedPropsFromModelData(e);
|
|
216
213
|
}
|
|
217
|
-
|
|
218
|
-
e.has("layerList") &&
|
|
214
|
+
willUpdate(e) {
|
|
215
|
+
e.has("layerList") && this.layerListChange(), e.has("panelNumber") && this.panelNumberChange(this.panelNumber), e.has("modelList") && this.modelListChange(this.modelList, e.get("modelList")), e.has("selectedChartId") && this.selectedChartIdChange(this.selectedChartId);
|
|
219
216
|
}
|
|
220
217
|
disconnectedCallback() {
|
|
221
|
-
super.disconnectedCallback(), this.clearPartialModels(), this.removeSelectChartTypePopover()
|
|
218
|
+
super.disconnectedCallback(), this.clearPartialModels(), this.removeSelectChartTypePopover();
|
|
222
219
|
}
|
|
223
220
|
modelListReorderChangeListener(e) {
|
|
224
221
|
const { modelList: a } = e.detail;
|
|
225
|
-
if (this.modelList =
|
|
222
|
+
if (this.modelList = k({
|
|
226
223
|
arrayA: this.modelList,
|
|
227
224
|
arrayB: a,
|
|
228
225
|
getKey: (t) => t.chartId ?? t.titleText ?? ""
|
|
@@ -230,7 +227,7 @@ class ce extends X {
|
|
|
230
227
|
const t = a.find((i) => i.layer?.id !== void 0)?.layer?.id;
|
|
231
228
|
if (t) {
|
|
232
229
|
const i = this.layerList.find((s) => s.id.toString() === t);
|
|
233
|
-
i &&
|
|
230
|
+
i && le(i, a);
|
|
234
231
|
}
|
|
235
232
|
}
|
|
236
233
|
}
|
|
@@ -238,37 +235,37 @@ class ce extends X {
|
|
|
238
235
|
const e = [], a = this.layerList.map((i) => i.id.toString()), t = [...this.modelList.filter((i) => a.includes(i.layer?.id ?? ""))];
|
|
239
236
|
for (let i of this.layerList ?? []) {
|
|
240
237
|
if (i.type === "sublayer") {
|
|
241
|
-
const
|
|
242
|
-
if (!
|
|
238
|
+
const n = await i.createFeatureLayer();
|
|
239
|
+
if (!n)
|
|
243
240
|
continue;
|
|
244
|
-
i =
|
|
241
|
+
i = n;
|
|
245
242
|
}
|
|
246
|
-
const
|
|
247
|
-
for (const
|
|
248
|
-
const
|
|
243
|
+
const r = i.charts;
|
|
244
|
+
for (const n of r ?? []) {
|
|
245
|
+
const c = await U({
|
|
249
246
|
layer: i,
|
|
250
|
-
config:
|
|
247
|
+
config: n
|
|
251
248
|
});
|
|
252
|
-
|
|
249
|
+
c !== void 0 && e.push(c);
|
|
253
250
|
}
|
|
254
251
|
}
|
|
255
|
-
|
|
252
|
+
B(e), e.forEach((i) => {
|
|
256
253
|
t.find((r) => r.isSameChartAs(i)) === void 0 && t.push(i);
|
|
257
254
|
}), this.modelList = t;
|
|
258
255
|
}
|
|
259
|
-
|
|
260
|
-
this.selectedChartId =
|
|
256
|
+
modelListChange(e, a) {
|
|
257
|
+
this.selectedChartId = B(e, this.selectedChartId), a?.forEach((i) => {
|
|
261
258
|
i.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
262
259
|
}), e.forEach((i) => {
|
|
263
260
|
i.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
264
261
|
});
|
|
265
262
|
const t = this.getModel(this.selectedChartId);
|
|
266
|
-
this.currentChartTypeText = t?.chartType !== void 0 ?
|
|
263
|
+
this.currentChartTypeText = t?.chartType !== void 0 ? L(t.chartType, this.commonStrings) : "", this.syncChartsToLayers && this.allowChartSyncing && re(this.layerList, e), this.arcgisChartsConfigModelListChange.emit({ modelList: e });
|
|
267
264
|
}
|
|
268
|
-
|
|
269
|
-
this.selectedChartId === void 0 && (this.panelNumber = 0), this.selectedPanel =
|
|
265
|
+
selectedChartIdChange(e) {
|
|
266
|
+
this.selectedChartId === void 0 && (this.panelNumber = 0), this.selectedPanel = l.Data;
|
|
270
267
|
const a = this.getModel(e);
|
|
271
|
-
this.setEventBasedPropsFromModelData(a), this.currentChartTypeText = a?.chartType !== void 0 ?
|
|
268
|
+
this.setEventBasedPropsFromModelData(a), this.currentChartTypeText = a?.chartType !== void 0 ? L(a.chartType, this.commonStrings) : "", e !== void 0 && e !== x.selectedChartId && (x.selectedChartId = e), this.allowChartSyncing = !0, this.arcgisChartsConfigSelectedChartChange.emit({
|
|
272
269
|
key: "key",
|
|
273
270
|
model: a
|
|
274
271
|
});
|
|
@@ -277,10 +274,7 @@ class ce extends X {
|
|
|
277
274
|
e === 0 ? this.clearPartialModels() : e === 1 && this.removeSelectChartTypePopover(), this.arcgisChartsConfigPanelNumberChange.emit({ panelNumber: e, modelList: this.modelList });
|
|
278
275
|
}
|
|
279
276
|
addChartEventListeners() {
|
|
280
|
-
|
|
281
|
-
}
|
|
282
|
-
removeChartEventListeners() {
|
|
283
|
-
document.removeEventListener(C.DataProcessComplete, this.chartDataProcessComplete), document.removeEventListener(C.AxesMinMaxChange, this.chartAxesMinMaxChange), document.removeEventListener(C.SeriesColorChange, this.chartSeriesColorChange), document.removeEventListener(C.NoRenderPropChange, this.chartNoRenderPropChange), document.removeEventListener(C.LegendItemVisibilityChange, this.chartLegendItemVisibilityChange);
|
|
277
|
+
this.listenOn(document, f.DataProcessComplete, this.chartDataProcessComplete), this.listenOn(document, f.AxesMinMaxChange, this.chartAxesMinMaxChange), this.listenOn(document, f.SeriesColorChange, this.chartSeriesColorChange), this.listenOn(document, f.NoRenderPropChange, this.chartNoRenderPropChange), this.listenOn(document, f.LegendItemVisibilityChange, this.chartLegendItemVisibilityChange);
|
|
284
278
|
}
|
|
285
279
|
getDataExtent(e) {
|
|
286
280
|
const a = this.getModel(this.selectedChartId)?.config;
|
|
@@ -289,9 +283,9 @@ class ce extends X {
|
|
|
289
283
|
const i = W({
|
|
290
284
|
chartConfig: a,
|
|
291
285
|
chartData: e
|
|
292
|
-
}), { minY: s, maxY: r, minX:
|
|
286
|
+
}), { minY: s, maxY: r, minX: n, maxX: c } = i;
|
|
293
287
|
t = [
|
|
294
|
-
{ isXAxis: !0, minimum:
|
|
288
|
+
{ isXAxis: !0, minimum: n, maximum: c },
|
|
295
289
|
{ isXAxis: !1, minimum: s, maximum: r }
|
|
296
290
|
];
|
|
297
291
|
}
|
|
@@ -300,32 +294,26 @@ class ce extends X {
|
|
|
300
294
|
updateAxesBoundsInAppState(e) {
|
|
301
295
|
e?.forEach((a) => {
|
|
302
296
|
const { isXAxis: t, maximum: i, minimum: s } = a, r = this.getModel(this.selectedChartId);
|
|
303
|
-
if (r !== void 0 &&
|
|
304
|
-
const
|
|
297
|
+
if (r !== void 0 && T(r) && this.selectedChartId !== void 0) {
|
|
298
|
+
const n = new te(r, t), c = Y({
|
|
305
299
|
chartId: this.selectedChartId,
|
|
306
300
|
isXAxis: t,
|
|
307
|
-
isLogarithmic:
|
|
301
|
+
isLogarithmic: n.getLogarithmic()
|
|
308
302
|
}), g = x.chartAxesBoundDataMap;
|
|
309
303
|
g[this.selectedChartId] === void 0 && (g[this.selectedChartId] = {});
|
|
310
|
-
const u = g[this.selectedChartId]?.[
|
|
304
|
+
const u = g[this.selectedChartId]?.[c], C = {
|
|
311
305
|
defaultMinBound: u?.defaultMinBound === u?.currMinBound ? s : u?.defaultMinBound,
|
|
312
306
|
currMinBound: s,
|
|
313
307
|
defaultMaxBound: u?.defaultMaxBound === u?.currMaxBound ? i : u?.defaultMaxBound,
|
|
314
308
|
currMaxBound: i
|
|
315
309
|
};
|
|
316
|
-
!
|
|
310
|
+
!w(u, C) && this.selectedChartId !== void 0 && g?.[this.selectedChartId] !== void 0 && (g[this.selectedChartId][c] = C);
|
|
317
311
|
}
|
|
318
312
|
});
|
|
319
313
|
}
|
|
320
314
|
getPlacement() {
|
|
321
315
|
let e;
|
|
322
|
-
|
|
323
|
-
e = this.popoverPlacement;
|
|
324
|
-
else {
|
|
325
|
-
const a = this.modelList?.filter((i) => E(ee, i.config)).length;
|
|
326
|
-
e = Number(a) <= 2 ? "bottom" : "top";
|
|
327
|
-
}
|
|
328
|
-
return e;
|
|
316
|
+
return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((i) => E(ee, i.config)).length <= 2 ? "bottom" : "top", e;
|
|
329
317
|
}
|
|
330
318
|
onBackFlow() {
|
|
331
319
|
this.panelNumber -= 1;
|
|
@@ -336,7 +324,7 @@ class ce extends X {
|
|
|
336
324
|
}
|
|
337
325
|
setupSelectChartTypePopover(e, a) {
|
|
338
326
|
const t = this.getPlacement();
|
|
339
|
-
this.removeSelectChartTypePopover(), this.selectChartTypePopover = I(
|
|
327
|
+
this.removeSelectChartTypePopover(), this.selectChartTypePopover = I(h`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${a} .popoverPlacement=${t} @arcgisChartsConfigPopoverClose=${this.onAddChartClose} @arcgisChartsConfigSelectChartTypeChange=${this.onSelectChartTypeChange}></arcgis-charts-config-select-chart-type-popover>`), !document.body.contains(this.selectChartTypePopover) && this.selectChartTypePopover !== null && document.body.appendChild(this.selectChartTypePopover);
|
|
340
328
|
}
|
|
341
329
|
getModel(e) {
|
|
342
330
|
return this.modelList?.find((a) => a.chartId === e);
|
|
@@ -345,7 +333,7 @@ class ce extends X {
|
|
|
345
333
|
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover = G(this.selectChartTypePopover));
|
|
346
334
|
}
|
|
347
335
|
clearPartialModels() {
|
|
348
|
-
this.modelList = this.modelList.filter((e) => !
|
|
336
|
+
this.modelList = this.modelList.filter((e) => !D(e.config));
|
|
349
337
|
}
|
|
350
338
|
onViewChartDelete(e) {
|
|
351
339
|
const { chartId: a } = e.detail;
|
|
@@ -400,7 +388,7 @@ class ce extends X {
|
|
|
400
388
|
t = "";
|
|
401
389
|
break;
|
|
402
390
|
}
|
|
403
|
-
this.tooltip = I(
|
|
391
|
+
this.tooltip = I(h`<calcite-tooltip style=${Z({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${a} open placement=top>${t}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
404
392
|
}
|
|
405
393
|
destroyTooltip() {
|
|
406
394
|
ae(this.tooltip);
|
|
@@ -412,34 +400,34 @@ class ce extends X {
|
|
|
412
400
|
activeLayerId: this.activeLayerId,
|
|
413
401
|
disableEditing: this.disableEditing
|
|
414
402
|
});
|
|
415
|
-
return
|
|
403
|
+
return V(e, (a) => a.id, (a) => h`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId !== void 0} .modelList=${ie(this.modelList, a.id.toString(), this.supportedChartTypes)} .selectedChartId=${this.selectedChartId ?? ""} .layer=${a} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`);
|
|
416
404
|
}
|
|
417
405
|
render() {
|
|
418
|
-
return this.open !== !1 ?
|
|
406
|
+
return this.open !== !1 ? h`<calcite-flow>${$("charts-list", h`<calcite-flow-item .selected=${this.panelNumber === 0 || this.disableEditing} .heading=${this.headerTitle ?? this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${q(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.renderTabs()}</calcite-flow>` : null;
|
|
419
407
|
}
|
|
420
408
|
renderTabs() {
|
|
421
409
|
const e = this.getModel(this.selectedChartId);
|
|
422
|
-
return
|
|
410
|
+
return $("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? l.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ? H(this._messages.pageFlowTitle, {
|
|
423
411
|
chartName: e?.titleText ?? this.currentChartTypeText,
|
|
424
412
|
layerName: e?.layer?.title ?? ""
|
|
425
|
-
}) : ""}>${e?.chartType !== void 0 ?
|
|
426
|
-
this.selectedPanel =
|
|
427
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.chartType === o.BarSeries ?
|
|
428
|
-
this.selectedPanel =
|
|
429
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.LineSeries ?
|
|
430
|
-
this.selectedPanel =
|
|
431
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.BoxPlotSeries ?
|
|
432
|
-
this.selectedPanel =
|
|
433
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.PieSeries ?
|
|
434
|
-
this.selectedPanel =
|
|
435
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== o.PieSeries ?
|
|
436
|
-
this.selectedPanel =
|
|
437
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== o.PieSeries ?
|
|
438
|
-
this.selectedPanel =
|
|
439
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}<calcite-action class=${d(m.tab)} icon=palette scale=s alignment=center .active=${this.selectedPanel ===
|
|
440
|
-
this.selectedPanel =
|
|
441
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action><calcite-action class=${d(m.tab)} icon=text scale=s alignment=center .active=${this.selectedPanel ===
|
|
442
|
-
this.selectedPanel =
|
|
413
|
+
}) : ""}>${e?.chartType !== void 0 ? h`<calcite-action-bar class=${d(m.tabBar)} layout=horizontal expand-disabled><calcite-action class=${d(m.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel === l.Data || this.selectedPanel === void 0} @click=${() => {
|
|
414
|
+
this.selectedPanel = l.Data;
|
|
415
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.chartType === o.BarSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-bar-stacked scale=s alignment=center .active=${this.selectedPanel === l.Series} @click=${() => {
|
|
416
|
+
this.selectedPanel = l.Series;
|
|
417
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.LineSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-line-series scale=s alignment=center .active=${this.selectedPanel === l.Series} @click=${() => {
|
|
418
|
+
this.selectedPanel = l.Series;
|
|
419
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.BoxPlotSeries ? h`<calcite-action class=${d(m.tab)} icon=box-chart-series scale=s alignment=center .active=${this.selectedPanel === l.Series} @click=${() => {
|
|
420
|
+
this.selectedPanel = l.Series;
|
|
421
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.PieSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-pie-slice scale=s alignment=center .active=${this.selectedPanel === l.Slices} @click=${() => {
|
|
422
|
+
this.selectedPanel = l.Slices;
|
|
423
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== o.PieSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-axis scale=s alignment=center .active=${this.selectedPanel === l.Axes} @click=${() => {
|
|
424
|
+
this.selectedPanel = l.Axes;
|
|
425
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== o.PieSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-guides scale=s alignment=center .active=${this.selectedPanel === l.Guides} @click=${() => {
|
|
426
|
+
this.selectedPanel = l.Guides;
|
|
427
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}<calcite-action class=${d(m.tab)} icon=palette scale=s alignment=center .active=${this.selectedPanel === l.Format} @click=${() => {
|
|
428
|
+
this.selectedPanel = l.Format;
|
|
429
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action><calcite-action class=${d(m.tab)} icon=text scale=s alignment=center .active=${this.selectedPanel === l.General} @click=${() => {
|
|
430
|
+
this.selectedPanel = l.General;
|
|
443
431
|
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action></calcite-action-bar>` : null}${this.renderChartUIComponent()}</calcite-flow-item>`);
|
|
444
432
|
}
|
|
445
433
|
renderChartUIComponent() {
|
|
@@ -448,28 +436,28 @@ class ce extends X {
|
|
|
448
436
|
if (e !== void 0 && !this.disableEditing)
|
|
449
437
|
switch (e?.chartType) {
|
|
450
438
|
case "barSeries":
|
|
451
|
-
t =
|
|
439
|
+
t = h`<arcgis-charts-config-bar-chart class=${d(m.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-bar-chart>`;
|
|
452
440
|
break;
|
|
453
441
|
case "lineSeries":
|
|
454
|
-
t =
|
|
442
|
+
t = h`<arcgis-charts-config-line-chart class=${d(m.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-line-chart>`;
|
|
455
443
|
break;
|
|
456
444
|
case "pieSeries":
|
|
457
|
-
t =
|
|
445
|
+
t = h`<arcgis-charts-config-pie-chart class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .chartData=${this.chartData} .page=${this.selectedPanel ?? l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor} .filterBySelection=${this.filterBySelection}></arcgis-charts-config-pie-chart>`;
|
|
458
446
|
break;
|
|
459
447
|
case "histogramSeries":
|
|
460
|
-
t =
|
|
448
|
+
t = h`<arcgis-charts-config-histogram class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .chartData=${this.chartData} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-histogram>`;
|
|
461
449
|
break;
|
|
462
450
|
case "scatterSeries":
|
|
463
|
-
t =
|
|
451
|
+
t = h`<arcgis-charts-config-scatter-plot class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .r2=${this.r2} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-scatter-plot>`;
|
|
464
452
|
break;
|
|
465
453
|
case "boxPlotSeries":
|
|
466
|
-
t =
|
|
454
|
+
t = h`<arcgis-charts-config-box-plot class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-box-plot>`;
|
|
467
455
|
break;
|
|
468
456
|
}
|
|
469
457
|
return t;
|
|
470
458
|
}
|
|
471
459
|
}
|
|
472
|
-
|
|
460
|
+
N("arcgis-charts-config-create-flow", ce);
|
|
473
461
|
export {
|
|
474
462
|
ce as ArcgisChartsConfigCreateFlow
|
|
475
463
|
};
|
|
@@ -3,7 +3,7 @@ import { css as l, html as c } from "lit";
|
|
|
3
3
|
import { LitElement as a, safeClassMap as t } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.29 */
|
|
7
7
|
const e = {
|
|
8
8
|
fieldSelectButtonSection: "field-select-btn-section",
|
|
9
9
|
fieldSelectButton: "field-select-btn",
|
|
@@ -29,7 +29,7 @@ import { createRef as C, ref as x } from "lit/directives/ref.js";
|
|
|
29
29
|
import { LitElement as $, createEvent as h, safeClassMap as n } from "@arcgis/lumina";
|
|
30
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.29 */
|
|
33
33
|
const w = {
|
|
34
34
|
arial: "Arial",
|
|
35
35
|
arialBlack: "Arial Black",
|
|
@@ -123,7 +123,7 @@ class I extends $ {
|
|
|
123
123
|
return this.fontStyle?.font?.family === "" && t.push(l`<calcite-option value selected></calcite-option>`), t;
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return l`<calcite-panel .heading=${this.header ?? this._messages.header} .closed=${this.open === !1} .closable=${this.enableClose ?? !1} @calcitePanelClose=${this.closePanel}><div class=${n(o.fontStyleContainer)}><calcite-label class=${n(o.font)}>${this._messages.font}<calcite-select .label=${this._messages.font ?? ""} @calciteSelectChange=${this.fontChange}>${this.renderFonts()}</calcite-select></calcite-label></div><div class=${n(o.fontStyleContainer)}><calcite-label class=${n(o.inputLabel)}>${this._messages.size}<calcite-input class=${n(o.numberInput)} type=number min=6 max=40 step=1 .value=${b(this.fontStyle?.font?.size)} @calciteInputInput=${this.fontSizeChange} ${x(this.fontSizeInputElement)}></calcite-input></calcite-label><calcite-action appearance=transparent .text=${this._messages.bold ?? ""} @click=${this.boldSelect} scale=l .active=${this.fontStyle?.font?.weight === s.Bold}><calcite-icon scale=s icon=bold></calcite-icon></calcite-action><calcite-action appearance=transparent .text=${this._messages.italic ?? ""} @click=${this.italicSelect} scale=l .active=${this.fontStyle?.font?.style === c.Italic}><calcite-icon scale=s icon=italicize></calcite-icon></calcite-action><calcite-action appearance=transparent .text=${this._messages.underline ?? ""} @click=${this.underlineSelect} scale=l .active=${this.fontStyle?.font?.decoration === r.Underline}><calcite-icon scale=s icon=underline></calcite-icon></calcite-action></div><div class=${n(o.fontStyleContainer)}><arcgis-charts-config-colors .rgba=${this.fontStyle?.color ?? void 0} @
|
|
126
|
+
return l`<calcite-panel .heading=${this.header ?? this._messages.header} .closed=${this.open === !1} .closable=${this.enableClose ?? !1} @calcitePanelClose=${this.closePanel}><div class=${n(o.fontStyleContainer)}><calcite-label class=${n(o.font)}>${this._messages.font}<calcite-select .label=${this._messages.font ?? ""} @calciteSelectChange=${this.fontChange}>${this.renderFonts()}</calcite-select></calcite-label></div><div class=${n(o.fontStyleContainer)}><calcite-label class=${n(o.inputLabel)}>${this._messages.size}<calcite-input class=${n(o.numberInput)} type=number min=6 max=40 step=1 .value=${b(this.fontStyle?.font?.size)} @calciteInputInput=${this.fontSizeChange} ${x(this.fontSizeInputElement)}></calcite-input></calcite-label><calcite-action appearance=transparent .text=${this._messages.bold ?? ""} @click=${this.boldSelect} scale=l .active=${this.fontStyle?.font?.weight === s.Bold}><calcite-icon scale=s icon=bold></calcite-icon></calcite-action><calcite-action appearance=transparent .text=${this._messages.italic ?? ""} @click=${this.italicSelect} scale=l .active=${this.fontStyle?.font?.style === c.Italic}><calcite-icon scale=s icon=italicize></calcite-icon></calcite-action><calcite-action appearance=transparent .text=${this._messages.underline ?? ""} @click=${this.underlineSelect} scale=l .active=${this.fontStyle?.font?.decoration === r.Underline}><calcite-icon scale=s icon=underline></calcite-icon></calcite-action></div><div class=${n(o.fontStyleContainer)}><arcgis-charts-config-colors .rgba=${this.fontStyle?.color ?? void 0} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel>`;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
d("arcgis-charts-config-font-style", I);
|
|
@@ -33,7 +33,7 @@ import { css as j, html as S } from "lit";
|
|
|
33
33
|
import { LitElement as I, renderElement as O, safeClassMap as g } from "@arcgis/lumina";
|
|
34
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
35
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
36
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.29 */
|
|
37
37
|
const P = {
|
|
38
38
|
type: f.TS,
|
|
39
39
|
color: [1, 1, 1, 255],
|
|
@@ -90,7 +90,7 @@ class _ extends I {
|
|
|
90
90
|
const e = t;
|
|
91
91
|
e.stopImmediatePropagation();
|
|
92
92
|
let s;
|
|
93
|
-
e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedTexts = [], this.selectedBackground.includes(s) ? (this.selectedBackground = [], this.selectedElement =
|
|
93
|
+
e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedTexts = [], this.selectedBackground.includes(s) ? (this.selectedBackground = [], this.selectedElement = void 0) : (this.selectedBackground = [s], this.selectedElement = u(this.getFormatValue(s)) ? void 0 : this.getFormatValue(s)), this.setupFormatPopover();
|
|
94
94
|
}, this.updateSymbolProps = (t) => {
|
|
95
95
|
const e = t.detail;
|
|
96
96
|
this.selectedSymbols.forEach((s) => {
|