@driveflux/pdf 1.6.70 → 1.7.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 (76) hide show
  1. package/dist/__mocks__/quotation.js +11 -10
  2. package/dist/__mocks__/subscription.d.ts +0 -2
  3. package/dist/__mocks__/subscription.d.ts.map +1 -1
  4. package/dist/__mocks__/subscription.js +140 -408
  5. package/dist/__mocks__/subscription.js.map +1 -1
  6. package/dist/components/FluxLogo.js +3 -62
  7. package/dist/components/StandardPage.d.ts.map +1 -1
  8. package/dist/components/StandardPage.js +8 -107
  9. package/dist/components/StandardPage.js.map +1 -1
  10. package/dist/debug.js +30 -223
  11. package/dist/debug.js.map +1 -1
  12. package/dist/index.js +1 -0
  13. package/dist/templates/QuotationPdf/CustomerSubscriptionSection.js +27 -145
  14. package/dist/templates/QuotationPdf/GFV.js +12 -49
  15. package/dist/templates/QuotationPdf/Header.js +5 -63
  16. package/dist/templates/QuotationPdf/Pricing.d.ts.map +1 -1
  17. package/dist/templates/QuotationPdf/Pricing.js +208 -574
  18. package/dist/templates/QuotationPdf/Pricing.js.map +1 -1
  19. package/dist/templates/QuotationPdf/QuotationPdfPage.js +3 -23
  20. package/dist/templates/QuotationPdf/SectionBoxNew.js +4 -34
  21. package/dist/templates/QuotationPdf/TermsSection.js +5 -42
  22. package/dist/templates/QuotationPdf/VehiclePhotos.js +24 -54
  23. package/dist/templates/QuotationPdf/index.js +11 -198
  24. package/dist/templates/QuotationPdf/translations.d.ts.map +1 -1
  25. package/dist/templates/QuotationPdf/translations.js +23 -34
  26. package/dist/templates/QuotationPdf/translations.js.map +1 -1
  27. package/dist/templates/QuotationPdf/utils.js +29 -59
  28. package/dist/templates/SubscriptionAgreement/Confirmation.d.ts +0 -2
  29. package/dist/templates/SubscriptionAgreement/Confirmation.d.ts.map +1 -1
  30. package/dist/templates/SubscriptionAgreement/Confirmation.js +11 -66
  31. package/dist/templates/SubscriptionAgreement/Confirmation.js.map +1 -1
  32. package/dist/templates/SubscriptionAgreement/CoverPage.d.ts +1 -3
  33. package/dist/templates/SubscriptionAgreement/CoverPage.d.ts.map +1 -1
  34. package/dist/templates/SubscriptionAgreement/CoverPage.js +11 -94
  35. package/dist/templates/SubscriptionAgreement/CoverPage.js.map +1 -1
  36. package/dist/templates/SubscriptionAgreement/CoverPageSection.js +5 -16
  37. package/dist/templates/SubscriptionAgreement/Details.d.ts.map +1 -1
  38. package/dist/templates/SubscriptionAgreement/Details.js +46 -140
  39. package/dist/templates/SubscriptionAgreement/Details.js.map +1 -1
  40. package/dist/templates/SubscriptionAgreement/Footer.js +6 -48
  41. package/dist/templates/SubscriptionAgreement/Header.js +5 -35
  42. package/dist/templates/SubscriptionAgreement/LabelValue.js +3 -25
  43. package/dist/templates/SubscriptionAgreement/SubscriptionAgreementPage.js +3 -26
  44. package/dist/templates/SubscriptionAgreement/TermsOfUse.d.ts +2 -2
  45. package/dist/templates/SubscriptionAgreement/TermsOfUse.d.ts.map +1 -1
  46. package/dist/templates/SubscriptionAgreement/TermsOfUse.js +4 -97
  47. package/dist/templates/SubscriptionAgreement/TermsOfUse.js.map +1 -1
  48. package/dist/templates/SubscriptionAgreement/TermsOfUseSubSection.d.ts.map +1 -1
  49. package/dist/templates/SubscriptionAgreement/TermsOfUseSubSection.js +9 -98
  50. package/dist/templates/SubscriptionAgreement/TermsOfUseSubSection.js.map +1 -1
  51. package/dist/templates/SubscriptionAgreement/index.d.ts +1 -5
  52. package/dist/templates/SubscriptionAgreement/index.d.ts.map +1 -1
  53. package/dist/templates/SubscriptionAgreement/index.js +15 -254
  54. package/dist/templates/SubscriptionAgreement/index.js.map +1 -1
  55. package/dist/templates/SubscriptionAgreement/translations.d.ts +0 -6
  56. package/dist/templates/SubscriptionAgreement/translations.d.ts.map +1 -1
  57. package/dist/templates/SubscriptionAgreement/translations.js +192 -199
  58. package/dist/templates/SubscriptionAgreement/translations.js.map +1 -1
  59. package/dist/templates/SubscriptionAgreement/types.d.ts +1 -2
  60. package/dist/templates/SubscriptionAgreement/types.d.ts.map +1 -1
  61. package/dist/templates/SubscriptionAgreement/types.js +2 -1
  62. package/dist/templates/SubscriptionAgreement/utils.d.ts +0 -3
  63. package/dist/templates/SubscriptionAgreement/utils.d.ts.map +1 -1
  64. package/dist/templates/SubscriptionAgreement/utils.js +5 -36
  65. package/dist/templates/SubscriptionAgreement/utils.js.map +1 -1
  66. package/dist/templates/index.js +1 -0
  67. package/dist/theme/colors.js +63 -44
  68. package/dist/theme/index.js +1 -0
  69. package/dist/types.js +2 -1
  70. package/dist/utils.js +16 -166
  71. package/dist/watch.js +4 -3
  72. package/package.json +19 -19
  73. package/dist/__mocks__/tou.d.ts +0 -10
  74. package/dist/__mocks__/tou.d.ts.map +0 -1
  75. package/dist/__mocks__/tou.js +0 -22
  76. package/dist/__mocks__/tou.js.map +0 -1
