@web-utils/form-ui 1.0.0-beta75 → 1.0.0-beta77

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 (67) hide show
  1. package/chunks/{CzA5Lt_l2.mjs → B-WTB0ce2.mjs} +1 -1
  2. package/chunks/{DjFlEzPM2.mjs → BK6DiJfX2.mjs} +3 -3
  3. package/chunks/{aG2VZRRm2.mjs → BLBHnUme2.mjs} +1 -1
  4. package/chunks/{CMyOgBni2.mjs → BM8snKHN2.mjs} +1 -1
  5. package/chunks/{CEDZmNDG2.mjs → BTNnujZA2.mjs} +1 -1
  6. package/chunks/{DS86zxjN2.mjs → BVsvRLea2.mjs} +2 -2
  7. package/chunks/{BCI1maFm2.mjs → BaB0bq4I2.mjs} +1 -1
  8. package/chunks/{B2p5StJk2.mjs → BvlU_Z6D2.mjs} +1 -1
  9. package/chunks/{B5gBCT5G2.mjs → CI-pH-gR2.mjs} +1 -1
  10. package/chunks/{BA_en_FG2.mjs → CVM0lwn22.mjs} +1 -1
  11. package/chunks/{CizBLN6J2.mjs → CWaId08S2.mjs} +1 -1
  12. package/chunks/{Dv-_PE3-.mjs → CeEYChF4.mjs} +2 -2
  13. package/chunks/{Bh4XihEh.mjs → Cg6ahpHk.mjs} +1 -1
  14. package/chunks/{BoXQg1h12.mjs → CoPlnbwi2.mjs} +2 -2
  15. package/chunks/{C_UxYEd72.mjs → D5_ezGUV2.mjs} +2 -2
  16. package/chunks/{DCTK5oyK.mjs → DMDsZeqv.mjs} +1 -1
  17. package/chunks/{CfxgQ-wf2.mjs → DP7eF99m2.mjs} +1 -1
  18. package/chunks/{CstdEG9K2.mjs → DRXM1Mt22.mjs} +1 -1
  19. package/chunks/{nZTrOKQf2.mjs → DS4Iw8Y42.mjs} +66 -66
  20. package/chunks/{Cfz-cav7.mjs → Dgwcljur.mjs} +63 -41
  21. package/chunks/{_BhTD9wf.mjs → Dhdoa4M6.mjs} +1 -1
  22. package/chunks/{UCeucUsB.mjs → Dpzw7Rtp.mjs} +1 -1
  23. package/chunks/{BbO6NHlx2.mjs → JjnlFlI02.mjs} +109 -109
  24. package/chunks/{VbE4wwJT2.mjs → kAaQhLJs2.mjs} +1 -1
  25. package/chunks/{Cjxblk9N2.mjs → lPQBM7xc2.mjs} +2 -2
  26. package/chunks/{CBsdczGQ.mjs → ohCkWdwS.mjs} +1 -1
  27. package/chunks/{Bp4VotK62.mjs → uDwSrV7X2.mjs} +2 -2
  28. package/chunks/{C6AxHCkY2.mjs → x2jJ6cfy2.mjs} +1 -1
  29. package/form-cascader/index.mjs +1 -1
  30. package/form-checkbox/index.mjs +1 -1
  31. package/form-checkbox-group/index.mjs +1 -1
  32. package/form-date-picker/index.mjs +1 -1
  33. package/form-image/index.mjs +1 -1
  34. package/form-input/index.mjs +1 -1
  35. package/form-input-cron-expression/index.mjs +1 -1
  36. package/form-input-email/index.mjs +1 -1
  37. package/form-input-id-card/index.mjs +1 -1
  38. package/form-input-number/index.mjs +1 -1
  39. package/form-input-phone-number/index.mjs +1 -1
  40. package/form-input-tag/index.mjs +1 -1
  41. package/form-input-time/index.mjs +1 -1
  42. package/form-item-x/index.mjs +1 -1
  43. package/form-item-x/style.css +1 -1
  44. package/form-radio-group/index.mjs +1 -1
  45. package/form-rate/index.mjs +1 -1
  46. package/form-select/index.mjs +1 -1
  47. package/form-slider/index.mjs +1 -1
  48. package/form-switch/index.mjs +1 -1
  49. package/form-table/index.mjs +1 -1
  50. package/form-table-plus/index.mjs +1 -1
  51. package/form-text/index.mjs +1 -1
  52. package/form-textarea/index.mjs +1 -1
  53. package/form-time-select/index.mjs +1 -1
  54. package/form-tree-select/index.mjs +1 -1
  55. package/form-tree-select-multiple/index.mjs +1 -1
  56. package/helper/input.d.ts +3 -1
  57. package/helper/input.mjs +1 -1
  58. package/helper/sub-table-plus.d.ts +1 -1
  59. package/index.css +1 -1
  60. package/index.mjs +28 -28
  61. package/package.json +1 -1
  62. package/sub-table/index.mjs +1 -1
  63. package/sub-table-plus/index.mjs +1 -1
  64. package/table-view/index.mjs +1 -1
  65. package/tag-render/index.mjs +15 -16
  66. package/web-types.json +1 -1
  67. package/x-input-tag/index.mjs +36 -37
