rayyy-vue-table-components 1.2.4 → 1.2.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rayyy-vue-table-components",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Vue 3 + Element Plus 表格組件庫",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",
@@ -81,7 +81,7 @@
81
81
  "release:major": "./scripts/release.sh major"
82
82
  },
83
83
  "peerDependencies": {
84
- "element-plus": "^2.0.0",
84
+ "element-plus": "^2.9.3",
85
85
  "vue": "^3.0.0"
86
86
  },
87
87
  "devDependencies": {
@@ -95,9 +95,10 @@
95
95
  "@vue/eslint-config-typescript": "^14.5.0",
96
96
  "@vue/test-utils": "^2.4.6",
97
97
  "@vue/tsconfig": "^0.7.0",
98
+ "@vueuse/core": "^11.2.0",
98
99
  "autoprefixer": "^10.4.21",
99
100
  "cypress": "^14.1.0",
100
- "element-plus": "^2.9.6",
101
+ "element-plus": "^2.11.1",
101
102
  "eslint": "^9.21.0",
102
103
  "eslint-plugin-cypress": "^4.2.0",
103
104
  "eslint-plugin-vue": "~10.0.0",
@@ -121,7 +122,6 @@
121
122
  "vue": "^3.5.13",
122
123
  "vue-router": "^4.5.0",
123
124
  "vue-tsc": "^2.2.8",
124
- "vuedraggable": "^4.1.0",
125
- "@vueuse/core": "^11.2.0"
125
+ "vuedraggable": "^4.1.0"
126
126
  }
127
127
  }
@@ -52,14 +52,17 @@ const handleSubmit = () => {
52
52
  :before-close="props.beforeClose"
53
53
  :close-on-click-modal="false"
54
54
  center
55
- class="rounded-md base-dialog"
55
+ class="rounded-md"
56
56
  :class="{ 'waring-dialog': props.isWaring, 'upload-result-dialog': props.isPrimary }"
57
57
  align-center
58
58
  destroy-on-close
59
+ header-class="h-12 pt-2 bg-primary-15 border-b"
60
+ body-class="p-4 overflow-auto max-h-[calc(100vh-200px)]"
61
+ footer-class="py-1 px-2 border-t flex items-center justify-end"
59
62
  >
60
63
  <template #header="{ titleId, titleClass }">
61
64
  <slot name="customHeader">
62
- <p :id="titleId" class="base-dialog-title" :class="titleClass">
65
+ <p :id="titleId" class="ext-base leading-8" :class="titleClass">
63
66
  {{ props.title }}
64
67
  </p>
65
68
  </slot>
@@ -67,7 +70,7 @@ const handleSubmit = () => {
67
70
 
68
71
  <div class="p-2" v-loading="bodyLoading">
69
72
  <div
70
- class="sub-title"
73
+ class=" pb-2 font-bold text-base"
71
74
  :class="{
72
75
  'border-b mb-4': typeof subTitle == 'string',
73
76
  }"
@@ -78,7 +81,7 @@ const handleSubmit = () => {
78
81
  <slot></slot>
79
82
  </div>
80
83
  <template #footer>
81
- <footer>
84
+ <footer >
82
85
  <slot name="customFooter">
83
86
  <base-btn
84
87
  text="確定"