@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.
- package/es/components/interaction/button/index.vue.mjs +2 -2
- package/es/components/interaction/button/index.vue2.mjs +74 -70
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue.mjs +2 -2
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue2.mjs +102 -101
- package/es/components/interaction/tabs/index.vue.mjs +39 -39
- package/es/components/interaction/tabs-icon/index.vue.mjs +33 -33
- package/es/components/text/list/index.vue.mjs +45 -45
- package/es/plugins/event/actions/ueCommonsWebscoketAction.mjs +10 -11
- package/es/plugins/event/actions/ueShjExecMethodAction.mjs +9 -10
- package/es/widgets.css +1 -1
- package/package.json +1 -1
- package/umd/index.js +97 -97
- package/umd/widgets.css +1 -1
|
@@ -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
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a74b2f3e"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useButtonWatch as
|
|
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
|
|
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 "../../../
|
|
189
|
-
|
|
190
|
-
|
|
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(
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
"
|
|
203
|
-
|
|
204
|
-
"
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
"
|
|
209
|
-
"
|
|
210
|
-
|
|
211
|
-
"
|
|
212
|
-
"
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
"
|
|
216
|
-
"
|
|
217
|
-
"
|
|
218
|
-
|
|
219
|
-
"
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
"
|
|
242
|
-
"
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
"
|
|
246
|
-
|
|
247
|
-
"
|
|
248
|
-
|
|
249
|
-
"
|
|
250
|
-
"
|
|
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 =
|
|
253
|
-
|
|
252
|
+
const t = n, i = v(""), o = () => {
|
|
253
|
+
g.parse({
|
|
254
254
|
tId: t.uuid,
|
|
255
255
|
sources: t.sources,
|
|
256
|
-
callback: ({ data:
|
|
257
|
-
|
|
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
|
|
265
|
+
return b(() => o()), S(t, o), a({
|
|
262
266
|
refresh: () => o(),
|
|
263
267
|
refreshView: () => {
|
|
264
268
|
},
|
|
265
269
|
// 刷新视图 无需刷新
|
|
266
270
|
refreshData: () => o()
|
|
267
|
-
}), (
|
|
271
|
+
}), (r, d) => (f(), x("button", {
|
|
268
272
|
class: "height-100 transition-all",
|
|
269
|
-
style:
|
|
273
|
+
style: p(e(s).json2cssObject(t.option.css))
|
|
270
274
|
}, [
|
|
271
|
-
|
|
275
|
+
h("p", {
|
|
272
276
|
class: "flex width-100 height-100 transition-all",
|
|
273
|
-
style:
|
|
274
|
-
},
|
|
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
|
-
|
|
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
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e81849b5"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
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
|
|
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
|
|
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" },
|
|
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(
|
|
205
|
+
setup(E, { expose: T, emit: V }) {
|
|
206
206
|
P((o) => ({
|
|
207
|
-
|
|
208
|
-
"
|
|
209
|
-
"
|
|
210
|
-
"
|
|
211
|
-
"
|
|
212
|
-
|
|
213
|
-
"
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
"
|
|
218
|
-
"
|
|
219
|
-
"
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
|
|
231
|
-
})),
|
|
232
|
-
const p =
|
|
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 (
|
|
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:
|
|
241
|
-
endTime:
|
|
240
|
+
startTime: e.value[0],
|
|
241
|
+
endTime: e.value[1],
|
|
242
242
|
formattedData: {
|
|
243
|
-
startTime: a(
|
|
244
|
-
endTime: a(
|
|
243
|
+
startTime: a(e.value[0], p.option.format),
|
|
244
|
+
endTime: a(e.value[1], p.option.format)
|
|
245
245
|
}
|
|
246
246
|
};
|
|
247
|
-
|
|
247
|
+
d("on-complete", t), l.parseEvents(p.useEvents, "on-complete", t);
|
|
248
248
|
} else {
|
|
249
249
|
const t = {
|
|
250
|
-
data:
|
|
251
|
-
formattedData: a(
|
|
250
|
+
data: e.value,
|
|
251
|
+
formattedData: a(e.value, p.option.format)
|
|
252
252
|
};
|
|
253
|
-
|
|
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(() =>
|
|
261
|
-
refresh: () =>
|
|
261
|
+
S(() => u()), H(p, u, c), T({
|
|
262
|
+
refresh: () => u(),
|
|
262
263
|
refreshView: () => c(),
|
|
263
|
-
refreshData: () =>
|
|
264
|
+
refreshData: () => u()
|
|
264
265
|
});
|
|
265
266
|
const a = (o, t) => {
|
|
266
267
|
if (!o || !t) return o;
|
|
267
268
|
try {
|
|
268
|
-
const
|
|
269
|
-
return
|
|
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 (
|
|
275
|
-
const
|
|
276
|
-
startTime:
|
|
277
|
-
endTime:
|
|
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(
|
|
280
|
-
endTime: a(
|
|
280
|
+
startTime: a(e.value[0], p.option.format),
|
|
281
|
+
endTime: a(e.value[1], p.option.format)
|
|
281
282
|
}
|
|
282
283
|
};
|
|
283
|
-
|
|
284
|
+
d("on-change", m), l.parseEvents(p.useEvents, "on-change", m);
|
|
284
285
|
return;
|
|
285
286
|
}
|
|
286
287
|
const t = {
|
|
287
|
-
data:
|
|
288
|
-
formattedData: a(
|
|
288
|
+
data: e.value,
|
|
289
|
+
formattedData: a(e.value, p.option.format)
|
|
289
290
|
};
|
|
290
|
-
|
|
291
|
+
d("on-change", t), l.parseEvents(p.useEvents, "on-change", t);
|
|
291
292
|
}, v = (o) => {
|
|
292
|
-
o === "today" ?
|
|
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" ?
|
|
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:
|
|
302
|
+
modelValue: e.value,
|
|
302
303
|
"onUpdate:modelValue": [
|
|
303
|
-
t[13] || (t[13] = (
|
|
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((
|
|
338
|
-
|
|
338
|
+
"left-sidebar": R((m) => [
|
|
339
|
+
i("div", z, [
|
|
339
340
|
o.option.range ? g("", !0) : (y(), b(O, { key: 0 }, [
|
|
340
|
-
|
|
341
|
+
i("div", {
|
|
341
342
|
class: "left-sidebar-item",
|
|
342
|
-
onClick: t[0] || (t[0] = (
|
|
343
|
+
onClick: t[0] || (t[0] = (s) => v("today"))
|
|
343
344
|
}, t[14] || (t[14] = [
|
|
344
|
-
|
|
345
|
+
i("span", null, "今天", -1)
|
|
345
346
|
])),
|
|
346
|
-
|
|
347
|
+
i("div", {
|
|
347
348
|
class: "left-sidebar-item",
|
|
348
|
-
onClick: t[1] || (t[1] = (
|
|
349
|
+
onClick: t[1] || (t[1] = (s) => v("yesterday"))
|
|
349
350
|
}, t[15] || (t[15] = [
|
|
350
|
-
|
|
351
|
+
i("span", null, "昨天", -1)
|
|
351
352
|
])),
|
|
352
|
-
|
|
353
|
+
i("div", {
|
|
353
354
|
class: "left-sidebar-item",
|
|
354
|
-
onClick: t[2] || (t[2] = (
|
|
355
|
+
onClick: t[2] || (t[2] = (s) => v("before-yesterday"))
|
|
355
356
|
}, t[16] || (t[16] = [
|
|
356
|
-
|
|
357
|
+
i("span", null, "前天", -1)
|
|
357
358
|
]))
|
|
358
359
|
], 64)),
|
|
359
360
|
o.option.range ? (y(), b(O, { key: 1 }, [
|
|
360
|
-
|
|
361
|
+
i("div", {
|
|
361
362
|
class: "left-sidebar-item",
|
|
362
|
-
onClick: t[3] || (t[3] = (
|
|
363
|
+
onClick: t[3] || (t[3] = (s) => n("today"))
|
|
363
364
|
}, t[17] || (t[17] = [
|
|
364
|
-
|
|
365
|
+
i("span", null, "今日", -1)
|
|
365
366
|
])),
|
|
366
|
-
|
|
367
|
+
i("div", {
|
|
367
368
|
class: "left-sidebar-item",
|
|
368
|
-
onClick: t[4] || (t[4] = (
|
|
369
|
+
onClick: t[4] || (t[4] = (s) => n("yesterday"))
|
|
369
370
|
}, t[18] || (t[18] = [
|
|
370
|
-
|
|
371
|
+
i("span", null, "昨日", -1)
|
|
371
372
|
])),
|
|
372
|
-
|
|
373
|
+
i("div", {
|
|
373
374
|
class: "left-sidebar-item",
|
|
374
|
-
onClick: t[5] || (t[5] = (
|
|
375
|
+
onClick: t[5] || (t[5] = (s) => n("before-yesterday"))
|
|
375
376
|
}, t[19] || (t[19] = [
|
|
376
|
-
|
|
377
|
+
i("span", null, "前天", -1)
|
|
377
378
|
])),
|
|
378
|
-
|
|
379
|
+
i("div", {
|
|
379
380
|
class: "left-sidebar-item",
|
|
380
|
-
onClick: t[6] || (t[6] = (
|
|
381
|
+
onClick: t[6] || (t[6] = (s) => n("week"))
|
|
381
382
|
}, t[20] || (t[20] = [
|
|
382
|
-
|
|
383
|
+
i("span", null, "本周", -1)
|
|
383
384
|
])),
|
|
384
|
-
|
|
385
|
+
i("div", {
|
|
385
386
|
class: "left-sidebar-item",
|
|
386
|
-
onClick: t[7] || (t[7] = (
|
|
387
|
+
onClick: t[7] || (t[7] = (s) => n("last-month"))
|
|
387
388
|
}, t[21] || (t[21] = [
|
|
388
|
-
|
|
389
|
+
i("span", null, "上一月", -1)
|
|
389
390
|
])),
|
|
390
|
-
|
|
391
|
+
i("div", {
|
|
391
392
|
class: "left-sidebar-item",
|
|
392
|
-
onClick: t[8] || (t[8] = (
|
|
393
|
+
onClick: t[8] || (t[8] = (s) => n("month"))
|
|
393
394
|
}, t[22] || (t[22] = [
|
|
394
|
-
|
|
395
|
+
i("span", null, "本月", -1)
|
|
395
396
|
])),
|
|
396
|
-
|
|
397
|
+
i("div", {
|
|
397
398
|
class: "left-sidebar-item",
|
|
398
|
-
onClick: t[9] || (t[9] = (
|
|
399
|
+
onClick: t[9] || (t[9] = (s) => n("last-7"))
|
|
399
400
|
}, t[23] || (t[23] = [
|
|
400
|
-
|
|
401
|
+
i("span", null, "近7天", -1)
|
|
401
402
|
])),
|
|
402
|
-
|
|
403
|
+
i("div", {
|
|
403
404
|
class: "left-sidebar-item",
|
|
404
|
-
onClick: t[10] || (t[10] = (
|
|
405
|
+
onClick: t[10] || (t[10] = (s) => n("last-15"))
|
|
405
406
|
}, t[24] || (t[24] = [
|
|
406
|
-
|
|
407
|
+
i("span", null, "近15天", -1)
|
|
407
408
|
])),
|
|
408
|
-
|
|
409
|
+
i("div", {
|
|
409
410
|
class: "left-sidebar-item",
|
|
410
|
-
onClick: t[11] || (t[11] = (
|
|
411
|
+
onClick: t[11] || (t[11] = (s) => n("last-30"))
|
|
411
412
|
}, t[25] || (t[25] = [
|
|
412
|
-
|
|
413
|
+
i("span", null, "近30天", -1)
|
|
413
414
|
])),
|
|
414
|
-
|
|
415
|
+
i("div", {
|
|
415
416
|
class: "left-sidebar-item",
|
|
416
|
-
onClick: t[12] || (t[12] = (
|
|
417
|
+
onClick: t[12] || (t[12] = (s) => n("last-365"))
|
|
417
418
|
}, t[26] || (t[26] = [
|
|
418
|
-
|
|
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
|
-
|
|
430
|
+
Ci as default
|
|
430
431
|
};
|