act-plus 1.1.19 → 1.1.21

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 (34) hide show
  1. package/act-plus.js +1 -1
  2. package/act-plus.umd.cjs +440 -440
  3. package/lib/{configBtns-3772e689.js → configBtns-9d56fe1b.js} +2 -2
  4. package/lib/{configFileds-d0911c87.js → configFileds-df2b6e7d.js} +3 -3
  5. package/lib/{configForm-ae4b725e.js → configForm-2212ebfa.js} +1 -1
  6. package/lib/{configTable-879063d4.js → configTable-8b2a4509.js} +92 -61
  7. package/lib/{cssMode-6d02ab39.js → cssMode-60916414.js} +1 -1
  8. package/lib/{dialogAddField-d6b18048.js → dialogAddField-9157d3b5.js} +246 -245
  9. package/lib/{dialogConfigBtn-75e37dc9.js → dialogConfigBtn-72c02278.js} +3 -3
  10. package/lib/dialogSiteComponentsParams-63d9dc34.js +71 -0
  11. package/lib/{enum-cc58b8fe.js → enum-ab7125f9.js} +2 -2
  12. package/lib/{freemarker2-205877bf.js → freemarker2-7d1ec253.js} +1 -1
  13. package/lib/{handlebars-2d920faa.js → handlebars-adf29031.js} +1 -1
  14. package/lib/{html-6b99359b.js → html-58c53b1f.js} +1 -1
  15. package/lib/{htmlMode-498c17d9.js → htmlMode-9eeb9724.js} +1 -1
  16. package/lib/{index-aff95ab9.js → index-06fc5662.js} +1 -1
  17. package/lib/{index-fb2754ee.js → index-0a69613f.js} +1 -1
  18. package/lib/{index-68063c4c.js → index-3777f35c.js} +1 -1
  19. package/lib/{index-da0a0bfe.js → index-4ad7a283.js} +40523 -40179
  20. package/lib/index-58369e5d.js +205 -0
  21. package/lib/index-d459ee4c.js +327 -0
  22. package/lib/{javascript-5e40fe11.js → javascript-0b7b04d0.js} +2 -2
  23. package/lib/{jsonMode-2a821e9e.js → jsonMode-9f14ee23.js} +1 -1
  24. package/lib/{liquid-dc78aaf7.js → liquid-4f7d6527.js} +1 -1
  25. package/lib/{python-e55144b2.js → python-009ef2aa.js} +1 -1
  26. package/lib/{razor-1fb88f53.js → razor-3094e84e.js} +1 -1
  27. package/lib/{tsMode-8d12d976.js → tsMode-90da8eb5.js} +1 -1
  28. package/lib/{typescript-97ed77ae.js → typescript-bb20f7ba.js} +1 -1
  29. package/lib/{xml-e843c667.js → xml-9f4bbbf1.js} +1 -1
  30. package/lib/{yaml-62bcf3fa.js → yaml-df4caa74.js} +1 -1
  31. package/package.json +1 -1
  32. package/style.css +1 -1
  33. package/lib/index-7c264775.js +0 -192
  34. package/lib/index-a36b2284.js +0 -304
@@ -1,5 +1,5 @@
1
1
  import { defineAsyncComponent as U, reactive as A, ref as g, provide as D, watch as M, resolveComponent as m, openBlock as T, createBlock as W, withCtx as r, createVNode as f, unref as l, isRef as F, createTextVNode as I, toDisplayString as O, pushScopeId as j, popScopeId as z, createElementVNode as x } from "vue";
2
- import { _ as E, g as P, d as H } from "./index-da0a0bfe.js";
2
+ import { _ as E, g as P, d as H } from "./index-4ad7a283.js";
3
3
  import { useRoute as K } from "vue-router";
4
4
  import "element-plus";
