el-plus-crud 0.0.48 → 0.0.49

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 (60) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/el-plus-crud.mjs +50 -49
  3. package/lib/components/el-plus-form/ElPlusFormGroup.vue +2 -0
  4. package/lib/components/el-plus-table/components/header.vue +3 -0
  5. package/package.json +1 -1
  6. package/dist/components/el-plus-form/ElPlusForm.vue.d.ts +0 -321
  7. package/dist/components/el-plus-form/ElPlusFormDialog.vue.d.ts +0 -74
  8. package/dist/components/el-plus-form/ElPlusFormGroup.vue.d.ts +0 -44
  9. package/dist/components/el-plus-form/components/ElPlusFormArea.vue.d.ts +0 -50
  10. package/dist/components/el-plus-form/components/ElPlusFormAutocomplete.vue.d.ts +0 -55
  11. package/dist/components/el-plus-form/components/ElPlusFormBtn.vue.d.ts +0 -50
  12. package/dist/components/el-plus-form/components/ElPlusFormBtns.vue.d.ts +0 -48
  13. package/dist/components/el-plus-form/components/ElPlusFormCascader.vue.d.ts +0 -50
  14. package/dist/components/el-plus-form/components/ElPlusFormCascaderPanel.vue.d.ts +0 -57
  15. package/dist/components/el-plus-form/components/ElPlusFormCheckbox.vue.d.ts +0 -50
  16. package/dist/components/el-plus-form/components/ElPlusFormCheckboxButton.vue.d.ts +0 -50
  17. package/dist/components/el-plus-form/components/ElPlusFormColor.vue.d.ts +0 -50
  18. package/dist/components/el-plus-form/components/ElPlusFormDate.vue.d.ts +0 -50
  19. package/dist/components/el-plus-form/components/ElPlusFormDaterange.vue.d.ts +0 -57
  20. package/dist/components/el-plus-form/components/ElPlusFormDatetime.vue.d.ts +0 -50
  21. package/dist/components/el-plus-form/components/ElPlusFormDatetimerange.vue.d.ts +0 -57
  22. package/dist/components/el-plus-form/components/ElPlusFormFile.vue.d.ts +0 -48
  23. package/dist/components/el-plus-form/components/ElPlusFormImage.vue.d.ts +0 -48
  24. package/dist/components/el-plus-form/components/ElPlusFormInput.vue.d.ts +0 -56
  25. package/dist/components/el-plus-form/components/ElPlusFormLink.vue.d.ts +0 -59
  26. package/dist/components/el-plus-form/components/ElPlusFormLkuser.vue.d.ts +0 -59
  27. package/dist/components/el-plus-form/components/ElPlusFormNbinput.vue.d.ts +0 -67
  28. package/dist/components/el-plus-form/components/ElPlusFormNumber.vue.d.ts +0 -63
  29. package/dist/components/el-plus-form/components/ElPlusFormPassword.vue.d.ts +0 -63
  30. package/dist/components/el-plus-form/components/ElPlusFormQuickInput.vue.d.ts +0 -57
  31. package/dist/components/el-plus-form/components/ElPlusFormRadio.vue.d.ts +0 -50
  32. package/dist/components/el-plus-form/components/ElPlusFormRate.vue.d.ts +0 -51
  33. package/dist/components/el-plus-form/components/ElPlusFormSelect.vue.d.ts +0 -62
  34. package/dist/components/el-plus-form/components/ElPlusFormSlider.vue.d.ts +0 -50
  35. package/dist/components/el-plus-form/components/ElPlusFormStatus.vue.d.ts +0 -44
  36. package/dist/components/el-plus-form/components/ElPlusFormSwitch.vue.d.ts +0 -56
  37. package/dist/components/el-plus-form/components/ElPlusFormTag.vue.d.ts +0 -48
  38. package/dist/components/el-plus-form/components/ElPlusFormText.vue.d.ts +0 -48
  39. package/dist/components/el-plus-form/components/ElPlusFormTextarea.vue.d.ts +0 -57
  40. package/dist/components/el-plus-form/components/ElPlusFormTransfer.vue.d.ts +0 -63
  41. package/dist/components/el-plus-form/components/ElPlusFormTree.vue.d.ts +0 -56
  42. package/dist/components/el-plus-form/components/ElPlusFormTreeSelect.vue.d.ts +0 -56
  43. package/dist/components/el-plus-form/components/ElPlusFormUpload.vue.d.ts +0 -57
  44. package/dist/components/el-plus-form/components/components/file-icons/FileIcons.vue.d.ts +0 -42
  45. package/dist/components/el-plus-form/components/components/file-icons/data/index.d.ts +0 -15
  46. package/dist/components/el-plus-form/components/index.d.ts +0 -3
  47. package/dist/components/el-plus-form/data/file.d.ts +0 -63
  48. package/dist/components/el-plus-form/mixins/index.d.ts +0 -28
  49. package/dist/components/el-plus-form/util/index.d.ts +0 -47
  50. package/dist/components/el-plus-form/util/validate.d.ts +0 -268
  51. package/dist/components/el-plus-table/ElPlusTable.vue.d.ts +0 -157
  52. package/dist/components/el-plus-table/components/columnItem.vue.d.ts +0 -42
  53. package/dist/components/el-plus-table/components/header.vue.d.ts +0 -98
  54. package/dist/components/el-plus-table/components/settingColumn.vue.d.ts +0 -41
  55. package/dist/components/el-plus-table/util/index.d.ts +0 -26
  56. package/dist/components-list.d.ts +0 -2
  57. package/dist/config/index.d.ts +0 -2
  58. package/dist/el-plus-crud.umd.js +0 -27
  59. package/dist/index.d.ts +0 -9
  60. package/dist/style.css +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.0.49](https://github.com/KDJack/el-plus-crud/compare/v0.0.48...v0.0.49) (2023-08-18)
6
+
5
7
  ### [0.0.48](https://github.com/KDJack/el-plus-crud/compare/v0.0.47...v0.0.48) (2023-08-18)
6
8
 
7
9
  ### [0.0.47](https://github.com/KDJack/el-plus-crud/compare/v0.0.46...v0.0.47) (2023-08-17)
@@ -1,4 +1,4 @@
1
- import { defineComponent as fe, inject as Ge, ref as _, onBeforeMount as Oe, useAttrs as Le, onMounted as cn, resolveComponent as V, openBlock as h, createBlock as R, mergeProps as le, toHandlers as Te, createCommentVNode as ee, useSlots as Mn, createSlots as en, withCtx as P, renderSlot as $e, renderList as Ye, computed as Ie, watch as Fe, createVNode as oe, createTextVNode as Be, toDisplayString as Ce, createElementBlock as Q, normalizeStyle as Dt, Fragment as ve, createElementVNode as Ae, reactive as Xe, normalizeClass as On, unref as yt, pushScopeId as ho, popScopeId as vo, nextTick as St, withModifiers as tj, resolveDynamicComponent as wo, normalizeProps as nj, resolveDirective as lj, isRef as rj, withDirectives as uj } from "vue";
1
+ import { defineComponent as fe, inject as Ge, ref as _, onBeforeMount as Oe, useAttrs as Le, onMounted as cn, resolveComponent as V, openBlock as h, createBlock as R, mergeProps as le, toHandlers as Te, createCommentVNode as ee, useSlots as Mn, createSlots as en, withCtx as P, renderSlot as Je, renderList as Ye, computed as Ie, watch as Fe, createVNode as oe, createTextVNode as Be, toDisplayString as Ce, createElementBlock as Q, normalizeStyle as Dt, Fragment as ve, createElementVNode as Ae, reactive as Xe, normalizeClass as On, unref as yt, pushScopeId as ho, popScopeId as vo, nextTick as St, withModifiers as tj, resolveDynamicComponent as wo, normalizeProps as nj, resolveDirective as lj, isRef as rj, withDirectives as uj } from "vue";
2
2
  import { ElMessageBox as sj, ElMessage as Gn } from "element-plus";
3
3
  const Se = async (d, i) => {
4
4
  var s, y, N, m;
@@ -129,14 +129,14 @@ const He = (d, i) => {
129
129
  "onUpdate:modelValue": f[0] || (f[0] = (v) => s.value = v)
130
130
  }), en({
131
131
  default: P((v) => [
132
- $e(D.$slots, "default", { data: v }, void 0, !0)
132
+ Je(D.$slots, "default", { data: v }, void 0, !0)
133
133
  ]),
134
134
  _: 2
135
135
  }, [
136
136
  Ye(y.value, (v, p, L) => ({
137
137
  name: p,
138
138
  fn: P((O) => [
139
- $e(D.$slots, p, { data: O }, void 0, !0)
139
+ Je(D.$slots, p, { data: O }, void 0, !0)
140
140
  ])
141
141
  }))
142
142
  ]), 1040, ["modelValue"]);
