@newview/ui 1.1.93 → 1.1.95
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 +6 -0
- package/dist/newview-ui.js +24 -17
- package/dist/newview-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/newview-ui.js
CHANGED
|
@@ -32529,7 +32529,7 @@ let ToolbarInstance$1 = class ToolbarInstance2 extends BaseInstance {
|
|
|
32529
32529
|
}
|
|
32530
32530
|
//#endregion 业务逻辑 END
|
|
32531
32531
|
};
|
|
32532
|
-
const
|
|
32532
|
+
const Toolbar_vue_vue_type_style_index_0_scoped_09e0c64e_lang = "";
|
|
32533
32533
|
const _hoisted_1$i = { class: "toolbar" };
|
|
32534
32534
|
const _hoisted_2$f = { style: { "display": "none" } };
|
|
32535
32535
|
const _hoisted_3$c = { key: 0 };
|
|
@@ -32561,13 +32561,14 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32561
32561
|
onClick: ($event) => item2.onclick ? item2.onclick() : {},
|
|
32562
32562
|
size: item2.size ? item2.size : "default",
|
|
32563
32563
|
title: item2.text,
|
|
32564
|
-
loading: item2.loading ? item2.loading() : false
|
|
32564
|
+
loading: item2.loading ? item2.loading() : false,
|
|
32565
|
+
class: normalizeClass(item2.class)
|
|
32565
32566
|
}, {
|
|
32566
32567
|
default: withCtx(() => [
|
|
32567
32568
|
createTextVNode(toDisplayString(_ctx.isIconButton ? "" : item2.text), 1)
|
|
32568
32569
|
]),
|
|
32569
32570
|
_: 2
|
|
32570
|
-
}, 1032, ["disabled", "icon", "custom-icon", "type", "onClick", "size", "title", "loading"])) : createCommentVNode("", true)
|
|
32571
|
+
}, 1032, ["disabled", "icon", "custom-icon", "type", "onClick", "size", "title", "loading", "class"])) : createCommentVNode("", true)
|
|
32571
32572
|
], 64);
|
|
32572
32573
|
}), 256))
|
|
32573
32574
|
]),
|
|
@@ -32589,8 +32590,9 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32589
32590
|
onClick: ($event) => item2.onclick ? item2.onclick() : {},
|
|
32590
32591
|
title: item2.text,
|
|
32591
32592
|
loading: item2.loading ? item2.loading() : false,
|
|
32592
|
-
key: item2.name
|
|
32593
|
-
|
|
32593
|
+
key: item2.name,
|
|
32594
|
+
class: normalizeClass(item2.class)
|
|
32595
|
+
}, null, 8, ["disabled", "icon", "custom-icon", "onClick", "title", "loading", "class"])) : (openBlock(), createBlock(_component_Button, {
|
|
32594
32596
|
disabled: _ctx.getIsEnable(item2),
|
|
32595
32597
|
icon: _ctx.getIcon(item2),
|
|
32596
32598
|
"custom-icon": item2.icon,
|
|
@@ -32599,13 +32601,14 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32599
32601
|
size: item2.size ? item2.size : "default",
|
|
32600
32602
|
title: item2.name,
|
|
32601
32603
|
loading: item2.loading ? item2.loading() : false,
|
|
32602
|
-
key: item2.name
|
|
32604
|
+
key: item2.name,
|
|
32605
|
+
class: normalizeClass(item2.class)
|
|
32603
32606
|
}, {
|
|
32604
32607
|
default: withCtx(() => [
|
|
32605
32608
|
createTextVNode(toDisplayString(_ctx.isIconButton ? "" : item2.text), 1)
|
|
32606
32609
|
]),
|
|
32607
32610
|
_: 2
|
|
32608
|
-
}, 1032, ["disabled", "icon", "custom-icon", "type", "onClick", "size", "title", "loading"]))
|
|
32611
|
+
}, 1032, ["disabled", "icon", "custom-icon", "type", "onClick", "size", "title", "loading", "class"]))
|
|
32609
32612
|
], 64);
|
|
32610
32613
|
}), 256)),
|
|
32611
32614
|
_ctx.moreOptions.length > 0 ? (openBlock(), createBlock(_component_Dropdown, {
|
|
@@ -32618,7 +32621,8 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32618
32621
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.moreOptions, (item2, index2) => {
|
|
32619
32622
|
return openBlock(), createBlock(_component_DropdownItem, {
|
|
32620
32623
|
key: item2.name,
|
|
32621
|
-
name: item2.name
|
|
32624
|
+
name: item2.name,
|
|
32625
|
+
class: normalizeClass(item2.class)
|
|
32622
32626
|
}, {
|
|
32623
32627
|
default: withCtx(() => [
|
|
32624
32628
|
_ctx.isFaIcon(item2) ? (openBlock(), createElementBlock("i", {
|
|
@@ -32631,7 +32635,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32631
32635
|
createTextVNode(" " + toDisplayString(item2.text), 1)
|
|
32632
32636
|
]),
|
|
32633
32637
|
_: 2
|
|
32634
|
-
}, 1032, ["name"]);
|
|
32638
|
+
}, 1032, ["name", "class"]);
|
|
32635
32639
|
}), 128))
|
|
32636
32640
|
]),
|
|
32637
32641
|
_: 1
|
|
@@ -32653,7 +32657,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32653
32657
|
}))
|
|
32654
32658
|
]);
|
|
32655
32659
|
}
|
|
32656
|
-
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-
|
|
32660
|
+
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-09e0c64e"]]);
|
|
32657
32661
|
const GridCellContent$1 = defineComponent({
|
|
32658
32662
|
name: "GridCellContent",
|
|
32659
32663
|
props: {
|
|
@@ -33229,7 +33233,7 @@ let GridColumnInstance$1 = class GridColumnInstance2 extends BaseInstance {
|
|
|
33229
33233
|
}
|
|
33230
33234
|
};
|
|
33231
33235
|
const GridColumn_vue_vue_type_style_index_0_lang$1 = "";
|
|
33232
|
-
const
|
|
33236
|
+
const GridColumn_vue_vue_type_style_index_1_scoped_e3b1464f_lang = "";
|
|
33233
33237
|
const _hoisted_1$h = { class: "gridColumn" };
|
|
33234
33238
|
const _hoisted_2$e = {
|
|
33235
33239
|
key: 3,
|
|
@@ -33526,6 +33530,9 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33526
33530
|
"min-width": column.minWidth,
|
|
33527
33531
|
width: column.width,
|
|
33528
33532
|
align: _ctx.getAlign(column),
|
|
33533
|
+
"class-name": column.className,
|
|
33534
|
+
"header-class-name": column.headerClassName,
|
|
33535
|
+
"footer-class-name": column.footerClassName,
|
|
33529
33536
|
fixed: "right"
|
|
33530
33537
|
}, {
|
|
33531
33538
|
header: withCtx(() => [
|
|
@@ -33539,7 +33546,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33539
33546
|
type: "text",
|
|
33540
33547
|
size: "small",
|
|
33541
33548
|
disabled: !_ctx.getIsEnableRowButton(btn, row),
|
|
33542
|
-
class: normalizeClass(_ctx.getIsEnableRowButton(btn, row) ? "row-btn_" + btn.type : ""),
|
|
33549
|
+
class: normalizeClass(_ctx.getIsEnableRowButton(btn, row) ? (btn.class ? btn.class : "") + " row-btn_" + btn.type : btn.class ? btn.class : ""),
|
|
33543
33550
|
onClick: ($event) => _ctx.doRunBtnClick(btn, row)
|
|
33544
33551
|
}, {
|
|
33545
33552
|
default: withCtx(() => [
|
|
@@ -33553,7 +33560,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33553
33560
|
}, 1024)
|
|
33554
33561
|
]),
|
|
33555
33562
|
_: 2
|
|
33556
|
-
}, 1032, ["field", "min-width", "width", "align"])) : (openBlock(), createBlock(_component_vxe_column, {
|
|
33563
|
+
}, 1032, ["field", "min-width", "width", "align", "class-name", "header-class-name", "footer-class-name"])) : (openBlock(), createBlock(_component_vxe_column, {
|
|
33557
33564
|
key: 6,
|
|
33558
33565
|
field: column.field,
|
|
33559
33566
|
"min-width": column.minWidth,
|
|
@@ -33595,7 +33602,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
33595
33602
|
}), 256))
|
|
33596
33603
|
]);
|
|
33597
33604
|
}
|
|
33598
|
-
const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-
|
|
33605
|
+
const GridColumn$1 = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-e3b1464f"]]);
|
|
33599
33606
|
const _sfc_main$l = defineComponent({
|
|
33600
33607
|
name: "FilterDaterange",
|
|
33601
33608
|
props: {
|
|
@@ -215133,10 +215140,10 @@ class PrintApi extends BaseInstance {
|
|
|
215133
215140
|
body: prdata,
|
|
215134
215141
|
printReport: () => {
|
|
215135
215142
|
this.countPrintData(vrpdata);
|
|
215136
|
-
},
|
|
215137
|
-
drawerClose: () => {
|
|
215138
|
-
this.luckysheet.destroy();
|
|
215139
215143
|
}
|
|
215144
|
+
// drawerClose:()=>{
|
|
215145
|
+
// this.luckysheet.destroy();
|
|
215146
|
+
// }
|
|
215140
215147
|
}).show();
|
|
215141
215148
|
} else {
|
|
215142
215149
|
this.countPrintData(vrpdata);
|