react-js-plugins 3.0.0 → 3.0.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 +36 -11
- package/dist/chunkautils/chunk65431.d.ts +3 -2
- package/dist/chunkautils/chunk65431.js +34 -5
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -680,6 +680,11 @@ Checks if text would be truncated based on the character limit.
|
|
|
680
680
|
_isTruncate('This is a long text example', 10);
|
|
681
681
|
// Returns: true
|
|
682
682
|
```
|
|
683
|
+
### ✅ **_encryptJson**
|
|
684
|
+
Encrypts a JSON object using AES encryption with a secret key.
|
|
685
|
+
```ts
|
|
686
|
+
const encrypted = _encryptJson({ name: "John" }, "secret123");
|
|
687
|
+
```
|
|
683
688
|
|
|
684
689
|
### ✅ **_decryptJson**
|
|
685
690
|
Decrypts AES-encrypted JSON string using a secret key.
|
|
@@ -687,28 +692,48 @@ Decrypts AES-encrypted JSON string using a secret key.
|
|
|
687
692
|
const decrypted = _decryptJson(encryptedString, "secret123");
|
|
688
693
|
```
|
|
689
694
|
|
|
695
|
+
### ✅ **_encryptString**
|
|
696
|
+
Encrypts a plain string using AES encryption, with optional random IV.
|
|
697
|
+
```ts
|
|
698
|
+
const result = _encryptString("mySecretText", "secretKey");
|
|
699
|
+
```
|
|
700
|
+
|
|
690
701
|
### ✅ **_decryptString**
|
|
691
702
|
Decrypts an AES-encrypted string using the provided IV and secret key.
|
|
692
703
|
```ts
|
|
693
704
|
const plainText = _decryptString(ciphertext, iv, "secretKey");
|
|
694
705
|
```
|
|
695
706
|
|
|
696
|
-
### ✅ **
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
```
|
|
707
|
+
### ✅ **_encrypt**
|
|
708
|
+
|
|
709
|
+
Encrypts a full JSON payload using a **random key and IV**, both of which are **secured by a main secret key**.
|
|
710
|
+
This ensures that each encryption produces a unique ciphertext, even for the same input data.
|
|
701
711
|
|
|
702
|
-
### ✅ **_encryptPayload**
|
|
703
|
-
Encrypts a full payload using a randomly generated key and IV, secured by a static key.
|
|
704
712
|
```ts
|
|
705
|
-
const
|
|
713
|
+
const encryptedPayload = _encrypt({ userId: 101, role: "admin" }, "mainSecretKey");
|
|
714
|
+
|
|
715
|
+
/*
|
|
716
|
+
Returns:
|
|
717
|
+
{
|
|
718
|
+
data: "<AES-encrypted JSON payload>",
|
|
719
|
+
header: "<Encrypted random key & IV using mainSecretKey>",
|
|
720
|
+
iv: "<Base64 IV used for header encryption>"
|
|
721
|
+
}
|
|
722
|
+
*/
|
|
706
723
|
```
|
|
707
724
|
|
|
708
|
-
### ✅ **
|
|
709
|
-
|
|
725
|
+
### ✅ **_decrypt**
|
|
726
|
+
|
|
727
|
+
Securely decrypts a payload that was encrypted using `_encrypt`.
|
|
728
|
+
It first decrypts the header (which contains the AES key and IV), then uses those to decrypt the main payload.
|
|
729
|
+
|
|
710
730
|
```ts
|
|
711
|
-
const
|
|
731
|
+
const decryptedPayload = _decrypt(encryptedPayload, "mainSecretKey");
|
|
732
|
+
|
|
733
|
+
/*
|
|
734
|
+
Returns:
|
|
735
|
+
{ userId: 101, role: "admin" }
|
|
736
|
+
*/
|
|
712
737
|
```
|
|
713
738
|
|
|
714
739
|
### ✅ **_escapeHTML**
|
|
@@ -13,11 +13,12 @@ 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
|
|
16
|
+
export declare const _encrypt: (jsonData: any, secretKey: string) => {
|
|
17
17
|
data: string;
|
|
18
18
|
header: string;
|
|
19
19
|
iv: string;
|
|
20
|
-
} |
|
|
20
|
+
} | null;
|
|
21
|
+
export declare const _decrypt: (encryptedPayload: any, secretKey: string) => any;
|
|
21
22
|
export declare const _generatePassword: (length?: number) => string;
|
|
22
23
|
export declare const _getStartStopTime: (sdate: Date, format?: string) => "Invalid Date" | {
|
|
23
24
|
startTime: string;
|
|
@@ -181,7 +181,7 @@ export var _decryptString = function (ciphertext, ivBase64, secretKey) {
|
|
|
181
181
|
});
|
|
182
182
|
return decryptedText.toString(CryptoJS.enc.Utf8);
|
|
183
183
|
};
|
|
184
|
-
export var
|
|
184
|
+
export var _encrypt = function (jsonData, secretKey) {
|
|
185
185
|
try {
|
|
186
186
|
if (!jsonData || typeof jsonData !== "object") {
|
|
187
187
|
throw new Error("Invalid input: jsonData must be a valid JSON object.");
|
|
@@ -193,22 +193,51 @@ export var _encryptPayload = function (jsonData, secretKey) {
|
|
|
193
193
|
var randomIv = CryptoJS.lib.WordArray.random(16);
|
|
194
194
|
var keyIvData = JSON.stringify({
|
|
195
195
|
key: CryptoJS.enc.Base64.stringify(randomKey),
|
|
196
|
-
iv: CryptoJS.enc.Base64.stringify(randomIv)
|
|
196
|
+
iv: CryptoJS.enc.Base64.stringify(randomIv),
|
|
197
197
|
});
|
|
198
|
-
var header = _encryptString(keyIvData, secretKey);
|
|
198
|
+
var header = _encryptString(keyIvData, secretKey, false);
|
|
199
199
|
var encryptedData = CryptoJS.AES.encrypt(JSON.stringify(jsonData), randomKey, {
|
|
200
200
|
iv: randomIv,
|
|
201
201
|
mode: CryptoJS.mode.CBC,
|
|
202
|
-
padding: CryptoJS.pad.Pkcs7
|
|
202
|
+
padding: CryptoJS.pad.Pkcs7,
|
|
203
203
|
});
|
|
204
204
|
return {
|
|
205
205
|
data: encryptedData.toString(),
|
|
206
206
|
header: header.ciphertext,
|
|
207
|
-
iv: header.iv
|
|
207
|
+
iv: header.iv,
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
210
|
catch (error) {
|
|
211
211
|
console.error("Payload Encryption Error:", error.message);
|
|
212
|
+
return null;
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
export var _decrypt = function (encryptedPayload, secretKey) {
|
|
216
|
+
try {
|
|
217
|
+
if (!encryptedPayload || typeof encryptedPayload !== "object") {
|
|
218
|
+
throw new Error("Invalid input: 'encryptedPayload' must be a valid object.");
|
|
219
|
+
}
|
|
220
|
+
var data = encryptedPayload.data, header = encryptedPayload.header, iv = encryptedPayload.iv;
|
|
221
|
+
if (!data || !header || !iv) {
|
|
222
|
+
throw new Error("Invalid encrypted payload: missing data, header, or iv.");
|
|
223
|
+
}
|
|
224
|
+
var headerJson = _decryptString(header, iv, secretKey);
|
|
225
|
+
var _a = JSON.parse(headerJson), key = _a.key, dataIv = _a.iv;
|
|
226
|
+
var randomKey = CryptoJS.enc.Base64.parse(key);
|
|
227
|
+
var randomIv = CryptoJS.enc.Base64.parse(dataIv);
|
|
228
|
+
var decryptedBytes = CryptoJS.AES.decrypt(data, randomKey, {
|
|
229
|
+
iv: randomIv,
|
|
230
|
+
mode: CryptoJS.mode.CBC,
|
|
231
|
+
padding: CryptoJS.pad.Pkcs7,
|
|
232
|
+
});
|
|
233
|
+
var decryptedText = decryptedBytes.toString(CryptoJS.enc.Utf8);
|
|
234
|
+
if (!decryptedText)
|
|
235
|
+
throw new Error("Decryption failed: invalid key or corrupted data.");
|
|
236
|
+
return JSON.parse(decryptedText);
|
|
237
|
+
}
|
|
238
|
+
catch (error) {
|
|
239
|
+
console.error("Payload Decryption Error:", error.message);
|
|
240
|
+
return null;
|
|
212
241
|
}
|
|
213
242
|
};
|
|
214
243
|
export var _generatePassword = function (length) {
|
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 { createPrivateInstance, createPublicInstance } from "./chunkautils/chunk83454";
|
|
5
|
-
import { _alert, _capitalize, _confirm, _convertToCurrency, _decodeURI, _deepClone, _decryptJson, _decryptString, _dynamicReducer, _encodeURI, _encryptJson,
|
|
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, _getUTCTimestamp, _globalizeDateTime, _formatInternationalDate, _hasElement, _hasItem, _importExcel, _isEmptyArray, _isEmptyObject, _isEqual, _isMobile, _mapObject, _mergeObjects, _parseJSON, _sleep, _promise, _setCookie, _stringifyJSON, _thousandSeparator, _decrypt, _encrypt } 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, _dynamicRequiredValidation, _escapeRegExpMatch, _extractUniqueValues, _extractKeyValues, _extractNestedKeyValues, _fileToBase64, _filterDuplicates, _filterObjectByKey, _findObjectById, _flattenObject, _formatDate, _localeDateFormat, _freeze, _generateYupValidation, _getArrayOfObjectsByProperty, _getKeyByValue, _getKeysByValue, _getMaxMinValue, _getNestedProperty, _getObjectValues, _getPriceAfterTax, _getScrollPosition, _getUniqueValues, _getValueByKey, _groupBy, _handleChildrenMenu, _handleParentNode, _handleParentsMenu, _handlePermissions, _initializeFormValues, _initializeFormikFields, _isExactMatch, _isFreeze, _isInArray, _isSeal, _isValidForm, _mapAsync, _mergeArrays, _mergeArraysByKey, _objectToArray, _removeDuplicates, _scrollToTop, _seal, _setNestedProperty, _setTouchedFields, _sortByKey, _swapArrayByKey, _swapArrayElements, _toCamelCase, _transformArray, _transformAsyncData, _updateObjectInArray, _validateFormRef, _combineClasses } 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, createPrivateInstance, createPublicInstance, _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, _copyText, _dateFormat, _dateTransformer, _decodeURI, _deepClone, _deepCloneArray, _deepCompareArrays, _deepEqual, _deepMerge, _decryptJson, _decryptString, _domSelector, _disableDevTools, _downloadBase64File, _downloadBlob, _downloadFile, _dynamicReducer, _dynamicRequiredValidation, _encodeURI, _encryptJson,
|
|
11
|
+
export { LazyLoader, createPrivateInstance, createPublicInstance, _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, _copyText, _dateFormat, _dateTransformer, _decodeURI, _deepClone, _deepCloneArray, _deepCompareArrays, _deepEqual, _deepMerge, _decryptJson, _decrypt, _decryptString, _domSelector, _disableDevTools, _downloadBase64File, _downloadBlob, _downloadFile, _dynamicReducer, _dynamicRequiredValidation, _encodeURI, _encryptJson, _encrypt, _encryptString, _escapeRegExpMatch, _exportExcel, _escapeHTML, _extractUniqueValues, _extractKeyValues, _extractNestedKeyValues, _fileToBase64, _filterArrayByKeyValue, _filterByMatchedKey, _filterByMatchingKey, _filterDuplicates, _filterObjectByKey, _findExactRoute, _findObjectById, _flattenArray, _flattenArrayByKey, _flattenObject, _formatDate, _localeDateFormat, _globalizeDateTime, _formatInternationalDate, _freeze, _generatePassword, _generateYupValidation, _genericReducer, _getArrayOfObjectsByProperty, _getBrowserInfo, _getChildElements, _getCookie, _getElementAttribute, _getElementsByClass, _getElementsByTag, _getFinancialYear, _getKeysByValue, _getKeyByValue, _getMaxMinValue, _getNestedProperty, _getObjectValues, _getParent, _getPriceAfterTax, _getScrollPosition, _getStartStopTime, _getStorage, _getUTCTimestamp, _getUniqueValues, _getValueByKey, _groupBy, _go, _goBack, _goForward, _getCurrentPath, _getCurrentState, _getLocation, _getTypedState, _handleApi, _handleSafe, _handleChildrenMenu, _handleParentNode, _handleParentsMenu, _handlePasteAlphabetKeys, _handlePasteDecimalKeys, _handlePermissions, _hasElement, _hasItem, _hideElement, _importExcel, _initializeFormikFields, _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, _updateObjectInArray, _UUID, _validateFormRef, _getQueryString, _onDOMLoad, _onFullReload, _onWindowLoad };
|
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 { createPrivateInstance, createPublicInstance } from "./chunkautils/chunk83454";
|
|
5
|
-
import { _alert, _capitalize, _confirm, _convertToCurrency, _decodeURI, _deepClone, _decryptJson, _decryptString, _dynamicReducer, _encodeURI, _encryptJson,
|
|
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, _getUTCTimestamp, _globalizeDateTime, _formatInternationalDate, _hasElement, _hasItem, _importExcel, _isEmptyArray, _isEmptyObject, _isEqual, _isMobile, _mapObject, _mergeObjects, _parseJSON, _sleep, _promise, _setCookie, _stringifyJSON, _thousandSeparator, _decrypt, _encrypt } 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, _dynamicRequiredValidation, _escapeRegExpMatch, _extractUniqueValues, _extractKeyValues, _extractNestedKeyValues, _fileToBase64, _filterDuplicates, _filterObjectByKey, _findObjectById, _flattenObject, _formatDate, _localeDateFormat, _freeze, _generateYupValidation, _getArrayOfObjectsByProperty, _getKeyByValue, _getKeysByValue, _getMaxMinValue, _getNestedProperty, _getObjectValues, _getPriceAfterTax, _getScrollPosition, _getUniqueValues, _getValueByKey, _groupBy, _handleChildrenMenu, _handleParentNode, _handleParentsMenu, _handlePermissions, _initializeFormValues, _initializeFormikFields, _isExactMatch, _isFreeze, _isInArray, _isSeal, _isValidForm, _mapAsync, _mergeArrays, _mergeArraysByKey, _objectToArray, _removeDuplicates, _scrollToTop, _seal, _setNestedProperty, _setTouchedFields, _sortByKey, _swapArrayByKey, _swapArrayElements, _toCamelCase, _transformArray, _transformAsyncData, _updateObjectInArray, _validateFormRef, _combineClasses } 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, createPrivateInstance, createPublicInstance, _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, _copyText, _dateFormat, _dateTransformer, _decodeURI, _deepClone, _deepCloneArray, _deepCompareArrays, _deepEqual, _deepMerge, _decryptJson, _decryptString, _domSelector, _disableDevTools, _downloadBase64File, _downloadBlob, _downloadFile, _dynamicReducer, _dynamicRequiredValidation, _encodeURI, _encryptJson,
|
|
11
|
+
export { LazyLoader, createPrivateInstance, createPublicInstance, _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, _copyText, _dateFormat, _dateTransformer, _decodeURI, _deepClone, _deepCloneArray, _deepCompareArrays, _deepEqual, _deepMerge, _decryptJson, _decrypt, _decryptString, _domSelector, _disableDevTools, _downloadBase64File, _downloadBlob, _downloadFile, _dynamicReducer, _dynamicRequiredValidation, _encodeURI, _encryptJson, _encrypt, _encryptString, _escapeRegExpMatch, _exportExcel, _escapeHTML, _extractUniqueValues, _extractKeyValues, _extractNestedKeyValues, _fileToBase64, _filterArrayByKeyValue, _filterByMatchedKey, _filterByMatchingKey, _filterDuplicates, _filterObjectByKey, _findExactRoute, _findObjectById, _flattenArray, _flattenArrayByKey, _flattenObject, _formatDate, _localeDateFormat, _globalizeDateTime, _formatInternationalDate, _freeze, _generatePassword, _generateYupValidation, _genericReducer, _getArrayOfObjectsByProperty, _getBrowserInfo, _getChildElements, _getCookie, _getElementAttribute, _getElementsByClass, _getElementsByTag, _getFinancialYear, _getKeysByValue, _getKeyByValue, _getMaxMinValue, _getNestedProperty, _getObjectValues, _getParent, _getPriceAfterTax, _getScrollPosition, _getStartStopTime, _getStorage, _getUTCTimestamp, _getUniqueValues, _getValueByKey, _groupBy, _go, _goBack, _goForward, _getCurrentPath, _getCurrentState, _getLocation, _getTypedState, _handleApi, _handleSafe, _handleChildrenMenu, _handleParentNode, _handleParentsMenu, _handlePasteAlphabetKeys, _handlePasteDecimalKeys, _handlePermissions, _hasElement, _hasItem, _hideElement, _importExcel, _initializeFormikFields, _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, _updateObjectInArray, _UUID, _validateFormRef, _getQueryString, _onDOMLoad, _onFullReload, _onWindowLoad };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-js-plugins",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.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",
|