@driveflux/pdf 4.0.77 → 5.0.0-feature-e-invoicing.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/.env +0 -0
- package/.env.development +4 -0
- package/.turbo/turbo-build.log +14 -0
- package/CHANGELOG.md +15 -0
- package/build.ts +45 -0
- package/bun-env.d.ts +34 -0
- package/bunfig.toml +8 -0
- package/catalog-version-stamp.json +8 -0
- package/dist/main.js +4 -0
- package/dist/main.js.map +11 -0
- package/dist/src/config.d.ts +20 -0
- package/dist/src/create-logger.d.ts +1 -0
- package/dist/src/errors.d.ts +43 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/preview/api.d.ts +264 -0
- package/dist/src/preview/client/app.d.ts +2 -0
- package/dist/src/preview/client/invoice/invoice-display.d.ts +5 -0
- package/dist/src/preview/client/invoice/invoice-setup.d.ts +8 -0
- package/dist/src/preview/client/preview-targets.d.ts +12 -0
- package/dist/src/preview/client/preview.d.ts +6 -0
- package/dist/src/preview/client/sidebar.d.ts +7 -0
- package/dist/src/preview/client/treaty.d.ts +200 -0
- package/dist/src/preview/client/use-target.d.ts +1 -0
- package/dist/src/preview/fonts/register-fonts.d.ts +1 -0
- package/dist/src/preview/frontend.d.ts +1 -0
- package/dist/src/preview/server.d.ts +1 -0
- package/dist/src/repository.d.ts +171 -0
- package/dist/src/templates/invoice/colors.d.ts +6 -0
- package/dist/src/templates/invoice/company-details.d.ts +10 -0
- package/dist/src/templates/invoice/flux-invoice.d.ts +6 -0
- package/dist/src/templates/invoice/footer.d.ts +2 -0
- package/dist/src/templates/invoice/host-invoice.d.ts +9 -0
- package/dist/src/templates/invoice/invoice-details.d.ts +13 -0
- package/dist/src/templates/invoice/invoice-notes.d.ts +1 -0
- package/dist/src/templates/invoice/invoice-summary.d.ts +7 -0
- package/dist/src/templates/invoice/letter-head.d.ts +10 -0
- package/dist/src/templates/invoice/li.d.ts +10 -0
- package/dist/src/templates/invoice/platform-and-host-details.d.ts +11 -0
- package/dist/src/templates/invoice/spacer.d.ts +3 -0
- package/dist/src/templates/invoice/split-container-items.d.ts +10 -0
- package/dist/src/templates/invoice/split-container.d.ts +7 -0
- package/dist/src/templates/invoice/standard-page.d.ts +7 -0
- package/dist/src/templates/invoice/types.d.ts +3 -0
- package/dist/src/templates/invoice/ul.d.ts +8 -0
- package/dist/src/templates/invoice/utils.d.ts +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +34 -40
- package/src/config.ts +42 -0
- package/src/create-logger.ts +4 -0
- package/src/errors.ts +35 -0
- package/src/main.ts +7 -0
- package/src/preview/api.ts +33 -0
- package/src/preview/client/app.tsx +30 -0
- package/src/preview/client/invoice/invoice-display.tsx +27 -0
- package/src/preview/client/invoice/invoice-setup.tsx +95 -0
- package/src/preview/client/preview-targets.ts +30 -0
- package/src/preview/client/preview.tsx +37 -0
- package/src/preview/client/sidebar.tsx +39 -0
- package/src/preview/client/treaty.ts +8 -0
- package/src/preview/client/use-target.ts +11 -0
- package/src/preview/fonts/GOTHAM-BLACK.TTF +0 -0
- package/src/preview/fonts/GOTHAM-BLACKITALIC.TTF +0 -0
- package/src/preview/fonts/GOTHAM-BOLD.TTF +0 -0
- package/src/preview/fonts/GOTHAM-BOLDITALIC.TTF +0 -0
- package/src/preview/fonts/GOTHAM-LIGHT.TTF +0 -0
- package/src/preview/fonts/GOTHAM-LIGHTITALIC.TTF +0 -0
- package/src/preview/fonts/GOTHAM-MEDIUM.TTF +0 -0
- package/src/preview/fonts/GOTHAM-MEDIUMITALIC.TTF +0 -0
- package/src/preview/fonts/GOTHAM-THIN.TTF +0 -0
- package/src/preview/fonts/GOTHAM-THINITALIC.TTF +0 -0
- package/src/preview/fonts/GOTHAM-ULTRA.TTF +0 -0
- package/src/preview/fonts/GOTHAM-ULTRAITALIC.TTF +0 -0
- package/src/preview/fonts/GOTHAM-XLIGHT.TTF +0 -0
- package/src/preview/fonts/GOTHAM-XLIGHTITALIC.TTF +0 -0
- package/src/preview/fonts/Gotham Book Italic.otf +0 -0
- package/src/preview/fonts/Gotham-BoldItalic.otf +0 -0
- package/src/preview/fonts/Gotham-Book.otf +0 -0
- package/src/preview/fonts/Gotham-BookItalic.otf +0 -0
- package/src/preview/fonts/Gotham-ExtraLight.otf +0 -0
- package/src/preview/fonts/Gotham-ExtraLightItalic.otf +0 -0
- package/src/preview/fonts/Gotham-Light.otf +0 -0
- package/src/preview/fonts/Gotham-LightItalic.otf +0 -0
- package/src/preview/fonts/Gotham-Medium.otf +0 -0
- package/src/preview/fonts/Gotham-MediumItalic.otf +0 -0
- package/src/preview/fonts/Gotham-Thin.otf +0 -0
- package/src/preview/fonts/Gotham-ThinItalic.otf +0 -0
- package/src/preview/fonts/Gotham-Ultra.otf +0 -0
- package/src/preview/fonts/Gotham-UltraItalic.otf +0 -0
- package/src/preview/fonts/GothamNarrow-Black.otf +0 -0
- package/src/preview/fonts/GothamNarrow-BlackItalic.otf +0 -0
- package/src/preview/fonts/GothamNarrow-Book.otf +0 -0
- package/src/preview/fonts/GothamNarrow-BookItalic.otf +0 -0
- package/src/preview/fonts/GothamNarrow-Light.otf +0 -0
- package/src/preview/fonts/GothamNarrow-LightItalic.otf +0 -0
- package/src/preview/fonts/GothamNarrow-Medium.otf +0 -0
- package/src/preview/fonts/GothamNarrow-MediumItalic.otf +0 -0
- package/src/preview/fonts/GothamNarrow-Thin.otf +0 -0
- package/src/preview/fonts/GothamNarrow-ThinItalic.otf +0 -0
- package/src/preview/fonts/GothamNarrow-Ultra.otf +0 -0
- package/src/preview/fonts/GothamNarrow-UltraItalic.otf +0 -0
- package/src/preview/fonts/GothamNarrow-XLight.otf +0 -0
- package/src/preview/fonts/GothamNarrow-XLightItalic.otf +0 -0
- package/src/preview/fonts/gotham-extra-narrow-bold-italic.otf +0 -0
- package/src/preview/fonts/gotham-extra-narrow-bold.otf +0 -0
- package/src/preview/fonts/gotham-extra-narrow-book-italic.otf +0 -0
- package/src/preview/fonts/gotham-extra-narrow-book.otf +0 -0
- package/src/preview/fonts/gotham-extra-narrow-light-italic.otf +0 -0
- package/src/preview/fonts/gotham-extra-narrow-light.otf +0 -0
- package/src/preview/fonts/gotham-extra-narrow-medium-italic.otf +0 -0
- package/src/preview/fonts/gotham-extra-narrow-medium.otf +0 -0
- package/src/preview/fonts/gotham-rounded-bold-italic.otf +0 -0
- package/src/preview/fonts/gotham-rounded-bold.otf +0 -0
- package/src/preview/fonts/gotham-rounded-book-italic.otf +0 -0
- package/src/preview/fonts/gotham-rounded-book.otf +0 -0
- package/src/preview/fonts/gotham-rounded-light-italic.otf +0 -0
- package/src/preview/fonts/gotham-rounded-light.otf +0 -0
- package/src/preview/fonts/gotham-rounded-medium-italic.otf +0 -0
- package/src/preview/fonts/gotham-rounded-medium.otf +0 -0
- package/src/preview/fonts/register-fonts.ts +395 -0
- package/src/preview/frontend.tsx +23 -0
- package/src/preview/global.css +39 -0
- package/src/preview/preview.html +12 -0
- package/src/preview/server.ts +28 -0
- package/src/repository.ts +39 -0
- package/src/templates/invoice/E Invoice Format.pdf +0 -0
- package/src/templates/invoice/colors.ts +6 -0
- package/src/templates/invoice/company-details.tsx +124 -0
- package/src/templates/invoice/flux-invoice.tsx +134 -0
- package/src/templates/invoice/footer.tsx +46 -0
- package/src/templates/invoice/host-invoice.tsx +134 -0
- package/src/templates/invoice/images/logo.png +0 -0
- package/src/templates/invoice/images/logo.svg +41 -0
- package/src/templates/invoice/invoice-details.tsx +231 -0
- package/src/templates/invoice/invoice-notes.tsx +74 -0
- package/src/templates/invoice/invoice-summary.tsx +135 -0
- package/src/templates/invoice/letter-head.tsx +132 -0
- package/src/templates/invoice/li.tsx +48 -0
- package/src/templates/invoice/platform-and-host-details.tsx +56 -0
- package/src/templates/invoice/spacer.tsx +5 -0
- package/src/templates/invoice/split-container-items.tsx +80 -0
- package/src/templates/invoice/split-container.tsx +35 -0
- package/src/templates/invoice/standard-page.tsx +45 -0
- package/src/templates/invoice/types.ts +6 -0
- package/src/templates/invoice/ul.tsx +19 -0
- package/src/templates/invoice/utils.ts +5 -0
- package/tsconfig.json +21 -0
- package/dist/components/FluxLogo.d.ts +0 -3
- package/dist/components/FluxLogo.d.ts.map +0 -1
- package/dist/components/FluxLogo.js +0 -66
- package/dist/components/FluxLogo.js.map +0 -1
- package/dist/components/StandardPage.d.ts +0 -7
- package/dist/components/StandardPage.d.ts.map +0 -1
- package/dist/components/StandardPage.js +0 -132
- package/dist/components/StandardPage.js.map +0 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -3
- package/dist/index.js.map +0 -1
- package/dist/templates/QuotationPdf/CustomerSubscriptionSection.d.ts +0 -10
- package/dist/templates/QuotationPdf/CustomerSubscriptionSection.d.ts.map +0 -1
- package/dist/templates/QuotationPdf/CustomerSubscriptionSection.js +0 -165
- package/dist/templates/QuotationPdf/CustomerSubscriptionSection.js.map +0 -1
- package/dist/templates/QuotationPdf/GFV.d.ts +0 -10
- package/dist/templates/QuotationPdf/GFV.d.ts.map +0 -1
- package/dist/templates/QuotationPdf/GFV.js +0 -61
- package/dist/templates/QuotationPdf/GFV.js.map +0 -1
- package/dist/templates/QuotationPdf/Header.d.ts +0 -9
- package/dist/templates/QuotationPdf/Header.d.ts.map +0 -1
- package/dist/templates/QuotationPdf/Header.js +0 -71
- package/dist/templates/QuotationPdf/Header.js.map +0 -1
- package/dist/templates/QuotationPdf/Pricing.d.ts +0 -10
- package/dist/templates/QuotationPdf/Pricing.d.ts.map +0 -1
- package/dist/templates/QuotationPdf/Pricing.js +0 -723
- package/dist/templates/QuotationPdf/Pricing.js.map +0 -1
- package/dist/templates/QuotationPdf/QuotationPdfPage.d.ts +0 -8
- package/dist/templates/QuotationPdf/QuotationPdfPage.d.ts.map +0 -1
- package/dist/templates/QuotationPdf/QuotationPdfPage.js +0 -30
- package/dist/templates/QuotationPdf/QuotationPdfPage.js.map +0 -1
- package/dist/templates/QuotationPdf/SectionBoxNew.d.ts +0 -9
- package/dist/templates/QuotationPdf/SectionBoxNew.d.ts.map +0 -1
- package/dist/templates/QuotationPdf/SectionBoxNew.js +0 -38
- package/dist/templates/QuotationPdf/SectionBoxNew.js.map +0 -1
- package/dist/templates/QuotationPdf/TermsSection.d.ts +0 -8
- package/dist/templates/QuotationPdf/TermsSection.d.ts.map +0 -1
- package/dist/templates/QuotationPdf/TermsSection.js +0 -50
- package/dist/templates/QuotationPdf/TermsSection.js.map +0 -1
- package/dist/templates/QuotationPdf/VehiclePhotos.d.ts +0 -10
- package/dist/templates/QuotationPdf/VehiclePhotos.d.ts.map +0 -1
- package/dist/templates/QuotationPdf/VehiclePhotos.js +0 -66
- package/dist/templates/QuotationPdf/VehiclePhotos.js.map +0 -1
- package/dist/templates/QuotationPdf/index.d.ts +0 -12
- package/dist/templates/QuotationPdf/index.d.ts.map +0 -1
- package/dist/templates/QuotationPdf/index.js +0 -214
- package/dist/templates/QuotationPdf/index.js.map +0 -1
- package/dist/templates/QuotationPdf/translations.d.ts +0 -68
- package/dist/templates/QuotationPdf/translations.d.ts.map +0 -1
- package/dist/templates/QuotationPdf/translations.js +0 -101
- package/dist/templates/QuotationPdf/translations.js.map +0 -1
- package/dist/templates/QuotationPdf/utils.d.ts +0 -14
- package/dist/templates/QuotationPdf/utils.d.ts.map +0 -1
- package/dist/templates/QuotationPdf/utils.js +0 -152
- package/dist/templates/QuotationPdf/utils.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/Confirmation.d.ts +0 -12
- package/dist/templates/SubscriptionAgreement/Confirmation.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/Confirmation.js +0 -80
- package/dist/templates/SubscriptionAgreement/Confirmation.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/CoverPage.d.ts +0 -14
- package/dist/templates/SubscriptionAgreement/CoverPage.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/CoverPage.js +0 -111
- package/dist/templates/SubscriptionAgreement/CoverPage.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/CoverPageSection.d.ts +0 -7
- package/dist/templates/SubscriptionAgreement/CoverPageSection.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/CoverPageSection.js +0 -25
- package/dist/templates/SubscriptionAgreement/CoverPageSection.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/Details.d.ts +0 -10
- package/dist/templates/SubscriptionAgreement/Details.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/Details.js +0 -223
- package/dist/templates/SubscriptionAgreement/Details.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/Footer.d.ts +0 -10
- package/dist/templates/SubscriptionAgreement/Footer.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/Footer.js +0 -58
- package/dist/templates/SubscriptionAgreement/Footer.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/Header.d.ts +0 -10
- package/dist/templates/SubscriptionAgreement/Header.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/Header.js +0 -46
- package/dist/templates/SubscriptionAgreement/Header.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/LabelValue.d.ts +0 -8
- package/dist/templates/SubscriptionAgreement/LabelValue.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/LabelValue.js +0 -29
- package/dist/templates/SubscriptionAgreement/LabelValue.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/SubscriptionAgreementPage.d.ts +0 -10
- package/dist/templates/SubscriptionAgreement/SubscriptionAgreementPage.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/SubscriptionAgreementPage.js +0 -33
- package/dist/templates/SubscriptionAgreement/SubscriptionAgreementPage.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/TermsOfUse.d.ts +0 -8
- package/dist/templates/SubscriptionAgreement/TermsOfUse.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/TermsOfUse.js +0 -101
- package/dist/templates/SubscriptionAgreement/TermsOfUse.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/TermsOfUseSubSection.d.ts +0 -12
- package/dist/templates/SubscriptionAgreement/TermsOfUseSubSection.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/TermsOfUseSubSection.js +0 -103
- package/dist/templates/SubscriptionAgreement/TermsOfUseSubSection.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/index.d.ts +0 -13
- package/dist/templates/SubscriptionAgreement/index.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/index.js +0 -271
- package/dist/templates/SubscriptionAgreement/index.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/translations.d.ts +0 -78
- package/dist/templates/SubscriptionAgreement/translations.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/translations.js +0 -662
- package/dist/templates/SubscriptionAgreement/translations.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/types.d.ts +0 -7
- package/dist/templates/SubscriptionAgreement/types.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/types.js +0 -1
- package/dist/templates/SubscriptionAgreement/types.js.map +0 -1
- package/dist/templates/SubscriptionAgreement/utils.d.ts +0 -6
- package/dist/templates/SubscriptionAgreement/utils.d.ts.map +0 -1
- package/dist/templates/SubscriptionAgreement/utils.js +0 -37
- package/dist/templates/SubscriptionAgreement/utils.js.map +0 -1
- package/dist/templates/index.d.ts +0 -3
- package/dist/templates/index.d.ts.map +0 -1
- package/dist/templates/index.js +0 -2
- package/dist/templates/index.js.map +0 -1
- package/dist/theme/colors.d.ts +0 -148
- package/dist/theme/colors.d.ts.map +0 -1
- package/dist/theme/colors.js +0 -137
- package/dist/theme/colors.js.map +0 -1
- package/dist/theme/index.d.ts +0 -2
- package/dist/theme/index.d.ts.map +0 -1
- package/dist/theme/index.js +0 -1
- package/dist/theme/index.js.map +0 -1
- package/dist/types.d.ts +0 -2
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -1
- package/dist/types.js.map +0 -1
- package/dist/utils.d.ts +0 -10
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.js +0 -175
- package/dist/utils.js.map +0 -1
- package/dist/watch.d.ts +0 -2
- package/dist/watch.d.ts.map +0 -1
- package/dist/watch.js +0 -11
- package/dist/watch.js.map +0 -1
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
function _define_property(obj, key, value) {
|
|
2
|
-
if (key in obj) {
|
|
3
|
-
Object.defineProperty(obj, key, {
|
|
4
|
-
value: value,
|
|
5
|
-
enumerable: true,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true
|
|
8
|
-
});
|
|
9
|
-
} else {
|
|
10
|
-
obj[key] = value;
|
|
11
|
-
}
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
function _object_spread(target) {
|
|
15
|
-
for(var i = 1; i < arguments.length; i++){
|
|
16
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
-
var ownKeys = Object.keys(source);
|
|
18
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
ownKeys.forEach(function(key) {
|
|
24
|
-
_define_property(target, key, source[key]);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return target;
|
|
28
|
-
}
|
|
29
|
-
function ownKeys(object, enumerableOnly) {
|
|
30
|
-
var keys = Object.keys(object);
|
|
31
|
-
if (Object.getOwnPropertySymbols) {
|
|
32
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
33
|
-
if (enumerableOnly) {
|
|
34
|
-
symbols = symbols.filter(function(sym) {
|
|
35
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
keys.push.apply(keys, symbols);
|
|
39
|
-
}
|
|
40
|
-
return keys;
|
|
41
|
-
}
|
|
42
|
-
function _object_spread_props(target, source) {
|
|
43
|
-
source = source != null ? source : {};
|
|
44
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
45
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
46
|
-
} else {
|
|
47
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
48
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
return target;
|
|
52
|
-
}
|
|
53
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
54
|
-
import { userName } from '@driveflux/db/models/user';
|
|
55
|
-
import { format } from '@driveflux/time';
|
|
56
|
-
import { Text, View } from '@react-pdf/renderer';
|
|
57
|
-
import { colors } from '../../theme/index.js';
|
|
58
|
-
import LabelValue from './LabelValue.js';
|
|
59
|
-
var Details = function Details(param) {
|
|
60
|
-
var tDetails = param.tDetails, subscription = param.subscription;
|
|
61
|
-
var _subscription_vehicle, _subscription_vehicle1, _subscription_vehicle2, _subscription_vehicle3, _subscription_vehicle4;
|
|
62
|
-
var details = {};
|
|
63
|
-
if (subscription.payerType === 'business') {
|
|
64
|
-
var _subscription_business;
|
|
65
|
-
details.business = [
|
|
66
|
-
{
|
|
67
|
-
key: tDetails.business.name,
|
|
68
|
-
value: subscription === null || subscription === void 0 ? void 0 : subscription.businessName
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
key: tDetails.business.companyNo,
|
|
72
|
-
value: subscription === null || subscription === void 0 ? void 0 : (_subscription_business = subscription.business) === null || _subscription_business === void 0 ? void 0 : _subscription_business.registrationNumber
|
|
73
|
-
}
|
|
74
|
-
];
|
|
75
|
-
} else {
|
|
76
|
-
var _subscription_user_identification;
|
|
77
|
-
details.member = [
|
|
78
|
-
{
|
|
79
|
-
key: tDetails.member.name,
|
|
80
|
-
value: userName(subscription.user)
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
key: tDetails.member.idOrPassportNo,
|
|
84
|
-
value: (_subscription_user_identification = subscription.user.identification) === null || _subscription_user_identification === void 0 ? void 0 : _subscription_user_identification.number
|
|
85
|
-
}
|
|
86
|
-
];
|
|
87
|
-
}
|
|
88
|
-
details = _object_spread_props(_object_spread({}, details), {
|
|
89
|
-
vehicle: [
|
|
90
|
-
{
|
|
91
|
-
key: tDetails.vehicle.make,
|
|
92
|
-
value: (_subscription_vehicle = subscription.vehicle) === null || _subscription_vehicle === void 0 ? void 0 : _subscription_vehicle.make
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
key: tDetails.vehicle.model,
|
|
96
|
-
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)
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
key: tDetails.vehicle.year,
|
|
100
|
-
value: (_subscription_vehicle3 = subscription.vehicle) === null || _subscription_vehicle3 === void 0 ? void 0 : _subscription_vehicle3.year
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
key: tDetails.vehicle.plateNo,
|
|
104
|
-
value: (_subscription_vehicle4 = subscription.vehicle) === null || _subscription_vehicle4 === void 0 ? void 0 : _subscription_vehicle4.registrationNumber
|
|
105
|
-
}
|
|
106
|
-
],
|
|
107
|
-
subscription: [
|
|
108
|
-
{
|
|
109
|
-
key: tDetails.subscription.subscriptionPlan,
|
|
110
|
-
value: getPlanTranslation(subscription.plan)
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
key: tDetails.subscription.mileagePackage,
|
|
114
|
-
value: getFullMileagePackageTranslation(subscription.mileagePackage)
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
key: tDetails.subscription.startDate,
|
|
118
|
-
value: subscription.startedAt ? format(subscription.startedAt, 'dd-MM-yyyy') : undefined
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
key: tDetails.subscription.endDate,
|
|
122
|
-
value: subscription.endedAt ? format(subscription.endedAt, 'dd-MM-yyyy') : subscription.scheduledEndAt ? format(subscription.scheduledEndAt, 'dd-MM-yyyy') : undefined
|
|
123
|
-
}
|
|
124
|
-
]
|
|
125
|
-
});
|
|
126
|
-
var border = "1px solid ".concat(colors.primary2);
|
|
127
|
-
return /*#__PURE__*/ _jsxs(View, {
|
|
128
|
-
style: {
|
|
129
|
-
borderLeft: border,
|
|
130
|
-
borderRight: border
|
|
131
|
-
},
|
|
132
|
-
children: [
|
|
133
|
-
/*#__PURE__*/ _jsx(View, {
|
|
134
|
-
style: {
|
|
135
|
-
backgroundColor: colors.primary1,
|
|
136
|
-
borderTop: border,
|
|
137
|
-
padding: 8
|
|
138
|
-
},
|
|
139
|
-
children: /*#__PURE__*/ _jsx(Text, {
|
|
140
|
-
style: {
|
|
141
|
-
fontWeight: 'bold',
|
|
142
|
-
textTransform: 'uppercase',
|
|
143
|
-
letterSpacing: 1
|
|
144
|
-
},
|
|
145
|
-
children: tDetails.agreement
|
|
146
|
-
})
|
|
147
|
-
}),
|
|
148
|
-
Object.keys(details).map(function(key, _i) {
|
|
149
|
-
return /*#__PURE__*/ _jsxs(View, {
|
|
150
|
-
style: {
|
|
151
|
-
padding: 8,
|
|
152
|
-
paddingBottom: 16,
|
|
153
|
-
rowGap: 8,
|
|
154
|
-
borderTop: border
|
|
155
|
-
},
|
|
156
|
-
children: [
|
|
157
|
-
/*#__PURE__*/ _jsx(Text, {
|
|
158
|
-
style: {
|
|
159
|
-
textTransform: 'uppercase',
|
|
160
|
-
color: colors.primary2,
|
|
161
|
-
fontSize: 8,
|
|
162
|
-
letterSpacing: 1
|
|
163
|
-
},
|
|
164
|
-
children: "".concat(key, " details")
|
|
165
|
-
}),
|
|
166
|
-
details[key].map(function(line) {
|
|
167
|
-
return /*#__PURE__*/ _jsx(LabelValue, {
|
|
168
|
-
label: line.key,
|
|
169
|
-
value: line.value
|
|
170
|
-
}, line.key);
|
|
171
|
-
})
|
|
172
|
-
]
|
|
173
|
-
}, key);
|
|
174
|
-
})
|
|
175
|
-
]
|
|
176
|
-
});
|
|
177
|
-
};
|
|
178
|
-
export default Details;
|
|
179
|
-
// TODO: replace this with dump's once the package is ready
|
|
180
|
-
var getPlanTranslation = function getPlanTranslation(plan, vehicleType) {
|
|
181
|
-
if (!plan) {
|
|
182
|
-
return 'Unknown Plan';
|
|
183
|
-
}
|
|
184
|
-
switch(plan){
|
|
185
|
-
case 'plan60':
|
|
186
|
-
return vehicleType === 'motorcycle' ? '60 Months' : '60 Months (Basic)';
|
|
187
|
-
case 'plan36':
|
|
188
|
-
return '36 Months';
|
|
189
|
-
case 'plan24':
|
|
190
|
-
return '24 Months';
|
|
191
|
-
case 'plan12':
|
|
192
|
-
return '12 Months';
|
|
193
|
-
case 'plan1':
|
|
194
|
-
return 'Monthly (Ultra)';
|
|
195
|
-
case 'planWeekly':
|
|
196
|
-
return 'Weekly';
|
|
197
|
-
default:
|
|
198
|
-
{
|
|
199
|
-
var _exhaustiveCheck = plan;
|
|
200
|
-
return 'Unknown Plan';
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
};
|
|
204
|
-
var getFullMileagePackageTranslation = function getFullMileagePackageTranslation(plan) {
|
|
205
|
-
if (!plan) {
|
|
206
|
-
return 'Unknown Mileage Package';
|
|
207
|
-
}
|
|
208
|
-
switch(plan){
|
|
209
|
-
case 'lite':
|
|
210
|
-
return 'Lite - 1,250KM';
|
|
211
|
-
case 'standard':
|
|
212
|
-
return 'Standard - 2,000KM';
|
|
213
|
-
case 'plus':
|
|
214
|
-
return 'Plus - 2,750KM';
|
|
215
|
-
case 'unlimited':
|
|
216
|
-
return 'Unlimited';
|
|
217
|
-
default:
|
|
218
|
-
{
|
|
219
|
-
var _exhaustiveCheck = plan;
|
|
220
|
-
return 'Unknown Mileage Package';
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
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cAAc,CAAA;IACtB,CAAC;IAED,QAAQ,IAAI,EAAE,CAAC;QACd,KAAK,QAAQ;YACZ,OAAO,WAAW,KAAK,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,mBAAmB,CAAA;QACxE,KAAK,QAAQ;YACZ,OAAO,WAAW,CAAA;QACnB,KAAK,QAAQ;YACZ,OAAO,WAAW,CAAA;QACnB,KAAK,QAAQ;YACZ,OAAO,WAAW,CAAA;QACnB,KAAK,OAAO;YACX,OAAO,iBAAiB,CAAA;QACzB,KAAK,YAAY;YAChB,OAAO,QAAQ,CAAA;QAChB,OAAO,CAAC,CAAC,CAAC;YACT,MAAM,gBAAgB,GAAU,IAAI,CAAA;YACpC,OAAO,cAAc,CAAA;QACtB,CAAC;IACF,CAAC;AACF,CAAC,CAAA;AAED,MAAM,gCAAgC,GAAG,CAAC,IAA4B,EAAE,EAAE;IACzE,IAAI,CAAC,IAAI,EAAE,CAAC;QACX,OAAO,yBAAyB,CAAA;IACjC,CAAC;IAED,QAAQ,IAAI,EAAE,CAAC;QACd,KAAK,MAAM;YACV,OAAO,gBAAgB,CAAA;QACxB,KAAK,UAAU;YACd,OAAO,oBAAoB,CAAA;QAC5B,KAAK,MAAM;YACV,OAAO,gBAAgB,CAAA;QACxB,KAAK,WAAW;YACf,OAAO,WAAW,CAAA;QACnB,OAAO,CAAC,CAAC,CAAC;YACT,MAAM,gBAAgB,GAAU,IAAI,CAAA;YACpC,OAAO,yBAAyB,CAAA;QACjC,CAAC;IACF,CAAC;AACF,CAAC,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import type { SubscriptionAgreementTranslation } from './translations.js';
|
|
3
|
-
type Props = {
|
|
4
|
-
tComputerGenerated: SubscriptionAgreementTranslation['computerGenerated'];
|
|
5
|
-
tPage: SubscriptionAgreementTranslation['page'];
|
|
6
|
-
tOf: SubscriptionAgreementTranslation['of'];
|
|
7
|
-
};
|
|
8
|
-
declare const Footer: FC<Props>;
|
|
9
|
-
export default Footer;
|
|
10
|
-
//# sourceMappingURL=Footer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,58 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Text, View } from '@react-pdf/renderer';
|
|
3
|
-
import { colors } from '../../theme/colors.js';
|
|
4
|
-
var Footer = function Footer(param) {
|
|
5
|
-
var tComputerGenerated = param.tComputerGenerated, tPage = param.tPage, tOf = param.tOf;
|
|
6
|
-
return /*#__PURE__*/ _jsxs(View, {
|
|
7
|
-
fixed: true,
|
|
8
|
-
style: {
|
|
9
|
-
justifyContent: 'space-between',
|
|
10
|
-
flexDirection: 'row',
|
|
11
|
-
paddingTop: 16,
|
|
12
|
-
marginTop: 16,
|
|
13
|
-
borderTop: "1px solid ".concat(colors.links),
|
|
14
|
-
color: colors.primary2,
|
|
15
|
-
fontSize: 8
|
|
16
|
-
},
|
|
17
|
-
children: [
|
|
18
|
-
/*#__PURE__*/ _jsx(Text, {
|
|
19
|
-
children: tComputerGenerated
|
|
20
|
-
}),
|
|
21
|
-
/*#__PURE__*/ _jsxs(View, {
|
|
22
|
-
style: {
|
|
23
|
-
flexDirection: 'row',
|
|
24
|
-
columnGap: 4
|
|
25
|
-
},
|
|
26
|
-
children: [
|
|
27
|
-
/*#__PURE__*/ _jsx(Text, {
|
|
28
|
-
children: tPage
|
|
29
|
-
}),
|
|
30
|
-
/*#__PURE__*/ _jsx(Text, {
|
|
31
|
-
style: {
|
|
32
|
-
fontWeight: 'bold',
|
|
33
|
-
color: colors.black
|
|
34
|
-
},
|
|
35
|
-
render: function render(param) {
|
|
36
|
-
var pageNumber = param.pageNumber;
|
|
37
|
-
return "".concat(pageNumber);
|
|
38
|
-
}
|
|
39
|
-
}),
|
|
40
|
-
/*#__PURE__*/ _jsx(Text, {
|
|
41
|
-
children: tOf
|
|
42
|
-
}),
|
|
43
|
-
/*#__PURE__*/ _jsx(Text, {
|
|
44
|
-
style: {
|
|
45
|
-
fontWeight: 'bold',
|
|
46
|
-
color: colors.black
|
|
47
|
-
},
|
|
48
|
-
render: function render(param) {
|
|
49
|
-
var totalPages = param.totalPages;
|
|
50
|
-
return "".concat(totalPages);
|
|
51
|
-
}
|
|
52
|
-
})
|
|
53
|
-
]
|
|
54
|
-
})
|
|
55
|
-
]
|
|
56
|
-
});
|
|
57
|
-
};
|
|
58
|
-
export default Footer;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/Footer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAEhD,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAS9C,MAAM,MAAM,GAAc,CAAC,EAAE,kBAAkB,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE;IAChE,OAAO,CACN,MAAC,IAAI,IACJ,KAAK,QACL,KAAK,EAAE;YACN,cAAc,EAAE,eAAe;YAC/B,aAAa,EAAE,KAAK;YACpB,UAAU,EAAE,EAAE;YACd,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,aAAa,MAAM,CAAC,KAAK,EAAE;YACtC,KAAK,EAAE,MAAM,CAAC,QAAQ;YACtB,QAAQ,EAAE,CAAC;SACX,aAED,KAAC,IAAI,cAAE,kBAAkB,GAAQ,EACjC,MAAC,IAAI,IAAC,KAAK,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,EAAE,aAClD,KAAC,IAAI,cAAE,KAAK,GAAQ,EACpB,KAAC,IAAI,IACJ,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,EAClD,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,GAAG,UAAU,EAAE,GAC1C,EACF,KAAC,IAAI,cAAE,GAAG,GAAQ,EAClB,KAAC,IAAI,IACJ,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,EAClD,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,GAAG,UAAU,EAAE,GAC1C,IACI,IACD,CACP,CAAA;AACF,CAAC,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import type { SubscriptionAgreementTranslation } from './translations.js';
|
|
3
|
-
type Props = {
|
|
4
|
-
tTitle: SubscriptionAgreementTranslation['title'];
|
|
5
|
-
userId: string;
|
|
6
|
-
subscriptionId: string;
|
|
7
|
-
};
|
|
8
|
-
declare const Header: FC<Props>;
|
|
9
|
-
export default Header;
|
|
10
|
-
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,46 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Link, Text, View } from '@react-pdf/renderer';
|
|
3
|
-
import FluxLogo from '../../components/FluxLogo.js';
|
|
4
|
-
import { colors } from '../../theme/colors.js';
|
|
5
|
-
var Header = function Header(param) {
|
|
6
|
-
var tTitle = param.tTitle, userId = param.userId, subscriptionId = param.subscriptionId;
|
|
7
|
-
return /*#__PURE__*/ _jsxs(View, {
|
|
8
|
-
fixed: true,
|
|
9
|
-
style: {
|
|
10
|
-
flexDirection: 'row',
|
|
11
|
-
justifyContent: 'space-between',
|
|
12
|
-
alignItems: 'center',
|
|
13
|
-
paddingBottom: 40,
|
|
14
|
-
// to not get pushed by the content
|
|
15
|
-
minHeight: 69
|
|
16
|
-
},
|
|
17
|
-
children: [
|
|
18
|
-
/*#__PURE__*/ _jsx(Link, {
|
|
19
|
-
src: "https://driveflux.com",
|
|
20
|
-
children: /*#__PURE__*/ _jsx(FluxLogo, {})
|
|
21
|
-
}),
|
|
22
|
-
/*#__PURE__*/ _jsxs(View, {
|
|
23
|
-
style: {
|
|
24
|
-
rowGap: 4,
|
|
25
|
-
fontSize: 8,
|
|
26
|
-
alignItems: 'flex-end'
|
|
27
|
-
},
|
|
28
|
-
children: [
|
|
29
|
-
/*#__PURE__*/ _jsx(Text, {
|
|
30
|
-
style: {
|
|
31
|
-
fontWeight: 'bold'
|
|
32
|
-
},
|
|
33
|
-
children: tTitle
|
|
34
|
-
}),
|
|
35
|
-
/*#__PURE__*/ _jsx(Text, {
|
|
36
|
-
style: {
|
|
37
|
-
color: colors.primary2
|
|
38
|
-
},
|
|
39
|
-
children: "FLUX-".concat(userId, "-").concat(subscriptionId)
|
|
40
|
-
})
|
|
41
|
-
]
|
|
42
|
-
})
|
|
43
|
-
]
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
|
-
export default Header;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/Header.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAEtD,OAAO,QAAQ,MAAM,8BAA8B,CAAA;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAS9C,MAAM,MAAM,GAAc,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,EAAE;IAChE,OAAO,CACN,MAAC,IAAI,IACJ,KAAK,QACL,KAAK,EAAE;YACN,aAAa,EAAE,KAAK;YACpB,cAAc,EAAE,eAAe;YAC/B,UAAU,EAAE,QAAQ;YACpB,aAAa,EAAE,EAAE;YACjB,mCAAmC;YACnC,SAAS,EAAE,EAAE;SACb,aAED,KAAC,IAAI,IAAC,GAAG,EAAC,uBAAuB,YAChC,KAAC,QAAQ,KAAG,GACN,EACP,MAAC,IAAI,IAAC,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,aAC9D,KAAC,IAAI,IAAC,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,YAAG,MAAM,GAAQ,EACpD,KAAC,IAAI,IACJ,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,QAAQ,EAAE,YAChC,QAAQ,MAAM,IAAI,cAAc,EAAE,GAAQ,IACtC,IACD,CACP,CAAA;AACF,CAAC,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Text, View } from '@react-pdf/renderer';
|
|
3
|
-
var LabelValue = function LabelValue(param) {
|
|
4
|
-
var label = param.label, value = param.value;
|
|
5
|
-
return /*#__PURE__*/ _jsxs(View, {
|
|
6
|
-
style: {
|
|
7
|
-
flexDirection: 'row'
|
|
8
|
-
},
|
|
9
|
-
children: [
|
|
10
|
-
/*#__PURE__*/ _jsx(Text, {
|
|
11
|
-
style: {
|
|
12
|
-
minWidth: 120,
|
|
13
|
-
textTransform: 'capitalize'
|
|
14
|
-
},
|
|
15
|
-
children: label
|
|
16
|
-
}),
|
|
17
|
-
/*#__PURE__*/ _jsx(Text, {
|
|
18
|
-
children: ':'
|
|
19
|
-
}),
|
|
20
|
-
/*#__PURE__*/ _jsx(Text, {
|
|
21
|
-
style: {
|
|
22
|
-
paddingLeft: 16
|
|
23
|
-
},
|
|
24
|
-
children: value ? "".concat(value) : '-'
|
|
25
|
-
})
|
|
26
|
-
]
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
export default LabelValue;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LabelValue.js","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/LabelValue.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAQhD,MAAM,UAAU,GAAc,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IAClD,OAAO,CACN,MAAC,IAAI,IAAC,KAAK,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,aACpC,KAAC,IAAI,IAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,aAAa,EAAE,YAAY,EAAE,YACzD,KAAK,GACA,EACP,KAAC,IAAI,cAAE,GAAG,GAAQ,EAClB,KAAC,IAAI,IAAC,KAAK,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,YAAG,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,GAAG,GAAQ,IAC7D,CACP,CAAA;AACF,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { FC, PropsWithChildren } from 'react';
|
|
2
|
-
import type { SubscriptionAgreementTranslation } from './translations.js';
|
|
3
|
-
type Props = {
|
|
4
|
-
t: SubscriptionAgreementTranslation;
|
|
5
|
-
userId: string;
|
|
6
|
-
subscriptionId: string;
|
|
7
|
-
};
|
|
8
|
-
declare const SubscriptionAgreementPage: FC<PropsWithChildren<Props>>;
|
|
9
|
-
export default SubscriptionAgreementPage;
|
|
10
|
-
//# sourceMappingURL=SubscriptionAgreementPage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,33 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { View } from '@react-pdf/renderer';
|
|
3
|
-
import StandardPage from '../../components/StandardPage.js';
|
|
4
|
-
import Footer from './Footer.js';
|
|
5
|
-
import Header from './Header.js';
|
|
6
|
-
var SubscriptionAgreementPage = function SubscriptionAgreementPage(param) {
|
|
7
|
-
var t = param.t, userId = param.userId, subscriptionId = param.subscriptionId, children = param.children;
|
|
8
|
-
return /*#__PURE__*/ _jsxs(StandardPage, {
|
|
9
|
-
style: {
|
|
10
|
-
padding: 40,
|
|
11
|
-
fontSize: 10
|
|
12
|
-
},
|
|
13
|
-
children: [
|
|
14
|
-
/*#__PURE__*/ _jsx(Header, {
|
|
15
|
-
tTitle: t.title,
|
|
16
|
-
userId: userId,
|
|
17
|
-
subscriptionId: subscriptionId
|
|
18
|
-
}),
|
|
19
|
-
/*#__PURE__*/ _jsx(View, {
|
|
20
|
-
style: {
|
|
21
|
-
flex: 1
|
|
22
|
-
},
|
|
23
|
-
children: children
|
|
24
|
-
}),
|
|
25
|
-
/*#__PURE__*/ _jsx(Footer, {
|
|
26
|
-
tComputerGenerated: t.computerGenerated,
|
|
27
|
-
tPage: t.page,
|
|
28
|
-
tOf: t.of
|
|
29
|
-
})
|
|
30
|
-
]
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
export default SubscriptionAgreementPage;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionAgreementPage.js","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/SubscriptionAgreementPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAE1C,OAAO,YAAY,MAAM,kCAAkC,CAAA;AAC3D,OAAO,MAAM,MAAM,aAAa,CAAA;AAChC,OAAO,MAAM,MAAM,aAAa,CAAA;AAShC,MAAM,yBAAyB,GAAiC,CAAC,EAChE,CAAC,EACD,MAAM,EACN,cAAc,EACd,QAAQ,GACR,EAAE,EAAE;IACJ,OAAO,CACN,MAAC,YAAY,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,aACjD,KAAC,MAAM,IACN,MAAM,EAAE,CAAC,CAAC,KAAK,EACf,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,cAAc,GAC7B,EACF,KAAC,IAAI,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,YAAG,QAAQ,GAAQ,EAC3C,KAAC,MAAM,IACN,kBAAkB,EAAE,CAAC,CAAC,iBAAiB,EACvC,KAAK,EAAE,CAAC,CAAC,IAAI,EACb,GAAG,EAAE,CAAC,CAAC,EAAE,GACR,IACY,CACf,CAAA;AACF,CAAC,CAAA;AAED,eAAe,yBAAyB,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { TermsOfUseSettings } from '@driveflux/db/types/helpers';
|
|
2
|
-
import type { FC } from 'react';
|
|
3
|
-
type Props = {
|
|
4
|
-
termsOfUse: TermsOfUseSettings;
|
|
5
|
-
};
|
|
6
|
-
declare const TermsOfUse: FC<Props>;
|
|
7
|
-
export default TermsOfUse;
|
|
8
|
-
//# sourceMappingURL=TermsOfUse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TermsOfUse.d.ts","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/TermsOfUse.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,kBAAkB,EAClB,MAAM,6BAA6B,CAAA;AAEpC,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,KAAK,KAAK,GAAG;IACZ,UAAU,EAAE,kBAAkB,CAAA;CAC9B,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,KAAK,CAoCzB,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
function _array_like_to_array(arr, len) {
|
|
2
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
3
|
-
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
4
|
-
return arr2;
|
|
5
|
-
}
|
|
6
|
-
function _array_without_holes(arr) {
|
|
7
|
-
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
8
|
-
}
|
|
9
|
-
function _iterable_to_array(iter) {
|
|
10
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
11
|
-
}
|
|
12
|
-
function _non_iterable_spread() {
|
|
13
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14
|
-
}
|
|
15
|
-
function _to_consumable_array(arr) {
|
|
16
|
-
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
17
|
-
}
|
|
18
|
-
function _unsupported_iterable_to_array(o, minLen) {
|
|
19
|
-
if (!o) return;
|
|
20
|
-
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
21
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
22
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
23
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
24
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
25
|
-
}
|
|
26
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
27
|
-
import { Text, View } from '@react-pdf/renderer';
|
|
28
|
-
import { renderMarkdown } from './utils.js';
|
|
29
|
-
var TermsOfUse = function TermsOfUse(param) {
|
|
30
|
-
var termsOfUse = param.termsOfUse;
|
|
31
|
-
var getTerms = function getTerms1(items) {
|
|
32
|
-
var indices = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
33
|
-
return items.map(function(item, i) {
|
|
34
|
-
var _item_items;
|
|
35
|
-
var currentIndices = _to_consumable_array(indices).concat([
|
|
36
|
-
i + 1
|
|
37
|
-
]);
|
|
38
|
-
var indicesString = currentIndices.join('.');
|
|
39
|
-
return /*#__PURE__*/ _jsxs(View, {
|
|
40
|
-
style: {
|
|
41
|
-
rowGap: 16
|
|
42
|
-
},
|
|
43
|
-
children: [
|
|
44
|
-
item.content && /*#__PURE__*/ _jsxs(View, {
|
|
45
|
-
style: {
|
|
46
|
-
flexDirection: 'row',
|
|
47
|
-
columnGap: 16
|
|
48
|
-
},
|
|
49
|
-
children: [
|
|
50
|
-
/*#__PURE__*/ _jsx(Text, {
|
|
51
|
-
style: {
|
|
52
|
-
fontWeight: 'bold'
|
|
53
|
-
},
|
|
54
|
-
children: indicesString
|
|
55
|
-
}),
|
|
56
|
-
/*#__PURE__*/ _jsxs(Text, {
|
|
57
|
-
style: {
|
|
58
|
-
textAlign: 'justify',
|
|
59
|
-
flex: 1
|
|
60
|
-
},
|
|
61
|
-
children: [
|
|
62
|
-
renderMarkdown(item.content),
|
|
63
|
-
' '
|
|
64
|
-
]
|
|
65
|
-
})
|
|
66
|
-
]
|
|
67
|
-
}),
|
|
68
|
-
((_item_items = item.items) === null || _item_items === void 0 ? void 0 : _item_items.length) > 0 && /*#__PURE__*/ _jsx(View, {
|
|
69
|
-
style: {
|
|
70
|
-
paddingLeft: 16,
|
|
71
|
-
rowGap: 16
|
|
72
|
-
},
|
|
73
|
-
children: getTerms(item.items, currentIndices)
|
|
74
|
-
})
|
|
75
|
-
]
|
|
76
|
-
}, indicesString);
|
|
77
|
-
});
|
|
78
|
-
};
|
|
79
|
-
return /*#__PURE__*/ _jsxs(View, {
|
|
80
|
-
style: {
|
|
81
|
-
rowGap: 16
|
|
82
|
-
},
|
|
83
|
-
children: [
|
|
84
|
-
/*#__PURE__*/ _jsx(Text, {
|
|
85
|
-
style: {
|
|
86
|
-
fontWeight: 'bold',
|
|
87
|
-
textTransform: 'uppercase'
|
|
88
|
-
},
|
|
89
|
-
children: 'Terms of Use'
|
|
90
|
-
}),
|
|
91
|
-
/*#__PURE__*/ _jsx(View, {
|
|
92
|
-
style: {
|
|
93
|
-
rowGap: 16,
|
|
94
|
-
lineHeight: 1.4
|
|
95
|
-
},
|
|
96
|
-
children: getTerms(termsOfUse.items)
|
|
97
|
-
})
|
|
98
|
-
]
|
|
99
|
-
});
|
|
100
|
-
};
|
|
101
|
-
export default TermsOfUse;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TermsOfUse.js","sourceRoot":"","sources":["../../../src/templates/SubscriptionAgreement/TermsOfUse.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAEhD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAM3C,MAAM,UAAU,GAAc,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE;IAChD,MAAM,QAAQ,GAAG,CAAC,KAAuB,EAAE,UAAoB,EAAE,EAAE,EAAE;QACpE,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE;YAC5B,MAAM,cAAc,GAAG,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;YAC1C,MAAM,aAAa,GAAG,cAAc,CAAC,IAAI,CAAC,G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paragraph: string;
|
|
4
|
-
subSections: TermsOfUseSubSectionType[];
|
|
5
|
-
};
|
|
6
|
-
type Props = {
|
|
7
|
-
indices: number[];
|
|
8
|
-
subSection: TermsOfUseSubSectionType;
|
|
9
|
-
};
|
|
10
|
-
declare const TermsOfUseSubSection: FC<Props>;
|
|
11
|
-
export default TermsOfUseSubSection;
|
|
12
|
-
//# sourceMappingURL=TermsOfUseSubSection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;AAI/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,CA8CnC,CAAA;AAED,eAAe,oBAAoB,CAAA"}
|