react-js-plugins 3.14.1 → 3.14.2
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 +5 -5
- package/dist/chunkautils/chunk65431.d.ts +0 -6
- package/dist/chunkautils/chunk65431.js +61 -59
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ pnpm add react-js-plugins
|
|
|
20
20
|
|
|
21
21
|
### **Authors**
|
|
22
22
|
|
|
23
|
-
    
|
|
24
24
|
|
|
25
25
|
### **Browser Support**
|
|
26
26
|
|
|
@@ -707,7 +707,7 @@ Decrypts an AES-encrypted string using the provided IV and secret key.
|
|
|
707
707
|
const plainText = _decryptString(ciphertext, iv, "secretKey");
|
|
708
708
|
```
|
|
709
709
|
|
|
710
|
-
### ✅ **_encrypt**
|
|
710
|
+
<!-- ### ✅ **_encrypt**
|
|
711
711
|
|
|
712
712
|
Encrypts a full JSON payload using a **random key and IV**, both of which are **secured by a main secret key**.
|
|
713
713
|
This ensures that each encryption produces a unique ciphertext, even for the same input data.
|
|
@@ -737,9 +737,9 @@ const decryptedPayload = _decrypt(encryptedPayload, "mainSecretKey");
|
|
|
737
737
|
Returns:
|
|
738
738
|
{ userId: 101, role: "admin" }
|
|
739
739
|
*/
|
|
740
|
-
```
|
|
740
|
+
``` -->
|
|
741
741
|
|
|
742
|
-
|
|
742
|
+
### ✅ **_encryptData**
|
|
743
743
|
|
|
744
744
|
Encrypts payload or data using AES encryption with a static IV.
|
|
745
745
|
|
|
@@ -761,7 +761,7 @@ const result = _decryptData({
|
|
|
761
761
|
secretKey: "Base64EncodedSecretKey",
|
|
762
762
|
iv: "Base64EncodedIV"
|
|
763
763
|
});
|
|
764
|
-
```
|
|
764
|
+
```
|
|
765
765
|
|
|
766
766
|
### ✅ **_escapeHTML**
|
|
767
767
|
Escapes special HTML characters to prevent injection or rendering issues.
|
|
@@ -13,12 +13,6 @@ export declare const _encryptString: (text: string, secretKey: string, isRandom?
|
|
|
13
13
|
iv: string;
|
|
14
14
|
};
|
|
15
15
|
export declare const _decryptString: (ciphertext: string, ivBase64: string, secretKey: string) => string;
|
|
16
|
-
export declare const _encrypt: (jsonData: any, secretKey: string) => {
|
|
17
|
-
data: string;
|
|
18
|
-
header: string;
|
|
19
|
-
iv: string;
|
|
20
|
-
} | null;
|
|
21
|
-
export declare const _decrypt: (encryptedPayload: any, secretKey: string) => any;
|
|
22
16
|
export declare const _encryptData: (params: {
|
|
23
17
|
data: any;
|
|
24
18
|
secretKey: string;
|
|
@@ -181,65 +181,67 @@ export var _decryptString = function (ciphertext, ivBase64, secretKey) {
|
|
|
181
181
|
});
|
|
182
182
|
return decryptedText.toString(CryptoJS.enc.Utf8);
|
|
183
183
|
};
|
|
184
|
-
export
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
184
|
+
// export const _encrypt = (jsonData: any, secretKey: string) => {
|
|
185
|
+
// try {
|
|
186
|
+
// if (!jsonData || typeof jsonData !== "object") {
|
|
187
|
+
// throw new Error("Invalid input: jsonData must be a valid JSON object.");
|
|
188
|
+
// }
|
|
189
|
+
// if (!secretKey || typeof secretKey !== "string") {
|
|
190
|
+
// throw new Error("Invalid input: secretKey must be a non-empty string.");
|
|
191
|
+
// }
|
|
192
|
+
// const randomKey = CryptoJS.lib.WordArray.random(16);
|
|
193
|
+
// const randomIv = CryptoJS.lib.WordArray.random(16);
|
|
194
|
+
// const keyIvData = JSON.stringify({
|
|
195
|
+
// key: CryptoJS.enc.Base64.stringify(randomKey),
|
|
196
|
+
// iv: CryptoJS.enc.Base64.stringify(randomIv),
|
|
197
|
+
// });
|
|
198
|
+
// const header = _encryptString(keyIvData, secretKey, false);
|
|
199
|
+
// const encryptedData = CryptoJS.AES.encrypt(
|
|
200
|
+
// JSON.stringify(jsonData),
|
|
201
|
+
// randomKey,
|
|
202
|
+
// {
|
|
203
|
+
// iv: randomIv,
|
|
204
|
+
// mode: CryptoJS.mode.CBC,
|
|
205
|
+
// padding: CryptoJS.pad.Pkcs7,
|
|
206
|
+
// }
|
|
207
|
+
// );
|
|
208
|
+
// return {
|
|
209
|
+
// data: encryptedData.toString(),
|
|
210
|
+
// header: header.ciphertext,
|
|
211
|
+
// iv: header.iv,
|
|
212
|
+
// };
|
|
213
|
+
// } catch (error: any) {
|
|
214
|
+
// console.error("Payload Encryption Error:", error.message);
|
|
215
|
+
// return null;
|
|
216
|
+
// }
|
|
217
|
+
// };
|
|
218
|
+
// export const _decrypt = (encryptedPayload: any, secretKey: string) => {
|
|
219
|
+
// try {
|
|
220
|
+
// if (!encryptedPayload || typeof encryptedPayload !== "object") {
|
|
221
|
+
// throw new Error("Invalid input: 'encryptedPayload' must be a valid object.");
|
|
222
|
+
// }
|
|
223
|
+
// const { data, header, iv } = encryptedPayload;
|
|
224
|
+
// if (!data || !header || !iv) {
|
|
225
|
+
// throw new Error("Invalid encrypted payload: missing data, header, or iv.");
|
|
226
|
+
// }
|
|
227
|
+
// const headerJson = _decryptString(header, iv, secretKey);
|
|
228
|
+
// const { key, iv: dataIv } = JSON.parse(headerJson);
|
|
229
|
+
// const randomKey = CryptoJS.enc.Base64.parse(key);
|
|
230
|
+
// const randomIv = CryptoJS.enc.Base64.parse(dataIv);
|
|
231
|
+
// const decryptedBytes = CryptoJS.AES.decrypt(data, randomKey, {
|
|
232
|
+
// iv: randomIv,
|
|
233
|
+
// mode: CryptoJS.mode.CBC,
|
|
234
|
+
// padding: CryptoJS.pad.Pkcs7,
|
|
235
|
+
// });
|
|
236
|
+
// const decryptedText = decryptedBytes.toString(CryptoJS.enc.Utf8);
|
|
237
|
+
// if (!decryptedText)
|
|
238
|
+
// throw new Error("Decryption failed: invalid key or corrupted data.");
|
|
239
|
+
// return JSON.parse(decryptedText);
|
|
240
|
+
// } catch (error: any) {
|
|
241
|
+
// console.error("Payload Decryption Error:", error.message);
|
|
242
|
+
// return null;
|
|
243
|
+
// }
|
|
244
|
+
// };
|
|
243
245
|
export var _encryptData = function (params) {
|
|
244
246
|
try {
|
|
245
247
|
var data = params.data, secretKey = params.secretKey, iv = params.iv;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import 'nprogress/nprogress.css';
|
|
|
2
2
|
import { LazyLoader } from './chunkautils/chunk23111';
|
|
3
3
|
import { _isNotEmpty, _isLeapYear, _isWeekend, _removeFalsy, _escapeHTML, _handleApi, _handleSafe, _clearRouteState, _UUID } from "./chunkautils/chunk22123";
|
|
4
4
|
import { createAxiosInstance } from "./chunkautils/chunk83454";
|
|
5
|
-
import { _alert, _capitalize, _confirm, _convertToCurrency, _decodeURI, _deepClone, _decryptJson, _decryptString, _dynamicReducer, _encodeURI, _encryptJson, _encryptString, _exportExcel, _flattenArray, _flattenArrayByKey, _findExactRoute, _generatePassword, _genericReducer, _getBrowserInfo, _getCookie, _getFinancialYear, _getStartStopTime, _getStorage, _globalizeDateTime, _formatInternationalDate, _hasElement, _hasItem, _importExcel, _isEmptyArray, _isEmptyObject, _isEqual, _isMobile, _mapObject, _mergeObjects, _parseJSON, _sleep, _promise, _setCookie, _stringifyJSON, _thousandSeparator,
|
|
5
|
+
import { _alert, _capitalize, _confirm, _convertToCurrency, _decodeURI, _deepClone, _decryptJson, _decryptString, _dynamicReducer, _encodeURI, _encryptJson, _encryptString, _exportExcel, _flattenArray, _flattenArrayByKey, _findExactRoute, _generatePassword, _genericReducer, _getBrowserInfo, _getCookie, _getFinancialYear, _getStartStopTime, _getStorage, _globalizeDateTime, _formatInternationalDate, _hasElement, _hasItem, _importExcel, _isEmptyArray, _isEmptyObject, _isEqual, _isMobile, _mapObject, _mergeObjects, _parseJSON, _sleep, _promise, _setCookie, _stringifyJSON, _thousandSeparator, _encryptData, _decryptData, _convertLocalToUTC, _convertUTCToLocal } from "./chunkautils/chunk65431";
|
|
6
6
|
import { _addEventListenerToElement, _allowAlphaKeys, _allowAlphaNumericKeys, _allowDecimalKeys, _clearNode, _cloneElement, _copyText, _domSelector, _filterArrayByKeyValue, _filterByMatchedKey, _filterByMatchingKey, _getChildElements, _getElementAttribute, _getElementsByClass, _getElementsByTag, _getParent, _handlePasteAlphabetKeys, _handlePasteDecimalKeys, _hideElement, _insertHTML, _isDocumentLoaded, _isElementInViewport, _isElementPresent, _isValidBase64, _isValidBlob, _isValidBoolean, _isValidCreditCard, _isValidDate, _isValidDateObject, _isValidDateRange, _isValidDateString, _isValidDateTime, _isValidEmail, _isValidEvent, _isValidFile, _isValidFormData, _isValidFunction, _isValidHexColor, _isValidHTMLElement, _isValidIP, _isValidJSON, _isValidMacAddress, _isValidNode, _isValidNodeList, _isValidNumber, _isValidPassword, _isValidPhoneNumber, _isValidPromise, _isValidRegExp, _isValidString, _isValidTime, _isValidURL, _isValidURLSearchParams, _isValidUUID, _log, _pasteText, _reloadAfterLoad, _removeAllChildren, _removeElement, _removeDuplicateByKey, _removeElementAttribute, _removeEventListenerFromElement, _removeNode, _removeSafeElement, _replaceContent, _runOnIframeLoad, _sanitizeArray, _scrollToElement, _setElementAttribute, _setElementDisabled, _setMultipleStyles, _showElement, _snipDecimals, _throwError, _getQueryString, _onDOMLoad, _onFullReload, _onWindowLoad } from "./chunkautils/chunk75342";
|
|
7
7
|
import { _arrayDiff, _arrayIncludesObject, _arrayIntersection, _arrayToObject, _arrayToObjectByKey, _asyncDebounce, _throttle, _asyncMap, _average, _base64ToBlob, _batchProcess, _bytesToSize, _calPercentage, _chunk, _dateFormat, _dateTransformer, _deepCloneArray, _deepCompareArrays, _deepEqual, _deepMerge, _downloadBase64File, _downloadBlob, _downloadFile, _escapeRegExpMatch, _extractUniqueValues, _extractKeyValues, _extractNestedKeyValues, _fileToBase64, _filterDuplicates, _filterObjectByKey, _findObjectById, _flattenObject, _formatDate, _localeDateFormat, _freeze, _getArrayOfObjectsByProperty, _getKeyByValue, _getKeysByValue, _getMaxMinValue, _getNestedProperty, _getObjectValues, _getPriceAfterTax, _getScrollPosition, _getUniqueValues, _getValueByKey, _groupBy, _handleChildrenMenu, _handleParentNode, _handleParentsMenu, _handlePermissions, _initializeFormValues, _isExactMatch, _isFreeze, _isInArray, _isSeal, _isValidForm, _mapAsync, _mergeArrays, _mergeArraysByKey, _objectToArray, _removeDuplicates, _scrollToTop, _seal, _setNestedProperty, _setTouchedFields, _sortByKey, _swapArrayByKey, _swapArrayElements, _toCamelCase, _transformArray, _transformAsyncData, _updateObjectInArray, _validateFormRef, _combineClasses, _octetToBlob, _uint8ArrayToBlob } from './chunkautils/chunk83453';
|
|
8
8
|
import { _disableDevTools, _isTruncate, _toTitleCase, _truncateText } from './chunkautils/chunk21211';
|
|
9
9
|
import { _getCurrentPath, _getCurrentState, _getLocation, _getTypedState, _go, _goBack, _goForward, _navigate } from './chunkautils/chunk22523';
|
|
10
10
|
import { _injectCSS } from './chunkautils/chunk91172';
|
|
11
|
-
export { LazyLoader, createAxiosInstance, _addEventListenerToElement, _alert, _allowAlphaKeys, _allowAlphaNumericKeys, _allowDecimalKeys, _arrayDiff, _arrayIncludesObject, _arrayIntersection, _arrayToObject, _arrayToObjectByKey, _asyncDebounce, _throttle, _asyncMap, _average, _base64ToBlob, _batchProcess, _bytesToSize, _combineClasses, _clearRouteState, _calPercentage, _capitalize, _chunk, _clearNode, _cloneElement, _confirm, _convertToCurrency, _convertLocalToUTC, _convertUTCToLocal, _copyText, _dateFormat, _dateTransformer, _decodeURI, _deepClone, _deepCloneArray, _deepCompareArrays, _deepEqual, _deepMerge, _decryptJson,
|
|
11
|
+
export { LazyLoader, createAxiosInstance, _addEventListenerToElement, _alert, _allowAlphaKeys, _allowAlphaNumericKeys, _allowDecimalKeys, _arrayDiff, _arrayIncludesObject, _arrayIntersection, _arrayToObject, _arrayToObjectByKey, _asyncDebounce, _throttle, _asyncMap, _average, _base64ToBlob, _batchProcess, _bytesToSize, _combineClasses, _clearRouteState, _calPercentage, _capitalize, _chunk, _clearNode, _cloneElement, _confirm, _convertToCurrency, _convertLocalToUTC, _convertUTCToLocal, _copyText, _dateFormat, _dateTransformer, _decodeURI, _deepClone, _deepCloneArray, _deepCompareArrays, _deepEqual, _deepMerge, _decryptJson, _decryptString, _decryptData, _domSelector, _disableDevTools, _downloadBase64File, _downloadBlob, _downloadFile, _dynamicReducer, _encodeURI, _encryptJson, _encryptString, _encryptData, _escapeRegExpMatch, _exportExcel, _escapeHTML, _extractUniqueValues, _extractKeyValues, _extractNestedKeyValues, _fileToBase64, _filterArrayByKeyValue, _filterByMatchedKey, _filterByMatchingKey, _filterDuplicates, _filterObjectByKey, _findExactRoute, _findObjectById, _flattenArray, _flattenArrayByKey, _flattenObject, _formatDate, _localeDateFormat, _globalizeDateTime, _formatInternationalDate, _freeze, _generatePassword, _genericReducer, _getArrayOfObjectsByProperty, _getBrowserInfo, _getChildElements, _getCookie, _getElementAttribute, _getElementsByClass, _getElementsByTag, _getFinancialYear, _getKeysByValue, _getKeyByValue, _getMaxMinValue, _getNestedProperty, _getObjectValues, _getParent, _getPriceAfterTax, _getScrollPosition, _getStartStopTime, _getStorage, _getUniqueValues, _getValueByKey, _groupBy, _go, _goBack, _goForward, _getCurrentPath, _getCurrentState, _getLocation, _getTypedState, _handleApi, _handleSafe, _handleChildrenMenu, _handleParentNode, _handleParentsMenu, _handlePasteAlphabetKeys, _handlePasteDecimalKeys, _handlePermissions, _hasElement, _hasItem, _hideElement, _importExcel, _initializeFormValues, _insertHTML, _injectCSS, _isLeapYear, _isWeekend, _isTruncate, _isDocumentLoaded, _isElementInViewport, _isElementPresent, _isNotEmpty, _isEmptyArray, _isEmptyObject, _isEqual, _isExactMatch, _isFreeze, _isInArray, _isMobile, _isSeal, _isValidBase64, _isValidBlob, _isValidBoolean, _isValidCreditCard, _isValidDate, _isValidDateObject, _isValidDateRange, _isValidDateString, _isValidDateTime, _isValidEmail, _isValidEvent, _isValidFile, _isValidForm, _isValidFormData, _isValidFunction, _isValidHTMLElement, _isValidHexColor, _isValidIP, _isValidJSON, _isValidMacAddress, _isValidNode, _isValidNodeList, _isValidNumber, _isValidPassword, _isValidPhoneNumber, _isValidPromise, _isValidRegExp, _isValidString, _isValidTime, _isValidURL, _isValidURLSearchParams, _isValidUUID, _log, _mapAsync, _mapObject, _mergeArrays, _mergeArraysByKey, _mergeObjects, _navigate, _objectToArray, _parseJSON, _pasteText, _promise, _reloadAfterLoad, _removeAllChildren, _removeDuplicates, _removeDuplicateByKey, _removeElement, _removeElementAttribute, _removeEventListenerFromElement, _removeNode, _removeFalsy, _removeSafeElement, _replaceContent, _runOnIframeLoad, _sanitizeArray, _scrollToElement, _scrollToTop, _sleep, _seal, _setCookie, _setElementAttribute, _setElementDisabled, _setMultipleStyles, _setNestedProperty, _setTouchedFields, _showElement, _snipDecimals, _sortByKey, _stringifyJSON, _swapArrayByKey, _swapArrayElements, _thousandSeparator, _throwError, _toCamelCase, _truncateText, _toTitleCase, _transformArray, _transformAsyncData, _uint8ArrayToBlob, _updateObjectInArray, _UUID, _validateFormRef, _getQueryString, _onDOMLoad, _onFullReload, _onWindowLoad, _octetToBlob, };
|
package/dist/index.js
CHANGED
|
@@ -2,10 +2,10 @@ import 'nprogress/nprogress.css';
|
|
|
2
2
|
import { LazyLoader } from './chunkautils/chunk23111';
|
|
3
3
|
import { _isNotEmpty, _isLeapYear, _isWeekend, _removeFalsy, _escapeHTML, _handleApi, _handleSafe, _clearRouteState, _UUID } from "./chunkautils/chunk22123";
|
|
4
4
|
import { createAxiosInstance } from "./chunkautils/chunk83454";
|
|
5
|
-
import { _alert, _capitalize, _confirm, _convertToCurrency, _decodeURI, _deepClone, _decryptJson, _decryptString, _dynamicReducer, _encodeURI, _encryptJson, _encryptString, _exportExcel, _flattenArray, _flattenArrayByKey, _findExactRoute, _generatePassword, _genericReducer, _getBrowserInfo, _getCookie, _getFinancialYear, _getStartStopTime, _getStorage, _globalizeDateTime, _formatInternationalDate, _hasElement, _hasItem, _importExcel, _isEmptyArray, _isEmptyObject, _isEqual, _isMobile, _mapObject, _mergeObjects, _parseJSON, _sleep, _promise, _setCookie, _stringifyJSON, _thousandSeparator,
|
|
5
|
+
import { _alert, _capitalize, _confirm, _convertToCurrency, _decodeURI, _deepClone, _decryptJson, _decryptString, _dynamicReducer, _encodeURI, _encryptJson, _encryptString, _exportExcel, _flattenArray, _flattenArrayByKey, _findExactRoute, _generatePassword, _genericReducer, _getBrowserInfo, _getCookie, _getFinancialYear, _getStartStopTime, _getStorage, _globalizeDateTime, _formatInternationalDate, _hasElement, _hasItem, _importExcel, _isEmptyArray, _isEmptyObject, _isEqual, _isMobile, _mapObject, _mergeObjects, _parseJSON, _sleep, _promise, _setCookie, _stringifyJSON, _thousandSeparator, _encryptData, _decryptData, _convertLocalToUTC, _convertUTCToLocal } from "./chunkautils/chunk65431";
|
|
6
6
|
import { _addEventListenerToElement, _allowAlphaKeys, _allowAlphaNumericKeys, _allowDecimalKeys, _clearNode, _cloneElement, _copyText, _domSelector, _filterArrayByKeyValue, _filterByMatchedKey, _filterByMatchingKey, _getChildElements, _getElementAttribute, _getElementsByClass, _getElementsByTag, _getParent, _handlePasteAlphabetKeys, _handlePasteDecimalKeys, _hideElement, _insertHTML, _isDocumentLoaded, _isElementInViewport, _isElementPresent, _isValidBase64, _isValidBlob, _isValidBoolean, _isValidCreditCard, _isValidDate, _isValidDateObject, _isValidDateRange, _isValidDateString, _isValidDateTime, _isValidEmail, _isValidEvent, _isValidFile, _isValidFormData, _isValidFunction, _isValidHexColor, _isValidHTMLElement, _isValidIP, _isValidJSON, _isValidMacAddress, _isValidNode, _isValidNodeList, _isValidNumber, _isValidPassword, _isValidPhoneNumber, _isValidPromise, _isValidRegExp, _isValidString, _isValidTime, _isValidURL, _isValidURLSearchParams, _isValidUUID, _log, _pasteText, _reloadAfterLoad, _removeAllChildren, _removeElement, _removeDuplicateByKey, _removeElementAttribute, _removeEventListenerFromElement, _removeNode, _removeSafeElement, _replaceContent, _runOnIframeLoad, _sanitizeArray, _scrollToElement, _setElementAttribute, _setElementDisabled, _setMultipleStyles, _showElement, _snipDecimals, _throwError, _getQueryString, _onDOMLoad, _onFullReload, _onWindowLoad, } from "./chunkautils/chunk75342";
|
|
7
7
|
import { _arrayDiff, _arrayIncludesObject, _arrayIntersection, _arrayToObject, _arrayToObjectByKey, _asyncDebounce, _throttle, _asyncMap, _average, _base64ToBlob, _batchProcess, _bytesToSize, _calPercentage, _chunk, _dateFormat, _dateTransformer, _deepCloneArray, _deepCompareArrays, _deepEqual, _deepMerge, _downloadBase64File, _downloadBlob, _downloadFile, _escapeRegExpMatch, _extractUniqueValues, _extractKeyValues, _extractNestedKeyValues, _fileToBase64, _filterDuplicates, _filterObjectByKey, _findObjectById, _flattenObject, _formatDate, _localeDateFormat, _freeze, _getArrayOfObjectsByProperty, _getKeyByValue, _getKeysByValue, _getMaxMinValue, _getNestedProperty, _getObjectValues, _getPriceAfterTax, _getScrollPosition, _getUniqueValues, _getValueByKey, _groupBy, _handleChildrenMenu, _handleParentNode, _handleParentsMenu, _handlePermissions, _initializeFormValues, _isExactMatch, _isFreeze, _isInArray, _isSeal, _isValidForm, _mapAsync, _mergeArrays, _mergeArraysByKey, _objectToArray, _removeDuplicates, _scrollToTop, _seal, _setNestedProperty, _setTouchedFields, _sortByKey, _swapArrayByKey, _swapArrayElements, _toCamelCase, _transformArray, _transformAsyncData, _updateObjectInArray, _validateFormRef, _combineClasses, _octetToBlob, _uint8ArrayToBlob } from './chunkautils/chunk83453';
|
|
8
8
|
import { _disableDevTools, _isTruncate, _toTitleCase, _truncateText } from './chunkautils/chunk21211';
|
|
9
9
|
import { _getCurrentPath, _getCurrentState, _getLocation, _getTypedState, _go, _goBack, _goForward, _navigate } from './chunkautils/chunk22523';
|
|
10
10
|
import { _injectCSS } from './chunkautils/chunk91172';
|
|
11
|
-
export { LazyLoader, createAxiosInstance, _addEventListenerToElement, _alert, _allowAlphaKeys, _allowAlphaNumericKeys, _allowDecimalKeys, _arrayDiff, _arrayIncludesObject, _arrayIntersection, _arrayToObject, _arrayToObjectByKey, _asyncDebounce, _throttle, _asyncMap, _average, _base64ToBlob, _batchProcess, _bytesToSize, _combineClasses, _clearRouteState, _calPercentage, _capitalize, _chunk, _clearNode, _cloneElement, _confirm, _convertToCurrency, _convertLocalToUTC, _convertUTCToLocal, _copyText, _dateFormat, _dateTransformer, _decodeURI, _deepClone, _deepCloneArray, _deepCompareArrays, _deepEqual, _deepMerge, _decryptJson,
|
|
11
|
+
export { LazyLoader, createAxiosInstance, _addEventListenerToElement, _alert, _allowAlphaKeys, _allowAlphaNumericKeys, _allowDecimalKeys, _arrayDiff, _arrayIncludesObject, _arrayIntersection, _arrayToObject, _arrayToObjectByKey, _asyncDebounce, _throttle, _asyncMap, _average, _base64ToBlob, _batchProcess, _bytesToSize, _combineClasses, _clearRouteState, _calPercentage, _capitalize, _chunk, _clearNode, _cloneElement, _confirm, _convertToCurrency, _convertLocalToUTC, _convertUTCToLocal, _copyText, _dateFormat, _dateTransformer, _decodeURI, _deepClone, _deepCloneArray, _deepCompareArrays, _deepEqual, _deepMerge, _decryptJson, _decryptString, _decryptData, _domSelector, _disableDevTools, _downloadBase64File, _downloadBlob, _downloadFile, _dynamicReducer, _encodeURI, _encryptJson, _encryptString, _encryptData, _escapeRegExpMatch, _exportExcel, _escapeHTML, _extractUniqueValues, _extractKeyValues, _extractNestedKeyValues, _fileToBase64, _filterArrayByKeyValue, _filterByMatchedKey, _filterByMatchingKey, _filterDuplicates, _filterObjectByKey, _findExactRoute, _findObjectById, _flattenArray, _flattenArrayByKey, _flattenObject, _formatDate, _localeDateFormat, _globalizeDateTime, _formatInternationalDate, _freeze, _generatePassword, _genericReducer, _getArrayOfObjectsByProperty, _getBrowserInfo, _getChildElements, _getCookie, _getElementAttribute, _getElementsByClass, _getElementsByTag, _getFinancialYear, _getKeysByValue, _getKeyByValue, _getMaxMinValue, _getNestedProperty, _getObjectValues, _getParent, _getPriceAfterTax, _getScrollPosition, _getStartStopTime, _getStorage, _getUniqueValues, _getValueByKey, _groupBy, _go, _goBack, _goForward, _getCurrentPath, _getCurrentState, _getLocation, _getTypedState, _handleApi, _handleSafe, _handleChildrenMenu, _handleParentNode, _handleParentsMenu, _handlePasteAlphabetKeys, _handlePasteDecimalKeys, _handlePermissions, _hasElement, _hasItem, _hideElement, _importExcel, _initializeFormValues, _insertHTML, _injectCSS, _isLeapYear, _isWeekend, _isTruncate, _isDocumentLoaded, _isElementInViewport, _isElementPresent, _isNotEmpty, _isEmptyArray, _isEmptyObject, _isEqual, _isExactMatch, _isFreeze, _isInArray, _isMobile, _isSeal, _isValidBase64, _isValidBlob, _isValidBoolean, _isValidCreditCard, _isValidDate, _isValidDateObject, _isValidDateRange, _isValidDateString, _isValidDateTime, _isValidEmail, _isValidEvent, _isValidFile, _isValidForm, _isValidFormData, _isValidFunction, _isValidHTMLElement, _isValidHexColor, _isValidIP, _isValidJSON, _isValidMacAddress, _isValidNode, _isValidNodeList, _isValidNumber, _isValidPassword, _isValidPhoneNumber, _isValidPromise, _isValidRegExp, _isValidString, _isValidTime, _isValidURL, _isValidURLSearchParams, _isValidUUID, _log, _mapAsync, _mapObject, _mergeArrays, _mergeArraysByKey, _mergeObjects, _navigate, _objectToArray, _parseJSON, _pasteText, _promise, _reloadAfterLoad, _removeAllChildren, _removeDuplicates, _removeDuplicateByKey, _removeElement, _removeElementAttribute, _removeEventListenerFromElement, _removeNode, _removeFalsy, _removeSafeElement, _replaceContent, _runOnIframeLoad, _sanitizeArray, _scrollToElement, _scrollToTop, _sleep, _seal, _setCookie, _setElementAttribute, _setElementDisabled, _setMultipleStyles, _setNestedProperty, _setTouchedFields, _showElement, _snipDecimals, _sortByKey, _stringifyJSON, _swapArrayByKey, _swapArrayElements, _thousandSeparator, _throwError, _toCamelCase, _truncateText, _toTitleCase, _transformArray, _transformAsyncData, _uint8ArrayToBlob, _updateObjectInArray, _UUID, _validateFormRef, _getQueryString, _onDOMLoad, _onFullReload, _onWindowLoad, _octetToBlob, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-js-plugins",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.2",
|
|
4
4
|
"description": "A powerful and efficient React utility library designed to enhance application performance by streamlining and simplifying the management of complex asynchronous operations.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|