@orchestrator-ui/orchestrator-ui-components 8.9.1 → 8.9.2

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.
@@ -1,8 +1,8 @@
1
- npm notice run @orchestrator-ui/orchestrator-ui-components@8.9.1 build
1
+ npm notice run @orchestrator-ui/orchestrator-ui-components@8.9.2 build
2
2
  npm notice run npm run generate-version && tsup src/index.ts
3
- npm notice run @orchestrator-ui/orchestrator-ui-components@8.9.1 generate-version
3
+ npm notice run @orchestrator-ui/orchestrator-ui-components@8.9.2 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 46ms
5
+ src/configuration/version.ts 38ms
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 46ms
10
10
  CLI Target: es2022
11
11
  CLI Cleaning output folder
12
12
  ESM Build start
13
- ESM dist/index.js 898.84 KB
13
+ ESM dist/index.js 899.38 KB
14
14
  ESM dist/index.js.map 1.55 MB
15
- ESM ⚡️ Build success in 362ms
15
+ ESM ⚡️ Build success in 301ms
16
16
  DTS Build start
17
- DTS ⚡️ Build success in 26313ms
17
+ DTS ⚡️ Build success in 22069ms
18
18
  DTS dist/index.d.ts 1.56 MB
@@ -1,2 +1,2 @@
1
- npm notice run @orchestrator-ui/orchestrator-ui-components@8.9.1 lint
1
+ npm notice run @orchestrator-ui/orchestrator-ui-components@8.9.2 lint
2
2
  npm notice run eslint
@@ -1,54 +1,54 @@
1
- npm notice run @orchestrator-ui/orchestrator-ui-components@8.9.1 test
1
+ npm notice run @orchestrator-ui/orchestrator-ui-components@8.9.2 test
2
2
  npm notice run jest
3
- PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
4
- PASS Wfo-UI Tests src/utils/date.spec.ts
5
3
  PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
6
4
  PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
5
+ PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
6
+ PASS Wfo-UI Tests src/utils/date.spec.ts
7
7
  PASS Wfo-UI Tests src/utils/string.spec.ts
8
8
  PASS Wfo-UI Tests src/components/WfoTable/WfoStructuredSearchTable/WfoOperatorSelector.spec.tsx
9
9
  PASS Wfo-UI Tests src/components/WfoTable/WfoStructuredSearchTable/WfoRestoreLoop.spec.tsx
10
10
  PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
11
11
  PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
12
- PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (7.199 s)
12
+ PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (6.366 s)
13
13
  PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoTableExpandedRowReveal.spec.tsx
14
14
  PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
15
15
  PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
16
16
  PASS Wfo-UI Tests src/utils/compareVersions.spec.ts
17
- PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
18
17
  PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
19
- PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/WfoCron.spec.ts
18
+ PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
20
19
  PASS Wfo-UI Tests src/components/WfoTable/WfoStructuredSearchTable/utils.spec.ts
21
20
  PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
21
+ PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/WfoCron.spec.ts
22
22
  PASS Wfo-UI Tests src/hooks/usePathAutoComplete.spec.tsx
23
23
  PASS Wfo-UI Tests src/rtk/utils.spec.ts
24
24
  PASS Wfo-UI Tests src/components/WfoTable/WfoStructuredSearchTable/WfoValueEditor.spec.tsx
25
- PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
26
25
  PASS Wfo-UI Tests src/components/WfoInlineNoteEdit/WfoProcessListNoteEdit.spec.tsx
26
+ PASS Wfo-UI Tests src/components/WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.spec.ts
27
27
  PASS Wfo-UI Tests src/utils/getQueryParams.spec.ts
28
28
  PASS Wfo-UI Tests src/utils/getProductLifecycleStatus.spec.ts
29
+ PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
29
30
  PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
30
- PASS Wfo-UI Tests src/components/WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.spec.ts
31
- PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts
32
31
  PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
33
- PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
32
+ PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts
34
33
  PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
34
+ PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
35
35
  PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
36
36
  PASS Wfo-UI Tests src/utils/filterData.spec.ts
37
- PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
38
37
  PASS Wfo-UI Tests src/utils/getTokenName.spec.ts
38
+ PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
39
39
  PASS Wfo-UI Tests src/utils/uuid.spec.ts
40
- PASS Wfo-UI Tests src/utils/integer.spec.ts
41
40
  PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
41
+ PASS Wfo-UI Tests src/utils/integer.spec.ts
42
42
  PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
