3h1-ui 3.0.0-next.223 → 3.0.0-next.224
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/es/index.js +13 -5
- package/lib/index.js +13 -5
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -30043,6 +30043,8 @@ const ShyTag = /* @__PURE__ */ defineComponent({
|
|
|
30043
30043
|
...props2.fieldNames
|
|
30044
30044
|
}));
|
|
30045
30045
|
watch(() => props2.options, (val) => {
|
|
30046
|
+
if (!(val == null ? void 0 : val.length))
|
|
30047
|
+
return;
|
|
30046
30048
|
optionsRef.value = unref(val);
|
|
30047
30049
|
}, {
|
|
30048
30050
|
immediate: true,
|
|
@@ -30055,10 +30057,12 @@ const ShyTag = /* @__PURE__ */ defineComponent({
|
|
|
30055
30057
|
}, {
|
|
30056
30058
|
immediate: true
|
|
30057
30059
|
});
|
|
30058
|
-
const tag2 = computed(() =>
|
|
30059
|
-
[unref(fieldNames).
|
|
30060
|
-
|
|
30061
|
-
|
|
30060
|
+
const tag2 = computed(() => {
|
|
30061
|
+
return unref(optionsRef).find((item) => item[unref(fieldNames).value] == props2.value) ?? {
|
|
30062
|
+
[unref(fieldNames).label]: "-",
|
|
30063
|
+
[unref(fieldNames).color]: "var(--gray-5)",
|
|
30064
|
+
[unref(fieldNames).css]: ""
|
|
30065
|
+
};
|
|
30062
30066
|
});
|
|
30063
30067
|
const renderTag = computed(() => {
|
|
30064
30068
|
const [isTag, tagMode] = [props2.isTag, props2.tagMode];
|
|
@@ -49264,6 +49268,7 @@ const CustomCollapse = /* @__PURE__ */ defineComponent({
|
|
|
49264
49268
|
"onUpdate:activeKey": ($event) => collapseActiveKey.value = $event
|
|
49265
49269
|
}, {
|
|
49266
49270
|
default: () => [createVNode(Collapse.Panel, {
|
|
49271
|
+
"forceRender": true,
|
|
49267
49272
|
"key": field
|
|
49268
49273
|
}, {
|
|
49269
49274
|
default: () => [props2 == null ? void 0 : props2.renderGroup(componentProps == null ? void 0 : componentProps.schemas)],
|
|
@@ -49537,7 +49542,10 @@ const Descriptions = /* @__PURE__ */ defineComponent({
|
|
|
49537
49542
|
"style": style2,
|
|
49538
49543
|
"class": `${prefixCls2}-group`
|
|
49539
49544
|
}, [createVNode(CustomCollapse, {
|
|
49540
|
-
"schema":
|
|
49545
|
+
"schema": {
|
|
49546
|
+
...group,
|
|
49547
|
+
componentProps
|
|
49548
|
+
},
|
|
49541
49549
|
"renderGroup": renderGroup
|
|
49542
49550
|
}, null)]), [[vShow, isShow]]);
|
|
49543
49551
|
case "Custom":
|
package/lib/index.js
CHANGED
|
@@ -30067,6 +30067,8 @@ const ShyTag = /* @__PURE__ */ vue.defineComponent({
|
|
|
30067
30067
|
...props2.fieldNames
|
|
30068
30068
|
}));
|
|
30069
30069
|
vue.watch(() => props2.options, (val) => {
|
|
30070
|
+
if (!(val == null ? void 0 : val.length))
|
|
30071
|
+
return;
|
|
30070
30072
|
optionsRef.value = vue.unref(val);
|
|
30071
30073
|
}, {
|
|
30072
30074
|
immediate: true,
|
|
@@ -30079,10 +30081,12 @@ const ShyTag = /* @__PURE__ */ vue.defineComponent({
|
|
|
30079
30081
|
}, {
|
|
30080
30082
|
immediate: true
|
|
30081
30083
|
});
|
|
30082
|
-
const tag2 = vue.computed(() =>
|
|
30083
|
-
[vue.unref(fieldNames).
|
|
30084
|
-
|
|
30085
|
-
|
|
30084
|
+
const tag2 = vue.computed(() => {
|
|
30085
|
+
return vue.unref(optionsRef).find((item) => item[vue.unref(fieldNames).value] == props2.value) ?? {
|
|
30086
|
+
[vue.unref(fieldNames).label]: "-",
|
|
30087
|
+
[vue.unref(fieldNames).color]: "var(--gray-5)",
|
|
30088
|
+
[vue.unref(fieldNames).css]: ""
|
|
30089
|
+
};
|
|
30086
30090
|
});
|
|
30087
30091
|
const renderTag = vue.computed(() => {
|
|
30088
30092
|
const [isTag, tagMode] = [props2.isTag, props2.tagMode];
|
|
@@ -49288,6 +49292,7 @@ const CustomCollapse = /* @__PURE__ */ vue.defineComponent({
|
|
|
49288
49292
|
"onUpdate:activeKey": ($event) => collapseActiveKey.value = $event
|
|
49289
49293
|
}, {
|
|
49290
49294
|
default: () => [vue.createVNode(antDesignVue.Collapse.Panel, {
|
|
49295
|
+
"forceRender": true,
|
|
49291
49296
|
"key": field
|
|
49292
49297
|
}, {
|
|
49293
49298
|
default: () => [props2 == null ? void 0 : props2.renderGroup(componentProps == null ? void 0 : componentProps.schemas)],
|
|
@@ -49561,7 +49566,10 @@ const Descriptions = /* @__PURE__ */ vue.defineComponent({
|
|
|
49561
49566
|
"style": style2,
|
|
49562
49567
|
"class": `${prefixCls2}-group`
|
|
49563
49568
|
}, [vue.createVNode(CustomCollapse, {
|
|
49564
|
-
"schema":
|
|
49569
|
+
"schema": {
|
|
49570
|
+
...group,
|
|
49571
|
+
componentProps
|
|
49572
|
+
},
|
|
49565
49573
|
"renderGroup": renderGroup
|
|
49566
49574
|
}, null)]), [[vue.vShow, isShow]]);
|
|
49567
49575
|
case "Custom":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.224",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"vxe-table": "^4.3.6",
|
|
31
31
|
"xe-utils": "^3.5.7",
|
|
32
32
|
"@shy-plugins/tinymce": "^1.0.6",
|
|
33
|
-
"@shy-plugins/
|
|
34
|
-
"@shy-plugins/
|
|
33
|
+
"@shy-plugins/use": "1.0.1-next.5",
|
|
34
|
+
"@shy-plugins/utils": "1.0.0-next.1"
|
|
35
35
|
},
|
|
36
36
|
"types": "es/ui/index.d.ts",
|
|
37
37
|
"devDependencies": {
|