-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* auto capitalize function * currency format common function * initial commit * added more util functions * added currency formatter * documentation * added date and common utils * add documentation also revise the functionality of function * removed redundant currency and capitalize files * validations for data types in all methods * removed else statements * slight change * added more utils * Release V1.1.0 * Config issue (#11) * Bump lodash from 4.17.15 to 4.17.19 Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.19) Signed-off-by: dependabot[bot] <[email protected]> * Release V1.2.0 (#9) * auto capitalize function * currency format common function * initial commit * added more util functions * added currency formatter * documentation * added date and common utils * add documentation also revise the functionality of function * removed redundant currency and capitalize files * validations for data types in all methods * removed else statements * slight change * added more utils * Release V1.1.0 Co-authored-by: vikrantrana1337 <[email protected]> Co-authored-by: eklavyagehlaut <[email protected]> Co-authored-by: pavan_bharatpe <[email protected]> Co-authored-by: krishcdbry <[email protected]> * Bump elliptic from 6.5.2 to 6.5.3 (#10) Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](indutny/elliptic@v6.5.2...v6.5.3) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * config changes Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: krishpe <[email protected]> Co-authored-by: vikrantrana1337 <[email protected]> Co-authored-by: eklavyagehlaut <[email protected]> Co-authored-by: krishcdbry <[email protected]> Co-authored-by: Pavan Kumar Patruni <[email protected]> * isIOS valiation check added (#12) * isIOS valiation check added * Minor fixes Co-authored-by: krishcdbry <[email protected]> Co-authored-by: vikrantrana1337 <[email protected]> Co-authored-by: eklavyagehlaut <[email protected]> Co-authored-by: pavan_bharatpe <[email protected]> Co-authored-by: krishcdbry <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pavan Kumar Patruni <[email protected]>
- Loading branch information
1 parent
73a887b
commit 67ef187
Showing
13 changed files
with
1,146 additions
and
1,131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
{ | ||
"presets": ["env"], | ||
"plugins": [ | ||
"transform-object-rest-spread" | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"esmodules": true | ||
} | ||
} | ||
] | ||
] | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
node_modules | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* @name _getURLParameter | ||
* @param {string} qrString | ||
* @param {string} paramName | ||
* @description get value of param from URL | ||
*/ | ||
const _getURLParameter = (qrString, paramName) => { | ||
if (typeof qrString === "string" && typeof paramName === "string") { | ||
qrString = qrString.replace(/[\[]/,'\\[').replace(/[\]]/,'\\]'); | ||
var regex = new RegExp('[\\?&]' + paramName + '=([^&#]*)'); | ||
var results = regex.exec(qrString); | ||
|
||
|
||
if (results && results.length > 0) { | ||
return decodeURIComponent(results[1].replace(/\+/g, ' ')); | ||
} else { | ||
return ''; | ||
} | ||
} | ||
return ''; | ||
} | ||
|
||
export default { | ||
getURLParameter: _getURLParameter, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.