g-ui-web 0.10.2 → 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
@@ -48139,7 +48139,7 @@ const fL = (e) => Array.isArray(e) ? "数组" : typeof e == "object" && e !== nu
48139
48139
  data: t ? null : e.params,
48140
48140
  params: t ? e.params : null,
48141
48141
  ContentType: e.ContentType,
48142
- resultFilter: e.transformResponse,
48142
+ // resultFilter: props.transformResponse,
48143
48143
  headers: {
48144
48144
  // 'gt-token': store.state['gui-baseConfig'].token,
48145
48145
  // 'sysCode': store.state['gui-baseConfig'].sysCode,
@@ -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,13 @@ const Qit = (e, t) => {
93995
93995
  axisTick: {
93996
93996
  show: !1
93997
93997
  }
93998
- }), r.push({
93998
+ }), n.push({
93999
+ axisTick: {
94000
+ show: !1
94001
+ },
94002
+ axisLine: {
94003
+ show: !1
94004
+ },
93999
94005
  splitLine: { lineStyle: { type: "dashed" } }
94000
94006
  });
94001
94007
  return {
@@ -94018,14 +94024,14 @@ const Qit = (e, t) => {
94018
94024
  containLabel: !0
94019
94025
  },
94020
94026
  color: Nb.chartOption.colors,
94021
- xAxis: r,
94022
- yAxis: n,
94023
- series: t
94027
+ xAxis: n,
94028
+ yAxis: a,
94029
+ series: r
94024
94030
  };
94025
- }, yB = (e, t) => {
94026
- const r = z({});
94027
- return r.value = Vn({}, ist(t), e), {
94028
- ...On(r.value)
94031
+ }, yB = (e, t, r) => {
94032
+ const n = z({});
94033
+ return n.value = Vn({}, ist(t), e), {
94034
+ ...On(n.value)
94029
94035
  };
94030
94036
  }, sst = { class: "g-bar" }, lst = H({
94031
94037
  name: "GBar"
@@ -94087,7 +94093,7 @@ const Qit = (e, t) => {
94087
94093
  }), r.dbOptions.direction == "horizontal" ? f.xAxis = Vn({}, f.xAxis, _) : f.yAxis = Vn({}, f.yAxis, _);
94088
94094
  }
94089
94095
  }
94090
- 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);
94091
94097
  };
94092
94098
  return Ae(
94093
94099
  () => r.dbOptions.data,
@@ -94122,7 +94128,7 @@ const Qit = (e, t) => {
94122
94128
  ]);
94123
94129
  };
94124
94130
  }
94125
- }), 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 = {
94126
94132
  backgroundColor: $b.chartOption.backgroundColor,
94127
94133
  color: $b.chartOption.colors,
94128
94134
  tooltip: {
@@ -96053,12 +96059,12 @@ const Zst = /* @__PURE__ */ _l(Xst), Jst = ["id"], Qst = /* @__PURE__ */ H({
96053
96059
  setup(e, { expose: t, emit: r }) {
96054
96060
  var w;
96055
96061
  Vd((x) => ({
96056
- "3bd14888": l.value,
96057
- "074b25e0": s.value,
96058
- "220aaa4d": f.value,
96059
- "6d88ce34": c.value,
96060
- "7733745b": d.value,
96061
- "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
96062
96068
  }));
96063
96069
  const n = Qn(), a = z(null), o = e, i = O(() => {
96064
96070
  if (o.bg)
Binary file