wyfe-ivue 2.19.2 → 2.19.3
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/dist/{Cascader-De3uqL3-.js → Cascader-DwBvuwFq.js} +2 -2
- package/dist/{Radio-CWCqPqLp.js → Radio-BvexlGu1.js} +2 -2
- package/dist/{Select-Docj4pi0.js → Select-rDoMLZ4M.js} +2 -2
- package/dist/{TreeSelect-u8xEo6qQ.js → TreeSelect-DpJea7qY.js} +2 -2
- package/dist/index.es.js +1269 -1227
- package/dist/index.umd.cjs +10 -10
- package/dist/types/UseCrudTable/types.d.ts +6 -3
- package/dist/types/UseElDescriptions/types.d.ts +1 -0
- package/dist/types/UseElForm/components/InlineForm.vue.d.ts +4 -0
- package/dist/types/UseElForm/index.vue.d.ts +28 -4
- package/dist/types/UseElForm/types.d.ts +6 -3
- package/dist/types/UseElTable/hooks/useTableHook.d.ts +3 -2
- package/dist/types/UseElTable/index.vue.d.ts +2 -0
- package/dist/types/UseElTable/types.d.ts +10 -9
- package/dist/types/UseLineTitle/index.vue.d.ts +1 -1
- package/dist/{utils-DPuuL5wm.js → utils-IKf71lAK.js} +1 -1
- package/dist/wyfe-ivue.css +1 -1
- package/package.json +1 -1
- package/src/components/UseCrudTable/types.ts +17 -7
- package/src/components/UseElDescriptions/types.ts +1 -0
- package/src/components/UseElForm/props.ts +1 -1
- package/src/components/UseElForm/types.ts +14 -5
- package/src/components/UseElTable/props.ts +1 -1
- package/src/components/UseElTable/types.ts +37 -33
- package/src/types/dict.ts +2 -2
|
@@ -9,7 +9,7 @@ import { t as ge } from "./input-VDXZFIJy.js";
|
|
|
9
9
|
import { a as A, n as _e, t as ve } from "./css-Crw3tNnP.js";
|
|
10
10
|
import { t as j } from "./css-HR0lxXHj.js";
|
|
11
11
|
import { t as ye } from "./css-D1Vxa6Sv.js";
|
|
12
|
-
import { r as M } from "./utils-
|
|
12
|
+
import { r as M } from "./utils-IKf71lAK.js";
|
|
13
13
|
import { t as be } from "./UseRender-wyS1Ilio.js";
|
|
14
14
|
import "./index.es.js";
|
|
15
15
|
import { Comment as N, Fragment as P, computed as F, createBlock as I, createCommentVNode as L, createElementBlock as R, createElementVNode as z, createSlots as xe, createTextVNode as Se, createVNode as B, defineComponent as V, getCurrentInstance as H, inject as Ce, nextTick as we, normalizeClass as U, normalizeStyle as Te, onBeforeUpdate as Ee, onMounted as De, openBlock as W, provide as Oe, reactive as ke, ref as G, renderList as Ae, renderSlot as K, resolveDynamicComponent as je, toDisplayString as q, unref as J, useAttrs as Me, useSlots as Ne, vModelText as Pe, vShow as Fe, watch as Y, withCtx as X, withDirectives as Ie, withKeys as Le, withModifiers as Z } from "vue";
|
|
@@ -1070,7 +1070,7 @@ var Qe = /* @__PURE__ */ V({
|
|
|
1070
1070
|
},
|
|
1071
1071
|
setup(e, { expose: t }) {
|
|
1072
1072
|
let n = e, r = F(() => n.item.cascaderConfig), i = F(() => {
|
|
1073
|
-
let e = M(n.item.
|
|
1073
|
+
let e = M(n.item.useDict, n.item.label);
|
|
1074
1074
|
return r.value?.options || e && n.dictMap[e] || void 0;
|
|
1075
1075
|
}), a = F(() => r.value?.props || n.globalConfig.finalDictProps), o = (e) => {
|
|
1076
1076
|
if (Object.hasOwn(r.value, "onChange") && typeof r.value?.onChange == "function") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./css-BaGTfWV6.js";
|
|
2
2
|
import { n as e, t } from "./css-D1Vxa6Sv.js";
|
|
3
|
-
import { r as n } from "./utils-
|
|
3
|
+
import { r as n } from "./utils-IKf71lAK.js";
|
|
4
4
|
import { t as r } from "./UseRender-wyS1Ilio.js";
|
|
5
5
|
import { Fragment as i, computed as a, createBlock as o, createElementBlock as s, createTextVNode as c, defineComponent as l, normalizeClass as u, normalizeStyle as d, openBlock as f, renderList as p, toDisplayString as m, withCtx as h } from "vue";
|
|
6
6
|
//#endregion
|
|
@@ -27,7 +27,7 @@ var g = /* @__PURE__ */ l({
|
|
|
27
27
|
},
|
|
28
28
|
setup(l) {
|
|
29
29
|
let g = l, _ = a(() => g.item.radioConfig), v = a(() => {
|
|
30
|
-
let e = n(g.item.
|
|
30
|
+
let e = n(g.item.useDict, g.item.label), t = _.value?.options || e && g.dictMap[e] || [];
|
|
31
31
|
return _.value?.reverse ? [...t].reverse() : t;
|
|
32
32
|
}), y = (e) => {
|
|
33
33
|
if (Object.hasOwn(_.value, "onChange") && typeof _.value?.onChange == "function") {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./UseElSelect-BPA5PX-3.js";
|
|
2
|
-
import { r as t } from "./utils-
|
|
2
|
+
import { r as t } from "./utils-IKf71lAK.js";
|
|
3
3
|
import { computed as n, createBlock as r, defineComponent as i, normalizeStyle as a, onMounted as o, openBlock as s } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/components/UseElForm/components/controls/Select.vue
|
|
@@ -39,7 +39,7 @@ var c = /* @__PURE__ */ i({
|
|
|
39
39
|
u("update:modelValue", e);
|
|
40
40
|
}
|
|
41
41
|
}), f = n(() => l.item.selectConfig), p = n(() => {
|
|
42
|
-
let e = t(l.item.
|
|
42
|
+
let e = t(l.item.useDict, l.item.label), n = f.value?.options || e && l.dictMap[e] || [], { finalDictProps: r, finalDictDataToString: i } = l.globalConfig;
|
|
43
43
|
return n = n.map((e) => ({
|
|
44
44
|
...e,
|
|
45
45
|
[r.value]: i ? e[r.value] + "" : e[r.value]
|
|
@@ -6,7 +6,7 @@ import { c as ie } from "./css-DductTH5.js";
|
|
|
6
6
|
import { d as O, f as ae, i as oe, s as se, t as ce } from "./icon-C0_AuzqV.js";
|
|
7
7
|
import { t as le } from "./css-HR0lxXHj.js";
|
|
8
8
|
import { t as ue } from "./collapse-transition-B7HV9jYb.js";
|
|
9
|
-
import { r as de } from "./utils-
|
|
9
|
+
import { r as de } from "./utils-IKf71lAK.js";
|
|
10
10
|
import { t as fe } from "./UseRender-wyS1Ilio.js";
|
|
11
11
|
import { Fragment as pe, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as me, createVNode as he, defineComponent as N, getCurrentInstance as ge, h as P, inject as F, nextTick as I, normalizeClass as L, normalizeStyle as R, onBeforeUnmount as _e, onMounted as z, onUpdated as ve, openBlock as B, provide as V, reactive as H, ref as U, renderList as ye, renderSlot as W, resolveComponent as G, resolveDynamicComponent as be, toDisplayString as xe, toRefs as Se, useAttrs as Ce, vShow as we, watch as K, withCtx as q, withDirectives as Te, withModifiers as J } from "vue";
|
|
12
12
|
import { CaretRight as Ee, Loading as De } from "@element-plus/icons-vue";
|
|
@@ -1443,7 +1443,7 @@ var at = (e, { attrs: t, slots: n, emit: i }, { select: a, tree: s, key: l }) =>
|
|
|
1443
1443
|
},
|
|
1444
1444
|
setup(e) {
|
|
1445
1445
|
let t = e, n = k(() => t.item.treeSelectConfig), r = k(() => {
|
|
1446
|
-
let e = de(t.item.
|
|
1446
|
+
let e = de(t.item.useDict, t.item.label), r = n.value?.data || e && t.dictMap[e] || [];
|
|
1447
1447
|
return n.value?.reverse ? [...r].reverse() : r;
|
|
1448
1448
|
}), i = k(() => {
|
|
1449
1449
|
let e = t.formModel[t.item.prop];
|