@orchestrator-ui/orchestrator-ui-components 8.6.0 → 8.7.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.
Files changed (56) hide show
  1. package/.turbo/turbo-build.log +8 -8
  2. package/.turbo/turbo-lint.log +1 -1
  3. package/.turbo/turbo-test.log +15 -12
  4. package/CHANGELOG.md +18 -0
  5. package/dist/index.d.ts +416 -1183
  6. package/dist/index.js +3457 -3072
  7. package/dist/index.js.map +1 -1
  8. package/package.json +3 -1
  9. package/src/components/WfoPydanticForm/fields/WfoCron.spec.ts +88 -0
  10. package/src/components/WfoPydanticForm/fields/WfoCron.tsx +233 -0
  11. package/src/components/WfoPydanticForm/fields/WfoSummary.tsx +42 -7
  12. package/src/components/WfoPydanticForm/fields/index.ts +1 -0
  13. package/src/components/WfoPydanticForm/fields/styles.ts +92 -0
  14. package/src/components/WfoSearchPage/WfoFilterGroup/WfoFilterGroup.tsx +1 -1
  15. package/src/components/WfoSearchPage/WfoSearchResults/WfoSearchResultItem.tsx +2 -1
  16. package/src/components/WfoSearchPage/utils.ts +37 -1
  17. package/src/components/WfoSubscription/WfoInUseByRelations.tsx +6 -2
  18. package/src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActionExpandableMenuItem.tsx +19 -14
  19. package/src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActions.tsx +13 -1
  20. package/src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActionsMenuItem.tsx +3 -0
  21. package/src/components/WfoSubscription/WfoSubscriptionProductBlock/WfoSubscriptionProductBlock.tsx +1 -1
  22. package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +5 -0
  23. package/src/components/WfoSubscriptionsList/subscriptionResultMappers.ts +3 -1
  24. package/src/components/WfoTable/WfoAdvancedTable/WfoAdvancedTable.tsx +2 -12
  25. package/src/components/WfoTable/WfoStructuredSearchTable/WfoExpandingSearchRow.tsx +21 -14
  26. package/src/components/WfoTable/WfoStructuredSearchTable/WfoFieldSelector.tsx +27 -1
  27. package/src/components/WfoTable/WfoStructuredSearchTable/WfoFilterBuilder.tsx +97 -91
  28. package/src/components/WfoTable/WfoStructuredSearchTable/WfoOperatorSelector.tsx +32 -7
  29. package/src/components/WfoTable/WfoStructuredSearchTable/WfoRuleGroup.tsx +5 -4
  30. package/src/components/WfoTable/WfoStructuredSearchTable/WfoStructuredSearchTable.tsx +32 -30
  31. package/src/components/WfoTable/WfoStructuredSearchTable/WfoValueEditor.tsx +41 -11
  32. package/src/components/WfoTable/WfoStructuredSearchTable/styles.ts +22 -5
  33. package/src/components/WfoTable/WfoTable/WfoTable.tsx +1 -0
  34. package/src/components/WfoTable/WfoTable/WfoTableDataRows.tsx +16 -4
  35. package/src/components/WfoTable/WfoTable/styles.ts +8 -0
  36. package/src/components/WfoTable/WfoTable/utils.spec.ts +62 -1
  37. package/src/components/WfoTable/WfoTable/utils.ts +4 -1
  38. package/src/components/WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.spec.ts +45 -0
  39. package/src/components/WfoTable/WfoTableSettingsModal/index.ts +1 -0
  40. package/src/components/WfoTable/WfoTableSettingsModal/utils.ts +17 -0
  41. package/src/configuration/version.ts +1 -1
  42. package/src/hooks/index.ts +1 -0
  43. package/src/hooks/useGetPydanticFormsConfig.tsx +12 -0
  44. package/src/hooks/useLanguageCode.ts +11 -0
  45. package/src/messages/en-GB.json +442 -549
  46. package/src/messages/getTranslationMessages.spec.ts +47 -30
  47. package/src/messages/nl-NL.json +450 -411
  48. package/src/pages/WfoSearchPocPage.tsx +14 -5
  49. package/src/rtk/endpoints/subscriptionList.ts +1 -0
  50. package/src/theme/baseStyles/formFieldsBaseStyle.ts +0 -1
  51. package/src/types/search.ts +1 -1
  52. package/src/types/types.ts +1 -1
  53. package/src/utils/getDefaultTableConfig.ts +6 -1
  54. package/src/utils/index.ts +1 -0
  55. package/src/utils/integer.spec.ts +20 -0
  56. package/src/utils/integer.ts +3 -0
@@ -1,8 +1,8 @@
1
- npm notice run @orchestrator-ui/orchestrator-ui-components@8.6.0 build
1
+ npm notice run @orchestrator-ui/orchestrator-ui-components@8.7.1 build
2
2
  npm notice run npm run generate-version && tsup src/index.ts
