@shjjs/visual-ui 1.0.47 → 1.0.48

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,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b3044b95"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a74b2f3e"]]);
5
5
  export {
6
- _ as default
6
+ a as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as s, useCssVars as a, ref as d, onMounted as l, createElementBlock as x, openBlock as v, normalizeStyle as r, unref as e, createElementVNode as b, toDisplayString as h } from "vue";
2
- import { useButtonWatch as f } from "./hooks/useButtonWatch.mjs";
1
+ import { defineComponent as c, useCssVars as l, ref as v, onMounted as b, createElementBlock as x, openBlock as f, normalizeStyle as p, unref as e, createElementVNode as h, toDisplayString as u } from "vue";
2
+ import { useButtonWatch as S } from "./hooks/useButtonWatch.mjs";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import "../../text-text-basic/index.mjs";
@@ -183,12 +183,12 @@ import "../../chart/src/scatter/basic2/index.mjs";
183
183
  import "../../chart/src/scatter/bubble/index.mjs";
184
184
  import "../../chart/src/scatter/ripples/index.mjs";
185
185
  import "../../commons/custom-component-render/index.mjs";
186
- import { SHJDatasourceV2 as u } from "../../../plugins/datasource/index.mjs";
186
+ import { SHJDatasourceV2 as g } from "../../../plugins/datasource/index.mjs";
187
+ import { SHJParseEvent as m } from "../../../plugins/event/index.mjs";
187
188
  import "lodash";
