Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Small change in dashboard.
James Colea78d7b9feca1
diff --git a/composer.lock b/composer.lockindex f7a85e295c..1172540a9f 100644--- a/composer.lock+++ b/composer.lock@@ -63,6 +63,12 @@"ldap","windows"],+ "support": {+ "docs": "https://github.com/Adldap2/Adldap2/blob/master/readme.md",+ "email": "[email protected]",+ "issues": "https://github.com/Adldap2/Adldap2/issues",+ "source": "https://github.com/Adldap2/Adldap2"+ },"time": "2020-09-09T12:55:51+00:00"},{@@ -117,6 +123,10 @@"laravel","ldap"],+ "support": {+ "issues": "https://github.com/Adldap2/Adldap2-Laravel/issues",+ "source": "https://github.com/Adldap2/Adldap2-Laravel/tree/v6.1.4"+ },"time": "2020-11-12T14:26:46+00:00"},{@@ -166,6 +176,10 @@],"description": "BaconQrCode is a QR code generator for PHP.","homepage": "https://github.com/Bacon/BaconQrCode",+ "support": {+ "issues": "https://github.com/Bacon/BaconQrCode/issues",+ "source": "https://github.com/Bacon/BaconQrCode/tree/2.0.3"+ },"time": "2020-10-30T02:02:47+00:00"},{@@ -212,6 +226,10 @@"brick","math"],+ "support": {+ "issues": "https://github.com/brick/math/issues",+ "source": "https://github.com/brick/math/tree/master"+ },"funding": [{"url": "https://tidelift.com/funding/github/packagist/brick/math",@@ -261,6 +279,10 @@"enum","map"],+ "support": {+ "issues": "https://github.com/DASPRiD/Enum/issues",+ "source": "https://github.com/DASPRiD/Enum/tree/1.0.3"+ },"time": "2020-10-02T16:03:48+00:00"},{@@ -324,6 +346,10 @@"security","symmetric key cryptography"],+ "support": {+ "issues": "https://github.com/defuse/php-encryption/issues",+ "source": "https://github.com/defuse/php-encryption/tree/master"+ },"time": "2018-07-24T23:27:56+00:00"},{@@ -391,6 +417,10 @@"keywords": ["laravel"],+ "support": {+ "issues": "https://github.com/diglactic/laravel-breadcrumbs/issues",+ "source": "https://github.com/diglactic/laravel-breadcrumbs/tree/v6.0.3"+ },"time": "2020-11-19T17:13:13+00:00"},{@@ -473,6 +503,10 @@"redis","xcache"],+ "support": {+ "issues": "https://github.com/doctrine/cache/issues",+ "source": "https://github.com/doctrine/cache/tree/1.10.x"+ },"funding": [{"url": "https://www.doctrine-project.org/sponsorship.html",@@ -580,6 +614,10 @@"sqlserver","sqlsrv"],+ "support": {+ "issues": "https://github.com/doctrine/dbal/issues",+ "source": "https://github.com/doctrine/dbal/tree/2.12.1"+ },"funding": [{"url": "https://www.doctrine-project.org/sponsorship.html",@@ -670,6 +708,10 @@"event system","events"],+ "support": {+ "issues": "https://github.com/doctrine/event-manager/issues",+ "source": "https://github.com/doctrine/event-manager/tree/1.1.x"+ },"funding": [{"url": "https://www.doctrine-project.org/sponsorship.html",@@ -761,6 +803,10 @@"uppercase","words"],+ "support": {+ "issues": "https://github.com/doctrine/inflector/issues",+ "source": "https://github.com/doctrine/inflector/tree/2.0.x"+ },"funding": [{"url": "https://www.doctrine-project.org/sponsorship.html",@@ -837,6 +883,10 @@"parser","php"],+ "support": {+ "issues": "https://github.com/doctrine/lexer/issues",+ "source": "https://github.com/doctrine/lexer/tree/1.2.1"+ },"funding": [{"url": "https://www.doctrine-project.org/sponsorship.html",@@ -855,26 +905,29 @@},{"name": "dragonmantank/cron-expression",- "version": "v3.0.2",+ "version": "v3.1.0","source": {"type": "git","url": "https://github.com/dragonmantank/cron-expression.git",- "reference": "48212cdc0a79051d50d7fc2f0645c5a321caf926"+ "reference": "7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/48212cdc0a79051d50d7fc2f0645c5a321caf926",- "reference": "48212cdc0a79051d50d7fc2f0645c5a321caf926",+ "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c",+ "reference": "7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c","shasum": ""},"require": {- "php": "^7.1|^8.0"+ "php": "^7.2|^8.0",+ "webmozart/assert": "^1.7.0"},"replace": {"mtdowling/cron-expression": "^1.0"},"require-dev": {- "phpstan/phpstan": "^0.11|^0.12",+ "phpstan/extension-installer": "^1.0",+ "phpstan/phpstan": "^0.12",+ "phpstan/phpstan-webmozart-assert": "^0.12.7","phpunit/phpunit": "^7.0|^8.0|^9.0"},"type": "library",@@ -899,13 +952,17 @@"cron","schedule"],+ "support": {+ "issues": "https://github.com/dragonmantank/cron-expression/issues",+ "source": "https://github.com/dragonmantank/cron-expression/tree/v3.1.0"+ },"funding": [{"url": "https://github.com/dragonmantank","type": "github"}],- "time": "2020-10-13T01:26:01+00:00"+ "time": "2020-11-24T19:55:57+00:00"},{"name": "egulias/email-validator",@@ -963,6 +1020,10 @@"validation","validator"],+ "support": {+ "issues": "https://github.com/egulias/EmailValidator/issues",+ "source": "https://github.com/egulias/EmailValidator/tree/2.1.24"+ },"funding": [{"url": "https://github.com/egulias",@@ -1018,6 +1079,10 @@"flare","ignition"],+ "support": {+ "issues": "https://github.com/facade/ignition-contracts/issues",+ "source": "https://github.com/facade/ignition-contracts/tree/1.0.2"+ },"time": "2020-10-16T08:27:54+00:00"},{@@ -1072,6 +1137,10 @@"proxy","trusted proxy"],+ "support": {+ "issues": "https://github.com/fideloper/TrustedProxy/issues",+ "source": "https://github.com/fideloper/TrustedProxy/tree/4.4.1"+ },"time": "2020-10-22T13:48:01+00:00"},{@@ -1122,6 +1191,10 @@"jwt","php"],+ "support": {+ "issues": "https://github.com/firebase/php-jwt/issues",+ "source": "https://github.com/firebase/php-jwt/tree/master"+ },"time": "2020-03-25T18:49:23+00:00"},{@@ -1157,6 +1230,10 @@],"description": "Php library that converts search queries into terms, phrases, hashtags, mentions, etc.","homepage": "https://github.com/gdbots/query-parser-php",+ "support": {+ "issues": "https://github.com/gdbots/query-parser-php/issues",+ "source": "https://github.com/gdbots/query-parser-php/tree/v2.0.2"+ },"time": "2020-10-30T23:41:54+00:00"},{@@ -1209,6 +1286,10 @@"Result-Type","result"],+ "support": {+ "issues": "https://github.com/GrahamCampbell/Result-Type/issues",+ "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.1"+ },"funding": [{"url": "https://github.com/GrahamCampbell",@@ -1299,6 +1380,10 @@"rest","web service"],+ "support": {+ "issues": "https://github.com/guzzle/guzzle/issues",+ "source": "https://github.com/guzzle/guzzle/tree/7.2.0"+ },"funding": [{"url": "https://github.com/GrahamCampbell",@@ -1368,6 +1453,10 @@"keywords": ["promise"],+ "support": {+ "issues": "https://github.com/guzzle/promises/issues",+ "source": "https://github.com/guzzle/promises/tree/1.4.0"+ },"time": "2020-09-30T07:37:28+00:00"},{@@ -1439,6 +1528,10 @@"uri","url"],+ "support": {+ "issues": "https://github.com/guzzle/psr7/issues",+ "source": "https://github.com/guzzle/psr7/tree/1.7.0"+ },"time": "2020-09-30T07:37:11+00:00"},{@@ -1516,20 +1609,24 @@"google2fa","laravel"],+ "support": {+ "issues": "https://github.com/JC5/google2fa-laravel/issues",+ "source": "https://github.com/JC5/google2fa-laravel/tree/2.0.5"+ },"time": "2020-07-28T18:27:58+00:00"},{"name": "laravel/framework",- "version": "v8.15.0",+ "version": "v8.16.1","source": {"type": "git","url": "https://github.com/laravel/framework.git",- "reference": "22e4182fa0885dea3772106c3b6df705b7c7363e"+ "reference": "f7dfc22e6c42e9ed4dda14c05814349af6943206"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/laravel/framework/zipball/22e4182fa0885dea3772106c3b6df705b7c7363e",- "reference": "22e4182fa0885dea3772106c3b6df705b7c7363e",+ "url": "https://api.github.com/repos/laravel/framework/zipball/f7dfc22e6c42e9ed4dda14c05814349af6943206",+ "reference": "f7dfc22e6c42e9ed4dda14c05814349af6943206","shasum": ""},"require": {@@ -1602,7 +1699,7 @@"illuminate/view": "self.version"},"require-dev": {- "aws/aws-sdk-php": "^3.0",+ "aws/aws-sdk-php": "^3.155","doctrine/dbal": "^2.6|^3.0","filp/whoops": "^2.8","guzzlehttp/guzzle": "^6.5.5|^7.0.1",@@ -1615,7 +1712,7 @@"symfony/cache": "^5.1"},"suggest": {- "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.0).",+ "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.155).","doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6|^3.0).","ext-ftp": "Required to use the Flysystem FTP driver.","ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().",@@ -1679,7 +1776,11 @@"framework","laravel"],- "time": "2020-11-17T14:53:20+00:00"+ "support": {+ "issues": "https://github.com/laravel/framework/issues",+ "source": "https://github.com/laravel/framework"+ },+ "time": "2020-11-25T15:01:02+00:00"},{"name": "laravel/passport",@@ -1751,6 +1852,10 @@"oauth","passport"],+ "support": {+ "issues": "https://github.com/laravel/passport/issues",+ "source": "https://github.com/laravel/passport"+ },"time": "2020-09-15T16:41:42+00:00"},{@@ -1805,6 +1910,10 @@"laravel","ui"],+ "support": {+ "issues": "https://github.com/laravel/ui/issues",+ "source": "https://github.com/laravel/ui/tree/v3.1.0"+ },"time": "2020-11-03T19:51:21+00:00"},{@@ -1873,38 +1982,110 @@],"description": "HTML and Form Builders for the Laravel Framework","homepage": "https://laravelcollective.com",+ "support": {+ "issues": "https://github.com/LaravelCollective/html/issues",+ "source": "https://github.com/LaravelCollective/html"+ },"time": "2020-09-07T19:59:40+00:00"},+ {+ "name": "lcobucci/clock",+ "version": "2.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/lcobucci/clock.git",+ "reference": "353d83fe2e6ae95745b16b3d911813df6a05bfb3"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/lcobucci/clock/zipball/353d83fe2e6ae95745b16b3d911813df6a05bfb3",+ "reference": "353d83fe2e6ae95745b16b3d911813df6a05bfb3",+ "shasum": ""+ },+ "require": {+ "php": "^7.4 || ^8.0"+ },+ "require-dev": {+ "infection/infection": "^0.17",+ "lcobucci/coding-standard": "^6.0",+ "phpstan/extension-installer": "^1.0",+ "phpstan/phpstan": "^0.12",+ "phpstan/phpstan-deprecation-rules": "^0.12",+ "phpstan/phpstan-phpunit": "^0.12",+ "phpstan/phpstan-strict-rules": "^0.12",+ "phpunit/php-code-coverage": "9.1.4",+ "phpunit/phpunit": "9.3.7"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Lcobucci\\Clock\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Luís Cobucci",+ "email": "[email protected]"+ }+ ],+ "description": "Yet another clock abstraction",+ "support": {+ "issues": "https://github.com/lcobucci/clock/issues",+ "source": "https://github.com/lcobucci/clock/tree/2.0.x"+ },+ "funding": [+ {+ "url": "https://github.com/lcobucci",+ "type": "github"+ },+ {+ "url": "https://www.patreon.com/lcobucci",+ "type": "patreon"+ }+ ],+ "time": "2020-08-27T18:56:02+00:00"+ },{"name": "lcobucci/jwt",- "version": "3.3.3",+ "version": "4.0.0","source": {"type": "git","url": "https://github.com/lcobucci/jwt.git",- "reference": "c1123697f6a2ec29162b82f170dd4a491f524773"+ "reference": "6d8665ccd924dc076a9b65d1ea8abe21d68f6958"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/lcobucci/jwt/zipball/c1123697f6a2ec29162b82f170dd4a491f524773",- "reference": "c1123697f6a2ec29162b82f170dd4a491f524773",+ "url": "https://api.github.com/repos/lcobucci/jwt/zipball/6d8665ccd924dc076a9b65d1ea8abe21d68f6958",+ "reference": "6d8665ccd924dc076a9b65d1ea8abe21d68f6958","shasum": ""},"require": {"ext-mbstring": "*","ext-openssl": "*",- "php": "^5.6 || ^7.0"+ "lcobucci/clock": "^2.0",+ "php": "^7.4 || ^8.0"},"require-dev": {- "mikey179/vfsstream": "~1.5",- "phpmd/phpmd": "~2.2",- "phpunit/php-invoker": "~1.1",- "phpunit/phpunit": "^5.7 || ^7.3",- "squizlabs/php_codesniffer": "~2.3"+ "infection/infection": "^0.20",+ "lcobucci/coding-standard": "^6.0",+ "mikey179/vfsstream": "^1.6",+ "phpbench/phpbench": "^0.17",+ "phpstan/extension-installer": "^1.0",+ "phpstan/phpstan": "^0.12",+ "phpstan/phpstan-deprecation-rules": "^0.12",+ "phpstan/phpstan-phpunit": "^0.12",+ "phpstan/phpstan-strict-rules": "^0.12",+ "phpunit/php-invoker": "^3.1",+ "phpunit/phpunit": "^9.4"},"type": "library","extra": {"branch-alias": {- "dev-master": "3.1-dev"+ "dev-master": "4.0-dev"}},"autoload": {@@ -1918,7 +2099,7 @@],"authors": [{- "name": "Luís Otávio Cobucci Oblonczyk",+ "name": "Luís Cobucci","email": "[email protected]","role": "Developer"}@@ -1928,6 +2109,10 @@"JWS","jwt"],+ "support": {+ "issues": "https://github.com/lcobucci/jwt/issues",+ "source": "https://github.com/lcobucci/jwt/tree/4.0.0"+ },"funding": [{"url": "https://github.com/lcobucci",@@ -1938,7 +2123,7 @@"type": "patreon"}],- "time": "2020-08-20T13:22:28+00:00"+ "time": "2020-11-25T02:06:12+00:00"},{"name": "league/commonmark",@@ -2007,6 +2192,12 @@"md","parser"],+ "support": {+ "docs": "https://commonmark.thephpleague.com/",+ "issues": "https://github.com/thephpleague/commonmark/issues",+ "rss": "https://github.com/thephpleague/commonmark/releases.atom",+ "source": "https://github.com/thephpleague/commonmark"+ },"funding": [{"url": "https://enjoy.gitstore.app/repositories/thephpleague/commonmark",@@ -2105,6 +2296,12 @@"transform","write"],+ "support": {+ "docs": "https://csv.thephpleague.com",+ "issues": "https://github.com/thephpleague/csv/issues",+ "rss": "https://github.com/thephpleague/csv/releases.atom",+ "source": "https://github.com/thephpleague/csv"+ },"funding": [{"url": "https://github.com/sponsors/nyamsprod",@@ -2161,6 +2358,10 @@"event","listener"],+ "support": {+ "issues": "https://github.com/thephpleague/event/issues",+ "source": "https://github.com/thephpleague/event/tree/master"+ },"time": "2018-11-26T11:52:41+00:00"},{@@ -2246,6 +2447,10 @@"sftp","storage"],+ "support": {+ "issues": "https://github.com/thephpleague/flysystem/issues",+ "source": "https://github.com/thephpleague/flysystem/tree/1.x"+ },"funding": [{"url": "https://offset.earth/frankdejonge",@@ -2316,6 +2521,10 @@"league","rest"],+ "support": {+ "issues": "https://github.com/thephpleague/fractal/issues",+ "source": "https://github.com/thephpleague/fractal/tree/0.19.2"+ },"time": "2020-01-24T23:17:29+00:00"},{@@ -2357,6 +2566,10 @@}],"description": "Mime-type detection for Flysystem",+ "support": {+ "issues": "https://github.com/thephpleague/mime-type-detection/issues",+ "source": "https://github.com/thephpleague/mime-type-detection/tree/1.5.1"+ },"funding": [{"url": "https://github.com/frankdejonge",@@ -2371,25 +2584,25 @@},{"name": "league/oauth2-server",- "version": "8.1.1",+ "version": "8.2.0","source": {"type": "git","url": "https://github.com/thephpleague/oauth2-server.git",- "reference": "09f22e8121fa1832962dba18213b80d4267ef8a3"+ "reference": "8837ed92b9d9db054b2d513ddb1de08b1e77c517"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/09f22e8121fa1832962dba18213b80d4267ef8a3",- "reference": "09f22e8121fa1832962dba18213b80d4267ef8a3",+ "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/8837ed92b9d9db054b2d513ddb1de08b1e77c517",+ "reference": "8837ed92b9d9db054b2d513ddb1de08b1e77c517","shasum": ""},"require": {"defuse/php-encryption": "^2.2.1","ext-json": "*","ext-openssl": "*",- "lcobucci/jwt": "^3.3.1",+ "lcobucci/jwt": "^3.4 || ^4.0","league/event": "^2.2",- "php": ">=7.2.0",+ "php": "^7.3 || ^8.0","psr/http-message": "^1.0.1"},"replace": {@@ -2397,10 +2610,10 @@"lncd/oauth2": "*"},"require-dev": {- "laminas/laminas-diactoros": "^2.3.0",- "phpstan/phpstan": "^0.11.19",- "phpstan/phpstan-phpunit": "^0.11.2",- "phpunit/phpunit": "^8.5.4 || ^9.1.3",+ "laminas/laminas-diactoros": "^2.5.0",+ "phpstan/phpstan": "^0.12.57",+ "phpstan/phpstan-phpunit": "^0.12.16",+ "phpunit/phpunit": "^9.4.3","roave/security-advisories": "dev-master"},"type": "library",@@ -2444,13 +2657,17 @@"secure","server"],+ "support": {+ "issues": "https://github.com/thephpleague/oauth2-server/issues",+ "source": "https://github.com/thephpleague/oauth2-server/tree/8.2.0"+ },"funding": [{"url": "https://github.com/sephster","type": "github"}],- "time": "2020-07-01T11:33:50+00:00"+ "time": "2020-11-25T23:27:52+00:00"},{"name": "monolog/monolog",@@ -2531,6 +2748,10 @@"logging","psr-3"],+ "support": {+ "issues": "https://github.com/Seldaek/monolog/issues",+ "source": "https://github.com/Seldaek/monolog/tree/2.1.1"+ },"funding": [{"url": "https://github.com/Seldaek",@@ -2620,6 +2841,10 @@"datetime","time"],+ "support": {+ "issues": "https://github.com/briannesbitt/Carbon/issues",+ "source": "https://github.com/briannesbitt/Carbon"+ },"funding": [{"url": "https://opencollective.com/Carbon",@@ -2634,16 +2859,16 @@},{"name": "nyholm/psr7",- "version": "1.3.1",+ "version": "1.3.2","source": {"type": "git","url": "https://github.com/Nyholm/psr7.git",- "reference": "21b71a31eab5c0c2caf967b9c0fd97020254ed75"+ "reference": "a272953743c454ac4af9626634daaf5ab3ce1173"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/Nyholm/psr7/zipball/21b71a31eab5c0c2caf967b9c0fd97020254ed75",- "reference": "21b71a31eab5c0c2caf967b9c0fd97020254ed75",+ "url": "https://api.github.com/repos/Nyholm/psr7/zipball/a272953743c454ac4af9626634daaf5ab3ce1173",+ "reference": "a272953743c454ac4af9626634daaf5ab3ce1173","shasum": ""},"require": {@@ -2657,9 +2882,9 @@"psr/http-message-implementation": "1.0"},"require-dev": {- "http-interop/http-factory-tests": "dev-master",+ "http-interop/http-factory-tests": "^0.8","php-http/psr7-integration-tests": "^1.0",- "phpunit/phpunit": "^7.5",+ "phpunit/phpunit": "^7.5 || 8.5 || 9.4","symfony/error-handler": "^4.4"},"type": "library",@@ -2688,11 +2913,15 @@}],"description": "A fast PHP7 implementation of PSR-7",- "homepage": "http://tnyholm.se",+ "homepage": "https://tnyholm.se","keywords": ["psr-17","psr-7"],+ "support": {+ "issues": "https://github.com/Nyholm/psr7/issues",+ "source": "https://github.com/Nyholm/psr7/tree/1.3.2"+ },"funding": [{"url": "https://github.com/Zegnat",@@ -2703,7 +2932,7 @@"type": "github"}],- "time": "2020-06-13T15:59:10+00:00"+ "time": "2020-11-14T17:35:34+00:00"},{"name": "opis/closure",@@ -2764,6 +2993,10 @@"serialization","serialize"],+ "support": {+ "issues": "https://github.com/opis/closure/issues",+ "source": "https://github.com/opis/closure/tree/3.6.1"+ },"time": "2020-11-07T02:01:34+00:00"},{@@ -2826,6 +3059,11 @@"hex2bin","rfc4648"],+ "support": {+ "email": "[email protected]",+ "issues": "https://github.com/paragonie/constant_time_encoding/issues",+ "source": "https://github.com/paragonie/constant_time_encoding"+ },"time": "2019-11-06T19:20:29+00:00"},{@@ -2871,6 +3109,11 @@"pseudorandom","random"],+ "support": {+ "email": "[email protected]",+ "issues": "https://github.com/paragonie/random_compat/issues",+ "source": "https://github.com/paragonie/random_compat"+ },"time": "2020-10-15T08:29:30+00:00"},{@@ -2921,6 +3164,10 @@"stream","uri"],+ "support": {+ "issues": "https://github.com/php-http/message-factory/issues",+ "source": "https://github.com/php-http/message-factory/tree/master"+ },"time": "2015-12-19T14:08:53+00:00"},{@@ -2976,6 +3223,10 @@"php","type"],+ "support": {+ "issues": "https://github.com/schmittjoh/php-option/issues",+ "source": "https://github.com/schmittjoh/php-option/tree/1.7.5"+ },"funding": [{"url": "https://github.com/GrahamCampbell",@@ -3077,6 +3328,10 @@"x.509","x509"],+ "support": {+ "issues": "https://github.com/phpseclib/phpseclib/issues",+ "source": "https://github.com/phpseclib/phpseclib/tree/2.0"+ },"funding": [{"url": "https://github.com/terrafrost",@@ -3139,6 +3394,10 @@"Two Factor Authentication","google2fa"],+ "support": {+ "issues": "https://github.com/antonioribeiro/google2fa/issues",+ "source": "https://github.com/antonioribeiro/google2fa/tree/8.0.0"+ },"time": "2020-04-05T10:47:18+00:00"},{@@ -3197,6 +3456,10 @@"qr code","qrcode"],+ "support": {+ "issues": "https://github.com/antonioribeiro/google2fa-qrcode/issues",+ "source": "https://github.com/antonioribeiro/google2fa-qrcode/tree/master"+ },"time": "2019-03-20T16:42:58+00:00"},{@@ -3260,6 +3523,10 @@"random pattern","random string"],+ "support": {+ "issues": "https://github.com/antonioribeiro/random/issues",+ "source": "https://github.com/antonioribeiro/random/tree/master"+ },"time": "2017-11-21T05:26:22+00:00"},{@@ -3324,6 +3591,10 @@"recovery codes","two factor auth"],+ "support": {+ "issues": "https://github.com/antonioribeiro/recovery/issues",+ "source": "https://github.com/antonioribeiro/recovery/tree/master"+ },"time": "2017-09-19T16:58:00+00:00"},{@@ -3393,6 +3664,10 @@"predis","redis"],+ "support": {+ "issues": "https://github.com/predis/predis/issues",+ "source": "https://github.com/predis/predis/tree/v1.1.6"+ },"funding": [{"url": "https://github.com/sponsors/tillkruss",@@ -3448,6 +3723,10 @@"container-interop","psr"],+ "support": {+ "issues": "https://github.com/php-fig/container/issues",+ "source": "https://github.com/php-fig/container/tree/master"+ },"time": "2017-02-14T16:28:37+00:00"},{@@ -3494,6 +3773,10 @@"psr","psr-14"],+ "support": {+ "issues": "https://github.com/php-fig/event-dispatcher/issues",+ "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0"+ },"time": "2019-01-08T18:20:26+00:00"},{@@ -3543,6 +3826,9 @@"psr","psr-18"],+ "support": {+ "source": "https://github.com/php-fig/http-client/tree/master"+ },"time": "2020-06-29T06:28:15+00:00"},{@@ -3595,6 +3881,9 @@"request","response"],+ "support": {+ "source": "https://github.com/php-fig/http-factory/tree/master"+ },"time": "2019-04-30T12:38:16+00:00"},{@@ -3645,6 +3934,9 @@"request","response"],+ "support": {+ "source": "https://github.com/php-fig/http-message/tree/master"+ },"time": "2016-08-06T14:39:51+00:00"},{@@ -3692,6 +3984,9 @@"psr","psr-3"],+ "support": {+ "source": "https://github.com/php-fig/log/tree/1.1.3"+ },"time": "2020-03-23T09:12:05+00:00"},{@@ -3740,6 +4035,9 @@"psr-16","simple-cache"],+ "support": {+ "source": "https://github.com/php-fig/simple-cache/tree/master"+ },"time": "2017-10-23T01:57:42+00:00"},{@@ -3780,6 +4078,10 @@}],"description": "A polyfill for getallheaders.",+ "support": {+ "issues": "https://github.com/ralouphie/getallheaders/issues",+ "source": "https://github.com/ralouphie/getallheaders/tree/develop"+ },"time": "2019-03-08T08:55:37+00:00"},{@@ -3843,6 +4145,10 @@"queue","set"],+ "support": {+ "issues": "https://github.com/ramsey/collection/issues",+ "source": "https://github.com/ramsey/collection/tree/1.1.1"+ },"funding": [{"url": "https://github.com/ramsey",@@ -3930,6 +4236,11 @@"identifier","uuid"],+ "support": {+ "issues": "https://github.com/ramsey/uuid/issues",+ "rss": "https://github.com/ramsey/uuid/releases.atom",+ "source": "https://github.com/ramsey/uuid"+ },"funding": [{"url": "https://github.com/ramsey",@@ -4009,6 +4320,10 @@"laravel","twig"],+ "support": {+ "issues": "https://github.com/rcrowe/TwigBridge/issues",+ "source": "https://github.com/rcrowe/TwigBridge/tree/v0.12.3"+ },"time": "2020-10-14T18:14:32+00:00"},{@@ -4071,6 +4386,10 @@"mail","mailer"],+ "support": {+ "issues": "https://github.com/swiftmailer/swiftmailer/issues",+ "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.2.3"+ },"time": "2019-11-12T09:31:26+00:00"},{@@ -4145,6 +4464,9 @@],"description": "Symfony Console Component","homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/console/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -4207,6 +4529,9 @@],"description": "Symfony CssSelector Component","homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/css-selector/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -4271,6 +4596,9 @@],"description": "A generic function and convention to trigger deprecation notices","homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/deprecation-contracts/tree/master"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -4337,6 +4665,9 @@],"description": "Symfony ErrorHandler Component","homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/error-handler/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -4419,6 +4750,9 @@],"description": "Symfony EventDispatcher Component","homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/event-dispatcher/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -4495,6 +4829,9 @@"interoperability","standards"],+ "support": {+ "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.2.0"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -4553,6 +4890,9 @@],"description": "Symfony Finder Component","homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/finder/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -4629,6 +4969,9 @@"interoperability","standards"],+ "support": {+ "source": "https://github.com/symfony/http-client-contracts/tree/v2.3.1"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -4699,6 +5042,9 @@],"description": "Symfony HttpFoundation Component","homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/http-foundation/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -4808,6 +5154,9 @@],"description": "Symfony HttpKernel Component","homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/http-kernel/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -4880,6 +5229,9 @@"mime","mime-type"],+ "support": {+ "source": "https://github.com/symfony/mime/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -4956,6 +5308,9 @@"polyfill","portable"],+ "support": {+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.20.0"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -5033,6 +5388,9 @@"portable","shim"],+ "support": {+ "source": "https://github.com/symfony/polyfill-iconv/tree/v1.20.0"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -5111,6 +5469,9 @@"portable","shim"],+ "support": {+ "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.20.0"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -5195,6 +5556,9 @@"portable","shim"],+ "support": {+ "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.20.0"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -5276,6 +5640,9 @@"portable","shim"],+ "support": {+ "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.20.0"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -5353,6 +5720,9 @@"portable","shim"],+ "support": {+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.20.0"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -5426,6 +5796,9 @@"portable","shim"],+ "support": {+ "source": "https://github.com/symfony/polyfill-php72/tree/v1.20.0"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -5502,6 +5875,9 @@"portable","shim"],+ "support": {+ "source": "https://github.com/symfony/polyfill-php73/tree/v1.20.0"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -5582,6 +5958,9 @@"portable","shim"],+ "support": {+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.20.0"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -5641,6 +6020,9 @@],"description": "Symfony Process Component","homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/process/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -5719,6 +6101,10 @@"psr-17","psr-7"],+ "support": {+ "issues": "https://github.com/symfony/psr-http-message-bridge/issues",+ "source": "https://github.com/symfony/psr-http-message-bridge/tree/v2.0.2"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -5806,6 +6192,9 @@"uri","url"],+ "support": {+ "source": "https://github.com/symfony/routing/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -5882,6 +6271,9 @@"interoperability","standards"],+ "support": {+ "source": "https://github.com/symfony/service-contracts/tree/master"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -5962,6 +6354,9 @@"utf-8","utf8"],+ "support": {+ "source": "https://github.com/symfony/string/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -6049,6 +6444,9 @@],"description": "Symfony Translation Component","homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/translation/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -6124,6 +6522,9 @@"interoperability","standards"],+ "support": {+ "source": "https://github.com/symfony/translation-contracts/tree/v2.3.0"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -6209,6 +6610,9 @@"debug","dump"],+ "support": {+ "source": "https://github.com/symfony/var-dumper/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -6227,26 +6631,26 @@},{"name": "tightenco/collect",- "version": "v8.0.4",+ "version": "v8.15.0","source": {"type": "git","url": "https://github.com/tighten/collect.git",- "reference": "0d261a13c36fe964449d0240744eb4094ac3cd12"+ "reference": "e63b331f3709d6c278faf14cd859cd8f44a8d4a6"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/tighten/collect/zipball/0d261a13c36fe964449d0240744eb4094ac3cd12",- "reference": "0d261a13c36fe964449d0240744eb4094ac3cd12",+ "url": "https://api.github.com/repos/tighten/collect/zipball/e63b331f3709d6c278faf14cd859cd8f44a8d4a6",+ "reference": "e63b331f3709d6c278faf14cd859cd8f44a8d4a6","shasum": ""},"require": {- "php": "^7.1.3",+ "php": "^7.2","symfony/var-dumper": "^3.4 || ^4.0 || ^5.0"},"require-dev": {"mockery/mockery": "^1.0","nesbot/carbon": "^2.23.0",- "phpunit/phpunit": "^7.0"+ "phpunit/phpunit": "^8.3"},"type": "library","autoload": {@@ -6273,7 +6677,11 @@"collection","laravel"],- "time": "2020-09-14T22:38:08+00:00"+ "support": {+ "issues": "https://github.com/tighten/collect/issues",+ "source": "https://github.com/tighten/collect/tree/v8.15.0"+ },+ "time": "2020-11-20T22:56:01+00:00"},{"name": "tijsverkoyen/css-to-inline-styles",@@ -6322,6 +6730,10 @@],"description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.","homepage": "https://github.com/tijsverkoyen/CssToInlineStyles",+ "support": {+ "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues",+ "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.3"+ },"time": "2020-07-13T06:12:54+00:00"},{@@ -6387,6 +6799,10 @@"keywords": ["templating"],+ "support": {+ "issues": "https://github.com/twigphp/Twig/issues",+ "source": "https://github.com/twigphp/Twig/tree/v2.14.1"+ },"funding": [{"url": "https://github.com/fabpot",@@ -6463,6 +6879,10 @@"env","environment"],+ "support": {+ "issues": "https://github.com/vlucas/phpdotenv/issues",+ "source": "https://github.com/vlucas/phpdotenv/tree/v5.2.0"+ },"funding": [{"url": "https://github.com/GrahamCampbell",@@ -6521,6 +6941,10 @@"clean","php"],+ "support": {+ "issues": "https://github.com/voku/portable-ascii/issues",+ "source": "https://github.com/voku/portable-ascii/tree/1.5.6"+ },"funding": [{"url": "https://www.paypal.me/moelleken",@@ -6544,6 +6968,59 @@}],"time": "2020-11-12T00:07:28+00:00"+ },+ {+ "name": "webmozart/assert",+ "version": "1.9.1",+ "source": {+ "type": "git",+ "url": "https://github.com/webmozart/assert.git",+ "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",+ "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",+ "shasum": ""+ },+ "require": {+ "php": "^5.3.3 || ^7.0 || ^8.0",+ "symfony/polyfill-ctype": "^1.8"+ },+ "conflict": {+ "phpstan/phpstan": "<0.12.20",+ "vimeo/psalm": "<3.9.1"+ },+ "require-dev": {+ "phpunit/phpunit": "^4.8.36 || ^7.5.13"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "Webmozart\\Assert\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Bernhard Schussek",+ "email": "[email protected]"+ }+ ],+ "description": "Assertions to validate method input/output with nice error messages.",+ "keywords": [+ "assert",+ "check",+ "validate"+ ],+ "support": {+ "issues": "https://github.com/webmozart/assert/issues",+ "source": "https://github.com/webmozart/assert/tree/master"+ },+ "time": "2020-07-08T17:02:28+00:00"}],"packages-dev": [@@ -6623,6 +7100,11 @@"non-blocking","promise"],+ "support": {+ "irc": "irc://irc.freenode.org/amphp",+ "issues": "https://github.com/amphp/amp/issues",+ "source": "https://github.com/amphp/amp/tree/v2.5.1"+ },"funding": [{"url": "https://github.com/amphp",@@ -6695,6 +7177,11 @@"non-blocking","stream"],+ "support": {+ "irc": "irc://irc.freenode.org/amphp",+ "issues": "https://github.com/amphp/byte-stream/issues",+ "source": "https://github.com/amphp/byte-stream/tree/master"+ },"time": "2020-06-29T18:35:05+00:00"},{@@ -6765,6 +7252,10 @@"profiler","webprofiler"],+ "support": {+ "issues": "https://github.com/barryvdh/laravel-debugbar/issues",+ "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.5.1"+ },"funding": [{"url": "https://github.com/barryvdh",@@ -6846,6 +7337,10 @@"phpstorm","sublime"],+ "support": {+ "issues": "https://github.com/barryvdh/laravel-ide-helper/issues",+ "source": "https://github.com/barryvdh/laravel-ide-helper/tree/master"+ },"funding": [{"url": "https://github.com/barryvdh",@@ -6901,6 +7396,9 @@"email": "[email protected]"}],+ "support": {+ "source": "https://github.com/barryvdh/ReflectionDocBlock/tree/v2.0.6"+ },"time": "2018-12-13T10:34:14+00:00"},{@@ -6957,6 +7455,11 @@"ssl","tls"],+ "support": {+ "irc": "irc://irc.freenode.org/composer",+ "issues": "https://github.com/composer/ca-bundle/issues",+ "source": "https://github.com/composer/ca-bundle/tree/1.2.8"+ },"funding": [{"url": "https://packagist.com",@@ -6975,16 +7478,16 @@},{"name": "composer/composer",- "version": "2.0.6",+ "version": "2.0.7","source": {"type": "git","url": "https://github.com/composer/composer.git",- "reference": "d5789bd8e2d852a6b98fe944ca2ff82e921eb43d"+ "reference": "cbee637510037f293e641857b2a6223d0ea8008d"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/composer/composer/zipball/d5789bd8e2d852a6b98fe944ca2ff82e921eb43d",- "reference": "d5789bd8e2d852a6b98fe944ca2ff82e921eb43d",+ "url": "https://api.github.com/repos/composer/composer/zipball/cbee637510037f293e641857b2a6223d0ea8008d",+ "reference": "cbee637510037f293e641857b2a6223d0ea8008d","shasum": ""},"require": {@@ -7049,6 +7552,11 @@"dependency","package"],+ "support": {+ "irc": "irc://irc.freenode.org/composer",+ "issues": "https://github.com/composer/composer/issues",+ "source": "https://github.com/composer/composer/tree/2.0.7"+ },"funding": [{"url": "https://packagist.com",@@ -7063,7 +7571,7 @@"type": "tidelift"}],- "time": "2020-11-07T10:21:17+00:00"+ "time": "2020-11-13T16:31:06+00:00"},{"name": "composer/package-versions-deprecated",@@ -7118,6 +7626,10 @@}],"description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)",+ "support": {+ "issues": "https://github.com/composer/package-versions-deprecated/issues",+ "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.1"+ },"funding": [{"url": "https://packagist.com",@@ -7194,6 +7706,11 @@"validation","versioning"],+ "support": {+ "irc": "irc://irc.freenode.org/composer",+ "issues": "https://github.com/composer/semver/issues",+ "source": "https://github.com/composer/semver/tree/3.2.4"+ },"funding": [{"url": "https://packagist.com",@@ -7268,6 +7785,11 @@"spdx","validator"],+ "support": {+ "irc": "irc://irc.freenode.org/composer",+ "issues": "https://github.com/composer/spdx-licenses/issues",+ "source": "https://github.com/composer/spdx-licenses/tree/1.5.4"+ },"funding": [{"url": "https://packagist.com",@@ -7326,6 +7848,11 @@"Xdebug","performance"],+ "support": {+ "irc": "irc://irc.freenode.org/composer",+ "issues": "https://github.com/composer/xdebug-handler/issues",+ "source": "https://github.com/composer/xdebug-handler/tree/1.4.5"+ },"funding": [{"url": "https://packagist.com",@@ -7373,6 +7900,10 @@"MIT"],"description": "implementation of xdg base directory specification for php",+ "support": {+ "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues",+ "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1"+ },"time": "2019-12-04T15:06:13+00:00"},{@@ -7424,6 +7955,10 @@"constructor","instantiate"],+ "support": {+ "issues": "https://github.com/doctrine/instantiator/issues",+ "source": "https://github.com/doctrine/instantiator/tree/1.4.0"+ },"funding": [{"url": "https://www.doctrine-project.org/sponsorship.html",@@ -7505,6 +8040,10 @@"phpstan-extreme-rules","phpstan-rules"],+ "support": {+ "issues": "https://github.com/ergebnis/phpstan-rules/issues",+ "source": "https://github.com/ergebnis/phpstan-rules"+ },"funding": [{"url": "https://github.com/localheinz",@@ -7515,16 +8054,16 @@},{"name": "fakerphp/faker",- "version": "v1.11.0",+ "version": "v1.12.0","source": {"type": "git","url": "https://github.com/FakerPHP/Faker.git",- "reference": "f228dc5112bafc14c77d40a2acc0c48058e184b0"+ "reference": "9aa6c9e289860951e6b4d010c7a841802d015cd8"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/f228dc5112bafc14c77d40a2acc0c48058e184b0",- "reference": "f228dc5112bafc14c77d40a2acc0c48058e184b0",+ "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/9aa6c9e289860951e6b4d010c7a841802d015cd8",+ "reference": "9aa6c9e289860951e6b4d010c7a841802d015cd8","shasum": ""},"require": {@@ -7559,7 +8098,11 @@"faker","fixtures"],- "time": "2020-11-15T20:27:00+00:00"+ "support": {+ "issues": "https://github.com/FakerPHP/Faker/issues",+ "source": "https://github.com/FakerPHP/Faker/tree/v1.12.0"+ },+ "time": "2020-11-23T09:33:08+00:00"},{"name": "felixfbecker/advanced-json-rpc",@@ -7600,6 +8143,10 @@}],"description": "A more advanced JSONRPC implementation",+ "support": {+ "issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues",+ "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/master"+ },"time": "2020-03-11T15:21:41+00:00"},{@@ -7652,6 +8199,10 @@"php","server"],+ "support": {+ "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues",+ "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.0"+ },"time": "2020-10-23T13:55:30+00:00"},{@@ -7713,6 +8264,10 @@"throwable","whoops"],+ "support": {+ "issues": "https://github.com/filp/whoops/issues",+ "source": "https://github.com/filp/whoops/tree/2.9.1"+ },"time": "2020-11-01T12:00:00+00:00"},{@@ -7760,6 +8315,10 @@"keywords": ["test"],+ "support": {+ "issues": "https://github.com/hamcrest/hamcrest-php/issues",+ "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1"+ },"time": "2020-07-09T08:09:16+00:00"},{@@ -7808,6 +8367,10 @@"profile","slow"],+ "support": {+ "issues": "https://github.com/johnkary/phpunit-speedtrap/issues",+ "source": "https://github.com/johnkary/phpunit-speedtrap/tree/v3.2.0"+ },"time": "2020-02-12T16:19:51+00:00"},{@@ -7874,6 +8437,10 @@"json","schema"],+ "support": {+ "issues": "https://github.com/justinrainbow/json-schema/issues",+ "source": "https://github.com/justinrainbow/json-schema/tree/5.2.10"+ },"time": "2020-05-27T16:41:55+00:00"},{@@ -7935,6 +8502,10 @@"debug","debugbar"],+ "support": {+ "issues": "https://github.com/maximebf/php-debugbar/issues",+ "source": "https://github.com/maximebf/php-debugbar/tree/v1.16.3"+ },"time": "2020-05-06T07:06:27+00:00"},{@@ -8003,6 +8574,10 @@"test double","testing"],+ "support": {+ "issues": "https://github.com/mockery/mockery/issues",+ "source": "https://github.com/mockery/mockery/tree/master"+ },"time": "2020-08-11T18:10:13+00:00"},{@@ -8051,6 +8626,10 @@"object","object graph"],+ "support": {+ "issues": "https://github.com/myclabs/DeepCopy/issues",+ "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2"+ },"funding": [{"url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",@@ -8103,6 +8682,11 @@}],"description": "Map nested JSON structures onto PHP classes",+ "support": {+ "email": "[email protected]",+ "issues": "https://github.com/cweiske/jsonmapper/issues",+ "source": "https://github.com/cweiske/jsonmapper/tree/master"+ },"time": "2020-04-16T18:48:43+00:00"},{@@ -8155,20 +8739,24 @@"parser","php"],+ "support": {+ "issues": "https://github.com/nikic/PHP-Parser/issues",+ "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.2"+ },"time": "2020-09-26T10:30:38+00:00"},{"name": "nunomaduro/larastan",- "version": "v0.6.9",+ "version": "v0.6.10","source": {"type": "git","url": "https://github.com/nunomaduro/larastan.git",- "reference": "cc6a0802d4e744771583487a68181d13ca2c8306"+ "reference": "555d4cefde563ec9bf93925951615ef344cebd86"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/nunomaduro/larastan/zipball/cc6a0802d4e744771583487a68181d13ca2c8306",- "reference": "cc6a0802d4e744771583487a68181d13ca2c8306",+ "url": "https://api.github.com/repos/nunomaduro/larastan/zipball/555d4cefde563ec9bf93925951615ef344cebd86",+ "reference": "555d4cefde563ec9bf93925951615ef344cebd86","shasum": ""},"require": {@@ -8230,6 +8818,10 @@"php","static analysis"],+ "support": {+ "issues": "https://github.com/nunomaduro/larastan/issues",+ "source": "https://github.com/nunomaduro/larastan/tree/v0.6.10"+ },"funding": [{"url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L",@@ -8248,7 +8840,7 @@"type": "patreon"}],- "time": "2020-10-30T11:55:57+00:00"+ "time": "2020-11-25T22:57:13+00:00"},{"name": "openlss/lib-array2xml",@@ -8297,6 +8889,10 @@"xml","xml conversion"],+ "support": {+ "issues": "https://github.com/nullivex/lib-array2xml/issues",+ "source": "https://github.com/nullivex/lib-array2xml/tree/master"+ },"time": "2019-03-29T20:06:56+00:00"},{@@ -8353,6 +8949,10 @@}],"description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",+ "support": {+ "issues": "https://github.com/phar-io/manifest/issues",+ "source": "https://github.com/phar-io/manifest/tree/master"+ },"time": "2020-06-27T14:33:11+00:00"},{@@ -8400,6 +9000,10 @@}],"description": "Library for handling version information and constraints",+ "support": {+ "issues": "https://github.com/phar-io/version/issues",+ "source": "https://github.com/phar-io/version/tree/master"+ },"time": "2020-06-27T14:39:04+00:00"},{@@ -8449,6 +9053,10 @@"reflection","static analysis"],+ "support": {+ "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues",+ "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x"+ },"time": "2020-06-27T09:03:43+00:00"},{@@ -8501,6 +9109,10 @@}],"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",+ "support": {+ "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",+ "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master"+ },"time": "2020-09-03T19:13:55+00:00"},{@@ -8546,6 +9158,10 @@}],"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",+ "support": {+ "issues": "https://github.com/phpDocumentor/TypeResolver/issues",+ "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0"+ },"time": "2020-09-17T18:55:26+00:00"},{@@ -8609,6 +9225,10 @@"spy","stub"],+ "support": {+ "issues": "https://github.com/phpspec/prophecy/issues",+ "source": "https://github.com/phpspec/prophecy/tree/1.12.1"+ },"time": "2020-09-29T09:10:42+00:00"},{@@ -8651,6 +9271,10 @@"MIT"],"description": "PHPStan - PHP Static Analysis Tool",+ "support": {+ "issues": "https://github.com/phpstan/phpstan/issues",+ "source": "https://github.com/phpstan/phpstan/tree/0.12.57"+ },"funding": [{"url": "https://github.com/ondrejmirtes",@@ -8716,6 +9340,10 @@"MIT"],"description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.",+ "support": {+ "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues",+ "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/0.12.5"+ },"time": "2020-07-21T14:52:30+00:00"},{@@ -8783,6 +9411,10 @@"testing","xunit"],+ "support": {+ "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.3"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -8839,6 +9471,10 @@"filesystem","iterator"],+ "support": {+ "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",+ "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.5"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -8898,6 +9534,10 @@"keywords": ["process"],+ "support": {+ "issues": "https://github.com/sebastianbergmann/php-invoker/issues",+ "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -8953,6 +9593,10 @@"keywords": ["template"],+ "support": {+ "issues": "https://github.com/sebastianbergmann/php-text-template/issues",+ "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -9008,6 +9652,10 @@"keywords": ["timer"],+ "support": {+ "issues": "https://github.com/sebastianbergmann/php-timer/issues",+ "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -9103,6 +9751,10 @@"testing","xunit"],+ "support": {+ "issues": "https://github.com/sebastianbergmann/phpunit/issues",+ "source": "https://github.com/sebastianbergmann/phpunit/tree/9.4.3"+ },"funding": [{"url": "https://phpunit.de/donate.html",@@ -9159,6 +9811,10 @@"promise","promises"],+ "support": {+ "issues": "https://github.com/reactphp/promise/issues",+ "source": "https://github.com/reactphp/promise/tree/v2.8.0"+ },"time": "2020-05-12T15:16:56+00:00"},{@@ -9167,12 +9823,12 @@"source": {"type": "git","url": "https://github.com/Roave/SecurityAdvisories.git",- "reference": "cccf21d87ad9ab7e803eda3aa3454ba066a54913"+ "reference": "563faed0e5e24a5b639fbd30d8f3921bb11fccc0"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/cccf21d87ad9ab7e803eda3aa3454ba066a54913",- "reference": "cccf21d87ad9ab7e803eda3aa3454ba066a54913",+ "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/563faed0e5e24a5b639fbd30d8f3921bb11fccc0",+ "reference": "563faed0e5e24a5b639fbd30d8f3921bb11fccc0","shasum": ""},"conflict": {@@ -9280,8 +9936,8 @@"nette/nette": ">=2,<2.0.19|>=2.1,<2.1.13","nystudio107/craft-seomatic": "<3.3","nzo/url-encryptor-bundle": ">=4,<4.3.2|>=5,<5.0.1",- "october/backend": ">=1.0.319,<1.0.467",- "october/cms": ">=1.0.319,<1.0.466",+ "october/backend": ">=1.0.319,<1.0.470",+ "october/cms": "= 1.0.469|>=1.0.319,<1.0.469","october/october": ">=1.0.319,<1.0.466","october/rain": ">=1.0.319,<1.0.468","onelogin/php-saml": "<2.10.4",@@ -9398,8 +10054,8 @@"titon/framework": ">=0,<9.9.99","truckersmp/phpwhois": "<=4.3.1","twig/twig": "<1.38|>=2,<2.7",- "typo3/cms": ">=6.2,<6.2.30|>=7,<7.6.32|>=8,<8.7.30|>=9,<9.5.20|>=10,<10.4.6",- "typo3/cms-core": ">=8,<8.7.30|>=9,<9.5.20|>=10,<10.4.6",+ "typo3/cms": ">=6.2,<6.2.30|>=7,<7.6.32|>=8,<8.7.38|>=9,<9.5.23|>=10,<10.4.10",+ "typo3/cms-core": ">=8,<8.7.38|>=9,<9.5.23|>=10,<10.4.10","typo3/flow": ">=1,<1.0.4|>=1.1,<1.1.1|>=2,<2.0.1|>=2.3,<2.3.16|>=3,<3.0.10|>=3.1,<3.1.7|>=3.2,<3.2.7|>=3.3,<3.3.5","typo3/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4","typo3/phar-stream-wrapper": ">=1,<2.1.1|>=3,<3.1.1",@@ -9463,6 +10119,10 @@}],"description": "Prevents installation of composer packages with known security vulnerabilities: no API, simply require it",+ "support": {+ "issues": "https://github.com/Roave/SecurityAdvisories/issues",+ "source": "https://github.com/Roave/SecurityAdvisories/tree/latest"+ },"funding": [{"url": "https://github.com/Ocramius",@@ -9473,7 +10133,7 @@"type": "tidelift"}],- "time": "2020-11-22T16:02:43+00:00"+ "time": "2020-11-23T21:01:44+00:00"},{"name": "sebastian/cli-parser",@@ -9519,6 +10179,10 @@],"description": "Library for parsing CLI options","homepage": "https://github.com/sebastianbergmann/cli-parser",+ "support": {+ "issues": "https://github.com/sebastianbergmann/cli-parser/issues",+ "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -9571,6 +10235,10 @@],"description": "Collection of value objects that represent the PHP code units","homepage": "https://github.com/sebastianbergmann/code-unit",+ "support": {+ "issues": "https://github.com/sebastianbergmann/code-unit/issues",+ "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -9622,6 +10290,10 @@],"description": "Looks up which function or method a line of code belongs to","homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",+ "support": {+ "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",+ "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -9692,6 +10364,10 @@"compare","equality"],+ "support": {+ "issues": "https://github.com/sebastianbergmann/comparator/issues",+ "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -9745,6 +10421,10 @@],"description": "Library for calculating the complexity of PHP code units","homepage": "https://github.com/sebastianbergmann/complexity",+ "support": {+ "issues": "https://github.com/sebastianbergmann/complexity/issues",+ "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -9807,6 +10487,10 @@"unidiff","unified diff"],+ "support": {+ "issues": "https://github.com/sebastianbergmann/diff/issues",+ "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -9866,6 +10550,10 @@"environment","hhvm"],+ "support": {+ "issues": "https://github.com/sebastianbergmann/environment/issues",+ "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -9939,6 +10627,10 @@"export","exporter"],+ "support": {+ "issues": "https://github.com/sebastianbergmann/exporter/issues",+ "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -9999,6 +10691,10 @@"keywords": ["global state"],+ "support": {+ "issues": "https://github.com/sebastianbergmann/global-state/issues",+ "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.2"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -10052,6 +10748,10 @@],"description": "Library for counting the lines of code in PHP source code","homepage": "https://github.com/sebastianbergmann/lines-of-code",+ "support": {+ "issues": "https://github.com/sebastianbergmann/lines-of-code/issues",+ "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.2"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -10105,6 +10805,10 @@],"description": "Traverses array structures and object graphs to enumerate all referenced objects","homepage": "https://github.com/sebastianbergmann/object-enumerator/",+ "support": {+ "issues": "https://github.com/sebastianbergmann/object-enumerator/issues",+ "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -10156,6 +10860,10 @@],"description": "Allows reflection of object attributes, including inherited and non-public ones","homepage": "https://github.com/sebastianbergmann/object-reflector/",+ "support": {+ "issues": "https://github.com/sebastianbergmann/object-reflector/issues",+ "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -10215,6 +10923,10 @@],"description": "Provides functionality to recursively process PHP variables","homepage": "http://www.github.com/sebastianbergmann/recursion-context",+ "support": {+ "issues": "https://github.com/sebastianbergmann/recursion-context/issues",+ "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -10266,6 +10978,10 @@],"description": "Provides a list of PHP built-in functions that operate on resources","homepage": "https://www.github.com/sebastianbergmann/resource-operations",+ "support": {+ "issues": "https://github.com/sebastianbergmann/resource-operations/issues",+ "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -10318,6 +11034,10 @@],"description": "Collection of value objects that represent the types of the PHP type system","homepage": "https://github.com/sebastianbergmann/type",+ "support": {+ "issues": "https://github.com/sebastianbergmann/type/issues",+ "source": "https://github.com/sebastianbergmann/type/tree/2.3.1"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -10367,6 +11087,10 @@],"description": "Library that helps with managing the version number of Git-hosted PHP projects","homepage": "https://github.com/sebastianbergmann/version",+ "support": {+ "issues": "https://github.com/sebastianbergmann/version/issues",+ "source": "https://github.com/sebastianbergmann/version/tree/3.0.2"+ },"funding": [{"url": "https://github.com/sebastianbergmann",@@ -10377,16 +11101,16 @@},{"name": "seld/jsonlint",- "version": "1.8.2",+ "version": "1.8.3","source": {"type": "git","url": "https://github.com/Seldaek/jsonlint.git",- "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337"+ "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/590cfec960b77fd55e39b7d9246659e95dd6d337",- "reference": "590cfec960b77fd55e39b7d9246659e95dd6d337",+ "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/9ad6ce79c342fbd44df10ea95511a1b24dee5b57",+ "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57","shasum": ""},"require": {@@ -10422,6 +11146,10 @@"parser","validator"],+ "support": {+ "issues": "https://github.com/Seldaek/jsonlint/issues",+ "source": "https://github.com/Seldaek/jsonlint/tree/1.8.3"+ },"funding": [{"url": "https://github.com/Seldaek",@@ -10432,7 +11160,7 @@"type": "tidelift"}],- "time": "2020-08-25T06:56:57+00:00"+ "time": "2020-11-11T09:19:24+00:00"},{"name": "seld/phar-utils",@@ -10476,6 +11204,10 @@"keywords": ["phar"],+ "support": {+ "issues": "https://github.com/Seldaek/phar-utils/issues",+ "source": "https://github.com/Seldaek/phar-utils/tree/master"+ },"time": "2020-07-07T18:42:57+00:00"},{@@ -10528,6 +11260,9 @@],"description": "Symfony Debug Component","homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/debug/tree/v4.4.16"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -10587,6 +11322,9 @@],"description": "Symfony Filesystem Component","homepage": "https://symfony.com",+ "support": {+ "source": "https://github.com/symfony/filesystem/tree/v5.1.8"+ },"funding": [{"url": "https://symfony.com/sponsor",@@ -10652,6 +11390,10 @@}],"description": "A set of additional rules for PHPStan based on best practices followed at TheCodingMachine",+ "support": {+ "issues": "https://github.com/thecodingmachine/phpstan-strict-rules/issues",+ "source": "https://github.com/thecodingmachine/phpstan-strict-rules/tree/master"+ },"time": "2020-09-08T09:14:10+00:00"},{@@ -10692,6 +11434,10 @@}],"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",+ "support": {+ "issues": "https://github.com/theseer/tokenizer/issues",+ "source": "https://github.com/theseer/tokenizer/tree/master"+ },"funding": [{"url": "https://github.com/theseer",@@ -10799,56 +11545,11 @@"inspection","php"],- "time": "2020-11-20T14:56:53+00:00"- },- {- "name": "webmozart/assert",- "version": "1.9.1",- "source": {- "type": "git",- "url": "https://github.com/webmozart/assert.git",- "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389"- },- "dist": {- "type": "zip",- "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389",- "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389",- "shasum": ""- },- "require": {- "php": "^5.3.3 || ^7.0 || ^8.0",- "symfony/polyfill-ctype": "^1.8"- },- "conflict": {- "phpstan/phpstan": "<0.12.20",- "vimeo/psalm": "<3.9.1"- },- "require-dev": {- "phpunit/phpunit": "^4.8.36 || ^7.5.13"- },- "type": "library",- "autoload": {- "psr-4": {- "Webmozart\\Assert\\": "src/"- }+ "support": {+ "issues": "https://github.com/vimeo/psalm/issues",+ "source": "https://github.com/vimeo/psalm/tree/4.2.1"},- "notification-url": "https://packagist.org/downloads/",- "license": [- "MIT"- ],- "authors": [- {- "name": "Bernhard Schussek",- "email": "[email protected]"- }- ],- "description": "Assertions to validate method input/output with nice error messages.",- "keywords": [- "assert",- "check",- "validate"- ],- "time": "2020-07-08T17:02:28+00:00"+ "time": "2020-11-20T14:56:53+00:00"},{"name": "webmozart/path-util",@@ -10894,6 +11595,10 @@}],"description": "A robust cross-platform utility for normalizing, comparing and modifying file paths.",+ "support": {+ "issues": "https://github.com/webmozart/path-util/issues",+ "source": "https://github.com/webmozart/path-util/tree/2.3.0"+ },"time": "2015-12-17T08:42:14+00:00"}],@@ -10920,5 +11625,5 @@"ext-xml": "*"},"platform-dev": [],- "plugin-api-version": "1.1.0"+ "plugin-api-version": "2.0.0"}diff --git a/config/view.php b/config/view.phpindex 65a44f441e..3ddde9fb1e 100644--- a/config/view.php+++ b/config/view.php@@ -23,7 +23,7 @@ declare(strict_types=1);// simple hack to force v2. Used for demo until next release.$layout = env('FIREFLY_III_LAYOUT', 'v1');-if ('v2' === $_GET['layout'] && 'demo@firefly' === env('DEMO_USERNAME')) {+if (isset($_GET['layout']) && 'v2' === $_GET['layout'] && 'demo@firefly' === env('DEMO_USERNAME')) {$layout = 'v2';}@@ -41,7 +41,7 @@ return [*/'paths' => [- realpath(base_path(sprintf('resources/views/%s', $layout))),+ realpath(base_path(sprintf('resources/views/%s', $layout ?? 'v1'))),],/*@@ -55,6 +55,6 @@ return [|*/- 'compiled' => realpath(storage_path(sprintf('framework/views/%s', $layout))),+ 'compiled' => realpath(storage_path(sprintf('framework/views/%s', $layout ?? 'v1'))),];diff --git a/frontend/src/components/dashboard/MainCategoryList.vue b/frontend/src/components/dashboard/MainCategoryList.vueindex a2603f32ca..cfa2214e69 100644--- a/frontend/src/components/dashboard/MainCategoryList.vue+++ b/frontend/src/components/dashboard/MainCategoryList.vue@@ -152,13 +152,19 @@ export default {this.sortCategories();},sortCategories() {-- this.categories.sort(function (one, two) {- return (one.spent + one.earned) - (two.spent + two.earned);- });+ // no longer care about keys:+ let array = [];for (let cat in this.categories) {if (this.categories.hasOwnProperty(cat)) {- let current = this.categories[cat];+ array.push(this.categories[cat]);+ }+ }+ array.sort(function (one, two) {+ return (one.spent + one.earned) - (two.spent + two.earned);+ });+ for (let cat in array) {+ if (array.hasOwnProperty(cat)) {+ let current = array[cat];current.spentPct = (current.spent / this.spent) * 100;current.earnedPct = (current.earned / this.earned) * 100;this.sortedList.push(current);diff --git a/frontend/yarn.lock b/frontend/yarn.lockindex a841fe71c0..9ea03fd9b2 100644--- a/frontend/yarn.lock+++ b/frontend/yarn.lock@@ -874,9 +874,9 @@integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA=="@types/node@*":- version "14.14.9"- resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.9.tgz#04afc9a25c6ff93da14deabd65dc44485b53c8d6"- integrity sha512-JsoLXFppG62tWTklIoO4knA+oDTYsmqWxHRvd4lpmfQRNhX6osheUOWETP2jMoV/2bEHuMra8Pp3Dmo/stBFcw==+ version "14.14.10"+ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.10.tgz#5958a82e41863cfc71f2307b3748e3491ba03785"+ integrity sha512-J32dgx2hw8vXrSbu4ZlVhn1Nm3GbeCFNw2FWL8S5QKucHGY0cyNwjdQdO+KMBZ4wpmC7KhLCiNsdk1RFRIYUQQ=="@types/q@^1.5.1":version "1.5.4"@@ -1563,7 +1563,7 @@ browserify-zlib@^0.2.0:dependencies:pako "~1.0.5"-browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.14.5, browserslist@^4.14.6:+browserslist@^4.0.0, browserslist@^4.12.0, browserslist@^4.14.5, browserslist@^4.14.7:version "4.14.7"resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.14.7.tgz#c071c1b3622c1c2e790799a37bb09473a4351cb6"integrity sha512-BSVRLCeG3Xt/j/1cCGj1019Wbty0H+Yvu2AOuZSuoaUWn3RatbL33Cxk+Q4jRMRAbOm0p7SLravLjpnT6s0vzQ==@@ -2095,17 +2095,17 @@ copy-descriptor@^0.1.0:integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=core-js-compat@^3.7.0:- version "3.7.0"- resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.7.0.tgz#8479c5d3d672d83f1f5ab94cf353e57113e065ed"- integrity sha512-V8yBI3+ZLDVomoWICO6kq/CD28Y4r1M7CWeO4AGpMdMfseu8bkSubBmUPySMGKRTS+su4XQ07zUkAsiu9FCWTg==+ version "3.8.0"+ resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.8.0.tgz#3248c6826f4006793bd637db608bca6e4cd688b1"+ integrity sha512-o9QKelQSxQMYWHXc/Gc4L8bx/4F7TTraE5rhuN8I7mKBt5dBIUpXpIR3omv70ebr8ST5R3PqbDQr+ZI3+Tt1FQ==dependencies:- browserslist "^4.14.6"+ browserslist "^4.14.7"semver "7.0.0"core-js@^3.6.5:- version "3.7.0"- resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.7.0.tgz#b0a761a02488577afbf97179e4681bf49568520f"- integrity sha512-NwS7fI5M5B85EwpWuIwJN4i/fbisQUwLwiSNUWeXlkAZ0sbBjLEvLvFLf1uzAUV66PcEPt4xCGCmOZSxVf3xzA==+ version "3.8.0"+ resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.8.0.tgz#0fc2d4941cadf80538b030648bb64d230b4da0ce"+ integrity sha512-W2VYNB0nwQQE7tKS7HzXd7r2y/y2SVJl4ga6oH/dnaLFzM0o2lB2P3zCkWj5Wc/zyMYjtgd5Hmhk0ObkQFZOIA==core-util-is@~1.0.0:version "1.0.2"@@ -4311,9 +4311,9 @@ lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==loglevel@^1.6.8:- version "1.7.0"- resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.7.0.tgz#728166855a740d59d38db01cf46f042caa041bb0"- integrity sha512-i2sY04nal5jDcagM3FMfG++T69GEEM8CYuOfeOIvmXzOIcwE9a/CJPR0MFM97pYMj/u10lzz7/zd7+qwhrBTqQ==+ version "1.7.1"+ resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.7.1.tgz#005fde2f5e6e47068f935ff28573e125ef72f197"+ integrity sha512-Hesni4s5UkWkwCGJMQGAh71PaLUmKFM60dHvq0zi/vDhhrzuk+4GgNbTXJ12YYQJn6ZKBDNIjYcuQGKudvqrIw==lower-case@^1.1.1:version "1.1.4"diff --git a/public/v2/js/dashboard.js b/public/v2/js/dashboard.jsindex e1f12d9954..b8d21eb127 100644--- a/public/v2/js/dashboard.js+++ b/public/v2/js/dashboard.js@@ -1,2 +1,2 @@-(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{168:function(t,e,s){s(232),t.exports=s(238)},171:function(t,e,s){"use strict";s(22)},172:function(t,e,s){(t.exports=s(173)(!1)).push([t.i,".dropdown-item[data-v-46bd25c8],.dropdown-item[data-v-46bd25c8]:hover{color:#212529}",""])},202:function(t,e,s){var a={"./af":31,"./af.js":31,"./ar":32,"./ar-dz":33,"./ar-dz.js":33,"./ar-kw":34,"./ar-kw.js":34,"./ar-ly":35,"./ar-ly.js":35,"./ar-ma":36,"./ar-ma.js":36,"./ar-sa":37,"./ar-sa.js":37,"./ar-tn":38,"./ar-tn.js":38,"./ar.js":32,"./az":39,"./az.js":39,"./be":40,"./be.js":40,"./bg":41,"./bg.js":41,"./bm":42,"./bm.js":42,"./bn":43,"./bn-bd":44,"./bn-bd.js":44,"./bn.js":43,"./bo":45,"./bo.js":45,"./br":46,"./br.js":46,"./bs":47,"./bs.js":47,"./ca":48,"./ca.js":48,"./cs":49,"./cs.js":49,"./cv":50,"./cv.js":50,"./cy":51,"./cy.js":51,"./da":52,"./da.js":52,"./de":53,"./de-at":54,"./de-at.js":54,"./de-ch":55,"./de-ch.js":55,"./de.js":53,"./dv":56,"./dv.js":56,"./el":57,"./el.js":57,"./en-au":58,"./en-au.js":58,"./en-ca":59,"./en-ca.js":59,"./en-gb":60,"./en-gb.js":60,"./en-ie":61,"./en-ie.js":61,"./en-il":62,"./en-il.js":62,"./en-in":63,"./en-in.js":63,"./en-nz":64,"./en-nz.js":64,"./en-sg":65,"./en-sg.js":65,"./eo":66,"./eo.js":66,"./es":67,"./es-do":68,"./es-do.js":68,"./es-mx":69,"./es-mx.js":69,"./es-us":70,"./es-us.js":70,"./es.js":67,"./et":71,"./et.js":71,"./eu":72,"./eu.js":72,"./fa":73,"./fa.js":73,"./fi":74,"./fi.js":74,"./fil":75,"./fil.js":75,"./fo":76,"./fo.js":76,"./fr":77,"./fr-ca":78,"./fr-ca.js":78,"./fr-ch":79,"./fr-ch.js":79,"./fr.js":77,"./fy":80,"./fy.js":80,"./ga":81,"./ga.js":81,"./gd":82,"./gd.js":82,"./gl":83,"./gl.js":83,"./gom-deva":84,"./gom-deva.js":84,"./gom-latn":85,"./gom-latn.js":85,"./gu":86,"./gu.js":86,"./he":87,"./he.js":87,"./hi":88,"./hi.js":88,"./hr":89,"./hr.js":89,"./hu":90,"./hu.js":90,"./hy-am":91,"./hy-am.js":91,"./id":92,"./id.js":92,"./is":93,"./is.js":93,"./it":94,"./it-ch":95,"./it-ch.js":95,"./it.js":94,"./ja":96,"./ja.js":96,"./jv":97,"./jv.js":97,"./ka":98,"./ka.js":98,"./kk":99,"./kk.js":99,"./km":100,"./km.js":100,"./kn":101,"./kn.js":101,"./ko":102,"./ko.js":102,"./ku":103,"./ku.js":103,"./ky":104,"./ky.js":104,"./lb":105,"./lb.js":105,"./lo":106,"./lo.js":106,"./lt":107,"./lt.js":107,"./lv":108,"./lv.js":108,"./me":109,"./me.js":109,"./mi":110,"./mi.js":110,"./mk":111,"./mk.js":111,"./ml":112,"./ml.js":112,"./mn":113,"./mn.js":113,"./mr":114,"./mr.js":114,"./ms":115,"./ms-my":116,"./ms-my.js":116,"./ms.js":115,"./mt":117,"./mt.js":117,"./my":118,"./my.js":118,"./nb":119,"./nb.js":119,"./ne":120,"./ne.js":120,"./nl":121,"./nl-be":122,"./nl-be.js":122,"./nl.js":121,"./nn":123,"./nn.js":123,"./oc-lnc":124,"./oc-lnc.js":124,"./pa-in":125,"./pa-in.js":125,"./pl":126,"./pl.js":126,"./pt":127,"./pt-br":128,"./pt-br.js":128,"./pt.js":127,"./ro":129,"./ro.js":129,"./ru":130,"./ru.js":130,"./sd":131,"./sd.js":131,"./se":132,"./se.js":132,"./si":133,"./si.js":133,"./sk":134,"./sk.js":134,"./sl":135,"./sl.js":135,"./sq":136,"./sq.js":136,"./sr":137,"./sr-cyrl":138,"./sr-cyrl.js":138,"./sr.js":137,"./ss":139,"./ss.js":139,"./sv":140,"./sv.js":140,"./sw":141,"./sw.js":141,"./ta":142,"./ta.js":142,"./te":143,"./te.js":143,"./tet":144,"./tet.js":144,"./tg":145,"./tg.js":145,"./th":146,"./th.js":146,"./tk":147,"./tk.js":147,"./tl-ph":148,"./tl-ph.js":148,"./tlh":149,"./tlh.js":149,"./tr":150,"./tr.js":150,"./tzl":151,"./tzl.js":151,"./tzm":152,"./tzm-latn":153,"./tzm-latn.js":153,"./tzm.js":152,"./ug-cn":154,"./ug-cn.js":154,"./uk":155,"./uk.js":155,"./ur":156,"./ur.js":156,"./uz":157,"./uz-latn":158,"./uz-latn.js":158,"./uz.js":157,"./vi":159,"./vi.js":159,"./x-pseudo":160,"./x-pseudo.js":160,"./yo":161,"./yo.js":161,"./zh-cn":162,"./zh-cn.js":162,"./zh-hk":163,"./zh-hk.js":163,"./zh-mo":164,"./zh-mo.js":164,"./zh-tw":165,"./zh-tw.js":165};function r(t){var e=n(t);return s(e)}function n(t){if(!s.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}r.keys=function(){return Object.keys(a)},r.resolve=n,t.exports=r,r.id=202},22:function(t,e,s){var a=s(172);"string"==typeof a&&(a=[[t.i,a,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};s(174)(a,r);a.locals&&(t.exports=a.locals)},232:function(t,e,s){"use strict";s.r(e);var a=s(10),r=s(12),n=s(11),i=s(13),o=s(14),l={name:"BudgetLimitRow",mounted:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US"}},props:{budgetLimit:{type:Object,default:{}},budget:{type:Object,default:{}}}},c=s(1),d=Object(c.a)(l,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("tr",[s("td",{staticStyle:{width:"25%"}},[s("a",{attrs:{href:"./budgets/show/"+t.budgetLimit.budget_id}},[t._v(t._s(t.budgetLimit.budget_name))])]),t._v(" "),s("td",{staticStyle:{"vertical-align":"middle"}},[s("div",{staticClass:"progress progress active"},[s("div",{staticClass:"progress-bar bg-success progress-bar-striped",style:"width: "+t.budgetLimit.pctGreen+"%;",attrs:{role:"progressbar","aria-valuenow":t.budgetLimit.pctGreen,"aria-valuemin":"0","aria-valuemax":"100"}},[t.budgetLimit.pctGreen>35?s("span",[t._v("\n Spent\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent))+"\n of\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount))+"\n ")]):t._e()]),t._v(" "),s("div",{staticClass:"progress-bar bg-warning progress-bar-striped",style:"width: "+t.budgetLimit.pctOrange+"%;",attrs:{role:"progressbar","aria-valuenow":t.budgetLimit.pctOrange,"aria-valuemin":"0","aria-valuemax":"100"}},[t.budgetLimit.pctRed<=50&&t.budgetLimit.pctOrange>35?s("span",[t._v("\n Spent\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent))+"\n of\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount))+"\n ")]):t._e()]),t._v(" "),s("div",{staticClass:"progress-bar bg-danger progress-bar-striped",style:"width: "+t.budgetLimit.pctRed+"%;",attrs:{role:"progressbar","aria-valuenow":t.budgetLimit.pctRed,"aria-valuemin":"0","aria-valuemax":"100"}},[t.budgetLimit.pctOrange<=50&&t.budgetLimit.pctRed>35?s("span",[t._v("\n Spent\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent))+"\n of\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount))+"\n ")]):t._e()])]),t._v(" "),s("small",{staticClass:"d-none d-lg-block"},[t._v("\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.budgetLimit.start))+"\n →\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.budgetLimit.end))+"\n ")])]),t._v(" "),s("td",{staticClass:"align-middle d-none d-lg-table-cell",staticStyle:{width:"10%"}},[parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)>0?s("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)))+"\n ")]):t._e(),t._v(" "),0===parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)?s("span",{staticClass:"text-muted"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(0))+"\n ")]):t._e(),t._v(" "),parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)<0?s("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)))+"\n ")]):t._e()])])}),[],!1,null,"6fcd37c4",null).exports,u={name:"BudgetRow",mounted:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US"}},props:{budget:{type:Object,default:{}}}},m={name:"BudgetListGroup",components:{BudgetLimitRow:d,BudgetRow:Object(c.a)(u,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("tr",[s("td",{staticStyle:{width:"25%"}},[s("a",{attrs:{href:"./budgets/show/"+t.budget.id}},[t._v(t._s(t.budget.name))])]),t._v(" "),s("td",{staticClass:"align-middle text-right"},[s("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budget.currency_code}).format(parseFloat(t.budget.spent)))+"\n ")])])])}),[],!1,null,"3e0b277e",null).exports},props:{title:String,budgetLimits:Array,budgets:Array}},g={name:"MainBudgetList",components:{BudgetListGroup:Object(c.a)(m,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card"},[s("div",{staticClass:"card-header"},[s("h3",{staticClass:"card-title"},[t._v(t._s(t.title))])]),t._v(" "),s("div",{staticClass:"card-body table-responsive p-0"},[s("table",{staticClass:"table table-sm"},[s("tbody",[t._l(t.budgetLimits,(function(t,e){return s("BudgetLimitRow",{key:e,attrs:{budgetLimit:t}})})),t._v(" "),t._l(t.budgets,(function(t,e){return s("BudgetRow",{key:e,attrs:{budget:t}})}))],2)])]),t._v(" "),s("div",{staticClass:"card-footer"},[s("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./budgets"}},[s("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_budgets")))])])])}),[],!1,null,"1480b15a",null).exports},data:function(){return{budgetList:["daily","weekly","monthly","quarterly","half_year","yearly","other"],budgetLimits:{daily:[],weekly:[],monthly:[],quarterly:[],half_year:[],yearly:[],other:[]},budgets:{},rawBudgets:[],locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.collectData()},methods:{collectData:function(){this.getBudgets()},getBudgets:function(){var t=this;axios.get("./api/v1/budgets?start="+window.sessionStart+"&end="+window.sessionEnd).then((function(e){t.parseBudgets(e.data)}))},parseBudgets:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var s=t.data[e];for(var a in s.attributes.spent)if(s.attributes.spent.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var r=s.attributes.spent[a];this.rawBudgets.push({id:parseInt(s.id),name:s.attributes.name,currency_id:parseInt(r.currency_id),currency_code:r.currency_code,spent:r.sum})}}this.getBudgetLimits()},getBudgetLimits:function(){var t=this;axios.get("./api/v1/budgets/limits?start="+window.sessionStart+"&end="+window.sessionEnd).then((function(e){t.parseBudgetLimits(e.data)}))},parseBudgetLimits:function(t){for(var e in t.included)t.included.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&(this.budgets[t.included[e].id]={id:t.included[e].id,name:t.included[e].attributes.name});for(var s in t.data)if(t.data.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var a,r=0,n=0,i=0;this.filterBudgets(t.data[s].attributes.budget_id,t.data[s].attributes.currency_id),0!==parseFloat(t.data[s].attributes.spent)&&-1*parseFloat(t.data[s].attributes.spent)<parseFloat(t.data[s].attributes.amount)&&(r=-1*parseFloat(t.data[s].attributes.spent)/parseFloat(t.data[s].attributes.amount)*100),0!==parseFloat(t.data[s].attributes.spent)&&-1*parseFloat(t.data[s].attributes.spent)>parseFloat(t.data[s].attributes.amount)&&(i=100-(n=parseFloat(t.data[s].attributes.amount)/parseFloat(t.data[s].attributes.spent)*-1*100));var o={id:t.data[s].id,amount:t.data[s].attributes.amount,budget_id:t.data[s].attributes.budget_id,budget_name:this.budgets[t.data[s].attributes.budget_id].name,currency_id:t.data[s].attributes.currency_id,currency_code:t.data[s].attributes.currency_code,period:t.data[s].attributes.period,start:new Date(t.data[s].attributes.start),end:new Date(t.data[s].attributes.end),spent:t.data[s].attributes.spent,pctGreen:r,pctOrange:n,pctRed:i},l=null!==(a=t.data[s].attributes.period)&&void 0!==a?a:"other";this.budgetLimits[l].push(o)}},filterBudgets:function(t,e){for(var s in this.rawBudgets)this.rawBudgets.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&this.rawBudgets[s].currency_id===e&&this.rawBudgets[s].id===t&&this.rawBudgets.splice(s,1)}}},b=Object(c.a)(g,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"row"},[t.budgetLimits.daily.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.daily_budgets"),budgetLimits:t.budgetLimits.daily}})],1):t._e(),t._v(" "),t.budgetLimits.weekly.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.weekly_budgets"),budgetLimits:t.budgetLimits.weekly}})],1):t._e(),t._v(" "),t.budgetLimits.monthly.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.monthly_budgets"),budgetLimits:t.budgetLimits.monthly}})],1):t._e(),t._v(" "),t.budgetLimits.quarterly.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.quarterly_budgets"),budgetLimits:t.budgetLimits.quarterly}})],1):t._e(),t._v(" "),t.budgetLimits.half_year.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.half_year_budgets"),budgetLimits:t.budgetLimits.half_year}})],1):t._e(),t._v(" "),t.budgetLimits.yearly.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.yearly_budgets"),budgetLimits:t.budgetLimits.yearly}})],1):t._e(),t._v(" "),t.budgetLimits.other.length>0||t.rawBudgets.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.other_budgets"),budgetLimits:t.budgetLimits.other,budgets:t.rawBudgets}})],1):t._e()])])}),[],!1,null,"f0d512f0",null).exports,p=s(15),y={name:"MainDebitList",created:function(){axios.get("./api/v1/chart/account/expense?start="+window.sessionStart+"&end="+window.sessionEnd).then((function(t){console.log(t.data)}))}},v=Object(c.a)(y,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card"},[s("div",{staticClass:"card-header"},[s("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.expense_accounts")))])]),t._v(" "),t._m(0),t._v(" "),s("div",{staticClass:"card-footer"},[s("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./transactions/withdrawals"}},[s("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_expenses")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card-body table-responsive p-0"},[e("table",{staticClass:"table table-sm"},[e("tr",[e("td",[this._v("hallo")])])])])}],!1,null,"190a4a67",null).exports,_=s(16),f=s(17),h=s(18),j=s(19),w=s(167),L=s.n(w),C={name:"Calendar",mounted:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US",range:{start:new Date(window.sessionStart),end:new Date(window.sessionEnd)}}}},x=(s(171),Object(c.a)(C,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"row"},[s("div",{staticClass:"col"},[t._v("Start")]),t._v(" "),s("div",{staticClass:"col-8"},[t._v(t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.range.start)))])]),t._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col"},[t._v("End")]),t._v(" "),s("div",{staticClass:"col-8"},[t._v(t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.range.end)))])]),t._v(" "),s("date-picker",{attrs:{mode:"date",rows:"2","is-range":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.inputValue,r=e.inputEvents,n=e.isDragging,i=e.togglePopover;return[s("div",{staticClass:"btn-group btn-group-sm btn-group-justified"},[s("button",{staticClass:"btn btn-secondary btn-sm",on:{click:function(t){return i({placement:"auto-start",positionFixed:!0})}}},[s("i",{staticClass:"fas fa-calendar-alt"})]),t._v(" "),s("button",{staticClass:"btn btn-secondary"},[s("i",{staticClass:"fas fa-history"})]),t._v(" "),s("button",{staticClass:"btn btn-secondary dropdown-toggle",attrs:{type:"button",id:"dropdownMenuButton","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[s("i",{staticClass:"fas fa-list"})]),t._v(" "),s("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"}},[s("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[t._v("(prev period)")]),t._v(" "),s("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[t._v("(next period)")]),t._v(" "),s("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[t._v("(this week?)")])])]),t._v(" "),s("input",t._g({class:n?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:a.start}},r.start)),t._v(" "),s("input",t._g({class:n?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:a.end}},r.end))]}}]),model:{value:t.range,callback:function(e){t.range=e},expression:"range"}})],1)}),[],!1,null,"46bd25c8",null).exports),F={name:"MainCategoryList",mounted:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.getCategories()},data:function(){return{locale:"en-US",categories:[],sortedList:[],spent:0,earned:0}},methods:{getCategories:function(){var t=this;axios.get("./api/v1/categories?start="+window.sessionStart+"&end="+window.sessionEnd).then((function(e){t.parseCategories(e.data)}))},parseCategories:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var s=t.data[e],a=null,r=parseInt(s.id);for(var n in s.attributes.spent)if(s.attributes.spent.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var i,o=s.attributes.spent[n];a=o.currency_id.toString()+"-"+s.id.toString(),this.categories[a]=null!==(i=this.categories[a])&&void 0!==i?i:{id:r,name:s.attributes.name,currency_code:o.currency_code,currency_symbol:o.currency_symbol,spent:0,earned:0,spentPct:0,earnedPct:0},this.categories[a].spent=parseFloat(o.sum),this.spent=parseFloat(o.sum)<this.spent?parseFloat(o.sum):this.spent}for(var l in s.attributes.earned)if(s.attributes.earned.hasOwnProperty(l)&&/^0$|^[1-9]\d*$/.test(l)&&l<=4294967294){var c,d=s.attributes.earned[l];a=d.currency_id.toString()+"-"+s.id.toString(),this.categories[a]=null!==(c=this.categories[a])&&void 0!==c?c:{id:r,name:s.attributes.name,currency_code:d.currency_code,currency_symbol:d.currency_symbol,spent:0,earned:0,spentPct:0,earnedPct:0},this.categories[a].earned=parseFloat(d.sum),this.earned=parseFloat(d.sum)>this.earned?parseFloat(d.sum):this.earned}}this.sortCategories()},sortCategories:function(){for(var t in this.categories.sort((function(t,e){return t.spent+t.earned-(e.spent+e.earned)})),this.categories)if(this.categories.hasOwnProperty(t)){var e=this.categories[t];e.spentPct=e.spent/this.spent*100,e.earnedPct=e.earned/this.earned*100,this.sortedList.push(e)}}}},k=Object(c.a)(F,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card"},[s("div",{staticClass:"card-header"},[s("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.categories")))])]),t._v(" "),s("div",{staticClass:"card-body table-responsive p-0"},[s("table",{staticClass:"table table-sm"},[s("tbody",t._l(t.sortedList,(function(e){return s("tr",[s("td",{staticStyle:{width:"20%"}},[s("a",{attrs:{href:"./categories/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),s("td",{staticClass:"align-middle"},[e.spentPct>0?s("div",{staticClass:"progress"},[s("div",{staticClass:"progress-bar progress-bar-striped bg-danger",style:{width:e.spentPct+"%"},attrs:{role:"progressbar","aria-valuenow":e.spentPct,"aria-valuemin":"0","aria-valuemax":"100"}},[e.spentPct>20?s("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.spent))+"\n ")]):t._e()]),t._v(" "),e.spentPct<=20?s("span",[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.spent))+"\n ")]):t._e()]):t._e(),t._v(" "),e.earnedPct>0?s("div",{staticClass:"progress justify-content-end",attrs:{title:"hello2"}},[e.earnedPct<=20?s("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.earned))+"\n ")]):t._e(),t._v(" "),s("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.earnedPct+"%"},attrs:{role:"progressbar","aria-valuenow":e.earnedPct,"aria-valuemin":"0","aria-valuemax":"100",title:"hello"}},[e.earnedPct>20?s("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.earned))+"\n ")]):t._e()])]):t._e()])])})),0)])])])}),[],!1,null,"c20202e4",null).exports;s(5),s(200),Vue.config.devtools=!1,Vue.component("transaction-list-large",f.a),Vue.component("transaction-list-medium",h.a),Vue.component("transaction-list-small",j.a),Vue.component("date-picker",L.a),Vue.component("dashboard",a.a),Vue.component("top-boxes",r.a),Vue.component("main-account",n.a),Vue.component("main-account-list",i.a),Vue.component("main-bills-list",o.a),Vue.component("main-budget-list",b),Vue.component("main-category-list",k),Vue.component("main-credit",p.a),Vue.component("main-debit-list",v),Vue.component("main-piggy-list",_.a);var B=s(8),S={};new Vue({i18n:B,el:"#dashboard",render:function(t){return t(a.a,{props:S})}}),new Vue({i18n:B,el:"#calendar",render:function(t){return t(x,{props:S})}})},238:function(t,e){}},[[168,0,1]]]);+(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{168:function(t,e,s){s(232),t.exports=s(238)},171:function(t,e,s){"use strict";s(22)},172:function(t,e,s){(t.exports=s(173)(!1)).push([t.i,".dropdown-item[data-v-46bd25c8],.dropdown-item[data-v-46bd25c8]:hover{color:#212529}",""])},202:function(t,e,s){var a={"./af":31,"./af.js":31,"./ar":32,"./ar-dz":33,"./ar-dz.js":33,"./ar-kw":34,"./ar-kw.js":34,"./ar-ly":35,"./ar-ly.js":35,"./ar-ma":36,"./ar-ma.js":36,"./ar-sa":37,"./ar-sa.js":37,"./ar-tn":38,"./ar-tn.js":38,"./ar.js":32,"./az":39,"./az.js":39,"./be":40,"./be.js":40,"./bg":41,"./bg.js":41,"./bm":42,"./bm.js":42,"./bn":43,"./bn-bd":44,"./bn-bd.js":44,"./bn.js":43,"./bo":45,"./bo.js":45,"./br":46,"./br.js":46,"./bs":47,"./bs.js":47,"./ca":48,"./ca.js":48,"./cs":49,"./cs.js":49,"./cv":50,"./cv.js":50,"./cy":51,"./cy.js":51,"./da":52,"./da.js":52,"./de":53,"./de-at":54,"./de-at.js":54,"./de-ch":55,"./de-ch.js":55,"./de.js":53,"./dv":56,"./dv.js":56,"./el":57,"./el.js":57,"./en-au":58,"./en-au.js":58,"./en-ca":59,"./en-ca.js":59,"./en-gb":60,"./en-gb.js":60,"./en-ie":61,"./en-ie.js":61,"./en-il":62,"./en-il.js":62,"./en-in":63,"./en-in.js":63,"./en-nz":64,"./en-nz.js":64,"./en-sg":65,"./en-sg.js":65,"./eo":66,"./eo.js":66,"./es":67,"./es-do":68,"./es-do.js":68,"./es-mx":69,"./es-mx.js":69,"./es-us":70,"./es-us.js":70,"./es.js":67,"./et":71,"./et.js":71,"./eu":72,"./eu.js":72,"./fa":73,"./fa.js":73,"./fi":74,"./fi.js":74,"./fil":75,"./fil.js":75,"./fo":76,"./fo.js":76,"./fr":77,"./fr-ca":78,"./fr-ca.js":78,"./fr-ch":79,"./fr-ch.js":79,"./fr.js":77,"./fy":80,"./fy.js":80,"./ga":81,"./ga.js":81,"./gd":82,"./gd.js":82,"./gl":83,"./gl.js":83,"./gom-deva":84,"./gom-deva.js":84,"./gom-latn":85,"./gom-latn.js":85,"./gu":86,"./gu.js":86,"./he":87,"./he.js":87,"./hi":88,"./hi.js":88,"./hr":89,"./hr.js":89,"./hu":90,"./hu.js":90,"./hy-am":91,"./hy-am.js":91,"./id":92,"./id.js":92,"./is":93,"./is.js":93,"./it":94,"./it-ch":95,"./it-ch.js":95,"./it.js":94,"./ja":96,"./ja.js":96,"./jv":97,"./jv.js":97,"./ka":98,"./ka.js":98,"./kk":99,"./kk.js":99,"./km":100,"./km.js":100,"./kn":101,"./kn.js":101,"./ko":102,"./ko.js":102,"./ku":103,"./ku.js":103,"./ky":104,"./ky.js":104,"./lb":105,"./lb.js":105,"./lo":106,"./lo.js":106,"./lt":107,"./lt.js":107,"./lv":108,"./lv.js":108,"./me":109,"./me.js":109,"./mi":110,"./mi.js":110,"./mk":111,"./mk.js":111,"./ml":112,"./ml.js":112,"./mn":113,"./mn.js":113,"./mr":114,"./mr.js":114,"./ms":115,"./ms-my":116,"./ms-my.js":116,"./ms.js":115,"./mt":117,"./mt.js":117,"./my":118,"./my.js":118,"./nb":119,"./nb.js":119,"./ne":120,"./ne.js":120,"./nl":121,"./nl-be":122,"./nl-be.js":122,"./nl.js":121,"./nn":123,"./nn.js":123,"./oc-lnc":124,"./oc-lnc.js":124,"./pa-in":125,"./pa-in.js":125,"./pl":126,"./pl.js":126,"./pt":127,"./pt-br":128,"./pt-br.js":128,"./pt.js":127,"./ro":129,"./ro.js":129,"./ru":130,"./ru.js":130,"./sd":131,"./sd.js":131,"./se":132,"./se.js":132,"./si":133,"./si.js":133,"./sk":134,"./sk.js":134,"./sl":135,"./sl.js":135,"./sq":136,"./sq.js":136,"./sr":137,"./sr-cyrl":138,"./sr-cyrl.js":138,"./sr.js":137,"./ss":139,"./ss.js":139,"./sv":140,"./sv.js":140,"./sw":141,"./sw.js":141,"./ta":142,"./ta.js":142,"./te":143,"./te.js":143,"./tet":144,"./tet.js":144,"./tg":145,"./tg.js":145,"./th":146,"./th.js":146,"./tk":147,"./tk.js":147,"./tl-ph":148,"./tl-ph.js":148,"./tlh":149,"./tlh.js":149,"./tr":150,"./tr.js":150,"./tzl":151,"./tzl.js":151,"./tzm":152,"./tzm-latn":153,"./tzm-latn.js":153,"./tzm.js":152,"./ug-cn":154,"./ug-cn.js":154,"./uk":155,"./uk.js":155,"./ur":156,"./ur.js":156,"./uz":157,"./uz-latn":158,"./uz-latn.js":158,"./uz.js":157,"./vi":159,"./vi.js":159,"./x-pseudo":160,"./x-pseudo.js":160,"./yo":161,"./yo.js":161,"./zh-cn":162,"./zh-cn.js":162,"./zh-hk":163,"./zh-hk.js":163,"./zh-mo":164,"./zh-mo.js":164,"./zh-tw":165,"./zh-tw.js":165};function r(t){var e=n(t);return s(e)}function n(t){if(!s.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}r.keys=function(){return Object.keys(a)},r.resolve=n,t.exports=r,r.id=202},22:function(t,e,s){var a=s(172);"string"==typeof a&&(a=[[t.i,a,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};s(174)(a,r);a.locals&&(t.exports=a.locals)},232:function(t,e,s){"use strict";s.r(e);var a=s(10),r=s(12),n=s(11),i=s(13),o=s(14),l={name:"BudgetLimitRow",mounted:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US"}},props:{budgetLimit:{type:Object,default:{}},budget:{type:Object,default:{}}}},c=s(1),d=Object(c.a)(l,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("tr",[s("td",{staticStyle:{width:"25%"}},[s("a",{attrs:{href:"./budgets/show/"+t.budgetLimit.budget_id}},[t._v(t._s(t.budgetLimit.budget_name))])]),t._v(" "),s("td",{staticStyle:{"vertical-align":"middle"}},[s("div",{staticClass:"progress progress active"},[s("div",{staticClass:"progress-bar bg-success progress-bar-striped",style:"width: "+t.budgetLimit.pctGreen+"%;",attrs:{role:"progressbar","aria-valuenow":t.budgetLimit.pctGreen,"aria-valuemin":"0","aria-valuemax":"100"}},[t.budgetLimit.pctGreen>35?s("span",[t._v("\n Spent\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent))+"\n of\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount))+"\n ")]):t._e()]),t._v(" "),s("div",{staticClass:"progress-bar bg-warning progress-bar-striped",style:"width: "+t.budgetLimit.pctOrange+"%;",attrs:{role:"progressbar","aria-valuenow":t.budgetLimit.pctOrange,"aria-valuemin":"0","aria-valuemax":"100"}},[t.budgetLimit.pctRed<=50&&t.budgetLimit.pctOrange>35?s("span",[t._v("\n Spent\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent))+"\n of\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount))+"\n ")]):t._e()]),t._v(" "),s("div",{staticClass:"progress-bar bg-danger progress-bar-striped",style:"width: "+t.budgetLimit.pctRed+"%;",attrs:{role:"progressbar","aria-valuenow":t.budgetLimit.pctRed,"aria-valuemin":"0","aria-valuemax":"100"}},[t.budgetLimit.pctOrange<=50&&t.budgetLimit.pctRed>35?s("span",[t._v("\n Spent\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent))+"\n of\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount))+"\n ")]):t._e()])]),t._v(" "),s("small",{staticClass:"d-none d-lg-block"},[t._v("\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.budgetLimit.start))+"\n →\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.budgetLimit.end))+"\n ")])]),t._v(" "),s("td",{staticClass:"align-middle d-none d-lg-table-cell",staticStyle:{width:"10%"}},[parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)>0?s("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)))+"\n ")]):t._e(),t._v(" "),0===parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)?s("span",{staticClass:"text-muted"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(0))+"\n ")]):t._e(),t._v(" "),parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)<0?s("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)))+"\n ")]):t._e()])])}),[],!1,null,"6fcd37c4",null).exports,u={name:"BudgetRow",mounted:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US"}},props:{budget:{type:Object,default:{}}}},m={name:"BudgetListGroup",components:{BudgetLimitRow:d,BudgetRow:Object(c.a)(u,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("tr",[s("td",{staticStyle:{width:"25%"}},[s("a",{attrs:{href:"./budgets/show/"+t.budget.id}},[t._v(t._s(t.budget.name))])]),t._v(" "),s("td",{staticClass:"align-middle text-right"},[s("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budget.currency_code}).format(parseFloat(t.budget.spent)))+"\n ")])])])}),[],!1,null,"3e0b277e",null).exports},props:{title:String,budgetLimits:Array,budgets:Array}},g={name:"MainBudgetList",components:{BudgetListGroup:Object(c.a)(m,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card"},[s("div",{staticClass:"card-header"},[s("h3",{staticClass:"card-title"},[t._v(t._s(t.title))])]),t._v(" "),s("div",{staticClass:"card-body table-responsive p-0"},[s("table",{staticClass:"table table-sm"},[s("tbody",[t._l(t.budgetLimits,(function(t,e){return s("BudgetLimitRow",{key:e,attrs:{budgetLimit:t}})})),t._v(" "),t._l(t.budgets,(function(t,e){return s("BudgetRow",{key:e,attrs:{budget:t}})}))],2)])]),t._v(" "),s("div",{staticClass:"card-footer"},[s("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./budgets"}},[s("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_budgets")))])])])}),[],!1,null,"1480b15a",null).exports},data:function(){return{budgetList:["daily","weekly","monthly","quarterly","half_year","yearly","other"],budgetLimits:{daily:[],weekly:[],monthly:[],quarterly:[],half_year:[],yearly:[],other:[]},budgets:{},rawBudgets:[],locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.collectData()},methods:{collectData:function(){this.getBudgets()},getBudgets:function(){var t=this;axios.get("./api/v1/budgets?start="+window.sessionStart+"&end="+window.sessionEnd).then((function(e){t.parseBudgets(e.data)}))},parseBudgets:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var s=t.data[e];for(var a in s.attributes.spent)if(s.attributes.spent.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var r=s.attributes.spent[a];this.rawBudgets.push({id:parseInt(s.id),name:s.attributes.name,currency_id:parseInt(r.currency_id),currency_code:r.currency_code,spent:r.sum})}}this.getBudgetLimits()},getBudgetLimits:function(){var t=this;axios.get("./api/v1/budgets/limits?start="+window.sessionStart+"&end="+window.sessionEnd).then((function(e){t.parseBudgetLimits(e.data)}))},parseBudgetLimits:function(t){for(var e in t.included)t.included.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&(this.budgets[t.included[e].id]={id:t.included[e].id,name:t.included[e].attributes.name});for(var s in t.data)if(t.data.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var a,r=0,n=0,i=0;this.filterBudgets(t.data[s].attributes.budget_id,t.data[s].attributes.currency_id),0!==parseFloat(t.data[s].attributes.spent)&&-1*parseFloat(t.data[s].attributes.spent)<parseFloat(t.data[s].attributes.amount)&&(r=-1*parseFloat(t.data[s].attributes.spent)/parseFloat(t.data[s].attributes.amount)*100),0!==parseFloat(t.data[s].attributes.spent)&&-1*parseFloat(t.data[s].attributes.spent)>parseFloat(t.data[s].attributes.amount)&&(i=100-(n=parseFloat(t.data[s].attributes.amount)/parseFloat(t.data[s].attributes.spent)*-1*100));var o={id:t.data[s].id,amount:t.data[s].attributes.amount,budget_id:t.data[s].attributes.budget_id,budget_name:this.budgets[t.data[s].attributes.budget_id].name,currency_id:t.data[s].attributes.currency_id,currency_code:t.data[s].attributes.currency_code,period:t.data[s].attributes.period,start:new Date(t.data[s].attributes.start),end:new Date(t.data[s].attributes.end),spent:t.data[s].attributes.spent,pctGreen:r,pctOrange:n,pctRed:i},l=null!==(a=t.data[s].attributes.period)&&void 0!==a?a:"other";this.budgetLimits[l].push(o)}},filterBudgets:function(t,e){for(var s in this.rawBudgets)this.rawBudgets.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&this.rawBudgets[s].currency_id===e&&this.rawBudgets[s].id===t&&this.rawBudgets.splice(s,1)}}},b=Object(c.a)(g,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"row"},[t.budgetLimits.daily.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.daily_budgets"),budgetLimits:t.budgetLimits.daily}})],1):t._e(),t._v(" "),t.budgetLimits.weekly.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.weekly_budgets"),budgetLimits:t.budgetLimits.weekly}})],1):t._e(),t._v(" "),t.budgetLimits.monthly.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.monthly_budgets"),budgetLimits:t.budgetLimits.monthly}})],1):t._e(),t._v(" "),t.budgetLimits.quarterly.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.quarterly_budgets"),budgetLimits:t.budgetLimits.quarterly}})],1):t._e(),t._v(" "),t.budgetLimits.half_year.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.half_year_budgets"),budgetLimits:t.budgetLimits.half_year}})],1):t._e(),t._v(" "),t.budgetLimits.yearly.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.yearly_budgets"),budgetLimits:t.budgetLimits.yearly}})],1):t._e(),t._v(" "),t.budgetLimits.other.length>0||t.rawBudgets.length>0?s("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[s("BudgetListGroup",{attrs:{title:t.$t("firefly.other_budgets"),budgetLimits:t.budgetLimits.other,budgets:t.rawBudgets}})],1):t._e()])])}),[],!1,null,"f0d512f0",null).exports,p=s(15),y={name:"MainDebitList",created:function(){axios.get("./api/v1/chart/account/expense?start="+window.sessionStart+"&end="+window.sessionEnd).then((function(t){console.log(t.data)}))}},v=Object(c.a)(y,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card"},[s("div",{staticClass:"card-header"},[s("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.expense_accounts")))])]),t._v(" "),t._m(0),t._v(" "),s("div",{staticClass:"card-footer"},[s("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./transactions/withdrawals"}},[s("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_expenses")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card-body table-responsive p-0"},[e("table",{staticClass:"table table-sm"},[e("tr",[e("td",[this._v("hallo")])])])])}],!1,null,"190a4a67",null).exports,_=s(16),f=s(17),h=s(18),j=s(19),w=s(167),L=s.n(w),C={name:"Calendar",mounted:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US",range:{start:new Date(window.sessionStart),end:new Date(window.sessionEnd)}}}},x=(s(171),Object(c.a)(C,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"row"},[s("div",{staticClass:"col"},[t._v("Start")]),t._v(" "),s("div",{staticClass:"col-8"},[t._v(t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.range.start)))])]),t._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col"},[t._v("End")]),t._v(" "),s("div",{staticClass:"col-8"},[t._v(t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.range.end)))])]),t._v(" "),s("date-picker",{attrs:{mode:"date",rows:"2","is-range":""},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.inputValue,r=e.inputEvents,n=e.isDragging,i=e.togglePopover;return[s("div",{staticClass:"btn-group btn-group-sm btn-group-justified"},[s("button",{staticClass:"btn btn-secondary btn-sm",on:{click:function(t){return i({placement:"auto-start",positionFixed:!0})}}},[s("i",{staticClass:"fas fa-calendar-alt"})]),t._v(" "),s("button",{staticClass:"btn btn-secondary"},[s("i",{staticClass:"fas fa-history"})]),t._v(" "),s("button",{staticClass:"btn btn-secondary dropdown-toggle",attrs:{type:"button",id:"dropdownMenuButton","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[s("i",{staticClass:"fas fa-list"})]),t._v(" "),s("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"}},[s("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[t._v("(prev period)")]),t._v(" "),s("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[t._v("(next period)")]),t._v(" "),s("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[t._v("(this week?)")])])]),t._v(" "),s("input",t._g({class:n?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:a.start}},r.start)),t._v(" "),s("input",t._g({class:n?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:a.end}},r.end))]}}]),model:{value:t.range,callback:function(e){t.range=e},expression:"range"}})],1)}),[],!1,null,"46bd25c8",null).exports),F={name:"MainCategoryList",mounted:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.getCategories()},data:function(){return{locale:"en-US",categories:[],sortedList:[],spent:0,earned:0}},methods:{getCategories:function(){var t=this;axios.get("./api/v1/categories?start="+window.sessionStart+"&end="+window.sessionEnd).then((function(e){t.parseCategories(e.data)}))},parseCategories:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var s=t.data[e],a=null,r=parseInt(s.id);for(var n in s.attributes.spent)if(s.attributes.spent.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var i,o=s.attributes.spent[n];a=o.currency_id.toString()+"-"+s.id.toString(),this.categories[a]=null!==(i=this.categories[a])&&void 0!==i?i:{id:r,name:s.attributes.name,currency_code:o.currency_code,currency_symbol:o.currency_symbol,spent:0,earned:0,spentPct:0,earnedPct:0},this.categories[a].spent=parseFloat(o.sum),this.spent=parseFloat(o.sum)<this.spent?parseFloat(o.sum):this.spent}for(var l in s.attributes.earned)if(s.attributes.earned.hasOwnProperty(l)&&/^0$|^[1-9]\d*$/.test(l)&&l<=4294967294){var c,d=s.attributes.earned[l];a=d.currency_id.toString()+"-"+s.id.toString(),this.categories[a]=null!==(c=this.categories[a])&&void 0!==c?c:{id:r,name:s.attributes.name,currency_code:d.currency_code,currency_symbol:d.currency_symbol,spent:0,earned:0,spentPct:0,earnedPct:0},this.categories[a].earned=parseFloat(d.sum),this.earned=parseFloat(d.sum)>this.earned?parseFloat(d.sum):this.earned}}this.sortCategories()},sortCategories:function(){var t=[];for(var e in this.categories)this.categories.hasOwnProperty(e)&&t.push(this.categories[e]);for(var s in t.sort((function(t,e){return t.spent+t.earned-(e.spent+e.earned)})),t)if(t.hasOwnProperty(s)){var a=t[s];a.spentPct=a.spent/this.spent*100,a.earnedPct=a.earned/this.earned*100,this.sortedList.push(a)}}}},k=Object(c.a)(F,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card"},[s("div",{staticClass:"card-header"},[s("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.categories")))])]),t._v(" "),s("div",{staticClass:"card-body table-responsive p-0"},[s("table",{staticClass:"table table-sm"},[s("tbody",t._l(t.sortedList,(function(e){return s("tr",[s("td",{staticStyle:{width:"20%"}},[s("a",{attrs:{href:"./categories/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),s("td",{staticClass:"align-middle"},[e.spentPct>0?s("div",{staticClass:"progress"},[s("div",{staticClass:"progress-bar progress-bar-striped bg-danger",style:{width:e.spentPct+"%"},attrs:{role:"progressbar","aria-valuenow":e.spentPct,"aria-valuemin":"0","aria-valuemax":"100"}},[e.spentPct>20?s("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.spent))+"\n ")]):t._e()]),t._v(" "),e.spentPct<=20?s("span",[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.spent))+"\n ")]):t._e()]):t._e(),t._v(" "),e.earnedPct>0?s("div",{staticClass:"progress justify-content-end",attrs:{title:"hello2"}},[e.earnedPct<=20?s("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.earned))+"\n ")]):t._e(),t._v(" "),s("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.earnedPct+"%"},attrs:{role:"progressbar","aria-valuenow":e.earnedPct,"aria-valuemin":"0","aria-valuemax":"100",title:"hello"}},[e.earnedPct>20?s("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.earned))+"\n ")]):t._e()])]):t._e()])])})),0)])])])}),[],!1,null,"514792cf",null).exports;s(5),s(200),Vue.config.devtools=!1,Vue.component("transaction-list-large",f.a),Vue.component("transaction-list-medium",h.a),Vue.component("transaction-list-small",j.a),Vue.component("date-picker",L.a),Vue.component("dashboard",a.a),Vue.component("top-boxes",r.a),Vue.component("main-account",n.a),Vue.component("main-account-list",i.a),Vue.component("main-bills-list",o.a),Vue.component("main-budget-list",b),Vue.component("main-category-list",k),Vue.component("main-credit",p.a),Vue.component("main-debit-list",v),Vue.component("main-piggy-list",_.a);var B=s(8),S={};new Vue({i18n:B,el:"#dashboard",render:function(t){return t(a.a,{props:S})}}),new Vue({i18n:B,el:"#calendar",render:function(t){return t(x,{props:S})}})},238:function(t,e){}},[[168,0,1]]]);//# sourceMappingURL=dashboard.js.map\ No newline at end of filediff --git a/public/v2/js/dashboard.js.map b/public/v2/js/dashboard.js.mapindex c5314da721..d2f491faae 100644--- a/public/v2/js/dashboard.js.map+++ b/public/v2/js/dashboard.js.map@@ -1 +1 @@-{"version":3,"sources":["webpack:///./src/components/dashboard/Calendar.vue?cbe0","webpack:///./src/components/dashboard/Calendar.vue?0a44","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/components/dashboard/Calendar.vue?11f5","webpack:///./src/components/dashboard/BudgetLimitRow.vue?c9a7","webpack:///src/components/dashboard/BudgetLimitRow.vue","webpack:///./src/components/dashboard/BudgetLimitRow.vue","webpack:///./src/components/dashboard/BudgetLimitRow.vue?9678","webpack:///./src/components/dashboard/BudgetRow.vue?09f9","webpack:///src/components/dashboard/BudgetRow.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue?7954","webpack:///src/components/dashboard/BudgetListGroup.vue","webpack:///./src/components/dashboard/BudgetRow.vue","webpack:///./src/components/dashboard/BudgetRow.vue?1b73","webpack:///./src/components/dashboard/MainBudgetList.vue?9843","webpack:///src/components/dashboard/MainBudgetList.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue?9cbb","webpack:///./src/components/dashboard/MainBudgetList.vue","webpack:///./src/components/dashboard/MainBudgetList.vue?4433","webpack:///./src/components/dashboard/MainDebitList.vue?587b","webpack:///src/components/dashboard/MainDebitList.vue","webpack:///./src/components/dashboard/MainDebitList.vue","webpack:///./src/components/dashboard/MainDebitList.vue?59f5","webpack:///./src/components/dashboard/Calendar.vue?b9d0","webpack:///src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue?8eb1","webpack:///./src/components/dashboard/MainCategoryList.vue?9f14","webpack:///src/components/dashboard/MainCategoryList.vue","webpack:///./src/components/dashboard/MainCategoryList.vue","webpack:///./src/components/dashboard/MainCategoryList.vue?dfa9","webpack:///./src/pages/dashboard.js"],"names":["module","exports","push","i","map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","content","options","transform","undefined","locals","name","mounted","this","locale","data","props","budgetLimit","type","default","budget","_vm","_h","$createElement","_c","_self","staticStyle","attrs","budget_id","_v","_s","budget_name","staticClass","style","pctGreen","Intl","NumberFormat","currency","currency_code","format","spent","amount","_e","pctOrange","pctRed","DateTimeFormat","year","month","day","start","end","parseFloat","components","title","String","budgetLimits","Array","budgets","_l","key","$t","budgetList","daily","weekly","monthly","quarterly","half_year","yearly","other","rawBudgets","created","collectData","methods","length","axios","get","window","sessionStart","sessionEnd","_m","range","Date","scopedSlots","_u","fn","ref","inputValue","inputEvents","isDragging","togglePopover","on","$event","placement","positionFixed","_g","class","domProps","model","value","callback","$$v","expression","getCategories","categories","sortedList","earned","category","spentPct","width","earnedPct","require","Vue","config","devtools","component","TransactionListLarge","TransactionListMedium","TransactionListSmall","DatePicker","Dashboard","TopBoxes","MainAccount","MainAccountList","MainBillsList","MainBudgetList","MainCategoryList","MainCredit","MainDebitList","MainPiggyList","i18n","el","render","createElement","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AIS,GAAGK,KAAKC,aAAaf,EAAIP,OAAQ,CAACmB,MAAO,WAAYI,SAAUqE,EAASpE,gBAAgBC,OAAOmE,EAASD,SAAS,sBAAsBpF,EAAIqB,SAASrB,EAAIqB,YAAW,WAC5kE,IDUpB,EACA,KACA,WACA,M,QE2BFoE,EAAQ,GACRA,EAAQ,KACRC,IAAIC,OAAOC,UAAW,EAEtBF,IAAIG,UAAU,yBAA0BC,KACxCJ,IAAIG,UAAU,0BAA2BE,KACzCL,IAAIG,UAAU,yBAA0BG,KAGxCN,IAAIG,UAAU,cAAeI,KAC7BP,IAAIG,UAAU,YAAaK,KAC3BR,IAAIG,UAAU,YAAaM,KAC3BT,IAAIG,UAAU,eAAgBO,KAC9BV,IAAIG,UAAU,oBAAqBQ,KACnCX,IAAIG,UAAU,kBAAmBS,KACjCZ,IAAIG,UAAU,mBAAoBU,GAClCb,IAAIG,UAAU,qBAAsBW,GACpCd,IAAIG,UAAU,cAAeY,KAC7Bf,IAAIG,UAAU,kBAAmBa,GACjChB,IAAIG,UAAU,kBAAmBc,KAGjC,IAAIC,EAAOnB,EAAQ,GAGf9F,EAAQ,GAEZ,IAAI+F,IAAI,CACIkB,OACAC,GAAI,aACJC,OAAQ,SAACC,GACL,OAAOA,EAAcb,IAAW,CAACvG,MAAOA,OAIxD,IAAI+F,IAAI,CACIkB,OACAC,GAAI,YACJC,OAAQ,SAACC,GACL,OAAOA,EAAcC,EAAU,CAACrH,MAAOA,Q","file":"/public/js/dashboard.js","sourcesContent":["export * from \"-!../../../node_modules/style-loader/index.js!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=46bd25c8&scoped=true&lang=css&\"","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".dropdown-item[data-v-46bd25c8],.dropdown-item[data-v-46bd25c8]:hover{color:#212529}\", \"\"]);\n\n// exports\n","var map = {\n\t\"./af\": 31,\n\t\"./af.js\": 31,\n\t\"./ar\": 32,\n\t\"./ar-dz\": 33,\n\t\"./ar-dz.js\": 33,\n\t\"./ar-kw\": 34,\n\t\"./ar-kw.js\": 34,\n\t\"./ar-ly\": 35,\n\t\"./ar-ly.js\": 35,\n\t\"./ar-ma\": 36,\n\t\"./ar-ma.js\": 36,\n\t\"./ar-sa\": 37,\n\t\"./ar-sa.js\": 37,\n\t\"./ar-tn\": 38,\n\t\"./ar-tn.js\": 38,\n\t\"./ar.js\": 32,\n\t\"./az\": 39,\n\t\"./az.js\": 39,\n\t\"./be\": 40,\n\t\"./be.js\": 40,\n\t\"./bg\": 41,\n\t\"./bg.js\": 41,\n\t\"./bm\": 42,\n\t\"./bm.js\": 42,\n\t\"./bn\": 43,\n\t\"./bn-bd\": 44,\n\t\"./bn-bd.js\": 44,\n\t\"./bn.js\": 43,\n\t\"./bo\": 45,\n\t\"./bo.js\": 45,\n\t\"./br\": 46,\n\t\"./br.js\": 46,\n\t\"./bs\": 47,\n\t\"./bs.js\": 47,\n\t\"./ca\": 48,\n\t\"./ca.js\": 48,\n\t\"./cs\": 49,\n\t\"./cs.js\": 49,\n\t\"./cv\": 50,\n\t\"./cv.js\": 50,\n\t\"./cy\": 51,\n\t\"./cy.js\": 51,\n\t\"./da\": 52,\n\t\"./da.js\": 52,\n\t\"./de\": 53,\n\t\"./de-at\": 54,\n\t\"./de-at.js\": 54,\n\t\"./de-ch\": 55,\n\t\"./de-ch.js\": 55,\n\t\"./de.js\": 53,\n\t\"./dv\": 56,\n\t\"./dv.js\": 56,\n\t\"./el\": 57,\n\t\"./el.js\": 57,\n\t\"./en-au\": 58,\n\t\"./en-au.js\": 58,\n\t\"./en-ca\": 59,\n\t\"./en-ca.js\": 59,\n\t\"./en-gb\": 60,\n\t\"./en-gb.js\": 60,\n\t\"./en-ie\": 61,\n\t\"./en-ie.js\": 61,\n\t\"./en-il\": 62,\n\t\"./en-il.js\": 62,\n\t\"./en-in\": 63,\n\t\"./en-in.js\": 63,\n\t\"./en-nz\": 64,\n\t\"./en-nz.js\": 64,\n\t\"./en-sg\": 65,\n\t\"./en-sg.js\": 65,\n\t\"./eo\": 66,\n\t\"./eo.js\": 66,\n\t\"./es\": 67,\n\t\"./es-do\": 68,\n\t\"./es-do.js\": 68,\n\t\"./es-mx\": 69,\n\t\"./es-mx.js\": 69,\n\t\"./es-us\": 70,\n\t\"./es-us.js\": 70,\n\t\"./es.js\": 67,\n\t\"./et\": 71,\n\t\"./et.js\": 71,\n\t\"./eu\": 72,\n\t\"./eu.js\": 72,\n\t\"./fa\": 73,\n\t\"./fa.js\": 73,\n\t\"./fi\": 74,\n\t\"./fi.js\": 74,\n\t\"./fil\": 75,\n\t\"./fil.js\": 75,\n\t\"./fo\": 76,\n\t\"./fo.js\": 76,\n\t\"./fr\": 77,\n\t\"./fr-ca\": 78,\n\t\"./fr-ca.js\": 78,\n\t\"./fr-ch\": 79,\n\t\"./fr-ch.js\": 79,\n\t\"./fr.js\": 77,\n\t\"./fy\": 80,\n\t\"./fy.js\": 80,\n\t\"./ga\": 81,\n\t\"./ga.js\": 81,\n\t\"./gd\": 82,\n\t\"./gd.js\": 82,\n\t\"./gl\": 83,\n\t\"./gl.js\": 83,\n\t\"./gom-deva\": 84,\n\t\"./gom-deva.js\": 84,\n\t\"./gom-latn\": 85,\n\t\"./gom-latn.js\": 85,\n\t\"./gu\": 86,\n\t\"./gu.js\": 86,\n\t\"./he\": 87,\n\t\"./he.js\": 87,\n\t\"./hi\": 88,\n\t\"./hi.js\": 88,\n\t\"./hr\": 89,\n\t\"./hr.js\": 89,\n\t\"./hu\": 90,\n\t\"./hu.js\": 90,\n\t\"./hy-am\": 91,\n\t\"./hy-am.js\": 91,\n\t\"./id\": 92,\n\t\"./id.js\": 92,\n\t\"./is\": 93,\n\t\"./is.js\": 93,\n\t\"./it\": 94,\n\t\"./it-ch\": 95,\n\t\"./it-ch.js\": 95,\n\t\"./it.js\": 94,\n\t\"./ja\": 96,\n\t\"./ja.js\": 96,\n\t\"./jv\": 97,\n\t\"./jv.js\": 97,\n\t\"./ka\": 98,\n\t\"./ka.js\": 98,\n\t\"./kk\": 99,\n\t\"./kk.js\": 99,\n\t\"./km\": 100,\n\t\"./km.js\": 100,\n\t\"./kn\": 101,\n\t\"./kn.js\": 101,\n\t\"./ko\": 102,\n\t\"./ko.js\": 102,\n\t\"./ku\": 103,\n\t\"./ku.js\": 103,\n\t\"./ky\": 104,\n\t\"./ky.js\": 104,\n\t\"./lb\": 105,\n\t\"./lb.js\": 105,\n\t\"./lo\": 106,\n\t\"./lo.js\": 106,\n\t\"./lt\": 107,\n\t\"./lt.js\": 107,\n\t\"./lv\": 108,\n\t\"./lv.js\": 108,\n\t\"./me\": 109,\n\t\"./me.js\": 109,\n\t\"./mi\": 110,\n\t\"./mi.js\": 110,\n\t\"./mk\": 111,\n\t\"./mk.js\": 111,\n\t\"./ml\": 112,\n\t\"./ml.js\": 112,\n\t\"./mn\": 113,\n\t\"./mn.js\": 113,\n\t\"./mr\": 114,\n\t\"./mr.js\": 114,\n\t\"./ms\": 115,\n\t\"./ms-my\": 116,\n\t\"./ms-my.js\": 116,\n\t\"./ms.js\": 115,\n\t\"./mt\": 117,\n\t\"./mt.js\": 117,\n\t\"./my\": 118,\n\t\"./my.js\": 118,\n\t\"./nb\": 119,\n\t\"./nb.js\": 119,\n\t\"./ne\": 120,\n\t\"./ne.js\": 120,\n\t\"./nl\": 121,\n\t\"./nl-be\": 122,\n\t\"./nl-be.js\": 122,\n\t\"./nl.js\": 121,\n\t\"./nn\": 123,\n\t\"./nn.js\": 123,\n\t\"./oc-lnc\": 124,\n\t\"./oc-lnc.js\": 124,\n\t\"./pa-in\": 125,\n\t\"./pa-in.js\": 125,\n\t\"./pl\": 126,\n\t\"./pl.js\": 126,\n\t\"./pt\": 127,\n\t\"./pt-br\": 128,\n\t\"./pt-br.js\": 128,\n\t\"./pt.js\": 127,\n\t\"./ro\": 129,\n\t\"./ro.js\": 129,\n\t\"./ru\": 130,\n\t\"./ru.js\": 130,\n\t\"./sd\": 131,\n\t\"./sd.js\": 131,\n\t\"./se\": 132,\n\t\"./se.js\": 132,\n\t\"./si\": 133,\n\t\"./si.js\": 133,\n\t\"./sk\": 134,\n\t\"./sk.js\": 134,\n\t\"./sl\": 135,\n\t\"./sl.js\": 135,\n\t\"./sq\": 136,\n\t\"./sq.js\": 136,\n\t\"./sr\": 137,\n\t\"./sr-cyrl\": 138,\n\t\"./sr-cyrl.js\": 138,\n\t\"./sr.js\": 137,\n\t\"./ss\": 139,\n\t\"./ss.js\": 139,\n\t\"./sv\": 140,\n\t\"./sv.js\": 140,\n\t\"./sw\": 141,\n\t\"./sw.js\": 141,\n\t\"./ta\": 142,\n\t\"./ta.js\": 142,\n\t\"./te\": 143,\n\t\"./te.js\": 143,\n\t\"./tet\": 144,\n\t\"./tet.js\": 144,\n\t\"./tg\": 145,\n\t\"./tg.js\": 145,\n\t\"./th\": 146,\n\t\"./th.js\": 146,\n\t\"./tk\": 147,\n\t\"./tk.js\": 147,\n\t\"./tl-ph\": 148,\n\t\"./tl-ph.js\": 148,\n\t\"./tlh\": 149,\n\t\"./tlh.js\": 149,\n\t\"./tr\": 150,\n\t\"./tr.js\": 150,\n\t\"./tzl\": 151,\n\t\"./tzl.js\": 151,\n\t\"./tzm\": 152,\n\t\"./tzm-latn\": 153,\n\t\"./tzm-latn.js\": 153,\n\t\"./tzm.js\": 152,\n\t\"./ug-cn\": 154,\n\t\"./ug-cn.js\": 154,\n\t\"./uk\": 155,\n\t\"./uk.js\": 155,\n\t\"./ur\": 156,\n\t\"./ur.js\": 156,\n\t\"./uz\": 157,\n\t\"./uz-latn\": 158,\n\t\"./uz-latn.js\": 158,\n\t\"./uz.js\": 157,\n\t\"./vi\": 159,\n\t\"./vi.js\": 159,\n\t\"./x-pseudo\": 160,\n\t\"./x-pseudo.js\": 160,\n\t\"./yo\": 161,\n\t\"./yo.js\": 161,\n\t\"./zh-cn\": 162,\n\t\"./zh-cn.js\": 162,\n\t\"./zh-hk\": 163,\n\t\"./zh-hk.js\": 163,\n\t\"./zh-mo\": 164,\n\t\"./zh-mo.js\": 164,\n\t\"./zh-tw\": 165,\n\t\"./zh-tw.js\": 165\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 202;","\nvar content = require(\"!!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=46bd25c8&scoped=true&lang=css&\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=46bd25c8&scoped=true&lang=css&\", function() {\n\t\tvar newContent = require(\"!!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=46bd25c8&scoped=true&lang=css&\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetLimitRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetLimitRow.vue?vue&type=script&lang=js&\"","<!--\n - BudgetRow.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <tr>\n <td style=\"width:25%;\">\n <a :href=\"'./budgets/show/' + budgetLimit.budget_id\">{{ budgetLimit.budget_name }}</a>\n </td>\n\n <td style=\"vertical-align: middle\">\n <div class=\"progress progress active\">\n <div class=\"progress-bar bg-success progress-bar-striped\" role=\"progressbar\"\n :aria-valuenow=\"budgetLimit.pctGreen\" aria-valuemin=\"0\" aria-valuemax=\"100\" :style=\"'width: '+ budgetLimit.pctGreen + '%;'\">\n <span v-if=\"budgetLimit.pctGreen > 35\">\n Spent\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent) }}\n of\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount) }}\n </span>\n\n\n </div>\n\n <div class=\"progress-bar bg-warning progress-bar-striped\" role=\"progressbar\"\n :aria-valuenow=\"budgetLimit.pctOrange\" aria-valuemin=\"0\" aria-valuemax=\"100\" :style=\"'width: '+ budgetLimit.pctOrange + '%;'\">\n <span v-if=\"budgetLimit.pctRed <= 50 && budgetLimit.pctOrange > 35\">\n Spent\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent) }}\n of\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount) }}\n </span>\n </div>\n\n <div class=\"progress-bar bg-danger progress-bar-striped\" role=\"progressbar\"\n :aria-valuenow=\"budgetLimit.pctRed\" aria-valuemin=\"0\" aria-valuemax=\"100\" :style=\"'width: '+ budgetLimit.pctRed + '%;'\">\n <span v-if=\"budgetLimit.pctOrange <= 50 && budgetLimit.pctRed > 35\">\n Spent\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent) }}\n of\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount) }}\n </span>\n </div>\n </div>\n <small class=\"d-none d-lg-block\">\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(budgetLimit.start) }}\n →\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(budgetLimit.end) }}\n </small>\n </td>\n\n <td style=\"width:10%;\" class=\"align-middle d-none d-lg-table-cell\">\n <span class=\"text-success\" v-if=\"parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent) > 0\">\n {{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: budgetLimit.currency_code\n }).format(parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent))\n }}\n </span>\n <span class=\"text-muted\" v-if=\"0.0 === parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent)\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(0) }}\n </span>\n <span class=\"text-danger\" v-if=\"parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent) < 0\">\n {{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: budgetLimit.currency_code\n }).format(parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent))\n }}\n </span>\n </td>\n </tr>\n\n</template>\n\n<script>\nexport default {\n name: \"BudgetLimitRow\",\n mounted() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n }\n },\n props: {\n budgetLimit: {\n type: Object,\n default: {}\n },\n budget: {\n type: Object,\n default: {}\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import { render, staticRenderFns } from \"./BudgetLimitRow.vue?vue&type=template&id=6fcd37c4&scoped=true&\"\nimport script from \"./BudgetLimitRow.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetLimitRow.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6fcd37c4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{staticStyle:{\"width\":\"25%\"}},[_c('a',{attrs:{\"href\":'./budgets/show/' + _vm.budgetLimit.budget_id}},[_vm._v(_vm._s(_vm.budgetLimit.budget_name))])]),_vm._v(\" \"),_c('td',{staticStyle:{\"vertical-align\":\"middle\"}},[_c('div',{staticClass:\"progress progress active\"},[_c('div',{staticClass:\"progress-bar bg-success progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctGreen + '%;'),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":_vm.budgetLimit.pctGreen,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[(_vm.budgetLimit.pctGreen > 35)?_c('span',[_vm._v(\"\\n Spent\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent))+\"\\n of\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar bg-warning progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctOrange + '%;'),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":_vm.budgetLimit.pctOrange,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[(_vm.budgetLimit.pctRed <= 50 && _vm.budgetLimit.pctOrange > 35)?_c('span',[_vm._v(\"\\n Spent\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent))+\"\\n of\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar bg-danger progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctRed + '%;'),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":_vm.budgetLimit.pctRed,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[(_vm.budgetLimit.pctOrange <= 50 && _vm.budgetLimit.pctRed > 35)?_c('span',[_vm._v(\"\\n Spent\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent))+\"\\n of\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('small',{staticClass:\"d-none d-lg-block\"},[_vm._v(\"\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.budgetLimit.start))+\"\\n →\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.budgetLimit.end))+\"\\n \")])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle d-none d-lg-table-cell\",staticStyle:{\"width\":\"10%\"}},[(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent) > 0)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: _vm.budgetLimit.currency_code\n }).format(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent)))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(0.0 === parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent))?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(0))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent) < 0)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: _vm.budgetLimit.currency_code\n }).format(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent)))+\"\\n \")]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetRow.vue?vue&type=script&lang=js&\"","<!--\n - BudgetRow.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <tr>\n <td style=\"width:25%;\">\n <a :href=\"'./budgets/show/' + budget.id\">{{ budget.name }}</a>\n </td>\n <td class=\"align-middle text-right\">\n <span class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budget.currency_code}).format(parseFloat(budget.spent)) }}\n </span>\n </td>\n </tr>\n</template>\n\n<script>\nexport default {\n name: \"BudgetRow\",\n mounted() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n }\n },\n props: {\n budget: {\n type: Object,\n default: {}\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetListGroup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetListGroup.vue?vue&type=script&lang=js&\"","<!--\n - BudgetListGroup.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ title }}</h3>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <tbody>\n <BudgetLimitRow v-bind:key=\"key\" v-for=\"(budgetLimit, key) in budgetLimits\" :budgetLimit=\"budgetLimit\" />\n <BudgetRow v-bind:key=\"key\" v-for=\"(budget, key) in budgets\" :budget=\"budget\" />\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a href=\"./budgets\" class=\"btn btn-default button-sm\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_budgets') }}</a>\n </div>\n </div>\n</template>\n\n<script>\nimport BudgetLimitRow from \"./BudgetLimitRow\";\nimport BudgetRow from \"./BudgetRow\";\nexport default {\n name: \"BudgetListGroup\",\n components: {BudgetLimitRow, BudgetRow},\n props: {\n title: String,\n budgetLimits: Array,\n budgets: Array,\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import { render, staticRenderFns } from \"./BudgetRow.vue?vue&type=template&id=3e0b277e&scoped=true&\"\nimport script from \"./BudgetRow.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetRow.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3e0b277e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{staticStyle:{\"width\":\"25%\"}},[_c('a',{attrs:{\"href\":'./budgets/show/' + _vm.budget.id}},[_vm._v(_vm._s(_vm.budget.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle text-right\"},[_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budget.currency_code}).format(parseFloat(_vm.budget.spent)))+\"\\n \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBudgetList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBudgetList.vue?vue&type=script&lang=js&\"","<!--\n - MainBudgetList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <!-- daily budgets (will be the exception, I expect) -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.daily.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.daily_budgets')\" :budgetLimits=budgetLimits.daily\n />\n </div>\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.weekly.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.weekly_budgets')\" :budgetLimits=budgetLimits.weekly\n />\n </div>\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.monthly.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.monthly_budgets')\" :budgetLimits=budgetLimits.monthly\n />\n </div>\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.quarterly.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.quarterly_budgets')\" :budgetLimits=budgetLimits.quarterly\n />\n </div>\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.half_year.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.half_year_budgets')\" :budgetLimits=budgetLimits.half_year\n />\n </div>\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.yearly.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.yearly_budgets')\" :budgetLimits=budgetLimits.yearly\n />\n </div>\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.other.length > 0 || rawBudgets.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.other_budgets')\" :budgetLimits=budgetLimits.other :budgets=\"rawBudgets\"\n />\n </div>\n </div>\n\n </div>\n</template>\n\n<script>\nimport BudgetListGroup from \"./BudgetListGroup\";\n\nexport default {\n name: \"MainBudgetList\",\n components: {BudgetListGroup},\n data() {\n return {\n budgetList: ['daily', 'weekly', 'monthly', 'quarterly', 'half_year', 'yearly', 'other'],\n budgetLimits: {\n daily: [],\n weekly: [],\n monthly: [],\n quarterly: [],\n half_year: [],\n yearly: [],\n other: [],\n },\n budgets: {},\n rawBudgets: [],\n locale: 'en-US',\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.collectData();\n },\n methods:\n {\n collectData() {\n this.getBudgets();\n },\n getBudgets() {\n axios.get('./api/v1/budgets?start=' + window.sessionStart + '&end=' + window.sessionEnd)\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n for (let subKey in current.attributes.spent) {\n if (current.attributes.spent.hasOwnProperty(subKey) && /^0$|^[1-9]\\d*$/.test(subKey) && subKey <= 4294967294) {\n let spentData = current.attributes.spent[subKey];\n this.rawBudgets.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name,\n currency_id: parseInt(spentData.currency_id),\n currency_code: spentData.currency_code,\n spent: spentData.sum\n }\n );\n }\n }\n\n }\n }\n this.getBudgetLimits();\n },\n\n\n getBudgetLimits() {\n axios.get('./api/v1/budgets/limits?start=' + window.sessionStart + '&end=' + window.sessionEnd)\n .then(response => {\n this.parseBudgetLimits(response.data);\n }\n );\n },\n parseBudgetLimits(data) {\n for (let key in data.included) {\n if (data.included.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n this.budgets[data.included[key].id] =\n {\n id: data.included[key].id,\n name: data.included[key].attributes.name,\n };\n }\n }\n\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let pctGreen = 0;\n let pctOrange = 0;\n let pctRed = 0;\n\n // remove budget info from rawBudgets if it's there:\n this.filterBudgets(data.data[key].attributes.budget_id, data.data[key].attributes.currency_id);\n\n // spent within budget:\n if (0.0 !== parseFloat(data.data[key].attributes.spent) && (parseFloat(data.data[key].attributes.spent) * -1) < parseFloat(data.data[key].attributes.amount)) {\n pctGreen = (parseFloat(data.data[key].attributes.spent) * -1 / parseFloat(data.data[key].attributes.amount) * 100);\n }\n\n // spent over budget\n if (0.0 !== parseFloat(data.data[key].attributes.spent) && (parseFloat(data.data[key].attributes.spent) * -1) > parseFloat(data.data[key].attributes.amount)) {\n pctOrange = (parseFloat(data.data[key].attributes.amount) / parseFloat(data.data[key].attributes.spent) * -1) * 100;\n pctRed = 100 - pctOrange;\n }\n let obj = {\n id: data.data[key].id,\n amount: data.data[key].attributes.amount,\n budget_id: data.data[key].attributes.budget_id,\n budget_name: this.budgets[data.data[key].attributes.budget_id].name,\n currency_id: data.data[key].attributes.currency_id,\n currency_code: data.data[key].attributes.currency_code,\n period: data.data[key].attributes.period,\n start: new Date(data.data[key].attributes.start),\n end: new Date(data.data[key].attributes.end),\n spent: data.data[key].attributes.spent,\n pctGreen: pctGreen,\n pctOrange: pctOrange,\n pctRed: pctRed,\n };\n\n let period = data.data[key].attributes.period ?? 'other';\n this.budgetLimits[period].push(obj);\n\n }\n }\n\n\n // // loop budgets (and do what?)\n // for (let key in data.included) {\n // if (data.included.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n // let obj = {\n // name: data.included[key].attributes.name,\n // id: data.included[key].id,\n // };\n // this.budgets[data.included[key].id] = obj;\n // }\n // }\n\n // loop budget limits:\n // for (let key in data.data) {\n // if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n // let pctGreen = 0;\n // let pctOrange = 0;\n // let pctRed = 0;\n //\n\n //\n // let obj = {\n // id: data.data[key].id,\n // amount: data.data[key].attributes.amount,\n // budget_id: data.data[key].attributes.budget_id,\n // currency_id: data.data[key].attributes.currency_id,\n // currency_code: data.data[key].attributes.currency_code,\n // period: data.data[key].attributes.period,\n // start: new Date(data.data[key].attributes.start),\n // end: new Date(data.data[key].attributes.end),\n // spent: data.data[key].attributes.spent,\n // pctGreen: pctGreen,\n // pctOrange: pctOrange,\n // pctRed: pctRed,\n // };\n //\n //\n //\n // let period = data.data[key].attributes.period ?? 'other';\n // this.budgetLimits[period].push(obj);\n // }\n // }\n\n },\n filterBudgets(budgetId, currencyId) {\n for (let key in this.rawBudgets) {\n if (this.rawBudgets.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n if (this.rawBudgets[key].currency_id === currencyId && this.rawBudgets[key].id === budgetId) {\n this.rawBudgets.splice(key, 1);\n }\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import { render, staticRenderFns } from \"./BudgetListGroup.vue?vue&type=template&id=1480b15a&scoped=true&\"\nimport script from \"./BudgetListGroup.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetListGroup.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1480b15a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('tbody',[_vm._l((_vm.budgetLimits),function(budgetLimit,key){return _c('BudgetLimitRow',{key:key,attrs:{\"budgetLimit\":budgetLimit}})}),_vm._v(\" \"),_vm._l((_vm.budgets),function(budget,key){return _c('BudgetRow',{key:key,attrs:{\"budget\":budget}})})],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./budgets\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_budgets')))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./MainBudgetList.vue?vue&type=template&id=f0d512f0&scoped=true&\"\nimport script from \"./MainBudgetList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainBudgetList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f0d512f0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"row\"},[(_vm.budgetLimits.daily.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.daily_budgets'),\"budgetLimits\":_vm.budgetLimits.daily}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.weekly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.weekly_budgets'),\"budgetLimits\":_vm.budgetLimits.weekly}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.monthly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.monthly_budgets'),\"budgetLimits\":_vm.budgetLimits.monthly}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.quarterly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.quarterly_budgets'),\"budgetLimits\":_vm.budgetLimits.quarterly}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.half_year.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.half_year_budgets'),\"budgetLimits\":_vm.budgetLimits.half_year}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.yearly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.yearly_budgets'),\"budgetLimits\":_vm.budgetLimits.yearly}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.other.length > 0 || _vm.rawBudgets.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.other_budgets'),\"budgetLimits\":_vm.budgetLimits.other,\"budgets\":_vm.rawBudgets}})],1):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainDebitList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainDebitList.vue?vue&type=script&lang=js&\"","<!--\n - MainDebitList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.expense_accounts') }}</h3>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <tr>\n <td>hallo</td>\n </tr>\n </table>\n </div>\n <div class=\"card-footer\">\n <a href=\"./transactions/withdrawals\" class=\"btn btn-default button-sm\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_expenses') }}</a>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\nname: \"MainDebitList\",\n created() {\n axios.get('./api/v1/chart/account/expense?start=' + window.sessionStart + '&end=' + window.sessionEnd)\n .then(response => {\n // do something with response.\n console.log(response.data);\n });\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import { render, staticRenderFns } from \"./MainDebitList.vue?vue&type=template&id=190a4a67&scoped=true&\"\nimport script from \"./MainDebitList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainDebitList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"190a4a67\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.expense_accounts')))])]),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./transactions/withdrawals\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_expenses')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('tr',[_c('td',[_vm._v(\"hallo\")])])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"","<!--\n - Calendar.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div class=\"row\">\n <div class=\"col\">Start</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.start) }}</div>\n </div>\n <div class=\"row\">\n <div class=\"col\">End</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.end) }}</div>\n </div>\n <date-picker\n v-model=\"range\"\n mode=\"date\"\n rows=\"2\"\n is-range\n >\n <template v-slot=\"{ inputValue, inputEvents, isDragging, togglePopover }\">\n <div class=\"btn-group btn-group-sm btn-group-justified\">\n <button\n class=\"btn btn-secondary btn-sm\"\n @click=\"togglePopover({ placement: 'auto-start', positionFixed:true })\"\n ><i class=\"fas fa-calendar-alt\"></i></button>\n <button\n class=\"btn btn-secondary\"\n ><i class=\"fas fa-history\"></i></button>\n\n\n <button class=\"btn btn-secondary dropdown-toggle\" type=\"button\" id=\"dropdownMenuButton\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">\n <i class=\"fas fa-list\"></i>\n </button>\n <div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\">\n <a class=\"dropdown-item\" href=\"#\">(prev period)</a>\n <a class=\"dropdown-item\" href=\"#\">(next period)</a>\n <a class=\"dropdown-item\" href=\"#\">(this week?)</a>\n </div>\n\n </div>\n <input type=\"hidden\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.start\"\n v-on=\"inputEvents.start\"\n />\n <input type=\"hidden\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.end\"\n v-on=\"inputEvents.end\"\n />\n </template>\n </date-picker>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Calendar\",\n mounted() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n range: {\n start: new Date(window.sessionStart),\n end: new Date(window.sessionEnd),\n },\n };\n },\n}\n</script>\n\n<style scoped>\n.dropdown-item {color:#212529;}\n.dropdown-item:hover {color:#212529;}\n</style>","import { render, staticRenderFns } from \"./Calendar.vue?vue&type=template&id=46bd25c8&scoped=true&\"\nimport script from \"./Calendar.vue?vue&type=script&lang=js&\"\nexport * from \"./Calendar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Calendar.vue?vue&type=style&index=0&id=46bd25c8&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"46bd25c8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"Start\")]),_vm._v(\" \"),_c('div',{staticClass:\"col-8\"},[_vm._v(_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.range.start)))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"End\")]),_vm._v(\" \"),_c('div',{staticClass:\"col-8\"},[_vm._v(_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.range.end)))])]),_vm._v(\" \"),_c('date-picker',{attrs:{\"mode\":\"date\",\"rows\":\"2\",\"is-range\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar inputValue = ref.inputValue;\nvar inputEvents = ref.inputEvents;\nvar isDragging = ref.isDragging;\nvar togglePopover = ref.togglePopover;\nreturn [_c('div',{staticClass:\"btn-group btn-group-sm btn-group-justified\"},[_c('button',{staticClass:\"btn btn-secondary btn-sm\",on:{\"click\":function($event){return togglePopover({ placement: 'auto-start', positionFixed:true })}}},[_c('i',{staticClass:\"fas fa-calendar-alt\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-secondary\"},[_c('i',{staticClass:\"fas fa-history\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-secondary dropdown-toggle\",attrs:{\"type\":\"button\",\"id\":\"dropdownMenuButton\",\"data-toggle\":\"dropdown\",\"aria-haspopup\":\"true\",\"aria-expanded\":\"false\"}},[_c('i',{staticClass:\"fas fa-list\"})]),_vm._v(\" \"),_c('div',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":\"dropdownMenuButton\"}},[_c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":\"#\"}},[_vm._v(\"(prev period)\")]),_vm._v(\" \"),_c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":\"#\"}},[_vm._v(\"(next period)\")]),_vm._v(\" \"),_c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":\"#\"}},[_vm._v(\"(this week?)\")])])]),_vm._v(\" \"),_c('input',_vm._g({class:isDragging ? 'text-gray-600' : 'text-gray-900',attrs:{\"type\":\"hidden\"},domProps:{\"value\":inputValue.start}},inputEvents.start)),_vm._v(\" \"),_c('input',_vm._g({class:isDragging ? 'text-gray-600' : 'text-gray-900',attrs:{\"type\":\"hidden\"},domProps:{\"value\":inputValue.end}},inputEvents.end))]}}]),model:{value:(_vm.range),callback:function ($$v) {_vm.range=$$v},expression:\"range\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCategoryList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCategoryList.vue?vue&type=script&lang=js&\"","<!--\n - MainCategoryList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.categories') }}</h3>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <tbody>\n <tr v-for=\"category in sortedList\">\n <td style=\"width:20%;\">\n <a :href=\"'./categories/show/' + category.id\">{{ category.name }}</a>\n <!--<p>Spent: {{ category.spentPct }}</p>\n <p>earned: {{ category.earnedPct }}</p>\n -->\n </td>\n <td class=\"align-middle\">\n <!-- SPENT -->\n <div class=\"progress\" v-if=\"category.spentPct > 0\">\n <div class=\"progress-bar progress-bar-striped bg-danger\" role=\"progressbar\" :aria-valuenow=\"category.spentPct\"\n :style=\"{ width: category.spentPct + '%'}\" aria-valuemin=\"0\"\n aria-valuemax=\"100\">\n <span v-if=\"category.spentPct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}\n </span>\n </div>\n <span v-if=\"category.spentPct <= 20\"> \n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}\n </span>\n </div>\n\n <!-- EARNED -->\n <div class=\"progress justify-content-end\" v-if=\"category.earnedPct > 0\" title=\"hello2\">\n <span v-if=\"category.earnedPct <= 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}\n </span>\n <div class=\"progress-bar progress-bar-striped bg-success\" role=\"progressbar\" :aria-valuenow=\"category.earnedPct\" :style=\"{ width: category.earnedPct + '%'}\" aria-valuemin=\"0\"\n aria-valuemax=\"100\" title=\"hello\">\n <span v-if=\"category.earnedPct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}\n </span>\n </div>\n </div>\n\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"MainCategoryList\",\n\n mounted() {\n this.locale = localStorage.locale ?? 'en-US';\n this.getCategories();\n },\n data() {\n return {\n locale: 'en-US',\n categories: [],\n sortedList: [],\n spent: 0,\n earned: 0\n }\n },\n methods:\n {\n getCategories() {\n axios.get('./api/v1/categories?start=' + window.sessionStart + '&end=' + window.sessionEnd)\n .then(response => {\n this.parseCategories(response.data);\n }\n );\n },\n parseCategories(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n let entryKey = null;\n let categoryId = parseInt(current.id);\n\n // loop spent info:\n for (let subKey in current.attributes.spent) {\n if (current.attributes.spent.hasOwnProperty(subKey) && /^0$|^[1-9]\\d*$/.test(subKey) && subKey <= 4294967294) {\n let spentData = current.attributes.spent[subKey];\n entryKey = spentData.currency_id.toString() + '-' + current.id.toString();\n\n // does the categories list thing have this combo? if not, create it.\n this.categories[entryKey] = this.categories[entryKey] ??\n {\n id: categoryId,\n name: current.attributes.name,\n currency_code: spentData.currency_code,\n currency_symbol: spentData.currency_symbol,\n spent: 0,\n earned: 0,\n spentPct: 0,\n earnedPct: 0,\n };\n this.categories[entryKey].spent = parseFloat(spentData.sum);\n this.spent = parseFloat(spentData.sum) < this.spent ? parseFloat(spentData.sum) : this.spent;\n }\n }\n\n // loop earned info\n for (let subKey in current.attributes.earned) {\n if (current.attributes.earned.hasOwnProperty(subKey) && /^0$|^[1-9]\\d*$/.test(subKey) && subKey <= 4294967294) {\n let earnedData = current.attributes.earned[subKey];\n entryKey = earnedData.currency_id.toString() + '-' + current.id.toString();\n\n // does the categories list thing have this combo? if not, create it.\n this.categories[entryKey] = this.categories[entryKey] ??\n {\n id: categoryId,\n name: current.attributes.name,\n currency_code: earnedData.currency_code,\n currency_symbol: earnedData.currency_symbol,\n spent: 0,\n earned: 0,\n spentPct: 0,\n earnedPct: 0,\n };\n this.categories[entryKey].earned = parseFloat(earnedData.sum);\n this.earned = parseFloat(earnedData.sum) > this.earned ? parseFloat(earnedData.sum) : this.earned;\n }\n }\n }\n }\n this.sortCategories();\n },\n sortCategories() {\n\n this.categories.sort(function (one, two) {\n return (one.spent + one.earned) - (two.spent + two.earned);\n });\n for (let cat in this.categories) {\n if (this.categories.hasOwnProperty(cat)) {\n let current = this.categories[cat];\n current.spentPct = (current.spent / this.spent) * 100;\n current.earnedPct = (current.earned / this.earned) * 100;\n this.sortedList.push(current);\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import { render, staticRenderFns } from \"./MainCategoryList.vue?vue&type=template&id=c20202e4&scoped=true&\"\nimport script from \"./MainCategoryList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainCategoryList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c20202e4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.categories')))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('tbody',_vm._l((_vm.sortedList),function(category){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./categories/show/' + category.id}},[_vm._v(_vm._s(category.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(category.spentPct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-danger\",style:({ width: category.spentPct + '%'}),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":category.spentPct,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[(category.spentPct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.spent))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(category.spentPct <= 20)?_c('span',[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.spent))+\"\\n \")]):_vm._e()]):_vm._e(),_vm._v(\" \"),(category.earnedPct > 0)?_c('div',{staticClass:\"progress justify-content-end\",attrs:{\"title\":\"hello2\"}},[(category.earnedPct <= 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.earned))+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({ width: category.earnedPct + '%'}),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":category.earnedPct,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\",\"title\":\"hello\"}},[(category.earnedPct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.earned))+\"\\n \")]):_vm._e()])]):_vm._e()])])}),0)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * dashboard.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Dashboard from \"../components/dashboard/Dashboard\";\nimport TopBoxes from \"../components/dashboard/TopBoxes\";\nimport MainAccount from \"../components/dashboard/MainAccount\";\nimport MainAccountList from \"../components/dashboard/MainAccountList\";\nimport MainBillsList from \"../components/dashboard/MainBillsList\";\nimport MainBudgetList from \"../components/dashboard/MainBudgetList\";\nimport MainCredit from \"../components/dashboard/MainCredit\";\nimport MainDebitList from \"../components/dashboard/MainDebitList\";\nimport MainPiggyList from \"../components/dashboard/MainPiggyList\";\nimport TransactionListLarge from \"../components/transactions/TransactionListLarge\";\nimport TransactionListMedium from \"../components/transactions/TransactionListMedium\";\nimport TransactionListSmall from \"../components/transactions/TransactionListSmall\";\nimport DatePicker from 'v-calendar/lib/components/date-picker.umd'\nimport Calendar from \"../components/dashboard/Calendar\";\nimport MainCategoryList from \"../components/dashboard/MainCategoryList\";\n/**\n * First we will load Axios via bootstrap.js\n * jquery and bootstrap-sass preloaded in app.js\n * vue, uiv and vuei18n are in app_vue.js\n */\n\nrequire('../bootstrap');\nrequire('chart.js');\nVue.config.devtools = false;\n\nVue.component('transaction-list-large', TransactionListLarge);\nVue.component('transaction-list-medium', TransactionListMedium);\nVue.component('transaction-list-small', TransactionListSmall);\n\n// components as an example\nVue.component('date-picker', DatePicker)\nVue.component('dashboard', Dashboard);\nVue.component('top-boxes', TopBoxes);\nVue.component('main-account', MainAccount);\nVue.component('main-account-list', MainAccountList);\nVue.component('main-bills-list', MainBillsList);\nVue.component('main-budget-list', MainBudgetList);\nVue.component('main-category-list', MainCategoryList);\nVue.component('main-credit', MainCredit);\nVue.component('main-debit-list', MainDebitList);\nVue.component('main-piggy-list', MainPiggyList);\n\n// i18n\nlet i18n = require('../i18n');\n\n\nlet props = {};\n\nnew Vue({\n i18n,\n el: \"#dashboard\",\n render: (createElement) => {\n return createElement(Dashboard, {props: props});\n },\n });\n\nnew Vue({\n i18n,\n el: \"#calendar\",\n render: (createElement) => {\n return createElement(Calendar, {props: props});\n },\n });"],"sourceRoot":""}\ No newline at end of file+{"version":3,"sources":["webpack:///./src/components/dashboard/Calendar.vue?cbe0","webpack:///./src/components/dashboard/Calendar.vue?0a44","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/components/dashboard/Calendar.vue?11f5","webpack:///./src/components/dashboard/BudgetLimitRow.vue?c9a7","webpack:///src/components/dashboard/BudgetLimitRow.vue","webpack:///./src/components/dashboard/BudgetLimitRow.vue","webpack:///./src/components/dashboard/BudgetLimitRow.vue?9678","webpack:///./src/components/dashboard/BudgetRow.vue?09f9","webpack:///src/components/dashboard/BudgetRow.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue?7954","webpack:///src/components/dashboard/BudgetListGroup.vue","webpack:///./src/components/dashboard/BudgetRow.vue","webpack:///./src/components/dashboard/BudgetRow.vue?1b73","webpack:///./src/components/dashboard/MainBudgetList.vue?9843","webpack:///src/components/dashboard/MainBudgetList.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue?9cbb","webpack:///./src/components/dashboard/MainBudgetList.vue","webpack:///./src/components/dashboard/MainBudgetList.vue?4433","webpack:///./src/components/dashboard/MainDebitList.vue?587b","webpack:///src/components/dashboard/MainDebitList.vue","webpack:///./src/components/dashboard/MainDebitList.vue","webpack:///./src/components/dashboard/MainDebitList.vue?59f5","webpack:///./src/components/dashboard/Calendar.vue?b9d0","webpack:///src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue?8eb1","webpack:///./src/components/dashboard/MainCategoryList.vue?9f14","webpack:///src/components/dashboard/MainCategoryList.vue","webpack:///./src/components/dashboard/MainCategoryList.vue","webpack:///./src/components/dashboard/MainCategoryList.vue?20c3","webpack:///./src/pages/dashboard.js"],"names":["module","exports","push","i","map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","content","options","transform","undefined","locals","name","mounted","this","locale","data","props","budgetLimit","type","default","budget","_vm","_h","$createElement","_c","_self","staticStyle","attrs","budget_id","_v","_s","budget_name","staticClass","style","pctGreen","Intl","NumberFormat","currency","currency_code","format","spent","amount","_e","pctOrange","pctRed","DateTimeFormat","year","month","day","start","end","parseFloat","components","title","String","budgetLimits","Array","budgets","_l","key","$t","budgetList","daily","weekly","monthly","quarterly","half_year","yearly","other","rawBudgets","created","collectData","methods","length","axios","get","window","sessionStart","sessionEnd","_m","range","Date","scopedSlots","_u","fn","ref","inputValue","inputEvents","isDragging","togglePopover","on","$event","placement","positionFixed","_g","class","domProps","model","value","callback","$$v","expression","getCategories","categories","sortedList","earned","category","spentPct","width","earnedPct","require","Vue","config","devtools","component","TransactionListLarge","TransactionListMedium","TransactionListSmall","DatePicker","Dashboard","TopBoxes","MainAccount","MainAccountList","MainBillsList","MainBudgetList","MainCategoryList","MainCredit","MainDebitList","MainPiggyList","i18n","el","render","createElement","Calendar"],"mappings":"uIAAA,O,qBCAUA,EAAOC,QAAU,EAAQ,IAAR,EAA4D,IAK/EC,KAAK,CAACF,EAAOG,EAAI,uFAAwF,M,oBCLjH,IAAIC,EAAM,CACT,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,aAAc,GACd,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,aAAc,GACd,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,GACX,QAAS,GACT,WAAY,GACZ,OAAQ,GACR,UAAW,GACX,OAAQ,GACR,UAAW,G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AM,MAAQ,UAAU,CAAEH,EAASG,UAAY,GAAIrF,EAAG,OAAO,CAACH,EAAIQ,GAAG,qBAAqBR,EAAIS,GAAGK,KAAKC,aAAaf,EAAIP,OAAQ,CAACmB,MAAO,WAAYI,SAAUqE,EAASpE,gBAAgBC,OAAOmE,EAASD,SAAS,sBAAsBpF,EAAIqB,SAASrB,EAAIqB,YAAW,WAC5kE,IDUpB,EACA,KACA,WACA,M,QE2BFoE,EAAQ,GACRA,EAAQ,KACRC,IAAIC,OAAOC,UAAW,EAEtBF,IAAIG,UAAU,yBAA0BC,KACxCJ,IAAIG,UAAU,0BAA2BE,KACzCL,IAAIG,UAAU,yBAA0BG,KAGxCN,IAAIG,UAAU,cAAeI,KAC7BP,IAAIG,UAAU,YAAaK,KAC3BR,IAAIG,UAAU,YAAaM,KAC3BT,IAAIG,UAAU,eAAgBO,KAC9BV,IAAIG,UAAU,oBAAqBQ,KACnCX,IAAIG,UAAU,kBAAmBS,KACjCZ,IAAIG,UAAU,mBAAoBU,GAClCb,IAAIG,UAAU,qBAAsBW,GACpCd,IAAIG,UAAU,cAAeY,KAC7Bf,IAAIG,UAAU,kBAAmBa,GACjChB,IAAIG,UAAU,kBAAmBc,KAGjC,IAAIC,EAAOnB,EAAQ,GAGf9F,EAAQ,GAEZ,IAAI+F,IAAI,CACIkB,OACAC,GAAI,aACJC,OAAQ,SAACC,GACL,OAAOA,EAAcb,IAAW,CAACvG,MAAOA,OAIxD,IAAI+F,IAAI,CACIkB,OACAC,GAAI,YACJC,OAAQ,SAACC,GACL,OAAOA,EAAcC,EAAU,CAACrH,MAAOA,Q","file":"/public/js/dashboard.js","sourcesContent":["export * from \"-!../../../node_modules/style-loader/index.js!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=46bd25c8&scoped=true&lang=css&\"","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".dropdown-item[data-v-46bd25c8],.dropdown-item[data-v-46bd25c8]:hover{color:#212529}\", \"\"]);\n\n// exports\n","var map = {\n\t\"./af\": 31,\n\t\"./af.js\": 31,\n\t\"./ar\": 32,\n\t\"./ar-dz\": 33,\n\t\"./ar-dz.js\": 33,\n\t\"./ar-kw\": 34,\n\t\"./ar-kw.js\": 34,\n\t\"./ar-ly\": 35,\n\t\"./ar-ly.js\": 35,\n\t\"./ar-ma\": 36,\n\t\"./ar-ma.js\": 36,\n\t\"./ar-sa\": 37,\n\t\"./ar-sa.js\": 37,\n\t\"./ar-tn\": 38,\n\t\"./ar-tn.js\": 38,\n\t\"./ar.js\": 32,\n\t\"./az\": 39,\n\t\"./az.js\": 39,\n\t\"./be\": 40,\n\t\"./be.js\": 40,\n\t\"./bg\": 41,\n\t\"./bg.js\": 41,\n\t\"./bm\": 42,\n\t\"./bm.js\": 42,\n\t\"./bn\": 43,\n\t\"./bn-bd\": 44,\n\t\"./bn-bd.js\": 44,\n\t\"./bn.js\": 43,\n\t\"./bo\": 45,\n\t\"./bo.js\": 45,\n\t\"./br\": 46,\n\t\"./br.js\": 46,\n\t\"./bs\": 47,\n\t\"./bs.js\": 47,\n\t\"./ca\": 48,\n\t\"./ca.js\": 48,\n\t\"./cs\": 49,\n\t\"./cs.js\": 49,\n\t\"./cv\": 50,\n\t\"./cv.js\": 50,\n\t\"./cy\": 51,\n\t\"./cy.js\": 51,\n\t\"./da\": 52,\n\t\"./da.js\": 52,\n\t\"./de\": 53,\n\t\"./de-at\": 54,\n\t\"./de-at.js\": 54,\n\t\"./de-ch\": 55,\n\t\"./de-ch.js\": 55,\n\t\"./de.js\": 53,\n\t\"./dv\": 56,\n\t\"./dv.js\": 56,\n\t\"./el\": 57,\n\t\"./el.js\": 57,\n\t\"./en-au\": 58,\n\t\"./en-au.js\": 58,\n\t\"./en-ca\": 59,\n\t\"./en-ca.js\": 59,\n\t\"./en-gb\": 60,\n\t\"./en-gb.js\": 60,\n\t\"./en-ie\": 61,\n\t\"./en-ie.js\": 61,\n\t\"./en-il\": 62,\n\t\"./en-il.js\": 62,\n\t\"./en-in\": 63,\n\t\"./en-in.js\": 63,\n\t\"./en-nz\": 64,\n\t\"./en-nz.js\": 64,\n\t\"./en-sg\": 65,\n\t\"./en-sg.js\": 65,\n\t\"./eo\": 66,\n\t\"./eo.js\": 66,\n\t\"./es\": 67,\n\t\"./es-do\": 68,\n\t\"./es-do.js\": 68,\n\t\"./es-mx\": 69,\n\t\"./es-mx.js\": 69,\n\t\"./es-us\": 70,\n\t\"./es-us.js\": 70,\n\t\"./es.js\": 67,\n\t\"./et\": 71,\n\t\"./et.js\": 71,\n\t\"./eu\": 72,\n\t\"./eu.js\": 72,\n\t\"./fa\": 73,\n\t\"./fa.js\": 73,\n\t\"./fi\": 74,\n\t\"./fi.js\": 74,\n\t\"./fil\": 75,\n\t\"./fil.js\": 75,\n\t\"./fo\": 76,\n\t\"./fo.js\": 76,\n\t\"./fr\": 77,\n\t\"./fr-ca\": 78,\n\t\"./fr-ca.js\": 78,\n\t\"./fr-ch\": 79,\n\t\"./fr-ch.js\": 79,\n\t\"./fr.js\": 77,\n\t\"./fy\": 80,\n\t\"./fy.js\": 80,\n\t\"./ga\": 81,\n\t\"./ga.js\": 81,\n\t\"./gd\": 82,\n\t\"./gd.js\": 82,\n\t\"./gl\": 83,\n\t\"./gl.js\": 83,\n\t\"./gom-deva\": 84,\n\t\"./gom-deva.js\": 84,\n\t\"./gom-latn\": 85,\n\t\"./gom-latn.js\": 85,\n\t\"./gu\": 86,\n\t\"./gu.js\": 86,\n\t\"./he\": 87,\n\t\"./he.js\": 87,\n\t\"./hi\": 88,\n\t\"./hi.js\": 88,\n\t\"./hr\": 89,\n\t\"./hr.js\": 89,\n\t\"./hu\": 90,\n\t\"./hu.js\": 90,\n\t\"./hy-am\": 91,\n\t\"./hy-am.js\": 91,\n\t\"./id\": 92,\n\t\"./id.js\": 92,\n\t\"./is\": 93,\n\t\"./is.js\": 93,\n\t\"./it\": 94,\n\t\"./it-ch\": 95,\n\t\"./it-ch.js\": 95,\n\t\"./it.js\": 94,\n\t\"./ja\": 96,\n\t\"./ja.js\": 96,\n\t\"./jv\": 97,\n\t\"./jv.js\": 97,\n\t\"./ka\": 98,\n\t\"./ka.js\": 98,\n\t\"./kk\": 99,\n\t\"./kk.js\": 99,\n\t\"./km\": 100,\n\t\"./km.js\": 100,\n\t\"./kn\": 101,\n\t\"./kn.js\": 101,\n\t\"./ko\": 102,\n\t\"./ko.js\": 102,\n\t\"./ku\": 103,\n\t\"./ku.js\": 103,\n\t\"./ky\": 104,\n\t\"./ky.js\": 104,\n\t\"./lb\": 105,\n\t\"./lb.js\": 105,\n\t\"./lo\": 106,\n\t\"./lo.js\": 106,\n\t\"./lt\": 107,\n\t\"./lt.js\": 107,\n\t\"./lv\": 108,\n\t\"./lv.js\": 108,\n\t\"./me\": 109,\n\t\"./me.js\": 109,\n\t\"./mi\": 110,\n\t\"./mi.js\": 110,\n\t\"./mk\": 111,\n\t\"./mk.js\": 111,\n\t\"./ml\": 112,\n\t\"./ml.js\": 112,\n\t\"./mn\": 113,\n\t\"./mn.js\": 113,\n\t\"./mr\": 114,\n\t\"./mr.js\": 114,\n\t\"./ms\": 115,\n\t\"./ms-my\": 116,\n\t\"./ms-my.js\": 116,\n\t\"./ms.js\": 115,\n\t\"./mt\": 117,\n\t\"./mt.js\": 117,\n\t\"./my\": 118,\n\t\"./my.js\": 118,\n\t\"./nb\": 119,\n\t\"./nb.js\": 119,\n\t\"./ne\": 120,\n\t\"./ne.js\": 120,\n\t\"./nl\": 121,\n\t\"./nl-be\": 122,\n\t\"./nl-be.js\": 122,\n\t\"./nl.js\": 121,\n\t\"./nn\": 123,\n\t\"./nn.js\": 123,\n\t\"./oc-lnc\": 124,\n\t\"./oc-lnc.js\": 124,\n\t\"./pa-in\": 125,\n\t\"./pa-in.js\": 125,\n\t\"./pl\": 126,\n\t\"./pl.js\": 126,\n\t\"./pt\": 127,\n\t\"./pt-br\": 128,\n\t\"./pt-br.js\": 128,\n\t\"./pt.js\": 127,\n\t\"./ro\": 129,\n\t\"./ro.js\": 129,\n\t\"./ru\": 130,\n\t\"./ru.js\": 130,\n\t\"./sd\": 131,\n\t\"./sd.js\": 131,\n\t\"./se\": 132,\n\t\"./se.js\": 132,\n\t\"./si\": 133,\n\t\"./si.js\": 133,\n\t\"./sk\": 134,\n\t\"./sk.js\": 134,\n\t\"./sl\": 135,\n\t\"./sl.js\": 135,\n\t\"./sq\": 136,\n\t\"./sq.js\": 136,\n\t\"./sr\": 137,\n\t\"./sr-cyrl\": 138,\n\t\"./sr-cyrl.js\": 138,\n\t\"./sr.js\": 137,\n\t\"./ss\": 139,\n\t\"./ss.js\": 139,\n\t\"./sv\": 140,\n\t\"./sv.js\": 140,\n\t\"./sw\": 141,\n\t\"./sw.js\": 141,\n\t\"./ta\": 142,\n\t\"./ta.js\": 142,\n\t\"./te\": 143,\n\t\"./te.js\": 143,\n\t\"./tet\": 144,\n\t\"./tet.js\": 144,\n\t\"./tg\": 145,\n\t\"./tg.js\": 145,\n\t\"./th\": 146,\n\t\"./th.js\": 146,\n\t\"./tk\": 147,\n\t\"./tk.js\": 147,\n\t\"./tl-ph\": 148,\n\t\"./tl-ph.js\": 148,\n\t\"./tlh\": 149,\n\t\"./tlh.js\": 149,\n\t\"./tr\": 150,\n\t\"./tr.js\": 150,\n\t\"./tzl\": 151,\n\t\"./tzl.js\": 151,\n\t\"./tzm\": 152,\n\t\"./tzm-latn\": 153,\n\t\"./tzm-latn.js\": 153,\n\t\"./tzm.js\": 152,\n\t\"./ug-cn\": 154,\n\t\"./ug-cn.js\": 154,\n\t\"./uk\": 155,\n\t\"./uk.js\": 155,\n\t\"./ur\": 156,\n\t\"./ur.js\": 156,\n\t\"./uz\": 157,\n\t\"./uz-latn\": 158,\n\t\"./uz-latn.js\": 158,\n\t\"./uz.js\": 157,\n\t\"./vi\": 159,\n\t\"./vi.js\": 159,\n\t\"./x-pseudo\": 160,\n\t\"./x-pseudo.js\": 160,\n\t\"./yo\": 161,\n\t\"./yo.js\": 161,\n\t\"./zh-cn\": 162,\n\t\"./zh-cn.js\": 162,\n\t\"./zh-hk\": 163,\n\t\"./zh-hk.js\": 163,\n\t\"./zh-mo\": 164,\n\t\"./zh-mo.js\": 164,\n\t\"./zh-tw\": 165,\n\t\"./zh-tw.js\": 165\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 202;","\nvar content = require(\"!!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=46bd25c8&scoped=true&lang=css&\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=46bd25c8&scoped=true&lang=css&\", function() {\n\t\tvar newContent = require(\"!!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=46bd25c8&scoped=true&lang=css&\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetLimitRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetLimitRow.vue?vue&type=script&lang=js&\"","<!--\n - BudgetRow.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <tr>\n <td style=\"width:25%;\">\n <a :href=\"'./budgets/show/' + budgetLimit.budget_id\">{{ budgetLimit.budget_name }}</a>\n </td>\n\n <td style=\"vertical-align: middle\">\n <div class=\"progress progress active\">\n <div class=\"progress-bar bg-success progress-bar-striped\" role=\"progressbar\"\n :aria-valuenow=\"budgetLimit.pctGreen\" aria-valuemin=\"0\" aria-valuemax=\"100\" :style=\"'width: '+ budgetLimit.pctGreen + '%;'\">\n <span v-if=\"budgetLimit.pctGreen > 35\">\n Spent\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent) }}\n of\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount) }}\n </span>\n\n\n </div>\n\n <div class=\"progress-bar bg-warning progress-bar-striped\" role=\"progressbar\"\n :aria-valuenow=\"budgetLimit.pctOrange\" aria-valuemin=\"0\" aria-valuemax=\"100\" :style=\"'width: '+ budgetLimit.pctOrange + '%;'\">\n <span v-if=\"budgetLimit.pctRed <= 50 && budgetLimit.pctOrange > 35\">\n Spent\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent) }}\n of\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount) }}\n </span>\n </div>\n\n <div class=\"progress-bar bg-danger progress-bar-striped\" role=\"progressbar\"\n :aria-valuenow=\"budgetLimit.pctRed\" aria-valuemin=\"0\" aria-valuemax=\"100\" :style=\"'width: '+ budgetLimit.pctRed + '%;'\">\n <span v-if=\"budgetLimit.pctOrange <= 50 && budgetLimit.pctRed > 35\">\n Spent\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent) }}\n of\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount) }}\n </span>\n </div>\n </div>\n <small class=\"d-none d-lg-block\">\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(budgetLimit.start) }}\n →\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(budgetLimit.end) }}\n </small>\n </td>\n\n <td style=\"width:10%;\" class=\"align-middle d-none d-lg-table-cell\">\n <span class=\"text-success\" v-if=\"parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent) > 0\">\n {{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: budgetLimit.currency_code\n }).format(parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent))\n }}\n </span>\n <span class=\"text-muted\" v-if=\"0.0 === parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent)\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(0) }}\n </span>\n <span class=\"text-danger\" v-if=\"parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent) < 0\">\n {{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: budgetLimit.currency_code\n }).format(parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent))\n }}\n </span>\n </td>\n </tr>\n\n</template>\n\n<script>\nexport default {\n name: \"BudgetLimitRow\",\n mounted() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n }\n },\n props: {\n budgetLimit: {\n type: Object,\n default: {}\n },\n budget: {\n type: Object,\n default: {}\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import { render, staticRenderFns } from \"./BudgetLimitRow.vue?vue&type=template&id=6fcd37c4&scoped=true&\"\nimport script from \"./BudgetLimitRow.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetLimitRow.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6fcd37c4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{staticStyle:{\"width\":\"25%\"}},[_c('a',{attrs:{\"href\":'./budgets/show/' + _vm.budgetLimit.budget_id}},[_vm._v(_vm._s(_vm.budgetLimit.budget_name))])]),_vm._v(\" \"),_c('td',{staticStyle:{\"vertical-align\":\"middle\"}},[_c('div',{staticClass:\"progress progress active\"},[_c('div',{staticClass:\"progress-bar bg-success progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctGreen + '%;'),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":_vm.budgetLimit.pctGreen,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[(_vm.budgetLimit.pctGreen > 35)?_c('span',[_vm._v(\"\\n Spent\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent))+\"\\n of\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar bg-warning progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctOrange + '%;'),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":_vm.budgetLimit.pctOrange,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[(_vm.budgetLimit.pctRed <= 50 && _vm.budgetLimit.pctOrange > 35)?_c('span',[_vm._v(\"\\n Spent\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent))+\"\\n of\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar bg-danger progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctRed + '%;'),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":_vm.budgetLimit.pctRed,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[(_vm.budgetLimit.pctOrange <= 50 && _vm.budgetLimit.pctRed > 35)?_c('span',[_vm._v(\"\\n Spent\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent))+\"\\n of\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('small',{staticClass:\"d-none d-lg-block\"},[_vm._v(\"\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.budgetLimit.start))+\"\\n →\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.budgetLimit.end))+\"\\n \")])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle d-none d-lg-table-cell\",staticStyle:{\"width\":\"10%\"}},[(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent) > 0)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: _vm.budgetLimit.currency_code\n }).format(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent)))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(0.0 === parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent))?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(0))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent) < 0)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: _vm.budgetLimit.currency_code\n }).format(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent)))+\"\\n \")]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetRow.vue?vue&type=script&lang=js&\"","<!--\n - BudgetRow.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <tr>\n <td style=\"width:25%;\">\n <a :href=\"'./budgets/show/' + budget.id\">{{ budget.name }}</a>\n </td>\n <td class=\"align-middle text-right\">\n <span class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budget.currency_code}).format(parseFloat(budget.spent)) }}\n </span>\n </td>\n </tr>\n</template>\n\n<script>\nexport default {\n name: \"BudgetRow\",\n mounted() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n }\n },\n props: {\n budget: {\n type: Object,\n default: {}\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetListGroup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetListGroup.vue?vue&type=script&lang=js&\"","<!--\n - BudgetListGroup.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ title }}</h3>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <tbody>\n <BudgetLimitRow v-bind:key=\"key\" v-for=\"(budgetLimit, key) in budgetLimits\" :budgetLimit=\"budgetLimit\" />\n <BudgetRow v-bind:key=\"key\" v-for=\"(budget, key) in budgets\" :budget=\"budget\" />\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a href=\"./budgets\" class=\"btn btn-default button-sm\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_budgets') }}</a>\n </div>\n </div>\n</template>\n\n<script>\nimport BudgetLimitRow from \"./BudgetLimitRow\";\nimport BudgetRow from \"./BudgetRow\";\nexport default {\n name: \"BudgetListGroup\",\n components: {BudgetLimitRow, BudgetRow},\n props: {\n title: String,\n budgetLimits: Array,\n budgets: Array,\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import { render, staticRenderFns } from \"./BudgetRow.vue?vue&type=template&id=3e0b277e&scoped=true&\"\nimport script from \"./BudgetRow.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetRow.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3e0b277e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{staticStyle:{\"width\":\"25%\"}},[_c('a',{attrs:{\"href\":'./budgets/show/' + _vm.budget.id}},[_vm._v(_vm._s(_vm.budget.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle text-right\"},[_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budget.currency_code}).format(parseFloat(_vm.budget.spent)))+\"\\n \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBudgetList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBudgetList.vue?vue&type=script&lang=js&\"","<!--\n - MainBudgetList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <!-- daily budgets (will be the exception, I expect) -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.daily.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.daily_budgets')\" :budgetLimits=budgetLimits.daily\n />\n </div>\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.weekly.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.weekly_budgets')\" :budgetLimits=budgetLimits.weekly\n />\n </div>\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.monthly.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.monthly_budgets')\" :budgetLimits=budgetLimits.monthly\n />\n </div>\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.quarterly.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.quarterly_budgets')\" :budgetLimits=budgetLimits.quarterly\n />\n </div>\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.half_year.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.half_year_budgets')\" :budgetLimits=budgetLimits.half_year\n />\n </div>\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.yearly.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.yearly_budgets')\" :budgetLimits=budgetLimits.yearly\n />\n </div>\n <div class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\" v-if=\"budgetLimits.other.length > 0 || rawBudgets.length > 0\">\n <BudgetListGroup :title=\"$t('firefly.other_budgets')\" :budgetLimits=budgetLimits.other :budgets=\"rawBudgets\"\n />\n </div>\n </div>\n\n </div>\n</template>\n\n<script>\nimport BudgetListGroup from \"./BudgetListGroup\";\n\nexport default {\n name: \"MainBudgetList\",\n components: {BudgetListGroup},\n data() {\n return {\n budgetList: ['daily', 'weekly', 'monthly', 'quarterly', 'half_year', 'yearly', 'other'],\n budgetLimits: {\n daily: [],\n weekly: [],\n monthly: [],\n quarterly: [],\n half_year: [],\n yearly: [],\n other: [],\n },\n budgets: {},\n rawBudgets: [],\n locale: 'en-US',\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.collectData();\n },\n methods:\n {\n collectData() {\n this.getBudgets();\n },\n getBudgets() {\n axios.get('./api/v1/budgets?start=' + window.sessionStart + '&end=' + window.sessionEnd)\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n for (let subKey in current.attributes.spent) {\n if (current.attributes.spent.hasOwnProperty(subKey) && /^0$|^[1-9]\\d*$/.test(subKey) && subKey <= 4294967294) {\n let spentData = current.attributes.spent[subKey];\n this.rawBudgets.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name,\n currency_id: parseInt(spentData.currency_id),\n currency_code: spentData.currency_code,\n spent: spentData.sum\n }\n );\n }\n }\n\n }\n }\n this.getBudgetLimits();\n },\n\n\n getBudgetLimits() {\n axios.get('./api/v1/budgets/limits?start=' + window.sessionStart + '&end=' + window.sessionEnd)\n .then(response => {\n this.parseBudgetLimits(response.data);\n }\n );\n },\n parseBudgetLimits(data) {\n for (let key in data.included) {\n if (data.included.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n this.budgets[data.included[key].id] =\n {\n id: data.included[key].id,\n name: data.included[key].attributes.name,\n };\n }\n }\n\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let pctGreen = 0;\n let pctOrange = 0;\n let pctRed = 0;\n\n // remove budget info from rawBudgets if it's there:\n this.filterBudgets(data.data[key].attributes.budget_id, data.data[key].attributes.currency_id);\n\n // spent within budget:\n if (0.0 !== parseFloat(data.data[key].attributes.spent) && (parseFloat(data.data[key].attributes.spent) * -1) < parseFloat(data.data[key].attributes.amount)) {\n pctGreen = (parseFloat(data.data[key].attributes.spent) * -1 / parseFloat(data.data[key].attributes.amount) * 100);\n }\n\n // spent over budget\n if (0.0 !== parseFloat(data.data[key].attributes.spent) && (parseFloat(data.data[key].attributes.spent) * -1) > parseFloat(data.data[key].attributes.amount)) {\n pctOrange = (parseFloat(data.data[key].attributes.amount) / parseFloat(data.data[key].attributes.spent) * -1) * 100;\n pctRed = 100 - pctOrange;\n }\n let obj = {\n id: data.data[key].id,\n amount: data.data[key].attributes.amount,\n budget_id: data.data[key].attributes.budget_id,\n budget_name: this.budgets[data.data[key].attributes.budget_id].name,\n currency_id: data.data[key].attributes.currency_id,\n currency_code: data.data[key].attributes.currency_code,\n period: data.data[key].attributes.period,\n start: new Date(data.data[key].attributes.start),\n end: new Date(data.data[key].attributes.end),\n spent: data.data[key].attributes.spent,\n pctGreen: pctGreen,\n pctOrange: pctOrange,\n pctRed: pctRed,\n };\n\n let period = data.data[key].attributes.period ?? 'other';\n this.budgetLimits[period].push(obj);\n\n }\n }\n\n\n // // loop budgets (and do what?)\n // for (let key in data.included) {\n // if (data.included.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n // let obj = {\n // name: data.included[key].attributes.name,\n // id: data.included[key].id,\n // };\n // this.budgets[data.included[key].id] = obj;\n // }\n // }\n\n // loop budget limits:\n // for (let key in data.data) {\n // if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n // let pctGreen = 0;\n // let pctOrange = 0;\n // let pctRed = 0;\n //\n\n //\n // let obj = {\n // id: data.data[key].id,\n // amount: data.data[key].attributes.amount,\n // budget_id: data.data[key].attributes.budget_id,\n // currency_id: data.data[key].attributes.currency_id,\n // currency_code: data.data[key].attributes.currency_code,\n // period: data.data[key].attributes.period,\n // start: new Date(data.data[key].attributes.start),\n // end: new Date(data.data[key].attributes.end),\n // spent: data.data[key].attributes.spent,\n // pctGreen: pctGreen,\n // pctOrange: pctOrange,\n // pctRed: pctRed,\n // };\n //\n //\n //\n // let period = data.data[key].attributes.period ?? 'other';\n // this.budgetLimits[period].push(obj);\n // }\n // }\n\n },\n filterBudgets(budgetId, currencyId) {\n for (let key in this.rawBudgets) {\n if (this.rawBudgets.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n if (this.rawBudgets[key].currency_id === currencyId && this.rawBudgets[key].id === budgetId) {\n this.rawBudgets.splice(key, 1);\n }\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import { render, staticRenderFns } from \"./BudgetListGroup.vue?vue&type=template&id=1480b15a&scoped=true&\"\nimport script from \"./BudgetListGroup.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetListGroup.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1480b15a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('tbody',[_vm._l((_vm.budgetLimits),function(budgetLimit,key){return _c('BudgetLimitRow',{key:key,attrs:{\"budgetLimit\":budgetLimit}})}),_vm._v(\" \"),_vm._l((_vm.budgets),function(budget,key){return _c('BudgetRow',{key:key,attrs:{\"budget\":budget}})})],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./budgets\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_budgets')))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./MainBudgetList.vue?vue&type=template&id=f0d512f0&scoped=true&\"\nimport script from \"./MainBudgetList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainBudgetList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f0d512f0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"row\"},[(_vm.budgetLimits.daily.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.daily_budgets'),\"budgetLimits\":_vm.budgetLimits.daily}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.weekly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.weekly_budgets'),\"budgetLimits\":_vm.budgetLimits.weekly}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.monthly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.monthly_budgets'),\"budgetLimits\":_vm.budgetLimits.monthly}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.quarterly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.quarterly_budgets'),\"budgetLimits\":_vm.budgetLimits.quarterly}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.half_year.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.half_year_budgets'),\"budgetLimits\":_vm.budgetLimits.half_year}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.yearly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.yearly_budgets'),\"budgetLimits\":_vm.budgetLimits.yearly}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.other.length > 0 || _vm.rawBudgets.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"title\":_vm.$t('firefly.other_budgets'),\"budgetLimits\":_vm.budgetLimits.other,\"budgets\":_vm.rawBudgets}})],1):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainDebitList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainDebitList.vue?vue&type=script&lang=js&\"","<!--\n - MainDebitList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.expense_accounts') }}</h3>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <tr>\n <td>hallo</td>\n </tr>\n </table>\n </div>\n <div class=\"card-footer\">\n <a href=\"./transactions/withdrawals\" class=\"btn btn-default button-sm\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_expenses') }}</a>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\nname: \"MainDebitList\",\n created() {\n axios.get('./api/v1/chart/account/expense?start=' + window.sessionStart + '&end=' + window.sessionEnd)\n .then(response => {\n // do something with response.\n console.log(response.data);\n });\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import { render, staticRenderFns } from \"./MainDebitList.vue?vue&type=template&id=190a4a67&scoped=true&\"\nimport script from \"./MainDebitList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainDebitList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"190a4a67\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.expense_accounts')))])]),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./transactions/withdrawals\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_expenses')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('tr',[_c('td',[_vm._v(\"hallo\")])])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"","<!--\n - Calendar.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div class=\"row\">\n <div class=\"col\">Start</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.start) }}</div>\n </div>\n <div class=\"row\">\n <div class=\"col\">End</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.end) }}</div>\n </div>\n <date-picker\n v-model=\"range\"\n mode=\"date\"\n rows=\"2\"\n is-range\n >\n <template v-slot=\"{ inputValue, inputEvents, isDragging, togglePopover }\">\n <div class=\"btn-group btn-group-sm btn-group-justified\">\n <button\n class=\"btn btn-secondary btn-sm\"\n @click=\"togglePopover({ placement: 'auto-start', positionFixed:true })\"\n ><i class=\"fas fa-calendar-alt\"></i></button>\n <button\n class=\"btn btn-secondary\"\n ><i class=\"fas fa-history\"></i></button>\n\n\n <button class=\"btn btn-secondary dropdown-toggle\" type=\"button\" id=\"dropdownMenuButton\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">\n <i class=\"fas fa-list\"></i>\n </button>\n <div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\">\n <a class=\"dropdown-item\" href=\"#\">(prev period)</a>\n <a class=\"dropdown-item\" href=\"#\">(next period)</a>\n <a class=\"dropdown-item\" href=\"#\">(this week?)</a>\n </div>\n\n </div>\n <input type=\"hidden\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.start\"\n v-on=\"inputEvents.start\"\n />\n <input type=\"hidden\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.end\"\n v-on=\"inputEvents.end\"\n />\n </template>\n </date-picker>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Calendar\",\n mounted() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n range: {\n start: new Date(window.sessionStart),\n end: new Date(window.sessionEnd),\n },\n };\n },\n}\n</script>\n\n<style scoped>\n.dropdown-item {color:#212529;}\n.dropdown-item:hover {color:#212529;}\n</style>","import { render, staticRenderFns } from \"./Calendar.vue?vue&type=template&id=46bd25c8&scoped=true&\"\nimport script from \"./Calendar.vue?vue&type=script&lang=js&\"\nexport * from \"./Calendar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Calendar.vue?vue&type=style&index=0&id=46bd25c8&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"46bd25c8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"Start\")]),_vm._v(\" \"),_c('div',{staticClass:\"col-8\"},[_vm._v(_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.range.start)))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"End\")]),_vm._v(\" \"),_c('div',{staticClass:\"col-8\"},[_vm._v(_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.range.end)))])]),_vm._v(\" \"),_c('date-picker',{attrs:{\"mode\":\"date\",\"rows\":\"2\",\"is-range\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar inputValue = ref.inputValue;\nvar inputEvents = ref.inputEvents;\nvar isDragging = ref.isDragging;\nvar togglePopover = ref.togglePopover;\nreturn [_c('div',{staticClass:\"btn-group btn-group-sm btn-group-justified\"},[_c('button',{staticClass:\"btn btn-secondary btn-sm\",on:{\"click\":function($event){return togglePopover({ placement: 'auto-start', positionFixed:true })}}},[_c('i',{staticClass:\"fas fa-calendar-alt\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-secondary\"},[_c('i',{staticClass:\"fas fa-history\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-secondary dropdown-toggle\",attrs:{\"type\":\"button\",\"id\":\"dropdownMenuButton\",\"data-toggle\":\"dropdown\",\"aria-haspopup\":\"true\",\"aria-expanded\":\"false\"}},[_c('i',{staticClass:\"fas fa-list\"})]),_vm._v(\" \"),_c('div',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":\"dropdownMenuButton\"}},[_c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":\"#\"}},[_vm._v(\"(prev period)\")]),_vm._v(\" \"),_c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":\"#\"}},[_vm._v(\"(next period)\")]),_vm._v(\" \"),_c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":\"#\"}},[_vm._v(\"(this week?)\")])])]),_vm._v(\" \"),_c('input',_vm._g({class:isDragging ? 'text-gray-600' : 'text-gray-900',attrs:{\"type\":\"hidden\"},domProps:{\"value\":inputValue.start}},inputEvents.start)),_vm._v(\" \"),_c('input',_vm._g({class:isDragging ? 'text-gray-600' : 'text-gray-900',attrs:{\"type\":\"hidden\"},domProps:{\"value\":inputValue.end}},inputEvents.end))]}}]),model:{value:(_vm.range),callback:function ($$v) {_vm.range=$$v},expression:\"range\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCategoryList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCategoryList.vue?vue&type=script&lang=js&\"","<!--\n - MainCategoryList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.categories') }}</h3>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <tbody>\n <tr v-for=\"category in sortedList\">\n <td style=\"width:20%;\">\n <a :href=\"'./categories/show/' + category.id\">{{ category.name }}</a>\n <!--<p>Spent: {{ category.spentPct }}</p>\n <p>earned: {{ category.earnedPct }}</p>\n -->\n </td>\n <td class=\"align-middle\">\n <!-- SPENT -->\n <div class=\"progress\" v-if=\"category.spentPct > 0\">\n <div class=\"progress-bar progress-bar-striped bg-danger\" role=\"progressbar\" :aria-valuenow=\"category.spentPct\"\n :style=\"{ width: category.spentPct + '%'}\" aria-valuemin=\"0\"\n aria-valuemax=\"100\">\n <span v-if=\"category.spentPct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}\n </span>\n </div>\n <span v-if=\"category.spentPct <= 20\"> \n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}\n </span>\n </div>\n\n <!-- EARNED -->\n <div class=\"progress justify-content-end\" v-if=\"category.earnedPct > 0\" title=\"hello2\">\n <span v-if=\"category.earnedPct <= 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}\n </span>\n <div class=\"progress-bar progress-bar-striped bg-success\" role=\"progressbar\" :aria-valuenow=\"category.earnedPct\" :style=\"{ width: category.earnedPct + '%'}\" aria-valuemin=\"0\"\n aria-valuemax=\"100\" title=\"hello\">\n <span v-if=\"category.earnedPct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}\n </span>\n </div>\n </div>\n\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"MainCategoryList\",\n\n mounted() {\n this.locale = localStorage.locale ?? 'en-US';\n this.getCategories();\n },\n data() {\n return {\n locale: 'en-US',\n categories: [],\n sortedList: [],\n spent: 0,\n earned: 0\n }\n },\n methods:\n {\n getCategories() {\n axios.get('./api/v1/categories?start=' + window.sessionStart + '&end=' + window.sessionEnd)\n .then(response => {\n this.parseCategories(response.data);\n }\n );\n },\n parseCategories(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n let entryKey = null;\n let categoryId = parseInt(current.id);\n\n // loop spent info:\n for (let subKey in current.attributes.spent) {\n if (current.attributes.spent.hasOwnProperty(subKey) && /^0$|^[1-9]\\d*$/.test(subKey) && subKey <= 4294967294) {\n let spentData = current.attributes.spent[subKey];\n entryKey = spentData.currency_id.toString() + '-' + current.id.toString();\n\n // does the categories list thing have this combo? if not, create it.\n this.categories[entryKey] = this.categories[entryKey] ??\n {\n id: categoryId,\n name: current.attributes.name,\n currency_code: spentData.currency_code,\n currency_symbol: spentData.currency_symbol,\n spent: 0,\n earned: 0,\n spentPct: 0,\n earnedPct: 0,\n };\n this.categories[entryKey].spent = parseFloat(spentData.sum);\n this.spent = parseFloat(spentData.sum) < this.spent ? parseFloat(spentData.sum) : this.spent;\n }\n }\n\n // loop earned info\n for (let subKey in current.attributes.earned) {\n if (current.attributes.earned.hasOwnProperty(subKey) && /^0$|^[1-9]\\d*$/.test(subKey) && subKey <= 4294967294) {\n let earnedData = current.attributes.earned[subKey];\n entryKey = earnedData.currency_id.toString() + '-' + current.id.toString();\n\n // does the categories list thing have this combo? if not, create it.\n this.categories[entryKey] = this.categories[entryKey] ??\n {\n id: categoryId,\n name: current.attributes.name,\n currency_code: earnedData.currency_code,\n currency_symbol: earnedData.currency_symbol,\n spent: 0,\n earned: 0,\n spentPct: 0,\n earnedPct: 0,\n };\n this.categories[entryKey].earned = parseFloat(earnedData.sum);\n this.earned = parseFloat(earnedData.sum) > this.earned ? parseFloat(earnedData.sum) : this.earned;\n }\n }\n }\n }\n this.sortCategories();\n },\n sortCategories() {\n // no longer care about keys:\n let array = [];\n for (let cat in this.categories) {\n if (this.categories.hasOwnProperty(cat)) {\n array.push(this.categories[cat]);\n }\n }\n array.sort(function (one, two) {\n return (one.spent + one.earned) - (two.spent + two.earned);\n });\n for (let cat in array) {\n if (array.hasOwnProperty(cat)) {\n let current = array[cat];\n current.spentPct = (current.spent / this.spent) * 100;\n current.earnedPct = (current.earned / this.earned) * 100;\n this.sortedList.push(current);\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import { render, staticRenderFns } from \"./MainCategoryList.vue?vue&type=template&id=514792cf&scoped=true&\"\nimport script from \"./MainCategoryList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainCategoryList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"514792cf\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.categories')))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('tbody',_vm._l((_vm.sortedList),function(category){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./categories/show/' + category.id}},[_vm._v(_vm._s(category.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(category.spentPct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-danger\",style:({ width: category.spentPct + '%'}),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":category.spentPct,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"}},[(category.spentPct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.spent))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(category.spentPct <= 20)?_c('span',[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.spent))+\"\\n \")]):_vm._e()]):_vm._e(),_vm._v(\" \"),(category.earnedPct > 0)?_c('div',{staticClass:\"progress justify-content-end\",attrs:{\"title\":\"hello2\"}},[(category.earnedPct <= 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.earned))+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({ width: category.earnedPct + '%'}),attrs:{\"role\":\"progressbar\",\"aria-valuenow\":category.earnedPct,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\",\"title\":\"hello\"}},[(category.earnedPct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.earned))+\"\\n \")]):_vm._e()])]):_vm._e()])])}),0)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * dashboard.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Dashboard from \"../components/dashboard/Dashboard\";\nimport TopBoxes from \"../components/dashboard/TopBoxes\";\nimport MainAccount from \"../components/dashboard/MainAccount\";\nimport MainAccountList from \"../components/dashboard/MainAccountList\";\nimport MainBillsList from \"../components/dashboard/MainBillsList\";\nimport MainBudgetList from \"../components/dashboard/MainBudgetList\";\nimport MainCredit from \"../components/dashboard/MainCredit\";\nimport MainDebitList from \"../components/dashboard/MainDebitList\";\nimport MainPiggyList from \"../components/dashboard/MainPiggyList\";\nimport TransactionListLarge from \"../components/transactions/TransactionListLarge\";\nimport TransactionListMedium from \"../components/transactions/TransactionListMedium\";\nimport TransactionListSmall from \"../components/transactions/TransactionListSmall\";\nimport DatePicker from 'v-calendar/lib/components/date-picker.umd'\nimport Calendar from \"../components/dashboard/Calendar\";\nimport MainCategoryList from \"../components/dashboard/MainCategoryList\";\n/**\n * First we will load Axios via bootstrap.js\n * jquery and bootstrap-sass preloaded in app.js\n * vue, uiv and vuei18n are in app_vue.js\n */\n\nrequire('../bootstrap');\nrequire('chart.js');\nVue.config.devtools = false;\n\nVue.component('transaction-list-large', TransactionListLarge);\nVue.component('transaction-list-medium', TransactionListMedium);\nVue.component('transaction-list-small', TransactionListSmall);\n\n// components as an example\nVue.component('date-picker', DatePicker)\nVue.component('dashboard', Dashboard);\nVue.component('top-boxes', TopBoxes);\nVue.component('main-account', MainAccount);\nVue.component('main-account-list', MainAccountList);\nVue.component('main-bills-list', MainBillsList);\nVue.component('main-budget-list', MainBudgetList);\nVue.component('main-category-list', MainCategoryList);\nVue.component('main-credit', MainCredit);\nVue.component('main-debit-list', MainDebitList);\nVue.component('main-piggy-list', MainPiggyList);\n\n// i18n\nlet i18n = require('../i18n');\n\n\nlet props = {};\n\nnew Vue({\n i18n,\n el: \"#dashboard\",\n render: (createElement) => {\n return createElement(Dashboard, {props: props});\n },\n });\n\nnew Vue({\n i18n,\n el: \"#calendar\",\n render: (createElement) => {\n return createElement(Calendar, {props: props});\n },\n });"],"sourceRoot":""}\ No newline at end of file