sand-components-vben 1.5.5 → 1.5.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sand-components-vben",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "description": "",
5
5
  "main": "sand-components-vben.js",
6
6
  "keywords": [],
@@ -1 +1 @@
1
- .ant-select[data-v-dcbd99a5]{width:100%}[data-v-a77ae0a6]{box-sizing:border-box}.upload-image[data-v-a77ae0a6]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start}.image-item[data-v-a77ae0a6]{position:relative;margin-right:8px;margin-bottom:8px}.delete-image[data-v-a77ae0a6]{position:absolute;top:-6px;right:-6px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:#fff;cursor:pointer;background:#000c;border-radius:100px;font-size:12px}.upload-add[data-v-a77ae0a6]{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;margin-right:8px;margin-bottom:8px;overflow:hidden;font-size:13px;background:#00000005;border:1px dashed #d9d9d9;border-radius:4px}.desc[data-v-a77ae0a6]{position:absolute;bottom:-100%;left:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0 6px;font-size:11px;color:#fff;-webkit-user-select:none;user-select:none;background:#000000b3}.upload-add:hover .desc[data-v-a77ae0a6]{bottom:0;transition:.4s}[data-v-a77ae0a6] .ant-image-img{object-fit:cover;border-radius:4px!important}.file-item[data-v-bd1a735e]{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.file-item[data-v-bd1a735e]:last-child{margin-bottom:0}.file-content[data-v-bd1a735e]{max-width:250px}.file-upload-btn[data-v-bd1a735e]{width:116px}.detail-item[data-v-c2e9e171]{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-bottom:20px;font-size:14px}.detail-item .detail-item-lable[data-v-c2e9e171]{width:100%;margin-right:10px;margin-bottom:5px;font-weight:400;color:#00000073}.detail-item .detail-item-value[data-v-c2e9e171]{flex:1;font-weight:400;color:#333}.detail-row .title[data-v-c22531ef]{font-size:16px;font-weight:600;color:#000000e0}.detail-row .content-list[data-v-c22531ef]{display:grid;grid-template-rows:repeat(auto-fill,1fr);margin-top:20px}.employee-status[data-v-df499fe9],.employee-status[data-v-d73aa2b6],.employee-status[data-v-ba9eb6e8]{width:auto}.user-card[data-v-2e674e39]{position:relative;width:280px;padding:0 5px}.user-card .spin-box[data-v-2e674e39]{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#ffffff80}.user-card .user-info[data-v-2e674e39]{display:flex;align-items:center;justify-content:flex-start;width:100%}.user-card .user-info .user-message[data-v-2e674e39]{flex:1}.user-card .user-info .user-message .user-nickname[data-v-2e674e39]{display:flex;align-items:center;justify-content:flex-start;width:100%;font-size:18px;font-weight:700;color:#28282c}.user-card .user-info .user-message .user-job-info[data-v-2e674e39]{display:flex;align-items:center;justify-content:flex-start;width:100%;font-size:12px;line-height:17px;color:#626877}.user-card .user-info .user-message .user-no[data-v-2e674e39]{font-size:12px;line-height:17px;color:#9fa2b0}.user-card .user-info .user-avatar[data-v-2e674e39]{width:66px;height:66px;margin-left:10px}.user-card .user-info .user-avatar img[data-v-2e674e39]{border-radius:50%;height:100%;width:100%}.user-card .user-entry[data-v-2e674e39]{display:flex;align-items:center;justify-content:space-between;height:62px;padding:0 5px;margin-top:14px;background:#f7faff;border-radius:8px}.user-card .user-entry .user-entry-item[data-v-2e674e39]{flex:1}.user-card .user-entry .user-entry-item .user-entry-label[data-v-2e674e39]{width:100%;margin-bottom:4px;font-size:12px;line-height:17px;color:#9fa2b0;text-align:center}.user-card .user-entry .user-entry-item .user-entry-value[data-v-2e674e39]{display:flex;justify-content:center;width:100%;font-size:12px;line-height:17px;color:#28282c;text-align:center}.user-card .user-contact[data-v-2e674e39]{width:100%;margin-top:20px}.user-card .user-contact .user-contact-item[data-v-2e674e39]{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:14px}.user-card .user-contact .user-contact-item .user-contact-label[data-v-2e674e39]{flex:1;font-size:12px;line-height:17px;color:#9fa2b0}.user-card .user-contact .user-contact-item .user-contact-value[data-v-2e674e39]{flex:1;font-size:12px;line-height:17px;color:#28282c;text-align:right}.user-tag[data-v-ee45e259]{display:flex;align-items:center;justify-content:flex-start;height:28px;padding-right:8px;cursor:pointer;background:#efefef;border-radius:100px}.user-tag:hover .close-tag-box[data-v-ee45e259]{display:block!important}.user-tag .avatar[data-v-ee45e259]{position:relative;display:flex;align-items:center;justify-content:center;width:26px;height:26px;font-size:10px;color:#fff;background:#efefef;border:1px solid #888;border-radius:100px}.user-tag .avatar img[data-v-ee45e259]{border-radius:100px;height:100%;width:100%}.user-tag .avatar .close-tag-box[data-v-ee45e259]{display:none}.user-tag .avatar .close-tag[data-v-ee45e259]{position:absolute;top:-5px;right:-5px;display:flex;align-items:center;justify-content:center;width:14px;height:14px;font-size:8px;color:#fff;cursor:pointer;background:#f56c6c;border-radius:100px}.user-tag .nickname[data-v-ee45e259]{display:flex;flex:1;align-items:center;justify-content:flex-end;height:100%;margin-left:5px;overflow:hidden;font-size:12px;color:#212b36}.user-tag-1[data-v-ee45e259]{background:#f1f6ff}.user-tag-1 .avatar[data-v-ee45e259]{background:linear-gradient(138deg,#4e89ff,#7ca3f1,#4e89ff);border:1px solid #4178e8;border-radius:100px}.user-tag-2[data-v-ee45e259]{background:#fff1f8}.user-tag-2 .avatar[data-v-ee45e259]{background:linear-gradient(138deg,#ea66a6,#ff8cc4,#ea66a6);border:1px solid #ea59a0;border-radius:100px}.dept-tree[data-v-ec539fac]{flex-shrink:0;width:250px;height:calc(100% - 65px);border:1px solid #f2f4f6}.dept-tree-list[data-v-ec539fac]{height:calc(100% - 40px);padding:10px 0;overflow:auto}.ant-input-affix-wrapper[data-v-ec539fac]{height:40px;background:#f2f4f6;border:0!important;border-radius:0!important}.ant-input-affix-wrapper-focused[data-v-ec539fac]{box-shadow:none}[data-v-ec539fac] .ant-input{background:#f2f4f6!important}[data-v-ec539fac] .ant-tree-treenode{width:calc(100% - 20px)}[data-v-ec539fac] .ant-tree-node-content-wrapper{width:100%;padding:5px 10px}.select-user-dialog[data-v-d00cb851]{display:flex;justify-content:flex-start;width:100%;height:65vh;max-height:660px}.select-user-dialog .user-list[data-v-d00cb851]{width:calc(100% - 532px);margin:0 16px}.select-user-dialog .user-list .filter-box[data-v-d00cb851]{display:flex;justify-content:flex-start;margin-bottom:20px}.select-user-dialog .user-list .filter-box .filter-item[data-v-d00cb851]{flex:1;margin-right:16px}.select-user-dialog .user-list .button-group[data-v-d00cb851]{display:flex;flex:1;align-items:flex-end;justify-content:flex-end}.select-user-dialog .view-user-list[data-v-d00cb851]{display:flex;flex-shrink:0;flex-direction:column;width:250px}.select-user-dialog .view-user-list .selected-list[data-v-d00cb851]{flex:1;width:100%;max-height:250px;margin-bottom:10px;border:1px solid #f2f4f6}.select-user-dialog .view-user-list .selected-list .title[data-v-d00cb851]{display:flex;align-items:center;justify-content:flex-start;width:100%;height:40px;padding-left:16px;font-size:14px;color:#212b36;background:#f2f4f6}.select-user-dialog .view-user-list .selected-list .list[data-v-d00cb851]{display:flex;flex-wrap:wrap;justify-content:flex-start;padding:10px}.select-user-dialog .view-user-list .selected-list .list .ant-tag[data-v-d00cb851]{margin-right:5px;margin-bottom:5px}.ant-form-item[data-v-d00cb851]{margin-bottom:0}[data-v-d00cb851] .ant-table-cell{padding:10px 16px!important}.select-user[data-v-1ce81ecd]{display:flex;align-items:center;justify-content:flex-start}.select-user .add-user-button[data-v-1ce81ecd]{display:flex;align-items:center;justify-content:flex-start;margin-right:17px;font-size:12px;color:#36f;cursor:pointer;-webkit-user-select:none;user-select:none}.select-user .add-user-button .anticon-plus-circle[data-v-1ce81ecd]{margin-right:5px}.select-user .tag-list[data-v-1ce81ecd]{display:flex;align-items:center;justify-content:flex-start}.select-user .more-btn[data-v-1ce81ecd]{display:flex;align-items:center;justify-content:center;height:28px;padding:0 8px;margin-left:10px;font-size:12px;color:#212b36;cursor:pointer;-webkit-user-select:none;user-select:none;background:#e5e8eb;border-radius:20px}.more-content[data-v-1ce81ecd]{display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:250px}
1
+ .ant-select[data-v-dcbd99a5]{width:100%}[data-v-a77ae0a6]{box-sizing:border-box}.upload-image[data-v-a77ae0a6]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start}.image-item[data-v-a77ae0a6]{position:relative;margin-right:8px;margin-bottom:8px}.delete-image[data-v-a77ae0a6]{position:absolute;top:-6px;right:-6px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:#fff;cursor:pointer;background:#000c;border-radius:100px;font-size:12px}.upload-add[data-v-a77ae0a6]{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;margin-right:8px;margin-bottom:8px;overflow:hidden;font-size:13px;background:#00000005;border:1px dashed #d9d9d9;border-radius:4px}.desc[data-v-a77ae0a6]{position:absolute;bottom:-100%;left:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0 6px;font-size:11px;color:#fff;-webkit-user-select:none;user-select:none;background:#000000b3}.upload-add:hover .desc[data-v-a77ae0a6]{bottom:0;transition:.4s}[data-v-a77ae0a6] .ant-image-img{object-fit:cover;border-radius:4px!important}.file-item[data-v-d80f8785]{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.file-item[data-v-d80f8785]:last-child{margin-bottom:0}.file-content[data-v-d80f8785]{max-width:250px}.file-upload-btn[data-v-d80f8785]{width:116px}.detail-item[data-v-c2e9e171]{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-bottom:20px;font-size:14px}.detail-item .detail-item-lable[data-v-c2e9e171]{width:100%;margin-right:10px;margin-bottom:5px;font-weight:400;color:#00000073}.detail-item .detail-item-value[data-v-c2e9e171]{flex:1;font-weight:400;color:#333}.detail-row .title[data-v-c22531ef]{font-size:16px;font-weight:600;color:#000000e0}.detail-row .content-list[data-v-c22531ef]{display:grid;grid-template-rows:repeat(auto-fill,1fr);margin-top:20px}.employee-status[data-v-df499fe9],.employee-status[data-v-d73aa2b6],.employee-status[data-v-ba9eb6e8]{width:auto}.user-card[data-v-2e674e39]{position:relative;width:280px;padding:0 5px}.user-card .spin-box[data-v-2e674e39]{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#ffffff80}.user-card .user-info[data-v-2e674e39]{display:flex;align-items:center;justify-content:flex-start;width:100%}.user-card .user-info .user-message[data-v-2e674e39]{flex:1}.user-card .user-info .user-message .user-nickname[data-v-2e674e39]{display:flex;align-items:center;justify-content:flex-start;width:100%;font-size:18px;font-weight:700;color:#28282c}.user-card .user-info .user-message .user-job-info[data-v-2e674e39]{display:flex;align-items:center;justify-content:flex-start;width:100%;font-size:12px;line-height:17px;color:#626877}.user-card .user-info .user-message .user-no[data-v-2e674e39]{font-size:12px;line-height:17px;color:#9fa2b0}.user-card .user-info .user-avatar[data-v-2e674e39]{width:66px;height:66px;margin-left:10px}.user-card .user-info .user-avatar img[data-v-2e674e39]{border-radius:50%;height:100%;width:100%}.user-card .user-entry[data-v-2e674e39]{display:flex;align-items:center;justify-content:space-between;height:62px;padding:0 5px;margin-top:14px;background:#f7faff;border-radius:8px}.user-card .user-entry .user-entry-item[data-v-2e674e39]{flex:1}.user-card .user-entry .user-entry-item .user-entry-label[data-v-2e674e39]{width:100%;margin-bottom:4px;font-size:12px;line-height:17px;color:#9fa2b0;text-align:center}.user-card .user-entry .user-entry-item .user-entry-value[data-v-2e674e39]{display:flex;justify-content:center;width:100%;font-size:12px;line-height:17px;color:#28282c;text-align:center}.user-card .user-contact[data-v-2e674e39]{width:100%;margin-top:20px}.user-card .user-contact .user-contact-item[data-v-2e674e39]{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:14px}.user-card .user-contact .user-contact-item .user-contact-label[data-v-2e674e39]{flex:1;font-size:12px;line-height:17px;color:#9fa2b0}.user-card .user-contact .user-contact-item .user-contact-value[data-v-2e674e39]{flex:1;font-size:12px;line-height:17px;color:#28282c;text-align:right}.user-tag[data-v-ee45e259]{display:flex;align-items:center;justify-content:flex-start;height:28px;padding-right:8px;cursor:pointer;background:#efefef;border-radius:100px}.user-tag:hover .close-tag-box[data-v-ee45e259]{display:block!important}.user-tag .avatar[data-v-ee45e259]{position:relative;display:flex;align-items:center;justify-content:center;width:26px;height:26px;font-size:10px;color:#fff;background:#efefef;border:1px solid #888;border-radius:100px}.user-tag .avatar img[data-v-ee45e259]{border-radius:100px;height:100%;width:100%}.user-tag .avatar .close-tag-box[data-v-ee45e259]{display:none}.user-tag .avatar .close-tag[data-v-ee45e259]{position:absolute;top:-5px;right:-5px;display:flex;align-items:center;justify-content:center;width:14px;height:14px;font-size:8px;color:#fff;cursor:pointer;background:#f56c6c;border-radius:100px}.user-tag .nickname[data-v-ee45e259]{display:flex;flex:1;align-items:center;justify-content:flex-end;height:100%;margin-left:5px;overflow:hidden;font-size:12px;color:#212b36}.user-tag-1[data-v-ee45e259]{background:#f1f6ff}.user-tag-1 .avatar[data-v-ee45e259]{background:linear-gradient(138deg,#4e89ff,#7ca3f1,#4e89ff);border:1px solid #4178e8;border-radius:100px}.user-tag-2[data-v-ee45e259]{background:#fff1f8}.user-tag-2 .avatar[data-v-ee45e259]{background:linear-gradient(138deg,#ea66a6,#ff8cc4,#ea66a6);border:1px solid #ea59a0;border-radius:100px}.dept-tree[data-v-ec539fac]{flex-shrink:0;width:250px;height:calc(100% - 65px);border:1px solid #f2f4f6}.dept-tree-list[data-v-ec539fac]{height:calc(100% - 40px);padding:10px 0;overflow:auto}.ant-input-affix-wrapper[data-v-ec539fac]{height:40px;background:#f2f4f6;border:0!important;border-radius:0!important}.ant-input-affix-wrapper-focused[data-v-ec539fac]{box-shadow:none}[data-v-ec539fac] .ant-input{background:#f2f4f6!important}[data-v-ec539fac] .ant-tree-treenode{width:calc(100% - 20px)}[data-v-ec539fac] .ant-tree-node-content-wrapper{width:100%;padding:5px 10px}.select-user-dialog[data-v-d00cb851]{display:flex;justify-content:flex-start;width:100%;height:65vh;max-height:660px}.select-user-dialog .user-list[data-v-d00cb851]{width:calc(100% - 532px);margin:0 16px}.select-user-dialog .user-list .filter-box[data-v-d00cb851]{display:flex;justify-content:flex-start;margin-bottom:20px}.select-user-dialog .user-list .filter-box .filter-item[data-v-d00cb851]{flex:1;margin-right:16px}.select-user-dialog .user-list .button-group[data-v-d00cb851]{display:flex;flex:1;align-items:flex-end;justify-content:flex-end}.select-user-dialog .view-user-list[data-v-d00cb851]{display:flex;flex-shrink:0;flex-direction:column;width:250px}.select-user-dialog .view-user-list .selected-list[data-v-d00cb851]{flex:1;width:100%;max-height:250px;margin-bottom:10px;border:1px solid #f2f4f6}.select-user-dialog .view-user-list .selected-list .title[data-v-d00cb851]{display:flex;align-items:center;justify-content:flex-start;width:100%;height:40px;padding-left:16px;font-size:14px;color:#212b36;background:#f2f4f6}.select-user-dialog .view-user-list .selected-list .list[data-v-d00cb851]{display:flex;flex-wrap:wrap;justify-content:flex-start;padding:10px}.select-user-dialog .view-user-list .selected-list .list .ant-tag[data-v-d00cb851]{margin-right:5px;margin-bottom:5px}.ant-form-item[data-v-d00cb851]{margin-bottom:0}[data-v-d00cb851] .ant-table-cell{padding:10px 16px!important}.select-user[data-v-763f0bd9]{display:flex;align-items:center;justify-content:flex-start}.select-user .add-user-button[data-v-763f0bd9]{display:flex;align-items:center;justify-content:flex-start;margin-right:17px;font-size:12px;color:#36f;cursor:pointer;-webkit-user-select:none;user-select:none}.select-user .add-user-button .anticon-plus-circle[data-v-763f0bd9]{margin-right:5px}.select-user .tag-list[data-v-763f0bd9]{display:flex;align-items:center;justify-content:flex-start}.select-user .more-btn[data-v-763f0bd9]{display:flex;align-items:center;justify-content:center;height:28px;padding:0 8px;margin-left:10px;font-size:12px;color:#212b36;cursor:pointer;-webkit-user-select:none;user-select:none;background:#e5e8eb;border-radius:20px}.more-content[data-v-763f0bd9]{display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:250px}
@@ -6360,6 +6360,11 @@ const Br = /* @__PURE__ */ D({
6360
6360
  type: String,
6361
6361
  default: ""
6362
6362
  },
6363
+ // 上传按钮文字
6364
+ buttonTitle: {
6365
+ type: String,
6366
+ default: "点击上传文件"
6367
+ },
6363
6368
  // 上传提示
6364
6369
  placeholder: {
6365
6370
  type: String,
@@ -6453,9 +6458,9 @@ const Br = /* @__PURE__ */ D({
6453
6458
  disabled: j(a).length >= e.limit,
6454
6459
  style: ve(`width:${parseInt(e.width + "")}px`)
6455
6460
  }, {
6456
- default: F(() => u[2] || (u[2] = [
6457
- Q("点击上传文件")
6458
- ])),
6461
+ default: F(() => [
6462
+ Q(B(e.buttonTitle), 1)
6463
+ ]),
6459
6464
  _: 1
6460
6465
  }, 8, ["disabled", "style"])
6461
6466
  ]),
@@ -6467,7 +6472,7 @@ const Br = /* @__PURE__ */ D({
6467
6472
  });
6468
6473
  };
