g-ui-web 0.10.3 → 0.10.4

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.
@@ -1,2 +1,2 @@
1
- declare const getBarOptions: (options?: object, num?: number) => {};
1
+ declare const getBarOptions: (options?: object, num?: number, direction?: string) => {};
2
2
  export { getBarOptions };
@@ -1,4 +1,4 @@
1
- export declare const barOptions: (num: any) => {
1
+ export declare const barOptions: (num: any, direction: any) => {
2
2
  backgroundColor: any;
3
3
  legend: {
4
4
  trigger: string;
package/lib/g-ui-web.js CHANGED
@@ -93981,13 +93981,13 @@ const Qit = (e, t) => {
93981
93981
  ]);
93982
93982
  };
93983
93983
  }
93984
- }), ost = lr(ast), Nb = Qn(), ist = (e) => {
93985
- let t = [], r = [], n = [];
93986
- for (let a = 0; a < e; a++)
93987
- t.push({
93984
+ }), ost = lr(ast), Nb = Qn(), ist = (e, t) => {
93985
+ let r = [], n = [], a = [];
93986
+ for (let o = 0; o < e; o++)
93987
+ r.push({
93988
93988
  barWidth: Nb.chartOption.barWidth
93989
93989
  // label: { show: true, position: "top" }
93990
- }), n.push({
93990
+ }), a.push({
93991
93991
  splitLine: { lineStyle: { type: "dashed" } },
93992
93992
  axisLine: {
93993
93993
  show: !1
@@ -93995,7 +93995,7 @@ const Qit = (e, t) => {
93995
93995
  axisTick: {
93996
93996
  show: !1
93997
93997
  }
93998
- }), r.push({
93998
+ }), n.push({
93999
93999
  axisTick: {
94000
94000
  show: !1
94001
94001
  },
@@ -94024,14 +94024,14 @@ const Qit = (e, t) => {
94024
94024
  containLabel: !0
94025
94025
  },
94026
94026
  color: Nb.chartOption.colors,
94027
- xAxis: r,
94028
- yAxis: n,
94029
- series: t
94027
+ xAxis: n,
94028
+ yAxis: a,
94029
+ series: r
94030
94030
  };
94031
- }, yB = (e, t) => {
94032
- const r = z({});
94033
- return r.value = Vn({}, ist(t), e), {
94034
- ...On(r.value)
94031
+ }, yB = (e, t, r) => {
94032
+ const n = z({});
94033
+ return n.value = Vn({}, ist(t), e), {
94034
+ ...On(n.value)
94035
94035
  };
94036
94036
  }, sst = { class: "g-bar" }, lst = H({
94037
94037
  name: "GBar"
@@ -94093,7 +94093,7 @@ const Qit = (e, t) => {
94093
94093
  }), r.dbOptions.direction == "horizontal" ? f.xAxis = Vn({}, f.xAxis, _) : f.yAxis = Vn({}, f.yAxis, _);
94094
94094
  }
94095
94095
  }
94096
- f ? n.value = yB(f, r.dbOptions.columns.length) : n.value = yB(g, r.dbOptions.columns.length);
94096
+ f ? n.value = yB(f, r.dbOptions.columns.length, r.dbOptions.direction) : n.value = yB(g, r.dbOptions.columns.length, r.dbOptions.direction);
94097
94097
  };
94098
94098
  return Ae(
94099
94099
  () => r.dbOptions.data,
@@ -94128,7 +94128,7 @@ const Qit = (e, t) => {
94128
94128
  ]);
94129
94129
  };
94130
94130
  }
94131
- }), cst = /* @__PURE__ */ Ia(ust, [["__scopeId", "data-v-026184bf"]]), dst = lr(cst), $b = Qn(), fst = {
94131
+ }), cst = /* @__PURE__ */ Ia(ust, [["__scopeId", "data-v-4e402101"]]), dst = lr(cst), $b = Qn(), fst = {
94132
94132
  backgroundColor: $b.chartOption.backgroundColor,
94133
94133
  color: $b.chartOption.colors,
94134
94134
  tooltip: {
@@ -96059,12 +96059,12 @@ const Zst = /* @__PURE__ */ _l(Xst), Jst = ["id"], Qst = /* @__PURE__ */ H({
96059
96059
  setup(e, { expose: t, emit: r }) {
96060
96060
  var w;
96061
96061
  Vd((x) => ({
96062
- "3bd14888": l.value,
96063
- "074b25e0": s.value,
96064
- "220aaa4d": f.value,
96065
- "6d88ce34": c.value,
96066
- "7733745b": d.value,
96067
- "7f88dfb6": h.value
96062
+ b5174f7c: l.value,
96063
+ dc8cfecc: s.value,
96064
+ fbcac55a: f.value,
96065
+ e288638c: c.value,
96066
+ "573d5b95": d.value,
96067
+ be884088: h.value
96068
96068
  }));
96069
96069
  const n = Qn(), a = z(null), o = e, i = O(() => {
96070
96070
  if (o.bg)
Binary file