@orchestrator-ui/orchestrator-ui-components 6.8.0 → 7.0.1
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 +8 -8
- package/.turbo/turbo-lint.log +5 -2
- package/.turbo/turbo-test.log +9 -10
- package/CHANGELOG.md +19 -0
- package/dist/index.d.ts +164 -4306
- package/dist/index.js +1739 -5747
- package/dist/index.js.map +1 -1
- package/package.json +4 -8
- package/src/components/WfoPydanticForm/Footer.tsx +33 -6
- package/src/components/WfoPydanticForm/RenderFormErrors.tsx +2 -1
- package/src/components/WfoPydanticForm/Row.tsx +3 -1
- package/src/components/WfoPydanticForm/fields/WfoInteger.tsx +5 -1
- package/src/components/WfoPydanticForm/fields/WfoSummary.tsx +3 -5
- package/src/components/WfoPydanticForm/fields/styles.ts +72 -0
- package/src/components/WfoSearchPage/WfoSearch/WfoSearch.tsx +42 -54
- package/src/components/WfoSearchPage/utils.ts +9 -1
- package/src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx +10 -27
- package/src/components/WfoWorkflowSteps/WfoStep/WfoStepForm.tsx +1 -1
- package/src/components/index.ts +0 -1
- package/src/configuration/version.ts +1 -1
- package/src/contexts/OrchestratorConfigContext.tsx +0 -1
- package/src/hooks/useSearch.ts +12 -2
- package/src/hooks/useSearchPagination.ts +4 -0
- package/src/messages/en-GB.json +5 -3
- package/src/pages/processes/WfoStartProcessPage.tsx +5 -107
- package/src/rtk/endpoints/index.ts +0 -2
- package/src/rtk/endpoints/search.ts +13 -4
- package/src/types/index.ts +0 -1
- package/src/types/search.ts +7 -0
- package/src/types/types.ts +0 -1
- package/src/components/WfoForms/AutoFieldLoader.tsx +0 -118
- package/src/components/WfoForms/AutoFields.tsx +0 -49
- package/src/components/WfoForms/CreateForm.tsx +0 -75
- package/src/components/WfoForms/UserInputForm.tsx +0 -697
- package/src/components/WfoForms/UserInputFormStyling.ts +0 -80
- package/src/components/WfoForms/UserInputFormWizard.tsx +0 -127
- package/src/components/WfoForms/formFields/AcceptField.tsx +0 -243
- package/src/components/WfoForms/formFields/AcceptFieldStyling.ts +0 -35
- package/src/components/WfoForms/formFields/BoolField.tsx +0 -77
- package/src/components/WfoForms/formFields/BoolFieldStyling.ts +0 -64
- package/src/components/WfoForms/formFields/ConnectedSelectField.tsx +0 -19
- package/src/components/WfoForms/formFields/CustomerField.tsx +0 -77
- package/src/components/WfoForms/formFields/DateField.tsx +0 -72
- package/src/components/WfoForms/formFields/DividerField.tsx +0 -29
- package/src/components/WfoForms/formFields/ErrorField.tsx +0 -40
- package/src/components/WfoForms/formFields/ErrorsField.tsx +0 -34
- package/src/components/WfoForms/formFields/LabelField.tsx +0 -43
- package/src/components/WfoForms/formFields/ListAddField.tsx +0 -95
- package/src/components/WfoForms/formFields/ListDelField.tsx +0 -95
- package/src/components/WfoForms/formFields/ListField.tsx +0 -117
- package/src/components/WfoForms/formFields/ListItemField.tsx +0 -40
- package/src/components/WfoForms/formFields/ListSelectField.tsx +0 -95
- package/src/components/WfoForms/formFields/LocationCodeField.tsx +0 -60
- package/src/components/WfoForms/formFields/LongTextField.tsx +0 -68
- package/src/components/WfoForms/formFields/NestField.tsx +0 -107
- package/src/components/WfoForms/formFields/NumField.tsx +0 -85
- package/src/components/WfoForms/formFields/OptGroupField.tsx +0 -74
- package/src/components/WfoForms/formFields/RadioField.tsx +0 -87
- package/src/components/WfoForms/formFields/SelectField/SelectField.tsx +0 -177
- package/src/components/WfoForms/formFields/SelectField/index.ts +0 -1
- package/src/components/WfoForms/formFields/SelectField/styles.ts +0 -52
- package/src/components/WfoForms/formFields/SubmitField.tsx +0 -50
- package/src/components/WfoForms/formFields/SubscriptionSummaryField.tsx +0 -74
- package/src/components/WfoForms/formFields/SummaryField.tsx +0 -104
- package/src/components/WfoForms/formFields/SummaryFieldStyling.ts +0 -44
- package/src/components/WfoForms/formFields/TextField.tsx +0 -81
- package/src/components/WfoForms/formFields/commonStyles.ts +0 -32
- package/src/components/WfoForms/formFields/deprecated/ContactPersonAutocomplete.tsx +0 -99
- package/src/components/WfoForms/formFields/deprecated/ContactPersonAutocompleteStyles.ts +0 -41
- package/src/components/WfoForms/formFields/deprecated/ContactPersonNameField.tsx +0 -263
- package/src/components/WfoForms/formFields/deprecated/FileUploadField.tsx +0 -151
- package/src/components/WfoForms/formFields/deprecated/ImsNodeIdField.tsx +0 -109
- package/src/components/WfoForms/formFields/deprecated/ImsPortIdField.tsx +0 -233
- package/src/components/WfoForms/formFields/deprecated/ImsPortIdFieldStyling.ts +0 -17
- package/src/components/WfoForms/formFields/deprecated/IpNetworkField.tsx +0 -105
- package/src/components/WfoForms/formFields/deprecated/IpPrefixTableField.tsx +0 -390
- package/src/components/WfoForms/formFields/deprecated/IpPrefixTableFieldStyling.ts +0 -117
- package/src/components/WfoForms/formFields/deprecated/SplitPrefix.tsx +0 -138
- package/src/components/WfoForms/formFields/deprecated/SplitPrefixStyling.ts +0 -11
- package/src/components/WfoForms/formFields/deprecated/SubscriptionField.tsx +0 -263
- package/src/components/WfoForms/formFields/deprecated/SubscriptionFieldStyling.ts +0 -33
- package/src/components/WfoForms/formFields/deprecated/TimestampField.tsx +0 -110
- package/src/components/WfoForms/formFields/deprecated/VlanField.tsx +0 -300
- package/src/components/WfoForms/formFields/deprecated/index.ts +0 -15
- package/src/components/WfoForms/formFields/deprecated/types.ts +0 -74
- package/src/components/WfoForms/formFields/deprecated/utils.ts +0 -1
- package/src/components/WfoForms/formFields/index.ts +0 -30
- package/src/components/WfoForms/formFields/listFieldStyling.ts +0 -86
- package/src/components/WfoForms/formFields/types.ts +0 -41
- package/src/components/WfoForms/formFields/utils.spec.ts +0 -296
- package/src/components/WfoForms/formFields/utils.ts +0 -69
- package/src/components/WfoForms/index.ts +0 -5
- package/src/components/WfoWorkflowSteps/WfoStep/WfoStepFormOld.tsx +0 -67
- package/src/hooks/deprecated/useGetSurfSubcriptionDropdownOptions.ts +0 -37
- package/src/hooks/deprecated/useIsTaggedPort.ts +0 -25
- package/src/rtk/endpoints/deprecated/index.ts +0 -1
- package/src/rtk/endpoints/deprecated/surfSubscriptionDropdownOptions.ts +0 -53
- package/src/rtk/endpoints/formFields.ts +0 -131
- package/src/rtk/endpoints/ipam.ts +0 -54
- package/src/types/deprecated/SurfSubscriptionDropdownOptionsFilterParams.ts +0 -10
- package/src/types/deprecated/index.ts +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@7.0.1 build
|
|
3
3
|
> npm run generate-version && tsup src/index.ts
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @orchestrator-ui/orchestrator-ui-components@
|
|
6
|
+
> @orchestrator-ui/orchestrator-ui-components@7.0.1 generate-version
|
|
7
7
|
> node -p "'export const ORCHESTRATOR_UI_LIBRARY_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'" > src/configuration/version.ts && prettier --write src/configuration/version.ts
|
|
8
8
|
|
|
9
|
-
src/configuration/version.ts
|
|
9
|
+
src/configuration/version.ts 126ms
|
|
10
10
|
[34mCLI[39m Building entry: src/index.ts
|
|
11
11
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
12
12
|
[34mCLI[39m tsup v8.5.0
|
|
@@ -14,9 +14,9 @@ src/configuration/version.ts 147ms
|
|
|
14
14
|
[34mCLI[39m Target: es2022
|
|
15
15
|
[34mCLI[39m Cleaning output folder
|
|
16
16
|
[34mESM[39m Build start
|
|
17
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
18
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m1.
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
17
|
+
[32mESM[39m [1mdist/index.js [22m[32m806.25 KB[39m
|
|
18
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m1.51 MB[39m
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 277ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
22
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 18247ms
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.08 MB[39m
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@7.0.1 lint
|
|
3
3
|
> eslint
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
/home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/src/components/WfoPydanticForm/Footer.tsx
|
|
7
|
+
40:11 warning The 'handlePrevious' function makes the dependencies of useEffect Hook (at line 72) change on every render. To fix this, wrap the definition of 'handlePrevious' in its own useCallback() Hook react-hooks/exhaustive-deps
|
|
8
|
+
|
|
6
9
|
/home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/src/components/WfoSearchPage/WfoSearch/WfoSearch.tsx
|
|
7
10
|
194:8 warning React Hook useEffect has missing dependencies: 'setSelectedRecordId' and 'setSelectedRecordIndex'. Either include them or remove the dependency array react-hooks/exhaustive-deps
|
|
8
11
|
|
|
9
12
|
/home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/src/hooks/usePathAutoComplete.ts
|
|
10
13
|
124:8 warning React Hook useEffect has a missing dependency: 'debouncedPrefix.length'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
11
14
|
|
|
12
|
-
✖
|
|
15
|
+
✖ 3 problems (0 errors, 3 warnings)
|
|
13
16
|
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@7.0.1 test
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
6
5
|
PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
|
|
7
6
|
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
8
7
|
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
8
|
+
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
9
9
|
PASS Wfo-UI Tests src/utils/string.spec.ts
|
|
10
10
|
PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
11
|
-
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
|
|
12
11
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
|
|
12
|
+
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
|
|
13
13
|
PASS Wfo-UI Tests src/utils/compareVersions.spec.ts
|
|
14
14
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
|
|
15
|
-
PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
|
|
16
15
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
|
|
16
|
+
PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
|
|
17
17
|
PASS Wfo-UI Tests src/rtk/utils.spec.ts
|
|
18
18
|
PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
|
|
19
19
|
PASS Wfo-UI Tests src/utils/getQueryParams.spec.ts
|
|
@@ -21,9 +21,6 @@ PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllo
|
|
|
21
21
|
PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
|
|
22
22
|
PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
|
|
23
23
|
PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
|
|
24
|
-
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.805 s)
|
|
25
|
-
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (7.039 s)
|
|
26
|
-
PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
|
|
27
24
|
PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
|
|
28
25
|
PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
|
|
29
26
|
PASS Wfo-UI Tests src/utils/filterData.spec.ts
|
|
@@ -38,9 +35,11 @@ PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
|
|
|
38
35
|
PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
39
36
|
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
40
37
|
PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
|
|
38
|
+
PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
|
|
39
|
+
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.276 s)
|
|
41
40
|
|
|
42
|
-
Test Suites:
|
|
43
|
-
Tests:
|
|
41
|
+
Test Suites: 35 passed, 35 total
|
|
42
|
+
Tests: 226 passed, 226 total
|
|
44
43
|
Snapshots: 0 total
|
|
45
|
-
Time:
|
|
44
|
+
Time: 7.847 s
|
|
46
45
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @orchestrator-ui/orchestrator-ui-components
|
|
2
2
|
|
|
3
|
+
## 7.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4cdef68: 2361 Make it possible as prepend field to be cleared
|
|
8
|
+
- fe2e8d0: 2355 Enable Ctrl/Cmd + Arrows to control form pages
|
|
9
|
+
- bc36592: Add option to overwrite the retriever type in the FE
|
|
10
|
+
- 8e1cbd0: Change the processes search results to use the whole div
|
|
11
|
+
|
|
12
|
+
## 7.0.0
|
|
13
|
+
|
|
14
|
+
### Major Changes
|
|
15
|
+
|
|
16
|
+
- 87f9e22: Removes uniforms in favor of PydanticForms form handling library
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- ba5bafc: Update to latest pydantic-forms version
|
|
21
|
+
|
|
3
22
|
## 6.8.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|