From 0624feadd4132aa780821378db528fa564485cd8 Mon Sep 17 00:00:00 2001 From: "david.watkins@db.com" Date: Thu, 26 May 2022 16:31:04 +0100 Subject: [PATCH] Svelte Entity search accepts special characters - allowing for email search etc #CTCTOWALTZ-2513 #6072 --- waltz-ng/client/common/svelte/EntitySearchSelector.svelte | 4 ++++ waltz-ng/package-lock.json | 6 +++--- waltz-ng/package.json | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/waltz-ng/client/common/svelte/EntitySearchSelector.svelte b/waltz-ng/client/common/svelte/EntitySearchSelector.svelte index 63cefef710..07aede0e5f 100644 --- a/waltz-ng/client/common/svelte/EntitySearchSelector.svelte +++ b/waltz-ng/client/common/svelte/EntitySearchSelector.svelte @@ -2,6 +2,7 @@ import {entitySearchStore} from "../../svelte-stores/entity-search-store"; import AutoComplete from "simple-svelte-autocomplete"; import {createEventDispatcher} from "svelte"; + import _ from "lodash"; export let entityKinds; export let placeholder = "Search..."; @@ -23,8 +24,11 @@ diff --git a/waltz-ng/package-lock.json b/waltz-ng/package-lock.json index c5ab26f272..38a7e3460a 100644 --- a/waltz-ng/package-lock.json +++ b/waltz-ng/package-lock.json @@ -9783,9 +9783,9 @@ "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" }, "simple-svelte-autocomplete": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/simple-svelte-autocomplete/-/simple-svelte-autocomplete-1.3.2.tgz", - "integrity": "sha512-l4W55MEVDTZ3vQvBk6YrfHhlK0qxsj0G9fZWJr4KiZnrE+eUQeVgaOf3LT/vbLCuRGSStvtxj/km4lDprJDiFw==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/simple-svelte-autocomplete/-/simple-svelte-autocomplete-2.4.0.tgz", + "integrity": "sha512-hiYaT04ZP/zTZxKqwG9MefXP5tCN2MjQojuh1JYMT1rRnXOG4yHK7s5nHy1A+xd5v/PAnyb7ohijTsJk2SyfnQ==", "dev": true }, "slash": { diff --git a/waltz-ng/package.json b/waltz-ng/package.json index 02ef9c21cd..cdd597e4f0 100644 --- a/waltz-ng/package.json +++ b/waltz-ng/package.json @@ -83,7 +83,7 @@ "raw-loader": "4.0.2", "sass": "1.26.11", "sass-loader": "10.0.2", - "simple-svelte-autocomplete": "1.3.2", + "simple-svelte-autocomplete": "2.4.0", "speed-measure-webpack-plugin": "1.5.0", "style-loader": "1.3.0", "svelte": "3.44.1",