@shjjs/visual-ui 1.0.33 → 1.0.35

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.
Files changed (202) hide show
  1. package/es/commons/core/useChart.mjs +1 -1
  2. package/es/commons/plugins/datasource/index.d.ts +73 -73
  3. package/es/commons/plugins/datasource/index.mjs +214 -214
  4. package/es/commons/plugins/datasource/sources/api.d.ts +1 -1
  5. package/es/commons/plugins/datasource/sources/api.mjs +32 -32
  6. package/es/commons/plugins/datasource/sources/static.d.ts +1 -1
  7. package/es/commons/plugins/datasource/sources/static.mjs +17 -17
  8. package/es/commons/plugins/datasource/sources/storage.d.ts +1 -1
  9. package/es/commons/plugins/datasource/sources/storage.mjs +28 -28
  10. package/es/commons/plugins/datasource/sources/url.d.ts +1 -1
  11. package/es/commons/plugins/datasource/sources/url.mjs +17 -17
  12. package/es/commons/plugins/datasource/sources/variable.d.ts +1 -1
  13. package/es/commons/plugins/datasource/sources/variable.mjs +17 -17
  14. package/es/commons/plugins/datasource/sources/ws.d.ts +32 -32
  15. package/es/commons/plugins/datasource/sources/ws.mjs +139 -139
  16. package/es/commons/plugins/datasource/utils/axios.d.ts +70 -70
  17. package/es/commons/plugins/datasource/utils/axios.mjs +134 -134
  18. package/es/commons/plugins/datasource/utils/request.d.ts +3 -3
  19. package/es/commons/plugins/datasource/utils/request.mjs +5 -5
  20. package/es/commons/plugins/datasource/utils/utils.d.ts +115 -115
  21. package/es/commons/plugins/datasource/utils/utils.mjs +229 -229
  22. package/es/commons/plugins/datasource/utils/wsManager.d.ts +16 -16
  23. package/es/commons/plugins/datasource/utils/wsManager.mjs +78 -78
  24. package/es/commons/plugins/event/actions/fullScreenAction.d.ts +8 -8
  25. package/es/commons/plugins/event/actions/fullScreenAction.mjs +8 -8
  26. package/es/commons/plugins/event/actions/invokeAction.d.ts +8 -8
  27. package/es/commons/plugins/event/actions/invokeAction.mjs +11 -11
  28. package/es/commons/plugins/event/actions/linkAction.d.ts +8 -8
  29. package/es/commons/plugins/event/actions/linkAction.mjs +8 -8
  30. package/es/commons/plugins/event/actions/moveAction.d.ts +8 -8
  31. package/es/commons/plugins/event/actions/moveAction.mjs +15 -15
  32. package/es/commons/plugins/event/actions/refreshVariableAction.d.ts +7 -7
  33. package/es/commons/plugins/event/actions/refreshVariableAction.mjs +18 -18
  34. package/es/commons/plugins/event/actions/rotateAction.d.ts +8 -8
  35. package/es/commons/plugins/event/actions/rotateAction.mjs +19 -19
  36. package/es/commons/plugins/event/actions/scaleAction.d.ts +8 -8
  37. package/es/commons/plugins/event/actions/scaleAction.mjs +24 -24
  38. package/es/commons/plugins/event/actions/sendApiAction.d.ts +8 -8
  39. package/es/commons/plugins/event/actions/sendApiAction.mjs +16 -16
  40. package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.d.ts +7 -7
  41. package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.mjs +31 -31
  42. package/es/commons/plugins/event/actions/ueShjExecMethodAction.d.ts +7 -7
  43. package/es/commons/plugins/event/actions/ueShjExecMethodAction.mjs +31 -31
  44. package/es/commons/plugins/event/actions/unityIframeExecMethodAction.d.ts +7 -7
  45. package/es/commons/plugins/event/actions/unityIframeExecMethodAction.mjs +28 -28
  46. package/es/commons/plugins/event/actions/unityWebglExecMethodAction.d.ts +7 -7
  47. package/es/commons/plugins/event/actions/unityWebglExecMethodAction.mjs +28 -28
  48. package/es/commons/plugins/event/actions/updatePageAction.d.ts +8 -8
  49. package/es/commons/plugins/event/actions/updatePageAction.mjs +6 -6
  50. package/es/commons/plugins/event/actions/updateVariableAction.d.ts +7 -7
  51. package/es/commons/plugins/event/actions/updateVariableAction.mjs +25 -25
  52. package/es/commons/plugins/event/actions/updateWidgetAction.d.ts +7 -7
  53. package/es/commons/plugins/event/actions/updateWidgetAction.mjs +14 -14
  54. package/es/commons/plugins/event/actions/vrSceneMethodAction.d.ts +7 -7
  55. package/es/commons/plugins/event/actions/vrSceneMethodAction.mjs +12 -12
  56. package/es/commons/plugins/event/index.d.ts +206 -206
  57. package/es/commons/plugins/event/index.mjs +161 -161
  58. package/es/commons/plugins/event/utils/utils.d.ts +22 -22
  59. package/es/commons/plugins/event/utils/utils.mjs +50 -50
  60. package/es/commons/utils/componentRefs.d.ts +28 -28
  61. package/es/commons/utils/componentRefs.mjs +37 -37
  62. package/es/commons/utils/getNextElement.d.ts +7 -7
  63. package/es/commons/utils/getNextElement.mjs +12 -12
  64. package/es/components/chart/commons/components/common-chart/index.vue.mjs +10 -11
  65. package/es/components/chart/commons/components/common-chart-map/index.vue.mjs +6 -7
  66. package/es/components/chart/commons/hooks/useChart.mjs +1 -1
  67. package/es/components/chart-other-candlestick-basic/index.vue.mjs +7 -8
  68. package/es/components/chart-other-candlestick-demo/index.vue.mjs +16 -17
  69. package/es/components/chart-other-candlestick-shanghai/index.vue.mjs +14 -15
  70. package/es/components/chart-other-circular-graph/index.vue.mjs +16 -17
  71. package/es/components/chart-other-force/index.vue.mjs +19 -20
  72. package/es/components/chart-other-force2/index.vue.mjs +19 -20
  73. package/es/components/chart-other-funnel/index.vue.mjs +16 -17
  74. package/es/components/chart-other-funnel-contrast/index.vue.mjs +16 -17
  75. package/es/components/chart-other-funnel-split/index.vue.mjs +16 -17
  76. package/es/components/chart-other-funnel2/index.vue.mjs +16 -17
  77. package/es/components/chart-other-gauge/index.vue.mjs +21 -22
  78. package/es/components/chart-other-gauge-grade/index.vue.mjs +20 -21
  79. package/es/components/chart-other-gauge-stage/index.vue.mjs +21 -22
  80. package/es/components/chart-other-graph-basic/index.vue.mjs +8 -9
  81. package/es/components/chart-other-graph-basic2/index.vue.mjs +8 -9
  82. package/es/components/chart-other-graph-calendar/index.vue.mjs +7 -8
  83. package/es/components/chart-other-grid-percentage/index.vue.mjs +3 -4
  84. package/es/components/chart-other-heatmap/index.vue.mjs +19 -20
  85. package/es/components/chart-other-label-gauge/index.vue.mjs +9 -10
  86. package/es/components/chart-other-liquidfill/index.vue.mjs +11 -12
  87. package/es/components/chart-other-parallel-basic/index.vue.mjs +15 -16
  88. package/es/components/chart-other-parallel-mul/index.vue.mjs +6 -7
  89. package/es/components/chart-other-radar/index.vue.mjs +20 -21
  90. package/es/components/chart-other-radar-stack/index.vue.mjs +6 -7
  91. package/es/components/chart-other-sunburst-basic/index.vue.mjs +12 -13
  92. package/es/components/chart-other-sunburst-basic2/index.vue.mjs +12 -13
  93. package/es/components/chart-other-sunburst-basic3/index.vue.mjs +12 -13
  94. package/es/components/chart-other-sunburst-basic4/index.vue.mjs +12 -13
  95. package/es/components/chart-other-sunburst-book/index.vue.mjs +7 -8
  96. package/es/components/chart-other-sunburst-flavors/index.vue.mjs +16 -17
  97. package/es/components/chart-other-sunburst-radius/index.vue.mjs +18 -19
  98. package/es/components/chart-other-theme-river/index.vue.mjs +3 -4
  99. package/es/components/chart-other-tree/index.vue.mjs +8 -9
  100. package/es/components/chart-other-tree-line/index.vue.mjs +7 -8
  101. package/es/components/chart-other-treemap/index.vue.mjs +9 -10
  102. package/es/components/chart-other-treemap-basic/index.vue.mjs +14 -15
  103. package/es/components/chart-other-word-cloud/index.vue.mjs +11 -12
  104. package/es/components/commons-echarts/compileAndRunEcharts.mjs +8 -9
  105. package/es/components/commons-loop-iterator/index.vue.mjs +2 -2
  106. package/es/components/commons-loop-iterator/index.vue2.mjs +3 -4
  107. package/es/components/commons-product-model/index.vue.mjs +2 -2
  108. package/es/components/commons-product-model/index.vue2.mjs +1 -1
  109. package/es/components/commons-three-loader/index.vue.mjs +1 -1
  110. package/es/components/commons-three-loader/index.vue2.mjs +1 -1
  111. package/es/components/commons-three-loader3/index.vue.mjs +1 -1
  112. package/es/components/commons-three-loader3/index.vue2.mjs +1 -1
  113. package/es/components/commons-weather/index.vue.mjs +2 -2
  114. package/es/components/commons-weather/index.vue2.mjs +1 -1
  115. package/es/components/commons-weather-dynamic/index.vue.mjs +1 -1
  116. package/es/components/commons-weather-dynamic/index.vue2.mjs +3 -4
  117. package/es/components/index.d.ts +111 -111
  118. package/es/components/index.mjs +360 -360
  119. package/es/components/interaction/button/index.vue.mjs +2 -2
  120. package/es/components/interaction/button/index.vue2.mjs +65 -65
  121. package/es/components/interaction/date-picker/components/common-date-picker/index.vue.mjs +2 -2
  122. package/es/components/interaction/date-picker/components/common-date-picker/index.vue2.mjs +64 -65
  123. package/es/components/interaction/date-picker/src/date-picker/index.d.ts +211 -211
  124. package/es/components/interaction/date-picker/src/date-picker/index.vue.d.ts +211 -211
  125. package/es/components/interaction/date-picker/src/date-picker-range/index.d.ts +211 -211
  126. package/es/components/interaction/date-picker/src/date-picker-range/index.vue.d.ts +211 -211
  127. package/es/components/interaction/tabs/index.vue.mjs +11 -12
  128. package/es/components/interaction/tabs-icon/index.vue.mjs +6 -7
  129. package/es/components/interaction-input/index.vue.mjs +1 -1
  130. package/es/components/interaction-input/index.vue2.mjs +3 -4
  131. package/es/components/interaction-select/index.vue.mjs +1 -1
  132. package/es/components/interaction-select/index.vue2.mjs +6 -7
  133. package/es/components/interaction-slider/index.vue.mjs +2 -2
  134. package/es/components/interaction-slider/index.vue2.mjs +34 -35
  135. package/es/components/interaction-switch/index.vue.mjs +2 -2
  136. package/es/components/interaction-switch/index.vue2.mjs +20 -20
  137. package/es/components/interaction-tabs/index.vue.mjs +2 -2
  138. package/es/components/interaction-tabs/index.vue2.mjs +1 -1
  139. package/es/components/interaction-tabs2/index.vue.mjs +2 -2
  140. package/es/components/interaction-tabs2/index.vue2.mjs +1 -1
  141. package/es/components/map-earth-basic/index.vue.d.ts +0 -2
  142. package/es/components/map-earth-basic/index.vue.mjs +14 -15
  143. package/es/components/map-earth-cool-tech/index.vue.mjs +14 -15
  144. package/es/components/map-earth-fly-line/index.vue.d.ts +0 -4
  145. package/es/components/map-earth-fly-line/index.vue.mjs +8 -9
  146. package/es/components/map-earth-hacker/index.vue.d.ts +2 -4
  147. package/es/components/map-earth-hacker/index.vue.mjs +19 -20
  148. package/es/components/map-earth-particle/index.vue.d.ts +0 -4
  149. package/es/components/map-earth-particle/index.vue.mjs +14 -15
  150. package/es/components/media-audio/index.vue.mjs +2 -2
  151. package/es/components/media-audio/index.vue2.mjs +5 -5
  152. package/es/components/media-audio-dynamic/index.vue.mjs +1 -1
  153. package/es/components/media-audio-dynamic/index.vue2.mjs +4 -5
  154. package/es/components/media-flv/index.vue.mjs +1 -1
  155. package/es/components/media-iframe/index.vue.mjs +2 -2
  156. package/es/components/media-iframe/index.vue2.mjs +1 -1
  157. package/es/components/media-image-dynamic/index.vue.mjs +2 -2
  158. package/es/components/media-image-dynamic/index.vue2.mjs +6 -7
  159. package/es/components/media-m3u8/index.vue.mjs +1 -1
  160. package/es/components/media-m3u8-dynamic/index.vue.mjs +3 -4
  161. package/es/components/media-video/index.vue.mjs +2 -2
  162. package/es/components/media-video/index.vue2.mjs +1 -1
  163. package/es/components/media-video-dynamic/index.vue.mjs +2 -2
  164. package/es/components/media-video-dynamic/index.vue2.mjs +3 -4
  165. package/es/components/scene-amap2d/index.vue.mjs +1 -1
  166. package/es/components/scene-amap2d/index.vue2.mjs +13 -14
  167. package/es/components/scene-amap3d/index.vue.mjs +2 -2
  168. package/es/components/scene-amap3d/index.vue2.mjs +4 -5
  169. package/es/components/scene-default/index.vue.mjs +2 -2
  170. package/es/components/scene-default/index.vue2.mjs +1 -1
  171. package/es/components/scene-map3d/index.vue.mjs +2 -2
  172. package/es/components/scene-map3d/index.vue2.mjs +19 -20
  173. package/es/components/scene-ue-iframe/index.vue.mjs +2 -2
  174. package/es/components/scene-ue-iframe/index.vue2.mjs +1 -1
  175. package/es/components/scene-ue-shj/index.vue.mjs +2 -2
  176. package/es/components/scene-ue-shj/index.vue2.mjs +1 -1
  177. package/es/components/scene-unity-iframe/index.vue.mjs +2 -2
  178. package/es/components/scene-unity-iframe/index.vue2.mjs +1 -1
  179. package/es/components/scene-unity-webgl/index.vue.mjs +1 -1
  180. package/es/components/scene-unity-webgl/index.vue2.mjs +1 -1
  181. package/es/components/scene-vr/index.vue.mjs +2 -2
  182. package/es/components/scene-vr/index.vue2.mjs +3 -3
  183. package/es/components/text/list/index.vue.mjs +10 -11
  184. package/es/components/text-count-down/index.vue.mjs +1 -1
  185. package/es/components/text-count-down/index.vue2.mjs +1 -1
  186. package/es/components/text-over-number/index.vue.mjs +1 -1
  187. package/es/components/text-over-number/index.vue2.mjs +15 -16
  188. package/es/components/text-real-time/index.vue.mjs +1 -1
  189. package/es/components/text-real-time/index.vue2.mjs +2 -2
  190. package/es/components/text-row-scroll/index.vue.mjs +2 -2
  191. package/es/components/text-row-scroll/index.vue2.mjs +30 -31
  192. package/es/components/text-table-basic/index.vue.mjs +1 -1
  193. package/es/components/text-table-basic/index.vue2.mjs +43 -44
  194. package/es/components/text-table-scroll/index.vue.mjs +2 -2
  195. package/es/components/text-table-scroll/index.vue2.mjs +58 -59
  196. package/es/components/text-text-dynamic/index.vue.mjs +1 -1
  197. package/es/components/text-text-dynamic/index.vue2.mjs +16 -17
  198. package/es/env.d.ts +0 -1
  199. package/es/index.d.ts +0 -7
  200. package/es/index.mjs +370 -384
  201. package/es/widgets.css +1 -1
  202. package/package.json +2 -2
