@driveflux/pdf 1.0.15 → 1.1.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/dist/__mocks__/quotation.d.ts +1 -1
- package/dist/__mocks__/quotation.d.ts.map +1 -1
- package/dist/__mocks__/quotation.js +1 -2
- package/dist/__mocks__/subscription.d.ts +1 -1
- package/dist/__mocks__/subscription.d.ts.map +1 -1
- package/dist/templates/QuotationPdf/CustomerSubscriptionSection.d.ts.map +1 -1
- package/dist/templates/QuotationPdf/CustomerSubscriptionSection.js +2 -10
- package/dist/templates/QuotationPdf/index.d.ts +1 -1
- package/dist/templates/QuotationPdf/index.d.ts.map +1 -1
- package/dist/templates/QuotationPdf/translations.d.ts +0 -1
- package/dist/templates/QuotationPdf/translations.d.ts.map +1 -1
- package/dist/templates/QuotationPdf/translations.js +1 -4
- package/dist/templates/QuotationPdf/utils.d.ts +3 -4
- package/dist/templates/QuotationPdf/utils.d.ts.map +1 -1
- package/dist/templates/QuotationPdf/utils.js +0 -14
- package/dist/templates/SubscriptionAgreement/index.d.ts +1 -1
- package/dist/templates/SubscriptionAgreement/index.d.ts.map +1 -1
- package/dist/templates/SubscriptionAgreement/translations.d.ts.map +1 -1
- package/dist/templates/SubscriptionAgreement/utils.d.ts +1 -1
- package/dist/templates/SubscriptionAgreement/utils.d.ts.map +1 -1
- package/dist/theme/colors.d.ts.map +1 -1
- package/dist/theme/colors.js +36 -36
- package/dist/utils.d.ts +2 -8
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +7 -31
- package/package.json +23 -20
- package/.eslintrc +0 -3
- package/.swcrc +0 -14
- package/.turbo/turbo-build.log +0 -6
- package/CHANGELOG.md +0 -186
- package/dist/cjs/__mocks__/quotation.js +0 -70
- package/dist/cjs/__mocks__/subscription.js +0 -1079
- package/dist/cjs/components/FluxLogo.js +0 -76
- package/dist/cjs/components/StandardPage.js +0 -129
- package/dist/cjs/debug.js +0 -234
- package/dist/cjs/index.js +0 -20
- package/dist/cjs/templates/QuotationPdf/CustomerSubscriptionSection.js +0 -155
- package/dist/cjs/templates/QuotationPdf/GFV.js +0 -57
- package/dist/cjs/templates/QuotationPdf/Header.js +0 -86
- package/dist/cjs/templates/QuotationPdf/Pricing.js +0 -430
- package/dist/cjs/templates/QuotationPdf/QuotationPdfPage.js +0 -45
- package/dist/cjs/templates/QuotationPdf/SectionBoxNew.js +0 -43
- package/dist/cjs/templates/QuotationPdf/TermsSection.js +0 -60
- package/dist/cjs/templates/QuotationPdf/index.js +0 -208
- package/dist/cjs/templates/QuotationPdf/translations.js +0 -106
- package/dist/cjs/templates/QuotationPdf/utils.js +0 -108
- package/dist/cjs/templates/SubscriptionAgreement/Confirmation.js +0 -95
- package/dist/cjs/templates/SubscriptionAgreement/CoverPage.js +0 -110
- package/dist/cjs/templates/SubscriptionAgreement/CoverPageSection.js +0 -35
- package/dist/cjs/templates/SubscriptionAgreement/Details.js +0 -161
- package/dist/cjs/templates/SubscriptionAgreement/Footer.js +0 -68
- package/dist/cjs/templates/SubscriptionAgreement/Header.js +0 -61
- package/dist/cjs/templates/SubscriptionAgreement/LabelValue.js +0 -39
- package/dist/cjs/templates/SubscriptionAgreement/SubscriptionAgreementPage.js +0 -48
- package/dist/cjs/templates/SubscriptionAgreement/TermsOfUse.js +0 -72
- package/dist/cjs/templates/SubscriptionAgreement/TermsOfUseSubSection.js +0 -108
- package/dist/cjs/templates/SubscriptionAgreement/index.js +0 -276
- package/dist/cjs/templates/SubscriptionAgreement/translations.js +0 -666
- package/dist/cjs/templates/SubscriptionAgreement/utils.js +0 -14
- package/dist/cjs/templates/index.js +0 -19
- package/dist/cjs/theme/colors.js +0 -147
- package/dist/cjs/theme/index.js +0 -18
- package/dist/cjs/types.js +0 -4
- package/dist/cjs/utils.js +0 -184
- package/dist/cjs/watch.js +0 -20
- package/index.cjs +0 -1
- package/index.d.ts +0 -1
- package/src/__mocks__/quotation.ts +0 -63
- package/src/__mocks__/subscription.ts +0 -803
- package/src/components/FluxLogo.tsx +0 -52
- package/src/components/StandardPage.tsx +0 -32
- package/src/debug.ts +0 -45
- package/src/index.ts +0 -3
- package/src/templates/QuotationPdf/CustomerSubscriptionSection.tsx +0 -73
- package/src/templates/QuotationPdf/GFV.tsx +0 -29
- package/src/templates/QuotationPdf/Header.tsx +0 -31
- package/src/templates/QuotationPdf/Pricing.tsx +0 -214
- package/src/templates/QuotationPdf/QuotationPdfPage.tsx +0 -25
- package/src/templates/QuotationPdf/SectionBoxNew.tsx +0 -20
- package/src/templates/QuotationPdf/TermsSection.tsx +0 -28
- package/src/templates/QuotationPdf/index.tsx +0 -46
- package/src/templates/QuotationPdf/translations.ts +0 -84
- package/src/templates/QuotationPdf/utils.ts +0 -59
- package/src/templates/SubscriptionAgreement/Confirmation.tsx +0 -49
- package/src/templates/SubscriptionAgreement/CoverPage.tsx +0 -52
- package/src/templates/SubscriptionAgreement/CoverPageSection.tsx +0 -25
- package/src/templates/SubscriptionAgreement/Details.tsx +0 -127
- package/src/templates/SubscriptionAgreement/Footer.tsx +0 -37
- package/src/templates/SubscriptionAgreement/Header.tsx +0 -37
- package/src/templates/SubscriptionAgreement/LabelValue.tsx +0 -19
- package/src/templates/SubscriptionAgreement/SubscriptionAgreementPage.tsx +0 -24
- package/src/templates/SubscriptionAgreement/TermsOfUse.tsx +0 -30
- package/src/templates/SubscriptionAgreement/TermsOfUseSubSection.tsx +0 -44
- package/src/templates/SubscriptionAgreement/index.tsx +0 -66
- package/src/templates/SubscriptionAgreement/translations.ts +0 -664
- package/src/templates/SubscriptionAgreement/utils.ts +0 -7
- package/src/templates/index.ts +0 -2
- package/src/theme/colors.ts +0 -180
- package/src/theme/index.ts +0 -1
- package/src/types.ts +0 -1
- package/src/utils.ts +0 -27
- package/src/watch.ts +0 -16
- package/tsconfig.json +0 -13
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "quotation", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return quotation;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var quotation = {
|
|
12
|
-
id: 'QUO_XZJLVSM8',
|
|
13
|
-
vehicleId: 'VBEXLQR',
|
|
14
|
-
plan: 'plan36',
|
|
15
|
-
mileagePackage: 'lite',
|
|
16
|
-
cycleFluxCoefficient: 'flux25',
|
|
17
|
-
customerName: 'Bubu Ahmad',
|
|
18
|
-
vehicleName: 'Volkswagen Polo 1.6 Sedan 2011',
|
|
19
|
-
createdById: 'U2R88JRVL',
|
|
20
|
-
createdAt: new Date('2024-05-27T02:26:36.070Z'),
|
|
21
|
-
updatedAt: new Date('2024-05-27T02:26:36.070Z'),
|
|
22
|
-
metadata: {},
|
|
23
|
-
customer: {
|
|
24
|
-
type: 'user',
|
|
25
|
-
name: 'Bubu Ahmad',
|
|
26
|
-
email: 'bubu@gmail.com',
|
|
27
|
-
address: {
|
|
28
|
-
street1: '15-2 Jalan Solaris',
|
|
29
|
-
city: 'Kuala Lumpur',
|
|
30
|
-
state: 'Johor',
|
|
31
|
-
postalCode: '12323',
|
|
32
|
-
country: 'MY'
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
fees: {
|
|
36
|
-
subscriptionFee: 800,
|
|
37
|
-
reservationFee: 0,
|
|
38
|
-
startFee: 498,
|
|
39
|
-
deposit: 1600,
|
|
40
|
-
depositMonths: 2,
|
|
41
|
-
extraCharges: [
|
|
42
|
-
{
|
|
43
|
-
type: 'upfront',
|
|
44
|
-
description: 'Spare Tyre',
|
|
45
|
-
amount: 2500.2
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
type: 'upfront',
|
|
49
|
-
description: 'Spare Tyre No 2',
|
|
50
|
-
amount: 3000.2
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
type: 'monthly',
|
|
54
|
-
description: 'Commitment ',
|
|
55
|
-
amount: 2
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
amountBeforeTax: 8400.4,
|
|
59
|
-
taxAmount: 672.03,
|
|
60
|
-
amountAfterTax: 9072.43,
|
|
61
|
-
gfv: 0,
|
|
62
|
-
cycle: null,
|
|
63
|
-
couponCode: null,
|
|
64
|
-
discountAmount: null,
|
|
65
|
-
appliedDiscountId: null,
|
|
66
|
-
couponType: '',
|
|
67
|
-
excessMileageFee: 3.8
|
|
68
|
-
},
|
|
69
|
-
quotationPdf: null
|
|
70
|
-
};
|