yahee-components 0.0.71 → 0.0.72

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 (51) 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/tool.js +1 -1
  5. package/es/border-wrap/border-wrap.vue.js +64 -95
  6. package/es/border-wrap/border-wrap.vue2.js +46 -2
  7. package/es/common-import/common-import.vue.js +384 -4
  8. package/es/common-import/common-import.vue2.js +90 -434
  9. package/es/complex-search/complex-search.vue.js +17 -17
  10. package/es/copy/copy.vue.js +37 -55
  11. package/es/copy/copy.vue2.js +34 -2
  12. package/es/copy/index.js +3 -3
  13. package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +114 -213
  14. package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +125 -2
  15. package/es/drop-down-condition/drop-down-condition.vue.js +115 -215
  16. package/es/drop-down-condition/drop-down-condition.vue2.js +127 -2
  17. package/es/echart-gauge/echart-gauge.vue.js +12 -140
  18. package/es/echart-gauge/echart-gauge.vue2.js +147 -2
  19. package/es/echart-gauge/index.js +3 -3
  20. package/es/image-upload/image-upload.vue.js +109 -170
  21. package/es/image-upload/image-upload.vue2.js +91 -2
  22. package/es/image-upload/index.js +3 -3
  23. package/es/input/index.js +3 -3
  24. package/es/input/input.vue.js +17 -38
  25. package/es/input/input.vue2.js +33 -2
  26. package/es/left-condition/index.js +3 -3
  27. package/es/left-condition/left-condition-sub.vue.js +32 -91
  28. package/es/left-condition/left-condition-sub.vue2.js +76 -2
  29. package/es/left-condition/left-condition.vue.js +70 -218
  30. package/es/left-condition/left-condition.vue2.js +160 -2
  31. package/es/left-condition-enum/index.js +3 -3
  32. package/es/left-condition-enum/left-condition-enum.vue.js +20 -49
  33. package/es/left-condition-enum/left-condition-enum.vue2.js +40 -2
  34. package/es/operation-log/operation-log-content.vue.js +71 -92
  35. package/es/operation-log/operation-log-content.vue2.js +39 -2
  36. package/es/operation-log/operation-log-dialog.vue.js +45 -67
  37. package/es/operation-log/operation-log-dialog.vue2.js +38 -2
  38. package/es/operation-log/operation-log-form.vue.js +108 -183
  39. package/es/operation-log/operation-log-form.vue2.js +104 -2
  40. package/es/operation-log/operation-log.vue.js +119 -228
  41. package/es/operation-log/operation-log.vue2.js +135 -2
  42. package/es/packages/components/api/log-server.js +6 -6
  43. package/es/packages/components/api/upload-server.js +1 -1
  44. package/es/packages/components/hooks/useEcharts.js +19 -19
  45. package/es/packages/components/hooks/useImg.js +8 -8
  46. package/es/scale-screen/index.js +4 -4
  47. package/es/scale-screen/scale-screen.vue.js +19 -126
  48. package/es/scale-screen/scale-screen.vue2.js +125 -2
  49. package/es/utils/translate.js +18 -18
  50. package/es/yahee-components.css +1 -1
  51. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- import _ from "./complex-search.vue2.js";
2
- import { resolveComponent as r, createElementBlock as d, openBlock as n, Fragment as u, createElementVNode as b, createVNode as t, withKeys as B, createSlots as U, withCtx as a, renderList as i, createBlock as s, createCommentVNode as V, createTextVNode as h, toDisplayString as c } from "vue";
1
+ import T from "./complex-search.vue2.js";
2
+ import { resolveComponent as r, createElementBlock as d, openBlock as n, Fragment as u, createElementVNode as b, createVNode as t, withKeys as B, createSlots as U, withCtx as a, renderList as c, createBlock as s, createCommentVNode as V, createTextVNode as i, toDisplayString as h } from "vue";
3
3
  import O from "../_virtual/_plugin-vue_export-helper.js";
