patronet-pdf-generator 1.0.8 → 1.0.9

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.
@@ -1,3 +1,3 @@
1
1
  import { OfferPDfType } from "./types";
2
- export declare function OfferPDf({ data, type, pdfDate, user, footerDetails, isDefaultFooterDetails, }: OfferPDfType): import("react/jsx-runtime").JSX.Element;
2
+ export declare function OfferPDf({ data, type, pdfDate, user, footerDetails, isDefaultFooterDetails, logo, }: OfferPDfType): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/template/offer-pdf/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,IAAc,EACd,OAAO,EACP,IAAI,EACJ,aAAa,EACb,sBAAsB,GACvB,EAAE,YAAY,2CAiCd"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/template/offer-pdf/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,IAAc,EACd,OAAO,EACP,IAAI,EACJ,aAAa,EACb,sBAAsB,EACtB,IAAI,GACL,EAAE,YAAY,2CAyCd"}
@@ -1,3 +1,3 @@
1
1
  import { headerType } from "../types";
2
- export declare const Header: ({ type, pdfDate, user }: headerType) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Header: ({ type, logo, pdfDate, user }: headerType) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=header.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/offer-pdf/offer-pdf-component/header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAMtC,eAAO,MAAM,MAAM,GAAI,yBAAyB,UAAU,4CAkFzD,CAAC"}
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/offer-pdf/offer-pdf-component/header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAMtC,eAAO,MAAM,MAAM,GAAI,+BAA+B,UAAU,4CAsF/D,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { NoteOfferType } from "../types";
2
- export declare const NotesOffer: ({ products, isProformaType, commercialNotesValue, technicalNotes, additionalNotes, }: NoteOfferType) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const NotesOffer: ({ products, isProformaType, commercialNotesValue, technicalNotes, additionalNotes, accessShowPartPDf, }: NoteOfferType) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=notes-offers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"notes-offers.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/offer-pdf/offer-pdf-component/notes-offers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAuB,MAAM,UAAU,CAAC;AAc9D,eAAO,MAAM,UAAU,GAAI,sFAMxB,aAAa,4CAkEf,CAAC"}
1
+ {"version":3,"file":"notes-offers.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/offer-pdf/offer-pdf-component/notes-offers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAuB,MAAM,UAAU,CAAC;AAc9D,eAAO,MAAM,UAAU,GAAI,yGAOxB,aAAa,4CA+Df,CAAC"}
@@ -193,6 +193,12 @@ export declare const styles: {
193
193
  height: number;
194
194
  objectFit: string;
195
195
  };
196
+ contactTextBox: {
197
+ height: string;
198
+ flexDirection: "column";
199
+ justifyContent: "center";
200
+ alignItems: "center";
201
+ };
196
202
  contactText: {
197
203
  flexDirection: "row";
198
204
  justifyContent: "flex-start";
@@ -1 +1 @@
1
- {"version":3,"file":"pdf-styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/offer-pdf/offer-pdf-component/pdf-styles.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6MjB,CAAC"}
1
+ {"version":3,"file":"pdf-styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/offer-pdf/offer-pdf-component/pdf-styles.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmNjB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { TableOfferDetailsType } from "../types";
2
- export declare const TableOfferDetails: ({ products, isProformaType, }: TableOfferDetailsType) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const TableOfferDetails: ({ products, accessShowPartPDf, isProformaType, }: TableOfferDetailsType) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=table-offer-details.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"table-offer-details.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/offer-pdf/offer-pdf-component/table-offer-details.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AA6FjD,eAAO,MAAM,iBAAiB,GAAI,+BAG/B,qBAAqB,4CA2LvB,CAAC"}
1
+ {"version":3,"file":"table-offer-details.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/offer-pdf/offer-pdf-component/table-offer-details.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAsGjD,eAAO,MAAM,iBAAiB,GAAI,kDAI/B,qBAAqB,4CAwMvB,CAAC"}
@@ -4,6 +4,7 @@ export interface headerType {
4
4
  type: typeOfPdfProps;
5
5
  pdfDate?: string;
6
6
  user?: userDetails;
7
+ logo?: string;
7
8
  }
8
9
  export interface OfferPDfType {
9
10
  type: typeOfPdfProps;
@@ -12,18 +13,27 @@ export interface OfferPDfType {
12
13
  user?: userDetails;
13
14
  footerDetails?: footerDetailsTextType;
14
15
  isDefaultFooterDetails?: boolean;
16
+ logo?: string;
15
17
  }
16
18
  export interface TableOfferDetailsType {
17
19
  products?: ProductPDfType[];
20
+ accessShowPartPDf?: accessShowPartPDfType;
18
21
  isProformaType?: boolean;
19
22
  }
20
23
  export interface OfferPpfDataType {
21
24
  products?: ProductPDfType[];
25
+ accessShowPartPDf?: accessShowPartPDfType;
22
26
  commercialNotesValue?: commercialPropsType[];
23
27
  technicalNotes?: string;
24
28
  additionalNotes?: string;
25
29
  comments?: string;
26
30
  }
31
+ export interface accessShowPartPDfType {
32
+ isShowDetails?: boolean;
33
+ isShowAttributes?: boolean;
34
+ isShowAdditionalNotes?: boolean;
35
+ isIncludeVAT?: boolean;
36
+ }
27
37
  export interface NoteOfferType extends OfferPpfDataType {
28
38
  isProformaType?: boolean;
29
39
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/offer-pdf/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,UAAU,CAAC;AA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W,kBAAkB;IACjC,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AACD,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAClC,KAAK,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACpD,GAAG,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACnD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/offer-pdf/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,UAAU,CAAC;AAClD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,cAAc,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,cAAc,CAAC;IACrB,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;IAC5B,iBAAiB,CAAC,EAAE,qBAAqB,CAAC;IAC1C,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AACD,MAAM,WAAW,gBAAgB;IAC/B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AC;IACpD,GAAG,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACnD"}
@@ -1,3 +1,3 @@
1
- import { ProductPdfTypes } from '../types';
2
- export declare const Header: ({ productImage, logo, naming, coding }: ProductPdfTypes) => import("react/jsx-runtime").JSX.Element;
1
+ import { ProductPdfTypes } from "../types";
2
+ export declare const Header: ({ productImage, logo, naming, coding, }: ProductPdfTypes) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=header.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/variant-pdf/variant-pdf-component/header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI3C,eAAO,MAAM,MAAM,GAAI,wCAAwC,eAAe,4CAwB7E,CAAC"}
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/variant-pdf/variant-pdf-component/header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAK3C,eAAO,MAAM,MAAM,GAAI,yCAKpB,eAAe,4CA8BjB,CAAC"}
Binary file
Binary file