@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.
- package/chunks/{CzA5Lt_l2.mjs → B-WTB0ce2.mjs} +1 -1
- package/chunks/{DjFlEzPM2.mjs → BK6DiJfX2.mjs} +3 -3
- package/chunks/{aG2VZRRm2.mjs → BLBHnUme2.mjs} +1 -1
- package/chunks/{CMyOgBni2.mjs → BM8snKHN2.mjs} +1 -1
- package/chunks/{CEDZmNDG2.mjs → BTNnujZA2.mjs} +1 -1
- package/chunks/{DS86zxjN2.mjs → BVsvRLea2.mjs} +2 -2
- package/chunks/{BCI1maFm2.mjs → BaB0bq4I2.mjs} +1 -1
- package/chunks/{B2p5StJk2.mjs → BvlU_Z6D2.mjs} +1 -1
- package/chunks/{B5gBCT5G2.mjs → CI-pH-gR2.mjs} +1 -1
- package/chunks/{BA_en_FG2.mjs → CVM0lwn22.mjs} +1 -1
- package/chunks/{CizBLN6J2.mjs → CWaId08S2.mjs} +1 -1
- package/chunks/{Dv-_PE3-.mjs → CeEYChF4.mjs} +2 -2
- package/chunks/{Bh4XihEh.mjs → Cg6ahpHk.mjs} +1 -1
- package/chunks/{BoXQg1h12.mjs → CoPlnbwi2.mjs} +2 -2
- package/chunks/{C_UxYEd72.mjs → D5_ezGUV2.mjs} +2 -2
- package/chunks/{DCTK5oyK.mjs → DMDsZeqv.mjs} +1 -1
- package/chunks/{CfxgQ-wf2.mjs → DP7eF99m2.mjs} +1 -1
- package/chunks/{CstdEG9K2.mjs → DRXM1Mt22.mjs} +1 -1
- package/chunks/{nZTrOKQf2.mjs → DS4Iw8Y42.mjs} +66 -66
- package/chunks/{Cfz-cav7.mjs → Dgwcljur.mjs} +63 -41
- package/chunks/{_BhTD9wf.mjs → Dhdoa4M6.mjs} +1 -1
- package/chunks/{UCeucUsB.mjs → Dpzw7Rtp.mjs} +1 -1
- package/chunks/{BbO6NHlx2.mjs → JjnlFlI02.mjs} +109 -109
- package/chunks/{VbE4wwJT2.mjs → kAaQhLJs2.mjs} +1 -1
- package/chunks/{Cjxblk9N2.mjs → lPQBM7xc2.mjs} +2 -2
- package/chunks/{CBsdczGQ.mjs → ohCkWdwS.mjs} +1 -1
- package/chunks/{Bp4VotK62.mjs → uDwSrV7X2.mjs} +2 -2
- package/chunks/{C6AxHCkY2.mjs → x2jJ6cfy2.mjs} +1 -1
- package/form-cascader/index.mjs +1 -1
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.mjs +1 -1
- package/form-date-picker/index.mjs +1 -1
- package/form-image/index.mjs +1 -1
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.mjs +1 -1
- package/form-item-x/index.mjs +1 -1
- package/form-item-x/style.css +1 -1
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.mjs +1 -1
- package/form-select/index.mjs +1 -1
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.mjs +1 -1
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.mjs +1 -1
- package/form-tree-select/index.mjs +1 -1
- package/form-tree-select-multiple/index.mjs +1 -1
- package/helper/input.d.ts +3 -1
- package/helper/input.mjs +1 -1
- package/helper/sub-table-plus.d.ts +1 -1
- package/index.css +1 -1
- package/index.mjs +28 -28
- package/package.json +1 -1
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.mjs +1 -1
- package/table-view/index.mjs +1 -1
- package/tag-render/index.mjs +15 -16
- package/web-types.json +1 -1
- 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/
|
|
51
|
-
import { t as q } from "./chunks/
|
|
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/
|
|
54
|
-
import { t as X } from "./chunks/
|
|
55
|
-
import { t as Z } from "./chunks/
|
|
56
|
-
import { t as re } from "./chunks/
|
|
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/
|
|
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/
|
|
62
|
-
import { t as le } from "./chunks/
|
|
63
|
-
import { t as ue } from "./chunks/
|
|
64
|
-
import { t as de } from "./chunks/
|
|
65
|
-
import { t as Q } from "./chunks/
|
|
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/
|
|
68
|
-
import { t as me } from "./chunks/
|
|
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/
|
|
72
|
-
import { t as ve } from "./chunks/
|
|
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/
|
|
75
|
-
import { t as xe } from "./chunks/
|
|
76
|
-
import { t as Se } from "./chunks/
|
|
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/
|
|
79
|
-
import { t as Te } from "./chunks/
|
|
80
|
-
import { t as Ee } from "./chunks/
|
|
81
|
-
import { t as De } from "./chunks/
|
|
82
|
-
import { t as Oe } from "./chunks/
|
|
83
|
-
import { t as ke } from "./chunks/
|
|
84
|
-
import { t as Ae } from "./chunks/
|
|
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/
|
|
87
|
-
import { t as Ne } from "./chunks/
|
|
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
package/sub-table/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DS4Iw8Y42.mjs";
|
|
2
2
|
export { e as default };
|
package/sub-table-plus/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/JjnlFlI02.mjs";
|
|
2
2
|
export { e as default };
|
package/table-view/index.mjs
CHANGED
|
@@ -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/
|
|
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";
|
package/tag-render/index.mjs
CHANGED
|
@@ -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
|
|
5
|
-
import { hasOwn as
|
|
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:
|
|
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
|
|
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,
|
|
60
|
+
function v(e, r, p, m, v, y) {
|
|
62
61
|
let b = n, x = t;
|
|
63
|
-
return
|
|
64
|
-
p.tags && p.tags.length && p.tags[0] ? (
|
|
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:
|
|
69
|
+
default: f(() => [c(d(y.getTagName(t)), 1)]),
|
|
71
70
|
_: 2
|
|
72
|
-
}, 1032, ["closable", "onClose"]))), 128)) : p.enable ?
|
|
73
|
-
p.enable ? (
|
|
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:
|
|
76
|
+
onClick: r[0] || (r[0] = (t) => e.$emit("add"))
|
|
78
77
|
}, {
|
|
79
|
-
default:
|
|
78
|
+
default: f(() => [...r[1] || (r[1] = [c("+ 添加", -1)])]),
|
|
80
79
|
_: 1
|
|
81
|
-
})) :
|
|
82
|
-
p.count ? (
|
|
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]]);
|