package/index.mjs CHANGED
@@ -47,44 +47,44 @@ import H from "./flow-viewer/index.mjs";
47
47
  import U from "./form-advice/index.mjs";
48
48
  import W from "./form-button/index.mjs";
49
49
  import G from "./form-card/index.mjs";
50
- import { s as K } from "./chunks/Cfz-cav7.mjs";
51
- import { t as q } from "./chunks/CBsdczGQ.mjs";
50
+ import { s as K } from "./chunks/Dgwcljur.mjs";
51
+ import { t as q } from "./chunks/ohCkWdwS.mjs";
52
52
  import J from "./form-cell/index.mjs";
53
- import { t as Y } from "./chunks/_BhTD9wf.mjs";
54
- import { t as X } from "./chunks/UCeucUsB.mjs";
55
- import { t as Z } from "./chunks/Dv-_PE3-.mjs";
56
- import { t as re } from "./chunks/DCTK5oyK.mjs";
53
+ import { t as Y } from "./chunks/Dhdoa4M6.mjs";
54
+ import { t as X } from "./chunks/Dpzw7Rtp.mjs";
55
+ import { t as Z } from "./chunks/CeEYChF4.mjs";
56
+ import { t as re } from "./chunks/DMDsZeqv.mjs";
57
57
  import ie from "./form-red-table/index.mjs";
58
58
  import { t as ae } from "./chunks/CZeL7oiY2.mjs";
59
- import { t as oe } from "./chunks/CfxgQ-wf2.mjs";
59
+ import { t as oe } from "./chunks/DP7eF99m2.mjs";
60
60
  import { t as se } from "./chunks/C3pzNRoU2.mjs";
61
- import { t as ce } from "./chunks/BA_en_FG2.mjs";
62
- import { t as le } from "./chunks/BoXQg1h12.mjs";
63
- import { t as ue } from "./chunks/Cjxblk9N2.mjs";
64
- import { t as de } from "./chunks/CEDZmNDG2.mjs";
65
- import { t as Q } from "./chunks/C_UxYEd72.mjs";
61
+ import { t as ce } from "./chunks/CVM0lwn22.mjs";
62
+ import { t as le } from "./chunks/CoPlnbwi2.mjs";
63
+ import { t as ue } from "./chunks/lPQBM7xc2.mjs";
64
+ import { t as de } from "./chunks/BTNnujZA2.mjs";
65
+ import { t as Q } from "./chunks/D5_ezGUV2.mjs";
66
66
  import fe from "./x-input-tag/index.mjs";
67
- import { t as pe } from "./chunks/B5gBCT5G2.mjs";
68
- import { t as me } from "./chunks/CstdEG9K2.mjs";
67
+ import { t as pe } from "./chunks/CI-pH-gR2.mjs";
68
+ import { t as me } from "./chunks/DRXM1Mt22.mjs";
69
69
  import he from "./form-item-config-provider/index.mjs";
