@orchestrator-ui/orchestrator-ui-components 8.5.0 → 8.7.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.
Files changed (65) hide show
  1. package/.turbo/turbo-build.log +10 -14
  2. package/.turbo/turbo-lint.log +2 -4
  3. package/.turbo/turbo-test.log +16 -15
  4. package/CHANGELOG.md +17 -0
  5. package/dist/index.d.ts +188 -80
  6. package/dist/index.js +3509 -2731
  7. package/dist/index.js.map +1 -1
  8. package/package.json +3 -1
  9. package/src/components/WfoAutoExpandableTextArea/WfoAutoExpandableTextArea.tsx +54 -0
  10. package/src/components/WfoAutoExpandableTextArea/index.ts +1 -0
  11. package/src/components/WfoAutoExpandableTextArea/styles.ts +18 -0
  12. package/src/components/WfoPageTemplate/paths.ts +1 -0
  13. package/src/components/WfoPydanticForm/fields/WfoCron.spec.ts +88 -0
  14. package/src/components/WfoPydanticForm/fields/WfoCron.tsx +233 -0
  15. package/src/components/WfoPydanticForm/fields/index.ts +1 -0
  16. package/src/components/WfoPydanticForm/fields/styles.ts +92 -0
  17. package/src/components/WfoSearchPage/WfoSearchResults/WfoSearchResultItem.tsx +2 -1
  18. package/src/components/WfoSearchPage/utils.ts +37 -1
  19. package/src/components/WfoSubscription/WfoInUseByRelations.tsx +6 -2
  20. package/src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActionExpandableMenuItem.tsx +19 -14
  21. package/src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActions.tsx +13 -1
  22. package/src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActionsMenuItem.tsx +3 -0
  23. package/src/components/WfoSubscription/WfoSubscriptionProductBlock/WfoSubscriptionProductBlock.tsx +1 -1
  24. package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +5 -0
  25. package/src/components/WfoSubscriptionsList/subscriptionResultMappers.ts +3 -1
  26. package/src/components/WfoTable/WfoAdvancedTable/WfoAdvancedTable.tsx +2 -12
  27. package/src/components/WfoTable/WfoStructuredSearchTable/WfoAddGroupAction.tsx +1 -1
  28. package/src/components/WfoTable/WfoStructuredSearchTable/WfoCombinatorSelector.tsx +3 -0
  29. package/src/components/WfoTable/WfoStructuredSearchTable/WfoExpandingSearchRow.tsx +21 -14
  30. package/src/components/WfoTable/WfoStructuredSearchTable/WfoFieldSelector.tsx +84 -4
  31. package/src/components/WfoTable/WfoStructuredSearchTable/WfoFilterBuilder.tsx +119 -104
  32. package/src/components/WfoTable/WfoStructuredSearchTable/WfoInlineCombinator.tsx +17 -0
  33. package/src/components/WfoTable/WfoStructuredSearchTable/WfoOperatorSelector.tsx +32 -7
  34. package/src/components/WfoTable/WfoStructuredSearchTable/WfoRemoveRuleAction.tsx +3 -3
  35. package/src/components/WfoTable/WfoStructuredSearchTable/WfoRuleGroup.tsx +11 -7
  36. package/src/components/WfoTable/WfoStructuredSearchTable/WfoSearchFieldWithActions.tsx +56 -0
  37. package/src/components/WfoTable/WfoStructuredSearchTable/WfoStructuredSearchTable.tsx +92 -87
  38. package/src/components/WfoTable/WfoStructuredSearchTable/WfoValueEditor.tsx +41 -11
  39. package/src/components/WfoTable/WfoStructuredSearchTable/styles.ts +74 -21
  40. package/src/components/WfoTable/WfoStructuredSearchTable/utils.ts +45 -0
  41. package/src/components/WfoTable/WfoTable/WfoTable.tsx +1 -0
  42. package/src/components/WfoTable/WfoTable/WfoTableDataRows.tsx +16 -4
  43. package/src/components/WfoTable/WfoTable/styles.ts +8 -0
  44. package/src/components/WfoTable/WfoTable/utils.spec.ts +62 -1
  45. package/src/components/WfoTable/WfoTable/utils.ts +4 -1
  46. package/src/components/WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.spec.ts +45 -0
  47. package/src/components/WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.tsx +9 -0
  48. package/src/components/WfoTable/WfoTableSettingsModal/index.ts +1 -0
  49. package/src/components/WfoTable/WfoTableSettingsModal/utils.ts +17 -0
  50. package/src/components/index.ts +1 -0
  51. package/src/configuration/version.ts +1 -1
  52. package/src/hooks/index.ts +1 -0
  53. package/src/hooks/useGetPydanticFormsConfig.tsx +12 -0
  54. package/src/hooks/useLanguageCode.ts +11 -0
  55. package/src/messages/en-GB.json +20 -0
  56. package/src/messages/nl-NL.json +20 -0
  57. package/src/pages/WfoSearchPocPage.tsx +165 -30
  58. package/src/rtk/endpoints/subscriptionList.ts +1 -0
  59. package/src/theme/baseStyles/formFieldsBaseStyle.ts +0 -1
  60. package/src/types/search.ts +4 -1
  61. package/src/types/types.ts +1 -1
  62. package/src/utils/getDefaultTableConfig.ts +6 -1
  63. package/src/utils/index.ts +1 -0
  64. package/src/utils/integer.spec.ts +20 -0
  65. package/src/utils/integer.ts +3 -0
