@protacon/muster-booking-frontend 1.28.4 → 1.30.0

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/.editorconfig ADDED
@@ -0,0 +1,22 @@
1
+ root = true
2
+
3
+ [*]
4
+ charset = utf-8
5
+ end_of_line = lf
6
+ insert_final_newline = false
7
+ trim_trailing_whitespace = true
8
+
9
+ [*.{js,jsx,ts,tsx}]
10
+ indent_style = tab
11
+ indent_size = 2
12
+
13
+ [*.{css,html}]
14
+ indent_style = space
15
+ indent_size = 2
16
+
17
+ [*.{json,yml,yaml}]
18
+ indent_style = space
19
+ indent_size = 2
20
+
21
+ [*.md]
22
+ trim_trailing_whitespace = false
package/.gitattributes ADDED
@@ -0,0 +1,6 @@
1
+ # Ensure consistent line endings across platforms
2
+ * text=auto eol=lf
3
+
4
+ # Denote binary files that should not be modified
5
+ *.woff binary
6
+ *.woff2 binary
@@ -0,0 +1,30 @@
1
+ name: On push tests
2
+ run-name: Lint application code
3
+ on: [push]
4
+ jobs:
5
+ run-build:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v4
9
+ - uses: actions/setup-node@v4
10
+ with:
11
+ node-version: "20"
12
+ - run: npm install
13
+ - run: npm run build
14
+ run-lint:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: actions/setup-node@v4
19
+ with:
20
+ node-version: "20"
21
+ - run: npm install
22
+ - run: npm run lint
23
+ run-prettier:
24
+ runs-on: ubuntu-latest
25
+ steps:
26
+ - uses: actions/checkout@v4
27
+ - uses: actions/setup-node@v4
28
+ with:
29
+ node-version: "20"
30
+ - run: npm run prettier
@@ -0,0 +1,18 @@
1
+ # Build outputs
2
+ dist/
3
+ node_modules/
4
+
5
+ # Configuration files
6
+ *.config.*
7
+ webpack.config.js
8
+ eslint.config.mjs
9
+
10
+ # Public assets
11
+ public/
12
+
13
+ # Package files
14
+ package-lock.json
15
+ yarn.lock
16
+
17
+ # Environment files
18
+ .env*
package/Jenkinsfile CHANGED
@@ -1,4 +1,4 @@
1
- library 'jenkins-ptcs-library@5.0.0'
1
+ library 'jenkins-ptcs-library@7.0.0'
2
2
 
3
3
  podTemplate(label: pod.label,
4
4
  containers: pod.templates + [ // This adds all depencies for jenkins-ptcs-library methods to function correctly.
package/LICENSE.md CHANGED
@@ -1 +1 @@
1
- (c) Copyright 2019 Protacon, all rights reserved.
1
+ (c) Copyright 2019 Protacon, all rights reserved.
package/dist/env.js CHANGED
@@ -1 +1 @@
1
- !function(o){let t=o.__env=o.__env||{};t.apiurl="http://localhost:5001/v1",t.chainId=6,t.maxStations=5,t.googleMapsApiKey="AIzaSyCHo7F34WsxGcRGewe_vmA6Qwn1PRBS4Jo"}(this);
1
+ !function(n){let t=n.__env=n.__env||{};t.apiurl="http://localhost:5001/v1",t.chainId=6,t.maxStations=5,t.googleMapsApiKey="AIzaSyCHo7F34WsxGcRGewe_vmA6Qwn1PRBS4Jo",t.pbInspection=1,t.lbInspection=101,t.mcInspection=102,t.slapInspection=105,t.slapBrakesInspection=112,t.mopedInspection=7,t.trInspection=111,t.camperAndMotorhomeInspection=10001,t.camperAndMotorhomeInspectionLb=153,t.caravanInspection=1001,t.pbPostInspection=2,t.lbPostInspection=2,t.mcPostInspection=2,t.slapPostInspection=2,t.slapBrakesPostInspection=2,t.mopedPostInspection=2,t.trPostInspection=2,t.camperAndMotorhomePostInspection=2,t.camperAndMotorhomePostInspectionLb=154,t.caravanPostInspection=2,t.trafficSafetyControl=113,t.conditionTestPremium=42,t.conditionTestBasic=43,t.vintageVehicleTest="",t.gasolineTest=10002,t.batteryTestPremium="",t.batteryTestFlash=""}(this);
@@ -1 +1 @@
1
- !function(i){let a=i.__env=i.__env||{};a.apiurl="[apiurl]",a.chainId=[chainId],a.maxStations=5,a.googleMapsApiKey="[googleMapsApiKey]"}(this);
1
+ !function(n){let t=n.__env=n.__env||{};t.apiurl="[apiurl]",t.chainId=[chainId],t.maxStations=5,t.googleMapsApiKey="[googleMapsApiKey]",t.pbInspection=[pbInspection],t.lbInspection=[lbInspection],t.mcInspection=[mcInspection],t.slapInspection=[slapInspection],t.slapBrakesInspection=[slapBrakesInspection],t.mopedInspection=[mopedInspection],t.trInspection=[trInspection],t.camperAndMotorhomeInspection=[camperAndMotorhomeInspection],t.camperAndMotorhomeInspectionLb=[camperAndMotorhomeInspectionLb],t.caravanInspection=[caravanInspection],t.pbPostInspection=[pbPostInspection],t.lbPostInspection=[lbPostInspection],t.mcPostInspection=[mcPostInspection],t.slapPostInspection=[slapPostInspection],t.slapBrakesPostInspection=[slapBrakesPostInspection],t.mopedPostInspection=[mopedPostInspection],t.trPostInspection=[trPostInspection],t.camperAndMotorhomePostInspection=[camperAndMotorhomePostInspection],t.camperAndMotorhomePostInspectionLb=[camperAndMotorhomePostInspectionLb],t.caravanPostInspection=[caravanPostInspection],t.trafficSafetyControl=[trafficSafetyControl],t.conditionTestPremium=[conditionTestPremium],t.conditionTestBasic=[conditionTestBasic],t.vintageVehicleTest=[vintageVehicleTest],t.gasolineTest=[gasolineTest],t.batteryTestPremium=[batteryTestPremium],t.batteryTestFlash=[batteryTestFlash]}(this);