@newview/ui 1.1.76 → 1.1.77
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/newview-ui.js +27 -4
- package/dist/newview-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/types/Grid.d.ts +5 -0
package/dist/newview-ui.js
CHANGED
|
@@ -58024,6 +58024,17 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
|
|
|
58024
58024
|
return this.props.option.event.event_rowspanMethod({ row, _rowIndex, column, visibleData });
|
|
58025
58025
|
}
|
|
58026
58026
|
});
|
|
58027
|
+
/**
|
|
58028
|
+
* 表尾数据
|
|
58029
|
+
* @returns
|
|
58030
|
+
*/
|
|
58031
|
+
__publicField2(this, "footerMethod", ({ columns, data: data2 }) => {
|
|
58032
|
+
if (this.props.option.event && this.props.option.event.event_footerMethod) {
|
|
58033
|
+
return this.props.option.event.event_footerMethod({ columns, data: data2 });
|
|
58034
|
+
} else {
|
|
58035
|
+
return [];
|
|
58036
|
+
}
|
|
58037
|
+
});
|
|
58027
58038
|
//#endregion 查询面板 End
|
|
58028
58039
|
/**
|
|
58029
58040
|
* 清除当前选中行
|
|
@@ -59374,8 +59385,8 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
|
|
|
59374
59385
|
}
|
|
59375
59386
|
//#endregion 公开方法 END
|
|
59376
59387
|
};
|
|
59377
|
-
const
|
|
59378
|
-
const _withScopeId$3 = (n) => (pushScopeId("data-v-
|
|
59388
|
+
const Grid_vue_vue_type_style_index_0_scoped_d80176c1_lang = "";
|
|
59389
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-d80176c1"), n = n(), popScopeId(), n);
|
|
59379
59390
|
const _hoisted_1$e = { class: "nv-crud nv-pos-r" };
|
|
59380
59391
|
const _hoisted_2$b = { class: "grid-msg" };
|
|
59381
59392
|
const _hoisted_3$9 = { class: "nv-crud-body" };
|
|
@@ -59532,6 +59543,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
59532
59543
|
"filter-config": _ctx.getFilterConfig(),
|
|
59533
59544
|
"merge-cells": _ctx.getMergeCells(),
|
|
59534
59545
|
"span-method": _ctx.rowspanMethod,
|
|
59546
|
+
"footer-method": _ctx.footerMethod,
|
|
59535
59547
|
"checkbox-config": _ctx.getCheckboxConfig(),
|
|
59536
59548
|
stripe: _ctx.getStripe(),
|
|
59537
59549
|
"show-overflow": _ctx.getShowOverflow(),
|
|
@@ -59583,7 +59595,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
59583
59595
|
}, null, 8, ["columns", "xTable", "onClearRadioRow", "onDelete", "onAddchild"])
|
|
59584
59596
|
]),
|
|
59585
59597
|
_: 1
|
|
59586
|
-
}, 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", "show-footer", "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"]), [
|
|
59598
|
+
}, 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", "footer-method", "checkbox-config", "stripe", "show-overflow", "show-footer", "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"]), [
|
|
59587
59599
|
[vShow, _ctx.showTable]
|
|
59588
59600
|
])
|
|
59589
59601
|
], 512)
|
|
@@ -59601,7 +59613,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
59601
59613
|
])) : createCommentVNode("", true)
|
|
59602
59614
|
]);
|
|
59603
59615
|
}
|
|
59604
|
-
const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
59616
|
+
const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-d80176c1"]]);
|
|
59605
59617
|
const GridCellContent = defineComponent({
|
|
59606
59618
|
name: "GridCellContent",
|
|
59607
59619
|
props: {
|
|
@@ -240483,6 +240495,17 @@ class GridInstance extends BaseInstance {
|
|
|
240483
240495
|
return this.props.option.event.event_rowspanMethod({ row, _rowIndex, column, visibleData });
|
|
240484
240496
|
}
|
|
240485
240497
|
});
|
|
240498
|
+
/**
|
|
240499
|
+
* 表尾数据
|
|
240500
|
+
* @returns
|
|
240501
|
+
*/
|
|
240502
|
+
__publicField2(this, "footerMethod", ({ columns, data: data2 }) => {
|
|
240503
|
+
if (this.props.option.event && this.props.option.event.event_footerMethod) {
|
|
240504
|
+
return this.props.option.event.event_footerMethod({ columns, data: data2 });
|
|
240505
|
+
} else {
|
|
240506
|
+
return [];
|
|
240507
|
+
}
|
|
240508
|
+
});
|
|
240486
240509
|
//#endregion 查询面板 End
|
|
240487
240510
|
/**
|
|
240488
240511
|
* 清除当前选中行
|