3
- npm notice run @orchestrator-ui/orchestrator-ui-components@8.6.0 generate-version
3
+ npm notice run @orchestrator-ui/orchestrator-ui-components@8.7.1 generate-version
4
4
  npm notice run node -p "'export const ORCHESTRATOR_UI_LIBRARY_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'" > src/configuration/version.ts && prettier --write src/configuration/version.ts
5
- src/configuration/version.ts 56ms
5
+ src/configuration/version.ts 44ms
6
6
  CLI Building entry: src/index.ts
7
7
  CLI Using tsconfig: tsconfig.json
8
8
  CLI tsup v8.5.1
@@ -10,9 +10,9 @@ src/configuration/version.ts 56ms
10
10
  CLI Target: es2022
11
11
  CLI Cleaning output folder
12
12
  ESM Build start
13
- ESM dist/index.js 863.57 KB
14
- ESM dist/index.js.map 1.48 MB
15
- ESM ⚡️ Build success in 334ms
13
+ ESM dist/index.js 878.47 KB
14
+ ESM dist/index.js.map 1.51 MB
15
+ ESM ⚡️ Build success in 323ms
16
16
  DTS Build start
17
- DTS ⚡️ Build success in 23758ms
18
- DTS dist/index.d.ts 1.56 MB
17
+ DTS ⚡️ Build success in 22597ms
18
+ DTS dist/index.d.ts 1.53 MB
@@ -1,2 +1,2 @@
1
- npm notice run @orchestrator-ui/orchestrator-ui-components@8.6.0 lint
1
+ npm notice run @orchestrator-ui/orchestrator-ui-components@8.7.1 lint
2
2
  npm notice run eslint
@@ -1,21 +1,24 @@
1
- npm notice run @orchestrator-ui/orchestrator-ui-components@8.6.0 test
1
+ npm notice run @orchestrator-ui/orchestrator-ui-components@8.7.1 test
2
2
  npm notice run jest
3
- PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
4
3
  PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
4
+ PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
5
5
  PASS Wfo-UI Tests src/utils/date.spec.ts
6
- PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
6
+ PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
7
7
  PASS Wfo-UI Tests src/utils/string.spec.ts
8
- PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
8
+ PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
9
9
  PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
10
10
  PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
11
11
  PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
12
12
  PASS Wfo-UI Tests src/utils/compareVersions.spec.ts
13
- PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
14
13
  PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
14
+ PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
15
+ PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
15
16
  PASS Wfo-UI Tests src/rtk/utils.spec.ts
17
+ PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.648 s)
18
+ PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/WfoCron.spec.ts (5.113 s)
16
19
  PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
17
20
  PASS Wfo-UI Tests src/utils/getQueryParams.spec.ts
18
- PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
21
+ PASS Wfo-UI Tests src/components/WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.spec.ts
19
22
  PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
20
23
  PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts
21
24
  PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
@@ -23,21 +26,21 @@ PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
23
26
  PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
24
27
  PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
25
28
  PASS Wfo-UI Tests src/utils/filterData.spec.ts
26
- PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
27
29
  PASS Wfo-UI Tests src/utils/getTokenName.spec.ts
30
+ PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
28
31
  PASS Wfo-UI Tests src/utils/uuid.spec.ts
29
32
  PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
30
- PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
33
+ PASS Wfo-UI Tests src/utils/integer.spec.ts
31
34
  PASS Wfo-UI Tests src/utils/getTypedFieldFromObject.spec.ts
35
+ PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
32
36
  PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
33
37
  PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
34
38
  PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
35
39
  PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
36
40
  PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
37
- PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.813 s)
38
41
 
39
- Test Suites: 35 passed, 35 total
40
- Tests: 229 passed, 229 total
42
+ Test Suites: 38 passed, 38 total
43
+ Tests: 257 passed, 257 total
41
44
  Snapshots: 0 total
42
- Time: 8.743 s
45
+ Time: 9.057 s
43
46
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 8.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 64ec9c8: Handles summaryForm translation client side
8
+ - da99ddd: Adds missing NL translations
9
+
10
+ ## 8.7.0
11
+
12
+ ### Minor Changes
13
+
14
+ - f19e786: Add wfoCron field for entering crontab field in forms
15
+
16
+ ### Patch Changes
17
+
18
+ - 8fa9a49: Filter builder: focus moves to the value editor after selecting a field, operator and value are preserved across field changes, and operators restored from a CEL filter string are no longer rewritten to the field's default operator. Enter in a value editor or in the filter textarea applies the filter like the Apply button; Shift+Enter inserts a newline in the textarea
19
+ - be89cdd: Filter out control column in table and move duplicated code to utils
20
+
3
21
  ## 8.6.0
4
22
 
5
23
  ### Minor Changes