act-plus 1.1.35 → 1.1.37

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,6 +1,6 @@
1
1
  import { inject as O, defineAsyncComponent as T, reactive as W, ref as g, provide as D, watch as j, resolveComponent as m, openBlock as F, createBlock as z, withCtx as d, createVNode as f, unref as l, isRef as E, createTextVNode as x, toDisplayString as P, pushScopeId as H, popScopeId as K, createElementVNode as L } from "vue";
2
2
  import { useRoute as $ } from "vue-router";
3
- import { _ as G } from "./index-adf3ff12.js";
3
+ import { _ as G } from "./index-42b5a2b1.js";
4
4
  import "js-base64";
5
5
  import "element-plus";
6
6
  import "monaco-editor";
@@ -13,7 +13,7 @@ const J = (u) => (H("data-v-862782ff"), u = u(), K(), u), Q = /* @__PURE__ */ J(
13
13
  },
14
14
  emits: ["update:modelValue"],
15
15
  setup(u, { expose: V, emit: Y }) {
16
- const h = $(), C = O("request"), q = T(() => import("./dialogConfigBtn-666a5a33.js")), p = u, w = () => ({
16
+ const h = $(), C = O("request"), q = T(() => import("./dialogConfigBtn-f0ec7e97.js")), p = u, w = () => ({
17
17
  sort: 0,
18
18
  permissionCode: null,
19
19
  requestUrl: "",
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as I, inject as H, reactive as U, ref as j, watch as B, resolveComponent as m, openBlock as f, createBlock as w, withCtx as a, createElementVNode as C, createVNode as d, createTextVNode as i, unref as r, toDisplayString as _, createElementBlock as q, Fragment as K, renderList as O, createCommentVNode as W, pushScopeId as Y, popScopeId as G } from "vue";
2
- import { a as J } from "./enum-95788c42.js";
3
- import { _ as M } from "./index-adf3ff12.js";
2
+ import { a as J } from "./enum-d734222c.js";
3
+ import { _ as M } from "./index-42b5a2b1.js";
4
4
  import "vue-router";
5
5
  import "js-base64";
6
6
  import "element-plus";
@@ -12,7 +12,7 @@ const Q = (u) => (Y("data-v-3440b427"), u = u(), G(), u), X = { class: "card-hea
12
12
  },
13
13
  emits: ["update:modelValue"],
14
14
  setup(u, { emit: v }) {
15
- const F = I(() => import("./dialogAddField-17e1aa96.js")), g = v, b = u, V = H("configData")();
15
+ const F = I(() => import("./dialogAddField-996920a1.js")), g = v, b = u, V = H("configData")();
16
16
  let l = U((() => ({
17
17
  tableLoading: !1,
18
18
  showAddFieldDialog: !1,
@@ -1,5 +1,5 @@
1
1
  import { ref as _, watch as P, resolveComponent as m, openBlock as i, createBlock as p, withCtx as o, createVNode as e, unref as a, createElementBlock as R, Fragment as W, renderList as F } from "vue";
2
- import { F as O } from "./enum-95788c42.js";
2
+ import { F as O } from "./enum-d734222c.js";
3
3
  const C = {
4
4
  __name: "configForm",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { inject as z, ref as T, watch as j, resolveComponent as i, openBlock as s, createBlock as b, withCtx as l, createVNode as e, unref as u, createTextVNode as B, createElementBlock as y, Fragment as U, renderList as w, createCommentVNode as x } from "vue";
2
- import { S as I } from "./enum-95788c42.js";
3
- import { _ as M } from "./index-adf3ff12.js";
2
+ import { S as I } from "./enum-d734222c.js";
3
+ import { _ as M } from "./index-42b5a2b1.js";
4
4
  import "vue-router";
5
5
  import "js-base64";
6
6
  import "element-plus";
@@ -1,11 +1,11 @@
1
- import { defineAsyncComponent as de, inject as E, reactive as se, ref as A, watch as ie, resolveComponent as g, openBlock as n, createBlock as m, withCtx as a, createElementVNode as H, createVNode as l, unref as o, createTextVNode as S, createElementBlock as b, Fragment as c, renderList as C, createCommentVNode as V, toDisplayString as me } from "vue";
2
- import { a as pe, j as fe, P as be, k as L, T as ce, A as _e, C as ge, U as Ce } from "./enum-95788c42.js";
3
- import { _ as ye } from "./index-adf3ff12.js";
1
+ import { defineAsyncComponent as se, inject as E, reactive as ie, ref as A, watch as me, resolveComponent as g, resolveDirective as pe, openBlock as n, createBlock as m, withCtx as a, createElementVNode as H, createVNode as l, unref as o, createTextVNode as S, withDirectives as fe, createElementBlock as b, Fragment as c, renderList as C, createCommentVNode as V, toDisplayString as be } from "vue";
2
+ import { a as ce, j as _e, P as ge, k as L, T as Ce, A as ye, C as Ve, U as Te } from "./enum-d734222c.js";
3
+ import { _ as Se } from "./index-42b5a2b1.js";
4
4
  import "vue-router";
5
5
  import "js-base64";
6
6
  import "element-plus";
7
7
  import "monaco-editor";
8
- const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
8
+ const ve = { slot: "prepend" }, Ue = { class: "dialog-footer" }, ke = {
9
9
  __name: "dialogAddField",
10
10
  props: {
11
11
  visible: { type: Boolean, default: !1 },
@@ -14,8 +14,8 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
14
14
  },
15
15
  emits: ["update:visible", "refresh"],
16
16
  setup(K, { emit: M }) {
17
- const I = de(() => import("./dialogSiteComponentsParams-9831d8a6.js")), D = M, F = K, N = E("pageKey")(), x = E("conditionList")(), W = E("configData")();
18
- let U = se((() => ({
17
+ const I = se(() => import("./dialogSiteComponentsParams-5dfa4493.js")), D = M, F = K, N = E("pageKey")(), x = E("conditionList")(), W = E("configData")();
18
+ let v = ie((() => ({
19
19
  btnLoading: !1,
20
20
  showSiteComponentsParamsDialog: !1
21
21
  }))());
@@ -45,11 +45,11 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
45
45
  isTableCellOverflowTooltip: !0,
46
46
  isTableCellSort: !0
47
47
  });
48
- let P = Ce, R = A(null), t = A(O());
48
+ let P = Te, w = A(null), t = A(O());
49
49
  const $ = () => ["select", "selectIcon", "multipleSelect", "treeSelect", "provinceCascade", "switch", "virtualizedSelect", "virtualizedMultipleSelect"].includes(
50
50
  t.value.fieldType
51
51
  ), Q = () => t.value.useScenes.includes("tableSearch") && t.value.fieldType !== "time", Y = () => t.value.useScenes.includes("tableShow"), B = () => !t.value.fieldKey.includes("&"), j = () => t.value.useScenes.includes("tableCustomHeader"), z = () => t.value.useScenes.filter((_) => !["tableSearch", "tableShow"].includes(_)).length;
52
- ie(
52
+ me(
53
53
  () => F.visible,
54
54
  async (_, u) => {
55
55
  if (_) {
@@ -63,7 +63,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
63
63
  return;
64
64
  Object.keys(t.value).forEach((r) => {
65
65
  r == "permissionCode" ? t.value[r] = d.unique : r == "formCustomComponentes" ? t.value[r] = p.filter((f) => d.useScenes.includes(f.value)).map((f) => {
66
- const y = d[r].find((v) => v.permissionCode == f.value) || {};
66
+ const y = d[r].find((U) => U.permissionCode == f.value) || {};
67
67
  return {
68
68
  btnName: f.key,
69
69
  permissionCode: f.value,
@@ -97,18 +97,18 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
97
97
  }, ee = (_, u) => {
98
98
  u.customComponentName = void 0, u.customComponentUrl = void 0;
99
99
  }, le = (_) => {
100
- w(), _();
101
- }, w = () => {
102
- t.value = O(), R.value.resetFields(), D("update:visible", !1);
100
+ R(), _();
101
+ }, R = () => {
102
+ t.value = O(), w.value.resetFields(), D("update:visible", !1);
103
103
  }, ae = (_) => {
104
104
  _ && _.validate((u) => {
105
- u && (U.btnLoading = !0, D("refresh", JSON.parse(JSON.stringify(t.value)), () => {
106
- w();
107
- }), U.btnLoading = !1);
105
+ u && (v.btnLoading = !0, D("refresh", JSON.parse(JSON.stringify(t.value)), () => {
106
+ R();
107
+ }), v.btnLoading = !1);
108
108
  });
109
109
  };
110
110
  return (_, u) => {
111
- const p = g("el-input"), d = g("el-form-item"), r = g("el-col"), f = g("el-option"), y = g("el-select"), v = g("el-button"), T = g("el-row"), q = g("el-divider"), te = g("el-option-group"), k = g("el-switch"), oe = g("el-input-number"), ue = g("el-form"), re = g("el-scrollbar"), ne = g("el-dialog");
111
+ const p = g("el-input"), d = g("el-form-item"), r = g("el-col"), f = g("el-option"), y = g("el-select"), U = g("el-button"), T = g("el-row"), q = g("el-divider"), te = g("el-option-group"), k = g("el-switch"), oe = g("el-input-number"), ue = g("el-form"), re = g("el-scrollbar"), ne = g("el-dialog"), de = pe("debounce");
112
112
  return n(), m(ne, {
113
113
  "model-value": F.visible,
114
114
  title: F.title,
@@ -120,26 +120,28 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
120
120
  "before-close": le
121
121
  }, {
122
122
  footer: a(() => [
123
- H("span", Te, [
124
- l(v, {
125
- onClick: w,
126
- loading: o(U).btnLoading
123
+ H("span", Ue, [
124
+ l(U, {
125
+ onClick: R,
126
+ loading: o(v).btnLoading
127
127
  }, {
128
128
  default: a(() => [
129
129
  S("取消")
130
130
  ]),
131
131
  _: 1
132
132
  }, 8, ["loading"]),
133
- l(v, {
133
+ fe((n(), m(U, {
134
134
  type: "primary",
135
- loading: o(U).btnLoading,
136
- onClick: u[23] || (u[23] = (e) => ae(o(R)))
135
+ loading: o(v).btnLoading,
136
+ onClick: u[23] || (u[23] = (e) => ae(o(w)))
137
137
  }, {
138
138
  default: a(() => [
139
139
  S("保存")
140
140
  ]),
141
141
  _: 1
142
- }, 8, ["loading"])
142
+ }, 8, ["loading"])), [
143
+ [de]
144
+ ])
143
145
  ])
144
146
  ]),
145
147
  default: a(() => [
@@ -150,7 +152,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
150
152
  default: a(() => [
151
153
  l(ue, {
152
154
  ref_key: "formRef",
153
- ref: R,
155
+ ref: w,
154
156
  model: o(t),
155
157
  "label-suffix": ":",
156
158
  "label-width": "120px"
@@ -214,7 +216,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
214
216
  filterable: ""
215
217
  }, {
216
218
  default: a(() => [
217
- (n(!0), b(c, null, C(o(pe), (e) => (n(), m(f, {
219
+ (n(!0), b(c, null, C(o(ce), (e) => (n(), m(f, {
218
220
  key: e.value,
219
221
  label: e.key,
220
222
  value: e.value
@@ -232,13 +234,13 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
232
234
  default: a(() => [
233
235
  l(d, {
234
236
  label: "组件参数",
235
- rules: [{ required: !0, message: "必填项", trigger: ["change"] }],
237
+ rules: [{ required: !1, message: "必填项", trigger: ["change"] }],
236
238
  prop: "fieldType"
237
239
  }, {
238
240
  default: a(() => [
239
- l(v, {
241
+ l(U, {
240
242
  type: "primary",
241
- onClick: u[3] || (u[3] = (e) => o(U).showSiteComponentsParamsDialog = !0)
243
+ onClick: u[3] || (u[3] = (e) => o(v).showSiteComponentsParamsDialog = !0)
242
244
  }, {
243
245
  default: a(() => [
244
246
  S("设置props")
@@ -248,8 +250,8 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
248
250
  l(o(I), {
249
251
  modelValue: o(t).fieldUiProps,
250
252
  "onUpdate:modelValue": u[4] || (u[4] = (e) => o(t).fieldUiProps = e),
251
- visible: o(U).showSiteComponentsParamsDialog,
252
- "onUpdate:visible": u[5] || (u[5] = (e) => o(U).showSiteComponentsParamsDialog = e),
253
+ visible: o(v).showSiteComponentsParamsDialog,
254
+ "onUpdate:visible": u[5] || (u[5] = (e) => o(v).showSiteComponentsParamsDialog = e),
253
255
  title: "设置组件参数"
254
256
  }, null, 8, ["modelValue", "visible"])
255
257
  ]),
@@ -285,7 +287,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
285
287
  onChange: X
286
288
  }, {
287
289
  default: a(() => [
288
- (n(!0), b(c, null, C(o(fe), (e) => (n(), m(f, {
290
+ (n(!0), b(c, null, C(o(_e), (e) => (n(), m(f, {
289
291
  key: e.value,
290
292
  label: e.key,
291
293
  value: e.value
@@ -309,7 +311,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
309
311
  l(q, { "content-position": "left" }, {
310
312
  default: a(() => [
311
313
  S(" POST参数配置 "),
312
- l(v, {
314
+ l(U, {
313
315
  class: "add-icon-btn",
314
316
  type: "primary",
315
317
  icon: "Plus",
@@ -363,7 +365,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
363
365
  style: { width: "120px" }
364
366
  }, {
365
367
  default: a(() => [
366
- (n(!0), b(c, null, C(o(be), (s, h) => (n(), m(f, {
368
+ (n(!0), b(c, null, C(o(ge), (s, h) => (n(), m(f, {
367
369
  key: h,
368
370
  label: s.key,
369
371
  value: s.value
@@ -449,7 +451,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
449
451
  span: 1
450
452
  }, {
451
453
  default: a(() => [
452
- l(v, {
454
+ l(U, {
453
455
  class: "match-opreate",
454
456
  type: "danger",
455
457
  icon: "Minus",
@@ -469,7 +471,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
469
471
  default: a(() => [
470
472
  l(d, {
471
473
  label: "使用场景",
472
- rules: [{ required: !0, message: "必填项", trigger: ["change"] }],
474
+ rules: [{ required: !1, message: "必填项", trigger: ["change"] }],
473
475
  prop: "useScenes"
474
476
  }, {
475
477
  default: a(() => [
@@ -578,7 +580,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
578
580
  style: { width: "100px" }
579
581
  }, {
580
582
  default: a(() => [
581
- (n(!0), b(c, null, C(o(ce), (e, i) => (n(), m(f, {
583
+ (n(!0), b(c, null, C(o(Ce), (e, i) => (n(), m(f, {
582
584
  key: i,
583
585
  label: e.key,
584
586
  value: e.value
@@ -611,7 +613,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
611
613
  filterable: ""
612
614
  }, {
613
615
  default: a(() => [
614
- (n(!0), b(c, null, C(o(_e), (e, i) => (n(), m(f, {
616
+ (n(!0), b(c, null, C(o(ye), (e, i) => (n(), m(f, {
615
617
  key: i,
616
618
  label: e.key,
617
619
  value: e.value
@@ -641,7 +643,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
641
643
  filterable: ""
642
644
  }, {
643
645
  default: a(() => [
644
- (n(!0), b(c, null, C(o(ge), (e, i) => (n(), m(f, {
646
+ (n(!0), b(c, null, C(o(Ve), (e, i) => (n(), m(f, {
645
647
  key: i,
646
648
  label: e.key,
647
649
  value: e.value
@@ -896,8 +898,8 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
896
898
  clearable: ""
897
899
  }, {
898
900
  default: a(() => [
899
- H("template", Ve, [
900
- S(me(o(N)), 1)
901
+ H("template", ve, [
902
+ S(be(o(N)), 1)
901
903
  ])
902
904
  ]),
903
905
  _: 2
@@ -946,7 +948,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
946
948
  }, 8, ["model-value", "title"]);
947
949
  };
948
950
  }
949
- }, Re = /* @__PURE__ */ ye(Se, [["__scopeId", "data-v-502f493e"]]);
951
+ }, De = /* @__PURE__ */ Se(ke, [["__scopeId", "data-v-9f0c7bbf"]]);
950
952
  export {
951
- Re as default
953
+ De as default
952
954
  };