@sunny-base-web/ui 0.8.60 → 0.8.61

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/index.mjs CHANGED
@@ -10189,6 +10189,8 @@ function og(e) {
10189
10189
  function QC() {
10190
10190
  return {
10191
10191
  isCopy: !0,
10192
+ isCopyHeader: !0,
10193
+ // 启用复制表头功能
10192
10194
  cutMethod: ({ row: e, column: t }) => {
10193
10195
  og(t) && t.field && (e[t.field] = null);
10194
10196
  },
@@ -10220,7 +10222,7 @@ function VE(e) {
10220
10222
  {
10221
10223
  circle: !0,
10222
10224
  size: E?.size || "small",
10223
- style: "width: 34px; height: 34px; margin-right: 0.8em; font-size: 18px"
10225
+ style: "width: 30px; height: 30px; margin-right: 0.8em;"
10224
10226
  },
10225
10227
  { default: () => "!" }
10226
10228
  )
@@ -10261,6 +10263,10 @@ function VE(e) {
10261
10263
  selectCellToRow: !0
10262
10264
  // 点击单元格自动选取当前行
10263
10265
  },
10266
+ checkboxConfig: {
10267
+ range: !0
10268
+ // 启用范围选择
10269
+ },
10264
10270
  editConfig: { mode: "cell", trigger: "click" },
10265
10271
  keyboardConfig: {
10266
10272
  isAll: !0,
@@ -14656,7 +14662,7 @@ function OE(e) {
14656
14662
  default: () => pl(Ud, {
14657
14663
  circle: !0,
14658
14664
  size: l?.size || "small",
14659
- style: "width: 27px; height: 24px; margin-right: 0.8em"
14665
+ style: "width: 24px; height: 24px; margin-right: 0.8em"
14660
14666
  }, { default: () => "!" })
14661
14667
  })
14662
14668
  );
@@ -14696,8 +14702,10 @@ function OE(e) {
14696
14702
  // 启用复制功能
14697
14703
  isCut: !1,
14698
14704
  // 禁用剪切功能
14699
- isPaste: !1
14705
+ isPaste: !1,
14700
14706
  // 禁用粘贴功能
14707
+ isCopyHeader: !0
14708
+ // 启用复制表头功能
14701
14709
  },
14702
14710
  ...l,
14703
14711
  ...ye ? { toolbarConfig: ye } : {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunny-base-web/ui",
3
- "version": "0.8.60",
3
+ "version": "0.8.61",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -40,9 +40,9 @@
40
40
  "vxe-table": "^4.17.49",
41
41
  "xe-utils": "^4.0.4",
42
42
  "zod": "^4.3.5",
43
- "@sunny-base-web/icons": "^0.8.60",
44
- "@sunny-base-web/locales": "^0.8.60",
45
- "@sunny-base-web/utils": "^0.8.60"
43
+ "@sunny-base-web/icons": "^0.8.61",
44
+ "@sunny-base-web/utils": "^0.8.61",
45
+ "@sunny-base-web/locales": "^0.8.61"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/lodash-es": "^4.17.12",
@@ -56,8 +56,8 @@
56
56
  "vite": "^7.3.1",
57
57
  "vite-plugin-dts": "^4.5.4",
58
58
  "vue-tsc": "^2.1.10",
59
- "@sunny-base-web/tsconfig": "0.8.60",
60
- "@sunny-base-web/tailwind-config": "0.8.60"
59
+ "@sunny-base-web/tsconfig": "0.8.61",
60
+ "@sunny-base-web/tailwind-config": "0.8.61"
61
61
  },
62
62
  "scripts": {
63
63
  "build": "vite build",