@orchestrator-ui/orchestrator-ui-components 1.0.0 → 1.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.0.0 build
2
+ > @orchestrator-ui/orchestrator-ui-components@1.1.0 build
3
3
  > tsup src/index.ts --format esm --dts --tsconfig tsconfig.build.json
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,6 +9,6 @@
9
9
  ESM Build start
10
10
  DTS Build start
11
11
  ESM dist/index.js 2.15 MB
12
- ESM ⚡️ Build success in 842ms
13
- DTS ⚡️ Build success in 12461ms
12
+ ESM ⚡️ Build success in 829ms
13
+ DTS ⚡️ Build success in 11606ms
14
14
  DTS dist/index.d.ts 120.94 KB
@@ -1,4 +1,4 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.0.0 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@1.1.0 lint
3
3
  > eslint "src/**/*.ts*"
4
4
 
@@ -1,34 +1,34 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.0.0 test
2
+ > @orchestrator-ui/orchestrator-ui-components@1.1.0 test
3
3
  > jest
4
4
 
5
5
  PASS Orchestrator UI Components Tests src/components/WfoForms/formFields/utils.spec.ts
6
6
  PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
7
7
  PASS Orchestrator UI Components Tests src/utils/date.spec.ts
8
- PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
9
8
  PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
9
+ PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
10
10
  PASS Orchestrator UI Components Tests src/utils/string.spec.ts
11
- PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
12
11
  PASS Orchestrator UI Components Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
13
12
  PASS Orchestrator UI Components Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
14
- PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
15
- PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
13
+ PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
16
14
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableUtils.spec.ts
15
+ PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
16
+ PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
17
17
  PASS Orchestrator UI Components Tests src/messages/getTranslationMessages.spec.ts
18
18
  PASS Orchestrator UI Components Tests src/utils/getToastMessage.spec.ts
19
19
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
20
- PASS Orchestrator UI Components Tests src/utils/sortObjectKeys.spec.ts
21
- PASS Orchestrator UI Components Tests src/utils/getTokenName.spec.ts
22
20
  PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
21
+ PASS Orchestrator UI Components Tests src/utils/getTokenName.spec.ts
22
+ PASS Orchestrator UI Components Tests src/utils/sortObjectKeys.spec.ts
23
23
  PASS Orchestrator UI Components Tests src/utils/environmentVariables.spec.ts
24
24
  PASS Orchestrator UI Components Tests src/utils/onlyUnique.spec.ts
25
25
  PASS Orchestrator UI Components Tests src/utils/uuid.spec.ts
26
- PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
27
26
  PASS Orchestrator UI Components Tests src/utils/getTypedFieldFromObject.spec.ts
27
+ PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
28
28
  PASS Orchestrator UI Components Tests src/utils/getQueryVariablesForExport.spec.ts
29
29
 
30
30
  Test Suites: 24 passed, 24 total
31
31
  Tests: 144 passed, 144 total
32
32
  Snapshots: 0 total
33
- Time: 4.64 s
33
+ Time: 4.499 s
34
34
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2d0c99c: 840 Updates policy resources
8
+
3
9
  ## 1.0.0
4
10
 
5
11
  ### Major Changes
