pixel-react 1.14.87 → 1.14.89

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.
Files changed (116) hide show
  1. package/README.md +75 -75
  2. package/lib/_virtual/index10.js +2 -2
  3. package/lib/_virtual/index11.js +2 -2
  4. package/lib/_virtual/index12.js +2 -2
  5. package/lib/_virtual/index9.js +2 -2
  6. package/lib/assets/icons/dataset_list.svg.js +1 -1
  7. package/lib/assets/icons/dataset_list.svg.js.map +1 -1
  8. package/lib/assets/icons/spinner.svg.js +1 -1
  9. package/lib/assets/icons/spinner.svg.js.map +1 -1
  10. package/lib/components/Chip/Chip.js +1 -1
  11. package/lib/components/Chip/Chip.js.map +1 -1
  12. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.js +9 -0
  13. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.js.map +1 -1
  14. package/lib/components/Select/Select.js +3 -2
  15. package/lib/components/Select/Select.js.map +1 -1
  16. package/lib/index.cjs +1362 -6766
  17. package/lib/index.cjs.map +1 -1
  18. package/lib/index.d.ts +1 -1
  19. package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
  20. package/lib/node_modules/js-beautify/js/src/css/index.js +1 -1
  21. package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
  22. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  23. package/lib/node_modules/js-beautify/js/src/html/index.js +1 -1
  24. package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
  25. package/lib/node_modules/js-beautify/js/src/html/tokenizer.js +1 -1
  26. package/lib/node_modules/js-beautify/js/src/javascript/index.js +1 -1
  27. package/lib/node_modules/js-beautify/js/src/javascript/tokenizer.js +1 -1
  28. package/lib/node_modules/libphonenumber-js/es6/AsYouType.js +6 -8
  29. package/lib/node_modules/libphonenumber-js/es6/AsYouType.js.map +1 -1
  30. package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.complete.js +4 -4
  31. package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.complete.js.map +1 -1
  32. package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.js +4 -4
  33. package/lib/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.js.map +1 -1
  34. package/lib/node_modules/libphonenumber-js/es6/AsYouTypeParser.js +41 -28
  35. package/lib/node_modules/libphonenumber-js/es6/AsYouTypeParser.js.map +1 -1
  36. package/lib/node_modules/libphonenumber-js/es6/AsYouTypeState.js +21 -17
  37. package/lib/node_modules/libphonenumber-js/es6/AsYouTypeState.js.map +1 -1
  38. package/lib/node_modules/libphonenumber-js/es6/PhoneNumber.js +1 -1
  39. package/lib/node_modules/libphonenumber-js/es6/PhoneNumber.js.map +1 -1
  40. package/lib/node_modules/libphonenumber-js/es6/format.js +50 -91
  41. package/lib/node_modules/libphonenumber-js/es6/format.js.map +1 -1
  42. package/lib/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +39 -6
  43. package/lib/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js.map +1 -1
  44. package/lib/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +13 -10
  45. package/lib/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js.map +1 -1
  46. package/lib/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +10 -8
  47. package/lib/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js.map +1 -1
  48. package/lib/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +15 -5
  49. package/lib/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js.map +1 -1
  50. package/lib/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +2 -2
  51. package/lib/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js.map +1 -1
  52. package/lib/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +30 -8
  53. package/lib/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js.map +1 -1
  54. package/lib/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +4 -4
  55. package/lib/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js.map +1 -1
  56. package/lib/node_modules/libphonenumber-js/es6/isPossible.js +4 -4
  57. package/lib/node_modules/libphonenumber-js/es6/isPossible.js.map +1 -1
  58. package/lib/node_modules/libphonenumber-js/es6/metadata.js +1 -1
  59. package/lib/node_modules/libphonenumber-js/es6/metadata.js.map +1 -1
  60. package/lib/node_modules/libphonenumber-js/es6/parse.js +9 -7
  61. package/lib/node_modules/libphonenumber-js/es6/parse.js.map +1 -1
  62. package/lib/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +7 -7
  63. package/lib/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js.map +1 -1
  64. package/lib/node_modules/libphonenumber-js/metadata.min.json.js +11 -11
  65. package/lib/node_modules/libphonenumber-js/metadata.min.json.js.map +1 -1
  66. package/lib/node_modules/prop-types/index.js +1 -1
  67. package/lib/node_modules/react-day-picker/dist/esm/DayPicker.js +33 -21
  68. package/lib/node_modules/react-day-picker/dist/esm/DayPicker.js.map +1 -1
  69. package/lib/node_modules/react-day-picker/dist/esm/classes/DateLib.js +41 -0
  70. package/lib/node_modules/react-day-picker/dist/esm/classes/DateLib.js.map +1 -1
  71. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +3 -2
  72. package/lib/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js.map +1 -1
  73. package/lib/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +3 -2
  74. package/lib/node_modules/react-day-picker/dist/esm/labels/labelGrid.js.map +1 -1
  75. package/lib/node_modules/react-hook-form/dist/index.esm.js +60 -38
  76. package/lib/node_modules/react-hook-form/dist/index.esm.js.map +1 -1
  77. package/lib/node_modules/react-virtuoso/dist/index.js +397 -397
  78. package/lib/node_modules/react-virtuoso/dist/index.js.map +1 -1
  79. package/lib/node_modules/ua-parser-js/src/ua-parser.js +85 -71
  80. package/lib/node_modules/ua-parser-js/src/ua-parser.js.map +1 -1
  81. package/lib/styles.css +1 -1
  82. package/lib/styles.css.map +1 -1
  83. package/lib/utils/getEncryptedData/getEncryptedData.d.ts +1 -1
  84. package/lib/utils/getEncryptedData/getEncryptedData.js +17 -8
  85. package/lib/utils/getEncryptedData/getEncryptedData.js.map +1 -1
  86. package/package.json +106 -107
  87. package/lib/node_modules/jsencrypt/lib/JSEncrypt.js +0 -246
  88. package/lib/node_modules/jsencrypt/lib/JSEncrypt.js.map +0 -1
  89. package/lib/node_modules/jsencrypt/lib/JSEncryptRSAKey.js +0 -325
  90. package/lib/node_modules/jsencrypt/lib/JSEncryptRSAKey.js.map +0 -1
  91. package/lib/node_modules/jsencrypt/lib/index.js +0 -6
  92. package/lib/node_modules/jsencrypt/lib/index.js.map +0 -1
  93. package/lib/node_modules/jsencrypt/lib/lib/asn1js/asn1.js +0 -570
  94. package/lib/node_modules/jsencrypt/lib/lib/asn1js/asn1.js.map +0 -1
  95. package/lib/node_modules/jsencrypt/lib/lib/asn1js/base64.js +0 -88
  96. package/lib/node_modules/jsencrypt/lib/lib/asn1js/base64.js.map +0 -1
  97. package/lib/node_modules/jsencrypt/lib/lib/asn1js/hex.js +0 -66
  98. package/lib/node_modules/jsencrypt/lib/lib/asn1js/hex.js.map +0 -1
  99. package/lib/node_modules/jsencrypt/lib/lib/asn1js/int10.js +0 -87
  100. package/lib/node_modules/jsencrypt/lib/lib/asn1js/int10.js.map +0 -1
  101. package/lib/node_modules/jsencrypt/lib/lib/jsbn/base64.js +0 -65
  102. package/lib/node_modules/jsencrypt/lib/lib/jsbn/base64.js.map +0 -1
  103. package/lib/node_modules/jsencrypt/lib/lib/jsbn/jsbn.js +0 -1700
  104. package/lib/node_modules/jsencrypt/lib/lib/jsbn/jsbn.js.map +0 -1
  105. package/lib/node_modules/jsencrypt/lib/lib/jsbn/prng4.js +0 -48
  106. package/lib/node_modules/jsencrypt/lib/lib/jsbn/prng4.js.map +0 -1
  107. package/lib/node_modules/jsencrypt/lib/lib/jsbn/rng.js +0 -77
  108. package/lib/node_modules/jsencrypt/lib/lib/jsbn/rng.js.map +0 -1
  109. package/lib/node_modules/jsencrypt/lib/lib/jsbn/rsa.js +0 -415
  110. package/lib/node_modules/jsencrypt/lib/lib/jsbn/rsa.js.map +0 -1
  111. package/lib/node_modules/jsencrypt/lib/lib/jsbn/sha256.js +0 -307
  112. package/lib/node_modules/jsencrypt/lib/lib/jsbn/sha256.js.map +0 -1
  113. package/lib/node_modules/jsencrypt/lib/lib/jsbn/util.js +0 -61
  114. package/lib/node_modules/jsencrypt/lib/lib/jsbn/util.js.map +0 -1
  115. package/lib/node_modules/jsencrypt/lib/lib/jsrsasign/asn1-1.0.js +0 -1559
  116. package/lib/node_modules/jsencrypt/lib/lib/jsrsasign/asn1-1.0.js.map +0 -1
