paas-component-library 1.0.90 → 1.0.91

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/paas-ui.js CHANGED
@@ -610,7 +610,8 @@ const i9e = /* @__PURE__ */ hr(r9e, [["render", n9e]]), a9e = {
610
610
  this.selectAndOpenMenu(r), this.$router.push(r.key);
611
611
  },
612
612
  onOpenChange(r) {
613
- this.$store.setOpenKeys(r);
613
+ const e = r.find((t) => !this.openKeys.includes(t));
614
+ e ? this.$store.setOpenKeys([e]) : this.$store.setOpenKeys([]);
614
615
  },
615
616
  selectMenuClick() {
616
617
  if (!this.selectValue) {
@@ -686,7 +687,7 @@ function h9e(r, e, t, n, i, o) {
686
687
  ])
687
688
  ]);
688
689
  }
689
- const d9e = /* @__PURE__ */ hr(a9e, [["render", h9e], ["__scopeId", "data-v-f7f0f397"]]);
690
+ const d9e = /* @__PURE__ */ hr(a9e, [["render", h9e], ["__scopeId", "data-v-7d7c930f"]]);
690
691
  var p9e = typeof global == "object" && global && global.Object === Object && global, v9e = typeof self == "object" && self && self.Object === Object && self, tne = p9e || v9e || Function("return this")(), Q0 = tne.Symbol, rne = Object.prototype, m9e = rne.hasOwnProperty, g9e = rne.toString, P1 = Q0 ? Q0.toStringTag : void 0;
691
692
  function O9e(r) {
692
693
  var e = m9e.call(r, P1), t = r[P1];
@@ -22097,10 +22098,15 @@ const pGe = /* @__PURE__ */ hr(hGe, [["render", dGe]]), vGe = Rh({
22097
22098
  name: "PaasPageSelect",
22098
22099
  components: { VNodes: vGe, LeftOutlined: X2, RightOutlined: Y2 },
22099
22100
  inheritAttrs: !1,
22100
- // 添加此行,阻止未声明的属性传递给根元素
22101
22101
  computed: {
22102
22102
  see() {
22103
22103
  return this.$store?.forms?.see || !1;
22104
+ },
22105
+ filteredAttrs() {
22106
+ const r = { ...this.$attrs };
22107
+ return Object.keys(r).forEach((e) => {
22108
+ (e.startsWith("on") || e.startsWith("@") || e.startsWith("on-")) && delete r[e];
22109
+ }), delete r.onChange, r;
22104
22110
  }
22105
22111
  },
22106
22112
  props: {
@@ -22219,7 +22225,7 @@ function OGe(r, e, t, n, i, o) {
22219
22225
  allowClear: !0,
22220
22226
  placeholder: t.placeholder,
22221
22227
  style: t.style
22222
- }, r.$attrs, { onChange: o.change }), {
22228
+ }, o.filteredAttrs, { onChange: o.change }), {
22223
22229
  dropdownRender: ut(({ menuNode: b }) => [
22224
22230
  N(s, {
22225
22231
  value: i.filter,
@@ -22235,7 +22241,6 @@ function OGe(r, e, t, n, i, o) {
22235
22241
  disabled: i.page.current <= 1,
22236
22242
  onClick: o.up,
22237
22243
  type: "link",
22238
- ghost: "",
22239
22244
  size: "small"
22240
22245
  }, {
22241
22246
  default: ut(() => [
@@ -22248,7 +22253,6 @@ function OGe(r, e, t, n, i, o) {
22248
22253
  disabled: !o.hasNextPage,
22249
22254
  onClick: o.down,
22250
22255
  type: "link",
22251
- ghost: "",
22252
22256
  size: "small"
22253
22257
  }, {
22254
22258
  default: ut(() => [
@@ -22769,7 +22773,7 @@ const RGe = /* @__PURE__ */ hr(jGe, [["render", zGe]]), $Ge = {
22769
22773
  filteredAttrs() {
22770
22774
  const r = { ...this.$attrs };
22771
22775
  return Object.keys(r).forEach((e) => {
22772
- (e.startsWith("on") || e.startsWith("@")) && delete r[e];
22776
+ (e.startsWith("on") || e.startsWith("@") || e.startsWith("on-")) && delete r[e];
22773
22777
  }), r;
22774
22778
  }
22775
22779
  },