@@ -725,7 +725,7 @@ jr.exports;
725
725
  function e() {
726
726
  }
727
727
  return function(t) {
728
- if (!Je(t))
728
+ if (!$e(t))
729
729
  return {};
730
730
  if (As)
731
731
  return As(t);
@@ -1015,7 +1015,7 @@ jr.exports;
1015
1015
  var M, g = t & p, z = t & L, b = t & O;
1016
1016
  if (n && (M = u ? n(e, r, u, a) : n(e)), M !== l)
1017
1017
  return M;
1018
- if (!Je(e))
1018
+ if (!$e(e))
1019
1019
  return e;
1020
1020
  var C = de(e);
1021
1021
  if (C) {
@@ -1254,7 +1254,7 @@ jr.exports;
1254
1254
  return !0;
1255
1255
  }
1256
1256
  function Vs(e) {
1257
- if (!Je(e) || Of(e))
1257
+ if (!$e(e) || Of(e))
1258
1258
  return !1;
1259
1259
  var t = yn(e) ? qc : Va;
1260
1260
  return t.test(Rn(e));
@@ -1280,7 +1280,7 @@ jr.exports;
1280
1280
  return t;
1281
1281
  }
1282
1282
  function nf(e) {
1283
- if (!Je(e))
1283
+ if (!$e(e))
1284
1284
  return Uf(e);
1285
1285
  var t = ml(e), n = [];
1286
1286
  for (var r in e)
@@ -1310,7 +1310,7 @@ jr.exports;
1310
1310
  }
1311
1311
  function ql(e, t, n, r, u) {
1312
1312
  e !== t && Wr(t, function(a, M) {
1313
- if (u || (u = new $t()), Je(a))
1313
+ if (u || (u = new $t()), $e(a))
1314
1314
  lf(e, t, M, n, ql, r, u);
1315
1315
  else {
1316
1316
  var g = r ? r(pu(e, M), a, M + "", e, t, u) : l;
@@ -1327,7 +1327,7 @@ jr.exports;
1327
1327
  var C = a ? a(g, z, n + "", e, t, M) : l, S = C === l;
1328
1328
  if (S) {
1329
1329
  var G = de(z), q = !G && Cn(z), se = !G && !q && sl(z);
1330
- C = z, G || q || se ? de(g) ? C = g : nt(g) ? C = At(g) : q ? (S = !1, C = ri(z, !0)) : se ? (S = !1, C = ui(z, !0)) : C = [] : vl(z) || Wn(z) ? (C = g, Wn(g) ? C = to(g) : (!Je(g) || yn(g)) && (C = hi(z))) : S = !1;
1330
+ C = z, G || q || se ? de(g) ? C = g : nt(g) ? C = At(g) : q ? (S = !1, C = ri(z, !0)) : se ? (S = !1, C = ui(z, !0)) : C = [] : vl(z) || Wn(z) ? (C = g, Wn(g) ? C = to(g) : (!$e(g) || yn(g)) && (C = hi(z))) : S = !1;
1331
1331
  }
1332
1332
  S && (M.set(z, C), u(C, z, r, a, M), M.delete(z)), Fr(e, n, C);
1333
1333
  }
@@ -1416,7 +1416,7 @@ jr.exports;
1416
1416
  return or(n, Qn(t, 0, n.length));
1417
1417
  }
1418
1418
  function Dl(e, t, n, r) {
1419
- if (!Je(e))
1419
+ if (!$e(e))
1420
1420
  return e;
1421
1421
  t = xn(t, e);
1422
1422
  for (var u = -1, a = t.length, M = a - 1, g = e; g != null && ++u < a; ) {
@@ -1425,7 +1425,7 @@ jr.exports;
1425
1425
  return e;
1426
1426
  if (u != M) {
1427
1427
  var C = g[z];
1428
- b = r ? r(C, z, g) : l, b === l && (b = Je(C) ? C : zn(t[u + 1]) ? [] : {});
1428
+ b = r ? r(C, z, g) : l, b === l && (b = $e(C) ? C : zn(t[u + 1]) ? [] : {});
1429
1429
  }
1430
1430
  pl(g, z, b), g = g[z];
1431
1431
  }
@@ -1745,7 +1745,7 @@ jr.exports;
1745
1745
  return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6]);
1746
1746
  }
1747
1747
  var n = nl(e.prototype), r = e.apply(n, t);
1748
- return Je(r) ? r : n;
1748
+ return $e(r) ? r : n;
1749
1749
  };
