react-table-edit 1.4.44 → 1.4.45
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/component/notifications.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6,4 +6,4 @@ export declare const messageBoxConfirm: (t: TFunction<"translation", undefined>,
|
|
|
6
6
|
export declare const messageBoxError: (t: TFunction<"translation", undefined>, message: string, title?: string, btnCancel?: string) => void;
|
|
7
7
|
export declare const notificationError: (param: string) => string;
|
|
8
8
|
export declare const notificationSuccess: (param: string) => string;
|
|
9
|
-
export declare const messageBoxConfirmAsync: (t: TFunction<"translation", undefined>,
|
|
9
|
+
export declare const messageBoxConfirmAsync: (t: TFunction<"translation", undefined>, message: string) => Promise<boolean>;
|
package/dist/index.d.ts
CHANGED
|
@@ -451,7 +451,7 @@ declare const messageBoxConfirm: (t: TFunction<"translation", undefined>, handle
|
|
|
451
451
|
declare const messageBoxError: (t: TFunction<"translation", undefined>, message: string, title?: string, btnCancel?: string) => void;
|
|
452
452
|
declare const notificationError: (param: string) => string;
|
|
453
453
|
declare const notificationSuccess: (param: string) => string;
|
|
454
|
-
declare const messageBoxConfirmAsync: (t: TFunction<"translation", undefined>,
|
|
454
|
+
declare const messageBoxConfirmAsync: (t: TFunction<"translation", undefined>, message: string) => Promise<boolean>;
|
|
455
455
|
|
|
456
456
|
declare const useOnClickOutside: (ref: any, handler: any) => void;
|
|
457
457
|
declare const checkThousandSeparator: (thousandSeparator: any, decimalSeparator: any) => any;
|
package/dist/index.js
CHANGED
|
@@ -39869,7 +39869,7 @@ const notificationError = (param) => {
|
|
|
39869
39869
|
const notificationSuccess = (param) => {
|
|
39870
39870
|
return (toast__default["default"].success(jsxRuntime.jsxs(React$5.Fragment, { children: [jsxRuntime.jsx("div", { className: "toastify-header", children: jsxRuntime.jsx("div", { className: "title-wrapper", children: jsxRuntime.jsx("h6", { className: "toast-title", children: param }) }) }), jsxRuntime.jsx("div", { className: "toastify-body", children: jsxRuntime.jsx("ul", { className: "list-unstyled mb-0", children: jsxRuntime.jsx("li", {}) }) })] })));
|
|
39871
39871
|
};
|
|
39872
|
-
const messageBoxConfirmAsync = async (t,
|
|
39872
|
+
const messageBoxConfirmAsync = async (t, message) => {
|
|
39873
39873
|
return new Promise((resolve) => {
|
|
39874
39874
|
MySwal.fire({
|
|
39875
39875
|
title: t('Confirm'),
|