188
- import "../../../plugins/event/actions/fullScreenAction.mjs";
189
- import { Utils as m } from "../../../commons/utils/utils.mjs";
190
- const S = s({ name: "shj-button" }), Ki = /* @__PURE__ */ s({
191
- ...S,
189
+ import { Utils as s } from "../../../commons/utils/utils.mjs";
190
+ const y = c({ name: "shj-button" }), Qi = /* @__PURE__ */ c({
191
+ ...y,
192
192
  props: {
193
193
  option: {},
194
194
  sources: {},
@@ -196,85 +196,89 @@ const S = s({ name: "shj-button" }), Ki = /* @__PURE__ */ s({
196
196
  uuid: {}
197
197
  },
198
198
  emits: ["on-click-item", "on-change"],
199
- setup(c, { expose: n, emit: g }) {
200
- a((i) => ({
201
- "40e53e5c": t.option.css.hover.backgroundColor,
202
- "0308d6e8": t.option.css.hover.borderRadius + "px",
203
- "9edcad54": t.option.css.hover.borderWidth + "px",
204
- "2f656562": t.option.css.hover.borderStyle,
205
- "2e817714": t.option.css.hover.borderColor,
206
- "403e4a6c": t.option.css.hover.backgroundImage,
207
- f9c7769c: t.option.css.hover.backgroundSize,
208
- "2b2c2a0c": t.option.css.hover.backgroundRepeat,
209
- "2e4a92af": t.option.css.hover.backgroundPositionX + "px",
210
- d3a880e4: t.option.css.hover.backgroundPositionY + "px",
211
- "5a034650": t.option.css.hover.paddingLeft + "px",
212
- "1bbc2982": t.option.css.hover.paddingRight + "px",
213
- "206cbd66": t.option.css.hover.paddingTop + "px",
214
- "7dae9498": t.option.css.hover.paddingBottom + "px",
215
- "76df3935": t.option.css.hover.textStyle.fontStyle,
216
- "4dc7b060": t.option.css.hover.textStyle.fontFamily,
217
- "7b27a114": t.option.css.hover.textStyle.color,
218
- 11959810: t.option.css.hover.textStyle.fontSize + "px",
219
- "6b009774": t.option.css.hover.textStyle.fontWeight,
220
- "57670f88": t.option.css.hover.textStyle.alignItems,
221
- "6135c516": t.option.css.hover.textStyle.justifyContent,
222
- "020780ba": t.option.css.hover.textStyle["-webkit-text-stroke-color"],
223
- "1237d6a7": t.option.css.hover.textStyle["-webkit-text-stroke-width"] + "px",
224
- "6a5a6a5d": t.option.css.hover.textStyle.letterSpacing + "px",
225
- "78087a08": t.option.css.hover.textStyle.lineHeight,
226
- "261e231e": t.option.css.active.backgroundColor,
227
- "2f0a50d8": t.option.css.active.borderRadius + "px",
228
- "7854338a": t.option.css.active.borderWidth + "px",
229
- "39eb2dae": t.option.css.active.borderStyle,
230
- "39073f60": t.option.css.active.borderColor,
231
- "26719d16": t.option.css.active.backgroundImage,
232
- "098408e6": t.option.css.active.backgroundSize,
233
- "92989d80": t.option.css.active.backgroundRepeat,
234
- "15c9a8e3": t.option.css.active.backgroundPositionX + "px",
235
- "7daad5c2": t.option.css.active.backgroundPositionY + "px",
236
- ca7e31e8: t.option.css.active.paddingLeft + "px",
237
- "22b0a78b": t.option.css.active.paddingRight + "px",
238
- "05d61cb2": t.option.css.active.paddingTop + "px",
239
- bb1cfa30: t.option.css.active.paddingBottom + "px",
240
- b12414fe: t.option.css.active.textStyle.fontStyle,
241
- "2f107d94": t.option.css.active.textStyle.fontFamily,
242
- "08fcf1c2": t.option.css.active.textStyle.color,
243
- "30fe2948": t.option.css.active.textStyle.fontSize + "px",
244
- "4c4964a8": t.option.css.active.textStyle.fontWeight,
245
- "38afdcbc": t.option.css.active.textStyle.alignItems,
246
- aba64f6c: t.option.css.active.textStyle.justifyContent,
247
- "5527a7d7": t.option.css.active.textStyle["-webkit-text-stroke-color"],
248
- "19a48bf3": t.option.css.active.textStyle["-webkit-text-stroke-width"] + "px",
249
- "998972de": t.option.css.active.textStyle.letterSpacing + "px",
250
- "5951473c": t.option.css.active.textStyle.lineHeight
199
+ setup(n, { expose: a, emit: k }) {
200
+ l((r) => ({
201
+ d1853bc6: t.option.css.hover.backgroundColor,
202
+ "7063f857": t.option.css.hover.borderRadius + "px",
203
+ c90fbfaa: t.option.css.hover.borderWidth + "px",
204
+ "1f7077a6": t.option.css.hover.borderStyle,
205
+ 21385442: t.option.css.hover.borderColor,
206
+ d0de47d6: t.option.css.hover.backgroundImage,
207
+ abdd23f2: t.option.css.hover.backgroundSize,
208
+ "697c5221": t.option.css.hover.backgroundRepeat,
209
+ "896936f8": t.option.css.hover.backgroundPositionX + "px",
210
+ "232c9163": t.option.css.hover.backgroundPositionY + "px",
211
+ "843658a6": t.option.css.hover.paddingLeft + "px",
212
+ "640a4f0a": t.option.css.hover.paddingRight + "px",
213
+ a7bcd01e: t.option.css.hover.paddingTop + "px",
214
+ e766696e: t.option.css.hover.paddingBottom + "px",
215
+ "2e70c600": t.option.css.hover.textStyle.fontStyle,
216
+ "18ebc5f5": t.option.css.hover.textStyle.fontFamily,
217
+ "7a1c30c1": t.option.css.hover.textStyle.color,
218
+ "70f8b79b": t.option.css.hover.textStyle.fontSize + "px",
219
+ "3624ad09": t.option.css.hover.textStyle.fontWeight,
220
+ "228b251d": t.option.css.hover.textStyle.alignItems,
221
+ "2a7b082b": t.option.css.hover.textStyle.justifyContent,
222
+ "774ff9f8": t.option.css.hover.textStyle["-webkit-text-stroke-color"],
223
+ "3ee2c2b2": t.option.css.hover.textStyle["-webkit-text-stroke-width"] + "px",
224
+ "044449b2": t.option.css.hover.textStyle.letterSpacing + "px",
225
+ "432c8f9d": t.option.css.hover.textStyle.lineHeight,
226
+ "646e4b33": t.option.css.active.backgroundColor,
227
+ "0ba33326": t.option.css.active.borderRadius + "px",
228
+ "2b86d156": t.option.css.active.borderWidth + "px",
229
+ d556af7a: t.option.css.active.borderStyle,
230
+ d71e8c16: t.option.css.active.borderColor,
231
+ "64c1c52b": t.option.css.active.backgroundImage,
232
+ "7d97eb9e": t.option.css.active.backgroundSize,
233
+ "42688bcb": t.option.css.active.backgroundRepeat,
234
+ "28e311ae": t.option.css.active.backgroundPositionX + "px",
235
+ de7782e6: t.option.css.active.backgroundPositionY + "px",
236
+ "0ca94ad7": t.option.css.active.paddingLeft + "px",
237
+ "245685c0": t.option.css.active.paddingRight + "px",
238
+ "1e86d8f2": t.option.css.active.paddingTop + "px",
239
+ "3bd01ff3": t.option.css.active.paddingBottom + "px",
240
+ "72920b16": t.option.css.active.textStyle.fontStyle,
241
+ "6f21cac2": t.option.css.active.textStyle.fontFamily,
242
+ "474d19d7": t.option.css.active.textStyle.color,
243
+ "7481bd31": t.option.css.active.textStyle.fontSize + "px",
244
+ "34affc9a": t.option.css.active.textStyle.fontWeight,
245
+ "5be30c72": t.option.css.active.textStyle.alignItems,
246
+ "098ff7d5": t.option.css.active.textStyle.justifyContent,
247
+ "31698fbc": t.option.css.active.textStyle["-webkit-text-stroke-color"],
248
+ fb51bd70: t.option.css.active.textStyle["-webkit-text-stroke-width"] + "px",
249
+ "568d51dc": t.option.css.active.textStyle.letterSpacing + "px",
250
+ "1aa03772": t.option.css.active.textStyle.lineHeight
251
251
  }));
252
- const t = c, p = d(""), o = () => {
253
- u.parse({
252
+ const t = n, i = v(""), o = () => {
253
+ g.parse({
254
254
  tId: t.uuid,
255
255
  sources: t.sources,
256
- callback: ({ data: i }) => {
257
- p.value = i[0].data[0].data;
256
+ callback: ({ data: r }) => {
257
+ try {
258
+ i.value = r[0].data[0].data, m.parseEvents(t.useEvents, "dataListener", i.value);
259
+ } catch {
260
+ m.parseEvents(t.useEvents, "dataListener", "");
261
+ }
258
262
  }
259
263
  });
260
264
  };
261
- return l(() => o()), f(t, o), n({
265
+ return b(() => o()), S(t, o), a({
262
266
  refresh: () => o(),
263
267
  refreshView: () => {
264
268
  },
265
269
  // 刷新视图 无需刷新
266
270
  refreshData: () => o()
267
- }), (i, y) => (v(), x("button", {
271
+ }), (r, d) => (f(), x("button", {
268
272
  class: "height-100 transition-all",
269
- style: r(e(m).json2cssObject(t.option.css))
273
+ style: p(e(s).json2cssObject(t.option.css))
270
274
  }, [
271
- b("p", {
275
+ h("p", {
272
276
  class: "flex width-100 height-100 transition-all",
273
- style: r(e(m).json2cssObject(t.option.css.textStyle))
274
- }, h(p.value), 5)
277
+ style: p(e(s).json2cssObject(t.option.css.textStyle))
278
+ }, u(i.value), 5)
275
279
  ], 4));
276
280
  }
277
281
  });
278
282
  export {
279
- Ki as default
283
+ Qi as default
280
284
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b4ffd47e"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e81849b5"]]);
5
5
  export {
6
- f as default
6
+ a as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as E, useCssVars as P, ref as C, onMounted as S, createElementBlock as b, openBlock as y, createVNode as B, unref as w, normalizeStyle as N, withCtx as R, createElementVNode as r, createCommentVNode as g, Fragment as O } from "vue";
1
+ import { defineComponent as $, useCssVars as P, ref as C, onMounted as S, createElementBlock as b, openBlock as y, createVNode as B, unref as w, normalizeStyle as N, withCtx as R, createElementVNode as i, createCommentVNode as g, Fragment as O } from "vue";
2
2
  import Y from "@vuepic/vue-datepicker";
3
3
  import { nanoid as D } from "nanoid";
4
- import e from "dayjs";
4
+ import r from "dayjs";
5
5
  import "dayjs/locale/zh-cn";
6
6
  import j from "dayjs/plugin/relativeTime";
7
7
  import { useDatePickerWatch as H } from "./hooks/useDatePickerWatch.mjs";
@@ -189,11 +189,11 @@ import "../../../../chart/src/scatter/bubble/index.mjs";
189
189
  import "../../../../chart/src/scatter/ripples/index.mjs";
190
190
  import "../../../../commons/custom-component-render/index.mjs";
191
191
  import { SHJDatasourceV2 as I } from "../../../../../plugins/datasource/index.mjs";
192
- import { SHJParseEvent as u } from "../../../../../plugins/event/index.mjs";
192
+ import { SHJParseEvent as l } from "../../../../../plugins/event/index.mjs";
193
193
  import "lodash";
194
194
  import { Utils as q } from "../../../../../commons/utils/utils.mjs";
195
195
  import "@vuepic/vue-datepicker/dist/main.css";
196
- const z = { class: "left-sidebar" }, Cr = /* @__PURE__ */ E({
196
+ const z = { class: "left-sidebar" }, Ci = /* @__PURE__ */ $({
197
197
  __name: "index",
198
198
  props: {
199
199
  option: {},
@@ -202,105 +202,106 @@ const z = { class: "left-sidebar" }, Cr = /* @__PURE__ */ E({
202
202
  uuid: {}
203
203
  },
204
204
  emits: ["on-change", "on-complete"],
205
- setup(T, { expose: V, emit: $ }) {
205
+ setup(E, { expose: T, emit: V }) {
206
206
  P((o) => ({
207
- af664c1e: o.option.css.dp.backgroundColor,
208
- "19ef9652": o.option.css.dp.textColor,
209
- "4071122a": o.option.css.dp.hoverColor,
210
- "7abc71be": o.option.css.dp.hoverTextColor,
211
- "2188f4e5": o.option.css.dp.primaryColor,
212
- f18f546e: o.option.css.dp.primaryDisabledColor,
213
- "398b3a90": o.option.css.dp.primaryTextColor,
214
- "88b6409a": o.option.css.dp.secondaryColor,
215
- fe1f509a: o.option.css.dp.borderColor,
216
- "497e3ad4": o.option.css.dp.menuBorderColor,
217
- "404c5949": o.option.css.dp.borderColorHover,
218
- "402fe4e5": o.option.css.dp.borderColorFocus,
219
- "32962c63": o.option.css.dp.disabledColor,
220
- "234964f0": o.option.css.dp.scrollBarBackground,
221
- "2fd0633e": o.option.css.dp.scrollBarColor,
222
- "3d14db84": o.option.css.dp.successColor,
223
- "095893c0": o.option.css.dp.successColorDisabled,
224
- "3547581c": o.option.css.dp.dangerColor,
225
- "693afc30": o.option.css.dp.disabledColorText,
226
- "2032cc73": o.option.css.dp.highlightColor,
227
- "7de9c512": o.option.css.dp.loader,
228
- "527ac554": o.option.css.dp.fontSize,
229
- "5b8f8fe2": o.option.css.dp.inputBackgroundColor,
230
- "300126ad": o.option.css.dp.inputHeight
231
- })), e.extend(j), e.locale("zh-cn");
232
- const p = T, l = $, i = C(), k = C(D()), c = () => k.value = D(), d = () => {
207
+ "3e388ca2": o.option.css.dp.backgroundColor,
208
+ "73bec6e0": o.option.css.dp.textColor,
209
+ "8c918f26": o.option.css.dp.hoverColor,
210
+ "6c0ba240": o.option.css.dp.hoverTextColor,
211
+ "3e8e5de7": o.option.css.dp.primaryColor,
212
+ "094d9ccb": o.option.css.dp.primaryDisabledColor,
213
+ "85010a8c": o.option.css.dp.primaryTextColor,
214
+ a617df96: o.option.css.dp.secondaryColor,
215
+ "360e731e": o.option.css.dp.borderColor,
216
+ fbd5cadc: o.option.css.dp.menuBorderColor,
217
+ "1a91714b": o.option.css.dp.borderColorHover,
218
+ "1a74fce7": o.option.css.dp.borderColorFocus,
219
+ "938438be": o.option.css.dp.disabledColor,
220
+ "71ce35ae": o.option.css.dp.scrollBarBackground,
221
+ "4d32023a": o.option.css.dp.scrollBarColor,
222
+ "5a1a4486": o.option.css.dp.successColor,
223
+ "7d68fd22": o.option.css.dp.successColorDisabled,
224
+ cd60724c: o.option.css.dp.dangerColor,
225
+ "50ce3724": o.option.css.dp.disabledColorText,
226
+ "1181fcf5": o.option.css.dp.highlightColor,
227
+ "76e8200e": o.option.css.dp.loader,
228
+ "7910ff56": o.option.css.dp.fontSize,
229
+ "544d7f11": o.option.css.dp.inputBackgroundColor,
230
+ d7ecd52a: o.option.css.dp.inputHeight
231
+ })), r.extend(j), r.locale("zh-cn");
232
+ const p = E, d = V, e = C(), k = C(D()), c = () => k.value = D(), u = () => {
233
233
  I.parse({
234
234
  tId: p.uuid,
235
235
  sources: p.sources,
236
236
  callback: ({ data: o }) => {
237
237
  try {
238
- if (i.value = o[0].data[0].date, p.option.range) {
238
+ if (e.value = o[0].data[0].date, l.parseEvents(p.useEvents, "dataListener", e.value), p.option.range) {
239
239
  const t = {
240
- startTime: i.value[0],
241
- endTime: i.value[1],
240
+ startTime: e.value[0],
241
+ endTime: e.value[1],
242
242
  formattedData: {
243
- startTime: a(i.value[0], p.option.format),
244
- endTime: a(i.value[1], p.option.format)
243
+ startTime: a(e.value[0], p.option.format),
244
+ endTime: a(e.value[1], p.option.format)
245
245
  }
246
246
  };
247
- l("on-complete", t), u.parseEvents(p.useEvents, "on-complete", t);
247
+ d("on-complete", t), l.parseEvents(p.useEvents, "on-complete", t);
248
248
  } else {
249
249
  const t = {
250
- data: i.value,
251
- formattedData: a(i.value, p.option.format)
250
+ data: e.value,
251
+ formattedData: a(e.value, p.option.format)
252
252
  };
253
- l("on-complete", t), u.parseEvents(p.useEvents, "on-complete", t);
253
+ d("on-complete", t), l.parseEvents(p.useEvents, "on-complete", t);
254
254
  }
255
255
  } catch {
256
+ l.parseEvents(p.useEvents, "dataListener", null);
256
257
  }
257
258
  }
258
259
  });
259
260
  };
260
- S(() => d()), H(p, d, c), V({
261
- refresh: () => d(),
261
+ S(() => u()), H(p, u, c), T({
262
+ refresh: () => u(),
262
263
  refreshView: () => c(),
263
- refreshData: () => d()
264
+ refreshData: () => u()
264
265
  });
265
266
  const a = (o, t) => {
266
267
  if (!o || !t) return o;
267
268
  try {
268
- const s = e(o);
269
- return s.isValid() ? s.format(t.replace(/yyyy/g, "YYYY").replace(/dd/g, "DD")) : o;
269
+ const m = r(o);
270
+ return m.isValid() ? m.format(t.replace(/yyyy/g, "YYYY").replace(/dd/g, "DD")) : o;
270
271
  } catch {
271
272
  return o;
272
273
  }
273
274
  }, f = (o) => {
274
- if (i.value = o, p.option.range) {
275
- const s = {
276
- startTime: i.value[0],
277
- endTime: i.value[1],
275
+ if (e.value = o, p.option.range) {
276
+ const m = {
277
+ startTime: e.value[0],
278
+ endTime: e.value[1],
278
279
  formattedData: {
279
- startTime: a(i.value[0], p.option.format),
280
- endTime: a(i.value[1], p.option.format)
280
+ startTime: a(e.value[0], p.option.format),
281
+ endTime: a(e.value[1], p.option.format)
281
282
  }
282
283
  };
283
- l("on-change", s), u.parseEvents(p.useEvents, "on-change", s);
284
+ d("on-change", m), l.parseEvents(p.useEvents, "on-change", m);
284
285
  return;
285
286
  }
286
287
  const t = {
287
- data: i.value,
288
- formattedData: a(i.value, p.option.format)
288
+ data: e.value,
289
+ formattedData: a(e.value, p.option.format)
289
290
  };
290
- l("on-change", t), u.parseEvents(p.useEvents, "on-change", t);
291
+ d("on-change", t), l.parseEvents(p.useEvents, "on-change", t);
291
292
  }, v = (o) => {
292
- o === "today" ? i.value = e() : o === "yesterday" ? i.value = e().subtract(1, "day") : o === "before-yesterday" && (i.value = e().subtract(2, "day")), f(i.value);
293
+ o === "today" ? e.value = r() : o === "yesterday" ? e.value = r().subtract(1, "day") : o === "before-yesterday" && (e.value = r().subtract(2, "day")), f(e.value);
293
294
  }, n = (o) => {
294
- o === "today" ? i.value = [e().startOf("day"), e().endOf("day")] : o === "yesterday" ? i.value = [e().subtract(1, "day").startOf("day"), e().subtract(1, "day").endOf("day")] : o === "before-yesterday" ? i.value = [e().subtract(2, "day").startOf("day"), e().subtract(2, "day").endOf("day")] : o === "week" ? i.value = [e().startOf("week"), e().endOf("week")] : o === "last-month" ? i.value = [e().subtract(1, "month").startOf("month"), e().subtract(1, "month").endOf("month")] : o === "month" ? i.value = [e().startOf("month"), e().endOf("month")] : o === "last-7" ? i.value = [e().subtract(7, "day").startOf("day"), e().endOf("day")] : o === "last-15" ? i.value = [e().subtract(15, "day").startOf("day"), e().endOf("day")] : o === "last-30" ? i.value = [e().subtract(30, "day").startOf("day"), e().endOf("day")] : o === "last-365" && (i.value = [e().subtract(365, "day").startOf("day"), e().endOf("day")]), f(i.value);
295
+ o === "today" ? e.value = [r().startOf("day"), r().endOf("day")] : o === "yesterday" ? e.value = [r().subtract(1, "day").startOf("day"), r().subtract(1, "day").endOf("day")] : o === "before-yesterday" ? e.value = [r().subtract(2, "day").startOf("day"), r().subtract(2, "day").endOf("day")] : o === "week" ? e.value = [r().startOf("week"), r().endOf("week")] : o === "last-month" ? e.value = [r().subtract(1, "month").startOf("month"), r().subtract(1, "month").endOf("month")] : o === "month" ? e.value = [r().startOf("month"), r().endOf("month")] : o === "last-7" ? e.value = [r().subtract(7, "day").startOf("day"), r().endOf("day")] : o === "last-15" ? e.value = [r().subtract(15, "day").startOf("day"), r().endOf("day")] : o === "last-30" ? e.value = [r().subtract(30, "day").startOf("day"), r().endOf("day")] : o === "last-365" && (e.value = [r().subtract(365, "day").startOf("day"), r().endOf("day")]), f(e.value);
295
296
  };
296
297
  return (o, t) => (y(), b("div", {
297
298
  key: k.value,
298
299
  class: "date-picker"
299
300
  }, [
300
301
  B(w(Y), {
301
- modelValue: i.value,
302
+ modelValue: e.value,
302
303
  "onUpdate:modelValue": [
303
- t[13] || (t[13] = (s) => i.value = s),
304
+ t[13] || (t[13] = (m) => e.value = m),
304
305
  f
305
306
  ],
306
307
  range: o.option.range,
@@ -334,88 +335,88 @@ const z = { class: "left-sidebar" }, Cr = /* @__PURE__ */ E({
334
335
  class: "date-picker-container",
335
336
  style: N(w(q).json2cssObject(o.option.css.dp, "dp"))
336
337
  }, {
337
- "left-sidebar": R((s) => [
338
- r("div", z, [
338
+ "left-sidebar": R((m) => [
339
+ i("div", z, [
339
340
  o.option.range ? g("", !0) : (y(), b(O, { key: 0 }, [
340
- r("div", {
341
+ i("div", {
341
342
  class: "left-sidebar-item",
342
- onClick: t[0] || (t[0] = (m) => v("today"))
343
+ onClick: t[0] || (t[0] = (s) => v("today"))
343
344
  }, t[14] || (t[14] = [
344
- r("span", null, "今天", -1)
345
+ i("span", null, "今天", -1)
345
346
  ])),
346
- r("div", {
347
+ i("div", {
347
348
  class: "left-sidebar-item",
348
- onClick: t[1] || (t[1] = (m) => v("yesterday"))
349
+ onClick: t[1] || (t[1] = (s) => v("yesterday"))
349
350
  }, t[15] || (t[15] = [
350
- r("span", null, "昨天", -1)
351
+ i("span", null, "昨天", -1)
351
352
  ])),
352
- r("div", {
353
+ i("div", {
353
354
  class: "left-sidebar-item",
354
- onClick: t[2] || (t[2] = (m) => v("before-yesterday"))
355
+ onClick: t[2] || (t[2] = (s) => v("before-yesterday"))
355
356
  }, t[16] || (t[16] = [
356
- r("span", null, "前天", -1)
357
+ i("span", null, "前天", -1)
357
358
  ]))
358
359
  ], 64)),
359
360
  o.option.range ? (y(), b(O, { key: 1 }, [
360
- r("div", {
361
+ i("div", {
361
362
  class: "left-sidebar-item",
362
- onClick: t[3] || (t[3] = (m) => n("today"))
363
+ onClick: t[3] || (t[3] = (s) => n("today"))
363
364
  }, t[17] || (t[17] = [
364
- r("span", null, "今日", -1)
365
+ i("span", null, "今日", -1)
365
366
  ])),
366
- r("div", {
367
+ i("div", {
367
368
  class: "left-sidebar-item",
368
- onClick: t[4] || (t[4] = (m) => n("yesterday"))
369
+ onClick: t[4] || (t[4] = (s) => n("yesterday"))
369
370
  }, t[18] || (t[18] = [
370
- r("span", null, "昨日", -1)
371
+ i("span", null, "昨日", -1)
371
372
  ])),
372
- r("div", {
373
+ i("div", {
373
374
  class: "left-sidebar-item",
374
- onClick: t[5] || (t[5] = (m) => n("before-yesterday"))
375
+ onClick: t[5] || (t[5] = (s) => n("before-yesterday"))
375
376
  }, t[19] || (t[19] = [
376
- r("span", null, "前天", -1)
377
+ i("span", null, "前天", -1)
377
378
  ])),
378
- r("div", {
379
+ i("div", {
379
380
  class: "left-sidebar-item",
380
- onClick: t[6] || (t[6] = (m) => n("week"))
381
+ onClick: t[6] || (t[6] = (s) => n("week"))
381
382
  }, t[20] || (t[20] = [
382
- r("span", null, "本周", -1)
383
+ i("span", null, "本周", -1)
383
384
  ])),
384
- r("div", {
385
+ i("div", {
385
386
  class: "left-sidebar-item",
386
- onClick: t[7] || (t[7] = (m) => n("last-month"))
387
+ onClick: t[7] || (t[7] = (s) => n("last-month"))
387
388
  }, t[21] || (t[21] = [
388
- r("span", null, "上一月", -1)
389
+ i("span", null, "上一月", -1)
389
390
  ])),
390
- r("div", {
391
+ i("div", {
391
392
  class: "left-sidebar-item",
392
- onClick: t[8] || (t[8] = (m) => n("month"))
393
+ onClick: t[8] || (t[8] = (s) => n("month"))
393
394
  }, t[22] || (t[22] = [
394
- r("span", null, "本月", -1)
395
+ i("span", null, "本月", -1)
395
396
  ])),
396
- r("div", {
397
+ i("div", {
397
398
  class: "left-sidebar-item",
398
- onClick: t[9] || (t[9] = (m) => n("last-7"))
399
+ onClick: t[9] || (t[9] = (s) => n("last-7"))
399
400
  }, t[23] || (t[23] = [
400
- r("span", null, "近7天", -1)
401
+ i("span", null, "近7天", -1)
401
402
  ])),
402
- r("div", {
403
+ i("div", {
403
404
  class: "left-sidebar-item",
404
- onClick: t[10] || (t[10] = (m) => n("last-15"))
405
+ onClick: t[10] || (t[10] = (s) => n("last-15"))
405
406
  }, t[24] || (t[24] = [
406
- r("span", null, "近15天", -1)
407
+ i("span", null, "近15天", -1)
407
408
  ])),
408
- r("div", {
409
+ i("div", {
409
410
  class: "left-sidebar-item",
410
- onClick: t[11] || (t[11] = (m) => n("last-30"))
411
+ onClick: t[11] || (t[11] = (s) => n("last-30"))
411
412
  }, t[25] || (t[25] = [
412
- r("span", null, "近30天", -1)
413
+ i("span", null, "近30天", -1)
413
414
  ])),
414
- r("div", {
415
+ i("div", {
415
416
  class: "left-sidebar-item",
416
- onClick: t[12] || (t[12] = (m) => n("last-365"))
417
+ onClick: t[12] || (t[12] = (s) => n("last-365"))
417
418
  }, t[26] || (t[26] = [
418
- r("span", null, "近365天", -1)
419
+ i("span", null, "近365天", -1)
419
420
  ]))
420
421
  ], 64)) : g("", !0)
421
422
  ])
@@ -426,5 +427,5 @@ const z = { class: "left-sidebar" }, Cr = /* @__PURE__ */ E({
426
427
  }
427
428
  });
428
429
  export {
429
- Cr as default
430
+ Ci as default
430
431
  };