5
5
  const $ = (d) => (j("data-v-709fc688"), d = d(), z(), d), G = /* @__PURE__ */ $(() => /* @__PURE__ */ x("div", { class: "card-header" }, [
@@ -11,7 +11,7 @@ const $ = (d) => (j("data-v-709fc688"), d = d(), z(), d), G = /* @__PURE__ */ $(
11
11
  },
12
12
  emits: ["update:modelValue"],
13
13
  setup(d, { expose: V, emit: Q }) {
14
- const h = K(), L = U(() => import("./dialogConfigBtn-75e37dc9.js")), c = d, w = () => ({
14
+ const h = K(), L = U(() => import("./dialogConfigBtn-72c02278.js")), c = d, w = () => ({
15
15
  sort: 0,
16
16
  permissionCode: null,
17
17
  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-cc58b8fe.js";
3
- import { _ as M } from "./index-da0a0bfe.js";
2
+ import { a as J } from "./enum-ab7125f9.js";
3
+ import { _ as M } from "./index-4ad7a283.js";
4
4
  import "vue-router";
5
5
  import "element-plus";
6
6
  const Q = (u) => (Y("data-v-9d3ab8fb"), u = u(), G(), u), X = { class: "card-header" }, Z = /* @__PURE__ */ Q(() => /* @__PURE__ */ C("div", { class: "card-header-title" }, "字段配置", -1)), ee = {
@@ -10,7 +10,7 @@ const Q = (u) => (Y("data-v-9d3ab8fb"), u = u(), G(), u), X = { class: "card-hea
10
10
  },
11
11
  emits: ["update:modelValue"],
12
12
  setup(u, { emit: v }) {
13
- const F = I(() => import("./dialogAddField-d6b18048.js")), b = v, g = u, V = H("configData")();
13
+ const F = I(() => import("./dialogAddField-9157d3b5.js")), b = v, g = u, V = H("configData")();
14
14
  let l = U((() => ({
15
15
  tableLoading: !1,
16
16
  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-cc58b8fe.js";
2
+ import { F as O } from "./enum-ab7125f9.js";
3
3
  const C = {
4
4
  __name: "configForm",
5
5
  props: {
@@ -1,6 +1,6 @@
1
- import { inject as B, ref as T, watch as j, resolveComponent as i, openBlock as m, createBlock as _, withCtx as l, createVNode as e, unref as o, createTextVNode as E, createElementBlock as h, Fragment as y, renderList as U, createCommentVNode as v } from "vue";
2
- import { S as I } from "./enum-cc58b8fe.js";
3
- import { _ as M } from "./index-da0a0bfe.js";
1
+ import { inject as z, ref as T, watch as B, resolveComponent as i, openBlock as m, createBlock as b, withCtx as l, createVNode as e, unref as u, createTextVNode as j, createElementBlock as y, Fragment as U, renderList as w, createCommentVNode as v } from "vue";
2
+ import { S as I } from "./enum-ab7125f9.js";
3
+ import { _ as M } from "./index-4ad7a283.js";
4
4
  import "vue-router";
5
5
  import "element-plus";
6
6
  const A = {
@@ -9,23 +9,25 @@ const A = {
9
9
  modelValue: { type: Object, default: () => ({}) }
10
10
  },
11
11
  emits: ["update:modelValue"],
12
- setup(F, { expose: S, emit: D }) {
13
- const O = F, W = () => ({
12
+ setup(x, { expose: F, emit: D }) {
13
+ const Q = x, N = () => ({
14
14
  dataUrl: void 0,
15
15
  defaultParams: [],
16
16
  isCheckRow: !1,
17
17
  isOperateRow: !0,
18
18
  isPagination: !0,
19
+ isSerialNumber: !0,
19
20
  isSort: !0,
21
+ isExpandQuery: !1,
20
22
  tableOperateCellWidth: 160,
21
23
  pageSize: 10,
22
24
  tableQueryLabelWidth: 100,
23
25
  tableQueryRowWidth: 5
24
- }), x = B("conditionList")();
25
- let w = T(null), a = T(W());
26
- j(
27
- () => O.modelValue,
28
- (s, u) => {
26
+ }), O = z("conditionList")();
27
+ let h = T(null), a = T(N());
28
+ B(
29
+ () => Q.modelValue,
30
+ (s, o) => {
29
31
  if (s) {
30
32
  const p = { ...s, defaultParams: [...s.defaultParams || []] };
31
33
  if (!p.dataUrl)
@@ -37,30 +39,30 @@ const A = {
37
39
  },
38
40
  { deep: !0, immediate: !0 }
39
41
  );
40
- const Q = () => {
42
+ const W = () => {
41
43
  a.value.defaultParams.push({ submitFieldName: "", defaultValue: "", matchValue: "", submitFieldType: "" });
42
- }, N = (s) => {
43
- a.value.defaultParams.splice(s, 1);
44
44
  }, q = (s) => {
45
+ a.value.defaultParams.splice(s, 1);
46
+ }, P = (s) => {
45
47
  s || (a.value.pageSize = 10);
46
48
  };
47
- return S({ formRef: w, form: a }), (s, u) => {
48
- const p = i("el-input"), d = i("el-form-item"), n = i("el-col"), b = i("el-row"), P = i("el-button"), k = i("el-divider"), C = i("el-option"), R = i("el-select"), c = i("el-switch"), V = i("el-input-number"), L = i("el-form"), z = i("el-card");
49
- return m(), _(z, {
49
+ return F({ formRef: h, form: a }), (s, o) => {
50
+ const p = i("el-input"), d = i("el-form-item"), n = i("el-col"), c = i("el-row"), C = i("el-button"), k = i("el-divider"), S = i("el-option"), R = i("el-select"), f = i("el-switch"), V = i("el-input-number"), E = i("el-form"), L = i("el-card");
51
+ return m(), b(L, {
50
52
  class: "form-card",
51
53
  shadow: "hover",
52
54
  header: "表格配置"
53
55
  }, {
54
56
  default: l(() => [
55
- e(L, {
57
+ e(E, {
56
58
  ref_key: "formRef",
57
- ref: w,
58
- model: o(a),
59
+ ref: h,
60
+ model: u(a),
59
61
  "label-suffix": ":",
60
62
  "label-width": "120"
61
63
  }, {
62
64
  default: l(() => [
63
- e(b, null, {
65
+ e(c, null, {
64
66
  default: l(() => [
65
67
  e(n, { span: 24 }, {
66
68
  default: l(() => [
@@ -71,8 +73,8 @@ const A = {
71
73
  }, {
72
74
  default: l(() => [
73
75
  e(p, {
74
- modelValue: o(a).dataUrl,
75
- "onUpdate:modelValue": u[0] || (u[0] = (t) => o(a).dataUrl = t),
76
+ modelValue: u(a).dataUrl,
77
+ "onUpdate:modelValue": o[0] || (o[0] = (t) => u(a).dataUrl = t),
76
78
  placeholder: "请输入",
77
79
  clearable: ""
78
80
  }, null, 8, ["modelValue"])
@@ -87,20 +89,20 @@ const A = {
87
89
  }),
88
90
  e(k, { "content-position": "left" }, {
89
91
  default: l(() => [
90
- E(" 表格默认参数配置 "),
91
- e(P, {
92
+ j(" 表格默认参数配置 "),
93
+ e(C, {
92
94
  class: "add-icon-btn",
93
95
  type: "primary",
94
96
  icon: "Plus",
95
97
  circle: "",
96
- onClick: Q
98
+ onClick: W
97
99
  })
98
100
  ]),
99
101
  _: 1
100
102
  }),
101
- (m(!0), h(y, null, U(o(a).defaultParams, (t, f) => (m(), _(b, {
103
+ (m(!0), y(U, null, w(u(a).defaultParams, (t, _) => (m(), b(c, {
102
104
  class: "table-post-params",
103
- key: f
105
+ key: _
104
106
  }, {
105
107
  default: l(() => [
106
108
  e(n, { span: 12 }, {
@@ -108,7 +110,7 @@ const A = {
108
110
  e(d, {
109
111
  label: "字段",
110
112
  rules: [{ required: !0, message: "必填项", trigger: "blur" }],
111
- prop: "defaultParams." + f + ".submitFieldName"
113
+ prop: "defaultParams." + _ + ".submitFieldName"
112
114
  }, {
113
115
  default: l(() => [
114
116
  e(p, {
@@ -128,7 +130,7 @@ const A = {
128
130
  e(d, {
129
131
  label: "匹配条件",
130
132
  rules: [{ required: !0, message: "必填项", trigger: "change" }],
131
- prop: "defaultParams." + f + ".matchValue"
133
+ prop: "defaultParams." + _ + ".matchValue"
132
134
  }, {
133
135
  default: l(() => [
134
136
  e(R, {
@@ -139,7 +141,7 @@ const A = {
139
141
  clearable: ""
140
142
  }, {
141
143
  default: l(() => [
142
- (m(!0), h(y, null, U(o(x), (r, g) => (m(), _(C, {
144
+ (m(!0), y(U, null, w(u(O), (r, g) => (m(), b(S, {
143
145
  key: g,
144
146
  label: r.key,
145
147
  value: r.value
@@ -158,7 +160,7 @@ const A = {
158
160
  e(d, {
159
161
  label: "默认值",
160
162
  rules: [{ required: !0, message: "必填项", trigger: "blur" }],
161
- prop: "defaultParams." + f + ".defaultValue"
163
+ prop: "defaultParams." + _ + ".defaultValue"
162
164
  }, {
163
165
  default: l(() => [
164
166
  e(p, {
@@ -178,7 +180,7 @@ const A = {
178
180
  e(d, {
179
181
  label: "提交类型",
180
182
  rules: [{ required: !0, message: "必填项", trigger: "change" }],
181
- prop: "defaultParams." + f + ".submitFieldType"
183
+ prop: "defaultParams." + _ + ".submitFieldType"
182
184
  }, {
183
185
  default: l(() => [
184
186
  e(R, {
@@ -189,7 +191,7 @@ const A = {
189
191
  clearable: ""
190
192
  }, {
191
193
  default: l(() => [
192
- (m(!0), h(y, null, U(o(I), (r, g) => (m(), _(C, {
194
+ (m(!0), y(U, null, w(u(I), (r, g) => (m(), b(S, {
193
195
  key: g,
194
196
  label: r.key,
195
197
  value: r.value
@@ -209,12 +211,12 @@ const A = {
209
211
  span: 2
210
212
  }, {
211
213
  default: l(() => [
212
- e(P, {
214
+ e(C, {
213
215
  class: "match-opreate",
214
216
  type: "danger",
215
217
  icon: "Minus",
216
218
  circle: "",
217
- onClick: (r) => N(f)
219
+ onClick: (r) => q(_)
218
220
  }, null, 8, ["onClick"])
219
221
  ]),
220
222
  _: 2
@@ -222,15 +224,15 @@ const A = {
222
224
  ]),
223
225
  _: 2
224
226
  }, 1024))), 128)),
225
- e(b, null, {
227
+ e(c, null, {
226
228
  default: l(() => [
227
229
  e(n, { span: 4 }, {
228
230
  default: l(() => [
229
231
  e(d, { label: "多选列" }, {
230
232
  default: l(() => [
231
- e(c, {
232
- modelValue: o(a).isCheckRow,
233
- "onUpdate:modelValue": u[1] || (u[1] = (t) => o(a).isCheckRow = t)
233
+ e(f, {
234
+ modelValue: u(a).isCheckRow,
235
+ "onUpdate:modelValue": o[1] || (o[1] = (t) => u(a).isCheckRow = t)
234
236
  }, null, 8, ["modelValue"])
235
237
  ]),
236
238
  _: 1
@@ -242,9 +244,9 @@ const A = {
242
244
  default: l(() => [
243
245
  e(d, { label: "操作列" }, {
244
246
  default: l(() => [
245
- e(c, {
246
- modelValue: o(a).isOperateRow,
247
- "onUpdate:modelValue": u[2] || (u[2] = (t) => o(a).isOperateRow = t)
247
+ e(f, {
248
+ modelValue: u(a).isOperateRow,
249
+ "onUpdate:modelValue": o[2] || (o[2] = (t) => u(a).isOperateRow = t)
248
250
  }, null, 8, ["modelValue"])
249
251
  ]),
250
252
  _: 1
@@ -256,10 +258,24 @@ const A = {
256
258
  default: l(() => [
257
259
  e(d, { label: "分页" }, {
258
260
  default: l(() => [
259
- e(c, {
260
- modelValue: o(a).isPagination,
261
- "onUpdate:modelValue": u[3] || (u[3] = (t) => o(a).isPagination = t),
262
- onChange: q
261
+ e(f, {
262
+ modelValue: u(a).isPagination,
263
+ "onUpdate:modelValue": o[3] || (o[3] = (t) => u(a).isPagination = t),
264
+ onChange: P
265
+ }, null, 8, ["modelValue"])
266
+ ]),
267
+ _: 1
268
+ })
269
+ ]),
270
+ _: 1
271
+ }),
272
+ e(n, { span: 4 }, {
273
+ default: l(() => [
274
+ e(d, { label: "序号列" }, {
275
+ default: l(() => [
276
+ e(f, {
277
+ modelValue: u(a).isSerialNumber,
278
+ "onUpdate:modelValue": o[4] || (o[4] = (t) => u(a).isSerialNumber = t)
263
279
  }, null, 8, ["modelValue"])
264
280
  ]),
265
281
  _: 1
@@ -271,9 +287,24 @@ const A = {
271
287
  default: l(() => [
272
288
  e(d, { label: "排序" }, {
273
289
  default: l(() => [
274
- e(c, {
275
- modelValue: o(a).isSort,
276
- "onUpdate:modelValue": u[4] || (u[4] = (t) => o(a).isSort = t)
290
+ e(f, {
291
+ modelValue: u(a).isSort,
292
+ "onUpdate:modelValue": o[5] || (o[5] = (t) => u(a).isSort = t)
293
+ }, null, 8, ["modelValue"])
294
+ ]),
295
+ _: 1
296
+ })
297
+ ]),
298
+ _: 1
299
+ }),
300
+ e(n, { span: 6 }, {
301
+ default: l(() => [
302
+ e(d, { label: "展/收查询条件" }, {
303
+ default: l(() => [
304
+ e(f, {
305
+ modelValue: u(a).isExpandQuery,
306
+ "onUpdate:modelValue": o[6] || (o[6] = (t) => u(a).isExpandQuery = t),
307
+ onChange: P
277
308
  }, null, 8, ["modelValue"])
278
309
  ]),
279
310
  _: 1
@@ -284,9 +315,9 @@ const A = {
284
315
  ]),
285
316
  _: 1
286
317
  }),
287
- e(b, null, {
318
+ e(c, null, {
288
319
  default: l(() => [
289
- o(a).isOperateRow ? (m(), _(n, {
320
+ u(a).isOperateRow ? (m(), b(n, {
290
321
  key: 0,
291
322
  span: 12
292
323
  }, {
@@ -297,8 +328,8 @@ const A = {
297
328
  }, {
298
329
  default: l(() => [
299
330
  e(V, {
300
- modelValue: o(a).tableOperateCellWidth,
301
- "onUpdate:modelValue": u[5] || (u[5] = (t) => o(a).tableOperateCellWidth = t),
331
+ modelValue: u(a).tableOperateCellWidth,
332
+ "onUpdate:modelValue": o[7] || (o[7] = (t) => u(a).tableOperateCellWidth = t),
302
333
  min: 120
303
334
  }, null, 8, ["modelValue"])
304
335
  ]),
@@ -307,7 +338,7 @@ const A = {
307
338
  ]),
308
339
  _: 1
309
340
  })) : v("", !0),
310
- o(a).isPagination ? (m(), _(n, {
341
+ u(a).isPagination ? (m(), b(n, {
311
342
  key: 1,
312
343
  span: 12
313
344
  }, {
@@ -320,8 +351,8 @@ const A = {
320
351
  }, {
321
352
  default: l(() => [
322
353
  e(V, {
323
- modelValue: o(a).pageSize,
324
- "onUpdate:modelValue": u[6] || (u[6] = (t) => o(a).pageSize = t),
354
+ modelValue: u(a).pageSize,
355
+ "onUpdate:modelValue": o[8] || (o[8] = (t) => u(a).pageSize = t),
325
356
  min: 10
326
357
  }, null, 8, ["modelValue"])
327
358
  ]),
@@ -338,8 +369,8 @@ const A = {
338
369
  }, {
339
370
  default: l(() => [
340
371
  e(V, {
341
- modelValue: o(a).tableQueryLabelWidth,
342
- "onUpdate:modelValue": u[7] || (u[7] = (t) => o(a).tableQueryLabelWidth = t),
372
+ modelValue: u(a).tableQueryLabelWidth,
373
+ "onUpdate:modelValue": o[9] || (o[9] = (t) => u(a).tableQueryLabelWidth = t),
343
374
  min: 80
344
375
  }, null, 8, ["modelValue"])
345
376
  ]),
@@ -356,8 +387,8 @@ const A = {
356
387
  }, {
357
388
  default: l(() => [
358
389
  e(V, {
359
- modelValue: o(a).tableQueryRowWidth,
360
- "onUpdate:modelValue": u[8] || (u[8] = (t) => o(a).tableQueryRowWidth = t),
390
+ modelValue: u(a).tableQueryRowWidth,
391
+ "onUpdate:modelValue": o[10] || (o[10] = (t) => u(a).tableQueryRowWidth = t),
361
392
  min: 1
362
393
  }, null, 8, ["modelValue"])
363
394
  ]),
@@ -377,7 +408,7 @@ const A = {
377
408
  });
378
409
  };
379
410
  }
380
- }, K = /* @__PURE__ */ M(A, [["__scopeId", "data-v-0b5914ff"]]);
411
+ }, K = /* @__PURE__ */ M(A, [["__scopeId", "data-v-21d0ebf1"]]);
381
412
  export {
382
413
  K as default
383
414
  };
@@ -1,7 +1,7 @@
1
1
  var Le = Object.defineProperty;
2
2
  var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var E = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Ne } from "./index-da0a0bfe.js";
4
+ import { m as Ne } from "./index-4ad7a283.js";
5
5
  import "vue";
6
6
  import "vue-router";
7
7
  import "element-plus";