1750
1750
  }
1751
1751
  function _f(e, t, n) {
@@ -1962,7 +1962,7 @@ jr.exports;
1962
1962
  return e === l || qt(e, Xn[n]) && !ke.call(r, n) ? t : e;
1963
1963
  }
1964
1964
  function yi(e, t, n, r, u, a) {
1965
- return Je(e) && Je(t) && (a.set(t, e), ql(e, t, l, yi, a), a.delete(t)), e;
1965
+ return $e(e) && $e(t) && (a.set(t, e), ql(e, t, l, yi, a), a.delete(t)), e;
1966
1966
  }
1967
1967
  function vf(e) {
1968
1968
  return vl(e) ? l : e;
@@ -2236,7 +2236,7 @@ jr.exports;
2236
2236
  return t = t ?? x, !!t && (n == "number" || n != "symbol" && Ra.test(e)) && e > -1 && e % 1 == 0 && e < t;
2237
2237
  }
2238
2238
  function ht(e, t, n) {
2239
- if (!Je(n))
2239
+ if (!$e(n))
2240
2240
  return !1;
2241
2241
  var r = typeof t;
2242
2242
  return (r == "number" ? Yt(n) && zn(t, n.length) : r == "string" && t in n) ? qt(n[t], e) : !1;
@@ -2269,7 +2269,7 @@ jr.exports;
2269
2269
  return e === n;
2270
2270
  }
2271
2271
  function vi(e) {
2272
- return e === e && !Je(e);
2272
+ return e === e && !$e(e);
2273
2273
  }
