@openeventkit/event-site 2.1.8 → 2.1.10
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openeventkit/event-site",
|
|
3
3
|
"description": "Event Site",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.10",
|
|
5
5
|
"author": "Tipit LLC",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@emotion/server": "^11.11.0",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"@mui/base": "^5.0.0-beta.40",
|
|
15
15
|
"@mui/icons-material": "^5.15.20",
|
|
16
16
|
"@mui/material": "^5.15.20",
|
|
17
|
+
"@mui/utils": "^5.16.8",
|
|
17
18
|
"@mux/mux-player-react": "^1.14.1",
|
|
18
19
|
"@ncwidgets/file-relation": "^0.8.0",
|
|
19
20
|
"@ncwidgets/id": "^0.8.1",
|
|
@@ -86,7 +87,7 @@
|
|
|
86
87
|
"markdown-it": "^12.0.0",
|
|
87
88
|
"moment": "^2.27.0",
|
|
88
89
|
"moment-timezone": "^0.5.31",
|
|
89
|
-
"my-orders-tickets-widget": "1.0.0-beta.
|
|
90
|
+
"my-orders-tickets-widget": "1.0.0-beta.55",
|
|
90
91
|
"object.assign": "^4.1.5",
|
|
91
92
|
"openstack-uicore-foundation": "4.2.8",
|
|
92
93
|
"path-browserify": "^1.0.1",
|
|
@@ -134,7 +135,7 @@
|
|
|
134
135
|
"stream-browserify": "^3.0.0",
|
|
135
136
|
"stream-chat": "^2.7.2",
|
|
136
137
|
"stream-chat-react": "3.1.7",
|
|
137
|
-
"summit-registration-lite": "6.0.
|
|
138
|
+
"summit-registration-lite": "6.0.2",
|
|
138
139
|
"superagent": "8.0.9",
|
|
139
140
|
"sweetalert2": "^11.11.1",
|
|
140
141
|
"upcoming-events-widget": "3.0.7",
|
|
@@ -116,6 +116,29 @@ const RegistrationLiteComponent = ({
|
|
|
116
116
|
};
|
|
117
117
|
|
|
118
118
|
const handleOnError = (e) => {
|
|
119
|
+
// this is a basic implementation using swal
|
|
120
|
+
const {type, msg, exception} = e;
|
|
121
|
+
let icon = 'error';
|
|
122
|
+
let title = 'ERROR';
|
|
123
|
+
switch(type){
|
|
124
|
+
case ERROR_TYPE_ERROR:
|
|
125
|
+
icon = 'error';
|
|
126
|
+
title = 'Error';
|
|
127
|
+
break
|
|
128
|
+
case ERROR_TYPE_VALIDATION:
|
|
129
|
+
icon = 'warning';
|
|
130
|
+
title = 'Warning'
|
|
131
|
+
break;
|
|
132
|
+
case ERROR_TYPE_PAYMENT:
|
|
133
|
+
title = 'Payment Error'
|
|
134
|
+
icon = 'warning';
|
|
135
|
+
break;
|
|
136
|
+
default:
|
|
137
|
+
icon = 'error';
|
|
138
|
+
title = 'Error';
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
Swal.fire(title, msg, icon)
|
|
119
142
|
}
|
|
120
143
|
|
|
121
144
|
const { getSettingByKey } = useMarketingSettings();
|
package/.emv.ocp2025.prod
DELETED
|
File without changes
|