3h1-ui 2.1.39 → 2.2.0

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.js CHANGED
@@ -20156,7 +20156,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20156
20156
  return form;
20157
20157
  };
20158
20158
  } },
20159
- isUseEdit: { type: Boolean }
20159
+ isUseEdit: { type: Boolean },
20160
+ columnSeq: { default: () => {
20161
+ return {};
20162
+ } }
20160
20163
  },
20161
20164
  emits: [
20162
20165
  "register",
@@ -20311,23 +20314,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20311
20314
  return [
20312
20315
  ((_b = (_a2 = unref(getProps)) == null ? void 0 : _a2.configRowSelection) == null ? void 0 : _b.type) === "checkbox" && ((_c = unref(getProps)) == null ? void 0 : _c.isShowRowSelection) ? (openBlock(), createBlock(unref(VxeColumn), {
20313
20316
  key: 0,
20317
+ fixed: "left",
20314
20318
  type: "checkbox",
20315
20319
  width: "60",
20316
20320
  align: "center"
20317
20321
  })) : createCommentVNode("", true),
20318
20322
  ((_e = (_d = unref(getProps)) == null ? void 0 : _d.configRowSelection) == null ? void 0 : _e.type) === "radio" && ((_f = unref(getProps)) == null ? void 0 : _f.isShowRowSelection) ? (openBlock(), createBlock(unref(VxeColumn), {
20319
20323
  key: 1,
20324
+ fixed: "left",
20320
20325
  type: "radio",
20321
20326
  width: "60",
20322
20327
  align: "center"
20323
20328
  })) : createCommentVNode("", true),
20324
- unref(getProps).isShowSeq ? (openBlock(), createBlock(unref(VxeColumn), {
20329
+ unref(getProps).isShowSeq ? (openBlock(), createBlock(unref(VxeColumn), mergeProps({
20325
20330
  key: 2,
20326
20331
  type: "seq",
20327
20332
  width: "60",
20328
20333
  align: "center",
20329
20334
  title: "序号"
20330
- })) : createCommentVNode("", true),
20335
+ }, unref(getProps).columnSeq), null, 16)) : createCommentVNode("", true),
20331
20336
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(getColumns), (column, index2) => {
20332
20337
  return openBlock(), createBlock(unref(VxeColumn), mergeProps({ key: index2 }, column, {
20333
20338
  "edit-render": (column == null ? void 0 : column.editRender) || void 0
@@ -89,6 +89,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
89
89
  type: BooleanConstructor;
90
90
  required: false;
91
91
  };
92
+ columnSeq: {
93
+ type: any;
94
+ required: true;
95
+ default: () => {};
96
+ };
92
97
  }, {
93
98
  emits: (event: "register" | "selection-change" | "row-ensure" | "row-cancel", ...args: any[]) => void;
94
99
  prefixCls: string;
@@ -555,6 +560,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
555
560
  type: BooleanConstructor;
556
561
  required: false;
557
562
  };
563
+ columnSeq: {
564
+ type: any;
565
+ required: true;
566
+ default: () => {};
567
+ };
558
568
  }>> & {
559
569
  onRegister?: (...args: any[]) => any;
560
570
  "onSelection-change"?: (...args: any[]) => any;
package/lib/index.js CHANGED
@@ -20158,7 +20158,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
20158
20158
  return form;
20159
20159
  };
20160
20160
  } },
20161
- isUseEdit: { type: Boolean }
20161
+ isUseEdit: { type: Boolean },
20162
+ columnSeq: { default: () => {
20163
+ return {};
20164
+ } }
20162
20165
  },
20163
20166
  emits: [
20164
20167
  "register",
@@ -20313,23 +20316,25 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
20313
20316
  return [
20314
20317
  ((_b = (_a2 = vue.unref(getProps)) == null ? void 0 : _a2.configRowSelection) == null ? void 0 : _b.type) === "checkbox" && ((_c = vue.unref(getProps)) == null ? void 0 : _c.isShowRowSelection) ? (vue.openBlock(), vue.createBlock(vue.unref(vxeTable.VxeColumn), {
20315
20318
  key: 0,
20319
+ fixed: "left",
20316
20320
  type: "checkbox",
20317
20321
  width: "60",
20318
20322
  align: "center"
20319
20323
  })) : vue.createCommentVNode("", true),
20320
20324
  ((_e = (_d = vue.unref(getProps)) == null ? void 0 : _d.configRowSelection) == null ? void 0 : _e.type) === "radio" && ((_f = vue.unref(getProps)) == null ? void 0 : _f.isShowRowSelection) ? (vue.openBlock(), vue.createBlock(vue.unref(vxeTable.VxeColumn), {
20321
20325
  key: 1,
20326
+ fixed: "left",
20322
20327
  type: "radio",
20323
20328
  width: "60",
20324
20329
  align: "center"
20325
20330
  })) : vue.createCommentVNode("", true),
20326
- vue.unref(getProps).isShowSeq ? (vue.openBlock(), vue.createBlock(vue.unref(vxeTable.VxeColumn), {
20331
+ vue.unref(getProps).isShowSeq ? (vue.openBlock(), vue.createBlock(vue.unref(vxeTable.VxeColumn), vue.mergeProps({
20327
20332
  key: 2,
20328
20333
  type: "seq",
20329
20334
  width: "60",
20330
20335
  align: "center",
20331
20336
  title: "序号"
20332
- })) : vue.createCommentVNode("", true),
20337
+ }, vue.unref(getProps).columnSeq), null, 16)) : vue.createCommentVNode("", true),
20333
20338
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(getColumns), (column, index2) => {
20334
20339
  return vue.openBlock(), vue.createBlock(vue.unref(vxeTable.VxeColumn), vue.mergeProps({ key: index2 }, column, {
20335
20340
  "edit-render": (column == null ? void 0 : column.editRender) || void 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "2.1.39",
3
+ "version": "2.2.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -31,8 +31,8 @@
31
31
  "vue-types": "^5.0.2",
32
32
  "vxe-table": "^4.3.6",
33
33
  "xe-utils": "^3.5.7",
34
- "@shy-plugins/utils": "1.0.14",
35
- "@shy-plugins/use": "1.0.3"
34
+ "@shy-plugins/use": "1.0.3",
35
+ "@shy-plugins/utils": "1.0.14"
36
36
  },
37
37
  "types": "es/ui/index.d.ts",
38
38
  "devDependencies": {