@wx-design/components 0.1.8 → 0.1.9
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.mjs +5 -1
- package/es/style.css +1 -1
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/core/Table/demos/mock.d.ts +0 -76
- package/lib/core/Table/demos/mock.d.ts +0 -76
package/es/index.mjs
CHANGED
|
@@ -211,6 +211,7 @@ C.all = function(t, l) {
|
|
|
211
211
|
};
|
|
212
212
|
var Ot = C, jt = Ot;
|
|
213
213
|
const p = /* @__PURE__ */ L(jt), kt = {
|
|
214
|
+
fit: !0,
|
|
214
215
|
// 带边框
|
|
215
216
|
border: !0,
|
|
216
217
|
// 展示头部
|
|
@@ -300,11 +301,14 @@ const p = /* @__PURE__ */ L(jt), kt = {
|
|
|
300
301
|
return l.editable === !1 ? delete l.editConfig : l.editable === !0 && (l.editConfig = p({}, l.editConfig || {})), l.withCheckbox === !0 && !((n = l.columns) != null && n.some((a) => a.field === "sab-table-checkbox")) && ((r = l.columns) == null || r.unshift({
|
|
301
302
|
type: "checkbox",
|
|
302
303
|
fixed: "left",
|
|
303
|
-
field: "sab-table-checkbox"
|
|
304
|
+
field: "sab-table-checkbox",
|
|
305
|
+
width: 40
|
|
304
306
|
})), l.withSeq === !0 && !((o = l.columns) != null && o.some((a) => a.field === "sab-table-seq")) && ((c = l.columns) == null || c.unshift({
|
|
305
307
|
type: "checkbox",
|
|
306
308
|
fixed: "left",
|
|
307
309
|
field: "sab-table-seq",
|
|
310
|
+
width: 50,
|
|
311
|
+
className: "sab-table-seq",
|
|
308
312
|
slots: {
|
|
309
313
|
header: () => null,
|
|
310
314
|
checkbox: ({ rowIndex: a }) => a + 1
|