70
70
  import { t as ge } from "./chunks/CJ7Ai-mH2.mjs";
71
- import { t as _e } from "./chunks/aG2VZRRm2.mjs";
72
- import { t as ve } from "./chunks/C6AxHCkY2.mjs";
71
+ import { t as _e } from "./chunks/BLBHnUme2.mjs";
72
+ import { t as ve } from "./chunks/x2jJ6cfy2.mjs";
73
73
  import { t as ye } from "./chunks/gNfZhMJk2.mjs";
74
- import { t as be } from "./chunks/BCI1maFm2.mjs";
75
- import { t as xe } from "./chunks/CzA5Lt_l2.mjs";
76
- import { t as Se } from "./chunks/VbE4wwJT2.mjs";
74
+ import { t as be } from "./chunks/BaB0bq4I2.mjs";
75
+ import { t as xe } from "./chunks/B-WTB0ce2.mjs";
76
+ import { t as Se } from "./chunks/kAaQhLJs2.mjs";
77
77
  import Ce from "./table-column-def/index.mjs";
78
- import { t as we } from "./chunks/Bp4VotK62.mjs";
79
- import { t as Te } from "./chunks/nZTrOKQf2.mjs";
80
- import { t as Ee } from "./chunks/DS86zxjN2.mjs";
81
- import { t as De } from "./chunks/BbO6NHlx2.mjs";
82
- import { t as Oe } from "./chunks/DjFlEzPM2.mjs";
83
- import { t as ke } from "./chunks/B2p5StJk2.mjs";
84
- import { t as Ae } from "./chunks/CizBLN6J2.mjs";
78
+ import { t as we } from "./chunks/uDwSrV7X2.mjs";
79
+ import { t as Te } from "./chunks/DS4Iw8Y42.mjs";
80
+ import { t as Ee } from "./chunks/BVsvRLea2.mjs";
81
+ import { t as De } from "./chunks/JjnlFlI02.mjs";
82
+ import { t as Oe } from "./chunks/BK6DiJfX2.mjs";
83
+ import { t as ke } from "./chunks/BvlU_Z6D2.mjs";
84
+ import { t as Ae } from "./chunks/CWaId08S2.mjs";
85
85
  import { t as je } from "./chunks/b_78-Wov2.mjs";
86
- import { t as Me } from "./chunks/CMyOgBni2.mjs";
87
- import { t as Ne } from "./chunks/Bh4XihEh.mjs";
86
+ import { t as Me } from "./chunks/BM8snKHN2.mjs";
87
+ import { t as Ne } from "./chunks/Cg6ahpHk.mjs";
88
88
  import Pe from "./loading-view/index.mjs";
89
89
  import { t as Fe } from "./chunks/Bh2SlzOo.mjs";
90
90
  import Ie from "./form-view/index.mjs";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-utils/form-ui",
3
3
  "description": "form-ui",
4
- "version": "1.0.0-beta75",
4
+ "version": "1.0.0-beta77",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/nZTrOKQf2.mjs";
1
+ import { t as e } from "../chunks/DS4Iw8Y42.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/BbO6NHlx2.mjs";
1
+ import { t as e } from "../chunks/JjnlFlI02.mjs";
2
2
  export { e as default };
@@ -5,7 +5,7 @@ import { processButtons as i, reloadTable as a } from "../api/index.mjs";
5
5
  import { cellClickHandlerContextKey as o, tableViewContextKey as s } from "../constants/index.mjs";
6
6
  import { t as c } from "../chunks/mnqSaATq.mjs";
7
7
  import l from "../editable-tree/index.mjs";
8
- import { s as u } from "../chunks/Cfz-cav7.mjs";
8
+ import { s as u } from "../chunks/Dgwcljur.mjs";
9
9
  import d from "../form-item-config-provider/index.mjs";
10
10
  import { t as f } from "../chunks/Bh2SlzOo.mjs";
11
11
  import { ElCollapseTransition as p, ElForm as m, ElFormItem as h, ElRow as g } from "element-plus/es";