@@ -1 +1 @@
1
- export declare const getEncryptedData: (data: string, publicKey: string) => string | false;
1
+ export declare function getEncryptedData(data: string, base64PublicKey: string): Promise<string>;
@@ -1,11 +1,20 @@
1
- import { JSEncrypt } from '../../node_modules/jsencrypt/lib/JSEncrypt.js';
2
-
3
- const getEncryptedData = (data, publicKey) => {
4
- const encrypt = new JSEncrypt();
5
- encrypt.setPublicKey(publicKey);
6
- const enData = encrypt.encrypt(data);
7
- return enData;
8
- };
1
+ async function getEncryptedData(data, base64PublicKey) {
2
+ // Decode the base64-encoded public key
3
+ const keyBytes = Uint8Array.from(atob(base64PublicKey), c => c.charCodeAt(0));
4
+ // Import the public key in SPKI format
5
+ const publicKey = await crypto.subtle.importKey('spki', keyBytes, {
6
+ name: 'RSA-OAEP',
7
+ hash: 'SHA-256'
8
+ }, false, ['encrypt']);
9
+ // Convert data to Uint8Array
10
+ const encodedData = new TextEncoder().encode(data);
11
+ // Encrypt the data using RSA-OAEP
12
+ const encryptedData = await crypto.subtle.encrypt({
13
+ name: 'RSA-OAEP'
14
+ }, publicKey, encodedData);
15
+ // Convert encrypted data to base64
16
+ return btoa(String.fromCharCode(...new Uint8Array(encryptedData)));
17
+ }
9
18
 
10
19
  export { getEncryptedData };
