@fecp/designer 5.2.2 → 5.2.4
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/es/designer.css +34 -34
- package/es/packages/designer/src/packages/form/aside/index.mjs +1 -0
- package/es/packages/designer/src/packages/form/property/widgets.vue.mjs +98 -74
- package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +10 -8
- package/es/packages/vue/src/components/dialog/index.mjs +2 -2
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +16 -2
- package/es/packages/vue/src/components/table/Table.vue.mjs +12 -5
- package/es/packages/vue/src/components/table/TableColumn.vue.mjs +7 -3
- package/es/packages/vue/src/utils/eventFlow/actionHandlers.mjs +23 -16
- package/lib/designer.css +34 -34
- package/lib/packages/designer/src/packages/form/aside/index.js +1 -0
- package/lib/packages/designer/src/packages/form/property/widgets.vue.js +98 -74
- package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +10 -8
- package/lib/packages/vue/src/components/dialog/index.js +2 -2
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +16 -2
- package/lib/packages/vue/src/components/table/Table.vue.js +11 -4
- package/lib/packages/vue/src/components/table/TableColumn.vue.js +7 -3
- package/lib/packages/vue/src/utils/eventFlow/actionHandlers.js +23 -16
- package/package.json +1 -1
|
@@ -461,22 +461,29 @@ async function handleDialog(node, data, fields, context) {
|
|
|
461
461
|
console.error("ui-dialog: 未找到匹配的弹层配置," + (basic == null ? void 0 : basic.dialogId));
|
|
462
462
|
return;
|
|
463
463
|
}
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
464
|
+
try {
|
|
465
|
+
await index$1.openDialog(
|
|
466
|
+
basic.displayFieldName,
|
|
467
|
+
dialog,
|
|
468
|
+
context.instance,
|
|
469
|
+
context.ctx,
|
|
470
|
+
fields,
|
|
471
|
+
data
|
|
472
|
+
);
|
|
473
|
+
return {
|
|
474
|
+
success: true,
|
|
475
|
+
message: "用户已确认",
|
|
476
|
+
shouldShowError: false
|
|
477
|
+
};
|
|
478
|
+
} catch (error) {
|
|
479
|
+
return {
|
|
480
|
+
success: false,
|
|
481
|
+
message: "用户已取消",
|
|
482
|
+
confirmed: false,
|
|
483
|
+
shouldShowError: false
|
|
484
|
+
// 用户取消不提示错误
|
|
485
|
+
};
|
|
486
|
+
}
|
|
480
487
|
}
|
|
481
488
|
const defaultActionHandlers = {
|
|
482
489
|
"page-jump": handlePageJump,
|