diff --git a/app/Concerns/PasswordValidationRules.php b/app/Concerns/PasswordValidationRules.php deleted file mode 100644 index 900021773..000000000 --- a/app/Concerns/PasswordValidationRules.php +++ /dev/null @@ -1,31 +0,0 @@ -|string> - */ - protected function passwordRules(): array - { - return ['required', 'string', Password::default(), 'confirmed']; - } - - /** - * Get the validation rules used to validate the current password. - * - * @return array|string> - */ - protected function currentPasswordRules(): array - { - return ['required', 'string', 'current_password']; - } -} diff --git a/app/Enums/Ai/Orientation.php b/app/Enums/Ai/Orientation.php deleted file mode 100644 index 95e7d733d..000000000 --- a/app/Enums/Ai/Orientation.php +++ /dev/null @@ -1,41 +0,0 @@ - '1:1', - self::Portrait => '4:5', - self::Vertical => '9:16', - self::Horizontal => '16:9', - }; - } - - /** - * Size string supported by the AI image SDK (1:1 / 2:3 / 3:2). - * - * OpenAI's image API only accepts these three ratios, so we map every - * orientation to the closest supported one. Gemini accepts the same set. - */ - public function imageApiSize(): string - { - return match ($this) { - self::Square => '1:1', - self::Portrait, self::Vertical => '2:3', - self::Horizontal => '3:2', - }; - } -} diff --git a/app/Exceptions/Ai/QuotaExhaustedException.php b/app/Exceptions/Ai/QuotaExhaustedException.php deleted file mode 100644 index aefdfa53a..000000000 --- a/app/Exceptions/Ai/QuotaExhaustedException.php +++ /dev/null @@ -1,21 +0,0 @@ -value), $used, $limit), - ); - } -} diff --git a/package-lock.json b/package-lock.json index 0df5a2b4f..b86ad083d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,6 @@ "@tabler/icons-vue": "^3.36.1", "@tailwindcss/typography": "^0.5.19", "@vueuse/core": "^12.8.2", - "axios": "^1.13.2", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "dayjs": "^1.11.19", @@ -17,7 +16,6 @@ "highlight.js": "^11.11.1", "laravel-vite-plugin": "^3.1.0", "laravel-vue-i18n": "^2.8.0", - "maska": "^3.2.0", "posthog-js": "^1.364.2", "reka-ui": "^2.9.10", "tailwind-merge": "^3.2.0", @@ -2438,6 +2436,8 @@ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "debug": "4" }, @@ -2653,7 +2653,9 @@ "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/available-typed-arrays": { "version": "1.0.7", @@ -2676,6 +2678,8 @@ "resolved": "https://registry.npmjs.org/axios/-/axios-1.16.1.tgz", "integrity": "sha512-caYkukvroVPO8KrzuJEb50Hm07KwfBZPEC3VeFHTsqWHvKTsy54hjJz9BS/cdaypROE2rH6xvm9mHX4fgWkr3A==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "follow-redirects": "^1.16.0", "form-data": "^4.0.5", @@ -2743,6 +2747,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "devOptional": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -2886,6 +2891,8 @@ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "delayed-stream": "~1.0.0" }, @@ -3052,6 +3059,7 @@ "version": "4.4.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "devOptional": true, "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -3119,6 +3127,8 @@ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=0.4.0" } @@ -3158,6 +3168,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "devOptional": true, "license": "MIT", "dependencies": { "call-bind-apply-helpers": "^1.0.1", @@ -3328,6 +3339,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "devOptional": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -3337,6 +3349,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "devOptional": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -3346,6 +3359,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "devOptional": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0" @@ -3358,6 +3372,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "devOptional": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -4089,6 +4104,8 @@ } ], "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=4.0" }, @@ -4119,6 +4136,8 @@ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -4148,6 +4167,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "devOptional": true, "license": "MIT", "funding": { "url": "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/sponsors/ljharb" @@ -4221,6 +4241,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "devOptional": true, "license": "MIT", "dependencies": { "call-bind-apply-helpers": "^1.0.2", @@ -4245,6 +4266,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "devOptional": true, "license": "MIT", "dependencies": { "dunder-proto": "^1.0.1", @@ -4332,6 +4354,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "devOptional": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -4403,6 +4426,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "devOptional": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -4415,6 +4439,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "devOptional": true, "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" @@ -4430,6 +4455,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "devOptional": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.2" @@ -4462,6 +4488,8 @@ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "agent-base": "6", "debug": "4" @@ -5379,16 +5407,11 @@ "@jridgewell/sourcemap-codec": "^1.5.5" } }, - "node_modules/maska": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/maska/-/maska-3.2.0.tgz", - "integrity": "sha512-zSmSgs5/q9vMSmrdZT3rKOv9uLznNWR/niuuAdBZDTvB3SMKOX9vhMtDijFyExz+B4UClu2rvksylUh/ea1bLA==", - "license": "MIT" - }, "node_modules/math-intrinsics": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "devOptional": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -5423,6 +5446,8 @@ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">= 0.6" } @@ -5432,6 +5457,8 @@ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "mime-db": "1.52.0" }, @@ -5469,6 +5496,7 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "devOptional": true, "license": "MIT" }, "node_modules/muggle-string": { @@ -6062,6 +6090,8 @@ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">=10" } diff --git a/package.json b/package.json index e54d3f104..840cc7dec 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,6 @@ "@tabler/icons-vue": "^3.36.1", "@tailwindcss/typography": "^0.5.19", "@vueuse/core": "^12.8.2", - "axios": "^1.13.2", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "dayjs": "^1.11.19", @@ -49,7 +48,6 @@ "highlight.js": "^11.11.1", "laravel-vite-plugin": "^3.1.0", "laravel-vue-i18n": "^2.8.0", - "maska": "^3.2.0", "posthog-js": "^1.364.2", "reka-ui": "^2.9.10", "tailwind-merge": "^3.2.0", diff --git a/resources/js/components/AlertError.vue b/resources/js/components/AlertError.vue deleted file mode 100644 index 1acc5de38..000000000 --- a/resources/js/components/AlertError.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - diff --git a/resources/js/components/AppContent.vue b/resources/js/components/AppContent.vue deleted file mode 100644 index dbca1b5d0..000000000 --- a/resources/js/components/AppContent.vue +++ /dev/null @@ -1,26 +0,0 @@ - - - diff --git a/resources/js/components/AppShell.vue b/resources/js/components/AppShell.vue deleted file mode 100644 index 1088f4f1f..000000000 --- a/resources/js/components/AppShell.vue +++ /dev/null @@ -1,22 +0,0 @@ - - - diff --git a/resources/js/components/Breadcrumbs.vue b/resources/js/components/Breadcrumbs.vue deleted file mode 100644 index 60190204a..000000000 --- a/resources/js/components/Breadcrumbs.vue +++ /dev/null @@ -1,37 +0,0 @@ - - - diff --git a/resources/js/components/Heading.vue b/resources/js/components/Heading.vue deleted file mode 100644 index f50187afd..000000000 --- a/resources/js/components/Heading.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/resources/js/components/Icon.vue b/resources/js/components/Icon.vue deleted file mode 100644 index e4ab86219..000000000 --- a/resources/js/components/Icon.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/resources/js/components/NavFooter.vue b/resources/js/components/NavFooter.vue deleted file mode 100644 index 6ae1d5f24..000000000 --- a/resources/js/components/NavFooter.vue +++ /dev/null @@ -1,44 +0,0 @@ - - - diff --git a/resources/js/components/PlaceholderPattern.vue b/resources/js/components/PlaceholderPattern.vue deleted file mode 100644 index 95556e3bf..000000000 --- a/resources/js/components/PlaceholderPattern.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - diff --git a/resources/js/components/UserInfo.vue b/resources/js/components/UserInfo.vue deleted file mode 100644 index c015058c1..000000000 --- a/resources/js/components/UserInfo.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - diff --git a/resources/js/components/WorkspaceSwitcher.vue b/resources/js/components/WorkspaceSwitcher.vue deleted file mode 100644 index 15c14ca1b..000000000 --- a/resources/js/components/WorkspaceSwitcher.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - diff --git a/resources/js/components/ui/input/InputMask.vue b/resources/js/components/ui/input/InputMask.vue deleted file mode 100644 index 0cc70bb59..000000000 --- a/resources/js/components/ui/input/InputMask.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - diff --git a/resources/js/components/ui/input/index.ts b/resources/js/components/ui/input/index.ts index 538c924ea..c5248c5c1 100644 --- a/resources/js/components/ui/input/index.ts +++ b/resources/js/components/ui/input/index.ts @@ -1,2 +1 @@ export { default as Input } from './Input.vue'; -export { default as InputMask } from './InputMask.vue'; diff --git a/resources/js/composables/useDateMaska.ts b/resources/js/composables/useDateMaska.ts deleted file mode 100644 index 178a9d2d6..000000000 --- a/resources/js/composables/useDateMaska.ts +++ /dev/null @@ -1,10 +0,0 @@ -export function useDateMaska() { - const dateOptions = { - 'data-maska': '##/##/####', - 'data-maska-tokens': '#:[0-9]', - }; - - return { - dateOptions, - }; -} diff --git a/resources/js/layouts/GuestLayout.vue b/resources/js/layouts/GuestLayout.vue deleted file mode 100644 index 6dbc54e03..000000000 --- a/resources/js/layouts/GuestLayout.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/resources/js/layouts/auth/AuthCardLayout.vue b/resources/js/layouts/auth/AuthCardLayout.vue deleted file mode 100644 index 21c2c4fa2..000000000 --- a/resources/js/layouts/auth/AuthCardLayout.vue +++ /dev/null @@ -1,44 +0,0 @@ - - - \ No newline at end of file diff --git a/resources/js/layouts/auth/AuthSimpleLayout.vue b/resources/js/layouts/auth/AuthSimpleLayout.vue deleted file mode 100644 index fdf5921c0..000000000 --- a/resources/js/layouts/auth/AuthSimpleLayout.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - \ No newline at end of file