11
20
  //# sourceMappingURL=getEncryptedData.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getEncryptedData.js","sources":["../../../src/utils/getEncryptedData/getEncryptedData.ts"],"sourcesContent":[null],"names":["getEncryptedData","data","publicKey","encrypt","JSEncrypt","setPublicKey","enData"],"mappings":";;MAEaA,gBAAgB,GAAGA,CAACC,IAAY,EAAEC,SAAiB,KAAI;AAClE,EAAA,MAAMC,OAAO,GAAG,IAAIC,SAAS,EAAE;AAC/BD,EAAAA,OAAO,CAACE,YAAY,CAACH,SAAS,CAAC;AAC/B,EAAA,MAAMI,MAAM,GAAGH,OAAO,CAACA,OAAO,CAACF,IAAI,CAAC;AACpC,EAAA,OAAOK,MAAM;AACf;;;;"}
1
+ {"version":3,"file":"getEncryptedData.js","sources":["../../../src/utils/getEncryptedData/getEncryptedData.ts"],"sourcesContent":[null],"names":["getEncryptedData","data","base64PublicKey","keyBytes","Uint8Array","from","atob","c","charCodeAt","publicKey","crypto","subtle","importKey","name","hash","encodedData","TextEncoder","encode","encryptedData","encrypt","btoa","String","fromCharCode"],"mappings":"AAAO,eAAeA,gBAAgBA,CAACC,IAAY,EAAEC,eAAuB,EAAA;AAC1E;AACA,EAAA,MAAMC,QAAQ,GAAGC,UAAU,CAACC,IAAI,CAACC,IAAI,CAACJ,eAAe,CAAC,EAAEK,CAAC,IAAIA,CAAC,CAACC,UAAU,CAAC,CAAC,CAAC,CAAC;AAE7E;AACA,EAAA,MAAMC,SAAS,GAAG,MAAMC,MAAM,CAACC,MAAM,CAACC,SAAS,CAC7C,MAAM,EACNT,QAAQ,EACR;AACEU,IAAAA,IAAI,EAAE,UAAU;AAChBC,IAAAA,IAAI,EAAE;AACP,GAAA,EACD,KAAK,EACL,CAAC,SAAS,CAAC,CACZ;AAED;EACA,MAAMC,WAAW,GAAG,IAAIC,WAAW,EAAE,CAACC,MAAM,CAAChB,IAAI,CAAC;AAElD;EACA,MAAMiB,aAAa,GAAG,MAAMR,MAAM,CAACC,MAAM,CAACQ,OAAO,CAC/C;AACEN,IAAAA,IAAI,EAAE;AACP,GAAA,EACDJ,SAAS,EACTM,WAAW,CACZ;AAED;AACA,EAAA,OAAOK,IAAI,CAACC,MAAM,CAACC,YAAY,CAAC,GAAG,IAAIlB,UAAU,CAACc,aAAa,CAAC,CAAC,CAAC;AACpE;;;;"}
package/package.json CHANGED
@@ -1,107 +1,106 @@
1
- {
2
- "name": "pixel-react",
3
- "description": "Great for pixel-perfect, design-focused components in React",
4
- "version": "1.14.87",
5
- "main": "lib/index.cjs",
6
- "module": "lib/index.js",
7
- "types": "lib/index.d.ts",
8
- "sideEffects": [
9
- "lib/styles.css"
10
- ],
11
- "author": {
12
- "name": "Padmakant Baloji"
13
- },
14
- "license": "MIT",
15
- "devDependencies": {
16
- "@babel/core": "^7.0.0",
17
- "@babel/preset-react": "^7.26.3",
18
- "@chromatic-com/storybook": "^3.2.2",
19
- "@rollup/plugin-babel": "^6.0.4",
20
- "@rollup/plugin-commonjs": "^28.0.2",
21
- "@rollup/plugin-node-resolve": "^16.0.0",
22
- "@rollup/plugin-typescript": "^12.1.2",
23
- "@rollup/plugin-url": "^8.0.2",
24
- "@storybook/addon-docs": "^8.4.5",
25
- "@storybook/addon-essentials": "^8.4.5",
26
- "@storybook/addon-interactions": "^8.4.5",
27
- "@storybook/addon-links": "^8.4.5",
28
- "@storybook/addon-onboarding": "^8.4.5",
29
- "@storybook/blocks": "^8.4.5",
30
- "@storybook/react": "^8.4.5",
31
- "@storybook/react-vite": "^8.4.5",
32
- "@storybook/test": "^8.4.5",
33
- "@types/js-beautify": "^1.14.3",
34
- "@types/react": "^18.3.12",
35
- "@types/react-dom": "^18.3.1",
36
- "@types/react-draft-wysiwyg": "^1.13.8",
37
- "@types/react-google-recaptcha": "^2.1.9",
38
- "chromatic": "^11.16.5",
39
- "cross-env": "^7.0.3",
40
- "postcss": "^8.4.35",
41
- "react": "^18.2.0",
42
- "react-dom": "^18.2.0",
43
- "rimraf": "^6.0.1",
44
- "rollup": "^4.24.4",
45
- "rollup-plugin-commonjs": "^10.1.0",
46
- "rollup-plugin-dts": "^6.1.0",
47
- "rollup-plugin-peer-deps-external": "^2.2.4",
48
- "rollup-plugin-postcss": "^4.0.2",
49
- "rollup-plugin-visualizer": "^5.14.0",
50
- "sass": "^1.80.6",
51
- "storybook": "^8.4.5",
52
- "storybook-addon-theme-provider": "^0.2.6",
53
- "typescript": "^5.7.2",
54
- "vite": "^5.4.10"
55
- },
56
- "peerDependencies": {
57
- "react": "^18.2.0",
58
- "react-dom": "^18.2.0"
59
- },
60
- "scripts": {
61
- "storybook": "storybook dev -p 6006",
62
- "build-storybook": "storybook build",
63
- "build": "rimraf lib && tsc -b && rollup -c",
64
- "analyze": "tsc -b && cross-env ANALYZE=true rollup -c",
65
- "sync": "git pull origin main && tsc -b && rollup -c",
66
- "chromatic": "chromatic --exit-zero-on-changes"
67
- },
68
- "dependencies": {
69
- "@babel/plugin-transform-react-jsx": "^7.24.7",
70
- "@dnd-kit/core": "^6.1.0",
71
- "@dnd-kit/modifiers": "^9.0.0",
72
- "@dnd-kit/sortable": "^8.0.0",
73
- "@dnd-kit/utilities": "^3.2.2",
74
- "@monaco-editor/react": "^4.6.0",
75
- "@types/react-window": "^1.8.8",
76
- "@vitejs/plugin-react": "^4.3.0",
77
- "classnames": "^2.5.1",
78
- "date-fns": "^3.6.0",
79
- "date-fns-tz": "^3.2.0",
80
- "draft-js": "^0.11.7",
81
- "janus-gateway": "^1.3.1",
82
- "js-beautify": "^1.15.1",
83
- "jsencrypt": "^3.3.2",
84
- "monaco-editor": "^0.52.2",
85
- "prop-types": "^15.6.2",
86
- "react-archer": "^4.4.0",
87
- "react-day-picker": "^9.2.1",
88
- "react-draft-wysiwyg": "^1.15.0",
89
- "react-google-recaptcha": "^3.1.0",
90
- "react-hook-form": "^7.53.0",
91
- "react-phone-input-2": "^2.15.1",
92
- "react-phone-number-input": "^3.4.12",
93
- "react-virtuoso": "^4.13.0",
94
- "react-window": "^1.8.10",
95
- "scheduler": "^0.19.0",
96
- "scss": "^0.2.4",
97
- "use-context-selector": "^2.0.0",
98
- "vite-plugin-svgr": "^4.3.0",
99
- "webrtc-adapter": "^9.0.1",
100
- "yarn": "^1.22.22"
101
- },
102
- "files": [
103
- "lib",
104
- "README.md",
105
- "LICENSE"
106
- ]
107
- }
1
+ {
2
+ "name": "pixel-react",
3
+ "description": "Great for pixel-perfect, design-focused components in React",
4
+ "version": "1.14.89",
5
+ "main": "lib/index.cjs",
6
+ "module": "lib/index.js",
7
+ "types": "lib/index.d.ts",
8
+ "sideEffects": [
9
+ "lib/styles.css"
10
+ ],
11
+ "author": {
12
+ "name": "Padmakant Baloji"
13
+ },
14
+ "license": "MIT",
15
+ "devDependencies": {
16
+ "@babel/core": "^7.0.0",
17
+ "@babel/preset-react": "^7.26.3",
18
+ "@chromatic-com/storybook": "^3.2.2",
19
+ "@rollup/plugin-babel": "^6.0.4",
20
+ "@rollup/plugin-commonjs": "^28.0.2",
21
+ "@rollup/plugin-node-resolve": "^16.0.0",
22
+ "@rollup/plugin-typescript": "^12.1.2",
23
+ "@rollup/plugin-url": "^8.0.2",
24
+ "@storybook/addon-docs": "^8.4.5",
25
+ "@storybook/addon-essentials": "^8.4.5",
26
+ "@storybook/addon-interactions": "^8.4.5",
27
+ "@storybook/addon-links": "^8.4.5",
28
+ "@storybook/addon-onboarding": "^8.4.5",
29
+ "@storybook/blocks": "^8.4.5",
30
+ "@storybook/react": "^8.4.5",
31
+ "@storybook/react-vite": "^8.4.5",
32
+ "@storybook/test": "^8.4.5",
33
+ "@types/js-beautify": "^1.14.3",
34
+ "@types/react": "^18.3.12",
35
+ "@types/react-dom": "^18.3.1",
36
+ "@types/react-draft-wysiwyg": "^1.13.8",
37
+ "@types/react-google-recaptcha": "^2.1.9",
38
+ "chromatic": "^11.16.5",
39
+ "cross-env": "^7.0.3",
40
+ "postcss": "^8.4.35",
41
+ "react": "^18.2.0",
42
+ "react-dom": "^18.2.0",
43
+ "rimraf": "^6.0.1",
44
+ "rollup": "^4.24.4",
45
+ "rollup-plugin-commonjs": "^10.1.0",
46
+ "rollup-plugin-dts": "^6.1.0",
47
+ "rollup-plugin-peer-deps-external": "^2.2.4",
48
+ "rollup-plugin-postcss": "^4.0.2",
49
+ "rollup-plugin-visualizer": "^5.14.0",
50
+ "sass": "^1.80.6",
51
+ "storybook": "^8.4.5",
52
+ "storybook-addon-theme-provider": "^0.2.6",
53
+ "typescript": "^5.7.2",
54
+ "vite": "^5.4.10"
55
+ },
56
+ "peerDependencies": {
57
+ "react": "^18.2.0",
58
+ "react-dom": "^18.2.0"
59
+ },
60
+ "scripts": {
61
+ "storybook": "storybook dev -p 6006",
62
+ "build-storybook": "storybook build",
63
+ "build": "rimraf lib && tsc -b && rollup -c",
64
+ "analyze": "tsc -b && cross-env ANALYZE=true rollup -c",
65
+ "sync": "git pull origin main && tsc -b && rollup -c",
66
+ "chromatic": "chromatic --exit-zero-on-changes"
67
+ },
68
+ "dependencies": {
69
+ "@babel/plugin-transform-react-jsx": "^7.24.7",
70
+ "@dnd-kit/core": "^6.1.0",
71
+ "@dnd-kit/modifiers": "^9.0.0",
72
+ "@dnd-kit/sortable": "^8.0.0",
73
+ "@dnd-kit/utilities": "^3.2.2",
74
+ "@monaco-editor/react": "^4.6.0",
75
+ "@types/react-window": "^1.8.8",
76
+ "@vitejs/plugin-react": "^4.3.0",
77
+ "classnames": "^2.5.1",
78
+ "date-fns": "^3.6.0",
79
+ "date-fns-tz": "^3.2.0",
80
+ "draft-js": "^0.11.7",
81
+ "janus-gateway": "^1.3.1",
82
+ "js-beautify": "^1.15.1",
83
+ "monaco-editor": "^0.52.2",
84
+ "prop-types": "^15.6.2",
85
+ "react-archer": "^4.4.0",
86
+ "react-day-picker": "^9.2.1",
87
+ "react-draft-wysiwyg": "^1.15.0",
88
+ "react-google-recaptcha": "^3.1.0",
89
+ "react-hook-form": "^7.53.0",
90
+ "react-phone-input-2": "^2.15.1",
91
+ "react-phone-number-input": "^3.4.12",
92
+ "react-virtuoso": "^4.13.0",
93
+ "react-window": "^1.8.10",
94
+ "scheduler": "^0.19.0",
95
+ "scss": "^0.2.4",
96
+ "use-context-selector": "^2.0.0",
97
+ "vite-plugin-svgr": "^4.3.0",
98
+ "webrtc-adapter": "^9.0.1",
99
+ "yarn": "^1.22.22"
100
+ },
101
+ "files": [
102
+ "lib",
103
+ "README.md",
104
+ "LICENSE"
105
+ ]
106
+ }
@@ -1,246 +0,0 @@
1
- import { b64tohex, hex2b64 } from './lib/jsbn/base64.js';
2
- import { JSEncryptRSAKey } from './JSEncryptRSAKey.js';
3
- import { oaep_pad } from './lib/jsbn/rsa.js';
4
- import { rstr2hex, rstr_sha256 } from './lib/jsbn/sha256.js';
5
-
6
- var _a;
7
- var version = typeof process !== "undefined" ? (_a = process.env) === null || _a === void 0 ? void 0 : _a.npm_package_version : undefined;
8
- /**
9
- *
10
- * @param {Object} [options = {}] - An object to customize JSEncrypt behaviour
11
- * possible parameters are:
12
- * - key {JSEncryptRSAKey} default: null
13
- * - default_key_size {number} default: 1024 the key size in bit
14
- * - default_public_exponent {string} default: '010001' the hexadecimal representation of the public exponent
15
- * - log {boolean} default: false whether log warn/error or not
16
- * @constructor
17
- */
18
- var JSEncrypt = /** @class */function () {
19
- function JSEncrypt(options) {
20
- if (options === void 0) {
21
- options = {};
22
- }
23
- this.default_key_size = options.default_key_size ? parseInt(options.default_key_size, 10) : 1024;
24
- this.default_public_exponent = options.default_public_exponent || "010001"; // 65537 default openssl public exponent for rsa key type
25
- this.log = options.log || false;
26
- // The private and public key.
27
- this.key = options.key || null;
28
- }
29
- /**
30
- * Method to set the rsa key parameter (one method is enough to set both the public
31
- * and the private key, since the private key contains the public key paramenters)
32
- * Log a warning if logs are enabled
33
- * @param {Object|string} key the pem encoded string or an object (with or without header/footer)
34
- * @public
35
- */
36
- JSEncrypt.prototype.setKey = function (key) {
37
- if (key) {
38
- if (this.log && this.key) {
39
- console.warn("A key was already set, overriding existing.");
40
- }
41
- this.key = new JSEncryptRSAKey(key);
42
- } else if (!this.key && this.log) {
43
- console.error("A key was not set.");
44
- }
45
- };
46
- /**
47
- * Proxy method for setKey, for api compatibility
48
- * @see setKey
49
- * @public
50
- */
51
- JSEncrypt.prototype.setPrivateKey = function (privkey) {
52
- // Create the key.
53
- this.setKey(privkey);
54
- };
55
- /**
56
- * Proxy method for setKey, for api compatibility
57
- * @see setKey
58
- * @public
59
- */
60
- JSEncrypt.prototype.setPublicKey = function (pubkey) {
61
- // Sets the public key.
62
- this.setKey(pubkey);
63
- };
64
- /**
65
- * Proxy method for RSAKey object's decrypt, decrypt the string using the private
66
- * components of the rsa key object. Note that if the object was not set will be created
67
- * on the fly (by the getKey method) using the parameters passed in the JSEncrypt constructor
68
- * @param {string} str base64 encoded crypted string to decrypt
69
- * @return {string} the decrypted string
70
- * @public
71
- */
72
- JSEncrypt.prototype.decrypt = function (str) {
73
- // Return the decrypted string.
74
- try {
75
- return this.getKey().decrypt(b64tohex(str));
76
- } catch (ex) {
77
- return false;
78
- }
79
- };
80
- /**
81
- * Proxy method for RSAKey object's encrypt, encrypt the string using the public
82
- * components of the rsa key object. Note that if the object was not set will be created
83
- * on the fly (by the getKey method) using the parameters passed in the JSEncrypt constructor
84
- * @param {string} str the string to encrypt
85
- * @return {string} the encrypted string encoded in base64
86
- * @public
87
- */
88
- JSEncrypt.prototype.encrypt = function (str) {
89
- // Return the encrypted string.
90
- try {
91
- return hex2b64(this.getKey().encrypt(str));
92
- } catch (ex) {
93
- return false;
94
- }
95
- };
96
- /**
97
- * Proxy method for RSAKey object's encrypt with padding: RSA_PKCS1_OAEP_PADDING and oaepHash: sha256,
98
- * encrypt the string using the public
99
- * components of the rsa key object. Note that if the object was not set will be created
100
- * on the fly (by the getKey method) using the parameters passed in the JSEncrypt constructor
101
- * @param {string} str the string to encrypt
102
- * @return {string} the encrypted string encoded in base64
103
- * @public
104
- */
105
- JSEncrypt.prototype.encryptOAEP = function (str) {
106
- // Return the encrypted string.
107
- try {
108
- return hex2b64(this.getKey().encrypt(str, oaep_pad));
109
- } catch (ex) {
110
- return false;
111
- }
112
- };
113
- /**
114
- * Proxy method for RSAKey object's sign.
115
- * @param {string} str the string to sign
116
- * @param {function} digestMethod hash method
117
- * @param {string} digestName the name of the hash algorithm
118
- * @return {string} the signature encoded in base64
119
- * @public
120
- */
121
- JSEncrypt.prototype.sign = function (str, digestMethod, digestName) {
122
- if (digestMethod === void 0) {
123
- digestMethod = function (raw) {
124
- return raw;
125
- };
126
- }
127
- if (digestName === void 0) {
128
- digestName = "";
129
- }
130
- // return the RSA signature of 'str' in 'hex' format.
131
- try {
132
- return hex2b64(this.getKey().sign(str, digestMethod, digestName));
133
- } catch (ex) {
134
- return false;
135
- }
136
- };
137
- /**
138
- * Signs a string using the SHA-256 hash algorithm.
139
- * @param str the string to sign
140
- * @returns the base64 encoded signature or false on failure
141
- */
142
- JSEncrypt.prototype.signSha256 = function (str) {
143
- return this.sign(str, function (text) {
144
- return rstr2hex(rstr_sha256(text));
145
- }, "sha256");
146
- };
147
- /**
148
- * Proxy method for RSAKey object's verify.
149
- * @param {string} str the string to verify
150
- * @param {string} signature the signature encoded in base64 to compare the string to
151
- * @param {function} digestMethod hash method
152
- * @return {boolean} whether the data and signature match
153
- * @public
154
- */
155
- JSEncrypt.prototype.verify = function (str, signature, digestMethod) {
156
- if (digestMethod === void 0) {
157
- digestMethod = function (raw) {
158
- return raw;
159
- };
160
- }
161
- // Return the decrypted 'digest' of the signature.
162
- try {
163
- return this.getKey().verify(str, b64tohex(signature), digestMethod);
164
- } catch (ex) {
165
- return false;
166
- }
167
- };
168
- /**
169
- * Verifies a string using the SHA-256 hash algorithm.
170
- * @param str the string to verify
171
- * @param signature the base64 encoded signature to compare against
172
- * @returns whether the signature is valid
173
- */
174
- JSEncrypt.prototype.verifySha256 = function (str, signature) {
175
- return this.verify(str, signature, function (text) {
176
- return rstr2hex(rstr_sha256(text));
177
- });
178
- };
179
- /**
180
- * Getter for the current JSEncryptRSAKey object. If it doesn't exists a new object
181
- * will be created and returned
182
- * @param {callback} [cb] the callback to be called if we want the key to be generated
183
- * in an async fashion
184
- * @returns {JSEncryptRSAKey} the JSEncryptRSAKey object
185
- * @public
186
- */
187
- JSEncrypt.prototype.getKey = function (cb) {
188
- // Only create new if it does not exist.
189
- if (!this.key) {
190
- // Get a new private key.
191
- this.key = new JSEncryptRSAKey();
192
- if (cb && {}.toString.call(cb) === "[object Function]") {
193
- this.key.generateAsync(this.default_key_size, this.default_public_exponent, cb);
194
- return;
195
- }
196
- // Generate the key.
197
- this.key.generate(this.default_key_size, this.default_public_exponent);
198
- }
199
- return this.key;
200
- };
201
- /**
202
- * Returns the pem encoded representation of the private key
203
- * If the key doesn't exists a new key will be created
204
- * @returns {string} pem encoded representation of the private key WITH header and footer
205
- * @public
206
- */
207
- JSEncrypt.prototype.getPrivateKey = function () {
208
- // Return the private representation of this key.
209
- return this.getKey().getPrivateKey();
210
- };
211
- /**
212
- * Returns the pem encoded representation of the private key
213
- * If the key doesn't exists a new key will be created
214
- * @returns {string} pem encoded representation of the private key WITHOUT header and footer
215
- * @public
216
- */
217
- JSEncrypt.prototype.getPrivateKeyB64 = function () {
218
- // Return the private representation of this key.
219
- return this.getKey().getPrivateBaseKeyB64();
220
- };
221
- /**
222
- * Returns the pem encoded representation of the public key
223
- * If the key doesn't exists a new key will be created
224
- * @returns {string} pem encoded representation of the public key WITH header and footer
225
- * @public
226
- */
227
- JSEncrypt.prototype.getPublicKey = function () {
228
- // Return the private representation of this key.
229
- return this.getKey().getPublicKey();
230
- };
231
- /**
232
- * Returns the pem encoded representation of the public key
233
- * If the key doesn't exists a new key will be created
234
- * @returns {string} pem encoded representation of the public key WITHOUT header and footer
235
- * @public
236
- */
237
- JSEncrypt.prototype.getPublicKeyB64 = function () {
238
- // Return the private representation of this key.
239
- return this.getKey().getPublicBaseKeyB64();
240
- };
241
- JSEncrypt.version = version;
242
- return JSEncrypt;
243
- }();
244
-
245
- export { JSEncrypt };
246
- //# sourceMappingURL=JSEncrypt.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"JSEncrypt.js","sources":["../../../../node_modules/jsencrypt/lib/JSEncrypt.js"],"sourcesContent":["var _a;\nimport { b64tohex, hex2b64 } from \"./lib/jsbn/base64\";\nimport { JSEncryptRSAKey } from \"./JSEncryptRSAKey\";\nimport { oaep_pad } from './lib/jsbn/rsa';\nimport { rstr_sha256, rstr2hex } from './lib/jsbn/sha256';\nvar version = typeof process !== \"undefined\" ? (_a = process.env) === null || _a === void 0 ? void 0 : _a.npm_package_version : undefined;\n/**\n *\n * @param {Object} [options = {}] - An object to customize JSEncrypt behaviour\n * possible parameters are:\n * - key {JSEncryptRSAKey} default: null\n * - default_key_size {number} default: 1024 the key size in bit\n * - default_public_exponent {string} default: '010001' the hexadecimal representation of the public exponent\n * - log {boolean} default: false whether log warn/error or not\n * @constructor\n */\nvar JSEncrypt = /** @class */ (function () {\n function JSEncrypt(options) {\n if (options === void 0) { options = {}; }\n this.default_key_size = options.default_key_size\n ? parseInt(options.default_key_size, 10)\n : 1024;\n this.default_public_exponent = options.default_public_exponent || \"010001\"; // 65537 default openssl public exponent for rsa key type\n this.log = options.log || false;\n // The private and public key.\n this.key = options.key || null;\n }\n /**\n * Method to set the rsa key parameter (one method is enough to set both the public\n * and the private key, since the private key contains the public key paramenters)\n * Log a warning if logs are enabled\n * @param {Object|string} key the pem encoded string or an object (with or without header/footer)\n * @public\n */\n JSEncrypt.prototype.setKey = function (key) {\n if (key) {\n if (this.log && this.key) {\n console.warn(\"A key was already set, overriding existing.\");\n }\n this.key = new JSEncryptRSAKey(key);\n }\n else if (!this.key && this.log) {\n console.error(\"A key was not set.\");\n }\n };\n /**\n * Proxy method for setKey, for api compatibility\n * @see setKey\n * @public\n */\n JSEncrypt.prototype.setPrivateKey = function (privkey) {\n // Create the key.\n this.setKey(privkey);\n };\n /**\n * Proxy method for setKey, for api compatibility\n * @see setKey\n * @public\n */\n JSEncrypt.prototype.setPublicKey = function (pubkey) {\n // Sets the public key.\n this.setKey(pubkey);\n };\n /**\n * Proxy method for RSAKey object's decrypt, decrypt the string using the private\n * components of the rsa key object. Note that if the object was not set will be created\n * on the fly (by the getKey method) using the parameters passed in the JSEncrypt constructor\n * @param {string} str base64 encoded crypted string to decrypt\n * @return {string} the decrypted string\n * @public\n */\n JSEncrypt.prototype.decrypt = function (str) {\n // Return the decrypted string.\n try {\n return this.getKey().decrypt(b64tohex(str));\n }\n catch (ex) {\n return false;\n }\n };\n /**\n * Proxy method for RSAKey object's encrypt, encrypt the string using the public\n * components of the rsa key object. Note that if the object was not set will be created\n * on the fly (by the getKey method) using the parameters passed in the JSEncrypt constructor\n * @param {string} str the string to encrypt\n * @return {string} the encrypted string encoded in base64\n * @public\n */\n JSEncrypt.prototype.encrypt = function (str) {\n // Return the encrypted string.\n try {\n return hex2b64(this.getKey().encrypt(str));\n }\n catch (ex) {\n return false;\n }\n };\n /**\n * Proxy method for RSAKey object's encrypt with padding: RSA_PKCS1_OAEP_PADDING and oaepHash: sha256,\n * encrypt the string using the public\n * components of the rsa key object. Note that if the object was not set will be created\n * on the fly (by the getKey method) using the parameters passed in the JSEncrypt constructor\n * @param {string} str the string to encrypt\n * @return {string} the encrypted string encoded in base64\n * @public\n */\n JSEncrypt.prototype.encryptOAEP = function (str) {\n // Return the encrypted string.\n try {\n return hex2b64(this.getKey().encrypt(str, oaep_pad));\n }\n catch (ex) {\n return false;\n }\n };\n /**\n * Proxy method for RSAKey object's sign.\n * @param {string} str the string to sign\n * @param {function} digestMethod hash method\n * @param {string} digestName the name of the hash algorithm\n * @return {string} the signature encoded in base64\n * @public\n */\n JSEncrypt.prototype.sign = function (str, digestMethod, digestName) {\n if (digestMethod === void 0) { digestMethod = function (raw) { return raw; }; }\n if (digestName === void 0) { digestName = \"\"; }\n // return the RSA signature of 'str' in 'hex' format.\n try {\n return hex2b64(this.getKey().sign(str, digestMethod, digestName));\n }\n catch (ex) {\n return false;\n }\n };\n /**\n * Signs a string using the SHA-256 hash algorithm.\n * @param str the string to sign\n * @returns the base64 encoded signature or false on failure\n */\n JSEncrypt.prototype.signSha256 = function (str) {\n return this.sign(str, function (text) {\n return rstr2hex(rstr_sha256(text));\n }, \"sha256\");\n };\n /**\n * Proxy method for RSAKey object's verify.\n * @param {string} str the string to verify\n * @param {string} signature the signature encoded in base64 to compare the string to\n * @param {function} digestMethod hash method\n * @return {boolean} whether the data and signature match\n * @public\n */\n JSEncrypt.prototype.verify = function (str, signature, digestMethod) {\n if (digestMethod === void 0) { digestMethod = function (raw) { return raw; }; }\n // Return the decrypted 'digest' of the signature.\n try {\n return this.getKey().verify(str, b64tohex(signature), digestMethod);\n }\n catch (ex) {\n return false;\n }\n };\n /**\n * Verifies a string using the SHA-256 hash algorithm.\n * @param str the string to verify\n * @param signature the base64 encoded signature to compare against\n * @returns whether the signature is valid\n */\n JSEncrypt.prototype.verifySha256 = function (str, signature) {\n return this.verify(str, signature, function (text) {\n return rstr2hex(rstr_sha256(text));\n });\n };\n /**\n * Getter for the current JSEncryptRSAKey object. If it doesn't exists a new object\n * will be created and returned\n * @param {callback} [cb] the callback to be called if we want the key to be generated\n * in an async fashion\n * @returns {JSEncryptRSAKey} the JSEncryptRSAKey object\n * @public\n */\n JSEncrypt.prototype.getKey = function (cb) {\n // Only create new if it does not exist.\n if (!this.key) {\n // Get a new private key.\n this.key = new JSEncryptRSAKey();\n if (cb && {}.toString.call(cb) === \"[object Function]\") {\n this.key.generateAsync(this.default_key_size, this.default_public_exponent, cb);\n return;\n }\n // Generate the key.\n this.key.generate(this.default_key_size, this.default_public_exponent);\n }\n return this.key;\n };\n /**\n * Returns the pem encoded representation of the private key\n * If the key doesn't exists a new key will be created\n * @returns {string} pem encoded representation of the private key WITH header and footer\n * @public\n */\n JSEncrypt.prototype.getPrivateKey = function () {\n // Return the private representation of this key.\n return this.getKey().getPrivateKey();\n };\n /**\n * Returns the pem encoded representation of the private key\n * If the key doesn't exists a new key will be created\n * @returns {string} pem encoded representation of the private key WITHOUT header and footer\n * @public\n */\n JSEncrypt.prototype.getPrivateKeyB64 = function () {\n // Return the private representation of this key.\n return this.getKey().getPrivateBaseKeyB64();\n };\n /**\n * Returns the pem encoded representation of the public key\n * If the key doesn't exists a new key will be created\n * @returns {string} pem encoded representation of the public key WITH header and footer\n * @public\n */\n JSEncrypt.prototype.getPublicKey = function () {\n // Return the private representation of this key.\n return this.getKey().getPublicKey();\n };\n /**\n * Returns the pem encoded representation of the public key\n * If the key doesn't exists a new key will be created\n * @returns {string} pem encoded representation of the public key WITHOUT header and footer\n * @public\n */\n JSEncrypt.prototype.getPublicKeyB64 = function () {\n // Return the private representation of this key.\n return this.getKey().getPublicBaseKeyB64();\n };\n JSEncrypt.version = version;\n return JSEncrypt;\n}());\nexport { JSEncrypt };\n"],"names":["_a","version","process","env","npm_package_version","undefined","JSEncrypt","options","default_key_size","parseInt","default_public_exponent","log","key","prototype","setKey","console","warn","JSEncryptRSAKey","error","setPrivateKey","privkey","setPublicKey","pubkey","decrypt","str","getKey","b64tohex","ex","encrypt","hex2b64","encryptOAEP","oaep_pad","sign","digestMethod","digestName","raw","signSha256","text","rstr2hex","rstr_sha256","verify","signature","verifySha256","cb","toString","call","generateAsync","generate","getPrivateKey","getPrivateKeyB64","getPrivateBaseKeyB64","getPublicKey","getPublicKeyB64","getPublicBaseKeyB64"],"mappings":";;;;;AAAA,IAAIA,EAAE;AAKN,IAAIC,OAAO,GAAG,OAAOC,OAAO,KAAK,WAAW,GAAG,CAACF,EAAE,GAAGE,OAAO,CAACC,GAAG,MAAM,IAAI,IAAIH,EAAE,KAAK,MAAM,GAAG,MAAM,GAAGA,EAAE,CAACI,mBAAmB,GAAGC,SAAS;AACzI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAIC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