@@ -1,12 +1,8 @@
1
-
2
- > @orchestrator-ui/orchestrator-ui-components@8.5.0 build
3
- > npm run generate-version && tsup src/index.ts
4
-
5
-
6
- > @orchestrator-ui/orchestrator-ui-components@8.5.0 generate-version
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
-
9
- src/configuration/version.ts 46ms
1
+ npm notice run @orchestrator-ui/orchestrator-ui-components@8.7.0 build
2
+ npm notice run npm run generate-version && tsup src/index.ts
3
+ npm notice run @orchestrator-ui/orchestrator-ui-components@8.7.0 generate-version
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 51ms
10
6
  CLI Building entry: src/index.ts
11
7
  CLI Using tsconfig: tsconfig.json
12
8
  CLI tsup v8.5.1
@@ -14,9 +10,9 @@ src/configuration/version.ts 46ms
14
10
  CLI Target: es2022
15
11
  CLI Cleaning output folder
16
12
  ESM Build start
17
- ESM dist/index.js 850.72 KB
18
- ESM dist/index.js.map 1.46 MB
19
- ESM ⚡️ Build success in 315ms
13
+ ESM dist/index.js 881.07 KB
14
+ ESM dist/index.js.map 1.52 MB
15
+ ESM ⚡️ Build success in 306ms
20
16
  DTS Build start
21
- DTS ⚡️ Build success in 22101ms
22
- DTS dist/index.d.ts 1.55 MB
17
+ DTS ⚡️ Build success in 23052ms
18
+ DTS dist/index.d.ts 1.56 MB
@@ -1,4 +1,2 @@
1
-
2
- > @orchestrator-ui/orchestrator-ui-components@8.5.0 lint
3
- > eslint
4
-
1
+ npm notice run @orchestrator-ui/orchestrator-ui-components@8.7.0 lint
2
+ npm notice run eslint
@@ -1,34 +1,36 @@
1
-
2
- > @orchestrator-ui/orchestrator-ui-components@8.5.0 test
3
- > jest
4
-
5
- PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
1
+ npm notice run @orchestrator-ui/orchestrator-ui-components@8.7.0 test
2
+ npm notice run jest
3
+ PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
6
4
  PASS Wfo-UI Tests src/utils/date.spec.ts
7
- PASS Wfo-UI Tests src/utils/string.spec.ts
8
5
  PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
9
- PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
6
+ PASS Wfo-UI Tests src/utils/string.spec.ts
10
7
  PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
11
8
  PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
9
+ PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
12
10
  PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
13
11
  PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
14
12
  PASS Wfo-UI Tests src/utils/compareVersions.spec.ts
13
+ PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
15
14
  PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
16
15
  PASS Wfo-UI Tests src/rtk/utils.spec.ts
17
- PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
16
+ PASS Wfo-UI Tests src/components/WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.spec.ts
17
+ PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (6.054 s)
18
+ PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/WfoCron.spec.ts (5.596 s)
18
19
  PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
19
- PASS Wfo-UI Tests src/utils/getQueryParams.spec.ts
20
20
  PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
21
+ PASS Wfo-UI Tests src/utils/getQueryParams.spec.ts
21
22
  PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
22
23
  PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts
23
24
  PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
24
- PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
25
25
  PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
26
+ PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
26
27
  PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
27
28
  PASS Wfo-UI Tests src/utils/filterData.spec.ts
28
- PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
29
29
  PASS Wfo-UI Tests src/utils/getTokenName.spec.ts
30
+ PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
30
31
  PASS Wfo-UI Tests src/utils/uuid.spec.ts
31
32
  PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
33
+ PASS Wfo-UI Tests src/utils/integer.spec.ts
32
34
  PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
33
35
  PASS Wfo-UI Tests src/utils/getTypedFieldFromObject.spec.ts
34
36
  PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
@@ -36,10 +38,9 @@ PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
36
38
  PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
37
39
  PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
38
40
  PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
39
- PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.199 s)
40
41
 
41
- Test Suites: 35 passed, 35 total
42
- Tests: 229 passed, 229 total
42
+ Test Suites: 38 passed, 38 total
43
+ Tests: 253 passed, 253 total
43
44
  Snapshots: 0 total
44
- Time: 7.725 s
45
+ Time: 9.416 s
45
46
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 8.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f19e786: Add wfoCron field for entering crontab field in forms
8
+
9
+ ### Patch Changes
10
+
11
+ - 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
12
+ - be89cdd: Filter out control column in table and move duplicated code to utils
13
+
14
+ ## 8.6.0
15
+
16
+ ### Minor Changes
17
+
18
+ - 2447ecc: 163: Replace the crosses with a trash icon, move the AND/OR toggle between the two search rules, fix the scrollbar in textarea
19
+
3
20
  ## 8.5.0
4
21
 
5
22
  ### Minor Changes