@supersoniks/concorde 1.1.34 → 1.1.35
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/components.d.ts +0 -0
- package/components.js +0 -0
- package/concorde-core.bundle.js +2 -2
- package/concorde-core.es.js +8 -5
- package/core/components/functional/configuration/configuration.d.ts +0 -0
- package/core/components/functional/configuration/configuration.js +0 -0
- package/core/components/functional/date/date.d.ts +0 -0
- package/core/components/functional/date/date.js +0 -0
- package/core/components/functional/example/example.d.ts +0 -0
- package/core/components/functional/example/example.js +0 -0
- package/core/components/functional/fetch/fetch.d.ts +0 -0
- package/core/components/functional/fetch/fetch.js +0 -0
- package/core/components/functional/functional.d.ts +0 -0
- package/core/components/functional/functional.js +0 -0
- package/core/components/functional/if/if.d.ts +0 -0
- package/core/components/functional/if/if.js +0 -0
- package/core/components/functional/list/list.d.ts +0 -0
- package/core/components/functional/list/list.js +0 -0
- package/core/components/functional/queue/queue.d.ts +0 -0
- package/core/components/functional/queue/queue.js +0 -0
- package/core/components/functional/router/redirect.d.ts +0 -0
- package/core/components/functional/router/redirect.js +0 -0
- package/core/components/functional/router/router.d.ts +0 -0
- package/core/components/functional/router/router.js +0 -0
- package/core/components/functional/sonic-scope/sonic-scope.d.ts +0 -0
- package/core/components/functional/sonic-scope/sonic-scope.js +0 -0
- package/core/components/functional/states/states.d.ts +0 -0
- package/core/components/functional/states/states.js +0 -0
- package/core/components/functional/submit/submit.d.ts +0 -0
- package/core/components/functional/submit/submit.js +2 -1
- package/core/components/functional/subscriber/subscriber.d.ts +0 -0
- package/core/components/functional/subscriber/subscriber.js +0 -0
- package/core/components/ui/_css/scroll.d.ts +0 -0
- package/core/components/ui/_css/scroll.js +0 -0
- package/core/components/ui/_css/size.d.ts +0 -0
- package/core/components/ui/_css/size.js +0 -0
- package/core/components/ui/_css/type.d.ts +0 -0
- package/core/components/ui/_css/type.js +0 -0
- package/core/components/ui/alert/alert.d.ts +0 -0
- package/core/components/ui/alert/alert.js +0 -0
- package/core/components/ui/badge/badge.d.ts +0 -0
- package/core/components/ui/badge/badge.js +0 -0
- package/core/components/ui/button/button.d.ts +0 -0
- package/core/components/ui/button/button.js +0 -0
- package/core/components/ui/captcha/captcha.d.ts +0 -0
- package/core/components/ui/captcha/captcha.js +6 -4
- package/core/components/ui/card/card-footer.d.ts +0 -0
- package/core/components/ui/card/card-footer.js +0 -0
- package/core/components/ui/card/card-header-descripton.d.ts +0 -0
- package/core/components/ui/card/card-header-descripton.js +0 -0
- package/core/components/ui/card/card-header.d.ts +0 -0
- package/core/components/ui/card/card-header.js +0 -0
- package/core/components/ui/card/card-main.d.ts +0 -0
- package/core/components/ui/card/card-main.js +0 -0
- package/core/components/ui/card/card.d.ts +0 -0
- package/core/components/ui/card/card.js +0 -0
- package/core/components/ui/divider/divider.d.ts +0 -0
- package/core/components/ui/divider/divider.js +0 -0
- package/core/components/ui/form/checkbox/checkbox.d.ts +0 -0
- package/core/components/ui/form/checkbox/checkbox.js +0 -0
- package/core/components/ui/form/css/form-control.d.ts +0 -0
- package/core/components/ui/form/css/form-control.js +0 -0
- package/core/components/ui/form/fieldset/fieldset.d.ts +0 -0
- package/core/components/ui/form/fieldset/fieldset.js +0 -0
- package/core/components/ui/form/fieldset/legend-description.d.ts +0 -0
- package/core/components/ui/form/fieldset/legend-description.js +0 -0
- package/core/components/ui/form/fieldset/legend.d.ts +0 -0
- package/core/components/ui/form/fieldset/legend.js +0 -0
- package/core/components/ui/form/form-actions/form-actions.d.ts +0 -0
- package/core/components/ui/form/form-actions/form-actions.js +0 -0
- package/core/components/ui/form/form-layout/form-layout.d.ts +0 -0
- package/core/components/ui/form/form-layout/form-layout.js +0 -0
- package/core/components/ui/form/input/input.d.ts +0 -0
- package/core/components/ui/form/input/input.js +0 -0
- package/core/components/ui/form/radio/radio.d.ts +0 -0
- package/core/components/ui/form/radio/radio.js +0 -0
- package/core/components/ui/form/select/select.d.ts +0 -0
- package/core/components/ui/form/select/select.js +0 -0
- package/core/components/ui/form/textarea/textarea.d.ts +0 -0
- package/core/components/ui/form/textarea/textarea.js +0 -0
- package/core/components/ui/group/group.d.ts +0 -0
- package/core/components/ui/group/group.js +0 -0
- package/core/components/ui/icon/icon.d.ts +0 -0
- package/core/components/ui/icon/icon.js +0 -0
- package/core/components/ui/icon/icons.d.ts +0 -0
- package/core/components/ui/icon/icons.js +0 -0
- package/core/components/ui/icon/icons.json +0 -0
- package/core/components/ui/image/image.d.ts +0 -0
- package/core/components/ui/image/image.js +0 -0
- package/core/components/ui/link/link.d.ts +0 -0
- package/core/components/ui/link/link.js +0 -0
- package/core/components/ui/loader/loader.d.ts +0 -0
- package/core/components/ui/loader/loader.js +0 -0
- package/core/components/ui/loader/styles/fixed.d.ts +0 -0
- package/core/components/ui/loader/styles/fixed.js +0 -0
- package/core/components/ui/loader/styles/inline.d.ts +0 -0
- package/core/components/ui/loader/styles/inline.js +0 -0
- package/core/components/ui/menu/menu-item.d.ts +0 -0
- package/core/components/ui/menu/menu-item.js +0 -0
- package/core/components/ui/menu/menu.d.ts +0 -0
- package/core/components/ui/menu/menu.js +0 -0
- package/core/components/ui/modal/modal-actions.d.ts +0 -0
- package/core/components/ui/modal/modal-actions.js +0 -0
- package/core/components/ui/modal/modal-close.d.ts +0 -0
- package/core/components/ui/modal/modal-close.js +0 -0
- package/core/components/ui/modal/modal-content.d.ts +0 -0
- package/core/components/ui/modal/modal-content.js +0 -0
- package/core/components/ui/modal/modal-subtitle.d.ts +0 -0
- package/core/components/ui/modal/modal-subtitle.js +0 -0
- package/core/components/ui/modal/modal-title.d.ts +0 -0
- package/core/components/ui/modal/modal-title.js +0 -0
- package/core/components/ui/modal/modal.d.ts +0 -0
- package/core/components/ui/modal/modal.js +0 -0
- package/core/components/ui/pop/pop.d.ts +0 -0
- package/core/components/ui/pop/pop.js +0 -0
- package/core/components/ui/progress/progress.d.ts +0 -0
- package/core/components/ui/progress/progress.js +0 -0
- package/core/components/ui/table/table-caption.d.ts +0 -0
- package/core/components/ui/table/table-caption.js +0 -0
- package/core/components/ui/table/table-tbody.d.ts +0 -0
- package/core/components/ui/table/table-tbody.js +0 -0
- package/core/components/ui/table/table-td.d.ts +0 -0
- package/core/components/ui/table/table-td.js +0 -0
- package/core/components/ui/table/table-tfoot.d.ts +0 -0
- package/core/components/ui/table/table-tfoot.js +0 -0
- package/core/components/ui/table/table-th.d.ts +0 -0
- package/core/components/ui/table/table-th.js +0 -0
- package/core/components/ui/table/table-thead.d.ts +0 -0
- package/core/components/ui/table/table-thead.js +0 -0
- package/core/components/ui/table/table-tr.d.ts +0 -0
- package/core/components/ui/table/table-tr.js +0 -0
- package/core/components/ui/table/table.d.ts +0 -0
- package/core/components/ui/table/table.js +0 -0
- package/core/components/ui/tabs/tab.d.ts +0 -0
- package/core/components/ui/tabs/tab.js +0 -0
- package/core/components/ui/tabs/tabs.d.ts +0 -0
- package/core/components/ui/tabs/tabs.js +0 -0
- package/core/components/ui/taxonomy/taxonomy.d.ts +0 -0
- package/core/components/ui/taxonomy/taxonomy.js +0 -0
- 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-collection/core-variables.d.ts +0 -0
- package/core/components/ui/theme/theme-collection/core-variables.js +0 -0
- package/core/components/ui/theme/theme-collection/dark.d.ts +0 -0
- package/core/components/ui/theme/theme-collection/dark.js +0 -0
- package/core/components/ui/theme/theme-collection/light.d.ts +0 -0
- package/core/components/ui/theme/theme-collection/light.js +0 -0
- package/core/components/ui/theme/theme.d.ts +0 -0
- package/core/components/ui/theme/theme.js +0 -0
- package/core/components/ui/toast/message-subscriber.d.ts +0 -0
- package/core/components/ui/toast/message-subscriber.js +0 -0
- package/core/components/ui/toast/toast-item.d.ts +0 -0
- package/core/components/ui/toast/toast-item.js +0 -0
- package/core/components/ui/toast/toast.d.ts +0 -0
- package/core/components/ui/toast/toast.js +0 -0
- package/core/components/ui/toast/types.d.ts +0 -0
- package/core/components/ui/toast/types.js +0 -0
- package/core/components/ui/tooltip/tooltip.d.ts +0 -0
- package/core/components/ui/tooltip/tooltip.js +0 -0
- package/core/components/ui/ui.d.ts +0 -0
- package/core/components/ui/ui.js +0 -0
- package/core/core.d.ts +0 -0
- package/core/core.js +0 -0
- package/core/mixins/Fetcher.d.ts +0 -0
- package/core/mixins/Fetcher.js +0 -0
- package/core/mixins/FormCheckable.d.ts +0 -0
- package/core/mixins/FormCheckable.js +0 -0
- package/core/mixins/FormElement.d.ts +0 -0
- package/core/mixins/FormElement.js +0 -0
- package/core/mixins/FormInput.d.ts +0 -0
- package/core/mixins/FormInput.js +0 -0
- package/core/mixins/Subscriber.d.ts +0 -0
- package/core/mixins/Subscriber.js +0 -0
- package/core/mixins/TemplatesContainer.d.ts +0 -0
- package/core/mixins/TemplatesContainer.js +0 -0
- package/core/mixins/mixins.d.ts +0 -0
- package/core/mixins/mixins.js +0 -0
- package/core/utils/Arrays.d.ts +0 -0
- package/core/utils/Arrays.js +0 -0
- package/core/utils/DataBindObserver.d.ts +0 -0
- package/core/utils/DataBindObserver.js +0 -0
- package/core/utils/Electron.d.ts +0 -0
- package/core/utils/Electron.js +0 -0
- package/core/utils/Format.d.ts +0 -0
- package/core/utils/Format.js +0 -0
- package/core/utils/HTML.d.ts +0 -0
- package/core/utils/HTML.js +0 -0
- package/core/utils/LocationHandler.d.ts +0 -0
- package/core/utils/LocationHandler.js +0 -0
- package/core/utils/Objects.d.ts +0 -0
- package/core/utils/Objects.js +0 -0
- package/core/utils/PublisherProxy.d.mts +0 -0
- package/core/utils/PublisherProxy.mjs +0 -0
- package/core/utils/api.d.ts +0 -0
- package/core/utils/api.js +0 -0
- package/mixins.d.ts +0 -0
- package/mixins.js +0 -0
- package/package.json +1 -1
- package/utils.d.ts +0 -0
- package/utils.js +0 -0
package/concorde-core.es.js
CHANGED
|
@@ -4178,7 +4178,8 @@ let Submit = class extends Subscriber$1(s$2) {
|
|
|
4178
4178
|
};
|
|
4179
4179
|
let captchaPublisher = headerPublisher.needsCaptchaValidation.get() ? headerPublisher : formPublisher.needsCaptchaValidation.get() ? formPublisher : null;
|
|
4180
4180
|
if (captchaPublisher) {
|
|
4181
|
-
captchaPublisher.
|
|
4181
|
+
captchaPublisher.captchaMethod = method;
|
|
4182
|
+
captchaPublisher.captchaAction = (_c = (_b = dataProvider == null ? void 0 : dataProvider.split("?")[0]) != null ? _b : this.getAncestorAttributeValue("formDataProvider")) != null ? _c : "submit";
|
|
4182
4183
|
captchaPublisher.captchaToken = "request_token";
|
|
4183
4184
|
captchaPublisher.captchaToken.onAssign((token) => {
|
|
4184
4185
|
if (token != "request_token")
|
|
@@ -7608,12 +7609,14 @@ let Captcha = class extends Subscriber(s$2) {
|
|
|
7608
7609
|
});
|
|
7609
7610
|
}
|
|
7610
7611
|
requestToken() {
|
|
7611
|
-
var _a2, _b, _c;
|
|
7612
|
+
var _a2, _b, _c, _d;
|
|
7612
7613
|
const win2 = window;
|
|
7613
|
-
let action = ((_c = (_b = this.action) != null ? _b : (_a2 = this.formPublisher.
|
|
7614
|
-
|
|
7614
|
+
let action = ((_c = (_b = this.action) != null ? _b : (_a2 = this.formPublisher.captchaAction) == null ? void 0 : _a2.get()) != null ? _c : "submit").replace(/[^\w_\/]/g, "_");
|
|
7615
|
+
let method = ((_d = this.formPublisher.captchaMethod.get()) != null ? _d : "POST").toUpperCase();
|
|
7616
|
+
delete this.formPublisher.captchaAction;
|
|
7617
|
+
delete this.formPublisher.captchaMethod;
|
|
7615
7618
|
win2.grecaptcha.ready(() => {
|
|
7616
|
-
win2.grecaptcha.execute(this.key, { action }).then((token) => {
|
|
7619
|
+
win2.grecaptcha.execute(this.key, { action: method + "//" + action }).then((token) => {
|
|
7617
7620
|
this.formPublisher.captchaToken = token;
|
|
7618
7621
|
});
|
|
7619
7622
|
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -123,7 +123,8 @@ let Submit = class Submit extends Subscriber(LitElement) {
|
|
|
123
123
|
? formPublisher
|
|
124
124
|
: null;
|
|
125
125
|
if (captchaPublisher) {
|
|
126
|
-
captchaPublisher.
|
|
126
|
+
captchaPublisher.captchaMethod = method;
|
|
127
|
+
captchaPublisher.captchaAction = (_c = (_b = dataProvider === null || dataProvider === void 0 ? void 0 : dataProvider.split("?")[0]) !== null && _b !== void 0 ? _b : this.getAncestorAttributeValue("formDataProvider")) !== null && _c !== void 0 ? _c : "submit";
|
|
127
128
|
captchaPublisher.captchaToken = "request_token";
|
|
128
129
|
captchaPublisher.captchaToken.onAssign((token) => {
|
|
129
130
|
if (token != "request_token")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -36,14 +36,16 @@ let Captcha = class Captcha extends Subscriber(LitElement) {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
requestToken() {
|
|
39
|
-
var _a, _b, _c;
|
|
39
|
+
var _a, _b, _c, _d;
|
|
40
40
|
const win = window;
|
|
41
41
|
// On récupère l'action liée au recaptcha,
|
|
42
42
|
// et on vérifie qu'il ne contienne que des caractères alpha-numériques, underscore et slash
|
|
43
|
-
let action = ((_c = (_a = this.action) !== null && _a !== void 0 ? _a : (_b = this.formPublisher.
|
|
44
|
-
|
|
43
|
+
let action = ((_c = (_a = this.action) !== null && _a !== void 0 ? _a : (_b = this.formPublisher.captchaAction) === null || _b === void 0 ? void 0 : _b.get()) !== null && _c !== void 0 ? _c : "submit").replace(/[^\w_\/]/g, "_");
|
|
44
|
+
let method = ((_d = this.formPublisher.captchaMethod.get()) !== null && _d !== void 0 ? _d : "POST").toUpperCase();
|
|
45
|
+
delete this.formPublisher.captchaAction;
|
|
46
|
+
delete this.formPublisher.captchaMethod;
|
|
45
47
|
win.grecaptcha.ready(() => {
|
|
46
|
-
win.grecaptcha.execute(this.key, { action: action }).then((token) => {
|
|
48
|
+
win.grecaptcha.execute(this.key, { action: method + "//" + action }).then((token) => {
|
|
47
49
|
this.formPublisher.captchaToken = token;
|
|
48
50
|
});
|
|
49
51
|
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/components/ui/ui.js
CHANGED
|
File without changes
|
package/core/core.d.ts
CHANGED
|
File without changes
|
package/core/core.js
CHANGED
|
File without changes
|
package/core/mixins/Fetcher.d.ts
CHANGED
|
File without changes
|
package/core/mixins/Fetcher.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/mixins/FormInput.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/mixins/mixins.d.ts
CHANGED
|
File without changes
|
package/core/mixins/mixins.js
CHANGED
|
File without changes
|
package/core/utils/Arrays.d.ts
CHANGED
|
File without changes
|
package/core/utils/Arrays.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/utils/Electron.d.ts
CHANGED
|
File without changes
|
package/core/utils/Electron.js
CHANGED
|
File without changes
|
package/core/utils/Format.d.ts
CHANGED
|
File without changes
|
package/core/utils/Format.js
CHANGED
|
File without changes
|
package/core/utils/HTML.d.ts
CHANGED
|
File without changes
|
package/core/utils/HTML.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/utils/Objects.d.ts
CHANGED
|
File without changes
|
package/core/utils/Objects.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/core/utils/api.d.ts
CHANGED
|
File without changes
|
package/core/utils/api.js
CHANGED
|
File without changes
|
package/mixins.d.ts
CHANGED
|
File without changes
|
package/mixins.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
package/utils.d.ts
CHANGED
|
File without changes
|
package/utils.js
CHANGED
|
File without changes
|