@@ -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-396f48bd"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a4e9af51"]]);
5
5
  export {
6
- f as default
6
+ r as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as a, useCssVars as d, ref as l, onMounted as x, createElementBlock as v, openBlock as f, normalizeStyle as i, unref as c, createElementVNode as b, toDisplayString as h } from "vue";
2
- import { useButtonWatch as u } from "./hooks/useButtonWatch.mjs";
3
- import { SHJDatasourceV2 as S } from "../../../commons/plugins/datasource/index.mjs";
1
+ import { defineComponent as a, useCssVars as d, ref as l, onMounted as b, createElementBlock as x, openBlock as v, normalizeStyle as c, unref as i, createElementVNode as f, toDisplayString as h } from "vue";
2
+ import { SHJDatasourceV2 as u } from "@zerov/core";
3
+ import { useButtonWatch as S } from "./hooks/useButtonWatch.mjs";
4
4
  import { Utils as n } from "../../../commons/utils/utils.mjs";
5
5
  const g = a({ name: "shj-button" }), j = /* @__PURE__ */ a({
6
6
  ...g,
@@ -12,80 +12,80 @@ const g = a({ name: "shj-button" }), j = /* @__PURE__ */ a({
12
12
  },
13
13
  emits: ["on-click-item", "on-change"],
14
14
  setup(p, { expose: r, emit: y }) {
15
- d((o) => ({
16
- d93a17e2: t.option.css.hover.backgroundColor,
17
- "4aa97d6e": t.option.css.hover.borderRadius + "px",
18
- "338af0f9": t.option.css.hover.borderWidth + "px",
19
- "9a4fc1c2": t.option.css.hover.borderStyle,
20
- "9c179e5e": t.option.css.hover.borderColor,
21
- d89323f2: t.option.css.hover.backgroundImage,
22
- "46d8d5d5": t.option.css.hover.backgroundSize,
23
- "1bee0322": t.option.css.hover.backgroundRepeat,
24
- "0a9f8752": t.option.css.hover.backgroundPositionX + "px",
25
- "7280b431": t.option.css.hover.backgroundPositionY + "px",
26
- "55f7a47b": t.option.css.hover.paddingLeft + "px",
27
- "635cd008": t.option.css.hover.paddingRight + "px",
28
- "352a7563": t.option.css.hover.paddingTop + "px",
29
- "6aeea097": t.option.css.hover.paddingBottom + "px",
30
- "530ee5f2": t.option.css.hover.textStyle.fontStyle,
31
- "10e4c97a": t.option.css.hover.textStyle.fontFamily,
32
- "7641c2b3": t.option.css.hover.textStyle.color,
33
- e763f9e6: t.option.css.hover.textStyle.fontSize + "px",
34
- "14c68257": t.option.css.hover.textStyle.fontWeight,
35
- "012cfa6b": t.option.css.hover.textStyle.alignItems,
36
- e314f30e: t.option.css.hover.textStyle.justifyContent,
37
- "861f5074": t.option.css.hover.textStyle["-webkit-text-stroke-color"],
38
- "6c7c3db8": t.option.css.hover.textStyle["-webkit-text-stroke-width"] + "px",
39
- "740e5580": t.option.css.hover.textStyle.letterSpacing + "px",
40
- "21ce64eb": t.option.css.hover.textStyle.lineHeight,
41
- "260a10fe": t.option.css.active.backgroundColor,
42
- "4e5f888a": t.option.css.active.borderRadius + "px",
43
- "5483e047": t.option.css.active.borderWidth + "px",
44
- "24cfab91": t.option.css.active.borderStyle,
45
- "23ebbd43": t.option.css.active.borderColor,
46
- "25631d0e": t.option.css.active.backgroundImage,
47
- "854cc7ba": t.option.css.active.backgroundSize,
48
- "691d2d86": t.option.css.active.backgroundRepeat,
49
- "77d96ec0": t.option.css.active.backgroundPositionX + "px",
50
- "2bf4757f": t.option.css.active.backgroundPositionY + "px",
51
- "76f093c9": t.option.css.active.paddingLeft + "px",
52
- "6712db24": t.option.css.active.paddingRight + "px",
53
- ee613756: t.option.css.active.paddingTop + "px",
54
- "3168f465": t.option.css.active.paddingBottom + "px",
55
- "5133e064": t.option.css.active.textStyle.fontStyle,
56
- "83f021de": t.option.css.active.textStyle.fontFamily,
57
- "604c73b6": t.option.css.active.textStyle.color,
58
- 78544002: t.option.css.active.textStyle.fontSize + "px",
59
- "497e53b6": t.option.css.active.textStyle.fontWeight,
60
- "70b1638e": t.option.css.active.textStyle.alignItems,
61
- "24e54347": t.option.css.active.textStyle.justifyContent,
62
- "55b69414": t.option.css.active.textStyle["-webkit-text-stroke-color"],
63
- "535bd116": t.option.css.active.textStyle["-webkit-text-stroke-width"] + "px",
64
- "3ff68064": t.option.css.active.textStyle.letterSpacing + "px",
65
- "2f6e8e8e": t.option.css.active.textStyle.lineHeight
15
+ d((e) => ({
16
+ d6821bca: t.option.css.hover.backgroundColor,
17
+ "9afd4d56": t.option.css.hover.borderRadius + "px",
18
+ "63cba76d": t.option.css.hover.borderWidth + "px",
19
+ aec5f9aa: t.option.css.hover.borderStyle,
20
+ b08dd646: t.option.css.hover.borderColor,
21
+ d5db27da: t.option.css.hover.backgroundImage,
22
+ "9b82336e": t.option.css.hover.backgroundSize,
23
+ "1c2cc1e3": t.option.css.hover.backgroundRepeat,
24
+ "5e66ec74": t.option.css.hover.backgroundPositionX + "px",
25
+ "38adb6a5": t.option.css.hover.backgroundPositionY + "px",
26
+ f38f4a22: t.option.css.hover.paddingLeft + "px",
27
+ b3b09ff0: t.option.css.hover.paddingRight + "px",
28
+ "4f7f206f": t.option.css.hover.paddingTop + "px",
29
+ e448ebea: t.option.css.hover.paddingBottom + "px",
30
+ "2ae4fdfe": t.option.css.hover.textStyle.fontStyle,
31
+ "1a7a84b7": t.option.css.hover.textStyle.fontFamily,
32
+ "779dc0bf": t.option.css.hover.textStyle.color,
33
+ "88063bce": t.option.css.hover.textStyle.fontSize + "px",
34
+ "37b36bcb": t.option.css.hover.textStyle.fontWeight,
35
+ "2419e3df": t.option.css.hover.textStyle.alignItems,
36
+ "352895ed": t.option.css.hover.textStyle.justifyContent,
37
+ "7ded678c": t.option.css.hover.textStyle["-webkit-text-stroke-color"],
38
+ "2b76c230": t.option.css.hover.textStyle["-webkit-text-stroke-width"] + "px",
39
+ "7e4cfdf4": t.option.css.hover.textStyle.letterSpacing + "px",
40
+ "44bb4e5f": t.option.css.hover.textStyle.lineHeight,
41
+ "171ebaf5": t.option.css.active.backgroundColor,
42
+ "0885b5a2": t.option.css.active.borderRadius + "px",
43
+ "2c59f853": t.option.css.active.borderWidth + "px",
44
+ "30b16df6": t.option.css.active.borderStyle,
45
+ "32794a92": t.option.css.active.borderColor,
46
+ "177234ed": t.option.css.active.backgroundImage,
47
+ "8294cba2": t.option.css.active.backgroundSize,
48
+ "3473d76e": t.option.css.active.backgroundRepeat,
49
+ "78f2d6a8": t.option.css.active.backgroundPositionX + "px",
50
+ "2b67c18b": t.option.css.active.backgroundPositionY + "px",
51
+ "4ec6abd5": t.option.css.active.paddingLeft + "px",
52
+ "2139083c": t.option.css.active.paddingRight + "px",
53
+ "8ddfca6e": t.option.css.active.paddingTop + "px",
54
+ "6c193971": t.option.css.active.paddingBottom + "px",
55
+ "7420c9d8": t.option.css.active.textStyle.fontStyle,
56
+ "0e8f97c6": t.option.css.active.textStyle.fontFamily,
57
+ "0c04ecce": t.option.css.active.textStyle.color,
58
+ ebfa3b1a: t.option.css.active.textStyle.fontSize + "px",
59
+ "15f11b31": t.option.css.active.textStyle.fontWeight,
60
+ "02579345": t.option.css.active.textStyle.alignItems,
61
+ 54942253: t.option.css.active.textStyle.justifyContent,
62
+ "5687a3c0": t.option.css.active.textStyle["-webkit-text-stroke-color"],
63
+ "2843118a": t.option.css.active.textStyle["-webkit-text-stroke-width"] + "px",
64
+ "1d9b25da": t.option.css.active.textStyle.letterSpacing + "px",
65
+ "22f8fdc5": t.option.css.active.textStyle.lineHeight
66
66
  }));
67
- const t = p, s = l(""), e = () => {
68
- S.parse({
67
+ const t = p, s = l(""), o = () => {
68
+ u.parse({
69
69
  tId: t.uuid,
70
70
  sources: t.sources,
71
- callback: ({ data: o }) => {
72
- s.value = o[0].data[0].data;
71
+ callback: ({ data: e }) => {
72
+ s.value = e[0].data[0].data;
73
73
  }
74
74
  });
75
75
  };
76
- return x(() => e()), u(t, e), r({
77
- refresh: () => e(),
76
+ return b(() => o()), S(t, o), r({
77
+ refresh: () => o(),
78
78
  refreshView: () => {
79
79
  },
80
80
  // 刷新视图 无需刷新
81
- refreshData: () => e()
82
- }), (o, m) => (f(), v("button", {
81
+ refreshData: () => o()
82
+ }), (e, m) => (v(), x("button", {
83
83
  class: "height-100 transition-all",
84
- style: i(c(n).json2cssObject(t.option.css))
84
+ style: c(i(n).json2cssObject(t.option.css))
85
85
  }, [
86
- b("p", {
86
+ f("p", {
87
87
  class: "flex width-100 height-100 transition-all",
88
- style: i(c(n).json2cssObject(t.option.css.textStyle))
88
+ style: c(i(n).json2cssObject(t.option.css.textStyle))
89
89
  }, h(s.value), 5)
90
90
  ], 4));
91
91
  }
@@ -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 e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a3634643"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1ae780e7"]]);
5
5
  export {
6
- e as default
6
+ a as default
7
7
  };
@@ -1,41 +1,40 @@
1
- import { defineComponent as V, useCssVars as D, ref as h, onMounted as T, createElementBlock as f, openBlock as m, createVNode as B, unref as C, normalizeStyle as E, withCtx as I, createElementVNode as t, createCommentVNode as w, Fragment as O, pushScopeId as N, popScopeId as R } from "vue";
1
+ import { defineComponent as V, useCssVars as D, ref as h, onMounted as T, createElementBlock as f, openBlock as m, createVNode as B, unref as C, normalizeStyle as E, withCtx as I, createElementVNode as s, createCommentVNode as w, Fragment as O, pushScopeId as N, popScopeId as R } from "vue";
2
2
  import H from "@vuepic/vue-datepicker";
3
3
  import { nanoid as g } from "nanoid";
4
- import s from "dayjs";
4
+ import t from "dayjs";
5
5
  import "dayjs/locale/zh-cn";
6
6
  import j from "dayjs/plugin/relativeTime";
7
- import { useDatePickerWatch as q } from "./hooks/useDatePickerWatch.mjs";
8
- import { SHJDatasourceV2 as z } from "../../../../../commons/plugins/datasource/index.mjs";
9
- import { SHJParseEvent as S } from "../../../../../commons/plugins/event/index.mjs";
7
+ import { SHJDatasourceV2 as q, SHJParseEvent as S } from "@zerov/core";
8
+ import { useDatePickerWatch as z } from "./hooks/useDatePickerWatch.mjs";
10
9
  import { Utils as F } from "../../../../../commons/utils/utils.mjs";
11
10
  import "@vuepic/vue-datepicker/dist/main.css";
12
- const i = (d) => (N("data-v-a3634643"), d = d(), R(), d), J = { class: "left-sidebar" }, U = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, "今天", -1)), A = [
11
+ const i = (d) => (N("data-v-1ae780e7"), d = d(), R(), d), J = { class: "left-sidebar" }, U = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "今天", -1)), A = [
13
12
  U
14
- ], K = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, "昨天", -1)), L = [
13
+ ], K = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "昨天", -1)), L = [
15
14
  K
16
- ], M = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, "前天", -1)), W = [
15
+ ], M = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "前天", -1)), W = [
17
16
  M
18
- ], Y = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, "今日", -1)), G = [
17
+ ], Y = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "今日", -1)), G = [
19
18
  Y
20
- ], Q = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, "昨日", -1)), X = [
19
+ ], Q = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "昨日", -1)), X = [
21
20
  Q
22
- ], Z = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, "前天", -1)), _ = [
21
+ ], Z = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "前天", -1)), _ = [
23
22
  Z
24
- ], x = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, "本周", -1)), ee = [
23
+ ], x = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "本周", -1)), ee = [
25
24
  x
26
- ], oe = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, "上一月", -1)), te = [
25
+ ], oe = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "上一月", -1)), se = [
27
26
  oe
28
- ], se = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, "本月", -1)), ne = [
29
- se
30
- ], ie = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, "近7天", -1)), ae = [
27
+ ], te = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "本月", -1)), ne = [
28
+ te
29
+ ], ie = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "近7天", -1)), ae = [
31
30
  ie
32
- ], le = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, "近15天", -1)), re = [
31
+ ], le = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "近15天", -1)), re = [
33
32
  le
34
- ], de = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, "近30天", -1)), pe = [
33
+ ], de = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "近30天", -1)), pe = [
35
34
  de
36
- ], ce = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, "近365天", -1)), ue = [
35
+ ], ce = /* @__PURE__ */ i(() => /* @__PURE__ */ s("span", null, "近365天", -1)), ue = [
37
36
  ce
38
- ], Se = /* @__PURE__ */ V({
37
+ ], ge = /* @__PURE__ */ V({
39
38
  __name: "index",
40
39
  props: {
41
40
  option: {},
@@ -46,33 +45,33 @@ const i = (d) => (N("data-v-a3634643"), d = d(), R(), d), J = { class: "left-sid
46
45
  emits: ["on-change"],
47
46
  setup(d, { expose: $, emit: P }) {
48
47
  D((e) => ({
49
- "7c31ad1e": e.option.css.dp.backgroundColor,
50
- "6948f45c": e.option.css.dp.textColor,
51
- "5bd9776b": e.option.css.dp.hoverColor,
52
- b64b9b84: e.option.css.dp.hoverTextColor,
53
- "3dc65536": e.option.css.dp.primaryColor,
54
- "0723b649": e.option.css.dp.primaryDisabledColor,
55
- "062bf990": e.option.css.dp.primaryTextColor,
56
- "347abf9a": e.option.css.dp.secondaryColor,
57
- f1c3319a: e.option.css.dp.borderColor,
58
- "63188a54": e.option.css.dp.menuBorderColor,
59
- "59fbf9c9": e.option.css.dp.borderColorHover,
60
- "59df8565": e.option.css.dp.borderColorFocus,
61
- "657e5be3": e.option.css.dp.disabledColor,
62
- "402ff470": e.option.css.dp.scrollBarBackground,
63
- "12358ee1": e.option.css.dp.scrollBarColor,
64
- "06ae87f8": e.option.css.dp.successColor,
65
- "7b3f16a0": e.option.css.dp.successColorDisabled,
66
- "3b75679c": e.option.css.dp.dangerColor,
67
- f50128a0: e.option.css.dp.disabledColorText,
68
- "4a508cf3": e.option.css.dp.highlightColor,
69
- "33315df7": e.option.css.dp.loader,
70
- "57da3458": e.option.css.dp.fontSize,
71
- "5223988f": e.option.css.dp.inputBackgroundColor,
72
- "362f362d": e.option.css.dp.inputHeight
73
- })), s.extend(j), s.locale("zh-cn");
48
+ d4d74a16: e.option.css.dp.backgroundColor,
49
+ "6f1d2a56": e.option.css.dp.textColor,
50
+ "304c6367": e.option.css.dp.hoverColor,
51
+ "24827f8c": e.option.css.dp.hoverTextColor,
52
+ "6484b261": e.option.css.dp.primaryColor,
53
+ 13665176: e.option.css.dp.primaryDisabledColor,
54
+ c239fb98: e.option.css.dp.primaryTextColor,
55
+ "2ea72e2f": e.option.css.dp.secondaryColor,
56
+ "4108fab7": e.option.css.dp.borderColor,
57
+ "36c5bbd8": e.option.css.dp.menuBorderColor,
58
+ "08160e76": e.option.css.dp.borderColorHover,
59
+ "084ef73e": e.option.css.dp.borderColorFocus,
60
+ "4f121e67": e.option.css.dp.disabledColor,
61
+ "2f20c3f4": e.option.css.dp.scrollBarBackground,
62
+ "5b1a1cdd": e.option.css.dp.scrollBarColor,
63
+ ffdece00: e.option.css.dp.successColor,
64
+ "6a68379c": e.option.css.dp.successColorDisabled,
65
+ "154009c0": e.option.css.dp.dangerColor,
66
+ "22a64c34": e.option.css.dp.disabledColorText,
67
+ d995ca22: e.option.css.dp.highlightColor,
68
+ "35dcb01a": e.option.css.dp.loader,
69
+ e1eebe60: e.option.css.dp.fontSize,
70
+ "414cb98b": e.option.css.dp.inputBackgroundColor,
71
+ "1fcc6c9e": e.option.css.dp.inputHeight
72
+ })), t.extend(j), t.locale("zh-cn");
74
73
  const r = d, b = P, n = h(), v = h(g()), y = () => v.value = g(), c = () => {
75
- z.parse({
74
+ q.parse({
76
75
  tId: r.uuid,
77
76
  sources: r.sources,
78
77
  callback: ({ data: e }) => {
@@ -83,7 +82,7 @@ const i = (d) => (N("data-v-a3634643"), d = d(), R(), d), J = { class: "left-sid
83
82
  }
84
83
  });
85
84
  };
86
- T(() => c()), q(r, c, y), $({
85
+ T(() => c()), z(r, c, y), $({
87
86
  refresh: () => c(),
88
87
  refreshView: () => y(),
89
88
  refreshData: () => c()
@@ -101,9 +100,9 @@ const i = (d) => (N("data-v-a3634643"), d = d(), R(), d), J = { class: "left-sid
101
100
  const o = { data: n.value };
102
101
  b("on-change", o), S.parseEvents(r.useEvents, "on-change", o);
103
102
  }, u = (e) => {
104
- e === "today" ? n.value = s() : e === "yesterday" ? n.value = s().subtract(1, "day") : e === "before-yesterday" && (n.value = s().subtract(2, "day"));
103
+ e === "today" ? n.value = t() : e === "yesterday" ? n.value = t().subtract(1, "day") : e === "before-yesterday" && (n.value = t().subtract(2, "day"));
105
104
  }, l = (e) => {
106
- e === "today" ? n.value = [s().startOf("day"), s().endOf("day")] : e === "yesterday" ? n.value = [s().subtract(1, "day").startOf("day"), s().subtract(1, "day").endOf("day")] : e === "before-yesterday" ? n.value = [s().subtract(2, "day").startOf("day"), s().subtract(2, "day").endOf("day")] : e === "week" ? n.value = [s().startOf("week"), s().endOf("week")] : e === "last-month" ? n.value = [s().subtract(1, "month").startOf("month"), s().subtract(1, "month").endOf("month")] : e === "month" ? n.value = [s().startOf("month"), s().endOf("month")] : e === "last-7" ? n.value = [s().subtract(7, "day").startOf("day"), s().endOf("day")] : e === "last-15" ? n.value = [s().subtract(15, "day").startOf("day"), s().endOf("day")] : e === "last-30" ? n.value = [s().subtract(30, "day").startOf("day"), s().endOf("day")] : e === "last-365" && (n.value = [s().subtract(365, "day").startOf("day"), s().endOf("day")]), k(n.value);
105
+ e === "today" ? n.value = [t().startOf("day"), t().endOf("day")] : e === "yesterday" ? n.value = [t().subtract(1, "day").startOf("day"), t().subtract(1, "day").endOf("day")] : e === "before-yesterday" ? n.value = [t().subtract(2, "day").startOf("day"), t().subtract(2, "day").endOf("day")] : e === "week" ? n.value = [t().startOf("week"), t().endOf("week")] : e === "last-month" ? n.value = [t().subtract(1, "month").startOf("month"), t().subtract(1, "month").endOf("month")] : e === "month" ? n.value = [t().startOf("month"), t().endOf("month")] : e === "last-7" ? n.value = [t().subtract(7, "day").startOf("day"), t().endOf("day")] : e === "last-15" ? n.value = [t().subtract(15, "day").startOf("day"), t().endOf("day")] : e === "last-30" ? n.value = [t().subtract(30, "day").startOf("day"), t().endOf("day")] : e === "last-365" && (n.value = [t().subtract(365, "day").startOf("day"), t().endOf("day")]), k(n.value);
107
106
  };
108
107
  return (e, o) => (m(), f("div", {
109
108
  key: v.value,
@@ -146,59 +145,59 @@ const i = (d) => (N("data-v-a3634643"), d = d(), R(), d), J = { class: "left-sid
146
145
  style: E(C(F).json2cssObject(e.option.css.dp, "dp"))
147
146
  }, {
148
147
  "left-sidebar": I((p) => [
149
- t("div", J, [
148
+ s("div", J, [
150
149
  e.option.range ? w("", !0) : (m(), f(O, { key: 0 }, [
151
- t("div", {
150
+ s("div", {
152
151
  class: "left-sidebar-item",
153
152
  onClick: o[0] || (o[0] = (a) => u("today"))
154
153
  }, A),
155
- t("div", {
154
+ s("div", {
156
155
  class: "left-sidebar-item",
157
156
  onClick: o[1] || (o[1] = (a) => u("yesterday"))
158
157
  }, L),
159
- t("div", {
158
+ s("div", {
160
159
  class: "left-sidebar-item",
161
160
  onClick: o[2] || (o[2] = (a) => u("before-yesterday"))
162
161
  }, W)
163
162
  ], 64)),
164
163
  e.option.range ? (m(), f(O, { key: 1 }, [
165
- t("div", {
164
+ s("div", {
166
165
  class: "left-sidebar-item",
167
166
  onClick: o[3] || (o[3] = (a) => l("today"))
168
167
  }, G),
169
- t("div", {
168
+ s("div", {
170
169
  class: "left-sidebar-item",
171
170
  onClick: o[4] || (o[4] = (a) => l("yesterday"))
172
171
  }, X),
173
- t("div", {
172
+ s("div", {
174
173
  class: "left-sidebar-item",
175
174
  onClick: o[5] || (o[5] = (a) => l("before-yesterday"))
176
175
  }, _),
177
- t("div", {
176
+ s("div", {
178
177
  class: "left-sidebar-item",
179
178
  onClick: o[6] || (o[6] = (a) => l("week"))
180
179
  }, ee),
181
- t("div", {
180
+ s("div", {
182
181
  class: "left-sidebar-item",
183
182
  onClick: o[7] || (o[7] = (a) => l("last-month"))
184
- }, te),
185
- t("div", {
183
+ }, se),
184
+ s("div", {
186
185
  class: "left-sidebar-item",
187
186
  onClick: o[8] || (o[8] = (a) => l("month"))
188
187
  }, ne),
189
- t("div", {
188
+ s("div", {
190
189
  class: "left-sidebar-item",
191
190
  onClick: o[9] || (o[9] = (a) => l("last-7"))
192
191
  }, ae),
193
- t("div", {
192
+ s("div", {
194
193
  class: "left-sidebar-item",
195
194
  onClick: o[10] || (o[10] = (a) => l("last-15"))
196
195
  }, re),
197
- t("div", {
196
+ s("div", {
198
197
  class: "left-sidebar-item",
199
198
  onClick: o[11] || (o[11] = (a) => l("last-30"))
200
199
  }, pe),
201
- t("div", {
200
+ s("div", {
202
201
  class: "left-sidebar-item",
203
202
  onClick: o[12] || (o[12] = (a) => l("last-365"))
204
203
  }, ue)
@@ -211,5 +210,5 @@ const i = (d) => (N("data-v-a3634643"), d = d(), R(), d), J = { class: "left-sid
211
210
  }
212
211
  });
213
212
  export {
214
- Se as default
213
+ ge as default
215
214
  };