act-plus 1.1.81 → 1.1.82

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
- import { reactive as m, watch as v, resolveComponent as s, openBlock as b, createBlock as g, withCtx as o, createElementVNode as i, createVNode as x, createTextVNode as y, toDisplayString as h, unref as C } from "vue";
2
- import { _ as k, u as w } from "./index-4147f9fd.js";
1
+ import { reactive as m, watch as b, resolveComponent as s, openBlock as v, createBlock as g, withCtx as o, createElementVNode as i, createVNode as x, createTextVNode as y, toDisplayString as h, unref as C } from "vue";
2
+ import { _ as k, u as w } from "./index-2e399e7e.js";
3
3
  import "vue-router";
4
4
  import "element-plus";
5
5
  const V = ["innerHTML"], B = { class: "dialog-footer" }, D = {
@@ -15,7 +15,7 @@ const V = ["innerHTML"], B = { class: "dialog-footer" }, D = {
15
15
  let a = m((() => ({
16
16
  loading: !1
17
17
  }))());
18
- v(
18
+ b(
19
19
  () => t.visible,
20
20
  async (e, p) => {
21
21
  e && (a.loading = !0, a.loading = !1);
@@ -28,7 +28,7 @@ const V = ["innerHTML"], B = { class: "dialog-footer" }, D = {
28
28
  };
29
29
  return (e, p) => {
30
30
  const f = s("el-button"), u = s("el-dialog");
31
- return b(), g(u, {
31
+ return v(), g(u, {
32
32
  "model-value": t.visible,
33
33
  title: t.title,
34
34
  top: "5vh",
@@ -59,7 +59,7 @@ const V = ["innerHTML"], B = { class: "dialog-footer" }, D = {
59
59
  }, 8, ["model-value", "title"]);
60
60
  };
61
61
  }
62
- }, M = /* @__PURE__ */ k(D, [["__scopeId", "data-v-95be1288"]]);
62
+ }, M = /* @__PURE__ */ k(D, [["__scopeId", "data-v-be1c5be6"]]);
63
63
  export {
64
64
  M as default
65
65
  };
@@ -1,5 +1,5 @@
1
1
  import { ref as N, watch as O, resolveComponent as u, resolveDirective as T, openBlock as l, createElementBlock as p, withDirectives as j, createBlock as i, mergeProps as D, withCtx as g, createTextVNode as W, toDisplayString as A, unref as y, Fragment as c, renderList as H, renderSlot as w, createCommentVNode as U, nextTick as b } from "vue";
2
- import { _ as V, u as $ } from "./index-4147f9fd.js";
2
+ import { _ as V, u as $ } from "./index-2e399e7e.js";
3
3
  import "vue-router";
4
4
  import "element-plus";
5
5
  const F = { class: "act-table" }, L = {
@@ -1,6 +1,6 @@
1
1
  import { ref as P, computed as ie, resolveComponent as w, resolveDirective as ae, openBlock as h, createElementBlock as L, withDirectives as se, createBlock as U, mergeProps as re, unref as d, withCtx as D, renderSlot as A, createElementVNode as x, toDisplayString as S, createCommentVNode as B, createVNode as $, createTextVNode as ce, Fragment as ue, renderList as pe, normalizeClass as de, nextTick as me } from "vue";
2
2
  import { ElNotification as E } from "element-plus";
3
- import { _ as fe, u as ge, z as ye, o as _e, p as he, q as ve } from "./index-4147f9fd.js";
3
+ import { _ as fe, u as ge, z as ye, o as _e, p as he, q as ve } from "./index-2e399e7e.js";
4
4
  import "vue-router";
5
5
  let R;
6
6
  const we = new Uint8Array(16);
@@ -271,7 +271,7 @@ const $e = { class: "upload-container" }, Ve = { class: "el-upload__text" }, be
271
271
  ]);
272
272
  };
273
273
  }
274
- }, ze = /* @__PURE__ */ fe(Ue, [["__scopeId", "data-v-4c658c06"]]);
274
+ }, ze = /* @__PURE__ */ fe(Ue, [["__scopeId", "data-v-50a2deea"]]);
275
275
  export {
276
276
  ze as default
277
277
  };
