@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.
Files changed (56) hide show
  1. package/.babelrc +3 -0
  2. package/.bitbucket/ci/build_image_config.sh +8 -0
  3. package/.editorconfig +5 -0
  4. package/.env +1 -0
  5. package/.eslintrc +18 -0
  6. package/.prettierrc +7 -0
  7. package/CODEOWNERS +1 -0
  8. package/Dockerfile +17 -0
  9. package/bitbucket-pipelines.yml +1231 -0
  10. package/docker_conf/nginx/nginx.conf +16 -0
  11. package/index.html +25 -0
  12. package/package.json +56 -42
  13. package/postcss.config.js +1 -0
  14. package/preview.html +55 -0
  15. package/public/assets/images/panels/longiSolarLR4_60HPH_350M.png +0 -0
  16. package/public/assets/images/panels/longiSolarLR4_60HPH_370M.png +0 -0
  17. package/public/assets/images/panels/reneSola_Virtus_2_JC320S_24_Bbw.png +0 -0
  18. package/public/assets/images/panels/uv.png +0 -0
  19. package/public/assets/panels/longiSolarLR4_60HPH_350M.png +0 -0
  20. package/public/assets/panels/longiSolarLR4_60HPH_370M.png +0 -0
  21. package/public/assets/panels/reneSola_Virtus_2_JC320S_24_Bbw.png +0 -0
  22. package/public/assets/panels/uv.png +0 -0
  23. package/public/assets/theme.js +43 -0
  24. package/public/assets/vue.svg +1 -0
  25. package/public/vite.svg +1 -0
  26. package/server.js +17 -0
  27. package/src/components/ThreeCanvasViewer.vue +7 -4
  28. package/src/helper/UpdateRoofModuleFieldRelations.js +65 -25
  29. package/src/helper/cameraMixin.js +11 -16
  30. package/src/helper/customProvider.js +1 -13
  31. package/src/helper/materialMixin.js +2 -2
  32. package/src/helper/render/clear.js +0 -17
  33. package/src/helper/render/edge.js +4 -2
  34. package/src/helper/render/geometryHandler.js +40 -26
  35. package/src/helper/render/imageOverlay.js +11 -9
  36. package/src/helper/render/obstacle.js +6 -4
  37. package/src/helper/render/panel.js +3 -5
  38. package/src/helper/render/roof.js +36 -38
  39. package/src/helper/render/tile.js +2 -0
  40. package/src/helper/renderMixin.js +13 -23
  41. package/src/helper/threeMixin.js +12 -4
  42. package/src/main.js +9 -6
  43. package/src/store/nodesEdgesCreation.js +69 -4
  44. package/src/store/store.js +4 -2
  45. package/src/store/three-d-module.js +1 -1
  46. package/src/utils/layers.js +1 -29
  47. package/src/utils/leaflet-config.service.js +0 -5
  48. package/vue.config.js +46 -0
  49. package/dist/css/app.58568098.css +0 -1
  50. package/dist/index.html +0 -15
  51. package/dist/js/app-legacy.aa792c98.js +0 -2
  52. package/dist/js/app-legacy.aa792c98.js.map +0 -1
  53. package/dist/js/chunk-vendors-legacy.9bb3863d.js +0 -41
  54. package/dist/js/chunk-vendors-legacy.9bb3863d.js.map +0 -1
  55. package/src/helper/initializeThree.js +0 -14
  56. /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,3 @@
1
+ {
2
+ presets: ["@babel/preset-env"]
3
+ }
@@ -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
@@ -0,0 +1,5 @@
1
+ [*.{js,jsx,ts,tsx,vue}]
2
+ indent_style = space
3
+ indent_size = 2
4
+ trim_trailing_whitespace = true
5
+ insert_final_newline = true
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
@@ -0,0 +1,7 @@
1
+ {
2
+ "semi": false,
3
+ "singleQuote": true,
4
+ "useTabs": false,
5
+ "trailingComma": "none",
6
+ "printWidth": 80
7
+ }
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;"]