@@ -1,4 +1,4 @@
1
- export var quotation = {
1
+ export const quotation = {
2
2
  id: 'QU9HLAPJ9',
3
3
  vehicleId: 'V8AR2D4ZC',
4
4
  plan: 'plan36',
@@ -16,7 +16,7 @@ export var quotation = {
16
16
  type: 'user',
17
17
  name: 'dddd',
18
18
  email: null,
19
- address: null
19
+ address: null,
20
20
  },
21
21
  fees: {
22
22
  subscriptionFee: 1610,
@@ -40,8 +40,8 @@ export var quotation = {
40
40
  extraCharges: [],
41
41
  amountBeforeTax: 2322,
42
42
  taxAmount: 185.76,
43
- amountAfterTax: 2507.76
44
- }
43
+ amountAfterTax: 2507.76,
44
+ },
45
45
  },
46
46
  images: [
47
47
  {
@@ -54,7 +54,7 @@ export var quotation = {
54
54
  small: null,
55
55
  medium: null,
56
56
  large: null,
57
- description: null
57
+ description: null,
58
58
  },
59
59
  {
60
60
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles-v8-ar2-d4-zc-images-whats-app-image-2024-09-19-at-12-47-23-pm.jpeg',
@@ -66,7 +66,7 @@ export var quotation = {
66
66
  small: null,
67
67
  medium: null,
68
68
  large: null,
69
- description: null
69
+ description: null,
70
70
  },
71
71
  {
72
72
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles-v8-ar2-d4-zc-images-whats-app-image-2024-09-19-at-12-48-30-pm-1.jpeg',
@@ -78,7 +78,7 @@ export var quotation = {
78
78
  small: null,
79
79
  medium: null,
80
80
  large: null,
81
- description: null
81
+ description: null,
82
82
  },
83
83
  {
84
84
  default: 'https://flux-site-files.s3.ap-southeast-1.amazonaws.com/vehicles-v8-ar2-d4-zc-images-whats-app-image-2024-09-19-at-12-48-31-pm.jpeg',
@@ -90,8 +90,9 @@ export var quotation = {
90
90
  small: null,
91
91
  medium: null,
92
92
  large: null,
93
- description: null
94
- }
93
+ description: null,
94
+ },
95
95
  ],
96
- quotationPdf: 'https://dev-flux-admin.s3.ap-southeast-1.amazonaws.com/quotations/QU9HLAPJ9.pdf'
96
+ quotationPdf: 'https://dev-flux-admin.s3.ap-southeast-1.amazonaws.com/quotations/QU9HLAPJ9.pdf',
97
97
  };
98
+ //# sourceMappingURL=quotation.js.map
@@ -1,5 +1,3 @@
1
- import type { SubscriptionSignature } from '@driveflux/db';
2
1
  import type { SubscriptionForAgreement } from '../templates/SubscriptionAgreement/types';
3
2
  export declare const subscription: SubscriptionForAgreement;
4
- export declare const signature: SubscriptionSignature;
5
3
  //# sourceMappingURL=subscription.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../src/__mocks__/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAE1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAA;AAExF,eAAO,MAAM,YAAY,EAAE,wBA8zB1B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,qBA2BvB,CAAA"}
1
+ {"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../src/__mocks__/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAA;AAExF,eAAO,MAAM,YAAY,EAAE,wBAi1B1B,CAAA"}