2274
2274
  function wi(e, t) {
2275
2275
  return function(n) {
@@ -2872,7 +2872,7 @@ jr.exports;
2872
2872
  var r, u, a, M, g, z, b = 0, C = !1, S = !1, G = !0;
2873
2873
  if (typeof e != "function")
2874
2874
  throw new Pt(m);
2875
- t = Wt(t) || 0, Je(n) && (C = !!n.leading, S = "maxWait" in n, a = S ? it(Wt(n.maxWait) || 0, t) : a, G = "trailing" in n ? !!n.trailing : G);
2875
+ t = Wt(t) || 0, $e(n) && (C = !!n.leading, S = "maxWait" in n, a = S ? it(Wt(n.maxWait) || 0, t) : a, G = "trailing" in n ? !!n.trailing : G);
2876
2876
  function q(lt) {
2877
2877
  var Xt = r, _n = u;
2878
2878
  return r = u = l, b = lt, M = e.apply(_n, Xt), M;
@@ -2991,7 +2991,7 @@ jr.exports;
2991
2991
  var r = !0, u = !0;
2992
2992
  if (typeof e != "function")
2993
2993
  throw new Pt(m);
2994
- return Je(n) && (r = "leading" in n ? !!n.leading : r, u = "trailing" in n ? !!n.trailing : u), Zi(e, t, {
2994
+ return $e(n) && (r = "leading" in n ? !!n.leading : r, u = "trailing" in n ? !!n.trailing : u), Zi(e, t, {
2995
2995
  leading: r,
2996
2996
  maxWait: t,
2997
2997
  trailing: u
@@ -3080,7 +3080,7 @@ jr.exports;
3080
3080
  return typeof e == "number" && Ls(e);
3081
3081
  }
3082
3082
  function yn(e) {
3083
- if (!Je(e))
3083
+ if (!$e(e))
3084
3084
  return !1;
3085
3085
  var t = mt(e);
3086
3086
  return t == fn || t == Sn || t == ot || t == et;
@@ -3091,7 +3091,7 @@ jr.exports;
3091
3091
  function gr(e) {
3092
3092
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= x;
3093
3093
  }
3094
- function Je(e) {
3094
+ function $e(e) {
3095
3095
  var t = typeof e;
3096
3096
  return e != null && (t == "object" || t == "function");
3097
3097
  }
@@ -3186,9 +3186,9 @@ jr.exports;
3186
3186
  return e;
3187
3187
  if (bt(e))
3188
3188
  return ae;
3189
- if (Je(e)) {
3189
+ if ($e(e)) {
3190
3190
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
3191
- e = Je(t) ? t + "" : t;
3191
+ e = $e(t) ? t + "" : t;
3192
3192
  }
3193
3193
  if (typeof e != "string")
3194
3194
  return e === 0 ? e : +e;
@@ -3344,7 +3344,7 @@ jr.exports;
3344
3344
  var r = de(e), u = r || Cn(e) || sl(e);
3345
3345
  if (t = ue(t, 4), n == null) {
3346
3346
  var a = e && e.constructor;
3347
- u ? n = r ? new a() : [] : Je(e) ? n = yn(a) ? nl(Ql(e)) : {} : n = {};
3347
+ u ? n = r ? new a() : [] : $e(e) ? n = yn(a) ? nl(Ql(e)) : {} : n = {};
3348
3348
  }
3349
3349
  return (u ? Ut : sn)(e, function(M, g, z) {
3350
3350
  return t(n, M, g, z);
@@ -3521,7 +3521,7 @@ function print() { __p += __j.call(arguments, '') }
3521
3521
  }
3522
3522
  function dp(e, t) {
3523
3523
  var n = Pe, r = _t;
3524
- if (Je(t)) {
3524
+ if ($e(t)) {
3525
3525
  var u = "separator" in t ? t.separator : u;
3526
3526
  n = "length" in t ? ge(t.length) : n, r = "omission" in t ? xt(t.omission) : r;
3527
3527
  }
@@ -3621,8 +3621,8 @@ function print() { __p += __j.call(arguments, '') }
3621
3621
  });
3622
3622
  function Lu(e, t, n) {
3623
3623
  var r = at(t), u = $l(t, r);
3624
- n == null && !(Je(t) && (u.length || !r.length)) && (n = t, t = e, e = this, u = $l(t, at(t)));
3625
- var a = !(Je(n) && "chain" in n) || !!n.chain, M = yn(e);
3624
+ n == null && !($e(t) && (u.length || !r.length)) && (n = t, t = e, e = this, u = $l(t, at(t)));
3625
+ var a = !($e(n) && "chain" in n) || !!n.chain, M = yn(e);
3626
3626
  return Ut(u, function(g) {
3627
3627
  var z = t[g];
3628
3628
  e[g] = z, M && (e.prototype[g] = function() {
@@ -3720,7 +3720,7 @@ function print() { __p += __j.call(arguments, '') }
3720
3720
  function ej(e, t) {
3721
3721
  return e && e.length ? Or(e, ue(t, 2)) : 0;
3722
3722
  }
3723
- return o.after = mg, o.ary = Vi, o.assign = aN, o.assignIn = no, o.assignInWith = pr, o.assignWith = cN, o.at = MN, o.before = Fi, o.bind = Du, o.bindAll = pp, o.bindKey = Ri, o.castArray = Cg, o.chain = Ui, o.chunk = Ff, o.compact = Rf, o.concat = Wf, o.cond = jp, o.conforms = zp, o.constant = Yu, o.countBy = Xd, o.create = fN, o.curry = Wi, o.curryRight = Gi, o.debounce = Zi, o.defaults = dN, o.defaultsDeep = gN, o.defer = hg, o.delay = vg, o.difference = Gf, o.differenceBy = Zf, o.differenceWith = Hf, o.drop = Kf, o.dropRight = Jf, o.dropRightWhile = $f, o.dropWhile = qf, o.fill = Xf, o.filter = tg, o.flatMap = rg, o.flatMapDeep = ug, o.flatMapDepth = sg, o.flatten = Oi, o.flattenDeep = ed, o.flattenDepth = td, o.flip = wg, o.flow = Dp, o.flowRight = _p, o.fromPairs = nd, o.functions = _N, o.functionsIn = mN, o.groupBy = ig, o.initial = rd, o.intersection = ud, o.intersectionBy = sd, o.intersectionWith = id, o.invert = vN, o.invertBy = wN, o.invokeMap = ag, o.iteratee = Iu, o.keyBy = cg, o.keys = at, o.keysIn = It, o.map = cr, o.mapKeys = YN, o.mapValues = IN, o.matches = mp, o.matchesProperty = hp, o.memoize = fr, o.merge = LN, o.mergeWith = lo, o.method = vp, o.methodOf = wp, o.mixin = Lu, o.negate = dr, o.nthArg = Yp, o.omit = TN, o.omitBy = EN, o.once = Ag, o.orderBy = Mg, o.over = Ip, o.overArgs = Yg, o.overEvery = Lp, o.overSome = Tp, o.partial = _u, o.partialRight = Hi, o.partition = fg, o.pick = xN, o.pickBy = ro, o.property = Mo, o.propertyOf = Ep, o.pull = Md, o.pullAll = ki, o.pullAllBy = fd, o.pullAllWith = dd, o.pullAt = gd, o.range = xp, o.rangeRight = bp, o.rearg = Ig, o.reject = Ng, o.remove = Nd, o.rest = Lg, o.reverse = zu, o.sampleSize = jg, o.set = CN, o.setWith = ON, o.shuffle = zg, o.slice = pd, o.sortBy = _g, o.sortedUniq = hd, o.sortedUniqBy = vd, o.split = rp, o.spread = Tg, o.tail = wd, o.take = Ad, o.takeRight = Yd, o.takeRightWhile = Id, o.takeWhile = Ld, o.tap = Rd, o.throttle = Eg, o.thru = ar, o.toArray = Xi, o.toPairs = uo, o.toPairsIn = so, o.toPath = Bp, o.toPlainObject = to, o.transform = SN, o.unary = xg, o.union = Td, o.unionBy = Ed, o.unionWith = xd, o.uniq = bd, o.uniqBy = Cd, o.uniqWith = Od, o.unset = kN, o.unzip = yu, o.unzipWith = Bi, o.update = BN, o.updateWith = UN, o.values = il, o.valuesIn = PN, o.without = Sd, o.words = ao, o.wrap = bg, o.xor = kd, o.xorBy = Bd, o.xorWith = Ud, o.zip = Pd, o.zipObject = Qd, o.zipObjectDeep = Vd, o.zipWith = Fd, o.entries = uo, o.entriesIn = so, o.extend = no, o.extendWith = pr, Lu(o, o), o.add = Pp, o.attempt = co, o.camelCase = RN, o.capitalize = io, o.ceil = Qp, o.clamp = QN, o.clone = Og, o.cloneDeep = kg, o.cloneDeepWith = Bg, o.cloneWith = Sg, o.conformsTo = Ug, o.deburr = oo, o.defaultTo = yp, o.divide = Vp, o.endsWith = WN, o.eq = qt, o.escape = GN, o.escapeRegExp = ZN, o.every = eg, o.find = ng, o.findIndex = bi, o.findKey = NN, o.findLast = lg, o.findLastIndex = Ci, o.findLastKey = pN, o.floor = Fp, o.forEach = Pi, o.forEachRight = Qi, o.forIn = jN, o.forInRight = zN, o.forOwn = yN, o.forOwnRight = DN, o.get = vu, o.gt = Pg, o.gte = Qg, o.has = hN, o.hasIn = wu, o.head = Si, o.identity = Lt, o.includes = og, o.indexOf = ld, o.inRange = VN, o.invoke = AN, o.isArguments = Wn, o.isArray = de, o.isArrayBuffer = Vg, o.isArrayLike = Yt, o.isArrayLikeObject = nt, o.isBoolean = Fg, o.isBuffer = Cn, o.isDate = Rg, o.isElement = Wg, o.isEmpty = Gg, o.isEqual = Zg, o.isEqualWith = Hg, o.isError = mu, o.isFinite = Kg, o.isFunction = yn, o.isInteger = Ki, o.isLength = gr, o.isMap = Ji, o.isMatch = Jg, o.isMatchWith = $g, o.isNaN = qg, o.isNative = Xg, o.isNil = tN, o.isNull = eN, o.isNumber = $i, o.isObject = Je, o.isObjectLike = qe, o.isPlainObject = vl, o.isRegExp = hu, o.isSafeInteger = nN, o.isSet = qi, o.isString = Nr, o.isSymbol = bt, o.isTypedArray = sl, o.isUndefined = lN, o.isWeakMap = rN, o.isWeakSet = uN, o.join = od, o.kebabCase = HN, o.last = Rt, o.lastIndexOf = ad, o.lowerCase = KN, o.lowerFirst = JN, o.lt = sN, o.lte = iN, o.max = Rp, o.maxBy = Wp, o.mean = Gp, o.meanBy = Zp, o.min = Hp, o.minBy = Kp, o.stubArray = Eu, o.stubFalse = xu, o.stubObject = Cp, o.stubString = Op, o.stubTrue = Sp, o.multiply = Jp, o.nth = cd, o.noConflict = Ap, o.noop = Tu, o.now = Mr, o.pad = $N, o.padEnd = qN, o.padStart = XN, o.parseInt = ep, o.random = FN, o.reduce = dg, o.reduceRight = gg, o.repeat = tp, o.replace = np, o.result = bN, o.round = $p, o.runInContext = j, o.sample = pg, o.size = yg, o.snakeCase = lp, o.some = Dg, o.sortedIndex = jd, o.sortedIndexBy = zd, o.sortedIndexOf = yd, o.sortedLastIndex = Dd, o.sortedLastIndexBy = _d, o.sortedLastIndexOf = md, o.startCase = up, o.startsWith = sp, o.subtract = qp, o.sum = Xp, o.sumBy = ej, o.template = ip, o.times = kp, o.toFinite = Dn, o.toInteger = ge, o.toLength = eo, o.toLower = op, o.toNumber = Wt, o.toSafeInteger = oN, o.toString = be, o.toUpper = ap, o.trim = cp, o.trimEnd = Mp, o.trimStart = fp, o.truncate = dp, o.unescape = gp, o.uniqueId = Up, o.upperCase = Np, o.upperFirst = Au, o.each = Pi, o.eachRight = Qi, o.first = Si, Lu(o, function() {
3723
+ return o.after = mg, o.ary = Vi, o.assign = aN, o.assignIn = no, o.assignInWith = pr, o.assignWith = cN, o.at = MN, o.before = Fi, o.bind = Du, o.bindAll = pp, o.bindKey = Ri, o.castArray = Cg, o.chain = Ui, o.chunk = Ff, o.compact = Rf, o.concat = Wf, o.cond = jp, o.conforms = zp, o.constant = Yu, o.countBy = Xd, o.create = fN, o.curry = Wi, o.curryRight = Gi, o.debounce = Zi, o.defaults = dN, o.defaultsDeep = gN, o.defer = hg, o.delay = vg, o.difference = Gf, o.differenceBy = Zf, o.differenceWith = Hf, o.drop = Kf, o.dropRight = Jf, o.dropRightWhile = $f, o.dropWhile = qf, o.fill = Xf, o.filter = tg, o.flatMap = rg, o.flatMapDeep = ug, o.flatMapDepth = sg, o.flatten = Oi, o.flattenDeep = ed, o.flattenDepth = td, o.flip = wg, o.flow = Dp, o.flowRight = _p, o.fromPairs = nd, o.functions = _N, o.functionsIn = mN, o.groupBy = ig, o.initial = rd, o.intersection = ud, o.intersectionBy = sd, o.intersectionWith = id, o.invert = vN, o.invertBy = wN, o.invokeMap = ag, o.iteratee = Iu, o.keyBy = cg, o.keys = at, o.keysIn = It, o.map = cr, o.mapKeys = YN, o.mapValues = IN, o.matches = mp, o.matchesProperty = hp, o.memoize = fr, o.merge = LN, o.mergeWith = lo, o.method = vp, o.methodOf = wp, o.mixin = Lu, o.negate = dr, o.nthArg = Yp, o.omit = TN, o.omitBy = EN, o.once = Ag, o.orderBy = Mg, o.over = Ip, o.overArgs = Yg, o.overEvery = Lp, o.overSome = Tp, o.partial = _u, o.partialRight = Hi, o.partition = fg, o.pick = xN, o.pickBy = ro, o.property = Mo, o.propertyOf = Ep, o.pull = Md, o.pullAll = ki, o.pullAllBy = fd, o.pullAllWith = dd, o.pullAt = gd, o.range = xp, o.rangeRight = bp, o.rearg = Ig, o.reject = Ng, o.remove = Nd, o.rest = Lg, o.reverse = zu, o.sampleSize = jg, o.set = CN, o.setWith = ON, o.shuffle = zg, o.slice = pd, o.sortBy = _g, o.sortedUniq = hd, o.sortedUniqBy = vd, o.split = rp, o.spread = Tg, o.tail = wd, o.take = Ad, o.takeRight = Yd, o.takeRightWhile = Id, o.takeWhile = Ld, o.tap = Rd, o.throttle = Eg, o.thru = ar, o.toArray = Xi, o.toPairs = uo, o.toPairsIn = so, o.toPath = Bp, o.toPlainObject = to, o.transform = SN, o.unary = xg, o.union = Td, o.unionBy = Ed, o.unionWith = xd, o.uniq = bd, o.uniqBy = Cd, o.uniqWith = Od, o.unset = kN, o.unzip = yu, o.unzipWith = Bi, o.update = BN, o.updateWith = UN, o.values = il, o.valuesIn = PN, o.without = Sd, o.words = ao, o.wrap = bg, o.xor = kd, o.xorBy = Bd, o.xorWith = Ud, o.zip = Pd, o.zipObject = Qd, o.zipObjectDeep = Vd, o.zipWith = Fd, o.entries = uo, o.entriesIn = so, o.extend = no, o.extendWith = pr, Lu(o, o), o.add = Pp, o.attempt = co, o.camelCase = RN, o.capitalize = io, o.ceil = Qp, o.clamp = QN, o.clone = Og, o.cloneDeep = kg, o.cloneDeepWith = Bg, o.cloneWith = Sg, o.conformsTo = Ug, o.deburr = oo, o.defaultTo = yp, o.divide = Vp, o.endsWith = WN, o.eq = qt, o.escape = GN, o.escapeRegExp = ZN, o.every = eg, o.find = ng, o.findIndex = bi, o.findKey = NN, o.findLast = lg, o.findLastIndex = Ci, o.findLastKey = pN, o.floor = Fp, o.forEach = Pi, o.forEachRight = Qi, o.forIn = jN, o.forInRight = zN, o.forOwn = yN, o.forOwnRight = DN, o.get = vu, o.gt = Pg, o.gte = Qg, o.has = hN, o.hasIn = wu, o.head = Si, o.identity = Lt, o.includes = og, o.indexOf = ld, o.inRange = VN, o.invoke = AN, o.isArguments = Wn, o.isArray = de, o.isArrayBuffer = Vg, o.isArrayLike = Yt, o.isArrayLikeObject = nt, o.isBoolean = Fg, o.isBuffer = Cn, o.isDate = Rg, o.isElement = Wg, o.isEmpty = Gg, o.isEqual = Zg, o.isEqualWith = Hg, o.isError = mu, o.isFinite = Kg, o.isFunction = yn, o.isInteger = Ki, o.isLength = gr, o.isMap = Ji, o.isMatch = Jg, o.isMatchWith = $g, o.isNaN = qg, o.isNative = Xg, o.isNil = tN, o.isNull = eN, o.isNumber = $i, o.isObject = $e, o.isObjectLike = qe, o.isPlainObject = vl, o.isRegExp = hu, o.isSafeInteger = nN, o.isSet = qi, o.isString = Nr, o.isSymbol = bt, o.isTypedArray = sl, o.isUndefined = lN, o.isWeakMap = rN, o.isWeakSet = uN, o.join = od, o.kebabCase = HN, o.last = Rt, o.lastIndexOf = ad, o.lowerCase = KN, o.lowerFirst = JN, o.lt = sN, o.lte = iN, o.max = Rp, o.maxBy = Wp, o.mean = Gp, o.meanBy = Zp, o.min = Hp, o.minBy = Kp, o.stubArray = Eu, o.stubFalse = xu, o.stubObject = Cp, o.stubString = Op, o.stubTrue = Sp, o.multiply = Jp, o.nth = cd, o.noConflict = Ap, o.noop = Tu, o.now = Mr, o.pad = $N, o.padEnd = qN, o.padStart = XN, o.parseInt = ep, o.random = FN, o.reduce = dg, o.reduceRight = gg, o.repeat = tp, o.replace = np, o.result = bN, o.round = $p, o.runInContext = j, o.sample = pg, o.size = yg, o.snakeCase = lp, o.some = Dg, o.sortedIndex = jd, o.sortedIndexBy = zd, o.sortedIndexOf = yd, o.sortedLastIndex = Dd, o.sortedLastIndexBy = _d, o.sortedLastIndexOf = md, o.startCase = up, o.startsWith = sp, o.subtract = qp, o.sum = Xp, o.sumBy = ej, o.template = ip, o.times = kp, o.toFinite = Dn, o.toInteger = ge, o.toLength = eo, o.toLower = op, o.toNumber = Wt, o.toSafeInteger = oN, o.toString = be, o.toUpper = ap, o.trim = cp, o.trimEnd = Mp, o.trimStart = fp, o.truncate = dp, o.unescape = gp, o.uniqueId = Up, o.upperCase = Np, o.upperFirst = Au, o.each = Pi, o.eachRight = Qi, o.first = Si, Lu(o, function() {
3724
3724
  var e = {};
3725
3725
  return sn(o, function(t, n) {
3726
3726
  ke.call(o.prototype, n) || (e[n] = t);
@@ -4099,7 +4099,7 @@ const Lo = /* @__PURE__ */ He(Dj, [["__scopeId", "data-v-9b99eaa1"]]), _j = /* @
4099
4099
  Ye(y.value, (p, L, O) => ({
4100
4100
  name: L,
4101
4101
  fn: P((A) => [
4102
- $e(f.$slots, L, { data: A }, void 0, !0)
4102
+ Je(f.$slots, L, { data: A }, void 0, !0)
4103
4103
  ])
4104
4104
  }))
4105
4105
  ]), 1040, ["options", "disabled", "modelValue"])) : ee("", !0);
@@ -4293,7 +4293,7 @@ const Co = /* @__PURE__ */ He(Oj, [["__scopeId", "data-v-447004b8"]]), Sj = /* @
4293
4293
  Ye(y.value, (p, L, O) => ({
4294
4294
  name: L,
4295
4295
  fn: P((A) => [
4296
- $e(f.$slots, L, { data: A }, void 0, !0)
4296
+ Je(f.$slots, L, { data: A }, void 0, !0)
4297
4297
  ])
4298
4298
  }))
4299
4299
  ]), 1040, ["modelValue", "disabled"])) : ee("", !0);
@@ -4365,7 +4365,7 @@ const So = /* @__PURE__ */ He(Qj, [["__scopeId", "data-v-a125c84d"]]), Vj = /* @
4365
4365
  Ye(y.value, (p, L, O) => ({
4366
4366
  name: L,
4367
4367
  fn: P((A) => [
4368
- $e(f.$slots, L, { data: A }, void 0, !0)
4368
+ Je(f.$slots, L, { data: A }, void 0, !0)
4369
4369
  ])
4370
4370
  }))
4371
4371
  ]), 1040, ["modelValue", "disabled"])) : ee("", !0);
@@ -4593,7 +4593,7 @@ const Nz = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4593
4593
  Ye(y.value, (L, O, A) => ({
4594
4594
  name: O,
4595
4595
  fn: P(() => [
4596
- $e(c.$slots, O)
4596
+ Je(c.$slots, O)
4597
4597
  ])
4598
4598
  }))
4599
4599
  ]), 1040, ["disabled", "modelValue"])) : ee("", !0);
@@ -5250,7 +5250,7 @@ const Vo = /* @__PURE__ */ He(f2, [["__scopeId", "data-v-ec5c3bb5"]]), d2 = /* @
5250
5250
  Ye(y.value, (p, L, O) => ({
5251
5251
  name: L,
5252
5252
  fn: P(() => [
5253
- $e(f.$slots, L)
5253
+ Je(f.$slots, L)
5254
5254
  ])
5255
5255
  })),
5256
5256
  f.desc.rtext ? {
@@ -5373,7 +5373,7 @@ const Ro = /* @__PURE__ */ He(j2, [["__scopeId", "data-v-c29974cb"]]), z2 = /* @
5373
5373
  Ye(N.value, (L, O, A) => ({
5374
5374
  name: O,
5375
5375
  fn: P((k) => [
5376
- $e(c.$slots, O, { data: k })
5376
+ Je(c.$slots, O, { data: k })
5377
5377
  ])
5378
5378
  }))
5379
5379
  ]), 1040, ["class", "modelValue", "disabled"])) : ee("", !0);
@@ -5896,7 +5896,7 @@ const ea = /* @__PURE__ */ He(H2, [["__scopeId", "data-v-7ff94e29"]]), K2 = /* @
5896
5896
  Ye(y.value, (v, p, L) => ({
5897
5897
  name: p,
5898
5898
  fn: P((O) => [
5899
- $e(D.$slots, p, { data: O }, void 0, !0)
5899
+ Je(D.$slots, p, { data: O }, void 0, !0)
5900
5900
  ])
5901
5901
  }))
5902
5902
  ]), 1040, ["class", "data", "style", "modelValue", "disabled"]);
@@ -6575,7 +6575,7 @@ const eD = ["innerHTML"], tD = {
6575
6575
  return h(), Q("div", {
6576
6576
  style: Dt(A.value)
6577
6577
  }, [
6578
- $e(I.$slots, "top", {
6578
+ Je(I.$slots, "top", {
6579
6579
  formData: s.modelValue
6580
6580
  }),
6581
6581
  Ae("div", {
@@ -6649,28 +6649,28 @@ const eD = ["innerHTML"], tD = {
6649
6649
  ]),
6650
6650
  _: 2
6651
6651
  }, 1032, ["style"]))), 128)),
6652
- $e(I.$slots, "row")
6652
+ Je(I.$slots, "row")
6653
6653
  ]),
6654
6654
  _: 3
6655
6655
  }, 16, ["model", "onSubmit"])
6656
6656
  ], 4),
6657
- $e(I.$slots, "default"),
6657
+ Je(I.$slots, "default"),
6658
6658
  oe(W, null, {
6659
6659
  default: P(() => [
6660
- $e(I.$slots, "form-btn", {
6660
+ Je(I.$slots, "form-btn", {
6661
6661
  data: s.modelValue
6662
6662
  }, () => [
6663
6663
  ce.value && ce.value.length > 0 ? (h(), Q("div", tD, [
6664
6664
  (h(!0), Q(ve, null, Ye(ce.value, (te, ne) => (h(), R(mn, nj(le({ key: ne }, te)), null, 16))), 128))
6665
6665
  ])) : ee("", !0)
6666
6666
  ]),
6667
- $e(I.$slots, "bottom", {
6667
+ Je(I.$slots, "bottom", {
6668
6668
  formData: s.modelValue
6669
6669
  })
6670
6670
  ]),
6671
6671
  _: 3
6672
6672
  }),
6673
- $e(I.$slots, "form-footer", {
6673
+ Je(I.$slots, "form-footer", {
6674
6674
  formData: s.modelValue
6675
6675
  })
6676
6676
  ], 4);
@@ -6724,7 +6724,7 @@ const lD = {
6724
6724
  title: s.title
6725
6725
  }, k, { onClosed: Z }), {
6726
6726
  header: P(() => [
6727
- $e(J.$slots, "header")
6727
+ Je(J.$slots, "header")
6728
6728
  ]),
6729
6729
  default: P(() => [
6730
6730
  oe(ku, le({
@@ -6739,10 +6739,10 @@ const lD = {
6739
6739
  onCancel: ce[1] || (ce[1] = (Y) => N.value = !1)
6740
6740
  }), {
6741
6741
  top: P(() => [
6742
- $e(J.$slots, "top")
6742
+ Je(J.$slots, "top")
6743
6743
  ]),
6744
6744
  default: P(() => [
6745
- $e(J.$slots, "default")
6745
+ Je(J.$slots, "default")
6746
6746
  ]),
6747
6747
  _: 3
6748
6748
  }, 16, ["modelValue"])
@@ -6801,11 +6801,12 @@ const lD = {
6801
6801
  onReset: f
6802
6802
  }), {
6803
6803
  default: P(() => [
6804
- Mn()["default" + L] ? $e(c.$slots, "default" + L, { key: 0 }) : ee("", !0)
6804
+ Mn()["default" + L] ? Je(c.$slots, "default" + L, { key: 0 }) : ee("", !0)
6805
6805
  ]),
6806
6806
  _: 2
6807
6807
  }, 1040, ["modelValue"])
6808
- ], 64))), 128))
6808
+ ], 64))), 128)),
6809
+ Je(c.$slots, "default")
6809
6810
  ]));
6810
6811
  }
6811
6812
  });
@@ -7182,7 +7183,7 @@ const ND = (d, i) => {
7182
7183
  };
7183
7184
  }
7184
7185
  });
7185
- const hD = /* @__PURE__ */ He(mD, [["__scopeId", "data-v-9dd8f202"]]), vD = { style: { width: "100%", display: "flex" } }, wD = /* @__PURE__ */ fe({
7186
+ const hD = /* @__PURE__ */ He(mD, [["__scopeId", "data-v-82e981ed"]]), vD = { style: { width: "100%", display: "flex" } }, wD = /* @__PURE__ */ fe({
7186
7187
  __name: "columnItem",
7187
7188
  props: {
7188
7189
  modelValue: {},
@@ -7504,7 +7505,7 @@ const mo = /* @__PURE__ */ He(wD, [["__scopeId", "data-v-7ac02a39"]]), AD = { cl
7504
7505
  }, 8, ["modelValue"])
7505
7506
  ])) : ee("", !0),
7506
7507
  uj((h(), Q("div", ID, [
7507
- T.isDIYMain ? $e(T.$slots, "main", {
7508
+ T.isDIYMain ? Je(T.$slots, "main", {
7508
7509
  key: 0,
7509
7510
  tableData: Z
7510
7511
  }) : (h(), R(kt, le({
@@ -7544,7 +7545,7 @@ const mo = /* @__PURE__ */ He(wD, [["__scopeId", "data-v-7ac02a39"]]), AD = { cl
7544
7545
  width: "60",
7545
7546
  label: "序号"
7546
7547
  })) : ee("", !0),
7547
- Mn().firstColumn ? $e(T.$slots, "firstColumn", { key: 2 }) : ee("", !0),
7548
+ Mn().firstColumn ? Je(T.$slots, "firstColumn", { key: 2 }) : ee("", !0),
7548
7549
  (h(!0), Q(ve, null, Ye(ce, (ze, tt) => {
7549
7550
  var pt;
7550
7551
  return h(), Q(ve, {
@@ -7571,7 +7572,7 @@ const mo = /* @__PURE__ */ He(wD, [["__scopeId", "data-v-7ac02a39"]]), AD = { cl
7571
7572
  }, Ce(Qe.label), 3)
7572
7573
  ]),
7573
7574
  default: P((wn) => [
7574
- $e(T.$slots, "default"),
7575
+ Je(T.$slots, "default"),
7575
7576
  wn.$index >= 0 ? (h(), R(mo, {
7576
7577
  key: 0,
7577
7578
  field: Qe.prop,
@@ -7667,7 +7668,7 @@ const mo = /* @__PURE__ */ He(wD, [["__scopeId", "data-v-7ac02a39"]]), AD = { cl
7667
7668
  total: F.total
7668
7669
  }, null, 8, ["current-page", "page-size", "total"])
7669
7670
  ])) : ee("", !0),
7670
- $e(T.$slots, "bottom")
7671
+ Je(T.$slots, "bottom")
7671
7672
  ]);
7672
7673
  };
7673
7674
  }
@@ -8,6 +8,8 @@
8
8
  </template>
9
9
  </ElPlusForm>
10
10
  </template>
11
+ <!-- 默认的插槽 -->
12
+ <slot name="default"> </slot>
11
13
  </div>
12
14
  </template>
13
15
  <script lang="ts">
@@ -245,6 +245,9 @@ defineExpose({ getData: () => elPlusFormRef.value?.getData(), initCol })
245
245
  display: flex;
246
246
  align-items: center;
247
247
  margin-right: 10px;
248
+ & > * {
249
+ margin-bottom: 16px;
250
+ }
248
251
  }
249
252
  }
250
253
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "el-plus-crud",
3
3
  "description": "采用Vue3 + TS,封装的element-plus数据驱动表单、列表组件",
4
4
  "author": "K.D.Jack",
5
- "version": "0.0.48",
5
+ "version": "0.0.49",
6
6
  "license": "MIT",
7
7
  "private": false,
8
8
  "main": "dist/el-plus-crud.mjs",