@equinor/fusion-framework-module-widget 9.0.2 → 9.0.4
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/CHANGELOG.md +185 -162
- package/dist/esm/Widget.js +3 -2
- package/dist/esm/Widget.js.map +1 -1
- package/dist/esm/WidgetModuleConfigurator.js.map +1 -1
- package/dist/esm/WidgetModuleProvider.js.map +1 -1
- package/dist/esm/enable-widget-module.js.map +1 -1
- package/dist/esm/errors.js.map +1 -1
- package/dist/esm/module.js.map +1 -1
- package/dist/esm/state/actions.js.map +1 -1
- package/dist/esm/state/create-reducer.js.map +1 -1
- package/dist/esm/state/create-state.js.map +1 -1
- package/dist/esm/state/flows.js.map +1 -1
- package/dist/esm/utils.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/Widget.d.ts +5 -5
- package/dist/types/WidgetModuleConfigurator.d.ts +1 -1
- package/dist/types/WidgetModuleProvider.d.ts +4 -4
- package/dist/types/enable-widget-module.d.ts +1 -1
- package/dist/types/module.d.ts +3 -3
- package/dist/types/state/actions.d.ts +2 -2
- package/dist/types/state/create-reducer.d.ts +1 -1
- package/dist/types/state/create-state.d.ts +2 -2
- package/dist/types/state/flows.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types/utils.d.ts +2 -2
- package/dist/types/version.d.ts +1 -1
- package/package.json +13 -13
- package/src/Widget.ts +295 -294
- package/src/WidgetModuleConfigurator.ts +45 -45
- package/src/WidgetModuleProvider.ts +144 -144
- package/src/enable-widget-module.ts +10 -10
- package/src/errors.ts +52 -56
- package/src/events.ts +51 -51
- package/src/module.ts +23 -23
- package/src/state/actions.ts +56 -56
- package/src/state/create-reducer.ts +33 -33
- package/src/state/create-state.ts +10 -10
- package/src/state/flows.ts +57 -57
- package/src/types.ts +38 -38
- package/src/utils.ts +44 -44
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,111 +1,134 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2863](https://github.com/equinor/fusion-framework/pull/2863) [`11e18fd`](https://github.com/equinor/fusion-framework/commit/11e18fd755e65d1bbbb9b98638fdb9a98c2c23ab) Thanks [@dependabot](https://github.com/apps/dependabot)! - Added check to `Widget.getConfig` to ensure that `undefined` config should not be emitted,
|
|
8
|
+
since the return type is `Observable<WidgetConfig>`,
|
|
9
|
+
so should not be breaking changed.
|
|
10
|
+
All though this might has been emitting undefined before, this might break some code that relies on this behavior.
|
|
11
|
+
|
|
12
|
+
## 9.0.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#2848](https://github.com/equinor/fusion-framework/pull/2848) [`dcd2fb1`](https://github.com/equinor/fusion-framework/commit/dcd2fb1394e175d0cc2a4289ed3ede8e0271d67d) Thanks [@odinr](https://github.com/odinr)! - Refactored imports to use `type` when importing types from a module, to conform with the `useImportType` rule in Biome.
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`ba5d12e`](https://github.com/equinor/fusion-framework/commit/ba5d12eba0a38db412353765e997d02c1fbb478d), [`811f1a0`](https://github.com/equinor/fusion-framework/commit/811f1a0139ff4d1b0c3fba1ec2b77cc84ba080d1), [`2fe6241`](https://github.com/equinor/fusion-framework/commit/2fe624186640c3b30079c7d76f0e3af65f64f5d2), [`dcd2fb1`](https://github.com/equinor/fusion-framework/commit/dcd2fb1394e175d0cc2a4289ed3ede8e0271d67d)]:
|
|
19
|
+
- @equinor/fusion-framework-module@4.3.6
|
|
20
|
+
- @equinor/fusion-framework-module-http@6.2.2
|
|
21
|
+
- @equinor/fusion-observable@8.4.5
|
|
22
|
+
- @equinor/fusion-query@5.2.2
|
|
23
|
+
- @equinor/fusion-framework-module-service-discovery@8.0.7
|
|
24
|
+
- @equinor/fusion-framework-module-event@4.3.1
|
|
25
|
+
|
|
3
26
|
## 9.0.2
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
6
29
|
|
|
7
30
|
- Updated dependencies []:
|
|
8
|
-
|
|
9
|
-
|
|
31
|
+
- @equinor/fusion-framework-module-http@6.2.1
|
|
32
|
+
- @equinor/fusion-framework-module-service-discovery@8.0.6
|
|
10
33
|
|
|
11
34
|
## 9.0.1
|
|
12
35
|
|
|
13
36
|
### Patch Changes
|
|
14
37
|
|
|
15
38
|
- Updated dependencies [[`7f4a381`](https://github.com/equinor/fusion-framework/commit/7f4a381ee3594a8cc1c77f0c13c1ba70223d8bf1)]:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
39
|
+
- @equinor/fusion-observable@8.4.4
|
|
40
|
+
- @equinor/fusion-query@5.2.1
|
|
41
|
+
- @equinor/fusion-framework-module-service-discovery@8.0.5
|
|
19
42
|
|
|
20
43
|
## 9.0.0
|
|
21
44
|
|
|
22
45
|
### Patch Changes
|
|
23
46
|
|
|
24
47
|
- Updated dependencies [[`a551b01`](https://github.com/equinor/fusion-framework/commit/a551b01d552b9b9770d1f5132803f92cc91d4bc6)]:
|
|
25
|
-
|
|
48
|
+
- @equinor/fusion-framework-module-event@4.3.0
|
|
26
49
|
|
|
27
50
|
## 8.0.3
|
|
28
51
|
|
|
29
52
|
### Patch Changes
|
|
30
53
|
|
|
31
54
|
- Updated dependencies [[`a965fbe`](https://github.com/equinor/fusion-framework/commit/a965fbeb9544b74f7d7b4aaa1e57c50d2ae4a564)]:
|
|
32
|
-
|
|
33
|
-
|
|
55
|
+
- @equinor/fusion-query@5.2.0
|
|
56
|
+
- @equinor/fusion-framework-module-service-discovery@8.0.4
|
|
34
57
|
|
|
35
58
|
## 8.0.2
|
|
36
59
|
|
|
37
60
|
### Patch Changes
|
|
38
61
|
|
|
39
62
|
- Updated dependencies [[`30767a2`](https://github.com/equinor/fusion-framework/commit/30767a2f72b54c2a3ea98ce08186017e34ae16bd)]:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
63
|
+
- @equinor/fusion-observable@8.4.3
|
|
64
|
+
- @equinor/fusion-query@5.1.5
|
|
65
|
+
- @equinor/fusion-framework-module-service-discovery@8.0.3
|
|
43
66
|
|
|
44
67
|
## 8.0.1
|
|
45
68
|
|
|
46
69
|
### Patch Changes
|
|
47
70
|
|
|
48
71
|
- Updated dependencies [[`21db01b`](https://github.com/equinor/fusion-framework/commit/21db01bbe5113b07aaa715d554378561e1a5223d)]:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
72
|
+
- @equinor/fusion-observable@8.4.2
|
|
73
|
+
- @equinor/fusion-query@5.1.4
|
|
74
|
+
- @equinor/fusion-framework-module-service-discovery@8.0.2
|
|
52
75
|
|
|
53
76
|
## 8.0.0
|
|
54
77
|
|
|
55
78
|
### Patch Changes
|
|
56
79
|
|
|
57
80
|
- Updated dependencies [[`73af73e`](https://github.com/equinor/fusion-framework/commit/73af73e5582ca27b132210af8ba308b80e036d51), [`73af73e`](https://github.com/equinor/fusion-framework/commit/73af73e5582ca27b132210af8ba308b80e036d51), [`73af73e`](https://github.com/equinor/fusion-framework/commit/73af73e5582ca27b132210af8ba308b80e036d51), [`73af73e`](https://github.com/equinor/fusion-framework/commit/73af73e5582ca27b132210af8ba308b80e036d51)]:
|
|
58
|
-
|
|
59
|
-
|
|
81
|
+
- @equinor/fusion-framework-module-http@6.2.0
|
|
82
|
+
- @equinor/fusion-framework-module-service-discovery@8.0.1
|
|
60
83
|
|
|
61
84
|
## 7.0.0
|
|
62
85
|
|
|
63
86
|
### Patch Changes
|
|
64
87
|
|
|
65
88
|
- Updated dependencies [[`c776845`](https://github.com/equinor/fusion-framework/commit/c776845e753acf4a0bceda1c59d31e5939c44c31), [`2644b3d`](https://github.com/equinor/fusion-framework/commit/2644b3d63939aede736a3b1950db32dbd487877d), [`15152e4`](https://github.com/equinor/fusion-framework/commit/15152e413c054a5f57af93211a470c98c7696caa)]:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
89
|
+
- @equinor/fusion-framework-module-http@6.1.0
|
|
90
|
+
- @equinor/fusion-framework-module@4.3.5
|
|
91
|
+
- @equinor/fusion-framework-module-service-discovery@8.0.0
|
|
92
|
+
- @equinor/fusion-framework-module-event@4.2.4
|
|
70
93
|
|
|
71
94
|
## 6.0.4
|
|
72
95
|
|
|
73
96
|
### Patch Changes
|
|
74
97
|
|
|
75
98
|
- Updated dependencies [[`f7c143d`](https://github.com/equinor/fusion-framework/commit/f7c143d44a88cc25c377d3ce8c3d1744114b891d)]:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
99
|
+
- @equinor/fusion-observable@8.4.1
|
|
100
|
+
- @equinor/fusion-query@5.1.3
|
|
101
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.13
|
|
79
102
|
|
|
80
103
|
## 6.0.3
|
|
81
104
|
|
|
82
105
|
### Patch Changes
|
|
83
106
|
|
|
84
107
|
- Updated dependencies [[`75d676d`](https://github.com/equinor/fusion-framework/commit/75d676d2c7919f30e036b5ae97c4d814c569aa87), [`be2e925`](https://github.com/equinor/fusion-framework/commit/be2e92532f4a4b8f0b2c9e12d4adf942d380423e), [`00d5e9c`](https://github.com/equinor/fusion-framework/commit/00d5e9c632876742c3d2a74efea2f126a0a169d9)]:
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
108
|
+
- @equinor/fusion-framework-module@4.3.4
|
|
109
|
+
- @equinor/fusion-query@5.1.2
|
|
110
|
+
- @equinor/fusion-framework-module-event@4.2.3
|
|
111
|
+
- @equinor/fusion-framework-module-http@6.0.3
|
|
112
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.12
|
|
90
113
|
|
|
91
114
|
## 6.0.2
|
|
92
115
|
|
|
93
116
|
### Patch Changes
|
|
94
117
|
|
|
95
118
|
- Updated dependencies [[`bbde502`](https://github.com/equinor/fusion-framework/commit/bbde502e638f459379f63968febbc97ebe282b76), [`decb9e9`](https://github.com/equinor/fusion-framework/commit/decb9e9e3d1bb1b0577b729a1e7ae812afdd83cb), [`e092f75`](https://github.com/equinor/fusion-framework/commit/e092f7599f1f2e0e0676a9f10565299272813594), [`a1524e9`](https://github.com/equinor/fusion-framework/commit/a1524e9c4d83778da3db42dbcf99908b776a0592)]:
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
119
|
+
- @equinor/fusion-observable@8.4.0
|
|
120
|
+
- @equinor/fusion-framework-module-http@6.0.2
|
|
121
|
+
- @equinor/fusion-query@5.1.1
|
|
122
|
+
- @equinor/fusion-framework-module@4.3.3
|
|
123
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.11
|
|
124
|
+
- @equinor/fusion-framework-module-event@4.2.2
|
|
102
125
|
|
|
103
126
|
## 6.0.1
|
|
104
127
|
|
|
105
128
|
### Patch Changes
|
|
106
129
|
|
|
107
130
|
- Updated dependencies [[`736ef31`](https://github.com/equinor/fusion-framework/commit/736ef310ee101738f9022d581a2b3189b30a2646)]:
|
|
108
|
-
|
|
131
|
+
- @equinor/fusion-framework-module-event@4.2.1
|
|
109
132
|
|
|
110
133
|
## 6.0.0
|
|
111
134
|
|
|
@@ -115,54 +138,54 @@
|
|
|
115
138
|
|
|
116
139
|
- [#2320](https://github.com/equinor/fusion-framework/pull/2320) [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee) Thanks [@odinr](https://github.com/odinr)! - Removed the `removeComments` option from the `tsconfig.base.json` file.
|
|
117
140
|
|
|
118
|
-
|
|
141
|
+
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
119
142
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
143
|
+
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
144
|
+
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
145
|
+
3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
|
|
123
146
|
|
|
124
|
-
|
|
147
|
+
No action is required from consumers of the library. This change affects the build process and doesn't introduce any breaking changes or new features.
|
|
125
148
|
|
|
126
|
-
|
|
149
|
+
Before:
|
|
127
150
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
151
|
+
```json
|
|
152
|
+
{
|
|
153
|
+
"compilerOptions": {
|
|
154
|
+
"module": "ES2022",
|
|
155
|
+
"target": "ES6",
|
|
156
|
+
"incremental": true,
|
|
157
|
+
"removeComments": true,
|
|
158
|
+
"preserveConstEnums": true,
|
|
159
|
+
"sourceMap": true,
|
|
160
|
+
"moduleResolution": "node"
|
|
139
161
|
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
162
|
+
}
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
After:
|
|
166
|
+
|
|
167
|
+
```json
|
|
168
|
+
{
|
|
169
|
+
"compilerOptions": {
|
|
170
|
+
"module": "ES2022",
|
|
171
|
+
"target": "ES6",
|
|
172
|
+
"incremental": true,
|
|
173
|
+
"preserveConstEnums": true,
|
|
174
|
+
"sourceMap": true,
|
|
175
|
+
"moduleResolution": "node"
|
|
154
176
|
}
|
|
155
|
-
|
|
177
|
+
}
|
|
178
|
+
```
|
|
156
179
|
|
|
157
|
-
|
|
180
|
+
This change ensures that comments are preserved in the compiled output, potentially improving the development and debugging experience for users of the Fusion Framework.
|
|
158
181
|
|
|
159
182
|
- Updated dependencies [[`2f74edc`](https://github.com/equinor/fusion-framework/commit/2f74edcd4a3ea2b87d69f0fd63492145c3c01663), [`5e20ce1`](https://github.com/equinor/fusion-framework/commit/5e20ce17af709f0443b7110bfc952ff8d8d81dee), [`788d0b9`](https://github.com/equinor/fusion-framework/commit/788d0b93edc25e5b682d88c58614560c204c1af9), [`86d55b8`](https://github.com/equinor/fusion-framework/commit/86d55b8d27a572f3f62170b1e72aceda54f955e1), [`788d0b9`](https://github.com/equinor/fusion-framework/commit/788d0b93edc25e5b682d88c58614560c204c1af9), [`788d0b9`](https://github.com/equinor/fusion-framework/commit/788d0b93edc25e5b682d88c58614560c204c1af9), [`b628e90`](https://github.com/equinor/fusion-framework/commit/b628e90500b62e0185c09eb665ce31025bc9b541), [`29ff796`](https://github.com/equinor/fusion-framework/commit/29ff796ebb3a643c604e4153b6798bde5992363c), [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee), [`5e20ce1`](https://github.com/equinor/fusion-framework/commit/5e20ce17af709f0443b7110bfc952ff8d8d81dee)]:
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
183
|
+
- @equinor/fusion-framework-module@4.3.2
|
|
184
|
+
- @equinor/fusion-query@5.1.0
|
|
185
|
+
- @equinor/fusion-framework-module-http@6.0.1
|
|
186
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.10
|
|
187
|
+
- @equinor/fusion-observable@8.3.3
|
|
188
|
+
- @equinor/fusion-framework-module-event@4.2.0
|
|
166
189
|
|
|
167
190
|
## 5.0.1
|
|
168
191
|
|
|
@@ -170,91 +193,91 @@
|
|
|
170
193
|
|
|
171
194
|
- [#2235](https://github.com/equinor/fusion-framework/pull/2235) [`97e41a5`](https://github.com/equinor/fusion-framework/commit/97e41a55d05644b6684c6cb165b65b115bd416eb) Thanks [@odinr](https://github.com/odinr)! - - **Refactored**: The `actionBaseType` function has been renamed to `getBaseType` and its implementation has been updated.
|
|
172
195
|
|
|
173
|
-
|
|
196
|
+
- **Added**: New utility types and functions for handling action types and payloads in a more type-safe manner.
|
|
174
197
|
|
|
175
198
|
- [#2248](https://github.com/equinor/fusion-framework/pull/2248) [`da9dd83`](https://github.com/equinor/fusion-framework/commit/da9dd83c9352def5365b6c962dc8443589ac9526) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - #2235 renamed a method and changed type. This PR forgot to change to the correct param when using this method. Fixes typo - update to use actions `type` in the reducer.
|
|
176
199
|
|
|
177
200
|
- Updated dependencies [[`97e41a5`](https://github.com/equinor/fusion-framework/commit/97e41a55d05644b6684c6cb165b65b115bd416eb)]:
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
201
|
+
- @equinor/fusion-observable@8.3.2
|
|
202
|
+
- @equinor/fusion-query@5.0.5
|
|
203
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.9
|
|
181
204
|
|
|
182
205
|
## 5.0.0
|
|
183
206
|
|
|
184
207
|
### Patch Changes
|
|
185
208
|
|
|
186
209
|
- Updated dependencies [[`1e60919`](https://github.com/equinor/fusion-framework/commit/1e60919e83fb65528c88f604d7bd43299ec412e1), [`1681940`](https://github.com/equinor/fusion-framework/commit/16819401db191321637fb2a17390abd98738c103), [`ba2379b`](https://github.com/equinor/fusion-framework/commit/ba2379b177f23ccc023894e36e50d7fc56c929c8), [`72f48ec`](https://github.com/equinor/fusion-framework/commit/72f48eccc7262f6c419c60cc32f0dc829601ceab)]:
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
210
|
+
- @equinor/fusion-framework-module-http@6.0.0
|
|
211
|
+
- @equinor/fusion-query@5.0.4
|
|
212
|
+
- @equinor/fusion-observable@8.3.1
|
|
213
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.8
|
|
191
214
|
|
|
192
215
|
## 4.0.8
|
|
193
216
|
|
|
194
217
|
### Patch Changes
|
|
195
218
|
|
|
196
219
|
- Updated dependencies [[`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`9a91bb7`](https://github.com/equinor/fusion-framework/commit/9a91bb737d3452e697c047c0f5c7caa2adfd535d), [`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`6a81125`](https://github.com/equinor/fusion-framework/commit/6a81125ca856bbddbd1ec9e66a30e887cef93f66), [`cd737c2`](https://github.com/equinor/fusion-framework/commit/cd737c2f916747965ece46ed6f33fdadb776c90b)]:
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
220
|
+
- @equinor/fusion-framework-module@4.3.1
|
|
221
|
+
- @equinor/fusion-framework-module-event@4.1.2
|
|
222
|
+
- @equinor/fusion-query@5.0.3
|
|
223
|
+
- @equinor/fusion-framework-module-http@5.2.3
|
|
224
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.7
|
|
202
225
|
|
|
203
226
|
## 4.0.7
|
|
204
227
|
|
|
205
228
|
### Patch Changes
|
|
206
229
|
|
|
207
230
|
- Updated dependencies [[`bd3d3e1`](https://github.com/equinor/fusion-framework/commit/bd3d3e165b3cbcef8f2c7b3219d21387731e5995)]:
|
|
208
|
-
|
|
209
|
-
|
|
231
|
+
- @equinor/fusion-query@5.0.2
|
|
232
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.6
|
|
210
233
|
|
|
211
234
|
## 4.0.6
|
|
212
235
|
|
|
213
236
|
### Patch Changes
|
|
214
237
|
|
|
215
238
|
- Updated dependencies [[`491c2e0`](https://github.com/equinor/fusion-framework/commit/491c2e05a2383dc7aa310f11ba6f7325a69e7197)]:
|
|
216
|
-
|
|
217
|
-
|
|
239
|
+
- @equinor/fusion-query@5.0.1
|
|
240
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.5
|
|
218
241
|
|
|
219
242
|
## 4.0.5
|
|
220
243
|
|
|
221
244
|
### Patch Changes
|
|
222
245
|
|
|
223
246
|
- Updated dependencies [[`b9c1643`](https://github.com/equinor/fusion-framework/commit/b9c164337d984e760d4701d1c534b14cb52aa7e2), [`b9c1643`](https://github.com/equinor/fusion-framework/commit/b9c164337d984e760d4701d1c534b14cb52aa7e2), [`b9c1643`](https://github.com/equinor/fusion-framework/commit/b9c164337d984e760d4701d1c534b14cb52aa7e2)]:
|
|
224
|
-
|
|
225
|
-
|
|
247
|
+
- @equinor/fusion-query@5.0.0
|
|
248
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.4
|
|
226
249
|
|
|
227
250
|
## 4.0.4
|
|
228
251
|
|
|
229
252
|
### Patch Changes
|
|
230
253
|
|
|
231
254
|
- Updated dependencies [[`fab2d22`](https://github.com/equinor/fusion-framework/commit/fab2d22f56772c02b1c1e5688cea1dd376edfcb3)]:
|
|
232
|
-
|
|
233
|
-
|
|
255
|
+
- @equinor/fusion-framework-module-http@5.2.2
|
|
256
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.3
|
|
234
257
|
|
|
235
258
|
## 4.0.3
|
|
236
259
|
|
|
237
260
|
### Patch Changes
|
|
238
261
|
|
|
239
262
|
- Updated dependencies [[`572a199`](https://github.com/equinor/fusion-framework/commit/572a199b8b3070af16d76238aa30d7aaf36a115a), [`f5e4090`](https://github.com/equinor/fusion-framework/commit/f5e4090fa285db8dc10e09b450cee5767437d883)]:
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
263
|
+
- @equinor/fusion-observable@8.3.0
|
|
264
|
+
- @equinor/fusion-query@4.2.0
|
|
265
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.2
|
|
243
266
|
|
|
244
267
|
## 4.0.2
|
|
245
268
|
|
|
246
269
|
### Patch Changes
|
|
247
270
|
|
|
248
271
|
- Updated dependencies [[`4af517f`](https://github.com/equinor/fusion-framework/commit/4af517f107f960aa1dc7459451d99e2e83d350ee), [`4af517f`](https://github.com/equinor/fusion-framework/commit/4af517f107f960aa1dc7459451d99e2e83d350ee)]:
|
|
249
|
-
|
|
250
|
-
|
|
272
|
+
- @equinor/fusion-framework-module-http@5.2.1
|
|
273
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.1
|
|
251
274
|
|
|
252
275
|
## 4.0.1
|
|
253
276
|
|
|
254
277
|
### Patch Changes
|
|
255
278
|
|
|
256
279
|
- Updated dependencies [[`3d068b5`](https://github.com/equinor/fusion-framework/commit/3d068b5a7b214b62fcae5546f08830ea90f872dc)]:
|
|
257
|
-
|
|
280
|
+
- @equinor/fusion-framework-module-event@4.1.1
|
|
258
281
|
|
|
259
282
|
## 4.0.0
|
|
260
283
|
|
|
@@ -265,74 +288,74 @@
|
|
|
265
288
|
### Patch Changes
|
|
266
289
|
|
|
267
290
|
- Updated dependencies [[`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904), [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904), [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904)]:
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
291
|
+
- @equinor/fusion-framework-module@4.3.0
|
|
292
|
+
- @equinor/fusion-framework-module-service-discovery@7.1.0
|
|
293
|
+
- @equinor/fusion-observable@8.2.0
|
|
294
|
+
- @equinor/fusion-framework-module-event@4.1.0
|
|
295
|
+
- @equinor/fusion-framework-module-http@5.2.0
|
|
296
|
+
- @equinor/fusion-query@4.1.0
|
|
274
297
|
|
|
275
298
|
## 3.0.0
|
|
276
299
|
|
|
277
300
|
### Major Changes
|
|
278
301
|
|
|
279
302
|
- [#1746](https://github.com/equinor/fusion-framework/pull/1746) [`7a70bfb`](https://github.com/equinor/fusion-framework/commit/7a70bfb6674c5cf8624ce090e318239a41c8fb86) Thanks [@Noggling](https://github.com/Noggling)! - Widget has had a complete makeover all from the loading Component to the Module itself.
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
303
|
+
- adding events to widget module some include `onWidgetInitialized` , `onWidgetInitializeFailure` and `onWidgetScriptLoaded` and more.
|
|
304
|
+
- Enabling for multiple widget loading.
|
|
305
|
+
- Complex overhaul on the widget configuration utilizing th new BaseConfigBuilder class.
|
|
306
|
+
- Now able to configure baseImport url and widgetClient
|
|
307
|
+
- New widget component for loading of widgets
|
|
308
|
+
- Updated documentation
|
|
286
309
|
|
|
287
310
|
## 2.0.10
|
|
288
311
|
|
|
289
312
|
### Patch Changes
|
|
290
313
|
|
|
291
314
|
- Updated dependencies [[`152cf73`](https://github.com/equinor/fusion-framework/commit/152cf73d39eb32ccbaddaa6941e315c437c4972d)]:
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
315
|
+
- @equinor/fusion-framework-module@4.2.7
|
|
316
|
+
- @equinor/fusion-framework-module-event@4.0.8
|
|
317
|
+
- @equinor/fusion-framework-module-http@5.1.6
|
|
318
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.20
|
|
296
319
|
|
|
297
320
|
## 2.0.9
|
|
298
321
|
|
|
299
322
|
### Patch Changes
|
|
300
323
|
|
|
301
324
|
- Updated dependencies []:
|
|
302
|
-
|
|
303
|
-
|
|
325
|
+
- @equinor/fusion-query@4.0.6
|
|
326
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.19
|
|
304
327
|
|
|
305
328
|
## 2.0.8
|
|
306
329
|
|
|
307
330
|
### Patch Changes
|
|
308
331
|
|
|
309
332
|
- Updated dependencies []:
|
|
310
|
-
|
|
311
|
-
|
|
333
|
+
- @equinor/fusion-framework-module-http@5.1.5
|
|
334
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.18
|
|
312
335
|
|
|
313
336
|
## 2.0.7
|
|
314
337
|
|
|
315
338
|
### Patch Changes
|
|
316
339
|
|
|
317
340
|
- Updated dependencies [[`1e4ba77`](https://github.com/equinor/fusion-framework/commit/1e4ba7707d3ce5cfd9c8d6673f760523aa47a45e)]:
|
|
318
|
-
|
|
319
|
-
|
|
341
|
+
- @equinor/fusion-framework-module-http@5.1.4
|
|
342
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.17
|
|
320
343
|
|
|
321
344
|
## 2.0.6
|
|
322
345
|
|
|
323
346
|
### Patch Changes
|
|
324
347
|
|
|
325
348
|
- Updated dependencies [[`0af3540`](https://github.com/equinor/fusion-framework/commit/0af3540340bac85a19ca3a8ec4e0ccd42b3090ee)]:
|
|
326
|
-
|
|
327
|
-
|
|
349
|
+
- @equinor/fusion-framework-module-http@5.1.3
|
|
350
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.16
|
|
328
351
|
|
|
329
352
|
## 2.0.5
|
|
330
353
|
|
|
331
354
|
### Patch Changes
|
|
332
355
|
|
|
333
356
|
- Updated dependencies []:
|
|
334
|
-
|
|
335
|
-
|
|
357
|
+
- @equinor/fusion-query@4.0.5
|
|
358
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.15
|
|
336
359
|
|
|
337
360
|
## 2.0.4
|
|
338
361
|
|
|
@@ -341,27 +364,27 @@
|
|
|
341
364
|
- [#1595](https://github.com/equinor/fusion-framework/pull/1595) [`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125) Thanks [@Gustav-Eikaas](https://github.com/Gustav-Eikaas)! - support for module resolution NodeNext & Bundler
|
|
342
365
|
|
|
343
366
|
- Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
367
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.14
|
|
368
|
+
- @equinor/fusion-framework-module@4.2.6
|
|
369
|
+
- @equinor/fusion-framework-module-http@5.1.2
|
|
370
|
+
- @equinor/fusion-query@4.0.4
|
|
371
|
+
- @equinor/fusion-framework-module-event@4.0.7
|
|
349
372
|
|
|
350
373
|
## 2.0.3
|
|
351
374
|
|
|
352
375
|
### Patch Changes
|
|
353
376
|
|
|
354
377
|
- Updated dependencies [[`446b63ce`](https://github.com/equinor/fusion-framework/commit/446b63ce44b59a3aaab4399c0d877d3a1b560a0e)]:
|
|
355
|
-
|
|
356
|
-
|
|
378
|
+
- @equinor/fusion-query@4.0.3
|
|
379
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.13
|
|
357
380
|
|
|
358
381
|
## 2.0.2
|
|
359
382
|
|
|
360
383
|
### Patch Changes
|
|
361
384
|
|
|
362
385
|
- Updated dependencies [[`7ad31761`](https://github.com/equinor/fusion-framework/commit/7ad3176102f92da108b67ede6fdf29b76149bed9)]:
|
|
363
|
-
|
|
364
|
-
|
|
386
|
+
- @equinor/fusion-query@4.0.2
|
|
387
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.12
|
|
365
388
|
|
|
366
389
|
## 2.0.1
|
|
367
390
|
|
|
@@ -370,46 +393,46 @@
|
|
|
370
393
|
- [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
|
|
371
394
|
|
|
372
395
|
- Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
396
|
+
- @equinor/fusion-framework-module-event@4.0.6
|
|
397
|
+
- @equinor/fusion-framework-module-http@5.1.1
|
|
398
|
+
- @equinor/fusion-framework-module@4.2.5
|
|
399
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.11
|
|
400
|
+
- @equinor/fusion-query@4.0.1
|
|
378
401
|
|
|
379
402
|
## 2.0.0
|
|
380
403
|
|
|
381
404
|
### Patch Changes
|
|
382
405
|
|
|
383
406
|
- Updated dependencies [[`8e9e34a0`](https://github.com/equinor/fusion-framework/commit/8e9e34a06a6905d092ad8ca3f9330a3699da20fa), [`ebcabd0e`](https://github.com/equinor/fusion-framework/commit/ebcabd0e6945e1420a0a9a7d82bd9255da1b8578), [`8739a5a6`](https://github.com/equinor/fusion-framework/commit/8739a5a65d8aaa46ce9ef56cce013efeeb006e8a)]:
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
407
|
+
- @equinor/fusion-framework-module-http@5.1.0
|
|
408
|
+
- @equinor/fusion-query@4.0.0
|
|
409
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.10
|
|
387
410
|
|
|
388
411
|
## 1.0.9
|
|
389
412
|
|
|
390
413
|
### Patch Changes
|
|
391
414
|
|
|
392
415
|
- Updated dependencies [[`e539e606`](https://github.com/equinor/fusion-framework/commit/e539e606d04bd8b7dc0c0bfed7cd4a7731996936)]:
|
|
393
|
-
|
|
416
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.9
|
|
394
417
|
|
|
395
418
|
## 1.0.8
|
|
396
419
|
|
|
397
420
|
### Patch Changes
|
|
398
421
|
|
|
399
422
|
- Updated dependencies [[`9076a498`](https://github.com/equinor/fusion-framework/commit/9076a49876e7a414a27557b7fb9095a67fe3a57f)]:
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
423
|
+
- @equinor/fusion-framework-module@4.2.4
|
|
424
|
+
- @equinor/fusion-query@3.0.7
|
|
425
|
+
- @equinor/fusion-framework-module-event@4.0.5
|
|
426
|
+
- @equinor/fusion-framework-module-http@5.0.6
|
|
427
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.8
|
|
405
428
|
|
|
406
429
|
## 1.0.7
|
|
407
430
|
|
|
408
431
|
### Patch Changes
|
|
409
432
|
|
|
410
433
|
- Updated dependencies [[`066d843c`](https://github.com/equinor/fusion-framework/commit/066d843c88cb974150f23f4fb9e7d0b066c93594)]:
|
|
411
|
-
|
|
412
|
-
|
|
434
|
+
- @equinor/fusion-query@3.0.6
|
|
435
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.7
|
|
413
436
|
|
|
414
437
|
## 1.0.6
|
|
415
438
|
|
|
@@ -417,18 +440,18 @@
|
|
|
417
440
|
|
|
418
441
|
- [#1109](https://github.com/equinor/fusion-framework/pull/1109) [`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862) Thanks [@odinr](https://github.com/odinr)! - Change packaged manager from yarn to pnpm
|
|
419
442
|
|
|
420
|
-
|
|
443
|
+
conflicts of `@types/react` made random outcomes when using `yarn`
|
|
421
444
|
|
|
422
|
-
|
|
445
|
+
this change should not affect consumer of the packages, but might conflict dependent on local package manager.
|
|
423
446
|
|
|
424
447
|
- [#1145](https://github.com/equinor/fusion-framework/pull/1145) [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump rxjs from 7.5.7 to [7.8.1](https://github.com/ReactiveX/rxjs/blob/7.8.1/CHANGELOG.md)
|
|
425
448
|
|
|
426
449
|
- Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`2dccccd1`](https://github.com/equinor/fusion-framework/commit/2dccccd124fbe3cdde2132c29c27d3da9fc6f1f5), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272), [`52d98701`](https://github.com/equinor/fusion-framework/commit/52d98701627e93c7284c0b9a5bfd8dab1da43bd3)]:
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
450
|
+
- @equinor/fusion-framework-module-service-discovery@7.0.6
|
|
451
|
+
- @equinor/fusion-framework-module@4.2.3
|
|
452
|
+
- @equinor/fusion-framework-module-event@4.0.4
|
|
453
|
+
- @equinor/fusion-framework-module-http@5.0.5
|
|
454
|
+
- @equinor/fusion-query@3.0.5
|
|
432
455
|
|
|
433
456
|
## 1.0.5
|
|
434
457
|
|
|
@@ -442,9 +465,9 @@
|
|
|
442
465
|
|
|
443
466
|
- [#905](https://github.com/equinor/fusion-framework/pull/905) [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c) Thanks [@odinr](https://github.com/odinr)! - **🚧 Chore: dedupe packages**
|
|
444
467
|
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
468
|
+
- align all versions of typescript
|
|
469
|
+
- update types to build
|
|
470
|
+
- a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
|
|
448
471
|
|
|
449
472
|
All notable changes to this project will be documented in this file.
|
|
450
473
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
package/dist/esm/Widget.js
CHANGED
|
@@ -70,8 +70,9 @@ export class Widget {
|
|
|
70
70
|
*/
|
|
71
71
|
getConfig(force_refresh = false) {
|
|
72
72
|
return new Observable((subscriber) => {
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
const currentValue = __classPrivateFieldGet(this, _Widget_state, "f").value;
|
|
74
|
+
if (currentValue.manifest && currentValue.config) {
|
|
75
|
+
subscriber.next(currentValue.config);
|
|
75
76
|
if (!force_refresh) {
|
|
76
77
|
return subscriber.complete();
|
|
77
78
|
}
|