@everymatrix/general-footer-template 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.
Files changed (63) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/custom-content-section.cjs.entry.js +9639 -0
  3. package/dist/cjs/general-footer-template.cjs.entry.js +315 -0
  4. package/dist/cjs/general-footer-template.cjs.js +25 -0
  5. package/dist/cjs/image-list.cjs.entry.js +29 -0
  6. package/dist/cjs/index-4c3922ac.js +1291 -0
  7. package/dist/cjs/index.cjs.js +2 -0
  8. package/dist/cjs/link-section-list.cjs.entry.js +62 -0
  9. package/dist/cjs/loader.cjs.js +15 -0
  10. package/dist/collection/collection-manifest.json +15 -0
  11. package/dist/collection/components/custom-content-section/custom-content-section.css +13 -0
  12. package/dist/collection/components/custom-content-section/custom-content-section.js +105 -0
  13. package/dist/collection/components/general-footer-template/demo-footer.css +160 -0
  14. package/dist/collection/components/general-footer-template/general-footer-template.css +84 -0
  15. package/dist/collection/components/general-footer-template/general-footer-template.js +321 -0
  16. package/dist/collection/components/general-footer-template/index.js +1 -0
  17. package/dist/collection/components/general-footer-template/pariuri_plus_variant.css +185 -0
  18. package/dist/collection/components/general-footer-template/variant_style_1.css +146 -0
  19. package/dist/collection/components/image-list/image-list.css +69 -0
  20. package/dist/collection/components/image-list/image-list.js +86 -0
  21. package/dist/collection/components/link-section-list/link-section-list.css +83 -0
  22. package/dist/collection/components/link-section-list/link-section-list.js +152 -0
  23. package/dist/collection/index.js +1 -0
  24. package/dist/collection/utils/utils.js +212 -0
  25. package/dist/esm/app-globals-0f993ce5.js +3 -0
  26. package/dist/esm/custom-content-section.entry.js +9635 -0
  27. package/dist/esm/general-footer-template.entry.js +311 -0
  28. package/dist/esm/general-footer-template.js +20 -0
  29. package/dist/esm/image-list.entry.js +25 -0
  30. package/dist/esm/index-7361445e.js +1265 -0
  31. package/dist/esm/index.js +1 -0
  32. package/dist/esm/link-section-list.entry.js +58 -0
  33. package/dist/esm/loader.js +11 -0
  34. package/dist/general-footer-template/general-footer-template.esm.js +1 -0
  35. package/dist/general-footer-template/index.esm.js +0 -0
  36. package/dist/general-footer-template/p-01f3f03f.entry.js +8 -0
  37. package/dist/general-footer-template/p-26b76a9c.js +2 -0
  38. package/dist/general-footer-template/p-572b7e03.entry.js +1 -0
  39. package/dist/general-footer-template/p-7e979c2e.entry.js +1 -0
  40. package/dist/general-footer-template/p-e1255160.js +1 -0
  41. package/dist/general-footer-template/p-e98c72d0.entry.js +1 -0
  42. package/dist/index.cjs.js +1 -0
  43. package/dist/index.js +1 -0
  44. package/dist/stencil.config.dev.js +17 -0
  45. package/dist/stencil.config.js +17 -0
  46. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.d.ts +2 -0
  47. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.dev.d.ts +2 -0
  48. package/dist/types/components/custom-content-section/custom-content-section.d.ts +19 -0
  49. package/dist/types/components/general-footer-template/general-footer-template.d.ts +75 -0
  50. package/dist/types/components/general-footer-template/index.d.ts +1 -0
  51. package/dist/types/components/image-list/image-list.d.ts +16 -0
  52. package/dist/types/components/link-section-list/link-section-list.d.ts +24 -0
  53. package/dist/types/components.d.ts +268 -0
  54. package/dist/types/index.d.ts +1 -0
  55. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  56. package/dist/types/utils/utils.d.ts +95 -0
  57. package/loader/cdn.js +1 -0
  58. package/loader/index.cjs.js +1 -0
  59. package/loader/index.d.ts +24 -0
  60. package/loader/index.es2017.js +1 -0
  61. package/loader/index.js +2 -0
  62. package/loader/package.json +11 -0
  63. package/package.json +26 -0
