tutor-pro-ui-vue 1.2.14-beta → 1.2.18-beta

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.css CHANGED
@@ -1 +1 @@
1
- .common-checkbox-group-vertical .common-checkbox-group-item[data-v-05163454]{display:flex}.infinite-list[data-v-9d7ff865]{list-style:none;padding:0;margin:0}.loading-text[data-v-9d7ff865]{text-align:center;color:#999}.virtual-list-item[data-v-32be3a63]{box-sizing:border-box}.infinite-virtual-list[data-v-6311340a]{list-style:none;padding:0;margin:0}.virtual-list[data-v-6311340a]{position:relative;list-style-type:none}.virtual-list-item[data-v-6311340a]{box-sizing:border-box;overflow:hidden}.virtual-container[data-v-6311340a]{position:relative}.loading-text[data-v-6311340a]{text-align:center;color:#999}.el-image[data-v-cb63a6ba]{width:100%;height:100%}.progress-box[data-v-cb63a6ba]{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.progress-text[data-v-cb63a6ba]{font-size:20px;font-weight:600;mix-blend-mode:difference}.el-progress-bar__inner[data-v-cb63a6ba]{border-radius:0;background:#00000057;transform:rotate(180deg);right:0;left:unset}.progress-box[data-v-1c137152]{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.progress-text[data-v-1c137152]{font-size:20px;font-weight:600;mix-blend-mode:difference}.el-progress-bar__inner[data-v-1c137152]{border-radius:0;background:#00000057;transform:rotate(180deg);right:0;left:unset}[data-v-eaecb285] .el-upload-list__item:hover{background-color:unset}[data-v-eaecb285] .el-upload-list{margin:0;padding-left:0;list-style:none}[data-v-eaecb285] .el-upload-list .el-upload{transition:all .5s cubic-bezier(.55,0,.1,1)}[data-v-eaecb285] .el-upload.el-upload--text{justify-content:flex-start;text-align:left}.in-range{height:30px!important}.common-date-picker.el-date-table-cell .el-date-table-cell__text{height:30px!important;width:30px!important;position:relative}.common-date-picker.el-date-table-cell .el-date-table-cell__text .common-holiday-name{line-height:18px}.common-date-picker.el-date-table-cell .common-holiday-name{font-size:8px;position:absolute;bottom:-2px;text-align:center;width:100%;height:18px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.common-date-picker.el-date-table-cell .common-isWork{color:red;font-size:8px;position:absolute;right:0;top:-4px}.common-pagination[data-v-b11e7c34]{margin-top:15px;display:flex;justify-content:flex-end}.common-arrow-down[data-v-6375df86]{height:14px;width:14px;margin-right:6px;transform:rotate(-90deg);transition:all .3s ease}.common-arrow-down.up[data-v-6375df86]{transform:rotate(90deg)}.common-right-btns{flex:1}.common-right-btns .el-form-item__content{justify-content:end}.common-table-container.collapse{margin-top:10px}.common-table-container .common-table .el-table-column--selection{text-align:center}.common-table-container .common-table .el-table__body-wrapper .el-table-column--selection>.cell{display:block}.common-table-container .common-table .el-popper{max-width:500px}.el-table--border .el-table__cell{border-right:1px solid transparent}.el-table__header .cell{position:relative}.el-table__header .cell:after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:1px;height:16px;background:#dde2e9}.el-table__header .el-table__cell:last-child .cell:after{width:0}.commonForm-container[data-v-1ef3a6de]{display:flex;transition:all .3s ease;max-height:500px}.commonForm-container.collapse[data-v-1ef3a6de]{overflow:hidden;max-height:32px}.commonForm-container .el-form[data-v-1ef3a6de]{flex:1;margin-right:16px}.el-table--border[data-v-1ef3a6de]:after{width:0}[data-v-1ef3a6de] .el-table__inner-wrapper:after{height:0!important}.el-table[data-v-1ef3a6de]:before{width:0!important}[data-v-1ef3a6de] .el-table__border-left-patch{background:transparent!important}[data-v-1ef3a6de] .el-table .is-last-column{border-right:none!important}
1
+ .common-checkbox-group-vertical .common-checkbox-group-item[data-v-05163454]{display:flex}.infinite-list[data-v-9d7ff865]{list-style:none;padding:0;margin:0}.loading-text[data-v-9d7ff865]{text-align:center;color:#999}.virtual-list-item[data-v-32be3a63]{box-sizing:border-box}.infinite-virtual-list[data-v-6311340a]{list-style:none;padding:0;margin:0}.virtual-list[data-v-6311340a]{position:relative;list-style-type:none}.virtual-list-item[data-v-6311340a]{box-sizing:border-box;overflow:hidden}.virtual-container[data-v-6311340a]{position:relative}.loading-text[data-v-6311340a]{text-align:center;color:#999}.el-image[data-v-cb63a6ba]{width:100%;height:100%}.progress-box[data-v-cb63a6ba]{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.progress-text[data-v-cb63a6ba]{font-size:20px;font-weight:600;mix-blend-mode:difference}.el-progress-bar__inner[data-v-cb63a6ba]{border-radius:0;background:#00000057;transform:rotate(180deg);right:0;left:unset}.progress-box[data-v-d0d49923]{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.progress-text[data-v-d0d49923]{font-size:20px;font-weight:600;mix-blend-mode:difference}.el-progress-bar__inner[data-v-d0d49923]{border-radius:0;background:#00000057;transform:rotate(180deg);right:0;left:unset}[data-v-0ef49258] .el-upload-list__item:hover{background-color:unset}[data-v-0ef49258] .el-upload-list{margin:0;padding-left:0;list-style:none}[data-v-0ef49258] .el-upload-list .el-upload{transition:all .5s cubic-bezier(.55,0,.1,1)}[data-v-0ef49258] .el-upload.el-upload--text{justify-content:flex-start;text-align:left}.in-range{height:30px!important}.common-date-picker.el-date-table-cell .el-date-table-cell__text{height:30px!important;width:30px!important;position:relative}.common-date-picker.el-date-table-cell .el-date-table-cell__text .common-holiday-name{line-height:18px}.common-date-picker.el-date-table-cell .common-holiday-name{font-size:8px;position:absolute;bottom:-2px;text-align:center;width:100%;height:18px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.common-date-picker.el-date-table-cell .common-isWork{color:red;font-size:8px;position:absolute;right:0;top:-4px}.common-pagination[data-v-b11e7c34]{margin-top:15px;display:flex;justify-content:flex-end}.common-arrow-down[data-v-6375df86]{height:14px;width:14px;margin-right:6px;transform:rotate(-90deg);transition:all .3s ease}.common-arrow-down.up[data-v-6375df86]{transform:rotate(90deg)}.common-right-btns{flex:1}.common-right-btns .el-form-item__content{justify-content:end}.common-custom-scrollbar{flex:1;overflow:hidden}.common-table-container.collapse{margin-top:10px}.common-table-container .common-table .el-table-column--selection{text-align:center}.common-table-container .common-table .el-table__body-wrapper .el-table-column--selection>.cell{display:block}.common-table-container .common-table .el-popper{max-width:500px}.el-table--border .el-table__cell{border-right:1px solid transparent}.el-table__header .cell{position:relative}.el-table__header .cell:after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:1px;height:16px;background:#dde2e9}.el-table__header .el-table__cell:last-child .cell:after{width:0}.commonForm-container[data-v-71afdc6f]{display:flex;transition:all .3s ease;max-height:500px}.commonForm-container.collapse[data-v-71afdc6f]{overflow:hidden;max-height:32px}.commonForm-container .el-form[data-v-71afdc6f]{flex:1;margin-right:16px}.el-table--border[data-v-71afdc6f]:after{width:0}[data-v-71afdc6f] .el-table__inner-wrapper:after{height:0!important}.el-table[data-v-71afdc6f]:before{width:0!important}[data-v-71afdc6f] .el-table__border-left-patch{background:transparent!important}[data-v-71afdc6f] .el-table .is-last-column{border-right:none!important}
package/dist/index.js CHANGED
@@ -51449,7 +51449,7 @@ const h3e = { class: "el-upload-list__item-actions" }, p3e = { class: "progress-
51449
51449
  return (u, i) => {
51450
51450
  const d = rt("el-tag");
51451
51451
  return E(), k(Ye, null, [
51452
- s(n).default && s(n).default() ? le(u.$slots, "default", {
51452
+ s(n).default && typeof s(n).default == "function" ? le(u.$slots, "default", {
51453
51453
  key: 0,
51454
51454
  file: u.file
51455
51455
  }, void 0, !0) : (E(), ie(d, {
@@ -51477,7 +51477,7 @@ const h3e = { class: "el-upload-list__item-actions" }, p3e = { class: "progress-
51477
51477
  ], 64);
51478
51478
  };
51479
51479
  }
51480
- }), E3e = /* @__PURE__ */ jo(C3e, [["__scopeId", "data-v-1c137152"]]), b3e = { class: "update-file-container" }, w3e = ["id"], F3e = /* @__PURE__ */ I({
51480
+ }), E3e = /* @__PURE__ */ jo(C3e, [["__scopeId", "data-v-d0d49923"]]), b3e = { class: "update-file-container" }, w3e = ["id"], F3e = /* @__PURE__ */ I({
51481
51481
  __name: "Upload",
51482
51482
  emits: ["update:modelValue", "fileClick"],
51483
51483
  setup(e, { expose: t, emit: n }) {
@@ -51492,7 +51492,11 @@ const h3e = { class: "el-upload-list__item-actions" }, p3e = { class: "progress-
51492
51492
  }, u = (w) => {
51493
51493
  const B = w.name.split(".").pop() || "", M = (w.size ?? 0) / 1024 / 1024;
51494
51494
  return !o.value.accept || !o.value.accept.includes(B) ? (Si.warning("文件格式不对,请调整后重新上传"), !1) : o.value.sizeLimit && M > o.value.sizeLimit ? (Si.warning("文件过大,请调整后重新上传"), !1) : !0;
51495
- }, i = L(a.modelValue || []), d = L(""), f = tn({}), h = async (w) => {
51495
+ };
51496
+ Ee(() => a.modelValue, (w) => {
51497
+ w && (i.value = w);
51498
+ }, { deep: !0 });
51499
+ const i = L(a.modelValue || []), d = L(""), f = tn({}), h = async (w) => {
51496
51500
  const A = w.file, B = new FormData();
51497
51501
  B.append("file", A), f[A.uid] = 0;
51498
51502
  try {
@@ -51627,7 +51631,7 @@ const h3e = { class: "el-upload-list__item-actions" }, p3e = { class: "progress-
51627
51631
  ]);
51628
51632
  };
51629
51633
  }
51630
- }), A3e = /* @__PURE__ */ jo(F3e, [["__scopeId", "data-v-eaecb285"]]), D3e = /* @__PURE__ */ I({
51634
+ }), A3e = /* @__PURE__ */ jo(F3e, [["__scopeId", "data-v-0ef49258"]]), D3e = /* @__PURE__ */ I({
51631
51635
  __name: "InputNumber",
51632
51636
  props: {
51633
51637
  modelValue: {},
@@ -61815,6 +61819,15 @@ const P3e = { class: "common-date-picker el-date-table-cell" }, R3e = { class: "
61815
61819
  type: Boolean,
61816
61820
  default: !0
61817
61821
  },
61822
+ // 序号配置
61823
+ indexConfig: {
61824
+ type: Object,
61825
+ default: () => ({
61826
+ show: !0,
61827
+ title: "序号",
61828
+ width: "80"
61829
+ })
61830
+ },
61818
61831
  // 多选的配置
61819
61832
  selectionConfig: {
61820
61833
  type: Object,
@@ -62044,7 +62057,10 @@ const P3e = { class: "common-date-picker el-date-table-cell" }, R3e = { class: "
62044
62057
  }, h5e = {
62045
62058
  key: 0,
62046
62059
  class: "right-btns"
62047
- }, p5e = { key: 1 }, g5e = { class: "common-custom-container" }, v5e = {
62060
+ }, p5e = {
62061
+ key: 1,
62062
+ class: "common-custom-scrollbar"
62063
+ }, g5e = { class: "common-custom-container" }, v5e = {
62048
62064
  key: 1,
62049
62065
  class: "common-custom-empty"
62050
62066
  }, m5e = {
@@ -62160,6 +62176,16 @@ const P3e = { class: "common-date-picker el-date-table-cell" }, R3e = { class: "
62160
62176
  width: "50",
62161
62177
  selectable: n.selectable
62162
62178
  }, null, 8, ["selectable"])) : ue("", !0),
62179
+ B.indexConfig.show ? (E(), ie(z, {
62180
+ key: 1,
62181
+ label: B.indexConfig.title,
62182
+ width: B.indexConfig.width
62183
+ }, {
62184
+ default: J((Y) => [
62185
+ Bt(Fe((s(u).currentPage - 1) * s(u).pageSize + Y.$index + 1), 1)
62186
+ ]),
62187
+ _: 1
62188
+ }, 8, ["label", "width"])) : ue("", !0),
62163
62189
  (E(!0), k(Ye, null, Et((ne = (K = n.columns) == null ? void 0 : K.filter) == null ? void 0 : ne.call(
62164
62190
  K,
62165
62191
  (Y) => {
@@ -62195,7 +62221,7 @@ const P3e = { class: "common-date-picker el-date-table-cell" }, R3e = { class: "
62195
62221
  ], 64);
62196
62222
  };
62197
62223
  }
62198
- }), E5e = /* @__PURE__ */ jo(C5e, [["__scopeId", "data-v-1ef3a6de"]]), b5e = Qa(E5e), Dv = {
62224
+ }), E5e = /* @__PURE__ */ jo(C5e, [["__scopeId", "data-v-71afdc6f"]]), b5e = Qa(E5e), Dv = {
62199
62225
  CommonButton: Xy,
62200
62226
  CommonButtonGroup: N4,
62201
62227
  CommonRadio: Jy,
package/dist/index.js.gz CHANGED
Binary file