4
- const z = { class: "yahee-complex-search" }, P = { class: "search-type-checkbox" }, W = { class: "dialog-footer" };
5
- function E(e, o, N, $, K, L) {
6
- const m = r("el-option"), p = r("el-select"), C = r("Search"), w = r("el-icon"), f = r("el-input"), g = r("el-checkbox"), v = r("el-link"), y = r("el-form-item"), S = r("el-row"), F = r("el-form"), k = r("el-button"), T = r("el-dialog");
4
+ const z = { class: "yahee-complex-search" }, E = { class: "search-type-checkbox" }, P = { class: "dialog-footer" };
5
+ function W(e, o, N, $, K, L) {
6
+ const m = r("el-option"), p = r("el-select"), C = r("Search"), w = r("el-icon"), f = r("el-input"), g = r("el-checkbox"), v = r("el-link"), y = r("el-form-item"), S = r("el-row"), F = r("el-form"), k = r("el-button"), _ = r("el-dialog");
7
7
  return n(), d(u, null, [
8
8
  b("div", z, [
9
9
  t(f, {
@@ -43,7 +43,7 @@ function E(e, o, N, $, K, L) {
43
43
  class: "custom-select"
44
44
  }, {
45
45
  default: a(() => [
46
- (n(!0), d(u, null, i(e.options, (l) => (n(), s(m, {
46
+ (n(!0), d(u, null, c(e.options, (l) => (n(), s(m, {
47
47
  key: l.label,
48
48
  label: l.label,
49
49
  value: l.value
@@ -64,7 +64,7 @@ function E(e, o, N, $, K, L) {
64
64
  disabled: ""
65
65
  }, {
66
66
  default: a(() => [
67
- (n(!0), d(u, null, i(e.defalutOptions, (l) => (n(), s(m, {
67
+ (n(!0), d(u, null, c(e.defalutOptions, (l) => (n(), s(m, {
68
68
  key: l.label,
69
69
  label: l.label,
70
70
  value: l.value
@@ -76,7 +76,7 @@ function E(e, o, N, $, K, L) {
76
76
  key: "1"
77
77
  }
78
78
  ]), 1032, ["modelValue", "placeholder", "onChange", "onKeyup", "onPaste"]),
79
- b("div", P, [
79
+ b("div", E, [
80
80
  e.showWithinFilterCheckbox ? (n(), s(g, {
81
81
  key: 0,
82
82
  modelValue: e.isWithinFilterOptions,
@@ -84,7 +84,7 @@ function E(e, o, N, $, K, L) {
84
84
  onChange: e.searchWithinFilterOptions
85
85
  }, {
86
86
  default: a(() => o[8] || (o[8] = [
87
- h(c("在筛选条件内查询"))
87
+ i(h("在筛选条件内查询"))
88
88
  ])),
89
89
  _: 1,
90
90
  __: [8]
@@ -95,14 +95,14 @@ function E(e, o, N, $, K, L) {
95
95
  onClick: e.showBatchSearchDialog
96
96
  }, {
97
97
  default: a(() => o[9] || (o[9] = [
98
- h(c("批量查询"))
98
+ i(h("批量查询"))
99
99
  ])),
100
100
  _: 1,
101
101
  __: [9]
102
102
  }, 8, ["onClick"])) : V("", !0)
103
103
  ])
104
104
  ]),
105
- t(T, {
105
+ t(_, {
106
106
  modelValue: e.showBatchSearch,
107
107
  "onUpdate:modelValue": o[7] || (o[7] = (l) => e.showBatchSearch = l),
108
108
  title: "批量查询",
@@ -112,21 +112,21 @@ function E(e, o, N, $, K, L) {
112
112
  draggable: ""
113
113
  }, {
114
114
  footer: a(() => [
115
- b("div", W, [
115
+ b("div", P, [
116
116
  t(k, {
117
117
  type: "primary",
118
118
  loading: e.confirmLoading,
119
119
  onClick: e.confirmSearch
120
120
  }, {
121
121
  default: a(() => o[10] || (o[10] = [
122
- h(c("确认"))
122
+ i(h("确认"))
123
123
  ])),
124
124
  _: 1,
125
125
  __: [10]
126
126
  }, 8, ["loading", "onClick"]),
127
127
  t(k, { onClick: e.handleBatchSearchClose }, {
128
128
  default: a(() => o[11] || (o[11] = [
129
- h(c("关闭"))
129
+ i(h("关闭"))
130
130
  ])),
131
131
  _: 1,
132
132
  __: [11]
@@ -152,7 +152,7 @@ function E(e, o, N, $, K, L) {
152
152
  style: { width: "100px", "background-color": "white" }
153
153
  }, {
154
154
  default: a(() => [
155
- (n(!0), d(u, null, i(e.isBatchSelectOptionsSameWithInput ? e.options : e.batchOptions, (l) => (n(), s(m, {
155
+ (n(!0), d(u, null, c(e.isBatchSelectOptionsSameWithInput ? e.options : e.batchOptions, (l) => (n(), s(m, {
156
156
  key: l.label,
157
157
  label: l.label,
158
158
  value: l.value
@@ -168,7 +168,7 @@ function E(e, o, N, $, K, L) {
168
168
  disabled: ""
169
169
  }, {
170
170
  default: a(() => [
171
- (n(!0), d(u, null, i(e.defalutOptions, (l) => (n(), s(m, {
171
+ (n(!0), d(u, null, c(e.defalutOptions, (l) => (n(), s(m, {
172
172
  key: l.label,
173
173
  label: l.label,
174
174
  value: l.value
@@ -211,7 +211,7 @@ function E(e, o, N, $, K, L) {
211
211
  }, 8, ["modelValue", "before-close"])
212
212
  ], 64);
213
213
  }
214
- const X = /* @__PURE__ */ O(_, [["render", E]]);
214
+ const X = /* @__PURE__ */ O(T, [["render", W], ["__file", "E:/工作/项目代码/common_componentsweb/packages/components/src/complex-search/complex-search.vue"]]);
215
215
  export {
216
216
  X as default
217
217
  };
@@ -1,57 +1,39 @@
1
- import { defineComponent as a, createElementBlock as l, openBlock as m, createVNode as e, unref as o, withCtx as t, createElementVNode as i, renderSlot as f } from "vue";
2
- import { ElTooltip as u, ElIcon as d, ElMessage as y } from "element-plus";
3
- import "element-plus/theme-chalk/src/base.scss";
4
- import "element-plus/theme-chalk/src/tooltip.scss";
5
- import "element-plus/theme-chalk/src/popper.scss";
6
- import "element-plus/theme-chalk/src/badge.scss";
7
- import "element-plus/theme-chalk/src/message.scss";
8
- import { DocumentCopy as h } from "@element-plus/icons-vue";
9
- import { useClipboard as _ } from "../packages/components/hooks/useClipboard.js";
10
- const C = { class: "yahee-copy" }, z = /* @__PURE__ */ a({
11
- name: "YaheeCopy",
12
- __name: "copy",
13
- props: {
14
- content: { default: "" },
15
- message: { default: "复制成功" }
16
- },
17
- setup(c) {
18
- const s = c, { copyUrl: p } = _(), r = () => {
19
- p(s.content), y({
20
- message: s.message,
21
- type: "success"
22
- });
23
- };
24
- return (n, g) => (m(), l("div", C, [
25
- e(o(u), {
26
- placement: "right",
27
- effect: "light",
28
- offset: -5,
29
- "show-arrow": !1,
30
- "popper-class": "yahee-copy-custom-popper-class"
31
- }, {
32
- content: t(() => [
33
- e(o(d), {
34
- color: "#3366cc",
35
- size: "18",
36
- class: "icon",
37
- onClick: r
38
- }, {
39
- default: t(() => [
40
- e(o(h))
41
- ]),
42
- _: 1
43
- })
44
- ]),
45
- default: t(() => [
46
- i("div", null, [
47
- f(n.$slots, "default")
48
- ])
49
- ]),
50
- _: 3
51
- })
52
- ]));
53
- }
54
- });
1
+ import n from "./copy.vue2.js";
2
+ import { createElementBlock as r, openBlock as l, createVNode as e, withCtx as c, createElementVNode as s, renderSlot as p } from "vue";
3
+ import a from "../_virtual/_plugin-vue_export-helper.js";
4
+ const f = { class: "yahee-copy" };
5
+ function i(t, m, _, o, d, y) {
6
+ return l(), r("div", f, [
7
+ e(o.ElTooltip, {
8
+ placement: "right",
9
+ effect: "light",
10
+ offset: -5,
11
+ "show-arrow": !1,
12
+ "popper-class": "yahee-copy-custom-popper-class"
13
+ }, {
14
+ content: c(() => [
15
+ e(o.ElIcon, {
16
+ color: "#3366cc",
17
+ size: "18",
18
+ class: "icon",
19
+ onClick: o.copyContent
20
+ }, {
21
+ default: c(() => [
22
+ e(o.DocumentCopy)
23
+ ]),
24
+ _: 1
25
+ })
26
+ ]),
27
+ default: c(() => [
28
+ s("div", null, [
29
+ p(t.$slots, "default")
30
+ ])
31
+ ]),
32
+ _: 3
33
+ })
34
+ ]);
35
+ }
36
+ const E = /* @__PURE__ */ a(n, [["render", i], ["__file", "E:/工作/项目代码/common_componentsweb/packages/components/src/copy/copy.vue"]]);
55
37
  export {
56
- z as default
38
+ E as default
57
39
  };
@@ -1,4 +1,36 @@
1
- import f from "./copy.vue.js";
1
+ import { defineComponent as n } from "vue";
2
+ import { ElMessage as s, ElIcon as m, ElTooltip as i } from "element-plus";
3
+ import "element-plus/theme-chalk/src/base.scss";
4
+ import "element-plus/theme-chalk/src/tooltip.scss";
5
+ import "element-plus/theme-chalk/src/popper.scss";
6
+ import "element-plus/theme-chalk/src/badge.scss";
7
+ import "element-plus/theme-chalk/src/message.scss";
8
+ import { DocumentCopy as c } from "@element-plus/icons-vue";
9
+ import { useClipboard as u } from "../packages/components/hooks/useClipboard.js";
10
+ const b = /* @__PURE__ */ n({
11
+ name: "YaheeCopy",
12
+ __name: "copy",
13
+ props: {
14
+ content: { type: String, required: !0, default: "" },
15
+ message: { type: String, required: !1, default: "复制成功" }
16
+ },
17
+ setup(r, { expose: p }) {
18
+ p();
19
+ const e = r, { copyUrl: t } = u(), o = { props: e, copyUrl: t, copyContent: () => {
20
+ t(e.content), s({
21
+ message: e.message,
22
+ type: "success"
23
+ });
24
+ }, get ElTooltip() {
25
+ return i;
26
+ }, get ElIcon() {
27
+ return m;
28
+ }, get DocumentCopy() {
29
+ return c;
30
+ } };
31
+ return Object.defineProperty(o, "__isScriptSetup", { enumerable: !1, value: !0 }), o;
32
+ }
33
+ });
2
34
  export {
3
- f as default
35
+ b as default
4
36
  };
package/es/copy/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { withInstall as o } from "../utils/install.js";
2
2
  import t from "./copy.vue.js";
3
- const r = o(t);
3
+ const a = o(t);
4
4
  export {
5
- r as YaheeCopy,
6
- r as default
5
+ a as YaheeCopy,
6
+ a as default
7
7
  };
@@ -1,219 +1,120 @@
1
- import { defineComponent as A, toRefs as I, reactive as z, ref as G, watch as ee, createElementBlock as f, openBlock as s, createVNode as E, unref as c, withCtx as V, createElementVNode as i, normalizeStyle as b, Fragment as g, renderList as C, toDisplayString as k, createBlock as D, createTextVNode as L } from "vue";
2
- import { stylesUtils as le } from "../utils/style.js";
3
- import { M2 as N } from "../utils/translate.js";
4
- import R from "../_virtual/lodash.js";
5
- import { ElPopover as oe, ElCheckboxGroup as te, ElCheckbox as ue, ElButton as U } from "element-plus";
6
- import "element-plus/theme-chalk/src/base.scss";
7
- import "element-plus/theme-chalk/src/button.scss";
8
- import "element-plus/theme-chalk/src/checkbox.scss";
9
- import "element-plus/theme-chalk/src/checkbox-group.scss";
10
- import "element-plus/theme-chalk/src/popper.scss";
11
- import "element-plus/theme-chalk/src/popover.scss";
12
- const ae = { class: "yahee-country-platform-shop-condition" }, re = { class: "popover-table" }, ne = { id: "all" }, se = ["onClick"], ce = { id: "y" }, ie = ["onClick"], pe = { style: { display: "flex", "align-items": "center", outline: "none" } }, ke = /* @__PURE__ */ A({
13
- name: "YaheeCountryPlatformShopCondition",
14
- __name: "country-platform-shop-condition",
15
- props: {
16
- xyFilters: {},
17
- filterKey: {}
18
- },
19
- emits: ["filterChange"],
20
- setup(H, { emit: P }) {
21
- const q = H, { filterKey: M, xyFilters: r } = I(q), Y = P, u = z({});
22
- let w = z({});
23
- const m = G({}), _ = G({}), y = G(!0), x = G({}), S = G({}), K = G();
24
- r.value && (K.value = [...r.value.xGroup]);
25
- function J(o, a) {
26
- var e;
27
- return (e = r.value) == null ? void 0 : e.items.filter((l) => l.xGroupValue === o && l.yGroupValue === a);
28
- }
29
- function F(o) {
30
- var e;
31
- const a = o.xGroupValue;
32
- if (x.value[a]) {
33
- for (const l in u)
34
- l.startsWith(a) && delete u[l];
35
- x.value[a] = !1;
36
- } else {
37
- for (const l of (e = r.value) == null ? void 0 : e.items)
38
- if (l.xGroupValue === a) {
39
- let t = u[`${l.xGroupValue}-${l.yGroupValue}`];
40
- t ? (t.push(l.value), t = [...new Set(t)]) : t = [l.value], u[`${l.xGroupValue}-${l.yGroupValue}`] = t;
41
- }
42
- x.value[a] = !0;
43
- }
44
- }
45
- const T = (o) => le.getBackgroundColor(o), Q = () => {
46
- R.isEqual(w, u) || Y("filterChange", [
47
- {
48
- filterKey: M.value,
49
- checkedValues: Object.values(Object.values(u)).flat()
50
- }
51
- ]);
52
- }, X = () => {
53
- w = R.cloneDeep(u);
54
- };
55
- function j() {
56
- if (y.value)
57
- y.value = !1, Object.keys(u).forEach((o) => {
58
- delete u[o];
59
- });
60
- else {
61
- y.value = !0;
62
- for (const o of r.value.items) {
63
- let a = u[`${o.xGroupValue}-${o.yGroupValue}`];
64
- a ? a.push(o.value) : a = [o.value], u[`${o.xGroupValue}-${o.yGroupValue}`] = a;
65
- }
66
- }
67
- console.log(u);
68
- }
69
- function Z(o) {
70
- const a = o.yGroupValue;
71
- if (S.value[a]) {
72
- for (const e in u)
73
- e.endsWith(a) && delete u[e];
74
- S.value[a] = !1;
75
- } else {
76
- for (const e of r.value.items)
77
- if (e.yGroupValue === a) {
78
- let l = u[`${e.xGroupValue}-${e.yGroupValue}`];
79
- l ? (l.push(e.value), l = [...new Set(l)]) : l = [e.value], u[`${e.xGroupValue}-${e.yGroupValue}`] = l;
80
- }
81
- S.value[a] = !0;
82
- }
83
- }
84
- return ee(
85
- u,
86
- (o, a) => {
87
- var p, B, O, W;
88
- Object.keys(o).forEach((n) => {
89
- Array.isArray(o[n]) && o[n].length === 0 && delete o[n];
90
- }), console.log("新的数组:", o), console.log("旧的数组:", a);
91
- const e = { backgroundColor: "#3366CC", color: "#fff", borderColor: "#3366CC" }, l = { backgroundColor: "#00bfff", borderColor: "#00bfff" }, t = {}, h = (p = r.value) == null ? void 0 : p.xGroup.length, v = (B = r.value) == null ? void 0 : B.yGroup.length;
92
- (O = r.value) == null || O.xGroup.forEach((n) => {
93
- let d = 0;
94
- for (const $ in u)
95
- $.startsWith(n.xGroupValue) && d++;
96
- d === 0 ? m.value[n.xGroupValue] = t : d === v ? m.value[n.xGroupValue] = e : m.value[n.xGroupValue] = l;
97
- }), (W = r.value) == null || W.yGroup.forEach((n) => {
98
- let d = 0;
99
- for (const $ in u)
100
- $.endsWith(n.yGroupValue) && d++;
101
- d === 0 ? _.value[n.yGroupValue] = t : d === h ? _.value[n.yGroupValue] = e : _.value[n.yGroupValue] = l;
102
- }), y.value = Object.keys(o).length === h * v;
103
- },
104
- { deep: !0 }
105
- ), (o, a) => (s(), f("div", ae, [
106
- E(c(oe), {
107
- placement: "bottom",
108
- trigger: "hover",
109
- width: "'auto'",
110
- "popper-class": "custom-popover",
111
- onHide: Q,
112
- onShow: X
113
- }, {
114
- reference: V(() => [
115
- i("div", pe, [
116
- E(c(U), {
117
- size: "small",
118
- class: "el-button custom-total-button",
119
- style: b(T(y.value)),
120
- onClick: j
121
- }, {
122
- default: V(() => [
123
- L(k(c(N)("全部")), 1)
124
- ]),
125
- _: 1
126
- }, 8, ["style"]),
127
- (s(!0), f(g, null, C(K.value, (e) => (s(), D(c(U), {
128
- key: e,
129
- style: b(m.value[e.xGroupValue]),
130
- class: "custom-button",
131
- onClick: (l) => F(e)
132
- }, {
133
- default: V(() => [
134
- L(k(c(N)(e.xGroupText)), 1)
135
- ]),
136
- _: 2
137
- }, 1032, ["style", "onClick"]))), 128))
138
- ])
139
- ]),
140
- default: V(() => {
141
- var e, l;
142
- return [
143
- i("table", re, [
144
- i("thead", null, [
145
- i("tr", null, [
146
- i("th", ne, [
147
- i("span", {
148
- style: b(T(y.value)),
149
- class: "el-button el-button--small custom-button",
150
- onClick: j
151
- }, " 全部 ", 4)
1
+ import f from "./country-platform-shop-condition.vue2.js";
2
+ import { createElementBlock as n, openBlock as o, createVNode as p, withCtx as c, createElementVNode as t, normalizeStyle as d, Fragment as i, renderList as s, toDisplayString as y, createBlock as m, createTextVNode as b } from "vue";
3
+ import k from "../_virtual/_plugin-vue_export-helper.js";
4
+ const G = { class: "yahee-country-platform-shop-condition" }, V = { class: "popover-table" }, S = { id: "all" }, C = ["onClick"], g = { id: "y" }, v = ["onClick"], w = { style: { display: "flex", "align-items": "center", outline: "none" } };
5
+ function x(E, T, B, l, F, L) {
6
+ return o(), n("div", G, [
7
+ p(l.ElPopover, {
8
+ placement: "bottom",
9
+ trigger: "hover",
10
+ width: "'auto'",
11
+ "popper-class": "custom-popover",
12
+ onHide: l.handleHide,
13
+ onShow: l.handleShow
14
+ }, {
15
+ reference: c(() => [
16
+ t("div", w, [
17
+ p(l.ElButton, {
18
+ size: "small",
19
+ class: "el-button custom-total-button",
20
+ style: d(l.getDefaultSelectedAllStyle(l.isSelectedAll)),
21
+ onClick: l.selectAll
22
+ }, {
23
+ default: c(() => [
24
+ b(y(l.M2("全部")), 1)
25
+ ]),
26
+ _: 1
27
+ }, 8, ["style"]),
28
+ (o(!0), n(i, null, s(l.selectList, (r) => (o(), m(l.ElButton, {
29
+ key: r,
30
+ style: d(l.rowTitleStyle[r.xGroupValue]),
31
+ class: "custom-button",
32
+ onClick: (h) => l.toggleRowSelection(r)
33
+ }, {
34
+ default: c(() => [
35
+ b(y(l.M2(r.xGroupText)), 1)
36
+ ]),
37
+ _: 2
38
+ }, 1032, ["style", "onClick"]))), 128))
39
+ ])
40
+ ]),
41
+ default: c(() => {
42
+ var r, h;
43
+ return [
44
+ t("table", V, [
45
+ t("thead", null, [
46
+ t("tr", null, [
47
+ t("th", S, [
48
+ t("span", {
49
+ style: d(l.getDefaultSelectedAllStyle(l.isSelectedAll)),
50
+ class: "el-button el-button--small custom-button",
51
+ onClick: l.selectAll
52
+ }, " 全部 ", 4)
53
+ ]),
54
+ (o(!0), n(i, null, s((r = l.xyFilters) == null ? void 0 : r.xGroup, (e) => (o(), n("th", {
55
+ id: "x",
56
+ key: e.xGroupValue
57
+ }, [
58
+ t("span", {
59
+ style: d({ ...l.rowTitleStyle[e.xGroupValue], width: "100%" }),
60
+ class: "el-button--small el-button custom-button",
61
+ onClick: (_) => l.toggleRowSelection(e)
62
+ }, y(e.xGroupText), 13, C)
63
+ ]))), 128))
64
+ ])
65
+ ]),
66
+ t("tbody", null, [
67
+ (o(!0), n(i, null, s((h = l.xyFilters) == null ? void 0 : h.yGroup, (e) => {
68
+ var _;
69
+ return o(), n("tr", {
70
+ key: e.yGroupValue
71
+ }, [
72
+ t("th", g, [
73
+ t("span", {
74
+ style: d({ ...l.columnTitleStyle[e.yGroupValue], width: "100%" }),
75
+ class: "el-button--small el-button custom-button",
76
+ onClick: (u) => l.toggleColumnSelection(e)
77
+ }, y(e.yGroupText), 13, v)
152
78
  ]),
153
- (s(!0), f(g, null, C((e = c(r)) == null ? void 0 : e.xGroup, (t) => (s(), f("th", {
154
- id: "x",
155
- key: t.xGroupValue
79
+ (o(!0), n(i, null, s((_ = l.xyFilters) == null ? void 0 : _.xGroup, (u) => (o(), n("td", {
80
+ key: u.xGroupValue
156
81
  }, [
157
- i("span", {
158
- style: b({ ...m.value[t.xGroupValue], width: "100%" }),
159
- class: "el-button--small el-button custom-button",
160
- onClick: (h) => F(t)
161
- }, k(t.xGroupText), 13, se)
82
+ p(l.ElCheckboxGroup, {
83
+ modelValue: l.checkList[u.xGroupValue + "-" + e.yGroupValue],
84
+ "onUpdate:modelValue": (a) => l.checkList[u.xGroupValue + "-" + e.yGroupValue] = a
85
+ }, {
86
+ default: c(() => [
87
+ (o(!0), n(i, null, s(l.getContentForCell(
88
+ u.xGroupValue,
89
+ e.yGroupValue
90
+ ), (a) => (o(), m(l.ElCheckbox, {
91
+ key: a.value,
92
+ border: "",
93
+ class: "el-button el-button-small custom-button",
94
+ label: a.text,
95
+ value: a.value,
96
+ size: "small"
97
+ }, {
98
+ default: c(() => [
99
+ b(y(a.text), 1)
100
+ ]),
101
+ _: 2
102
+ }, 1032, ["label", "value"]))), 128))
103
+ ]),
104
+ _: 2
105
+ }, 1032, ["modelValue", "onUpdate:modelValue"])
162
106
  ]))), 128))
163
- ])
164
- ]),
165
- i("tbody", null, [
166
- (s(!0), f(g, null, C((l = c(r)) == null ? void 0 : l.yGroup, (t) => {
167
- var h;
168
- return s(), f("tr", {
169
- key: t.yGroupValue
170
- }, [
171
- i("th", ce, [
172
- i("span", {
173
- style: b({ ..._.value[t.yGroupValue], width: "100%" }),
174
- class: "el-button--small el-button custom-button",
175
- onClick: (v) => Z(t)
176
- }, k(t.yGroupText), 13, ie)
177
- ]),
178
- (s(!0), f(g, null, C((h = c(r)) == null ? void 0 : h.xGroup, (v) => (s(), f("td", {
179
- key: v.xGroupValue
180
- }, [
181
- E(c(te), {
182
- modelValue: u[v.xGroupValue + "-" + t.yGroupValue],
183
- "onUpdate:modelValue": (p) => u[v.xGroupValue + "-" + t.yGroupValue] = p
184
- }, {
185
- default: V(() => [
186
- (s(!0), f(g, null, C(J(
187
- v.xGroupValue,
188
- t.yGroupValue
189
- ), (p) => (s(), D(c(ue), {
190
- key: p.value,
191
- border: "",
192
- class: "el-button el-button-small custom-button",
193
- label: p.text,
194
- value: p.value,
195
- size: "small"
196
- }, {
197
- default: V(() => [
198
- L(k(p.text), 1)
199
- ]),
200
- _: 2
201
- }, 1032, ["label", "value"]))), 128))
202
- ]),
203
- _: 2
204
- }, 1032, ["modelValue", "onUpdate:modelValue"])
205
- ]))), 128))
206
- ]);
207
- }), 128))
208
- ])
107
+ ]);
108
+ }), 128))
209
109
  ])
210
- ];
211
- }),
212
- _: 1
213
- })
214
- ]));
215
- }
216
- });
110
+ ])
111
+ ];
112
+ }),
113
+ _: 1
114
+ })
115
+ ]);
116
+ }
117
+ const H = /* @__PURE__ */ k(f, [["render", x], ["__file", "E:/工作/项目代码/common_componentsweb/packages/components/src/country-platform-shop-condition/country-platform-shop-condition.vue"]]);
217
118
  export {
218
- ke as default
119
+ H as default
219
120
  };