3h1-ui 3.0.0-next.40 → 3.0.0-next.42
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 +3 -3
- package/lib/index.js +3 -3
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -15392,7 +15392,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
15392
15392
|
"icon": icon
|
|
15393
15393
|
}, null), titleDom, createVNode("span", {
|
|
15394
15394
|
"class": bem("actions")
|
|
15395
|
-
}, [renderAction(item)
|
|
15395
|
+
}, [renderAction(item)])])]);
|
|
15396
15396
|
return item;
|
|
15397
15397
|
});
|
|
15398
15398
|
return data;
|
|
@@ -37270,11 +37270,11 @@ const ShyTableColumn = /* @__PURE__ */ defineComponent({
|
|
|
37270
37270
|
}
|
|
37271
37271
|
function getResult(columns) {
|
|
37272
37272
|
return unref(plainOptions).map((col) => {
|
|
37273
|
-
const
|
|
37273
|
+
const defaultHidden = columns.findIndex((c) => c === col.value || typeof c !== "string" && c.dataIndex === col.value && (isBoolean(c.defaultHidden) ? !c.defaultHidden : false)) !== -1;
|
|
37274
37274
|
return {
|
|
37275
37275
|
dataIndex: col.value,
|
|
37276
37276
|
fixed: col.fixed,
|
|
37277
|
-
|
|
37277
|
+
defaultHidden,
|
|
37278
37278
|
width: col.width
|
|
37279
37279
|
};
|
|
37280
37280
|
});
|
package/lib/index.js
CHANGED
|
@@ -15416,7 +15416,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
15416
15416
|
"icon": icon
|
|
15417
15417
|
}, null), titleDom, vue.createVNode("span", {
|
|
15418
15418
|
"class": bem("actions")
|
|
15419
|
-
}, [renderAction(item)
|
|
15419
|
+
}, [renderAction(item)])])]);
|
|
15420
15420
|
return item;
|
|
15421
15421
|
});
|
|
15422
15422
|
return data;
|
|
@@ -37294,11 +37294,11 @@ const ShyTableColumn = /* @__PURE__ */ vue.defineComponent({
|
|
|
37294
37294
|
}
|
|
37295
37295
|
function getResult(columns) {
|
|
37296
37296
|
return vue.unref(plainOptions).map((col) => {
|
|
37297
|
-
const
|
|
37297
|
+
const defaultHidden = columns.findIndex((c) => c === col.value || typeof c !== "string" && c.dataIndex === col.value && (isBoolean(c.defaultHidden) ? !c.defaultHidden : false)) !== -1;
|
|
37298
37298
|
return {
|
|
37299
37299
|
dataIndex: col.value,
|
|
37300
37300
|
fixed: col.fixed,
|
|
37301
|
-
|
|
37301
|
+
defaultHidden,
|
|
37302
37302
|
width: col.width
|
|
37303
37303
|
};
|
|
37304
37304
|
});
|
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.42",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"vue-json-pretty": "^2.2.3",
|
|
30
30
|
"vxe-table": "^4.3.6",
|
|
31
31
|
"xe-utils": "^3.5.7",
|
|
32
|
-
"@shy-plugins/use": "1.0.0-next.1",
|
|
33
32
|
"@shy-plugins/tinymce": "^1.0.6",
|
|
33
|
+
"@shy-plugins/use": "1.0.0-next.1",
|
|
34
34
|
"@shy-plugins/utils": "1.0.0-next.1"
|
|
35
35
|
},
|
|
36
36
|
"types": "es/ui/index.d.ts",
|