@luigi-project/container 1.0.0-rc6 → 1.0.0-rc8
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/LuigiCompoundContainer.svelte.d.ts +45 -0
- package/LuigiContainer.svelte.d.ts +44 -2
- package/bundle.js +1 -1
- package/bundle.js.map +1 -1
- package/constants/events.d.ts +85 -85
- package/index.d.ts +4 -4
- package/package.json +1 -1
package/constants/events.d.ts
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
1
|
export namespace Events {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
2
|
+
/**
|
|
3
|
+
* A message emmitted from the Microfrontend when a custom message is sent
|
|
4
|
+
*/
|
|
5
|
+
export const CUSTOM_MESSAGE = 'custom-message';
|
|
6
|
+
/**
|
|
7
|
+
* A message emmitted from the Microfrontend when the context data is sent
|
|
8
|
+
*/
|
|
9
|
+
export const GET_CONTEXT_REQUEST = 'get-context-request';
|
|
10
|
+
/**
|
|
11
|
+
* A message emmitted from the Microfrontend when a navigation request is sent
|
|
12
|
+
*/
|
|
13
|
+
export const NAVIGATION_REQUEST = 'navigation-request';
|
|
14
|
+
/**
|
|
15
|
+
* A message emmitted from the Microfrontend when a request to show an alert is sent
|
|
16
|
+
*/
|
|
17
|
+
export const ALERT_REQUEST = 'show-alert-request';
|
|
18
|
+
/**
|
|
19
|
+
* A message emmitted from the Microfrontend when it is first initialized
|
|
20
|
+
*/
|
|
21
|
+
export const INITIALIZED = 'initialized';
|
|
22
|
+
/**
|
|
23
|
+
* A message emmitted from the Microfrontend to request adding search parameters to the URL
|
|
24
|
+
*/
|
|
25
|
+
export const ADD_SEARCH_PARAMS_REQUEST = 'add-search-params-request';
|
|
26
|
+
/**
|
|
27
|
+
* A message emmitted from the Microfrontend to request adding node parameters to the URL
|
|
28
|
+
*/
|
|
29
|
+
export const ADD_NODE_PARAMS_REQUEST = 'add-node-params-request';
|
|
30
|
+
/**
|
|
31
|
+
* A message emmitted from the Microfrontend when a request to show an confirmation modal is sent
|
|
32
|
+
*/
|
|
33
|
+
export const SHOW_CONFIRMATION_MODAL_REQUEST = 'show-confirmation-modal-request';
|
|
34
|
+
/**
|
|
35
|
+
* A message emmitted from the Microfrontend when a request to show loading indicator is sent
|
|
36
|
+
*/
|
|
37
|
+
export const SHOW_LOADING_INDICATOR_REQUEST = 'show-loading-indicator-request';
|
|
38
|
+
/**
|
|
39
|
+
* A message emmitted from the Microfrontend when a request to hide the loading indicator is sent
|
|
40
|
+
*/
|
|
41
|
+
export const HIDE_LOADING_INDICATOR_REQUEST = 'hide-loading-indicator-request';
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
/**
|
|
44
|
+
* A message emmitted from the Microfrontend when a request to set the current locale is sent
|
|
45
|
+
*/
|
|
46
|
+
export const SET_CURRENT_LOCALE_REQUEST = 'set-current-locale-request';
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
/**
|
|
49
|
+
* A message emmitted from the Microfrontend when a request to modify the local storage is sent
|
|
50
|
+
*/
|
|
51
|
+
export const LOCAL_STORAGE_SET_REQUEST = 'set-storage-request';
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
/**
|
|
54
|
+
* A message emmitted from the Microfrontend when a request to handle an error that happened during the runtime on the microfrontend is sent
|
|
55
|
+
*/
|
|
56
|
+
export const RUNTIME_ERROR_HANDLING_REQUEST = 'runtime-error-handling-request';
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
/**
|
|
59
|
+
* A message emmitted from the Microfrontend when a request to set the anchor of the URL is sent
|
|
60
|
+
*/
|
|
61
|
+
export const SET_ANCHOR_LINK_REQUEST = 'set-anchor-request';
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
/**
|
|
64
|
+
* A message emmitted from the Microfrontend when a request to set third party cookies is sent
|
|
65
|
+
*/
|
|
66
|
+
export const SET_THIRD_PARTY_COOKIES_REQUEST = 'set-third-party-cookies-request';
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
/**
|
|
69
|
+
* A message emmitted from the Microfrontend when a request to navigate back is sent
|
|
70
|
+
*/
|
|
71
|
+
export const BACK_NAVIGATION_REQUEST = 'navigate-back-request';
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
/**
|
|
74
|
+
* A message emmitted from the Microfrontend when a request to receive the current app route is sent
|
|
75
|
+
*/
|
|
76
|
+
export const GET_CURRENT_ROUTE_REQUEST = 'get-current-route-request';
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
/**
|
|
79
|
+
* A message emmitted from the Microfrontend to report that the navigation is completed is sent
|
|
80
|
+
*/
|
|
81
|
+
export const NAVIGATION_COMPLETED_REPORT = 'report-navigation-completed-request';
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
/**
|
|
84
|
+
* A message emmitted from the Microfrontend when a request to update the modal path parameters is sent
|
|
85
|
+
*/
|
|
86
|
+
export const UPDATE_MODAL_PATH_DATA_REQUEST = 'update-modal-path-data-request';
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
/**
|
|
89
|
+
* A message emmitted from the Microfrontend when a request to check on the validity of a path is sent
|
|
90
|
+
*/
|
|
91
|
+
export const CHECK_PATH_EXISTS_REQUEST = 'check-path-exists-request';
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
93
|
+
/**
|
|
94
|
+
* A message emmitted from the Microfrontend when a request to set the 'dirty status' (ex: avoid closing if usaved changes) is sent
|
|
95
|
+
*/
|
|
96
|
+
export const SET_DIRTY_STATUS_REQUEST = 'set-dirty-status-request';
|
|
97
|
+
}
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as LuigiContainer } from
|
|
2
|
-
export { default as LuigiCompoundContainer } from
|
|
3
|
-
import { Events } from
|
|
4
|
-
export default Events;
|
|
1
|
+
export { default as LuigiContainer } from './LuigiContainer.svelte';
|
|
2
|
+
export { default as LuigiCompoundContainer } from './LuigiCompoundContainer.svelte';
|
|
3
|
+
import { Events } from './constants/events';
|
|
4
|
+
export default Events;
|
package/package.json
CHANGED