@guiexpert/vue3-table 3.0.28 → 3.1.56
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/index.js +13 -24
- package/package.json +4 -4
- /package/{style.css → vue3-table.css} +0 -0
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ee, ref as te, onMounted as se,
|
|
1
|
+
import { defineComponent as ee, ref as te, onMounted as se, createElementBlock as oe, openBlock as ie, createVNode as ae, render as U } from "vue";
|
|
2
2
|
function re(g, e = 500) {
|
|
3
3
|
let t = null;
|
|
4
4
|
return function(...s) {
|
|
@@ -1237,26 +1237,17 @@ class Se extends me {
|
|
|
1237
1237
|
*/
|
|
1238
1238
|
getArea(e, t) {
|
|
1239
1239
|
if (e === "header") {
|
|
1240
|
-
if (t === "west")
|
|
1241
|
-
|
|
1242
|
-
if (t === "
|
|
1243
|
-
return this.areaHeaderCenter;
|
|
1244
|
-
if (t === "east")
|
|
1245
|
-
return this.areaHeaderEast;
|
|
1240
|
+
if (t === "west") return this.areaHeaderWest;
|
|
1241
|
+
if (t === "center") return this.areaHeaderCenter;
|
|
1242
|
+
if (t === "east") return this.areaHeaderEast;
|
|
1246
1243
|
} else if (e === "body") {
|
|
1247
|
-
if (t === "west")
|
|
1248
|
-
|
|
1249
|
-
if (t === "
|
|
1250
|
-
return this.areaBodyCenter;
|
|
1251
|
-
if (t === "east")
|
|
1252
|
-
return this.areaBodyEast;
|
|
1244
|
+
if (t === "west") return this.areaBodyWest;
|
|
1245
|
+
if (t === "center") return this.areaBodyCenter;
|
|
1246
|
+
if (t === "east") return this.areaBodyEast;
|
|
1253
1247
|
} else if (e === "footer") {
|
|
1254
|
-
if (t === "west")
|
|
1255
|
-
|
|
1256
|
-
if (t === "
|
|
1257
|
-
return this.areaFooterCenter;
|
|
1258
|
-
if (t === "east")
|
|
1259
|
-
return this.areaFooterEast;
|
|
1248
|
+
if (t === "west") return this.areaFooterWest;
|
|
1249
|
+
if (t === "center") return this.areaFooterCenter;
|
|
1250
|
+
if (t === "east") return this.areaFooterEast;
|
|
1260
1251
|
}
|
|
1261
1252
|
throw Error(`Wrong area identifier: row:${e}, col:${t}`);
|
|
1262
1253
|
}
|
|
@@ -1282,8 +1273,7 @@ class Se extends me {
|
|
|
1282
1273
|
var s;
|
|
1283
1274
|
if (e) {
|
|
1284
1275
|
const o = (s = e.closest("[" + t + "]")) == null ? void 0 : s.getAttribute(t);
|
|
1285
|
-
if (o)
|
|
1286
|
-
return Number(o);
|
|
1276
|
+
if (o) return Number(o);
|
|
1287
1277
|
}
|
|
1288
1278
|
return -1;
|
|
1289
1279
|
}
|
|
@@ -1299,8 +1289,7 @@ class Se extends me {
|
|
|
1299
1289
|
var s;
|
|
1300
1290
|
if (e) {
|
|
1301
1291
|
const o = (s = e.closest("[" + t + "]")) == null ? void 0 : s.getAttribute(t);
|
|
1302
|
-
if (o)
|
|
1303
|
-
return o;
|
|
1292
|
+
if (o) return o;
|
|
1304
1293
|
}
|
|
1305
1294
|
return "";
|
|
1306
1295
|
}
|
|
@@ -3320,7 +3309,7 @@ const Le = ee({
|
|
|
3320
3309
|
style: { width: "100%", height: "100%", "background-color": "transparent", padding: "0", margin: "0" }
|
|
3321
3310
|
};
|
|
3322
3311
|
function Pe(g, e, t, s, o, i) {
|
|
3323
|
-
return
|
|
3312
|
+
return ie(), oe("div", Be, null, 512);
|
|
3324
3313
|
}
|
|
3325
3314
|
const We = /* @__PURE__ */ Oe(Le, [["render", Pe]]);
|
|
3326
3315
|
class He {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guiexpert/vue3-table",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.56",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"tslib": "^2.3.0",
|
|
21
21
|
"vue": "^3.2.47",
|
|
22
|
-
"vue-i18n": "
|
|
22
|
+
"vue-i18n": "11.1.2",
|
|
23
23
|
"vue-router": "^4.1.6",
|
|
24
|
-
"@guiexpert/table": "^1.1.
|
|
24
|
+
"@guiexpert/table": "^1.1.56"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@cypress/vue": "^5.0.4",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"unplugin-vue-components": "^0.24.0",
|
|
34
34
|
"vue-eslint-parser": "^9.1.0",
|
|
35
35
|
"@types/node": "^20.11.17",
|
|
36
|
-
"vite": "
|
|
36
|
+
"vite": "6.3.4",
|
|
37
37
|
"vite-plugin-dts": "^3.7.2",
|
|
38
38
|
"vite-plugin-eslint": "^1.8.1",
|
|
39
39
|
"vite-plugin-static-copy": "^0.17.0",
|
|
File without changes
|