@cniot/android-pda-components 2.0.0-beta.14 → 2.0.0-beta.15
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 +3 -0
- package/es/index.cjs.js +6 -6
- package/es/index.es.js +7 -3
- package/package.json +1 -1
package/es/index.es.js
CHANGED
|
@@ -18999,7 +18999,9 @@ function Confirm(props) {
|
|
|
18999
18999
|
message,
|
|
19000
19000
|
okText = i18n.get("\u786E\u8BA4"),
|
|
19001
19001
|
cancelText = i18n.get("\u53D6\u6D88"),
|
|
19002
|
-
okButtonType = "primary"
|
|
19002
|
+
okButtonType = "primary",
|
|
19003
|
+
okHotkey,
|
|
19004
|
+
cancelHotkey
|
|
19003
19005
|
} = data;
|
|
19004
19006
|
React__default.useEffect(() => {
|
|
19005
19007
|
const handler = Dialog.show({
|
|
@@ -19016,14 +19018,16 @@ function Confirm(props) {
|
|
|
19016
19018
|
onClick: () => {
|
|
19017
19019
|
onNext(false);
|
|
19018
19020
|
handler.close();
|
|
19019
|
-
}
|
|
19021
|
+
},
|
|
19022
|
+
hotkey: cancelHotkey
|
|
19020
19023
|
}, cancelText), /* @__PURE__ */ React__default.createElement(ButtonV2, {
|
|
19021
19024
|
fullWidth: true,
|
|
19022
19025
|
type: okButtonType,
|
|
19023
19026
|
onClick: () => {
|
|
19024
19027
|
onNext(true);
|
|
19025
19028
|
handler.close();
|
|
19026
|
-
}
|
|
19029
|
+
},
|
|
19030
|
+
hotkey: okHotkey
|
|
19027
19031
|
}, okText)))
|
|
19028
19032
|
});
|
|
19029
19033
|
return () => {
|