act-plus 1.1.64 → 1.1.66

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,5 +1,5 @@
1
1
  import { defineAsyncComponent as ne, inject as D, reactive as re, ref as A, watch as de, resolveComponent as V, resolveDirective as se, openBlock as r, createBlock as i, withCtx as a, createElementVNode as L, createVNode as l, unref as p, createTextVNode as v, withDirectives as ie, createElementBlock as c, Fragment as _, renderList as g, createCommentVNode as T, toDisplayString as pe } from "vue";
2
- import { _ as me, F as fe, k as be, l as ce, S as _e, T as Ve, A as ge, C as ye, m as Ce, U as ve } from "./index-a45bc65a.js";
2
+ import { _ as me, F as fe, k as be, l as ce, S as _e, T as Ve, A as ge, C as ye, m as Ce, U as ve } from "./index-44b21835.js";
3
3
  import "vue-router";
4
4
  import "element-plus";
5
5
  const Te = { slot: "prepend" }, Se = { class: "dialog-footer" }, Ue = {
@@ -11,7 +11,7 @@ const Te = { slot: "prepend" }, Se = { class: "dialog-footer" }, Ue = {
11
11
  },
12
12
  emits: ["update:visible", "refresh"],
13
13
  setup(M, { emit: Q }) {
14
- const W = ne(() => import("./dialogSiteComponentsParams-8ed9b941.js")), E = Q, P = M, h = D("pageKey")(), O = D("conditionList")(), Y = D("configData")();
14
+ const W = ne(() => import("./dialogSiteComponentsParams-bf2e32d7.js")), E = Q, P = M, h = D("pageKey")(), O = D("conditionList")(), Y = D("configData")();
15
15
  let S = re((() => ({
16
16
  btnLoading: !1,
17
17
  showSiteComponentsParamsDialog: !1
@@ -1,8 +1,8 @@
1
- import { defineAsyncComponent as O, inject as N, computed as ue, reactive as ne, ref as q, watch as de, resolveComponent as y, resolveDirective as re, openBlock as d, createBlock as m, withCtx as l, createElementVNode as se, createVNode as e, unref as o, createTextVNode as U, withDirectives as ie, toDisplayString as A, createElementBlock as b, Fragment as f, renderList as _, createCommentVNode as v } from "vue";
2
- import { _ as me, B as pe, c as ce, d as be, e as fe, f as _e, g as ge, h as Ve, i as ye, j as he } from "./index-a45bc65a.js";
1
+ import { defineAsyncComponent as O, inject as k, computed as ne, reactive as de, ref as q, watch as re, resolveComponent as y, resolveDirective as se, openBlock as d, createBlock as m, withCtx as l, createElementVNode as ie, createVNode as e, unref as o, createTextVNode as U, withDirectives as me, toDisplayString as x, createElementBlock as b, Fragment as f, renderList as _, createCommentVNode as C } from "vue";
2
+ import { _ as pe, B as ce, c as be, d as fe, e as _e, f as ge, g as Ve, h as ye, i as he, j as Ce } from "./index-44b21835.js";
3
3
  import { useRoute as ve } from "vue-router";
4
4
  import "element-plus";
5
- const Ce = { class: "dialog-footer" }, Fe = {
5
+ const Fe = { class: "dialog-footer" }, Ue = {
6
6
  __name: "dialogConfigBtn",
7
7
  props: {
8
8
  visible: { type: Boolean, default: !1 },
@@ -10,48 +10,48 @@ const Ce = { class: "dialog-footer" }, Fe = {
10
10
  data: { type: Object, default: () => ({}) }
11
11
  },
12
12
  emits: ["update:visible", "refresh"],
13
- setup(x, { emit: D }) {
14
- const P = O(() => import("./index-2a62ddd3.js")), E = O(() => import("./index-e5e66375.js")), W = ve(), R = N("request"), I = D, k = x, Y = ue(() => W.params.key);
15
- let T = ne((() => ({
13
+ setup(P, { emit: A }) {
14
+ const D = O(() => import("./index-c20298e3.js")), E = O(() => import("./index-2a797bbc.js")), W = ve(), R = k("apiPrefix"), Y = k("request"), I = A, N = P, j = ne(() => W.params.key);
15
+ let T = de((() => ({
16
16
  btnLoading: !1
17
17
  }))());
18
- const M = N("createDefaultButtonItem"), j = N("associationMenuList"), $ = N("conditionList")();
18
+ const M = k("createDefaultButtonItem"), $ = k("associationMenuList"), z = k("conditionList")();
19
19
  let w = q([]), B = q(null), t = q(M());
20
- const z = (p) => R({ url: "/api/v1/icons/getAllList", method: "post", data: p }), H = async () => {
20
+ const H = (p) => Y({ url: `${R}/icons/getAllList`, method: "post", data: p }), K = async () => {
21
21
  try {
22
- const { data: p } = await z({ dynamicFilters: [{ field: "type", operate: "Equal", value: "2" }] });
22
+ const { data: p } = await H({ dynamicFilters: [{ field: "type", operate: "Equal", value: "2" }] });
23
23
  w.value = p || [];
24
24
  } catch (p) {
25
25
  console.error(p);
26
26
  }
27
27
  };
28
- de(
29
- () => k.visible,
28
+ re(
29
+ () => N.visible,
30
30
  async (p, u) => {
31
31
  if (p) {
32
- await H();
33
- const c = { ...k.data };
32
+ await K();
33
+ const c = { ...N.data };
34
34
  Object.keys(t.value).forEach((r) => {
35
35
  r == "submitFields" || r == "matchFields" ? t.value[r] = [...c[r] || []] : t.value[r] = c[r];
36
36
  });
37
37
  }
38
38
  }
39
39
  );
40
- const K = () => {
40
+ const G = () => {
41
41
  t.value.submitWay = [], t.value.requestUrl = void 0, t.value.submitWay = void 0, t.value.customType = void 0, t.value.codeStr = void 0, t.value.customComponentName = void 0, t.value.customComponentUrl = void 0;
42
- }, G = () => {
42
+ }, J = () => {
43
43
  t.value.submitFields.push({ matchType: "match", submitFieldMatchOrigin: "rowData", submitFieldName: "", matchFieldName: "", submitFieldType: "" });
44
- }, J = (p) => {
44
+ }, Q = (p) => {
45
45
  t.value.submitFields.splice(p, 1);
46
- }, Q = () => {
46
+ }, X = () => {
47
47
  t.value.matchFields.push({ matchType: "default", matchFieldName: "", matchCondition: "", fieldValue: "", spliceCondition: "" });
48
- }, X = (p) => {
49
- t.value.matchFields.splice(p, 1), t.value.matchFields.length === 1 && (t.value.matchFields[0].spliceCondition = "");
50
48
  }, Z = (p) => {
49
+ t.value.matchFields.splice(p, 1), t.value.matchFields.length === 1 && (t.value.matchFields[0].spliceCondition = "");
50
+ }, ee = (p) => {
51
51
  S(), p();
52
52
  }, S = () => {
53
53
  t.value = Object.assign(t.value, M()), B.value.resetFields(), I("update:visible", !1);
54
- }, ee = (p) => {
54
+ }, le = (p) => {
55
55
  p && p.validate((u) => {
56
56
  if (u)
57
57
  try {
@@ -64,10 +64,10 @@ const Ce = { class: "dialog-footer" }, Fe = {
64
64
  });
65
65
  };
66
66
  return (p, u) => {
67
- const c = y("el-input"), r = y("el-form-item"), i = y("el-col"), g = y("el-option"), V = y("el-select"), C = y("el-row"), F = y("el-button"), L = y("el-divider"), le = y("el-switch"), ae = y("el-form"), te = y("el-dialog"), oe = re("debounce");
68
- return d(), m(te, {
69
- "model-value": k.visible,
70
- title: k.title,
67
+ const c = y("el-input"), r = y("el-form-item"), i = y("el-col"), g = y("el-option"), V = y("el-select"), v = y("el-row"), F = y("el-button"), L = y("el-divider"), ae = y("el-switch"), te = y("el-form"), oe = y("el-dialog"), ue = se("debounce");
68
+ return d(), m(oe, {
69
+ "model-value": N.visible,
70
+ title: N.title,
71
71
  top: "5vh",
72
72
  width: "1200",
73
73
  draggable: "",
@@ -75,10 +75,10 @@ const Ce = { class: "dialog-footer" }, Fe = {
75
75
  "append-to-body": "",
76
76
  "append-to": "body",
77
77
  "close-on-click-modal": !1,
78
- "before-close": Z
78
+ "before-close": ee
79
79
  }, {
80
80
  footer: l(() => [
81
- se("span", Ce, [
81
+ ie("span", Fe, [
82
82
  e(F, {
83
83
  loading: o(T).btnLoading,
84
84
  onClick: S
@@ -88,22 +88,22 @@ const Ce = { class: "dialog-footer" }, Fe = {
88
88
  ])),
89
89
  _: 1
90
90
  }, 8, ["loading"]),
91
- ie((d(), m(F, {
91
+ me((d(), m(F, {
92
92
  type: "primary",
93
93
  loading: o(T).btnLoading,
94
- onClick: u[14] || (u[14] = (a) => ee(o(B)))
94
+ onClick: u[14] || (u[14] = (a) => le(o(B)))
95
95
  }, {
96
96
  default: l(() => u[18] || (u[18] = [
97
97
  U("保存")
98
98
  ])),
99
99
  _: 1
100
100
  }, 8, ["loading"])), [
101
- [oe]
101
+ [ue]
102
102
  ])
103
103
  ])
104
104
  ]),
105
105
  default: l(() => [
106
- e(ae, {
106
+ e(te, {
107
107
  ref_key: "formRef",
108
108
  ref: B,
109
109
  model: o(t),
@@ -111,7 +111,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
111
111
  "label-position": "top"
112
112
  }, {
113
113
  default: l(() => [
114
- e(C, { gutter: 24 }, {
114
+ e(v, { gutter: 24 }, {
115
115
  default: l(() => [
116
116
  e(i, { span: 6 }, {
117
117
  default: l(() => [
@@ -127,7 +127,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
127
127
  placeholder: "请输入按钮名称"
128
128
  }, {
129
129
  prepend: l(() => [
130
- U(A(o(t).permissionCode), 1)
130
+ U(x(o(t).permissionCode), 1)
131
131
  ]),
132
132
  _: 1
133
133
  }, 8, ["modelValue"])
@@ -144,7 +144,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
144
144
  prop: "btnIcon"
145
145
  }, {
146
146
  default: l(() => [
147
- e(o(P), {
147
+ e(o(D), {
148
148
  modelValue: o(t).btnIcon,
149
149
  "onUpdate:modelValue": u[1] || (u[1] = (a) => o(t).btnIcon = a),
150
150
  icons: o(w),
@@ -192,7 +192,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
192
192
  clearable: ""
193
193
  }, {
194
194
  default: l(() => [
195
- (d(!0), b(f, null, _(o(pe), (a, s) => (d(), m(g, {
195
+ (d(!0), b(f, null, _(o(ce), (a, s) => (d(), m(g, {
196
196
  key: s,
197
197
  label: a.key,
198
198
  value: a.value
@@ -222,7 +222,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
222
222
  clearable: ""
223
223
  }, {
224
224
  default: l(() => [
225
- (d(!0), b(f, null, _(o(ce), (a, s) => (d(), m(g, {
225
+ (d(!0), b(f, null, _(o(be), (a, s) => (d(), m(g, {
226
226
  key: s,
227
227
  label: a.key,
228
228
  value: a.value
@@ -271,7 +271,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
271
271
  clearable: ""
272
272
  }, {
273
273
  default: l(() => [
274
- (d(!0), b(f, null, _(o(be), (a, s) => (d(), m(g, {
274
+ (d(!0), b(f, null, _(o(fe), (a, s) => (d(), m(g, {
275
275
  key: s,
276
276
  label: a.key,
277
277
  value: a.value
@@ -305,7 +305,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
305
305
  clearable: ""
306
306
  }, {
307
307
  default: l(() => [
308
- (d(!0), b(f, null, _(o(fe), (a, s) => (d(), m(g, {
308
+ (d(!0), b(f, null, _(o(_e), (a, s) => (d(), m(g, {
309
309
  key: s,
310
310
  label: a.key,
311
311
  value: a.value
@@ -315,10 +315,10 @@ const Ce = { class: "dialog-footer" }, Fe = {
315
315
  }, 8, ["modelValue"])
316
316
  ]),
317
317
  _: 1
318
- })) : v("", !0)
318
+ })) : C("", !0)
319
319
  ]),
320
320
  _: 1
321
- })) : v("", !0)
321
+ })) : C("", !0)
322
322
  ]),
323
323
  _: 1
324
324
  }),
@@ -330,12 +330,12 @@ const Ce = { class: "dialog-footer" }, Fe = {
330
330
  type: "primary",
331
331
  icon: "Plus",
332
332
  circle: "",
333
- onClick: G
333
+ onClick: J
334
334
  })
335
335
  ]),
336
336
  _: 1
337
337
  }),
338
- (d(!0), b(f, null, _(o(t).submitFields, (a, s) => (d(), m(C, {
338
+ (d(!0), b(f, null, _(o(t).submitFields, (a, s) => (d(), m(v, {
339
339
  gutter: 24,
340
340
  key: s
341
341
  }, {
@@ -384,7 +384,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
384
384
  onChange: (n) => a.submitFieldMatchOrigin = "rowData"
385
385
  }, {
386
386
  default: l(() => [
387
- (d(!0), b(f, null, _(o(_e), (n, h) => (d(), m(g, {
387
+ (d(!0), b(f, null, _(o(ge), (n, h) => (d(), m(g, {
388
388
  key: h,
389
389
  label: n.key,
390
390
  value: n.value
@@ -423,7 +423,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
423
423
  }, 1032, ["prop"])
424
424
  ]),
425
425
  _: 2
426
- }, 1024)) : v("", !0),
426
+ }, 1024)) : C("", !0),
427
427
  e(i, { span: 4 }, {
428
428
  default: l(() => [
429
429
  e(r, {
@@ -440,7 +440,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
440
440
  clearable: ""
441
441
  }, {
442
442
  default: l(() => [
443
- (d(!0), b(f, null, _(o(ge), (n, h) => (d(), m(g, {
443
+ (d(!0), b(f, null, _(o(Ve), (n, h) => (d(), m(g, {
444
444
  key: h,
445
445
  label: n.key,
446
446
  value: n.value
@@ -464,7 +464,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
464
464
  type: "danger",
465
465
  icon: "Minus",
466
466
  circle: "",
467
- onClick: (n) => J(s)
467
+ onClick: (n) => Q(s)
468
468
  }, null, 8, ["onClick"])
469
469
  ]),
470
470
  _: 2
@@ -480,12 +480,12 @@ const Ce = { class: "dialog-footer" }, Fe = {
480
480
  type: "primary",
481
481
  icon: "Plus",
482
482
  circle: "",
483
- onClick: Q
483
+ onClick: X
484
484
  })
485
485
  ]),
486
486
  _: 1
487
487
  }),
488
- (d(!0), b(f, null, _(o(t).matchFields, (a, s) => (d(), m(C, {
488
+ (d(!0), b(f, null, _(o(t).matchFields, (a, s) => (d(), m(v, {
489
489
  gutter: 24,
490
490
  key: s
491
491
  }, {
@@ -512,7 +512,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
512
512
  style: { width: "180px" }
513
513
  }, {
514
514
  default: l(() => [
515
- (d(!0), b(f, null, _(o(Ve), (n, h) => (d(), m(g, {
515
+ (d(!0), b(f, null, _(o(ye), (n, h) => (d(), m(g, {
516
516
  key: h,
517
517
  label: n.key,
518
518
  value: n.value
@@ -545,7 +545,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
545
545
  filterable: ""
546
546
  }, {
547
547
  default: l(() => [
548
- (d(!0), b(f, null, _(o($), (n, h) => (d(), m(g, {
548
+ (d(!0), b(f, null, _(o(z), (n, h) => (d(), m(g, {
549
549
  key: h,
550
550
  label: n.key,
551
551
  value: n.value
@@ -588,7 +588,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
588
588
  type: "danger",
589
589
  icon: "Minus",
590
590
  circle: "",
591
- onClick: (n) => X(s)
591
+ onClick: (n) => Z(s)
592
592
  }, null, 8, ["onClick"])
593
593
  ]),
594
594
  _: 2
@@ -613,7 +613,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
613
613
  filterable: ""
614
614
  }, {
615
615
  default: l(() => [
616
- (d(!0), b(f, null, _(o(ye), (n, h) => (d(), m(g, {
616
+ (d(!0), b(f, null, _(o(he), (n, h) => (d(), m(g, {
617
617
  key: h,
618
618
  label: n.key,
619
619
  value: n.value
@@ -626,11 +626,11 @@ const Ce = { class: "dialog-footer" }, Fe = {
626
626
  }, 1032, ["prop"])
627
627
  ]),
628
628
  _: 2
629
- }, 1024)) : v("", !0)
629
+ }, 1024)) : C("", !0)
630
630
  ]),
631
631
  _: 2
632
632
  }, 1024))), 128)),
633
- e(C, { gutter: 24 }, {
633
+ e(v, { gutter: 24 }, {
634
634
  default: l(() => [
635
635
  e(i, { span: 4 }, {
636
636
  default: l(() => [
@@ -639,10 +639,10 @@ const Ce = { class: "dialog-footer" }, Fe = {
639
639
  prop: "isCustomBtn"
640
640
  }, {
641
641
  default: l(() => [
642
- e(le, {
642
+ e(ae, {
643
643
  modelValue: o(t).isCustomBtn,
644
644
  "onUpdate:modelValue": u[8] || (u[8] = (a) => o(t).isCustomBtn = a),
645
- onChange: K
645
+ onChange: G
646
646
  }, null, 8, ["modelValue"])
647
647
  ]),
648
648
  _: 1
@@ -669,7 +669,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
669
669
  clearable: ""
670
670
  }, {
671
671
  default: l(() => [
672
- (d(!0), b(f, null, _(o(he), (a, s) => (d(), m(g, {
672
+ (d(!0), b(f, null, _(o(Ce), (a, s) => (d(), m(g, {
673
673
  key: s,
674
674
  label: a.key,
675
675
  value: a.value
@@ -682,7 +682,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
682
682
  })
683
683
  ]),
684
684
  _: 1
685
- })) : v("", !0),
685
+ })) : C("", !0),
686
686
  e(i, { span: 6 }, {
687
687
  default: l(() => [
688
688
  e(r, { label: "关联菜单" }, {
@@ -695,7 +695,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
695
695
  clearable: ""
696
696
  }, {
697
697
  default: l(() => [
698
- (d(!0), b(f, null, _(o(j), (a, s) => (d(), m(g, {
698
+ (d(!0), b(f, null, _(o($), (a, s) => (d(), m(g, {
699
699
  key: s,
700
700
  label: a.name,
701
701
  value: a.id
@@ -712,7 +712,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
712
712
  ]),
713
713
  _: 1
714
714
  }),
715
- o(t).customType === "code" ? (d(), m(C, {
715
+ o(t).customType === "code" ? (d(), m(v, {
716
716
  key: 0,
717
717
  gutter: 24
718
718
  }, {
@@ -737,8 +737,8 @@ const Ce = { class: "dialog-footer" }, Fe = {
737
737
  })
738
738
  ]),
739
739
  _: 1
740
- })) : v("", !0),
741
- o(t).customType === "component" ? (d(), m(C, {
740
+ })) : C("", !0),
741
+ o(t).customType === "component" ? (d(), m(v, {
742
742
  key: 1,
743
743
  gutter: 24
744
744
  }, {
@@ -758,7 +758,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
758
758
  clearable: ""
759
759
  }, {
760
760
  prepend: l(() => [
761
- U(A(Y.value), 1)
761
+ U(x(j.value), 1)
762
762
  ]),
763
763
  _: 1
764
764
  }, 8, ["modelValue"])
@@ -790,7 +790,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
790
790
  })
791
791
  ]),
792
792
  _: 1
793
- })) : v("", !0)
793
+ })) : C("", !0)
794
794
  ]),
795
795
  _: 1
796
796
  }, 8, ["model"])
@@ -799,7 +799,7 @@ const Ce = { class: "dialog-footer" }, Fe = {
799
799
  }, 8, ["model-value", "title"]);
800
800
  };
801
801
  }
802
- }, Se = /* @__PURE__ */ me(Fe, [["__scopeId", "data-v-8ca8aad5"]]);
802
+ }, qe = /* @__PURE__ */ pe(Ue, [["__scopeId", "data-v-c38b8a42"]]);
803
803
  export {
804
- Se as default
804
+ qe as default
805
805
  };
@@ -8,7 +8,7 @@ const B = { class: "dialog-footer" }, A = {
8
8
  },
9
9
  emits: ["update:visible", "refresh", "update:modelValue"],
10
10
  setup(f, { emit: c }) {
11
- const v = _(() => import("./index-e5e66375.js")), n = c, o = f;
11
+ const v = _(() => import("./index-2a797bbc.js")), n = c, o = f;
12
12
  let t = C();
13
13
  y(
14
14
  () => o.visible,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as yd, shallowRef as qn, inject as xd, computed as Jh, toRaw as wd, onMounted as Sd, watch as le, onBeforeUnmount as vd, h as kd, ref as kl, resolveComponent as Qd, resolveDirective as Pd, openBlock as Ql, createElementBlock as $d, withDirectives as Td, createBlock as Zd, withCtx as Cd, createTextVNode as Rd, toDisplayString as Ad, unref as Pl, createVNode as Md, normalizeStyle as Ed } from "vue";
2
- import { _ as Xd, u as Ld } from "./index-a45bc65a.js";
2
+ import { _ as Xd, u as Ld } from "./index-44b21835.js";
3
3
  import "vue-router";
4
4
  import "element-plus";
5
5
  let Mr = [], tf = [];