From 6cc39a76aede2e4f5f7b79586f87f3e6c00a9146 Mon Sep 17 00:00:00 2001 From: Lera24 Date: Mon, 16 Sep 2024 13:37:16 +0300 Subject: [PATCH] fix: search for destination and display name[WTEL-4985/4776] --- package-lock.json | 88 +++++++++---------- package.json | 2 +- .../__tests__/opened-contact-general.spec.js | 2 +- .../contacts/components/contact-popup.vue | 14 ++- .../components/opened-contact-general.vue | 8 +- .../contacts/components/opened-contact.vue | 4 +- src/modules/contacts/store/contacts.js | 4 +- 7 files changed, 58 insertions(+), 64 deletions(-) diff --git a/package-lock.json b/package-lock.json index bc934d1a..0bb90631 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@vuelidate/core": "^2.0.3", "@vuelidate/validators": "^2.0.4", "@vueuse/core": "^11.0.3", - "@webitel/ui-sdk": "^24.10.5", + "@webitel/ui-sdk": "^24.10.8", "axios": "^1.7.7", "deep-equal": "^2.2.1", "dompurify": "^3.1.2", @@ -848,34 +848,34 @@ } }, "node_modules/@floating-ui/core": { - "version": "1.6.7", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.7.tgz", - "integrity": "sha512-yDzVT/Lm101nQ5TCVeK65LtdN7Tj4Qpr9RTXJ2vPFLqtLxwOrpoxAHAJI8J3yYWUc40J0BDBheaitK5SJmno2g==", + "version": "1.6.8", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.8.tgz", + "integrity": "sha512-7XJ9cPU+yI2QeLS+FCSlqNFZJq8arvswefkZrYI1yQBbftw6FyrZOxYSh+9S7z7TpeWlRt9zJ5IhM1WIL334jA==", "dependencies": { - "@floating-ui/utils": "^0.2.7" + "@floating-ui/utils": "^0.2.8" } }, "node_modules/@floating-ui/dom": { - "version": "1.6.10", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.10.tgz", - "integrity": "sha512-fskgCFv8J8OamCmyun8MfjB1Olfn+uZKjOKZ0vhYF3gRmEUXcGOjxWL8bBr7i4kIuPZ2KD2S3EUIOxnjC8kl2A==", + "version": "1.6.11", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.11.tgz", + "integrity": "sha512-qkMCxSR24v2vGkhYDo/UzxfJN3D4syqSjyuTFz6C7XcpU1pASPRieNI0Kj5VP3/503mOfYiGY891ugBX1GlABQ==", "dependencies": { "@floating-ui/core": "^1.6.0", - "@floating-ui/utils": "^0.2.7" + "@floating-ui/utils": "^0.2.8" } }, "node_modules/@floating-ui/utils": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.7.tgz", - "integrity": "sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==" + "version": "0.2.8", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.8.tgz", + "integrity": "sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig==" }, "node_modules/@floating-ui/vue": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/@floating-ui/vue/-/vue-1.1.4.tgz", - "integrity": "sha512-ammH7T3vyCx7pmm9OF19Wc42zrGnUw0QvLoidgypWsCLJMtGXEwY7paYIHO+K+oLC3mbWpzIHzeTVienYenlNg==", + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@floating-ui/vue/-/vue-1.1.5.tgz", + "integrity": "sha512-ynL1p5Z+woPVSwgMGqeDrx6HrJfGIDzFyESFkyqJKilGW1+h/8yVY29Khn0LaU6wHBRwZ13ntG6reiHWK6jyzw==", "dependencies": { "@floating-ui/dom": "^1.0.0", - "@floating-ui/utils": "^0.2.7", + "@floating-ui/utils": "^0.2.8", "vue-demi": ">=0.13.0" } }, @@ -1151,11 +1151,11 @@ } }, "node_modules/@nuxt/kit": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/@nuxt/kit/-/kit-3.13.1.tgz", - "integrity": "sha512-FkUL349lp/3nVfTIyws4UDJ3d2jyv5Pk1DC1HQUCOkSloYYMdbRcQAUcb4fe2TCLNWvHM+FhU8jnzGTzjALZYA==", + "version": "3.13.2", + "resolved": "https://registry.npmjs.org/@nuxt/kit/-/kit-3.13.2.tgz", + "integrity": "sha512-KvRw21zU//wdz25IeE1E5m/aFSzhJloBRAQtv+evcFeZvuroIxpIQuUqhbzuwznaUwpiWbmwlcsp5uOWmi4vwA==", "dependencies": { - "@nuxt/schema": "3.13.1", + "@nuxt/schema": "3.13.2", "c12": "^1.11.2", "consola": "^3.2.3", "defu": "^6.1.4", @@ -1173,7 +1173,7 @@ "semver": "^7.6.3", "ufo": "^1.5.4", "unctx": "^2.3.1", - "unimport": "^3.11.1", + "unimport": "^3.12.0", "untyped": "^1.4.2" }, "engines": { @@ -1181,9 +1181,9 @@ } }, "node_modules/@nuxt/schema": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/@nuxt/schema/-/schema-3.13.1.tgz", - "integrity": "sha512-ishbhzVGspjshG9AG0hYnKYY6LWXzCtua7OXV7C/DQ2yA7rRcy1xHpzKZUDbIRyxCHHCAcBd8jfHEUmEuhEPrA==", + "version": "3.13.2", + "resolved": "https://registry.npmjs.org/@nuxt/schema/-/schema-3.13.2.tgz", + "integrity": "sha512-CCZgpm+MkqtOMDEgF9SWgGPBXlQ01hV/6+2reDEpJuqFPGzV8HYKPBcIFvn7/z5ahtgutHLzjP71Na+hYcqSpw==", "dependencies": { "compatx": "^0.1.8", "consola": "^3.2.3", @@ -1195,7 +1195,7 @@ "std-env": "^3.7.0", "ufo": "^1.5.4", "uncrypto": "^0.1.3", - "unimport": "^3.11.1", + "unimport": "^3.12.0", "untyped": "^1.4.2" }, "engines": { @@ -2021,9 +2021,9 @@ } }, "node_modules/@webitel/ui-sdk": { - "version": "24.10.5", - "resolved": "https://registry.npmjs.org/@webitel/ui-sdk/-/ui-sdk-24.10.5.tgz", - "integrity": "sha512-T6RKu3rWmFRHQfTlb+l33PEUUG8KYCIo7P8rCKh1mStD5e0muRRe3Qf94o8Hgkhlq8EZduiKAHBm5q2p2Jna3A==", + "version": "24.10.8", + "resolved": "https://registry.npmjs.org/@webitel/ui-sdk/-/ui-sdk-24.10.8.tgz", + "integrity": "sha512-lovECRNghS8zNrjXcVhwMXSH+ljhJgm3/y73/+VbwYgcG6LasjhH9QO7Ksv7c8RDiYIMqJEVJLxMRFMylFMF9A==", "dependencies": { "@floating-ui/vue": "^1.0.1", "@morev/vue-transitions": "^3.0.2", @@ -3697,9 +3697,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.18", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.18.tgz", - "integrity": "sha512-1OfuVACu+zKlmjsNdcJuVQuVE61sZOLbNM4JAQ1Rvh6EOj0/EUKhMJjRH73InPlXSh8HIJk1cVZ8pyOV/FMdUQ==" + "version": "1.5.23", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.23.tgz", + "integrity": "sha512-mBhODedOXg4v5QWwl21DjM5amzjmI1zw9EPrPK/5Wx7C8jt33bpZNrC7OhHUG3pxRtbLpr3W2dXT+Ph1SsfRZA==" }, "node_modules/elliptic": { "version": "6.5.5", @@ -6849,9 +6849,9 @@ } }, "node_modules/ohash": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/ohash/-/ohash-1.1.3.tgz", - "integrity": "sha512-zuHHiGTYTA1sYJ/wZN+t5HKZaH23i4yI1HMwbuXm24Nid7Dv0KcuRlKoNKS9UNfAVSBlnGLcuQrnOKWOZoEGaw==" + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/ohash/-/ohash-1.1.4.tgz", + "integrity": "sha512-FlDryZAahJmEF3VR3w1KogSEdWX3WhA5GPakFx4J81kEAiHyLMpdLLElS8n8dfNadMgAne/MywcvmogzscVt4g==" }, "node_modules/once": { "version": "1.4.0", @@ -9170,9 +9170,9 @@ } }, "node_modules/unimport": { - "version": "3.11.1", - "resolved": "https://registry.npmjs.org/unimport/-/unimport-3.11.1.tgz", - "integrity": "sha512-DuB1Uoq01LrrXTScxnwOoMSlTXxyKcULguFxbLrMDFcE/CO0ZWHpEiyhovN0mycPt7K6luAHe8laqvwvuoeUPg==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/unimport/-/unimport-3.12.0.tgz", + "integrity": "sha512-5y8dSvNvyevsnw4TBQkIQR1Rjdbb+XjVSwQwxltpnVZrStBvvPkMPcZrh1kg5kY77kpx6+D4Ztd3W6FOBH/y2Q==", "dependencies": { "@rollup/pluginutils": "^5.1.0", "acorn": "^8.12.1", @@ -9186,7 +9186,7 @@ "pkg-types": "^1.2.0", "scule": "^1.3.0", "strip-literal": "^2.1.0", - "unplugin": "^1.12.2" + "unplugin": "^1.14.1" } }, "node_modules/unimport/node_modules/escape-string-regexp": { @@ -9224,9 +9224,9 @@ } }, "node_modules/unplugin": { - "version": "1.14.0", - "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.14.0.tgz", - "integrity": "sha512-cfkZeALGyW7tKYjZbi0G+pn0XnUFa0QvLIeLJEUUlnU0R8YYsBQnt5+h9Eu1B7AB7KETld+UBFI5lOeBL+msoQ==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.14.1.tgz", + "integrity": "sha512-lBlHbfSFPToDYp9pjXlUEFVxYLaue9f9T1HC+4OHlmj+HnMDdz9oZY+erXfoCe/5V/7gKUSY2jpXPb9S7f0f/w==", "dependencies": { "acorn": "^8.12.1", "webpack-virtual-modules": "^0.6.2" @@ -9712,9 +9712,9 @@ } }, "node_modules/vue-multiselect": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/vue-multiselect/-/vue-multiselect-3.0.0.tgz", - "integrity": "sha512-uupKdINgz7j83lQToCL7KkgQQxvG43el++hsR39YT9pCe1DwzUGmKzPxjVP6rqskXed5P6DtUASYAlCliW740Q==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/vue-multiselect/-/vue-multiselect-3.1.0.tgz", + "integrity": "sha512-+i/fjTqFBpaay9NP+lU7obBeNaw2DdFDFs4mqhsM0aEtKRdvIf7CfREAx2o2B4XDmPrBt1r7x1YCM3BOMLaUgQ==", "engines": { "node": ">= 14.18.1", "npm": ">= 6.14.15" diff --git a/package.json b/package.json index e4a3c548..62a3f45f 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@vuelidate/core": "^2.0.3", "@vuelidate/validators": "^2.0.4", "@vueuse/core": "^11.0.3", - "@webitel/ui-sdk": "^24.10.5", + "@webitel/ui-sdk": "^24.10.8", "axios": "^1.7.7", "deep-equal": "^2.2.1", "dompurify": "^3.1.2", diff --git a/src/modules/contacts/components/__tests__/opened-contact-general.spec.js b/src/modules/contacts/components/__tests__/opened-contact-general.spec.js index 669220c4..b1c35793 100644 --- a/src/modules/contacts/components/__tests__/opened-contact-general.spec.js +++ b/src/modules/contacts/components/__tests__/opened-contact-general.spec.js @@ -5,7 +5,7 @@ describe('OpenedContactGeneral', () => { it('renders a component', () => { const wrapper = shallowMount(OpenedContactGeneral, { props: { - commonName: 'jest', + name: 'jest', }, global: { provide: { diff --git a/src/modules/contacts/components/contact-popup.vue b/src/modules/contacts/components/contact-popup.vue index 99292ff4..1d89b5a1 100644 --- a/src/modules/contacts/components/contact-popup.vue +++ b/src/modules/contacts/components/contact-popup.vue @@ -12,12 +12,12 @@