Rebuild frontend

This commit is contained in:
James Cole 2023-08-22 08:28:52 +02:00
parent 60809c688e
commit fa4492287d
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
7 changed files with 25 additions and 20 deletions

View File

@ -302,7 +302,7 @@ class TransactionGroupTransformer extends AbstractTransformer
if (null === $string) {
return null;
}
Log::debug(sprintf('Now in date("%s")', $string));
// Log::debug(sprintf('Now in date("%s")', $string));
if (10 === strlen($string)) {
return Carbon::createFromFormat('Y-m-d', $string, config('app.timezone'));
}

24
package-lock.json generated
View File

@ -9,6 +9,7 @@
"@popperjs/core": "^2.11.8",
"alpinejs": "^3.12.3",
"bootstrap": "^5.3.0",
"bootstrap5-autocomplete": "^1.1.20",
"chart.js": "^4.3.3",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-chart-sankey": "^0.12.0",
@ -496,6 +497,11 @@
"@popperjs/core": "^2.11.8"
}
},
"node_modules/bootstrap5-autocomplete": {
"version": "1.1.20",
"resolved": "https://registry.npmjs.org/bootstrap5-autocomplete/-/bootstrap5-autocomplete-1.1.20.tgz",
"integrity": "sha512-lvX/Za+GnZ7fC1NqVXQr4DWA0eQMR+/uyFjTasdfNSwAMTFhBTIexCsEM+0pXiKdJJnZUXbfcxaNxW1I0rAwLw=="
},
"node_modules/braces": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
@ -683,9 +689,9 @@
}
},
"node_modules/fsevents": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
"dev": true,
"hasInstallScript": true,
"optional": true,
@ -853,9 +859,9 @@
}
},
"node_modules/postcss": {
"version": "8.4.27",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.27.tgz",
"integrity": "sha512-gY/ACJtJPSmUFPDCHtX78+01fHa64FaU4zaaWfuh1MhGJISufJAH4cun6k/8fwsHYeK4UQmENQK+tRLCFJE8JQ==",
"version": "8.4.28",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.28.tgz",
"integrity": "sha512-Z7V5j0cq8oEKyejIKfpD8b4eBy9cwW2JWPk0+fB1HOAMsfHbnAXLLS+PfVWlzMSLQaWttKDt607I0XHmpE67Vw==",
"dev": true,
"funding": [
{
@ -904,9 +910,9 @@
"integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA=="
},
"node_modules/rollup": {
"version": "3.28.0",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.0.tgz",
"integrity": "sha512-d7zhvo1OUY2SXSM6pfNjgD5+d0Nz87CUp4mt8l/GgVP3oBsPwzNvSzyu1me6BSG9JIgWNTVcafIXBIyM8yQ3yw==",
"version": "3.28.1",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.28.1.tgz",
"integrity": "sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==",
"dev": true,
"bin": {
"rollup": "dist/bin/rollup"

View File

@ -17,6 +17,7 @@
"@popperjs/core": "^2.11.8",
"alpinejs": "^3.12.3",
"bootstrap": "^5.3.0",
"bootstrap5-autocomplete": "^1.1.20",
"chart.js": "^4.3.3",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-chart-sankey": "^0.12.0",

File diff suppressed because one or more lines are too long

View File

@ -29,11 +29,11 @@
"src": "node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2",
"integrity": "sha384-B73JAwYNSgI4rwb14zwxigHgAkg1Ms+j6+9sJoDpiL11+VW5RjQCLfIh0RVoi0h6"
},
"resources/assets/v2/dashboard.js": {
"file": "assets/dashboard-40253f13.js",
"resources/assets/v2/pages/dashboard/dashboard.js": {
"file": "assets/dashboard-d2c915f3.js",
"isEntry": true,
"src": "resources/assets/v2/dashboard.js",
"integrity": "sha384-1RIolAXZYnMCA5uLiXCI3XixY7vu6YBK+4MQFqBCqDG25k4J1U6A2WCyjRxUA1Ws"
"src": "resources/assets/v2/pages/dashboard/dashboard.js",
"integrity": "sha384-wep3ofduNkA43fzF5MbbAUj1EzVhslvRGK/dxI0d8o1zCEpFfz2xSCi8EMezy4Ia"
},
"resources/assets/v2/sass/app.scss": {
"file": "assets/app-28a195fd.css",

View File

@ -53,7 +53,6 @@ export default () => ({
let options = window.store.get(CHART_CACHE_KEY);
this.drawChart(options);
this.loading = false;
console.log('Chart from cache');
}
if (!cacheValid || typeof cachedData === 'undefined') {
const dashboard = new Dashboard();
@ -64,7 +63,6 @@ export default () => ({
window.store.set(CHART_CACHE_KEY, options);
this.drawChart(options);
this.loading = false;
console.log('Chart FRESH');
});
}

View File

@ -9,7 +9,7 @@ export default defineConfig({
laravel({
input: [
'resources/assets/v2/sass/app.scss',
'resources/assets/v2/dashboard.js',
'resources/assets/v2/pages/dashboard/dashboard.js',
],
refresh: true,
}),