43
43
  PASS Wfo-UI Tests src/utils/getTypedFieldFromObject.spec.ts
44
- PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
45
44
  PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
46
45
  PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
46
+ PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
47
47
  PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
48
48
  PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
49
49
 
50
50
  Test Suites: 46 passed, 46 total
51
51
  Tests: 288 passed, 288 total
52
52
  Snapshots: 0 total
53
- Time: 14.139 s
53
+ Time: 11.928 s
54
54
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 8.9.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 3a6339f: 223 Tweak spacing of columns in table settings modal
8
+ - 2719ec4: Disables list component.
9
+
3
10
  ## 8.9.1
4
11
 
5
12
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -29383,7 +29383,7 @@ declare const METADATA_WORKFLOWS_ENDPOINT = "workflows";
29383
29383
  declare const METADATA_SCHEDULES_ENDPOINT = "schedules/";
29384
29384
  declare const SEARCH_QUERY_RESULTS_ENDPOINT = "search/queries";
29385
29385
 
29386
- declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "8.9.1";
29386
+ declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "8.9.2";
29387
29387
 
29388
29388
  declare const useGetTranslationMessages: (locale: string | undefined) => {
29389
29389
  pydanticForms: {
package/dist/index.js CHANGED
@@ -61,7 +61,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
61
61
  })(PolicyResource || {});
62
62
 
63
63
  // src/configuration/version.ts
64
- var ORCHESTRATOR_UI_LIBRARY_VERSION = "8.9.1";
64
+ var ORCHESTRATOR_UI_LIBRARY_VERSION = "8.9.2";
65
65
 
66
66
  // src/types/types.ts
