@equinor/fusion-framework-react-components-people-provider 1.1.9 → 1.1.11
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 +97 -84
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +7 -7
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,170 +1,183 @@
|
|
|
1
1
|
# @equinor/fusion-framework-react-components-people-provider
|
|
2
2
|
|
|
3
|
+
## 1.1.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies []:
|
|
8
|
+
- @equinor/fusion-framework-react-module-bookmark@2.0.29
|
|
9
|
+
|
|
10
|
+
## 1.1.10
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies []:
|
|
15
|
+
- @equinor/fusion-framework-react@5.3.9
|
|
16
|
+
- @equinor/fusion-framework-react-module-bookmark@2.0.28
|
|
17
|
+
|
|
3
18
|
## 1.1.9
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
6
21
|
|
|
7
|
-
-
|
|
22
|
+
- [#1565](https://github.com/equinor/fusion-framework/pull/1565) [`4e7dbce`](https://github.com/equinor/fusion-framework/commit/4e7dbce1a92b093bec91d48d38afd7b70fe03296) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @equinor/fusion-wc-person from 2.1.8 to 2.3.0
|
|
8
23
|
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
24
|
+
- Updated dependencies []:
|
|
25
|
+
- @equinor/fusion-framework-react@5.3.8
|
|
26
|
+
- @equinor/fusion-framework-module-services@3.2.3
|
|
27
|
+
- @equinor/fusion-framework-react-module-bookmark@2.0.27
|
|
13
28
|
|
|
14
29
|
## 1.1.8
|
|
15
30
|
|
|
16
31
|
### Patch Changes
|
|
17
32
|
|
|
18
|
-
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
33
|
+
- Updated dependencies []:
|
|
34
|
+
- @equinor/fusion-framework-module-services@3.2.3
|
|
35
|
+
- @equinor/fusion-framework-react@5.3.7
|
|
36
|
+
- @equinor/fusion-framework-react-module-bookmark@2.0.26
|
|
22
37
|
|
|
23
38
|
## 1.1.7
|
|
24
39
|
|
|
25
40
|
### Patch Changes
|
|
26
41
|
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
42
|
+
- Updated dependencies []:
|
|
43
|
+
- @equinor/fusion-framework-module-services@3.2.3
|
|
44
|
+
- @equinor/fusion-framework-react@5.3.6
|
|
45
|
+
- @equinor/fusion-framework-react-module-bookmark@2.0.25
|
|
31
46
|
|
|
32
47
|
## 1.1.6
|
|
33
48
|
|
|
34
49
|
### Patch Changes
|
|
35
50
|
|
|
36
|
-
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
51
|
+
- Updated dependencies []:
|
|
52
|
+
- @equinor/fusion-framework-react@5.3.5
|
|
53
|
+
- @equinor/fusion-framework-react-module-bookmark@2.0.24
|
|
54
|
+
- @equinor/fusion-query@4.0.5
|
|
55
|
+
- @equinor/fusion-framework-module-services@3.2.3
|
|
41
56
|
|
|
42
57
|
## 1.1.5
|
|
43
58
|
|
|
44
59
|
### Patch Changes
|
|
45
60
|
|
|
46
|
-
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
61
|
+
- Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
|
|
62
|
+
- @equinor/fusion-framework-react-module-bookmark@2.0.23
|
|
63
|
+
- @equinor/fusion-framework-module-services@3.2.3
|
|
64
|
+
- @equinor/fusion-framework-react@5.3.4
|
|
65
|
+
- @equinor/fusion-query@4.0.4
|
|
66
|
+
- @equinor/fusion-framework-react-module@3.0.7
|
|
52
67
|
|
|
53
68
|
## 1.1.4
|
|
54
69
|
|
|
55
70
|
### Patch Changes
|
|
56
71
|
|
|
57
|
-
-
|
|
72
|
+
- [`22909e77`](https://github.com/equinor/fusion-framework/commit/22909e77488b099697dccec93e7ac8416dc4a5bd) Thanks [@odinr](https://github.com/odinr)! - updated @equinor/fusion-wc-person to 2.2.0
|
|
58
73
|
|
|
59
|
-
-
|
|
60
|
-
|
|
74
|
+
- Updated dependencies []:
|
|
75
|
+
- @equinor/fusion-framework-react-module-bookmark@2.0.22
|
|
61
76
|
|
|
62
77
|
## 1.1.3
|
|
63
78
|
|
|
64
79
|
### Patch Changes
|
|
65
80
|
|
|
66
|
-
-
|
|
81
|
+
- [#1498](https://github.com/equinor/fusion-framework/pull/1498) [`7287fa3d`](https://github.com/equinor/fusion-framework/commit/7287fa3dca655c84b3a4f5f904e3f423ec341e7a) Thanks [@odinr](https://github.com/odinr)! - bump @equinor/fusion-wc-person from 2.1.0 to 2.1.8
|
|
67
82
|
|
|
68
83
|
## 1.1.2
|
|
69
84
|
|
|
70
85
|
### Patch Changes
|
|
71
86
|
|
|
72
|
-
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
87
|
+
- Updated dependencies [[`446b63ce`](https://github.com/equinor/fusion-framework/commit/446b63ce44b59a3aaab4399c0d877d3a1b560a0e)]:
|
|
88
|
+
- @equinor/fusion-query@4.0.3
|
|
89
|
+
- @equinor/fusion-framework-react-module-bookmark@2.0.21
|
|
90
|
+
- @equinor/fusion-framework-react@5.3.3
|
|
91
|
+
- @equinor/fusion-framework-module-services@3.2.2
|
|
77
92
|
|
|
78
93
|
## 1.1.1
|
|
79
94
|
|
|
80
95
|
### Patch Changes
|
|
81
96
|
|
|
82
|
-
-
|
|
97
|
+
- [#1375](https://github.com/equinor/fusion-framework/pull/1375) [`f50ea5da`](https://github.com/equinor/fusion-framework/commit/f50ea5dab449ce7a5e3071f65fac4e800a619eec) Thanks [@odinr](https://github.com/odinr)! - update people deps
|
|
83
98
|
|
|
84
99
|
## 1.1.0
|
|
85
100
|
|
|
86
101
|
### Minor Changes
|
|
87
102
|
|
|
88
|
-
-
|
|
103
|
+
- [`3e38c9cc`](https://github.com/equinor/fusion-framework/commit/3e38c9cc925fc0456837e42e7ee3ac55e9553bad) Thanks [@odinr](https://github.com/odinr)! - Observer provided abort signal
|
|
89
104
|
|
|
90
105
|
### Patch Changes
|
|
91
106
|
|
|
92
|
-
-
|
|
107
|
+
- [`cc7bcfb5`](https://github.com/equinor/fusion-framework/commit/cc7bcfb51187fb757b95793356da4a11b233d930) Thanks [@odinr](https://github.com/odinr)! - update @equinor/fusion-wc-person to 1.1.1
|
|
93
108
|
|
|
94
|
-
-
|
|
109
|
+
- [#1306](https://github.com/equinor/fusion-framework/pull/1306) [`f65c4531`](https://github.com/equinor/fusion-framework/commit/f65c453178e2c581acb154d5839971c75f60fa86) Thanks [@odinr](https://github.com/odinr)! - Allow providing fallback image
|
|
95
110
|
|
|
96
|
-
|
|
111
|
+
when defining a `PeopleResolverProvider`, one might want to provide a blob for fallback when a person photo is not found.
|
|
97
112
|
|
|
98
|
-
|
|
113
|
+
> this will increase the general resolve time, since repeating request for resolving a person photo will not execute a new query until cache expires
|
|
99
114
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
115
|
+
```tsx
|
|
116
|
+
import { PeopleResolverProvider } from '@equinor/fusion-framework-react-components-people-provider';
|
|
117
|
+
import fallbackSvg from './resources/fallback-photo.svg';
|
|
103
118
|
|
|
104
|
-
|
|
119
|
+
const fallbackImage = new Blob([fallbackSvg], { type: 'image/svg+xml' });
|
|
105
120
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
);
|
|
111
|
-
```
|
|
121
|
+
const App = () => (
|
|
122
|
+
<PeopleResolverProvider options={{ fallbackImage }}>...children</PeopleResolverProvider>
|
|
123
|
+
);
|
|
124
|
+
```
|
|
112
125
|
|
|
113
|
-
-
|
|
126
|
+
- [`9f121865`](https://github.com/equinor/fusion-framework/commit/9f121865254a0c76c4a812e6e42bfe3c7086c714) Thanks [@odinr](https://github.com/odinr)! - update types
|
|
114
127
|
|
|
115
|
-
-
|
|
128
|
+
- [`518b8476`](https://github.com/equinor/fusion-framework/commit/518b8476bb40255d05e937663d3a513de479a1f8) Thanks [@odinr](https://github.com/odinr)! - fixed query args for abort signal
|
|
116
129
|
|
|
117
|
-
-
|
|
130
|
+
- [#1345](https://github.com/equinor/fusion-framework/pull/1345) [`9d9f629e`](https://github.com/equinor/fusion-framework/commit/9d9f629e007df38db75067781b251b7e5e9673da) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - update @equinor/fusion-wc-person to 2.0.1
|
|
118
131
|
|
|
119
|
-
-
|
|
132
|
+
- [`63592229`](https://github.com/equinor/fusion-framework/commit/63592229cea4d3606289738fe14b432e9978623f) Thanks [@odinr](https://github.com/odinr)! - fixed prop interface of `PeopleResolverComponent`
|
|
120
133
|
|
|
121
|
-
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
134
|
+
- Updated dependencies [[`ddc31c35`](https://github.com/equinor/fusion-framework/commit/ddc31c3571e36be057095238cf22e78051f423b0), [`7ad31761`](https://github.com/equinor/fusion-framework/commit/7ad3176102f92da108b67ede6fdf29b76149bed9)]:
|
|
135
|
+
- @equinor/fusion-framework-module-services@3.2.2
|
|
136
|
+
- @equinor/fusion-query@4.0.2
|
|
137
|
+
- @equinor/fusion-framework-react-module-bookmark@2.0.20
|
|
138
|
+
- @equinor/fusion-framework-react@5.3.2
|
|
126
139
|
|
|
127
140
|
## 1.0.1
|
|
128
141
|
|
|
129
142
|
### Patch Changes
|
|
130
143
|
|
|
131
|
-
-
|
|
144
|
+
- [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
|
|
132
145
|
|
|
133
|
-
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
146
|
+
- Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
|
|
147
|
+
- @equinor/fusion-framework-react@5.3.1
|
|
148
|
+
- @equinor/fusion-framework-react-module-bookmark@2.0.19
|
|
149
|
+
- @equinor/fusion-framework-react-module@3.0.6
|
|
150
|
+
- @equinor/fusion-query@4.0.1
|
|
138
151
|
|
|
139
152
|
## 1.0.0
|
|
140
153
|
|
|
141
154
|
### Major Changes
|
|
142
155
|
|
|
143
|
-
-
|
|
156
|
+
- [#1255](https://github.com/equinor/fusion-framework/pull/1255) [`de46f0a2`](https://github.com/equinor/fusion-framework/commit/de46f0a2ce93134fc32bf587d29dd32d7ab9a8d9) Thanks [@odinr](https://github.com/odinr)! - Component for providing people api resources to the @equinor/fusion-wc-person and @equinor/fusion-react-person components
|
|
144
157
|
|
|
145
|
-
|
|
158
|
+
mapping and caching of `@equinor/fusion-framework-module-services/people`
|
|
146
159
|
|
|
147
|
-
|
|
160
|
+
> Strongly collated to the Fusion ecosystems
|
|
148
161
|
|
|
149
|
-
|
|
150
|
-
|
|
162
|
+
```tsx
|
|
163
|
+
import { PeopleResolverProvider } from '@equinor/fusion-framework-react-components-people-provider';
|
|
151
164
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
165
|
+
<PeopleResolverProvider>
|
|
166
|
+
<fwc-person-avatar azureId="cbc6480d-12c1-467e-b0b8-cfbb22612daa"></fwc-person-avatar>
|
|
167
|
+
<fwc-person-card azureId="cbc6480d-12c1-467e-b0b8-cfbb22612daa"></fwc-person-card>
|
|
168
|
+
<fwc-person-list-item azureId="cbc6480d-12c1-467e-b0b8-cfbb22612daa"></fwc-person-list-item>
|
|
169
|
+
</PeopleResolverProvider>;
|
|
170
|
+
```
|
|
158
171
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
172
|
+
> we might in the future provide a module which provides same functionality as the resolver
|
|
173
|
+
>
|
|
174
|
+
> atm there are no flexible way to configure this provider since the api models are strongly collated to the models of the components
|
|
175
|
+
>
|
|
176
|
+
> if requested we can create a provider for the functionality
|
|
164
177
|
|
|
165
178
|
### Patch Changes
|
|
166
179
|
|
|
167
|
-
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
180
|
+
- Updated dependencies [[`3896fbec`](https://github.com/equinor/fusion-framework/commit/3896fbec3458dbe2ebd66e772465d5f89cd20658), [`ebcabd0e`](https://github.com/equinor/fusion-framework/commit/ebcabd0e6945e1420a0a9a7d82bd9255da1b8578), [`8739a5a6`](https://github.com/equinor/fusion-framework/commit/8739a5a65d8aaa46ce9ef56cce013efeeb006e8a)]:
|
|
181
|
+
- @equinor/fusion-framework-react@5.3.0
|
|
182
|
+
- @equinor/fusion-query@4.0.0
|
|
183
|
+
- @equinor/fusion-framework-react-module-bookmark@2.0.18
|
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '1.1.
|
|
1
|
+
export const version = '1.1.11';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/dist/esm/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC"}
|