@driveflux/pdf 1.1.2 → 1.1.4

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 (51) hide show
  1. package/dist/components/FluxLogo.d.ts.map +1 -1
  2. package/dist/components/StandardPage.d.ts +3 -2
  3. package/dist/components/StandardPage.d.ts.map +1 -1
  4. package/dist/components/StandardPage.js +0 -1
  5. package/dist/templates/QuotationPdf/CustomerSubscriptionSection.d.ts +3 -3
  6. package/dist/templates/QuotationPdf/CustomerSubscriptionSection.d.ts.map +1 -1
  7. package/dist/templates/QuotationPdf/GFV.d.ts +3 -3
  8. package/dist/templates/QuotationPdf/GFV.d.ts.map +1 -1
  9. package/dist/templates/QuotationPdf/GFV.js +2 -2
  10. package/dist/templates/QuotationPdf/Header.d.ts +1 -1
  11. package/dist/templates/QuotationPdf/Header.d.ts.map +1 -1
  12. package/dist/templates/QuotationPdf/Pricing.d.ts +3 -3
  13. package/dist/templates/QuotationPdf/Pricing.d.ts.map +1 -1
  14. package/dist/templates/QuotationPdf/Pricing.js +2 -2
  15. package/dist/templates/QuotationPdf/QuotationPdfPage.d.ts +2 -2
  16. package/dist/templates/QuotationPdf/QuotationPdfPage.d.ts.map +1 -1
  17. package/dist/templates/QuotationPdf/SectionBoxNew.d.ts +1 -1
  18. package/dist/templates/QuotationPdf/SectionBoxNew.d.ts.map +1 -1
  19. package/dist/templates/QuotationPdf/TermsSection.d.ts +2 -2
  20. package/dist/templates/QuotationPdf/TermsSection.d.ts.map +1 -1
  21. package/dist/templates/QuotationPdf/index.d.ts +2 -2
  22. package/dist/templates/QuotationPdf/index.d.ts.map +1 -1
  23. package/dist/templates/QuotationPdf/translations.d.ts.map +1 -1
  24. package/dist/templates/QuotationPdf/utils.d.ts +1 -0
  25. package/dist/templates/QuotationPdf/utils.d.ts.map +1 -1
  26. package/dist/templates/QuotationPdf/utils.js +14 -0
  27. package/dist/templates/SubscriptionAgreement/Confirmation.d.ts +3 -3
  28. package/dist/templates/SubscriptionAgreement/Confirmation.d.ts.map +1 -1
  29. package/dist/templates/SubscriptionAgreement/CoverPage.d.ts +3 -3
  30. package/dist/templates/SubscriptionAgreement/CoverPage.d.ts.map +1 -1
  31. package/dist/templates/SubscriptionAgreement/CoverPageSection.d.ts +1 -1
  32. package/dist/templates/SubscriptionAgreement/CoverPageSection.d.ts.map +1 -1
  33. package/dist/templates/SubscriptionAgreement/Details.d.ts +3 -3
  34. package/dist/templates/SubscriptionAgreement/Details.d.ts.map +1 -1
  35. package/dist/templates/SubscriptionAgreement/Footer.d.ts +2 -2
  36. package/dist/templates/SubscriptionAgreement/Footer.d.ts.map +1 -1
  37. package/dist/templates/SubscriptionAgreement/Header.d.ts +2 -2
  38. package/dist/templates/SubscriptionAgreement/Header.d.ts.map +1 -1
  39. package/dist/templates/SubscriptionAgreement/LabelValue.d.ts +1 -1
  40. package/dist/templates/SubscriptionAgreement/LabelValue.d.ts.map +1 -1
  41. package/dist/templates/SubscriptionAgreement/LabelValue.js +2 -2
  42. package/dist/templates/SubscriptionAgreement/SubscriptionAgreementPage.d.ts +2 -2
  43. package/dist/templates/SubscriptionAgreement/SubscriptionAgreementPage.d.ts.map +1 -1
  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/TermsOfUseSubSection.d.ts.map +1 -1
  47. package/dist/templates/SubscriptionAgreement/index.d.ts +2 -2
  48. package/dist/templates/SubscriptionAgreement/index.d.ts.map +1 -1
  49. package/dist/templates/SubscriptionAgreement/translations.d.ts.map +1 -1
  50. package/package.json +18 -18
  51. package/dist/cjs/package.json +0 -3