67
67
  var EngineStatus = /* @__PURE__ */ ((EngineStatus2) => {
@@ -2962,7 +2962,8 @@ var OPERATOR_MAP = {
2962
2962
  between: { symbol: "\u27F7", description: "between (range)" },
2963
2963
  has_component: { symbol: "\u2713", description: "has component" },
2964
2964
  not_has_component: { symbol: "\u2717", description: "does not have component" },
2965
- like: { symbol: "\u220B", description: "contains" }
2965
+ like: { symbol: "\u220B", description: "contains" },
2966
+ not_regexp: { symbol: "\u220C", description: "does not contain" }
2966
2967
  };
2967
2968
  var BOOLEAN_OPERATOR_MAP = {
2968
2969
  eq: { symbol: "\u2713", description: "is true" },
@@ -6725,7 +6726,7 @@ var useGetComponentMatcherExtender = () => {
6725
6726
  return format === PydanticFormFieldFormat.MARKDOWN;
6726
6727
  }
6727
6728
  },
6728
- ...currentMatchers.filter((matcher) => matcher.id !== "text").filter((matcher) => matcher.id !== "array").filter((matcher) => matcher.id !== "object"),
6729
+ ...currentMatchers.filter((matcher) => matcher.id !== "text").filter((matcher) => matcher.id !== "array").filter((matcher) => matcher.id !== "object").filter((matcher) => matcher.id !== "list"),
6729
6730
  {
6730
6731
  id: "object",
6731
6732
  ElementMatch: {
@@ -11641,6 +11642,14 @@ var getWfoTableSettingsModalStyles = (wfoThemeHelpers) => {
11641
11642
  color: wfoThemeHelpers.theme.colors.textParagraph
11642
11643
  }
11643
11644
  });
11645
+ const formStyle = css27({
11646
+ ".euiFormRow .euiFormRow__labelWrapper": {
11647
+ flexBasis: "50%"
11648
+ },
11649
+ ".euiFormRow .euiFormRow__fieldWrapper": {
11650
+ flexBasis: "50%"
11651
+ }
11652
+ });
11644
11653
  const { theme } = wfoThemeHelpers;
11645
11654
  const columnsListStyle = css27({
11646
11655
  maxHeight: theme.base * 16,
@@ -11655,6 +11664,7 @@ var getWfoTableSettingsModalStyles = (wfoThemeHelpers) => {
11655
11664
  backgroundAttachment: "local, scroll"
11656
11665
  });
11657
11666
  return {
11667
+ formStyle,
11658
11668
  formRowStyle,
11659
11669
  columnsListStyle,
11660
11670
  selectFieldStyle: formFieldBaseStyle
@@ -11672,7 +11682,7 @@ var TableSettingsModal = ({
11672
11682
  extraSettings
11673
11683
  }) => {
11674
11684
  const t = useTranslations39("main");
11675
- const { formRowStyle, columnsListStyle, selectFieldStyle } = useWithOrchestratorTheme(getWfoTableSettingsModalStyles);
11685
+ const { formStyle, formRowStyle, columnsListStyle, selectFieldStyle } = useWithOrchestratorTheme(getWfoTableSettingsModalStyles);
11676
11686
  const scrollBarStyle = useEuiScrollBar2();
11677
11687
  const [columns, setColumns] = useState29(tableConfig.columns);
11678
11688
  const [selectedPageSize, setSelectedPageSize] = useState29(tableConfig.selectedPageSize);
@@ -11699,7 +11709,7 @@ var TableSettingsModal = ({
11699
11709
  columns,
11700
11710
  selectedPageSize
11701
11711
  }),
11702
- children: /* @__PURE__ */ jsxs88(EuiForm2, { children: [
11712
+ children: /* @__PURE__ */ jsxs88(EuiForm2, { css: formStyle, children: [
11703
11713
  /* @__PURE__ */ jsx171("div", { css: [columnsListStyle, scrollBarStyle], children: columns.map(({ field, name, isVisible }) => /* @__PURE__ */ jsxs88("div", { children: [
11704
11714
  /* @__PURE__ */ jsx171(EuiFormRow5, { display: "columnCompressed", label: name, css: formRowStyle, children: /* @__PURE__ */ jsx171(
11705
11715
  EuiSwitch3,
@@ -12854,6 +12864,7 @@ var SEARCH_OPERATOR_TO_RQB_OPERATOR_MAP = {
12854
12864
  gte: ">=",
12855
12865
  between: "between",
12856
12866
  like: "contains",
12867
+ not_regexp: "doesNotContain",
12857
12868
  has_component: "notNull",
12858
12869
  not_has_component: "null"
12859
12870
  };
@@ -12868,7 +12879,8 @@ var OPERATOR_MAP2 = {
12868
12879
  between: { symbol: "\u27F7", description: "between (range)" },
12869
12880
  has_component: { symbol: "\u2713", description: "has component" },
12870
12881
  not_has_component: { symbol: "\u2717", description: "does not have component" },
12871
- like: { symbol: "\u220B", description: "contains" }
12882
+ like: { symbol: "\u220B", description: "contains" },
12883
+ not_regexp: { symbol: "\u220C", description: "does not contain" }
12872
12884
  };
12873
12885
  var initialRuleGroup = {
12874
12886
  id: "root",
@@ -17455,17 +17467,17 @@ var resultColumToPropertyMap = /* @__PURE__ */ new Map([
17455
17467
  ["subscription.metadata", "metadata"]
17456
17468
  ]);
17457
17469
  var prefilledFieldOptions = /* @__PURE__ */ new Map([
17458
- ["subscription.subscription_id", ["eq", "neq", "like"]],
17459
- ["subscription.description", ["eq", "neq", "like"]],
17460
- ["subscription.status", ["eq", "neq", "like"]],
17470
+ ["subscription.subscription_id", ["eq", "neq", "like", "not_regexp"]],
17471
+ ["subscription.description", ["eq", "neq", "like", "not_regexp"]],
17472
+ ["subscription.status", ["eq", "neq", "like", "not_regexp"]],
17461
17473
  ["subscription.insync", ["eq", "neq"]],
17462
- ["subscription.product.name", ["eq", "neq", "like"]],
17463
- ["subscription.product.tag", ["eq", "neq", "like"]],
17464
- ["subscription.customer_name", ["eq", "neq", "like"]],
17465
- ["subscription.customer_abbreviation", ["eq", "neq", "like"]],
17474
+ ["subscription.product.name", ["eq", "neq", "like", "not_regexp"]],
17475
+ ["subscription.product.tag", ["eq", "neq", "like", "not_regexp"]],
17476
+ ["subscription.customer_name", ["eq", "neq", "like", "not_regexp"]],
17477
+ ["subscription.customer_abbreviation", ["eq", "neq", "like", "not_regexp"]],
17466
17478
  ["subscription.start_date", ["eq", "neq", "lt", "lte", "gt", "gte", "between"]],
17467
17479
  ["subscription.end_date", ["eq", "neq", "lt", "lte", "gt", "gte", "between"]],
17468
- ["subscription.note", ["eq", "neq", "like"]]
17480
+ ["subscription.note", ["eq", "neq", "like", "not_regexp"]]
17469
17481
  ]);
17470
17482
  var WfoSearchPocPage = () => {
17471
17483
  const t = useTranslations79("subscriptions.index");