@orchestrator-ui/orchestrator-ui-components 1.29.1 → 1.30.0
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/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +11 -11
- package/CHANGELOG.md +158 -152
- package/dist/index.d.ts +1 -1
- package/dist/index.js +62 -83
- package/package.json +14 -16
- package/src/components/WfoWorkflowSteps/WfoStepList/WfoStepList.tsx +7 -4
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@1.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@1.30.0 build
|
|
3
3
|
> tsup src/index.ts --format esm --dts --tsconfig tsconfig.build.json
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.build.json
|
|
7
|
-
[34mCLI[39m tsup v8.0
|
|
7
|
+
[34mCLI[39m tsup v8.1.0
|
|
8
8
|
[34mCLI[39m Target: es6
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mDTS[39m Build start
|
|
11
11
|
[32mESM[39m [1mdist/index.js [22m[32m1.86 MB[39m
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
-
[32mDTS[39m ⚡️ Build success in
|
|
14
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m174.
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 708ms
|
|
13
|
+
[32mDTS[39m ⚡️ Build success in 13880ms
|
|
14
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m174.39 KB[39m
|
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@1.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@1.30.0 test
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
5
|
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts
|
|
6
|
-
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
7
6
|
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
7
|
+
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
8
8
|
PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
|
|
9
|
-
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
10
9
|
PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
11
|
-
PASS Wfo-UI Tests src/
|
|
10
|
+
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
12
11
|
PASS Wfo-UI Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
|
|
13
12
|
PASS Wfo-UI Tests src/utils/string.spec.ts
|
|
13
|
+
PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
|
|
14
14
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
|
|
15
15
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
|
|
16
16
|
PASS Wfo-UI Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
|
|
17
17
|
PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
|
|
18
|
-
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts
|
|
19
18
|
PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
|
|
19
|
+
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts
|
|
20
20
|
PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
|
|
21
|
-
PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
|
|
22
21
|
PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
|
|
22
|
+
PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
|
|
23
23
|
PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
|
|
24
|
-
PASS Wfo-UI Tests src/utils/filterData.spec.ts
|
|
25
24
|
PASS Wfo-UI Tests src/utils/sortObjectKeys.spec.ts
|
|
26
|
-
PASS Wfo-UI Tests src/
|
|
25
|
+
PASS Wfo-UI Tests src/utils/filterData.spec.ts
|
|
27
26
|
PASS Wfo-UI Tests src/utils/getTokenName.spec.ts
|
|
28
|
-
PASS Wfo-UI Tests src/
|
|
27
|
+
PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
|
|
29
28
|
PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
|
|
29
|
+
PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
|
|
30
30
|
PASS Wfo-UI Tests src/utils/uuid.spec.ts
|
|
31
31
|
PASS Wfo-UI Tests src/utils/getTypedFieldFromObject.spec.ts
|
|
32
|
+
PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
32
33
|
PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
|
|
33
34
|
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
34
|
-
PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
35
35
|
|
|
36
36
|
Test Suites: 30 passed, 30 total
|
|
37
37
|
Tests: 169 passed, 169 total
|
|
38
38
|
Snapshots: 0 total
|
|
39
|
-
Time:
|
|
39
|
+
Time: 3.864 s
|
|
40
40
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,552 +1,558 @@
|
|
|
1
1
|
# @orchestrator-ui/orchestrator-ui-components
|
|
2
2
|
|
|
3
|
+
## 1.30.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 231230c: Updates most packages to latest version
|
|
8
|
+
|
|
3
9
|
## 1.29.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
13
|
+
- deff75b: Workflow-list and Task-list pages: Keeps old data in table while refreshing data
|
|
8
14
|
|
|
9
15
|
## 1.29.0
|
|
10
16
|
|
|
11
17
|
### Minor Changes
|
|
12
18
|
|
|
13
|
-
-
|
|
14
|
-
-
|
|
19
|
+
- 80f18ae: Fixes npm audit messages
|
|
20
|
+
- 637f8ea: Adds websocket status badge to page title instead of header
|
|
15
21
|
|
|
16
22
|
## 1.28.0
|
|
17
23
|
|
|
18
24
|
### Minor Changes
|
|
19
25
|
|
|
20
|
-
-
|
|
26
|
+
- 3444973: added a new table for the nms chassis general tab
|
|
21
27
|
|
|
22
28
|
## 1.27.1
|
|
23
29
|
|
|
24
30
|
### Patch Changes
|
|
25
31
|
|
|
26
|
-
-
|
|
32
|
+
- 54b537c: Added productType to Workflow option used by LIR prefixes
|
|
27
33
|
|
|
28
34
|
## 1.27.0
|
|
29
35
|
|
|
30
36
|
### Minor Changes
|
|
31
37
|
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
38
|
+
- 0a3877d: Moves side menu toggle from header to breadcrumb
|
|
39
|
+
- bc65670: Orders product blocks in subcription detail tree
|
|
40
|
+
- 8f45591: Improves confirmation dialog on page leave
|
|
41
|
+
- cbfc034: Updates websocket messages to work with new format
|
|
36
42
|
|
|
37
43
|
## 1.26.0
|
|
38
44
|
|
|
39
45
|
### Minor Changes
|
|
40
46
|
|
|
41
|
-
-
|
|
47
|
+
- 3508ff8: Sort product block instance values by field name
|
|
42
48
|
|
|
43
49
|
### Patch Changes
|
|
44
50
|
|
|
45
|
-
-
|
|
51
|
+
- 257ef6e: Added number type to parseDate function
|
|
46
52
|
|
|
47
53
|
## 1.25.0
|
|
48
54
|
|
|
49
55
|
### Minor Changes
|
|
50
56
|
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
57
|
+
- 10e542e: Adds websockets responsiveness to process list and processDetails
|
|
58
|
+
- f225422: Resolves external subscription id and name in product block details
|
|
59
|
+
- 47a545b: Adds subscription info to modify workflow start page
|
|
60
|
+
- cd59329: Hides empty productBlock values in subscription detail
|
|
55
61
|
|
|
56
62
|
### Patch Changes
|
|
57
63
|
|
|
58
|
-
-
|
|
59
|
-
-
|
|
64
|
+
- 43bcc3c: Fixes table settings reset
|
|
65
|
+
- 02d39db: Fix pressing back not returning to the form page for submitted forms
|
|
60
66
|
|
|
61
67
|
## 1.24.0
|
|
62
68
|
|
|
63
69
|
### Minor Changes
|
|
64
70
|
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
71
|
+
- 83fb33d: Adds a reconnect option for the websocket
|
|
72
|
+
- ef169fc: 1108 Adds getEnvironmentVariables helper function that retrieves multiple environment variables and logs warnings in case variables do not exist
|
|
73
|
+
- e4e9b73: Adds better messages for some edge cases
|
|
68
74
|
|
|
69
75
|
### Patch Changes
|
|
70
76
|
|
|
71
|
-
-
|
|
72
|
-
-
|
|
77
|
+
- fda8911: Hides more product block items for productblocks outside the current subscription
|
|
78
|
+
- 54e6f9f: Fixed caching issue when switching from Create Node to create Corelink form caused 400 error
|
|
73
79
|
|
|
74
80
|
## 1.23.0
|
|
75
81
|
|
|
76
82
|
### Minor Changes
|
|
77
83
|
|
|
78
|
-
-
|
|
79
|
-
-
|
|
84
|
+
- 33240b6: Fixes websockets with authentication
|
|
85
|
+
- b94c618: Added customer with subscription query used by nms
|
|
80
86
|
|
|
81
87
|
### Patch Changes
|
|
82
88
|
|
|
83
|
-
-
|
|
89
|
+
- 9f18b7c: 1066 VlanField: Only allows to clear the value when the field is enabled
|
|
84
90
|
|
|
85
91
|
## 1.22.0
|
|
86
92
|
|
|
87
93
|
### Minor Changes
|
|
88
94
|
|
|
89
|
-
-
|
|
90
|
-
-
|
|
95
|
+
- f6dc4fb: Replaces subscriptionsWithFilter REST call with a graphQL query
|
|
96
|
+
- d48df6b: Exports WFoUserInputForm
|
|
91
97
|
|
|
92
98
|
### Patch Changes
|
|
93
99
|
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
100
|
+
- bcfe7de: 916 Exposes menuItemIsAllowed helper function
|
|
101
|
+
- 50e8f68: Fixes signOut modal showing in some cases
|
|
102
|
+
- 6a7264f: 1086 StartPage: Summary card with product counts ignores terminated instances
|
|
103
|
+
- aca21a5: 1085 Filters out current subscription from the related subscriptions list
|
|
98
104
|
|
|
99
105
|
## 1.21.0
|
|
100
106
|
|
|
101
107
|
### Minor Changes
|
|
102
108
|
|
|
103
|
-
-
|
|
104
|
-
-
|
|
105
|
-
-
|
|
106
|
-
-
|
|
109
|
+
- ae0d9a8: Removes some obsolete configuration
|
|
110
|
+
- 560cf74: Adds a different style if a productblock is outside the subscription boundary
|
|
111
|
+
- 5ee68fa: Signs user out when api calls fail because of expired token
|
|
112
|
+
- d4ac80a: Removed axios and react-query dependencies
|
|
107
113
|
|
|
108
114
|
### Patch Changes
|
|
109
115
|
|
|
110
|
-
-
|
|
111
|
-
-
|
|
116
|
+
- 13d7c6d: Fixes missing aria-labels on icons
|
|
117
|
+
- b9680b8: 626 Applies dark theme to form fields
|
|
112
118
|
|
|
113
119
|
## 1.20.0
|
|
114
120
|
|
|
115
121
|
### Minor Changes
|
|
116
122
|
|
|
117
|
-
-
|
|
123
|
+
- decb678: Removes obsolete configuration options
|
|
118
124
|
|
|
119
125
|
## 1.19.1
|
|
120
126
|
|
|
121
127
|
### Patch Changes
|
|
122
128
|
|
|
123
|
-
-
|
|
129
|
+
- e1811bc: revert username to old code solution
|
|
124
130
|
|
|
125
131
|
## 1.19.0
|
|
126
132
|
|
|
127
133
|
### Minor Changes
|
|
128
134
|
|
|
129
|
-
-
|
|
135
|
+
- 7dc5cf0: Moving axios form fields and fetches to RTK
|
|
130
136
|
|
|
131
137
|
### Patch Changes
|
|
132
138
|
|
|
133
|
-
-
|
|
134
|
-
-
|
|
139
|
+
- 213fb25: Uses preferred_username to filter for my-workflows
|
|
140
|
+
- 71fa3bd: 1055 Making OAuth Scopes configurable via Environment Variables
|
|
135
141
|
|
|
136
142
|
## 1.18.0
|
|
137
143
|
|
|
138
144
|
### Minor Changes
|
|
139
145
|
|
|
140
|
-
-
|
|
146
|
+
- b8cf381: 626 Tweaks dark theme on detail pages and the settings page
|
|
141
147
|
|
|
142
148
|
### Patch Changes
|
|
143
149
|
|
|
144
|
-
-
|
|
150
|
+
- 3888ea9: Adjustment to placeholder translations
|
|
145
151
|
|
|
146
152
|
## 1.17.0
|
|
147
153
|
|
|
148
154
|
### Minor Changes
|
|
149
155
|
|
|
150
|
-
-
|
|
156
|
+
- 8a32409: 626 - Introduces basic styles to be reused. Updates useWithOrchestratorTheme hook to accept the whole theme object. Applies dark theme for Page Templates, Start page and pages with a filterable table.
|
|
151
157
|
|
|
152
158
|
## 1.16.0
|
|
153
159
|
|
|
154
160
|
### Minor Changes
|
|
155
161
|
|
|
156
|
-
-
|
|
162
|
+
- ed6d5c7: Fixes tooltip message on vlan field
|
|
157
163
|
|
|
158
164
|
### Patch Changes
|
|
159
165
|
|
|
160
|
-
-
|
|
166
|
+
- 5301916: Added trash icon
|
|
161
167
|
|
|
162
168
|
## 1.15.0
|
|
163
169
|
|
|
164
170
|
### Minor Changes
|
|
165
171
|
|
|
166
|
-
-
|
|
172
|
+
- a8c625e: Added workflow information link and env vars for it
|
|
167
173
|
|
|
168
174
|
## 1.14.2
|
|
169
175
|
|
|
170
176
|
### Patch Changes
|
|
171
177
|
|
|
172
|
-
-
|
|
173
|
-
-
|
|
178
|
+
- 06377ba: Adds prettier output for the "In-use by subscription(s)" on product blocks on subscription details
|
|
179
|
+
- df57566: 799 Exports SummaryCard components and its related subcomponents and types
|
|
174
180
|
|
|
175
181
|
## 1.14.1
|
|
176
182
|
|
|
177
183
|
### Patch Changes
|
|
178
184
|
|
|
179
|
-
-
|
|
185
|
+
- d835c16: add retry for processes in waiting state - added new icon to be used …
|
|
180
186
|
|
|
181
187
|
## 1.14.0
|
|
182
188
|
|
|
183
189
|
### Minor Changes
|
|
184
190
|
|
|
185
|
-
-
|
|
191
|
+
- 5b9d042: Moved form wizards to RTK
|
|
186
192
|
|
|
187
193
|
## 1.13.2
|
|
188
194
|
|
|
189
195
|
### Patch Changes
|
|
190
196
|
|
|
191
|
-
-
|
|
192
|
-
-
|
|
197
|
+
- 43be47b: 565 Added a new summary card listing the 5 latest workflows for the user that is logged in
|
|
198
|
+
- 8b6e73d: 879 Makes SummaryCards on the start page overridable
|
|
193
199
|
|
|
194
200
|
## 1.13.1
|
|
195
201
|
|
|
196
202
|
### Patch Changes
|
|
197
203
|
|
|
198
|
-
-
|
|
204
|
+
- 63ee9c0: 863 Adds title for traceback section on workflow detail page
|
|
199
205
|
|
|
200
206
|
## 1.13.0
|
|
201
207
|
|
|
202
208
|
### Minor Changes
|
|
203
209
|
|
|
204
|
-
-
|
|
210
|
+
- 12d72f9: Ads feature toggles to configuration
|
|
205
211
|
|
|
206
212
|
### Patch Changes
|
|
207
213
|
|
|
208
|
-
-
|
|
209
|
-
-
|
|
214
|
+
- abd239c: filter workflows on target
|
|
215
|
+
- 72ee276: 863 Adds Traceback on process detail page
|
|
210
216
|
|
|
211
217
|
## 1.12.0
|
|
212
218
|
|
|
213
219
|
### Minor Changes
|
|
214
220
|
|
|
215
|
-
-
|
|
221
|
+
- a95a6dc: Updates what the websocket interface is listening to
|
|
216
222
|
|
|
217
223
|
## 1.11.0
|
|
218
224
|
|
|
219
225
|
### Minor Changes
|
|
220
226
|
|
|
221
|
-
-
|
|
227
|
+
- 38b0c66: 333 - Adds override option for General tab on the SubscriptionDetail page and adds Customer descriptions field
|
|
222
228
|
|
|
223
229
|
### Patch Changes
|
|
224
230
|
|
|
225
|
-
-
|
|
226
|
-
-
|
|
231
|
+
- 9eca836: 983 Improvements in exporting data from the metadata pages
|
|
232
|
+
- df1a9b6: Hide filter option on related subscriptions table
|
|
227
233
|
|
|
228
234
|
## 1.10.0
|
|
229
235
|
|
|
230
236
|
### Minor Changes
|
|
231
237
|
|
|
232
|
-
-
|
|
238
|
+
- 04ef921: Deprecate apiclient version of UserInputFormWizard
|
|
233
239
|
|
|
234
240
|
## 1.9.0
|
|
235
241
|
|
|
236
242
|
### Minor Changes
|
|
237
243
|
|
|
238
|
-
-
|
|
244
|
+
- a9f3806: Improves sideBar navigation
|
|
239
245
|
|
|
240
246
|
## 1.8.0
|
|
241
247
|
|
|
242
248
|
### Minor Changes
|
|
243
249
|
|
|
244
|
-
-
|
|
250
|
+
- 752b3fd: 102 Adds context provider and hook to override values in subscription detail product blocks
|
|
245
251
|
|
|
246
252
|
## 1.7.0
|
|
247
253
|
|
|
248
254
|
### Minor Changes
|
|
249
255
|
|
|
250
|
-
-
|
|
256
|
+
- d61106d: Release of the metadata task page
|
|
251
257
|
|
|
252
258
|
## 1.6.2
|
|
253
259
|
|
|
254
260
|
### Patch Changes
|
|
255
261
|
|
|
256
|
-
-
|
|
262
|
+
- 0bf6f82: New metadata taskpage with rtk
|
|
257
263
|
|
|
258
264
|
## 1.6.1
|
|
259
265
|
|
|
260
266
|
### Patch Changes
|
|
261
267
|
|
|
262
|
-
-
|
|
263
|
-
-
|
|
268
|
+
- 3cfd9f5: Fixes error in exported values
|
|
269
|
+
- 5807458: 332 Subscription detail page: hides metadata section when there is no data available
|
|
264
270
|
|
|
265
271
|
## 1.6.0
|
|
266
272
|
|
|
267
273
|
### Minor Changes
|
|
268
274
|
|
|
269
|
-
-
|
|
275
|
+
- bf4698e: 332 Adds subscription metadata to the subscription list page and subscription detail page
|
|
270
276
|
|
|
271
277
|
### Patch Changes
|
|
272
278
|
|
|
273
|
-
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
-
|
|
279
|
+
- e3874e0: Changed overlay icon colour of skipped step in workflow/task
|
|
280
|
+
Badge style to product name column in metadata table products
|
|
281
|
+
Some features owner subscription presentation & hide pb-sub-instance-id
|
|
282
|
+
Changed default table row settings
|
|
283
|
+
- 29c6459: Added external link icon
|
|
278
284
|
|
|
279
285
|
## 1.5.0
|
|
280
286
|
|
|
281
287
|
### Minor Changes
|
|
282
288
|
|
|
283
|
-
-
|
|
284
|
-
-
|
|
289
|
+
- 9662041: 638 Moves SURF specific form fields to deprecated folder
|
|
290
|
+
- c122786: Adds README files to be displayed on NPM. Adds Apache 2.0 license.
|
|
285
291
|
|
|
286
292
|
### Patch Changes
|
|
287
293
|
|
|
288
|
-
-
|
|
289
|
-
-
|
|
290
|
-
-
|
|
291
|
-
-
|
|
294
|
+
- 78a0b55: 812 Fixed object mapping from products rest call
|
|
295
|
+
- 1b3a9f0: Allows sending null as a value when removing existing values
|
|
296
|
+
- 9cf620e: 919 Fix port dropdown after changing the node in a Create Service Port workflow
|
|
297
|
+
- c5c73da: Added isDisabled prop to WfoDropdownButton, small styles adjustment for keyColumn
|
|
292
298
|
|
|
293
299
|
## 1.4.0.
|
|
294
300
|
|
|
295
301
|
### Minor Changes
|
|
296
302
|
|
|
297
|
-
-
|
|
298
|
-
-
|
|
299
|
-
-
|
|
300
|
-
-
|
|
301
|
-
-
|
|
302
|
-
-
|
|
303
|
-
-
|
|
304
|
-
-
|
|
305
|
-
-
|
|
306
|
-
-
|
|
303
|
+
- 62b356f: Moves product blocks graphql query to RTK client
|
|
304
|
+
- 0e5c8f3: Moves subscriptionList query to RTK client
|
|
305
|
+
- 92ce67b: Moves subscriptionDetail to RTK client
|
|
306
|
+
- 3f68b52: Moves subscriptions dropdown options to RTK client
|
|
307
|
+
- d7b1ce2: Moves products and productsSummary to RTK client
|
|
308
|
+
- 0b4da83: Moves resourceTypes metadata query to RTK client
|
|
309
|
+
- 6ee952f: Moves relatedSubscriptions RTK client
|
|
310
|
+
- af1c86b: Moves processList summary queries to RTK client
|
|
311
|
+
- 70efdf5: Moves getting startOptions to RTK client
|
|
312
|
+
- 0d10af8: MOves get metadata workflows to RTK client
|
|
307
313
|
|
|
308
314
|
## 1.3.1
|
|
309
315
|
|
|
310
316
|
### Patch Changes
|
|
311
317
|
|
|
312
|
-
-
|
|
313
|
-
-
|
|
318
|
+
- 043b943: Moves processSteps query to RTK client
|
|
319
|
+
- b511e4a: Fixes bug that occurs in some create workflows
|
|
314
320
|
|
|
315
321
|
## 1.3.0
|
|
316
322
|
|
|
317
323
|
### Minor Changes
|
|
318
324
|
|
|
319
|
-
-
|
|
325
|
+
- 1ab3e59: Adds set in sync action to subscription detail page
|
|
320
326
|
|
|
321
327
|
## 1.2.0
|
|
322
328
|
|
|
323
329
|
### Minor Changes
|
|
324
330
|
|
|
325
|
-
-
|
|
331
|
+
- 857b6de: Added option to override the baseQuery with custom baseQuery in RTK client
|
|
326
332
|
|
|
327
333
|
## 1.1.0
|
|
328
334
|
|
|
329
335
|
### Minor Changes
|
|
330
336
|
|
|
331
|
-
-
|
|
337
|
+
- 2d0c99c: 840 Updates policy resources
|
|
332
338
|
|
|
333
339
|
## 1.0.0
|
|
334
340
|
|
|
335
341
|
### Major Changes
|
|
336
342
|
|
|
337
|
-
-
|
|
343
|
+
- 507399b: R1 Release
|
|
338
344
|
|
|
339
345
|
## 0.13.1
|
|
340
346
|
|
|
341
347
|
### Patch Changes
|
|
342
348
|
|
|
343
|
-
-
|
|
349
|
+
- 9155f40: Added isDisabled prop to WfoSubmitModal
|
|
344
350
|
|
|
345
351
|
## 0.13.0
|
|
346
352
|
|
|
347
353
|
### Minor Changes
|
|
348
354
|
|
|
349
|
-
-
|
|
355
|
+
- 89835a4: 702 - Moves processDetail to rtkquery
|
|
350
356
|
|
|
351
357
|
### Patch Changes
|
|
352
358
|
|
|
353
|
-
-
|
|
359
|
+
- e56c142: 760 remove duplicate product tags on metadata workflow page
|
|
354
360
|
|
|
355
361
|
## 0.12.0
|
|
356
362
|
|
|
357
363
|
### Minor Changes
|
|
358
364
|
|
|
359
|
-
-
|
|
360
|
-
|
|
365
|
+
- 5efb8b0: #821 Reverted FORMS_ENPOINT string, removed cimStartForm, added new string utils
|
|
366
|
+
#833 Small change to useQueryWithFetch for the default sending level
|
|
361
367
|
|
|
362
368
|
## 0.11.1
|
|
363
369
|
|
|
364
370
|
### Patch Changes
|
|
365
371
|
|
|
366
|
-
-
|
|
367
|
-
-
|
|
372
|
+
- e83d9aa: new summary card out-of-sync subscriptions
|
|
373
|
+
- 7ff8936: Applies policies in several components
|
|
368
374
|
|
|
369
375
|
## 0.11.0
|
|
370
376
|
|
|
371
377
|
### Minor Changes
|
|
372
378
|
|
|
373
|
-
-
|
|
374
|
-
-
|
|
379
|
+
- 6332355: Adds dark theme behind feature toggle
|
|
380
|
+
- e808db4: Add a websocket that can be called to clear cache
|
|
375
381
|
|
|
376
382
|
### Patch Changes
|
|
377
383
|
|
|
378
|
-
-
|
|
379
|
-
-
|
|
384
|
+
- c3da8a6: add customer abbrev to customer drop down string in form field
|
|
385
|
+
- 05c9acc: add status and insync badge to subscription detail page
|
|
380
386
|
|
|
381
387
|
## 0.10.0
|
|
382
388
|
|
|
383
389
|
### Minor Changes
|
|
384
390
|
|
|
385
|
-
-
|
|
391
|
+
- 18da717: 460 Introduces a usePolicy hook to help with conditionally rendering of components. The useWfoSession hook can be used to identify the user
|
|
386
392
|
|
|
387
393
|
## 0.9.1
|
|
388
394
|
|
|
389
395
|
### Patch Changes
|
|
390
396
|
|
|
391
|
-
-
|
|
397
|
+
- 1578b99: NPM Audit fix for IP package
|
|
392
398
|
|
|
393
399
|
## 0.9.0
|
|
394
400
|
|
|
395
401
|
### Minor Changes
|
|
396
402
|
|
|
397
|
-
-
|
|
398
|
-
-
|
|
403
|
+
- 8675375: Fixes a SelectField bug
|
|
404
|
+
- c8c6e10: Update npm dependency versions
|
|
399
405
|
|
|
400
406
|
### Patch Changes
|
|
401
407
|
|
|
402
|
-
-
|
|
403
|
-
-
|
|
408
|
+
- 4bee6a1: Fixes crashes caused by uniforms connectField function
|
|
409
|
+
- 56d5e6e: Trigger the changesets action
|
|
404
410
|
|
|
405
411
|
## 0.8.1
|
|
406
412
|
|
|
407
413
|
### Patch Changes
|
|
408
414
|
|
|
409
|
-
-
|
|
410
|
-
-
|
|
411
|
-
-
|
|
415
|
+
- 5224527: 721: Fix customer select not being disabled
|
|
416
|
+
- 16f32ad: 651: Fix incorrect port select options
|
|
417
|
+
- 84a75b7: Change service port select label when root subscription instance has title
|
|
412
418
|
|
|
413
419
|
## 0.8.0
|
|
414
420
|
|
|
415
421
|
### Minor Changes
|
|
416
422
|
|
|
417
|
-
-
|
|
423
|
+
- 8eded72: Required for issue 573 Add restart open relate
|
|
418
424
|
|
|
419
425
|
### Patch Changes
|
|
420
426
|
|
|
421
|
-
-
|
|
427
|
+
- 534ecf4: 685: Fix form reloading and resetting inputs
|
|
422
428
|
|
|
423
429
|
## 0.7.0
|
|
424
430
|
|
|
425
431
|
### Minor Changes
|
|
426
432
|
|
|
427
|
-
-
|
|
433
|
+
- 5d20aec: Adds accesToken to RTK Query clients
|
|
428
434
|
|
|
429
435
|
## 0.6.0
|
|
430
436
|
|
|
431
437
|
### Minor Changes
|
|
432
438
|
|
|
433
|
-
-
|
|
434
|
-
|
|
435
|
-
|
|
439
|
+
- d44c55c: Fix ProcessDetailQuery by removing form subfields
|
|
440
|
+
- !WARNING: this version requires backend version 2.1.0.
|
|
441
|
+
- It changes the graphql processes.page.form to a JSON type, so there are no subfields to request and will respond with an error.
|
|
436
442
|
|
|
437
443
|
## 0.5.2
|
|
438
444
|
|
|
439
445
|
### Patch Changes
|
|
440
446
|
|
|
441
|
-
-
|
|
442
|
-
-
|
|
447
|
+
- e88410d: Update form fields to remove 'organisation' naming
|
|
448
|
+
- 2310074: 723: Fix SummaryField .includes is not a function
|
|
443
449
|
|
|
444
450
|
## 0.5.1
|
|
445
451
|
|
|
446
452
|
### Patch Changes
|
|
447
453
|
|
|
448
|
-
-
|
|
449
|
-
-
|
|
450
|
-
-
|
|
454
|
+
- dac8fb2: update date presentation and move getDate to utils
|
|
455
|
+
- e3b847a: Adds error boundary at the top level of the app
|
|
456
|
+
- 926d47b: Table enhancements: Introduces a loading-placeholder and a no-data-placeholder. Prevents showing previous page results while loading new data.
|
|
451
457
|
|
|
452
458
|
## 0.5.0
|
|
453
459
|
|
|
454
460
|
### Minor Changes
|
|
455
461
|
|
|
456
|
-
-
|
|
462
|
+
- 267a753: Adding RTK and RTK Query for some endpoints and store data
|
|
457
463
|
|
|
458
464
|
## 0.4.0
|
|
459
465
|
|
|
460
466
|
### Minor Changes
|
|
461
467
|
|
|
462
|
-
-
|
|
468
|
+
- cdc668f: 544 - Export functionality for the tables
|
|
463
469
|
|
|
464
470
|
### Patch Changes
|
|
465
471
|
|
|
466
|
-
-
|
|
467
|
-
-
|
|
468
|
-
-
|
|
469
|
-
-
|
|
472
|
+
- e8af27c: Process table - each column width in absolute or %
|
|
473
|
+
- e9af205: change order tabs sub-detail-page
|
|
474
|
+
- 996fc9f: added border radius to wfo tree and empty PB card placeholder
|
|
475
|
+
- 41e0cc9: added copyright to sidebar
|
|
470
476
|
|
|
471
477
|
## 0.3.1
|
|
472
478
|
|
|
473
479
|
### Patch Changes
|
|
474
480
|
|
|
475
|
-
-
|
|
476
|
-
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
-
|
|
481
|
+
- d824a58: fix uuid in breadcrumb
|
|
482
|
+
- cb3142a: - expand the root product block card by default
|
|
483
|
+
- change tree icon of root product block
|
|
484
|
+
- open other subscription detail page opens in new tab
|
|
485
|
+
- use title of root product block in tree like the other product blocks
|
|
486
|
+
- e6aaef7: 598 Fixes invisible email in step list
|
|
481
487
|
|
|
482
488
|
## 0.3.0
|
|
483
489
|
|
|
484
490
|
### Minor Changes
|
|
485
491
|
|
|
486
|
-
-
|
|
492
|
+
- ef5eace: Updates all major dependencies including Typescript to version 5 and NextJS to version 14
|
|
487
493
|
|
|
488
494
|
## 0.2.7
|
|
489
495
|
|
|
490
496
|
### Patch Changes
|
|
491
497
|
|
|
492
|
-
-
|
|
498
|
+
- ce48846: Updates linting rules to ban all console statements except console.error()
|
|
493
499
|
|
|
494
500
|
## 0.2.6
|
|
495
501
|
|
|
496
502
|
### Patch Changes
|
|
497
503
|
|
|
498
|
-
-
|
|
504
|
+
- 6597ac1: Test release after adding absolute imports (issue 414)
|
|
499
505
|
|
|
500
506
|
## 0.2.5
|
|
501
507
|
|
|
502
508
|
### Patch Changes
|
|
503
509
|
|
|
504
|
-
-
|
|
510
|
+
- 6d680f6: Test release before adding absolute imports (issue 414)
|
|
505
511
|
|
|
506
512
|
## 0.2.4
|
|
507
513
|
|
|
508
514
|
### Patch Changes
|
|
509
515
|
|
|
510
|
-
-
|
|
516
|
+
- 38d1229: Fixed handling navigation for pages with sidebar submenu items
|
|
511
517
|
|
|
512
518
|
## 0.2.3
|
|
513
519
|
|
|
514
520
|
### Patch Changes
|
|
515
521
|
|
|
516
|
-
-
|
|
522
|
+
- 577825a: Adds title to process list page
|
|
517
523
|
|
|
518
524
|
## 0.2.2
|
|
519
525
|
|
|
520
526
|
### Patch Changes
|
|
521
527
|
|
|
522
|
-
-
|
|
528
|
+
- f49382c: Updates metadata pages and adds initial version of process-list page
|
|
523
529
|
|
|
524
530
|
## 0.2.1
|
|
525
531
|
|
|
526
532
|
### Patch Changes
|
|
527
533
|
|
|
528
|
-
-
|
|
534
|
+
- 3533525: Updated TS-Config to improve developer experience
|
|
529
535
|
|
|
530
536
|
## 0.2.0
|
|
531
537
|
|
|
532
538
|
### Minor Changes
|
|
533
539
|
|
|
534
|
-
-
|
|
540
|
+
- 6c4cb21: Added translation setup and next-inl configuration. Translation strings are now available when using the useTranslations hook. For more on how to add translations refer to apps/wfo-ui/translations/README.md
|
|
535
541
|
|
|
536
542
|
## 0.1.2
|
|
537
543
|
|
|
538
544
|
### Patch Changes
|
|
539
545
|
|
|
540
|
-
-
|
|
546
|
+
- 0cef169: Splitted WFO in separate packages
|
|
541
547
|
|
|
542
548
|
## 0.1.1
|
|
543
549
|
|
|
544
550
|
### Patch Changes
|
|
545
551
|
|
|
546
|
-
-
|
|
552
|
+
- Converted tsconfig and eslint to standalone NPM package
|
|
547
553
|
|
|
548
554
|
## 0.1.0
|
|
549
555
|
|
|
550
556
|
### Minor Changes
|
|
551
557
|
|
|
552
|
-
-
|
|
558
|
+
- c597fc5: Switched to tsup build in turborepo
|
package/dist/index.d.ts
CHANGED
|
@@ -2811,7 +2811,7 @@ declare class WfoErrorBoundary extends React__default.Component<ErrorBoundaryPro
|
|
|
2811
2811
|
hasError: boolean;
|
|
2812
2812
|
};
|
|
2813
2813
|
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
2814
|
-
render(): string | number | boolean | Iterable<React__default.ReactNode> | React__default.
|
|
2814
|
+
render(): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<React__default.AwaitedReactNode> | _emotion_react_jsx_runtime.JSX.Element | null | undefined;
|
|
2815
2815
|
}
|
|
2816
2816
|
|
|
2817
2817
|
declare type StepListItem = {
|
package/dist/index.js
CHANGED
|
@@ -53,10 +53,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
53
53
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
54
54
|
mod
|
|
55
55
|
));
|
|
56
|
-
var __publicField = (obj, key, value) =>
|
|
57
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
58
|
-
return value;
|
|
59
|
-
};
|
|
56
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
60
57
|
var __async = (__this, __arguments, generator) => {
|
|
61
58
|
return new Promise((resolve, reject) => {
|
|
62
59
|
var fulfilled = (value) => {
|
|
@@ -29242,11 +29239,7 @@ function isPending(...asyncThunks) {
|
|
|
29242
29239
|
if (!isAsyncThunkArray(asyncThunks)) {
|
|
29243
29240
|
return isPending()(asyncThunks[0]);
|
|
29244
29241
|
}
|
|
29245
|
-
return (
|
|
29246
|
-
const matchers = asyncThunks.map((asyncThunk) => asyncThunk.pending);
|
|
29247
|
-
const combinedMatcher = isAnyOf(...matchers);
|
|
29248
|
-
return combinedMatcher(action);
|
|
29249
|
-
};
|
|
29242
|
+
return isAnyOf(...asyncThunks.map((asyncThunk) => asyncThunk.pending));
|
|
29250
29243
|
}
|
|
29251
29244
|
function isRejected(...asyncThunks) {
|
|
29252
29245
|
if (asyncThunks.length === 0) {
|
|
@@ -29255,29 +29248,19 @@ function isRejected(...asyncThunks) {
|
|
|
29255
29248
|
if (!isAsyncThunkArray(asyncThunks)) {
|
|
29256
29249
|
return isRejected()(asyncThunks[0]);
|
|
29257
29250
|
}
|
|
29258
|
-
return (
|
|
29259
|
-
const matchers = asyncThunks.map((asyncThunk) => asyncThunk.rejected);
|
|
29260
|
-
const combinedMatcher = isAnyOf(...matchers);
|
|
29261
|
-
return combinedMatcher(action);
|
|
29262
|
-
};
|
|
29251
|
+
return isAnyOf(...asyncThunks.map((asyncThunk) => asyncThunk.rejected));
|
|
29263
29252
|
}
|
|
29264
29253
|
function isRejectedWithValue(...asyncThunks) {
|
|
29265
29254
|
const hasFlag = (action) => {
|
|
29266
29255
|
return action && action.meta && action.meta.rejectedWithValue;
|
|
29267
29256
|
};
|
|
29268
29257
|
if (asyncThunks.length === 0) {
|
|
29269
|
-
return (
|
|
29270
|
-
const combinedMatcher = isAllOf(isRejected(...asyncThunks), hasFlag);
|
|
29271
|
-
return combinedMatcher(action);
|
|
29272
|
-
};
|
|
29258
|
+
return isAllOf(isRejected(...asyncThunks), hasFlag);
|
|
29273
29259
|
}
|
|
29274
29260
|
if (!isAsyncThunkArray(asyncThunks)) {
|
|
29275
29261
|
return isRejectedWithValue()(asyncThunks[0]);
|
|
29276
29262
|
}
|
|
29277
|
-
return (
|
|
29278
|
-
const combinedMatcher = isAllOf(isRejected(...asyncThunks), hasFlag);
|
|
29279
|
-
return combinedMatcher(action);
|
|
29280
|
-
};
|
|
29263
|
+
return isAllOf(isRejected(...asyncThunks), hasFlag);
|
|
29281
29264
|
}
|
|
29282
29265
|
function isFulfilled(...asyncThunks) {
|
|
29283
29266
|
if (asyncThunks.length === 0) {
|
|
@@ -29286,11 +29269,7 @@ function isFulfilled(...asyncThunks) {
|
|
|
29286
29269
|
if (!isAsyncThunkArray(asyncThunks)) {
|
|
29287
29270
|
return isFulfilled()(asyncThunks[0]);
|
|
29288
29271
|
}
|
|
29289
|
-
return (
|
|
29290
|
-
const matchers = asyncThunks.map((asyncThunk) => asyncThunk.fulfilled);
|
|
29291
|
-
const combinedMatcher = isAnyOf(...matchers);
|
|
29292
|
-
return combinedMatcher(action);
|
|
29293
|
-
};
|
|
29272
|
+
return isAnyOf(...asyncThunks.map((asyncThunk) => asyncThunk.fulfilled));
|
|
29294
29273
|
}
|
|
29295
29274
|
function isAsyncThunkAction(...asyncThunks) {
|
|
29296
29275
|
if (asyncThunks.length === 0) {
|
|
@@ -29299,14 +29278,7 @@ function isAsyncThunkAction(...asyncThunks) {
|
|
|
29299
29278
|
if (!isAsyncThunkArray(asyncThunks)) {
|
|
29300
29279
|
return isAsyncThunkAction()(asyncThunks[0]);
|
|
29301
29280
|
}
|
|
29302
|
-
return (
|
|
29303
|
-
const matchers = [];
|
|
29304
|
-
for (const asyncThunk of asyncThunks) {
|
|
29305
|
-
matchers.push(asyncThunk.pending, asyncThunk.rejected, asyncThunk.fulfilled);
|
|
29306
|
-
}
|
|
29307
|
-
const combinedMatcher = isAnyOf(...matchers);
|
|
29308
|
-
return combinedMatcher(action);
|
|
29309
|
-
};
|
|
29281
|
+
return isAnyOf(...asyncThunks.flatMap((asyncThunk) => [asyncThunk.pending, asyncThunk.rejected, asyncThunk.fulfilled]));
|
|
29310
29282
|
}
|
|
29311
29283
|
var commonProperties = ["name", "message", "stack", "code"];
|
|
29312
29284
|
var RejectWithValue = class {
|
|
@@ -30421,6 +30393,9 @@ function buildThunks({
|
|
|
30421
30393
|
});
|
|
30422
30394
|
}
|
|
30423
30395
|
}
|
|
30396
|
+
if (ret.patches.length === 0) {
|
|
30397
|
+
return ret;
|
|
30398
|
+
}
|
|
30424
30399
|
dispatch(api.util.patchQueryData(endpointName, args, ret.patches, updateProvided));
|
|
30425
30400
|
return ret;
|
|
30426
30401
|
};
|
|
@@ -31128,10 +31103,16 @@ var defaultSerializeQueryArgs = ({
|
|
|
31128
31103
|
if (typeof cached === "string") {
|
|
31129
31104
|
serialized = cached;
|
|
31130
31105
|
} else {
|
|
31131
|
-
const stringified = JSON.stringify(queryArgs, (key, value) =>
|
|
31132
|
-
|
|
31133
|
-
|
|
31134
|
-
|
|
31106
|
+
const stringified = JSON.stringify(queryArgs, (key, value) => {
|
|
31107
|
+
value = typeof value === "bigint" ? {
|
|
31108
|
+
$bigint: value.toString()
|
|
31109
|
+
} : value;
|
|
31110
|
+
value = isPlainObject(value) ? Object.keys(value).sort().reduce((acc, key2) => {
|
|
31111
|
+
acc[key2] = value[key2];
|
|
31112
|
+
return acc;
|
|
31113
|
+
}, {}) : value;
|
|
31114
|
+
return value;
|
|
31115
|
+
});
|
|
31135
31116
|
if (isPlainObject(queryArgs)) {
|
|
31136
31117
|
cache == null ? void 0 : cache.set(queryArgs, stringified);
|
|
31137
31118
|
}
|
|
@@ -31255,6 +31236,7 @@ var THIRTY_TWO_BIT_MAX_TIMER_SECONDS = 2147483647 / 1e3 - 1;
|
|
|
31255
31236
|
var buildCacheCollectionHandler = ({
|
|
31256
31237
|
reducerPath,
|
|
31257
31238
|
api,
|
|
31239
|
+
queryThunk,
|
|
31258
31240
|
context,
|
|
31259
31241
|
internalState
|
|
31260
31242
|
}) => {
|
|
@@ -31262,6 +31244,7 @@ var buildCacheCollectionHandler = ({
|
|
|
31262
31244
|
removeQueryResult,
|
|
31263
31245
|
unsubscribeQueryResult
|
|
31264
31246
|
} = api.internalActions;
|
|
31247
|
+
const canTriggerUnsubscribe = isAnyOf(unsubscribeQueryResult.match, queryThunk.fulfilled, queryThunk.rejected);
|
|
31265
31248
|
function anySubscriptionsRemainingForKey(queryCacheKey) {
|
|
31266
31249
|
const subscriptions = internalState.currentSubscriptions[queryCacheKey];
|
|
31267
31250
|
return !!subscriptions && !isObjectEmpty(subscriptions);
|
|
@@ -31269,11 +31252,11 @@ var buildCacheCollectionHandler = ({
|
|
|
31269
31252
|
const currentRemovalTimeouts = {};
|
|
31270
31253
|
const handler = (action, mwApi, internalState2) => {
|
|
31271
31254
|
var _a;
|
|
31272
|
-
if (
|
|
31255
|
+
if (canTriggerUnsubscribe(action)) {
|
|
31273
31256
|
const state = mwApi.getState()[reducerPath];
|
|
31274
31257
|
const {
|
|
31275
31258
|
queryCacheKey
|
|
31276
|
-
} = action.payload;
|
|
31259
|
+
} = unsubscribeQueryResult.match(action) ? action.payload : action.meta.arg;
|
|
31277
31260
|
handleUnsubscribe(queryCacheKey, (_a = state.queries[queryCacheKey]) == null ? void 0 : _a.endpointName, mwApi, state.config);
|
|
31278
31261
|
}
|
|
31279
31262
|
if (api.util.resetApiState.match(action)) {
|
|
@@ -32119,10 +32102,16 @@ var defaultSerializeQueryArgs2 = ({
|
|
|
32119
32102
|
if (typeof cached === "string") {
|
|
32120
32103
|
serialized = cached;
|
|
32121
32104
|
} else {
|
|
32122
|
-
const stringified = JSON.stringify(queryArgs, (key, value) =>
|
|
32123
|
-
|
|
32124
|
-
|
|
32125
|
-
|
|
32105
|
+
const stringified = JSON.stringify(queryArgs, (key, value) => {
|
|
32106
|
+
value = typeof value === "bigint" ? {
|
|
32107
|
+
$bigint: value.toString()
|
|
32108
|
+
} : value;
|
|
32109
|
+
value = isPlainObject(value) ? Object.keys(value).sort().reduce((acc, key2) => {
|
|
32110
|
+
acc[key2] = value[key2];
|
|
32111
|
+
return acc;
|
|
32112
|
+
}, {}) : value;
|
|
32113
|
+
return value;
|
|
32114
|
+
});
|
|
32126
32115
|
if (isPlainObject(queryArgs)) {
|
|
32127
32116
|
cache2 == null ? void 0 : cache2.set(queryArgs, stringified);
|
|
32128
32117
|
}
|
|
@@ -32212,7 +32201,7 @@ function buildHooks({
|
|
|
32212
32201
|
data = currentState.data;
|
|
32213
32202
|
const hasData = data !== void 0;
|
|
32214
32203
|
const isFetching = currentState.isLoading;
|
|
32215
|
-
const isLoading = !hasData && isFetching;
|
|
32204
|
+
const isLoading = (!lastResult || lastResult.isLoading || lastResult.isUninitialized) && !hasData && isFetching;
|
|
32216
32205
|
const isSuccess = currentState.isSuccess || isFetching && hasData;
|
|
32217
32206
|
return __spreadProps(__spreadValues({}, currentState), {
|
|
32218
32207
|
data,
|
|
@@ -32240,7 +32229,7 @@ function buildHooks({
|
|
|
32240
32229
|
initiate
|
|
32241
32230
|
} = api.endpoints[name];
|
|
32242
32231
|
const dispatch = useDispatch3();
|
|
32243
|
-
const subscriptionSelectorsRef = useRef3();
|
|
32232
|
+
const subscriptionSelectorsRef = useRef3(void 0);
|
|
32244
32233
|
if (!subscriptionSelectorsRef.current) {
|
|
32245
32234
|
const returnedValue = dispatch(api.internalActions.internal_getRTKQSubscriptions());
|
|
32246
32235
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -32269,7 +32258,7 @@ function buildHooks({
|
|
|
32269
32258
|
skipPollingIfUnfocused
|
|
32270
32259
|
});
|
|
32271
32260
|
const lastRenderHadSubscription = useRef3(false);
|
|
32272
|
-
const promiseRef = useRef3();
|
|
32261
|
+
const promiseRef = useRef3(void 0);
|
|
32273
32262
|
let {
|
|
32274
32263
|
queryCacheKey,
|
|
32275
32264
|
requestId
|
|
@@ -32340,7 +32329,7 @@ function buildHooks({
|
|
|
32340
32329
|
} = api.endpoints[name];
|
|
32341
32330
|
const dispatch = useDispatch3();
|
|
32342
32331
|
const [arg, setArg] = useState(UNINITIALIZED_VALUE);
|
|
32343
|
-
const promiseRef = useRef3();
|
|
32332
|
+
const promiseRef = useRef3(void 0);
|
|
32344
32333
|
const stableSubscriptionOptions = useShallowStableValue({
|
|
32345
32334
|
refetchOnReconnect,
|
|
32346
32335
|
refetchOnFocus,
|
|
@@ -32392,7 +32381,7 @@ function buildHooks({
|
|
|
32392
32381
|
select
|
|
32393
32382
|
} = api.endpoints[name];
|
|
32394
32383
|
const stableArg = useStableQueryArgs(skip ? skipToken : arg, serializeQueryArgs, context.endpointDefinitions[name], name);
|
|
32395
|
-
const lastValue = useRef3();
|
|
32384
|
+
const lastValue = useRef3(void 0);
|
|
32396
32385
|
const selectDefaultResult = useMemo2(() => createSelector2([select(stableArg), (_, lastResult) => lastResult, (_) => stableArg], queryStatePreSelector, {
|
|
32397
32386
|
memoizeOptions: {
|
|
32398
32387
|
resultEqualityCheck: shallowEqual2
|
|
@@ -33132,12 +33121,9 @@ var TreeProvider = ({ children }) => {
|
|
|
33132
33121
|
const initialDepth = depths[itemIndex];
|
|
33133
33122
|
const collapsedNodeIds = [];
|
|
33134
33123
|
for (let i = itemIndex; i < depths.length; i++) {
|
|
33135
|
-
if (i === itemIndex)
|
|
33136
|
-
|
|
33137
|
-
else if (depths[i]
|
|
33138
|
-
collapsedNodeIds.push(i);
|
|
33139
|
-
else if (depths[i] <= initialDepth)
|
|
33140
|
-
break;
|
|
33124
|
+
if (i === itemIndex) collapsedNodeIds.push(i);
|
|
33125
|
+
else if (depths[i] > initialDepth) collapsedNodeIds.push(i);
|
|
33126
|
+
else if (depths[i] <= initialDepth) break;
|
|
33141
33127
|
}
|
|
33142
33128
|
setExpandedIds(
|
|
33143
33129
|
(prevExpandedIds) => prevExpandedIds.filter((id) => !collapsedNodeIds.includes(id))
|
|
@@ -36241,8 +36227,7 @@ var WfoWorkflowTargetBadge = ({
|
|
|
36241
36227
|
target
|
|
36242
36228
|
}) => {
|
|
36243
36229
|
const { theme, toSecondaryColor } = useOrchestratorTheme();
|
|
36244
|
-
if (!target)
|
|
36245
|
-
return null;
|
|
36230
|
+
if (!target) return null;
|
|
36246
36231
|
const getBadgeColorFromTarget = (_target) => {
|
|
36247
36232
|
const {
|
|
36248
36233
|
primary,
|
|
@@ -36489,19 +36474,16 @@ var parseDate = (date) => {
|
|
|
36489
36474
|
var calculateTimeDifference = (from, to) => {
|
|
36490
36475
|
const fromDate = parseDate(from);
|
|
36491
36476
|
const toDate = parseDate(to);
|
|
36492
|
-
if (!fromDate || !toDate)
|
|
36493
|
-
return "";
|
|
36477
|
+
if (!fromDate || !toDate) return "";
|
|
36494
36478
|
const timeDifference = (toDate.getTime() - fromDate.getTime()) / 1e3;
|
|
36495
|
-
if (timeDifference < 0)
|
|
36496
|
-
return "";
|
|
36479
|
+
if (timeDifference < 0) return "";
|
|
36497
36480
|
const seconds = Math.floor(timeDifference);
|
|
36498
36481
|
const minutes = Math.floor(seconds / 60);
|
|
36499
36482
|
const hours = Math.floor(minutes / 60);
|
|
36500
36483
|
return `${hours.toString().padStart(2, "0")}:${(minutes % 60).toString().padStart(2, "0")}:${(seconds % 60 % 3600).toString().padStart(2, "0")}`;
|
|
36501
36484
|
};
|
|
36502
36485
|
var formatDate = (dateString) => {
|
|
36503
|
-
if (!dateString)
|
|
36504
|
-
return "";
|
|
36486
|
+
if (!dateString) return "";
|
|
36505
36487
|
const date = parseDate(dateString);
|
|
36506
36488
|
return parseDateToLocaleDateTimeString(date);
|
|
36507
36489
|
};
|
|
@@ -36604,8 +36586,7 @@ function getEnvironmentVariables(envVars) {
|
|
|
36604
36586
|
|
|
36605
36587
|
// src/utils/getProductNamesFromProcess.ts
|
|
36606
36588
|
var getProductNamesFromProcess = (process3) => {
|
|
36607
|
-
if (!process3)
|
|
36608
|
-
return "";
|
|
36589
|
+
if (!process3) return "";
|
|
36609
36590
|
const productNames = process3 && process3.subscriptions && process3.subscriptions.page ? process3.subscriptions.page.map((page) => page.product.name) : [];
|
|
36610
36591
|
return productNames.filter((name, index) => productNames.indexOf(name) === index).join(", ");
|
|
36611
36592
|
};
|
|
@@ -36667,15 +36648,12 @@ var getConcatenatedResult = (results, fields) => {
|
|
|
36667
36648
|
|
|
36668
36649
|
// src/utils/strings.ts
|
|
36669
36650
|
var upperCaseFirstChar = (value) => {
|
|
36670
|
-
if (value.length === 0)
|
|
36671
|
-
|
|
36672
|
-
if (value.length === 1)
|
|
36673
|
-
return value.charAt(0).toUpperCase();
|
|
36651
|
+
if (value.length === 0) return value;
|
|
36652
|
+
if (value.length === 1) return value.charAt(0).toUpperCase();
|
|
36674
36653
|
return value.charAt(0).toUpperCase() + value.slice(1).toLowerCase();
|
|
36675
36654
|
};
|
|
36676
36655
|
var removeSuffix = (value, splitChar = "?") => {
|
|
36677
|
-
if (value.length <= 1 || !value.includes(splitChar))
|
|
36678
|
-
return value;
|
|
36656
|
+
if (value.length <= 1 || !value.includes(splitChar)) return value;
|
|
36679
36657
|
return value.split(splitChar).slice(0, -1).join();
|
|
36680
36658
|
};
|
|
36681
36659
|
var camelToHuman = (value) => {
|
|
@@ -38717,8 +38695,7 @@ var WfoSubscriptionActions = ({
|
|
|
38717
38695
|
return /* @__PURE__ */ jsx84(Link4, { href: url, onClick: handleLinkClick, children: actionItem });
|
|
38718
38696
|
};
|
|
38719
38697
|
const tooltipIt = (actionItem) => {
|
|
38720
|
-
if (!action.reason)
|
|
38721
|
-
return actionItem;
|
|
38698
|
+
if (!action.reason) return actionItem;
|
|
38722
38699
|
const tooltipContent = t(action.reason, flattenArrayProps(action));
|
|
38723
38700
|
return /* @__PURE__ */ jsx84("div", { children: /* @__PURE__ */ jsx84(EuiToolTip3, { position: "top", content: tooltipContent, children: actionItem }) });
|
|
38724
38701
|
};
|
|
@@ -39122,8 +39099,7 @@ import { EuiCallOut, EuiFlexGroup as EuiFlexGroup11, EuiFlexItem as EuiFlexItem9
|
|
|
39122
39099
|
|
|
39123
39100
|
// src/utils/getTokenName.ts
|
|
39124
39101
|
function getTokenName(name) {
|
|
39125
|
-
if (typeof name === "boolean")
|
|
39126
|
-
return "tokenConstant";
|
|
39102
|
+
if (typeof name === "boolean") return "tokenConstant";
|
|
39127
39103
|
const icons = {
|
|
39128
39104
|
Node: "tokenNamespace",
|
|
39129
39105
|
"IP BGP Service Settings": "tokenEnumMember",
|
|
@@ -39361,8 +39337,7 @@ var WfoSubscriptionDetailTree = ({
|
|
|
39361
39337
|
expandAll();
|
|
39362
39338
|
}
|
|
39363
39339
|
};
|
|
39364
|
-
if (!tree)
|
|
39365
|
-
return null;
|
|
39340
|
+
if (!tree) return null;
|
|
39366
39341
|
return /* @__PURE__ */ jsxs63(EuiFlexGroup11, { style: { marginTop: 15 }, children: [
|
|
39367
39342
|
/* @__PURE__ */ jsx91(EuiFlexItem9, { style: { maxWidth: 450, width: 450 }, children: /* @__PURE__ */ jsxs63(EuiFlexGroup11, { direction: "column", children: [
|
|
39368
39343
|
/* @__PURE__ */ jsx91(EuiFlexItem9, { grow: false, children: /* @__PURE__ */ jsxs63(
|
|
@@ -44944,8 +44919,7 @@ var CustomTitleJSONSchemaBridge = class extends JSONSchemaBridge {
|
|
|
44944
44919
|
default: defaultValue = _default !== void 0 ? _default : get8(this.schema.default, name)
|
|
44945
44920
|
} = this._compiledSchema[name];
|
|
44946
44921
|
const { const: constValue = _const, type = _type } = this._compiledSchema[name];
|
|
44947
|
-
if (defaultValue === void 0)
|
|
44948
|
-
defaultValue = constValue;
|
|
44922
|
+
if (defaultValue === void 0) defaultValue = constValue;
|
|
44949
44923
|
if (defaultValue === void 0) {
|
|
44950
44924
|
const nameArray = joinName10(null, name);
|
|
44951
44925
|
const relativeName = nameArray.pop();
|
|
@@ -44957,8 +44931,7 @@ var CustomTitleJSONSchemaBridge = class extends JSONSchemaBridge {
|
|
|
44957
44931
|
defaultValue = get8(model, relativeName);
|
|
44958
44932
|
}
|
|
44959
44933
|
}
|
|
44960
|
-
if (defaultValue !== void 0)
|
|
44961
|
-
return cloneDeep2(defaultValue);
|
|
44934
|
+
if (defaultValue !== void 0) return cloneDeep2(defaultValue);
|
|
44962
44935
|
if (type === "array" && !props.lookUpParent && !name.endsWith("$")) {
|
|
44963
44936
|
const item = this.getInitialValue(joinName10(name, "0"));
|
|
44964
44937
|
const items = props.initialCount || 0;
|
|
@@ -47555,7 +47528,13 @@ var WfoStepList = React48.forwardRef(
|
|
|
47555
47528
|
}
|
|
47556
47529
|
})
|
|
47557
47530
|
}));
|
|
47558
|
-
const getReferenceCallbackForStepId = (stepId) => (node) =>
|
|
47531
|
+
const getReferenceCallbackForStepId = (stepId) => (node) => {
|
|
47532
|
+
if (node) {
|
|
47533
|
+
stepReferences.current.set(stepId, node);
|
|
47534
|
+
} else if (stepId && stepReferences.current.has(stepId)) {
|
|
47535
|
+
stepReferences.current.delete(stepId);
|
|
47536
|
+
}
|
|
47537
|
+
};
|
|
47559
47538
|
return /* @__PURE__ */ jsx164(Fragment39, { children: stepListItems.map((stepListItem, index) => {
|
|
47560
47539
|
const stepComponent = /* @__PURE__ */ jsxs91("div", { children: [
|
|
47561
47540
|
index !== 0 && /* @__PURE__ */ jsx164("div", { css: stepSpacerStyle }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orchestrator-ui/orchestrator-ui-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.30.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Library of UI Components used to display the workflow orchestrator frontend",
|
|
6
6
|
"author": {
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@emotion/css": "^11.11.2",
|
|
35
|
-
"@emotion/react": "^11.11.
|
|
35
|
+
"@emotion/react": "^11.11.4",
|
|
36
|
+
"@elastic/eui": "^95.1.0",
|
|
36
37
|
"@rtk-query/graphql-request-base-query": "^2.3.1",
|
|
37
38
|
"invariant": "^2.2.4",
|
|
38
39
|
"lodash": "^4.17.21",
|
|
@@ -56,13 +57,13 @@
|
|
|
56
57
|
"@orchestrator-ui/eslint-config-custom": "*",
|
|
57
58
|
"@orchestrator-ui/jest-config": "*",
|
|
58
59
|
"@reduxjs/toolkit": "^2.0.1",
|
|
59
|
-
"@storybook/addon-essentials": "^
|
|
60
|
-
"@storybook/addon-interactions": "^
|
|
61
|
-
"@storybook/addon-links": "^
|
|
62
|
-
"@storybook/addon-onboarding": "^1.
|
|
63
|
-
"@storybook/blocks": "^
|
|
64
|
-
"@storybook/nextjs": "^
|
|
65
|
-
"@storybook/react": "^
|
|
60
|
+
"@storybook/addon-essentials": "^8.1.10",
|
|
61
|
+
"@storybook/addon-interactions": "^8.1.10",
|
|
62
|
+
"@storybook/addon-links": "^8.1.10",
|
|
63
|
+
"@storybook/addon-onboarding": "^8.1.10",
|
|
64
|
+
"@storybook/blocks": "^8.1.10",
|
|
65
|
+
"@storybook/nextjs": "^8.1.10",
|
|
66
|
+
"@storybook/react": "^8.1.10",
|
|
66
67
|
"@storybook/testing-library": "^0.2.0",
|
|
67
68
|
"@testing-library/jest-dom": "^6.1.5",
|
|
68
69
|
"@testing-library/react": "^14.0.0",
|
|
@@ -75,19 +76,16 @@
|
|
|
75
76
|
"jest": "^29.7.0",
|
|
76
77
|
"jest-environment-jsdom": "^29.7.0",
|
|
77
78
|
"jest-watch-typeahead": "^2.2.2",
|
|
78
|
-
"react": "^18.2.0",
|
|
79
|
-
"react-dom": "^18.2.0",
|
|
80
79
|
"storybook": "^8.1.10",
|
|
81
80
|
"tsup": "^8.0.1",
|
|
82
|
-
"typescript": "^5.
|
|
81
|
+
"typescript": "^5.5.2",
|
|
83
82
|
"uniforms-bridge-simple-schema-2": "^3.8.1"
|
|
84
83
|
},
|
|
85
84
|
"peerDependencies": {
|
|
86
|
-
"@elastic/eui": "^93.1.1",
|
|
87
85
|
"next": "^14.0.4",
|
|
88
|
-
"react": "^18.
|
|
89
|
-
"react-dom": "^18.
|
|
90
|
-
"react-redux": "^
|
|
86
|
+
"react": "^18.3.1",
|
|
87
|
+
"react-dom": "^18.3.1",
|
|
88
|
+
"react-redux": "^8.1.3"
|
|
91
89
|
},
|
|
92
90
|
"type": "module",
|
|
93
91
|
"main": "./dist/index.js",
|
|
@@ -69,10 +69,13 @@ export const WfoStepList = React.forwardRef(
|
|
|
69
69
|
}));
|
|
70
70
|
|
|
71
71
|
const getReferenceCallbackForStepId =
|
|
72
|
-
(stepId: string) => (node: HTMLDivElement | null) =>
|
|
73
|
-
node
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
(stepId: string) => (node: HTMLDivElement | null) => {
|
|
73
|
+
if (node) {
|
|
74
|
+
stepReferences.current.set(stepId, node);
|
|
75
|
+
} else if (stepId && stepReferences.current.has(stepId)) {
|
|
76
|
+
stepReferences.current.delete(stepId);
|
|
77
|
+
}
|
|
78
|
+
};
|
|
76
79
|
|
|
77
80
|
return (
|
|
78
81
|
<>
|