6469
6474
  }
6470
- }), pd = /* @__PURE__ */ me(dd, [["__scopeId", "data-v-bd1a735e"]]), md = { class: "detail-item-value" }, hd = /* @__PURE__ */ D({
6475
+ }), pd = /* @__PURE__ */ me(dd, [["__scopeId", "data-v-d80f8785"]]), md = { class: "detail-item-value" }, hd = /* @__PURE__ */ D({
6471
6476
  __name: "DetailItem",
6472
6477
  props: {
6473
6478
  label: {
@@ -9079,7 +9084,7 @@ const rm = { class: "avatar" }, om = ["src"], am = { key: 1 }, im = {
9079
9084
  default: ""
9080
9085
  }
9081
9086
  },
9082
- emits: ["change", "update:value"],
9087
+ emits: ["change", "changeList", "update:value"],
9083
9088
  setup(e, { emit: t }) {
9084
9089
  const n = t, r = e, o = se({
9085
9090
  selectUserDialogData: {
@@ -9107,7 +9112,7 @@ const rm = { class: "avatar" }, om = ["src"], am = { key: 1 }, im = {
9107
9112
  a.value = u;
9108
9113
  }
9109
9114
  }), te(a, (u) => {
9110
- console.log(u), n("update:value", u.map((d) => d.id).join(",")), n("change", u), pr(() => {
9115
+ n("update:value", u.map((d) => d.id).join(",")), n("change", u.map((d) => d.id).join(",")), n("changeList", u), pr(() => {
9111
9116
  u.forEach((d, h) => {
9112
9117
  if (h === 0 && (d.marginLeft = "0px"), h > 0 && h < r.maxLength) {
9113
9118
  let m = document.getElementsByClassName("user-tag")[h - 1];
@@ -9175,7 +9180,7 @@ const rm = { class: "avatar" }, om = ["src"], am = { key: 1 }, im = {
9175
9180
  ]);
9176
9181
  };
9177
9182
  }
9178
- }), Mm = /* @__PURE__ */ me(km, [["__scopeId", "data-v-1ce81ecd"]]), jm = [As, Br, ud, pd, gd, xd, Di, Kd, Gd, Mm, us, dr], Hm = function(e) {
9183
+ }), Mm = /* @__PURE__ */ me(km, [["__scopeId", "data-v-763f0bd9"]]), jm = [As, Br, ud, pd, gd, xd, Di, Kd, Gd, Mm, us, dr], Hm = function(e) {
9179
9184
  jm.forEach((t) => {
9180
9185
  e.component(t.name, t);
9181
9186
  });