@everymatrix/blog-article-details 1.44.0 → 1.45.2
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/blog-article-details/blog-article-details.esm.js +1 -1
- package/dist/blog-article-details/p-0783b0ba.js +2 -0
- package/dist/blog-article-details/p-e1255160.js +1 -0
- package/dist/blog-article-details/p-f02359f3.entry.js +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/blog-article-details.cjs.entry.js +223 -248
- package/dist/cjs/blog-article-details.cjs.js +17 -11
- package/dist/cjs/index-ade27b33.js +1254 -0
- package/dist/cjs/loader.cjs.js +7 -13
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/blog-article-details/blog-article-details.js +463 -485
- package/dist/collection/components/blog-article-details/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +23 -23
- package/dist/collection/utils/utils.js +48 -48
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/blog-article-details.entry.js +223 -248
- package/dist/esm/blog-article-details.js +14 -11
- package/dist/esm/index-9d94198d.js +1228 -0
- package/dist/esm/loader.js +7 -13
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +14 -19
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/blog-article-details/.stencil/packages/stencil/blog-article-details/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/blog-article-details/.stencil/packages/stencil/blog-article-details/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/blog-article-details/blog-article-details.d.ts +78 -78
- package/dist/types/components/blog-article-details/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +142 -33
- 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 -6
- package/dist/blog-article-details/p-68e0210a.js +0 -1
- package/dist/blog-article-details/p-b8c9de45.entry.js +0 -1
- package/dist/cjs/index-d983d0f8.js +0 -1255
- package/dist/components/blog-article-details.d.ts +0 -11
- package/dist/components/blog-article-details.js +0 -317
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -1
- package/dist/esm/index-a6d43dfd.js +0 -1230
- 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/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/blog-article-details/.stencil/packages/blog-article-details/stencil.config.d.ts +0 -2
package/dist/esm/loader.js
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as bootstrapLazy } from './index-9d94198d.js';
|
|
2
|
+
export { s as setNonce } from './index-9d94198d.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return promiseResolve();
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
const defineCustomElements = (win, options) => {
|
|
11
|
-
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
|
-
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["blog-article-details",[[1,"blog-article-details",{"cmsEndpoint":[513,"cms-endpoint"],"language":[513],"userRoles":[513,"user-roles"],"cmsEnv":[513,"cms-env"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"showPublishingDate":[516,"show-publishing-date"],"showImage":[516,"show-image"],"showTitle":[516,"show-title"],"showContent":[516,"show-content"],"postId":[514,"post-id"],"postSlug":[513,"post-slug"],"postCustomPath":[513,"post-custom-path"],"intlDateTimeFormat":[1,"intl-date-time-format"],"hasErrors":[32],"limitStylingAppends":[32],"isLoading":[32],"bannerMatrixReady":[32],"device":[32]},[[8,"BannerMatrixReady","handleBannerReady"]]]]]], options);
|
|
14
|
-
});
|
|
5
|
+
const defineCustomElements = async (win, options) => {
|
|
6
|
+
if (typeof window === 'undefined') return undefined;
|
|
7
|
+
await globalScripts();
|
|
8
|
+
return bootstrapLazy([["blog-article-details",[[1,"blog-article-details",{"cmsEndpoint":[513,"cms-endpoint"],"language":[513],"userRoles":[513,"user-roles"],"cmsEnv":[513,"cms-env"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"showPublishingDate":[516,"show-publishing-date"],"showImage":[516,"show-image"],"showTitle":[516,"show-title"],"showContent":[516,"show-content"],"postId":[514,"post-id"],"postSlug":[513,"post-slug"],"postCustomPath":[513,"post-custom-path"],"intlDateTimeFormat":[1,"intl-date-time-format"],"hasErrors":[32],"limitStylingAppends":[32],"isLoading":[32],"bannerMatrixReady":[32],"device":[32]},[[8,"BannerMatrixReady","handleBannerReady"]],{"postId":["watchEndpoint"],"postSlug":["watchEndpoint"],"postCustomPath":["watchEndpoint"],"cmsEndpoint":["watchEndpoint"],"language":["watchEndpoint"],"clientStyling":["handleStylingChange"],"clientStylingUrl":["handleStylingUrlChange"]}]]]], options);
|
|
15
9
|
};
|
|
16
10
|
|
|
17
11
|
export { defineCustomElements };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { sass } from "@stencil/sass";
|
|
2
|
+
export const config = {
|
|
3
|
+
namespace: 'blog-article-details',
|
|
4
|
+
taskQueue: 'async',
|
|
5
|
+
sourceMap: true,
|
|
6
|
+
minifyJs: false,
|
|
7
|
+
extras: {
|
|
8
|
+
experimentalImportInjection: true
|
|
9
|
+
},
|
|
10
|
+
plugins: [sass()],
|
|
11
|
+
outputTargets: [
|
|
12
|
+
{
|
|
13
|
+
type: 'www',
|
|
14
|
+
serviceWorker: null // disable service workers
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
};
|
package/dist/stencil.config.js
CHANGED
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
import { sass } from
|
|
1
|
+
import { sass } from "@stencil/sass";
|
|
2
2
|
export const config = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
{
|
|
8
|
-
|
|
9
|
-
esmLoaderPath: '../loader',
|
|
3
|
+
namespace: 'blog-article-details',
|
|
4
|
+
taskQueue: 'async',
|
|
5
|
+
sourceMap: false,
|
|
6
|
+
minifyJs: true,
|
|
7
|
+
extras: {
|
|
8
|
+
experimentalImportInjection: true
|
|
10
9
|
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
type: 'www',
|
|
19
|
-
serviceWorker: null, // disable service workers
|
|
20
|
-
},
|
|
21
|
-
],
|
|
10
|
+
plugins: [sass()],
|
|
11
|
+
outputTargets: [
|
|
12
|
+
{
|
|
13
|
+
type: 'dist',
|
|
14
|
+
esmLoaderPath: '../loader'
|
|
15
|
+
}
|
|
16
|
+
]
|
|
22
17
|
};
|
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
export declare class BlogArticleDetails {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Endpoint URL for the source of data
|
|
4
|
+
*/
|
|
5
|
+
cmsEndpoint: string;
|
|
6
|
+
/**
|
|
7
|
+
* Language of the widget
|
|
8
|
+
*/
|
|
9
|
+
language: string;
|
|
10
|
+
/**
|
|
11
|
+
* User roles
|
|
12
|
+
*/
|
|
13
|
+
userRoles: string;
|
|
14
|
+
/**
|
|
15
|
+
* CMS Endpoint stage
|
|
16
|
+
*/
|
|
17
|
+
cmsEnv: string;
|
|
18
|
+
/**
|
|
19
|
+
* Client custom styling via string
|
|
20
|
+
*/
|
|
21
|
+
clientStyling: string;
|
|
22
|
+
/**
|
|
23
|
+
* Client custom styling via url
|
|
24
|
+
*/
|
|
25
|
+
clientStylingUrl: string;
|
|
26
|
+
/**
|
|
27
|
+
* Property used to display the publishing date
|
|
28
|
+
*/
|
|
29
|
+
showPublishingDate: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Property used to display the image
|
|
32
|
+
*/
|
|
33
|
+
showImage: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Property used to display the image
|
|
36
|
+
*/
|
|
37
|
+
showTitle: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Property used to display the description
|
|
40
|
+
*/
|
|
41
|
+
showContent: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Showing post ID parameter
|
|
44
|
+
*/
|
|
45
|
+
postId: number;
|
|
46
|
+
/**
|
|
47
|
+
* Slug of post
|
|
48
|
+
*/
|
|
49
|
+
postSlug: string;
|
|
50
|
+
/**
|
|
51
|
+
* Custom Path of post
|
|
52
|
+
*/
|
|
53
|
+
postCustomPath: string;
|
|
54
|
+
/**
|
|
55
|
+
* Intl date format
|
|
56
|
+
*/
|
|
57
|
+
intlDateTimeFormat: string;
|
|
58
|
+
private hasErrors;
|
|
59
|
+
private limitStylingAppends;
|
|
60
|
+
private isLoading;
|
|
61
|
+
bannerMatrixReady: boolean;
|
|
62
|
+
device: string;
|
|
63
|
+
handleBannerReady(): void;
|
|
64
|
+
watchEndpoint(newValue: string, oldValue: string): void;
|
|
65
|
+
handleStylingChange(newValue: string, oldValue: string): void;
|
|
66
|
+
handleStylingUrlChange(newValue: string, oldValue: string): void;
|
|
67
|
+
private stylingContainer;
|
|
68
|
+
private blogData;
|
|
69
|
+
connectedCallback(): void;
|
|
70
|
+
getBlogArticleDetails(): void;
|
|
71
|
+
componentDidRender(): void;
|
|
72
|
+
componentDidLoad(): void;
|
|
73
|
+
detectAndAlertDeviceType(): void;
|
|
74
|
+
setClientStyling: () => void;
|
|
75
|
+
setClientStylingURL: () => void;
|
|
76
|
+
formatDate(dateString: any): string;
|
|
77
|
+
renderContentConditionally: (content: string) => HTMLElement;
|
|
78
|
+
setImage: (image: any) => string;
|
|
79
|
+
render(): void;
|
|
80
80
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BlogArticleDetails } from './blog-article-details';
|