diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 00000000..563ecab3
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,5 @@
+node_modules
+playwright-report
+coverage
+dist
+test-results
diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json
index 363273af..4084d922 100644
--- a/.eslintrc-auto-import.json
+++ b/.eslintrc-auto-import.json
@@ -22,7 +22,9 @@
"createGlobalState": true,
"createInjectionState": true,
"createReactiveFn": true,
+ "createReusableTemplate": true,
"createSharedComposable": true,
+ "createTemplatePromise": true,
"createUnrefFn": true,
"customRef": true,
"debouncedRef": true,
@@ -42,9 +44,6 @@
"isReactive": true,
"isReadonly": true,
"isRef": true,
- "logicAnd": true,
- "logicNot": true,
- "logicOr": true,
"makeDestructurable": true,
"markRaw": true,
"nextTick": true,
@@ -107,6 +106,19 @@
"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,
@@ -117,8 +129,8 @@
"useBroadcastChannel": true,
"useBrowserLocation": true,
"useCached": true,
- "useClamp": true,
"useClipboard": true,
+ "useCloned": true,
"useColorMode": true,
"useConfirmDialog": true,
"useCounter": true,
@@ -160,6 +172,7 @@
"useFullscreen": true,
"useGamepad": true,
"useGeolocation": true,
+ "useI18n": true,
"useIdle": true,
"useImage": true,
"useInfiniteScroll": true,
@@ -192,12 +205,18 @@
"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,
@@ -211,14 +230,17 @@
"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,
@@ -230,6 +252,8 @@
"useTimeoutPoll": true,
"useTimestamp": true,
"useTitle": true,
+ "useToNumber": true,
+ "useToString": true,
"useToggle": true,
"useTransition": true,
"useUrlSearchParams": true,
@@ -250,8 +274,10 @@
"watchArray": true,
"watchAtMost": true,
"watchDebounced": true,
+ "watchDeep": true,
"watchEffect": true,
"watchIgnorable": true,
+ "watchImmediate": true,
"watchOnce": true,
"watchPausable": true,
"watchPostEffect": true,
@@ -259,6 +285,7 @@
"watchThrottled": true,
"watchTriggerable": true,
"watchWithFilter": true,
- "whenever": true
+ "whenever": true,
+ "toValue": true
}
-}
\ No newline at end of file
+}
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 5f9c7417..37a67b34 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -1,39 +1,21 @@
-/* eslint-env node */
-require('@rushstack/eslint-patch/modern-module-resolution');
-
+/**
+ * @type {import('eslint').Linter.Config}
+ */
module.exports = {
root: true,
- extends: [
- 'plugin:vue/vue3-essential',
- 'eslint:recommended',
- 'plugin:vue/vue3-recommended',
- '@vue/eslint-config-typescript/recommended',
- '@vue/eslint-config-prettier',
- 'plugin:import/recommended',
- './.eslintrc-auto-import.json',
- '@unocss',
- ],
+ extends: ['@antfu', './.eslintrc-auto-import.json', '@unocss'],
- settings: {
- 'import/resolver': { typescript: { project: './tsconfig.app.json' } },
- },
- env: {
- 'vue/setup-compiler-macros': true,
- },
rules: {
- 'vue/multi-word-component-names': ['off'],
- 'prettier/prettier': ['error'],
- 'import/no-duplicates': ['error', { considerQueryString: true }],
- 'import/order': ['error', { groups: [['builtin', 'external', 'internal']] }],
- 'import/extensions': [
- 'error',
- 'ignorePackages',
- {
- js: 'never',
- ts: 'never',
- tsx: 'never',
- },
- ],
- 'import/no-unresolved': ['error', { ignore: ['^virtual:'] }],
+ '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'],
+ 'no-restricted-imports': ['error', {
+ paths: [{
+ name: '@vueuse/core',
+ importNames: ['useClipboard'],
+ message: 'Please use local useCopy from src/composable/copy.ts instead of useClipboard.',
+ }],
+ }],
},
};
diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md
deleted file mode 100644
index c4bf532b..00000000
--- a/.github/ISSUE_TEMPLATE/bug-report.md
+++ /dev/null
@@ -1,34 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve our tools
-title: '[BUG] '
-labels: bug
-assignees: CorentinTh
----
-
-**Which tool is impacted?**
-Example: the token generator
-
-**To Reproduce**
-Steps to reproduce the behavior:
-
-1. Go to '...'
-2. Click on '....'
-3. Scroll down to '....'
-4. See error
-
-**Expected behavior**
-A clear and concise description of what you expected to happen.
-
-**Screenshots**
-If applicable, add screenshots to help explain your problem.
-
-**Configuration (please complete the following information):**
-
-- Device: [e.g. iPhone6, ]
-- OS: [e.g. iOS]
-- Browser [e.g. chrome, safari]
-- Version [e.g. 22]
-
-**Additional context**
-Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
new file mode 100644
index 00000000..d338fa3f
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -0,0 +1,48 @@
+name: 🐞 Bug Report
+description: File a bug report.
+labels: ['bug', 'triage']
+assignees:
+ - CorentinTh
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for taking the time to fill out this bug report!
+
+ - type: textarea
+ id: bug-description
+ attributes:
+ label: Describe the bug
+ description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
+ placeholder: Bug description
+ validations:
+ required: true
+
+ - type: textarea
+ id: what-happened
+ attributes:
+ label: What happened?
+ description: Also tell us, what did you expect to happen? If you have a screenshot, you can paste it here.
+ placeholder: Tell us what you see!
+ value: 'A bug happened!'
+ validations:
+ required: true
+
+ - type: textarea
+ id: version
+ attributes:
+ label: System information
+ description: What is you environment? You can use the `npx envinfo --system --browsers` command to get this information.
+ validations:
+ required: true
+
+ - type: dropdown
+ id: app-type
+ attributes:
+ label: Where did you encounter the bug?
+ options:
+ - Public app (it-tools.tech)
+ - A self hosted
+ - Other (installations, docker, etc.)
+ validations:
+ required: true
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 00000000..3ba13e0c
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1 @@
+blank_issues_enabled: false
diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml
new file mode 100644
index 00000000..edae822e
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature-request.yml
@@ -0,0 +1,56 @@
+name: 🚀 New feature proposal
+description: Propose a new feature/enhancement or tool idea for IT-Tools
+labels: ['enhancement', 'triage']
+
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for your interest in the project and taking the time to fill out this feature report!
+
+ - type: dropdown
+ id: request-type
+ attributes:
+ label: What type of request is this?
+ options:
+ - New tool idea
+ - New feature for an existing tool
+ - Deployment or CI/CD improvement
+ - Self-hosting improvement
+ - Other
+ validations:
+ required: true
+
+ - type: textarea
+ id: feature-description
+ attributes:
+ label: Clear and concise description of the feature you are proposing
+ description: A clear and concise description of what the feature is.
+ placeholder: 'Example: a token generator tool'
+ validations:
+ required: true
+
+ - type: textarea
+ id: alternative
+ attributes:
+ label: Is their example of this tool in the wild?
+ description: Provide link to already existing tool (like websites, apps, cli, ...) or npm packages that could be used or provide inspiration for the feature.
+
+ - type: textarea
+ id: additional-context
+ attributes:
+ label: Additional context
+ description: Any other context or screenshots about the feature request here.
+
+ - type: checkboxes
+ id: checkboxes
+ attributes:
+ label: Validations
+ description: Before submitting the issue, please make sure you do the following
+ options:
+ - label: Check the feature is not already implemented in the project.
+ required: true
+ - label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
+ required: true
+ - label: Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).
+ required: true
diff --git a/.github/ISSUE_TEMPLATE/new-tool-request.md b/.github/ISSUE_TEMPLATE/new-tool-request.md
deleted file mode 100644
index 58775d1a..00000000
--- a/.github/ISSUE_TEMPLATE/new-tool-request.md
+++ /dev/null
@@ -1,19 +0,0 @@
----
-name: New tool request
-about: Suggest a new tool idea
-title: '[NEW TOOL]'
-labels: new tool
-assignees: CorentinTh
----
-
-**Which tool is impacted?**
-Example: the token generator
-
-**Describe the solution you'd like**
-A clear and concise description of what you want to happen.
-
-**Is their example of this tool in the wild?**
-Provide link to already existing tool or npm packages if any exists
-
-**Additional context**
-Add any other context about the feature request here.
diff --git a/.github/ISSUE_TEMPLATE/other-request.md b/.github/ISSUE_TEMPLATE/other-request.md
deleted file mode 100644
index b4901ed4..00000000
--- a/.github/ISSUE_TEMPLATE/other-request.md
+++ /dev/null
@@ -1,13 +0,0 @@
----
-name: Other request
-about: Any request that does not concern a tool creation, a new feature request on a tool or a bug
-title: '[OTHER] '
-labels:
-assignees: CorentinTh
----
-
-**Describe the solution you'd like**
-A clear and concise description of what you want.
-
-**Additional context**
-Add any other context about the feature request here.
diff --git a/.github/ISSUE_TEMPLATE/tool-improvement.md b/.github/ISSUE_TEMPLATE/tool-improvement.md
deleted file mode 100644
index 8ff8bb6c..00000000
--- a/.github/ISSUE_TEMPLATE/tool-improvement.md
+++ /dev/null
@@ -1,13 +0,0 @@
----
-name: Tool improvement
-about: Improvement on an existing tool
-title: '[TOOL IMPROVEMENT]'
-labels: enhancement
-assignees: CorentinTh
----
-
-**Describe the solution you'd like**
-A clear and concise description of what you want to happen.
-
-**Additional context**
-Add any other context about the feature request here.
diff --git a/.github/logo-dark.png b/.github/logo-dark.png
new file mode 100644
index 00000000..9bee8a9c
Binary files /dev/null and b/.github/logo-dark.png differ
diff --git a/.github/logo-white.png b/.github/logo-white.png
new file mode 100644
index 00000000..560a135b
Binary files /dev/null and b/.github/logo-white.png differ
diff --git a/.github/logo.png b/.github/logo.png
deleted file mode 100644
index 18bac950..00000000
Binary files a/.github/logo.png and /dev/null differ
diff --git a/.github/sponsor-banner.svg b/.github/sponsor-banner.svg
new file mode 100644
index 00000000..3ef81070
--- /dev/null
+++ b/.github/sponsor-banner.svg
@@ -0,0 +1,10 @@
+
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5f5a9b6a..4dd9ffb7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- run: corepack enable
- uses: actions/setup-node@v3
with:
- node-version: 16
+ node-version: 20
cache: 'pnpm'
- name: Install dependencies
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
deleted file mode 100644
index c0ca847e..00000000
--- a/.github/workflows/codeql-analysis.yml
+++ /dev/null
@@ -1,69 +0,0 @@
-# For most projects, this workflow file will not need changing; you simply need
-# to commit it to your repository.
-#
-# You may wish to alter this file to override the set of languages analyzed,
-# or to provide custom queries or build logic.
-#
-# ******** NOTE ********
-# We have attempted to detect the languages in your repository. Please check
-# the `language` matrix defined below to confirm you have the correct set of
-# supported CodeQL languages.
-#
-name: "CodeQL"
-
-on:
- push:
- branches: [ dev ]
- pull_request:
- # The branches below must be a subset of the branches above
- branches: [ dev ]
-
-jobs:
- analyze:
- name: Analyze
- runs-on: ubuntu-latest
- permissions:
- actions: read
- contents: read
- security-events: write
-
- strategy:
- fail-fast: false
- matrix:
- language: [ 'javascript' ]
- # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
- # Learn more:
- # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v2
-
- # Initializes the CodeQL tools for scanning.
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v1
- with:
- languages: ${{ matrix.language }}
- # If you wish to specify custom queries, you can do so here or in a config file.
- # By default, queries listed here will override any specified in a config file.
- # Prefix the list here with "+" to use these queries and those in the config file.
- # queries: ./path/to/local/query, your-org/your-repo/queries@main
-
- # 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@v1
-
- # ℹ️ Command-line programs to run using the OS shell.
- # 📚 https://git.io/JvXDl
-
- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
- # and modify them (or add more) to build your code if your project
- # uses a compiled language
-
- #- run: |
- # make bootstrap
- # make release
-
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
diff --git a/.github/workflows/docker-nightly-release.yml b/.github/workflows/docker-nightly-release.yml
index c75d9281..41dbb155 100644
--- a/.github/workflows/docker-nightly-release.yml
+++ b/.github/workflows/docker-nightly-release.yml
@@ -12,7 +12,7 @@ jobs:
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: print latest_commit
run: echo ${{ github.sha }}
@@ -28,11 +28,11 @@ jobs:
if: ${{ needs.check_date.outputs.should_run != 'false' }}
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- run: corepack enable
- uses: actions/setup-node@v3
with:
- node-version: 16
+ node-version: 20
cache: 'pnpm'
- name: Install dependencies
@@ -54,29 +54,29 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Login to GitHub Container Registry
- uses: docker/login-action@v1
+ uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU
- uses: docker/setup-qemu-action@v2
+ uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v2
+ uses: docker/setup-buildx-action@v3
- name: Build and push
- uses: docker/build-push-action@v4
+ uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml
new file mode 100644
index 00000000..13b787ef
--- /dev/null
+++ b/.github/workflows/e2e-tests.yml
@@ -0,0 +1,47 @@
+name: E2E tests
+on:
+ pull_request:
+ push:
+ branches:
+ - main
+jobs:
+ test:
+ timeout-minutes: 10
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ shard: [1/3, 2/3, 3/3]
+ steps:
+ - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
+
+ - run: corepack enable
+
+ - uses: actions/setup-node@v3
+ with:
+ node-version: 20
+ cache: 'pnpm'
+
+ - name: Get Playwright version
+ id: playwright-version
+ run: echo "PLAYWRIGHT_VERSION=$(jq -r .dependencies.playwright package.json)" >> "$GITHUB_OUTPUT"
+
+ - name: Install dependencies
+ run: pnpm install
+
+ - name: Build app
+ run: pnpm build
+
+ - name: Restore Playwright browsers from cache
+ uses: actions/cache@v3
+ with:
+ path: ~/.cache/ms-playwright
+ key: ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}-${{ hashFiles('**/playwright.config.ts') }}
+ restore-keys: |
+ ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}-
+ ${{ runner.os }}-playwright-
+
+ - name: Install Playwright Browsers
+ run: pnpm exec playwright install --with-deps
+
+ - name: Run Playwright tests
+ run: pnpm run test:e2e --shard=${{ matrix.shard }}
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
deleted file mode 100644
index 13d09495..00000000
--- a/.github/workflows/playwright.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-name: E2E tests
-on:
- pull_request:
- push:
- branches:
- - main
-jobs:
- test:
- timeout-minutes: 60
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - run: corepack enable
- - uses: actions/setup-node@v3
- with:
- node-version: 16
- cache: 'pnpm'
- - name: Install dependencies
- run: pnpm install
- - name: Install Playwright Browsers
- run: pnpm exec playwright install --with-deps
- - name: Run Playwright tests
- run: pnpm exec playwright test
diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml
index f6848eec..d0d3febd 100644
--- a/.github/workflows/releases.yml
+++ b/.github/workflows/releases.yml
@@ -13,29 +13,29 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Login to GitHub Container Registry
- uses: docker/login-action@v1
+ uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU
- uses: docker/setup-qemu-action@v2
+ uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v2
+ uses: docker/setup-buildx-action@v3
- name: Build and push
- uses: docker/build-push-action@v4
+ uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
@@ -55,13 +55,13 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- run: corepack enable
- uses: actions/setup-node@v3
with:
- node-version: 16
+ node-version: 20
cache: 'pnpm'
- name: Install dependencies
diff --git a/.gitignore b/.gitignore
index 2cfe718a..a3bbd943 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,3 +31,5 @@ coverage
/test-results/
/playwright-report/
/playwright/.cache/
+# Webkit with playwright creates a salt file
+salt
\ No newline at end of file
diff --git a/.nvmrc b/.nvmrc
index d9f88006..87ec8842 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-16.14.2
+18.18.2
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index ea7012d8..35488bcd 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -1,3 +1,3 @@
{
- "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin", "dbaeumer.vscode-eslint"]
+ "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin", "dbaeumer.vscode-eslint", "lokalise.i18n-ally"]
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 10259598..261fb9ac 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,19 +2,357 @@
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 2024.10.22-7ca5933
+
+### Features
+- **new tool**: Regex Tester (and Cheatsheet) (#1030) (f5c4ab1)
+- **new tool**: Markdown to HTML (#916) (87984e2)
+- **new-tool**: add email normalizer (#1243) (318fb6e)
+- **new tools**: JSON to XML and XML to JSON (#1231) (f1a5489)
+- **lorem-ipsum**: add button to refresh text lorem-ipsum (#1213) (e1b4f9a)
+- **base64**: Base64 enhancements (#905) (30144aa)
+
+### Bug fixes
+- **favorites**: store favorites regardless of languages (#1202) (7ca5933)
+- **emoji-picker**: debounced search input (#1181) (76a19d2)
+- **format-transformer**: set overflow for output area width (#787) (b430bae)
+- **jwt-parser**: prevent UI overflow on small screen (#1095) (dd4b7e6)
+
+### Refactoring
+- **regex-tester**: better description (7251700)
+
+### Chores
+- **sponsors**: fern sponsor banners (#1314) (f962c41)
+- **readme**: updated logos (#1294) (6709498)
+
+### Documentation
+- **author**: updated author links (#1316) (1c35ac3)
+
+## Version 2024.05.13-a0bc346
+
+### Features
+- **i18n**: added German translation (#1038) (2c2fb21)
+- **new tool**: Outlook Safelink Decoder (#911) (d3b32cc)
+- **new tool**: ascii art generator (#886) (fe349ad)
+- **i18n**: get locales on build (#880) (dc04615)
+- **i18n**: added vi tools translations (#876) (079aa21)
+- **i18n**: added zh tools translations (#874) (9c6b122)
+- **i18n**: added missing locale files in tools (#863) (7f5fa00)
+- **i18n**: added vietnamese language (#859) (1334bff)
+- **i18n**: added spanish language (#854) (85b50bb)
+- **i18n**: added portuguese language (#813) (c65ffb6)
+- **i18n**: added ukrainian language (#827) (693f362)
+- **new-tool**: yaml formater (#779) (fc06f01)
+- **new-tool**: added unicode conversion utilities (#858) (c46207f)
+
+### Bug fixes
+- **language**: English language cleanup (#1036) (221ddfa)
+- **url-encoder, validation**: typo in validation of url-encoder.vue #1024 (cb5b462)
+- **integer base converter**: support bigint (#872) (9eac9cb)
+- **bcrypt tool**: allow salt rounds up to 100 (#987) (23f82d9)
+
+### Refactoring
+- **lint**: removed extra semi (33e5294)
+- **auto-imports**: regen auto imports (1242842)
+- **home**: lightened tool cards (#882) (a07806c)
+- **home**: removed n-grid to prevent layout shift (#881) (10e56b3)
+- **i18n**: added locales per tool (#861) (95698cb)
+
+### Chores
+- **issues**: prevent empty issues (#1078) (a0bc346)
+- **issues**: removed old issue templates (#1077) (5a7b0f9)
+- **node**: upgraded node version in CI workflows (b59942a)
+- **version**: release 2024.05.10-33e5294 (38d5687)
+- **issues**: improved issues template (2852c30)
+- **issues**: improved bug issue template (#1046) (a799234)
+
+### Documentation
+- **changelog**: update changelog for 2024.05.10-33e5294 (9dfd347)
+
+## Version 2023.12.21-5ed3693
+
+### Features
+
+- **i18n**: improve chinese i18n (#757) (2e56641)
+- **i18n**: add tooltip and favoriteButton i18n (#756) (a1037cf)
+- **i18n**: add Chinese translation base (#718) (8f99eb6)
+- **new tool**: pdf signature checker (#745) (4781920)
+- **new tool**: numeronym generator (#729) (e07e2ae)
+
+### Bug fixes
+
+- **jwt-parser**: jwt claim array support (#799) (5ed3693)
+- **camera-recorder**: stop camera on navigation (#782) (80e46c9)
+- **doc**: updated create new tool command in readme (#762) (7a70dbb)
+- **base64-file-converter**: fix downloading of index.html content without data preambula (#750) (043e4f0)
+- **docker**: rollback armv7 in docker releases (#741) (205e360)
+- **eta**: corrected example (#737) (821cbea)
+
+### Refactoring
+
+- **about, i18n**: improved i18n dx with markdown (#753) (bd3edcb)
+- **token, i18n**: complete fr translation (#752) (de1ee69)
+- **uuid generator**: uuid version picker (#751) (38586ca)
+- **case converter**: no split on lowercase, uppercase and mocking case (#748) (ca43a25)
+- **ui**: replaced legacy n-upload with c-file-upload (#747) (7fe47b3)
+- **token**: added password in token generator keywords (#746) (16ffe6b)
+- **bcrypt**: fix input label align (#721) (093ff31)
+
+### Chores
+
+- **deps**: switched from oui to oui-data for mac address lookup (#693) (0fe9a20)
+- **deps**: update unocss monorepo to ^0.57.0 (#638) (2e396d8)
+- **docker**: added armv7 plateform for docker releases (#722) (fe1de8c)
+
+## Version 2023.11.02-7d94e11
+
+### Features
+
+- **i18n**: language selector (#710) (e86fd96)
+
+### Bug fixes
+
+- **dockerfile**: revert replacement of nginx image with non-privileged one (#716) (7d94e11)
+- **encryption**: alert on decryption error (#711) (02b0d0d)
+
+### Refactoring
+
+- **math-evaluator**: improved description (e87f4b1)
+- **math-evaluator**: improved search and UX (#713) (58de897)
+
+## Version 2023.11.01-e164afb
+
+### Features
+
+- **command-palette**: clear prompt on palette close (#708) (d013696)
+- **command-palette**: added about page in command palette (99b1eb9)
+- **new tool**: random MAC address generator (#657) (cc3425d)
+- **case-converter**: added mocking case (#705) (681f7bf)
+- **date-converter**: added excel date time format (#704) (f5eb7a8)
+- **i18n**: token generator (#688) (02e68d3)
+- **i18n**: home page (#687) (00562ed)
+- **i18n**: support for i18n in .ts files (#683) (ebb4ec4)
+- **i18n**: tool card (#682) (84a4a64)
+- **i18n**: about page (#680) (a2b53c2)
+- **i18n**: 404 page (#679) (35563b8)
+- **new tool**: text to ascii converter (#669) (b2ad4f7)
+- **new tool**: ULID generator (#623) (5c4d775)
+- **new tool**: add wifi qr code generator (#599) (0eedce6)
+- **new tool**: iban validation and parser (#591) (3a63837)
+- **new tool**: text diff and comparator (#588) (81bfe57)
+
+### Bug fixes
+
+- **deps**: fix issue on slugify (#593) (#673) (720201a)
+- **deps**: update dependency monaco-editor to ^0.43.0 (#620) (e371ef7)
+- **deps**: update dependency sql-formatter to v13 (#606) (c7d4562)
+
+### Refactoring
+
+- **ui**: better ui demo preview menu (#664) (015c673)
+- **color-converter**: improved color-converter UX (#701) (abb8335)
+- **docker**: improved docker config (#700) (020e9cb)
+- **c-table**: added description on c-table for accessibility (b408df8)
+- **ci**: reduced timeout in e2e (#666) (88b8818)
+- **ui**: new c-table ui component (#665) (ee4c853)
+- **ui**: removed n-page-header component in user-agent parser (#663) (cbf58fd)
+- **ui**: removed n-p components in about page (#662) (a757a51)
+- **ui**: switched naive tooltip components to custom ones (#661) (025f556)
+- **spelling**: minor corrections to phrasing/spelling (#596) (8a30b6b)
+- **i18n**: merge tools scoped locales with global ones (#612) (233d556)
+- **c-key-value-list**: got rid of table for layout (#611) (7ab9204)
+- **CI**: run e2e against built app and no longer vercel (#610) (18dd140)
+- **bcrypt**: fix typo (#604) (e18bae1)
+
+### Chores
+
+- **deps**: clean unused dependencies (#709) (e164afb)
+- **deps**: update docker/setup-qemu-action action to v3 (#627) (4365226)
+- **deps**: update docker/setup-buildx-action action to v3 (#626) (57ecda1)
+- **deps**: update docker/login-action action to v3 (#625) (d8d7a3b)
+- **deps**: update docker/build-push-action action to v5 (#624) (d36b18f)
+- **deps**: update dependency node to v18.18.2 (#674) (eea9f91)
+- **deps**: update dependency node to v18.18.0 (#636) (2d2dffb)
+- **deps**: update actions/checkout action to v4 (#613) (4972159)
+- **deps**: update dependency unplugin-icons to ^0.17.0 (#609) (f035f48)
+- **deps**: update dependency @intlify/unplugin-vue-i18n to ^0.13.0 (#597) (d1dff42)
+- **deps**: update dependency @antfu/eslint-config to ^0.41.0 (#585) (a9cd91c)
+- **deps**: update dependency typescript to ~5.2.0 (#587) (f3e14fc)
+
+### Doc
+
+- **readme**: added contributors list (#622) (557b304)
+- **hosting**: added cloudron in the other hosting solutions section (#589) (06c3547)
+
+## Version 2023.08.21-6f93cba
+
+### Features
+
+- **copy**: support legacy copy to clipboard for older browser (#581) (6f93cba)
+- **new tool**: string obfuscator (#575) (c58d6e3)
+
+### Bug fixes
+
+- **deps**: update dependency sql-formatter to v12 (#520) (2bcb77a)
+
+### Chores
+
+- **deps**: switched to fucking typescript v5 (#501) (76b2761)
+- **deps**: update dependency @antfu/eslint-config to ^0.40.0 (#552) (6ff9a01)
+- **deps**: update dependency prettier to v3 (#564) (a2b9b15)
+- **deps**: removed @typescript-eslint/parser (#563) (144f86e)
+- **deps**: removed ts-pattern (#565) (0f1f659)
+
+## Version 2023.08.16-9bd4ad4
+
+### Features
+
+- **Case Converter**: Add lowercase and uppercase (#534) (7b6232a)
+- **new tool**: emoji picker (#551) (93f7cf0)
+- **ui**: added c-select in the ui lib (#550) (dfa1ba8)
+- **new-tool**: password strength analyzer (#502) (a9c7b89)
+- **new-tool**: yaml to toml (e29b258)
+- **new-tool**: json to toml (ea50a3f)
+- **new-tool**: toml to yaml (746e5bd)
+- **new-tool**: toml to json (c7d4f11)
+- **command-palette**: random tool action (ec4c533)
+- **config**: allow app to run in a subfolder via BASE_URL (#461) (6304595)
+- **new-tool**: percentage calculator (#456) (b9406a4)
+- **new-tool**: json to csv converter (69f0bd0)
+- **new tool**: xml formatter (#457) (a6bbeae)
+- **chmod-calculator**: added symbolic representation (#455) (f771e7a)
+- **enhancement**: use system dark mode (#458) (cf7b1f0)
+- **phone-parser**: searchable country code select (d2956b6)
+- **new tool**: camera screenshot and recorder (34d8e5c)
+- **base64-string-converter**: switch to encode and decode url safe base64 strings (#392) (0b20f1c)
+
+### Bug fixes
+
+- **deps**: update dependency uuid to v9 (#566) (5e12991)
+- **deps**: update dependency mathjs to v11 (#519) (7924456)
+- **deps**: update dependency @vueuse/router to v10 (#516) (ea0f27c)
+- **copy**: prevent shorthand copy if source is present in useCopy (#559) (86e964a)
+- **c-lib**: hide component library shortcut link in non-dev (#557) (56d74d0)
+- **emoji picker**: fix copy button (#556) (e5d0ba7)
+- **deps**: update dependency @vueuse/head to v1 (#515) (d12dd40)
+- **deps**: update dependency country-code-lookup to ^0.1.0 (#493) (8c72e69)
+- **deps**: update dependency @vueuse/head to ^0.9.0 (#492) (cec9dea)
+- **i18n**: fallback for demo i18n (12d9e5d)
+- **typos**: fixed more typos & uppercase JSON (#475) (9526ed8)
+- **about**: typos and wording (#474) (7068610)
+- **mime-types**: typos (#470) (c4cec9e)
+- **sonar**: took down minor sonar warning (4cbd7ac)
+- **readme**: typo (105b21b)
+- **ipv4-range-expander**: calculate correct for ip addresses where the first octet is lower than 128 (#405) (8c92d56)
+- **ipv4-converter**: removed readonly on input (7aed9c5)
+
+### Refactoring
+
+- **navbar**: consistent spacing in navbar buttons (#507) (30f88fc)
+- **ui**: remove n-text (#506) (72c98a3)
+- **ui**: replaced some n-input to c-input (#505) (05ea545)
+- **json-viewer**: input monospace font (#485) (9125dcf)
+- **search**: command palette design (#463) (bcb98b3)
+- **c-input-text**: force usage of props with default (1e2a35b)
+- **naming**: prevent auto import conflicts for git memo (45c2474)
+- **imports**: removed unnecessary imports to vue (fe61f0f)
+- **ui**: removed all n-space (4d2b037)
+- **ui**: replaced some n-input with c-input-text (f7fc779)
+
+### Chores
+
+- **deps**: update dependency vitest to ^0.34.0 (#562) (9bd4ad4)
+- **deps**: update dependency node to v18.17.1 (#560) (65a9474)
+- **deps**: update dependency unocss to ^0.55.0 (#561) (85cc7a8)
+- **deps**: update dependency @unocss/eslint-config to ^0.55.0 (#553) (4268e25)
+- **deps**: update dependency @intlify/unplugin-vue-i18n to ^0.12.0 (#526) (d1c8880)
+- **deps**: update docker/login-action action to v2 (#512) (99bc84c)
+- **deps**: update dependency jsdom to v22 (#499) (cd5a503)
+- **deps**: update dependency @vitejs/plugin-vue-jsx to v3 (#497) (1a60236)
+- **deps**: update dependency @vitejs/plugin-vue to v4 (#496) (a249421)
+- **deps**: update dependency vite-plugin-pwa to ^0.16.0 (#488) (6498c9b)
+- **deps**: update dependency vite to v4 (#503) (f40d7ec)
+- **ci**: e2e against vercel deployement (#518) (2e28c50)
+- **e2e**: execute e2e against built app (#511) (cf382b5)
+- **deps**: update github/codeql-action action to v2 (#513) (0152583)
+- **deps**: update node.js to v18 (#514) (38cb61d)
+- **deps**: switched from vite-plugin-md to vite-plugin-vue-markdown (#510) (354aed6)
+- **deps**: update dependency workbox-window to v7 (#509) (6b8682f)
+- **deps**: update dependency vite-svg-loader to v4 (#508) (9e8349d)
+- **deps**: update dependency typescript to ~4.9.0 (#481) (f440507)
+- **deps**: update dependency vue-tsc to ^0.40.0 (#490) (b0d9a3e)
+- **deps**: updated unplugin-auto-import (#504) (5c3bebf)
+- **deps**: removed start-server-and-test dependency (8df7cd0)
+- **deps**: update dependency c8 to v8 (#498) (6bda2ca)
+- **deps**: update dependency @types/jsdom to v21 (#495) (994a1c3)
+- **deps**: update node.js to v16.20.1 (#491) (05edaf4)
+- **deps**: update dependency vitest to ^0.32.0 (#489) (49eacea)
+- **deps**: update actions/checkout action to v3 (#494) (3f7d469)
+- **deps**: update dependency unplugin-vue-components to ^0.25.0 (#484) (5f21908)
+- **deps**: update dependency unplugin-auto-import to ^0.16.0 (#483) (6cb0845)
+- **deps**: update dependency unocss to ^0.53.0 (#482) (38710dc)
+- **deps**: update dependency @unocss/eslint-config to ^0.53.0 (#478) (282cfc4)
+- **deps**: added renovate.json (#477) (363c2e4)
+- **i18n**: tool scoped locales (#471) (1b038c7)
+- **wysiwyg-editor**: update tiptap dependencies (732da08)
+- **i18n**: setup i18n plugin config (ebfb872)
+- **config**: netlify deployment support (#443) (93799af)
+- **ci**: shard e2e tests (962a6d6)
+- **lint**: switched to a better lint config (33c9b66)
+
+### Refacor
+
+- **transformers**: use monospace font for JSON and SQL text areas (#476) (ba4876d)
+
+### Documentation
+
+- **ide**: updated vscode extensions settings (#472) (847323c)
+
+### Chors
+
+- **deps**: updated vueuse dependency version (8515c24)
+
+## Version 2023.05.14-77f2efc
+
+### Features
+
+- **list-converter**: a small converter who deals with column based data and do some stuff with it (#387) (83a7b3b)
+- **new tool**: phone parser and normalizer (ce3150c)
+
+### Bug fixes
+
+- **phone-parser**: use default country code (a43c546)
+- **home**: prevent weird blue border on card (3f6c8f0)
+
+### Refactoring
+
+- **ui**: replaced some n-input with c-input-text (77f2efc)
+
+### Chores
+
+- **issues**: updated new tool request issue template (edae4c6)
+
+### Ui-lib
+
+- **new-component**: added text input component in the c-lib (aad8d84)
+- **button**: size variants (401f13f)
+
## Version 2023.04.23-92bd835
### Features
+
- **ui-lib**: demo pages for c-lib components (92bd835)
- **new-tool**: diff of two json objects (362f2fa)
- **ipv4-range-expander**: expands a given IPv4 start and end address to a valid IPv4 subnet (#366) (df989e2)
- **date converter**: auto focus main input (6d22025)
### Bug fixes
+
- **ts**: cleaned legacy typechecking warning (e88c1d5)
- **mac-address-lookup**: added copy handler on button click (c311e38)
### Refactoring
+
- **ui-lib**: prevent c-button to shrink (61ece23)
- **ui**: replaced naive ui cards with custom ones (f080933)
- **clean**: removed unused lodash import (bb32513)
@@ -24,48 +362,60 @@ All notable changes to this project will be documented in this file. See [standa
## Version 2023.04.14-dbad773
### Features
+
- **new-tool**: http status codes (8355bd2)
### Refactoring
+
- **uuid-generator**: prevent NaN in quantity (6fb4994)
### Chores
+
- **release**: create a github release on new version (dbad773)
- **version**: reset CHANGELOG content to support new format (85cb0ff)
## Version 2023.04.14-f9b77b7
### Features
+
- **new-tool**: http status codes (8355bd2)
### Refactoring
+
- **uuid-generator**: prevent NaN in quantity (6fb4994)
### Chores
+
- **release**: create a github release on new version (f9b77b7)
- **version**: reset CHANGELOG content to support new format (85cb0ff)
## Version 2023.04.14-2f0d239
### Features
+
- **new-tool**: http status codes (8355bd2)
### Refactoring
+
- **uuid-generator**: prevent NaN in quantity (6fb4994)
### Chores
+
- **release**: create a github release on new version (2f0d239)
- **version**: reset CHANGELOG content to support new format (85cb0ff)
## Version 2023.04.14-474cae4
### Features
+
- **new-tool**: http status codes (8355bd2)
### Refactoring
+
- **uuid-generator**: prevent NaN in quantity (6fb4994)
### Chores
+
- **release**: create a github release on new version (474cae4)
- **version**: reset CHANGELOG content to support new format (85cb0ff)
diff --git a/Dockerfile b/Dockerfile
index f67fa940..734bd73d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,9 +1,12 @@
# build stage
FROM node:lts-alpine AS build-stage
+# Set environment variables for non-interactive npm installs
+ENV NPM_CONFIG_LOGLEVEL warn
+ENV CI true
WORKDIR /app
+COPY package.json pnpm-lock.yaml ./
+RUN npm install -g pnpm && pnpm i --frozen-lockfile
COPY . .
-RUN npm install -g pnpm
-RUN pnpm i --frozen-lockfile
RUN pnpm build
# production stage
@@ -11,4 +14,4 @@ FROM nginx:stable-alpine AS production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
-CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
+CMD ["nginx", "-g", "daemon off;"]
diff --git a/README.md b/README.md
index 2f8ee8c2..a13246e8 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,8 @@
-
+
+
+
+
+
Useful tools for developer and people working in IT. [Have a look !](https://it-tools.tech).
@@ -6,7 +10,7 @@ Useful tools for developer and people working in IT. [Have a look !](https://it-
Please check the [issues](https://github.com/CorentinTh/it-tools/issues) to see if some feature listed to be implemented.
-You have an idea of a tool? Submit a [feature request](https://github.com/CorentinTh/it-tools/issues/new?assignees=corentinth&labels=&template=feature_request.md&title=)!
+You have an idea of a tool? Submit a [feature request](https://github.com/CorentinTh/it-tools/issues/new/choose)!
## Self host
@@ -26,6 +30,7 @@ docker run -d --name it-tools --restart unless-stopped -p 8080:80 ghcr.io/corent
**Other solutions:**
+- [Cloudron](https://www.cloudron.io/store/tech.ittools.cloudron.html)
- [Tipi](https://www.runtipi.io/docs/apps-available)
- [Unraid](https://unraid.net/community/apps?q=it-tools)
@@ -33,7 +38,25 @@ docker run -d --name it-tools --restart unless-stopped -p 8080:80 ghcr.io/corent
### Recommended IDE Setup
-[VSCode](https://code.visualstudio.com/) + [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).
+[VSCode](https://code.visualstudio.com/) with the following extensions:
+
+- [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)
+- [i18n Ally](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally)
+
+with the following settings:
+
+```json
+{
+ "editor.formatOnSave": false,
+ "editor.codeActionsOnSave": {
+ "source.fixAll.eslint": true
+ },
+ "i18n-ally.localesPaths": ["locales", "src/tools/*/locales"],
+ "i18n-ally.keystyle": "nested"
+}
+```
### Type Support for `.vue` Imports in TS
@@ -81,17 +104,25 @@ pnpm lint
To create a new tool, there is a script that generate the boilerplate of the new tool, simply run:
```sh
-pnpm run script:create-new-tool my-tool-name
+pnpm run script:create:tool my-tool-name
```
-It will create a directory in `src/tools` with the correct files, and a the import in `src/tools/index.ts`. You will just need to add the inported tool in the proper category and develop the tool.
+It will create a directory in `src/tools` with the correct files, and a the import in `src/tools/index.ts`. You will just need to add the imported tool in the proper category and develop the tool.
+
+## Contributors
+
+Big thanks to all the people who have already contributed!
+
+[](https://github.com/corentinth/it-tools/graphs/contributors)
## Credits
-Coded with ❤️ by [Corentin Thomasset](//corentin-thomasset.fr).
+Coded with ❤️ by [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=readme).
This project is continuously deployed using [vercel.com](https://vercel.com).
+Contributor graph is generated using [contrib.rocks](https://contrib.rocks/preview?repo=corentinth/it-tools).
+
diff --git a/_templates/generator/ui-component/component.demo.ejs.t b/_templates/generator/ui-component/component.demo.ejs.t
new file mode 100644
index 00000000..7f9b473f
--- /dev/null
+++ b/_templates/generator/ui-component/component.demo.ejs.t
@@ -0,0 +1,6 @@
+---
+to: src/ui/<%= h.changeCase.param(name) %>/<%= h.changeCase.param(name) %>.demo.vue
+---
+
+ <<%= h.changeCase.param(name) %> />
+
diff --git a/_templates/generator/ui-component/component.ejs.t b/_templates/generator/ui-component/component.ejs.t
new file mode 100644
index 00000000..43acd4d1
--- /dev/null
+++ b/_templates/generator/ui-component/component.ejs.t
@@ -0,0 +1,13 @@
+---
+to: src/ui/<%= h.changeCase.param(name) %>/<%= h.changeCase.param(name) %>.vue
+---
+
+
+
+
+ {{ prop }}
+
+
diff --git a/auto-imports.d.ts b/auto-imports.d.ts
index 2850890b..186963f1 100644
--- a/auto-imports.d.ts
+++ b/auto-imports.d.ts
@@ -19,7 +19,9 @@ declare global {
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']
@@ -39,9 +41,6 @@ declare global {
const isReactive: typeof import('vue')['isReactive']
const isReadonly: typeof import('vue')['isReadonly']
const isRef: typeof import('vue')['isRef']
- const logicAnd: typeof import('@vueuse/core')['logicAnd']
- const logicNot: typeof import('@vueuse/core')['logicNot']
- const logicOr: typeof import('@vueuse/core')['logicOr']
const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable']
const markRaw: typeof import('vue')['markRaw']
const nextTick: typeof import('vue')['nextTick']
@@ -94,6 +93,7 @@ declare global {
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']
@@ -104,6 +104,19 @@ declare global {
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']
@@ -114,8 +127,8 @@ declare global {
const useBroadcastChannel: typeof import('@vueuse/core')['useBroadcastChannel']
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
const useCached: typeof import('@vueuse/core')['useCached']
- const useClamp: typeof import('@vueuse/core')['useClamp']
const useClipboard: typeof import('@vueuse/core')['useClipboard']
+ 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']
@@ -157,6 +170,7 @@ declare global {
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']
@@ -189,12 +203,18 @@ declare global {
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']
@@ -208,14 +228,17 @@ declare global {
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']
@@ -227,6 +250,8 @@ declare global {
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']
@@ -247,8 +272,10 @@ declare global {
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']
@@ -282,7 +309,9 @@ declare module 'vue' {
readonly createGlobalState: UnwrapRef
readonly createInjectionState: UnwrapRef
readonly createReactiveFn: UnwrapRef
+ readonly createReusableTemplate: UnwrapRef
readonly createSharedComposable: UnwrapRef
+ readonly createTemplatePromise: UnwrapRef
readonly createUnrefFn: UnwrapRef
readonly customRef: UnwrapRef
readonly debouncedRef: UnwrapRef
@@ -302,9 +331,6 @@ declare module 'vue' {
readonly isReactive: UnwrapRef
readonly isReadonly: UnwrapRef
readonly isRef: UnwrapRef
- readonly logicAnd: UnwrapRef
- readonly logicNot: UnwrapRef
- readonly logicOr: UnwrapRef
readonly makeDestructurable: UnwrapRef
readonly markRaw: UnwrapRef
readonly nextTick: UnwrapRef
@@ -357,6 +383,7 @@ declare module 'vue' {
readonly toReactive: UnwrapRef
readonly toRef: UnwrapRef
readonly toRefs: UnwrapRef
+ readonly toValue: UnwrapRef
readonly triggerRef: UnwrapRef
readonly tryOnBeforeMount: UnwrapRef
readonly tryOnBeforeUnmount: UnwrapRef
@@ -367,6 +394,19 @@ declare module 'vue' {
readonly unrefElement: UnwrapRef
readonly until: UnwrapRef
readonly useActiveElement: UnwrapRef
+ readonly useAnimate: UnwrapRef
+ readonly useArrayDifference: UnwrapRef
+ readonly useArrayEvery: UnwrapRef
+ readonly useArrayFilter: UnwrapRef
+ readonly useArrayFind: UnwrapRef
+ readonly useArrayFindIndex: UnwrapRef
+ readonly useArrayFindLast: UnwrapRef
+ readonly useArrayIncludes: UnwrapRef
+ readonly useArrayJoin: UnwrapRef
+ readonly useArrayMap: UnwrapRef
+ readonly useArrayReduce: UnwrapRef
+ readonly useArraySome: UnwrapRef
+ readonly useArrayUnique: UnwrapRef
readonly useAsyncQueue: UnwrapRef
readonly useAsyncState: UnwrapRef
readonly useAttrs: UnwrapRef
@@ -377,8 +417,8 @@ declare module 'vue' {
readonly useBroadcastChannel: UnwrapRef
readonly useBrowserLocation: UnwrapRef
readonly useCached: UnwrapRef
- readonly useClamp: UnwrapRef
readonly useClipboard: UnwrapRef
+ readonly useCloned: UnwrapRef
readonly useColorMode: UnwrapRef
readonly useConfirmDialog: UnwrapRef
readonly useCounter: UnwrapRef
@@ -420,6 +460,7 @@ declare module 'vue' {
readonly useFullscreen: UnwrapRef
readonly useGamepad: UnwrapRef
readonly useGeolocation: UnwrapRef
+ readonly useI18n: UnwrapRef
readonly useIdle: UnwrapRef
readonly useImage: UnwrapRef
readonly useInfiniteScroll: UnwrapRef
@@ -452,12 +493,18 @@ declare module 'vue' {
readonly useOnline: UnwrapRef
readonly usePageLeave: UnwrapRef
readonly useParallax: UnwrapRef
+ readonly useParentElement: UnwrapRef
+ readonly usePerformanceObserver: UnwrapRef
readonly usePermission: UnwrapRef
readonly usePointer: UnwrapRef
+ readonly usePointerLock: UnwrapRef
readonly usePointerSwipe: UnwrapRef
readonly usePreferredColorScheme: UnwrapRef
+ readonly usePreferredContrast: UnwrapRef
readonly usePreferredDark: UnwrapRef
readonly usePreferredLanguages: UnwrapRef
+ readonly usePreferredReducedMotion: UnwrapRef
+ readonly usePrevious: UnwrapRef
readonly useRafFn: UnwrapRef
readonly useRefHistory: UnwrapRef
readonly useResizeObserver: UnwrapRef
@@ -471,14 +518,17 @@ declare module 'vue' {
readonly useSessionStorage: UnwrapRef
readonly useShare: UnwrapRef
readonly useSlots: UnwrapRef
+ readonly useSorted: UnwrapRef
readonly useSpeechRecognition: UnwrapRef
readonly useSpeechSynthesis: UnwrapRef
readonly useStepper: UnwrapRef
readonly useStorage: UnwrapRef
readonly useStorageAsync: UnwrapRef
readonly useStyleTag: UnwrapRef
+ readonly useSupported: UnwrapRef
readonly useSwipe: UnwrapRef
readonly useTemplateRefsList: UnwrapRef
+ readonly useTextDirection: UnwrapRef
readonly useTextSelection: UnwrapRef
readonly useTextareaAutosize: UnwrapRef
readonly useThrottle: UnwrapRef
@@ -490,6 +540,8 @@ declare module 'vue' {
readonly useTimeoutPoll: UnwrapRef
readonly useTimestamp: UnwrapRef
readonly useTitle: UnwrapRef
+ readonly useToNumber: UnwrapRef
+ readonly useToString: UnwrapRef
readonly useToggle: UnwrapRef
readonly useTransition: UnwrapRef
readonly useUrlSearchParams: UnwrapRef
@@ -510,8 +562,294 @@ declare module 'vue' {
readonly watchArray: UnwrapRef
readonly watchAtMost: UnwrapRef
readonly watchDebounced: UnwrapRef
+ readonly watchDeep: UnwrapRef
readonly watchEffect: UnwrapRef
readonly watchIgnorable: UnwrapRef
+ readonly watchImmediate: UnwrapRef
+ readonly watchOnce: UnwrapRef
+ readonly watchPausable: UnwrapRef
+ readonly watchPostEffect: UnwrapRef
+ readonly watchSyncEffect: UnwrapRef
+ readonly watchThrottled: UnwrapRef
+ readonly watchTriggerable: UnwrapRef
+ readonly watchWithFilter: UnwrapRef
+ readonly whenever: UnwrapRef
+ }
+}
+declare module '@vue/runtime-core' {
+ interface ComponentCustomProperties {
+ readonly EffectScope: UnwrapRef
+ readonly asyncComputed: UnwrapRef
+ readonly autoResetRef: UnwrapRef
+ readonly computed: UnwrapRef
+ readonly computedAsync: UnwrapRef
+ readonly computedEager: UnwrapRef
+ readonly computedInject: UnwrapRef
+ readonly computedWithControl: UnwrapRef
+ readonly controlledComputed: UnwrapRef
+ readonly controlledRef: UnwrapRef
+ readonly createApp: UnwrapRef
+ readonly createEventHook: UnwrapRef
+ readonly createGlobalState: UnwrapRef
+ readonly createInjectionState: UnwrapRef
+ readonly createReactiveFn: UnwrapRef
+ readonly createReusableTemplate: UnwrapRef
+ readonly createSharedComposable: UnwrapRef
+ readonly createTemplatePromise: UnwrapRef
+ readonly createUnrefFn: UnwrapRef
+ readonly customRef: UnwrapRef
+ readonly debouncedRef: UnwrapRef
+ readonly debouncedWatch: UnwrapRef
+ readonly defineAsyncComponent: UnwrapRef
+ readonly defineComponent: UnwrapRef
+ readonly eagerComputed: UnwrapRef
+ readonly effectScope: UnwrapRef
+ readonly extendRef: UnwrapRef
+ readonly getCurrentInstance: UnwrapRef
+ readonly getCurrentScope: UnwrapRef
+ readonly h: UnwrapRef
+ readonly ignorableWatch: UnwrapRef
+ readonly inject: UnwrapRef
+ readonly isDefined: UnwrapRef
+ readonly isProxy: UnwrapRef
+ readonly isReactive: UnwrapRef
+ readonly isReadonly: UnwrapRef
+ readonly isRef: UnwrapRef
+ readonly makeDestructurable: UnwrapRef
+ readonly markRaw: UnwrapRef
+ readonly nextTick: UnwrapRef
+ readonly onActivated: UnwrapRef
+ readonly onBeforeMount: UnwrapRef
+ readonly onBeforeRouteLeave: UnwrapRef
+ readonly onBeforeRouteUpdate: UnwrapRef
+ readonly onBeforeUnmount: UnwrapRef
+ readonly onBeforeUpdate: UnwrapRef
+ readonly onClickOutside: UnwrapRef
+ readonly onDeactivated: UnwrapRef
+ readonly onErrorCaptured: UnwrapRef
+ readonly onKeyStroke: UnwrapRef
+ readonly onLongPress: UnwrapRef
+ readonly onMounted: UnwrapRef
+ readonly onRenderTracked: UnwrapRef
+ readonly onRenderTriggered: UnwrapRef
+ readonly onScopeDispose: UnwrapRef
+ readonly onServerPrefetch: UnwrapRef
+ readonly onStartTyping: UnwrapRef
+ readonly onUnmounted: UnwrapRef
+ readonly onUpdated: UnwrapRef
+ readonly pausableWatch: UnwrapRef
+ readonly provide: UnwrapRef
+ readonly reactify: UnwrapRef
+ readonly reactifyObject: UnwrapRef
+ readonly reactive: UnwrapRef
+ readonly reactiveComputed: UnwrapRef
+ readonly reactiveOmit: UnwrapRef
+ readonly reactivePick: UnwrapRef
+ readonly readonly: UnwrapRef
+ readonly ref: UnwrapRef
+ readonly refAutoReset: UnwrapRef
+ readonly refDebounced: UnwrapRef
+ readonly refDefault: UnwrapRef
+ readonly refThrottled: UnwrapRef
+ readonly refWithControl: UnwrapRef
+ readonly resolveComponent: UnwrapRef
+ readonly resolveRef: UnwrapRef
+ readonly resolveUnref: UnwrapRef
+ readonly shallowReactive: UnwrapRef
+ readonly shallowReadonly: UnwrapRef
+ readonly shallowRef: UnwrapRef
+ readonly syncRef: UnwrapRef
+ readonly syncRefs: UnwrapRef
+ readonly templateRef: UnwrapRef
+ readonly throttledRef: UnwrapRef
+ readonly throttledWatch: UnwrapRef
+ readonly toRaw: UnwrapRef
+ readonly toReactive: UnwrapRef
+ readonly toRef: UnwrapRef
+ readonly toRefs: UnwrapRef
+ readonly toValue: UnwrapRef
+ readonly triggerRef: UnwrapRef
+ readonly tryOnBeforeMount: UnwrapRef
+ readonly tryOnBeforeUnmount: UnwrapRef
+ readonly tryOnMounted: UnwrapRef
+ readonly tryOnScopeDispose: UnwrapRef
+ readonly tryOnUnmounted: UnwrapRef
+ readonly unref: UnwrapRef
+ readonly unrefElement: UnwrapRef
+ readonly until: UnwrapRef
+ readonly useActiveElement: UnwrapRef
+ readonly useAnimate: UnwrapRef
+ readonly useArrayDifference: UnwrapRef
+ readonly useArrayEvery: UnwrapRef
+ readonly useArrayFilter: UnwrapRef
+ readonly useArrayFind: UnwrapRef
+ readonly useArrayFindIndex: UnwrapRef
+ readonly useArrayFindLast: UnwrapRef
+ readonly useArrayIncludes: UnwrapRef
+ readonly useArrayJoin: UnwrapRef
+ readonly useArrayMap: UnwrapRef
+ readonly useArrayReduce: UnwrapRef
+ readonly useArraySome: UnwrapRef
+ readonly useArrayUnique: UnwrapRef
+ readonly useAsyncQueue: UnwrapRef
+ readonly useAsyncState: UnwrapRef
+ readonly useAttrs: UnwrapRef
+ readonly useBase64: UnwrapRef
+ readonly useBattery: UnwrapRef
+ readonly useBluetooth: UnwrapRef
+ readonly useBreakpoints: UnwrapRef
+ readonly useBroadcastChannel: UnwrapRef
+ readonly useBrowserLocation: UnwrapRef
+ readonly useCached: UnwrapRef
+ readonly useClipboard: UnwrapRef
+ readonly useCloned: UnwrapRef
+ readonly useColorMode: UnwrapRef
+ readonly useConfirmDialog: UnwrapRef
+ readonly useCounter: UnwrapRef
+ readonly useCssModule: UnwrapRef
+ readonly useCssVar: UnwrapRef
+ readonly useCssVars: UnwrapRef
+ readonly useCurrentElement: UnwrapRef
+ readonly useCycleList: UnwrapRef
+ readonly useDark: UnwrapRef
+ readonly useDateFormat: UnwrapRef
+ readonly useDebounce: UnwrapRef
+ readonly useDebounceFn: UnwrapRef