@@ -1,5 +1,5 @@
1
1
  import { defineAsyncComponent as O, inject as D, ref as N, watch as De, resolveComponent as _, resolveDirective as le, openBlock as u, createBlock as y, withCtx as K, createElementVNode as ae, createVNode as oe, createTextVNode as J, toDisplayString as A, unref as d, withDirectives as te, createElementBlock as L, Fragment as x, renderList as Q, mergeProps as v, createCommentVNode as se, resolveDynamicComponent as we, toRaw as Ne } from "vue";
2
- import { _ as ke, u as Ue, P as Pe, b as re, a as Se } from "./index-4147f9fd.js";
2
+ import { _ as ke, u as Ue, P as Pe, b as re, a as Se } from "./index-2e399e7e.js";
3
3
  import { ElNotification as Le } from "element-plus";
4
4
  import "vue-router";
5
5
  const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
@@ -11,7 +11,7 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
11
11
  },
12
12
  emits: ["update:visible", "refresh"],
13
13
  setup(k, { emit: de }) {
14
- const ie = O(() => import("./index-e2f2023d.js")), ne = O(() => import("./index-10266335.js")), ue = O(() => import("./index-8f6183e7.js")), ce = O(() => import("./index-35e3b49c.js")), { t: h } = Ue(), q = D("request"), fe = D("loadComponents"), w = D("formatDataType"), M = D("globalProps"), pe = D("stringToBoolean"), b = D("getFieldUiProps"), me = D("disposeRequestData"), X = de, p = k, R = N(!1), U = N(!1), E = N(null), P = N([]), o = N({}), j = N({}), ye = (l) => l.formColumnCol == null ? 24 : l.formColumnCol ? l.formColumnCol : 24 / l.formRow, be = (l) => ["input", "textarea"].includes(l.fieldType) ? "blur" : (["select", "multipleSelect", "datetimerange", "treeSelect", "provinceCascade"].includes(l.fieldType), "change"), he = async ({ node: l, resolve: c }, a) => {
14
+ const ie = O(() => import("./index-e2f2023d.js")), ne = O(() => import("./index-b33bb0e0.js")), ue = O(() => import("./index-4c83efe5.js")), ce = O(() => import("./index-7a82a0bc.js")), { t: h } = Ue(), q = D("request"), fe = D("loadComponents"), w = D("formatDataType"), M = D("globalProps"), pe = D("stringToBoolean"), b = D("getFieldUiProps"), me = D("disposeRequestData"), X = de, p = k, R = N(!1), U = N(!1), E = N(null), P = N([]), o = N({}), j = N({}), ye = (l) => l.formColumnCol == null ? 24 : l.formColumnCol ? l.formColumnCol : 24 / l.formRow, be = (l) => ["input", "textarea"].includes(l.fieldType) ? "blur" : (["select", "multipleSelect", "datetimerange", "treeSelect", "provinceCascade"].includes(l.fieldType), "change"), he = async ({ node: l, resolve: c }, a) => {
15
15
  const r = b(a), { label: m, value: n, children: g, isLeaf: s } = { ...re, ...r.treeProps || {} };
16
16
  if (l[s])
17
17
  return c([]);
@@ -237,8 +237,9 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
237
237
  modelValue: o.value[e.fieldKey],
238
238
  "onUpdate:modelValue": (t) => o.value[e.fieldKey] = t,
239
239
  placeholder: `${d(h)("act.inputPlaceholder")}${e.fieldName}`,
240
- clearable: ""
241
- }, { ref_for: !0 }, d(b)(e), {
240
+ clearable: "",
241
+ ref_for: !0
242
+ }, d(b)(e), {
242
243
  disabled: e.isFormDisabled
243
244
  }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : se("", !0),
244
245
  e.fieldType === "inputNumber" ? (u(), y(d(ie), v({
@@ -246,16 +247,18 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
246
247
  modelValue: o.value[e.fieldKey],
247
248
  "onUpdate:modelValue": (t) => o.value[e.fieldKey] = t,
248
249
  placeholder: `${d(h)("act.inputPlaceholder")}${e.fieldName}`,
249
- clearable: ""
250
- }, { ref_for: !0 }, d(b)(e), {
250
+ clearable: "",
251
+ ref_for: !0
252
+ }, d(b)(e), {
251
253
  disabled: e.isFormDisabled
252
254
  }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "textarea" ? (u(), y(a, v({
253
255
  key: 2,
254
256
  modelValue: o.value[e.fieldKey],
255
257
  "onUpdate:modelValue": (t) => o.value[e.fieldKey] = t,
256
258
  placeholder: `${d(h)("act.inputPlaceholder")}${e.fieldName}`,
257
- rows: 4
258
- }, { ref_for: !0 }, d(b)(e), {
259
+ rows: 4,
260
+ ref_for: !0
261
+ }, d(b)(e), {
259
262
  type: "textarea",
260
263
  disabled: e.isFormDisabled
261
264
  }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "selectIcon" ? (u(), y(d(ne), v({
@@ -263,8 +266,9 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
263
266
  modelValue: o.value[e.fieldKey],
264
267
  "onUpdate:modelValue": (t) => o.value[e.fieldKey] = t,
265
268
  icons: e.dataList,
266
- placeholder: `${d(h)("act.selectPlaceholder")}${e.fieldName}`
267
- }, { ref_for: !0 }, d(b)(e), {
269
+ placeholder: `${d(h)("act.selectPlaceholder")}${e.fieldName}`,
270
+ ref_for: !0
271
+ }, d(b)(e), {
268
272
  disabled: e.isFormDisabled
269
273
  }), {
270
274
  default: K(() => [
@@ -282,8 +286,9 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
282
286
  placeholder: `${d(h)("act.selectPlaceholder")}${e.fieldName}`,
283
287
  clearable: "",
284
288
  filterable: "",
285
- "value-key": "value"
286
- }, { ref_for: !0 }, d(b)(e), {
289
+ "value-key": "value",
290
+ ref_for: !0
291
+ }, d(b)(e), {
287
292
  multiple: e.fieldType === "multipleSelect",
288
293
  disabled: e.isFormDisabled,
289
294
  onChange: (t) => ve(t, e)
@@ -304,8 +309,9 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
304
309
  props: { ...d(Pe) },
305
310
  placeholder: `${d(h)("act.selectPlaceholder")}${e.fieldName}`,
306
311
  clearable: "",
307
- filterable: ""
308
- }, { ref_for: !0 }, d(b)(e), {
312
+ filterable: "",
313
+ ref_for: !0
314
+ }, d(b)(e), {
309
315
  disabled: e.isFormDisabled,
310
316
  multiple: e.fieldType === "virtualizedMultipleSelect",
311
317
  onChange: (t) => Ve(t, e)
@@ -322,8 +328,9 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
322
328
  multiple: "",
323
329
  "show-checkbox": "",
324
330
  clearable: "",
325
- filterable: ""
326
- }, { ref_for: !0 }, d(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "data", "default-expanded-keys", "placeholder", "props"])) : e.fieldType === "treeSelect" ? (u(), y(g, v({
331
+ filterable: "",
332
+ ref_for: !0
333
+ }, d(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "data", "default-expanded-keys", "placeholder", "props"])) : e.fieldType === "treeSelect" ? (u(), y(g, v({
327
334
  key: 7,
328
335
  modelValue: o.value[e.fieldKey],
329
336
  "onUpdate:modelValue": (t) => o.value[e.fieldKey] = t,
@@ -337,15 +344,17 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
337
344
  clearable: "",
338
345
  filterable: "",
339
346
  lazy: "",
340
- load: (t, S) => he({ node: t, resolve: S }, e)
341
- }, { ref_for: !0 }, d(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "load"])) : e.fieldType === "date" ? (u(), y(s, v({
347
+ load: (t, S) => he({ node: t, resolve: S }, e),
348
+ ref_for: !0
349
+ }, d(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "load"])) : e.fieldType === "date" ? (u(), y(s, v({
342
350
  key: 8,
343
351
  modelValue: o.value[e.fieldKey],
344
352
  "onUpdate:modelValue": (t) => o.value[e.fieldKey] = t,
345
353
  type: "date",
346
354
  placeholder: `${d(h)("act.selectPlaceholder")}${d(h)("act.time")}`,
347
- "value-format": "YYYY-MM-DD HH:mm:ss"
348
- }, { ref_for: !0 }, d(b)(e), {
355
+ "value-format": "YYYY-MM-DD HH:mm:ss",
356
+ ref_for: !0
357
+ }, d(b)(e), {
349
358
  disabled: e.isFormDisabled
350
359
  }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "dateRange" ? (u(), y(s, v({
351
360
  key: 9,
@@ -354,8 +363,9 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
354
363
  type: "daterange",
355
364
  "start-placeholder": d(h)("act.startTime"),
356
365
  "end-placeholder": d(h)("act.endTime"),
357
- "value-format": "YYYY-MM-DD HH:mm:ss"
358
- }, { ref_for: !0 }, d(b)(e), {
366
+ "value-format": "YYYY-MM-DD HH:mm:ss",
367
+ ref_for: !0
368
+ }, d(b)(e), {
359
369
  disabled: e.isFormDisabled
360
370
  }), null, 16, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "disabled"])) : e.fieldType === "provinceCascade" ? (u(), y(i, v({
361
371
  key: 10,
@@ -365,28 +375,32 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
365
375
  props: d(Se),
366
376
  clearable: "",
367
377
  filterable: "",
368
- placeholder: `${d(h)("act.selectPlaceholder")}${e.fieldName}`
369
- }, { ref_for: !0 }, d(b)(e), {
378
+ placeholder: `${d(h)("act.selectPlaceholder")}${e.fieldName}`,
379
+ ref_for: !0
380
+ }, d(b)(e), {
370
381
  disabled: e.isFormDisabled
371
382
  }), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled"])) : e.fieldType === "switch" ? (u(), y(T, v({
372
383
  key: 11,
373
384
  modelValue: o.value[e.fieldKey],
374
385
  "onUpdate:modelValue": (t) => o.value[e.fieldKey] = t,
375
386
  "active-value": !0,
376
- "inactive-value": !1
377
- }, { ref_for: !0 }, d(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue"])) : e.fieldType === "upload" ? (u(), y(d(ue), v({
387
+ "inactive-value": !1,
388
+ ref_for: !0
389
+ }, d(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue"])) : e.fieldType === "upload" ? (u(), y(d(ue), v({
378
390
  key: 12,
379
391
  class: "form-upload",
380
392
  modelValue: o.value[e.fieldKey],
381
393
  "onUpdate:modelValue": (t) => o.value[e.fieldKey] = t,
382
- request: d(q)
383
- }, { ref_for: !0 }, d(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "request"])) : e.fieldType === "editor" ? (u(), y(d(ce), v({
394
+ request: d(q),
395
+ ref_for: !0
396
+ }, d(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "request"])) : e.fieldType === "editor" ? (u(), y(d(ce), v({
384
397
  key: 13,
385
398
  modelValue: o.value[e.fieldKey],
386
399
  "onUpdate:modelValue": (t) => o.value[e.fieldKey] = t,
387
400
  disabled: e.isFormDisabled,
388
- placeholder: `${d(h)("act.inputPlaceholder")}${e.fieldName}`
389
- }, { ref_for: !0 }, d(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "placeholder"])) : se("", !0)
401
+ placeholder: `${d(h)("act.inputPlaceholder")}${e.fieldName}`,
402
+ ref_for: !0
403
+ }, d(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "placeholder"])) : se("", !0)
390
404
  ]),
391
405
  _: 2
392
406
  }, 1032, ["label", "prop", "rules"]))
@@ -407,7 +421,7 @@ const Re = { class: "no-config-field" }, $e = { class: "dialog-footer" }, Oe = {
407
421
  }, 8, ["model-value", "title", "width"]);
408
422
  };
409
423
  }
410
- }, Ee = /* @__PURE__ */ ke(Oe, [["__scopeId", "data-v-0b8b3885"]]);
424
+ }, Ee = /* @__PURE__ */ ke(Oe, [["__scopeId", "data-v-a7576826"]]);
411
425
  export {
412
426
  Ee as default
413
427
  };