@orchestrator-ui/orchestrator-ui-components 5.8.1 → 6.0.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 +9 -9
- package/.turbo/turbo-lint.log +10 -1
- package/.turbo/turbo-test.log +11 -11
- package/CHANGELOG.md +12 -1
- package/__mocks__/@copilotkit/react-core.js +9 -0
- package/__mocks__/@copilotkit/react-ui.js +11 -0
- package/dist/index.d.ts +1429 -2
- package/dist/index.js +3175 -169
- package/dist/index.js.map +1 -1
- package/package.json +13 -9
- 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/WfoTree/treeUtils.spec.ts +3 -3
- 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/messages/en-GB.json +77 -0
- 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/.turbo/turbo-build.log
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@6.0.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.0.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 38ms
|
|
10
10
|
[34mCLI[39m Building entry: src/index.ts
|
|
11
11
|
[34mCLI[39m Using tsconfig: tsconfig.build.json
|
|
12
|
-
[34mCLI[39m tsup v8.
|
|
12
|
+
[34mCLI[39m tsup v8.5.0
|
|
13
13
|
[34mCLI[39m Using tsup config: /home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/tsup.config.ts
|
|
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 690ms
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 20264ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m895.48 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.0.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,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@6.0.0 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
|
|
6
|
+
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
7
7
|
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
8
8
|
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
9
9
|
PASS Wfo-UI Tests src/utils/string.spec.ts
|
|
10
|
-
PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
11
10
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
|
|
12
|
-
PASS Wfo-UI Tests src/
|
|
11
|
+
PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
13
12
|
PASS Wfo-UI Tests src/utils/compareVersions.spec.ts
|
|
13
|
+
PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
|
|
14
14
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
|
|
15
15
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
|
|
16
16
|
PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
|
|
@@ -21,26 +21,26 @@ 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.
|
|
25
|
-
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts
|
|
24
|
+
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (6.025 s)
|
|
25
|
+
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts
|
|
26
26
|
PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
|
|
27
27
|
PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
|
|
28
|
-
PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
|
|
29
28
|
PASS Wfo-UI Tests src/utils/filterData.spec.ts
|
|
30
|
-
PASS Wfo-UI Tests src/
|
|
29
|
+
PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
|
|
31
30
|
PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
|
|
32
31
|
PASS Wfo-UI Tests src/utils/getTokenName.spec.ts
|
|
33
32
|
PASS Wfo-UI Tests src/utils/uuid.spec.ts
|
|
34
33
|
PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
|
|
35
34
|
PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
|
|
36
|
-
PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
|
|
37
35
|
PASS Wfo-UI Tests src/utils/getTypedFieldFromObject.spec.ts
|
|
36
|
+
PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
|
|
37
|
+
PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
38
38
|
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
39
|
+
PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
|
|
39
40
|
PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
|
|
40
|
-
PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
41
41
|
|
|
42
42
|
Test Suites: 36 passed, 36 total
|
|
43
43
|
Tests: 233 passed, 233 total
|
|
44
44
|
Snapshots: 0 total
|
|
45
|
-
Time: 9.
|
|
45
|
+
Time: 9.451 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.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 7408909: UI Components for the new search and agent page, integrating with the search/agent endpoints in the core package.
|
|
8
|
+
|
|
9
|
+
## 5.9.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- e732016: Updates depencencies to latest minor versions
|
|
14
|
+
|
|
3
15
|
## 5.8.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -381,7 +393,6 @@
|
|
|
381
393
|
### Major Changes
|
|
382
394
|
|
|
383
395
|
- f6315dd: 1479:
|
|
384
|
-
|
|
385
396
|
- csvDownload (Breaking change): Changed the parameters of initiateCsvFileDownload for directly exporting data to CSV.
|
|
386
397
|
- GroupedTable: The table has a small header with a button "Collapse / Expand", this can now be overridden.
|
|
387
398
|
- Introduced a utility type to help ensuring that all the props of an object will be of type "string". Typically useful for the csvDownload functionality
|