react-js-plugins 2.0.7 → 2.0.8
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
CHANGED
|
@@ -24,6 +24,8 @@ pnpm add react-js-plugins
|
|
|
24
24
|
| ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
|
25
25
|
| Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
|
|
26
26
|
|
|
27
|
+
### **Documentation Site in Progress...**
|
|
28
|
+
*We're building an enhanced documentation experience with better navigation and examples. Coming soon!*
|
|
27
29
|
|
|
28
30
|
## Array Functions
|
|
29
31
|
|
|
@@ -680,7 +682,12 @@ Checks if a string is a valid UUID (v1 to v5).
|
|
|
680
682
|
const isValid = _isValidUUID('550e8400-e29b-41d4-a716-446655440000');
|
|
681
683
|
```
|
|
682
684
|
|
|
683
|
-
|
|
685
|
+
### ✅ **_isTruncate**
|
|
686
|
+
Checks if text would be truncated based on the character limit.
|
|
687
|
+
```ts
|
|
688
|
+
_isTruncate('This is a long text example', 10);
|
|
689
|
+
// Returns: true
|
|
690
|
+
```
|
|
684
691
|
|
|
685
692
|
## Security & Encryption Functions
|
|
686
693
|
|
|
@@ -1044,6 +1051,56 @@ const handleChangeFile = async (file) => {
|
|
|
1044
1051
|
|
|
1045
1052
|
## Browser & Storage Functions
|
|
1046
1053
|
|
|
1054
|
+
### ✅ **_navigate**
|
|
1055
|
+
Navigates to a new path with optional state and replace behavior.
|
|
1056
|
+
```ts
|
|
1057
|
+
_navigate('/about', { state: { user: 'sia' }, replace: true });
|
|
1058
|
+
```
|
|
1059
|
+
|
|
1060
|
+
### ✅ **_go**
|
|
1061
|
+
Navigates through the history stack by a specified number of steps.
|
|
1062
|
+
```ts
|
|
1063
|
+
_go(-2); // Go back 2 pages
|
|
1064
|
+
_go(1); // Go forward 1 page
|
|
1065
|
+
```
|
|
1066
|
+
|
|
1067
|
+
### ✅ **_goBack**
|
|
1068
|
+
Navigates to the previous page in history.
|
|
1069
|
+
```ts
|
|
1070
|
+
_goBack(); // Equivalent to browser back button
|
|
1071
|
+
```
|
|
1072
|
+
|
|
1073
|
+
### ✅ **_goForward**
|
|
1074
|
+
Navigates to the next page in history.
|
|
1075
|
+
```ts
|
|
1076
|
+
_goForward(); // Equivalent to browser forward button
|
|
1077
|
+
```
|
|
1078
|
+
|
|
1079
|
+
### ✅ **_getCurrentPath**
|
|
1080
|
+
Returns the current pathname from the navigation state.
|
|
1081
|
+
```ts
|
|
1082
|
+
_getCurrentPath(); // e.g., "/about"
|
|
1083
|
+
```
|
|
1084
|
+
|
|
1085
|
+
### ✅ **_getCurrentState**
|
|
1086
|
+
Returns the current navigation state object.
|
|
1087
|
+
```ts
|
|
1088
|
+
_getCurrentState(); // e.g., { user: 'sia' }
|
|
1089
|
+
```
|
|
1090
|
+
|
|
1091
|
+
### ✅ **_getLocation**
|
|
1092
|
+
Returns both the current path and state as an object.
|
|
1093
|
+
```ts
|
|
1094
|
+
_getLocation(); // e.g., { pathname: "/about", state: { user: 'sia' } }
|
|
1095
|
+
```
|
|
1096
|
+
|
|
1097
|
+
### ✅ **_getTypedState**
|
|
1098
|
+
Returns the current navigation state with TypeScript type safety.
|
|
1099
|
+
```ts
|
|
1100
|
+
interface UserState { name: string; age: number; }
|
|
1101
|
+
_getTypedState<UserState>(); // Returns typed state or null
|
|
1102
|
+
```
|
|
1103
|
+
|
|
1047
1104
|
### ✅ **_clearRouteState**
|
|
1048
1105
|
Removes the route state from the browser's history without reloading the page, keeping the current path intact.
|
|
1049
1106
|
```ts
|
|
@@ -1128,6 +1185,13 @@ Capitalizes the first character of a string.
|
|
|
1128
1185
|
const name = _capitalize("john"); // "John"
|
|
1129
1186
|
```
|
|
1130
1187
|
|
|
1188
|
+
### ✅ **_truncateText**
|
|
1189
|
+
Truncates text to a specified character limit and adds ellipsis if truncated.
|
|
1190
|
+
```ts
|
|
1191
|
+
_truncateText('This is a long text example', 10);
|
|
1192
|
+
// Returns: "This is a…"
|
|
1193
|
+
```
|
|
1194
|
+
|
|
1131
1195
|
### ✅ **_countWords**
|
|
1132
1196
|
Counts the number of words in a string by trimming whitespace and splitting by spaces.
|
|
1133
1197
|
```ts
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export function _truncateText(text, limit) {
|
|
2
|
+
if (limit === void 0) { limit = 20; }
|
|
3
|
+
if (!text)
|
|
4
|
+
return "";
|
|
5
|
+
return text.length > limit ? text.slice(0, limit) + "…" : text;
|
|
6
|
+
}
|
|
7
|
+
export function _isTruncate(text, limit) {
|
|
8
|
+
if (limit === void 0) { limit = 20; }
|
|
9
|
+
return !!text && text.length > limit;
|
|
10
|
+
}
|
|
11
|
+
export function _toTitleCase(text) {
|
|
12
|
+
if (!text)
|
|
13
|
+
return "";
|
|
14
|
+
return text
|
|
15
|
+
.toLowerCase()
|
|
16
|
+
.split(' ')
|
|
17
|
+
.map(function (word) { return word.charAt(0).toUpperCase() + word.slice(1); })
|
|
18
|
+
.join(' ');
|
|
19
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
interface NavigateOptions {
|
|
2
|
+
replace?: boolean;
|
|
3
|
+
state?: Record<string, any> | null;
|
|
4
|
+
}
|
|
5
|
+
interface Location {
|
|
6
|
+
pathname: string;
|
|
7
|
+
state: Record<string, any> | null;
|
|
8
|
+
}
|
|
9
|
+
interface LocationChangeEventDetail {
|
|
10
|
+
path: string;
|
|
11
|
+
state: Record<string, any> | null;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface WindowEventMap {
|
|
15
|
+
locationchange: CustomEvent<LocationChangeEventDetail>;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export declare const _navigate: (path: string, options?: NavigateOptions) => void;
|
|
19
|
+
export declare const _go: (delta: number) => void;
|
|
20
|
+
export declare const _goBack: () => void;
|
|
21
|
+
export declare const _goForward: () => void;
|
|
22
|
+
export declare const _getCurrentPath: () => string;
|
|
23
|
+
export declare const _getCurrentState: () => Record<string, any> | null;
|
|
24
|
+
export declare const _getLocation: () => Location;
|
|
25
|
+
export declare const _getTypedState: <T extends Record<string, any>>() => T | null;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
var currentState = null;
|
|
2
|
+
var currentPath = window.location.pathname;
|
|
3
|
+
// Listen for browser navigation (back/forward buttons)
|
|
4
|
+
window.addEventListener('popstate', function (event) {
|
|
5
|
+
var state = event.state || {};
|
|
6
|
+
currentPath = window.location.pathname;
|
|
7
|
+
currentState = state.state || null;
|
|
8
|
+
// Trigger custom event for other parts of your app to listen to
|
|
9
|
+
window.dispatchEvent(new CustomEvent('locationchange', {
|
|
10
|
+
detail: { path: currentPath, state: currentState }
|
|
11
|
+
}));
|
|
12
|
+
});
|
|
13
|
+
export var _navigate = function (path, options) {
|
|
14
|
+
if (options === void 0) { options = {}; }
|
|
15
|
+
var _a = options.replace, replace = _a === void 0 ? false : _a, _b = options.state, state = _b === void 0 ? null : _b;
|
|
16
|
+
// Create history state object
|
|
17
|
+
var historyState = { state: state, path: path };
|
|
18
|
+
if (replace) {
|
|
19
|
+
window.history.replaceState(historyState, '', path);
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
window.history.pushState(historyState, '', path);
|
|
23
|
+
}
|
|
24
|
+
// Update global state
|
|
25
|
+
currentPath = path;
|
|
26
|
+
currentState = state;
|
|
27
|
+
// Notify other parts of the application
|
|
28
|
+
window.dispatchEvent(new CustomEvent('locationchange', {
|
|
29
|
+
detail: { path: path, state: state }
|
|
30
|
+
}));
|
|
31
|
+
};
|
|
32
|
+
export var _go = function (delta) {
|
|
33
|
+
window.history.go(delta);
|
|
34
|
+
};
|
|
35
|
+
export var _goBack = function () {
|
|
36
|
+
window.history.back();
|
|
37
|
+
};
|
|
38
|
+
export var _goForward = function () {
|
|
39
|
+
window.history.forward();
|
|
40
|
+
};
|
|
41
|
+
export var _getCurrentPath = function () { return currentPath; };
|
|
42
|
+
export var _getCurrentState = function () { return currentState; };
|
|
43
|
+
// Helper function to get both path and state
|
|
44
|
+
export var _getLocation = function () { return ({
|
|
45
|
+
pathname: currentPath,
|
|
46
|
+
state: currentState
|
|
47
|
+
}); };
|
|
48
|
+
// Optional: Type-safe state access with generic
|
|
49
|
+
export var _getTypedState = function () {
|
|
50
|
+
return currentState;
|
|
51
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -5,4 +5,6 @@ import { createPrivateInstance, createPublicInstance } from "./chunkautils/chunk
|
|
|
5
5
|
import { _alert, _capitalize, _confirm, _convertToCurrency, _decodeURI, _deepClone, _decryptJson, _decryptString, _dynamicReducer, _encodeURI, _encryptJson, _encryptPayload, _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 } 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 { _isTruncate, _toTitleCase, _truncateText } from './chunkautils/chunk21211';
|
|
9
|
+
import { _getCurrentPath, _getCurrentState, _getLocation, _getTypedState, _go, _goBack, _goForward, _navigate } from './chunkautils/chunk22523';
|
|
10
|
+
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, _downloadBase64File, _downloadBlob, _downloadFile, _dynamicReducer, _dynamicRequiredValidation, _encodeURI, _encryptJson, _encryptPayload, _encryptString, _escapeRegExpMatch, _exportExcel, _escapeHTML, _extractUniqueValues, _extractKeyValues, _extractNestedKeyValues, _fileToBase64, _filterArrayByKeyValue, _filterByMatchedKey, _filterByMatchingKey, _filterDuplicates, _filterObjectByKey, _findExactRoute, _findObjectById, _flattenArray, _flattenArrayByKey, _flattenObject, _formatDate, _localeDateFormat, _globalizeDateTime, _formatInternationalDate, _freeze, _generateUUID, _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, _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, _validateFormRef, _getQueryString, _onDOMLoad, _onFullReload, _onWindowLoad };
|
package/dist/index.js
CHANGED
|
@@ -5,4 +5,6 @@ import { createPrivateInstance, createPublicInstance } from "./chunkautils/chunk
|
|
|
5
5
|
import { _alert, _capitalize, _confirm, _convertToCurrency, _decodeURI, _deepClone, _decryptJson, _decryptString, _dynamicReducer, _encodeURI, _encryptJson, _encryptPayload, _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 } 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 { _isTruncate, _toTitleCase, _truncateText } from './chunkautils/chunk21211';
|
|
9
|
+
import { _getCurrentPath, _getCurrentState, _getLocation, _getTypedState, _go, _goBack, _goForward, _navigate } from './chunkautils/chunk22523';
|
|
10
|
+
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, _downloadBase64File, _downloadBlob, _downloadFile, _dynamicReducer, _dynamicRequiredValidation, _encodeURI, _encryptJson, _encryptPayload, _encryptString, _escapeRegExpMatch, _exportExcel, _escapeHTML, _extractUniqueValues, _extractKeyValues, _extractNestedKeyValues, _fileToBase64, _filterArrayByKeyValue, _filterByMatchedKey, _filterByMatchingKey, _filterDuplicates, _filterObjectByKey, _findExactRoute, _findObjectById, _flattenArray, _flattenArrayByKey, _flattenObject, _formatDate, _localeDateFormat, _globalizeDateTime, _formatInternationalDate, _freeze, _generateUUID, _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, _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, _validateFormRef, _getQueryString, _onDOMLoad, _onFullReload, _onWindowLoad };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-js-plugins",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
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",
|