zzz-pc-view 0.0.62 → 0.0.64
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/package.json
CHANGED
package/src/index.es.js
CHANGED
|
@@ -11050,6 +11050,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
11050
11050
|
__name: "CurdFormOperatorView",
|
|
11051
11051
|
props: {
|
|
11052
11052
|
operatorComponents: {},
|
|
11053
|
+
showSaveAndContinueBtn: { type: Boolean },
|
|
11054
|
+
saveBtnOption: {},
|
|
11053
11055
|
size: {},
|
|
11054
11056
|
viewHandler: {}
|
|
11055
11057
|
},
|
|
@@ -11059,6 +11061,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
11059
11061
|
props.viewHandler.changeFormStepIndex(direction);
|
|
11060
11062
|
};
|
|
11061
11063
|
return (_ctx, _cache) => {
|
|
11064
|
+
var _a2;
|
|
11062
11065
|
const _component_el_button = resolveComponent("el-button");
|
|
11063
11066
|
const _component_arrow_right = resolveComponent("arrow-right");
|
|
11064
11067
|
const _component_el_icon = resolveComponent("el-icon");
|
|
@@ -11105,17 +11108,20 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
11105
11108
|
(_ctx.viewHandler.editType.id & unref(ZDecorators).CurdKey.EditTypeEnum.CREATE) === unref(ZDecorators).CurdKey.EditTypeEnum.CREATE ? (openBlock(), createBlock(_component_el_button, {
|
|
11106
11109
|
key: 2,
|
|
11107
11110
|
disabled: _ctx.viewHandler.formDisabled || _ctx.viewHandler.formStepIndex !== _ctx.viewHandler.displayStepFormItemsGroup.length - 1,
|
|
11108
|
-
icon: "SaveSvg",
|
|
11111
|
+
icon: ((_a2 = _ctx.saveBtnOption) == null ? void 0 : _a2.icon) || "SaveSvg",
|
|
11109
11112
|
size: _ctx.size,
|
|
11110
11113
|
type: "primary",
|
|
11111
11114
|
onClick: _ctx.viewHandler.onSaveBtnClick
|
|
11112
11115
|
}, {
|
|
11113
|
-
default: withCtx(() =>
|
|
11114
|
-
|
|
11115
|
-
|
|
11116
|
+
default: withCtx(() => {
|
|
11117
|
+
var _a3;
|
|
11118
|
+
return [
|
|
11119
|
+
createTextVNode(toDisplayString(((_a3 = _ctx.saveBtnOption) == null ? void 0 : _a3.text) || "保存"), 1)
|
|
11120
|
+
];
|
|
11121
|
+
}),
|
|
11116
11122
|
_: 1
|
|
11117
|
-
}, 8, ["disabled", "size", "onClick"])) : createCommentVNode("", true),
|
|
11118
|
-
_ctx.viewHandler.editType.id === unref(ZDecorators).CurdKey.EditTypeEnum.CREATE ? (openBlock(), createBlock(_component_el_button, {
|
|
11123
|
+
}, 8, ["disabled", "icon", "size", "onClick"])) : createCommentVNode("", true),
|
|
11124
|
+
_ctx.viewHandler.editType.id === unref(ZDecorators).CurdKey.EditTypeEnum.CREATE && _ctx.showSaveAndContinueBtn !== false ? (openBlock(), createBlock(_component_el_button, {
|
|
11119
11125
|
key: 3,
|
|
11120
11126
|
disabled: _ctx.viewHandler.formDisabled || _ctx.viewHandler.formStepIndex !== _ctx.viewHandler.displayStepFormItemsGroup.length - 1,
|
|
11121
11127
|
icon: "SaveContinueSvg",
|
|
@@ -11124,7 +11130,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
11124
11130
|
plain: "",
|
|
11125
11131
|
onClick: _ctx.viewHandler.onSaveContinueBtnClick
|
|
11126
11132
|
}, {
|
|
11127
|
-
default: withCtx(() => _cache[
|
|
11133
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
11128
11134
|
createTextVNode("保存并继续")
|
|
11129
11135
|
])),
|
|
11130
11136
|
_: 1
|
|
@@ -11135,7 +11141,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
11135
11141
|
size: _ctx.size,
|
|
11136
11142
|
onClick: _ctx.viewHandler.onCloseEditorBtnClick
|
|
11137
11143
|
}, {
|
|
11138
|
-
default: withCtx(() => _cache[
|
|
11144
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
11139
11145
|
createTextVNode("关闭")
|
|
11140
11146
|
])),
|
|
11141
11147
|
_: 1
|
|
@@ -11329,6 +11335,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
11329
11335
|
__name: "DialogEditorView",
|
|
11330
11336
|
props: {
|
|
11331
11337
|
formHeight: {},
|
|
11338
|
+
showSaveAndContinueBtn: { type: Boolean },
|
|
11339
|
+
saveBtnOption: {},
|
|
11332
11340
|
viewHandler: {}
|
|
11333
11341
|
},
|
|
11334
11342
|
setup(__props) {
|
|
@@ -11352,8 +11360,10 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
11352
11360
|
footer: withCtx(() => [
|
|
11353
11361
|
createVNode(_sfc_main$f, {
|
|
11354
11362
|
"view-handler": _ctx.viewHandler,
|
|
11363
|
+
"save-btn-option": _ctx.saveBtnOption,
|
|
11364
|
+
"show-save-and-continue-btn": _ctx.showSaveAndContinueBtn,
|
|
11355
11365
|
class: "align-right"
|
|
11356
|
-
}, null, 8, ["view-handler"])
|
|
11366
|
+
}, null, 8, ["view-handler", "save-btn-option", "show-save-and-continue-btn"])
|
|
11357
11367
|
]),
|
|
11358
11368
|
default: withCtx(() => [
|
|
11359
11369
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
@@ -11394,6 +11404,8 @@ const _hoisted_1$5 = {
|
|
|
11394
11404
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
11395
11405
|
__name: "DrawerEditorView",
|
|
11396
11406
|
props: {
|
|
11407
|
+
showSaveAndContinueBtn: { type: Boolean },
|
|
11408
|
+
saveBtnOption: {},
|
|
11397
11409
|
viewHandler: {}
|
|
11398
11410
|
},
|
|
11399
11411
|
setup(__props) {
|
|
@@ -11413,9 +11425,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
11413
11425
|
footer: withCtx(() => [
|
|
11414
11426
|
createVNode(_sfc_main$f, {
|
|
11415
11427
|
"view-handler": _ctx.viewHandler,
|
|
11428
|
+
"save-btn-option": _ctx.saveBtnOption,
|
|
11429
|
+
"show-save-and-continue-btn": _ctx.showSaveAndContinueBtn,
|
|
11416
11430
|
size: "large",
|
|
11417
11431
|
class: "align-left"
|
|
11418
|
-
}, null, 8, ["view-handler"])
|
|
11432
|
+
}, null, 8, ["view-handler", "save-btn-option", "show-save-and-continue-btn"])
|
|
11419
11433
|
]),
|
|
11420
11434
|
default: withCtx(() => [
|
|
11421
11435
|
_ctx.viewHandler.editorData ? withDirectives((openBlock(), createBlock(_sfc_main$b, {
|