@bsgoal/common 2.8.1 → 2.8.4

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.mjs CHANGED
@@ -6091,14 +6091,15 @@ const z0 = { class: "bsgoal-base-dialog" }, G0 = { class: "base_dialog" }, k0 =
6091
6091
  c.footer ? Ze(A.$slots, "footer", { key: 0 }, () => [
6092
6092
  _e("span", H0, [
6093
6093
  te(mu, {
6094
- task: S,
6094
+ class: "base_dialog_footer_cancel",
6095
6095
  mode: "cancel",
6096
+ task: S,
6096
6097
  content: c.cancelTxt,
6097
6098
  "has-loading": !1
6098
6099
  }, null, 8, ["content"]),
6099
6100
  te(mu, {
6100
- task: T,
6101
6101
  mode: "confirm",
6102
+ task: T,
6102
6103
  content: c.confirmTxt
6103
6104
  }, null, 8, ["content"])
6104
6105
  ])
@@ -6371,6 +6372,13 @@ const tv = { class: "bsgoal-base-select" }, rv = Object.assign({
6371
6372
  none: {
6372
6373
  type: [String],
6373
6374
  default: "暂无数据"
6375
+ },
6376
+ /**
6377
+ * 是否可清空
6378
+ */
6379
+ clearable: {
6380
+ type: [Boolean],
6381
+ default: !1
6374
6382
  }
6375
6383
  },
6376
6384
  emits: ["update:modelValue", "change"],
@@ -6387,10 +6395,10 @@ const tv = { class: "bsgoal-base-select" }, rv = Object.assign({
6387
6395
  const A = L("el-option"), C = L("el-select");
6388
6396
  return x(), P("div", tv, [
6389
6397
  te(C, {
6390
- clearable: "",
6391
6398
  class: "base_select",
6392
6399
  modelValue: y.value,
6393
6400
  "onUpdate:modelValue": h[0] || (h[0] = (R) => y.value = R),
6401
+ clearable: c.clearable,
6394
6402
  "no-data-text": c.none,
6395
6403
  placeholder: c.placeholder,
6396
6404
  onChange: S
@@ -6403,11 +6411,11 @@ const tv = { class: "bsgoal-base-select" }, rv = Object.assign({
6403
6411
  }, null, 8, ["label", "value"]))), 128))
6404
6412
  ]),
6405
6413
  _: 1
6406
- }, 8, ["modelValue", "no-data-text", "placeholder"])
6414
+ }, 8, ["modelValue", "clearable", "no-data-text", "placeholder"])
6407
6415
  ]);
6408
6416
  };
6409
6417
  }
6410
- }), iv = /* @__PURE__ */ Rt(rv, [["__scopeId", "data-v-08e523ab"]]);
6418
+ }), iv = /* @__PURE__ */ Rt(rv, [["__scopeId", "data-v-258112eb"]]);
6411
6419
  const uv = { class: "bsgoal-base-time" }, av = Object.assign({
6412
6420
  name: "BsgoalBaseTime"
6413
6421
  }, {