@everymatrix/general-about-us 1.56.0 → 1.56.3
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/general-about-us.cjs.entry.js +11 -24
- package/dist/cjs/general-about-us.cjs.js +2 -2
- package/dist/cjs/{index-e275fea3.js → index-8d5dc10c.js} +69 -204
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/general-about-us/general-about-us.js +10 -37
- package/dist/esm/general-about-us.entry.js +11 -24
- package/dist/esm/general-about-us.js +3 -3
- package/dist/esm/{index-5f2a97a2.js → index-894e6ee1.js} +69 -204
- package/dist/esm/loader.js +2 -2
- package/dist/general-about-us/general-about-us.esm.js +1 -1
- package/dist/general-about-us/p-64274deb.js +2 -0
- package/dist/general-about-us/p-d99428a7.entry.js +1 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-about-us/.stencil/packages/stencil/general-about-us/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-about-us/.stencil/packages/stencil/general-about-us/stencil.config.dev.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/general-about-us/p-73146ff7.entry.js +0 -1
- package/dist/general-about-us/p-c303f99c.js +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-about-us/.stencil/packages/stencil/general-about-us/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-about-us/.stencil/packages/stencil/general-about-us/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-about-us/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-about-us/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-about-us/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-about-us/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -5,29 +5,6 @@ import { getDeviceCustom, checkDeviceType, getDevicePlatform } from "../../utils
|
|
|
5
5
|
import chevronRight from "../../utils/chevron.svg";
|
|
6
6
|
export class GeneralAboutUs {
|
|
7
7
|
constructor() {
|
|
8
|
-
/**
|
|
9
|
-
* Language of the widget
|
|
10
|
-
*/
|
|
11
|
-
this.language = 'en';
|
|
12
|
-
/**
|
|
13
|
-
* User roles
|
|
14
|
-
*/
|
|
15
|
-
this.userRoles = 'everyone';
|
|
16
|
-
/**
|
|
17
|
-
* CMS Endpoint stage
|
|
18
|
-
*/
|
|
19
|
-
this.cmsEnv = 'stage';
|
|
20
|
-
/**
|
|
21
|
-
* Client custom styling via inline style
|
|
22
|
-
*/
|
|
23
|
-
this.clientStyling = '';
|
|
24
|
-
/**
|
|
25
|
-
* Client custom styling via url
|
|
26
|
-
*/
|
|
27
|
-
this.clientStylingUrl = '';
|
|
28
|
-
this.hasErrors = false;
|
|
29
|
-
this.isLoading = true;
|
|
30
|
-
this.device = '';
|
|
31
8
|
this.handleClick = (url, target, location, isExternal) => {
|
|
32
9
|
window.postMessage({ type: 'NavigateTo', path: url, target: target, locations: location, externalLink: isExternal || false }, window.location.href);
|
|
33
10
|
// @ts-ignore Analytics event
|
|
@@ -68,6 +45,16 @@ export class GeneralAboutUs {
|
|
|
68
45
|
}
|
|
69
46
|
return h("div", { class: "Title" }, h("span", { class: "FirstWord" }, firstWord, " "), h("span", null, restOfTitle));
|
|
70
47
|
};
|
|
48
|
+
this.cmsEndpoint = undefined;
|
|
49
|
+
this.language = 'en';
|
|
50
|
+
this.userRoles = 'everyone';
|
|
51
|
+
this.cmsEnv = 'stage';
|
|
52
|
+
this.mbSource = undefined;
|
|
53
|
+
this.clientStyling = '';
|
|
54
|
+
this.clientStylingUrl = '';
|
|
55
|
+
this.hasErrors = false;
|
|
56
|
+
this.isLoading = true;
|
|
57
|
+
this.device = '';
|
|
71
58
|
}
|
|
72
59
|
watchEndpoint(newValue, oldValue) {
|
|
73
60
|
if (newValue && newValue != oldValue && this.cmsEndpoint) {
|
|
@@ -179,8 +166,6 @@ export class GeneralAboutUs {
|
|
|
179
166
|
"tags": [],
|
|
180
167
|
"text": "Endpoint URL for the source of data"
|
|
181
168
|
},
|
|
182
|
-
"getter": false,
|
|
183
|
-
"setter": false,
|
|
184
169
|
"attribute": "cms-endpoint",
|
|
185
170
|
"reflect": true
|
|
186
171
|
},
|
|
@@ -198,8 +183,6 @@ export class GeneralAboutUs {
|
|
|
198
183
|
"tags": [],
|
|
199
184
|
"text": "Language of the widget"
|
|
200
185
|
},
|
|
201
|
-
"getter": false,
|
|
202
|
-
"setter": false,
|
|
203
186
|
"attribute": "language",
|
|
204
187
|
"reflect": true,
|
|
205
188
|
"defaultValue": "'en'"
|
|
@@ -218,8 +201,6 @@ export class GeneralAboutUs {
|
|
|
218
201
|
"tags": [],
|
|
219
202
|
"text": "User roles"
|
|
220
203
|
},
|
|
221
|
-
"getter": false,
|
|
222
|
-
"setter": false,
|
|
223
204
|
"attribute": "user-roles",
|
|
224
205
|
"reflect": true,
|
|
225
206
|
"defaultValue": "'everyone'"
|
|
@@ -238,8 +219,6 @@ export class GeneralAboutUs {
|
|
|
238
219
|
"tags": [],
|
|
239
220
|
"text": "CMS Endpoint stage"
|
|
240
221
|
},
|
|
241
|
-
"getter": false,
|
|
242
|
-
"setter": false,
|
|
243
222
|
"attribute": "cms-env",
|
|
244
223
|
"reflect": true,
|
|
245
224
|
"defaultValue": "'stage'"
|
|
@@ -258,8 +237,6 @@ export class GeneralAboutUs {
|
|
|
258
237
|
"tags": [],
|
|
259
238
|
"text": "Client custom styling via inline streamStyling"
|
|
260
239
|
},
|
|
261
|
-
"getter": false,
|
|
262
|
-
"setter": false,
|
|
263
240
|
"attribute": "mb-source",
|
|
264
241
|
"reflect": false
|
|
265
242
|
},
|
|
@@ -277,8 +254,6 @@ export class GeneralAboutUs {
|
|
|
277
254
|
"tags": [],
|
|
278
255
|
"text": "Client custom styling via inline style"
|
|
279
256
|
},
|
|
280
|
-
"getter": false,
|
|
281
|
-
"setter": false,
|
|
282
257
|
"attribute": "client-styling",
|
|
283
258
|
"reflect": true,
|
|
284
259
|
"defaultValue": "''"
|
|
@@ -297,8 +272,6 @@ export class GeneralAboutUs {
|
|
|
297
272
|
"tags": [],
|
|
298
273
|
"text": "Client custom styling via url"
|
|
299
274
|
},
|
|
300
|
-
"getter": false,
|
|
301
|
-
"setter": false,
|
|
302
275
|
"attribute": "client-styling-url",
|
|
303
276
|
"reflect": true,
|
|
304
277
|
"defaultValue": "''"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-894e6ee1.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE = 'en';
|
|
4
4
|
const TRANSLATIONS = {
|
|
@@ -154,29 +154,6 @@ const GeneralAboutUsStyle0 = generalAboutUsCss;
|
|
|
154
154
|
const GeneralAboutUs = class {
|
|
155
155
|
constructor(hostRef) {
|
|
156
156
|
registerInstance(this, hostRef);
|
|
157
|
-
/**
|
|
158
|
-
* Language of the widget
|
|
159
|
-
*/
|
|
160
|
-
this.language = 'en';
|
|
161
|
-
/**
|
|
162
|
-
* User roles
|
|
163
|
-
*/
|
|
164
|
-
this.userRoles = 'everyone';
|
|
165
|
-
/**
|
|
166
|
-
* CMS Endpoint stage
|
|
167
|
-
*/
|
|
168
|
-
this.cmsEnv = 'stage';
|
|
169
|
-
/**
|
|
170
|
-
* Client custom styling via inline style
|
|
171
|
-
*/
|
|
172
|
-
this.clientStyling = '';
|
|
173
|
-
/**
|
|
174
|
-
* Client custom styling via url
|
|
175
|
-
*/
|
|
176
|
-
this.clientStylingUrl = '';
|
|
177
|
-
this.hasErrors = false;
|
|
178
|
-
this.isLoading = true;
|
|
179
|
-
this.device = '';
|
|
180
157
|
this.handleClick = (url, target, location, isExternal) => {
|
|
181
158
|
window.postMessage({ type: 'NavigateTo', path: url, target: target, locations: location, externalLink: isExternal || false }, window.location.href);
|
|
182
159
|
// @ts-ignore Analytics event
|
|
@@ -217,6 +194,16 @@ const GeneralAboutUs = class {
|
|
|
217
194
|
}
|
|
218
195
|
return h("div", { class: "Title" }, h("span", { class: "FirstWord" }, firstWord, " "), h("span", null, restOfTitle));
|
|
219
196
|
};
|
|
197
|
+
this.cmsEndpoint = undefined;
|
|
198
|
+
this.language = 'en';
|
|
199
|
+
this.userRoles = 'everyone';
|
|
200
|
+
this.cmsEnv = 'stage';
|
|
201
|
+
this.mbSource = undefined;
|
|
202
|
+
this.clientStyling = '';
|
|
203
|
+
this.clientStylingUrl = '';
|
|
204
|
+
this.hasErrors = false;
|
|
205
|
+
this.isLoading = true;
|
|
206
|
+
this.device = '';
|
|
220
207
|
}
|
|
221
208
|
watchEndpoint(newValue, oldValue) {
|
|
222
209
|
if (newValue && newValue != oldValue && this.cmsEndpoint) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-894e6ee1.js';
|
|
2
|
+
export { s as setNonce } from './index-894e6ee1.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|