mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-05-02 05:24:27 +02:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8fc11b0acf | ||
|
|
9a30a0d3c0 | ||
|
|
10eecd09ff | ||
|
|
2cfb3fb12e | ||
|
|
47af8b135b | ||
|
|
39d0e63375 | ||
|
|
792154eba2 | ||
|
|
e627dd50be | ||
|
|
be24ca014e |
29
.vscode/launch.json
vendored
Normal file
29
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Docker: Dev",
|
||||||
|
"type": "node-terminal",
|
||||||
|
"request": "launch",
|
||||||
|
"command": "docker compose --env-file .env -f docker-compose.dev.yml up --build",
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"postDebugTask": "Docker: Dev Down"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Docker: Dev (no rebuild)",
|
||||||
|
"type": "node-terminal",
|
||||||
|
"request": "launch",
|
||||||
|
"command": "docker compose --env-file .env -f docker-compose.dev.yml up",
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"postDebugTask": "Docker: Dev Down"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Docker: Prod",
|
||||||
|
"type": "node-terminal",
|
||||||
|
"request": "launch",
|
||||||
|
"command": "docker compose --env-file .prod.env -f docker-compose.prod.yml up --build",
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"postDebugTask": "Docker: Prod Down"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
119
.vscode/tasks.json
vendored
Normal file
119
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Docker: Dev",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "docker",
|
||||||
|
"args": [
|
||||||
|
"compose",
|
||||||
|
"--env-file",
|
||||||
|
".env",
|
||||||
|
"-f",
|
||||||
|
"docker-compose.dev.yml",
|
||||||
|
"up",
|
||||||
|
"--build"
|
||||||
|
],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
"group": "build",
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Docker: Dev (no rebuild)",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "docker",
|
||||||
|
"args": [
|
||||||
|
"compose",
|
||||||
|
"--env-file",
|
||||||
|
".env",
|
||||||
|
"-f",
|
||||||
|
"docker-compose.dev.yml",
|
||||||
|
"up"
|
||||||
|
],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Docker: Dev Refresh Vite Deps",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "docker compose --env-file .env -f docker-compose.dev.yml rm -sfv vite; docker compose --env-file .env -f docker-compose.dev.yml up --build",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Docker: Dev Down",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "docker",
|
||||||
|
"args": [
|
||||||
|
"compose",
|
||||||
|
"--env-file",
|
||||||
|
".env",
|
||||||
|
"-f",
|
||||||
|
"docker-compose.dev.yml",
|
||||||
|
"down"
|
||||||
|
],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Docker: Prod",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "docker",
|
||||||
|
"args": [
|
||||||
|
"compose",
|
||||||
|
"--env-file",
|
||||||
|
".prod.env",
|
||||||
|
"-f",
|
||||||
|
"docker-compose.prod.yml",
|
||||||
|
"up",
|
||||||
|
"--build"
|
||||||
|
],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Docker: Prod Down",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "docker",
|
||||||
|
"args": [
|
||||||
|
"compose",
|
||||||
|
"--env-file",
|
||||||
|
".prod.env",
|
||||||
|
"-f",
|
||||||
|
"docker-compose.prod.yml",
|
||||||
|
"down"
|
||||||
|
],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Django: Runserver localhost:8000",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "${command:python.interpreterPath}",
|
||||||
|
"args": [
|
||||||
|
"manage.py",
|
||||||
|
"runserver",
|
||||||
|
"localhost:8000"
|
||||||
|
],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/app",
|
||||||
|
"env": {
|
||||||
|
"PYTHONUNBUFFERED": "1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -8,7 +8,7 @@ msgstr ""
|
|||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2026-02-16 02:24+0000\n"
|
"POT-Creation-Date: 2026-02-16 02:24+0000\n"
|
||||||
"PO-Revision-Date: 2026-03-02 22:30+0000\n"
|
"PO-Revision-Date: 2026-04-30 02:24+0000\n"
|
||||||
"Last-Translator: Herculino Trotta <netotrotta@gmail.com>\n"
|
"Last-Translator: Herculino Trotta <netotrotta@gmail.com>\n"
|
||||||
"Language-Team: Portuguese (Brazil) <https://translations.herculino.com/"
|
"Language-Team: Portuguese (Brazil) <https://translations.herculino.com/"
|
||||||
"projects/wygiwyh/app/pt_BR/>\n"
|
"projects/wygiwyh/app/pt_BR/>\n"
|
||||||
@@ -17,7 +17,7 @@ msgstr ""
|
|||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||||
"X-Generator: Weblate 5.16.1\n"
|
"X-Generator: Weblate 5.17\n"
|
||||||
|
|
||||||
#: apps/accounts/forms.py:24
|
#: apps/accounts/forms.py:24
|
||||||
msgid "Group name"
|
msgid "Group name"
|
||||||
@@ -3059,7 +3059,7 @@ msgstr "Abr"
|
|||||||
|
|
||||||
#: templates/insights/fragments/month_by_month.html:98
|
#: templates/insights/fragments/month_by_month.html:98
|
||||||
msgid "May"
|
msgid "May"
|
||||||
msgstr "Mai"
|
msgstr "Maio"
|
||||||
|
|
||||||
#: templates/insights/fragments/month_by_month.html:99
|
#: templates/insights/fragments/month_by_month.html:99
|
||||||
msgid "Jun"
|
msgid "Jun"
|
||||||
|
|||||||
@@ -268,7 +268,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{# Filter transactions form #}
|
{# Filter transactions form #}
|
||||||
<div class="z-1" x-show="filterOpen" x-collapse>
|
<div class="z-1" x-show="filterOpen" x-collapse x-cloak>
|
||||||
<div class="card card-body bg-base-200 mt-2">
|
<div class="card card-body bg-base-200 mt-2">
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
<button class="btn btn-outline btn-error btn-sm w-fit"
|
<button class="btn btn-outline btn-error btn-sm w-fit"
|
||||||
|
|||||||
@@ -218,7 +218,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{# Filter transactions form #}
|
{# Filter transactions form #}
|
||||||
<div class="z-1" x-show="filterOpen" x-collapse>
|
<div class="z-1" x-show="filterOpen" x-collapse x-cloak>
|
||||||
<div class="card card-body bg-base-200 mt-2">
|
<div class="card card-body bg-base-200 mt-2">
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
<button class="btn btn-outline btn-error btn-sm w-fit"
|
<button class="btn btn-outline btn-error btn-sm w-fit"
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ FROM node:lts-alpine
|
|||||||
|
|
||||||
WORKDIR /usr/src/frontend
|
WORKDIR /usr/src/frontend
|
||||||
|
|
||||||
COPY ./frontend/package.json .
|
COPY ./frontend/package.json ./frontend/package-lock.json ./
|
||||||
|
|
||||||
RUN npm install --verbose && npm cache clean --force
|
RUN npm ci --verbose && npm cache clean --force
|
||||||
|
|
||||||
ENV PATH ./node_modules/.bin/:$PATH
|
ENV PATH ./node_modules/.bin/:$PATH
|
||||||
|
|
||||||
|
|||||||
25
frontend/package-lock.json
generated
25
frontend/package-lock.json
generated
@@ -23,7 +23,7 @@
|
|||||||
"bootstrap": "^5.3.8",
|
"bootstrap": "^5.3.8",
|
||||||
"chart.js": "^4.5.1",
|
"chart.js": "^4.5.1",
|
||||||
"chartjs-chart-sankey": "^0.14.0",
|
"chartjs-chart-sankey": "^0.14.0",
|
||||||
"daisyui": "^5.5.5",
|
"daisyui": "5.5.19",
|
||||||
"htmx.org": "^2.0.8",
|
"htmx.org": "^2.0.8",
|
||||||
"hyperscript.org": "^0.9.14",
|
"hyperscript.org": "^0.9.14",
|
||||||
"mathjs": "^15.2.0",
|
"mathjs": "^15.2.0",
|
||||||
@@ -1667,12 +1667,15 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/baseline-browser-mapping": {
|
"node_modules/baseline-browser-mapping": {
|
||||||
"version": "2.8.25",
|
"version": "2.10.24",
|
||||||
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.25.tgz",
|
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.24.tgz",
|
||||||
"integrity": "sha512-2NovHVesVF5TXefsGX1yzx1xgr7+m9JQenvz6FQY3qd+YXkKkYiv+vTCc7OriP9mcDZpTC5mAOYN4ocd29+erA==",
|
"integrity": "sha512-I2NkZOOrj2XuguvWCK6OVh9GavsNjZjK908Rq3mIBK25+GD8vPX5w2WdxVqnQ7xx3SrZJiCiZFu+/Oz50oSYSA==",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"bin": {
|
"bin": {
|
||||||
"baseline-browser-mapping": "dist/cli.js"
|
"baseline-browser-mapping": "dist/cli.cjs"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=6.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/bootstrap": {
|
"node_modules/bootstrap": {
|
||||||
@@ -1743,9 +1746,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/caniuse-lite": {
|
"node_modules/caniuse-lite": {
|
||||||
"version": "1.0.30001754",
|
"version": "1.0.30001791",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001754.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001791.tgz",
|
||||||
"integrity": "sha512-x6OeBXueoAceOmotzx3PO4Zpt4rzpeIFsSr6AAePTZxSkXiYDUmpypEl7e2+8NCd9bD7bXjqyef8CJYPC1jfxg==",
|
"integrity": "sha512-yk0l/YSrOnFZk3UROpDLQD9+kC1l4meK/wed583AXrzoarMGJcbRi2Q4RaUYbKxYAsZ8sWmaSa/DsLmdBeI1vQ==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
@@ -1816,9 +1819,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/daisyui": {
|
"node_modules/daisyui": {
|
||||||
"version": "5.5.5",
|
"version": "5.5.19",
|
||||||
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-5.5.5.tgz",
|
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-5.5.19.tgz",
|
||||||
"integrity": "sha512-ekvI93ZkWIJoCOtDl0D2QMxnWvTejk9V5nWBqRv+7t0xjiBXqAK5U6o6JE2RPvlIC3EqwNyUoIZSdHX9MZK3nw==",
|
"integrity": "sha512-pbFAkl1VCEh/MPCeclKL61I/MqRIFFhNU7yiXoDDRapXN4/qNCoMxeCCswyxEEhqL5eiTTfwHvucFtOE71C9sA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://github.com/saadeghi/daisyui?sponsor=1"
|
"url": "https://github.com/saadeghi/daisyui?sponsor=1"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
"bootstrap": "^5.3.8",
|
"bootstrap": "^5.3.8",
|
||||||
"chart.js": "^4.5.1",
|
"chart.js": "^4.5.1",
|
||||||
"chartjs-chart-sankey": "^0.14.0",
|
"chartjs-chart-sankey": "^0.14.0",
|
||||||
"daisyui": "^5.5.5",
|
"daisyui": "5.5.19",
|
||||||
"htmx.org": "^2.0.8",
|
"htmx.org": "^2.0.8",
|
||||||
"hyperscript.org": "^0.9.14",
|
"hyperscript.org": "^0.9.14",
|
||||||
"mathjs": "^15.2.0",
|
"mathjs": "^15.2.0",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import 'hyperscript.org';
|
import _hyperscript from 'hyperscript.org';
|
||||||
import './_htmx.js';
|
import './_htmx.js';
|
||||||
import Alpine from "alpinejs";
|
import Alpine from "alpinejs";
|
||||||
import mask from '@alpinejs/mask';
|
import mask from '@alpinejs/mask';
|
||||||
@@ -6,8 +6,10 @@ import collapse from '@alpinejs/collapse'
|
|||||||
import { create, all } from 'mathjs';
|
import { create, all } from 'mathjs';
|
||||||
|
|
||||||
window.Alpine = Alpine;
|
window.Alpine = Alpine;
|
||||||
const _hyperscript = window._hyperscript;
|
if (!window._hyperscript) {
|
||||||
window._hyperscript = _hyperscript;
|
window._hyperscript = _hyperscript;
|
||||||
|
_hyperscript.browserInit();
|
||||||
|
}
|
||||||
window.math = create(all, {
|
window.math = create(all, {
|
||||||
number: 'BigNumber',
|
number: 'BigNumber',
|
||||||
});
|
});
|
||||||
|
|||||||
3
frontend/src/plugins/tw-bootstrap-grid-plugin.js
Normal file
3
frontend/src/plugins/tw-bootstrap-grid-plugin.js
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
import twBootstrapGrid from "tw-bootstrap-grid";
|
||||||
|
|
||||||
|
export default twBootstrapGrid;
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
themes: wygiwyh_dark --default, wygiwyh_light;
|
themes: wygiwyh_dark --default, wygiwyh_light;
|
||||||
logs: true;
|
logs: true;
|
||||||
}
|
}
|
||||||
@plugin "tw-bootstrap-grid";
|
@plugin "../plugins/tw-bootstrap-grid-plugin.js";
|
||||||
|
|
||||||
@plugin "daisyui/theme" {
|
@plugin "daisyui/theme" {
|
||||||
name: "wygiwyh_light";
|
name: "wygiwyh_light";
|
||||||
|
|||||||
Reference in New Issue
Block a user