Compare commits

..
Author SHA1 Message Date
renovate[bot] 77e0634b41 chore(deps): update dependency commander to v15 2026-07-12 19:13:48 +00:00
ShareVB 41464cfdc4 chore: update deps 2026-07-12 21:04:24 +02:00
ShareVB fe2766e554 fix(Cron Expression Generator): handle input cron and standard only 2026-07-12 17:48:17 +02:00
ShareVB 0620f57691 feat(IBAN Validator and Parser): add bank infos
Fix #1421
2026-07-12 16:58:02 +02:00
ShareVB 03099a149b chore(version): release 2026.07.11 2026-07-12 00:24:09 +02:00
ShareVB 2a310b499f docs(changelog): update changelog for 2026.07.11 2026-07-12 00:24:09 +02:00
ShareVB 9ab81ab28d fix(Release): needs lodash for now 2026-07-12 00:23:57 +02:00
ShareVB d1c51da6e0 i18n: add Hindi 2026-07-12 00:19:53 +02:00
ShareVB aa2674af35 i18n: translate remaining 2026-07-12 00:19:37 +02:00
ShareVB b788aaf03f i18n: extract strings 2026-07-11 23:34:55 +02:00
SebastianandClaude Fable 5 239c69ee40 feat: mobile UX overhaul, theme flash prevention and build cleanup (#474)
* feat: mobile UX overhaul, theme flash prevention and build cleanup

UI/UX (mostly mobile):
- Prevent white flash on load: pre-paint inline style + script in
  index.html applies the persisted theme before first paint.
- Match browser chrome to the app background: theme-color meta kept in
  sync for Android/older iOS, and body background pinned to the Layout
  color for Safari 26+, which ignores theme-color and samples the page.
- Make the document the app's scroller instead of n-layout's nested
  container: single scrollbar, native iOS tap-status-bar-to-scroll-top,
  natural toolbar collapsing; desktop sider becomes sticky and router
  scrollBehavior restores/resets scroll on navigation.
- Full-width mobile menu that fades in under an always-visible sticky
  top bar, seamless app background without the hero gradient, closes on
  navigation (including About while already on /about), scroll-locked
  behind, symmetric spacing around the title block and icon row.
- Language selector and theme toggle become icon dropdowns; theme
  supports System/Light/Dark via useColorMode (same storage as before).
- Route-change loading spinner scoped to the page area so the nav bar
  stays visible; spinner remains cosmetic-only (350ms delay).
- Halve content padding on small screens; reduce home top padding.
- Full-width expand/collapse tools button so its width doesn't jump.
- No sticky hover styles on touch devices (hover gated behind
  @media (hover: hover)).

Build:
- Rename deprecated rolldown output.advancedChunks to codeSplitting.
- Fix unocss 'unmatched utility' warnings in the pretty-scrollbar
  shortcut; override js-sha256 to 0.11.x (drops eval); bump
  javascript-obfuscator to 5.4.6.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TNayL5ianBBucVapfkM8CC

* Remove unnecessary comment

* Refresh lockfile, remove releaseage ignore

Signed-off-by: Sebastian Danielsson <sebastian.danielsson@proton.me>

* chore: remove unused LocaleSelector component

Language selection moved into the NavbarButtons dropdown; nothing
references this component anymore. Its i18n keys are left in place.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TNayL5ianBBucVapfkM8CC

---------

Signed-off-by: Sebastian Danielsson <sebastian.danielsson@proton.me>
Co-authored-by: Claude <noreply@anthropic.com>
2026-07-11 23:21:34 +02:00
ShareVB 74604235ad feat(Base64 String Converter): handle text encoding other than utf8
Fix #1777
2026-07-11 23:16:12 +02:00
ShareVB dfa836b7d4 feat(new tool): Keyboard Tester 2026-07-11 23:14:36 +02:00
ShareVB b016d34c2d feat(new tool): Cron Expression Generator 2026-07-11 21:55:43 +02:00
ShareVBand@stevenlee87 37cc92faf9 feat(new tool): DNS/RDAP queries
Co-authored-by: @stevenlee87
2026-07-11 17:42:06 +02:00
ShareVBand@stevenlee87 45ed4a7aed feat(new tool): CSS/JS Prettify & Minify
Co-authored-by: @stevenlee87
2026-07-11 17:41:31 +02:00
ShareVB 02df0f3e98 feat(new tool): Markdown Diff
Fix #1804
Co-authored-by: nimza <maz.webfreelance@gmail.com>
2026-07-11 17:17:30 +02:00
ShareVB 8b19bf00c3 feat(Token Generator): add ambigous chars exclusion by default
Fix #1800
2026-07-11 16:52:53 +02:00
ShareVBandRahul Somasundaram b662c6b356 feat(new tool): Markdown Preview
Co-authored-by: Rahul Somasundaram <rahulstsgr@gmail.com>
2026-07-11 16:52:53 +02:00
ShareVB 81149949b7 feat(new tool): Markdown Table Generator
With paste as markdown capabilities
Fix #542
Co-authored-by:  ssdwgg <1982549567@qq.com>
2026-07-11 16:52:53 +02:00
ShareVB d041556f9f feat(new tool): nmap Command Builder 2026-07-10 22:37:25 +02:00
ShareVB 8ecdf990d2 feat(new tool): k6 Generator 2026-07-10 22:30:59 +02:00
ShareVB 6f93cd19c1 feat(new tool): JSON Patch Tools
Fix #1776
2026-07-10 21:55:11 +02:00
ShareVB 00584bd549 feat(Docker Compose to .env): add updated Docker compose
Fix #1828
2026-07-09 23:31:30 +02:00
LuoXingchen 14bfc21b0a feat(docker-compose-memo): add Chinese translation and refactor locale-based memo loading (#421)
- Add docker-compose.zh.md with full Chinese translation
- Refactor docker-compose-memo.vue to dynamically load memo by current locale
2026-07-09 23:06:03 +02:00
ShareVB 329bf35a9d fix(Bash Cheatsheet): fix default to en 2026-07-09 23:05:16 +02:00
ShareVB 9302b8e0da feat(Case Converter): add Language specific Title Case
Fix #1831
2026-07-09 22:57:39 +02:00
SebastianandClaude Fable 5 bad27cfe39 perf: overhaul startup performance, dependencies and UI responsiveness (#419)
* perf(i18n): bundle only English eagerly, lazy-load other locales on demand

The entry bundle previously inlined all 19 locales (11 MB minified, 2.4 MB
gzip) via the virtual @intlify messages module. Now only en (plus tool-level
en files) is compiled into the entry; every other locale becomes its own lazy
chunk fetched the first time it is selected, with vue-i18n falling back to
English until the messages arrive.

VITE_AVAILABLE_LOCALES now filters the locales offered at runtime instead of
trimming the build; unlisted locale chunks are emitted but never fetched.

Also adds shims for *.yml default imports and @tabler/icons-vue per-icon
deep imports (used by the follow-up icon-loading commit).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea

* perf(tools): load tool icons lazily and parallelize boot config fetches

The eager tool-metadata glob pulled ~460 static icon component modules into
the entry graph. Tool definitions now reference their icon via
defineAsyncComponent + per-icon dynamic import, and an advancedChunks group
merges all of them into a single lazy 'tool-icons' chunk fetched off the
critical path when the menu/home first renders. Exact same glyphs as before.

Entry-graph components (navbar, layouts, ToolCard, copy buttons, command
palette, home) switch from runtime icon packages to build-time-inlined
~icons/tabler imports so no static reference drags the icon chunk into the
entry bundle.

src/tools/index.ts also fetched tools-filter.json and external-tools.json
sequentially under top-level await, blocking first render on two serial
round-trips; they are now fetched in parallel.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea

* perf(pwa): precache only the app shell, cache chunks and wasm on demand

The service worker precached every JS chunk and WASM binary — 1,679 files,
~162 MB — on first visit, saturating bandwidth while the page was trying to
become interactive. Precache is now limited to the shell (css/html) with
CacheFirst runtime caching for same-origin hashed scripts, workers and wasm,
so offline support covers everything the user has actually opened.

VITE_PWA_FULL_PRECACHE=true restores the previous cache-everything behavior
for self-hosted full-offline deployments.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea

* perf(menu): eliminate layout thrash in sider and category animations

The sider show/hide animates CSS width, which re-laid-out all ~460 menu
items plus the page content on every frame; category expand/collapse
animates grid-template-rows with the same cost. Two changes cut the
per-frame work:

- content-visibility: auto on each category container so offscreen
  categories skip layout and paint entirely during animations
- the sider scroll content is pinned to the expanded width, so the width
  transition clips the menu instead of re-wrapping every item per frame

Measured with the Long Animation Frames API (dev mode, full hide+show
cycle): 4 long frames totalling ~395 ms before, 2 totalling ~236 ms after;
animation frames after the initial commit now stay under 50 ms.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea

* perf(deps): replace moment with date-fns in countdown and alarm tools

moment was only used by three tools, each pulling its ~70 KB gzip bundle
into their chunks while date-fns (already a dependency) covers the same
needs tree-shaken. Also fixes a latent bug: moment's mutating add()/set()
modified the shared 'now' ref on every computed evaluation, so the deadline
could drift by one duration per re-render; date-fns operations are
immutable.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea

* perf(deps): replace lodash with es-toolkit

Full CJS lodash (~70 KB gzip, no tree-shaking) was in the entry graph via
the tools store and shared composables, plus four lodash.* micro-packages.
es-toolkit provides the same functions as tree-shakeable ESM:

- import _ from 'lodash' -> import * as _ from 'es-toolkit/compat'
  (namespace member access tree-shakes under Rolldown)
- the 20 _.chain pipelines are rewritten as plain array/object operations
  or es-toolkit calls (es-toolkit has no chain, deliberately)
- lodash.defaultsdeep/flattendeep/last/mergewith micro-packages replaced
  with es-toolkit core/compat equivalents
- lodash's RecursiveArray type is declared locally in generate-tree.ts
- files whose only lodash use was inside a rewritten chain lose the
  dependency entirely

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea

* fix: catch lodash usages the codemod missed (.js/.tsx files, bare _() wrapper)

outputFormatter.js and diff-viewer.models.tsx were outside the codemod's
*.ts/*.vue glob, and otp.service.ts used the implicit-chain _(...) wrapper
form that the _. usage regex didn't match (its import was wrongly removed).
Both builds still passed because pnpm's hoisted store made 'lodash'
resolvable even after removal from package.json.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea

* perf(boot): drop the splash screen and parallelize the settings fetch

The splash screen existed to cover a multi-second blank period while the old
13 MB entry bundle parsed; with the startup payload at ~3 MB the app shell
paints fast enough to render directly (measurements in the PR description).
Removes vite-plugin-splash-screen entirely.

tools-settings.json was fetched under top-level await in main.ts, serially
after the config fetches in src/tools/index.ts. It now lives in a sibling
async module so all three optional config fetches share one round-trip.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea

* fix: defer preload-error reload so it cannot abort an in-flight navigation

Firefox fires vite:preloadError for module preloads cancelled by a user
navigation (NS_BINDING_ABORTED), and the immediate location.reload() raced
and aborted that navigation. With the tool icons now loading via dynamic
imports there are ~460 preloads in flight at startup, which made the race
deterministic in the date-time-converter Playwright specs on firefox.

Deferring the reload by a tick resolves it: if the page is genuinely
navigating away its timers die with the document; on a real chunk-load
failure the reload still happens.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea

* fix(types): satisfy the vitest tsconfig typecheck

pnpm typecheck runs vue-tsc against tsconfig.vitest.json, which lacks the
unplugin-vue-i18n type shim and infers stricter unions:

- tools/index.ts: type the fetch fallbacks so Promise.all doesn't widen
  filterConfig to 'ToolsFilter | {}'
- i18n.plugin.ts: collapse es-toolkit merge's recursive mapped type before
  it reaches vue-i18n's generics (TS2589), watch the locale through the
  getter, and cast the messages record
- generate-tree.ts: drop flattenDeep/RecursiveArray for a plain spread —
  child output is already joined strings, so there was only one level to
  flatten

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea

* perf(bundle): cut startup payload from ~1 MB to ~560 KB gzip

Four eager-loading leaks accounted for almost half the startup JS:

- Font Awesome (298 KB gzip): main.ts registered the entire solid icon set
  via library.add(fas) although only the pomodoro timer uses it. The six
  icons it needs are now registered inside the tool's lazy chunk.
- tool-icons chunk (67 KB gzip): rolldown's advancedChunks defaults to
  includeDependenciesRecursively, which captured shared helpers into the
  icon chunk and made entry chunks statically depend on it, dragging the
  whole lazy icon set back into the startup payload. Disabled per-group.
- markdown-it + entities + dompurify (~50 KB gzip): eagerly reachable via
  three paths — the external-tools mapping in tools/index.ts (now a
  conditional dynamic import), vue-markdown-render in tool.layout.vue and
  Home.custom.vue (now defineAsyncComponent).
- demo gallery routes: registered behind a runtime env check the bundler
  cannot eliminate; now a conditional dynamic import gated on
  import.meta.env.DEV so production builds drop it entirely.

Startup JS: 3.2 MB -> 1.92 MB raw, ~1.05 MB -> 562 KB gzip.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea

* fix(lint): drop redundant spread flagged by oxlint

Object.values already returns a fresh array, so it can be pushed into
directly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RKAJuYi4dP1mwsjPi4v5Ea

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-08 22:46:19 +02:00
63f011b071 Upgrade toolchain: Vite 8, Vue 3.5, Vitest 4, TypeScript 6, pnpm 11, Node 24; replace ESLint/Prettier with oxlint/oxfmt (#418)
* chore: upgrade toolchain to Vite 8, Vue 3.5, Vitest 4, TypeScript 6 and pnpm 11; adopt oxlint/oxfmt

- vite 4 -> 8.1.3 (rolldown-based: build.rollupOptions -> rolldownOptions,
  drop optimizeDeps.esbuildOptions), @vitejs/plugin-vue 4 -> 6, plugin-vue-jsx 3 -> 5
- vue 3.3 -> 3.5.39, vue-tsc 1.8 -> 3.3.6, vitest 0.34 -> 4.1.9, jsdom 22 -> 29
- typescript 5.2 -> 6.0.3 with moduleResolution=bundler (baseUrl/node10 are
  hard errors in TS 6, removed in TS 7); TS 7 RC not adoptable: its native
  tsc lacks the JS compiler API vue-tsc needs (vuejs/language-tools#5381)
- unocss 0.57 -> 66 (presetUno -> presetWind3), unplugin-* to current majors
  (unplugin-vue-components dtsTsx disabled: emits invalid declarations for
  dotted component names)
- @vueuse/head 1.0.0 -> 1.3.1 (1.0.0 silently stopped applying page titles
  under Vue 3.5)
- replace ESLint (@antfu config) + Prettier with oxlint + oxfmt; configs
  mirror the previous style rules. Existing files are intentionally NOT
  mass-reformatted (oxfmt has no brace-style/operator-position options to
  match the old @antfu style) — only files with real changes are formatted
- pnpm 9 -> 11.10.0: settings move to pnpm-workspace.yaml, fresh lockfile
  passing supply-chain policies, explicit allowBuilds decisions,
  blockExoticSubdeps off (xlsx CDN override patches vulnerable npm 0.18.5)
- isolated-vm (17 MB) and onnxruntime-node (208 MB) stubbed via overrides:
  native-only transitives already aliased to an empty module for the bundle
- elliptic overridden to npm ^6.6.1 (github fork tarball of
  webcrypto-liner-shim unreachable from the build environment)
- CI: node 22 -> 24, all actions pinned to latest patch releases, automatic
  Vercel workflows disabled (fork deploys via Vercel Git integration),
  vercel.json: git.deploymentEnabled removed, buildCommand skips no-op vue-tsc
- Dockerfile: node:24-alpine, pnpm@11, ship pnpm-workspace.yaml and stubs

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1

* fix: resolve type, lint and runtime issues from the toolchain upgrade

vue-tsc 3 checks templates far more strictly than 1.8 and TS 5.7+ made
Uint8Array generic over its backing buffer. Widen shared component props
(InputCopyable, c-table, c-input-text, UnitsConverter), convert values at
call sites, fix invalid local .d.ts declarations, and repair issues the
new tooling exposed:

- WireGuard generator: pre-shared-keys checkbox used v-model:value which
  never binds on a standalone n-checkbox (now v-model:checked)
- mask-closable="false" string attrs became real boolean bindings in
  countdown/cron-alarm/time-alarm
- v-model casts (x as any) fail to compile under plugin-vue 6 + rolldown;
  replaced with :value/@update:value split bindings
- invalid '::ffff::' IPv6 literal in ipv6registry.json, exposed by stricter
  parsing in cidr-tools 11.3 (IPv4-mapped range never matched)
- fanger pinned to 0.3.1 (0.3.2 published without dist/)
- countries-and-timezones namespace imports, Vitest 4 snapshot format,
  invalid ul-inside-p HTML in dead-pixel, test assertion outside it() block

vue-tsc clean; oxlint clean; vitest 665/665; vite build + PWA OK;
Playwright e2e 100/100; all 457 tool routes render without errors

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1

* chore: drop whole-tree oxfmt from precommit instructions

The tree deliberately keeps its existing @antfu-era formatting; running
'pnpm fmt' (oxfmt over all of src) would reformat ~800 untouched files.
Format only the files you change, or run 'pnpm fmt' in a dedicated PR.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1

* fix: escape backslashes before dots in parquet column keys

CodeQL flagged incomplete string escaping (js/incomplete-sanitization):
escaping '.' to '\.' without first escaping existing backslashes makes
column names containing backslashes ambiguous in naive-ui's nested-key
syntax. Escape backslashes first.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1

* test: allow 30s for initial mermaid render in e2e

mermaid is a large lazy-loaded chunk; webkit on cold CI runners exceeds
Playwright's default 5s expect timeout even across retries.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1

* refactor: replace 'as any' input type casts with proper typings

Copilot review on the upstream PR flagged the casts. c-input-text
renders any non-password type as a text input, so widen its type union
to include 'url' instead of casting; for naive-ui's NInput use the
documented input-props to set the native input's type=number.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1
(cherry picked from commit 906820336b271aa6d96ecb11efa03219bf869475)

* fix: reconcile lockfile with upstream sync; repair date-picker typing in Docker Label Generator

- fold upstream's new CodeMirror/picomatch dependencies into the pnpm 11
  lockfile; add @lezer/highlight to optimizeDeps (kept from upstream)
- dockerfile-label-generator: n-date-picker emits a number timestamp,
  not a Date — calling toISOString() on it would throw at runtime the
  moment a date was picked. Type as number and convert via new Date()
- drop stray tsconfig.vite-config.tsbuildinfo build artifact; ignore
  *.tsbuildinfo

vue-tsc clean; oxlint clean; vitest 665/665; vite build OK

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1

* chore: keep upstream Vercel CLI deployment setup

The fork-specific Vercel changes (Git-integration deploys, disabled CLI
workflows, build:vercel command) are excluded from the upstream
contribution; upstream deploys via its own Vercel CLI workflows.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1
(cherry picked from commit ed182ec55648358556343e60e1667129acdbb966)

* fix: escape backslashes in Docker label values; raise global e2e expect timeout

- dockerfile-label-generator escaped quotes without escaping existing
  backslashes first (CodeQL js/incomplete-sanitization, same class as
  the parquets-reader fix): a value ending in a backslash would break
  the generated LABEL quoting
- playwright: 15s global expect timeout — first paint of heavy lazy
  chunks exceeds the 5s default on slow CI browsers (webkit), which
  intermittently failed title assertions across retries

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6deEDJXFzgDzPiYPAcsv1
(cherry picked from commit 5b3822e10113a49bc519661a5b01ad62660d56a9)

* Update .gitignore to include specific file types

* Add stats.html to .gitignore

* Delete tsconfig.vite-config.tsbuildinfo

* Delete stats.html

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: sharevb <sharevb@gmail.com>
2026-07-06 18:29:27 +02:00
ShareVB 3c76776e2c feat: add a viewer for JSON/XML and other languages with folding to many tools
Fix #394
2026-07-05 18:07:17 +02:00
ShareVB d544bf2b3a feat(new tool): Picomatch tester 2026-07-05 16:16:26 +02:00
ShareVB 218ae7a862 feat(new tool): Docker Label Generator 2026-07-05 15:48:08 +02:00
ShareVB fe2a1be194 feat(Color Converter): add oklab/oklch and lab as CSS
Fix #1798
2026-07-05 13:51:22 +02:00
ShareVB 2a4fcc6e4d feat(new tools): HTML/Markdown to data
Fix #416
2026-07-05 12:45:09 +02:00
ShareVB be6a951e43 feat(Case Converter): allow multiline
Fix #1826
2026-07-05 10:10:46 +02:00
ShareVB 652ac8234d feat(new tool): SAML Parser
Fix #1801
2026-07-05 00:35:17 +02:00
ShareVB 040d659055 feat(new tool): URL Builder
Fix #401
2026-07-05 00:35:17 +02:00
ShareVB 816dc55db7 doc(readme): add build memory requirements
Fix #417
2026-07-05 00:35:17 +02:00
fred-head 93d50560de Add resolver dropdown to dns tester (#410)
* Add resolver dropdown to dns tester
* Added custom DNS resolver option
2026-07-04 18:56:04 +02:00
LuoXingchen be4cf74210 Add Chinese translation for bash memo and enhance dynamic loading in … (#408)
- Created a new markdown file for bash memo in Chinese (bash-memo.content.zh.md) containing various bash commands and shortcuts.
- Updated the Vue component to dynamically load the appropriate markdown content based on the selected locale using Vue I18n.
- Implemented a watcher to reload the memo content when the locale changes, ensuring the correct language is displayed.
2026-07-04 18:54:17 +02:00
fred-head b6f8cb0546 feat: hide network utils config when tools settings url is set (#411) 2026-07-04 14:39:19 +02:00
Chris Tran 5efbb87ea5 feat(new tool): Crop Image (#404)
* Add crop-image tool

Introduce a new Crop Image tool: adds an interactive Vue cropper component (src/tools/crop-image/crop-image.vue) with drag/drop upload, viewport cropping, zoom, rotation, horizontal/vertical flip, aspect-ratio presets/custom ratio, rule-of-thirds grid, background color, and export options (PNG/JPEG/WebP, quality and width modes). Also adds tool registration (src/tools/crop-image/index.ts), a placeholder service (crop-image.service.ts), a Vitest unit test (crop-image.service.test.ts) and a Playwright e2e spec stub (crop-image.e2e.spec.ts).
2026-06-25 08:40:36 +02:00
oleole39 a510e5005c fix unit in placeholder (#414) 2026-06-25 08:39:17 +02:00
Parth Agarwal 0889c1324f fix(script): Update set_node_mem.sh to work in MacOS (#405) 2026-06-25 08:31:40 +02:00
Lucas Vilela 9ff69dc69f jwt-parser - show full date with timezone for date claims (#412) 2026-06-25 08:26:40 +02:00
ShareVB 93d4318884 feat(new tool): Running Pace Calculator
Fix #400 (and #413)
2026-06-23 23:18:38 +02:00
ShareVB 464e005afd fix(Certificate Key Parser): option to add missing BEGIN/END
Fix #1799
2026-06-23 23:13:30 +02:00
ShareVB 521a957640 fix(Open graph meta generator): display subtypes (for Music...) 2026-06-23 23:13:30 +02:00
ShareVB 9bbff46317 fix(Open Graph Metadata Generator): fix missing translation keys
Fix #409
2026-06-20 18:46:33 +02:00
ShareVB 7e979b37e7 chore: add rollup-plugin-visualizer 2026-06-20 18:42:10 +02:00
ShareVB bce809a5cc feat(Image to SVG): intégration de esm-potrace-wasm et VTracer pour le mode couleur
Fix #391
2026-06-20 17:54:57 +02:00
Ишутин Олег eaea6e9fd5 fix(Fitness Computer): Change arguments order to fix wrong BMI calculation (#407) 2026-06-13 20:57:06 +02:00
759 changed files with 167777 additions and 46911 deletions

No files matched your search

-294
View File
@@ -1,294 +0,0 @@
{
"globals": {
"Component": true,
"ComponentPublicInstance": true,
"ComputedRef": true,
"EffectScope": true,
"InjectionKey": true,
"PropType": true,
"Ref": true,
"VNode": true,
"asyncComputed": true,
"autoResetRef": true,
"computed": true,
"computedAsync": true,
"computedEager": true,
"computedInject": true,
"computedWithControl": true,
"controlledComputed": true,
"controlledRef": true,
"createApp": true,
"createEventHook": true,
"createGlobalState": true,
"createInjectionState": true,
"createReactiveFn": true,
"createReusableTemplate": true,
"createSharedComposable": true,
"createTemplatePromise": true,
"createUnrefFn": true,
"customRef": true,
"debouncedRef": true,
"debouncedWatch": true,
"defineAsyncComponent": true,
"defineComponent": true,
"eagerComputed": true,
"effectScope": true,
"extendRef": true,
"getCurrentInstance": true,
"getCurrentScope": true,
"h": true,
"ignorableWatch": true,
"inject": true,
"injectLocal": true,
"isDefined": true,
"isProxy": true,
"isReactive": true,
"isReadonly": true,
"isRef": true,
"makeDestructurable": true,
"markRaw": true,
"nextTick": true,
"onActivated": true,
"onBeforeMount": true,
"onBeforeRouteLeave": true,
"onBeforeRouteUpdate": true,
"onBeforeUnmount": true,
"onBeforeUpdate": true,
"onClickOutside": true,
"onDeactivated": true,
"onErrorCaptured": true,
"onKeyStroke": true,
"onLongPress": true,
"onMounted": true,
"onRenderTracked": true,
"onRenderTriggered": true,
"onScopeDispose": true,
"onServerPrefetch": true,
"onStartTyping": true,
"onUnmounted": true,
"onUpdated": true,
"pausableWatch": true,
"provide": true,
"provideLocal": true,
"reactify": true,
"reactifyObject": true,
"reactive": true,
"reactiveComputed": true,
"reactiveOmit": true,
"reactivePick": true,
"readonly": true,
"ref": true,
"refAutoReset": true,
"refDebounced": true,
"refDefault": true,
"refThrottled": true,
"refWithControl": true,
"resolveComponent": true,
"resolveRef": true,
"resolveUnref": true,
"shallowReactive": true,
"shallowReadonly": true,
"shallowRef": true,
"syncRef": true,
"syncRefs": true,
"templateRef": true,
"throttledRef": true,
"throttledWatch": true,
"toRaw": true,
"toReactive": true,
"toRef": true,
"toRefs": true,
"toValue": true,
"triggerRef": true,
"tryOnBeforeMount": true,
"tryOnBeforeUnmount": true,
"tryOnMounted": true,
"tryOnScopeDispose": true,
"tryOnUnmounted": true,
"unref": true,
"unrefElement": true,
"until": true,
"useActiveElement": true,
"useAnimate": true,
"useArrayDifference": true,
"useArrayEvery": true,
"useArrayFilter": true,
"useArrayFind": true,
"useArrayFindIndex": true,
"useArrayFindLast": true,
"useArrayIncludes": true,
"useArrayJoin": true,
"useArrayMap": true,
"useArrayReduce": true,
"useArraySome": true,
"useArrayUnique": true,
"useAsyncQueue": true,
"useAsyncState": true,
"useAttrs": true,
"useBase64": true,
"useBattery": true,
"useBluetooth": true,
"useBreakpoints": true,
"useBroadcastChannel": true,
"useBrowserLocation": true,
"useCached": true,
"useClipboard": true,
"useClipboardItems": true,
"useCloned": true,
"useColorMode": true,
"useConfirmDialog": true,
"useCounter": true,
"useCssModule": true,
"useCssVar": true,
"useCssVars": true,
"useCurrentElement": true,
"useCycleList": true,
"useDark": true,
"useDateFormat": true,
"useDebounce": true,
"useDebounceFn": true,
"useDebouncedRefHistory": true,
"useDeviceMotion": true,
"useDeviceOrientation": true,
"useDevicePixelRatio": true,
"useDevicesList": true,
"useDialog": true,
"useDisplayMedia": true,
"useDocumentVisibility": true,
"useDraggable": true,
"useDropZone": true,
"useElementBounding": true,
"useElementByPoint": true,
"useElementHover": true,
"useElementSize": true,
"useElementVisibility": true,
"useEventBus": true,
"useEventListener": true,
"useEventSource": true,
"useEyeDropper": true,
"useFavicon": true,
"useFetch": true,
"useFileDialog": true,
"useFileSystemAccess": true,
"useFocus": true,
"useFocusWithin": true,
"useFps": true,
"useFullscreen": true,
"useGamepad": true,
"useGeolocation": true,
"useI18n": true,
"useIdle": true,
"useImage": true,
"useInfiniteScroll": true,
"useIntersectionObserver": true,
"useInterval": true,
"useIntervalFn": true,
"useKeyModifier": true,
"useLastChanged": true,
"useLink": true,
"useLoadingBar": true,
"useLocalStorage": true,
"useMagicKeys": true,
"useManualRefHistory": true,
"useMediaControls": true,
"useMediaQuery": true,
"useMemoize": true,
"useMemory": true,
"useMessage": true,
"useMounted": true,
"useMouse": true,
"useMouseInElement": true,
"useMousePressed": true,
"useMutationObserver": true,
"useNavigatorLanguage": true,
"useNetwork": true,
"useNotification": true,
"useNow": true,
"useObjectUrl": true,
"useOffsetPagination": true,
"useOnline": true,
"usePageLeave": true,
"useParallax": true,
"useParentElement": true,
"usePerformanceObserver": true,
"usePermission": true,
"usePointer": true,
"usePointerLock": true,
"usePointerSwipe": true,
"usePreferredColorScheme": true,
"usePreferredContrast": true,
"usePreferredDark": true,
"usePreferredLanguages": true,
"usePreferredReducedMotion": true,
"usePrevious": true,
"useRafFn": true,
"useRefHistory": true,
"useResizeObserver": true,
"useRoute": true,
"useRouter": true,
"useScreenOrientation": true,
"useScreenSafeArea": true,
"useScriptTag": true,
"useScroll": true,
"useScrollLock": true,
"useSessionStorage": true,
"useShare": true,
"useSlots": true,
"useSorted": true,
"useSpeechRecognition": true,
"useSpeechSynthesis": true,
"useStepper": true,
"useStorage": true,
"useStorageAsync": true,
"useStyleTag": true,
"useSupported": true,
"useSwipe": true,
"useTemplateRefsList": true,
"useTextDirection": true,
"useTextSelection": true,
"useTextareaAutosize": true,
"useThrottle": true,
"useThrottleFn": true,
"useThrottledRefHistory": true,
"useTimeAgo": true,
"useTimeout": true,
"useTimeoutFn": true,
"useTimeoutPoll": true,
"useTimestamp": true,
"useTitle": true,
"useToNumber": true,
"useToString": true,
"useToggle": true,
"useTransition": true,
"useUrlSearchParams": true,
"useUserMedia": true,
"useVModel": true,
"useVModels": true,
"useVibrate": true,
"useVirtualList": true,
"useWakeLock": true,
"useWebNotification": true,
"useWebSocket": true,
"useWebWorker": true,
"useWebWorkerFn": true,
"useWindowFocus": true,
"useWindowScroll": true,
"useWindowSize": true,
"watch": true,
"watchArray": true,
"watchAtMost": true,
"watchDebounced": true,
"watchDeep": true,
"watchEffect": true,
"watchIgnorable": true,
"watchImmediate": true,
"watchOnce": true,
"watchPausable": true,
"watchPostEffect": true,
"watchSyncEffect": true,
"watchThrottled": true,
"watchTriggerable": true,
"watchWithFilter": true,
"whenever": true
}
}
-24
View File
@@ -1,24 +0,0 @@
/**
* @type {import('eslint').Linter.Config}
*/
module.exports = {
root: true,
extends: ['@antfu', './.eslintrc-auto-import.json', '@unocss'],
ignorePatterns: ['src/libs/*'],
rules: {
'curly': ['error', 'all'],
'@typescript-eslint/semi': ['error', 'always'],
'@typescript-eslint/no-use-before-define': ['error', { allowNamedExports: true, functions: false }],
'vue/no-empty-component-block': ['error'],
'import/order': 'off',
'no-restricted-imports': ['error', {
paths: [{
name: '@vueuse/core',
importNames: ['useClipboard'],
message: 'Please use local useCopy from src/composable/copy.ts instead of useClipboard.',
}],
}],
},
};
@@ -22,5 +22,5 @@
- [ ] Submit the PR against the `chore/all-my-stuffs` branch.
- [ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
- [ ] Provide a description, in PLAIN ENGLISH ONLY, in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`).
- [ ] Run `pnpm install --ignore-scripts && pnpm lint --fix && pnpm typecheck` to ensure pnpm lock, eslint and typecheck are ok
- [ ] Run `pnpm install --ignore-scripts && pnpm lint:fix && pnpm typecheck` to ensure pnpm lock, oxlint and typecheck are ok
- [ ] Ideally, include relevant tests that fail without this PR but pass with it.
+3 -3
View File
@@ -11,16 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.0
- run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
npm install -g corepack@latest
echo "After : corepack version => $(corepack --version)"
corepack enable
pnpm --version
- uses: actions/setup-node@v6
- uses: actions/setup-node@v6.4.0
with:
node-version: 22
node-version: 24
cache: 'pnpm'
- name: Install dependencies
@@ -37,11 +37,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7.0.0
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
uses: github/codeql-action/init@v4.36.3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -55,7 +55,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v4
uses: github/codeql-action/autobuild@v4.36.3
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -69,4 +69,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
uses: github/codeql-action/analyze@v4.36.3
@@ -15,7 +15,7 @@ jobs:
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.0
- name: print latest_commit
run: echo ${{ github.sha }}
@@ -31,16 +31,16 @@ jobs:
if: ${{ needs.check_date.outputs.should_run != 'false' }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.0
- run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
npm install -g corepack@latest
echo "After : corepack version => $(corepack --version)"
corepack enable
pnpm --version
- uses: actions/setup-node@v6
- uses: actions/setup-node@v6.4.0
with:
node-version: 22
node-version: 24
cache: 'pnpm'
- name: Install dependencies
@@ -63,7 +63,7 @@ jobs:
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v6
uses: docker/metadata-action@v6.2.0
with:
images: sharevb/it-tools
labels: |
@@ -71,29 +71,29 @@ jobs:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7.0.0
- name: Login to Docker Hub
uses: docker/login-action@v4
uses: docker/login-action@v4.4.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v4
uses: docker/login-action@v4.4.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v4
uses: docker/setup-qemu-action@v4.2.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
uses: docker/setup-buildx-action@v4.2.0
- name: Build and push
uses: docker/build-push-action@v7
uses: docker/build-push-action@v7.3.0
with:
context: .
file: ./Dockerfile
@@ -116,7 +116,7 @@ jobs:
run: echo "RELEASE_VERSION=nightly" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7.0.0
- run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
@@ -125,9 +125,9 @@ jobs:
corepack enable
pnpm --version
- uses: actions/setup-node@v6
- uses: actions/setup-node@v6.4.0
with:
node-version: 22
node-version: 24
cache: 'pnpm'
- name: Install dependencies
@@ -148,7 +148,7 @@ jobs:
echo "$EOF" >> $GITHUB_OUTPUT
- name: Create Release
uses: softprops/action-gh-release@v3
uses: softprops/action-gh-release@v3.0.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: it-tools-${{ env.RELEASE_VERSION }}.zip
@@ -13,16 +13,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.0
- run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
npm install -g corepack@latest
echo "After : corepack version => $(corepack --version)"
corepack enable
pnpm --version
- uses: actions/setup-node@v6
- uses: actions/setup-node@v6.4.0
with:
node-version: 22
node-version: 24
cache: 'pnpm'
- name: Install dependencies
@@ -44,7 +44,7 @@ jobs:
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v6
uses: docker/metadata-action@v6.2.0
with:
images: sharevb/it-tools
labels: |
@@ -52,29 +52,29 @@ jobs:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7.0.0
- name: Login to Docker Hub
uses: docker/login-action@v4
uses: docker/login-action@v4.4.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v4
uses: docker/login-action@v4.4.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v4
uses: docker/setup-qemu-action@v4.2.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
uses: docker/setup-buildx-action@v4.2.0
- name: Build and push (BASE_URL)
uses: docker/build-push-action@v7
uses: docker/build-push-action@v7.3.0
with:
context: .
file: ./Dockerfile
@@ -13,16 +13,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.0
- run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
npm install -g corepack@latest
echo "After : corepack version => $(corepack --version)"
corepack enable
pnpm --version
- uses: actions/setup-node@v6
- uses: actions/setup-node@v6.4.0
with:
node-version: 22
node-version: 24
cache: 'pnpm'
- name: Install dependencies
@@ -47,7 +47,7 @@ jobs:
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v6
uses: docker/metadata-action@v6.2.0
with:
images: sharevb/it-tools
labels: |
@@ -55,29 +55,29 @@ jobs:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7.0.0
- name: Login to Docker Hub
uses: docker/login-action@v4
uses: docker/login-action@v4.4.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v4
uses: docker/login-action@v4.4.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v4
uses: docker/setup-qemu-action@v4.2.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
uses: docker/setup-buildx-action@v4.2.0
- name: Build and push
uses: docker/build-push-action@v7
uses: docker/build-push-action@v7.3.0
with:
context: .
file: ./Dockerfile
+4 -4
View File
@@ -12,7 +12,7 @@ jobs:
matrix:
shard: [1/3, 2/3, 3/3]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.0
- run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
@@ -21,9 +21,9 @@ jobs:
corepack enable
pnpm --version
- uses: actions/setup-node@v6
- uses: actions/setup-node@v6.4.0
with:
node-version: 22
node-version: 24
cache: 'pnpm'
- name: Get Playwright version
@@ -37,7 +37,7 @@ jobs:
run: pnpm build
- name: Restore Playwright browsers from cache
uses: actions/cache@v5
uses: actions/cache@v6.1.0
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}-${{ hashFiles('**/playwright.config.ts') }}
@@ -32,18 +32,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7.0.0
- name: Install Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@v6.4.0
with:
node-version: 22
node-version: 24
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v6.0.9
name: Install pnpm
id: pnpm-install
with:
version: 9
run_install: true
- name: Build
@@ -51,13 +50,13 @@ jobs:
BASE_URL="/it-tools/" pnpm build
cp dist/index.html dist/404.html
- name: Setup Pages
uses: actions/configure-pages@v6
uses: actions/configure-pages@v6.0.0
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
uses: actions/upload-pages-artifact@v5.0.0
with:
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5
uses: actions/deploy-pages@v5.0.0
+12 -12
View File
@@ -14,7 +14,7 @@ jobs:
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v6
uses: docker/metadata-action@v6.2.0
with:
images: sharevb/it-tools
@@ -22,29 +22,29 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7.0.0
- name: Login to Docker Hub
uses: docker/login-action@v4
uses: docker/login-action@v4.4.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v4
uses: docker/login-action@v4.4.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v4
uses: docker/setup-qemu-action@v4.2.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
uses: docker/setup-buildx-action@v4.2.0
- name: Build and push (BASE_URL)
uses: docker/build-push-action@v7
uses: docker/build-push-action@v7.3.0
with:
context: .
file: ./Dockerfile
@@ -62,7 +62,7 @@ jobs:
ghcr.io/sharevb/it-tools:${{ env.RELEASE_VERSION}}-baseurl-it-tools
- name: Build and push
uses: docker/build-push-action@v7
uses: docker/build-push-action@v7.3.0
with:
context: .
file: ./Dockerfile
@@ -85,7 +85,7 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7.0.0
- run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
@@ -94,9 +94,9 @@ jobs:
corepack enable
pnpm --version
- uses: actions/setup-node@v6
- uses: actions/setup-node@v6.4.0
with:
node-version: 22
node-version: 24
cache: 'pnpm'
- name: Install dependencies
@@ -117,7 +117,7 @@ jobs:
echo "$EOF" >> $GITHUB_OUTPUT
- name: Create Release
uses: softprops/action-gh-release@v3
uses: softprops/action-gh-release@v3.0.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: it-tools-${{ env.RELEASE_VERSION }}.zip
+3 -1
View File
@@ -47,4 +47,6 @@ components.d.ts
!*.code-workspace
# Ignore build or packaged VS Code extensions
*.vsix
*.vsix
*.tsbuildinfo
stats.html
+18
View File
@@ -0,0 +1,18 @@
{
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "always",
"endOfLine": "lf",
"ignorePatterns": [
"src/libs/**",
"dist/**",
"coverage/**",
"auto-imports.d.ts",
"components.d.ts",
"pnpm-lock.yaml"
]
}
+64
View File
@@ -0,0 +1,64 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["eslint", "typescript", "oxc", "unicorn", "import", "promise", "vue", "vitest"],
"categories": {
"correctness": "error"
},
"env": {
"browser": true,
"es2026": true
},
"globals": {
"process": "readonly"
},
"ignorePatterns": [
"src/libs/**",
"dist/**",
"coverage/**",
"auto-imports.d.ts",
"components.d.ts"
],
"rules": {
"eslint/curly": ["error", "all"],
"typescript/no-use-before-define": [
"error",
{ "allowNamedExports": true, "functions": false }
],
"eslint/no-restricted-imports": [
"error",
{
"paths": [
{
"name": "@vueuse/core",
"importNames": ["useClipboard"],
"message": "Please use local useCopy from src/composable/copy.ts instead of useClipboard."
}
]
}
],
"no-undef": "off",
"eslint/no-unused-vars": [
"error",
{ "caughtErrors": "none", "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }
],
"eslint/no-useless-escape": "off",
"import/default": "off",
"vue/no-dupe-keys": "off",
"vitest/valid-expect": "off",
"vitest/expect-expect": "off",
"vitest/require-to-throw-message": "off"
},
"overrides": [
{
"files": ["**/*.test.ts", "**/*.spec.ts", "**/*.e2e.spec.ts"],
"env": { "vitest": true }
},
{
"files": ["**/calendar-converter/calendar-converter.service.ts"],
"rules": {
"eslint/no-unused-vars": "off",
"oxc/erasing-op": "off"
}
}
]
}
-7
View File
@@ -1,7 +0,0 @@
{
"singleQuote": true,
"semi": true,
"tabWidth": 2,
"trailingComma": "all",
"printWidth": 120
}
+1 -1
View File
@@ -1,7 +1,7 @@
{
"recommendations": [
"Vue.volar",
"dbaeumer.vscode-eslint",
"oxc.oxc-vscode",
"lokalise.i18n-ally",
"ms-vscode-remote.remote-wsl"
]
+4 -3
View File
@@ -1,9 +1,10 @@
{
"editor.formatOnSave": false,
"editor.formatOnSave": true,
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always",
"source.formatDocument": "always"
"source.fixAll.oxc": "always"
},
"oxc.fmt.experimental": true,
"i18n-ally.localesPaths": [
"locales",
"src/modules/i18n"
+90
View File
@@ -2,6 +2,96 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## Version 2026.07.11
### Features
- mobile UX overhaul, theme flash prevention and build cleanup (#474) (239c69e)
- **Base64 String Converter**: handle text encoding other than utf8 (7460423)
- **new tool**: Keyboard Tester (dfa836b)
- **new tool**: Cron Expression Generator (b016d34)
- **new tool**: DNS/RDAP queries (37cc92f)
- **new tool**: CSS/JS Prettify & Minify (45ed4a7)
- **new tool**: Markdown Diff (02df0f3)
- **Token Generator**: add ambigous chars exclusion by default (8b19bf0)
- **new tool**: Markdown Preview (b662c6b)
- **new tool**: Markdown Table Generator (8114994)
- **new tool**: nmap Command Builder (d041556)
- **new tool**: k6 Generator (8ecdf99)
- **new tool**: JSON Patch Tools (6f93cd1)
- **Docker Compose to .env**: add updated Docker compose (00584bd)
- **docker-compose-memo**: add Chinese translation and refactor locale-based memo loading (#421) (14bfc21)
- **Case Converter**: add Language specific Title Case (9302b8e)
- add a viewer for JSON/XML and other languages with folding to many tools (3c76776)
- **new tool**: Picomatch tester (d544bf2)
- **new tool**: Docker Label Generator (218ae7a)
- **Color Converter**: add oklab/oklch and lab as CSS (fe2a1be)
- **new tools**: HTML/Markdown to data (2a4fcc6)
- **Case Converter**: allow multiline (be6a951)
- **new tool**: SAML Parser (652ac82)
- **new tool**: URL Builder (040d659)
- hide network utils config when tools settings url is set (#411) (b6f8cb0)
- **new tool**: Crop Image (#404) (5efbb87)
- **new tool**: Running Pace Calculator (93d4318)
- **Image to SVG**: intégration de esm-potrace-wasm et VTracer pour le mode couleur (bce809a)
- **new tool**: HTTPS Tester (1a664fe)
- **new tool**: Powershell Memo (5fd2bb6)
- **new tool**: DNS Propagation Tester (4100059)
- **new tool**: DNS Tester (d878731)
- **x509 Certificate Generator**: add options for RSA bits (23ede48)
- **new tool**: Random Line Picker (#393) (89975dc)
- **Geo Coordinates Converter**: add DMS/Decimal/UTM and a interactive map (f0e35b0)
- **UUID Generator**: Case and hyphen options (04c2575)
- **new tool**: JSON to .env converter (#349) (b05e70d)
### Bug fixes
- **Release**: needs lodash for now (9ab81ab)
- **Bash Cheatsheet**: fix default to en (329bf35)
- **script**: Update set_node_mem.sh to work in MacOS (#405) (0889c13)
- **Certificate Key Parser**: option to add missing BEGIN/END (464e005)
- **Open graph meta generator**: display subtypes (for Music...) (521a957)
- **Open Graph Metadata Generator**: fix missing translation keys (9bbff46)
- **Fitness Computer**: Change arguments order to fix wrong BMI calculation (#407) (eaea6e9)
- **Data Storage Units Converter**: fix b/iB/B conversion (102bb99)
- **Speed Converter**: wrong m/h is in fact mi/h (miles) (dfb92f2)
- **Amortization Calculator**: exclude historical currencies (fb8a1eb)
- optimize Home loading (3b7ddb4)
- node-forge patch for EcDSA (6cc1ad7)
- **Geo Coordinates Converter**: fix marker display (7e9cf35)
- remove HTTP Headers security as this broke many tools (905de13)
- **Pdf Signature Checker**: not supported certificate (92bf2b5)
### Performance
- overhaul startup performance, dependencies and UI responsiveness (#419) (bad27cf)
### Chores
- add rollup-plugin-visualizer (7e979b3)
- update dependencies (f7f82a5)
### Other
- Add resolver dropdown to dns tester (#410) (93d5056)
- Add Chinese translation for bash memo and enhance dynamic loading in … (#408) (be4cf74)
- fix unit in placeholder (#414) (a510e50)
- jwt-parser - show full date with timezone for date claims (#412) (9ff69dc)
### I18n
- add Hindi (d1c51da)
- translate remaining (aa2674a)
- extract strings (b788aaf)
- translate remaining (efd0b25)
- extract more strings (4103bd7)
### Upgrade toolchain
- Vite 8, Vue 3.5, Vitest 4, TypeScript 6, pnpm 11, Node 24; replace ESLint/Prettier with oxlint/oxfmt (#418) (63f011b)
### Doc
- **readme**: add build memory requirements (816dc55)
### Documentation
- enhance Docker cheat sheet (#397) (c5a93af)
### Fixup! fix
- node-forge patch for EcDSA (d5f4dcb)
## Version 2026.01.04
### Features
+4 -3
View File
@@ -1,5 +1,5 @@
# build stage
FROM --platform=$BUILDPLATFORM node:lts-alpine AS build-stage
FROM --platform=$BUILDPLATFORM node:24-alpine AS build-stage
# Set environment variables for non-interactive npm installs
ENV NPM_CONFIG_LOGLEVEL=warn
ENV CI=true
@@ -8,9 +8,10 @@ RUN apk add --update python3 make g++\
&& rm -rf /var/cache/apk/*
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
COPY patches patches
RUN npm install -g pnpm && pnpm i --ignore-scripts --frozen-lockfile
COPY stubs stubs
RUN npm install -g pnpm@11 && pnpm i --ignore-scripts --frozen-lockfile
COPY . .
ARG BASE_URL
ENV BASE_URL=${BASE_URL}
+17 -6
View File
@@ -6,6 +6,10 @@ You can override listening port using environment variable `PORT` (docker option
If the container needs to listen to IPv6, it needs to be enabled: https://serverfault.com/questions/1147296/how-to-enable-ipv6-on-ubuntu-20-04. Alternatively, you can mount your own `nginx.conf` own using docker option `-v "./nginx.conf:/etc/nginx/templates/default.conf.template"` (with `listen [::]:8080;` removed)
## Build requirements
**To build this project**, you need around **16GB** (as it builds on Github workers). Below, you will get some `out of memory` or `node allocation failed`.
## PR Welcome
Especially for UI improvements and translation. And for anything else.
@@ -265,16 +269,17 @@ To install VSCode in WSL2 (Windows), see: https://learn.microsoft.com/en-us/wind
- [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur)
- [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
- [Oxc](https://marketplace.visualstudio.com/items?itemName=oxc.oxc-vscode) (oxlint + oxfmt)
- [i18n Ally](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally)
with the following settings:
```json
{
"editor.formatOnSave": false,
"editor.formatOnSave": true,
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.oxc": "always"
},
"i18n-ally.localesPaths": ["locales", "src/tools/*/locales"],
"i18n-ally.keystyle": "nested"
@@ -316,18 +321,24 @@ pnpm build
pnpm test
```
### Lint with [ESLint](https://eslint.org/)
### Lint with [Oxlint](https://oxc.rs/docs/guide/usage/linter)
```sh
pnpm lint
```
### Ensure CI (lock, eslint, typecheck) will succeed
### Format with [Oxfmt](https://oxc.rs/docs/guide/usage/formatter)
```sh
pnpm fmt
```
### Ensure CI (lock, oxlint, typecheck) will succeed
Before submitting a PR, run:
```sh
pnpm install --ignore-scripts && pnpm lint --fix && pnpm typecheck
pnpm install --ignore-scripts && pnpm lint:fix && pnpm typecheck
```
### Create a new tool
+302 -572
View File
@@ -1,301 +1,312 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
// biome-ignore lint: disable
export {}
declare global {
const EffectScope: typeof import('vue')['EffectScope']
const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
const autoResetRef: typeof import('@vueuse/core')['autoResetRef']
const computed: typeof import('vue')['computed']
const computedAsync: typeof import('@vueuse/core')['computedAsync']
const computedEager: typeof import('@vueuse/core')['computedEager']
const computedInject: typeof import('@vueuse/core')['computedInject']
const computedWithControl: typeof import('@vueuse/core')['computedWithControl']
const controlledComputed: typeof import('@vueuse/core')['controlledComputed']
const controlledRef: typeof import('@vueuse/core')['controlledRef']
const createApp: typeof import('vue')['createApp']
const createEventHook: typeof import('@vueuse/core')['createEventHook']
const createGlobalState: typeof import('@vueuse/core')['createGlobalState']
const createInjectionState: typeof import('@vueuse/core')['createInjectionState']
const createReactiveFn: typeof import('@vueuse/core')['createReactiveFn']
const createReusableTemplate: typeof import('@vueuse/core')['createReusableTemplate']
const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable']
const createTemplatePromise: typeof import('@vueuse/core')['createTemplatePromise']
const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn']
const customRef: typeof import('vue')['customRef']
const debouncedRef: typeof import('@vueuse/core')['debouncedRef']
const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch']
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
const defineComponent: typeof import('vue')['defineComponent']
const eagerComputed: typeof import('@vueuse/core')['eagerComputed']
const effectScope: typeof import('vue')['effectScope']
const extendRef: typeof import('@vueuse/core')['extendRef']
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
const getCurrentScope: typeof import('vue')['getCurrentScope']
const h: typeof import('vue')['h']
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
const inject: typeof import('vue')['inject']
const injectLocal: typeof import('@vueuse/core')['injectLocal']
const isDefined: typeof import('@vueuse/core')['isDefined']
const isProxy: typeof import('vue')['isProxy']
const isReactive: typeof import('vue')['isReactive']
const isReadonly: typeof import('vue')['isReadonly']
const isRef: typeof import('vue')['isRef']
const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable']
const markRaw: typeof import('vue')['markRaw']
const nextTick: typeof import('vue')['nextTick']
const onActivated: typeof import('vue')['onActivated']
const onBeforeMount: typeof import('vue')['onBeforeMount']
const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave']
const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate']
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
const onClickOutside: typeof import('@vueuse/core')['onClickOutside']
const onDeactivated: typeof import('vue')['onDeactivated']
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke']
const onLongPress: typeof import('@vueuse/core')['onLongPress']
const onMounted: typeof import('vue')['onMounted']
const onRenderTracked: typeof import('vue')['onRenderTracked']
const onRenderTriggered: typeof import('vue')['onRenderTriggered']
const onScopeDispose: typeof import('vue')['onScopeDispose']
const onServerPrefetch: typeof import('vue')['onServerPrefetch']
const onStartTyping: typeof import('@vueuse/core')['onStartTyping']
const onUnmounted: typeof import('vue')['onUnmounted']
const onUpdated: typeof import('vue')['onUpdated']
const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
const provide: typeof import('vue')['provide']
const provideLocal: typeof import('@vueuse/core')['provideLocal']
const reactify: typeof import('@vueuse/core')['reactify']
const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
const reactive: typeof import('vue')['reactive']
const reactiveComputed: typeof import('@vueuse/core')['reactiveComputed']
const reactiveOmit: typeof import('@vueuse/core')['reactiveOmit']
const reactivePick: typeof import('@vueuse/core')['reactivePick']
const readonly: typeof import('vue')['readonly']
const ref: typeof import('vue')['ref']
const refAutoReset: typeof import('@vueuse/core')['refAutoReset']
const refDebounced: typeof import('@vueuse/core')['refDebounced']
const refDefault: typeof import('@vueuse/core')['refDefault']
const refThrottled: typeof import('@vueuse/core')['refThrottled']
const refWithControl: typeof import('@vueuse/core')['refWithControl']
const resolveComponent: typeof import('vue')['resolveComponent']
const resolveRef: typeof import('@vueuse/core')['resolveRef']
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
const shallowReactive: typeof import('vue')['shallowReactive']
const shallowReadonly: typeof import('vue')['shallowReadonly']
const shallowRef: typeof import('vue')['shallowRef']
const syncRef: typeof import('@vueuse/core')['syncRef']
const syncRefs: typeof import('@vueuse/core')['syncRefs']
const templateRef: typeof import('@vueuse/core')['templateRef']
const throttledRef: typeof import('@vueuse/core')['throttledRef']
const throttledWatch: typeof import('@vueuse/core')['throttledWatch']
const toRaw: typeof import('vue')['toRaw']
const toReactive: typeof import('@vueuse/core')['toReactive']
const toRef: typeof import('vue')['toRef']
const toRefs: typeof import('vue')['toRefs']
const toValue: typeof import('vue')['toValue']
const triggerRef: typeof import('vue')['triggerRef']
const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount']
const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount']
const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted']
const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose']
const tryOnUnmounted: typeof import('@vueuse/core')['tryOnUnmounted']
const unref: typeof import('vue')['unref']
const unrefElement: typeof import('@vueuse/core')['unrefElement']
const until: typeof import('@vueuse/core')['until']
const useActiveElement: typeof import('@vueuse/core')['useActiveElement']
const useAnimate: typeof import('@vueuse/core')['useAnimate']
const useArrayDifference: typeof import('@vueuse/core')['useArrayDifference']
const useArrayEvery: typeof import('@vueuse/core')['useArrayEvery']
const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter']
const useArrayFind: typeof import('@vueuse/core')['useArrayFind']
const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex']
const useArrayFindLast: typeof import('@vueuse/core')['useArrayFindLast']
const useArrayIncludes: typeof import('@vueuse/core')['useArrayIncludes']
const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin']
const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
const useArraySome: typeof import('@vueuse/core')['useArraySome']
const useArrayUnique: typeof import('@vueuse/core')['useArrayUnique']
const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue']
const useAsyncState: typeof import('@vueuse/core')['useAsyncState']
const useAttrs: typeof import('vue')['useAttrs']
const useBase64: typeof import('@vueuse/core')['useBase64']
const useBattery: typeof import('@vueuse/core')['useBattery']
const useBluetooth: typeof import('@vueuse/core')['useBluetooth']
const useBreakpoints: typeof import('@vueuse/core')['useBreakpoints']
const useBroadcastChannel: typeof import('@vueuse/core')['useBroadcastChannel']
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
const useCached: typeof import('@vueuse/core')['useCached']
const useClipboard: typeof import('@vueuse/core')['useClipboard']
const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems']
const useCloned: typeof import('@vueuse/core')['useCloned']
const useColorMode: typeof import('@vueuse/core')['useColorMode']
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
const useCounter: typeof import('@vueuse/core')['useCounter']
const useCssModule: typeof import('vue')['useCssModule']
const useCssVar: typeof import('@vueuse/core')['useCssVar']
const useCssVars: typeof import('vue')['useCssVars']
const useCurrentElement: typeof import('@vueuse/core')['useCurrentElement']
const useCycleList: typeof import('@vueuse/core')['useCycleList']
const useDark: typeof import('@vueuse/core')['useDark']
const useDateFormat: typeof import('@vueuse/core')['useDateFormat']
const useDebounce: typeof import('@vueuse/core')['useDebounce']
const useDebounceFn: typeof import('@vueuse/core')['useDebounceFn']
const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory']
const useDeviceMotion: typeof import('@vueuse/core')['useDeviceMotion']
const useDeviceOrientation: typeof import('@vueuse/core')['useDeviceOrientation']
const useDevicePixelRatio: typeof import('@vueuse/core')['useDevicePixelRatio']
const useDevicesList: typeof import('@vueuse/core')['useDevicesList']
const useDialog: typeof import('naive-ui')['useDialog']
const useDisplayMedia: typeof import('@vueuse/core')['useDisplayMedia']
const useDocumentVisibility: typeof import('@vueuse/core')['useDocumentVisibility']
const useDraggable: typeof import('@vueuse/core')['useDraggable']
const useDropZone: typeof import('@vueuse/core')['useDropZone']
const useElementBounding: typeof import('@vueuse/core')['useElementBounding']
const useElementByPoint: typeof import('@vueuse/core')['useElementByPoint']
const useElementHover: typeof import('@vueuse/core')['useElementHover']
const useElementSize: typeof import('@vueuse/core')['useElementSize']
const useElementVisibility: typeof import('@vueuse/core')['useElementVisibility']
const useEventBus: typeof import('@vueuse/core')['useEventBus']
const useEventListener: typeof import('@vueuse/core')['useEventListener']
const useEventSource: typeof import('@vueuse/core')['useEventSource']
const useEyeDropper: typeof import('@vueuse/core')['useEyeDropper']
const useFavicon: typeof import('@vueuse/core')['useFavicon']
const useFetch: typeof import('@vueuse/core')['useFetch']
const useFileDialog: typeof import('@vueuse/core')['useFileDialog']
const useFileSystemAccess: typeof import('@vueuse/core')['useFileSystemAccess']
const useFocus: typeof import('@vueuse/core')['useFocus']
const useFocusWithin: typeof import('@vueuse/core')['useFocusWithin']
const useFps: typeof import('@vueuse/core')['useFps']
const useFullscreen: typeof import('@vueuse/core')['useFullscreen']
const useGamepad: typeof import('@vueuse/core')['useGamepad']
const useGeolocation: typeof import('@vueuse/core')['useGeolocation']
const useI18n: typeof import('vue-i18n')['useI18n']
const useIdle: typeof import('@vueuse/core')['useIdle']
const useImage: typeof import('@vueuse/core')['useImage']
const useInfiniteScroll: typeof import('@vueuse/core')['useInfiniteScroll']
const useIntersectionObserver: typeof import('@vueuse/core')['useIntersectionObserver']
const useInterval: typeof import('@vueuse/core')['useInterval']
const useIntervalFn: typeof import('@vueuse/core')['useIntervalFn']
const useKeyModifier: typeof import('@vueuse/core')['useKeyModifier']
const useLastChanged: typeof import('@vueuse/core')['useLastChanged']
const useLink: typeof import('vue-router')['useLink']
const useLoadingBar: typeof import('naive-ui')['useLoadingBar']
const useLocalStorage: typeof import('@vueuse/core')['useLocalStorage']
const useMagicKeys: typeof import('@vueuse/core')['useMagicKeys']
const useManualRefHistory: typeof import('@vueuse/core')['useManualRefHistory']
const useMediaControls: typeof import('@vueuse/core')['useMediaControls']
const useMediaQuery: typeof import('@vueuse/core')['useMediaQuery']
const useMemoize: typeof import('@vueuse/core')['useMemoize']
const useMemory: typeof import('@vueuse/core')['useMemory']
const useMessage: typeof import('naive-ui')['useMessage']
const useMounted: typeof import('@vueuse/core')['useMounted']
const useMouse: typeof import('@vueuse/core')['useMouse']
const useMouseInElement: typeof import('@vueuse/core')['useMouseInElement']
const useMousePressed: typeof import('@vueuse/core')['useMousePressed']
const useMutationObserver: typeof import('@vueuse/core')['useMutationObserver']
const useNavigatorLanguage: typeof import('@vueuse/core')['useNavigatorLanguage']
const useNetwork: typeof import('@vueuse/core')['useNetwork']
const useNotification: typeof import('naive-ui')['useNotification']
const useNow: typeof import('@vueuse/core')['useNow']
const useObjectUrl: typeof import('@vueuse/core')['useObjectUrl']
const useOffsetPagination: typeof import('@vueuse/core')['useOffsetPagination']
const useOnline: typeof import('@vueuse/core')['useOnline']
const usePageLeave: typeof import('@vueuse/core')['usePageLeave']
const useParallax: typeof import('@vueuse/core')['useParallax']
const useParentElement: typeof import('@vueuse/core')['useParentElement']
const usePerformanceObserver: typeof import('@vueuse/core')['usePerformanceObserver']
const usePermission: typeof import('@vueuse/core')['usePermission']
const usePointer: typeof import('@vueuse/core')['usePointer']
const usePointerLock: typeof import('@vueuse/core')['usePointerLock']
const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe']
const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme']
const usePreferredContrast: typeof import('@vueuse/core')['usePreferredContrast']
const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark']
const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages']
const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion']
const usePrevious: typeof import('@vueuse/core')['usePrevious']
const useRafFn: typeof import('@vueuse/core')['useRafFn']
const useRefHistory: typeof import('@vueuse/core')['useRefHistory']
const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']
const useRoute: typeof import('vue-router')['useRoute']
const useRouter: typeof import('vue-router')['useRouter']
const useScreenOrientation: typeof import('@vueuse/core')['useScreenOrientation']
const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea']
const useScriptTag: typeof import('@vueuse/core')['useScriptTag']
const useScroll: typeof import('@vueuse/core')['useScroll']
const useScrollLock: typeof import('@vueuse/core')['useScrollLock']
const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage']
const useShare: typeof import('@vueuse/core')['useShare']
const useSlots: typeof import('vue')['useSlots']
const useSorted: typeof import('@vueuse/core')['useSorted']
const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition']
const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis']
const useStepper: typeof import('@vueuse/core')['useStepper']
const useStorage: typeof import('@vueuse/core')['useStorage']
const useStorageAsync: typeof import('@vueuse/core')['useStorageAsync']
const useStyleTag: typeof import('@vueuse/core')['useStyleTag']
const useSupported: typeof import('@vueuse/core')['useSupported']
const useSwipe: typeof import('@vueuse/core')['useSwipe']
const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList']
const useTextDirection: typeof import('@vueuse/core')['useTextDirection']
const useTextSelection: typeof import('@vueuse/core')['useTextSelection']
const useTextareaAutosize: typeof import('@vueuse/core')['useTextareaAutosize']
const useThrottle: typeof import('@vueuse/core')['useThrottle']
const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn']
const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory']
const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo']
const useTimeout: typeof import('@vueuse/core')['useTimeout']
const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn']
const useTimeoutPoll: typeof import('@vueuse/core')['useTimeoutPoll']
const useTimestamp: typeof import('@vueuse/core')['useTimestamp']
const useTitle: typeof import('@vueuse/core')['useTitle']
const useToNumber: typeof import('@vueuse/core')['useToNumber']
const useToString: typeof import('@vueuse/core')['useToString']
const useToggle: typeof import('@vueuse/core')['useToggle']
const useTransition: typeof import('@vueuse/core')['useTransition']
const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams']
const useUserMedia: typeof import('@vueuse/core')['useUserMedia']
const useVModel: typeof import('@vueuse/core')['useVModel']
const useVModels: typeof import('@vueuse/core')['useVModels']
const useVibrate: typeof import('@vueuse/core')['useVibrate']
const useVirtualList: typeof import('@vueuse/core')['useVirtualList']
const useWakeLock: typeof import('@vueuse/core')['useWakeLock']
const useWebNotification: typeof import('@vueuse/core')['useWebNotification']
const useWebSocket: typeof import('@vueuse/core')['useWebSocket']
const useWebWorker: typeof import('@vueuse/core')['useWebWorker']
const useWebWorkerFn: typeof import('@vueuse/core')['useWebWorkerFn']
const useWindowFocus: typeof import('@vueuse/core')['useWindowFocus']
const useWindowScroll: typeof import('@vueuse/core')['useWindowScroll']
const useWindowSize: typeof import('@vueuse/core')['useWindowSize']
const watch: typeof import('vue')['watch']
const watchArray: typeof import('@vueuse/core')['watchArray']
const watchAtMost: typeof import('@vueuse/core')['watchAtMost']
const watchDebounced: typeof import('@vueuse/core')['watchDebounced']
const watchDeep: typeof import('@vueuse/core')['watchDeep']
const watchEffect: typeof import('vue')['watchEffect']
const watchIgnorable: typeof import('@vueuse/core')['watchIgnorable']
const watchImmediate: typeof import('@vueuse/core')['watchImmediate']
const watchOnce: typeof import('@vueuse/core')['watchOnce']
const watchPausable: typeof import('@vueuse/core')['watchPausable']
const watchPostEffect: typeof import('vue')['watchPostEffect']
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
const watchThrottled: typeof import('@vueuse/core')['watchThrottled']
const watchTriggerable: typeof import('@vueuse/core')['watchTriggerable']
const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter']
const whenever: typeof import('@vueuse/core')['whenever']
const EffectScope: typeof import('vue').EffectScope
const asyncComputed: typeof import('@vueuse/core').asyncComputed
const autoResetRef: typeof import('@vueuse/core').autoResetRef
const computed: typeof import('vue').computed
const computedAsync: typeof import('@vueuse/core').computedAsync
const computedEager: typeof import('@vueuse/core').computedEager
const computedInject: typeof import('@vueuse/core').computedInject
const computedWithControl: typeof import('@vueuse/core').computedWithControl
const controlledComputed: typeof import('@vueuse/core').controlledComputed
const controlledRef: typeof import('@vueuse/core').controlledRef
const createApp: typeof import('vue').createApp
const createEventHook: typeof import('@vueuse/core').createEventHook
const createGlobalState: typeof import('@vueuse/core').createGlobalState
const createInjectionState: typeof import('@vueuse/core').createInjectionState
const createReactiveFn: typeof import('@vueuse/core').createReactiveFn
const createReusableTemplate: typeof import('@vueuse/core').createReusableTemplate
const createSharedComposable: typeof import('@vueuse/core').createSharedComposable
const createTemplatePromise: typeof import('@vueuse/core').createTemplatePromise
const createUnrefFn: typeof import('@vueuse/core').createUnrefFn
const customRef: typeof import('vue').customRef
const debouncedRef: typeof import('@vueuse/core').debouncedRef
const debouncedWatch: typeof import('@vueuse/core').debouncedWatch
const defineAsyncComponent: typeof import('vue').defineAsyncComponent
const defineComponent: typeof import('vue').defineComponent
const eagerComputed: typeof import('@vueuse/core').eagerComputed
const effectScope: typeof import('vue').effectScope
const extendRef: typeof import('@vueuse/core').extendRef
const getCurrentInstance: typeof import('vue').getCurrentInstance
const getCurrentScope: typeof import('vue').getCurrentScope
const getCurrentWatcher: typeof import('vue').getCurrentWatcher
const h: typeof import('vue').h
const ignorableWatch: typeof import('@vueuse/core').ignorableWatch
const inject: typeof import('vue').inject
const injectLocal: typeof import('@vueuse/core').injectLocal
const isDefined: typeof import('@vueuse/core').isDefined
const isProxy: typeof import('vue').isProxy
const isReactive: typeof import('vue').isReactive
const isReadonly: typeof import('vue').isReadonly
const isRef: typeof import('vue').isRef
const isShallow: typeof import('vue').isShallow
const makeDestructurable: typeof import('@vueuse/core').makeDestructurable
const markRaw: typeof import('vue').markRaw
const nextTick: typeof import('vue').nextTick
const onActivated: typeof import('vue').onActivated
const onBeforeMount: typeof import('vue').onBeforeMount
const onBeforeRouteLeave: typeof import('vue-router').onBeforeRouteLeave
const onBeforeRouteUpdate: typeof import('vue-router').onBeforeRouteUpdate
const onBeforeUnmount: typeof import('vue').onBeforeUnmount
const onBeforeUpdate: typeof import('vue').onBeforeUpdate
const onClickOutside: typeof import('@vueuse/core').onClickOutside
const onDeactivated: typeof import('vue').onDeactivated
const onErrorCaptured: typeof import('vue').onErrorCaptured
const onKeyStroke: typeof import('@vueuse/core').onKeyStroke
const onLongPress: typeof import('@vueuse/core').onLongPress
const onMounted: typeof import('vue').onMounted
const onRenderTracked: typeof import('vue').onRenderTracked
const onRenderTriggered: typeof import('vue').onRenderTriggered
const onScopeDispose: typeof import('vue').onScopeDispose
const onServerPrefetch: typeof import('vue').onServerPrefetch
const onStartTyping: typeof import('@vueuse/core').onStartTyping
const onUnmounted: typeof import('vue').onUnmounted
const onUpdated: typeof import('vue').onUpdated
const onWatcherCleanup: typeof import('vue').onWatcherCleanup
const pausableWatch: typeof import('@vueuse/core').pausableWatch
const provide: typeof import('vue').provide
const provideLocal: typeof import('@vueuse/core').provideLocal
const reactify: typeof import('@vueuse/core').reactify
const reactifyObject: typeof import('@vueuse/core').reactifyObject
const reactive: typeof import('vue').reactive
const reactiveComputed: typeof import('@vueuse/core').reactiveComputed
const reactiveOmit: typeof import('@vueuse/core').reactiveOmit
const reactivePick: typeof import('@vueuse/core').reactivePick
const readonly: typeof import('vue').readonly
const ref: typeof import('vue').ref
const refAutoReset: typeof import('@vueuse/core').refAutoReset
const refDebounced: typeof import('@vueuse/core').refDebounced
const refDefault: typeof import('@vueuse/core').refDefault
const refThrottled: typeof import('@vueuse/core').refThrottled
const refWithControl: typeof import('@vueuse/core').refWithControl
const resolveComponent: typeof import('vue').resolveComponent
const resolveRef: typeof import('@vueuse/core').resolveRef
const resolveUnref: typeof import('@vueuse/core').resolveUnref
const shallowReactive: typeof import('vue').shallowReactive
const shallowReadonly: typeof import('vue').shallowReadonly
const shallowRef: typeof import('vue').shallowRef
const syncRef: typeof import('@vueuse/core').syncRef
const syncRefs: typeof import('@vueuse/core').syncRefs
const templateRef: typeof import('@vueuse/core').templateRef
const throttledRef: typeof import('@vueuse/core').throttledRef
const throttledWatch: typeof import('@vueuse/core').throttledWatch
const toRaw: typeof import('vue').toRaw
const toReactive: typeof import('@vueuse/core').toReactive
const toRef: typeof import('vue').toRef
const toRefs: typeof import('vue').toRefs
const toValue: typeof import('vue').toValue
const triggerRef: typeof import('vue').triggerRef
const tryOnBeforeMount: typeof import('@vueuse/core').tryOnBeforeMount
const tryOnBeforeUnmount: typeof import('@vueuse/core').tryOnBeforeUnmount
const tryOnMounted: typeof import('@vueuse/core').tryOnMounted
const tryOnScopeDispose: typeof import('@vueuse/core').tryOnScopeDispose
const tryOnUnmounted: typeof import('@vueuse/core').tryOnUnmounted
const unref: typeof import('vue').unref
const unrefElement: typeof import('@vueuse/core').unrefElement
const until: typeof import('@vueuse/core').until
const useActiveElement: typeof import('@vueuse/core').useActiveElement
const useAnimate: typeof import('@vueuse/core').useAnimate
const useArrayDifference: typeof import('@vueuse/core').useArrayDifference
const useArrayEvery: typeof import('@vueuse/core').useArrayEvery
const useArrayFilter: typeof import('@vueuse/core').useArrayFilter
const useArrayFind: typeof import('@vueuse/core').useArrayFind
const useArrayFindIndex: typeof import('@vueuse/core').useArrayFindIndex
const useArrayFindLast: typeof import('@vueuse/core').useArrayFindLast
const useArrayIncludes: typeof import('@vueuse/core').useArrayIncludes
const useArrayJoin: typeof import('@vueuse/core').useArrayJoin
const useArrayMap: typeof import('@vueuse/core').useArrayMap
const useArrayReduce: typeof import('@vueuse/core').useArrayReduce
const useArraySome: typeof import('@vueuse/core').useArraySome
const useArrayUnique: typeof import('@vueuse/core').useArrayUnique
const useAsyncQueue: typeof import('@vueuse/core').useAsyncQueue
const useAsyncState: typeof import('@vueuse/core').useAsyncState
const useAttrs: typeof import('vue').useAttrs
const useBase64: typeof import('@vueuse/core').useBase64
const useBattery: typeof import('@vueuse/core').useBattery
const useBluetooth: typeof import('@vueuse/core').useBluetooth
const useBreakpoints: typeof import('@vueuse/core').useBreakpoints
const useBroadcastChannel: typeof import('@vueuse/core').useBroadcastChannel
const useBrowserLocation: typeof import('@vueuse/core').useBrowserLocation
const useCached: typeof import('@vueuse/core').useCached
const useClipboard: typeof import('@vueuse/core').useClipboard
const useClipboardItems: typeof import('@vueuse/core').useClipboardItems
const useCloned: typeof import('@vueuse/core').useCloned
const useColorMode: typeof import('@vueuse/core').useColorMode
const useConfirmDialog: typeof import('@vueuse/core').useConfirmDialog
const useCounter: typeof import('@vueuse/core').useCounter
const useCssModule: typeof import('vue').useCssModule
const useCssVar: typeof import('@vueuse/core').useCssVar
const useCssVars: typeof import('vue').useCssVars
const useCurrentElement: typeof import('@vueuse/core').useCurrentElement
const useCycleList: typeof import('@vueuse/core').useCycleList
const useDark: typeof import('@vueuse/core').useDark
const useDateFormat: typeof import('@vueuse/core').useDateFormat
const useDebounce: typeof import('@vueuse/core').useDebounce
const useDebounceFn: typeof import('@vueuse/core').useDebounceFn
const useDebouncedRefHistory: typeof import('@vueuse/core').useDebouncedRefHistory
const useDeviceMotion: typeof import('@vueuse/core').useDeviceMotion
const useDeviceOrientation: typeof import('@vueuse/core').useDeviceOrientation
const useDevicePixelRatio: typeof import('@vueuse/core').useDevicePixelRatio
const useDevicesList: typeof import('@vueuse/core').useDevicesList
const useDialog: typeof import('naive-ui').useDialog
const useDisplayMedia: typeof import('@vueuse/core').useDisplayMedia
const useDocumentVisibility: typeof import('@vueuse/core').useDocumentVisibility
const useDraggable: typeof import('@vueuse/core').useDraggable
const useDropZone: typeof import('@vueuse/core').useDropZone
const useElementBounding: typeof import('@vueuse/core').useElementBounding
const useElementByPoint: typeof import('@vueuse/core').useElementByPoint
const useElementHover: typeof import('@vueuse/core').useElementHover
const useElementSize: typeof import('@vueuse/core').useElementSize
const useElementVisibility: typeof import('@vueuse/core').useElementVisibility
const useEventBus: typeof import('@vueuse/core').useEventBus
const useEventListener: typeof import('@vueuse/core').useEventListener
const useEventSource: typeof import('@vueuse/core').useEventSource
const useEyeDropper: typeof import('@vueuse/core').useEyeDropper
const useFavicon: typeof import('@vueuse/core').useFavicon
const useFetch: typeof import('@vueuse/core').useFetch
const useFileDialog: typeof import('@vueuse/core').useFileDialog
const useFileSystemAccess: typeof import('@vueuse/core').useFileSystemAccess
const useFocus: typeof import('@vueuse/core').useFocus
const useFocusWithin: typeof import('@vueuse/core').useFocusWithin
const useFps: typeof import('@vueuse/core').useFps
const useFullscreen: typeof import('@vueuse/core').useFullscreen
const useGamepad: typeof import('@vueuse/core').useGamepad
const useGeolocation: typeof import('@vueuse/core').useGeolocation
const useI18n: typeof import('vue-i18n').useI18n
const useId: typeof import('vue').useId
const useIdle: typeof import('@vueuse/core').useIdle
const useImage: typeof import('@vueuse/core').useImage
const useInfiniteScroll: typeof import('@vueuse/core').useInfiniteScroll
const useIntersectionObserver: typeof import('@vueuse/core').useIntersectionObserver
const useInterval: typeof import('@vueuse/core').useInterval
const useIntervalFn: typeof import('@vueuse/core').useIntervalFn
const useKeyModifier: typeof import('@vueuse/core').useKeyModifier
const useLastChanged: typeof import('@vueuse/core').useLastChanged
const useLink: typeof import('vue-router').useLink
const useLoadingBar: typeof import('naive-ui').useLoadingBar
const useLocalStorage: typeof import('@vueuse/core').useLocalStorage
const useMagicKeys: typeof import('@vueuse/core').useMagicKeys
const useManualRefHistory: typeof import('@vueuse/core').useManualRefHistory
const useMediaControls: typeof import('@vueuse/core').useMediaControls
const useMediaQuery: typeof import('@vueuse/core').useMediaQuery
const useMemoize: typeof import('@vueuse/core').useMemoize
const useMemory: typeof import('@vueuse/core').useMemory
const useMessage: typeof import('naive-ui').useMessage
const useModel: typeof import('vue').useModel
const useMounted: typeof import('@vueuse/core').useMounted
const useMouse: typeof import('@vueuse/core').useMouse
const useMouseInElement: typeof import('@vueuse/core').useMouseInElement
const useMousePressed: typeof import('@vueuse/core').useMousePressed
const useMutationObserver: typeof import('@vueuse/core').useMutationObserver
const useNavigatorLanguage: typeof import('@vueuse/core').useNavigatorLanguage
const useNetwork: typeof import('@vueuse/core').useNetwork
const useNotification: typeof import('naive-ui').useNotification
const useNow: typeof import('@vueuse/core').useNow
const useObjectUrl: typeof import('@vueuse/core').useObjectUrl
const useOffsetPagination: typeof import('@vueuse/core').useOffsetPagination
const useOnline: typeof import('@vueuse/core').useOnline
const usePageLeave: typeof import('@vueuse/core').usePageLeave
const useParallax: typeof import('@vueuse/core').useParallax
const useParentElement: typeof import('@vueuse/core').useParentElement
const usePerformanceObserver: typeof import('@vueuse/core').usePerformanceObserver
const usePermission: typeof import('@vueuse/core').usePermission
const usePointer: typeof import('@vueuse/core').usePointer
const usePointerLock: typeof import('@vueuse/core').usePointerLock
const usePointerSwipe: typeof import('@vueuse/core').usePointerSwipe
const usePreferredColorScheme: typeof import('@vueuse/core').usePreferredColorScheme
const usePreferredContrast: typeof import('@vueuse/core').usePreferredContrast
const usePreferredDark: typeof import('@vueuse/core').usePreferredDark
const usePreferredLanguages: typeof import('@vueuse/core').usePreferredLanguages
const usePreferredReducedMotion: typeof import('@vueuse/core').usePreferredReducedMotion
const usePrevious: typeof import('@vueuse/core').usePrevious
const useRafFn: typeof import('@vueuse/core').useRafFn
const useRefHistory: typeof import('@vueuse/core').useRefHistory
const useResizeObserver: typeof import('@vueuse/core').useResizeObserver
const useRoute: typeof import('vue-router').useRoute
const useRouter: typeof import('vue-router').useRouter
const useScreenOrientation: typeof import('@vueuse/core').useScreenOrientation
const useScreenSafeArea: typeof import('@vueuse/core').useScreenSafeArea
const useScriptTag: typeof import('@vueuse/core').useScriptTag
const useScroll: typeof import('@vueuse/core').useScroll
const useScrollLock: typeof import('@vueuse/core').useScrollLock
const useSessionStorage: typeof import('@vueuse/core').useSessionStorage
const useShare: typeof import('@vueuse/core').useShare
const useSlots: typeof import('vue').useSlots
const useSorted: typeof import('@vueuse/core').useSorted
const useSpeechRecognition: typeof import('@vueuse/core').useSpeechRecognition
const useSpeechSynthesis: typeof import('@vueuse/core').useSpeechSynthesis
const useStepper: typeof import('@vueuse/core').useStepper
const useStorage: typeof import('@vueuse/core').useStorage
const useStorageAsync: typeof import('@vueuse/core').useStorageAsync
const useStyleTag: typeof import('@vueuse/core').useStyleTag
const useSupported: typeof import('@vueuse/core').useSupported
const useSwipe: typeof import('@vueuse/core').useSwipe
const useTemplateRef: typeof import('vue').useTemplateRef
const useTemplateRefsList: typeof import('@vueuse/core').useTemplateRefsList
const useTextDirection: typeof import('@vueuse/core').useTextDirection
const useTextSelection: typeof import('@vueuse/core').useTextSelection
const useTextareaAutosize: typeof import('@vueuse/core').useTextareaAutosize
const useThrottle: typeof import('@vueuse/core').useThrottle
const useThrottleFn: typeof import('@vueuse/core').useThrottleFn
const useThrottledRefHistory: typeof import('@vueuse/core').useThrottledRefHistory
const useTimeAgo: typeof import('@vueuse/core').useTimeAgo
const useTimeout: typeof import('@vueuse/core').useTimeout
const useTimeoutFn: typeof import('@vueuse/core').useTimeoutFn
const useTimeoutPoll: typeof import('@vueuse/core').useTimeoutPoll
const useTimestamp: typeof import('@vueuse/core').useTimestamp
const useTitle: typeof import('@vueuse/core').useTitle
const useToNumber: typeof import('@vueuse/core').useToNumber
const useToString: typeof import('@vueuse/core').useToString
const useToggle: typeof import('@vueuse/core').useToggle
const useTransition: typeof import('@vueuse/core').useTransition
const useUrlSearchParams: typeof import('@vueuse/core').useUrlSearchParams
const useUserMedia: typeof import('@vueuse/core').useUserMedia
const useVModel: typeof import('@vueuse/core').useVModel
const useVModels: typeof import('@vueuse/core').useVModels
const useVibrate: typeof import('@vueuse/core').useVibrate
const useVirtualList: typeof import('@vueuse/core').useVirtualList
const useWakeLock: typeof import('@vueuse/core').useWakeLock
const useWebNotification: typeof import('@vueuse/core').useWebNotification
const useWebSocket: typeof import('@vueuse/core').useWebSocket
const useWebWorker: typeof import('@vueuse/core').useWebWorker
const useWebWorkerFn: typeof import('@vueuse/core').useWebWorkerFn
const useWindowFocus: typeof import('@vueuse/core').useWindowFocus
const useWindowScroll: typeof import('@vueuse/core').useWindowScroll
const useWindowSize: typeof import('@vueuse/core').useWindowSize
const watch: typeof import('vue').watch
const watchArray: typeof import('@vueuse/core').watchArray
const watchAtMost: typeof import('@vueuse/core').watchAtMost
const watchDebounced: typeof import('@vueuse/core').watchDebounced
const watchDeep: typeof import('@vueuse/core').watchDeep
const watchEffect: typeof import('vue').watchEffect
const watchIgnorable: typeof import('@vueuse/core').watchIgnorable
const watchImmediate: typeof import('@vueuse/core').watchImmediate
const watchOnce: typeof import('@vueuse/core').watchOnce
const watchPausable: typeof import('@vueuse/core').watchPausable
const watchPostEffect: typeof import('vue').watchPostEffect
const watchSyncEffect: typeof import('vue').watchSyncEffect
const watchThrottled: typeof import('@vueuse/core').watchThrottled
const watchTriggerable: typeof import('@vueuse/core').watchTriggerable
const watchWithFilter: typeof import('@vueuse/core').watchWithFilter
const whenever: typeof import('@vueuse/core').whenever
}
// for type re-export
declare global {
// @ts-ignore
export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue'
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
import('vue')
}
// for vue template auto import
import { UnwrapRef } from 'vue'
declare module 'vue' {
interface GlobalComponents {}
interface ComponentCustomProperties {
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
@@ -326,6 +337,7 @@ declare module 'vue' {
readonly extendRef: UnwrapRef<typeof import('@vueuse/core')['extendRef']>
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
readonly getCurrentWatcher: UnwrapRef<typeof import('vue')['getCurrentWatcher']>
readonly h: UnwrapRef<typeof import('vue')['h']>
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
readonly inject: UnwrapRef<typeof import('vue')['inject']>
@@ -335,6 +347,7 @@ declare module 'vue' {
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
readonly isShallow: UnwrapRef<typeof import('vue')['isShallow']>
readonly makeDestructurable: UnwrapRef<typeof import('@vueuse/core')['makeDestructurable']>
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
@@ -357,6 +370,7 @@ declare module 'vue' {
readonly onStartTyping: UnwrapRef<typeof import('@vueuse/core')['onStartTyping']>
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
readonly onWatcherCleanup: UnwrapRef<typeof import('vue')['onWatcherCleanup']>
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
readonly provide: UnwrapRef<typeof import('vue')['provide']>
readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>
@@ -467,6 +481,7 @@ declare module 'vue' {
readonly useGamepad: UnwrapRef<typeof import('@vueuse/core')['useGamepad']>
readonly useGeolocation: UnwrapRef<typeof import('@vueuse/core')['useGeolocation']>
readonly useI18n: UnwrapRef<typeof import('vue-i18n')['useI18n']>
readonly useId: UnwrapRef<typeof import('vue')['useId']>
readonly useIdle: UnwrapRef<typeof import('@vueuse/core')['useIdle']>
readonly useImage: UnwrapRef<typeof import('@vueuse/core')['useImage']>
readonly useInfiniteScroll: UnwrapRef<typeof import('@vueuse/core')['useInfiniteScroll']>
@@ -485,6 +500,7 @@ declare module 'vue' {
readonly useMemoize: UnwrapRef<typeof import('@vueuse/core')['useMemoize']>
readonly useMemory: UnwrapRef<typeof import('@vueuse/core')['useMemory']>
readonly useMessage: UnwrapRef<typeof import('naive-ui')['useMessage']>
readonly useModel: UnwrapRef<typeof import('vue')['useModel']>
readonly useMounted: UnwrapRef<typeof import('@vueuse/core')['useMounted']>
readonly useMouse: UnwrapRef<typeof import('@vueuse/core')['useMouse']>
readonly useMouseInElement: UnwrapRef<typeof import('@vueuse/core')['useMouseInElement']>
@@ -533,6 +549,7 @@ declare module 'vue' {
readonly useStyleTag: UnwrapRef<typeof import('@vueuse/core')['useStyleTag']>
readonly useSupported: UnwrapRef<typeof import('@vueuse/core')['useSupported']>
readonly useSwipe: UnwrapRef<typeof import('@vueuse/core')['useSwipe']>
readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']>
readonly useTemplateRefsList: UnwrapRef<typeof import('@vueuse/core')['useTemplateRefsList']>
readonly useTextDirection: UnwrapRef<typeof import('@vueuse/core')['useTextDirection']>
readonly useTextSelection: UnwrapRef<typeof import('@vueuse/core')['useTextSelection']>
@@ -581,291 +598,4 @@ declare module 'vue' {
readonly watchWithFilter: UnwrapRef<typeof import('@vueuse/core')['watchWithFilter']>
readonly whenever: UnwrapRef<typeof import('@vueuse/core')['whenever']>
}
}
declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']>
readonly computed: UnwrapRef<typeof import('vue')['computed']>
readonly computedAsync: UnwrapRef<typeof import('@vueuse/core')['computedAsync']>
readonly computedEager: UnwrapRef<typeof import('@vueuse/core')['computedEager']>
readonly computedInject: UnwrapRef<typeof import('@vueuse/core')['computedInject']>
readonly computedWithControl: UnwrapRef<typeof import('@vueuse/core')['computedWithControl']>
readonly controlledComputed: UnwrapRef<typeof import('@vueuse/core')['controlledComputed']>
readonly controlledRef: UnwrapRef<typeof import('@vueuse/core')['controlledRef']>
readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
readonly createEventHook: UnwrapRef<typeof import('@vueuse/core')['createEventHook']>
readonly createGlobalState: UnwrapRef<typeof import('@vueuse/core')['createGlobalState']>
readonly createInjectionState: UnwrapRef<typeof import('@vueuse/core')['createInjectionState']>
readonly createReactiveFn: UnwrapRef<typeof import('@vueuse/core')['createReactiveFn']>
readonly createReusableTemplate: UnwrapRef<typeof import('@vueuse/core')['createReusableTemplate']>
readonly createSharedComposable: UnwrapRef<typeof import('@vueuse/core')['createSharedComposable']>
readonly createTemplatePromise: UnwrapRef<typeof import('@vueuse/core')['createTemplatePromise']>
readonly createUnrefFn: UnwrapRef<typeof import('@vueuse/core')['createUnrefFn']>
readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
readonly debouncedRef: UnwrapRef<typeof import('@vueuse/core')['debouncedRef']>
readonly debouncedWatch: UnwrapRef<typeof import('@vueuse/core')['debouncedWatch']>
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
readonly eagerComputed: UnwrapRef<typeof import('@vueuse/core')['eagerComputed']>
readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
readonly extendRef: UnwrapRef<typeof import('@vueuse/core')['extendRef']>
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
readonly h: UnwrapRef<typeof import('vue')['h']>
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
readonly inject: UnwrapRef<typeof import('vue')['inject']>
readonly injectLocal: UnwrapRef<typeof import('@vueuse/core')['injectLocal']>
readonly isDefined: UnwrapRef<typeof import('@vueuse/core')['isDefined']>
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
readonly makeDestructurable: UnwrapRef<typeof import('@vueuse/core')['makeDestructurable']>
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
readonly onBeforeRouteLeave: UnwrapRef<typeof import('vue-router')['onBeforeRouteLeave']>
readonly onBeforeRouteUpdate: UnwrapRef<typeof import('vue-router')['onBeforeRouteUpdate']>
readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']>
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
readonly onClickOutside: UnwrapRef<typeof import('@vueuse/core')['onClickOutside']>
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
readonly onKeyStroke: UnwrapRef<typeof import('@vueuse/core')['onKeyStroke']>
readonly onLongPress: UnwrapRef<typeof import('@vueuse/core')['onLongPress']>
readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>
readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>
readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>
readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>
readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
readonly onStartTyping: UnwrapRef<typeof import('@vueuse/core')['onStartTyping']>
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
readonly provide: UnwrapRef<typeof import('vue')['provide']>
readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>
readonly reactify: UnwrapRef<typeof import('@vueuse/core')['reactify']>
readonly reactifyObject: UnwrapRef<typeof import('@vueuse/core')['reactifyObject']>
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
readonly reactiveComputed: UnwrapRef<typeof import('@vueuse/core')['reactiveComputed']>
readonly reactiveOmit: UnwrapRef<typeof import('@vueuse/core')['reactiveOmit']>
readonly reactivePick: UnwrapRef<typeof import('@vueuse/core')['reactivePick']>
readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
readonly ref: UnwrapRef<typeof import('vue')['ref']>
readonly refAutoReset: UnwrapRef<typeof import('@vueuse/core')['refAutoReset']>
readonly refDebounced: UnwrapRef<typeof import('@vueuse/core')['refDebounced']>
readonly refDefault: UnwrapRef<typeof import('@vueuse/core')['refDefault']>
readonly refThrottled: UnwrapRef<typeof import('@vueuse/core')['refThrottled']>
readonly refWithControl: UnwrapRef<typeof import('@vueuse/core')['refWithControl']>
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
readonly resolveRef: UnwrapRef<typeof import('@vueuse/core')['resolveRef']>
readonly resolveUnref: UnwrapRef<typeof import('@vueuse/core')['resolveUnref']>
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
readonly syncRef: UnwrapRef<typeof import('@vueuse/core')['syncRef']>
readonly syncRefs: UnwrapRef<typeof import('@vueuse/core')['syncRefs']>
readonly templateRef: UnwrapRef<typeof import('@vueuse/core')['templateRef']>
readonly throttledRef: UnwrapRef<typeof import('@vueuse/core')['throttledRef']>
readonly throttledWatch: UnwrapRef<typeof import('@vueuse/core')['throttledWatch']>
readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']>
readonly toReactive: UnwrapRef<typeof import('@vueuse/core')['toReactive']>
readonly toRef: UnwrapRef<typeof import('vue')['toRef']>
readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']>
readonly toValue: UnwrapRef<typeof import('vue')['toValue']>
readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']>
readonly tryOnBeforeMount: UnwrapRef<typeof import('@vueuse/core')['tryOnBeforeMount']>
readonly tryOnBeforeUnmount: UnwrapRef<typeof import('@vueuse/core')['tryOnBeforeUnmount']>
readonly tryOnMounted: UnwrapRef<typeof import('@vueuse/core')['tryOnMounted']>
readonly tryOnScopeDispose: UnwrapRef<typeof import('@vueuse/core')['tryOnScopeDispose']>
readonly tryOnUnmounted: UnwrapRef<typeof import('@vueuse/core')['tryOnUnmounted']>
readonly unref: UnwrapRef<typeof import('vue')['unref']>
readonly unrefElement: UnwrapRef<typeof import('@vueuse/core')['unrefElement']>
readonly until: UnwrapRef<typeof import('@vueuse/core')['until']>
readonly useActiveElement: UnwrapRef<typeof import('@vueuse/core')['useActiveElement']>
readonly useAnimate: UnwrapRef<typeof import('@vueuse/core')['useAnimate']>
readonly useArrayDifference: UnwrapRef<typeof import('@vueuse/core')['useArrayDifference']>
readonly useArrayEvery: UnwrapRef<typeof import('@vueuse/core')['useArrayEvery']>
readonly useArrayFilter: UnwrapRef<typeof import('@vueuse/core')['useArrayFilter']>
readonly useArrayFind: UnwrapRef<typeof import('@vueuse/core')['useArrayFind']>
readonly useArrayFindIndex: UnwrapRef<typeof import('@vueuse/core')['useArrayFindIndex']>
readonly useArrayFindLast: UnwrapRef<typeof import('@vueuse/core')['useArrayFindLast']>
readonly useArrayIncludes: UnwrapRef<typeof import('@vueuse/core')['useArrayIncludes']>
readonly useArrayJoin: UnwrapRef<typeof import('@vueuse/core')['useArrayJoin']>
readonly useArrayMap: UnwrapRef<typeof import('@vueuse/core')['useArrayMap']>
readonly useArrayReduce: UnwrapRef<typeof import('@vueuse/core')['useArrayReduce']>
readonly useArraySome: UnwrapRef<typeof import('@vueuse/core')['useArraySome']>
readonly useArrayUnique: UnwrapRef<typeof import('@vueuse/core')['useArrayUnique']>
readonly useAsyncQueue: UnwrapRef<typeof import('@vueuse/core')['useAsyncQueue']>
readonly useAsyncState: UnwrapRef<typeof import('@vueuse/core')['useAsyncState']>
readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
readonly useBase64: UnwrapRef<typeof import('@vueuse/core')['useBase64']>
readonly useBattery: UnwrapRef<typeof import('@vueuse/core')['useBattery']>
readonly useBluetooth: UnwrapRef<typeof import('@vueuse/core')['useBluetooth']>
readonly useBreakpoints: UnwrapRef<typeof import('@vueuse/core')['useBreakpoints']>
readonly useBroadcastChannel: UnwrapRef<typeof import('@vueuse/core')['useBroadcastChannel']>
readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>
readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>
readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>
readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>
readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>
readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']>
readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']>
readonly useCounter: UnwrapRef<typeof import('@vueuse/core')['useCounter']>
readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
readonly useCssVar: UnwrapRef<typeof import('@vueuse/core')['useCssVar']>
readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
readonly useCurrentElement: UnwrapRef<typeof import('@vueuse/core')['useCurrentElement']>
readonly useCycleList: UnwrapRef<typeof import('@vueuse/core')['useCycleList']>
readonly useDark: UnwrapRef<typeof import('@vueuse/core')['useDark']>
readonly useDateFormat: UnwrapRef<typeof import('@vueuse/core')['useDateFormat']>
readonly useDebounce: UnwrapRef<typeof import('@vueuse/core')['useDebounce']>
readonly useDebounceFn: UnwrapRef<typeof import('@vueuse/core')['useDebounceFn']>
readonly useDebouncedRefHistory: UnwrapRef<typeof import('@vueuse/core')['useDebouncedRefHistory']>
readonly useDeviceMotion: UnwrapRef<typeof import('@vueuse/core')['useDeviceMotion']>
readonly useDeviceOrientation: UnwrapRef<typeof import('@vueuse/core')['useDeviceOrientation']>
readonly useDevicePixelRatio: UnwrapRef<typeof import('@vueuse/core')['useDevicePixelRatio']>
readonly useDevicesList: UnwrapRef<typeof import('@vueuse/core')['useDevicesList']>
readonly useDialog: UnwrapRef<typeof import('naive-ui')['useDialog']>
readonly useDisplayMedia: UnwrapRef<typeof import('@vueuse/core')['useDisplayMedia']>
readonly useDocumentVisibility: UnwrapRef<typeof import('@vueuse/core')['useDocumentVisibility']>
readonly useDraggable: UnwrapRef<typeof import('@vueuse/core')['useDraggable']>
readonly useDropZone: UnwrapRef<typeof import('@vueuse/core')['useDropZone']>
readonly useElementBounding: UnwrapRef<typeof import('@vueuse/core')['useElementBounding']>
readonly useElementByPoint: UnwrapRef<typeof import('@vueuse/core')['useElementByPoint']>
readonly useElementHover: UnwrapRef<typeof import('@vueuse/core')['useElementHover']>
readonly useElementSize: UnwrapRef<typeof import('@vueuse/core')['useElementSize']>
readonly useElementVisibility: UnwrapRef<typeof import('@vueuse/core')['useElementVisibility']>
readonly useEventBus: UnwrapRef<typeof import('@vueuse/core')['useEventBus']>
readonly useEventListener: UnwrapRef<typeof import('@vueuse/core')['useEventListener']>
readonly useEventSource: UnwrapRef<typeof import('@vueuse/core')['useEventSource']>
readonly useEyeDropper: UnwrapRef<typeof import('@vueuse/core')['useEyeDropper']>
readonly useFavicon: UnwrapRef<typeof import('@vueuse/core')['useFavicon']>
readonly useFetch: UnwrapRef<typeof import('@vueuse/core')['useFetch']>
readonly useFileDialog: UnwrapRef<typeof import('@vueuse/core')['useFileDialog']>
readonly useFileSystemAccess: UnwrapRef<typeof import('@vueuse/core')['useFileSystemAccess']>
readonly useFocus: UnwrapRef<typeof import('@vueuse/core')['useFocus']>
readonly useFocusWithin: UnwrapRef<typeof import('@vueuse/core')['useFocusWithin']>
readonly useFps: UnwrapRef<typeof import('@vueuse/core')['useFps']>
readonly useFullscreen: UnwrapRef<typeof import('@vueuse/core')['useFullscreen']>
readonly useGamepad: UnwrapRef<typeof import('@vueuse/core')['useGamepad']>
readonly useGeolocation: UnwrapRef<typeof import('@vueuse/core')['useGeolocation']>
readonly useI18n: UnwrapRef<typeof import('vue-i18n')['useI18n']>
readonly useIdle: UnwrapRef<typeof import('@vueuse/core')['useIdle']>
readonly useImage: UnwrapRef<typeof import('@vueuse/core')['useImage']>
readonly useInfiniteScroll: UnwrapRef<typeof import('@vueuse/core')['useInfiniteScroll']>
readonly useIntersectionObserver: UnwrapRef<typeof import('@vueuse/core')['useIntersectionObserver']>
readonly useInterval: UnwrapRef<typeof import('@vueuse/core')['useInterval']>
readonly useIntervalFn: UnwrapRef<typeof import('@vueuse/core')['useIntervalFn']>
readonly useKeyModifier: UnwrapRef<typeof import('@vueuse/core')['useKeyModifier']>
readonly useLastChanged: UnwrapRef<typeof import('@vueuse/core')['useLastChanged']>
readonly useLink: UnwrapRef<typeof import('vue-router')['useLink']>
readonly useLoadingBar: UnwrapRef<typeof import('naive-ui')['useLoadingBar']>
readonly useLocalStorage: UnwrapRef<typeof import('@vueuse/core')['useLocalStorage']>
readonly useMagicKeys: UnwrapRef<typeof import('@vueuse/core')['useMagicKeys']>
readonly useManualRefHistory: UnwrapRef<typeof import('@vueuse/core')['useManualRefHistory']>
readonly useMediaControls: UnwrapRef<typeof import('@vueuse/core')['useMediaControls']>
readonly useMediaQuery: UnwrapRef<typeof import('@vueuse/core')['useMediaQuery']>
readonly useMemoize: UnwrapRef<typeof import('@vueuse/core')['useMemoize']>
readonly useMemory: UnwrapRef<typeof import('@vueuse/core')['useMemory']>
readonly useMessage: UnwrapRef<typeof import('naive-ui')['useMessage']>
readonly useMounted: UnwrapRef<typeof import('@vueuse/core')['useMounted']>
readonly useMouse: UnwrapRef<typeof import('@vueuse/core')['useMouse']>
readonly useMouseInElement: UnwrapRef<typeof import('@vueuse/core')['useMouseInElement']>
readonly useMousePressed: UnwrapRef<typeof import('@vueuse/core')['useMousePressed']>
readonly useMutationObserver: UnwrapRef<typeof import('@vueuse/core')['useMutationObserver']>
readonly useNavigatorLanguage: UnwrapRef<typeof import('@vueuse/core')['useNavigatorLanguage']>
readonly useNetwork: UnwrapRef<typeof import('@vueuse/core')['useNetwork']>
readonly useNotification: UnwrapRef<typeof import('naive-ui')['useNotification']>
readonly useNow: UnwrapRef<typeof import('@vueuse/core')['useNow']>
readonly useObjectUrl: UnwrapRef<typeof import('@vueuse/core')['useObjectUrl']>
readonly useOffsetPagination: UnwrapRef<typeof import('@vueuse/core')['useOffsetPagination']>
readonly useOnline: UnwrapRef<typeof import('@vueuse/core')['useOnline']>
readonly usePageLeave: UnwrapRef<typeof import('@vueuse/core')['usePageLeave']>
readonly useParallax: UnwrapRef<typeof import('@vueuse/core')['useParallax']>
readonly useParentElement: UnwrapRef<typeof import('@vueuse/core')['useParentElement']>
readonly usePerformanceObserver: UnwrapRef<typeof import('@vueuse/core')['usePerformanceObserver']>
readonly usePermission: UnwrapRef<typeof import('@vueuse/core')['usePermission']>
readonly usePointer: UnwrapRef<typeof import('@vueuse/core')['usePointer']>
readonly usePointerLock: UnwrapRef<typeof import('@vueuse/core')['usePointerLock']>
readonly usePointerSwipe: UnwrapRef<typeof import('@vueuse/core')['usePointerSwipe']>
readonly usePreferredColorScheme: UnwrapRef<typeof import('@vueuse/core')['usePreferredColorScheme']>
readonly usePreferredContrast: UnwrapRef<typeof import('@vueuse/core')['usePreferredContrast']>
readonly usePreferredDark: UnwrapRef<typeof import('@vueuse/core')['usePreferredDark']>
readonly usePreferredLanguages: UnwrapRef<typeof import('@vueuse/core')['usePreferredLanguages']>
readonly usePreferredReducedMotion: UnwrapRef<typeof import('@vueuse/core')['usePreferredReducedMotion']>
readonly usePrevious: UnwrapRef<typeof import('@vueuse/core')['usePrevious']>
readonly useRafFn: UnwrapRef<typeof import('@vueuse/core')['useRafFn']>
readonly useRefHistory: UnwrapRef<typeof import('@vueuse/core')['useRefHistory']>
readonly useResizeObserver: UnwrapRef<typeof import('@vueuse/core')['useResizeObserver']>
readonly useRoute: UnwrapRef<typeof import('vue-router')['useRoute']>
readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']>
readonly useScreenOrientation: UnwrapRef<typeof import('@vueuse/core')['useScreenOrientation']>
readonly useScreenSafeArea: UnwrapRef<typeof import('@vueuse/core')['useScreenSafeArea']>
readonly useScriptTag: UnwrapRef<typeof import('@vueuse/core')['useScriptTag']>
readonly useScroll: UnwrapRef<typeof import('@vueuse/core')['useScroll']>
readonly useScrollLock: UnwrapRef<typeof import('@vueuse/core')['useScrollLock']>
readonly useSessionStorage: UnwrapRef<typeof import('@vueuse/core')['useSessionStorage']>
readonly useShare: UnwrapRef<typeof import('@vueuse/core')['useShare']>
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
readonly useSorted: UnwrapRef<typeof import('@vueuse/core')['useSorted']>
readonly useSpeechRecognition: UnwrapRef<typeof import('@vueuse/core')['useSpeechRecognition']>
readonly useSpeechSynthesis: UnwrapRef<typeof import('@vueuse/core')['useSpeechSynthesis']>
readonly useStepper: UnwrapRef<typeof import('@vueuse/core')['useStepper']>
readonly useStorage: UnwrapRef<typeof import('@vueuse/core')['useStorage']>
readonly useStorageAsync: UnwrapRef<typeof import('@vueuse/core')['useStorageAsync']>
readonly useStyleTag: UnwrapRef<typeof import('@vueuse/core')['useStyleTag']>
readonly useSupported: UnwrapRef<typeof import('@vueuse/core')['useSupported']>
readonly useSwipe: UnwrapRef<typeof import('@vueuse/core')['useSwipe']>
readonly useTemplateRefsList: UnwrapRef<typeof import('@vueuse/core')['useTemplateRefsList']>
readonly useTextDirection: UnwrapRef<typeof import('@vueuse/core')['useTextDirection']>
readonly useTextSelection: UnwrapRef<typeof import('@vueuse/core')['useTextSelection']>
readonly useTextareaAutosize: UnwrapRef<typeof import('@vueuse/core')['useTextareaAutosize']>
readonly useThrottle: UnwrapRef<typeof import('@vueuse/core')['useThrottle']>
readonly useThrottleFn: UnwrapRef<typeof import('@vueuse/core')['useThrottleFn']>
readonly useThrottledRefHistory: UnwrapRef<typeof import('@vueuse/core')['useThrottledRefHistory']>
readonly useTimeAgo: UnwrapRef<typeof import('@vueuse/core')['useTimeAgo']>
readonly useTimeout: UnwrapRef<typeof import('@vueuse/core')['useTimeout']>
readonly useTimeoutFn: UnwrapRef<typeof import('@vueuse/core')['useTimeoutFn']>
readonly useTimeoutPoll: UnwrapRef<typeof import('@vueuse/core')['useTimeoutPoll']>
readonly useTimestamp: UnwrapRef<typeof import('@vueuse/core')['useTimestamp']>
readonly useTitle: UnwrapRef<typeof import('@vueuse/core')['useTitle']>
readonly useToNumber: UnwrapRef<typeof import('@vueuse/core')['useToNumber']>
readonly useToString: UnwrapRef<typeof import('@vueuse/core')['useToString']>
readonly useToggle: UnwrapRef<typeof import('@vueuse/core')['useToggle']>
readonly useTransition: UnwrapRef<typeof import('@vueuse/core')['useTransition']>
readonly useUrlSearchParams: UnwrapRef<typeof import('@vueuse/core')['useUrlSearchParams']>
readonly useUserMedia: UnwrapRef<typeof import('@vueuse/core')['useUserMedia']>
readonly useVModel: UnwrapRef<typeof import('@vueuse/core')['useVModel']>
readonly useVModels: UnwrapRef<typeof import('@vueuse/core')['useVModels']>
readonly useVibrate: UnwrapRef<typeof import('@vueuse/core')['useVibrate']>
readonly useVirtualList: UnwrapRef<typeof import('@vueuse/core')['useVirtualList']>
readonly useWakeLock: UnwrapRef<typeof import('@vueuse/core')['useWakeLock']>
readonly useWebNotification: UnwrapRef<typeof import('@vueuse/core')['useWebNotification']>
readonly useWebSocket: UnwrapRef<typeof import('@vueuse/core')['useWebSocket']>
readonly useWebWorker: UnwrapRef<typeof import('@vueuse/core')['useWebWorker']>
readonly useWebWorkerFn: UnwrapRef<typeof import('@vueuse/core')['useWebWorkerFn']>
readonly useWindowFocus: UnwrapRef<typeof import('@vueuse/core')['useWindowFocus']>
readonly useWindowScroll: UnwrapRef<typeof import('@vueuse/core')['useWindowScroll']>
readonly useWindowSize: UnwrapRef<typeof import('@vueuse/core')['useWindowSize']>
readonly watch: UnwrapRef<typeof import('vue')['watch']>
readonly watchArray: UnwrapRef<typeof import('@vueuse/core')['watchArray']>
readonly watchAtMost: UnwrapRef<typeof import('@vueuse/core')['watchAtMost']>
readonly watchDebounced: UnwrapRef<typeof import('@vueuse/core')['watchDebounced']>
readonly watchDeep: UnwrapRef<typeof import('@vueuse/core')['watchDeep']>
readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
readonly watchIgnorable: UnwrapRef<typeof import('@vueuse/core')['watchIgnorable']>
readonly watchImmediate: UnwrapRef<typeof import('@vueuse/core')['watchImmediate']>
readonly watchOnce: UnwrapRef<typeof import('@vueuse/core')['watchOnce']>
readonly watchPausable: UnwrapRef<typeof import('@vueuse/core')['watchPausable']>
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>
readonly watchThrottled: UnwrapRef<typeof import('@vueuse/core')['watchThrottled']>
readonly watchTriggerable: UnwrapRef<typeof import('@vueuse/core')['watchTriggerable']>
readonly watchWithFilter: UnwrapRef<typeof import('@vueuse/core')['watchWithFilter']>
readonly whenever: UnwrapRef<typeof import('@vueuse/core')['whenever']>
}
}
}
+19 -1
View File
@@ -2,6 +2,25 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="theme-color" content="#f1f5f9" />
<style>
html { color-scheme: light; }
html.dark { color-scheme: dark; }
html, body { background-color: #f1f5f9; }
html.dark, html.dark body { background-color: #1c1c1c; }
</style>
<script>
(function () {
try {
var mode = localStorage.getItem('vueuse-color-scheme') || 'auto';
if (mode === 'dark' || (mode === 'auto' && matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark');
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#1c1c1c');
}
}
catch (e) {}
})();
</script>
<link rel="icon" href="favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>IT Tools - Handy online tools for developers</title>
@@ -14,7 +33,6 @@
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#18a058" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />
<meta property="og:url" content="https://sharevb-it-tools.vercel.app/" />
<meta property="og:type" content="website" />
+2393 -1728
View File
File diff suppressed because it is too large. Load diff
+2450 -1815
View File
File diff suppressed because it is too large. Load diff
+2691 -2133
View File
File diff suppressed because it is too large. Load diff
+2719 -2154
View File
File diff suppressed because it is too large. Load diff
+820 -32
View File
@@ -77,6 +77,7 @@ formatTransformer:
input-placeholder: Input...
output: Output
download: Download
viewer: Viewer
textareaCopyable:
copy: Copy to clipboard
copied: Copied!
@@ -113,6 +114,10 @@ home:
lightMode: Light mode
mode: Toggle dark/light mode
aboutLabel: About
language: Language
themeSystem: System
themeLight: Light
themeDark: Dark
page:
text:
collection-of-handy-online-tools-for-developers-with-great-ux-it-tools-is-a-free-and-open-source-collection-of-handy-online-tools-for-developers-and-people-working-in-it: >-
@@ -122,39 +127,42 @@ home:
it-tools-handy-online-tools-for-developers: IT Tools - Handy online tools for developers
tools:
crop-image:
title: "Crop image"
description: "Crop, resize, and rotate images with custom background colors."
title: Crop image
description: Crop, resize, and rotate images with custom background colors.
texts:
drag-drop: "Drag and drop your image here, or click to browse"
drag-hint: "Drag to position • Scroll to zoom ({zoom}%)"
flip-h: "Flip H"
flip-v: "Flip V"
reset: "Reset"
fit: "Fit"
change-image: "Change Image"
aspect-ratio: "Aspect Ratio:"
custom-ratio: "Custom Ratio:"
background-color: "Background Color:"
transparent: "Transparent"
zoom-image: "Zoom Image:"
rotate-image: "Rotate Image:"
rule-of-thirds-grid: "Rule-of-Thirds Grid:"
export-settings: "Export Settings"
export-format: "Export Format:"
image-quality: "Image Quality:"
export-width: "Export Width:"
custom-width: "Custom Width (px):"
export-download-image: "Export & Download Cropped Image"
ratio-square: "1:1 (Square)"
ratio-widescreen: "16:9 (Widescreen)"
ratio-portrait: "9:16 (Portrait)"
ratio-standard: "4:3 (Standard)"
ratio-photo: "3:2 (Photo)"
ratio-original: "Original Aspect Ratio"
ratio-custom: "Custom Ratio"
width-original: "Original Crop Size"
width-viewport: "Viewport Size"
width-custom: "Custom Width"
drag-drop: Drag and drop your image here, or click to browse
drag-hint: Drag to position • Scroll to zoom ({zoom}%)
flip-h: Flip H
flip-v: Flip V
reset: Reset
fit: Fit
change-image: Change Image
aspect-ratio: 'Aspect Ratio:'
custom-ratio: 'Custom Ratio:'
background-color: 'Background Color:'
transparent: Transparent
zoom-image: 'Zoom Image:'
rotate-image: 'Rotate Image:'
rule-of-thirds-grid: 'Rule-of-Thirds Grid:'
export-settings: Export Settings
export-format: 'Export Format:'
image-quality: 'Image Quality:'
export-width: 'Export Width:'
custom-width: 'Custom Width (px):'
export-download-image: Export & Download Cropped Image
ratio-square: 1:1 (Square)
ratio-widescreen: 16:9 (Widescreen)
ratio-portrait: 9:16 (Portrait)
ratio-standard: 4:3 (Standard)
ratio-photo: 3:2 (Photo)
ratio-original: Original Aspect Ratio
ratio-custom: Custom Ratio
width-original: Original Crop Size
width-viewport: Viewport Size
width-custom: Custom Width
label-png: PNG
label-jpeg: JPEG
label-webp: WebP
chronometer:
title: Chronometer
description: >-
@@ -183,6 +191,7 @@ tools:
label-denied-characters-ie-visually-similar-oo01li-or-punctuations: Denied Characters (ie, visually similar { oO01lI } or punctuations)
placeholder-put-characters-to-deny-from-token: Put characters to deny from token
label-number-of-token-to-generate: Number of token to generate
label-allow-ambiguous-characters: Allows Visually Ambigous Characters
percentage-calculator:
title: Percentage calculator
description: >-
@@ -591,6 +600,52 @@ tools:
placeholder-the-decoded-string-will-be-here: The decoded string will be here
tag-copy-base64: Copy base64
tag-copy-decoded-string: Copy decoded string
text-encoding: 'Text Encoding:'
label-utf-8: UTF-8
label-utf-8-alias-utf8: 'UTF-8 (Alias: UTF8)'
label-utf-16le: UTF-16LE
label-utf-16be: UTF-16BE
label-utf-7: UTF-7
label-utf-7-imap: UTF-7 (IMAP)
label-utf-32le: UTF-32LE
label-utf-32be: UTF-32BE
label-iso-8859-1-latin-1: ISO-8859-1 (Latin-1)
label-iso-8859-2-central-european: ISO-8859-2 (Central European)
label-iso-8859-3-south-european: ISO-8859-3 (South European)
label-iso-8859-4-north-european: ISO-8859-4 (North European)
label-iso-8859-5-cyrillic: ISO-8859-5 (Cyrillic)
label-iso-8859-6-arabic: ISO-8859-6 (Arabic)
label-iso-8859-7-greek: ISO-8859-7 (Greek)
label-iso-8859-8-hebrew: ISO-8859-8 (Hebrew)
label-iso-8859-9-turkish: ISO-8859-9 (Turkish)
label-iso-8859-10-nordic: ISO-8859-10 (Nordic)
label-iso-8859-13-baltic: ISO-8859-13 (Baltic)
label-iso-8859-14-celtic: ISO-8859-14 (Celtic)
label-iso-8859-15-latin-9: ISO-8859-15 (Latin-9)
label-iso-8859-16-romanian: ISO-8859-16 (Romanian)
label-windows-1250-central-european: Windows-1250 (Central European)
label-windows-1251-cyrillic: Windows-1251 (Cyrillic)
label-windows-1252-western-european: Windows-1252 (Western European)
label-windows-1253-greek: Windows-1253 (Greek)
label-windows-1254-turkish: Windows-1254 (Turkish)
label-windows-1255-hebrew: Windows-1255 (Hebrew)
label-windows-1256-arabic: Windows-1256 (Arabic)
label-windows-1257-baltic: Windows-1257 (Baltic)
label-windows-1258-vietnamese: Windows-1258 (Vietnamese)
label-koi8-r-russian: KOI8-R (Russian)
label-koi8-u-ukrainian: KOI8-U (Ukrainian)
label-gbk-simplified-chinese: GBK (Simplified Chinese)
label-gb2312-simplified-chinese: GB2312 (Simplified Chinese)
label-gb18030-simplified-chinese: GB18030 (Simplified Chinese)
label-big5-traditional-chinese: Big5 (Traditional Chinese)
label-shift-jis-japanese: Shift-JIS (Japanese)
label-euc-jp-japanese: EUC-JP (Japanese)
label-macroman: MacRoman
label-macgreek: MacGreek
label-macturkish: MacTurkish
label-maccyrillic: MacCyrillic
label-maccentraleurope: MacCentralEurope
label-maciceland: MacIceland
toml-to-yaml:
title: TOML to YAML
description: Parse and convert TOML to YAML.
@@ -679,6 +734,9 @@ tools:
label-titlecase: 'Titlecase:'
label-spongecase: 'Spongecase:'
label-swapcase: 'Swapcase:'
label-lang-title-case: 'Language TitleCase:'
label-language: 'Language:'
placeholder-your-language: Language Title casing language...
html-entities:
title: Escape HTML entities
description: >-
@@ -3122,6 +3180,37 @@ tools:
title-drag-and-drop-an-image-here-or-click-to-select-a-file: Drag and drop an image here, or click to select a file
tag-posterize: Posterize?
tag-potrace-result: Potrace result
button-trace: Trace
minimum-angle-displacement-in-degrees-to-be-considered-a-cutting-point-between-curves: >-
Minimum Angle Displacement (in degrees) to be considered a cutting point
between curves
splice-threshold-more-accurate: 'Splice Threshold (More accurate):'
perform-iterative-subdivide-smooth-until-all-segments-are-shorter-than-this-length: >-
Perform Iterative Subdivide Smooth until all segments are shorter than
this length
length-threshold-more-coarse: 'Length Threshold (More coarse):'
minimum-momentary-angle-in-degrees-to-be-considered-a-corner-to-be-kept-after-smoothing: >-
Minimum Momentary Angle (in degrees) to be considered a corner (to be
kept after smoothing)
corner-threshold-smoother: 'Corner Threshold (Smoother):'
layer-difference: 'Layer Difference:'
number-of-significant-bits-to-use-in-a-rgb-channel: Number of significant bits to use in a RGB channel
color-precision-more-accurate: 'Color Precision (More accurate):'
color-difference-between-gradient-layers: Color difference between gradient layers
gradient-step-less-layers: 'Gradient Step (Less layers):'
discard-patches-small-than-x-px-in-size: Discard patches small than X px in size
filter-speckle-cleaner: 'Filter Speckle (Cleaner):'
hierarchical-mode: 'Hierarchical Mode:'
curve-fitting: 'Curve Fitting:'
color-vtracer: Color (VTracer)
color-potrace: Color (Potrace)
bw: BW
interpolate: Interpolate?
pixel: Pixel
polygon: Polygon
spline: Spline
stacked: Stacked
cutout: Cutout
power-converter:
title: Power Converter
description: Convert values between power units
@@ -4649,6 +4738,31 @@ tools:
placeholder-your-url-to-parse: Your url to parse...
url-must-have-http-or-https-prefix: Url must have http:// or https:// prefix
button-open-url: Open URL
keyboard-tester:
instructions:
highlight: Pressed keys will be highlighted
press: Press any key on your keyboard to test it
reset: Click the "Reset" button to clear test records
tested: Tested keys will be shown in green
title: Instructions
keys: Keys
layout: 'Keyboard Layout:'
legend:
pressed: Pressed
tested: Tested
untested: Untested
progress: Test Progress
reset: Reset
size: 'Keyboard Size:'
sizes:
'60': 60% Compact
full: Full Size (100%)
tkl: TKL (80%)
texts:
label-qwerty: QWERTY
label-azerty: AZERTY
label-dvorak: DVORAK
label-colemak: COLEMAK
text-to-binary:
title: Text to UTF-8 binary
description: Convert text to its UTF-8 binary representation and vice-versa.
@@ -5181,6 +5295,8 @@ tools:
label-brightness: Brightness
label-grayscale: Grayscale
label-invert: Invert
label-oklab: oklab
label-oklch: oklch
models:
text:
invalid-label-tolowercase-format: Invalid {0} format.
@@ -5303,6 +5419,8 @@ tools:
meta-tag-generator:
texts:
label-your-meta-tags: Your meta tags
isbn: ISBN
book: Book
article:
text:
tag-words-associated-with-this-article: Tag words associated with this article...
@@ -5386,6 +5504,9 @@ tools:
summary-with-large-image: Summary with large image
summary: Summary
twitter: Twitter
the-name-of-the-twitter-account-of-the-creator-ex-cthmsst: >-
The name of the Twitter account of the creator (ex{':'}
{'@'}cthmsst)...
videoEpisode:
text:
which-series-this-episode-belongs-to: Which series this episode belongs to...
@@ -5406,6 +5527,50 @@ tools:
videoOther:
text:
other-video-details: Other video details
website:
text:
article: Article
profile: Profile
song: Song
book: Book
music: Music
music-0: Music
music-album: Music album
playlist: Playlist
radio-station: Radio station
video: Video
video-0: Video
movie: Movie
episode: Episode
tv-show: TV Show
other-video: Other video
general-information: General Information
page-type: Page type
select-the-type-of-your-website: Select the type of your website...
enter-the-title-of-your-website: Enter the title of your website...
enter-the-description-of-your-website: Enter the description of your website...
page-url: Page URL
enter-the-url-of-your-website: Enter the url of your website...
ies-lighting-guidelines:
texts:
tag-application: Application
videoTVShow:
text:
tv-show-details: TV show details
basic-auth-generator:
username: Enter the username of the person...
qr-code-generator:
texts:
title-image: Image
qr-contact-info-generator:
texts:
label-website: Website
xslt-tester:
texts:
tag-title: Title
ical-generator:
texts:
label-description: Description
regex-tester:
title: Regex Tester
description: Test your regular expressions with sample text.
@@ -5630,6 +5795,11 @@ tools:
placeholder-enter-an-iban-to-check-for-validity: Enter an IBAN to check for validity...
title-valid-iban-examples: Valid IBAN examples
placeholder-enter-ibans-to-check-for-validity: Enter an IBAN per line to check for validity
bank-name: Bank Name
account-number: Account Number
branch-identifier: Branch Identifier
bank-identifier: Bank Identifier
bic: BIC
service:
text:
qr-iban-not-allowed: QR-IBAN not allowed
@@ -5938,6 +6108,7 @@ tools:
placeholder-paste-your-json-schema-here: Paste your JSON Schema here...
title-schema-validation-errors: Schema Validation Errors
label-unescape-json-string: 'Unescape JSON string:'
label-viewer: Viewer
text:
provided-json-is-not-valid: Provided JSON is not valid.
try-again-with-repairjsonlabel: Try again with "{0}"
@@ -6027,6 +6198,23 @@ tools:
label-fingerprint-base64: 'Fingerprint (base64):'
label-fingerprint-asn1: 'Fingerprint (asn1):'
label-fingerprint-ssh: 'Fingerprint (ssh):'
label-pem-header: 'PEM Header Type:'
autodetect: Autodetect
certificate-x-509: Certificate (X.509)
certificate-request-csr-pkcs-10: Certificate Request (CSR / PKCS#10)
private-key-pkcs-8: Private Key (PKCS#8)
public-key-pkcs-8: Public Key (PKCS#8)
encrypted-private-key-pkcs-8-encrypted: Encrypted Private Key (PKCS#8 Encrypted)
rsa-private-key-pkcs-1: RSA Private Key (PKCS#1)
rsa-public-key-pkcs-1: RSA Public Key (PKCS#1)
ec-private-key: EC Private Key
ec-parameters: EC Parameters
dsa-private-key: DSA Private Key
dsa-public-key: DSA Public Key
openssh-private-key: OpenSSH Private Key
ssh-public-key-rfc4716: SSH Public Key (RFC4716)
pgp-public-key-block: PGP Public Key Block
pgp-private-key-block: PGP Private Key Block
service:
text:
type: 'Type:'
@@ -7475,6 +7663,7 @@ tools:
label-docker-compose-file: 'Docker Compose file:'
placeholder-paste-your-docker-compose-yaml-here: Paste your docker-compose YAML here...
title-extract-env: Extract .env
title-updated-docker-compose: 'Updated Docker Compose:'
emv-tlv-decoder:
title: EMV TLV decoder
description: >-
@@ -7931,6 +8120,10 @@ tools:
hemisphere: Hemisphere
easting: Easting
northing: Northing
label-n: 'N'
label-s: S
label-e: E
label-w: W
text:
coordinate-system: Coordinate System
decimal-format-lng-lat: Decimal Format (lng, lat)
@@ -8758,6 +8951,601 @@ tools:
tag-copy: Copy
tag-refresh: Refresh
text-picked-lines-copied-to-clipboard: Picked lines copied to clipboard!
markdown-to-data:
texts:
label-paste-your-markdown-content: 'Paste your markdown content:'
placeholder-your-markdown: Your markdown...
title: Markdown to data
description: >-
Convert Markdown table to JSON, YAML, CSV, SQL INSERT, XML, Markdown or
XLSX
externalAccess: 'null'
html-to-data:
texts:
label-paste-your-html-content: 'Paste your HTML content:'
placeholder-your-html: Your HTML here...
error-multiple-json-blocks: Cannot convert multiple tables at once
title: HTML to data
description: Convert HTML table to JSON, YAML, CSV, SQL INSERT, XML, Markdown or XLSX
externalAccess: 'null'
cron-expression-builder:
title: Cron Expression Builder
description: Generate Cron expressions from a UI
externalAccess: 'null'
texts:
label-seconds: Seconds
label-minutes: Minutes
label-hours: Hours
label-day-of-month: Day of Month
label-month: Month
label-january: January
label-february: February
label-march: March
label-april: April
label-may: May
label-june: June
label-july: July
label-august: August
label-september: September
label-october: October
label-november: November
label-december: December
label-day-of-week: Day of Week
label-sunday: Sunday
label-monday: Monday
label-tuesday: Tuesday
label-wednesday: Wednesday
label-thursday: Thursday
label-friday: Friday
label-saturday: Saturday
label-year: Year
label-every: every
label-specific-values: Specific values
label-range: Range
label-increment: Increment
title-generated-cron-expression: Generated Cron Expression
title-validation-errors: Validation Errors
label-mode: 'Mode:'
label-from: 'From:'
label-to: 'To:'
label-start-at: 'Start at:'
tag-cron-expression-is-invalid: Cron expression is invalid
paste-cron-expression: Paste Cron Expression
e-g-5-0-12-1-2025: e.g. */5 0 12 * * 1 2025
0-6-sunday-0-monday-1-saturday-6: 0-6 (Sunday=0, Monday=1, ..., Saturday=6)
label-select-at-least-one-value: '{0}: select at least one value'
day-of-month-and-day-of-week-cannot-both-be-specific: Day of Month and Day of Week cannot both be specific
label-start-cannot-be-greater-than-end: '{0}: start cannot be greater than end'
label-start-must-be-within-allowed-range: '{0}: start must be within allowed range'
label-step-must-be-greater-than-1: '{0}: step must be >= 1'
label-start-cannot-be-greater-than-end-0: '{0}: start cannot be greater than end'
seconds: Seconds
minutes: Minutes
hours: Hours
day-of-month: Day of Month
month: Month
day-of-week: Day of Week
year: Year
css-js-prettify-minify:
title: CSS/JS Prettify & Minify
description: Prettify or minify your CSS and JavaScript code online.
externalAccess: 'null'
texts:
label-javascript: JavaScript
label-css: CSS
label-language: Language
label-indent-size: Indent size
placeholder-2: '2'
title-prettify: Prettify
label-your-code: Your code
placeholder-paste-your-code-to-prettify: Paste your code to prettify...
label-prettified-code: Prettified code
title-minify: Minify
placeholder-paste-your-code-to-minify: Paste your code to minify...
label-minified-code: Minified code
dns-propagation-tester:
title: DNS Propagation Tester
description: A simple tool for testing DNS propagation across different servers.
externalAccess: >-
This tool calls your Self Host Network Utilities Service to perform DNS
queries.
texts:
label-network-utilities-service-url: 'Network Utilities Service Url:'
placeholder-http-localhost-3000: http://localhost:3000
label-basic-authentication: 'Basic Authentication:'
placeholder-username-password: username:password
tab-dns-propagation: DNS Propagation
label-domain: 'Domain:'
placeholder-example-com: example.com
label-record-type: 'Record Type:'
title-resolvers-to-check: Resolvers to Check
title-results: Results
tab-custom-resolvers: Custom Resolvers
title-add-custom-resolver: Add Custom Resolver
label-resolver-name: 'Resolver Name:'
placeholder-resolver-name-e-g-my-dns: Resolver name (e.g. My DNS)
label-resolver-ip: 'Resolver IP:'
placeholder-resolver-ip-e-g-10-0-0-1: Resolver IP (e.g. 10.0.0.1)
title-your-custom-resolvers: Your Custom Resolvers
tag-network-utilities-service-configuration-self-hosted: Network Utilities Service Configuration (self hosted)
tag-you-must-self-host-network-utilities-service-see: 'You must self host Network Utilities Service. See:'
tag-network-utilities-service-docker-install: Network Utilities Service docker install
tag-select-all: Select All
tag-deselect-all: Deselect All
tag-check-propagation: Check Propagation
tag-resolver: Resolver
tag-resolver-ip: Resolver IP
tag-status: Status
tag-answers: Answers
tag-checking: Checking...
tag-no-answers: No answers
tag-add-resolver: Add Resolver
tag-remove: Remove
tag-no-custom-resolvers-added-yet: No custom resolvers added yet.
dns-query:
title: Cloudflare DNS/RDAP Queries
description: >-
Query DNS records and RDAP for any domain name online using Cloudflare
DNS/RDAP.org.
externalAccess: 'null'
texts:
message-please-enter-a-valid-domain-name: Please enter a valid domain name
text-dns-records-copied-to-the-clipboard: DNS records copied to the clipboard
label-domain-name: Domain name
placeholder-e-g-example-com: e.g. example.com
tag-name: Name
tag-ttl: TTL
tag-data: Data
tag-copy-results: Copy results
tag-no-records-found-for-this-domain: No records found for this domain.
tag-loading-whois-info: Loading WHOIS info...
tag-whois: WHOIS
tag-domain-name: Domain Name
tag-registrar: Registrar
tag-registration-date: Registration Date
tag-expiration-date: Expiration Date
tag-updated-date: Updated Date
tag-registrant: Registrant
tag-name-servers: Name Servers
tag-domain-status: Domain Status
tag-dnssec: DNSSEC
dns-tester:
title: DNS Tester
description: >-
A simple tool for testing DNS resolution, whois queries, and other
DNS-related tasks.
externalAccess: >-
This tool calls your Self Host Network Utilities Service to perform
DNS/Whois queries and related tasks.
texts:
label-a-ipv4-address: A — IPv4 address
label-aaaa-ipv6-address: AAAA — IPv6 address
label-afsdb-afs-database-location: AFSDB — AFS database location
label-apl-address-prefix-list: APL — Address prefix list
label-caa-certificate-authority-authorization: CAA — Certificate Authority Authorization
label-cdnskey-child-dnskey: CDNSKEY — Child DNSKEY
label-cds-child-ds: CDS — Child DS
label-cert-certificate-storage: CERT — Certificate storage
label-cname-canonical-name: CNAME — Canonical name
label-csync-child-to-parent-sync: CSYNC — Child-to-parent sync
label-dhcid-dhcp-identifier: DHCID — DHCP identifier
label-dlv-dnssec-lookaside-validation-obsolete: DLV — DNSSEC Lookaside Validation (obsolete)
label-dname-non-terminal-rename: DNAME — Non-terminal rename
label-dnskey-dnssec-public-key: DNSKEY — DNSSEC public key
label-ds-delegation-signer: DS — Delegation signer
label-eui48-mac-address-48-bit: EUI48 — MAC address (48-bit)
label-eui64-mac-address-64-bit: EUI64 — MAC address (64-bit)
label-hinfo-host-information: HINFO — Host information
label-hip-host-identity-protocol: HIP — Host identity protocol
label-https-https-service-binding: HTTPS — HTTPS service binding
label-ipseckey-ipsec-key: IPSECKEY — IPsec key
label-key-security-key-obsolete: KEY — Security key (obsolete)
label-kx-key-exchanger: KX — Key exchanger
label-loc-geographic-location: LOC — Geographic location
label-mx-mail-exchanger: MX — Mail exchanger
label-naptr-regex-based-rewrite: NAPTR — Regex-based rewrite
label-ns-name-server: NS — Name server
label-nsec-dnssec-denial-of-existence: NSEC — DNSSEC denial of existence
label-nsec3-hashed-denial-of-existence: NSEC3 — Hashed denial of existence
label-nsec3param-nsec3-parameters: NSEC3PARAM — NSEC3 parameters
label-openpgpkey-openpgp-public-key: OPENPGPKEY — OpenPGP public key
label-ptr-reverse-lookup-pointer: PTR — Reverse lookup pointer
label-rrsig-dnssec-signature: RRSIG — DNSSEC signature
label-rp-responsible-person: RP — Responsible person
label-sig-signature-obsolete: SIG — Signature (obsolete)
label-smimea-s-mime-cert-association: SMIMEA — S/MIME cert association
label-soa-start-of-authority: SOA — Start of authority
label-spf-sender-policy-framework-deprecated: SPF — Sender Policy Framework (deprecated)
label-srv-service-locator: SRV — Service locator
label-sshfp-ssh-public-key-fingerprint: SSHFP — SSH public key fingerprint
label-svcb-service-binding: SVCB — Service binding
label-ta-trust-anchor-experimental: TA — Trust anchor (experimental)
label-tkey-secret-key-agreement: TKEY — Secret key agreement
label-tlsa-dane-tls-association: TLSA — DANE TLS association
label-tsig-transaction-signature: TSIG — Transaction signature
label-txt-text-record: TXT — Text record
label-uri-uri-template: URI — URI template
label-zonemd-zone-message-digest: ZONEMD — Zone message digest
label-system-default: System default
label-custom-dns-resolver: Custom DNS Resolver
label-google-8-8-8-8: Google 8.8.8.8
label-google-8-8-4-4: Google 8.8.4.4
label-cloudflare-1-1-1-1: Cloudflare 1.1.1.1
label-cloudflare-1-0-0-1: Cloudflare 1.0.0.1
label-quad9-9-9-9-9: Quad9 9.9.9.9
label-quad9-149-112-112-112: Quad9 149.112.112.112
label-opendns-208-67-222-222: OpenDNS 208.67.222.222
label-opendns-208-67-220-220: OpenDNS 208.67.220.220
label-cleanbrowsing-185-228-168-9: CleanBrowsing 185.228.168.9
label-cleanbrowsing-185-228-169-9: CleanBrowsing 185.228.169.9
label-dns-watch-84-200-69-80: DNS.Watch 84.200.69.80
label-dns-watch-84-200-70-40: DNS.Watch 84.200.70.40
label-freedns-37-235-1-174: FreeDNS 37.235.1.174
label-freedns-37-235-1-177: FreeDNS 37.235.1.177
label-fdn-france-80-67-169-12: FDN France 80.67.169.12
label-fdn-france-80-67-169-40: FDN France 80.67.169.40
label-neustar-eu-156-154-70-1: Neustar EU 156.154.70.1
label-neustar-eu-156-154-71-1: Neustar EU 156.154.71.1
label-level3-209-244-0-3: Level3 209.244.0.3
label-level3-209-244-0-4: Level3 209.244.0.4
label-comodo-8-26-56-26: Comodo 8.26.56.26
label-comodo-8-20-247-20: Comodo 8.20.247.20
label-centurylink-205-171-3-65: CenturyLink 205.171.3.65
label-centurylink-205-171-2-65: CenturyLink 205.171.2.65
label-dnspod-119-29-29-29: DNSPod 119.29.29.29
label-alidns-223-5-5-5: AliDNS 223.5.5.5
label-alidns-223-6-6-6: AliDNS 223.6.6.6
label-yandex-77-88-8-8: Yandex 77.88.8.8
label-yandex-77-88-8-1: Yandex 77.88.8.1
label-naver-korea-125-209-222-141: Naver Korea 125.209.222.141
label-naver-korea-125-209-249-1: Naver Korea 125.209.249.1
label-gigadns-brazil-189-38-95-95: GigaDNS Brazil 189.38.95.95
label-gigadns-brazil-189-38-95-96: GigaDNS Brazil 189.38.95.96
label-opendns-africa-196-3-132-153: OpenDNS Africa 196.3.132.153
label-opendns-africa-196-3-132-154: OpenDNS Africa 196.3.132.154
label-network-utilities-service-url: 'Network Utilities Service Url:'
placeholder-http-localhost-3000: http://localhost:3000
label-basic-authentication: 'Basic Authentication:'
placeholder-username-password: username:password
label-target-dns-resolver-ip: 'Target DNS Resolver IP:'
placeholder-system-default: System default
placeholder-e-g-10-0-0-53: e.g. 10.0.0.53
tab-dns-query: DNS Query
label-domain: Domain
placeholder-example-com: example.com
label-dns-record-type: 'DNS Record type:'
title-result: Result
label-record-type: Record type
title-answers: Answers
tab-whois: WHOIS
label-raw-whois: Raw WHOIS
label-parsed: Parsed
tab-dnssec-validation: DNSSEC Validation
label-validated: Validated
label-dnskey: DNSKEY
label-rrsig: RRSIG
tab-reverse-dns-ptr: Reverse DNS (PTR)
label-ip-address: 'IP Address:'
placeholder-8-8-8-8: 8.8.8.8
label-ip: IP
label-ptr: PTR
tab-soa-axfr-test: SOA + AXFR Test
label-soa: SOA
label-axfr-allowed: AXFR allowed
label-records: Records
tag-network-utilities-service-configuration-self-hosted: Network Utilities Service Configuration (self hosted)
tag-you-must-self-host-network-utilities-service-see: 'You must self host Network Utilities Service. See:'
tag-network-utilities-service-docker-install: Network Utilities Service docker install
tag-query-dns: Query DNS
tag-lookup-whois: Lookup WHOIS
tag-validate-dnssec: Validate DNSSEC
tag-reverse-lookup: Reverse Lookup
tag-run-soa-axfr: Run SOA + AXFR
dockerfile-label-generator:
title: Dockerfile Label Generator
description: A simple tool for generating labels for Dockerfiles.
externalAccess: 'null'
texts:
label-title: 'Title:'
placeholder-my-project: My Project
label-description: 'Description:'
placeholder-short-project-description: Short project description
label-repository-url: 'Repository URL:'
placeholder-https-github-com-username-repo: https://github.com/username/repo
label-source-url: 'Source URL:'
label-documentation-url: 'Documentation URL:'
placeholder-https-github-com-username-repo-readme: https://github.com/username/repo#readme
label-license-spdx: 'License (SPDX):'
placeholder-mit: MIT
label-version: 'Version:'
placeholder-1-0-0: 1.0.0
label-revision-commit-sha: 'Revision (Commit SHA):'
placeholder-abcdef123456: abcdef123456
label-created: 'Created:'
placeholder-2024-01-01t12-00-00z: '2024-01-01T12:00:00.000Z'
label-authors: 'Authors:'
placeholder-your-name-you-example-com: Your Name {'<'}you{'@'}example.com{'>'}
title-generated-label-block: Generated LABEL block
https-tester:
title: HTTPS Tester
description: Validate HTTPS certificate, HSTS and 302 redirection
externalAccess: >-
This tool calls your Self Host Network Utilities Service to perform
HTTPS/HSTS related tasks.
texts:
label-network-utilities-service-url: 'Network Utilities Service Url:'
placeholder-http-localhost-3000: http://localhost:3000
label-basic-authentication: 'Basic Authentication:'
placeholder-username-password: username:password
tab-certificate: Certificate
label-host: 'Host:'
placeholder-example-com: example.com
label-port: 'Port:'
placeholder-443: '443'
title-result: Result
label-hostname: 'Hostname:'
label-not-before: 'Not before:'
label-not-after: 'Not after:'
label-days-until-expiry: 'Days until expiry:'
label-subject: 'Subject:'
label-issuer: 'Issuer:'
label-sub-alt-name: 'Sub. Alt. Name:'
tab-hsts: HSTS
label-url: URL
placeholder-https-example-com: https://example.com
label-hsts-present: HSTS present
label-max-age: Max-Age
label-inc-subdomains: Inc. subdomains
label-preload: Preload
label-raw-header: Raw header
tab-http-https-redirect: HTTP → HTTPS Redirect
label-domain: 'Domain:'
label-http-url: HTTP URL
label-redirected: Redirected
label-final-url: Final URL
label-status-code: Status code
label-redirect-chain: Redirect chain
title-redirect-chain-details: Redirect chain details
tag-network-utilities-service-configuration-self-hosted: Network Utilities Service Configuration (self hosted)
tag-you-must-self-host-network-utilities-service-see: 'You must self host Network Utilities Service. See:'
tag-network-utilities-service-docker-install: Network Utilities Service docker install
tag-check-certificate: Check Certificate
tag-check-hsts: Check HSTS
tag-check-redirect: Check Redirect
k6-script-generator:
title: K6 Load Testing Script Generator
description: Generate k6 load testing scripts with common presets
externalAccess: 'null'
texts:
label-smoke-test: Smoke Test
label-load-test: Load Test
label-stress-test: Stress Test
label-spike-test: Spike Test
label-soak-test: Soak Test
label-get: GET
label-post: POST
label-put: PUT
label-patch: PATCH
label-delete: DELETE
label-scenario-preset: 'Scenario Preset:'
label-virtual-users-vus: 'Virtual Users (VUs):'
label-duration: 'Duration:'
label-ramp-up-duration: 'Ramp Up Duration:'
label-ramp-down-duration: 'Ramp Down Duration:'
label-thresholds-name-expression: 'Thresholds (Name/Expression):'
placeholder-metric: Metric
placeholder-rule: Rule
label-checks-name-expression: 'Checks (Name/Expression):'
placeholder-check-name: Check name
placeholder-expression: Expression
label-request-steps: 'Request Steps:'
placeholder-request-url: Request URL
label-payload: 'Payload:'
placeholder-payload-json-or-text: Payload (JSON or text)
placeholder-headers-json: Headers (JSON)
label-headers: 'Headers:'
label-sleep-after-this-step-seconds: 'Sleep after this step (seconds):'
title-generated-k6-script: Generated K6 Script
tag-apply-preset: Apply Preset
tag-remove: Remove
tag-add-threshold: Add Threshold
tag-add-check: Add Check
tag-remove-step: Remove Step
tag-add-step: Add Step
markdown-diff:
title: Markdown Diff
description: Compare two Markdown documents and see the differences between them.
externalAccess: 'null'
texts:
label-code: Code
label-preview: Preview
tag-source-markdown: Source Markdown
tag-modified-markdown: Modified Markdown
markdown-preview:
title: Markdown preview
description: Live preview of Markdown as you type
externalAccess: 'null'
texts:
placeholder-your-markdown-content: Your Markdown content...
label-your-markdown-to-preview: 'Your Markdown to preview:'
label-rendered-preview: 'Rendered preview:'
markdown-table-generator:
title: Markdown Table Generator
description: Create GitHub-flavored Markdown tables with a visual editor.
externalAccess: 'null'
texts:
label-left: Left
label-center: Center
label-right: Right
label-paste-clipboard-table-data-here: 'Paste clipboard table data here:'
placeholder-paste-your-table-to-edit: Paste your table to edit...
label-generated-markdown-table: 'Generated Markdown table:'
tag-import-table-data: Import Table Data
tag-add-row: Add row
tag-add-column: Add column
nmap-command-builder:
title: Nmap Command Builder
description: A simple command builder for generating Nmap scan commands.
externalAccess: 'null'
texts:
label-default-scan: Default Scan
label-quick-scan: Quick Scan
label-intense-scan: Intense Scan
label-full-tcp-scan: Full TCP Scan
label-udp-scan: UDP Scan
label-ping-sweep: Ping Sweep
label-no-ping-stealth-host-discovery: No Ping (Stealth Host Discovery)
label-top-ports-100: Top Ports (100)
label-top-ports-1000: Top Ports (1000)
label-firewall-evasion: Firewall Evasion
label-ipv6-scan: IPv6 Scan
label-service-version-deep-scan: Service & Version Deep Scan
label-vulnerability-scan-nse-vuln: Vulnerability Scan (NSE vuln)
label-http-enumeration: HTTP Enumeration
label-smb-enumeration: SMB Enumeration
label-dns-brute-force: DNS Brute Force
label-ftp-audit: FTP Audit
label-ssh-audit: SSH Audit
label-full-recon-os-version-scripts: Full Recon (OS + Version + Scripts)
label-target: 'Target:'
placeholder-example-com-or-192-168-1-1: example.com or 192.168.1.1
tab-presets: Presets
label-preset: 'Preset:'
placeholder-choose-a-preset: Choose a preset
tab-custom: Custom
title-scan-options: Scan Options
label-os-detection-o: OS Detection (-O)
label-version-detection-sv: Version Detection (-sV)
label-default-scripts-sc: Default Scripts (-sC)
label-traceroute-traceroute: Traceroute (--traceroute)
label-verbose-v: Verbose (-v)
label-aggressive-a: Aggressive (-A)
title-advanced: Advanced
label-custom-ports-p: Custom Ports (-p)
placeholder-80-443-or-1-65535: 80,443 or 1-65535
label-timing-t: Timing (-T)
label-nse-scripts-script: NSE Scripts (--script)
placeholder-vuln-http-title: vuln, http-title, ...
label-output-file-on: Output File (-oN)
placeholder-scan-txt: scan.txt
title-generated-command: Generated Command
picomatch-tester:
title: Picomatch Tester
description: >-
A simple tester for the picomatch library, which is used for glob pattern
matching.
externalAccess: 'null'
texts:
label-pattern: 'Pattern:'
placeholder-enter-a-glob-pattern-like-js: Enter a glob pattern like *.js
label-options: 'Options:'
label-generated-regex: 'Generated Regex:'
label-test-lines-one-per-line: 'Test Lines (one per line):'
placeholder-enter-one-string-per-line: Enter one string per line
tag-case-insensitive: Case insensitive
tag-match-dotfiles: Match dotfiles
tag-no-nested-directories-with-globstars: No nested directories with globstars (**)
tag-allows-glob-to-match-any-part-of-the-given-string-s: Allows glob to match any part of the given string(s)
tag-don-t-match-trailing-slashes-with-single-stars: Don't match trailing slashes with single stars
powershell-memo:
title: Powershell Cheatsheet
description: >-
Powershell is a powerful scripting language and command-line shell
designed for system administration and automation. It provides a wide
range of cmdlets and features that allow users to manage and automate
tasks on Windows systems efficiently.
externalAccess: 'null'
running-pace-calculator:
title: Running Pace Calculator
description: >-
Calculate your running pace, estimate your finish times for popular races,
break down splits, and find your training zones.
externalAccess: 'null'
texts:
label-length: 'Length:'
placeholder-e-g-10km-or-100m: e.g. 10km or 100m
label-time: 'Time:'
placeholder-e-g-45-00-or-45min-or-1h30m: e.g. 45:00 or 45min or 1h30m...
label-pace: 'Pace:'
placeholder-e-g-4-30-km: e.g. 4:30/km
label-unit: 'Unit:'
label-output-speed-in-instead-of-pace: 'Output speed in instead of pace:'
title-result: Result
tag-km: km
tag-mile: mile
tag-calculate: Calculate
saml-parser:
title: SAML Parser
description: >-
Detects SAML input (Base64, DEFLATE, or XML), parses, validates its
signature, and displays a structured view of the assertion—including
issuer, subject, conditions, authentication context, claims, and
validation status.
externalAccess: 'null'
texts:
label-saml-assertion-base64-deflate-or-xml: 'SAML assertion (Base64, DEFLATE, or XML):'
placeholder-paste-saml-assertion-base64-deflate-or-xml: Paste SAML assertion (Base64, DEFLATE, or XML)
title-validation-options: Validation Options
label-thumbprint: 'Thumbprint:'
placeholder-thumbprint-optional: Thumbprint (optional)
label-public-key: 'Public Key:'
placeholder-public-key-optional: Public key (optional)
label-audience: 'Audience:'
placeholder-audience-optional: Audience (optional)
title-parsed-saml-assertion: Parsed SAML Assertion
label-issuer: 'Issuer:'
label-assertion-id: 'Assertion Id:'
label-session-index: 'Session Index:'
label-notbefore: 'NotBefore:'
label-notonorafter: 'NotOnOrAfter:'
label-signature-validation-status: 'Signature Validation Status:'
title-claims: Claims
title-raw-assertion: Raw Assertion
tag-bypass-expiration: Bypass Expiration
tag-don-t-bypass-expiration: Don't Bypass Expiration
tag-detect-parse-and-validate: Detect, Parse and Validate
url-builder:
title: URL Builder
description: Allows to edit and build URLs with query parameters
externalAccess: 'null'
texts:
label-string: string
label-number: number
label-boolean: boolean
label-date: date
label-datetime: datetime
label-array: array
label-load-url: 'Load Url:'
placeholder-paste-url-to-parse: Paste URL to parse
label-base-url: 'Base URL:'
placeholder-base-url: Base URL
title-url-parameters: Url Parameters
placeholder-key: key
placeholder-value: value
title-generated-url: Generated Url
tag-parse: Parse
json-patch:
texts:
text-json-paths-copied-to-clipboard: JSON Paths copied to clipboard!
tab-paths: Paths
label-input-json: Input JSON
placeholder-paste-json: Paste JSON...
tab-generate-patch: Generate Patch
label-before-json: Before JSON
placeholder-before-json: Before JSON...
label-after-json: After JSON
placeholder-after-json: After JSON...
title-generate-json-patch: Generate JSON Patch
tab-apply-patch: Apply Patch
label-json-to-patch: JSON to patch
placeholder-json-to-patch: JSON to patch...
label-json-patch-array: JSON Patch array
placeholder-json-patch-array: JSON Patch array...
title-patched-json: Patched JSON
tag-generate-paths: Generate paths
tag-copy-json-paths: Copy JSON paths
tag-generate-patch: Generate patch
tag-apply-patch: Apply patch
collapsibleToolMenu:
text:
expanding: Expanding...
+2637 -2072
View File
File diff suppressed because it is too large. Load diff
+2660 -1988
View File
File diff suppressed because it is too large. Load diff
+2592 -2000
View File
File diff suppressed because it is too large. Load diff
+9565
View File
File diff suppressed because it is too large. Load diff
+2613 -2012
View File
File diff suppressed because it is too large. Load diff
+2162 -1437
View File
File diff suppressed because it is too large. Load diff
+2576 -1980
View File
File diff suppressed because it is too large. Load diff
+2468 -1832
View File
File diff suppressed because it is too large. Load diff
+2507 -1884
View File
File diff suppressed because it is too large. Load diff
+2566 -1963
View File
File diff suppressed because it is too large. Load diff
+2561 -1961
View File
File diff suppressed because it is too large. Load diff
+2564 -1956
View File
File diff suppressed because it is too large. Load diff
+2514 -1893
View File
File diff suppressed because it is too large. Load diff
+2539 -1912
View File
File diff suppressed because it is too large. Load diff
+909 -170
View File
File diff suppressed because it is too large. Load diff
+206 -191
View File
@@ -1,26 +1,25 @@
{
"name": "it-tools",
"type": "module",
"version": "2026.1.4",
"packageManager": "pnpm@9.15.9",
"version": "2026.7.11",
"description": "Collection of handy online tools for developers, with great UX. ",
"author": "Corentin Th <corentin.thomasset74+it-tools@gmail.com> (https://corentin.tech)",
"keywords": [
"converter",
"developer-productivity",
"developer-tools",
"frontend",
"productivity",
"tool",
"tools",
"vuejs",
"website"
],
"license": "GNU GPLv3",
"author": "Corentin Th <corentin.thomasset74+it-tools@gmail.com> (https://corentin.tech)",
"repository": {
"type": "git",
"url": "https://github.com/sharevb/it-tools"
},
"keywords": [
"productivity",
"converter",
"website",
"vuejs",
"tools",
"frontend",
"tool",
"developer-tools",
"developer-productivity"
],
"type": "module",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && . ./set_node_mem.sh && vite build",
@@ -31,7 +30,10 @@
"test:e2e:dev": "TZ=UTC BASE_URL=http://localhost:5173 NO_WEB_SERVER=true playwright test",
"coverage": "vitest run --coverage",
"typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"lint": "eslint src --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore",
"lint": "oxlint src",
"lint:fix": "oxlint src --fix",
"fmt": "oxfmt src",
"fmt:check": "oxfmt --check src",
"script:create:tool": "node scripts/create-tool.mjs",
"script:create:ui": "hygen generator ui-component",
"release": "node ./scripts/release.mjs",
@@ -39,65 +41,84 @@
"script:extract:strings": "node ./scripts/extract-tools-strings.mjs",
"script:translate-missing": "node ./scripts/translate-missings.mjs -e ./locales/en.yml -t ./locales/*.yml",
"vue-i18n-extract": "vue-i18n-extract report --vueFiles 'src/**/*.?(ts|vue)' --languageFiles 'locales/*.yml'",
"precommit": "pnpm install --ignore-scripts && pnpm lint --fix && pnpm typecheck"
"precommit": "pnpm install --ignore-scripts && pnpm lint:fix && pnpm typecheck"
},
"dependencies": {
"@boxyhq/saml20": "^1.16.0",
"@chenfengyuan/vue-barcode": "^2.0.2",
"@codemirror/lang-cpp": "^6.0.3",
"@codemirror/lang-css": "^6.3.1",
"@codemirror/lang-go": "^6.0.1",
"@codemirror/lang-html": "^6.4.11",
"@codemirror/lang-javascript": "^6.2.5",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lang-markdown": "^6.5.0",
"@codemirror/lang-php": "^6.0.2",
"@codemirror/lang-python": "^6.2.1",
"@codemirror/lang-sql": "^6.10.0",
"@codemirror/lang-xml": "^6.1.0",
"@codemirror/lang-yaml": "^6.1.3",
"@codemirror/language": "^6.12.4",
"@codemirror/state": "^6.7.0",
"@codemirror/theme-one-dark": "^6.1.3",
"@codemirror/view": "^6.43.5",
"@colordx/core": "^5.5.0",
"@date-fns/utc": "^2.1.1",
"@dice-roller/rpg-dice-roller": "^5.5.1",
"@faker-js/faker": "^10.2.0",
"@faker-js/faker": "^10.5.0",
"@ffmpeg/ffmpeg": "^0.12.15",
"@ffmpeg/util": "^0.12.2",
"@finegym/fitness-calc": "^1.0.1",
"@fortawesome/fontawesome-svg-core": "^6.7.2",
"@fortawesome/free-solid-svg-icons": "^6.7.2",
"@fortawesome/vue-fontawesome": "^3.0.8",
"@fortawesome/fontawesome-svg-core": "^7.3.0",
"@fortawesome/free-solid-svg-icons": "^7.3.0",
"@fortawesome/vue-fontawesome": "^3.3.1",
"@github/paste-markdown": "^1.5.3",
"@guolao/vue-monaco-editor": "^1.5.5",
"@guolao/vue-monaco-editor": "^1.6.0",
"@guyplusplus/turndown-plugin-gfm": "^1.0.7",
"@huggingface/transformers": "3.7.2",
"@iplookup/country-extra": "^1.0.20251209",
"@huggingface/transformers": "4.2.0",
"@iplookup/country-extra": "^1.0.20260711",
"@it-tools/bip39": "^0.0.4",
"@it-tools/oggen": "^1.3.0",
"@jsonquerylang/jsonquery": "^5.1.1",
"@kenjiuno/decompressrtf": "^0.1.4",
"@kenjiuno/msgreader": "^1.27.0",
"@kenjiuno/msgreader": "^1.28.0",
"@langfreak/convert-layout": "^0.11.2",
"@lezer/highlight": "^1.2.3",
"@mdit/plugin-align": "^0.16.0",
"@noble/ciphers": "^1.2.1",
"@noble/ciphers": "^1.3.0",
"@regexper/render": "^1.0.0",
"@sindresorhus/slugify": "^3.0.0",
"@skeepit/unicode-to-gsm7": "^1.0.0",
"@tabler/icons-vue": "^3.20.0",
"@tiptap/core": "^3.22.5",
"@tiptap/extension-color": "^3.22.5",
"@tiptap/extension-gapcursor": "^3.22.5",
"@tiptap/extension-highlight": "^3.22.5",
"@tiptap/extension-table": "^3.22.5",
"@tiptap/extension-text-align": "^3.22.5",
"@tiptap/extension-text-style": "^3.22.5",
"@tiptap/extensions": "^3.22.5",
"@tiptap/pm": "^3.22.5",
"@tiptap/starter-kit": "^3.22.5",
"@tiptap/vue-3": "^3.22.5",
"@toon-format/toon": "^2.1.0",
"@tabler/icons-vue": "^3.44.0",
"@tiptap/core": "^3.27.1",
"@tiptap/extension-color": "^3.27.1",
"@tiptap/extension-gapcursor": "^3.27.1",
"@tiptap/extension-highlight": "^3.27.1",
"@tiptap/extension-table": "^3.27.1",
"@tiptap/extension-text-align": "^3.27.1",
"@tiptap/extension-text-style": "^3.27.1",
"@tiptap/extensions": "^3.27.1",
"@tiptap/pm": "^3.27.1",
"@tiptap/starter-kit": "^3.27.1",
"@tiptap/vue-3": "^3.27.1",
"@toon-format/toon": "^2.3.0",
"@types/haversine": "^1.1.8",
"@types/html-to-text": "^9.0.4",
"@types/swagger-ui-dist": "^3.30.6",
"@unicode/unicode-15.1.0": "^1.6.16",
"@unicode/unicode-15.1.0": "^1.6.17",
"@vicons/material": "^0.12.0",
"@vicons/tabler": "^0.12.0",
"@vueuse/core": "^10.11.1",
"@vueuse/head": "^1.0.0",
"@vueuse/integrations": "^14.2.0",
"@vueuse/router": "^10.0.0",
"@vueuse/head": "^1.3.1",
"@vueuse/integrations": "^14.3.0",
"@vueuse/router": "^10.11.1",
"@xmldom/xmldom": "^0.8.13",
"@xterm/xterm": "^5.5.0",
"@younestouati/playing-cards-standard-deck": "^6.0.1",
"@zxcvbn-ts/core": "^3.0.4",
"@zxcvbn-ts/language-common": "^3.0.4",
"@zxcvbn-ts/language-en": "^3.0.2",
"@zxing/library": "^0.21.3",
"@zxing/library": "^0.23.0",
"a11y-color-contrast": "^0.2.0",
"abort-signal-polyfill": "^1.0.0",
"aircodes": "^1.3.16",
@@ -111,29 +132,30 @@
"bech32": "^2.0.0",
"big.js": "^7.0.1",
"braces": "^3.0.3",
"bwip-js": "^4.8.0",
"bwip-js": "^4.11.2",
"byte-data": "^19.0.1",
"change-case": "^5.4.4",
"chardet": "^2.1.1",
"chardet": "^2.2.0",
"chart.js": "^4.5.1",
"chartjs-plugin-zoom": "^2.2.0",
"chatgpt-prompt-splitter": "^1.0.5",
"chinesegen": "^0.3.3",
"cidr-tools": "^11.0.3",
"cidr-tools": "^12.1.2",
"citation-formatter": "^1.0.1",
"codemirror": "^6.0.2",
"colord": "^2.9.3",
"composerize": "^1.7.5",
"composerize": "^1.7.6",
"composeverter": "^1.7.5",
"convert": "^6.0.0",
"countries-and-timezones": "^3.8.0",
"convert": "^7.0.0",
"countries-and-timezones": "^3.9.0",
"countries-db": "^1.2.0",
"country-code-lookup": "^0.1.3",
"country-code-lookup": "^0.1.5",
"crc": "^4.3.2",
"creditcard": "^0.1.3",
"creditcard-generator": "^0.0.7",
"cron-parser": "4.9.0",
"cron-validator": "^1.4.0",
"cronstrue": "^3.0.0",
"cronstrue": "^3.24.0",
"cross-spawn": "^7.0.6",
"crypto-js": "^4.2.0",
"csstoxpath": "^2.0.0",
@@ -141,10 +163,10 @@
"currency-codes-ts": "^3.0.0",
"currency-exchanger-js": "^1.0.4",
"damerau-levenshtein": "^1.0.8",
"data-guardian": "^1.1.3",
"date-fns": "^4.1.0",
"data-guardian": "^1.1.4",
"date-fns": "^4.4.0",
"date-fns-tz": "^3.2.0",
"date-holidays": "^3.27.0",
"date-holidays": "^3.33.0",
"decimal.js": "^10.6.0",
"decomposerize": "^1.4.4",
"detect-csv": "^1.1.0",
@@ -158,27 +180,30 @@
"dmarc-report-parser": "^0.1.5",
"dns-query": "^0.11.2",
"docker2kube": "^0.0.14",
"dom-to-image-more": "^3.7.2",
"dompurify": "^3.4.2",
"dom-to-image-more": "^3.10.0",
"dompurify": "^3.4.12",
"duration-fns": "^3.0.2",
"email-bounce-parser-browser": "^1.1.0",
"email-normalizer": "^1.0.0",
"emojilib": "^4.0.2",
"emojilib": "^4.0.3",
"epubjs": "^0.3.93",
"ethers": "^6.16.0",
"es-toolkit": "^1.49.0",
"esm-potrace-wasm": "^0.4.4",
"ethers": "^6.17.0",
"event-cron-parser": "^1.0.37",
"exif-be-gone": "^1.5.1",
"exifreader": "^4.33.1",
"fanger": "^0.3.1",
"fast-xml-parser": "^5.7.2",
"exifreader": "^4.41.0",
"fanger": "0.3.1",
"fast-json-patch": "^3.1.1",
"fast-xml-parser": "^5.9.3",
"fast_array_intersect": "^1.1.0",
"fflate": "^0.8.2",
"figlet": "^1.9.4",
"fflate": "^0.8.3",
"figlet": "^1.11.0",
"figue": "^1.2.0",
"file-type": "^21.2.0",
"file-type": "^22.0.1",
"flatten-anything": "^4.0.2",
"flexsearch": "^0.8.212",
"fuse.js": "^7.1.0",
"fuse.js": "^7.4.2",
"gcoord": "^1.0.7",
"generate-schema": "^2.6.0",
"get-timezone-offset": "^1.0.5",
@@ -189,39 +214,39 @@
"heic-convert": "^2.1.0",
"hex-array": "^1.0.0",
"highlight.js": "^11.11.1",
"html-to-text": "^9.0.5",
"htmlfy": "^1.0.1",
"htmlparser2": "^10.0.0",
"hyparquet": "^1.23.3",
"html-to-text": "^10.0.0",
"htmlfy": "^1.0.2",
"htmlparser2": "^10.1.0",
"hyparquet": "^1.26.2",
"hyparquet-compressors": "^1.1.1",
"ibantools": "^4.5.1",
"ical-generator": "^10.0.0",
"ibantools": "^4.5.4",
"ical-generator": "^11.0.0",
"ical.js": "^2.2.1",
"iconv-lite": "^0.7.1",
"idb-keyval": "^6.2.2",
"iconv-lite": "^0.7.3",
"idb-keyval": "^6.2.6",
"image-compare-viewer": "^1.6.2",
"image-in-browser": "^3.3.0",
"image-in-browser": "^3.5.3",
"image-to-ascii-art": "^0.0.4",
"ip-address": "^10.1.0",
"ip-bigint": "^8.2.2",
"ip-address": "^10.2.0",
"ip-bigint": "^9.0.6",
"ip-cidr": "^4.0.2",
"ip-matching": "^2.1.2",
"ip-regex": "^5.0.0",
"is-cidr": "^6.0.1",
"is-cidr": "^7.0.0",
"is-ip": "^5.0.1",
"isbn3": "^2.0.2",
"iso-639-1": "^3.1.5",
"isbn3": "^2.0.9",
"iso-639-1": "^3.1.6",
"jasypt": "^1.0.7",
"javascript-obfuscator": "^5.1.0",
"javascript-obfuscator": "^5.4.7",
"javastack.js": "^1.0.3",
"jks-js": "^1.1.4",
"jks-js": "^1.1.7",
"jose": "5.10.0",
"jpeg-quality-estimator": "^1.0.1",
"jq-wasm": "^1.0.1",
"js-base64": "^3.7.8",
"js-beautify": "^1.15.4",
"js-base64": "^3.8.1",
"js-beautify": "^2.0.3",
"js-tiktoken": "^1.0.21",
"jsbarcode": "^3.12.1",
"jsbarcode": "^3.12.3",
"json-analyzer": "^1.2.2",
"json-editor-vue": "^0.18.1",
"json-to-ts": "^2.1.0",
@@ -229,7 +254,7 @@
"jsonar-mod": "^1.9.0",
"jsonlint-mod": "^1.7.6",
"jsonpath": "^1.3.0",
"jsonrepair": "^3.13.1",
"jsonrepair": "^3.15.0",
"jsonschema": "^1.5.0",
"jsonschema-protobuf": "^1.0.2",
"jsstack.js": "^2.0.0",
@@ -239,65 +264,63 @@
"korean-unpacker": "^1.0.3",
"langs": "^2.0.0",
"leaflet": "^1.9.4",
"libmime": "^5.3.8",
"libphonenumber-js": "^1.12.33",
"libmime": "^5.4.1",
"libphonenumber-js": "^1.13.8",
"lodash": "^4.18.1",
"lodash.defaultsdeep": "^4.6.1",
"lodash.flattendeep": "^4.4.0",
"lodash.last": "^3.0.0",
"lodash.mergewith": "^4.6.2",
"long": "^5.3.2",
"lorem-ipsum-japanese": "^1.0.1",
"luhn-js": "^1.1.2",
"luxon": "^3.5.0",
"markdown-docx": "^1.6.0",
"markdown-it": "^14.1.1",
"luxon": "^3.7.2",
"markdown-docx": "^1.7.0",
"markdown-it": "^14.3.0",
"markdown-it-mark": "^4.0.0",
"markdown-it-sanitizer": "^0.4.3",
"markdown-it-sub": "^2.0.0",
"markdown-it-sup": "^2.0.0",
"markdown-table-prettify": "^4.0.0",
"markdown-table-prettify": "^4.1.0",
"marked": "^10.0.0",
"mathjs": "^15.2.0",
"md-editor-v3": "^4.21.3",
"mdt2json": "^1.1.0",
"memorystream": "^0.3.1",
"merge-anything": "^6.0.6",
"mermaid": "^11.12.2",
"mermaid": "^11.16.0",
"mime-types": "^3.0.2",
"mitex-wasm": "^0.2.5",
"moment": "^2.30.1",
"monaco-editor": "^0.55.1",
"morsee": "^1.0.10",
"msgpackr": "^1.11.8",
"naive-ui": "^2.43.2",
"nanoid": "^5.1.6",
"msgpackr": "^2.0.4",
"naive-ui": "^2.44.1",
"nanoid": "^6.0.0",
"nanoid-dictionary": "^5.0.0",
"nestify-anything": "^4.0.1",
"netmask": "^2.0.2",
"netmask": "^2.1.1",
"netstack.js": "^2.1.4",
"nginx-config-formatter": "^1.4.5",
"niceware": "^4.0.0",
"node-emv": "^1.0.23",
"node-forge": "^1.4.0",
"openai-chat-tokens": "^0.2.8",
"openpgp": "^6.3.0",
"openpgp": "^6.3.1",
"otpauth-migration": "^1.0.0",
"oui-data": "^1.1.571",
"parse-duration": "^2.1.6",
"parse-torrent": "^11.0.19",
"paseto-ts": "^2.0.5",
"path2d-polyfill": "^3.1.3",
"pako": "^3.0.1",
"parse-duration": "^2.1.8",
"parse-torrent": "^11.0.21",
"paseto-ts": "^2.0.6",
"path2d-polyfill": "^3.2.2",
"pdf-signature-reader": "^1.4.3",
"pdfjs-dist": "^4.8.69",
"pinia": "^2.0.34",
"pdfjs-dist": "^4.10.38",
"picomatch": "^4.0.5",
"pinia": "^3.0.4",
"plausible-tracker": "^0.3.9",
"podletjs": "^1.0.2",
"port-numbers": "^8.0.28",
"postal-mime": "^2.7.1",
"port-numbers": "^8.0.32",
"postal-mime": "^2.7.5",
"potrace": "^2.1.8",
"pp-qr-code": "^0.6.4",
"pretty-ms": "^9.3.0",
"proj4": "^2.20.2",
"proj4": "^2.20.9",
"proj4-list": "^1.0.4",
"properties": "^1.2.1",
"punycode": "^2.3.1",
@@ -307,33 +330,35 @@
"qrcode-parser": "^2.1.3",
"qrcode-terminal-nooctal": "^0.12.1",
"qrcode-vue3": "^1.7.1",
"quicktype-core": "^23.2.6",
"quicktype-core": "^24.0.2",
"randexp": "^0.5.3",
"regex": "^6.1.0",
"rekcod": "^3.0.0",
"remove-markdown": "^0.6.3",
"resistor-data": "^1.1.1",
"remove-markdown": "^0.6.4",
"resistor-data": "^2.0.0",
"riimut": "^0.9.1",
"roboto-base64": "^0.1.2",
"rtf-stream-parser": "^3.8.1",
"run-pace": "^2.2.1",
"safe-license-list": "^0.1.2",
"sandybox": "^1.1.2",
"sanitize-html": "^2.17.0",
"sanitize-html": "^2.17.5",
"shamirs-secret-sharing": "^2.0.1",
"shiki": "1.29.2",
"silly-password-generator": "^1.0.29",
"slashes": "^3.0.12",
"smol-toml": "^1.6.1",
"smol-toml": "^1.7.0",
"sms-segments-calculator": "^1.2.0",
"spdx-satisfies": "^6.0.0",
"sponge-case": "^2.0.3",
"sql-formatter": "^15.6.12",
"sql-formatter": "^15.8.2",
"sshpk": "^1.18.0",
"staveless-futhark": "^0.6.1",
"stringify-object": "^6.0.0",
"stopword": "^3.1.5",
"stringify-object": "^7.0.0",
"svg2png-wasm": "^1.4.1",
"svgo": "^3.3.3",
"swagger-ui-dist": "^5.27.0",
"swagger-ui-dist": "^5.32.8",
"swap-case": "^3.0.3",
"tesseract.js": "^5.1.1",
"text-encoding-utf-8": "^1.0.2",
@@ -343,130 +368,120 @@
"to-double-quotes": "^4.0.0",
"to-single-quotes": "^4.0.0",
"turndown": "^7.2.4",
"ua-parser-js": "^2.0.4",
"ua-parser-js": "^2.0.10",
"ulid": "^3.0.2",
"unicode-emoji-json": "^0.8.0",
"unique-random": "^4.0.0",
"units-converter": "^1.0.3",
"unixcrypt-browser": "^2.0.4",
"unpdf": "^1.4.0",
"unplugin-auto-import": "^0.16.4",
"unpdf": "^1.6.2",
"unplugin-auto-import": "^21.0.0",
"utf8": "^3.0.0",
"uuid": "^14.0.0",
"vanilla-jsoneditor": "^3.11.0",
"vue": "^3.3.4",
"uuid": "^14.0.1",
"vanilla-jsoneditor": "^3.12.0",
"vue": "^3.5.39",
"vue-color-wheel": "^0.1.1",
"vue-i18n": "^11.4.0",
"vue-loading-overlay": "^6.0",
"vue-markdown-render": "^2.3.0",
"vue-i18n": "^11.4.6",
"vue-loading-overlay": "^6.0.6",
"vue-markdown-render": "^2.3.1",
"vue-mathjax-next": "^0.0.6",
"vue-router": "^4.1.6",
"vue-router": "^5.1.0",
"vue-shadow-dom": "^4.2.0",
"vue-tsc": "^1.8.1",
"vue-tsc": "^3.3.6",
"vue3-flip-countdown": "^0.1.6",
"vuedraggable": "^4.1.0",
"vuex": "^4.1.0",
"w-websocket-client": "^1.0.29",
"webcrack": "^2.15.0",
"webcrack": "^2.16.0",
"webcrypto-liner-shim": "^1.4.8",
"webp-converter-browser": "^1.0.4",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
"xml-formatter": "^3.6.7",
"xml-formatter": "^3.7.0",
"xml-js": "^1.6.11",
"xpath": "^0.0.34",
"xpath-to-css": "^1.2.0",
"xslt-processor": "^3.4.0",
"yaml": "^2.8.4"
"yaml": "^2.9.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.41.0",
"@iconify-json/mdi": "^1.1.50",
"@intlify/unplugin-vue-i18n": "^11.0.0",
"@playwright/test": "^1.59.1",
"@rushstack/eslint-patch": "^1.2.0",
"@tsconfig/node18": "^18.2.0",
"@iconify-json/mdi": "^1.2.3",
"@iconify-json/tabler": "^1.2.35",
"@intlify/unplugin-vue-i18n": "^11.2.4",
"@playwright/test": "^1.61.1",
"@tsconfig/node24": "^24.0.4",
"@types/arr-diff": "^4.0.3",
"@types/bcryptjs": "^2.4.6",
"@types/big.js": "^6.2.2",
"@types/codemirror": "^5.60.17",
"@types/crypto-js": "^4.2.2",
"@types/damerau-levenshtein": "^1.0.2",
"@types/emscripten": "^1.40.1",
"@types/emscripten": "^1.41.5",
"@types/har-format": "^1.2.16",
"@types/hex-array": "^1.0.2",
"@types/js-beautify": "^1.14.3",
"@types/jsdom": "^21.1.7",
"@types/jsonpath": "^0.2.4",
"@types/leaflet": "^1.9.21",
"@types/libmime": "^5.0.3",
"@types/lodash": "^4.17.20",
"@types/lodash.defaultsdeep": "^4.6.9",
"@types/lodash.flattendeep": "^4.4.9",
"@types/lodash.last": "^3.0.9",
"@types/lodash.mergewith": "^4.6.9",
"@types/luxon": "^3.4.2",
"@types/libmime": "^5.3.0",
"@types/luxon": "^3.7.2",
"@types/markdown-it": "^13.0.9",
"@types/memorystream": "^0.3.4",
"@types/mime-types": "^3.0.1",
"@types/morsee": "^1.0.2",
"@types/nanoid-dictionary": "^4.2.3",
"@types/netmask": "^2.0.5",
"@types/node": "^24.10.1",
"@types/netmask": "^2.0.6",
"@types/node": "^24.13.2",
"@types/node-forge": "^1.3.14",
"@types/picomatch": "^4.0.3",
"@types/potrace": "^2.1.5",
"@types/punycode": "^2.1.4",
"@types/qrcode": "^1.5.5",
"@types/sanitize-html": "^2.13.0",
"@types/qrcode": "^1.5.6",
"@types/sanitize-html": "^2.16.1",
"@types/spdx-satisfies": "^6.0.0",
"@types/sshpk": "^1.17.4",
"@types/sshpk": "^1.17.5",
"@types/stopword": "^2.0.3",
"@types/stringify-object": "^4.0.5",
"@types/text-encoding-utf-8": "^1.0.5",
"@types/turndown": "^5.0.6",
"@types/ua-parser-js": "^0.7.39",
"@types/unist": "^3.0.3",
"@types/utf8": "^3.0.3",
"@types/uuid": "^10.0.0",
"@unocss/eslint-config": "^0.57.1",
"@vitejs/plugin-vue": "^4.3.4",
"@vitejs/plugin-vue-jsx": "^3.0.2",
"@vue/compiler-sfc": "^3.2.47",
"@vue/runtime-dom": "^3.3.4",
"@vue/test-utils": "^2.3.2",
"@vue/tsconfig": "^0.4.0",
"axios": "^1.16.0",
"commander": "^14.0.1",
"consola": "^3.0.2",
"dotenv": "^17.2.3",
"eslint": "^8.47.0",
"@vitejs/plugin-vue": "^6.0.7",
"@vitejs/plugin-vue-jsx": "^5.1.6",
"@vue/compiler-sfc": "^3.5.39",
"@vue/runtime-dom": "^3.5.39",
"@vue/test-utils": "^2.4.11",
"@vue/tsconfig": "^0.9.1",
"axios": "^1.18.1",
"commander": "^15.0.0",
"consola": "^3.4.2",
"dotenv": "^17.4.2",
"hygen": "^6.2.11",
"jsdom": "^22.0.0",
"less": "^4.2.2",
"prettier": "^3.0.0",
"semver": "^7.5.2",
"typescript": "~5.2.2",
"unocss": "^0.57.1",
"unocss-preset-scrollbar": "^0.2.1",
"unplugin-icons": "^0.17.0",
"unplugin-vue-components": "^0.25.0",
"unplugin-vue-markdown": "^29.1.0",
"vite": "^4.4.9",
"vite-plugin-node-polyfills": "^0.26.0",
"vite-plugin-pwa": "^1.1.0",
"vite-plugin-splash-screen": "^0.2.0",
"jsdom": "^29.1.1",
"less": "^4.6.7",
"oxfmt": "^0.57.0",
"oxlint": "^1.72.0",
"rollup-plugin-visualizer": "^7.0.1",
"semver": "^7.8.5",
"typescript": "~6.0.3",
"unocss": "^66.7.4",
"unocss-preset-scrollbar": "^4.0.0",
"unplugin-icons": "^23.0.1",
"unplugin-vue-components": "^32.1.0",
"unplugin-vue-markdown": "^32.0.0",
"vite": "^8.1.3",
"vite-plugin-node-polyfills": "^0.28.0",
"vite-plugin-pwa": "^1.3.0",
"vite-plugin-wasm": "^3.6.0",
"vite-svg-loader": "^4.0.0",
"vitest": "^0.34.6",
"vite-svg-loader": "^5.1.1",
"vitest": "^4.1.9",
"vue-i18n-extract": "^2.0.7",
"workbox-window": "^7.3.0",
"workbox-build": "^7.4.1",
"workbox-window": "^7.4.1",
"zx": "^8.8.5"
},
"pnpm": {
"overrides": {
"@vueuse/shared": "13.9.0",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
},
"patchedDependencies": {
"node-forge@1.4.0": "patches/node-forge@1.4.0.patch"
}
},
"packageManager": "pnpm@11.11.0+sha512.4463f65fd80ed80d69bc1d4bf163ee94f605c7380fc318bb5b2ebe15f8cd12d49c51a4d59e951b401e764d3b6ca751cbf51bc50ed7001a6bcb4935e684c34882",
"scarfSettings": {
"enabled": false
}
+8
View File
@@ -0,0 +1,8 @@
diff --git a/dist/index.js b/dist/index.js
index ba40e7a8d4d4d56621fa467ff0f6fdc3a30e0fa6..9136f03df05cb2ff615e43fa2df4e32b784465ba 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1 +1 @@
-var A=void 0!==A?A:{},r=!!globalThis.window,v=!!globalThis.WorkerGlobalScope,t=(globalThis.process?.versions?.node&&globalThis.process?.type,globalThis.document?.currentScript?.src);v&&(t=self.location.href);if(r||v){try{new URL(".",t).href}catch{}v&&(A=>{var r=new XMLHttpRequest;return r.open("GET",A,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}),async A=>{var r=await fetch(A,{credentials:"same-origin"});if(r.ok)return r.arrayBuffer();throw new Error(r.status+" : "+r.url)}}var j,f,b,n=console.log.bind(console),e=console.error.bind(console),o=!1;var a,k=!1;function s(){var A=y.buffer;j=new Int8Array(A),new Int16Array(A),f=new Uint8Array(A),new Uint16Array(A),new Int32Array(A),b=new Uint32Array(A),new Float32Array(A),new Float64Array(A),new BigInt64Array(A),new BigUint64Array(A)}function x(r){throw A.onAbort?.(r),e(r="Aborted("+r+")"),o=!0,r+=". Build with -sASSERTIONS for more info.",new WebAssembly.RuntimeError(r)}function i(){return function(A){for(var r,v=0,t=A.length,j=new Uint8Array(t);v<t;++v)r=A.charCodeAt(v),j[v]=~r>>8&r;return j}('\0asm\0\0\0“``\0`\0```\0`\0`\0`\0`\0\0`~~`|``~`~```||`\0`\r||+aa\0ab\0\fac\0ad\0\tae\0\0af\0\rag\0\0ZY\0\0\0\0\0\0\0\0\0\0\t\0\0\0\0\0\b\b\0\v\n\0\0\n\0\0\0\0\tp11‚€€\bA°Ô\vh\0i\0_j\0^k\0Al\0@m\0?\t6\0A\v0(]\\>[ZYXW>VUTS8RQPONMLKJDFIEGHC\'B\'\f\nËÿY€\f\b@ \0E\r\0 \0A\bk" \0Ak(\0"Axq"\0j!@ Aq\r\0 AqE\r  (\0"k"AÄÐ\0(\0I\r \0 j!\0@@@AÈÐ\0(\0 G@ (\f! AÿM@  (\b"G\rA´Ð\0A´Ð\0(\0A~ Avwq6\0\f\v (!  G@ (\b" 6\f  6\b\f\v (" Aj ("E\r Aj\v!@ ! "Aj! ("\r\0 Aj! ("\r\0\v A\x006\0\f\v ("AqAG\rA¼Ð\0 \x006\0  A~q6  \0Ar6  \x006\0\v  6\f  6\b\f\vA\0!\v E\r\0@ ("At"(äR F@ AäÒ\0j 6\0 \rA¸Ð\0A¸Ð\0(\0A~ wq6\0\f\v@  (F@  6\f\v  6\v E\r\v  6 ("@  6  6\v ("E\r\0  6  6\v  O\r\0 ("AqE\r\0@@@@ AqE@AÌÐ\0(\0 F@AÌÐ\0 6\0AÀÐ\0AÀÐ\0(\0 \0j"\x006\0  \0Ar6 AÈÐ\0(\0G\rA¼Ð\0A\x006\0AÈÐ\0A\x006\0\vAÈÐ\0(\0" F@AÈÐ\0 6\0A¼Ð\0A¼Ð\0(\0 \0j"\x006\0  \0Ar6 \0 j \x006\0\v Axq \0j!\0 (\f! AÿM@ (\b" F@A´Ð\0A´Ð\0(\0A~ Avwq6\0\f\v  6\f  6\b\f\v (!\b  G@ (\b" 6\f  6\b\f\v (" Aj ("E\r Aj\v!@ ! "Aj! ("\r\0 Aj! ("\r\0\v A\x006\0\f\v  A~q6  \0Ar6 \0 j \x006\0\f\vA\0!\v \bE\r\0@ ("At"(äR F@ AäÒ\0j 6\0 \rA¸Ð\0A¸Ð\0(\0A~ wq6\0\f\v@  \b(F@ \b 6\f\v \b 6\v E\r\v  \b6 ("@  6  6\v ("E\r\0  6  6\v  \0Ar6 \0 j \x006\0  G\r\0A¼Ð\0 \x006\0\v \0AÿM@ \0AøqAÜÐ\0j!A´Ð\0(\0"A \0Avt"\0qE@A´Ð\0 \0 r6\0 \f\v (\b\v!\0  6\b \0 6\f  6\f  \x006\b\vA! \0AÿÿÿM@ \0A& \0A\bvg"kvAq AtrA>s!\v  6 B\x007 AtAäÒ\0j!@A¸Ð\0(\0"A t"qE@A¸Ð\0  r6\0  6\0A!A\b\f\v \0A AvkA\0 AGt! (\0!@ "(Axq \0F\r Av! At!  Aqj"("\r\0\v  6A! !A\b\v!\0 "\f\v (\b" 6\f  6\bA!\0A\b!A\0\v!  j 6\0  6\f \0 j 6\0AÔÐ\0AÔÐ\0(\0Ak"\0A \06\0\v\vY~@A\0 \0E\r\0 \0­ ­~"§" \0 rA€€I\r\0A  B ˆ§\v"\f"\0E\r\0 \0Ak-\0\0AqE\r\0 \0A\0 \v \0\v\0 \0-\0\0A qE@   \0"\v\vj#\0A€k"$\0@  L\r\0 A€Àq\r\0    k"A€ A€I" E@@ \0 A€\t A€k"AÿK\r\0\v\v \0  \t\v A€j$\0\v8\0  l!  (LA\0H@ \0  "\f\v \0  "\v"\0F@\v \0 n\v»(\v#\0Ak"\n$\0@@@@@@@@@@ \0AôM@A´Ð\0(\0"A \0A\vjAøq \0A\vI"Av"\0v"Aq@@ AsAq \0j"At"AÜÐ\0j"\0 (äP"(\b"F@A´Ð\0 A~ wq6\0\f\v  \x006\f \0 6\b\v A\bj!\0  Ar6  j" (Ar6\f\v\v A¼Ð\0(\0"\bM\r @@A \0t"A\0 kr  \0tqh"At"AÜÐ\0j" (äP"\0(\b"F@A´Ð\0 A~ wq"6\0\f\v  6\f  6\b\v \0 Ar6 \0 j"  k"Ar6 \0 j 6\0 \b@ \bAxqAÜÐ\0j!AÈÐ\0(\0! A \bAvt"qE@A´Ð\0  r6\0 \f\v (\b\v!  6\b  6\f  6\f  6\b\v \0A\bj!\0AÈÐ\0 6\0A¼Ð\0 6\0\f\v\vA¸Ð\0(\0"\vE\r \vhAt(äR"(Axq k! !@@ ("\0E@ ("\0E\r\v \0(Axq k"   I"! \0  ! \0!\f\v\v (!\t  (\f"\0G@ (\b" \x006\f \0 6\b\f\n\v (" Aj ("E\r Aj\v!@ ! "\0Aj! \0("\r\0 \0Aj! \0("\r\0\v A\x006\0\f\t\vA! \0A¿K\r\0 \0A\vj"Axq!A¸Ð\0(\0"E\r\0A!\bA\0 k! \0AôÿÿM@ A& A\bvg"\0kvAq \0AtkA>j!\b\v@@@ \bAt(äR"E@A\0!\0\f\vA\0!\0 A \bAvkA\0 \bAGt!@@ (Axq k" O\r\0 ! "\r\0A\0! !\0\f\v \0 ("   AvAqj("F \0 !\0 At! \r\0\v\v \0 rE@A\0!A \bt"\0A\0 \0kr  Line truncated
\ No newline at end of file
+var A,I,g=void 0!==g?g:{},C=Object.assign({},g),Q=(A,I)=>{throw I},B="object"==typeof window,E="function"==typeof importScripts,i="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,D="";if(i){var o=require("fs"),w=require("path");D=E?w.dirname(D)+"/":__dirname+"/",A=(A,I)=>(A=b(A)?new URL(A):w.normalize(A),o.readFileSync(A,I?void 0:"utf8")),I=I=>{var g=A(I,!0);return g.buffer||(g=new Uint8Array(g)),g},(A,I,g,C=!0)=>{A=b(A)?new URL(A):w.normalize(A),o.readFile(A,C?void 0:"utf8",((A,Q)=>{A?g(A):I(C?Q.buffer:Q)}))},!g.thisProgram&&process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),"undefined"!=typeof module&&(module.exports=g),process.on("uncaughtException",(A=>{if(!("unwind"===A||A instanceof l||A.context instanceof l))throw A})),Q=(A,I)=>{throw process.exitCode=A,I},g.inspect=()=>"[Emscripten Module object]"}else(B||E)&&(E?D=self.location.href:"undefined"!=typeof document&&document.currentScript&&(D=document.currentScript.src),D=0!==D.indexOf("blob:")?D.substr(0,D.replace(/[?#].*/,"").lastIndexOf("/")+1):"",A=A=>{var I=new XMLHttpRequest;return I.open("GET",A,!1),I.send(null),I.responseText},E&&(I=A=>{var I=new XMLHttpRequest;return I.open("GET",A,!1),I.responseType="arraybuffer",I.send(null),new Uint8Array(I.response)}),(A,I,g)=>{var C=new XMLHttpRequest;C.open("GET",A,!0),C.responseType="arraybuffer",C.onload=()=>{200==C.status||0==C.status&&C.response?I(C.response):g()},C.onerror=g,C.send(null)},A=>document.title=A);var N,s=g.print||console.log.bind(console),h=g.printErr||console.error.bind(console);Object.assign(g,C),C=null,g.arguments&&g.arguments,g.thisProgram&&g.thisProgram,g.quit&&(Q=g.quit),g.wasmBinary&&(N=g.wasmBinary);var y,R=g.noExitRuntime||!0;"object"!=typeof WebAssembly&&L("no native wasm support detected");var F,G,M,a=!1;function K(){var A=y.buffer;g.HEAP8=F=new Int8Array(A),g.HEAP16=new Int16Array(A),g.HEAPU8=G=new Uint8Array(A),g.HEAPU16=new Uint16Array(A),g.HEAP32=new Int32Array(A),g.HEAPU32=M=new Uint32Array(A),g.HEAPF32=new Float32Array(A),g.HEAPF64=new Float64Array(A)}var S=[],t=[],r=[],c=!1;var Y=0,U=null,J=null;function L(A){throw g.onAbort&&g.onAbort(A),h(A="Aborted("+A+")"),a=!0,1,A+=". Build with -sASSERTIONS for more info.",new WebAssembly.RuntimeError(A)}var k,H,e="data:application/octet-stream;base64,";function n(A){return A.startsWith("data:application/octet-stream;base64,")}function b(A){return A.startsWith("file://")}function d(A){if(A==k&&N)return new Uint8Array(N);var g=function(A){if(!n(A))return;return function(A){if(void 0!==i&&i){var I=Buffer.from(A,"base64");return new Uint8Array(I.buffer,I.byteOffset,I.length)}try{for(var g=atob(A),C=new Uint8Array(g.length),Q=0;Q<g.length;++Q)C[Q]=g.charCodeAt(Q);return C}catch(A){throw new Error("Converting base64 string to bytes failed.")}}(A.slice(e.length))}(A);if(g)return g;if(I)return I(A);throw"both async and sync fetching of the wasm failed"}function q(A,I,g){return function(A){return Promise.resolve().then((()=>d(A)))}(A).then((A=>WebAssembly.instantiate(A,I))).then((A=>A)).then(g,(A=>{h(`failed to asynchronously prepare wasm: ${A}`),L(A)}))}function l(A){this.name="ExitStatus",this.message=`Program terminated with exit(${A})`,this.status=A}n(k="data:application/octet-stream;base64,AGFzbQEAAAABigETYAF/AX9gAX8AYAJ/fwBgAn9/AX9gA39/fwF/YAR/f39/AGADf39/AGAAAGAFf39/f38AYAZ/f39/f38AYAN/fn8BfmAFf39/f38Bf2AGf3x/f39/AX9gBH9/f38Bf2ACfn8Bf2AHf39/f39/fwF/YAJ8fwF8YAABf2AMf39/f39/f39/fH98AX8CMQgBYQFhAAYBYQFiAA0BYQFjAAEBYQFkAAsBYQFlAAcBYQFmAAABYQFnAAABYQFoAAYDX14BAwYECAUABgAEBAEADgAGAAIEAAUBBQALAAQCAQAHAgcBAgAFBgMCAgMDBAUADxADBAMCAQEDAgABEQAAAAAACQkICAEFBQQABAIMCgQAAAoAAwMCAAADAwIABwMSBAUBcAE2NgUHAQGAAoCAAgYIAX8BQaDVBAsHKQoBaQIAAWoAKAFrAGUBbABkAW0AYwFuAQABbwBCAXAAQQFxAEABcgBHCTsBAEEBCzUbGytMGxNiYR0TYF9eE11cHRNbWllYOVdWVVRTUlETUBsTHR1PSEpOE0lLTRNFE0QTRilDKQq09QJe9QsBB38CQCAARQ0AIABBCGsiAiAAQQRrKAIAIgFBeHEiAGohBQJAIAFBAXENACABQQNxRQ0BIAIgAigCACIBayICQbTRACgCAEkNASAAIAFqIQACQAJAQbjRACgCACACRwRAIAFB/wFNBEAgAUEDdiEEIAIoAgwiASACKAIIIgNGBEBBpNEAQaTRACgCAEF+IAR3cTYCAAwFCyADIAE2AgwgASADNgIIDAQLIAIoAhghBiACIAIoAgwiAUcEQCACKAIIIgMgATYCDCABIAM2AggMAwsgAkEUaiIEKAIAIgNFBEAgAigCECIDRQ0CIAJBEGohBAsDQCAEIQcgAyIBQRRqIgQoAgAiAw0AIAFBEGohBCABKAIQIgMNAAsgB0EANgIADAILIAUoAgQiAUEDcUEDRw0CQazRACAANgIAIAUgAUF+cTYCBCACIABBAXI2AgQgBSAANgIADwtBACEBCyAGRQ0AAkAgAigCHCIDQQJ0QdTTAGoiBCgCACACRgRAIAQgATYCACABDQFBqNEAQajRACgCAEF+IAN3cTYCAAwCCyAGQRBBFCAGKAIQIAJGG2ogATYCACABRQ0BCyABIAY2AhggAigCECIDBEAgASADNgIQIAMgATYCGAsgAigCFCIDRQ0AIAEgAzYCFCADIAE2AhgLIAIgBU8NACAFKAIEIgFBAXFFDQACQAJAAkACQCABQQJxRQRAQbzRACgCACAFRgRAQbzRACACNgIAQbDRAEGw0QAoAgAgAGoiADYCACACIABBAXI2AgQgAkG40QAoAgBHDQZBrNEAQQA2AgBBuNEAQQA2AgAPC0G40QAoAgAgBUYEQEG40QAgAjYCAEGs0QBBrNEAKAIAIABqIgA2AgAgAiAAQQFyNgIEIAAgAmogADYCAA8LIAFBeHEgAGohACABQf8BTQRAIAFBA3YhBCAFKAIMIgEgBSgCCCIDRgRAQaTRAEGk0QAoAgBBfiAEd3E2AgAMBQsgAyABNgIMIAEgAzYCCAwECyAFKAIYIQYgBSAFKAIMIgFHBEBBtNEAKAIAGiAFKAIIIgMgATYCDCABIAM2AggMAwsgBUEUaiIEKAIAIgNFBEAgBSgCECIDRQ0CIAVB Line truncated
+12
View File
@@ -0,0 +1,12 @@
diff --git a/lib/run-pace.js b/lib/run-pace.js
index 2b20a32ff4b5712016dd869a734ff25f730cdb12..9b9b72187e6675db6b295a827f2293950d12a111 100644
--- a/lib/run-pace.js
+++ b/lib/run-pace.js
@@ -119,7 +119,3 @@ function removeTrailingZeroes(number) {
function removeLeadingZero(number) {
return number.replace(/^0/, "");
}
-
-function zeroPad(number) {
- return `0${number}`.slice(-2);
-}
+10 -9
View File
@@ -10,6 +10,9 @@ const useWebServer = process.env.NO_WEB_SERVER !== 'true';
export default defineConfig({
testDir: './src',
testMatch: /\.e2e\.(spec\.)?ts$/,
/* First paint of heavy lazy-loaded tools can exceed the 5s default on
slow CI browsers (webkit especially) */
expect: { timeout: 15_000 },
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
@@ -53,13 +56,11 @@ export default defineConfig({
/* Run your local dev server before starting the tests */
...(useWebServer
&& {
webServer: {
command: 'npm run preview',
url: 'http://localhost:5050',
reuseExistingServer: !isCI,
},
}
),
...(useWebServer && {
webServer: {
command: 'npm run preview',
url: 'http://localhost:5050',
reuseExistingServer: !isCI,
},
}),
});
+7936 -9149
View File
File diff suppressed because it is too large. Load diff
+58
View File
@@ -0,0 +1,58 @@
# The xlsx override below intentionally points the whole graph (including
# wsemi's transitive xlsx) at the SheetJS CDN tarball, because the npm
# registry version is stale (0.18.5) and carries known vulnerabilities.
# pnpm 11 blocks URL tarballs in subdependencies by default and has no
# per-package exception, so this protection must be disabled repo-wide.
blockExoticSubdeps: false
overrides:
'@vueuse/shared': 13.9.0
# Native-only transitives of webcrack / @huggingface/transformers.
# The browser app aliases both to an empty module in vite.config.ts,
# so stub them out entirely (saves ~225 MB of node_modules).
isolated-vm: file:./stubs/empty-stub
onnxruntime-node: file:./stubs/empty-stub
elliptic: ^6.6.1
# @it-tools/bip39 pins ^0.9.0, whose Node fallback uses eval("require('crypto')")
# and triggers rolldown EVAL build warnings; 0.11.x dropped the eval.
js-sha256: ^0.11.1
xlsx: https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz
patchedDependencies:
node-forge@1.4.0: patches/node-forge@1.4.0.patch
esm-potrace-wasm: patches/esm-potrace-wasm.patch
run-pace: patches/run-pace.patch
# pnpm 11 requires an explicit decision for every dependency build script.
# true = script is needed (native binaries / functional postinstall)
# false = script is cosmetic (funding banners) or the build is unneeded
allowBuilds:
'@scarf/scarf': false
core-js: false
es5-ext: false
esbuild: true
exifreader: false
json-editor-vue: false
msgpackr-extract: true
protobufjs: false
sharp: false
tesseract.js: false
tree-sitter: true
tree-sitter-bash: true
vue-demi: true
minimumReleaseAgeExclude:
- phin@3.7.1
- elliptic@6.6.2
- file-type@21.3.1
- unhead@2.1.11 || 2.1.13
- dompurify@3.3.2 || 3.3.4 || 3.4.0 || 3.4.6 || 3.4.7 || 3.4.8 || 3.4.9 || 3.4.11
- protocol-buffers-schema@3.6.1
- '@xmldom/xmldom@0.8.12 || 0.8.13'
- mathjs@15.2.0
- protobufjs@7.5.5 || 7.5.6 || 7.5.8 || 7.6.1 || 7.6.3
- underscore@1.13.8
- ip-address@10.1.1
- uuid@11.1.1
- '@iplookup/country-extra@1.0.20260711'
- nanoid@6.0.0
+561
View File
@@ -0,0 +1,561 @@
let wasm;
function addToExternrefTable0(obj) {
const idx = wasm.__externref_table_alloc();
wasm.__wbindgen_export_2.set(idx, obj);
return idx;
}
function handleError(f, args) {
try {
return f.apply(this, args);
} catch (e) {
const idx = addToExternrefTable0(e);
wasm.__wbindgen_exn_store(idx);
}
}
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
let cachedUint8ArrayMemory0 = null;
function getUint8ArrayMemory0() {
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
}
return cachedUint8ArrayMemory0;
}
function getStringFromWasm0(ptr, len) {
ptr = ptr >>> 0;
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
}
let WASM_VECTOR_LEN = 0;
function passArray8ToWasm0(arg, malloc) {
const ptr = malloc(arg.length * 1, 1) >>> 0;
getUint8ArrayMemory0().set(arg, ptr / 1);
WASM_VECTOR_LEN = arg.length;
return ptr;
}
let cachedDataViewMemory0 = null;
function getDataViewMemory0() {
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
}
return cachedDataViewMemory0;
}
function isLikeNone(x) {
return x === undefined || x === null;
}
const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
? function (arg, view) {
return cachedTextEncoder.encodeInto(arg, view);
}
: function (arg, view) {
const buf = cachedTextEncoder.encode(arg);
view.set(buf);
return {
read: arg.length,
written: buf.length
};
});
function passStringToWasm0(arg, malloc, realloc) {
if (realloc === undefined) {
const buf = cachedTextEncoder.encode(arg);
const ptr = malloc(buf.length, 1) >>> 0;
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
WASM_VECTOR_LEN = buf.length;
return ptr;
}
let len = arg.length;
let ptr = malloc(len, 1) >>> 0;
const mem = getUint8ArrayMemory0();
let offset = 0;
for (; offset < len; offset++) {
const code = arg.charCodeAt(offset);
if (code > 0x7F) break;
mem[ptr + offset] = code;
}
if (offset !== len) {
if (offset !== 0) {
arg = arg.slice(offset);
}
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
const ret = encodeString(arg, view);
offset += ret.written;
ptr = realloc(ptr, len, offset, 1) >>> 0;
}
WASM_VECTOR_LEN = offset;
return ptr;
}
function debugString(val) {
// primitive types
const type = typeof val;
if (type == 'number' || type == 'boolean' || val == null) {
return `${val}`;
}
if (type == 'string') {
return `"${val}"`;
}
if (type == 'symbol') {
const description = val.description;
if (description == null) {
return 'Symbol';
} else {
return `Symbol(${description})`;
}
}
if (type == 'function') {
const name = val.name;
if (typeof name == 'string' && name.length > 0) {
return `Function(${name})`;
} else {
return 'Function';
}
}
// objects
if (Array.isArray(val)) {
const length = val.length;
let debug = '[';
if (length > 0) {
debug += debugString(val[0]);
}
for(let i = 1; i < length; i++) {
debug += ', ' + debugString(val[i]);
}
debug += ']';
return debug;
}
// Test for built-in
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
let className;
if (builtInMatches && builtInMatches.length > 1) {
className = builtInMatches[1];
} else {
// Failed to match the standard '[object ClassName]'
return toString.call(val);
}
if (className == 'Object') {
// we're a user defined class or Object
// JSON.stringify avoids problems with cycles, and is generally much
// easier than looping through ownProperties of `val`.
try {
return 'Object(' + JSON.stringify(val) + ')';
} catch (_) {
return 'Object';
}
}
// errors
if (val instanceof Error) {
return `${val.name}: ${val.message}\n${val.stack}`;
}
// TODO we could test for more things here, like `Set`s and `Map`s.
return className;
}
export function main() {
wasm.main();
}
const BinaryImageConverterFinalization = (typeof FinalizationRegistry === 'undefined')
? { register: () => {}, unregister: () => {} }
: new FinalizationRegistry(ptr => wasm.__wbg_binaryimageconverter_free(ptr >>> 0, 1));
export class BinaryImageConverter {
static __wrap(ptr) {
ptr = ptr >>> 0;
const obj = Object.create(BinaryImageConverter.prototype);
obj.__wbg_ptr = ptr;
BinaryImageConverterFinalization.register(obj, obj.__wbg_ptr, obj);
return obj;
}
__destroy_into_raw() {
const ptr = this.__wbg_ptr;
this.__wbg_ptr = 0;
BinaryImageConverterFinalization.unregister(this);
return ptr;
}
free() {
const ptr = this.__destroy_into_raw();
wasm.__wbg_binaryimageconverter_free(ptr, 0);
}
/**
* @param {string} params
* @returns {BinaryImageConverter}
*/
static new_with_string(params) {
const ptr0 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ret = wasm.binaryimageconverter_new_with_string(ptr0, len0);
return BinaryImageConverter.__wrap(ret);
}
init() {
wasm.binaryimageconverter_init(this.__wbg_ptr);
}
/**
* @returns {boolean}
*/
tick() {
const ret = wasm.binaryimageconverter_tick(this.__wbg_ptr);
return ret !== 0;
}
/**
* @returns {number}
*/
progress() {
const ret = wasm.binaryimageconverter_progress(this.__wbg_ptr);
return ret >>> 0;
}
}
const ColorImageConverterFinalization = (typeof FinalizationRegistry === 'undefined')
? { register: () => {}, unregister: () => {} }
: new FinalizationRegistry(ptr => wasm.__wbg_colorimageconverter_free(ptr >>> 0, 1));
export class ColorImageConverter {
static __wrap(ptr) {
ptr = ptr >>> 0;
const obj = Object.create(ColorImageConverter.prototype);
obj.__wbg_ptr = ptr;
ColorImageConverterFinalization.register(obj, obj.__wbg_ptr, obj);
return obj;
}
__destroy_into_raw() {
const ptr = this.__wbg_ptr;
this.__wbg_ptr = 0;
ColorImageConverterFinalization.unregister(this);
return ptr;
}
free() {
const ptr = this.__destroy_into_raw();
wasm.__wbg_colorimageconverter_free(ptr, 0);
}
/**
* @param {string} params
* @returns {ColorImageConverter}
*/
static new_with_string(params) {
const ptr0 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ret = wasm.colorimageconverter_new_with_string(ptr0, len0);
return ColorImageConverter.__wrap(ret);
}
init() {
wasm.colorimageconverter_init(this.__wbg_ptr);
}
/**
* @returns {boolean}
*/
tick() {
const ret = wasm.colorimageconverter_tick(this.__wbg_ptr);
return ret !== 0;
}
/**
* @returns {number}
*/
progress() {
const ret = wasm.colorimageconverter_progress(this.__wbg_ptr);
return ret;
}
}
async function __wbg_load(module, imports) {
if (typeof Response === 'function' && module instanceof Response) {
if (typeof WebAssembly.instantiateStreaming === 'function') {
try {
return await WebAssembly.instantiateStreaming(module, imports);
} catch (e) {
if (module.headers.get('Content-Type') != 'application/wasm') {
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
} else {
throw e;
}
}
}
const bytes = await module.arrayBuffer();
return await WebAssembly.instantiate(bytes, imports);
} else {
const instance = await WebAssembly.instantiate(module, imports);
if (instance instanceof WebAssembly.Instance) {
return { instance, module };
} else {
return instance;
}
}
}
function __wbg_get_imports() {
const imports = {};
imports.wbg = {};
imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
const ret = arg0.call(arg1);
return ret;
}, arguments) };
imports.wbg.__wbg_createElementNS_914d752e521987da = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
const ret = arg0.createElementNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
return ret;
}, arguments) };
imports.wbg.__wbg_data_d1ed736c1e42b10e = function(arg0, arg1) {
const ret = arg1.data;
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
const len1 = WASM_VECTOR_LEN;
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
};
imports.wbg.__wbg_debug_e17b51583ca6a632 = function(arg0, arg1, arg2, arg3) {
console.debug(arg0, arg1, arg2, arg3);
};
imports.wbg.__wbg_document_d249400bd7bd996d = function(arg0) {
const ret = arg0.document;
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
};
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
let deferred0_0;
let deferred0_1;
try {
deferred0_0 = arg0;
deferred0_1 = arg1;
console.error(getStringFromWasm0(arg0, arg1));
} finally {
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
}
};
imports.wbg.__wbg_error_80de38b3f7cc3c3c = function(arg0, arg1, arg2, arg3) {
console.error(arg0, arg1, arg2, arg3);
};
imports.wbg.__wbg_getContext_e9cf379449413580 = function() { return handleError(function (arg0, arg1, arg2) {
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
}, arguments) };
imports.wbg.__wbg_getElementById_f827f0d6648718a8 = function(arg0, arg1, arg2) {
const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2));
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
};
imports.wbg.__wbg_getImageData_c02374a30b126dab = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
const ret = arg0.getImageData(arg1, arg2, arg3, arg4);
return ret;
}, arguments) };
imports.wbg.__wbg_height_838cee19ba8597db = function(arg0) {
const ret = arg0.height;
return ret;
};
imports.wbg.__wbg_info_033d8b8a0838f1d3 = function(arg0, arg1, arg2, arg3) {
console.info(arg0, arg1, arg2, arg3);
};
imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_df82a4d3437bf1cc = function(arg0) {
let result;
try {
result = arg0 instanceof CanvasRenderingContext2D;
} catch (_) {
result = false;
}
const ret = result;
return ret;
};
imports.wbg.__wbg_instanceof_HtmlCanvasElement_2ea67072a7624ac5 = function(arg0) {
let result;
try {
result = arg0 instanceof HTMLCanvasElement;
} catch (_) {
result = false;
}
const ret = result;
return ret;
};
imports.wbg.__wbg_instanceof_Window_def73ea0955fc569 = function(arg0) {
let result;
try {
result = arg0 instanceof Window;
} catch (_) {
result = false;
}
const ret = result;
return ret;
};
imports.wbg.__wbg_log_c222819a41e063d3 = function(arg0) {
console.log(arg0);
};
imports.wbg.__wbg_log_cad59bb680daec67 = function(arg0, arg1, arg2, arg3) {
console.log(arg0, arg1, arg2, arg3);
};
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
const ret = new Error();
return ret;
};
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
const ret = new Function(getStringFromWasm0(arg0, arg1));
return ret;
};
imports.wbg.__wbg_prepend_536a5a2dc0b99b47 = function() { return handleError(function (arg0, arg1) {
arg0.prepend(arg1);
}, arguments) };
imports.wbg.__wbg_setAttribute_2704501201f15687 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
}, arguments) };
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
const ret = arg1.stack;
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
};
imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
const ret = typeof global === 'undefined' ? null : global;
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
};
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
const ret = typeof globalThis === 'undefined' ? null : globalThis;
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
};
imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
const ret = typeof self === 'undefined' ? null : self;
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
};
imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
const ret = typeof window === 'undefined' ? null : window;
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
};
imports.wbg.__wbg_warn_aaf1f4664a035bd6 = function(arg0, arg1, arg2, arg3) {
console.warn(arg0, arg1, arg2, arg3);
};
imports.wbg.__wbg_width_5dde457d606ba683 = function(arg0) {
const ret = arg0.width;
return ret;
};
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
const ret = debugString(arg1);
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len1 = WASM_VECTOR_LEN;
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
};
imports.wbg.__wbindgen_init_externref_table = function() {
const table = wasm.__wbindgen_export_2;
const offset = table.grow(4);
table.set(0, undefined);
table.set(offset + 0, undefined);
table.set(offset + 1, null);
table.set(offset + 2, true);
table.set(offset + 3, false);
;
};
imports.wbg.__wbindgen_is_undefined = function(arg0) {
const ret = arg0 === undefined;
return ret;
};
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
const ret = getStringFromWasm0(arg0, arg1);
return ret;
};
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
throw new Error(getStringFromWasm0(arg0, arg1));
};
return imports;
}
function __wbg_init_memory(imports, memory) {
}
function __wbg_finalize_init(instance, module) {
wasm = instance.exports;
__wbg_init.__wbindgen_wasm_module = module;
cachedDataViewMemory0 = null;
cachedUint8ArrayMemory0 = null;
wasm.__wbindgen_start();
return wasm;
}
function initSync(module) {
if (wasm !== undefined) return wasm;
if (typeof module !== 'undefined') {
if (Object.getPrototypeOf(module) === Object.prototype) {
({module} = module)
} else {
console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
}
}
const imports = __wbg_get_imports();
__wbg_init_memory(imports);
if (!(module instanceof WebAssembly.Module)) {
module = new WebAssembly.Module(module);
}
const instance = new WebAssembly.Instance(module, imports);
return __wbg_finalize_init(instance, module);
}
async function __wbg_init(module_or_path) {
if (wasm !== undefined) return wasm;
if (typeof module_or_path !== 'undefined') {
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
({module_or_path} = module_or_path)
} else {
console.warn('using deprecated parameters for the initialization function; pass a single object instead')
}
}
if (typeof module_or_path === 'undefined') {
module_or_path = new URL('vtracer_webapp_bg.wasm', import.meta.url);
}
const imports = __wbg_get_imports();
if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
module_or_path = fetch(module_or_path);
}
__wbg_init_memory(imports);
const { instance, module } = await __wbg_load(await module_or_path, imports);
return __wbg_finalize_init(instance, module);
}
export { initSync };
export default __wbg_init;
window.vtracerInit = __wbg_init;
window.ColorImageConverter = ColorImageConverter;
Binary file not shown.
-1
View File
@@ -50,7 +50,6 @@
"groupName": "UnoCSS ecosystem",
"matchPackageNames": [
"unocss",
"@unocss/eslint-config",
"unocss-preset-scrollbar"
],
"matchUpdateTypes": ["major", "minor", "patch"]
+14 -5
View File
@@ -1,5 +1,14 @@
memory=$(awk '/MemTotal/{print $2}' /proc/meminfo);
memory=$((memory / 1024));
node_options="--max-old-space-size=$((memory - 1024))";
echo "NODE_OPTIONS=$node_options";
export NODE_OPTIONS="$node_options";
#!/bin/bash
if [[ "$OSTYPE" == "darwin"* ]]; then
memory=$(sysctl -n hw.memsize)
memory=$((memory / 1024 / 1024))
else
memory=$(awk '/MemTotal/{print $2}' /proc/meminfo)
memory=$((memory / 1024))
fi
node_options="--max-old-space-size=$((memory - 1024))"
echo "NODE_OPTIONS=$node_options"
export NODE_OPTIONS="$node_options"
+18 -5
View File
@@ -78,6 +78,8 @@ body {
min-height: 100%;
margin: 0;
padding: 0;
/* The document scrolls vertically (see MenuLayout.vue); never horizontally */
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
@@ -85,10 +87,10 @@ body {
box-sizing: border-box;
}
/* No transform/contain here: they would make .app-root the containing block
for position:fixed descendants (the mobile menu), and the old inner-scroll
perf rationale no longer applies now that the document is the scroller. */
.app-root {
contain: layout style paint;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-overflow-scrolling: touch;
}
@@ -97,13 +99,24 @@ body .vld-container {
left: 0;
top: 0;
width: 100%;
height: 100vh;
background-color: var(--loading-background-color);
z-index: 9999;
text-align: center;
pointer-events: none;
}
/* Fullscreen fallback: overlay mounted on <body> (first navigation) */
body > .vld-container {
height: 100vh;
z-index: 9999;
}
/* Route-change overlay scoped to the page area (see router.ts) */
.page-content > .vld-container {
height: 100%;
min-height: 350px;
z-index: 100;
}
body .vld-container.vl-active {
pointer-events: auto;
}
-1
View File
@@ -1,3 +1,2 @@
export function readFile() {}
export function writeFile() {}
export {};
+300
View File
@@ -0,0 +1,300 @@
<script setup lang="ts">
import Copy from '~icons/tabler/copy';
import { Base64 } from 'js-base64';
import { useCopy } from '@/composable/copy';
import { useDownloadFileFromBase64 } from '@/composable/downloadBase64';
import { translate as t } from '@/plugins/i18n.plugin';
import {
EditorView,
basicSetup,
} from 'codemirror';
import {
Compartment,
EditorState,
} from '@codemirror/state';
import { javascript } from '@codemirror/lang-javascript';
import { html } from '@codemirror/lang-html';
import { xml } from '@codemirror/lang-xml';
import { json } from '@codemirror/lang-json';
import { css } from '@codemirror/lang-css';
import { markdown } from '@codemirror/lang-markdown';
import { sql } from '@codemirror/lang-sql';
import { yaml } from '@codemirror/lang-yaml';
import { go } from '@codemirror/lang-go';
import { python } from '@codemirror/lang-python';
import { php } from '@codemirror/lang-php';
import { cpp } from '@codemirror/lang-cpp';
import { oneDark } from '@codemirror/theme-one-dark';
import { keymap, lineNumbers } from '@codemirror/view';
import { foldGutter, foldKeymap } from '@codemirror/language';
import { useStyleStore } from '@/stores/style.store';
const props = withDefaults(
defineProps<{
value: string
language?: string
copyPlacement?: 'top-right' | 'bottom-right' | 'outside' | 'none'
copyMessage?: string
wordWrap?: boolean
downloadFileName?: string
downloadButtonText?: string
maxHeight?: string
showLineNumbers?: boolean
showFoldGutter?: boolean
}>(),
{
language: 'txt',
copyPlacement: 'top-right',
copyMessage: t('textareaCopyable.copy'),
downloadFileName: '',
downloadButtonText: t('textareaCopyable.download'),
maxHeight: '400px',
},
);
const { value, maxHeight, language, showLineNumbers, showFoldGutter, copyPlacement, copyMessage, downloadFileName, downloadButtonText } = toRefs(props);
const styleStore = useStyleStore();
const isDarkTheme = computed(() => styleStore.isDarkTheme);
const editorRoot = ref<HTMLElement | null>(null);
let view: EditorView | null = null;
// Compartments for dynamic reconfiguration
const themeCompartment = new Compartment();
const languageCompartment = new Compartment();
const maxHeightStyle = computed(() =>
maxHeight.value
? typeof maxHeight.value === 'number'
? `${maxHeight.value}px`
: maxHeight.value
: '400px',
);
// ---------------------------
// LANGUAGE REGISTRY
// ---------------------------
function resolveLanguage(lang: string) {
const l = lang.toLowerCase();
switch (l) {
case 'sql':
return sql();
case 'json':
return json();
case 'html':
return html();
case 'xml':
return xml();
case 'yaml':
return yaml();
case 'ts':
case 'typescript':
return javascript({ typescript: true });
case 'markdown':
case 'md':
return markdown();
case 'css':
return css();
case 'javascript':
case 'js':
return javascript();
case 'go':
return go();
case 'csharp':
case 'cs':
return cpp(); // closest CM6 grammar
case 'python':
case 'py':
return python();
case 'php':
return php();
default:
return []; // plain text fallback
}
}
function themeExtension() {
return isDarkTheme.value ? oneDark : [];
}
// ---------------------------
// EDITOR INITIALIZATION
// ---------------------------
function createExtensions() {
return [
basicSetup,
EditorView.editable.of(false),
EditorState.readOnly.of(true),
keymap.of(foldKeymap),
themeCompartment.of(themeExtension()),
languageCompartment.of(resolveLanguage(language.value ?? 'plain')),
(showLineNumbers.value ?? true) ? lineNumbers() : [],
(showFoldGutter.value ?? true)
? foldGutter({ openText: '▾', closedText: '▸' })
: [],
];
}
function initEditor() {
if (!editorRoot.value) {
return;
}
view = new EditorView({
doc: value.value,
extensions: createExtensions(),
parent: editorRoot.value,
});
}
function destroyEditor() {
if (view) {
view.destroy();
view = null;
}
}
onMounted(() => {
initEditor();
});
onBeforeUnmount(destroyEditor);
watch(isDarkTheme, () => {
if (view) {
view.dispatch({
effects: themeCompartment.reconfigure(themeExtension()),
});
}
});
watch(
() => props.language,
() => {
if (view) {
view.dispatch({
effects: languageCompartment.reconfigure(
resolveLanguage(props.language ?? 'plain'),
),
});
}
},
);
watch(() => props.value, (newVal) => {
if (!view) {
return;
}
const current = view.state.doc.toString();
if (newVal !== current) {
view.dispatch({
changes: {
from: 0,
to: view.state.doc.length,
insert: newVal,
},
});
}
});
const { copy, isJustCopied } = useCopy({ source: value, createToast: false });
const tooltipText = computed(() => isJustCopied.value ? t('textareaCopyable.copied') : copyMessage.value);
const valueBase64 = computed(() => Base64.encode(value.value));
const { download } = useDownloadFileFromBase64(
{
source: valueBase64,
filename: downloadFileName,
});
</script>
<template>
<div style="overflow-x: hidden; width: 100%">
<c-card
relative
:style="copyPlacement === 'top-right' ? 'padding-top: 50px' : (copyPlacement === 'bottom-right' ? 'padding-bottom: 50px' : '')"
>
<div
v-if="value && copyPlacement !== 'none'"
absolute right-10px
:class="copyPlacement === 'top-right' ? 'top-10px' : (copyPlacement === 'bottom-right' ? 'bottom-10px' : '')"
style="z-index: 10; background: var(--bg-color); border-radius: 50%; padding: 2px;"
>
<c-tooltip v-if="value && copyPlacement !== 'outside'" :tooltip="tooltipText" position="left">
<c-button circle important:h-10 important:w-10 @click="copy()">
<n-icon size="22" :component="Copy" />
</c-button>
</c-tooltip>
</div>
<div class="code-block">
<div class="code-block__editor-wrapper" :style="{ maxHeight: maxHeightStyle }">
<div ref="editorRoot" class="code-block__editor" />
</div>
</div>
</c-card>
<div v-if="copyPlacement === 'outside'" mt-4 flex justify-center>
<c-button @click="copy()">
{{ tooltipText }}
</c-button>
</div>
<div v-if="downloadFileName !== '' && value !== ''" mt-5 flex justify-center>
<c-button secondary @click="download">
{{ downloadButtonText }}
</c-button>
</div>
</div>
</template>
<style scoped>
.code-block {
border-radius: 6px;
overflow: hidden;
border: 1px solid #2d2d2d;
font-size: 13px;
}
.code-block__toolbar {
display: flex;
justify-content: flex-end;
padding: 4px 8px;
background: #111;
border-bottom: 1px solid #2d2d2d;
}
.code-block__copy {
cursor: pointer;
border: none;
background: #2d2d2d;
color: #f5f5f5;
padding: 2px 8px;
border-radius: 4px;
font-size: 12px;
}
.code-block__editor-wrapper {
overflow: auto;
}
.code-block__editor .cm-editor {
height: auto;
min-height: 100%;
}
</style>
+24 -9
View File
@@ -139,8 +139,10 @@ const themeVars = useThemeVars();
</script>
<template>
<div class="top-controls" mb-12px ml-12px>
<c-button :disabled="isToggling" @click="toggleAllCategories">
<!-- Full width: the label changes between expand/collapse, and a
hug-content button would jump in width on every toggle -->
<div class="top-controls" mb-12px mx-12px>
<c-button w-full :disabled="isToggling" @click="toggleAllCategories">
<span v-if="isToggling">
{{ areAllCollapsed ? $t('collapsibleToolMenu.text.expanding') : $t('collapsibleToolMenu.text.collapsing') }}
</span>
@@ -198,9 +200,12 @@ const themeVars = useThemeVars();
text-align: left;
user-select: none;
&:hover {
background-color: v-bind('themeVars.buttonColor2Hover');
opacity: 0.8;
// Hover only on hover-capable devices; on touch it sticks after tapping
@media (hover: hover) {
&:hover {
background-color: v-bind('themeVars.buttonColor2Hover');
opacity: 0.8;
}
}
&.category-active {
@@ -208,12 +213,20 @@ const themeVars = useThemeVars();
opacity: 1;
color: white;
&:hover {
background-color: color-mix(in srgb, v-bind('themeVars.primaryColorHover') 50%, transparent);
@media (hover: hover) {
&:hover {
background-color: color-mix(in srgb, v-bind('themeVars.primaryColorHover') 50%, transparent);
}
}
}
}
.category-container {
// Offscreen categories skip layout and paint entirely, which keeps the sider
// width transition and expand/collapse animations from re-laying-out all ~460
// menu items on every frame.
content-visibility: auto;
contain-intrinsic-size: auto 36px;
.menu-container {
display: grid;
grid-template-rows: 1fr;
@@ -258,8 +271,10 @@ const themeVars = useThemeVars();
left: 14px;
}
&:hover {
opacity: 0.5;
@media (hover: hover) {
&:hover {
opacity: 0.5;
}
}
}
}
+4 -2
View File
@@ -48,8 +48,10 @@ const { icon, title } = toRefs(props);
font-weight: bold;
transition: color ease 0.2s;
&:hover {
color: rgb(20, 20, 20);
@media (hover: hover) {
&:hover {
color: rgb(20, 20, 20);
}
}
}
}
+9 -5
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import _ from 'lodash';
import * as _ from 'es-toolkit/compat';
import { Base64 } from 'js-base64';
import type { UseValidationRule } from '@/composable/validation';
import CInputText from '@/ui/c-input-text/c-input-text.vue';
@@ -197,10 +197,14 @@ const { download } = useDownloadFileFromBase64(
</CInputText>
<div overflow-auto>
<div mb-5px>
{{ outputLabel }}
</div>
<textarea-copyable :value="output" :language="outputLanguage" :follow-height-of="inputElement?.inputWrapperRef" />
<n-tabs type="line">
<n-tab-pane name="output" :tab="outputLabel">
<textarea-copyable :value="output" :language="outputLanguage" :follow-height-of="inputElement?.inputWrapperRef" />
</n-tab-pane>
<n-tab-pane name="editable" :tab="t('formatTransformer.viewer')">
<CodeBlockCopyable :value="output" :language="outputLanguage" />
</n-tab-pane>
</n-tabs>
<div v-if="downloadFileName !== '' && output !== ''" mt-5 flex justify-center>
<c-button secondary @click="download">
+14 -14
View File
@@ -4,27 +4,27 @@ import { useCopy } from '@/composable/copy';
import { translate as t } from '@/plugins/i18n.plugin';
const props = defineProps<{
value: string
multiline?: boolean
rows?: number | string
autosize?: boolean
readonly?: boolean
value?: string | number | boolean | null;
multiline?: boolean;
rows?: number | string;
autosize?: boolean;
readonly?: boolean;
}>();
const emit = defineEmits(['update:value']);
const value = useVModel(props, 'value', emit);
const rawValue = useVModel(props, 'value', emit);
const value = computed({
get: () => String(rawValue.value ?? ''),
set: (newValue: string) => {
rawValue.value = newValue;
},
});
const { copy, isJustCopied } = useCopy({ source: value, createToast: false });
const tooltipText = computed(() => isJustCopied.value ? t('inputCopyable.copied') : t('inputCopyable.copy'));
const tooltipText = computed(() => (isJustCopied.value ? t('inputCopyable.copied') : t('inputCopyable.copy')));
</script>
<template>
<c-input-text
v-model:value="value"
:multiline="multiline"
:rows="rows"
:autosize="autosize"
:readonly="readonly"
>
<c-input-text v-model:value="value" :multiline="multiline" :rows="rows" :autosize="autosize" :readonly="readonly">
<template #suffix>
<c-tooltip :tooltip="tooltipText">
<c-button circle variant="text" size="small" @click="copy()">
+108 -18
View File
@@ -1,6 +1,8 @@
<script setup lang="ts">
import { useThemeVars } from 'naive-ui';
import { useStyleStore } from '@/stores/style.store';
const themeVars = useThemeVars();
const styleStore = useStyleStore();
const { isMenuCollapsed, isSmallScreen } = toRefs(styleStore);
const siderPosition = computed(() => (isSmallScreen.value ? 'absolute' : 'static'));
@@ -23,16 +25,41 @@ onUnmounted(() => {
window.removeEventListener('resize', updateWindowWidth);
});
// Calculate the actual width to ensure minimum width is respected
const siderWidth = computed(() => {
if (isMenuCollapsed.value) {
return 0;
}
// Use 12.5% of window width, but ensure it's at least 240px
const siderContentWidth = computed(() => Math.max(240, windowWidth.value * 0.125));
// Use 12.5% of window width, but ensure it's at least 240px
const tenPercent = windowWidth.value * 0.125;
return Math.max(240, tenPercent);
// Small screens: the menu is a full-width panel below the top bar that fades
// in/out (see styles below) instead of naive-ui's width-collapse, which
// re-lays-out the page on every animation frame.
const siderWidth = computed(() => {
if (isSmallScreen.value) {
return windowWidth.value;
}
return isMenuCollapsed.value ? 0 : siderContentWidth.value;
});
const siderCollapsed = computed(() => (isSmallScreen.value ? false : isMenuCollapsed.value));
const isDrawerOpen = computed(() => isSmallScreen.value && !isMenuCollapsed.value);
// Native-drawer touch: lock the page scroll while the drawer is open
watchEffect(() => {
document.body.style.overflow = isDrawerOpen.value ? 'hidden' : '';
});
// Close the menu when navigating (tool links, the about button, ...) so the
// destination page is visible.
const route = useRoute();
watch(() => route.path, () => {
if (isSmallScreen.value) {
isMenuCollapsed.value = true;
}
});
onUnmounted(() => {
document.body.style.overflow = '';
});
// The scroll container is pinned to the expanded width so the sider width
// transition clips the menu instead of re-wrapping every item on each frame.
const siderContentWidthPx = computed(() => `${siderContentWidth.value}px`);
</script>
<template>
@@ -42,39 +69,102 @@ const siderWidth = computed(() => {
collapse-mode="width"
:collapsed-width="0"
:width="siderWidth"
:collapsed="isMenuCollapsed"
:collapsed="siderCollapsed"
:show-trigger="false"
:native-scrollbar="false"
:position="siderPosition"
:class="{ 'drawer-open': isDrawerOpen }"
>
<slot name="sider" />
</n-layout-sider>
<n-layout class="content">
<slot name="content" />
<div v-show="isSmallScreen && !isMenuCollapsed" class="overlay" @click="isMenuCollapsed = true" />
</n-layout>
</n-layout>
</template>
<style lang="less" scoped>
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #00000080;
cursor: pointer;
.n-layout-sider {
// With :native-scrollbar="false" the sider content lives in an n-scrollbar.
::v-deep(.n-scrollbar-content) {
width: v-bind(siderContentWidthPx);
}
}
.content {
// background-color: #f1f5f9;
::v-deep(.n-layout-scroll-container) {
padding: 26px;
// Same breakpoint as styleStore.isSmallScreen
@media (max-width: 700px) {
padding: 13px;
}
}
}
// The document is the app's scroller: layouts grow with their content instead
// of scrolling in a nested container. A single scrollbar, and native behaviors
// (iOS tap-status-bar-to-scroll-to-top, toolbar collapsing) just work.
.n-layout {
height: auto;
min-height: 100vh;
min-height: 100dvh;
overflow: visible;
::v-deep(> .n-layout-scroll-container) {
height: auto;
min-height: 100vh;
min-height: 100dvh;
overflow: visible;
}
}
// The sider keeps its own internal menu scrollbar, pinned to the viewport
// while the document scrolls.
.n-layout-sider {
position: sticky;
top: 0;
align-self: flex-start;
height: 100vh;
height: 100dvh;
// Small screens: full-width panel fixed below the always-visible top bar
// (height exposed by base.layout.vue), fading in/out quickly. Seamless with
// the page: same background as the app, no side border.
&.n-layout-sider--absolute-positioned {
position: fixed;
top: var(--app-topbar-height, 56px);
bottom: auto;
height: calc(100dvh - var(--app-topbar-height, 56px));
z-index: 15;
background-color: v-bind('themeVars.bodyColor');
opacity: 0;
visibility: hidden;
transition:
opacity 0.2s ease,
visibility 0s 0.2s;
&.drawer-open {
opacity: 1;
visibility: visible;
transition: opacity 0.2s ease;
}
// Full-width menu content instead of the pinned desktop width
::v-deep(.n-scrollbar-content) {
width: 100%;
}
// The menu's own scroll shouldn't chain to the page behind it
::v-deep(.n-scrollbar-container) {
overscroll-behavior: contain;
}
// No side border on a full-width panel
::v-deep(.n-layout-sider__border) {
display: none;
}
}
}
</style>
+101 -8
View File
@@ -1,9 +1,96 @@
<script setup lang="ts">
import { IconBrandGithub, IconInfoCircle, IconMoon, IconSun } from '@tabler/icons-vue';
import type { Component } from 'vue';
import { NIcon, useThemeVars } from 'naive-ui';
import IconBrandGithub from '~icons/tabler/brand-github';
import IconCheck from '~icons/tabler/check';
import IconDeviceDesktop from '~icons/tabler/device-desktop';
import IconInfoCircle from '~icons/tabler/info-circle';
import IconLanguage from '~icons/tabler/language';
import IconMoon from '~icons/tabler/moon';
import IconSun from '~icons/tabler/sun';
import { appLocales } from '@/plugins/i18n.plugin';
import { useStyleStore } from '@/stores/style.store';
const styleStore = useStyleStore();
const { isDarkTheme } = toRefs(styleStore);
const { isDarkTheme, themeMode } = toRefs(styleStore);
const themeVars = useThemeVars();
const { locale, t } = useI18n();
const localesLong: Record<string, string> = {
en: 'English',
de: 'Deutsch',
da: 'Dansk',
es: 'Español',
fr: 'Français',
ga: 'Gaeilge',
it: 'Italiano',
nl: 'Nederlands',
no: 'Norwegian',
pl: 'Polski',
pt: 'Português',
ru: 'Русский',
tr: 'Türkçe',
el: 'ελληνικά',
uk: 'Українська',
ko: '한국인',
zh: '中文',
vi: 'Tiếng Việt',
ar: 'عربي',
hi: 'हिन्दी',
};
function renderIcon(icon: Component) {
return () => h(NIcon, null, { default: () => h(icon) });
}
function optionLabel(text: string, isActive: boolean) {
return () => h('span', { style: isActive ? { color: themeVars.value.primaryColor } : {} }, text);
}
const languageOptions = computed(() =>
appLocales.map((availableLocale) => ({
key: availableLocale,
label: optionLabel(localesLong[availableLocale] ?? availableLocale, availableLocale === locale.value),
icon: availableLocale === locale.value ? renderIcon(IconCheck) : undefined,
})),
);
function onLanguageSelect(key: string) {
locale.value = key;
}
const themeOptions = computed(() => [
{
key: 'auto',
label: optionLabel(t('home.nav.themeSystem', 'System'), themeMode.value === 'auto'),
icon: renderIcon(IconDeviceDesktop),
},
{
key: 'light',
label: optionLabel(t('home.nav.themeLight', 'Light'), themeMode.value === 'light'),
icon: renderIcon(IconSun),
},
{
key: 'dark',
label: optionLabel(t('home.nav.themeDark', 'Dark'), themeMode.value === 'dark'),
icon: renderIcon(IconMoon),
},
]);
const themeTriggerIcon = computed(() => (isDarkTheme.value ? IconMoon : IconSun));
function onThemeSelect(key: 'auto' | 'light' | 'dark') {
styleStore.themeMode = key;
}
// The mobile menu closes on navigation (MenuLayout watches the route), but
// clicking About while already on /about doesn't navigate — close explicitly.
function closeMenuOnSmallScreen() {
if (styleStore.isSmallScreen) {
styleStore.isMenuCollapsed = true;
}
}
</script>
<template>
@@ -21,16 +108,22 @@ const { isDarkTheme } = toRefs(styleStore);
</c-tooltip>
<c-tooltip :tooltip="$t('home.nav.about')" position="bottom">
<c-button circle variant="text" to="/about" :aria-label="$t('home.nav.aboutLabel')">
<c-button circle variant="text" to="/about" :aria-label="$t('home.nav.aboutLabel')" @click="closeMenuOnSmallScreen">
<n-icon size="25" :component="IconInfoCircle" />
</c-button>
</c-tooltip>
<c-tooltip :tooltip="isDarkTheme ? $t('home.nav.lightMode') : $t('home.nav.darkMode')" position="bottom">
<c-button circle variant="text" :aria-label="$t('home.nav.mode')" @click="() => styleStore.toggleDark()">
<n-icon v-if="isDarkTheme" size="25" :component="IconSun" />
<n-icon v-else size="25" :component="IconMoon" />
<n-dropdown :options="themeOptions" trigger="click" @select="onThemeSelect">
<c-button circle variant="text" :aria-label="t('home.nav.mode')">
<n-icon size="25" :component="themeTriggerIcon" />
</c-button>
</c-tooltip>
</n-dropdown>
<n-dropdown :options="languageOptions" trigger="click" @select="onLanguageSelect">
<c-button circle variant="text" :aria-label="t('home.nav.language', 'Language')">
<n-icon size="25" :component="IconLanguage" />
</c-button>
</n-dropdown>
</template>
<style lang="less" scoped>
+1 -1
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { Copy } from '@vicons/tabler';
import Copy from '~icons/tabler/copy';
import { useElementSize } from '@vueuse/core';
import hljs from 'highlight.js/lib/core';
import jsonHljs from 'highlight.js/lib/languages/json';
+1 -1
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { World } from '@vicons/tabler';
import World from '~icons/tabler/world';
import { useThemeVars } from 'naive-ui';
import FavoriteButton from './FavoriteButton.vue';
import type { Tool } from '@/tools/tools.types';
+40 -47
View File
@@ -1,19 +1,21 @@
<script setup lang="ts">
import _ from 'lodash';
import convert, { type Unit } from 'convert';
import * as unitsconverter from 'units-converter';
const props = withDefaults(defineProps<{
supportedUnits: { [key: string]: string }
defaultUnit: string
labelWidth?: string
unitMinWidth?: string
converterType: 'convert' | 'frequency' | 'volumeFlowRate' | 'speed' | 'acceleration'
}>(), {
labelWidth: '150px',
unitMinWidth: '50px',
converterType: 'convert',
});
const props = withDefaults(
defineProps<{
supportedUnits: { [key: string]: string };
defaultUnit: string;
labelWidth?: string;
unitMinWidth?: string;
converterType?: 'convert' | 'frequency' | 'volumeFlowRate' | 'speed' | 'acceleration';
}>(),
{
labelWidth: '150px',
unitMinWidth: '50px',
converterType: 'convert',
},
);
const { supportedUnits, defaultUnit, labelWidth, unitMinWidth, converterType } = toRefs(props);
const SI_PREFIX_NAMES = [
@@ -45,19 +47,21 @@ const SI_PREFIX_NAMES = [
const SI_PREFIX_NAMES_REGEX = new RegExp(`^(${SI_PREFIX_NAMES.join('|')})`);
const units = reactive<
Record<
string,
{ title: string; unit: string; ref: number }
>
>(Object.entries(supportedUnits.value).map(([key, label]) => ({
title: label,
unit: key,
ref: 1,
})).reduce((prev, current) => ({
const units = reactive<Record<string, { title: string; unit: string; ref: number }>>(
Object.entries(supportedUnits.value)
.map(([key, label]) => ({
title: label,
unit: key,
ref: 1,
}))
.reduce(
(prev, current) => ({
...prev,
[current.unit]: current,
}), {}));
}),
{},
),
);
const excludeSIPrefixes = ref(true);
const filteredUnits = computed(() => {
@@ -65,9 +69,7 @@ const filteredUnits = computed(() => {
return Object.entries(units);
}
return Object.entries(units).filter(
([_, { title }]) => !SI_PREFIX_NAMES_REGEX.test(title),
);
return Object.entries(units).filter(([_, { title }]) => !SI_PREFIX_NAMES_REGEX.test(title));
});
function update(key: string) {
@@ -79,19 +81,16 @@ function update(key: string) {
if (converterType.value === 'convert') {
const converter = convert(value, key as Unit);
_.chain(units)
.omit(key)
.forEach(({ unit }) => {
Object.entries(units)
.filter(([unitKey]) => unitKey !== key)
.forEach(([, { unit }]) => {
try {
units[unit].ref = converter.to(unit as Unit);
}
catch (e: any) {
} catch (e: any) {
units[unit].ref = 0;
}
})
.value();
}
else {
});
} else {
const mapUnit = (unit: string) => {
// npm units-converter uses wrong symbol for miles per hour, so we need to fix it
if (converterType.value === 'speed' && unit === 'mi/h') {
@@ -101,17 +100,15 @@ function update(key: string) {
};
const converter = unitsconverter[converterType.value](value).from(mapUnit(key));
_.chain(units)
.omit(mapUnit(key))
.forEach(({ unit }) => {
Object.entries(units)
.filter(([unitKey]) => unitKey !== mapUnit(key))
.forEach(([, { unit }]) => {
try {
units[unit].ref = converter.to(mapUnit(unit)).value;
}
catch (e: any) {
} catch (e: any) {
units[unit].ref = 0;
}
})
.value();
});
}
}
@@ -133,11 +130,7 @@ update(defaultUnit.value);
{{ title }}
</n-input-group-label>
<n-input-number
v-model:value="units[key].ref"
style="flex: 1"
@update:value="() => update(key)"
/>
<n-input-number v-model:value="units[key].ref" style="flex: 1" @update:value="() => update(key)" />
<n-input-group-label :style="{ minWidth: unitMinWidth }">
{{ unit }}
+1 -1
View File
@@ -1,4 +1,4 @@
import _ from 'lodash';
import * as _ from 'es-toolkit/compat';
function useDebouncedRef<T>(initialValue: T, delay: number, immediate: boolean = false) {
const state = ref(initialValue);
+1 -1
View File
@@ -1,6 +1,6 @@
import { extension as getExtensionFromMimeType, extension as getMimeTypeFromExtension } from 'mime-types';
import type { MaybeRef, Ref } from 'vue';
import _ from 'lodash';
import * as _ from 'es-toolkit/compat';
import { get } from '@vueuse/core';
export {
+20 -20
View File
@@ -1,5 +1,5 @@
import { type MaybeRef, get } from '@vueuse/core';
import { computed, ref } from 'vue';
import { type Ref, computed, ref } from 'vue';
import FlexSearch from 'flexsearch';
// Define key types to match Fuse.js format
@@ -13,20 +13,20 @@ export function useFlexSearch<Data extends Record<string, any>>({
},
limit = -1,
}: {
search: MaybeRef<string>
data: Data[]
search: MaybeRef<string>;
data: Data[];
options?: {
keys: SearchKey[]
keys: SearchKey[];
/**
* Whether to show or not show items with an empty search query. `true` won't show any items, `false` will show all items.
* @default true
*/
filterEmpty?: boolean
filterEmpty?: boolean;
/**
* Whether the results should be sorted by similarity score using the Levenshtein distance.
* @default true
*/
shouldSort?: boolean
shouldSort?: boolean;
/**
* Type of tokenization logic to use (Determines how the search logic will behave).
* @default 'forward'
@@ -34,23 +34,23 @@ export function useFlexSearch<Data extends Record<string, any>>({
*
* Note: The `'tolerant'` tokenizer option mentioned in the documentation doesn't exist anymore in the current version of FlexSearch.
*/
tokenize?: 'strict' | 'forward' | 'reverse' | 'full'
tokenize?: 'strict' | 'forward' | 'reverse' | 'full';
/**
* Resolution value for giving meaningful results when searching for partial matches.
* @default 9
* @see {@link https://github.com/nextapps-de/flexsearch?tab=readme-ov-file#resolution | FlexSearch Resolution Documentation}
*/
resolution?: number
optimize?: boolean
resolution?: number;
optimize?: boolean;
/**
* Value to determine if the cache should be used.
* If set to a number, the cache will use the number to assign that number of cache slots (No information in the documentation is provided about what a cache slot is exactly).
* @default false
* @see {@link https://github.com/nextapps-de/flexsearch?tab=readme-ov-file#auto-balanced-cache-by-popularity | FlexSearch Cache Documentation}
*/
cache?: boolean | number
}
limit?: MaybeRef<number>
cache?: boolean | number;
};
limit?: MaybeRef<number>;
}) {
// Extract options
const { keys, filterEmpty = true, shouldSort = true, tokenize = 'forward', ...indexOptions } = options;
@@ -67,7 +67,7 @@ export function useFlexSearch<Data extends Record<string, any>>({
const getItemKey = (item: Data, idx: number) => (item.id !== undefined ? item.id : idx);
// Map to store original data items by unique key
const dataMap = ref(new Map<any, Data>());
const dataMap = ref(new Map<any, Data>()) as Ref<Map<any, Data>>;
// Create separate indices for each key with weight info
const indices = normalizedKeys.map(({ name, weight }) => ({
@@ -156,7 +156,7 @@ export function useFlexSearch<Data extends Record<string, any>>({
const current = weightedResults.get(id) || { score: 0, maxWeight: 0 };
// Use the maximum weight among matching fields as the primary score
// Add a small bonus for additional field matches
const newScore = Math.max(current.score, weight * 100) + (weight * 10);
const newScore = Math.max(current.score, weight * 100) + weight * 10;
const newMaxWeight = Math.max(current.maxWeight, weight);
weightedResults.set(id, {
@@ -180,14 +180,14 @@ export function useFlexSearch<Data extends Record<string, any>>({
// If shouldn't be sorted by similarity, apply limit here and return early
if (!shouldSort) {
const limitedIds = searchLimit > 0 ? sortedIds.slice(0, searchLimit) : sortedIds;
return limitedIds
.map(id => dataMap.value.get(id))
.filter(Boolean) as Data[];
return limitedIds.map((id) => dataMap.value.get(id)).filter(Boolean) as Data[];
}
// Calculate Levenshtein distance
const levenshteinDistance = (str1: string, str2: string): number => {
const matrix = Array(str2.length + 1).fill(null).map(() => Array(str1.length + 1).fill(null));
const matrix = Array(str2.length + 1)
.fill(null)
.map(() => Array(str1.length + 1).fill(null));
for (let i = 0; i <= str1.length; i++) {
matrix[0][i] = i;
@@ -218,7 +218,7 @@ export function useFlexSearch<Data extends Record<string, any>>({
}
const distance = levenshteinDistance(str1.toLowerCase(), str2.toLowerCase());
return 1 - (distance / maxLength);
return 1 - distance / maxLength;
};
// Sort ALL results by similarity score, then apply limit at the end
@@ -260,7 +260,7 @@ export function useFlexSearch<Data extends Record<string, any>>({
}
return b!.similarity - a!.similarity;
})
.map(result => result!.item);
.map((result) => result!.item);
// Apply limit after final sorting
return searchLimit > 0 ? sortedResults.slice(0, searchLimit) : sortedResults;
+1 -1
View File
@@ -1,5 +1,5 @@
import { type MaybeRef, get } from '@vueuse/core';
import _ from 'lodash';
import * as _ from 'es-toolkit/compat';
import { type Ref, reactive, watch } from 'vue';
type ValidatorReturnType = unknown;
+66 -11
View File
@@ -1,5 +1,7 @@
<script lang="ts" setup>
import { Coffee, Home2, Menu2 } from '@vicons/tabler';
import Coffee from '~icons/tabler/coffee';
import Home2 from '~icons/tabler/home-2';
import Menu2 from '~icons/tabler/menu-2';
import { NIcon, useThemeVars } from 'naive-ui';
import { storeToRefs } from 'pinia';
import { RouterLink } from 'vue-router';
@@ -17,6 +19,14 @@ const styleStore = useStyleStore();
const version = config.app.version;
const commitSha = config.app.lastCommitSha.slice(0, 7);
// Expose the navbar height so the mobile menu (MenuLayout.vue) can position
// itself right under the always-visible top bar.
const navbarRef = ref<HTMLElement | null>(null);
const { height: navbarHeight } = useElementSize(navbarRef, undefined, { box: 'border-box' });
watchEffect(() => {
document.documentElement.style.setProperty('--app-topbar-height', `${Math.round(navbarHeight.value)}px`);
});
const { t } = useI18n();
const toolStore = useToolStore();
@@ -45,12 +55,8 @@ const tools = computed<ToolCategory[]>(() => [
</RouterLink>
<div class="sider-content">
<div v-if="styleStore.isSmallScreen" flex flex-col items-center>
<locale-selector w="90%" />
<div flex justify-center>
<NavbarButtons />
</div>
<div v-if="styleStore.isSmallScreen" mb-24px flex justify-center>
<NavbarButtons />
</div>
<CollapsibleToolMenu :tools-by-category="tools" />
@@ -86,7 +92,7 @@ const tools = computed<ToolCategory[]>(() => [
</template>
<template #content>
<div flex items-center justify-center gap-2>
<div ref="navbarRef" class="navbar" flex items-center justify-center gap-2>
<c-button
circle
variant="text"
@@ -110,8 +116,6 @@ const tools = computed<ToolCategory[]>(() => [
<command-palette />
<locale-selector v-if="!styleStore.isSmallScreen" />
<div>
<NavbarButtons v-if="!styleStore.isSmallScreen" />
</div>
@@ -130,7 +134,11 @@ const tools = computed<ToolCategory[]>(() => [
</c-button>
</c-tooltip>
</div>
<slot />
<!-- Positioned wrapper so the route-change loading overlay (see router.ts)
can cover just the page, leaving the nav bar and menu visible. -->
<div class="page-content">
<slot />
</div>
</template>
</MenuLayout>
</template>
@@ -170,6 +178,30 @@ const tools = computed<ToolCategory[]>(() => [
.sider-content {
padding-top: 20px;
padding-bottom: 50px;
@media (max-width: 700px) {
// The hero block above provides the symmetric 24px gap
padding-top: 0;
}
}
.page-content {
position: relative;
}
// Mobile: the top bar stays visible while scrolling, and the full-width menu
// (see MenuLayout.vue) opens right under it.
.navbar {
@media (max-width: 700px) {
position: sticky;
top: 0;
z-index: 20;
// Bleed over the scroll container's 13px padding so content scrolls
// under an opaque, full-width bar.
margin: -13px -13px 13px;
padding: 13px;
background-color: v-bind('themeVars.bodyColor');
}
}
.hero-wrapper {
@@ -216,5 +248,28 @@ const tools = computed<ToolCategory[]>(() => [
font-size: 16px;
}
}
// Mobile: seamless full-width menu — no green hero gradient, text follows
// the theme, and the header scrolls with the menu. Placed after the base
// rules above so these override them (same specificity, later source order).
@media (max-width: 700px) {
position: static;
height: auto;
// Symmetric spacing above and below the title block (sider-content's
// top padding is removed on mobile to keep the bottom gap equal)
padding: 24px 0;
// The hero is a router link; keep the plain-text look without the gradient
text-decoration: none;
.gradient {
display: none;
}
.text-wrapper {
position: static;
padding-top: 0;
color: v-bind('themeVars.textColor1');
}
}
}
</style>
+28 -34
View File
@@ -1,10 +1,14 @@
<script lang="ts" setup>
import { DeviceDesktop, World } from '@vicons/tabler';
import DeviceDesktop from '~icons/tabler/device-desktop';
import World from '~icons/tabler/world';
import { useRoute } from 'vue-router';
import { useHead } from '@vueuse/head';
import type { HeadObject } from '@vueuse/head';
import VueMarkdown from 'vue-markdown-render';
// Async: keeps markdown-it (~50 KB gzip with its dependency tree) out of the
// startup bundle; it loads with the first tool page instead.
const VueMarkdown = defineAsyncComponent(() => import('vue-markdown-render'));
import { useThemeVars } from 'naive-ui';
import { useTheme } from '../ui/c-link/c-link.theme';
@@ -65,13 +69,13 @@ const toolFooter = computed<string>(() => {
if (footer === 'undefined') {
footer = '';
}
const npmPackages = (route.meta.npmPackages as string[] || [])
.map(
packageName => createLink(
packageName,
packageName.includes('://') ? packageName : `https://www.npmjs.com/package/${packageName}`),
);
return ((npmPackages.length > 0 ? `${t('tools.tool.layout.text.made-with-npmpackages', [npmPackages.join(', ')])}\n` : '') + footer).trim();
const npmPackages = ((route.meta.npmPackages as string[]) || []).map((packageName) =>
createLink(packageName, packageName.includes('://') ? packageName : `https://www.npmjs.com/package/${packageName}`),
);
return (
(npmPackages.length > 0 ? `${t('tools.tool.layout.text.made-with-npmpackages', [npmPackages.join(', ')])}\n` : '') +
footer
).trim();
});
const themeVars = useThemeVars();
@@ -85,24 +89,14 @@ const linkTheme = useTheme();
<div flex flex-nowrap items-center justify-between>
<n-h1>
{{ toolTitle }}
<n-tooltip
placement="right"
trigger="click"
content-class="tool-privacy-info"
>
<n-tooltip placement="right" trigger="click" content-class="tool-privacy-info">
<template #trigger>
<World
v-if="route.meta.externAccessDescription"
class="tool-privacy-icon"
/>
<DeviceDesktop
v-else
class="tool-privacy-icon"
/>
<World v-if="route.meta.externAccessDescription" class="tool-privacy-icon" />
<DeviceDesktop v-else class="tool-privacy-icon" />
</template>
<VueMarkdown
v-if="route.meta.externAccessDescription"
:source="route.meta.externAccessDescription"
:source="route.meta.externAccessDescription as string"
:options="{ linkify: true }"
/>
<template v-else>
@@ -139,7 +133,7 @@ const linkTheme = useTheme();
<style lang="less">
.tool-privacy-info {
p {
margin:0;
margin: 0;
}
a {
color: inherit !important;
@@ -151,7 +145,7 @@ const linkTheme = useTheme();
<style lang="less" scoped>
.tool-privacy-icon {
display: inline-block;
height: .6em;
height: 0.6em;
}
.tool-content {
display: flex;
@@ -164,7 +158,7 @@ const linkTheme = useTheme();
::v-deep(& > *) {
flex: 0 1 1200px;
min-width:0;
min-width: 0;
}
}
@@ -186,7 +180,7 @@ const linkTheme = useTheme();
}
.separator {
width:'100%';
width: '100%';
height: 2px;
background: rgb(161, 161, 161);
opacity: 0.2;
@@ -202,15 +196,15 @@ const linkTheme = useTheme();
}
}
.tool-footer {
opacity: 0.7;
font-size: 12px;
text-align: center;
opacity: 0.7;
font-size: 12px;
text-align: center;
::v-deep(a) {
color: v-bind('themeVars.textColor1');
font-style: italic;
}
::v-deep(a) {
color: v-bind('themeVars.textColor1');
font-style: italic;
}
}
::v-deep(.external-tool) a {
line-height: inherit;
font-family: inherit;
+6 -17
View File
@@ -1,15 +1,12 @@
import { createApp } from 'vue';
import { createPinia } from 'pinia';
import { createHead } from '@vueuse/head';
import { library } from '@fortawesome/fontawesome-svg-core';
import { fas } from '@fortawesome/free-solid-svg-icons';
import { LoadingPlugin } from 'vue-loading-overlay';
import { installAbortSignalPolyfill } from 'abort-signal-polyfill';
import { registerSW } from 'virtual:pwa-register';
import shadow from 'vue-shadow-dom';
import { hideSplashScreen } from 'vite-plugin-splash-screen/runtime';
import { plausible } from './plugins/plausible.plugin';
import '@/utils/json5-bigint';
import '@/utils/json5-bignum';
@@ -21,32 +18,26 @@ import { naive } from './plugins/naive.plugin';
import App from './App.vue';
import router from './router';
import { i18nPlugin } from './plugins/i18n.plugin';
import { toolsSettings } from './tools-settings';
import store from './tools/pomodoro-timer/app/store';
window.addEventListener('vite:preloadError', (event: Event) => {
console.error('Vite preload error, forcing page reload:', event);
event.preventDefault(); // Prevent the original error from being thrown again
window.location.reload();
// Deferred: Firefox also fires this event for preloads cancelled by a user
// navigation, and an immediate reload would race (and abort) that navigation.
// If the page is really navigating away, its timers die with it and no reload
// happens; on a genuine chunk-load failure the reload still runs.
setTimeout(() => window.location.reload(), 100);
});
installAbortSignalPolyfill();
library.add(fas);
registerSW();
const app = createApp(App);
const base = import.meta.env.BASE_URL ?? '/';
let toolsSettings: Record<string, Record<string, any> | any> = {};
try {
const remoteSettingsResponse = await fetch(`${base}tools-settings.json`);
if (remoteSettingsResponse.ok) {
toolsSettings = (await remoteSettingsResponse.json()) as Record<string, Record<string, any> | any>;
}
}
catch {}
app.config.globalProperties.$itToolsSettings = toolsSettings;
app.use(LoadingPlugin);
@@ -60,5 +51,3 @@ app.use(shadow);
app.use(store, 'pomodoro-store');
app.mount('#app');
hideSplashScreen();
@@ -1,5 +1,5 @@
import { defineStore } from 'pinia';
import _ from 'lodash';
import * as _ from 'es-toolkit/compat';
import type { PaletteOption } from './command-palette.types';
import { useToolStore } from '@/tools/tools.store';
import { useStyleStore } from '@/stores/style.store';
@@ -83,7 +83,10 @@ export const useCommandPaletteStore = defineStore('command-palette', () => {
});
const filteredSearchResult = computed(() =>
_.chain(searchResult.value).groupBy('category').mapValues(categoryOptions => _.take(categoryOptions, maxSearchResultsPerCategory)).value());
_.mapValues(
_.groupBy(searchResult.value, option => option.category),
categoryOptions => categoryOptions.slice(0, maxSearchResultsPerCategory),
));
return {
filteredSearchResult,
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { storeToRefs } from 'pinia';
import _ from 'lodash';
import * as _ from 'es-toolkit/compat';
import { useCommandPaletteStore } from './command-palette.store';
import type { PaletteOption } from './command-palette.types';
@@ -50,7 +50,7 @@ function handleKeydown(event: KeyboardEvent) {
if (isArrowUpOrDown) {
const increment = isArrowDown ? 1 : -1;
const maxIndex = Math.max(_.chain(filteredSearchResult.value).values().flatten().size().value() - 1, 0);
const maxIndex = Math.max(Object.values(filteredSearchResult.value).flat().length - 1, 0);
selectedOptionIndex.value = Math.min(Math.max(selectedOptionIndex.value + increment, 0), maxIndex);
@@ -58,22 +58,16 @@ function handleKeydown(event: KeyboardEvent) {
}
if (isEnterPressed) {
const option = _.chain(filteredSearchResult.value)
.values()
.flatten()
.nth(selectedOptionIndex.value)
.value();
const option = Object.values(filteredSearchResult.value).flat()[selectedOptionIndex.value];
activateOption(option);
if (option) {
activateOption(option);
}
}
}
function getOptionIndex(option: PaletteOption) {
return _.chain(filteredSearchResult.value)
.values()
.flatten()
.findIndex(o => o === option)
.value();
return Object.values(filteredSearchResult.value).flat().findIndex(o => o === option);
}
function activateOption(option: PaletteOption) {
@@ -1,5 +1,6 @@
<script setup lang="ts">
import { DeviceDesktop, World } from '@vicons/tabler';
import DeviceDesktop from '~icons/tabler/device-desktop';
import World from '~icons/tabler/world';
import type { PaletteOption } from '../command-palette.types';
const props = withDefaults(defineProps<{ option: PaletteOption; selected?: boolean }>(), {
@@ -1,41 +0,0 @@
<script setup lang="ts">
const { availableLocales, locale, t } = useI18n();
const localesLong: Record<string, string> = {
en: 'English',
de: 'Deutsch',
da: 'Dansk',
es: 'Español',
fr: 'Français',
ga: 'Gaeilge',
it: 'Italiano',
nl: 'Nederlands',
no: 'Norwegian',
pl: 'Polski',
pt: 'Português',
ru: 'Русский',
tr: 'Türkçe',
el: 'ελληνικά',
uk: 'Українська',
ko: '한국인',
zh: '中文',
vi: 'Tiếng Việt',
ar: 'عربي',
};
const localeOptions = computed(() =>
availableLocales.map(locale => ({
label: localesLong[locale] ?? locale,
value: locale,
})),
);
</script>
<template>
<c-select
v-model:value="locale"
:options="localeOptions"
:placeholder="t('locale-selector.select-a-language')"
w-100px
/>
</template>
+1 -1
View File
@@ -1,4 +1,4 @@
import _ from 'lodash';
import * as _ from 'es-toolkit/compat';
import type Plausible from 'plausible-tracker';
import { inject } from 'vue';
+8 -9
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import _ from 'lodash';
import * as _ from 'es-toolkit/compat';
import { useHead } from '@vueuse/head';
import { useMessage } from 'naive-ui';
import { storeToRefs } from 'pinia';
@@ -9,7 +9,9 @@ const { t } = useI18n();
const toolStore = useToolStore();
const desc = t('about.text.collection-of-handy-online-tools-for-developers-with-great-ux-it-tools-is-a-free-and-open-source-collection-of-handy-online-tools-for-developers-and-people-working-in-it');
const desc = t(
'about.text.collection-of-handy-online-tools-for-developers-with-great-ux-it-tools-is-a-free-and-open-source-collection-of-handy-online-tools-for-developers-and-people-working-in-it',
);
const title = t('about.text.about-it-tools');
useHead({
title,
@@ -17,7 +19,7 @@ useHead({
{
itemprop: 'name',
content: title,
},
} as never,
{
property: 'og:title',
content: title,
@@ -33,7 +35,7 @@ useHead({
{
itemprop: 'description',
content: desc,
},
} as never,
{
property: 'og:description',
content: desc,
@@ -54,8 +56,7 @@ function importFavorites() {
try {
favoriteToolsName.value = JSON.parse(importFavoritesJson.value);
message.success(t('about.favorites-imported-successfully'));
}
catch (e: any) {
} catch (e: any) {
message.error(t('about.error-importing-favorites-e', [e]));
}
}
@@ -79,9 +80,7 @@ const favoritesJson = computed(() => JSON.stringify(favoriteToolsName.value));
</n-card>
<n-card :title="$t('about.export-favorites')" mx-auto mt-50px>
<textarea-copyable
v-model:value="favoritesJson"
/>
<textarea-copyable v-model:value="favoritesJson" />
</n-card>
<n-card :title="$t('about.alltools-title', { toolsCount: toolStore.tools.length })" mx-auto mt-50px>
+4 -1
View File
@@ -1,7 +1,10 @@
<script setup lang="ts">
import VueMarkdown from 'vue-markdown-render';
import { useTheme } from '../ui/c-link/c-link.theme';
// Async: keeps markdown-it out of the startup bundle; the renderer only loads on
// deployments that actually ship a home.custom.md.
const VueMarkdown = defineAsyncComponent(() => import('vue-markdown-render'));
const linkTheme = useTheme();
const homeCustomMarkdown = ref('');
+20 -11
View File
@@ -1,5 +1,6 @@
<script setup lang="ts">
import { IconDragDrop, IconHeart } from '@tabler/icons-vue';
import IconDragDrop from '~icons/tabler/drag-drop';
import IconHeart from '~icons/tabler/heart';
import { useHead } from '@vueuse/head';
import { computed, nextTick, onMounted, onUnmounted, ref } from 'vue';
import Draggable from 'vuedraggable';
@@ -12,7 +13,9 @@ import { config } from '@/config';
const { t } = useI18n();
const toolStore = useToolStore();
const desc = t('home.page.text.collection-of-handy-online-tools-for-developers-with-great-ux-it-tools-is-a-free-and-open-source-collection-of-handy-online-tools-for-developers-and-people-working-in-it');
const desc = t(
'home.page.text.collection-of-handy-online-tools-for-developers-with-great-ux-it-tools-is-a-free-and-open-source-collection-of-handy-online-tools-for-developers-and-people-working-in-it',
);
const title = t('home.page.text.it-tools-handy-online-tools-for-developers');
useHead({
@@ -21,7 +24,7 @@ useHead({
{
itemprop: 'name',
content: title,
},
} as never,
{
property: 'og:title',
content: title,
@@ -37,7 +40,7 @@ useHead({
{
itemprop: 'description',
content: desc,
},
} as never,
{
property: 'og:description',
content: desc,
@@ -87,10 +90,7 @@ const visibleTools = computed(() => {
// Function to load next batch
function loadNextBatch() {
if (visibleToolsCount.value < toolStore.tools.length) {
visibleToolsCount.value = Math.min(
visibleToolsCount.value + TOOLS_PER_BATCH,
toolStore.tools.length,
);
visibleToolsCount.value = Math.min(visibleToolsCount.value + TOOLS_PER_BATCH, toolStore.tools.length);
}
}
@@ -126,7 +126,7 @@ onUnmounted(() => {
</script>
<template>
<div class="pt-50px">
<div class="home-content pt-50px">
<div class="grid-wrapper">
<div class="grid grid-cols-1 gap-12px lg:grid-cols-3 md:grid-cols-3 sm:grid-cols-2 xl:grid-cols-4">
<ColoredCard v-if="config.showBanner" :title="$t('home.follow.title')" :icon="IconHeart">
@@ -136,7 +136,8 @@ onUnmounted(() => {
rel="noopener"
target="_blank"
:aria-label="$t('home.follow.githubRepository')"
>GitHub</a>
>GitHub</a
>
{{ $t('home.follow.thankYou') }}
<n-icon :component="IconHeart" />
</ColoredCard>
@@ -197,6 +198,14 @@ onUnmounted(() => {
</template>
<style scoped lang="less">
// The 50px top spacing is a desktop nicety; on mobile it pushes the content
// too far below the top bar.
.home-content {
@media (max-width: 700px) {
padding-top: 0;
}
}
.height-enter-active,
.height-leave-active {
transition: all 0.5s ease-in-out;
@@ -228,7 +237,7 @@ onUnmounted(() => {
}
100% {
opacity: 0.4;
transform: scale(1.0);
transform: scale(1);
}
}
</style>
+64 -2
View File
@@ -1,19 +1,81 @@
import messages from '@intlify/unplugin-vue-i18n/messages';
import { get } from '@vueuse/core';
import { merge } from 'es-toolkit/compat';
import type { Plugin } from 'vue';
import { watch } from 'vue';
import { createI18n } from 'vue-i18n';
import enBaseMessages from '../../locales/en.yml';
const DEFAULT_LOCALE = String(import.meta.env.VITE_LANGUAGE || 'en');
const FALLBACK_LOCALE = 'en';
// The fallback locale (and its tool-level files) is bundled eagerly so the app always has
// complete messages at startup; every other locale is compiled into its own lazy chunk and
// only fetched the first time it becomes the active locale.
const eagerToolMessages = import.meta.glob('../tools/*/locales/en.yml', { eager: true, import: 'default' });
const lazyBaseMessages = import.meta.glob(['../../locales/*.yml', '!../../locales/en.yml'], { import: 'default' });
const lazyToolMessages = import.meta.glob(['../tools/*/locales/*.yml', '!../tools/*/locales/en.yml'], { import: 'default' });
function localeOfPath(path: string): string {
return path.replace(/^.*\/([^/]+)\.yml$/, '$1');
}
// Cast: es-toolkit's merge infers a deeply recursive mapped type from the full message
// tree, which makes vue-i18n's generics exceed TS's instantiation depth.
const enMessages = merge({}, enBaseMessages, ...Object.values(eagerToolMessages)) as Record<string, unknown>;
// VITE_AVAILABLE_LOCALES filters which locales the app offers; unlisted locale chunks are
// still emitted at build time but never fetched.
export const appLocales = (() => {
const allLocales = [FALLBACK_LOCALE, ...Object.keys(lazyBaseMessages).map(localeOfPath)].sort();
const available = String(import.meta.env.VITE_AVAILABLE_LOCALES || '*');
if (available === '*' || available === 'all') {
return allLocales;
}
const wantedLocales = available.split(',').map(locale => locale.trim());
return allLocales.filter(locale => wantedLocales.includes(locale) || locale === FALLBACK_LOCALE);
})();
const i18n = createI18n({
legacy: false,
locale: DEFAULT_LOCALE,
messages,
fallbackLocale: FALLBACK_LOCALE,
fallbackWarn: false,
missingWarn: false,
// Cast: without the unplugin-vue-i18n type shim (absent in tsconfig.vitest.json)
// vue-i18n's generics reject runtime-shaped message records.
messages: { [FALLBACK_LOCALE]: enMessages } as Record<string, any>,
});
const loadedLocales = new Set([FALLBACK_LOCALE]);
export async function loadLocaleMessages(locale: string) {
if (loadedLocales.has(locale)) {
return;
}
const loaders = [
lazyBaseMessages[`../../locales/${locale}.yml`],
...Object.entries(lazyToolMessages)
.filter(([path]) => localeOfPath(path) === locale)
.map(([, loader]) => loader),
].filter(Boolean);
if (loaders.length === 0) {
return;
}
const messageParts = await Promise.all(loaders.map(loader => loader()));
i18n.global.setLocaleMessage(locale, merge({}, ...messageParts));
loadedLocales.add(locale);
}
export const i18nPlugin: Plugin = {
install: (app) => {
app.use(i18n);
// Messages arrive after the switch; vue-i18n falls back to English until
// setLocaleMessage triggers a reactive re-render. Watching through the getter
// avoids depending on vue-i18n's locale ref generics.
watch(() => getCurrentLocale(), locale => loadLocaleMessages(locale), { immediate: true });
},
};
+1 -1
View File
@@ -1,4 +1,4 @@
import { noop } from 'lodash';
import { noop } from 'es-toolkit/compat';
import Plausible from 'plausible-tracker';
import type { App } from 'vue';
+22 -2
View File
@@ -5,9 +5,15 @@ import HomePage from './pages/Home.page.vue';
import NotFound from './pages/404.page.vue';
import { tools } from './tools';
import { config } from './config';
import { routes as demoRoutes } from './ui/demo/demo.routes';
import { useAppTheme } from './ui/theme/themes';
// Conditional dynamic import: import.meta.env.DEV is statically false in production
// builds, so the demo gallery (and everything it imports: c-markdown, markdown-it, …)
// is dead-code-eliminated from the bundle instead of shipping in the entry graph.
const demoRoutes = import.meta.env.DEV && config.app.env === 'development'
? (await import('./ui/demo/demo.routes')).routes
: [];
const $loading = useLoading();
const toolsRoutes = tools.map(({ path, name, component, ...config }) => ({
path,
@@ -23,6 +29,15 @@ const toolsRedirectRoutes = tools
const router = createRouter({
history: createWebHistory(config.app.baseUrl),
// The document is the app's scroller (see MenuLayout.vue)
scrollBehavior(to, from, savedPosition) {
if (savedPosition) {
return savedPosition;
}
if (to.path !== from.path) {
return { top: 0 };
}
},
routes: [
{
path: '/',
@@ -36,7 +51,7 @@ const router = createRouter({
},
...toolsRoutes,
...toolsRedirectRoutes,
...(config.app.env === 'development' ? demoRoutes : []),
...demoRoutes,
{
path: '/:pathMatch(.*)*',
name: 'NotFound',
@@ -53,8 +68,13 @@ router.beforeEach((to, from) => {
if (to.path !== from.path) {
const theme = useAppTheme();
loaderTimeoutId = setTimeout(() => {
// Scope the overlay to the routed page so the nav bar and menu stay
// visible; on the very first navigation the layout isn't mounted yet
// and the overlay falls back to fullscreen.
const pageContainer = document.querySelector<HTMLElement>('.page-content');
loader = $loading?.show({
color: theme.value.primary.color,
...(pageContainer ? { container: pageContainer } : {}),
});
}, 350);
}
+11 -4
View File
@@ -10,6 +10,17 @@ declare module '*.md' {
export default Component;
}
declare module '*.yml' {
const messages: Record<string, unknown>;
export default messages;
}
declare module '@tabler/icons-vue/dist/esm/icons/*.mjs' {
import type { FunctionalComponent, SVGAttributes } from 'vue';
const component: FunctionalComponent<SVGAttributes>;
export default component;
}
declare module 'emojilib' {
const lib: Record<string, string[]>;
export default lib;
@@ -35,10 +46,6 @@ declare module 'pdf-signature-reader' {
export default verifySignature;
}
declare module 'vite-plugin-splash-screen/runtime' {
export function hideSplashScreen();
}
declare module 'units-converter' {
interface ITo{
to(unit: string): { value: number }
+20 -4
View File
@@ -1,18 +1,34 @@
import { useDark, useMediaQuery, useToggle } from '@vueuse/core';
import { useColorMode, useMediaQuery, usePreferredDark } from '@vueuse/core';
import { defineStore } from 'pinia';
import { type Ref, watch } from 'vue';
import { type Ref, computed, watch } from 'vue';
import { useITStorage } from '@/composable/queryParams';
import { darkThemeOverrides, lightThemeOverrides } from '@/themes';
export const useStyleStore = defineStore('style', {
state: () => {
const isDarkTheme = useDark();
const toggleDark = useToggle(isDarkTheme);
// Same storage key + values ('auto' | 'light' | 'dark') as VueUse useDark,
// which the pre-paint script in index.html reads before Vue mounts.
const themeMode = useColorMode({ emitAuto: true });
const prefersDark = usePreferredDark();
const isDarkTheme = computed(() => (themeMode.value === 'auto' ? prefersDark.value : themeMode.value === 'dark'));
const toggleDark = () => {
themeMode.value = isDarkTheme.value ? 'light' : 'dark';
};
const isSmallScreen = useMediaQuery('(max-width: 700px)');
const isMenuCollapsed = useITStorage('isMenuCollapsed', isSmallScreen.value) as Ref<boolean>;
watch(isSmallScreen, v => (isMenuCollapsed.value = v));
// Keep browser UI (iOS Safari chrome, PWA title bar) matching the app background
watch(isDarkTheme, (isDark) => {
// Cast: naive-ui's Layout override type resolves to '{}' under
// tsconfig.vitest.json, even though the value is a plain color string
const themeColor = (isDark ? darkThemeOverrides.Layout?.color : lightThemeOverrides.Layout?.color) as string | undefined;
document.querySelector('meta[name="theme-color"]')?.setAttribute('content', themeColor ?? (isDark ? '#1c1c1c' : '#f1f5f9'));
}, { immediate: true });
return {
themeMode,
isDarkTheme,
toggleDark,
isMenuCollapsed,
+8
View File
@@ -1,6 +1,12 @@
import type { GlobalThemeOverrides } from 'naive-ui';
export const lightThemeOverrides: GlobalThemeOverrides = {
common: {
// Keep <body> the same color as the Layout background: Safari 26+ ignores
// theme-color and derives its browser chrome tint from the body background.
bodyColor: '#f1f5f9',
},
Menu: {
itemHeight: '32px',
},
@@ -20,6 +26,8 @@ export const darkThemeOverrides: GlobalThemeOverrides = {
primaryColorHover: '#36AD6AFF',
primaryColorPressed: '#0C7A43FF',
primaryColorSuppl: '#36AD6AFF',
// Match the Layout background (see lightThemeOverrides.common.bodyColor)
bodyColor: '#1c1c1c',
},
Notification: {
+8
View File
@@ -0,0 +1,8 @@
const base = import.meta.env.BASE_URL ?? '/';
// Optional per-deployment settings. Lives in its own top-level-await module so the
// fetch runs concurrently with the config fetches in src/tools/index.ts (sibling async
// module subgraphs evaluate in parallel) instead of serially after them.
export const toolsSettings: Record<string, Record<string, any> | any> = await fetch(`${base}tools-settings.json`)
.then(response => (response.ok ? response.json() as Promise<Record<string, Record<string, any> | any>> : {}))
.catch(() => ({}));
+1 -2
View File
@@ -1,5 +1,4 @@
import { translate as t } from '@/plugins/i18n.plugin';
import { Run } from '@vicons/tabler';
import { defineTool } from '../tool';
export const tool = defineTool({
@@ -10,7 +9,7 @@ export const tool = defineTool({
'units', 'g (g-force)', 'm/s2',
],
component: () => import('./acceleration-converter.vue'),
icon: Run,
icon: defineAsyncComponent(() => import('@vicons/tabler/es/Run')),
createdAt: new Date('2026-01-30'),
category: 'Physics',
});
+1 -2
View File
@@ -1,4 +1,3 @@
import { Folder } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate as t } from '@/plugins/i18n.plugin';
@@ -8,7 +7,7 @@ export const tool = defineTool({
description: t('tools.ad-ldap-searcher.description'),
keywords: ['active', 'directory', 'ad', 'ldap', 'prop', 'searcher'],
component: () => import('./ad-ldap-searcher.vue'),
icon: Folder,
icon: defineAsyncComponent(() => import('@vicons/tabler/es/Folder')),
createdAt: new Date('2024-08-15'),
category: 'Forensic',
});
+84 -32
View File
@@ -8,19 +8,25 @@ const { t } = useI18n();
declare global {
interface Window {
generateX25519Identity: () => {
privateKey: string
publicKey: string
}
encrypt: (publicKeys: string, message: string) => {
error?: string
output: string
}
decrypt: (privateKeys: string, message: string) => {
error?: string
output: string
}
encryptBinary: (publicKeys: string, buffer: Uint8Array) => string | Uint8Array
decryptBinary: (privateKeys: string, buffer: Uint8Array) => string | Uint8Array
privateKey: string;
publicKey: string;
};
encrypt: (
publicKeys: string,
message: string,
) => {
error?: string;
output: string;
};
decrypt: (
privateKeys: string,
message: string,
) => {
error?: string;
output: string;
};
encryptBinary: (publicKeys: string, buffer: Uint8Array) => string | Uint8Array;
decryptBinary: (privateKeys: string, buffer: Uint8Array) => string | Uint8Array;
}
}
/**
@@ -72,7 +78,7 @@ function downloadURL(data: string, fileName: string) {
}
function downloadBlob(data: Uint8Array, fileName: string) {
const blob = new Blob([data], {
const blob = new Blob([new Uint8Array(data)], {
type: 'application/octet-stream',
});
const url = window.URL.createObjectURL(blob);
@@ -91,8 +97,7 @@ function encrypt() {
const result = window.encrypt(recipients.value, message.value);
if (result.error) {
error.value = result.error;
}
else {
} else {
encryptedOutput.value = result.output;
}
}
@@ -111,8 +116,7 @@ function encryptBinary() {
const result = window.encryptBinary(recipientsBinary.value, buffer);
if (typeof result === 'string') {
error.value = result;
}
else {
} else {
downloadBlob(result, `${f.name}.age`);
}
};
@@ -127,8 +131,7 @@ function decrypt() {
const result = window.decrypt(identities.value, encryptedText.value);
if (result.error) {
error.value = result.error;
}
else {
} else {
decryptedOutput.value = result.output;
}
}
@@ -147,8 +150,7 @@ function decryptBinary() {
const result = window.decryptBinary(identitiesBinary.value, buffer);
if (typeof result === 'string') {
error.value = result;
}
else {
} else {
downloadBlob(result, f.name.replace('.age', ''));
}
};
@@ -171,10 +173,20 @@ function onDecryptFilesUploaded(uploadedFiles: File[]) {
<!-- Generate Keys -->
<n-tab-pane name="keys" :tab="t('tools.age-crypto.text.generate-keys')">
<n-card :title="t('tools.age-crypto.texts.title-private-key')" mb-1>
<textarea-copyable v-model:value="privKey" rows="3" multiline :placeholder="t('tools.age-crypto.texts.placeholder-your-private-key-will-be-generated-here')" />
<textarea-copyable
v-model:value="privKey"
rows="3"
multiline
:placeholder="t('tools.age-crypto.texts.placeholder-your-private-key-will-be-generated-here')"
/>
</n-card>
<n-card :title="t('tools.age-crypto.texts.title-public-key')" mb-1>
<textarea-copyable v-model:value="pubKey" rows="3" multiline :placeholder="t('tools.age-crypto.texts.placeholder-your-public-key-will-be-generated-here')" />
<textarea-copyable
v-model:value="pubKey"
rows="3"
multiline
:placeholder="t('tools.age-crypto.texts.placeholder-your-public-key-will-be-generated-here')"
/>
</n-card>
<n-button type="primary" @click="generateKeys">
{{ t('tools.age-crypto.texts.tag-generate-keys') }}
@@ -184,13 +196,28 @@ function onDecryptFilesUploaded(uploadedFiles: File[]) {
<!-- Encrypt Text -->
<n-tab-pane name="encrypt" :tab="t('tools.age-crypto.text.encrypt')">
<n-card :title="t('tools.age-crypto.texts.title-public-keys')" mb-1>
<n-input v-model:value="recipients" type="textarea" :placeholder="t('tools.age-crypto.texts.placeholder-recipient-key-or-keys-one-per-line')" required />
<n-input
v-model:value="recipients"
type="textarea"
:placeholder="t('tools.age-crypto.texts.placeholder-recipient-key-or-keys-one-per-line')"
required
/>
</n-card>
<n-card :title="t('tools.age-crypto.texts.title-message')" mb-1>
<n-input v-model:value="message" type="textarea" :placeholder="t('tools.age-crypto.texts.placeholder-message-to-encrypt')" required />
<n-input
v-model:value="message"
type="textarea"
:placeholder="t('tools.age-crypto.texts.placeholder-message-to-encrypt')"
required
/>
</n-card>
<n-card :title="t('tools.age-crypto.texts.title-output')" mb-1>
<textarea-copyable v-model:value="encryptedOutput" rows="3" multiline :placeholder="t('tools.age-crypto.texts.placeholder-encrypted-output-will-be-generated-here')" />
<textarea-copyable
v-model:value="encryptedOutput"
rows="3"
multiline
:placeholder="t('tools.age-crypto.texts.placeholder-encrypted-output-will-be-generated-here')"
/>
</n-card>
<n-button type="primary" @click="encrypt">
{{ t('tools.age-crypto.texts.tag-encrypt') }}
@@ -200,7 +227,12 @@ function onDecryptFilesUploaded(uploadedFiles: File[]) {
<!-- Encrypt Binary -->
<n-tab-pane name="encryptBinary" :tab="t('tools.age-crypto.text.encrypt-binary')">
<n-card :title="t('tools.age-crypto.texts.title-public-keys')" mb-1>
<n-input v-model:value="recipientsBinary" type="textarea" :placeholder="t('tools.age-crypto.texts.placeholder-recipient-key-or-keys-one-per-line')" required />
<n-input
v-model:value="recipientsBinary"
type="textarea"
:placeholder="t('tools.age-crypto.texts.placeholder-recipient-key-or-keys-one-per-line')"
required
/>
</n-card>
<n-card :title="t('tools.age-crypto.texts.title-files')" mb-1>
<c-file-upload
@@ -225,13 +257,28 @@ function onDecryptFilesUploaded(uploadedFiles: File[]) {
<!-- Decrypt Text -->
<n-tab-pane name="decrypt" :tab="t('tools.age-crypto.text.decrypt')">
<n-card :title="t('tools.age-crypto.texts.title-private-keys')" mb-1>
<n-input v-model:value="identities" type="textarea" :placeholder="t('tools.age-crypto.texts.placeholder-identity-key-or-keys-one-per-line')" required />
<n-input
v-model:value="identities"
type="textarea"
:placeholder="t('tools.age-crypto.texts.placeholder-identity-key-or-keys-one-per-line')"
required
/>
</n-card>
<n-card :title="t('tools.age-crypto.texts.title-encrypted-text')" mb-1>
<n-input v-model:value="encryptedText" type="textarea" :placeholder="t('tools.age-crypto.texts.placeholder-paste-here-encrypted-text')" required />
<n-input
v-model:value="encryptedText"
type="textarea"
:placeholder="t('tools.age-crypto.texts.placeholder-paste-here-encrypted-text')"
required
/>
</n-card>
<n-card :title="t('tools.age-crypto.texts.title-output')" mb-1>
<textarea-copyable v-model:value="decryptedOutput" rows="3" multiline :placeholder="t('tools.age-crypto.texts.placeholder-decrypted-output-will-be-generated-here')" />
<textarea-copyable
v-model:value="decryptedOutput"
rows="3"
multiline
:placeholder="t('tools.age-crypto.texts.placeholder-decrypted-output-will-be-generated-here')"
/>
</n-card>
<n-button type="primary" @click="decrypt">
{{ t('tools.age-crypto.texts.tag-decrypt') }}
@@ -241,7 +288,12 @@ function onDecryptFilesUploaded(uploadedFiles: File[]) {
<!-- Decrypt Binary -->
<n-tab-pane name="decryptBinary" :tab="t('tools.age-crypto.text.decrypt-binary')">
<n-card :title="t('tools.age-crypto.texts.title-private-keys')" mb-1>
<n-input v-model:value="identitiesBinary" type="textarea" :placeholder="t('tools.age-crypto.texts.placeholder-identity-key-or-keys-one-per-line')" required />
<n-input
v-model:value="identitiesBinary"
type="textarea"
:placeholder="t('tools.age-crypto.texts.placeholder-identity-key-or-keys-one-per-line')"
required
/>
</n-card>
<n-card :title="t('tools.age-crypto.texts.title-encrypted-files')" mb-1>
<c-file-upload
+1 -2
View File
@@ -1,4 +1,3 @@
import { EyeOff } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate as t } from '@/plugins/i18n.plugin';
@@ -8,7 +7,7 @@ export const tool = defineTool({
description: t('tools.age-crypto.description'),
keywords: ['age'],
component: () => import('./age-crypto.vue'),
icon: EyeOff,
icon: defineAsyncComponent(() => import('@vicons/tabler/es/EyeOff')),
createdAt: new Date('2025-05-08'),
category: 'Crypto',
});
+1 -2
View File
@@ -1,4 +1,3 @@
import { Prompt } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate as t } from '@/plugins/i18n.plugin';
@@ -8,7 +7,7 @@ export const tool = defineTool({
description: t('tools.ai-prompt-splitter.description'),
keywords: ['ai', 'chatgpt', 'gpt', 'prompt', 'splitter'],
component: () => import('./ai-prompt-splitter.vue'),
icon: Prompt,
icon: defineAsyncComponent(() => import('@vicons/tabler/es/Prompt')),
createdAt: new Date('2024-07-14'),
category: 'Text',
});
@@ -11,25 +11,184 @@ const amortizationCalculator = ref(new StandardAmortizationCalculator());
const currencyDisplayNames = computed(() => new Intl.DisplayNames(locale.value, { type: 'currency' }));
const historicalCodes = ['AFA', 'FIM', 'ALK', 'ADP', 'ESP', 'FRF', 'AOK', 'AON', 'AOR', 'ARA', 'ARP', 'ARY',
'RUR', 'ATS', 'AYM', 'AZM', 'RUR', 'BYB', 'BYR', 'RUR', 'BEC', 'BEF', 'BEL', 'BOP', 'BAD', 'BRB', 'BRC',
'BRE', 'BRN', 'BRR', 'BGJ', 'BGK', 'BGL', 'BGN', 'BUK', 'HRD', 'HRK', 'HRK', 'CUC', 'ANG', 'CYP', 'CSJ',
'CSK', 'ECS', 'ECV', 'GQE', 'EEK', 'XEU', 'FIM', 'FRF', 'FRF', 'FRF', 'GEK', 'RUR', 'DDM', 'DEM', 'GHC',
'GHP', 'GRD', 'FRF', 'GNE', 'GNS', 'GWE', 'GWP', 'ITL', 'ISJ', 'IEP', 'ILP', 'ILR', 'ITL', 'RUR', 'RUR',
'LAJ', 'LVL', 'LVR', 'LSM', 'ZAL', 'LTL', 'LTT', 'LUC', 'LUF', 'LUL', 'MGF', 'MWK', 'MVQ', 'MLF', 'MTL',
'MTP', 'FRF', 'MRO', 'FRF', 'MXP', 'RUR', 'FRF', 'MZE', 'MZM', 'NLG', 'ANG', 'NIC', 'PEH', 'PEI', 'PEN',
'PES', 'PLZ', 'PTE', 'FRF', 'ROK', 'ROL', 'RON', 'RUR', 'FRF', 'FRF', 'FRF', 'ITL', 'STD', 'CSD', 'EUR',
'SLL', 'ANG', 'SKK', 'SIT', 'ZAL', 'SDG', 'RHD', 'ESA', 'ESB', 'ESP', 'SDD', 'SDP', 'SRG', 'SZL', 'CHC',
'RUR', 'TJR', 'IDR', 'TPE', 'TRL', 'TRY', 'RUR', 'TMM', 'UGS', 'UGW', 'UAK', 'SUR', 'USS', 'UYN', 'UYP',
'RUR', 'VEB', 'VEF', 'VEF', 'VEF', 'VNC', 'YDD', 'YUD', 'YUM', 'YUN', 'ZRN', 'ZRZ', 'ZMK', 'ZWC', 'ZWD',
'ZWD', 'ZWN', 'ZWR', 'ZWL', 'XFO', 'XRE', 'XFU'];
const historicalCodes = [
'AFA',
'FIM',
'ALK',
'ADP',
'ESP',
'FRF',
'AOK',
'AON',
'AOR',
'ARA',
'ARP',
'ARY',
'RUR',
'ATS',
'AYM',
'AZM',
'RUR',
'BYB',
'BYR',
'RUR',
'BEC',
'BEF',
'BEL',
'BOP',
'BAD',
'BRB',
'BRC',
'BRE',
'BRN',
'BRR',
'BGJ',
'BGK',
'BGL',
'BGN',
'BUK',
'HRD',
'HRK',
'HRK',
'CUC',
'ANG',
'CYP',
'CSJ',
'CSK',
'ECS',
'ECV',
'GQE',
'EEK',
'XEU',
'FIM',
'FRF',
'FRF',
'FRF',
'GEK',
'RUR',
'DDM',
'DEM',
'GHC',
'GHP',
'GRD',
'FRF',
'GNE',
'GNS',
'GWE',
'GWP',
'ITL',
'ISJ',
'IEP',
'ILP',
'ILR',
'ITL',
'RUR',
'RUR',
'LAJ',
'LVL',
'LVR',
'LSM',
'ZAL',
'LTL',
'LTT',
'LUC',
'LUF',
'LUL',
'MGF',
'MWK',
'MVQ',
'MLF',
'MTL',
'MTP',
'FRF',
'MRO',
'FRF',
'MXP',
'RUR',
'FRF',
'MZE',
'MZM',
'NLG',
'ANG',
'NIC',
'PEH',
'PEI',
'PEN',
'PES',
'PLZ',
'PTE',
'FRF',
'ROK',
'ROL',
'RON',
'RUR',
'FRF',
'FRF',
'FRF',
'ITL',
'STD',
'CSD',
'EUR',
'SLL',
'ANG',
'SKK',
'SIT',
'ZAL',
'SDG',
'RHD',
'ESA',
'ESB',
'ESP',
'SDD',
'SDP',
'SRG',
'SZL',
'CHC',
'RUR',
'TJR',
'IDR',
'TPE',
'TRL',
'TRY',
'RUR',
'TMM',
'UGS',
'UGW',
'UAK',
'SUR',
'USS',
'UYN',
'UYP',
'RUR',
'VEB',
'VEF',
'VEF',
'VEF',
'VNC',
'YDD',
'YUD',
'YUM',
'YUN',
'ZRN',
'ZRZ',
'ZMK',
'ZWC',
'ZWD',
'ZWD',
'ZWN',
'ZWR',
'ZWL',
'XFO',
'XRE',
'XFU',
];
const supportedCurrencies = ref(
Intl.supportedValuesOf('currency')
.filter(value => !historicalCodes.includes(value))
.map(value => ({
.filter((value) => !historicalCodes.includes(value))
.map((value) => ({
value,
label: currencyDisplayNames.value.of(value),
label: currencyDisplayNames.value.of(value) ?? value,
})),
);
@@ -151,7 +310,12 @@ function formatCurrency(num: number): string {
:validation="interestRateValidation"
/>
<c-select v-model:value="selectedCurrency" :options="supportedCurrencies" :label="t('tools.amortization-calculator.texts.label-displayed-currency')" mb-5 />
<c-select
v-model:value="selectedCurrency"
:options="supportedCurrencies"
:label="t('tools.amortization-calculator.texts.label-displayed-currency')"
mb-5
/>
</c-card>
<div v-if="allValid">
+1 -2
View File
@@ -1,4 +1,3 @@
import { ReportMoney } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate as t } from '@/plugins/i18n.plugin';
@@ -8,7 +7,7 @@ export const tool = defineTool({
description: t('tools.amortization-calculator.description'),
keywords: ['amortization', 'calculator'],
component: () => import('./amortization-calculator.vue'),
icon: ReportMoney,
icon: defineAsyncComponent(() => import('@vicons/tabler/es/ReportMoney')),
createdAt: new Date('2025-11-22'),
category: 'Finance',
});
@@ -12,5 +12,5 @@ const supportedUnits = {
</script>
<template>
<UnitsConverter default-unit="deg" :supported-units="supportedUnits" label-width="150px" />
<UnitsConverter default-unit="deg" converter-type="convert" :supported-units="supportedUnits" label-width="150px" />
</template>
+1 -2
View File
@@ -1,4 +1,3 @@
import { Angle } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate as t } from '@/plugins/i18n.plugin';
@@ -10,7 +9,7 @@ export const tool = defineTool({
'units', 'degree', 'radian', 'turn', 'grad',
],
component: () => import('./angle-converter.vue'),
icon: Angle,
icon: defineAsyncComponent(() => import('@vicons/tabler/es/Angle')),
createdAt: new Date('2024-08-15'),
category: 'Physics',
});
+1 -2
View File
@@ -1,4 +1,3 @@
import { Terminal2 } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate as t } from '@/plugins/i18n.plugin';
@@ -8,7 +7,7 @@ export const tool = defineTool({
description: t('tools.ansi-escape-tester.description'),
keywords: ['ansi', 'escape', 'tester'],
component: () => import('./ansi-escape-tester.vue'),
icon: Terminal2,
icon: defineAsyncComponent(() => import('@vicons/tabler/es/Terminal2')),
createdAt: new Date('2025-07-06'),
category: 'Development',
});
@@ -1,4 +1,3 @@
import { LockSquare } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate as t } from '@/plugins/i18n.plugin';
@@ -8,7 +7,7 @@ export const tool = defineTool({
description: t('tools.ansible-vault-crypt-decrypt.description'),
keywords: ['ansible', 'vault', 'crypt', 'decrypt'],
component: () => import('./ansible-vault-crypt-decrypt.vue'),
icon: LockSquare,
icon: defineAsyncComponent(() => import('@vicons/tabler/es/LockSquare')),
createdAt: new Date('2024-02-25'),
category: 'Crypto',
});
+1 -2
View File
@@ -1,4 +1,3 @@
import { World } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate as t } from '@/plugins/i18n.plugin';
@@ -8,7 +7,7 @@ export const tool = defineTool({
description: t('tools.api-tester.description'),
keywords: ['api', 'http', 'call', 'tester'],
component: () => import('./api-tester.vue'),
icon: World,
icon: defineAsyncComponent(() => import('@vicons/tabler/es/World')),
createdAt: new Date('2024-05-11'),
category: 'Development',
externAccessDescription: t('tools.api-tester.externalAccess'),
+1 -2
View File
@@ -1,4 +1,3 @@
import { SquaresDiagonal } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate as t } from '@/plugins/i18n.plugin';
@@ -10,7 +9,7 @@ export const tool = defineTool({
'units', 'square meter', 'are', 'square',
],
component: () => import('./area-converter.vue'),
icon: SquaresDiagonal,
icon: defineAsyncComponent(() => import('@vicons/tabler/es/SquaresDiagonal')),
createdAt: new Date('2024-08-15'),
category: 'Physics',
});
+1 -2
View File
@@ -1,4 +1,3 @@
import { EyeOff } from '@vicons/tabler';
import { defineTool } from '../tool';
import { translate as t } from '@/plugins/i18n.plugin';
@@ -8,7 +7,7 @@ export const tool = defineTool({
description: t('tools.argon2-hash.description'),
keywords: ['argon2', 'argon2i', 'argon2d', 'argon2id', 'hash'],
component: () => import('./argon2-hash.vue'),
icon: EyeOff,
icon: defineAsyncComponent(() => import('@vicons/tabler/es/EyeOff')),
createdAt: new Date('2025-12-07'),
category: 'Crypto',
});
Loaded 100 of 759 files, more files were not shown because too many files have changed in this diff. Show more