@newview/ui 1.2.11 → 1.2.13

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.
@@ -58327,6 +58327,7 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
58327
58327
  let filterMultiple = toRaw(e.column).filterMultiple;
58328
58328
  filterData[e.field] = e.values && !this.utilities.isNull(e.values[0]) ? filterMultiple ? e.values : e.values[0] : toRaw(e.datas[0]);
58329
58329
  });
58330
+ this.setPageIndex(1);
58330
58331
  if (!this.utilities.isNull(this.props.option.event) && !this.utilities.isNull(this.props.option.event.event_filterChange)) {
58331
58332
  this.props.option.event.event_filterChange(filterData, params);
58332
58333
  } else {
@@ -59512,8 +59513,8 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
59512
59513
  }
59513
59514
  //#endregion 公开方法 END
59514
59515
  };
59515
- const Grid_vue_vue_type_style_index_0_scoped_b1d2ef6b_lang = "";
59516
- const _withScopeId$3 = (n) => (pushScopeId("data-v-b1d2ef6b"), n = n(), popScopeId(), n);
59516
+ const Grid_vue_vue_type_style_index_0_scoped_cad0be75_lang = "";
59517
+ const _withScopeId$3 = (n) => (pushScopeId("data-v-cad0be75"), n = n(), popScopeId(), n);
59517
59518
  const _hoisted_1$e = { class: "nv-crud nv-pos-r" };
59518
59519
  const _hoisted_2$b = { class: "grid-msg" };
59519
59520
  const _hoisted_3$9 = { class: "nv-crud-body" };
@@ -59578,7 +59579,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
59578
59579
  ], 512), [
59579
59580
  [vShow, _ctx.showSearch]
59580
59581
  ]),
