diff --git a/package.json b/package.json index b3ef71d3..1291b7cf 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "object-hash": "^2.1.1", "robotjs": "^0.6.0", "tailwindcss": "2.x.x", - "throttle-debounce": "3.0.x", "tippy.js": "^6.2.7", "uiohook-napi": "1.0.x", "vue": "3.2.x", @@ -53,7 +52,6 @@ "@types/luxon": "^2.0.0", "@types/node": "^14.0.0", "@types/object-hash": "^2.0.0", - "@types/throttle-debounce": "^2.1.0", "@typescript-eslint/eslint-plugin": "^4.9.1", "@typescript-eslint/parser": "^4.9.1", "@vue/cli-plugin-eslint": "5.0.0-beta.7", diff --git a/src/assets/make-index-files.mjs b/src/assets/make-index-files.mjs index fcb7846a..0acd7f85 100644 --- a/src/assets/make-index-files.mjs +++ b/src/assets/make-index-files.mjs @@ -65,7 +65,7 @@ for (const lang of LANGUAGES) { { const ndjson = fs.readFileSync(`./public/data/${lang}/items.ndjson`, { encoding: 'utf-8' }) let start = 0 - /** @type{Map} */ const startsByName = new Map() while (start !== ndjson.length) { const end = ndjson.indexOf('\n', start) diff --git a/src/web/price-check/filters/FilterModifier.vue b/src/web/price-check/filters/FilterModifier.vue index 8534b2e0..92683433 100644 --- a/src/web/price-check/filters/FilterModifier.vue +++ b/src/web/price-check/filters/FilterModifier.vue @@ -20,12 +20,12 @@
{{ t('Q {0}%', [calcQuality]) }}
- - + + v-model.number="inputMax" @focus="inputFocus($event, 'max')" @mousewheel.stop>
diff --git a/src/web/ui/InputDebounced.vue b/src/web/ui/InputDebounced.vue deleted file mode 100644 index 19803b11..00000000 --- a/src/web/ui/InputDebounced.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - diff --git a/src/web/ui/index.ts b/src/web/ui/index.ts index 39fbde6d..9be0b2c3 100644 --- a/src/web/ui/index.ts +++ b/src/web/ui/index.ts @@ -2,7 +2,6 @@ import { App } from 'vue' import AppTitlebar from './AppTitlebar.vue' import UiRadio from './UiRadio.vue' import UiToggle from './UiToggle.vue' -import UiInputDebounced from './InputDebounced.vue' import FullscreenImage from './FullscreenImage.vue' import Popover from './Popover.vue' @@ -10,7 +9,6 @@ export default function (app: App) { app.component(AppTitlebar.name, AppTitlebar) app.component(UiRadio.name, UiRadio) app.component(UiToggle.name, UiToggle) - app.component(UiInputDebounced.name, UiInputDebounced) app.component(FullscreenImage.name, FullscreenImage) app.component(Popover.name, Popover) } diff --git a/yarn.lock b/yarn.lock index 0d0d533b..d3a0cde0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -793,11 +793,6 @@ dependencies: "@types/node" "*" -"@types/throttle-debounce@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@types/throttle-debounce/-/throttle-debounce-2.1.0.tgz#1c3df624bfc4b62f992d3012b84c56d41eab3776" - integrity sha512-5eQEtSCoESnh2FsiLTxE121IiE60hnMqcb435fShf4bpLRjEu1Eoekht23y6zXS9Ts3l+Szu3TARnTsA0GkOkQ== - "@types/verror@^1.10.3": version "1.10.5" resolved "https://registry.yarnpkg.com/@types/verror/-/verror-1.10.5.tgz#2a1413aded46e67a1fe2386800e291123ed75eb1" @@ -9336,7 +9331,7 @@ thread-loader@^3.0.0: neo-async "^2.6.2" schema-utils "^3.0.0" -throttle-debounce@3.0.x, throttle-debounce@3.x.x: +throttle-debounce@3.x.x: version "3.0.1" resolved "https://registry.yarnpkg.com/throttle-debounce/-/throttle-debounce-3.0.1.tgz#32f94d84dfa894f786c9a1f290e7a645b6a19abb" integrity sha512-dTEWWNu6JmeVXY0ZYoPuH5cRIwc0MeGbJwah9KUNYSJwommQpCzTySTpEe8Gs1J23aeWEuAobe4Ag7EHVt/LOg==