react-table-edit 1.4.43 → 1.4.44
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 +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- 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
|
|
9
|
+
export declare const messageBoxConfirmAsync: (t: TFunction<"translation", undefined>, data: any, data2: any, 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
|
|
454
|
+
declare const messageBoxConfirmAsync: (t: TFunction<"translation", undefined>, data: any, data2: any, 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;
|
|
@@ -742,5 +742,5 @@ type TableViewProps = {
|
|
|
742
742
|
};
|
|
743
743
|
declare const TableView: React__default.FC<TableViewProps>;
|
|
744
744
|
|
|
745
|
-
export { ExportExcelComponent, FindNodeByPath, ImportExcelComponent, InputStyleComponent, SelectTable, SelectTableTree, TableView, TabsMenuComponent, Wizard, calculateTableStructure, checkDecimalSeparator, checkThousandSeparator, TableEdit as default, formartNumberic, formatDateTime, generateUUID, isNullOrUndefined, messageBoxConfirm,
|
|
745
|
+
export { ExportExcelComponent, FindNodeByPath, ImportExcelComponent, InputStyleComponent, SelectTable, SelectTableTree, TableView, TabsMenuComponent, Wizard, calculateTableStructure, checkDecimalSeparator, checkThousandSeparator, TableEdit as default, formartNumberic, formatDateTime, generateUUID, isNullOrUndefined, messageBoxConfirm, messageBoxConfirmAsync, messageBoxConfirmDelete, messageBoxError, messageHtmlBoxConfirm, messageHtmlBoxError, notificationError, notificationSuccess, roundNumber, useOnClickOutside };
|
|
746
746
|
export type { FromItemsField, IColumnTable, IColumnsAgg, ICommandItem, IFColumnSelectTable, IFColumnSelectTableTree, IFCurrentPage, IFCurrentPageConfig, IFFilterTable, IFOrderTable, IFPageSize, IFPropsDetail, IFSettingColumns, IFTableEditButton, IFTableEditFormat, IFTableEditPaging, IFTableEditSearchSetting, IFTableEditToolbar, IFTableSelectFormat, IFTableTreeSelectFormat, IFToolbarOptions, IHeaderColumnTable, ISettingFormElement, ISettingNumericElement, ISettingSelectElement };
|
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
|
|
39872
|
+
const messageBoxConfirmAsync = async (t, data, data2, message) => {
|
|
39873
39873
|
return new Promise((resolve) => {
|
|
39874
39874
|
MySwal.fire({
|
|
39875
39875
|
title: t('Confirm'),
|
|
@@ -66174,7 +66174,7 @@ exports.formatDateTime = formatDateTime;
|
|
|
66174
66174
|
exports.generateUUID = generateUUID;
|
|
66175
66175
|
exports.isNullOrUndefined = isNullOrUndefined;
|
|
66176
66176
|
exports.messageBoxConfirm = messageBoxConfirm;
|
|
66177
|
-
exports.
|
|
66177
|
+
exports.messageBoxConfirmAsync = messageBoxConfirmAsync;
|
|
66178
66178
|
exports.messageBoxConfirmDelete = messageBoxConfirmDelete;
|
|
66179
66179
|
exports.messageBoxError = messageBoxError;
|
|
66180
66180
|
exports.messageHtmlBoxConfirm = messageHtmlBoxConfirm;
|