59581
- _ctx.isShowSearchBtn || _ctx.hasToolbar() || _ctx.hasRightToolbar() || _ctx.isHasSlot ? (openBlock(), createElementBlock("div", _hoisted_5$6, [
59582
+ _ctx.isShowSearchBtn || _ctx.hasToolbar() || _ctx.getRefreshBtn() || _ctx.hasRightToolbar() || _ctx.isHasSlot ? (openBlock(), createElementBlock("div", _hoisted_5$6, [
59582
59583
  createVNode(_component_Row, null, {
59583
59584
  default: withCtx(() => [
59584
59585
  createVNode(_component_Col, { flex: "auto" }, {
@@ -59765,7 +59766,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
59765
59766
  ])) : createCommentVNode("", true)
59766
59767
  ]);
59767
59768
  }
59768
- const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-b1d2ef6b"]]);
59769
+ const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-cad0be75"]]);
59769
59770
  const GridCellContent = defineComponent({
59770
59771
  name: "GridCellContent",
59771
59772
  props: {
@@ -61249,6 +61250,7 @@ let GridInstanceJava$1 = class GridInstanceJava2 extends BaseInstance {
61249
61250
  let filterMultiple = toRaw(e.column).filterMultiple;
61250
61251
  filterData[e.field] = e.values && !this.utilities.isNull(e.values[0]) ? filterMultiple ? e.values : e.values[0] : toRaw(e.datas[0]);
61251
61252
  });
61253
+ this.setPageIndex(1);
61252
61254
  if (!this.utilities.isNull(this.props.option.event) && !this.utilities.isNull(this.props.option.event.event_filterChange)) {
61253
61255
  this.props.option.event.event_filterChange(filterData, params);
61254
61256
  } else {
@@ -61785,10 +61787,10 @@ let GridInstanceJava$1 = class GridInstanceJava2 extends BaseInstance {
61785
61787
  }
61786
61788
  break;
61787
61789
  case "refresh":
61790
+ item2.isShow = () => {
61791
+ return !window["rightRefreshIsHide"];
61792
+ };
61788
61793
  if (this.utilities.isNull(item2.onclick)) {
61789
- item2.isShow = () => {
61790
- return !window["rightRefreshIsHide"];
61791
- };
61792
61794
  item2.onclick = () => {
61793
61795
  this.doRefresh();
61794
61796
  };
@@ -62284,8 +62286,8 @@ let GridInstanceJava$1 = class GridInstanceJava2 extends BaseInstance {
62284
62286
  }
62285
62287
  //#endregion 公开方法 END
62286
62288
  };
62287
- const GridJava_vue_vue_type_style_index_0_scoped_bae851ed_lang = "";
62288
- const _withScopeId$2 = (n) => (pushScopeId("data-v-bae851ed"), n = n(), popScopeId(), n);
62289
+ const GridJava_vue_vue_type_style_index_0_scoped_9f5bd71e_lang = "";
62290
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-9f5bd71e"), n = n(), popScopeId(), n);
62289
62291
  const _hoisted_1$a = { class: "nv-crud nv-pos-r" };
62290
62292
  const _hoisted_2$7 = { class: "grid-msg" };
62291
62293
  const _hoisted_3$6 = { class: "nv-crud-body" };
@@ -62350,7 +62352,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
62350
62352
  ], 512), [
62351
62353
  [vShow, _ctx.showSearch]
62352
62354
  ]),
62353
- _ctx.isShowSearchBtn || _ctx.hasToolbar() || _ctx.hasRightToolbar() || _ctx.isHasSlot ? (openBlock(), createElementBlock("div", _hoisted_5$5, [
62355
+ _ctx.isShowSearchBtn || _ctx.hasToolbar() || _ctx.getRefreshBtn() || _ctx.hasRightToolbar() || _ctx.isHasSlot ? (openBlock(), createElementBlock("div", _hoisted_5$5, [
62354
62356
  createVNode(_component_Row, null, {
62355
62357
  default: withCtx(() => [
62356
62358
  createVNode(_component_Col, { flex: "auto" }, {
@@ -62532,7 +62534,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
62532
62534
  ])) : createCommentVNode("", true)
62533
62535
  ]);
62534
62536
  }
62535
- const GridJava = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-bae851ed"]]);
62537
+ const GridJava = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-9f5bd71e"]]);
62536
62538
  const propDefine$p = {
62537
62539
  width: {
62538
62540
  // Box 宽度
@@ -241009,6 +241011,7 @@ class GridInstance extends BaseInstance {
241009
241011
  let filterMultiple = toRaw(e.column).filterMultiple;
241010
241012
  filterData[e.field] = e.values && !this.utilities.isNull(e.values[0]) ? filterMultiple ? e.values : e.values[0] : toRaw(e.datas[0]);
241011
241013
  });
241014
+ this.setPageIndex(1);
241012
241015
  if (!this.utilities.isNull(this.props.option.event) && !this.utilities.isNull(this.props.option.event.event_filterChange)) {
241013
241016
  this.props.option.event.event_filterChange(filterData, params);
241014
241017
  } else {
@@ -242612,6 +242615,7 @@ class GridInstanceJava extends BaseInstance {
242612
242615
  let filterMultiple = toRaw(e.column).filterMultiple;
242613
242616
  filterData[e.field] = e.values && !this.utilities.isNull(e.values[0]) ? filterMultiple ? e.values : e.values[0] : toRaw(e.datas[0]);
242614
242617
  });
242618
+ this.setPageIndex(1);
242615
242619
  if (!this.utilities.isNull(this.props.option.event) && !this.utilities.isNull(this.props.option.event.event_filterChange)) {
242616
242620
  this.props.option.event.event_filterChange(filterData, params);
242617
242621
  } else {
@@ -243148,10 +243152,10 @@ class GridInstanceJava extends BaseInstance {
243148
243152
  }
243149
243153
  break;
243150
243154
  case "refresh":
243155
+ item2.isShow = () => {
243156
+ return !window["rightRefreshIsHide"];
243157
+ };
243151
243158
  if (this.utilities.isNull(item2.onclick)) {
243152
- item2.isShow = () => {
243153
- return !window["rightRefreshIsHide"];
243154
- };
243155
243159
  item2.onclick = () => {
243156
243160
  this.doRefresh();
243157
243161
  };