@everymatrix/general-preview-social-posts 1.16.1

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 (47) hide show
  1. package/dist/cjs/general-preview-social-posts.cjs.entry.js +349 -0
  2. package/dist/cjs/general-preview-social-posts.cjs.js +19 -0
  3. package/dist/cjs/index-e178764e.js +1223 -0
  4. package/dist/cjs/index.cjs.js +2 -0
  5. package/dist/cjs/loader.cjs.js +21 -0
  6. package/dist/collection/collection-manifest.json +12 -0
  7. package/dist/collection/components/general-preview-social-posts/general-preview-social-posts.css +114 -0
  8. package/dist/collection/components/general-preview-social-posts/general-preview-social-posts.js +578 -0
  9. package/dist/collection/index.js +1 -0
  10. package/dist/collection/utils/locale.utils.js +60 -0
  11. package/dist/collection/utils/utils.js +39 -0
  12. package/dist/components/general-preview-social-posts.d.ts +11 -0
  13. package/dist/components/general-preview-social-posts.js +384 -0
  14. package/dist/components/index.d.ts +26 -0
  15. package/dist/components/index.js +1 -0
  16. package/dist/esm/general-preview-social-posts.entry.js +345 -0
  17. package/dist/esm/general-preview-social-posts.js +17 -0
  18. package/dist/esm/index-8a671ab9.js +1197 -0
  19. package/dist/esm/index.js +1 -0
  20. package/dist/esm/loader.js +17 -0
  21. package/dist/esm/polyfills/core-js.js +11 -0
  22. package/dist/esm/polyfills/css-shim.js +1 -0
  23. package/dist/esm/polyfills/dom.js +79 -0
  24. package/dist/esm/polyfills/es5-html-element.js +1 -0
  25. package/dist/esm/polyfills/index.js +34 -0
  26. package/dist/esm/polyfills/system.js +6 -0
  27. package/dist/general-preview-social-posts/general-preview-social-posts.esm.js +1 -0
  28. package/dist/general-preview-social-posts/index.esm.js +0 -0
  29. package/dist/general-preview-social-posts/p-b79fd2fe.entry.js +1 -0
  30. package/dist/general-preview-social-posts/p-c682801c.js +1 -0
  31. package/dist/index.cjs.js +1 -0
  32. package/dist/index.js +1 -0
  33. package/dist/stencil.config.js +22 -0
  34. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/general-preview-social-posts/.stencil/packages/general-preview-social-posts/stencil.config.d.ts +2 -0
  35. package/dist/types/components/general-preview-social-posts/general-preview-social-posts.d.ts +84 -0
  36. package/dist/types/components.d.ts +152 -0
  37. package/dist/types/index.d.ts +1 -0
  38. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  39. package/dist/types/utils/locale.utils.d.ts +2 -0
  40. package/dist/types/utils/utils.d.ts +9 -0
  41. package/loader/cdn.js +3 -0
  42. package/loader/index.cjs.js +3 -0
  43. package/loader/index.d.ts +12 -0
  44. package/loader/index.es2017.js +3 -0
  45. package/loader/index.js +4 -0
  46. package/loader/package.json +10 -0
  47. package/package.json +19 -0
