@loczer/storefront-sdk 0.224.0 → 0.226.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ContractSaleDocument/DocumentAcceptanceSection.d.ts +2 -1
- package/dist/components/ContractSaleDocument/DocumentAcceptanceSection.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/DocumentAcceptanceSection.js +27 -27
- package/dist/components/ContractSaleDocument/Invoice.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/Invoice.js +6 -3
- package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts +2 -1
- package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/InvoiceDetails.js +111 -106
- package/dist/components/ContractSaleDocument/PageFooter.d.ts +2 -1
- package/dist/components/ContractSaleDocument/PageFooter.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/PageFooter.js +10 -9
- package/dist/components/ContractSaleDocument/PageHeader.d.ts +2 -1
- package/dist/components/ContractSaleDocument/PageHeader.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/PageHeader.js +10 -9
- package/dist/i18n/fr.js +2 -2
- package/dist/storefront.css +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,8 @@ type PageHeaderProps = {
|
|
|
5
5
|
currentPage: number;
|
|
6
6
|
totalPages: number;
|
|
7
7
|
documentLanguage: ContractSaleDocumentLanguage;
|
|
8
|
+
compact?: boolean;
|
|
8
9
|
};
|
|
9
|
-
export declare function PageHeader({ documentTitle, saleDocumentNumber, currentPage, totalPages, documentLanguage, }: PageHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function PageHeader({ documentTitle, saleDocumentNumber, currentPage, totalPages, documentLanguage, compact, }: PageHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|
|
11
12
|
//# sourceMappingURL=PageHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/PageHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/PageHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAIlF,KAAK,eAAe,GAAG;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,wBAAgB,UAAU,CAAC,EACzB,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,OAAe,GAChB,EAAE,eAAe,2CAsBjB"}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { formatContractSaleDocumentLegalLabel as e } from "./language.js";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
3
|
import { useTranslation as r } from "react-i18next";
|
|
4
|
+
import { cn as i } from "@rpcbase/ui";
|
|
4
5
|
//#region src/components/ContractSaleDocument/PageHeader.tsx
|
|
5
|
-
function
|
|
6
|
-
let { t:
|
|
7
|
-
current_page:
|
|
8
|
-
total_pages:
|
|
6
|
+
function a({ documentTitle: a, saleDocumentNumber: o, currentPage: s, totalPages: c, documentLanguage: l, compact: u = !1 }) {
|
|
7
|
+
let { t: d } = r(), f = e(d, l, "docs_contract_sale_page_counter", {
|
|
8
|
+
current_page: s,
|
|
9
|
+
total_pages: c
|
|
9
10
|
});
|
|
10
11
|
return /* @__PURE__ */ n("div", {
|
|
11
|
-
className: "sticky top-0 z-10
|
|
12
|
+
className: i("sticky top-0 z-10 flex items-center justify-between border-b border-border bg-card/95 px-4 text-sm text-muted-foreground backdrop-blur md:px-8", u ? "mb-4 py-3" : "mb-8 pb-4 pt-4"),
|
|
12
13
|
children: [/* @__PURE__ */ n("span", { children: [
|
|
13
|
-
|
|
14
|
+
a,
|
|
14
15
|
" #",
|
|
15
|
-
|
|
16
|
-
] }),
|
|
16
|
+
o
|
|
17
|
+
] }), c > 1 && /* @__PURE__ */ t("span", { children: f })]
|
|
17
18
|
});
|
|
18
19
|
}
|
|
19
20
|
//#endregion
|
|
20
|
-
export {
|
|
21
|
+
export { a as PageHeader };
|
package/dist/i18n/fr.js
CHANGED
|
@@ -325,8 +325,8 @@ var e = {
|
|
|
325
325
|
docs_contract_sale_action_signature_locked: "Faites défiler jusqu'en bas pour signer",
|
|
326
326
|
docs_contract_sale_action_acceptance_ready: "Accepter le document",
|
|
327
327
|
docs_contract_sale_action_acceptance_locked: "Faites défiler jusqu'en bas pour accepter",
|
|
328
|
-
docs_contract_sale_already_signed: "Vous avez
|
|
329
|
-
docs_contract_sale_already_accepted: "Vous avez
|
|
328
|
+
docs_contract_sale_already_signed: "Vous avez signé ce document. Signature enregistrée le {{date}}",
|
|
329
|
+
docs_contract_sale_already_accepted: "Vous avez accepté ce document. Acceptation enregistrée le {{date}}",
|
|
330
330
|
docs_contract_sale_end: "Vous avez atteint la fin de ce document.",
|
|
331
331
|
docs_contract_sale_acceptance_modal_title: "Accepter le document",
|
|
332
332
|
docs_contract_sale_acceptance_modal_description: "Je reconnais avoir lu ce document et en accepter les conditions.",
|