spotlight page indexing

This commit is contained in:
Čarodej
2021-12-14 16:02:50 +01:00
parent 5439ba1aae
commit 342d07126a
3 changed files with 358 additions and 138 deletions

180
composer.lock generated
View File

@@ -280,16 +280,16 @@
}, },
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.208.3", "version": "3.208.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "c9ccf6705fe41e53f23dac7e0573e3f79d70bcde" "reference": "58fa9d8b522b0afa260299179ff950c783ff0ee1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/c9ccf6705fe41e53f23dac7e0573e3f79d70bcde", "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/58fa9d8b522b0afa260299179ff950c783ff0ee1",
"reference": "c9ccf6705fe41e53f23dac7e0573e3f79d70bcde", "reference": "58fa9d8b522b0afa260299179ff950c783ff0ee1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -365,9 +365,9 @@
"support": { "support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.208.3" "source": "https://github.com/aws/aws-sdk-php/tree/3.208.5"
}, },
"time": "2021-12-08T19:30:07+00:00" "time": "2021-12-13T20:17:56+00:00"
}, },
{ {
"name": "bacon/bacon-qr-code", "name": "bacon/bacon-qr-code",
@@ -2048,16 +2048,16 @@
}, },
{ {
"name": "friendsofphp/php-cs-fixer", "name": "friendsofphp/php-cs-fixer",
"version": "v3.3.2", "version": "v3.4.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git",
"reference": "06bdbdfcd619183dd7a1a6948360f8af73b9ecec" "reference": "47177af1cfb9dab5d1cc4daf91b7179c2efe7fad"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/06bdbdfcd619183dd7a1a6948360f8af73b9ecec", "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/47177af1cfb9dab5d1cc4daf91b7179c2efe7fad",
"reference": "06bdbdfcd619183dd7a1a6948360f8af73b9ecec", "reference": "47177af1cfb9dab5d1cc4daf91b7179c2efe7fad",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2068,33 +2068,32 @@
"ext-tokenizer": "*", "ext-tokenizer": "*",
"php": "^7.2.5 || ^8.0", "php": "^7.2.5 || ^8.0",
"php-cs-fixer/diff": "^2.0", "php-cs-fixer/diff": "^2.0",
"symfony/console": "^5.1.3", "symfony/console": "^4.4.20 || ^5.1.3 || ^6.0",
"symfony/event-dispatcher": "^5.0", "symfony/event-dispatcher": "^4.4.20 || ^5.0 || ^6.0",
"symfony/filesystem": "^5.0", "symfony/filesystem": "^4.4.20 || ^5.0 || ^6.0",
"symfony/finder": "^5.0", "symfony/finder": "^4.4.20 || ^5.0 || ^6.0",
"symfony/options-resolver": "^5.0", "symfony/options-resolver": "^4.4.20 || ^5.0 || ^6.0",
"symfony/polyfill-mbstring": "^1.23", "symfony/polyfill-mbstring": "^1.23",
"symfony/polyfill-php72": "^1.23",
"symfony/polyfill-php80": "^1.23", "symfony/polyfill-php80": "^1.23",
"symfony/polyfill-php81": "^1.23", "symfony/polyfill-php81": "^1.23",
"symfony/process": "^5.0", "symfony/process": "^4.4.20 || ^5.0 || ^6.0",
"symfony/stopwatch": "^5.0" "symfony/stopwatch": "^4.4.20 || ^5.0 || ^6.0"
}, },
"require-dev": { "require-dev": {
"justinrainbow/json-schema": "^5.2", "justinrainbow/json-schema": "^5.2",
"keradus/cli-executor": "^1.5", "keradus/cli-executor": "^1.5",
"mikey179/vfsstream": "^1.6.8", "mikey179/vfsstream": "^1.6.8",
"php-coveralls/php-coveralls": "^2.4.3", "php-coveralls/php-coveralls": "^2.5.2",
"php-cs-fixer/accessible-object": "^1.1", "php-cs-fixer/accessible-object": "^1.1",
"php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2",
"php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1", "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1",
"phpspec/prophecy": "^1.10.3", "phpspec/prophecy": "^1.15",
"phpspec/prophecy-phpunit": "^1.1 || ^2.0", "phpspec/prophecy-phpunit": "^1.1 || ^2.0",
"phpunit/phpunit": "^7.5.20 || ^8.5.14 || ^9.5", "phpunit/phpunit": "^8.5.21 || ^9.5",
"phpunitgoodpractices/polyfill": "^1.5", "phpunitgoodpractices/polyfill": "^1.5",
"phpunitgoodpractices/traits": "^1.9.1", "phpunitgoodpractices/traits": "^1.9.1",
"symfony/phpunit-bridge": "^5.2.4", "symfony/phpunit-bridge": "^5.2.4 || ^6.0",
"symfony/yaml": "^5.0" "symfony/yaml": "^4.4.20 || ^5.0 || ^6.0"
}, },
"suggest": { "suggest": {
"ext-dom": "For handling output formats in XML", "ext-dom": "For handling output formats in XML",
@@ -2126,7 +2125,7 @@
"description": "A tool to automatically fix PHP code style", "description": "A tool to automatically fix PHP code style",
"support": { "support": {
"issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues",
"source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.3.2" "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.4.0"
}, },
"funding": [ "funding": [
{ {
@@ -2134,7 +2133,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2021-11-15T18:06:47+00:00" "time": "2021-12-11T16:25:08+00:00"
}, },
{ {
"name": "fruitcake/laravel-cors", "name": "fruitcake/laravel-cors",
@@ -3992,10 +3991,10 @@
"dist": { "dist": {
"type": "path", "type": "path",
"url": "../../PhpstormProjects/subscription", "url": "../../PhpstormProjects/subscription",
"reference": "fa890658b330db4fe9f7a1534840d7b18b0909db" "reference": "1020aeafe8851d70db318d34ebdf276c1242e6bd"
}, },
"require": { "require": {
"friendsofphp/php-cs-fixer": "^3.0", "friendsofphp/php-cs-fixer": "^3.3.2",
"guzzlehttp/guzzle": "^7.4", "guzzlehttp/guzzle": "^7.4",
"illuminate/contracts": "^8.37", "illuminate/contracts": "^8.37",
"kyslik/column-sortable": "^6.4", "kyslik/column-sortable": "^6.4",
@@ -4033,6 +4032,8 @@
}, },
"files": [ "files": [
"src/Support/helpers.php", "src/Support/helpers.php",
"src/Support/PayPalHelpers.php",
"src/Support/PaystackHelpers.php",
"src/Support/StripeHelpers.php" "src/Support/StripeHelpers.php"
] ]
}, },
@@ -8171,16 +8172,16 @@
}, },
{ {
"name": "stripe/stripe-php", "name": "stripe/stripe-php",
"version": "v7.106.0", "version": "v7.107.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/stripe/stripe-php.git", "url": "https://github.com/stripe/stripe-php.git",
"reference": "87013b8b3b75daad59d0aa39cbbf0b5979f1a091" "reference": "a90f74037261ed376c0d37066f396c48809c8e99"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/stripe/stripe-php/zipball/87013b8b3b75daad59d0aa39cbbf0b5979f1a091", "url": "https://api.github.com/repos/stripe/stripe-php/zipball/a90f74037261ed376c0d37066f396c48809c8e99",
"reference": "87013b8b3b75daad59d0aa39cbbf0b5979f1a091", "reference": "a90f74037261ed376c0d37066f396c48809c8e99",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -8225,9 +8226,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/stripe/stripe-php/issues", "issues": "https://github.com/stripe/stripe-php/issues",
"source": "https://github.com/stripe/stripe-php/tree/v7.106.0" "source": "https://github.com/stripe/stripe-php/tree/v7.107.0"
}, },
"time": "2021-12-09T15:48:56+00:00" "time": "2021-12-09T20:40:29+00:00"
}, },
{ {
"name": "swiftmailer/swiftmailer", "name": "swiftmailer/swiftmailer",
@@ -8609,40 +8610,38 @@
}, },
{ {
"name": "symfony/event-dispatcher", "name": "symfony/event-dispatcher",
"version": "v5.4.0", "version": "v6.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/event-dispatcher.git", "url": "https://github.com/symfony/event-dispatcher.git",
"reference": "27d39ae126352b9fa3be5e196ccf4617897be3eb" "reference": "4f06d19a5f78087061f9de6df3269c139c3d289d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/27d39ae126352b9fa3be5e196ccf4617897be3eb", "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/4f06d19a5f78087061f9de6df3269c139c3d289d",
"reference": "27d39ae126352b9fa3be5e196ccf4617897be3eb", "reference": "4f06d19a5f78087061f9de6df3269c139c3d289d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.2.5", "php": ">=8.0.2",
"symfony/deprecation-contracts": "^2.1|^3", "symfony/event-dispatcher-contracts": "^2|^3"
"symfony/event-dispatcher-contracts": "^2|^3",
"symfony/polyfill-php80": "^1.16"
}, },
"conflict": { "conflict": {
"symfony/dependency-injection": "<4.4" "symfony/dependency-injection": "<5.4"
}, },
"provide": { "provide": {
"psr/event-dispatcher-implementation": "1.0", "psr/event-dispatcher-implementation": "1.0",
"symfony/event-dispatcher-implementation": "2.0" "symfony/event-dispatcher-implementation": "2.0|3.0"
}, },
"require-dev": { "require-dev": {
"psr/log": "^1|^2|^3", "psr/log": "^1|^2|^3",
"symfony/config": "^4.4|^5.0|^6.0", "symfony/config": "^5.4|^6.0",
"symfony/dependency-injection": "^4.4|^5.0|^6.0", "symfony/dependency-injection": "^5.4|^6.0",
"symfony/error-handler": "^4.4|^5.0|^6.0", "symfony/error-handler": "^5.4|^6.0",
"symfony/expression-language": "^4.4|^5.0|^6.0", "symfony/expression-language": "^5.4|^6.0",
"symfony/http-foundation": "^4.4|^5.0|^6.0", "symfony/http-foundation": "^5.4|^6.0",
"symfony/service-contracts": "^1.1|^2|^3", "symfony/service-contracts": "^1.1|^2|^3",
"symfony/stopwatch": "^4.4|^5.0|^6.0" "symfony/stopwatch": "^5.4|^6.0"
}, },
"suggest": { "suggest": {
"symfony/dependency-injection": "", "symfony/dependency-injection": "",
@@ -8674,7 +8673,7 @@
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/event-dispatcher/tree/v5.4.0" "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.1"
}, },
"funding": [ "funding": [
{ {
@@ -8690,7 +8689,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-11-23T10:19:22+00:00" "time": "2021-12-08T15:13:44+00:00"
}, },
{ {
"name": "symfony/event-dispatcher-contracts", "name": "symfony/event-dispatcher-contracts",
@@ -8773,23 +8772,22 @@
}, },
{ {
"name": "symfony/filesystem", "name": "symfony/filesystem",
"version": "v5.4.0", "version": "v6.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/filesystem.git", "url": "https://github.com/symfony/filesystem.git",
"reference": "731f917dc31edcffec2c6a777f3698c33bea8f01" "reference": "52b3c9cce673b014915445a432339f282e002ce6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/731f917dc31edcffec2c6a777f3698c33bea8f01", "url": "https://api.github.com/repos/symfony/filesystem/zipball/52b3c9cce673b014915445a432339f282e002ce6",
"reference": "731f917dc31edcffec2c6a777f3698c33bea8f01", "reference": "52b3c9cce673b014915445a432339f282e002ce6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.2.5", "php": ">=8.0.2",
"symfony/polyfill-ctype": "~1.8", "symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-mbstring": "~1.8", "symfony/polyfill-mbstring": "~1.8"
"symfony/polyfill-php80": "^1.16"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@@ -8817,7 +8815,7 @@
"description": "Provides basic utilities for the filesystem", "description": "Provides basic utilities for the filesystem",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/filesystem/tree/v5.4.0" "source": "https://github.com/symfony/filesystem/tree/v6.0.0"
}, },
"funding": [ "funding": [
{ {
@@ -8833,7 +8831,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-10-28T13:39:27+00:00" "time": "2021-10-29T07:35:21+00:00"
}, },
{ {
"name": "symfony/finder", "name": "symfony/finder",
@@ -9168,23 +9166,21 @@
}, },
{ {
"name": "symfony/options-resolver", "name": "symfony/options-resolver",
"version": "v5.4.0", "version": "v6.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/options-resolver.git", "url": "https://github.com/symfony/options-resolver.git",
"reference": "b0fb78576487af19c500aaddb269fd36701d4847" "reference": "be0facf48a42a232d6c0daadd76e4eb5657a4798"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/b0fb78576487af19c500aaddb269fd36701d4847", "url": "https://api.github.com/repos/symfony/options-resolver/zipball/be0facf48a42a232d6c0daadd76e4eb5657a4798",
"reference": "b0fb78576487af19c500aaddb269fd36701d4847", "reference": "be0facf48a42a232d6c0daadd76e4eb5657a4798",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.2.5", "php": ">=8.0.2",
"symfony/deprecation-contracts": "^2.1|^3", "symfony/deprecation-contracts": "^2.1|^3"
"symfony/polyfill-php73": "~1.0",
"symfony/polyfill-php80": "^1.16"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@@ -9217,7 +9213,7 @@
"options" "options"
], ],
"support": { "support": {
"source": "https://github.com/symfony/options-resolver/tree/v5.4.0" "source": "https://github.com/symfony/options-resolver/tree/v6.0.0"
}, },
"funding": [ "funding": [
{ {
@@ -9233,7 +9229,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-11-23T10:19:22+00:00" "time": "2021-11-23T19:05:29+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
@@ -10279,20 +10275,20 @@
}, },
{ {
"name": "symfony/stopwatch", "name": "symfony/stopwatch",
"version": "v5.4.0", "version": "v6.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/stopwatch.git", "url": "https://github.com/symfony/stopwatch.git",
"reference": "208ef96122bfed82a8f3a61458a07113a08bdcfe" "reference": "0e0ed55d1ffdfadd03af180443fbdca9876483b3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/stopwatch/zipball/208ef96122bfed82a8f3a61458a07113a08bdcfe", "url": "https://api.github.com/repos/symfony/stopwatch/zipball/0e0ed55d1ffdfadd03af180443fbdca9876483b3",
"reference": "208ef96122bfed82a8f3a61458a07113a08bdcfe", "reference": "0e0ed55d1ffdfadd03af180443fbdca9876483b3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.2.5", "php": ">=8.0.2",
"symfony/service-contracts": "^1|^2|^3" "symfony/service-contracts": "^1|^2|^3"
}, },
"type": "library", "type": "library",
@@ -10321,7 +10317,7 @@
"description": "Provides a way to profile code", "description": "Provides a way to profile code",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/stopwatch/tree/v5.4.0" "source": "https://github.com/symfony/stopwatch/tree/v6.0.0"
}, },
"funding": [ "funding": [
{ {
@@ -10337,7 +10333,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-11-23T10:19:22+00:00" "time": "2021-11-23T19:05:29+00:00"
}, },
{ {
"name": "symfony/string", "name": "symfony/string",
@@ -11045,16 +11041,16 @@
}, },
{ {
"name": "vlucas/phpdotenv", "name": "vlucas/phpdotenv",
"version": "v5.4.0", "version": "v5.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/vlucas/phpdotenv.git", "url": "https://github.com/vlucas/phpdotenv.git",
"reference": "d4394d044ed69a8f244f3445bcedf8a0d7fe2403" "reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/d4394d044ed69a8f244f3445bcedf8a0d7fe2403", "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/264dce589e7ce37a7ba99cb901eed8249fbec92f",
"reference": "d4394d044ed69a8f244f3445bcedf8a0d7fe2403", "reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -11092,11 +11088,13 @@
"authors": [ "authors": [
{ {
"name": "Graham Campbell", "name": "Graham Campbell",
"email": "hello@gjcampbell.co.uk" "email": "hello@gjcampbell.co.uk",
"homepage": "https://github.com/GrahamCampbell"
}, },
{ {
"name": "Vance Lucas", "name": "Vance Lucas",
"email": "vance@vancelucas.com" "email": "vance@vancelucas.com",
"homepage": "https://github.com/vlucas"
} }
], ],
"description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.",
@@ -11107,7 +11105,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/vlucas/phpdotenv/issues", "issues": "https://github.com/vlucas/phpdotenv/issues",
"source": "https://github.com/vlucas/phpdotenv/tree/v5.4.0" "source": "https://github.com/vlucas/phpdotenv/tree/v5.4.1"
}, },
"funding": [ "funding": [
{ {
@@ -11119,7 +11117,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-11-10T01:08:39+00:00" "time": "2021-12-12T23:22:04+00:00"
}, },
{ {
"name": "voku/portable-ascii", "name": "voku/portable-ascii",
@@ -12660,16 +12658,16 @@
}, },
{ {
"name": "seld/phar-utils", "name": "seld/phar-utils",
"version": "1.1.2", "version": "1.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Seldaek/phar-utils.git", "url": "https://github.com/Seldaek/phar-utils.git",
"reference": "749042a2315705d2dfbbc59234dd9ceb22bf3ff0" "reference": "9f3452c93ff423469c0d56450431562ca423dcee"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/749042a2315705d2dfbbc59234dd9ceb22bf3ff0", "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/9f3452c93ff423469c0d56450431562ca423dcee",
"reference": "749042a2315705d2dfbbc59234dd9ceb22bf3ff0", "reference": "9f3452c93ff423469c0d56450431562ca423dcee",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -12702,9 +12700,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/Seldaek/phar-utils/issues", "issues": "https://github.com/Seldaek/phar-utils/issues",
"source": "https://github.com/Seldaek/phar-utils/tree/1.1.2" "source": "https://github.com/Seldaek/phar-utils/tree/1.2.0"
}, },
"time": "2021-08-19T21:01:38+00:00" "time": "2021-12-10T11:20:11+00:00"
} }
], ],
"aliases": [], "aliases": [],

View File

@@ -13,7 +13,7 @@
"/chunks/admin~chunks/files~chunks/my-shared-items~chunks/platform~chunks/recent-uploads~chunks/shared~1bec6fe4.js": "/chunks/admin~chunks/files~chunks/my-shared-items~chunks/platform~chunks/recent-uploads~chunks/shared~1bec6fe4.js?id=510e6c1b1017a73a40a6", "/chunks/admin~chunks/files~chunks/my-shared-items~chunks/platform~chunks/recent-uploads~chunks/shared~1bec6fe4.js": "/chunks/admin~chunks/files~chunks/my-shared-items~chunks/platform~chunks/recent-uploads~chunks/shared~1bec6fe4.js?id=510e6c1b1017a73a40a6",
"/chunks/admin~chunks/platform.js": "/chunks/admin~chunks/platform.js?id=c93d93c96f9924e4517d", "/chunks/admin~chunks/platform.js": "/chunks/admin~chunks/platform.js?id=c93d93c96f9924e4517d",
"/chunks/admin~chunks/platform~chunks/settings.js": "/chunks/admin~chunks/platform~chunks/settings.js?id=a6c18598d0dfd4d0998f", "/chunks/admin~chunks/platform~chunks/settings.js": "/chunks/admin~chunks/platform~chunks/settings.js?id=a6c18598d0dfd4d0998f",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.js?id=10b7c5b734448a884b1d", "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.js?id=fea328b504d7816c4878",
"/chunks/admin~chunks/platform~chunks/shared.js": "/chunks/admin~chunks/platform~chunks/shared.js?id=0d6c4be667e46ea1303e", "/chunks/admin~chunks/platform~chunks/shared.js": "/chunks/admin~chunks/platform~chunks/shared.js?id=0d6c4be667e46ea1303e",
"/chunks/app-appearance.js": "/chunks/app-appearance.js?id=6035ca411b2c4239d964", "/chunks/app-appearance.js": "/chunks/app-appearance.js?id=6035ca411b2c4239d964",
"/chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/app-index~chunks/app-others~chunks~5acee76d.js": "/chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/app-index~chunks/app-others~chunks~5acee76d.js?id=c3244f82e049a3364a6a", "/chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/app-index~chunks/app-others~chunks~5acee76d.js": "/chunks/app-appearance~chunks/app-billings~chunks/app-email~chunks/app-index~chunks/app-others~chunks~5acee76d.js?id=c3244f82e049a3364a6a",
@@ -318,5 +318,73 @@
"/chunks/shared-with-me.4fd780eab39c3d724a7a.hot-update.js": "/chunks/shared-with-me.4fd780eab39c3d724a7a.hot-update.js", "/chunks/shared-with-me.4fd780eab39c3d724a7a.hot-update.js": "/chunks/shared-with-me.4fd780eab39c3d724a7a.hot-update.js",
"/chunks/shared/files.4fd780eab39c3d724a7a.hot-update.js": "/chunks/shared/files.4fd780eab39c3d724a7a.hot-update.js", "/chunks/shared/files.4fd780eab39c3d724a7a.hot-update.js": "/chunks/shared/files.4fd780eab39c3d724a7a.hot-update.js",
"/chunks/team-folders.4fd780eab39c3d724a7a.hot-update.js": "/chunks/team-folders.4fd780eab39c3d724a7a.hot-update.js", "/chunks/team-folders.4fd780eab39c3d724a7a.hot-update.js": "/chunks/team-folders.4fd780eab39c3d724a7a.hot-update.js",
"/chunks/trash.4fd780eab39c3d724a7a.hot-update.js": "/chunks/trash.4fd780eab39c3d724a7a.hot-update.js" "/chunks/trash.4fd780eab39c3d724a7a.hot-update.js": "/chunks/trash.4fd780eab39c3d724a7a.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.f41ccd14c0a72056a569.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.f41ccd14c0a72056a569.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.f1ae49ae0c8f5e493e64.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.f1ae49ae0c8f5e493e64.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.2b6955392430a7c54959.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.2b6955392430a7c54959.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.7f1b272e76d1bb1b5bd4.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.7f1b272e76d1bb1b5bd4.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.e954a95f35782b004834.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.e954a95f35782b004834.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.a365a625341438a43e93.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.a365a625341438a43e93.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.7085ae9d6afef8fdfbf0.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.7085ae9d6afef8fdfbf0.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.30bf93098a6efb3c8ea2.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.30bf93098a6efb3c8ea2.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.b6b43cebd78df7e3412a.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.b6b43cebd78df7e3412a.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.897e3b4c05454d2fd95a.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.897e3b4c05454d2fd95a.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.cfda902f908458a01629.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.cfda902f908458a01629.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.81ddc3236d63a21a06e2.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.81ddc3236d63a21a06e2.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.ff49a2bc092320dc801a.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.ff49a2bc092320dc801a.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.1ea4e06698e7b1224459.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.1ea4e06698e7b1224459.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.393633594285594426de.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.393633594285594426de.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.ce90df9bc1cfb550e2d6.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.ce90df9bc1cfb550e2d6.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.8680a64e7e56aa1a465d.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.8680a64e7e56aa1a465d.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.3749313214487644e74e.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.3749313214487644e74e.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.716c0f094cf7c45b9e33.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.716c0f094cf7c45b9e33.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.35338129e54811e81f71.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.35338129e54811e81f71.hot-update.js",
"/js/main.7d25bfee53dcf0a1cb5f.hot-update.js": "/js/main.7d25bfee53dcf0a1cb5f.hot-update.js",
"/chunks/admin~chunks/files~chunks/my-shared-items~chunks/platform~chunks/recent-uploads~chunks/settin~97130d1f.7d25bfee53dcf0a1cb5f.hot-update.js": "/chunks/admin~chunks/files~chunks/my-shared-items~chunks/platform~chunks/recent-uploads~chunks/settin~97130d1f.7d25bfee53dcf0a1cb5f.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.7d25bfee53dcf0a1cb5f.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.7d25bfee53dcf0a1cb5f.hot-update.js",
"/js/main.a5b029d22acb62c78532.hot-update.js": "/js/main.a5b029d22acb62c78532.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.a5b029d22acb62c78532.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.a5b029d22acb62c78532.hot-update.js",
"/chunks/files~chunks/my-shared-items~chunks/recent-uploads~chunks/shared-with-me~chunks/shared/files~~34b5eb22.a5b029d22acb62c78532.hot-update.js": "/chunks/files~chunks/my-shared-items~chunks/recent-uploads~chunks/shared-with-me~chunks/shared/files~~34b5eb22.a5b029d22acb62c78532.hot-update.js",
"/chunks/files~chunks/my-shared-items~chunks/recent-uploads~chunks/shared-with-me~chunks/shared/files~~bf3ddedc.a5b029d22acb62c78532.hot-update.js": "/chunks/files~chunks/my-shared-items~chunks/recent-uploads~chunks/shared-with-me~chunks/shared/files~~bf3ddedc.a5b029d22acb62c78532.hot-update.js",
"/chunks/settings.a5b029d22acb62c78532.hot-update.js": "/chunks/settings.a5b029d22acb62c78532.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.e385316900a4cb2759b8.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.e385316900a4cb2759b8.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.347523905d724abf51e4.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.347523905d724abf51e4.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.12fab3bcd4443b0fadf0.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.12fab3bcd4443b0fadf0.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.88b90ba73b4614389d02.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.88b90ba73b4614389d02.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.8f18f79ac4ef50ec9b60.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.8f18f79ac4ef50ec9b60.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.3e5f92a550f03b0e8f33.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.3e5f92a550f03b0e8f33.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.dd3a1225144c45c9c8ef.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.dd3a1225144c45c9c8ef.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.3263818b937f66b601dd.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.3263818b937f66b601dd.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.a36ae1f151c710feb2d8.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.a36ae1f151c710feb2d8.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.a2c87169a8d8c621fccc.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.a2c87169a8d8c621fccc.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.46f042f4c0e1f4191f42.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.46f042f4c0e1f4191f42.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.413ff1fd2dace14ba956.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.413ff1fd2dace14ba956.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.9a79898abe216ad02616.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.9a79898abe216ad02616.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.95102cf7cfd0efb1100c.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.95102cf7cfd0efb1100c.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.0c8e5ee3724a134a8005.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.0c8e5ee3724a134a8005.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.8e06bf84deb0902985d8.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.8e06bf84deb0902985d8.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.d51864cef9c51bc9dc4b.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.d51864cef9c51bc9dc4b.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.16b5602b0e812a99fc29.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.16b5602b0e812a99fc29.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.a42c0faa30aa628d608e.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.a42c0faa30aa628d608e.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.5dd81be12f97051d53ce.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.5dd81be12f97051d53ce.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.38900ce853fc7a6c862f.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.38900ce853fc7a6c862f.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.119ebdfcc284bca289b1.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.119ebdfcc284bca289b1.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.9b516654ef0a60e3c406.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.9b516654ef0a60e3c406.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.b73668dc7e36cba9c8ae.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.b73668dc7e36cba9c8ae.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.e7c444e9bf893091d4d4.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.e7c444e9bf893091d4d4.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.4a2e2e9abe8a55e32f81.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.4a2e2e9abe8a55e32f81.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.574724583246ea9223f0.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.574724583246ea9223f0.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.7798da625f145c75a270.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.7798da625f145c75a270.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.bd8b96d7ffd064c2529a.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.bd8b96d7ffd064c2529a.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.ab4b3394711ff7339705.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.ab4b3394711ff7339705.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.4308bfc43bf79f364472.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.4308bfc43bf79f364472.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.ac979362be30b72726b1.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.ac979362be30b72726b1.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.8a4c7774a9db7f93448a.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.8a4c7774a9db7f93448a.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.066e2350b5451d6cc472.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.066e2350b5451d6cc472.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.61a6a1a15d38d23e3876.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.61a6a1a15d38d23e3876.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.bcade36508f6764b710e.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.bcade36508f6764b710e.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.c5a4699694d88493927c.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.c5a4699694d88493927c.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.139eb517ad1906817d05.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.139eb517ad1906817d05.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.d082fe120a95018091ca.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.d082fe120a95018091ca.hot-update.js",
"/chunks/admin~chunks/platform~chunks/settings~chunks/shared.d8c806bfcdc2e8b0d189.hot-update.js": "/chunks/admin~chunks/platform~chunks/settings~chunks/shared.d8c806bfcdc2e8b0d189.hot-update.js"
} }

View File

@@ -62,11 +62,25 @@
class="flex items-center px-3.5 py-2.5" class="flex items-center px-3.5 py-2.5"
:class="{'dark:bg-2x-dark-foreground bg-light-background rounded-xl': i === index}" :class="{'dark:bg-2x-dark-foreground bg-light-background rounded-xl': i === index}"
> >
<settings-icon v-if="result.title === 'Go To Settings'" size="18" class="vue-feather text-theme"/> <settings-icon v-if="['AppOthers', 'Profile', 'Password'].includes(result.action.value)" size="18" class="vue-feather text-theme"/>
<home-icon v-if="result.title === 'Go To Home'" size="18" class="vue-feather text-theme"/> <home-icon v-if="result.action.value === 'Files'" size="18" class="vue-feather text-theme"/>
<trash2-icon v-if="result.title === 'Go To Trash'" size="18" class="vue-feather text-theme"/> <trash2-icon v-if="result.action.value === 'Trash'" size="18" class="vue-feather text-theme"/>
<database-icon v-if="result.title === 'Create Plan'" size="18" class="vue-feather text-theme"/> <database-icon v-if="result.action.value === 'PlanCreate'" size="18" class="vue-feather text-theme"/>
<user-plus-icon v-if="result.title === 'Create User'" size="18" class="vue-feather text-theme"/> <user-plus-icon v-if="result.action.value === 'UserCreate'" size="18" class="vue-feather text-theme"/>
<users-icon v-if="['TeamFolders', 'Users'].includes(result.action.value)" size="18" class="vue-feather text-theme"/>
<user-check-icon v-if="result.action.value === 'SharedWithMe'" size="18" class="vue-feather text-theme"/>
<link-icon v-if="result.action.value === 'MySharedItems'" size="18" class="vue-feather text-theme"/>
<upload-cloud-icon v-if="result.action.value === 'RecentUploads'" size="18" class="vue-feather text-theme"/>
<file-text-icon v-if="['Invoices', 'Invoice'].includes(result.action.value)" size="18" class="vue-feather text-theme"/>
<database-icon v-if="result.action.value === 'Plans'" size="18" class="vue-feather text-theme"/>
<dollar-sign-icon v-if="['Subscriptions', 'Subscription'].includes(result.action.value)" size="18" class="vue-feather text-theme"/>
<globe-icon v-if="result.action.value === 'Language'" size="18" class="vue-feather text-theme"/>
<monitor-icon v-if="result.action.value === 'Pages'" size="18" class="vue-feather text-theme"/>
<box-icon v-if="result.action.value === 'Dashboard'" size="18" class="vue-feather text-theme"/>
<hard-drive-icon v-if="result.action.value === 'Storage'" size="18" class="vue-feather text-theme"/>
<b class="font-bold text-sm ml-3.5"> <b class="font-bold text-sm ml-3.5">
{{ result.title }} {{ result.title }}
</b> </b>
@@ -151,7 +165,7 @@
</template> </template>
<script> <script>
import {DatabaseIcon, SearchIcon, Trash2Icon, UserPlusIcon, XIcon, HomeIcon, SettingsIcon, ArrowUpIcon, ArrowDownIcon, CornerDownLeftIcon} from 'vue-feather-icons' import {HardDriveIcon, UploadCloudIcon, FileTextIcon, DollarSignIcon, GlobeIcon, MonitorIcon, BoxIcon, UsersIcon, UserCheckIcon, LinkIcon, DatabaseIcon, SearchIcon, Trash2Icon, UserPlusIcon, XIcon, HomeIcon, SettingsIcon, ArrowUpIcon, ArrowDownIcon, CornerDownLeftIcon} from 'vue-feather-icons'
import Spinner from '/resources/js/components/FilesView/Spinner' import Spinner from '/resources/js/components/FilesView/Spinner'
import MemberAvatar from "../FilesView/MemberAvatar" import MemberAvatar from "../FilesView/MemberAvatar"
import ItemList from "../FilesView/ItemList" import ItemList from "../FilesView/ItemList"
@@ -185,7 +199,7 @@ export default {
} }
this.findResult(query) this.findResult(query)
} },
}, },
methods: { methods: {
showByShortcut(e) { showByShortcut(e) {
@@ -349,6 +363,16 @@ export default {
}, },
}, },
components: { components: {
HardDriveIcon,
UploadCloudIcon,
FileTextIcon,
DollarSignIcon,
GlobeIcon,
MonitorIcon,
BoxIcon,
UsersIcon,
UserCheckIcon,
LinkIcon,
CornerDownLeftIcon, CornerDownLeftIcon,
ArrowDownIcon, ArrowDownIcon,
ArrowUpIcon, ArrowUpIcon,
@@ -367,6 +391,174 @@ export default {
...mapGetters([ ...mapGetters([
'user' 'user'
]), ]),
actionList() {
let adminActions = [
{
title: this.$t('Create User'),
action: {
type: 'route',
value: 'UserCreate',
},
},
{
title: this.$t('Create Plan'),
action: {
type: 'route',
value: 'PlanCreate',
},
},
]
let adminLocations = [
{
title: this.$t('Go To Dashboard'),
action: {
type: 'route',
value: 'Dashboard',
},
},
{
title: this.$t('Go To Settings'),
action: {
type: 'route',
value: 'AppOthers',
},
},
{
title: this.$t('Go To Pages'),
action: {
type: 'route',
value: 'Pages',
},
},
{
title: this.$t('Go To Languages'),
action: {
type: 'route',
value: 'Language',
},
},
{
title: this.$t('Show all Users'),
action: {
type: 'route',
value: 'Users',
},
},
{
title: this.$t('Show all Subscriptions'),
action: {
type: 'route',
value: 'Subscriptions',
},
},
{
title: this.$t('Show all Plans'),
action: {
type: 'route',
value: 'Plans',
},
},
{
title: this.$t('Show all Transactions'),
action: {
type: 'route',
value: 'Invoices',
},
},
]
let fileLocations = [
{
title: this.$t('Go Home'),
action: {
type: 'route',
value: 'Files',
},
},
{
title: this.$t('Go To Recent Uploads'),
action: {
type: 'route',
value: 'RecentUploads',
},
},
{
title: this.$t('Go To Publicly Shared'),
action: {
type: 'route',
value: 'MySharedItems',
},
},
{
title: this.$t('Go To Trash'),
action: {
type: 'route',
value: 'Trash',
},
},
{
title: this.$t('Go To Team Folders'),
action: {
type: 'route',
value: 'TeamFolders',
},
},
{
title: this.$t('Go To Shared with Me'),
action: {
type: 'route',
value: 'SharedWithMe',
},
},
]
let userSettings = [
{
title: this.$t('Update Profile Settings'),
action: {
type: 'route',
value: 'Profile',
},
},
{
title: this.$t('Update Security & API'),
action: {
type: 'route',
value: 'Password',
},
},
{
title: this.$t('Show My Storage Details'),
action: {
type: 'route',
value: 'Storage',
},
},
{
title: this.$t('Show my Subscription'),
action: {
type: 'route',
value: 'Subscription',
},
},
{
title: this.$t('Show My Transactions'),
action: {
type: 'route',
value: 'Invoice',
},
},
]
if (this.user.data.attributes.role === 'admin') {
return [].concat.apply([], [adminActions, adminLocations, fileLocations, userSettings])
}
if (this.user.data.attributes.role === 'user') {
return [].concat.apply([], [fileLocations, userSettings])
}
},
isAdmin() { isAdmin() {
return this.user.data.attributes.role === 'admin' return this.user.data.attributes.role === 'admin'
}, },
@@ -388,44 +580,6 @@ export default {
results: [], results: [],
actions: [], actions: [],
actionList: [
{
title: 'Go To Home',
action: {
type: 'route',
value: 'Files',
},
},
{
title: 'Go To Settings',
action: {
type: 'route',
value: 'AppOthers',
},
},
{
title: 'Go To Trash',
action: {
type: 'route',
value: 'Trash',
},
},
{
title: 'Create User',
action: {
type: 'route',
value: 'UserCreate',
},
},
{
title: 'Create Plan',
action: {
type: 'route',
value: 'PlanCreate',
},
},
]
} }
}, },
created() { created() {