@everymatrix/blog-article-details 1.0.69
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 -0
- package/dist/blog-article-details/index.esm.js +0 -0
- package/dist/blog-article-details/p-0783b0ba.js +2 -0
- package/dist/blog-article-details/p-db82d889.entry.js +1 -0
- package/dist/blog-article-details/p-e1255160.js +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/blog-article-details.cjs.entry.js +259 -0
- package/dist/cjs/blog-article-details.cjs.js +25 -0
- package/dist/cjs/index-ade27b33.js +1254 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/collection/collection-manifest.json +12 -0
- package/dist/collection/components/blog-article-details/blog-article-details.css +47 -0
- package/dist/collection/components/blog-article-details/blog-article-details.js +474 -0
- package/dist/collection/components/blog-article-details/index.js +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +29 -0
- package/dist/collection/utils/utils.js +59 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/blog-article-details.entry.js +255 -0
- package/dist/esm/blog-article-details.js +20 -0
- package/dist/esm/index-9d94198d.js +1228 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +17 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/blog-article-details/.stencil/packages/stencil/blog-article-details/stencil.config.d.ts +2 -0
- package/dist/types/Users/raul.vasile/workspace/everymatrix/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 +80 -0
- package/dist/types/components/blog-article-details/index.d.ts +1 -0
- package/dist/types/components.d.ts +149 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +4 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +26 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
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';
|
|
4
|
+
|
|
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);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { defineCustomElements };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./cjs/index.cjs.js');
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './esm/index.js';
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { sass } from "@stencil/sass";
|
|
2
|
+
export const config = {
|
|
3
|
+
namespace: 'blog-article-details',
|
|
4
|
+
taskQueue: 'async',
|
|
5
|
+
sourceMap: false,
|
|
6
|
+
minifyJs: true,
|
|
7
|
+
extras: {
|
|
8
|
+
experimentalImportInjection: true
|
|
9
|
+
},
|
|
10
|
+
plugins: [sass()],
|
|
11
|
+
outputTargets: [
|
|
12
|
+
{
|
|
13
|
+
type: 'dist',
|
|
14
|
+
esmLoaderPath: '../loader'
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export declare class BlogArticleDetails {
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BlogArticleDetails } from './blog-article-details';
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
+
* It contains typing information for all components that exist in this project.
|
|
6
|
+
*/
|
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
export namespace Components {
|
|
9
|
+
interface BlogArticleDetails {
|
|
10
|
+
/**
|
|
11
|
+
* Client custom styling via string
|
|
12
|
+
*/
|
|
13
|
+
"clientStyling": string;
|
|
14
|
+
/**
|
|
15
|
+
* Client custom styling via url
|
|
16
|
+
*/
|
|
17
|
+
"clientStylingUrl": string;
|
|
18
|
+
/**
|
|
19
|
+
* Endpoint URL for the source of data
|
|
20
|
+
*/
|
|
21
|
+
"cmsEndpoint": string;
|
|
22
|
+
/**
|
|
23
|
+
* CMS Endpoint stage
|
|
24
|
+
*/
|
|
25
|
+
"cmsEnv": string;
|
|
26
|
+
/**
|
|
27
|
+
* Intl date format
|
|
28
|
+
*/
|
|
29
|
+
"intlDateTimeFormat": string;
|
|
30
|
+
/**
|
|
31
|
+
* Language of the widget
|
|
32
|
+
*/
|
|
33
|
+
"language": string;
|
|
34
|
+
/**
|
|
35
|
+
* Custom Path of post
|
|
36
|
+
*/
|
|
37
|
+
"postCustomPath": string;
|
|
38
|
+
/**
|
|
39
|
+
* Showing post ID parameter
|
|
40
|
+
*/
|
|
41
|
+
"postId": number;
|
|
42
|
+
/**
|
|
43
|
+
* Slug of post
|
|
44
|
+
*/
|
|
45
|
+
"postSlug": string;
|
|
46
|
+
/**
|
|
47
|
+
* Property used to display the description
|
|
48
|
+
*/
|
|
49
|
+
"showContent": boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Property used to display the image
|
|
52
|
+
*/
|
|
53
|
+
"showImage": boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Property used to display the publishing date
|
|
56
|
+
*/
|
|
57
|
+
"showPublishingDate": boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Property used to display the image
|
|
60
|
+
*/
|
|
61
|
+
"showTitle": boolean;
|
|
62
|
+
/**
|
|
63
|
+
* User roles
|
|
64
|
+
*/
|
|
65
|
+
"userRoles": string;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
declare global {
|
|
69
|
+
interface HTMLBlogArticleDetailsElement extends Components.BlogArticleDetails, HTMLStencilElement {
|
|
70
|
+
}
|
|
71
|
+
var HTMLBlogArticleDetailsElement: {
|
|
72
|
+
prototype: HTMLBlogArticleDetailsElement;
|
|
73
|
+
new (): HTMLBlogArticleDetailsElement;
|
|
74
|
+
};
|
|
75
|
+
interface HTMLElementTagNameMap {
|
|
76
|
+
"blog-article-details": HTMLBlogArticleDetailsElement;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
declare namespace LocalJSX {
|
|
80
|
+
interface BlogArticleDetails {
|
|
81
|
+
/**
|
|
82
|
+
* Client custom styling via string
|
|
83
|
+
*/
|
|
84
|
+
"clientStyling"?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Client custom styling via url
|
|
87
|
+
*/
|
|
88
|
+
"clientStylingUrl"?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Endpoint URL for the source of data
|
|
91
|
+
*/
|
|
92
|
+
"cmsEndpoint"?: string;
|
|
93
|
+
/**
|
|
94
|
+
* CMS Endpoint stage
|
|
95
|
+
*/
|
|
96
|
+
"cmsEnv"?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Intl date format
|
|
99
|
+
*/
|
|
100
|
+
"intlDateTimeFormat"?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Language of the widget
|
|
103
|
+
*/
|
|
104
|
+
"language"?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Custom Path of post
|
|
107
|
+
*/
|
|
108
|
+
"postCustomPath"?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Showing post ID parameter
|
|
111
|
+
*/
|
|
112
|
+
"postId"?: number;
|
|
113
|
+
/**
|
|
114
|
+
* Slug of post
|
|
115
|
+
*/
|
|
116
|
+
"postSlug"?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Property used to display the description
|
|
119
|
+
*/
|
|
120
|
+
"showContent"?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Property used to display the image
|
|
123
|
+
*/
|
|
124
|
+
"showImage"?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Property used to display the publishing date
|
|
127
|
+
*/
|
|
128
|
+
"showPublishingDate"?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Property used to display the image
|
|
131
|
+
*/
|
|
132
|
+
"showTitle"?: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* User roles
|
|
135
|
+
*/
|
|
136
|
+
"userRoles"?: string;
|
|
137
|
+
}
|
|
138
|
+
interface IntrinsicElements {
|
|
139
|
+
"blog-article-details": BlogArticleDetails;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
export { LocalJSX as JSX };
|
|
143
|
+
declare module "@stencil/core" {
|
|
144
|
+
export namespace JSX {
|
|
145
|
+
interface IntrinsicElements {
|
|
146
|
+
"blog-article-details": LocalJSX.BlogArticleDetails & JSXBase.HTMLAttributes<HTMLBlogArticleDetailsElement>;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|