@@ -7,7 +7,7 @@ export declare interface WebComponentSettings {
7
7
export default class LuigiCompoundContainer extends HTMLElement {
8
8
/**
9
9
* The URL used for the renderer.
10
- *
10
+ *
11
11
* @example <luigi-container viewurl="/index.html"></luigi-container>
12
12
* @example myContainer.viewurl = "/index.html"
13
13
*/
@@ -17,7 +17,7 @@ export default class LuigiCompoundContainer extends HTMLElement {
17
17
* The configuration for the compound microfrontend.
18
18
* Take a look at the [compound parameter](https://docs.luigi-project.io/docs/navigation-parameters-reference/?section=compound) for details.
19
19
* @since 1.0.0
20
- *
20
+ *
21
21
* @example renderer = { use: 'grid', config: { columns: '1fr 1fr 1fr 2fr', layouts: [{maxWidth: 600, columns: '1fr', gap: 0, ...}]}};
22
22
* children = [{ viewUrl: '/main.js', context: { label: 'WC', ...}, layoutConfig: {column: '1 / -1', ...}, eventListeners: [{ source: 'input1', ...}}] }];
23
23
* myContainer.compoundConfig = { renderer, children };
@@ -27,7 +27,7 @@ export default class LuigiCompoundContainer extends HTMLElement {
27
27
/**
28
28
* If set to true defers from initializing the microfronted automatically. In that case init() can be used.
29
29
* @since 1.0.0
30
- *
30
+ *
31
31
* @example <luigi-container viewurl="/index.html" defer-init></luigi-container>
32
32
* @example myContainer.deferInit = true
33
33
*/
@@ -36,8 +36,8 @@ export default class LuigiCompoundContainer extends HTMLElement {
36
36
/**
37
37
*
38
38
* The locale to be passed to the compound micro frontend.
39
- * @since NEXT_RELEASE_CONTAINER
40
- *
39
+ * @since 1.4.0
40
+ *
41
41
* @example <luigi-container locale="en_us"></luigi-container>
42
42
* @example myContainer.locale = "en_us"
43
43
*/
@@ -46,7 +46,7 @@ export default class LuigiCompoundContainer extends HTMLElement {
46
46
/**
47
47
* The parameters to be passed to the compound micro frontend. Will not be passed to the compound children.
48
48
* @since 1.0.0
49
- *
49
+ *
50
50
* @example <luigi-container viewurl="/index.html" node-params='{"node":"param"}'></luigi-container>
51
51
* @example myContainer.nodeParams = {foo: bar}
52
52
*/
@@ -55,7 +55,7 @@ export default class LuigiCompoundContainer extends HTMLElement {
55
55
/**
56
56
* If set to true, the Luigi compound container webcomponent will not use the shadow DOM for rendering.
57
57
* @since 1.2.0
58
- *
58
+ *
59
59
* @example <luigi-container viewurl="/index.html" no-shadow></luigi-container>
60
60
* @example myContainer.noShadow = true
61
61
*/
@@ -64,7 +64,7 @@ export default class LuigiCompoundContainer extends HTMLElement {
64
64
/**
65
65
* The search parameters to be passed to the compound micro frontend.
66
66
* @since 1.0.0
67
- *
67
+ *
68
68
* @example <luigi-container viewurl="/index.html" search-params='{"search":"param"}'></luigi-container>
69
69
* @example myContainer.searchParams = {foo: bar}
70
70
*/
@@ -73,7 +73,7 @@ export default class LuigiCompoundContainer extends HTMLElement {
73
73
/**
74
74
* The path parameters to be passed to the compound micro frontend.
75
75
* @since 1.0.0
76
- *
76
+ *
77
77
* @example <luigi-container viewurl="/index.html" path-params='{"path":"param"}'></luigi-container>
78
78
* @example myContainer.pathParams = {foo: "bar"}
79
79
*/
@@ -82,7 +82,7 @@ export default class LuigiCompoundContainer extends HTMLElement {
82
82
/**
83
83
* The stringified context to be passed to the compound microfrontend.
84
84
* @since 1.0.0
85
- *
85
+ *
86
86
* @example <luigi-container viewUrl="/index.html" context='{"label": "Dashboard"}'></luigi-container>
87
87
* @example myContainer.context = {label: "Dashboard"}
88
88
*/
@@ -91,7 +91,7 @@ export default class LuigiCompoundContainer extends HTMLElement {
91
91
/**
92
92
* The clientPermissions to be passed to the compound micro frontend.
93
93
* @since 1.0.0
94
- *
94
+ *
95
95
* @example <luigi-container viewurl="/index.html" client-permissions='{"permission": "adminGroup"}'></luigi-container>
96
96
* @example myContainer.clientPermissions = {permission: "adminGroup"}
97
97
*/
@@ -100,7 +100,7 @@ export default class LuigiCompoundContainer extends HTMLElement {
100
100
/**
101
101
* The user settings to be passed to the compound micro frontend.
102
102
* @since 1.0.0
103
- *
103
+ *
104
104
* @example <luigi-container viewurl="/index.html" user-settings='{"language": "de", "theme":"sap_horizon"}'></luigi-container>
105
105
* @example myContainer.userSettings = {language: 'de', theme: 'sap_horizon'}
106
106
*/
@@ -109,7 +109,7 @@ export default class LuigiCompoundContainer extends HTMLElement {
109
109
/**
110
110
* The anchor value to be passed to the compound micro frontend.
111
111
* @since 1.0.0
112
- *
112
+ *
113
113
* @example <luigi-container viewurl="/index.html" anchor='#foo'></luigi-container>
114
114
* @example myContainer.anchor = '#foo'
115
115
*/
@@ -118,7 +118,7 @@ export default class LuigiCompoundContainer extends HTMLElement {
118
118
/**
119
119
* The document title value to be passed to the compound micro frontend.
120
120
* @since 1.2.0
121
- *
121
+ *
122
122
* @example <luigi-container viewurl="/index.html" document-title='Luigi App'></luigi-container>
123
123
* @example myContainer.documentTitle = 'Luigi App'
124
124
*/
@@ -128,7 +128,7 @@ export default class LuigiCompoundContainer extends HTMLElement {
128
128
* The hasBack value to be passed to the compound micro frontend.
129
129
* It indicates that there is one or more preserved views. Useful when you need to show a back button.
130
130
* @since 1.2.0
131
- *
131
+ *
132
132
* @example <luigi-container viewurl="/index.html" has-back></luigi-container>
133
133
* @example myContainer.hasBack = true
134
134
*/
@@ -138,7 +138,7 @@ export default class LuigiCompoundContainer extends HTMLElement {
138
138
* The dirty status value to be passed to the compound micro frontend.
139
139
* It's used to indicate that there are unsaved changes when navigating away.
140
140
* @since 1.2.0
141
- *
141
+ *
142
142
* @example <luigi-container viewurl="/index.html" dirty-status></luigi-container>
143
143
* @example myContainer.dirtyStatus = true
144
144
*/
@@ -152,36 +152,36 @@ export default class LuigiCompoundContainer extends HTMLElement {
152
152
* @param {string } WebComponentSettings.tagName: tag name where web component is added to DOM.
153
153
* @param {string } string must be a stringified JSON object from type `WebComponentSettings`.
154
154
* @since 1.0.0
155
- *
155
+ *
156
156
* @example <luigi-container webcomponent="{ type: 'module', selfRegistered: true, tagName: 'my-webcomponent'}"></luigi-container>
157
157
* @example myContainer.webcomponent = { type: 'module', selfRegistered: true, tagName: 'my-webcomponent'}
158
158
*/
159
159
webcomponent : boolean | WebComponentSettings | string ;
160
160
161
161
/**
162
162
* If set to true, skips handshake and ready event is fired immediately.
163
- * @since NEXT_RELEASE_CONTAINER
164
- *
163
+ * @since 1.4.0
164
+ *
165
165
* @example <luigi-container viewurl="/index.html" skipInitCheck></luigi-container>
166
166
* @example myContainer.skipInitCheck = true
167
167
*/
168
168
skipInitCheck : boolean ;
169
169
170
170
/**
171
171
* The list of active feature toggles to be passed to the compound microfrontend.
172
- * @since NEXT_RELEASE_CONTAINER
173
- *
174
- *
172
+ * @since 1.4.0
173
+ *
174
+ *
175
175
* @example <luigi-container viewUrl="/index.html" active-feature-toggle-list='["enable-foo", "allow-bar"]'></luigi-container>
176
176
* @example myContainer.activeFeatureToggleList = ["enable-foo", "allow-bar"]
177
177
*/
178
178
activeFeatureToggleList : string [ ] ;
179
179
180
180
/**
181
181
* The theme to be passed to the compound microfrontend.
182
- * @since NEXT_RELEASE_CONTAINER
183
- *
184
- *
182
+ * @since 1.4.0
183
+ *
184
+ *
185
185
* @example <luigi-container viewUrl="/index.html" theme='sap_horizon'></luigi-container>
186
186
* @example myContainer.theme = 'sap_horizon'
187
187
*/
0 commit comments