@@ -1 +1 @@
1
- {"version":3,"file":"FluxLogo.d.ts","sourceRoot":"","sources":["../../src/components/FluxLogo.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,QAAQ,+CA+Cb,CAAA;AAED,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"FluxLogo.d.ts","sourceRoot":"","sources":["../../src/components/FluxLogo.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,QAAQ,+CAkDb,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -1,5 +1,6 @@
1
- import { PageProps } from '@react-pdf/renderer';
2
- import React, { PropsWithChildren } from 'react';
1
+ import { type PageProps } from '@react-pdf/renderer';
2
+ import type React from 'react';
3
+ import type { PropsWithChildren } from 'react';
3
4
  type Props = PageProps & {};
4
5
  declare const StandardDocument: React.FC<PropsWithChildren<Props>>;
5
6
  export default StandardDocument;
@@ -1 +1 @@
1
- {"version":3,"file":"StandardPage.d.ts","sourceRoot":"","sources":["../../src/components/StandardPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC3D,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEhD,KAAK,KAAK,GAAG,SAAS,GAAG,EAAE,CAAA;AAoB3B,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAMxD,CAAA;AAED,eAAe,gBAAgB,CAAA"}
1
+ {"version":3,"file":"StandardPage.d.ts","sourceRoot":"","sources":["../../src/components/StandardPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAE9C,KAAK,KAAK,GAAG,SAAS,GAAG,EAAE,CAAA;AAoB3B,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAaxD,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -79,7 +79,6 @@ function _object_without_properties_loose(source, excluded) {
79
79
  }
80
80
  import { jsx as _jsx } from "react/jsx-runtime";
81
81
  import { Font, Page } from '@react-pdf/renderer';
82
- import React from 'react';
83
82
  Font.register({
84
83
  family: 'Figtree',
85
84
  fonts: [
@@ -1,6 +1,6 @@
1
- import { Quotation } from '@driveflux/db';
2
- import { FC } from 'react';
3
- import { QuotationPdfTranslation } from './translations.js';
1
+ import type { Quotation } from '@driveflux/db';
2
+ import type { FC } from 'react';
3
+ import type { QuotationPdfTranslation } from './translations.js';
4
4
  type Props = {
5
5
  quotation: Quotation;
6
6
  t: QuotationPdfTranslation;
@@ -1 +1 @@
1
- {"version":3,"file":"CustomerSubscriptionSection.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/CustomerSubscriptionSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAGzC,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAG3D,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,SAAS,CAAA;IACpB,CAAC,EAAE,uBAAuB,CAAA;CAC3B,CAAA;AAED,QAAA,MAAM,2BAA2B,EAAE,EAAE,CAAC,KAAK,CAgD1C,CAAA;AAED,eAAe,2BAA2B,CAAA"}
1
+ {"version":3,"file":"CustomerSubscriptionSection.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/CustomerSubscriptionSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAG9C,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAOhE,KAAK,KAAK,GAAG;IACZ,SAAS,EAAE,SAAS,CAAA;IACpB,CAAC,EAAE,uBAAuB,CAAA;CAC1B,CAAA;AAED,QAAA,MAAM,2BAA2B,EAAE,EAAE,CAAC,KAAK,CA+G1C,CAAA;AAED,eAAe,2BAA2B,CAAA"}
@@ -1,6 +1,6 @@
1
- import { Quotation } from '@driveflux/db';
2
- import { FC } from 'react';
3
- import { QuotationPdfTranslation } from './translations';
1
+ import type { Quotation } from '@driveflux/db';
2
+ import type { FC } from 'react';
3
+ import type { QuotationPdfTranslation } from './translations';
4
4
  type Props = {
5
5
  quotation: Quotation;
6
6
  t?: QuotationPdfTranslation['pricing'];
@@ -1 +1 @@
1
- {"version":3,"file":"GFV.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/GFV.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAGzC,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AAExD,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,SAAS,CAAA;IACpB,CAAC,CAAC,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAA;CACvC,CAAA;AAED,QAAA,MAAM,GAAG,EAAE,EAAE,CAAC,KAAK,CAclB,CAAA;AAED,eAAe,GAAG,CAAA"}
1
+ {"version":3,"file":"GFV.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/GFV.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAG9C,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AAE7D,KAAK,KAAK,GAAG;IACZ,SAAS,EAAE,SAAS,CAAA;IACpB,CAAC,CAAC,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAA;CACtC,CAAA;AAED,QAAA,MAAM,GAAG,EAAE,EAAE,CAAC,KAAK,CA+BlB,CAAA;AAED,eAAe,GAAG,CAAA"}
@@ -33,9 +33,9 @@ var GFV = function(param) {
33
33
  fontWeight: 'bold'
34
34
  },
35
35
  children: [
36
- " ",
36
+ ' ',
37
37
  formatMoney(quotation.fees.gfv),
38
- " "
38
+ ' '
39
39
  ]
40
40
  }),
41
41
  "at the end of your subscription."
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import type { FC } from 'react';
2
2
  type Props = {
3
3
  tTitle: string;
4
4
  quotationId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/Header.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAI1B,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA;AACD,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,KAAK,CAkBrB,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/Header.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAI/B,KAAK,KAAK,GAAG;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;CACrB,CAAA;AACD,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,KAAK,CA8BrB,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -1,6 +1,6 @@
1
- import { Quotation } from '@driveflux/db';
2
- import { FC } from 'react';
3
- import { QuotationPdfTranslation } from './translations.js';
1
+ import type { Quotation } from '@driveflux/db';
2
+ import type { FC } from 'react';
3
+ import type { QuotationPdfTranslation } from './translations.js';
4
4
  type Props = {
5
5
  quotation: Quotation;
6
6
  t?: QuotationPdfTranslation['pricing'];
@@ -1 +1 @@
1
- {"version":3,"file":"Pricing.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/Pricing.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAGzC,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAE3D,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,SAAS,CAAA;IACpB,CAAC,CAAC,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAA;CACvC,CAAA;AAED,QAAA,MAAM,OAAO,EAAE,EAAE,CAAC,KAAK,CAsMtB,CAAA;AAED,eAAe,OAAO,CAAA"}
1
+ {"version":3,"file":"Pricing.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/Pricing.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAG9C,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAEhE,KAAK,KAAK,GAAG;IACZ,SAAS,EAAE,SAAS,CAAA;IACpB,CAAC,CAAC,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAA;CACtC,CAAA;AAED,QAAA,MAAM,OAAO,EAAE,EAAE,CAAC,KAAK,CAyWtB,CAAA;AAED,eAAe,OAAO,CAAA"}
@@ -342,7 +342,7 @@ var Pricing = function(param) {
342
342
  color: colors.primary3
343
343
  },
344
344
  children: [
345
- " ",
345
+ ' ',
346
346
  t === null || t === void 0 ? void 0 : t.fees.dueToday.subTotal
347
347
  ]
348
348
  }),
@@ -367,7 +367,7 @@ var Pricing = function(param) {
367
367
  color: colors.primary3
368
368
  },
369
369
  children: [
370
- " ",
370
+ ' ',
371
371
  t === null || t === void 0 ? void 0 : t.fees.dueToday.serviceFee
372
372
  ]
373
373
  }),
@@ -1,5 +1,5 @@
1
- import { Quotation } from '@driveflux/db';
2
- import { FC, PropsWithChildren } from 'react';
1
+ import type { Quotation } from '@driveflux/db';
2
+ import type { FC, PropsWithChildren } from 'react';
3
3
  type Props = {
4
4
  quotation: Quotation;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"QuotationPdfPage.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/QuotationPdfPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAGzC,OAAO,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAI7C,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,SAAS,CAAA;CACrB,CAAA;AAED,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAWlD,CAAA;AAED,eAAe,gBAAgB,CAAA"}
1
+ {"version":3,"file":"QuotationPdfPage.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/QuotationPdfPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAG9C,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAIlD,KAAK,KAAK,GAAG;IACZ,SAAS,EAAE,SAAS,CAAA;CACpB,CAAA;AAED,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAclD,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1,4 +1,4 @@
1
- import { FC, ReactNode } from 'react';
1
+ import type { FC, ReactNode } from 'react';
2
2
  type Props = {
3
3
  topContent: ReactNode;
4
4
  bottomContent: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"SectionBoxNew.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/SectionBoxNew.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGrC,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,SAAS,CAAA;IACrB,aAAa,EAAE,SAAS,CAAA;CACzB,CAAA;AAED,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,KAAK,CAQ5B,CAAA;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"SectionBoxNew.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/SectionBoxNew.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAG1C,KAAK,KAAK,GAAG;IACZ,UAAU,EAAE,SAAS,CAAA;IACrB,aAAa,EAAE,SAAS,CAAA;CACxB,CAAA;AAED,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,KAAK,CAQ5B,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { QuotationPdfTranslation } from './translations.js';
1
+ import type { FC } from 'react';
2
+ import type { QuotationPdfTranslation } from './translations.js';
3
3
  type Props = {
4
4
  t: QuotationPdfTranslation['terms'];
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TermsSection.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/TermsSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAE3D,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,uBAAuB,CAAC,OAAO,CAAC,CAAA;CACpC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CAgB3B,CAAA;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"TermsSection.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/TermsSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAEhE,KAAK,KAAK,GAAG;IACZ,CAAC,EAAE,uBAAuB,CAAC,OAAO,CAAC,CAAA;CACnC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CA8B3B,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Quotation } from '@driveflux/db';
2
- import { PdfTemplatesSupportedLocales } from '../../types.js';
1
+ import type { Quotation } from '@driveflux/db';
2
+ import type { PdfTemplatesSupportedLocales } from '../../types.js';
3
3
  type Options = {
4
4
  locale?: PdfTemplatesSupportedLocales;
5
5
  quotation: Quotation;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAGzC,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAA;AAc7D,KAAK,OAAO,GAAG;IACb,MAAM,CAAC,EAAE,4BAA4B,CAAA;IACrC,SAAS,EAAE,SAAS,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,oBAAoB,0BAAwC,OAAO,YAAY,MAAM,kBAEjG,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAG9C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAA;AAclE,KAAK,OAAO,GAAG;IACd,MAAM,CAAC,EAAE,4BAA4B,CAAA;IACrC,SAAS,EAAE,SAAS,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,oBAAoB,0BACF,OAAO,YAC3B,MAAM,kBAMhB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/translations.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwElB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,OAAO,aAAa,CAAA;AAE1D,eAAO,MAAM,eAAe,WAAY,IAAI,KAAG,uBAK9C,CAAA"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/translations.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyElB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,OAAO,aAAa,CAAA;AAE1D,eAAO,MAAM,eAAe,WAAY,IAAI,KAAG,uBAK9C,CAAA"}
@@ -3,4 +3,5 @@ import type { Address } from '@driveflux/db/types';
3
3
  export declare const formatAddress: (originalAddress: Address) => string;
4
4
  export declare const getSimplifiedPlanTranslation: (plan: PlanType) => "60 Months" | "36 Months" | "24 Months" | "12 Months" | "Monthly" | "Weekly" | "Unknown Plan";
5
5
  export declare const getMileagePackageTranslation: (mileagePackage?: MileagePackage) => "Lite" | "Standard" | "Plus" | "Unlimited" | "Unknown Mileage Package";
6
+ export declare const getFullMileagePackageTranslation: (plan?: MileagePackage | null) => "Unlimited" | "Unknown Mileage Package" | "Lite - 1,250KM" | "Standard - 2,000KM" | "Plus - 2,750KM";
6
7
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD,eAAO,MAAM,aAAa,oBAAqB,OAAO,WAMrD,CAAA;AAED,eAAO,MAAM,4BAA4B,SAAU,QAAQ,kGAiB1D,CAAA;AAED,eAAO,MAAM,4BAA4B,oBACvB,cAAc,2EAc/B,CAAA"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/templates/QuotationPdf/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD,eAAO,MAAM,aAAa,oBAAqB,OAAO,WAMrD,CAAA;AAED,eAAO,MAAM,4BAA4B,SAAU,QAAQ,kGAiB1D,CAAA;AAED,eAAO,MAAM,4BAA4B,oBACvB,cAAc,2EAc/B,CAAA;AAED,eAAO,MAAM,gCAAgC,UACrC,cAAc,GAAG,IAAI,yGAc5B,CAAA"}
@@ -68,3 +68,17 @@ export var getMileagePackageTranslation = function(mileagePackage) {
68
68
  return 'Unknown Mileage Package';
69
69
  }
70
70
  };
71
+ export var getFullMileagePackageTranslation = function(plan) {
72
+ switch(plan){
73
+ case 'lite':
74
+ return "Lite - 1,250KM";
75
+ case 'standard':
76
+ return "Standard - 2,000KM";
77
+ case 'plus':
78
+ return "Plus - 2,750KM";
79
+ case 'unlimited':
80
+ return "Unlimited";
81
+ default:
82
+ return "Unknown Mileage Package";
83
+ }
84
+ };
@@ -1,6 +1,6 @@
1
- import { SubscriptionWithUser, SubscriptionWithVehicle } from '@driveflux/db/types';
2
- import { FC } from 'react';
3
- import { SubscriptionAgreementTranslation } from './translations.js';
1
+ import type { SubscriptionWithUser, SubscriptionWithVehicle } from '@driveflux/db/types';
2
+ import type { FC } from 'react';
3
+ import type { SubscriptionAgreementTranslation } from './translations.js';
4
4
  type Props = {
5
5
  tConfirmation: SubscriptionAgreementTranslation['confirmation'];
6
6
  subscription: SubscriptionWithUser & SubscriptionWithVehicle;
@@ -1 +1 @@
1
- {"version":3,"file":"Confirmation.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/Confirmation.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGnF,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG1B,OAAO,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEpE,KAAK,KAAK,GAAG;IACX,aAAa,EAAE,gCAAgC,CAAC,cAAc,CAAC,CAAA;IAC/D,YAAY,EAAE,oBAAoB,GAAG,uBAAuB,CAAA;CAC7D,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CAgC3B,CAAA;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"Confirmation.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/Confirmation.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,oBAAoB,EACpB,uBAAuB,EACvB,MAAM,qBAAqB,CAAA;AAG5B,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEzE,KAAK,KAAK,GAAG;IACZ,aAAa,EAAE,gCAAgC,CAAC,cAAc,CAAC,CAAA;IAC/D,YAAY,EAAE,oBAAoB,GAAG,uBAAuB,CAAA;CAC5D,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CA4D3B,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1,6 +1,6 @@
1
- import { User } from '@driveflux/db';
2
- import { FC } from 'react';
3
- import { SubscriptionAgreementTranslation } from './translations.js';
1
+ import type { User } from '@driveflux/db';
2
+ import type { FC } from 'react';
3
+ import type { SubscriptionAgreementTranslation } from './translations.js';
4
4
  type Props = {
5
5
  tTitle: SubscriptionAgreementTranslation['title'];
6
6
  tCover: SubscriptionAgreementTranslation['cover'];
@@ -1 +1 @@
1
- {"version":3,"file":"CoverPage.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/CoverPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAIpC,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAI1B,OAAO,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEpE,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,gCAAgC,CAAC,OAAO,CAAC,CAAA;IACjD,MAAM,EAAE,gCAAgC,CAAC,OAAO,CAAC,CAAA;IACjD,QAAQ,EAAE,IAAI,CAAA;IACd,IAAI,EAAE,IAAI,CAAA;CACX,CAAA;AAED,QAAA,MAAM,SAAS,EAAE,EAAE,CAAC,KAAK,CAgCxB,CAAA;AAED,eAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"CoverPage.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/CoverPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAIzC,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAI/B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEzE,KAAK,KAAK,GAAG;IACZ,MAAM,EAAE,gCAAgC,CAAC,OAAO,CAAC,CAAA;IACjD,MAAM,EAAE,gCAAgC,CAAC,OAAO,CAAC,CAAA;IACjD,QAAQ,EAAE,IAAI,CAAA;IACd,IAAI,EAAE,IAAI,CAAA;CACV,CAAA;AAED,QAAA,MAAM,SAAS,EAAE,EAAE,CAAC,KAAK,CAyDxB,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -1,4 +1,4 @@
1
- import { FC, PropsWithChildren } from 'react';
1
+ import type { FC, PropsWithChildren } from 'react';
2
2
  type Props = {
3
3
  title: string;
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CoverPageSection.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/CoverPageSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAG7C,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAelD,CAAA;AAED,eAAe,gBAAgB,CAAA"}
1
+ {"version":3,"file":"CoverPageSection.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/CoverPageSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAGlD,KAAK,KAAK,GAAG;IACZ,KAAK,EAAE,MAAM,CAAA;CACb,CAAA;AACD,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAkBlD,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1,6 +1,6 @@
1
- import { FC } from 'react';
2
- import { SubscriptionForAgreement } from './index.js';
3
- import { SubscriptionAgreementTranslation } from './translations.js';
1
+ import { type FC } from 'react';
2
+ import type { SubscriptionForAgreement } from './index.js';
3
+ import type { SubscriptionAgreementTranslation } from './translations.js';
4
4
  type Props = {
5
5
  tDetails: SubscriptionAgreementTranslation['details'];
6
6
  subscription: SubscriptionForAgreement;
@@ -1 +1 @@
1
- {"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/Details.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAA;AAGnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEpE,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,gCAAgC,CAAC,SAAS,CAAC,CAAA;IACrD,YAAY,EAAE,wBAAwB,CAAA;CACvC,CAAA;AAED,QAAA,MAAM,OAAO,EAAE,EAAE,CAAC,KAAK,CA0EtB,CAAA;AAED,eAAe,OAAO,CAAA"}
1
+ {"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/Details.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAA;AAGxC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA;AAC1D,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEzE,KAAK,KAAK,GAAG;IACZ,QAAQ,EAAE,gCAAgC,CAAC,SAAS,CAAC,CAAA;IACrD,YAAY,EAAE,wBAAwB,CAAA;CACtC,CAAA;AAED,QAAA,MAAM,OAAO,EAAE,EAAE,CAAC,KAAK,CAyGtB,CAAA;AAED,eAAe,OAAO,CAAA"}
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { SubscriptionAgreementTranslation } from './translations.js';
1
+ import type { FC } from 'react';
2
+ import type { SubscriptionAgreementTranslation } from './translations.js';
3
3
  type Props = {
4
4
  tComputerGenerated: SubscriptionAgreementTranslation['computerGenerated'];
5
5
  tPage: SubscriptionAgreementTranslation['page'];
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/Footer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE1B,OAAO,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEpE,KAAK,KAAK,GAAG;IACX,kBAAkB,EAAE,gCAAgC,CAAC,mBAAmB,CAAC,CAAA;IACzE,KAAK,EAAE,gCAAgC,CAAC,MAAM,CAAC,CAAA;IAC/C,GAAG,EAAE,gCAAgC,CAAC,IAAI,CAAC,CAAA;CAC5C,CAAA;AAED,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,KAAK,CAuBrB,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/Footer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEzE,KAAK,KAAK,GAAG;IACZ,kBAAkB,EAAE,gCAAgC,CAAC,mBAAmB,CAAC,CAAA;IACzE,KAAK,EAAE,gCAAgC,CAAC,MAAM,CAAC,CAAA;IAC/C,GAAG,EAAE,gCAAgC,CAAC,IAAI,CAAC,CAAA;CAC3C,CAAA;AAED,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,KAAK,CA6BrB,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { SubscriptionAgreementTranslation } from './translations.js';
1
+ import type { FC } from 'react';
2
+ import type { SubscriptionAgreementTranslation } from './translations.js';
3
3
  type Props = {
4
4
  tTitle: SubscriptionAgreementTranslation['title'];
5
5
  userId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/Header.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG1B,OAAO,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEpE,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,gCAAgC,CAAC,OAAO,CAAC,CAAA;IACjD,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,KAAK,CAsBrB,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/Header.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEzE,KAAK,KAAK,GAAG;IACZ,MAAM,EAAE,gCAAgC,CAAC,OAAO,CAAC,CAAA;IACjD,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,KAAK,CAwBrB,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import type { FC } from 'react';
2
2
  type Props = {
3
3
  label: string;
4
4
  value?: string | number | boolean | null;
@@ -1 +1 @@
1
- {"version":3,"file":"LabelValue.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/LabelValue.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE1B,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;CACzC,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,KAAK,CAQzB,CAAA;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"LabelValue.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/LabelValue.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,KAAK,KAAK,GAAG;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;CACxC,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,KAAK,CAUzB,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -15,13 +15,13 @@ var LabelValue = function(param) {
15
15
  children: label
16
16
  }),
17
17
  /*#__PURE__*/ _jsx(Text, {
18
- children: ":"
18
+ children: ':'
19
19
  }),
20
20
  /*#__PURE__*/ _jsx(Text, {
21
21
  style: {
22
22
  paddingLeft: 16
23
23
  },
24
- children: !!value ? "".concat(value) : '-'
24
+ children: value ? "".concat(value) : '-'
25
25
  })
26
26
  ]
27
27
  });
@@ -1,5 +1,5 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- import { SubscriptionAgreementTranslation } from './translations.js';
1
+ import type { FC, PropsWithChildren } from 'react';
2
+ import type { SubscriptionAgreementTranslation } from './translations.js';
3
3
  type Props = {
4
4
  t: SubscriptionAgreementTranslation;
5
5
  userId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SubscriptionAgreementPage.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/SubscriptionAgreementPage.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAI7C,OAAO,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEpE,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,gCAAgC,CAAA;IACnC,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,QAAA,MAAM,yBAAyB,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAQ3D,CAAA;AAED,eAAe,yBAAyB,CAAA"}
1
+ {"version":3,"file":"SubscriptionAgreementPage.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/SubscriptionAgreementPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAIlD,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEzE,KAAK,KAAK,GAAG;IACZ,CAAC,EAAE,gCAAgC,CAAA;IACnC,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,QAAA,MAAM,yBAAyB,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAqB3D,CAAA;AAED,eAAe,yBAAyB,CAAA"}
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { SubscriptionAgreementTranslation } from './translations.js';
1
+ import type { FC } from 'react';
2
+ import type { SubscriptionAgreementTranslation } from './translations.js';
3
3
  type Props = {
4
4
  t: SubscriptionAgreementTranslation['termsOfUse'];
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TermsOfUse.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/TermsOfUse.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE1B,OAAO,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEpE,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,gCAAgC,CAAC,YAAY,CAAC,CAAA;CAClD,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,KAAK,CAkBzB,CAAA;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"TermsOfUse.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/TermsOfUse.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mBAAmB,CAAA;AAEzE,KAAK,KAAK,GAAG;IACZ,CAAC,EAAE,gCAAgC,CAAC,YAAY,CAAC,CAAA;CACjD,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,KAAK,CA0BzB,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"TermsOfUseSubSection.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/TermsOfUseSubSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,KAAK,wBAAwB,GACzB,MAAM,GACN;IACE,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,wBAAwB,EAAE,CAAA;CACxC,CAAA;AAEL,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,UAAU,EAAE,wBAAwB,CAAA;CACrC,CAAA;AAED,QAAA,MAAM,oBAAoB,EAAE,EAAE,CAAC,KAAK,CAyBnC,CAAA;AAED,eAAe,oBAAoB,CAAA"}
1
+ {"version":3,"file":"TermsOfUseSubSection.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/TermsOfUseSubSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,KAAK,wBAAwB,GAC1B,MAAM,GACN;IACA,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,wBAAwB,EAAE,CAAA;CACtC,CAAA;AAEJ,KAAK,KAAK,GAAG;IACZ,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,UAAU,EAAE,wBAAwB,CAAA;CACpC,CAAA;AAED,QAAA,MAAM,oBAAoB,EAAE,EAAE,CAAC,KAAK,CAyCnC,CAAA;AAED,eAAe,oBAAoB,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Subscription, SubscriptionSchedule, User, Vehicle } from '@driveflux/db';
2
- import { PdfTemplatesSupportedLocales } from '../../types.js';
1
+ import type { Subscription, SubscriptionSchedule, User, Vehicle } from '@driveflux/db';
2
+ import type { PdfTemplatesSupportedLocales } from '../../types.js';
3
3
  export type SubscriptionForAgreement = Subscription & {
4
4
  user: User;
5
5
  vehicle: Vehicle;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,YAAY,EAAE,oBAAoB,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAGnG,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAA;AAS7D,MAAM,MAAM,wBAAwB,GAAG,YAAY,GAAG;IACpD,IAAI,EAAE,IAAI,CAAA;IACV,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAA;CACvC,CAAA;AAED,KAAK,OAAO,GAAG;IACb,MAAM,CAAC,EAAE,4BAA4B,CAAA;IACrC,YAAY,EAAE,wBAAwB,CAAA;CACvC,CAAA;AACD,eAAO,MAAM,gCAAgC,6BAA2C,OAAO,YAAY,MAAM,kBAQhH,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,YAAY,EACZ,oBAAoB,EACpB,IAAI,EACJ,OAAO,EACP,MAAM,eAAe,CAAA;AAGtB,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAA;AASlE,MAAM,MAAM,wBAAwB,GAAG,YAAY,GAAG;IACrD,IAAI,EAAE,IAAI,CAAA;IACV,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAA;CACtC,CAAA;AAED,KAAK,OAAO,GAAG;IACd,MAAM,CAAC,EAAE,4BAA4B,CAAA;IACrC,YAAY,EAAE,wBAAwB,CAAA;CACtC,CAAA;AACD,eAAO,MAAM,gCAAgC,6BACX,OAAO,YAC9B,MAAM,kBAahB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/translations.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAyoBS,QAAQ,GAAG,UAAU;;;;;CAMhD,CAAA;AACD,MAAM,MAAM,gCAAgC,GAAG,OAAO,aAAa,CAAA;AAEnE,eAAO,MAAM,eAAe,WACnB,IAAI,KACV,gCAKF,CAAA"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/translations.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAkqBS,QAAQ,GAAG,UAAU;;;;;CAMhD,CAAA;AACD,MAAM,MAAM,gCAAgC,GAAG,OAAO,aAAa,CAAA;AAEnE,eAAO,MAAM,eAAe,WACnB,IAAI,KACV,gCAKF,CAAA"}
package/package.json CHANGED
@@ -1,41 +1,41 @@
1
1
  {
2
2
  "name": "@driveflux/pdf",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
7
- "import": "./dist/index.js",
8
- "types": "./dist/index.d.ts"
7
+ "types": "./dist/index.d.ts",
8
+ "import": "./dist/index.js"
9
9
  }
10
10
  },
11
+ "files": [
12
+ "dist"
13
+ ],
11
14
  "dependencies": {
12
- "@driveflux/db": "1.3.2",
13
- "@driveflux/env": "1.1.0",
14
- "@driveflux/format-money": "5.1.0",
15
- "@driveflux/time": "4.1.0",
15
+ "@driveflux/db": "1.3.4",
16
+ "@driveflux/env": "1.1.1",
17
+ "@driveflux/format-money": "5.1.2",
18
+ "@driveflux/time": "4.1.1",
16
19
  "@react-pdf/renderer": "^3.4.4",
17
20
  "date-fns": "^3.6.0",
18
21
  "nodemon": "^3.1.4",
19
22
  "react": "^18.3.1"
20
23
  },
21
- "peerDependencies": {
22
- "react": "^18.3.1"
23
- },
24
24
  "devDependencies": {
25
- "@babel/preset-env": "^7.24.7",
26
- "@driveflux/fab": "2.1.0",
27
- "@driveflux/tsconfig": "1.1.0",
25
+ "@babel/preset-env": "^7.24.8",
26
+ "@driveflux/fab": "2.1.2",
27
+ "@driveflux/tsconfig": "1.1.2",
28
28
  "@swc/cli": "^0.4.0",
29
- "@swc/core": "1.6.13",
30
- "@types/node": "^20.14.10",
29
+ "@swc/core": "1.7.0",
30
+ "@types/node": "^20.14.11",
31
31
  "@types/react": "^18.3.3",
32
32
  "del-cli": "^5.1.0",
33
33
  "react": "^18.3.1",
34
34
  "typescript": "^5.5.3"
35
35
  },
36
- "files": [
37
- "dist"
38
- ],
36
+ "peerDependencies": {
37
+ "react": "^18.3.1"
38
+ },
39
39
  "scripts": {
40
40
  "build": "fab",
41
41
  "debug": "pnpm build && node dist/debug.js",
@@ -1,3 +0,0 @@
1
- {
2
- "type": "commonjs"
3
- }