From f7d7b0873625bc628f146c6dcc4cf4e352389378 Mon Sep 17 00:00:00 2001 From: Lukas Giger Date: Tue, 10 Dec 2024 07:11:34 +0100 Subject: [PATCH] XIVY-15134 consider empty item Adjust to ui-components change that treats undefined as empty item. --- integrations/standalone/package.json | 2 +- package-lock.json | 26 +++++++++---------- packages/dataclass-editor/package.json | 6 ++--- .../detail-field-entity-association.spec.ts | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/integrations/standalone/package.json b/integrations/standalone/package.json index 21089bb3..0e63fa84 100644 --- a/integrations/standalone/package.json +++ b/integrations/standalone/package.json @@ -5,7 +5,7 @@ "dependencies": { "@axonivy/dataclass-editor": "*", "@axonivy/dataclass-editor-protocol": "*", - "@axonivy/ui-components": "~12.0.1-next.390", + "@axonivy/ui-components": "~12.0.1-next.401", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/package-lock.json b/package-lock.json index 101b87a3..202e8fde 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "dependencies": { "@axonivy/dataclass-editor": "*", "@axonivy/dataclass-editor-protocol": "*", - "@axonivy/ui-components": "~12.0.1-next.390", + "@axonivy/ui-components": "~12.0.1-next.401", "react": "^18.2.0", "react-dom": "^18.2.0" }, @@ -75,18 +75,18 @@ "link": true }, "node_modules/@axonivy/jsonrpc": { - "version": "12.0.1-next.390", - "resolved": "https://npmjs-registry.ivyteam.ch/@axonivy/jsonrpc/-/jsonrpc-12.0.1-next.390.tgz", - "integrity": "sha512-c+pA8Gta+IRPdH6smx0wQQl8l50JPMn5lCtWThfbZMdQ5f9eY7J7AcTSTzPQE/HtWt+bwZ6ppnha+go3jSWSag==", + "version": "12.0.1-next.401", + "resolved": "https://npmjs-registry.ivyteam.ch/@axonivy/jsonrpc/-/jsonrpc-12.0.1-next.401.tgz", + "integrity": "sha512-/nSfXe3NZ58JqlcNQgSLQ8+NZXgFN90DHmj1x0y+aQ3sb9NfIGMB/+9khj4PhWPY62dAbvVrJKpw2epgojtvoQ==", "license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)", "dependencies": { "vscode-jsonrpc": "^8.2.0" } }, "node_modules/@axonivy/ui-components": { - "version": "12.0.1-next.390", - "resolved": "https://npmjs-registry.ivyteam.ch/@axonivy/ui-components/-/ui-components-12.0.1-next.390.tgz", - "integrity": "sha512-AuoG8Drj3wiYN+oZkTaxSZmb/ZVWFUrNI/vxWmbtsDxBnWvVbvSdaMSmZPuanTySuojq4m57RB3SyJztzNaSeg==", + "version": "12.0.1-next.401", + "resolved": "https://npmjs-registry.ivyteam.ch/@axonivy/ui-components/-/ui-components-12.0.1-next.401.tgz", + "integrity": "sha512-24jQWI9QB+2PAvjtwwIFjTZZiTOOAoX1+vpeN1ka4w3Hw41jljtYy8upFmscWJ39v2/R2P4j5fbwJUJWVf6KhA==", "license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)", "dependencies": { "@radix-ui/react-accordion": "1.2.1", @@ -116,9 +116,9 @@ } }, "node_modules/@axonivy/ui-icons": { - "version": "12.0.1-next.390", - "resolved": "https://npmjs-registry.ivyteam.ch/@axonivy/ui-icons/-/ui-icons-12.0.1-next.390.tgz", - "integrity": "sha512-32nSB27HM+l11iUfGh54mJbuK2K0b1H6/t62F3aRP8MDhhhnP+i95THjsULDBVQBwpa7XUp+qX/2XNxnEe/VSw==", + "version": "12.0.1-next.401", + "resolved": "https://npmjs-registry.ivyteam.ch/@axonivy/ui-icons/-/ui-icons-12.0.1-next.401.tgz", + "integrity": "sha512-ArZYAUrID0toxbE1rMWd68HPnfrsF8fm7DUwXr3jJH/8yUxYED9nzlvVK15HAC9SA2a/mBHX9Te9nStBU04cvw==", "license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)" }, "node_modules/@babel/code-frame": { @@ -15552,9 +15552,9 @@ "license": "Apache-2.0", "dependencies": { "@axonivy/dataclass-editor-protocol": "~12.0.1-next", - "@axonivy/jsonrpc": "~12.0.1-next.390", - "@axonivy/ui-components": "~12.0.1-next.390", - "@axonivy/ui-icons": "~12.0.1-next.390", + "@axonivy/jsonrpc": "~12.0.1-next.401", + "@axonivy/ui-components": "~12.0.1-next.401", + "@axonivy/ui-icons": "~12.0.1-next.401", "@tanstack/react-query": "5.32.1", "@tanstack/react-query-devtools": "5.32.1", "react": "^18.2.0" diff --git a/packages/dataclass-editor/package.json b/packages/dataclass-editor/package.json index c6614483..b9476c94 100644 --- a/packages/dataclass-editor/package.json +++ b/packages/dataclass-editor/package.json @@ -18,9 +18,9 @@ "main": "lib/editor.js", "dependencies": { "@axonivy/dataclass-editor-protocol": "~12.0.1-next", - "@axonivy/jsonrpc": "~12.0.1-next.390", - "@axonivy/ui-components": "~12.0.1-next.390", - "@axonivy/ui-icons": "~12.0.1-next.390", + "@axonivy/jsonrpc": "~12.0.1-next.401", + "@axonivy/ui-components": "~12.0.1-next.401", + "@axonivy/ui-icons": "~12.0.1-next.401", "@tanstack/react-query": "5.32.1", "@tanstack/react-query-devtools": "5.32.1", "react": "^18.2.0" diff --git a/playwright/tests/integration/mock/detail-field-entity-association.spec.ts b/playwright/tests/integration/mock/detail-field-entity-association.spec.ts index d8b8d0b0..97c1b1c6 100644 --- a/playwright/tests/integration/mock/detail-field-entity-association.spec.ts +++ b/playwright/tests/integration/mock/detail-field-entity-association.spec.ts @@ -14,7 +14,7 @@ test('cardinality', async () => { await editor.table.row(5).locator.click(); await editor.detail.field.entity.accordion.open(); - await cardinality.expectToHaveOptions('', 'One-to-One', 'Many-to-One'); + await cardinality.expectToHaveOptions('One-to-One', 'Many-to-One'); }); test('cascade', async () => {