@newview/ui 1.1.75 → 1.1.76
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 +25 -4
- package/dist/newview-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/types/Grid.d.ts +11 -0
package/dist/newview-ui.js
CHANGED
|
@@ -58345,6 +58345,16 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
|
|
|
58345
58345
|
}
|
|
58346
58346
|
return true;
|
|
58347
58347
|
});
|
|
58348
|
+
/**
|
|
58349
|
+
* 显示表尾
|
|
58350
|
+
* @returns
|
|
58351
|
+
*/
|
|
58352
|
+
__publicField2(this, "getShowFooter", () => {
|
|
58353
|
+
if (this.props.option.setting) {
|
|
58354
|
+
return this.props.option.setting.showFooter;
|
|
58355
|
+
}
|
|
58356
|
+
return false;
|
|
58357
|
+
});
|
|
58348
58358
|
/**
|
|
58349
58359
|
* 行附加 className
|
|
58350
58360
|
* @returns
|
|
@@ -59364,8 +59374,8 @@ let GridInstance$1 = class GridInstance2 extends BaseInstance {
|
|
|
59364
59374
|
}
|
|
59365
59375
|
//#endregion 公开方法 END
|
|
59366
59376
|
};
|
|
59367
|
-
const
|
|
59368
|
-
const _withScopeId$3 = (n) => (pushScopeId("data-v-
|
|
59377
|
+
const Grid_vue_vue_type_style_index_0_scoped_7bbdd43a_lang = "";
|
|
59378
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-7bbdd43a"), n = n(), popScopeId(), n);
|
|
59369
59379
|
const _hoisted_1$e = { class: "nv-crud nv-pos-r" };
|
|
59370
59380
|
const _hoisted_2$b = { class: "grid-msg" };
|
|
59371
59381
|
const _hoisted_3$9 = { class: "nv-crud-body" };
|
|
@@ -59525,6 +59535,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
59525
59535
|
"checkbox-config": _ctx.getCheckboxConfig(),
|
|
59526
59536
|
stripe: _ctx.getStripe(),
|
|
59527
59537
|
"show-overflow": _ctx.getShowOverflow(),
|
|
59538
|
+
"show-footer": _ctx.getShowFooter(),
|
|
59528
59539
|
onKeydownStart: _ctx.gridEvents.keydownStart,
|
|
59529
59540
|
onKeydown: _ctx.gridEvents.keydown,
|
|
59530
59541
|
onKeydownEnd: _ctx.gridEvents.keydownEnd,
|
|
@@ -59572,7 +59583,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
59572
59583
|
}, null, 8, ["columns", "xTable", "onClearRadioRow", "onDelete", "onAddchild"])
|
|
59573
59584
|
]),
|
|
59574
59585
|
_: 1
|
|
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"]), [
|
|
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"]), [
|
|
59576
59587
|
[vShow, _ctx.showTable]
|
|
59577
59588
|
])
|
|
59578
59589
|
], 512)
|
|
@@ -59590,7 +59601,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
59590
59601
|
])) : createCommentVNode("", true)
|
|
59591
59602
|
]);
|
|
59592
59603
|
}
|
|
59593
|
-
const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
59604
|
+
const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-7bbdd43a"]]);
|
|
59594
59605
|
const GridCellContent = defineComponent({
|
|
59595
59606
|
name: "GridCellContent",
|
|
59596
59607
|
props: {
|
|
@@ -240793,6 +240804,16 @@ class GridInstance extends BaseInstance {
|
|
|
240793
240804
|
}
|
|
240794
240805
|
return true;
|
|
240795
240806
|
});
|
|
240807
|
+
/**
|
|
240808
|
+
* 显示表尾
|
|
240809
|
+
* @returns
|
|
240810
|
+
*/
|
|
240811
|
+
__publicField2(this, "getShowFooter", () => {
|
|
240812
|
+
if (this.props.option.setting) {
|
|
240813
|
+
return this.props.option.setting.showFooter;
|
|
240814
|
+
}
|
|
240815
|
+
return false;
|
|
240816
|
+
});
|
|
240796
240817
|
/**
|
|
240797
240818
|
* 行附加 className
|
|
240798
240819
|
* @returns
|