@driveflux/pdf 1.3.4 → 1.3.6

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.
@@ -501,7 +501,7 @@ export var subscription = {
501
501
  object: 'vehicle',
502
502
  make: 'Proton',
503
503
  vehicleModel: 'X90',
504
- vehicleVariant: '1.5 Flagship',
504
+ variant: '1.5 Flagship',
505
505
  year: 2024,
506
506
  featured: false,
507
507
  searchRankScore: 600,
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -2,8 +2,8 @@ import type { MileagePackage, PlanType, VehicleType } from '@driveflux/db';
2
2
  import type { INSPECTION_TYPES } from '@driveflux/db/models/vehicle';
3
3
  import type { Address } from '@driveflux/db/types';
4
4
  export declare const formatAddress: (originalAddress: Address) => string;
5
- export declare const getSimplifiedPlanTranslation: (plan: PlanType) => "60 Months" | "36 Months" | "24 Months" | "12 Months" | "Monthly" | "Weekly" | "Unknown Plan";
6
- export declare const getMileagePackageTranslation: (mileagePackage?: MileagePackage) => "Lite" | "Standard" | "Plus" | "Unlimited" | "Unknown Mileage Package";
7
- export declare const getFullMileagePackageTranslation: (plan?: MileagePackage | null) => "Unlimited" | "Unknown Mileage Package" | "Lite - 1,250KM" | "Standard - 2,000KM" | "Plus - 2,750KM";
5
+ export declare const getSimplifiedPlanTranslation: (plan: PlanType) => "60 Months" | "36 Months" | "24 Months" | "12 Months" | "Weekly" | "Unknown Plan" | "Monthly";
6
+ export declare const getMileagePackageTranslation: (mileagePackage?: MileagePackage) => "Unlimited" | "Unknown Mileage Package" | "Lite" | "Standard" | "Plus";
7
+ export declare const getFullMileagePackageTranslation: (plan?: MileagePackage | null) => "Lite - 1,250KM" | "Standard - 2,000KM" | "Plus - 2,750KM" | "Unlimited" | "Unknown Mileage Package";
8
8
  export declare const getInspectionTypeTranslation: (inspectionType?: (typeof INSPECTION_TYPES)[VehicleType][number]) => "Exterior" | "Interior" | "Engine" | "Frame" | "Dashboard" | undefined;
9
9
  //# sourceMappingURL=utils.d.ts.map
@@ -25,7 +25,7 @@ var Details = function(param) {
25
25
  },
26
26
  {
27
27
  key: tDetails.vehicle.model,
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)
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.variant)
29
29
  },
30
30
  {
31
31
  key: tDetails.vehicle.year,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driveflux/pdf",
3
- "version": "1.3.4",
3
+ "version": "1.3.6",
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.4",
15
+ "@driveflux/db": "1.8.6",
16
16
  "@driveflux/env": "1.3.0",
17
17
  "@driveflux/format-money": "5.3.0",
18
18
  "@driveflux/time": "4.3.0",