@ecan-bi/datav 1.2.13 → 1.2.15

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/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @ecan-bi/datav@1.2.13 */
1
+ /*! @ecan-bi/datav@1.2.15 */
2
2
  import { watch as he, inject as J, computed as te, unref as q, watchEffect as ir, defineComponent as ge, shallowRef as Tn, toRefs as Xa, onMounted as At, onUnmounted as yn, h as xn, nextTick as bn, createVNode as Y, resolveComponent as ne, openBlock as j, createElementBlock as G, createBlock as Je, renderSlot as Zt, withCtx as ue, ref as V, normalizeStyle as X, createCommentVNode as ze, provide as dt, onBeforeUnmount as y0, toDisplayString as De, Fragment as Xe, renderList as Qe, createElementVNode as fe, normalizeClass as b0, pushScopeId as Sn, popScopeId as wn, resolveDynamicComponent as Ja, mergeProps as sr, toHandlers as Qa, createTextVNode as Dt, withModifiers as lr, reactive as ei, Teleport as ti, withDirectives as cr, vModelText as ni, vShow as oi } from "vue";
3
3
  import { throttle as ri, init as ai, use as Bt, registerMap as ii } from "echarts/core";
4
4
  import { addListener as si, removeListener as li } from "resize-detector";
@@ -7446,16 +7446,14 @@ const nc = (e) => e.replace(/\\n/g, `
7446
7446
  rule: "NONE",
7447
7447
  label: h,
7448
7448
  fieldName: f,
7449
- fieldValue: "2020-02",
7449
+ fieldValue: "",
7450
7450
  // 在关联控件中取
7451
- dateFormat: "YYYY-MM",
7451
+ // dateFormat: 'YYYY-MM',
7452
7452
  valueType: v
7453
7453
  }, S = r(d) || {};
7454
- if (console.log("model", S), mn(S.type, "date")) {
7455
- const { value: x, format: b } = S || {};
7456
- m.fieldValue = (l = q(x)) == null ? void 0 : l.format(b), m.dateFormat = b;
7457
- }
7458
- c.push(m);
7454
+ console.log("model", S);
7455
+ const { value: x, format: b = "YYYY-MM-DD" } = S || {};
7456
+ mn(S.type, "date") ? (m.fieldValue = (l = q(x)) == null ? void 0 : l.format(b), m.dateFormat = b) : m.fieldValue = q(x), c.push(m);
7459
7457
  }
7460
7458
  return c;
7461
7459
  };
@@ -7537,7 +7535,8 @@ const nc = (e) => e.replace(/\\n/g, `
7537
7535
  return;
7538
7536
  if (g === "2" && C.length === 0)
7539
7537
  return;
7540
- const T = a(b);
7538
+ let T = [];
7539
+ (s == null ? void 0 : s.pageMode) === "design" ? T = s.sqlConditions ?? [] : T = a(b);
7541
7540
  try {
7542
7541
  return await ut.post(
7543
7542
  `${Rr}/diagram`,
@@ -8673,7 +8672,7 @@ function cu(e, n, t, o, r, a) {
8673
8672
  }, null, 8, ["value", "format", "picker", "locale", "getPopupContainer", "disabled-date", "onChange", "onCalendarChange", "onOpenChange"])
8674
8673
  ], 4);
8675
8674
  }
8676
- const uu = /* @__PURE__ */ pe(lu, [["render", cu], ["__scopeId", "data-v-5a46a4a9"]]), fu = me(uu), aa = {
8675
+ const uu = /* @__PURE__ */ pe(lu, [["render", cu], ["__scopeId", "data-v-ddb2a0fe"]]), fu = me(uu), aa = {
8677
8676
  ...Ce,
8678
8677
  width: "200px",
8679
8678
  name: "按钮",