@orchestrator-ui/orchestrator-ui-components 1.19.0 → 1.19.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.19.0 build
2
+ > @orchestrator-ui/orchestrator-ui-components@1.19.1 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 790ms
13
- DTS ⚡️ Build success in 13502ms
14
- DTS dist/index.d.ts 172.71 KB
12
+ ESM ⚡️ Build success in 670ms
13
+ DTS ⚡️ Build success in 13635ms
14
+ DTS dist/index.d.ts 172.76 KB
@@ -1,4 +1,4 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.19.0 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@1.19.1 lint
3
3
  > eslint "src/**/*.ts*"
4
4
 
@@ -1,26 +1,26 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.19.0 test
2
+ > @orchestrator-ui/orchestrator-ui-components@1.19.1 test
3
3
  > jest
4
4
 
5
5
  PASS Orchestrator UI Components Tests src/components/WfoForms/formFields/utils.spec.ts
6
- PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
7
6
  PASS Orchestrator UI Components Tests src/utils/date.spec.ts
7
+ PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
8
8
  PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
9
9
  PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
10
10
  PASS Orchestrator UI Components Tests src/utils/string.spec.ts
11
- PASS Orchestrator UI Components Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
12
- PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
13
11
  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
12
+ PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
13
+ PASS Orchestrator UI Components Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
15
14
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
16
15
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableUtils.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
- PASS Orchestrator UI Components Tests src/utils/resultFlattener.spec.ts
19
18
  PASS Orchestrator UI Components Tests src/utils/getToastMessage.spec.ts
20
- PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
19
+ PASS Orchestrator UI Components Tests src/utils/resultFlattener.spec.ts
21
20
  PASS Orchestrator UI Components Tests src/utils/optionalArray.spec.ts
22
- PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
23
21
  PASS Orchestrator UI Components Tests src/utils/sortObjectKeys.spec.ts
22
+ PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
23
+ PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
24
24
  PASS Orchestrator UI Components Tests src/utils/getTokenName.spec.ts
25
25
  PASS Orchestrator UI Components Tests src/utils/environmentVariables.spec.ts
26
26
  PASS Orchestrator UI Components Tests src/utils/onlyUnique.spec.ts
@@ -32,5 +32,5 @@ PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoPageHead
32
32
  Test Suites: 26 passed, 26 total
33
33
  Tests: 159 passed, 159 total
34
34
  Snapshots: 0 total
35
- Time: 3.594 s
35
+ Time: 3.683 s
36
36
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 1.19.1
4
+
5
+ ### Patch Changes
6
+
7
+ - e1811bc: revert username to old code solution
8
+
3
9
  ## 1.19.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -3382,6 +3382,7 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
3382
3382
  retrieve_stored_settings_title: string;
3383
3383
  };
3384
3384
  metadata: {
3385
+ title: string;
3385
3386
  tabs: {
3386
3387
  products: string;
3387
3388
  productBlocks: string;
@@ -3471,6 +3472,7 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
3471
3472
  openWorkflowTaskInfo: string;
3472
3473
  };
3473
3474
  steps: {
3475
+ taskSteps: string;
3474
3476
  steps: string;
3475
3477
  showDelta: string;
3476
3478
  hideDelta: string;
@@ -3517,7 +3519,7 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
3517
3519
  note: string;
3518
3520
  metadata: string;
3519
3521
  customerFullName: string;
3520
- customerAbbreviation: string;
3522
+ customerShortcode: string;
3521
3523
  };
3522
3524
  detail: {
3523
3525
  title: string;
package/dist/index.js CHANGED
@@ -55908,7 +55908,7 @@ var WfoStartPage = () => {
55908
55908
  const { overrideSummaryCards } = useStartPageSummaryCardConfigurationOverride();
55909
55909
  const { isAllowed } = usePolicy();
55910
55910
  const { session } = useWfoSession();
55911
- const username = (_b = (_a = session == null ? void 0 : session.profile) == null ? void 0 : _a.preferred_username) != null ? _b : "";
55911
+ const username = (_b = (_a = session == null ? void 0 : session.user) == null ? void 0 : _a.name) != null ? _b : "";
55912
55912
  const defaultSummaryCards = [
55913
55913
  ...toOptionalArrayEntry(
55914
55914
  /* @__PURE__ */ jsx173(WfoMyWorkflowsSummaryCard, { username }, "myWorkflows"),
@@ -58387,6 +58387,7 @@ var nl_NL_default = {
58387
58387
  }
58388
58388
  },
58389
58389
  metadata: {
58390
+ title: "Metadata",
58390
58391
  tabs: {
58391
58392
  products: "Producten",
58392
58393
  productBlocks: "Product blocks",
@@ -58476,6 +58477,7 @@ var nl_NL_default = {
58476
58477
  openWorkflowTaskInfo: "open workflow-/taakinformatie op een nieuw tabblad"
58477
58478
  },
58478
58479
  steps: {
58480
+ taskSteps: "Taak stappen",
58479
58481
  steps: "Workflow stappen",
58480
58482
  showDelta: "Toon subscription delta",
58481
58483
  hideDelta: "Verberg subscription delta",
@@ -58522,7 +58524,7 @@ var nl_NL_default = {
58522
58524
  note: "Notitie",
58523
58525
  metadata: "Metadata",
58524
58526
  customerFullName: "Klant",
58525
- customerAbbreviation: "Klantafkorting"
58527
+ customerShortcode: "Klantafkorting"
58526
58528
  },
58527
58529
  detail: {
58528
58530
  title: "Subscriptions",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchestrator-ui/orchestrator-ui-components",
3
- "version": "1.19.0",
3
+ "version": "1.19.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Library of UI Components used to display the workflow orchestrator frontend",
6
6
  "author": {
@@ -124,6 +124,7 @@
124
124
  }
125
125
  },
126
126
  "metadata": {
127
+ "title": "Metadata",
127
128
  "tabs": {
128
129
  "products": "Producten",
129
130
  "productBlocks": "Product blocks",
@@ -213,6 +214,7 @@
213
214
  "openWorkflowTaskInfo": "open workflow-/taakinformatie op een nieuw tabblad"
214
215
  },
215
216
  "steps": {
217
+ "taskSteps": "Taak stappen",
216
218
  "steps": "Workflow stappen",
217
219
  "showDelta": "Toon subscription delta",
218
220
  "hideDelta": "Verberg subscription delta",
@@ -259,7 +261,7 @@
259
261
  "note": "Notitie",
260
262
  "metadata": "Metadata",
261
263
  "customerFullName": "Klant",
262
- "customerAbbreviation": "Klantafkorting"
264
+ "customerShortcode": "Klantafkorting"
263
265
  },
264
266
  "detail": {
265
267
  "title": "Subscriptions",
@@ -21,7 +21,7 @@ export const WfoStartPage = () => {
21
21
 
22
22
  const { isAllowed } = usePolicy();
23
23
  const { session } = useWfoSession();
24
- const username = session?.profile?.preferred_username ?? '';
24
+ const username = session?.user?.name ?? '';
25
25
 
26
26
  // The key can be used to filter or sort on when overriding the cards in the app
27
27
  const defaultSummaryCards: ReactElement[] = [