@@ -0,0 +1,84 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class SocialSlider {
3
+ /**
4
+ * The userId
5
+ */
6
+ userId: string;
7
+ /**
8
+ * The session
9
+ */
10
+ session: string;
11
+ /**
12
+ * The Posts Title
13
+ */
14
+ postsTitle: string;
15
+ /**
16
+ * The max cards displayed
17
+ */
18
+ maxCards: string;
19
+ /**
20
+ * The language
21
+ */
22
+ language: string;
23
+ /**
24
+ * The datasource
25
+ */
26
+ datasource: string;
27
+ /**
28
+ * The NorWAy endpoint
29
+ */
30
+ endpoint: string;
31
+ /**
32
+ * The NorWAy endpoint
33
+ */
34
+ cmsEndpoint: string;
35
+ /**
36
+ * The userRoles
37
+ */
38
+ userRoles: string;
39
+ /**
40
+ * The translationurl
41
+ */
42
+ translationUrl: string;
43
+ /**
44
+ * Client custom styling via string
45
+ */
46
+ clientStyling: string;
47
+ /**
48
+ * Client custom styling via url content
49
+ */
50
+ clientStylingUrl: string;
51
+ /**
52
+ * CMS Endpoint stage
53
+ */
54
+ cmsEnv: string;
55
+ /**
56
+ * The page parameter for the cms call
57
+ */
58
+ pageName: string;
59
+ posts: Array<any>;
60
+ private stylingAppends;
61
+ private isLoading;
62
+ private isLoggedIn;
63
+ dataImages: Array<any>;
64
+ gameIds: string;
65
+ private platform;
66
+ private stylingContainer;
67
+ moreInfo: EventEmitter;
68
+ playNow: EventEmitter;
69
+ viewAll: EventEmitter;
70
+ handleNewTranslations(): void;
71
+ componentWillLoad(): Promise<void>;
72
+ watchSession(newValue: string, oldValue: string): void;
73
+ connectedCallback(): void;
74
+ componentDidRender(): void;
75
+ setClientStyling: () => void;
76
+ setClientStylingURL: () => void;
77
+ getDataImage(ids: string): void;
78
+ componentDidLoad(): Promise<void>;
79
+ hasUndefinedValues(obj: object): boolean;
80
+ render(): any;
81
+ onViewAllClick(): void;
82
+ onMoreInfoClick(): void;
83
+ onPlayNowClick(gameId: any): void;
84
+ }
@@ -0,0 +1,152 @@
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 GeneralPreviewSocialPosts {
10
+ /**
11
+ * Client custom styling via string
12
+ */
13
+ "clientStyling": string;
14
+ /**
15
+ * Client custom styling via url content
16
+ */
17
+ "clientStylingUrl": string;
18
+ /**
19
+ * The NorWAy endpoint
20
+ */
21
+ "cmsEndpoint": string;
22
+ /**
23
+ * CMS Endpoint stage
24
+ */
25
+ "cmsEnv": string;
26
+ /**
27
+ * The datasource
28
+ */
29
+ "datasource": string;
30
+ /**
31
+ * The NorWAy endpoint
32
+ */
33
+ "endpoint": string;
34
+ /**
35
+ * The language
36
+ */
37
+ "language": string;
38
+ /**
39
+ * The max cards displayed
40
+ */
41
+ "maxCards": string;
42
+ /**
43
+ * The page parameter for the cms call
44
+ */
45
+ "pageName": string;
46
+ /**
47
+ * The Posts Title
48
+ */
49
+ "postsTitle": string;
50
+ /**
51
+ * The session
52
+ */
53
+ "session": string;
54
+ /**
55
+ * The translationurl
56
+ */
57
+ "translationUrl": string;
58
+ /**
59
+ * The userId
60
+ */
61
+ "userId": string;
62
+ /**
63
+ * The userRoles
64
+ */
65
+ "userRoles": string;
66
+ }
67
+ }
68
+ declare global {
69
+ interface HTMLGeneralPreviewSocialPostsElement extends Components.GeneralPreviewSocialPosts, HTMLStencilElement {
70
+ }
71
+ var HTMLGeneralPreviewSocialPostsElement: {
72
+ prototype: HTMLGeneralPreviewSocialPostsElement;
73
+ new (): HTMLGeneralPreviewSocialPostsElement;
74
+ };
75
+ interface HTMLElementTagNameMap {
76
+ "general-preview-social-posts": HTMLGeneralPreviewSocialPostsElement;
77
+ }
78
+ }
79
+ declare namespace LocalJSX {
80
+ interface GeneralPreviewSocialPosts {
81
+ /**
82
+ * Client custom styling via string
83
+ */
84
+ "clientStyling"?: string;
85
+ /**
86
+ * Client custom styling via url content
87
+ */
88
+ "clientStylingUrl"?: string;
89
+ /**
90
+ * The NorWAy endpoint
91
+ */
92
+ "cmsEndpoint"?: string;
93
+ /**
94
+ * CMS Endpoint stage
95
+ */
96
+ "cmsEnv"?: string;
97
+ /**
98
+ * The datasource
99
+ */
100
+ "datasource"?: string;
101
+ /**
102
+ * The NorWAy endpoint
103
+ */
104
+ "endpoint"?: string;
105
+ /**
106
+ * The language
107
+ */
108
+ "language"?: string;
109
+ /**
110
+ * The max cards displayed
111
+ */
112
+ "maxCards"?: string;
113
+ "onMoreInfo"?: (event: CustomEvent<any>) => void;
114
+ "onPlayNow"?: (event: CustomEvent<any>) => void;
115
+ "onViewAll"?: (event: CustomEvent<any>) => void;
116
+ /**
117
+ * The page parameter for the cms call
118
+ */
119
+ "pageName"?: string;
120
+ /**
121
+ * The Posts Title
122
+ */
123
+ "postsTitle"?: string;
124
+ /**
125
+ * The session
126
+ */
127
+ "session"?: string;
128
+ /**
129
+ * The translationurl
130
+ */
131
+ "translationUrl"?: string;
132
+ /**
133
+ * The userId
134
+ */
135
+ "userId"?: string;
136
+ /**
137
+ * The userRoles
138
+ */
139
+ "userRoles"?: string;
140
+ }
141
+ interface IntrinsicElements {
142
+ "general-preview-social-posts": GeneralPreviewSocialPosts;
143
+ }
144
+ }
145
+ export { LocalJSX as JSX };
146
+ declare module "@stencil/core" {
147
+ export namespace JSX {
148
+ interface IntrinsicElements {
149
+ "general-preview-social-posts": LocalJSX.GeneralPreviewSocialPosts & JSXBase.HTMLAttributes<HTMLGeneralPreviewSocialPostsElement>;
150
+ }
151
+ }
152
+ }
@@ -0,0 +1 @@
1
+ export * from './components';