g-ui-web 1.0.21 → 1.0.22

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/lib/g-ui-web.js CHANGED
@@ -115170,9 +115170,18 @@ const b6t = { class: "g-datatable" }, _6t = H({
115170
115170
  const h = (C) => {
115171
115171
  const x = [];
115172
115172
  return C.forEach((S) => {
115173
- let E = x.find((A) => A.source === S.source);
115174
- E || (E = { source: S.source, count: S.count, children: [] }, x.push(E));
115175
- const T = { source1: S.source1, count1: S.count1 };
115173
+ let E = x.find(
115174
+ (A) => A[o.dbOptions.axisField] === S[o.dbOptions.axisField]
115175
+ );
115176
+ E || (E = {
115177
+ [o.dbOptions.axisField]: S[o.dbOptions.axisField],
115178
+ [o.dbOptions.dataField]: S[o.dbOptions.dataField],
115179
+ children: []
115180
+ }, x.push(E));
115181
+ const T = {
115182
+ [o.dbOptions.cDataField]: S[o.dbOptions.cDataField],
115183
+ [o.dbOptions.cAxisField]: S[o.dbOptions.cAxisField]
115184
+ };
115176
115185
  E.children.push(T);
115177
115186
  }), x;
115178
115187
  }, v = B({}), g = o.dbOptions.columns.find((C) => C.field === o.dbOptions.dataField), m = async (C) => {
@@ -115308,7 +115317,7 @@ const b6t = { class: "g-datatable" }, _6t = H({
115308
115317
  ], 2);
115309
115318
  };
115310
115319
  }
115311
- }), M8t = /* @__PURE__ */ Qn(A8t, [["__scopeId", "data-v-50060849"]]), k8t = tr(M8t), D8t = { class: "g-calendar" }, O8t = { class: "g-calendar-header" }, I8t = { class: "switch-box" }, L8t = { class: "switch-box1" }, R8t = { class: "switch-box2" }, P8t = {
115320
+ }), M8t = /* @__PURE__ */ Qn(A8t, [["__scopeId", "data-v-5b1d7bcd"]]), k8t = tr(M8t), D8t = { class: "g-calendar" }, O8t = { class: "g-calendar-header" }, I8t = { class: "switch-box" }, L8t = { class: "switch-box1" }, R8t = { class: "switch-box2" }, P8t = {
115312
115321
  key: 0,
115313
115322
  class: "todoList"
115314
115323
  }, N8t = { class: "popover-inbox" }, $8t = ["onClick"], V8t = {
Binary file