@newview/ui 1.1.26 → 1.1.27

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.
@@ -33870,6 +33870,15 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
33870
33870
  }
33871
33871
  return "full";
33872
33872
  });
33873
+ /**
33874
+ * 是否斑马纹
33875
+ */
33876
+ __publicField2(this, "getStripe", () => {
33877
+ if (this.props.option.setting) {
33878
+ return this.props.option.setting.stripe == true ? true : false;
33879
+ }
33880
+ return false;
33881
+ });
33873
33882
  /**
33874
33883
  * 显示标题
33875
33884
  * @returns
@@ -34748,8 +34757,8 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
34748
34757
  }
34749
34758
  //#endregion 公开方法 END
34750
34759
  };
34751
- const Grid_vue_vue_type_style_index_0_scoped_00d87d37_lang = "";
34752
- const _withScopeId$1 = (n) => (pushScopeId("data-v-00d87d37"), n = n(), popScopeId(), n);
34760
+ const Grid_vue_vue_type_style_index_0_scoped_d8ee6cc9_lang = "";
34761
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-d8ee6cc9"), n = n(), popScopeId(), n);
34753
34762
  const _hoisted_1$8 = { class: "nv-crud nv-pos-r" };
34754
34763
  const _hoisted_2$6 = { class: "grid-msg" };
34755
34764
  const _hoisted_3$5 = { class: "nv-crud-body" };
@@ -34905,6 +34914,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
34905
34914
  "filter-config": _ctx.getFilterConfig(),
34906
34915
  "span-method": _ctx.rowspanMethod,
34907
34916
  "checkbox-config": _ctx.getCheckboxConfig(),
34917
+ stripe: _ctx.getStripe(),
34908
34918
  onKeydownStart: _ctx.gridEvents.keydownStart,
34909
34919
  onKeydown: _ctx.gridEvents.keydown,
34910
34920
  onKeydownEnd: _ctx.gridEvents.keydownEnd,
@@ -34952,7 +34962,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
34952
34962
  }, null, 8, ["columns", "xTable", "onClearRadioRow", "onDelete", "onAddchild"])
34953
34963
  ]),
34954
34964
  _: 1
34955
- }, 16, ["empty-text", "data", "border", "show-header", "row-class-name", "cell-class-name", "row-config", "edit-config", "tree-config", "edit-rules", "menu-config", "filter-config", "span-method", "checkbox-config", "onKeydownStart", "onKeydown", "onKeydownEnd", "onPaste", "onCopy", "onCut", "onCurrentChange", "onRadioChange", "onCheckboxChange", "onCheckboxAll", "onCheckboxRangeStart", "onCheckboxRangeChange", "onCheckboxRangeEnd", "onCellClick", "onCellDblclick", "onCellMenu", "onCellMouseenter", "onCellMouseleave", "onHeaderCellClick", "onHeaderCellDblclick", "onHeaderCellMenu", "onFooterCellClick", "onFooterCellDblclick", "onFooterCellMenu", "onSortChange", "onFilterChange", "onResizableChange", "onToggleRowExpand", "onToggleTreeExpand", "onMenuClick", "onEditClosed", "onEditActived", "onEditDisabled", "onValidError", "onScroll", "onCustom"]), [
34965
+ }, 16, ["empty-text", "data", "border", "show-header", "row-class-name", "cell-class-name", "row-config", "edit-config", "tree-config", "edit-rules", "menu-config", "filter-config", "span-method", "checkbox-config", "stripe", "onKeydownStart", "onKeydown", "onKeydownEnd", "onPaste", "onCopy", "onCut", "onCurrentChange", "onRadioChange", "onCheckboxChange", "onCheckboxAll", "onCheckboxRangeStart", "onCheckboxRangeChange", "onCheckboxRangeEnd", "onCellClick", "onCellDblclick", "onCellMenu", "onCellMouseenter", "onCellMouseleave", "onHeaderCellClick", "onHeaderCellDblclick", "onHeaderCellMenu", "onFooterCellClick", "onFooterCellDblclick", "onFooterCellMenu", "onSortChange", "onFilterChange", "onResizableChange", "onToggleRowExpand", "onToggleTreeExpand", "onMenuClick", "onEditClosed", "onEditActived", "onEditDisabled", "onValidError", "onScroll", "onCustom"]), [
34956
34966
  [vShow, _ctx.showTable]
34957
34967
  ])
34958
34968
  ], 512)
@@ -34970,7 +34980,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
34970
34980
  ])) : createCommentVNode("", true)
34971
34981
  ]);
34972
34982
  }
34973
- const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-00d87d37"]]);
34983
+ const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-d8ee6cc9"]]);
34974
34984
  const propDefine$m = {
34975
34985
  width: {
34976
34986
  // Box 宽度
@@ -212668,6 +212678,15 @@ class GridInstance extends BaseInstance {
212668
212678
  }
212669
212679
  return "full";
212670
212680
  });
212681
+ /**
212682
+ * 是否斑马纹
212683
+ */
212684
+ __publicField2(this, "getStripe", () => {
212685
+ if (this.props.option.setting) {
212686
+ return this.props.option.setting.stripe == true ? true : false;
212687
+ }
212688
+ return false;
212689
+ });
212671
212690
  /**
212672
212691
  * 显示标题
212673
212692
  * @returns