diff --git a/package.json b/package.json index 90fb1e61..1532a1f5 100644 --- a/package.json +++ b/package.json @@ -231,6 +231,7 @@ "jszip": "^3.10.1", "jwt-decode": "^4.0.0", "korean-unpacker": "^1.0.3", + "langs": "^2.0.0", "libmime": "^5.3.7", "libphonenumber-js": "^1.12.33", "lodash": "^4.17.21", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4db0cded..378d4088 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -582,6 +582,9 @@ importers: korean-unpacker: specifier: ^1.0.3 version: 1.0.3 + langs: + specifier: ^2.0.0 + version: 2.0.0 libmime: specifier: ^5.3.7 version: 5.3.7 @@ -8178,6 +8181,9 @@ packages: resolution: {integrity: sha512-QJv/h939gDpvT+9SiLVlY7tZC3xB2qK57v0J04Sh9wpMb6MP1q8gB21L3WIo8T5P1MSMg3Ep14L7KkDCFG3y4w==} engines: {node: '>=16.0.0'} + langs@2.0.0: + resolution: {integrity: sha512-v4pxOBEQVN1WBTfB1crhTtxzNLZU9HPWgadlwzWKISJtt6Ku/CnpBrwVy+jFv8StjxsPfwPFzO0CMwdZLJ0/BA==} + last-run@2.0.0: resolution: {integrity: sha512-j+y6WhTLN4Itnf9j5ZQos1BGPCS8DAwmgMroR3OzfxAsBxam0hMw7J8M3KqZl0pLQJ1jNnwIexg5DYpC/ctwEQ==} engines: {node: '>= 10.13.0'} @@ -19911,6 +19917,8 @@ snapshots: vscode-languageserver-textdocument: 1.0.12 vscode-uri: 3.0.8 + langs@2.0.0: {} + last-run@2.0.0: {} layout-base@1.0.2: {} diff --git a/src/tools/iso-639-searcher/index.ts b/src/tools/iso-639-searcher/index.ts new file mode 100644 index 00000000..d1fd00bd --- /dev/null +++ b/src/tools/iso-639-searcher/index.ts @@ -0,0 +1,13 @@ +import { Language } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'ISO 639 Searcher', + path: '/iso-639-searcher', + description: 'Search in ISO 639-1/2T/2B/3 language codes', + keywords: ['iso639', 'language', 'langcode', 'searcher'], + component: () => import('./iso-639-searcher.vue'), + icon: Language, + createdAt: new Date('2026-02-21'), + category: 'Data', +}); diff --git a/src/tools/iso-639-searcher/iso-639-searcher.vue b/src/tools/iso-639-searcher/iso-639-searcher.vue new file mode 100644 index 00000000..9f65daff --- /dev/null +++ b/src/tools/iso-639-searcher/iso-639-searcher.vue @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + No results + + + + + Search Results + + + + + iso-639-1 + iso-639-2T/2B + iso-639-3 + English and local name + + + + + + + + + + + + + + + + + + + + + + + + + Loading more results... ({{ visibleSearchResults.length }}/{{ searchResult.length }}) + + + + + + diff --git a/src/tools/iso-639-searcher/langs.d.ts b/src/tools/iso-639-searcher/langs.d.ts new file mode 100644 index 00000000..100633c8 --- /dev/null +++ b/src/tools/iso-639-searcher/langs.d.ts @@ -0,0 +1,11 @@ +declare module 'langs' { + export function all(): Array<{ + "name":string + "local": string + "1": string + "2": string + "2T":string + "2B":string + "3":string + }> +} \ No newline at end of file