@supersoniks/concorde 1.1.30 → 1.1.31
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/README.md +0 -0
- package/cli.js +0 -0
- package/concorde-core.bundle.js +23 -22
- package/concorde-core.es.js +22 -21
- package/core/components/functional/date/date.js +8 -2
- package/core/components/functional/list/list.js +17 -11
- package/core/components/functional/submit/submit.js +46 -30
- package/core/components/ui/_css/size.js +24 -24
- package/core/components/ui/alert/alert.js +1 -1
- package/core/components/ui/captcha/captcha.d.ts +16 -0
- package/core/components/ui/captcha/captcha.js +54 -0
- package/core/components/ui/form/checkbox/checkbox.d.ts +40 -2
- package/core/components/ui/taxonomy/taxonomy.js +2 -1
- package/core/components/ui/theme/css/tailwind.css +0 -0
- package/core/components/ui/theme/css/tailwind.d.ts +0 -0
- package/core/components/ui/theme/theme.d.ts +1 -0
- package/core/components/ui/theme/theme.js +5 -1
- package/core/components/ui/toast/toast-item.js +24 -6
- package/core/components/ui/toast/toast.js +6 -2
- package/core/components/ui/ui.d.ts +1 -0
- package/core/components/ui/ui.js +1 -0
- package/core/mixins/Fetcher.js +4 -0
- package/core/mixins/FormCheckable.d.ts +0 -3
- package/core/mixins/FormInput.d.ts +0 -4
- package/core/utils/PublisherProxy.d.mts +1 -1
- package/core/utils/PublisherProxy.mjs +3 -3
- package/core/utils/api.js +4 -2
- package/package.json +3 -1
package/core/utils/api.js
CHANGED
|
@@ -52,10 +52,11 @@ class API {
|
|
|
52
52
|
let result = yield fetch(url, { headers: headers });
|
|
53
53
|
try {
|
|
54
54
|
let json = yield result.json();
|
|
55
|
+
json._sonic_http_response_ = result;
|
|
55
56
|
resolve(json);
|
|
56
57
|
}
|
|
57
58
|
catch (e) {
|
|
58
|
-
resolve(
|
|
59
|
+
resolve({ _sonic_http_response_: result });
|
|
59
60
|
}
|
|
60
61
|
}));
|
|
61
62
|
API.loadingGetPromises.set(url, promise);
|
|
@@ -105,10 +106,11 @@ class API {
|
|
|
105
106
|
});
|
|
106
107
|
try {
|
|
107
108
|
let json = yield result.json();
|
|
109
|
+
json._sonic_http_response_ = result;
|
|
108
110
|
return json;
|
|
109
111
|
}
|
|
110
112
|
catch (e) {
|
|
111
|
-
return
|
|
113
|
+
return { _sonic_http_response_: result };
|
|
112
114
|
}
|
|
113
115
|
});
|
|
114
116
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supersoniks/concorde",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.31",
|
|
4
4
|
"customElements": "custom-elements.json",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -66,6 +66,8 @@
|
|
|
66
66
|
"./ui/badge": "./core/components/ui/badge/badge.js",
|
|
67
67
|
"./core/components/ui/button/button": "./core/components/ui/button/button.js",
|
|
68
68
|
"./ui/button": "./core/components/ui/button/button.js",
|
|
69
|
+
"./core/components/ui/captcha/captcha": "./core/components/ui/captcha/captcha.js",
|
|
70
|
+
"./ui/captcha": "./core/components/ui/captcha/captcha.js",
|
|
69
71
|
"./core/components/ui/card/card-footer": "./core/components/ui/card/card-footer.js",
|
|
70
72
|
"./ui/card/card-footer": "./core/components/ui/card/card-footer.js",
|
|
71
73
|
"./core/components/ui/card/card-header-descripton": "./core/components/ui/card/card-header-descripton.js",
|