ocpview-plus 1.0.13 → 1.0.14
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/ocpviewplus.min.esm.js +60 -6
- package/dist/ocpviewplus.min.js +3 -3
- package/dist/style.css +1 -1
- package/dist/styles/efviewplus.css +1 -1
- package/package.json +1 -1
- package/src/components/grid/editgridbase.vue +5 -0
- package/src/components/masterplate/editgridcard.vue +36 -3
- package/src/components/masterplate/formdetailtwo.vue +14 -3
- package/src/styles/common.less +7 -1
- package/src/styles/components/iconfont/fonts/iconfont.less +12 -4
- package/src/styles/components/iconfont/fonts/iconfont.svg +4 -0
- package/src/styles/components/iconfont/fonts/iconfont.ttf +0 -0
- package/src/styles/components/iconfont/fonts/iconfont.woff +0 -0
- package/src/styles/components/iconfont/fonts/iconfont.woff2 +0 -0
|
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
|
|
|
453
453
|
common.initAnchor(ViewUI2.Anchor);
|
|
454
454
|
};
|
|
455
455
|
const name = "ocpview-plus";
|
|
456
|
-
const version$2 = "1.0.
|
|
456
|
+
const version$2 = "1.0.13";
|
|
457
457
|
const title = "ocpviewPlus";
|
|
458
458
|
const description = "A high quality Service UI components Library with Vue.js";
|
|
459
459
|
const homepage = "";
|
|
@@ -9106,6 +9106,7 @@ const _sfc_main$1F = {
|
|
|
9106
9106
|
labelWidth: 100,
|
|
9107
9107
|
showAddBtn: true,
|
|
9108
9108
|
showDelBatchBtn: true,
|
|
9109
|
+
showZoom: false,
|
|
9109
9110
|
delBatchBtnName: "\u5220\u9664",
|
|
9110
9111
|
addBtnName: "\u65B0\u589E",
|
|
9111
9112
|
editBtnName: "\u7F16\u8F91",
|
|
@@ -9115,6 +9116,7 @@ const _sfc_main$1F = {
|
|
|
9115
9116
|
showAddBtn: true,
|
|
9116
9117
|
showDelBatchBtn: true,
|
|
9117
9118
|
showDelBtn: true,
|
|
9119
|
+
showZoom: false,
|
|
9118
9120
|
delBatchBtnName: "\u5220\u9664",
|
|
9119
9121
|
addBtnName: "\u65B0\u589E",
|
|
9120
9122
|
showEditRowForm: false,
|
|
@@ -9164,6 +9166,9 @@ const _sfc_main$1F = {
|
|
|
9164
9166
|
if (this.myConfig.showDelBatchBtn !== void 0) {
|
|
9165
9167
|
this.showDelBatchBtn = this.myConfig.showDelBatchBtn;
|
|
9166
9168
|
}
|
|
9169
|
+
if (this.myConfig.showZoom !== void 0) {
|
|
9170
|
+
this.showZoom = this.myConfig.showZoom;
|
|
9171
|
+
}
|
|
9167
9172
|
if (this.myConfig.showPage) {
|
|
9168
9173
|
this.myConfig.indexMethod = this.customIndexMethod;
|
|
9169
9174
|
if (this.myConfig.pageSizeNum) {
|
|
@@ -43940,6 +43945,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
43940
43945
|
]);
|
|
43941
43946
|
}
|
|
43942
43947
|
var billquerygrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["render", _sfc_render$t]]);
|
|
43948
|
+
var editgridcard_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
43943
43949
|
const _sfc_main$v = {
|
|
43944
43950
|
name: "meditgridcard",
|
|
43945
43951
|
extends: _sfc_main$1F,
|
|
@@ -43957,6 +43963,8 @@ const _sfc_main$v = {
|
|
|
43957
43963
|
btnStyle: "padding-left:0px;padding-right:0px",
|
|
43958
43964
|
divStyle: "padding-left:24px",
|
|
43959
43965
|
showAddBtn: true,
|
|
43966
|
+
showZoom: false,
|
|
43967
|
+
isFull: false,
|
|
43960
43968
|
showDelBatchBtn: true,
|
|
43961
43969
|
showGrid: true,
|
|
43962
43970
|
showTitle: true,
|
|
@@ -44017,6 +44025,12 @@ const _sfc_main$v = {
|
|
|
44017
44025
|
setShowGrid(value) {
|
|
44018
44026
|
this.showGrid = value;
|
|
44019
44027
|
},
|
|
44028
|
+
setShowZoom(value) {
|
|
44029
|
+
this.showZoom = value;
|
|
44030
|
+
},
|
|
44031
|
+
setZoom() {
|
|
44032
|
+
this.isFull = !this.isFull;
|
|
44033
|
+
},
|
|
44020
44034
|
rowClick(e10) {
|
|
44021
44035
|
if (this.showEffectValue) {
|
|
44022
44036
|
this.curlEffectData = [];
|
|
@@ -44170,12 +44184,14 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
44170
44184
|
])) : createCommentVNode("", true)
|
|
44171
44185
|
], 64)) : createCommentVNode("", true),
|
|
44172
44186
|
createElementVNode("div", {
|
|
44187
|
+
class: normalizeClass(["table-wrapper", { "is--maximize": $data.showZoom && $data.isFull }]),
|
|
44173
44188
|
style: normalizeStyle($data.divStyle)
|
|
44174
44189
|
}, [
|
|
44175
44190
|
_ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
|
|
44176
|
-
renderSlot(_ctx.$slots, "header")
|
|
44191
|
+
renderSlot(_ctx.$slots, "header", {}, void 0, true)
|
|
44177
44192
|
])) : withDirectives((openBlock(), createBlock(_component_Row, {
|
|
44178
44193
|
key: 1,
|
|
44194
|
+
"class-name": "row-box",
|
|
44179
44195
|
type: "flex",
|
|
44180
44196
|
justify: "start",
|
|
44181
44197
|
align: "middle",
|
|
@@ -44225,6 +44241,21 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
44225
44241
|
}, 8, ["style", "disabled", "onClick"])
|
|
44226
44242
|
]),
|
|
44227
44243
|
_: 1
|
|
44244
|
+
})) : createCommentVNode("", true),
|
|
44245
|
+
$data.showZoom ? (openBlock(), createBlock(_component_Col, {
|
|
44246
|
+
key: 3,
|
|
44247
|
+
class: "col-align"
|
|
44248
|
+
}, {
|
|
44249
|
+
default: withCtx(() => [
|
|
44250
|
+
createVNode(_component_Button, {
|
|
44251
|
+
type: "ghost",
|
|
44252
|
+
shape: "circle",
|
|
44253
|
+
title: $data.isFull ? "\u8FD8\u539F" : "\u5168\u5C4F",
|
|
44254
|
+
customIcon: [$data.isFull ? "iconfont icon-custom-minimize" : "iconfont icon-custom-fullscreen"],
|
|
44255
|
+
onClick: $options.setZoom
|
|
44256
|
+
}, null, 8, ["title", "customIcon", "onClick"])
|
|
44257
|
+
]),
|
|
44258
|
+
_: 1
|
|
44228
44259
|
})) : createCommentVNode("", true)
|
|
44229
44260
|
]),
|
|
44230
44261
|
_: 1
|
|
@@ -44371,7 +44402,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
44371
44402
|
}, 512), [
|
|
44372
44403
|
[vShow, $data.showGrid && $data.showEffectValue && $data.showEffectGrid]
|
|
44373
44404
|
])
|
|
44374
|
-
],
|
|
44405
|
+
], 6),
|
|
44375
44406
|
!_ctx.editRowFlag ? (openBlock(), createBlock(_component_Modal, {
|
|
44376
44407
|
key: 2,
|
|
44377
44408
|
modelValue: _ctx.showEditRowForm,
|
|
@@ -44395,7 +44426,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
44395
44426
|
_: 3
|
|
44396
44427
|
}, 512);
|
|
44397
44428
|
}
|
|
44398
|
-
var mEditGridCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render$s]]);
|
|
44429
|
+
var mEditGridCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render$s], ["__scopeId", "data-v-52b06f05"]]);
|
|
44399
44430
|
const _sfc_main$u = {
|
|
44400
44431
|
name: "mformcard",
|
|
44401
44432
|
extends: FormBox,
|
|
@@ -44642,7 +44673,9 @@ const _sfc_main$t = {
|
|
|
44642
44673
|
btnReadOnly: false,
|
|
44643
44674
|
showAddBtn: true,
|
|
44644
44675
|
showDelBatchBtn: true,
|
|
44645
|
-
showForm: true
|
|
44676
|
+
showForm: true,
|
|
44677
|
+
showZoom: false,
|
|
44678
|
+
isFull: false
|
|
44646
44679
|
};
|
|
44647
44680
|
},
|
|
44648
44681
|
props: {
|
|
@@ -44712,6 +44745,9 @@ const _sfc_main$t = {
|
|
|
44712
44745
|
if (this.gridConfig.showDelBatchBtn !== void 0) {
|
|
44713
44746
|
this.showDelBatchBtn = this.gridConfig.showDelBatchBtn;
|
|
44714
44747
|
}
|
|
44748
|
+
if (this.gridConfig.showZoom !== void 0) {
|
|
44749
|
+
this.showZoom = this.gridConfig.showZoom;
|
|
44750
|
+
}
|
|
44715
44751
|
this.gridConfig.addRowBefore = this.addRowBefore;
|
|
44716
44752
|
this.gridConfig.delRowBefore = this.delRowBefore;
|
|
44717
44753
|
this.showChildrenGrid = true;
|
|
@@ -44899,6 +44935,9 @@ const _sfc_main$t = {
|
|
|
44899
44935
|
delRow() {
|
|
44900
44936
|
this.$refs.grid.delBatchRow();
|
|
44901
44937
|
},
|
|
44938
|
+
setShowZoom() {
|
|
44939
|
+
this.isFull = !this.isFull;
|
|
44940
|
+
},
|
|
44902
44941
|
delBatchRow() {
|
|
44903
44942
|
let obj = {};
|
|
44904
44943
|
obj.name = "delRowData";
|
|
@@ -45071,7 +45110,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
45071
45110
|
justify: "start",
|
|
45072
45111
|
align: "middle",
|
|
45073
45112
|
gutter: 0,
|
|
45074
|
-
style: { "margin-bottom": "10px" }
|
|
45113
|
+
style: { "margin-bottom": "10px", "display": "flex" }
|
|
45075
45114
|
}, {
|
|
45076
45115
|
default: withCtx(() => [
|
|
45077
45116
|
$data.showAddBtn ? (openBlock(), createBlock(_component_Col, { key: 0 }, {
|
|
@@ -45116,6 +45155,21 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
45116
45155
|
}, 8, ["disabled", "onClick"])
|
|
45117
45156
|
]),
|
|
45118
45157
|
_: 1
|
|
45158
|
+
})) : createCommentVNode("", true),
|
|
45159
|
+
$data.showZoom ? (openBlock(), createBlock(_component_Col, {
|
|
45160
|
+
key: 3,
|
|
45161
|
+
class: "col-align",
|
|
45162
|
+
style: { "flex": "1", "text-align": "right" }
|
|
45163
|
+
}, {
|
|
45164
|
+
default: withCtx(() => [
|
|
45165
|
+
createVNode(_component_Button, {
|
|
45166
|
+
type: "ghost",
|
|
45167
|
+
shape: "circle",
|
|
45168
|
+
customIcon: [$data.isFull ? "iconfont icon-custom-minimize" : "iconfont icon-custom-fullscreen"],
|
|
45169
|
+
onClick: _ctx.setZoom
|
|
45170
|
+
}, null, 8, ["customIcon", "onClick"])
|
|
45171
|
+
]),
|
|
45172
|
+
_: 1
|
|
45119
45173
|
})) : createCommentVNode("", true)
|
|
45120
45174
|
]),
|
|
45121
45175
|
_: 1
|