tf-checkout-react 1.0.102 → 1.0.105
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/dist/components/common/RedirectModal.d.ts +7 -0
- package/dist/components/ticketsContainer/TicketsSection.d.ts +2 -1
- package/dist/components/ticketsContainer/index.d.ts +2 -1
- package/dist/images/done.svg +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/tf-checkout-react.cjs.development.js +71 -25
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +71 -26
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +89 -89
- package/src/.d.ts +2 -2
- package/src/api/index.ts +293 -278
- package/src/assets/images/done.svg +3 -3
- package/src/components/billing-info-container/index.tsx +796 -796
- package/src/components/billing-info-container/style.css +105 -105
- package/src/components/billing-info-container/utils.ts +224 -224
- package/src/components/common/CheckboxField.tsx +41 -41
- package/src/components/common/CustomField.tsx +84 -84
- package/src/components/common/FormikPhoneNumberField.tsx +51 -51
- package/src/components/common/Loader.tsx +9 -9
- package/src/components/common/RadioField.tsx +35 -35
- package/src/components/common/RedirectModal.tsx +43 -0
- package/src/components/common/SelectField.tsx +80 -80
- package/src/components/common/SnackbarAlert.tsx +53 -53
- package/src/components/common/index.tsx +4 -4
- package/src/components/confirmModal/index.tsx +51 -51
- package/src/components/confirmModal/style.css +21 -21
- package/src/components/confirmationContainer/config.ts +72 -72
- package/src/components/confirmationContainer/index.tsx +197 -197
- package/src/components/confirmationContainer/social-buttons.tsx +94 -94
- package/src/components/confirmationContainer/style.css +202 -202
- package/src/components/countdown/index.tsx +89 -89
- package/src/components/countdown/style.css +9 -9
- package/src/components/index.ts +7 -7
- package/src/components/loginModal/index.tsx +209 -209
- package/src/components/loginModal/style.css +71 -71
- package/src/components/myTicketsContainer/index.tsx +196 -196
- package/src/components/myTicketsContainer/row.tsx +41 -41
- package/src/components/myTicketsContainer/style.css +39 -39
- package/src/components/myTicketsContainer/tableConfig.tsx +34 -34
- package/src/components/orderDetailsContainer/index.tsx +249 -249
- package/src/components/orderDetailsContainer/style.css +72 -72
- package/src/components/orderDetailsContainer/ticketsTable.tsx +124 -124
- package/src/components/paymentContainer/index.tsx +284 -284
- package/src/components/registerModal/index.tsx +190 -190
- package/src/components/stripePayment/index.tsx +253 -253
- package/src/components/stripePayment/style.css +59 -59
- package/src/components/ticketResale/index.tsx +56 -56
- package/src/components/ticketResaleModal/index.tsx +210 -210
- package/src/components/ticketResaleModal/style.css +28 -28
- package/src/components/ticketsContainer/PromoCodeSection.tsx +99 -99
- package/src/components/ticketsContainer/ReferralLogic.tsx +33 -33
- package/src/components/ticketsContainer/TicketRow.tsx +83 -83
- package/src/components/ticketsContainer/TicketsSection.tsx +85 -81
- package/src/components/ticketsContainer/index.tsx +430 -430
- package/src/components/ticketsContainer/style.css +181 -181
- package/src/components/ticketsContainer/utils.ts +11 -11
- package/src/components/timerWidget/index.tsx +70 -70
- package/src/components/timerWidget/style.css +26 -26
- package/src/components/waitingList/index.tsx +178 -178
- package/src/components/waitingList/style.css +26 -26
- package/src/env.ts +20 -20
- package/src/index.ts +14 -13
- package/src/normalizers/index.ts +45 -45
- package/src/types/billing-info-data.ts +37 -37
- package/src/types/payment-field.ts +7 -7
- package/src/types/referral-promotion.ts +7 -7
- package/src/utils/createCheckoutDataBodyWithDefaultHolder.ts +59 -59
- package/src/utils/downloadPDF.tsx +30 -30
- package/src/utils/formikErrorFocus.ts +24 -24
- package/src/utils/getImage.ts +14 -14
- package/src/utils/getQueryVariable.ts +13 -13
- package/src/utils/index.ts +5 -5
- package/src/utils/setConfigs.ts +26 -26
- package/src/utils/showZero.tsx +10 -10
- package/src/validators/index.ts +20 -20
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
package/package.json
CHANGED
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "1.0.
|
|
3
|
-
"license": "MIT",
|
|
4
|
-
"main": "dist/index.js",
|
|
5
|
-
"typings": "dist/index.d.ts",
|
|
6
|
-
"files": [
|
|
7
|
-
"dist",
|
|
8
|
-
"src"
|
|
9
|
-
],
|
|
10
|
-
"engines": {
|
|
11
|
-
"node": ">=10"
|
|
12
|
-
},
|
|
13
|
-
"scripts": {
|
|
14
|
-
"start": "tsdx watch",
|
|
15
|
-
"build": "tsdx build",
|
|
16
|
-
"test": "tsdx test --passWithNoTests",
|
|
17
|
-
"lint": "tsdx lint",
|
|
18
|
-
"prepare": "tsdx build",
|
|
19
|
-
"size": "size-limit",
|
|
20
|
-
"analyze": "size-limit --why"
|
|
21
|
-
},
|
|
22
|
-
"peerDependencies": {
|
|
23
|
-
"react": ">=16"
|
|
24
|
-
},
|
|
25
|
-
"husky": {
|
|
26
|
-
"hooks": {
|
|
27
|
-
"pre-commit": "tsdx lint"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"prettier": {
|
|
31
|
-
"printWidth": 80,
|
|
32
|
-
"semi": false,
|
|
33
|
-
"singleQuote": true,
|
|
34
|
-
"trailingComma": "es5"
|
|
35
|
-
},
|
|
36
|
-
"name": "tf-checkout-react",
|
|
37
|
-
"author": "ft-worker",
|
|
38
|
-
"module": "dist/tf-checkout-react.esm.js",
|
|
39
|
-
"size-limit": [
|
|
40
|
-
{
|
|
41
|
-
"path": "dist/tf-checkout-react.cjs.production.min.js",
|
|
42
|
-
"limit": "10 KB"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"path": "dist/tf-checkout-react.esm.js",
|
|
46
|
-
"limit": "10 KB"
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@size-limit/preset-small-lib": "^6.0.4",
|
|
51
|
-
"@types/lodash": "^4.14.176",
|
|
52
|
-
"@types/react": "^17.0.34",
|
|
53
|
-
"@types/react-dom": "^17.0.11",
|
|
54
|
-
"@typescript-eslint/parser": "5.4.0",
|
|
55
|
-
"husky": "^7.0.4",
|
|
56
|
-
"react": "^17.0.2",
|
|
57
|
-
"react-dom": "^17.0.2",
|
|
58
|
-
"rollup-plugin-postcss": "^4.0.1",
|
|
59
|
-
"rollup-plugin-static-files": "^0.2.0",
|
|
60
|
-
"size-limit": "^6.0.4",
|
|
61
|
-
"tsdx": "^0.14.1",
|
|
62
|
-
"tslib": "^2.3.1",
|
|
63
|
-
"typescript": "^4.4.4"
|
|
64
|
-
},
|
|
65
|
-
"dependencies": {
|
|
66
|
-
"@emotion/react": "^11.7.0",
|
|
67
|
-
"@emotion/styled": "^11.6.0",
|
|
68
|
-
"@mui/lab": "^5.0.0-alpha.55",
|
|
69
|
-
"@mui/material": "^5.2.2",
|
|
70
|
-
"@mui/styles": "^5.2.2",
|
|
71
|
-
"@stripe/react-stripe-js": "^1.6.0",
|
|
72
|
-
"@stripe/stripe-js": "^1.21.1",
|
|
73
|
-
"axios": "^0.24.0",
|
|
74
|
-
"clsx": "^1.1.1",
|
|
75
|
-
"formik": "^2.2.9",
|
|
76
|
-
"jwt-decode": "^3.1.2",
|
|
77
|
-
"lodash": "^4.17.21",
|
|
78
|
-
"lodash-es": "^4.17.21",
|
|
79
|
-
"material-ui-phone-number": "^3.0.0",
|
|
80
|
-
"moment-timezone": "^0.5.34",
|
|
81
|
-
"nanoid": "^3.1.30",
|
|
82
|
-
"prop-types": "^15.7.2",
|
|
83
|
-
"react-bootstrap": "^2.0.2",
|
|
84
|
-
"react-countdown": "^2.3.2",
|
|
85
|
-
"react-inlinesvg": "^2.3.0",
|
|
86
|
-
"react-share": "^4.4.0",
|
|
87
|
-
"yup": "^0.32.11"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0.105",
|
|
3
|
+
"license": "MIT",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"typings": "dist/index.d.ts",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"src"
|
|
9
|
+
],
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">=10"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"start": "tsdx watch",
|
|
15
|
+
"build": "tsdx build",
|
|
16
|
+
"test": "tsdx test --passWithNoTests",
|
|
17
|
+
"lint": "tsdx lint",
|
|
18
|
+
"prepare": "tsdx build",
|
|
19
|
+
"size": "size-limit",
|
|
20
|
+
"analyze": "size-limit --why"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"react": ">=16"
|
|
24
|
+
},
|
|
25
|
+
"husky": {
|
|
26
|
+
"hooks": {
|
|
27
|
+
"pre-commit": "tsdx lint"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"prettier": {
|
|
31
|
+
"printWidth": 80,
|
|
32
|
+
"semi": false,
|
|
33
|
+
"singleQuote": true,
|
|
34
|
+
"trailingComma": "es5"
|
|
35
|
+
},
|
|
36
|
+
"name": "tf-checkout-react",
|
|
37
|
+
"author": "ft-worker",
|
|
38
|
+
"module": "dist/tf-checkout-react.esm.js",
|
|
39
|
+
"size-limit": [
|
|
40
|
+
{
|
|
41
|
+
"path": "dist/tf-checkout-react.cjs.production.min.js",
|
|
42
|
+
"limit": "10 KB"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "dist/tf-checkout-react.esm.js",
|
|
46
|
+
"limit": "10 KB"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@size-limit/preset-small-lib": "^6.0.4",
|
|
51
|
+
"@types/lodash": "^4.14.176",
|
|
52
|
+
"@types/react": "^17.0.34",
|
|
53
|
+
"@types/react-dom": "^17.0.11",
|
|
54
|
+
"@typescript-eslint/parser": "5.4.0",
|
|
55
|
+
"husky": "^7.0.4",
|
|
56
|
+
"react": "^17.0.2",
|
|
57
|
+
"react-dom": "^17.0.2",
|
|
58
|
+
"rollup-plugin-postcss": "^4.0.1",
|
|
59
|
+
"rollup-plugin-static-files": "^0.2.0",
|
|
60
|
+
"size-limit": "^6.0.4",
|
|
61
|
+
"tsdx": "^0.14.1",
|
|
62
|
+
"tslib": "^2.3.1",
|
|
63
|
+
"typescript": "^4.4.4"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"@emotion/react": "^11.7.0",
|
|
67
|
+
"@emotion/styled": "^11.6.0",
|
|
68
|
+
"@mui/lab": "^5.0.0-alpha.55",
|
|
69
|
+
"@mui/material": "^5.2.2",
|
|
70
|
+
"@mui/styles": "^5.2.2",
|
|
71
|
+
"@stripe/react-stripe-js": "^1.6.0",
|
|
72
|
+
"@stripe/stripe-js": "^1.21.1",
|
|
73
|
+
"axios": "^0.24.0",
|
|
74
|
+
"clsx": "^1.1.1",
|
|
75
|
+
"formik": "^2.2.9",
|
|
76
|
+
"jwt-decode": "^3.1.2",
|
|
77
|
+
"lodash": "^4.17.21",
|
|
78
|
+
"lodash-es": "^4.17.21",
|
|
79
|
+
"material-ui-phone-number": "^3.0.0",
|
|
80
|
+
"moment-timezone": "^0.5.34",
|
|
81
|
+
"nanoid": "^3.1.30",
|
|
82
|
+
"prop-types": "^15.7.2",
|
|
83
|
+
"react-bootstrap": "^2.0.2",
|
|
84
|
+
"react-countdown": "^2.3.2",
|
|
85
|
+
"react-inlinesvg": "^2.3.0",
|
|
86
|
+
"react-share": "^4.4.0",
|
|
87
|
+
"yup": "^0.32.11"
|
|
88
|
+
}
|
|
89
|
+
}
|
package/src/.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare module '*.css';
|
|
2
|
-
declare module '*.png';
|
|
1
|
+
declare module '*.css';
|
|
2
|
+
declare module '*.png';
|