@@ -0,0 +1,17 @@
1
+ import { sass } from "@stencil/sass";
2
+ export const config = {
3
+ namespace: 'general-footer-template',
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: 'general-footer-template',
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,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;
@@ -0,0 +1,19 @@
1
+ export declare class CustomContentSection {
2
+ /**
3
+ * custom HTML content to be rendered
4
+ */
5
+ customContent: string;
6
+ /**
7
+ * the links content to be displayed, including titles, url, open target
8
+ */
9
+ repeaterContent: any;
10
+ /**
11
+ * If this is true it will emit an event at the moment the content with url its clicked
12
+ */
13
+ navigateViaEvent: boolean;
14
+ /**
15
+ * Post Message event to be sent on navigation via Event
16
+ */
17
+ postMessageEvent: string;
18
+ render(): any;
19
+ }
@@ -0,0 +1,75 @@
1
+ export declare class GeneralFooterTemplate {
2
+ /**
3
+ * the language of the footer
4
+ */
5
+ language: string;
6
+ /**
7
+ * which sections should be included in the footer (some have defined attributes)
8
+ */
9
+ sections: string;
10
+ /**
11
+ * endpoint for data retrieval
12
+ */
13
+ endpoint: string;
14
+ /**
15
+ * Environment segregation
16
+ */
17
+ env: string;
18
+ /**
19
+ * User roles
20
+ */
21
+ userRoles: string;
22
+ /**
23
+ * the id of the current userid, to be used in order to determine login status (relevant for certain components ex. "panic button")
24
+ */
25
+ userid: string;
26
+ /**
27
+ * the current session, to be used in order to determine login status (relevant for certain components ex. "panic button")
28
+ */
29
+ session: string;
30
+ /**
31
+ * If this is present, then the footer will attach the baseurl inside src for all HelperLinks present in the footer (so it will be baseurl + helper_link) - This is needed when the footer is integrated inside an iframe it can’t take the parent host to create the right anchors.
32
+ */
33
+ baseUrl: string;
34
+ /**
35
+ * If this is true it will emit an event at the moment the content with url its clicked
36
+ */
37
+ navigateViaEvent: string;
38
+ /**
39
+ * Post Message event to be sent on navigation via Event
40
+ */
41
+ postMessageEvent: string;
42
+ /**
43
+ * custom styling by string content
44
+ */
45
+ clientStyling: string;
46
+ /**
47
+ * custom styling by href
48
+ */
49
+ clientStylingUrl: string;
50
+ /**
51
+ * wether or not styling appends should be disallowed
52
+ */
53
+ private hasErrors;
54
+ private stylingAppends;
55
+ /**
56
+ * clean / formatted section list to be used for rendering footer components
57
+ */
58
+ private sectionsList;
59
+ /**
60
+ * object containing formatted / final form footer content, used to determine rendering
61
+ */
62
+ private footerContent;
63
+ private platform;
64
+ private stylingContainer;
65
+ /**
66
+ * Host element
67
+ */
68
+ private MANDATORY_FIELDS;
69
+ validateMandatoryFields(): void;
70
+ componentWillLoad(): Promise<any>;
71
+ componentDidRender(): void;
72
+ setClientStyling: () => void;
73
+ setClientStylingURL: () => void;
74
+ render(): any;
75
+ }
@@ -0,0 +1 @@
1
+ export { GeneralFooterTemplate } from './general-footer-template';
@@ -0,0 +1,16 @@
1
+ export declare class ImageList {
2
+ /**
3
+ * the links content to be displayed, including titles, url, open target
4
+ */
5
+ repeaterContent: any;
6
+ /**
7
+ * If this is true it will emit an event at the moment the content with url its clicked
8
+ */
9
+ navigateViaEvent: boolean;
10
+ /**
11
+ * Post Message event to be sent on navigation via event
12
+ */
13
+ postMessageEvent: string;
14
+ navigateLink: (url: string, target: string, externalLink: boolean) => void;
15
+ render(): any;
16
+ }
@@ -0,0 +1,24 @@
1
+ export declare class LinkSectionList {
2
+ /**
3
+ * the links content to be displayed, including titles, url, open target
4
+ */
5
+ repeaterContent: any;
6
+ /**
7
+ * If this is present, then the footer will attach the baseurl inside src for all HelperLinks present in the footer (so it will be baseurl + helper_link) - This is needed when the footer is integrated inside an iframe it can’t take the parent host to create the right anchors.
8
+ */
9
+ baseUrl: string;
10
+ /**
11
+ * the language of the footer
12
+ */
13
+ language: string;
14
+ /**
15
+ * If this is true it will emit an event at the moment the content with url its clicked
16
+ */
17
+ navigateViaEvent: boolean;
18
+ /**
19
+ * Post Message event to be sent on navigation via event
20
+ */
21
+ postMessageEvent: string;
22
+ navigateLink(link: any): void;
23
+ render(): any;
24
+ }
@@ -0,0 +1,268 @@
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 CustomContentSection {
10
+ /**
11
+ * custom HTML content to be rendered
12
+ */
13
+ "customContent": string;
14
+ /**
15
+ * If this is true it will emit an event at the moment the content with url its clicked
16
+ */
17
+ "navigateViaEvent": boolean;
18
+ /**
19
+ * Post Message event to be sent on navigation via Event
20
+ */
21
+ "postMessageEvent": string;
22
+ /**
23
+ * the links content to be displayed, including titles, url, open target
24
+ */
25
+ "repeaterContent": any;
26
+ }
27
+ interface GeneralFooterTemplate {
28
+ /**
29
+ * If this is present, then the footer will attach the baseurl inside src for all HelperLinks present in the footer (so it will be baseurl + helper_link) - This is needed when the footer is integrated inside an iframe it can’t take the parent host to create the right anchors.
30
+ */
31
+ "baseUrl": string;
32
+ /**
33
+ * custom styling by string content
34
+ */
35
+ "clientStyling": string;
36
+ /**
37
+ * custom styling by href
38
+ */
39
+ "clientStylingUrl": string;
40
+ /**
41
+ * endpoint for data retrieval
42
+ */
43
+ "endpoint": string;
44
+ /**
45
+ * Environment segregation
46
+ */
47
+ "env": string;
48
+ /**
49
+ * the language of the footer
50
+ */
51
+ "language": string;
52
+ /**
53
+ * If this is true it will emit an event at the moment the content with url its clicked
54
+ */
55
+ "navigateViaEvent": string;
56
+ /**
57
+ * Post Message event to be sent on navigation via Event
58
+ */
59
+ "postMessageEvent": string;
60
+ /**
61
+ * which sections should be included in the footer (some have defined attributes)
62
+ */
63
+ "sections": string;
64
+ /**
65
+ * the current session, to be used in order to determine login status (relevant for certain components ex. "panic button")
66
+ */
67
+ "session": string;
68
+ /**
69
+ * User roles
70
+ */
71
+ "userRoles": string;
72
+ /**
73
+ * the id of the current userid, to be used in order to determine login status (relevant for certain components ex. "panic button")
74
+ */
75
+ "userid": string;
76
+ }
77
+ interface ImageList {
78
+ /**
79
+ * If this is true it will emit an event at the moment the content with url its clicked
80
+ */
81
+ "navigateViaEvent": boolean;
82
+ /**
83
+ * Post Message event to be sent on navigation via event
84
+ */
85
+ "postMessageEvent": string;
86
+ /**
87
+ * the links content to be displayed, including titles, url, open target
88
+ */
89
+ "repeaterContent": any;
90
+ }
91
+ interface LinkSectionList {
92
+ /**
93
+ * If this is present, then the footer will attach the baseurl inside src for all HelperLinks present in the footer (so it will be baseurl + helper_link) - This is needed when the footer is integrated inside an iframe it can’t take the parent host to create the right anchors.
94
+ */
95
+ "baseUrl": string;
96
+ /**
97
+ * the language of the footer
98
+ */
99
+ "language": string;
100
+ /**
101
+ * If this is true it will emit an event at the moment the content with url its clicked
102
+ */
103
+ "navigateViaEvent": boolean;
104
+ /**
105
+ * Post Message event to be sent on navigation via event
106
+ */
107
+ "postMessageEvent": string;
108
+ /**
109
+ * the links content to be displayed, including titles, url, open target
110
+ */
111
+ "repeaterContent": any;
112
+ }
113
+ }
114
+ declare global {
115
+ interface HTMLCustomContentSectionElement extends Components.CustomContentSection, HTMLStencilElement {
116
+ }
117
+ var HTMLCustomContentSectionElement: {
118
+ prototype: HTMLCustomContentSectionElement;
119
+ new (): HTMLCustomContentSectionElement;
120
+ };
121
+ interface HTMLGeneralFooterTemplateElement extends Components.GeneralFooterTemplate, HTMLStencilElement {
122
+ }
123
+ var HTMLGeneralFooterTemplateElement: {
124
+ prototype: HTMLGeneralFooterTemplateElement;
125
+ new (): HTMLGeneralFooterTemplateElement;
126
+ };
127
+ interface HTMLImageListElement extends Components.ImageList, HTMLStencilElement {
128
+ }
129
+ var HTMLImageListElement: {
130
+ prototype: HTMLImageListElement;
131
+ new (): HTMLImageListElement;
132
+ };
133
+ interface HTMLLinkSectionListElement extends Components.LinkSectionList, HTMLStencilElement {
134
+ }
135
+ var HTMLLinkSectionListElement: {
136
+ prototype: HTMLLinkSectionListElement;
137
+ new (): HTMLLinkSectionListElement;
138
+ };
139
+ interface HTMLElementTagNameMap {
140
+ "custom-content-section": HTMLCustomContentSectionElement;
141
+ "general-footer-template": HTMLGeneralFooterTemplateElement;
142
+ "image-list": HTMLImageListElement;
143
+ "link-section-list": HTMLLinkSectionListElement;
144
+ }
145
+ }
146
+ declare namespace LocalJSX {
147
+ interface CustomContentSection {
148
+ /**
149
+ * custom HTML content to be rendered
150
+ */
151
+ "customContent"?: string;
152
+ /**
153
+ * If this is true it will emit an event at the moment the content with url its clicked
154
+ */
155
+ "navigateViaEvent"?: boolean;
156
+ /**
157
+ * Post Message event to be sent on navigation via Event
158
+ */
159
+ "postMessageEvent"?: string;
160
+ /**
161
+ * the links content to be displayed, including titles, url, open target
162
+ */
163
+ "repeaterContent"?: any;
164
+ }
165
+ interface GeneralFooterTemplate {
166
+ /**
167
+ * If this is present, then the footer will attach the baseurl inside src for all HelperLinks present in the footer (so it will be baseurl + helper_link) - This is needed when the footer is integrated inside an iframe it can’t take the parent host to create the right anchors.
168
+ */
169
+ "baseUrl"?: string;
170
+ /**
171
+ * custom styling by string content
172
+ */
173
+ "clientStyling"?: string;
174
+ /**
175
+ * custom styling by href
176
+ */
177
+ "clientStylingUrl"?: string;
178
+ /**
179
+ * endpoint for data retrieval
180
+ */
181
+ "endpoint": string;
182
+ /**
183
+ * Environment segregation
184
+ */
185
+ "env"?: string;
186
+ /**
187
+ * the language of the footer
188
+ */
189
+ "language": string;
190
+ /**
191
+ * If this is true it will emit an event at the moment the content with url its clicked
192
+ */
193
+ "navigateViaEvent"?: string;
194
+ /**
195
+ * Post Message event to be sent on navigation via Event
196
+ */
197
+ "postMessageEvent"?: string;
198
+ /**
199
+ * which sections should be included in the footer (some have defined attributes)
200
+ */
201
+ "sections": string;
202
+ /**
203
+ * the current session, to be used in order to determine login status (relevant for certain components ex. "panic button")
204
+ */
205
+ "session"?: string;
206
+ /**
207
+ * User roles
208
+ */
209
+ "userRoles"?: string;
210
+ /**
211
+ * the id of the current userid, to be used in order to determine login status (relevant for certain components ex. "panic button")
212
+ */
213
+ "userid"?: string;
214
+ }
215
+ interface ImageList {
216
+ /**
217
+ * If this is true it will emit an event at the moment the content with url its clicked
218
+ */
219
+ "navigateViaEvent"?: boolean;
220
+ /**
221
+ * Post Message event to be sent on navigation via event
222
+ */
223
+ "postMessageEvent"?: string;
224
+ /**
225
+ * the links content to be displayed, including titles, url, open target
226
+ */
227
+ "repeaterContent"?: any;
228
+ }
229
+ interface LinkSectionList {
230
+ /**
231
+ * If this is present, then the footer will attach the baseurl inside src for all HelperLinks present in the footer (so it will be baseurl + helper_link) - This is needed when the footer is integrated inside an iframe it can’t take the parent host to create the right anchors.
232
+ */
233
+ "baseUrl"?: string;
234
+ /**
235
+ * the language of the footer
236
+ */
237
+ "language": string;
238
+ /**
239
+ * If this is true it will emit an event at the moment the content with url its clicked
240
+ */
241
+ "navigateViaEvent"?: boolean;
242
+ /**
243
+ * Post Message event to be sent on navigation via event
244
+ */
245
+ "postMessageEvent"?: string;
246
+ /**
247
+ * the links content to be displayed, including titles, url, open target
248
+ */
249
+ "repeaterContent"?: any;
250
+ }
251
+ interface IntrinsicElements {
252
+ "custom-content-section": CustomContentSection;
253
+ "general-footer-template": GeneralFooterTemplate;
254
+ "image-list": ImageList;
255
+ "link-section-list": LinkSectionList;
256
+ }
257
+ }
258
+ export { LocalJSX as JSX };
259
+ declare module "@stencil/core" {
260
+ export namespace JSX {
261
+ interface IntrinsicElements {
262
+ "custom-content-section": LocalJSX.CustomContentSection & JSXBase.HTMLAttributes<HTMLCustomContentSectionElement>;
263
+ "general-footer-template": LocalJSX.GeneralFooterTemplate & JSXBase.HTMLAttributes<HTMLGeneralFooterTemplateElement>;
264
+ "image-list": LocalJSX.ImageList & JSXBase.HTMLAttributes<HTMLImageListElement>;
265
+ "link-section-list": LocalJSX.LinkSectionList & JSXBase.HTMLAttributes<HTMLLinkSectionListElement>;
266
+ }
267
+ }
268
+ }
@@ -0,0 +1 @@
1
+ export * from './components';