@driveflux/pdf 1.3.1 → 1.3.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../src/__mocks__/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAA;AAE5D,eAAO,MAAM,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../src/__mocks__/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAA;AAE5D,eAAO,MAAM,YAAY,EAAE,wBA80B1B,CAAA"}
|
|
@@ -185,6 +185,7 @@ export var subscription = {
|
|
|
185
185
|
'member'
|
|
186
186
|
],
|
|
187
187
|
maritalStatus: null,
|
|
188
|
+
gender: null,
|
|
188
189
|
emergencyContactName: null,
|
|
189
190
|
emergencyPhoneNumber: null,
|
|
190
191
|
jobTitle: null,
|
|
@@ -490,13 +491,17 @@ export var subscription = {
|
|
|
490
491
|
signUpPaymentAdded: false,
|
|
491
492
|
activeSub: true,
|
|
492
493
|
expiredSub: false
|
|
493
|
-
}
|
|
494
|
+
},
|
|
495
|
+
companyName: 'FLUX',
|
|
496
|
+
ethnicity: null,
|
|
497
|
+
geoRegion: null
|
|
494
498
|
},
|
|
495
499
|
vehicle: {
|
|
496
500
|
id: 'VM98GEJKS',
|
|
497
501
|
object: 'vehicle',
|
|
498
502
|
make: 'Proton',
|
|
499
|
-
vehicleModel: 'X90
|
|
503
|
+
vehicleModel: 'X90',
|
|
504
|
+
vehicleVariant: '1.5 Flagship',
|
|
500
505
|
year: 2024,
|
|
501
506
|
featured: false,
|
|
502
507
|
searchRankScore: 600,
|
|
@@ -521,6 +526,7 @@ export var subscription = {
|
|
|
521
526
|
type: 'car',
|
|
522
527
|
allowedServiceCenterIds: [],
|
|
523
528
|
niceName: 'Proton X90 1.5 Flagship 2024',
|
|
529
|
+
niceNameShort: 'Proton X90',
|
|
524
530
|
region: 'kuala-lumpur--malaysia',
|
|
525
531
|
flagType: null,
|
|
526
532
|
hasImages: false,
|
|
@@ -6,7 +6,7 @@ import { colors } from '../../theme/index.js';
|
|
|
6
6
|
import LabelValue from './LabelValue.js';
|
|
7
7
|
var Details = function(param) {
|
|
8
8
|
var tDetails = param.tDetails, subscription = param.subscription;
|
|
9
|
-
var _subscription_user_identification, _subscription_vehicle, _subscription_vehicle1, _subscription_vehicle2, _subscription_vehicle3, _subscription_schedule, _subscription_schedule1;
|
|
9
|
+
var _subscription_user_identification, _subscription_vehicle, _subscription_vehicle1, _subscription_vehicle2, _subscription_vehicle3, _subscription_vehicle4, _subscription_schedule, _subscription_schedule1;
|
|
10
10
|
var details = {
|
|
11
11
|
member: [
|
|
12
12
|
{
|
|
@@ -25,15 +25,15 @@ var Details = function(param) {
|
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
key: tDetails.vehicle.model,
|
|
28
|
-
value: (_subscription_vehicle1 = subscription.vehicle) === null || _subscription_vehicle1 === void 0 ? void 0 : _subscription_vehicle1.vehicleModel
|
|
28
|
+
value: "".concat((_subscription_vehicle1 = subscription.vehicle) === null || _subscription_vehicle1 === void 0 ? void 0 : _subscription_vehicle1.vehicleModel, " ").concat((_subscription_vehicle2 = subscription.vehicle) === null || _subscription_vehicle2 === void 0 ? void 0 : _subscription_vehicle2.vehicleVariant)
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
key: tDetails.vehicle.year,
|
|
32
|
-
value: (
|
|
32
|
+
value: (_subscription_vehicle3 = subscription.vehicle) === null || _subscription_vehicle3 === void 0 ? void 0 : _subscription_vehicle3.year
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
key: tDetails.vehicle.plateNo,
|
|
36
|
-
value: (
|
|
36
|
+
value: (_subscription_vehicle4 = subscription.vehicle) === null || _subscription_vehicle4 === void 0 ? void 0 : _subscription_vehicle4.registrationNumber
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
39
|
subscription: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@driveflux/pdf",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dist"
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@driveflux/db": "1.8.
|
|
15
|
+
"@driveflux/db": "1.8.3",
|
|
16
16
|
"@driveflux/env": "1.3.0",
|
|
17
17
|
"@driveflux/format-money": "5.3.0",
|
|
18
18
|
"@driveflux/time": "4.3.0",
|