@newview/ui 1.1.73 → 1.1.75

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/README.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 1.1.74
2
+ 表单组件配置项增加参数
3
+
1
4
  ### 1.1.72
2
5
  弹窗组件增加事件监听
3
6
 
@@ -58481,6 +58481,10 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
58481
58481
  * 表格数据
58482
58482
  */
58483
58483
  __publicField2(this, "datas", ref([]));
58484
+ /**
58485
+ * 表尾数据
58486
+ */
58487
+ __publicField2(this, "footerData", ref([]));
58484
58488
  /**
58485
58489
  * 页码
58486
58490
  */
@@ -59205,6 +59209,13 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
59205
59209
  __publicField2(this, "setFilter", (field, options2) => {
59206
59210
  this.xTable.value.setFilter(field, options2);
59207
59211
  });
59212
+ /**
59213
+ * 表尾数据赋值
59214
+ * @param datas
59215
+ */
59216
+ __publicField2(this, "setFooterData", (datas) => {
59217
+ this.footerData.value = datas;
59218
+ });
59208
59219
  /**
59209
59220
  * 临时合并单元格
59210
59221
  * @param mergeCells
@@ -59353,8 +59364,8 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
59353
59364
  }
59354
59365
  //#endregion 公开方法 END
59355
59366
  };
59356
- const Grid_vue_vue_type_style_index_0_scoped_380b9368_lang = "";
59357
- const _withScopeId$3 = (n) => (pushScopeId("data-v-380b9368"), n = n(), popScopeId(), n);
59367
+ const Grid_vue_vue_type_style_index_0_scoped_ad6987b7_lang = "";
59368
+ const _withScopeId$3 = (n) => (pushScopeId("data-v-ad6987b7"), n = n(), popScopeId(), n);
59358
59369
  const _hoisted_1$e = { class: "nv-crud nv-pos-r" };
59359
59370
  const _hoisted_2$b = { class: "grid-msg" };
59360
59371
  const _hoisted_3$9 = { class: "nv-crud-body" };
@@ -59496,6 +59507,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
59496
59507
  height: "100%",
59497
59508
  "empty-text": (_a = _ctx.option.setting) == null ? void 0 : _a.emptyText,
59498
59509
  data: _ctx.datas,
59510
+ "footer-data": _ctx.footerData,
59499
59511
  "keep-source": true,
59500
59512
  "column-config": { resizable: true },
59501
59513
  border: _ctx.getBorder(),
@@ -59560,7 +59572,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
59560
59572
  }, null, 8, ["columns", "xTable", "onClearRadioRow", "onDelete", "onAddchild"])
59561
59573
  ]),
59562
59574
  _: 1
59563
- }, 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", "merge-cells", "span-method", "checkbox-config", "stripe", "show-overflow", "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"]), [
59575
+ }, 16, ["empty-text", "data", "footer-data", "border", "show-header", "row-class-name", "cell-class-name", "row-config", "edit-config", "tree-config", "edit-rules", "menu-config", "filter-config", "merge-cells", "span-method", "checkbox-config", "stripe", "show-overflow", "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"]), [
59564
59576
  [vShow, _ctx.showTable]
59565
59577
  ])
59566
59578
  ], 512)
@@ -59578,7 +59590,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
59578
59590
  ])) : createCommentVNode("", true)
59579
59591
  ]);
59580
59592
  }
59581
- const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-380b9368"]]);
59593
+ const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-ad6987b7"]]);
59582
59594
  const GridCellContent = defineComponent({
59583
59595
  name: "GridCellContent",
59584
59596
  props: {
@@ -240917,6 +240929,10 @@ class GridInstance extends BaseInstance {
240917
240929
  * 表格数据
240918
240930
  */
240919
240931
  __publicField2(this, "datas", ref([]));
240932
+ /**
240933
+ * 表尾数据
240934
+ */
240935
+ __publicField2(this, "footerData", ref([]));
240920
240936
  /**
240921
240937
  * 页码
240922
240938
  */
@@ -241641,6 +241657,13 @@ class GridInstance extends BaseInstance {
241641
241657
  __publicField2(this, "setFilter", (field, options2) => {
241642
241658
  this.xTable.value.setFilter(field, options2);
241643
241659
  });
241660
+ /**
241661
+ * 表尾数据赋值
241662
+ * @param datas
241663
+ */
241664
+ __publicField2(this, "setFooterData", (datas) => {
241665
+ this.footerData.value = datas;
241666
+ });
241644
241667
  /**
241645
241668
  * 临时合并单元格
241646
241669
  * @param mergeCells