@everymatrix/temporary-consents 1.43.4 → 1.45.0
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/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/index-73481e72.js +1148 -0
- package/dist/cjs/loader.cjs.js +6 -12
- package/dist/cjs/temporary-consents.cjs.entry.js +175 -178
- package/dist/cjs/temporary-consents.cjs.js +16 -10
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/temporary-consents/index.js +1 -0
- package/dist/collection/components/temporary-consents/temporary-consents.js +282 -289
- package/dist/collection/utils/locale.utils.js +50 -50
- package/dist/collection/utils/utils.js +3 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-6b1e7208.js +1122 -0
- package/dist/esm/loader.js +6 -12
- package/dist/esm/temporary-consents.entry.js +175 -178
- package/dist/esm/temporary-consents.js +13 -10
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +14 -19
- package/dist/temporary-consents/p-607ca69d.entry.js +1 -0
- package/dist/temporary-consents/p-e0f94cfb.js +2 -0
- package/dist/temporary-consents/p-e1255160.js +1 -0
- package/dist/temporary-consents/temporary-consents.esm.js +1 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/temporary-consents/.stencil/packages/stencil/temporary-consents/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/temporary-consents/.stencil/packages/stencil/temporary-consents/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/temporary-consents/index.d.ts +1 -0
- package/dist/types/components/temporary-consents/temporary-consents.d.ts +45 -45
- package/dist/types/components/temporary-consents/temporary-consents.type.d.ts +4 -4
- package/dist/types/stencil-public-runtime.d.ts +142 -33
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +13 -1
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/loader/package.json +1 -0
- package/package.json +8 -1
- package/dist/cjs/index-51051de1.js +0 -1163
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -1
- package/dist/components/temporary-consents.d.ts +0 -11
- package/dist/components/temporary-consents.js +0 -227
- package/dist/esm/index-0f95c245.js +0 -1138
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/temporary-consents/p-c8fa79f6.js +0 -1
- package/dist/temporary-consents/p-e9beb1df.entry.js +0 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/temporary-consents/.stencil/packages/temporary-consents/stencil.config.d.ts +0 -2
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,20 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-73481e72.js');
|
|
6
|
+
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const patchEsm = () => {
|
|
11
|
-
return index.promiseResolve();
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
const defineCustomElements = (win, options) => {
|
|
15
|
-
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
|
-
return patchEsm().then(() => {
|
|
8
|
+
const defineCustomElements = async (win, options) => {
|
|
9
|
+
if (typeof window === 'undefined') return undefined;
|
|
10
|
+
await appGlobals.globalScripts();
|
|
17
11
|
return index.bootstrapLazy([["temporary-consents.cjs",[[1,"temporary-consents",{"endpoint":[513],"userId":[513,"user-id"],"sessionId":[513,"session-id"],"daysUntilLockout":[513,"days-until-lockout"],"lang":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"stylingAppends":[32]}]]]], options);
|
|
18
|
-
});
|
|
19
12
|
};
|
|
20
13
|
|
|
14
|
+
exports.setNonce = index.setNonce;
|
|
21
15
|
exports.defineCustomElements = defineCustomElements;
|
|
@@ -2,202 +2,199 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-73481e72.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_LANGUAGE = 'en';
|
|
8
8
|
let TRANSLATIONS = {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
9
|
+
en: {
|
|
10
|
+
title: 'Participation conditions',
|
|
11
|
+
description: 'Important: Full verification is required in order to be able to use our entire offer. If verification is not completed, it is not possible to withdraw and the betting account will be locked in {daysUntilLockout} days.',
|
|
12
|
+
declineButton: 'Decline and log out',
|
|
13
|
+
acceptButton: 'Accept',
|
|
14
|
+
loading: 'Please wait, loading...'
|
|
15
|
+
},
|
|
16
|
+
hr: {
|
|
17
|
+
title: 'Uvjeti sudjelovanja',
|
|
18
|
+
description: 'Važno: Potrebna je potpuna verifikacija kako biste mogli koristiti našu cjelokupnu ponudu. Ako potvrda nije dovršena, nije moguće podići i račun za klađenje bit će zaključan za {daysUntilLockout} dana.',
|
|
19
|
+
declineButton: 'Odbijte i odjavite se',
|
|
20
|
+
acceptButton: 'Prihvatiti',
|
|
21
|
+
loading: 'Molimo pričekajte, učitavanje...'
|
|
22
|
+
},
|
|
23
|
+
'es-mx': {
|
|
24
|
+
'title': 'Condiciones de participación',
|
|
25
|
+
'description': 'Importante: Una verificación completa es requerida para poder utilizar nuestra oferta. Si no se verifica, no será posible hacer retiros y la cuenta para realizar apuestas será bloqueada.',
|
|
26
|
+
'declineButton': 'Declinar y salir',
|
|
27
|
+
'acceptButton': 'Aceptar',
|
|
28
|
+
'Loading': 'Espere por favor, Cargando...'
|
|
29
|
+
},
|
|
30
|
+
'pt-br': {
|
|
31
|
+
'title': 'Condições de participação',
|
|
32
|
+
'description': 'Importante: É necessária uma verificação completa para poder utilizar a nossa oferta. Se não for verificado, os saques não serão possíveis e a conta de apostas será bloqueada.',
|
|
33
|
+
'declineButton': 'Recusar e sair',
|
|
34
|
+
'acceptButton': 'Aceitar',
|
|
35
|
+
'Loading': 'Espere, por favor, Carregando...'
|
|
36
|
+
}
|
|
37
37
|
};
|
|
38
38
|
const getTranslations = (url) => {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
39
|
+
return new Promise((resolve) => {
|
|
40
|
+
fetch(url)
|
|
41
|
+
.then((res) => res.json())
|
|
42
|
+
.then((data) => {
|
|
43
|
+
Object.keys(data).forEach((lang) => {
|
|
44
|
+
if (!TRANSLATIONS[lang]) {
|
|
45
|
+
TRANSLATIONS[lang] = {};
|
|
46
|
+
}
|
|
47
|
+
for (let key in data[lang]) {
|
|
48
|
+
TRANSLATIONS[lang][key] = data[lang][key];
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
resolve(true);
|
|
52
|
+
});
|
|
52
53
|
});
|
|
53
|
-
});
|
|
54
54
|
};
|
|
55
55
|
const translate = (key, customLang, values) => {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
56
|
+
const lang = customLang;
|
|
57
|
+
let translation = TRANSLATIONS[(lang !== undefined) && (lang in TRANSLATIONS) ? lang : DEFAULT_LANGUAGE][key];
|
|
58
|
+
if (values !== undefined) {
|
|
59
|
+
for (const [key, value] of Object.entries(values.values)) {
|
|
60
|
+
const regex = new RegExp(`{${key}}`, 'g');
|
|
61
|
+
translation = translation.replace(regex, value);
|
|
62
|
+
}
|
|
62
63
|
}
|
|
63
|
-
|
|
64
|
-
return translation;
|
|
64
|
+
return translation;
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
const temporaryConsentsCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0}:host{display:block}.TemporaryConsents{max-width:500px;display:flex;gap:35px;flex-direction:column;box-shadow:0px 1px 5px 1px rgba(0, 0, 0, 0.1);padding:20px;font-family:sans-serif}.TemporaryConsentsTitle{text-align:left;font-family:inherit;color:#000;font-weight:400;font-size:18px;display:block;border-bottom:1px solid #000;padding-bottom:10px}.TemporaryConsentsText{font-family:inherit;font-weight:300;font-size:16px}.TemporaryConsentsButtonsWrapper{display:flex;justify-content:space-evenly;gap:50px}.TemporaryConsentsButton{font-family:inherit;font-weight:300;font-size:14px;border:none;padding:10px;min-width:150px;border-radius:4px}.TemporaryConsentsButtonDecline{background-color:transparent;border:1px solid #000}.TemporaryConsentsButtonAccept{color:white;background-color:#000}";
|
|
68
|
+
const TemporaryConsentsStyle0 = temporaryConsentsCss;
|
|
68
69
|
|
|
69
70
|
const TemporaryConsents = class {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
.
|
|
96
|
-
.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
.catch((err) => {
|
|
101
|
-
console.log('error ', err);
|
|
102
|
-
});
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
componentWillLoad() {
|
|
106
|
-
const promises = [];
|
|
107
|
-
if (this.endpoint && this.userId) {
|
|
108
|
-
const consentsPromise = this.getConsents().then((consents) => {
|
|
109
|
-
this.temporaryAccountConsent = consents.consents.some((consent) => consent.tagCode == 'temporaryaccountconsent');
|
|
110
|
-
});
|
|
111
|
-
promises.push(consentsPromise);
|
|
71
|
+
constructor(hostRef) {
|
|
72
|
+
index.registerInstance(this, hostRef);
|
|
73
|
+
this.isLoading = false;
|
|
74
|
+
this.setClientStyling = () => {
|
|
75
|
+
let sheet = document.createElement('style');
|
|
76
|
+
sheet.innerHTML = this.clientStyling;
|
|
77
|
+
this.stylingContainer.prepend(sheet);
|
|
78
|
+
};
|
|
79
|
+
this.setClientStylingURL = () => {
|
|
80
|
+
let url = new URL(this.clientStylingUrl);
|
|
81
|
+
let cssFile = document.createElement('style');
|
|
82
|
+
fetch(url.href)
|
|
83
|
+
.then((res) => res.text())
|
|
84
|
+
.then((data) => {
|
|
85
|
+
cssFile.innerHTML = data;
|
|
86
|
+
setTimeout(() => { this.stylingContainer.prepend(cssFile); }, 1);
|
|
87
|
+
})
|
|
88
|
+
.catch((err) => {
|
|
89
|
+
console.log('error ', err);
|
|
90
|
+
});
|
|
91
|
+
};
|
|
92
|
+
this.endpoint = undefined;
|
|
93
|
+
this.userId = undefined;
|
|
94
|
+
this.sessionId = undefined;
|
|
95
|
+
this.daysUntilLockout = undefined;
|
|
96
|
+
this.lang = undefined;
|
|
97
|
+
this.clientStyling = '';
|
|
98
|
+
this.clientStylingUrl = '';
|
|
99
|
+
this.translationUrl = '';
|
|
100
|
+
this.stylingAppends = false;
|
|
112
101
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
102
|
+
componentWillLoad() {
|
|
103
|
+
const promises = [];
|
|
104
|
+
if (this.endpoint && this.userId) {
|
|
105
|
+
const consentsPromise = this.getConsents().then((consents) => {
|
|
106
|
+
this.temporaryAccountConsent = consents.consents.some((consent) => consent.tagCode == 'temporaryaccountconsent');
|
|
107
|
+
});
|
|
108
|
+
promises.push(consentsPromise);
|
|
109
|
+
}
|
|
110
|
+
if (this.translationUrl) {
|
|
111
|
+
const translationPromise = getTranslations(this.translationUrl);
|
|
112
|
+
promises.push(translationPromise);
|
|
113
|
+
}
|
|
114
|
+
return Promise.all(promises);
|
|
116
115
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
116
|
+
componentDidRender() {
|
|
117
|
+
// start custom styling area
|
|
118
|
+
if (!this.stylingAppends && this.stylingContainer) {
|
|
119
|
+
if (this.clientStyling)
|
|
120
|
+
this.setClientStyling();
|
|
121
|
+
if (this.clientStylingUrl)
|
|
122
|
+
this.setClientStylingURL();
|
|
123
|
+
this.stylingAppends = true;
|
|
124
|
+
}
|
|
125
|
+
// end custom styling area
|
|
127
126
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
return index.h("div", { class: 'TemporaryConsents', ref: el => this.stylingContainer = el }, index.h("h2", { class: 'TemporaryConsentsTitle' }, " ", translate('title', this.lang), " "), index.h("p", { class: 'TemporaryConsentsText' }, " ", translate('description', this.lang, { values: { daysUntilLockout: this.daysUntilLockout } }), " "), index.h("div", { class: 'TemporaryConsentsButtonsWrapper' }, index.h("button", { class: 'TemporaryConsentsButton TemporaryConsentsButtonDecline', onClick: () => this.handleDecline() }, translate('declineButton', this.lang)), index.h("button", { class: 'TemporaryConsentsButton TemporaryConsentsButtonAccept', onClick: this.handleAccept }, translate('acceptButton', this.lang))));
|
|
127
|
+
getConsents() {
|
|
128
|
+
const url = new URL(`${this.endpoint}/v1/player/${this.userId}/legislation/consents`);
|
|
129
|
+
const headers = new Headers();
|
|
130
|
+
headers.append('X-SessionId', this.sessionId);
|
|
131
|
+
headers.append('Accept', 'application/json');
|
|
132
|
+
const options = {
|
|
133
|
+
method: 'GET',
|
|
134
|
+
headers
|
|
135
|
+
};
|
|
136
|
+
return new Promise((resolve, reject) => {
|
|
137
|
+
this.isLoading = true;
|
|
138
|
+
fetch(url.href, options)
|
|
139
|
+
.then((res) => res.json())
|
|
140
|
+
.then((consents) => {
|
|
141
|
+
resolve(consents);
|
|
142
|
+
}).catch((err) => {
|
|
143
|
+
console.error(err);
|
|
144
|
+
reject(err);
|
|
145
|
+
}).finally(() => {
|
|
146
|
+
this.isLoading = false;
|
|
147
|
+
});
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
setConsents() {
|
|
151
|
+
const url = new URL(`${this.endpoint}/v1/player/${this.userId}/legislation/consents`);
|
|
152
|
+
const headers = new Headers();
|
|
153
|
+
headers.append('X-SessionId', this.sessionId);
|
|
154
|
+
headers.append('Accept', 'application/json');
|
|
155
|
+
headers.append('Content-Type', 'application/json');
|
|
156
|
+
const body = {
|
|
157
|
+
consents: [{
|
|
158
|
+
tagCode: 'temporaryaccountconsent',
|
|
159
|
+
note: '',
|
|
160
|
+
status: 1
|
|
161
|
+
}]
|
|
162
|
+
};
|
|
163
|
+
const options = {
|
|
164
|
+
method: 'POST',
|
|
165
|
+
headers,
|
|
166
|
+
body: JSON.stringify(body)
|
|
167
|
+
};
|
|
168
|
+
return new Promise((resolve, reject) => {
|
|
169
|
+
this.isLoading = true;
|
|
170
|
+
fetch(url.href, options)
|
|
171
|
+
.then((res) => res.json())
|
|
172
|
+
.then((res) => {
|
|
173
|
+
resolve(res);
|
|
174
|
+
}).catch((err) => {
|
|
175
|
+
console.error(err);
|
|
176
|
+
reject(err);
|
|
177
|
+
}).finally(() => {
|
|
178
|
+
this.isLoading = false;
|
|
179
|
+
});
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
handleDecline() {
|
|
183
|
+
window.postMessage({ type: 'TemporaryConsentsDeclined' }, window.location.href);
|
|
184
|
+
}
|
|
185
|
+
handleAccept() {
|
|
186
|
+
this.setConsents();
|
|
187
|
+
window.postMessage({ type: 'TemporaryConsentsAccepted' }, window.location.href);
|
|
188
|
+
}
|
|
189
|
+
render() {
|
|
190
|
+
if (this.temporaryAccountConsent) {
|
|
191
|
+
if (this.isLoading) {
|
|
192
|
+
return index.h("p", null, translate('loading', this.lang));
|
|
193
|
+
}
|
|
194
|
+
return index.h("div", { class: 'TemporaryConsents', ref: el => this.stylingContainer = el }, index.h("h2", { class: 'TemporaryConsentsTitle' }, " ", translate('title', this.lang), " "), index.h("p", { class: 'TemporaryConsentsText' }, " ", translate('description', this.lang, { values: { daysUntilLockout: this.daysUntilLockout } }), " "), index.h("div", { class: 'TemporaryConsentsButtonsWrapper' }, index.h("button", { class: 'TemporaryConsentsButton TemporaryConsentsButtonDecline', onClick: () => this.handleDecline() }, translate('declineButton', this.lang)), index.h("button", { class: 'TemporaryConsentsButton TemporaryConsentsButtonAccept', onClick: this.handleAccept }, translate('acceptButton', this.lang))));
|
|
195
|
+
}
|
|
198
196
|
}
|
|
199
|
-
}
|
|
200
197
|
};
|
|
201
|
-
TemporaryConsents.style =
|
|
198
|
+
TemporaryConsents.style = TemporaryConsentsStyle0;
|
|
202
199
|
|
|
203
200
|
exports.temporary_consents = TemporaryConsents;
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-73481e72.js');
|
|
6
|
+
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
4
7
|
|
|
5
8
|
/*
|
|
6
|
-
Stencil Client Patch Browser
|
|
9
|
+
Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
7
10
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
var patchBrowser = () => {
|
|
12
|
+
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('temporary-consents.cjs.js', document.baseURI).href));
|
|
13
|
+
const opts = {};
|
|
14
|
+
if (importMeta !== "") {
|
|
15
|
+
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
16
|
+
}
|
|
17
|
+
return index.promiseResolve(opts);
|
|
15
18
|
};
|
|
16
19
|
|
|
17
|
-
patchBrowser().then(options => {
|
|
20
|
+
patchBrowser().then(async (options) => {
|
|
21
|
+
await appGlobals.globalScripts();
|
|
18
22
|
return index.bootstrapLazy([["temporary-consents.cjs",[[1,"temporary-consents",{"endpoint":[513],"userId":[513,"user-id"],"sessionId":[513,"session-id"],"daysUntilLockout":[513,"days-until-lockout"],"lang":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"stylingAppends":[32]}]]]], options);
|
|
19
23
|
});
|
|
24
|
+
|
|
25
|
+
exports.setNonce = index.setNonce;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"entries": [
|
|
3
|
-
"
|
|
3
|
+
"components/temporary-consents/temporary-consents.js"
|
|
4
4
|
],
|
|
5
5
|
"compiler": {
|
|
6
6
|
"name": "@stencil/core",
|
|
7
|
-
"version": "
|
|
8
|
-
"typescriptVersion": "
|
|
7
|
+
"version": "4.20.0",
|
|
8
|
+
"typescriptVersion": "5.5.3"
|
|
9
9
|
},
|
|
10
10
|
"collections": [],
|
|
11
11
|
"bundles": []
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TemporaryConsents } from './temporary-consents';
|