hcui-package 1.9.93 → 2.0.1
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/hcui-package.es.js +6 -2
- package/dist/hcui-package.umd.js +54 -54
- package/package.json +1 -1
package/dist/hcui-package.es.js
CHANGED
|
@@ -33429,7 +33429,7 @@ const s8 = {
|
|
|
33429
33429
|
},
|
|
33430
33430
|
codeField: {
|
|
33431
33431
|
type: String,
|
|
33432
|
-
default:
|
|
33432
|
+
default: "code"
|
|
33433
33433
|
},
|
|
33434
33434
|
disabled: {
|
|
33435
33435
|
type: Boolean,
|
|
@@ -35103,6 +35103,10 @@ const ree = /* @__PURE__ */ Ge({
|
|
|
35103
35103
|
settingOption: {
|
|
35104
35104
|
type: Object,
|
|
35105
35105
|
default: () => ({})
|
|
35106
|
+
},
|
|
35107
|
+
tableMaxHeight: {
|
|
35108
|
+
type: Number,
|
|
35109
|
+
default: null
|
|
35106
35110
|
}
|
|
35107
35111
|
},
|
|
35108
35112
|
setup(e) {
|
|
@@ -35113,7 +35117,7 @@ const ree = /* @__PURE__ */ Ge({
|
|
|
35113
35117
|
let w = t.scrollHeight;
|
|
35114
35118
|
if (l.value) {
|
|
35115
35119
|
const D = l.value, T = l.value.querySelector(".n-data-table-thead"), M = l.value.querySelector(".n-data-table__pagination");
|
|
35116
|
-
w = D.offsetHeight - T.offsetHeight - (M ? M.offsetHeight + 12 : 0) - 2;
|
|
35120
|
+
w = (t.tableMaxHeight || D.offsetHeight) - T.offsetHeight - (M ? M.offsetHeight + 12 : 0) - 2;
|
|
35117
35121
|
}
|
|
35118
35122
|
u.value = w;
|
|
35119
35123
|
}
|