@eturnity/eturnity_3d 7.16.0-EPDM-7953.1 → 7.16.0-qa-dev03.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +3 -0
- package/.bitbucket/ci/build_image_config.sh +8 -0
- package/.editorconfig +5 -0
- package/.env +1 -0
- package/.eslintrc +18 -0
- package/.prettierrc +7 -0
- package/CODEOWNERS +1 -0
- package/Dockerfile +17 -0
- package/bitbucket-pipelines.yml +1231 -0
- package/docker_conf/nginx/nginx.conf +16 -0
- package/index.html +25 -0
- package/package.json +56 -42
- package/postcss.config.js +1 -0
- package/preview.html +55 -0
- package/public/assets/images/panels/longiSolarLR4_60HPH_350M.png +0 -0
- package/public/assets/images/panels/longiSolarLR4_60HPH_370M.png +0 -0
- package/public/assets/images/panels/reneSola_Virtus_2_JC320S_24_Bbw.png +0 -0
- package/public/assets/images/panels/uv.png +0 -0
- package/public/assets/panels/longiSolarLR4_60HPH_350M.png +0 -0
- package/public/assets/panels/longiSolarLR4_60HPH_370M.png +0 -0
- package/public/assets/panels/reneSola_Virtus_2_JC320S_24_Bbw.png +0 -0
- package/public/assets/panels/uv.png +0 -0
- package/public/assets/theme.js +43 -0
- package/public/assets/vue.svg +1 -0
- package/public/vite.svg +1 -0
- package/server.js +17 -0
- package/src/components/ThreeCanvasViewer.vue +7 -4
- package/src/helper/UpdateRoofModuleFieldRelations.js +65 -25
- package/src/helper/cameraMixin.js +11 -16
- package/src/helper/customProvider.js +1 -13
- package/src/helper/materialMixin.js +2 -2
- package/src/helper/render/clear.js +0 -17
- package/src/helper/render/edge.js +4 -2
- package/src/helper/render/geometryHandler.js +40 -26
- package/src/helper/render/imageOverlay.js +11 -9
- package/src/helper/render/obstacle.js +6 -4
- package/src/helper/render/panel.js +3 -5
- package/src/helper/render/roof.js +36 -38
- package/src/helper/render/tile.js +2 -0
- package/src/helper/renderMixin.js +13 -23
- package/src/helper/threeMixin.js +12 -4
- package/src/main.js +9 -6
- package/src/store/nodesEdgesCreation.js +69 -4
- package/src/store/store.js +4 -2
- package/src/store/three-d-module.js +1 -1
- package/src/utils/layers.js +1 -29
- package/src/utils/leaflet-config.service.js +0 -5
- package/vue.config.js +46 -0
- package/dist/css/app.58568098.css +0 -1
- package/dist/index.html +0 -15
- package/dist/js/app-legacy.aa792c98.js +0 -2
- package/dist/js/app-legacy.aa792c98.js.map +0 -1
- package/dist/js/chunk-vendors-legacy.9bb3863d.js +0 -41
- package/dist/js/chunk-vendors-legacy.9bb3863d.js.map +0 -1
- package/src/helper/initializeThree.js +0 -14
- /package/{dist/img/reneSola_Virtus_2_JC320S_24_Bbw.85a0cb6d.png → public/assets/images/panels/reneSola_Virtus_2_JC320S_24_Bbw copy.png} +0 -0
package/.babelrc
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
printf "Building configuration for image"
|
|
3
|
+
export BRANCH_NAME=`printf $BITBUCKET_BRANCH | sed -e 's/\//-/g' | sed -e 's/#/_/g'`
|
|
4
|
+
export TAG=$BB_ETURNITY_VERSION-$BRANCH_NAME-$BITBUCKET_COMMIT
|
|
5
|
+
export IMAGE_NAME=$BB_CONTAINER_REGISTRY/$BB_ETURNITY_HUB/$BB_APPLICATION_NAME:$TAG
|
|
6
|
+
printf "BRANCH_NAME=$BRANCH_NAME\n" > .env.image
|
|
7
|
+
printf "TAG=$TAG\n" >> .env.image
|
|
8
|
+
printf "IMAGE_NAME=$IMAGE_NAME\n" >> .env.image
|
package/.editorconfig
ADDED
package/.env
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
VUE_APP_GOOGLE_MAP_API_KEY=AIzaSyAxqgQ_iRKAQ6AMvZ0a6Z0vkBwYTM-pnHM
|
package/.eslintrc
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": ["plugin:prettier/recommended", "plugin:vue/essential"],
|
|
3
|
+
|
|
4
|
+
"plugins": ["prettier"],
|
|
5
|
+
|
|
6
|
+
"rules": {
|
|
7
|
+
"prettier/prettier": "error",
|
|
8
|
+
"vue/no-parsing-error": "off",
|
|
9
|
+
"vue/no-side-effects-in-computed-properties": "off",
|
|
10
|
+
"vue/invalid-first-character-of-tag-name": "off"
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
"parserOptions": {
|
|
14
|
+
"ecmaVersion": 6,
|
|
15
|
+
"parser": "babel-eslint",
|
|
16
|
+
"sourceType": "module"
|
|
17
|
+
}
|
|
18
|
+
}
|
package/.prettierrc
ADDED
package/CODEOWNERS
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* elisee.reclus@eturnity.com
|
package/Dockerfile
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
## build stage
|
|
2
|
+
FROM node:lts-alpine3.10 as build-stage
|
|
3
|
+
|
|
4
|
+
RUN apk update
|
|
5
|
+
WORKDIR /app
|
|
6
|
+
COPY package*.json ./
|
|
7
|
+
RUN npm install
|
|
8
|
+
COPY . .
|
|
9
|
+
RUN npm run build
|
|
10
|
+
|
|
11
|
+
# production stage
|
|
12
|
+
FROM --platform=linux/amd64 nginx:stable-alpine as production-stage
|
|
13
|
+
WORKDIR /usr/share/nginx/html/3d_viewer
|
|
14
|
+
COPY --from=build-stage /app/dist .
|
|
15
|
+
COPY docker_conf/nginx/nginx.conf /etc/nginx/conf.d/default.conf
|
|
16
|
+
EXPOSE 8080
|
|
17
|
+
CMD ["nginx", "-g", "daemon off;"]
|