Compare commits
11 Commits
d39415f02e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 6c3ab29189 | |||
| 904121e829 | |||
| 8aad02642c | |||
| ffc0c85604 | |||
| 8027bbaa56 | |||
| 7cc1778997 | |||
| cd78802048 | |||
| c54cbba22c | |||
| da780541d1 | |||
| 7874a7db9c | |||
| c2005aa436 |
16
.gitignore
vendored
Normal file
16
.gitignore
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Dependencies
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# Build output
|
||||||
|
dist/
|
||||||
|
|
||||||
|
# IDE
|
||||||
|
.vscode/settings.json
|
||||||
|
|
||||||
|
# OS
|
||||||
|
Thumbs.db
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# Environment
|
||||||
|
.env.local
|
||||||
|
.env.*.local
|
||||||
1
ayanova/.nvmrc
Normal file
1
ayanova/.nvmrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
12.22.9
|
||||||
45
ayanova/Dockerfile.frontend
Normal file
45
ayanova/Dockerfile.frontend
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
# AyaNova v8 Frontend Build Environment
|
||||||
|
#
|
||||||
|
# This Dockerfile creates a reproducible build environment for the Vue.js frontend.
|
||||||
|
# It uses the exact Node.js version (12.22.9) that the project was developed with.
|
||||||
|
#
|
||||||
|
# Usage:
|
||||||
|
# Build the image:
|
||||||
|
# docker build -f Dockerfile.frontend -t ayanova-frontend-build .
|
||||||
|
#
|
||||||
|
# Run a build (mount your source code):
|
||||||
|
# docker run --rm -v "c:/data/code/raven-client/ayanova:/app" -v "c:/data/code/raven/server/AyaNova/wwwroot:/output" ayanova-frontend-build
|
||||||
|
#
|
||||||
|
# Interactive shell for debugging:
|
||||||
|
# docker run --rm -it -v "c:/data/code/raven-client/ayanova:/app" ayanova-frontend-build /bin/bash
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM node:12.22.9-bullseye
|
||||||
|
|
||||||
|
# Install build tools needed for native modules (fibers)
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
python3 \
|
||||||
|
make \
|
||||||
|
g++ \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Set working directory
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Copy package files first (for better layer caching)
|
||||||
|
# When running with volume mounts, these will be overwritten
|
||||||
|
COPY package*.json ./
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
# Using --legacy-peer-deps because some packages have outdated peer dependencies
|
||||||
|
RUN npm ci --legacy-peer-deps || npm install --legacy-peer-deps
|
||||||
|
|
||||||
|
# Copy the rest of the source code
|
||||||
|
# (This layer is skipped when using volume mounts)
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Default command: run the production build
|
||||||
|
CMD ["npm", "run", "build"]
|
||||||
|
|
||||||
|
# To copy output to host, the build script or docker run command should handle it
|
||||||
|
# Example: docker run ... && docker cp container:/app/dist ./dist
|
||||||
4
ayanova/package-lock.json
generated
4
ayanova/package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "ayanova",
|
"name": "ayanova",
|
||||||
"version": "8.1.4",
|
"version": "8.2.4",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "ayanova",
|
"name": "ayanova",
|
||||||
"version": "8.1.4",
|
"version": "8.2.4",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-svg-core": "^1.3.0",
|
"@fortawesome/fontawesome-svg-core": "^1.3.0",
|
||||||
"@fortawesome/free-regular-svg-icons": "^5.15.4",
|
"@fortawesome/free-regular-svg-icons": "^5.15.4",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ayanova",
|
"name": "ayanova",
|
||||||
"version": "8.1.4",
|
"version": "8.2.4",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export default {
|
export default {
|
||||||
version: "8.1.4",
|
version: "8.2.4",
|
||||||
copyright: "© 1999-2024, Ground Zero Tech-Works Inc."
|
copyright: "© 1999-2025, Ground Zero Tech-Works Inc."
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
<div class="mt-8">
|
<div class="mt-8">
|
||||||
<v-autocomplete
|
<v-autocomplete
|
||||||
v-model="selectedStatus"
|
v-model="selectedStatus"
|
||||||
:items="pvm.selectLists.allowedquotestatus"
|
:items="activeAllowedStatus"
|
||||||
item-text="name"
|
item-text="name"
|
||||||
item-value="id"
|
item-value="id"
|
||||||
dense
|
dense
|
||||||
@@ -237,6 +237,12 @@ export default {
|
|||||||
ret += this.errorMessages.toString();
|
ret += this.errorMessages.toString();
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
},
|
||||||
|
activeAllowedStatus: function() {
|
||||||
|
//case 4583
|
||||||
|
return this.pvm.selectLists.allowedquotestatus.filter(
|
||||||
|
z => z.active == true
|
||||||
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
<div class="mt-8">
|
<div class="mt-8">
|
||||||
<v-autocomplete
|
<v-autocomplete
|
||||||
v-model="selectedStatus"
|
v-model="selectedStatus"
|
||||||
:items="pvm.selectLists.allowedwostatus"
|
:items="activeAllowedWoStatus"
|
||||||
item-text="name"
|
item-text="name"
|
||||||
item-value="id"
|
item-value="id"
|
||||||
dense
|
dense
|
||||||
@@ -215,6 +215,10 @@ export default {
|
|||||||
ret += this.errorMessages.toString();
|
ret += this.errorMessages.toString();
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
},
|
||||||
|
activeAllowedWoStatus: function() {
|
||||||
|
//case 4583
|
||||||
|
return this.pvm.selectLists.allowedwostatus.filter(z => z.active == true);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user