yahee-components 0.0.75 → 0.0.81

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 (62) hide show
  1. package/es/annex-upload/annex-upload.vue.js +51 -154
  2. package/es/annex-upload/annex-upload.vue2.js +119 -2
  3. package/es/annex-upload/index.js +3 -3
  4. package/es/api/server.js +24 -19
  5. package/es/api/tool.js +31 -28
  6. package/es/border-wrap/border-wrap.vue.js +64 -95
  7. package/es/border-wrap/border-wrap.vue2.js +46 -2
  8. package/es/common-import/common-import.vue.js +369 -640
  9. package/es/common-import/common-import.vue2.js +328 -2
  10. package/es/common-import/index.js +3 -3
  11. package/es/common-import/props.js +4 -1
  12. package/es/complex-search/complex-search.vue.js +15 -15
  13. package/es/copy/copy.vue.js +37 -55
  14. package/es/copy/copy.vue2.js +34 -2
  15. package/es/copy/index.js +3 -3
  16. package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +114 -213
  17. package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +125 -2
  18. package/es/drop-down-condition/drop-down-condition.vue.js +113 -213
  19. package/es/drop-down-condition/drop-down-condition.vue2.js +127 -2
  20. package/es/echart-gauge/echart-gauge.vue.js +12 -140
  21. package/es/echart-gauge/echart-gauge.vue2.js +147 -2
  22. package/es/echart-gauge/index.js +3 -3
  23. package/es/image-upload/image-upload.vue.js +109 -170
  24. package/es/image-upload/image-upload.vue2.js +91 -2
  25. package/es/image-upload/index.js +3 -3
  26. package/es/input/index.js +3 -3
  27. package/es/input/input.vue.js +17 -38
  28. package/es/input/input.vue2.js +33 -2
  29. package/es/left-condition/index.js +3 -3
  30. package/es/left-condition/left-condition-sub.vue.js +32 -91
  31. package/es/left-condition/left-condition-sub.vue2.js +76 -2
  32. package/es/left-condition/left-condition.vue.js +70 -218
  33. package/es/left-condition/left-condition.vue2.js +160 -2
  34. package/es/left-condition-enum/index.js +3 -3
  35. package/es/left-condition-enum/left-condition-enum.vue.js +20 -49
  36. package/es/left-condition-enum/left-condition-enum.vue2.js +40 -2
  37. package/es/operation-log/operation-log-content.vue.js +71 -92
  38. package/es/operation-log/operation-log-content.vue2.js +39 -2
  39. package/es/operation-log/operation-log-dialog.vue.js +46 -68
  40. package/es/operation-log/operation-log-dialog.vue2.js +38 -2
  41. package/es/operation-log/operation-log-form.vue.js +108 -183
  42. package/es/operation-log/operation-log-form.vue2.js +104 -2
  43. package/es/operation-log/operation-log.vue.js +119 -228
  44. package/es/operation-log/operation-log.vue2.js +135 -2
  45. package/es/packages/components/api/log-server.js +6 -6
  46. package/es/packages/components/api/server.js +18 -20
  47. package/es/packages/components/api/tool.js +35 -32
  48. package/es/packages/components/api/upload-server.js +1 -1
  49. package/es/packages/components/hooks/useEcharts.js +19 -19
  50. package/es/packages/components/hooks/useImg.js +8 -8
  51. package/es/scale-screen/index.js +4 -4
  52. package/es/scale-screen/scale-screen.vue.js +19 -126
  53. package/es/scale-screen/scale-screen.vue2.js +125 -2
  54. package/es/utils/translate.js +21 -21
  55. package/package.json +46 -46
  56. package/readme.md +249 -249
  57. package/types/src/common-import/common-import.vue.d.ts +10 -0
  58. package/types/src/common-import/index.d.ts +25 -0
  59. package/types/src/common-import/props.d.ts +19 -0
  60. package/types/src/installs.d.ts +25 -0
  61. package/types/src/left-condition-enum/left-condition-enum.d.ts +3 -0
  62. package/es/packages/components/api/common/index.js +0 -7
