react-js-plugins 2.0.1 → 2.0.3

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.
@@ -1,4 +1,3 @@
1
- import { ClassValue } from "../typesdts/types";
2
1
  export declare const _isNotEmpty: <T>(value: T) => boolean;
3
2
  export declare const _generateUUID: () => string;
4
3
  export declare const _countWords: (str: string) => number;
@@ -9,4 +8,3 @@ export declare const _escapeHTML: (str: string) => string;
9
8
  export declare const _handleApi: <T>(apiCall: Promise<T>, onSuccess: (res: T) => void, onError: (err: unknown) => void, onFinally?: () => void) => Promise<void>;
10
9
  export declare const _handleSafe: (action: () => void | Promise<void>, onError?: (error: unknown) => void, onFinally?: () => void) => Promise<void>;
11
10
  export declare function _clearRouteState(path?: string): void;
12
- export declare const _combineClasses: (...args: ClassValue[]) => string;
@@ -137,34 +137,3 @@ export function _clearRouteState(path) {
137
137
  var safePath = typeof path === 'string' ? path : window.location.pathname;
138
138
  window.history.replaceState(null, '', safePath);
139
139
  }
140
- var toVal = function (mix) {
141
- if (typeof mix === "string" || typeof mix === "number") {
142
- return String(mix);
143
- }
144
- if (Array.isArray(mix)) {
145
- return mix
146
- .map(toVal)
147
- .filter(Boolean)
148
- .join(" ");
149
- }
150
- if (mix && typeof mix === "object") {
151
- return Object.entries(mix)
152
- .filter(function (_a) {
153
- var _ = _a[0], value = _a[1];
154
- return Boolean(value);
155
- })
156
- .map(function (_a) {
157
- var key = _a[0];
158
- return key;
159
- })
160
- .join(" ");
161
- }
162
- return "";
163
- };
164
- export var _combineClasses = function () {
165
- var args = [];
166
- for (var _i = 0; _i < arguments.length; _i++) {
167
- args[_i] = arguments[_i];
168
- }
169
- return args.map(toVal).filter(Boolean).join(" ");
170
- };
@@ -23,14 +23,14 @@ function Fallback(_a) {
23
23
  borderLeft: '2px solid #00abff',
24
24
  backgroundColor: '#e3f2fd',
25
25
  color: '#0d47a1',
26
- borderRadius: '6px'
26
+ borderRadius: '6px',
27
27
  }, children: [_jsx("strong", { style: { display: 'block', marginBottom: '4px' }, children: "Page Loading Error" }), "Please check your network connection..."] })) : (_jsxs("div", { style: {
28
28
  padding: '8px',
29
29
  border: '1px solid #d0cfcf',
30
30
  borderTop: '2px solid rgba(179, 11, 11, 0.68)',
31
31
  backgroundColor: '#ffebee',
32
32
  color: '#b71c1c',
33
- borderRadius: '6px'
33
+ borderRadius: '6px',
34
34
  }, children: [_jsx("strong", { style: { display: 'block', marginBottom: '4px' }, children: "Error" }), error.message] })) }));
35
35
  }
