wcz-test 4.6.8 → 4.6.9
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/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1193,7 +1193,7 @@ function AlertDialog({ open, payload, onClose }) {
|
|
|
1193
1193
|
return /* @__PURE__ */ jsxs4(Dialog, { maxWidth: "xs", fullWidth: true, open, onClose: () => onClose(), children: [
|
|
1194
1194
|
/* @__PURE__ */ jsx5(DialogTitle, { children: payload.title ?? t2("Layout.Dialog.Alert") }),
|
|
1195
1195
|
/* @__PURE__ */ jsx5(DialogContent, { children: payload.message }),
|
|
1196
|
-
/* @__PURE__ */ jsx5(DialogActions, { children: /* @__PURE__ */ jsx5(Button, {
|
|
1196
|
+
/* @__PURE__ */ jsx5(DialogActions, { children: /* @__PURE__ */ jsx5(Button, { onClick: () => onClose(), autoFocus: true, children: t2("Layout.Dialog.Confirm") }) })
|
|
1197
1197
|
] });
|
|
1198
1198
|
}
|
|
1199
1199
|
function ConfirmDialog({ open, payload, onClose }) {
|
|
@@ -1202,8 +1202,8 @@ function ConfirmDialog({ open, payload, onClose }) {
|
|
|
1202
1202
|
/* @__PURE__ */ jsx5(DialogTitle, { children: payload.title ?? t2("Layout.Dialog.Confirm") }),
|
|
1203
1203
|
/* @__PURE__ */ jsx5(DialogContent, { children: payload.message }),
|
|
1204
1204
|
/* @__PURE__ */ jsxs4(DialogActions, { children: [
|
|
1205
|
-
/* @__PURE__ */ jsx5(Button, {
|
|
1206
|
-
/* @__PURE__ */ jsx5(Button, {
|
|
1205
|
+
/* @__PURE__ */ jsx5(Button, { onClick: () => onClose(false), children: payload.cancelText ?? t2("Layout.Dialog.Cancel") }),
|
|
1206
|
+
/* @__PURE__ */ jsx5(Button, { onClick: () => onClose(true), autoFocus: true, children: t2("Layout.Dialog.Confirm") })
|
|
1207
1207
|
] })
|
|
1208
1208
|
] });
|
|
1209
1209
|
}
|