@atlaskit/smart-hooks 0.2.7 → 0.2.9
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 +72 -24
- package/LICENSE +13 -0
- package/dist/cjs/services/use-user-recommendations/analytics.js +1 -1
- package/dist/es2019/services/use-user-recommendations/analytics.js +1 -1
- package/dist/esm/services/use-user-recommendations/analytics.js +1 -1
- package/dist/types-ts4.5/i18n/cs.d.ts +18 -0
- package/dist/types-ts4.5/i18n/da.d.ts +18 -0
- package/dist/types-ts4.5/i18n/de.d.ts +18 -0
- package/dist/types-ts4.5/i18n/en.d.ts +18 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +18 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +18 -0
- package/dist/types-ts4.5/i18n/es.d.ts +18 -0
- package/dist/types-ts4.5/i18n/et.d.ts +8 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +18 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +18 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +18 -0
- package/dist/types-ts4.5/i18n/index.d.ts +36 -0
- package/dist/types-ts4.5/i18n/is.d.ts +7 -0
- package/dist/types-ts4.5/i18n/it.d.ts +18 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +18 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +18 -0
- package/dist/types-ts4.5/i18n/languages.d.ts +27 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +18 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +18 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +18 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +18 -0
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +8 -0
- package/dist/types-ts4.5/i18n/ro.d.ts +7 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +18 -0
- package/dist/types-ts4.5/i18n/sk.d.ts +8 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +18 -0
- package/dist/types-ts4.5/i18n/th.d.ts +18 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +18 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +18 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +18 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +18 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +18 -0
- package/dist/types-ts4.5/index.d.ts +3 -0
- package/dist/types-ts4.5/messages.d.ts +47 -0
- package/dist/types-ts4.5/services/use-function-usage-tracking/index.d.ts +5 -0
- package/dist/types-ts4.5/services/use-user-recommendations/analytics.d.ts +20 -0
- package/dist/types-ts4.5/services/use-user-recommendations/index.d.ts +21 -0
- package/dist/types-ts4.5/services/use-user-recommendations/ufoExperiences.d.ts +2 -0
- package/dist/types-ts4.5/types.d.ts +91 -0
- package/dist/types-ts4.5/utils/transform-recommendations-to-options/index.d.ts +5 -0
- package/package.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,128 +1,176 @@
|
|
|
1
1
|
# @atlaskit/smart-hooks
|
|
2
2
|
|
|
3
|
+
## 0.2.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#95740](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95740)
|
|
8
|
+
[`a15da04ef56a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a15da04ef56a) -
|
|
9
|
+
license update
|
|
10
|
+
|
|
11
|
+
## 0.2.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
16
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
17
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
18
|
+
|
|
3
19
|
## 0.2.7
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
6
22
|
|
|
7
|
-
-
|
|
23
|
+
- [#40652](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40652)
|
|
24
|
+
[`097ce4dd212`](https://bitbucket.org/atlassian/atlassian-frontend/commits/097ce4dd212) -
|
|
25
|
+
Changes for remove cyclic dependency in
|
|
26
|
+
AFE(@atlaskit/smart-hooks,@atlassian/notification-common, @atlassian/notification-test-utils)
|
|
8
27
|
|
|
9
28
|
## 0.2.6
|
|
10
29
|
|
|
11
30
|
### Patch Changes
|
|
12
31
|
|
|
13
|
-
-
|
|
14
|
-
-
|
|
32
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
33
|
+
[`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
|
|
34
|
+
version.json
|
|
35
|
+
- Updated dependencies
|
|
15
36
|
|
|
16
37
|
## 0.2.5
|
|
17
38
|
|
|
18
39
|
### Patch Changes
|
|
19
40
|
|
|
20
|
-
-
|
|
41
|
+
- [#37925](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37925)
|
|
42
|
+
[`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use
|
|
43
|
+
injected env vars instead of version.json
|
|
21
44
|
|
|
22
45
|
## 0.2.4
|
|
23
46
|
|
|
24
47
|
### Patch Changes
|
|
25
48
|
|
|
26
|
-
-
|
|
49
|
+
- [#37101](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37101)
|
|
50
|
+
[`78f0d4b929c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78f0d4b929c) - [ux]
|
|
51
|
+
Color of guest lozenges in the smartUserPicker changed from purple ('new') to grey ('default')
|
|
27
52
|
|
|
28
53
|
## 0.2.3
|
|
29
54
|
|
|
30
55
|
### Patch Changes
|
|
31
56
|
|
|
32
|
-
-
|
|
57
|
+
- [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443)
|
|
58
|
+
[`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) -
|
|
59
|
+
Removing unused dependencies and dev dependencies
|
|
33
60
|
|
|
34
61
|
## 0.2.2
|
|
35
62
|
|
|
36
63
|
### Patch Changes
|
|
37
64
|
|
|
38
|
-
-
|
|
65
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
66
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
67
|
+
legacy types are published for TS 4.5-4.8
|
|
39
68
|
|
|
40
69
|
## 0.2.1
|
|
41
70
|
|
|
42
71
|
### Patch Changes
|
|
43
72
|
|
|
44
|
-
-
|
|
73
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
74
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
|
|
75
|
+
Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
45
76
|
|
|
46
77
|
## 0.2.0
|
|
47
78
|
|
|
48
79
|
### Minor Changes
|
|
49
80
|
|
|
50
|
-
-
|
|
81
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
82
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
83
|
+
minor dependency bump
|
|
51
84
|
|
|
52
85
|
### Patch Changes
|
|
53
86
|
|
|
54
|
-
-
|
|
87
|
+
- Updated dependencies
|
|
55
88
|
|
|
56
89
|
## 0.1.9
|
|
57
90
|
|
|
58
91
|
### Patch Changes
|
|
59
92
|
|
|
60
|
-
-
|
|
93
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
|
|
94
|
+
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
|
|
95
|
+
remove before merging to master; dupe adf-schema via adf-utils
|
|
61
96
|
|
|
62
97
|
## 0.1.8
|
|
63
98
|
|
|
64
99
|
### Patch Changes
|
|
65
100
|
|
|
66
|
-
-
|
|
101
|
+
- Updated dependencies
|
|
67
102
|
|
|
68
103
|
## 0.1.7
|
|
69
104
|
|
|
70
105
|
### Patch Changes
|
|
71
106
|
|
|
72
|
-
-
|
|
107
|
+
- Updated dependencies
|
|
73
108
|
|
|
74
109
|
## 0.1.6
|
|
75
110
|
|
|
76
111
|
### Patch Changes
|
|
77
112
|
|
|
78
|
-
-
|
|
113
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
114
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
|
|
115
|
+
Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
79
116
|
|
|
80
117
|
## 0.1.5
|
|
81
118
|
|
|
82
119
|
### Patch Changes
|
|
83
120
|
|
|
84
|
-
-
|
|
121
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
122
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
|
|
123
|
+
Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
85
124
|
|
|
86
125
|
## 0.1.4
|
|
87
126
|
|
|
88
127
|
### Patch Changes
|
|
89
128
|
|
|
90
|
-
-
|
|
129
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
130
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
|
|
131
|
+
Upgrade to TypeScript 4.2.4
|
|
91
132
|
|
|
92
133
|
## 0.1.3
|
|
93
134
|
|
|
94
135
|
### Patch Changes
|
|
95
136
|
|
|
96
|
-
-
|
|
137
|
+
- Updated dependencies
|
|
97
138
|
|
|
98
139
|
## 0.1.2
|
|
99
140
|
|
|
100
141
|
### Patch Changes
|
|
101
142
|
|
|
102
|
-
-
|
|
143
|
+
- Updated dependencies
|
|
103
144
|
|
|
104
145
|
## 0.1.1
|
|
105
146
|
|
|
106
147
|
### Patch Changes
|
|
107
148
|
|
|
108
|
-
-
|
|
109
|
-
-
|
|
149
|
+
- [#18804](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18804)
|
|
150
|
+
[`c7cd471ace6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c7cd471ace6) - [ux]
|
|
151
|
+
add abortcontrollers, replace ufo experience identifier, memoization for search query
|
|
152
|
+
- Updated dependencies
|
|
110
153
|
|
|
111
154
|
## 0.1.0
|
|
112
155
|
|
|
113
156
|
### Minor Changes
|
|
114
157
|
|
|
115
|
-
-
|
|
158
|
+
- [#18662](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18662)
|
|
159
|
+
[`6a3107dd76a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a3107dd76a) - Adding
|
|
160
|
+
analytics + UFO
|
|
116
161
|
|
|
117
162
|
## 0.0.3
|
|
118
163
|
|
|
119
164
|
### Patch Changes
|
|
120
165
|
|
|
121
|
-
-
|
|
166
|
+
- Updated dependencies
|
|
122
167
|
|
|
123
168
|
## 0.0.2
|
|
124
169
|
|
|
125
170
|
### Patch Changes
|
|
126
171
|
|
|
127
|
-
-
|
|
128
|
-
-
|
|
172
|
+
- [#18056](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18056)
|
|
173
|
+
[`69325c9dd40`](https://bitbucket.org/atlassian/atlassian-frontend/commits/69325c9dd40) -
|
|
174
|
+
Initial changeset for smart-hooks (hooks library for smart capabilities) and smart-common
|
|
175
|
+
(shared code between smart packages)
|
|
176
|
+
- Updated dependencies
|
package/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright 2019 Atlassian Pty Ltd
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
|
@@ -21,7 +21,7 @@ var createEvent = function createEvent(eventType, action, actionSubject) {
|
|
|
21
21
|
source: '@atlaskit/smart-hooks/use-user-recommendations',
|
|
22
22
|
attributes: _objectSpread({
|
|
23
23
|
packageName: "@atlaskit/smart-hooks",
|
|
24
|
-
packageVersion: "0.2.
|
|
24
|
+
packageVersion: "0.2.9"
|
|
25
25
|
}, attributes)
|
|
26
26
|
};
|
|
27
27
|
};
|
|
@@ -9,7 +9,7 @@ const createEvent = (eventType, action, actionSubject, attributes = {}) => ({
|
|
|
9
9
|
source: '@atlaskit/smart-hooks/use-user-recommendations',
|
|
10
10
|
attributes: {
|
|
11
11
|
packageName: "@atlaskit/smart-hooks",
|
|
12
|
-
packageVersion: "0.2.
|
|
12
|
+
packageVersion: "0.2.9",
|
|
13
13
|
...attributes
|
|
14
14
|
}
|
|
15
15
|
});
|
|
@@ -14,7 +14,7 @@ var createEvent = function createEvent(eventType, action, actionSubject) {
|
|
|
14
14
|
source: '@atlaskit/smart-hooks/use-user-recommendations',
|
|
15
15
|
attributes: _objectSpread({
|
|
16
16
|
packageName: "@atlaskit/smart-hooks",
|
|
17
|
-
packageVersion: "0.2.
|
|
17
|
+
packageVersion: "0.2.9"
|
|
18
18
|
}, attributes)
|
|
19
19
|
};
|
|
20
20
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by i18n-tools.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
export { default as zh } from './zh';
|
|
8
|
+
export { default as zh_TW } from './zh_TW';
|
|
9
|
+
export { default as cs } from './cs';
|
|
10
|
+
export { default as da } from './da';
|
|
11
|
+
export { default as nl } from './nl';
|
|
12
|
+
export { default as et } from './et';
|
|
13
|
+
export { default as fi } from './fi';
|
|
14
|
+
export { default as fr } from './fr';
|
|
15
|
+
export { default as de } from './de';
|
|
16
|
+
export { default as hu } from './hu';
|
|
17
|
+
export { default as it } from './it';
|
|
18
|
+
export { default as ja } from './ja';
|
|
19
|
+
export { default as ko } from './ko';
|
|
20
|
+
export { default as nb } from './nb';
|
|
21
|
+
export { default as pl } from './pl';
|
|
22
|
+
export { default as pt_BR } from './pt_BR';
|
|
23
|
+
export { default as pt_PT } from './pt_PT';
|
|
24
|
+
export { default as ru } from './ru';
|
|
25
|
+
export { default as sk } from './sk';
|
|
26
|
+
export { default as es } from './es';
|
|
27
|
+
export { default as sv } from './sv';
|
|
28
|
+
export { default as th } from './th';
|
|
29
|
+
export { default as tr } from './tr';
|
|
30
|
+
export { default as uk } from './uk';
|
|
31
|
+
export { default as vi } from './vi';
|
|
32
|
+
export { default as en_ZZ } from './en_ZZ';
|
|
33
|
+
export { default as en } from './en';
|
|
34
|
+
export { default as en_GB } from './en_GB';
|
|
35
|
+
export { default as is } from './is';
|
|
36
|
+
export { default as ro } from './ro';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'smart-experiences.smart-hooks.placeholder': string;
|
|
3
|
+
'smart-experiences.smart-hooks.placeholder.add-more': string;
|
|
4
|
+
'smart-experiences.smart-hooks.multi.remove-item': string;
|
|
5
|
+
'smart-experiences.smart-hooks.single.clear': string;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
zh: string;
|
|
3
|
+
cs: string;
|
|
4
|
+
da: string;
|
|
5
|
+
nl: string;
|
|
6
|
+
en: string;
|
|
7
|
+
en_GB: string;
|
|
8
|
+
et: string;
|
|
9
|
+
fi: string;
|
|
10
|
+
fr: string;
|
|
11
|
+
de: string;
|
|
12
|
+
hu: string;
|
|
13
|
+
is: string;
|
|
14
|
+
it: string;
|
|
15
|
+
ja: string;
|
|
16
|
+
ko: string;
|
|
17
|
+
nb: string;
|
|
18
|
+
pl: string;
|
|
19
|
+
pt_BR: string;
|
|
20
|
+
pt_PT: string;
|
|
21
|
+
ro: string;
|
|
22
|
+
ru: string;
|
|
23
|
+
sk: string;
|
|
24
|
+
es: string;
|
|
25
|
+
sv: string;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'smart-experiences.smart-hooks.placeholder': string;
|
|
3
|
+
'smart-experiences.smart-hooks.placeholder.add-more': string;
|
|
4
|
+
'smart-experiences.smart-hooks.multi.remove-item': string;
|
|
5
|
+
'smart-experiences.smart-hooks.single.clear': string;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const messages: {
|
|
2
|
+
externalUserSourcesHeading: {
|
|
3
|
+
id: string;
|
|
4
|
+
defaultMessage: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
slackProvider: {
|
|
8
|
+
id: string;
|
|
9
|
+
defaultMessage: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
googleProvider: {
|
|
13
|
+
id: string;
|
|
14
|
+
defaultMessage: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
microsoftProvider: {
|
|
18
|
+
id: string;
|
|
19
|
+
defaultMessage: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
gitHubProvider: {
|
|
23
|
+
id: string;
|
|
24
|
+
defaultMessage: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
memberLozengeText: {
|
|
28
|
+
id: string;
|
|
29
|
+
defaultMessage: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
guestLozengeText: {
|
|
33
|
+
id: string;
|
|
34
|
+
defaultMessage: string;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
guestUserLozengeTooltip: {
|
|
38
|
+
id: string;
|
|
39
|
+
defaultMessage: string;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
guestGroupLozengeTooltip: {
|
|
43
|
+
id: string;
|
|
44
|
+
defaultMessage: string;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare function useFunctionUsageTracking<InputFunctionType extends (...any: any) => any>(trackedFunction: InputFunctionType): {
|
|
2
|
+
isUsed: boolean;
|
|
3
|
+
trackingFunction: import("memoize-one").MemoizedFn<() => InputFunctionType>;
|
|
4
|
+
};
|
|
5
|
+
export default useFunctionUsageTracking;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AnalyticsEventPayload, CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import { UserSearchItem } from '@atlaskit/smart-common';
|
|
3
|
+
import { UseUserRecommendationsProps } from '../../types';
|
|
4
|
+
export declare const findUserPosition: (loadedUsers: UserSearchItem[], userId: string) => number;
|
|
5
|
+
export declare const createDefaultAttributes: (props: UseUserRecommendationsProps, renderId: string, sessionId: string, query: string) => {
|
|
6
|
+
context: string;
|
|
7
|
+
childObjectId: string | undefined;
|
|
8
|
+
containerId: string | undefined;
|
|
9
|
+
includeTeams: boolean | undefined;
|
|
10
|
+
maxNumberOfResults: number | undefined;
|
|
11
|
+
objectId: string | undefined;
|
|
12
|
+
preload: boolean | undefined;
|
|
13
|
+
principalId: string | undefined;
|
|
14
|
+
productKey: string;
|
|
15
|
+
queryLength: number;
|
|
16
|
+
renderId: string;
|
|
17
|
+
sessionId: string;
|
|
18
|
+
tenantId: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const fireUserSelectedEvent: (createAnalyticsEvent: CreateUIAnalyticsEvent, payloadAttributes: AnalyticsEventPayload) => import("@atlaskit/analytics-next").UIAnalyticsEvent;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EntityType, UserSearchItem } from '@atlaskit/smart-common';
|
|
2
|
+
import type { UseUserRecommendationsProps } from '../../types';
|
|
3
|
+
export declare const instrumentFailureOption: {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
entityType: EntityType;
|
|
7
|
+
avatarUrl: string;
|
|
8
|
+
}[];
|
|
9
|
+
declare const useUserRecommendations: (props: UseUserRecommendationsProps) => {
|
|
10
|
+
recommendations: UserSearchItem[] | {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
entityType: EntityType;
|
|
14
|
+
avatarUrl: string;
|
|
15
|
+
}[];
|
|
16
|
+
triggerSearchFactory: import("memoize-one").MemoizedFn<() => (query?: string) => void>;
|
|
17
|
+
selectUserFactory: import("memoize-one").MemoizedFn<() => (userId: string) => void>;
|
|
18
|
+
isLoading: boolean;
|
|
19
|
+
error: any;
|
|
20
|
+
};
|
|
21
|
+
export default useUserRecommendations;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { UserSearchProductAttributes, UserSearchQuery } from '@atlaskit/smart-common';
|
|
2
|
+
export type UseUserRecommendationsProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Base url override for downstream APIs.
|
|
5
|
+
* Note: there is a trend for browsers blocking cookies for cross-site resources.
|
|
6
|
+
* This prop is added for legacy reasons and will likely be removed in the future.
|
|
7
|
+
* https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/
|
|
8
|
+
*/
|
|
9
|
+
baseUrl?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Context information for analytics. Eg: if the hook was consumed inside a ticket's comment, the childObjectId would be
|
|
12
|
+
* the ID of the comment and the ticket would be the objectId. Optional, but please provide if available.
|
|
13
|
+
*/
|
|
14
|
+
childObjectId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The container Id to identify context. e.g. Jira: projectId. Confluence: spaceId. Bitbucket: repositoryId.
|
|
17
|
+
*/
|
|
18
|
+
containerId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Time to debounce the suggestions fetching (in milliseconds). Defaults to 150ms.
|
|
21
|
+
*/
|
|
22
|
+
debounceTimeMs?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Identifier for informing the server on what experience the hook is powering.
|
|
25
|
+
* The server uses the fieldId to determine which model to utilize when
|
|
26
|
+
* generating suggestions.
|
|
27
|
+
* All fieldId's will be bucketed into a model that provides generic smart results,
|
|
28
|
+
* except "assignee", "mentions" which are specifically trained for Jira Assignee and
|
|
29
|
+
* @Mentions. For specifically trained models, please contact #help-smart-experiences.
|
|
30
|
+
*/
|
|
31
|
+
fieldId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Whether to include users in the result set (@default: true).
|
|
34
|
+
*/
|
|
35
|
+
includeUsers?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Whether to include groups in the resultset (@default: false).
|
|
38
|
+
*/
|
|
39
|
+
includeGroups?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to include teams in the resultset (@default: false).
|
|
42
|
+
*/
|
|
43
|
+
includeTeams?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* (@default: 25)
|
|
46
|
+
*/
|
|
47
|
+
maxNumberOfResults?: number;
|
|
48
|
+
/**
|
|
49
|
+
* An identifier of the closest context object, e.g. issueId, pageId, pullRequestId.
|
|
50
|
+
* Used for analytics. Optional, but please include if available.
|
|
51
|
+
*/
|
|
52
|
+
objectId?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Preload the list of suggested users with an empty-query ('') search as soon as
|
|
55
|
+
* the hook is used.
|
|
56
|
+
* WARNING: please consider carefully before deciding to preload your suggestions
|
|
57
|
+
* as this will increase the load on the recommendations services (has caused HOTs).
|
|
58
|
+
* Please give #help-smart-experiences a ballpark on the expected request volume.
|
|
59
|
+
* (@default: false)
|
|
60
|
+
*/
|
|
61
|
+
preload?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* AAID of the user interacting with the component.
|
|
64
|
+
* If not provided, server will extract principalId from the context header, assuming that the user is logged in
|
|
65
|
+
* when making the request. (@default: “context”)
|
|
66
|
+
*/
|
|
67
|
+
principalId?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Product-specific Attributes - you should pass in the attribute type that matches your current SupportedProduct.
|
|
70
|
+
* Currently we support additional attributes (BitbucketAttributes) for bitbucket and (ConfluenceAttributes) for Confluence.
|
|
71
|
+
*/
|
|
72
|
+
productAttributes?: UserSearchProductAttributes;
|
|
73
|
+
/**
|
|
74
|
+
* Product identifier. If you are an NPF, please ensure your product has been onboarded with
|
|
75
|
+
* Cross-product user-search @see https://developer.atlassian.com/cloud/cross-product-user-search/
|
|
76
|
+
* If you are still waiting for CPUS, you can use the `people` productKey in the interim.
|
|
77
|
+
*/
|
|
78
|
+
productKey: string;
|
|
79
|
+
/**
|
|
80
|
+
* Pass-through for CPUS. Refer to @see https://developer.atlassian.com/cloud/cross-product-user-search/rest/api-group-search/#api-group-search
|
|
81
|
+
* for detailed docs on parameters.
|
|
82
|
+
*/
|
|
83
|
+
cpusSearchQuery?: UserSearchQuery;
|
|
84
|
+
/**
|
|
85
|
+
* Identifier for the product's tenant, also known as siteId or cloudId.
|
|
86
|
+
* If product is not tenanted, the convention is to provide the productKey
|
|
87
|
+
* as the tenantId (e.g. "bitbucket") but this may vary across products.
|
|
88
|
+
* Check with #help-smart-experiences.
|
|
89
|
+
*/
|
|
90
|
+
tenantId: string;
|
|
91
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IntlShape } from 'react-intl-next';
|
|
2
|
+
import { UserSearchItem } from '@atlaskit/smart-common';
|
|
3
|
+
import { OptionData } from '@atlaskit/user-picker';
|
|
4
|
+
declare const _default: (recommendations: UserSearchItem[], intl: IntlShape) => OptionData[];
|
|
5
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-hooks",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
|
+
"license": "Apache-2.0",
|
|
4
5
|
"publishConfig": {
|
|
5
6
|
"registry": "https://registry.npmjs.org/"
|
|
6
7
|
},
|
|
7
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
8
9
|
"author": "Atlassian Pty Ltd",
|
|
9
10
|
"main": "dist/cjs/index.js",
|
|
10
11
|
"module": "dist/esm/index.js",
|
|
@@ -27,11 +28,11 @@
|
|
|
27
28
|
},
|
|
28
29
|
"dependencies": {
|
|
29
30
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
30
|
-
"@atlaskit/analytics-listeners": "^8.
|
|
31
|
-
"@atlaskit/analytics-next": "^9.
|
|
31
|
+
"@atlaskit/analytics-listeners": "^8.9.0",
|
|
32
|
+
"@atlaskit/analytics-next": "^9.3.0",
|
|
32
33
|
"@atlaskit/smart-common": "^0.2.0",
|
|
33
34
|
"@atlaskit/ufo": "^0.2.0",
|
|
34
|
-
"@atlaskit/user-picker": "^10.
|
|
35
|
+
"@atlaskit/user-picker": "^10.19.0",
|
|
35
36
|
"@babel/runtime": "^7.0.0",
|
|
36
37
|
"lodash": "^4.17.21",
|
|
37
38
|
"memoize-one": "^6.0.0",
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
"enzyme": "^3.10.0",
|
|
51
52
|
"fetch-mock": "^8.0.0",
|
|
52
53
|
"react-dom": "^16.8.0",
|
|
53
|
-
"typescript": "~4.
|
|
54
|
+
"typescript": "~5.4.2",
|
|
54
55
|
"wait-for-expect": "^1.2.0"
|
|
55
56
|
},
|
|
56
57
|
"techstack": {
|
|
@@ -84,4 +85,4 @@
|
|
|
84
85
|
".": "./src/index.ts"
|
|
85
86
|
},
|
|
86
87
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
87
|
-
}
|
|
88
|
+
}
|