package/dist/index.d.ts CHANGED
@@ -620,11 +620,11 @@ interface WfoPageTemplateProps {
620
620
  declare const WfoPageTemplate: FC<WfoPageTemplateProps>;
621
621
 
622
622
  declare enum PolicyResource {
623
- NAVIGATION_METADATA = "/orchestrator/metadata",
624
- NAVIGATION_SETTINGS = "/orchestrator/settings",
625
- NAVIGATION_SUBSCRIPTIONS = "/orchestrator/subscriptions",
626
- NAVIGATION_TASKS = "/orchestrator/tasks",
627
- NAVIGATION_WORKFLOWS = "/orchestrator/workflows",
623
+ NAVIGATION_METADATA = "/orchestrator/metadata/",
624
+ NAVIGATION_SETTINGS = "/orchestrator/settings/",
625
+ NAVIGATION_SUBSCRIPTIONS = "/orchestrator/subscriptions/",
626
+ NAVIGATION_TASKS = "/orchestrator/tasks/",
627
+ NAVIGATION_WORKFLOWS = "/orchestrator/processes/",
628
628
  PROCESS_ABORT = "/orchestrator/processes/abort/",
629
629
  PROCESS_DELETE = "/orchestrator/processes/delete/",
630
630
  PROCESS_DETAILS = "/orchestrator/processes/details/",
package/dist/index.js CHANGED
@@ -43756,11 +43756,11 @@ import { EuiSideNav, EuiSpacer as EuiSpacer3 } from "@elastic/eui";
43756
43756
 
43757
43757
  // src/configuration/policy-resources.ts
43758
43758
  var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
43759
- PolicyResource2["NAVIGATION_METADATA"] = "/orchestrator/metadata";
43760
- PolicyResource2["NAVIGATION_SETTINGS"] = "/orchestrator/settings";
43761
- PolicyResource2["NAVIGATION_SUBSCRIPTIONS"] = "/orchestrator/subscriptions";
43762
- PolicyResource2["NAVIGATION_TASKS"] = "/orchestrator/tasks";
43763
- PolicyResource2["NAVIGATION_WORKFLOWS"] = "/orchestrator/workflows";
43759
+ PolicyResource2["NAVIGATION_METADATA"] = "/orchestrator/metadata/";
43760
+ PolicyResource2["NAVIGATION_SETTINGS"] = "/orchestrator/settings/";
43761
+ PolicyResource2["NAVIGATION_SUBSCRIPTIONS"] = "/orchestrator/subscriptions/";
43762
+ PolicyResource2["NAVIGATION_TASKS"] = "/orchestrator/tasks/";
43763
+ PolicyResource2["NAVIGATION_WORKFLOWS"] = "/orchestrator/processes/";
43764
43764
  PolicyResource2["PROCESS_ABORT"] = "/orchestrator/processes/abort/";
43765
43765
  PolicyResource2["PROCESS_DELETE"] = "/orchestrator/processes/delete/";
43766
43766
  PolicyResource2["PROCESS_DETAILS"] = "/orchestrator/processes/details/";
@@ -46415,11 +46415,11 @@ var WfoStartCreateWorkflowButtonComboBox = () => {
46415
46415
  import { Fragment as Fragment5, jsx as jsx61, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
46416
46416
  var renderEmptyElementWhenNotAllowedByPolicy = (isAllowed) => isAllowed ? void 0 : () => /* @__PURE__ */ jsx61(Fragment5, {});
46417
46417
  var urlPolicyMap = /* @__PURE__ */ new Map([
46418
- [PATH_WORKFLOWS, "/orchestrator/workflows" /* NAVIGATION_WORKFLOWS */],
46419
- [PATH_SUBSCRIPTIONS, "/orchestrator/subscriptions" /* NAVIGATION_SUBSCRIPTIONS */],
46420
- [PATH_METADATA, "/orchestrator/metadata" /* NAVIGATION_METADATA */],
46421
- [PATH_TASKS, "/orchestrator/tasks" /* NAVIGATION_TASKS */],
46422
- [PATH_SETTINGS, "/orchestrator/settings" /* NAVIGATION_SETTINGS */]
46418
+ [PATH_WORKFLOWS, "/orchestrator/processes/" /* NAVIGATION_WORKFLOWS */],
46419
+ [PATH_SUBSCRIPTIONS, "/orchestrator/subscriptions/" /* NAVIGATION_SUBSCRIPTIONS */],
46420
+ [PATH_METADATA, "/orchestrator/metadata/" /* NAVIGATION_METADATA */],
46421
+ [PATH_TASKS, "/orchestrator/tasks/" /* NAVIGATION_TASKS */],
46422
+ [PATH_SETTINGS, "/orchestrator/settings/" /* NAVIGATION_SETTINGS */]
46423
46423
  ]);
46424
46424
  var WfoSidebar = ({ overrideMenuItems }) => {
46425
46425
  const t = useTranslations9("main");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchestrator-ui/orchestrator-ui-components",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -1,9 +1,9 @@
1
1
  export enum PolicyResource {
2
- NAVIGATION_METADATA = '/orchestrator/metadata',
3
- NAVIGATION_SETTINGS = '/orchestrator/settings',
4
- NAVIGATION_SUBSCRIPTIONS = '/orchestrator/subscriptions',
5
- NAVIGATION_TASKS = '/orchestrator/tasks',
6
- NAVIGATION_WORKFLOWS = '/orchestrator/workflows',
2
+ NAVIGATION_METADATA = '/orchestrator/metadata/',
3
+ NAVIGATION_SETTINGS = '/orchestrator/settings/',
4
+ NAVIGATION_SUBSCRIPTIONS = '/orchestrator/subscriptions/',
5
+ NAVIGATION_TASKS = '/orchestrator/tasks/',
6
+ NAVIGATION_WORKFLOWS = '/orchestrator/processes/',
7
7
  PROCESS_ABORT = '/orchestrator/processes/abort/',
8
8
  PROCESS_DELETE = '/orchestrator/processes/delete/',
9
9
  PROCESS_DETAILS = '/orchestrator/processes/details/',