@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.
Files changed (48) hide show
  1. package/dist/blog-article-details/blog-article-details.esm.js +1 -1
  2. package/dist/blog-article-details/p-0783b0ba.js +2 -0
  3. package/dist/blog-article-details/p-e1255160.js +1 -0
  4. package/dist/blog-article-details/p-f02359f3.entry.js +1 -0
  5. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  6. package/dist/cjs/blog-article-details.cjs.entry.js +223 -248
  7. package/dist/cjs/blog-article-details.cjs.js +17 -11
  8. package/dist/cjs/index-ade27b33.js +1254 -0
  9. package/dist/cjs/loader.cjs.js +7 -13
  10. package/dist/collection/collection-manifest.json +3 -3
  11. package/dist/collection/components/blog-article-details/blog-article-details.js +463 -485
  12. package/dist/collection/components/blog-article-details/index.js +1 -0
  13. package/dist/collection/utils/locale.utils.js +23 -23
  14. package/dist/collection/utils/utils.js +48 -48
  15. package/dist/esm/app-globals-0f993ce5.js +3 -0
  16. package/dist/esm/blog-article-details.entry.js +223 -248
  17. package/dist/esm/blog-article-details.js +14 -11
  18. package/dist/esm/index-9d94198d.js +1228 -0
  19. package/dist/esm/loader.js +7 -13
  20. package/dist/stencil.config.dev.js +17 -0
  21. package/dist/stencil.config.js +14 -19
  22. 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
  23. 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
  24. package/dist/types/components/blog-article-details/blog-article-details.d.ts +78 -78
  25. package/dist/types/components/blog-article-details/index.d.ts +1 -0
  26. package/dist/types/stencil-public-runtime.d.ts +142 -33
  27. package/loader/cdn.js +1 -3
  28. package/loader/index.cjs.js +1 -3
  29. package/loader/index.d.ts +13 -1
  30. package/loader/index.es2017.js +1 -3
  31. package/loader/index.js +1 -3
  32. package/loader/package.json +1 -0
  33. package/package.json +8 -6
  34. package/dist/blog-article-details/p-68e0210a.js +0 -1
  35. package/dist/blog-article-details/p-b8c9de45.entry.js +0 -1
  36. package/dist/cjs/index-d983d0f8.js +0 -1255
  37. package/dist/components/blog-article-details.d.ts +0 -11
  38. package/dist/components/blog-article-details.js +0 -317
  39. package/dist/components/index.d.ts +0 -26
  40. package/dist/components/index.js +0 -1
  41. package/dist/esm/index-a6d43dfd.js +0 -1230
  42. package/dist/esm/polyfills/core-js.js +0 -11
  43. package/dist/esm/polyfills/css-shim.js +0 -1
  44. package/dist/esm/polyfills/dom.js +0 -79
  45. package/dist/esm/polyfills/es5-html-element.js +0 -1
  46. package/dist/esm/polyfills/index.js +0 -34
  47. package/dist/esm/polyfills/system.js +0 -6
  48. 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
@@ -1,17 +1,11 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-a6d43dfd.js';
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
- Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
5
- */
6
- const patchEsm = () => {
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
+ };
@@ -1,22 +1,17 @@
1
- import { sass } from '@stencil/sass';
1
+ import { sass } from "@stencil/sass";
2
2
  export const config = {
3
- namespace: 'blog-article-details',
4
- taskQueue: 'async',
5
- plugins: [sass()],
6
- outputTargets: [
7
- {
8
- type: 'dist',
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
- type: 'dist-custom-elements',
13
- },
14
- {
15
- type: 'docs-readme',
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
  };
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -1,80 +1,80 @@
1
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;
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';