@orchestrator-ui/orchestrator-ui-components 5.9.0 → 6.1.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 +8 -8
- package/.turbo/turbo-lint.log +10 -1
- package/.turbo/turbo-test.log +10 -10
- package/CHANGELOG.md +12 -0
- package/__mocks__/@copilotkit/react-core.js +9 -0
- package/__mocks__/@copilotkit/react-ui.js +11 -0
- package/dist/index.d.ts +1432 -2
- package/dist/index.js +3006 -28
- package/dist/index.js.map +1 -1
- package/package.json +5 -1
- package/src/components/WfoAgent/FilterDisplay/FilterDisplay.tsx +182 -0
- package/src/components/WfoAgent/FilterDisplay/index.ts +1 -0
- package/src/components/WfoAgent/FilterDisplay/styles.ts +62 -0
- package/src/components/WfoAgent/WfoAgent/WfoAgent.tsx +100 -0
- package/src/components/WfoAgent/WfoAgent/index.ts +1 -0
- package/src/components/WfoAgent/index.ts +2 -0
- package/src/components/WfoSearchPage/WfoConditionRow/WfoConditionRow.tsx +388 -0
- package/src/components/WfoSearchPage/WfoConditionRow/WfoFieldSelector.tsx +43 -0
- package/src/components/WfoSearchPage/WfoConditionRow/WfoOperatorSelector.tsx +100 -0
- package/src/components/WfoSearchPage/WfoConditionRow/WfoPathChips.tsx +193 -0
- package/src/components/WfoSearchPage/WfoConditionRow/WfoPathSelector.tsx +54 -0
- package/src/components/WfoSearchPage/WfoConditionRow/WfoRenderFunctions.tsx +107 -0
- package/src/components/WfoSearchPage/WfoConditionRow/WfoSelectedPathDisplay.tsx +75 -0
- package/src/components/WfoSearchPage/WfoConditionRow/index.ts +11 -0
- package/src/components/WfoSearchPage/WfoConditionRow/types.ts +84 -0
- package/src/components/WfoSearchPage/WfoConditionRow/utils.ts +63 -0
- package/src/components/WfoSearchPage/WfoFilterGroup/WfoFilterGroup.tsx +238 -0
- package/src/components/WfoSearchPage/WfoFilterGroup/index.ts +1 -0
- package/src/components/WfoSearchPage/WfoSearch/WfoSearch.tsx +453 -0
- package/src/components/WfoSearchPage/WfoSearch/index.ts +1 -0
- package/src/components/WfoSearchPage/WfoSearchResults/WfoHighlightedText.tsx +63 -0
- package/src/components/WfoSearchPage/WfoSearchResults/WfoPathBreadcrumb.tsx +80 -0
- package/src/components/WfoSearchPage/WfoSearchResults/WfoSearchEmptyState.tsx +24 -0
- package/src/components/WfoSearchPage/WfoSearchResults/WfoSearchLoadingState.tsx +24 -0
- package/src/components/WfoSearchPage/WfoSearchResults/WfoSearchMetadataHeader.tsx +24 -0
- package/src/components/WfoSearchPage/WfoSearchResults/WfoSearchPaginationInfo.tsx +107 -0
- package/src/components/WfoSearchPage/WfoSearchResults/WfoSearchResultItem.tsx +157 -0
- package/src/components/WfoSearchPage/WfoSearchResults/WfoSearchResults.tsx +65 -0
- package/src/components/WfoSearchPage/WfoSearchResults/WfoSubscriptionDetailModal.tsx +55 -0
- package/src/components/WfoSearchPage/WfoSearchResults/index.ts +10 -0
- package/src/components/WfoSearchPage/WfoValueControl/WfoValueControl.tsx +247 -0
- package/src/components/WfoSearchPage/WfoValueControl/index.ts +1 -0
- package/src/components/WfoSearchPage/constants.ts +17 -0
- package/src/components/WfoSearchPage/index.ts +6 -0
- package/src/components/WfoSearchPage/utils.ts +271 -0
- package/src/components/index.ts +2 -0
- package/src/configuration/version.ts +1 -1
- package/src/hooks/useDebounce.ts +21 -0
- package/src/hooks/usePathAutoComplete.ts +133 -0
- package/src/hooks/useSearch.ts +83 -0
- package/src/hooks/useSearchPagination.ts +148 -0
- package/src/hooks/useUrlParams.ts +120 -0
- package/src/icons/WfoPencil.tsx +23 -4
- package/src/messages/en-GB.json +79 -1
- package/src/messages/nl-NL.json +2 -1
- package/src/rtk/endpoints/index.ts +1 -0
- package/src/rtk/endpoints/search.ts +90 -0
- package/src/types/index.ts +1 -0
- package/src/types/search.ts +215 -0
- package/src/utils/optionalArray.spec.ts +27 -0
- package/src/utils/optionalArray.ts +5 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@6.1.0 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@6.1.0 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 44ms
|
|
10
10
|
[34mCLI[39m Building entry: src/index.ts
|
|
11
11
|
[34mCLI[39m Using tsconfig: tsconfig.build.json
|
|
12
12
|
[34mCLI[39m tsup v8.5.0
|
|
@@ -14,8 +14,8 @@ src/configuration/version.ts 42ms
|
|
|
14
14
|
[34mCLI[39m Target: es2020
|
|
15
15
|
[34mESM[39m Build start
|
|
16
16
|
[34mDTS[39m Build start
|
|
17
|
-
[32mESM[39m [1mdist/index.js [22m[32m2.
|
|
18
|
-
[32mESM[39m [1mdist/index.js.map [22m[
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
17
|
+
[32mESM[39m [1mdist/index.js [22m[32m2.15 MB[39m
|
|
18
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m4.11 MB[39m
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 777ms
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 20950ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m895.71 KB[39m
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@6.1.0 lint
|
|
3
3
|
> eslint
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
/home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/src/components/WfoSearchPage/WfoSearch/WfoSearch.tsx
|
|
7
|
+
195:8 warning React Hook useEffect has missing dependencies: 'setSelectedRecordId' and 'setSelectedRecordIndex'. Either include them or remove the dependency array react-hooks/exhaustive-deps
|
|
8
|
+
|
|
9
|
+
/home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/src/hooks/usePathAutoComplete.ts
|
|
10
|
+
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
|
+
|
|
12
|
+
✖ 2 problems (0 errors, 2 warnings)
|
|
13
|
+
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@6.1.0 test
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
5
|
PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
|
|
6
6
|
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
7
7
|
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
8
8
|
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
9
|
-
PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
10
9
|
PASS Wfo-UI Tests src/utils/string.spec.ts
|
|
11
|
-
PASS Wfo-UI Tests src/
|
|
10
|
+
PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
12
11
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
|
|
12
|
+
PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.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/components/WfoTable/utils/tableConfigPersistence.spec.ts
|
|
16
15
|
PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
|
|
16
|
+
PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.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,10 +21,10 @@ 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/WfoForms/formFields/utils.spec.ts (6.119 s)
|
|
24
25
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts
|
|
25
|
-
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (5.892 s)
|
|
26
|
-
PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
|
|
27
26
|
PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
|
|
27
|
+
PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
|
|
28
28
|
PASS Wfo-UI Tests src/utils/filterData.spec.ts
|
|
29
29
|
PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
|
|
30
30
|
PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
|
|
@@ -35,12 +35,12 @@ PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
|
|
|
35
35
|
PASS Wfo-UI Tests src/utils/getTypedFieldFromObject.spec.ts
|
|
36
36
|
PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
|
|
37
37
|
PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
38
|
-
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
39
|
-
PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
|
|
40
38
|
PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
|
|
39
|
+
PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
|
|
40
|
+
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
41
41
|
|
|
42
42
|
Test Suites: 36 passed, 36 total
|
|
43
|
-
Tests:
|
|
43
|
+
Tests: 235 passed, 235 total
|
|
44
44
|
Snapshots: 0 total
|
|
45
|
-
Time: 9.
|
|
45
|
+
Time: 9.77 s
|
|
46
46
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @orchestrator-ui/orchestrator-ui-components
|
|
2
2
|
|
|
3
|
+
## 6.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8963f5c: Added toOptionalObjectProperty function, new compact pencil icon
|
|
8
|
+
|
|
9
|
+
## 6.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- 7408909: UI Components for the new search and agent page, integrating with the search/agent endpoints in the core package.
|
|
14
|
+
|
|
3
15
|
## 5.9.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|