@@ -1,16 +1,15 @@
1
1
  import { t as e } from "../chunks/B1MSrc6f.mjs";
2
- import { ElButton as t, ElTag as n } from "element-plus/es";
2
+ import { ElButton as t, ElTag as n, formItemContextKey as r } from "element-plus/es";
3
3
  import "element-plus/es/components/base/style/css";
4
- import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createTextVNode as s, openBlock as c, renderList as l, toDisplayString as u, withCtx as d } from "vue";
5
- import { hasOwn as f } from "@web-utils/core";
4
+ import { Fragment as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, openBlock as l, renderList as u, toDisplayString as d, withCtx as f } from "vue";
5
+ import { hasOwn as p } from "@web-utils/core";
6
6
  import "element-plus/es/components/button/style/css";
7
- import { formItemContextKey as p } from "element-plus";
8
7
  import "element-plus/es/components/tag/style/css";
9
8
  //#region src/components/TagRender.vue
10
9
  var m = {
11
10
  name: "TagRender",
12
11
  inject: { elFormItem: {
13
- from: p,
12
+ from: r,
14
13
  default: {}
15
14
  } },
16
15
  props: {
@@ -45,7 +44,7 @@ var m = {
45
44
  }
46
45
  } },
47
46
  methods: { getTagName(e) {
48
- return f(e, "name") ? e.name : f(e, "label") ? e.label : e;
47
+ return p(e, "name") ? e.name : p(e, "label") ? e.label : e;
49
48
  } }
50
49
  }, h = { class: "tag-render" }, g = {
51
50
  key: 1,
@@ -58,28 +57,28 @@ var m = {
58
57
  key: 3,
59
58
  class: "tags-count"
60
59
  };
61
- function v(e, f, p, m, v, y) {
60
+ function v(e, r, p, m, v, y) {
62
61
  let b = n, x = t;
63
- return c(), o("div", h, [
64
- p.tags && p.tags.length && p.tags[0] ? (c(!0), o(r, { key: 0 }, l(y.internalTags, (t, n) => (c(), i(b, {
62
+ return l(), s("div", h, [
63
+ p.tags && p.tags.length && p.tags[0] ? (l(!0), s(i, { key: 0 }, u(y.internalTags, (t, n) => (l(), a(b, {
65
64
  key: n,
66
65
  closable: p.enable,
67
66
  "disable-transitions": "",
68
67
  onClose: (t) => e.$emit("close", p.tags[n], n)
69
68
  }, {
70
- default: d(() => [s(u(y.getTagName(t)), 1)]),
69
+ default: f(() => [c(d(y.getTagName(t)), 1)]),
71
70
  _: 2
72
- }, 1032, ["closable", "onClose"]))), 128)) : p.enable ? a("v-if", !0) : (c(), o("span", g, "无")),
73
- p.enable ? (c(), i(x, {
71
+ }, 1032, ["closable", "onClose"]))), 128)) : p.enable ? o("v-if", !0) : (l(), s("span", g, "无")),
72
+ p.enable ? (l(), a(x, {
74
73
  key: 2,
75
74
  class: "add-tag",
76
75
  size: "small",
77
- onClick: f[0] || (f[0] = (t) => e.$emit("add"))
76
+ onClick: r[0] || (r[0] = (t) => e.$emit("add"))
78
77
  }, {
79
- default: d(() => [...f[1] || (f[1] = [s("+ 添加", -1)])]),
78
+ default: f(() => [...r[1] || (r[1] = [c("+ 添加", -1)])]),
80
79
  _: 1
81
- })) : a("v-if", !0),
82
- p.count ? (c(), o("span", _, u(p.tags.length && p.tags[0] ? p.tags.length : ""), 1)) : a("v-if", !0)
80
+ })) : o("v-if", !0),
81
+ p.count ? (l(), s("span", _, d(p.tags.length && p.tags[0] ? p.tags.length : ""), 1)) : o("v-if", !0)
83
82
  ]);
84
83
  }
85
84
  var y = /* @__PURE__ */ e(m, [["render", v]]);