@@ -1,106 +1,75 @@
1
- import { defineComponent as b, ref as p, computed as C, createElementBlock as l, openBlock as d, createElementVNode as e, unref as t, createCommentVNode as m, createBlock as k, toDisplayString as y, withCtx as s, createVNode as h, renderSlot as u } from "vue";
2
- import { GetHelpTag as L } from "../packages/components/api/log/index.js";
3
- import { InfoFilled as x } from "@element-plus/icons-vue";
4
- import { ElPopover as w, ElIcon as $ } from "element-plus";
5
- import "element-plus/theme-chalk/src/base.scss";
6
- import "element-plus/theme-chalk/src/popper.scss";
7
- import "element-plus/theme-chalk/src/popover.scss";
8
- import { useElementSize as E } from "../node_modules/.pnpm/@vueuse_core@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/core/index.js";
9
- import { l as I } from "../_virtual/lodash.js";
10
- const S = { class: "yahee-border-wrap" }, B = ["width", "height"], T = ["fill", "stroke", "d"], z = { class: "dv-border-box-content" }, H = { class: "paddingL20 paddingR20 paddingT20 paddingB10 d-flex ai-center jc-between" }, M = {
1
+ import a from "./border-wrap.vue2.js";
2
+ import { createElementBlock as n, openBlock as i, createElementVNode as t, createCommentVNode as c, createBlock as h, toDisplayString as _, withCtx as d, createVNode as s, renderSlot as l } from "vue";
3
+ import f from "../_virtual/_plugin-vue_export-helper.js";
4
+ const m = { class: "yahee-border-wrap" }, g = {
5
+ class: "dv-border-box",
6
+ ref: "domRef"
7
+ }, v = ["width", "height"], w = ["fill", "stroke", "d"], b = { class: "dv-border-box-content" }, k = { class: "paddingL20 paddingR20 paddingT20 paddingB10 d-flex ai-center jc-between" }, L = {
11
8
  key: 0,
12
9
  class: "d-flex ai-center"
13
- }, N = {
10
+ }, p = {
14
11
  class: "fontsize-16 fontBold",
15
12
  style: { "margin-right": "4px" }
16
- }, R = ["innerHTML"], V = { class: "d-flex ai-center" }, j = { class: "item_title_content" }, U = /* @__PURE__ */ b({
17
- __name: "border-wrap",
18
- props: {
19
- title: {
20
- type: String,
21
- default: ""
22
- },
23
- color: {
24
- type: Array,
25
- default: () => []
26
- },
27
- backgroundColor: {
28
- type: String,
29
- default: "transparent"
30
- },
31
- tipsId: {
32
- type: String,
33
- default: ""
34
- }
35
- },
36
- setup(n) {
37
- const g = ["#6586ec", "#2cf7fe"], c = p(null), a = p(), { width: r, height: i } = E(c, { width: 0, height: 0 }, { box: "border-box" }), _ = C(() => I.merge(g, f.color)), f = n, v = () => {
38
- L({ Id: f.tipsId }).then((o) => {
39
- o && o.Content && (a.value = o.Content.Content);
40
- });
41
- };
42
- return (o, A) => (d(), l("div", S, [
43
- e("div", {
44
- class: "dv-border-box",
45
- ref_key: "domRef",
46
- ref: c
13
+ }, x = ["innerHTML"], C = { class: "d-flex ai-center" }, B = { class: "item_title_content" };
14
+ function y(r, E, o, e, T, I) {
15
+ return i(), n("div", m, [
16
+ t("div", g, [
17
+ (i(), n("svg", {
18
+ width: e.width,
19
+ height: e.height,
20
+ class: "dv-border-svg-container"
47
21
  }, [
48
- (d(), l("svg", {
49
- width: t(r),
50
- height: t(i),
51
- class: "dv-border-svg-container"
52
- }, [
53
- e("path", {
54
- fill: n.backgroundColor,
55
- stroke: _.value[0],
56
- d: `
22
+ t("path", {
23
+ fill: o.backgroundColor,
24
+ stroke: e.mergedColor[0],
25
+ d: `
57
26
  M 5 20 L 5 10 L 68 10
58
- L ${t(r) - 20} 10 L ${t(r) - 5} 25
59
- L ${t(r) - 5} ${t(i) - 5} L 20 ${t(i) - 5}
60
- L 5 ${t(i) - 20} L 5 20
27
+ L ${e.width - 20} 10 L ${e.width - 5} 25
28
+ L ${e.width - 5} ${e.height - 5} L 20 ${e.height - 5}
29
+ L 5 ${e.height - 20} L 5 20
61
30
  `
62
- }, null, 8, T)
63
- ], 8, B)),
64
- e("div", z, [
65
- e("div", H, [
66
- n.title !== "" ? (d(), l("div", M, [
67
- e("div", N, y(n.title), 1),
68
- n.tipsId ? (d(), k(t(w), {
69
- key: 0,
70
- placement: "bottom",
71
- width: 400,
72
- trigger: "click"
73
- }, {
74
- reference: s(() => [
75
- h(t($), {
76
- size: "18",
77
- color: "#ccc",
78
- onClick: v
79
- }, {
80
- default: s(() => [
81
- h(t(x))
82
- ]),
83
- _: 1
84
- })
85
- ]),
86
- default: s(() => [
87
- e("div", { innerHTML: a.value }, null, 8, R)
88
- ]),
89
- _: 1
90
- })) : m("", !0)
91
- ])) : m("", !0),
92
- e("div", V, [
93
- u(o.$slots, "filter")
94
- ])
95
- ]),
96
- e("div", j, [
97
- u(o.$slots, "content")
31
+ }, null, 8, w)
32
+ ], 8, v)),
33
+ t("div", b, [
34
+ t("div", k, [
35
+ o.title !== "" ? (i(), n("div", L, [
36
+ t("div", p, _(o.title), 1),
37
+ o.tipsId ? (i(), h(e.ElPopover, {
38
+ key: 0,
39
+ placement: "bottom",
40
+ width: 400,
41
+ trigger: "click"
42
+ }, {
43
+ reference: d(() => [
44
+ s(e.ElIcon, {
45
+ size: "18",
46
+ color: "#ccc",
47
+ onClick: e.getTipsContent
48
+ }, {
49
+ default: d(() => [
50
+ s(e.InfoFilled)
51
+ ]),
52
+ _: 1
53
+ })
54
+ ]),
55
+ default: d(() => [
56
+ t("div", { innerHTML: e.tipsContent }, null, 8, x)
57
+ ]),
58
+ _: 1
59
+ })) : c("", !0)
60
+ ])) : c("", !0),
61
+ t("div", C, [
62
+ l(r.$slots, "filter")
98
63
  ])
64
+ ]),
65
+ t("div", B, [
66
+ l(r.$slots, "content")
99
67
  ])
100
- ], 512)
101
- ]));
102
- }
103
- });
68
+ ])
69
+ ], 512)
70
+ ]);
71
+ }
72
+ const j = /* @__PURE__ */ f(a, [["render", y], ["__file", "D:/projects/frontend/common/common_componentsweb/packages/components/src/border-wrap/border-wrap.vue"]]);
104
73
  export {
105
- U as default
74
+ j as default
106
75
  };
@@ -1,4 +1,48 @@
1
- import f from "./border-wrap.vue.js";
1
+ import { defineComponent as u, ref as i, computed as a } from "vue";
2
+ import { GetHelpTag as c } from "../packages/components/api/log/index.js";
3
+ import { InfoFilled as g } from "@element-plus/icons-vue";
4
+ import { ElIcon as C, ElPopover as _ } from "element-plus";
5
+ import "element-plus/theme-chalk/src/base.scss";
6
+ import "element-plus/theme-chalk/src/popper.scss";
7
+ import "element-plus/theme-chalk/src/popover.scss";
8
+ import { useElementSize as h } from "../node_modules/.pnpm/@vueuse_core@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/core/index.js";
9
+ import { l as b } from "../_virtual/lodash.js";
10
+ const j = /* @__PURE__ */ u({
11
+ __name: "border-wrap",
12
+ props: {
13
+ title: {
14
+ type: String,
15
+ default: ""
16
+ },
17
+ color: {
18
+ type: Array,
19
+ default: () => []
20
+ },
21
+ backgroundColor: {
22
+ type: String,
23
+ default: "transparent"
24
+ },
25
+ tipsId: {
26
+ type: String,
27
+ default: ""
28
+ }
29
+ },
30
+ setup(l, { expose: s }) {
31
+ s();
32
+ const o = ["#6586ec", "#2cf7fe"], r = i(null), n = i(), { width: m, height: d } = h(r, { width: 0, height: 0 }, { box: "border-box" }), f = a(() => b.merge(o, t.color)), t = l, p = { defaultColor: o, domRef: r, tipsContent: n, width: m, height: d, mergedColor: f, props: t, getTipsContent: () => {
33
+ c({ Id: t.tipsId }).then((e) => {
34
+ e && e.Content && (n.value = e.Content.Content);
35
+ });
36
+ }, get InfoFilled() {
37
+ return g;
38
+ }, get ElPopover() {
39
+ return _;
40
+ }, get ElIcon() {
41
+ return C;
42
+ } };
43
+ return Object.defineProperty(p, "__isScriptSetup", { enumerable: !1, value: !0 }), p;
44
+ }
45
+ });
2
46
  export {
3
- f as default
47
+ j as default
4
48
  };