Skip to content

Commit 67b48ea

Browse files
committed
🚀 v5
Signed-off-by: Bruno Meilick <[email protected]>
1 parent a318330 commit 67b48ea

File tree

8 files changed

+21
-12202
lines changed

8 files changed

+21
-12202
lines changed

src/components/fields/Janitor.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export default {
191191
color,
192192
backgroundColor,
193193
resetStyle,
194-
notification
194+
notification
195195
} = await this.$api.post(path, data);
196196
197197
if (status === 200) {
@@ -244,10 +244,10 @@ export default {
244244
this.button.style.reset = resetStyle;
245245
}
246246
247-
if (notification) {
248-
let [f, m] = notification;
249-
this.$panel.notification[f](m);
250-
}
247+
if (notification) {
248+
let [f, m] = notification;
249+
this.$panel.notification[f](m);
250+
}
251251
252252
if (reload) {
253253
location.reload();
@@ -282,7 +282,7 @@ export default {
282282
this.copyToClipboard(this.clipboardRequest);
283283
});
284284
} else {
285-
console.log(this.cooldown);
285+
console.log(this.cooldown);
286286
setTimeout(this.resetButton, this.cooldown || 2000);
287287
}
288288
},

src/index.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ window.panel.plugin("bnomei/janitor", {
44
fields: {
55
janitor: Janitor
66
},
7-
viewButtons: {
8-
janitor: Janitor,
9-
janitor_1: Janitor,
10-
janitor_2: Janitor,
11-
janitor_3: Janitor,
12-
janitor_4: Janitor,
13-
janitor_5: Janitor,
14-
janitor_6: Janitor,
15-
janitor_7: Janitor,
16-
janitor_8: Janitor,
17-
janitor_9: Janitor,
18-
},
7+
viewButtons: {
8+
janitor: Janitor,
9+
janitor_1: Janitor,
10+
janitor_2: Janitor,
11+
janitor_3: Janitor,
12+
janitor_4: Janitor,
13+
janitor_5: Janitor,
14+
janitor_6: Janitor,
15+
janitor_7: Janitor,
16+
janitor_8: Janitor,
17+
janitor_9: Janitor
18+
},
1919
icons: {
2020
janitorLoader:
2121
'<svg viewBox="0 0 24 24" version="1.1" id="svg2" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd" id="g2" transform="matrix(1.2373578,0,0,1.2393776,2.1011378,2.0846672)"><g transform="translate(1,1)" stroke-width="1.75" id="g1"><circle cx="7" cy="7" r="7.2" stroke="#000" stroke-opacity=".2" id="circle1"/><path d="M 14.2,7 C 14.2,3 11,-0.2 7,-0.2" stroke="#000" id="path1"><animateTransform attributeName="transform" type="rotate" from="0 7 7" to="360 7 7" dur="1s" repeatCount="indefinite"/></path></g></g></svg>'

vendor/composer/autoload_classmap.php

Lines changed: 0 additions & 5165 deletions
Large diffs are not rendered by default.

vendor/composer/autoload_files.php

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,5 @@
66
$baseDir = dirname($vendorDir);
77

88
return array(
9-
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
109
'6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php',
11-
'23f09fe3194f8c2f70923f90d6702129' => $vendorDir . '/illuminate/collections/functions.php',
12-
'60799491728b879e74601d83e38b2cad' => $vendorDir . '/illuminate/collections/helpers.php',
13-
'662a729f963d39afe703c9d9b7ab4a8c' => $vendorDir . '/symfony/polyfill-php83/bootstrap.php',
14-
'2203a247e6fda86070a5e4e07aed533a' => $vendorDir . '/symfony/clock/Resources/now.php',
15-
'a1105708a18b76903365ca1c4aa61b02' => $vendorDir . '/symfony/translation/Resources/functions.php',
16-
'f625ee536139dfb962a398b200bdb2bd' => $vendorDir . '/illuminate/support/functions.php',
17-
'72579e7bd17821bb1321b87411366eae' => $vendorDir . '/illuminate/support/helpers.php',
18-
'320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php',
19-
'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php',
20-
'8825ede83f2f289127722d4e842cf7e8' => $vendorDir . '/symfony/polyfill-intl-grapheme/bootstrap.php',
21-
'b6b991a57620e2fb6b2f66f03fe9ddc2' => $vendorDir . '/symfony/string/Resources/functions.php',
22-
'6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
23-
'06a34129a50df3d9257ee706cf3c875b' => $vendorDir . '/illuminate/filesystem/functions.php',
24-
'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
25-
'35a6ad97d21e794e7e22a17d806652e4' => $vendorDir . '/nunomaduro/termwind/src/Functions.php',
26-
'7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php',
27-
'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php',
28-
'667aeda72477189d0494fecd327c3641' => $vendorDir . '/symfony/var-dumper/Resources/functions/dump.php',
29-
'f598d06aa772fa33d905e87be6398fb1' => $vendorDir . '/symfony/polyfill-intl-idn/bootstrap.php',
30-
'37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php',
31-
'ef65a1626449d89d0811cf9befce46f0' => $vendorDir . '/illuminate/events/functions.php',
32-
'47e1160838b5e5a10346ac4084b58c23' => $vendorDir . '/laravel/prompts/src/helpers.php',
33-
'a1cfe24d14977df6878b9bf804af2d1c' => $vendorDir . '/nunomaduro/collision/src/Adapters/Phpunit/Autoload.php',
34-
'aadac1114cab8dc19489a7f6dc24c003' => $vendorDir . '/pestphp/pest-plugin-arch/src/Autoload.php',
35-
'9b38cf48e83f5d8f60375221cd213eee' => $vendorDir . '/phpstan/phpstan/bootstrap.php',
36-
'e39a8b23c42d4e1452234d762b03835a' => $vendorDir . '/ramsey/uuid/src/functions.php',
37-
'f864ae44e8154e5ff6f4eec32f46d37f' => $baseDir . '/tests/kirby/config/setup.php',
38-
'87988fc7b1c1f093da22a1a3de972f3a' => $baseDir . '/tests/kirby/config/helpers.php',
39-
'f83ed111c2f97a0449abf067f157f418' => $vendorDir . '/pestphp/pest/src/Functions.php',
40-
'7d2876738dc0328edeb8a103c76cd8e7' => $vendorDir . '/pestphp/pest/src/Pest.php',
41-
'3074abeef0bacf5811f59e9dee6311d1' => $vendorDir . '/spatie/ray/src/helpers.php',
4210
);

vendor/composer/autoload_namespaces.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@
66
$baseDir = dirname($vendorDir);
77

88
return array(
9-
'claviska' => array($vendorDir . '/claviska/simpleimage/src'),
10-
'Michelf' => array($vendorDir . '/michelf/php-smartypants'),
119
);

vendor/composer/autoload_psr4.php

Lines changed: 1 addition & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -6,95 +6,7 @@
66
$baseDir = dirname($vendorDir);
77

88
return array(
9-
'voku\\' => array($vendorDir . '/voku/portable-ascii/src/voku'),
10-
'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDir . '/phpdocumentor/reflection-docblock/src', $vendorDir . '/phpdocumentor/type-resolver/src'),
11-
'Whoops\\' => array($vendorDir . '/filp/whoops/src/Whoops'),
12-
'Webmozart\\Assert\\' => array($vendorDir . '/webmozart/assert/src'),
13-
'Termwind\\' => array($vendorDir . '/nunomaduro/termwind/src'),
14-
'Symfony\\Polyfill\\Php83\\' => array($vendorDir . '/symfony/polyfill-php83'),
15-
'Symfony\\Polyfill\\Php80\\' => array($vendorDir . '/symfony/polyfill-php80'),
16-
'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'),
17-
'Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'),
18-
'Symfony\\Polyfill\\Intl\\Idn\\' => array($vendorDir . '/symfony/polyfill-intl-idn'),
19-
'Symfony\\Polyfill\\Intl\\Grapheme\\' => array($vendorDir . '/symfony/polyfill-intl-grapheme'),
20-
'Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'),
21-
'Symfony\\Contracts\\Translation\\' => array($vendorDir . '/symfony/translation-contracts'),
22-
'Symfony\\Contracts\\Service\\' => array($vendorDir . '/symfony/service-contracts'),
23-
'Symfony\\Contracts\\EventDispatcher\\' => array($vendorDir . '/symfony/event-dispatcher-contracts'),
24-
'Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'),
25-
'Symfony\\Component\\VarDumper\\' => array($vendorDir . '/symfony/var-dumper'),
26-
'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'),
27-
'Symfony\\Component\\String\\' => array($vendorDir . '/symfony/string'),
28-
'Symfony\\Component\\Stopwatch\\' => array($vendorDir . '/symfony/stopwatch'),
29-
'Symfony\\Component\\Process\\' => array($vendorDir . '/symfony/process'),
30-
'Symfony\\Component\\Mime\\' => array($vendorDir . '/symfony/mime'),
31-
'Symfony\\Component\\HttpKernel\\' => array($vendorDir . '/symfony/http-kernel'),
32-
'Symfony\\Component\\HttpFoundation\\' => array($vendorDir . '/symfony/http-foundation'),
339
'Symfony\\Component\\Finder\\' => array($vendorDir . '/symfony/finder'),
34-
'Symfony\\Component\\EventDispatcher\\' => array($vendorDir . '/symfony/event-dispatcher'),
35-
'Symfony\\Component\\ErrorHandler\\' => array($vendorDir . '/symfony/error-handler'),
36-
'Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'),
37-
'Symfony\\Component\\Clock\\' => array($vendorDir . '/symfony/clock'),
38-
'Spatie\\Ray\\' => array($vendorDir . '/spatie/ray/src'),
39-
'Spatie\\Macroable\\' => array($vendorDir . '/spatie/macroable/src'),
40-
'Spatie\\Backtrace\\' => array($vendorDir . '/spatie/backtrace/src'),
41-
'Seld\\CliPrompt\\' => array($vendorDir . '/seld/cli-prompt/src'),
42-
'Ramsey\\Uuid\\' => array($vendorDir . '/ramsey/uuid/src'),
43-
'Ramsey\\Collection\\' => array($vendorDir . '/ramsey/collection/src'),
44-
'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'),
45-
'Psr\\Log\\' => array($vendorDir . '/psr/log/src'),
46-
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'),
47-
'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'),
48-
'Psr\\EventDispatcher\\' => array($vendorDir . '/psr/event-dispatcher/src'),
49-
'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
50-
'Psr\\Clock\\' => array($vendorDir . '/psr/clock/src'),
51-
'PhpParser\\' => array($vendorDir . '/nikic/php-parser/lib/PhpParser'),
52-
'PhpMyAdmin\\SqlParser\\' => array($vendorDir . '/phpmyadmin/sql-parser/src'),
53-
'Pest\\Plugin\\' => array($vendorDir . '/pestphp/pest-plugin/src'),
54-
'Pest\\Mutate\\' => array($vendorDir . '/pestphp/pest-plugin-mutate/src'),
55-
'Pest\\Arch\\' => array($vendorDir . '/pestphp/pest-plugin-arch/src'),
56-
'Pest\\' => array($vendorDir . '/pestphp/pest/src'),
57-
'ParaTest\\' => array($vendorDir . '/brianium/paratest/src'),
58-
'PHPUnit\\Architecture\\' => array($vendorDir . '/ta-tikoma/phpunit-architecture-test/src'),
59-
'PHPStan\\PhpDocParser\\' => array($vendorDir . '/phpstan/phpdoc-parser/src'),
60-
'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailer/phpmailer/src'),
61-
'NunoMaduro\\Collision\\' => array($vendorDir . '/nunomaduro/collision/src'),
62-
'League\\ColorExtractor\\' => array($vendorDir . '/league/color-extractor/src'),
63-
'League\\CLImate\\' => array($vendorDir . '/league/climate/src'),
64-
'Laravel\\SerializableClosure\\' => array($vendorDir . '/laravel/serializable-closure/src'),
65-
'Laravel\\Prompts\\' => array($vendorDir . '/laravel/prompts/src'),
66-
'Larastan\\Larastan\\' => array($vendorDir . '/larastan/larastan/src'),
67-
'Laminas\\Escaper\\' => array($vendorDir . '/laminas/laminas-escaper/src'),
68-
'Kirby\\' => array($vendorDir . '/getkirby/cli/src', $vendorDir . '/getkirby/cli/tests', $vendorDir . '/getkirby/composer-installer/src', $baseDir . '/tests/kirby/src'),
69-
'Jean85\\' => array($vendorDir . '/jean85/pretty-package-versions/src'),
70-
'Illuminate\\View\\' => array($vendorDir . '/illuminate/view'),
71-
'Illuminate\\Support\\' => array($vendorDir . '/illuminate/collections', $vendorDir . '/illuminate/conditionable', $vendorDir . '/illuminate/macroable', $vendorDir . '/illuminate/support'),
72-
'Illuminate\\Session\\' => array($vendorDir . '/illuminate/session'),
73-
'Illuminate\\Pipeline\\' => array($vendorDir . '/illuminate/pipeline'),
74-
'Illuminate\\Http\\' => array($vendorDir . '/illuminate/http'),
75-
'Illuminate\\Filesystem\\' => array($vendorDir . '/illuminate/filesystem'),
76-
'Illuminate\\Events\\' => array($vendorDir . '/illuminate/events'),
77-
'Illuminate\\Database\\' => array($vendorDir . '/illuminate/database'),
78-
'Illuminate\\Contracts\\' => array($vendorDir . '/illuminate/contracts'),
79-
'Illuminate\\Container\\' => array($vendorDir . '/illuminate/container'),
80-
'Illuminate\\Console\\' => array($vendorDir . '/illuminate/console'),
81-
'Illuminate\\Bus\\' => array($vendorDir . '/illuminate/bus'),
82-
'GuzzleHttp\\UriTemplate\\' => array($vendorDir . '/guzzlehttp/uri-template/src'),
83-
'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
84-
'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
85-
'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
86-
'Fruitcake\\Cors\\' => array($vendorDir . '/fruitcake/php-cors/src'),
87-
'Fidry\\CpuCoreCounter\\' => array($vendorDir . '/fidry/cpu-core-counter/src'),
88-
'Doctrine\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector'),
89-
'Doctrine\\Deprecations\\' => array($vendorDir . '/doctrine/deprecations/src'),
90-
'DeepCopy\\' => array($vendorDir . '/myclabs/deep-copy/src/DeepCopy'),
91-
'Database\\Seeders\\' => array($vendorDir . '/laravel/pint/database/seeders'),
92-
'Database\\Factories\\' => array($vendorDir . '/laravel/pint/database/factories'),
93-
'Composer\\Semver\\' => array($vendorDir . '/composer/semver/src'),
94-
'Carbon\\Doctrine\\' => array($vendorDir . '/carbonphp/carbon-doctrine-types/src/Carbon/Doctrine'),
95-
'Carbon\\' => array($vendorDir . '/nesbot/carbon/src/Carbon'),
96-
'Brick\\Math\\' => array($vendorDir . '/brick/math/src'),
10+
'Kirby\\' => array($vendorDir . '/getkirby/composer-installer/src'),
9711
'Bnomei\\' => array($baseDir . '/classes'),
98-
'Base32\\' => array($vendorDir . '/christian-riesen/base32/src'),
99-
'App\\' => array($vendorDir . '/laravel/pint/app'),
10012
);

0 commit comments

Comments
 (0)