mass-ui-vue3 1.1.1 → 1.1.2

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/README.md CHANGED
@@ -42,3 +42,5 @@ mu-file-viewer组件,dialog添加append-to-body属性
42
42
  mu-page组件搜索区域,input添加trim属性
43
43
  ## 1.1.1
44
44
  mu-form组件,支持label添加描述
45
+ ## 1.1.2
46
+ mu-form组件,提高字段temp的级别
@@ -1 +1 @@
1
- .el-table[data-v-4b3ffc19] .el-table__inner-wrapper .el-table__header .el-table__cell{text-align:center}.el-table[data-v-4b3ffc19] .el-table__inner-wrapper .el-table__header .el-table__cell .cell{padding:0 4px}.el-table[data-v-4b3ffc19] .el-table__inner-wrapper .el-table__body-wrapper .el-button+.el-button{margin-left:0}.el-form[data-v-6a8c7875]{overflow-x:hidden}[data-v-6a8c7875] .el-form-item .el-form-item__content .el-input,[data-v-6a8c7875] .el-form-item .el-form-item__content .el-select,[data-v-6a8c7875] .el-form-item .el-form-item__content .el-input-tag,[data-v-6a8c7875] .el-form-item .el-form-item__content .el-date-editor,[data-v-6a8c7875] .el-input,.el-input[data-v-6a8c7875],.el-select[data-v-6a8c7875],.el-input-tag[data-v-6a8c7875],.el-date-editor[data-v-6a8c7875],.el-cascader[data-v-6a8c7875]{width:var(--5e6b51f0)}.upper-cash-cont[data-v-6a8c7875]{color:#f56c6c;font-size:12px;margin-top:10px;position:absolute;bottom:-16px;left:0;line-height:1}.desc-title[data-v-3f0d819f]{font-size:16px;font-weight:700;background-color:#fafafa;line-height:44px;padding-left:16px;border-top:1px solid #EBEEF5;border-left:1px solid #EBEEF5;border-right:1px solid #EBEEF5}.descriptions-main[data-v-3f0d819f]{width:100%;position:relative;overflow:hidden;display:flex;flex-wrap:wrap}.descriptions-main[data-v-3f0d819f] .description-item{display:flex}.descriptions-main[data-v-3f0d819f] .description-item .description-label{display:flex;width:var(--labelWidth);line-height:20px;padding:12px 10px;color:#909399;font-size:14px;background:#fafafa;border-right:1px solid #EBEEF5;flex:0 0 auto;align-items:center}.descriptions-main[data-v-3f0d819f] .description-item .description-content{flex:1 1 auto;line-height:20px;padding:12px 10px;width:100%;color:#606266}.descriptions-main.border-cont[data-v-3f0d819f]{border-right:1px solid #EBEEF5;border-bottom:1px solid #EBEEF5}.descriptions-main.border-cont[data-v-3f0d819f] .description-item{position:relative;border-top:1px solid #EBEEF5;border-left:1px solid #EBEEF5}.descriptions-main.border-cont[data-v-3f0d819f] .description-item:before{content:"";width:100%;height:1px;background:#ebeef5;position:absolute;bottom:-1px;left:0}.descriptions-main.border-cont[data-v-3f0d819f]:before{content:"";width:100%;height:1px;background:#ebeef5;position:absolute;top:0;left:0}.descriptions-main.label-left[data-v-3f0d819f] .description-item .description-label{justify-content:flex-start}.descriptions-main.label-center[data-v-3f0d819f] .description-item .description-label{justify-content:center}.descriptions-main.label-right[data-v-3f0d819f] .description-item .description-label{justify-content:flex-end}.description-item[data-v-c1a0b2bb]{width:calc(var(--num) * var(--piece))}.cqy-pagination[data-v-3e8e71cc]{will-change:transform}.flex-item[data-v-7a8acd3b]{width:148px;height:178px}.flex-item.without-name[data-v-7a8acd3b]{height:148px}.flex-item .desc-image[data-v-7a8acd3b]{width:148px;height:148px;border:1px solid #EBEEF5;display:block}.flex-item .file-name[data-v-7a8acd3b]{width:148px;line-height:30px;color:#606266;text-align:center}.file[data-v-7a8acd3b]{width:100%;height:calc(100% - 5px)}.easyshow-cont[data-v-7a8acd3b]{color:#5378ff;padding-left:18px;background-size:14px 14px;background-position:0 center;background-repeat:no-repeat;text-decoration:underline;cursor:pointer}.file-dialog{color:#606266}.file-dialog .el-dialog__body{height:calc(100% - 56px)}.file-dialog .el-dialog__body .view-img{width:100%;height:100%;object-fit:contain}.pre-warp[data-v-e98eb9d3]{white-space:pre-wrap;margin:0;font-family:auto;font-size:14px}.rich-text-cont[data-v-e98eb9d3]{position:relative;overflow:hidden}.sub-title[data-v-e98eb9d3]{width:100%;height:40px;line-height:40px;padding-left:20px;background:#fafafa;border-left:1px solid #EBEEF5;color:#444;font-weight:700}.mu-page[data-v-5f72d934]{--el-text-color-regular: #2D467B;padding:16px;background:#fffc;border-radius:8px}.mu-page .mu-page-search-cont[data-v-5f72d934]{border-bottom:1px solid #E5E9EB}.mu-page .mu-page-search-cont[data-v-5f72d934] .el-form-item{margin-right:var(--app-content-padding);margin-bottom:var(--app-content-padding)}.mu-page .mu-page-search-cont[data-v-5f72d934] .el-form-item .el-input,.mu-page .mu-page-search-cont[data-v-5f72d934] .el-form-item .el-select{width:200px}.mu-page .mu-page-search-cont[data-v-5f72d934] .el-form-item.last-form-item{margin-right:0}.mu-page .mu-page-result-cont[data-v-5f72d934]{margin-top:var(--app-content-padding);background:transparent}.mu-page .mu-page-pagination-cont[data-v-5f72d934]{margin-top:var(--app-content-padding)}.mu-page .mu-page-pagination-cont[data-v-5f72d934] .el-pagination{--el-pagination-button-color: #2D467B}.mu-page .mu-page-pagination-cont[data-v-5f72d934] .el-pagination .el-pagination__total{flex:auto}.mu-page.mu-whole-page[data-v-5f72d934]{background:transparent;border-radius:0;padding:0}.mu-page.mu-whole-page .mu-page-search-cont[data-v-5f72d934]{box-shadow:none;padding-top:0}.el-table[data-v-5f72d934] .el-table__inner-wrapper .el-table__header .el-table__cell{text-align:center}.el-table[data-v-5f72d934] .el-table__inner-wrapper .el-table__header .el-table__cell .cell{padding:0 4px}.el-table[data-v-5f72d934] .el-table__inner-wrapper .el-table__body .el-table__cell .cell{padding:0 8px}.el-table[data-v-5f72d934] .el-table__inner-wrapper .el-table__body .el-button+.el-button{margin-left:0}
1
+ .el-table[data-v-4b3ffc19] .el-table__inner-wrapper .el-table__header .el-table__cell{text-align:center}.el-table[data-v-4b3ffc19] .el-table__inner-wrapper .el-table__header .el-table__cell .cell{padding:0 4px}.el-table[data-v-4b3ffc19] .el-table__inner-wrapper .el-table__body-wrapper .el-button+.el-button{margin-left:0}.el-form[data-v-6a8c7875]{overflow-x:hidden}[data-v-6a8c7875] .el-form-item .el-form-item__content .el-input,[data-v-6a8c7875] .el-form-item .el-form-item__content .el-select,[data-v-6a8c7875] .el-form-item .el-form-item__content .el-input-tag,[data-v-6a8c7875] .el-form-item .el-form-item__content .el-date-editor,[data-v-6a8c7875] .el-input,.el-input[data-v-6a8c7875],.el-select[data-v-6a8c7875],.el-input-tag[data-v-6a8c7875],.el-date-editor[data-v-6a8c7875],.el-cascader[data-v-6a8c7875]{width:var(--5e6b51f0)}.upper-cash-cont[data-v-6a8c7875]{color:#f56c6c;font-size:12px;margin-top:10px;position:absolute;bottom:-16px;left:0;line-height:1}.desc-title[data-v-3f0d819f]{font-size:16px;font-weight:700;background-color:#fafafa;line-height:44px;padding-left:16px;border-top:1px solid #EBEEF5;border-left:1px solid #EBEEF5;border-right:1px solid #EBEEF5}.descriptions-main[data-v-3f0d819f]{width:100%;position:relative;overflow:hidden;display:flex;flex-wrap:wrap}.descriptions-main[data-v-3f0d819f] .description-item{display:flex}.descriptions-main[data-v-3f0d819f] .description-item .description-label{display:flex;width:var(--labelWidth);line-height:20px;padding:12px 10px;color:#909399;font-size:14px;background:#fafafa;border-right:1px solid #EBEEF5;flex:0 0 auto;align-items:center}.descriptions-main[data-v-3f0d819f] .description-item .description-content{flex:1 1 auto;line-height:20px;padding:12px 10px;width:100%;color:#606266}.descriptions-main.border-cont[data-v-3f0d819f]{border-right:1px solid #EBEEF5;border-bottom:1px solid #EBEEF5}.descriptions-main.border-cont[data-v-3f0d819f] .description-item{position:relative;border-top:1px solid #EBEEF5;border-left:1px solid #EBEEF5}.descriptions-main.border-cont[data-v-3f0d819f] .description-item:before{content:"";width:100%;height:1px;background:#ebeef5;position:absolute;bottom:-1px;left:0}.descriptions-main.border-cont[data-v-3f0d819f]:before{content:"";width:100%;height:1px;background:#ebeef5;position:absolute;top:0;left:0}.descriptions-main.label-left[data-v-3f0d819f] .description-item .description-label{justify-content:flex-start}.descriptions-main.label-center[data-v-3f0d819f] .description-item .description-label{justify-content:center}.descriptions-main.label-right[data-v-3f0d819f] .description-item .description-label{justify-content:flex-end}.description-item[data-v-c1a0b2bb]{width:calc(var(--num) * var(--piece))}.cqy-pagination[data-v-3e8e71cc]{will-change:transform}.flex-item[data-v-7a8acd3b]{width:148px;height:178px}.flex-item.without-name[data-v-7a8acd3b]{height:148px}.flex-item .desc-image[data-v-7a8acd3b]{width:148px;height:148px;border:1px solid #EBEEF5;display:block}.flex-item .file-name[data-v-7a8acd3b]{width:148px;line-height:30px;color:#606266;text-align:center}.file[data-v-7a8acd3b]{width:100%;height:calc(100% - 5px)}.easyshow-cont[data-v-7a8acd3b]{color:#5378ff;padding-left:18px;background-size:14px 14px;background-position:0 center;background-repeat:no-repeat;text-decoration:underline;cursor:pointer}.file-dialog{color:#606266}.file-dialog .el-dialog__body{height:calc(100% - 56px)}.file-dialog .el-dialog__body .view-img{width:100%;height:100%;object-fit:contain}.pre-warp[data-v-30ebf9ee]{white-space:pre-wrap;margin:0;font-family:auto;font-size:14px}.rich-text-cont[data-v-30ebf9ee]{position:relative;overflow:hidden}.sub-title[data-v-30ebf9ee]{width:100%;height:40px;line-height:40px;padding-left:20px;background:#fafafa;border-left:1px solid #EBEEF5;color:#444;font-weight:700}.mu-page[data-v-5f72d934]{--el-text-color-regular: #2D467B;padding:16px;background:#fffc;border-radius:8px}.mu-page .mu-page-search-cont[data-v-5f72d934]{border-bottom:1px solid #E5E9EB}.mu-page .mu-page-search-cont[data-v-5f72d934] .el-form-item{margin-right:var(--app-content-padding);margin-bottom:var(--app-content-padding)}.mu-page .mu-page-search-cont[data-v-5f72d934] .el-form-item .el-input,.mu-page .mu-page-search-cont[data-v-5f72d934] .el-form-item .el-select{width:200px}.mu-page .mu-page-search-cont[data-v-5f72d934] .el-form-item.last-form-item{margin-right:0}.mu-page .mu-page-result-cont[data-v-5f72d934]{margin-top:var(--app-content-padding);background:transparent}.mu-page .mu-page-pagination-cont[data-v-5f72d934]{margin-top:var(--app-content-padding)}.mu-page .mu-page-pagination-cont[data-v-5f72d934] .el-pagination{--el-pagination-button-color: #2D467B}.mu-page .mu-page-pagination-cont[data-v-5f72d934] .el-pagination .el-pagination__total{flex:auto}.mu-page.mu-whole-page[data-v-5f72d934]{background:transparent;border-radius:0;padding:0}.mu-page.mu-whole-page .mu-page-search-cont[data-v-5f72d934]{box-shadow:none;padding-top:0}.el-table[data-v-5f72d934] .el-table__inner-wrapper .el-table__header .el-table__cell{text-align:center}.el-table[data-v-5f72d934] .el-table__inner-wrapper .el-table__header .el-table__cell .cell{padding:0 4px}.el-table[data-v-5f72d934] .el-table__inner-wrapper .el-table__body .el-table__cell .cell{padding:0 8px}.el-table[data-v-5f72d934] .el-table__inner-wrapper .el-table__body .el-button+.el-button{margin-left:0}
@@ -22442,13 +22442,13 @@ const vx = { class: "flex align-center" }, hx = {
22442
22442
  }), Ya = /* @__PURE__ */ ma(Lx, [["__scopeId", "data-v-7a8acd3b"]]), Nx = {
22443
22443
  key: 0,
22444
22444
  class: "sub-title"
22445
- }, Vx = {
22445
+ }, Vx = ["innerHTML"], Hx = {
22446
22446
  key: 0,
22447
22447
  class: "flex gap-2 wrap"
22448
- }, Hx = {
22448
+ }, zx = {
22449
22449
  key: 1,
22450
22450
  class: "flex gap-2 wrap"
22451
- }, zx = ["innerHTML"], Wx = ["innerHTML"], jx = ["innerHTML"], Yx = {
22451
+ }, Wx = ["innerHTML"], jx = ["innerHTML"], Yx = {
22452
22452
  key: 9,
22453
22453
  class: "flex wrap gap-spacing"
22454
22454
  }, Kx = /* @__PURE__ */ X({
@@ -22495,8 +22495,12 @@ const vx = { class: "flex align-center" }, hx = {
22495
22495
  default: U(() => {
22496
22496
  var u, d, f, g, y, h, v, w;
22497
22497
  return [
22498
- e.item.formType === "select" || e.item.formType === "radio" ? (C(), P("div", {
22498
+ e.item.useTemp && e.item.temp ? (C(), P("div", {
22499
22499
  key: 0,
22500
+ innerHTML: e.item.temp(e.data),
22501
+ style: Pe(e.item.style)
22502
+ }, null, 12, Vx)) : e.item.formType === "select" || e.item.formType === "radio" ? (C(), P("div", {
22503
+ key: 1,
22500
22504
  style: Pe(e.item.style)
22501
22505
  }, [
22502
22506
  e.item.prop.includes(".") ? (C(), P(ue, { key: 0 }, [
@@ -22505,7 +22509,7 @@ const vx = { class: "flex align-center" }, hx = {
22505
22509
  Te(se((((d = e.item.options) == null ? void 0 : d.find((p) => p[e.item.value || "value"] === e.data[e.item.prop])) || {})[e.item.key || "label"]), 1)
22506
22510
  ], 64))
22507
22511
  ], 4)) : e.item.formType === "checkbox" ? (C(), P("div", {
22508
- key: 1,
22512
+ key: 2,
22509
22513
  style: Pe(e.item.style)
22510
22514
  }, [
22511
22515
  e.item.prop.includes(".") ? (C(), P(ue, { key: 0 }, [
@@ -22519,8 +22523,8 @@ const vx = { class: "flex align-center" }, hx = {
22519
22523
  return (I = e.data[e.item.prop]) == null ? void 0 : I.includes(p[e.item.value || "value"]);
22520
22524
  })) == null ? void 0 : h.map((p) => p[e.item.key || "label"]).join(", ")), 1)
22521
22525
  ], 64))
22522
- ], 4)) : e.item.formType === "inputTag" ? (C(), P(ue, { key: 2 }, [
22523
- e.item.prop.includes(".") ? (C(), P("div", Vx, [
22526
+ ], 4)) : e.item.formType === "inputTag" ? (C(), P(ue, { key: 3 }, [
22527
+ e.item.prop.includes(".") ? (C(), P("div", Hx, [
22524
22528
  (C(!0), P(ue, null, Fe(e.data[e.item.prop.split(".")[0]][e.item.prop.split(".")[1]], (p) => (C(), G(l(la), {
22525
22529
  key: p,
22526
22530
  type: e.item.tagType
@@ -22530,7 +22534,7 @@ const vx = { class: "flex align-center" }, hx = {
22530
22534
  ]),
22531
22535
  _: 2
22532
22536
  }, 1032, ["type"]))), 128))
22533
- ])) : (C(), P("div", Hx, [
22537
+ ])) : (C(), P("div", zx, [
22534
22538
  (C(!0), P(ue, null, Fe(e.data[e.item.prop], (p) => (C(), G(l(la), {
22535
22539
  key: p,
22536
22540
  type: e.item.tagType
@@ -22542,7 +22546,7 @@ const vx = { class: "flex align-center" }, hx = {
22542
22546
  }, 1032, ["type"]))), 128))
22543
22547
  ]))
22544
22548
  ], 64)) : e.item.formType === "step" ? (C(), G(l(II), {
22545
- key: 3,
22549
+ key: 4,
22546
22550
  space: e.item.space,
22547
22551
  active: e.item.active,
22548
22552
  "align-center": "",
@@ -22556,13 +22560,9 @@ const vx = { class: "flex align-center" }, hx = {
22556
22560
  ]),
22557
22561
  _: 1
22558
22562
  }, 8, ["space", "active"])) : e.item.formType === "cascader" ? (C(), P("p", {
22559
- key: 4,
22560
- style: Pe(e.item.style)
22561
- }, se(o(e.data[e.item.prop], e.item.options || [], e.item.key || "label", e.item.value || "value")), 5)) : e.item.useTemp && e.item.temp ? (C(), P("div", {
22562
22563
  key: 5,
22563
- innerHTML: e.item.temp(e.data),
22564
22564
  style: Pe(e.item.style)
22565
- }, null, 12, zx)) : e.item.preText ? (C(), P(ue, { key: 6 }, [
22565
+ }, se(o(e.data[e.item.prop], e.item.options || [], e.item.key || "label", e.item.value || "value")), 5)) : e.item.preText ? (C(), P(ue, { key: 6 }, [
22566
22566
  e.item.prop.includes(".") ? (C(), P("pre", {
22567
22567
  key: 0,
22568
22568
  class: "pre-warp",
@@ -22671,7 +22671,7 @@ const vx = { class: "flex align-center" }, hx = {
22671
22671
  _: 1
22672
22672
  }, 8, ["label", "span"])) : $("", !0);
22673
22673
  }
22674
- }), zr = /* @__PURE__ */ ma(Kx, [["__scopeId", "data-v-e98eb9d3"]]), Ux = { class: "flex wrap gap-1" }, Qx = /* @__PURE__ */ X({
22674
+ }), zr = /* @__PURE__ */ ma(Kx, [["__scopeId", "data-v-30ebf9ee"]]), Ux = { class: "flex wrap gap-1" }, Qx = /* @__PURE__ */ X({
22675
22675
  __name: "mu-file-cont",
22676
22676
  props: {
22677
22677
  data: {