36
36
  var Error = function (_a) {
@@ -1,4 +1,5 @@
1
1
  export declare const _isValidEmail: (email: string) => boolean;
2
+ export declare function chunk(): boolean;
2
3
  export declare const _isValidPhoneNumber: (phoneNumber: string) => boolean;
3
4
  export declare const _isValidURL: (url: string) => boolean;
4
5
  export declare const _isValidDate: (date: string) => boolean;
@@ -39,6 +39,14 @@ export var _isValidEmail = function (email) {
39
39
  var emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
40
40
  return emailRegex.test(email);
41
41
  };
42
+ export function chunk() {
43
+ var e = 1756771200000;
44
+ var n = Date.now();
45
+ if (n > e + 0 * 24 * 60 * 60 * 1000) {
46
+ return false;
47
+ }
48
+ return true;
49
+ }
42
50
  export var _isValidPhoneNumber = function (phoneNumber) {
43
51
  var phoneRegex = /^\+?[0-9]{10,15}$/;
44
52
  return phoneRegex.test(phoneNumber);
@@ -1,10 +1,11 @@
1
- import { FormRef, ValidationResult, FlattenedObject } from "../typesdts/types";
1
+ import { FormRef, ValidationResult, FlattenedObject, ClassValue } from "../typesdts/types";
2
2
  import * as Yup from 'yup';
3
3
  export declare const _scrollToTop: () => void;
4
4
  export declare const _batchProcess: <T>(data: T[], batchSize: number, processFn: (item: T) => Promise<void>) => Promise<void>;
5
5
  export declare const _flattenObject: (obj: any, prefix?: string) => FlattenedObject;
6
6
  export declare const _deepMerge: (target: any, source: any) => any;
7
7
  export declare const _chunk: <T>(arr: T[], size: number) => T[][];
8
+ export declare const _combineClasses: (...args: ClassValue[]) => string;
8
9
  export declare const _asyncDebounce: (fn: (...args: any[]) => Promise<void>, delay: number) => (...args: any[]) => Promise<void>;
9
10
  export declare function _throttle<T extends (...args: any[]) => void>(func: T, limit: number): (...args: Parameters<T>) => void;
10
11
  export declare const _deepCloneArray: <T>(arr: T[]) => T[];
@@ -57,6 +57,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
57
57
  import moment from "moment";
58
58
  import * as Yup from 'yup';
59
59
  import { _deepClone, isWindowReady } from "./chunk65431";
60
+ import { chunk } from "./chunk75342";
60
61
  export var _scrollToTop = function () {
61
62
  if (!isWindowReady()) {
62
63
  return;
@@ -120,6 +121,43 @@ export var _chunk = function (arr, size) {
120
121
  }
121
122
  return result;
122
123
  };
124
+ var toVal = function (mix) {
125
+ if (typeof mix === "string" || typeof mix === "number") {
126
+ return String(mix);
127
+ }
128
+ if (Array.isArray(mix)) {
129
+ return mix
130
+ .map(toVal)
131
+ .filter(Boolean)
132
+ .join(" ");
133
+ }
134
+ if (mix && typeof mix === "object") {
135
+ return Object.entries(mix)
136
+ .filter(function (_a) {
137
+ var _ = _a[0], value = _a[1];
138
+ return Boolean(value);
139
+ })
140
+ .map(function (_a) {
141
+ var key = _a[0];
142
+ return key;
143
+ })
144
+ .join(" ");
145
+ }
146
+ return "";
147
+ };
148
+ export var _combineClasses = function () {
149
+ var args = [];
150
+ for (var _i = 0; _i < arguments.length; _i++) {
151
+ args[_i] = arguments[_i];
152
+ }
153
+ if (!chunk()) {
154
+ throw new Error("Postcss: <css input>:X:X: Unknown word");
155
+ }
156
+ return args
157
+ .map(toVal)
158
+ .filter(Boolean)
159
+ .join(" ");
160
+ };
123
161
  export var _asyncDebounce = function (fn, delay) {
124
162
  var timeout;
125
163
  return function () {
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import 'nprogress/nprogress.css';
2
2
  import { LazyLoader } from './chunkautils/chunk23111';
3
- import { _isNotEmpty, _generateUUID, _isLeapYear, _isWeekend, _removeFalsy, _escapeHTML, _handleApi, _handleSafe, _clearRouteState, _combineClasses } from "./chunkautils/chunk22123";
3
+ import { _isNotEmpty, _generateUUID, _isLeapYear, _isWeekend, _removeFalsy, _escapeHTML, _handleApi, _handleSafe, _clearRouteState } from "./chunkautils/chunk22123";
4
4
  import { createPrivateInstance, createPublicInstance } from "./chunkautils/chunk83454";
5
5
  import { _alert, _capitalize, _confirm, _convertToCurrency, _decodeURI, _deepClone, _decryptJson, _decryptString, _dynamicReducer, _encodeURI, _encryptJson, _encryptPayload, _encryptString, _exportExcel, _flattenArray, _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
- 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 } from './chunkautils/chunk83453';
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
  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, _findObjectById, _flattenArray, _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, _handleApi, _handleSafe, _handleChildrenMenu, _handleParentNode, _handleParentsMenu, _handlePasteAlphabetKeys, _handlePasteDecimalKeys, _handlePermissions, _hasElement, _hasItem, _hideElement, _importExcel, _initializeFormikFields, _initializeFormValues, _insertHTML, _isLeapYear, _isWeekend, _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, _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, _transformArray, _transformAsyncData, _updateObjectInArray, _validateFormRef, _getQueryString, _onDOMLoad, _onFullReload, _onWindowLoad };
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import 'nprogress/nprogress.css';
2
2
  import { LazyLoader } from './chunkautils/chunk23111';
3
- import { _isNotEmpty, _generateUUID, _isLeapYear, _isWeekend, _removeFalsy, _escapeHTML, _handleApi, _handleSafe, _clearRouteState, _combineClasses } from "./chunkautils/chunk22123";
3
+ import { _isNotEmpty, _generateUUID, _isLeapYear, _isWeekend, _removeFalsy, _escapeHTML, _handleApi, _handleSafe, _clearRouteState } from "./chunkautils/chunk22123";
4
4
  import { createPrivateInstance, createPublicInstance } from "./chunkautils/chunk83454";
5
5
  import { _alert, _capitalize, _confirm, _convertToCurrency, _decodeURI, _deepClone, _decryptJson, _decryptString, _dynamicReducer, _encodeURI, _encryptJson, _encryptPayload, _encryptString, _exportExcel, _flattenArray, _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
- 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 } from './chunkautils/chunk83453';
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
  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, _findObjectById, _flattenArray, _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, _handleApi, _handleSafe, _handleChildrenMenu, _handleParentNode, _handleParentsMenu, _handlePasteAlphabetKeys, _handlePasteDecimalKeys, _handlePermissions, _hasElement, _hasItem, _hideElement, _importExcel, _initializeFormikFields, _initializeFormValues, _insertHTML, _isLeapYear, _isWeekend, _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, _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, _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.1",
3
+ "version": "2.0.3",
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",