diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10cdcb581..0c4b801a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,6 +32,11 @@ jobs: matrix: os: [macos-latest, ubuntu-latest, windows-latest] + permissions: + id-token: write + contents: write + attestations: write + steps: - name: Check out Git repository Fully uses: actions/checkout@v4 @@ -140,14 +145,29 @@ jobs: path: | out/make/**/*.dmg retention-days: 90 + + - name: Generate artifact attestation + if: github.ref_type == 'tag' || github.event.inputs.tag_version != '' + continue-on-error: true + uses: actions/attest-build-provenance@v1 + with: + subject-path: | + out/make/**/*.dmg + out/make/**/*.zip + out/make/**/*.exe + out/make/**/*.AppImage + out/make/**/*.yml + - run: npx changelogithub if: github.ref_type == 'tag' || github.event.inputs.tag_version != '' continue-on-error: true env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Setup Version id: version uses: ./.github/actions/setup-version + - name: Create Release Draft if: github.ref_type == 'tag' || github.event.inputs.tag_version != '' uses: softprops/action-gh-release@v2 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f2270e269..d0d6f1b1d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,13 +3,13 @@ on: push: branches: [main, dev] -name: CI Typecheck and Lint +name: CI Format, Typecheck and Lint concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: build: - name: Lint and Typecheck + name: Format, Lint and Typecheck runs-on: ubuntu-latest strategy: @@ -33,10 +33,10 @@ jobs: cache: "pnpm" - name: Install dependencies run: pnpm install - - name: Lint and Typecheck - + - name: Format, Lint and Typecheck run: | + pnpm run format:check pnpm run typecheck - npm run lint + pnpm run lint - name: Run test run: pnpm test diff --git a/.prettierignore b/.prettierignore index a2f979695..479f6242c 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,4 @@ -src/hono.ts +packages/shared/src/hono.ts +pnpm-lock.yaml + +CHANGELOG.md diff --git a/.vscode/settings.json b/.vscode/settings.json index 946204557..b9bc3075b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -55,7 +55,7 @@ "severity": "off" } ], - "cSpell.words": ["rsshub"], + "cSpell.words": ["rsshub", "Русский"], "editor.foldingImportsByDefault": true, "commentTranslate.hover.enabled": false, "typescript.tsdk": "node_modules/typescript/lib", diff --git a/CHANGELOG.md b/CHANGELOG.md index 6106919eb..a61a8926a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## [0.0.1-alpha.13](https://github.com/RSSNext/follow/compare/v0.0.1-alpha.3...v0.0.1-alpha.13) (2024-09-16) +## [0.0.1-alpha.14](https://github.com/RSSNext/follow/compare/v0.0.1-alpha.3...v0.0.1-alpha.14) (2024-09-22) ### Bug Fixes @@ -21,30 +21,39 @@ * add feed should validate feed id first ([767710d](https://github.com/RSSNext/follow/commit/767710deda41af1842179ef03f9b6b1b79208f9e)) * add feed temp store use nonce ([6e36232](https://github.com/RSSNext/follow/commit/6e36232b41f1b6d877caf74e1ad7be50da716381)) * add feed when site url not match ([1a2190c](https://github.com/RSSNext/follow/commit/1a2190c1aa834a33932788e65269a1128fd3a7e2)) +* add hover bg color when context menu opened ([6ceb263](https://github.com/RSSNext/follow/commit/6ceb263b777ccc9681cd086a28e019ce9bda3a43)) * add language selector loading lock map ([2d14c1e](https://github.com/RSSNext/follow/commit/2d14c1e5b5ad086b3556dd9a8862a6ce00368c4d)) * add link ([d9168c0](https://github.com/RSSNext/follow/commit/d9168c01b3f2a16fbfeadb722173e819dd3feb80)) * add nonce id for temp feed ([8f81d99](https://github.com/RSSNext/follow/commit/8f81d99f1dd48e60f9861d69c840c77fa70bde93)) * add page error boundary ([86d366d](https://github.com/RSSNext/follow/commit/86d366db76add0ad07eb921290b9444b211e2c4f)) * add show readability tip condition ([208e404](https://github.com/RSSNext/follow/commit/208e4040cea5d3485acf5750e7120fb5f715e30f)) * add some polyfills for old browser, fixed [#236](https://github.com/RSSNext/follow/issues/236) ([b1fbfbd](https://github.com/RSSNext/follow/commit/b1fbfbd7e38a6a10430f7ed2d4b0644c2d5bbf22)) +* add tooltip for resize panel ([cdec351](https://github.com/RSSNext/follow/commit/cdec3510352cc7281e75ef1957e32bc6e712cf04)) * adjust card style ([bec6d1a](https://github.com/RSSNext/follow/commit/bec6d1a259560261d06c9ed1f4ac56549f1eaae7)) +* adjust claim modal style ([ea3c96f](https://github.com/RSSNext/follow/commit/ea3c96f8f3745440108255980e3b66e38d83af4c)) * adjust code block padding ([3a164e6](https://github.com/RSSNext/follow/commit/3a164e6aa893b9c6be10b87ac981c2a4ccca4bee)) +* adjust layout ([cf9285b](https://github.com/RSSNext/follow/commit/cf9285b40e6fc8b027588fe01a0f50b29dd202dc)) * adjust responsive breakpoint for entry content ([d9235f4](https://github.com/RSSNext/follow/commit/d9235f4e68b71c143b2c404c925a3602378a3cda)) * after webview fullscreen force repaint ([4187b52](https://github.com/RSSNext/follow/commit/4187b52ae213d9b00f70aac4a6c0dacbb2339e50)) * align end for corner button in player ([#301](https://github.com/RSSNext/follow/issues/301)) ([e551063](https://github.com/RSSNext/follow/commit/e55106307a7ce04be3e6cf34079d6781203eff1e)) * align to the baseline ([aebae13](https://github.com/RSSNext/follow/commit/aebae13cbcb0b5dde10bad8e06868c0eb605b13d)) +* allow cancel proxy configuration ([#545](https://github.com/RSSNext/follow/issues/545)) ([6e70350](https://github.com/RSSNext/follow/commit/6e70350f05821c26a92700d38e9243d9730eeff0)) * allow logout on login page ([#244](https://github.com/RSSNext/follow/issues/244)) ([8b679d1](https://github.com/RSSNext/follow/commit/8b679d1abdb7db2515bd1acb013adb7d1870312f)) +* allow prod and dev builds running in the same time ([#479](https://github.com/RSSNext/follow/issues/479)) ([7140751](https://github.com/RSSNext/follow/commit/7140751bc2c068782b6e9e9255754629d89152c9)) * allow toggle switch by clicking label ([#185](https://github.com/RSSNext/follow/issues/185)) ([5d98eb4](https://github.com/RSSNext/follow/commit/5d98eb42303e4ba6bbe0bfd37d8a17b31f66658a)) * alpha typo ([961a75c](https://github.com/RSSNext/follow/commit/961a75cd46227c7bb11bae3743b970b2884ccc44)) * audio player async logic and auto pause logic ([ba40b44](https://github.com/RSSNext/follow/commit/ba40b44ce91bb8acd118b9c6d846ed8d5b9b022c)) +* audioCover animation and estimatedMins style ([#523](https://github.com/RSSNext/follow/issues/523)) ([11ff31b](https://github.com/RSSNext/follow/commit/11ff31bd40af1884a1760d0d1ca5b9a726f13620)) * auto completion can not open when focus in modal ([591f13b](https://github.com/RSSNext/follow/commit/591f13b17f8a22c0c39718d67a88b2024c57efb7)) * auto fill default category and view ([ab31850](https://github.com/RSSNext/follow/commit/ab31850b68b215bef9c4c1ed4e75abad5aaa625d)) * avatar setting ([55b7868](https://github.com/RSSNext/follow/commit/55b7868f2e2aa3c01468e1268e3436485491ee1a)) * border color in dark mode ([472fbb2](https://github.com/RSSNext/follow/commit/472fbb2a6b41d9953bbfbda5452558621f71c8d5)) * button align ([456b6f2](https://github.com/RSSNext/follow/commit/456b6f2c0c41734d771b9677971430178c0cd20a)) * button styles, fixed [#202](https://github.com/RSSNext/follow/issues/202) ([6649577](https://github.com/RSSNext/follow/commit/66495777798cb4775ccc440a0c6354dcebe6cd9e)) +* button transition ([f731d1e](https://github.com/RSSNext/follow/commit/f731d1e34e151828b6fa9553361f476da9d7e39b)) * calc toc scroller range when entry content changed ([66035fe](https://github.com/RSSNext/follow/commit/66035fea72e3ce0c6fbcd8380fbdef612e052cb4)) * can use under window blur ([9b2656e](https://github.com/RSSNext/follow/commit/9b2656ec53f3865378b7f2392d59a6828b31149c)) +* catch access stylesheet error ([16a6231](https://github.com/RSSNext/follow/commit/16a62310e3e0e2a79c5392cec0e7658b97d0ee21)) * category in route should encodeURLComponent ([d5b79cb](https://github.com/RSSNext/follow/commit/d5b79cba8a5d6d8fe18efee5d58da5610fc3ce68)) * check undefined view ([71712f4](https://github.com/RSSNext/follow/commit/71712f464d2ab3043b602d4d2c311e4cc851e046)) * ci and tootip portal ([3729917](https://github.com/RSSNext/follow/commit/37299173c8fcaf88d44b1a54baf7ddc03aa20ca6)) @@ -57,6 +66,7 @@ * copywrite ([8967d20](https://github.com/RSSNext/follow/commit/8967d20102bc1ad6f2f94b38909c7abfca6168d1)) * corner player tooltip bg color ([16b91f9](https://github.com/RSSNext/follow/commit/16b91f9a7d3267f34f525c2e820efff6e1cbc049)) * correct follower word ([#438](https://github.com/RSSNext/follow/issues/438)) ([e31e343](https://github.com/RSSNext/follow/commit/e31e3433dfdafcab2276f2794065af81ca1f75fe)) +* crashes when docs appear in the discover result ([#494](https://github.com/RSSNext/follow/issues/494)) ([0c470be](https://github.com/RSSNext/follow/commit/0c470bed3eed1533d36e2eff60f9a1aa0ff0d861)) * custom modal ([8d03308](https://github.com/RSSNext/follow/commit/8d03308091a57745489bb48617b7e11134bb89c3)) * daily report animation ([ff16272](https://github.com/RSSNext/follow/commit/ff162722a927d3708f3d857626e6412ae35d3880)) * daily report link title ([0a58159](https://github.com/RSSNext/follow/commit/0a58159acd4fbc12e970f745f27e6488904a99d9)) @@ -67,22 +77,29 @@ * deeplink navigate ([00d41ce](https://github.com/RSSNext/follow/commit/00d41cee5632dab86f7a93b1bc965cb3a896417a)) * default extra window size ([5688eff](https://github.com/RSSNext/follow/commit/5688eff6a70ab9abc3e94d9dce861726df8d9123)) * disable window blur material lower than windows 11 ([3735390](https://github.com/RSSNext/follow/commit/3735390af80671a4bf954f70062f3838206b8890)) +* disabled ghost button style ([e01985b](https://github.com/RSSNext/follow/commit/e01985b1e9bf8a60ea20f47fc3e7a7a9a969bca9)) * discover form overflow scrollbar ([1145e92](https://github.com/RSSNext/follow/commit/1145e92ae7125873d69f2689d86418b004d93319)) * discover form should preview twice when has optional value ([f0f8185](https://github.com/RSSNext/follow/commit/f0f8185d92e447943c14a4ceeeceb7211498bc28)) +* discover page title i18n ([b92d317](https://github.com/RSSNext/follow/commit/b92d317e9c1dbdd674a6b122a02f3f6a3826682f)) +* **discover:** update follow status after add feed, closes [#269](https://github.com/RSSNext/follow/issues/269), closes ([32a55ec](https://github.com/RSSNext/follow/commit/32a55ece6440f80f837adc6d558029ea5fbd6982)) * don't retry when 404 ([8bd9bd0](https://github.com/RSSNext/follow/commit/8bd9bd0a8bf92764d8dd13a0728e3ab821b3484b)) * dont handle unread when filter applied ([acfb35a](https://github.com/RSSNext/follow/commit/acfb35abd0edb85989549849d0176c4a65e5f9fa)) +* downgarde vitest ([dee089e](https://github.com/RSSNext/follow/commit/dee089e1c75bf9031663b682aff9cee33b60db76)) * draggable panel dragging bg color ([8de7078](https://github.com/RSSNext/follow/commit/8de7078d10b733456c480117ba8ed8d2166e20b9)) * drawer edge shadow style ([cbb8649](https://github.com/RSSNext/follow/commit/cbb8649fde99e7a800153ad35aa041aaf44e6dcf)) * duplicated separator ([6e1ee50](https://github.com/RSSNext/follow/commit/6e1ee50536ded4b65f76cdb35bdf98c4657a1a74)) * dynamic load i18n resource in electron prod ([2328648](https://github.com/RSSNext/follow/commit/232864852a934d571a2b47af7f4d02c787cc8250)) * eagle icon ([021dfab](https://github.com/RSSNext/follow/commit/021dfab5eeb888f155982cc1cd3636b2b4ca52a3)) +* electron context menu i18n ([1a1d8ab](https://github.com/RSSNext/follow/commit/1a1d8ab5c1ff4917d3b3368059eff0b4cdf57520)) * electron exit webview fullscreen sidebar color ([bc7914f](https://github.com/RSSNext/follow/commit/bc7914f803939897d817080972e5307cf58f8caf)) * electron external window size option ([399d5d7](https://github.com/RSSNext/follow/commit/399d5d7a2cda5c7a7f9ce91ae9b9125f9ece7c54)) * electron search ([63bea18](https://github.com/RSSNext/follow/commit/63bea180f545e2f64cdc7e379f807333fee0ded6)) * electron title bar drag-region ([29ab323](https://github.com/RSSNext/follow/commit/29ab32344fafda613b0c9d49b587786eaa40b00a)) * electron window frame and `backgroundMaterial` ([e18ec75](https://github.com/RSSNext/follow/commit/e18ec754a05231fb82a7cbdb80632d79a6232872)) * electron window type ([909d692](https://github.com/RSSNext/follow/commit/909d6929da5bd3930a6e1d8aa3342c46d00e5c7d)) +* empty default font on electron app ([#481](https://github.com/RSSNext/follow/issues/481)) ([4f9d4f2](https://github.com/RSSNext/follow/commit/4f9d4f26f22ac86cce64bb9f1582c2be2b3361c3)) * empty entry list will throw not found feed error, fixed [#224](https://github.com/RSSNext/follow/issues/224) ([c41756d](https://github.com/RSSNext/follow/commit/c41756d2b91173a753e09f5de988b71a27daa9ba)) +* ensure unique keys for search items ([#500](https://github.com/RSSNext/follow/issues/500)) ([6c6b082](https://github.com/RSSNext/follow/commit/6c6b0828b83ff62d95c56417dcb0ebc1faed9535)) * entries hasNext ([4cb5678](https://github.com/RSSNext/follow/commit/4cb56784acfb46516a4320f0088c294eafb32fcf)) * entry bar action ([ba23dcf](https://github.com/RSSNext/follow/commit/ba23dcf46ff7569562d0a786ab85d46093b8abe8)) * entry column padding top and filter unread/read in tweet view ([d181771](https://github.com/RSSNext/follow/commit/d181771a7bf314cdb30f2fdd76294c5cded524ab)) @@ -101,6 +118,7 @@ * feed column layout ([8a31463](https://github.com/RSSNext/follow/commit/8a31463e4ef82811e0f7d5fd40cb3281202a24e3)) * feed column resize perf ([a09f55a](https://github.com/RSSNext/follow/commit/a09f55af080714d0b0022983421e942d14ceb562)) * feed column vertical align ([63139f2](https://github.com/RSSNext/follow/commit/63139f25b2b771480de4c04d91967067897c94fc)) +* feed form view type radio text wrap ([d9e89e2](https://github.com/RSSNext/follow/commit/d9e89e213c57908c18dc1391bb7c07d35f7b02ca)) * feed icon in player cover ([c6a8613](https://github.com/RSSNext/follow/commit/c6a8613b29cec24bb61eec2196f1827ae9a759fa)) * feed icon style ([3f04f14](https://github.com/RSSNext/follow/commit/3f04f148f5a34d47da8dab1a4fc4b00f9a2fadba)) * feed icon style ([03c202e](https://github.com/RSSNext/follow/commit/03c202eb568c684e9645003b65f48cad6099071b)) @@ -109,9 +127,12 @@ * **feed-icon:** re-render loop ([b6f78bb](https://github.com/RSSNext/follow/commit/b6f78bbbf89b804fc4a0ad89b524f0a24673c19a)) * fill relative url in entry title link, fix [#372](https://github.com/RSSNext/follow/issues/372) ([7c3aab6](https://github.com/RSSNext/follow/commit/7c3aab6f042a710aaa99d8fb7a774fce89af2b08)) * fix the fixed misalignment when image is empty and name is also empty ([#179](https://github.com/RSSNext/follow/issues/179)) ([f6b62c8](https://github.com/RSSNext/follow/commit/f6b62c8ce0908772c394d653857197c9302e332b)) +* fixed text overlap issues caused by style ([#527](https://github.com/RSSNext/follow/issues/527)) ([103bd6a](https://github.com/RSSNext/follow/commit/103bd6a414beb9a808a9ad661348ff416626bc18)) * flat ([6bada5e](https://github.com/RSSNext/follow/commit/6bada5e986ff77ef5de42d18734ea92f872ca818)) * font name duplicated if installed default font ([1efdd40](https://github.com/RSSNext/follow/commit/1efdd40f99cb1ad52f048bd53648f32b4cfbbae8)) +* format ([cd4473b](https://github.com/RSSNext/follow/commit/cd4473b3062ca780c0c163c81d3d265077c26862)) * format time locale fallback ([6b1009e](https://github.com/RSSNext/follow/commit/6b1009ecfde47d68859a202a2be8a1cde901f2fc)) +* generate i18n template location ([0877448](https://github.com/RSSNext/follow/commit/08774485b10e22dee67333652bb28ecb700e077b)) * gird item text and icon align center ([eabd59c](https://github.com/RSSNext/follow/commit/eabd59cf1feb774759279832005fcd0e26aa7bb6)) * gird mode skeleton ([0a7f648](https://github.com/RSSNext/follow/commit/0a7f6488c176ee059f7c87f3c51e0234c85c1d4c)) * group header extra action button for wider mode ([213b4a5](https://github.com/RSSNext/follow/commit/213b4a5864c78716648b2319f5d6f0dfcb531e3a)) @@ -123,32 +144,41 @@ * hide entry read history, fixed [#278](https://github.com/RSSNext/follow/issues/278) ([a73b4ab](https://github.com/RSSNext/follow/commit/a73b4abe2212b5ba969770358d8db7306b6ad4e6)) * hide peek modal toc ([9c66b33](https://github.com/RSSNext/follow/commit/9c66b33887126287d9f6f5a39f85f76818e28f1f)) * hide tip when feed owned by me ([dfb3c6d](https://github.com/RSSNext/follow/commit/dfb3c6d377041f524c9da80c03639e6fea304202)) +* hono.ts ([fd03caa](https://github.com/RSSNext/follow/commit/fd03caac22f9e035734d369351134ed63da93439)) * i18n dispatcher ([c038c79](https://github.com/RSSNext/follow/commit/c038c791af14418ee641af08e689a619b99a1735)) +* i18n persist ([18e0353](https://github.com/RSSNext/follow/commit/18e035394b8d1a77f8454f47e0049359e69d750a)) * **i18n:** dup key ([d90964e](https://github.com/RSSNext/follow/commit/d90964ea9e32d5d7b162d6d7525df213ac732e12)) +* **i18n:** give star ([#502](https://github.com/RSSNext/follow/issues/502)) ([9ead475](https://github.com/RSSNext/follow/commit/9ead4754d31fee3a1c14a3ef9210a621c2dd039f)) * icon button transition ([596538b](https://github.com/RSSNext/follow/commit/596538ba10b6b70d12ccc4efdd9f206d9ba11817)) * icon fallback line height ([02cd98d](https://github.com/RSSNext/follow/commit/02cd98d9cc9c09006a91277a5b976d753054738d)) * image url replacement ([8e75a8c](https://github.com/RSSNext/follow/commit/8e75a8cc6931b354e3206ea22917842c991d4c45)) +* import circular and copywrite i18n ([725f9f5](https://github.com/RSSNext/follow/commit/725f9f5509c3b34079923fad47096b108568ccd6)) * improve code block parser ([e72cb2d](https://github.com/RSSNext/follow/commit/e72cb2df3f1f5cd314feeb4a9bcc20e30204bca5)) * incorrect tooltip in read history ([#385](https://github.com/RSSNext/follow/issues/385)) ([cabe210](https://github.com/RSSNext/follow/commit/cabe210aaf8f4a1133fa653532874fa86d02c252)) * inline table style ([5837bd4](https://github.com/RSSNext/follow/commit/5837bd4089b59855d0b583aed5d0e97fce04e094)) +* Input issues fixed [#535](https://github.com/RSSNext/follow/issues/535),[#536](https://github.com/RSSNext/follow/issues/536) ([3d48637](https://github.com/RSSNext/follow/commit/3d486379b91dff13bfbcc90532efd3e186405a13)) * intelligence ([8b889d1](https://github.com/RSSNext/follow/commit/8b889d1307186d07c4672879d77f77e1d8fead7b)) * invitation code wrap ([4b48202](https://github.com/RSSNext/follow/commit/4b48202ea70ed80b858312d35cf04d1d66515865)) * invitation page error display area ([5915357](https://github.com/RSSNext/follow/commit/59153573d8a5d368adfe41b0f5cebc4d6d44a9f3)) * **item:** center content if no desc ([18e26a4](https://github.com/RSSNext/follow/commit/18e26a41c3cf80316bc97c44a1239e6ec45c5db9)) * kbd cls and set home scope in shortcuts guideline ([d9999a3](https://github.com/RSSNext/follow/commit/d9999a3fc6cfeae0f3b45b6390cf79d9135566b7)) +* lang/*.json ([#526](https://github.com/RSSNext/follow/issues/526)) ([be3b2e7](https://github.com/RSSNext/follow/commit/be3b2e7503c1061a1e312394bb0c3556e39ec062)) * language setting syncing ([fa1dc5d](https://github.com/RSSNext/follow/commit/fa1dc5df35a2225bb22320a8fc049d3c0b75fa5b)) * link underline style when selected ([781b120](https://github.com/RSSNext/follow/commit/781b1200f8eae3f61b39dc53151c5a688fa36d1b)) * lint ([ef0d80d](https://github.com/RSSNext/follow/commit/ef0d80d8546c804b1b52c58fca7640d2f541188a)) * list item overlay style ([20ef773](https://github.com/RSSNext/follow/commit/20ef77342e73d205409644386c162dc164da009e)) * loadFile options hash ([b41fa66](https://github.com/RSSNext/follow/commit/b41fa665fa334f0037de294d8e0585a5cf94c649)) +* loading circle clip path ([ba396be](https://github.com/RSSNext/follow/commit/ba396beaa78eae3c1b250fd846cc8434c2abc07f)) * loading style ([61ee2cc](https://github.com/RSSNext/follow/commit/61ee2ccb3e30d3ab82de0bfe6aca35df38794dca)) * login page style ([094a668](https://github.com/RSSNext/follow/commit/094a6684b62de69748f20011f5bd0f68833c30e1)) * mark all as read in feed action ([cbb5022](https://github.com/RSSNext/follow/commit/cbb502223fd82212f8534eb578786cb138813474)) +* mark all button overlay position ([5e34d36](https://github.com/RSSNext/follow/commit/5e34d3650eaaa999c660377db3e955269123eab5)) * mark read tooltip and shortcut optional ([d4d72dd](https://github.com/RSSNext/follow/commit/d4d72ddf933c89d246585c77b22f8f498b2a98a1)) * markdown link populate relative link ([bad5869](https://github.com/RSSNext/follow/commit/bad5869f3f974b96fa5513b99574f60fb8aba963)) * masonry layout cls ([9428368](https://github.com/RSSNext/follow/commit/9428368cfc4a00afb1c72f9ca3a4267b311c5b2b)) * **media:** if no src then return null ([183009a](https://github.com/RSSNext/follow/commit/183009adee6d5674923a72ae0f5a10b85d4c7ba6)) * missing feed caused by parsing domain error ([1385876](https://github.com/RSSNext/follow/commit/13858762b4fed592ab7e5040ae6a59a9f3872747)) +* modal max height ([f9dc545](https://github.com/RSSNext/follow/commit/f9dc5458ab18af0a683834115324bba615323636)) * modal max height, fixed [#230](https://github.com/RSSNext/follow/issues/230) ([fbf4727](https://github.com/RSSNext/follow/commit/fbf4727608ada80ba0f42349f2dace0543e22f9e)) * modal overlay zindex, fixed [#271](https://github.com/RSSNext/follow/issues/271) ([7a5000f](https://github.com/RSSNext/follow/commit/7a5000f20503ade15033822d9ad1c11303424728)) * modal prevent dimiss when mouse select text ([d99dfbc](https://github.com/RSSNext/follow/commit/d99dfbc79a2d6adb19eb7086fbc3aff8e860fb7b)) @@ -159,13 +189,17 @@ * optimize code string parser ([b3d32d0](https://github.com/RSSNext/follow/commit/b3d32d09fd4d5b53ae1692ffdc154e8d37a77fdd)) * optimize invitation page ([5f93e4b](https://github.com/RSSNext/follow/commit/5f93e4baac340998b08aaa273e2185893fe88e92)) * optional response data for check new, fixed [#195](https://github.com/RSSNext/follow/issues/195) ([2c650b0](https://github.com/RSSNext/follow/commit/2c650b08ae031e18dbe4b25d9c124c3eb7ff4f9a)) +* overflow text in setting modal layout ([b34aa57](https://github.com/RSSNext/follow/commit/b34aa579f07af9dd3feca036b8996e561204d850)) * panel resize cursor style alway in `ew-reisze` ([41416d2](https://github.com/RSSNext/follow/commit/41416d21c8ce33029cba45dfe820a7cb04b0adc3)) * panel split color in dark mode ([3a0cfa1](https://github.com/RSSNext/follow/commit/3a0cfa1ebf794351d7f7b1132c0068a55ff2e9a6)) +* panel spliter zindex ([23e428a](https://github.com/RSSNext/follow/commit/23e428ad30d5df968e881462a699fdf40db43131)) * peek modal header background color and copywrite ([b8be81b](https://github.com/RSSNext/follow/commit/b8be81b2105d2c229955a433af91c43f5286194a)) * player holder size ([78cb08c](https://github.com/RSSNext/follow/commit/78cb08c7dc98aeab9cb5575296470106dbeb4e84)) * player marquee mask ([aa9ca62](https://github.com/RSSNext/follow/commit/aa9ca624a8d0304838bc05c330a8165a41430d3e)) +* position of swiper navigation buttons ([#541](https://github.com/RSSNext/follow/issues/541)) ([0d760e7](https://github.com/RSSNext/follow/commit/0d760e7bf9e4e74f823c715237c300773865650a)) * posthog capture app info ([8cf7ae2](https://github.com/RSSNext/follow/commit/8cf7ae26f47d6cbc58322978d915c699d16f95a3)) * posthog tracker ([f4790da](https://github.com/RSSNext/follow/commit/f4790da8b1f27937b47b27d127497742684e9cc1)) +* power balance align center ([972ff76](https://github.com/RSSNext/follow/commit/972ff7675e75014270764ba8b69372ae0d7dd3a8)) * power icon color ([a765cd2](https://github.com/RSSNext/follow/commit/a765cd2853ff4fdc267db94600725e5c7dabbaae)) * preview image and video size ([e4e4700](https://github.com/RSSNext/follow/commit/e4e47006ee55aa59db5fdb76f565a5ec929f3d95)) * preview image fallback ([7410ca2](https://github.com/RSSNext/follow/commit/7410ca229afdb6fafb01f5ebe370d01dc33a4500)) @@ -175,6 +209,7 @@ * profile header transform when scroll up/down ([c0683ee](https://github.com/RSSNext/follow/commit/c0683eee6def2b835e79dab9eea37cb4567f02b7)) * prose max widht ([2bd5b45](https://github.com/RSSNext/follow/commit/2bd5b45e6bb4cc127dd07aa073d3b83c0a8bee82)) * provide a default ctx value for modal ([38ab5bf](https://github.com/RSSNext/follow/commit/38ab5bffafad32f97ac11a743a35be0a6012403d)) +* radix auto focus issue ([b3d05b4](https://github.com/RSSNext/follow/commit/b3d05b42e9b0afd8b4e828bdf57eb564a53e613f)) * read history always show ([#413](https://github.com/RSSNext/follow/issues/413)) ([c3675b2](https://github.com/RSSNext/follow/commit/c3675b25886ddd33f232f0c146208cb8f42c0b36)) * read history delay to polling ([f6f8ec8](https://github.com/RSSNext/follow/commit/f6f8ec84dbb0e86b2d5a109088a1759b62c17dec)) * read history style in wide mode ([07ca5ea](https://github.com/RSSNext/follow/commit/07ca5ea22ea6675d08c5df72389733361c4789bb)) @@ -182,18 +217,27 @@ * reduce tolltip re-render ([c43bafd](https://github.com/RSSNext/follow/commit/c43bafdd5cd7a94f66c722e30d76ae31307f263f)) * reduce wallet setting margin size ([826ebd0](https://github.com/RSSNext/follow/commit/826ebd041a9a143d7785a52d95dc81388b0ea2b4)) * ref not found error ([372e043](https://github.com/RSSNext/follow/commit/372e043ed47c47f7677406bdb1115c7fe577dc29)) +* regarding the style issue of selecting subscription types using the Tab and arrow keys ([#525](https://github.com/RSSNext/follow/issues/525)) ([cea7f4a](https://github.com/RSSNext/follow/commit/cea7f4a95ab7336c85613cc551c48639e20b2b9d)) +* remove `src` ([9aa16b6](https://github.com/RSSNext/follow/commit/9aa16b62d84f40c90334396d219ee9ab2a371750)) * remove button leading ([84835c5](https://github.com/RSSNext/follow/commit/84835c5ed9df6ac1370b532980929049e8c0d245)) * remove comment ([5343ab2](https://github.com/RSSNext/follow/commit/5343ab2dbe3549a740509e150ebb27cad8b770a4)) +* remove debug `zh_CN` args ([d650b47](https://github.com/RSSNext/follow/commit/d650b473b966471105c06841876183bc79fad714)) +* remove duplicated en and tweak lang sort ([#547](https://github.com/RSSNext/follow/issues/547)) ([2bd3d0b](https://github.com/RSSNext/follow/commit/2bd3d0b4c8c68014771375d97d75e491bfd28385)) * remove duplicated shortcuts ([bc3ecde](https://github.com/RSSNext/follow/commit/bc3ecde2e22f22d12894a89d5e671a3e143d17d4)) * remove electron's default user-agent keep browser user agent ([#356](https://github.com/RSSNext/follow/issues/356)) ([adb39bc](https://github.com/RSSNext/follow/commit/adb39bcc056971698de9cf49f9934a575ef2ab3b)) +* remove windows under blur and ensure main window in the screen bounds ([d772343](https://github.com/RSSNext/follow/commit/d7723435a1527e5f9c065c36bf1d1d81b3b43ec4)) * rename category input composition and style ([1ab3770](https://github.com/RSSNext/follow/commit/1ab3770f0279eb043f7a37a1b5251e5ead0ef0b6)) +* reorganize package.json ([b2c48a4](https://github.com/RSSNext/follow/commit/b2c48a49e3789cb3dfd9e9170f5371fc6b25c4b1)) +* reset is archived state on reset ([b701dd6](https://github.com/RSSNext/follow/commit/b701dd6e1badeaf0d0470bcff28abc3fb4057893)) * resizeable panel ([e2664c2](https://github.com/RSSNext/follow/commit/e2664c2dda663343fa8f53536d6b625daaba6103)) * Respect app light/dark mode over OS preference [#228](https://github.com/RSSNext/follow/issues/228) ([ecef3e9](https://github.com/RSSNext/follow/commit/ecef3e961a79ac9c99bf9a419fa7573433148da0)) * rewrite ([3a8cbf2](https://github.com/RSSNext/follow/commit/3a8cbf243903f08392dd1d3eab723b31ff86143a)) +* round left only in electron ([2d10811](https://github.com/RSSNext/follow/commit/2d10811273d2053b889b2688189b4212b6e9d6a1)) * safari entry colmun styles ([f36cfd3](https://github.com/RSSNext/follow/commit/f36cfd36103016d4d8afffd471a218e435096e43)) * scroll to top when switch to other entry ([4ec1c93](https://github.com/RSSNext/follow/commit/4ec1c93e95d79daa84018b9bb0f84f03ba0f4dee)) * search entries ([4cbe2a2](https://github.com/RSSNext/follow/commit/4cbe2a2d816e1a56bd89206d1026fc19d86d47b1)) * sentry config ([779236e](https://github.com/RSSNext/follow/commit/779236e0827af3981bce29e3c1ac9a527aec3fd5)) +* set auth config first ([a281f58](https://github.com/RSSNext/follow/commit/a281f58a811213d933585280238fec4088ad7749)) * set language when init ([fb3b592](https://github.com/RSSNext/follow/commit/fb3b59210ea1f54af234653b5146ba8a9d4bb8cb)) * set selector width as a fixed value ([eb2a845](https://github.com/RSSNext/follow/commit/eb2a84520df503ca4f36955b9d1b312d086fe75a)) * setting align ([b0e86b0](https://github.com/RSSNext/follow/commit/b0e86b08d51deb3d62a96ce93c78bc5b7683e259)) @@ -208,6 +252,7 @@ * shortcut modal overlay and id ([c210dc9](https://github.com/RSSNext/follow/commit/c210dc900eda2b30e05a9a5434f06810c1a6cd14)) * shortcuts kbd shake ([#433](https://github.com/RSSNext/follow/issues/433)) ([7e8f462](https://github.com/RSSNext/follow/commit/7e8f462424e6b2b98b316c9814610034db93f8c9)) * should dismiss when outside (quick new panel) ([675ac84](https://github.com/RSSNext/follow/commit/675ac845d4b9d7c6a71b7891440d2860ca34f0a4)) +* should use markdown to render link in rsshub parameter desc ([#505](https://github.com/RSSNext/follow/issues/505)) ([2f64787](https://github.com/RSSNext/follow/commit/2f64787e4bc1bc21bf1c1741ed0179f80c66549a)) * show add feed error message ([7763129](https://github.com/RSSNext/follow/commit/77631299438b4fe6b575a9de5881cebfea6e4ba4)) * show episode cover for podcast ([#315](https://github.com/RSSNext/follow/issues/315)) ([4ef7f8c](https://github.com/RSSNext/follow/commit/4ef7f8cbd38dd0a148c053e5ee0468e282efe5fb)) * show filtered button only if no next page ([6fb46e7](https://github.com/RSSNext/follow/commit/6fb46e7887409f735df99f7aa08cd0ef61976981)) @@ -219,18 +264,22 @@ * social media typography ([5d27d29](https://github.com/RSSNext/follow/commit/5d27d29e4bd2791248d6a907a889a4907f0e0d20)) * sort by preferred title, fix [#390](https://github.com/RSSNext/follow/issues/390) ([cc25c67](https://github.com/RSSNext/follow/commit/cc25c6785e98f7a200904bdac2b36ff03cf358dd)) * sort shortcut ([1f8e4a3](https://github.com/RSSNext/follow/commit/1f8e4a3b966891787f05d9b6d0ec0fe327260e49)) +* split entry history api and accurate count ([8f3acd6](https://github.com/RSSNext/follow/commit/8f3acd648eab7f44f61c1685b996f02cfe8cc443)) * stable mark all feed list, fixed [#245](https://github.com/RSSNext/follow/issues/245) ([c9d098f](https://github.com/RSSNext/follow/commit/c9d098f4e9bc5d3e3ca5bd026f1947adf6dbcca7)) * stable shadow dom key ([06cafb5](https://github.com/RSSNext/follow/commit/06cafb50d8490a29856c27d9344b76090e9f81af)) * star icon place in grid template ([dc3ca01](https://github.com/RSSNext/follow/commit/dc3ca01df3870f5ef43b0e4654aa84fa46f034d8)) * stop stopPropagation on Media Imag ([a92f96b](https://github.com/RSSNext/follow/commit/a92f96bf6159316f595a742209a6bbca0d0b41fa)) * stored user profile item style ([64f40ee](https://github.com/RSSNext/follow/commit/64f40ee614a3d820b555c76b957287f289d01bb9)) * style ([#359](https://github.com/RSSNext/follow/issues/359)) ([3d39308](https://github.com/RSSNext/follow/commit/3d393086966826f194ae660b43bcb0cb33b3d6f3)) +* style center ([a5e3311](https://github.com/RSSNext/follow/commit/a5e33112ff2782cdbca316ff1d4dd6fd78116a1c)) * **style:** button align center and ([38a5cb6](https://github.com/RSSNext/follow/commit/38a5cb682dc0c3082664a2192686ad16f68ecec3)) * **style:** video play button align center ([465f1a6](https://github.com/RSSNext/follow/commit/465f1a6acf6a1d96a28e724f071f8a68a327a56d)) * subcription status & category empty, input value null ([#263](https://github.com/RSSNext/follow/issues/263)) ([93e2ccf](https://github.com/RSSNext/follow/commit/93e2ccfd5831f8a7f43932acd2976785e3adfbff)) * subview layout ([36a34de](https://github.com/RSSNext/follow/commit/36a34de26caf2ff00847827635eedd3771faadc0)) * supports Windows ([#189](https://github.com/RSSNext/follow/issues/189)) ([486a328](https://github.com/RSSNext/follow/commit/486a328d357317361ef24222fab09eb47e26d07d)) * swap show all and unread only copy, fixed [#307](https://github.com/RSSNext/follow/issues/307) ([2b366d1](https://github.com/RSSNext/follow/commit/2b366d1e28e78649e1a7ed6d221d704bcbe4c520)) +* the filename case issue with generate-i18n-locale add zh-hk ([#463](https://github.com/RSSNext/follow/issues/463)) ([a2eeb25](https://github.com/RSSNext/follow/commit/a2eeb253b3d8acb87d0d2f54914a19a9c75eb7ce)) +* The problem with the display of the right content area ([#501](https://github.com/RSSNext/follow/issues/501)) ([4692ebd](https://github.com/RSSNext/follow/commit/4692ebd11ecf9b05a57e49270f920a33bbd9a5c3)) * threshold for sidebar temp show ([7d62ea6](https://github.com/RSSNext/follow/commit/7d62ea6801713e2b43b116c5ddfea0b1a96a6fe8)) * tip modal styles ([3154c4f](https://github.com/RSSNext/follow/commit/3154c4f95b47d7fbce6142f49b211799408bc5aa)) * toc active logic ([13ba679](https://github.com/RSSNext/follow/commit/13ba679ed879920798e434ee10c3fb407395dcb1)) @@ -259,13 +308,18 @@ * types ([d9458a1](https://github.com/RSSNext/follow/commit/d9458a1850b3e83e9bbb9374d4fc3b6884a24837)) * typing ([a386fd6](https://github.com/RSSNext/follow/commit/a386fd6e97fb98c42b3eedf156c5b167ff67bd34)) * typo ([deb96c5](https://github.com/RSSNext/follow/commit/deb96c538258c939c60762c723d58955899031cf)) +* **ui:** social media gap if no media ([1435632](https://github.com/RSSNext/follow/commit/14356325e42d87c43f33b975fbb1d963cfa67251)) +* **ui:** social media unread dot position ([e760676](https://github.com/RSSNext/follow/commit/e760676827297f60a4d00a51f4be98579c93c9f7)) * undo kbd color in dark mode ([2a106ae](https://github.com/RSSNext/follow/commit/2a106ae632e0641d58d0d45b88f61a1c5c6eafa5)) * unfollow ([613fdf8](https://github.com/RSSNext/follow/commit/613fdf85b7dc7148f4ade612805f9f3bd98f2268)) * unify date item mark read styles ([9f5cbab](https://github.com/RSSNext/follow/commit/9f5cbabfafc905046258ceb5fe2c0bdd6993b830)) * unify player actions icons ([7d2382d](https://github.com/RSSNext/follow/commit/7d2382d56bf4b4186e566191cbbb1662a6a15d30)) * unify setting tab icon color, fix [#303](https://github.com/RSSNext/follow/issues/303) ([33a049a](https://github.com/RSSNext/follow/commit/33a049a8513f5c3cab9ce8a6adefadf7399164f8)) +* unread state not up to date, fix [#485](https://github.com/RSSNext/follow/issues/485) ([96f7762](https://github.com/RSSNext/follow/commit/96f77623edd04582e95aa8125ccf4515daac96c1)) * update cmdk high contrast, [@unixzii](https://github.com/unixzii) advice ([cbd7593](https://github.com/RSSNext/follow/commit/cbd75932433ad056b257c5934e6aefc3c0d829dd)) * update invitation fab ([0cd1837](https://github.com/RSSNext/follow/commit/0cd183780f299b94a800cd86342484afa7f716bd)) +* update lists table ui ([0d68e75](https://github.com/RSSNext/follow/commit/0d68e7584592d08191c54a16257dd92924216387)) +* update search for ([b51d75f](https://github.com/RSSNext/follow/commit/b51d75ffc9b0a9c2760269041aaa4c5a7f6b26d0)) * update unread dot style ([e2fef01](https://github.com/RSSNext/follow/commit/e2fef01d2c374f720a6ff4b265344c828f8b80ba)) * updater should closes all window first ([7cb1a94](https://github.com/RSSNext/follow/commit/7cb1a94a15383e3190c37d3fea9ff0ff5a97dfd5)) * upgrade tip when player open ([033831b](https://github.com/RSSNext/follow/commit/033831bdab0a85a2f1f02af85c6da2278e40de5e)) @@ -284,6 +338,7 @@ * **wallet:** add missing space between words in wallet ([#279](https://github.com/RSSNext/follow/issues/279)) ([6873d21](https://github.com/RSSNext/follow/commit/6873d21e267fda102b13bc2a4e52de9bd7eea206)) * window titlebar position, fixed [#197](https://github.com/RSSNext/follow/issues/197) ([b6158ec](https://github.com/RSSNext/follow/commit/b6158ec0bd1e18aed29d028f2ff86008489c8a64)) * windows app titlebar style in dark mode and radius ([3843905](https://github.com/RSSNext/follow/commit/38439050bb6db71bf6d966ab43026b660ad24f9a)) +* windows load locale resource, fixed [#447](https://github.com/RSSNext/follow/issues/447) ([862757a](https://github.com/RSSNext/follow/commit/862757a99ff5246058db5ca0d7e60b5f08a2f7ed)) * windows locale lead to app crash, fixed [#255](https://github.com/RSSNext/follow/issues/255) ([bb43da9](https://github.com/RSSNext/follow/commit/bb43da981894d4bf611218bd4b2001a39636df64)) * windows maximize will lost frame and background material ([2bd0e78](https://github.com/RSSNext/follow/commit/2bd0e78e4f859d9c98f53f748c9871a41348db1c)) * windows multi-display ([7490cd1](https://github.com/RSSNext/follow/commit/7490cd12d0e42a7f41931acd9d77bf64be39a26d)) @@ -295,7 +350,11 @@ ### Features * 10x token ([#354](https://github.com/RSSNext/follow/issues/354)) ([9088aea](https://github.com/RSSNext/follow/commit/9088aea6517b71fcd2ed387358fb9e8e97a962a9)) +* achievement ([#512](https://github.com/RSSNext/follow/issues/512)) ([eaf1cd2](https://github.com/RSSNext/follow/commit/eaf1cd27af86cf895d14814ab530498ba3f0f44a)) * active entry when the entry modal is present ([1dc6160](https://github.com/RSSNext/follow/commit/1dc6160b972ba9baa7fdd2a5e90882a9cdd92b48)) +* Add an indent to the table of contents ([#455](https://github.com/RSSNext/follow/issues/455)) ([0bd1b14](https://github.com/RSSNext/follow/commit/0bd1b14b59c733dd61c228f07e506dc49c9ccaa1)) +* add biz code i18n for fr and ru ([#521](https://github.com/RSSNext/follow/issues/521)) ([0dc4b86](https://github.com/RSSNext/follow/commit/0dc4b866d7eff2d32df2158902d6d1fbdea41f27)) +* add biz code i18n for zh-cn ([#503](https://github.com/RSSNext/follow/issues/503)) ([d35e011](https://github.com/RSSNext/follow/commit/d35e0119953a154d18273c1d155f14d03c9a6ce8)) * add biz user info on sentry tracker ([e3e52ab](https://github.com/RSSNext/follow/commit/e3e52abedeb5507ca71d663faa7ef050b661cf0a)) * add discover back to top fab ([a97e60c](https://github.com/RSSNext/follow/commit/a97e60cd005ca7ebb5aed56655b94975ebf1ccb7)) * add divider when sticky for date item ([755e292](https://github.com/RSSNext/follow/commit/755e292af05c3adeae8943cc5c4c05af11d30d16)) @@ -306,26 +365,36 @@ * add i18n detector ([7eb8a32](https://github.com/RSSNext/follow/commit/7eb8a322c78c7e075ed842036971e9aa5f094341)) * add link parser for audio timestamp navigate ([1478fa5](https://github.com/RSSNext/follow/commit/1478fa5a9343384f45a57431d029480a96b8441c)) * add manual setting lang lock keyu ([b9c6a8b](https://github.com/RSSNext/follow/commit/b9c6a8b58099c86a178494ffe4c875f7c31760a3)) +* add object-cover to feed icon, add zh-HK and zh-TW errors lang ([#508](https://github.com/RSSNext/follow/issues/508)) ([9351a8f](https://github.com/RSSNext/follow/commit/9351a8fe735977ae02320370f9aa6a83854d7adf)) * add og image, fixed [#242](https://github.com/RSSNext/follow/issues/242) ([5d4e958](https://github.com/RSSNext/follow/commit/5d4e9586569e4afe212138d2001ed9007ce9950b)) * add player download src ([fc50751](https://github.com/RSSNext/follow/commit/fc5075139f2f82a66c703349a719927c35b11b09)) * add preview image bottom indicator ([bbc1591](https://github.com/RSSNext/follow/commit/bbc15913e8a1afd148c4c70a8056c64d46587791)) * add readability action rules ([5e8fb17](https://github.com/RSSNext/follow/commit/5e8fb17f4a849abd755d92d32d3e5e1a76a2d2ab)) * add reason debug for response error toast ([7d4260a](https://github.com/RSSNext/follow/commit/7d4260a614e678ae40c04630840e870db1298830)) +* add resize indicator ([b752a60](https://github.com/RSSNext/follow/commit/b752a60db6db302c2ac3860a94993d75c29785be)) * add setting user profile avatar preview ([2412d59](https://github.com/RSSNext/follow/commit/2412d59e3e91b327af102cc9f006e1022fa3b69e)) * add show all when filtered media mode ([38c21da](https://github.com/RSSNext/follow/commit/38c21dae11b84d1cb493078f999c7dac9b72d348)) +* add support for pointer cursor ([#517](https://github.com/RSSNext/follow/issues/517)) ([b6ff6fb](https://github.com/RSSNext/follow/commit/b6ff6fb48f3133e10f8fc7598eaa9a7bc63aec25)) * add theme in user dropmemu ([f254e14](https://github.com/RSSNext/follow/commit/f254e144ed6172f11250f3fd9bcbca3fbfc02add)) * add tts ([#215](https://github.com/RSSNext/follow/issues/215)) ([b9fecc4](https://github.com/RSSNext/follow/commit/b9fecc46bf523a0ad07a9a9dc26adf40287f7653)) * add view feed url on exteral feed url ([0a61fa3](https://github.com/RSSNext/follow/commit/0a61fa37c3df29b686c937f802202534ba79d602)) +* adjust spring scroll preset ([be3aa09](https://github.com/RSSNext/follow/commit/be3aa09b8e8c30a1797afdf558eb40b5c360cb34)) * ai daily in article content column ([a625d04](https://github.com/RSSNext/follow/commit/a625d04328ea209ead68ce0391a7108cbb2c4e6a)) * ai daily modal ([67d9559](https://github.com/RSSNext/follow/commit/67d9559229baca34aa3328ba711d0e29def5bb8e)) * apm ([602f50a](https://github.com/RSSNext/follow/commit/602f50aa1a2b1ad9559ae22c92c599907df0b8cc)) +* **audio-view:** seek circle indicator ([94b9535](https://github.com/RSSNext/follow/commit/94b9535d28292dbc209e251e3b0cb18d480d6a3b)) * auto claim daily `POWER`, and update table style ([ca381ce](https://github.com/RSSNext/follow/commit/ca381cebf81cc745e56fe35811004d89b55609ba)) * auto enable readability if no content ([27ecfc4](https://github.com/RSSNext/follow/commit/27ecfc4a86f3e35f245c1bca2d1dba57ff7364f2)) +* auto trim discover in search input ([039dd3d](https://github.com/RSSNext/follow/commit/039dd3dcd531d973d2c205a35693bcdd62657be4)) * cache i18n resource to speed up loading time ([b3748cc](https://github.com/RSSNext/follow/commit/b3748ccfe07964c0b7c45f6e29a8225883d1dfa4)) * cache tips for feed claim ([b307553](https://github.com/RSSNext/follow/commit/b3075535d67438cd78ffbe8209da216d8a57f433)) * cancel hover read when mouse leave quickly ([c5d5fc2](https://github.com/RSSNext/follow/commit/c5d5fc23193ad5faa30903113f1df1056c508fc4)) +* change corner-player animation ([#513](https://github.com/RSSNext/follow/issues/513)) ([1ad247d](https://github.com/RSSNext/follow/commit/1ad247dbeec85988e34fa8404dd6d970e9ce37e4)) +* change language only based on user device language and fix async chain ([13d62d5](https://github.com/RSSNext/follow/commit/13d62d5fe9ab50845247999e0f677fbeb1e3938b)) * clear autocompletion ([1118870](https://github.com/RSSNext/follow/commit/1118870c9e288d868b7a98fb085da1915043101d)) +* clearer social media images ([02176d3](https://github.com/RSSNext/follow/commit/02176d3e49fcc4b1248d1c6a9700369ff316374d)) * clickable entry id in ai daily ([0ffe1e5](https://github.com/RSSNext/follow/commit/0ffe1e5b6d74f9ad09775b9100fef2e53d3a6595)) +* collapseable user profile subscription, refer [#489](https://github.com/RSSNext/follow/issues/489) ([d22f4e5](https://github.com/RSSNext/follow/commit/d22f4e5d2b4212673652c266247eac78fbdcd059)) * compatible with feeds without siteURL ([87dc225](https://github.com/RSSNext/follow/commit/87dc2251b42a96628bdcb9cdcd36c998a8829c5e)) * context sub menu ([2d18c53](https://github.com/RSSNext/follow/commit/2d18c53de0cb8c99336d0e915941b1fdee36df98)) * copy logo svg ([512699c](https://github.com/RSSNext/follow/commit/512699c07080f3064f984f23a21e28356ef9fcc0)) @@ -337,8 +406,11 @@ * display feed certification in discover result ([425b8c3](https://github.com/RSSNext/follow/commit/425b8c3003b552215350d534640e18512e9d819b)) * display power purchase and tx ([dbe7aee](https://github.com/RSSNext/follow/commit/dbe7aee9151ee04147edbce7d34e1275edfc1254)) * double click to video fullscreen ([c066820](https://github.com/RSSNext/follow/commit/c066820ce8baeed808b788e9c780f75c53ba8909)) +* dual code theme ([#511](https://github.com/RSSNext/follow/issues/511)) ([f278377](https://github.com/RSSNext/follow/commit/f278377d1017f9edf89c583a4fb24eb48451daf1)) * dynamic update relative time ([744422f](https://github.com/RSSNext/follow/commit/744422fc12050e09d3cb147c2affe5e95af2056b)) * electron about redirect to app setting about, and add some other action ([159a11d](https://github.com/RSSNext/follow/commit/159a11da67affde5dcd220ed4ea192d34d0c0884)) +* electron app locale sync to ui ([7912b53](https://github.com/RSSNext/follow/commit/7912b5351a5221aae7bbe2a4a6634defc0a1a039)) +* enlarge the interactive area of the close button ([#483](https://github.com/RSSNext/follow/issues/483)) ([3cc7c21](https://github.com/RSSNext/follow/commit/3cc7c2117d951f9994963c7e4017293b4a8840fa)) * entry preview modal ([3981995](https://github.com/RSSNext/follow/commit/3981995a248680844cdd5a1f7663135863f4ef5f)) * expand entry read history ([#377](https://github.com/RSSNext/follow/issues/377)) ([e7f923a](https://github.com/RSSNext/follow/commit/e7f923a0a08e5a4c7e13ff8dd76820f1b4265f25)) * external page i18n ([8d8aa09](https://github.com/RSSNext/follow/commit/8d8aa09230eb5ddd55dffe074b20c9ed81e84a99)) @@ -347,18 +419,28 @@ * feed action add mark all as read ([7b72ef2](https://github.com/RSSNext/follow/commit/7b72ef211b962fc112647a34b10b815cf1b611ae)) * feed claim indicator ([85d8e22](https://github.com/RSSNext/follow/commit/85d8e226fbc7abe56d135cbf3afb2beffe076f13)) * feed form data prefetch from store ([7525130](https://github.com/RSSNext/follow/commit/75251307827c07c697c6c39b7485280759db25af)) +* filter unused params ([cb9860d](https://github.com/RSSNext/follow/commit/cb9860d4b3fce913c2e9ecba0dd607c75592b8cf)) * flip for power claim toast ([7469ed2](https://github.com/RSSNext/follow/commit/7469ed243376a13d9bcb463d6d6af445293d7b97)) * follow feed by feed id ([30d1851](https://github.com/RSSNext/follow/commit/30d1851e3aefcc2da06981537627ccd415bb082c)) * guess code language ([03ba85a](https://github.com/RSSNext/follow/commit/03ba85a37302d41f3403d629849b1b4d3db915ba)) * hoverable translation design, fixes [#268](https://github.com/RSSNext/follow/issues/268) ([3ff11dc](https://github.com/RSSNext/follow/commit/3ff11dce35061de2b784621519eee79f87a93993)) +* i18n for biz error ([c26bc52](https://github.com/RSSNext/follow/commit/c26bc5298bac31840de1c3c051ad1f91021a016f)) * i18n for user profile ([d81c2b5](https://github.com/RSSNext/follow/commit/d81c2b5791fcf1284809b68dd68b4067581cdb44)) * i18n generator ([d20ef05](https://github.com/RSSNext/follow/commit/d20ef05794dd6872cf553c11948172655275818a)) +* **i18n:** add Finnish language support ([#401](https://github.com/RSSNext/follow/issues/401)) ([b1a625a](https://github.com/RSSNext/follow/commit/b1a625a036f8fd748e2efd6ffdf8cd6677c65f2a)) +* **i18n:** add ar language support ([#408](https://github.com/RSSNext/follow/issues/408)) ([35a6589](https://github.com/RSSNext/follow/commit/35a6589f2555c64aa938c6b0f120b3321cbc1809)) +* **i18n:** add ar-iq/kw/tn language support ([#462](https://github.com/RSSNext/follow/issues/462)) ([01ccd47](https://github.com/RSSNext/follow/commit/01ccd47358ed409b1bc8690467e96f16a8e7f30c)) * **i18n:** add French language support ([#409](https://github.com/RSSNext/follow/issues/409)) ([4197824](https://github.com/RSSNext/follow/commit/4197824a25f6b77a5d1f22489b6d9c76587eb392)) +* **i18n:** add Italian language support ([#407](https://github.com/RSSNext/follow/issues/407)) ([79006a2](https://github.com/RSSNext/follow/commit/79006a2f10b9c1d59ea2b3d42ed4ac139ae1c93b)) * **i18n:** add Japanese language support ([#404](https://github.com/RSSNext/follow/issues/404)) ([6a8b243](https://github.com/RSSNext/follow/commit/6a8b243c3338a7c866383afb9e4ff845d7d2389a)) * **i18n:** add Portuguese language support ([#406](https://github.com/RSSNext/follow/issues/406)) ([d624c43](https://github.com/RSSNext/follow/commit/d624c43d1b9efabd927db4ff9af79afe009cf9a0)) +* **i18n:** add Russian language support ([#402](https://github.com/RSSNext/follow/issues/402)) ([0745ac0](https://github.com/RSSNext/follow/commit/0745ac07dd2a4a34e4251c034678ace15c302697)) +* **i18n:** add Spanish language support ([#400](https://github.com/RSSNext/follow/issues/400)) ([6b7823d](https://github.com/RSSNext/follow/commit/6b7823d9b314509f209516b1d7412446ff4ac1a3)) * **i18n:** add zh-CN i18n for external page ([#399](https://github.com/RSSNext/follow/issues/399)) ([49a5c50](https://github.com/RSSNext/follow/commit/49a5c50236d51c3c728bb51cd19f34915291e59a)) +* **i18n:** complete Traditional Chinese translation for native file ([#506](https://github.com/RSSNext/follow/issues/506)) ([2059329](https://github.com/RSSNext/follow/commit/2059329691b375a73cd9cb4f2389b68bbb544e41)) * **i18n:** fill out and optimized partial Chinese translations ([#431](https://github.com/RSSNext/follow/issues/431)) ([5f87190](https://github.com/RSSNext/follow/commit/5f87190f018fea7f34c3ccbfad081fd8b855f5b8)) * **i18n:** improve zh-CN ([#410](https://github.com/RSSNext/follow/issues/410)) ([0b0304e](https://github.com/RSSNext/follow/commit/0b0304eaa1dfa8396e78612a9a6a50653ce9669e)) +* **i18n:** Optimized Chinese translations ([#443](https://github.com/RSSNext/follow/issues/443)) ([77e14cf](https://github.com/RSSNext/follow/commit/77e14cf651a44578c540cdd681a2ee1ea5a2f557)) * **i18n:** Simplified Chinese (partial) ([#353](https://github.com/RSSNext/follow/issues/353)) ([140d01a](https://github.com/RSSNext/follow/commit/140d01a521a472b56f420585f57b577727dee996)) * ignore feed errors within 9 hours ([b71926e](https://github.com/RSSNext/follow/commit/b71926ec286b77dd1b9fc25df459176063b194da)) * impl cmd+b ([ea8a832](https://github.com/RSSNext/follow/commit/ea8a83271e9be37c277540eb605651d7166d2ea4)) @@ -375,16 +457,19 @@ * language indicator ([bf7da04](https://github.com/RSSNext/follow/commit/bf7da0431fdffc45cf0136b9e5709bb1952f1036)) * larger text for date item ([c1ea43f](https://github.com/RSSNext/follow/commit/c1ea43fee280bf539d61b1f3c439a7031cf4ed3e)) * lighter unread number ([e7dba4f](https://github.com/RSSNext/follow/commit/e7dba4f18e8a078889e7923d1760cb08c29873fc)) +* lists ([#533](https://github.com/RSSNext/follow/issues/533)) ([ffcc6c9](https://github.com/RSSNext/follow/commit/ffcc6c90d53b372d2d180f53d32fa47dff9daac4)) * load archived entries ([d7f4bb6](https://github.com/RSSNext/follow/commit/d7f4bb6b9f388849565a7d8fc21d2eafc0610d08)) * loading component new design ([91d0d76](https://github.com/RSSNext/follow/commit/91d0d76efecab753f1c0ff574c0982d45e29eece)) * loading indicator in external pages ([a931e85](https://github.com/RSSNext/follow/commit/a931e8509126c62f206ffe286b4b592cf4fb9035)) * make social media text can selectable ([72c4d6b](https://github.com/RSSNext/follow/commit/72c4d6b83f7a7fe95b2cb505790cb75b38080b93)) +* manage feeds fuzzy search by feed title ([2839010](https://github.com/RSSNext/follow/commit/2839010964f4b27fb1e473211b17913506869fda)) * mark all as read new design ([11577dd](https://github.com/RSSNext/follow/commit/11577dd74040164ab7cd5190778cbe32022852ac)) * mark all flat button ([0611470](https://github.com/RSSNext/follow/commit/0611470551bde66bcc1fca6feae6e0005f0640cd)) * mark read doesn't require manual confirmation if hotkey called, fixed [#293](https://github.com/RSSNext/follow/issues/293) ([6ce06be](https://github.com/RSSNext/follow/commit/6ce06be58d9c5017c77b774cc53fa6076167d563)) * mark read for cateogry in ctx menu ([da79f1c](https://github.com/RSSNext/follow/commit/da79f1c2783fa65f164aaf4942ebfa2156b4bf26)) * markdown heading render ([f3ac1ac](https://github.com/RSSNext/follow/commit/f3ac1ac3c6e2c36203288921f0ea8c3635eec539)) * modal resize and draggable to absolute position ([aad5eba](https://github.com/RSSNext/follow/commit/aad5eba2edb66039d123e9e60e484b55d9a037df)) +* more excluded path params ([3d16aa9](https://github.com/RSSNext/follow/commit/3d16aa9f8b3b369a146537f19ab9a2fe230e9553)) * more i18n text ([6f8acce](https://github.com/RSSNext/follow/commit/6f8acced7bc51d2bb22325506e1c9bc97ee963f7)) * navigator bar ([56750fd](https://github.com/RSSNext/follow/commit/56750fd1722eaca7416e5c8617fb501fcf055cac)) * new design for mark read in date item ([e5b0583](https://github.com/RSSNext/follow/commit/e5b0583d38e41d81663bec1ee16e0c24cb385d7a)) @@ -419,6 +504,9 @@ * setting sync ([#273](https://github.com/RSSNext/follow/issues/273)) ([f1a3481](https://github.com/RSSNext/follow/commit/f1a34812fbb7ef0a503fc4e1c8ebdc46e376e391)) * shortcut h to show shortcuts modal ([#361](https://github.com/RSSNext/follow/issues/361)) ([e9dc7b2](https://github.com/RSSNext/follow/commit/e9dc7b2f4c2cb26d55f2b24ebfa12d1cf3db568d)) * show edit when self ([#412](https://github.com/RSSNext/follow/issues/412)) ([22b94a5](https://github.com/RSSNext/follow/commit/22b94a5d13e82468da1c9a14d6cfc9d272f22841)) +* show media fallback for picture items ([83123f8](https://github.com/RSSNext/follow/commit/83123f8fb23e03a3384719e9228301aac122c215)) +* show media fallback for video item ([3446a81](https://github.com/RSSNext/follow/commit/3446a81ea28d9e18e5dfa18306758cda64637520)) +* show reasons for profile update failure ([#484](https://github.com/RSSNext/follow/issues/484)) ([b8b94ac](https://github.com/RSSNext/follow/commit/b8b94ac6c4e97088144f20cb8abd8f1d8080f8fd)) * smaller and fixed unread dot ([72aa3a8](https://github.com/RSSNext/follow/commit/72aa3a8cae968893b7ca3b0f8abf11c50c739c74)) * some optimize ([5f61579](https://github.com/RSSNext/follow/commit/5f6157972c7ce2bf45b6e7b4026d9e727795c9a3)) * sort the query results by the number of followers in asc order ([#379](https://github.com/RSSNext/follow/issues/379)) ([304cb7f](https://github.com/RSSNext/follow/commit/304cb7f59f8622cb076e5bf2b240b1a3f6c2614c)) @@ -430,12 +518,15 @@ * support Electron native search page content ([#198](https://github.com/RSSNext/follow/issues/198)) ([29b67dc](https://github.com/RSSNext/follow/commit/29b67dcf1b1c1c41b4b4d6be5df4dcfade6c31f5)) * support i18n ([#345](https://github.com/RSSNext/follow/issues/345)) ([53c1c66](https://github.com/RSSNext/follow/commit/53c1c6639f3e7383ec77f6aace672ba34cd8bbba)) * support pageup/pagedown to scroll up/down ([6e0c3bc](https://github.com/RSSNext/follow/commit/6e0c3bc5e3e2437a51fa991940b4e4496ed2bb75)) +* support setting proxy for app ([#452](https://github.com/RSSNext/follow/issues/452)) ([cfd5275](https://github.com/RSSNext/follow/commit/cfd527545ade50a529698bdd57ec16d0f3ccee98)) * support toc parser ([fb4ca52](https://github.com/RSSNext/follow/commit/fb4ca522440aced4d2aa18fda2a9d5c43e32d0d1)) * sync indicator when disable ([945ddda](https://github.com/RSSNext/follow/commit/945dddae2534f07e5289e307c36de1f8334636bc)) +* tiny styles ([78bcc55](https://github.com/RSSNext/follow/commit/78bcc5562baa12cece51da6564b77c6f37a1596c)) * tip to entries ([de22411](https://github.com/RSSNext/follow/commit/de22411dab3a5a0ddac886de93cd3da4f31e5494)) * toast when upgrade ([2a71bfc](https://github.com/RSSNext/follow/commit/2a71bfc0756011c0226c16ef53a755a47cf44acb)) * toc hoverable ([3be6f2b](https://github.com/RSSNext/follow/commit/3be6f2ba019cb914e8ff452065d252e01e7ae496)) * toc position calcation ([a7828d4](https://github.com/RSSNext/follow/commit/a7828d41e1e8e849a4f7df7e0c5e50c5d15a2491)) +* **ui:** social media ui refresh ([#459](https://github.com/RSSNext/follow/issues/459)) ([fcd96ab](https://github.com/RSSNext/follow/commit/fcd96ab2db4335caa8a6d5055cf12b0a2802fea1)) * update hono.ts ([66174a0](https://github.com/RSSNext/follow/commit/66174a028d0e709e0bd38cd7862bddeb1bdd19b4)) * update hono.ts ([c9e65dc](https://github.com/RSSNext/follow/commit/c9e65dcdde649963aafaad3c0b83165bf86df5dd)) * update invitation dialog text ([b062ea2](https://github.com/RSSNext/follow/commit/b062ea2353093ec67e1309652bc0d996b87b177a)) @@ -444,6 +535,9 @@ * update redirect page layout ([bca6276](https://github.com/RSSNext/follow/commit/bca627696eca663abb02483ffb5c98ed2dc0eebc)) * use check api for dailytask; claim toast ([feec0b0](https://github.com/RSSNext/follow/commit/feec0b0f0fb717725bf34208715d89c73968e885)) * use claim check api ([03764da](https://github.com/RSSNext/follow/commit/03764dac0ec500068376372ce4d85b1bc412bcd4)) +* use dotlottie and add confetti ([2385d15](https://github.com/RSSNext/follow/commit/2385d1530c62d7adada3923832d8f57a13268b6e)) +* use user.handle default to share profile url ([36d51d9](https://github.com/RSSNext/follow/commit/36d51d96f89a0182fd59cd48ff175ea5e8009f2e)) +* **ux:** rotating icon when reset rotate back ([13105ee](https://github.com/RSSNext/follow/commit/13105ee4177edb75d31b43d2bd1161516dcc8b8a)) * video player ([#225](https://github.com/RSSNext/follow/issues/225)) ([bb7d312](https://github.com/RSSNext/follow/commit/bb7d3127a9fe4543af12edfc49ce745e6ee7099e)) * video player i18n ([a498228](https://github.com/RSSNext/follow/commit/a4982289f8b4a7967e9ebea837109bd5e342b663)) * warn when go to external untrusted link ([06be9b5](https://github.com/RSSNext/follow/commit/06be9b58f7c054ef166ea7d5759944280de9a201)) @@ -451,8 +545,10 @@ ### Performance Improvements +* **i18n:** use nested key to reduce i18n resource size ([4fb1487](https://github.com/RSSNext/follow/commit/4fb1487576bf3100e6cb2a8170c9d936b6401b42)) * memo entry column to reduce resize panel re-render ([6bca4b4](https://github.com/RSSNext/follow/commit/6bca4b4a033d27b0953a8e6c3e625e3cd9b71277)) * merge all namespace of i18n resource in prod ([92bfce0](https://github.com/RSSNext/follow/commit/92bfce0f7e5faa6eef8d19d813f682271dc1bbf0)) +* persist tts voices ([9ea05b9](https://github.com/RSSNext/follow/commit/9ea05b9e517ccb67a4fc49cf85a255d15557a010)) * prefetch for entry list ([5c7a27d](https://github.com/RSSNext/follow/commit/5c7a27de7dedfaf1812f26823207331543dfcead)) * reduce re-render when ctx menu open ([96ff9f6](https://github.com/RSSNext/follow/commit/96ff9f660c0a469daafbb5f5cad47370bcd3a8f0)) * shadow dom css cache ([c1e3a02](https://github.com/RSSNext/follow/commit/c1e3a025f7ef8ff570399a44a95797c2c8261e42)) diff --git a/README.md b/README.md index c7a919d35..e5d914656 100644 --- a/README.md +++ b/README.md @@ -128,3 +128,5 @@ Since it is not very convenient to develop in Electron, the first way to develop Follow is licensed under the GNU General Public License version 3 with the addition of the following special exception: All content in the `icons/mgc` directory is copyrighted by https://mgc.mingcute.com/ and cannot be redistributed. + +All content in the `lottie` directory is distributed under the [Lottie Simple License](https://lottiefiles.com/page/license). diff --git a/apps/main/export.ts b/apps/main/export.ts new file mode 100644 index 000000000..5c8d4f0a0 --- /dev/null +++ b/apps/main/export.ts @@ -0,0 +1,3 @@ +export type { RendererHandlers } from "./src/renderer-handlers" +export type { Router } from "./src/tipc" +export { router } from "./src/tipc" diff --git a/apps/main/global.d.ts b/apps/main/global.d.ts new file mode 100644 index 000000000..2f2956a52 --- /dev/null +++ b/apps/main/global.d.ts @@ -0,0 +1,2 @@ +import "../../types/vite" +import "../../types/authjs" diff --git a/apps/main/package.json b/apps/main/package.json new file mode 100644 index 000000000..018ce7f19 --- /dev/null +++ b/apps/main/package.json @@ -0,0 +1,57 @@ +{ + "name": "@follow/electron-main", + "type": "module", + "private": true, + "author": "Follow Team", + "license": "GPL-3.0-only", + "homepage": "https://github.com/RSSNext", + "repository": { + "url": "https://github.com/RSSNext/follow", + "type": "git" + }, + "exports": { + ".": { + "types": "./dist/export.d.ts", + "import": "./dist/export.js" + } + }, + "main": "./src/index.ts", + "scripts": { + "typecheck": "tsup && tsc --noEmit" + }, + "dependencies": { + "@egoist/tipc": "0.3.2", + "@electron-toolkit/preload": "^3.0.1", + "@electron-toolkit/utils": "^3.0.0", + "@follow/shared": "workspace:*", + "@mozilla/readability": "^0.5.0", + "@sentry/electron": "5.4.0", + "builder-util-runtime": "9.2.5", + "dayjs": "1.11.13", + "dotenv": "16.4.5", + "electron-context-menu": "4.0.4", + "electron-log": "5.2.0", + "electron-squirrel-startup": "1.0.1", + "electron-updater": "^6.3.4", + "font-list": "1.5.1", + "i18next": "^23.15.1", + "linkedom": "^0.18.5", + "lodash-es": "4.17.21", + "lowdb": "7.0.1", + "msedge-tts": "1.3.4", + "nanoid": "5.0.7", + "ofetch": "1.4.0", + "posthog-js": "1.163.0", + "posthog-node": "4.2.0", + "semver": "7.6.3", + "vscode-languagedetection": "npm:@vscode/vscode-languagedetection@^1.0.22" + }, + "devDependencies": { + "@types/lodash-es": "4.17.12", + "@types/node": "^22.5.5", + "electron": "32.1.2", + "electron-devtools-installer": "3.2.0", + "hono": "4.6.2", + "typescript": "^5.6.2" + } +} diff --git a/src/preload/index.d.ts b/apps/main/preload/index.d.ts similarity index 100% rename from src/preload/index.d.ts rename to apps/main/preload/index.d.ts diff --git a/src/preload/index.ts b/apps/main/preload/index.ts similarity index 100% rename from src/preload/index.ts rename to apps/main/preload/index.ts diff --git a/apps/main/src/@types/constants.ts b/apps/main/src/@types/constants.ts new file mode 100644 index 000000000..b04778794 --- /dev/null +++ b/apps/main/src/@types/constants.ts @@ -0,0 +1,5 @@ +const langs = ["en", "zh-CN", "ja"] +export const currentSupportedLanguages = langs.sort() + +export const ns = ["native"] as const +export const defaultNS = "native" as const diff --git a/apps/main/src/@types/i18next.d.ts b/apps/main/src/@types/i18next.d.ts new file mode 100644 index 000000000..18cc9babb --- /dev/null +++ b/apps/main/src/@types/i18next.d.ts @@ -0,0 +1,13 @@ +import type { defaultNS, ns } from "./constants" +import type { resources } from "./resources" + +declare module "i18next" { + interface CustomTypeOptions { + ns: typeof ns + resources: (typeof resources)["en"] + defaultNS: typeof defaultNS + // if you see an error like: "Argument of type 'DefaultTFuncReturn' is not assignable to parameter of type xyz" + // set returnNull to false (and also in the i18next init options) + // returnNull: false; + } +} diff --git a/apps/main/src/@types/resources.ts b/apps/main/src/@types/resources.ts new file mode 100644 index 000000000..dd0ac1daa --- /dev/null +++ b/apps/main/src/@types/resources.ts @@ -0,0 +1,15 @@ +import en from "@locales/native/en.json" +import ja from "@locales/native/ja.json" +import zh from "@locales/native/zh-CN.json" + +export const resources = { + en: { + native: en, + }, + zh: { + native: zh, + }, + ja: { + native: ja, + }, +} diff --git a/src/main/constants/app.ts b/apps/main/src/constants/app.ts similarity index 100% rename from src/main/constants/app.ts rename to apps/main/src/constants/app.ts diff --git a/src/main/env.ts b/apps/main/src/env.ts similarity index 100% rename from src/main/env.ts rename to apps/main/src/env.ts diff --git a/src/main/helper.ts b/apps/main/src/helper.ts similarity index 100% rename from src/main/helper.ts rename to apps/main/src/helper.ts diff --git a/src/main/index.ts b/apps/main/src/index.ts similarity index 92% rename from src/main/index.ts rename to apps/main/src/index.ts index 453b23f32..037fdf658 100644 --- a/src/main/index.ts +++ b/apps/main/src/index.ts @@ -1,12 +1,13 @@ import { electronApp, optimizer } from "@electron-toolkit/utils" -import { APP_PROTOCOL, DEEPLINK_SCHEME } from "@shared/constants" -import { extractElectronWindowOptions } from "@shared/electron" +import { APP_PROTOCOL, DEEPLINK_SCHEME } from "@follow/shared/constants" +import { extractElectronWindowOptions } from "@follow/shared/electron" +import { env } from "@follow/shared/env" import { app, BrowserWindow, session } from "electron" import squirrelStartup from "electron-squirrel-startup" -import { env } from "../env" import { isDev, isMacOS } from "./env" -import { initializeApp } from "./init" +import { initializeAppStage0, initializeAppStage1 } from "./init" +import { updateProxy } from "./lib/proxy" import { setAuthSessionToken } from "./lib/user" import { registerUpdater } from "./updater" import { createMainWindow, createWindow } from "./window" @@ -17,7 +18,8 @@ if (squirrelStartup) { app.quit() } -function bootsharp() { +function bootstrap() { + initializeAppStage0() const gotTheLock = app.requestSingleInstanceLock() if (!gotTheLock) { @@ -28,7 +30,7 @@ function bootsharp() { let mainWindow: BrowserWindow - initializeApp() + initializeAppStage1() app.on("second-instance", (_, commandLine) => { if (mainWindow) { @@ -51,6 +53,7 @@ function bootsharp() { mainWindow = createMainWindow() + updateProxy() registerUpdater() //remove Electron, Follow from user agent @@ -164,4 +167,4 @@ function bootsharp() { }) } -bootsharp() +bootstrap() diff --git a/src/main/init.ts b/apps/main/src/init.ts similarity index 57% rename from src/main/init.ts rename to apps/main/src/init.ts index c67ef3c7a..93209cc1f 100644 --- a/src/main/init.ts +++ b/apps/main/src/init.ts @@ -1,11 +1,12 @@ import path from "node:path" import { registerIpcMain } from "@egoist/tipc/main" -import { APP_PROTOCOL } from "@shared/constants" +import { APP_PROTOCOL } from "@follow/shared/constants" import { app, nativeTheme, shell } from "electron" import contextMenu from "electron-context-menu" import { getIconPath } from "./helper" +import { t } from "./lib/i18n" import { store } from "./lib/store" import { registerAppMenu } from "./menu" import { initializeSentry } from "./sentry" @@ -17,7 +18,14 @@ const appFolder = { } const isDev = process.env.NODE_ENV === "development" -export const initializeApp = () => { + +/** + * Mandatory and fast initializers for the app + */ +export function initializeAppStage0() { + app.setPath("appData", path.join(app.getPath("appData"), isDev ? appFolder.dev : appFolder.prod)) +} +export const initializeAppStage1 = () => { if (process.defaultApp) { if (process.argv.length >= 2) { app.setAsDefaultProtocolClient(APP_PROTOCOL, process.execPath, [ @@ -32,8 +40,6 @@ export const initializeApp = () => { registerIpcMain(router) - app.setPath("appData", path.join(app.getPath("appData"), isDev ? appFolder.dev : appFolder.prod)) - if (app.dock) { app.dock.setIcon(getIconPath()) } @@ -45,9 +51,18 @@ export const initializeApp = () => { } // In this file you can include the rest of your app"s specific main process // code. You can also put them in separate files and require them here. - registerAppMenu() - contextMenu({ + registerMenuAndContextMenu() +} + +let contextMenuDisposer: () => void +export const registerMenuAndContextMenu = () => { + registerAppMenu() + if (contextMenuDisposer) { + contextMenuDisposer() + } + + contextMenuDisposer = contextMenu({ showSaveImageAs: true, showCopyLink: true, showCopyImageAddress: true, @@ -56,18 +71,39 @@ export const initializeApp = () => { showSelectAll: false, showCopyVideoAddress: true, showSaveVideoAs: true, + + labels: { + saveImageAs: t("contextMenu.saveImageAs"), + copyLink: t("contextMenu.copyLink"), + copyImageAddress: t("contextMenu.copyImageAddress"), + copyImage: t("contextMenu.copyImage"), + copyVideoAddress: t("contextMenu.copyVideoAddress"), + saveVideoAs: t("contextMenu.saveVideoAs"), + inspect: t("contextMenu.inspect"), + copy: t("contextMenu.copy"), + cut: t("contextMenu.cut"), + paste: t("contextMenu.paste"), + saveImage: t("contextMenu.saveImage"), + saveVideo: t("contextMenu.saveVideo"), + selectAll: t("contextMenu.selectAll"), + services: t("contextMenu.services"), + searchWithGoogle: t("contextMenu.searchWithGoogle"), + learnSpelling: t("contextMenu.learnSpelling"), + lookUpSelection: t("contextMenu.lookUpSelection"), + saveLinkAs: t("contextMenu.saveLinkAs"), + }, + prepend: (_defaultActions, params) => { return [ { - label: "Open Image in Browser", + label: t("contextMenu.openImageInBrowser"), visible: params.mediaType === "image", click: () => { shell.openExternal(params.srcURL) }, }, - { - label: "Open Link in Browser", + label: t("contextMenu.openLinkInBrowser"), visible: params.linkURL !== "", click: () => { shell.openExternal(params.linkURL) diff --git a/src/main/lib/api-client.ts b/apps/main/src/lib/api-client.ts similarity index 90% rename from src/main/lib/api-client.ts rename to apps/main/src/lib/api-client.ts index c7136ef03..934e555ea 100644 --- a/src/main/lib/api-client.ts +++ b/apps/main/src/lib/api-client.ts @@ -1,9 +1,9 @@ -import { env } from "@env" +import { env } from "@follow/shared/env" import PKG from "@pkg" import { hc } from "hono/client" import { ofetch } from "ofetch" -import type { AppType } from "../../hono" +import type { AppType } from "../../../../packages/shared/src/hono" import { logger } from "../logger" import { getAuthSessionToken } from "./user" diff --git a/apps/main/src/lib/context-menu.ts b/apps/main/src/lib/context-menu.ts new file mode 100644 index 000000000..0331254a7 --- /dev/null +++ b/apps/main/src/lib/context-menu.ts @@ -0,0 +1,58 @@ +import type { BrowserWindow } from "electron" +import { Menu } from "electron" + +import { t } from "./i18n" + +export const registerContextMenu = (window: BrowserWindow) => { + const handler = (_event: Electron.Event, props: Electron.ContextMenuParams) => { + const { selectionText, isEditable } = props + + const selectionMenu = Menu.buildFromTemplate([ + { role: "copy", label: t("menu.copy"), accelerator: "CmdOrCtrl+C" }, + { type: "separator" }, + { role: "selectAll", label: t("menu.selectAll"), accelerator: "CmdOrCtrl+A" }, + ]) + + const inputMenu = Menu.buildFromTemplate([ + { role: "undo", label: t("menu.undo"), accelerator: "CmdOrCtrl+Z" }, + { + role: "redo", + label: t("menu.redo"), + accelerator: "CmdOrCtrl+Shift+Z", + }, + { type: "separator" }, + { + role: "cut", + label: t("menu.cut"), + accelerator: "CmdOrCtrl+X", + }, + { + role: "copy", + label: t("menu.copy"), + accelerator: "CmdOrCtrl+C", + }, + { + role: "paste", + label: t("menu.paste"), + accelerator: "CmdOrCtrl+V", + }, + { + type: "separator", + }, + { role: "selectAll", label: t("menu.selectAll"), accelerator: "CmdOrCtrl+A" }, + ]) + + if (isEditable) { + inputMenu.popup({ + window, + }) + } else if (selectionText && selectionText.trim() !== "") { + selectionMenu.popup({ window }) + } + } + window.webContents.on("context-menu", handler) + + return () => { + window.webContents.removeListener("context-menu", handler) + } +} diff --git a/src/main/lib/dock.ts b/apps/main/src/lib/dock.ts similarity index 100% rename from src/main/lib/dock.ts rename to apps/main/src/lib/dock.ts diff --git a/src/main/lib/download.ts b/apps/main/src/lib/download.ts similarity index 100% rename from src/main/lib/download.ts rename to apps/main/src/lib/download.ts diff --git a/apps/main/src/lib/i18n.ts b/apps/main/src/lib/i18n.ts new file mode 100644 index 000000000..4ce28a0ab --- /dev/null +++ b/apps/main/src/lib/i18n.ts @@ -0,0 +1,15 @@ +import i18next from "i18next" + +import { resources } from "../@types/resources" + +export const defaultNS = "native" + +export const i18n = i18next.createInstance() as typeof i18next + +i18n.init({ + fallbackLng: "en", + defaultNS, + resources, +}) + +export const { t } = i18n diff --git a/src/main/lib/posthog.ts b/apps/main/src/lib/posthog.ts similarity index 91% rename from src/main/lib/posthog.ts rename to apps/main/src/lib/posthog.ts index 11d0f4735..5e0ce9de7 100644 --- a/src/main/lib/posthog.ts +++ b/apps/main/src/lib/posthog.ts @@ -1,4 +1,4 @@ -import { env } from "@env" +import { env } from "@follow/shared/env" import { PostHog } from "posthog-node" import { getUser } from "./user" diff --git a/apps/main/src/lib/proxy.ts b/apps/main/src/lib/proxy.ts new file mode 100644 index 000000000..695a3b48c --- /dev/null +++ b/apps/main/src/lib/proxy.ts @@ -0,0 +1,76 @@ +import { session } from "electron" + +import { logger } from "../logger" +import { store } from "./store" + +// Sets up the proxy configuration for the app. +// +// See https://www.electronjs.org/docs/latest/api/session#sessetproxyconfig +// for more information about the proxy API. +// +// The open-source project [poooi/poi](https://github.com/poooi/poi) is doing well in proxy configuration +// refer the following files for more details: +// +// https://github.com/poooi/poi/blob/5741d0d02c0a08626dd53196b094223457014491/lib/proxy.ts#L36 +// https://github.com/poooi/poi/blob/5741d0d02c0a08626dd53196b094223457014491/views/components/settings/network/index.es + +export const setProxyConfig = (inputProxy: string) => { + const proxyUri = normalizeProxyUri(inputProxy) + store.set("proxy", proxyUri) + if (!proxyUri) { + return false + } + return true +} + +export const getProxyConfig = () => { + const proxyConfig = store.get("proxy") as string | undefined + if (!proxyConfig) { + return + } + const proxyUri = normalizeProxyUri(proxyConfig) + return proxyUri +} + +const URL_SCHEME = new Set(["http:", "https:", "ftp:", "socks:", "socks4:", "socks5:"]) + +const normalizeProxyUri = (userProxy: string) => { + if (!userProxy) { + return + } + try { + const proxyUrl = new URL(userProxy) + if (!URL_SCHEME.has(proxyUrl.protocol) || !proxyUrl.hostname || !proxyUrl.port) { + return + } + // There are multiple ways to specify a proxy in Electron, + // but for security reasons, we only support simple proxy URLs for now. + return [ + `${proxyUrl.protocol}//${proxyUrl.hostname}:${proxyUrl.port}`, + // Failing over to using no proxy if the proxy is unavailable + "direct://", + ].join(",") + } catch { + return + } +} + +const BYPASS_RULES = [""].join(";") + +export const updateProxy = () => { + const proxyUri = getProxyConfig() + if (!proxyUri) { + session.defaultSession.setProxy({ + // Note that the system mode is different from setting no proxy configuration. + // In the latter case, Electron falls back to the system settings only if no command-line options influence the proxy configuration. + mode: "system", + }) + return + } + + logger.log(`Loading proxy: ${proxyUri}`) + session.defaultSession.setProxy({ + proxyRules: proxyUri, + proxyBypassRules: BYPASS_RULES, + }) +} diff --git a/src/main/lib/readability.ts b/apps/main/src/lib/readability.ts similarity index 100% rename from src/main/lib/readability.ts rename to apps/main/src/lib/readability.ts diff --git a/src/main/lib/store.ts b/apps/main/src/lib/store.ts similarity index 52% rename from src/main/lib/store.ts rename to apps/main/src/lib/store.ts index 7780b9cc1..0f0697d7a 100644 --- a/src/main/lib/store.ts +++ b/apps/main/src/lib/store.ts @@ -3,10 +3,14 @@ import { resolve } from "node:path" import { app } from "electron" import { JSONFileSyncPreset } from "lowdb/node" -export const db = JSONFileSyncPreset(resolve(app.getPath("userData"), "db.json"), {}) +const db = JSONFileSyncPreset(resolve(app.getPath("userData"), "db.json"), {}) as { + data: Record + write: () => void + read: () => void +} export const store = { - get: (key: string) => db.data[key], + get: (key: string) => db.data[key] as any, set: (key: string, value: any) => { db.data[key] = value db.write() diff --git a/src/main/lib/user.ts b/apps/main/src/lib/user.ts similarity index 100% rename from src/main/lib/user.ts rename to apps/main/src/lib/user.ts diff --git a/src/main/lib/utils.ts b/apps/main/src/lib/utils.ts similarity index 100% rename from src/main/lib/utils.ts rename to apps/main/src/lib/utils.ts diff --git a/src/main/logger.ts b/apps/main/src/logger.ts similarity index 100% rename from src/main/logger.ts rename to apps/main/src/logger.ts diff --git a/src/main/menu.ts b/apps/main/src/menu.ts similarity index 54% rename from src/main/menu.ts rename to apps/main/src/menu.ts index e7f4978af..3a8339b23 100644 --- a/src/main/menu.ts +++ b/apps/main/src/menu.ts @@ -1,9 +1,10 @@ +import { dispatchEventOnWindow } from "@follow/shared/event" import { name } from "@pkg" -import { dispatchEventOnWindow } from "@shared/event" import type { BrowserWindow, MenuItem, MenuItemConstructorOptions } from "electron" import { Menu } from "electron" import { isDev, isMacOS } from "./env" +import { t } from "./lib/i18n" import { revealLogFile } from "./logger" import { checkForUpdates, quitAndInstall } from "./updater" import { createSettingWindow, createWindow, getMainWindow } from "./window" @@ -17,24 +18,24 @@ export const registerAppMenu = () => { submenu: [ { type: "normal", - label: `About ${name}`, + label: t("menu.about", { name }), click: () => { createSettingWindow("about") }, }, { type: "separator" }, { - label: "Settings...", + label: t("menu.settings"), accelerator: "CmdOrCtrl+,", click: () => createSettingWindow(), }, { type: "separator" }, - { role: "services" }, + { role: "services", label: t("menu.services") }, { type: "separator" }, - { role: "hide" }, - { role: "hideOthers" }, + { role: "hide", label: t("menu.hide", { name }) }, + { role: "hideOthers", label: t("menu.hideOthers") }, { type: "separator" }, - { role: "quit" }, + { role: "quit", label: t("menu.quit", { name }) }, ], }, ] as MenuItemConstructorOptions[]) @@ -42,10 +43,11 @@ export const registerAppMenu = () => { { role: "fileMenu", + label: t("menu.file"), submenu: [ { type: "normal", - label: "Quick Add", + label: t("menu.quickAdd"), accelerator: "CmdOrCtrl+N", click: () => { const mainWindow = getMainWindow() @@ -57,7 +59,7 @@ export const registerAppMenu = () => { { type: "normal", - label: "Discover", + label: t("menu.discover"), accelerator: "CmdOrCtrl+T", click: () => { const mainWindow = getMainWindow() @@ -68,22 +70,22 @@ export const registerAppMenu = () => { }, { type: "separator" }, - { role: "close" }, + { role: "close", label: t("menu.close") }, ], }, { - label: "Edit", + label: t("menu.edit"), submenu: [ - { role: "undo" }, - { role: "redo" }, + { role: "undo", label: t("menu.undo") }, + { role: "redo", label: t("menu.redo") }, { type: "separator" }, - { role: "cut" }, - { role: "copy" }, - { role: "paste" }, + { role: "cut", label: t("menu.cut") }, + { role: "copy", label: t("menu.copy") }, + { role: "paste", label: t("menu.paste") }, { type: "separator" }, { type: "normal", - label: "Search", + label: t("menu.search"), accelerator: "CmdOrCtrl+F", click(_e, window) { if (!window) return @@ -92,37 +94,73 @@ export const registerAppMenu = () => { }, ...((isMacOS ? [ - { role: "pasteAndMatchStyle" }, - { role: "delete" }, - { role: "selectAll" }, + { role: "pasteAndMatchStyle", label: t("menu.pasteAndMatchStyle") }, + { role: "delete", label: t("menu.delete") }, + { role: "selectAll", label: t("menu.selectAll") }, { type: "separator" }, { - label: "Speech", - submenu: [{ role: "startSpeaking" }, { role: "stopSpeaking" }], + label: t("menu.speech"), + submenu: [ + { role: "startSpeaking", label: t("menu.startSpeaking") }, + { role: "stopSpeaking", label: t("menu.stopSpeaking") }, + ], }, ] : [ - { role: "delete" }, + { role: "delete", label: t("menu.delete") }, { type: "separator" }, - { role: "selectAll" }, + { role: "selectAll", label: t("menu.selectAll") }, ]) as MenuItemConstructorOptions[]), ], }, { role: "viewMenu", + label: t("menu.view"), + submenu: [ + { role: "reload", label: t("menu.reload") }, + { role: "forceReload", label: t("menu.forceReload") }, + { role: "toggleDevTools", label: t("menu.toggleDevTools") }, + { type: "separator" }, + { role: "resetZoom", label: t("menu.actualSize") }, + { role: "zoomIn", label: t("menu.zoomIn") }, + { role: "zoomOut", label: t("menu.zoomOut") }, + { type: "separator" }, + { role: "togglefullscreen", label: t("menu.toggleFullScreen") }, + ], }, - { role: "windowMenu" }, { - role: "help", + role: "windowMenu", + label: t("menu.window"), submenu: [ { - label: "Open log file", + role: "minimize", + label: t("menu.minimize"), + }, + { + role: "zoom", + label: t("menu.zoom"), + }, + { + type: "separator", + }, + { + role: "front", + label: t("menu.front"), + }, + ], + }, + { + role: "help", + label: t("menu.help"), + submenu: [ + { + label: t("menu.openLogFile"), click: async () => { await revealLogFile() }, }, { - label: "Check for Updates", + label: t("menu.checkForUpdates"), click: async () => { getMainWindow()?.show() await checkForUpdates() @@ -134,10 +172,10 @@ export const registerAppMenu = () => { if (isDev) { menus.push({ - label: "Debug", + label: t("menu.debug"), submenu: [ { - label: "follow https://github.com/RSSNext/follow/releases.atom", + label: t("menu.followReleases"), click: () => { createWindow({ extraPath: `#add?url=${encodeURIComponent( @@ -150,7 +188,7 @@ export const registerAppMenu = () => { }, { type: "normal", - label: "Debug: Quit and Install Update", + label: t("menu.quitAndInstallUpdate"), click() { quitAndInstall() }, diff --git a/src/main/renderer-handlers.ts b/apps/main/src/renderer-handlers.ts similarity index 100% rename from src/main/renderer-handlers.ts rename to apps/main/src/renderer-handlers.ts diff --git a/src/main/sentry.ts b/apps/main/src/sentry.ts similarity index 100% rename from src/main/sentry.ts rename to apps/main/src/sentry.ts diff --git a/src/main/tipc/_instance.ts b/apps/main/src/tipc/_instance.ts similarity index 100% rename from src/main/tipc/_instance.ts rename to apps/main/src/tipc/_instance.ts diff --git a/src/main/tipc/app.ts b/apps/main/src/tipc/app.ts similarity index 67% rename from src/main/tipc/app.ts rename to apps/main/src/tipc/app.ts index c1ca037a0..f66463891 100644 --- a/src/main/tipc/app.ts +++ b/apps/main/src/tipc/app.ts @@ -1,10 +1,15 @@ +import path from "node:path" + import { getRendererHandlers } from "@egoist/tipc/main" -import { callGlobalContextMethod } from "@shared/bridge" +import { callGlobalContextMethod } from "@follow/shared/bridge" import type { BrowserWindow } from "electron" import { app, clipboard, dialog, screen } from "electron" +import { registerMenuAndContextMenu } from "~/init" + import { isWindows11 } from "../env" import { downloadFile } from "../lib/download" +import { i18n } from "../lib/i18n" import { cleanAuthSessionToken, cleanUser } from "../lib/user" import type { RendererHandlers } from "../renderer-handlers" import { quitAndInstall } from "../updater" @@ -66,58 +71,59 @@ export const appRoute = { case "maximum": { // FIXME: this is a electron bug, see https://github.com/RSSNext/Follow/issues/231 // So in this way we use a workaround to fix it, that is manually resize the window - if (isWindows11) { - const display = screen.getDisplayMatching(window.getBounds()) - const size = display.workAreaSize + // Comemnt the manually handle logic and disable backgroundMaterial for now + // if (isWindows11) { + // const display = screen.getDisplayMatching(window.getBounds()) + // const size = display.workAreaSize - const isMaximized = size.height === window.getSize()[1] + // const isMaximized = size.height === window.getSize()[1] - const storeKey = Symbol.for("maximized") - if (isMaximized) { - const stored = window[storeKey] - if (!stored) return + // const storeKey = Symbol.for("maximized") + // if (isMaximized) { + // const stored = window[storeKey] + // if (!stored) return - window.setResizable(true) - window.setMovable(true) + // window.setResizable(true) + // window.setMovable(true) - window.setBounds( - { - width: stored.size[0], - height: stored.size[1], - x: stored.position[0], - y: stored.position[1], - }, - true, - ) + // window.setBounds( + // { + // width: stored.size[0], + // height: stored.size[1], + // x: stored.position[0], + // y: stored.position[1], + // }, + // true, + // ) - delete window[storeKey] - } else { - const currentWindowSize = window.getSize() - const currentWindowPosition = window.getPosition() - window[storeKey] = { - size: currentWindowSize, - position: currentWindowPosition, - } + // delete window[storeKey] + // } else { + // const currentWindowSize = window.getSize() + // const currentWindowPosition = window.getPosition() + // window[storeKey] = { + // size: currentWindowSize, + // position: currentWindowPosition, + // } - // Maually Resize - const { workArea } = display + // // Maually Resize + // const { workArea } = display - window.setBounds( - { - x: workArea.x, - y: workArea.y, - width: workArea.width, - height: workArea.height, - }, - true, - ) + // window.setBounds( + // { + // x: workArea.x, + // y: workArea.y, + // width: workArea.width, + // height: workArea.height, + // }, + // true, + // ) - window.setResizable(false) - window.setMovable(false) - } + // window.setResizable(false) + // window.setMovable(false) + // } - return - } + // return + // } if (window.isMaximized()) { window.unmaximize() @@ -202,7 +208,18 @@ export const appRoute = { }), getAppPath: t.procedure.action(async () => app.getAppPath()), + resolveAppAsarPath: t.procedure.input().action(async ({ input }) => { + return path.resolve(app.getAppPath(), input) + }), + + switchAppLocale: t.procedure.input().action(async ({ input }) => { + i18n.changeLanguage(input) + registerMenuAndContextMenu() + + app.commandLine.appendSwitch("lang", input) + }), } + interface Sender extends Electron.WebContents { getOwnerBrowserWindow: () => Electron.BrowserWindow | null } diff --git a/src/main/tipc/debug.ts b/apps/main/src/tipc/debug.ts similarity index 100% rename from src/main/tipc/debug.ts rename to apps/main/src/tipc/debug.ts diff --git a/src/main/tipc/dock.ts b/apps/main/src/tipc/dock.ts similarity index 100% rename from src/main/tipc/dock.ts rename to apps/main/src/tipc/dock.ts diff --git a/src/main/tipc/index.ts b/apps/main/src/tipc/index.ts similarity index 100% rename from src/main/tipc/index.ts rename to apps/main/src/tipc/index.ts diff --git a/src/main/tipc/menu.ts b/apps/main/src/tipc/menu.ts similarity index 100% rename from src/main/tipc/menu.ts rename to apps/main/src/tipc/menu.ts diff --git a/src/main/tipc/reader.ts b/apps/main/src/tipc/reader.ts similarity index 100% rename from src/main/tipc/reader.ts rename to apps/main/src/tipc/reader.ts diff --git a/src/main/tipc/setting.ts b/apps/main/src/tipc/setting.ts similarity index 83% rename from src/main/tipc/setting.ts rename to apps/main/src/tipc/setting.ts index b96e473b4..7bce61971 100644 --- a/src/main/tipc/setting.ts +++ b/apps/main/src/tipc/setting.ts @@ -3,6 +3,7 @@ import { createRequire } from "node:module" import { app, nativeTheme } from "electron" import { setDockCount } from "../lib/dock" +import { setProxyConfig, updateProxy } from "../lib/proxy" import { store } from "../lib/store" import { createSettingWindow } from "../window" import { t } from "./_instance" @@ -39,4 +40,10 @@ export const settingRoute = { setDockBadge: t.procedure.input().action(async ({ input }) => { setDockCount(input) }), + getProxyConfig: t.procedure.action(async () => store.get("proxy")), + setProxyConfig: t.procedure.input().action(async ({ input }) => { + const result = setProxyConfig(input) + updateProxy() + return result + }), } diff --git a/src/main/tipc/tracker.ts b/apps/main/src/tipc/tracker.ts similarity index 86% rename from src/main/tipc/tracker.ts rename to apps/main/src/tipc/tracker.ts index 7150b519d..27af0c5fc 100644 --- a/src/main/tipc/tracker.ts +++ b/apps/main/src/tipc/tracker.ts @@ -15,10 +15,10 @@ export const trackerRoute = { setUser(user) posthog?.capture({ event: "login", - distinctId: user.id, + distinctId: user.id ?? "", properties: { name: user.name, - handle: user.handle, + handle: user.handle ?? "", }, }) }), diff --git a/src/main/updater/custom-github-provider.ts b/apps/main/src/updater/custom-github-provider.ts similarity index 100% rename from src/main/updater/custom-github-provider.ts rename to apps/main/src/updater/custom-github-provider.ts diff --git a/src/main/updater/index.ts b/apps/main/src/updater/index.ts similarity index 100% rename from src/main/updater/index.ts rename to apps/main/src/updater/index.ts diff --git a/src/main/window.ts b/apps/main/src/window.ts similarity index 80% rename from src/main/window.ts rename to apps/main/src/window.ts index f35753503..ce4145c75 100644 --- a/src/main/window.ts +++ b/apps/main/src/window.ts @@ -2,13 +2,14 @@ import path from "node:path" import { fileURLToPath } from "node:url" import { is } from "@electron-toolkit/utils" -import { callGlobalContextMethod } from "@shared/bridge" -import { imageRefererMatches } from "@shared/image" +import { callGlobalContextMethod } from "@follow/shared/bridge" +import { imageRefererMatches } from "@follow/shared/image" import type { BrowserWindowConstructorOptions } from "electron" -import { BrowserWindow, Menu, shell } from "electron" +import { BrowserWindow, screen, shell } from "electron" import { isDev, isMacOS, isWindows11 } from "./env" import { getIconPath } from "./helper" +import { registerContextMenu } from "./lib/context-menu" import { store } from "./lib/store" import { logger } from "./logger" import { cancelPollingUpdateUnreadCount, pollingUpdateUnreadCount } from "./tipc/dock" @@ -63,9 +64,10 @@ export function createWindow( icon: getIconPath(), titleBarStyle: "hidden", - backgroundMaterial: isWindows11 ? "mica" : undefined, + // Electron material bug, comment this for now + // backgroundMaterial: isWindows11 ? "mica" : undefined, + frame: true, - maximizable: !isWindows11, } as Electron.BrowserWindowConstructorOptions) break } @@ -81,18 +83,15 @@ export function createWindow( ...configs, }) - function refreshBound(timeout = 0) { - setTimeout(() => { - const mainWindow = getMainWindow() - if (!mainWindow) return - // FIXME: workaround for theme bug in full screen mode - const size = mainWindow.getSize() - mainWindow.setSize(size[0] + 1, size[1] + 1) - mainWindow.setSize(size[0], size[1]) - }, timeout) - } - window.on("leave-html-full-screen", () => { + function refreshBound(timeout = 0) { + setTimeout(() => { + // FIXME: workaround for theme bug in full screen mode + const size = window?.getSize() + window?.setSize(size[0] + 1, size[1] + 1) + window?.setSize(size[0], size[1]) + }, timeout) + } // To solve the vibrancy losing issue when leaving full screen mode // @see https://github.com/toeverything/AFFiNE/blob/280e24934a27557529479a70ab38c4f5fc65cb00/packages/frontend/electron/src/main/windows-manager/main-window.ts:L157 refreshBound() @@ -142,52 +141,10 @@ export function createWindow( }, }) }) - - const selectionMenu = Menu.buildFromTemplate([ - { role: "copy", accelerator: "CmdOrCtrl+C" }, - { type: "separator" }, - { role: "selectAll", accelerator: "CmdOrCtrl+A" }, - ]) - - const inputMenu = Menu.buildFromTemplate([ - { role: "undo", accelerator: "CmdOrCtrl+Z" }, - { - role: "redo", - accelerator: "CmdOrCtrl+Shift+Z", - }, - { type: "separator" }, - { - role: "cut", - accelerator: "CmdOrCtrl+X", - }, - { - role: "copy", - accelerator: "CmdOrCtrl+C", - }, - { - role: "paste", - accelerator: "CmdOrCtrl+V", - }, - { - type: "separator", - }, - { role: "selectAll", accelerator: "CmdOrCtrl+A" }, - ]) - - window.webContents.on("context-menu", (_e, props) => { - const { selectionText, isEditable } = props - if (isEditable) { - inputMenu.popup({ - window, - }) - } else if (selectionText && selectionText.trim() !== "") { - selectionMenu.popup({ window }) - } - }) + registerContextMenu(window) return window } - export const createMainWindow = () => { const storeKey = "windowState" const windowState = store.get(storeKey) as { @@ -196,12 +153,29 @@ export const createMainWindow = () => { x: number y: number } | null + const primaryDisplay = screen.getPrimaryDisplay() + const { width: screenWidth, height: screenHeight } = primaryDisplay.workAreaSize + + // Ensure the window is within screen bounds + const ensureInBounds = (value: number, size: number, max: number) => { + if (value + size > max) { + return Math.max(0, max - size) + } + return Math.max(0, value) + } + + const width = windowState?.width || 1200 + const height = windowState?.height || 900 + const x = + windowState?.x !== undefined ? ensureInBounds(windowState.x, width, screenWidth) : undefined + const y = + windowState?.y !== undefined ? ensureInBounds(windowState.y, height, screenHeight) : undefined const window = createWindow({ width: windowState?.width || 1200, height: windowState?.height || 900, - x: windowState?.x, - y: windowState?.y, + x, + y, minWidth: 1024, minHeight: 500, }) diff --git a/apps/main/tsconfig.json b/apps/main/tsconfig.json new file mode 100644 index 000000000..f43b867b0 --- /dev/null +++ b/apps/main/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "@electron-toolkit/tsconfig/tsconfig.node.json", + "compilerOptions": { + "outDir": "dist", + "types": ["electron-vite/node"], + "moduleResolution": "Bundler", + "noImplicitReturns": false, + "noUnusedLocals": false, + "noUnusedParameters": false, + "baseUrl": ".", + "paths": { + "@pkg": ["../../package.json"], + "@locales/*": ["../../locales/*"], + "~/*": ["./src/*"] + } + } +} diff --git a/apps/main/tsup.config.ts b/apps/main/tsup.config.ts new file mode 100644 index 000000000..b18fd438f --- /dev/null +++ b/apps/main/tsup.config.ts @@ -0,0 +1,12 @@ +import { defineConfig } from "tsup" + +export default defineConfig(() => ({ + entry: ["./export.ts"], + outDir: "dist", + format: "esm", + clean: true, + dts: true, + splitting: false, + sourcemap: true, + skipNodeModulesBundle: true, +})) diff --git a/src/renderer/__debug_proxy.html b/apps/renderer/__debug_proxy.html similarity index 100% rename from src/renderer/__debug_proxy.html rename to apps/renderer/__debug_proxy.html diff --git a/apps/renderer/global.d.ts b/apps/renderer/global.d.ts new file mode 100644 index 000000000..5553b7555 --- /dev/null +++ b/apps/renderer/global.d.ts @@ -0,0 +1,12 @@ +import "../../types/authjs" + +import type { ElectronAPI } from "@electron-toolkit/preload" + +declare global { + interface Window { + electron?: ElectronAPI + api?: { canWindowBlur: boolean } + platform: NodeJS.Platform + } +} +export {} diff --git a/src/renderer/index.html b/apps/renderer/index.html similarity index 100% rename from src/renderer/index.html rename to apps/renderer/index.html diff --git a/apps/renderer/package.json b/apps/renderer/package.json new file mode 100644 index 000000000..55b3817f1 --- /dev/null +++ b/apps/renderer/package.json @@ -0,0 +1,123 @@ +{ + "name": "@follow/web", + "type": "module", + "private": true, + "main": "./dist/main/index.js", + "scripts": { + "test": "vitest", + "typecheck": "tsc --noEmit" + }, + "dependencies": { + "@egjs/react-infinitegrid": "4.12.0", + "@egoist/tipc": "0.3.2", + "@electron-toolkit/preload": "^3.0.1", + "@follow/electron-main": "workspace:*", + "@follow/shared": "workspace:*", + "@fontsource/sn-pro": "5.1.0", + "@headlessui/react": "2.1.8", + "@hono/auth-js": "1.0.10", + "@hookform/resolvers": "3.9.0", + "@iconify/tools": "4.0.6", + "@lottiefiles/dotlottie-react": "0.8.12", + "@microflash/remark-callout-directives": "4.3.1", + "@mozilla/readability": "^0.5.0", + "@radix-ui/react-alert-dialog": "1.1.1", + "@radix-ui/react-avatar": "1.1.0", + "@radix-ui/react-checkbox": "1.1.1", + "@radix-ui/react-context-menu": "2.2.1", + "@radix-ui/react-dialog": "1.1.1", + "@radix-ui/react-dropdown-menu": "2.1.1", + "@radix-ui/react-hover-card": "1.1.1", + "@radix-ui/react-label": "2.1.0", + "@radix-ui/react-popover": "1.1.1", + "@radix-ui/react-radio-group": "1.2.0", + "@radix-ui/react-scroll-area": "1.1.0", + "@radix-ui/react-select": "2.1.1", + "@radix-ui/react-slider": "^1.2.0", + "@radix-ui/react-slot": "1.1.0", + "@radix-ui/react-switch": "1.1.0", + "@radix-ui/react-tabs": "1.1.0", + "@radix-ui/react-toast": "1.2.1", + "@radix-ui/react-tooltip": "1.1.2", + "@sentry/react": "8.30.0", + "@sentry/vite-plugin": "2.22.4", + "@shikijs/transformers": "1.18.0", + "@t3-oss/env-core": "^0.11.1", + "@tanstack/query-sync-storage-persister": "5.56.2", + "@tanstack/react-query": "5.56.2", + "@tanstack/react-query-devtools": "5.56.2", + "@tanstack/react-query-persist-client": "5.56.2", + "@use-gesture/react": "10.3.1", + "@yornaath/batshit": "0.10.1", + "class-variance-authority": "0.7.0", + "click-to-react-component": "1.1.0", + "clsx": "2.1.1", + "cmdk": "1.0.0", + "dayjs": "1.11.13", + "dexie": "4.0.8", + "dnum": "^2.13.1", + "electron-log": "5.2.0", + "foxact": "0.2.38", + "framer-motion": "11.5.6", + "franc-min": "6.2.0", + "fuse.js": "7.0.0", + "hast-util-to-jsx-runtime": "2.3.0", + "hast-util-to-text": "4.0.2", + "i18next": "^23.15.1", + "i18next-browser-languagedetector": "8.0.0", + "idb-keyval": "6.2.1", + "immer": "10.1.1", + "jotai": "2.10.0", + "lethargy": "1.0.9", + "linkedom": "^0.18.5", + "lodash-es": "4.17.21", + "nanoid": "5.0.7", + "ofetch": "1.4.0", + "path-to-regexp": "8.1.0", + "posthog-js": "1.163.0", + "re-resizable": "6.9.18", + "react-error-boundary": "4.0.13", + "react-fast-marquee": "1.6.5", + "react-hook-form": "7.53.0", + "react-hotkeys-hook": "4.5.1", + "react-i18next": "^15.0.2", + "react-intersection-observer": "9.13.1", + "react-resizable-layout": "npm:@innei/react-resizable-layout@0.7.3-fork.1", + "react-router-dom": "6.26.2", + "react-selecto": "1.26.3", + "react-shadow": "20.5.0", + "react-virtuoso": "4.10.4", + "rehype-infer-description-meta": "2.0.0", + "rehype-parse": "9.0.0", + "rehype-sanitize": "6.0.0", + "rehype-stringify": "10.0.0", + "remark-directive": "3.0.0", + "remark-gfm": "4.0.0", + "remark-gh-alerts": "0.0.3", + "remark-parse": "11.0.0", + "remark-rehype": "11.1.1", + "shiki": "1.18.0", + "sonner": "^1.5.0", + "swiper": "11.1.14", + "tailwind-merge": "2.5.2", + "tldts": "6.1.47", + "unified": "11.0.5", + "use-context-selector": "2.0.0", + "usehooks-ts": "3.1.0", + "vfile": "6.0.3", + "zod": "3.23.8", + "zustand": "4.5.5" + }, + "devDependencies": { + "@babel/generator": "7.25.6", + "@hono/node-server": "1.13.1", + "@types/lodash-es": "4.17.12", + "@types/node": "^22.5.5", + "@types/react": "^18.3.8", + "@types/react-dom": "^18.3.0", + "fake-indexeddb": "6.0.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "typescript": "^5.6.2" + } +} diff --git a/src/renderer/public/favicon-dev.ico b/apps/renderer/public/favicon-dev.ico similarity index 100% rename from src/renderer/public/favicon-dev.ico rename to apps/renderer/public/favicon-dev.ico diff --git a/src/renderer/public/favicon.ico b/apps/renderer/public/favicon.ico similarity index 100% rename from src/renderer/public/favicon.ico rename to apps/renderer/public/favicon.ico diff --git a/src/renderer/public/icon-192x192.png b/apps/renderer/public/icon-192x192.png similarity index 100% rename from src/renderer/public/icon-192x192.png rename to apps/renderer/public/icon-192x192.png diff --git a/src/renderer/public/icon-512x512.png b/apps/renderer/public/icon-512x512.png similarity index 100% rename from src/renderer/public/icon-512x512.png rename to apps/renderer/public/icon-512x512.png diff --git a/src/renderer/public/icon.svg b/apps/renderer/public/icon.svg similarity index 100% rename from src/renderer/public/icon.svg rename to apps/renderer/public/icon.svg diff --git a/src/renderer/public/manifest.json b/apps/renderer/public/manifest.json similarity index 100% rename from src/renderer/public/manifest.json rename to apps/renderer/public/manifest.json diff --git a/src/renderer/public/opengraph-image.png b/apps/renderer/public/opengraph-image.png similarity index 100% rename from src/renderer/public/opengraph-image.png rename to apps/renderer/public/opengraph-image.png diff --git a/setup-file.ts b/apps/renderer/setup-file.ts similarity index 100% rename from setup-file.ts rename to apps/renderer/setup-file.ts diff --git a/apps/renderer/src/@types/constants.ts b/apps/renderer/src/@types/constants.ts new file mode 100644 index 000000000..c2ed46209 --- /dev/null +++ b/apps/renderer/src/@types/constants.ts @@ -0,0 +1,43 @@ +// This file is auto-generated by scripts/generate-i18n-locale.ts +// DONT EDIT THIS FILE MANUALLY +export const currentSupportedLanguages = [ + "en", + "ja", + "zh-CN", + "zh-TW", + "zh-HK", + "pt", + "fr", + "ar-DZ", + "ar-SA", + "ar-MA", + "ar-IQ", + "ar-KW", + "ar-TN", + "fi", + "it", + "ru", + "es", +] + +export const dayjsLocaleImportMap = { + en: ["en", () => import("dayjs/locale/en")], + ["zh-CN"]: ["zh-cn", () => import("dayjs/locale/zh-cn")], + ["ja"]: ["ja", () => import("dayjs/locale/ja")], + ["ru"]: ["ru", () => import("dayjs/locale/ru")], + ["fi"]: ["fi", () => import("dayjs/locale/fi")], + ["it"]: ["it", () => import("dayjs/locale/it")], + ["ar-DZ"]: ["ar-dz", () => import("dayjs/locale/ar-dz")], + ["ar-SA"]: ["ar-sa", () => import("dayjs/locale/ar-sa")], + ["ar-MA"]: ["ar-ma", () => import("dayjs/locale/ar-ma")], + ["es"]: ["es", () => import("dayjs/locale/es")], + ["fr"]: ["fr", () => import("dayjs/locale/fr")], + ["pt"]: ["pt", () => import("dayjs/locale/pt")], + ["zh-TW"]: ["zh-tw", () => import("dayjs/locale/zh-tw")], + ["ar-IQ"]: ["ar-iq", () => import("dayjs/locale/ar-iq")], + ["ar-KW"]: ["ar-kw", () => import("dayjs/locale/ar-kw")], + ["ar-TN"]: ["ar-tn", () => import("dayjs/locale/ar-tn")], + ["zh-HK"]: ["zh-hk", () => import("dayjs/locale/zh-hk")], +} +export const ns = ["app", "common", "lang", "settings", "shortcuts", "errors"] as const +export const defaultNS = "app" as const diff --git a/apps/renderer/src/@types/default-resource.ts b/apps/renderer/src/@types/default-resource.ts new file mode 100644 index 000000000..a033ec603 --- /dev/null +++ b/apps/renderer/src/@types/default-resource.ts @@ -0,0 +1,78 @@ +// This file is auto-generated by scripts/generate-i18n-locale.ts +// DONT EDIT THIS FILE MANUALLY +import en from "../../../../locales/app/en.json" +import common_ardz from "../../../../locales/common/ar-DZ.json" +import common_ariq from "../../../../locales/common/ar-IQ.json" +import common_arkw from "../../../../locales/common/ar-KW.json" +import common_arma from "../../../../locales/common/ar-MA.json" +import common_arsa from "../../../../locales/common/ar-SA.json" +import common_artn from "../../../../locales/common/ar-TN.json" +import common_en from "../../../../locales/common/en.json" +import common_es from "../../../../locales/common/es.json" +import common_fi from "../../../../locales/common/fi.json" +import common_fr from "../../../../locales/common/fr.json" +import common_it from "../../../../locales/common/it.json" +import common_ja from "../../../../locales/common/ja.json" +import common_pt from "../../../../locales/common/pt.json" +import common_ru from "../../../../locales/common/ru.json" +import common_zhCN from "../../../../locales/common/zh-CN.json" +import common_zhTW from "../../../../locales/common/zh-TW.json" +import errors_en from "../../../../locales/errors/en.json" +import external_en from "../../../../locales/external/en.json" +import lang_ardz from "../../../../locales/lang/ar-DZ.json" +import lang_ariq from "../../../../locales/lang/ar-IQ.json" +import lang_arkw from "../../../../locales/lang/ar-KW.json" +import lang_arma from "../../../../locales/lang/ar-MA.json" +import lang_arsa from "../../../../locales/lang/ar-SA.json" +import lang_artn from "../../../../locales/lang/ar-TN.json" +import lang_en from "../../../../locales/lang/en.json" +import lang_es from "../../../../locales/lang/es.json" +import lang_fi from "../../../../locales/lang/fi.json" +import lang_fr from "../../../../locales/lang/fr.json" +import lang_it from "../../../../locales/lang/it.json" +import lang_ja from "../../../../locales/lang/ja.json" +import lang_pt from "../../../../locales/lang/pt.json" +import lang_ru from "../../../../locales/lang/ru.json" +import lang_zhCN from "../../../../locales/lang/zh-CN.json" +import lang_zhTW from "../../../../locales/lang/zh-TW.json" +import settings_en from "../../../../locales/settings/en.json" +import shortcuts_en from "../../../../locales/shortcuts/en.json" +/** + * This file is the language resource that is loaded in full when the app is initialized. + * When switching languages, the app will automatically download the required language resources, + * we will not load all the language resources to minimize the first screen loading time of the app. + * Generally, we only load english resources synchronously by default. + * In addition, we attach common resources for other languages, and the size of the common resources must be controlled. + */ +export const defaultResources = { + en: { + app: en, + lang: lang_en, + common: common_en, + external: external_en, + settings: settings_en, + shortcuts: shortcuts_en, + errors: errors_en, + }, + "zh-CN": { + lang: lang_zhCN, + common: common_zhCN, + }, + ja: { + lang: lang_ja, + common: common_ja, + }, + ru: { lang: lang_ru, common: common_ru }, + fi: { lang: lang_fi, common: common_fi }, + it: { lang: lang_it, common: common_it }, + "ar-DZ": { lang: lang_ardz, common: common_ardz }, + "ar-SA": { lang: lang_arsa, common: common_arsa }, + "ar-MA": { lang: lang_arma, common: common_arma }, + "zh-TW": { lang: lang_zhTW, common: common_zhTW }, + es: { lang: lang_es, common: common_es }, + fr: { lang: lang_fr, common: common_fr }, + pt: { lang: lang_pt, common: common_pt }, + "ar-IQ": { lang: lang_ariq, common: common_ariq }, + "ar-KW": { lang: lang_arkw, common: common_arkw }, + "ar-TN": { lang: lang_artn, common: common_artn }, +} diff --git a/src/renderer/src/@types/i18next.d.ts b/apps/renderer/src/@types/i18next.d.ts similarity index 100% rename from src/renderer/src/@types/i18next.d.ts rename to apps/renderer/src/@types/i18next.d.ts diff --git a/src/renderer/src/App.tsx b/apps/renderer/src/App.tsx similarity index 96% rename from src/renderer/src/App.tsx rename to apps/renderer/src/App.tsx index 7dccd2a2f..1ba53257f 100644 --- a/src/renderer/src/App.tsx +++ b/apps/renderer/src/App.tsx @@ -1,8 +1,9 @@ -import { queryClient } from "@renderer/lib/query-client" +import { env } from "@follow/shared/env" import { useEffect, useLayoutEffect } from "react" import { Outlet } from "react-router-dom" -import { env } from "../../env.js" +import { queryClient } from "~/lib/query-client" + import { useAppIsReady } from "./atoms/app" import { useUISettingKey } from "./atoms/settings/ui" import { applyAfterReadyCallbacks } from "./initialize/queue.js" diff --git a/src/renderer/src/atoms/app.ts b/apps/renderer/src/atoms/app.ts similarity index 79% rename from src/renderer/src/atoms/app.ts rename to apps/renderer/src/atoms/app.ts index 2c2e0ccb8..21ac12efb 100644 --- a/src/renderer/src/atoms/app.ts +++ b/apps/renderer/src/atoms/app.ts @@ -1,6 +1,7 @@ -import { createAtomHooks } from "@renderer/lib/jotai" import { atom } from "jotai" +import { createAtomHooks } from "~/lib/jotai" + export const [, , useAppIsReady, , appIsReady, setAppIsReady] = createAtomHooks(atom(false)) export const [, , useAppSearchOpen, , , setAppSearchOpen] = createAtomHooks(atom(false)) diff --git a/src/renderer/src/atoms/corner-player.ts b/apps/renderer/src/atoms/corner-player.ts similarity index 84% rename from src/renderer/src/atoms/corner-player.ts rename to apps/renderer/src/atoms/corner-player.ts index cd655c0fa..72075bd5e 100644 --- a/src/renderer/src/atoms/corner-player.ts +++ b/apps/renderer/src/atoms/corner-player.ts @@ -1,7 +1,8 @@ -import { createAtomHooks } from "@renderer/lib/jotai" -import { getStorageNS } from "@renderer/lib/ns" import { atomWithStorage } from "jotai/utils" +import { createAtomHooks } from "~/lib/jotai" +import { getStorageNS } from "~/lib/ns" + type CornerPlayerAtomValue = { show: boolean type?: "audio" diff --git a/src/renderer/src/atoms/dom.ts b/apps/renderer/src/atoms/dom.ts similarity index 76% rename from src/renderer/src/atoms/dom.ts rename to apps/renderer/src/atoms/dom.ts index a0c1f7027..e513e2e71 100644 --- a/src/renderer/src/atoms/dom.ts +++ b/apps/renderer/src/atoms/dom.ts @@ -1,5 +1,6 @@ -import { createAtomHooks } from "@renderer/lib/jotai" import { atom } from "jotai" +import { createAtomHooks } from "~/lib/jotai" + export const [, , useMainContainerElement, , getMainContainerElement, setMainContainerElement] = createAtomHooks(atom(null)) diff --git a/src/renderer/src/atoms/hooks/viewport.ts b/apps/renderer/src/atoms/hooks/viewport.ts similarity index 94% rename from src/renderer/src/atoms/hooks/viewport.ts rename to apps/renderer/src/atoms/hooks/viewport.ts index 534356579..8e9c1b4e7 100644 --- a/src/renderer/src/atoms/hooks/viewport.ts +++ b/apps/renderer/src/atoms/hooks/viewport.ts @@ -1,9 +1,10 @@ -import { jotaiStore } from "@renderer/lib/jotai" import type { ExtractAtomValue } from "jotai" import { useAtomValue } from "jotai" import { selectAtom } from "jotai/utils" import { useCallback } from "react" +import { jotaiStore } from "~/lib/jotai" + import { viewportAtom } from "../viewport" export const useViewport = (selector: (value: ExtractAtomValue) => T): T => diff --git a/src/renderer/src/atoms/lang.ts b/apps/renderer/src/atoms/lang.ts similarity index 100% rename from src/renderer/src/atoms/lang.ts rename to apps/renderer/src/atoms/lang.ts diff --git a/src/renderer/src/atoms/network.ts b/apps/renderer/src/atoms/network.ts similarity index 94% rename from src/renderer/src/atoms/network.ts rename to apps/renderer/src/atoms/network.ts index 9ca945729..75a38eb39 100644 --- a/src/renderer/src/atoms/network.ts +++ b/apps/renderer/src/atoms/network.ts @@ -1,6 +1,7 @@ -import { createAtomHooks } from "@renderer/lib/jotai" import { atom } from "jotai" +import { createAtomHooks } from "~/lib/jotai" + export enum NetworkStatus { ONLINE, OFFLINE, diff --git a/src/renderer/src/atoms/player.ts b/apps/renderer/src/atoms/player.ts similarity index 97% rename from src/renderer/src/atoms/player.ts rename to apps/renderer/src/atoms/player.ts index b7b069701..cebc4a693 100644 --- a/src/renderer/src/atoms/player.ts +++ b/apps/renderer/src/atoms/player.ts @@ -1,9 +1,10 @@ -import { createAtomHooks } from "@renderer/lib/jotai" -import { getStorageNS } from "@renderer/lib/ns" import { noop } from "foxact/noop" import { atomWithStorage, createJSONStorage } from "jotai/utils" import type { SyncStorage } from "jotai/vanilla/utils/atomWithStorage" +import { createAtomHooks } from "~/lib/jotai" +import { getStorageNS } from "~/lib/ns" + type PlayerAtomValue = { show: boolean type?: "audio" diff --git a/src/renderer/src/atoms/readability.ts b/apps/renderer/src/atoms/readability.ts similarity index 96% rename from src/renderer/src/atoms/readability.ts rename to apps/renderer/src/atoms/readability.ts index d3c21e49d..326d92d45 100644 --- a/src/renderer/src/atoms/readability.ts +++ b/apps/renderer/src/atoms/readability.ts @@ -1,6 +1,7 @@ -import { createAtomHooks } from "@renderer/lib/jotai" import { atom } from "jotai" +import { createAtomHooks } from "~/lib/jotai" + type Readability = { title: string content: string diff --git a/src/renderer/src/atoms/route.ts b/apps/renderer/src/atoms/route.ts similarity index 95% rename from src/renderer/src/atoms/route.ts rename to apps/renderer/src/atoms/route.ts index 4bd7aea77..71fb1a252 100644 --- a/src/renderer/src/atoms/route.ts +++ b/apps/renderer/src/atoms/route.ts @@ -1,9 +1,10 @@ -import { createAtomHooks } from "@renderer/lib/jotai" import { atom, useAtomValue } from "jotai" import { selectAtom } from "jotai/utils" import { useMemo } from "react" import type { Location, NavigateFunction, Params } from "react-router-dom" +import { createAtomHooks } from "~/lib/jotai" + interface RouteAtom { params: Readonly> searchParams: URLSearchParams diff --git a/src/renderer/src/atoms/settings/general.ts b/apps/renderer/src/atoms/settings/general.ts similarity index 90% rename from src/renderer/src/atoms/settings/general.ts rename to apps/renderer/src/atoms/settings/general.ts index 649ee99b2..a9b6ba98b 100644 --- a/src/renderer/src/atoms/settings/general.ts +++ b/apps/renderer/src/atoms/settings/general.ts @@ -1,5 +1,6 @@ -import { jotaiStore } from "@renderer/lib/jotai" -import type { GeneralSettings } from "@shared/interface/settings" +import type { GeneralSettings } from "@follow/shared/interface/settings" + +import { jotaiStore } from "~/lib/jotai" import { createSettingAtom } from "./helper" @@ -43,4 +44,5 @@ export const generalServerSyncWhiteListKeys: (keyof GeneralSettings)[] = [ "appLaunchOnStartup", "dataPersist", "sendAnonymousData", + "language", ] diff --git a/src/renderer/src/atoms/settings/helper.ts b/apps/renderer/src/atoms/settings/helper.ts similarity index 89% rename from src/renderer/src/atoms/settings/helper.ts rename to apps/renderer/src/atoms/settings/helper.ts index 453189044..7b84638bf 100644 --- a/src/renderer/src/atoms/settings/helper.ts +++ b/apps/renderer/src/atoms/settings/helper.ts @@ -1,14 +1,15 @@ -import { useRefValue } from "@renderer/hooks/common" -import { EventBus } from "@renderer/lib/event-bus" -import { createAtomHooks } from "@renderer/lib/jotai" -import { getStorageNS } from "@renderer/lib/ns" -import type { SettingItem } from "@renderer/modules/settings/setting-builder" -import { createSettingBuilder } from "@renderer/modules/settings/setting-builder" import { useAtomValue } from "jotai" import { atomWithStorage, selectAtom } from "jotai/utils" import { useMemo } from "react" -declare module "@renderer/lib/event-bus" { +import { useRefValue } from "~/hooks/common" +import { EventBus } from "~/lib/event-bus" +import { createAtomHooks } from "~/lib/jotai" +import { getStorageNS } from "~/lib/ns" +import type { SettingItem } from "~/modules/settings/setting-builder" +import { createSettingBuilder } from "~/modules/settings/setting-builder" + +declare module "~/lib/event-bus" { interface CustomEvent { SETTING_CHANGE_EVENT: { updated: number diff --git a/src/renderer/src/atoms/settings/integration.ts b/apps/renderer/src/atoms/settings/integration.ts similarity index 89% rename from src/renderer/src/atoms/settings/integration.ts rename to apps/renderer/src/atoms/settings/integration.ts index f8cee02bc..2e671909f 100644 --- a/src/renderer/src/atoms/settings/integration.ts +++ b/apps/renderer/src/atoms/settings/integration.ts @@ -1,4 +1,4 @@ -import type { IntegrationSettings } from "@shared/interface/settings" +import type { IntegrationSettings } from "@follow/shared/interface/settings" import { createSettingAtom } from "./helper" diff --git a/src/renderer/src/atoms/settings/ui.ts b/apps/renderer/src/atoms/settings/ui.ts similarity index 86% rename from src/renderer/src/atoms/settings/ui.ts rename to apps/renderer/src/atoms/settings/ui.ts index dd4f7ac0e..8a0fb1e25 100644 --- a/src/renderer/src/atoms/settings/ui.ts +++ b/apps/renderer/src/atoms/settings/ui.ts @@ -1,4 +1,4 @@ -import type { UISettings } from "@shared/interface/settings" +import type { UISettings } from "@follow/shared/interface/settings" import { createSettingAtom } from "./helper" @@ -19,13 +19,15 @@ export const createDefaultSettings = (): UISettings => ({ modalDraggable: true, modalOpaque: true, reduceMotion: false, + usePointerCursor: false, // Font uiFontFamily: "SN Pro", readerFontFamily: "inherit", // Content readerRenderInlineStyle: false, - codeHighlightTheme: "github-dark", + codeHighlightThemeLight: "github-light", + codeHighlightThemeDark: "github-dark", guessCodeLanguage: true, // View diff --git a/src/renderer/src/atoms/sidebar.ts b/apps/renderer/src/atoms/sidebar.ts similarity index 85% rename from src/renderer/src/atoms/sidebar.ts rename to apps/renderer/src/atoms/sidebar.ts index 149ef7b22..cc32606cd 100644 --- a/src/renderer/src/atoms/sidebar.ts +++ b/apps/renderer/src/atoms/sidebar.ts @@ -1,8 +1,9 @@ -import { getRouteParams } from "@renderer/hooks/biz/useRouteParams" -import { FeedViewType } from "@renderer/lib/enum" -import { createAtomHooks } from "@renderer/lib/jotai" import { atom } from "jotai" +import { getRouteParams } from "~/hooks/biz/useRouteParams" +import { FeedViewType } from "~/lib/enum" +import { createAtomHooks } from "~/lib/jotai" + const defaultFeedView = FeedViewType.Articles const viewAtom = atom(-1) const [ diff --git a/src/renderer/src/atoms/updater.ts b/apps/renderer/src/atoms/updater.ts similarity index 67% rename from src/renderer/src/atoms/updater.ts rename to apps/renderer/src/atoms/updater.ts index 912700b46..297e688d7 100644 --- a/src/renderer/src/atoms/updater.ts +++ b/apps/renderer/src/atoms/updater.ts @@ -1,7 +1,8 @@ -import { createAtomHooks } from "@renderer/lib/jotai" -import { getStorageNS } from "@renderer/lib/ns" import { atomWithStorage } from "jotai/utils" +import { createAtomHooks } from "~/lib/jotai" +import { getStorageNS } from "~/lib/ns" + export const [, , useUpdaterStatus, , , setUpdaterStatus] = createAtomHooks( atomWithStorage(getStorageNS("updater"), false, undefined, { getOnInit: true, diff --git a/src/renderer/src/atoms/user.ts b/apps/renderer/src/atoms/user.ts similarity index 85% rename from src/renderer/src/atoms/user.ts rename to apps/renderer/src/atoms/user.ts index 8622ced4e..94c653e39 100644 --- a/src/renderer/src/atoms/user.ts +++ b/apps/renderer/src/atoms/user.ts @@ -1,7 +1,8 @@ import type { User } from "@auth/core/types" -import { createAtomHooks } from "@renderer/lib/jotai" import { atom } from "jotai" +import { createAtomHooks } from "~/lib/jotai" + export const [, , useWhoami, , whoami, setWhoami] = createAtomHooks(atom>(null)) export const [, , useLoginModalShow, useSetLoginModalShow, getLoginModalShow, setLoginModalShow] = diff --git a/src/renderer/src/atoms/viewport.ts b/apps/renderer/src/atoms/viewport.ts similarity index 100% rename from src/renderer/src/atoms/viewport.ts rename to apps/renderer/src/atoms/viewport.ts diff --git a/src/renderer/src/components/Versions.tsx b/apps/renderer/src/components/Versions.tsx similarity index 100% rename from src/renderer/src/components/Versions.tsx rename to apps/renderer/src/components/Versions.tsx diff --git a/src/renderer/src/components/common/AppErrorBoundary.tsx b/apps/renderer/src/components/common/AppErrorBoundary.tsx similarity index 100% rename from src/renderer/src/components/common/AppErrorBoundary.tsx rename to apps/renderer/src/components/common/AppErrorBoundary.tsx diff --git a/src/renderer/src/components/common/ErrorElement.tsx b/apps/renderer/src/components/common/ErrorElement.tsx similarity index 94% rename from src/renderer/src/components/common/ErrorElement.tsx rename to apps/renderer/src/components/common/ErrorElement.tsx index 9574c99ac..23f0392ad 100644 --- a/src/renderer/src/components/common/ErrorElement.tsx +++ b/apps/renderer/src/components/common/ErrorElement.tsx @@ -1,11 +1,12 @@ -import { attachOpenInEditor } from "@renderer/lib/dev" -import { getNewIssueUrl } from "@renderer/lib/issues" -import { clearLocalPersistStoreData } from "@renderer/store/utils/clear" import { captureException } from "@sentry/react" import { useEffect, useRef } from "react" import { isRouteErrorResponse, useNavigate, useRouteError } from "react-router-dom" import { toast } from "sonner" +import { attachOpenInEditor } from "~/lib/dev" +import { getNewIssueUrl } from "~/lib/issues" +import { clearLocalPersistStoreData } from "~/store/utils/clear" + import { Button } from "../ui/button" import { PoweredByFooter } from "./PoweredByFooter" diff --git a/src/renderer/src/components/common/ExPromise.tsx b/apps/renderer/src/components/common/ExPromise.tsx similarity index 100% rename from src/renderer/src/components/common/ExPromise.tsx rename to apps/renderer/src/components/common/ExPromise.tsx diff --git a/src/renderer/src/components/common/Fragment.tsx b/apps/renderer/src/components/common/Fragment.tsx similarity index 100% rename from src/renderer/src/components/common/Fragment.tsx rename to apps/renderer/src/components/common/Fragment.tsx diff --git a/src/renderer/src/components/common/ImpressionTracker.tsx b/apps/renderer/src/components/common/ImpressionTracker.tsx similarity index 100% rename from src/renderer/src/components/common/ImpressionTracker.tsx rename to apps/renderer/src/components/common/ImpressionTracker.tsx diff --git a/src/renderer/src/components/common/LoadMoreIndicator.tsx b/apps/renderer/src/components/common/LoadMoreIndicator.tsx similarity index 100% rename from src/renderer/src/components/common/LoadMoreIndicator.tsx rename to apps/renderer/src/components/common/LoadMoreIndicator.tsx diff --git a/src/renderer/src/components/common/LoadRemixAsyncComponent.tsx b/apps/renderer/src/components/common/LoadRemixAsyncComponent.tsx similarity index 100% rename from src/renderer/src/components/common/LoadRemixAsyncComponent.tsx rename to apps/renderer/src/components/common/LoadRemixAsyncComponent.tsx diff --git a/src/renderer/src/components/common/Motion.tsx b/apps/renderer/src/components/common/Motion.tsx similarity index 93% rename from src/renderer/src/components/common/Motion.tsx rename to apps/renderer/src/components/common/Motion.tsx index bc706c2c4..b4d26341e 100644 --- a/src/renderer/src/components/common/Motion.tsx +++ b/apps/renderer/src/components/common/Motion.tsx @@ -1,8 +1,9 @@ -import { useReduceMotion } from "@renderer/hooks/biz/useReduceMotion" import type { MotionProps } from "framer-motion" import { m as M } from "framer-motion" import { createElement, forwardRef } from "react" +import { useReduceMotion } from "~/hooks/biz/useReduceMotion" + const cacheMap = new Map() export const m: typeof M = new Proxy(M, { get(target, p: string) { diff --git a/src/renderer/src/components/common/NotFound.tsx b/apps/renderer/src/components/common/NotFound.tsx similarity index 96% rename from src/renderer/src/components/common/NotFound.tsx rename to apps/renderer/src/components/common/NotFound.tsx index 1b6867c7c..d6e48ec1b 100644 --- a/src/renderer/src/components/common/NotFound.tsx +++ b/apps/renderer/src/components/common/NotFound.tsx @@ -1,9 +1,10 @@ -import { isElectronBuild } from "@renderer/constants" import { captureException } from "@sentry/react" import { useEffect } from "react" import type { Location } from "react-router-dom" import { useLocation, useNavigate } from "react-router-dom" +import { isElectronBuild } from "~/constants" + import { Logo } from "../icons/logo" import { Button } from "../ui/button" import { PoweredByFooter } from "./PoweredByFooter" diff --git a/src/renderer/src/components/common/PoweredByFooter.tsx b/apps/renderer/src/components/common/PoweredByFooter.tsx similarity index 91% rename from src/renderer/src/components/common/PoweredByFooter.tsx rename to apps/renderer/src/components/common/PoweredByFooter.tsx index 037352b10..f87166f56 100644 --- a/src/renderer/src/components/common/PoweredByFooter.tsx +++ b/apps/renderer/src/components/common/PoweredByFooter.tsx @@ -1,5 +1,6 @@ import pkg from "@pkg" -import { cn } from "@renderer/lib/utils" + +import { cn } from "~/lib/utils" import { Logo } from "../icons/logo" diff --git a/src/renderer/src/components/common/ProviderComposer.tsx b/apps/renderer/src/components/common/ProviderComposer.tsx similarity index 100% rename from src/renderer/src/components/common/ProviderComposer.tsx rename to apps/renderer/src/components/common/ProviderComposer.tsx diff --git a/src/renderer/src/components/common/ShadowDOM.tsx b/apps/renderer/src/components/common/ShadowDOM.tsx similarity index 82% rename from src/renderer/src/components/common/ShadowDOM.tsx rename to apps/renderer/src/components/common/ShadowDOM.tsx index 983e7f0ad..09884fc68 100644 --- a/src/renderer/src/components/common/ShadowDOM.tsx +++ b/apps/renderer/src/components/common/ShadowDOM.tsx @@ -1,6 +1,3 @@ -import { useUISettingKey } from "@renderer/atoms/settings/ui" -import { useReduceMotion } from "@renderer/hooks/biz/useReduceMotion" -import { useIsDark } from "@renderer/hooks/common" import { nanoid } from "nanoid" import type { FC, PropsWithChildren, ReactNode } from "react" import { @@ -14,6 +11,10 @@ import { } from "react" import root from "react-shadow" +import { useUISettingKey } from "~/atoms/settings/ui" +import { useReduceMotion } from "~/hooks/biz/useReduceMotion" +import { useIsDark } from "~/hooks/common" + const ShadowDOMContext = createContext(false) const MemoedDangerousHTMLStyle: FC< @@ -102,6 +103,7 @@ export const ShadowDOM: FC>> & { const uiFont = useUISettingKey("uiFontFamily") const reduceMotion = useReduceMotion() + const usePointerCursor = useUISettingKey("usePointerCursor") return ( @@ -110,8 +112,9 @@ export const ShadowDOM: FC>> & { style={useMemo( () => ({ fontFamily: `${uiFont},"SN Pro", system-ui, sans-serif`, + "--pointer": usePointerCursor ? "pointer" : "default", }), - [uiFont], + [uiFont, usePointerCursor], )} id="shadow-html" data-motion-reduce={reduceMotion} @@ -150,21 +153,25 @@ function getLinkedStaticStyleSheets() { if (!sheet) continue if (!sheet.href) continue const hasCache = cacheCssTextMap[sheet.href] - if (!hasCache) { - if (!sheet.href) continue - const rules = sheet.cssRules || sheet.rules - let cssText = "" - for (const rule of rules) { - cssText += rule.cssText + try { + if (!hasCache) { + if (!sheet.href) continue + const rules = sheet.cssRules || sheet.rules + let cssText = "" + for (const rule of rules) { + cssText += rule.cssText + } + + cacheCssTextMap[sheet.href] = cssText + cssArray.push({ + cssText: cacheCssTextMap[sheet.href], + ref: $link, + }) } - - cacheCssTextMap[sheet.href] = cssText + } catch (e) { + console.info("Parse css error", sheet.href) + console.error(e) } - - cssArray.push({ - cssText: cacheCssTextMap[sheet.href], - ref: $link, - }) } return cssArray diff --git a/src/renderer/src/components/errors/FeedFoundCanBeFollowErrorFallback.tsx b/apps/renderer/src/components/errors/FeedFoundCanBeFollowErrorFallback.tsx similarity index 88% rename from src/renderer/src/components/errors/FeedFoundCanBeFollowErrorFallback.tsx rename to apps/renderer/src/components/errors/FeedFoundCanBeFollowErrorFallback.tsx index cba2ffc95..3bbac6f3f 100644 --- a/src/renderer/src/components/errors/FeedFoundCanBeFollowErrorFallback.tsx +++ b/apps/renderer/src/components/errors/FeedFoundCanBeFollowErrorFallback.tsx @@ -1,12 +1,13 @@ -import { getSidebarActiveView } from "@renderer/atoms/sidebar" -import { getRouteParams } from "@renderer/hooks/biz/useRouteParams" -import { nextFrame } from "@renderer/lib/dom" -import type { FeedModel } from "@renderer/models" -import { FeedForm } from "@renderer/modules/discover/feed-form" -import { entries } from "@renderer/queries/entries" import type { FC } from "react" import { useNavigate } from "react-router-dom" +import { getSidebarActiveView } from "~/atoms/sidebar" +import { getRouteParams } from "~/hooks/biz/useRouteParams" +import { nextFrame } from "~/lib/dom" +import type { FeedModel } from "~/models" +import { FeedForm } from "~/modules/discover/feed-form" +import { entries } from "~/queries/entries" + import type { AppErrorFallbackProps } from "../common/AppErrorBoundary" import { FeedIcon } from "../feed-icon" import { Button } from "../ui/button" diff --git a/src/renderer/src/components/errors/FeedNotFound.tsx b/apps/renderer/src/components/errors/FeedNotFound.tsx similarity index 100% rename from src/renderer/src/components/errors/FeedNotFound.tsx rename to apps/renderer/src/components/errors/FeedNotFound.tsx diff --git a/src/renderer/src/components/errors/ModalError.tsx b/apps/renderer/src/components/errors/ModalError.tsx similarity index 96% rename from src/renderer/src/components/errors/ModalError.tsx rename to apps/renderer/src/components/errors/ModalError.tsx index 5cb07d7b1..c177b9351 100644 --- a/src/renderer/src/components/errors/ModalError.tsx +++ b/apps/renderer/src/components/errors/ModalError.tsx @@ -1,6 +1,7 @@ -import { attachOpenInEditor } from "@renderer/lib/dev" import type { FC } from "react" +import { attachOpenInEditor } from "~/lib/dev" + import type { AppErrorFallbackProps } from "../common/AppErrorBoundary" import { FeedbackIssue } from "../common/ErrorElement" import { m } from "../common/Motion" diff --git a/src/renderer/src/components/errors/PageError.tsx b/apps/renderer/src/components/errors/PageError.tsx similarity index 96% rename from src/renderer/src/components/errors/PageError.tsx rename to apps/renderer/src/components/errors/PageError.tsx index 7bb339809..5ea3f8880 100644 --- a/src/renderer/src/components/errors/PageError.tsx +++ b/apps/renderer/src/components/errors/PageError.tsx @@ -1,6 +1,7 @@ -import { attachOpenInEditor } from "@renderer/lib/dev" import type { FC } from "react" +import { attachOpenInEditor } from "~/lib/dev" + import type { AppErrorFallbackProps } from "../common/AppErrorBoundary" import { FeedbackIssue } from "../common/ErrorElement" import { Button } from "../ui/button" diff --git a/src/renderer/src/components/errors/enum.ts b/apps/renderer/src/components/errors/enum.ts similarity index 100% rename from src/renderer/src/components/errors/enum.ts rename to apps/renderer/src/components/errors/enum.ts diff --git a/src/renderer/src/components/errors/helper.ts b/apps/renderer/src/components/errors/helper.ts similarity index 100% rename from src/renderer/src/components/errors/helper.ts rename to apps/renderer/src/components/errors/helper.ts diff --git a/src/renderer/src/components/errors/index.ts b/apps/renderer/src/components/errors/index.ts similarity index 100% rename from src/renderer/src/components/errors/index.ts rename to apps/renderer/src/components/errors/index.ts diff --git a/src/renderer/src/components/feed-certification.tsx b/apps/renderer/src/components/feed-certification.tsx similarity index 73% rename from src/renderer/src/components/feed-certification.tsx rename to apps/renderer/src/components/feed-certification.tsx index a2d8b04ac..16870ab45 100644 --- a/src/renderer/src/components/feed-certification.tsx +++ b/apps/renderer/src/components/feed-certification.tsx @@ -1,17 +1,19 @@ -import { useWhoami } from "@renderer/atoms/user" -import { Avatar, AvatarFallback, AvatarImage } from "@renderer/components/ui/avatar" -import { - Tooltip, - TooltipContent, - TooltipPortal, - TooltipTrigger, -} from "@renderer/components/ui/tooltip" -import { cn } from "@renderer/lib/utils" -import type { FeedModel } from "@renderer/models" -import { usePresentUserProfileModal } from "@renderer/modules/profile/hooks" import { useTranslation } from "react-i18next" -export const FeedCertification = ({ feed, className }: { feed: FeedModel; className?: string }) => { +import { useWhoami } from "~/atoms/user" +import { Avatar, AvatarFallback, AvatarImage } from "~/components/ui/avatar" +import { Tooltip, TooltipContent, TooltipPortal, TooltipTrigger } from "~/components/ui/tooltip" +import { cn } from "~/lib/utils" +import type { TargetModel } from "~/models" +import { usePresentUserProfileModal } from "~/modules/profile/hooks" + +export const FeedCertification = ({ + feed, + className, +}: { + feed: TargetModel + className?: string +}) => { const me = useWhoami() const presentUserProfile = usePresentUserProfileModal("drawer") const { t } = useTranslation() @@ -27,7 +29,7 @@ export const FeedCertification = ({ feed, className }: { feed: FeedModel; classN
- + {t("feed_item.claimed_feed")}
{t("feed_item.claimed_by_you")}
@@ -38,7 +40,10 @@ export const FeedCertification = ({ feed, className }: { feed: FeedModel; classN diff --git a/src/renderer/src/components/feed-icon.tsx b/apps/renderer/src/components/feed-icon.tsx similarity index 73% rename from src/renderer/src/components/feed-icon.tsx rename to apps/renderer/src/components/feed-icon.tsx index 9de39aa1f..30c3b84a4 100644 --- a/src/renderer/src/components/feed-icon.tsx +++ b/apps/renderer/src/components/feed-icon.tsx @@ -1,11 +1,12 @@ import { Avatar, AvatarFallback, AvatarImage } from "@radix-ui/react-avatar" -import { getColorScheme, stringToHue } from "@renderer/lib/color" -import { getProxyUrl } from "@renderer/lib/img-proxy" -import { cn, getUrlIcon } from "@renderer/lib/utils" -import type { CombinedEntryModel, FeedModel } from "@renderer/models" import type { ReactNode } from "react" import { forwardRef, useMemo } from "react" +import { getColorScheme, stringToHue } from "~/lib/color" +import { getImageProxyUrl } from "~/lib/img-proxy" +import { cn, getUrlIcon } from "~/lib/utils" +import type { CombinedEntryModel, FeedModel, TargetModel } from "~/models" + import { PlatformIcon } from "./ui/platform-icon" const getFeedIconSrc = ({ @@ -23,7 +24,7 @@ const getFeedIconSrc = ({ if (src) { if (proxy) { return [ - getProxyUrl({ + getImageProxyUrl({ url: src, width: proxy.width, height: proxy.height, @@ -74,7 +75,7 @@ export function FeedIcon({ siteUrl, useMedia, }: { - feed?: FeedModel + feed?: TargetModel entry?: CombinedEntryModel["entries"] fallbackUrl?: string className?: string @@ -97,8 +98,8 @@ export function FeedIcon({ } const colors = useMemo( - () => getColorScheme(stringToHue(feed?.title || feed?.url || siteUrl!), true), - [feed?.title, feed?.url, siteUrl], + () => getColorScheme(stringToHue(feed?.title || (feed as FeedModel)?.url || siteUrl!), true), + [feed?.title, (feed as FeedModel)?.url, siteUrl], ) let ImageElement: ReactNode let finalSrc = "" @@ -108,6 +109,32 @@ export function FeedIcon({ height: size, } + const fallbackIcon = ( + + + {!!feed?.title && feed.title[0]} + + + ) + switch (true) { case !feed && !!siteUrl: { const [src] = getFeedIconSrc({ @@ -123,7 +150,7 @@ export function FeedIcon({ break } case !!image: { - finalSrc = getProxyUrl({ + finalSrc = getImageProxyUrl({ url: image, width: size * 2, height: size * 2, @@ -136,9 +163,9 @@ export function FeedIcon({ break } case !!fallbackUrl: - case !!feed?.siteUrl: { + case !!(feed as FeedModel)?.siteUrl: { const [src, fallbackSrc] = getFeedIconSrc({ - siteUrl: feed?.siteUrl || fallbackUrl, + siteUrl: (feed as FeedModel)?.siteUrl || fallbackUrl, fallback, proxy: { width: size * 2, @@ -149,7 +176,7 @@ export function FeedIcon({ ImageElement = ( @@ -162,6 +189,10 @@ export function FeedIcon({ ) break } + case !!feed?.title && !!feed.title[0]: { + ImageElement = fallbackIcon + break + } default: { ImageElement = break @@ -176,31 +207,13 @@ export function FeedIcon({ return ( {ImageElement} - - - {!!feed?.title && feed.title[0]} - - + {fallbackIcon} ) } diff --git a/src/renderer/src/components/feed-summary.tsx b/apps/renderer/src/components/feed-summary.tsx similarity index 63% rename from src/renderer/src/components/feed-summary.tsx rename to apps/renderer/src/components/feed-summary.tsx index 3c628733b..5194c8f6d 100644 --- a/src/renderer/src/components/feed-summary.tsx +++ b/apps/renderer/src/components/feed-summary.tsx @@ -1,6 +1,8 @@ -import { FeedIcon } from "@renderer/components/feed-icon" -import { cn } from "@renderer/lib/utils" -import type { FeedModel } from "@renderer/models" +import { WEB_URL } from "@follow/shared/constants" + +import { FeedIcon } from "~/components/feed-icon" +import { cn } from "~/lib/utils" +import type { TargetModel } from "~/models" import { FeedCertification } from "./feed-certification" import { EllipsisHorizontalTextWithTooltip } from "./ui/typography" @@ -10,14 +12,15 @@ export function FollowSummary({ docs, className, }: { - feed: FeedModel + feed: TargetModel docs?: string className?: string }) { + const isList = feed.type === "list" return (
- diff --git a/src/renderer/src/components/header.tsx b/apps/renderer/src/components/header.tsx similarity index 94% rename from src/renderer/src/components/header.tsx rename to apps/renderer/src/components/header.tsx index 56f8904ea..7d4b3d205 100644 --- a/src/renderer/src/components/header.tsx +++ b/apps/renderer/src/components/header.tsx @@ -1,6 +1,3 @@ -import { whoami } from "@renderer/atoms/user" -import { cn } from "@renderer/lib/utils" -import { usePresentUserProfileModal } from "@renderer/modules/profile/hooks" import type { MotionValue } from "framer-motion" import { useMotionValueEvent, useScroll } from "framer-motion" import type { FC } from "react" @@ -8,6 +5,10 @@ import { cloneElement, useState } from "react" import { useTranslation } from "react-i18next" import { Link } from "react-router-dom" +import { whoami } from "~/atoms/user" +import { cn } from "~/lib/utils" +import { usePresentUserProfileModal } from "~/modules/profile/hooks" + import { FollowIcon } from "./icons/follow" import { Logo } from "./icons/logo" import { UserAvatar } from "./user-button" diff --git a/src/renderer/src/components/icons/Language.tsx b/apps/renderer/src/components/icons/Language.tsx similarity index 100% rename from src/renderer/src/components/icons/Language.tsx rename to apps/renderer/src/components/icons/Language.tsx diff --git a/src/renderer/src/components/icons/OouiUserAnonymous.tsx b/apps/renderer/src/components/icons/OouiUserAnonymous.tsx similarity index 100% rename from src/renderer/src/components/icons/OouiUserAnonymous.tsx rename to apps/renderer/src/components/icons/OouiUserAnonymous.tsx diff --git a/src/renderer/src/components/icons/PhCloudCheck.tsx b/apps/renderer/src/components/icons/PhCloudCheck.tsx similarity index 100% rename from src/renderer/src/components/icons/PhCloudCheck.tsx rename to apps/renderer/src/components/icons/PhCloudCheck.tsx diff --git a/src/renderer/src/components/icons/PhCloudWarning.tsx b/apps/renderer/src/components/icons/PhCloudWarning.tsx similarity index 98% rename from src/renderer/src/components/icons/PhCloudWarning.tsx rename to apps/renderer/src/components/icons/PhCloudWarning.tsx index 070953991..e0b32c570 100644 --- a/src/renderer/src/components/icons/PhCloudWarning.tsx +++ b/apps/renderer/src/components/icons/PhCloudWarning.tsx @@ -12,7 +12,7 @@ export function PhCloudWarning(props: SVGProps) { + /> ) } diff --git a/src/renderer/src/components/icons/PhCloudX.tsx b/apps/renderer/src/components/icons/PhCloudX.tsx similarity index 100% rename from src/renderer/src/components/icons/PhCloudX.tsx rename to apps/renderer/src/components/icons/PhCloudX.tsx diff --git a/src/renderer/src/components/icons/empty.tsx b/apps/renderer/src/components/icons/empty.tsx similarity index 97% rename from src/renderer/src/components/icons/empty.tsx rename to apps/renderer/src/components/icons/empty.tsx index d556d74c8..13eb4b48c 100644 --- a/src/renderer/src/components/icons/empty.tsx +++ b/apps/renderer/src/components/icons/empty.tsx @@ -1,4 +1,4 @@ -import { cn } from "@renderer/lib/utils" +import { cn } from "~/lib/utils" export const EmptyIcon: Component = ({ className }) => ( ) { + return ( + + + + + + + ) +} diff --git a/src/renderer/src/components/icons/user.tsx b/apps/renderer/src/components/icons/user.tsx similarity index 100% rename from src/renderer/src/components/icons/user.tsx rename to apps/renderer/src/components/icons/user.tsx diff --git a/src/renderer/src/components/site-icon.tsx b/apps/renderer/src/components/site-icon.tsx similarity index 92% rename from src/renderer/src/components/site-icon.tsx rename to apps/renderer/src/components/site-icon.tsx index 5b7f4b467..5d56395e1 100644 --- a/src/renderer/src/components/site-icon.tsx +++ b/apps/renderer/src/components/site-icon.tsx @@ -1,8 +1,9 @@ -import { getColorScheme, stringToHue } from "@renderer/lib/color" -import { getProxyUrl } from "@renderer/lib/img-proxy" -import { cn, getUrlIcon } from "@renderer/lib/utils" import { useEffect, useMemo, useState } from "react" +import { getColorScheme, stringToHue } from "~/lib/color" +import { getImageProxyUrl } from "~/lib/img-proxy" +import { cn, getUrlIcon } from "~/lib/utils" + import { PlatformIcon } from "./ui/platform-icon" /** * @@ -50,7 +51,7 @@ export function SiteIcon({ if (src) { if (stableProxy) { return [ - getProxyUrl({ + getImageProxyUrl({ url: src, width: stableProxy.width, height: stableProxy.height, diff --git a/apps/renderer/src/components/ui/auto-completion/AutoCompletion.tsx b/apps/renderer/src/components/ui/auto-completion/AutoCompletion.tsx new file mode 100644 index 000000000..b66d39366 --- /dev/null +++ b/apps/renderer/src/components/ui/auto-completion/AutoCompletion.tsx @@ -0,0 +1,129 @@ +import { Combobox, ComboboxInput, ComboboxOption, ComboboxOptions } from "@headlessui/react" +import { AnimatePresence, m } from "framer-motion" +import Fuse from "fuse.js" +import { forwardRef, Fragment, useCallback, useEffect, useState } from "react" + +import { cn } from "~/lib/utils" + +import { Input } from "../input" + +export type Suggestion = { + name: string + value: string +} +export interface AutocompleteProps extends React.InputHTMLAttributes { + suggestions: Suggestion[] + renderSuggestion?: (suggestion: Suggestion) => any + + onSuggestionSelected: (suggestion: NoInfer | null) => void + + portal?: boolean + + // classnames + + searchKeys?: string[] + maxHeight?: number +} + +const defaultSearchKeys = ["name", "value"] +const defaultRenderSuggestion = (suggestion: any) => suggestion?.name +export const Autocomplete = forwardRef( + ( + { + suggestions, + renderSuggestion = defaultRenderSuggestion, + onSuggestionSelected, + maxHeight, + portal, + value, + searchKeys = defaultSearchKeys, + defaultValue, + ...inputProps + }, + forwardedRef, + ) => { + const [selectedOptions, setSelectedOptions] = useState | null>( + () => suggestions.find((suggestion) => suggestion.value === value) || null, + ) + + const [filterableSuggestions, setFilterableSuggestions] = useState(suggestions) + + const doFilter = useCallback(() => { + const fuse = new Fuse(suggestions, { + keys: searchKeys, + }) + + const trimInputValue = (value as string)?.trim() + + if (!trimInputValue) return setFilterableSuggestions(suggestions) + + const results = fuse.search(trimInputValue) + + setFilterableSuggestions(results.map((result) => result.item)) + }, [suggestions, value, searchKeys]) + useEffect(() => { + doFilter() + }, [doFilter]) + + return ( + { + setSelectedOptions(suggestion) + onSuggestionSelected(suggestion) + }} + > + {({ open }) => { + return ( + + + + {open && ( + +
+ {filterableSuggestions.map((suggestion) => ( + + {suggestion.name} + + ))} +
+ + )} + + + ) + }} + + ) + }, +) + +Autocomplete.displayName = "Autocomplete" diff --git a/src/renderer/src/components/ui/auto-completion/index.ts b/apps/renderer/src/components/ui/auto-completion/index.ts similarity index 100% rename from src/renderer/src/components/ui/auto-completion/index.ts rename to apps/renderer/src/components/ui/auto-completion/index.ts diff --git a/src/renderer/src/components/ui/auto-resize-height.tsx b/apps/renderer/src/components/ui/auto-resize-height.tsx similarity index 97% rename from src/renderer/src/components/ui/auto-resize-height.tsx rename to apps/renderer/src/components/ui/auto-resize-height.tsx index 1f5d32f35..3c5866145 100644 --- a/src/renderer/src/components/ui/auto-resize-height.tsx +++ b/apps/renderer/src/components/ui/auto-resize-height.tsx @@ -1,8 +1,9 @@ -import { cn } from "@renderer/lib/utils" import type { Spring } from "framer-motion" import { m } from "framer-motion" import { useEffect, useRef, useState } from "react" +import { cn } from "~/lib/utils" + const softSpringPreset: Spring = { type: "spring", } diff --git a/src/renderer/src/components/ui/avatar.tsx b/apps/renderer/src/components/ui/avatar.tsx similarity index 96% rename from src/renderer/src/components/ui/avatar.tsx rename to apps/renderer/src/components/ui/avatar.tsx index 5c3f940d2..fb541285e 100644 --- a/src/renderer/src/components/ui/avatar.tsx +++ b/apps/renderer/src/components/ui/avatar.tsx @@ -1,7 +1,8 @@ import * as AvatarPrimitive from "@radix-ui/react-avatar" -import { cn } from "@renderer/lib/utils" import * as React from "react" +import { cn } from "~/lib/utils" + const Avatar = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef diff --git a/src/renderer/src/components/ui/background/WindowUnderBlur.tsx b/apps/renderer/src/components/ui/background/WindowUnderBlur.tsx similarity index 68% rename from src/renderer/src/components/ui/background/WindowUnderBlur.tsx rename to apps/renderer/src/components/ui/background/WindowUnderBlur.tsx index da6fffc95..cde377b0a 100644 --- a/src/renderer/src/components/ui/background/WindowUnderBlur.tsx +++ b/apps/renderer/src/components/ui/background/WindowUnderBlur.tsx @@ -1,6 +1,7 @@ -import { useUISettingKey } from "@renderer/atoms/settings/ui" -import { cn } from "@renderer/lib/utils" -import { SYSTEM_CAN_UNDER_BLUR_WINDOW } from "@shared/constants" +import { SYSTEM_CAN_UNDER_BLUR_WINDOW } from "@follow/shared/constants" + +import { useUISettingKey } from "~/atoms/settings/ui" +import { cn } from "~/lib/utils" type Props = Component< React.DetailedHTMLProps, HTMLDivElement> @@ -17,11 +18,12 @@ const Noop: Props = ({ children, className, ...rest }) => (
) -const Win32Material: Props = ({ className, children, ...rest }) => ( -
- {children} -
-) +// Disable blur effect on Windows, because electron backgroundMaterial has some issues +// const Win32Material: Props = ({ className, children, ...rest }) => ( +//
+// {children} +//
+// ) export const WindowUnderBlur: Props = SYSTEM_CAN_UNDER_BLUR_WINDOW ? (props) => { const opaqueSidebar = useUISettingKey("opaqueSidebar") @@ -37,7 +39,7 @@ export const WindowUnderBlur: Props = SYSTEM_CAN_UNDER_BLUR_WINDOW return } case "win32": { - return + return } default: { return diff --git a/src/renderer/src/components/ui/background/index.ts b/apps/renderer/src/components/ui/background/index.ts similarity index 100% rename from src/renderer/src/components/ui/background/index.ts rename to apps/renderer/src/components/ui/background/index.ts diff --git a/src/renderer/src/components/ui/button/index.tsx b/apps/renderer/src/components/ui/button/index.tsx similarity index 90% rename from src/renderer/src/components/ui/button/index.tsx rename to apps/renderer/src/components/ui/button/index.tsx index 73ac43426..bbdffb50b 100644 --- a/src/renderer/src/components/ui/button/index.tsx +++ b/apps/renderer/src/components/ui/button/index.tsx @@ -1,5 +1,3 @@ -import { stopPropagation } from "@renderer/lib/dom" -import { cn } from "@renderer/lib/utils" import type { VariantProps } from "class-variance-authority" import type { HTMLMotionProps } from "framer-motion" import { m } from "framer-motion" @@ -7,6 +5,9 @@ import * as React from "react" import { useHotkeys } from "react-hotkeys-hook" import type { OptionsOrDependencyArray } from "react-hotkeys-hook/dist/types" +import { stopPropagation } from "~/lib/dom" +import { cn } from "~/lib/utils" + import { KbdCombined } from "../kbd/Kbd" import { LoadingCircle } from "../loading" import { Tooltip, TooltipContent, TooltipPortal, TooltipTrigger } from "../tooltip" @@ -61,8 +62,8 @@ export const ActionButton = React.forwardRef< className={cn( "no-drag-region inline-flex size-8 items-center justify-center text-xl", active && "bg-zinc-500/15 hover:bg-zinc-500/20", - "focus-visible:bg-zinc-500/30 focus-visible:!outline-none", - "rounded-md duration-200 hover:bg-theme-button-hover", + //"focus-visible:bg-zinc-500/30 focus-visible:!outline-none", + "rounded-md duration-200 hover:bg-theme-button-hover data-[state=open]:bg-theme-button-hover", "disabled:cursor-not-allowed disabled:opacity-50", className, )} @@ -162,14 +163,19 @@ export const Button = React.forwardRef< {...props} onClick={handleClick} > - - {isLoading && ( - - + + {typeof isLoading === "boolean" && ( + + {isLoading && } )} - {props.children} - + {props.children} + ) }) diff --git a/src/renderer/src/components/ui/button/variants.tsx b/apps/renderer/src/components/ui/button/variants.tsx similarity index 85% rename from src/renderer/src/components/ui/button/variants.tsx rename to apps/renderer/src/components/ui/button/variants.tsx index 93d87ffc4..e956fa442 100644 --- a/src/renderer/src/components/ui/button/variants.tsx +++ b/apps/renderer/src/components/ui/button/variants.tsx @@ -1,12 +1,13 @@ -import { cn } from "@renderer/lib/utils" import { cva } from "class-variance-authority" +import { cn } from "~/lib/utils" + // Design // @see https://x.com/uiuxadrian/status/1822947443186504176 export const styledButtonVariant = cva( [ - "inline-flex cursor-default select-none items-center justify-center gap-2 outline-offset-2 transition active:transition-none disabled:cursor-not-allowed", + "inline-flex cursor-button select-none items-center justify-center outline-offset-2 transition active:transition-none disabled:cursor-not-allowed", "ring-accent/20 duration-200 disabled:ring-0", "align-middle", ], @@ -28,6 +29,11 @@ export const styledButtonVariant = cva( status: "disabled", className: "opacity-60", }, + { + variant: "ghost", + status: "disabled", + className: "opacity-50 hover:!bg-transparent", + }, ], variants: { size: { diff --git a/src/renderer/src/components/ui/card.tsx b/apps/renderer/src/components/ui/card.tsx similarity index 97% rename from src/renderer/src/components/ui/card.tsx rename to apps/renderer/src/components/ui/card.tsx index 1358cd7e6..5512ee858 100644 --- a/src/renderer/src/components/ui/card.tsx +++ b/apps/renderer/src/components/ui/card.tsx @@ -1,6 +1,7 @@ -import { cn } from "@renderer/lib/utils" import * as React from "react" +import { cn } from "~/lib/utils" + const Card = React.forwardRef>( ({ className, ...props }, ref) => (
& { diff --git a/src/renderer/src/components/ui/code-highlighter/constants/index.tsx b/apps/renderer/src/components/ui/code-highlighter/constants/index.tsx similarity index 97% rename from src/renderer/src/components/ui/code-highlighter/constants/index.tsx rename to apps/renderer/src/components/ui/code-highlighter/constants/index.tsx index f9ebcc57f..905644c71 100644 --- a/src/renderer/src/components/ui/code-highlighter/constants/index.tsx +++ b/apps/renderer/src/components/ui/code-highlighter/constants/index.tsx @@ -5,7 +5,7 @@ import { MdiLanguageTypescript, RiMarkdownFill, UilReact, -} from "@renderer/components/icons/Language" +} from "~/components/icons/Language" const LanguageAlias = { ts: "typescript", @@ -16,42 +16,42 @@ const LanguageAlias = { md: "markdown", } const LanguageToColorMap = { - typescript: "#2b7489", - javascript: "#f1e05a", - javascriptreact: "#f1e05a", - typescriptreact: "#2b7489", - html: "#e34c26", - java: "#b07219", - go: "#00add8", - vue: "#2c3e50", - css: "#563d7c", - yaml: "#cb171e", - json: "#292929", - markdown: "#083fa1", - csharp: "#178600", "c#": "#178600", - c: "#555555", - cpp: "#f34b7d", "c++": "#f34b7d", - python: "#3572a5", - lua: "#000080", - vimscript: "#199f4b", - shell: "#89e051", - dockerfile: "#384d54", - ruby: "#701516", - php: "#4f5d95", - lisp: "#3fb68b", - kotlin: "#F18E33", - rust: "#dea584", - dart: "#00B4AB", - swift: "#ffac45", "objective-c": "#438eff", "objective-c++": "#6866fb", - r: "#198ce7", + c: "#555555", + cpp: "#f34b7d", + csharp: "#178600", + css: "#563d7c", + dart: "#00B4AB", + dockerfile: "#384d54", + go: "#00add8", + html: "#e34c26", + java: "#b07219", + javascript: "#f1e05a", + javascriptreact: "#f1e05a", + json: "#292929", + kotlin: "#F18E33", + lisp: "#3fb68b", + lua: "#000080", + markdown: "#083fa1", matlab: "#e16737", - scala: "#c22d40", - sql: "#e38c00", perl: "#0298c3", + php: "#4f5d95", + python: "#3572a5", + r: "#198ce7", + ruby: "#701516", + rust: "#dea584", + scala: "#c22d40", + shell: "#89e051", + sql: "#e38c00", + swift: "#ffac45", + typescript: "#2b7489", + typescriptreact: "#2b7489", + vimscript: "#199f4b", + vue: "#2c3e50", + yaml: "#cb171e", } const languageToIconMap = { javascriptreact: , diff --git a/src/renderer/src/components/ui/code-highlighter/copy-button.tsx b/apps/renderer/src/components/ui/code-highlighter/copy-button.tsx similarity index 93% rename from src/renderer/src/components/ui/code-highlighter/copy-button.tsx rename to apps/renderer/src/components/ui/code-highlighter/copy-button.tsx index 4575e0047..fbd74a4b1 100644 --- a/src/renderer/src/components/ui/code-highlighter/copy-button.tsx +++ b/apps/renderer/src/components/ui/code-highlighter/copy-button.tsx @@ -1,9 +1,10 @@ -import { m } from "@renderer/components/common/Motion" -import { cn } from "@renderer/lib/utils" import type { Variants } from "framer-motion" import { AnimatePresence } from "framer-motion" import { useCallback, useRef, useState } from "react" +import { m } from "~/components/common/Motion" +import { cn } from "~/lib/utils" + import { MotionButtonBase } from "../button" const copyIconVariants: Variants = { diff --git a/src/renderer/src/components/ui/code-highlighter/index.ts b/apps/renderer/src/components/ui/code-highlighter/index.ts similarity index 100% rename from src/renderer/src/components/ui/code-highlighter/index.ts rename to apps/renderer/src/components/ui/code-highlighter/index.ts diff --git a/src/renderer/src/components/ui/code-highlighter/shiki/Shiki.tsx b/apps/renderer/src/components/ui/code-highlighter/shiki/Shiki.tsx similarity index 90% rename from src/renderer/src/components/ui/code-highlighter/shiki/Shiki.tsx rename to apps/renderer/src/components/ui/code-highlighter/shiki/Shiki.tsx index 3c661b23c..11f6ee8b6 100644 --- a/src/renderer/src/components/ui/code-highlighter/shiki/Shiki.tsx +++ b/apps/renderer/src/components/ui/code-highlighter/shiki/Shiki.tsx @@ -1,7 +1,3 @@ -import { useUISettingKey, useUISettingSelector } from "@renderer/atoms/settings/ui" -import { isElectronBuild } from "@renderer/constants" -import { tipcClient } from "@renderer/lib/client" -import { cn } from "@renderer/lib/utils" import { useIsomorphicLayoutEffect } from "foxact/use-isomorphic-layout-effect" import type { FC } from "react" import { useInsertionEffect, useMemo, useRef, useState } from "react" @@ -12,6 +8,12 @@ import type { DynamicImportThemeRegistration, } from "shiki" +import { useUISettingKey, useUISettingSelector } from "~/atoms/settings/ui" +import { isElectronBuild } from "~/constants" +import { useIsDark } from "~/hooks/common" +import { tipcClient } from "~/lib/client" +import { cn } from "~/lib/utils" + import { getLanguageColor, getLanguageIcon } from "../constants" import { CopyButton } from "../copy-button" import { shiki, shikiTransformers } from "./shared" @@ -70,7 +72,11 @@ export const ShikiHighLighter: FC = (props) => { const [loaded, setLoaded] = useState(false) - const codeTheme = useUISettingSelector((s) => overrideTheme || s.codeHighlightTheme) + const isDark = useIsDark() + const codeThemeLight = useUISettingSelector((s) => overrideTheme || s.codeHighlightThemeLight) + const codeThemeDark = useUISettingSelector((s) => overrideTheme || s.codeHighlightThemeDark) + const codeTheme = isDark ? codeThemeDark : codeThemeLight + useIsomorphicLayoutEffect(() => { let isMounted = true setLoaded(false) @@ -197,7 +203,7 @@ const ShikiCode: FC< className={"absolute right-2 top-2 opacity-0 duration-200 group-hover:opacity-100"} /> {language !== "plaintext" && ( - + {getLanguageIcon(language)} {language} diff --git a/src/renderer/src/components/ui/code-highlighter/shiki/hooks.ts b/apps/renderer/src/components/ui/code-highlighter/shiki/hooks.ts similarity index 71% rename from src/renderer/src/components/ui/code-highlighter/shiki/hooks.ts rename to apps/renderer/src/components/ui/code-highlighter/shiki/hooks.ts index 06db2154c..925a2c307 100644 --- a/src/renderer/src/components/ui/code-highlighter/shiki/hooks.ts +++ b/apps/renderer/src/components/ui/code-highlighter/shiki/hooks.ts @@ -1,4 +1,4 @@ -import { useIsDark } from "@renderer/hooks/common" +import { useIsDark } from "~/hooks/common" export const useShikiDefaultTheme = () => { const isDark = useIsDark() diff --git a/src/renderer/src/components/ui/code-highlighter/shiki/index.ts b/apps/renderer/src/components/ui/code-highlighter/shiki/index.ts similarity index 100% rename from src/renderer/src/components/ui/code-highlighter/shiki/index.ts rename to apps/renderer/src/components/ui/code-highlighter/shiki/index.ts diff --git a/src/renderer/src/components/ui/code-highlighter/shiki/shared.ts b/apps/renderer/src/components/ui/code-highlighter/shiki/shared.ts similarity index 100% rename from src/renderer/src/components/ui/code-highlighter/shiki/shared.ts rename to apps/renderer/src/components/ui/code-highlighter/shiki/shared.ts diff --git a/src/renderer/src/components/ui/code-highlighter/shiki/shiki.module.css b/apps/renderer/src/components/ui/code-highlighter/shiki/shiki.module.css similarity index 100% rename from src/renderer/src/components/ui/code-highlighter/shiki/shiki.module.css rename to apps/renderer/src/components/ui/code-highlighter/shiki/shiki.module.css diff --git a/src/renderer/src/components/ui/collapse/Collapse.tsx b/apps/renderer/src/components/ui/collapse/Collapse.tsx similarity index 98% rename from src/renderer/src/components/ui/collapse/Collapse.tsx rename to apps/renderer/src/components/ui/collapse/Collapse.tsx index 00ac584b0..b00202db9 100644 --- a/src/renderer/src/components/ui/collapse/Collapse.tsx +++ b/apps/renderer/src/components/ui/collapse/Collapse.tsx @@ -1,8 +1,9 @@ -import { cn } from "@renderer/lib/utils" import type { Variants } from "framer-motion" import { AnimatePresence, m } from "framer-motion" import * as React from "react" +import { cn } from "~/lib/utils" + import { CollapseGroupItemStateProvider, CollapseStateProvider, diff --git a/src/renderer/src/components/ui/collapse/hooks.tsx b/apps/renderer/src/components/ui/collapse/hooks.tsx similarity index 100% rename from src/renderer/src/components/ui/collapse/hooks.tsx rename to apps/renderer/src/components/ui/collapse/hooks.tsx diff --git a/src/renderer/src/components/ui/collapse/index.ts b/apps/renderer/src/components/ui/collapse/index.ts similarity index 100% rename from src/renderer/src/components/ui/collapse/index.ts rename to apps/renderer/src/components/ui/collapse/index.ts diff --git a/src/renderer/src/components/ui/constants/spring.ts b/apps/renderer/src/components/ui/constants/spring.ts similarity index 100% rename from src/renderer/src/components/ui/constants/spring.ts rename to apps/renderer/src/components/ui/constants/spring.ts diff --git a/src/renderer/src/components/ui/context-menu/context-menu.tsx b/apps/renderer/src/components/ui/context-menu/context-menu.tsx similarity index 87% rename from src/renderer/src/components/ui/context-menu/context-menu.tsx rename to apps/renderer/src/components/ui/context-menu/context-menu.tsx index 301cd897a..8ce004024 100644 --- a/src/renderer/src/components/ui/context-menu/context-menu.tsx +++ b/apps/renderer/src/components/ui/context-menu/context-menu.tsx @@ -1,7 +1,8 @@ import * as ContextMenuPrimitive from "@radix-ui/react-context-menu" -import { cn } from "@renderer/lib/utils" import * as React from "react" +import { cn } from "~/lib/utils" + const ContextMenu = ContextMenuPrimitive.Root const ContextMenuTrigger = ContextMenuPrimitive.Trigger @@ -23,7 +24,7 @@ const ContextMenuSubTrigger = React.forwardRef< , HTMLHRElement>> = ( props, ) => { diff --git a/apps/renderer/src/components/ui/divider/PanelSpliter.tsx b/apps/renderer/src/components/ui/divider/PanelSpliter.tsx new file mode 100644 index 000000000..3de6af8bf --- /dev/null +++ b/apps/renderer/src/components/ui/divider/PanelSpliter.tsx @@ -0,0 +1,60 @@ +import * as React from "react" + +import { useMeasure } from "~/hooks/common" +import { cn } from "~/lib/utils" + +import { Tooltip, TooltipContent, TooltipTrigger } from "../tooltip" + +export const PanelSplitter = ( + props: React.DetailedHTMLProps, HTMLDivElement> & { + isDragging?: boolean + cursor?: string + + tooltip?: React.ReactNode + }, +) => { + const { isDragging, cursor, tooltip, ...rest } = props + + React.useEffect(() => { + if (!isDragging) return + const $css = document.createElement("style") + + $css.innerHTML = ` + * { + cursor: ${cursor} !important; + } + ` + + document.head.append($css) + return () => { + $css.remove() + } + }, [cursor, isDragging]) + + const [ref, { height }] = useMeasure() + + const El = ( +
+ ) + + return ( +
+ {tooltip ? ( + + {El} + {tooltip} + + ) : ( + El + )} +
+ ) +} diff --git a/src/renderer/src/components/ui/divider/index.ts b/apps/renderer/src/components/ui/divider/index.ts similarity index 100% rename from src/renderer/src/components/ui/divider/index.ts rename to apps/renderer/src/components/ui/divider/index.ts diff --git a/src/renderer/src/components/ui/dropdown-menu/dropdown-menu.tsx b/apps/renderer/src/components/ui/dropdown-menu/dropdown-menu.tsx similarity index 89% rename from src/renderer/src/components/ui/dropdown-menu/dropdown-menu.tsx rename to apps/renderer/src/components/ui/dropdown-menu/dropdown-menu.tsx index a3034e389..f715d44b9 100644 --- a/src/renderer/src/components/ui/dropdown-menu/dropdown-menu.tsx +++ b/apps/renderer/src/components/ui/dropdown-menu/dropdown-menu.tsx @@ -1,7 +1,8 @@ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu" -import { cn } from "@renderer/lib/utils" import * as React from "react" +import { cn } from "~/lib/utils" + const DropdownMenu = DropdownMenuPrimitive.Root const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger @@ -23,7 +24,7 @@ const DropdownMenuSubTrigger = React.forwardRef< = memo(({ childre + )} + + ) + }) + )} + +
+ ) +} diff --git a/src/renderer/src/modules/ai/ai-daily/EntryPlaceholderDaily.tsx b/apps/renderer/src/modules/ai/ai-daily/EntryPlaceholderDaily.tsx similarity index 73% rename from src/renderer/src/modules/ai/ai-daily/EntryPlaceholderDaily.tsx rename to apps/renderer/src/modules/ai/ai-daily/EntryPlaceholderDaily.tsx index db155c3ae..f16597a7c 100644 --- a/src/renderer/src/modules/ai/ai-daily/EntryPlaceholderDaily.tsx +++ b/apps/renderer/src/modules/ai/ai-daily/EntryPlaceholderDaily.tsx @@ -1,9 +1,10 @@ -import { CollapseGroup } from "@renderer/components/ui/collapse" -import { useCollapseGroupItemState } from "@renderer/components/ui/collapse/hooks" -import { cn } from "@renderer/lib/utils" -import { setEntryContentPlaceholderLogoShow } from "@renderer/modules/entry-content/atoms" import { useEffect } from "react" +import { CollapseGroup } from "~/components/ui/collapse" +import { useCollapseGroupItemState } from "~/components/ui/collapse/hooks" +import { cn } from "~/lib/utils" +import { setEntryContentPlaceholderLogoShow } from "~/modules/entry-content/atoms" + import { DayOf } from "./constants" import { DailyItem } from "./daily" import type { DailyView } from "./types" diff --git a/src/renderer/src/modules/ai/ai-daily/FeedDailyModalContent.tsx b/apps/renderer/src/modules/ai/ai-daily/FeedDailyModalContent.tsx similarity index 88% rename from src/renderer/src/modules/ai/ai-daily/FeedDailyModalContent.tsx rename to apps/renderer/src/modules/ai/ai-daily/FeedDailyModalContent.tsx index e2733f8b7..499a8aaa3 100644 --- a/src/renderer/src/modules/ai/ai-daily/FeedDailyModalContent.tsx +++ b/apps/renderer/src/modules/ai/ai-daily/FeedDailyModalContent.tsx @@ -1,5 +1,5 @@ -import { Tabs, TabsContent, TabsList, TabsTrigger } from "@renderer/components/ui/tabs" -import { FeedViewType } from "@renderer/lib/enum" +import { Tabs, TabsContent, TabsList, TabsTrigger } from "~/components/ui/tabs" +import { FeedViewType } from "~/lib/enum" import { DayOf } from "./constants" import { DailyReportModalContent, DailyReportTitle } from "./daily" diff --git a/src/renderer/src/modules/ai/ai-daily/constants.ts b/apps/renderer/src/modules/ai/ai-daily/constants.ts similarity index 100% rename from src/renderer/src/modules/ai/ai-daily/constants.ts rename to apps/renderer/src/modules/ai/ai-daily/constants.ts diff --git a/src/renderer/src/modules/ai/ai-daily/daily.tsx b/apps/renderer/src/modules/ai/ai-daily/daily.tsx similarity index 84% rename from src/renderer/src/modules/ai/ai-daily/daily.tsx rename to apps/renderer/src/modules/ai/ai-daily/daily.tsx index cc409d59b..527972693 100644 --- a/src/renderer/src/modules/ai/ai-daily/daily.tsx +++ b/apps/renderer/src/modules/ai/ai-daily/daily.tsx @@ -1,42 +1,38 @@ -import { FeedIcon } from "@renderer/components/feed-icon" -import { EmptyIcon } from "@renderer/components/icons/empty" -import { AutoResizeHeight } from "@renderer/components/ui/auto-resize-height" -import { Card, CardContent } from "@renderer/components/ui/card" -import { Collapse } from "@renderer/components/ui/collapse" -import { RelativeTime } from "@renderer/components/ui/datetime" -import type { LinkProps } from "@renderer/components/ui/link" -import { LoadingCircle } from "@renderer/components/ui/loading" -import { Markdown } from "@renderer/components/ui/markdown" -import { MarkdownLink } from "@renderer/components/ui/markdown/renderers" -import { Media } from "@renderer/components/ui/media" -import { usePreviewMedia } from "@renderer/components/ui/media/hooks" -import { useModalStack } from "@renderer/components/ui/modal" -import { PeekModal } from "@renderer/components/ui/modal/inspire/PeekModal" -import { NoopChildren } from "@renderer/components/ui/modal/stacked/utils" -import { Paper } from "@renderer/components/ui/paper" -import { ScrollArea } from "@renderer/components/ui/scroll-area" -import { - Tooltip, - TooltipContent, - TooltipPortal, - TooltipTrigger, -} from "@renderer/components/ui/tooltip" -import { useAuthQuery } from "@renderer/hooks/common" -import { apiClient } from "@renderer/lib/api-fetch" -import { defineQuery } from "@renderer/lib/defineQuery" -import { nextFrame, stopPropagation } from "@renderer/lib/dom" -import { cn, isBizId } from "@renderer/lib/utils" -import { FlatMarkAllReadButton } from "@renderer/modules/entry-column/components/mark-all-button" -import { StarIcon } from "@renderer/modules/entry-column/star-icon" -import { EntryContentRender } from "@renderer/modules/entry-content" -import { Queries } from "@renderer/queries" -import { useEntry } from "@renderer/store/entry" -import { useFeedById } from "@renderer/store/feed" import { m, useAnimationControls } from "framer-motion" import type { Components } from "hast-util-to-jsx-runtime" import { useEffect, useState } from "react" import { Trans, useTranslation } from "react-i18next" +import { FeedIcon } from "~/components/feed-icon" +import { EmptyIcon } from "~/components/icons/empty" +import { AutoResizeHeight } from "~/components/ui/auto-resize-height" +import { Card, CardContent } from "~/components/ui/card" +import { Collapse } from "~/components/ui/collapse" +import { RelativeTime } from "~/components/ui/datetime" +import type { LinkProps } from "~/components/ui/link" +import { LoadingCircle } from "~/components/ui/loading" +import { Markdown } from "~/components/ui/markdown" +import { MarkdownLink } from "~/components/ui/markdown/renderers" +import { Media } from "~/components/ui/media" +import { usePreviewMedia } from "~/components/ui/media/hooks" +import { useModalStack } from "~/components/ui/modal" +import { PeekModal } from "~/components/ui/modal/inspire/PeekModal" +import { PlainModal } from "~/components/ui/modal/stacked/custom-modal" +import { Paper } from "~/components/ui/paper" +import { ScrollArea } from "~/components/ui/scroll-area" +import { Tooltip, TooltipContent, TooltipPortal, TooltipTrigger } from "~/components/ui/tooltip" +import { useAuthQuery } from "~/hooks/common" +import { apiClient } from "~/lib/api-fetch" +import { defineQuery } from "~/lib/defineQuery" +import { nextFrame, stopPropagation } from "~/lib/dom" +import { cn, isBizId } from "~/lib/utils" +import { FlatMarkAllReadButton } from "~/modules/entry-column/components/mark-all-button" +import { StarIcon } from "~/modules/entry-column/star-icon" +import { EntryContentRender } from "~/modules/entry-content" +import { Queries } from "~/queries" +import { useEntry } from "~/store/entry" +import { useFeedById } from "~/store/feed" + import { useParseDailyDate } from "./hooks" import type { DailyItemProps, DailyView } from "./types" @@ -69,7 +65,7 @@ export const DailyReportTitle = ({
{t("ai_daily.title", { title })}
- + @@ -97,7 +93,7 @@ export const DailyReportTitle = ({
), }} - /> + />
  • {t("ai_daily.tooltip.update_schedule")}
  • @@ -246,7 +242,7 @@ const createRelatedEntryLink = (variant: "toast" | "modal") => (props: LinkProps if (variant === "toast") { present({ ...basePresentProps, - CustomModalComponent: NoopChildren, + CustomModalComponent: PlainModal, content: () => , overlay: false, modal: false, @@ -255,7 +251,7 @@ const createRelatedEntryLink = (variant: "toast" | "modal") => (props: LinkProps } else { present({ ...basePresentProps, - + autoFocus: false, modalClassName: "relative mx-auto mt-[10vh] scrollbar-none max-w-full overflow-auto px-2 lg:max-w-[65rem] lg:p-0", // eslint-disable-next-line @eslint-react/no-nested-components diff --git a/src/renderer/src/modules/ai/ai-daily/hooks.tsx b/apps/renderer/src/modules/ai/ai-daily/hooks.tsx similarity index 97% rename from src/renderer/src/modules/ai/ai-daily/hooks.tsx rename to apps/renderer/src/modules/ai/ai-daily/hooks.tsx index 3262261c0..f4c5dccb0 100644 --- a/src/renderer/src/modules/ai/ai-daily/hooks.tsx +++ b/apps/renderer/src/modules/ai/ai-daily/hooks.tsx @@ -1,7 +1,8 @@ -import { useModalStack } from "@renderer/components/ui/modal" import { useCallback, useMemo } from "react" import { useTranslation } from "react-i18next" +import { useModalStack } from "~/components/ui/modal" + import { DayOf } from "./constants" import { FeedDailyModalContent } from "./FeedDailyModalContent" diff --git a/src/renderer/src/modules/ai/ai-daily/types.tsx b/apps/renderer/src/modules/ai/ai-daily/types.tsx similarity index 78% rename from src/renderer/src/modules/ai/ai-daily/types.tsx rename to apps/renderer/src/modules/ai/ai-daily/types.tsx index b8c7e5623..60cf3f3c1 100644 --- a/src/renderer/src/modules/ai/ai-daily/types.tsx +++ b/apps/renderer/src/modules/ai/ai-daily/types.tsx @@ -1,4 +1,4 @@ -import type { FeedViewType } from "@renderer/lib/enum" +import type { FeedViewType } from "~/lib/enum" import type { DayOf } from "./constants" diff --git a/src/renderer/src/modules/app/EnvironmentIndicator.tsx b/apps/renderer/src/modules/app/EnvironmentIndicator.tsx similarity index 76% rename from src/renderer/src/modules/app/EnvironmentIndicator.tsx rename to apps/renderer/src/modules/app/EnvironmentIndicator.tsx index 9d8e7bb2a..285b36537 100644 --- a/src/renderer/src/modules/app/EnvironmentIndicator.tsx +++ b/apps/renderer/src/modules/app/EnvironmentIndicator.tsx @@ -1,10 +1,6 @@ -import { env } from "@env" -import { - Tooltip, - TooltipContent, - TooltipPortal, - TooltipTrigger, -} from "@renderer/components/ui/tooltip" +import { env } from "@follow/shared/env" + +import { Tooltip, TooltipContent, TooltipPortal, TooltipTrigger } from "~/components/ui/tooltip" export const EnvironmentIndicator = () => ( diff --git a/src/renderer/src/modules/app/NetworkStatusIndicator.tsx b/apps/renderer/src/modules/app/NetworkStatusIndicator.tsx similarity index 86% rename from src/renderer/src/modules/app/NetworkStatusIndicator.tsx rename to apps/renderer/src/modules/app/NetworkStatusIndicator.tsx index 610101c5b..fccfa012b 100644 --- a/src/renderer/src/modules/app/NetworkStatusIndicator.tsx +++ b/apps/renderer/src/modules/app/NetworkStatusIndicator.tsx @@ -1,7 +1,7 @@ -import { NetworkStatus, useApiStatus, useNetworkStatus } from "@renderer/atoms/network" -import { useGeneralSettingKey } from "@renderer/atoms/settings/general" -import { Tooltip, TooltipContent, TooltipTrigger } from "@renderer/components/ui/tooltip" -import { cn } from "@renderer/lib/utils" +import { NetworkStatus, useApiStatus, useNetworkStatus } from "~/atoms/network" +import { useGeneralSettingKey } from "~/atoms/settings/general" +import { Tooltip, TooltipContent, TooltipTrigger } from "~/components/ui/tooltip" +import { cn } from "~/lib/utils" export const NetworkStatusIndicator = () => { const networkStatus = useNetworkStatus() diff --git a/src/renderer/src/modules/app/Titlebar.tsx b/apps/renderer/src/modules/app/Titlebar.tsx similarity index 90% rename from src/renderer/src/modules/app/Titlebar.tsx rename to apps/renderer/src/modules/app/Titlebar.tsx index 855e639ae..97b810d64 100644 --- a/src/renderer/src/modules/app/Titlebar.tsx +++ b/apps/renderer/src/modules/app/Titlebar.tsx @@ -1,8 +1,9 @@ -import { useUISettingKey } from "@renderer/atoms/settings/ui" -import { ElECTRON_CUSTOM_TITLEBAR_HEIGHT } from "@renderer/constants" -import { tipcClient } from "@renderer/lib/client" import { useQuery } from "@tanstack/react-query" +import { useUISettingKey } from "~/atoms/settings/ui" +import { ElECTRON_CUSTOM_TITLEBAR_HEIGHT } from "~/constants" +import { tipcClient } from "~/lib/client" + export const Titlebar = () => { const { data: isMaximized, refetch } = useQuery({ queryFn: () => tipcClient?.getWindowIsMaximized(), diff --git a/src/renderer/src/modules/auth/LoginModalContent.tsx b/apps/renderer/src/modules/auth/LoginModalContent.tsx similarity index 81% rename from src/renderer/src/modules/auth/LoginModalContent.tsx rename to apps/renderer/src/modules/auth/LoginModalContent.tsx index b2a5c0612..726bb6d21 100644 --- a/src/renderer/src/modules/auth/LoginModalContent.tsx +++ b/apps/renderer/src/modules/auth/LoginModalContent.tsx @@ -1,13 +1,14 @@ -import { FollowIcon } from "@renderer/components/icons/follow" -import { Button } from "@renderer/components/ui/button" -import { useCurrentModal } from "@renderer/components/ui/modal" -import { modalMontionConfig } from "@renderer/components/ui/modal/stacked/constants" -import type { LoginRuntime } from "@renderer/lib/auth" -import { loginHandler } from "@renderer/lib/auth" -import { stopPropagation } from "@renderer/lib/dom" import { m } from "framer-motion" import { useTranslation } from "react-i18next" +import { FollowIcon } from "~/components/icons/follow" +import { Button } from "~/components/ui/button" +import { useCurrentModal } from "~/components/ui/modal" +import { modalMontionConfig } from "~/components/ui/modal/stacked/constants" +import type { LoginRuntime } from "~/lib/auth" +import { loginHandler } from "~/lib/auth" +import { stopPropagation } from "~/lib/dom" + interface LoginModalContentProps { runtime?: LoginRuntime canClose?: boolean diff --git a/src/renderer/src/modules/claim/feed-claim-modal.tsx b/apps/renderer/src/modules/claim/feed-claim-modal.tsx similarity index 82% rename from src/renderer/src/modules/claim/feed-claim-modal.tsx rename to apps/renderer/src/modules/claim/feed-claim-modal.tsx index 0d15f6275..ebe120f79 100644 --- a/src/renderer/src/modules/claim/feed-claim-modal.tsx +++ b/apps/renderer/src/modules/claim/feed-claim-modal.tsx @@ -1,25 +1,27 @@ -import { FollowSummary } from "@renderer/components/feed-summary" -import { AutoResizeHeight } from "@renderer/components/ui/auto-resize-height" -import { Button } from "@renderer/components/ui/button" -import { Card, CardHeader } from "@renderer/components/ui/card" -import { CopyButton, ShikiHighLighter } from "@renderer/components/ui/code-highlighter" -import { useShikiDefaultTheme } from "@renderer/components/ui/code-highlighter/shiki/hooks" -import { LoadingCircle } from "@renderer/components/ui/loading" -import { useCurrentModal } from "@renderer/components/ui/modal" -import { Tabs, TabsContent, TabsList, TabsTrigger } from "@renderer/components/ui/tabs" -import { useAuthQuery } from "@renderer/hooks/common" -import { Queries } from "@renderer/queries" -import { useClaimFeedMutation } from "@renderer/queries/feed" -import { useFeedById } from "@renderer/store/feed" import type { FC } from "react" import { useEffect } from "react" import { Trans, useTranslation } from "react-i18next" +import { FollowSummary } from "~/components/feed-summary" +import { AutoResizeHeight } from "~/components/ui/auto-resize-height" +import { Button } from "~/components/ui/button" +import { Card, CardHeader } from "~/components/ui/card" +import { CopyButton, ShikiHighLighter } from "~/components/ui/code-highlighter" +import { useShikiDefaultTheme } from "~/components/ui/code-highlighter/shiki/hooks" +import { LoadingCircle } from "~/components/ui/loading" +import { useCurrentModal } from "~/components/ui/modal" +import { Tabs, TabsContent, TabsList, TabsTrigger } from "~/components/ui/tabs" +import { useAuthQuery } from "~/hooks/common" +import type { FeedModel } from "~/models" +import { Queries } from "~/queries" +import { useClaimFeedMutation } from "~/queries/feed" +import { useFeedById } from "~/store/feed" + export const FeedClaimModalContent: FC<{ feedId: string }> = ({ feedId }) => { const { t } = useTranslation() - const feed = useFeedById(feedId) + const feed = useFeedById(feedId) as FeedModel const { data: claimMessage, isLoading, @@ -66,11 +68,11 @@ export const FeedClaimModalContent: FC<{ {t("feed_claim_modal.tab_description")} {t("feed_claim_modal.tab_rss")} - +

    {t("feed_claim_modal.content_instructions")}

    {feed.url.startsWith("rsshub://") && ( -

    +

    {t("feed_claim_modal.rsshub_notice")}

    )} @@ -84,7 +86,7 @@ export const FeedClaimModalContent: FC<{ {""} }} - /> + /> {feed.url.startsWith("rsshub://") && (

    {t("feed_claim_modal.rsshub_notice")} @@ -121,7 +123,7 @@ export const FeedClaimModalContent: FC<{ -

    +
    )}
    diff --git a/apps/renderer/src/modules/discover/form.tsx b/apps/renderer/src/modules/discover/form.tsx new file mode 100644 index 000000000..a82500ec6 --- /dev/null +++ b/apps/renderer/src/modules/discover/form.tsx @@ -0,0 +1,355 @@ +import { zodResolver } from "@hookform/resolvers/zod" +import { useMutation } from "@tanstack/react-query" +import { useSingleton } from "foxact/use-singleton" +import { produce } from "immer" +import { atom, useAtomValue, useStore } from "jotai" +import type { FC } from "react" +import { memo, useCallback, useEffect } from "react" +import { useForm } from "react-hook-form" +import { useTranslation } from "react-i18next" +import { z } from "zod" + +import { getSidebarActiveView } from "~/atoms/sidebar" +import { Button } from "~/components/ui/button" +import { Card, CardContent, CardFooter, CardHeader } from "~/components/ui/card" +import { + Form, + FormControl, + FormField, + FormItem, + FormLabel, + FormMessage, +} from "~/components/ui/form" +import { Input } from "~/components/ui/input" +import { Media } from "~/components/ui/media" +import { useModalStack } from "~/components/ui/modal/stacked/hooks" +import { Radio } from "~/components/ui/radio-group" +import { RadioGroup } from "~/components/ui/radio-group/RadioGroup" +import { apiClient } from "~/lib/api-fetch" +import type { FeedViewType } from "~/lib/enum" + +import { FollowSummary } from "../../components/feed-summary" +import { FeedForm } from "./feed-form" + +const formSchema = z.object({ + keyword: z.string().min(1), + target: z.enum(["feeds", "lists"]), +}) + +const info: Record< + string, + { + label: I18nKeys + prefix?: string[] + showModal?: boolean + default?: string + } +> = { + search: { + label: "discover.any_url_or_keyword", + }, + rss: { + label: "discover.rss_url", + default: "https://", + prefix: ["https://", "http://"], + showModal: true, + }, + rsshub: { + label: "discover.rss_hub_route", + prefix: ["rsshub://"], + default: "rsshub://", + showModal: true, + }, +} + +type DiscoverSearchData = Awaited>["data"] +export function DiscoverForm({ type }: { type: string }) { + const { prefix, default: defaultValue } = info[type] + const form = useForm>({ + resolver: zodResolver(formSchema), + defaultValues: { + keyword: defaultValue || "", + target: "feeds", + }, + }) + const { t } = useTranslation() + + const jotaiStore = useStore() + const mutation = useMutation({ + mutationFn: async ({ keyword, target }: { keyword: string; target: "feeds" | "lists" }) => { + const { data } = await apiClient.discover.$post({ + json: { + keyword, + target, + }, + }) + + jotaiStore.set(discoverSearchDataAtom, data) + + return data + }, + }) + const discoverSearchDataAtom = useSingleton(() => atom()).current + + const discoverSearchData = useAtomValue(discoverSearchDataAtom) + + const { present, dismissAll } = useModalStack() + + function onSubmit(values: z.infer) { + if (info[type].showModal) { + const defaultView = getSidebarActiveView() as FeedViewType + present({ + title: "Add Feed", + content: () => ( + + ), + }) + } else { + mutation.mutate(values) + } + } + + const keyword = form.watch("keyword") + useEffect(() => { + const trimmedKeyword = keyword.trim() + if (!prefix) { + form.setValue("keyword", trimmedKeyword) + return + } + const isValidPrefix = prefix.find((p) => trimmedKeyword.startsWith(p)) + if (!isValidPrefix) { + form.setValue("keyword", prefix[0]) + + return + } + + if (trimmedKeyword.startsWith(`${isValidPrefix}${isValidPrefix}`)) { + form.setValue("keyword", trimmedKeyword.slice(isValidPrefix.length)) + } + + form.setValue("keyword", trimmedKeyword) + }, [form, keyword, prefix]) + + const handleSuccess = useCallback( + (item: DiscoverSearchData[number]) => { + const currentData = jotaiStore.get(discoverSearchDataAtom) + if (!currentData) return + jotaiStore.set( + discoverSearchDataAtom, + produce(currentData, (draft) => { + const sub = draft.find( + (i) => i.feed?.id === item.feed?.id || i.list?.id === item.list?.id, + ) + if (!sub) return + sub.isSubscribed = true + sub.subscriptionCount = -~(sub.subscriptionCount as number) + }), + ) + }, + [discoverSearchDataAtom, jotaiStore], + ) + + const handleUnSubscribed = useCallback( + (item: DiscoverSearchData[number]) => { + const currentData = jotaiStore.get(discoverSearchDataAtom) + if (!currentData) return + jotaiStore.set( + discoverSearchDataAtom, + produce(currentData, (draft) => { + const sub = draft.find( + (i) => i.feed?.id === item.feed?.id || i.list?.id === item.list?.id, + ) + if (!sub) return + sub.isSubscribed = false + sub.subscriptionCount = Number.isNaN(sub.subscriptionCount) + ? 0 + : (sub.subscriptionCount as number) - 1 + }), + ) + }, + [discoverSearchDataAtom, jotaiStore], + ) + + const handleTargetChange = useCallback( + (value: string) => { + form.setValue("target", value as "feeds" | "lists") + }, + [form], + ) + + return ( + <> +
    + + ( + + {t(info[type]?.label)} + + + + + + )} + /> + {type === "search" && ( + ( + + {t("discover.target")} + +
    + + + + +
    +
    + +
    + )} + /> + )} +
    + +
    + + + {mutation.isSuccess && ( +
    +
    + Found {mutation.data?.length || 0} feed + {mutation.data?.length > 1 && "s"} +
    +
    + {discoverSearchData?.map((item) => ( + + ))} +
    +
    + )} + + ) +} + +const SearchCard: FC<{ + item: DiscoverSearchData[number] + onSuccess: (item: DiscoverSearchData[number]) => void + onUnSubscribed?: (item: DiscoverSearchData[number]) => void +}> = memo(({ item, onSuccess }) => { + const { present } = useModalStack() + + return ( + + + + + {item.docs ? ( + + + + + + ) : ( + <> + + {!!item.entries?.length && ( +
    + {item.entries + .filter((e) => !!e) + .map((entry) => { + const assertEntry = entry + return ( + + {assertEntry.media?.[0] ? ( + + ) : ( +
    + {assertEntry.title} +
    + )} +
    + {assertEntry.title} +
    +
    + ) + })} +
    + )} +
    + + {item.isSubscribed ? ( + + ) : ( + + )} +
    + + {item.subscriptionCount} + {" "} + Followers +
    +
    + + )} +
    + ) +}) diff --git a/src/renderer/src/modules/discover/import.tsx b/apps/renderer/src/modules/discover/import.tsx similarity index 90% rename from src/renderer/src/modules/discover/import.tsx rename to apps/renderer/src/modules/discover/import.tsx index 1781b41f5..044cc5b7f 100644 --- a/src/renderer/src/modules/discover/import.tsx +++ b/apps/renderer/src/modules/discover/import.tsx @@ -1,6 +1,12 @@ import { zodResolver } from "@hookform/resolvers/zod" -import { Button } from "@renderer/components/ui/button" -import { Card, CardContent, CardHeader } from "@renderer/components/ui/card" +import { useMutation } from "@tanstack/react-query" +import { Fragment } from "react/jsx-runtime" +import { useForm } from "react-hook-form" +import { useTranslation } from "react-i18next" +import { z } from "zod" + +import { Button } from "~/components/ui/button" +import { Card, CardContent, CardHeader } from "~/components/ui/card" import { Form, FormControl, @@ -8,18 +14,12 @@ import { FormItem, FormLabel, FormMessage, -} from "@renderer/components/ui/form" -import { Input } from "@renderer/components/ui/input" -import { apiFetch } from "@renderer/lib/api-fetch" -import { toastFetchError } from "@renderer/lib/error-parser" -import { cn } from "@renderer/lib/utils" -import type { FeedResponse } from "@renderer/models" -import { Queries } from "@renderer/queries" -import { useMutation } from "@tanstack/react-query" -import { Fragment } from "react/jsx-runtime" -import { useForm } from "react-hook-form" -import { useTranslation } from "react-i18next" -import { z } from "zod" +} from "~/components/ui/form" +import { Input } from "~/components/ui/input" +import { apiFetch } from "~/lib/api-fetch" +import { toastFetchError } from "~/lib/error-parser" +import { cn } from "~/lib/utils" +import { Queries } from "~/queries" import { FollowSummary } from "../../components/feed-summary" @@ -170,7 +170,7 @@ export function DiscoverImport() { {!mutation.data?.[item.key].length && (
    No items
    )} - {mutation.data?.[item.key].map((feed: FeedResponse) => ( + {mutation.data?.[item.key].map((feed) => ( ))}
    diff --git a/src/renderer/src/modules/discover/recommendation-content.tsx b/apps/renderer/src/modules/discover/recommendation-content.tsx similarity index 100% rename from src/renderer/src/modules/discover/recommendation-content.tsx rename to apps/renderer/src/modules/discover/recommendation-content.tsx diff --git a/src/renderer/src/modules/discover/recommendations-card.tsx b/apps/renderer/src/modules/discover/recommendations-card.tsx similarity index 51% rename from src/renderer/src/modules/discover/recommendations-card.tsx rename to apps/renderer/src/modules/discover/recommendations-card.tsx index d2204078e..fde564d04 100644 --- a/src/renderer/src/modules/discover/recommendations-card.tsx +++ b/apps/renderer/src/modules/discover/recommendations-card.tsx @@ -1,14 +1,10 @@ -import { FeedIcon } from "@renderer/components/feed-icon" -import { - Card, - CardContent, - CardHeader, - CardTitle, -} from "@renderer/components/ui/card" -import { useModalStack } from "@renderer/components/ui/modal/stacked/hooks" import type { FC } from "react" import { memo } from "react" +import { FeedIcon } from "~/components/feed-icon" +import { Card, CardContent, CardHeader, CardTitle } from "~/components/ui/card" +import { useModalStack } from "~/components/ui/modal/stacked/hooks" + import { RecommendationContent } from "./recommendation-content" import type { RSSHubRouteDeclaration } from "./types" @@ -29,20 +25,21 @@ export const RecommendationCard: FC = memo(({ data, rou
      {Object.keys(data.routes).map((route) => ( -
    • { - present({ - content: () => ( - - ), - icon: , - title: `${data.name} - ${data.routes[route].name}`, - }) - }} - > - {data.routes[route].name} +
    • +
    • ))}
    diff --git a/src/renderer/src/modules/discover/recommendations.tsx b/apps/renderer/src/modules/discover/recommendations.tsx similarity index 91% rename from src/renderer/src/modules/discover/recommendations.tsx rename to apps/renderer/src/modules/discover/recommendations.tsx index 78c9be230..0c14200ba 100644 --- a/src/renderer/src/modules/discover/recommendations.tsx +++ b/apps/renderer/src/modules/discover/recommendations.tsx @@ -1,9 +1,10 @@ -import { useAuthQuery } from "@renderer/hooks/common" -import { isASCII } from "@renderer/lib/utils" -import { Queries } from "@renderer/queries" import { useMemo } from "react" import { useTranslation } from "react-i18next" +import { useAuthQuery } from "~/hooks/common" +import { isASCII } from "~/lib/utils" +import { Queries } from "~/queries" + import { RecommendationCard } from "./recommendations-card" export function Recommendations() { diff --git a/src/renderer/src/modules/discover/rss3-form.tsx b/apps/renderer/src/modules/discover/rss3-form.tsx similarity index 77% rename from src/renderer/src/modules/discover/rss3-form.tsx rename to apps/renderer/src/modules/discover/rss3-form.tsx index 4a2d1f2f0..6b190fee4 100644 --- a/src/renderer/src/modules/discover/rss3-form.tsx +++ b/apps/renderer/src/modules/discover/rss3-form.tsx @@ -1,7 +1,7 @@ -import { LoadingCircle } from "@renderer/components/ui/loading" -import { TokenBrandedRss3 } from "@renderer/components/ui/platform-icon/icons" -import { useAuthQuery } from "@renderer/hooks/common" -import { Queries } from "@renderer/queries" +import { LoadingCircle } from "~/components/ui/loading" +import { TokenBrandedRss3 } from "~/components/ui/platform-icon/icons" +import { useAuthQuery } from "~/hooks/common" +import { Queries } from "~/queries" import { DiscoverFeedForm } from "./DiscoverFeedForm" diff --git a/src/renderer/src/modules/discover/types.ts b/apps/renderer/src/modules/discover/types.ts similarity index 94% rename from src/renderer/src/modules/discover/types.ts rename to apps/renderer/src/modules/discover/types.ts index 0907c0bdc..9a957129a 100644 --- a/src/renderer/src/modules/discover/types.ts +++ b/apps/renderer/src/modules/discover/types.ts @@ -1,4 +1,4 @@ -import type { FeedViewType } from "@renderer/lib/enum" +import type { FeedViewType } from "~/lib/enum" export type RSSHubRouteType = Record export interface RSSHubRouteDeclaration { diff --git a/src/renderer/src/modules/discover/user-form.tsx b/apps/renderer/src/modules/discover/user-form.tsx similarity index 82% rename from src/renderer/src/modules/discover/user-form.tsx rename to apps/renderer/src/modules/discover/user-form.tsx index 36716f601..fe380284a 100644 --- a/src/renderer/src/modules/discover/user-form.tsx +++ b/apps/renderer/src/modules/discover/user-form.tsx @@ -1,6 +1,6 @@ -import { LoadingCircle } from "@renderer/components/ui/loading" -import { useAuthQuery } from "@renderer/hooks/common" -import { Queries } from "@renderer/queries" +import { LoadingCircle } from "~/components/ui/loading" +import { useAuthQuery } from "~/hooks/common" +import { Queries } from "~/queries" import { DiscoverFeedForm } from "./DiscoverFeedForm" diff --git a/src/renderer/src/modules/discover/utils.ts b/apps/renderer/src/modules/discover/utils.ts similarity index 100% rename from src/renderer/src/modules/discover/utils.ts rename to apps/renderer/src/modules/discover/utils.ts diff --git a/src/renderer/src/modules/entry-column/EntryColumnShortcutHandler.tsx b/apps/renderer/src/modules/entry-column/EntryColumnShortcutHandler.tsx similarity index 87% rename from src/renderer/src/modules/entry-column/EntryColumnShortcutHandler.tsx rename to apps/renderer/src/modules/entry-column/EntryColumnShortcutHandler.tsx index 554c0f2f3..ca30e3243 100644 --- a/src/renderer/src/modules/entry-column/EntryColumnShortcutHandler.tsx +++ b/apps/renderer/src/modules/entry-column/EntryColumnShortcutHandler.tsx @@ -1,14 +1,15 @@ -import { useMainContainerElement } from "@renderer/atoms/dom" -import { HotKeyScopeMap } from "@renderer/constants" -import { shortcuts } from "@renderer/constants/shortcuts" -import { useNavigateEntry } from "@renderer/hooks/biz/useNavigateEntry" -import { useRouteEntryId } from "@renderer/hooks/biz/useRouteParams" -import { useRefValue } from "@renderer/hooks/common" import type { FC } from "react" import { memo, useLayoutEffect, useState } from "react" import { useHotkeys } from "react-hotkeys-hook" import type { VirtuosoHandle } from "react-virtuoso" +import { useMainContainerElement } from "~/atoms/dom" +import { HotKeyScopeMap } from "~/constants" +import { shortcuts } from "~/constants/shortcuts" +import { useNavigateEntry } from "~/hooks/biz/useNavigateEntry" +import { useRouteEntryId } from "~/hooks/biz/useRouteParams" +import { useRefValue } from "~/hooks/common" + export const EntryColumnShortcutHandler: FC<{ refetch: () => void data: readonly string[] diff --git a/src/renderer/src/modules/entry-column/Items/article-item.tsx b/apps/renderer/src/modules/entry-column/Items/article-item.tsx similarity index 90% rename from src/renderer/src/modules/entry-column/Items/article-item.tsx rename to apps/renderer/src/modules/entry-column/Items/article-item.tsx index 1f4223f29..c728cac81 100644 --- a/src/renderer/src/modules/entry-column/Items/article-item.tsx +++ b/apps/renderer/src/modules/entry-column/Items/article-item.tsx @@ -1,5 +1,5 @@ -import { Skeleton } from "@renderer/components/ui/skeleton" -import { ListItem } from "@renderer/modules/entry-column/templates/list-item-template" +import { Skeleton } from "~/components/ui/skeleton" +import { ListItem } from "~/modules/entry-column/templates/list-item-template" import type { UniversalItemProps } from "../types" diff --git a/src/renderer/src/modules/entry-column/Items/audio-item.tsx b/apps/renderer/src/modules/entry-column/Items/audio-item.tsx similarity index 89% rename from src/renderer/src/modules/entry-column/Items/audio-item.tsx rename to apps/renderer/src/modules/entry-column/Items/audio-item.tsx index 46aee463f..00dcec32a 100644 --- a/src/renderer/src/modules/entry-column/Items/audio-item.tsx +++ b/apps/renderer/src/modules/entry-column/Items/audio-item.tsx @@ -1,5 +1,5 @@ -import { Skeleton } from "@renderer/components/ui/skeleton" -import { ListItem } from "@renderer/modules/entry-column/templates/list-item-template" +import { Skeleton } from "~/components/ui/skeleton" +import { ListItem } from "~/modules/entry-column/templates/list-item-template" import type { UniversalItemProps } from "../types" diff --git a/src/renderer/src/modules/entry-column/Items/contexts/picture-masonry-context.ts b/apps/renderer/src/modules/entry-column/Items/contexts/picture-masonry-context.ts similarity index 100% rename from src/renderer/src/modules/entry-column/Items/contexts/picture-masonry-context.ts rename to apps/renderer/src/modules/entry-column/Items/contexts/picture-masonry-context.ts diff --git a/src/renderer/src/modules/entry-column/Items/notification-item.tsx b/apps/renderer/src/modules/entry-column/Items/notification-item.tsx similarity index 87% rename from src/renderer/src/modules/entry-column/Items/notification-item.tsx rename to apps/renderer/src/modules/entry-column/Items/notification-item.tsx index b9e5ccb84..b17a19382 100644 --- a/src/renderer/src/modules/entry-column/Items/notification-item.tsx +++ b/apps/renderer/src/modules/entry-column/Items/notification-item.tsx @@ -1,5 +1,5 @@ -import { Skeleton } from "@renderer/components/ui/skeleton" -import { ListItem } from "@renderer/modules/entry-column/templates/list-item-template" +import { Skeleton } from "~/components/ui/skeleton" +import { ListItem } from "~/modules/entry-column/templates/list-item-template" import type { UniversalItemProps } from "../types" diff --git a/src/renderer/src/modules/entry-column/Items/picture-item.tsx b/apps/renderer/src/modules/entry-column/Items/picture-item.tsx similarity index 91% rename from src/renderer/src/modules/entry-column/Items/picture-item.tsx rename to apps/renderer/src/modules/entry-column/Items/picture-item.tsx index 7fe38da14..c42e7017e 100644 --- a/src/renderer/src/modules/entry-column/Items/picture-item.tsx +++ b/apps/renderer/src/modules/entry-column/Items/picture-item.tsx @@ -1,15 +1,16 @@ -import { SwipeMedia } from "@renderer/components/ui/media/SwipeMedia" -import { ReactVirtuosoItemPlaceholder } from "@renderer/components/ui/placeholder" -import { Skeleton } from "@renderer/components/ui/skeleton" -import { useRouteParamsSelector } from "@renderer/hooks/biz/useRouteParams" -import { FeedViewType } from "@renderer/lib/enum" -import { cn } from "@renderer/lib/utils" -import { useEntry } from "@renderer/store/entry/hooks" -import { useImageDimensions } from "@renderer/store/image" import type { PropsWithChildren } from "react" import { memo, useEffect, useState } from "react" import { useTranslation } from "react-i18next" +import { SwipeMedia } from "~/components/ui/media/SwipeMedia" +import { ReactVirtuosoItemPlaceholder } from "~/components/ui/placeholder" +import { Skeleton } from "~/components/ui/skeleton" +import { useRouteParamsSelector } from "~/hooks/biz/useRouteParams" +import { FeedViewType } from "~/lib/enum" +import { cn } from "~/lib/utils" +import { useEntry } from "~/store/entry/hooks" +import { useImageDimensions } from "~/store/image" + import { usePreviewMedia } from "../../../components/ui/media/hooks" import { EntryItemWrapper } from "../layouts/EntryItemWrapper" import { GridItem } from "../templates/grid-item-template" diff --git a/src/renderer/src/modules/entry-column/Items/picture-masonry.tsx b/apps/renderer/src/modules/entry-column/Items/picture-masonry.tsx similarity index 94% rename from src/renderer/src/modules/entry-column/Items/picture-masonry.tsx rename to apps/renderer/src/modules/entry-column/Items/picture-masonry.tsx index 58113bc59..6a960f362 100644 --- a/src/renderer/src/modules/entry-column/Items/picture-masonry.tsx +++ b/apps/renderer/src/modules/entry-column/Items/picture-masonry.tsx @@ -1,15 +1,16 @@ import { MasonryInfiniteGrid } from "@egjs/react-infinitegrid" -import { useGeneralSettingKey } from "@renderer/atoms/settings/general" -import { useScrollViewElement } from "@renderer/components/ui/scroll-area/hooks" -import { nextFrame } from "@renderer/lib/dom" -import { FeedViewType } from "@renderer/lib/enum" -import { getEntry } from "@renderer/store/entry" -import { imageActions } from "@renderer/store/image" import { debounce, throttle } from "lodash-es" import type { CSSProperties, FC, PropsWithChildren } from "react" import { memo, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react" import { useEventCallback } from "usehooks-ts" +import { useGeneralSettingKey } from "~/atoms/settings/general" +import { useScrollViewElement } from "~/components/ui/scroll-area/hooks" +import { nextFrame } from "~/lib/dom" +import { FeedViewType } from "~/lib/enum" +import { getEntry } from "~/store/entry" +import { imageActions } from "~/store/image" + import { batchMarkRead } from "../hooks" import { EntryItemSkeleton } from "../item" import { @@ -76,7 +77,7 @@ export const PictureMasonry: FC = (props) => { useLayoutEffect(() => { const $warpper = containerRef.current if (!$warpper) return - const recal = throttle(() => { + const handler = () => { const column = getCurrentColumn($warpper.clientWidth) setCurrentItemWidth(Math.trunc($warpper.clientWidth / column - 20)) @@ -85,7 +86,8 @@ export const PictureMasonry: FC = (props) => { nextFrame(() => { setIsInitLayout(true) }) - }, 50) + } + const recal = throttle(handler, 50) let previousWidth = $warpper.offsetWidth const resizeObserver = new ResizeObserver((entries) => { @@ -94,6 +96,7 @@ export const PictureMasonry: FC = (props) => { if (newWidth !== previousWidth) { previousWidth = newWidth + recal() } } diff --git a/apps/renderer/src/modules/entry-column/Items/social-media-item.tsx b/apps/renderer/src/modules/entry-column/Items/social-media-item.tsx new file mode 100644 index 000000000..ce1bad9b4 --- /dev/null +++ b/apps/renderer/src/modules/entry-column/Items/social-media-item.tsx @@ -0,0 +1,229 @@ +import { Slot } from "@radix-ui/react-slot" +import { atom } from "jotai" +import { useLayoutEffect, useRef } from "react" + +import { FeedIcon } from "~/components/feed-icon" +import { ActionButton } from "~/components/ui/button" +import { RelativeTime } from "~/components/ui/datetime" +import { Media } from "~/components/ui/media" +import { usePreviewMedia } from "~/components/ui/media/hooks" +import { Skeleton } from "~/components/ui/skeleton" +import { useAsRead } from "~/hooks/biz/useAsRead" +import { useEntryActions } from "~/hooks/biz/useEntryActions" +import { useRouteParamsSelector } from "~/hooks/biz/useRouteParams" +import { getImageProxyUrl } from "~/lib/img-proxy" +import { jotaiStore } from "~/lib/jotai" +import { parseSocialMedia } from "~/lib/parsers" +import { cn } from "~/lib/utils" +import { useEntry } from "~/store/entry/hooks" +import { useFeedById } from "~/store/feed" + +import { ReactVirtuosoItemPlaceholder } from "../../../components/ui/placeholder" +import { StarIcon } from "../star-icon" +import { EntryTranslation } from "../translation" +import type { EntryListItemFC } from "../types" + +const socialMediaContentWidthAtom = atom(0) +export const SocialMediaItem: EntryListItemFC = ({ entryId, entryPreview, translation }) => { + const entry = useEntry(entryId) || entryPreview + + const previewMedia = usePreviewMedia() + const asRead = useAsRead(entry) + const feed = useFeedById(entry?.feedId) + + const ref = useRef(null) + + useLayoutEffect(() => { + if (ref.current) { + jotaiStore.set(socialMediaContentWidthAtom, ref.current.offsetWidth) + } + }, [ref.current]) + // NOTE: prevent 0 height element, react virtuoso will not stop render any more + if (!entry || !feed) return + + const content = entry.entries.content || entry.entries.description + + const parsed = parseSocialMedia(entry.entries) + + return ( +
    + +
    +
    +
    + + {entry.entries.author || feed.title} + {parsed?.type === "x" && ( + + )} + + + {parsed?.type === "x" && ( + + @{parsed.meta.handle} + + )} + · + + + +
    +
    + + {!!entry.collections && } +
    +
    + {!!entry.entries.media?.length && ( +
    + {entry.entries.media.map((media, i, mediaList) => { + const style: Partial<{ + width: string + height: string + }> = {} + const boundsWidth = jotaiStore.get(socialMediaContentWidthAtom) + if (media.height && media.width) { + // has 1 picture, max width is container width, but max height is less than window height: 2/3 + if (mediaList.length === 1) { + style.width = `${boundsWidth}px` + style.height = `${(boundsWidth * media.height) / media.width}px` + if (Number.parseInt(style.height) > (window.innerHeight * 2) / 3) { + style.height = `${(window.innerHeight * 2) / 3}px` + style.width = `${(Number.parseInt(style.height) * media.width) / media.height}px` + } + } + // has 2 pictures, max width is container half width, and - gap 8px + else if (mediaList.length === 2) { + style.width = `${(boundsWidth - 8) / 2}px` + style.height = `${(((boundsWidth - 8) / 2) * media.height) / media.width}px` + } + // has over 2 pictures, max width is container 1/3 width + else if (mediaList.length > 2) { + style.width = `${boundsWidth / 3}px` + style.height = `${((boundsWidth / 3) * media.height) / media.width}px` + } + } + + const proxySize = { + width: Number.parseInt(style.width || "0") * 2 || 0, + height: Number.parseInt(style.height || "0") * 2 || 0, + } + return ( + { + e.stopPropagation() + previewMedia( + mediaList.map((m) => ({ + url: m.url, + type: m.type, + fallbackUrl: + m.preview_image_url ?? getImageProxyUrl({ url: m.url, ...proxySize }), + })), + i, + ) + }} + /> + ) + })} +
    + )} +
    + +
    + +
    +
    + ) +} + +SocialMediaItem.wrapperClassName = tw`w-[645px] max-w-full m-auto` + +const ActionBar = ({ entryId }: { entryId: string }) => { + const entry = useEntry(entryId) + const view = useRouteParamsSelector((s) => s.view) + const { items } = useEntryActions({ + entry, + view, + type: "toolbar", + }) + return ( +
    + {items + .filter((item) => !item.hide && item.key !== "read" && item.key !== "unread") + .map((item) => ( + {item.icon} + ) : ( + + ) + } + onClick={item.onClick} + tooltip={item.name} + key={item.name} + /> + ))} +
    + ) +} + +export const SocialMediaItemSkeleton = ( +
    +
    +
    + +
    +
    +
    + + · + +
    +
    + + + +
    +
    +
    + +
    +
    +
    +
    +
    +) diff --git a/src/renderer/src/modules/entry-column/Items/video-item.tsx b/apps/renderer/src/modules/entry-column/Items/video-item.tsx similarity index 86% rename from src/renderer/src/modules/entry-column/Items/video-item.tsx rename to apps/renderer/src/modules/entry-column/Items/video-item.tsx index 75c769373..91e99b715 100644 --- a/src/renderer/src/modules/entry-column/Items/video-item.tsx +++ b/apps/renderer/src/modules/entry-column/Items/video-item.tsx @@ -1,17 +1,18 @@ -import { AudioPlayer } from "@renderer/atoms/player" -import { m } from "@renderer/components/common/Motion" -import { Media } from "@renderer/components/ui/media" -import type { ModalContentComponent } from "@renderer/components/ui/modal" -import { useModalStack } from "@renderer/components/ui/modal" -import { NoopChildren } from "@renderer/components/ui/modal/stacked/utils" -import { Skeleton } from "@renderer/components/ui/skeleton" -import { useRouteParamsSelector } from "@renderer/hooks/biz/useRouteParams" -import { urlToIframe } from "@renderer/lib/url-to-iframe" -import { cn } from "@renderer/lib/utils" -import { useEntry } from "@renderer/store/entry/hooks" import { useHover } from "@use-gesture/react" import { useEffect, useMemo, useRef, useState } from "react" +import { AudioPlayer } from "~/atoms/player" +import { m } from "~/components/common/Motion" +import { Media } from "~/components/ui/media" +import type { ModalContentComponent } from "~/components/ui/modal" +import { useModalStack } from "~/components/ui/modal" +import { PlainModal } from "~/components/ui/modal/stacked/custom-modal" +import { Skeleton } from "~/components/ui/skeleton" +import { useRouteParamsSelector } from "~/hooks/biz/useRouteParams" +import { urlToIframe } from "~/lib/url-to-iframe" +import { cn } from "~/lib/utils" +import { useEntry } from "~/store/entry/hooks" + import { ReactVirtuosoItemPlaceholder } from "../../../components/ui/placeholder" import { GridItem } from "../templates/grid-item-template" import type { UniversalItemProps } from "../types" @@ -57,14 +58,14 @@ export function VideoItem({ entryId, entryPreview, translation }: UniversalItemP return (
    { if (iframeSrc) { modalStack.present({ title: "", content: (props) => , clickOutsideToDismiss: true, - CustomModalComponent: NoopChildren, + CustomModalComponent: PlainModal, overlay: true, }) } @@ -94,6 +95,7 @@ export function VideoItem({ entryId, entryPreview, translation }: UniversalItemP width: 640, height: 360, }} + showFallback={true} /> ) : (
    diff --git a/src/renderer/src/modules/entry-column/components/DateItem.tsx b/apps/renderer/src/modules/entry-column/components/DateItem.tsx similarity index 88% rename from src/renderer/src/modules/entry-column/components/DateItem.tsx rename to apps/renderer/src/modules/entry-column/components/DateItem.tsx index 09f0280f8..d6672655c 100644 --- a/src/renderer/src/modules/entry-column/components/DateItem.tsx +++ b/apps/renderer/src/modules/entry-column/components/DateItem.tsx @@ -1,17 +1,18 @@ -import { SafeFragment } from "@renderer/components/common/Fragment" -import { ActionButton } from "@renderer/components/ui/button" -import { RelativeDay } from "@renderer/components/ui/datetime" -import { useScrollViewElement } from "@renderer/components/ui/scroll-area/hooks" -import { IconScaleTransition } from "@renderer/components/ux/transition/icon" -import { stopPropagation } from "@renderer/lib/dom" -import { FeedViewType } from "@renderer/lib/enum" -import { cn } from "@renderer/lib/utils" import { m } from "framer-motion" import { throttle } from "lodash-es" import type { FC, PropsWithChildren } from "react" import { memo, useCallback, useId, useLayoutEffect, useMemo, useRef, useState } from "react" import { useDebounceCallback } from "usehooks-ts" +import { SafeFragment } from "~/components/common/Fragment" +import { ActionButton } from "~/components/ui/button" +import { RelativeDay } from "~/components/ui/datetime" +import { useScrollViewElement } from "~/components/ui/scroll-area/hooks" +import { IconScaleTransition } from "~/components/ux/transition/icon" +import { stopPropagation } from "~/lib/dom" +import { FeedViewType } from "~/lib/enum" +import { cn } from "~/lib/utils" + import { useMarkAllByRoute } from "../hooks/useMarkAll" const useParseDate = (date: string) => @@ -160,7 +161,7 @@ const SocialMediaDateItem = ({ date, className }: { date: string; className?: st // @ts-expect-error Wrapper={useCallback( ({ children }) => ( -
    {children}
    +
    {children}
    ), [], )} diff --git a/src/renderer/src/modules/entry-column/components/mark-all-button.tsx b/apps/renderer/src/modules/entry-column/components/mark-all-button.tsx similarity index 88% rename from src/renderer/src/modules/entry-column/components/mark-all-button.tsx rename to apps/renderer/src/modules/entry-column/components/mark-all-button.tsx index 1917030b2..43bfd0c57 100644 --- a/src/renderer/src/modules/entry-column/components/mark-all-button.tsx +++ b/apps/renderer/src/modules/entry-column/components/mark-all-button.tsx @@ -1,10 +1,3 @@ -import { ActionButton, Button, IconButton } from "@renderer/components/ui/button" -import { Kbd, KbdCombined } from "@renderer/components/ui/kbd/Kbd" -import { RootPortal } from "@renderer/components/ui/portal" -import { HotKeyScopeMap } from "@renderer/constants" -import { shortcuts } from "@renderer/constants/shortcuts" -import { useI18n } from "@renderer/hooks/common" -import { cn } from "@renderer/lib/utils" import { AnimatePresence, m } from "framer-motion" import type { FC, ReactNode } from "react" import { forwardRef, Fragment, useState } from "react" @@ -13,6 +6,14 @@ import { Trans, useTranslation } from "react-i18next" import { toast } from "sonner" import { useOnClickOutside } from "usehooks-ts" +import { ActionButton, Button, IconButton } from "~/components/ui/button" +import { Kbd, KbdCombined } from "~/components/ui/kbd/Kbd" +import { RootPortal } from "~/components/ui/portal" +import { HotKeyScopeMap } from "~/constants" +import { shortcuts } from "~/constants/shortcuts" +import { useI18n } from "~/hooks/common" +import { cn } from "~/lib/utils" + import type { MarkAllFilter } from "../hooks/useMarkAll" import { useMarkAllByRoute } from "../hooks/useMarkAll" @@ -53,7 +54,7 @@ export const MarkAllReadWithOverlay = forwardRef< animate={{ y: 0 }} exit={{ y: -70 }} transition={{ type: "spring", damping: 20, stiffness: 300 }} - className="shadow-modal fixed z-50 bg-theme-modal-background-opaque shadow" + className="shadow-modal absolute z-50 bg-theme-modal-background-opaque shadow" style={{ left: -paddingLeft, top: rect.top, @@ -181,7 +182,6 @@ export const FlatMarkAllReadButton: FC = (props) => { const [status, setStatus] = useState<"initial" | "confirm" | "done">("initial") const handleMarkAll = useMarkAllByRoute(filter) - if (status === "done") return null const animate = { initial: { rotate: -30, opacity: 0.9 }, exit: { rotate: -30, opacity: 0.9 }, @@ -190,7 +190,12 @@ export const FlatMarkAllReadButton: FC = (props) => { return (
    {titleAtBottom && titleInfo} diff --git a/src/renderer/src/modules/entry-column/lists.tsx b/apps/renderer/src/modules/entry-column/lists.tsx similarity index 91% rename from src/renderer/src/modules/entry-column/lists.tsx rename to apps/renderer/src/modules/entry-column/lists.tsx index 2543a08cb..cdcb50d0e 100644 --- a/src/renderer/src/modules/entry-column/lists.tsx +++ b/apps/renderer/src/modules/entry-column/lists.tsx @@ -1,9 +1,3 @@ -import { useGeneralSettingKey } from "@renderer/atoms/settings/general" -import { m } from "@renderer/components/common/Motion" -import { EmptyIcon } from "@renderer/components/icons/empty" -import { ReactVirtuosoItemPlaceholder } from "@renderer/components/ui/placeholder" -import { useRouteParamsSelector } from "@renderer/hooks/biz/useRouteParams" -import { useEntry } from "@renderer/store/entry" import type { HTMLMotionProps } from "framer-motion" import type { DOMAttributes, FC } from "react" import { forwardRef, memo, useCallback } from "react" @@ -11,6 +5,13 @@ import { useTranslation } from "react-i18next" import type { VirtuosoHandle, VirtuosoProps } from "react-virtuoso" import { GroupedVirtuoso, Virtuoso } from "react-virtuoso" +import { useGeneralSettingKey } from "~/atoms/settings/general" +import { m } from "~/components/common/Motion" +import { EmptyIcon } from "~/components/icons/empty" +import { ReactVirtuosoItemPlaceholder } from "~/components/ui/placeholder" +import { useRouteParamsSelector } from "~/hooks/biz/useRouteParams" +import { useEntry } from "~/store/entry" + import { DateItem } from "./components/DateItem" import { EntryColumnShortcutHandler } from "./EntryColumnShortcutHandler" diff --git a/src/renderer/src/modules/entry-column/star-icon.tsx b/apps/renderer/src/modules/entry-column/star-icon.tsx similarity index 80% rename from src/renderer/src/modules/entry-column/star-icon.tsx rename to apps/renderer/src/modules/entry-column/star-icon.tsx index 3c77c63e2..5052774e4 100644 --- a/src/renderer/src/modules/entry-column/star-icon.tsx +++ b/apps/renderer/src/modules/entry-column/star-icon.tsx @@ -1,4 +1,4 @@ -import { cn } from "@renderer/lib/utils" +import { cn } from "~/lib/utils" export const StarIcon: Component = ({ className }) => ( {!!estimatedMins && ( -
    - {formatEstimatedMins(estimatedMins)} +
    +
    +
    + {formatEstimatedMins(estimatedMins)} +
    )}
    diff --git a/src/renderer/src/modules/entry-column/translation.tsx b/apps/renderer/src/modules/entry-column/translation.tsx similarity index 90% rename from src/renderer/src/modules/entry-column/translation.tsx rename to apps/renderer/src/modules/entry-column/translation.tsx index 127285974..2e584626b 100644 --- a/src/renderer/src/modules/entry-column/translation.tsx +++ b/apps/renderer/src/modules/entry-column/translation.tsx @@ -1,9 +1,10 @@ import * as HoverCard from "@radix-ui/react-hover-card" -import { HTML } from "@renderer/components/ui/markdown" -import { ScrollArea } from "@renderer/components/ui/scroll-area" -import { tooltipStyle } from "@renderer/components/ui/tooltip/styles" -import { useMeasure } from "@renderer/hooks/common" -import { cn } from "@renderer/lib/utils" + +import { HTML } from "~/components/ui/markdown" +import { ScrollArea } from "~/components/ui/scroll-area" +import { tooltipStyle } from "~/components/ui/tooltip/styles" +import { useMeasure } from "~/hooks/common" +import { cn } from "~/lib/utils" export const EntryTranslation: Component<{ source?: string | null diff --git a/src/renderer/src/modules/entry-column/types.ts b/apps/renderer/src/modules/entry-column/types.ts similarity index 80% rename from src/renderer/src/modules/entry-column/types.ts rename to apps/renderer/src/modules/entry-column/types.ts index 403b39bbe..f6e7fb6ff 100644 --- a/src/renderer/src/modules/entry-column/types.ts +++ b/apps/renderer/src/modules/entry-column/types.ts @@ -1,10 +1,11 @@ -import type { CombinedEntryModel, FeedModel } from "@renderer/models" import type { FC } from "react" +import type { CombinedEntryModel, TargetModel } from "~/models" + export type UniversalItemProps = { entryId: string entryPreview?: CombinedEntryModel & { - feeds: FeedModel + feeds: TargetModel feedId: string } translation?: { diff --git a/src/renderer/src/modules/entry-content/atoms.tsx b/apps/renderer/src/modules/entry-content/atoms.tsx similarity index 90% rename from src/renderer/src/modules/entry-content/atoms.tsx rename to apps/renderer/src/modules/entry-content/atoms.tsx index 71388670d..b796d0d9e 100644 --- a/src/renderer/src/modules/entry-content/atoms.tsx +++ b/apps/renderer/src/modules/entry-content/atoms.tsx @@ -1,6 +1,7 @@ -import { createAtomHooks } from "@renderer/lib/jotai" import { atom } from "jotai" +import { createAtomHooks } from "~/lib/jotai" + export const [, , useEntryTitleMeta, , getEntryTitleMeta, setEntryTitleMeta] = createAtomHooks( atom( null as Nullable<{ diff --git a/src/renderer/src/modules/entry-content/components/EntryPlaceholderLogo.tsx b/apps/renderer/src/modules/entry-content/components/EntryPlaceholderLogo.tsx similarity index 75% rename from src/renderer/src/modules/entry-content/components/EntryPlaceholderLogo.tsx rename to apps/renderer/src/modules/entry-content/components/EntryPlaceholderLogo.tsx index 998eb5dd6..f210a4f6f 100644 --- a/src/renderer/src/modules/entry-content/components/EntryPlaceholderLogo.tsx +++ b/apps/renderer/src/modules/entry-content/components/EntryPlaceholderLogo.tsx @@ -1,7 +1,7 @@ -import { Logo } from "@renderer/components/icons/logo" -import { stopPropagation } from "@renderer/lib/dom" -import { cn } from "@renderer/lib/utils" -import { useFeedHeaderTitle } from "@renderer/store/feed" +import { Logo } from "~/components/icons/logo" +import { stopPropagation } from "~/lib/dom" +import { cn } from "~/lib/utils" +import { useFeedHeaderTitle } from "~/store/feed" import { useEntryContentPlaceholderLogoShow } from "../atoms" diff --git a/src/renderer/src/modules/entry-content/components/EntryReadHistory.tsx b/apps/renderer/src/modules/entry-content/components/EntryReadHistory.tsx similarity index 61% rename from src/renderer/src/modules/entry-content/components/EntryReadHistory.tsx rename to apps/renderer/src/modules/entry-content/components/EntryReadHistory.tsx index be77cd007..3f09a955f 100644 --- a/src/renderer/src/modules/entry-content/components/EntryReadHistory.tsx +++ b/apps/renderer/src/modules/entry-content/components/EntryReadHistory.tsx @@ -4,21 +4,18 @@ import { HoverCardPortal, HoverCardTrigger, } from "@radix-ui/react-hover-card" -import { useWhoami } from "@renderer/atoms/user" -import { Avatar, AvatarFallback, AvatarImage } from "@renderer/components/ui/avatar" -import { - Tooltip, - TooltipContent, - TooltipPortal, - TooltipTrigger, -} from "@renderer/components/ui/tooltip" -import { useAuthQuery } from "@renderer/hooks/common" -import { Queries } from "@renderer/queries" -import { useEntryReadHistory } from "@renderer/store/entry" -import { useUserById } from "@renderer/store/user" import clsx from "clsx" -import { LayoutGroup, m } from "framer-motion" -import { memo, useEffect, useState } from "react" +import { m } from "framer-motion" +import { memo } from "react" + +import { useWhoami } from "~/atoms/user" +import { Avatar, AvatarFallback, AvatarImage } from "~/components/ui/avatar" +import { Tooltip, TooltipContent, TooltipPortal, TooltipTrigger } from "~/components/ui/tooltip" +import { useAuthQuery } from "~/hooks/common" +import { useAppLayoutGridContainerWidth } from "~/providers/app-grid-layout-container-provider" +import { Queries } from "~/queries" +import { useEntryReadHistory } from "~/store/entry" +import { useUserById } from "~/store/user" import { usePresentUserProfileModal } from "../../profile/hooks" @@ -26,20 +23,14 @@ export const EntryReadHistory: Component<{ entryId: string }> = ({ entryId }) => const me = useWhoami() const entryHistory = useEntryReadHistory(entryId) - const [isEnabledPolling, setIsEnabledPolling] = useState(false) - useAuthQuery(Queries.entries.entryReadingHistory(entryId), { + const { data } = useAuthQuery(Queries.entries.entryReadingHistory(entryId), { refetchInterval: 1000 * 60, - enabled: isEnabledPolling, }) - useEffect(() => { - const timer = setTimeout(() => { - setIsEnabledPolling(true) - }, 1000 * 60) + const totalCount = data?.total || 0 - return () => { - clearTimeout(timer) - } - }, [entryId]) + const appGirdContainerWidth = useAppLayoutGridContainerWidth() + + const LIMIT = appGirdContainerWidth > 600 ? 10 : 5 if (!entryHistory) return null if (!me) return null @@ -47,36 +38,32 @@ export const EntryReadHistory: Component<{ entryId: string }> = ({ entryId }) => return (
    - - {entryHistory.userIds - .filter((id) => id !== me?.id) - .slice(0, 10) + {entryHistory.userIds + .filter((id) => id !== me?.id) + .slice(0, LIMIT) - .map((userId, i) => ( - - ))} - + .map((userId, i) => ( + + ))} - {entryHistory.readCount && - entryHistory.readCount > 10 && - entryHistory.userIds && - entryHistory.userIds.length >= 10 && ( - - - - + {!!totalCount && totalCount > LIMIT && ( + + + + + {totalCount > LIMIT && ( = ({ entryId }) => side="right" asChild className={clsx( - "flex max-h-[300px] flex-col overflow-y-auto rounded-md border bg-background drop-shadow", + "z-10 flex max-h-[300px] flex-col overflow-y-auto rounded-md border bg-background drop-shadow", // Animation, fade up "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=open]:slide-in-from-bottom-3", )} @@ -92,15 +79,16 @@ export const EntryReadHistory: Component<{ entryId: string }> = ({ entryId }) =>
      {entryHistory.userIds .filter((id) => id !== me?.id) - .slice(10) + .slice(LIMIT) .map((userId) => ( ))}
    -
    - )} + )} +
    + )}
    ) } diff --git a/src/renderer/src/modules/entry-content/components/WarnGoToExternalLink.tsx b/apps/renderer/src/modules/entry-content/components/WarnGoToExternalLink.tsx similarity index 86% rename from src/renderer/src/modules/entry-content/components/WarnGoToExternalLink.tsx rename to apps/renderer/src/modules/entry-content/components/WarnGoToExternalLink.tsx index 0ef9e9190..9777533e5 100644 --- a/src/renderer/src/modules/entry-content/components/WarnGoToExternalLink.tsx +++ b/apps/renderer/src/modules/entry-content/components/WarnGoToExternalLink.tsx @@ -1,15 +1,16 @@ import { Label } from "@radix-ui/react-label" import { PopoverPortal } from "@radix-ui/react-popover" -import { useGeneralSettingKey, useGeneralSettingValue } from "@renderer/atoms/settings/general" -import { IconButton } from "@renderer/components/ui/button" -import { Checkbox } from "@renderer/components/ui/checkbox" -import { Popover, PopoverContent, PopoverTrigger } from "@renderer/components/ui/popover" -import { jotaiStore } from "@renderer/lib/jotai" -import { getStorageNS } from "@renderer/lib/ns" -import { withSettingEnabled } from "@renderer/modules/settings/helper/withSettingEnable" import { atomWithStorage } from "jotai/utils" import { forwardRef, Fragment, useState } from "react" +import { useGeneralSettingKey, useGeneralSettingValue } from "~/atoms/settings/general" +import { IconButton } from "~/components/ui/button" +import { Checkbox } from "~/components/ui/checkbox" +import { Popover, PopoverContent, PopoverTrigger } from "~/components/ui/popover" +import { jotaiStore } from "~/lib/jotai" +import { getStorageNS } from "~/lib/ns" +import { withSettingEnabled } from "~/modules/settings/helper/withSettingEnable" + const TrustedKey = getStorageNS("trusted-external-link") const trustedAtom = atomWithStorage(TrustedKey, [] as string[], undefined, { getOnInit: true, diff --git a/src/renderer/src/modules/entry-content/header.tsx b/apps/renderer/src/modules/entry-content/header.tsx similarity index 88% rename from src/renderer/src/modules/entry-content/header.tsx rename to apps/renderer/src/modules/entry-content/header.tsx index e607b1304..88fb21a66 100644 --- a/src/renderer/src/modules/entry-content/header.tsx +++ b/apps/renderer/src/modules/entry-content/header.tsx @@ -1,28 +1,29 @@ import { Slot } from "@radix-ui/react-slot" -import { AudioPlayer, getAudioPlayerAtomValue } from "@renderer/atoms/player" -import { - isInReadability, - ReadabilityStatus, - useEntryInReadabilityStatus, -} from "@renderer/atoms/readability" -import { ActionButton } from "@renderer/components/ui/button" -import { DividerVertical } from "@renderer/components/ui/divider" -import { views } from "@renderer/constants" -import { shortcuts } from "@renderer/constants/shortcuts" -import { useEntryActions, useEntryReadabilityToggle } from "@renderer/hooks/biz/useEntryActions" -import { tipcClient } from "@renderer/lib/client" -import { FeedViewType } from "@renderer/lib/enum" -import { parseHtml } from "@renderer/lib/parse-html" -import { cn } from "@renderer/lib/utils" -import type { CombinedEntryModel } from "@renderer/models" -import type { FlatEntryModel } from "@renderer/store/entry" -import { useEntry } from "@renderer/store/entry/hooks" -import { useFeedById } from "@renderer/store/feed" import { noop } from "foxact/noop" import { AnimatePresence, m } from "framer-motion" import { memo, useMemo, useState } from "react" import { useTranslation } from "react-i18next" +import { AudioPlayer, getAudioPlayerAtomValue } from "~/atoms/player" +import { + isInReadability, + ReadabilityStatus, + useEntryInReadabilityStatus, +} from "~/atoms/readability" +import { ActionButton } from "~/components/ui/button" +import { DividerVertical } from "~/components/ui/divider" +import { views } from "~/constants" +import { shortcuts } from "~/constants/shortcuts" +import { useEntryActions, useEntryReadabilityToggle } from "~/hooks/biz/useEntryActions" +import { tipcClient } from "~/lib/client" +import { FeedViewType } from "~/lib/enum" +import { parseHtml } from "~/lib/parse-html" +import { cn } from "~/lib/utils" +import type { CombinedEntryModel } from "~/models" +import type { FlatEntryModel } from "~/store/entry" +import { useEntry } from "~/store/entry/hooks" +import { useFeedById } from "~/store/feed" + import { useEntryContentScrollToTop, useEntryTitleMeta } from "./atoms" import { EntryReadHistory } from "./components/EntryReadHistory" diff --git a/src/renderer/src/modules/entry-content/hooks.ts b/apps/renderer/src/modules/entry-content/hooks.ts similarity index 91% rename from src/renderer/src/modules/entry-content/hooks.ts rename to apps/renderer/src/modules/entry-content/hooks.ts index ee5df81c0..49ae52234 100644 --- a/src/renderer/src/modules/entry-content/hooks.ts +++ b/apps/renderer/src/modules/entry-content/hooks.ts @@ -1,6 +1,7 @@ -import { isDev } from "@renderer/constants" import { useContext, useContextSelector } from "use-context-selector" +import { isDev } from "~/constants" + import { EntryContentContext } from "./provider" export const useEntryContentContext = () => { diff --git a/src/renderer/src/modules/entry-content/index.tsx b/apps/renderer/src/modules/entry-content/index.tsx similarity index 88% rename from src/renderer/src/modules/entry-content/index.tsx rename to apps/renderer/src/modules/entry-content/index.tsx index b0dfb9345..ed68a6a53 100644 --- a/src/renderer/src/modules/entry-content/index.tsx +++ b/apps/renderer/src/modules/entry-content/index.tsx @@ -1,42 +1,4 @@ import { repository } from "@pkg" -import { - ReadabilityStatus, - setReadabilityStatus, - useEntryInReadabilityStatus, - useEntryIsInReadability, - useEntryReadabilityContent, -} from "@renderer/atoms/readability" -import { useUISettingKey } from "@renderer/atoms/settings/ui" -import { useWhoami } from "@renderer/atoms/user" -import { m } from "@renderer/components/common/Motion" -import { ShadowDOM } from "@renderer/components/common/ShadowDOM" -import { AutoResizeHeight } from "@renderer/components/ui/auto-resize-height" -import { Button } from "@renderer/components/ui/button" -import { Divider } from "@renderer/components/ui/divider" -import { HTML } from "@renderer/components/ui/markdown" -import { Toc } from "@renderer/components/ui/markdown/components/Toc" -import { useInPeekModal } from "@renderer/components/ui/modal/inspire/PeekModal" -import { RootPortal } from "@renderer/components/ui/portal" -import { ScrollArea } from "@renderer/components/ui/scroll-area" -import { UserAvatar } from "@renderer/components/user-button" -import { isWebBuild, ROUTE_FEED_PENDING } from "@renderer/constants" -import { shortcuts } from "@renderer/constants/shortcuts" -import { useEntryReadabilityToggle } from "@renderer/hooks/biz/useEntryActions" -import { useRouteParamsSelector, useRouteParms } from "@renderer/hooks/biz/useRouteParams" -import { useAuthQuery, useTitle } from "@renderer/hooks/common" -import { stopPropagation } from "@renderer/lib/dom" -import { FeedViewType } from "@renderer/lib/enum" -import { getNewIssueUrl } from "@renderer/lib/issues" -import { cn } from "@renderer/lib/utils" -import type { ActiveEntryId } from "@renderer/models" -import { - useIsSoFWrappedElement, - useWrappedElement, - WrappedElementProvider, -} from "@renderer/providers/wrapped-element-provider" -import { Queries } from "@renderer/queries" -import { useEntry, useEntryReadHistory } from "@renderer/store/entry" -import { getPreferredTitle, useFeedById, useFeedHeaderTitle } from "@renderer/store/feed" import type { FallbackRender } from "@sentry/react" import { ErrorBoundary } from "@sentry/react" import type { FC } from "react" @@ -44,6 +6,45 @@ import { memo, useEffect, useLayoutEffect, useMemo, useRef } from "react" import { useHotkeys } from "react-hotkeys-hook" import { useTranslation } from "react-i18next" +import { + ReadabilityStatus, + setReadabilityStatus, + useEntryInReadabilityStatus, + useEntryIsInReadability, + useEntryReadabilityContent, +} from "~/atoms/readability" +import { useUISettingKey } from "~/atoms/settings/ui" +import { useWhoami } from "~/atoms/user" +import { m } from "~/components/common/Motion" +import { ShadowDOM } from "~/components/common/ShadowDOM" +import { AutoResizeHeight } from "~/components/ui/auto-resize-height" +import { Button } from "~/components/ui/button" +import { Divider } from "~/components/ui/divider" +import { HTML } from "~/components/ui/markdown" +import { Toc } from "~/components/ui/markdown/components/Toc" +import { useInPeekModal } from "~/components/ui/modal/inspire/PeekModal" +import { RootPortal } from "~/components/ui/portal" +import { ScrollArea } from "~/components/ui/scroll-area" +import { UserAvatar } from "~/components/user-button" +import { isWebBuild, ROUTE_FEED_PENDING } from "~/constants" +import { shortcuts } from "~/constants/shortcuts" +import { useEntryReadabilityToggle } from "~/hooks/biz/useEntryActions" +import { useRouteParams, useRouteParamsSelector } from "~/hooks/biz/useRouteParams" +import { useAuthQuery, useTitle } from "~/hooks/common" +import { stopPropagation } from "~/lib/dom" +import { FeedViewType } from "~/lib/enum" +import { getNewIssueUrl } from "~/lib/issues" +import { cn } from "~/lib/utils" +import type { ActiveEntryId, FeedModel } from "~/models" +import { + useIsSoFWrappedElement, + useWrappedElement, + WrappedElementProvider, +} from "~/providers/wrapped-element-provider" +import { Queries } from "~/queries" +import { useEntry, useEntryReadHistory } from "~/store/entry" +import { getPreferredTitle, useFeedById, useFeedHeaderTitle } from "~/store/feed" + import { LoadingWithIcon } from "../../components/ui/loading" import { EntryPlaceholderDaily } from "../ai/ai-daily/EntryPlaceholderDaily" import { EntryTranslation } from "../entry-column/translation" @@ -64,7 +65,7 @@ const safeUrl = (url: string, baseUrl: string) => { export const EntryContent = ({ entryId }: { entryId: ActiveEntryId }) => { const title = useFeedHeaderTitle() - const { feedId, view } = useRouteParms() + const { feedId, view } = useRouteParams() useTitle(title) if (!entryId) { @@ -96,7 +97,7 @@ export const EntryContentRender: Component<{ entryId: string }> = ({ entryId, cl const entry = useEntry(entryId) useTitle(entry?.entries.title) - const feed = useFeedById(entry?.feedId) + const feed = useFeedById(entry?.feedId) as FeedModel const entryHistory = useEntryReadHistory(entryId) @@ -218,7 +219,7 @@ export const EntryContentRender: Component<{ entryId: string }> = ({ entryId, cl
    @@ -309,7 +310,7 @@ export const EntryContentRender: Component<{ entryId: string }> = ({ entryId, cl className="w-40 flex-col gap-3 p-0" avatarClassName="size-12" userId={feed.ownerUserId} - enableModal={true} + enableModal /> + + + {isOpened && ( + + {subscriptions.map((subscription) => ( + + ))} + + )} + + +
    + ) +}) + const SubscriptionItem: FC<{ subscription: SubscriptionModel @@ -330,12 +366,18 @@ const SubscriptionItem: FC<{ const isFollowed = !!useSubscriptionStore((state) => state.data[subscription.feedId]) const { present } = useModalStack() const isLoose = variant === "loose" + if (!("feeds" in subscription)) return null return ( -
    + ) } diff --git a/src/renderer/src/modules/settings/action-card.tsx b/apps/renderer/src/modules/settings/action-card.tsx similarity index 96% rename from src/renderer/src/modules/settings/action-card.tsx rename to apps/renderer/src/modules/settings/action-card.tsx index 857ef6a65..6c2a4c066 100644 --- a/src/renderer/src/modules/settings/action-card.tsx +++ b/apps/renderer/src/modules/settings/action-card.tsx @@ -1,18 +1,21 @@ -import { Button } from "@renderer/components/ui/button" -import { Card, CardHeader } from "@renderer/components/ui/card" -import { Collapse, CollapseControlled } from "@renderer/components/ui/collapse" -import { Divider } from "@renderer/components/ui/divider" -import { Input } from "@renderer/components/ui/input" -import { Radio } from "@renderer/components/ui/radio-group" -import { RadioGroup } from "@renderer/components/ui/radio-group/RadioGroup" +import { useMemo } from "react" +import { useTranslation } from "react-i18next" + +import { Button } from "~/components/ui/button" +import { Card, CardHeader } from "~/components/ui/card" +import { Collapse, CollapseControlled } from "~/components/ui/collapse" +import { Divider } from "~/components/ui/divider" +import { Input } from "~/components/ui/input" +import { Radio } from "~/components/ui/radio-group" +import { RadioGroup } from "~/components/ui/radio-group/RadioGroup" import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, -} from "@renderer/components/ui/select" -import { Switch } from "@renderer/components/ui/switch" +} from "~/components/ui/select" +import { Switch } from "~/components/ui/switch" import { Table, TableBody, @@ -20,18 +23,16 @@ import { TableHead, TableHeader, TableRow, -} from "@renderer/components/ui/table" -import { ViewSelectContent } from "@renderer/components/view-select-content" -import { stopPropagation } from "@renderer/lib/dom" -import { cn } from "@renderer/lib/utils" +} from "~/components/ui/table" +import { ViewSelectContent } from "~/components/view-select-content" +import { stopPropagation } from "~/lib/dom" +import { cn } from "~/lib/utils" import type { ActionEntryField, ActionFeedField, ActionOperation, SupportedLanguages, -} from "@renderer/models" -import { useMemo } from "react" -import { useTranslation } from "react-i18next" +} from "~/models" type ActionsInput = { name: string diff --git a/src/renderer/src/modules/settings/constants.ts b/apps/renderer/src/modules/settings/constants.ts similarity index 100% rename from src/renderer/src/modules/settings/constants.ts rename to apps/renderer/src/modules/settings/constants.ts diff --git a/src/renderer/src/modules/settings/control.tsx b/apps/renderer/src/modules/settings/control.tsx similarity index 88% rename from src/renderer/src/modules/settings/control.tsx rename to apps/renderer/src/modules/settings/control.tsx index 0b51b81af..c991cc80e 100644 --- a/src/renderer/src/modules/settings/control.tsx +++ b/apps/renderer/src/modules/settings/control.tsx @@ -1,13 +1,14 @@ -import { Button } from "@renderer/components/ui/button" -import { Checkbox } from "@renderer/components/ui/checkbox" -import { Input } from "@renderer/components/ui/input" -import { Label } from "@renderer/components/ui/label" -import { SegmentGroup, SegmentItem } from "@renderer/components/ui/segement" -import { Switch } from "@renderer/components/ui/switch" -import { cn } from "@renderer/lib/utils" import type { ChangeEventHandler, ReactNode } from "react" import { useId, useState } from "react" +import { Button } from "~/components/ui/button" +import { Checkbox } from "~/components/ui/checkbox" +import { Input } from "~/components/ui/input" +import { Label } from "~/components/ui/label" +import { SegmentGroup, SegmentItem } from "~/components/ui/segement" +import { Switch } from "~/components/ui/switch" +import { cn } from "~/lib/utils" + export const SettingCheckbox: Component<{ label: string checked: boolean @@ -36,7 +37,7 @@ export const SettingSwitch: Component<{ return (
    - +
    ) } diff --git a/src/renderer/src/modules/settings/helper/SyncIndicator.tsx b/apps/renderer/src/modules/settings/helper/SyncIndicator.tsx similarity index 80% rename from src/renderer/src/modules/settings/helper/SyncIndicator.tsx rename to apps/renderer/src/modules/settings/helper/SyncIndicator.tsx index 8683ea728..eb8000db8 100644 --- a/src/renderer/src/modules/settings/helper/SyncIndicator.tsx +++ b/apps/renderer/src/modules/settings/helper/SyncIndicator.tsx @@ -1,12 +1,13 @@ -import { PhCloudCheck } from "@renderer/components/icons/PhCloudCheck" -import { PhCloudWarning } from "@renderer/components/icons/PhCloudWarning" -import { PhCloudX } from "@renderer/components/icons/PhCloudX" -import { Tooltip, TooltipContent, TooltipTrigger } from "@renderer/components/ui/tooltip" -import { useAuthQuery, useIsOnline } from "@renderer/hooks/common" -import { settings } from "@renderer/queries/settings" import { useEffect, useMemo, useRef } from "react" import { useTranslation } from "react-i18next" +import { PhCloudCheck } from "~/components/icons/PhCloudCheck" +import { PhCloudWarning } from "~/components/icons/PhCloudWarning" +import { PhCloudX } from "~/components/icons/PhCloudX" +import { Tooltip, TooltipContent, TooltipTrigger } from "~/components/ui/tooltip" +import { useAuthQuery, useIsOnline } from "~/hooks/common" +import { settings } from "~/queries/settings" + import { useSettingContextSelector } from "../modal/hooks" import { settingSyncQueue } from "./sync-queue" diff --git a/src/renderer/src/modules/settings/helper/sync-queue.ts b/apps/renderer/src/modules/settings/helper/sync-queue.ts similarity index 91% rename from src/renderer/src/modules/settings/helper/sync-queue.ts rename to apps/renderer/src/modules/settings/helper/sync-queue.ts index 5ce8712c0..30741eba0 100644 --- a/src/renderer/src/modules/settings/helper/sync-queue.ts +++ b/apps/renderer/src/modules/settings/helper/sync-queue.ts @@ -1,29 +1,26 @@ +import type { GeneralSettings, UISettings } from "@follow/shared/interface/settings" +import type { PrimitiveAtom } from "jotai" +import { omit } from "lodash-es" + import { __generalSettingAtom, generalServerSyncWhiteListKeys, getGeneralSettings, -} from "@renderer/atoms/settings/general" -import { - __uiSettingAtom, - getUISettings, - uiServerSyncWhiteListKeys, -} from "@renderer/atoms/settings/ui" -import { apiClient } from "@renderer/lib/api-fetch" -import { EventBus } from "@renderer/lib/event-bus" -import { jotaiStore } from "@renderer/lib/jotai" -import { getStorageNS } from "@renderer/lib/ns" -import { isEmptyObject, sleep } from "@renderer/lib/utils" -import { settings } from "@renderer/queries/settings" -import type { GeneralSettings, UISettings } from "@shared/interface/settings" -import type { PrimitiveAtom } from "jotai" -import { omit } from "lodash-es" +} from "~/atoms/settings/general" +import { __uiSettingAtom, getUISettings, uiServerSyncWhiteListKeys } from "~/atoms/settings/ui" +import { apiClient } from "~/lib/api-fetch" +import { EventBus } from "~/lib/event-bus" +import { jotaiStore } from "~/lib/jotai" +import { getStorageNS } from "~/lib/ns" +import { isEmptyObject, sleep } from "~/lib/utils" +import { settings } from "~/queries/settings" type SettingMapping = { appearance: UISettings general: GeneralSettings } -const omitKeys = ["updated"] +const omitKeys = [] const localSettingGetterMap = { appearance: () => omit(getUISettings(), uiServerSyncWhiteListKeys, omitKeys), diff --git a/src/renderer/src/modules/settings/helper/withSettingEnable.tsx b/apps/renderer/src/modules/settings/helper/withSettingEnable.tsx similarity index 100% rename from src/renderer/src/modules/settings/helper/withSettingEnable.tsx rename to apps/renderer/src/modules/settings/helper/withSettingEnable.tsx diff --git a/src/renderer/src/modules/settings/modal/content.tsx b/apps/renderer/src/modules/settings/modal/content.tsx similarity index 72% rename from src/renderer/src/modules/settings/modal/content.tsx rename to apps/renderer/src/modules/settings/modal/content.tsx index 606007e1f..32b2a585f 100644 --- a/src/renderer/src/modules/settings/modal/content.tsx +++ b/apps/renderer/src/modules/settings/modal/content.tsx @@ -1,11 +1,12 @@ import { repository } from "@pkg" -import { MotionButtonBase } from "@renderer/components/ui/button" -import { useCurrentModal } from "@renderer/components/ui/modal" -import { ScrollArea } from "@renderer/components/ui/scroll-area" -import { SettingsTitle } from "@renderer/modules/settings/title" import i18next from "i18next" import type { FC } from "react" import { Suspense, useDeferredValue, useEffect, useLayoutEffect, useState } from "react" +import { Trans } from "react-i18next" + +import { ModalClose } from "~/components/ui/modal/stacked/components" +import { ScrollArea } from "~/components/ui/scroll-area" +import { SettingsTitle } from "~/modules/settings/title" import { settings } from "../constants" import { SettingTabProvider, useSettingTab } from "./context" @@ -41,16 +42,6 @@ export const SettingModalContent: FC<{ ) } -const Close = () => { - const { dismiss } = useCurrentModal() - - return ( - - - - ) -} - const Content = () => { const key = useDeferredValue(useSettingTab() || "general") const { Component, loader } = pages[key] @@ -68,7 +59,7 @@ const Content = () => { return ( - + {

    - Love our product?{" "} - - Give us a star on GitHub - - ! + , + HeartIcon: , + }} + />

    diff --git a/src/renderer/src/modules/settings/modal/context.tsx b/apps/renderer/src/modules/settings/modal/context.tsx similarity index 100% rename from src/renderer/src/modules/settings/modal/context.tsx rename to apps/renderer/src/modules/settings/modal/context.tsx diff --git a/src/renderer/src/modules/settings/modal/hooks-hack.ts b/apps/renderer/src/modules/settings/modal/hooks-hack.ts similarity index 100% rename from src/renderer/src/modules/settings/modal/hooks-hack.ts rename to apps/renderer/src/modules/settings/modal/hooks-hack.ts diff --git a/src/renderer/src/modules/settings/modal/hooks.ts b/apps/renderer/src/modules/settings/modal/hooks.ts similarity index 85% rename from src/renderer/src/modules/settings/modal/hooks.ts rename to apps/renderer/src/modules/settings/modal/hooks.ts index acab65957..09e1848da 100644 --- a/src/renderer/src/modules/settings/modal/hooks.ts +++ b/apps/renderer/src/modules/settings/modal/hooks.ts @@ -1,10 +1,11 @@ -import { useModalStack } from "@renderer/components/ui/modal/stacked/hooks" -import { NoopChildren } from "@renderer/components/ui/modal/stacked/utils" import type { ExtractAtomValue, PrimitiveAtom } from "jotai" import { atom, useAtomValue, useSetAtom } from "jotai" import { createElement, useCallback } from "react" import { createContext, useContextSelector } from "use-context-selector" +import { PlainModal } from "~/components/ui/modal/stacked/custom-modal" +import { useModalStack } from "~/components/ui/modal/stacked/hooks" + import { SettingModalContent } from "./content" export const useSettingModal = () => { @@ -19,7 +20,7 @@ export const useSettingModal = () => { createElement(SettingModalContent, { initialTab, }), - CustomModalComponent: NoopChildren, + CustomModalComponent: PlainModal, modalContainerClassName: "overflow-hidden", }), [present], diff --git a/src/renderer/src/modules/settings/modal/layout.tsx b/apps/renderer/src/modules/settings/modal/layout.tsx similarity index 84% rename from src/renderer/src/modules/settings/modal/layout.tsx rename to apps/renderer/src/modules/settings/modal/layout.tsx index d16f1f001..5c8b4c13a 100644 --- a/src/renderer/src/modules/settings/modal/layout.tsx +++ b/apps/renderer/src/modules/settings/modal/layout.tsx @@ -1,14 +1,16 @@ -import { useUISettingSelector } from "@renderer/atoms/settings/ui" -import { m } from "@renderer/components/common/Motion" -import { Logo } from "@renderer/components/icons/logo" -import { useResizeableModal } from "@renderer/components/ui/modal" -import { preventDefault } from "@renderer/lib/dom" -import { cn } from "@renderer/lib/utils" import { useDragControls } from "framer-motion" import { Resizable } from "re-resizable" import type { PointerEventHandler, PropsWithChildren } from "react" import { Suspense, useCallback, useEffect, useRef } from "react" +import { useUISettingSelector } from "~/atoms/settings/ui" +import { m } from "~/components/common/Motion" +import { Logo } from "~/components/icons/logo" +import { LetsIconsResizeDownRightLight } from "~/components/icons/resize" +import { useResizeableModal } from "~/components/ui/modal" +import { preventDefault } from "~/lib/dom" +import { cn } from "~/lib/utils" + import { settings } from "../constants" import { SettingSyncIndicator } from "../helper/SyncIndicator" import { SettingsSidebarTitle } from "../title" @@ -61,7 +63,7 @@ export function SettingModalLayout( scale: 0.96, }} className={cn( - "relative flex overflow-hidden rounded-xl border border-border", + "relative flex overflow-hidden rounded-xl rounded-br-none border border-border", !overlay && "shadow-perfect", )} style={resizeableStyle} @@ -96,8 +98,8 @@ export function SettingModalLayout(
    )}
    -
    -
    +
    +
    {APP_NAME}
    @@ -124,6 +126,8 @@ export function SettingModalLayout( {children}
    + + diff --git a/src/renderer/src/modules/settings/section.tsx b/apps/renderer/src/modules/settings/section.tsx similarity index 97% rename from src/renderer/src/modules/settings/section.tsx rename to apps/renderer/src/modules/settings/section.tsx index 3068f5882..0d05bd494 100644 --- a/src/renderer/src/modules/settings/section.tsx +++ b/apps/renderer/src/modules/settings/section.tsx @@ -1,11 +1,12 @@ /* eslint-disable @eslint-react/no-children-to-array */ /* eslint-disable @eslint-react/no-children-map */ -import { cn } from "@renderer/lib/utils" import type { FC, PropsWithChildren, ReactNode } from "react" import { cloneElement } from "react" import * as React from "react" +import { cn } from "~/lib/utils" + import { SettingActionItem, SettingDescription, SettingSwitch } from "./control" export const SettingSectionTitle: FC<{ diff --git a/src/renderer/src/modules/settings/sections/fonts.tsx b/apps/renderer/src/modules/settings/sections/fonts.tsx similarity index 90% rename from src/renderer/src/modules/settings/sections/fonts.tsx rename to apps/renderer/src/modules/settings/sections/fonts.tsx index 158515591..d15b33ca0 100644 --- a/src/renderer/src/modules/settings/sections/fonts.tsx +++ b/apps/renderer/src/modules/settings/sections/fonts.tsx @@ -1,22 +1,23 @@ /* eslint-disable @eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks */ -import { setUISetting, useUISettingSelector } from "@renderer/atoms/settings/ui" -import { Button } from "@renderer/components/ui/button" -import { Input } from "@renderer/components/ui/input" -import { useModalStack } from "@renderer/components/ui/modal" +import { useQuery } from "@tanstack/react-query" +import { useCallback, useEffect, useMemo, useRef } from "react" +import * as React from "react" +import { useTranslation } from "react-i18next" + +import { setUISetting, useUISettingSelector } from "~/atoms/settings/ui" +import { Button } from "~/components/ui/button" +import { Input } from "~/components/ui/input" +import { useModalStack } from "~/components/ui/modal" import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, -} from "@renderer/components/ui/select" -import { tipcClient } from "@renderer/lib/client" -import { nextFrame } from "@renderer/lib/dom" -import { getStorageNS } from "@renderer/lib/ns" -import { useQuery } from "@tanstack/react-query" -import { useCallback, useEffect, useMemo, useRef } from "react" -import * as React from "react" -import { useTranslation } from "react-i18next" +} from "~/components/ui/select" +import { tipcClient } from "~/lib/client" +import { nextFrame } from "~/lib/dom" +import { getStorageNS } from "~/lib/ns" const FALLBACK_FONT = "Default (UI Font)" const DEFAULT_FONT = "SN Pro" @@ -27,10 +28,12 @@ const useFontDataElectron = () => { queryKey: ["systemFonts"], }) - return [FALLBACK_FONT].concat(data || []).map((font) => ({ - label: font, - value: font, - })) + return [{ label: FALLBACK_FONT, value: "inherit" }].concat( + (data || []).map((font) => ({ + label: font, + value: font, + })), + ) } const useFontDataWeb = () => [ diff --git a/src/renderer/src/modules/settings/setting-builder.tsx b/apps/renderer/src/modules/settings/setting-builder.tsx similarity index 100% rename from src/renderer/src/modules/settings/setting-builder.tsx rename to apps/renderer/src/modules/settings/setting-builder.tsx diff --git a/src/renderer/src/modules/settings/tabs/about.tsx b/apps/renderer/src/modules/settings/tabs/about.tsx similarity index 90% rename from src/renderer/src/modules/settings/tabs/about.tsx rename to apps/renderer/src/modules/settings/tabs/about.tsx index 990427758..ef5ae99fd 100644 --- a/src/renderer/src/modules/settings/tabs/about.tsx +++ b/apps/renderer/src/modules/settings/tabs/about.tsx @@ -1,12 +1,13 @@ import { license, repository } from "@pkg" -import { Logo } from "@renderer/components/icons/logo" -import { Button } from "@renderer/components/ui/button" -import { styledButtonVariant } from "@renderer/components/ui/button/variants" -import { Divider } from "@renderer/components/ui/divider" -import { SocialMediaLinks } from "@renderer/constants/social" -import { getNewIssueUrl } from "@renderer/lib/issues" import { Trans, useTranslation } from "react-i18next" +import { Logo } from "~/components/icons/logo" +import { Button } from "~/components/ui/button" +import { styledButtonVariant } from "~/components/ui/button/variants" +import { Divider } from "~/components/ui/divider" +import { SocialMediaLinks } from "~/constants/social" +import { getNewIssueUrl } from "~/lib/issues" + import { SettingsTitle } from "../title" export const SettingAbout = () => { diff --git a/src/renderer/src/modules/settings/tabs/apperance.tsx b/apps/renderer/src/modules/settings/tabs/apperance.tsx similarity index 79% rename from src/renderer/src/modules/settings/tabs/apperance.tsx rename to apps/renderer/src/modules/settings/tabs/apperance.tsx index ca1ecc0f1..484a497db 100644 --- a/src/renderer/src/modules/settings/tabs/apperance.tsx +++ b/apps/renderer/src/modules/settings/tabs/apperance.tsx @@ -1,22 +1,23 @@ -import { createDefineSettingItem } from "@renderer/atoms/settings/helper" +import { useTranslation } from "react-i18next" +import { bundledThemesInfo } from "shiki/themes" + +import { createDefineSettingItem } from "~/atoms/settings/helper" import { setUISetting, useUISettingKey, useUISettingSelector, useUISettingValue, -} from "@renderer/atoms/settings/ui" +} from "~/atoms/settings/ui" import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, -} from "@renderer/components/ui/select" -import { isElectronBuild } from "@renderer/constants" -import { useSetTheme, useThemeAtomValue } from "@renderer/hooks/common" -import { getOS } from "@renderer/lib/utils" -import { useTranslation } from "react-i18next" -import { bundledThemes } from "shiki/themes" +} from "~/components/ui/select" +import { isElectronBuild } from "~/constants" +import { useIsDark, useSetTheme, useThemeAtomValue } from "~/hooks/common" +import { getOS } from "~/lib/utils" import { SettingTabbedSegment } from "../control" import { ContentFontSelector, UIFontSelector } from "../sections/fonts" @@ -92,6 +93,10 @@ export const SettingAppearance = () => { label: t("appearance.reduce_motion.label"), description: t("appearance.reduce_motion.description"), }), + defineItem("usePointerCursor", { + label: t("appearance.use_pointer_cursor.label"), + description: t("appearance.use_pointer_cursor.description"), + }), ]} />
    @@ -100,26 +105,35 @@ export const SettingAppearance = () => { const ShikiTheme = () => { const { t } = useTranslation("settings") - const codeHighlightTheme = useUISettingKey("codeHighlightTheme") + const isDark = useIsDark() + const codeHighlightThemeLight = useUISettingKey("codeHighlightThemeLight") + const codeHighlightThemeDark = useUISettingKey("codeHighlightThemeDark") + return (
    {t("appearance.code_highlight_theme")}
    diff --git a/src/renderer/src/modules/settings/tabs/feeds.tsx b/apps/renderer/src/modules/settings/tabs/feeds.tsx similarity index 86% rename from src/renderer/src/modules/settings/tabs/feeds.tsx rename to apps/renderer/src/modules/settings/tabs/feeds.tsx index bb97c819c..fef903bcb 100644 --- a/src/renderer/src/modules/settings/tabs/feeds.tsx +++ b/apps/renderer/src/modules/settings/tabs/feeds.tsx @@ -1,6 +1,10 @@ -import { FeedIcon } from "@renderer/components/feed-icon" -import { LoadingCircle } from "@renderer/components/ui/loading" -import { ScrollArea } from "@renderer/components/ui/scroll-area" +import { WEB_URL } from "@follow/shared/constants" +import { useTranslation } from "react-i18next" + +import { FeedIcon } from "~/components/feed-icon" +import { Divider } from "~/components/ui/divider" +import { LoadingCircle } from "~/components/ui/loading" +import { ScrollArea } from "~/components/ui/scroll-area" import { Table, TableBody, @@ -8,12 +12,10 @@ import { TableHead, TableHeader, TableRow, -} from "@renderer/components/ui/table" -import { useAuthQuery } from "@renderer/hooks/common" -import { Balance } from "@renderer/modules/wallet/balance" -import { Queries } from "@renderer/queries" -import { WEB_URL } from "@shared/constants" -import { useTranslation } from "react-i18next" +} from "~/components/ui/table" +import { useAuthQuery } from "~/hooks/common" +import { Balance } from "~/modules/wallet/balance" +import { Queries } from "~/queries" export const SettingFeeds = () => { const { t } = useTranslation("settings") @@ -24,6 +26,7 @@ export const SettingFeeds = () => {

    {t("feeds.claimTips")}

    +
    {claimedList.data?.length ? ( diff --git a/apps/renderer/src/modules/settings/tabs/general.tsx b/apps/renderer/src/modules/settings/tabs/general.tsx new file mode 100644 index 000000000..c37059eac --- /dev/null +++ b/apps/renderer/src/modules/settings/tabs/general.tsx @@ -0,0 +1,269 @@ +import { useQuery } from "@tanstack/react-query" +import { useAtom } from "jotai" +import { useCallback, useEffect } from "react" +import { useTranslation } from "react-i18next" + +import { currentSupportedLanguages } from "~/@types/constants" +import { langLoadingLockMapAtom } from "~/atoms/lang" +import { + setGeneralSetting, + useGeneralSettingSelector, + useGeneralSettingValue, +} from "~/atoms/settings/general" +import { createSetting } from "~/atoms/settings/helper" +import { createDefaultSettings, setUISetting, useUISettingSelector } from "~/atoms/settings/ui" +import { Button } from "~/components/ui/button" +import { LoadingCircle } from "~/components/ui/loading" +import { useModalStack } from "~/components/ui/modal" +import { + Select, + SelectContent, + SelectItem, + SelectTrigger, + SelectValue, +} from "~/components/ui/select" +import { useProxyValue, useSetProxy } from "~/hooks/common/useProxySetting" +import { fallbackLanguage } from "~/i18n" +import { initPostHog } from "~/initialize/posthog" +import { tipcClient } from "~/lib/client" +import { cn } from "~/lib/utils" +import { clearLocalPersistStoreData } from "~/store/utils/clear" + +import { SettingDescription, SettingInput } from "../control" +import { SettingItemGroup } from "../section" + +const { defineSettingItem, SettingBuilder } = createSetting( + useGeneralSettingValue, + setGeneralSetting, +) +export const SettingGeneral = () => { + const { t } = useTranslation("settings") + useEffect(() => { + tipcClient?.getLoginItemSettings().then((settings) => { + setGeneralSetting("appLaunchOnStartup", settings.openAtLogin) + }) + }, []) + + const saveLoginSetting = useCallback((checked: boolean) => { + tipcClient?.setLoginItemSettings(checked) + + setGeneralSetting("appLaunchOnStartup", checked) + }, []) + + const { present } = useModalStack() + + return ( +
    + { + present({ + title: t("general.rebuild_database.title"), + clickOutsideToDismiss: true, + content: () => ( +
    +

    {t("general.rebuild_database.warning.line1")}

    +

    {t("general.rebuild_database.warning.line2")}

    +
    + +
    +
    + ), + }) + }, + description: t("general.rebuild_database.description"), + buttonText: t("general.rebuild_database.button"), + }, + + { type: "title", value: t("general.network"), disabled: !window.electron }, + window.electron && NettingSetting, + ]} + /> +
    + ) +} + +export const VoiceSelector = () => { + const { t } = useTranslation("settings") + + const { data } = useQuery({ + queryFn: () => tipcClient?.getVoices(), + queryKey: ["voices"], + meta: { + persist: true, + }, + }) + const voice = useUISettingSelector((state) => state.voice) + + return ( +
    + {t("general.voices")} + +
    + ) +} + +export const LanguageSelector = () => { + const { t } = useTranslation("settings") + const { t: langT } = useTranslation("lang") + const language = useGeneralSettingSelector((state) => state.language) + + const finalRenderLanguage = currentSupportedLanguages.includes(language) + ? language + : fallbackLanguage + + const [loadingLanguageLockMap] = useAtom(langLoadingLockMapAtom) + + return ( +
    + {t("general.language")} + +
    + ) +} + +const NettingSetting = () => { + const { t } = useTranslation("settings") + const proxyConfig = useProxyValue() + const setProxyConfig = useSetProxy() + + return ( + + setProxyConfig(event.target.value.trim())} + /> + {t("general.proxy.description")} + + ) +} diff --git a/src/renderer/src/modules/settings/tabs/integration.tsx b/apps/renderer/src/modules/settings/tabs/integration.tsx similarity index 92% rename from src/renderer/src/modules/settings/tabs/integration.tsx rename to apps/renderer/src/modules/settings/tabs/integration.tsx index 97311107b..ff7a92516 100644 --- a/src/renderer/src/modules/settings/tabs/integration.tsx +++ b/apps/renderer/src/modules/settings/tabs/integration.tsx @@ -1,16 +1,14 @@ -import { createSetting } from "@renderer/atoms/settings/helper" -import { - setIntegrationSetting, - useIntegrationSettingValue, -} from "@renderer/atoms/settings/integration" -import { Divider } from "@renderer/components/ui/divider" +import { useEffect } from "react" +import { useTranslation } from "react-i18next" + +import { createSetting } from "~/atoms/settings/helper" +import { setIntegrationSetting, useIntegrationSettingValue } from "~/atoms/settings/integration" +import { Divider } from "~/components/ui/divider" import { SimpleIconsEagle, SimpleIconsInstapaper, SimpleIconsReadwise, -} from "@renderer/components/ui/platform-icon/icons" -import { useEffect } from "react" -import { useTranslation } from "react-i18next" +} from "~/components/ui/platform-icon/icons" import { useSetSettingCanSync } from "../modal/hooks" diff --git a/src/renderer/src/modules/settings/tabs/invitations.tsx b/apps/renderer/src/modules/settings/tabs/invitations.tsx similarity index 87% rename from src/renderer/src/modules/settings/tabs/invitations.tsx rename to apps/renderer/src/modules/settings/tabs/invitations.tsx index b528b1108..b853d3ac6 100644 --- a/src/renderer/src/modules/settings/tabs/invitations.tsx +++ b/apps/renderer/src/modules/settings/tabs/invitations.tsx @@ -1,10 +1,15 @@ -import { Avatar, AvatarFallback, AvatarImage } from "@renderer/components/ui/avatar" -import { Button } from "@renderer/components/ui/button" -import { CopyButton } from "@renderer/components/ui/code-highlighter" -import { Divider } from "@renderer/components/ui/divider" -import { LoadingCircle } from "@renderer/components/ui/loading" -import { useModalStack } from "@renderer/components/ui/modal" -import { ScrollArea } from "@renderer/components/ui/scroll-area" +import { useMutation } from "@tanstack/react-query" +import dayjs from "dayjs" +import { Trans, useTranslation } from "react-i18next" +import { toast } from "sonner" + +import { Avatar, AvatarFallback, AvatarImage } from "~/components/ui/avatar" +import { Button } from "~/components/ui/button" +import { CopyButton } from "~/components/ui/code-highlighter" +import { Divider } from "~/components/ui/divider" +import { LoadingCircle } from "~/components/ui/loading" +import { useModalStack } from "~/components/ui/modal" +import { ScrollArea } from "~/components/ui/scroll-area" import { Table, TableBody, @@ -12,23 +17,14 @@ import { TableHead, TableHeader, TableRow, -} from "@renderer/components/ui/table" -import { - Tooltip, - TooltipContent, - TooltipPortal, - TooltipTrigger, -} from "@renderer/components/ui/tooltip" -import { INVITATION_PRICE } from "@renderer/constants" -import { useAuthQuery } from "@renderer/hooks/common" -import { apiClient } from "@renderer/lib/api-fetch" -import { toastFetchError } from "@renderer/lib/error-parser" -import { usePresentUserProfileModal } from "@renderer/modules/profile/hooks" -import { Queries } from "@renderer/queries" -import { useMutation } from "@tanstack/react-query" -import dayjs from "dayjs" -import { Trans, useTranslation } from "react-i18next" -import { toast } from "sonner" +} from "~/components/ui/table" +import { Tooltip, TooltipContent, TooltipPortal, TooltipTrigger } from "~/components/ui/tooltip" +import { INVITATION_PRICE } from "~/constants" +import { useAuthQuery } from "~/hooks/common" +import { apiClient } from "~/lib/api-fetch" +import { toastFetchError } from "~/lib/error-parser" +import { usePresentUserProfileModal } from "~/modules/profile/hooks" +import { Queries } from "~/queries" export const SettingInvitations = () => { const { t } = useTranslation("settings") diff --git a/apps/renderer/src/modules/settings/tabs/lists.tsx b/apps/renderer/src/modules/settings/tabs/lists.tsx new file mode 100644 index 000000000..7feb44334 --- /dev/null +++ b/apps/renderer/src/modules/settings/tabs/lists.tsx @@ -0,0 +1,491 @@ +import { WEB_URL } from "@follow/shared/constants" +import { zodResolver } from "@hookform/resolvers/zod" +import { useMutation } from "@tanstack/react-query" +import { useMemo, useRef, useState } from "react" +import { useForm } from "react-hook-form" +import { useTranslation } from "react-i18next" +import { toast } from "sonner" +import { z } from "zod" + +import { FeedCertification } from "~/components/feed-certification" +import { FeedIcon } from "~/components/feed-icon" +import type { Suggestion } from "~/components/ui/auto-completion" +import { Autocomplete } from "~/components/ui/auto-completion" +import { Avatar, AvatarImage } from "~/components/ui/avatar" +import { Button } from "~/components/ui/button" +import { Divider } from "~/components/ui/divider" +import { + Form, + FormControl, + FormDescription, + FormField, + FormItem, + FormLabel, + FormMessage, +} from "~/components/ui/form" +import { Input } from "~/components/ui/input" +import { LoadingCircle } from "~/components/ui/loading" +import { useModalStack } from "~/components/ui/modal" +import { ScrollArea } from "~/components/ui/scroll-area" +import { + Table, + TableBody, + TableCell, + TableHead, + TableHeader, + TableRow, +} from "~/components/ui/table" +import { Tooltip, TooltipContent, TooltipPortal, TooltipTrigger } from "~/components/ui/tooltip" +import { views } from "~/constants" +import { useAuthQuery, useI18n } from "~/hooks/common" +import { apiClient } from "~/lib/api-fetch" +import { cn, isBizId } from "~/lib/utils" +import type { ListModel } from "~/models" +import { ViewSelectorRadioGroup } from "~/modules/shared/ViewSelectorRadioGroup" +import { Queries } from "~/queries" +import { feedActions, getFeedById, useFeedById } from "~/store/feed" +import { useSubscriptionStore } from "~/store/subscription" + +export const SettingLists = () => { + // const { t: appT } = useTranslation() + const t = useI18n() + // const { t } = useTranslation("settings") + const listList = useAuthQuery(Queries.lists.list()) + + const { present } = useModalStack() + + return ( +
    +
    +

    {t.settings("lists.info")}

    +
    + + +
    + + {listList.data?.length ? ( + + + + {t.settings("lists.title")} + + {t.settings("lists.view")} + + + {t.settings("lists.fee")} + + + + {t.common("words.actions")} + + + + + {listList.data?.map((row) => ( + + + + {row.image && ( + + + + )} + {row.title} + + + +
    + {t(views[row.view].name)} + + {views[row.view].icon} + +
    +
    + +
    + {row.fee} + +
    +
    + + + + + + + + {t.common("words.manage")} + + + + + + + + {t.common("words.edit")} + + + +
    + ))} +
    +
    + ) : listList.isLoading ? ( + + ) : ( +
    +

    {t.settings("lists.noLists")}

    +
    + )} +
    +
    +
    + ) +} + +const formSchema = z.object({ + view: z.string(), + title: z.string(), + description: z.string().optional(), + image: z.string().optional(), + fee: z.number().min(0), +}) + +const ListCreationModalContent = ({ dismiss, id }: { dismiss: () => void; id?: string }) => { + const { t } = useTranslation("settings") + + const appT = useI18n() + + const list = useFeedById(id) as ListModel + + const form = useForm>({ + resolver: zodResolver(formSchema), + defaultValues: { + view: list?.view.toString() || views[0].view.toString(), + fee: list?.fee || 0, + title: list?.title || "", + description: list?.description || "", + image: list?.image || "", + }, + }) + + const createMutation = useMutation({ + mutationFn: async (values: z.infer) => { + if (id) { + await apiClient.lists.$patch({ + json: { + listId: id, + ...values, + view: Number.parseInt(values.view), + }, + }) + } else { + await apiClient.lists.$post({ + json: { + ...values, + view: Number.parseInt(values.view), + }, + }) + } + }, + onSuccess: () => { + toast.success(t(id ? "lists.edit.success" : "lists.created.success")) + Queries.lists.list().invalidate() + dismiss() + }, + async onError() { + toast.error(t(id ? "lists.edit.error" : "lists.created.error")) + }, + }) + + function onSubmit(values: z.infer) { + createMutation.mutate(values) + } + + return ( +
    + + ( + +
    + + {t("lists.title")} + * + +
    + + + + +
    + )} + /> + ( + +
    + {t("lists.description")} +
    + + + + +
    + )} + /> + ( +
    + + {t("lists.image")} + +
    + + {field.value && ( + + + + )} +
    +
    + +
    +
    + )} + /> + ( + + {t("lists.view")} + + + + + )} + /> + ( + +
    + {t("lists.fee")} + {t("lists.fee.description")} +
    + +
    + field.onChange(value.target.valueAsNumber)} + /> + +
    +
    + +
    + )} + /> +
    + +
    + + + ) +} + +export const ListFeedsModalContent = ({ id }: { id: string }) => { + const list = useFeedById(id) as ListModel + const { t } = useTranslation("settings") + + const [feedSearchFor, setFeedSearchFor] = useState("") + const addMutation = useMutation({ + mutationFn: async (values: string) => { + const feed = await apiClient.lists.feeds.$post({ + json: { + listId: id, + feedId: values, + }, + }) + feedActions.upsertMany([feed.data]) + }, + onSuccess: () => { + toast.success(t("lists.feeds.add.success")) + Queries.lists.list().invalidate() + }, + async onError() { + toast.error(t("lists.feeds.add.error")) + }, + }) + + const removeMutation = useMutation({ + mutationFn: async (feedId: string) => { + await apiClient.lists.feeds.$delete({ + json: { + listId: id, + feedId, + }, + }) + }, + onSuccess: () => { + toast.success(t("lists.feeds.delete.success")) + Queries.lists.list().invalidate() + }, + async onError() { + toast.error(t("lists.feeds.delete.error")) + }, + }) + + const allFeeds = useSubscriptionStore((store) => { + const feedInfo = [] as { title: string; id: string }[] + + const allSubscriptions = Object.values(store.feedIdByView).flat() + + for (const feedId of allSubscriptions) { + const subscription = store.data[feedId] + const feed = getFeedById(feedId) + if (feed && feed.type === "feed") { + feedInfo.push({ title: subscription.title || feed.title || "", id: feed.id }) + } + } + return feedInfo + }) + + const autocompleteSuggestions: Suggestion[] = useMemo(() => { + return allFeeds.map((feed) => ({ + name: feed.title, + value: feed.id, + })) + }, [allFeeds]) + + const selectedFeedIdRef = useRef() + return ( + <> +
    + { + selectedFeedIdRef.current = e?.value + setFeedSearchFor(e?.name || "") + }} + onChange={(e) => { + setFeedSearchFor(e.target.value) + }} + suggestions={autocompleteSuggestions} + /> + +
    + + + + + + {/* + {t("lists.feeds.id")} + */} + + {t("lists.feeds.title")} + + + {t("lists.feeds.owner")} + + + {t("lists.feeds.actions")} + + + + + {list.feeds?.map((row) => ( + + {/* + {row.id} + */} + + + {row.siteUrl && } + {row.title} + + + +
    + +
    +
    + + + +
    + ))} +
    +
    +
    + + ) +} diff --git a/src/renderer/src/modules/settings/tabs/wallet/index.tsx b/apps/renderer/src/modules/settings/tabs/wallet/index.tsx similarity index 100% rename from src/renderer/src/modules/settings/tabs/wallet/index.tsx rename to apps/renderer/src/modules/settings/tabs/wallet/index.tsx diff --git a/src/renderer/src/modules/settings/tabs/wallet/my-wallet-section/claim-daily-reward.tsx b/apps/renderer/src/modules/settings/tabs/wallet/my-wallet-section/claim-daily-reward.tsx similarity index 83% rename from src/renderer/src/modules/settings/tabs/wallet/my-wallet-section/claim-daily-reward.tsx rename to apps/renderer/src/modules/settings/tabs/wallet/my-wallet-section/claim-daily-reward.tsx index 50ce9e871..5572acf41 100644 --- a/src/renderer/src/modules/settings/tabs/wallet/my-wallet-section/claim-daily-reward.tsx +++ b/apps/renderer/src/modules/settings/tabs/wallet/my-wallet-section/claim-daily-reward.tsx @@ -1,10 +1,11 @@ import { TooltipTrigger } from "@radix-ui/react-tooltip" -import { Button } from "@renderer/components/ui/button" -import { Tooltip, TooltipContent } from "@renderer/components/ui/tooltip" -import { DAILY_CLAIM_AMOUNT } from "@renderer/constants" -import { useClaimCheck, useClaimWalletDailyRewardMutation } from "@renderer/queries/wallet" import { Trans, useTranslation } from "react-i18next" +import { Button } from "~/components/ui/button" +import { Tooltip, TooltipContent } from "~/components/ui/tooltip" +import { DAILY_CLAIM_AMOUNT } from "~/constants" +import { useClaimCheck, useClaimWalletDailyRewardMutation } from "~/queries/wallet" + export const ClaimDailyReward = () => { const mutation = useClaimWalletDailyRewardMutation() const { t } = useTranslation("settings") diff --git a/src/renderer/src/modules/settings/tabs/wallet/my-wallet-section/create-wallet.tsx b/apps/renderer/src/modules/settings/tabs/wallet/my-wallet-section/create-wallet.tsx similarity index 83% rename from src/renderer/src/modules/settings/tabs/wallet/my-wallet-section/create-wallet.tsx rename to apps/renderer/src/modules/settings/tabs/wallet/my-wallet-section/create-wallet.tsx index a2afaf7d4..625b76082 100644 --- a/src/renderer/src/modules/settings/tabs/wallet/my-wallet-section/create-wallet.tsx +++ b/apps/renderer/src/modules/settings/tabs/wallet/my-wallet-section/create-wallet.tsx @@ -1,7 +1,8 @@ -import { Button } from "@renderer/components/ui/button" -import { useCreateWalletMutation } from "@renderer/queries/wallet" import { Trans, useTranslation } from "react-i18next" +import { Button } from "~/components/ui/button" +import { useCreateWalletMutation } from "~/queries/wallet" + export const CreateWallet = () => { const mutation = useCreateWalletMutation() const { t } = useTranslation("settings") @@ -16,7 +17,7 @@ export const CreateWallet = () => { PowerIcon: , strong: , }} - /> + />

    @@ -116,7 +112,9 @@ export const MyWalletSection = () => { {t("wallet.balance.withdrawable")} - {myWallet.cashablePowerToken} + + {myWallet.cashablePowerToken} +
    diff --git a/src/renderer/src/modules/settings/tabs/wallet/my-wallet-section/withdraw.tsx b/apps/renderer/src/modules/settings/tabs/wallet/my-wallet-section/withdraw.tsx similarity index 88% rename from src/renderer/src/modules/settings/tabs/wallet/my-wallet-section/withdraw.tsx rename to apps/renderer/src/modules/settings/tabs/wallet/my-wallet-section/withdraw.tsx index 3cb255d1d..ba10bc143 100644 --- a/src/renderer/src/modules/settings/tabs/wallet/my-wallet-section/withdraw.tsx +++ b/apps/renderer/src/modules/settings/tabs/wallet/my-wallet-section/withdraw.tsx @@ -1,20 +1,4 @@ import { zodResolver } from "@hookform/resolvers/zod" -import { useWhoami } from "@renderer/atoms/user" -import { Button } from "@renderer/components/ui/button" -import { - Form, - FormControl, - FormField, - FormItem, - FormLabel, - FormMessage, -} from "@renderer/components/ui/form" -import { Input } from "@renderer/components/ui/input" -import { useModalStack } from "@renderer/components/ui/modal" -import { apiClient } from "@renderer/lib/api-fetch" -import { cn } from "@renderer/lib/utils" -import { Balance } from "@renderer/modules/wallet/balance" -import { useWallet, wallet as walletActions } from "@renderer/queries/wallet" import { useMutation } from "@tanstack/react-query" import { from, toNumber } from "dnum" import { useEffect } from "react" @@ -23,6 +7,23 @@ import { Trans, useTranslation } from "react-i18next" import { toast } from "sonner" import { z } from "zod" +import { useWhoami } from "~/atoms/user" +import { Button } from "~/components/ui/button" +import { + Form, + FormControl, + FormField, + FormItem, + FormLabel, + FormMessage, +} from "~/components/ui/form" +import { Input } from "~/components/ui/input" +import { useModalStack } from "~/components/ui/modal" +import { apiClient } from "~/lib/api-fetch" +import { cn } from "~/lib/utils" +import { Balance } from "~/modules/wallet/balance" +import { useWallet, wallet as walletActions } from "~/queries/wallet" + export const WithdrawButton = () => { const { t } = useTranslation("settings") const { present } = useModalStack() @@ -128,7 +129,6 @@ const WithdrawModalContent = ({ dismiss }: { dismiss: () => void }) => { {t("wallet.withdraw.amountLabel")} field.onChange(value.target.valueAsNumber)} diff --git a/src/renderer/src/modules/settings/tabs/wallet/transaction-section/index.tsx b/apps/renderer/src/modules/settings/tabs/wallet/transaction-section/index.tsx similarity index 79% rename from src/renderer/src/modules/settings/tabs/wallet/transaction-section/index.tsx rename to apps/renderer/src/modules/settings/tabs/wallet/transaction-section/index.tsx index b8e16ef62..42f0fd9d8 100644 --- a/src/renderer/src/modules/settings/tabs/wallet/transaction-section/index.tsx +++ b/apps/renderer/src/modules/settings/tabs/wallet/transaction-section/index.tsx @@ -1,10 +1,12 @@ -import { useWhoami } from "@renderer/atoms/user" -import { Logo } from "@renderer/components/icons/logo" -import { Avatar, AvatarFallback, AvatarImage } from "@renderer/components/ui/avatar" -import { MotionButtonBase } from "@renderer/components/ui/button" -import { RelativeTime } from "@renderer/components/ui/datetime" -import { LoadingCircle } from "@renderer/components/ui/loading" -import { ScrollArea } from "@renderer/components/ui/scroll-area" +import { useTranslation } from "react-i18next" + +import { useWhoami } from "~/atoms/user" +import { Logo } from "~/components/icons/logo" +import { Avatar, AvatarFallback, AvatarImage } from "~/components/ui/avatar" +import { MotionButtonBase } from "~/components/ui/button" +import { RelativeTime } from "~/components/ui/datetime" +import { LoadingCircle } from "~/components/ui/loading" +import { ScrollArea } from "~/components/ui/scroll-area" import { Table, TableBody, @@ -12,19 +14,13 @@ import { TableHead, TableHeader, TableRow, -} from "@renderer/components/ui/table" -import { - Tooltip, - TooltipContent, - TooltipPortal, - TooltipTrigger, -} from "@renderer/components/ui/tooltip" -import { cn } from "@renderer/lib/utils" -import { usePresentUserProfileModal } from "@renderer/modules/profile/hooks" -import { SettingSectionTitle } from "@renderer/modules/settings/section" -import { Balance } from "@renderer/modules/wallet/balance" -import { useWallet, useWalletTransactions } from "@renderer/queries/wallet" -import { useTranslation } from "react-i18next" +} from "~/components/ui/table" +import { Tooltip, TooltipContent, TooltipPortal, TooltipTrigger } from "~/components/ui/tooltip" +import { cn } from "~/lib/utils" +import { usePresentUserProfileModal } from "~/modules/profile/hooks" +import { SettingSectionTitle } from "~/modules/settings/section" +import { Balance } from "~/modules/wallet/balance" +import { useWallet, useWalletTransactions } from "~/queries/wallet" export const TransactionsSection = () => { const { t } = useTranslation("settings") @@ -52,22 +48,22 @@ export const TransactionsSection = () => { - + {t("wallet.transactions.type")} - + {t("wallet.transactions.amount")} - + {t("wallet.transactions.from")} - + {t("wallet.transactions.to")} - + {t("wallet.transactions.date")} - + {t("wallet.transactions.tx")} @@ -178,7 +174,7 @@ const UserRenderer = ({ onClick={() => { if (user?.id) presentUserModal(user.id) }} - className={cn("flex items-center", user?.id ? "cursor-pointer" : "cursor-default")} + className="flex cursor-button items-center" > {name === APP_NAME ? ( diff --git a/src/renderer/src/modules/settings/title.tsx b/apps/renderer/src/modules/settings/title.tsx similarity index 73% rename from src/renderer/src/modules/settings/title.tsx rename to apps/renderer/src/modules/settings/title.tsx index 7c6269583..405d2942e 100644 --- a/src/renderer/src/modules/settings/title.tsx +++ b/apps/renderer/src/modules/settings/title.tsx @@ -1,7 +1,9 @@ -import { cn } from "@renderer/lib/utils" import { useTranslation } from "react-i18next" import { useLoaderData } from "react-router-dom" +import { EllipsisHorizontalTextWithTooltip } from "~/components/ui/typography" +import { cn } from "~/lib/utils" + import { settings } from "./constants" import type { SettingPageConfig } from "./utils" @@ -14,9 +16,9 @@ export const SettingsSidebarTitle = ({ path, className }: { path: string; classN } return ( -
    - - {t(tab.name as any)} +
    + + {t(tab.name as any)}
    ) } diff --git a/src/renderer/src/modules/settings/utils.ts b/apps/renderer/src/modules/settings/utils.ts similarity index 100% rename from src/renderer/src/modules/settings/utils.ts rename to apps/renderer/src/modules/settings/utils.ts diff --git a/apps/renderer/src/modules/shared/ViewSelectorRadioGroup.tsx b/apps/renderer/src/modules/shared/ViewSelectorRadioGroup.tsx new file mode 100644 index 000000000..b53008c38 --- /dev/null +++ b/apps/renderer/src/modules/shared/ViewSelectorRadioGroup.tsx @@ -0,0 +1,46 @@ +import { forwardRef } from "react" + +import { Card, CardHeader } from "~/components/ui/card" +import { views } from "~/constants" +import { useI18n } from "~/hooks/common" +import { cn } from "~/lib/utils" + +export const ViewSelectorRadioGroup = forwardRef< + HTMLInputElement, + React.InputHTMLAttributes +>(({ className, ...rest }, ref) => { + const t = useI18n() + + return ( + + + {views.map((view) => ( +
    + + +
    + ))} +
    +
    + ) +}) diff --git a/src/renderer/src/modules/wallet/balance.tsx b/apps/renderer/src/modules/wallet/balance.tsx similarity index 96% rename from src/renderer/src/modules/wallet/balance.tsx rename to apps/renderer/src/modules/wallet/balance.tsx index e08c1ef54..f8fa8b2a4 100644 --- a/src/renderer/src/modules/wallet/balance.tsx +++ b/apps/renderer/src/modules/wallet/balance.tsx @@ -1,6 +1,7 @@ -import { cn } from "@renderer/lib/utils" import { format } from "dnum" +import { cn } from "~/lib/utils" + import { Tooltip, TooltipContent, TooltipTrigger } from "../../components/ui/tooltip" export const Balance = ({ diff --git a/src/renderer/src/modules/wallet/hooks.ts b/apps/renderer/src/modules/wallet/hooks.ts similarity index 90% rename from src/renderer/src/modules/wallet/hooks.ts rename to apps/renderer/src/modules/wallet/hooks.ts index 1e6f4080c..1fb5edd42 100644 --- a/src/renderer/src/modules/wallet/hooks.ts +++ b/apps/renderer/src/modules/wallet/hooks.ts @@ -1,7 +1,8 @@ -import { useModalStack } from "@renderer/components/ui/modal/stacked/hooks" import { createElement, useCallback } from "react" import { toast } from "sonner" +import { useModalStack } from "~/components/ui/modal/stacked/hooks" + import { TipModalContent } from "./tip-modal" export const useTipModal = ({ diff --git a/src/renderer/src/modules/wallet/tip-modal.tsx b/apps/renderer/src/modules/wallet/tip-modal.tsx similarity index 88% rename from src/renderer/src/modules/wallet/tip-modal.tsx rename to apps/renderer/src/modules/wallet/tip-modal.tsx index e23d0a99c..485d6d16c 100644 --- a/src/renderer/src/modules/wallet/tip-modal.tsx +++ b/apps/renderer/src/modules/wallet/tip-modal.tsx @@ -1,18 +1,19 @@ -import { useWhoami } from "@renderer/atoms/user" -import { Button } from "@renderer/components/ui/button" -import { Divider } from "@renderer/components/ui/divider" -import { LoadingWithIcon } from "@renderer/components/ui/loading" -import { useCurrentModal } from "@renderer/components/ui/modal" -import { RadioGroup } from "@renderer/components/ui/radio-group" -import { RadioCard } from "@renderer/components/ui/radio-group/RadioCard" -import { UserAvatar } from "@renderer/components/user-button" -import { useI18n } from "@renderer/hooks/common" -import { nextFrame } from "@renderer/lib/dom" -import { useWallet, useWalletTipMutation } from "@renderer/queries/wallet" import { from } from "dnum" import type { FC } from "react" import { useState } from "react" +import { useWhoami } from "~/atoms/user" +import { Button } from "~/components/ui/button" +import { Divider } from "~/components/ui/divider" +import { LoadingWithIcon } from "~/components/ui/loading" +import { useCurrentModal } from "~/components/ui/modal" +import { RadioGroup } from "~/components/ui/radio-group" +import { RadioCard } from "~/components/ui/radio-group/RadioCard" +import { UserAvatar } from "~/components/user-button" +import { useI18n } from "~/hooks/common" +import { nextFrame } from "~/lib/dom" +import { useWallet, useWalletTipMutation } from "~/queries/wallet" + import { useFeedClaimModal } from "../claim" import { useSettingModal } from "../settings/modal/hooks-hack" import { Balance } from "./balance" @@ -117,7 +118,7 @@ const TipModalContent_: FC<{ ) : ( diff --git a/src/renderer/src/pages/(external)/(with-layout)/feed/[id]/index.tsx b/apps/renderer/src/pages/(external)/(with-layout)/feed/[id]/index.tsx similarity index 70% rename from src/renderer/src/pages/(external)/(with-layout)/feed/[id]/index.tsx rename to apps/renderer/src/pages/(external)/(with-layout)/feed/[id]/index.tsx index c44c83ad4..5dee62824 100644 --- a/src/renderer/src/pages/(external)/(with-layout)/feed/[id]/index.tsx +++ b/apps/renderer/src/pages/(external)/(with-layout)/feed/[id]/index.tsx @@ -1,26 +1,29 @@ -import { FeedIcon } from "@renderer/components/feed-icon" -import { FollowIcon } from "@renderer/components/icons/follow" -import { Button } from "@renderer/components/ui/button" -import { ListItemHoverOverlay } from "@renderer/components/ui/list-item-hover-overlay" -import { LoadingCircle } from "@renderer/components/ui/loading" -import { views } from "@renderer/constants" -import { usePresentFeedFormModal } from "@renderer/hooks/biz/useFeedFormModal" -import { useTitle } from "@renderer/hooks/common" -import { FeedViewType } from "@renderer/lib/enum" -import { cn } from "@renderer/lib/utils" -import { ArticleItem } from "@renderer/modules/entry-column/Items/article-item" -import { NotificationItem } from "@renderer/modules/entry-column/Items/notification-item" -import { PictureItem } from "@renderer/modules/entry-column/Items/picture-item" -import { SocialMediaItem } from "@renderer/modules/entry-column/Items/social-media-item" -import { VideoItem } from "@renderer/modules/entry-column/Items/video-item" -import type { UniversalItemProps } from "@renderer/modules/entry-column/types" -import { useEntriesPreview } from "@renderer/queries/entries" -import { useFeed } from "@renderer/queries/feed" import type { FC } from "react" import { useTranslation } from "react-i18next" import { useParams, useSearchParams } from "react-router-dom" import { toast } from "sonner" +import { PoweredByFooter } from "~/components/common/PoweredByFooter" +import { FeedIcon } from "~/components/feed-icon" +import { FollowIcon } from "~/components/icons/follow" +import { Button } from "~/components/ui/button" +import { ListItemHoverOverlay } from "~/components/ui/list-item-hover-overlay" +import { LoadingCircle } from "~/components/ui/loading" +import { views } from "~/constants" +import { usePresentFeedFormModal } from "~/hooks/biz/useFeedFormModal" +import { useTitle } from "~/hooks/common" +import { FeedViewType } from "~/lib/enum" +import { cn } from "~/lib/utils" +import type { FeedModel } from "~/models" +import { ArticleItem } from "~/modules/entry-column/Items/article-item" +import { NotificationItem } from "~/modules/entry-column/Items/notification-item" +import { PictureItem } from "~/modules/entry-column/Items/picture-item" +import { SocialMediaItem } from "~/modules/entry-column/Items/social-media-item" +import { VideoItem } from "~/modules/entry-column/Items/video-item" +import type { UniversalItemProps } from "~/modules/entry-column/types" +import { useEntriesPreview } from "~/queries/entries" +import { useFeed } from "~/queries/feed" + export function Component() { const { id } = useParams() const [search] = useSearchParams() @@ -29,6 +32,7 @@ export function Component() { const feed = useFeed({ id, }) + const feedData = feed.data?.feed as FeedModel const entries = useEntriesPreview({ id, }) @@ -65,7 +69,7 @@ export function Component() { return ( <> {feed.isLoading ? ( - + ) : ( feed.data?.feed && (
    @@ -91,11 +95,11 @@ export function Component() { })}
    - {feed.data.feed.url.startsWith("https://") ? ( + {feedData.url.startsWith("https://") ? (
    + ) )} diff --git a/src/renderer/src/pages/(external)/(with-layout)/layout.tsx b/apps/renderer/src/pages/(external)/(with-layout)/layout.tsx similarity index 59% rename from src/renderer/src/pages/(external)/(with-layout)/layout.tsx rename to apps/renderer/src/pages/(external)/(with-layout)/layout.tsx index fdade87ca..6256712b7 100644 --- a/src/renderer/src/pages/(external)/(with-layout)/layout.tsx +++ b/apps/renderer/src/pages/(external)/(with-layout)/layout.tsx @@ -1,11 +1,12 @@ -import { Header } from "@renderer/components/header" import { Outlet } from "react-router-dom" +import { Header } from "~/components/header" + export function Component() { return ( <>
    -
    +
    diff --git a/apps/renderer/src/pages/(external)/(with-layout)/list/[id]/index.tsx b/apps/renderer/src/pages/(external)/(with-layout)/list/[id]/index.tsx new file mode 100644 index 000000000..d8121d3be --- /dev/null +++ b/apps/renderer/src/pages/(external)/(with-layout)/list/[id]/index.tsx @@ -0,0 +1,70 @@ +import { useTranslation } from "react-i18next" +import { useParams } from "react-router-dom" + +import { PoweredByFooter } from "~/components/common/PoweredByFooter" +import { FeedIcon } from "~/components/feed-icon" +import { FollowIcon } from "~/components/icons/follow" +import { Button } from "~/components/ui/button" +import { LoadingCircle } from "~/components/ui/loading" +import { usePresentFeedFormModal } from "~/hooks/biz/useFeedFormModal" +import { useTitle } from "~/hooks/common" +import type { ListModel } from "~/models" +import { useFeed } from "~/queries/feed" + +export function Component() { + const { id } = useParams() + + const feed = useFeed({ + id, + isList: true, + }) + const listData = feed.data?.feed as ListModel + + const { t } = useTranslation("external") + useTitle(feed.data?.feed.title) + const presentFeedFormModal = usePresentFeedFormModal() + return ( +
    + {feed.isLoading ? ( + + ) : ( + feed.data?.feed && ( +
    + +
    +
    +

    {feed.data.feed.title}

    +
    +
    {feed.data.feed.description}
    +
    +
    + {t("feed.followsAndFeeds", { + subscriptionCount: feed.data.subscriptionCount, + subscriptionNoun: t("feed.follower", { count: feed.data.subscriptionCount }), + feedsCount: listData?.feeds?.length, + feedsNoun: t("feed.feeds", { count: listData?.feeds?.length }), + appName: APP_NAME, + })} +
    + + + + +
    + ) + )} +
    + ) +} diff --git a/apps/renderer/src/pages/(external)/(with-layout)/profile/[id]/index.tsx b/apps/renderer/src/pages/(external)/(with-layout)/profile/[id]/index.tsx new file mode 100644 index 000000000..9a65cd621 --- /dev/null +++ b/apps/renderer/src/pages/(external)/(with-layout)/profile/[id]/index.tsx @@ -0,0 +1,135 @@ +import { Fragment } from "react/jsx-runtime" +import { useParams } from "react-router-dom" + +import { useWhoami } from "~/atoms/user" +import { PoweredByFooter } from "~/components/common/PoweredByFooter" +import { FeedIcon } from "~/components/feed-icon" +import { FollowIcon } from "~/components/icons/follow" +import { Avatar, AvatarFallback, AvatarImage } from "~/components/ui/avatar" +import { Button } from "~/components/ui/button" +import { LoadingCircle } from "~/components/ui/loading" +import { usePresentFeedFormModal } from "~/hooks/biz/useFeedFormModal" +import { useAuthQuery, useI18n, useTitle } from "~/hooks/common" +import { apiClient } from "~/lib/api-fetch" +import { defineQuery } from "~/lib/defineQuery" +import { cn } from "~/lib/utils" +import { useUserSubscriptionsQuery } from "~/modules/profile/hooks" + +export function Component() { + const t = useI18n() + const { id } = useParams() + + const isHandle = id?.startsWith("@") + const user = useAuthQuery( + defineQuery(["profiles", id], async () => { + const res = await apiClient.profiles.$get({ + query: { + handle: isHandle ? id?.slice(1) : undefined, + id: isHandle ? undefined : id, + }, + }) + return res.data + }), + { + enabled: !!id, + }, + ) + + const subscriptions = useUserSubscriptionsQuery(user.data?.id) + useTitle(user.data?.name) + const me = useWhoami() + const isMe = user.data?.id === me?.id + const presentFeedFormModal = usePresentFeedFormModal() + + return ( +
    + {user.isLoading ? ( + + ) : ( + + + + {user.data?.name?.slice(0, 2)} + +
    +
    +

    {user.data?.name}

    +
    +
    {user.data?.handle}
    +
    +
    + {subscriptions.isLoading ? ( + + ) : ( + Object.keys(subscriptions.data || {}).map((category) => ( +
    +
    +

    {category}

    +
    +
    + {subscriptions.data?.[category].map( + (subscription) => + "feeds" in subscription && ( +
    + + +
    +
    + {subscription.feeds?.title} +
    + {subscription.feeds?.description && ( +
    + {subscription.feeds.description} +
    + )} +
    +
    + + + +
    + ), + )} +
    +
    + )) + )} +
    + +
    + )} +
    + ) +} diff --git a/src/renderer/src/pages/(external)/debug.tsx b/apps/renderer/src/pages/(external)/debug.tsx similarity index 100% rename from src/renderer/src/pages/(external)/debug.tsx rename to apps/renderer/src/pages/(external)/debug.tsx diff --git a/src/renderer/src/pages/(external)/invitation.tsx b/apps/renderer/src/pages/(external)/invitation.tsx similarity index 58% rename from src/renderer/src/pages/(external)/invitation.tsx rename to apps/renderer/src/pages/(external)/invitation.tsx index 55ff9f0cd..2b7cffae5 100644 --- a/src/renderer/src/pages/(external)/invitation.tsx +++ b/apps/renderer/src/pages/(external)/invitation.tsx @@ -1,7 +1,17 @@ import { zodResolver } from "@hookform/resolvers/zod" -import { Logo } from "@renderer/components/icons/logo" -import { Button } from "@renderer/components/ui/button" -import { styledButtonVariant } from "@renderer/components/ui/button/variants" +import type { DotLottie } from "@lottiefiles/dotlottie-react" +import { DotLottieReact } from "@lottiefiles/dotlottie-react" +import { m } from "framer-motion" +import type { RefCallback } from "react" +import { useEffect, useState } from "react" +import { useForm } from "react-hook-form" +import { useTranslation } from "react-i18next" +import { useNavigate } from "react-router-dom" +import { z } from "zod" + +import { Logo } from "~/components/icons/logo" +import { Button } from "~/components/ui/button" +import { styledButtonVariant } from "~/components/ui/button/variants" import { Form, FormControl, @@ -9,16 +19,14 @@ import { FormItem, FormLabel, FormMessage, -} from "@renderer/components/ui/form" -import { Input } from "@renderer/components/ui/input" -import { SocialMediaLinks } from "@renderer/constants/social" -import { getFetchErrorMessage } from "@renderer/lib/error-parser" -import { useInvitationMutation } from "@renderer/queries/invitations" -import { useEffect } from "react" -import { useForm } from "react-hook-form" -import { useTranslation } from "react-i18next" -import { useNavigate } from "react-router-dom" -import { z } from "zod" +} from "~/components/ui/form" +import { Input } from "~/components/ui/input" +import { SocialMediaLinks } from "~/constants/social" +import { getFetchErrorMessage } from "~/lib/error-parser" +import confettiUrl from "~/lottie/confetti.lottie?url" +import { useInvitationMutation } from "~/queries/invitations" + +const absoluteConfettiUrl = new URL(confettiUrl, import.meta.url).href const formSchema = z.object({ code: z.string().min(1), @@ -41,15 +49,39 @@ export function Component() { invitationMutation.mutate(values.code) } + const [showConfetti, setShowConfetti] = useState(false) + useEffect(() => { if (invitationMutation.isSuccess) { + setShowConfetti(true) + } + }, [invitationMutation.isSuccess]) + const [dotLottie, setDotLottie] = useState(null) + + useEffect(() => { + function onComplete() { navigate("/") } - }, [invitationMutation.isSuccess, navigate]) + + if (dotLottie) { + dotLottie.addEventListener("complete", onComplete) + } + + return () => { + if (dotLottie) { + dotLottie.removeEventListener("complete", onComplete) + } + } + }, [dotLottie, navigate]) + + const dotLottieRefCallback: RefCallback = (dotLottie) => { + setDotLottie(dotLottie) + } return (
    +
    )} /> -
    +
    + {showConfetti && ( + + )}
    diff --git a/src/renderer/src/pages/(external)/layout.tsx b/apps/renderer/src/pages/(external)/layout.tsx similarity index 58% rename from src/renderer/src/pages/(external)/layout.tsx rename to apps/renderer/src/pages/(external)/layout.tsx index 8ee4df231..79a2160fc 100644 --- a/src/renderer/src/pages/(external)/layout.tsx +++ b/apps/renderer/src/pages/(external)/layout.tsx @@ -1,7 +1,8 @@ -import { EnvironmentIndicator } from "@renderer/modules/app/EnvironmentIndicator" -import { UserProvider } from "@renderer/providers/user-provider" import { Outlet } from "react-router-dom" +import { EnvironmentIndicator } from "~/modules/app/EnvironmentIndicator" +import { UserProvider } from "~/providers/user-provider" + export function Component() { return ( <> diff --git a/src/renderer/src/pages/(external)/login.tsx b/apps/renderer/src/pages/(external)/login.tsx similarity index 91% rename from src/renderer/src/pages/(external)/login.tsx rename to apps/renderer/src/pages/(external)/login.tsx index b1c4a4967..dd0c98494 100644 --- a/src/renderer/src/pages/(external)/login.tsx +++ b/apps/renderer/src/pages/(external)/login.tsx @@ -1,13 +1,14 @@ import { SessionProvider, signIn, useSession } from "@hono/auth-js/react" -import { Logo } from "@renderer/components/icons/logo" -import { Button } from "@renderer/components/ui/button" -import { UserAvatar } from "@renderer/components/user-button" -import { useSignOut } from "@renderer/hooks/biz/useSignOut" -import { LOGIN_CALLBACK_URL, loginHandler } from "@renderer/lib/auth" import { useEffect, useState } from "react" import { useTranslation } from "react-i18next" import { useLocation, useNavigate } from "react-router-dom" +import { Logo } from "~/components/icons/logo" +import { Button } from "~/components/ui/button" +import { UserAvatar } from "~/components/user-button" +import { useSignOut } from "~/hooks/biz/useSignOut" +import { LOGIN_CALLBACK_URL, loginHandler } from "~/lib/auth" + export function Component() { return ( diff --git a/src/renderer/src/pages/(external)/redirect.tsx b/apps/renderer/src/pages/(external)/redirect.tsx similarity index 83% rename from src/renderer/src/pages/(external)/redirect.tsx rename to apps/renderer/src/pages/(external)/redirect.tsx index 3808d718e..7338cc140 100644 --- a/src/renderer/src/pages/(external)/redirect.tsx +++ b/apps/renderer/src/pages/(external)/redirect.tsx @@ -1,12 +1,13 @@ -import { PoweredByFooter } from "@renderer/components/common/PoweredByFooter" -import { Button } from "@renderer/components/ui/button" -import { UserAvatar } from "@renderer/components/user-button" -import { apiClient } from "@renderer/lib/api-fetch" -import { DEEPLINK_SCHEME } from "@shared/constants" +import { DEEPLINK_SCHEME } from "@follow/shared/constants" import { useEffect, useRef } from "react" import { useTranslation } from "react-i18next" import { useNavigate } from "react-router-dom" +import { PoweredByFooter } from "~/components/common/PoweredByFooter" +import { Button } from "~/components/ui/button" +import { UserAvatar } from "~/components/user-button" +import { apiClient } from "~/lib/api-fetch" + export function Component() { const navigate = useNavigate() const { t } = useTranslation("external") diff --git a/src/renderer/src/pages/(main)/(layer)/(subview)/discover/index.tsx b/apps/renderer/src/pages/(main)/(layer)/(subview)/discover/index.tsx similarity index 72% rename from src/renderer/src/pages/(main)/(layer)/(subview)/discover/index.tsx rename to apps/renderer/src/pages/(main)/(layer)/(subview)/discover/index.tsx index d1fa1fa92..891e7c37d 100644 --- a/src/renderer/src/pages/(main)/(layer)/(subview)/discover/index.tsx +++ b/apps/renderer/src/pages/(main)/(layer)/(subview)/discover/index.tsx @@ -1,13 +1,14 @@ -import { Tabs, TabsContent, TabsList, TabsTrigger } from "@renderer/components/ui/tabs" -import { DiscoverForm } from "@renderer/modules/discover/form" -import { DiscoverImport } from "@renderer/modules/discover/import" -import { Recommendations } from "@renderer/modules/discover/recommendations" -import { DiscoverRSS3 } from "@renderer/modules/discover/rss3-form" -import { DiscoverUser } from "@renderer/modules/discover/user-form" import { createElement } from "react" import { useTranslation } from "react-i18next" import { useSearchParams } from "react-router-dom" +import { Tabs, TabsContent, TabsList, TabsTrigger } from "~/components/ui/tabs" +import { DiscoverForm } from "~/modules/discover/form" +import { DiscoverImport } from "~/modules/discover/import" +import { Recommendations } from "~/modules/discover/recommendations" +import { DiscoverRSS3 } from "~/modules/discover/rss3-form" +import { DiscoverUser } from "~/modules/discover/user-form" + import { useSubViewTitle } from "../hooks" const tabs: { @@ -72,11 +73,9 @@ export function Component() { {tabs.map((tab) => ( - {TabComponent[tab.value] ? ( - createElement(TabComponent[tab.value]) - ) : ( - - )} + {createElement(TabComponent[tab.value] || TabComponent.default, { + type: tab.value, + })} ))} @@ -85,8 +84,9 @@ export function Component() { ) } -const TabComponent = { +const TabComponent: Record> = { import: DiscoverImport, rss3: DiscoverRSS3, user: DiscoverUser, + default: DiscoverForm, } diff --git a/src/renderer/src/pages/(main)/(layer)/(subview)/hooks.ts b/apps/renderer/src/pages/(main)/(layer)/(subview)/hooks.ts similarity index 53% rename from src/renderer/src/pages/(main)/(layer)/(subview)/hooks.ts rename to apps/renderer/src/pages/(main)/(layer)/(subview)/hooks.ts index 6723d915b..53a8b6fdb 100644 --- a/src/renderer/src/pages/(main)/(layer)/(subview)/hooks.ts +++ b/apps/renderer/src/pages/(main)/(layer)/(subview)/hooks.ts @@ -1,11 +1,13 @@ -import { useTitle } from "@renderer/hooks/common" import { atom, useAtomValue } from "jotai" import { useHydrateAtoms } from "jotai/utils" -const titleAtom = atom(null) +import { useI18n, useTitle } from "~/hooks/common" + +const titleAtom = atom(null) export const useSubViewTitle = (title: I18nKeys) => { - useTitle(title) - useHydrateAtoms([[titleAtom, title]]) + const t = useI18n() + useTitle(t(title)) + useHydrateAtoms([[titleAtom, t(title)]]) } export const useSubViewTitleValue = () => useAtomValue(titleAtom) diff --git a/src/renderer/src/pages/(main)/(layer)/(subview)/layout.tsx b/apps/renderer/src/pages/(main)/(layer)/(subview)/layout.tsx similarity index 82% rename from src/renderer/src/pages/(main)/(layer)/(subview)/layout.tsx rename to apps/renderer/src/pages/(main)/(layer)/(subview)/layout.tsx index 2da06acc1..c523d1782 100644 --- a/src/renderer/src/pages/(main)/(layer)/(subview)/layout.tsx +++ b/apps/renderer/src/pages/(main)/(layer)/(subview)/layout.tsx @@ -1,14 +1,15 @@ -import { getReadonlyRoute } from "@renderer/atoms/route" -import { getSidebarActiveView, setSidebarActiveView } from "@renderer/atoms/sidebar" -import { MotionButtonBase } from "@renderer/components/ui/button" -import { FABContainer, FABPortable } from "@renderer/components/ui/fab" -import { ScrollArea } from "@renderer/components/ui/scroll-area" -import { springScrollTo } from "@renderer/lib/scroller" -import { cn } from "@renderer/lib/utils" import { useEffect, useRef, useState } from "react" import { useTranslation } from "react-i18next" import { Outlet, useNavigate } from "react-router-dom" +import { getReadonlyRoute } from "~/atoms/route" +import { getSidebarActiveView, setSidebarActiveView } from "~/atoms/sidebar" +import { MotionButtonBase } from "~/components/ui/button" +import { FABContainer, FABPortable } from "~/components/ui/fab" +import { ScrollArea } from "~/components/ui/scroll-area" +import { springScrollTo } from "~/lib/scroller" +import { cn } from "~/lib/utils" + import { useSubViewTitleValue } from "./hooks" export function Component() { @@ -56,9 +57,7 @@ export function Component() { {t("words.back", { ns: "common" })}
    -
    - {title && t(title)} -
    +
    {title}
    diff --git a/apps/renderer/src/pages/(main)/(layer)/feeds/[feedId]/[entryId]/index.tsx b/apps/renderer/src/pages/(main)/(layer)/feeds/[feedId]/[entryId]/index.tsx new file mode 100644 index 000000000..e598bc25e --- /dev/null +++ b/apps/renderer/src/pages/(main)/(layer)/feeds/[feedId]/[entryId]/index.tsx @@ -0,0 +1,24 @@ +import { AnimatePresence } from "framer-motion" +import { useParams } from "react-router-dom" + +import { ROUTE_ENTRY_PENDING, views } from "~/constants" +import { useRouteView } from "~/hooks/biz/useRouteParams" +import { EntryContent } from "~/modules/entry-content" +import { AppLayoutGridContainerProvider } from "~/providers/app-grid-layout-container-provider" + +export const Component = () => { + const { entryId } = useParams() + const view = useRouteView() + const inWideMode = view ? views[view].wideMode : false + return ( + + + {!inWideMode && ( +
    + +
    + )} +
    +
    + ) +} diff --git a/src/renderer/src/pages/(main)/(layer)/feeds/[feedId]/index.tsx b/apps/renderer/src/pages/(main)/(layer)/feeds/[feedId]/index.tsx similarity index 80% rename from src/renderer/src/pages/(main)/(layer)/feeds/[feedId]/index.tsx rename to apps/renderer/src/pages/(main)/(layer)/feeds/[feedId]/index.tsx index 9ba547a1b..12ec848e9 100644 --- a/src/renderer/src/pages/(main)/(layer)/feeds/[feedId]/index.tsx +++ b/apps/renderer/src/pages/(main)/(layer)/feeds/[feedId]/index.tsx @@ -1,6 +1,7 @@ -import { ROUTE_ENTRY_PENDING } from "@renderer/constants" import { redirect } from "react-router-dom" +import { ROUTE_ENTRY_PENDING } from "~/constants" + export const loader = ({ request }: { request: Request; params: { feedId: string } }) => { const url = new URL(request.url) return redirect(`${url.pathname}/${ROUTE_ENTRY_PENDING}`) diff --git a/src/renderer/src/pages/(main)/(layer)/feeds/[feedId]/layout.tsx b/apps/renderer/src/pages/(main)/(layer)/feeds/[feedId]/layout.tsx similarity index 62% rename from src/renderer/src/pages/(main)/(layer)/feeds/[feedId]/layout.tsx rename to apps/renderer/src/pages/(main)/(layer)/feeds/[feedId]/layout.tsx index d54c90b5a..3efa90a13 100644 --- a/src/renderer/src/pages/(main)/(layer)/feeds/[feedId]/layout.tsx +++ b/apps/renderer/src/pages/(main)/(layer)/feeds/[feedId]/layout.tsx @@ -1,26 +1,29 @@ -import { getUISettings, setUISetting } from "@renderer/atoms/settings/ui" -import { PanelSplitter } from "@renderer/components/ui/divider" -import { views } from "@renderer/constants" -import { useRouteParms } from "@renderer/hooks/biz/useRouteParams" -import { cn, isSafari } from "@renderer/lib/utils" -import { EntryColumn } from "@renderer/modules/entry-column" import { useMemo, useRef } from "react" import { useResizable } from "react-resizable-layout" import { Outlet } from "react-router-dom" +import { getUISettings, setUISetting, useUISettingKey } from "~/atoms/settings/ui" +import { PanelSplitter } from "~/components/ui/divider" +import { views } from "~/constants" +import { useRouteParams } from "~/hooks/biz/useRouteParams" +import { cn, isSafari } from "~/lib/utils" +import { EntryColumn } from "~/modules/entry-column" +import { AppLayoutGridContainerProvider } from "~/providers/app-grid-layout-container-provider" + export function Component() { const containerRef = useRef(null) // Memo this initial value to avoid re-render const entryColWidth = useMemo(() => getUISettings().entryColWidth, []) - const { view } = useRouteParms() + const { view } = useRouteParams() const inWideMode = view ? views[view].wideMode : false + const feedColumnWidth = useUISettingKey("feedColWidth") const { position, separatorProps, isDragging, separatorCursor } = useResizable({ axis: "x", // FIXME: Less than this width causes grid images to overflow on safari min: isSafari() ? 356 : 300, - max: 450, + max: Math.max((window.innerWidth - feedColumnWidth) / 2, 600), initial: entryColWidth, containerRef, onResizeEnd({ position }) { @@ -36,7 +39,9 @@ export function Component() { width: position, }} > - + + +
    {!inWideMode && ( diff --git a/src/renderer/src/pages/(main)/index.tsx b/apps/renderer/src/pages/(main)/index.tsx similarity index 65% rename from src/renderer/src/pages/(main)/index.tsx rename to apps/renderer/src/pages/(main)/index.tsx index dee82aa34..5c09f53d1 100644 --- a/src/renderer/src/pages/(main)/index.tsx +++ b/apps/renderer/src/pages/(main)/index.tsx @@ -1,7 +1,8 @@ -import { ROUTE_ENTRY_PENDING, ROUTE_FEED_PENDING } from "@renderer/constants" -import { FeedViewType } from "@renderer/lib/enum" import { redirect } from "react-router-dom" +import { ROUTE_ENTRY_PENDING, ROUTE_FEED_PENDING } from "~/constants" +import { FeedViewType } from "~/lib/enum" + export function Component() { return null } diff --git a/src/renderer/src/pages/(main)/layout.tsx b/apps/renderer/src/pages/(main)/layout.tsx similarity index 61% rename from src/renderer/src/pages/(main)/layout.tsx rename to apps/renderer/src/pages/(main)/layout.tsx index 06b477d0d..a348ff81b 100644 --- a/src/renderer/src/pages/(main)/layout.tsx +++ b/apps/renderer/src/pages/(main)/layout.tsx @@ -1,38 +1,42 @@ import { repository } from "@pkg" import { Slot } from "@radix-ui/react-slot" -import { setMainContainerElement } from "@renderer/atoms/dom" -import { getUISettings, setUISetting } from "@renderer/atoms/settings/ui" -import { setFeedColumnShow, useFeedColumnShow } from "@renderer/atoms/sidebar" -import { useLoginModalShow, useWhoami } from "@renderer/atoms/user" -import { AppErrorBoundary } from "@renderer/components/common/AppErrorBoundary" -import { ErrorComponentType } from "@renderer/components/errors/enum" -import { PanelSplitter } from "@renderer/components/ui/divider" -import { DeclarativeModal } from "@renderer/components/ui/modal/stacked/declarative-modal" -import { NoopChildren } from "@renderer/components/ui/modal/stacked/utils" -import { RootPortal } from "@renderer/components/ui/portal" -import { HotKeyScopeMap } from "@renderer/constants" -import { shortcuts } from "@renderer/constants/shortcuts" -import { useDailyTask } from "@renderer/hooks/biz/useDailyTask" -import { preventDefault } from "@renderer/lib/dom" -import { cn } from "@renderer/lib/utils" -import { EnvironmentIndicator } from "@renderer/modules/app/EnvironmentIndicator" -import { NetworkStatusIndicator } from "@renderer/modules/app/NetworkStatusIndicator" -import { LoginModalContent } from "@renderer/modules/auth/LoginModalContent" -import { FeedColumn } from "@renderer/modules/feed-column" -import { AutoUpdater } from "@renderer/modules/feed-column/auto-updater" -import { CornerPlayer } from "@renderer/modules/feed-column/corner-player" -import { useShortcutsModal } from "@renderer/modules/modal/shortcuts" -import { CmdF } from "@renderer/modules/panel/cmdf" -import { SearchCmdK } from "@renderer/modules/panel/cmdk" -import { CmdNTrigger } from "@renderer/modules/panel/cmdn" import { throttle } from "lodash-es" import type { PropsWithChildren } from "react" import React, { useEffect, useRef, useState } from "react" import { useHotkeys } from "react-hotkeys-hook" -import { useTranslation } from "react-i18next" +import { Trans, useTranslation } from "react-i18next" import { useResizable } from "react-resizable-layout" import { Outlet } from "react-router-dom" +import { setMainContainerElement } from "~/atoms/dom" +import { getUISettings, setUISetting } from "~/atoms/settings/ui" +import { setFeedColumnShow, useFeedColumnShow } from "~/atoms/sidebar" +import { useLoginModalShow, useWhoami } from "~/atoms/user" +import { AppErrorBoundary } from "~/components/common/AppErrorBoundary" +import { ErrorComponentType } from "~/components/errors/enum" +import { PanelSplitter } from "~/components/ui/divider" +import { Kbd } from "~/components/ui/kbd/Kbd" +import { PlainModal } from "~/components/ui/modal/stacked/custom-modal" +import { DeclarativeModal } from "~/components/ui/modal/stacked/declarative-modal" +import { RootPortal } from "~/components/ui/portal" +import { HotKeyScopeMap } from "~/constants" +import { shortcuts } from "~/constants/shortcuts" +import { useDailyTask } from "~/hooks/biz/useDailyTask" +import { useI18n } from "~/hooks/common" +import { preventDefault } from "~/lib/dom" +import { cn } from "~/lib/utils" +import { EnvironmentIndicator } from "~/modules/app/EnvironmentIndicator" +import { NetworkStatusIndicator } from "~/modules/app/NetworkStatusIndicator" +import { LoginModalContent } from "~/modules/auth/LoginModalContent" +import { FeedColumn } from "~/modules/feed-column" +import { AutoUpdater } from "~/modules/feed-column/auto-updater" +import { CornerPlayer } from "~/modules/feed-column/corner-player" +import { useShortcutsModal } from "~/modules/modal/shortcuts" +import { CmdF } from "~/modules/panel/cmdf" +import { SearchCmdK } from "~/modules/panel/cmdk" +import { CmdNTrigger } from "~/modules/panel/cmdn" +import { AppLayoutGridContainerProvider } from "~/providers/app-grid-layout-container-provider" + const FooterInfo = () => { const { t } = useTranslation() return ( @@ -52,7 +56,7 @@ const FooterInfo = () => { onClick={() => { window.open(`${repository.url}/releases`) }} - className="center cursor-pointer rounded-full border bg-background p-1.5 shadow-sm" + className="center rounded-full border bg-background p-1.5 shadow-sm" > @@ -83,16 +87,19 @@ export function Component() { > {!import.meta.env.PROD && } - - - - + + + + + - {ELECTRON && } + {ELECTRON && } + + + + + - - -
    - {/* {React.cloneElement(children, { - className: "!bg-native", - })} */} {children}
    @@ -226,7 +231,34 @@ const FeedResponsiveResizerContainer = ({ /> {delayShowSplitter && ( - + { + setFeedColumnShow(false) + }} + tooltip={ + !isDragging && ( + <> +
    + {/* Drag to resize */} + }} /> +
    +
    + + }} + /> + {" "} + {"["} +
    + + ) + } + /> )} ) diff --git a/src/renderer/src/pages/add/index.tsx b/apps/renderer/src/pages/add/index.tsx similarity index 87% rename from src/renderer/src/pages/add/index.tsx rename to apps/renderer/src/pages/add/index.tsx index bf6e4b7de..f50b0cb50 100644 --- a/src/renderer/src/pages/add/index.tsx +++ b/apps/renderer/src/pages/add/index.tsx @@ -1,8 +1,9 @@ -import { FeedViewType } from "@renderer/lib/enum" -import { FeedForm } from "@renderer/modules/discover/feed-form" import { useLayoutEffect } from "react" import { useSearchParams } from "react-router-dom" +import { FeedViewType } from "~/lib/enum" +import { FeedForm } from "~/modules/discover/feed-form" + export function Component() { const [urlSearchParams] = useSearchParams() diff --git a/src/renderer/src/pages/preview.tsx b/apps/renderer/src/pages/preview.tsx similarity index 100% rename from src/renderer/src/pages/preview.tsx rename to apps/renderer/src/pages/preview.tsx diff --git a/src/renderer/src/pages/settings/(settings)/about.tsx b/apps/renderer/src/pages/settings/(settings)/about.tsx similarity index 56% rename from src/renderer/src/pages/settings/(settings)/about.tsx rename to apps/renderer/src/pages/settings/(settings)/about.tsx index 6ab5a5feb..6bc607581 100644 --- a/src/renderer/src/pages/settings/(settings)/about.tsx +++ b/apps/renderer/src/pages/settings/(settings)/about.tsx @@ -1,5 +1,5 @@ -import { SettingAbout } from "@renderer/modules/settings/tabs/about" -import { defineSettingPageData } from "@renderer/modules/settings/utils" +import { SettingAbout } from "~/modules/settings/tabs/about" +import { defineSettingPageData } from "~/modules/settings/utils" export const loader = defineSettingPageData({ iconName: "i-mgc-information-cute-re", diff --git a/src/renderer/src/pages/settings/(settings)/actions.tsx b/apps/renderer/src/pages/settings/(settings)/actions.tsx similarity index 84% rename from src/renderer/src/pages/settings/(settings)/actions.tsx rename to apps/renderer/src/pages/settings/(settings)/actions.tsx index d4e50d588..89fc2e25f 100644 --- a/src/renderer/src/pages/settings/(settings)/actions.tsx +++ b/apps/renderer/src/pages/settings/(settings)/actions.tsx @@ -1,22 +1,18 @@ -import { Button } from "@renderer/components/ui/button" -import { useAuthQuery } from "@renderer/hooks/common" -import { apiClient } from "@renderer/lib/api-fetch" -import { toastFetchError } from "@renderer/lib/error-parser" -import type { - ActionEntryField, - ActionFeedField, - ActionOperation, - ActionsResponse, -} from "@renderer/models" -import { ActionCard } from "@renderer/modules/settings/action-card" -import { SettingsTitle } from "@renderer/modules/settings/title" -import { defineSettingPageData } from "@renderer/modules/settings/utils" -import { Queries } from "@renderer/queries" import { useMutation } from "@tanstack/react-query" import { useEffect, useState } from "react" import { useTranslation } from "react-i18next" import { toast } from "sonner" +import { Button } from "~/components/ui/button" +import { useAuthQuery } from "~/hooks/common" +import { apiClient } from "~/lib/api-fetch" +import { toastFetchError } from "~/lib/error-parser" +import type { ActionEntryField, ActionFeedField, ActionOperation, ActionsResponse } from "~/models" +import { ActionCard } from "~/modules/settings/action-card" +import { SettingsTitle } from "~/modules/settings/title" +import { defineSettingPageData } from "~/modules/settings/utils" +import { Queries } from "~/queries" + const iconName = "i-mgc-magic-2-cute-re" const priority = 1020 diff --git a/src/renderer/src/pages/settings/(settings)/appearance.tsx b/apps/renderer/src/pages/settings/(settings)/appearance.tsx similarity index 56% rename from src/renderer/src/pages/settings/(settings)/appearance.tsx rename to apps/renderer/src/pages/settings/(settings)/appearance.tsx index 51fdccda3..bdc3fc615 100644 --- a/src/renderer/src/pages/settings/(settings)/appearance.tsx +++ b/apps/renderer/src/pages/settings/(settings)/appearance.tsx @@ -1,6 +1,6 @@ -import { SettingAppearance } from "@renderer/modules/settings/tabs/apperance" -import { SettingsTitle } from "@renderer/modules/settings/title" -import { defineSettingPageData } from "@renderer/modules/settings/utils" +import { SettingAppearance } from "~/modules/settings/tabs/apperance" +import { SettingsTitle } from "~/modules/settings/title" +import { defineSettingPageData } from "~/modules/settings/utils" const iconName = "i-mgc-palette-cute-re" const priority = 1010 diff --git a/src/renderer/src/pages/settings/(settings)/feeds.tsx b/apps/renderer/src/pages/settings/(settings)/feeds.tsx similarity index 52% rename from src/renderer/src/pages/settings/(settings)/feeds.tsx rename to apps/renderer/src/pages/settings/(settings)/feeds.tsx index a7f3e2517..5d81f184e 100644 --- a/src/renderer/src/pages/settings/(settings)/feeds.tsx +++ b/apps/renderer/src/pages/settings/(settings)/feeds.tsx @@ -1,9 +1,9 @@ -import { SettingFeeds } from "@renderer/modules/settings/tabs/feeds" -import { SettingsTitle } from "@renderer/modules/settings/title" -import { defineSettingPageData } from "@renderer/modules/settings/utils" +import { SettingFeeds } from "~/modules/settings/tabs/feeds" +import { SettingsTitle } from "~/modules/settings/title" +import { defineSettingPageData } from "~/modules/settings/utils" const iconName = "i-mgc-certificate-cute-re" -const priority = 1053 +const priority = 1060 export const loader = defineSettingPageData({ iconName, diff --git a/apps/renderer/src/pages/settings/(settings)/general.tsx b/apps/renderer/src/pages/settings/(settings)/general.tsx new file mode 100644 index 000000000..23f2998d3 --- /dev/null +++ b/apps/renderer/src/pages/settings/(settings)/general.tsx @@ -0,0 +1,21 @@ +import { SettingGeneral } from "~/modules/settings/tabs/general" +import { SettingsTitle } from "~/modules/settings/title" +import { defineSettingPageData } from "~/modules/settings/utils" + +const iconName = "i-mgc-settings-7-cute-re" +const priority = 1000 + +export const loader = defineSettingPageData({ + iconName, + name: "titles.general", + priority, +}) + +export function Component() { + return ( + <> + + + + ) +} diff --git a/src/renderer/src/pages/settings/(settings)/integration.tsx b/apps/renderer/src/pages/settings/(settings)/integration.tsx similarity index 52% rename from src/renderer/src/pages/settings/(settings)/integration.tsx rename to apps/renderer/src/pages/settings/(settings)/integration.tsx index da51e866a..b90bc1fb2 100644 --- a/src/renderer/src/pages/settings/(settings)/integration.tsx +++ b/apps/renderer/src/pages/settings/(settings)/integration.tsx @@ -1,9 +1,9 @@ -import { SettingIntegration } from "@renderer/modules/settings/tabs/integration" -import { SettingsTitle } from "@renderer/modules/settings/title" -import { defineSettingPageData } from "@renderer/modules/settings/utils" +import { SettingIntegration } from "~/modules/settings/tabs/integration" +import { SettingsTitle } from "~/modules/settings/title" +import { defineSettingPageData } from "~/modules/settings/utils" const iconName = "i-mgc-department-cute-re" -const priority = 1025 +const priority = 1030 export const loader = defineSettingPageData({ iconName, diff --git a/src/renderer/src/pages/settings/(settings)/invitations.tsx b/apps/renderer/src/pages/settings/(settings)/invitations.tsx similarity index 52% rename from src/renderer/src/pages/settings/(settings)/invitations.tsx rename to apps/renderer/src/pages/settings/(settings)/invitations.tsx index 2f80a7aa8..02a3e81d0 100644 --- a/src/renderer/src/pages/settings/(settings)/invitations.tsx +++ b/apps/renderer/src/pages/settings/(settings)/invitations.tsx @@ -1,9 +1,9 @@ -import { SettingInvitations } from "@renderer/modules/settings/tabs/invitations" -import { SettingsTitle } from "@renderer/modules/settings/title" -import { defineSettingPageData } from "@renderer/modules/settings/utils" +import { SettingInvitations } from "~/modules/settings/tabs/invitations" +import { SettingsTitle } from "~/modules/settings/title" +import { defineSettingPageData } from "~/modules/settings/utils" const iconName = "i-mgc-heart-hand-cute-re" -const priority = 1055 +const priority = 1070 export const loader = defineSettingPageData({ iconName, diff --git a/apps/renderer/src/pages/settings/(settings)/list.tsx b/apps/renderer/src/pages/settings/(settings)/list.tsx new file mode 100644 index 000000000..b1a4b1d8b --- /dev/null +++ b/apps/renderer/src/pages/settings/(settings)/list.tsx @@ -0,0 +1,21 @@ +import { SettingLists } from "~/modules/settings/tabs/lists" +import { SettingsTitle } from "~/modules/settings/title" +import { defineSettingPageData } from "~/modules/settings/utils" + +const iconName = "i-mgc-rada-cute-re" +const priority = 1050 + +export const loader = defineSettingPageData({ + iconName, + name: "titles.lists", + priority, +}) + +export function Component() { + return ( + <> + + + + ) +} diff --git a/src/renderer/src/pages/settings/(settings)/profile.tsx b/apps/renderer/src/pages/settings/(settings)/profile.tsx similarity index 51% rename from src/renderer/src/pages/settings/(settings)/profile.tsx rename to apps/renderer/src/pages/settings/(settings)/profile.tsx index 54edd12e3..fa1603f6f 100644 --- a/src/renderer/src/pages/settings/(settings)/profile.tsx +++ b/apps/renderer/src/pages/settings/(settings)/profile.tsx @@ -1,9 +1,9 @@ -import { ProfileSettingForm } from "@renderer/modules/profile/profile-setting-form" -import { SettingsTitle } from "@renderer/modules/settings/title" -import { defineSettingPageData } from "@renderer/modules/settings/utils" +import { ProfileSettingForm } from "~/modules/profile/profile-setting-form" +import { SettingsTitle } from "~/modules/settings/title" +import { defineSettingPageData } from "~/modules/settings/utils" const iconName = "i-mgc-user-setting-cute-re" -const priority = 1030 +const priority = 1090 export const loader = defineSettingPageData({ iconName, name: "titles.profile", diff --git a/src/renderer/src/pages/settings/(settings)/shortcuts.tsx b/apps/renderer/src/pages/settings/(settings)/shortcuts.tsx similarity index 81% rename from src/renderer/src/pages/settings/(settings)/shortcuts.tsx rename to apps/renderer/src/pages/settings/(settings)/shortcuts.tsx index 1477ae5e7..604981f65 100644 --- a/src/renderer/src/pages/settings/(settings)/shortcuts.tsx +++ b/apps/renderer/src/pages/settings/(settings)/shortcuts.tsx @@ -1,12 +1,13 @@ -import { KbdCombined } from "@renderer/components/ui/kbd/Kbd" -import { shortcuts } from "@renderer/constants/shortcuts" -import { cn } from "@renderer/lib/utils" -import { SettingsTitle } from "@renderer/modules/settings/title" -import { defineSettingPageData } from "@renderer/modules/settings/utils" import { useTranslation } from "react-i18next" +import { KbdCombined } from "~/components/ui/kbd/Kbd" +import { shortcuts } from "~/constants/shortcuts" +import { cn } from "~/lib/utils" +import { SettingsTitle } from "~/modules/settings/title" +import { defineSettingPageData } from "~/modules/settings/utils" + const iconName = "i-mgc-hotkey-cute-re" -const priority = 1040 +const priority = 1080 export const loader = defineSettingPageData({ iconName, diff --git a/src/renderer/src/pages/settings/(settings)/wallet.tsx b/apps/renderer/src/pages/settings/(settings)/wallet.tsx similarity index 59% rename from src/renderer/src/pages/settings/(settings)/wallet.tsx rename to apps/renderer/src/pages/settings/(settings)/wallet.tsx index fa79afe74..00d795c9a 100644 --- a/src/renderer/src/pages/settings/(settings)/wallet.tsx +++ b/apps/renderer/src/pages/settings/(settings)/wallet.tsx @@ -1,8 +1,8 @@ -import { SettingWallet } from "@renderer/modules/settings/tabs/wallet" -import { defineSettingPageData } from "@renderer/modules/settings/utils" +import { SettingWallet } from "~/modules/settings/tabs/wallet" +import { defineSettingPageData } from "~/modules/settings/utils" const iconName = `i-mgc-power-outline` -const priority = 1050 +const priority = 1040 export const loader = defineSettingPageData({ iconName, diff --git a/src/renderer/src/pages/settings/index.tsx b/apps/renderer/src/pages/settings/index.tsx similarity index 79% rename from src/renderer/src/pages/settings/index.tsx rename to apps/renderer/src/pages/settings/index.tsx index 3d5b60998..43f403f08 100644 --- a/src/renderer/src/pages/settings/index.tsx +++ b/apps/renderer/src/pages/settings/index.tsx @@ -1,6 +1,7 @@ -import { nextFrame } from "@renderer/lib/dom" import { useLayoutEffect } from "react" +import { nextFrame } from "~/lib/dom" + export const Component = () => { useLayoutEffect(() => { nextFrame(() => router.navigate("/settings/general")) diff --git a/src/renderer/src/pages/settings/layout.tsx b/apps/renderer/src/pages/settings/layout.tsx similarity index 69% rename from src/renderer/src/pages/settings/layout.tsx rename to apps/renderer/src/pages/settings/layout.tsx index 55b47338a..f0353b163 100644 --- a/src/renderer/src/pages/settings/layout.tsx +++ b/apps/renderer/src/pages/settings/layout.tsx @@ -1,11 +1,12 @@ -import { Logo } from "@renderer/components/icons/logo" -import { WindowUnderBlur } from "@renderer/components/ui/background" -import { isElectronBuild } from "@renderer/constants" -import { preventDefault } from "@renderer/lib/dom" -import { settings } from "@renderer/modules/settings/constants" -import { SettingsSidebarTitle } from "@renderer/modules/settings/title" import { Link, Outlet, useLocation } from "react-router-dom" +import { Logo } from "~/components/icons/logo" +import { WindowUnderBlur } from "~/components/ui/background" +import { isElectronBuild } from "~/constants" +import { preventDefault } from "~/lib/dom" +import { settings } from "~/modules/settings/constants" +import { SettingsSidebarTitle } from "~/modules/settings/title" + function Layout() { const location = useLocation() const tab = location.pathname.replace(/^\/settings\/?/, "") @@ -18,7 +19,7 @@ function Layout() { {settings.map((t) => ( (0) + +export const AppLayoutGridContainerProvider: FC = ({ children }) => { + const [width, setWidth] = useState(0) + const ref = useRef(null) + useLayoutEffect(() => { + const $first = ref.current?.firstElementChild + if (!$first) return + const handler = throttle(() => { + if (!$first) return + + const { width } = $first.getBoundingClientRect() + setWidth(width) + }, 100) + + handler() + + const resizeObserver = new ResizeObserver(handler) + resizeObserver.observe($first) + return () => { + resizeObserver.disconnect() + } + }, []) + + return ( + +
    + {children} +
    +
    + ) +} + +export const useAppLayoutGridContainerWidth = () => { + const width = useContext(AppLayoutGridContainerWidthContext) + return width +} diff --git a/src/renderer/src/providers/context-menu-provider.tsx b/apps/renderer/src/providers/context-menu-provider.tsx similarity index 90% rename from src/renderer/src/providers/context-menu-provider.tsx rename to apps/renderer/src/providers/context-menu-provider.tsx index e9da65abb..e5fa4890d 100644 --- a/src/renderer/src/providers/context-menu-provider.tsx +++ b/apps/renderer/src/providers/context-menu-provider.tsx @@ -1,3 +1,7 @@ +import type { ReactNode } from "react" +import { Fragment, memo, useCallback, useEffect, useRef, useState } from "react" +import { useHotkeys } from "react-hotkeys-hook" + import { ContextMenu, ContextMenuContent, @@ -8,16 +12,13 @@ import { ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, -} from "@renderer/components/ui/context-menu" -import { KbdCombined } from "@renderer/components/ui/kbd/Kbd" -import { HotKeyScopeMap } from "@renderer/constants" -import { useSwitchHotKeyScope } from "@renderer/hooks/common" -import { nextFrame } from "@renderer/lib/dom" -import type { NativeMenuItem } from "@renderer/lib/native-menu" -import { CONTEXT_MENU_SHOW_EVENT_KEY } from "@renderer/lib/native-menu" -import type { ReactNode } from "react" -import { Fragment, memo, useCallback, useEffect, useRef, useState } from "react" -import { useHotkeys } from "react-hotkeys-hook" +} from "~/components/ui/context-menu" +import { KbdCombined } from "~/components/ui/kbd/Kbd" +import { HotKeyScopeMap } from "~/constants" +import { useSwitchHotKeyScope } from "~/hooks/common" +import { nextFrame } from "~/lib/dom" +import type { NativeMenuItem } from "~/lib/native-menu" +import { CONTEXT_MENU_SHOW_EVENT_KEY } from "~/lib/native-menu" export const ContextMenuProvider: Component = ({ children }) => ( <> diff --git a/src/renderer/src/providers/event-provider.tsx b/apps/renderer/src/providers/event-provider.tsx similarity index 88% rename from src/renderer/src/providers/event-provider.tsx rename to apps/renderer/src/providers/event-provider.tsx index a6c03cbeb..19e38bf07 100644 --- a/src/renderer/src/providers/event-provider.tsx +++ b/apps/renderer/src/providers/event-provider.tsx @@ -1,11 +1,12 @@ "use client" -import { viewportAtom } from "@renderer/atoms/viewport" -import { jotaiStore } from "@renderer/lib/jotai" import { useIsomorphicLayoutEffect } from "foxact/use-isomorphic-layout-effect" import { throttle } from "lodash-es" import type { FC } from "react" +import { viewportAtom } from "~/atoms/viewport" +import { jotaiStore } from "~/lib/jotai" + export const EventProvider: FC = () => { useIsomorphicLayoutEffect(() => { const readViewport = throttle(() => { diff --git a/src/renderer/src/providers/i18n-provider.tsx b/apps/renderer/src/providers/i18n-provider.tsx similarity index 50% rename from src/renderer/src/providers/i18n-provider.tsx rename to apps/renderer/src/providers/i18n-provider.tsx index c833072d9..7f709f797 100644 --- a/src/renderer/src/providers/i18n-provider.tsx +++ b/apps/renderer/src/providers/i18n-provider.tsx @@ -1,16 +1,16 @@ -import { currentSupportedLanguages } from "@renderer/@types/constants" -import { getGeneralSettings, setGeneralSetting } from "@renderer/atoms/settings/general" -import { IS_MANUAL_CHANGE_LANGUAGE_KEY } from "@renderer/constants" -import { i18nAtom } from "@renderer/i18n" -import { EventBus } from "@renderer/lib/event-bus" -import { loadLanguageAndApply } from "@renderer/lib/load-language" import i18next from "i18next" import LanguageDetector from "i18next-browser-languagedetector" import { useAtom } from "jotai" import type { FC, PropsWithChildren } from "react" -import { useEffect, useLayoutEffect, useRef } from "react" +import { useEffect, useLayoutEffect } from "react" import { I18nextProvider } from "react-i18next" +import { currentSupportedLanguages } from "~/@types/constants" +import { getGeneralSettings, setGeneralSetting } from "~/atoms/settings/general" +import { I18N_LOCALE_KEY } from "~/constants" +import { i18nAtom } from "~/i18n" +import { EventBus } from "~/lib/event-bus" + export const I18nProvider: FC = ({ children }) => { const [currentI18NInstance, update] = useAtom(i18nAtom) @@ -23,43 +23,25 @@ export const I18nProvider: FC = ({ children }) => { const nextI18n = i18next.cloneInstance({ lng: lang, }) + update(nextI18n) }), [update], ) - const callOnce = useRef(false) - const detectOnce = useRef(false) - useLayoutEffect(() => { - const i18next = currentI18NInstance - - i18next.on("languageChanged", loadLanguageAndApply) - - return () => { - i18next.off("languageChanged") - } - }, [currentI18NInstance]) - - useLayoutEffect(() => { - if (localStorage.getItem(IS_MANUAL_CHANGE_LANGUAGE_KEY)) return - if (detectOnce.current) return - const languageDetector = new LanguageDetector() + const languageDetector = new LanguageDetector(null, { + order: ["querystring", "localStorage", "navigator"], + lookupQuerystring: "lng", + lookupLocalStorage: I18N_LOCALE_KEY, + caches: ["localStorage"], + }) const userLang = languageDetector.detect() if (!userLang) return const firstUserLang = Array.isArray(userLang) ? userLang[0] : userLang if (currentSupportedLanguages.includes(firstUserLang)) { setGeneralSetting("language", firstUserLang) } - detectOnce.current = true - }, []) - - useLayoutEffect(() => { - if (callOnce.current) return - const { language } = getGeneralSettings() - - i18next.changeLanguage(language) - callOnce.current = true }, []) return {children} diff --git a/src/renderer/src/providers/invalidate-query-provider.tsx b/apps/renderer/src/providers/invalidate-query-provider.tsx similarity index 96% rename from src/renderer/src/providers/invalidate-query-provider.tsx rename to apps/renderer/src/providers/invalidate-query-provider.tsx index 116884a6c..c592952c3 100644 --- a/src/renderer/src/providers/invalidate-query-provider.tsx +++ b/apps/renderer/src/providers/invalidate-query-provider.tsx @@ -1,8 +1,9 @@ -import { usePageVisibility } from "@renderer/hooks/common" -import { appLog } from "@renderer/lib/log" import { useQueryClient } from "@tanstack/react-query" import { useEffect, useRef } from "react" +import { usePageVisibility } from "~/hooks/common" +import { appLog } from "~/lib/log" + const slateTime = 600000 // 10min export class ElectronCloseEvent extends Event { diff --git a/src/renderer/src/providers/root-providers.tsx b/apps/renderer/src/providers/root-providers.tsx similarity index 86% rename from src/renderer/src/providers/root-providers.tsx rename to apps/renderer/src/providers/root-providers.tsx index 90e7bdb54..8966cff19 100644 --- a/src/renderer/src/providers/root-providers.tsx +++ b/apps/renderer/src/providers/root-providers.tsx @@ -1,8 +1,3 @@ -import { ModalStackProvider } from "@renderer/components/ui/modal" -import { Toaster } from "@renderer/components/ui/sonner" -import { HotKeyScopeMap } from "@renderer/constants" -import { jotaiStore } from "@renderer/lib/jotai" -import { persistConfig, queryClient } from "@renderer/lib/query-client" import { ReactQueryDevtools } from "@tanstack/react-query-devtools" import { PersistQueryClientProvider } from "@tanstack/react-query-persist-client" import { LazyMotion, MotionConfig } from "framer-motion" @@ -10,6 +5,12 @@ import { Provider } from "jotai" import type { FC, PropsWithChildren } from "react" import { HotkeysProvider } from "react-hotkeys-hook" +import { ModalStackProvider } from "~/components/ui/modal" +import { Toaster } from "~/components/ui/sonner" +import { HotKeyScopeMap } from "~/constants" +import { jotaiStore } from "~/lib/jotai" +import { persistConfig, queryClient } from "~/lib/query-client" + import { ContextMenuProvider } from "./context-menu-provider" import { EventProvider } from "./event-provider" import { I18nProvider } from "./i18n-provider" diff --git a/src/renderer/src/providers/setting-sync.tsx b/apps/renderer/src/providers/setting-sync.tsx similarity index 60% rename from src/renderer/src/providers/setting-sync.tsx rename to apps/renderer/src/providers/setting-sync.tsx index e1c30687b..6595864fd 100644 --- a/src/renderer/src/providers/setting-sync.tsx +++ b/apps/renderer/src/providers/setting-sync.tsx @@ -1,15 +1,16 @@ -import { langLoadingLockMapAtom } from "@renderer/atoms/lang" -import { useGeneralSettingKey } from "@renderer/atoms/settings/general" -import { useUISettingValue } from "@renderer/atoms/settings/ui" -import { useReduceMotion } from "@renderer/hooks/biz/useReduceMotion" -import { useSyncThemeark } from "@renderer/hooks/common" -import { tipcClient } from "@renderer/lib/client" -import { loadLanguageAndApply } from "@renderer/lib/load-language" -import { feedUnreadActions } from "@renderer/store/unread" import i18next from "i18next" -import { useSetAtom } from "jotai" import { useEffect, useInsertionEffect, useLayoutEffect } from "react" +import { useGeneralSettingKey } from "~/atoms/settings/general" +import { useUISettingValue } from "~/atoms/settings/ui" +import { I18N_LOCALE_KEY } from "~/constants" +import { useReduceMotion } from "~/hooks/biz/useReduceMotion" +import { useSyncThemeark } from "~/hooks/common" +import { langChain } from "~/i18n" +import { tipcClient } from "~/lib/client" +import { loadLanguageAndApply } from "~/lib/load-language" +import { feedUnreadActions } from "~/store/unread" + const useUISettingSync = () => { const setting = useUISettingValue() useSyncThemeark() @@ -26,10 +27,11 @@ const useUISettingSync = () => { fontFamily: fontCss, }) root.style.cssText += `\n--fo-font-family: ${fontCss}` + root.style.cssText += `\n--pointer: ${setting.usePointerCursor ? "pointer" : "default"}` Object.assign(document.body.style, { fontFamily: fontCss, }) - }, [setting.uiFontFamily]) + }, [setting.uiFontFamily, setting.usePointerCursor]) useEffect(() => { if (setting.showDockBadge) { @@ -58,18 +60,23 @@ const useUXSettingSync = () => { } const useLanguageSync = () => { - const setLoadingLanguageLockMap = useSetAtom(langLoadingLockMapAtom) const language = useGeneralSettingKey("language") useEffect(() => { - setLoadingLanguageLockMap((state) => ({ ...state, [language]: true })) - loadLanguageAndApply(language as string) - .then(() => { - i18next.changeLanguage(language as string) + let mounted = true + + loadLanguageAndApply(language as string).then(() => { + langChain.next(() => { + if (mounted) { + localStorage.setItem(I18N_LOCALE_KEY, language as string) + return i18next.changeLanguage(language as string) + } }) - .finally(() => { - setLoadingLanguageLockMap((state) => ({ ...state, [language]: false })) - }) - }, [setLoadingLanguageLockMap, language]) + }) + + return () => { + mounted = false + } + }, [language]) } export const SettingSync = () => { useUISettingSync() diff --git a/src/renderer/src/providers/stable-router-provider.tsx b/apps/renderer/src/providers/stable-router-provider.tsx similarity index 93% rename from src/renderer/src/providers/stable-router-provider.tsx rename to apps/renderer/src/providers/stable-router-provider.tsx index 3aff222f1..b27a67d51 100644 --- a/src/renderer/src/providers/stable-router-provider.tsx +++ b/apps/renderer/src/providers/stable-router-provider.tsx @@ -1,9 +1,10 @@ -import { setNavigate, setRoute } from "@renderer/atoms/route" -import { useSettingModal } from "@renderer/modules/settings/modal/hooks" import { useEffect, useLayoutEffect } from "react" import type { NavigateFunction } from "react-router-dom" import { useLocation, useNavigate, useParams, useSearchParams } from "react-router-dom" +import { setNavigate, setRoute } from "~/atoms/route" +import { useSettingModal } from "~/modules/settings/modal/hooks" + declare global { export const router: { navigate: NavigateFunction diff --git a/src/renderer/src/providers/user-provider.tsx b/apps/renderer/src/providers/user-provider.tsx similarity index 58% rename from src/renderer/src/providers/user-provider.tsx rename to apps/renderer/src/providers/user-provider.tsx index cbe2445bd..1d9dff523 100644 --- a/src/renderer/src/providers/user-provider.tsx +++ b/apps/renderer/src/providers/user-provider.tsx @@ -1,10 +1,11 @@ -import { setWhoami } from "@renderer/atoms/user" -import { setIntegrationIdentify } from "@renderer/initialize/helper" -import { tipcClient } from "@renderer/lib/client" -import { useSession } from "@renderer/queries/auth" -import { CleanerService } from "@renderer/services/cleaner" import { useEffect } from "react" +import { setWhoami } from "~/atoms/user" +import { setIntegrationIdentify } from "~/initialize/helper" +import { tipcClient } from "~/lib/client" +import { useSession } from "~/queries/auth" +import { CleanerService } from "~/services/cleaner" + export const UserProvider = () => { const { session } = useSession() diff --git a/src/renderer/src/providers/wrapped-element-provider.tsx b/apps/renderer/src/providers/wrapped-element-provider.tsx similarity index 96% rename from src/renderer/src/providers/wrapped-element-provider.tsx rename to apps/renderer/src/providers/wrapped-element-provider.tsx index c512e885e..709904306 100644 --- a/src/renderer/src/providers/wrapped-element-provider.tsx +++ b/apps/renderer/src/providers/wrapped-element-provider.tsx @@ -1,13 +1,14 @@ /* eslint-disable react-refresh/only-export-components */ -import { ProviderComposer } from "@renderer/components/common/ProviderComposer" -import { jotaiStore } from "@renderer/lib/jotai" -import { cn } from "@renderer/lib/utils" import { createContextState } from "foxact/create-context-state" import { useIsomorphicLayoutEffect } from "foxact/use-isomorphic-layout-effect" import type { PrimitiveAtom } from "jotai" import { atom, useAtomValue, useSetAtom } from "jotai" import { createContext, memo, useCallback, useContext, useEffect, useRef } from "react" +import { ProviderComposer } from "~/components/common/ProviderComposer" +import { jotaiStore } from "~/lib/jotai" +import { cn } from "~/lib/utils" + const [WrappedElementProviderInternal, useWrappedElement, useSetWrappedElement] = createContextState(undefined as any) diff --git a/src/renderer/src/queries/actions.ts b/apps/renderer/src/queries/actions.ts similarity index 60% rename from src/renderer/src/queries/actions.ts rename to apps/renderer/src/queries/actions.ts index 0c609f06f..f5995a6c8 100644 --- a/src/renderer/src/queries/actions.ts +++ b/apps/renderer/src/queries/actions.ts @@ -1,5 +1,5 @@ -import { apiClient } from "@renderer/lib/api-fetch" -import { defineQuery } from "@renderer/lib/defineQuery" +import { apiClient } from "~/lib/api-fetch" +import { defineQuery } from "~/lib/defineQuery" export const action = { getAll: () => diff --git a/src/renderer/src/queries/ai.ts b/apps/renderer/src/queries/ai.ts similarity index 87% rename from src/renderer/src/queries/ai.ts rename to apps/renderer/src/queries/ai.ts index b0b277f1e..2135b00ac 100644 --- a/src/renderer/src/queries/ai.ts +++ b/apps/renderer/src/queries/ai.ts @@ -1,8 +1,8 @@ -import { views } from "@renderer/constants" -import { apiClient } from "@renderer/lib/api-fetch" -import { defineQuery } from "@renderer/lib/defineQuery" -import type { SupportedLanguages } from "@renderer/models" -import type { FlatEntryModel } from "@renderer/store/entry" +import { views } from "~/constants" +import { apiClient } from "~/lib/api-fetch" +import { defineQuery } from "~/lib/defineQuery" +import type { SupportedLanguages } from "~/models" +import type { FlatEntryModel } from "~/store/entry" const LanguageMap: Record< SupportedLanguages, diff --git a/src/renderer/src/queries/auth.ts b/apps/renderer/src/queries/auth.ts similarity index 94% rename from src/renderer/src/queries/auth.ts rename to apps/renderer/src/queries/auth.ts index 629426d81..85abd2d09 100644 --- a/src/renderer/src/queries/auth.ts +++ b/apps/renderer/src/queries/auth.ts @@ -1,11 +1,12 @@ import type { Session } from "@auth/core/types" import type { GetSessionParams } from "@hono/auth-js/react" import { authConfigManager } from "@hono/auth-js/react" -import { useAuthQuery } from "@renderer/hooks/common" -import { defineQuery } from "@renderer/lib/defineQuery" import type { FetchError } from "ofetch" import { ofetch } from "ofetch" +import { useAuthQuery } from "~/hooks/common" +import { defineQuery } from "~/lib/defineQuery" + export const auth = { getSession: () => defineQuery(["auth", "session"], () => getSession()), } diff --git a/src/renderer/src/queries/discover.ts b/apps/renderer/src/queries/discover.ts similarity index 84% rename from src/renderer/src/queries/discover.ts rename to apps/renderer/src/queries/discover.ts index 011081f60..fc05ee98b 100644 --- a/src/renderer/src/queries/discover.ts +++ b/apps/renderer/src/queries/discover.ts @@ -1,5 +1,5 @@ -import { apiClient } from "@renderer/lib/api-fetch" -import { defineQuery } from "@renderer/lib/defineQuery" +import { apiClient } from "~/lib/api-fetch" +import { defineQuery } from "~/lib/defineQuery" export const discover = { rsshubCategory: ({ category }: { category: string }) => diff --git a/src/renderer/src/queries/entries.ts b/apps/renderer/src/queries/entries.ts similarity index 88% rename from src/renderer/src/queries/entries.ts rename to apps/renderer/src/queries/entries.ts index 7d0f6087f..08f96b0f1 100644 --- a/src/renderer/src/queries/entries.ts +++ b/apps/renderer/src/queries/entries.ts @@ -1,9 +1,9 @@ -import { useAuthInfiniteQuery, useAuthQuery } from "@renderer/hooks/common" -import { apiClient } from "@renderer/lib/api-fetch" -import { defineQuery } from "@renderer/lib/defineQuery" -import { getEntriesParams } from "@renderer/lib/utils" -import { entryActions } from "@renderer/store/entry" -import { entryHistoryActions } from "@renderer/store/entry-history/action" +import { useAuthInfiniteQuery, useAuthQuery } from "~/hooks/common" +import { apiClient } from "~/lib/api-fetch" +import { defineQuery } from "~/lib/defineQuery" +import { getEntriesParams } from "~/lib/utils" +import { entryActions } from "~/store/entry" +import { entryHistoryActions } from "~/store/entry-history/action" export const entries = { entries: ({ @@ -32,6 +32,7 @@ export const entries = { }), { rootKey: ["entries", id], + structuralSharing: false, }, ), byId: (id: string) => diff --git a/src/renderer/src/queries/feed.ts b/apps/renderer/src/queries/feed.ts similarity index 76% rename from src/renderer/src/queries/feed.ts rename to apps/renderer/src/queries/feed.ts index aa34ae88d..3419c3ef7 100644 --- a/src/renderer/src/queries/feed.ts +++ b/apps/renderer/src/queries/feed.ts @@ -1,23 +1,25 @@ -import { ROUTE_FEED_IN_FOLDER, ROUTE_FEED_PENDING } from "@renderer/constants" -import { useAuthQuery } from "@renderer/hooks/common" -import { apiClient } from "@renderer/lib/api-fetch" -import { defineQuery } from "@renderer/lib/defineQuery" -import { toastFetchError } from "@renderer/lib/error-parser" -import { formatXml } from "@renderer/lib/utils" -import type { FeedQueryParams } from "@renderer/store/feed" -import { feedActions } from "@renderer/store/feed" import { useMutation } from "@tanstack/react-query" +import { ROUTE_FEED_IN_FOLDER, ROUTE_FEED_PENDING } from "~/constants" +import { useAuthQuery } from "~/hooks/common" +import { apiClient } from "~/lib/api-fetch" +import { defineQuery } from "~/lib/defineQuery" +import { toastFetchError } from "~/lib/error-parser" +import { formatXml } from "~/lib/utils" +import type { FeedQueryParams } from "~/store/feed" +import { feedActions } from "~/store/feed" + import { entries } from "./entries" export const feed = { - byId: ({ id, url }: FeedQueryParams) => + byId: ({ id, url, isList }: FeedQueryParams) => defineQuery( ["feed", id, url], async () => feedActions.fetchFeedById({ id, url, + isList, }), { rootKey: ["feed"], @@ -39,11 +41,12 @@ export const feed = { }), } -export const useFeed = ({ id, url }: FeedQueryParams) => +export const useFeed = ({ id, url, isList }: FeedQueryParams) => useAuthQuery( feed.byId({ id, url, + isList, }), { enabled: diff --git a/src/renderer/src/queries/index.ts b/apps/renderer/src/queries/index.ts similarity index 91% rename from src/renderer/src/queries/index.ts rename to apps/renderer/src/queries/index.ts index 4560008eb..abba5ccfa 100644 --- a/src/renderer/src/queries/index.ts +++ b/apps/renderer/src/queries/index.ts @@ -5,6 +5,7 @@ import { discover } from "./discover" import { entries } from "./entries" import { feed } from "./feed" import { invitations } from "./invitations" +import { lists } from "./lists" import { subscription } from "./subscriptions" import { wallet } from "./wallet" @@ -18,4 +19,5 @@ export const Queries = { discover, wallet, invitations, + lists, } diff --git a/src/renderer/src/queries/invitations.ts b/apps/renderer/src/queries/invitations.ts similarity index 86% rename from src/renderer/src/queries/invitations.ts rename to apps/renderer/src/queries/invitations.ts index efe381dda..9fc2f6d24 100644 --- a/src/renderer/src/queries/invitations.ts +++ b/apps/renderer/src/queries/invitations.ts @@ -1,7 +1,8 @@ -import { apiClient } from "@renderer/lib/api-fetch" -import { defineQuery } from "@renderer/lib/defineQuery" import { useMutation } from "@tanstack/react-query" +import { apiClient } from "~/lib/api-fetch" +import { defineQuery } from "~/lib/defineQuery" + import type { MutationBaseProps } from "./types" export const useInvitationMutation = ({ onError }: MutationBaseProps = {}) => diff --git a/apps/renderer/src/queries/lists.ts b/apps/renderer/src/queries/lists.ts new file mode 100644 index 000000000..a995596ba --- /dev/null +++ b/apps/renderer/src/queries/lists.ts @@ -0,0 +1,9 @@ +import { defineQuery } from "~/lib/defineQuery" +import { feedActions } from "~/store/feed" + +export const lists = { + list: () => + defineQuery(["lists"], async () => feedActions.fetchOwnedLists(), { + rootKey: ["lists"], + }), +} diff --git a/src/renderer/src/queries/settings.ts b/apps/renderer/src/queries/settings.ts similarity index 54% rename from src/renderer/src/queries/settings.ts rename to apps/renderer/src/queries/settings.ts index 8c56feeda..e6a98c679 100644 --- a/src/renderer/src/queries/settings.ts +++ b/apps/renderer/src/queries/settings.ts @@ -1,5 +1,5 @@ -import { apiClient } from "@renderer/lib/api-fetch" -import { defineQuery } from "@renderer/lib/defineQuery" +import { apiClient } from "~/lib/api-fetch" +import { defineQuery } from "~/lib/defineQuery" export const settings = { get: () => defineQuery(["settings"], async () => await apiClient.settings.$get({ query: {} })), diff --git a/src/renderer/src/queries/subscriptions.ts b/apps/renderer/src/queries/subscriptions.ts similarity index 65% rename from src/renderer/src/queries/subscriptions.ts rename to apps/renderer/src/queries/subscriptions.ts index 81d708b1f..60780ce3a 100644 --- a/src/renderer/src/queries/subscriptions.ts +++ b/apps/renderer/src/queries/subscriptions.ts @@ -1,8 +1,8 @@ -import { apiClient } from "@renderer/lib/api-fetch" -import { defineQuery } from "@renderer/lib/defineQuery" -import type { FeedViewType } from "@renderer/lib/enum" -import { subscriptionActions } from "@renderer/store/subscription" -import { feedUnreadActions } from "@renderer/store/unread" +import { apiClient } from "~/lib/api-fetch" +import { defineQuery } from "~/lib/defineQuery" +import type { FeedViewType } from "~/lib/enum" +import { subscriptionActions } from "~/store/subscription" +import { feedUnreadActions } from "~/store/unread" export const subscription = { byView: (view?: FeedViewType) => diff --git a/src/renderer/src/queries/types.d.ts b/apps/renderer/src/queries/types.d.ts similarity index 100% rename from src/renderer/src/queries/types.d.ts rename to apps/renderer/src/queries/types.d.ts diff --git a/src/renderer/src/queries/wallet.tsx b/apps/renderer/src/queries/wallet.tsx similarity index 90% rename from src/renderer/src/queries/wallet.tsx rename to apps/renderer/src/queries/wallet.tsx index 5bc523da3..28f413014 100644 --- a/src/renderer/src/queries/wallet.tsx +++ b/apps/renderer/src/queries/wallet.tsx @@ -1,11 +1,12 @@ -import { useAuthQuery } from "@renderer/hooks/common" -import { apiClient } from "@renderer/lib/api-fetch" -import { defineQuery } from "@renderer/lib/defineQuery" -import { getFetchErrorMessage, toastFetchError } from "@renderer/lib/error-parser" -import { useSettingModal } from "@renderer/modules/settings/modal/hooks" import { useMutation } from "@tanstack/react-query" import { toast } from "sonner" +import { useAuthQuery } from "~/hooks/common" +import { apiClient } from "~/lib/api-fetch" +import { defineQuery } from "~/lib/defineQuery" +import { getFetchErrorMessage, toastFetchError } from "~/lib/error-parser" +import { useSettingModal } from "~/modules/settings/modal/hooks" + export const wallet = { get: ({ userId }: { userId?: string } = {}) => defineQuery( diff --git a/src/renderer/src/router.tsx b/apps/renderer/src/router.tsx similarity index 100% rename from src/renderer/src/router.tsx rename to apps/renderer/src/router.tsx diff --git a/src/renderer/src/services/__mock__data__/entries.json b/apps/renderer/src/services/__mock__data__/entries.json similarity index 100% rename from src/renderer/src/services/__mock__data__/entries.json rename to apps/renderer/src/services/__mock__data__/entries.json diff --git a/src/renderer/src/services/__snapshots__/cleaner.spec.ts.snap b/apps/renderer/src/services/__snapshots__/cleaner.spec.ts.snap similarity index 100% rename from src/renderer/src/services/__snapshots__/cleaner.spec.ts.snap rename to apps/renderer/src/services/__snapshots__/cleaner.spec.ts.snap diff --git a/src/renderer/src/services/base.ts b/apps/renderer/src/services/base.ts similarity index 100% rename from src/renderer/src/services/base.ts rename to apps/renderer/src/services/base.ts diff --git a/src/renderer/src/services/cleaner.spec.ts b/apps/renderer/src/services/cleaner.spec.ts similarity index 92% rename from src/renderer/src/services/cleaner.spec.ts rename to apps/renderer/src/services/cleaner.spec.ts index 44c622e0a..4c211073d 100644 --- a/src/renderer/src/services/cleaner.spec.ts +++ b/apps/renderer/src/services/cleaner.spec.ts @@ -1,10 +1,11 @@ // @ts-nocheck -import { browserDB } from "@renderer/database" -import type { EntryModel } from "@renderer/models" -import type { SubscriptionFlatModel } from "@renderer/store/subscription" -import type { FeedModel } from "src/hono" +import type { TargetModel } from "@follow/shared/hono" import { beforeAll, describe, expect, test } from "vitest" +import { browserDB } from "~/database" +import type { EntryModel } from "~/models" +import type { SubscriptionFlatModel } from "~/store/subscription" + import { CleanerService } from "./cleaner" import { EntryService } from "./entry" import { FeedService } from "./feed" @@ -41,7 +42,7 @@ const subscriptions: SubscriptionFlatModel[] = [ }, ] -const feeds: FeedModel[] = [ +const feeds: TargetModel[] = [ { id: "feed-id-1", }, diff --git a/src/renderer/src/services/cleaner.ts b/apps/renderer/src/services/cleaner.ts similarity index 96% rename from src/renderer/src/services/cleaner.ts rename to apps/renderer/src/services/cleaner.ts index d06c69784..020c610ed 100644 --- a/src/renderer/src/services/cleaner.ts +++ b/apps/renderer/src/services/cleaner.ts @@ -1,5 +1,5 @@ -import { browserDB } from "@renderer/database" -import { appLog } from "@renderer/lib/log" +import { browserDB } from "~/database" +import { appLog } from "~/lib/log" import { EntryService } from "./entry" import { FeedService } from "./feed" diff --git a/src/renderer/src/services/entry-related.ts b/apps/renderer/src/services/entry-related.ts similarity index 97% rename from src/renderer/src/services/entry-related.ts rename to apps/renderer/src/services/entry-related.ts index 7e8956f3d..f829a16a9 100644 --- a/src/renderer/src/services/entry-related.ts +++ b/apps/renderer/src/services/entry-related.ts @@ -1,4 +1,4 @@ -import { browserDB } from "@renderer/database" +import { browserDB } from "~/database" export enum EntryRelatedKey { READ = "READ", diff --git a/src/renderer/src/services/entry.spec.ts b/apps/renderer/src/services/entry.spec.ts similarity index 93% rename from src/renderer/src/services/entry.spec.ts rename to apps/renderer/src/services/entry.spec.ts index 936518ed9..0d84c6eed 100644 --- a/src/renderer/src/services/entry.spec.ts +++ b/apps/renderer/src/services/entry.spec.ts @@ -1,8 +1,9 @@ -import { browserDB } from "@renderer/database" -import { sleep } from "@renderer/lib/utils" -import { entryActions } from "@renderer/store/entry/store" import { beforeAll, beforeEach, describe, expect, test } from "vitest" +import { browserDB } from "~/database" +import { sleep } from "~/lib/utils" +import { entryActions } from "~/store/entry/store" + import mockEntiresData from "./__mock__data__/entries.json" import { EntryService } from "./entry" import { EntryRelatedKey, EntryRelatedService } from "./entry-related" diff --git a/src/renderer/src/services/entry.ts b/apps/renderer/src/services/entry.ts similarity index 96% rename from src/renderer/src/services/entry.ts rename to apps/renderer/src/services/entry.ts index 0e539e9fa..499628ec0 100644 --- a/src/renderer/src/services/entry.ts +++ b/apps/renderer/src/services/entry.ts @@ -1,5 +1,5 @@ -import { browserDB } from "@renderer/database" -import type { EntryModel } from "@renderer/models/types" +import { browserDB } from "~/database" +import type { EntryModel } from "~/models/types" import { BaseService } from "./base" import { CleanerService } from "./cleaner" diff --git a/src/renderer/src/services/feed-unread.ts b/apps/renderer/src/services/feed-unread.ts similarity index 91% rename from src/renderer/src/services/feed-unread.ts rename to apps/renderer/src/services/feed-unread.ts index 190737aac..74c791843 100644 --- a/src/renderer/src/services/feed-unread.ts +++ b/apps/renderer/src/services/feed-unread.ts @@ -1,4 +1,4 @@ -import { browserDB } from "@renderer/database" +import { browserDB } from "~/database" const feedUnreadModel = browserDB.feedUnreads class ServiceStatic { diff --git a/src/renderer/src/services/feed.ts b/apps/renderer/src/services/feed.ts similarity index 52% rename from src/renderer/src/services/feed.ts rename to apps/renderer/src/services/feed.ts index dc50804fa..1f4324098 100644 --- a/src/renderer/src/services/feed.ts +++ b/apps/renderer/src/services/feed.ts @@ -1,26 +1,26 @@ -import { browserDB } from "@renderer/database" -import type { FeedModel } from "@renderer/models/types" +import { browserDB } from "~/database" +import type { TargetModel } from "~/models/types" import { BaseService } from "./base" import { CleanerService } from "./cleaner" -type FeedModelWithId = FeedModel & { id: string } -class ServiceStatic extends BaseService { +type TargetModelWithId = TargetModel & { id: string } +class ServiceStatic extends BaseService { constructor() { super(browserDB.feeds) } - override async upsertMany(data: FeedModel[]) { + override async upsertMany(data: TargetModel[]) { const filterData = data.filter((d) => d.id) CleanerService.reset(filterData.map((d) => ({ type: "feed", id: d.id! }))) - return this.table.bulkPut(filterData as FeedModelWithId[]) + return this.table.bulkPut(filterData as TargetModelWithId[]) } - override async upsert(data: FeedModel): Promise { + override async upsert(data: TargetModel): Promise { if (!data.id) return null CleanerService.reset([{ type: "feed", id: data.id }]) - return this.table.put(data as FeedModelWithId) + return this.table.put(data as TargetModelWithId) } async bulkDelete(ids: string[]) { diff --git a/src/renderer/src/services/index.ts b/apps/renderer/src/services/index.ts similarity index 100% rename from src/renderer/src/services/index.ts rename to apps/renderer/src/services/index.ts diff --git a/src/renderer/src/services/subscription.ts b/apps/renderer/src/services/subscription.ts similarity index 94% rename from src/renderer/src/services/subscription.ts rename to apps/renderer/src/services/subscription.ts index ddb8336f5..af0952eb7 100644 --- a/src/renderer/src/services/subscription.ts +++ b/apps/renderer/src/services/subscription.ts @@ -1,7 +1,8 @@ -import { browserDB } from "@renderer/database" -import type { SubscriptionFlatModel } from "@renderer/store/subscription" import { uniq } from "lodash-es" +import { browserDB } from "~/database" +import type { SubscriptionFlatModel } from "~/store/subscription" + import { BaseService } from "./base" type SubscriptionModelWithId = SubscriptionFlatModel & { id: string } diff --git a/src/renderer/src/shim.d.ts b/apps/renderer/src/shim.d.ts similarity index 100% rename from src/renderer/src/shim.d.ts rename to apps/renderer/src/shim.d.ts diff --git a/apps/renderer/src/store/entry-history/action.ts b/apps/renderer/src/store/entry-history/action.ts new file mode 100644 index 000000000..c3b63e267 --- /dev/null +++ b/apps/renderer/src/store/entry-history/action.ts @@ -0,0 +1,27 @@ +import { apiClient } from "~/lib/api-fetch" + +import { entryActions } from "../entry/store" +import { userActions } from "../user" + +class EntryHistoryActions { + async fetchEntryHistory(entryId: string) { + const { data } = await apiClient.entries["read-histories"][":id"].$get({ + param: { + id: entryId, + }, + query: { + page: "1", + size: "100", + }, + }) + + userActions.upsert(data.users) + if (data.entryReadHistories) { + entryActions.updateReadHistory(entryId, data.entryReadHistories) + } + + return data + } +} + +export const entryHistoryActions = new EntryHistoryActions() diff --git a/src/renderer/src/store/entry/helper.ts b/apps/renderer/src/store/entry/helper.ts similarity index 96% rename from src/renderer/src/store/entry/helper.ts rename to apps/renderer/src/store/entry/helper.ts index 4a5de4c71..609f3ffc5 100644 --- a/src/renderer/src/store/entry/helper.ts +++ b/apps/renderer/src/store/entry/helper.ts @@ -1,6 +1,7 @@ -import { apiClient } from "@renderer/lib/api-fetch" import { create, keyResolver, windowScheduler } from "@yornaath/batshit" +import { apiClient } from "~/lib/api-fetch" + import { useFeedStore } from "../feed" import { useSubscriptionStore } from "../subscription" import { useEntryStore } from "./store" diff --git a/src/renderer/src/store/entry/hooks.ts b/apps/renderer/src/store/entry/hooks.ts similarity index 94% rename from src/renderer/src/store/entry/hooks.ts rename to apps/renderer/src/store/entry/hooks.ts index d339631bd..31f775171 100644 --- a/src/renderer/src/store/entry/hooks.ts +++ b/apps/renderer/src/store/entry/hooks.ts @@ -1,8 +1,9 @@ -import { FEED_COLLECTION_LIST, ROUTE_FEED_IN_FOLDER } from "@renderer/constants" -import type { FeedViewType } from "@renderer/lib/enum" -import type { EntryReadHistoriesModel } from "src/hono" +import type { EntryReadHistoriesModel } from "@follow/shared/hono" import { useShallow } from "zustand/react/shallow" +import { FEED_COLLECTION_LIST, ROUTE_FEED_IN_FOLDER } from "~/constants" +import type { FeedViewType } from "~/lib/enum" + import { useFeedIdByView } from "../subscription" import { getEntryIsInView, getFilteredFeedIds } from "./helper" import { useEntryStore } from "./store" diff --git a/src/renderer/src/store/entry/index.ts b/apps/renderer/src/store/entry/index.ts similarity index 100% rename from src/renderer/src/store/entry/index.ts rename to apps/renderer/src/store/entry/index.ts diff --git a/src/renderer/src/store/entry/store.ts b/apps/renderer/src/store/entry/store.ts similarity index 94% rename from src/renderer/src/store/entry/store.ts rename to apps/renderer/src/store/entry/store.ts index 16f7cedd9..86cc96730 100644 --- a/src/renderer/src/store/entry/store.ts +++ b/apps/renderer/src/store/entry/store.ts @@ -1,16 +1,16 @@ -import { runTransactionInScope } from "@renderer/database" -import { apiClient } from "@renderer/lib/api-fetch" -import { getEntriesParams, omitObjectUndefinedValue } from "@renderer/lib/utils" -import type { CombinedEntryModel, EntryModel, FeedModel, UserModel } from "@renderer/models" -import { EntryService } from "@renderer/services" +import type { EntryReadHistoriesModel } from "@follow/shared/hono" import { produce } from "immer" import { isNil, merge, omit } from "lodash-es" -import type { EntryReadHistoriesModel } from "src/hono" + +import { runTransactionInScope } from "~/database" +import { apiClient } from "~/lib/api-fetch" +import { getEntriesParams, omitObjectUndefinedValue } from "~/lib/utils" +import type { CombinedEntryModel, EntryModel, TargetModel } from "~/models" +import { EntryService } from "~/services" import { feedActions } from "../feed" import { imageActions } from "../image" import { feedUnreadActions } from "../unread" -import { userActions } from "../user" import { createZustandStore, doMutationAndTransaction } from "../utils/helper" import { internal_batchMarkRead } from "./helper" import type { EntryState, FlatEntryModel } from "./types" @@ -62,10 +62,6 @@ class EntryActions { omit(data, "read") as any, ]) feedActions.upsertMany([data.feeds]) - userActions.upsert(data.users as Record) - if (data.entryReadHistories) { - this.updateReadHistory(entryId, data.entryReadHistories) - } } return data @@ -182,7 +178,7 @@ class EntryActions { } upsertMany(data: CombinedEntryModel[]) { - const feeds = [] as FeedModel[] + const feeds = [] as TargetModel[] const entries = [] as EntryModel[] const entry2Read = {} as Record const entryFeedMap = {} as Record diff --git a/src/renderer/src/store/entry/types.ts b/apps/renderer/src/store/entry/types.ts similarity index 82% rename from src/renderer/src/store/entry/types.ts rename to apps/renderer/src/store/entry/types.ts index 55021161c..892905db1 100644 --- a/src/renderer/src/store/entry/types.ts +++ b/apps/renderer/src/store/entry/types.ts @@ -1,6 +1,7 @@ -import type { FeedViewType } from "@renderer/lib/enum" -import type { CombinedEntryModel } from "@renderer/models" -import type { EntryReadHistoriesModel } from "src/hono" +import type { EntryReadHistoriesModel } from "@follow/shared/hono" + +import type { FeedViewType } from "~/lib/enum" +import type { CombinedEntryModel } from "~/models" type FeedId = string type EntryId = string diff --git a/src/renderer/src/store/feed/hooks.ts b/apps/renderer/src/store/feed/hooks.ts similarity index 74% rename from src/renderer/src/store/feed/hooks.ts rename to apps/renderer/src/store/feed/hooks.ts index 2ce07a868..ad28fea66 100644 --- a/src/renderer/src/store/feed/hooks.ts +++ b/apps/renderer/src/store/feed/hooks.ts @@ -1,20 +1,16 @@ -import { - FEED_COLLECTION_LIST, - ROUTE_FEED_IN_FOLDER, - ROUTE_FEED_PENDING, - views, -} from "@renderer/constants" -import { useRouteParms } from "@renderer/hooks/biz/useRouteParams" -import type { FeedModel } from "@renderer/models" import { useMemo } from "react" import { useTranslation } from "react-i18next" import { useShallow } from "zustand/react/shallow" +import { FEED_COLLECTION_LIST, ROUTE_FEED_IN_FOLDER, ROUTE_FEED_PENDING, views } from "~/constants" +import { useRouteParams } from "~/hooks/biz/useRouteParams" +import type { TargetModel } from "~/models" + import { getSubscriptionByFeedId } from "../subscription" import { useFeedStore } from "./store" import type { FeedQueryParams } from "./types" -export const useFeedById = (feedId: Nullable): FeedModel | null => +export const useFeedById = (feedId: Nullable): TargetModel | null => useFeedStore((state) => (feedId ? state.feeds[feedId] : null)) export const useFeedByIdOrUrl = (feed: FeedQueryParams) => @@ -23,14 +19,14 @@ export const useFeedByIdOrUrl = (feed: FeedQueryParams) => return state.feeds[feed.id] } if (feed.url) { - return Object.values(state.feeds).find((f) => f.url === feed.url) || null + return Object.values(state.feeds).find((f) => f.type === "feed" && f.url === feed.url) || null } return null }) export const useFeedByIdSelector = ( feedId: Nullable, - selector: (feed: FeedModel) => T, + selector: (feed: TargetModel) => T, ) => useFeedStore( useShallow((state) => (feedId && state.feeds[feedId] ? selector(state.feeds[feedId]) : null)), @@ -39,7 +35,7 @@ export const useFeedByIdSelector = ( export const useFeedHeaderTitle = () => { const { t } = useTranslation() - const { feedId: currentFeedId, view } = useRouteParms() + const { feedId: currentFeedId, view } = useRouteParams() const feedTitle = useFeedByIdSelector(currentFeedId, (feed) => feed.title) const subscriptionTitle = useMemo( diff --git a/src/renderer/src/store/feed/index.ts b/apps/renderer/src/store/feed/index.ts similarity index 100% rename from src/renderer/src/store/feed/index.ts rename to apps/renderer/src/store/feed/index.ts diff --git a/src/renderer/src/store/feed/store.ts b/apps/renderer/src/store/feed/store.ts similarity index 67% rename from src/renderer/src/store/feed/store.ts rename to apps/renderer/src/store/feed/store.ts index c31cd70db..37c8257b5 100644 --- a/src/renderer/src/store/feed/store.ts +++ b/apps/renderer/src/store/feed/store.ts @@ -1,11 +1,12 @@ -import { whoami } from "@renderer/atoms/user" -import { runTransactionInScope } from "@renderer/database" -import { apiClient } from "@renderer/lib/api-fetch" -import type { FeedModel, UserModel } from "@renderer/models" -import { FeedService } from "@renderer/services" import { produce } from "immer" import { nanoid } from "nanoid" +import { whoami } from "~/atoms/user" +import { runTransactionInScope } from "~/database" +import { apiClient } from "~/lib/api-fetch" +import type { TargetModel, UserModel } from "~/models" +import { FeedService } from "~/services" + import { getSubscriptionByFeedId } from "../subscription" import { userActions } from "../user" import { createZustandStore } from "../utils/helper" @@ -22,21 +23,25 @@ class FeedActions { set({ feeds: {} }) } - upsertMany(feeds: FeedModel[]) { + upsertMany(feeds: TargetModel[]) { runTransactionInScope(() => { FeedService.upsertMany(feeds) }) set((state) => produce(state, (state) => { for (const feed of feeds) { - if (feed.errorAt && new Date(feed.errorAt).getTime() > Date.now() - 1000 * 60 * 60 * 9) { + if ( + feed.type === "feed" && + feed.errorAt && + new Date(feed.errorAt).getTime() > Date.now() - 1000 * 60 * 60 * 9 + ) { feed.errorAt = null } if (feed.id) { if (feed.owner) { userActions.upsert(feed.owner as UserModel) } - if (feed.tipUsers) { + if (feed.type === "feed" && feed.tipUsers) { userActions.upsert(feed.tipUsers) } @@ -54,12 +59,15 @@ class FeedActions { const nonce = feed["nonce"] || nanoid(8) state.feeds[nonce] = { ...feed, id: nonce } } + if ("feeds" in feed && feed.feeds) { + this.upsertMany(feed.feeds) + } } }), ) } - private patch(feedId: string, patch: Partial) { + private patch(feedId: string, patch: Partial) { set((state) => produce(state, (state) => { const feed = state.feeds[feedId] @@ -95,18 +103,24 @@ class FeedActions { // API Fetcher // - async fetchFeedById({ id, url }: FeedQueryParams) { - const res = await apiClient.feeds.$get({ - query: { - id, - url, - }, - }) + async fetchFeedById({ id, url, isList }: FeedQueryParams) { + const res = isList + ? await apiClient.lists.$get({ + query: { + listId: id!, + }, + }) + : await apiClient.feeds.$get({ + query: { + id, + url, + }, + }) const nonce = nanoid(8) const finalData = { - ...res.data.feed, + ...("list" in res.data ? res.data.list : res.data.feed), } if (!finalData.id) { @@ -119,13 +133,20 @@ class FeedActions { feed: !finalData.id ? { ...finalData, id: nonce } : finalData, } } + + async fetchOwnedLists() { + const res = await apiClient.lists.list.$get() + this.upsertMany(res.data) + + return res.data + } } export const feedActions = new FeedActions() -export const getFeedById = (feedId: string): Nullable => +export const getFeedById = (feedId: string): Nullable => useFeedStore.getState().feeds[feedId] -export const getPreferredTitle = (feed?: FeedModel | null) => { +export const getPreferredTitle = (feed?: TargetModel | null) => { if (!feed?.id) { return feed?.title } diff --git a/apps/renderer/src/store/feed/types.ts b/apps/renderer/src/store/feed/types.ts new file mode 100644 index 000000000..d5bde4f2f --- /dev/null +++ b/apps/renderer/src/store/feed/types.ts @@ -0,0 +1,15 @@ +import type { TargetModel } from "~/models" + +type FeedId = string + +export interface FeedState { + feeds: Record +} + +export interface FeedActions { + upsertMany: (feeds: TargetModel[]) => void + clear: () => void + patch: (feedId: FeedId, patch: Partial) => void +} + +export type FeedQueryParams = { id?: string; url?: string; isList?: boolean } diff --git a/src/renderer/src/store/image/db.ts b/apps/renderer/src/store/image/db.ts similarity index 100% rename from src/renderer/src/store/image/db.ts rename to apps/renderer/src/store/image/db.ts diff --git a/src/renderer/src/store/image/index.ts b/apps/renderer/src/store/image/index.ts similarity index 96% rename from src/renderer/src/store/image/index.ts rename to apps/renderer/src/store/image/index.ts index 5182acd94..858e880bf 100644 --- a/src/renderer/src/store/image/index.ts +++ b/apps/renderer/src/store/image/index.ts @@ -1,4 +1,4 @@ -import type { EntryModel } from "@renderer/models" +import type { EntryModel } from "~/models" import { createZustandStore } from "../utils/helper" import { getImageDimensionsFromDb } from "./db" diff --git a/src/renderer/src/store/search/constants.ts b/apps/renderer/src/store/search/constants.ts similarity index 100% rename from src/renderer/src/store/search/constants.ts rename to apps/renderer/src/store/search/constants.ts diff --git a/src/renderer/src/store/search/helper.ts b/apps/renderer/src/store/search/helper.ts similarity index 100% rename from src/renderer/src/store/search/helper.ts rename to apps/renderer/src/store/search/helper.ts diff --git a/src/renderer/src/store/search/index.ts b/apps/renderer/src/store/search/index.ts similarity index 97% rename from src/renderer/src/store/search/index.ts rename to apps/renderer/src/store/search/index.ts index 98dcd29b1..ca6d344c5 100644 --- a/src/renderer/src/store/search/index.ts +++ b/apps/renderer/src/store/search/index.ts @@ -1,8 +1,9 @@ -import type { EntryModel } from "@renderer/models" -import { EntryService, FeedService, SubscriptionService } from "@renderer/services" import type { IFuseOptions } from "fuse.js" import Fuse from "fuse.js" +import type { EntryModel } from "~/models" +import { EntryService, FeedService, SubscriptionService } from "~/services" + import type { SubscriptionFlatModel } from "../subscription" import { createZustandStore } from "../utils/helper" import { SearchType } from "./constants" @@ -43,6 +44,7 @@ class SearchActions { const feedsMap = new Map(feeds.map((feed) => [feed.id, feed])) const entriesFuse = this.createFuse(entries, ["title", "content", "description", "id"]) + // @ts-expect-error const feedsFuse = this.createFuse(feeds, ["title", "description", "id", "siteUrl", "url"]) const subscriptionsFuse = this.createFuse(subscriptions, ["title", "category"]) diff --git a/src/renderer/src/store/search/types.ts b/apps/renderer/src/store/search/types.ts similarity index 86% rename from src/renderer/src/store/search/types.ts rename to apps/renderer/src/store/search/types.ts index 46250e88c..c53a583a6 100644 --- a/src/renderer/src/store/search/types.ts +++ b/apps/renderer/src/store/search/types.ts @@ -1,4 +1,4 @@ -import type { EntryModel, FeedModel } from "@renderer/models" +import type { EntryModel, TargetModel } from "~/models" import type { SubscriptionFlatModel } from "../subscription" import type { SearchType } from "./constants" @@ -9,7 +9,7 @@ export interface SearchResult exten } export interface SearchState { - feeds: SearchResult[] + feeds: SearchResult[] entries: SearchResult[] subscriptions: SearchResult[] diff --git a/src/renderer/src/store/subscription/hooks.ts b/apps/renderer/src/store/subscription/hooks.ts similarity index 89% rename from src/renderer/src/store/subscription/hooks.ts rename to apps/renderer/src/store/subscription/hooks.ts index 5fc914245..113b6cf81 100644 --- a/src/renderer/src/store/subscription/hooks.ts +++ b/apps/renderer/src/store/subscription/hooks.ts @@ -1,5 +1,5 @@ -import { FEED_COLLECTION_LIST, ROUTE_FEED_IN_FOLDER } from "@renderer/constants" -import type { FeedViewType } from "@renderer/lib/enum" +import { FEED_COLLECTION_LIST, ROUTE_FEED_IN_FOLDER } from "~/constants" +import type { FeedViewType } from "~/lib/enum" import { useSubscriptionStore } from "../subscription" diff --git a/src/renderer/src/store/subscription/index.ts b/apps/renderer/src/store/subscription/index.ts similarity index 100% rename from src/renderer/src/store/subscription/index.ts rename to apps/renderer/src/store/subscription/index.ts diff --git a/src/renderer/src/store/subscription/store.ts b/apps/renderer/src/store/subscription/store.ts similarity index 86% rename from src/renderer/src/store/subscription/store.ts rename to apps/renderer/src/store/subscription/store.ts index 40c636b41..b2304f207 100644 --- a/src/renderer/src/store/subscription/store.ts +++ b/apps/renderer/src/store/subscription/store.ts @@ -1,14 +1,15 @@ -import { whoami } from "@renderer/atoms/user" -import { runTransactionInScope } from "@renderer/database" -import { apiClient } from "@renderer/lib/api-fetch" -import { FeedViewType } from "@renderer/lib/enum" -import { capitalizeFirstLetter } from "@renderer/lib/utils" -import type { SubscriptionModel } from "@renderer/models" -import { SubscriptionService } from "@renderer/services" import { produce } from "immer" import { omit } from "lodash-es" import { parse } from "tldts" +import { whoami } from "~/atoms/user" +import { runTransactionInScope } from "~/database" +import { apiClient } from "~/lib/api-fetch" +import { FeedViewType } from "~/lib/enum" +import { capitalizeFirstLetter } from "~/lib/utils" +import type { SubscriptionModel } from "~/models" +import { SubscriptionService } from "~/services" + import { entryActions } from "../entry" import { feedActions, getFeedById } from "../feed" import { feedUnreadActions } from "../unread" @@ -34,7 +35,7 @@ function morphResponseData(data: SubscriptionModel[]): SubscriptionFlatModel[] { const result: SubscriptionFlatModel[] = [] for (const subscription of data) { const cloned: SubscriptionFlatModel = { ...subscription } - if (!subscription.category && subscription.feeds) { + if (!subscription.category && "feeds" in subscription && subscription.feeds) { const { siteUrl } = subscription.feeds if (!siteUrl) { cloned.defaultCategory = subscription.feedId @@ -98,7 +99,7 @@ class SubscriptionActions { const transformedData = morphResponseData(res.data) this.upsertMany(transformedData) - feedActions.upsertMany(res.data.map((s) => s.feeds)) + feedActions.upsertMany(res.data.map((s) => ("feeds" in s ? s.feeds : s.lists))) return res.data } @@ -144,30 +145,42 @@ class SubscriptionActions { ) } - async markReadByFeedIds(feedIds: string[]): Promise - async markReadByFeedIds( - feedIds: string[], - view: FeedViewType, - filter?: MarkReadFilter, - ): Promise - async markReadByFeedIds(...args: [string[], FeedViewType?, MarkReadFilter?]) { - const [feedIds, view, filter] = args - - const stableFeedIds = feedIds.concat() + async markReadByFeedIds({ + feedIds, + view, + filter, + listId, + }: { + feedIds?: string[] + view?: FeedViewType + filter?: MarkReadFilter + listId?: string + }) { + const stableFeedIds = feedIds?.concat() || [] doMutationAndTransaction( () => apiClient.reads.all.$post({ json: { - feedIdList: stableFeedIds, + ...(listId + ? { + listId, + } + : { + feedIdList: stableFeedIds, + }), ...filter, }, }), async () => { - for (const feedId of stableFeedIds) { - // We can not process this logic in local, so skip it. and then we will fetch the unread count from server. - !filter && feedUnreadActions.updateByFeedId(feedId, 0) - entryActions.patchManyByFeedId(feedId, { read: true }, filter) + if (listId) { + feedUnreadActions.updateByFeedId(listId, 0) + } else { + for (const feedId of stableFeedIds) { + // We can not process this logic in local, so skip it. and then we will fetch the unread count from server. + !filter && feedUnreadActions.updateByFeedId(feedId, 0) + entryActions.patchManyByFeedId(feedId, { read: true }, filter) + } } if (filter) { feedUnreadActions.fetchUnreadByView(view) @@ -201,7 +214,7 @@ class SubscriptionActions { if (idSet.has(id)) { const subscription = state.data[id] const feed = getFeedById(subscription.feedId) - if (!feed) return + if (!feed || feed.type !== "feed") return const { siteUrl } = feed if (!siteUrl) return const parsed = parse(siteUrl) diff --git a/src/renderer/src/store/unread/index.ts b/apps/renderer/src/store/unread/index.ts similarity index 93% rename from src/renderer/src/store/unread/index.ts rename to apps/renderer/src/store/unread/index.ts index 6a780da23..f1a9f78ae 100644 --- a/src/renderer/src/store/unread/index.ts +++ b/apps/renderer/src/store/unread/index.ts @@ -1,6 +1,6 @@ -import { apiClient } from "@renderer/lib/api-fetch" -import type { FeedViewType } from "@renderer/lib/enum" -import { FeedUnreadService } from "@renderer/services" +import { apiClient } from "~/lib/api-fetch" +import type { FeedViewType } from "~/lib/enum" +import { FeedUnreadService } from "~/services" import { createZustandStore } from "../utils/helper" diff --git a/src/renderer/src/store/user/hooks.ts b/apps/renderer/src/store/user/hooks.ts similarity index 75% rename from src/renderer/src/store/user/hooks.ts rename to apps/renderer/src/store/user/hooks.ts index 7935d7fa5..205890741 100644 --- a/src/renderer/src/store/user/hooks.ts +++ b/apps/renderer/src/store/user/hooks.ts @@ -1,4 +1,4 @@ -import type { UserModel } from "@renderer/models" +import type { UserModel } from "~/models" import { useUserStore } from "./store" diff --git a/src/renderer/src/store/user/index.ts b/apps/renderer/src/store/user/index.ts similarity index 100% rename from src/renderer/src/store/user/index.ts rename to apps/renderer/src/store/user/index.ts diff --git a/src/renderer/src/store/user/store.ts b/apps/renderer/src/store/user/store.ts similarity index 95% rename from src/renderer/src/store/user/store.ts rename to apps/renderer/src/store/user/store.ts index 6bcbd5ae8..70dcc86b2 100644 --- a/src/renderer/src/store/user/store.ts +++ b/apps/renderer/src/store/user/store.ts @@ -1,6 +1,7 @@ -import type { UserModel } from "@renderer/models" import { produce } from "immer" +import type { UserModel } from "~/models" + import { createZustandStore } from "../utils/helper" interface UserStoreState { diff --git a/src/renderer/src/store/utils/clear.ts b/apps/renderer/src/store/utils/clear.ts similarity index 83% rename from src/renderer/src/store/utils/clear.ts rename to apps/renderer/src/store/utils/clear.ts index 9f2f1adb1..a5c44b808 100644 --- a/src/renderer/src/store/utils/clear.ts +++ b/apps/renderer/src/store/utils/clear.ts @@ -1,5 +1,5 @@ -import { clearUISettings } from "@renderer/atoms/settings/ui" -import { browserDB } from "@renderer/database" +import { clearUISettings } from "~/atoms/settings/ui" +import { browserDB } from "~/database" import { entryActions } from "../entry" import { feedActions } from "../feed" diff --git a/src/renderer/src/store/utils/helper.ts b/apps/renderer/src/store/utils/helper.ts similarity index 98% rename from src/renderer/src/store/utils/helper.ts rename to apps/renderer/src/store/utils/helper.ts index 5715064a2..85267c790 100644 --- a/src/renderer/src/store/utils/helper.ts +++ b/apps/renderer/src/store/utils/helper.ts @@ -1,5 +1,4 @@ /* eslint-disable no-unsafe-finally */ -import { runTransactionInScope } from "@renderer/database" import { unstable_batchedUpdates } from "react-dom" import type { StateCreator } from "zustand" import type { PersistStorage } from "zustand/middleware" @@ -8,6 +7,8 @@ import { shallow } from "zustand/shallow" import type { UseBoundStoreWithEqualityFn } from "zustand/traditional" import { createWithEqualityFn } from "zustand/traditional" +import { runTransactionInScope } from "~/database" + declare const window: any export const localStorage: PersistStorage = { getItem: (name: string) => { diff --git a/src/renderer/src/styles/additional.css b/apps/renderer/src/styles/additional.css similarity index 100% rename from src/renderer/src/styles/additional.css rename to apps/renderer/src/styles/additional.css diff --git a/src/renderer/src/styles/base.css b/apps/renderer/src/styles/base.css similarity index 94% rename from src/renderer/src/styles/base.css rename to apps/renderer/src/styles/base.css index 00db7ae55..b9fa4870e 100644 --- a/src/renderer/src/styles/base.css +++ b/apps/renderer/src/styles/base.css @@ -21,7 +21,7 @@ body, } button { - @apply cursor-default; + cursor: var(--pointer); } .prose a { diff --git a/src/renderer/src/styles/colors.css b/apps/renderer/src/styles/colors.css similarity index 75% rename from src/renderer/src/styles/colors.css rename to apps/renderer/src/styles/colors.css index 150f83560..4f3b47595 100644 --- a/src/renderer/src/styles/colors.css +++ b/apps/renderer/src/styles/colors.css @@ -1,43 +1,47 @@ [data-theme="light"] { - --fo-vibrancy-background: theme(colors.native.active); - --fo-vibrancy-foreground: 0, 0%, 45%; + --fo-a: 21.6 100% 50%; - --fo-text-primary: 0, 0%, 10%; + --fo-vibrancy-background: theme(colors.native.active); + --fo-vibrancy-foreground: 0 0% 45%; + + --fo-text-primary: 0 0% 10%; --fo-item-active: theme(colors.zinc.400/0.3); --fo-item-hover: theme(colors.zinc.400/0.2); - --fo-inactive: 0, 0%, 80%; - --fo-disabled: 0, 0%, 70%; + --fo-inactive: 0 0% 80%; + --fo-disabled: 0 0% 70%; --fo-background: theme(colors.background); --fo-modal-background: theme(colors.zinc.50/0.8); --fo-modal-background-opaque: theme(colors.zinc.50); - --fo-text-primary-hover: 0, 0%, 14.9%; + --fo-text-primary-hover: 0 0% 14.9%; --fo-button-hover: theme(colors.zinc.500/0.1); } [data-theme="dark"] { - --fo-vibrancy-foreground: 0, 0%, 83%; + --fo-a: 21.6 100% 50%; + + --fo-vibrancy-foreground: 0 0% 83%; --fo-vibrancy-background: theme(colors.native.active); - --fo-text-primary: 0, 0%, 80%; + --fo-text-primary: 0 0% 80%; --fo-item-active: theme(colors.neutral.600/0.4); --fo-item-hover: theme(colors.neutral.700/0.3); - --fo-inactive: 0, 0%, 50%; - --fo-disabled: 0, 0%, 35%; + --fo-inactive: 0 0% 50%; + --fo-disabled: 0 0% 35%; --fo-background: theme(colors.background); --fo-modal-background: theme(colors.neutral.900/0.8); --fo-modal-background-opaque: theme(colors.neutral.900); - --fo-text-primary-hover: 240, 4.9%, 83.9%; + --fo-text-primary-hover: 240 4.9% 83.9%; --fo-button-hover: theme(colors.neutral.400/0.15); } diff --git a/apps/renderer/src/styles/cursor.css b/apps/renderer/src/styles/cursor.css new file mode 100644 index 000000000..44600e474 --- /dev/null +++ b/apps/renderer/src/styles/cursor.css @@ -0,0 +1,11 @@ +html, +#shadow-html { + --cursor-button: var(--pointer); + --cursor-select: var(--pointer); + --cursor-checkbox: var(--pointer); + --cursor-link: var(--pointer); + --cursor-menu: default; + --cursor-radio: var(--pointer); + --cursor-switch: var(--pointer); + --cursor-card: var(--pointer); +} diff --git a/src/renderer/src/styles/font.css b/apps/renderer/src/styles/font.css similarity index 100% rename from src/renderer/src/styles/font.css rename to apps/renderer/src/styles/font.css diff --git a/src/renderer/src/styles/main.css b/apps/renderer/src/styles/main.css similarity index 86% rename from src/renderer/src/styles/main.css rename to apps/renderer/src/styles/main.css index c2bd55c4e..92f1866ce 100644 --- a/src/renderer/src/styles/main.css +++ b/apps/renderer/src/styles/main.css @@ -4,3 +4,4 @@ @import "./colors.css"; @import "./additional.css"; @import "./scrollbar.css"; +@import "./cursor.css"; diff --git a/src/renderer/src/styles/scrollbar.css b/apps/renderer/src/styles/scrollbar.css similarity index 100% rename from src/renderer/src/styles/scrollbar.css rename to apps/renderer/src/styles/scrollbar.css diff --git a/src/renderer/src/styles/tailwind-extend.css b/apps/renderer/src/styles/tailwind-extend.css similarity index 99% rename from src/renderer/src/styles/tailwind-extend.css rename to apps/renderer/src/styles/tailwind-extend.css index 2f3333145..65be9b392 100644 --- a/src/renderer/src/styles/tailwind-extend.css +++ b/apps/renderer/src/styles/tailwind-extend.css @@ -75,7 +75,7 @@ border-width: 1px; border-color: var(--fallback-bc, theme(colors.theme.accent.DEFAULT)); - --bc: theme(colors.accent.foreground); + --bc: theme(colors.background); --fallback-bc: var(--bc); --chkbg: var(--bc); --fallback-b1: theme(colors.background); diff --git a/src/renderer/src/styles/tailwind.css b/apps/renderer/src/styles/tailwind.css similarity index 100% rename from src/renderer/src/styles/tailwind.css rename to apps/renderer/src/styles/tailwind.css diff --git a/src/renderer/src/tipc.ts b/apps/renderer/src/tipc.ts similarity index 86% rename from src/renderer/src/tipc.ts rename to apps/renderer/src/tipc.ts index 4dee32a73..79ecc9c51 100644 --- a/src/renderer/src/tipc.ts +++ b/apps/renderer/src/tipc.ts @@ -1,5 +1,5 @@ import { createEventHandlers } from "@egoist/tipc/renderer" -import type { RendererHandlers } from "@main/renderer-handlers" +import type { RendererHandlers } from "@follow/electron-main" export const handlers = window.electron ? createEventHandlers({ diff --git a/apps/renderer/tsconfig.json b/apps/renderer/tsconfig.json new file mode 100644 index 000000000..0011f9807 --- /dev/null +++ b/apps/renderer/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "@electron-toolkit/tsconfig/tsconfig.web.json", + "compilerOptions": { + "jsx": "react-jsx", + "moduleResolution": "Bundler", + "target": "ES2022", + "noUnusedLocals": false, + "noUnusedParameters": false, + "strict": true, + "baseUrl": ".", + "noImplicitReturns": false, + "noEmit": true, + "skipLibCheck": true, + "paths": { + "~/*": ["src/*"], + "@pkg": ["../../package.json"], + "@locales/*": ["../../locales/*"] + } + } +} diff --git a/vitest.config.ts b/apps/renderer/vitest.config.ts similarity index 80% rename from vitest.config.ts rename to apps/renderer/vitest.config.ts index f9c937251..27994e24a 100644 --- a/vitest.config.ts +++ b/apps/renderer/vitest.config.ts @@ -3,15 +3,14 @@ import { resolve } from "node:path" import { fileURLToPath } from "node:url" import tsconfigPath from "vite-tsconfig-paths" -import { defineConfig } from "vitest/config" +import { defineProject } from "vitest/config" const pkg = JSON.parse(readFileSync("package.json", "utf8")) const __dirname = fileURLToPath(new URL(".", import.meta.url)) -export default defineConfig({ + +export default defineProject({ root: "./", test: { - include: ["**/*.test.ts", "**/*.spec.ts"], - globals: true, setupFiles: [resolve(__dirname, "./setup-file.ts")], environment: "node", @@ -30,7 +29,7 @@ export default defineConfig({ plugins: [ tsconfigPath({ - projects: [resolve(__dirname, "./tsconfig.json")], + projects: ["./tsconfig.json"], }), ], }) diff --git a/configs/vite.render.config.ts b/configs/vite.render.config.ts index fd53f3af4..9a773c5a7 100644 --- a/configs/vite.render.config.ts +++ b/configs/vite.render.config.ts @@ -7,6 +7,7 @@ import { parse } from "@babel/parser" import * as t from "@babel/types" import { sentryVitePlugin } from "@sentry/vite-plugin" import react from "@vitejs/plugin-react" +import { set } from "lodash-es" import { prerelease } from "semver" import type { Plugin, UserConfig } from "vite" @@ -19,9 +20,9 @@ function localesPlugin(): Plugin { return { name: "locales-merge", enforce: "post", - generateBundle(options, bundle) { + generateBundle(_options, bundle) { const localesDir = path.resolve(__dirname, "../locales") - const namespaces = fs.readdirSync(localesDir) + const namespaces = fs.readdirSync(localesDir).filter((dir) => dir !== ".DS_Store") const languageResources = {} namespaces.forEach((namespace) => { @@ -36,12 +37,21 @@ function localesPlugin(): Plugin { if (!languageResources[lang]) { languageResources[lang] = {} } - languageResources[lang][namespace] = content + + const obj = {} + + const keys = Object.keys(content as object) + for (const accessorKey of keys) { + set(obj, accessorKey, (content as any)[accessorKey]) + } + + languageResources[lang][namespace] = obj }) }) Object.entries(languageResources).forEach(([lang, resources]) => { const fileName = `locales/${lang}.js` + const content = `export default ${JSON.stringify(resources)};` this.emitFile({ @@ -85,11 +95,10 @@ function customI18nHmrPlugin(): Plugin { export const viteRenderBaseConfig = { resolve: { alias: { - "@renderer": resolve("src/renderer/src"), - "@shared": resolve("src/shared/src"), - "@pkg": resolve("./package.json"), - "@env": resolve("./src/env.ts"), - "@locales": resolve("./locales"), + "~": resolve("apps/renderer/src"), + "@pkg": resolve("package.json"), + "@locales": resolve("locales"), + "@follow/electron-main": resolve("apps/main/src"), }, }, base: "/", diff --git a/electron.vite.config.ts b/electron.vite.config.ts index aa70d4350..0b8f0eacb 100644 --- a/electron.vite.config.ts +++ b/electron.vite.config.ts @@ -6,28 +6,48 @@ import { viteRenderBaseConfig } from "./configs/vite.render.config" export default defineConfig({ main: { + build: { + outDir: "dist/main", + lib: { + entry: "./apps/main/src/index.ts", + }, + }, resolve: { alias: { - "@shared": resolve("src/shared/src"), - "@env": resolve("./src/env.ts"), + "@shared": resolve("packages/shared/src"), "@pkg": resolve("./package.json"), + "@locales": resolve("./locales"), + "~": resolve("./apps/main/src"), }, }, }, preload: { + build: { + outDir: "dist/preload", + lib: { + entry: "./apps/main/preload/index.ts", + }, + }, resolve: { alias: { - "@env": resolve("./src/env.ts"), "@pkg": resolve("./package.json"), + "@locales": resolve("./locales"), }, }, }, renderer: { ...viteRenderBaseConfig, + root: "apps/renderer", build: { + outDir: "dist/renderer", sourcemap: !!process.env.CI, target: "esnext", + rollupOptions: { + input: { + main: resolve("./apps/renderer/index.html"), + }, + }, }, define: { ...viteRenderBaseConfig.define, diff --git a/eslint.config.mjs b/eslint.config.mjs index 8f4c53767..04a200c7e 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -5,7 +5,12 @@ export default defineConfig( { formatting: false, lessOpinionated: true, - ignores: ["src/renderer/src/hono.ts", "src/hono.ts", "resources/**"], + ignores: [ + "src/renderer/src/hono.ts", + "src/hono.ts", + "packages/shared/src/hono.ts", + "resources/**", + ], preferESM: false, }, { diff --git a/icons/mgc/compass_3_cute_re.svg b/icons/mgc/compass_3_cute_re.svg new file mode 100644 index 000000000..1a71a5483 --- /dev/null +++ b/icons/mgc/compass_3_cute_re.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/mgc/compass_cute_fi.svg b/icons/mgc/compass_cute_fi.svg new file mode 100644 index 000000000..2da00c491 --- /dev/null +++ b/icons/mgc/compass_cute_fi.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/mgc/edit_cute_re.svg b/icons/mgc/edit_cute_re.svg new file mode 100644 index 000000000..b14c7754e --- /dev/null +++ b/icons/mgc/edit_cute_re.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/mgc/inbox_cute_re.svg b/icons/mgc/inbox_cute_re.svg new file mode 100644 index 000000000..9a80024ac --- /dev/null +++ b/icons/mgc/inbox_cute_re.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/mgc/rada_cute_fi.svg b/icons/mgc/rada_cute_fi.svg new file mode 100644 index 000000000..117e4a5ac --- /dev/null +++ b/icons/mgc/rada_cute_fi.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/mgc/rada_cute_re.svg b/icons/mgc/rada_cute_re.svg new file mode 100644 index 000000000..67ac9fce9 --- /dev/null +++ b/icons/mgc/rada_cute_re.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/mgc/trophy_cute_re.svg b/icons/mgc/trophy_cute_re.svg new file mode 100644 index 000000000..e6e3297b6 --- /dev/null +++ b/icons/mgc/trophy_cute_re.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/locales/app/ar-DZ.json b/locales/app/ar-DZ.json new file mode 100644 index 000000000..cd7e015c1 --- /dev/null +++ b/locales/app/ar-DZ.json @@ -0,0 +1,207 @@ +{ + "ai_daily.title": "أهم الأخبار - {{title}}", + "ai_daily.tooltip.content": "هذه الأخبار مختارة بواسطة الذكاء الاصطناعي من جدولك الزمني ( - ) والتي قد تكون مهمة بالنسبة لك.", + "ai_daily.tooltip.update_schedule": "يتم التحديث يوميًا في الساعة 8 صباحًا و 8 مساءً.", + "app.app_name": "APP_NAME", + "app.copy_logo_svg": "نسخ الشعار SVG", + "app.toggle_sidebar": "تبديل الشريط الجانبي", + "discover.any_url_or_keyword": "أي رابط أو كلمة مفتاحية", + "discover.default_option": " (افتراضي)", + "discover.feed_description": "وصف هذا الخلاصة كما يلي، يمكنك تعبئة نموذج المعلمات بالمعلومات ذات الصلة.", + "discover.feed_maintainers": "هذه الخلاصة مقدمة من RSSHub، مع الشكر إلى ", + "discover.import.click_to_upload": "اضغط لتحميل ملف OPML", + "discover.popular": "شائع", + "discover.preview": "معاينة", + "discover.rss_hub_route": "مسار RSSHub", + "discover.rss_url": "رابط RSS", + "discover.select_placeholder": "اختر", + "early_access": "الوصول المبكر", + "entry_actions.copy_link": "نسخ الرابط", + "entry_actions.failed_to_save_to_eagle": "فشل في الحفظ إلى Eagle.", + "entry_actions.failed_to_save_to_instapaper": "فشل في الحفظ إلى Instapaper.", + "entry_actions.failed_to_save_to_readwise": "فشل في الحفظ إلى Readwise.", + "entry_actions.link_copied": "تم نسخ الرابط إلى الحافظة.", + "entry_actions.mark_as_read": "تحديد كمقروء", + "entry_actions.mark_as_unread": "تحديد كغير مقروء", + "entry_actions.open_in_browser": "فتح في المتصفح", + "entry_actions.save_media_to_eagle": "حفظ الوسائط إلى Eagle", + "entry_actions.save_to_instapaper": "حفظ إلى Instapaper", + "entry_actions.save_to_readwise": "حفظ إلى Readwise", + "entry_actions.saved_to_eagle": "تم الحفظ إلى Eagle.", + "entry_actions.saved_to_instapaper": "تم الحفظ إلى Instapaper.", + "entry_actions.saved_to_readwise": "تم الحفظ إلى Readwise.", + "entry_actions.share": "مشاركة", + "entry_actions.star": "تمييز بنجمة", + "entry_actions.starred": "تم التمييز بنجمة.", + "entry_actions.tip": "إكرامية", + "entry_actions.unstar": "إلغاء التمييز بنجمة", + "entry_actions.unstarred": "تم إلغاء التمييز بنجمة.", + "entry_column.refreshing": "تحديث الإدخالات الجديدة...", + "entry_content.ai_summary": "ملخص AI", + "entry_content.fetching_content": "جلب المحتوى الأصلي والمعالجة...", + "entry_content.header.play_tts": "تشغيل النص إلى كلام", + "entry_content.header.readability": "قابلية القراءة", + "entry_content.no_content": "لا يوجد محتوى", + "entry_content.readability_notice": "هذا المحتوى مقدم من Readability. إذا وجدت أخطاء مطبعية، يرجى زيارة الموقع الأصلي لعرض المحتوى الأصلي.", + "entry_content.render_error": "خطأ في العرض:", + "entry_content.report_issue": "الإبلاغ عن مشكلة", + "entry_content.web_app_notice": "قد لا يدعم التطبيق الويب هذا النوع من المحتوى. ولكن يمكنك تنزيل تطبيق سطح المكتب.", + "entry_list.zero_unread": "لا توجد رسائل غير مقروءة", + "entry_list_header.daily_report": "التقرير اليومي", + "entry_list_header.hide_no_image_items": "إخفاء العناصر بدون صور", + "entry_list_header.items": "عناصر", + "entry_list_header.new_entries_available": "إدخالات جديدة متاحة", + "entry_list_header.refetch": "إعادة الجلب", + "entry_list_header.refresh": "تحديث", + "entry_list_header.show_all": "عرض الكل", + "entry_list_header.show_all_items": "عرض جميع العناصر", + "entry_list_header.show_unread_only": "عرض غير المقروء فقط", + "entry_list_header.switch_to_grid": "التبديل إلى الشبكة", + "entry_list_header.switch_to_masonry": "التبديل إلى الموزايك", + "entry_list_header.unread": "غير مقروء", + "feed_claim_modal.choose_verification_method": "هناك ثلاث طرق للاختيار منها، يمكنك اختيار واحدة منها للتحقق.", + "feed_claim_modal.claim_button": "مطالبة", + "feed_claim_modal.content_instructions": "انسخ المحتوى أدناه وقم بنشره في آخر خلاصة RSS الخاصة بك.", + "feed_claim_modal.description_current": "الوصف الحالي:", + "feed_claim_modal.description_instructions": "انسخ المحتوى التالي وألصقه في حقل لخلاصة RSS الخاصة بك.", + "feed_claim_modal.failed_to_load": "فشل في تحميل رسالة المطالبة", + "feed_claim_modal.rss_format_choice": "مولدات RSS عادةً لديها صيغتين للاختيار منهما. يرجى نسخ صيغة XML وJSON أدناه حسب الحاجة.", + "feed_claim_modal.rss_instructions": "انسخ الرمز أدناه وألصقه في مولد RSS الخاص بك.", + "feed_claim_modal.rss_json_format": "صيغة JSON", + "feed_claim_modal.rss_xml_format": "صيغة XML", + "feed_claim_modal.rsshub_notice": "هذه الخلاصة مقدمة من RSSHub مع وقت تخزين مؤقت لمدة ساعة واحدة. يرجى الانتظار حتى ساعة لظهور التغييرات بعد نشر المحتوى.", + "feed_claim_modal.tab_content": "المحتوى", + "feed_claim_modal.tab_description": "الوصف", + "feed_claim_modal.tab_rss": "علامة RSS", + "feed_claim_modal.verify_ownership": "للمطالبة بهذه الخلاصة على أنها ملكك، يجب عليك التحقق من الملكية.", + "feed_form.add_follow": "إضافة متابعة", + "feed_form.category": "الفئة", + "feed_form.category_description": "بشكل افتراضي، سيتم تجميع متابعاتك حسب الموقع.", + "feed_form.error_fetching_feed": "حدث خطأ في جلب الخلاصة.", + "feed_form.feed_not_found": "لم يتم العثور على الخلاصة.", + "feed_form.feedback": "ملاحظات", + "feed_form.follow": "متابعة", + "feed_form.followed": "🎉 تمت المتابعة.", + "feed_form.private_follow": "متابعة خاصة", + "feed_form.private_follow_description": "ما إذا كانت هذه المتابعة مرئية بشكل عام في صفحة ملفك الشخصي.", + "feed_form.retry": "إعادة المحاولة", + "feed_form.title": "العنوان", + "feed_form.title_description": "عنوان مخصص لهذه الخلاصة. اتركه فارغًا لاستخدام العنوان الافتراضي.", + "feed_form.unfollow": "إلغاء المتابعة", + "feed_form.update": "تحديث", + "feed_form.update_follow": "تحديث المتابعة", + "feed_form.updated": "🎉 تم التحديث.", + "feed_form.view": "عرض", + "feed_item.claimed_by_owner": "تمت المطالبة بهذه الخلاصة بواسطة", + "feed_item.claimed_by_unknown": "صاحبها.", + "feed_item.claimed_by_you": "مطالب بها من قبلك", + "feed_item.claimed_feed": "خلاصة مطالبة", + "feed_item.error_since": "خطأ منذ", + "feed_item.not_publicly_visible": "غير مرئية بشكل عام في صفحة ملفك الشخصي", + "feed_view_type.articles": "مقالات", + "feed_view_type.audios": "ملفات صوتية", + "feed_view_type.notifications": "إشعارات", + "feed_view_type.pictures": "صور", + "feed_view_type.social_media": "وسائل التواصل الاجتماعي", + "feed_view_type.videos": "فيديوهات", + "mark_all_read_button.auto_confirm_info": "سيتم التأكيد تلقائيًا بعد 3 ثوانٍ.", + "mark_all_read_button.confirm": "تأكيد", + "mark_all_read_button.confirm_mark_all": "هل تريد تحديد {{which}} كمقروء؟", + "mark_all_read_button.confirm_mark_all_info": "تأكيد تحديد الكل كمقروء؟", + "mark_all_read_button.mark_all_as_read": "تحديد الكل كمقروء", + "mark_all_read_button.mark_as_read": "تحديد {{which}} كمقروء", + "mark_all_read_button.undo": "تراجع", + "player.back_10s": "للخلف 10 ثوانٍ", + "player.close": "إغلاق", + "player.download": "تحميل", + "player.exit_full_screen": "الخروج من الشاشة الكاملة", + "player.forward_10s": "للأمام 10 ثوانٍ", + "player.full_screen": "شاشة كاملة", + "player.mute": "كتم", + "player.open_entry": "فتح الإدخال", + "player.pause": "إيقاف مؤقت", + "player.play": "تشغيل", + "player.playback_rate": "سرعة التشغيل", + "player.unmute": "إلغاء الكتم", + "player.volume": "الصوت", + "search.empty.no_results": "لم يتم العثور على نتائج.", + "search.group.entries": "إدخالات", + "search.group.feeds": "خلاصات", + "search.options.all": "الكل", + "search.options.entries": "إدخالات", + "search.options.feeds": "خلاصات", + "search.options.search_type": "نوع البحث", + "search.placeholder": "بحث...", + "search.result_count_local_mode": "(وضع محلي)", + "search.tooltip.local_search": "يغطي هذا البحث البيانات المتاحة محليًا. حاول إعادة الجلب لتضمين البيانات الأحدث.", + "shortcuts.guide.title": "دليل الاختصارات", + "sidebar.category_remove_dialog.cancel": "إلغاء", + "sidebar.category_remove_dialog.continue": "استمرار", + "sidebar.category_remove_dialog.description": "ستقوم هذه العملية بحذف الفئة، ولكن سيتم الاحتفاظ بالخلاصات التي تحتويها وتجميعها حسب الموقع.", + "sidebar.category_remove_dialog.title": "إزالة الفئة", + "sidebar.feed_actions.claim": "مطالبة", + "sidebar.feed_actions.claim_feed": "المطالبة بالخلاصة", + "sidebar.feed_actions.copy_feed_id": "نسخ معرف الخلاصة", + "sidebar.feed_actions.copy_feed_url": "نسخ رابط الخلاصة", + "sidebar.feed_actions.edit": "تحرير", + "sidebar.feed_actions.edit_feed": "تحرير الخلاصة", + "sidebar.feed_actions.feed_owned_by_you": "هذه الخلاصة مملوكة لك", + "sidebar.feed_actions.mark_all_as_read": "تحديد الكل كمقروء", + "sidebar.feed_actions.navigate_to_feed": "الانتقال إلى الخلاصة", + "sidebar.feed_actions.open_feed_in_browser": "فتح الخلاصة في المتصفح", + "sidebar.feed_actions.open_site_in_browser": "فتح الموقع في المتصفح", + "sidebar.feed_actions.unfollow": "إلغاء المتابعة", + "sidebar.feed_actions.unfollow_feed": "إلغاء متابعة الخلاصة", + "sidebar.feed_column.context_menu.change_to_other_view": "التغيير إلى عرض آخر", + "sidebar.feed_column.context_menu.delete_category": "حذف الفئة", + "sidebar.feed_column.context_menu.delete_category_confirmation": "حذف الفئة {{folderName}}؟", + "sidebar.feed_column.context_menu.mark_as_read": "تحديد كمقروء", + "sidebar.feed_column.context_menu.rename_category": "إعادة تسمية الفئة", + "sidebar.select_sort_method": "اختيار طريقة الترتيب", + "signin.continue_with_github": "المتابعة باستخدام GitHub", + "signin.continue_with_google": "المتابعة باستخدام Google", + "signin.sign_in_to": "تسجيل الدخول إلى", + "sync_indicator.disabled": "بسبب أسباب أمنية، تم تعطيل المزامنة.", + "sync_indicator.offline": "غير متصل", + "sync_indicator.synced": "تمت المزامنة مع الخادم", + "tip_modal.amount": "المبلغ", + "tip_modal.claim_feed": "المطالبة بهذه الخلاصة", + "tip_modal.create_wallet": "إنشاء مجانًا", + "tip_modal.feed_owner": "مالك الخلاصة", + "tip_modal.low_balance": "رصيدك غير كافٍ لتغطية هذه الإكرامية. يرجى ضبط المبلغ.", + "tip_modal.no_wallet": "ليس لديك محفظة بعد. يرجى إنشاء محفظة لتقديم الإكرامية.", + "tip_modal.tip_amount_sent": "تم إرسال {{amount}} إلى المؤلف.", + "tip_modal.tip_now": "قدّم إكرامية الآن", + "tip_modal.tip_sent": "تم إرسال الإكرامية بنجاح! شكرًا لدعمك.", + "tip_modal.tip_support": "⭐ قدم إكرامية لإظهار دعمك!", + "tip_modal.unclaimed_feed": "لم يطالب أحد بهذه الخلاصة بعد. سيتم الاحتفاظ بالقوة المستلمة بأمان في عقد البلوكشين حتى يتم المطالبة بها.", + "user_button.account": "الحساب", + "user_button.download_desktop_app": "تحميل تطبيق سطح المكتب", + "user_button.log_out": "تسجيل الخروج", + "user_button.power": "القوة", + "user_button.preferences": "التفضيلات", + "user_button.profile": "الملف الشخصي", + "user_profile.close": "إغلاق", + "user_profile.edit": "تحرير", + "user_profile.loading": "جار التحميل", + "user_profile.share": "مشاركة", + "user_profile.toggle_item_style": "تبديل نمط العنصر", + "words.add": "إضافة", + "words.confirm": "تأكيد", + "words.discover": "استكشاف", + "words.email": "البريد الإلكتروني", + "words.import": "استيراد", + "words.items": "العناصر", + "words.language": "اللغة", + "words.load_archived_entries": "تحميل الإدخالات المؤرشفة", + "words.login": "تسجيل الدخول", + "words.rss": "RSS", + "words.rss3": "RSS3", + "words.rsshub": "RSSHub", + "words.search": "بحث", + "words.starred": "مميزة بنجمة", + "words.unread": "غير مقروء", + "words.user": "المستخدم", + "words.which.all": "الكل", + "words.zero_items": "صفر عناصر" +} diff --git a/locales/app/ar-MA.json b/locales/app/ar-MA.json new file mode 100644 index 000000000..0088eaca9 --- /dev/null +++ b/locales/app/ar-MA.json @@ -0,0 +1,207 @@ +{ + "ai_daily.title": "أهم الأخبار - {{title}}", + "ai_daily.tooltip.content": "إليك الأخبار التي تم اختيارها من قِبل الذكاء الاصطناعي من جدولك الزمني ( - ) والتي قد تكون مهمة بالنسبة لك.", + "ai_daily.tooltip.update_schedule": "تحديث يومي في الساعة 8 صباحًا و 8 مساءً.", + "app.app_name": "APP_NAME", + "app.copy_logo_svg": "نسخ شعار SVG", + "app.toggle_sidebar": "تبديل الشريط الجانبي", + "discover.any_url_or_keyword": "أي رابط أو كلمة مفتاحية", + "discover.default_option": " (افتراضي)", + "discover.feed_description": "وصف هذه التغذية كما يلي، ويمكنك تعبئة نموذج المعايير بالمعلومات ذات الصلة.", + "discover.feed_maintainers": "يتم تقديم هذه التغذية من قبل RSSHub، مع شكر ", + "discover.import.click_to_upload": "انقر لتحميل ملف OPML", + "discover.popular": "شائع", + "discover.preview": "معاينة", + "discover.rss_hub_route": "مسار RSSHub", + "discover.rss_url": "رابط RSS", + "discover.select_placeholder": "اختر", + "early_access": "الوصول المبكر", + "entry_actions.copy_link": "نسخ الرابط", + "entry_actions.failed_to_save_to_eagle": "فشل الحفظ إلى Eagle.", + "entry_actions.failed_to_save_to_instapaper": "فشل الحفظ إلى Instapaper.", + "entry_actions.failed_to_save_to_readwise": "فشل الحفظ إلى Readwise.", + "entry_actions.link_copied": "تم نسخ الرابط إلى الحافظة.", + "entry_actions.mark_as_read": "وضع علامة كمقروء", + "entry_actions.mark_as_unread": "وضع علامة كغير مقروء", + "entry_actions.open_in_browser": "فتح في المتصفح", + "entry_actions.save_media_to_eagle": "حفظ الوسائط إلى Eagle", + "entry_actions.save_to_instapaper": "حفظ إلى Instapaper", + "entry_actions.save_to_readwise": "حفظ إلى Readwise", + "entry_actions.saved_to_eagle": "تم الحفظ إلى Eagle.", + "entry_actions.saved_to_instapaper": "تم الحفظ إلى Instapaper.", + "entry_actions.saved_to_readwise": "تم الحفظ إلى Readwise.", + "entry_actions.share": "مشاركة", + "entry_actions.star": "إضافة إلى المفضلة", + "entry_actions.starred": "مضاف إلى المفضلة.", + "entry_actions.tip": "إكرامية", + "entry_actions.unstar": "إزالة من المفضلة", + "entry_actions.unstarred": "تمت إزالته من المفضلة.", + "entry_column.refreshing": "تحديث الإدخالات الجديدة...", + "entry_content.ai_summary": "ملخص الذكاء الاصطناعي", + "entry_content.fetching_content": "جاري جلب المحتوى الأصلي ومعالجته...", + "entry_content.header.play_tts": "تشغيل النص إلى كلام", + "entry_content.header.readability": "سهولة القراءة", + "entry_content.no_content": "لا يوجد محتوى", + "entry_content.readability_notice": "تم توفير هذا المحتوى من قِبل Readability. إذا وجدت أي أخطاء في النص، يرجى زيارة الموقع المصدر لعرض المحتوى الأصلي.", + "entry_content.render_error": "خطأ في العرض:", + "entry_content.report_issue": "الإبلاغ عن مشكلة", + "entry_content.web_app_notice": "قد لا يدعم التطبيق الويب هذا النوع من المحتويات. ولكن يمكنك تحميل تطبيق سطح المكتب.", + "entry_list.zero_unread": "لا يوجد غير مقروء", + "entry_list_header.daily_report": "التقرير اليومي", + "entry_list_header.hide_no_image_items": "إخفاء الإدخالات التي لا تحتوي على صور", + "entry_list_header.items": "إدخالات", + "entry_list_header.new_entries_available": "إدخالات جديدة متاحة", + "entry_list_header.refetch": "إعادة التحميل", + "entry_list_header.refresh": "تحديث", + "entry_list_header.show_all": "عرض الكل", + "entry_list_header.show_all_items": "عرض جميع الإدخالات", + "entry_list_header.show_unread_only": "عرض غير المقروء فقط", + "entry_list_header.switch_to_grid": "التبديل إلى العرض الشبكي", + "entry_list_header.switch_to_masonry": "التبديل إلى عرض المربعات", + "entry_list_header.unread": "غير مقروء", + "feed_claim_modal.choose_verification_method": "هناك ثلاث طرق للتحقق، يمكنك اختيار واحدة منها.", + "feed_claim_modal.claim_button": "المطالبة", + "feed_claim_modal.content_instructions": "انسخ المحتوى أدناه وقم بنشره في أحدث موجز RSS الخاص بك.", + "feed_claim_modal.description_current": "الوصف الحالي:", + "feed_claim_modal.description_instructions": "انسخ المحتوى التالي والصقه في حقل من موجز RSS الخاص بك.", + "feed_claim_modal.failed_to_load": "فشل في تحميل رسالة المطالبة", + "feed_claim_modal.rss_format_choice": "عادةً ما تكون هناك صيغان لتوليد RSS. يرجى نسخ صيغ XML و JSON أدناه حسب الحاجة.", + "feed_claim_modal.rss_instructions": "انسخ الكود أدناه والصقه في مولد RSS الخاص بك.", + "feed_claim_modal.rss_json_format": "تنسيق JSON", + "feed_claim_modal.rss_xml_format": "تنسيق XML", + "feed_claim_modal.rsshub_notice": "يتم توفير هذا الموجز من قبل RSSHub مع مدة تخزين مؤقت تبلغ ساعة واحدة. يرجى الانتظار حتى ساعة لرؤية التغييرات بعد نشر المحتوى.", + "feed_claim_modal.tab_content": "المحتوى", + "feed_claim_modal.tab_description": "الوصف", + "feed_claim_modal.tab_rss": "علامة RSS", + "feed_claim_modal.verify_ownership": "للمطالبة بهذا الموجز على أنه ملكك، تحتاج إلى التحقق من الملكية.", + "feed_form.add_follow": "إضافة متابعة", + "feed_form.category": "فئة", + "feed_form.category_description": "افتراضيًا، سيتم تجميع متابعاتك حسب الموقع.", + "feed_form.error_fetching_feed": "حدث خطأ في جلب الموجز.", + "feed_form.feed_not_found": "الموجز غير موجود.", + "feed_form.feedback": "التغذية الراجعة", + "feed_form.follow": "متابعة", + "feed_form.followed": "🎉 تم المتابعة.", + "feed_form.private_follow": "متابعة خاصة", + "feed_form.private_follow_description": "ما إذا كانت هذه المتابعة مرئية علنًا في صفحة ملفك الشخصي.", + "feed_form.retry": "إعادة المحاولة", + "feed_form.title": "العنوان", + "feed_form.title_description": "العنوان المخصص لهذا الموجز. اتركه فارغًا لاستخدام الافتراضي.", + "feed_form.unfollow": "إلغاء المتابعة", + "feed_form.update": "تحديث", + "feed_form.update_follow": "تحديث المتابعة", + "feed_form.updated": "🎉 تم التحديث.", + "feed_form.view": "عرض", + "feed_item.claimed_by_owner": "تمت المطالبة بهذا الموجز من قبل", + "feed_item.claimed_by_unknown": "صاحبه.", + "feed_item.claimed_by_you": "تمت المطالبة به من قبلك", + "feed_item.claimed_feed": "الموجز المُطالب به", + "feed_item.error_since": "خطأ منذ", + "feed_item.not_publicly_visible": "غير مرئي علنًا في صفحة ملفك الشخصي", + "feed_view_type.articles": "مقالات", + "feed_view_type.audios": "ملفات صوتية", + "feed_view_type.notifications": "إشعارات", + "feed_view_type.pictures": "صور", + "feed_view_type.social_media": "وسائل التواصل الاجتماعي", + "feed_view_type.videos": "فيديوهات", + "mark_all_read_button.auto_confirm_info": "سيتم التأكيد تلقائيًا بعد 3 ثوانٍ.", + "mark_all_read_button.confirm": "تأكيد", + "mark_all_read_button.confirm_mark_all": "وضع علامة على {{which}} كمقروء؟", + "mark_all_read_button.confirm_mark_all_info": "تأكيد وضع علامة على الكل كمقروء؟", + "mark_all_read_button.mark_all_as_read": "وضع علامة على الكل كمقروء", + "mark_all_read_button.mark_as_read": "وضع علامة على {{which}} كمقروء", + "mark_all_read_button.undo": "تراجع", + "player.back_10s": "العودة 10 ثوانٍ", + "player.close": "إغلاق", + "player.download": "تحميل", + "player.exit_full_screen": "الخروج من وضع ملء الشاشة", + "player.forward_10s": "التقديم 10 ثوانٍ", + "player.full_screen": "ملء الشاشة", + "player.mute": "كتم الصوت", + "player.open_entry": "فتح الإدخال", + "player.pause": "إيقاف مؤقت", + "player.play": "تشغيل", + "player.playback_rate": "معدل التشغيل", + "player.unmute": "إلغاء كتم الصوت", + "player.volume": "الصوت", + "search.empty.no_results": "لم يتم العثور على نتائج.", + "search.group.entries": "إدخالات", + "search.group.feeds": "موجزات", + "search.options.all": "الكل", + "search.options.entries": "إدخالات", + "search.options.feeds": "موجزات", + "search.options.search_type": "نوع البحث", + "search.placeholder": "بحث...", + "search.result_count_local_mode": "(الوضع المحلي)", + "search.tooltip.local_search": "يغطي هذا البحث البيانات المتاحة محليًا. جرب إعادة التحميل لتضمين أحدث البيانات.", + "shortcuts.guide.title": "دليل الاختصارات", + "sidebar.category_remove_dialog.cancel": "إلغاء", + "sidebar.category_remove_dialog.continue": "متابعة", + "sidebar.category_remove_dialog.description": "ستؤدي هذه العملية إلى حذف الفئة الخاصة بك، ولكن ستظل الموجزات التي تحتويها محفوظة ومجمعة حسب الموقع.", + "sidebar.category_remove_dialog.title": "إزالة الفئة", + "sidebar.feed_actions.claim": "المطالبة", + "sidebar.feed_actions.claim_feed": "المطالبة بالموجز", + "sidebar.feed_actions.copy_feed_id": "نسخ معرف الموجز", + "sidebar.feed_actions.copy_feed_url": "نسخ رابط الموجز", + "sidebar.feed_actions.edit": "تعديل", + "sidebar.feed_actions.edit_feed": "تعديل الموجز", + "sidebar.feed_actions.feed_owned_by_you": "هذا الموجز مملوك لك", + "sidebar.feed_actions.mark_all_as_read": "وضع علامة على الكل كمقروء", + "sidebar.feed_actions.navigate_to_feed": "التنقل إلى الموجز", + "sidebar.feed_actions.open_feed_in_browser": "فتح الموجز في المتصفح", + "sidebar.feed_actions.open_site_in_browser": "فتح الموقع في المتصفح", + "sidebar.feed_actions.unfollow": "إلغاء المتابعة", + "sidebar.feed_actions.unfollow_feed": "إلغاء متابعة الموجز", + "sidebar.feed_column.context_menu.change_to_other_view": "تغيير إلى عرض آخر", + "sidebar.feed_column.context_menu.delete_category": "حذف الفئة", + "sidebar.feed_column.context_menu.delete_category_confirmation": "هل تريد حذف الفئة {{folderName}}؟", + "sidebar.feed_column.context_menu.mark_as_read": "وضع علامة كمقروء", + "sidebar.feed_column.context_menu.rename_category": "إعادة تسمية الفئة", + "sidebar.select_sort_method": "اختر طريقة الترتيب", + "signin.continue_with_github": "متابعة باستخدام GitHub", + "signin.continue_with_google": "متابعة باستخدام Google", + "signin.sign_in_to": "تسجيل الدخول إلى", + "sync_indicator.disabled": "بسبب الأسباب الأمنية، تم تعطيل المزامنة.", + "sync_indicator.offline": "غير متصل", + "sync_indicator.synced": "تمت المزامنة مع الخادم", + "tip_modal.amount": "المبلغ", + "tip_modal.claim_feed": "المطالبة بهذا الموجز", + "tip_modal.create_wallet": "إنشاء مجانًا", + "tip_modal.feed_owner": "مالك الموجز", + "tip_modal.low_balance": "رصيدك غير كاف لتغطية هذه الإكرامية. يرجى تعديل المبلغ.", + "tip_modal.no_wallet": "ليس لديك محفظة بعد. يرجى إنشاء محفظة لإكرامية.", + "tip_modal.tip_amount_sent": "تم إرسال المبلغ إلى المؤلف.", + "tip_modal.tip_now": "إكرامية الآن", + "tip_modal.tip_sent": "تم إرسال الإكرامية بنجاح! شكرًا على دعمك.", + "tip_modal.tip_support": "⭐ إكرامية لدعمك!", + "tip_modal.unclaimed_feed": "لم يطالب أحد بهذا الموجز بعد. سيتم الاحتفاظ بالمبلغ المستلم بأمان في عقد البلوكشين حتى يتم المطالبة به.", + "user_button.account": "الحساب", + "user_button.download_desktop_app": "تحميل تطبيق سطح المكتب", + "user_button.log_out": "تسجيل الخروج", + "user_button.power": "الطاقة", + "user_button.preferences": "التفضيلات", + "user_button.profile": "الملف الشخصي", + "user_profile.close": "إغلاق", + "user_profile.edit": "تعديل", + "user_profile.loading": "جار التحميل", + "user_profile.share": "مشاركة", + "user_profile.toggle_item_style": "تبديل نمط الإدخال", + "words.add": "إضافة", + "words.confirm": "تأكيد", + "words.discover": "استكشاف", + "words.email": "البريد الإلكتروني", + "words.import": "استيراد", + "words.items": "عناصر", + "words.language": "اللغة", + "words.load_archived_entries": "تحميل الإدخالات المؤرشفة", + "words.login": "تسجيل الدخول", + "words.rss": "RSS", + "words.rss3": "RSS3", + "words.rsshub": "RSSHub", + "words.search": "بحث", + "words.starred": "المفضلة", + "words.unread": "غير مقروء", + "words.user": "المستخدم", + "words.which.all": "الكل", + "words.zero_items": "صفر عناصر" +} diff --git a/locales/app/ar-SA.json b/locales/app/ar-SA.json new file mode 100644 index 000000000..88513247c --- /dev/null +++ b/locales/app/ar-SA.json @@ -0,0 +1,207 @@ +{ + "ai_daily.title": "أهم الأخبار - {{title}}", + "ai_daily.tooltip.content": "إليك الأخبار التي تم اختيارها بواسطة الذكاء الاصطناعي من خطك الزمني ( - ) والتي قد تكون مهمة بالنسبة لك.", + "ai_daily.tooltip.update_schedule": "يتم التحديث يوميًا في الساعة 8 صباحًا و8 مساءً.", + "app.app_name": "APP_NAME", + "app.copy_logo_svg": "نسخ شعار SVG", + "app.toggle_sidebar": "تبديل الشريط الجانبي", + "discover.any_url_or_keyword": "أي عنوان URL أو كلمة مفتاحية", + "discover.default_option": "(افتراضي)", + "discover.feed_description": "وصف هذا الخلاصة كما يلي، ويمكنك ملء نموذج المعلمات بالمعلومات ذات الصلة.", + "discover.feed_maintainers": "هذه الخلاصة مقدمة من RSSHub، بالشكر لـ ", + "discover.import.click_to_upload": "انقر لتحميل ملف OPML", + "discover.popular": "شائع", + "discover.preview": "معاينة", + "discover.rss_hub_route": "مسار RSSHub", + "discover.rss_url": "عنوان URL لخلاصة RSS", + "discover.select_placeholder": "اختيار", + "early_access": "الوصول المبكر", + "entry_actions.copy_link": "نسخ الرابط", + "entry_actions.failed_to_save_to_eagle": "فشل في الحفظ إلى Eagle.", + "entry_actions.failed_to_save_to_instapaper": "فشل في الحفظ إلى Instapaper.", + "entry_actions.failed_to_save_to_readwise": "فشل في الحفظ إلى Readwise.", + "entry_actions.link_copied": "تم نسخ الرابط إلى الحافظة.", + "entry_actions.mark_as_read": "تحديد كمقروء", + "entry_actions.mark_as_unread": "تحديد كغير مقروء", + "entry_actions.open_in_browser": "فتح في المتصفح", + "entry_actions.save_media_to_eagle": "حفظ الوسائط إلى Eagle", + "entry_actions.save_to_instapaper": "حفظ إلى Instapaper", + "entry_actions.save_to_readwise": "حفظ إلى Readwise", + "entry_actions.saved_to_eagle": "تم الحفظ إلى Eagle.", + "entry_actions.saved_to_instapaper": "تم الحفظ إلى Instapaper.", + "entry_actions.saved_to_readwise": "تم الحفظ إلى Readwise.", + "entry_actions.share": "مشاركة", + "entry_actions.star": "تمييز", + "entry_actions.starred": "مميز.", + "entry_actions.tip": "إكرامية", + "entry_actions.unstar": "إلغاء التمييز", + "entry_actions.unstarred": "تم إلغاء التمييز.", + "entry_column.refreshing": "تحديث الإدخالات الجديدة...", + "entry_content.ai_summary": "ملخص بواسطة الذكاء الاصطناعي", + "entry_content.fetching_content": "جلب المحتوى الأصلي ومعالجته...", + "entry_content.header.play_tts": "تشغيل النص إلى كلام", + "entry_content.header.readability": "سهولة القراءة", + "entry_content.no_content": "لا يوجد محتوى", + "entry_content.readability_notice": "يتم تقديم هذا المحتوى بواسطة Readability. إذا وجدت أخطاءً كتابية، يرجى زيارة الموقع الأصلي لعرض المحتوى.", + "entry_content.render_error": "خطأ في العرض:", + "entry_content.report_issue": "الإبلاغ عن مشكلة", + "entry_content.web_app_notice": "ربما لا يدعم تطبيق الويب هذا النوع من المحتوى. يمكنك تنزيل تطبيق سطح المكتب.", + "entry_list.zero_unread": "لا يوجد غير مقروء", + "entry_list_header.daily_report": "التقرير اليومي", + "entry_list_header.hide_no_image_items": "إخفاء العناصر التي لا تحتوي على صور", + "entry_list_header.items": "العناصر", + "entry_list_header.new_entries_available": "توجد إدخالات جديدة", + "entry_list_header.refetch": "إعادة التحميل", + "entry_list_header.refresh": "تحديث", + "entry_list_header.show_all": "عرض الكل", + "entry_list_header.show_all_items": "عرض جميع العناصر", + "entry_list_header.show_unread_only": "عرض غير المقروء فقط", + "entry_list_header.switch_to_grid": "التبديل إلى العرض الشبكي", + "entry_list_header.switch_to_masonry": "التبديل إلى العرض المتدرج", + "entry_list_header.unread": "غير مقروء", + "feed_claim_modal.choose_verification_method": "هناك ثلاث طرق للاختيار من بينها، يمكنك اختيار واحدة للتحقق.", + "feed_claim_modal.claim_button": "المطالبة", + "feed_claim_modal.content_instructions": "انسخ المحتوى أدناه وانشره في أحدث خلاصة RSS لديك.", + "feed_claim_modal.description_current": "الوصف الحالي:", + "feed_claim_modal.description_instructions": "انسخ المحتوى التالي والصقه في الحقل لخلاصة RSS الخاصة بك.", + "feed_claim_modal.failed_to_load": "فشل تحميل رسالة المطالبة", + "feed_claim_modal.rss_format_choice": "عادة ما يكون لدى مولدات RSS خياران للتنسيق. يرجى نسخ التنسيقات XML وJSON أدناه حسب الحاجة.", + "feed_claim_modal.rss_instructions": "انسخ الكود أدناه والصقه في مولد RSS الخاص بك.", + "feed_claim_modal.rss_json_format": "تنسيق JSON", + "feed_claim_modal.rss_xml_format": "تنسيق XML", + "feed_claim_modal.rsshub_notice": "هذه الخلاصة مقدمة من RSSHub بوقت تخزين مؤقت لمدة ساعة واحدة. يرجى السماح بما يصل إلى ساعة واحدة لظهور التغييرات بعد نشر المحتوى.", + "feed_claim_modal.tab_content": "المحتوى", + "feed_claim_modal.tab_description": "الوصف", + "feed_claim_modal.tab_rss": "علامة RSS", + "feed_claim_modal.verify_ownership": "للمطالبة بهذه الخلاصة كخاصة بك، تحتاج إلى التحقق من الملكية.", + "feed_form.add_follow": "إضافة متابعة", + "feed_form.category": "الفئة", + "feed_form.category_description": "بشكل افتراضي، سيتم تجميع متابعاتك حسب الموقع.", + "feed_form.error_fetching_feed": "حدث خطأ في جلب الخلاصة.", + "feed_form.feed_not_found": "لم يتم العثور على الخلاصة.", + "feed_form.feedback": "ملاحظات", + "feed_form.follow": "متابعة", + "feed_form.followed": "🎉 تم المتابعة.", + "feed_form.private_follow": "متابعة خاصة", + "feed_form.private_follow_description": "ما إذا كانت هذه المتابعة مرئية بشكل عام في صفحة ملفك الشخصي.", + "feed_form.retry": "إعادة المحاولة", + "feed_form.title": "العنوان", + "feed_form.title_description": "عنوان مخصص لهذه الخلاصة. اتركه فارغًا لاستخدام العنوان الافتراضي.", + "feed_form.unfollow": "إلغاء المتابعة", + "feed_form.update": "تحديث", + "feed_form.update_follow": "تحديث المتابعة", + "feed_form.updated": "🎉 تم التحديث.", + "feed_form.view": "عرض", + "feed_item.claimed_by_owner": "تمت المطالبة بهذه الخلاصة بواسطة", + "feed_item.claimed_by_unknown": "مالكها.", + "feed_item.claimed_by_you": "تمت المطالبة بها من قبلك", + "feed_item.claimed_feed": "خلاصة مطالبة", + "feed_item.error_since": "خطأ منذ", + "feed_item.not_publicly_visible": "غير مرئي بشكل عام في صفحة ملفك الشخصي", + "feed_view_type.articles": "مقالات", + "feed_view_type.audios": "ملفات صوتية", + "feed_view_type.notifications": "إشعارات", + "feed_view_type.pictures": "صور", + "feed_view_type.social_media": "وسائل التواصل الاجتماعي", + "feed_view_type.videos": "فيديوهات", + "mark_all_read_button.auto_confirm_info": "سيتم التأكيد تلقائيًا بعد 3 ثوانٍ.", + "mark_all_read_button.confirm": "تأكيد", + "mark_all_read_button.confirm_mark_all": "تمييز {{which}} كمقروء؟", + "mark_all_read_button.confirm_mark_all_info": "هل ترغب في تأكيد تمييز الكل كمقروء؟", + "mark_all_read_button.mark_all_as_read": "تمييز الكل كمقروء", + "mark_all_read_button.mark_as_read": "تمييز {{which}} كمقروء", + "mark_all_read_button.undo": "تراجع", + "player.back_10s": "العودة 10 ثوانٍ", + "player.close": "إغلاق", + "player.download": "تحميل", + "player.exit_full_screen": "الخروج من وضع ملء الشاشة", + "player.forward_10s": "التقديم 10 ثوانٍ", + "player.full_screen": "ملء الشاشة", + "player.mute": "كتم الصوت", + "player.open_entry": "فتح الإدخال", + "player.pause": "إيقاف مؤقت", + "player.play": "تشغيل", + "player.playback_rate": "سرعة التشغيل", + "player.unmute": "إلغاء كتم الصوت", + "player.volume": "الصوت", + "search.empty.no_results": "لم يتم العثور على نتائج.", + "search.group.entries": "إدخالات", + "search.group.feeds": "خلاصات", + "search.options.all": "الكل", + "search.options.entries": "إدخالات", + "search.options.feeds": "خلاصات", + "search.options.search_type": "نوع البحث", + "search.placeholder": "بحث...", + "search.result_count_local_mode": "(الوضع المحلي)", + "search.tooltip.local_search": "يغطي هذا البحث البيانات المتاحة محليًا. جرب إعادة التحميل لتضمين أحدث البيانات.", + "shortcuts.guide.title": "دليل الاختصارات", + "sidebar.category_remove_dialog.cancel": "إلغاء", + "sidebar.category_remove_dialog.continue": "متابعة", + "sidebar.category_remove_dialog.description": "سيؤدي هذا الإجراء إلى حذف الفئة، ولكن سيتم الاحتفاظ بالخلاصات التي تحتوي عليها وتجميعها حسب الموقع.", + "sidebar.category_remove_dialog.title": "إزالة الفئة", + "sidebar.feed_actions.claim": "مطالبة", + "sidebar.feed_actions.claim_feed": "مطالبة بالخلاصة", + "sidebar.feed_actions.copy_feed_id": "نسخ معرف الخلاصة", + "sidebar.feed_actions.copy_feed_url": "نسخ عنوان URL للخلاصة", + "sidebar.feed_actions.edit": "تحرير", + "sidebar.feed_actions.edit_feed": "تحرير الخلاصة", + "sidebar.feed_actions.feed_owned_by_you": "هذه الخلاصة مملوكة لك", + "sidebar.feed_actions.mark_all_as_read": "تمييز الكل كمقروء", + "sidebar.feed_actions.navigate_to_feed": "انتقل إلى الخلاصة", + "sidebar.feed_actions.open_feed_in_browser": "فتح الخلاصة في المتصفح", + "sidebar.feed_actions.open_site_in_browser": "فتح الموقع في المتصفح", + "sidebar.feed_actions.unfollow": "إلغاء المتابعة", + "sidebar.feed_actions.unfollow_feed": "إلغاء متابعة الخلاصة", + "sidebar.feed_column.context_menu.change_to_other_view": "التغيير إلى عرض آخر", + "sidebar.feed_column.context_menu.delete_category": "حذف الفئة", + "sidebar.feed_column.context_menu.delete_category_confirmation": "هل تريد حذف الفئة {{folderName}}؟", + "sidebar.feed_column.context_menu.mark_as_read": "تمييز كمقروء", + "sidebar.feed_column.context_menu.rename_category": "إعادة تسمية الفئة", + "sidebar.select_sort_method": "اختر طريقة الفرز", + "signin.continue_with_github": "المتابعة مع GitHub", + "signin.continue_with_google": "المتابعة مع Google", + "signin.sign_in_to": "تسجيل الدخول إلى", + "sync_indicator.disabled": "لأسباب أمنية، تم تعطيل المزامنة.", + "sync_indicator.offline": "غير متصل", + "sync_indicator.synced": "تمت المزامنة مع الخادم", + "tip_modal.amount": "المبلغ", + "tip_modal.claim_feed": "المطالبة بهذه الخلاصة", + "tip_modal.create_wallet": "إنشاء محفظة مجانًا", + "tip_modal.feed_owner": "مالك الخلاصة", + "tip_modal.low_balance": "رصيدك غير كافٍ لتغطية هذه الإكرامية. يرجى تعديل المبلغ.", + "tip_modal.no_wallet": "ليس لديك محفظة بعد. يرجى إنشاء محفظة لتقديم الإكرامية.", + "tip_modal.tip_amount_sent": "تم إرسال {{amount}} إلى المؤلف.", + "tip_modal.tip_now": "قدم إكرامية الآن", + "tip_modal.tip_sent": "تم إرسال الإكرامية بنجاح! شكرًا لك على دعمك.", + "tip_modal.tip_support": "⭐ إكرامية لإظهار دعمك!", + "tip_modal.unclaimed_feed": "لم يطالب أحد بهذه الخلاصة بعد. سيتم الاحتفاظ بالقوة المستلمة بأمان في العقد الذكي حتى يتم المطالبة بها.", + "user_button.account": "الحساب", + "user_button.download_desktop_app": "تنزيل تطبيق سطح المكتب", + "user_button.log_out": "تسجيل الخروج", + "user_button.power": "القوة", + "user_button.preferences": "التفضيلات", + "user_button.profile": "الملف الشخصي", + "user_profile.close": "إغلاق", + "user_profile.edit": "تحرير", + "user_profile.loading": "جارٍ التحميل", + "user_profile.share": "مشاركة", + "user_profile.toggle_item_style": "تبديل نمط العنصر", + "words.add": "إضافة", + "words.confirm": "تأكيد", + "words.discover": "استكشاف", + "words.email": "البريد الإلكتروني", + "words.import": "استيراد", + "words.items": "عناصر", + "words.language": "اللغة", + "words.load_archived_entries": "تحميل الإدخالات المؤرشفة", + "words.login": "تسجيل الدخول", + "words.rss": "RSS", + "words.rss3": "RSS3", + "words.rsshub": "RSSHub", + "words.search": "بحث", + "words.starred": "مميز", + "words.unread": "غير مقروء", + "words.user": "المستخدم", + "words.which.all": "الكل", + "words.zero_items": "لا توجد عناصر" +} diff --git a/locales/app/ar-iq.json b/locales/app/ar-iq.json new file mode 100644 index 000000000..7fee8b035 --- /dev/null +++ b/locales/app/ar-iq.json @@ -0,0 +1,210 @@ +{ + "ai_daily.title": "أهم الأخبار - {{title}}", + "ai_daily.tooltip.content": "هنا الأخبار التي اختارها الذكاء الاصطناعي من جدولك الزمني ( - ) والتي قد تكون مهمة لك.", + "ai_daily.tooltip.update_schedule": "التحديث يوميًا في الساعة 8 صباحًا و8 مساءً.", + "app.copy_logo_svg": "نسخ شعار SVG", + "app.toggle_sidebar": "تبديل الشريط الجانبي", + "discover.any_url_or_keyword": "أي رابط أو كلمة مفتاحية", + "discover.default_option": "(الافتراضي)", + "discover.feed_description": "وصف هذه الخلاصة كما يلي، يمكنك ملء النموذج بالمعلومات ذات الصلة.", + "discover.feed_maintainers": "تم توفير هذه الخلاصة من قبل RSSHub مع الشكر لـ ", + "discover.import.click_to_upload": "انقر لتحميل ملف OPML", + "discover.popular": "الشائع", + "discover.preview": "معاينة", + "discover.rss_hub_route": "مسار RSSHub", + "discover.rss_url": "رابط RSS", + "discover.select_placeholder": "اختر", + "early_access": "الوصول المبكر", + "entry_actions.copy_link": "نسخ الرابط", + "entry_actions.failed_to_save_to_eagle": "فشل في الحفظ إلى Eagle.", + "entry_actions.failed_to_save_to_instapaper": "فشل في الحفظ إلى Instapaper.", + "entry_actions.failed_to_save_to_readwise": "فشل في الحفظ إلى Readwise.", + "entry_actions.link_copied": "تم نسخ الرابط إلى الحافظة.", + "entry_actions.mark_as_read": "تحديد كمقروء", + "entry_actions.mark_as_unread": "تحديد كغير مقروء", + "entry_actions.open_in_browser": "فتح في المتصفح", + "entry_actions.save_media_to_eagle": "حفظ الوسائط إلى Eagle", + "entry_actions.save_to_instapaper": "حفظ إلى Instapaper", + "entry_actions.save_to_readwise": "حفظ إلى Readwise", + "entry_actions.saved_to_eagle": "تم الحفظ إلى Eagle.", + "entry_actions.saved_to_instapaper": "تم الحفظ إلى Instapaper.", + "entry_actions.saved_to_readwise": "تم الحفظ إلى Readwise.", + "entry_actions.share": "مشاركة", + "entry_actions.star": "إضافة إلى المفضلة", + "entry_actions.starred": "تم الإضافة إلى المفضلة.", + "entry_actions.tip": "إكرامية", + "entry_actions.unstar": "إزالة من المفضلة", + "entry_actions.unstarred": "تمت الإزالة من المفضلة.", + "entry_column.filtered_content_tip": "تمت تصفية المحتوى وإخفاؤه.", + "entry_column.filtered_content_tip_2": "بالإضافة إلى الإدخالات المعروضة أعلاه، هناك أيضًا محتوى مصفى.", + "entry_column.refreshing": "تحديث الإدخالات الجديدة...", + "entry_content.ai_summary": "ملخص الذكاء الاصطناعي", + "entry_content.fetching_content": "جارٍ جلب المحتوى الأصلي والمعالجة...", + "entry_content.header.play_tts": "تشغيل النص إلى كلام", + "entry_content.header.readability": "الوضوح", + "entry_content.no_content": "لا يوجد وسائط متاحة", + "entry_content.readability_notice": "يتم توفير هذا المحتوى من قبل Readability. إذا وجدت أخطاء مطبعية، يرجى الذهاب إلى الموقع الأصلي لعرض المحتوى.", + "entry_content.render_error": "خطأ في العرض:", + "entry_content.report_issue": "الإبلاغ عن مشكلة", + "entry_content.support_amount": "{{amount}} شخص دعم منشئ هذه الخلاصة.", + "entry_content.support_creator": "دعم المنشئ", + "entry_content.web_app_notice": "قد لا يدعم تطبيق الويب هذا النوع من المحتوى. يمكنك تنزيل التطبيق المكتبي.", + "entry_list.zero_unread": "لا توجد رسائل غير مقروءة", + "entry_list_header.daily_report": "تقرير يومي", + "entry_list_header.hide_no_image_items": "إخفاء الإدخالات بدون صور.", + "entry_list_header.items": "عناصر", + "entry_list_header.new_entries_available": "إدخالات جديدة متاحة", + "entry_list_header.refetch": "إعادة الجلب", + "entry_list_header.refresh": "تحديث", + "entry_list_header.show_all": "عرض الكل", + "entry_list_header.show_all_items": "عرض جميع الإدخالات", + "entry_list_header.show_unread_only": "عرض غير المقروء فقط", + "entry_list_header.switch_to_grid": "التبديل إلى الشبكة", + "entry_list_header.switch_to_masonry": "التبديل إلى التخطيط المكدس", + "entry_list_header.unread": "غير مقروء", + "feed_claim_modal.choose_verification_method": "هناك ثلاث طرق للاختيار من بينها، يمكنك اختيار واحدة للتحقق.", + "feed_claim_modal.claim_button": "ادعاء", + "feed_claim_modal.content_instructions": "انسخ المحتوى أدناه وقم بنشره في أحدث خلاصة RSS الخاصة بك.", + "feed_claim_modal.description_current": "الوصف الحالي:", + "feed_claim_modal.description_instructions": "انسخ المحتوى التالي والصقه في حقل الخاص بخلاصة RSS الخاصة بك.", + "feed_claim_modal.failed_to_load": "فشل في تحميل رسالة الادعاء", + "feed_claim_modal.rss_format_choice": "مولدات RSS توفر عادة خيارين للتنسيق. يرجى نسخ تنسيقات XML وJSON أدناه حسب الحاجة.", + "feed_claim_modal.rss_instructions": "انسخ الكود أدناه والصقه في مولد RSS الخاص بك.", + "feed_claim_modal.rss_json_format": "تنسيق JSON", + "feed_claim_modal.rss_xml_format": "تنسيق XML", + "feed_claim_modal.rsshub_notice": "يتم توفير هذه الخلاصة بواسطة RSSHub بوقت تخزين مؤقت لمدة ساعة واحدة. يرجى السماح بما يصل إلى ساعة واحدة لظهور التغييرات بعد نشر المحتوى.", + "feed_claim_modal.tab_content": "المحتوى", + "feed_claim_modal.tab_description": "الوصف", + "feed_claim_modal.tab_rss": "علامة RSS", + "feed_claim_modal.verify_ownership": "لادعاء هذه الخلاصة كملكك، تحتاج إلى التحقق من الملكية.", + "feed_form.add_follow": "إضافة متابعة", + "feed_form.category": "الفئة", + "feed_form.category_description": "بشكل افتراضي، سيتم تصنيف متابعاتك حسب الموقع.", + "feed_form.error_fetching_feed": "خطأ في جلب الخلاصة.", + "feed_form.feed_not_found": "لم يتم العثور على الخلاصة.", + "feed_form.feedback": "ملاحظات", + "feed_form.follow": "متابعة", + "feed_form.followed": "🎉 تمت المتابعة.", + "feed_form.private_follow": "متابعة خاصة", + "feed_form.private_follow_description": "هل هذه المتابعة مرئية علنًا في صفحة ملفك الشخصي.", + "feed_form.retry": "إعادة المحاولة", + "feed_form.title": "العنوان", + "feed_form.title_description": "عنوان مخصص لهذه الخلاصة. اتركه فارغًا لاستخدام الافتراضي.", + "feed_form.unfollow": "إلغاء المتابعة", + "feed_form.update": "تحديث", + "feed_form.update_follow": "تحديث المتابعة", + "feed_form.updated": "🎉 تم التحديث.", + "feed_form.view": "عرض", + "feed_item.claimed_by_owner": "تم ادعاء هذه الخلاصة بواسطة", + "feed_item.claimed_by_unknown": "صاحبها.", + "feed_item.claimed_by_you": "تم الادعاء من قبلك", + "feed_item.claimed_feed": "خلاصة مدعاة", + "feed_item.error_since": "خطأ منذ", + "feed_item.not_publicly_visible": "غير مرئي علنًا في صفحة ملفك الشخصي", + "feed_view_type.articles": "مقالات", + "feed_view_type.audios": "صوتيات", + "feed_view_type.notifications": "إشعارات", + "feed_view_type.pictures": "صور", + "feed_view_type.social_media": "وسائل التواصل الاجتماعي", + "feed_view_type.videos": "فيديوهات", + "mark_all_read_button.auto_confirm_info": "سيتم التأكيد تلقائيًا بعد 3 ثوانٍ.", + "mark_all_read_button.confirm": "تأكيد", + "mark_all_read_button.confirm_mark_all": "تحديد {{which}} كمقروء؟", + "mark_all_read_button.confirm_mark_all_info": "تأكيد تحديد الكل كمقروء؟", + "mark_all_read_button.mark_all_as_read": "تحديد الكل كمقروء", + "mark_all_read_button.mark_as_read": "تحديد {{which}} كمقروء", + "mark_all_read_button.undo": "تراجع", + "player.back_10s": "العودة 10 ثوانٍ", + "player.close": "إغلاق", + "player.download": "تنزيل", + "player.exit_full_screen": "الخروج من وضع ملء الشاشة", + "player.forward_10s": "التقدم 10 ثوانٍ", + "player.full_screen": "ملء الشاشة", + "player.mute": "كتم الصوت", + "player.open_entry": "فتح الإدخال", + "player.pause": "إيقاف مؤقت", + "player.play": "تشغيل", + "player.playback_rate": "معدل التشغيل", + "player.unmute": "إلغاء كتم الصوت", + "player.volume": "الصوت", + "search.empty.no_results": "لم يتم العثور على نتائج.", + "search.group.entries": "إدخالات", + "search.group.feeds": "خلاصات", + "search.options.all": "الكل", + "search.options.entries": "الإدخالات", + "search.options.feeds": "الخلاصات", + "search.options.search_type": "نوع البحث", + "search.placeholder": "بحث...", + "search.result_count_local_mode": "(الوضع المحلي)", + "search.tooltip.local_search": "يغطي هذا البحث البيانات المتاحة محليًا. حاول إعادة الجلب لتضمين أحدث البيانات.", + "shortcuts.guide.title": "دليل الاختصارات", + "sidebar.category_remove_dialog.cancel": "إلغاء", + "sidebar.category_remove_dialog.continue": "متابعة", + "sidebar.category_remove_dialog.description": "ستؤدي هذه العملية إلى حذف فئتك، ولكن ستظل الخلاصات التي تحتوي عليها محفوظة ومجموعة حسب الموقع.", + "sidebar.category_remove_dialog.title": "إزالة الفئة", + "sidebar.feed_actions.claim": "ادعاء", + "sidebar.feed_actions.claim_feed": "ادعاء الخلاصة", + "sidebar.feed_actions.copy_feed_id": "نسخ معرف الخلاصة", + "sidebar.feed_actions.copy_feed_url": "نسخ رابط الخلاصة", + "sidebar.feed_actions.edit": "تحرير", + "sidebar.feed_actions.edit_feed": "تحرير الخلاصة", + "sidebar.feed_actions.feed_owned_by_you": "هذه الخلاصة مملوكة لك", + "sidebar.feed_actions.mark_all_as_read": "تحديد الكل كمقروء", + "sidebar.feed_actions.navigate_to_feed": "الانتقال إلى الخلاصة", + "sidebar.feed_actions.open_feed_in_browser": "فتح الخلاصة في المتصفح", + "sidebar.feed_actions.open_site_in_browser": "فتح الموقع في المتصفح", + "sidebar.feed_actions.unfollow": "إلغاء المتابعة", + "sidebar.feed_actions.unfollow_feed": "إلغاء متابعة الخلاصة", + "sidebar.feed_column.context_menu.change_to_other_view": "تغيير إلى عرض آخر", + "sidebar.feed_column.context_menu.delete_category": "حذف الفئة", + "sidebar.feed_column.context_menu.delete_category_confirmation": "حذف الفئة {{folderName}}؟", + "sidebar.feed_column.context_menu.mark_as_read": "تحديد كمقروء", + "sidebar.feed_column.context_menu.rename_category": "إعادة تسمية الفئة", + "sidebar.select_sort_method": "اختر طريقة الترتيب", + "signin.continue_with_github": "متابعة باستخدام GitHub", + "signin.continue_with_google": "متابعة باستخدام Google", + "signin.sign_in_to": "تسجيل الدخول إلى", + "sync_indicator.disabled": "نظرًا لأسباب أمنية، تم تعطيل المزامنة.", + "sync_indicator.offline": "غير متصل", + "sync_indicator.synced": "متزامن مع الخادم", + "tip_modal.amount": "المبلغ", + "tip_modal.claim_feed": "ادعاء هذه الخلاصة", + "tip_modal.create_wallet": "إنشاء مجانًا", + "tip_modal.feed_owner": "مالك الخلاصة", + "tip_modal.low_balance": "رصيدك غير كافٍ لتغطية هذه الإكرامية. يرجى تعديل المبلغ.", + "tip_modal.no_wallet": "ليس لديك محفظة بعد. يرجى إنشاء محفظة لإعطاء الإكراميات.", + "tip_modal.tip_amount_sent": "تم إرسال الإكرامية إلى المؤلف.", + "tip_modal.tip_now": "أعطِ إكرامية الآن", + "tip_modal.tip_sent": "تم إرسال الإكرامية بنجاح! شكرًا لدعمك.", + "tip_modal.tip_support": "⭐ إعطاء إكرامية لإظهار دعمك!", + "tip_modal.unclaimed_feed": "لم يدّعِ أحد هذه الخلاصة بعد. سيتم الاحتفاظ بالقوة المستلمة بشكل آمن في عقد البلوكشين حتى يتم ادعاؤها.", + "user_button.account": "الحساب", + "user_button.download_desktop_app": "تحميل تطبيق سطح المكتب", + "user_button.log_out": "تسجيل الخروج", + "user_button.power": "القوة", + "user_button.preferences": "التفضيلات", + "user_button.profile": "الملف الشخصي", + "user_profile.close": "إغلاق", + "user_profile.edit": "تحرير", + "user_profile.loading": "جارٍ التحميل", + "user_profile.share": "مشاركة", + "user_profile.toggle_item_style": "تبديل نمط العنصر", + "words.add": "إضافة", + "words.confirm": "تأكيد", + "words.discover": "اكتشاف", + "words.email": "البريد الإلكتروني", + "words.import": "استيراد", + "words.items": "عناصر", + "words.language": "اللغة", + "words.load_archived_entries": "تحميل الإدخالات المؤرشفة", + "words.login": "تسجيل الدخول", + "words.rss": "RSS", + "words.rss3": "RSS3", + "words.rsshub": "RSSHub", + "words.search": "بحث", + "words.starred": "المفضلة", + "words.unread": "غير مقروء", + "words.user": "المستخدم", + "words.which.all": "الكل", + "words.zero_items": "لا توجد عناصر" +} diff --git a/locales/app/ar-kw.json b/locales/app/ar-kw.json new file mode 100644 index 000000000..1e6151319 --- /dev/null +++ b/locales/app/ar-kw.json @@ -0,0 +1,210 @@ +{ + "ai_daily.title": "أهم الأخبار - {{title}}", + "ai_daily.tooltip.content": "هنا تجد أخبار مختارة من قبل الذكاء الاصطناعي من الجدول الزمني الخاص بك ( - ) التي قد تكون مهمة بالنسبة لك.", + "ai_daily.tooltip.update_schedule": "يتم التحديث يوميًا في الساعة 8 صباحًا و 8 مساءً.", + "app.copy_logo_svg": "نسخ شعار SVG", + "app.toggle_sidebar": "تبديل الشريط الجانبي", + "discover.any_url_or_keyword": "أي عنوان URL أو كلمة مفتاحية", + "discover.default_option": " (الافتراضي)", + "discover.feed_description": "وصف هذه التغذية كالتالي، ويمكنك ملء استمارة المعلمات بالمعلومات ذات الصلة.", + "discover.feed_maintainers": "تم توفير هذه التغذية بواسطة RSSHub، مع إشارة إلى ", + "discover.import.click_to_upload": "انقر لتحميل ملف OPML", + "discover.popular": "الشائع", + "discover.preview": "معاينة", + "discover.rss_hub_route": "مسار RSSHub", + "discover.rss_url": "رابط RSS", + "discover.select_placeholder": "اختر", + "early_access": "الوصول المبكر", + "entry_actions.copy_link": "نسخ الرابط", + "entry_actions.failed_to_save_to_eagle": "فشل في الحفظ إلى Eagle.", + "entry_actions.failed_to_save_to_instapaper": "فشل في الحفظ إلى Instapaper.", + "entry_actions.failed_to_save_to_readwise": "فشل في الحفظ إلى Readwise.", + "entry_actions.link_copied": "تم نسخ الرابط إلى الحافظة.", + "entry_actions.mark_as_read": "وضع علامة كمقروء", + "entry_actions.mark_as_unread": "وضع علامة كغير مقروء", + "entry_actions.open_in_browser": "فتح في المتصفح", + "entry_actions.save_media_to_eagle": "حفظ الوسائط إلى Eagle", + "entry_actions.save_to_instapaper": "حفظ إلى Instapaper", + "entry_actions.save_to_readwise": "حفظ إلى Readwise", + "entry_actions.saved_to_eagle": "تم الحفظ إلى Eagle.", + "entry_actions.saved_to_instapaper": "تم الحفظ إلى Instapaper.", + "entry_actions.saved_to_readwise": "تم الحفظ إلى Readwise.", + "entry_actions.share": "مشاركة", + "entry_actions.star": "تفضيل", + "entry_actions.starred": "تم التفضيل.", + "entry_actions.tip": "إكرامية", + "entry_actions.unstar": "إزالة التفضيل", + "entry_actions.unstarred": "تمت إزالة التفضيل.", + "entry_column.filtered_content_tip": "لديك محتوى مخفي تم تصفيته.", + "entry_column.filtered_content_tip_2": "بالإضافة إلى الإدخالات المعروضة أعلاه، يوجد أيضًا محتوى مخفي.", + "entry_column.refreshing": "تحديث الإدخالات الجديدة...", + "entry_content.ai_summary": "ملخص الذكاء الاصطناعي", + "entry_content.fetching_content": "جلب المحتوى الأصلي ومعالجته...", + "entry_content.header.play_tts": "تشغيل النص إلى كلام", + "entry_content.header.readability": "وضوح النص", + "entry_content.no_content": "لا توجد وسائط متاحة", + "entry_content.readability_notice": "تم توفير هذا المحتوى بواسطة Readability. إذا وجدت أي أخطاء مطبعية، يرجى الذهاب إلى الموقع المصدر لمشاهدة المحتوى الأصلي.", + "entry_content.render_error": "خطأ في العرض:", + "entry_content.report_issue": "الإبلاغ عن مشكلة", + "entry_content.support_amount": "{{amount}} أشخاص دعموا منشئ هذه التغذية.", + "entry_content.support_creator": "دعم المنشئ", + "entry_content.web_app_notice": "ربما لا يدعم تطبيق الويب هذا النوع من المحتوى. لكن يمكنك تنزيل تطبيق سطح المكتب.", + "entry_list.zero_unread": "صفر غير مقروء", + "entry_list_header.daily_report": "التقرير اليومي", + "entry_list_header.hide_no_image_items": "إخفاء الإدخالات بدون صور.", + "entry_list_header.items": "العناصر", + "entry_list_header.new_entries_available": "إدخالات جديدة متاحة", + "entry_list_header.refetch": "إعادة الجلب", + "entry_list_header.refresh": "تحديث", + "entry_list_header.show_all": "عرض الكل", + "entry_list_header.show_all_items": "عرض جميع العناصر", + "entry_list_header.show_unread_only": "عرض غير المقروء فقط", + "entry_list_header.switch_to_grid": "التبديل إلى الشبكة", + "entry_list_header.switch_to_masonry": "التبديل إلى التخطيط المتسلسل", + "entry_list_header.unread": "غير مقروء", + "feed_claim_modal.choose_verification_method": "هناك ثلاث طرق للاختيار من بينها، يمكنك اختيار واحدة منها للتحقق.", + "feed_claim_modal.claim_button": "المطالبة", + "feed_claim_modal.content_instructions": "انسخ المحتوى أدناه وقم بنشره في أحدث تغذية RSS الخاصة بك.", + "feed_claim_modal.description_current": "الوصف الحالي:", + "feed_claim_modal.description_instructions": "انسخ المحتوى التالي والصقه في حقل لتغذية RSS الخاصة بك.", + "feed_claim_modal.failed_to_load": "فشل في تحميل رسالة المطالبة", + "feed_claim_modal.rss_format_choice": "مولدات RSS توفر بشكل عام تنسيقين للاختيار منهما. يرجى نسخ تنسيقات XML و JSON أدناه حسب الحاجة.", + "feed_claim_modal.rss_instructions": "انسخ الكود أدناه والصقه في مولد RSS الخاص بك.", + "feed_claim_modal.rss_json_format": "تنسيق JSON", + "feed_claim_modal.rss_xml_format": "تنسيق XML", + "feed_claim_modal.rsshub_notice": "تم توفير هذه التغذية بواسطة RSSHub بوقت ذاكرة مؤقتة قدره ساعة واحدة. يرجى السماح بمرور ما يصل إلى ساعة حتى تظهر التغييرات بعد نشر المحتوى.", + "feed_claim_modal.tab_content": "المحتوى", + "feed_claim_modal.tab_description": "الوصف", + "feed_claim_modal.tab_rss": "علامة RSS", + "feed_claim_modal.verify_ownership": "للمطالبة بهذه التغذية كملك لك، تحتاج إلى التحقق من الملكية.", + "feed_form.add_follow": "إضافة متابعة", + "feed_form.category": "الفئة", + "feed_form.category_description": "افتراضيًا، سيتم تجميع متابعاتك حسب الموقع الإلكتروني.", + "feed_form.error_fetching_feed": "خطأ في جلب التغذية.", + "feed_form.feed_not_found": "لم يتم العثور على التغذية.", + "feed_form.feedback": "ملاحظات", + "feed_form.follow": "متابعة", + "feed_form.followed": "🎉 تمت المتابعة.", + "feed_form.private_follow": "متابعة خاصة", + "feed_form.private_follow_description": "هل هذه المتابعة مرئية للجمهور في صفحة ملفك الشخصي.", + "feed_form.retry": "إعادة المحاولة", + "feed_form.title": "العنوان", + "feed_form.title_description": "عنوان مخصص لهذه التغذية. اتركه فارغًا لاستخدام الافتراضي.", + "feed_form.unfollow": "إلغاء المتابعة", + "feed_form.update": "تحديث", + "feed_form.update_follow": "تحديث المتابعة", + "feed_form.updated": "🎉 تم التحديث.", + "feed_form.view": "عرض", + "feed_item.claimed_by_owner": "تمت المطالبة بهذه التغذية من قبل", + "feed_item.claimed_by_unknown": "مالكها.", + "feed_item.claimed_by_you": "تمت المطالبة بها من قبلك", + "feed_item.claimed_feed": "تمت المطالبة بالتغذية", + "feed_item.error_since": "خطأ منذ", + "feed_item.not_publicly_visible": "غير مرئي للجمهور في صفحة ملفك الشخصي", + "feed_view_type.articles": "مقالات", + "feed_view_type.audios": "مقاطع صوتية", + "feed_view_type.notifications": "إشعارات", + "feed_view_type.pictures": "صور", + "feed_view_type.social_media": "وسائل التواصل الاجتماعي", + "feed_view_type.videos": "فيديوهات", + "mark_all_read_button.auto_confirm_info": "سيتم التأكيد تلقائيًا بعد 3 ثوانٍ.", + "mark_all_read_button.confirm": "تأكيد", + "mark_all_read_button.confirm_mark_all": "وضع علامة {{which}} كمقروء؟", + "mark_all_read_button.confirm_mark_all_info": "تأكيد وضع علامة الجميع كمقروء؟", + "mark_all_read_button.mark_all_as_read": "وضع علامة الكل كمقروء", + "mark_all_read_button.mark_as_read": "وضع علامة {{which}} كمقروء", + "mark_all_read_button.undo": "التراجع", + "player.back_10s": "للخلف 10 ثوانٍ", + "player.close": "إغلاق", + "player.download": "تنزيل", + "player.exit_full_screen": "الخروج من وضع الشاشة الكاملة", + "player.forward_10s": "للأمام 10 ثوانٍ", + "player.full_screen": "شاشة كاملة", + "player.mute": "كتم الصوت", + "player.open_entry": "فتح الإدخال", + "player.pause": "إيقاف مؤقت", + "player.play": "تشغيل", + "player.playback_rate": "معدل التشغيل", + "player.unmute": "إلغاء الكتم", + "player.volume": "مستوى الصوت", + "search.empty.no_results": "لم يتم العثور على نتائج.", + "search.group.entries": "إدخالات", + "search.group.feeds": "تغذيات", + "search.options.all": "الكل", + "search.options.entries": "إدخالات", + "search.options.feeds": "تغذيات", + "search.options.search_type": "نوع البحث", + "search.placeholder": "بحث...", + "search.result_count_local_mode": "(وضع محلي)", + "search.tooltip.local_search": "يغطي هذا البحث البيانات المتاحة محليًا. حاول إعادة الجلب لتضمين أحدث البيانات.", + "shortcuts.guide.title": "دليل الاختصارات", + "sidebar.category_remove_dialog.cancel": "إلغاء", + "sidebar.category_remove_dialog.continue": "متابعة", + "sidebar.category_remove_dialog.description": "سيؤدي هذا الإجراء إلى حذف الفئة، ولكن سيتم الاحتفاظ بالتغذيات التي تحتويها وتجميعها حسب الموقع الإلكتروني.", + "sidebar.category_remove_dialog.title": "إزالة الفئة", + "sidebar.feed_actions.claim": "المطالبة", + "sidebar.feed_actions.claim_feed": "المطالبة بالتغذية", + "sidebar.feed_actions.copy_feed_id": "نسخ معرف التغذية", + "sidebar.feed_actions.copy_feed_url": "نسخ رابط التغذية", + "sidebar.feed_actions.edit": "تحرير", + "sidebar.feed_actions.edit_feed": "تحرير التغذية", + "sidebar.feed_actions.feed_owned_by_you": "هذه التغذية مملوكة لك", + "sidebar.feed_actions.mark_all_as_read": "وضع علامة الكل كمقروء", + "sidebar.feed_actions.navigate_to_feed": "التنقل إلى التغذية", + "sidebar.feed_actions.open_feed_in_browser": "فتح التغذية في المتصفح", + "sidebar.feed_actions.open_site_in_browser": "فتح الموقع في المتصفح", + "sidebar.feed_actions.unfollow": "إلغاء المتابعة", + "sidebar.feed_actions.unfollow_feed": "إلغاء متابعة التغذية", + "sidebar.feed_column.context_menu.change_to_other_view": "التبديل إلى طريقة عرض أخرى", + "sidebar.feed_column.context_menu.delete_category": "حذف الفئة", + "sidebar.feed_column.context_menu.delete_category_confirmation": "حذف الفئة {{folderName}}؟", + "sidebar.feed_column.context_menu.mark_as_read": "وضع علامة كمقروء", + "sidebar.feed_column.context_menu.rename_category": "إعادة تسمية الفئة", + "sidebar.select_sort_method": "اختر طريقة الفرز", + "signin.continue_with_github": "متابعة باستخدام GitHub", + "signin.continue_with_google": "متابعة باستخدام Google", + "signin.sign_in_to": "تسجيل الدخول إلى", + "sync_indicator.disabled": "بسبب أسباب أمنية، تم تعطيل المزامنة.", + "sync_indicator.offline": "غير متصل", + "sync_indicator.synced": "متزامن مع الخادم", + "tip_modal.amount": "المبلغ", + "tip_modal.claim_feed": "المطالبة بهذه التغذية", + "tip_modal.create_wallet": "إنشاء مجانًا", + "tip_modal.feed_owner": "مالك التغذية", + "tip_modal.low_balance": "رصيدك غير كافٍ لتغطية هذه الإكرامية. يرجى تعديل المبلغ.", + "tip_modal.no_wallet": "ليس لديك محفظة بعد. يرجى إنشاء محفظة للإكرامية.", + "tip_modal.tip_amount_sent": "تم إرسال الإكرامية إلى المؤلف.", + "tip_modal.tip_now": "إكرامية الآن", + "tip_modal.tip_sent": "تم إرسال الإكرامية بنجاح! شكرًا لدعمك.", + "tip_modal.tip_support": "⭐ إكرامية لدعمك!", + "tip_modal.unclaimed_feed": "لم يتم المطالبة بهذه التغذية بعد. سيتم الاحتفاظ بـ Power المستلمة بأمان في العقد الذكي حتى يتم المطالبة بها.", + "user_button.account": "الحساب", + "user_button.download_desktop_app": "تحميل تطبيق سطح المكتب", + "user_button.log_out": "تسجيل الخروج", + "user_button.power": "Power", + "user_button.preferences": "التفضيلات", + "user_button.profile": "الملف الشخصي", + "user_profile.close": "إغلاق", + "user_profile.edit": "تحرير", + "user_profile.loading": "جارٍ التحميل", + "user_profile.share": "مشاركة", + "user_profile.toggle_item_style": "تبديل نمط العنصر", + "words.add": "إضافة", + "words.confirm": "تأكيد", + "words.discover": "استكشاف", + "words.email": "البريد الإلكتروني", + "words.import": "استيراد", + "words.items": "عناصر", + "words.language": "اللغة", + "words.load_archived_entries": "تحميل الإدخالات المؤرشفة", + "words.login": "تسجيل الدخول", + "words.rss": "RSS", + "words.rss3": "RSS3", + "words.rsshub": "RSSHub", + "words.search": "بحث", + "words.starred": "مفضلة", + "words.unread": "غير مقروء", + "words.user": "المستخدم", + "words.which.all": "الكل", + "words.zero_items": "صفر عناصر" +} diff --git a/locales/app/ar-tn.json b/locales/app/ar-tn.json new file mode 100644 index 000000000..0867f3181 --- /dev/null +++ b/locales/app/ar-tn.json @@ -0,0 +1,210 @@ +{ + "ai_daily.title": "أهم الأخبار - {{title}}", + "ai_daily.tooltip.content": "ها هي الأخبار المختارة بواسطة الذكاء الاصطناعي من جدولك الزمني ( - ) التي قد تكون مهمة لك.", + "ai_daily.tooltip.update_schedule": "تحديث يومي في الساعة 8 صباحًا و8 مساءً.", + "app.copy_logo_svg": "نسخ شعار SVG", + "app.toggle_sidebar": "تبديل الشريط الجانبي", + "discover.any_url_or_keyword": "أي رابط أو كلمة مفتاحية", + "discover.default_option": " (افتراضي)", + "discover.feed_description": "وصف هذه التغذية هو كما يلي، ويمكنك ملء نموذج المعلمات بالمعلومات ذات الصلة.", + "discover.feed_maintainers": "هذه التغذية مقدمة من RSSHub، مع الإشارة إلى ", + "discover.import.click_to_upload": "انقر لتحميل ملف OPML", + "discover.popular": "شائع", + "discover.preview": "معاينة", + "discover.rss_hub_route": "مسار RSSHub", + "discover.rss_url": "رابط RSS", + "discover.select_placeholder": "اختر", + "early_access": "الوصول المبكر", + "entry_actions.copy_link": "نسخ الرابط", + "entry_actions.failed_to_save_to_eagle": "فشل في الحفظ إلى Eagle.", + "entry_actions.failed_to_save_to_instapaper": "فشل في الحفظ إلى Instapaper.", + "entry_actions.failed_to_save_to_readwise": "فشل في الحفظ إلى Readwise.", + "entry_actions.link_copied": "تم نسخ الرابط إلى الحافظة.", + "entry_actions.mark_as_read": "وضع علامة كمقروء", + "entry_actions.mark_as_unread": "وضع علامة كغير مقروء", + "entry_actions.open_in_browser": "فتح في المتصفح", + "entry_actions.save_media_to_eagle": "حفظ الوسائط إلى Eagle", + "entry_actions.save_to_instapaper": "حفظ إلى Instapaper", + "entry_actions.save_to_readwise": "حفظ إلى Readwise", + "entry_actions.saved_to_eagle": "تم الحفظ إلى Eagle.", + "entry_actions.saved_to_instapaper": "تم الحفظ إلى Instapaper.", + "entry_actions.saved_to_readwise": "تم الحفظ إلى Readwise.", + "entry_actions.share": "مشاركة", + "entry_actions.star": "إضافة إلى المفضلة", + "entry_actions.starred": "تمت إضافته إلى المفضلة.", + "entry_actions.tip": "إكرامية", + "entry_actions.unstar": "إزالة من المفضلة", + "entry_actions.unstarred": "تمت إزالته من المفضلة.", + "entry_column.filtered_content_tip": "تم إخفاء المحتوى المصفى.", + "entry_column.filtered_content_tip_2": "بالإضافة إلى الإدخالات المعروضة أعلاه، هناك أيضًا محتوى مُصفى.", + "entry_column.refreshing": "تحديث الإدخالات الجديدة...", + "entry_content.ai_summary": "ملخص بواسطة الذكاء الاصطناعي", + "entry_content.fetching_content": "جلب المحتوى الأصلي ومعالجته...", + "entry_content.header.play_tts": "تشغيل النص إلى كلام", + "entry_content.header.readability": "الوضوح", + "entry_content.no_content": "لا توجد وسائط متاحة", + "entry_content.readability_notice": "هذا المحتوى مقدم من Readability. إذا وجدت أي تشوهات مطبعية، يرجى زيارة الموقع الأصلي لعرض المحتوى.", + "entry_content.render_error": "خطأ في العرض:", + "entry_content.report_issue": "الإبلاغ عن مشكلة", + "entry_content.support_amount": "{{amount}} شخص دعموا منشئ هذه التغذية.", + "entry_content.support_creator": "دعم المنشئ", + "entry_content.web_app_notice": "ربما تطبيق الويب لا يدعم هذا النوع من المحتوى. ولكن يمكنك تحميل تطبيق سطح المكتب.", + "entry_list.zero_unread": "صفر غير مقروء", + "entry_list_header.daily_report": "تقرير يومي", + "entry_list_header.hide_no_image_items": "إخفاء الإدخالات التي لا تحتوي على صور.", + "entry_list_header.items": "عناصر", + "entry_list_header.new_entries_available": "إدخالات جديدة متاحة", + "entry_list_header.refetch": "إعادة جلب", + "entry_list_header.refresh": "تحديث", + "entry_list_header.show_all": "عرض الكل", + "entry_list_header.show_all_items": "عرض جميع الإدخالات", + "entry_list_header.show_unread_only": "عرض غير المقروء فقط", + "entry_list_header.switch_to_grid": "التبديل إلى الشبكة", + "entry_list_header.switch_to_masonry": "التبديل إلى البنية", + "entry_list_header.unread": "غير مقروء", + "feed_claim_modal.choose_verification_method": "هناك ثلاث طرق للاختيار من بينها، يمكنك اختيار واحدة للتحقق.", + "feed_claim_modal.claim_button": "ادعاء", + "feed_claim_modal.content_instructions": "انسخ المحتوى أدناه وانشره في أحدث تغذية RSS الخاصة بك.", + "feed_claim_modal.description_current": "الوصف الحالي:", + "feed_claim_modal.description_instructions": "انسخ المحتوى التالي والصقه في حقل في تغذية RSS الخاصة بك.", + "feed_claim_modal.failed_to_load": "فشل تحميل رسالة الادعاء", + "feed_claim_modal.rss_format_choice": "غالبًا ما تحتوي مولدات RSS على تنسيقين للاختيار من بينهما. يرجى نسخ التنسيقات XML و JSON أدناه حسب الحاجة.", + "feed_claim_modal.rss_instructions": "انسخ الكود أدناه والصقه في مولد RSS الخاص بك.", + "feed_claim_modal.rss_json_format": "تنسيق JSON", + "feed_claim_modal.rss_xml_format": "تنسيق XML", + "feed_claim_modal.rsshub_notice": "تُقدم هذه التغذية من قبل RSSHub مع وقت تخزين مؤقت لمدة ساعة واحدة. يرجى السماح بمرور ساعة حتى تظهر التغييرات بعد نشر المحتوى.", + "feed_claim_modal.tab_content": "المحتوى", + "feed_claim_modal.tab_description": "الوصف", + "feed_claim_modal.tab_rss": "علامة RSS", + "feed_claim_modal.verify_ownership": "لادعاء هذه التغذية كملكك، تحتاج إلى التحقق من الملكية.", + "feed_form.add_follow": "إضافة متابعة", + "feed_form.category": "الفئة", + "feed_form.category_description": "افتراضيًا، سيتم تجميع متابعاتك حسب الموقع الإلكتروني.", + "feed_form.error_fetching_feed": "خطأ في جلب التغذية.", + "feed_form.feed_not_found": "التغذية غير موجودة.", + "feed_form.feedback": "التعليقات", + "feed_form.follow": "متابعة", + "feed_form.followed": "🎉 تم المتابعة.", + "feed_form.private_follow": "متابعة خاصة", + "feed_form.private_follow_description": "هل هذه المتابعة مرئية علنًا في صفحة ملفك الشخصي.", + "feed_form.retry": "إعادة المحاولة", + "feed_form.title": "العنوان", + "feed_form.title_description": "عنوان مخصص لهذه التغذية. اتركه فارغًا لاستخدام الافتراضي.", + "feed_form.unfollow": "إلغاء المتابعة", + "feed_form.update": "تحديث", + "feed_form.update_follow": "تحديث المتابعة", + "feed_form.updated": "🎉 تم التحديث.", + "feed_form.view": "عرض", + "feed_item.claimed_by_owner": "تم ادعاء هذه التغذية من قبل", + "feed_item.claimed_by_unknown": "مالكها.", + "feed_item.claimed_by_you": "تم ادعاؤها من قبلك", + "feed_item.claimed_feed": "تغذية مُدعاة", + "feed_item.error_since": "خطأ منذ", + "feed_item.not_publicly_visible": "غير مرئية علنًا في صفحة ملفك الشخصي", + "feed_view_type.articles": "مقالات", + "feed_view_type.audios": "مقاطع صوتية", + "feed_view_type.notifications": "إشعارات", + "feed_view_type.pictures": "صور", + "feed_view_type.social_media": "وسائل التواصل الاجتماعي", + "feed_view_type.videos": "مقاطع فيديو", + "mark_all_read_button.auto_confirm_info": "سيتم التأكيد تلقائيًا بعد 3 ثوانٍ.", + "mark_all_read_button.confirm": "تأكيد", + "mark_all_read_button.confirm_mark_all": "وضع علامة {{which}} كمقروء؟", + "mark_all_read_button.confirm_mark_all_info": "تأكيد وضع الجميع كمقروء؟", + "mark_all_read_button.mark_all_as_read": "وضع علامة على الكل كمقروء", + "mark_all_read_button.mark_as_read": "وضع علامة {{which}} كمقروء", + "mark_all_read_button.undo": "تراجع", + "player.back_10s": "العودة 10 ثوانٍ", + "player.close": "إغلاق", + "player.download": "تنزيل", + "player.exit_full_screen": "الخروج من الشاشة الكاملة", + "player.forward_10s": "التقديم 10 ثوانٍ", + "player.full_screen": "الشاشة الكاملة", + "player.mute": "كتم الصوت", + "player.open_entry": "فتح الإدخال", + "player.pause": "إيقاف مؤقت", + "player.play": "تشغيل", + "player.playback_rate": "سرعة التشغيل", + "player.unmute": "إلغاء كتم الصوت", + "player.volume": "مستوى الصوت", + "search.empty.no_results": "لم يتم العثور على نتائج.", + "search.group.entries": "إدخالات", + "search.group.feeds": "تغذيات", + "search.options.all": "الكل", + "search.options.entries": "إدخالات", + "search.options.feeds": "تغذيات", + "search.options.search_type": "نوع البحث", + "search.placeholder": "بحث...", + "search.result_count_local_mode": "(وضع محلي)", + "search.tooltip.local_search": "يغطي هذا البحث البيانات المتاحة محليًا. حاول إعادة الجلب لتضمين البيانات الأحدث.", + "shortcuts.guide.title": "دليل الاختصارات", + "sidebar.category_remove_dialog.cancel": "إلغاء", + "sidebar.category_remove_dialog.continue": "متابعة", + "sidebar.category_remove_dialog.description": "ستؤدي هذه العملية إلى حذف الفئة، ولكن سيتم الاحتفاظ بالتغذيات التي تحتويها وتجميعها حسب الموقع الإلكتروني.", + "sidebar.category_remove_dialog.title": "إزالة الفئة", + "sidebar.feed_actions.claim": "ادعاء", + "sidebar.feed_actions.claim_feed": "ادعاء التغذية", + "sidebar.feed_actions.copy_feed_id": "نسخ معرف التغذية", + "sidebar.feed_actions.copy_feed_url": "نسخ رابط التغذية", + "sidebar.feed_actions.edit": "تحرير", + "sidebar.feed_actions.edit_feed": "تحرير التغذية", + "sidebar.feed_actions.feed_owned_by_you": "هذه التغذية مملوكة لك", + "sidebar.feed_actions.mark_all_as_read": "وضع علامة على الكل كمقروء", + "sidebar.feed_actions.navigate_to_feed": "التنقل إلى التغذية", + "sidebar.feed_actions.open_feed_in_browser": "فتح التغذية في المتصفح", + "sidebar.feed_actions.open_site_in_browser": "فتح الموقع في المتصفح", + "sidebar.feed_actions.unfollow": "إلغاء المتابعة", + "sidebar.feed_actions.unfollow_feed": "إلغاء متابعة التغذية", + "sidebar.feed_column.context_menu.change_to_other_view": "التغيير إلى عرض آخر", + "sidebar.feed_column.context_menu.delete_category": "حذف الفئة", + "sidebar.feed_column.context_menu.delete_category_confirmation": "حذف الفئة {{folderName}}؟", + "sidebar.feed_column.context_menu.mark_as_read": "وضع علامة كمقروء", + "sidebar.feed_column.context_menu.rename_category": "إعادة تسمية الفئة", + "sidebar.select_sort_method": "اختر طريقة الفرز", + "signin.continue_with_github": "المتابعة مع GitHub", + "signin.continue_with_google": "المتابعة مع Google", + "signin.sign_in_to": "تسجيل الدخول إلى", + "sync_indicator.disabled": "بسبب مخاوف الأمان، تم تعطيل المزامنة.", + "sync_indicator.offline": "غير متصل", + "sync_indicator.synced": "تمت المزامنة مع الخادم", + "tip_modal.amount": "المبلغ", + "tip_modal.claim_feed": "ادعاء هذه التغذية", + "tip_modal.create_wallet": "إنشاء مجانًا", + "tip_modal.feed_owner": "مالك التغذية", + "tip_modal.low_balance": "رصيدك غير كافٍ لتغطية هذه الإكرامية. يرجى تعديل المبلغ.", + "tip_modal.no_wallet": "ليس لديك محفظة حتى الآن. يرجى إنشاء محفظة للإكرامية.", + "tip_modal.tip_amount_sent": "تم إرسال المبلغ إلى المؤلف.", + "tip_modal.tip_now": "إعطاء إكرامية الآن", + "tip_modal.tip_sent": "تم إرسال الإكرامية بنجاح! شكرًا لدعمك.", + "tip_modal.tip_support": "⭐ إكرامية لدعمك!", + "tip_modal.unclaimed_feed": "لم يدع أحد هذه التغذية بعد. سيتم الاحتفاظ بالقوة المستلمة بأمان في عقد البلوكشين حتى يتم ادعاؤها.", + "user_button.account": "الحساب", + "user_button.download_desktop_app": "تحميل تطبيق سطح المكتب", + "user_button.log_out": "تسجيل الخروج", + "user_button.power": "القوة", + "user_button.preferences": "التفضيلات", + "user_button.profile": "الملف الشخصي", + "user_profile.close": "إغلاق", + "user_profile.edit": "تحرير", + "user_profile.loading": "جارٍ التحميل", + "user_profile.share": "مشاركة", + "user_profile.toggle_item_style": "تبديل نمط العنصر", + "words.add": "إضافة", + "words.confirm": "تأكيد", + "words.discover": "استكشاف", + "words.email": "البريد الإلكتروني", + "words.import": "استيراد", + "words.items": "عناصر", + "words.language": "اللغة", + "words.load_archived_entries": "تحميل الإدخالات المؤرشفة", + "words.login": "تسجيل الدخول", + "words.rss": "RSS", + "words.rss3": "RSS3", + "words.rsshub": "RSSHub", + "words.search": "بحث", + "words.starred": "المفضلة", + "words.unread": "غير مقروء", + "words.user": "المستخدم", + "words.which.all": "الكل", + "words.zero_items": "صفر عناصر" +} diff --git a/locales/app/en.json b/locales/app/en.json index eade1ec5c..a20db65eb 100644 --- a/locales/app/en.json +++ b/locales/app/en.json @@ -1,4 +1,8 @@ { + "achievement.all_done": "All done!", + "achievement.first_claim_feed": "Feed Owner", + "achievement.first_claim_feed_description": "You own your feed on Follow", + "achievement.mint_more_power": "Be a hardcore player and earn more ", "ai_daily.title": "Top News - {{title}}", "ai_daily.tooltip.content": "Here is news selected by AI from your timeline ( - ) that may be important to you.", "ai_daily.tooltip.update_schedule": "Update daily at 8 AM and 8 PM.", @@ -14,6 +18,9 @@ "discover.rss_hub_route": "RSSHub Route", "discover.rss_url": "RSS URL", "discover.select_placeholder": "Select", + "discover.target": "Search for", + "discover.target.feeds": "Feeds", + "discover.target.lists": "Lists", "early_access": "Early Access", "entry_actions.copy_link": "Copy link", "entry_actions.failed_to_save_to_eagle": "Failed to save to Eagle.", @@ -81,9 +88,12 @@ "feed_form.category": "Category", "feed_form.category_description": "By default, your follows will be grouped by website.", "feed_form.error_fetching_feed": "Error in fetching feed.", + "feed_form.fee": "Follow fee", + "feed_form.fee_description": "To follow this list, you must pay a fee to the list creator.", "feed_form.feed_not_found": "Feed not found.", "feed_form.feedback": "Feedback", "feed_form.follow": "Follow", + "feed_form.follow_with_fee": "Follow with {{fee}} Power", "feed_form.followed": "🎉 Followed.", "feed_form.private_follow": "Private Follow", "feed_form.private_follow_description": "Whether this follow is publicly visible on your profile page.", @@ -127,6 +137,8 @@ "player.playback_rate": "Playback Rate", "player.unmute": "Unmute", "player.volume": "Volume", + "resize.tooltip.double_click_to_collapse": "Double click to collapse", + "resize.tooltip.drag_to_resize": "Drag to resize", "search.empty.no_results": "No results found.", "search.group.entries": "Entries", "search.group.feeds": "Feeds", @@ -146,12 +158,17 @@ "sidebar.feed_actions.claim_feed": "Claim Feed", "sidebar.feed_actions.copy_feed_id": "Copy feed ID", "sidebar.feed_actions.copy_feed_url": "Copy feed URL", + "sidebar.feed_actions.copy_list_id": "Copy list ID", + "sidebar.feed_actions.copy_list_url": "Copy list URL", "sidebar.feed_actions.edit": "Edit", "sidebar.feed_actions.edit_feed": "Edit feed", "sidebar.feed_actions.feed_owned_by_you": "This feed is owned by you", + "sidebar.feed_actions.list_owned_by_you": "This list is owned by you", "sidebar.feed_actions.mark_all_as_read": "Mark all as read", "sidebar.feed_actions.navigate_to_feed": "Navigate to feed", + "sidebar.feed_actions.navigate_to_list": "Navigate to list", "sidebar.feed_actions.open_feed_in_browser": "Open feed in browser", + "sidebar.feed_actions.open_list_in_browser": "Open list in browser", "sidebar.feed_actions.open_site_in_browser": "Open site in browser", "sidebar.feed_actions.unfollow": "Unfollow", "sidebar.feed_actions.unfollow_feed": "Unfollow feed", @@ -179,6 +196,7 @@ "tip_modal.tip_support": "⭐ Tip to show your support!", "tip_modal.unclaimed_feed": "No one has claimed this feed yet. The received Power will be securely held in the blockchain contract until it is claimed.", "user_button.account": "Account", + "user_button.achievement": "Achievements", "user_button.download_desktop_app": "Download Desktop app", "user_button.log_out": "Log out", "user_button.power": "Power", @@ -189,15 +207,20 @@ "user_profile.loading": "Loading", "user_profile.share": "Share", "user_profile.toggle_item_style": "Toggle Item Style", + "words.achievement": "Achievements", "words.add": "Add", "words.confirm": "Confirm", "words.discover": "Discover", "words.email": "Email", + "words.feeds": "Feeds", "words.import": "Import", "words.items": "Items", "words.language": "Language", + "words.lists": "Lists", "words.load_archived_entries": "Load archived entries", "words.login": "Login", + "words.mint": "Mint", + "words.power": "Power", "words.rss": "RSS", "words.rss3": "RSS3", "words.rsshub": "RSSHub", diff --git a/locales/app/es.json b/locales/app/es.json new file mode 100644 index 000000000..eca8d2c23 --- /dev/null +++ b/locales/app/es.json @@ -0,0 +1,137 @@ +{ + "ai_daily.title": "Titular - {{title}}", + "ai_daily.tooltip.content": "Aquí están las noticias principales seleccionadas por IA de su línea de tiempo ( - ), que pueden ser importantes para usted.", + "ai_daily.tooltip.update_schedule": "Actualizado todos los días a las 8 AM y 8 PM.", + "app.app_name": "APP_NAME", + "app.copy_logo_svg": "Copiar Logo SVG", + "app.toggle_sidebar": "Alternar barra lateral", + "discover.any_url_or_keyword": "Cualquier URL o palabra clave", + "discover.default_option": " (predeterminado)", + "discover.feed_description": "La descripción de este Feed es la siguiente, puede completar la información relevante.", + "discover.feed_maintainers": "Este Feed es proporcionado por RSSHub, gracias a ", + "discover.import.click_to_upload": "Haga clic para subir un archivo OPML para importar", + "discover.popular": "Popular", + "discover.preview": "Vista previa", + "discover.rss_hub_route": "Ruta RSSHub", + "discover.rss_url": "RSS URL", + "discover.select_placeholder": "Seleccionar", + "early_access": "Versión de acceso anticipado", + "entry_actions.copy_link": "Copiar enlace", + "entry_actions.mark_as_read": "Marcar como leído", + "entry_actions.mark_as_unread": "Marcar como no leído", + "entry_actions.open_in_browser": "Abrir en el navegador", + "entry_actions.save_media_to_eagle": "Guardar medios en Eagle", + "entry_actions.save_to_instapaper": "Guardar en Instapaper", + "entry_actions.save_to_readwise": "Guardar en Readwise", + "entry_actions.share": "Compartir", + "entry_actions.star": "Agregar a favoritos", + "entry_actions.tip": "Dar propina", + "entry_actions.unstar": "Quitar de favoritos", + "entry_column.refreshing": "Actualizando", + "entry_content.ai_summary": "Resumen de IA", + "entry_content.fetching_content": "Obteniendo contenido original y procesando...", + "entry_content.no_content": "Sin contenido", + "entry_content.readability_notice": "Este contenido es proporcionado por Readability.\nSi nota problemas de formato, por favor visite el sitio de origen para ver el contenido original.", + "entry_content.render_error": "Error de renderizado:", + "entry_content.report_issue": "Reportar problema", + "entry_content.web_app_notice": "La aplicación web puede no soportar este tipo de contenido. Pero puede descargar la aplicación de escritorio.", + "entry_list_header.daily_report": "Informe diario", + "entry_list_header.items": "Contenido", + "entry_list_header.new_entries_available": "Nuevo contenido disponible", + "entry_list_header.refetch": "Actualizar", + "entry_list_header.refresh": "Actualizar", + "entry_list_header.show_all": "Mostrar todo", + "entry_list_header.show_unread_only": "Mostrar solo no leídos", + "entry_list_header.switch_to_grid": "Cambiar a cuadrícula", + "entry_list_header.switch_to_masonry": "Cambiar a diseño de mampostería", + "entry_list_header.unread": "No leído", + "feed_form.add_follow": "Agregar seguimiento", + "feed_form.category": "Categoría", + "feed_form.category_description": "De forma predeterminada, sus seguimientos se agruparán por sitio web.", + "feed_form.error_fetching_feed": "Error al obtener el Feed.", + "feed_form.feed_not_found": "Feed no encontrado.", + "feed_form.feedback": "Comentarios", + "feed_form.follow": "Seguir", + "feed_form.followed": "🎉 Seguido.", + "feed_form.private_follow": "Seguir en privado", + "feed_form.private_follow_description": "Si este seguimiento es visible públicamente en su página de perfil.", + "feed_form.retry": "Reintentar", + "feed_form.title": "Título", + "feed_form.title_description": "Título personalizado para este Feed. Deje vacío para usar el título predeterminado.", + "feed_form.unfollow": "Dejar de seguir", + "feed_form.update": "Actualizar", + "feed_form.update_follow": "Actualizar seguimiento", + "feed_form.updated": "🎉 Actualizado.", + "feed_form.view": "Vista", + "feed_view_type.articles": "Artículos", + "feed_view_type.audios": "Audios", + "feed_view_type.notifications": "Notificaciones", + "feed_view_type.pictures": "Imágenes", + "feed_view_type.social_media": "Redes Sociales", + "feed_view_type.videos": "Videos", + "mark_all_read_button.auto_confirm_info": "Confirmación automática después de 3 segundos.", + "mark_all_read_button.confirm": "Confirmar", + "mark_all_read_button.confirm_mark_all": "¿Marcar {{which}} como leído?", + "mark_all_read_button.confirm_mark_all_info": "¿Confirmar marcar todo como leído?", + "mark_all_read_button.mark_all_as_read": "Marcar todo como leído", + "mark_all_read_button.mark_as_read": "Marcar {{which}} como leído", + "mark_all_read_button.undo": "Deshacer", + "search.empty.no_results": "No se encontraron resultados.", + "search.group.entries": "Entradas", + "search.group.feeds": "Feeds", + "search.options.all": "Todo", + "search.options.entries": "Entradas", + "search.options.feeds": "Feeds", + "search.options.search_type": "Tipo de búsqueda", + "search.placeholder": "Buscar...", + "search.result_count_local_mode": "(Modo local)", + "search.tooltip.local_search": "Esta búsqueda solo cubre los datos disponibles localmente. Intente actualizar para incluir los datos más recientes.", + "sidebar.category_remove_dialog.cancel": "Cancelar", + "sidebar.category_remove_dialog.continue": "Continuar", + "sidebar.category_remove_dialog.description": "Esta acción eliminará su categoría, pero las fuentes dentro de ella permanecerán y se agruparán por sitio web.", + "sidebar.category_remove_dialog.title": "Eliminar categoría", + "sidebar.feed_actions.claim": "Reclamar", + "sidebar.feed_actions.claim_feed": "Reclamar Feed", + "sidebar.feed_actions.copy_feed_id": "Copiar ID del Feed", + "sidebar.feed_actions.copy_feed_url": "Copiar URL del Feed", + "sidebar.feed_actions.edit": "Editar", + "sidebar.feed_actions.edit_feed": "Editar Feed", + "sidebar.feed_actions.feed_owned_by_you": "Este Feed es propiedad suya", + "sidebar.feed_actions.mark_all_as_read": "Marcar todo como leído", + "sidebar.feed_actions.navigate_to_feed": "Ir al Feed", + "sidebar.feed_actions.open_feed_in_browser": "Abrir Feed en el navegador", + "sidebar.feed_actions.open_site_in_browser": "Abrir sitio en el navegador", + "sidebar.feed_actions.unfollow": "Dejar de seguir", + "sidebar.feed_actions.unfollow_feed": "Dejar de seguir el Feed", + "sidebar.feed_column.context_menu.change_to_other_view": "Cambiar a otra vista", + "sidebar.feed_column.context_menu.delete_category": "Eliminar categoría", + "sidebar.feed_column.context_menu.delete_category_confirmation": "¿Eliminar categoría {{folderName}}?", + "sidebar.feed_column.context_menu.mark_as_read": "Marcar como leído", + "sidebar.feed_column.context_menu.rename_category": "Renombrar categoría", + "sidebar.select_sort_method": "Seleccionar método de ordenamiento", + "signin.continue_with_github": "Iniciar sesión con GitHub", + "signin.continue_with_google": "Iniciar sesión con Google", + "signin.sign_in_to": "Iniciar sesión en", + "sync_indicator.offline": "Sin conexión", + "sync_indicator.synced": "Sincronizado con el servidor", + "user_profile.close": "Cerrar", + "user_profile.edit": "Editar", + "user_profile.loading": "Cargando", + "user_profile.share": "Compartir", + "user_profile.toggle_item_style": "Cambiar estilo de lista", + "words.add": "Añadir", + "words.confirm": "Confirmar", + "words.discover": "Descubrir", + "words.email": "Correo electrónico", + "words.import": "Importar", + "words.items": "Contenido", + "words.language": "Idioma", + "words.load_archived_entries": "Cargar entradas archivadas", + "words.login": "Iniciar sesión", + "words.search": "Buscar", + "words.starred": "Favoritos", + "words.unread": "No leído", + "words.user": "Usuario", + "words.which.all": "Todo", + "words.zero_items": "Sin contenido" +} diff --git a/locales/app/fi.json b/locales/app/fi.json new file mode 100644 index 000000000..11dba1ad4 --- /dev/null +++ b/locales/app/fi.json @@ -0,0 +1,207 @@ +{ + "ai_daily.title": "Pääuutiset - {{title}}", + "ai_daily.tooltip.content": "Tässä ovat uutiset, jotka AI on valinnut aikajanaltasi ( - ), ja jotka saattavat olla sinulle tärkeitä.", + "ai_daily.tooltip.update_schedule": "Päivitetään päivittäin klo 8 ja klo 20.", + "app.app_name": "SOVELLUKSEN_NIMI", + "app.copy_logo_svg": "Kopioi Logo SVG", + "app.toggle_sidebar": "Vaihda sivupalkki", + "discover.any_url_or_keyword": "Mikä tahansa URL tai avainsana", + "discover.default_option": " (oletus)", + "discover.feed_description": "Tämän syötteen kuvaus on seuraava, ja voit täyttää lomakkeen vastaavilla tiedoilla.", + "discover.feed_maintainers": "Tämän syötteen tarjoaa RSSHub, kiitos ", + "discover.import.click_to_upload": "Klikkaa ladataksesi OPML-tiedosto", + "discover.popular": "Suosittu", + "discover.preview": "Esikatselu", + "discover.rss_hub_route": "RSSHub-reitti", + "discover.rss_url": "RSS-URL", + "discover.select_placeholder": "Valitse", + "early_access": "Varhainen pääsy", + "entry_actions.copy_link": "Kopioi linkki", + "entry_actions.failed_to_save_to_eagle": "Tallennus Eagleen epäonnistui.", + "entry_actions.failed_to_save_to_instapaper": "Tallennus Instapaperiin epäonnistui.", + "entry_actions.failed_to_save_to_readwise": "Tallennus Readwiseen epäonnistui.", + "entry_actions.link_copied": "Linkki kopioitu leikepöydälle.", + "entry_actions.mark_as_read": "Merkitse luetuksi", + "entry_actions.mark_as_unread": "Merkitse lukemattomaksi", + "entry_actions.open_in_browser": "Avaa selaimessa", + "entry_actions.save_media_to_eagle": "Tallenna media Eagleen", + "entry_actions.save_to_instapaper": "Tallenna Instapaperiin", + "entry_actions.save_to_readwise": "Tallenna Readwiseen", + "entry_actions.saved_to_eagle": "Tallennettu Eagleen.", + "entry_actions.saved_to_instapaper": "Tallennettu Instapaperiin.", + "entry_actions.saved_to_readwise": "Tallennettu Readwiseen.", + "entry_actions.share": "Jaa", + "entry_actions.star": "Tähtää", + "entry_actions.starred": "Tähdätään.", + "entry_actions.tip": "Tippi", + "entry_actions.unstar": "Poista tähti", + "entry_actions.unstarred": "Tähti poistettu.", + "entry_column.refreshing": "Päivitetään uusia merkintöjä...", + "entry_content.ai_summary": "AI-yhteenveto", + "entry_content.fetching_content": "Noudetaan alkuperäistä sisältöä ja käsitellään...", + "entry_content.header.play_tts": "Toista TTS", + "entry_content.header.readability": "Luettavuus", + "entry_content.no_content": "Ei sisältöä", + "entry_content.readability_notice": "Tämä sisältö on saatavilla Readabilityn kautta. Jos huomaat typografisia ongelmia, käy lähdesivustolla katsomassa alkuperäinen sisältö.", + "entry_content.render_error": "Renderointivirhe:", + "entry_content.report_issue": "Ilmoita ongelmasta", + "entry_content.web_app_notice": "Verkkosovellus ei ehkä tue tätä sisältötyyppiä. Voit kuitenkin ladata työpöytäsovelluksen.", + "entry_list.zero_unread": "Ei lukemattomia", + "entry_list_header.daily_report": "Päivittäinen raportti", + "entry_list_header.hide_no_image_items": "Piilota merkinnät ilman kuvia", + "entry_list_header.items": "kohteet", + "entry_list_header.new_entries_available": "Uusia merkintöjä saatavilla", + "entry_list_header.refetch": "Päivitä", + "entry_list_header.refresh": "Virkistä", + "entry_list_header.show_all": "Näytä kaikki", + "entry_list_header.show_all_items": "Näytä kaikki merkintäkohteet", + "entry_list_header.show_unread_only": "Näytä vain lukemattomat", + "entry_list_header.switch_to_grid": "Vaihda ruudukkonäkymään", + "entry_list_header.switch_to_masonry": "Vaihda tiilinäkymään", + "entry_list_header.unread": "lukematon", + "feed_claim_modal.choose_verification_method": "Valittavana on kolme tapaa, voit valita yhden niistä vahvistaaksesi.", + "feed_claim_modal.claim_button": "Vahvista", + "feed_claim_modal.content_instructions": "Kopioi alla oleva sisältö ja julkaise se viimeisimpään RSS-syötteeseesi.", + "feed_claim_modal.description_current": "Nykyinen kuvaus:", + "feed_claim_modal.description_instructions": "Kopioi seuraava sisältö ja liitä se RSS-syötteen -kenttään.", + "feed_claim_modal.failed_to_load": "Vahvistusviestin lataus epäonnistui", + "feed_claim_modal.rss_format_choice": "RSS-generaattoreilla on yleensä kaksi valittavaa muotoa. Kopioi alla olevat XML- ja JSON-muodot tarpeen mukaan.", + "feed_claim_modal.rss_instructions": "Kopioi alla oleva koodi ja liitä se RSS-generaattoriisi.", + "feed_claim_modal.rss_json_format": "JSON-muoto", + "feed_claim_modal.rss_xml_format": "XML-muoto", + "feed_claim_modal.rsshub_notice": "Tämän syötteen tarjoaa RSSHub 1 tunnin välimuistilla. Muutosten näkyminen voi kestää jopa tunnin julkaisun jälkeen.", + "feed_claim_modal.tab_content": "Sisältö", + "feed_claim_modal.tab_description": "Kuvaus", + "feed_claim_modal.tab_rss": "RSS-tagi", + "feed_claim_modal.verify_ownership": "Vahvistaaksesi tämän syötteen omistajuuden sinun on vahvistettava omistusoikeus.", + "feed_form.add_follow": "Lisää seuraaminen", + "feed_form.category": "Kategoria", + "feed_form.category_description": "Oletuksena seuraamasi sivustot ryhmitellään verkkosivuston mukaan.", + "feed_form.error_fetching_feed": "Virhe syötteen noutamisessa.", + "feed_form.feed_not_found": "Syötettä ei löytynyt.", + "feed_form.feedback": "Palaute", + "feed_form.follow": "Seuraa", + "feed_form.followed": "🎉 Seurattu.", + "feed_form.private_follow": "Yksityinen seuraaminen", + "feed_form.private_follow_description": "Onko tämä seuranta julkisesti näkyvillä profiilisivullasi.", + "feed_form.retry": "Yritä uudelleen", + "feed_form.title": "Otsikko", + "feed_form.title_description": "Mukautettu otsikko tälle syötteelle. Jätä tyhjäksi käyttääksesi oletusotsikkoa.", + "feed_form.unfollow": "Lopeta seuraaminen", + "feed_form.update": "Päivitä", + "feed_form.update_follow": "Päivitä seuranta", + "feed_form.updated": "🎉 Päivitetty.", + "feed_form.view": "Näytä", + "feed_item.claimed_by_owner": "Tämän syötteen on vahvistanut", + "feed_item.claimed_by_unknown": "omistaja.", + "feed_item.claimed_by_you": "Sinun vahvistama syöte", + "feed_item.claimed_feed": "Vahvistettu syöte", + "feed_item.error_since": "Virhe alkaen", + "feed_item.not_publicly_visible": "Ei julkisesti näkyvissä profiilisivullasi", + "feed_view_type.articles": "Artikkelit", + "feed_view_type.audios": "Äänitteet", + "feed_view_type.notifications": "Ilmoitukset", + "feed_view_type.pictures": "Kuvat", + "feed_view_type.social_media": "Sosiaalinen media", + "feed_view_type.videos": "Videot", + "mark_all_read_button.auto_confirm_info": "Vahvistetaan automaattisesti 3 sekunnin kuluttua.", + "mark_all_read_button.confirm": "Vahvista", + "mark_all_read_button.confirm_mark_all": "Merkitäänkö {{which}} luetuksi?", + "mark_all_read_button.confirm_mark_all_info": "Vahvista kaikki merkinnät luetuiksi?", + "mark_all_read_button.mark_all_as_read": "Merkitse kaikki luetuiksi", + "mark_all_read_button.mark_as_read": "Merkitse {{which}} luetuksi", + "mark_all_read_button.undo": "Kumoa", + "player.back_10s": "Takaisin 10 sekuntia", + "player.close": "Sulje", + "player.download": "Lataa", + "player.exit_full_screen": "Poistu koko näytöstä", + "player.forward_10s": "Eteenpäin 10 sekuntia", + "player.full_screen": "Koko näyttö", + "player.mute": "Mykistä", + "player.open_entry": "Avaa merkintä", + "player.pause": "Tauko", + "player.play": "Toista", + "player.playback_rate": "Toistonopeus", + "player.unmute": "Poista mykistys", + "player.volume": "Äänenvoimakkuus", + "search.empty.no_results": "Ei tuloksia.", + "search.group.entries": "Merkinnät", + "search.group.feeds": "Syötteet", + "search.options.all": "Kaikki", + "search.options.entries": "Merkinnät", + "search.options.feeds": "Syötteet", + "search.options.search_type": "Hakutyyppi", + "search.placeholder": "Hae...", + "search.result_count_local_mode": "(Paikallinen tila)", + "search.tooltip.local_search": "Tämä haku kattaa paikallisesti saatavilla olevan datan. Kokeile päivittämistä sisällyttääksesi uusimmat tiedot.", + "shortcuts.guide.title": "Pikanäppäimet", + "sidebar.category_remove_dialog.cancel": "Peruuta", + "sidebar.category_remove_dialog.continue": "Jatka", + "sidebar.category_remove_dialog.description": "Tämä toiminto poistaa kategoriat, mutta niiden sisältämät syötteet säilyvät ja ryhmitellään verkkosivuston mukaan.", + "sidebar.category_remove_dialog.title": "Poista kategoria", + "sidebar.feed_actions.claim": "Vahvista", + "sidebar.feed_actions.claim_feed": "Vahvista syöte", + "sidebar.feed_actions.copy_feed_id": "Kopioi syötteen ID", + "sidebar.feed_actions.copy_feed_url": "Kopioi syötteen URL", + "sidebar.feed_actions.edit": "Muokkaa", + "sidebar.feed_actions.edit_feed": "Muokkaa syötettä", + "sidebar.feed_actions.feed_owned_by_you": "Tämä syöte on sinun omistuksessasi", + "sidebar.feed_actions.mark_all_as_read": "Merkitse kaikki luetuiksi", + "sidebar.feed_actions.navigate_to_feed": "Siirry syötteeseen", + "sidebar.feed_actions.open_feed_in_browser": "Avaa syöte selaimessa", + "sidebar.feed_actions.open_site_in_browser": "Avaa sivusto selaimessa", + "sidebar.feed_actions.unfollow": "Lopeta seuraaminen", + "sidebar.feed_actions.unfollow_feed": "Lopeta syötteen seuraaminen", + "sidebar.feed_column.context_menu.change_to_other_view": "Vaihda toiseen näkymään", + "sidebar.feed_column.context_menu.delete_category": "Poista kategoria", + "sidebar.feed_column.context_menu.delete_category_confirmation": "Poistetaanko kategoria {{folderName}}?", + "sidebar.feed_column.context_menu.mark_as_read": "Merkitse luetuksi", + "sidebar.feed_column.context_menu.rename_category": "Nimeä kategoria uudelleen", + "sidebar.select_sort_method": "Valitse lajittelutapa", + "signin.continue_with_github": "Jatka GitHubilla", + "signin.continue_with_google": "Jatka Googlella", + "signin.sign_in_to": "Kirjaudu sisään", + "sync_indicator.disabled": "Tietoturvasyistä synkronointi on poistettu käytöstä.", + "sync_indicator.offline": "Offline", + "sync_indicator.synced": "Synkronoitu palvelimen kanssa", + "tip_modal.amount": "Määrä", + "tip_modal.claim_feed": "Vahvista tämä syöte", + "tip_modal.create_wallet": "Luo ilmainen lompakko", + "tip_modal.feed_owner": "Syötteen omistaja", + "tip_modal.low_balance": "Saldosi ei riitä tämän tipin kattamiseen. Säädä summaa.", + "tip_modal.no_wallet": "Sinulla ei ole vielä lompakkoa. Luo lompakko tippiä varten.", + "tip_modal.tip_amount_sent": "on lähetetty kirjoittajalle.", + "tip_modal.tip_now": "Tiputa nyt", + "tip_modal.tip_sent": "Tiputus onnistui! Kiitos tuestasi.", + "tip_modal.tip_support": "⭐ Tiputa näyttääksesi tukesi!", + "tip_modal.unclaimed_feed": "Kukaan ei ole vielä vahvistanut tätä syötettä. Saatu Power tallennetaan turvallisesti lohkoketjun sopimukseen, kunnes se vahvistetaan.", + "user_button.account": "Tili", + "user_button.download_desktop_app": "Lataa työpöytäsovellus", + "user_button.log_out": "Kirjaudu ulos", + "user_button.power": "Power", + "user_button.preferences": "Asetukset", + "user_button.profile": "Profiili", + "user_profile.close": "Sulje", + "user_profile.edit": "Muokkaa", + "user_profile.loading": "Ladataan", + "user_profile.share": "Jaa", + "user_profile.toggle_item_style": "Vaihda kohteiden tyyliä", + "words.add": "Lisää", + "words.confirm": "Vahvista", + "words.discover": "Löydä", + "words.email": "Sähköposti", + "words.import": "Tuo", + "words.items": "Kohteet", + "words.language": "Kieli", + "words.load_archived_entries": "Lataa arkistoidut merkinnät", + "words.login": "Kirjaudu sisään", + "words.rss": "RSS", + "words.rss3": "RSS3", + "words.rsshub": "RSSHub", + "words.search": "Hae", + "words.starred": "Tähdät", + "words.unread": "Lukematon", + "words.user": "Käyttäjä", + "words.which.all": "kaikki", + "words.zero_items": "Ei kohteita" +} diff --git a/locales/app/it.json b/locales/app/it.json new file mode 100644 index 000000000..0d550522b --- /dev/null +++ b/locales/app/it.json @@ -0,0 +1,207 @@ +{ + "ai_daily.title": "Top News - {{title}}", + "ai_daily.tooltip.content": "Qui ci sono notizie selezionate dall'IA dalla tua timeline ( - ) che potrebbero essere importanti per te.", + "ai_daily.tooltip.update_schedule": "Aggiornato ogni giorno alle 8 AM e alle 8 PM.", + "app.app_name": "NOME_APP", + "app.copy_logo_svg": "Copia Logo SVG", + "app.toggle_sidebar": "Mostra/Nascondi Sidebar", + "discover.any_url_or_keyword": "Qualsiasi URL o Parola Chiave", + "discover.default_option": " (predefinito)", + "discover.feed_description": "La descrizione di questo feed è la seguente, e puoi compilare il modulo dei parametri con le informazioni pertinenti.", + "discover.feed_maintainers": "Questo feed è fornito da RSSHub, con il credito a ", + "discover.import.click_to_upload": "Clicca per caricare il file OPML", + "discover.popular": "Popolare", + "discover.preview": "Anteprima", + "discover.rss_hub_route": "Percorso RSSHub", + "discover.rss_url": "URL RSS", + "discover.select_placeholder": "Seleziona", + "early_access": "Accesso Anticipato", + "entry_actions.copy_link": "Copia link", + "entry_actions.failed_to_save_to_eagle": "Salvataggio su Eagle non riuscito.", + "entry_actions.failed_to_save_to_instapaper": "Salvataggio su Instapaper non riuscito.", + "entry_actions.failed_to_save_to_readwise": "Salvataggio su Readwise non riuscito.", + "entry_actions.link_copied": "Link copiato negli appunti.", + "entry_actions.mark_as_read": "Segna come letto", + "entry_actions.mark_as_unread": "Segna come non letto", + "entry_actions.open_in_browser": "Apri nel browser", + "entry_actions.save_media_to_eagle": "Salva media su Eagle", + "entry_actions.save_to_instapaper": "Salva su Instapaper", + "entry_actions.save_to_readwise": "Salva su Readwise", + "entry_actions.saved_to_eagle": "Salvato su Eagle.", + "entry_actions.saved_to_instapaper": "Salvato su Instapaper.", + "entry_actions.saved_to_readwise": "Salvato su Readwise.", + "entry_actions.share": "Condividi", + "entry_actions.star": "Aggiungi ai preferiti", + "entry_actions.starred": "Aggiunto ai preferiti.", + "entry_actions.tip": "Dona", + "entry_actions.unstar": "Rimuovi dai preferiti", + "entry_actions.unstarred": "Rimosso dai preferiti.", + "entry_column.refreshing": "Aggiornamento nuove voci...", + "entry_content.ai_summary": "Riassunto IA", + "entry_content.fetching_content": "Recupero del contenuto originale e elaborazione...", + "entry_content.header.play_tts": "Riproduci TTS", + "entry_content.header.readability": "Leggibilità", + "entry_content.no_content": "Nessun contenuto", + "entry_content.readability_notice": "Questo contenuto è fornito da Readability. Se trovi anomalie tipografiche, vai al sito sorgente per visualizzare il contenuto originale.", + "entry_content.render_error": "Errore di rendering:", + "entry_content.report_issue": "Segnala problema", + "entry_content.web_app_notice": "Forse l'app web non supporta questo tipo di contenuto. Puoi comunque scaricare l'app desktop.", + "entry_list.zero_unread": "Zero Non Letti", + "entry_list_header.daily_report": "Rapporto Giornaliero", + "entry_list_header.hide_no_image_items": "Nascondi voci senza immagini", + "entry_list_header.items": "elementi", + "entry_list_header.new_entries_available": "Nuove voci disponibili", + "entry_list_header.refetch": "Ricarica", + "entry_list_header.refresh": "Aggiorna", + "entry_list_header.show_all": "Mostra tutto", + "entry_list_header.show_all_items": "Mostra tutte le voci", + "entry_list_header.show_unread_only": "Mostra solo non letti", + "entry_list_header.switch_to_grid": "Passa alla griglia", + "entry_list_header.switch_to_masonry": "Passa a Masonry", + "entry_list_header.unread": "non letto", + "feed_claim_modal.choose_verification_method": "Ci sono tre modi tra cui scegliere, puoi sceglierne uno per verificare.", + "feed_claim_modal.claim_button": "Reclama", + "feed_claim_modal.content_instructions": "Copia il contenuto qui sotto e postalo nel tuo ultimo feed RSS.", + "feed_claim_modal.description_current": "Descrizione attuale:", + "feed_claim_modal.description_instructions": "Copia il seguente contenuto e incollalo nel campo del tuo feed RSS.", + "feed_claim_modal.failed_to_load": "Caricamento del messaggio di reclamo non riuscito", + "feed_claim_modal.rss_format_choice": "I generatori RSS generalmente hanno due formati tra cui scegliere. Copia i formati XML e JSON qui sotto come necessario.", + "feed_claim_modal.rss_instructions": "Copia il codice qui sotto e incollalo nel tuo generatore di feed RSS.", + "feed_claim_modal.rss_json_format": "Formato JSON", + "feed_claim_modal.rss_xml_format": "Formato XML", + "feed_claim_modal.rsshub_notice": "Questo feed è fornito da RSSHub con una cache di 1 ora. Permetti fino a un'ora affinché le modifiche siano visibili dopo la pubblicazione del contenuto.", + "feed_claim_modal.tab_content": "Contenuto", + "feed_claim_modal.tab_description": "Descrizione", + "feed_claim_modal.tab_rss": "Tag RSS", + "feed_claim_modal.verify_ownership": "Per reclamare questo feed come tuo, devi verificare la proprietà.", + "feed_form.add_follow": "Aggiungi ai seguiti", + "feed_form.category": "Categoria", + "feed_form.category_description": "Per impostazione predefinita, i tuoi seguiti verranno raggruppati per sito web.", + "feed_form.error_fetching_feed": "Errore nel recupero del feed.", + "feed_form.feed_not_found": "Feed non trovato.", + "feed_form.feedback": "Feedback", + "feed_form.follow": "Segui", + "feed_form.followed": "🎉 Seguito.", + "feed_form.private_follow": "Seguito Privato", + "feed_form.private_follow_description": "Questo seguito è visibile pubblicamente sulla tua pagina profilo?", + "feed_form.retry": "Riprova", + "feed_form.title": "Titolo", + "feed_form.title_description": "Titolo personalizzato per questo Feed. Lascia vuoto per usare quello predefinito.", + "feed_form.unfollow": "Smetti di seguire", + "feed_form.update": "Aggiorna", + "feed_form.update_follow": "Aggiorna seguiti", + "feed_form.updated": "🎉 Aggiornato.", + "feed_form.view": "Visualizza", + "feed_item.claimed_by_owner": "Questo feed è rivendicato da", + "feed_item.claimed_by_unknown": "il suo proprietario.", + "feed_item.claimed_by_you": "Reclamato da te", + "feed_item.claimed_feed": "Feed Reclamato", + "feed_item.error_since": "Errore da", + "feed_item.not_publicly_visible": "Non visibile pubblicamente sulla tua pagina profilo", + "feed_view_type.articles": "Articoli", + "feed_view_type.audios": "Audio", + "feed_view_type.notifications": "Notifiche", + "feed_view_type.pictures": "Immagini", + "feed_view_type.social_media": "Social Media", + "feed_view_type.videos": "Video", + "mark_all_read_button.auto_confirm_info": "Sarà confermato automaticamente dopo 3s.", + "mark_all_read_button.confirm": "Conferma", + "mark_all_read_button.confirm_mark_all": "Segna {{which}} come letto?", + "mark_all_read_button.confirm_mark_all_info": "Confermi di segnare tutto come letto?", + "mark_all_read_button.mark_all_as_read": "Segna tutto come letto", + "mark_all_read_button.mark_as_read": "Segna {{which}} come letto", + "mark_all_read_button.undo": "Annulla", + "player.back_10s": "Indietro di 10s", + "player.close": "Chiudi", + "player.download": "Scarica", + "player.exit_full_screen": "Esci da schermo intero", + "player.forward_10s": "Avanti di 10s", + "player.full_screen": "Schermo intero", + "player.mute": "Muto", + "player.open_entry": "Apri Voce", + "player.pause": "Pausa", + "player.play": "Riproduci", + "player.playback_rate": "Velocità di riproduzione", + "player.unmute": "Riattiva audio", + "player.volume": "Volume", + "search.empty.no_results": "Nessun risultato trovato.", + "search.group.entries": "Voci", + "search.group.feeds": "Feed", + "search.options.all": "Tutto", + "search.options.entries": "Voci", + "search.options.feeds": "Feed", + "search.options.search_type": "Tipo di ricerca", + "search.placeholder": "Cerca...", + "search.result_count_local_mode": "(Modalità locale)", + "search.tooltip.local_search": "Questa ricerca copre i dati disponibili localmente. Prova a Ricaricare per includere i dati più recenti.", + "shortcuts.guide.title": "Guida ai tasti rapidi", + "sidebar.category_remove_dialog.cancel": "Annulla", + "sidebar.category_remove_dialog.continue": "Continua", + "sidebar.category_remove_dialog.description": "Questa operazione eliminerà la tua categoria, ma i feed che contiene saranno mantenuti e raggruppati per sito web.", + "sidebar.category_remove_dialog.title": "Rimuovi categoria", + "sidebar.feed_actions.claim": "Reclama", + "sidebar.feed_actions.claim_feed": "Reclama feed", + "sidebar.feed_actions.copy_feed_id": "Copia ID feed", + "sidebar.feed_actions.copy_feed_url": "Copia URL feed", + "sidebar.feed_actions.edit": "Modifica", + "sidebar.feed_actions.edit_feed": "Modifica feed", + "sidebar.feed_actions.feed_owned_by_you": "Questo feed è di tua proprietà", + "sidebar.feed_actions.mark_all_as_read": "Segna tutto come letto", + "sidebar.feed_actions.navigate_to_feed": "Vai al feed", + "sidebar.feed_actions.open_feed_in_browser": "Apri feed nel browser", + "sidebar.feed_actions.open_site_in_browser": "Apri sito nel browser", + "sidebar.feed_actions.unfollow": "Smetti di seguire", + "sidebar.feed_actions.unfollow_feed": "Smetti di seguire feed", + "sidebar.feed_column.context_menu.change_to_other_view": "Cambia ad altra visualizzazione", + "sidebar.feed_column.context_menu.delete_category": "Elimina categoria", + "sidebar.feed_column.context_menu.delete_category_confirmation": "Eliminare la categoria {{folderName}}?", + "sidebar.feed_column.context_menu.mark_as_read": "Segna come letto", + "sidebar.feed_column.context_menu.rename_category": "Rinomina categoria", + "sidebar.select_sort_method": "Seleziona un metodo di ordinamento", + "signin.continue_with_github": "Continua con GitHub", + "signin.continue_with_google": "Continua con Google", + "signin.sign_in_to": "Accedi a", + "sync_indicator.disabled": "Per ragioni di sicurezza, la sincronizzazione è disabilitata.", + "sync_indicator.offline": "Offline", + "sync_indicator.synced": "Sincronizzato con il server", + "tip_modal.amount": "Quantità", + "tip_modal.claim_feed": "Reclama questo feed", + "tip_modal.create_wallet": "Crea gratuitamente", + "tip_modal.feed_owner": "Proprietario del feed", + "tip_modal.low_balance": "Il tuo saldo non è sufficiente per coprire questa mancia. Per favore, regola l'importo.", + "tip_modal.no_wallet": "Non hai ancora un portafoglio. Creane uno per dare mance.", + "tip_modal.tip_amount_sent": "è stato inviato all'autore.", + "tip_modal.tip_now": "Dai una mancia ora", + "tip_modal.tip_sent": "Mancia inviata con successo! Grazie per il tuo supporto.", + "tip_modal.tip_support": "⭐ Dai una mancia per mostrare il tuo supporto!", + "tip_modal.unclaimed_feed": "Nessuno ha ancora reclamato questo feed. Il Power ricevuto sarà conservato in modo sicuro nel contratto blockchain fino a quando non verrà reclamato.", + "user_button.account": "Account", + "user_button.download_desktop_app": "Scarica l'app desktop", + "user_button.log_out": "Esci", + "user_button.power": "Power", + "user_button.preferences": "Preferenze", + "user_button.profile": "Profilo", + "user_profile.close": "Chiudi", + "user_profile.edit": "Modifica", + "user_profile.loading": "Caricamento in corso", + "user_profile.share": "Condividi", + "user_profile.toggle_item_style": "Cambia stile dell'elemento", + "words.add": "Aggiungi", + "words.confirm": "Conferma", + "words.discover": "Scopri", + "words.email": "Email", + "words.import": "Importa", + "words.items": "Elementi", + "words.language": "Lingua", + "words.load_archived_entries": "Carica voci archiviate", + "words.login": "Accedi", + "words.rss": "RSS", + "words.rss3": "RSS3", + "words.rsshub": "RSSHub", + "words.search": "Cerca", + "words.starred": "Preferiti", + "words.unread": "Non letti", + "words.user": "Utente", + "words.which.all": "tutti", + "words.zero_items": "Zero elementi" +} diff --git a/locales/app/ja.json b/locales/app/ja.json index 0ee5411c2..51b0dde27 100644 --- a/locales/app/ja.json +++ b/locales/app/ja.json @@ -1,47 +1,47 @@ { "ai_daily.title": "トップニュース - {{title}}", - "ai_daily.tooltip.content": "こちらは、AIがあなたのタイムラインから選んだニュースです( - )。あなたにとって重要なニュースかもしれません。", - "ai_daily.tooltip.update_schedule": "毎日午前8時と午後8時に更新されます。", - "app.copy_logo_svg": "ロゴSVGをコピー", + "ai_daily.tooltip.content": "こちらは、AI があなたのタイムラインから選んだニュースです( - )。あなたにとって重要なニュースかもしれません。", + "ai_daily.tooltip.update_schedule": "毎日午前 8 時と午後 8 時に更新されます。", + "app.copy_logo_svg": "ロゴ SVG をコピー", "app.toggle_sidebar": "サイドバーを切り替え", - "discover.any_url_or_keyword": "任意のURLまたはキーワード", + "discover.any_url_or_keyword": "任意の URL またはキーワード", "discover.default_option": " (デフォルト)", "discover.feed_description": "このフィードの説明は以下の通りです。必要な情報をパラメータフォームに入力してください。", - "discover.feed_maintainers": "このフィードはRSSHubが提供しています。に感謝します。", - "discover.import.click_to_upload": "OPMLファイルをアップロードするにはクリック", + "discover.feed_maintainers": "このフィードは RSSHub が提供しています。に感謝します。", + "discover.import.click_to_upload": "OPML ファイルをアップロードするにはクリック", "discover.popular": "人気", "discover.preview": "プレビュー", - "discover.rss_hub_route": "RSSHubルート", + "discover.rss_hub_route": "RSSHub ルート", "discover.rss_url": "RSS URL", "discover.select_placeholder": "選択", "early_access": "アーリーアクセス", "entry_actions.copy_link": "リンクをコピー", - "entry_actions.failed_to_save_to_eagle": "Eagleへの保存に失敗しました。", - "entry_actions.failed_to_save_to_instapaper": "Instapaperへの保存に失敗しました。", - "entry_actions.failed_to_save_to_readwise": "Readwiseへの保存に失敗しました。", + "entry_actions.failed_to_save_to_eagle": "Eagle への保存に失敗しました。", + "entry_actions.failed_to_save_to_instapaper": "Instapaper への保存に失敗しました。", + "entry_actions.failed_to_save_to_readwise": "Readwise への保存に失敗しました。", "entry_actions.link_copied": "リンクがクリップボードにコピーされました。", "entry_actions.mark_as_read": "既読にする", "entry_actions.mark_as_unread": "未読にする", "entry_actions.open_in_browser": "ブラウザで開く", - "entry_actions.save_media_to_eagle": "メディアをEagleに保存", - "entry_actions.save_to_instapaper": "Instapaperに保存", - "entry_actions.save_to_readwise": "Readwiseに保存", - "entry_actions.saved_to_eagle": "Eagleに保存されました。", - "entry_actions.saved_to_instapaper": "Instapaperに保存されました。", - "entry_actions.saved_to_readwise": "Readwiseに保存されました。", + "entry_actions.save_media_to_eagle": "メディアを Eagle に保存", + "entry_actions.save_to_instapaper": "Instapaper に保存", + "entry_actions.save_to_readwise": "Readwise に保存", + "entry_actions.saved_to_eagle": "Eagle に保存されました。", + "entry_actions.saved_to_instapaper": "Instapaper に保存されました。", + "entry_actions.saved_to_readwise": "Readwise に保存されました。", "entry_actions.share": "共有", "entry_actions.star": "スター", - "entry_actions.starred": "スターに登録されました。", + "entry_actions.starred": "スターに登録されまし��。", "entry_actions.tip": "チップ", "entry_actions.unstar": "スターを解除", "entry_actions.unstarred": "スターが解除されました。", "entry_column.refreshing": "新しいエントリを更新中...", - "entry_content.ai_summary": "AIによる要約", + "entry_content.ai_summary": "AI による要約", "entry_content.fetching_content": "元のコンテンツを取得し、処理中です...", - "entry_content.header.play_tts": "TTSを再生", + "entry_content.header.play_tts": "TTS を再生", "entry_content.header.readability": "読みやすさ", "entry_content.no_content": "コンテンツがありません", - "entry_content.readability_notice": "このコンテンツはReadabilityにより提供されています。誤字などを発見した場合は、元のサイトでオリジナルのコンテンツをご覧ください。", + "entry_content.readability_notice": "このコンテンツは Readability により提供されています。誤字などを発見した場合は、元のサイトでオリジナルのコンテンツをご覧ください。", "entry_content.render_error": "レンダリングエラー:", "entry_content.report_issue": "問題を報告", "entry_content.web_app_notice": "このコンテンツタイプはウェブアプリではサポートされていないかもしれません。デスクトップアプリをダウンロードしてください。", @@ -58,20 +58,20 @@ "entry_list_header.switch_to_grid": "グリッドに切り替え", "entry_list_header.switch_to_masonry": "メイソンリーレイアウトに切り替え", "entry_list_header.unread": "未読", - "feed_claim_modal.choose_verification_method": "選択肢は3つあります。そのうち1つを選んで確認してください。", + "feed_claim_modal.choose_verification_method": "選択肢は 3 つあります。そのうち 1 つを選んで確認してください。", "feed_claim_modal.claim_button": "クレーム", - "feed_claim_modal.content_instructions": "以下の内容をコピーして、最新のRSSフィードに投稿してください。", - "feed_claim_modal.description_current": "現在の説明:", - "feed_claim_modal.description_instructions": "次の内容をコピーし、RSSフィードのフィールドに貼り付けてください。", + "feed_claim_modal.content_instructions": "以下の内容をコピーして、最新の RSS フィードに投稿してください。", + "feed_claim_modal.description_current": "現在の説明:", + "feed_claim_modal.description_instructions": "次の内容をコピーし、RSS フィードのフィールドに貼り付けてください。", "feed_claim_modal.failed_to_load": "クレームメッセージの読み込みに失敗しました", - "feed_claim_modal.rss_format_choice": "RSSジェネレータには通常2つのフォーマットがあります。必要に応じて以下のXMLおよびJSONフォーマットをコピーしてください。", - "feed_claim_modal.rss_instructions": "以下のコードをコピーし、RSSジェネレータに貼り付けてください。", - "feed_claim_modal.rss_json_format": "JSONフォーマット", - "feed_claim_modal.rss_xml_format": "XMLフォーマット", - "feed_claim_modal.rsshub_notice": "このフィードはRSSHubによって提供されており、キャッシュ時間は1時間です。コンテンツの変更が反映されるまで最大1時間かかる場合があります。", + "feed_claim_modal.rss_format_choice": "RSS ジェネレータには通常 2 つのフォーマットがあります。必要に応じて以下の XML および JSON フォーマットをコピーしてください。", + "feed_claim_modal.rss_instructions": "以下のコードをコピーし、RSS ジェネレータに貼り付けてください。", + "feed_claim_modal.rss_json_format": "JSON フォーマット", + "feed_claim_modal.rss_xml_format": "XML フォーマット", + "feed_claim_modal.rsshub_notice": "このフィードは RSSHub によって提供されており、キャッシュ時間は 1 時間です。コンテンツの変更が反映されるまで最大 1 時間かかる場合があります。", "feed_claim_modal.tab_content": "コンテンツ", "feed_claim_modal.tab_description": "説明", - "feed_claim_modal.tab_rss": "RSSタグ", + "feed_claim_modal.tab_rss": "RSS タグ", "feed_claim_modal.verify_ownership": "このフィードを自分のものとしてクレームするには、所有権を確認する必要があります。", "feed_form.add_follow": "フォローを追加", "feed_form.category": "カテゴリー", @@ -96,25 +96,25 @@ "feed_item.claimed_by_you": "あなたによってクレームされています", "feed_item.claimed_feed": "クレームされたフィード", "feed_item.error_since": "エラー発生時刻", - "feed_item.not_publicly_visible": "プロフィールページに公開されていません", + "feed_item.not_publicly_visible": "プロ���ィールページに公開されていません", "feed_view_type.articles": "記事", "feed_view_type.audios": "オーディオ", "feed_view_type.notifications": "通知", "feed_view_type.pictures": "画像", "feed_view_type.social_media": "ソーシャルメディア", "feed_view_type.videos": "動画", - "mark_all_read_button.auto_confirm_info": "3秒後に自動的に確認されます。", + "mark_all_read_button.auto_confirm_info": "3 秒後に自動的に確認されます。", "mark_all_read_button.confirm": "確認", "mark_all_read_button.confirm_mark_all": "{{which}}を既読にしますか?", "mark_all_read_button.confirm_mark_all_info": "すべてを既読にしますか?", "mark_all_read_button.mark_all_as_read": "すべてを既読にする", "mark_all_read_button.mark_as_read": "{{which}}を既読にする", "mark_all_read_button.undo": "元に戻す", - "player.back_10s": "10秒戻る", + "player.back_10s": "10 秒戻る", "player.close": "閉じる", "player.download": "ダウンロード", "player.exit_full_screen": "フルスクリーンを終了", - "player.forward_10s": "10秒進む", + "player.forward_10s": "10 秒進む", "player.full_screen": "フルスクリーン", "player.mute": "ミュート", "player.open_entry": "エントリを開く", @@ -140,8 +140,8 @@ "sidebar.category_remove_dialog.title": "カテゴリーを削除", "sidebar.feed_actions.claim": "クレーム", "sidebar.feed_actions.claim_feed": "フィードをクレーム", - "sidebar.feed_actions.copy_feed_id": "フィードIDをコピー", - "sidebar.feed_actions.copy_feed_url": "フィードURLをコピー", + "sidebar.feed_actions.copy_feed_id": "フィード ID をコピー", + "sidebar.feed_actions.copy_feed_url": "フィード URL をコピー", "sidebar.feed_actions.edit": "編集", "sidebar.feed_actions.edit_feed": "フィードを編集", "sidebar.feed_actions.feed_owned_by_you": "このフィードはあなたが所有しています", @@ -157,8 +157,8 @@ "sidebar.feed_column.context_menu.mark_as_read": "既読にする", "sidebar.feed_column.context_menu.rename_category": "カテゴリーの名前を変更", "sidebar.select_sort_method": "並べ替え方法を選択", - "signin.continue_with_github": "GitHubで続ける", - "signin.continue_with_google": "Googleで続ける", + "signin.continue_with_github": "GitHub で続ける", + "signin.continue_with_google": "Google で続ける", "signin.sign_in_to": "サインイン", "sync_indicator.disabled": "セキュリティ上の理由により、同期は無効になっています。", "sync_indicator.offline": "オフライン", @@ -173,9 +173,9 @@ "tip_modal.tip_now": "今すぐチップ", "tip_modal.tip_sent": "チップが正常に送信されました!ご支援ありがとうございます。", "tip_modal.tip_support": "⭐ サポートを示すためにチップを送る!", - "tip_modal.unclaimed_feed": "このフィードはまだ誰にもクレームされていません。受け取ったPowerは、フィードがクレームされるまでブロックチェーン契約で安全に保持されます。", + "tip_modal.unclaimed_feed": "このフィードはまだ誰にもクレームされていません。受け取った Power は、フィードがクレームされるまでブロックチェーン契約で安全に保持されます。", "user_button.account": "アカウント", - "user_button.download_desktop_app": "デスクトップアプリをダウンロード", + "user_button.download_desktop_app": "アプリをダウンロード", "user_button.log_out": "ログアウト", "user_button.power": "Power", "user_button.preferences": "設定", diff --git a/locales/app/ru.json b/locales/app/ru.json new file mode 100644 index 000000000..cb02e972c --- /dev/null +++ b/locales/app/ru.json @@ -0,0 +1,207 @@ +{ + "ai_daily.title": "Главные новости - {{title}}", + "ai_daily.tooltip.content": "Вот новости, выбранные ИИ из вашей ленты ( - ), которые могут быть для вас важны.", + "ai_daily.tooltip.update_schedule": "Обновление ежедневно в 8:00 и 20:00.", + "app.app_name": "ИМЯ_ПРИЛОЖЕНИЯ", + "app.copy_logo_svg": "Скопировать логотип SVG", + "app.toggle_sidebar": "Переключить боковую панель", + "discover.any_url_or_keyword": "Любой URL или ключевое слово", + "discover.default_option": " (по умолчанию)", + "discover.feed_description": "Описание этого канала следующее, и вы можете заполнить форму параметров с соответствующей информацией.", + "discover.feed_maintainers": "Этот канал предоставлен RSSHub, с благодарностью ", + "discover.import.click_to_upload": "Нажмите, чтобы загрузить файл OPML", + "discover.popular": "Популярное", + "discover.preview": "Предпросмотр", + "discover.rss_hub_route": "Маршрут RSSHub", + "discover.rss_url": "RSS URL", + "discover.select_placeholder": "Выбрать", + "early_access": "Ранний доступ", + "entry_actions.copy_link": "Копировать ссылку", + "entry_actions.failed_to_save_to_eagle": "Не удалось сохранить в Eagle.", + "entry_actions.failed_to_save_to_instapaper": "Не удалось сохранить в Instapaper.", + "entry_actions.failed_to_save_to_readwise": "Не удалось сохранить в Readwise.", + "entry_actions.link_copied": "Ссылка скопирована в буфер обмена.", + "entry_actions.mark_as_read": "Отметить как прочитанное", + "entry_actions.mark_as_unread": "Отметить как непрочитанное", + "entry_actions.open_in_browser": "Открыть в браузере", + "entry_actions.save_media_to_eagle": "Сохранить медиа в Eagle", + "entry_actions.save_to_instapaper": "Сохранить в Instapaper", + "entry_actions.save_to_readwise": "Сохранить в Readwise", + "entry_actions.saved_to_eagle": "Сохранено в Eagle.", + "entry_actions.saved_to_instapaper": "Сохранено в Instapaper.", + "entry_actions.saved_to_readwise": "Сохранено в Readwise.", + "entry_actions.share": "Поделиться", + "entry_actions.star": "Избранное", + "entry_actions.starred": "Добавлено в избранное.", + "entry_actions.tip": "Совет", + "entry_actions.unstar": "Убрать из избранного", + "entry_actions.unstarred": "Убрано из избранного.", + "entry_column.refreshing": "Обновление новых записей...", + "entry_content.ai_summary": "Сводка ИИ", + "entry_content.fetching_content": "Получение оригинального контента и обработка...", + "entry_content.header.play_tts": "Воспроизвести TTS", + "entry_content.header.readability": "Читаемость", + "entry_content.no_content": "Нет содержимого", + "entry_content.readability_notice": "Этот контент предоставлен сервисом Readability. Если вы заметили опечатки, пожалуйста, перейдите на исходный сайт для просмотра оригинального контента.", + "entry_content.render_error": "Ошибка отображения:", + "entry_content.report_issue": "Сообщить о проблеме", + "entry_content.web_app_notice": "Возможно, веб-приложение не поддерживает этот тип контента. Но вы можете скачать настольное приложение.", + "entry_list.zero_unread": "Нет непрочитанных", + "entry_list_header.daily_report": "Ежедневный отчет", + "entry_list_header.hide_no_image_items": "Скрыть записи без изображений", + "entry_list_header.items": "записей", + "entry_list_header.new_entries_available": "Доступны новые записи", + "entry_list_header.refetch": "Повторить запрос", + "entry_list_header.refresh": "Обновить", + "entry_list_header.show_all": "Показать все", + "entry_list_header.show_all_items": "Показать все записи", + "entry_list_header.show_unread_only": "Показать только непрочитанные", + "entry_list_header.switch_to_grid": "Переключить на сетку", + "entry_list_header.switch_to_masonry": "Переключить на мозаичное отображение", + "entry_list_header.unread": "непрочитано", + "feed_claim_modal.choose_verification_method": "Есть три способа на выбор, вы можете выбрать один из них для проверки.", + "feed_claim_modal.claim_button": "Заявить", + "feed_claim_modal.content_instructions": "Скопируйте содержимое ниже и опубликуйте его в своем последнем RSS-канале.", + "feed_claim_modal.description_current": "Текущее описание:", + "feed_claim_modal.description_instructions": "Скопируйте следующее содержимое и вставьте его в поле вашего RSS-канала.", + "feed_claim_modal.failed_to_load": "Не удалось загрузить сообщение о заявке", + "feed_claim_modal.rss_format_choice": "Генераторы RSS обычно имеют два формата на выбор. Пожалуйста, скопируйте форматы XML и JSON ниже по мере необходимости.", + "feed_claim_modal.rss_instructions": "Скопируйте код ниже и вставьте его в ваш генератор RSS.", + "feed_claim_modal.rss_json_format": "Формат JSON", + "feed_claim_modal.rss_xml_format": "Формат XML", + "feed_claim_modal.rsshub_notice": "Этот канал предоставлен RSSHub с кешем на 1 час. Пожалуйста, подождите до 1 часа для появления изменений после публикации контента.", + "feed_claim_modal.tab_content": "Содержимое", + "feed_claim_modal.tab_description": "Описание", + "feed_claim_modal.tab_rss": "Тег RSS", + "feed_claim_modal.verify_ownership": "Чтобы заявить этот канал как свой, вам необходимо подтвердить право собственности.", + "feed_form.add_follow": "Добавить подписку", + "feed_form.category": "Категория", + "feed_form.category_description": "По умолчанию ваши подписки будут сгруппированы по сайтам.", + "feed_form.error_fetching_feed": "Ошибка при получении канала.", + "feed_form.feed_not_found": "Канал не найден.", + "feed_form.feedback": "Обратная связь", + "feed_form.follow": "Подписаться", + "feed_form.followed": "🎉 Подписка оформлена.", + "feed_form.private_follow": "Частная подписка", + "feed_form.private_follow_description": "Будет ли эта подписка видимой для других на вашей странице профиля.", + "feed_form.retry": "Повторить", + "feed_form.title": "Заголовок", + "feed_form.title_description": "Пользовательский заголовок для этого канала. Оставьте пустым, чтобы использовать заголовок по умолчанию.", + "feed_form.unfollow": "Отписаться", + "feed_form.update": "Обновить", + "feed_form.update_follow": "Обновить подписку", + "feed_form.updated": "🎉 Обновлено.", + "feed_form.view": "Просмотр", + "feed_item.claimed_by_owner": "Этот канал заявлен", + "feed_item.claimed_by_unknown": "его владельцем.", + "feed_item.claimed_by_you": "Заявлено вами", + "feed_item.claimed_feed": "Заявленный канал", + "feed_item.error_since": "Ошибка с", + "feed_item.not_publicly_visible": "Не виден на вашей публичной странице профиля", + "feed_view_type.articles": "Статьи", + "feed_view_type.audios": "Аудио", + "feed_view_type.notifications": "Уведомления", + "feed_view_type.pictures": "Картинки", + "feed_view_type.social_media": "Социальные сети", + "feed_view_type.videos": "Видео", + "mark_all_read_button.auto_confirm_info": "Будет автоматически подтверждено через 3 секунды.", + "mark_all_read_button.confirm": "Подтвердить", + "mark_all_read_button.confirm_mark_all": "Отметить {{which}} как прочитанное?", + "mark_all_read_button.confirm_mark_all_info": "Подтвердить отметку всего как прочитанное?", + "mark_all_read_button.mark_all_as_read": "Отметить все как прочитанное", + "mark_all_read_button.mark_as_read": "Отметить {{which}} как прочитанное", + "mark_all_read_button.undo": "Отменить", + "player.back_10s": "Назад на 10 сек", + "player.close": "Закрыть", + "player.download": "Скачать", + "player.exit_full_screen": "Выйти из полноэкранного режима", + "player.forward_10s": "Вперед на 10 сек", + "player.full_screen": "Полный экран", + "player.mute": "Выключить звук", + "player.open_entry": "Открыть запись", + "player.pause": "Пауза", + "player.play": "Воспроизвести", + "player.playback_rate": "Скорость воспроизведения", + "player.unmute": "Включить звук", + "player.volume": "Громкость", + "search.empty.no_results": "Результатов не найдено.", + "search.group.entries": "Записи", + "search.group.feeds": "Каналы", + "search.options.all": "Все", + "search.options.entries": "Записи", + "search.options.feeds": "Каналы", + "search.options.search_type": "Тип поиска", + "search.placeholder": "Поиск...", + "search.result_count_local_mode": "(Локальный режим)", + "search.tooltip.local_search": "Этот поиск охватывает только локально доступные данные. Попробуйте выполнить повторный запрос, чтобы включить последние данные.", + "shortcuts.guide.title": "Руководство по сочетаниям клавиш", + "sidebar.category_remove_dialog.cancel": "Отменить", + "sidebar.category_remove_dialog.continue": "Продолжить", + "sidebar.category_remove_dialog.description": "Эта операция удалит вашу категорию, но каналы, которые она содержит, будут сохранены и сгруппированы по веб-сайтам.", + "sidebar.category_remove_dialog.title": "Удалить категорию", + "sidebar.feed_actions.claim": "Заявить", + "sidebar.feed_actions.claim_feed": "Заявить канал", + "sidebar.feed_actions.copy_feed_id": "Скопировать ID канала", + "sidebar.feed_actions.copy_feed_url": "Скопировать URL канала", + "sidebar.feed_actions.edit": "Редактировать", + "sidebar.feed_actions.edit_feed": "Редактировать канал", + "sidebar.feed_actions.feed_owned_by_you": "Этот канал принадлежит вам", + "sidebar.feed_actions.mark_all_as_read": "Отметить все как прочитанное", + "sidebar.feed_actions.navigate_to_feed": "Перейти к каналу", + "sidebar.feed_actions.open_feed_in_browser": "Открыть канал в браузере", + "sidebar.feed_actions.open_site_in_browser": "Открыть сайт в браузере", + "sidebar.feed_actions.unfollow": "Отписаться", + "sidebar.feed_actions.unfollow_feed": "Отписаться от канала", + "sidebar.feed_column.context_menu.change_to_other_view": "Изменить на другой вид", + "sidebar.feed_column.context_menu.delete_category": "Удалить категорию", + "sidebar.feed_column.context_menu.delete_category_confirmation": "Удалить категорию {{folderName}}?", + "sidebar.feed_column.context_menu.mark_as_read": "Отметить как прочитанное", + "sidebar.feed_column.context_menu.rename_category": "Переименовать категорию", + "sidebar.select_sort_method": "Выберите метод сортировки", + "signin.continue_with_github": "Продолжить через GitHub", + "signin.continue_with_google": "Продолжить через Google", + "signin.sign_in_to": "Войти в", + "sync_indicator.disabled": "По соображениям безопасности синхронизация отключена.", + "sync_indicator.offline": "Офлайн", + "sync_indicator.synced": "Синхронизировано с сервером", + "tip_modal.amount": "Сумма", + "tip_modal.claim_feed": "Заявить этот канал", + "tip_modal.create_wallet": "Создать бесплатно", + "tip_modal.feed_owner": "Владелец канала", + "tip_modal.low_balance": "На вашем балансе недостаточно средств для этой чаевой. Пожалуйста, скорректируйте сумму.", + "tip_modal.no_wallet": "У вас пока нет кошелька. Пожалуйста, создайте кошелек, чтобы отправить чаевые.", + "tip_modal.tip_amount_sent": "было отправлено автору.", + "tip_modal.tip_now": "Отправить чаевые", + "tip_modal.tip_sent": "Чаевые успешно отправлены! Спасибо за вашу поддержку.", + "tip_modal.tip_support": "⭐ Поддержите автора чаевыми!", + "tip_modal.unclaimed_feed": "Этот канал еще никто не заявил. Полученные средства будут надежно храниться в блокчейн-контракте до тех пор, пока канал не будет заявлен.", + "user_button.account": "Аккаунт", + "user_button.download_desktop_app": "Скачать настольное приложение", + "user_button.log_out": "Выйти", + "user_button.power": "Power", + "user_button.preferences": "Настройки", + "user_button.profile": "Профиль", + "user_profile.close": "Закрыть", + "user_profile.edit": "Редактировать", + "user_profile.loading": "Загрузка", + "user_profile.share": "Поделиться", + "user_profile.toggle_item_style": "Переключить стиль элементов", + "words.add": "Добавить", + "words.confirm": "Подтвердить", + "words.discover": "Открыть", + "words.email": "Электронная почта", + "words.import": "Импорт", + "words.items": "Элементы", + "words.language": "Язык", + "words.load_archived_entries": "Загрузить архивированные записи", + "words.login": "Вход", + "words.rss": "RSS", + "words.rss3": "RSS3", + "words.rsshub": "RSSHub", + "words.search": "Поиск", + "words.starred": "Избранное", + "words.unread": "Непрочитанное", + "words.user": "Пользователь", + "words.which.all": "все", + "words.zero_items": "Нет элементов" +} diff --git a/locales/app/zh-CN.json b/locales/app/zh-CN.json index 05f46e4a1..c52878a0e 100644 --- a/locales/app/zh-CN.json +++ b/locales/app/zh-CN.json @@ -46,6 +46,8 @@ "entry_content.readability_notice": "由 Readability 提供\n若内容或排版异常,请前往原始站点查看", "entry_content.render_error": "渲染错误:", "entry_content.report_issue": "反馈问题", + "entry_content.support_amount": "{{amount}} 人支持了该订阅源的作者", + "entry_content.support_creator": "支持作者", "entry_content.web_app_notice": "网页版不支持展示该类型,请下载客户端查看", "entry_list.zero_unread": "全部已读", "entry_list_header.daily_report": "每日总结", @@ -63,9 +65,9 @@ "feed_claim_modal.choose_verification_method": "提供三种认证方式,选择其中一种继续:", "feed_claim_modal.claim_button": "认证", "feed_claim_modal.content_instructions": "复制以下内容,发布到需要认证的订阅源", - "feed_claim_modal.description_current": "当前描述:", + "feed_claim_modal.description_current": "当前描述:", "feed_claim_modal.description_instructions": "复制以下内容,添加到需要认证的订阅源的 字段内", - "feed_claim_modal.failed_to_load": "加载认证数据失败", + "feed_claim_modal.failed_to_load": "认证数据加载失败", "feed_claim_modal.rss_format_choice": "RSS生成器通常有两种格式可供选择,根据需要复制下面内容", "feed_claim_modal.rss_instructions": "复制以下内容并粘贴到对应的 RSS 生成工具", "feed_claim_modal.rss_json_format": "JSON 格式", @@ -74,7 +76,7 @@ "feed_claim_modal.tab_content": "内容", "feed_claim_modal.tab_description": "描述", "feed_claim_modal.tab_rss": "RSS 标签", - "feed_claim_modal.verify_ownership": "完成订阅源所有权验证,证明源由你提供", + "feed_claim_modal.verify_ownership": "完成订阅源所有权验证,证明该源由你提供", "feed_form.add_follow": "新增订阅", "feed_form.category": "分类", "feed_form.category_description": "默认按照网站分类", @@ -107,10 +109,10 @@ "feed_view_type.videos": "视频", "mark_all_read_button.auto_confirm_info": "3 秒后自动确认", "mark_all_read_button.confirm": "确认", - "mark_all_read_button.confirm_mark_all": "将 {{which}} 标记为已读?", + "mark_all_read_button.confirm_mark_all": "将{{which}}标记为已读?", "mark_all_read_button.confirm_mark_all_info": "确认将全部标记为已读?", "mark_all_read_button.mark_all_as_read": "全部标记为已读", - "mark_all_read_button.mark_as_read": "标记 {{which}} 为已读", + "mark_all_read_button.mark_as_read": "标记{{which}}为已读", "mark_all_read_button.undo": "撤销", "player.back_10s": "后退 10s", "player.close": "关闭", @@ -170,11 +172,11 @@ "tip_modal.create_wallet": "免费创建", "tip_modal.feed_owner": "订阅源所有者", "tip_modal.low_balance": "钱包里没有足够的数量完成打赏,请调整打赏数量", - "tip_modal.no_wallet": "当前没有钱包,创建钱包继续完成打赏", + "tip_modal.no_wallet": "当前没有钱包,请先创建钱包以继续打赏", "tip_modal.tip_amount_sent": "发送给作者", "tip_modal.tip_now": "立即打赏", "tip_modal.tip_sent": "成功打赏!感谢支持", - "tip_modal.tip_support": "⭐ 打赏表示支持!", + "tip_modal.tip_support": "⭐ 打赏表示支持!", "tip_modal.unclaimed_feed": "这个订阅源还没有被认证,收到的 Power 将存放在区块链直到源所有者完成认证", "user_button.account": "账号", "user_button.download_desktop_app": "下载客户端", diff --git a/locales/app/zh-HK.json b/locales/app/zh-HK.json new file mode 100644 index 000000000..e17dc6e21 --- /dev/null +++ b/locales/app/zh-HK.json @@ -0,0 +1,210 @@ +{ + "ai_daily.title": "頭條新聞 - {{title}}", + "ai_daily.tooltip.content": "以下是由 AI 從你的時間線中選出的新聞( - ),可能對你很重要。", + "ai_daily.tooltip.update_schedule": "每天上午 8 點和下午 8 點更新。", + "app.copy_logo_svg": "複製 Logo SVG", + "app.toggle_sidebar": "切換側邊欄", + "discover.any_url_or_keyword": "任何網址或關鍵字", + "discover.default_option": " (預設)", + "discover.feed_description": "此訂閱源的描述如下,你可以根據相關資訊填寫參數表格。", + "discover.feed_maintainers": "此訂閱源由 RSSHub 提供,感謝 ", + "discover.import.click_to_upload": "上傳 OPML 文件", + "discover.popular": "熱門", + "discover.preview": "預覽", + "discover.rss_hub_route": "RSSHub 路由", + "discover.rss_url": "RSS 網址", + "discover.select_placeholder": "選擇", + "early_access": "提前體驗", + "entry_actions.copy_link": "複製連結", + "entry_actions.failed_to_save_to_eagle": "無法保存至 Eagle。", + "entry_actions.failed_to_save_to_instapaper": "無法保存至 Instapaper。", + "entry_actions.failed_to_save_to_readwise": "無法保存至 Readwise。", + "entry_actions.link_copied": "連結已複製到剪貼簿。", + "entry_actions.mark_as_read": "標記為已讀", + "entry_actions.mark_as_unread": "標記為未讀", + "entry_actions.open_in_browser": "在瀏覽器中開啟", + "entry_actions.save_media_to_eagle": "保存媒體至 Eagle", + "entry_actions.save_to_instapaper": "保存至 Instapaper", + "entry_actions.save_to_readwise": "保存至 Readwise", + "entry_actions.saved_to_eagle": "已保存至 Eagle。", + "entry_actions.saved_to_instapaper": "已保存至 Instapaper。", + "entry_actions.saved_to_readwise": "已保存至 Readwise。", + "entry_actions.share": "分享", + "entry_actions.star": "收藏", + "entry_actions.starred": "已收藏。", + "entry_actions.tip": "贊助", + "entry_actions.unstar": "取消收藏", + "entry_actions.unstarred": "已取消收藏。", + "entry_column.filtered_content_tip": "你已隱藏篩選內容。", + "entry_column.filtered_content_tip_2": "除了以上顯示的條目,還有一些已篩選的內容。", + "entry_column.refreshing": "刷新新條目中...", + "entry_content.ai_summary": "AI 摘要", + "entry_content.fetching_content": "正在抓取原始內容並處理中...", + "entry_content.header.play_tts": "播放 TTS", + "entry_content.header.readability": "Readability", + "entry_content.no_content": "無內容", + "entry_content.readability_notice": "此內容由 Readability 提供。如果你發現排版異常,請到來源網站查看原始內容。", + "entry_content.render_error": "渲染錯誤:", + "entry_content.report_issue": "報告問題", + "entry_content.support_amount": "{{amount}} 人支持了此訂閱源的創作者。", + "entry_content.support_creator": "支持創作者", + "entry_content.web_app_notice": "網頁應用可能不支持此內容類型。你可以下載桌面應用程式。", + "entry_list.zero_unread": "全部已讀", + "entry_list_header.daily_report": "每日報告", + "entry_list_header.hide_no_image_items": "隱藏沒有圖片的條目。", + "entry_list_header.items": "項目", + "entry_list_header.new_entries_available": "有新條目可用", + "entry_list_header.refetch": "重新抓取", + "entry_list_header.refresh": "刷新", + "entry_list_header.show_all": "顯示所有", + "entry_list_header.show_all_items": "顯示所有條目", + "entry_list_header.show_unread_only": "僅顯示未讀", + "entry_list_header.switch_to_grid": "切換到網格視圖", + "entry_list_header.switch_to_masonry": "切換到 Masonry 視圖", + "entry_list_header.unread": "未讀", + "feed_claim_modal.choose_verification_method": "有三種驗證方法可選,你可以選擇其中一種進行驗證。", + "feed_claim_modal.claim_button": "認領", + "feed_claim_modal.content_instructions": "複製以下內容並貼到你最新的 RSS 訂閱源中。", + "feed_claim_modal.description_current": "當前描述:", + "feed_claim_modal.description_instructions": "複製以下內容並貼到你的 RSS 訂閱源中的 欄位。", + "feed_claim_modal.failed_to_load": "無法加載認領信息", + "feed_claim_modal.rss_format_choice": "RSS 生成器通常有兩種格式可選。請根據需要複製以下的 XML 和 JSON 格式。", + "feed_claim_modal.rss_instructions": "複製以下代碼並貼到你的 RSS 生成器中。", + "feed_claim_modal.rss_json_format": "JSON 格式", + "feed_claim_modal.rss_xml_format": "XML 格式", + "feed_claim_modal.rsshub_notice": "此訂閱源由 RSSHub 提供,緩存時間為1小時。發布內容後,請等待最多1小時更改才能生效。", + "feed_claim_modal.tab_content": "內容", + "feed_claim_modal.tab_description": "描述", + "feed_claim_modal.tab_rss": "RSS 標籤", + "feed_claim_modal.verify_ownership": "要認領這個訂閱源,你需要驗證所有權。", + "feed_form.add_follow": "新增關注", + "feed_form.category": "分類", + "feed_form.category_description": "默認情況下,你的關注會按網站分組。", + "feed_form.error_fetching_feed": "獲取訂閱源時出錯。", + "feed_form.feed_not_found": "未找到訂閱源。", + "feed_form.feedback": "反饋", + "feed_form.follow": "關注", + "feed_form.followed": "🎉 已關注。", + "feed_form.private_follow": "私人關注", + "feed_form.private_follow_description": "此關注是否在你的個人資料頁面上公開可見。", + "feed_form.retry": "重試", + "feed_form.title": "標題", + "feed_form.title_description": "此資訊流的自定義標題。留空則使用默認標題。", + "feed_form.unfollow": "取消關注", + "feed_form.update": "更新", + "feed_form.update_follow": "更新關注", + "feed_form.updated": "🎉 已更新。", + "feed_form.view": "視圖", + "feed_item.claimed_by_owner": "訂閲源所有者", + "feed_item.claimed_by_unknown": "未知所有者", + "feed_item.claimed_by_you": "由你認領", + "feed_item.claimed_feed": "已認領訂閱源", + "feed_item.error_since": "錯誤始於", + "feed_item.not_publicly_visible": "在你的個人頁面上不公開可見", + "feed_view_type.articles": "文章", + "feed_view_type.audios": "音頻", + "feed_view_type.notifications": "通知", + "feed_view_type.pictures": "圖片", + "feed_view_type.social_media": "社交媒體", + "feed_view_type.videos": "視頻", + "mark_all_read_button.auto_confirm_info": "將在 3 秒後自動確認。", + "mark_all_read_button.confirm": "確認", + "mark_all_read_button.confirm_mark_all": "確定將 {{which}} 標記為已讀?", + "mark_all_read_button.confirm_mark_all_info": "確定將所有標記為已讀?", + "mark_all_read_button.mark_all_as_read": "全部標記為已讀", + "mark_all_read_button.mark_as_read": "標記 {{which}} 為已讀", + "mark_all_read_button.undo": "撤銷", + "player.back_10s": "倒退 10 秒", + "player.close": "關閉", + "player.download": "下載", + "player.exit_full_screen": "退出全屏", + "player.forward_10s": "快進 10 秒", + "player.full_screen": "全屏", + "player.mute": "靜音", + "player.open_entry": "打開條目", + "player.pause": "暫停", + "player.play": "播放", + "player.playback_rate": "播放速度", + "player.unmute": "取消靜音", + "player.volume": "音量", + "search.empty.no_results": "未找到結果。", + "search.group.entries": "條目", + "search.group.feeds": "訂閱源", + "search.options.all": "所有", + "search.options.entries": "條目", + "search.options.feeds": "訂閱源", + "search.options.search_type": "搜尋類型", + "search.placeholder": "搜尋...", + "search.result_count_local_mode": "(本地模式)", + "search.tooltip.local_search": "此搜尋涵蓋本地可用的數據。嘗試重新獲取以包括最新數據。", + "shortcuts.guide.title": "快捷鍵指南", + "sidebar.category_remove_dialog.cancel": "取消", + "sidebar.category_remove_dialog.continue": "繼續", + "sidebar.category_remove_dialog.description": "此操作將刪除你的分類,但其中的訂閱源將保留並按網站分組。", + "sidebar.category_remove_dialog.title": "刪除分類", + "sidebar.feed_actions.claim": "認領", + "sidebar.feed_actions.claim_feed": "認領訂閱源", + "sidebar.feed_actions.copy_feed_id": "複製訂閱源 ID", + "sidebar.feed_actions.copy_feed_url": "複製訂閱源 URL", + "sidebar.feed_actions.edit": "編輯", + "sidebar.feed_actions.edit_feed": "編輯訂閱源", + "sidebar.feed_actions.feed_owned_by_you": "此訂閱源由你擁有", + "sidebar.feed_actions.mark_all_as_read": "全部標記為已讀", + "sidebar.feed_actions.navigate_to_feed": "導航到訂閱源", + "sidebar.feed_actions.open_feed_in_browser": "在瀏覽器中打開訂閱源", + "sidebar.feed_actions.open_site_in_browser": "在瀏覽器中打開網站", + "sidebar.feed_actions.unfollow": "取消關注", + "sidebar.feed_actions.unfollow_feed": "取消關注訂閱源", + "sidebar.feed_column.context_menu.change_to_other_view": "切換到其他視圖", + "sidebar.feed_column.context_menu.delete_category": "刪除分類", + "sidebar.feed_column.context_menu.delete_category_confirmation": "確定刪除分類 {{folderName}}?", + "sidebar.feed_column.context_menu.mark_as_read": "標記為已讀", + "sidebar.feed_column.context_menu.rename_category": "重新命名分類", + "sidebar.select_sort_method": "選擇排序方法", + "signin.continue_with_github": "繼續使用 GitHub", + "signin.continue_with_google": "繼續使用 Google", + "signin.sign_in_to": "登入至", + "sync_indicator.disabled": "由於安全原因,同步已禁用。", + "sync_indicator.offline": "離線", + "sync_indicator.synced": "已與伺服器同步", + "tip_modal.amount": "金額", + "tip_modal.claim_feed": "認領這個訂閱源", + "tip_modal.create_wallet": "免費創建", + "tip_modal.feed_owner": "訂閱源擁有者", + "tip_modal.low_balance": "你的餘額不足以覆蓋此贊助。請調整金額。", + "tip_modal.no_wallet": "你尚未擁有錢包。請創建一個錢包以進行贊助。", + "tip_modal.tip_amount_sent": "已經發送給作者。", + "tip_modal.tip_now": "立刻贊助", + "tip_modal.tip_sent": "贊助成功!感謝你的支持。", + "tip_modal.tip_support": "⭐ 贊助以顯示你的支持!", + "tip_modal.unclaimed_feed": "目前尚未有人認領此訂閱源。收到的 Power 將安全地保留在區塊鏈合約中,直到被認領為止。", + "user_button.account": "帳戶", + "user_button.download_desktop_app": "下載桌面應用", + "user_button.log_out": "登出", + "user_button.power": "Power", + "user_button.preferences": "偏好設定", + "user_button.profile": "個人檔案", + "user_profile.close": "關閉", + "user_profile.edit": "編輯", + "user_profile.loading": "載入中", + "user_profile.share": "分享", + "user_profile.toggle_item_style": "切換條目樣式", + "words.add": "新增", + "words.confirm": "確認", + "words.discover": "探索", + "words.email": "電子郵件", + "words.import": "匯入", + "words.items": "項目", + "words.language": "語言", + "words.load_archived_entries": "加載已存檔的條目", + "words.login": "登入", + "words.rss": "RSS", + "words.rss3": "RSS3", + "words.rsshub": "RSSHub", + "words.search": "搜尋", + "words.starred": "收藏", + "words.unread": "未讀", + "words.user": "用戶", + "words.which.all": "所有", + "words.zero_items": "零項目" +} diff --git a/locales/app/zh-TW.json b/locales/app/zh-TW.json index 17dcd7111..e83a65ec0 100644 --- a/locales/app/zh-TW.json +++ b/locales/app/zh-TW.json @@ -2,14 +2,13 @@ "ai_daily.title": "頭條新聞 - {{title}}", "ai_daily.tooltip.content": "以下是 AI 從您的時間軸中選擇的新聞( - ),可能對您很重要。", "ai_daily.tooltip.update_schedule": "每天早上 8 點和晚上 8 點更新。", - "app.app_name": "APP_NAME", "app.copy_logo_svg": "複製 Logo SVG", "app.toggle_sidebar": "切換側邊欄", "discover.any_url_or_keyword": "任何 URL 或關鍵字", "discover.default_option": "(預設)", - "discover.feed_description": "此 Feed 的說明如下,您可以填寫參數表單中的相關資訊", - "discover.feed_maintainers": "此 Feed 由 RSSHub 提供,感謝 ", - "discover.import.click_to_upload": "點擊上傳 OPML file 以導入", + "discover.feed_description": "該 feed 的描述如下,您可以使用相關資訊填寫參數表單。", + "discover.feed_maintainers": "此 feed 由 RSSHub 提供,感謝 的支持", + "discover.import.click_to_upload": "點擊上傳 OPML 文件", "discover.popular": "熱門", "discover.preview": "預覽", "discover.rss_hub_route": "RSSHub 路由", @@ -36,6 +35,8 @@ "entry_actions.tip": "贊助", "entry_actions.unstar": "取消收藏", "entry_actions.unstarred": "已取消收藏", + "entry_column.filtered_content_tip": "您已隱藏部分過濾的內容。", + "entry_column.filtered_content_tip_2": "除了上方顯示的條目外,還有一些被過濾的內容。", "entry_column.refreshing": "正在更新", "entry_content.ai_summary": "AI 摘要", "entry_content.fetching_content": "正在獲取原始內容並處理……", @@ -45,6 +46,8 @@ "entry_content.readability_notice": "此內容由 Readability 提供。如果您發現排版異常,請訪問來源網站查看原始內容。", "entry_content.render_error": "渲染錯誤:", "entry_content.report_issue": "報告問題", + "entry_content.support_amount": "{{amount}} 人支持了此頻道的創作者。", + "entry_content.support_creator": "支持創作者", "entry_content.web_app_notice": "Web 應用程式不支援此類型內容。您可以下載桌面應用程式。", "entry_list.zero_unread": "零未讀", "entry_list_header.daily_report": "每日報告", @@ -57,7 +60,7 @@ "entry_list_header.show_all_items": "顯示所有條目", "entry_list_header.show_unread_only": "僅顯示未讀", "entry_list_header.switch_to_grid": "切換到網格", - "entry_list_header.switch_to_masonry": "切換到 Masonry", + "entry_list_header.switch_to_masonry": "切換到 Masonry 佈局", "entry_list_header.unread": "未讀", "feed_claim_modal.choose_verification_method": "有三種驗證方式,您可以選擇其中一種進行驗證。", "feed_claim_modal.claim_button": "認領", diff --git a/locales/common/ar-DZ.json b/locales/common/ar-DZ.json new file mode 100644 index 000000000..78c34d91c --- /dev/null +++ b/locales/common/ar-DZ.json @@ -0,0 +1,29 @@ +{ + "app.copied_to_clipboard": "تم النسخ إلى الحافظة", + "cancel": "إلغاء", + "close": "إغلاق", + "confirm": "تأكيد", + "ok": "موافق", + "quantifier.piece": "", + "time.last_night": "الليلة الماضية", + "time.the_night_before_last": "الليلة التي قبل الماضية", + "time.today": "اليوم", + "time.yesterday": "الأمس", + "tips.load-lng-error": "فشل في تحميل حزمة اللغة", + "words.back": "رجوع", + "words.copy": "نسخ", + "words.edit": "تعديل", + "words.entry": "إدخال", + "words.id": "المعرف", + "words.items_one": "عنصر", + "words.items_other": "عناصر", + "words.local": "محلي", + "words.record": "سجل", + "words.record_one": "سجل", + "words.record_other": "سجلات", + "words.result": "نتيجة", + "words.result_one": "نتيجة", + "words.result_other": "نتائج", + "words.space": " ", + "words.which.all": "الكل" +} diff --git a/locales/common/ar-IQ.json b/locales/common/ar-IQ.json new file mode 100644 index 000000000..09de59417 --- /dev/null +++ b/locales/common/ar-IQ.json @@ -0,0 +1,28 @@ +{ + "app.copied_to_clipboard": "تم النسخ إلى الحافظة", + "cancel": "إلغاء", + "confirm": "تأكيد", + "ok": "موافق", + "quantifier.piece": "", + "time.last_night": "الليلة الماضية", + "time.the_night_before_last": "الليلة قبل الماضية", + "time.today": "اليوم", + "time.yesterday": "الأمس", + "tips.load-lng-error": "فشل في تحميل حزمة اللغة", + "words.back": "رجوع", + "words.copy": "نسخ", + "words.edit": "تحرير", + "words.entry": "إدخال", + "words.id": "المعرف", + "words.items_one": "عنصر", + "words.items_other": "عناصر", + "words.local": "محلي", + "words.record": "سجل", + "words.record_one": "سجل", + "words.record_other": "سجلات", + "words.result": "نتيجة", + "words.result_one": "نتيجة", + "words.result_other": "نتائج", + "words.space": " ", + "words.which.all": "الكل" +} diff --git a/locales/common/ar-KW.json b/locales/common/ar-KW.json new file mode 100644 index 000000000..09de59417 --- /dev/null +++ b/locales/common/ar-KW.json @@ -0,0 +1,28 @@ +{ + "app.copied_to_clipboard": "تم النسخ إلى الحافظة", + "cancel": "إلغاء", + "confirm": "تأكيد", + "ok": "موافق", + "quantifier.piece": "", + "time.last_night": "الليلة الماضية", + "time.the_night_before_last": "الليلة قبل الماضية", + "time.today": "اليوم", + "time.yesterday": "الأمس", + "tips.load-lng-error": "فشل في تحميل حزمة اللغة", + "words.back": "رجوع", + "words.copy": "نسخ", + "words.edit": "تحرير", + "words.entry": "إدخال", + "words.id": "المعرف", + "words.items_one": "عنصر", + "words.items_other": "عناصر", + "words.local": "محلي", + "words.record": "سجل", + "words.record_one": "سجل", + "words.record_other": "سجلات", + "words.result": "نتيجة", + "words.result_one": "نتيجة", + "words.result_other": "نتائج", + "words.space": " ", + "words.which.all": "الكل" +} diff --git a/locales/common/ar-MA.json b/locales/common/ar-MA.json new file mode 100644 index 000000000..66293ad4c --- /dev/null +++ b/locales/common/ar-MA.json @@ -0,0 +1,29 @@ +{ + "app.copied_to_clipboard": "تم النسخ إلى الحافظة", + "cancel": "إلغاء", + "close": "إغلاق", + "confirm": "تأكيد", + "ok": "موافق", + "quantifier.piece": "", + "time.last_night": "الليلة الماضية", + "time.the_night_before_last": "الليلة التي سبقتها", + "time.today": "اليوم", + "time.yesterday": "الأمس", + "tips.load-lng-error": "فشل في تحميل حزمة اللغة", + "words.back": "الرجوع", + "words.copy": "نسخ", + "words.edit": "تحرير", + "words.entry": "إدخال", + "words.id": "المعرف", + "words.items_one": "عنصر", + "words.items_other": "عناصر", + "words.local": "محلي", + "words.record": "تسجيل", + "words.record_one": "تسجيل", + "words.record_other": "تسجيلات", + "words.result": "نتيجة", + "words.result_one": "نتيجة", + "words.result_other": "نتائج", + "words.space": " ", + "words.which.all": "الكل" +} diff --git a/locales/common/ar-SA.json b/locales/common/ar-SA.json new file mode 100644 index 000000000..0ff14b728 --- /dev/null +++ b/locales/common/ar-SA.json @@ -0,0 +1,29 @@ +{ + "app.copied_to_clipboard": "تم النسخ إلى الحافظة", + "cancel": "إلغاء", + "close": "إغلاق", + "confirm": "تأكيد", + "ok": "حسنًا", + "quantifier.piece": "", + "time.last_night": "الليلة الماضية", + "time.the_night_before_last": "الليلة قبل الماضية", + "time.today": "اليوم", + "time.yesterday": "أمس", + "tips.load-lng-error": "فشل في تحميل حزمة اللغة", + "words.back": "عودة", + "words.copy": "نسخ", + "words.edit": "تحرير", + "words.entry": "إدخال", + "words.id": "المعرف", + "words.items_one": "عنصر", + "words.items_other": "عناصر", + "words.local": "محلي", + "words.record": "تسجيل", + "words.record_one": "تسجيل", + "words.record_other": "تسجيلات", + "words.result": "نتيجة", + "words.result_one": "نتيجة", + "words.result_other": "نتائج", + "words.space": " ", + "words.which.all": "الكل" +} diff --git a/locales/common/ar-TN.json b/locales/common/ar-TN.json new file mode 100644 index 000000000..013ae1159 --- /dev/null +++ b/locales/common/ar-TN.json @@ -0,0 +1,28 @@ +{ + "app.copied_to_clipboard": "تم النسخ إلى الحافظة", + "cancel": "إلغاء", + "confirm": "تأكيد", + "ok": "موافق", + "quantifier.piece": "", + "time.last_night": "الليلة الماضية", + "time.the_night_before_last": "الليلة التي قبلها", + "time.today": "اليوم", + "time.yesterday": "الأمس", + "tips.load-lng-error": "فشل في تحميل حزمة اللغة", + "words.back": "عودة", + "words.copy": "نسخ", + "words.edit": "تعديل", + "words.entry": "مدخل", + "words.id": "المعرف", + "words.items_one": "عنصر", + "words.items_other": "عناصر", + "words.local": "محلي", + "words.record": "تسجيل", + "words.record_one": "تسجيل", + "words.record_other": "تسجيلات", + "words.result": "نتيجة", + "words.result_one": "نتيجة", + "words.result_other": "نتائج", + "words.space": " ", + "words.which.all": "الكل" +} diff --git a/locales/common/en.json b/locales/common/en.json index 70164b71b..5452d58cf 100644 --- a/locales/common/en.json +++ b/locales/common/en.json @@ -1,6 +1,7 @@ { "app.copied_to_clipboard": "Copied to clipboard", "cancel": "Cancel", + "close": "Close", "confirm": "Confirm", "ok": "OK", "quantifier.piece": "", @@ -9,14 +10,17 @@ "time.today": "Today", "time.yesterday": "Yesterday", "tips.load-lng-error": "Failed to load language pack", + "words.actions": "Actions", "words.back": "Back", "words.copy": "Copy", + "words.create": "Create", "words.edit": "Edit", "words.entry": "Entry", "words.id": "ID", "words.items_one": "Item", "words.items_other": "Items", "words.local": "local", + "words.manage": "Manage", "words.record": "record", "words.record_one": "record", "words.record_other": "records", @@ -24,5 +28,7 @@ "words.result_one": "result", "words.result_other": "results", "words.space": " ", + "words.submit": "Submit", + "words.update": "Update", "words.which.all": "All" } diff --git a/locales/common/es.json b/locales/common/es.json new file mode 100644 index 000000000..42115fdee --- /dev/null +++ b/locales/common/es.json @@ -0,0 +1,29 @@ +{ + "app.copied_to_clipboard": "Copiado al portapapeles", + "cancel": "Cancelar", + "close": "Cerrar", + "confirm": "Confirmar", + "ok": "OK", + "quantifier.piece": "", + "time.last_night": "Anoche", + "time.the_night_before_last": "Anteanoche", + "time.today": "Hoy", + "time.yesterday": "Ayer", + "tips.load-lng-error": "Error al cargar el paquete de idioma", + "words.back": "Atrás", + "words.copy": "Copiar", + "words.edit": "Editar", + "words.entry": "Entrada", + "words.id": "ID", + "words.items_one": "Artículo", + "words.items_other": "Artículos", + "words.local": "local", + "words.record": "registro", + "words.record_one": "registro", + "words.record_other": "registros", + "words.result": "resultado", + "words.result_one": "resultado", + "words.result_other": "resultados", + "words.space": " ", + "words.which.all": "Todo" +} diff --git a/locales/common/fi.json b/locales/common/fi.json new file mode 100644 index 000000000..06c594ab2 --- /dev/null +++ b/locales/common/fi.json @@ -0,0 +1,28 @@ +{ + "app.copied_to_clipboard": "Kopioitu leikepöydälle", + "cancel": "Peruuta", + "confirm": "Vahvista", + "ok": "OK", + "quantifier.piece": "", + "time.last_night": "Viime yö", + "time.the_night_before_last": "Toissa yö", + "time.today": "Tänään", + "time.yesterday": "Eilen", + "tips.load-lng-error": "Kielipaketin lataaminen epäonnistui", + "words.back": "Takaisin", + "words.copy": "Kopioi", + "words.edit": "Muokkaa", + "words.entry": "Merkintä", + "words.id": "ID", + "words.items_one": "Kohde", + "words.items_other": "Kohteet", + "words.local": "paikallinen", + "words.record": "tietue", + "words.record_one": "tietue", + "words.record_other": "tietueet", + "words.result": "tulos", + "words.result_one": "tulos", + "words.result_other": "tulokset", + "words.space": " ", + "words.which.all": "Kaikki" +} diff --git a/locales/common/fr.json b/locales/common/fr.json index 72a324294..75ecb72e6 100644 --- a/locales/common/fr.json +++ b/locales/common/fr.json @@ -1,6 +1,7 @@ { "app.copied_to_clipboard": "Copié dans le presse-papier", "cancel": "Annuler", + "close": "Fermer", "confirm": "Confirmer", "ok": "OK", "quantifier.piece": "", diff --git a/locales/common/it.json b/locales/common/it.json new file mode 100644 index 000000000..3e46cb39d --- /dev/null +++ b/locales/common/it.json @@ -0,0 +1,28 @@ +{ + "app.copied_to_clipboard": "Copiato negli appunti", + "cancel": "Annulla", + "confirm": "Conferma", + "ok": "OK", + "quantifier.piece": "", + "time.last_night": "Ieri sera", + "time.the_night_before_last": "L'altra sera", + "time.today": "Oggi", + "time.yesterday": "Ieri", + "tips.load-lng-error": "Errore nel caricamento del pacchetto linguistico", + "words.back": "Indietro", + "words.copy": "Copia", + "words.edit": "Modifica", + "words.entry": "Voce", + "words.id": "ID", + "words.items_one": "Elemento", + "words.items_other": "Elementi", + "words.local": "locale", + "words.record": "record", + "words.record_one": "record", + "words.record_other": "record", + "words.result": "risultato", + "words.result_one": "risultato", + "words.result_other": "risultati", + "words.space": " ", + "words.which.all": "Tutti" +} diff --git a/locales/common/ja.json b/locales/common/ja.json index 14fb7935e..d7c8fd3d4 100644 --- a/locales/common/ja.json +++ b/locales/common/ja.json @@ -1,6 +1,7 @@ { "app.copied_to_clipboard": "クリップボードにコピーしました", "cancel": "キャンセル", + "close": "閉じる", "confirm": "確認", "ok": "OK", "quantifier.piece": "個", diff --git a/locales/common/pt.json b/locales/common/pt.json index ae59627f5..4ed5c6847 100644 --- a/locales/common/pt.json +++ b/locales/common/pt.json @@ -1,6 +1,7 @@ { "app.copied_to_clipboard": "Copiado para a área de transferência", "cancel": "Cancelar", + "close": "Fechar", "confirm": "Confirmar", "ok": "OK", "quantifier.piece": "", diff --git a/locales/common/ru.json b/locales/common/ru.json new file mode 100644 index 000000000..81f46ea1d --- /dev/null +++ b/locales/common/ru.json @@ -0,0 +1,28 @@ +{ + "app.copied_to_clipboard": "Скопировано в буфер обмена", + "cancel": "Отменить", + "confirm": "Подтвердить", + "ok": "ОК", + "quantifier.piece": "", + "time.last_night": "Прошлой ночью", + "time.the_night_before_last": "Позапрошлой ночью", + "time.today": "Сегодня", + "time.yesterday": "Вчера", + "tips.load-lng-error": "Не удалось загрузить языковой пакет", + "words.back": "Назад", + "words.copy": "Копировать", + "words.edit": "Редактировать", + "words.entry": "Запись", + "words.id": "ID", + "words.items_one": "Элемент", + "words.items_other": "Элементы", + "words.local": "локальный", + "words.record": "запись", + "words.record_one": "запись", + "words.record_other": "записи", + "words.result": "результат", + "words.result_one": "результат", + "words.result_other": "результаты", + "words.space": " ", + "words.which.all": "Все" +} diff --git a/locales/common/zh-CN.json b/locales/common/zh-CN.json index 0bfd58645..99c7e3304 100644 --- a/locales/common/zh-CN.json +++ b/locales/common/zh-CN.json @@ -1,6 +1,7 @@ { "app.copied_to_clipboard": "已复制到剪贴板", "cancel": "取消", + "close": "关闭", "confirm": "确认", "ok": "好", "quantifier.piece": "条", diff --git a/locales/common/zh-HK.json b/locales/common/zh-HK.json new file mode 100644 index 000000000..36f3ec1d9 --- /dev/null +++ b/locales/common/zh-HK.json @@ -0,0 +1,28 @@ +{ + "app.copied_to_clipboard": "已複製到剪貼簿", + "cancel": "取消", + "confirm": "確認", + "ok": "確定", + "quantifier.piece": "", + "time.last_night": "昨晚", + "time.the_night_before_last": "前晚", + "time.today": "今天", + "time.yesterday": "昨天", + "tips.load-lng-error": "加載語言包失敗", + "words.back": "返回", + "words.copy": "複製", + "words.edit": "編輯", + "words.entry": "條目", + "words.id": "ID", + "words.items_one": "項目", + "words.items_other": "項目", + "words.local": "本地", + "words.record": "記錄", + "words.record_one": "記錄", + "words.record_other": "記錄", + "words.result": "結果", + "words.result_one": "結果", + "words.result_other": "結果", + "words.space": " ", + "words.which.all": "全部" +} diff --git a/locales/common/zh-TW.json b/locales/common/zh-TW.json index f9e531088..490ba0f24 100644 --- a/locales/common/zh-TW.json +++ b/locales/common/zh-TW.json @@ -1,6 +1,7 @@ { "app.copied_to_clipboard": "已複製到剪貼簿", "cancel": "取消", + "close": "關閉", "confirm": "確認", "ok": "確定", "quantifier.piece": "", diff --git a/locales/errors/en.json b/locales/errors/en.json new file mode 100644 index 000000000..1f8f017fc --- /dev/null +++ b/locales/errors/en.json @@ -0,0 +1,29 @@ +{ + "1000": "Unauthorized", + "1001": "create session failed", + "1002": "Invalid parameter", + "1003": "Invalid invitation", + "2000": "Only admins can refresh feeds", + "2001": "Feed not found", + "2002": "feedId or url required", + "2003": "Feed fetch error", + "2004": "Feed failed to parse", + "2010": "Ownership challenge failed", + "2011": "Subscription limit exceeded", + "3000": "Entry not found", + "3001": "Entry not belong to user", + "4000": "Already claimed", + "4001": "User wallet error", + "4002": "Insufficient balance", + "4003": "Feed insufficient withdrawable balance", + "4004": "Target user wallet error", + "5000": "Invitation limit exceeded. Please try again in a few days.", + "5001": "Invitation already exists.", + "5002": "Invitation code already used.", + "5003": "Invitation code does not exist.", + "6000": "User not found", + "7000": "Setting not found", + "7001": "Invalid setting tab", + "7002": "Invalid setting payload", + "7003": "Setting payload too large" +} diff --git a/locales/errors/fr.json b/locales/errors/fr.json new file mode 100644 index 000000000..b984e3a3e --- /dev/null +++ b/locales/errors/fr.json @@ -0,0 +1,29 @@ +{ + "1000": "Non autorisé", + "1001": "Échec de la création de session", + "1002": "Paramètre invalide", + "1003": "Invitation invalide", + "2000": "Seuls les administrateurs peuvent actualiser les flux", + "2001": "Flux introuvable", + "2002": "feedId ou URL requis", + "2003": "Erreur lors de la récupération du flux", + "2004": "Échec de l'analyse du flux", + "2010": "Échec de la vérification de la propriété", + "2011": "Limite d'abonnement dépassée", + "3000": "Entrée introuvable", + "3001": "L'entrée n'appartient pas à l'utilisateur", + "4000": "Déjà réclamé", + "4001": "Erreur du portefeuille utilisateur", + "4002": "Solde insuffisant", + "4003": "Solde retirable insuffisant dans le flux", + "4004": "Erreur du portefeuille de l'utilisateur cible", + "5000": "Limite d'invitations dépassée. Veuillez réessayer dans quelques jours.", + "5001": "L'invitation existe déjà.", + "5002": "Le code d'invitation a déjà été utilisé.", + "5003": "Le code d'invitation n'existe pas.", + "6000": "Utilisateur non trouvé", + "7000": "Paramètre non trouvé", + "7001": "Onglet de paramètre invalide", + "7002": "Contenu de paramètre invalide", + "7003": "Contenu de paramètre trop volumineux" +} diff --git a/locales/errors/ja.json b/locales/errors/ja.json new file mode 100644 index 000000000..64edfeb9d --- /dev/null +++ b/locales/errors/ja.json @@ -0,0 +1,29 @@ +{ + "1000": "認証されていません", + "1001": "セッションの作成に失敗しました", + "1002": "無効なパラメータです", + "1003": "無効な招待です", + "2000": "フィードの更新は管理者のみが行えます", + "2001": "フィードが見つかりません", + "2002": "feedId または URL が必要です", + "2003": "フィードの取得エラー", + "2004": "フィードの解析に失敗しました", + "2010": "所有権の確認に失敗しました", + "2011": "サブスクリプションの上限に達しました", + "3000": "エントリーが見つかりません", + "3001": "エントリーがユーザーに属していません", + "4000": "すでに請求済みです", + "4001": "ユーザーウォレットエラー", + "4002": "残高不足", + "4003": "フィードの引き出し可能残高が不足しています", + "4004": "対象ユーザーのウォレットエラー", + "5000": "招待の上限に達しました。数日後にもう一度お試しください。", + "5001": "招待がすでに存在します。", + "5002": "招待コードはすでに使用されています。", + "5003": "招待コードが存在しません。", + "6000": "ユーザーが見つかりません", + "7000": "設定が見つかりません", + "7001": "無効な設定タブです", + "7002": "無効な設定ペイロードです", + "7003": "設定ペイロードが大きすぎます" +} diff --git a/locales/errors/ru.json b/locales/errors/ru.json new file mode 100644 index 000000000..f0a9251e0 --- /dev/null +++ b/locales/errors/ru.json @@ -0,0 +1,29 @@ +{ + "1000": "Неавторизован", + "1001": "Не удалось создать сеанс", + "1002": "Неверный параметр", + "1003": "Неверное приглашение", + "2000": "Только администраторы могут обновлять ленты", + "2001": "Лента не найдена", + "2002": "Требуется feedId или URL", + "2003": "Ошибка получения ленты", + "2004": "Ошибка разбора ленты", + "2010": "Ошибка проверки права собственности", + "2011": "Превышен лимит подписок", + "3000": "Запись не найдена", + "3001": "Запись не принадлежит пользователю", + "4000": "Уже получено", + "4001": "Ошибка кошелька пользователя", + "4002": "Недостаточно средств", + "4003": "Недостаточно средств для вывода из ленты", + "4004": "Ошибка кошелька целевого пользователя", + "5000": "Превышен лимит приглашений. Пожалуйста, попробуйте снова через несколько дней.", + "5001": "Приглашение уже существует.", + "5002": "Код приглашения уже использован.", + "5003": "Код приглашения не существует.", + "6000": "Пользователь не найден", + "7000": "Настройка не найдена", + "7001": "Неверная вкладка настройки", + "7002": "Неверное содержимое настройки", + "7003": "Содержимое настройки слишком велико" +} diff --git a/locales/errors/zh-CN.json b/locales/errors/zh-CN.json new file mode 100644 index 000000000..0b6a3bdb0 --- /dev/null +++ b/locales/errors/zh-CN.json @@ -0,0 +1,29 @@ +{ + "1000": "未授权", + "1001": "创建会话失败", + "1002": "参数无效", + "1003": "邀请码无效", + "2000": "只有管理员可以刷新 Feed", + "2001": "未找到动态", + "2002": "需要 feedId 或 url", + "2003": "Feed 获取错误", + "2004": "Feed 解析失败", + "2010": "所有权验证失败", + "2011": "订阅限制已超出", + "3000": "未找到条目", + "3001": "条目不属于用户", + "4000": "已领取", + "4001": "用户钱包错误", + "4002": "余额不足", + "4003": "可提余额不足", + "4004": "目标用户钱包错误", + "5000": "邀请限制已超出。请几天后再试。", + "5001": "邀请已存在。", + "5002": "邀请码已使用。", + "5003": "邀请码不存在。", + "6000": "未找到用户", + "7000": "未找到设置", + "7001": "无效的设置标签", + "7002": "无效的设置负载", + "7003": "设置负载过大" +} diff --git a/locales/errors/zh-HK.json b/locales/errors/zh-HK.json new file mode 100644 index 000000000..e9f9ab3fc --- /dev/null +++ b/locales/errors/zh-HK.json @@ -0,0 +1,29 @@ +{ + "1000": "未經授權", + "1001": "建立會話失敗", + "1002": "無效參數", + "1003": "無效邀請", + "2000": "只有管理員可以刷新動態", + "2001": "未找到動態", + "2002": "需要提供 feedId 或 URL", + "2003": "抓取動態時出錯", + "2004": "動態解析失敗", + "2010": "所有權驗證失敗", + "2011": "訂閱數量已達上限", + "3000": "未找到條目", + "3001": "條目不屬於該用戶", + "4000": "已兌換", + "4001": "用戶錢包錯誤", + "4002": "餘額不足", + "4003": "動態可提現餘額不足", + "4004": "目標用戶錢包錯誤", + "5000": "邀請數量已達上限,請幾日後再試。", + "5001": "邀請已存在。", + "5002": "邀請碼已被使用。", + "5003": "邀請碼不存在。", + "6000": "未找到用戶", + "7000": "未找到設定", + "7001": "無效的設定標簽", + "7002": "無效的設定負載", + "7003": "設定負載太大" +} diff --git a/locales/errors/zh-TW.json b/locales/errors/zh-TW.json new file mode 100644 index 000000000..05d90e4eb --- /dev/null +++ b/locales/errors/zh-TW.json @@ -0,0 +1,29 @@ +{ + "1000": "未經授權", + "1001": "建立會話失敗", + "1002": "參數無效", + "1003": "邀請無效", + "2000": "只有管理員可以刷新動態", + "2001": "找不到動態", + "2002": "必須提供 feedId 或 URL", + "2003": "抓取動態時發生錯誤", + "2004": "動態解析失敗", + "2010": "所有權驗證失敗", + "2011": "訂閱數量已達上限", + "3000": "找不到條目", + "3001": "條目不屬於該用戶", + "4000": "已兌換", + "4001": "使用者錢包錯誤", + "4002": "餘額不足", + "4003": "動態可提領餘額不足", + "4004": "目標使用者錢包錯誤", + "5000": "邀請數量已達上限,請幾天後再試。", + "5001": "邀請已存在。", + "5002": "邀請碼已被使用。", + "5003": "邀請碼不存在。", + "6000": "找不到使用者", + "7000": "找不到設定", + "7001": "設定標籤無效", + "7002": "設定負載無效", + "7003": "設定負載過大" +} diff --git a/locales/external/ar-DZ.json b/locales/external/ar-DZ.json new file mode 100644 index 000000000..e243855ea --- /dev/null +++ b/locales/external/ar-DZ.json @@ -0,0 +1,42 @@ +{ + "feed": { + "follow_one": "تابع", + "follow_other": "متابعات", + "followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} مع {{readCount}} {{readNoun}} على {{appName}}", + "read_one": "قراءة", + "read_other": "قراءات" + }, + "header": { + "app": "التطبيق", + "download": "تحميل" + }, + "invitation": { + "activate": "تفعيل", + "codeOptions": { + "1": "ابحث عن أي مستخدم اختبار ألفا لدعوتك.", + "2": "انضم إلى خادم Discord الخاص بنا للحصول على هدايا عرضية.", + "3": "تابع حسابنا على X للحصول على هدايا عرضية." + }, + "earlyAccess": "حاليًا Follow في مرحلة الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "earlyAccessMessage": "😰 عذرًا، Follow حاليًا في مرحلة الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "generateButton": "إنشاء رمز جديد", + "generateCost": "يمكنك إنفاق {{INVITATION_PRICE}} من Power لإنشاء رمز دعوة لأصدقائك.", + "getCodeMessage": "يمكنك الحصول على رمز دعوة من خلال الطرق التالية:", + "title": "رمز الدعوة" + }, + "login": { + "backToWebApp": "العودة إلى تطبيق الويب", + "continueWithGitHub": "تابع مع GitHub", + "continueWithGoogle": "تابع مع Google", + "logInTo": "تسجيل الدخول إلى", + "openApp": "افتح التطبيق", + "redirecting": "إعادة التوجيه", + "welcomeTo": "مرحبًا بك في" + }, + "redirect": { + "continueInBrowser": "المتابعة في المتصفح", + "instruction": "الآن هو الوقت المناسب لفتح {{APP_NAME}} وإغلاق هذه الصفحة بأمان.", + "openApp": "افتح {{APP_NAME}}", + "successMessage": "تم الاتصال بنجاح بحساب {{APP_NAME}}." + } +} diff --git a/locales/external/ar-MA.json b/locales/external/ar-MA.json new file mode 100644 index 000000000..b73818854 --- /dev/null +++ b/locales/external/ar-MA.json @@ -0,0 +1,42 @@ +{ + "feed": { + "follow_one": "متابعة", + "follow_other": "متابعات", + "followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} مع {{readCount}} {{readNoun}} على {{appName}}", + "read_one": "قراءة", + "read_other": "قراءات" + }, + "header": { + "app": "تطبيق", + "download": "تحميل" + }, + "invitation": { + "activate": "تفعيل", + "codeOptions": { + "1": "ابحث عن أي مستخدم اختبار ألفا لدعوتك.", + "2": "انضم إلى سيرفر Discord الخاص بنا للحصول على هدايا بين الحين والآخر.", + "3": "تابع حسابنا على X للحصول على هدايا بين الحين والآخر." + }, + "earlyAccess": "التطبيق في مرحلة الوصول المبكر ويحتاج إلى رمز دعوة للاستخدام.", + "earlyAccessMessage": "😰 عذرًا، التطبيق في مرحلة الوصول المبكر ويحتاج إلى رمز دعوة للاستخدام.", + "generateButton": "إنشاء رمز جديد", + "generateCost": "يمكنك إنفاق {{INVITATION_PRICE}} Power لإنشاء رمز دعوة لأصدقائك.", + "getCodeMessage": "يمكنك الحصول على رمز دعوة عبر الطرق التالية:", + "title": "رمز الدعوة" + }, + "login": { + "backToWebApp": "العودة إلى التطبيق على الويب", + "continueWithGitHub": "المتابعة باستخدام GitHub", + "continueWithGoogle": "المتابعة باستخدام Google", + "logInTo": "تسجيل الدخول إلى ", + "openApp": "فتح التطبيق", + "redirecting": "إعادة التوجيه", + "welcomeTo": "مرحبًا بك في " + }, + "redirect": { + "continueInBrowser": "المتابعة في المتصفح", + "instruction": "حان الوقت الآن لفتح {{APP_NAME}} وإغلاق هذه الصفحة بأمان.", + "openApp": "افتح {{APP_NAME}}", + "successMessage": "لقد تم الاتصال بنجاح بحسابك على {{APP_NAME}}." + } +} diff --git a/locales/external/ar-SA.json b/locales/external/ar-SA.json new file mode 100644 index 000000000..99ccef6bb --- /dev/null +++ b/locales/external/ar-SA.json @@ -0,0 +1,42 @@ +{ + "feed": { + "follow_one": "متابعة", + "follow_other": "متابعات", + "followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} مع {{readCount}} {{readNoun}} على {{appName}}", + "read_one": "قراءة", + "read_other": "قراءات" + }, + "header": { + "app": "تطبيق", + "download": "تحميل" + }, + "invitation": { + "activate": "تفعيل", + "codeOptions": { + "1": "ابحث عن أي مستخدم اختبار ألفا لدعوتك.", + "2": "انضم إلى خادمنا على Discord للحصول على هدايا دورية.", + "3": "تابع حسابنا على X للحصول على هدايا دورية." + }, + "earlyAccess": "حاليًا، Follow في مرحلة الوصول المبكر ويتطلب رمز دعوة لاستخدامه.", + "earlyAccessMessage": "😰 نأسف، Follow في مرحلة الوصول المبكر ويتطلب رمز دعوة لاستخدامه.", + "generateButton": "إنشاء رمز جديد", + "generateCost": "يمكنك إنفاق {{INVITATION_PRICE}} Power لإنشاء رمز دعوة لأصدقائك.", + "getCodeMessage": "يمكنك الحصول على رمز دعوة من خلال الطرق التالية:", + "title": "رمز الدعوة" + }, + "login": { + "backToWebApp": "العودة إلى تطبيق الويب", + "continueWithGitHub": "المتابعة باستخدام GitHub", + "continueWithGoogle": "المتابعة باستخدام Google", + "logInTo": "تسجيل الدخول إلى", + "openApp": "فتح التطبيق", + "redirecting": "إعادة التوجيه", + "welcomeTo": "مرحبًا بك في" + }, + "redirect": { + "continueInBrowser": "المتابعة في المتصفح", + "instruction": "الآن حان الوقت لفتح {{APP_NAME}} وإغلاق هذه الصفحة بأمان.", + "openApp": "فتح {{APP_NAME}}", + "successMessage": "تم الاتصال بحساب {{APP_NAME}} بنجاح." + } +} diff --git a/locales/external/ar-iq.json b/locales/external/ar-iq.json new file mode 100644 index 000000000..e243855ea --- /dev/null +++ b/locales/external/ar-iq.json @@ -0,0 +1,42 @@ +{ + "feed": { + "follow_one": "تابع", + "follow_other": "متابعات", + "followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} مع {{readCount}} {{readNoun}} على {{appName}}", + "read_one": "قراءة", + "read_other": "قراءات" + }, + "header": { + "app": "التطبيق", + "download": "تحميل" + }, + "invitation": { + "activate": "تفعيل", + "codeOptions": { + "1": "ابحث عن أي مستخدم اختبار ألفا لدعوتك.", + "2": "انضم إلى خادم Discord الخاص بنا للحصول على هدايا عرضية.", + "3": "تابع حسابنا على X للحصول على هدايا عرضية." + }, + "earlyAccess": "حاليًا Follow في مرحلة الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "earlyAccessMessage": "😰 عذرًا، Follow حاليًا في مرحلة الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "generateButton": "إنشاء رمز جديد", + "generateCost": "يمكنك إنفاق {{INVITATION_PRICE}} من Power لإنشاء رمز دعوة لأصدقائك.", + "getCodeMessage": "يمكنك الحصول على رمز دعوة من خلال الطرق التالية:", + "title": "رمز الدعوة" + }, + "login": { + "backToWebApp": "العودة إلى تطبيق الويب", + "continueWithGitHub": "تابع مع GitHub", + "continueWithGoogle": "تابع مع Google", + "logInTo": "تسجيل الدخول إلى", + "openApp": "افتح التطبيق", + "redirecting": "إعادة التوجيه", + "welcomeTo": "مرحبًا بك في" + }, + "redirect": { + "continueInBrowser": "المتابعة في المتصفح", + "instruction": "الآن هو الوقت المناسب لفتح {{APP_NAME}} وإغلاق هذه الصفحة بأمان.", + "openApp": "افتح {{APP_NAME}}", + "successMessage": "تم الاتصال بنجاح بحساب {{APP_NAME}}." + } +} diff --git a/locales/external/ar-kw.json b/locales/external/ar-kw.json new file mode 100644 index 000000000..cffc4ea29 --- /dev/null +++ b/locales/external/ar-kw.json @@ -0,0 +1,43 @@ +{ + "copied_link": "تم نسخ الرابط إلى الحافظة", + "feed": { + "follower_one": "متابع", + "follower_other": "متابعين", + "followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} مع {{readCount}} {{readNoun}} على {{appName}}", + "read_one": "قراءة", + "read_other": "قراءات" + }, + "header": { + "app": "التطبيق", + "download": "تنزيل" + }, + "invitation": { + "activate": "تفعيل", + "codeOptions": { + "1": "ابحث عن أي مستخدم اختبار ألفا لدعوتك.", + "2": "انضم إلى خادم Discord الخاص بنا للحصول على هدايا عرضية.", + "3": "تابع حسابنا على X للحصول على هدايا عرضية." + }, + "earlyAccess": "تطبيق Follow حاليًا في مرحلة الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "earlyAccessMessage": "😰 عذرًا، Follow في مرحلة الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "generateButton": "إنشاء رمز جديد", + "generateCost": "يمكنك إنفاق {{INVITATION_PRICE}} باور لإنشاء رمز دعوة لأصدقائك.", + "getCodeMessage": "يمكنك الحصول على رمز دعوة من خلال الطرق التالية:", + "title": "رمز الدعوة" + }, + "login": { + "backToWebApp": "العودة إلى تطبيق الويب", + "continueWithGitHub": "تابع مع GitHub", + "continueWithGoogle": "تابع مع Google", + "logInTo": "تسجيل الدخول إلى", + "openApp": "افتح التطبيق", + "redirecting": "إعادة التوجيه", + "welcomeTo": "مرحبًا بك في" + }, + "redirect": { + "continueInBrowser": "المتابعة في المتصفح", + "instruction": "الآن هو الوقت المناسب لفتح {{APP_NAME}} وإغلاق هذه الصفحة بأمان.", + "openApp": "افتح {{APP_NAME}}", + "successMessage": "تم الاتصال بنجاح بحساب {{APP_NAME}}." + } +} diff --git a/locales/external/ar-tn.json b/locales/external/ar-tn.json new file mode 100644 index 000000000..1d623dcbb --- /dev/null +++ b/locales/external/ar-tn.json @@ -0,0 +1,43 @@ +{ + "copied_link": "تم نسخ الرابط إلى الحافظة", + "feed": { + "follower_one": "متابع", + "follower_other": "متابعون", + "followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} مع {{readCount}} {{readNoun}} على {{appName}}", + "read_one": "قراءة", + "read_other": "قراءات" + }, + "header": { + "app": "التطبيق", + "download": "تحميل" + }, + "invitation": { + "activate": "تفعيل", + "codeOptions": { + "1": "ابحث عن أي مستخدم اختبار ألفا لدعوتك.", + "2": "انضم إلى خادم Discord الخاص بنا للحصول على هدايا عرضية.", + "3": "تابع حسابنا على X للحصول على هدايا عرضية." + }, + "earlyAccess": "Follow حالياً في مرحلة الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "earlyAccessMessage": "😰 عذراً، Follow حالياً في مرحلة الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "generateButton": "إنشاء رمز جديد", + "generateCost": "يمكنك إنفاق {{INVITATION_PRICE}} من Power لإنشاء رمز دعوة لأصدقائك.", + "getCodeMessage": "يمكنك الحصول على رمز دعوة من خلال الطرق التالية:", + "title": "رمز الدعوة" + }, + "login": { + "backToWebApp": "العودة إلى تطبيق الويب", + "continueWithGitHub": "المتابعة باستخدام GitHub", + "continueWithGoogle": "المتابعة باستخدام Google", + "logInTo": "تسجيل الدخول إلى ", + "openApp": "افتح التطبيق", + "redirecting": "جاري إعادة التوجيه", + "welcomeTo": "مرحباً بك في " + }, + "redirect": { + "continueInBrowser": "المتابعة في المتصفح", + "instruction": "الآن هو الوقت المناسب لفتح {{APP_NAME}} وإغلاق هذه الصفحة بأمان.", + "openApp": "افتح {{APP_NAME}}", + "successMessage": "تم الاتصال بحساب {{APP_NAME}} بنجاح." + } +} diff --git a/locales/external/en.json b/locales/external/en.json index 30fa264e2..6292cc41e 100644 --- a/locales/external/en.json +++ b/locales/external/en.json @@ -1,43 +1,34 @@ { "copied_link": "Copied link to clipboard", - "feed": { - "follower_one": "follower", - "follower_other": "followers", - "followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} with {{readCount}} {{readNoun}} on {{appName}}", - "read_one": "read", - "read_other": "reads" - }, - "header": { - "app": "App", - "download": "Download" - }, - "invitation": { - "activate": "Activate", - "codeOptions": { - "1": "Looking for any alpha test user to invite you.", - "2": "Join our Discord server for occasional giveaways.", - "3": "Follow our X account for occasional giveaways." - }, - "earlyAccess": "Follow is currently in early access and requires an invitation code to use.", - "earlyAccessMessage": "😰 Sorry, Follow is currently in early access and requires an invitation code to use.", - "generateButton": "Generate new code", - "generateCost": "You can spend {{INVITATION_PRICE}} Power to generate an invitation code for your friends.", - "getCodeMessage": "You can get an invitation code in the following ways:", - "title": "Invitation Code" - }, - "login": { - "backToWebApp": "Back To Web App", - "continueWithGitHub": "Continue with GitHub", - "continueWithGoogle": "Continue with Google", - "logInTo": "Log in to ", - "openApp": "Open App", - "redirecting": "Redirecting", - "welcomeTo": "Welcome to " - }, - "redirect": { - "continueInBrowser": "Continue in Browser", - "instruction": "Now is the time to open {{APP_NAME}} and safely close this page.", - "openApp": "Open {{APP_NAME}}", - "successMessage": "You have successfully connected to {{APP_NAME}} Account." - } + "feed.feeds_one": "feed", + "feed.feeds_other": "feeds", + "feed.follower_one": "follower", + "feed.follower_other": "followers", + "feed.followsAndFeeds": "{{subscriptionCount}} {{subscriptionNoun}} with {{feedsCount}} {{feedsNoun}} on {{appName}}", + "feed.followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} with {{readCount}} {{readNoun}} on {{appName}}", + "feed.read_one": "read", + "feed.read_other": "reads", + "header.app": "App", + "header.download": "Download", + "invitation.activate": "Activate", + "invitation.codeOptions.1": "Looking for any alpha test user to invite you.", + "invitation.codeOptions.2": "Join our Discord server for occasional giveaways.", + "invitation.codeOptions.3": "Follow our X account for occasional giveaways.", + "invitation.earlyAccess": "Follow is currently in early access and requires an invitation code to use.", + "invitation.earlyAccessMessage": "😰 Sorry, Follow is currently in early access and requires an invitation code to use.", + "invitation.generateButton": "Generate new code", + "invitation.generateCost": "You can spend {{INVITATION_PRICE}} Power to generate an invitation code for your friends.", + "invitation.getCodeMessage": "You can get an invitation code in the following ways:", + "invitation.title": "Invitation Code", + "login.backToWebApp": "Back To Web App", + "login.continueWithGitHub": "Continue with GitHub", + "login.continueWithGoogle": "Continue with Google", + "login.logInTo": "Log in to ", + "login.openApp": "Open App", + "login.redirecting": "Redirecting", + "login.welcomeTo": "Welcome to ", + "redirect.continueInBrowser": "Continue in Browser", + "redirect.instruction": "Now is the time to open {{APP_NAME}} and safely close this page.", + "redirect.openApp": "Open {{APP_NAME}}", + "redirect.successMessage": "You have successfully connected to {{APP_NAME}} Account." } diff --git a/locales/external/es.json b/locales/external/es.json new file mode 100644 index 000000000..102fd9ecc --- /dev/null +++ b/locales/external/es.json @@ -0,0 +1,42 @@ +{ + "feed": { + "follow_one": "seguir", + "follow_other": "seguidores", + "followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} con {{readCount}} {{readNoun}} en {{appName}}", + "read_one": "leer", + "read_other": "lecturas" + }, + "header": { + "app": "Aplicación", + "download": "Descargar" + }, + "invitation": { + "activate": "Activar", + "codeOptions": { + "1": "Buscando a algún usuario de prueba alfa que te invite.", + "2": "Únete a nuestro servidor de Discord para sorteos ocasionales.", + "3": "Sigue nuestra cuenta de X para sorteos ocasionales." + }, + "earlyAccess": "Follow está actualmente en acceso anticipado y requiere un código de invitación para usarlo.", + "earlyAccessMessage": "😰 Lo sentimos, Follow está actualmente en acceso anticipado y requiere un código de invitación para usarlo.", + "generateButton": "Generar nuevo código", + "generateCost": "Puedes gastar {{INVITATION_PRICE}} Power para generar un código de invitación para tus amigos.", + "getCodeMessage": "Puedes obtener un código de invitación de las siguientes maneras:", + "title": "Código de Invitación" + }, + "login": { + "backToWebApp": "Volver a la aplicación web", + "continueWithGitHub": "Continuar con GitHub", + "continueWithGoogle": "Continuar con Google", + "logInTo": "Iniciar sesión en ", + "openApp": "Abrir aplicación", + "redirecting": "Redirigiendo", + "welcomeTo": "Bienvenido a " + }, + "redirect": { + "continueInBrowser": "Continuar en el navegador", + "instruction": "Es hora de abrir {{APP_NAME}} y cerrar esta página de forma segura.", + "openApp": "Abrir {{APP_NAME}}", + "successMessage": "Te has conectado exitosamente a la cuenta de {{APP_NAME}}." + } +} diff --git a/locales/external/fi.json b/locales/external/fi.json new file mode 100644 index 000000000..e596c13c7 --- /dev/null +++ b/locales/external/fi.json @@ -0,0 +1,42 @@ +{ + "feed": { + "follow_one": "seuraa", + "follow_other": "seuraajat", + "followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} ja {{readCount}} {{readNoun}} palvelussa {{appName}}", + "read_one": "lue", + "read_other": "lukee" + }, + "header": { + "app": "Sovellus", + "download": "Lataa" + }, + "invitation": { + "activate": "Aktivoi", + "codeOptions": { + "1": "Etsi mikä tahansa alpha-testaaja kutsumaan sinut.", + "2": "Liity Discord-palvelimeemme satunnaisia arvontoja varten.", + "3": "Seuraa X-tiliämme satunnaisia arvontoja varten." + }, + "earlyAccess": "Follow on tällä hetkellä varhaisessa käytössä ja vaatii kutsukoodin.", + "earlyAccessMessage": "😰 Pahoittelut, Follow on tällä hetkellä varhaisessa käytössä ja vaatii kutsukoodin.", + "generateButton": "Luo uusi koodi", + "generateCost": "Voit käyttää {{INVITATION_PRICE}} Poweria luodaksesi kutsukoodin ystävillesi.", + "getCodeMessage": "Voit saada kutsukoodin seuraavilla tavoilla:", + "title": "Kutsukoodi" + }, + "login": { + "backToWebApp": "Takaisin verkkosovellukseen", + "continueWithGitHub": "Jatka GitHubilla", + "continueWithGoogle": "Jatka Googlella", + "logInTo": "Kirjaudu sisään ", + "openApp": "Avaa sovellus", + "redirecting": "Uudelleenohjataan", + "welcomeTo": "Tervetuloa " + }, + "redirect": { + "continueInBrowser": "Jatka selaimessa", + "instruction": "Nyt on aika avata {{APP_NAME}} ja sulkea tämä sivu turvallisesti.", + "openApp": "Avaa {{APP_NAME}}", + "successMessage": "Olet onnistuneesti yhdistänyt {{APP_NAME}}-tilisi." + } +} diff --git a/locales/external/it.json b/locales/external/it.json new file mode 100644 index 000000000..b57e20a50 --- /dev/null +++ b/locales/external/it.json @@ -0,0 +1,42 @@ +{ + "feed": { + "follow_one": "segui", + "follow_other": "seguono", + "followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} con {{readCount}} {{readNoun}} su {{appName}}", + "read_one": "letto", + "read_other": "letti" + }, + "header": { + "app": "App", + "download": "Scarica" + }, + "invitation": { + "activate": "Attiva", + "codeOptions": { + "1": "Cerca qualsiasi utente alpha test per invitarti.", + "2": "Unisciti al nostro server Discord per partecipare a estrazioni occasionali.", + "3": "Segui il nostro account X per partecipare a estrazioni occasionali." + }, + "earlyAccess": "Follow è attualmente in accesso anticipato e richiede un codice di invito per essere utilizzato.", + "earlyAccessMessage": "😰 Ci dispiace, Follow è attualmente in accesso anticipato e richiede un codice di invito per essere utilizzato.", + "generateButton": "Genera nuovo codice", + "generateCost": "Puoi spendere {{INVITATION_PRICE}} Power per generare un codice di invito per i tuoi amici.", + "getCodeMessage": "Puoi ottenere un codice di invito nei seguenti modi:", + "title": "Codice di Invito" + }, + "login": { + "backToWebApp": "Torna all'App Web", + "continueWithGitHub": "Continua con GitHub", + "continueWithGoogle": "Continua con Google", + "logInTo": "Accedi a", + "openApp": "Apri App", + "redirecting": "Reindirizzamento in corso", + "welcomeTo": "Benvenuto su" + }, + "redirect": { + "continueInBrowser": "Continua nel Browser", + "instruction": "Ora è il momento di aprire {{APP_NAME}} e chiudere in sicurezza questa pagina.", + "openApp": "Apri {{APP_NAME}}", + "successMessage": "Ti sei connesso con successo all'account {{APP_NAME}}." + } +} diff --git a/locales/external/ru.json b/locales/external/ru.json new file mode 100644 index 000000000..5bdf546a0 --- /dev/null +++ b/locales/external/ru.json @@ -0,0 +1,42 @@ +{ + "feed": { + "follow_one": "подписка", + "follow_other": "подписки", + "followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} с {{readCount}} {{readNoun}} на {{appName}}", + "read_one": "чтение", + "read_other": "чтений" + }, + "header": { + "app": "Приложение", + "download": "Скачать" + }, + "invitation": { + "activate": "Активировать", + "codeOptions": { + "1": "Ищите пользователей для приглашения на альфа-тестирование.", + "2": "Присоединяйтесь к нашему серверу Discord для участия в раздачах.", + "3": "Подпишитесь на наш аккаунт X для участия в раздачах." + }, + "earlyAccess": "В настоящее время Follow находится в раннем доступе и требует пригласительного кода для использования.", + "earlyAccessMessage": "😰 Извините, Follow находится в раннем доступе и требует пригласительного кода для использования.", + "generateButton": "Сгенерировать новый код", + "generateCost": "Вы можете потратить {{INVITATION_PRICE}} Power, чтобы сгенерировать пригласительный код для ваших друзей.", + "getCodeMessage": "Вы можете получить пригласительный код следующими способами:", + "title": "Пригласительный код" + }, + "login": { + "backToWebApp": "Вернуться к веб-приложению", + "continueWithGitHub": "Продолжить через GitHub", + "continueWithGoogle": "Продолжить через Google", + "logInTo": "Войти в ", + "openApp": "Открыть приложение", + "redirecting": "Перенаправление", + "welcomeTo": "Добро пожаловать в " + }, + "redirect": { + "continueInBrowser": "Продолжить в браузере", + "instruction": "Сейчас самое время открыть {{APP_NAME}} и безопасно закрыть эту страницу.", + "openApp": "Открыть {{APP_NAME}}", + "successMessage": "Вы успешно подключились к аккаунту {{APP_NAME}}." + } +} diff --git a/locales/external/zh-HK.json b/locales/external/zh-HK.json new file mode 100644 index 000000000..8345a15a7 --- /dev/null +++ b/locales/external/zh-HK.json @@ -0,0 +1,43 @@ +{ + "copied_link": "鏈接已複製到剪貼簿", + "feed": { + "follower_one": "追隨者", + "follower_other": "追隨者", + "followsAndReads": "{{subscriptionCount}} 個 {{subscriptionNoun}} 和 {{readCount}} 個 {{readNoun}} 在 {{appName}}", + "read_one": "閱讀", + "read_other": "閱讀數" + }, + "header": { + "app": "應用程式", + "download": "下載" + }, + "invitation": { + "activate": "激活", + "codeOptions": { + "1": "尋找任何內測測試用戶邀請你。", + "2": "加入我們的 Discord 伺服器,不定期贈送邀請碼。", + "3": "關注我們的 X 帳戶,不定期贈送邀請碼。" + }, + "earlyAccess": "Follow 目前處於早期訪問階段,使用需要邀請碼。", + "earlyAccessMessage": "😰 抱歉,Follow 目前處於早期訪問階段,使用需要邀請碼。", + "generateButton": "生成新邀請碼", + "generateCost": "你可以花費 {{INVITATION_PRICE}} Power 為你的朋友生成邀請碼。", + "getCodeMessage": "你可以通過以下方式獲取邀請碼:", + "title": "邀請碼" + }, + "login": { + "backToWebApp": "返回網頁應用程式", + "continueWithGitHub": "繼續使用 GitHub", + "continueWithGoogle": "繼續使用 Google", + "logInTo": "登錄到", + "openApp": "打開應用程式", + "redirecting": "重定向中", + "welcomeTo": "歡迎來到" + }, + "redirect": { + "continueInBrowser": "在瀏覽器中繼續", + "instruction": "現在是時候打開 {{APP_NAME}} 並安全地關閉此頁面。", + "openApp": "打開 {{APP_NAME}}", + "successMessage": "你已成功連接到 {{APP_NAME}} 帳戶。" + } +} diff --git a/locales/external/zh-TW.json b/locales/external/zh-TW.json index 0f49ca6c0..4f94e7c11 100644 --- a/locales/external/zh-TW.json +++ b/locales/external/zh-TW.json @@ -1,4 +1,5 @@ { + "copied_link": "連結已複製到剪貼簿", "feed": { "follower_one": "追隨者", "follower_other": "追隨者", diff --git a/locales/lang/ar-DZ.json b/locales/lang/ar-DZ.json new file mode 100644 index 000000000..e508a8098 --- /dev/null +++ b/locales/lang/ar-DZ.json @@ -0,0 +1,20 @@ +{ + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", + "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", + "langs.fr": "Français", + "langs.it": "Italiano", + "langs.ja": "日本語", + "langs.pt": "Português", + "langs.ru": "Русский", + "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", + "name": "العربية (الجزائر)" +} diff --git a/locales/lang/ar-IQ.json b/locales/lang/ar-IQ.json new file mode 100644 index 000000000..29128b5b9 --- /dev/null +++ b/locales/lang/ar-IQ.json @@ -0,0 +1,20 @@ +{ + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", + "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", + "langs.fr": "Français", + "langs.it": "Italiano", + "langs.ja": "日本語", + "langs.pt": "Português", + "langs.ru": "Русский", + "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", + "name": "العربية (العراق)" +} diff --git a/locales/lang/ar-KW.json b/locales/lang/ar-KW.json new file mode 100644 index 000000000..9f61c3dd3 --- /dev/null +++ b/locales/lang/ar-KW.json @@ -0,0 +1,20 @@ +{ + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", + "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", + "langs.fr": "Français", + "langs.it": "Italiano", + "langs.ja": "日本語", + "langs.pt": "Português", + "langs.ru": "Русский", + "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", + "name": "العربية (الكويت)" +} diff --git a/locales/lang/ar-MA.json b/locales/lang/ar-MA.json new file mode 100644 index 000000000..56bf9328e --- /dev/null +++ b/locales/lang/ar-MA.json @@ -0,0 +1,20 @@ +{ + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", + "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", + "langs.fr": "Français", + "langs.it": "Italiano", + "langs.ja": "日本語", + "langs.pt": "Português", + "langs.ru": "Русский", + "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", + "name": "العربية (المغرب)" +} diff --git a/locales/lang/ar-SA.json b/locales/lang/ar-SA.json new file mode 100644 index 000000000..be22948df --- /dev/null +++ b/locales/lang/ar-SA.json @@ -0,0 +1,20 @@ +{ + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", + "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", + "langs.fr": "Français", + "langs.it": "Italiano", + "langs.ja": "日本語", + "langs.pt": "Português", + "langs.ru": "Русский", + "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", + "name": "العربية (السعودية)" +} diff --git a/locales/lang/ar-TN.json b/locales/lang/ar-TN.json new file mode 100644 index 000000000..55e522c42 --- /dev/null +++ b/locales/lang/ar-TN.json @@ -0,0 +1,20 @@ +{ + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", + "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", + "langs.fr": "Français", + "langs.it": "Italiano", + "langs.ja": "日本語", + "langs.pt": "Português", + "langs.ru": "Русский", + "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", + "name": "العربية (تونس)" +} diff --git a/locales/lang/en.json b/locales/lang/en.json index 0e085ed5a..4c98959c5 100644 --- a/locales/lang/en.json +++ b/locales/lang/en.json @@ -1,9 +1,20 @@ { + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", "langs.fr": "Français", + "langs.it": "Italiano", "langs.ja": "日本語", "langs.pt": "Português", + "langs.ru": "Русский", "langs.zh-CN": "简体中文", - "langs.zh-TW": "繁體中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", "name": "English" } diff --git a/locales/lang/es.json b/locales/lang/es.json new file mode 100644 index 000000000..6770e31e2 --- /dev/null +++ b/locales/lang/es.json @@ -0,0 +1,20 @@ +{ + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", + "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", + "langs.fr": "Français", + "langs.it": "Italiano", + "langs.ja": "日本語", + "langs.pt": "Português", + "langs.ru": "Русский", + "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", + "name": "Español" +} diff --git a/locales/lang/fi.json b/locales/lang/fi.json new file mode 100644 index 000000000..5c4ca6c84 --- /dev/null +++ b/locales/lang/fi.json @@ -0,0 +1,20 @@ +{ + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", + "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", + "langs.fr": "Français", + "langs.it": "Italiano", + "langs.ja": "日本語", + "langs.pt": "Português", + "langs.ru": "Русский", + "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", + "name": "Suomi" +} diff --git a/locales/lang/fr.json b/locales/lang/fr.json index 51acafabd..b6ca82157 100644 --- a/locales/lang/fr.json +++ b/locales/lang/fr.json @@ -1,7 +1,20 @@ { - "langs.en": "Anglais", + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", + "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", "langs.fr": "Français", - "langs.ja": "Japonais", - "langs.zh-CN": "Chinois simplifié", + "langs.it": "Italiano", + "langs.ja": "日本語", + "langs.pt": "Português", + "langs.ru": "Русский", + "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", "name": "Français" } diff --git a/locales/lang/it.json b/locales/lang/it.json new file mode 100644 index 000000000..dbb40169f --- /dev/null +++ b/locales/lang/it.json @@ -0,0 +1,20 @@ +{ + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", + "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", + "langs.fr": "Français", + "langs.it": "Italiano", + "langs.ja": "日本語", + "langs.pt": "Português", + "langs.ru": "Русский", + "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", + "name": "Italiano" +} diff --git a/locales/lang/ja.json b/locales/lang/ja.json index f8beccbee..ba6647d52 100644 --- a/locales/lang/ja.json +++ b/locales/lang/ja.json @@ -1,9 +1,20 @@ { + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", "langs.fr": "Français", + "langs.it": "Italiano", "langs.ja": "日本語", "langs.pt": "Português", + "langs.ru": "Русский", "langs.zh-CN": "简体中文", - "langs.zh-TW": "繁體中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", "name": "日本語" } diff --git a/locales/lang/pt.json b/locales/lang/pt.json index fcb92f119..de2304bc3 100644 --- a/locales/lang/pt.json +++ b/locales/lang/pt.json @@ -1,7 +1,20 @@ { + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", + "langs.fr": "Français", + "langs.it": "Italiano", "langs.ja": "日本語", "langs.pt": "Português", + "langs.ru": "Русский", "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", "name": "Português" } diff --git a/locales/lang/ru.json b/locales/lang/ru.json new file mode 100644 index 000000000..d38033f88 --- /dev/null +++ b/locales/lang/ru.json @@ -0,0 +1,20 @@ +{ + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", + "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", + "langs.fr": "Français", + "langs.it": "Italiano", + "langs.ja": "日本語", + "langs.pt": "Português", + "langs.ru": "Русский", + "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", + "name": "Русский" +} diff --git a/locales/lang/zh-CN.json b/locales/lang/zh-CN.json index 69d8fe02c..92e726a3e 100644 --- a/locales/lang/zh-CN.json +++ b/locales/lang/zh-CN.json @@ -1,8 +1,20 @@ { + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", "langs.fr": "Français", + "langs.it": "Italiano", "langs.ja": "日本語", "langs.pt": "Português", + "langs.ru": "Русский", "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", "name": "简体中文" } diff --git a/locales/lang/zh-HK.json b/locales/lang/zh-HK.json new file mode 100644 index 000000000..ff7b5df21 --- /dev/null +++ b/locales/lang/zh-HK.json @@ -0,0 +1,20 @@ +{ + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", + "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", + "langs.fr": "Français", + "langs.it": "Italiano", + "langs.ja": "日本語", + "langs.pt": "Português", + "langs.ru": "Русский", + "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", + "name": "繁體中文(香港)" +} diff --git a/locales/lang/zh-TW.json b/locales/lang/zh-TW.json index 909996a47..de1f73226 100644 --- a/locales/lang/zh-TW.json +++ b/locales/lang/zh-TW.json @@ -1,7 +1,20 @@ { + "langs.ar-DZ": "العربية (الجزائر)", + "langs.ar-IQ": "العربية (العراق)", + "langs.ar-KW": "العربية (الكويت)", + "langs.ar-MA": "العربية (المغرب)", + "langs.ar-SA": "العربية (السعودية)", + "langs.ar-TN": "العربية (تونس)", "langs.en": "English", + "langs.es": "Español", + "langs.fi": "Suomi", + "langs.fr": "Français", + "langs.it": "Italiano", "langs.ja": "日本語", - "langs.zh-CN": "簡體中文", - "langs.zh-TW": "繁體中文", - "name": "繁體中文" + "langs.pt": "Português", + "langs.ru": "Русский", + "langs.zh-CN": "简体中文", + "langs.zh-HK": "繁體中文(香港)", + "langs.zh-TW": "繁體中文(台灣)", + "name": "繁體中文(台灣)" } diff --git a/locales/native/ar-iq.json b/locales/native/ar-iq.json new file mode 100644 index 000000000..6ee121dc1 --- /dev/null +++ b/locales/native/ar-iq.json @@ -0,0 +1,53 @@ +{ + "contextMenu.copyImage": "نسخ الصورة", + "contextMenu.copyImageAddress": "نسخ عنوان الصورة", + "contextMenu.copyLink": "نسخ الرابط", + "contextMenu.copyVideoAddress": "نسخ عنوان الفيديو", + "contextMenu.inspect": "فحص العنصر", + "contextMenu.openImageInBrowser": "فتح الصورة في المتصفح", + "contextMenu.openLinkInBrowser": "فتح الرابط في المتصفح", + "contextMenu.saveImageAs": "حفظ الصورة باسم...", + "contextMenu.saveVideoAs": "حفظ الفيديو باسم...", + "menu.about": "حول {{name}}", + "menu.actualSize": "الحجم الفعلي", + "menu.bringAllToFront": "إحضار الكل إلى الأمام", + "menu.checkForUpdates": "التحقق من التحديثات", + "menu.close": "إغلاق", + "menu.copy": "نسخ", + "menu.cut": "قص", + "menu.debug": "تصحيح", + "menu.delete": "حذف", + "menu.discover": "اكتشف", + "menu.edit": "تحرير", + "menu.file": "ملف", + "menu.followReleases": "تابع الإصدارات", + "menu.forceReload": "إعادة التحميل بالقوة", + "menu.front": "إحضار إلى الأمام", + "menu.help": "مساعدة", + "menu.hide": "إخفاء {{name}}", + "menu.hideOthers": "إخفاء الآخرين", + "menu.minimize": "تصغير", + "menu.openLogFile": "فتح ملف السجل", + "menu.paste": "لصق", + "menu.pasteAndMatchStyle": "لصق ومطابقة النمط", + "menu.quickAdd": "إضافة سريعة", + "menu.quit": "خروج {{name}}", + "menu.quitAndInstallUpdate": "تصحيح: الخروج وتثبيت التحديث", + "menu.redo": "إعادة", + "menu.reload": "إعادة تحميل", + "menu.search": "بحث", + "menu.selectAll": "تحديد الكل", + "menu.services": "خدمات", + "menu.settings": "الإعدادات...", + "menu.speech": "النطق", + "menu.startSpeaking": "بدء النطق", + "menu.stopSpeaking": "إيقاف النطق", + "menu.toggleDevTools": "تبديل أدوات المطور", + "menu.toggleFullScreen": "تبديل وضع ملء الشاشة", + "menu.undo": "تراجع", + "menu.view": "عرض", + "menu.window": "نافذة", + "menu.zoom": "تكبير", + "menu.zoomIn": "تكبير", + "menu.zoomOut": "تصغير" +} diff --git a/locales/native/ar-kw.json b/locales/native/ar-kw.json new file mode 100644 index 000000000..6ee121dc1 --- /dev/null +++ b/locales/native/ar-kw.json @@ -0,0 +1,53 @@ +{ + "contextMenu.copyImage": "نسخ الصورة", + "contextMenu.copyImageAddress": "نسخ عنوان الصورة", + "contextMenu.copyLink": "نسخ الرابط", + "contextMenu.copyVideoAddress": "نسخ عنوان الفيديو", + "contextMenu.inspect": "فحص العنصر", + "contextMenu.openImageInBrowser": "فتح الصورة في المتصفح", + "contextMenu.openLinkInBrowser": "فتح الرابط في المتصفح", + "contextMenu.saveImageAs": "حفظ الصورة باسم...", + "contextMenu.saveVideoAs": "حفظ الفيديو باسم...", + "menu.about": "حول {{name}}", + "menu.actualSize": "الحجم الفعلي", + "menu.bringAllToFront": "إحضار الكل إلى الأمام", + "menu.checkForUpdates": "التحقق من التحديثات", + "menu.close": "إغلاق", + "menu.copy": "نسخ", + "menu.cut": "قص", + "menu.debug": "تصحيح", + "menu.delete": "حذف", + "menu.discover": "اكتشف", + "menu.edit": "تحرير", + "menu.file": "ملف", + "menu.followReleases": "تابع الإصدارات", + "menu.forceReload": "إعادة التحميل بالقوة", + "menu.front": "إحضار إلى الأمام", + "menu.help": "مساعدة", + "menu.hide": "إخفاء {{name}}", + "menu.hideOthers": "إخفاء الآخرين", + "menu.minimize": "تصغير", + "menu.openLogFile": "فتح ملف السجل", + "menu.paste": "لصق", + "menu.pasteAndMatchStyle": "لصق ومطابقة النمط", + "menu.quickAdd": "إضافة سريعة", + "menu.quit": "خروج {{name}}", + "menu.quitAndInstallUpdate": "تصحيح: الخروج وتثبيت التحديث", + "menu.redo": "إعادة", + "menu.reload": "إعادة تحميل", + "menu.search": "بحث", + "menu.selectAll": "تحديد الكل", + "menu.services": "خدمات", + "menu.settings": "الإعدادات...", + "menu.speech": "النطق", + "menu.startSpeaking": "بدء النطق", + "menu.stopSpeaking": "إيقاف النطق", + "menu.toggleDevTools": "تبديل أدوات المطور", + "menu.toggleFullScreen": "تبديل وضع ملء الشاشة", + "menu.undo": "تراجع", + "menu.view": "عرض", + "menu.window": "نافذة", + "menu.zoom": "تكبير", + "menu.zoomIn": "تكبير", + "menu.zoomOut": "تصغير" +} diff --git a/locales/native/ar-tn.json b/locales/native/ar-tn.json new file mode 100644 index 000000000..6ee121dc1 --- /dev/null +++ b/locales/native/ar-tn.json @@ -0,0 +1,53 @@ +{ + "contextMenu.copyImage": "نسخ الصورة", + "contextMenu.copyImageAddress": "نسخ عنوان الصورة", + "contextMenu.copyLink": "نسخ الرابط", + "contextMenu.copyVideoAddress": "نسخ عنوان الفيديو", + "contextMenu.inspect": "فحص العنصر", + "contextMenu.openImageInBrowser": "فتح الصورة في المتصفح", + "contextMenu.openLinkInBrowser": "فتح الرابط في المتصفح", + "contextMenu.saveImageAs": "حفظ الصورة باسم...", + "contextMenu.saveVideoAs": "حفظ الفيديو باسم...", + "menu.about": "حول {{name}}", + "menu.actualSize": "الحجم الفعلي", + "menu.bringAllToFront": "إحضار الكل إلى الأمام", + "menu.checkForUpdates": "التحقق من التحديثات", + "menu.close": "إغلاق", + "menu.copy": "نسخ", + "menu.cut": "قص", + "menu.debug": "تصحيح", + "menu.delete": "حذف", + "menu.discover": "اكتشف", + "menu.edit": "تحرير", + "menu.file": "ملف", + "menu.followReleases": "تابع الإصدارات", + "menu.forceReload": "إعادة التحميل بالقوة", + "menu.front": "إحضار إلى الأمام", + "menu.help": "مساعدة", + "menu.hide": "إخفاء {{name}}", + "menu.hideOthers": "إخفاء الآخرين", + "menu.minimize": "تصغير", + "menu.openLogFile": "فتح ملف السجل", + "menu.paste": "لصق", + "menu.pasteAndMatchStyle": "لصق ومطابقة النمط", + "menu.quickAdd": "إضافة سريعة", + "menu.quit": "خروج {{name}}", + "menu.quitAndInstallUpdate": "تصحيح: الخروج وتثبيت التحديث", + "menu.redo": "إعادة", + "menu.reload": "إعادة تحميل", + "menu.search": "بحث", + "menu.selectAll": "تحديد الكل", + "menu.services": "خدمات", + "menu.settings": "الإعدادات...", + "menu.speech": "النطق", + "menu.startSpeaking": "بدء النطق", + "menu.stopSpeaking": "إيقاف النطق", + "menu.toggleDevTools": "تبديل أدوات المطور", + "menu.toggleFullScreen": "تبديل وضع ملء الشاشة", + "menu.undo": "تراجع", + "menu.view": "عرض", + "menu.window": "نافذة", + "menu.zoom": "تكبير", + "menu.zoomIn": "تكبير", + "menu.zoomOut": "تصغير" +} diff --git a/locales/native/en.json b/locales/native/en.json new file mode 100644 index 000000000..beb2b9ba6 --- /dev/null +++ b/locales/native/en.json @@ -0,0 +1,64 @@ +{ + "contextMenu.copy": "Copy", + "contextMenu.copyImage": "Copy Image", + "contextMenu.copyImageAddress": "Copy Image Address", + "contextMenu.copyLink": "Copy Link", + "contextMenu.copyVideoAddress": "Copy Video Address", + "contextMenu.cut": "Cut", + "contextMenu.inspect": "Inspect Element", + "contextMenu.learnSpelling": "Learn Spelling", + "contextMenu.lookUpSelection": "Look Up Selection", + "contextMenu.openImageInBrowser": "Open Image in Browser", + "contextMenu.openLinkInBrowser": "Open Link in Browser", + "contextMenu.paste": "Paste", + "contextMenu.saveImage": "Save Image", + "contextMenu.saveImageAs": "Save Image As...", + "contextMenu.saveLinkAs": "Save Link As...", + "contextMenu.saveVideo": "Save Video", + "contextMenu.saveVideoAs": "Save Video As...", + "contextMenu.searchWithGoogle": "Search with Google", + "contextMenu.selectAll": "Select All", + "contextMenu.services": "Services", + "menu.about": "About {{name}}", + "menu.actualSize": "Actual Size", + "menu.bringAllToFront": "Bring All to Front", + "menu.checkForUpdates": "Check for Updates", + "menu.close": "Close", + "menu.copy": "Copy", + "menu.cut": "Cut", + "menu.debug": "Debug", + "menu.delete": "Delete", + "menu.discover": "Discover", + "menu.edit": "Edit", + "menu.file": "File", + "menu.followReleases": "Follow releases", + "menu.forceReload": "Force Reload", + "menu.front": "Bring to Front", + "menu.help": "Help", + "menu.hide": "Hide {{name}}", + "menu.hideOthers": "Hide Others", + "menu.minimize": "Minimize", + "menu.openLogFile": "Open log file", + "menu.paste": "Paste", + "menu.pasteAndMatchStyle": "Paste and Match Style", + "menu.quickAdd": "Quick Add", + "menu.quit": "Quit {{name}}", + "menu.quitAndInstallUpdate": "Debug: Quit and Install Update", + "menu.redo": "Redo", + "menu.reload": "Reload", + "menu.search": "Search", + "menu.selectAll": "Select All", + "menu.services": "Services", + "menu.settings": "Settings...", + "menu.speech": "Speech", + "menu.startSpeaking": "Start Speaking", + "menu.stopSpeaking": "Stop Speaking", + "menu.toggleDevTools": "Toggle Developer Tools", + "menu.toggleFullScreen": "Toggle Full Screen", + "menu.undo": "Undo", + "menu.view": "View", + "menu.window": "Window", + "menu.zoom": "Zoom", + "menu.zoomIn": "Zoom In", + "menu.zoomOut": "Zoom Out" +} diff --git a/locales/native/it.json b/locales/native/it.json new file mode 100644 index 000000000..9c69796f0 --- /dev/null +++ b/locales/native/it.json @@ -0,0 +1,53 @@ +{ + "contextMenu.copyImage": "Copia immagine", + "contextMenu.copyImageAddress": "Copia indirizzo immagine", + "contextMenu.copyLink": "Copia link", + "contextMenu.copyVideoAddress": "Copia indirizzo video", + "contextMenu.inspect": "Ispeziona elemento", + "contextMenu.openImageInBrowser": "Apri immagine nel browser", + "contextMenu.openLinkInBrowser": "Apri link nel browser", + "contextMenu.saveImageAs": "Salva immagine come...", + "contextMenu.saveVideoAs": "Salva video come...", + "menu.about": "Informazioni su {{name}}", + "menu.actualSize": "Dimensione effettiva", + "menu.bringAllToFront": "Porta tutto in primo piano", + "menu.checkForUpdates": "Controlla aggiornamenti", + "menu.close": "Chiudi", + "menu.copy": "Copia", + "menu.cut": "Taglia", + "menu.debug": "Debug", + "menu.delete": "Elimina", + "menu.discover": "Scopri", + "menu.edit": "Modifica", + "menu.file": "File", + "menu.followReleases": "Segui aggiornamenti", + "menu.forceReload": "Ricarica forzatamente", + "menu.front": "Porta in primo piano", + "menu.help": "Aiuto", + "menu.hide": "Nascondi {{name}}", + "menu.hideOthers": "Nascondi altri", + "menu.minimize": "Minimizza", + "menu.openLogFile": "Apri file di log", + "menu.paste": "Incolla", + "menu.pasteAndMatchStyle": "Incolla e adatta stile", + "menu.quickAdd": "Aggiunta rapida", + "menu.quit": "Esci da {{name}}", + "menu.quitAndInstallUpdate": "Debug: Esci e installa aggiornamento", + "menu.redo": "Ripristina", + "menu.reload": "Ricarica", + "menu.search": "Cerca", + "menu.selectAll": "Seleziona tutto", + "menu.services": "Servizi", + "menu.settings": "Impostazioni...", + "menu.speech": "Voce", + "menu.startSpeaking": "Inizia a parlare", + "menu.stopSpeaking": "Interrompi parlato", + "menu.toggleDevTools": "Attiva strumenti di sviluppo", + "menu.toggleFullScreen": "Attiva/disattiva schermo intero", + "menu.undo": "Annulla", + "menu.view": "Visualizza", + "menu.window": "Finestra", + "menu.zoom": "Zoom", + "menu.zoomIn": "Ingrandisci", + "menu.zoomOut": "Riduci" +} diff --git a/locales/native/ja.json b/locales/native/ja.json new file mode 100644 index 000000000..a5af12ddc --- /dev/null +++ b/locales/native/ja.json @@ -0,0 +1,52 @@ +{ + "contextMenu.copyImage": "画像をコピー", + "contextMenu.copyImageAddress": "画像アドレスをコピー", + "contextMenu.copyLink": "リンクをコピー", + "contextMenu.copyVideoAddress": "動画アドレスをコピー", + "contextMenu.inspect": "要素を検証", + "contextMenu.openImageInBrowser": "ブラウザで画像を開く", + "contextMenu.openLinkInBrowser": "ブラウザでリンクを開く", + "contextMenu.saveImageAs": "画像を名前を付けて保存...", + "contextMenu.saveVideoAs": "動画を名前を付けて保存...", + "menu.about": "{{name}}について", + "menu.actualSize": "実際のサイズ", + "menu.bringAllToFront": "すべてを前面に移動", + "menu.checkForUpdates": "アップデートを確認", + "menu.close": "閉じる", + "menu.copy": "コピー", + "menu.cut": "切り取り", + "menu.debug": "デバッグ", + "menu.delete": "削除", + "menu.discover": "発見", + "menu.edit": "編集", + "menu.file": "ファイル", + "menu.followReleases": "リリースをフォロー", + "menu.forceReload": "強制再読み込み", + "menu.help": "ヘルプ", + "menu.hide": "{{name}}を隠す", + "menu.hideOthers": "ほかを隠す", + "menu.minimize": "最小化", + "menu.openLogFile": "ログファイルを開く", + "menu.paste": "貼り付け", + "menu.pasteAndMatchStyle": "ペーストしてスタイルを合わせる", + "menu.quickAdd": "クイック追加", + "menu.quit": "{{name}}を終了", + "menu.quitAndInstallUpdate": "デバッグ:終了してアップデートをインストール", + "menu.redo": "やり直す", + "menu.reload": "再読み込み", + "menu.search": "検索", + "menu.selectAll": "すべてを選択", + "menu.services": "サービス", + "menu.settings": "設定...", + "menu.speech": "スピーチ", + "menu.startSpeaking": "読み上げを開始", + "menu.stopSpeaking": "読み上げを停止", + "menu.toggleDevTools": "開発者ツールの切り替え", + "menu.toggleFullScreen": "フルスクリーンの切り替え", + "menu.undo": "元に戻す", + "menu.view": "表示", + "menu.window": "ウィンドウ", + "menu.zoom": "ズーム", + "menu.zoomIn": "拡大", + "menu.zoomOut": "縮小" +} diff --git a/locales/native/zh-CN.json b/locales/native/zh-CN.json new file mode 100644 index 000000000..3c3bc1fc6 --- /dev/null +++ b/locales/native/zh-CN.json @@ -0,0 +1,64 @@ +{ + "contextMenu.copy": "复制", + "contextMenu.copyImage": "复制图片", + "contextMenu.copyImageAddress": "复制图片地址", + "contextMenu.copyLink": "复制链接", + "contextMenu.copyVideoAddress": "复制视频地址", + "contextMenu.cut": "剪切", + "contextMenu.inspect": "检查元素", + "contextMenu.learnSpelling": "学习拼写", + "contextMenu.lookUpSelection": "在词典中查找", + "contextMenu.openImageInBrowser": "在浏览器中打开图片", + "contextMenu.openLinkInBrowser": "在浏览器中打开链接", + "contextMenu.paste": "粘贴", + "contextMenu.pasteAndMatchStyle": "粘贴并匹配样式", + "contextMenu.saveImage": "保存图片", + "contextMenu.saveImageAs": "图片另存为...", + "contextMenu.saveLinkAs": "链接另存为...", + "contextMenu.saveVideo": "保存视频", + "contextMenu.saveVideoAs": "视频另存为...", + "contextMenu.searchWithGoogle": "在谷歌中搜索", + "contextMenu.selectAll": "全选", + "contextMenu.services": "服务", + "menu.about": "关于 {{name}}", + "menu.actualSize": "实际大小", + "menu.bringAllToFront": "全部置于顶层", + "menu.checkForUpdates": "检查更新", + "menu.close": "关闭", + "menu.copy": "复制", + "menu.cut": "剪切", + "menu.debug": "调试", + "menu.delete": "删除", + "menu.discover": "发现", + "menu.edit": "编辑", + "menu.file": "文件", + "menu.followReleases": "关注发布", + "menu.forceReload": "强制重新加载", + "menu.help": "帮助", + "menu.hide": "隐藏 {{name}}", + "menu.hideOthers": "隐藏其他", + "menu.minimize": "最小化", + "menu.openLogFile": "打开日志文件", + "menu.paste": "粘贴", + "menu.pasteAndMatchStyle": "粘贴并匹配样式", + "menu.quickAdd": "快速添加", + "menu.quit": "退出 {{name}}", + "menu.quitAndInstallUpdate": "调试:退出并安装更新", + "menu.redo": "重做", + "menu.reload": "重新加载", + "menu.search": "搜索", + "menu.selectAll": "全选", + "menu.services": "服务", + "menu.settings": "设置...", + "menu.speech": "语音", + "menu.startSpeaking": "开始朗读", + "menu.stopSpeaking": "停止朗读", + "menu.toggleDevTools": "切换开发者工具", + "menu.toggleFullScreen": "切换全屏", + "menu.undo": "撤销", + "menu.view": "视图", + "menu.window": "窗口", + "menu.zoom": "缩放", + "menu.zoomIn": "放大", + "menu.zoomOut": "缩小" +} diff --git a/locales/native/zh-HK.json b/locales/native/zh-HK.json new file mode 100644 index 000000000..6c4d18c7f --- /dev/null +++ b/locales/native/zh-HK.json @@ -0,0 +1,53 @@ +{ + "contextMenu.copyImage": "複製圖片", + "contextMenu.copyImageAddress": "複製圖片地址", + "contextMenu.copyLink": "複製鏈接", + "contextMenu.copyVideoAddress": "複製視頻地址", + "contextMenu.inspect": "檢查元素", + "contextMenu.openImageInBrowser": "在瀏覽器中打開圖片", + "contextMenu.openLinkInBrowser": "在瀏覽器中打開鏈接", + "contextMenu.saveImageAs": "另存圖片為...", + "contextMenu.saveVideoAs": "另存視頻為...", + "menu.about": "關於 {{name}}", + "menu.actualSize": "實際大小", + "menu.bringAllToFront": "將所有窗口移到最前面", + "menu.checkForUpdates": "檢查更新", + "menu.close": "關閉", + "menu.copy": "複製", + "menu.cut": "剪切", + "menu.debug": "調試", + "menu.delete": "刪除", + "menu.discover": "發現", + "menu.edit": "編輯", + "menu.file": "文件", + "menu.followReleases": "關注更新", + "menu.forceReload": "強制重載", + "menu.front": "移到最前面", + "menu.help": "幫助", + "menu.hide": "隱藏 {{name}}", + "menu.hideOthers": "隱藏其他窗口", + "menu.minimize": "最小化", + "menu.openLogFile": "打開日誌文件", + "menu.paste": "粘貼", + "menu.pasteAndMatchStyle": "粘貼並匹配樣式", + "menu.quickAdd": "快速添加", + "menu.quit": "退出 {{name}}", + "menu.quitAndInstallUpdate": "調試:退出並安裝更新", + "menu.redo": "重做", + "menu.reload": "重載", + "menu.search": "搜尋", + "menu.selectAll": "全選", + "menu.services": "服務", + "menu.settings": "設定...", + "menu.speech": "語音", + "menu.startSpeaking": "開始朗讀", + "menu.stopSpeaking": "停止朗讀", + "menu.toggleDevTools": "切換開發者工具", + "menu.toggleFullScreen": "切換全屏", + "menu.undo": "撤銷", + "menu.view": "查看", + "menu.window": "窗口", + "menu.zoom": "縮放", + "menu.zoomIn": "放大", + "menu.zoomOut": "縮小" +} diff --git a/locales/native/zh-TW.json b/locales/native/zh-TW.json new file mode 100644 index 000000000..23c737709 --- /dev/null +++ b/locales/native/zh-TW.json @@ -0,0 +1,53 @@ +{ + "contextMenu.copyImage": "複製圖片", + "contextMenu.copyImageAddress": "複製圖片網址", + "contextMenu.copyLink": "複製連結", + "contextMenu.copyVideoAddress": "複製影片網址", + "contextMenu.inspect": "檢查元素", + "contextMenu.openImageInBrowser": "在瀏覽器中開啟圖片", + "contextMenu.openLinkInBrowser": "在瀏覽器中開啟連結", + "contextMenu.saveImageAs": "圖片另存新檔...", + "contextMenu.saveVideoAs": "影片另存新檔...", + "menu.about": "關於 {{name}}", + "menu.actualSize": "實際大小", + "menu.bringAllToFront": "將所有視窗移至最上層", + "menu.checkForUpdates": "檢查更新", + "menu.close": "關閉", + "menu.copy": "複製", + "menu.cut": "剪下", + "menu.debug": "除錯", + "menu.delete": "刪除", + "menu.discover": "探索", + "menu.edit": "編輯", + "menu.file": "檔案", + "menu.followReleases": "關注版本發佈", + "menu.forceReload": "強制重新載入", + "menu.front": "置於最上層", + "menu.help": "說明", + "menu.hide": "隱藏 {{name}}", + "menu.hideOthers": "隱藏其他", + "menu.minimize": "最小化", + "menu.openLogFile": "開啟記錄檔", + "menu.paste": "貼上", + "menu.pasteAndMatchStyle": "貼上並符合樣式", + "menu.quickAdd": "快速新增", + "menu.quit": "結束 {{name}}", + "menu.quitAndInstallUpdate": "除錯:結束並安裝更新", + "menu.redo": "重做", + "menu.reload": "重新載入", + "menu.search": "搜尋", + "menu.selectAll": "全選", + "menu.services": "服務", + "menu.settings": "設定...", + "menu.speech": "語音", + "menu.startSpeaking": "開始朗讀", + "menu.stopSpeaking": "停止朗讀", + "menu.toggleDevTools": "切換開發者工具", + "menu.toggleFullScreen": "切換全螢幕", + "menu.undo": "復原", + "menu.view": "檢視", + "menu.window": "視窗", + "menu.zoom": "縮放", + "menu.zoomIn": "放大", + "menu.zoomOut": "縮小" +} diff --git a/locales/settings/ar-DZ.json b/locales/settings/ar-DZ.json new file mode 100644 index 000000000..f3f216dd8 --- /dev/null +++ b/locales/settings/ar-DZ.json @@ -0,0 +1,195 @@ +{ + "about.changelog": "سجل التغييرات", + "about.feedbackInfo": "{{appName}} ({{commitSha}}) في المراحل الأولى من التطوير. إذا كان لديك أي ملاحظات أو اقتراحات، فلا تتردد في فتح مشكلة على GitHub الخاص بنا.", + "about.iconLibrary": "مكتبة الأيقونات المستخدمة محمية بحقوق الطبع والنشر من قبل ولا يمكن إعادة توزيعها.", + "about.licenseInfo": "{{appName}} هو وسيظل دائمًا مشروعًا مجانيًا ومفتوح المصدر. وهو مرخص بموجب {{license}}.", + "about.sidebar_title": "حول", + "about.socialMedia": "وسائل التواصل الاجتماعي", + "actions.actionName": "الإجراء {{number}}", + "actions.action_card.add": "إضافة", + "actions.action_card.all": "الكل", + "actions.action_card.block_rules": "قواعد الحظر", + "actions.action_card.custom_filters": "مرشحات مخصصة", + "actions.action_card.enable_readability": "تمكين الوضوح", + "actions.action_card.entry_options.all": "الكل", + "actions.action_card.entry_options.author": "المؤلف", + "actions.action_card.entry_options.content": "المحتوى", + "actions.action_card.entry_options.order": "الترتيب", + "actions.action_card.entry_options.title": "العنوان", + "actions.action_card.entry_options.url": "رابط URL", + "actions.action_card.feed_options.category": "الفئة", + "actions.action_card.feed_options.feed_url": "رابط التغذية", + "actions.action_card.feed_options.site_url": "رابط الموقع", + "actions.action_card.feed_options.title": "العنوان", + "actions.action_card.feed_options.view": "عرض", + "actions.action_card.field": "حقل", + "actions.action_card.from": "من", + "actions.action_card.generate_summary": "توليد ملخص باستخدام الذكاء الاصطناعي", + "actions.action_card.name": "الاسم", + "actions.action_card.operation_options.contains": "يحتوي على", + "actions.action_card.operation_options.does_not_contain": "لا يحتوي على", + "actions.action_card.operation_options.is_equal_to": "يساوي", + "actions.action_card.operation_options.is_greater_than": "أكبر من", + "actions.action_card.operation_options.is_less_than": "أقل من", + "actions.action_card.operation_options.is_not_equal_to": "لا يساوي", + "actions.action_card.operation_options.matches_regex": "يطابق التعبير العادي", + "actions.action_card.operator": "المشغل", + "actions.action_card.rewrite_rules": "إعادة كتابة القواعد", + "actions.action_card.then_do": "ثم افعل...", + "actions.action_card.to": "إلى", + "actions.action_card.translate_into": "ترجمة إلى", + "actions.action_card.value": "القيمة", + "actions.action_card.when_feeds_match": "عند تطابق التغذية...", + "actions.newRule": "قاعدة جديدة", + "actions.save": "حفظ", + "actions.saveSuccess": "🎉 تم حفظ الإجراءات.", + "actions.sidebar_title": "الإجراءات", + "actions.title": "الإجراءات", + "appearance.code_highlight_theme": "موضوع تمييز التعليمات البرمجية", + "appearance.content": "المحتوى", + "appearance.content_font": "خط المحتوى", + "appearance.custom_font": "خط مخصص", + "appearance.fonts": "الخطوط", + "appearance.general": "عام", + "appearance.guess_code_language.description": "اللغات البرمجية الرئيسية التي تستخدم نماذج لاستنتاج الكتل البرمجية غير الموسومة", + "appearance.guess_code_language.label": "تخمين لغة البرمجة", + "appearance.misc": "متنوع", + "appearance.modal_overlay.description": "عرض تراكب نافذة منبثقة", + "appearance.modal_overlay.label": "عرض التراكب", + "appearance.opaque_sidebars.label": "أشرطة جانبية غير شفافة", + "appearance.reader_render_inline_style.description": "السماح بعرض الأنماط المضمنة لـ HTML الأصلي.", + "appearance.reader_render_inline_style.label": "عرض النمط المضمن", + "appearance.reduce_motion.description": "تقليل حركة العناصر لتحسين الأداء وتقليل استهلاك الطاقة", + "appearance.reduce_motion.label": "تقليل الحركة", + "appearance.save": "حفظ", + "appearance.show_dock_badge.label": "عرض كشارة Dock", + "appearance.sidebar_show_unread_count.label": "عرض في الشريط الجانبي", + "appearance.sidebar_title": "المظهر", + "appearance.text_size": "حجم النص", + "appearance.theme.dark": "داكن", + "appearance.theme.label": "السمة", + "appearance.theme.light": "فاتح", + "appearance.theme.system": "نظام", + "appearance.title": "المظهر", + "appearance.ui_font": "خط واجهة المستخدم", + "appearance.unread_count": "عدد غير المقروء", + "general.app": "التطبيق", + "general.data_persist.description": "حفظ البيانات محليًا لتمكين الوصول دون اتصال والبحث المحلي.", + "general.data_persist.label": "حفظ البيانات للاستخدام دون اتصال", + "general.group_by_date.description": "تجميع الإدخالات حسب التاريخ.", + "general.group_by_date.label": "تجميع حسب التاريخ", + "general.language": "اللغة", + "general.launch_at_login": "التشغيل عند تسجيل الدخول", + "general.mark_as_read.hover.description": "تحديد الإدخالات تلقائيًا كمقروءة عند التمرير فوقها.", + "general.mark_as_read.hover.label": "تحديد كمقروءة عند التمرير", + "general.mark_as_read.render.description": "تحديد الإدخالات ذات المستوى الواحد تلقائيًا (مثل المشاركات الاجتماعية، الصور، مشاهدات الفيديو) كمقروءة عند ظهورها في العرض.", + "general.mark_as_read.render.label": "تحديد كمقروءة عند العرض", + "general.mark_as_read.scroll.description": "تحديد الإدخالات تلقائيًا كمقروءة عند التمرير خارج العرض.", + "general.mark_as_read.scroll.label": "تحديد كمقروءة عند التمرير", + "general.privacy_data": "الخصوصية والبيانات", + "general.rebuild_database.button": "إعادة بناء", + "general.rebuild_database.description": "إذا كنت تواجه مشاكل في العرض، قد تحل إعادة بناء قاعدة البيانات هذه المشاكل.", + "general.rebuild_database.label": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.title": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.warning.line1": "إعادة بناء قاعدة البيانات سيؤدي إلى مسح جميع بياناتك المحلية.", + "general.rebuild_database.warning.line2": "هل أنت متأكد أنك تريد المتابعة؟", + "general.send_anonymous_data.description": "عن طريق اختيار إرسال بيانات مجهولة الهوية، تساهم في تحسين تجربة المستخدم العامة لـ Follow.", + "general.send_anonymous_data.label": "إرسال بيانات مجهولة الهوية", + "general.show_unread_on_launch.description": "عرض المحتوى غير المقروء عند التشغيل", + "general.show_unread_on_launch.label": "عرض المحتوى غير المقروء عند التشغيل", + "general.sidebar_title": "عام", + "general.timeline": "الجدول الزمني", + "general.unread": "غير مقروء", + "general.voices": "الأصوات", + "integration.eagle.enable.description": "عرض زر 'حفظ الوسائط إلى Eagle' عند توفره.", + "integration.eagle.enable.label": "تمكين", + "integration.eagle.title": "Eagle", + "integration.instapaper.enable.description": "عرض زر 'حفظ إلى Instapaper' عند توفره.", + "integration.instapaper.enable.label": "تمكين", + "integration.instapaper.password.label": "كلمة مرور Instapaper", + "integration.instapaper.title": "Instapaper", + "integration.instapaper.username.label": "اسم مستخدم Instapaper", + "integration.readwise.enable.description": "عرض زر 'حفظ إلى Readwise' عند توفره.", + "integration.readwise.enable.label": "تمكين", + "integration.readwise.title": "Readwise", + "integration.readwise.token.description": "يمكنك الحصول عليه هنا: readwise.io/access_token.", + "integration.readwise.token.label": "رمز الوصول إلى Readwise", + "integration.sidebar_title": "التكامل", + "integration.tip": "نصيحة: يتم تخزين بياناتك الحساسة محليًا ولا يتم تحميلها على الخادم.", + "integration.title": "التكامل", + "invitation.activate": "تفعيل", + "invitation.codeOptions.betaUser": "1. ابحث عن مستخدم بيتا لدعوتك.", + "invitation.codeOptions.discord": "2. انضم إلى خادم Discord الخاص بنا واحصل على هدايا من وقت لآخر.", + "invitation.codeOptions.xAccount": "3. تابع حسابنا على X واحصل على هدايا من وقت لآخر.", + "invitation.confirmModal.cancel": "إلغاء", + "invitation.confirmModal.confirm": "هل تريد المتابعة؟", + "invitation.confirmModal.continue": "متابعة", + "invitation.confirmModal.message": "إنشاء كود دعوة سيكلفك {{INVITATION_PRICE}} باور.", + "invitation.confirmModal.title": "تأكيد", + "invitation.earlyAccess": "تطبيق Follow حاليًا في الوصول المبكر ويتطلب كود دعوة للاستخدام.", + "invitation.earlyAccessMessage": "😰 عذرًا، Follow حاليًا في الوصول المبكر ويتطلب كود دعوة للاستخدام.", + "invitation.generateButton": "إنشاء كود جديد", + "invitation.generateCost": "يمكنك إنفاق {{INVITATION_PRICE}} باور لإنشاء كود دعوة لأصدقائك.", + "invitation.getCodeMessage": "يمكنك الحصول على كود دعوة من خلال الطرق التالية:", + "invitation.newInvitationSuccess": "🎉 تم إنشاء دعوة جديدة، تم نسخ كود الدعوة", + "invitation.noInvitations": "لا توجد دعوات", + "invitation.notUsed": "غير مستخدم", + "invitation.sidebar_title": "الدعوات", + "invitation.tableHeaders.code": "الكود", + "invitation.tableHeaders.creationTime": "وقت الإنشاء", + "invitation.tableHeaders.usedBy": "مستخدم بواسطة", + "invitation.title": "كود الدعوة", + "profile.avatar.label": "الصورة الشخصية", + "profile.handle.description": "معرفك الفريد.", + "profile.handle.label": "الاسم المستعار", + "profile.name.description": "اسم العرض العام الخاص بك.", + "profile.name.label": "اسم العرض", + "profile.sidebar_title": "الملف الشخصي", + "profile.submit": "إرسال", + "profile.title": "إعدادات الملف الشخصي", + "profile.updateSuccess": "تم تحديث الملف الشخصي.", + "titles.about": "حول", + "titles.actions": "الإجراءات", + "titles.appearance": "المظهر", + "titles.general": "عام", + "titles.integration": "التكامل", + "titles.invitations": "الدعوات", + "titles.power": "باور", + "titles.profile": "الملف الشخصي", + "titles.shortcuts": "الاختصارات", + "wallet.address.title": "عنوانك", + "wallet.balance.title": "رصيدك", + "wallet.balance.withdrawable": "قابل للسحب", + "wallet.balance.withdrawableTooltip": "يشمل الرصيد القابل للسحب كل من الإكراميات التي تلقيتها والباور الذي قمت بإعادة شحنه.", + "wallet.claim.button.claim": "مطالبة بالباور اليومي", + "wallet.claim.button.claimed": "تمت المطالبة اليوم", + "wallet.claim.tooltip.alreadyClaimed": "لقد قمت بالمطالبة بالفعل اليوم.", + "wallet.claim.tooltip.canClaim": "يمكنك الآن المطالبة بـ {{amount}} باور يوميًا!", + "wallet.create.button": "إنشاء محفظة", + "wallet.create.description": "أنشئ محفظة مجانية لتلقي باور، والذي يمكن استخدامه لمكافأة المبدعين وأيضًا الحصول على مكافآت لمساهماتك في المحتوى.", + "wallet.power.dailyClaim": "يمكنك المطالبة بـ {{amount}} باور مجاني يوميًا، والذي يمكن استخدامه لإعطاء إكراميات لمقالات RSS على Follow.", + "wallet.power.description": "باور هو رمز ERC-20 على بلوكتشين {{blockchainName}}.", + "wallet.sidebar_title": "باور", + "wallet.transactions.amount": "المبلغ", + "wallet.transactions.date": "التاريخ", + "wallet.transactions.from": "من", + "wallet.transactions.noTransactions": "لا توجد معاملات", + "wallet.transactions.title": "المعاملات", + "wallet.transactions.to": "إلى", + "wallet.transactions.tx": "Tx", + "wallet.transactions.type": "النوع", + "wallet.transactions.types.burn": "حرق", + "wallet.transactions.types.mint": "سك", + "wallet.transactions.types.purchase": "شراء", + "wallet.transactions.types.tip": "إكرامية", + "wallet.transactions.types.withdraw": "سحب", + "wallet.transactions.you": "أنت", + "wallet.withdraw.addressLabel": "عنوان الإيثريوم الخاص بك", + "wallet.withdraw.amountLabel": "المبلغ", + "wallet.withdraw.availableBalance": "لديك باور قابل للسحب في محفظتك.", + "wallet.withdraw.button": "سحب", + "wallet.withdraw.error": "فشل السحب: {{error}}", + "wallet.withdraw.modalTitle": "سحب باور", + "wallet.withdraw.submitButton": "إرسال", + "wallet.withdraw.success": "تم السحب بنجاح!" +} diff --git a/locales/settings/ar-IQ.json b/locales/settings/ar-IQ.json new file mode 100644 index 000000000..62a1ce14e --- /dev/null +++ b/locales/settings/ar-IQ.json @@ -0,0 +1,203 @@ +{ + "about.changelog": "سجل التغييرات", + "about.feedbackInfo": "{{appName}} ({{commitSha}}) في المراحل الأولى من التطوير. إذا كانت لديك أي ملاحظات أو اقتراحات، فلا تتردد في فتح مشكلة على GitHub الخاص بنا.", + "about.iconLibrary": "مكتبة الأيقونات المستخدمة محمية بحقوق الطبع والنشر من قبل ولا يمكن إعادة توزيعها.", + "about.licenseInfo": "{{appName}} هو وسيظل دائمًا مشروعًا مجانيًا ومفتوح المصدر. وهو مرخص بموجب {{license}}.", + "about.sidebar_title": "حول", + "about.socialMedia": "وسائل التواصل الاجتماعي", + "actions.actionName": "الإجراء {{number}}", + "actions.action_card.add": "إضافة", + "actions.action_card.all": "الكل", + "actions.action_card.block_rules": "قواعد الحظر", + "actions.action_card.custom_filters": "مرشحات مخصصة", + "actions.action_card.enable_readability": "تمكين الوضوح", + "actions.action_card.entry_options.all": "الكل", + "actions.action_card.entry_options.author": "المؤلف", + "actions.action_card.entry_options.content": "المحتوى", + "actions.action_card.entry_options.order": "الترتيب", + "actions.action_card.entry_options.title": "العنوان", + "actions.action_card.entry_options.url": "رابط URL", + "actions.action_card.feed_options.category": "الفئة", + "actions.action_card.feed_options.feed_url": "رابط التغذية", + "actions.action_card.feed_options.site_url": "رابط الموقع", + "actions.action_card.feed_options.title": "العنوان", + "actions.action_card.feed_options.view": "عرض", + "actions.action_card.field": "حقل", + "actions.action_card.from": "من", + "actions.action_card.generate_summary": "توليد ملخص باستخدام الذكاء الاصطناعي", + "actions.action_card.name": "الاسم", + "actions.action_card.operation_options.contains": "يحتوي على", + "actions.action_card.operation_options.does_not_contain": "لا يحتوي على", + "actions.action_card.operation_options.is_equal_to": "يساوي", + "actions.action_card.operation_options.is_greater_than": "أكبر من", + "actions.action_card.operation_options.is_less_than": "أقل من", + "actions.action_card.operation_options.is_not_equal_to": "لا يساوي", + "actions.action_card.operation_options.matches_regex": "يطابق التعبير العادي", + "actions.action_card.operator": "المشغل", + "actions.action_card.rewrite_rules": "إعادة كتابة القواعد", + "actions.action_card.then_do": "ثم افعل...", + "actions.action_card.to": "إلى", + "actions.action_card.translate_into": "ترجمة إلى", + "actions.action_card.value": "القيمة", + "actions.action_card.when_feeds_match": "عند تطابق التغذية...", + "actions.newRule": "قاعدة جديدة", + "actions.save": "حفظ", + "actions.saveSuccess": "🎉 تم حفظ الإجراءات.", + "actions.sidebar_title": "الإجراءات", + "actions.title": "الإجراءات", + "appearance.code_highlight_theme": "موضوع تمييز التعليمات البرمجية", + "appearance.content": "المحتوى", + "appearance.content_font": "خط المحتوى", + "appearance.custom_font": "خط مخصص", + "appearance.fonts": "الخطوط", + "appearance.general": "عام", + "appearance.guess_code_language.description": "اللغات البرمجية الرئيسية التي تستخدم نماذج لاستنتاج الكتل البرمجية غير الموسومة", + "appearance.guess_code_language.label": "تخمين لغة البرمجة", + "appearance.misc": "متنوع", + "appearance.modal_overlay.description": "عرض تراكب نافذة منبثقة", + "appearance.modal_overlay.label": "عرض التراكب", + "appearance.opaque_sidebars.label": "أشرطة جانبية غير شفافة", + "appearance.reader_render_inline_style.description": "السماح بعرض الأنماط المضمنة لـ HTML الأصلي.", + "appearance.reader_render_inline_style.label": "عرض النمط المضمن", + "appearance.reduce_motion.description": "تقليل حركة العناصر لتحسين الأداء وتقليل استهلاك الطاقة", + "appearance.reduce_motion.label": "تقليل الحركة", + "appearance.save": "حفظ", + "appearance.show_dock_badge.label": "عرض كشارة Dock", + "appearance.sidebar_show_unread_count.label": "عرض في الشريط الجانبي", + "appearance.sidebar_title": "المظهر", + "appearance.text_size": "حجم النص", + "appearance.theme.dark": "داكن", + "appearance.theme.label": "السمة", + "appearance.theme.light": "فاتح", + "appearance.theme.system": "نظام", + "appearance.title": "المظهر", + "appearance.ui_font": "خط واجهة المستخدم", + "appearance.unread_count": "عدد غير المقروء", + "feeds.claimTips": "لمطالبة بتغذياتك واستلام الإكراميات، انقر بزر الماوس الأيمن على التغذية في قائمة اشتراكاتك واختر مطالبة.", + "feeds.noFeeds": "لا توجد تغذيات مطالبة", + "feeds.tableHeaders.entryCount": "الإدخالات", + "feeds.tableHeaders.name": "الاسم", + "feeds.tableHeaders.subscriptionCount": "الاشتراكات", + "feeds.tableHeaders.tipAmount": "الإكراميات المستلمة", + "general.app": "التطبيق", + "general.data_persist.description": "حفظ البيانات محليًا لتمكين الوصول دون اتصال والبحث المحلي.", + "general.data_persist.label": "حفظ البيانات للاستخدام دون اتصال", + "general.group_by_date.description": "تجميع الإدخالات حسب التاريخ.", + "general.group_by_date.label": "تجميع حسب التاريخ", + "general.language": "اللغة", + "general.launch_at_login": "التشغيل عند تسجيل الدخول", + "general.mark_as_read.hover.description": "تحديد الإدخالات تلقائيًا كمقروءة عند التمرير فوقها.", + "general.mark_as_read.hover.label": "تحديد كمقروءة عند التمرير", + "general.mark_as_read.render.description": "تحديد الإدخالات ذات المستوى الواحد تلقائيًا (مثل المشاركات الاجتماعية، الصور، مشاهدات الفيديو) كمقروءة عند ظهورها في العرض.", + "general.mark_as_read.render.label": "تحديد كمقروءة عند العرض", + "general.mark_as_read.scroll.description": "تحديد الإدخالات تلقائيًا كمقروءة عند التمرير خارج العرض.", + "general.mark_as_read.scroll.label": "تحديد كمقروءة عند التمرير", + "general.privacy_data": "الخصوصية والبيانات", + "general.rebuild_database.button": "إعادة بناء", + "general.rebuild_database.description": "إذا كنت تواجه مشاكل في العرض، قد تحل إعادة بناء قاعدة البيانات هذه المشاكل.", + "general.rebuild_database.label": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.title": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.warning.line1": "إعادة بناء قاعدة البيانات سيؤدي إلى مسح جميع بياناتك المحلية.", + "general.rebuild_database.warning.line2": "هل أنت متأكد أنك تريد المتابعة؟", + "general.send_anonymous_data.description": "عن طريق اختيار إرسال بيانات مجهولة الهوية، تساهم في تحسين تجربة المستخدم العامة لـ Follow.", + "general.send_anonymous_data.label": "إرسال بيانات مجهولة الهوية", + "general.show_unread_on_launch.description": "عرض المحتوى غير المقروء عند التشغيل", + "general.show_unread_on_launch.label": "عرض المحتوى غير المقروء عند التشغيل", + "general.sidebar_title": "عام", + "general.timeline": "الجدول الزمني", + "general.unread": "غير مقروء", + "general.voices": "الأصوات", + "integration.eagle.enable.description": "عرض زر 'حفظ الوسائط إلى Eagle' عند توفره.", + "integration.eagle.enable.label": "تمكين", + "integration.eagle.title": "Eagle", + "integration.instapaper.enable.description": "عرض زر 'حفظ إلى Instapaper' عند توفره.", + "integration.instapaper.enable.label": "تمكين", + "integration.instapaper.password.label": "كلمة مرور Instapaper", + "integration.instapaper.title": "Instapaper", + "integration.instapaper.username.label": "اسم مستخدم Instapaper", + "integration.readwise.enable.description": "عرض زر 'حفظ إلى Readwise' عند توفره.", + "integration.readwise.enable.label": "تمكين", + "integration.readwise.title": "Readwise", + "integration.readwise.token.description": "يمكنك الحصول عليه هنا: readwise.io/access_token.", + "integration.readwise.token.label": "رمز الوصول إلى Readwise", + "integration.sidebar_title": "التكامل", + "integration.tip": "نصيحة: يتم تخزين بياناتك الحساسة محليًا ولا يتم تحميلها على الخادم.", + "integration.title": "التكامل", + "invitation.activate": "تفعيل", + "invitation.codeOptions.betaUser": "1. ابحث عن مستخدم بيتا لدعوتك.", + "invitation.codeOptions.discord": "2. انضم إلى خادم Discord الخاص بنا واحصل على هدايا من وقت لآخر.", + "invitation.codeOptions.xAccount": "3. تابع حسابنا على X واحصل على هدايا من وقت لآخر.", + "invitation.confirmModal.cancel": "إلغاء", + "invitation.confirmModal.confirm": "هل تريد المتابعة؟", + "invitation.confirmModal.continue": "متابعة", + "invitation.confirmModal.message": "إنشاء كود دعوة سيكلفك {{INVITATION_PRICE}} باور.", + "invitation.confirmModal.title": "تأكيد", + "invitation.earlyAccess": "تطبيق Follow حاليًا في الوصول المبكر ويتطلب كود دعوة للاستخدام.", + "invitation.earlyAccessMessage": "😰 عذرًا، Follow حاليًا في الوصول المبكر ويتطلب كود دعوة للاستخدام.", + "invitation.generateButton": "إنشاء كود جديد", + "invitation.generateCost": "يمكنك إنفاق {{INVITATION_PRICE}} باور لإنشاء كود دعوة لأصدقائك.", + "invitation.getCodeMessage": "يمكنك الحصول على كود دعوة من خلال الطرق التالية:", + "invitation.limitationMessage": "بناءً على وقت استخدامك، يمكنك إنشاء ما يصل إلى {{limitation}} رموز دعوة.", + "invitation.newInvitationSuccess": "🎉 تم إنشاء دعوة جديدة، تم نسخ كود الدعوة", + "invitation.noInvitations": "لا توجد دعوات", + "invitation.notUsed": "غير مستخدم", + "invitation.sidebar_title": "الدعوات", + "invitation.tableHeaders.code": "الكود", + "invitation.tableHeaders.creationTime": "وقت الإنشاء", + "invitation.tableHeaders.usedBy": "مستخدم بواسطة", + "invitation.title": "كود الدعوة", + "profile.avatar.label": "الصورة الشخصية", + "profile.handle.description": "معرفك الفريد.", + "profile.handle.label": "الاسم المستعار", + "profile.name.description": "اسم العرض العام الخاص بك.", + "profile.name.label": "اسم العرض", + "profile.sidebar_title": "الملف الشخصي", + "profile.submit": "إرسال", + "profile.title": "إعدادات الملف الشخصي", + "profile.updateSuccess": "تم تحديث الملف الشخصي.", + "titles.about": "حول", + "titles.actions": "الإجراءات", + "titles.appearance": "المظهر", + "titles.feeds": "التغذيات", + "titles.general": "عام", + "titles.integration": "التكامل", + "titles.invitations": "الدعوات", + "titles.power": "باور", + "titles.profile": "الملف الشخصي", + "titles.shortcuts": "الاختصارات", + "wallet.address.title": "عنوانك", + "wallet.balance.title": "رصيدك", + "wallet.balance.withdrawable": "قابل للسحب", + "wallet.balance.withdrawableTooltip": "يشمل الرصيد القابل للسحب كل من الإكراميات التي تلقيتها والباور الذي قمت بإعادة شحنه.", + "wallet.claim.button.claim": "مطالبة بالباور اليومي", + "wallet.claim.button.claimed": "تمت المطالبة اليوم", + "wallet.claim.tooltip.alreadyClaimed": "لقد قمت بالمطالبة بالفعل اليوم.", + "wallet.claim.tooltip.canClaim": "يمكنك الآن المطالبة بـ {{amount}} باور يوميًا!", + "wallet.create.button": "إنشاء محفظة", + "wallet.create.description": "أنشئ محفظة مجانية لتلقي باور، والذي يمكن استخدامه لمكافأة المبدعين وأيضًا الحصول على مكافآت لمساهماتك في المحتوى.", + "wallet.power.dailyClaim": "يمكنك المطالبة بـ {{amount}} باور مجاني يوميًا، والذي يمكن استخدامه لإعطاء إكراميات لمقالات RSS على Follow.", + "wallet.power.description": "باور هو رمز ERC-20 على بلوكتشين {{blockchainName}}.", + "wallet.sidebar_title": "باور", + "wallet.transactions.amount": "المبلغ", + "wallet.transactions.date": "التاريخ", + "wallet.transactions.from": "من", + "wallet.transactions.noTransactions": "لا توجد معاملات", + "wallet.transactions.title": "المعاملات", + "wallet.transactions.to": "إلى", + "wallet.transactions.tx": "Tx", + "wallet.transactions.type": "النوع", + "wallet.transactions.types.burn": "حرق", + "wallet.transactions.types.mint": "سك", + "wallet.transactions.types.purchase": "شراء", + "wallet.transactions.types.tip": "إكرامية", + "wallet.transactions.types.withdraw": "سحب", + "wallet.transactions.you": "أنت", + "wallet.withdraw.addressLabel": "عنوان الإيثريوم الخاص بك", + "wallet.withdraw.amountLabel": "المبلغ", + "wallet.withdraw.availableBalance": "لديك باور قابل للسحب في محفظتك.", + "wallet.withdraw.button": "سحب", + "wallet.withdraw.error": "فشل السحب: {{error}}", + "wallet.withdraw.modalTitle": "سحب باور", + "wallet.withdraw.submitButton": "إرسال", + "wallet.withdraw.success": "تم السحب بنجاح!" +} diff --git a/locales/settings/ar-KW.json b/locales/settings/ar-KW.json new file mode 100644 index 000000000..e94a15b8b --- /dev/null +++ b/locales/settings/ar-KW.json @@ -0,0 +1,203 @@ +{ + "about.changelog": "سجل التغييرات", + "about.feedbackInfo": "{{appName}} ({{commitSha}}) في المراحل الأولى من التطوير. إذا كانت لديك أي ملاحظات أو اقتراحات، لا تتردد في فتح مشكلة على GitHub الخاص بنا.", + "about.iconLibrary": "مكتبة الأيقونات المستخدمة محمية بحقوق الطبع والنشر بواسطة ولا يمكن إعادة توزيعها.", + "about.licenseInfo": "{{appName}} هو وسيظل دائمًا مشروعًا مجانيًا ومفتوح المصدر. وهو مرخص بموجب {{license}}.", + "about.sidebar_title": "حول", + "about.socialMedia": "وسائل التواصل الاجتماعي", + "actions.actionName": "الإجراء {{number}}", + "actions.action_card.add": "إضافة", + "actions.action_card.all": "الكل", + "actions.action_card.block_rules": "قواعد الحظر", + "actions.action_card.custom_filters": "مرشحات مخصصة", + "actions.action_card.enable_readability": "تمكين القراءة الواضحة", + "actions.action_card.entry_options.all": "الكل", + "actions.action_card.entry_options.author": "المؤلف", + "actions.action_card.entry_options.content": "المحتوى", + "actions.action_card.entry_options.order": "الترتيب", + "actions.action_card.entry_options.title": "العنوان", + "actions.action_card.entry_options.url": "رابط", + "actions.action_card.feed_options.category": "الفئة", + "actions.action_card.feed_options.feed_url": "رابط التغذية", + "actions.action_card.feed_options.site_url": "رابط الموقع", + "actions.action_card.feed_options.title": "العنوان", + "actions.action_card.feed_options.view": "عرض", + "actions.action_card.field": "الحقل", + "actions.action_card.from": "من", + "actions.action_card.generate_summary": "إنشاء ملخص باستخدام الذكاء الاصطناعي", + "actions.action_card.name": "الاسم", + "actions.action_card.operation_options.contains": "يحتوي على", + "actions.action_card.operation_options.does_not_contain": "لا يحتوي على", + "actions.action_card.operation_options.is_equal_to": "يساوي", + "actions.action_card.operation_options.is_greater_than": "أكبر من", + "actions.action_card.operation_options.is_less_than": "أقل من", + "actions.action_card.operation_options.is_not_equal_to": "لا يساوي", + "actions.action_card.operation_options.matches_regex": "يطابق النمط", + "actions.action_card.operator": "المشغل", + "actions.action_card.rewrite_rules": "إعادة كتابة القواعد", + "actions.action_card.then_do": "ثم قم بـ…", + "actions.action_card.to": "إلى", + "actions.action_card.translate_into": "ترجمة إلى", + "actions.action_card.value": "القيمة", + "actions.action_card.when_feeds_match": "عند تطابق التغذية…", + "actions.newRule": "قاعدة جديدة", + "actions.save": "حفظ", + "actions.saveSuccess": "🎉 تم حفظ الإجراءات.", + "actions.sidebar_title": "الإجراءات", + "actions.title": "الإجراءات", + "appearance.code_highlight_theme": "نمط تمييز الأكواد", + "appearance.content": "المحتوى", + "appearance.content_font": "خط المحتوى", + "appearance.custom_font": "خط مخصص", + "appearance.fonts": "الخطوط", + "appearance.general": "عام", + "appearance.guess_code_language.description": "اللغات البرمجية الرئيسية التي تستخدم نماذج لاستنتاج الكتل البرمجية غير المصنفة", + "appearance.guess_code_language.label": "تخمين لغة البرمجة", + "appearance.misc": "متنوع", + "appearance.modal_overlay.description": "عرض تراكب النافذة المنبثقة", + "appearance.modal_overlay.label": "عرض التراكب", + "appearance.opaque_sidebars.label": "أشرطة جانبية غير شفافة", + "appearance.reader_render_inline_style.description": "السماح بعرض الأنماط المدمجة لـ HTML الأصلي.", + "appearance.reader_render_inline_style.label": "عرض النمط المدمج", + "appearance.reduce_motion.description": "تقليل حركة العناصر لتحسين الأداء وتقليل استهلاك الطاقة", + "appearance.reduce_motion.label": "تقليل الحركة", + "appearance.save": "حفظ", + "appearance.show_dock_badge.label": "عرض كشارة Dock", + "appearance.sidebar_show_unread_count.label": "عرض في الشريط الجانبي", + "appearance.sidebar_title": "المظهر", + "appearance.text_size": "حجم النص", + "appearance.theme.dark": "داكن", + "appearance.theme.label": "السمة", + "appearance.theme.light": "فاتح", + "appearance.theme.system": "نظام", + "appearance.title": "المظهر", + "appearance.ui_font": "خط واجهة المستخدم", + "appearance.unread_count": "عدد غير المقروء", + "feeds.claimTips": "للمطالبة بتغذياتك والحصول على نصائح، انقر بزر الماوس الأيمن على التغذية في قائمة الاشتراكات واختر المطالبة.", + "feeds.noFeeds": "لا توجد تغذيات مملوكة", + "feeds.tableHeaders.entryCount": "المشاركات", + "feeds.tableHeaders.name": "الاسم", + "feeds.tableHeaders.subscriptionCount": "الاشتراكات", + "feeds.tableHeaders.tipAmount": "النصائح المستلمة", + "general.app": "التطبيق", + "general.data_persist.description": "حفظ البيانات محليًا لتمكين الوصول دون اتصال والبحث المحلي.", + "general.data_persist.label": "حفظ البيانات للاستخدام دون اتصال", + "general.group_by_date.description": "تجميع المشاركات حسب التاريخ.", + "general.group_by_date.label": "تجميع حسب التاريخ", + "general.language": "اللغة", + "general.launch_at_login": "التشغيل عند تسجيل الدخول", + "general.mark_as_read.hover.description": "تحديد المشاركات كمقروءة تلقائيًا عند التمرير فوقها.", + "general.mark_as_read.hover.label": "تحديد كمقروءة عند التمرير", + "general.mark_as_read.render.description": "تحديد المشاركات ذات المستوى الفردي (مثل منشورات التواصل الاجتماعي، الصور، مشاهدة الفيديو) كمقروءة عند ظهورها في العرض.", + "general.mark_as_read.render.label": "تحديد كمقروءة عند العرض", + "general.mark_as_read.scroll.description": "تحديد المشاركات كمقروءة تلقائيًا عند التمرير خارج العرض.", + "general.mark_as_read.scroll.label": "تحديد كمقروءة عند التمرير", + "general.privacy_data": "الخصوصية والبيانات", + "general.rebuild_database.button": "إعادة بناء", + "general.rebuild_database.description": "إذا كنت تواجه مشاكل في العرض، قد تحل إعادة بناء قاعدة البيانات هذه المشاكل.", + "general.rebuild_database.label": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.title": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.warning.line1": "إعادة بناء قاعدة البيانات ستؤدي إلى مسح جميع بياناتك المحلية.", + "general.rebuild_database.warning.line2": "هل أنت متأكد أنك تريد المتابعة؟", + "general.send_anonymous_data.description": "عن طريق اختيار إرسال بيانات مجهولة الهوية، تساهم في تحسين تجربة المستخدم العامة لتطبيق Follow.", + "general.send_anonymous_data.label": "إرسال بيانات مجهولة الهوية", + "general.show_unread_on_launch.description": "عرض المحتوى غير المقروء عند التشغيل", + "general.show_unread_on_launch.label": "عرض المحتوى غير المقروء عند التشغيل", + "general.sidebar_title": "عام", + "general.timeline": "الجدول الزمني", + "general.unread": "غير مقروء", + "general.voices": "الأصوات", + "integration.eagle.enable.description": "عرض زر 'حفظ الوسائط إلى Eagle' عند توفره.", + "integration.eagle.enable.label": "تمكين", + "integration.eagle.title": "Eagle", + "integration.instapaper.enable.description": "عرض زر 'حفظ إلى Instapaper' عند توفره.", + "integration.instapaper.enable.label": "تمكين", + "integration.instapaper.password.label": "كلمة مرور Instapaper", + "integration.instapaper.title": "Instapaper", + "integration.instapaper.username.label": "اسم مستخدم Instapaper", + "integration.readwise.enable.description": "عرض زر 'حفظ إلى Readwise' عند توفره.", + "integration.readwise.enable.label": "تمكين", + "integration.readwise.title": "Readwise", + "integration.readwise.token.description": "يمكنك الحصول عليه هنا: readwise.io/access_token.", + "integration.readwise.token.label": "رمز الوصول إلى Readwise", + "integration.sidebar_title": "التكامل", + "integration.tip": "نصيحة: يتم تخزين بياناتك الحساسة محليًا ولا يتم تحميلها إلى الخادم.", + "integration.title": "التكامل", + "invitation.activate": "تفعيل", + "invitation.codeOptions.betaUser": "1. ابحث عن مستخدم بيتا لدعوتك.", + "invitation.codeOptions.discord": "2. انضم إلى خادم Discord الخاص بنا للحصول على هدايا عرضية.", + "invitation.codeOptions.xAccount": "3. تابع حسابنا على X للحصول على هدايا عرضية من وقت لآخر.", + "invitation.confirmModal.cancel": "إلغاء", + "invitation.confirmModal.confirm": "هل تريد المتابعة؟", + "invitation.confirmModal.continue": "استمرار", + "invitation.confirmModal.message": "إنشاء رمز دعوة سيكلفك {{INVITATION_PRICE}} Power.", + "invitation.confirmModal.title": "تأكيد", + "invitation.earlyAccess": "تطبيق Follow في مرحلة الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "invitation.earlyAccessMessage": "😰 عذرًا، Follow حاليًا في مرحلة الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "invitation.generateButton": "إنشاء رمز جديد", + "invitation.generateCost": "يمكنك إنفاق {{INVITATION_PRICE}} Power لإنشاء رمز دعوة لأصدقائك.", + "invitation.getCodeMessage": "يمكنك الحصول على رمز دعوة من خلال الطرق التالية:", + "invitation.limitationMessage": "بناءً على وقت استخدامك، يمكنك إنشاء ما يصل إلى {{limitation}} رمز دعوة.", + "invitation.newInvitationSuccess": "🎉 تم إنشاء دعوة جديدة، وتم نسخ رمز الدعوة", + "invitation.noInvitations": "لا توجد دعوات", + "invitation.notUsed": "غير مستخدم", + "invitation.sidebar_title": "الدعوات", + "invitation.tableHeaders.code": "الرمز", + "invitation.tableHeaders.creationTime": "وقت الإنشاء", + "invitation.tableHeaders.usedBy": "استخدمه", + "invitation.title": "رمز الدعوة", + "profile.avatar.label": "الصورة الرمزية", + "profile.handle.description": "معرّفك الفريد.", + "profile.handle.label": "المعرّف", + "profile.name.description": "اسم العرض العام الخاص بك.", + "profile.name.label": "اسم العرض", + "profile.sidebar_title": "الملف الشخصي", + "profile.submit": "إرسال", + "profile.title": "إعدادات الملف الشخصي", + "profile.updateSuccess": "تم تحديث الملف الشخصي.", + "titles.about": "حول", + "titles.actions": "الإجراءات", + "titles.appearance": "المظهر", + "titles.feeds": "التغذيات", + "titles.general": "عام", + "titles.integration": "التكامل", + "titles.invitations": "الدعوات", + "titles.power": "Power", + "titles.profile": "الملف الشخصي", + "titles.shortcuts": "الاختصارات", + "wallet.address.title": "عنوانك", + "wallet.balance.title": "رصيدك", + "wallet.balance.withdrawable": "قابل للسحب", + "wallet.balance.withdrawableTooltip": "يشمل الرصيد القابل للسحب كل من الإكراميات التي تلقيتها وPower الذي أعدت شحنه.", + "wallet.claim.button.claim": "مطالبة بـ Power اليومي", + "wallet.claim.button.claimed": "تمت المطالبة اليوم", + "wallet.claim.tooltip.alreadyClaimed": "لقد طالبت بالفعل اليوم.", + "wallet.claim.tooltip.canClaim": "يمكنك الآن المطالبة بـ {{amount}} Power يوميًا!", + "wallet.create.button": "إنشاء محفظة", + "wallet.create.description": "أنشئ محفظة مجانية لتلقي Power، والذي يمكن استخدامه لمكافأة المبدعين والحصول أيضًا على مكافآت مقابل مساهماتك في المحتوى.", + "wallet.power.dailyClaim": "يمكنك المطالبة بـ {{amount}} Power مجانًا يوميًا، والذي يمكن استخدامه لإكراميات لمقالات RSS على Follow.", + "wallet.power.description": "Power هو رمز ERC-20 على بلوكتشين {{blockchainName}}.", + "wallet.sidebar_title": "Power", + "wallet.transactions.amount": "المبلغ", + "wallet.transactions.date": "التاريخ", + "wallet.transactions.from": "من", + "wallet.transactions.noTransactions": "لا توجد معاملات", + "wallet.transactions.title": "المعاملات", + "wallet.transactions.to": "إلى", + "wallet.transactions.tx": "Tx", + "wallet.transactions.type": "النوع", + "wallet.transactions.types.burn": "حرق", + "wallet.transactions.types.mint": "سك", + "wallet.transactions.types.purchase": "شراء", + "wallet.transactions.types.tip": "إكرامية", + "wallet.transactions.types.withdraw": "سحب", + "wallet.transactions.you": "أنت", + "wallet.withdraw.addressLabel": "عنوان Ethereum الخاص بك", + "wallet.withdraw.amountLabel": "المبلغ", + "wallet.withdraw.availableBalance": "لديك Power قابل للسحب في محفظتك.", + "wallet.withdraw.button": "سحب", + "wallet.withdraw.error": "فشل السحب: {{error}}", + "wallet.withdraw.modalTitle": "سحب Power", + "wallet.withdraw.submitButton": "إرسال", + "wallet.withdraw.success": "تم السحب بنجاح!" +} diff --git a/locales/settings/ar-MA.json b/locales/settings/ar-MA.json new file mode 100644 index 000000000..3732ecd8d --- /dev/null +++ b/locales/settings/ar-MA.json @@ -0,0 +1,195 @@ +{ + "about.changelog": "سجل التغييرات", + "about.feedbackInfo": "{{appName}} ({{commitSha}}) مازال فالمراحل الأولية ديال التطوير. إلى كان عندك شي ملاحظات ولا اقتراحات، مرحبا بك تفتح موضوع على GitHub ديالنا.", + "about.iconLibrary": "المكتبة ديال الأيقونات مستعملة محفوظة بحقوق الطبع والنشر من طرف وما يمكنش توزع من جديد.", + "about.licenseInfo": "{{appName}} هو غادي يبقى دائما مشروع مجاني ومفتوح المصدر. مرخص تحت {{license}}.", + "about.sidebar_title": "حول", + "about.socialMedia": "وسائل التواصل الاجتماعي", + "actions.actionName": "الإجراء {{number}}", + "actions.action_card.add": "إضافة", + "actions.action_card.all": "الكل", + "actions.action_card.block_rules": "قواعد الحظر", + "actions.action_card.custom_filters": "فلاتر مخصصة", + "actions.action_card.enable_readability": "تشغيل القراية المريحة", + "actions.action_card.entry_options.all": "الكل", + "actions.action_card.entry_options.author": "المؤلف", + "actions.action_card.entry_options.content": "المحتوى", + "actions.action_card.entry_options.order": "الترتيب", + "actions.action_card.entry_options.title": "العنوان", + "actions.action_card.entry_options.url": "رابط URL", + "actions.action_card.feed_options.category": "الفئة", + "actions.action_card.feed_options.feed_url": "رابط التغذية", + "actions.action_card.feed_options.site_url": "رابط الموقع", + "actions.action_card.feed_options.title": "العنوان", + "actions.action_card.feed_options.view": "عرض", + "actions.action_card.field": "حقل", + "actions.action_card.from": "من", + "actions.action_card.generate_summary": "توليد ملخص باستخدام الذكاء الاصطناعي", + "actions.action_card.name": "الاسم", + "actions.action_card.operation_options.contains": "كيتضمن", + "actions.action_card.operation_options.does_not_contain": "ما كيتضمنش", + "actions.action_card.operation_options.is_equal_to": "مساوي ل", + "actions.action_card.operation_options.is_greater_than": "أكبر من", + "actions.action_card.operation_options.is_less_than": "أقل من", + "actions.action_card.operation_options.is_not_equal_to": "ماشي مساوي ل", + "actions.action_card.operation_options.matches_regex": "كيطابق التعبير العادي", + "actions.action_card.operator": "المشغل", + "actions.action_card.rewrite_rules": "إعادة كتابة القواعد", + "actions.action_card.then_do": "ثم دير...", + "actions.action_card.to": "إلى", + "actions.action_card.translate_into": "ترجمة إلى", + "actions.action_card.value": "القيمة", + "actions.action_card.when_feeds_match": "فاش التغذية كتطابق...", + "actions.newRule": "قاعدة جديدة", + "actions.save": "حفظ", + "actions.saveSuccess": "🎉 تم حفظ الإجراءات.", + "actions.sidebar_title": "الإجراءات", + "actions.title": "الإجراءات", + "appearance.code_highlight_theme": "موضوع تمييز الكود", + "appearance.content": "المحتوى", + "appearance.content_font": "خط المحتوى", + "appearance.custom_font": "خط مخصص", + "appearance.fonts": "الخطوط", + "appearance.general": "عام", + "appearance.guess_code_language.description": "اللغات البرمجية الرئيسية اللي كتستعمل نماذج لتخمين الكودات الغير موسومة", + "appearance.guess_code_language.label": "تخمين لغة الكود", + "appearance.misc": "متنوع", + "appearance.modal_overlay.description": "عرض تراكب النافذة المنبثقة", + "appearance.modal_overlay.label": "عرض التراكب", + "appearance.opaque_sidebars.label": "أشرطة جانبية غير شفافة", + "appearance.reader_render_inline_style.description": "تمكين عرض الأنماط المضمنة لـ HTML الأصلي.", + "appearance.reader_render_inline_style.label": "عرض الأنماط المضمنة", + "appearance.reduce_motion.description": "تقليل حركة العناصر باش تحسن الأداء وتقلل استهلاك الطاقة", + "appearance.reduce_motion.label": "تقليل الحركة", + "appearance.save": "حفظ", + "appearance.show_dock_badge.label": "عرض كشارة Dock", + "appearance.sidebar_show_unread_count.label": "عرض فالشريط الجانبي", + "appearance.sidebar_title": "المظهر", + "appearance.text_size": "حجم النص", + "appearance.theme.dark": "داكن", + "appearance.theme.label": "السمة", + "appearance.theme.light": "فاتح", + "appearance.theme.system": "نظام", + "appearance.title": "المظهر", + "appearance.ui_font": "خط واجهة المستخدم", + "appearance.unread_count": "عدد غير المقروء", + "general.app": "التطبيق", + "general.data_persist.description": "حفظ البيانات محليًا باش تمكن الوصول بلا إنترنت والبحث المحلي.", + "general.data_persist.label": "حفظ البيانات للاستخدام بلا إنترنت", + "general.group_by_date.description": "تجميع المدخلات حسب التاريخ.", + "general.group_by_date.label": "تجميع حسب التاريخ", + "general.language": "اللغة", + "general.launch_at_login": "التشغيل عند تسجيل الدخول", + "general.mark_as_read.hover.description": "تحديد المدخلات كمقروءة تلقائيًا فاش كتدير عليها الماوس.", + "general.mark_as_read.hover.label": "تحديد كمقروء عند التمرير", + "general.mark_as_read.render.description": "تحديد المدخلات كمقروءة تلقائيًا فاش كتوصل للعرض.", + "general.mark_as_read.render.label": "تحديد كمقروء عند العرض", + "general.mark_as_read.scroll.description": "تحديد المدخلات كمقروءة تلقائيًا فاش كتخرج من العرض.", + "general.mark_as_read.scroll.label": "تحديد كمقروء عند التمرير", + "general.privacy_data": "الخصوصية والبيانات", + "general.rebuild_database.button": "إعادة بناء", + "general.rebuild_database.description": "إلى كنتي كتواجه مشاكل فالعرض، إعادة بناء قاعدة البيانات غادي يحلها.", + "general.rebuild_database.label": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.title": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.warning.line1": "إعادة بناء قاعدة البيانات غادي تمسح جميع بياناتك المحلية.", + "general.rebuild_database.warning.line2": "واش متأكد بلي بغيتي تكمل؟", + "general.send_anonymous_data.description": "باختيار إرسال بيانات مجهولة، كتساهم ف تحسين تجربة المستخدم العامة ديال Follow.", + "general.send_anonymous_data.label": "إرسال بيانات مجهولة", + "general.show_unread_on_launch.description": "عرض المحتوى الغير مقروء عند التشغيل", + "general.show_unread_on_launch.label": "عرض المحتوى الغير مقروء عند التشغيل", + "general.sidebar_title": "عام", + "general.timeline": "الجدول الزمني", + "general.unread": "غير مقروء", + "general.voices": "الأصوات", + "integration.eagle.enable.description": "عرض زر 'حفظ الوسائط لـ Eagle' إلا كان متوفر.", + "integration.eagle.enable.label": "تشغيل", + "integration.eagle.title": "Eagle", + "integration.instapaper.enable.description": "عرض زر 'حفظ إلى Instapaper' إلا كان متوفر.", + "integration.instapaper.enable.label": "تشغيل", + "integration.instapaper.password.label": "كلمة مرور Instapaper", + "integration.instapaper.title": "Instapaper", + "integration.instapaper.username.label": "اسم مستخدم Instapaper", + "integration.readwise.enable.description": "عرض زر 'حفظ إلى Readwise' إلا كان متوفر.", + "integration.readwise.enable.label": "تشغيل", + "integration.readwise.title": "Readwise", + "integration.readwise.token.description": "يمكنك الحصول عليه هنا: readwise.io/access_token.", + "integration.readwise.token.label": "رمز الوصول إلى Readwise", + "integration.sidebar_title": "التكامل", + "integration.tip": "نصيحة: البيانات الحساسة ديالك كتحفظ محليا وما كتترفعش للسيرفر.", + "integration.title": "التكامل", + "invitation.activate": "تفعيل", + "invitation.codeOptions.betaUser": "1. قلب على مستخدم بيتا باش يعاود دعوة ليك.", + "invitation.codeOptions.discord": "2. دخل معانا ف سيرفر Discord الخاص بنا وخد هدايا من وقت لآخر.", + "invitation.codeOptions.xAccount": "3. تابع الحساب ديالنا ف X وخد هدايا من وقت لآخر", + "invitation.confirmModal.cancel": "إلغاء", + "invitation.confirmModal.confirm": "بغيت تكمّل؟", + "invitation.confirmModal.continue": "استمر", + "invitation.confirmModal.message": "إنشاء كود الدعوة غادي يكلفك {{INVITATION_PRICE}} باور.", + "invitation.confirmModal.title": "تأكيد", + "invitation.earlyAccess": "Follow حاليا في الوصول المبكر وخصك كود دعوة باش تستعملو.", + "invitation.earlyAccessMessage": "😰 آسف، Follow دابا في الوصول المبكر وخصك كود دعوة باش تستعملو.", + "invitation.generateButton": "إنشاء كود جديد", + "invitation.generateCost": "تقدر تصرف {{INVITATION_PRICE}} باور باش تنشئ كود دعوة لأصدقائك.", + "invitation.getCodeMessage": "تقدر تحصل على كود الدعوة بطرق التالية:", + "invitation.newInvitationSuccess": "🎉 تم إنشاء دعوة جديدة، الكود نسخ.", + "invitation.noInvitations": "ما كايناش دعوات", + "invitation.notUsed": "ما استعملش", + "invitation.sidebar_title": "الدعوات", + "invitation.tableHeaders.code": "الكود", + "invitation.tableHeaders.creationTime": "وقت الإنشاء", + "invitation.tableHeaders.usedBy": "مستعمل من طرف", + "invitation.title": "كود الدعوة", + "profile.avatar.label": "الصورة الشخصية", + "profile.handle.description": "المعرف الفريد ديالك.", + "profile.handle.label": "الاسم المستعار", + "profile.name.description": "اسم العرض العلني ديالك.", + "profile.name.label": "اسم العرض", + "profile.sidebar_title": "الملف الشخصي", + "profile.submit": "إرسال", + "profile.title": "إعدادات الملف الشخصي", + "profile.updateSuccess": "تم تحديث الملف الشخصي.", + "titles.about": "حول", + "titles.actions": "الإجراءات", + "titles.appearance": "المظهر", + "titles.general": "عام", + "titles.integration": "التكامل", + "titles.invitations": "الدعوات", + "titles.power": "باور", + "titles.profile": "الملف الشخصي", + "titles.shortcuts": "الاختصارات", + "wallet.address.title": "العنوان ديالك", + "wallet.balance.title": "الرصيد ديالك", + "wallet.balance.withdrawable": "قابل للسحب", + "wallet.balance.withdrawableTooltip": "الرصيد القابل للسحب كيشمل الإكراميات اللي وصلاتك والباور اللي شحنتي.", + "wallet.claim.button.claim": "طالب بالباور اليومي", + "wallet.claim.button.claimed": "طالبتي اليوم", + "wallet.claim.tooltip.alreadyClaimed": "طالبتي دابا اليوم.", + "wallet.claim.tooltip.canClaim": "تقدر تطالب دابا ب {{amount}} باور يومي!", + "wallet.create.button": "إنشاء محفظة", + "wallet.create.description": "صاوب محفظة مجانية باش تلقى باور اللي ممكن تستعملو باش تكافئ المبدعين، أو حتى تتكافئ على المساهمات ديالك.", + "wallet.power.dailyClaim": "يمكن ليك تطالب ب {{amount}} باور مجاني يومي، اللي ممكن تستعملو باش تقدم إكراميات لمقالات RSS على Follow.", + "wallet.power.description": "باور هو رمز ERC-20 على بلوكشين {{blockchainName}}.", + "wallet.sidebar_title": "باور", + "wallet.transactions.amount": "المبلغ", + "wallet.transactions.date": "التاريخ", + "wallet.transactions.from": "من", + "wallet.transactions.noTransactions": "ما كايناش معاملات", + "wallet.transactions.title": "المعاملات", + "wallet.transactions.to": "إلى", + "wallet.transactions.tx": "Tx", + "wallet.transactions.type": "النوع", + "wallet.transactions.types.burn": "حرق", + "wallet.transactions.types.mint": "سك", + "wallet.transactions.types.purchase": "شراء", + "wallet.transactions.types.tip": "إكرامية", + "wallet.transactions.types.withdraw": "سحب", + "wallet.transactions.you": "أنت", + "wallet.withdraw.addressLabel": "عنوان الإيثريوم الخاص بك", + "wallet.withdraw.amountLabel": "المبلغ", + "wallet.withdraw.availableBalance": "عندك باور قابل للسحب في المحفظة ديالك.", + "wallet.withdraw.button": "سحب", + "wallet.withdraw.error": "فشل السحب: {{error}}", + "wallet.withdraw.modalTitle": "سحب باور", + "wallet.withdraw.submitButton": "إرسال", + "wallet.withdraw.success": "السحب تمت بنجاح!" +} diff --git a/locales/settings/ar-SA.json b/locales/settings/ar-SA.json new file mode 100644 index 000000000..9462b760a --- /dev/null +++ b/locales/settings/ar-SA.json @@ -0,0 +1,195 @@ +{ + "about.changelog": "سجل التغييرات", + "about.feedbackInfo": "{{appName}} ({{commitSha}}) في مراحل التطوير المبكرة. إذا كان لديك أي ملاحظات أو اقتراحات، لا تتردد في فتح مشكلة على GitHub الخاص بنا.", + "about.iconLibrary": "مكتبة الأيقونات المستخدمة محمية بحقوق النشر بواسطة ولا يمكن إعادة توزيعها.", + "about.licenseInfo": "{{appName}} هو مشروع مجاني ومفتوح المصدر وسيظل دائمًا كذلك. يتم ترخيصه بموجب {{license}}.", + "about.sidebar_title": "حول", + "about.socialMedia": "وسائل التواصل الاجتماعي", + "actions.actionName": "الإجراء {{number}}", + "actions.action_card.add": "إضافة", + "actions.action_card.all": "الكل", + "actions.action_card.block_rules": "قواعد الحظر", + "actions.action_card.custom_filters": "مرشحات مخصصة", + "actions.action_card.enable_readability": "تمكين قابلية القراءة", + "actions.action_card.entry_options.all": "الكل", + "actions.action_card.entry_options.author": "المؤلف", + "actions.action_card.entry_options.content": "المحتوى", + "actions.action_card.entry_options.order": "الترتيب", + "actions.action_card.entry_options.title": "العنوان", + "actions.action_card.entry_options.url": "الرابط", + "actions.action_card.feed_options.category": "الفئة", + "actions.action_card.feed_options.feed_url": "رابط الخلاصة", + "actions.action_card.feed_options.site_url": "رابط الموقع", + "actions.action_card.feed_options.title": "العنوان", + "actions.action_card.feed_options.view": "عرض", + "actions.action_card.field": "الحقل", + "actions.action_card.from": "من", + "actions.action_card.generate_summary": "توليد ملخص باستخدام الذكاء الاصطناعي", + "actions.action_card.name": "الاسم", + "actions.action_card.operation_options.contains": "يحتوي على", + "actions.action_card.operation_options.does_not_contain": "لا يحتوي على", + "actions.action_card.operation_options.is_equal_to": "يساوي", + "actions.action_card.operation_options.is_greater_than": "أكبر من", + "actions.action_card.operation_options.is_less_than": "أقل من", + "actions.action_card.operation_options.is_not_equal_to": "لا يساوي", + "actions.action_card.operation_options.matches_regex": "يطابق regex", + "actions.action_card.operator": "المشغل", + "actions.action_card.rewrite_rules": "إعادة كتابة القواعد", + "actions.action_card.then_do": "ثم افعل…", + "actions.action_card.to": "إلى", + "actions.action_card.translate_into": "ترجمة إلى", + "actions.action_card.value": "القيمة", + "actions.action_card.when_feeds_match": "عندما تتطابق الخلاصات…", + "actions.newRule": "قاعدة جديدة", + "actions.save": "حفظ", + "actions.saveSuccess": "🎉 تم حفظ الإجراءات.", + "actions.sidebar_title": "الإجراءات", + "actions.title": "الإجراءات", + "appearance.code_highlight_theme": "موضوع إبراز الكود", + "appearance.content": "المحتوى", + "appearance.content_font": "خط المحتوى", + "appearance.custom_font": "خط مخصص", + "appearance.fonts": "الخطوط", + "appearance.general": "عام", + "appearance.guess_code_language.description": "لغات البرمجة الرئيسية التي تستخدم النماذج لاستنتاج كتل الكود غير الموسومة", + "appearance.guess_code_language.label": "تخمين لغة الكود", + "appearance.misc": "متفرقات", + "appearance.modal_overlay.description": "إظهار تراكب النافذة المنبثقة", + "appearance.modal_overlay.label": "إظهار تراكب النافذة المنبثقة", + "appearance.opaque_sidebars.label": "الأشرطة الجانبية المعتمة", + "appearance.reader_render_inline_style.description": "يسمح بعرض النمط المضمن لـ HTML الأصلي.", + "appearance.reader_render_inline_style.label": "عرض النمط المضمن", + "appearance.reduce_motion.description": "تقليل حركة العناصر لتحسين الأداء وتقليل استهلاك الطاقة", + "appearance.reduce_motion.label": "تقليل الحركة", + "appearance.save": "حفظ", + "appearance.show_dock_badge.label": "عرض كشارة على Dock", + "appearance.sidebar_show_unread_count.label": "عرض في الشريط الجانبي", + "appearance.sidebar_title": "المظهر", + "appearance.text_size": "حجم النص", + "appearance.theme.dark": "داكن", + "appearance.theme.label": "الموضوع", + "appearance.theme.light": "فاتح", + "appearance.theme.system": "النظام", + "appearance.title": "المظهر", + "appearance.ui_font": "خط واجهة المستخدم", + "appearance.unread_count": "عدد غير المقروء", + "general.app": "تطبيق", + "general.data_persist.description": "حفظ البيانات محليًا لتمكين الوصول دون اتصال والبحث المحلي.", + "general.data_persist.label": "حفظ البيانات للاستخدام دون اتصال", + "general.group_by_date.description": "تجميع الإدخالات حسب التاريخ.", + "general.group_by_date.label": "تجميع حسب التاريخ", + "general.language": "اللغة", + "general.launch_at_login": "التشغيل عند تسجيل الدخول", + "general.mark_as_read.hover.description": "وضع علامة على الإدخالات كمقروءة تلقائيًا عند التمرير عليها.", + "general.mark_as_read.hover.label": "وضع علامة على الإدخالات كمقروءة عند التمرير", + "general.mark_as_read.render.description": "وضع علامة على الإدخالات ذات المستوى الفردي (مثل المنشورات على وسائل التواصل الاجتماعي، الصور، عرض الفيديو) كمقروءة تلقائيًا عند عرضها.", + "general.mark_as_read.render.label": "وضع علامة كمقروء عند العرض", + "general.mark_as_read.scroll.description": "وضع علامة على الإدخالات كمقروءة تلقائيًا عند التمرير خارج العرض.", + "general.mark_as_read.scroll.label": "وضع علامة كمقروء عند التمرير", + "general.privacy_data": "الخصوصية والبيانات", + "general.rebuild_database.button": "إعادة بناء", + "general.rebuild_database.description": "إذا كنت تواجه مشكلات في العرض، فقد تحل إعادة بناء قاعدة البيانات هذه المشكلة.", + "general.rebuild_database.label": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.title": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.warning.line1": "إعادة بناء قاعدة البيانات سيؤدي إلى مسح جميع بياناتك المحلية.", + "general.rebuild_database.warning.line2": "هل أنت متأكد من أنك تريد المتابعة؟", + "general.send_anonymous_data.description": "بإرسال بيانات التتبع المجهولة، تساهم في تحسين تجربة المستخدم العامة لـ Follow.", + "general.send_anonymous_data.label": "إرسال البيانات مجهولة المصدر", + "general.show_unread_on_launch.description": "عرض المحتوى غير المقروء عند التشغيل", + "general.show_unread_on_launch.label": "عرض المحتوى غير المقروء عند التشغيل", + "general.sidebar_title": "عام", + "general.timeline": "الجدول الزمني", + "general.unread": "غير مقروء", + "general.voices": "الأصوات", + "integration.eagle.enable.description": "عرض زر 'حفظ الوسائط في Eagle' عند توفره.", + "integration.eagle.enable.label": "تمكين", + "integration.eagle.title": "Eagle", + "integration.instapaper.enable.description": "عرض زر 'حفظ في Instapaper' عند توفره.", + "integration.instapaper.enable.label": "تمكين", + "integration.instapaper.password.label": "كلمة مرور Instapaper", + "integration.instapaper.title": "Instapaper", + "integration.instapaper.username.label": "اسم مستخدم Instapaper", + "integration.readwise.enable.description": "عرض زر 'حفظ في Readwise' عند توفره.", + "integration.readwise.enable.label": "تمكين", + "integration.readwise.title": "Readwise", + "integration.readwise.token.description": "يمكنك الحصول عليه هنا: readwise.io/access_token.", + "integration.readwise.token.label": "رمز الوصول إلى Readwise", + "integration.sidebar_title": "التكامل", + "integration.tip": "نصيحة: يتم تخزين بياناتك الحساسة محليًا ولا يتم تحميلها على الخادم.", + "integration.title": "التكامل", + "invitation.activate": "تفعيل", + "invitation.codeOptions.betaUser": "1. ابحث عن مستخدم بيتا ليدعوك.", + "invitation.codeOptions.discord": "2. انضم إلى خادمنا على Discord واحصل على هدايا من وقت لآخر.", + "invitation.codeOptions.xAccount": "3. تابع حسابنا على X واحصل على هدايا من وقت لآخر.", + "invitation.confirmModal.cancel": "إلغاء", + "invitation.confirmModal.confirm": "هل تريد المتابعة؟", + "invitation.confirmModal.continue": "استمر", + "invitation.confirmModal.message": "سيكلفك إنشاء رمز دعوة {{INVITATION_PRICE}} من الطاقة.", + "invitation.confirmModal.title": "تأكيد", + "invitation.earlyAccess": "Follow حاليًا في الوصول المبكر ويتطلب رمز دعوة لاستخدامه.", + "invitation.earlyAccessMessage": "😰 آسف، Follow حاليًا في الوصول المبكر ويتطلب رمز دعوة لاستخدامه.", + "invitation.generateButton": "إنشاء رمز جديد", + "invitation.generateCost": "يمكنك إنفاق {{INVITATION_PRICE}} من الطاقة لإنشاء رمز دعوة لأصدقائك.", + "invitation.getCodeMessage": "يمكنك الحصول على رمز دعوة من خلال الطرق التالية:", + "invitation.newInvitationSuccess": "🎉 تم إنشاء رمز دعوة جديد، الرمز تم نسخه.", + "invitation.noInvitations": "لا توجد دعوات", + "invitation.notUsed": "لم يُستخدم", + "invitation.sidebar_title": "الدعوات", + "invitation.tableHeaders.code": "الرمز", + "invitation.tableHeaders.creationTime": "وقت الإنشاء", + "invitation.tableHeaders.usedBy": "تم استخدامه بواسطة", + "invitation.title": "رمز الدعوة", + "profile.avatar.label": "الصورة الشخصية", + "profile.handle.description": "معرفك الفريد.", + "profile.handle.label": "المعرف", + "profile.name.description": "اسم العرض العام الخاص بك.", + "profile.name.label": "اسم العرض", + "profile.sidebar_title": "الملف الشخصي", + "profile.submit": "إرسال", + "profile.title": "إعدادات الملف الشخصي", + "profile.updateSuccess": "تم تحديث الملف الشخصي.", + "titles.about": "حول", + "titles.actions": "الإجراءات", + "titles.appearance": "المظهر", + "titles.general": "عام", + "titles.integration": "التكامل", + "titles.invitations": "الدعوات", + "titles.power": "الطاقة", + "titles.profile": "الملف الشخصي", + "titles.shortcuts": "الاختصارات", + "wallet.address.title": "عنوانك", + "wallet.balance.title": "رصيدك", + "wallet.balance.withdrawable": "قابل للسحب", + "wallet.balance.withdrawableTooltip": "يشمل الرصيد القابل للسحب كلًا من الإكراميات التي تلقيتها والطاقة التي قمت بشحنها.", + "wallet.claim.button.claim": "احصل على الطاقة اليومية", + "wallet.claim.button.claimed": "تم الحصول عليها اليوم", + "wallet.claim.tooltip.alreadyClaimed": "لقد حصلت بالفعل على الطاقة اليوم.", + "wallet.claim.tooltip.canClaim": "احصل على {{amount}} من الطاقة اليومية الآن!", + "wallet.create.button": "إنشاء محفظة", + "wallet.create.description": "قم بإنشاء محفظة مجانية لتلقي الطاقة، التي يمكن استخدامها لمكافأة المبدعين وأيضًا الحصول على مكافآت لمساهماتك في المحتوى.", + "wallet.power.dailyClaim": "يمكنك الحصول على {{amount}} من الطاقة المجانية يوميًا، التي يمكن استخدامها لإكراميات لمقالات RSS على Follow.", + "wallet.power.description": "الطاقة هي رمز ERC-20 على بلوكتشين {{blockchainName}}.", + "wallet.sidebar_title": "الطاقة", + "wallet.transactions.amount": "المبلغ", + "wallet.transactions.date": "التاريخ", + "wallet.transactions.from": "من", + "wallet.transactions.noTransactions": "لا توجد معاملات", + "wallet.transactions.title": "المعاملات", + "wallet.transactions.to": "إلى", + "wallet.transactions.tx": "معاملة", + "wallet.transactions.type": "النوع", + "wallet.transactions.types.burn": "حرق", + "wallet.transactions.types.mint": "إصدار", + "wallet.transactions.types.purchase": "شراء", + "wallet.transactions.types.tip": "إكرامية", + "wallet.transactions.types.withdraw": "سحب", + "wallet.transactions.you": "أنت", + "wallet.withdraw.addressLabel": "عنوان الإيثيريوم الخاص بك", + "wallet.withdraw.amountLabel": "المبلغ", + "wallet.withdraw.availableBalance": "لديك من الطاقة القابلة للسحب في محفظتك.", + "wallet.withdraw.button": "سحب", + "wallet.withdraw.error": "فشل السحب: {{error}}", + "wallet.withdraw.modalTitle": "سحب الطاقة", + "wallet.withdraw.submitButton": "إرسال", + "wallet.withdraw.success": "تم السحب بنجاح!" +} diff --git a/locales/settings/ar-TN.json b/locales/settings/ar-TN.json new file mode 100644 index 000000000..e10cb0115 --- /dev/null +++ b/locales/settings/ar-TN.json @@ -0,0 +1,203 @@ +{ + "about.changelog": "سجل التغييرات", + "about.feedbackInfo": "{{appName}} ({{commitSha}}) لا يزال في المراحل الأولى من التطوير. إذا كان لديك أي ملاحظات أو اقتراحات، لا تتردد في فتح تذكرة على GitHub الخاص بنا.", + "about.iconLibrary": "مكتبة الأيقونات المستخدمة محمية بحقوق الطبع والنشر بواسطة ولا يمكن إعادة توزيعها.", + "about.licenseInfo": "{{appName}} هو وسيظل دائمًا مشروعًا مجانيًا ومفتوح المصدر. تم ترخيصه بموجب {{license}}.", + "about.sidebar_title": "حول", + "about.socialMedia": "وسائل التواصل الاجتماعي", + "actions.actionName": "الإجراء {{number}}", + "actions.action_card.add": "إضافة", + "actions.action_card.all": "الكل", + "actions.action_card.block_rules": "قواعد الحظر", + "actions.action_card.custom_filters": "مرشحات مخصصة", + "actions.action_card.enable_readability": "تمكين إمكانية القراءة", + "actions.action_card.entry_options.all": "الكل", + "actions.action_card.entry_options.author": "المؤلف", + "actions.action_card.entry_options.content": "المحتوى", + "actions.action_card.entry_options.order": "الترتيب", + "actions.action_card.entry_options.title": "العنوان", + "actions.action_card.entry_options.url": "الرابط", + "actions.action_card.feed_options.category": "الفئة", + "actions.action_card.feed_options.feed_url": "رابط التغذية", + "actions.action_card.feed_options.site_url": "رابط الموقع", + "actions.action_card.feed_options.title": "العنوان", + "actions.action_card.feed_options.view": "عرض", + "actions.action_card.field": "الحقل", + "actions.action_card.from": "من", + "actions.action_card.generate_summary": "توليد ملخص باستخدام الذكاء الاصطناعي", + "actions.action_card.name": "الاسم", + "actions.action_card.operation_options.contains": "يحتوي على", + "actions.action_card.operation_options.does_not_contain": "لا يحتوي على", + "actions.action_card.operation_options.is_equal_to": "يساوي", + "actions.action_card.operation_options.is_greater_than": "أكبر من", + "actions.action_card.operation_options.is_less_than": "أقل من", + "actions.action_card.operation_options.is_not_equal_to": "ليس مساويًا لـ", + "actions.action_card.operation_options.matches_regex": "يطابق التعبير النمطي", + "actions.action_card.operator": "المشغل", + "actions.action_card.rewrite_rules": "إعادة كتابة القواعد", + "actions.action_card.then_do": "ثم قم بـ...", + "actions.action_card.to": "إلى", + "actions.action_card.translate_into": "ترجمة إلى", + "actions.action_card.value": "القيمة", + "actions.action_card.when_feeds_match": "عند مطابقة التغذيات...", + "actions.newRule": "قاعدة جديدة", + "actions.save": "حفظ", + "actions.saveSuccess": "🎉 تم حفظ الإجراءات.", + "actions.sidebar_title": "الإجراءات", + "actions.title": "الإجراءات", + "appearance.code_highlight_theme": "سمة تمييز الشيفرة", + "appearance.content": "المحتوى", + "appearance.content_font": "خط المحتوى", + "appearance.custom_font": "خط مخصص", + "appearance.fonts": "الخطوط", + "appearance.general": "عام", + "appearance.guess_code_language.description": "لغات البرمجة الرئيسية التي تستخدم النماذج لاستنتاج كتل الشيفرة غير المسماة", + "appearance.guess_code_language.label": "تخمين لغة الشيفرة", + "appearance.misc": "متنوع", + "appearance.modal_overlay.description": "عرض تراكب النافذة المنبثقة", + "appearance.modal_overlay.label": "عرض تراكب النافذة المنبثقة", + "appearance.opaque_sidebars.label": "أشرطة جانبية معتمة", + "appearance.reader_render_inline_style.description": "يسمح بعرض النمط المضمّن في HTML الأصلي.", + "appearance.reader_render_inline_style.label": "عرض النمط المضمّن", + "appearance.reduce_motion.description": "تقليل حركة العناصر لتحسين الأداء وتقليل استهلاك الطاقة", + "appearance.reduce_motion.label": "تقليل الحركة", + "appearance.save": "حفظ", + "appearance.show_dock_badge.label": "إظهار كشارة في Dock", + "appearance.sidebar_show_unread_count.label": "عرض في الشريط الجانبي", + "appearance.sidebar_title": "المظهر", + "appearance.text_size": "حجم النص", + "appearance.theme.dark": "داكن", + "appearance.theme.label": "السمة", + "appearance.theme.light": "فاتح", + "appearance.theme.system": "النظام", + "appearance.title": "المظهر", + "appearance.ui_font": "خط واجهة المستخدم", + "appearance.unread_count": "عدد العناصر غير المقروءة", + "feeds.claimTips": "للمطالبة بتغذياتك واستلام الإكراميات، انقر بزر الماوس الأيمن على التغذية في قائمة اشتراكاتك واختر المطالبة.", + "feeds.noFeeds": "لا توجد تغذيات مطالبة", + "feeds.tableHeaders.entryCount": "العناصر", + "feeds.tableHeaders.name": "الاسم", + "feeds.tableHeaders.subscriptionCount": "الاشتراكات", + "feeds.tableHeaders.tipAmount": "الإكراميات المستلمة", + "general.app": "التطبيق", + "general.data_persist.description": "الاحتفاظ بالبيانات محليًا لتمكين الوصول دون اتصال والبحث المحلي.", + "general.data_persist.label": "الاحتفاظ بالبيانات للاستخدام دون اتصال", + "general.group_by_date.description": "تجميع العناصر حسب التاريخ.", + "general.group_by_date.label": "تجميع حسب التاريخ", + "general.language": "اللغة", + "general.launch_at_login": "التشغيل عند تسجيل الدخول", + "general.mark_as_read.hover.description": "تحديد العناصر تلقائيًا كمقروءة عند التمرير فوقها.", + "general.mark_as_read.hover.label": "تحديد كمقروء عند التمرير", + "general.mark_as_read.render.description": "تحديد العناصر أحادية المستوى (مثل منشورات الوسائط الاجتماعية، والصور، وعروض الفيديو) تلقائيًا كمقروءة عند دخولها العرض.", + "general.mark_as_read.render.label": "تحديد كمقروء عند العرض", + "general.mark_as_read.scroll.description": "تحديد العناصر تلقائيًا كمقروءة عند التمرير خارج العرض.", + "general.mark_as_read.scroll.label": "تحديد كمقروء عند التمرير", + "general.privacy_data": "الخصوصية والبيانات", + "general.rebuild_database.button": "إعادة بناء", + "general.rebuild_database.description": "إذا كنت تواجه مشكلات في العرض، فقد يحل إعادة بناء قاعدة البيانات هذه المشكلات.", + "general.rebuild_database.label": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.title": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.warning.line1": "ستؤدي إعادة بناء قاعدة البيانات إلى مسح جميع بياناتك المحلية.", + "general.rebuild_database.warning.line2": "هل أنت متأكد أنك تريد المتابعة؟", + "general.send_anonymous_data.description": "من خلال اختيار إرسال بيانات عن بعد مجهولة، فإنك تساهم في تحسين تجربة المستخدم العامة لـ Follow.", + "general.send_anonymous_data.label": "إرسال بيانات مجهولة", + "general.show_unread_on_launch.description": "عرض المحتوى غير المقروء عند الإطلاق", + "general.show_unread_on_launch.label": "عرض المحتوى غير المقروء عند الإطلاق", + "general.sidebar_title": "عام", + "general.timeline": "الجدول الزمني", + "general.unread": "غير مقروء", + "general.voices": "الأصوات", + "integration.eagle.enable.description": "عرض زر 'حفظ الوسائط إلى Eagle' عندما يكون متاحًا.", + "integration.eagle.enable.label": "تمكين", + "integration.eagle.title": "Eagle", + "integration.instapaper.enable.description": "عرض زر 'حفظ إلى Instapaper' عندما يكون متاحًا.", + "integration.instapaper.enable.label": "تمكين", + "integration.instapaper.password.label": "كلمة مرور Instapaper", + "integration.instapaper.title": "Instapaper", + "integration.instapaper.username.label": "اسم مستخدم Instapaper", + "integration.readwise.enable.description": "عرض زر 'حفظ إلى Readwise' عندما يكون متاحًا.", + "integration.readwise.enable.label": "تمكين", + "integration.readwise.title": "Readwise", + "integration.readwise.token.description": "يمكنك الحصول عليه هنا: readwise.io/access_token.", + "integration.readwise.token.label": "رمز الوصول لـ Readwise", + "integration.sidebar_title": "التكامل", + "integration.tip": "نصيحة: يتم تخزين بياناتك الحساسة محليًا ولا يتم تحميلها إلى الخادم.", + "integration.title": "التكامل", + "invitation.activate": "تفعيل", + "invitation.codeOptions.betaUser": "1. ابحث عن مستخدم بيتا لدعوتك.", + "invitation.codeOptions.discord": "2. انضم إلى خادم Discord الخاص بنا واحصل على هدايا عرضية.", + "invitation.codeOptions.xAccount": "3. تابع حسابنا على X واحصل على هدايا من وقت لآخر.", + "invitation.confirmModal.cancel": "إلغاء", + "invitation.confirmModal.confirm": "هل تريد المتابعة؟", + "invitation.confirmModal.continue": "متابعة", + "invitation.confirmModal.message": "سيكلفك إنشاء رمز دعوة {{INVITATION_PRICE}} من Power.", + "invitation.confirmModal.title": "تأكيد", + "invitation.earlyAccess": "Follow حاليًا في الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "invitation.earlyAccessMessage": "😰 عذرًا، Follow حاليًا في مرحلة الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "invitation.generateButton": "إنشاء رمز جديد", + "invitation.generateCost": "يمكنك إنفاق {{INVITATION_PRICE}} من Power لإنشاء رمز دعوة لأصدقائك.", + "invitation.getCodeMessage": "يمكنك الحصول على رمز دعوة من خلال الطرق التالية:", + "invitation.limitationMessage": "بناءً على وقت استخدامك، يمكنك إنشاء ما يصل إلى {{limitation}} من رموز الدعوات.", + "invitation.newInvitationSuccess": "🎉 تم إنشاء دعوة جديدة، وتم نسخ رمز الدعوة", + "invitation.noInvitations": "لا توجد دعوات", + "invitation.notUsed": "لم يُستخدم", + "invitation.sidebar_title": "الدعوات", + "invitation.tableHeaders.code": "الرمز", + "invitation.tableHeaders.creationTime": "وقت الإنشاء", + "invitation.tableHeaders.usedBy": "استخدمه", + "invitation.title": "رمز الدعوة", + "profile.avatar.label": "الصورة الرمزية", + "profile.handle.description": "معرفك الفريد.", + "profile.handle.label": "المعرف", + "profile.name.description": "اسم العرض العام الخاص بك.", + "profile.name.label": "اسم العرض", + "profile.sidebar_title": "الملف الشخصي", + "profile.submit": "إرسال", + "profile.title": "إعدادات الملف الشخصي", + "profile.updateSuccess": "تم تحديث الملف الشخصي.", + "titles.about": "حول", + "titles.actions": "الإجراءات", + "titles.appearance": "المظهر", + "titles.feeds": "التغذيات", + "titles.general": "عام", + "titles.integration": "التكامل", + "titles.invitations": "الدعوات", + "titles.power": "الطاقة", + "titles.profile": "الملف الشخصي", + "titles.shortcuts": "الاختصارات", + "wallet.address.title": "عنوانك", + "wallet.balance.title": "رصيدك", + "wallet.balance.withdrawable": "قابل للسحب", + "wallet.balance.withdrawableTooltip": "تشمل الطاقة القابلة للسحب كلًا من الإكراميات التي تلقيتها والطاقة التي قمت بشحنها.", + "wallet.claim.button.claim": "استلام الطاقة اليومية", + "wallet.claim.button.claimed": "تم استلام الطاقة اليوم", + "wallet.claim.tooltip.alreadyClaimed": "لقد استلمت بالفعل اليوم.", + "wallet.claim.tooltip.canClaim": "استلم {{amount}} من الطاقة اليومية الآن!", + "wallet.create.button": "إنشاء محفظة", + "wallet.create.description": "أنشئ محفظة مجانية لاستلام Power، والتي يمكن استخدامها لمكافأة المبدعين وأيضًا الحصول على مكافآت مقابل مساهماتك في المحتوى.", + "wallet.power.dailyClaim": "يمكنك استلام {{amount}} من الطاقة المجانية يوميًا، والتي يمكن استخدامها لإكراميات عناصر RSS على Follow.", + "wallet.power.description": "Power هو رمز ERC-20 على سلسلة البلوكشين {{blockchainName}}.", + "wallet.sidebar_title": "الطاقة", + "wallet.transactions.amount": "المبلغ", + "wallet.transactions.date": "التاريخ", + "wallet.transactions.from": "من", + "wallet.transactions.noTransactions": "لا توجد معاملات", + "wallet.transactions.title": "المعاملات", + "wallet.transactions.to": "إلى", + "wallet.transactions.tx": "Tx", + "wallet.transactions.type": "النوع", + "wallet.transactions.types.burn": "حرق", + "wallet.transactions.types.mint": "سك", + "wallet.transactions.types.purchase": "شراء", + "wallet.transactions.types.tip": "إكرامية", + "wallet.transactions.types.withdraw": "سحب", + "wallet.transactions.you": "أنت", + "wallet.withdraw.addressLabel": "عنوان Ethereum الخاص بك", + "wallet.withdraw.amountLabel": "المبلغ", + "wallet.withdraw.availableBalance": "لديك من الطاقة القابلة للسحب في محفظتك.", + "wallet.withdraw.button": "سحب", + "wallet.withdraw.error": "فشل السحب: {{error}}", + "wallet.withdraw.modalTitle": "سحب الطاقة", + "wallet.withdraw.submitButton": "إرسال", + "wallet.withdraw.success": "تم السحب بنجاح!" +} diff --git a/locales/settings/en.json b/locales/settings/en.json index 5333abf93..5f18fbf98 100644 --- a/locales/settings/en.json +++ b/locales/settings/en.json @@ -73,6 +73,9 @@ "appearance.title": "Appearance", "appearance.ui_font": "UI Font", "appearance.unread_count": "Unread count", + "appearance.use_pointer_cursor.description": "Change the cursor to a pointer when hovering over any interactive element.", + "appearance.use_pointer_cursor.label": "Use pointer cursors", + "common.give_star": "Love our product? Give us a star on GitHub!", "feeds.claimTips": "To claim your feeds and receive tips, right-click on the feed in your subscription list and select Claim.", "feeds.noFeeds": "No claimed feeds", "feeds.tableHeaders.entryCount": "Entries", @@ -92,7 +95,10 @@ "general.mark_as_read.render.label": "Mark as read when in the view", "general.mark_as_read.scroll.description": "Automatically mark entries as read when scrolled out of the view.", "general.mark_as_read.scroll.label": "Mark as read when scrolling", + "general.network": "Network", "general.privacy_data": "Privacy & Data", + "general.proxy": "Proxy", + "general.proxy.description": "Set proxy for network traffic routing, e.g., socks://proxy.example.com:1080", "general.rebuild_database.button": "Rebuild", "general.rebuild_database.description": "If you are experiencing rendering issues, rebuilding the database may solve them.", "general.rebuild_database.label": "Rebuild Database", @@ -146,6 +152,33 @@ "invitation.tableHeaders.creationTime": "Creation Time", "invitation.tableHeaders.usedBy": "Used by", "invitation.title": "Invitation Code", + "lists.create": "Create New List", + "lists.created.error": "Failed to create list.", + "lists.created.success": "List created successfully!", + "lists.description": "Description", + "lists.edit": "Edit", + "lists.edit.error": "Failed to edit list.", + "lists.edit.success": "List edited successfully!", + "lists.fee": "Fee", + "lists.fee.description": "The fee others need to pay you to subscribe to this list.", + "lists.feeds": "Feeds", + "lists.feeds.actions": "Actions", + "lists.feeds.add": "Add", + "lists.feeds.add.error": "Failed to add feed to list.", + "lists.feeds.add.success": "Feed added to list.", + "lists.feeds.delete.error": "Failed to remove feed from list.", + "lists.feeds.delete.success": "Feed removed from list.", + "lists.feeds.id": "Feed ID", + "lists.feeds.manage": "Manage Feeds", + "lists.feeds.owner": "Owner", + "lists.feeds.search": "Search for feed", + "lists.feeds.title": "Title", + "lists.image": "Image", + "lists.info": "Lists are collections of feeds that you can share or sell for others to subscribe to. Subscribers will synchronize and access all feeds in the list.", + "lists.noLists": "No lists", + "lists.submit": "Submit", + "lists.title": "Title", + "lists.view": "View", "profile.avatar.label": "Avatar", "profile.handle.description": "Your unique identifier.", "profile.handle.label": "Handle", @@ -162,6 +195,7 @@ "titles.general": "General", "titles.integration": "Integration", "titles.invitations": "Invitations", + "titles.lists": "Lists", "titles.power": "Power", "titles.profile": "Profile", "titles.shortcuts": "Shortcuts", diff --git a/locales/settings/es.json b/locales/settings/es.json new file mode 100644 index 000000000..657d7bba6 --- /dev/null +++ b/locales/settings/es.json @@ -0,0 +1,195 @@ +{ + "about.changelog": "Registro de cambios", + "about.feedbackInfo": "{{appName}} ({{commitSha}}) está en las primeras etapas de desarrollo. Si tienes algún comentario o sugerencia, no dudes en abrir un issue en nuestro GitHub.", + "about.iconLibrary": "La biblioteca de iconos utilizada está protegida por derechos de autor por y no puede ser redistribuida.", + "about.licenseInfo": "{{appName}} es y siempre será un proyecto gratuito y de código abierto. Está licenciado bajo {{license}}.", + "about.sidebar_title": "Acerca de", + "about.socialMedia": "Redes Sociales", + "actions.actionName": "Acción {{number}}", + "actions.action_card.add": "Añadir", + "actions.action_card.all": "Todos", + "actions.action_card.block_rules": "Reglas de bloqueo", + "actions.action_card.custom_filters": "Filtros personalizados", + "actions.action_card.enable_readability": "Habilitar legibilidad", + "actions.action_card.entry_options.all": "Todos", + "actions.action_card.entry_options.author": "Autor", + "actions.action_card.entry_options.content": "Contenido", + "actions.action_card.entry_options.order": "Orden", + "actions.action_card.entry_options.title": "Título", + "actions.action_card.entry_options.url": "URL", + "actions.action_card.feed_options.category": "Categoría", + "actions.action_card.feed_options.feed_url": "URL del feed", + "actions.action_card.feed_options.site_url": "URL del sitio", + "actions.action_card.feed_options.title": "Título", + "actions.action_card.feed_options.view": "Vista", + "actions.action_card.field": "Campo", + "actions.action_card.from": "Desde", + "actions.action_card.generate_summary": "Generar resumen usando IA", + "actions.action_card.name": "Nombre", + "actions.action_card.operation_options.contains": "contiene", + "actions.action_card.operation_options.does_not_contain": "no contiene", + "actions.action_card.operation_options.is_equal_to": "es igual a", + "actions.action_card.operation_options.is_greater_than": "es mayor que", + "actions.action_card.operation_options.is_less_than": "es menor que", + "actions.action_card.operation_options.is_not_equal_to": "no es igual a", + "actions.action_card.operation_options.matches_regex": "coincide con regex", + "actions.action_card.operator": "Operador", + "actions.action_card.rewrite_rules": "Reglas de reescritura", + "actions.action_card.then_do": "Entonces hacer…", + "actions.action_card.to": "A", + "actions.action_card.translate_into": "Traducir a", + "actions.action_card.value": "Valor", + "actions.action_card.when_feeds_match": "Cuando los feeds coinciden…", + "actions.newRule": "Nueva regla", + "actions.save": "Guardar", + "actions.saveSuccess": "🎉 Acciones guardadas.", + "actions.sidebar_title": "Acciones", + "actions.title": "Acciones", + "appearance.code_highlight_theme": "Tema de resaltado de código", + "appearance.content": "Contenido", + "appearance.content_font": "Fuente del contenido", + "appearance.custom_font": "Fuente personalizada", + "appearance.fonts": "Fuentes", + "appearance.general": "General", + "appearance.guess_code_language.description": "Principales lenguajes de programación que usan modelos para inferir bloques de código sin etiquetar", + "appearance.guess_code_language.label": "Adivinar lenguaje de código", + "appearance.misc": "Varios", + "appearance.modal_overlay.description": "Mostrar superposición modal", + "appearance.modal_overlay.label": "Mostrar superposición modal", + "appearance.opaque_sidebars.label": "Barras laterales opacas", + "appearance.reader_render_inline_style.description": "Permite renderizar el estilo en línea del HTML original.", + "appearance.reader_render_inline_style.label": "Renderizar estilo en línea", + "appearance.reduce_motion.description": "Reducir el movimiento de elementos para mejorar el rendimiento y reducir el consumo de energía", + "appearance.reduce_motion.label": "Reducir movimiento", + "appearance.save": "Guardar", + "appearance.show_dock_badge.label": "Mostrar como insignia en el Dock", + "appearance.sidebar_show_unread_count.label": "Mostrar en la barra lateral", + "appearance.sidebar_title": "Apariencia", + "appearance.text_size": "Tamaño de texto", + "appearance.theme.dark": "Oscuro", + "appearance.theme.label": "Tema", + "appearance.theme.light": "Claro", + "appearance.theme.system": "Sistema", + "appearance.title": "Apariencia", + "appearance.ui_font": "Fuente de la interfaz", + "appearance.unread_count": "Conteo de no leídos", + "general.app": "Aplicación", + "general.data_persist.description": "Guardar datos localmente para habilitar el acceso sin conexión y la búsqueda local.", + "general.data_persist.label": "Guardar datos para uso sin conexión", + "general.group_by_date.description": "Agrupar entradas por fecha.", + "general.group_by_date.label": "Agrupar por fecha", + "general.language": "Idioma", + "general.launch_at_login": "Iniciar al iniciar sesión", + "general.mark_as_read.hover.description": "Marcar automáticamente las entradas como leídas al pasar el cursor.", + "general.mark_as_read.hover.label": "Marcar como leído al pasar el cursor", + "general.mark_as_read.render.description": "Marcar automáticamente entradas de un solo nivel (por ejemplo, publicaciones de redes sociales, imágenes, vistas de video) como leídas cuando ingresan en la vista.", + "general.mark_as_read.render.label": "Marcar como leído cuando está en vista", + "general.mark_as_read.scroll.description": "Marcar automáticamente las entradas como leídas al desplazarse fuera de la vista.", + "general.mark_as_read.scroll.label": "Marcar como leído al desplazarse", + "general.privacy_data": "Privacidad y Datos", + "general.rebuild_database.button": "Reconstruir", + "general.rebuild_database.description": "Si experimentas problemas de renderizado, reconstruir la base de datos puede solucionarlos.", + "general.rebuild_database.label": "Reconstruir Base de Datos", + "general.rebuild_database.title": "Reconstruir Base de Datos", + "general.rebuild_database.warning.line1": "Reconstruir la base de datos borrará todos tus datos locales.", + "general.rebuild_database.warning.line2": "¿Estás seguro de que deseas continuar?", + "general.send_anonymous_data.description": "Al optar por enviar datos de telemetría anónimos, contribuyes a mejorar la experiencia general de usuario de Follow.", + "general.send_anonymous_data.label": "Enviar datos anónimos", + "general.show_unread_on_launch.description": "Mostrar contenido no leído al iniciar", + "general.show_unread_on_launch.label": "Mostrar contenido no leído al iniciar", + "general.sidebar_title": "General", + "general.timeline": "Línea de tiempo", + "general.unread": "No leído", + "general.voices": "Voces", + "integration.eagle.enable.description": "Mostrar el botón 'Guardar medios en Eagle' cuando esté disponible.", + "integration.eagle.enable.label": "Habilitar", + "integration.eagle.title": "Eagle", + "integration.instapaper.enable.description": "Mostrar el botón 'Guardar en Instapaper' cuando esté disponible.", + "integration.instapaper.enable.label": "Habilitar", + "integration.instapaper.password.label": "Contraseña de Instapaper", + "integration.instapaper.title": "Instapaper", + "integration.instapaper.username.label": "Usuario de Instapaper", + "integration.readwise.enable.description": "Mostrar el botón 'Guardar en Readwise' cuando esté disponible.", + "integration.readwise.enable.label": "Habilitar", + "integration.readwise.title": "Readwise", + "integration.readwise.token.description": "Puedes obtenerlo aquí: readwise.io/access_token.", + "integration.readwise.token.label": "Token de acceso de Readwise", + "integration.sidebar_title": "Integración", + "integration.tip": "Consejo: Tus datos sensibles se almacenan localmente y no se suben al servidor.", + "integration.title": "Integración", + "invitation.activate": "Activar", + "invitation.codeOptions.betaUser": "1. Encuentra un usuario beta que te invite.", + "invitation.codeOptions.discord": "2. Únete a nuestro servidor de Discord y obtén regalos ocasionales.", + "invitation.codeOptions.xAccount": "3. Sigue nuestra cuenta de X y obtén regalos de vez en cuando.", + "invitation.confirmModal.cancel": "Cancelar", + "invitation.confirmModal.confirm": "¿Deseas continuar?", + "invitation.confirmModal.continue": "Continuar", + "invitation.confirmModal.message": "Generar un código de invitación te costará {{INVITATION_PRICE}} Power.", + "invitation.confirmModal.title": "Confirmar", + "invitation.earlyAccess": "Follow está actualmente en acceso anticipado y requiere un código de invitación para usarlo.", + "invitation.earlyAccessMessage": "😰 Lo sentimos, Follow está actualmente en acceso anticipado y requiere un código de invitación para usarlo.", + "invitation.generateButton": "Generar nuevo código", + "invitation.generateCost": "Puedes gastar {{INVITATION_PRICE}} Power para generar un código de invitación para tus amigos.", + "invitation.getCodeMessage": "Puedes obtener un código de invitación a través de los siguientes métodos:", + "invitation.newInvitationSuccess": "🎉 Nueva invitación generada, el código de invitación ha sido copiado", + "invitation.noInvitations": "Sin invitaciones", + "invitation.notUsed": "No utilizado", + "invitation.sidebar_title": "Invitaciones", + "invitation.tableHeaders.code": "Código", + "invitation.tableHeaders.creationTime": "Fecha de creación", + "invitation.tableHeaders.usedBy": "Usado por", + "invitation.title": "Código de Invitación", + "profile.avatar.label": "Avatar", + "profile.handle.description": "Tu identificador único.", + "profile.handle.label": "Usuario", + "profile.name.description": "Tu nombre público.", + "profile.name.label": "Nombre para mostrar", + "profile.sidebar_title": "Perfil", + "profile.submit": "Enviar", + "profile.title": "Configuración de Perfil", + "profile.updateSuccess": "Perfil actualizado.", + "titles.about": "Acerca de", + "titles.actions": "Acciones", + "titles.appearance": "Apariencia", + "titles.general": "General", + "titles.integration": "Integración", + "titles.invitations": "Invitaciones", + "titles.power": "Power", + "titles.profile": "Perfil", + "titles.shortcuts": "Atajos", + "wallet.address.title": "Tu Dirección", + "wallet.balance.title": "Tu Saldo", + "wallet.balance.withdrawable": "Retirable", + "wallet.balance.withdrawableTooltip": "El Power retirable incluye tanto las propinas que has recibido como el Power que has recargado.", + "wallet.claim.button.claim": "Reclamar Power diario", + "wallet.claim.button.claimed": "Reclamado hoy", + "wallet.claim.tooltip.alreadyClaimed": "Ya has reclamado hoy.", + "wallet.claim.tooltip.canClaim": "¡Reclama tus {{amount}} Power diarios ahora!", + "wallet.create.button": "Crear Cartera", + "wallet.create.description": "Crea una cartera gratuita para recibir Power, que puede ser usado para recompensar a los creadores y también ser recompensado por tus contribuciones de contenido.", + "wallet.power.dailyClaim": "Puedes reclamar {{amount}} Power gratis diariamente, que puede ser usado para dar propinas a entradas RSS en Follow.", + "wallet.power.description": "Power es un token ERC-20 en la blockchain de {{blockchainName}}.", + "wallet.sidebar_title": "Power", + "wallet.transactions.amount": "Cantidad", + "wallet.transactions.date": "Fecha", + "wallet.transactions.from": "De", + "wallet.transactions.noTransactions": "Sin transacciones", + "wallet.transactions.title": "Transacciones", + "wallet.transactions.to": "A", + "wallet.transactions.tx": "Tx", + "wallet.transactions.type": "Tipo", + "wallet.transactions.types.burn": "quemar", + "wallet.transactions.types.mint": "acuñar", + "wallet.transactions.types.purchase": "compra", + "wallet.transactions.types.tip": "propina", + "wallet.transactions.types.withdraw": "retirar", + "wallet.transactions.you": "Tú", + "wallet.withdraw.addressLabel": "Tu Dirección de Ethereum", + "wallet.withdraw.amountLabel": "Cantidad", + "wallet.withdraw.availableBalance": "Tienes Power retirable en tu cartera.", + "wallet.withdraw.button": "Retirar", + "wallet.withdraw.error": "Retiro fallido: {{error}}", + "wallet.withdraw.modalTitle": "Retirar Power", + "wallet.withdraw.submitButton": "Enviar", + "wallet.withdraw.success": "¡Retiro exitoso!" +} diff --git a/locales/settings/fi.json b/locales/settings/fi.json new file mode 100644 index 000000000..9c65e2f16 --- /dev/null +++ b/locales/settings/fi.json @@ -0,0 +1,195 @@ +{ + "about.changelog": "Muutosloki", + "about.feedbackInfo": "{{appName}} ({{commitSha}}) on kehityksen alkuvaiheessa. Jos sinulla on palautetta tai ehdotuksia, voit vapaasti avata ongelmaraportin GitHubissamme.", + "about.iconLibrary": "Käytetty kuvakekirjasto on tekijänoikeuden alainen , eikä sitä saa levittää uudelleen.", + "about.licenseInfo": "{{appName}} on ja tulee aina olemaan ilmainen ja avoimen lähdekoodin projekti. Se on lisensoitu {{license}}-lisenssillä.", + "about.sidebar_title": "Tietoa", + "about.socialMedia": "Sosiaalinen media", + "actions.actionName": "Toiminto {{number}}", + "actions.action_card.add": "Lisää", + "actions.action_card.all": "Kaikki", + "actions.action_card.block_rules": "Estosäännöt", + "actions.action_card.custom_filters": "Mukautetut suodattimet", + "actions.action_card.enable_readability": "Ota luettavuus käyttöön", + "actions.action_card.entry_options.all": "Kaikki", + "actions.action_card.entry_options.author": "Tekijä", + "actions.action_card.entry_options.content": "Sisältö", + "actions.action_card.entry_options.order": "Järjestys", + "actions.action_card.entry_options.title": "Otsikko", + "actions.action_card.entry_options.url": "URL", + "actions.action_card.feed_options.category": "Kategoria", + "actions.action_card.feed_options.feed_url": "Syötteen URL", + "actions.action_card.feed_options.site_url": "Sivuston URL", + "actions.action_card.feed_options.title": "Otsikko", + "actions.action_card.feed_options.view": "Näkymä", + "actions.action_card.field": "Kenttä", + "actions.action_card.from": "Lähde", + "actions.action_card.generate_summary": "Luo yhteenveto tekoälyn avulla", + "actions.action_card.name": "Nimi", + "actions.action_card.operation_options.contains": "sisältää", + "actions.action_card.operation_options.does_not_contain": "ei sisällä", + "actions.action_card.operation_options.is_equal_to": "on yhtä suuri kuin", + "actions.action_card.operation_options.is_greater_than": "on suurempi kuin", + "actions.action_card.operation_options.is_less_than": "on pienempi kuin", + "actions.action_card.operation_options.is_not_equal_to": "ei ole yhtä suuri kuin", + "actions.action_card.operation_options.matches_regex": "vastaa regexiä", + "actions.action_card.operator": "Operaattori", + "actions.action_card.rewrite_rules": "Uudelleenkirjoitussäännöt", + "actions.action_card.then_do": "Sitten tee…", + "actions.action_card.to": "Kohde", + "actions.action_card.translate_into": "Käännä kielelle", + "actions.action_card.value": "Arvo", + "actions.action_card.when_feeds_match": "Kun syötteet täsmäävät…", + "actions.newRule": "Uusi sääntö", + "actions.save": "Tallenna", + "actions.saveSuccess": "🎉 Toiminnot tallennettu.", + "actions.sidebar_title": "Toiminnot", + "actions.title": "Toiminnot", + "appearance.code_highlight_theme": "Koodin korostusteema", + "appearance.content": "Sisältö", + "appearance.content_font": "Sisällön fontti", + "appearance.custom_font": "Mukautettu fontti", + "appearance.fonts": "Fontit", + "appearance.general": "Yleiset", + "appearance.guess_code_language.description": "Tärkeimmät ohjelmointikielet, jotka käyttävät malleja tunnistamaan merkitsemättömiä koodilohkoja", + "appearance.guess_code_language.label": "Arvaa koodin kieli", + "appearance.misc": "Sekalaista", + "appearance.modal_overlay.description": "Näytä modaalinen peite", + "appearance.modal_overlay.label": "Näytä modaalinen peite", + "appearance.opaque_sidebars.label": "Läpinäkymättömät sivupalkit", + "appearance.reader_render_inline_style.description": "Mahdollistaa alkuperäisen HTML:n inline-tyylin renderöinnin.", + "appearance.reader_render_inline_style.label": "Renderöi inline-tyyli", + "appearance.reduce_motion.description": "Vähentää elementtien liikettä parantaakseen suorituskykyä ja vähentääkseen energiankulutusta", + "appearance.reduce_motion.label": "Vähennä liikettä", + "appearance.save": "Tallenna", + "appearance.show_dock_badge.label": "Näytä Dock-merkin yhteydessä", + "appearance.sidebar_show_unread_count.label": "Näytä sivupalkissa", + "appearance.sidebar_title": "Ulkoasu", + "appearance.text_size": "Tekstin koko", + "appearance.theme.dark": "Tumma", + "appearance.theme.label": "Teema", + "appearance.theme.light": "Vaalea", + "appearance.theme.system": "Järjestelmä", + "appearance.title": "Ulkoasu", + "appearance.ui_font": "Käyttöliittymän fontti", + "appearance.unread_count": "Lukemattomien määrä", + "general.app": "Sovellus", + "general.data_persist.description": "Säilytä dataa paikallisesti mahdollistamaan offline-käyttö ja paikallinen haku.", + "general.data_persist.label": "Säilytä dataa offline-käyttöä varten", + "general.group_by_date.description": "Ryhmittele merkinnät päivämäärän mukaan.", + "general.group_by_date.label": "Ryhmittele päivämäärän mukaan", + "general.language": "Kieli", + "general.launch_at_login": "Käynnistä kirjautumisen yhteydessä", + "general.mark_as_read.hover.description": "Merkitse merkinnät automaattisesti luetuiksi, kun niiden päällä leijuu.", + "general.mark_as_read.hover.label": "Merkitse luetuksi leijuttaessa", + "general.mark_as_read.render.description": "Merkitse yksitasoiset merkinnät (esim. sosiaalisen median julkaisut, kuvat, videot) automaattisesti luetuiksi, kun ne tulevat näkyviin.", + "general.mark_as_read.render.label": "Merkitse luetuksi, kun näkyvissä", + "general.mark_as_read.scroll.description": "Merkitse merkinnät automaattisesti luetuiksi, kun ne vieritetään pois näkymästä.", + "general.mark_as_read.scroll.label": "Merkitse luetuksi vierittäessä", + "general.privacy_data": "Yksityisyys ja data", + "general.rebuild_database.button": "Rakenna uudelleen", + "general.rebuild_database.description": "Jos kohtaat renderöintiongelmia, tietokannan uudelleenrakentaminen saattaa ratkaista ne.", + "general.rebuild_database.label": "Rakenna tietokanta uudelleen", + "general.rebuild_database.title": "Rakenna tietokanta uudelleen", + "general.rebuild_database.warning.line1": "Tietokannan uudelleenrakentaminen tyhjentää kaikki paikalliset tietosi.", + "general.rebuild_database.warning.line2": "Haluatko varmasti jatkaa?", + "general.send_anonymous_data.description": "Valitsemalla anonyymien telemetriatietojen lähettämisen autat parantamaan Follow'n yleistä käyttäjäkokemusta.", + "general.send_anonymous_data.label": "Lähetä anonyymejä tietoja", + "general.show_unread_on_launch.description": "Näytä lukematon sisältö käynnistyksessä", + "general.show_unread_on_launch.label": "Näytä lukematon sisältö käynnistyksessä", + "general.sidebar_title": "Yleiset", + "general.timeline": "Aikajana", + "general.unread": "Lukematon", + "general.voices": "Äänet", + "integration.eagle.enable.description": "Näytä 'Tallenna media Eagleen' -painike, kun saatavilla.", + "integration.eagle.enable.label": "Ota käyttöön", + "integration.eagle.title": "Eagle", + "integration.instapaper.enable.description": "Näytä 'Tallenna Instapaperiin' -painike, kun saatavilla.", + "integration.instapaper.enable.label": "Ota käyttöön", + "integration.instapaper.password.label": "Instapaper-salasana", + "integration.instapaper.title": "Instapaper", + "integration.instapaper.username.label": "Instapaper-käyttäjänimi", + "integration.readwise.enable.description": "Näytä 'Tallenna Readwiseen' -painike, kun saatavilla.", + "integration.readwise.enable.label": "Ota käyttöön", + "integration.readwise.title": "Readwise", + "integration.readwise.token.description": "Voit saada sen täältä: readwise.io/access_token.", + "integration.readwise.token.label": "Readwise Access Token", + "integration.sidebar_title": "Integraatiot", + "integration.tip": "Vinkki: Arkaluontoiset tietosi tallennetaan paikallisesti eikä niitä lähetetä palvelimelle.", + "integration.title": "Integraatiot", + "invitation.activate": "Aktivoi", + "invitation.codeOptions.betaUser": "1. Etsi beta-käyttäjä, joka kutsuu sinut.", + "invitation.codeOptions.discord": "2. Liity Discord-palvelimellemme satunnaisia lahjoja varten.", + "invitation.codeOptions.xAccount": "3. Seuraa X-tiliämme ja saat ajoittain lahjoja.", + "invitation.confirmModal.cancel": "Peruuta", + "invitation.confirmModal.confirm": "Haluatko jatkaa?", + "invitation.confirmModal.continue": "Jatka", + "invitation.confirmModal.message": "Kutsukoodin luominen maksaa sinulle {{INVITATION_PRICE}} Poweria.", + "invitation.confirmModal.title": "Vahvista", + "invitation.earlyAccess": "Follow on tällä hetkellä varhaisessa käytössä ja vaatii kutsukoodin.", + "invitation.earlyAccessMessage": "😰 Pahoittelut, Follow on tällä hetkellä varhaisessa käytössä ja vaatii kutsukoodin.", + "invitation.generateButton": "Luo uusi koodi", + "invitation.generateCost": "Voit käyttää {{INVITATION_PRICE}} Poweria luodaksesi kutsukoodin ystävillesi.", + "invitation.getCodeMessage": "Voit saada kutsukoodin seuraavilla tavoilla:", + "invitation.newInvitationSuccess": "🎉 Uusi kutsu luotu, kutsukoodi kopioitu", + "invitation.noInvitations": "Ei kutsuja", + "invitation.notUsed": "Ei käytetty", + "invitation.sidebar_title": "Kutsut", + "invitation.tableHeaders.code": "Koodi", + "invitation.tableHeaders.creationTime": "Luomisaika", + "invitation.tableHeaders.usedBy": "Käyttänyt", + "invitation.title": "Kutsukoodi", + "profile.avatar.label": "Avatar", + "profile.handle.description": "Yksilöllinen tunnisteesi.", + "profile.handle.label": "Käyttäjänimi", + "profile.name.description": "Julkinen näyttönimesi.", + "profile.name.label": "Näyttönimi", + "profile.sidebar_title": "Profiili", + "profile.submit": "Lähetä", + "profile.title": "Profiiliasetukset", + "profile.updateSuccess": "Profiili päivitetty.", + "titles.about": "Tietoa", + "titles.actions": "Toiminnot", + "titles.appearance": "Ulkoasu", + "titles.general": "Yleiset", + "titles.integration": "Integraatiot", + "titles.invitations": "Kutsut", + "titles.power": "Power", + "titles.profile": "Profiili", + "titles.shortcuts": "Pikanäppäimet", + "wallet.address.title": "Osoitteesi", + "wallet.balance.title": "Saldosi", + "wallet.balance.withdrawable": "Nostettavissa", + "wallet.balance.withdrawableTooltip": "Nostettavissa oleva Power sisältää sekä saamasi tipit että lataamasi Powerin.", + "wallet.claim.button.claim": "Vahvista päivittäinen Power", + "wallet.claim.button.claimed": "Vahvistettu tänään", + "wallet.claim.tooltip.alreadyClaimed": "Olet jo vahvistanut tänään.", + "wallet.claim.tooltip.canClaim": "Vahvista {{amount}} päivittäinen Powerisi nyt!", + "wallet.create.button": "Luo lompakko", + "wallet.create.description": "Luo ilmainen lompakko vastaanottaaksesi Poweria, jota voit käyttää palkitaksesi tekijöitä ja saadaksesi palkintoja sisällön tuottamisesta.", + "wallet.power.dailyClaim": "Voit vahvistaa {{amount}} ilmaista Poweria päivittäin, jota voit käyttää tipataksesi RSS-merkintöjä Follow'ssa.", + "wallet.power.description": "Power on ERC-20-token {{blockchainName}}-lohkoketjussa.", + "wallet.sidebar_title": "Power", + "wallet.transactions.amount": "Määrä", + "wallet.transactions.date": "Päivämäärä", + "wallet.transactions.from": "Lähettäjä", + "wallet.transactions.noTransactions": "Ei tapahtumia", + "wallet.transactions.title": "Tapahtumat", + "wallet.transactions.to": "Vastaanottaja", + "wallet.transactions.tx": "Tx", + "wallet.transactions.type": "Tyyppi", + "wallet.transactions.types.burn": "poltto", + "wallet.transactions.types.mint": "lyönti", + "wallet.transactions.types.purchase": "osto", + "wallet.transactions.types.tip": "tippi", + "wallet.transactions.types.withdraw": "nosto", + "wallet.transactions.you": "Sinä", + "wallet.withdraw.addressLabel": "Ethereum-osoitteesi", + "wallet.withdraw.amountLabel": "Määrä", + "wallet.withdraw.availableBalance": "Sinulla on nostettavissa olevaa Poweria lompakossasi.", + "wallet.withdraw.button": "Nosta", + "wallet.withdraw.error": "Nosto epäonnistui: {{error}}", + "wallet.withdraw.modalTitle": "Nosta Poweria", + "wallet.withdraw.submitButton": "Lähetä", + "wallet.withdraw.success": "Nosto onnistui!" +} diff --git a/locales/settings/it.json b/locales/settings/it.json new file mode 100644 index 000000000..e91f5018b --- /dev/null +++ b/locales/settings/it.json @@ -0,0 +1,195 @@ +{ + "about.changelog": "Registro modifiche", + "about.feedbackInfo": "{{appName}} ({{commitSha}}) è nelle prime fasi di sviluppo. Se hai feedback o suggerimenti, sentiti libero di aprire un problema sul nostro GitHub.", + "about.iconLibrary": "La libreria di icone utilizzata è protetta da copyright da e non può essere ridistribuita.", + "about.licenseInfo": "{{appName}} è e sarà sempre un progetto gratuito e open-source. È rilasciato sotto licenza {{license}}.", + "about.sidebar_title": "Informazioni", + "about.socialMedia": "Social Media", + "actions.actionName": "Azione {{number}}", + "actions.action_card.add": "Aggiungi", + "actions.action_card.all": "Tutti", + "actions.action_card.block_rules": "Regole di blocco", + "actions.action_card.custom_filters": "Filtri personalizzati", + "actions.action_card.enable_readability": "Abilita leggibilità", + "actions.action_card.entry_options.all": "Tutti", + "actions.action_card.entry_options.author": "Autore", + "actions.action_card.entry_options.content": "Contenuto", + "actions.action_card.entry_options.order": "Ordine", + "actions.action_card.entry_options.title": "Titolo", + "actions.action_card.entry_options.url": "Url", + "actions.action_card.feed_options.category": "Categoria", + "actions.action_card.feed_options.feed_url": "URL del Feed", + "actions.action_card.feed_options.site_url": "URL del Sito", + "actions.action_card.feed_options.title": "Titolo", + "actions.action_card.feed_options.view": "Visualizza", + "actions.action_card.field": "Campo", + "actions.action_card.from": "Da", + "actions.action_card.generate_summary": "Genera riassunto con l'AI", + "actions.action_card.name": "Nome", + "actions.action_card.operation_options.contains": "contiene", + "actions.action_card.operation_options.does_not_contain": "non contiene", + "actions.action_card.operation_options.is_equal_to": "è uguale a", + "actions.action_card.operation_options.is_greater_than": "è maggiore di", + "actions.action_card.operation_options.is_less_than": "è minore di", + "actions.action_card.operation_options.is_not_equal_to": "non è uguale a", + "actions.action_card.operation_options.matches_regex": "corrisponde a regex", + "actions.action_card.operator": "Operatore", + "actions.action_card.rewrite_rules": "Riscrivi regole", + "actions.action_card.then_do": "Allora fai…", + "actions.action_card.to": "A", + "actions.action_card.translate_into": "Traduci in", + "actions.action_card.value": "Valore", + "actions.action_card.when_feeds_match": "Quando i feed corrispondono…", + "actions.newRule": "Nuova Regola", + "actions.save": "Salva", + "actions.saveSuccess": "🎉 Azioni salvate.", + "actions.sidebar_title": "Azioni", + "actions.title": "Azioni", + "appearance.code_highlight_theme": "Tema evidenziazione codice", + "appearance.content": "Contenuto", + "appearance.content_font": "Font del Contenuto", + "appearance.custom_font": "Font Personalizzato", + "appearance.fonts": "Font", + "appearance.general": "Generale", + "appearance.guess_code_language.description": "Principali linguaggi di programmazione che utilizzano modelli per dedurre blocchi di codice non etichettati", + "appearance.guess_code_language.label": "Indovina il linguaggio del codice", + "appearance.misc": "Varie", + "appearance.modal_overlay.description": "Mostra sovrapposizione modale", + "appearance.modal_overlay.label": "Mostra sovrapposizione modale", + "appearance.opaque_sidebars.label": "Sidebar opache", + "appearance.reader_render_inline_style.description": "Consente la visualizzazione dello stile inline dell'HTML originale.", + "appearance.reader_render_inline_style.label": "Visualizza stile inline", + "appearance.reduce_motion.description": "Riduzione del movimento degli elementi per migliorare le prestazioni e ridurre il consumo energetico", + "appearance.reduce_motion.label": "Riduci movimento", + "appearance.save": "Salva", + "appearance.show_dock_badge.label": "Mostra come badge Dock", + "appearance.sidebar_show_unread_count.label": "Mostra nella sidebar", + "appearance.sidebar_title": "Aspetto", + "appearance.text_size": "Dimensione del testo", + "appearance.theme.dark": "Scuro", + "appearance.theme.label": "Tema", + "appearance.theme.light": "Chiaro", + "appearance.theme.system": "Sistema", + "appearance.title": "Aspetto", + "appearance.ui_font": "Font dell'interfaccia", + "appearance.unread_count": "Conteggio non letti", + "general.app": "App", + "general.data_persist.description": "Mantieni i dati localmente per abilitare l'accesso offline e la ricerca locale.", + "general.data_persist.label": "Mantieni i dati per l'uso offline", + "general.group_by_date.description": "Raggruppa le voci per data.", + "general.group_by_date.label": "Raggruppa per data", + "general.language": "Lingua", + "general.launch_at_login": "Avvia all'accesso", + "general.mark_as_read.hover.description": "Segna automaticamente le voci come lette quando ci si passa sopra.", + "general.mark_as_read.hover.label": "Segna come letto al passaggio del mouse", + "general.mark_as_read.render.description": "Segna automaticamente come lette le voci a livello singolo (es. post sui social media, immagini, video) quando entrano nella visualizzazione.", + "general.mark_as_read.render.label": "Segna come letto quando è in visualizzazione", + "general.mark_as_read.scroll.description": "Segna automaticamente le voci come lette quando scorri fuori dalla visualizzazione.", + "general.mark_as_read.scroll.label": "Segna come letto durante lo scorrimento", + "general.privacy_data": "Privacy e Dati", + "general.rebuild_database.button": "Ricostruisci", + "general.rebuild_database.description": "Se riscontri problemi di visualizzazione, la ricostruzione del database potrebbe risolverli.", + "general.rebuild_database.label": "Ricostruisci Database", + "general.rebuild_database.title": "Ricostruisci Database", + "general.rebuild_database.warning.line1": "La ricostruzione del database cancellerà tutti i tuoi dati locali.", + "general.rebuild_database.warning.line2": "Sei sicuro di voler continuare?", + "general.send_anonymous_data.description": "Optando per inviare dati di telemetria anonimi, contribuisci a migliorare l'esperienza utente generale di Follow.", + "general.send_anonymous_data.label": "Invia dati anonimi", + "general.show_unread_on_launch.description": "Mostra contenuti non letti all'avvio", + "general.show_unread_on_launch.label": "Mostra contenuti non letti all'avvio", + "general.sidebar_title": "Generale", + "general.timeline": "Cronologia", + "general.unread": "Non letti", + "general.voices": "Voci", + "integration.eagle.enable.description": "Mostra il pulsante 'Salva media su Eagle' quando disponibile.", + "integration.eagle.enable.label": "Abilita", + "integration.eagle.title": "Eagle", + "integration.instapaper.enable.description": "Mostra il pulsante 'Salva su Instapaper' quando disponibile.", + "integration.instapaper.enable.label": "Abilita", + "integration.instapaper.password.label": "Password Instapaper", + "integration.instapaper.title": "Instapaper", + "integration.instapaper.username.label": "Nome utente Instapaper", + "integration.readwise.enable.description": "Mostra il pulsante 'Salva su Readwise' quando disponibile.", + "integration.readwise.enable.label": "Abilita", + "integration.readwise.title": "Readwise", + "integration.readwise.token.description": "Puoi ottenerlo qui: readwise.io/access_token.", + "integration.readwise.token.label": "Token di accesso Readwise", + "integration.sidebar_title": "Integrazione", + "integration.tip": "Suggerimento: I tuoi dati sensibili sono memorizzati localmente e non vengono caricati sul server.", + "integration.title": "Integrazione", + "invitation.activate": "Attiva", + "invitation.codeOptions.betaUser": "1. Trova un utente beta che ti inviti.", + "invitation.codeOptions.discord": "2. Unisciti al nostro server Discord e partecipa a regali occasionali.", + "invitation.codeOptions.xAccount": "3. Segui il nostro account X e partecipa a regali occasionali.", + "invitation.confirmModal.cancel": "Annulla", + "invitation.confirmModal.confirm": "Vuoi continuare?", + "invitation.confirmModal.continue": "Continua", + "invitation.confirmModal.message": "Generare un codice di invito ti costerà {{INVITATION_PRICE}} Power.", + "invitation.confirmModal.title": "Conferma", + "invitation.earlyAccess": "Follow è attualmente in accesso anticipato e richiede un codice di invito per essere utilizzato.", + "invitation.earlyAccessMessage": "😰 Ci dispiace, Follow è attualmente in accesso anticipato e richiede un codice di invito per essere utilizzato.", + "invitation.generateButton": "Genera nuovo codice", + "invitation.generateCost": "Puoi spendere {{INVITATION_PRICE}} Power per generare un codice di invito per i tuoi amici.", + "invitation.getCodeMessage": "Puoi ottenere un codice di invito nei seguenti modi:", + "invitation.newInvitationSuccess": "🎉 Nuovo codice di invito generato, il codice è stato copiato", + "invitation.noInvitations": "Nessun invito", + "invitation.notUsed": "Non utilizzato", + "invitation.sidebar_title": "Inviti", + "invitation.tableHeaders.code": "Codice", + "invitation.tableHeaders.creationTime": "Data di creazione", + "invitation.tableHeaders.usedBy": "Utilizzato da", + "invitation.title": "Codice di Invito", + "profile.avatar.label": "Avatar", + "profile.handle.description": "Il tuo identificativo univoco.", + "profile.handle.label": "Handle", + "profile.name.description": "Il tuo nome pubblico.", + "profile.name.label": "Nome visualizzato", + "profile.sidebar_title": "Profilo", + "profile.submit": "Invia", + "profile.title": "Impostazioni Profilo", + "profile.updateSuccess": "Profilo aggiornato.", + "titles.about": "Informazioni", + "titles.actions": "Azioni", + "titles.appearance": "Aspetto", + "titles.general": "Generale", + "titles.integration": "Integrazione", + "titles.invitations": "Inviti", + "titles.power": "Power", + "titles.profile": "Profilo", + "titles.shortcuts": "Scorciatoie", + "wallet.address.title": "Il tuo Indirizzo", + "wallet.balance.title": "Il tuo Saldo", + "wallet.balance.withdrawable": "Prelevabile", + "wallet.balance.withdrawableTooltip": "Il Power prelevabile include sia le mance che hai ricevuto sia il Power che hai ricaricato.", + "wallet.claim.button.claim": "Richiedi Power Giornaliero", + "wallet.claim.button.claimed": "Richiesto oggi", + "wallet.claim.tooltip.alreadyClaimed": "Hai già richiesto il Power oggi.", + "wallet.claim.tooltip.canClaim": "Richiedi ora i tuoi {{amount}} Power giornalieri!", + "wallet.create.button": "Crea Wallet", + "wallet.create.description": "Crea un wallet gratuito per ricevere Power, che può essere utilizzato per ricompensare i creatori e ottenere ricompense per i tuoi contributi di contenuti.", + "wallet.power.dailyClaim": "Puoi richiedere {{amount}} Power gratuiti ogni giorno, che possono essere usati per dare mance agli RSS su Follow.", + "wallet.power.description": "Power è un token ERC-20 sulla blockchain {{blockchainName}}.", + "wallet.sidebar_title": "Power", + "wallet.transactions.amount": "Importo", + "wallet.transactions.date": "Data", + "wallet.transactions.from": "Da", + "wallet.transactions.noTransactions": "Nessuna transazione", + "wallet.transactions.title": "Transazioni", + "wallet.transactions.to": "A", + "wallet.transactions.tx": "Tx", + "wallet.transactions.type": "Tipo", + "wallet.transactions.types.burn": "brucia", + "wallet.transactions.types.mint": "conia", + "wallet.transactions.types.purchase": "acquisto", + "wallet.transactions.types.tip": "mancia", + "wallet.transactions.types.withdraw": "prelievo", + "wallet.transactions.you": "Tu", + "wallet.withdraw.addressLabel": "Il tuo Indirizzo Ethereum", + "wallet.withdraw.amountLabel": "Importo", + "wallet.withdraw.availableBalance": "Hai Power prelevabile nel tuo wallet.", + "wallet.withdraw.button": "Preleva", + "wallet.withdraw.error": "Prelievo fallito: {{error}}", + "wallet.withdraw.modalTitle": "Preleva Power", + "wallet.withdraw.submitButton": "Invia", + "wallet.withdraw.success": "Prelievo riuscito!" +} diff --git a/locales/settings/ru.json b/locales/settings/ru.json new file mode 100644 index 000000000..2f6c66cfb --- /dev/null +++ b/locales/settings/ru.json @@ -0,0 +1,195 @@ +{ + "about.changelog": "Журнал изменений", + "about.feedbackInfo": "{{appName}} ({{commitSha}}) находится на ранних этапах разработки. Если у вас есть отзывы или предложения, пожалуйста, откройте задачу на нашем GitHub.", + "about.iconLibrary": "Библиотека иконок защищена авторскими правами и не может быть перераспределена.", + "about.licenseInfo": "{{appName}} всегда будет бесплатным и проектом с открытым исходным кодом. Лицензировано под {{license}}.", + "about.sidebar_title": "О проекте", + "about.socialMedia": "Социальные сети", + "actions.actionName": "Действие {{number}}", + "actions.action_card.add": "Добавить", + "actions.action_card.all": "Все", + "actions.action_card.block_rules": "Правила блокировки", + "actions.action_card.custom_filters": "Пользовательские фильтры", + "actions.action_card.enable_readability": "Включить читаемость", + "actions.action_card.entry_options.all": "Все", + "actions.action_card.entry_options.author": "Автор", + "actions.action_card.entry_options.content": "Контент", + "actions.action_card.entry_options.order": "Порядок", + "actions.action_card.entry_options.title": "Заголовок", + "actions.action_card.entry_options.url": "URL", + "actions.action_card.feed_options.category": "Категория", + "actions.action_card.feed_options.feed_url": "URL канала", + "actions.action_card.feed_options.site_url": "URL сайта", + "actions.action_card.feed_options.title": "Заголовок", + "actions.action_card.feed_options.view": "Просмотр", + "actions.action_card.field": "Поле", + "actions.action_card.from": "От", + "actions.action_card.generate_summary": "Создать сводку с помощью ИИ", + "actions.action_card.name": "Имя", + "actions.action_card.operation_options.contains": "содержит", + "actions.action_card.operation_options.does_not_contain": "не содержит", + "actions.action_card.operation_options.is_equal_to": "равно", + "actions.action_card.operation_options.is_greater_than": "больше чем", + "actions.action_card.operation_options.is_less_than": "меньше чем", + "actions.action_card.operation_options.is_not_equal_to": "не равно", + "actions.action_card.operation_options.matches_regex": "соответствует regex", + "actions.action_card.operator": "Оператор", + "actions.action_card.rewrite_rules": "Правила переписывания", + "actions.action_card.then_do": "Затем сделать…", + "actions.action_card.to": "К", + "actions.action_card.translate_into": "Перевести на", + "actions.action_card.value": "Значение", + "actions.action_card.when_feeds_match": "Когда каналы совпадают…", + "actions.newRule": "Новое правило", + "actions.save": "Сохранить", + "actions.saveSuccess": "🎉 Действия сохранены.", + "actions.sidebar_title": "Действия", + "actions.title": "Действия", + "appearance.code_highlight_theme": "Тема подсветки кода", + "appearance.content": "Контент", + "appearance.content_font": "Шрифт контента", + "appearance.custom_font": "Пользовательский шрифт", + "appearance.fonts": "Шрифты", + "appearance.general": "Общие", + "appearance.guess_code_language.description": "Основные языки программирования, которые используют модели для распознавания неотмеченных блоков кода", + "appearance.guess_code_language.label": "Распознать язык кода", + "appearance.misc": "Разное", + "appearance.modal_overlay.description": "Показать наложение модального окна", + "appearance.modal_overlay.label": "Показать наложение", + "appearance.opaque_sidebars.label": "Непрозрачные боковые панели", + "appearance.reader_render_inline_style.description": "Позволяет рендерить встроенный стиль оригинального HTML.", + "appearance.reader_render_inline_style.label": "Рендерить встроенный стиль", + "appearance.reduce_motion.description": "Уменьшение движения элементов для улучшения производительности и снижения энергопотребления", + "appearance.reduce_motion.label": "Уменьшить движение", + "appearance.save": "Сохранить", + "appearance.show_dock_badge.label": "Показывать как значок в Dock", + "appearance.sidebar_show_unread_count.label": "Показать в боковой панели", + "appearance.sidebar_title": "Внешний вид", + "appearance.text_size": "Размер текста", + "appearance.theme.dark": "Тёмная", + "appearance.theme.label": "Тема", + "appearance.theme.light": "Светлая", + "appearance.theme.system": "Системная", + "appearance.title": "Внешний вид", + "appearance.ui_font": "Шрифт интерфейса", + "appearance.unread_count": "Количество непрочитанного", + "general.app": "Приложение", + "general.data_persist.description": "Сохранение данных локально для доступа офлайн и локального поиска.", + "general.data_persist.label": "Сохранять данные для офлайн использования", + "general.group_by_date.description": "Группировать записи по дате.", + "general.group_by_date.label": "Группировать по дате", + "general.language": "Язык", + "general.launch_at_login": "Запускать при входе", + "general.mark_as_read.hover.description": "Автоматически отмечать записи как прочитанные при наведении.", + "general.mark_as_read.hover.label": "Отметить как прочитанное при наведении", + "general.mark_as_read.render.description": "Автоматически отмечать записи одноуровневого контента (например, посты в соцсетях, изображения, видеопросмотры) как прочитанные, когда они отображаются.", + "general.mark_as_read.render.label": "Отметить как прочитанное при отображении", + "general.mark_as_read.scroll.description": "Автоматически отмечать записи как прочитанные при прокрутке.", + "general.mark_as_read.scroll.label": "Отметить как прочитанное при прокрутке", + "general.privacy_data": "Конфиденциальность и данные", + "general.rebuild_database.button": "Перестроить", + "general.rebuild_database.description": "Если у вас возникают проблемы с отображением, перестроение базы данных может их решить.", + "general.rebuild_database.label": "Перестроить базу данных", + "general.rebuild_database.title": "Перестроить базу данных", + "general.rebuild_database.warning.line1": "Перестроение базы данных удалит все ваши локальные данные.", + "general.rebuild_database.warning.line2": "Вы уверены, что хотите продолжить?", + "general.send_anonymous_data.description": "При выборе отправки анонимных данных телеметрии вы помогаете улучшить общий пользовательский опыт Follow.", + "general.send_anonymous_data.label": "Отправлять анонимные данные", + "general.show_unread_on_launch.description": "Показывать непрочитанный контент при запуске", + "general.show_unread_on_launch.label": "Показывать непрочитанное при запуске", + "general.sidebar_title": "Общие", + "general.timeline": "Лента", + "general.unread": "Непрочитанное", + "general.voices": "Голоса", + "integration.eagle.enable.description": "Отображать кнопку 'Сохранить медиа в Eagle', когда доступно.", + "integration.eagle.enable.label": "Включить", + "integration.eagle.title": "Eagle", + "integration.instapaper.enable.description": "Отображать кнопку 'Сохранить в Instapaper', когда доступно.", + "integration.instapaper.enable.label": "Включить", + "integration.instapaper.password.label": "Пароль Instapaper", + "integration.instapaper.title": "Instapaper", + "integration.instapaper.username.label": "Имя пользователя Instapaper", + "integration.readwise.enable.description": "Отображать кнопку 'Сохранить в Readwise', когда доступно.", + "integration.readwise.enable.label": "Включить", + "integration.readwise.title": "Readwise", + "integration.readwise.token.description": "Вы можете получить его здесь: readwise.io/access_token.", + "integration.readwise.token.label": "Токен доступа Readwise", + "integration.sidebar_title": "Интеграции", + "integration.tip": "Подсказка: Ваши конфиденциальные данные хранятся локально и не загружаются на сервер.", + "integration.title": "Интеграции", + "invitation.activate": "Активировать", + "invitation.codeOptions.betaUser": "1. Найдите бета-пользователя, который пригласит вас.", + "invitation.codeOptions.discord": "2. Присоединяйтесь к нашему серверу Discord и иногда участвуйте в розыгрышах.", + "invitation.codeOptions.xAccount": "3. Подпишитесь на наш аккаунт X, чтобы время от времени получать подарки.", + "invitation.confirmModal.cancel": "Отменить", + "invitation.confirmModal.confirm": "Вы хотите продолжить?", + "invitation.confirmModal.continue": "Продолжить", + "invitation.confirmModal.message": "Создание пригласительного кода обойдется вам в {{INVITATION_PRICE}} Power.", + "invitation.confirmModal.title": "Подтвердить", + "invitation.earlyAccess": "Follow находится в раннем доступе и требует пригласительного кода для использования.", + "invitation.earlyAccessMessage": "😰 Извините, Follow находится в раннем доступе и требует пригласительного кода для использования.", + "invitation.generateButton": "Создать новый код", + "invitation.generateCost": "Вы можете потратить {{INVITATION_PRICE}} Power, чтобы сгенерировать пригласительный код для своих друзей.", + "invitation.getCodeMessage": "Вы можете получить пригласительный код следующими способами:", + "invitation.newInvitationSuccess": "🎉 Новый пригласительный код создан, код скопирован", + "invitation.noInvitations": "Нет приглашений", + "invitation.notUsed": "Не использован", + "invitation.sidebar_title": "Приглашения", + "invitation.tableHeaders.code": "Код", + "invitation.tableHeaders.creationTime": "Время создания", + "invitation.tableHeaders.usedBy": "Использовано", + "invitation.title": "Пригласительный код", + "profile.avatar.label": "Аватар", + "profile.handle.description": "Ваш уникальный идентификатор.", + "profile.handle.label": "Идентификатор", + "profile.name.description": "Ваше публичное отображаемое имя.", + "profile.name.label": "Отображаемое имя", + "profile.sidebar_title": "Профиль", + "profile.submit": "Отправить", + "profile.title": "Настройки профиля", + "profile.updateSuccess": "Профиль обновлен.", + "titles.about": "О проекте", + "titles.actions": "Действия", + "titles.appearance": "Внешний вид", + "titles.general": "Общие", + "titles.integration": "Интеграции", + "titles.invitations": "Приглашения", + "titles.power": "Power", + "titles.profile": "Профиль", + "titles.shortcuts": "Горячие клавиши", + "wallet.address.title": "Ваш адрес", + "wallet.balance.title": "Ваш баланс", + "wallet.balance.withdrawable": "Доступно для вывода", + "wallet.balance.withdrawableTooltip": "Доступный для вывода Power включает как чаевые, которые вы получили, так и Power, который вы пополнили.", + "wallet.claim.button.claim": "Забрать ежедневный Power", + "wallet.claim.button.claimed": "Сегодня забрано", + "wallet.claim.tooltip.alreadyClaimed": "Вы уже забрали Power сегодня.", + "wallet.claim.tooltip.canClaim": "Заберите свои {{amount}} Power прямо сейчас!", + "wallet.create.button": "Создать кошелек", + "wallet.create.description": "Создайте бесплатный кошелек для получения Power, который можно использовать для вознаграждения создателей контента и получения наград за ваши собственные публикации.", + "wallet.power.dailyClaim": "Вы можете ежедневно получать {{amount}} бесплатного Power, который можно использовать для вознаграждения записей RSS на Follow.", + "wallet.power.description": "Power — это токен ERC-20 на блокчейне {{blockchainName}}.", + "wallet.sidebar_title": "Power", + "wallet.transactions.amount": "Сумма", + "wallet.transactions.date": "Дата", + "wallet.transactions.from": "От", + "wallet.transactions.noTransactions": "Нет транзакций", + "wallet.transactions.title": "Транзакции", + "wallet.transactions.to": "Кому", + "wallet.transactions.tx": "Tx", + "wallet.transactions.type": "Тип", + "wallet.transactions.types.burn": "сожжение", + "wallet.transactions.types.mint": "выпуск", + "wallet.transactions.types.purchase": "покупка", + "wallet.transactions.types.tip": "чаевые", + "wallet.transactions.types.withdraw": "вывод", + "wallet.transactions.you": "Вы", + "wallet.withdraw.addressLabel": "Ваш Ethereum-адрес", + "wallet.withdraw.amountLabel": "Сумма", + "wallet.withdraw.availableBalance": "У вас есть Power, доступного для вывода.", + "wallet.withdraw.button": "Вывести", + "wallet.withdraw.error": "Ошибка при выводе: {{error}}", + "wallet.withdraw.modalTitle": "Вывести Power", + "wallet.withdraw.submitButton": "Отправить", + "wallet.withdraw.success": "Вывод успешен!" +} diff --git a/locales/settings/zh-CN.json b/locales/settings/zh-CN.json index be9372bb5..1d83e906f 100644 --- a/locales/settings/zh-CN.json +++ b/locales/settings/zh-CN.json @@ -73,7 +73,10 @@ "appearance.title": "外观", "appearance.ui_font": "界面字体", "appearance.unread_count": "未读数", - "feeds.claimTips": "要认证您的订阅源并接收打赏,请在订阅列表中右键点击订阅源并选择“认证”", + "appearance.use_pointer_cursor.description": "悬停在任何可交互元素上时将光标更改为指针。", + "appearance.use_pointer_cursor.label": "使用指针光标", + "common.give_star": "喜欢我们的产品吗? 在 GitHub 上给我们 star 吧!", + "feeds.claimTips": "要认证你的订阅源并接收打赏,请在订阅列表中右键点击订阅源并选择“认证”。", "feeds.noFeeds": "没有已认证的订阅源", "feeds.tableHeaders.entryCount": "条目数", "feeds.tableHeaders.name": "名称", @@ -92,15 +95,16 @@ "general.mark_as_read.render.label": "在窗口中时标记为已读", "general.mark_as_read.scroll.description": "当条目滚动出窗口时自动标记为已读", "general.mark_as_read.scroll.label": "滚动时标记为已读", + "general.network": "网络", "general.privacy_data": "隐私与数据", + "general.proxy": "代理", + "general.proxy.description": "代理网络请求,示例:socks://proxy.example.com:1080", "general.rebuild_database.button": "重建", "general.rebuild_database.description": "尝试重建数据库可以解决部分渲染或其他类型问题", "general.rebuild_database.label": "重建数据库", "general.rebuild_database.title": "重建数据库", - "general.rebuild_database.warning.line1": "重建数据库将清除所有本地数据且无法恢复", + "general.rebuild_database.warning.line1": "重建数据库将清除所有本地数据,且无法恢复。", "general.rebuild_database.warning.line2": "确定继续?", - "general.rebuild_database.warning[0]": "重建数据库将清除所有本地数据且无法恢复", - "general.rebuild_database.warning[1]": "确定继续?", "general.send_anonymous_data.description": "发送匿名用户数据,帮助产品改进和功能迭代", "general.send_anonymous_data.label": "发送匿名数据", "general.show_unread_on_launch.description": "启动时显示未读内容", @@ -134,11 +138,12 @@ "invitation.confirmModal.continue": "继续", "invitation.confirmModal.message": "生成邀请码将花费 {{INVITATION_PRICE}} Power", "invitation.confirmModal.title": "确认", - "invitation.earlyAccess": "Follow 目前处于早期开发状态,需要邀请码才能使用", - "invitation.earlyAccessMessage": "😰 抱歉,关注目前处于抢先体验阶段,需要邀请码才能使用", + "invitation.earlyAccess": "Follow 目前处于早期开发状态,需要邀请码才能使用。", + "invitation.earlyAccessMessage": "😰 抱歉,Follow 目前处于抢先体验阶段,需要邀请码才能使用。", "invitation.generateButton": "生成邀请码", "invitation.generateCost": "花费 {{INVITATION_PRICE}} Power 生成邀请码", "invitation.getCodeMessage": "通过以下方式获取邀请码:", + "invitation.limitationMessage": "根据你的使用时间,你可以生成最多 {{limitation}} 个邀请码。", "invitation.newInvitationSuccess": "🎉 邀请码已生成,已复制到剪贴板", "invitation.noInvitations": "没有邀请", "invitation.notUsed": "未使用", @@ -159,6 +164,7 @@ "titles.about": "关于", "titles.actions": "自动化", "titles.appearance": "外观", + "titles.feeds": "订阅源", "titles.general": "通用", "titles.integration": "集成", "titles.invitations": "邀请", @@ -174,9 +180,9 @@ "wallet.claim.tooltip.alreadyClaimed": "已经领取,明日再来", "wallet.claim.tooltip.canClaim": "立即领取你的 {{amount}} 每日 Power!", "wallet.create.button": "创建钱包", - "wallet.create.description": "创建一个免费钱包 Power。除了给其他创作者打赏,也可以通过贡献内容来获得奖励。", - "wallet.power.dailyClaim": "每天领取 {{amount}} 个免费 Power,可以在 Follow 上打赏 RSS 条目", - "wallet.power.description": "Power 是 {{blockchainName}} 区块链上的一种 ERC-20 代币", + "wallet.create.description": "创建一个免费钱包以获得 Power。你可以给其他创作者打赏,也可以通过贡献内容来获得奖励。", + "wallet.power.dailyClaim": "每天可以领取 {{amount}} 个免费 Power。Power 可用于在 Follow 上打赏 RSS 条目。", + "wallet.power.description": "Power 是 {{blockchainName}} 区块链上的一种 ERC-20 代币。", "wallet.sidebar_title": "Power", "wallet.transactions.amount": "数量", "wallet.transactions.date": "日期", diff --git a/locales/settings/zh-HK.json b/locales/settings/zh-HK.json new file mode 100644 index 000000000..4fa51af40 --- /dev/null +++ b/locales/settings/zh-HK.json @@ -0,0 +1,204 @@ +{ + "about.changelog": "更新日誌", + "about.feedbackInfo": "{{appName}}({{commitSha}})仍處於開發初期階段。如果你有任何意見或建議,歡迎到我們的 GitHub 提交問題 。", + "about.iconLibrary": "所使用的圖示庫受 版權保護,不能轉發。", + "about.licenseInfo": "{{appName}} 永遠會是一個免費和開源的項目,並根據 {{license}} 授權使用。", + "about.sidebar_title": "關於", + "about.socialMedia": "社交媒體", + "actions.actionName": "動作 {{number}}", + "actions.action_card.add": "新增", + "actions.action_card.all": "全部", + "actions.action_card.block_rules": "阻擋規則", + "actions.action_card.custom_filters": "自訂過濾器", + "actions.action_card.enable_readability": "啟用 Readability", + "actions.action_card.entry_options.all": "全部", + "actions.action_card.entry_options.author": "作者", + "actions.action_card.entry_options.content": "內容", + "actions.action_card.entry_options.order": "順序", + "actions.action_card.entry_options.title": "標題", + "actions.action_card.entry_options.url": "網址", + "actions.action_card.feed_options.category": "分類", + "actions.action_card.feed_options.feed_url": "RSS 連結", + "actions.action_card.feed_options.site_url": "網站連結", + "actions.action_card.feed_options.title": "標題", + "actions.action_card.feed_options.view": "檢視", + "actions.action_card.field": "欄位", + "actions.action_card.from": "從", + "actions.action_card.generate_summary": "使用 AI 生成摘要", + "actions.action_card.name": "名稱", + "actions.action_card.operation_options.contains": "包含", + "actions.action_card.operation_options.does_not_contain": "不包含", + "actions.action_card.operation_options.is_equal_to": "等於", + "actions.action_card.operation_options.is_greater_than": "大於", + "actions.action_card.operation_options.is_less_than": "小於", + "actions.action_card.operation_options.is_not_equal_to": "不等於", + "actions.action_card.operation_options.matches_regex": "符合正則表達式", + "actions.action_card.operator": "運算子", + "actions.action_card.rewrite_rules": "改寫規則", + "actions.action_card.then_do": "然後執行…", + "actions.action_card.to": "到", + "actions.action_card.translate_into": "翻譯成", + "actions.action_card.value": "數值", + "actions.action_card.when_feeds_match": "當 RSS 匹配時…", + "actions.newRule": "新增規則", + "actions.save": "儲存", + "actions.saveSuccess": "🎉 動作已儲存。", + "actions.sidebar_title": "動作", + "actions.title": "動作", + "appearance.code_highlight_theme": "程式碼高亮主題", + "appearance.content": "內容", + "appearance.content_font": "內容字體", + "appearance.custom_font": "自訂字體", + "appearance.fonts": "字體", + "appearance.general": "一般", + "appearance.guess_code_language.description": "使用模型來推斷未標註程式碼區塊的主要程式語言", + "appearance.guess_code_language.label": "推測程式語言", + "appearance.misc": "其他", + "appearance.modal_overlay.description": "顯示模態覆蓋", + "appearance.modal_overlay.label": "顯示模態覆蓋", + "appearance.opaque_sidebars.label": "不透明側邊欄", + "appearance.reader_render_inline_style.description": "允許渲染原始 HTML 的行內樣式。", + "appearance.reader_render_inline_style.label": "渲染行內樣式", + "appearance.reduce_motion.description": "減少元素的動態以提升效能及減少耗電", + "appearance.reduce_motion.label": "減少動態效果", + "appearance.save": "儲存", + "appearance.show_dock_badge.label": "顯示 Dock 標籤", + "appearance.sidebar_show_unread_count.label": "側邊欄顯示未讀數量", + "appearance.sidebar_title": "外觀", + "appearance.text_size": "文字大小", + "appearance.theme.dark": "深色", + "appearance.theme.label": "主題", + "appearance.theme.light": "淺色", + "appearance.theme.system": "系統", + "appearance.title": "外觀", + "appearance.ui_font": "介面字體", + "appearance.unread_count": "未讀數量", + "common.give_star": "喜歡我們的產品嗎? 在 GitHub 上給我們 star 吧!", + "feeds.claimTips": "要認領你的 feed 並接收贊助,請右鍵點擊訂閱列表中的 feed,然後選擇「認領」。", + "feeds.noFeeds": "沒有已認領的 feed", + "feeds.tableHeaders.entryCount": "條目數", + "feeds.tableHeaders.name": "名稱", + "feeds.tableHeaders.subscriptionCount": "訂閱數", + "feeds.tableHeaders.tipAmount": "收到的贊助", + "general.app": "應用程式", + "general.data_persist.description": "本地保存數據以啟用離線存取和本地搜尋。", + "general.data_persist.label": "離線使用時保留數據", + "general.group_by_date.description": "按日期分組條目。", + "general.group_by_date.label": "按日期分組", + "general.language": "語言", + "general.launch_at_login": "登入時啟動", + "general.mark_as_read.hover.description": "游標懸停時自動將條目標記為已讀。", + "general.mark_as_read.hover.label": "懸停時標記為已讀", + "general.mark_as_read.render.description": "當條目進入視圖時,會自動標記單層條目(例如社交媒體貼文、圖片、視頻觀看)為已讀。", + "general.mark_as_read.render.label": "在視圖中時標記為已讀", + "general.mark_as_read.scroll.description": "當滾動出視圖時,自動標記條目為已讀。", + "general.mark_as_read.scroll.label": "滾動時標記為已讀", + "general.privacy_data": "隱私與數據", + "general.rebuild_database.button": "重建", + "general.rebuild_database.description": "如果你遇到渲染問題,重建數據庫可能會解決問題。", + "general.rebuild_database.label": "重建數據庫", + "general.rebuild_database.title": "重建數據庫", + "general.rebuild_database.warning.line1": "重建數據庫會清除所有本地數據。", + "general.rebuild_database.warning.line2": "你確定要繼續嗎?", + "general.send_anonymous_data.description": "選擇發送匿名的遙測數據,將有助於提升 Follow 的整體用戶體驗。", + "general.send_anonymous_data.label": "發送匿名數據", + "general.show_unread_on_launch.description": "啟動時顯示未讀內容", + "general.show_unread_on_launch.label": "啟動時顯示未讀內容", + "general.sidebar_title": "一般", + "general.timeline": "時間軸", + "general.unread": "未讀", + "general.voices": "語音", + "integration.eagle.enable.description": "顯示\"將媒體保存到 Eagle\"按鈕(如果可用)。", + "integration.eagle.enable.label": "啟用", + "integration.eagle.title": "Eagle", + "integration.instapaper.enable.description": "顯示\"保存到 Instapaper\"按钮(如果可用)。", + "integration.instapaper.enable.label": "啟用", + "integration.instapaper.password.label": "Instapaper 密碼", + "integration.instapaper.title": "Instapaper", + "integration.instapaper.username.label": "Instapaper 用戶名", + "integration.readwise.enable.description": "顯示\"保存到 Readwise\"按钮(如果可用)。", + "integration.readwise.enable.label": "啟用", + "integration.readwise.title": "Readwise", + "integration.readwise.token.description": "你可以在這裡獲取", + "integration.readwise.token.label": "Readwise 訪問令牌", + "integration.sidebar_title": "集成", + "integration.tip": "提示:你的敏感數據存儲在本地,未上傳到服務器。", + "integration.title": "集成", + "invitation.activate": "啟用", + "invitation.codeOptions.betaUser": "1. 找一個邀請你的測試用戶。", + "invitation.codeOptions.discord": "2. 加入我們的 Discord 伺服器,偶爾獲得贈品。", + "invitation.codeOptions.xAccount": "3. 關注我們的 X 帳號,偶爾獲得贈品。", + "invitation.confirmModal.cancel": "取消", + "invitation.confirmModal.confirm": "你要繼續嗎?", + "invitation.confirmModal.continue": "繼續", + "invitation.confirmModal.message": "生成邀請代碼將消耗 {{INVITATION_PRICE}} Power。", + "invitation.confirmModal.title": "確認", + "invitation.earlyAccess": "Follow 目前處於早期開發階段,需要邀請代碼才能使用。", + "invitation.earlyAccessMessage": "😰 對不起,Follow 目前處於早期開發階段,需要邀請代碼才能使用。", + "invitation.generateButton": "生成新代碼", + "invitation.generateCost": "你可以花費 {{INVITATION_PRICE}} Power 來生成邀請代碼給你的朋友。", + "invitation.getCodeMessage": "你可以通過以下方法獲得邀請代碼:", + "invitation.limitationMessage": "根據你的使用時間,你最多可以生成 {{limitation}} 個邀請代碼。", + "invitation.newInvitationSuccess": "🎉 新邀請代碼已生成,代碼已複製", + "invitation.noInvitations": "沒有邀請", + "invitation.notUsed": "未使用", + "invitation.sidebar_title": "邀請", + "invitation.tableHeaders.code": "代碼", + "invitation.tableHeaders.creationTime": "創建時間", + "invitation.tableHeaders.usedBy": "使用者", + "invitation.title": "邀請代碼", + "profile.avatar.label": "頭像", + "profile.handle.description": "你的唯一識別符。", + "profile.handle.label": "識別符", + "profile.name.description": "你的公開顯示名稱。", + "profile.name.label": "顯示名稱", + "profile.sidebar_title": "個人資料", + "profile.submit": "提交", + "profile.title": "個人資料設置", + "profile.updateSuccess": "個人資料已更新。", + "titles.about": "關於", + "titles.actions": "動作", + "titles.appearance": "外觀", + "titles.feeds": "訂閱源", + "titles.general": "一般", + "titles.integration": "集成", + "titles.invitations": "邀請", + "titles.power": "Power", + "titles.profile": "個人資料", + "titles.shortcuts": "快捷鍵", + "wallet.address.title": "你的地址", + "wallet.balance.title": "餘額", + "wallet.balance.withdrawable": "可提取", + "wallet.balance.withdrawableTooltip": "可提取的 Power 包括你收到的小費和你充值的 Power。", + "wallet.claim.button.claim": "領取每日 Power", + "wallet.claim.button.claimed": "今日已領取", + "wallet.claim.tooltip.alreadyClaimed": "你今天已領取。", + "wallet.claim.tooltip.canClaim": "立即領取你的 {{amount}} 每日 Power!", + "wallet.create.button": "創建錢包", + "wallet.create.description": "創建一個免費的錢包來接收 Power,可以用來贊助創作者,也可以因你的內容貢獻而獲得回報。", + "wallet.power.dailyClaim": "你可以每日領取 {{amount}} 免費的 Power,用於在 Follow 上贊助 RSS 條目。", + "wallet.power.description": "Power 是一個 ERC-20 代幣,基於 {{blockchainName}} 區塊鏈。", + "wallet.sidebar_title": "Power", + "wallet.transactions.amount": "數量", + "wallet.transactions.date": "日期", + "wallet.transactions.from": "來自", + "wallet.transactions.noTransactions": "無交易記錄", + "wallet.transactions.title": "交易", + "wallet.transactions.to": "發送至", + "wallet.transactions.tx": "交易", + "wallet.transactions.type": "類型", + "wallet.transactions.types.burn": "burn", + "wallet.transactions.types.mint": "mint", + "wallet.transactions.types.purchase": "purchase", + "wallet.transactions.types.tip": "tip", + "wallet.transactions.types.withdraw": "withdraw", + "wallet.transactions.you": "你", + "wallet.withdraw.addressLabel": "你的以太坊地址", + "wallet.withdraw.amountLabel": "數量", + "wallet.withdraw.availableBalance": "你有 可提取的 Power 在你的錢包中。", + "wallet.withdraw.button": "提取", + "wallet.withdraw.error": "提取失敗:{{error}}", + "wallet.withdraw.modalTitle": "提取 Power", + "wallet.withdraw.submitButton": "提交", + "wallet.withdraw.success": "提取成功!" +} diff --git a/locales/settings/zh-TW.json b/locales/settings/zh-TW.json index 80b7eda89..ae26fb51c 100644 --- a/locales/settings/zh-TW.json +++ b/locales/settings/zh-TW.json @@ -10,7 +10,7 @@ "actions.action_card.all": "全部", "actions.action_card.block_rules": "封鎖規則", "actions.action_card.custom_filters": "自訂過濾條件", - "actions.action_card.enable_readability": "啟用閱讀模式", + "actions.action_card.enable_readability": "啟用 Readability", "actions.action_card.entry_options.all": "全部", "actions.action_card.entry_options.author": "作者", "actions.action_card.entry_options.content": "內容", @@ -53,7 +53,7 @@ "appearance.general": "一般", "appearance.guess_code_language.description": "使用模型來推斷未標記程式碼區塊的主要程式語言", "appearance.guess_code_language.label": "推測程式碼語言", - "appearance.misc": "Misc", + "appearance.misc": "其他", "appearance.modal_overlay.description": "顯示模態覆蓋層", "appearance.modal_overlay.label": "顯示模態覆蓋層", "appearance.opaque_sidebars.label": "不透明側邊欄", @@ -69,10 +69,17 @@ "appearance.theme.dark": "深色", "appearance.theme.label": "主題", "appearance.theme.light": "淺色", - "appearance.theme.system": "系統", + "appearance.theme.system": "跟隨系統", "appearance.title": "外觀", "appearance.ui_font": "介面字體", "appearance.unread_count": "未讀計數", + "common.give_star": "喜歡我們的產品嗎? 在 GitHub 上給我們 star 吧!", + "feeds.claimTips": "要認領您的 feed 並接收贊助,請在您的訂閱列表中右鍵點擊該 feed,然後選擇「認領」。", + "feeds.noFeeds": "無認領的 feed", + "feeds.tableHeaders.entryCount": "條目數", + "feeds.tableHeaders.name": "名稱", + "feeds.tableHeaders.subscriptionCount": "訂閱數", + "feeds.tableHeaders.tipAmount": "收到的贊助", "general.app": "App", "general.data_persist.description": "本地保存數據以啟用離線訪問和本地搜尋。", "general.data_persist.label": "離線時保持資料", @@ -131,6 +138,7 @@ "invitation.generateButton": "產生邀請碼", "invitation.generateCost": "您可以花費 {{INVITATION_PRICE}} Power 為您的朋友產生邀請碼。", "invitation.getCodeMessage": "您可以通過以下方式獲取邀請碼:", + "invitation.limitationMessage": "基於您的使用時間,您最多可以產生 {{limitation}} 個邀請碼。", "invitation.newInvitationSuccess": "🎉 邀請碼已產生, 邀請碼已複製", "invitation.noInvitations": "沒有邀請", "invitation.notUsed": "為使用", @@ -151,6 +159,7 @@ "titles.about": "關於", "titles.actions": "指令", "titles.appearance": "外觀", + "titles.feeds": "Feeds", "titles.general": "一般", "titles.integration": "整合", "titles.invitations": "邀請", diff --git a/locales/shortcuts/ar-DZ.json b/locales/shortcuts/ar-DZ.json new file mode 100644 index 000000000..71b6113e5 --- /dev/null +++ b/locales/shortcuts/ar-DZ.json @@ -0,0 +1,24 @@ +{ + "keys.audio.playPause": "تشغيل/إيقاف مؤقت (عندما يكون مشغل الصوت مفتوحًا)", + "keys.entries.markAllAsRead": "تمييز الكل كمقروء", + "keys.entries.next": "المدخل التالي", + "keys.entries.previous": "المدخل السابق", + "keys.entries.refetch": "إعادة التحميل", + "keys.entries.toggleUnreadOnly": "تبديل إلى غير المقروء فقط", + "keys.entry.copyLink": "نسخ الرابط", + "keys.entry.openInBrowser": "فتح في المتصفح", + "keys.entry.openInNewTab": "فتح في علامة تبويب جديدة", + "keys.entry.scrollDown": "التمرير لأسفل", + "keys.entry.scrollUp": "التمرير لأعلى", + "keys.entry.share": "مشاركة", + "keys.entry.tip": "إكرامية باور", + "keys.entry.toggleRead": "تبديل الحالة إلى مقروء", + "keys.entry.toggleStarred": "تبديل التفضيل", + "keys.entry.tts": "تشغيل تحويل النص إلى كلام", + "keys.feeds.add": "إضافة اشتراك", + "keys.feeds.switchBetweenViews": "التبديل بين العروض", + "keys.feeds.switchToView": "التبديل إلى العرض", + "keys.layout.showShortcuts": "إظهار/إخفاء الاختصارات", + "keys.layout.toggleSidebar": "إظهار/إخفاء الشريط الجانبي للموجز", + "sidebar_title": "الاختصارات" +} diff --git a/locales/shortcuts/ar-IQ.json b/locales/shortcuts/ar-IQ.json new file mode 100644 index 000000000..8bbc70ee5 --- /dev/null +++ b/locales/shortcuts/ar-IQ.json @@ -0,0 +1,24 @@ +{ + "keys.audio.playPause": "تشغيل/إيقاف مؤقت (عند فتح مشغل الصوت)", + "keys.entries.markAllAsRead": "وضع علامة على الكل كمقروء", + "keys.entries.next": "الإدخال التالي", + "keys.entries.previous": "الإدخال السابق", + "keys.entries.refetch": "إعادة الجلب", + "keys.entries.toggleUnreadOnly": "تبديل إلى غير المقروء فقط", + "keys.entry.copyLink": "نسخ الرابط", + "keys.entry.openInBrowser": "فتح في المتصفح", + "keys.entry.openInNewTab": "فتح في علامة تبويب جديدة", + "keys.entry.scrollDown": "التمرير للأسفل", + "keys.entry.scrollUp": "التمرير للأعلى", + "keys.entry.share": "مشاركة", + "keys.entry.tip": "إكرامية Power", + "keys.entry.toggleRead": "تبديل إلى مقروء", + "keys.entry.toggleStarred": "تبديل إلى مفضلة", + "keys.entry.tts": "تشغيل النص إلى كلام", + "keys.feeds.add": "إضافة اشتراك", + "keys.feeds.switchBetweenViews": "التبديل بين طرق العرض", + "keys.feeds.switchToView": "التبديل إلى العرض", + "keys.layout.showShortcuts": "إظهار/إخفاء الاختصارات", + "keys.layout.toggleSidebar": "إظهار/إخفاء الشريط الجانبي للتغذية", + "sidebar_title": "الاختصارات" +} diff --git a/locales/shortcuts/ar-KW.json b/locales/shortcuts/ar-KW.json new file mode 100644 index 000000000..f239b9ed6 --- /dev/null +++ b/locales/shortcuts/ar-KW.json @@ -0,0 +1,24 @@ +{ + "keys.audio.playPause": "تشغيل/إيقاف مؤقت (عند فتح مشغل الصوت)", + "keys.entries.markAllAsRead": "تحديد الكل كمقروء", + "keys.entries.next": "الإدخال التالي", + "keys.entries.previous": "الإدخال السابق", + "keys.entries.refetch": "إعادة جلب", + "keys.entries.toggleUnreadOnly": "التبديل إلى غير المقروء فقط", + "keys.entry.copyLink": "نسخ الرابط", + "keys.entry.openInBrowser": "فتح في المتصفح", + "keys.entry.openInNewTab": "فتح في تبويب جديد", + "keys.entry.scrollDown": "التمرير لأسفل", + "keys.entry.scrollUp": "التمرير لأعلى", + "keys.entry.share": "مشاركة", + "keys.entry.tip": "إكرامية Power", + "keys.entry.toggleRead": "تبديل المقروء", + "keys.entry.toggleStarred": "تبديل التفضيل", + "keys.entry.tts": "تشغيل النص إلى كلام", + "keys.feeds.add": "إضافة اشتراك", + "keys.feeds.switchBetweenViews": "التبديل بين طرق العرض", + "keys.feeds.switchToView": "التبديل إلى العرض", + "keys.layout.showShortcuts": "إظهار/إخفاء الاختصارات", + "keys.layout.toggleSidebar": "إظهار/إخفاء الشريط الجانبي للتغذية", + "sidebar_title": "الاختصارات" +} diff --git a/locales/shortcuts/ar-MA.json b/locales/shortcuts/ar-MA.json new file mode 100644 index 000000000..fa2d4e803 --- /dev/null +++ b/locales/shortcuts/ar-MA.json @@ -0,0 +1,24 @@ +{ + "keys.audio.playPause": "تشغيل/إيقاف مؤقت (عند فتح مشغل الصوت)", + "keys.entries.markAllAsRead": "تمييز الكل كمقروء", + "keys.entries.next": "الإدخال التالي", + "keys.entries.previous": "الإدخال السابق", + "keys.entries.refetch": "إعادة التحميل", + "keys.entries.toggleUnreadOnly": "تبديل غير المقروء فقط", + "keys.entry.copyLink": "نسخ الرابط", + "keys.entry.openInBrowser": "فتح في المتصفح", + "keys.entry.openInNewTab": "فتح في علامة تبويب جديدة", + "keys.entry.scrollDown": "التمرير لأسفل", + "keys.entry.scrollUp": "التمرير لأعلى", + "keys.entry.share": "مشاركة", + "keys.entry.tip": "إكرامية باور", + "keys.entry.toggleRead": "تبديل الحالة كمقروء", + "keys.entry.toggleStarred": "تبديل الحالة كمفضلة", + "keys.entry.tts": "تشغيل تحويل النص إلى صوت", + "keys.feeds.add": "إضافة اشتراك", + "keys.feeds.switchBetweenViews": "التبديل بين العروض", + "keys.feeds.switchToView": "التبديل إلى العرض", + "keys.layout.showShortcuts": "إظهار/إخفاء الاختصارات", + "keys.layout.toggleSidebar": "إظهار/إخفاء الشريط الجانبي للتغذية", + "sidebar_title": "الاختصارات" +} diff --git a/locales/shortcuts/ar-SA.json b/locales/shortcuts/ar-SA.json new file mode 100644 index 000000000..602f5affa --- /dev/null +++ b/locales/shortcuts/ar-SA.json @@ -0,0 +1,24 @@ +{ + "keys.audio.playPause": "تشغيل/إيقاف مؤقت (عندما يكون مشغل الصوت مفتوحًا)", + "keys.entries.markAllAsRead": "وضع علامة على الكل كمقروء", + "keys.entries.next": "الإدخال التالي", + "keys.entries.previous": "الإدخال السابق", + "keys.entries.refetch": "إعادة التحميل", + "keys.entries.toggleUnreadOnly": "تبديل إلى غير المقروء فقط", + "keys.entry.copyLink": "نسخ الرابط", + "keys.entry.openInBrowser": "فتح في المتصفح", + "keys.entry.openInNewTab": "فتح في علامة تبويب جديدة", + "keys.entry.scrollDown": "التمرير لأسفل", + "keys.entry.scrollUp": "التمرير لأعلى", + "keys.entry.share": "مشاركة", + "keys.entry.tip": "إكرامية الطاقة", + "keys.entry.toggleRead": "تبديل حالة القراءة", + "keys.entry.toggleStarred": "تبديل التفضيل", + "keys.entry.tts": "تشغيل النص إلى كلام", + "keys.feeds.add": "إضافة اشتراك", + "keys.feeds.switchBetweenViews": "التبديل بين طرق العرض", + "keys.feeds.switchToView": "التبديل إلى العرض", + "keys.layout.showShortcuts": "إظهار/إخفاء الاختصارات", + "keys.layout.toggleSidebar": "إظهار/إخفاء الشريط الجانبي للتغذية", + "sidebar_title": "الاختصارات" +} diff --git a/locales/shortcuts/ar-TN.json b/locales/shortcuts/ar-TN.json new file mode 100644 index 000000000..e10cb0115 --- /dev/null +++ b/locales/shortcuts/ar-TN.json @@ -0,0 +1,203 @@ +{ + "about.changelog": "سجل التغييرات", + "about.feedbackInfo": "{{appName}} ({{commitSha}}) لا يزال في المراحل الأولى من التطوير. إذا كان لديك أي ملاحظات أو اقتراحات، لا تتردد في فتح تذكرة على GitHub الخاص بنا.", + "about.iconLibrary": "مكتبة الأيقونات المستخدمة محمية بحقوق الطبع والنشر بواسطة ولا يمكن إعادة توزيعها.", + "about.licenseInfo": "{{appName}} هو وسيظل دائمًا مشروعًا مجانيًا ومفتوح المصدر. تم ترخيصه بموجب {{license}}.", + "about.sidebar_title": "حول", + "about.socialMedia": "وسائل التواصل الاجتماعي", + "actions.actionName": "الإجراء {{number}}", + "actions.action_card.add": "إضافة", + "actions.action_card.all": "الكل", + "actions.action_card.block_rules": "قواعد الحظر", + "actions.action_card.custom_filters": "مرشحات مخصصة", + "actions.action_card.enable_readability": "تمكين إمكانية القراءة", + "actions.action_card.entry_options.all": "الكل", + "actions.action_card.entry_options.author": "المؤلف", + "actions.action_card.entry_options.content": "المحتوى", + "actions.action_card.entry_options.order": "الترتيب", + "actions.action_card.entry_options.title": "العنوان", + "actions.action_card.entry_options.url": "الرابط", + "actions.action_card.feed_options.category": "الفئة", + "actions.action_card.feed_options.feed_url": "رابط التغذية", + "actions.action_card.feed_options.site_url": "رابط الموقع", + "actions.action_card.feed_options.title": "العنوان", + "actions.action_card.feed_options.view": "عرض", + "actions.action_card.field": "الحقل", + "actions.action_card.from": "من", + "actions.action_card.generate_summary": "توليد ملخص باستخدام الذكاء الاصطناعي", + "actions.action_card.name": "الاسم", + "actions.action_card.operation_options.contains": "يحتوي على", + "actions.action_card.operation_options.does_not_contain": "لا يحتوي على", + "actions.action_card.operation_options.is_equal_to": "يساوي", + "actions.action_card.operation_options.is_greater_than": "أكبر من", + "actions.action_card.operation_options.is_less_than": "أقل من", + "actions.action_card.operation_options.is_not_equal_to": "ليس مساويًا لـ", + "actions.action_card.operation_options.matches_regex": "يطابق التعبير النمطي", + "actions.action_card.operator": "المشغل", + "actions.action_card.rewrite_rules": "إعادة كتابة القواعد", + "actions.action_card.then_do": "ثم قم بـ...", + "actions.action_card.to": "إلى", + "actions.action_card.translate_into": "ترجمة إلى", + "actions.action_card.value": "القيمة", + "actions.action_card.when_feeds_match": "عند مطابقة التغذيات...", + "actions.newRule": "قاعدة جديدة", + "actions.save": "حفظ", + "actions.saveSuccess": "🎉 تم حفظ الإجراءات.", + "actions.sidebar_title": "الإجراءات", + "actions.title": "الإجراءات", + "appearance.code_highlight_theme": "سمة تمييز الشيفرة", + "appearance.content": "المحتوى", + "appearance.content_font": "خط المحتوى", + "appearance.custom_font": "خط مخصص", + "appearance.fonts": "الخطوط", + "appearance.general": "عام", + "appearance.guess_code_language.description": "لغات البرمجة الرئيسية التي تستخدم النماذج لاستنتاج كتل الشيفرة غير المسماة", + "appearance.guess_code_language.label": "تخمين لغة الشيفرة", + "appearance.misc": "متنوع", + "appearance.modal_overlay.description": "عرض تراكب النافذة المنبثقة", + "appearance.modal_overlay.label": "عرض تراكب النافذة المنبثقة", + "appearance.opaque_sidebars.label": "أشرطة جانبية معتمة", + "appearance.reader_render_inline_style.description": "يسمح بعرض النمط المضمّن في HTML الأصلي.", + "appearance.reader_render_inline_style.label": "عرض النمط المضمّن", + "appearance.reduce_motion.description": "تقليل حركة العناصر لتحسين الأداء وتقليل استهلاك الطاقة", + "appearance.reduce_motion.label": "تقليل الحركة", + "appearance.save": "حفظ", + "appearance.show_dock_badge.label": "إظهار كشارة في Dock", + "appearance.sidebar_show_unread_count.label": "عرض في الشريط الجانبي", + "appearance.sidebar_title": "المظهر", + "appearance.text_size": "حجم النص", + "appearance.theme.dark": "داكن", + "appearance.theme.label": "السمة", + "appearance.theme.light": "فاتح", + "appearance.theme.system": "النظام", + "appearance.title": "المظهر", + "appearance.ui_font": "خط واجهة المستخدم", + "appearance.unread_count": "عدد العناصر غير المقروءة", + "feeds.claimTips": "للمطالبة بتغذياتك واستلام الإكراميات، انقر بزر الماوس الأيمن على التغذية في قائمة اشتراكاتك واختر المطالبة.", + "feeds.noFeeds": "لا توجد تغذيات مطالبة", + "feeds.tableHeaders.entryCount": "العناصر", + "feeds.tableHeaders.name": "الاسم", + "feeds.tableHeaders.subscriptionCount": "الاشتراكات", + "feeds.tableHeaders.tipAmount": "الإكراميات المستلمة", + "general.app": "التطبيق", + "general.data_persist.description": "الاحتفاظ بالبيانات محليًا لتمكين الوصول دون اتصال والبحث المحلي.", + "general.data_persist.label": "الاحتفاظ بالبيانات للاستخدام دون اتصال", + "general.group_by_date.description": "تجميع العناصر حسب التاريخ.", + "general.group_by_date.label": "تجميع حسب التاريخ", + "general.language": "اللغة", + "general.launch_at_login": "التشغيل عند تسجيل الدخول", + "general.mark_as_read.hover.description": "تحديد العناصر تلقائيًا كمقروءة عند التمرير فوقها.", + "general.mark_as_read.hover.label": "تحديد كمقروء عند التمرير", + "general.mark_as_read.render.description": "تحديد العناصر أحادية المستوى (مثل منشورات الوسائط الاجتماعية، والصور، وعروض الفيديو) تلقائيًا كمقروءة عند دخولها العرض.", + "general.mark_as_read.render.label": "تحديد كمقروء عند العرض", + "general.mark_as_read.scroll.description": "تحديد العناصر تلقائيًا كمقروءة عند التمرير خارج العرض.", + "general.mark_as_read.scroll.label": "تحديد كمقروء عند التمرير", + "general.privacy_data": "الخصوصية والبيانات", + "general.rebuild_database.button": "إعادة بناء", + "general.rebuild_database.description": "إذا كنت تواجه مشكلات في العرض، فقد يحل إعادة بناء قاعدة البيانات هذه المشكلات.", + "general.rebuild_database.label": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.title": "إعادة بناء قاعدة البيانات", + "general.rebuild_database.warning.line1": "ستؤدي إعادة بناء قاعدة البيانات إلى مسح جميع بياناتك المحلية.", + "general.rebuild_database.warning.line2": "هل أنت متأكد أنك تريد المتابعة؟", + "general.send_anonymous_data.description": "من خلال اختيار إرسال بيانات عن بعد مجهولة، فإنك تساهم في تحسين تجربة المستخدم العامة لـ Follow.", + "general.send_anonymous_data.label": "إرسال بيانات مجهولة", + "general.show_unread_on_launch.description": "عرض المحتوى غير المقروء عند الإطلاق", + "general.show_unread_on_launch.label": "عرض المحتوى غير المقروء عند الإطلاق", + "general.sidebar_title": "عام", + "general.timeline": "الجدول الزمني", + "general.unread": "غير مقروء", + "general.voices": "الأصوات", + "integration.eagle.enable.description": "عرض زر 'حفظ الوسائط إلى Eagle' عندما يكون متاحًا.", + "integration.eagle.enable.label": "تمكين", + "integration.eagle.title": "Eagle", + "integration.instapaper.enable.description": "عرض زر 'حفظ إلى Instapaper' عندما يكون متاحًا.", + "integration.instapaper.enable.label": "تمكين", + "integration.instapaper.password.label": "كلمة مرور Instapaper", + "integration.instapaper.title": "Instapaper", + "integration.instapaper.username.label": "اسم مستخدم Instapaper", + "integration.readwise.enable.description": "عرض زر 'حفظ إلى Readwise' عندما يكون متاحًا.", + "integration.readwise.enable.label": "تمكين", + "integration.readwise.title": "Readwise", + "integration.readwise.token.description": "يمكنك الحصول عليه هنا: readwise.io/access_token.", + "integration.readwise.token.label": "رمز الوصول لـ Readwise", + "integration.sidebar_title": "التكامل", + "integration.tip": "نصيحة: يتم تخزين بياناتك الحساسة محليًا ولا يتم تحميلها إلى الخادم.", + "integration.title": "التكامل", + "invitation.activate": "تفعيل", + "invitation.codeOptions.betaUser": "1. ابحث عن مستخدم بيتا لدعوتك.", + "invitation.codeOptions.discord": "2. انضم إلى خادم Discord الخاص بنا واحصل على هدايا عرضية.", + "invitation.codeOptions.xAccount": "3. تابع حسابنا على X واحصل على هدايا من وقت لآخر.", + "invitation.confirmModal.cancel": "إلغاء", + "invitation.confirmModal.confirm": "هل تريد المتابعة؟", + "invitation.confirmModal.continue": "متابعة", + "invitation.confirmModal.message": "سيكلفك إنشاء رمز دعوة {{INVITATION_PRICE}} من Power.", + "invitation.confirmModal.title": "تأكيد", + "invitation.earlyAccess": "Follow حاليًا في الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "invitation.earlyAccessMessage": "😰 عذرًا، Follow حاليًا في مرحلة الوصول المبكر ويتطلب رمز دعوة للاستخدام.", + "invitation.generateButton": "إنشاء رمز جديد", + "invitation.generateCost": "يمكنك إنفاق {{INVITATION_PRICE}} من Power لإنشاء رمز دعوة لأصدقائك.", + "invitation.getCodeMessage": "يمكنك الحصول على رمز دعوة من خلال الطرق التالية:", + "invitation.limitationMessage": "بناءً على وقت استخدامك، يمكنك إنشاء ما يصل إلى {{limitation}} من رموز الدعوات.", + "invitation.newInvitationSuccess": "🎉 تم إنشاء دعوة جديدة، وتم نسخ رمز الدعوة", + "invitation.noInvitations": "لا توجد دعوات", + "invitation.notUsed": "لم يُستخدم", + "invitation.sidebar_title": "الدعوات", + "invitation.tableHeaders.code": "الرمز", + "invitation.tableHeaders.creationTime": "وقت الإنشاء", + "invitation.tableHeaders.usedBy": "استخدمه", + "invitation.title": "رمز الدعوة", + "profile.avatar.label": "الصورة الرمزية", + "profile.handle.description": "معرفك الفريد.", + "profile.handle.label": "المعرف", + "profile.name.description": "اسم العرض العام الخاص بك.", + "profile.name.label": "اسم العرض", + "profile.sidebar_title": "الملف الشخصي", + "profile.submit": "إرسال", + "profile.title": "إعدادات الملف الشخصي", + "profile.updateSuccess": "تم تحديث الملف الشخصي.", + "titles.about": "حول", + "titles.actions": "الإجراءات", + "titles.appearance": "المظهر", + "titles.feeds": "التغذيات", + "titles.general": "عام", + "titles.integration": "التكامل", + "titles.invitations": "الدعوات", + "titles.power": "الطاقة", + "titles.profile": "الملف الشخصي", + "titles.shortcuts": "الاختصارات", + "wallet.address.title": "عنوانك", + "wallet.balance.title": "رصيدك", + "wallet.balance.withdrawable": "قابل للسحب", + "wallet.balance.withdrawableTooltip": "تشمل الطاقة القابلة للسحب كلًا من الإكراميات التي تلقيتها والطاقة التي قمت بشحنها.", + "wallet.claim.button.claim": "استلام الطاقة اليومية", + "wallet.claim.button.claimed": "تم استلام الطاقة اليوم", + "wallet.claim.tooltip.alreadyClaimed": "لقد استلمت بالفعل اليوم.", + "wallet.claim.tooltip.canClaim": "استلم {{amount}} من الطاقة اليومية الآن!", + "wallet.create.button": "إنشاء محفظة", + "wallet.create.description": "أنشئ محفظة مجانية لاستلام Power، والتي يمكن استخدامها لمكافأة المبدعين وأيضًا الحصول على مكافآت مقابل مساهماتك في المحتوى.", + "wallet.power.dailyClaim": "يمكنك استلام {{amount}} من الطاقة المجانية يوميًا، والتي يمكن استخدامها لإكراميات عناصر RSS على Follow.", + "wallet.power.description": "Power هو رمز ERC-20 على سلسلة البلوكشين {{blockchainName}}.", + "wallet.sidebar_title": "الطاقة", + "wallet.transactions.amount": "المبلغ", + "wallet.transactions.date": "التاريخ", + "wallet.transactions.from": "من", + "wallet.transactions.noTransactions": "لا توجد معاملات", + "wallet.transactions.title": "المعاملات", + "wallet.transactions.to": "إلى", + "wallet.transactions.tx": "Tx", + "wallet.transactions.type": "النوع", + "wallet.transactions.types.burn": "حرق", + "wallet.transactions.types.mint": "سك", + "wallet.transactions.types.purchase": "شراء", + "wallet.transactions.types.tip": "إكرامية", + "wallet.transactions.types.withdraw": "سحب", + "wallet.transactions.you": "أنت", + "wallet.withdraw.addressLabel": "عنوان Ethereum الخاص بك", + "wallet.withdraw.amountLabel": "المبلغ", + "wallet.withdraw.availableBalance": "لديك من الطاقة القابلة للسحب في محفظتك.", + "wallet.withdraw.button": "سحب", + "wallet.withdraw.error": "فشل السحب: {{error}}", + "wallet.withdraw.modalTitle": "سحب الطاقة", + "wallet.withdraw.submitButton": "إرسال", + "wallet.withdraw.success": "تم السحب بنجاح!" +} diff --git a/locales/shortcuts/es.json b/locales/shortcuts/es.json new file mode 100644 index 000000000..1f08265ca --- /dev/null +++ b/locales/shortcuts/es.json @@ -0,0 +1,24 @@ +{ + "keys.audio.playPause": "Reproducir/Pausar (Cuando el reproductor de audio está abierto)", + "keys.entries.markAllAsRead": "Marcar todo como leído", + "keys.entries.next": "Entrada siguiente", + "keys.entries.previous": "Entrada anterior", + "keys.entries.refetch": "Actualizar", + "keys.entries.toggleUnreadOnly": "Alternar solo no leídos", + "keys.entry.copyLink": "Copiar enlace", + "keys.entry.openInBrowser": "Abrir en el navegador", + "keys.entry.openInNewTab": "Abrir en nueva pestaña", + "keys.entry.scrollDown": "Desplazar hacia abajo", + "keys.entry.scrollUp": "Desplazar hacia arriba", + "keys.entry.share": "Compartir", + "keys.entry.tip": "Dar propina de Power", + "keys.entry.toggleRead": "Alternar leído", + "keys.entry.toggleStarred": "Alternar favorito", + "keys.entry.tts": "Reproducir TTS", + "keys.feeds.add": "Agregar suscripción", + "keys.feeds.switchBetweenViews": "Cambiar entre vistas", + "keys.feeds.switchToView": "Cambiar a vista", + "keys.layout.showShortcuts": "Mostrar/Ocultar atajos", + "keys.layout.toggleSidebar": "Mostrar/Ocultar barra lateral de feeds", + "sidebar_title": "Atajos" +} diff --git a/locales/shortcuts/fi.json b/locales/shortcuts/fi.json new file mode 100644 index 000000000..4dc488e61 --- /dev/null +++ b/locales/shortcuts/fi.json @@ -0,0 +1,24 @@ +{ + "keys.audio.playPause": "Toista/Tauko (Kun äänisoitin on auki)", + "keys.entries.markAllAsRead": "Merkitse kaikki luetuiksi", + "keys.entries.next": "Seuraava merkintä", + "keys.entries.previous": "Edellinen merkintä", + "keys.entries.refetch": "Päivitä", + "keys.entries.toggleUnreadOnly": "Näytä vain lukemattomat", + "keys.entry.copyLink": "Kopioi linkki", + "keys.entry.openInBrowser": "Avaa selaimessa", + "keys.entry.openInNewTab": "Avaa uudessa välilehdessä", + "keys.entry.scrollDown": "Vieritä alas", + "keys.entry.scrollUp": "Vieritä ylös", + "keys.entry.share": "Jaa", + "keys.entry.tip": "Anna Power-tip", + "keys.entry.toggleRead": "Vaihda luettu tila", + "keys.entry.toggleStarred": "Vaihda suosikkitila", + "keys.entry.tts": "Toista TTS", + "keys.feeds.add": "Lisää tilaus", + "keys.feeds.switchBetweenViews": "Vaihda näkymien välillä", + "keys.feeds.switchToView": "Vaihda näkymään", + "keys.layout.showShortcuts": "Näytä/Piilota pikanäppäimet", + "keys.layout.toggleSidebar": "Näytä/Piilota syötteen sivupalkki", + "sidebar_title": "Pikanäppäimet" +} diff --git a/locales/shortcuts/it.json b/locales/shortcuts/it.json new file mode 100644 index 000000000..e3b5f475d --- /dev/null +++ b/locales/shortcuts/it.json @@ -0,0 +1,24 @@ +{ + "keys.audio.playPause": "Riproduci/Pausa (Quando il lettore audio è aperto)", + "keys.entries.markAllAsRead": "Segna tutti come letti", + "keys.entries.next": "Voce successiva", + "keys.entries.previous": "Voce precedente", + "keys.entries.refetch": "Ricarica", + "keys.entries.toggleUnreadOnly": "Visualizza solo non letti", + "keys.entry.copyLink": "Copia link", + "keys.entry.openInBrowser": "Apri nel browser", + "keys.entry.openInNewTab": "Apri in una nuova scheda", + "keys.entry.scrollDown": "Scorri verso il basso", + "keys.entry.scrollUp": "Scorri verso l'alto", + "keys.entry.share": "Condividi", + "keys.entry.tip": "Dai una mancia Power", + "keys.entry.toggleRead": "Alterna lettura", + "keys.entry.toggleStarred": "Alterna preferiti", + "keys.entry.tts": "Riproduci TTS", + "keys.feeds.add": "Aggiungi abbonamento", + "keys.feeds.switchBetweenViews": "Cambia tra le visualizzazioni", + "keys.feeds.switchToView": "Cambia visualizzazione", + "keys.layout.showShortcuts": "Mostra/Nascondi scorciatoie", + "keys.layout.toggleSidebar": "Mostra/Nascondi barra laterale", + "sidebar_title": "Scorciatoie" +} diff --git a/locales/shortcuts/ru.json b/locales/shortcuts/ru.json new file mode 100644 index 000000000..1b4a57056 --- /dev/null +++ b/locales/shortcuts/ru.json @@ -0,0 +1,24 @@ +{ + "keys.audio.playPause": "Воспроизведение/Пауза (когда аудиоплеер открыт)", + "keys.entries.markAllAsRead": "Отметить все как прочитанное", + "keys.entries.next": "Следующая запись", + "keys.entries.previous": "Предыдущая запись", + "keys.entries.refetch": "Повторить запрос", + "keys.entries.toggleUnreadOnly": "Показать только непрочитанное", + "keys.entry.copyLink": "Скопировать ссылку", + "keys.entry.openInBrowser": "Открыть в браузере", + "keys.entry.openInNewTab": "Открыть в новой вкладке", + "keys.entry.scrollDown": "Прокрутить вниз", + "keys.entry.scrollUp": "Прокрутить вверх", + "keys.entry.share": "Поделиться", + "keys.entry.tip": "Отправить чаевые Power", + "keys.entry.toggleRead": "Отметить/снять отметку как прочитанное", + "keys.entry.toggleStarred": "Отметить/снять отметку как избранное", + "keys.entry.tts": "Воспроизвести TTS", + "keys.feeds.add": "Добавить подписку", + "keys.feeds.switchBetweenViews": "Переключение между видами", + "keys.feeds.switchToView": "Переключиться на вид", + "keys.layout.showShortcuts": "Показать/скрыть горячие клавиши", + "keys.layout.toggleSidebar": "Показать/скрыть боковую панель каналов", + "sidebar_title": "Горячие клавиши" +} diff --git a/locales/shortcuts/zh-HK.json b/locales/shortcuts/zh-HK.json new file mode 100644 index 000000000..e6b627541 --- /dev/null +++ b/locales/shortcuts/zh-HK.json @@ -0,0 +1,24 @@ +{ + "keys.audio.playPause": "播放/暫停(當音頻播放器開啟時)", + "keys.entries.markAllAsRead": "標記所有為已讀", + "keys.entries.next": "下一條目", + "keys.entries.previous": "上一條目", + "keys.entries.refetch": "重新抓取", + "keys.entries.toggleUnreadOnly": "切換僅顯示未讀", + "keys.entry.copyLink": "複製連結", + "keys.entry.openInBrowser": "在瀏覽器中開啟", + "keys.entry.openInNewTab": "在新分頁中開啟", + "keys.entry.scrollDown": "向下滾動", + "keys.entry.scrollUp": "向上滾動", + "keys.entry.share": "分享", + "keys.entry.tip": "贊助 Power", + "keys.entry.toggleRead": "切換已讀/未讀", + "keys.entry.toggleStarred": "切換收藏/取消收藏", + "keys.entry.tts": "文字轉語音", + "keys.feeds.add": "新增訂閱", + "keys.feeds.switchBetweenViews": "切換視圖", + "keys.feeds.switchToView": "切換到視圖", + "keys.layout.showShortcuts": "顯示/隱藏快捷鍵", + "keys.layout.toggleSidebar": "顯示/隱藏訂閱側邊欄", + "sidebar_title": "快捷鍵" +} diff --git a/locales/shortcuts/zh-TW.json b/locales/shortcuts/zh-TW.json index 98266553e..83e47c814 100644 --- a/locales/shortcuts/zh-TW.json +++ b/locales/shortcuts/zh-TW.json @@ -11,7 +11,7 @@ "keys.entry.scrollDown": "向下捲動", "keys.entry.scrollUp": "向上捲動", "keys.entry.share": "分享", - "keys.entry.tip": "打賞 Power", + "keys.entry.tip": "贊助 Power", "keys.entry.toggleRead": "切換已讀/未讀", "keys.entry.toggleStarred": "切換收藏/取消收藏", "keys.entry.tts": "播放語音朗讀", diff --git a/package.json b/package.json index 524bc5728..ae213b988 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "Follow", "type": "module", - "version": "0.0.1-alpha.13", + "version": "0.0.1-alpha.14", "private": true, - "packageManager": "pnpm@9.10.0+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c", + "packageManager": "pnpm@9.11.0", "description": "Next generation information browser", "author": "Follow Team", "license": "GPL-3.0-only", @@ -15,175 +15,73 @@ "main": "./dist/main/index.js", "scripts": { "analyze:web": "rm -rf out/web && ANALYZER=1 vite build", - "build": "npm run typecheck && electron-vite build --outDir=dist && electron-forge make", - "build:macos": "npm run typecheck && electron-vite build --outDir=dist && electron-forge make --arch=universal --platform=darwin", + "build": "electron-vite build && electron-forge make", + "build:macos": "electron-vite build && electron-forge make --arch=universal --platform=darwin", "build:web": "rm -rf out/web && vite build", "bump": "vv", - "dev": "electron-vite dev --outDir=dist", + "dev": "electron-vite dev", "dev:debug": "export DEBUG=true && vite --debug", "dev:web": "vite", "format": "prettier --write .", + "format:check": "prettier --check .", "generator:i18n-template": "tsx scripts/generate-i18n-locale.ts", "lint": "eslint", "lint:fix": "eslint --fix", "polyfill-optimize": "pnpx nolyfill install", "prepare": "pnpm exec simple-git-hooks && shx test -f .env || shx cp .env.example .env", - "publish": "electron-vite build --outDir=dist && electron-forge publish", + "publish": "electron-vite build && electron-forge publish", "start": "electron-vite preview", - "test": "vitest", + "test": "pnpm -F web run test", "typecheck": "npm run typecheck:node && npm run typecheck:web", - "typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false", - "typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false" - }, - "dependencies": { - "@egjs/react-infinitegrid": "4.12.0", - "@egoist/tipc": "0.3.2", - "@electron-toolkit/preload": "^3.0.1", - "@electron-toolkit/utils": "^3.0.0", - "@fontsource/sn-pro": "5.0.1", - "@hono/auth-js": "1.0.10", - "@hookform/resolvers": "3.9.0", - "@iconify/tools": "4.0.6", - "@microflash/remark-callout-directives": "4.3.1", - "@mozilla/readability": "^0.5.0", - "@radix-ui/react-alert-dialog": "1.1.1", - "@radix-ui/react-avatar": "1.1.0", - "@radix-ui/react-checkbox": "1.1.1", - "@radix-ui/react-context-menu": "2.2.1", - "@radix-ui/react-dialog": "1.1.1", - "@radix-ui/react-dropdown-menu": "2.1.1", - "@radix-ui/react-hover-card": "1.1.1", - "@radix-ui/react-label": "2.1.0", - "@radix-ui/react-popover": "1.1.1", - "@radix-ui/react-radio-group": "1.2.0", - "@radix-ui/react-scroll-area": "1.1.0", - "@radix-ui/react-select": "2.1.1", - "@radix-ui/react-slider": "^1.2.0", - "@radix-ui/react-slot": "1.1.0", - "@radix-ui/react-switch": "1.1.0", - "@radix-ui/react-tabs": "1.1.0", - "@radix-ui/react-toast": "1.2.1", - "@radix-ui/react-tooltip": "1.1.2", - "@sentry/electron": "5.4.0", - "@sentry/react": "8.30.0", - "@sentry/vite-plugin": "2.22.4", - "@shikijs/transformers": "1.17.0", - "@t3-oss/env-core": "^0.11.1", - "@tanstack/query-sync-storage-persister": "5.56.0", - "@tanstack/react-query": "5.56.0", - "@tanstack/react-query-devtools": "5.56.0", - "@tanstack/react-query-persist-client": "5.56.0", - "@use-gesture/react": "10.3.1", - "@yornaath/batshit": "0.10.1", - "bufferutil": "4.0.8", - "builder-util-runtime": "9.2.5", - "class-variance-authority": "0.7.0", - "click-to-react-component": "1.1.0", - "clsx": "2.1.1", - "cmdk": "1.0.0", - "dayjs": "1.11.13", - "dexie": "4.0.8", - "dnum": "^2.13.1", - "dotenv": "16.4.5", - "electron-context-menu": "4.0.4", - "electron-log": "5.2.0", - "electron-squirrel-startup": "1.0.1", - "electron-updater": "^6.3.4", - "font-list": "1.5.1", - "foxact": "0.2.38", - "framer-motion": "11.5.4", - "franc-min": "6.2.0", - "fuse.js": "7.0.0", - "hast-util-to-jsx-runtime": "2.3.0", - "hast-util-to-text": "4.0.2", - "i18next": "^23.15.1", - "i18next-browser-languagedetector": "8.0.0", - "idb-keyval": "6.2.1", - "immer": "10.1.1", - "jotai": "2.9.3", - "lethargy": "1.0.9", - "linkedom": "^0.18.4", - "lodash-es": "4.17.21", - "lowdb": "7.0.1", - "msedge-tts": "1.3.4", - "nanoid": "5.0.7", - "ofetch": "1.3.4", - "path-to-regexp": "8.1.0", - "posthog-js": "1.161.3", - "posthog-node": "4.2.0", - "re-resizable": "6.9.18", - "react-error-boundary": "4.0.13", - "react-fast-marquee": "1.6.5", - "react-hook-form": "7.53.0", - "react-hotkeys-hook": "4.5.1", - "react-i18next": "^15.0.1", - "react-intersection-observer": "9.13.1", - "react-resizable-layout": "npm:@innei/react-resizable-layout@0.7.3-fork.1", - "react-router-dom": "6.26.2", - "react-shadow": "20.5.0", - "react-virtuoso": "4.10.4", - "rehype-infer-description-meta": "2.0.0", - "rehype-parse": "9.0.0", - "rehype-sanitize": "6.0.0", - "rehype-stringify": "10.0.0", - "remark-directive": "3.0.0", - "remark-gfm": "4.0.0", - "remark-gh-alerts": "0.0.3", - "remark-parse": "11.0.0", - "remark-rehype": "11.1.0", - "semver": "7.6.3", - "shiki": "1.17.0", - "sonner": "^1.5.0", - "swiper": "11.1.12", - "tailwind-merge": "2.5.2", - "tldts": "6.1.44", - "unified": "11.0.5", - "use-context-selector": "2.0.0", - "usehooks-ts": "3.1.0", - "utf-8-validate": "6.0.4", - "vfile": "6.0.3", - "vscode-languagedetection": "npm:@vscode/vscode-languagedetection@^1.0.22", - "zod": "3.23.8", - "zustand": "4.5.5" + "typecheck:node": "pnpm -F electron-main run typecheck", + "typecheck:web": "pnpm -F web run typecheck" }, "devDependencies": { "@babel/generator": "7.25.6", "@clack/prompts": "0.7.0", "@egoist/tailwindcss-icons": "1.8.1", - "@electron-forge/cli": "7.4.0", - "@electron-forge/maker-dmg": "7.4.0", - "@electron-forge/maker-squirrel": "7.4.0", - "@electron-forge/maker-zip": "7.4.0", - "@electron-forge/plugin-fuses": "7.4.0", - "@electron-forge/publisher-github": "7.4.0", + "@electron-forge/cli": "7.5.0", + "@electron-forge/maker-dmg": "7.5.0", + "@electron-forge/maker-squirrel": "7.5.0", + "@electron-forge/maker-zip": "7.5.0", + "@electron-forge/plugin-fuses": "7.5.0", + "@electron-forge/publisher-github": "7.5.0", "@electron-toolkit/tsconfig": "^1.0.1", - "@hono/node-server": "1.12.2", + "@fontsource/sn-pro": "5.1.0", + "@hono/node-server": "1.13.1", + "@hookform/resolvers": "3.9.0", "@iconify-json/logos": "1.2.0", "@iconify-json/mingcute": "1.2.0", - "@iconify-json/simple-icons": "^1.2.2", + "@iconify-json/simple-icons": "^1.2.3", + "@iconify/tools": "4.0.6", + "@microflash/remark-callout-directives": "4.3.1", + "@mozilla/readability": "^0.5.0", "@pengx17/electron-forge-maker-appimage": "1.2.1", + "@sentry/vite-plugin": "2.22.4", + "@t3-oss/env-core": "^0.11.1", "@tailwindcss/container-queries": "0.1.1", "@tailwindcss/typography": "0.5.15", "@types/lodash-es": "4.17.12", - "@types/node": "^22.5.4", - "@types/react": "^18.3.5", + "@types/node": "^22.5.5", + "@types/react": "^18.3.8", "@types/react-dom": "^18.3.0", - "@vercel/ncc": "0.38.1", "@vitejs/plugin-legacy": "5.4.2", "@vitejs/plugin-react": "^4.3.1", "cssnano": "7.0.6", + "dnum": "^2.13.1", + "dotenv": "16.4.5", "drizzle-orm": "0.33.0", - "electron": "32.1.0", + "electron": "32.1.2", "electron-devtools-installer": "3.2.0", "electron-packager-languages": "0.5.0", "electron-vite": "^2.3.0", - "eslint": "^9.10.0", - "eslint-config-hyoban": "^3.1.5", + "eslint": "^9.11.0", + "eslint-config-hyoban": "^3.1.6", "fake-indexeddb": "6.0.0", - "hono": "4.6.1", + "hono": "4.6.2", "lint-staged": "15.2.10", "nbump": "2.0.4", - "postcss": "8.4.45", + "postcss": "8.4.47", "postcss-js": "4.0.1", "prettier": "3.3.3", "react": "^18.3.1", @@ -191,15 +89,16 @@ "rimraf": "6.0.1", "shx": "^0.3.4", "simple-git-hooks": "2.11.1", - "tailwindcss": "3.4.11", + "tailwindcss": "3.4.12", "tailwindcss-animate": "1.0.7", + "tsup": "8.3.0", "tsx": "4.19.1", "typescript": "^5.6.2", - "vite": "^5.4.4", + "vite": "^5.4.7", "vite-bundle-analyzer": "0.10.6", "vite-plugin-mkcert": "1.17.6", "vite-tsconfig-paths": "5.0.1", - "vitest": "2.0.5" + "vitest": "2.0" }, "pnpm": { "patchedDependencies": { @@ -207,7 +106,8 @@ "immer@10.1.1": "patches/immer@10.1.1.patch", "@mozilla/readability@0.5.0": "patches/@mozilla__readability@0.5.0.patch", "re-resizable": "patches/re-resizable@6.9.17.patch", - "hono": "patches/hono.patch" + "hono": "patches/hono.patch", + "electron-context-menu": "patches/electron-context-menu.patch" }, "overrides": { "is-core-module": "npm:@nolyfill/is-core-module@^1", diff --git a/packages/shared/package.json b/packages/shared/package.json new file mode 100644 index 000000000..42f490379 --- /dev/null +++ b/packages/shared/package.json @@ -0,0 +1,41 @@ +{ + "name": "@follow/shared", + "type": "module", + "private": true, + "author": "Follow Team", + "license": "GPL-3.0-only", + "homepage": "https://github.com/RSSNext", + "repository": { + "url": "https://github.com/RSSNext/follow", + "type": "git" + }, + "exports": { + ".": { + "import": "./src/index.ts", + "types": "./src/index.ts" + }, + "./interface/*": { + "import": "./src/interface/*.ts", + "types": "./src/interface/*.ts" + }, + "./*": { + "import": "./src/*.ts", + "types": "./src/*.ts" + } + }, + "scripts": {}, + "dependencies": { + "@electron-toolkit/preload": "^3.0.1", + "@electron-toolkit/tsconfig": "^1.0.1", + "@hono/node-server": "^1.13.1", + "@t3-oss/env-core": "^0.11.1", + "drizzle-orm": "^0.33.0", + "electron": "^32.1.2", + "hono": "^4.6.2", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "sonner": "^1.5.0", + "zod": "^3.23.8" + }, + "devDependencies": {} +} diff --git a/src/shared/src/bridge.ts b/packages/shared/src/bridge.ts similarity index 100% rename from src/shared/src/bridge.ts rename to packages/shared/src/bridge.ts diff --git a/src/shared/src/constants.ts b/packages/shared/src/constants.ts similarity index 95% rename from src/shared/src/constants.ts rename to packages/shared/src/constants.ts index 70e2becb5..a2e4d3be8 100644 --- a/src/shared/src/constants.ts +++ b/packages/shared/src/constants.ts @@ -1,5 +1,6 @@ import type { ElectronAPI } from "@electron-toolkit/preload" -import { env } from "@env" + +import { env } from "./env" declare const globalThis: { window: Window & { diff --git a/src/shared/src/electron.ts b/packages/shared/src/electron.ts similarity index 86% rename from src/shared/src/electron.ts rename to packages/shared/src/electron.ts index 78325d7fc..a3197a5ff 100644 --- a/src/shared/src/electron.ts +++ b/packages/shared/src/electron.ts @@ -1,4 +1,4 @@ -import { DEEPLINK_SCHEME } from "@shared/constants" +import { DEEPLINK_SCHEME } from "./constants" const ELECTRON_QUERY_KEY = "__electron" export interface OpenElectronWindowOptions { @@ -11,7 +11,7 @@ export interface OpenElectronWindowOptions { * Work electron and browser, * if in electron, open a new window, otherwise open a new tab */ -export const openElectronWindow = async (url: string, options: OpenElectronWindowOptions = {}) => { +export const openElectronWindow = (url: string, options: OpenElectronWindowOptions = {}) => { if ("electron" in window) { const urlObject = new URL(url) const { searchParams } = urlObject diff --git a/src/env.ts b/packages/shared/src/env.ts similarity index 96% rename from src/env.ts rename to packages/shared/src/env.ts index 792b1a057..40d2af372 100644 --- a/src/env.ts +++ b/packages/shared/src/env.ts @@ -13,7 +13,7 @@ export const env = createEnv({ }, emptyStringAsUndefined: true, - runtimeEnv: getRuntimeEnv(), + runtimeEnv: getRuntimeEnv() as any, skipValidation: !isDev, }) diff --git a/src/shared/src/event.ts b/packages/shared/src/event.ts similarity index 100% rename from src/shared/src/event.ts rename to packages/shared/src/event.ts diff --git a/src/hono.ts b/packages/shared/src/hono.ts similarity index 73% rename from src/hono.ts rename to packages/shared/src/hono.ts index c4cfc0c01..92815780b 100644 --- a/src/hono.ts +++ b/packages/shared/src/hono.ts @@ -1,15 +1,179 @@ import * as hono_hono_base from 'hono/hono-base'; import { HttpBindings } from '@hono/node-server'; -import * as drizzle_orm from 'drizzle-orm'; -import { InferInsertModel } from 'drizzle-orm'; -import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core'; import * as zod from 'zod'; import { z } from 'zod'; +import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core'; +import * as drizzle_orm from 'drizzle-orm'; +import { InferInsertModel } from 'drizzle-orm'; type Env = { Bindings: HttpBindings; }; +declare const achievements: drizzle_orm_pg_core.PgTableWithColumns<{ + name: "achievements"; + schema: undefined; + columns: { + id: drizzle_orm_pg_core.PgColumn<{ + name: "id"; + tableName: "achievements"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: true; + isPrimaryKey: true; + isAutoincrement: false; + hasRuntimeDefault: true; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + userId: drizzle_orm_pg_core.PgColumn<{ + name: "user_id"; + tableName: "achievements"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + type: drizzle_orm_pg_core.PgColumn<{ + name: "type"; + tableName: "achievements"; + dataType: "string"; + columnType: "PgText"; + data: "received" | "checking" | "completed" | "incomplete"; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: ["checking", "completed", "incomplete", "received"]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + actionId: drizzle_orm_pg_core.PgColumn<{ + name: "action_id"; + tableName: "achievements"; + dataType: "number"; + columnType: "PgInteger"; + data: number; + driverParam: string | number; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + progress: drizzle_orm_pg_core.PgColumn<{ + name: "progress"; + tableName: "achievements"; + dataType: "number"; + columnType: "PgInteger"; + data: number; + driverParam: string | number; + notNull: true; + hasDefault: true; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + progressMax: drizzle_orm_pg_core.PgColumn<{ + name: "progress_max"; + tableName: "achievements"; + dataType: "number"; + columnType: "PgInteger"; + data: number; + driverParam: string | number; + notNull: true; + hasDefault: true; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + done: drizzle_orm_pg_core.PgColumn<{ + name: "done"; + tableName: "achievements"; + dataType: "boolean"; + columnType: "PgBoolean"; + data: boolean; + driverParam: boolean; + notNull: true; + hasDefault: true; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + doneAt: drizzle_orm_pg_core.PgColumn<{ + name: "done_at"; + tableName: "achievements"; + dataType: "date"; + columnType: "PgTimestamp"; + data: Date; + driverParam: string; + notNull: false; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + }; + dialect: "pg"; +}>; +declare const achievementsOpenAPISchema: zod.ZodObject<{ + id: zod.ZodString; + userId: zod.ZodString; + type: zod.ZodEnum<["checking", "completed", "incomplete", "received"]>; + actionId: zod.ZodNumber; + progress: zod.ZodNumber; + progressMax: zod.ZodNumber; + done: zod.ZodBoolean; + doneAt: zod.ZodNullable; +}, zod.UnknownKeysParam, zod.ZodTypeAny, { + type: "received" | "checking" | "completed" | "incomplete"; + id: string; + userId: string; + actionId: number; + progress: number; + progressMax: number; + done: boolean; + doneAt: string | null; +}, { + type: "received" | "checking" | "completed" | "incomplete"; + id: string; + userId: string; + actionId: number; + progress: number; + progressMax: number; + done: boolean; + doneAt: string | null; +}>; + declare const languageSchema: z.ZodEnum<["en", "ja", "zh-CN", "zh-TW"]>; declare const conditionFieldSchema: z.ZodEnum<["view", "title", "site_url", "feed_url", "category"]>; declare const conditionOperatorSchema: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>; @@ -110,11 +274,11 @@ declare const actionsItemOpenAPISchema: z.ZodObject<{ value: z.ZodUnion<[z.ZodString, z.ZodNumber]>; }, "strip", z.ZodTypeAny, { value: string | number; - field: "title" | "content" | "all" | "author" | "url" | "order"; + field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }, { value: string | number; - field: "title" | "content" | "all" | "author" | "url" | "order"; + field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }>, "many">>; }, "strip", z.ZodTypeAny, { @@ -127,7 +291,7 @@ declare const actionsItemOpenAPISchema: z.ZodObject<{ }[] | undefined; blockRules?: { value: string | number; - field: "title" | "content" | "all" | "author" | "url" | "order"; + field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; }, { @@ -140,17 +304,12 @@ declare const actionsItemOpenAPISchema: z.ZodObject<{ }[] | undefined; blockRules?: { value: string | number; - field: "title" | "content" | "all" | "author" | "url" | "order"; + field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; }>; }, "strip", z.ZodTypeAny, { name: string; - condition: { - value: string; - field: "title" | "view" | "site_url" | "feed_url" | "category"; - operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; - }[]; result: { summary?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; @@ -161,17 +320,17 @@ declare const actionsItemOpenAPISchema: z.ZodObject<{ }[] | undefined; blockRules?: { value: string | number; - field: "title" | "content" | "all" | "author" | "url" | "order"; + field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; }; + condition: { + value: string; + field: "title" | "view" | "site_url" | "feed_url" | "category"; + operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; + }[]; }, { name: string; - condition: { - value: string; - field: "title" | "view" | "site_url" | "feed_url" | "category"; - operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; - }[]; result: { summary?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; @@ -182,10 +341,15 @@ declare const actionsItemOpenAPISchema: z.ZodObject<{ }[] | undefined; blockRules?: { value: string | number; - field: "title" | "content" | "all" | "author" | "url" | "order"; + field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; }; + condition: { + value: string; + field: "title" | "view" | "site_url" | "feed_url" | "category"; + operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; + }[]; }>; declare const actionsOpenAPISchema: z.ZodObject; }, "strip", z.ZodTypeAny, { value: string | number; - field: "title" | "content" | "all" | "author" | "url" | "order"; + field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }, { value: string | number; - field: "title" | "content" | "all" | "author" | "url" | "order"; + field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }>, "many">>; }, "strip", z.ZodTypeAny, { @@ -247,7 +411,7 @@ declare const actionsOpenAPISchema: z.ZodObject; }, "strip", z.ZodTypeAny, { name: string; - condition: { - value: string; - field: "title" | "view" | "site_url" | "feed_url" | "category"; - operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; - }[]; result: { summary?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; @@ -281,17 +440,17 @@ declare const actionsOpenAPISchema: z.ZodObject, "many">>>; }>, "strip", z.ZodTypeAny, { userId: string; rules?: { name: string; - condition: { - value: string; - field: "title" | "view" | "site_url" | "feed_url" | "category"; - operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; - }[]; result: { summary?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; @@ -326,20 +485,20 @@ declare const actionsOpenAPISchema: z.ZodObject; declare const actionsRelations: drizzle_orm.Relations<"actions", { @@ -1226,49 +1390,6 @@ declare const feedsOpenAPISchema: zod.ZodObject<{ errorAt: string | null; ownerUserId: string | null; }>; -declare const feedsInputSchema: zod.ZodObject<{ - description: zod.ZodOptional>; - title: zod.ZodOptional>; - id: zod.ZodOptional; - image: zod.ZodOptional>; - url: zod.ZodString; - siteUrl: zod.ZodOptional>; - checkedAt: zod.ZodString; - lastModifiedHeader: zod.ZodOptional>; - etagHeader: zod.ZodOptional>; - ttl: zod.ZodOptional>; - errorMessage: zod.ZodOptional>; - errorAt: zod.ZodOptional>; - ownerUserId: zod.ZodOptional>; -}, zod.UnknownKeysParam, zod.ZodTypeAny, { - url: string; - checkedAt: string; - description?: string | null | undefined; - title?: string | null | undefined; - id?: string | undefined; - image?: string | null | undefined; - siteUrl?: string | null | undefined; - lastModifiedHeader?: string | null | undefined; - etagHeader?: string | null | undefined; - ttl?: number | null | undefined; - errorMessage?: string | null | undefined; - errorAt?: string | null | undefined; - ownerUserId?: string | null | undefined; -}, { - url: string; - checkedAt: string; - description?: string | null | undefined; - title?: string | null | undefined; - id?: string | undefined; - image?: string | null | undefined; - siteUrl?: string | null | undefined; - lastModifiedHeader?: string | null | undefined; - etagHeader?: string | null | undefined; - ttl?: number | null | undefined; - errorMessage?: string | null | undefined; - errorAt?: string | null | undefined; - ownerUserId?: string | null | undefined; -}>; declare const feedsRelations: drizzle_orm.Relations<"feeds", { subscriptions: drizzle_orm.Many<"subscriptions">; entries: drizzle_orm.Many<"entries">; @@ -1276,201 +1397,6 @@ declare const feedsRelations: drizzle_orm.Relations<"feeds", { }>; type FeedModel = InferInsertModel; -declare const invitations: drizzle_orm_pg_core.PgTableWithColumns<{ - name: "invitations"; - schema: undefined; - columns: { - code: drizzle_orm_pg_core.PgColumn<{ - name: "code"; - tableName: "invitations"; - dataType: "string"; - columnType: "PgText"; - data: string; - driverParam: string; - notNull: true; - hasDefault: false; - isPrimaryKey: true; - isAutoincrement: false; - hasRuntimeDefault: false; - enumValues: [string, ...string[]]; - baseColumn: never; - generated: undefined; - }, {}, {}>; - createdAt: drizzle_orm_pg_core.PgColumn<{ - name: "created_at"; - tableName: "invitations"; - dataType: "date"; - columnType: "PgTimestamp"; - data: Date; - driverParam: string; - notNull: false; - hasDefault: true; - isPrimaryKey: false; - isAutoincrement: false; - hasRuntimeDefault: false; - enumValues: undefined; - baseColumn: never; - generated: undefined; - }, {}, {}>; - fromUserId: drizzle_orm_pg_core.PgColumn<{ - name: "from_user_id"; - tableName: "invitations"; - dataType: "string"; - columnType: "PgText"; - data: string; - driverParam: string; - notNull: true; - hasDefault: false; - isPrimaryKey: false; - isAutoincrement: false; - hasRuntimeDefault: false; - enumValues: [string, ...string[]]; - baseColumn: never; - generated: undefined; - }, {}, {}>; - toUserId: drizzle_orm_pg_core.PgColumn<{ - name: "to_user_id"; - tableName: "invitations"; - dataType: "string"; - columnType: "PgText"; - data: string; - driverParam: string; - notNull: false; - hasDefault: false; - isPrimaryKey: false; - isAutoincrement: false; - hasRuntimeDefault: false; - enumValues: [string, ...string[]]; - baseColumn: never; - generated: undefined; - }, {}, {}>; - }; - dialect: "pg"; -}>; -declare const invitationsOpenAPISchema: zod.ZodObject<{ - code: zod.ZodString; - createdAt: zod.ZodNullable; - fromUserId: zod.ZodString; - toUserId: zod.ZodNullable; -}, zod.UnknownKeysParam, zod.ZodTypeAny, { - code: string; - createdAt: string | null; - fromUserId: string; - toUserId: string | null; -}, { - code: string; - createdAt: string | null; - fromUserId: string; - toUserId: string | null; -}>; -declare const invitationsRelations: drizzle_orm.Relations<"invitations", { - users: drizzle_orm.One<"user", false>; -}>; - -declare const settings: drizzle_orm_pg_core.PgTableWithColumns<{ - name: "settings"; - schema: undefined; - columns: { - id: drizzle_orm_pg_core.PgColumn<{ - name: "id"; - tableName: "settings"; - dataType: "string"; - columnType: "PgText"; - data: string; - driverParam: string; - notNull: true; - hasDefault: true; - isPrimaryKey: true; - isAutoincrement: false; - hasRuntimeDefault: true; - enumValues: [string, ...string[]]; - baseColumn: never; - generated: undefined; - }, {}, {}>; - userId: drizzle_orm_pg_core.PgColumn<{ - name: "user_id"; - tableName: "settings"; - dataType: "string"; - columnType: "PgText"; - data: string; - driverParam: string; - notNull: true; - hasDefault: false; - isPrimaryKey: false; - isAutoincrement: false; - hasRuntimeDefault: false; - enumValues: [string, ...string[]]; - baseColumn: never; - generated: undefined; - }, {}, {}>; - tab: drizzle_orm_pg_core.PgColumn<{ - name: "tab"; - tableName: "settings"; - dataType: "string"; - columnType: "PgText"; - data: "general" | "appearance" | "integration"; - driverParam: string; - notNull: true; - hasDefault: false; - isPrimaryKey: false; - isAutoincrement: false; - hasRuntimeDefault: false; - enumValues: ["general", "appearance", "integration"]; - baseColumn: never; - generated: undefined; - }, {}, {}>; - payload: drizzle_orm_pg_core.PgColumn<{ - name: "payload"; - tableName: "settings"; - dataType: "json"; - columnType: "PgJsonb"; - data: Record; - driverParam: unknown; - notNull: false; - hasDefault: true; - isPrimaryKey: false; - isAutoincrement: false; - hasRuntimeDefault: false; - enumValues: undefined; - baseColumn: never; - generated: undefined; - }, {}, {}>; - updateAt: drizzle_orm_pg_core.PgColumn<{ - name: "update_at"; - tableName: "settings"; - dataType: "date"; - columnType: "PgTimestamp"; - data: Date; - driverParam: string; - notNull: false; - hasDefault: false; - isPrimaryKey: false; - isAutoincrement: false; - hasRuntimeDefault: false; - enumValues: undefined; - baseColumn: never; - generated: undefined; - }, {}, {}>; - version: drizzle_orm_pg_core.PgColumn<{ - name: "version"; - tableName: "settings"; - dataType: "number"; - columnType: "PgInteger"; - data: number; - driverParam: string | number; - notNull: true; - hasDefault: true; - isPrimaryKey: false; - isAutoincrement: false; - hasRuntimeDefault: false; - enumValues: undefined; - baseColumn: never; - generated: undefined; - }, {}, {}>; - }; - dialect: "pg"; -}>; - declare const subscriptions: drizzle_orm_pg_core.PgTableWithColumns<{ name: "subscriptions"; schema: undefined; @@ -1751,6 +1677,625 @@ declare const timelineRelations: drizzle_orm.Relations<"timeline", { collections: drizzle_orm.One<"collections", true>; }>; +declare const invitations: drizzle_orm_pg_core.PgTableWithColumns<{ + name: "invitations"; + schema: undefined; + columns: { + code: drizzle_orm_pg_core.PgColumn<{ + name: "code"; + tableName: "invitations"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: true; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + createdAt: drizzle_orm_pg_core.PgColumn<{ + name: "created_at"; + tableName: "invitations"; + dataType: "date"; + columnType: "PgTimestamp"; + data: Date; + driverParam: string; + notNull: false; + hasDefault: true; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + fromUserId: drizzle_orm_pg_core.PgColumn<{ + name: "from_user_id"; + tableName: "invitations"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + toUserId: drizzle_orm_pg_core.PgColumn<{ + name: "to_user_id"; + tableName: "invitations"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: false; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + }; + dialect: "pg"; +}>; +declare const invitationsOpenAPISchema: zod.ZodObject<{ + code: zod.ZodString; + createdAt: zod.ZodNullable; + fromUserId: zod.ZodString; + toUserId: zod.ZodNullable; +}, zod.UnknownKeysParam, zod.ZodTypeAny, { + code: string; + createdAt: string | null; + fromUserId: string; + toUserId: string | null; +}, { + code: string; + createdAt: string | null; + fromUserId: string; + toUserId: string | null; +}>; +declare const invitationsRelations: drizzle_orm.Relations<"invitations", { + users: drizzle_orm.One<"user", false>; +}>; + +declare const lists: drizzle_orm_pg_core.PgTableWithColumns<{ + name: "lists"; + schema: undefined; + columns: { + id: drizzle_orm_pg_core.PgColumn<{ + name: "id"; + tableName: "lists"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: true; + isPrimaryKey: true; + isAutoincrement: false; + hasRuntimeDefault: true; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + feedIds: drizzle_orm_pg_core.PgColumn<{ + name: "feed_ids"; + tableName: "lists"; + dataType: "array"; + columnType: "PgArray"; + data: string[]; + driverParam: string | string[]; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: drizzle_orm.Column<{ + name: "feed_ids"; + tableName: "lists"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: false; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, object, object>; + generated: undefined; + }, {}, {}>; + title: drizzle_orm_pg_core.PgColumn<{ + name: "title"; + tableName: "lists"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + description: drizzle_orm_pg_core.PgColumn<{ + name: "description"; + tableName: "lists"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: false; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + image: drizzle_orm_pg_core.PgColumn<{ + name: "image"; + tableName: "lists"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: false; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + view: drizzle_orm_pg_core.PgColumn<{ + name: "view"; + tableName: "lists"; + dataType: "number"; + columnType: "PgSmallInt"; + data: number; + driverParam: string | number; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + fee: drizzle_orm_pg_core.PgColumn<{ + name: "fee"; + tableName: "lists"; + dataType: "number"; + columnType: "PgInteger"; + data: number; + driverParam: string | number; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + timelineUpdatedAt: drizzle_orm_pg_core.PgColumn<{ + name: "timeline_updated_at"; + tableName: "lists"; + dataType: "date"; + columnType: "PgTimestamp"; + data: Date; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + ownerUserId: drizzle_orm_pg_core.PgColumn<{ + name: "owner_user_id"; + tableName: "lists"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + }; + dialect: "pg"; +}>; +declare const listsOpenAPISchema: zod.ZodObject<{ + id: zod.ZodString; + feedIds: zod.ZodArray; + title: zod.ZodString; + description: zod.ZodNullable; + image: zod.ZodNullable; + view: zod.ZodNumber; + fee: zod.ZodNumber; + timelineUpdatedAt: zod.ZodString; + ownerUserId: zod.ZodString; +}, zod.UnknownKeysParam, zod.ZodTypeAny, { + description: string | null; + title: string; + id: string; + image: string | null; + view: number; + ownerUserId: string; + feedIds: string[]; + fee: number; + timelineUpdatedAt: string; +}, { + description: string | null; + title: string; + id: string; + image: string | null; + view: number; + ownerUserId: string; + feedIds: string[]; + fee: number; + timelineUpdatedAt: string; +}>; +declare const listsRelations: drizzle_orm.Relations<"lists", { + owner: drizzle_orm.One<"user", true>; + listsSubscriptions: drizzle_orm.Many<"lists_subscriptions">; +}>; + +declare const listsSubscriptions: drizzle_orm_pg_core.PgTableWithColumns<{ + name: "lists_subscriptions"; + schema: undefined; + columns: { + userId: drizzle_orm_pg_core.PgColumn<{ + name: "user_id"; + tableName: "lists_subscriptions"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + listId: drizzle_orm_pg_core.PgColumn<{ + name: "list_id"; + tableName: "lists_subscriptions"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + view: drizzle_orm_pg_core.PgColumn<{ + name: "view"; + tableName: "lists_subscriptions"; + dataType: "number"; + columnType: "PgSmallInt"; + data: number; + driverParam: string | number; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + title: drizzle_orm_pg_core.PgColumn<{ + name: "title"; + tableName: "lists_subscriptions"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: false; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + lastViewedAt: drizzle_orm_pg_core.PgColumn<{ + name: "last_viewed_at"; + tableName: "lists_subscriptions"; + dataType: "date"; + columnType: "PgTimestamp"; + data: Date; + driverParam: string; + notNull: false; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + isPrivate: drizzle_orm_pg_core.PgColumn<{ + name: "is_private"; + tableName: "lists_subscriptions"; + dataType: "boolean"; + columnType: "PgBoolean"; + data: boolean; + driverParam: boolean; + notNull: true; + hasDefault: true; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + }; + dialect: "pg"; +}>; +declare const listsSubscriptionsOpenAPISchema: zod.ZodObject<{ + userId: zod.ZodString; + listId: zod.ZodString; + view: zod.ZodNumber; + title: zod.ZodNullable; + lastViewedAt: zod.ZodNullable; + isPrivate: zod.ZodBoolean; +}, zod.UnknownKeysParam, zod.ZodTypeAny, { + title: string | null; + userId: string; + view: number; + isPrivate: boolean; + listId: string; + lastViewedAt: string | null; +}, { + title: string | null; + userId: string; + view: number; + isPrivate: boolean; + listId: string; + lastViewedAt: string | null; +}>; +declare const listsSubscriptionsRelations: drizzle_orm.Relations<"lists_subscriptions", { + users: drizzle_orm.One<"user", true>; + lists: drizzle_orm.One<"lists", true>; +}>; + +declare const listsTimeline: drizzle_orm_pg_core.PgTableWithColumns<{ + name: "lists_timeline"; + schema: undefined; + columns: { + listId: drizzle_orm_pg_core.PgColumn<{ + name: "list_id"; + tableName: "lists_timeline"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + feedId: drizzle_orm_pg_core.PgColumn<{ + name: "feedId"; + tableName: "lists_timeline"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + entryId: drizzle_orm_pg_core.PgColumn<{ + name: "entry_id"; + tableName: "lists_timeline"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + insertedAt: drizzle_orm_pg_core.PgColumn<{ + name: "inserted_at"; + tableName: "lists_timeline"; + dataType: "date"; + columnType: "PgTimestamp"; + data: Date; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + }; + dialect: "pg"; +}>; +declare const listsTimelineOpenAPISchema: zod.ZodObject<{ + listId: zod.ZodString; + feedId: zod.ZodString; + entryId: zod.ZodString; + insertedAt: zod.ZodString; +}, zod.UnknownKeysParam, zod.ZodTypeAny, { + feedId: string; + insertedAt: string; + entryId: string; + listId: string; +}, { + feedId: string; + insertedAt: string; + entryId: string; + listId: string; +}>; +declare const listsTimelineRelations: drizzle_orm.Relations<"lists_timeline", { + entries: drizzle_orm.One<"entries", true>; + feeds: drizzle_orm.One<"feeds", true>; +}>; + +declare const settings: drizzle_orm_pg_core.PgTableWithColumns<{ + name: "settings"; + schema: undefined; + columns: { + id: drizzle_orm_pg_core.PgColumn<{ + name: "id"; + tableName: "settings"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: true; + isPrimaryKey: true; + isAutoincrement: false; + hasRuntimeDefault: true; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + userId: drizzle_orm_pg_core.PgColumn<{ + name: "user_id"; + tableName: "settings"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + tab: drizzle_orm_pg_core.PgColumn<{ + name: "tab"; + tableName: "settings"; + dataType: "string"; + columnType: "PgText"; + data: "general" | "appearance" | "integration"; + driverParam: string; + notNull: true; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: ["general", "appearance", "integration"]; + baseColumn: never; + generated: undefined; + }, {}, {}>; + payload: drizzle_orm_pg_core.PgColumn<{ + name: "payload"; + tableName: "settings"; + dataType: "json"; + columnType: "PgJsonb"; + data: Record; + driverParam: unknown; + notNull: false; + hasDefault: true; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + updateAt: drizzle_orm_pg_core.PgColumn<{ + name: "update_at"; + tableName: "settings"; + dataType: "date"; + columnType: "PgTimestamp"; + data: Date; + driverParam: string; + notNull: false; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + version: drizzle_orm_pg_core.PgColumn<{ + name: "version"; + tableName: "settings"; + dataType: "number"; + columnType: "PgInteger"; + data: number; + driverParam: string | number; + notNull: true; + hasDefault: true; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: undefined; + baseColumn: never; + generated: undefined; + }, {}, {}>; + }; + dialect: "pg"; +}>; + declare const users: drizzle_orm_pg_core.PgTableWithColumns<{ name: "user"; schema: undefined; @@ -2188,6 +2733,7 @@ declare const verificationTokens: drizzle_orm_pg_core.PgTableWithColumns<{ }>; declare const usersRelations: drizzle_orm.Relations<"user", { subscriptions: drizzle_orm.Many<"subscriptions">; + listsSubscriptions: drizzle_orm.Many<"lists_subscriptions">; collections: drizzle_orm.Many<"collections">; actions: drizzle_orm.One<"actions", true>; wallets: drizzle_orm.One<"wallets", true>; @@ -2412,6 +2958,22 @@ declare const transactions: drizzle_orm_pg_core.PgTableWithColumns<{ baseColumn: never; generated: undefined; }, {}, {}>; + toListId: drizzle_orm_pg_core.PgColumn<{ + name: "to_list_id"; + tableName: "transactions"; + dataType: "string"; + columnType: "PgText"; + data: string; + driverParam: string; + notNull: false; + hasDefault: false; + isPrimaryKey: false; + isAutoincrement: false; + hasRuntimeDefault: false; + enumValues: [string, ...string[]]; + baseColumn: never; + generated: undefined; + }, {}, {}>; toEntryId: drizzle_orm_pg_core.PgColumn<{ name: "to_entry_id"; tableName: "transactions"; @@ -2485,6 +3047,7 @@ declare const transactionsOpenAPISchema: zod.ZodObject<{ fromUserId: zod.ZodNullable; toUserId: zod.ZodNullable; toFeedId: zod.ZodNullable; + toListId: zod.ZodNullable; toEntryId: zod.ZodNullable; powerToken: zod.ZodString; createdAt: zod.ZodString; @@ -2496,6 +3059,7 @@ declare const transactionsOpenAPISchema: zod.ZodObject<{ toUserId: string | null; hash: string; toFeedId: string | null; + toListId: string | null; toEntryId: string | null; powerToken: string; comment: string | null; @@ -2506,6 +3070,7 @@ declare const transactionsOpenAPISchema: zod.ZodObject<{ toUserId: string | null; hash: string; toFeedId: string | null; + toListId: string | null; toEntryId: string | null; powerToken: string; comment: string | null; @@ -2571,6 +3136,288 @@ declare const feedPowerTokensRelations: drizzle_orm.Relations<"feedPowerTokens", }>; declare const _routes: hono_hono_base.HonoBase; type AppType = typeof _routes; -export { type ActionsModel, type AppType, type AttachmentsModel, type EntriesModel, type EntryReadHistoriesModel, type FeedModel, type MediaModel, type SettingsModel, accounts, actions, actionsItemOpenAPISchema, actionsOpenAPISchema, actionsRelations, collections, collectionsOpenAPISchema, collectionsRelations, entries, entriesOpenAPISchema, entriesRelations, entryReadHistories, entryReadHistoriesOpenAPISchema, entryReadHistoriesRelations, feedPowerTokens, feedPowerTokensOpenAPISchema, feedPowerTokensRelations, feeds, feedsInputSchema, feedsOpenAPISchema, feedsRelations, invitations, invitationsOpenAPISchema, invitationsRelations, languageSchema, sessions, settings, subscriptions, subscriptionsOpenAPISchema, subscriptionsRelations, timeline, timelineOpenAPISchema, timelineRelations, transactionType, transactions, transactionsOpenAPISchema, transactionsRelations, users, usersOpenApiSchema, usersRelations, verificationTokens, wallets, walletsOpenAPISchema, walletsRelations }; +export { type ActionsModel, type AppType, type AttachmentsModel, type EntriesModel, type EntryReadHistoriesModel, type FeedModel, type MediaModel, type SettingsModel, accounts, achievements, achievementsOpenAPISchema, actions, actionsItemOpenAPISchema, actionsOpenAPISchema, actionsRelations, collections, collectionsOpenAPISchema, collectionsRelations, entries, entriesOpenAPISchema, entriesRelations, entryReadHistories, entryReadHistoriesOpenAPISchema, entryReadHistoriesRelations, feedPowerTokens, feedPowerTokensOpenAPISchema, feedPowerTokensRelations, feeds, feedsOpenAPISchema, feedsRelations, invitations, invitationsOpenAPISchema, invitationsRelations, languageSchema, lists, listsOpenAPISchema, listsRelations, listsSubscriptions, listsSubscriptionsOpenAPISchema, listsSubscriptionsRelations, listsTimeline, listsTimelineOpenAPISchema, listsTimelineRelations, sessions, settings, subscriptions, subscriptionsOpenAPISchema, subscriptionsRelations, timeline, timelineOpenAPISchema, timelineRelations, transactionType, transactions, transactionsOpenAPISchema, transactionsRelations, users, usersOpenApiSchema, usersRelations, verificationTokens, wallets, walletsOpenAPISchema, walletsRelations }; diff --git a/src/shared/src/image.ts b/packages/shared/src/image.ts similarity index 100% rename from src/shared/src/image.ts rename to packages/shared/src/image.ts diff --git a/src/shared/src/index.ts b/packages/shared/src/index.ts similarity index 100% rename from src/shared/src/index.ts rename to packages/shared/src/index.ts diff --git a/src/shared/src/interface/settings.ts b/packages/shared/src/interface/settings.ts similarity index 90% rename from src/shared/src/interface/settings.ts rename to packages/shared/src/interface/settings.ts index 567a12ddf..2f4496125 100644 --- a/src/shared/src/interface/settings.ts +++ b/packages/shared/src/interface/settings.ts @@ -22,10 +22,12 @@ export interface UISettings { modalDraggable: boolean modalOpaque: boolean reduceMotion: boolean + usePointerCursor: boolean | null uiFontFamily: string readerFontFamily: string readerRenderInlineStyle: boolean - codeHighlightTheme: string + codeHighlightThemeLight: string + codeHighlightThemeDark: string guessCodeLanguage: boolean // view diff --git a/src/shared/src/queue.ts b/packages/shared/src/queue.ts similarity index 100% rename from src/shared/src/queue.ts rename to packages/shared/src/queue.ts diff --git a/packages/shared/tsconfig.json b/packages/shared/tsconfig.json new file mode 100644 index 000000000..17487e7aa --- /dev/null +++ b/packages/shared/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "@electron-toolkit/tsconfig/tsconfig.node.json", + "compilerOptions": { + "composite": true, + "types": ["electron-vite/node"], + "moduleResolution": "Bundler", + "noImplicitReturns": false, + "noUnusedLocals": false, + "noUnusedParameters": false, + "baseUrl": ".", + "paths": { + "@shared/*": ["./src/*"], + "@pkg": ["../../package.json"], + "@locales/*": ["../../locales/*"], + "~/*": ["./src/*"] + } + } +} diff --git a/patches/electron-context-menu.patch b/patches/electron-context-menu.patch new file mode 100644 index 000000000..01d80b8c0 --- /dev/null +++ b/patches/electron-context-menu.patch @@ -0,0 +1,12 @@ +diff --git a/index.js b/index.js +index b10daea2fbcee2eaeed9c61103eb89d93d4ee50d..5392745cdcdead1fbb39c17c42f3ed15f4141e35 100644 +--- a/index.js ++++ b/index.js +@@ -378,6 +378,7 @@ export default function contextMenu(options = {}) { + }; + + webContents(win).once('destroyed', disposable); ++ disposables.push(disposable); + }; + + const dispose = () => { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 82021cb2e..babd951fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,6 +12,9 @@ patchedDependencies: '@mozilla/readability@0.5.0': hash: fgkvsbckled47trggkhdkimzbm path: patches/@mozilla__readability@0.5.0.patch + electron-context-menu: + hash: c53at4t5fflixuwjz35hmcqdu4 + path: patches/electron-context-menu.patch hono: hash: iej2g43ojhll5opwbnvyorjq4e path: patches/hono.patch @@ -28,28 +31,55 @@ patchedDependencies: importers: .: - dependencies: - '@egjs/react-infinitegrid': - specifier: 4.12.0 - version: 4.12.0 - '@egoist/tipc': - specifier: 0.3.2 - version: 0.3.2(electron@32.1.0)(react@18.3.1) - '@electron-toolkit/preload': - specifier: ^3.0.1 - version: 3.0.1(electron@32.1.0) - '@electron-toolkit/utils': - specifier: ^3.0.0 - version: 3.0.0(electron@32.1.0) + devDependencies: + '@babel/generator': + specifier: 7.25.6 + version: 7.25.6 + '@clack/prompts': + specifier: 0.7.0 + version: 0.7.0 + '@egoist/tailwindcss-icons': + specifier: 1.8.1 + version: 1.8.1(tailwindcss@3.4.12) + '@electron-forge/cli': + specifier: 7.5.0 + version: 7.5.0(encoding@0.1.13) + '@electron-forge/maker-dmg': + specifier: 7.5.0 + version: 7.5.0 + '@electron-forge/maker-squirrel': + specifier: 7.5.0 + version: 7.5.0 + '@electron-forge/maker-zip': + specifier: 7.5.0 + version: 7.5.0 + '@electron-forge/plugin-fuses': + specifier: 7.5.0 + version: 7.5.0(@electron/fuses@1.8.0) + '@electron-forge/publisher-github': + specifier: 7.5.0 + version: 7.5.0(encoding@0.1.13) + '@electron-toolkit/tsconfig': + specifier: ^1.0.1 + version: 1.0.1(@types/node@22.5.5) '@fontsource/sn-pro': - specifier: 5.0.1 - version: 5.0.1 - '@hono/auth-js': - specifier: 1.0.10 - version: 1.0.10(@auth/core@0.34.2)(hono@4.6.1(patch_hash=iej2g43ojhll5opwbnvyorjq4e))(react@18.3.1) + specifier: 5.1.0 + version: 5.1.0 + '@hono/node-server': + specifier: 1.13.1 + version: 1.13.1(hono@4.6.2(patch_hash=iej2g43ojhll5opwbnvyorjq4e)) '@hookform/resolvers': specifier: 3.9.0 version: 3.9.0(react-hook-form@7.53.0(react@18.3.1)) + '@iconify-json/logos': + specifier: 1.2.0 + version: 1.2.0 + '@iconify-json/mingcute': + specifier: 1.2.0 + version: 1.2.0 + '@iconify-json/simple-icons': + specifier: ^1.2.3 + version: 1.2.3 '@iconify/tools': specifier: 4.0.6 version: 4.0.6 @@ -59,126 +89,168 @@ importers: '@mozilla/readability': specifier: ^0.5.0 version: 0.5.0(patch_hash=fgkvsbckled47trggkhdkimzbm) - '@radix-ui/react-alert-dialog': - specifier: 1.1.1 - version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-avatar': - specifier: 1.1.0 - version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-checkbox': - specifier: 1.1.1 - version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-context-menu': - specifier: 2.2.1 - version: 2.2.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-dialog': - specifier: 1.1.1 - version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-dropdown-menu': - specifier: 2.1.1 - version: 2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-hover-card': - specifier: 1.1.1 - version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-label': - specifier: 2.1.0 - version: 2.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-popover': - specifier: 1.1.1 - version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-radio-group': - specifier: 1.2.0 - version: 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-scroll-area': - specifier: 1.1.0 - version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-select': - specifier: 2.1.1 - version: 2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slider': - specifier: ^1.2.0 - version: 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slot': - specifier: 1.1.0 - version: 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-switch': - specifier: 1.1.0 - version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-tabs': - specifier: 1.1.0 - version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-toast': + '@pengx17/electron-forge-maker-appimage': specifier: 1.2.1 - version: 1.2.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-tooltip': - specifier: 1.1.2 - version: 1.1.2(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sentry/electron': - specifier: 5.4.0 - version: 5.4.0 - '@sentry/react': - specifier: 8.30.0 - version: 8.30.0(react@18.3.1) + version: 1.2.1(dmg-builder@25.0.5(electron-builder-squirrel-windows@25.0.5))(electron-builder-squirrel-windows@25.0.5(dmg-builder@25.0.5)) '@sentry/vite-plugin': specifier: 2.22.4 version: 2.22.4(encoding@0.1.13) - '@shikijs/transformers': - specifier: 1.17.0 - version: 1.17.0 '@t3-oss/env-core': specifier: ^0.11.1 version: 0.11.1(typescript@5.6.2)(zod@3.23.8) - '@tanstack/query-sync-storage-persister': - specifier: 5.56.0 - version: 5.56.0 - '@tanstack/react-query': - specifier: 5.56.0 - version: 5.56.0(react@18.3.1) - '@tanstack/react-query-devtools': - specifier: 5.56.0 - version: 5.56.0(@tanstack/react-query@5.56.0(react@18.3.1))(react@18.3.1) - '@tanstack/react-query-persist-client': - specifier: 5.56.0 - version: 5.56.0(@tanstack/react-query@5.56.0(react@18.3.1))(react@18.3.1) - '@use-gesture/react': - specifier: 10.3.1 - version: 10.3.1(react@18.3.1) - '@yornaath/batshit': - specifier: 0.10.1 - version: 0.10.1 - bufferutil: - specifier: 4.0.8 - version: 4.0.8 - builder-util-runtime: - specifier: 9.2.5 - version: 9.2.5 - class-variance-authority: - specifier: 0.7.0 - version: 0.7.0 - click-to-react-component: - specifier: 1.1.0 - version: 1.1.0(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - clsx: - specifier: 2.1.1 - version: 2.1.1 - cmdk: - specifier: 1.0.0 - version: 1.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - dayjs: - specifier: 1.11.13 - version: 1.11.13 - dexie: - specifier: 4.0.8 - version: 4.0.8 + '@tailwindcss/container-queries': + specifier: 0.1.1 + version: 0.1.1(tailwindcss@3.4.12) + '@tailwindcss/typography': + specifier: 0.5.15 + version: 0.5.15(tailwindcss@3.4.12) + '@types/lodash-es': + specifier: 4.17.12 + version: 4.17.12 + '@types/node': + specifier: ^22.5.5 + version: 22.5.5 + '@types/react': + specifier: ^18.3.8 + version: 18.3.8 + '@types/react-dom': + specifier: ^18.3.0 + version: 18.3.0 + '@vitejs/plugin-legacy': + specifier: 5.4.2 + version: 5.4.2(terser@5.32.0)(vite@5.4.7(@types/node@22.5.5)(terser@5.32.0)) + '@vitejs/plugin-react': + specifier: ^4.3.1 + version: 4.3.1(vite@5.4.7(@types/node@22.5.5)(terser@5.32.0)) + cssnano: + specifier: 7.0.6 + version: 7.0.6(postcss@8.4.47) dnum: specifier: ^2.13.1 version: 2.13.1 dotenv: specifier: 16.4.5 version: 16.4.5 + drizzle-orm: + specifier: 0.33.0 + version: 0.33.0(@opentelemetry/api@1.9.0)(@types/pg@8.11.8)(@types/react@18.3.8)(react@18.3.1) + electron: + specifier: 32.1.2 + version: 32.1.2 + electron-devtools-installer: + specifier: 3.2.0 + version: 3.2.0 + electron-packager-languages: + specifier: 0.5.0 + version: 0.5.0 + electron-vite: + specifier: ^2.3.0 + version: 2.3.0(vite@5.4.7(@types/node@22.5.5)(terser@5.32.0)) + eslint: + specifier: ^9.11.0 + version: 9.11.0(jiti@1.21.6) + eslint-config-hyoban: + specifier: ^3.1.6 + version: 3.1.6(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(tailwindcss@3.4.12)(typescript@5.6.2) + fake-indexeddb: + specifier: 6.0.0 + version: 6.0.0 + hono: + specifier: 4.6.2 + version: 4.6.2(patch_hash=iej2g43ojhll5opwbnvyorjq4e) + lint-staged: + specifier: 15.2.10 + version: 15.2.10 + nbump: + specifier: 2.0.4 + version: 2.0.4(conventional-commits-filter@5.0.0) + postcss: + specifier: 8.4.47 + version: 8.4.47 + postcss-js: + specifier: 4.0.1 + version: 4.0.1(postcss@8.4.47) + prettier: + specifier: 3.3.3 + version: 3.3.3 + react: + specifier: ^18.3.1 + version: 18.3.1 + react-dom: + specifier: ^18.3.1 + version: 18.3.1(react@18.3.1) + rimraf: + specifier: 6.0.1 + version: 6.0.1 + shx: + specifier: ^0.3.4 + version: 0.3.4 + simple-git-hooks: + specifier: 2.11.1 + version: 2.11.1 + tailwindcss: + specifier: 3.4.12 + version: 3.4.12 + tailwindcss-animate: + specifier: 1.0.7 + version: 1.0.7(tailwindcss@3.4.12) + tsup: + specifier: 8.3.0 + version: 8.3.0(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.2)(yaml@2.5.1) + tsx: + specifier: 4.19.1 + version: 4.19.1 + typescript: + specifier: ^5.6.2 + version: 5.6.2 + vite: + specifier: ^5.4.7 + version: 5.4.7(@types/node@22.5.5)(terser@5.32.0) + vite-bundle-analyzer: + specifier: 0.10.6 + version: 0.10.6 + vite-plugin-mkcert: + specifier: 1.17.6 + version: 1.17.6(vite@5.4.7(@types/node@22.5.5)(terser@5.32.0)) + vite-tsconfig-paths: + specifier: 5.0.1 + version: 5.0.1(typescript@5.6.2)(vite@5.4.7(@types/node@22.5.5)(terser@5.32.0)) + vitest: + specifier: '2.0' + version: 2.0.5(@types/node@22.5.5)(terser@5.32.0) + + apps/main: + dependencies: + '@egoist/tipc': + specifier: 0.3.2 + version: 0.3.2(electron@32.1.2)(react@18.3.1) + '@electron-toolkit/preload': + specifier: ^3.0.1 + version: 3.0.1(electron@32.1.2) + '@electron-toolkit/utils': + specifier: ^3.0.0 + version: 3.0.0(electron@32.1.2) + '@follow/shared': + specifier: workspace:* + version: link:../../packages/shared + '@mozilla/readability': + specifier: ^0.5.0 + version: 0.5.0(patch_hash=fgkvsbckled47trggkhdkimzbm) + '@sentry/electron': + specifier: 5.4.0 + version: 5.4.0 + builder-util-runtime: + specifier: 9.2.5 + version: 9.2.5 + dayjs: + specifier: 1.11.13 + version: 1.11.13 + dotenv: + specifier: 16.4.5 + version: 16.4.5 electron-context-menu: specifier: 4.0.4 - version: 4.0.4 + version: 4.0.4(patch_hash=c53at4t5fflixuwjz35hmcqdu4) electron-log: specifier: 5.2.0 version: 5.2.0 @@ -191,12 +263,214 @@ importers: font-list: specifier: 1.5.1 version: 1.5.1 + i18next: + specifier: ^23.15.1 + version: 23.15.1 + linkedom: + specifier: ^0.18.5 + version: 0.18.5 + lodash-es: + specifier: 4.17.21 + version: 4.17.21 + lowdb: + specifier: 7.0.1 + version: 7.0.1 + msedge-tts: + specifier: 1.3.4 + version: 1.3.4(bufferutil@4.0.8)(utf-8-validate@6.0.4) + nanoid: + specifier: 5.0.7 + version: 5.0.7 + ofetch: + specifier: 1.4.0 + version: 1.4.0 + posthog-js: + specifier: 1.163.0 + version: 1.163.0 + posthog-node: + specifier: 4.2.0 + version: 4.2.0 + semver: + specifier: 7.6.3 + version: 7.6.3 + vscode-languagedetection: + specifier: npm:@vscode/vscode-languagedetection@^1.0.22 + version: '@vscode/vscode-languagedetection@1.0.22' + devDependencies: + '@types/lodash-es': + specifier: 4.17.12 + version: 4.17.12 + '@types/node': + specifier: ^22.5.5 + version: 22.5.5 + electron: + specifier: 32.1.2 + version: 32.1.2 + electron-devtools-installer: + specifier: 3.2.0 + version: 3.2.0 + hono: + specifier: 4.6.2 + version: 4.6.2(patch_hash=iej2g43ojhll5opwbnvyorjq4e) + typescript: + specifier: ^5.6.2 + version: 5.6.2 + + apps/renderer: + dependencies: + '@egjs/react-infinitegrid': + specifier: 4.12.0 + version: 4.12.0 + '@egoist/tipc': + specifier: 0.3.2 + version: 0.3.2(electron@32.1.2)(react@18.3.1) + '@electron-toolkit/preload': + specifier: ^3.0.1 + version: 3.0.1(electron@32.1.2) + '@follow/electron-main': + specifier: workspace:* + version: link:../main + '@follow/shared': + specifier: workspace:* + version: link:../../packages/shared + '@fontsource/sn-pro': + specifier: 5.1.0 + version: 5.1.0 + '@headlessui/react': + specifier: 2.1.8 + version: 2.1.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@hono/auth-js': + specifier: 1.0.10 + version: 1.0.10(@auth/core@0.34.2)(hono@4.6.2(patch_hash=iej2g43ojhll5opwbnvyorjq4e))(react@18.3.1) + '@hookform/resolvers': + specifier: 3.9.0 + version: 3.9.0(react-hook-form@7.53.0(react@18.3.1)) + '@iconify/tools': + specifier: 4.0.6 + version: 4.0.6 + '@lottiefiles/dotlottie-react': + specifier: 0.8.12 + version: 0.8.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@microflash/remark-callout-directives': + specifier: 4.3.1 + version: 4.3.1 + '@mozilla/readability': + specifier: ^0.5.0 + version: 0.5.0(patch_hash=fgkvsbckled47trggkhdkimzbm) + '@radix-ui/react-alert-dialog': + specifier: 1.1.1 + version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-avatar': + specifier: 1.1.0 + version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-checkbox': + specifier: 1.1.1 + version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-context-menu': + specifier: 2.2.1 + version: 2.2.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-dialog': + specifier: 1.1.1 + version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-dropdown-menu': + specifier: 2.1.1 + version: 2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-hover-card': + specifier: 1.1.1 + version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-label': + specifier: 2.1.0 + version: 2.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-popover': + specifier: 1.1.1 + version: 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-radio-group': + specifier: 1.2.0 + version: 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-scroll-area': + specifier: 1.1.0 + version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-select': + specifier: 2.1.1 + version: 2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slider': + specifier: ^1.2.0 + version: 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': + specifier: 1.1.0 + version: 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-switch': + specifier: 1.1.0 + version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-tabs': + specifier: 1.1.0 + version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-toast': + specifier: 1.2.1 + version: 1.2.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-tooltip': + specifier: 1.1.2 + version: 1.1.2(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@sentry/react': + specifier: 8.30.0 + version: 8.30.0(react@18.3.1) + '@sentry/vite-plugin': + specifier: 2.22.4 + version: 2.22.4(encoding@0.1.13) + '@shikijs/transformers': + specifier: 1.18.0 + version: 1.18.0 + '@t3-oss/env-core': + specifier: ^0.11.1 + version: 0.11.1(typescript@5.6.2)(zod@3.23.8) + '@tanstack/query-sync-storage-persister': + specifier: 5.56.2 + version: 5.56.2 + '@tanstack/react-query': + specifier: 5.56.2 + version: 5.56.2(react@18.3.1) + '@tanstack/react-query-devtools': + specifier: 5.56.2 + version: 5.56.2(@tanstack/react-query@5.56.2(react@18.3.1))(react@18.3.1) + '@tanstack/react-query-persist-client': + specifier: 5.56.2 + version: 5.56.2(@tanstack/react-query@5.56.2(react@18.3.1))(react@18.3.1) + '@use-gesture/react': + specifier: 10.3.1 + version: 10.3.1(react@18.3.1) + '@yornaath/batshit': + specifier: 0.10.1 + version: 0.10.1 + class-variance-authority: + specifier: 0.7.0 + version: 0.7.0 + click-to-react-component: + specifier: 1.1.0 + version: 1.1.0(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + clsx: + specifier: 2.1.1 + version: 2.1.1 + cmdk: + specifier: 1.0.0 + version: 1.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + dayjs: + specifier: 1.11.13 + version: 1.11.13 + dexie: + specifier: 4.0.8 + version: 4.0.8 + dnum: + specifier: ^2.13.1 + version: 2.13.1 + electron-log: + specifier: 5.2.0 + version: 5.2.0 foxact: specifier: 0.2.38 version: 0.2.38(react@18.3.1) framer-motion: - specifier: 11.5.4 - version: 11.5.4(@emotion/is-prop-valid@0.8.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 11.5.6 + version: 11.5.6(@emotion/is-prop-valid@0.8.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) franc-min: specifier: 6.2.0 version: 6.2.0 @@ -222,38 +496,29 @@ importers: specifier: 10.1.1 version: 10.1.1(patch_hash=og7mbnoo5vh43tjlw5rbmrdbvu) jotai: - specifier: 2.9.3 - version: 2.9.3(@types/react@18.3.5)(react@18.3.1) + specifier: 2.10.0 + version: 2.10.0(@types/react@18.3.8)(react@18.3.1) lethargy: specifier: 1.0.9 version: 1.0.9 linkedom: - specifier: ^0.18.4 - version: 0.18.4 + specifier: ^0.18.5 + version: 0.18.5 lodash-es: specifier: 4.17.21 version: 4.17.21 - lowdb: - specifier: 7.0.1 - version: 7.0.1 - msedge-tts: - specifier: 1.3.4 - version: 1.3.4(bufferutil@4.0.8)(utf-8-validate@6.0.4) nanoid: specifier: 5.0.7 version: 5.0.7 ofetch: - specifier: 1.3.4 - version: 1.3.4 + specifier: 1.4.0 + version: 1.4.0 path-to-regexp: specifier: 8.1.0 version: 8.1.0 posthog-js: - specifier: 1.161.3 - version: 1.161.3 - posthog-node: - specifier: 4.2.0 - version: 4.2.0 + specifier: 1.163.0 + version: 1.163.0 re-resizable: specifier: 6.9.18 version: 6.9.18(patch_hash=yitcmpfwcomg2fky72uc3lhk2i)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -270,8 +535,8 @@ importers: specifier: 4.5.1 version: 4.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react-i18next: - specifier: ^15.0.1 - version: 15.0.1(i18next@23.15.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^15.0.2 + version: 15.0.2(i18next@23.15.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react-intersection-observer: specifier: 9.13.1 version: 9.13.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -281,6 +546,9 @@ importers: react-router-dom: specifier: 6.26.2 version: 6.26.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react-selecto: + specifier: 1.26.3 + version: 1.26.3 react-shadow: specifier: 20.5.0 version: 20.5.0(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -312,26 +580,23 @@ importers: specifier: 11.0.0 version: 11.0.0 remark-rehype: - specifier: 11.1.0 - version: 11.1.0 - semver: - specifier: 7.6.3 - version: 7.6.3 + specifier: 11.1.1 + version: 11.1.1 shiki: - specifier: 1.17.0 - version: 1.17.0 + specifier: 1.18.0 + version: 1.18.0 sonner: specifier: ^1.5.0 version: 1.5.0(patch_hash=6s3tquyt5wnkqaogymn3mkivuq)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) swiper: - specifier: 11.1.12 - version: 11.1.12 + specifier: 11.1.14 + version: 11.1.14 tailwind-merge: specifier: 2.5.2 version: 2.5.2 tldts: - specifier: 6.1.44 - version: 6.1.44 + specifier: 6.1.47 + version: 6.1.47 unified: specifier: 11.0.5 version: 11.0.5 @@ -341,181 +606,82 @@ importers: usehooks-ts: specifier: 3.1.0 version: 3.1.0(react@18.3.1) - utf-8-validate: - specifier: 6.0.4 - version: 6.0.4 vfile: specifier: 6.0.3 version: 6.0.3 - vscode-languagedetection: - specifier: npm:@vscode/vscode-languagedetection@^1.0.22 - version: '@vscode/vscode-languagedetection@1.0.22' zod: specifier: 3.23.8 version: 3.23.8 zustand: specifier: 4.5.5 - version: 4.5.5(@types/react@18.3.5)(immer@10.1.1(patch_hash=og7mbnoo5vh43tjlw5rbmrdbvu))(react@18.3.1) + version: 4.5.5(@types/react@18.3.8)(immer@10.1.1(patch_hash=og7mbnoo5vh43tjlw5rbmrdbvu))(react@18.3.1) devDependencies: '@babel/generator': specifier: 7.25.6 version: 7.25.6 - '@clack/prompts': - specifier: 0.7.0 - version: 0.7.0 - '@egoist/tailwindcss-icons': - specifier: 1.8.1 - version: 1.8.1(tailwindcss@3.4.11) - '@electron-forge/cli': - specifier: 7.4.0 - version: 7.4.0(encoding@0.1.13) - '@electron-forge/maker-dmg': - specifier: 7.4.0 - version: 7.4.0 - '@electron-forge/maker-squirrel': - specifier: 7.4.0 - version: 7.4.0 - '@electron-forge/maker-zip': - specifier: 7.4.0 - version: 7.4.0 - '@electron-forge/plugin-fuses': - specifier: 7.4.0 - version: 7.4.0(@electron/fuses@1.8.0) - '@electron-forge/publisher-github': - specifier: 7.4.0 - version: 7.4.0(encoding@0.1.13) - '@electron-toolkit/tsconfig': - specifier: ^1.0.1 - version: 1.0.1(@types/node@22.5.4) '@hono/node-server': - specifier: 1.12.2 - version: 1.12.2(hono@4.6.1(patch_hash=iej2g43ojhll5opwbnvyorjq4e)) - '@iconify-json/logos': - specifier: 1.2.0 - version: 1.2.0 - '@iconify-json/mingcute': - specifier: 1.2.0 - version: 1.2.0 - '@iconify-json/simple-icons': - specifier: ^1.2.2 - version: 1.2.2 - '@pengx17/electron-forge-maker-appimage': - specifier: 1.2.1 - version: 1.2.1(dmg-builder@25.0.5(electron-builder-squirrel-windows@25.0.5))(electron-builder-squirrel-windows@25.0.5(dmg-builder@25.0.5)) - '@tailwindcss/container-queries': - specifier: 0.1.1 - version: 0.1.1(tailwindcss@3.4.11) - '@tailwindcss/typography': - specifier: 0.5.15 - version: 0.5.15(tailwindcss@3.4.11) + specifier: 1.13.1 + version: 1.13.1(hono@4.6.2(patch_hash=iej2g43ojhll5opwbnvyorjq4e)) '@types/lodash-es': specifier: 4.17.12 version: 4.17.12 '@types/node': - specifier: ^22.5.4 - version: 22.5.4 + specifier: ^22.5.5 + version: 22.5.5 '@types/react': - specifier: ^18.3.5 - version: 18.3.5 + specifier: ^18.3.8 + version: 18.3.8 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 - '@vercel/ncc': - specifier: 0.38.1 - version: 0.38.1 - '@vitejs/plugin-legacy': - specifier: 5.4.2 - version: 5.4.2(terser@5.32.0)(vite@5.4.4(@types/node@22.5.4)(terser@5.32.0)) - '@vitejs/plugin-react': - specifier: ^4.3.1 - version: 4.3.1(vite@5.4.4(@types/node@22.5.4)(terser@5.32.0)) - cssnano: - specifier: 7.0.6 - version: 7.0.6(postcss@8.4.45) - drizzle-orm: - specifier: 0.33.0 - version: 0.33.0(@opentelemetry/api@1.9.0)(@types/pg@8.11.8)(@types/react@18.3.5)(react@18.3.1) - electron: - specifier: 32.1.0 - version: 32.1.0 - electron-devtools-installer: - specifier: 3.2.0 - version: 3.2.0 - electron-packager-languages: - specifier: 0.5.0 - version: 0.5.0 - electron-vite: - specifier: ^2.3.0 - version: 2.3.0(vite@5.4.4(@types/node@22.5.4)(terser@5.32.0)) - eslint: - specifier: ^9.10.0 - version: 9.10.0(jiti@1.21.6) - eslint-config-hyoban: - specifier: ^3.1.5 - version: 3.1.5(@typescript-eslint/eslint-plugin@8.4.0(@typescript-eslint/parser@8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(tailwindcss@3.4.11)(typescript@5.6.2) fake-indexeddb: specifier: 6.0.0 version: 6.0.0 - hono: - specifier: 4.6.1 - version: 4.6.1(patch_hash=iej2g43ojhll5opwbnvyorjq4e) - lint-staged: - specifier: 15.2.10 - version: 15.2.10 - nbump: - specifier: 2.0.4 - version: 2.0.4(conventional-commits-filter@5.0.0) - postcss: - specifier: 8.4.45 - version: 8.4.45 - postcss-js: - specifier: 4.0.1 - version: 4.0.1(postcss@8.4.45) - prettier: - specifier: 3.3.3 - version: 3.3.3 react: specifier: ^18.3.1 version: 18.3.1 react-dom: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) - rimraf: - specifier: 6.0.1 - version: 6.0.1 - shx: - specifier: ^0.3.4 - version: 0.3.4 - simple-git-hooks: - specifier: 2.11.1 - version: 2.11.1 - tailwindcss: - specifier: 3.4.11 - version: 3.4.11 - tailwindcss-animate: - specifier: 1.0.7 - version: 1.0.7(tailwindcss@3.4.11) - tsx: - specifier: 4.19.1 - version: 4.19.1 typescript: specifier: ^5.6.2 version: 5.6.2 - vite: - specifier: ^5.4.4 - version: 5.4.4(@types/node@22.5.4)(terser@5.32.0) - vite-bundle-analyzer: - specifier: 0.10.6 - version: 0.10.6 - vite-plugin-mkcert: - specifier: 1.17.6 - version: 1.17.6(vite@5.4.4(@types/node@22.5.4)(terser@5.32.0)) - vite-tsconfig-paths: - specifier: 5.0.1 - version: 5.0.1(typescript@5.6.2)(vite@5.4.4(@types/node@22.5.4)(terser@5.32.0)) - vitest: - specifier: 2.0.5 - version: 2.0.5(@types/node@22.5.4)(terser@5.32.0) + + packages/shared: + dependencies: + '@electron-toolkit/preload': + specifier: ^3.0.1 + version: 3.0.1(electron@32.1.2) + '@electron-toolkit/tsconfig': + specifier: ^1.0.1 + version: 1.0.1(@types/node@22.5.5) + '@hono/node-server': + specifier: ^1.13.1 + version: 1.13.1(hono@4.6.2(patch_hash=iej2g43ojhll5opwbnvyorjq4e)) + '@t3-oss/env-core': + specifier: ^0.11.1 + version: 0.11.1(typescript@5.6.2)(zod@3.23.8) + drizzle-orm: + specifier: ^0.33.0 + version: 0.33.0(@opentelemetry/api@1.9.0)(@types/pg@8.11.8)(@types/react@18.3.8)(react@18.3.1) + electron: + specifier: ^32.1.2 + version: 32.1.2 + hono: + specifier: ^4.6.2 + version: 4.6.2(patch_hash=iej2g43ojhll5opwbnvyorjq4e) + react: + specifier: ^18.3.1 + version: 18.3.1 + react-dom: + specifier: ^18.3.1 + version: 18.3.1(react@18.3.1) + sonner: + specifier: ^1.5.0 + version: 1.5.0(patch_hash=6s3tquyt5wnkqaogymn3mkivuq)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + zod: + specifier: ^3.23.8 + version: 3.23.8 packages: @@ -526,13 +692,13 @@ packages: resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} engines: {node: '>=10'} + '@altano/repository-tools@0.1.1': + resolution: {integrity: sha512-5vbUs2A98CC3g1AlOBdkBE0BMukkLjLIsMHAtuxg6Pt9dQXxYWdLKOf66v6c/vIqtNcgTMv0oGtddLdMuH9X6w==} + '@ampproject/remapping@2.3.0': resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} - '@antfu/install-pkg@0.4.0': - resolution: {integrity: sha512-vI73C0pFA9L+5v+djh0WSLXb8qYQGH5fX8nczaFe1OTI/8Fh03JS1Mov1V7urb6P3A2cBlBqZNjJIKv54+zVRw==} - '@antfu/install-pkg@0.4.1': resolution: {integrity: sha512-T7yB5QNG29afhWVkVq7XeIMBa5U/vs9mX69YqayXypPRmYzUmzwnYltplHmPtZ4HPCn+sQKeXW8I47wCbuBOjw==} @@ -664,11 +830,6 @@ packages: resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} engines: {node: '>=6.9.0'} - '@babel/parser@7.25.4': - resolution: {integrity: sha512-nq+eWrOgdtu3jG5Os4TQP3x3cLA8hR8TvJNjD8vnPa20WGycimcparWnLK4jJhElTK6SDyuJo1weMKO/5LpmLA==} - engines: {node: '>=6.0.0'} - hasBin: true - '@babel/parser@7.25.6': resolution: {integrity: sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==} engines: {node: '>=6.0.0'} @@ -1141,18 +1302,10 @@ packages: resolution: {integrity: sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.25.4': - resolution: {integrity: sha512-VJ4XsrD+nOvlXyLzmLzUs/0qjFS4sK30te5yEFlvbbUNEgKaVb2BHZUpAL+ttLPQAHNrsI3zZisbfha5Cvr8vg==} - engines: {node: '>=6.9.0'} - '@babel/traverse@7.25.6': resolution: {integrity: sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==} engines: {node: '>=6.9.0'} - '@babel/types@7.25.4': - resolution: {integrity: sha512-zQ1ijeeCXVEh+aNL0RlmkPkG8HUiDcU2pzQQFjtbntgAczRASFzj4H+6+bV+dy1ntKR14I/DypeuRG1uma98iQ==} - engines: {node: '>=6.9.0'} - '@babel/types@7.25.6': resolution: {integrity: sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==} engines: {node: '>=6.9.0'} @@ -1163,6 +1316,9 @@ packages: '@cfcs/core@0.0.5': resolution: {integrity: sha512-TZ/RXKV7MUrqFpiX+16uaaptv5jgChWNsuE6w8Rn3eJbO1PFd4Wpn25zeJbii7ch46ck8/ZIIYCcW3pHiYtm4Q==} + '@cfcs/core@0.0.6': + resolution: {integrity: sha512-FxfJMwoLB8MEMConeXUCqtMGqxdtePQxRBOiGip9ULcYYam3WfCgoY6xdnMaSkYvRvmosp5iuG+TiPofm65+Pw==} + '@clack/core@0.3.4': resolution: {integrity: sha512-H4hxZDXgHtWTwV3RAVenqcC4VbJZNegbBjlPvzOzCouXtS2y3sDvlO3IsbrPNWuLWPPlYVYPghQdSF64683Ldw==} @@ -1183,6 +1339,9 @@ packages: conventional-commits-parser: optional: true + '@daybrush/utils@1.13.0': + resolution: {integrity: sha512-ALK12C6SQNNHw1enXK+UO8bdyQ+jaWNQ1Af7Z3FNxeAwjYhQT7do+TRE4RASAJ3ObaS2+TJ7TXR3oz2Gzbw0PQ==} + '@develar/schema-utils@2.6.5': resolution: {integrity: sha512-0cp4PsWQ/9avqTVMCtZ+GirikIA36ikvjtHweU4/j8yLtgObI0+JUPhYFScgwlteveGB1rt3Cm8UhN04XayDig==} engines: {node: '>= 8.9.0'} @@ -1218,81 +1377,93 @@ packages: peerDependencies: electron: '>=26.0.0' - '@electron-forge/cli@7.4.0': - resolution: {integrity: sha512-a+zZv3ja/IxkJzNyx4sOHSZv6DPV85S0PEVF6pcRjUpbDL5r+DxjRFsNc0Nq4UIWyFm1nw7RWoPdd9uDst4Tvg==} + '@electron-forge/cli@7.5.0': + resolution: {integrity: sha512-dlxr4ac5ONWs1Wmbgh18rclxcp9Fe5SzCF9ookp08Z1w4YP9FbQd1SHs0oLKWLF6qH9qdX8H2EWB9Nt6tOzC5g==} engines: {node: '>= 16.4.0'} hasBin: true - '@electron-forge/core-utils@7.4.0': - resolution: {integrity: sha512-9RLG0F9SX466TpkaTcW+V15KmnGuTpmr7NKMRlngtHXmnkBUJz4Mxp1x33WZLgL90dJrxrRgHSfVBtA4lstDPw==} + '@electron-forge/core-utils@7.5.0': + resolution: {integrity: sha512-PtyQT6qeOEJsi4ltoB7Jb6YUUCwK3gDt5gVyAF2aJ8eZi9rJ0hasHc5vjcmBaz9FwDMjYZrBD8oRBhNgbhEakQ==} engines: {node: '>= 16.4.0'} - '@electron-forge/core@7.4.0': - resolution: {integrity: sha512-pYHKpB2CKeQgWsb+gox+FPkEvP+6Q2zGj2eZtgZRtKppoWIXrHIpOtcm6FllJ/gZ5u4AsQzVIYReAHGaBa0osw==} + '@electron-forge/core@7.5.0': + resolution: {integrity: sha512-Hg/fXabRZtMbyrtnpzpb3i49qNai+juCg+6bgyjYfWgJGr5VGH947lWd7skujH5qJ+Y7FgvANDGnenZuQwxZNw==} engines: {node: '>= 16.4.0'} '@electron-forge/maker-base@7.4.0': resolution: {integrity: sha512-LwWS4VPdwjISl1KpLhmM1Qr1M3sRTTQ/RsX+GlFd7cQ1W/FsgxMjaTG4Od1d+a5CGVTh3s6X2g99TSUfxjOveg==} engines: {node: '>= 16.4.0'} - '@electron-forge/maker-dmg@7.4.0': - resolution: {integrity: sha512-xRCMNtnpvQNwrDYvwbVFegnErnIMpHGZANrjwushlH9+Fsu60DFvf5s3AVkgsYdQTqlY7wYRG1mziYZmRlPAIw==} + '@electron-forge/maker-base@7.5.0': + resolution: {integrity: sha512-+jluKW2UPxaI1+qQQ8fqaUVVbZohRjOSF0Iti7STRFbgJKJitzPB24Cjji9qJCKIx5klMeEiwp0YPAE/d9Xt8g==} engines: {node: '>= 16.4.0'} - '@electron-forge/maker-squirrel@7.4.0': - resolution: {integrity: sha512-mCQyufnSNfjffiKho59ZqVg4W601zGOl6h01OyfDwjOU/G4iQtpnnDEOXGe26q7OVT5ORb1WDnfyGgBeJ6Ge7g==} + '@electron-forge/maker-dmg@7.5.0': + resolution: {integrity: sha512-OcySukBT6FQJRbb0CKXnre4e0JinJfDGteCOLypB8UsN5Wg/4lIDB0hMhBmWGPJkZXKUDGkB1lhkdcLKbzT50Q==} engines: {node: '>= 16.4.0'} - '@electron-forge/maker-zip@7.4.0': - resolution: {integrity: sha512-UGbMdpuK/P29x1FFRWNOs3bNz+7QNFWVWyTM5hcWqib66cNuUmoaPifQyuwW2POIrIohrxlzLK87/i9Zc8g4dA==} + '@electron-forge/maker-squirrel@7.5.0': + resolution: {integrity: sha512-fz3vbp1BnbQWeZVVM3lKOGhrCVKLjAXKDTntBL2+8Rz02a63eozGjOtC5KZYXax6nM4TF6LvwjagY/qTs5jFag==} engines: {node: '>= 16.4.0'} - '@electron-forge/plugin-base@7.4.0': - resolution: {integrity: sha512-LcTNtEc2YaWvhhqWVIfdJ+J0/krSgc2dqYAHhOH2aLUSm9End3dKO/PZ1Y6DPsiPiJKHnSLBJ/XBN/16NY4Sjw==} + '@electron-forge/maker-zip@7.5.0': + resolution: {integrity: sha512-gIO3bEbubOJqWV6kd0b9nBwTrFfFQv/K8PAqg6e0uSZiy7QuSCFZVAZse02gO3AzxVDSVjjTQ4nmXBXC4Glh1A==} engines: {node: '>= 16.4.0'} - '@electron-forge/plugin-fuses@7.4.0': - resolution: {integrity: sha512-LKcyIaO0sUkzZdOB1PySjG1R9KAl5Vi453ZQcambBI7RpZtPKozluNd0zlXey1cf7ycTwhzvmrI6ss3LHQyjvw==} + '@electron-forge/plugin-base@7.5.0': + resolution: {integrity: sha512-44AbXSb5lDY8uHIo0mJ91atOSWgxv3iuECk07/gDBiuMPX62dwHnLteEjQF4GBXJZTpnV7SxhD+d2AUBQmoojw==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/plugin-fuses@7.5.0': + resolution: {integrity: sha512-nF5C4TN/rzN95F5HwAkyYTgy44Mu3EAys8O5zShzg7rye8d5BTnx2peAGtROZcChSaHRql09EeoOswNtuJNMcw==} engines: {node: '>= 16.4.0'} peerDependencies: '@electron/fuses': '>=1.0.0' - '@electron-forge/publisher-base@7.4.0': - resolution: {integrity: sha512-PiJk4RfaC55SnVnteLW2ZIQNM9DpGOi6YoUn5t8i9UcVp2rFIdya7bJY/b9u1hwubm4d5+TdypMVEuJjM44CJQ==} + '@electron-forge/publisher-base@7.5.0': + resolution: {integrity: sha512-PcF3jWA+oXRwNVWjKW6GxHJywJ62QXpYF/8SMs7kgKzBDzLqrbUnWuaXoCP5kCP+AxM495ZU5L2dyJek1eM+VA==} engines: {node: '>= 16.4.0'} - '@electron-forge/publisher-github@7.4.0': - resolution: {integrity: sha512-hrxKNssJyU8Yuz0qv384y5RKojMG0nWeG7/kidjp8PX/RnqjGRU/JJ0Worl28g8LGiLt5R5JIfNLngLaFMn8tg==} + '@electron-forge/publisher-github@7.5.0': + resolution: {integrity: sha512-876lMpsNzVcfJ0sdq/aP93dal7mMcnEa78AQoQb/vmewvwR7TtNjYyv/+Wtyu/M/BVyZ4sZB8Dd/C2xOMFSyrQ==} engines: {node: '>= 16.4.0'} '@electron-forge/shared-types@7.4.0': resolution: {integrity: sha512-5Ehy6enUjBaU08odf9u9TOhmOVXlqobzMvKUixtkdAWgV1XZAUJmn+p21xhj0IkO92MQiXMGv66w9pDNjRT8uQ==} engines: {node: '>= 16.4.0'} - '@electron-forge/template-base@7.4.0': - resolution: {integrity: sha512-3YWdRSGzQfQPQkQxStn2wkJ/SuNGGKo9slwFJGvqMV+Pbx3/M/hYi9sMXOuaqVZgeaBp8Ap27yFPxaIIOC3vcA==} + '@electron-forge/shared-types@7.5.0': + resolution: {integrity: sha512-VXuLVGYa3ZulBlmjA40ZEpk+iPH5ebN0v7t27wDt3rm23bph2aQrL7uSTLXhobenXYBVKggXnQt6rJ9A7FCDNQ==} engines: {node: '>= 16.4.0'} - '@electron-forge/template-vite-typescript@7.4.0': - resolution: {integrity: sha512-wdByG807VWcUd81E6572b/G/Ki8gb+GrCIWxO7Cl3qBa+yNaU1sHhBwB1RyTbQy1r8ubSBtsWrRD1J/yzHKWoQ==} + '@electron-forge/template-base@7.5.0': + resolution: {integrity: sha512-wEz4FI90jje4FdwJ4FzqUejodfioNcJjlgG2Ci1FiRn4Qv0jX4MP8SEgKmnD44181/44HgMa429zxRv/fDYzOw==} engines: {node: '>= 16.4.0'} - '@electron-forge/template-vite@7.4.0': - resolution: {integrity: sha512-YPVyCGiBKmZPCxK/Bd2louV3PBcxI2nT2+tRKP+mlEHOWrxbZIfmZSR2lIAFvK/ALKlwUKROdmlwyi7ZcdT7JQ==} + '@electron-forge/template-vite-typescript@7.5.0': + resolution: {integrity: sha512-bD9QQ6uEsDHp6/V7odCkoK53egy0A4LEh++F1VYFt7SWJ5+InkcSLww7ELz2hrNmpmXb+euRrNagL1gorPToSA==} engines: {node: '>= 16.4.0'} - '@electron-forge/template-webpack-typescript@7.4.0': - resolution: {integrity: sha512-O5gwjNSGFNRdJWyiCtevcOBDPAMhgOPvLORh9qR1GcjyTutWwHWmZzycqH+MmkhpQPgrAYDEeipXcOQhSbzNZA==} + '@electron-forge/template-vite@7.5.0': + resolution: {integrity: sha512-AkMO5nW5jC8ijCYeoAK7hu+K5o7NMoHNsn71eepJ/kjOnSxXjJeBVGmP4DgzF2zc6AgeRz2TCKx6P8GUtFG5cw==} engines: {node: '>= 16.4.0'} - '@electron-forge/template-webpack@7.4.0': - resolution: {integrity: sha512-W558AEGwQrwEtKIbIJPPs0LIsaC/1Vncj5NgqKehEMJjBb0KQq4hwBu/6dauQrfun4jRCOp7LV+OVrf5XPJ7QA==} + '@electron-forge/template-webpack-typescript@7.5.0': + resolution: {integrity: sha512-Q11xAzFxWtES0bwykMd8MAzrVRtmSruXQxQIvqM7Qf3VmU8joq8v5njmn13LeCDkcRGjALiJqO8EsgsW3bttNw==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/template-webpack@7.5.0': + resolution: {integrity: sha512-Il9dO4VMhxibsYTsKRkccWUN3WFg55PEQFL93oarFcEtAT3sjMx/1bZDj/2AIHqbwIf7IrCylPKiPP2uUNOM9Q==} engines: {node: '>= 16.4.0'} '@electron-forge/tracer@7.4.0': resolution: {integrity: sha512-F4jbnDn4yIZjmky1FZ6rgBKTM05AZQQfHkyJW2hdS4pDKJjdKAqWytoZKDi1/S6Cr6tN+DD0TFGD3V0i6HPHYQ==} engines: {node: '>= 14.17.5'} + '@electron-forge/tracer@7.5.0': + resolution: {integrity: sha512-1dE0wKCmv/K3BXCH70o2jp/y2kXgZQm73gIvzyadySXYwu2L4BWxhAO+Q+JsnbUk+nclHEup5ph4D0JoPIWLcQ==} + engines: {node: '>= 14.17.5'} + '@electron-toolkit/preload@3.0.1': resolution: {integrity: sha512-EzoQmpK8jqqU8YnM5jRe0GJjGVJPke2KtANqz8QtN2JPT96ViOvProBdK5C6riCm0j1T8jjAGVQCZLQy9OVoIA==} peerDependencies: @@ -1313,6 +1484,11 @@ packages: engines: {node: '>=10.12.0'} hasBin: true + '@electron/asar@3.2.13': + resolution: {integrity: sha512-pY5z2qQSwbFzJsBdgfJIzXf5ElHTVMutC2dxh0FD60njknMu3n1NnTABOcQwbb5/v5soqE79m9UjaJryBf3epg==} + engines: {node: '>=10.12.0'} + hasBin: true + '@electron/fuses@1.8.0': resolution: {integrity: sha512-zx0EIq78WlY/lBb1uXlziZmDZI4ubcCXIMJ4uGjXzZW0nS19TjSPeXPAjzzTmKQlJUZm0SbmZhPKP7tuQ1SsEw==} hasBin: true @@ -1352,6 +1528,11 @@ packages: engines: {node: '>= 16.13.0'} hasBin: true + '@electron/packager@18.3.5': + resolution: {integrity: sha512-ClgTxXTt3MesWAcjIxIkgxELjTcllw1FRoVsihP7uT48kpDMqI71p4XvnMWbq8PvU57TcrKICAaLkxRhbc+/wQ==} + engines: {node: '>= 16.13.0'} + hasBin: true + '@electron/rebuild@3.6.0': resolution: {integrity: sha512-zF4x3QupRU3uNGaP5X1wjpmcjfw1H87kyqZ00Tc3HvriV+4gmOGuvQjGNkrJuXdsApssdNyVwLsy+TaeTGGcVw==} engines: {node: '>=12.13.0'} @@ -1672,14 +1853,14 @@ packages: resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint-react/ast@1.13.1': - resolution: {integrity: sha512-pMAfQ4RWugwhPZJyD5KdPamaniW6XRehcMgGQLcpEyQejOWRF79Zfj7/Rwbt5tmNgymJs/8G0ySw8npswKh8Tg==} + '@eslint-react/ast@1.14.1': + resolution: {integrity: sha512-FzhWRl/kBF5cZky4G/I5kkRiwVUTjGNfP+fwwx94NImaH1CvnMk6ataBNNtvxXKrbWGpZSexT4vHjotfZTEXMA==} - '@eslint-react/core@1.13.1': - resolution: {integrity: sha512-ZphfhweurpMmGxiMSvPbvqibrK9IN53fCs63YUNONw5xM2QCdqyozamRZlh376YqCuPXl//eqigryXRNLr6Wzw==} + '@eslint-react/core@1.14.1': + resolution: {integrity: sha512-SK19+40fAYWtliPV9cRIZr0cnKIBkQJE8XWr0R2QobrWw2tkKKYqCLWwR0TpuxrjAd/JpG5TTcPHAgffCRtliw==} - '@eslint-react/eslint-plugin@1.13.1': - resolution: {integrity: sha512-k0jv+vJawZ/5CFGqhfiQ1VqRrGGHOs7y+ooNcenci84bb2cBMJXwuR0IvJx+Cyvih7X/BxpRmdRAzQYP8CSRyg==} + '@eslint-react/eslint-plugin@1.14.1': + resolution: {integrity: sha512-aMuUJrSbUCj/+S4McaMNuEg2R8JA8aZVLgdLf5bYuNi7YYpZ7kIMaKdlLW53UlaER9kRb8lrorFUL3cyg7Yc4w==} engines: {bun: '>=1.0.15', node: '>=18.18.0'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1688,20 +1869,20 @@ packages: typescript: optional: true - '@eslint-react/jsx@1.13.1': - resolution: {integrity: sha512-fxcJe7PKUSslRBwpyYDuS57ZnX2TjbvONg2EkM/KDqcgRW43f6RNief6pyZaeI5Q85WveKKNSynexRCh2buCOg==} + '@eslint-react/jsx@1.14.1': + resolution: {integrity: sha512-NN8pIM3gZDk7Zusd2fFBaA78Zv98PxBDEBP/lxwSZNkuuUtgrHEBYWKRYs10hz1B6Vp1bvhIcnLO/BQThvJJog==} - '@eslint-react/shared@1.13.1': - resolution: {integrity: sha512-GTJNQJh2Ne4JD2SY+t3E6Rc1qPBssq+xC7m8aNivWmY6IUb76ePAy7uhoc+xT+Np0yXN1DK/tHO1XAJ8WaX2bA==} + '@eslint-react/shared@1.14.1': + resolution: {integrity: sha512-gceHz2fZeJh+EwxQC+ozh+cFbnpDALnDxpamDFxZI1QRdy0wtrB0MjJFSSZ9F6WUITWxoic2T3071U9BCjI3/Q==} - '@eslint-react/tools@1.13.1': - resolution: {integrity: sha512-Wt6IcAVk91+7OQVUU6GpqgPZuEZQXbp4YtFavZHEyt8bNkABQp26nQiOX06et/Ax3TSPw/OA9GcWHMjQgVO8Qw==} + '@eslint-react/tools@1.14.1': + resolution: {integrity: sha512-4kutt+JCXuLatE6fBuNJ6IA2+ndgdymEvq/HQuhW2Xs6+pEqaxwrHT2GeaQbc5U8pfJCEWAYvYX1r0XF/v9gJQ==} - '@eslint-react/types@1.13.1': - resolution: {integrity: sha512-MVhBr3XYvug0UZHqbW3uxIVNJsjMi8nAxOtK94ZKNJcI+WHG7N4PXV/TO6SE04GLq+QfKq164l4awwE29wFKPQ==} + '@eslint-react/types@1.14.1': + resolution: {integrity: sha512-WWw6e8/EHMIMOmN3SvvfiNyKJdQOrt1ugTAJIPHnNyKzOgCKhpN0xbtIQY3ghjhAm3GBO87aWB42q6a/YZd00w==} - '@eslint-react/var@1.13.1': - resolution: {integrity: sha512-C6DNNbAdIieRl00q08RUA3l5tW3Mh8noB6E8dXHWY+o0Xp28cnSBocf92d3dYJZAREJiNoyOyxyQhNUlCnTL5w==} + '@eslint-react/var@1.14.1': + resolution: {integrity: sha512-dzjwC4XM5v3aT1pc+1JxV3aZne4eyjiu+/ajkpCgnDM7Cual63uaHNBTE4LBUQiA2/oYU4iHAa9EcEn31k3EhA==} '@eslint/compat@1.1.1': resolution: {integrity: sha512-lpHyRyplhGPL5mGEh6M9O5nnKk0Gz4bFI+Zu6tKlPpDUN7XshWvH9C/px4UVm87IAANE0W81CEsNGbS1KlzXpA==} @@ -1719,12 +1900,16 @@ packages: resolution: {integrity: sha512-fuXtbiP5GWIn8Fz+LWoOMVf/Jxm+aajZYkhi6CuEm4SxymFM+eUWzbO9qXT+L0iCkL5+KGYMCSGxo686H19S1g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/js@9.11.0': + resolution: {integrity: sha512-LPkkenkDqyzTFauZLLAPhIb48fj6drrfMvRGSL9tS3AcZBSVTllemLSNyCvHNNL2t797S/6DJNSIwRwXgMO/eQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/object-schema@2.1.4': resolution: {integrity: sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/plugin-kit@0.1.0': - resolution: {integrity: sha512-autAXT203ixhqei9xt+qkYOvY8l6LAFIdT2UXc/RPNeUVfqRF1BV94GTJyVPFKT8nFM6MyVJhjLj9E8JWvf5zQ==} + '@eslint/plugin-kit@0.2.0': + resolution: {integrity: sha512-vH9PiIMMwvhCx31Af3HiGzsVNULDbyVkHXwlemn/B0TFj/00ho3y55efXrUZTfQipxoHC5u4xq6zblww1zm1Ig==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@floating-ui/core@0.6.2': @@ -1755,15 +1940,37 @@ packages: react: '>=16.8.0' react-dom: '>=16.8.0' + '@floating-ui/react-dom@2.1.2': + resolution: {integrity: sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==} + peerDependencies: + react: '>=16.8.0' + react-dom: '>=16.8.0' + + '@floating-ui/react@0.26.24': + resolution: {integrity: sha512-2ly0pCkZIGEQUq5H8bBK0XJmc1xIK/RM3tvVzY3GBER7IOD1UgmC2Y2tjj4AuS+TC+vTE1KJv2053290jua0Sw==} + peerDependencies: + react: '>=16.8.0' + react-dom: '>=16.8.0' + '@floating-ui/utils@0.2.7': resolution: {integrity: sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==} - '@fontsource/sn-pro@5.0.1': - resolution: {integrity: sha512-Bxx3/qxfadd4Fdjy8xn0kPCaiUf3ma/Kra6+9TmNR/pQhCdAvZtZgSkG8O1Z+3Yt6KE27CuG/OjpAkZ8Bh6VgQ==} + '@floating-ui/utils@0.2.8': + resolution: {integrity: sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig==} + + '@fontsource/sn-pro@5.1.0': + resolution: {integrity: sha512-k7cdU1hftD/pyrnrmQg+egKAssbuPORbtgQM/9JG5b76EchEKZdl/juO8xBjN3O/H5BQ16iu8/9vNPgzyExZeg==} '@gar/promisify@1.1.3': resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==} + '@headlessui/react@2.1.8': + resolution: {integrity: sha512-uajqVkAcVG/wHwG9Fh5PFMcFpf2VxM4vNRNKxRjuK009kePVur8LkuuygHfIE+2uZ7z7GnlTtYsyUe6glPpTLg==} + engines: {node: '>=10'} + peerDependencies: + react: ^18 + react-dom: ^18 + '@hono/auth-js@1.0.10': resolution: {integrity: sha512-hnkZzPMHveX2GzX/zS53uP6OqzB6SCtJCaimXdjewCWWiNi4FFtv1jcsca3PV7haiaLKict5JPZWzfMq+t3Bzw==} engines: {node: '>=18.4.0'} @@ -1772,8 +1979,8 @@ packages: hono: '>=3.*' react: '>=18' - '@hono/node-server@1.12.2': - resolution: {integrity: sha512-xjzhqhSWUE/OhN0g3KCNVzNsQMlFUAL+/8GgPUr3TKcU7cvgZVBGswFofJ8WwGEHTqobzze1lDpGJl9ZNckDhA==} + '@hono/node-server@1.13.1': + resolution: {integrity: sha512-TSxE6cT5RHnawbjnveexVN7H2Dpn1YaLxQrCOLCUwD+hFbqbFsnJBgdWcYtASqtWVjA+Qgi8uqFug39GsHjo5A==} engines: {node: '>=18.14.1'} peerDependencies: hono: ^4 @@ -1801,8 +2008,8 @@ packages: '@iconify-json/mingcute@1.2.0': resolution: {integrity: sha512-XEAOnEMwkv8BkHaeBZqiyVytrCBH8GffhUr7ozWeU77s5vodYq9J/hdWVK/cTah7PwcYSrzfXBkXjIek+u3+XQ==} - '@iconify-json/simple-icons@1.2.2': - resolution: {integrity: sha512-VMgCoMnpvcCJ5b3rTOGPzW5j6959nIdRCk+8FGzK/vAaDd6f9sx65OcKOqP3C75llpybH/iQhk5yrJ/TOdQKeg==} + '@iconify-json/simple-icons@1.2.3': + resolution: {integrity: sha512-KZpqyPkDdyAvrpMz9/FYovwFsr3xrHf9esJeBng3iqNInhuZhF33XO1k6Yf8g2p10ynUW7AYEiGJkYzDi4DENQ==} '@iconify/tools@4.0.6': resolution: {integrity: sha512-riEQggXVuZNXjRdo+aKT0rkzn2XHslIqat8mdW/oVu5mLmP/95Hi+iaq4keT7WwMD97jsYPXMQ6QMCw0EWpRNw==} @@ -1810,9 +2017,6 @@ packages: '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} - '@iconify/utils@2.1.31': - resolution: {integrity: sha512-WCu65iVaFRXyGU+op12XVbDZgIov0vzMIlUokZ1WR42cU2wwYMks/pZY8v0tE72W8ShXVaprO79Jv6EjYm3Sjw==} - '@iconify/utils@2.1.32': resolution: {integrity: sha512-LeifFZPPKu28O3AEDpYJNdEbvS4/ojAPyIW+pF/vUpJTYnbTiXUHkCh0bwgFRzKvdpb8H4Fbfd/742++MF4fPQ==} @@ -1847,6 +2051,15 @@ packages: '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + '@lottiefiles/dotlottie-react@0.8.12': + resolution: {integrity: sha512-6S9q5mH2l8JDnKAruAq4NP7bzHVzJNUt8UsXONfveSyJPUgT5hGw5b5vCjW19Ra3hgN/d69qUtRLHfmyRAgblQ==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + + '@lottiefiles/dotlottie-web@0.33.0': + resolution: {integrity: sha512-/KerIs0UkmwuDKYWlNGWYSSZkZaLNXXHqg6qCnP7P2JuzgI4bHRmlIk3+LoJjl/jWqd3WyI4t5oRV6ch0sQwvg==} + '@malept/cross-spawn-promise@1.1.1': resolution: {integrity: sha512-RTBGWL5FWQcg9orDOCcp4LvItNzUPcyEU9bwaeJX0rJ1IQxzucC48Y0/sQLp/g6t99IQgAlGIaesJS+gTn7tVQ==} engines: {node: '>= 10'} @@ -2831,6 +3044,37 @@ packages: '@radix-ui/rect@1.1.0': resolution: {integrity: sha512-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==} + '@react-aria/focus@3.18.2': + resolution: {integrity: sha512-Jc/IY+StjA3uqN73o6txKQ527RFU7gnG5crEl5Xy3V+gbYp2O5L3ezAo/E0Ipi2cyMbG6T5Iit1IDs7hcGu8aw==} + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0 + + '@react-aria/interactions@3.22.2': + resolution: {integrity: sha512-xE/77fRVSlqHp2sfkrMeNLrqf2amF/RyuAS6T5oDJemRSgYM3UoxTbWjucPhfnoW7r32pFPHHgz4lbdX8xqD/g==} + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0 + + '@react-aria/ssr@3.9.5': + resolution: {integrity: sha512-xEwGKoysu+oXulibNUSkXf8itW0npHHTa6c4AyYeZIJyRoegeteYuFpZUBPtIDE8RfHdNsSmE1ssOkxRnwbkuQ==} + engines: {node: '>= 12'} + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0 + + '@react-aria/utils@3.25.2': + resolution: {integrity: sha512-GdIvG8GBJJZygB4L2QJP1Gabyn2mjFsha73I2wSe+o4DYeGWoJiMZRM06PyTIxLH4S7Sn7eVDtsSBfkc2VY/NA==} + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0 + + '@react-stately/utils@3.10.3': + resolution: {integrity: sha512-moClv7MlVSHpbYtQIkm0Cx+on8Pgt1XqtPx6fy9rQFb2DNc9u1G3AUVnqA17buOkH1vLxAtX4MedlxMWyRCYYA==} + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0 + + '@react-types/shared@3.24.1': + resolution: {integrity: sha512-AUQeGYEm/zDTN6zLzdXolDxz3Jk5dDL7f506F07U8tBwxNNI3WRdhU84G0/AaFikOZzDXhOZDr3MhQMzyE7Ydw==} + peerDependencies: + react: ^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0 + '@remix-run/router@1.19.2': resolution: {integrity: sha512-baiMx18+IMuD1yyvOGaHM9QrVUPGGG0jC+z+IPHnRJWUAUvaKuWKyE8gjDj2rzv3sz9zOGoRSPgeBVHRhZnBlA==} engines: {node: '>=14.0.0'} @@ -2915,6 +3159,15 @@ packages: cpu: [x64] os: [win32] + '@scena/dragscroll@1.4.0': + resolution: {integrity: sha512-3O8daaZD9VXA9CP3dra6xcgt/qrm0mg0xJCwiX6druCteQ9FFsXffkF8PrqxY4Z4VJ58fFKEa0RlKqbsi/XnRA==} + + '@scena/event-emitter@1.0.5': + resolution: {integrity: sha512-AzY4OTb0+7ynefmWFQ6hxDdk0CySAq/D4efljfhtRHCOP7MBF9zUfhKG3TJiroVjASqVgkRJFdenS8ArZo6Olg==} + + '@scena/matrix@1.1.1': + resolution: {integrity: sha512-JVKBhN0tm2Srl+Yt+Ywqu0oLgLcdemDQlD1OxmN9jaCTwaFPZ7tY8n6dhVgMEaR9qcR7r+kAlMXnSfNyYdE+Vg==} + '@sentry-internal/browser-utils@8.26.0': resolution: {integrity: sha512-O2Tj+WK33/ZVp5STnz6ZL0OO+/Idk2KqsH0ITQkQmyZ2z0kdzWOeqK7s7q3/My6rB1GfPcyqPcBBv4dVv92FYQ==} engines: {node: '>=14.18'} @@ -3060,20 +3313,20 @@ packages: resolution: {integrity: sha512-C51PUlTv0BXN3+e9SjPHptNX3b9E0clrsaR5c//l/sFkQjuteDHKChA1gNzZSvfoa3gm9NzZAgpk3hVF2O3nBA==} engines: {node: '>= 14'} - '@shikijs/core@1.17.0': - resolution: {integrity: sha512-Mkk4Mp4bNnW1kytU8I7S5PK5teNSe0iKlfqxPss4sdwnlcU8a2N62Z3te2gVmZfU9t1HF6L3wyWuM43IvEeEsg==} + '@shikijs/core@1.18.0': + resolution: {integrity: sha512-VK4BNVCd2leY62Nm2JjyxtRLkyrZT/tv104O81eyaCjHq4Adceq2uJVFJJAIof6lT1mBwZrEo2qT/T+grv3MQQ==} - '@shikijs/engine-javascript@1.17.0': - resolution: {integrity: sha512-EiBVlxmzJZdC2ypzn8k+vxLngbBNgHLS4RilwrFOABGRc72kUZubbD/6Chrq2RcVtD3yq1GtiiIdFMGd9BTX3Q==} + '@shikijs/engine-javascript@1.18.0': + resolution: {integrity: sha512-qoP/aO/ATNwYAUw1YMdaip/YVEstMZEgrwhePm83Ll9OeQPuxDZd48szZR8oSQNQBT8m8UlWxZv8EA3lFuyI5A==} - '@shikijs/engine-oniguruma@1.17.0': - resolution: {integrity: sha512-nsXzJGLQ0fhKmA4Gwt1cF7vC8VuZ1HSDrTRuj48h/qDeX/TzmOlTDXQ3uPtyuhyg/2rbZRzNhN8UFU4fSnQfXg==} + '@shikijs/engine-oniguruma@1.18.0': + resolution: {integrity: sha512-B9u0ZKI/cud+TcmF8Chyh+R4V5qQVvyDOqXC2l2a4x73PBSBc6sZ0JRAX3eqyJswqir6ktwApUUGBYePdKnMJg==} - '@shikijs/transformers@1.17.0': - resolution: {integrity: sha512-C/s6z0knkWBVRG6cmklTUn+70URKVE8qlQuFg6Bi/9iqpX68NZloZhxCtVHeTd56pit15hivTlgSAY+SP7C8hA==} + '@shikijs/transformers@1.18.0': + resolution: {integrity: sha512-EdX/UIVaaS8qp9NWRyHIXp2dmuLpdVvx+UVpbIn9eafFlLemAuljPb2+K40ie6jrlg0uUIqkg25CM/8I34yBNw==} - '@shikijs/types@1.17.0': - resolution: {integrity: sha512-Tvu2pA69lbpXB+MmgIaROP1tio8y0uYvKb5Foh3q0TJBTAJuaoa5eDEtS/0LquyveacsiVrYF4uEZILju+7Ybg==} + '@shikijs/types@1.18.0': + resolution: {integrity: sha512-O9N36UEaGGrxv1yUrN2nye7gDLG5Uq0/c1LyfmxsvzNPqlHzWo9DI0A4+fhW2y3bGKuQu/fwS7EPdKJJCowcVA==} '@shikijs/vscode-textmate@9.2.2': resolution: {integrity: sha512-TMp15K+GGYrWlZM8+Lnj9EaHEFmOen0WJBrfa17hF7taDOYthuPPV0GWzfd/9iMij0akS/8Yw2ikquH7uVi/fg==} @@ -3082,12 +3335,15 @@ packages: resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} engines: {node: '>=10'} - '@stylistic/eslint-plugin@2.7.2': - resolution: {integrity: sha512-3DVLU5HEuk2pQoBmXJlzvrxbKNpu2mJ0SRqz5O/CJjyNCr12ZiPcYMEtuArTyPOk5i7bsAU44nywh1rGfe3gKQ==} + '@stylistic/eslint-plugin@2.8.0': + resolution: {integrity: sha512-Ufvk7hP+bf+pD35R/QfunF793XlSRIC7USr3/EdgduK9j13i2JjmsM0LUz3/foS+jDYp2fzyWZA9N44CPur0Ow==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: '>=8.40.0' + '@swc/helpers@0.5.13': + resolution: {integrity: sha512-UoKGxQ3r5kYI9dALKJapMmuK+1zWM/H17Z1+iwnNmzcJRnfFuevZs375TA5rW31pu4BS4NoSy1fRsexDXfWn5w==} + '@szmarczak/http-timer@4.0.6': resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} engines: {node: '>=10'} @@ -3111,35 +3367,44 @@ packages: peerDependencies: tailwindcss: '>=3.0.0 || insiders || >=4.0.0-alpha.20' - '@tanstack/query-core@5.56.0': - resolution: {integrity: sha512-Kgp2X6CqI1dh201OHI4I1Ji8NISzG6bylxxNopsMUh2gwaDGNZ11oaGkRDveQpEsaKgvy0nFTCxIypHi80gENA==} + '@tanstack/query-core@5.56.2': + resolution: {integrity: sha512-gor0RI3/R5rVV3gXfddh1MM+hgl0Z4G7tj6Xxpq6p2I03NGPaJ8dITY9Gz05zYYb/EJq9vPas/T4wn9EaDPd4Q==} - '@tanstack/query-devtools@5.55.1': - resolution: {integrity: sha512-2g0TWQGlkyHs9maHIU5A7lRunG4Rj3Y5lOEenE+fydE4zk7GqRs7rKJBp7F74iqRo/cA9V6t1YYQWqd6YRBmcQ==} + '@tanstack/query-devtools@5.56.1': + resolution: {integrity: sha512-xnp9jq/9dHfSCDmmf+A5DjbIjYqbnnUL2ToqlaaviUQGRTapXQ8J+GxusYUu1IG0vZMaWdiVUA4HRGGZYAUU+A==} - '@tanstack/query-persist-client-core@5.56.0': - resolution: {integrity: sha512-75uapzDFlaGkiIGyqI3aWtKpiyysjnZaDtsS7vg/cghKvwxrJ+GdRu1sMl7OSt8LQKhWB/Vm3p/k29BlqPqLkQ==} + '@tanstack/query-persist-client-core@5.56.2': + resolution: {integrity: sha512-4OZ/rLAxCiQWaJCQjb5q1+UbSNIZclmF4pRMHrav1q2EUj3bjrqWzwTwdy2bUxrMTdY15ZKsFwCpAFGG4r+orA==} - '@tanstack/query-sync-storage-persister@5.56.0': - resolution: {integrity: sha512-ItbNFHE53yvaJh9zrkItIb2NuSp4ZSjArpb5zD0JMMgm1QuOP1HPeC/3c2kgsW+PG0VwH9Ihc6D5KNmyg9gVug==} + '@tanstack/query-sync-storage-persister@5.56.2': + resolution: {integrity: sha512-aNupwjlJgaDwYW01DThrblkBSarH9E8sKVl3ATafOLpZoGvDg5Jc4SVMCiMmOC1U+PRuRbt5bpS6a8lZnbiYaA==} - '@tanstack/react-query-devtools@5.56.0': - resolution: {integrity: sha512-fRwUF+WlFlZFlyPDO/MXY39sjp3KaIhdHc5t+8VKEBlxIQ36jZpFWqtxdMxjlH2/u3TxV8UJ0As2knkxUsv4ag==} + '@tanstack/react-query-devtools@5.56.2': + resolution: {integrity: sha512-7nINJtRZZVwhTTyDdMIcSaXo+EHMLYJu1S2e6FskvvD5prx87LlAXXWZDfU24Qm4HjshEtM5lS3HIOszNGblcw==} peerDependencies: - '@tanstack/react-query': ^5.56.0 + '@tanstack/react-query': ^5.56.2 react: ^18 || ^19 - '@tanstack/react-query-persist-client@5.56.0': - resolution: {integrity: sha512-0/RePxU1nxXdbYQF4ZuJmYwvR0aubI/rNMnscXpKPtv6ZCIe/LpkgAGWjxmeRAr3VeZZQ6oFRd9vdgB1525wnQ==} + '@tanstack/react-query-persist-client@5.56.2': + resolution: {integrity: sha512-bVC0Io6ivxr3cJjOFYSeqPcwXyKBHWlhCPUuiriShvz+C4LPpYAGCExwkPke8Z8YV7RWiX0Le4kIbeIV9pzM+A==} peerDependencies: - '@tanstack/react-query': ^5.56.0 + '@tanstack/react-query': ^5.56.2 react: ^18 || ^19 - '@tanstack/react-query@5.56.0': - resolution: {integrity: sha512-3hb6IjBF7oNolv/dKPK5Vu8pcY9dcMCCsY6+JZlZuWILiALcoqCayAhP2vYTHbKdFmERK/3Ch/uOVJ9t9NRkAA==} + '@tanstack/react-query@5.56.2': + resolution: {integrity: sha512-SR0GzHVo6yzhN72pnRhkEFRAHMsUo5ZPzAxfTMvUxFIDVS6W9LYUp6nXW3fcHVdg0ZJl8opSH85jqahvm6DSVg==} peerDependencies: react: ^18 || ^19 + '@tanstack/react-virtual@3.10.8': + resolution: {integrity: sha512-VbzbVGSsZlQktyLrP5nxE+vE1ZR+U0NFAWPbJLoG2+DKPwd2D7dVICTVIIaYlJqX1ZCEnYDbaOpmMwbsyhBoIA==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + + '@tanstack/virtual-core@3.10.8': + resolution: {integrity: sha512-PBu00mtt95jbKFi6Llk9aik8bnR3tR/oQP1o3TSi+iG//+Q2RTIzCEgKkHG8BB86kxMNW6O8wku+Lmi+QFR6jA==} + '@tootallnate/once@2.0.0': resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} engines: {node: '>= 10'} @@ -3148,6 +3413,9 @@ packages: resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} + '@types/appdmg@0.5.5': + resolution: {integrity: sha512-G+n6DgZTZFOteITE30LnWj+HRVIGr7wMlAiLWOO02uJFWVEitaPU9JVXm9wJokkgshBawb2O1OykdcsmkkZfgg==} + '@types/babel__core@7.20.5': resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} @@ -3220,8 +3488,8 @@ packages: '@types/node@20.16.5': resolution: {integrity: sha512-VwYCweNo3ERajwy0IUlqqcyZ8/A7Zwa9ZP3MnENWcB11AejO+tLy3pu850goUW2FC/IJMdZUfKpX/yxL1gymCA==} - '@types/node@22.5.4': - resolution: {integrity: sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==} + '@types/node@22.5.5': + resolution: {integrity: sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -3244,8 +3512,8 @@ packages: '@types/react-dom@18.3.0': resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==} - '@types/react@18.3.5': - resolution: {integrity: sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==} + '@types/react@18.3.8': + resolution: {integrity: sha512-syBUrW3/XpnW4WJ41Pft+I+aPoDVbrBVQGEnbD7NijDGlVC+8gV/XKRY+7vMDlfPpbwYt0l1vd/Sj8bJGMbs9Q==} '@types/responselike@1.0.3': resolution: {integrity: sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==} @@ -3271,8 +3539,8 @@ packages: '@types/yauzl@2.10.3': resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} - '@typescript-eslint/eslint-plugin@8.4.0': - resolution: {integrity: sha512-rg8LGdv7ri3oAlenMACk9e+AR4wUV0yrrG+XKsGKOK0EVgeEDqurkXMPILG2836fW4ibokTB5v4b6Z9+GYQDEw==} + '@typescript-eslint/eslint-plugin@8.6.0': + resolution: {integrity: sha512-UOaz/wFowmoh2G6Mr9gw60B1mm0MzUtm6Ic8G2yM1Le6gyj5Loi/N+O5mocugRGY+8OeeKmkMmbxNqUCq3B4Sg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -3282,8 +3550,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.4.0': - resolution: {integrity: sha512-NHgWmKSgJk5K9N16GIhQ4jSobBoJwrmURaLErad0qlLjrpP5bECYg+wxVTGlGZmJbU03jj/dfnb6V9bw+5icsA==} + '@typescript-eslint/parser@8.6.0': + resolution: {integrity: sha512-eQcbCuA2Vmw45iGfcyG4y6rS7BhWfz9MQuk409WD47qMM+bKCGQWXxvoOs1DUp+T7UBMTtRTVT+kXr7Sh4O9Ow==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -3296,8 +3564,12 @@ packages: resolution: {integrity: sha512-n2jFxLeY0JmKfUqy3P70rs6vdoPjHK8P/w+zJcV3fk0b0BwRXC/zxRTEnAsgYT7MwdQDt/ZEbtdzdVC+hcpF0A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.4.0': - resolution: {integrity: sha512-pu2PAmNrl9KX6TtirVOrbLPLwDmASpZhK/XU7WvoKoCUkdtq9zF7qQ7gna0GBZFN0hci0vHaSusiL2WpsQk37A==} + '@typescript-eslint/scope-manager@8.6.0': + resolution: {integrity: sha512-ZuoutoS5y9UOxKvpc/GkvF4cuEmpokda4wRg64JEia27wX+PysIE9q+lzDtlHHgblwUWwo5/Qn+/WyTUvDwBHw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/type-utils@8.6.0': + resolution: {integrity: sha512-dtePl4gsuenXVwC7dVNlb4mGDcKjDT/Ropsk4za/ouMBPplCLyznIaR+W65mvCvsyS97dymoBRrioEXI7k0XIg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -3309,6 +3581,10 @@ packages: resolution: {integrity: sha512-T1RB3KQdskh9t3v/qv7niK6P8yvn7ja1mS7QK7XfRVL6wtZ8/mFs/FHf4fKvTA0rKnqnYxl/uHFNbnEt0phgbw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/types@8.6.0': + resolution: {integrity: sha512-rojqFZGd4MQxw33SrOy09qIDS8WEldM8JWtKQLAjf/X5mGSeEFh5ixQlxssMNyPslVIk9yzWqXCsV2eFhYrYUw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/typescript-estree@8.4.0': resolution: {integrity: sha512-kJ2OIP4dQw5gdI4uXsaxUZHRwWAGpREJ9Zq6D5L0BweyOrWsL6Sz0YcAZGWhvKnH7fm1J5YFE1JrQL0c9dd53A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -3318,16 +3594,35 @@ packages: typescript: optional: true + '@typescript-eslint/typescript-estree@8.6.0': + resolution: {integrity: sha512-MOVAzsKJIPIlLK239l5s06YXjNqpKTVhBVDnqUumQJja5+Y94V3+4VUFRA0G60y2jNnTVwRCkhyGQpavfsbq/g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/utils@8.4.0': resolution: {integrity: sha512-swULW8n1IKLjRAgciCkTCafyTHHfwVQFt8DovmaF69sKbOxTSFMmIZaSHjqO9i/RV0wIblaawhzvtva8Nmm7lQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 + '@typescript-eslint/utils@8.6.0': + resolution: {integrity: sha512-eNp9cWnYf36NaOVjkEUznf6fEgVy1TWpE0o52e4wtojjBx7D1UV2WAWGzR+8Y5lVFtpMLPwNbC67T83DWSph4A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + '@typescript-eslint/visitor-keys@8.4.0': resolution: {integrity: sha512-zTQD6WLNTre1hj5wp09nBIDiOc2U5r/qmzo7wxPn4ZgAjHql09EofqhF9WF+fZHzL5aCyaIpPcT2hyxl73kr9A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/visitor-keys@8.6.0': + resolution: {integrity: sha512-wapVFfZg9H0qOYh4grNVQiMklJGluQrOUiOhYRrQWhx7BY/+I1IYb8BczWNbbUpO+pqy0rDciv3lQH5E1bCLrg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} @@ -3354,10 +3649,6 @@ packages: peerDependencies: react: '>= 16.8.0' - '@vercel/ncc@0.38.1': - resolution: {integrity: sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==} - hasBin: true - '@vitejs/plugin-legacy@5.4.2': resolution: {integrity: sha512-hlyyQL+wEIyOWdwsUKX+0g3kBU4AbHmVzHarLvVKiGGGqLIYjttMvvjk6zGY8RD9dab6QuFNhDoxg0YFhQ26xA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -3377,6 +3668,9 @@ packages: '@vitest/pretty-format@2.0.5': resolution: {integrity: sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ==} + '@vitest/pretty-format@2.1.1': + resolution: {integrity: sha512-SjxPFOtuINDUW8/UkElJYQSFtnWX7tMksSGW0vfjxMneFqxVr8YJ979QpMbDW7g+BIiq88RAGDjf7en6rvLPPQ==} + '@vitest/runner@2.0.5': resolution: {integrity: sha512-TfRfZa6Bkk9ky4tW0z20WKXFEwwvWhRY+84CnSEtq4+3ZvDlJyY32oNTJtM7AW9ihW90tX/1Q78cb6FjoAs+ig==} @@ -3583,12 +3877,6 @@ packages: resolution: {integrity: sha512-KbWgR8wOYRAPekEmMXrYYdc7BRyhn2Ftk7KWfMUnQ43hFdojWEFRxhhRUm3/OFEdPa1r0KAvTTg9YQK57xTe0g==} engines: {node: '>=0.8'} - axios@1.7.4: - resolution: {integrity: sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==} - - axios@1.7.6: - resolution: {integrity: sha512-Ekur6XDwhnJ5RgOCaxFnXyqlPALI3rVeukZMwOdfghW7/wGz784BYKiQq+QD8NPcr91KRo30KfHOchyijwWw7g==} - axios@1.7.7: resolution: {integrity: sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==} @@ -3782,9 +4070,6 @@ packages: caniuse-api@3.0.0: resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} - caniuse-lite@1.0.30001651: - resolution: {integrity: sha512-9Cf+Xv1jJNe1xPZLGuUXLNkE1BoDkqRqYyFJ9TDYSqhduqA4hu4oR9HluGoWYQC/aj8WHjsGVV+bwkh0+tegRg==} - caniuse-lite@1.0.30001659: resolution: {integrity: sha512-Qxxyfv3RdHAfJcXelgf0hU4DFUVXBGTjqrBUZLUh8AtlGnsDo+CnncYtTd95+ZKfnANUOzxyIQCuU/UeBZBYoA==} @@ -4159,6 +4444,12 @@ packages: css-selector-parser@3.0.5: resolution: {integrity: sha512-3itoDFbKUNx1eKmVpYMFyqKX04Ww9osZ+dLgrk6GEv6KMVeXUhUnp4I5X+evw+u3ZxVU6RFXSSRxlTeMh8bA+g==} + css-styled@1.0.8: + resolution: {integrity: sha512-tCpP7kLRI8dI95rCh3Syl7I+v7PP+2JYOzWkl0bUEoSbJM+u8ITbutjlQVf0NC2/g4ULROJPi16sfwDIO8/84g==} + + css-to-mat@1.1.1: + resolution: {integrity: sha512-kvpxFYZb27jRd2vium35G7q5XZ2WJ9rWjDUMNT36M3Hc41qCrLXFM5iEKMGXcrPsKfXEN+8l/riB4QzwwwiEyQ==} + css-tree@2.2.1: resolution: {integrity: sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} @@ -4223,15 +4514,6 @@ packages: supports-color: optional: true - debug@4.3.6: - resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - debug@4.3.7: resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} engines: {node: '>=6.0'} @@ -4506,9 +4788,9 @@ packages: resolution: {integrity: sha512-USiB9816d2JzKv0LiSbreRfTg5lDk3lWh0vlx/gugCO92ZIJkHVH0UM18EHvKeadErP6Xn4yiTphWzYfbA2Ong==} engines: {node: '>=18'} - electron-installer-dmg@4.0.0: - resolution: {integrity: sha512-g3W6XnyUa7QGrAF7ViewHdt6bXV2KYU1Pm1CY3pZpp+H6mOjCHHAhf/iZAxtaX1ERCb+SQHz7xSsAHuNH9I8ZQ==} - engines: {node: '>= 12.13.0'} + electron-installer-dmg@5.0.1: + resolution: {integrity: sha512-qOa1aAQdX57C+vzhDk3549dd/PRlNL4F8y736MTD1a43qptD+PvHY97Bo9gSf+OZ8iUWE7BrYSpk/FgLUe40EA==} + engines: {node: '>= 16'} hasBin: true electron-is-dev@3.0.1: @@ -4553,8 +4835,8 @@ packages: resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==} engines: {node: '>=8.0.0'} - electron@32.1.0: - resolution: {integrity: sha512-4etE3K6vPUkHihf7nvawngbB5+jLuUJgZh31f9ki1Gfveo0qwNDkLv/doabw+4zFFWKUXI+uFUpyOpL5+RwS+Q==} + electron@32.1.2: + resolution: {integrity: sha512-CXe6doFzhmh1U7daOvUzmF6Cj8hssdYWMeEPRnRO6rB9/bbwMlWctcQ7P8NJXhLQ88/vYUJQrJvlJPh8qM0BRQ==} engines: {node: '>= 12.20.55'} hasBin: true @@ -4652,8 +4934,8 @@ packages: peerDependencies: eslint: ^9.5.0 - eslint-config-hyoban@3.1.5: - resolution: {integrity: sha512-Gbb1MFy7c4LkicXghRXsLydGA19LRKdZZBL/hZ1a8O+jQdvFg1MDjsNMVE6tYlI1z3DWAxYmVXGbQRutuvwVGQ==} + eslint-config-hyoban@3.1.6: + resolution: {integrity: sha512-Te5+pGEU4y6qdgJbYIV2cQN4ucRWB5MsoRW7M3I4EcJX284z/AZV1V3gn473/afY83hzwhc2AX40CnE5aBahcg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^9.0.0 @@ -4665,13 +4947,13 @@ packages: eslint-import-resolver-node@0.3.9: resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} - eslint-plugin-antfu@2.5.0: - resolution: {integrity: sha512-YLIWE22/ERe6Jpqt6bJdvALw8SWvf4x2DQjvVpRvAv8LrdHbwWckkoueAf8oQFgSOLsL1R/axa+exjpubPp0fw==} + eslint-plugin-antfu@2.6.0: + resolution: {integrity: sha512-4dz0VgWGpZ6jUSEUPSI6OGFqBc+P8c7zFFXht5t+YwzIvBsruqVX7Hjl3I8KNNEyJmA4fL3+GIc+EWU1woTp1A==} peerDependencies: eslint: '*' - eslint-plugin-command@0.2.4: - resolution: {integrity: sha512-IbZnQY21pOanbcCh/bAWWl+1BynV2HuDE75URMmk/28Tdn+PM7CoKeibXtPGrL7KQdIEHMgUEnRwwI8qmggVMA==} + eslint-plugin-command@0.2.5: + resolution: {integrity: sha512-mbCaSHD37MT8nVJnJUz2oeDfhz0wdOjfrqQVWkSpXuj3uU8m7/FK/niV2bL922af3M1js5x7Xcu3PwqWsrahfA==} peerDependencies: eslint: '*' @@ -4692,8 +4974,8 @@ packages: peerDependencies: eslint: '>=6.0.0' - eslint-plugin-package-json@0.15.2: - resolution: {integrity: sha512-mls5O8zT3Sjl/lLmhT8xtNkLpj7b3uP6wwK9rgg9rtmAbPjlzkunCySlHQgEcB6ZUV+Qi3QabLaSub2IWr2VmA==} + eslint-plugin-package-json@0.15.3: + resolution: {integrity: sha512-NRUh+f5orM2/SynPjZqqNqSahdG3qzG5nf8s2S5nEwkhRbEE78S6sSMVGoSmrrtbhcbvZmLVHguVds4lY3Cwkw==} engines: {node: '>=18'} peerDependencies: eslint: '>=8.0.0' @@ -4705,8 +4987,8 @@ packages: peerDependencies: eslint: '>=7' - eslint-plugin-react-debug@1.13.1: - resolution: {integrity: sha512-b32CuQxE5r+u/OIMxYpVkSE7XU8g5yVqJoKHokANBkZ9prv77Jsq8P93mWmJRyMZuTDevNSrL7cAiZOitmX1BQ==} + eslint-plugin-react-debug@1.14.1: + resolution: {integrity: sha512-VFkRmXGCgmCCgUsdBpmARYhFvKbK7XgF41hgQrEhJAfYA0lXE2Urb+VkVpk57xUk+ZxMQy3sy6A1P4tQ+83hrQ==} engines: {bun: '>=1.0.15', node: '>=18.18.0'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -4715,8 +4997,8 @@ packages: typescript: optional: true - eslint-plugin-react-dom@1.13.1: - resolution: {integrity: sha512-jPnOJUvrtHx4T60IIs837cJXg7ugbkCY7+/1IbUN6pgx+O22XjMnosOAiZQkLkb75fghHBxiTMP+A3u8fP+7kg==} + eslint-plugin-react-dom@1.14.1: + resolution: {integrity: sha512-hVcublIn4aAvudpl39I0l/1ldJJvn5rINHc71m+balFeKt5Qk0nPTUdPRCWRyp4ExD/mEbWAcEIP/pS0b5B/Vg==} engines: {bun: '>=1.0.15', node: '>=18.18.0'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -4725,8 +5007,8 @@ packages: typescript: optional: true - eslint-plugin-react-hooks-extra@1.13.1: - resolution: {integrity: sha512-0zVxImAWtvb2ZmXqBJlWwYu1g2XP+PDUvm8sOoaC+GbE6yHff4414W03rbdFHPlQYv3nQ0w980sd/wdh2IY5kQ==} + eslint-plugin-react-hooks-extra@1.14.1: + resolution: {integrity: sha512-R5BOTZYY9fm7qTPN1hRZxk9mj8JwvnpXbxhEZwphM3Sn2legwXVHdXXkuUqaDR6AWw+z3wfLkb8xhVBu+uY1Hg==} engines: {bun: '>=1.0.15', node: '>=18.18.0'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -4741,8 +5023,8 @@ packages: peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 - eslint-plugin-react-naming-convention@1.13.1: - resolution: {integrity: sha512-xWtBa7MMNaynX74r9rHiyDHC68dPgH+WoaH6v9waWWuyeiwkQxv/7Cx9zA6gnQzRZPh7yF9jGzlCE1jLuAEcZw==} + eslint-plugin-react-naming-convention@1.14.1: + resolution: {integrity: sha512-F3HCtRXwtT66/KNBuhSPxk63z/1iIxV3LUrwKAPVomTpGEIGrF/vzvNjJK0eaxf2Ae7h+SGMrDvJcRaYtRpRvQ==} engines: {bun: '>=1.0.15', node: '>=18.18.0'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -4756,8 +5038,8 @@ packages: peerDependencies: eslint: '>=7' - eslint-plugin-react-web-api@1.13.1: - resolution: {integrity: sha512-nVe/jCW+9hy7yLwQ2luFX+zILGabiYP4TTZVv1NvMny36fZgYinMGFxwNT8adppZz3f6DKYxUoO2qXVOlu7SCg==} + eslint-plugin-react-web-api@1.14.1: + resolution: {integrity: sha512-1qS15Wfh+++1UHtGRf6palH2nfDVlKSNMaUjaANnUss04PW0PXeNF540cTuWwMPHyh8xIxcEgDzqx+8MokCtCw==} engines: {bun: '>=1.0.15', node: '>=18.18.0'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -4766,8 +5048,8 @@ packages: typescript: optional: true - eslint-plugin-react-x@1.13.1: - resolution: {integrity: sha512-g80+xGU+Nz7bU/F4MQ3dHoLzfVFDOGTBrVFkuy7XlTzID6h0c6L8ejoD+2Cq0TNHGi3+b+lVTVoizoJDZSO2Qg==} + eslint-plugin-react-x@1.14.1: + resolution: {integrity: sha512-69KBSAX9X+1Az/wfWjvztPJyaZq2PSurlYYju0bH+iWon7pBV7zSqWiGhkizLpa2bSKFhAGzbMhSuaEqPiZQkA==} engines: {bun: '>=1.0.15', node: '>=18.18.0'} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -4799,8 +5081,8 @@ packages: peerDependencies: eslint: '>=8.56.0' - eslint-plugin-unused-imports@4.1.3: - resolution: {integrity: sha512-lqrNZIZjFMUr7P06eoKtQLwyVRibvG7N+LtfKtObYGizAAGrcqLkc3tDx+iAik2z7q0j/XI3ihjupIqxhFabFA==} + eslint-plugin-unused-imports@4.1.4: + resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==} peerDependencies: '@typescript-eslint/eslint-plugin': ^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0 eslint: ^9.0.0 || ^8.0.0 @@ -4820,8 +5102,8 @@ packages: resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint@9.10.0: - resolution: {integrity: sha512-Y4D0IgtBZfOcOUAIQTSXBKoNGfY0REGqHJG6+Q81vNippW5YlKjHFj4soMxamKK1NXHUWuBZTLdU3Km+L/pcHw==} + eslint@9.11.0: + resolution: {integrity: sha512-yVS6XODx+tMFMDFcG4+Hlh+qG7RM6cCJXtQhCKLSsr3XkLvWggHjCqjfh0XsPPnt1c56oaT6PMgW9XWQQjdHXA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true peerDependencies: @@ -4870,6 +5152,10 @@ packages: resolution: {integrity: sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==} engines: {node: '>=6'} + execa@5.1.1: + resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} + engines: {node: '>=10'} + execa@8.0.1: resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} engines: {node: '>=16.17'} @@ -4924,6 +5210,14 @@ packages: fd-slicer@1.1.0: resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} + fdir@6.3.0: + resolution: {integrity: sha512-QOnuT+BOtivR77wYvCWHfGt9s4Pz1VIMbD463vegT5MLqNXy8rYFT/lPVEqf/bhYeT6qmqrNHhsX+rWwe3rOCQ==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + fflate@0.4.8: resolution: {integrity: sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA==} @@ -4976,15 +5270,6 @@ packages: fmix@0.1.0: resolution: {integrity: sha512-Y6hyofImk9JdzU8k5INtTXX1cu8LDlePWDFU5sftm9H+zKCr5SGrVjdhkvsim646cw5zD0nADj8oHyXMZmCZ9w==} - follow-redirects@1.15.6: - resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==} - engines: {node: '>=4.0'} - peerDependencies: - debug: '*' - peerDependenciesMeta: - debug: - optional: true - follow-redirects@1.15.9: resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==} engines: {node: '>=4.0'} @@ -5013,8 +5298,8 @@ packages: react: optional: true - framer-motion@11.5.4: - resolution: {integrity: sha512-E+tb3/G6SO69POkdJT+3EpdMuhmtCh9EWuK4I1DnIC23L7tFPrl8vxP+LSovwaw6uUr73rUbpb4FgK011wbRJQ==} + framer-motion@11.5.6: + resolution: {integrity: sha512-JMwUpAxv/DWgul9vPgX0ElKn0G66sUc6O9tOXsYwn3zxwvhxFljSXC0XT2QCzuTYBshwC8nyDAa1SYcV0Ldbhw==} peerDependencies: '@emotion/is-prop-valid': '*' react: ^18.0.0 @@ -5027,6 +5312,9 @@ packages: react-dom: optional: true + framework-utils@1.1.0: + resolution: {integrity: sha512-KAfqli5PwpFJ8o3psRNs8svpMGyCSAe8nmGcjQ0zZBWN2H6dZDnq+ABp3N3hdUmFeMrLtjOCTXD4yplUJIWceg==} + franc-min@6.2.0: resolution: {integrity: sha512-1uDIEUSlUZgvJa2AKYR/dmJC66v/PvGQ9mWfI9nOr/kPpMFyvswK0gPXOwpYJYiYD008PpHLkGfG58SPjQJFxw==} @@ -5102,6 +5390,9 @@ packages: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'} + gesto@1.19.4: + resolution: {integrity: sha512-hfr/0dWwh0Bnbb88s3QVJd1ZRJeOWcgHPPwmiH6NnafDYvhTsxg+SLYu+q/oPNh9JS3V+nlr6fNs8kvPAtcRDQ==} + get-caller-file@2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} @@ -5136,6 +5427,10 @@ packages: resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} engines: {node: '>=8'} + get-stream@6.0.1: + resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} + engines: {node: '>=10'} + get-stream@8.0.1: resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} engines: {node: '>=16'} @@ -5298,27 +5593,21 @@ packages: hast-util-parse-selector@4.0.0: resolution: {integrity: sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==} - hast-util-raw@9.0.4: - resolution: {integrity: sha512-LHE65TD2YiNsHD3YuXcKPHXPLuYh/gjp12mOfU8jxSrm1f/yJpsb0F/KKljS6U9LJoP0Ux+tCe8iJ2AsPzTdgA==} - hast-util-sanitize@5.0.1: resolution: {integrity: sha512-IGrgWLuip4O2nq5CugXy4GI2V8kx4sFVy5Hd4vF7AR2gxS0N9s7nEAVUyeMtZKZvzrxVsHt73XdTsno1tClIkQ==} hast-util-select@6.0.2: resolution: {integrity: sha512-hT/SD/d/Meu+iobvgkffo1QecV8WeKWxwsNMzcTJsKw1cKTQKSR/7ArJeURLNJF9HDjp9nVoORyNNJxrvBye8Q==} - hast-util-to-html@9.0.1: - resolution: {integrity: sha512-hZOofyZANbyWo+9RP75xIDV/gq+OUKx+T46IlwERnKmfpwp81XBFbT9mi26ws+SJchA4RVUQwIBJpqEOBhMzEQ==} - hast-util-to-html@9.0.2: resolution: {integrity: sha512-RP5wNpj5nm1Z8cloDv4Sl4RS8jH5HYa0v93YB6Wb4poEzgMo/dAAL0KcT4974dCjcNG5pkLqTImeFHHCwwfY3g==} + hast-util-to-html@9.0.3: + resolution: {integrity: sha512-M17uBDzMJ9RPCqLMO92gNNUDuBSq10a25SDBI08iCCxmorf4Yy6sYHK57n9WAbRAAaU+DuR4W6GN9K4DFZesYg==} + hast-util-to-jsx-runtime@2.3.0: resolution: {integrity: sha512-H/y0+IWPdsLLS738P8tDnrQ8Z+dj12zQQ6WC11TIM21C8WFVoIxcqWXf2H3hiTVZjF1AWqoimGwrTWecWrnmRQ==} - hast-util-to-parse5@8.0.0: - resolution: {integrity: sha512-3KKrV5ZVI8if87DVSi1vDeByYrkGzg4mEfeu4alwgmmIeARiBLKCZS2uw5Gb6nU9x9Yufyj3iudm6i7nl52PFw==} - hast-util-to-string@3.0.0: resolution: {integrity: sha512-OGkAxX1Ua3cbcW6EJ5pT/tslVb90uViVkcJ4ZZIMW/R33DX/AkcJcRrPebPwJkHYwlDHXz4aIwvAAaAdtrACFA==} @@ -5353,9 +5642,9 @@ packages: resolution: {integrity: sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==} engines: {node: '>=0.10.0'} - hono@4.6.1: - resolution: {integrity: sha512-6NGwvttY1+HAFii08VYiEKI6ETPAFbpLntpm2M/MogEsAFWdZV74UNT+2M4bmqX90cIQhjlpBSP+tO+CfB0uww==} - engines: {node: '>=16.0.0'} + hono@4.6.2: + resolution: {integrity: sha512-v+39817TgAhetmHUEli8O0uHDmxp2Up3DnhS4oUZXOl5IQ9np9tYtldd42e5zgdLVS0wsOoXQNZ6mx+BGmEvCA==} + engines: {node: '>=16.9.0'} hosted-git-info@2.8.9: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} @@ -5398,6 +5687,10 @@ packages: resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} engines: {node: '>= 6'} + human-signals@2.1.0: + resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} + engines: {node: '>=10.17.0'} + human-signals@5.0.0: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} engines: {node: '>=16.17.0'} @@ -5605,6 +5898,10 @@ packages: resolution: {integrity: sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==} engines: {node: '>=0.10.0'} + is-stream@2.0.1: + resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} + engines: {node: '>=8'} + is-stream@3.0.0: resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -5656,8 +5953,8 @@ packages: jose@5.8.0: resolution: {integrity: sha512-E7CqYpL/t7MMnfGnK/eg416OsFCVUrU/Y3Vwe7QjKhu/BkS1Ms455+2xsqZQVN57/U2MHMBvEb5SrmAZWAIntA==} - jotai@2.9.3: - resolution: {integrity: sha512-IqMWKoXuEzWSShjd9UhalNsRGbdju5G2FrqNLQJT+Ih6p41VNYe2sav5hnwQx4HJr25jq9wRqvGSWGviGG6Gjw==} + jotai@2.10.0: + resolution: {integrity: sha512-8W4u0aRlOIwGlLQ0sqfl/c6+eExl5D8lZgAUolirZLktyaj4WnxO/8a0HEPmtriQAB6X5LMhXzZVmw02X0P0qQ==} engines: {node: '>=12.20.0'} peerDependencies: '@types/react': '>=17.0.0' @@ -5668,6 +5965,10 @@ packages: react: optional: true + joycon@3.1.1: + resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} + engines: {node: '>=10'} + js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -5737,6 +6038,12 @@ packages: resolution: {integrity: sha512-pBxcB3LFc8QVgdggvZWyeys+hnrNWg4OcZIU/1X59k5jQdLBlCsYGRQaz234SqoRLTCgMH00fY0xRJH+F9METQ==} engines: {node: '>=8'} + keycode@2.2.1: + resolution: {integrity: sha512-Rdgz9Hl9Iv4QKi8b0OlCRQEzp4AgVxyCtz5S/+VIHezDmrDhkp2N2TqBWOLz0/gbeREXOOiI9/4b8BY9uw2vFg==} + + keycon@1.4.0: + resolution: {integrity: sha512-p1NAIxiRMH3jYfTeXRs2uWbVJ1WpEjpi8ktzUyBJsX7/wn2qu2VRXktneBLNtKNxJmlUYxRi9gOJt1DuthXR7A==} + keyv@4.5.4: resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} @@ -5771,8 +6078,8 @@ packages: lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - linkedom@0.18.4: - resolution: {integrity: sha512-JhLErxMIEOKByMi3fURXgI1fYOzR87L1Cn0+MI9GlMckFrqFZpV1SUGox1jcKtsKN3y6JgclcQf0FzZT//BuGw==} + linkedom@0.18.5: + resolution: {integrity: sha512-JGLaGGtqtu+eOhYrC1wkWYTBcpVWL4AsnwAtMtgO1Q0gI0PuPJKI0zBBE+a/1BrhOE3Uw8JI/ycByAv5cLrAuQ==} lint-staged@15.2.10: resolution: {integrity: sha512-5dY5t743e1byO19P9I4b3x8HJwalIznL5E1FWYnU6OWw33KxNBSLAc6Cy7F2PsFEO8FKnLwjwm5hx7aMF0jzZg==} @@ -5847,6 +6154,9 @@ packages: lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + lodash.sortby@4.7.0: + resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} + lodash.union@4.6.0: resolution: {integrity: sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==} @@ -6223,9 +6533,6 @@ packages: ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} - ms@2.1.2: - resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} @@ -6332,6 +6639,10 @@ packages: resolution: {integrity: sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==} engines: {node: '>=4'} + npm-run-path@4.0.1: + resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} + engines: {node: '>=8'} + npm-run-path@5.3.0: resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -6367,8 +6678,8 @@ packages: obuf@1.1.2: resolution: {integrity: sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==} - ofetch@1.3.4: - resolution: {integrity: sha512-KLIET85ik3vhEfS+3fDlc/BAZiAp+43QEC/yCo5zkNoY2YaKvNkOaFr/6wCFgFH1kuYQM5pMNi0Tg8koiIemtw==} + ofetch@1.4.0: + resolution: {integrity: sha512-MuHgsEhU6zGeX+EMh+8mSMrYTnsqJQQrpM00Q6QHMKNqQ0bKy0B43tk8tL1wg+CnsSTy1kg4Ir2T5Ig6rD+dfQ==} ohash@1.1.3: resolution: {integrity: sha512-zuHHiGTYTA1sYJ/wZN+t5HKZaH23i4yI1HMwbuXm24Nid7Dv0KcuRlKoNKS9UNfAVSBlnGLcuQrnOKWOZoEGaw==} @@ -6388,8 +6699,8 @@ packages: resolution: {integrity: sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==} engines: {node: '>=18'} - oniguruma-to-js@0.3.3: - resolution: {integrity: sha512-m90/WEhgs8g4BxG37+Nu3YrMfJDs2YXtYtIllhsEPR+wP3+K4EZk6dDUvy2v2K4MNFDDOYKL4/yqYPXDqyozTQ==} + oniguruma-to-js@0.4.3: + resolution: {integrity: sha512-X0jWUcAlxORhOqqBREgPMgnshB7ZGYszBNspP+tS9hPD3l13CdaXcHbgImoHUHlrvGx/7AvFEkTRhAGYh+jzjQ==} opentelemetry-instrumentation-fetch-node@1.2.3: resolution: {integrity: sha512-Qb11T7KvoCevMaSeuamcLsAD+pZnavkhDnlVL0kRozfhl42dKG5Q3anUklAFKJZjY3twLR+BnRa6DlwwkIE/+A==} @@ -6408,6 +6719,9 @@ packages: resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} engines: {node: '>=10'} + overlap-area@1.1.0: + resolution: {integrity: sha512-3dlJgJCaVeXH0/eZjYVJvQiLVVrPO4U1ZGqlATtx6QGO3b5eNM6+JgUKa7oStBTdYuGTk7gVoABCW6Tp+dhRdw==} + p-cancelable@2.1.1: resolution: {integrity: sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==} engines: {node: '>=8'} @@ -6467,9 +6781,6 @@ packages: resolution: {integrity: sha512-fEG8kM+EfX0j7TbTWAv6/0NRkid0fUHm2afJx35en3+IlrJ6dRQfKUCpuUl/bGM6MvQ0MxAlpaXkJtYVMp0F4A==} hasBin: true - package-manager-detector@0.1.2: - resolution: {integrity: sha512-iePyefLTOm2gEzbaZKSW+eBMjg+UYsQvUKxmvGXAQ987K16efBg10MxIjZs08iyX+DY2/owKY9DIdu193kX33w==} - package-manager-detector@0.2.0: resolution: {integrity: sha512-E385OSk9qDcXhcM9LNSe4sdhx8a9mAPrZ4sMLW+tmxl5ZuGtPUcdFu+MPP2jbgiWAZ6Pfe5soGFMd+0Db5Vrog==} @@ -6614,9 +6925,6 @@ packages: resolution: {integrity: sha512-cRL3JpS3lKMGsKaWndugWQoLOCoP+Cic8oseVcbr0qhPzYD5DWXK+RZ9LY9wxRf7RQia4SCwQlXk0q6FCPrVng==} engines: {node: '>=10'} - picocolors@1.0.1: - resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} - picocolors@1.1.0: resolution: {integrity: sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==} @@ -6645,9 +6953,6 @@ packages: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} engines: {node: '>=8'} - pkg-types@1.1.3: - resolution: {integrity: sha512-+JrgthZG6m3ckicaOB74TwQ+tBWsFl3qVQg7mN8ulwSOElJ7gBhKzj2VkCPnZ4NlF6kEquYU+RIYNVAvzd54UA==} - pkg-types@1.2.0: resolution: {integrity: sha512-+ifYuSSqOQ8CqP4MbZA5hDpb97n3E8SVWdJe+Wms9kj745lmd3b7EZJiqvmLwAlmRfjrI7Hi5z3kdBJ93lFNPA==} @@ -6728,6 +7033,24 @@ packages: ts-node: optional: true + postcss-load-config@6.0.1: + resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==} + engines: {node: '>= 18'} + peerDependencies: + jiti: '>=1.21.0' + postcss: '>=8.0.9' + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + jiti: + optional: true + postcss: + optional: true + tsx: + optional: true + yaml: + optional: true + postcss-merge-longhand@7.0.4: resolution: {integrity: sha512-zer1KoZA54Q8RVHKOY5vMke0cCdNxMP3KBfDerjH/BYHh4nCIh+1Yy0t1pAEQF18ac/4z3OFclO+ZVH8azjR4A==} engines: {node: ^18.12.0 || ^20.9.0 || >=22.0} @@ -6865,8 +7188,8 @@ packages: postcss-value-parser@4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - postcss@8.4.45: - resolution: {integrity: sha512-7KTLTdzdZZYscUc65XmjFiB73vBhBfbPztCYdUNvlaso9PrzjzcmjqBPR0lNGkcVlcO4BjiO5rK/qNz+XAen1Q==} + postcss@8.4.47: + resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} engines: {node: ^10 || ^12 || >=14} postgres-array@2.0.0: @@ -6904,8 +7227,8 @@ packages: postgres-range@1.1.4: resolution: {integrity: sha512-i/hbxIE9803Alj/6ytL7UHQxRvZkI9O4Sy+J3HGc4F4oo/2eQAjTSNJ0bfxyse3bH0nuVesCk+3IRLaMtG3H6w==} - posthog-js@1.161.3: - resolution: {integrity: sha512-TQ77jtLemkUJUyJAPrwGay6tLqcAmXEM1IJgXOx5Tr4UohiTx8JTznzrCuh/SdwPIrbcSM1r2YPwb72XwTC3wg==} + posthog-js@1.163.0: + resolution: {integrity: sha512-gpLbxZkOm06oOWg0uvCxBIVIHrhX3A5hxf9eAi/Z+aFP9DvWxwHQdGUkIWjnYUyxXilIbLxBPvWmiM98dYsAHA==} posthog-node@4.2.0: resolution: {integrity: sha512-hgyCYMyzMvuF3qWMw6JvS8gT55v7Mtp5wKWcnDrw+nu39D0Tk9BXD7I0LOBp0lGlHEPaXCEVYUtviNKrhMALGA==} @@ -7038,8 +7361,8 @@ packages: react: '>=16.8.1' react-dom: '>=16.8.1' - react-i18next@15.0.1: - resolution: {integrity: sha512-NwxLqNM6CLbeGA9xPsjits0EnXdKgCRSS6cgkgOdNcPXqL+1fYNl8fBg1wmnnHvFy812Bt4IWTPE9zjoPmFj3w==} + react-i18next@15.0.2: + resolution: {integrity: sha512-z0W3/RES9Idv3MmJUcf0mDNeeMOUXe+xoL0kPfQPbDoZHmni/XsIoq5zgT2MCFUiau283GuBUK578uD/mkAbLQ==} peerDependencies: i18next: '>= 23.2.3' react: '>= 16.8.0' @@ -7113,6 +7436,9 @@ packages: peerDependencies: react: '>=16.8' + react-selecto@1.26.3: + resolution: {integrity: sha512-Ubik7kWSnZyQEBNro+1k38hZaI1tJarE+5aD/qsqCOA1uUBSjgKVBy3EWRzGIbdmVex7DcxznFZLec/6KZNvwQ==} + react-shadow@20.5.0: resolution: {integrity: sha512-DHukRfWpJrFtZMcZrKrqU3ZwuHjTpTbrjnJdTGZQE3lqtC5ivBDVWqAVVW6lR3Lq6bhphjAbqaJU8NOoTRSCsg==} peerDependencies: @@ -7269,8 +7595,8 @@ packages: remark-parse@11.0.0: resolution: {integrity: sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==} - remark-rehype@11.1.0: - resolution: {integrity: sha512-z3tJrAs2kIs1AqIIy6pzHmAHlF1hWQ+OdY4/hv+Wxe35EhyLKcajL33iUEn3ScxtFox9nUvRufR/Zre8Q08H/g==} + remark-rehype@11.1.1: + resolution: {integrity: sha512-g/osARvjkBXb6Wo0XvAeXQohVta8i84ACbenPpoSsxTOQH/Ae0/RGP4WZgnMH5pMLpsj4FG7OHmcIcXxpza8eQ==} remark-stringify@11.0.0: resolution: {integrity: sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==} @@ -7306,6 +7632,10 @@ packages: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} engines: {node: '>=4'} + resolve-from@5.0.0: + resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} + engines: {node: '>=8'} + resolve-package@1.0.1: resolution: {integrity: sha512-rzB7NnQpOkPHBWFPP3prUMqOP6yg3HkRGgcvR+lDyvyHoY3fZLFLYDkPXh78SPVBAE6VTCk/V+j8we4djg6o4g==} engines: {node: '>=4', npm: '>=2'} @@ -7403,6 +7733,9 @@ packages: resolution: {integrity: sha512-3A6sD0WYP7+QrjbfNA2FN3FsOaGGFoekCVgTyypy53gPxhbkCIjtO6YWgdrfM+n/8sI8JeXZOIxsHjMTNxQ4nQ==} engines: {node: ^14.0.0 || >=16.0.0} + selecto@1.26.3: + resolution: {integrity: sha512-gZHgqMy5uyB6/2YDjv3Qqaf7bd2hTDOpPdxXlrez4R3/L0GiEWDCFaUfrflomgqdb3SxHF2IXY0Jw0EamZi7cw==} + semver-compare@1.0.0: resolution: {integrity: sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==} @@ -7457,8 +7790,8 @@ packages: engines: {node: '>=4'} hasBin: true - shiki@1.17.0: - resolution: {integrity: sha512-VZf8cPShRwfzPcaswv81+YP7qJEoFwRT+Ehy6bizim7M0zG9bk8Egug550C+xS9g7rKIOPhzAlp2uEyuCxbk/A==} + shiki@1.18.0: + resolution: {integrity: sha512-8jo7tOXr96h9PBQmOHVrltnETn1honZZY76YA79MHheGQg55jBvbm9dtU+MI5pjC5NJCFuA6rvVTLVeSW5cE4A==} shimmer@1.2.1: resolution: {integrity: sha512-sQTKC1Re/rM6XyFM6fIAGHRPVGvyXfgzIDvzoq608vM+jeyVD0Tu1E6Np0Kc2zAIFWIj963V2800iF/9LPieQw==} @@ -7553,6 +7886,10 @@ packages: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} + source-map@0.8.0-beta.0: + resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} + engines: {node: '>= 8'} + space-separated-tokens@2.0.2: resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==} @@ -7643,6 +7980,10 @@ packages: resolution: {integrity: sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==} engines: {node: '>=0.10.0'} + strip-final-newline@2.0.0: + resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} + engines: {node: '>=6'} + strip-final-newline@3.0.0: resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} engines: {node: '>=12'} @@ -7697,8 +8038,8 @@ packages: engines: {node: '>=14.0.0'} hasBin: true - swiper@11.1.12: - resolution: {integrity: sha512-PUkCToYAZMB4kP7z+YfPnkMHOMwMO71g8vUhz2o5INGIgIMb6Sb0XiP6cEJFsiFTd7FRDn5XCbg+KVKPDZqXLw==} + swiper@11.1.14: + resolution: {integrity: sha512-VbQLQXC04io6AoAjIUWuZwW4MSYozkcP9KjLdrsG/00Q/yiwvhz9RQyt0nHXV10hi9NVnDNy1/wv7Dzq1lkOCQ==} engines: {node: '>= 4.7.0'} synckit@0.6.2: @@ -7712,6 +8053,9 @@ packages: systemjs@6.15.1: resolution: {integrity: sha512-Nk8c4lXvMB98MtbmjX7JwJRgJOL8fluecYCfCeYBznwmpOs8Bf15hLM6z4z71EDAhQVrQrI+wt1aLWSXZq+hXA==} + tabbable@6.2.0: + resolution: {integrity: sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==} + tailwind-merge@2.5.2: resolution: {integrity: sha512-kjEBm+pvD+6eAwzJL2Bi+02/9LFLal1Gs61+QB7HvTfQQ0aXwC5LGT8PEt1gS0CWKktKe6ysPTAy3cBC5MeiIg==} @@ -7720,8 +8064,8 @@ packages: peerDependencies: tailwindcss: '>=3.0.0 || insiders' - tailwindcss@3.4.11: - resolution: {integrity: sha512-qhEuBcLemjSJk5ajccN9xJFtM/h0AVCPaA6C92jNP+M2J8kX+eMJHI7R2HFKUvvAsMpcfLILMCFYSeDwpMmlUg==} + tailwindcss@3.4.12: + resolution: {integrity: sha512-Htf/gHj2+soPb9UayUNci/Ja3d8pTmu9ONTfh4QY8r3MATTZOzmv6UYWF7ZwikEIC8okpfqmGqrmDehua8mF8w==} engines: {node: '>=14.0.0'} hasBin: true @@ -7761,12 +8105,13 @@ packages: tinybench@2.9.0: resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} - tinyexec@0.2.0: - resolution: {integrity: sha512-au8dwv4xKSDR+Fw52csDo3wcDztPdne2oM1o/7LFro4h6bdFmvyUAeAfX40pwDtzHgRFqz1XWaUqgKS2G83/ig==} - tinyexec@0.3.0: resolution: {integrity: sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==} + tinyglobby@0.2.6: + resolution: {integrity: sha512-NbBoFBpqfcgd1tCiO8Lkfdk+xrA7mlLR9zgvZcZWQQwU63XAfUePyd6wZBaU93Hqw347lHnwFzttAkemHzzz4g==} + engines: {node: '>=12.0.0'} + tinypool@1.0.1: resolution: {integrity: sha512-URZYihUbRPcGv95En+sz6MfghfIc2OJ1sv/RmhWZLouPY0/8Vo80viwPvg3dlaS9fuq7fQMEfgRRK7BBZThBEA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -7779,11 +8124,11 @@ packages: resolution: {integrity: sha512-q5nmENpTHgiPVd1cJDDc9cVoYN5x4vCvwT3FMilvKPKneCBZAxn2YWQjDF0UMcE9k0Cay1gBiDfTMU0g+mPMQA==} engines: {node: '>=14.0.0'} - tldts-core@6.1.44: - resolution: {integrity: sha512-DMOTcn8pGmuY65zDPH+M1xAOVtBj7Phrah0HxuspKEu33hOArCDmk3R4UEVymtuN+HveeUlVgX0+RNf4mFkoAw==} + tldts-core@6.1.47: + resolution: {integrity: sha512-6SWyFMnlst1fEt7GQVAAu16EGgFK0cLouH/2Mk6Ftlwhv3Ol40L0dlpGMcnnNiiOMyD2EV/aF3S+U2nKvvLvrA==} - tldts@6.1.44: - resolution: {integrity: sha512-Id5Kq3vy4fAHgrMasofrYZ4ghMa9rX64BfstBFgnGN+CAPdXYeZ0xWA2BXk3F+VgS+/jJ9PdYEQrP8LEZvGrCw==} + tldts@6.1.47: + resolution: {integrity: sha512-R/K2tZ5MiY+mVrnSkNJkwqYT2vUv1lcT6wJvd2emGaMJ7PHUGRY4e3tUsdFCXgqxi2QgbHjL3yJgXCo40v9Hxw==} hasBin: true tmp-promise@3.0.3: @@ -7811,6 +8156,13 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + tr46@1.0.1: + resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} + + tree-kill@1.2.2: + resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} + hasBin: true + trigram-utils@2.0.1: resolution: {integrity: sha512-nfWIXHEaB+HdyslAfMxSqWKDdmqY9I32jS7GnqpdWQnLH89r6A5sdk3fDVYqGAZ0CrT8ovAFSAo6HRiWcWNIGQ==} @@ -7854,12 +8206,28 @@ packages: typescript: optional: true - tslib@2.6.3: - resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} - tslib@2.7.0: resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} + tsup@8.3.0: + resolution: {integrity: sha512-ALscEeyS03IomcuNdFdc0YWGVIkwH1Ws7nfTbAPuoILvEV2hpGQAY72LIOjglGo4ShWpZfpBqP/jpQVCzqYQag==} + engines: {node: '>=18'} + hasBin: true + peerDependencies: + '@microsoft/api-extractor': ^7.36.0 + '@swc/core': ^1 + postcss: ^8.4.12 + typescript: '>=4.5.0' + peerDependenciesMeta: + '@microsoft/api-extractor': + optional: true + '@swc/core': + optional: true + postcss: + optional: true + typescript: + optional: true + tsx@4.19.1: resolution: {integrity: sha512-0flMz1lh74BR4wOvBjuh9olbnwqCPc35OOlfyzHba0Dc+QNUeWX/Gq2YTbnwcWPO3BMd8fkzRVrHcsR+a7z7rA==} engines: {node: '>=18.0.0'} @@ -7889,8 +8257,8 @@ packages: resolution: {integrity: sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==} engines: {node: '>=16'} - typescript-eslint@8.4.0: - resolution: {integrity: sha512-67qoc3zQZe3CAkO0ua17+7aCLI0dU+sSQd1eKPGq06QE4rfQjstVXR6woHO5qQvGUa550NfGckT4tzh3b3c8Pw==} + typescript-eslint@8.6.0: + resolution: {integrity: sha512-eEhhlxCEpCd4helh3AO1hk0UP2MvbRi9CtIAJTVPQjuSXOOO2jsEacNi4UdcJzZJbeuVg1gMhtZ8UYb+NFYPrA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -8112,8 +8480,8 @@ packages: vite: optional: true - vite@5.4.4: - resolution: {integrity: sha512-RHFCkULitycHVTtelJ6jQLd+KSAAzOgEYorV32R2q++M6COBjKJR6BxqClwp5sf0XaBDjVMuJ9wnNfyAJwjMkA==} + vite@5.4.7: + resolution: {integrity: sha512-5l2zxqMEPVENgvzTuBpHer2awaetimj2BGkhBPdnwKbPNOlHsODU+oiazEZzLK7KhAnOrO+XGYJYn4ZlUhDtDQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -8184,6 +8552,9 @@ packages: webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + webidl-conversions@4.0.2: + resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} + webpack-sources@3.2.3: resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==} engines: {node: '>=10.13.0'} @@ -8202,6 +8573,9 @@ packages: whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + whatwg-url@7.1.0: + resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} + which@1.3.1: resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} hasBin: true @@ -8340,16 +8714,13 @@ snapshots: '@alloc/quick-lru@5.2.0': {} + '@altano/repository-tools@0.1.1': {} + '@ampproject/remapping@2.3.0': dependencies: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@antfu/install-pkg@0.4.0': - dependencies: - package-manager-detector: 0.1.2 - tinyexec: 0.2.0 - '@antfu/install-pkg@0.4.1': dependencies: package-manager-detector: 0.2.0 @@ -8382,10 +8753,10 @@ snapshots: '@babel/helper-compilation-targets': 7.25.2 '@babel/helper-module-transforms': 7.25.2(@babel/core@7.25.2) '@babel/helpers': 7.25.0 - '@babel/parser': 7.25.4 + '@babel/parser': 7.25.6 '@babel/template': 7.25.0 - '@babel/traverse': 7.25.4 - '@babel/types': 7.25.4 + '@babel/traverse': 7.25.6 + '@babel/types': 7.25.6 convert-source-map: 2.0.0 debug: 4.3.7 gensync: 1.0.0-beta.2 @@ -8407,7 +8778,7 @@ snapshots: '@babel/helper-builder-binary-assignment-operator-visitor@7.24.7': dependencies: - '@babel/traverse': 7.25.4 + '@babel/traverse': 7.25.6 '@babel/types': 7.25.6 transitivePeerDependencies: - supports-color @@ -8460,8 +8831,8 @@ snapshots: '@babel/helper-module-imports@7.24.7': dependencies: - '@babel/traverse': 7.25.4 - '@babel/types': 7.25.4 + '@babel/traverse': 7.25.6 + '@babel/types': 7.25.6 transitivePeerDependencies: - supports-color @@ -8471,7 +8842,7 @@ snapshots: '@babel/helper-module-imports': 7.24.7 '@babel/helper-simple-access': 7.24.7 '@babel/helper-validator-identifier': 7.24.7 - '@babel/traverse': 7.25.4 + '@babel/traverse': 7.25.6 transitivePeerDependencies: - supports-color @@ -8486,7 +8857,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.24.7 '@babel/helper-wrap-function': 7.25.0 - '@babel/traverse': 7.25.4 + '@babel/traverse': 7.25.6 transitivePeerDependencies: - supports-color @@ -8495,20 +8866,20 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-member-expression-to-functions': 7.24.8 '@babel/helper-optimise-call-expression': 7.24.7 - '@babel/traverse': 7.25.4 + '@babel/traverse': 7.25.6 transitivePeerDependencies: - supports-color '@babel/helper-simple-access@7.24.7': dependencies: - '@babel/traverse': 7.25.4 - '@babel/types': 7.25.4 + '@babel/traverse': 7.25.6 + '@babel/types': 7.25.6 transitivePeerDependencies: - supports-color '@babel/helper-skip-transparent-expression-wrappers@7.24.7': dependencies: - '@babel/traverse': 7.25.4 + '@babel/traverse': 7.25.6 '@babel/types': 7.25.6 transitivePeerDependencies: - supports-color @@ -8522,7 +8893,7 @@ snapshots: '@babel/helper-wrap-function@7.25.0': dependencies: '@babel/template': 7.25.0 - '@babel/traverse': 7.25.4 + '@babel/traverse': 7.25.6 '@babel/types': 7.25.6 transitivePeerDependencies: - supports-color @@ -8530,7 +8901,7 @@ snapshots: '@babel/helpers@7.25.0': dependencies: '@babel/template': 7.25.0 - '@babel/types': 7.25.4 + '@babel/types': 7.25.6 '@babel/highlight@7.24.7': dependencies: @@ -8539,10 +8910,6 @@ snapshots: js-tokens: 4.0.0 picocolors: 1.1.0 - '@babel/parser@7.25.4': - dependencies: - '@babel/types': 7.25.4 - '@babel/parser@7.25.6': dependencies: '@babel/types': 7.25.6 @@ -8551,7 +8918,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/traverse': 7.25.4 + '@babel/traverse': 7.25.6 transitivePeerDependencies: - supports-color @@ -8578,7 +8945,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/traverse': 7.25.4 + '@babel/traverse': 7.25.6 transitivePeerDependencies: - supports-color @@ -8696,7 +9063,7 @@ snapshots: '@babel/helper-plugin-utils': 7.24.8 '@babel/helper-remap-async-to-generator': 7.25.0(@babel/core@7.25.2) '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.25.2) - '@babel/traverse': 7.25.4 + '@babel/traverse': 7.25.6 transitivePeerDependencies: - supports-color @@ -8743,7 +9110,7 @@ snapshots: '@babel/helper-compilation-targets': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 '@babel/helper-replace-supers': 7.25.0(@babel/core@7.25.2) - '@babel/traverse': 7.25.4 + '@babel/traverse': 7.25.6 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -8809,7 +9176,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-compilation-targets': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/traverse': 7.25.4 + '@babel/traverse': 7.25.6 transitivePeerDependencies: - supports-color @@ -8858,7 +9225,7 @@ snapshots: '@babel/helper-module-transforms': 7.25.2(@babel/core@7.25.2) '@babel/helper-plugin-utils': 7.24.8 '@babel/helper-validator-identifier': 7.24.7 - '@babel/traverse': 7.25.4 + '@babel/traverse': 7.25.6 transitivePeerDependencies: - supports-color @@ -9117,7 +9484,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/types': 7.25.4 + '@babel/types': 7.25.6 esutils: 2.0.3 '@babel/regjsgen@0.8.0': {} @@ -9129,20 +9496,8 @@ snapshots: '@babel/template@7.25.0': dependencies: '@babel/code-frame': 7.24.7 - '@babel/parser': 7.25.4 - '@babel/types': 7.25.4 - - '@babel/traverse@7.25.4': - dependencies: - '@babel/code-frame': 7.24.7 - '@babel/generator': 7.25.6 - '@babel/parser': 7.25.4 - '@babel/template': 7.25.0 - '@babel/types': 7.25.4 - debug: 4.3.7 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color + '@babel/parser': 7.25.6 + '@babel/types': 7.25.6 '@babel/traverse@7.25.6': dependencies: @@ -9156,12 +9511,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/types@7.25.4': - dependencies: - '@babel/helper-string-parser': 7.24.8 - '@babel/helper-validator-identifier': 7.24.7 - to-fast-properties: 2.0.0 - '@babel/types@7.25.6': dependencies: '@babel/helper-string-parser': 7.24.8 @@ -9176,6 +9525,10 @@ snapshots: dependencies: '@egjs/component': 3.0.5 + '@cfcs/core@0.0.6': + dependencies: + '@egjs/component': 3.0.5 + '@clack/core@0.3.4': dependencies: picocolors: 1.1.0 @@ -9195,6 +9548,8 @@ snapshots: conventional-commits-filter: 5.0.0 conventional-commits-parser: 6.0.0 + '@daybrush/utils@1.13.0': {} + '@develar/schema-utils@2.6.5': dependencies: ajv: 6.12.6 @@ -9231,29 +9586,29 @@ snapshots: dependencies: '@egjs/infinitegrid': 4.12.0 - '@egoist/tailwindcss-icons@1.8.1(tailwindcss@3.4.11)': + '@egoist/tailwindcss-icons@1.8.1(tailwindcss@3.4.12)': dependencies: - '@iconify/utils': 2.1.31 - tailwindcss: 3.4.11 + '@iconify/utils': 2.1.32 + tailwindcss: 3.4.12 transitivePeerDependencies: - supports-color - '@egoist/tipc@0.3.2(electron@32.1.0)(react@18.3.1)': + '@egoist/tipc@0.3.2(electron@32.1.2)(react@18.3.1)': dependencies: - electron: 32.1.0 + electron: 32.1.2 optionalDependencies: - '@tanstack/react-query': 5.56.0(react@18.3.1) + '@tanstack/react-query': 5.56.2(react@18.3.1) transitivePeerDependencies: - react - '@electron-forge/cli@7.4.0(encoding@0.1.13)': + '@electron-forge/cli@7.5.0(encoding@0.1.13)': dependencies: - '@electron-forge/core': 7.4.0(encoding@0.1.13) - '@electron-forge/shared-types': 7.4.0 + '@electron-forge/core': 7.5.0(encoding@0.1.13) + '@electron-forge/shared-types': 7.5.0 '@electron/get': 3.1.0 chalk: 4.1.2 commander: 4.1.1 - debug: 4.3.6 + debug: 4.3.7 fs-extra: 10.1.0 listr2: 7.0.2 semver: 7.6.3 @@ -9262,13 +9617,13 @@ snapshots: - encoding - supports-color - '@electron-forge/core-utils@7.4.0': + '@electron-forge/core-utils@7.5.0': dependencies: - '@electron-forge/shared-types': 7.4.0 + '@electron-forge/shared-types': 7.5.0 '@electron/rebuild': 3.6.0 '@malept/cross-spawn-promise': 2.0.0 chalk: 4.1.2 - debug: 4.3.6 + debug: 4.3.7 find-up: 5.0.0 fs-extra: 10.1.0 log-symbols: 4.1.0 @@ -9278,25 +9633,25 @@ snapshots: - bluebird - supports-color - '@electron-forge/core@7.4.0(encoding@0.1.13)': + '@electron-forge/core@7.5.0(encoding@0.1.13)': dependencies: - '@electron-forge/core-utils': 7.4.0 - '@electron-forge/maker-base': 7.4.0 - '@electron-forge/plugin-base': 7.4.0 - '@electron-forge/publisher-base': 7.4.0 - '@electron-forge/shared-types': 7.4.0 - '@electron-forge/template-base': 7.4.0 - '@electron-forge/template-vite': 7.4.0 - '@electron-forge/template-vite-typescript': 7.4.0 - '@electron-forge/template-webpack': 7.4.0 - '@electron-forge/template-webpack-typescript': 7.4.0 - '@electron-forge/tracer': 7.4.0 + '@electron-forge/core-utils': 7.5.0 + '@electron-forge/maker-base': 7.5.0 + '@electron-forge/plugin-base': 7.5.0 + '@electron-forge/publisher-base': 7.5.0 + '@electron-forge/shared-types': 7.5.0 + '@electron-forge/template-base': 7.5.0 + '@electron-forge/template-vite': 7.5.0 + '@electron-forge/template-vite-typescript': 7.5.0 + '@electron-forge/template-webpack': 7.5.0 + '@electron-forge/template-webpack-typescript': 7.5.0 + '@electron-forge/tracer': 7.5.0 '@electron/get': 3.1.0 - '@electron/packager': 18.3.4 + '@electron/packager': 18.3.5 '@electron/rebuild': 3.6.0 '@malept/cross-spawn-promise': 2.0.0 chalk: 4.1.2 - debug: 4.3.6 + debug: 4.3.7 fast-glob: 3.3.2 filenamify: 4.3.0 find-up: 5.0.0 @@ -9329,21 +9684,30 @@ snapshots: - bluebird - supports-color - '@electron-forge/maker-dmg@7.4.0': + '@electron-forge/maker-base@7.5.0': dependencies: - '@electron-forge/maker-base': 7.4.0 - '@electron-forge/shared-types': 7.4.0 + '@electron-forge/shared-types': 7.5.0 fs-extra: 10.1.0 - optionalDependencies: - electron-installer-dmg: 4.0.0 + which: 2.0.2 transitivePeerDependencies: - bluebird - supports-color - '@electron-forge/maker-squirrel@7.4.0': + '@electron-forge/maker-dmg@7.5.0': dependencies: - '@electron-forge/maker-base': 7.4.0 - '@electron-forge/shared-types': 7.4.0 + '@electron-forge/maker-base': 7.5.0 + '@electron-forge/shared-types': 7.5.0 + fs-extra: 10.1.0 + optionalDependencies: + electron-installer-dmg: 5.0.1 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/maker-squirrel@7.5.0': + dependencies: + '@electron-forge/maker-base': 7.5.0 + '@electron-forge/shared-types': 7.5.0 fs-extra: 10.1.0 optionalDependencies: electron-winstaller: 5.4.0 @@ -9351,10 +9715,10 @@ snapshots: - bluebird - supports-color - '@electron-forge/maker-zip@7.4.0': + '@electron-forge/maker-zip@7.5.0': dependencies: - '@electron-forge/maker-base': 7.4.0 - '@electron-forge/shared-types': 7.4.0 + '@electron-forge/maker-base': 7.5.0 + '@electron-forge/shared-types': 7.5.0 cross-zip: 4.0.1 fs-extra: 10.1.0 got: 11.8.6 @@ -9362,40 +9726,40 @@ snapshots: - bluebird - supports-color - '@electron-forge/plugin-base@7.4.0': + '@electron-forge/plugin-base@7.5.0': dependencies: - '@electron-forge/shared-types': 7.4.0 + '@electron-forge/shared-types': 7.5.0 transitivePeerDependencies: - bluebird - supports-color - '@electron-forge/plugin-fuses@7.4.0(@electron/fuses@1.8.0)': + '@electron-forge/plugin-fuses@7.5.0(@electron/fuses@1.8.0)': dependencies: - '@electron-forge/plugin-base': 7.4.0 - '@electron-forge/shared-types': 7.4.0 + '@electron-forge/plugin-base': 7.5.0 + '@electron-forge/shared-types': 7.5.0 '@electron/fuses': 1.8.0 transitivePeerDependencies: - bluebird - supports-color - '@electron-forge/publisher-base@7.4.0': + '@electron-forge/publisher-base@7.5.0': dependencies: - '@electron-forge/shared-types': 7.4.0 + '@electron-forge/shared-types': 7.5.0 transitivePeerDependencies: - bluebird - supports-color - '@electron-forge/publisher-github@7.4.0(encoding@0.1.13)': + '@electron-forge/publisher-github@7.5.0(encoding@0.1.13)': dependencies: - '@electron-forge/publisher-base': 7.4.0 - '@electron-forge/shared-types': 7.4.0 + '@electron-forge/publisher-base': 7.5.0 + '@electron-forge/shared-types': 7.5.0 '@octokit/core': 3.6.0(encoding@0.1.13) '@octokit/plugin-retry': 3.0.9 '@octokit/request-error': 2.1.0 '@octokit/rest': 18.12.0(encoding@0.1.13) '@octokit/types': 6.41.0 chalk: 4.1.2 - debug: 4.3.6 + debug: 4.3.7 fs-extra: 10.1.0 log-symbols: 4.1.0 mime-types: 2.1.35 @@ -9414,48 +9778,58 @@ snapshots: - bluebird - supports-color - '@electron-forge/template-base@7.4.0': + '@electron-forge/shared-types@7.5.0': dependencies: - '@electron-forge/shared-types': 7.4.0 + '@electron-forge/tracer': 7.5.0 + '@electron/packager': 18.3.5 + '@electron/rebuild': 3.6.0 + listr2: 7.0.2 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/template-base@7.5.0': + dependencies: + '@electron-forge/shared-types': 7.5.0 '@malept/cross-spawn-promise': 2.0.0 - debug: 4.3.6 + debug: 4.3.7 fs-extra: 10.1.0 username: 5.1.0 transitivePeerDependencies: - bluebird - supports-color - '@electron-forge/template-vite-typescript@7.4.0': + '@electron-forge/template-vite-typescript@7.5.0': dependencies: - '@electron-forge/shared-types': 7.4.0 - '@electron-forge/template-base': 7.4.0 + '@electron-forge/shared-types': 7.5.0 + '@electron-forge/template-base': 7.5.0 fs-extra: 10.1.0 transitivePeerDependencies: - bluebird - supports-color - '@electron-forge/template-vite@7.4.0': + '@electron-forge/template-vite@7.5.0': dependencies: - '@electron-forge/shared-types': 7.4.0 - '@electron-forge/template-base': 7.4.0 + '@electron-forge/shared-types': 7.5.0 + '@electron-forge/template-base': 7.5.0 fs-extra: 10.1.0 transitivePeerDependencies: - bluebird - supports-color - '@electron-forge/template-webpack-typescript@7.4.0': + '@electron-forge/template-webpack-typescript@7.5.0': dependencies: - '@electron-forge/shared-types': 7.4.0 - '@electron-forge/template-base': 7.4.0 + '@electron-forge/shared-types': 7.5.0 + '@electron-forge/template-base': 7.5.0 fs-extra: 10.1.0 transitivePeerDependencies: - bluebird - supports-color - '@electron-forge/template-webpack@7.4.0': + '@electron-forge/template-webpack@7.5.0': dependencies: - '@electron-forge/shared-types': 7.4.0 - '@electron-forge/template-base': 7.4.0 + '@electron-forge/shared-types': 7.5.0 + '@electron-forge/template-base': 7.5.0 fs-extra: 10.1.0 transitivePeerDependencies: - bluebird @@ -9465,17 +9839,21 @@ snapshots: dependencies: chrome-trace-event: 1.0.4 - '@electron-toolkit/preload@3.0.1(electron@32.1.0)': + '@electron-forge/tracer@7.5.0': dependencies: - electron: 32.1.0 + chrome-trace-event: 1.0.4 - '@electron-toolkit/tsconfig@1.0.1(@types/node@22.5.4)': + '@electron-toolkit/preload@3.0.1(electron@32.1.2)': dependencies: - '@types/node': 22.5.4 + electron: 32.1.2 - '@electron-toolkit/utils@3.0.0(electron@32.1.0)': + '@electron-toolkit/tsconfig@1.0.1(@types/node@22.5.5)': dependencies: - electron: 32.1.0 + '@types/node': 22.5.5 + + '@electron-toolkit/utils@3.0.0(electron@32.1.2)': + dependencies: + electron: 32.1.2 '@electron/asar@3.2.10': dependencies: @@ -9483,6 +9861,13 @@ snapshots: glob: 7.2.3 minimatch: 3.1.2 + '@electron/asar@3.2.13': + dependencies: + '@types/glob': 7.2.0 + commander: 5.1.0 + glob: 7.2.3 + minimatch: 3.1.2 + '@electron/fuses@1.8.0': dependencies: chalk: 4.1.2 @@ -9505,7 +9890,7 @@ snapshots: '@electron/get@3.1.0': dependencies: - debug: 4.3.6 + debug: 4.3.7 env-paths: 2.2.1 fs-extra: 8.1.0 got: 11.8.6 @@ -9535,7 +9920,7 @@ snapshots: '@electron/notarize@2.4.0': dependencies: - debug: 4.3.6 + debug: 4.3.7 fs-extra: 9.1.0 promise-retry: 2.0.1 transitivePeerDependencies: @@ -9555,7 +9940,7 @@ snapshots: '@electron/osx-sign@1.3.1': dependencies: compare-version: 0.1.2 - debug: 4.3.6 + debug: 4.3.7 fs-extra: 10.1.0 isbinaryfile: 4.0.10 minimist: 1.2.8 @@ -9571,7 +9956,31 @@ snapshots: '@electron/osx-sign': 1.3.1 '@electron/universal': 2.0.1 '@electron/windows-sign': 1.1.3 - debug: 4.3.6 + debug: 4.3.7 + extract-zip: 2.0.1 + filenamify: 4.3.0 + fs-extra: 11.2.0 + galactus: 1.0.0 + get-package-info: 1.0.0 + junk: 3.1.0 + parse-author: 2.0.0 + plist: 3.1.0 + resedit: 2.0.2 + resolve: 1.22.8 + semver: 7.6.3 + yargs-parser: 21.1.1 + transitivePeerDependencies: + - supports-color + + '@electron/packager@18.3.5': + dependencies: + '@electron/asar': 3.2.13 + '@electron/get': 3.1.0 + '@electron/notarize': 2.4.0 + '@electron/osx-sign': 1.3.1 + '@electron/universal': 2.0.1 + '@electron/windows-sign': 1.1.3 + debug: 4.3.7 extract-zip: 2.0.1 filenamify: 4.3.0 fs-extra: 11.2.0 @@ -9591,7 +10000,7 @@ snapshots: dependencies: '@malept/cross-spawn-promise': 2.0.0 chalk: 4.1.2 - debug: 4.3.6 + debug: 4.3.7 detect-libc: 2.0.3 fs-extra: 10.1.0 got: 11.8.6 @@ -9623,7 +10032,7 @@ snapshots: dependencies: '@electron/asar': 3.2.10 '@malept/cross-spawn-promise': 2.0.0 - debug: 4.3.6 + debug: 4.3.7 dir-compare: 4.2.0 fs-extra: 11.2.0 minimatch: 9.0.5 @@ -9796,20 +10205,20 @@ snapshots: '@esbuild/win32-x64@0.23.1': optional: true - '@eslint-community/eslint-utils@4.4.0(eslint@9.10.0(jiti@1.21.6))': + '@eslint-community/eslint-utils@4.4.0(eslint@9.11.0(jiti@1.21.6))': dependencies: - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.11.0': {} - '@eslint-react/ast@1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@eslint-react/ast@1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@eslint-react/tools': 1.13.1 - '@eslint-react/types': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/types': 8.4.0 - '@typescript-eslint/typescript-estree': 8.4.0(typescript@5.6.2) - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/tools': 1.14.1 + '@eslint-react/types': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) birecord: 0.1.1 string-ts: 2.2.0 ts-pattern: 5.3.1 @@ -9818,18 +10227,18 @@ snapshots: - supports-color - typescript - '@eslint-react/core@1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@eslint-react/core@1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@eslint-react/ast': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/jsx': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/shared': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/tools': 1.13.1 - '@eslint-react/types': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/var': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.4.0 - '@typescript-eslint/type-utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/types': 8.4.0 - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/ast': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/jsx': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/shared': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/tools': 1.14.1 + '@eslint-react/types': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/var': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/type-utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) birecord: 0.1.1 short-unique-id: 5.2.0 ts-pattern: 5.3.1 @@ -9838,72 +10247,72 @@ snapshots: - supports-color - typescript - '@eslint-react/eslint-plugin@1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@eslint-react/eslint-plugin@1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@eslint-react/shared': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/tools': 1.13.1 - '@eslint-react/types': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.4.0 - '@typescript-eslint/type-utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/types': 8.4.0 - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) - eslint-plugin-react-debug: 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint-plugin-react-dom: 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint-plugin-react-hooks-extra: 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint-plugin-react-naming-convention: 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint-plugin-react-web-api: 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint-plugin-react-x: 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/shared': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/tools': 1.14.1 + '@eslint-react/types': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/type-utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint: 9.11.0(jiti@1.21.6) + eslint-plugin-react-debug: 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint-plugin-react-dom: 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint-plugin-react-hooks-extra: 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint-plugin-react-naming-convention: 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint-plugin-react-web-api: 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint-plugin-react-x: 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: - supports-color - '@eslint-react/jsx@1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@eslint-react/jsx@1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@eslint-react/ast': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/tools': 1.13.1 - '@eslint-react/types': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/var': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.4.0 - '@typescript-eslint/types': 8.4.0 - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/ast': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/tools': 1.14.1 + '@eslint-react/types': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/var': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) ts-pattern: 5.3.1 transitivePeerDependencies: - eslint - supports-color - typescript - '@eslint-react/shared@1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@eslint-react/shared@1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@eslint-react/tools': 1.13.1 - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/tools': 1.14.1 + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) picomatch: 4.0.2 transitivePeerDependencies: - eslint - supports-color - typescript - '@eslint-react/tools@1.13.1': {} + '@eslint-react/tools@1.14.1': {} - '@eslint-react/types@1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@eslint-react/types@1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@eslint-react/tools': 1.13.1 - '@typescript-eslint/types': 8.4.0 - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/tools': 1.14.1 + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) transitivePeerDependencies: - eslint - supports-color - typescript - '@eslint-react/var@1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@eslint-react/var@1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@eslint-react/ast': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/tools': 1.13.1 - '@eslint-react/types': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.4.0 - '@typescript-eslint/types': 8.4.0 - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/ast': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/tools': 1.14.1 + '@eslint-react/types': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) ts-pattern: 5.3.1 transitivePeerDependencies: - eslint @@ -9936,9 +10345,11 @@ snapshots: '@eslint/js@9.10.0': {} + '@eslint/js@9.11.0': {} + '@eslint/object-schema@2.1.4': {} - '@eslint/plugin-kit@0.1.0': + '@eslint/plugin-kit@0.2.0': dependencies: levn: 0.4.1 @@ -9957,23 +10368,23 @@ snapshots: '@floating-ui/core': 1.6.7 '@floating-ui/utils': 0.2.7 - '@floating-ui/react-dom-interactions@0.3.1(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@floating-ui/react-dom-interactions@0.3.1(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@floating-ui/react-dom': 0.6.3(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@floating-ui/react-dom': 0.6.3(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) aria-hidden: 1.2.4 point-in-polygon: 1.1.0 - use-isomorphic-layout-effect: 1.1.2(@types/react@18.3.5)(react@18.3.1) + use-isomorphic-layout-effect: 1.1.2(@types/react@18.3.8)(react@18.3.1) transitivePeerDependencies: - '@types/react' - react - react-dom - '@floating-ui/react-dom@0.6.3(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@floating-ui/react-dom@0.6.3(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@floating-ui/dom': 0.4.5 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - use-isomorphic-layout-effect: 1.1.2(@types/react@18.3.5)(react@18.3.1) + use-isomorphic-layout-effect: 1.1.2(@types/react@18.3.8)(react@18.3.1) transitivePeerDependencies: - '@types/react' @@ -9983,21 +10394,46 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + '@floating-ui/react-dom@2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@floating-ui/dom': 1.6.10 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + + '@floating-ui/react@0.26.24(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@floating-ui/utils': 0.2.8 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + tabbable: 6.2.0 + '@floating-ui/utils@0.2.7': {} - '@fontsource/sn-pro@5.0.1': {} + '@floating-ui/utils@0.2.8': {} + + '@fontsource/sn-pro@5.1.0': {} '@gar/promisify@1.1.3': {} - '@hono/auth-js@1.0.10(@auth/core@0.34.2)(hono@4.6.1(patch_hash=iej2g43ojhll5opwbnvyorjq4e))(react@18.3.1)': + '@headlessui/react@2.1.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@floating-ui/react': 0.26.24(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@react-aria/focus': 3.18.2(react@18.3.1) + '@react-aria/interactions': 3.22.2(react@18.3.1) + '@tanstack/react-virtual': 3.10.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + + '@hono/auth-js@1.0.10(@auth/core@0.34.2)(hono@4.6.2(patch_hash=iej2g43ojhll5opwbnvyorjq4e))(react@18.3.1)': dependencies: '@auth/core': 0.34.2 - hono: 4.6.1(patch_hash=iej2g43ojhll5opwbnvyorjq4e) + hono: 4.6.2(patch_hash=iej2g43ojhll5opwbnvyorjq4e) react: 18.3.1 - '@hono/node-server@1.12.2(hono@4.6.1(patch_hash=iej2g43ojhll5opwbnvyorjq4e))': + '@hono/node-server@1.13.1(hono@4.6.2(patch_hash=iej2g43ojhll5opwbnvyorjq4e))': dependencies: - hono: 4.6.1(patch_hash=iej2g43ojhll5opwbnvyorjq4e) + hono: 4.6.2(patch_hash=iej2g43ojhll5opwbnvyorjq4e) '@hookform/resolvers@3.9.0(react-hook-form@7.53.0(react@18.3.1))': dependencies: @@ -10017,7 +10453,7 @@ snapshots: dependencies: '@iconify/types': 2.0.0 - '@iconify-json/simple-icons@1.2.2': + '@iconify-json/simple-icons@1.2.3': dependencies: '@iconify/types': 2.0.0 @@ -10026,7 +10462,7 @@ snapshots: '@iconify/types': 2.0.0 '@iconify/utils': 2.1.32 '@types/tar': 6.1.13 - axios: 1.7.7 + axios: 1.7.7(debug@4.3.7) cheerio: 1.0.0 domhandler: 5.0.3 extract-zip: 2.0.1 @@ -10040,18 +10476,6 @@ snapshots: '@iconify/types@2.0.0': {} - '@iconify/utils@2.1.31': - dependencies: - '@antfu/install-pkg': 0.4.0 - '@antfu/utils': 0.7.10 - '@iconify/types': 2.0.0 - debug: 4.3.7 - kolorist: 1.8.0 - local-pkg: 0.5.0 - mlly: 1.7.1 - transitivePeerDependencies: - - supports-color - '@iconify/utils@2.1.32': dependencies: '@antfu/install-pkg': 0.4.1 @@ -10100,6 +10524,14 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 + '@lottiefiles/dotlottie-react@0.8.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@lottiefiles/dotlottie-web': 0.33.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + + '@lottiefiles/dotlottie-web@0.33.0': {} + '@malept/cross-spawn-promise@1.1.1': dependencies: cross-spawn: 7.0.3 @@ -10551,679 +10983,719 @@ snapshots: '@radix-ui/primitive@1.1.0': {} - '@radix-ui/react-alert-dialog@1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-alert-dialog@1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-dialog': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slot': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-dialog': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-arrow@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-arrow@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-avatar@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-avatar@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-checkbox@1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-checkbox@1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-previous': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-size': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-previous': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-size': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-collection@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-collection@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slot': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-compose-refs@1.0.1(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-compose-refs@1.0.1(@types/react@18.3.8)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-compose-refs@1.1.0(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-compose-refs@1.1.0(@types/react@18.3.8)(react@18.3.1)': dependencies: react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-context-menu@2.2.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-context-menu@2.2.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-menu': 2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-menu': 2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-context@1.0.1(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-context@1.0.1(@types/react@18.3.8)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-context@1.1.0(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-context@1.1.0(@types/react@18.3.8)(react@18.3.1)': dependencies: react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-dialog@1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-dialog@1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slot': 1.0.2(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-portal': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.8)(react@18.3.1) aria-hidden: 1.2.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-remove-scroll: 2.5.5(@types/react@18.3.5)(react@18.3.1) + react-remove-scroll: 2.5.5(@types/react@18.3.8)(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-dialog@1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-dialog@1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-focus-guards': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-focus-scope': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-id': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slot': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-focus-guards': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-id': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) aria-hidden: 1.2.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-remove-scroll: 2.5.7(@types/react@18.3.5)(react@18.3.1) + react-remove-scroll: 2.5.7(@types/react@18.3.8)(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-direction@1.1.0(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-direction@1.1.0(@types/react@18.3.8)(react@18.3.1)': dependencies: react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-dismissable-layer@1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-dismissable-layer@1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-dismissable-layer@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-dismissable-layer@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-escape-keydown': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-escape-keydown': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-dropdown-menu@2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-dropdown-menu@2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-id': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-menu': 2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-id': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-menu': 2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-focus-guards@1.0.1(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-focus-guards@1.0.1(@types/react@18.3.8)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-focus-guards@1.1.0(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-focus-guards@1.1.0(@types/react@18.3.8)(react@18.3.1)': dependencies: react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-focus-scope@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-focus-scope@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-focus-scope@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-focus-scope@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-hover-card@1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-hover-card@1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-popper': 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-popper': 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-id@1.0.1(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-id@1.0.1(@types/react@18.3.8)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-id@1.1.0(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-id@1.1.0(@types/react@18.3.8)(react@18.3.1)': dependencies: - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-label@2.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-label@2.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-menu@2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-menu@2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-collection': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-direction': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-focus-guards': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-focus-scope': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-id': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-popper': 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-roving-focus': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slot': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-collection': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-direction': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-focus-guards': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-id': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-popper': 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-roving-focus': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) aria-hidden: 1.2.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-remove-scroll: 2.5.7(@types/react@18.3.5)(react@18.3.1) + react-remove-scroll: 2.5.7(@types/react@18.3.8)(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-popover@1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-popover@1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-focus-guards': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-focus-scope': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-id': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-popper': 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slot': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-focus-guards': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-id': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-popper': 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) aria-hidden: 1.2.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-remove-scroll: 2.5.7(@types/react@18.3.5)(react@18.3.1) + react-remove-scroll: 2.5.7(@types/react@18.3.8)(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-popper@1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-popper@1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@floating-ui/react-dom': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-arrow': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-rect': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-size': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-arrow': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-rect': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-size': 1.1.0(@types/react@18.3.8)(react@18.3.1) '@radix-ui/rect': 1.1.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-portal@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-portal@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-portal@1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-portal@1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-presence@1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-presence@1.0.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-presence@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-presence@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-primitive@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-primitive@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 - '@radix-ui/react-slot': 1.0.2(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-primitive@2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-primitive@2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@radix-ui/react-slot': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-slot': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-radio-group@1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-radio-group@1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-direction': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-roving-focus': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-previous': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-size': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-direction': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-roving-focus': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-previous': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-size': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-roving-focus@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-roving-focus@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-collection': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-direction': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-id': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-collection': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-direction': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-id': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-scroll-area@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-scroll-area@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/number': 1.1.0 '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-direction': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-direction': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-select@2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-select@2.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/number': 1.1.0 '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-collection': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-direction': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-focus-guards': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-focus-scope': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-id': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-popper': 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slot': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-previous': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-visually-hidden': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-collection': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-direction': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-focus-guards': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-id': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-popper': 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-previous': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-visually-hidden': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) aria-hidden: 1.2.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-remove-scroll: 2.5.7(@types/react@18.3.5)(react@18.3.1) + react-remove-scroll: 2.5.7(@types/react@18.3.8)(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-slider@1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-slider@1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/number': 1.1.0 '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-collection': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-direction': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-previous': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-size': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-collection': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-direction': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-previous': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-size': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-slot@1.0.2(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-slot@1.0.2(@types/react@18.3.8)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-slot@1.1.0(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-slot@1.1.0(@types/react@18.3.8)(react@18.3.1)': dependencies: - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-switch@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-switch@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-previous': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-size': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-previous': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-size': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-tabs@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-tabs@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-direction': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-id': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-roving-focus': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-direction': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-id': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-roving-focus': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-toast@1.2.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-toast@1.2.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-collection': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-visually-hidden': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-collection': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-visually-hidden': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-tooltip@1.1.2(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-tooltip@1.1.2(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-id': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-popper': 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slot': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.5)(react@18.3.1) - '@radix-ui/react-visually-hidden': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-id': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-popper': 1.2.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-portal': 1.1.1(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-presence': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-visually-hidden': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 - '@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.3.8)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-use-callback-ref@1.1.0(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-use-callback-ref@1.1.0(@types/react@18.3.8)(react@18.3.1)': dependencies: react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-use-controllable-state@1.0.1(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-use-controllable-state@1.0.1(@types/react@18.3.8)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-use-controllable-state@1.1.0(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-use-controllable-state@1.1.0(@types/react@18.3.8)(react@18.3.1)': dependencies: - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-use-escape-keydown@1.0.3(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-use-escape-keydown@1.0.3(@types/react@18.3.8)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-use-escape-keydown@1.1.0(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-use-escape-keydown@1.1.0(@types/react@18.3.8)(react@18.3.1)': dependencies: - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-use-layout-effect@1.0.1(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-use-layout-effect@1.0.1(@types/react@18.3.8)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.4 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-use-layout-effect@1.1.0(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-use-layout-effect@1.1.0(@types/react@18.3.8)(react@18.3.1)': dependencies: react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-use-previous@1.1.0(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-use-previous@1.1.0(@types/react@18.3.8)(react@18.3.1)': dependencies: react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-use-rect@1.1.0(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-use-rect@1.1.0(@types/react@18.3.8)(react@18.3.1)': dependencies: '@radix-ui/rect': 1.1.0 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-use-size@1.1.0(@types/react@18.3.5)(react@18.3.1)': + '@radix-ui/react-use-size@1.1.0(@types/react@18.3.8)(react@18.3.1)': dependencies: - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.5)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.8)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@radix-ui/react-visually-hidden@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-visually-hidden@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 '@types/react-dom': 18.3.0 '@radix-ui/rect@1.1.0': {} + '@react-aria/focus@3.18.2(react@18.3.1)': + dependencies: + '@react-aria/interactions': 3.22.2(react@18.3.1) + '@react-aria/utils': 3.25.2(react@18.3.1) + '@react-types/shared': 3.24.1(react@18.3.1) + '@swc/helpers': 0.5.13 + clsx: 2.1.1 + react: 18.3.1 + + '@react-aria/interactions@3.22.2(react@18.3.1)': + dependencies: + '@react-aria/ssr': 3.9.5(react@18.3.1) + '@react-aria/utils': 3.25.2(react@18.3.1) + '@react-types/shared': 3.24.1(react@18.3.1) + '@swc/helpers': 0.5.13 + react: 18.3.1 + + '@react-aria/ssr@3.9.5(react@18.3.1)': + dependencies: + '@swc/helpers': 0.5.13 + react: 18.3.1 + + '@react-aria/utils@3.25.2(react@18.3.1)': + dependencies: + '@react-aria/ssr': 3.9.5(react@18.3.1) + '@react-stately/utils': 3.10.3(react@18.3.1) + '@react-types/shared': 3.24.1(react@18.3.1) + '@swc/helpers': 0.5.13 + clsx: 2.1.1 + react: 18.3.1 + + '@react-stately/utils@3.10.3(react@18.3.1)': + dependencies: + '@swc/helpers': 0.5.13 + react: 18.3.1 + + '@react-types/shared@3.24.1(react@18.3.1)': + dependencies: + react: 18.3.1 + '@remix-run/router@1.19.2': {} '@rollup/rollup-android-arm-eabi@4.21.2': @@ -11274,6 +11746,19 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.21.2': optional: true + '@scena/dragscroll@1.4.0': + dependencies: + '@daybrush/utils': 1.13.0 + '@scena/event-emitter': 1.0.5 + + '@scena/event-emitter@1.0.5': + dependencies: + '@daybrush/utils': 1.13.0 + + '@scena/matrix@1.1.1': + dependencies: + '@daybrush/utils': 1.13.0 + '@sentry-internal/browser-utils@8.26.0': dependencies: '@sentry/core': 8.26.0 @@ -11499,31 +11984,31 @@ snapshots: - encoding - supports-color - '@shikijs/core@1.17.0': + '@shikijs/core@1.18.0': dependencies: - '@shikijs/engine-javascript': 1.17.0 - '@shikijs/engine-oniguruma': 1.17.0 - '@shikijs/types': 1.17.0 + '@shikijs/engine-javascript': 1.18.0 + '@shikijs/engine-oniguruma': 1.18.0 + '@shikijs/types': 1.18.0 '@shikijs/vscode-textmate': 9.2.2 '@types/hast': 3.0.4 - hast-util-to-html: 9.0.2 + hast-util-to-html: 9.0.3 - '@shikijs/engine-javascript@1.17.0': + '@shikijs/engine-javascript@1.18.0': dependencies: - '@shikijs/types': 1.17.0 - oniguruma-to-js: 0.3.3 - regex: 4.3.2 + '@shikijs/types': 1.18.0 + '@shikijs/vscode-textmate': 9.2.2 + oniguruma-to-js: 0.4.3 - '@shikijs/engine-oniguruma@1.17.0': + '@shikijs/engine-oniguruma@1.18.0': dependencies: - '@shikijs/types': 1.17.0 + '@shikijs/types': 1.18.0 '@shikijs/vscode-textmate': 9.2.2 - '@shikijs/transformers@1.17.0': + '@shikijs/transformers@1.18.0': dependencies: - shiki: 1.17.0 + shiki: 1.18.0 - '@shikijs/types@1.17.0': + '@shikijs/types@1.18.0': dependencies: '@shikijs/vscode-textmate': 9.2.2 '@types/hast': 3.0.4 @@ -11532,11 +12017,10 @@ snapshots: '@sindresorhus/is@4.6.0': {} - '@stylistic/eslint-plugin@2.7.2(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@stylistic/eslint-plugin@2.8.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@types/eslint': 9.6.1 - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) + '@typescript-eslint/utils': 8.4.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint: 9.11.0(jiti@1.21.6) eslint-visitor-keys: 4.0.0 espree: 10.1.0 estraverse: 5.3.0 @@ -11545,6 +12029,10 @@ snapshots: - supports-color - typescript + '@swc/helpers@0.5.13': + dependencies: + tslib: 2.7.0 + '@szmarczak/http-timer@4.0.6': dependencies: defer-to-connect: 2.0.1 @@ -11555,83 +12043,96 @@ snapshots: optionalDependencies: typescript: 5.6.2 - '@tailwindcss/container-queries@0.1.1(tailwindcss@3.4.11)': + '@tailwindcss/container-queries@0.1.1(tailwindcss@3.4.12)': dependencies: - tailwindcss: 3.4.11 + tailwindcss: 3.4.12 - '@tailwindcss/typography@0.5.15(tailwindcss@3.4.11)': + '@tailwindcss/typography@0.5.15(tailwindcss@3.4.12)': dependencies: lodash.castarray: 4.4.0 lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 postcss-selector-parser: 6.0.10 - tailwindcss: 3.4.11 + tailwindcss: 3.4.12 - '@tanstack/query-core@5.56.0': {} + '@tanstack/query-core@5.56.2': {} - '@tanstack/query-devtools@5.55.1': {} + '@tanstack/query-devtools@5.56.1': {} - '@tanstack/query-persist-client-core@5.56.0': + '@tanstack/query-persist-client-core@5.56.2': dependencies: - '@tanstack/query-core': 5.56.0 + '@tanstack/query-core': 5.56.2 - '@tanstack/query-sync-storage-persister@5.56.0': + '@tanstack/query-sync-storage-persister@5.56.2': dependencies: - '@tanstack/query-core': 5.56.0 - '@tanstack/query-persist-client-core': 5.56.0 + '@tanstack/query-core': 5.56.2 + '@tanstack/query-persist-client-core': 5.56.2 - '@tanstack/react-query-devtools@5.56.0(@tanstack/react-query@5.56.0(react@18.3.1))(react@18.3.1)': + '@tanstack/react-query-devtools@5.56.2(@tanstack/react-query@5.56.2(react@18.3.1))(react@18.3.1)': dependencies: - '@tanstack/query-devtools': 5.55.1 - '@tanstack/react-query': 5.56.0(react@18.3.1) + '@tanstack/query-devtools': 5.56.1 + '@tanstack/react-query': 5.56.2(react@18.3.1) react: 18.3.1 - '@tanstack/react-query-persist-client@5.56.0(@tanstack/react-query@5.56.0(react@18.3.1))(react@18.3.1)': + '@tanstack/react-query-persist-client@5.56.2(@tanstack/react-query@5.56.2(react@18.3.1))(react@18.3.1)': dependencies: - '@tanstack/query-persist-client-core': 5.56.0 - '@tanstack/react-query': 5.56.0(react@18.3.1) + '@tanstack/query-persist-client-core': 5.56.2 + '@tanstack/react-query': 5.56.2(react@18.3.1) react: 18.3.1 - '@tanstack/react-query@5.56.0(react@18.3.1)': + '@tanstack/react-query@5.56.2(react@18.3.1)': dependencies: - '@tanstack/query-core': 5.56.0 + '@tanstack/query-core': 5.56.2 react: 18.3.1 + '@tanstack/react-virtual@3.10.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@tanstack/virtual-core': 3.10.8 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + + '@tanstack/virtual-core@3.10.8': {} + '@tootallnate/once@2.0.0': {} '@trysound/sax@0.2.0': {} + '@types/appdmg@0.5.5': + dependencies: + '@types/node': 22.5.5 + optional: true + '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.25.4 - '@babel/types': 7.25.4 + '@babel/parser': 7.25.6 + '@babel/types': 7.25.6 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.6 '@types/babel__generator@7.6.8': dependencies: - '@babel/types': 7.25.4 + '@babel/types': 7.25.6 '@types/babel__template@7.4.4': dependencies: - '@babel/parser': 7.25.4 - '@babel/types': 7.25.4 + '@babel/parser': 7.25.6 + '@babel/types': 7.25.6 '@types/babel__traverse@7.20.6': dependencies: - '@babel/types': 7.25.4 + '@babel/types': 7.25.6 '@types/cacheable-request@6.0.3': dependencies: '@types/http-cache-semantics': 4.0.4 '@types/keyv': 3.1.4 - '@types/node': 22.5.4 + '@types/node': 22.5.5 '@types/responselike': 1.0.3 '@types/connect@3.4.36': dependencies: - '@types/node': 22.5.4 + '@types/node': 22.5.5 '@types/cookie@0.6.0': {} @@ -11652,12 +12153,12 @@ snapshots: '@types/fs-extra@9.0.13': dependencies: - '@types/node': 22.5.4 + '@types/node': 22.5.5 '@types/glob@7.2.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 22.5.4 + '@types/node': 22.5.5 '@types/hast@3.0.4': dependencies: @@ -11669,7 +12170,7 @@ snapshots: '@types/keyv@3.1.4': dependencies: - '@types/node': 22.5.4 + '@types/node': 22.5.5 '@types/lodash-es@4.17.12': dependencies: @@ -11687,13 +12188,13 @@ snapshots: '@types/mysql@2.15.22': dependencies: - '@types/node': 22.5.4 + '@types/node': 22.5.5 '@types/node@20.16.5': dependencies: undici-types: 6.19.8 - '@types/node@22.5.4': + '@types/node@22.5.5': dependencies: undici-types: 6.19.8 @@ -11701,24 +12202,23 @@ snapshots: '@types/pg-pool@2.0.4': dependencies: - '@types/pg': 8.6.1 + '@types/pg': 8.11.8 '@types/pg@8.11.8': dependencies: - '@types/node': 22.5.4 + '@types/node': 22.5.5 pg-protocol: 1.6.1 pg-types: 4.0.2 - optional: true '@types/pg@8.6.1': dependencies: - '@types/node': 22.5.4 + '@types/node': 22.5.5 pg-protocol: 1.6.1 pg-types: 2.2.0 '@types/plist@3.0.5': dependencies: - '@types/node': 22.5.4 + '@types/node': 22.5.5 xmlbuilder: 15.1.1 optional: true @@ -11726,16 +12226,16 @@ snapshots: '@types/react-dom@18.3.0': dependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - '@types/react@18.3.5': + '@types/react@18.3.8': dependencies: '@types/prop-types': 15.7.12 csstype: 3.1.3 '@types/responselike@1.0.3': dependencies: - '@types/node': 22.5.4 + '@types/node': 22.5.5 '@types/semver@7.5.8': {} @@ -11743,7 +12243,7 @@ snapshots: '@types/tar@6.1.13': dependencies: - '@types/node': 22.5.4 + '@types/node': 22.5.5 minipass: 4.2.8 '@types/unist@2.0.11': {} @@ -11755,18 +12255,18 @@ snapshots: '@types/yauzl@2.10.3': dependencies: - '@types/node': 22.5.4 + '@types/node': 22.5.5 optional: true - '@typescript-eslint/eslint-plugin@8.4.0(@typescript-eslint/parser@8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.4.0 - '@typescript-eslint/type-utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/visitor-keys': 8.4.0 - eslint: 9.10.0(jiti@1.21.6) + '@typescript-eslint/parser': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/type-utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/visitor-keys': 8.6.0 + eslint: 9.11.0(jiti@1.21.6) graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 @@ -11776,14 +12276,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/parser@8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@typescript-eslint/scope-manager': 8.4.0 - '@typescript-eslint/types': 8.4.0 - '@typescript-eslint/typescript-estree': 8.4.0(typescript@5.6.2) - '@typescript-eslint/visitor-keys': 8.4.0 + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) + '@typescript-eslint/visitor-keys': 8.6.0 debug: 4.3.7 - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: @@ -11794,10 +12294,15 @@ snapshots: '@typescript-eslint/types': 8.4.0 '@typescript-eslint/visitor-keys': 8.4.0 - '@typescript-eslint/type-utils@8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/scope-manager@8.6.0': dependencies: - '@typescript-eslint/typescript-estree': 8.4.0(typescript@5.6.2) - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/visitor-keys': 8.6.0 + + '@typescript-eslint/type-utils@8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': + dependencies: + '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) debug: 4.3.7 ts-api-utils: 1.3.0(typescript@5.6.2) optionalDependencies: @@ -11808,6 +12313,8 @@ snapshots: '@typescript-eslint/types@8.4.0': {} + '@typescript-eslint/types@8.6.0': {} + '@typescript-eslint/typescript-estree@8.4.0(typescript@5.6.2)': dependencies: '@typescript-eslint/types': 8.4.0 @@ -11823,13 +12330,39 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/typescript-estree@8.6.0(typescript@5.6.2)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/visitor-keys': 8.6.0 + debug: 4.3.7 + fast-glob: 3.3.2 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.3.0(typescript@5.6.2) + optionalDependencies: + typescript: 5.6.2 + transitivePeerDependencies: + - supports-color + + '@typescript-eslint/utils@8.4.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) '@typescript-eslint/scope-manager': 8.4.0 '@typescript-eslint/types': 8.4.0 '@typescript-eslint/typescript-estree': 8.4.0(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) + transitivePeerDependencies: + - supports-color + - typescript + + '@typescript-eslint/utils@8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/typescript-estree': 8.6.0(typescript@5.6.2) + eslint: 9.11.0(jiti@1.21.6) transitivePeerDependencies: - supports-color - typescript @@ -11839,6 +12372,11 @@ snapshots: '@typescript-eslint/types': 8.4.0 eslint-visitor-keys: 3.4.3 + '@typescript-eslint/visitor-keys@8.6.0': + dependencies: + '@typescript-eslint/types': 8.6.0 + eslint-visitor-keys: 3.4.3 + '@ungap/structured-clone@1.2.0': {} '@unocss/config@0.62.3': @@ -11850,17 +12388,17 @@ snapshots: '@unocss/core@0.62.3': {} - '@unocss/eslint-config@0.62.3(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@unocss/eslint-config@0.62.3(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@unocss/eslint-plugin': 0.62.3(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@unocss/eslint-plugin': 0.62.3(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) transitivePeerDependencies: - eslint - supports-color - typescript - '@unocss/eslint-plugin@0.62.3(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': + '@unocss/eslint-plugin@0.62.3(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2)': dependencies: - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.4.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) '@unocss/config': 0.62.3 '@unocss/core': 0.62.3 magic-string: 0.30.11 @@ -11877,9 +12415,7 @@ snapshots: '@use-gesture/core': 10.3.1 react: 18.3.1 - '@vercel/ncc@0.38.1': {} - - '@vitejs/plugin-legacy@5.4.2(terser@5.32.0)(vite@5.4.4(@types/node@22.5.4)(terser@5.32.0))': + '@vitejs/plugin-legacy@5.4.2(terser@5.32.0)(vite@5.4.7(@types/node@22.5.5)(terser@5.32.0))': dependencies: '@babel/core': 7.25.2 '@babel/preset-env': 7.25.4(@babel/core@7.25.2) @@ -11890,18 +12426,18 @@ snapshots: regenerator-runtime: 0.14.1 systemjs: 6.15.1 terser: 5.32.0 - vite: 5.4.4(@types/node@22.5.4)(terser@5.32.0) + vite: 5.4.7(@types/node@22.5.5)(terser@5.32.0) transitivePeerDependencies: - supports-color - '@vitejs/plugin-react@4.3.1(vite@5.4.4(@types/node@22.5.4)(terser@5.32.0))': + '@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@22.5.5)(terser@5.32.0))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-source': 7.24.7(@babel/core@7.25.2) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.4.4(@types/node@22.5.4)(terser@5.32.0) + vite: 5.4.7(@types/node@22.5.5)(terser@5.32.0) transitivePeerDependencies: - supports-color @@ -11916,6 +12452,10 @@ snapshots: dependencies: tinyrainbow: 1.2.0 + '@vitest/pretty-format@2.1.1': + dependencies: + tinyrainbow: 1.2.0 + '@vitest/runner@2.0.5': dependencies: '@vitest/utils': 2.0.5 @@ -12161,7 +12701,7 @@ snapshots: aria-hidden@1.2.4: dependencies: - tslib: 2.6.3 + tslib: 2.7.0 array-ify@1.0.0: {} @@ -12194,25 +12734,9 @@ snapshots: author-regex@1.0.0: {} - axios@1.7.4(debug@4.3.6): + axios@1.7.7(debug@4.3.7): dependencies: - follow-redirects: 1.15.6(debug@4.3.6) - form-data: 4.0.0 - proxy-from-env: 1.1.0 - transitivePeerDependencies: - - debug - - axios@1.7.6: - dependencies: - follow-redirects: 1.15.6(debug@4.3.6) - form-data: 4.0.0 - proxy-from-env: 1.1.0 - transitivePeerDependencies: - - debug - - axios@1.7.7: - dependencies: - follow-redirects: 1.15.9 + follow-redirects: 1.15.9(debug@4.3.7) form-data: 4.0.0 proxy-from-env: 1.1.0 transitivePeerDependencies: @@ -12351,7 +12875,7 @@ snapshots: browserslist@4.23.3: dependencies: - caniuse-lite: 1.0.30001651 + caniuse-lite: 1.0.30001659 electron-to-chromium: 1.5.13 node-releases: 2.0.18 update-browserslist-db: 1.1.0(browserslist@4.23.3) @@ -12377,6 +12901,7 @@ snapshots: bufferutil@4.0.8: dependencies: node-gyp-build: 4.8.1 + optional: true builder-util-runtime@9.2.4: dependencies: @@ -12453,7 +12978,7 @@ snapshots: ohash: 1.1.3 pathe: 1.1.2 perfect-debounce: 1.0.0 - pkg-types: 1.1.3 + pkg-types: 1.2.0 rc9: 2.1.2 cac@6.7.14: {} @@ -12504,8 +13029,6 @@ snapshots: lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 - caniuse-lite@1.0.30001651: {} - caniuse-lite@1.0.30001659: {} ccount@2.0.1: {} @@ -12637,9 +13160,9 @@ snapshots: slice-ansi: 5.0.0 string-width: 7.2.0 - click-to-react-component@1.1.0(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + click-to-react-component@1.1.0(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - '@floating-ui/react-dom-interactions': 0.3.1(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@floating-ui/react-dom-interactions': 0.3.1(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) htm: 3.1.1 react: 18.3.1 react-merge-refs: 1.1.0 @@ -12665,10 +13188,10 @@ snapshots: clsx@2.1.1: {} - cmdk@1.0.0(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + cmdk@1.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - '@radix-ui/react-dialog': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-dialog': 1.0.5(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) transitivePeerDependencies: @@ -12902,9 +13425,9 @@ snapshots: randombytes: 2.1.0 randomfill: 1.0.4 - css-declaration-sorter@7.2.0(postcss@8.4.45): + css-declaration-sorter@7.2.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 css-select@5.1.0: dependencies: @@ -12916,6 +13439,15 @@ snapshots: css-selector-parser@3.0.5: {} + css-styled@1.0.8: + dependencies: + '@daybrush/utils': 1.13.0 + + css-to-mat@1.1.1: + dependencies: + '@daybrush/utils': 1.13.0 + '@scena/matrix': 1.1.1 + css-tree@2.2.1: dependencies: mdn-data: 2.0.28 @@ -12930,49 +13462,49 @@ snapshots: cssesc@3.0.0: {} - cssnano-preset-default@7.0.6(postcss@8.4.45): + cssnano-preset-default@7.0.6(postcss@8.4.47): dependencies: browserslist: 4.23.3 - css-declaration-sorter: 7.2.0(postcss@8.4.45) - cssnano-utils: 5.0.0(postcss@8.4.45) - postcss: 8.4.45 - postcss-calc: 10.0.2(postcss@8.4.45) - postcss-colormin: 7.0.2(postcss@8.4.45) - postcss-convert-values: 7.0.4(postcss@8.4.45) - postcss-discard-comments: 7.0.3(postcss@8.4.45) - postcss-discard-duplicates: 7.0.1(postcss@8.4.45) - postcss-discard-empty: 7.0.0(postcss@8.4.45) - postcss-discard-overridden: 7.0.0(postcss@8.4.45) - postcss-merge-longhand: 7.0.4(postcss@8.4.45) - postcss-merge-rules: 7.0.4(postcss@8.4.45) - postcss-minify-font-values: 7.0.0(postcss@8.4.45) - postcss-minify-gradients: 7.0.0(postcss@8.4.45) - postcss-minify-params: 7.0.2(postcss@8.4.45) - postcss-minify-selectors: 7.0.4(postcss@8.4.45) - postcss-normalize-charset: 7.0.0(postcss@8.4.45) - postcss-normalize-display-values: 7.0.0(postcss@8.4.45) - postcss-normalize-positions: 7.0.0(postcss@8.4.45) - postcss-normalize-repeat-style: 7.0.0(postcss@8.4.45) - postcss-normalize-string: 7.0.0(postcss@8.4.45) - postcss-normalize-timing-functions: 7.0.0(postcss@8.4.45) - postcss-normalize-unicode: 7.0.2(postcss@8.4.45) - postcss-normalize-url: 7.0.0(postcss@8.4.45) - postcss-normalize-whitespace: 7.0.0(postcss@8.4.45) - postcss-ordered-values: 7.0.1(postcss@8.4.45) - postcss-reduce-initial: 7.0.2(postcss@8.4.45) - postcss-reduce-transforms: 7.0.0(postcss@8.4.45) - postcss-svgo: 7.0.1(postcss@8.4.45) - postcss-unique-selectors: 7.0.3(postcss@8.4.45) + css-declaration-sorter: 7.2.0(postcss@8.4.47) + cssnano-utils: 5.0.0(postcss@8.4.47) + postcss: 8.4.47 + postcss-calc: 10.0.2(postcss@8.4.47) + postcss-colormin: 7.0.2(postcss@8.4.47) + postcss-convert-values: 7.0.4(postcss@8.4.47) + postcss-discard-comments: 7.0.3(postcss@8.4.47) + postcss-discard-duplicates: 7.0.1(postcss@8.4.47) + postcss-discard-empty: 7.0.0(postcss@8.4.47) + postcss-discard-overridden: 7.0.0(postcss@8.4.47) + postcss-merge-longhand: 7.0.4(postcss@8.4.47) + postcss-merge-rules: 7.0.4(postcss@8.4.47) + postcss-minify-font-values: 7.0.0(postcss@8.4.47) + postcss-minify-gradients: 7.0.0(postcss@8.4.47) + postcss-minify-params: 7.0.2(postcss@8.4.47) + postcss-minify-selectors: 7.0.4(postcss@8.4.47) + postcss-normalize-charset: 7.0.0(postcss@8.4.47) + postcss-normalize-display-values: 7.0.0(postcss@8.4.47) + postcss-normalize-positions: 7.0.0(postcss@8.4.47) + postcss-normalize-repeat-style: 7.0.0(postcss@8.4.47) + postcss-normalize-string: 7.0.0(postcss@8.4.47) + postcss-normalize-timing-functions: 7.0.0(postcss@8.4.47) + postcss-normalize-unicode: 7.0.2(postcss@8.4.47) + postcss-normalize-url: 7.0.0(postcss@8.4.47) + postcss-normalize-whitespace: 7.0.0(postcss@8.4.47) + postcss-ordered-values: 7.0.1(postcss@8.4.47) + postcss-reduce-initial: 7.0.2(postcss@8.4.47) + postcss-reduce-transforms: 7.0.0(postcss@8.4.47) + postcss-svgo: 7.0.1(postcss@8.4.47) + postcss-unique-selectors: 7.0.3(postcss@8.4.47) - cssnano-utils@5.0.0(postcss@8.4.45): + cssnano-utils@5.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 - cssnano@7.0.6(postcss@8.4.45): + cssnano@7.0.6(postcss@8.4.47): dependencies: - cssnano-preset-default: 7.0.6(postcss@8.4.45) + cssnano-preset-default: 7.0.6(postcss@8.4.47) lilconfig: 3.1.2 - postcss: 8.4.45 + postcss: 8.4.47 csso@5.0.5: dependencies: @@ -12992,10 +13524,6 @@ snapshots: dependencies: ms: 2.1.3 - debug@4.3.6: - dependencies: - ms: 2.1.2 - debug@4.3.7: dependencies: ms: 2.1.3 @@ -13161,11 +13689,11 @@ snapshots: dotenv@9.0.2: {} - drizzle-orm@0.33.0(@opentelemetry/api@1.9.0)(@types/pg@8.11.8)(@types/react@18.3.5)(react@18.3.1): + drizzle-orm@0.33.0(@opentelemetry/api@1.9.0)(@types/pg@8.11.8)(@types/react@18.3.8)(react@18.3.1): optionalDependencies: '@opentelemetry/api': 1.9.0 '@types/pg': 8.11.8 - '@types/react': 18.3.5 + '@types/react': 18.3.8 react: 18.3.1 ds-store@0.1.6: @@ -13192,7 +13720,7 @@ snapshots: - dmg-builder - supports-color - electron-context-menu@4.0.4: + electron-context-menu@4.0.4(patch_hash=c53at4t5fflixuwjz35hmcqdu4): dependencies: cli-truncate: 4.0.0 electron-dl: 4.0.0 @@ -13202,7 +13730,7 @@ snapshots: dependencies: rimraf: 3.0.2 semver: 7.6.3 - tslib: 2.6.3 + tslib: 2.7.0 unzip-crx-3: 0.2.0 electron-dl@4.0.0: @@ -13211,8 +13739,9 @@ snapshots: pupa: 3.1.0 unused-filename: 4.0.1 - electron-installer-dmg@4.0.0: + electron-installer-dmg@5.0.1: dependencies: + '@types/appdmg': 0.5.5 debug: 4.3.7 minimist: 1.2.8 optionalDependencies: @@ -13274,15 +13803,15 @@ snapshots: transitivePeerDependencies: - supports-color - electron-vite@2.3.0(vite@5.4.4(@types/node@22.5.4)(terser@5.32.0)): + electron-vite@2.3.0(vite@5.4.7(@types/node@22.5.5)(terser@5.32.0)): dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-arrow-functions': 7.24.7(@babel/core@7.25.2) cac: 6.7.14 esbuild: 0.21.5 magic-string: 0.30.11 - picocolors: 1.0.1 - vite: 5.4.4(@types/node@22.5.4)(terser@5.32.0) + picocolors: 1.1.0 + vite: 5.4.7(@types/node@22.5.5)(terser@5.32.0) transitivePeerDependencies: - supports-color @@ -13299,7 +13828,7 @@ snapshots: - supports-color optional: true - electron@32.1.0: + electron@32.1.2: dependencies: '@electron/get': 2.0.3 '@types/node': 20.16.5 @@ -13426,46 +13955,46 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-compat-utils@0.5.1(eslint@9.10.0(jiti@1.21.6)): + eslint-compat-utils@0.5.1(eslint@9.11.0(jiti@1.21.6)): dependencies: - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) semver: 7.6.3 - eslint-config-flat-gitignore@0.3.0(eslint@9.10.0(jiti@1.21.6)): + eslint-config-flat-gitignore@0.3.0(eslint@9.11.0(jiti@1.21.6)): dependencies: '@eslint/compat': 1.1.1 - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) find-up-simple: 1.0.0 - eslint-config-hyoban@3.1.5(@typescript-eslint/eslint-plugin@8.4.0(@typescript-eslint/parser@8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(tailwindcss@3.4.11)(typescript@5.6.2): + eslint-config-hyoban@3.1.6(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(tailwindcss@3.4.12)(typescript@5.6.2): dependencies: - '@eslint-react/eslint-plugin': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/eslint-plugin': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) '@eslint/js': 9.10.0 - '@stylistic/eslint-plugin': 2.7.2(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@stylistic/eslint-plugin': 2.8.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) '@types/eslint': 9.6.1 - '@unocss/eslint-config': 0.62.3(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@unocss/eslint-config': 0.62.3(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) defu: 6.1.4 - eslint: 9.10.0(jiti@1.21.6) - eslint-config-flat-gitignore: 0.3.0(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-antfu: 2.5.0(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-command: 0.2.4(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-hyoban: 0.6.1(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-import-x: 4.2.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint-plugin-jsonc: 2.16.0(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-package-json: 0.15.2(eslint@9.10.0(jiti@1.21.6))(jsonc-eslint-parser@2.4.0) - eslint-plugin-react-compiler: 0.0.0-experimental-f8a5409-20240829(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-react-hooks: 5.1.0-rc-fb9a90fa48-20240614(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-react-refresh: 0.4.11(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-regexp: 2.6.0(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-simple-import-sort: 12.1.1(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-tailwindcss: 3.17.4(tailwindcss@3.4.11) - eslint-plugin-unicorn: 55.0.0(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-unused-imports: 4.1.3(@typescript-eslint/eslint-plugin@8.4.0(@typescript-eslint/parser@8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6)) + eslint: 9.11.0(jiti@1.21.6) + eslint-config-flat-gitignore: 0.3.0(eslint@9.11.0(jiti@1.21.6)) + eslint-plugin-antfu: 2.6.0(eslint@9.11.0(jiti@1.21.6)) + eslint-plugin-command: 0.2.5(eslint@9.11.0(jiti@1.21.6)) + eslint-plugin-hyoban: 0.6.1(eslint@9.11.0(jiti@1.21.6)) + eslint-plugin-import-x: 4.2.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint-plugin-jsonc: 2.16.0(eslint@9.11.0(jiti@1.21.6)) + eslint-plugin-package-json: 0.15.3(eslint@9.11.0(jiti@1.21.6))(jsonc-eslint-parser@2.4.0) + eslint-plugin-react-compiler: 0.0.0-experimental-f8a5409-20240829(eslint@9.11.0(jiti@1.21.6)) + eslint-plugin-react-hooks: 5.1.0-rc-fb9a90fa48-20240614(eslint@9.11.0(jiti@1.21.6)) + eslint-plugin-react-refresh: 0.4.11(eslint@9.11.0(jiti@1.21.6)) + eslint-plugin-regexp: 2.6.0(eslint@9.11.0(jiti@1.21.6)) + eslint-plugin-simple-import-sort: 12.1.1(eslint@9.11.0(jiti@1.21.6)) + eslint-plugin-tailwindcss: 3.17.4(tailwindcss@3.4.12) + eslint-plugin-unicorn: 55.0.0(eslint@9.11.0(jiti@1.21.6)) + eslint-plugin-unused-imports: 4.1.4(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6)) globals: 15.9.0 jsonc-eslint-parser: 2.4.0 local-pkg: 0.5.0 read-package-up: 11.0.0 - typescript-eslint: 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + typescript-eslint: 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: @@ -13481,26 +14010,26 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-antfu@2.5.0(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-antfu@2.6.0(eslint@9.11.0(jiti@1.21.6)): dependencies: '@antfu/utils': 0.7.10 - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) - eslint-plugin-command@0.2.4(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-command@0.2.5(eslint@9.11.0(jiti@1.21.6)): dependencies: '@es-joy/jsdoccomment': 0.48.0 - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) - eslint-plugin-hyoban@0.6.1(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-hyoban@0.6.1(eslint@9.11.0(jiti@1.21.6)): dependencies: - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) - eslint-plugin-import-x@4.2.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2): + eslint-plugin-import-x@4.2.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2): dependencies: - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.4.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) debug: 4.3.7 doctrine: 3.0.0 - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) eslint-import-resolver-node: 0.3.9 get-tsconfig: 4.8.0 is-glob: 4.0.3 @@ -13512,22 +14041,23 @@ snapshots: - supports-color - typescript - eslint-plugin-jsonc@2.16.0(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-jsonc@2.16.0(eslint@9.11.0(jiti@1.21.6)): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) - eslint: 9.10.0(jiti@1.21.6) - eslint-compat-utils: 0.5.1(eslint@9.10.0(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) + eslint: 9.11.0(jiti@1.21.6) + eslint-compat-utils: 0.5.1(eslint@9.11.0(jiti@1.21.6)) espree: 9.6.1 graphemer: 1.4.0 jsonc-eslint-parser: 2.4.0 natural-compare: 1.4.0 synckit: 0.6.2 - eslint-plugin-package-json@0.15.2(eslint@9.10.0(jiti@1.21.6))(jsonc-eslint-parser@2.4.0): + eslint-plugin-package-json@0.15.3(eslint@9.11.0(jiti@1.21.6))(jsonc-eslint-parser@2.4.0): dependencies: + '@altano/repository-tools': 0.1.1 detect-indent: 6.1.0 detect-newline: 3.1.0 - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) jsonc-eslint-parser: 2.4.0 package-json-validator: 0.6.5 semver: 7.6.3 @@ -13535,32 +14065,32 @@ snapshots: sort-package-json: 1.57.0 validate-npm-package-name: 5.0.1 - eslint-plugin-react-compiler@0.0.0-experimental-f8a5409-20240829(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-react-compiler@0.0.0-experimental-f8a5409-20240829(eslint@9.11.0(jiti@1.21.6)): dependencies: '@babel/core': 7.25.2 '@babel/parser': 7.25.6 '@babel/plugin-proposal-private-methods': 7.18.6(@babel/core@7.25.2) - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) hermes-parser: 0.20.1 zod: 3.23.8 zod-validation-error: 3.3.1(zod@3.23.8) transitivePeerDependencies: - supports-color - eslint-plugin-react-debug@1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2): + eslint-plugin-react-debug@1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2): dependencies: - '@eslint-react/ast': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/core': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/jsx': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/shared': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/tools': 1.13.1 - '@eslint-react/types': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/var': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.4.0 - '@typescript-eslint/type-utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/types': 8.4.0 - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) + '@eslint-react/ast': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/core': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/jsx': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/shared': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/tools': 1.14.1 + '@eslint-react/types': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/var': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/type-utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint: 9.11.0(jiti@1.21.6) string-ts: 2.2.0 ts-pattern: 5.3.1 optionalDependencies: @@ -13568,142 +14098,142 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-react-dom@1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2): + eslint-plugin-react-dom@1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2): dependencies: - '@eslint-react/ast': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/core': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/jsx': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/shared': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/tools': 1.13.1 - '@eslint-react/types': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/var': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.4.0 - '@typescript-eslint/types': 8.4.0 - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) + '@eslint-react/ast': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/core': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/jsx': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/shared': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/tools': 1.14.1 + '@eslint-react/types': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/var': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint: 9.11.0(jiti@1.21.6) ts-pattern: 5.3.1 optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: - supports-color - eslint-plugin-react-hooks-extra@1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2): + eslint-plugin-react-hooks-extra@1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2): dependencies: - '@eslint-react/ast': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/core': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/jsx': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/shared': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/tools': 1.13.1 - '@eslint-react/types': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/var': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.4.0 - '@typescript-eslint/type-utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/types': 8.4.0 - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) + '@eslint-react/ast': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/core': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/jsx': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/shared': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/tools': 1.14.1 + '@eslint-react/types': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/var': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/type-utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint: 9.11.0(jiti@1.21.6) ts-pattern: 5.3.1 optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: - supports-color - eslint-plugin-react-hooks@5.1.0-rc-fb9a90fa48-20240614(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-react-hooks@5.1.0-rc-fb9a90fa48-20240614(eslint@9.11.0(jiti@1.21.6)): dependencies: - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) - eslint-plugin-react-naming-convention@1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2): + eslint-plugin-react-naming-convention@1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2): dependencies: - '@eslint-react/ast': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/core': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/jsx': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/shared': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/tools': 1.13.1 - '@eslint-react/types': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.4.0 - '@typescript-eslint/type-utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/types': 8.4.0 - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) + '@eslint-react/ast': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/core': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/jsx': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/shared': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/tools': 1.14.1 + '@eslint-react/types': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/type-utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint: 9.11.0(jiti@1.21.6) ts-pattern: 5.3.1 optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: - supports-color - eslint-plugin-react-refresh@0.4.11(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-react-refresh@0.4.11(eslint@9.11.0(jiti@1.21.6)): dependencies: - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) - eslint-plugin-react-web-api@1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2): + eslint-plugin-react-web-api@1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2): dependencies: - '@eslint-react/ast': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/core': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/jsx': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/shared': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/tools': 1.13.1 - '@eslint-react/types': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/var': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.4.0 - '@typescript-eslint/types': 8.4.0 - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/ast': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/core': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/jsx': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/shared': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/tools': 1.14.1 + '@eslint-react/types': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/var': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) birecord: 0.1.1 - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) ts-pattern: 5.3.1 optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: - supports-color - eslint-plugin-react-x@1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2): + eslint-plugin-react-x@1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2): dependencies: - '@eslint-react/ast': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/core': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/jsx': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/shared': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/tools': 1.13.1 - '@eslint-react/types': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@eslint-react/var': 1.13.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/scope-manager': 8.4.0 - '@typescript-eslint/type-utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/types': 8.4.0 - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) - is-immutable-type: 5.0.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/ast': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/core': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/jsx': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/shared': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/tools': 1.14.1 + '@eslint-react/types': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@eslint-react/var': 1.14.1(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/scope-manager': 8.6.0 + '@typescript-eslint/type-utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/types': 8.6.0 + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint: 9.11.0(jiti@1.21.6) + is-immutable-type: 5.0.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) ts-pattern: 5.3.1 optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: - supports-color - eslint-plugin-regexp@2.6.0(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-regexp@2.6.0(eslint@9.11.0(jiti@1.21.6)): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) '@eslint-community/regexpp': 4.11.0 comment-parser: 1.4.1 - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) jsdoc-type-pratt-parser: 4.1.0 refa: 0.12.1 regexp-ast-analysis: 0.7.1 scslre: 0.3.0 - eslint-plugin-simple-import-sort@12.1.1(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-simple-import-sort@12.1.1(eslint@9.11.0(jiti@1.21.6)): dependencies: - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) - eslint-plugin-tailwindcss@3.17.4(tailwindcss@3.4.11): + eslint-plugin-tailwindcss@3.17.4(tailwindcss@3.4.12): dependencies: fast-glob: 3.3.2 - postcss: 8.4.45 - tailwindcss: 3.4.11 + postcss: 8.4.47 + tailwindcss: 3.4.12 - eslint-plugin-unicorn@55.0.0(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-unicorn@55.0.0(eslint@9.11.0(jiti@1.21.6)): dependencies: '@babel/helper-validator-identifier': 7.24.7 - '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) ci-info: 4.0.0 clean-regexp: 1.0.0 core-js-compat: 3.38.1 - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) esquery: 1.6.0 globals: 15.9.0 indent-string: 4.0.0 @@ -13716,11 +14246,11 @@ snapshots: semver: 7.6.3 strip-indent: 3.0.0 - eslint-plugin-unused-imports@4.1.3(@typescript-eslint/eslint-plugin@8.4.0(@typescript-eslint/parser@8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6)): + eslint-plugin-unused-imports@4.1.4(@typescript-eslint/eslint-plugin@8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6)): dependencies: - eslint: 9.10.0(jiti@1.21.6) + eslint: 9.11.0(jiti@1.21.6) optionalDependencies: - '@typescript-eslint/eslint-plugin': 8.4.0(@typescript-eslint/parser@8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/eslint-plugin': 8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) eslint-scope@8.0.2: dependencies: @@ -13731,14 +14261,14 @@ snapshots: eslint-visitor-keys@4.0.0: {} - eslint@9.10.0(jiti@1.21.6): + eslint@9.11.0(jiti@1.21.6): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.0(jiti@1.21.6)) '@eslint-community/regexpp': 4.11.0 '@eslint/config-array': 0.18.0 '@eslint/eslintrc': 3.1.0 - '@eslint/js': 9.10.0 - '@eslint/plugin-kit': 0.1.0 + '@eslint/js': 9.11.0 + '@eslint/plugin-kit': 0.2.0 '@humanwhocodes/module-importer': 1.0.1 '@humanwhocodes/retry': 0.3.0 '@nodelib/fs.walk': 1.2.8 @@ -13819,6 +14349,18 @@ snapshots: signal-exit: 3.0.7 strip-eof: 1.0.0 + execa@5.1.1: + dependencies: + cross-spawn: 7.0.3 + get-stream: 6.0.1 + human-signals: 2.1.0 + is-stream: 2.0.1 + merge-stream: 2.0.0 + npm-run-path: 4.0.1 + onetime: 5.1.2 + signal-exit: 3.0.7 + strip-final-newline: 2.0.0 + execa@8.0.1: dependencies: cross-spawn: 7.0.3 @@ -13885,6 +14427,10 @@ snapshots: dependencies: pend: 1.2.0 + fdir@6.3.0(picomatch@4.0.2): + optionalDependencies: + picomatch: 4.0.2 + fflate@0.4.8: {} file-entry-cache@8.0.0: @@ -13942,11 +14488,9 @@ snapshots: imul: 1.0.1 optional: true - follow-redirects@1.15.6(debug@4.3.6): + follow-redirects@1.15.9(debug@4.3.7): optionalDependencies: - debug: 4.3.6 - - follow-redirects@1.15.9: {} + debug: 4.3.7 font-list@1.5.1: {} @@ -13968,7 +14512,7 @@ snapshots: optionalDependencies: react: 18.3.1 - framer-motion@11.5.4(@emotion/is-prop-valid@0.8.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + framer-motion@11.5.6(@emotion/is-prop-valid@0.8.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: tslib: 2.7.0 optionalDependencies: @@ -13976,6 +14520,8 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + framework-utils@1.1.0: {} + franc-min@6.2.0: dependencies: trigram-utils: 2.0.1 @@ -14040,7 +14586,7 @@ snapshots: galactus@1.0.0: dependencies: - debug: 4.3.6 + debug: 4.3.7 flora-colossus: 2.0.0 fs-extra: 10.1.0 transitivePeerDependencies: @@ -14069,6 +14615,11 @@ snapshots: gensync@1.0.0-beta.2: {} + gesto@1.19.4: + dependencies: + '@daybrush/utils': 1.13.0 + '@scena/event-emitter': 1.0.5 + get-caller-file@2.0.5: {} get-east-asian-width@1.2.0: {} @@ -14107,6 +14658,8 @@ snapshots: dependencies: pump: 3.0.0 + get-stream@6.0.1: {} + get-stream@8.0.1: {} get-tsconfig@4.8.0: @@ -14348,22 +14901,6 @@ snapshots: dependencies: '@types/hast': 3.0.4 - hast-util-raw@9.0.4: - dependencies: - '@types/hast': 3.0.4 - '@types/unist': 3.0.3 - '@ungap/structured-clone': 1.2.0 - hast-util-from-parse5: 8.0.1 - hast-util-to-parse5: 8.0.0 - html-void-elements: 3.0.0 - mdast-util-to-hast: 13.2.0 - parse5: 7.1.2 - unist-util-position: 5.0.0 - unist-util-visit: 5.0.0 - vfile: 6.0.3 - web-namespaces: 2.0.1 - zwitch: 2.0.4 - hast-util-sanitize@5.0.1: dependencies: '@types/hast': 3.0.4 @@ -14389,13 +14926,12 @@ snapshots: unist-util-visit: 5.0.0 zwitch: 2.0.4 - hast-util-to-html@9.0.1: + hast-util-to-html@9.0.2: dependencies: '@types/hast': 3.0.4 '@types/unist': 3.0.3 ccount: 2.0.1 comma-separated-tokens: 2.0.3 - hast-util-raw: 9.0.4 hast-util-whitespace: 3.0.0 html-void-elements: 3.0.0 mdast-util-to-hast: 13.2.0 @@ -14404,7 +14940,7 @@ snapshots: stringify-entities: 4.0.4 zwitch: 2.0.4 - hast-util-to-html@9.0.2: + hast-util-to-html@9.0.3: dependencies: '@types/hast': 3.0.4 '@types/unist': 3.0.3 @@ -14438,16 +14974,6 @@ snapshots: transitivePeerDependencies: - supports-color - hast-util-to-parse5@8.0.0: - dependencies: - '@types/hast': 3.0.4 - comma-separated-tokens: 2.0.3 - devlop: 1.1.0 - property-information: 6.5.0 - space-separated-tokens: 2.0.2 - web-namespaces: 2.0.1 - zwitch: 2.0.4 - hast-util-to-string@3.0.0: dependencies: '@types/hast': 3.0.4 @@ -14505,7 +15031,7 @@ snapshots: dependencies: parse-passwd: 1.0.0 - hono@4.6.1(patch_hash=iej2g43ojhll5opwbnvyorjq4e): {} + hono@4.6.2(patch_hash=iej2g43ojhll5opwbnvyorjq4e): {} hosted-git-info@2.8.9: {} @@ -14556,6 +15082,8 @@ snapshots: transitivePeerDependencies: - supports-color + human-signals@2.1.0: {} + human-signals@5.0.0: {} humanize-ms@1.2.1: @@ -14701,10 +15229,10 @@ snapshots: is-hexadecimal@2.0.1: {} - is-immutable-type@5.0.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2): + is-immutable-type@5.0.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2): dependencies: - '@typescript-eslint/type-utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - eslint: 9.10.0(jiti@1.21.6) + '@typescript-eslint/type-utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + eslint: 9.11.0(jiti@1.21.6) ts-api-utils: 1.3.0(typescript@5.6.2) ts-declaration-location: 1.0.4(typescript@5.6.2) typescript: 5.6.2 @@ -14746,6 +15274,8 @@ snapshots: is-stream@1.1.0: {} + is-stream@2.0.1: {} + is-stream@3.0.0: {} is-unicode-supported@0.1.0: {} @@ -14787,11 +15317,13 @@ snapshots: jose@5.8.0: {} - jotai@2.9.3(@types/react@18.3.5)(react@18.3.1): + jotai@2.10.0(@types/react@18.3.8)(react@18.3.1): optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 react: 18.3.1 + joycon@3.1.1: {} + js-tokens@4.0.0: {} js-yaml@4.1.0: @@ -14850,6 +15382,15 @@ snapshots: junk@3.1.0: {} + keycode@2.2.1: {} + + keycon@1.4.0: + dependencies: + '@cfcs/core': 0.0.6 + '@daybrush/utils': 1.13.0 + '@scena/event-emitter': 1.0.5 + keycode: 2.2.1 + keyv@4.5.4: dependencies: json-buffer: 3.0.1 @@ -14879,7 +15420,7 @@ snapshots: lines-and-columns@1.2.4: {} - linkedom@0.18.4: + linkedom@0.18.5: dependencies: css-select: 5.1.0 cssom: 0.5.0 @@ -14971,6 +15512,8 @@ snapshots: lodash.merge@4.6.2: {} + lodash.sortby@4.7.0: {} + lodash.union@4.6.0: {} lodash.uniq@4.5.0: {} @@ -15577,13 +16120,11 @@ snapshots: ms@2.0.0: {} - ms@2.1.2: {} - ms@2.1.3: {} msedge-tts@1.3.4(bufferutil@4.0.8)(utf-8-validate@6.0.4): dependencies: - axios: 1.7.4(debug@4.3.6) + axios: 1.7.7(debug@4.3.7) buffer: 6.0.3 crypto-browserify: 3.12.0 isomorphic-ws: 5.0.0(ws@8.18.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) @@ -15653,7 +16194,8 @@ snapshots: optionalDependencies: encoding: 0.1.13 - node-gyp-build@4.8.1: {} + node-gyp-build@4.8.1: + optional: true node-gyp@9.4.1: dependencies: @@ -15701,6 +16243,10 @@ snapshots: dependencies: path-key: 2.0.1 + npm-run-path@4.0.1: + dependencies: + path-key: 3.1.1 + npm-run-path@5.3.0: dependencies: path-key: 4.0.0 @@ -15722,7 +16268,7 @@ snapshots: consola: 3.2.3 execa: 8.0.1 pathe: 1.1.2 - pkg-types: 1.1.3 + pkg-types: 1.2.0 ufo: 1.5.4 oauth4webapi@2.12.1: {} @@ -15734,10 +16280,9 @@ snapshots: object-keys@1.1.1: optional: true - obuf@1.1.2: - optional: true + obuf@1.1.2: {} - ofetch@1.3.4: + ofetch@1.4.0: dependencies: destr: 2.0.3 node-fetch-native: 1.6.4 @@ -15761,7 +16306,9 @@ snapshots: dependencies: mimic-function: 5.0.1 - oniguruma-to-js@0.3.3: {} + oniguruma-to-js@0.4.3: + dependencies: + regex: 4.3.2 opentelemetry-instrumentation-fetch-node@1.2.3(@opentelemetry/api@1.9.0): dependencies: @@ -15798,6 +16345,10 @@ snapshots: strip-ansi: 6.0.1 wcwidth: 1.0.1 + overlap-area@1.1.0: + dependencies: + '@daybrush/utils': 1.13.0 + p-cancelable@2.1.1: {} p-defer@1.0.0: {} @@ -15844,8 +16395,6 @@ snapshots: dependencies: optimist: 0.6.1 - package-manager-detector@0.1.2: {} - package-manager-detector@0.2.0: {} pako@1.0.11: {} @@ -15971,8 +16520,7 @@ snapshots: pg-int8@1.0.1: {} - pg-numeric@1.0.2: - optional: true + pg-numeric@1.0.2: {} pg-protocol@1.6.1: {} @@ -15993,9 +16541,6 @@ snapshots: postgres-date: 2.1.0 postgres-interval: 3.0.0 postgres-range: 1.1.4 - optional: true - - picocolors@1.0.1: {} picocolors@1.1.0: {} @@ -16013,12 +16558,6 @@ snapshots: dependencies: find-up: 4.1.0 - pkg-types@1.1.3: - dependencies: - confbox: 0.1.7 - mlly: 1.7.1 - pathe: 1.1.2 - pkg-types@1.2.0: dependencies: confbox: 0.1.7 @@ -16035,166 +16574,175 @@ snapshots: point-in-polygon@1.1.0: {} - postcss-calc@10.0.2(postcss@8.4.45): + postcss-calc@10.0.2(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-selector-parser: 6.1.2 postcss-value-parser: 4.2.0 - postcss-colormin@7.0.2(postcss@8.4.45): + postcss-colormin@7.0.2(postcss@8.4.47): dependencies: browserslist: 4.23.3 caniuse-api: 3.0.0 colord: 2.9.3 - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-convert-values@7.0.4(postcss@8.4.45): + postcss-convert-values@7.0.4(postcss@8.4.47): dependencies: browserslist: 4.23.3 - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-discard-comments@7.0.3(postcss@8.4.45): + postcss-discard-comments@7.0.3(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-selector-parser: 6.1.2 - postcss-discard-duplicates@7.0.1(postcss@8.4.45): + postcss-discard-duplicates@7.0.1(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 - postcss-discard-empty@7.0.0(postcss@8.4.45): + postcss-discard-empty@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 - postcss-discard-overridden@7.0.0(postcss@8.4.45): + postcss-discard-overridden@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 - postcss-import@15.1.0(postcss@8.4.45): + postcss-import@15.1.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.8 - postcss-js@4.0.1(postcss@8.4.45): + postcss-js@4.0.1(postcss@8.4.47): dependencies: camelcase-css: 2.0.1 - postcss: 8.4.45 + postcss: 8.4.47 - postcss-load-config@4.0.2(postcss@8.4.45): + postcss-load-config@4.0.2(postcss@8.4.47): dependencies: lilconfig: 3.1.2 yaml: 2.5.1 optionalDependencies: - postcss: 8.4.45 + postcss: 8.4.47 - postcss-merge-longhand@7.0.4(postcss@8.4.45): + postcss-load-config@6.0.1(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(yaml@2.5.1): dependencies: - postcss: 8.4.45 - postcss-value-parser: 4.2.0 - stylehacks: 7.0.4(postcss@8.4.45) + lilconfig: 3.1.2 + optionalDependencies: + jiti: 1.21.6 + postcss: 8.4.47 + tsx: 4.19.1 + yaml: 2.5.1 - postcss-merge-rules@7.0.4(postcss@8.4.45): + postcss-merge-longhand@7.0.4(postcss@8.4.47): + dependencies: + postcss: 8.4.47 + postcss-value-parser: 4.2.0 + stylehacks: 7.0.4(postcss@8.4.47) + + postcss-merge-rules@7.0.4(postcss@8.4.47): dependencies: browserslist: 4.23.3 caniuse-api: 3.0.0 - cssnano-utils: 5.0.0(postcss@8.4.45) - postcss: 8.4.45 + cssnano-utils: 5.0.0(postcss@8.4.47) + postcss: 8.4.47 postcss-selector-parser: 6.1.2 - postcss-minify-font-values@7.0.0(postcss@8.4.45): + postcss-minify-font-values@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-minify-gradients@7.0.0(postcss@8.4.45): + postcss-minify-gradients@7.0.0(postcss@8.4.47): dependencies: colord: 2.9.3 - cssnano-utils: 5.0.0(postcss@8.4.45) - postcss: 8.4.45 + cssnano-utils: 5.0.0(postcss@8.4.47) + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-minify-params@7.0.2(postcss@8.4.45): + postcss-minify-params@7.0.2(postcss@8.4.47): dependencies: browserslist: 4.23.3 - cssnano-utils: 5.0.0(postcss@8.4.45) - postcss: 8.4.45 + cssnano-utils: 5.0.0(postcss@8.4.47) + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-minify-selectors@7.0.4(postcss@8.4.45): + postcss-minify-selectors@7.0.4(postcss@8.4.47): dependencies: cssesc: 3.0.0 - postcss: 8.4.45 + postcss: 8.4.47 postcss-selector-parser: 6.1.2 - postcss-nested@6.2.0(postcss@8.4.45): + postcss-nested@6.2.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-selector-parser: 6.1.2 - postcss-normalize-charset@7.0.0(postcss@8.4.45): + postcss-normalize-charset@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 - postcss-normalize-display-values@7.0.0(postcss@8.4.45): + postcss-normalize-display-values@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-positions@7.0.0(postcss@8.4.45): + postcss-normalize-positions@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-repeat-style@7.0.0(postcss@8.4.45): + postcss-normalize-repeat-style@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-string@7.0.0(postcss@8.4.45): + postcss-normalize-string@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-timing-functions@7.0.0(postcss@8.4.45): + postcss-normalize-timing-functions@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-unicode@7.0.2(postcss@8.4.45): + postcss-normalize-unicode@7.0.2(postcss@8.4.47): dependencies: browserslist: 4.23.3 - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-url@7.0.0(postcss@8.4.45): + postcss-normalize-url@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-normalize-whitespace@7.0.0(postcss@8.4.45): + postcss-normalize-whitespace@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-ordered-values@7.0.1(postcss@8.4.45): + postcss-ordered-values@7.0.1(postcss@8.4.47): dependencies: - cssnano-utils: 5.0.0(postcss@8.4.45) - postcss: 8.4.45 + cssnano-utils: 5.0.0(postcss@8.4.47) + postcss: 8.4.47 postcss-value-parser: 4.2.0 - postcss-reduce-initial@7.0.2(postcss@8.4.45): + postcss-reduce-initial@7.0.2(postcss@8.4.47): dependencies: browserslist: 4.23.3 caniuse-api: 3.0.0 - postcss: 8.4.45 + postcss: 8.4.47 - postcss-reduce-transforms@7.0.0(postcss@8.4.45): + postcss-reduce-transforms@7.0.0(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 postcss-selector-parser@6.0.10: @@ -16207,20 +16755,20 @@ snapshots: cssesc: 3.0.0 util-deprecate: 1.0.2 - postcss-svgo@7.0.1(postcss@8.4.45): + postcss-svgo@7.0.1(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-value-parser: 4.2.0 svgo: 3.3.2 - postcss-unique-selectors@7.0.3(postcss@8.4.45): + postcss-unique-selectors@7.0.3(postcss@8.4.47): dependencies: - postcss: 8.4.45 + postcss: 8.4.47 postcss-selector-parser: 6.1.2 postcss-value-parser@4.2.0: {} - postcss@8.4.45: + postcss@8.4.47: dependencies: nanoid: 3.3.7 picocolors: 1.1.0 @@ -16228,32 +16776,27 @@ snapshots: postgres-array@2.0.0: {} - postgres-array@3.0.2: - optional: true + postgres-array@3.0.2: {} postgres-bytea@1.0.0: {} postgres-bytea@3.0.0: dependencies: obuf: 1.1.2 - optional: true postgres-date@1.0.7: {} - postgres-date@2.1.0: - optional: true + postgres-date@2.1.0: {} postgres-interval@1.2.0: dependencies: xtend: 4.0.2 - postgres-interval@3.0.0: - optional: true + postgres-interval@3.0.0: {} - postgres-range@1.1.4: - optional: true + postgres-range@1.1.4: {} - posthog-js@1.161.3: + posthog-js@1.163.0: dependencies: fflate: 0.4.8 preact: 10.23.2 @@ -16261,7 +16804,7 @@ snapshots: posthog-node@4.2.0: dependencies: - axios: 1.7.6 + axios: 1.7.7(debug@4.3.7) rusha: 0.8.14 transitivePeerDependencies: - debug @@ -16382,7 +16925,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-i18next@15.0.1(i18next@23.15.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-i18next@15.0.2(i18next@23.15.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.4 html-parse-stringify: 3.0.1 @@ -16403,35 +16946,35 @@ snapshots: react-refresh@0.14.2: {} - react-remove-scroll-bar@2.3.6(@types/react@18.3.5)(react@18.3.1): + react-remove-scroll-bar@2.3.6(@types/react@18.3.8)(react@18.3.1): dependencies: react: 18.3.1 - react-style-singleton: 2.2.1(@types/react@18.3.5)(react@18.3.1) + react-style-singleton: 2.2.1(@types/react@18.3.8)(react@18.3.1) tslib: 2.7.0 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - react-remove-scroll@2.5.5(@types/react@18.3.5)(react@18.3.1): + react-remove-scroll@2.5.5(@types/react@18.3.8)(react@18.3.1): dependencies: react: 18.3.1 - react-remove-scroll-bar: 2.3.6(@types/react@18.3.5)(react@18.3.1) - react-style-singleton: 2.2.1(@types/react@18.3.5)(react@18.3.1) + react-remove-scroll-bar: 2.3.6(@types/react@18.3.8)(react@18.3.1) + react-style-singleton: 2.2.1(@types/react@18.3.8)(react@18.3.1) tslib: 2.7.0 - use-callback-ref: 1.3.2(@types/react@18.3.5)(react@18.3.1) - use-sidecar: 1.1.2(@types/react@18.3.5)(react@18.3.1) + use-callback-ref: 1.3.2(@types/react@18.3.8)(react@18.3.1) + use-sidecar: 1.1.2(@types/react@18.3.8)(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - react-remove-scroll@2.5.7(@types/react@18.3.5)(react@18.3.1): + react-remove-scroll@2.5.7(@types/react@18.3.8)(react@18.3.1): dependencies: react: 18.3.1 - react-remove-scroll-bar: 2.3.6(@types/react@18.3.5)(react@18.3.1) - react-style-singleton: 2.2.1(@types/react@18.3.5)(react@18.3.1) - tslib: 2.6.3 - use-callback-ref: 1.3.2(@types/react@18.3.5)(react@18.3.1) - use-sidecar: 1.1.2(@types/react@18.3.5)(react@18.3.1) + react-remove-scroll-bar: 2.3.6(@types/react@18.3.8)(react@18.3.1) + react-style-singleton: 2.2.1(@types/react@18.3.8)(react@18.3.1) + tslib: 2.7.0 + use-callback-ref: 1.3.2(@types/react@18.3.8)(react@18.3.1) + use-sidecar: 1.1.2(@types/react@18.3.8)(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 react-router-dom@6.26.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: @@ -16445,6 +16988,10 @@ snapshots: '@remix-run/router': 1.19.2 react: 18.3.1 + react-selecto@1.26.3: + dependencies: + selecto: 1.26.3 + react-shadow@20.5.0(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: humps: 2.0.1 @@ -16452,14 +16999,14 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-style-singleton@2.2.1(@types/react@18.3.5)(react@18.3.1): + react-style-singleton@2.2.1(@types/react@18.3.8)(react@18.3.1): dependencies: get-nonce: 1.0.1 invariant: 2.2.4 react: 18.3.1 tslib: 2.7.0 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 react-virtuoso@4.10.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: @@ -16472,7 +17019,7 @@ snapshots: read-binary-file-arch@1.0.6: dependencies: - debug: 4.3.6 + debug: 4.3.7 transitivePeerDependencies: - supports-color @@ -16635,7 +17182,7 @@ snapshots: rehype-stringify@10.0.0: dependencies: '@types/hast': 3.0.4 - hast-util-to-html: 9.0.1 + hast-util-to-html: 9.0.2 unified: 11.0.5 remark-directive@3.0.0: @@ -16673,7 +17220,7 @@ snapshots: transitivePeerDependencies: - supports-color - remark-rehype@11.1.0: + remark-rehype@11.1.1: dependencies: '@types/hast': 3.0.4 '@types/mdast': 4.0.4 @@ -16717,6 +17264,8 @@ snapshots: resolve-from@4.0.0: {} + resolve-from@5.0.0: {} + resolve-package@1.0.1: dependencies: get-installed-path: 2.1.1 @@ -16837,6 +17386,19 @@ snapshots: refa: 0.12.1 regexp-ast-analysis: 0.7.1 + selecto@1.26.3: + dependencies: + '@daybrush/utils': 1.13.0 + '@egjs/children-differ': 1.0.1 + '@scena/dragscroll': 1.4.0 + '@scena/event-emitter': 1.0.5 + css-styled: 1.0.8 + css-to-mat: 1.1.1 + framework-utils: 1.1.0 + gesto: 1.19.4 + keycon: 1.4.0 + overlap-area: 1.1.0 + semver-compare@1.0.0: optional: true @@ -16880,10 +17442,12 @@ snapshots: interpret: 1.4.0 rechoir: 0.6.2 - shiki@1.17.0: + shiki@1.18.0: dependencies: - '@shikijs/core': 1.17.0 - '@shikijs/types': 1.17.0 + '@shikijs/core': 1.18.0 + '@shikijs/engine-javascript': 1.18.0 + '@shikijs/engine-oniguruma': 1.18.0 + '@shikijs/types': 1.18.0 '@shikijs/vscode-textmate': 9.2.2 '@types/hast': 3.0.4 @@ -16975,6 +17539,10 @@ snapshots: source-map@0.6.1: {} + source-map@0.8.0-beta.0: + dependencies: + whatwg-url: 7.1.0 + space-separated-tokens@2.0.2: {} spdx-correct@3.2.0: @@ -17062,6 +17630,8 @@ snapshots: strip-eof@1.0.0: {} + strip-final-newline@2.0.0: {} + strip-final-newline@3.0.0: {} strip-indent@3.0.0: @@ -17078,10 +17648,10 @@ snapshots: dependencies: inline-style-parser: 0.2.3 - stylehacks@7.0.4(postcss@8.4.45): + stylehacks@7.0.4(postcss@8.4.47): dependencies: browserslist: 4.23.3 - postcss: 8.4.45 + postcss: 8.4.47 postcss-selector-parser: 6.1.2 sucrase@3.35.0: @@ -17122,7 +17692,7 @@ snapshots: csso: 5.0.5 picocolors: 1.1.0 - swiper@11.1.12: {} + swiper@11.1.14: {} synckit@0.6.2: dependencies: @@ -17135,13 +17705,15 @@ snapshots: systemjs@6.15.1: {} + tabbable@6.2.0: {} + tailwind-merge@2.5.2: {} - tailwindcss-animate@1.0.7(tailwindcss@3.4.11): + tailwindcss-animate@1.0.7(tailwindcss@3.4.12): dependencies: - tailwindcss: 3.4.11 + tailwindcss: 3.4.12 - tailwindcss@3.4.11: + tailwindcss@3.4.12: dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -17157,11 +17729,11 @@ snapshots: normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.1.0 - postcss: 8.4.45 - postcss-import: 15.1.0(postcss@8.4.45) - postcss-js: 4.0.1(postcss@8.4.45) - postcss-load-config: 4.0.2(postcss@8.4.45) - postcss-nested: 6.2.0(postcss@8.4.45) + postcss: 8.4.47 + postcss-import: 15.1.0(postcss@8.4.47) + postcss-js: 4.0.1(postcss@8.4.47) + postcss-load-config: 4.0.2(postcss@8.4.47) + postcss-nested: 6.2.0(postcss@8.4.47) postcss-selector-parser: 6.1.2 resolve: 1.22.8 sucrase: 3.35.0 @@ -17217,21 +17789,24 @@ snapshots: tinybench@2.9.0: {} - tinyexec@0.2.0: {} - tinyexec@0.3.0: {} + tinyglobby@0.2.6: + dependencies: + fdir: 6.3.0(picomatch@4.0.2) + picomatch: 4.0.2 + tinypool@1.0.1: {} tinyrainbow@1.2.0: {} tinyspy@3.0.0: {} - tldts-core@6.1.44: {} + tldts-core@6.1.47: {} - tldts@6.1.44: + tldts@6.1.47: dependencies: - tldts-core: 6.1.44 + tldts-core: 6.1.47 tmp-promise@3.0.3: dependencies: @@ -17255,6 +17830,12 @@ snapshots: tr46@0.0.3: {} + tr46@1.0.1: + dependencies: + punycode: 2.3.1 + + tree-kill@1.2.2: {} + trigram-utils@2.0.1: dependencies: collapse-white-space: 2.1.0 @@ -17289,10 +17870,35 @@ snapshots: optionalDependencies: typescript: 5.6.2 - tslib@2.6.3: {} - tslib@2.7.0: {} + tsup@8.3.0(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(typescript@5.6.2)(yaml@2.5.1): + dependencies: + bundle-require: 5.0.0(esbuild@0.23.1) + cac: 6.7.14 + chokidar: 3.6.0 + consola: 3.2.3 + debug: 4.3.7 + esbuild: 0.23.1 + execa: 5.1.1 + joycon: 3.1.1 + picocolors: 1.1.0 + postcss-load-config: 6.0.1(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.1)(yaml@2.5.1) + resolve-from: 5.0.0 + rollup: 4.21.2 + source-map: 0.8.0-beta.0 + sucrase: 3.35.0 + tinyglobby: 0.2.6 + tree-kill: 1.2.2 + optionalDependencies: + postcss: 8.4.47 + typescript: 5.6.2 + transitivePeerDependencies: + - jiti + - supports-color + - tsx + - yaml + tsx@4.19.1: dependencies: esbuild: 0.23.1 @@ -17315,11 +17921,11 @@ snapshots: type-fest@4.26.1: {} - typescript-eslint@8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2): + typescript-eslint@8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2): dependencies: - '@typescript-eslint/eslint-plugin': 8.4.0(@typescript-eslint/parser@8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/parser': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/utils': 8.4.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/eslint-plugin': 8.6.0(@typescript-eslint/parser@8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/parser': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.6.0(eslint@9.11.0(jiti@1.21.6))(typescript@5.6.2) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: @@ -17448,31 +18054,31 @@ snapshots: dependencies: punycode: 2.3.1 - use-callback-ref@1.3.2(@types/react@18.3.5)(react@18.3.1): + use-callback-ref@1.3.2(@types/react@18.3.8)(react@18.3.1): dependencies: react: 18.3.1 tslib: 2.7.0 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 use-context-selector@2.0.0(react@18.3.1)(scheduler@0.23.2): dependencies: react: 18.3.1 scheduler: 0.23.2 - use-isomorphic-layout-effect@1.1.2(@types/react@18.3.5)(react@18.3.1): + use-isomorphic-layout-effect@1.1.2(@types/react@18.3.8)(react@18.3.1): dependencies: react: 18.3.1 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 - use-sidecar@1.1.2(@types/react@18.3.5)(react@18.3.1): + use-sidecar@1.1.2(@types/react@18.3.8)(react@18.3.1): dependencies: detect-node-es: 1.1.0 react: 18.3.1 tslib: 2.7.0 optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 use-sync-external-store@1.2.2(react@18.3.1): dependencies: @@ -17491,6 +18097,7 @@ snapshots: utf-8-validate@6.0.4: dependencies: node-gyp-build: 4.8.1 + optional: true utf8-byte-length@1.0.5: {} @@ -17527,13 +18134,13 @@ snapshots: vite-bundle-analyzer@0.10.6: {} - vite-node@2.0.5(@types/node@22.5.4)(terser@5.32.0): + vite-node@2.0.5(@types/node@22.5.5)(terser@5.32.0): dependencies: cac: 6.7.14 - debug: 4.3.6 + debug: 4.3.7 pathe: 1.1.2 tinyrainbow: 1.2.0 - vite: 5.4.4(@types/node@22.5.4)(terser@5.32.0) + vite: 5.4.7(@types/node@22.5.5)(terser@5.32.0) transitivePeerDependencies: - '@types/node' - less @@ -17545,48 +18152,48 @@ snapshots: - supports-color - terser - vite-plugin-mkcert@1.17.6(vite@5.4.4(@types/node@22.5.4)(terser@5.32.0)): + vite-plugin-mkcert@1.17.6(vite@5.4.7(@types/node@22.5.5)(terser@5.32.0)): dependencies: '@octokit/rest': 20.1.1 - axios: 1.7.4(debug@4.3.6) - debug: 4.3.6 - picocolors: 1.0.1 - vite: 5.4.4(@types/node@22.5.4)(terser@5.32.0) + axios: 1.7.7(debug@4.3.7) + debug: 4.3.7 + picocolors: 1.1.0 + vite: 5.4.7(@types/node@22.5.5)(terser@5.32.0) transitivePeerDependencies: - supports-color - vite-tsconfig-paths@5.0.1(typescript@5.6.2)(vite@5.4.4(@types/node@22.5.4)(terser@5.32.0)): + vite-tsconfig-paths@5.0.1(typescript@5.6.2)(vite@5.4.7(@types/node@22.5.5)(terser@5.32.0)): dependencies: - debug: 4.3.6 + debug: 4.3.7 globrex: 0.1.2 tsconfck: 3.1.1(typescript@5.6.2) optionalDependencies: - vite: 5.4.4(@types/node@22.5.4)(terser@5.32.0) + vite: 5.4.7(@types/node@22.5.5)(terser@5.32.0) transitivePeerDependencies: - supports-color - typescript - vite@5.4.4(@types/node@22.5.4)(terser@5.32.0): + vite@5.4.7(@types/node@22.5.5)(terser@5.32.0): dependencies: esbuild: 0.21.5 - postcss: 8.4.45 + postcss: 8.4.47 rollup: 4.21.2 optionalDependencies: - '@types/node': 22.5.4 + '@types/node': 22.5.5 fsevents: 2.3.3 terser: 5.32.0 - vitest@2.0.5(@types/node@22.5.4)(terser@5.32.0): + vitest@2.0.5(@types/node@22.5.5)(terser@5.32.0): dependencies: '@ampproject/remapping': 2.3.0 '@vitest/expect': 2.0.5 - '@vitest/pretty-format': 2.0.5 + '@vitest/pretty-format': 2.1.1 '@vitest/runner': 2.0.5 '@vitest/snapshot': 2.0.5 '@vitest/spy': 2.0.5 '@vitest/utils': 2.0.5 chai: 5.1.1 - debug: 4.3.6 + debug: 4.3.7 execa: 8.0.1 magic-string: 0.30.11 pathe: 1.1.2 @@ -17594,11 +18201,11 @@ snapshots: tinybench: 2.9.0 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.4(@types/node@22.5.4)(terser@5.32.0) - vite-node: 2.0.5(@types/node@22.5.4)(terser@5.32.0) + vite: 5.4.7(@types/node@22.5.5)(terser@5.32.0) + vite-node: 2.0.5(@types/node@22.5.5)(terser@5.32.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.5.4 + '@types/node': 22.5.5 transitivePeerDependencies: - less - lightningcss @@ -17621,6 +18228,8 @@ snapshots: webidl-conversions@3.0.1: {} + webidl-conversions@4.0.2: {} + webpack-sources@3.2.3: {} webpack-virtual-modules@0.5.0: {} @@ -17636,6 +18245,12 @@ snapshots: tr46: 0.0.3 webidl-conversions: 3.0.1 + whatwg-url@7.1.0: + dependencies: + lodash.sortby: 4.7.0 + tr46: 1.0.1 + webidl-conversions: 4.0.2 + which@1.3.1: dependencies: isexe: 2.0.0 @@ -17734,11 +18349,11 @@ snapshots: zod@3.23.8: {} - zustand@4.5.5(@types/react@18.3.5)(immer@10.1.1(patch_hash=og7mbnoo5vh43tjlw5rbmrdbvu))(react@18.3.1): + zustand@4.5.5(@types/react@18.3.8)(immer@10.1.1(patch_hash=og7mbnoo5vh43tjlw5rbmrdbvu))(react@18.3.1): dependencies: use-sync-external-store: 1.2.2(react@18.3.1) optionalDependencies: - '@types/react': 18.3.5 + '@types/react': 18.3.8 immer: 10.1.1(patch_hash=og7mbnoo5vh43tjlw5rbmrdbvu) react: 18.3.1 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 000000000..3ff5faaaf --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - "apps/*" + - "packages/*" diff --git a/scripts/generate-i18n-locale.ts b/scripts/generate-i18n-locale.ts index 12045bd21..2b5747564 100644 --- a/scripts/generate-i18n-locale.ts +++ b/scripts/generate-i18n-locale.ts @@ -10,20 +10,20 @@ import * as ts from "typescript" const locales = [ "af", "am", - "ar-dz", - "ar-iq", - "ar-kw", - "ar-ly", - "ar-ma", - "ar-sa", - "ar-tn", + "ar-DZ", + "ar-IQ", + "ar-KW", + "ar-LY", + "ar-MA", + "ar-SA", + "ar-TN", "az", "be", "bg", "bi", "bm", - "bn-bd", + "bn-BD", "bn", "bo", "br", @@ -33,27 +33,27 @@ const locales = [ "cs", "cv", "cy", - "da-at", - "da-ch", + "da-AT", + "da-CH", "da", "dv", "el", - "en-au", - "en-ca", - "en-gb", - "en-ie", - "en-il", - "en-in", - "en-nz", - "en-sg", - "en-tt", + "en-AU", + "en-CA", + "en-GB", + "en-IE", + "en-IL", + "en-IN", + "en-NZ", + "en-SG", + "en-TT", "eo", - "es-do", - "es-mx", - "es-pr", - "es-us", + "es-DO", + "es-MX", + "es-PR", + "es-US", "es", "et", "eu", @@ -61,15 +61,15 @@ const locales = [ "fa", "fi", "fo", - "fr-ca", - "fr-ch", + "fr-CA", + "fr-CH", "fr", "fy", "ga", "gd", "gl", - "gom-latn", + "gom-LATN", "gu", "he", "hi", @@ -77,10 +77,10 @@ const locales = [ "ht", "hu", - "hy-am", + "hy-AM", "id", "is", - "it-ch", + "it-CH", "it", "ja", "jv", @@ -104,19 +104,19 @@ const locales = [ "mn", "mr", - "ms-my", + "ms-MY", "ms", "mt", "my", "nb", "ne", - "nl-be", + "nl-BE", "nl", - "oc-lnc", - "pa-in", + "oc-LNC", + "pa-IN", "pl", - "pt-br", + "pt-BR", "pt", "rn", "ro", @@ -127,11 +127,11 @@ const locales = [ "sk", "sl", "sq", - "sr-cyrl", + "sr-CYRL", "sr", "ss", - "sv-fi", + "sv-FI", "sv", "sw", "ta", @@ -140,24 +140,24 @@ const locales = [ "tg", "th", "tk", - "tl-ph", + "tl-PH", "tlh", "tr", "tzl", - "tzm-latn", + "tzm-LATN", "tzm", - "ug-cn", + "ug-CN", "uk", "ur", - "uz-latn", + "uz-LATN", "uz", "vi", - "x-pseudo", + "x-PSEUDO", "yo", - "zh-cn", - "zh-hk", - "zh-tw", + "zh-CN", + "zh-HK", + "zh-TW", "zh", ] @@ -179,7 +179,7 @@ async function selectLocale(): Promise { const __dirname = dirname(fileURLToPath(import.meta.url)) const LOCALE_DIR = path.resolve(__dirname, "../locales") -const CONFIG_DIR = path.resolve(__dirname, "../src/renderer/src/@types") +const CONFIG_DIR = path.resolve(__dirname, "../apps/renderer/src/@types") async function main() { const selectedLocale = await selectLocale() @@ -328,7 +328,7 @@ function updateConstantsFile(sourceFile: ts.SourceFile, locale: string): string (context) => (rootNode) => { function visit(node: ts.Node): ts.Node { if (ts.isVariableDeclaration(node) && ts.isIdentifier(node.name)) { - if (node.name.text === "langs") { + if (node.name.text === "currentSupportedLanguages") { return updateLangsArray(node, locale) } if (node.name.text === "dayjsLocaleImportMap") { diff --git a/src/renderer/src/@types/constants.ts b/src/renderer/src/@types/constants.ts deleted file mode 100644 index 4747c6e4e..000000000 --- a/src/renderer/src/@types/constants.ts +++ /dev/null @@ -1,12 +0,0 @@ -const langs = ["en", "ja", "zh-CN", "zh-TW", "pt", "fr"] -export const currentSupportedLanguages = langs.sort() -export const dayjsLocaleImportMap = { - en: ["en", () => import("dayjs/locale/en")], - ["zh-CN"]: ["zh-cn", () => import("dayjs/locale/zh-cn")], - ["ja"]: ["ja", () => import("dayjs/locale/ja")], - ["fr"]: ["fr", () => import("dayjs/locale/fr")], - ["pt"]: ["pt", () => import("dayjs/locale/pt")], - ["zh-TW"]: ["zh-tw", () => import("dayjs/locale/zh-tw")], -} -export const ns = ["app", "common", "lang", "settings", "shortcuts"] as const -export const defaultNS = "app" as const diff --git a/src/renderer/src/@types/default-resource.ts b/src/renderer/src/@types/default-resource.ts deleted file mode 100644 index 118cf751a..000000000 --- a/src/renderer/src/@types/default-resource.ts +++ /dev/null @@ -1,44 +0,0 @@ -import en from "../../../../locales/app/en.json" -import common_en from "../../../../locales/common/en.json" -import common_fr from "../../../../locales/common/fr.json" -import common_ja from "../../../../locales/common/ja.json" -import common_pt from "../../../../locales/common/pt.json" -import common_zhCN from "../../../../locales/common/zh-CN.json" -import common_zhTW from "../../../../locales/common/zh-TW.json" -import external_en from "../../../../locales/external/en.json" -import lang_en from "../../../../locales/lang/en.json" -import lang_fr from "../../../../locales/lang/fr.json" -import lang_ja from "../../../../locales/lang/ja.json" -import lang_pt from "../../../../locales/lang/pt.json" -import lang_zhCN from "../../../../locales/lang/zh-CN.json" -import lang_zhTW from "../../../../locales/lang/zh-TW.json" -import settings_en from "../../../../locales/settings/en.json" -import shortcuts_en from "../../../../locales/shortcuts/en.json" -/** - * This file is the language resource that is loaded in full when the app is initialized. - * When switching languages, the app will automatically download the required language resources, - * we will not load all the language resources to minimize the first screen loading time of the app. - * Generally, we only load english resources synchronously by default. - * In addition, we attach common resources for other languages, and the size of the common resources must be controlled. - */ -export const defaultResources = { - en: { - app: en, - lang: lang_en, - common: common_en, - external: external_en, - settings: settings_en, - shortcuts: shortcuts_en, - }, - "zh-CN": { - lang: lang_zhCN, - common: common_zhCN, - }, - "zh-tw": { lang: lang_zhTW, common: common_zhTW }, - ja: { - lang: lang_ja, - common: common_ja, - }, - fr: { lang: lang_fr, common: common_fr }, - pt: { lang: lang_pt, common: common_pt }, -} diff --git a/src/renderer/src/components/ui/auto-completion/AutoCompletion.tsx b/src/renderer/src/components/ui/auto-completion/AutoCompletion.tsx deleted file mode 100644 index 27ca7c304..000000000 --- a/src/renderer/src/components/ui/auto-completion/AutoCompletion.tsx +++ /dev/null @@ -1,305 +0,0 @@ -import { useRefValue } from "@renderer/hooks/common" -import { nextFrame, stopPropagation } from "@renderer/lib/dom" -import { cn } from "@renderer/lib/utils" -import clsx from "clsx" -import { AnimatePresence } from "framer-motion" -import Fuse from "fuse.js" -import { merge, throttle } from "lodash-es" -import { - forwardRef, - useCallback, - useEffect, - useImperativeHandle, - useLayoutEffect, - useRef, - useState, -} from "react" -import { useEventCallback } from "usehooks-ts" - -import { Input } from "../input" -import { RootPortal } from "../portal" - -export type Suggestion = { - name: string - value: string -} -export interface AutocompleteProps extends React.InputHTMLAttributes { - suggestions: Suggestion[] - renderSuggestion?: (suggestion: Suggestion) => any - - onSuggestionSelected: (suggestion: Suggestion) => void - onConfirm?: (value: string) => void - onEndReached?: () => void - - portal?: boolean - - // classnames - - wrapperClassName?: string - - maxHeight?: number -} - -const defaultRenderSuggestion = (suggestion: any) => suggestion.name -export const Autocomplete = forwardRef( - ( - { - suggestions, - renderSuggestion = defaultRenderSuggestion, - onSuggestionSelected, - onConfirm, - onEndReached, - onChange, - portal, - wrapperClassName, - maxHeight, - - ...inputProps - }, - forwardedRef, - ) => { - const [filterableSuggestions, setFilterableSuggestions] = useState(suggestions) - const [inputValue, setInputValue] = useState(inputProps.value || inputProps.defaultValue || "") - - const doFilter = useEventCallback(() => { - const fuse = new Fuse(suggestions, { - keys: ["name", "value"], - }) - const trimInputValue = (inputValue as string).trim() - - if (!trimInputValue) return setFilterableSuggestions(suggestions) - - const results = fuse.search(trimInputValue) - setFilterableSuggestions(results.map((result) => result.item)) - }) - useEffect(() => { - doFilter() - }, [inputValue, suggestions]) - - useEffect(() => { - const $input = inputRef.current - if (!$input) return - if (document.activeElement !== $input) { - return - } - - setIsOpen(filterableSuggestions.length > 0) - }, [filterableSuggestions]) - - const [isOpen, setIsOpen] = useState(false) - - const [listRef, setListRef] = useState(null) - const onBlur = useEventCallback((e: any) => { - inputProps.onBlur?.(e) - if (listRef?.contains(e.relatedTarget)) { - return - } - setIsOpen(false) - }) - - const handleInputKeyDown: React.KeyboardEventHandler = useEventCallback( - (e) => { - if (e.key === "Enter") { - e.preventDefault() - onConfirm?.((e.target as HTMLInputElement).value) - setIsOpen(false) - } - inputProps.onKeyDown?.(e) - }, - ) - const inputRef = useRef(null) - useImperativeHandle(forwardedRef, () => inputRef.current!) - - const [currentActiveIndex, setCurrentActiveIndex] = useState(0) - const currentActiveIndexRef = useRefValue(currentActiveIndex) - const filterableSuggestionsRef = useRefValue(filterableSuggestions) - // Bind hotkey - useEffect(() => { - const $input = inputRef.current - if (!$input) return - const handleKeyDown = (e: KeyboardEvent) => { - const currentActiveIndex = currentActiveIndexRef.current - const filterableSuggestionsLength = filterableSuggestionsRef.current.length - const filterableSuggestions = filterableSuggestionsRef.current - - if (e.key === "ArrowDown" || e.key === "ArrowUp") { - e.preventDefault() - const nextIndex = - currentActiveIndex + (e.key === "ArrowDown" ? 1 : e.key === "ArrowUp" ? -1 : 0) - setCurrentActiveIndex(Math.max(0, Math.min(nextIndex, filterableSuggestionsLength - 1))) - } else if ( - (e.key === "Enter" || e.key === "Tab") && - currentActiveIndex >= 0 && - currentActiveIndex < filterableSuggestionsLength - ) { - e.stopPropagation() - e.preventDefault() - - onSuggestionSelected(filterableSuggestions[currentActiveIndex]) - setInputValue(filterableSuggestions[currentActiveIndex].name) - - nextFrame(() => { - setIsOpen(false) - }) - } - } - - $input.addEventListener("keydown", handleKeyDown) - return () => { - $input.removeEventListener("keydown", handleKeyDown) - } - }, [currentActiveIndexRef, filterableSuggestionsRef, onSuggestionSelected]) - - const [inputRect, setInputRect] = useState(null) - const [dropdownPos, setDropdownPos] = useState("down") - const [dropdownHeight, setDropdownHeight] = useState(maxHeight || 200) - - useLayoutEffect(() => { - const $input = inputRef.current - if (!$input) return - - const handler = () => { - const rect = $input.getBoundingClientRect() - - setInputRect(rect) - - const { top, height } = rect - - if (top + height + dropdownHeight > window.innerHeight) { - setDropdownPos("up") - } else { - setDropdownPos("down") - } - } - handler() - - const resizeObserver = new ResizeObserver(handler) - resizeObserver.observe($input) - - return () => { - resizeObserver.disconnect() - } - }, [dropdownHeight]) - - const handleScroll = useEventCallback( - throttle(() => { - if (!listRef) return - const { scrollHeight, scrollTop, clientHeight } = listRef! - // gap 50px - if (scrollHeight - scrollTop - clientHeight < 50) { - onEndReached?.() - } - }, 30), - ) - - const handleChange = useEventCallback((e: any) => { - setInputValue(e.target.value) - onChange?.(e) - }) - - const ListElement = ( -
    { - setListRef(el) - - const height = el?.getBoundingClientRect().height - if (height) { - setDropdownHeight(height) - } - }, [])} - style={merge( - {}, - portal && inputRect - ? { - width: `${inputRect.width}px`, - left: `${inputRect.x}px`, - top: `${inputRect.y + inputRect.height}px`, - bottom: dropdownPos === "up" ? 0 : undefined, - transform: dropdownPos === "up" ? `translateY(-${dropdownHeight}px)` : undefined, - maxHeight, - } - : {}, - )} - > -
      - {filterableSuggestions.map((suggestion, index) => { - const handleClick = () => { - onSuggestionSelected(suggestion) - setIsOpen(false) - - setInputValue(suggestion.name) - } - return ( -
    • setCurrentActiveIndex(index)} - > - {renderSuggestion(suggestion)} -
    • - ) - })} -
    -
    - ) - const handleFocus: React.FocusEventHandler = useEventCallback((e) => { - setIsOpen(true) - inputProps.onFocus?.(e) - }) - - return ( -
    -
    - - {!!inputValue && ( - - )} -
    - - {isOpen && - filterableSuggestions.length > 0 && - (portal ? {ListElement} : ListElement)} - -
    - ) - }, -) - -Autocomplete.displayName = "Autocomplete" diff --git a/src/renderer/src/components/ui/divider/PanelSpliter.tsx b/src/renderer/src/components/ui/divider/PanelSpliter.tsx deleted file mode 100644 index 08f97fb9b..000000000 --- a/src/renderer/src/components/ui/divider/PanelSpliter.tsx +++ /dev/null @@ -1,40 +0,0 @@ -import { cn } from "@renderer/lib/utils" -import * as React from "react" - -export const PanelSplitter = ( - props: React.DetailedHTMLProps, HTMLDivElement> & { - isDragging?: boolean - cursor?: string - }, -) => { - const { isDragging, cursor, ...rest } = props - - React.useEffect(() => { - if (!isDragging) return - const $css = document.createElement("style") - - $css.innerHTML = ` - * { - cursor: ${cursor} !important; - } - ` - - document.head.append($css) - return () => { - $css.remove() - } - }, [cursor, isDragging]) - - return ( -
    -
    -
    - ) -} diff --git a/src/renderer/src/components/ui/markdown/components/TimeStamp.tsx b/src/renderer/src/components/ui/markdown/components/TimeStamp.tsx deleted file mode 100644 index 2509d1d25..000000000 --- a/src/renderer/src/components/ui/markdown/components/TimeStamp.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import { AudioPlayer } from "@renderer/atoms/player" -import { nextFrame } from "@renderer/lib/dom" -import { useEntryContentContext } from "@renderer/modules/entry-content/hooks" - -import { timeStringToSeconds } from "../utils" - -export const TimeStamp = (props: { time: string }) => { - const { entryId, audioSrc: src } = useEntryContentContext() - - if (!src) return {props.time} - return ( - { - AudioPlayer.mount({ - type: "audio", - entryId, - src, - currentTime: 0, - }) - nextFrame(() => AudioPlayer.seek(timeStringToSeconds(props.time) || 0)) - }} - > - - {props.time} - - ) -} diff --git a/src/renderer/src/components/ui/modal/stacked/utils.ts b/src/renderer/src/components/ui/modal/stacked/utils.ts deleted file mode 100644 index 1a211d5a7..000000000 --- a/src/renderer/src/components/ui/modal/stacked/utils.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type { PropsWithChildren } from "react" - -export const NoopChildren = ({ children }: PropsWithChildren) => children diff --git a/src/renderer/src/database/schemas/feed.ts b/src/renderer/src/database/schemas/feed.ts deleted file mode 100644 index 489611e39..000000000 --- a/src/renderer/src/database/schemas/feed.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { FeedModel } from "@renderer/models" - -export type DB_FeedUnread = { - id: string - count: number -} - -export type DB_Feed = FeedModel & { id: string } diff --git a/src/renderer/src/database/schemas/subscription.ts b/src/renderer/src/database/schemas/subscription.ts deleted file mode 100644 index ae7f99b36..000000000 --- a/src/renderer/src/database/schemas/subscription.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { SubscriptionFlatModel } from "@renderer/store/subscription" - -export type DB_Subscription = SubscriptionFlatModel & { - id: string -} diff --git a/src/renderer/src/lib/img-proxy.ts b/src/renderer/src/lib/img-proxy.ts deleted file mode 100644 index 9e2c9da07..000000000 --- a/src/renderer/src/lib/img-proxy.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { env } from "@env" -import { imageRefererMatches } from "@shared/image" - -export const getProxyUrl = ({ - url, - width, - height, -}: { - url: string - width: number - height: number -}) => `${env.VITE_IMGPROXY_URL}/unsafe/fit-in/${width}x${height}/${encodeURIComponent(url)}` - -export const replaceImgUrlIfNeed = (url: string) => { - for (const rule of imageRefererMatches) { - if (rule.url.test(url)) { - return getProxyUrl({ url, width: 0, height: 0 }) - } - } - return url -} diff --git a/src/renderer/src/modules/discover/form.tsx b/src/renderer/src/modules/discover/form.tsx deleted file mode 100644 index 83994410f..000000000 --- a/src/renderer/src/modules/discover/form.tsx +++ /dev/null @@ -1,243 +0,0 @@ -import { zodResolver } from "@hookform/resolvers/zod" -import { getSidebarActiveView } from "@renderer/atoms/sidebar" -import { Button } from "@renderer/components/ui/button" -import { Card, CardContent, CardFooter, CardHeader } from "@renderer/components/ui/card" -import { - Form, - FormControl, - FormField, - FormItem, - FormLabel, - FormMessage, -} from "@renderer/components/ui/form" -import { Input } from "@renderer/components/ui/input" -import { Media } from "@renderer/components/ui/media" -import { useModalStack } from "@renderer/components/ui/modal/stacked/hooks" -import { apiClient } from "@renderer/lib/api-fetch" -import type { FeedViewType } from "@renderer/lib/enum" -import { useMutation } from "@tanstack/react-query" -import { useEffect } from "react" -import { useForm } from "react-hook-form" -import { useTranslation } from "react-i18next" -import { z } from "zod" - -import { FollowSummary } from "../../components/feed-summary" -import { FeedForm } from "./feed-form" - -const formSchema = z.object({ - keyword: z.string().min(1), -}) - -const info: Record< - string, - { - label: I18nKeys - prefix?: string[] - showModal?: boolean - default?: string - } -> = { - search: { - label: "discover.any_url_or_keyword", - }, - rss: { - label: "discover.rss_url", - default: "https://", - prefix: ["https://", "http://"], - showModal: true, - }, - rsshub: { - label: "discover.rss_hub_route", - prefix: ["rsshub://"], - default: "rsshub://", - showModal: true, - }, -} - -export function DiscoverForm({ type }: { type: string }) { - const { prefix, default: defaultValue } = info[type] - const form = useForm>({ - resolver: zodResolver(formSchema), - defaultValues: { - keyword: defaultValue || "", - }, - }) - const { t } = useTranslation() - const mutation = useMutation({ - mutationFn: async (keyword: string) => { - const { data } = await apiClient.discover.$post({ - json: { - keyword, - }, - }) - - return data - }, - }) - - const { present, dismissAll } = useModalStack() - - function onSubmit(values: z.infer) { - if (info[type].showModal) { - const defaultView = getSidebarActiveView() as FeedViewType - present({ - title: "Add Feed", - content: () => ( - - ), - }) - } else { - mutation.mutate(values.keyword) - } - } - - const keyword = form.watch("keyword") - useEffect(() => { - if (!prefix) return - const isValidPrefix = prefix.find((p) => keyword.startsWith(p)) - if (!isValidPrefix) { - form.setValue("keyword", prefix[0]) - - return - } - - if (keyword.startsWith(`${isValidPrefix}${isValidPrefix}`)) { - form.setValue("keyword", keyword.slice(isValidPrefix.length)) - } - }, [form, keyword, prefix]) - - return ( - <> - - - ( - - {t(info[type]?.label)} - - - - - - )} - /> -
    - -
    - - - {mutation.isSuccess && ( -
    -
    - Found {mutation.data?.length || 0} feed - {mutation.data?.length > 1 && "s"} -
    -
    - {mutation.data.map((item) => ( - - - - - {item.docs ? ( - - - - - - ) : ( - <> - - {!!item.entries?.length && ( -
    - {item.entries - .filter((e) => !!e) - .map((entry) => { - const assertEntry = entry - return ( - - {assertEntry.media?.[0] ? ( - - ) : ( -
    - {assertEntry.title} -
    - )} -
    - {assertEntry.title} -
    -
    - ) - })} -
    - )} -
    - - {item.isSubscribed ? ( - - ) : ( - - )} -
    - - {item.subscriptionCount} - {" "} - Followers -
    -
    - - )} -
    - ))} -
    -
    - )} - - ) -} diff --git a/src/renderer/src/modules/entry-column/Items/social-media-item.tsx b/src/renderer/src/modules/entry-column/Items/social-media-item.tsx deleted file mode 100644 index 2ae129222..000000000 --- a/src/renderer/src/modules/entry-column/Items/social-media-item.tsx +++ /dev/null @@ -1,163 +0,0 @@ -import { Slot } from "@radix-ui/react-slot" -import { FeedIcon } from "@renderer/components/feed-icon" -import { ActionButton } from "@renderer/components/ui/button" -import { RelativeTime } from "@renderer/components/ui/datetime" -import { Media } from "@renderer/components/ui/media" -import { usePreviewMedia } from "@renderer/components/ui/media/hooks" -import { Skeleton } from "@renderer/components/ui/skeleton" -import { useAsRead } from "@renderer/hooks/biz/useAsRead" -import { useEntryActions } from "@renderer/hooks/biz/useEntryActions" -import { useRouteParamsSelector } from "@renderer/hooks/biz/useRouteParams" -import { cn } from "@renderer/lib/utils" -import { useEntry } from "@renderer/store/entry/hooks" -import { useFeedById } from "@renderer/store/feed" - -import { ReactVirtuosoItemPlaceholder } from "../../../components/ui/placeholder" -import { StarIcon } from "../star-icon" -import { EntryTranslation } from "../translation" -import type { EntryListItemFC } from "../types" - -export const SocialMediaItem: EntryListItemFC = ({ entryId, entryPreview, translation }) => { - const entry = useEntry(entryId) || entryPreview - - const previewMedia = usePreviewMedia() - const asRead = useAsRead(entry) - const feed = useFeedById(entry?.feedId) - - // NOTE: prevent 0 height element, react virtuoso will not stop render any more - if (!entry || !feed) return - - const content = entry.entries.content || entry.entries.description - - return ( -
    - -
    -
    -
    - {entry.entries.author} - · - - - -
    -
    - - {!!entry.collections && } -
    -
    -
    - {entry.entries.media?.map((media, i, mediaList) => ( - { - e.stopPropagation() - previewMedia(mediaList, i) - }} - /> - ))} -
    -
    - -
    - -
    -
    - ) -} - -SocialMediaItem.wrapperClassName = tw`w-[75ch] m-auto` - -const ActionBar = ({ entryId }: { entryId: string }) => { - const entry = useEntry(entryId) - const view = useRouteParamsSelector((s) => s.view) - const { items } = useEntryActions({ - entry, - view, - type: "toolbar", - }) - return ( -
    - {items - .filter((item) => !item.hide && item.key !== "read" && item.key !== "unread") - .map((item) => ( - {item.icon} - ) : ( - - ) - } - onClick={item.onClick} - tooltip={item.name} - key={item.name} - /> - ))} -
    - ) -} - -export const SocialMediaItemSkeleton = ( -
    -
    -
    - -
    -
    -
    - - · - -
    -
    - - - -
    -
    -
    - -
    -
    -
    -
    -
    -) diff --git a/src/renderer/src/modules/feed-column/unread-number.tsx b/src/renderer/src/modules/feed-column/unread-number.tsx deleted file mode 100644 index 881ac36fe..000000000 --- a/src/renderer/src/modules/feed-column/unread-number.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import { useUISettingKey } from "@renderer/atoms/settings/ui" -import { cn } from "@renderer/lib/utils" - -export const UnreadNumber = ({ unread, className }: { unread: number; className?: string }) => { - const showUnreadCount = useUISettingKey("sidebarShowUnreadCount") - if (!showUnreadCount) return null - if (!unread) return null - return ( -
    - {unread} -
    - ) -} diff --git a/src/renderer/src/modules/settings/tabs/general.tsx b/src/renderer/src/modules/settings/tabs/general.tsx deleted file mode 100644 index abded7b81..000000000 --- a/src/renderer/src/modules/settings/tabs/general.tsx +++ /dev/null @@ -1,251 +0,0 @@ -import { currentSupportedLanguages } from "@renderer/@types/constants" -import { langLoadingLockMapAtom } from "@renderer/atoms/lang" -import { - setGeneralSetting, - useGeneralSettingSelector, - useGeneralSettingValue, -} from "@renderer/atoms/settings/general" -import { createSetting } from "@renderer/atoms/settings/helper" -import { - createDefaultSettings, - setUISetting, - useUISettingSelector, -} from "@renderer/atoms/settings/ui" -import { Button } from "@renderer/components/ui/button" -import { LoadingCircle } from "@renderer/components/ui/loading" -import { useModalStack } from "@renderer/components/ui/modal" -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from "@renderer/components/ui/select" -import { IS_MANUAL_CHANGE_LANGUAGE_KEY } from "@renderer/constants" -import { fallbackLanguage } from "@renderer/i18n" -import { initPostHog } from "@renderer/initialize/posthog" -import { tipcClient } from "@renderer/lib/client" -import { cn } from "@renderer/lib/utils" -import { clearLocalPersistStoreData } from "@renderer/store/utils/clear" -import { useQuery } from "@tanstack/react-query" -import { useAtom } from "jotai" -import { useCallback, useEffect } from "react" -import { useTranslation } from "react-i18next" - -import { SettingsTitle } from "../title" - -const { defineSettingItem, SettingBuilder } = createSetting( - useGeneralSettingValue, - setGeneralSetting, -) -export const SettingGeneral = () => { - const { t } = useTranslation("settings") - useEffect(() => { - tipcClient?.getLoginItemSettings().then((settings) => { - setGeneralSetting("appLaunchOnStartup", settings.openAtLogin) - }) - }, []) - - const saveLoginSetting = useCallback((checked: boolean) => { - tipcClient?.setLoginItemSettings(checked) - - setGeneralSetting("appLaunchOnStartup", checked) - }, []) - - const { present } = useModalStack() - - return ( - <> - -
    - { - present({ - title: t("general.rebuild_database.title"), - clickOutsideToDismiss: true, - content: () => ( -
    -

    {t("general.rebuild_database.warning.line1")}

    -

    {t("general.rebuild_database.warning.line2")}

    -
    - -
    -
    - ), - }) - }, - description: t("general.rebuild_database.description"), - buttonText: t("general.rebuild_database.button"), - }, - ]} - /> -
    - - ) -} - -export const VoiceSelector = () => { - const { t } = useTranslation("settings") - - const { data } = useQuery({ - queryFn: () => tipcClient?.getVoices(), - queryKey: ["voices"], - }) - const voice = useUISettingSelector((state) => state.voice) - - return ( -
    - {t("general.voices")} - -
    - ) -} - -export const LanguageSelector = () => { - const { t } = useTranslation("settings") - const { t: langT } = useTranslation("lang") - const language = useGeneralSettingSelector((state) => state.language) - - const finalRenderLanguage = currentSupportedLanguages.includes(language) - ? language - : fallbackLanguage - - const [loadingLanguageLockMap] = useAtom(langLoadingLockMapAtom) - - return ( -
    - {t("general.language")} - -
    - ) -} diff --git a/src/renderer/src/pages/(external)/(with-layout)/feed/[id]/layout.tsx b/src/renderer/src/pages/(external)/(with-layout)/feed/[id]/layout.tsx deleted file mode 100644 index 79fdeaac4..000000000 --- a/src/renderer/src/pages/(external)/(with-layout)/feed/[id]/layout.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { Outlet } from "react-router-dom" - -export function Component() { - return -} diff --git a/src/renderer/src/pages/(external)/(with-layout)/profile/[id]/index.tsx b/src/renderer/src/pages/(external)/(with-layout)/profile/[id]/index.tsx deleted file mode 100644 index e6d06fd0e..000000000 --- a/src/renderer/src/pages/(external)/(with-layout)/profile/[id]/index.tsx +++ /dev/null @@ -1,118 +0,0 @@ -import { useWhoami } from "@renderer/atoms/user" -import { PoweredByFooter } from "@renderer/components/common/PoweredByFooter" -import { FeedIcon } from "@renderer/components/feed-icon" -import { FollowIcon } from "@renderer/components/icons/follow" -import { Avatar, AvatarFallback, AvatarImage } from "@renderer/components/ui/avatar" -import { Button } from "@renderer/components/ui/button" -import { LoadingCircle } from "@renderer/components/ui/loading" -import { usePresentFeedFormModal } from "@renderer/hooks/biz/useFeedFormModal" -import { useAuthQuery, useI18n, useTitle } from "@renderer/hooks/common" -import { apiClient } from "@renderer/lib/api-fetch" -import { defineQuery } from "@renderer/lib/defineQuery" -import { cn } from "@renderer/lib/utils" -import { useUserSubscriptionsQuery } from "@renderer/modules/profile/hooks" -import { useParams } from "react-router-dom" - -export function Component() { - const t = useI18n() - const { id } = useParams() - - const user = useAuthQuery( - defineQuery(["profiles", id], async () => { - const res = await apiClient.profiles.$get({ - query: { id: id! }, - }) - return res.data - }), - { - enabled: !!id, - }, - ) - - const subscriptions = useUserSubscriptionsQuery(user.data?.id) - useTitle(user.data?.name) - const me = useWhoami() - const isMe = user.data?.id === me?.id - const presentFeedFormModal = usePresentFeedFormModal() - - return user.isLoading ? ( - - ) : ( -
    - - - {user.data?.name?.slice(0, 2)} - -
    -
    -

    {user.data?.name}

    -
    -
    {user.data?.handle}
    -
    -
    - {subscriptions.isLoading ? ( - - ) : ( - Object.keys(subscriptions.data || {}).map((category) => ( -
    -
    -

    {category}

    -
    -
    - {subscriptions.data?.[category].map((subscription) => ( -
    - - -
    -
    - {subscription.feeds?.title} -
    - {subscription.feeds?.description && ( -
    - {subscription.feeds.description} -
    - )} -
    -
    - - - -
    - ))} -
    -
    - )) - )} -
    - - -
    - ) -} diff --git a/src/renderer/src/pages/(external)/(with-layout)/profile/[id]/layout.tsx b/src/renderer/src/pages/(external)/(with-layout)/profile/[id]/layout.tsx deleted file mode 100644 index bbc78787c..000000000 --- a/src/renderer/src/pages/(external)/(with-layout)/profile/[id]/layout.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { Outlet } from "react-router-dom" - -export function Component() { - return ( - {}, - setActiveList: null, - }} - /> - ) -} diff --git a/src/renderer/src/pages/(main)/(layer)/feeds/[feedId]/[entryId]/index.tsx b/src/renderer/src/pages/(main)/(layer)/feeds/[feedId]/[entryId]/index.tsx deleted file mode 100644 index 6b2f952d6..000000000 --- a/src/renderer/src/pages/(main)/(layer)/feeds/[feedId]/[entryId]/index.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import { ROUTE_ENTRY_PENDING, views } from "@renderer/constants" -import { useRouteView } from "@renderer/hooks/biz/useRouteParams" -import { EntryContent } from "@renderer/modules/entry-content" -import { AnimatePresence } from "framer-motion" -import { useParams } from "react-router-dom" - -export const Component = () => { - const { entryId } = useParams() - const view = useRouteView() - const inWideMode = view ? views[view].wideMode : false - return ( - - {!inWideMode && ( -
    - -
    - )} -
    - ) -} diff --git a/src/renderer/src/pages/settings/(settings)/general.tsx b/src/renderer/src/pages/settings/(settings)/general.tsx deleted file mode 100644 index b7d839de6..000000000 --- a/src/renderer/src/pages/settings/(settings)/general.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import { SettingGeneral } from "@renderer/modules/settings/tabs/general" -import { defineSettingPageData } from "@renderer/modules/settings/utils" - -const iconName = "i-mgc-settings-7-cute-re" -const priority = 1000 - -export const loader = defineSettingPageData({ - iconName, - name: "titles.general", - priority, -}) - -export function Component() { - return -} diff --git a/src/renderer/src/store/entry-history/action.ts b/src/renderer/src/store/entry-history/action.ts deleted file mode 100644 index 98713feec..000000000 --- a/src/renderer/src/store/entry-history/action.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { apiClient } from "@renderer/lib/api-fetch" -import type { UserModel } from "@renderer/models" - -import { entryActions } from "../entry/store" -import { userActions } from "../user" - -class EntryHistoryActions { - async fetchEntryHistory(entryId: string) { - const res = await apiClient.entries["read-histories"][entryId].$get() - - const data = res.data as { - users: Record - entryReadHistories: { - entryId: string - userIds: string[] - readCount: number - } - } - - userActions.upsert(data.users) - entryActions.updateReadHistory(entryId, data.entryReadHistories) - - return data - } -} - -export const entryHistoryActions = new EntryHistoryActions() diff --git a/src/renderer/src/store/feed/types.ts b/src/renderer/src/store/feed/types.ts deleted file mode 100644 index 5725a6482..000000000 --- a/src/renderer/src/store/feed/types.ts +++ /dev/null @@ -1,15 +0,0 @@ -import type { FeedModel } from "@renderer/models" - -type FeedId = string - -export interface FeedState { - feeds: Record -} - -export interface FeedActions { - upsertMany: (feeds: FeedModel[]) => void - clear: () => void - patch: (feedId: FeedId, patch: Partial) => void -} - -export type FeedQueryParams = { id?: string; url?: string } diff --git a/tailwind.config.ts b/tailwind.config.ts index 2c7956eea..14526a5ad 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -11,7 +11,7 @@ import resolveConfig from "tailwindcss/resolveConfig" /** @type {import('tailwindcss').Config} */ export default resolveConfig({ darkMode: ["class", '[data-theme="dark"]'], - content: ["./src/**/*.{ts,tsx}"], + content: ["./apps/renderer/**/*.{ts,tsx}", "./apps/web/**/*.{ts,tsx}"], prefix: "", theme: { container: { @@ -27,6 +27,16 @@ export default resolveConfig({ theme: "var(--fo-font-family)", default: "SN pro, sans-serif, system-ui", }, + cursor: { + button: "var(--cursor-button)", + select: "var(--cursor-select)", + checkbox: "var(--cursor-checkbox)", + link: "var(--cursor-link)", + menu: "var(--cursor-menu)", + radio: "var(--cursor-radio)", + switch: "var(--cursor-switch)", + card: "var(--cursor-card)", + }, colors: { border: "hsl(var(--border) / )", background: "hsl(var(--background) / )", @@ -40,10 +50,7 @@ export default resolveConfig({ DEFAULT: "hsl(var(--muted) / )", foreground: "hsl(var(--muted-foreground) / )", }, - accent: { - DEFAULT: "#ff5c00", - foreground: "hsl(var(--fo-text-primary), )", - }, + accent: "hsl(var(--fo-a) / )", popover: { DEFAULT: "hsl(var(--popover) / )", @@ -61,7 +68,7 @@ export default resolveConfig({ theme: { // https://uicolors.app/create accent: { - DEFAULT: "#ff5c00", + DEFAULT: "hsl(var(--fo-a) / )", 50: "#fff7ec", 100: "#ffeed3", 200: "#ffd9a5", @@ -75,7 +82,7 @@ export default resolveConfig({ 950: "#461304", }, - vibrancyFg: "hsl(var(--fo-vibrancy-foreground), )", + vibrancyFg: "hsl(var(--fo-vibrancy-foreground) / )", vibrancyBg: "var(--fo-vibrancy-background)", item: { @@ -83,13 +90,13 @@ export default resolveConfig({ hover: "var(--fo-item-hover)", }, - inactive: "hsl(var(--fo-inactive), )", - disabled: "hsl(var(--fo-disabled), )", + inactive: "hsl(var(--fo-inactive) / )", + disabled: "hsl(var(--fo-disabled) / )", - foreground: "hsl(var(--fo-text-primary), )", + foreground: "hsl(var(--fo-text-primary) / )", background: "var(--fo-background)", - "foreground-hover": "hsl(var(--fo-text-primary-hover), )", + "foreground-hover": "hsl(var(--fo-text-primary-hover) / )", modal: { background: "var(--fo-modal-background)", @@ -127,7 +134,7 @@ export default resolveConfig({ require("tailwindcss-animate"), require("@tailwindcss/container-queries"), require("@tailwindcss/typography"), - require("./src/renderer/src/styles/tailwind-extend.css"), + require("./apps/renderer/src/styles/tailwind-extend.css"), plugin(({ addVariant }) => { addVariant("f-motion-reduce", '[data-motion-reduce="true"] &') addVariant("group-motion-reduce", ':merge(.group)[data-motion-reduce="true"] &') diff --git a/tsconfig.json b/tsconfig.json index 31bac6e94..f09abbbf2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,3 @@ { - "files": [], - "references": [{ "path": "./tsconfig.node.json" }, { "path": "./tsconfig.web.json" }] + "extends": "@electron-toolkit/tsconfig/tsconfig.node.json" } diff --git a/tsconfig.node.json b/tsconfig.node.json deleted file mode 100644 index 35ccca4e3..000000000 --- a/tsconfig.node.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "extends": "@electron-toolkit/tsconfig/tsconfig.node.json", - "include": [ - "electron.vite.config.*", - "src/main/**/*", - "src/preload/**/*", - "types/**/*.d.ts", - "src/shared/src/**/*", - "src/env.ts", - "./src/hono.ts", - "src/shared/src/global.d.ts", - "configs/*", - "./scripts/**/*" - ], - "compilerOptions": { - "composite": true, - "types": ["electron-vite/node"], - "moduleResolution": "Bundler", - "noImplicitReturns": false, - "noUnusedLocals": false, - "noUnusedParameters": false, - "baseUrl": ".", - "paths": { - "@shared/*": ["src/shared/src/*"], - "@env": ["./src/env.ts"], - "@pkg": ["./package.json"] - } - } -} diff --git a/tsconfig.web.json b/tsconfig.web.json deleted file mode 100644 index b7b3175fc..000000000 --- a/tsconfig.web.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "extends": "@electron-toolkit/tsconfig/tsconfig.web.json", - "include": [ - "src/renderer/src/env.d.ts", - "src/renderer/src/**/*", - "src/renderer/src/**/*.tsx", - "src/preload/*.d.ts", - "src/shared/src/**/*", - "types/**/*.d.ts", - "src/env.ts", - "src/hono.ts", - "src/shared/src/global.d.ts" - ], - "compilerOptions": { - "composite": true, - "jsx": "react-jsx", - "moduleResolution": "Bundler", - "target": "ES2022", - "noUnusedLocals": false, - "noUnusedParameters": false, - "strict": true, - "baseUrl": ".", - "noImplicitReturns": false, - "paths": { - "@renderer/*": ["src/renderer/src/*"], - "@main/*": ["src/main/*"], - "@shared/*": ["src/shared/src/*"], - "@pkg": ["./package.json"], - "@env": ["./src/env.ts"], - "@locales/*": ["./locales/*"] - } - } -} diff --git a/vite.config.ts b/vite.config.ts index cd6ace689..559d8fe52 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -13,7 +13,7 @@ import type { env as EnvType } from "./src/env" const __dirname = fileURLToPath(new URL(".", import.meta.url)) const isCI = process.env.CI === "true" || process.env.CI === "1" -const ROOT = "./src/renderer" +const ROOT = "./apps/renderer" function htmlPlugin(env: typeof EnvType): PluginOption { return { @@ -86,6 +86,9 @@ export default ({ mode }) => { }, server: { port: 2233, + watch: { + ignored: ["**/dist/**", "**/out/**", "**/public/**", ".git/**"], + }, }, plugins: [ ...((viteRenderBaseConfig.plugins ?? []) as any), diff --git a/vitest.workspace.ts b/vitest.workspace.ts new file mode 100644 index 000000000..871ba5023 --- /dev/null +++ b/vitest.workspace.ts @@ -0,0 +1,4 @@ +import { defineWorkspace } from "vitest/config" + +// NOT work +export default defineWorkspace(["apps/*"]) diff --git a/wiki/contribute-i18n.md b/wiki/contribute-i18n.md index 1ef07c4a9..444d89de7 100644 --- a/wiki/contribute-i18n.md +++ b/wiki/contribute-i18n.md @@ -19,6 +19,7 @@ To add support for a new language: 2. Select the desired locale from the list. 3. The script will: + - Create new resource files for the selected locale - Update the necessary configuration files