From ecc33d97456ea9ec70bffb604a7369881de77cfd Mon Sep 17 00:00:00 2001 From: KsaR99 <7098217+KsaR99@users.noreply.github.com> Date: Thu, 3 Sep 2026 17:23:07 +0200 Subject: [PATCH 1/2] Improved imports --- app/Actions/ProcessDiskVault.php | 2 +- app/Actions/UpdateVaultNodeBacklinks.php | 10 +- compose.yaml | 20 ++ composer.json | 12 +- composer.lock | 234 +++++++++--------- package-lock.json | 98 +------- public/assets/icon.svg | 14 +- .../js/components/accordion/AccordionItem.vue | 2 +- .../js/components/editor/MarkdownToolbar.vue | 88 ++++--- .../js/components/form/SecondarySubmit.vue | 2 +- resources/js/components/form/Submit.vue | 2 +- resources/js/components/form/index.ts | 10 + resources/js/components/menu/Menu.vue | 2 +- resources/js/components/menu/MenuItem.vue | 2 +- .../js/components/menu/NotificationMenu.vue | 2 +- resources/js/components/menu/UserMenu.vue | 36 +-- resources/js/components/modal/AboutModal.vue | 3 +- .../modal/CollaborationConfirmModal.vue | 7 +- .../js/components/modal/ModalManager.vue | 4 +- .../js/components/modal/PasswordEditModal.vue | 7 +- .../js/components/modal/ProfileEditModal.vue | 7 +- .../modal/RequestConfirmationModal.vue | 6 +- .../js/components/modal/SettingEditModal.vue | 7 +- .../modal/VaultCollaborationModal.vue | 8 +- .../js/components/modal/VaultCreateModal.vue | 7 +- .../js/components/modal/VaultEditModal.vue | 7 +- .../modal/VaultEditorSearchModal.vue | 10 +- .../modal/VaultEditorTemplateListModal.vue | 5 +- .../modal/VaultFilesImportModal.vue | 4 +- .../js/components/modal/VaultImportModal.vue | 4 +- .../components/modal/VaultNodeCreateModal.vue | 15 +- .../components/modal/VaultNodeEditModal.vue | 8 +- .../js/components/modal/VaultSearchModal.vue | 8 +- resources/js/components/modal/index.ts | 18 ++ .../VaultCollaborationAccepted.vue | 3 +- .../VaultCollaborationDeclined.vue | 3 +- .../VaultCollaborationInvitationReceived.vue | 4 +- resources/js/components/toast/Toast.vue | 7 +- resources/js/components/tree/VaultTree.vue | 29 ++- .../js/components/tree/VaultTreeNode.vue | 50 ++-- resources/js/components/vault/VaultFile.vue | 10 +- .../js/components/vault/VaultFileIcon.vue | 6 +- .../js/components/vault/VaultFileNote.vue | 12 +- .../vault/VaultFileUpdatingSpinner.vue | 2 +- .../vault/VaultToggleContentWidthButton.vue | 2 +- resources/js/components/vault/index.ts | 9 + resources/js/composables/index.ts | 15 ++ resources/js/composables/useRequest.ts | 2 +- .../js/composables/useVaultFileUpload.ts | 3 +- .../js/composables/useVaultTreeActions.ts | 1 - resources/js/icons/index.ts | 74 ++++++ resources/js/layouts/AuthLayout.vue | 4 +- resources/js/pages/Error.vue | 2 +- resources/js/pages/auth/ForgotPassword.vue | 5 +- resources/js/pages/auth/Login.vue | 18 +- resources/js/pages/auth/Register.vue | 4 +- resources/js/pages/auth/ResetPassword.vue | 4 +- resources/js/pages/vault/Index.vue | 30 +-- resources/js/pages/vault/Show.vue | 44 ++-- .../tiptap/extension-vault-file-upload.ts | 2 +- vite.config.js | 6 +- 61 files changed, 511 insertions(+), 511 deletions(-) create mode 100644 compose.yaml create mode 100644 resources/js/components/form/index.ts create mode 100644 resources/js/components/modal/index.ts create mode 100644 resources/js/components/vault/index.ts create mode 100644 resources/js/composables/index.ts create mode 100644 resources/js/icons/index.ts diff --git a/app/Actions/ProcessDiskVault.php b/app/Actions/ProcessDiskVault.php index 858895be..5cabe1b0 100644 --- a/app/Actions/ProcessDiskVault.php +++ b/app/Actions/ProcessDiskVault.php @@ -61,7 +61,7 @@ private function processDirectory( $attributes['is_file'] = true; $attributes['name'] = $pathInfo['filename']; $attributes['extension'] = $pathInfo['extension'] ?? 'md'; - $attributes['content'] = (string) file_get_contents("/$file"); + $attributes['content'] = (string) file_get_contents($file); $createVaultNode->handle($vault, $attributes, false); } } diff --git a/app/Actions/UpdateVaultNodeBacklinks.php b/app/Actions/UpdateVaultNodeBacklinks.php index a6c2c33a..50739e0d 100644 --- a/app/Actions/UpdateVaultNodeBacklinks.php +++ b/app/Actions/UpdateVaultNodeBacklinks.php @@ -29,14 +29,8 @@ public function handle(VaultNode $node, string $originalLinkPath, ?string $repla return; } - if ($replacementLinkPath === null) { - /** - * @var string $replacementLinkPath - * - * @phpstan-ignore-next-line larastan.noUnnecessaryCollectionCall - */ - $replacementLinkPath = $node->ancestorsAndSelf()->get()->last()->full_path; - } + /** @var string $replacementLinkPath */ + $replacementLinkPath ??= $node->ancestorsAndSelf()->get()->last()->full_path; $originalLinkPattern = '\/?' . str_replace(' ', '\s', preg_quote($originalLinkPath, '/')) diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 00000000..36e12607 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,20 @@ +services: + php: + image: brufdev/many-notes:latest + restart: unless-stopped + environment: + - APP_URL=http://localhost + volumes: + - .:/var/www/html + - database:/var/www/html/database/sqlite + - logs:/var/www/html/storage/logs + - private:/var/www/html/storage/app/private + - typesense:/var/www/html/typesense + ports: + - 80:8080 + +volumes: + database: + logs: + private: + typesense: \ No newline at end of file diff --git a/composer.json b/composer.json index b5ababb3..aaf96bee 100644 --- a/composer.json +++ b/composer.json @@ -7,11 +7,11 @@ "license": "MIT", "require": { "php": "^8.4", - "inertiajs/inertia-laravel": "^3.3.1", - "laravel/framework": "^13.29.0", + "inertiajs/inertia-laravel": "^3.3.2", + "laravel/framework": "^13.30.1", "laravel/reverb": "^1.11.1", "laravel/scout": "^11.6.1", - "laravel/socialite": "^5.30.1", + "laravel/socialite": "^5.31.0", "laravel/tinker": "^3.0.2", "laravel/wayfinder": "^0.1.21", "socialiteproviders/auth0": "^4.2", @@ -27,9 +27,9 @@ "typesense/typesense-php": "^6.0" }, "require-dev": { - "barryvdh/laravel-debugbar": "^4.4.2", + "barryvdh/laravel-debugbar": "^4.4.3", "fakerphp/faker": "^1.24.1", - "larastan/larastan": "^3.10.0", + "larastan/larastan": "^3.11.0", "laravel/pint": "^1.30.5", "laravel/sail": "^1.67.0", "mockery/mockery": "^1.6.15", @@ -37,7 +37,7 @@ "pestphp/pest": "^5.1.3", "pestphp/pest-plugin-browser": "^5.0", "pestphp/pest-plugin-type-coverage": "^5.0", - "rector/rector": "^2.6.3", + "rector/rector": "^2.6.6", "squizlabs/php_codesniffer": "^4.0.4" }, "autoload": { diff --git a/composer.lock b/composer.lock index 732e33bd..e1404055 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "274fa9bb89a07a7d738ef76933d0185c", + "content-hash": "cc0ef6d5f5e88a4b784ae8477abd9bcb", "packages": [ { "name": "brick/math", @@ -1368,16 +1368,16 @@ }, { "name": "inertiajs/inertia-laravel", - "version": "v3.3.1", + "version": "v3.3.2", "source": { "type": "git", "url": "https://github.com/inertiajs/inertia-laravel.git", - "reference": "7bfd75e352938b703180574b943d81963555a0aa" + "reference": "174f5040314edeb1a2371ce18aef4736c25375f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/inertiajs/inertia-laravel/zipball/7bfd75e352938b703180574b943d81963555a0aa", - "reference": "7bfd75e352938b703180574b943d81963555a0aa", + "url": "https://api.github.com/repos/inertiajs/inertia-laravel/zipball/174f5040314edeb1a2371ce18aef4736c25375f6", + "reference": "174f5040314edeb1a2371ce18aef4736c25375f6", "shasum": "" }, "require": { @@ -1434,22 +1434,22 @@ ], "support": { "issues": "https://github.com/inertiajs/inertia-laravel/issues", - "source": "https://github.com/inertiajs/inertia-laravel/tree/v3.3.1" + "source": "https://github.com/inertiajs/inertia-laravel/tree/v3.3.2" }, - "time": "2026-08-04T21:58:51+00:00" + "time": "2026-09-02T07:31:03+00:00" }, { "name": "laravel/framework", - "version": "v13.29.0", + "version": "v13.30.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "6e2c363716964d8238cee7097b258119a984f0cf" + "reference": "718d17db56861e0a49f644217c8853dab1bff8ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/6e2c363716964d8238cee7097b258119a984f0cf", - "reference": "6e2c363716964d8238cee7097b258119a984f0cf", + "url": "https://api.github.com/repos/laravel/framework/zipball/718d17db56861e0a49f644217c8853dab1bff8ce", + "reference": "718d17db56861e0a49f644217c8853dab1bff8ce", "shasum": "" }, "require": { @@ -1663,7 +1663,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2026-08-25T20:57:16+00:00" + "time": "2026-09-01T21:42:30+00:00" }, { "name": "laravel/prompts", @@ -1947,22 +1947,22 @@ }, { "name": "laravel/socialite", - "version": "v5.30.1", + "version": "v5.31.0", "source": { "type": "git", "url": "https://github.com/laravel/socialite.git", - "reference": "5c79f43e48d518f0e82dff0a03009c4cbe794c4e" + "reference": "f721b2cbec327ab820bd6aabea6ab211cfcc9f08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/socialite/zipball/5c79f43e48d518f0e82dff0a03009c4cbe794c4e", - "reference": "5c79f43e48d518f0e82dff0a03009c4cbe794c4e", + "url": "https://api.github.com/repos/laravel/socialite/zipball/f721b2cbec327ab820bd6aabea6ab211cfcc9f08", + "reference": "f721b2cbec327ab820bd6aabea6ab211cfcc9f08", "shasum": "" }, "require": { "ext-json": "*", "firebase/php-jwt": "^6.4|^7.0", - "guzzlehttp/guzzle": "^6.0|^7.0", + "guzzlehttp/guzzle": "^6.0|^7.0|^8.0", "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", @@ -2015,7 +2015,7 @@ "issues": "https://github.com/laravel/socialite/issues", "source": "https://github.com/laravel/socialite" }, - "time": "2026-08-24T13:31:12+00:00" + "time": "2026-08-31T13:49:19+00:00" }, { "name": "laravel/tinker", @@ -2343,16 +2343,16 @@ }, { "name": "league/flysystem", - "version": "3.35.3", + "version": "3.36.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "5fc8404762179ae514678487b23494fd69b2309c" + "reference": "f7fb152932f30072d573510cbd4dd657d6475b25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/5fc8404762179ae514678487b23494fd69b2309c", - "reference": "5fc8404762179ae514678487b23494fd69b2309c", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/f7fb152932f30072d573510cbd4dd657d6475b25", + "reference": "f7fb152932f30072d573510cbd4dd657d6475b25", "shasum": "" }, "require": { @@ -2420,9 +2420,9 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.35.3" + "source": "https://github.com/thephpleague/flysystem/tree/3.36.0" }, - "time": "2026-08-22T12:55:54+00:00" + "time": "2026-09-02T08:00:27+00:00" }, { "name": "league/flysystem-local", @@ -2789,16 +2789,16 @@ }, { "name": "monolog/monolog", - "version": "3.10.0", + "version": "3.11.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "b321dd6749f0bf7189444158a3ce785cc16d69b0" + "reference": "147f303310f06334f03f409e49d7ad1e275ff05a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/b321dd6749f0bf7189444158a3ce785cc16d69b0", - "reference": "b321dd6749f0bf7189444158a3ce785cc16d69b0", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/147f303310f06334f03f409e49d7ad1e275ff05a", + "reference": "147f303310f06334f03f409e49d7ad1e275ff05a", "shasum": "" }, "require": { @@ -2876,7 +2876,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/3.10.0" + "source": "https://github.com/Seldaek/monolog/tree/3.11.0" }, "funding": [ { @@ -2888,7 +2888,7 @@ "type": "tidelift" } ], - "time": "2026-01-02T08:56:05+00:00" + "time": "2026-09-02T12:39:56+00:00" }, { "name": "nesbot/carbon", @@ -3965,16 +3965,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "2.3.3", + "version": "2.3.5", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "fb19eedd2bb67ff8cf7a5502ad329e701d6398a3" + "reference": "148cefffaf0233e4c08cc13db8a195a56dd6dfe9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fb19eedd2bb67ff8cf7a5502ad329e701d6398a3", - "reference": "fb19eedd2bb67ff8cf7a5502ad329e701d6398a3", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/148cefffaf0233e4c08cc13db8a195a56dd6dfe9", + "reference": "148cefffaf0233e4c08cc13db8a195a56dd6dfe9", "shasum": "" }, "require": { @@ -4006,9 +4006,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/2.3.3" + "source": "https://github.com/phpstan/phpdoc-parser/tree/2.3.5" }, - "time": "2026-07-08T07:01:06+00:00" + "time": "2026-08-31T16:05:28+00:00" }, { "name": "psr/clock", @@ -6151,16 +6151,16 @@ }, { "name": "symfony/console", - "version": "v8.1.5", + "version": "v8.1.6", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "d07c06839e33047e2c894a6793248f3fb66c8129" + "reference": "eb7d9957d66739649e931ce7a9d05dab69f8abac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/d07c06839e33047e2c894a6793248f3fb66c8129", - "reference": "d07c06839e33047e2c894a6793248f3fb66c8129", + "url": "https://api.github.com/repos/symfony/console/zipball/eb7d9957d66739649e931ce7a9d05dab69f8abac", + "reference": "eb7d9957d66739649e931ce7a9d05dab69f8abac", "shasum": "" }, "require": { @@ -6227,7 +6227,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v8.1.5" + "source": "https://github.com/symfony/console/tree/v8.1.6" }, "funding": [ { @@ -6247,20 +6247,20 @@ "type": "tidelift" } ], - "time": "2026-08-21T14:29:57+00:00" + "time": "2026-08-25T14:18:42+00:00" }, { "name": "symfony/css-selector", - "version": "v8.1.5", + "version": "v8.1.6", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "a291fb5adb65f52a4bb315db2d803698315dc64d" + "reference": "08e2905152a39cf3fd1745d83f8c483e258887d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/a291fb5adb65f52a4bb315db2d803698315dc64d", - "reference": "a291fb5adb65f52a4bb315db2d803698315dc64d", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/08e2905152a39cf3fd1745d83f8c483e258887d9", + "reference": "08e2905152a39cf3fd1745d83f8c483e258887d9", "shasum": "" }, "require": { @@ -6296,7 +6296,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v8.1.5" + "source": "https://github.com/symfony/css-selector/tree/v8.1.6" }, "funding": [ { @@ -6316,7 +6316,7 @@ "type": "tidelift" } ], - "time": "2026-08-21T17:47:34+00:00" + "time": "2026-08-23T10:06:25+00:00" }, { "name": "symfony/deprecation-contracts", @@ -6706,16 +6706,16 @@ }, { "name": "symfony/http-foundation", - "version": "v8.1.5", + "version": "v8.1.6", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "ee16f97e95cfa011a742714d7c8c8f70fe7423f4" + "reference": "093b78326f649c3a9db922b9f17123b6aeb3b8fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/ee16f97e95cfa011a742714d7c8c8f70fe7423f4", - "reference": "ee16f97e95cfa011a742714d7c8c8f70fe7423f4", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/093b78326f649c3a9db922b9f17123b6aeb3b8fb", + "reference": "093b78326f649c3a9db922b9f17123b6aeb3b8fb", "shasum": "" }, "require": { @@ -6763,7 +6763,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v8.1.5" + "source": "https://github.com/symfony/http-foundation/tree/v8.1.6" }, "funding": [ { @@ -6783,20 +6783,20 @@ "type": "tidelift" } ], - "time": "2026-08-20T09:59:12+00:00" + "time": "2026-08-30T20:10:55+00:00" }, { "name": "symfony/http-kernel", - "version": "v8.1.5", + "version": "v8.1.6", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "0306e1e65b90023fe40de6c6be95d06396bcb2e6" + "reference": "2f73beb7c6f1a97d2c17bbf4dbd59da8cc18b355" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/0306e1e65b90023fe40de6c6be95d06396bcb2e6", - "reference": "0306e1e65b90023fe40de6c6be95d06396bcb2e6", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/2f73beb7c6f1a97d2c17bbf4dbd59da8cc18b355", + "reference": "2f73beb7c6f1a97d2c17bbf4dbd59da8cc18b355", "shasum": "" }, "require": { @@ -6873,7 +6873,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v8.1.5" + "source": "https://github.com/symfony/http-kernel/tree/v8.1.6" }, "funding": [ { @@ -6893,7 +6893,7 @@ "type": "tidelift" } ], - "time": "2026-08-22T13:45:00+00:00" + "time": "2026-08-30T21:40:49+00:00" }, { "name": "symfony/mailer", @@ -6977,7 +6977,7 @@ }, { "name": "symfony/mime", - "version": "v8.1.5", + "version": "v8.1.6", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", @@ -7039,7 +7039,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v8.1.5" + "source": "https://github.com/symfony/mime/tree/v8.1.6" }, "funding": [ { @@ -8043,7 +8043,7 @@ }, { "name": "symfony/process", - "version": "v8.1.5", + "version": "v8.1.6", "source": { "type": "git", "url": "https://github.com/symfony/process.git", @@ -8084,7 +8084,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v8.1.5" + "source": "https://github.com/symfony/process/tree/v8.1.6" }, "funding": [ { @@ -8108,7 +8108,7 @@ }, { "name": "symfony/routing", - "version": "v8.1.5", + "version": "v8.1.6", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", @@ -8164,7 +8164,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v8.1.5" + "source": "https://github.com/symfony/routing/tree/v8.1.6" }, "funding": [ { @@ -8188,16 +8188,16 @@ }, { "name": "symfony/service-contracts", - "version": "v3.7.1", + "version": "v3.7.3", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "c0a284bab1ed8aa0417e3d69250ab437739563a0" + "reference": "15e6a07ec2a2c75ceb1b21dd98105ee8456d2257" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/c0a284bab1ed8aa0417e3d69250ab437739563a0", - "reference": "c0a284bab1ed8aa0417e3d69250ab437739563a0", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/15e6a07ec2a2c75ceb1b21dd98105ee8456d2257", + "reference": "15e6a07ec2a2c75ceb1b21dd98105ee8456d2257", "shasum": "" }, "require": { @@ -8251,7 +8251,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.7.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.7.3" }, "funding": [ { @@ -8271,7 +8271,7 @@ "type": "tidelift" } ], - "time": "2026-06-16T09:55:08+00:00" + "time": "2026-07-27T15:39:01+00:00" }, { "name": "symfony/string", @@ -8618,16 +8618,16 @@ }, { "name": "symfony/var-dumper", - "version": "v8.1.5", + "version": "v8.1.6", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "61743d9bc7ab23b194527ca1be2fafd7dc93b74a" + "reference": "3783365b58972f4779254d98372af80fbf15e170" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/61743d9bc7ab23b194527ca1be2fafd7dc93b74a", - "reference": "61743d9bc7ab23b194527ca1be2fafd7dc93b74a", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/3783365b58972f4779254d98372af80fbf15e170", + "reference": "3783365b58972f4779254d98372af80fbf15e170", "shasum": "" }, "require": { @@ -8681,7 +8681,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v8.1.5" + "source": "https://github.com/symfony/var-dumper/tree/v8.1.6" }, "funding": [ { @@ -8701,7 +8701,7 @@ "type": "tidelift" } ], - "time": "2026-08-21T12:16:08+00:00" + "time": "2026-08-30T20:10:55+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -10221,16 +10221,16 @@ }, { "name": "barryvdh/laravel-debugbar", - "version": "v4.4.2", + "version": "v4.4.3", "source": { "type": "git", "url": "https://github.com/fruitcake/laravel-debugbar.git", - "reference": "18d1c1c64cc5d7794a2c52a2165fe6121e28ed44" + "reference": "caa08515a2eef6d8137653d3a1f3c3387cadf184" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fruitcake/laravel-debugbar/zipball/18d1c1c64cc5d7794a2c52a2165fe6121e28ed44", - "reference": "18d1c1c64cc5d7794a2c52a2165fe6121e28ed44", + "url": "https://api.github.com/repos/fruitcake/laravel-debugbar/zipball/caa08515a2eef6d8137653d3a1f3c3387cadf184", + "reference": "caa08515a2eef6d8137653d3a1f3c3387cadf184", "shasum": "" }, "require": { @@ -10305,7 +10305,7 @@ ], "support": { "issues": "https://github.com/fruitcake/laravel-debugbar/issues", - "source": "https://github.com/fruitcake/laravel-debugbar/tree/v4.4.2" + "source": "https://github.com/fruitcake/laravel-debugbar/tree/v4.4.3" }, "funding": [ { @@ -10317,7 +10317,7 @@ "type": "github" } ], - "time": "2026-08-20T12:02:04+00:00" + "time": "2026-09-01T13:46:43+00:00" }, { "name": "brianium/paratest", @@ -10915,20 +10915,19 @@ }, { "name": "larastan/larastan", - "version": "v3.10.0", + "version": "v3.11.0", "source": { "type": "git", "url": "https://github.com/larastan/larastan.git", - "reference": "2970f83398154178a739609c244577267c7ee8eb" + "reference": "9baa74074f17cc70feaef31616a06ea0faeebba5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/larastan/larastan/zipball/2970f83398154178a739609c244577267c7ee8eb", - "reference": "2970f83398154178a739609c244577267c7ee8eb", + "url": "https://api.github.com/repos/larastan/larastan/zipball/9baa74074f17cc70feaef31616a06ea0faeebba5", + "reference": "9baa74074f17cc70feaef31616a06ea0faeebba5", "shasum": "" }, "require": { - "ext-json": "*", "iamcal/sql-parser": "^0.7.0", "illuminate/console": "^11.44.2 || ^12.4.1 || ^13", "illuminate/container": "^11.44.2 || ^12.4.1 || ^13", @@ -10938,7 +10937,7 @@ "illuminate/pipeline": "^11.44.2 || ^12.4.1 || ^13", "illuminate/support": "^11.44.2 || ^12.4.1 || ^13", "php": "^8.2", - "phpstan/phpstan": "^2.2.0" + "phpstan/phpstan": "^2.2.2" }, "require-dev": { "doctrine/coding-standard": "^14", @@ -10948,7 +10947,7 @@ "orchestra/canvas": "^v9.2.2 || ^10.0.1 || ^11", "orchestra/testbench-core": "^9.12.0 || ^10.1 || ^11", "phpstan/phpstan-deprecation-rules": "^2.0.1", - "phpunit/phpunit": "^10.5.35 || ^11.5.15 || ^12.5.8 || ^13.1.8" + "phpunit/phpunit": "^10.5.35 || ^11.5.15 || ^12.5.8 || ^13.3.0" }, "suggest": { "orchestra/testbench": "Using Larastan for analysing a package needs Testbench", @@ -10993,7 +10992,7 @@ ], "support": { "issues": "https://github.com/larastan/larastan/issues", - "source": "https://github.com/larastan/larastan/tree/v3.10.0" + "source": "https://github.com/larastan/larastan/tree/v3.11.0" }, "funding": [ { @@ -11001,7 +11000,7 @@ "type": "github" } ], - "time": "2026-05-28T08:00:58+00:00" + "time": "2026-09-01T16:35:48+00:00" }, { "name": "laravel/pint", @@ -12560,11 +12559,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.2.9", + "version": "2.2.12", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/13d6b4f347bad222da436580c8304fa6f83e6bd0", - "reference": "13d6b4f347bad222da436580c8304fa6f83e6bd0", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/174b0d88710f00a42598886504dd7a146f91ace5", + "reference": "174b0d88710f00a42598886504dd7a146f91ace5", "shasum": "" }, "require": { @@ -12620,7 +12619,7 @@ "type": "github" } ], - "time": "2026-08-22T07:38:16+00:00" + "time": "2026-08-31T19:09:43+00:00" }, { "name": "phpunit/php-code-coverage", @@ -13099,21 +13098,21 @@ }, { "name": "rector/rector", - "version": "2.6.3", + "version": "2.6.6", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "7e46709996a4b3dc59e1d6ecbb6a38ace335bd58" + "reference": "ca069d6c79feaa6651b423c15d101a27a436093e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/7e46709996a4b3dc59e1d6ecbb6a38ace335bd58", - "reference": "7e46709996a4b3dc59e1d6ecbb6a38ace335bd58", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/ca069d6c79feaa6651b423c15d101a27a436093e", + "reference": "ca069d6c79feaa6651b423c15d101a27a436093e", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "phpstan/phpstan": "^2.2.6" + "phpstan/phpstan": "^2.2.10" }, "conflict": { "rector/rector-doctrine": "*", @@ -13121,9 +13120,6 @@ "rector/rector-phpunit": "*", "rector/rector-symfony": "*" }, - "suggest": { - "ext-dom": "To manipulate phpunit.xml via the custom-rule command" - }, "bin": [ "bin/rector" ], @@ -13147,7 +13143,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/2.6.3" + "source": "https://github.com/rectorphp/rector/tree/2.6.6" }, "funding": [ { @@ -13155,7 +13151,7 @@ "type": "github" } ], - "time": "2026-08-18T22:01:18+00:00" + "time": "2026-09-02T09:38:46+00:00" }, { "name": "revolt/event-loop", @@ -14473,16 +14469,16 @@ }, { "name": "symfony/yaml", - "version": "v8.1.5", + "version": "v8.1.6", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "b3fc9e8888eeb9daddc33bfbd15d282a61f543cd" + "reference": "0b4aa53a67f9fece88c665f1a1dadcfd25d93fe5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/b3fc9e8888eeb9daddc33bfbd15d282a61f543cd", - "reference": "b3fc9e8888eeb9daddc33bfbd15d282a61f543cd", + "url": "https://api.github.com/repos/symfony/yaml/zipball/0b4aa53a67f9fece88c665f1a1dadcfd25d93fe5", + "reference": "0b4aa53a67f9fece88c665f1a1dadcfd25d93fe5", "shasum": "" }, "require": { @@ -14525,7 +14521,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v8.1.5" + "source": "https://github.com/symfony/yaml/tree/v8.1.6" }, "funding": [ { @@ -14545,7 +14541,7 @@ "type": "tidelift" } ], - "time": "2026-08-21T12:16:08+00:00" + "time": "2026-08-30T01:03:44+00:00" }, { "name": "ta-tikoma/phpunit-architecture-test", @@ -14658,16 +14654,16 @@ }, { "name": "tomasvotruba/type-coverage", - "version": "2.3.4", + "version": "2.3.6", "source": { "type": "git", "url": "https://github.com/TomasVotruba/type-coverage.git", - "reference": "7b4aec57af15514dac9a3c5a9671da501444ecd0" + "reference": "bb2e1d115bfc38b2b29c98ea64762d70607a684f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/TomasVotruba/type-coverage/zipball/7b4aec57af15514dac9a3c5a9671da501444ecd0", - "reference": "7b4aec57af15514dac9a3c5a9671da501444ecd0", + "url": "https://api.github.com/repos/TomasVotruba/type-coverage/zipball/bb2e1d115bfc38b2b29c98ea64762d70607a684f", + "reference": "bb2e1d115bfc38b2b29c98ea64762d70607a684f", "shasum": "" }, "require": { @@ -14713,7 +14709,7 @@ ], "support": { "issues": "https://github.com/TomasVotruba/type-coverage/issues", - "source": "https://github.com/TomasVotruba/type-coverage/tree/2.3.4" + "source": "https://github.com/TomasVotruba/type-coverage/tree/2.3.6" }, "funding": [ { @@ -14725,7 +14721,7 @@ "type": "github" } ], - "time": "2026-08-18T07:48:32+00:00" + "time": "2026-08-29T08:21:40+00:00" }, { "name": "webmozart/assert", diff --git a/package-lock.json b/package-lock.json index ec53d01a..220f095b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "src", + "name": "many-notes", "lockfileVersion": 3, "requires": true, "packages": { @@ -2034,9 +2034,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2166,9 +2163,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2186,9 +2180,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2206,9 +2197,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2226,9 +2214,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2246,9 +2231,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2266,9 +2248,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2548,9 +2527,6 @@ "arm" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2565,9 +2541,6 @@ "arm" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2582,9 +2555,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2599,9 +2569,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2616,9 +2583,6 @@ "loong64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2633,9 +2597,6 @@ "loong64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2650,9 +2611,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2667,9 +2625,6 @@ "ppc64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2684,9 +2639,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2701,9 +2653,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2718,9 +2667,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2735,9 +2681,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -2752,9 +2695,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2991,9 +2931,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3011,9 +2948,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -3031,9 +2965,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -3051,9 +2982,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6703,9 +6631,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -6727,9 +6652,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -6751,9 +6673,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -6775,9 +6694,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -9006,9 +8922,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -9030,9 +8943,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -9054,9 +8964,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -9078,9 +8985,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ diff --git a/public/assets/icon.svg b/public/assets/icon.svg index 1c13cba4..c74abbee 100644 --- a/public/assets/icon.svg +++ b/public/assets/icon.svg @@ -2,13 +2,13 @@ + width="1024mm" + height="1024mm" + viewBox="0 0 1024 1024" + version="1.1" + id="svg1" + xmlns="http://www.w3.org/2000/svg" +> -import ChevronDown from '@/icons/ChevronDown.vue'; +import { ChevronDown } from '@/icons'; import { computed, inject, onMounted, ref, useId, watch } from 'vue'; const accordion = inject<{ diff --git a/resources/js/components/editor/MarkdownToolbar.vue b/resources/js/components/editor/MarkdownToolbar.vue index 39dcfe73..4226c635 100644 --- a/resources/js/components/editor/MarkdownToolbar.vue +++ b/resources/js/components/editor/MarkdownToolbar.vue @@ -1,51 +1,49 @@