@happyvertical/smrt-commerce 0.53.4 → 0.53.6
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/AGENTS.md +19 -3
- package/README.md +29 -1
- package/agents/commercial-ui.md +78 -0
- package/agents/customer-vendor-ui.md +76 -0
- package/agents/invoice-calculations.md +17 -0
- package/agents/invoice-preparation.md +86 -0
- package/agents/invoice-quantity.md +46 -0
- package/agents/pricing-versions.md +28 -0
- package/agents/purchasing-ui.md +82 -0
- package/agents/quote-ui.md +82 -0
- package/dist/billing/units.d.ts +1 -7
- package/dist/billing/units.d.ts.map +1 -1
- package/dist/chunks/calculations-DPuldr1J.js +242 -0
- package/dist/chunks/calculations-DPuldr1J.js.map +1 -0
- package/dist/chunks/types-CRnln577.js.map +1 -1
- package/dist/chunks/{units-CpBepqG1.js → units-CJcAOQm1.js} +3 -39
- package/dist/chunks/units-CJcAOQm1.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +164 -44
- package/dist/index.js.map +1 -1
- package/dist/invoices.d.ts +3 -0
- package/dist/invoices.d.ts.map +1 -0
- package/dist/invoices.js +2 -0
- package/dist/manifest.json +66 -8
- package/dist/migrations/invoiceEditorStorage.d.ts +39 -0
- package/dist/migrations/invoiceEditorStorage.d.ts.map +1 -0
- package/dist/models/ContractLineItem.d.ts +1 -1
- package/dist/models/InvoiceLineItem.d.ts +18 -36
- package/dist/models/InvoiceLineItem.d.ts.map +1 -1
- package/dist/playground.js +201 -3
- package/dist/playground.js.map +1 -1
- package/dist/smrt-knowledge.json +109 -7
- package/dist/svelte/components/CustomerDetail.svelte +150 -0
- package/dist/svelte/components/CustomerDetail.svelte.d.ts +28 -0
- package/dist/svelte/components/CustomerDetail.svelte.d.ts.map +1 -0
- package/dist/svelte/components/CustomerDirectory.svelte +177 -0
- package/dist/svelte/components/CustomerDirectory.svelte.d.ts +42 -0
- package/dist/svelte/components/CustomerDirectory.svelte.d.ts.map +1 -0
- package/dist/svelte/components/CustomerForm.svelte +234 -0
- package/dist/svelte/components/CustomerForm.svelte.d.ts +44 -0
- package/dist/svelte/components/CustomerForm.svelte.d.ts.map +1 -0
- package/dist/svelte/components/InvoiceAllocationFields.svelte +72 -0
- package/dist/svelte/components/InvoiceAllocationFields.svelte.d.ts +8 -0
- package/dist/svelte/components/InvoiceAllocationFields.svelte.d.ts.map +1 -0
- package/dist/svelte/components/InvoiceCard.svelte +2 -2
- package/dist/svelte/components/InvoiceEditor.svelte +134 -0
- package/dist/svelte/components/InvoiceEditor.svelte.d.ts +8 -0
- package/dist/svelte/components/InvoiceEditor.svelte.d.ts.map +1 -0
- package/dist/svelte/components/InvoiceLineEditor.svelte +85 -0
- package/dist/svelte/components/InvoiceLineEditor.svelte.d.ts +8 -0
- package/dist/svelte/components/InvoiceLineEditor.svelte.d.ts.map +1 -0
- package/dist/svelte/components/InvoiceReview.svelte +23 -0
- package/dist/svelte/components/InvoiceReview.svelte.d.ts +10 -0
- package/dist/svelte/components/InvoiceReview.svelte.d.ts.map +1 -0
- package/dist/svelte/components/PartyAddressFields.svelte +95 -0
- package/dist/svelte/components/PartyAddressFields.svelte.d.ts +25 -0
- package/dist/svelte/components/PartyAddressFields.svelte.d.ts.map +1 -0
- package/dist/svelte/components/PartyContactFields.svelte +153 -0
- package/dist/svelte/components/PartyContactFields.svelte.d.ts +28 -0
- package/dist/svelte/components/PartyContactFields.svelte.d.ts.map +1 -0
- package/dist/svelte/components/PricingVersionDecision.svelte +88 -0
- package/dist/svelte/components/PricingVersionDecision.svelte.d.ts +35 -0
- package/dist/svelte/components/PricingVersionDecision.svelte.d.ts.map +1 -0
- package/dist/svelte/components/PricingVersionSummary.svelte +46 -0
- package/dist/svelte/components/PricingVersionSummary.svelte.d.ts +9 -0
- package/dist/svelte/components/PricingVersionSummary.svelte.d.ts.map +1 -0
- package/dist/svelte/components/PurchaseOrderEditor.svelte +210 -0
- package/dist/svelte/components/PurchaseOrderEditor.svelte.d.ts +79 -0
- package/dist/svelte/components/PurchaseOrderEditor.svelte.d.ts.map +1 -0
- package/dist/svelte/components/PurchaseSourceSelector.svelte +56 -0
- package/dist/svelte/components/PurchaseSourceSelector.svelte.d.ts +30 -0
- package/dist/svelte/components/PurchaseSourceSelector.svelte.d.ts.map +1 -0
- package/dist/svelte/components/PurchasingPlayground.svelte +133 -0
- package/dist/svelte/components/PurchasingPlayground.svelte.d.ts +9 -0
- package/dist/svelte/components/PurchasingPlayground.svelte.d.ts.map +1 -0
- package/dist/svelte/components/QuoteEditor.svelte +177 -0
- package/dist/svelte/components/QuoteEditor.svelte.d.ts +76 -0
- package/dist/svelte/components/QuoteEditor.svelte.d.ts.map +1 -0
- package/dist/svelte/components/QuotePlayground.svelte +108 -0
- package/dist/svelte/components/QuotePlayground.svelte.d.ts +10 -0
- package/dist/svelte/components/QuotePlayground.svelte.d.ts.map +1 -0
- package/dist/svelte/components/QuoteRevisionComparison.svelte +44 -0
- package/dist/svelte/components/QuoteRevisionComparison.svelte.d.ts +14 -0
- package/dist/svelte/components/QuoteRevisionComparison.svelte.d.ts.map +1 -0
- package/dist/svelte/components/QuoteRevisionHistory.svelte +55 -0
- package/dist/svelte/components/QuoteRevisionHistory.svelte.d.ts +15 -0
- package/dist/svelte/components/QuoteRevisionHistory.svelte.d.ts.map +1 -0
- package/dist/svelte/components/VendorDetail.svelte +134 -0
- package/dist/svelte/components/VendorDetail.svelte.d.ts +26 -0
- package/dist/svelte/components/VendorDetail.svelte.d.ts.map +1 -0
- package/dist/svelte/components/VendorDirectory.svelte +178 -0
- package/dist/svelte/components/VendorDirectory.svelte.d.ts +42 -0
- package/dist/svelte/components/VendorDirectory.svelte.d.ts.map +1 -0
- package/dist/svelte/components/VendorForm.svelte +224 -0
- package/dist/svelte/components/VendorForm.svelte.d.ts +42 -0
- package/dist/svelte/components/VendorForm.svelte.d.ts.map +1 -0
- package/dist/svelte/i18n.d.ts +102 -0
- package/dist/svelte/i18n.d.ts.map +1 -1
- package/dist/svelte/i18n.js +102 -0
- package/dist/svelte/index.d.ts +52 -0
- package/dist/svelte/index.d.ts.map +1 -1
- package/dist/svelte/index.js +49 -0
- package/dist/svelte/invoices/calculations.d.ts +121 -0
- package/dist/svelte/invoices/calculations.d.ts.map +1 -0
- package/dist/svelte/invoices/calculations.js +259 -0
- package/dist/svelte/invoices/currency.d.ts +9 -0
- package/dist/svelte/invoices/currency.d.ts.map +1 -0
- package/dist/svelte/invoices/currency.js +55 -0
- package/dist/svelte/invoices/fields.d.ts +6 -0
- package/dist/svelte/invoices/fields.d.ts.map +1 -0
- package/dist/svelte/invoices/fields.js +22 -0
- package/dist/svelte/invoices/messages.d.ts +53 -0
- package/dist/svelte/invoices/messages.d.ts.map +1 -0
- package/dist/svelte/invoices/messages.js +53 -0
- package/dist/svelte/invoices/types.d.ts +194 -0
- package/dist/svelte/invoices/types.d.ts.map +1 -0
- package/dist/svelte/invoices/types.js +1 -0
- package/dist/svelte/party-types.d.ts +203 -0
- package/dist/svelte/party-types.d.ts.map +1 -0
- package/dist/svelte/party-types.js +82 -0
- package/dist/svelte/playground/InvoicePreparationPreview.svelte +116 -0
- package/dist/svelte/playground/InvoicePreparationPreview.svelte.d.ts +4 -0
- package/dist/svelte/playground/InvoicePreparationPreview.svelte.d.ts.map +1 -0
- package/dist/svelte/playground/PartyFormPreview.svelte +211 -0
- package/dist/svelte/playground/PartyFormPreview.svelte.d.ts +8 -0
- package/dist/svelte/playground/PartyFormPreview.svelte.d.ts.map +1 -0
- package/dist/svelte/playground/PricingVersionPreview.svelte +55 -0
- package/dist/svelte/playground/PricingVersionPreview.svelte.d.ts +4 -0
- package/dist/svelte/playground/PricingVersionPreview.svelte.d.ts.map +1 -0
- package/dist/svelte/playground.d.ts +442 -3
- package/dist/svelte/playground.d.ts.map +1 -1
- package/dist/svelte/playground.js +199 -3
- package/dist/svelte/pricing-i18n.d.ts +10 -0
- package/dist/svelte/pricing-i18n.d.ts.map +1 -0
- package/dist/svelte/pricing-i18n.js +10 -0
- package/dist/svelte/pricing-types.d.ts +38 -0
- package/dist/svelte/pricing-types.d.ts.map +1 -0
- package/dist/svelte/pricing-types.js +1 -0
- package/dist/svelte/purchasing-i18n.d.ts +53 -0
- package/dist/svelte/purchasing-i18n.d.ts.map +1 -0
- package/dist/svelte/purchasing-i18n.js +53 -0
- package/dist/svelte/purchasing-types.d.ts +91 -0
- package/dist/svelte/purchasing-types.d.ts.map +1 -0
- package/dist/svelte/purchasing-types.js +13 -0
- package/dist/svelte/quote-i18n.d.ts +49 -0
- package/dist/svelte/quote-i18n.d.ts.map +1 -0
- package/dist/svelte/quote-i18n.js +49 -0
- package/dist/svelte/quote-types.d.ts +81 -0
- package/dist/svelte/quote-types.d.ts.map +1 -0
- package/dist/svelte/quote-types.js +51 -0
- package/dist/types/index.d.ts +13 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/ui.d.ts.map +1 -1
- package/dist/ui.js +150 -6
- package/dist/ui.js.map +1 -1
- package/package.json +25 -13
- package/dist/chunks/units-CpBepqG1.js.map +0 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { CodeSelectOption } from '@happyvertical/smrt-ui/forms';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
import type { PartyContactLabels, PartyExtension, PartyFormErrors, PartyFormTransport, PartySurfaceLabels, VendorFieldNames, VendorFormValues } from '../party-types.js';
|
|
4
|
+
/** Props for the native, SSR-safe vendor create/edit form. */
|
|
5
|
+
export interface Props {
|
|
6
|
+
/** Selects create or edit copy and identity-lock defaults. */
|
|
7
|
+
mode?: 'create' | 'edit';
|
|
8
|
+
/** Exact vendor values to render, including server-retained strings. */
|
|
9
|
+
values?: VendorFormValues;
|
|
10
|
+
/** Caller-owned native form action, method, tokens, and submitter intents. */
|
|
11
|
+
transport?: PartyFormTransport;
|
|
12
|
+
/** HTML field-name overrides used to preserve an existing payload contract. */
|
|
13
|
+
fieldNames?: Partial<VendorFieldNames>;
|
|
14
|
+
/** Form, field, and contact errors returned by the server. */
|
|
15
|
+
errors?: PartyFormErrors;
|
|
16
|
+
/** Vendor terminology and action-label overrides. */
|
|
17
|
+
labels?: PartySurfaceLabels;
|
|
18
|
+
/** Contact terminology overrides. */
|
|
19
|
+
contactLabels?: PartyContactLabels;
|
|
20
|
+
/** Caller-restricted currency choices; omitted uses the shared ISO defaults. */
|
|
21
|
+
currencyOptions?: readonly CodeSelectOption[];
|
|
22
|
+
/** Renders values without mutation affordances. */
|
|
23
|
+
readOnly?: boolean;
|
|
24
|
+
/** Controls whether the save submitter is presented. */
|
|
25
|
+
canSubmit?: boolean;
|
|
26
|
+
/** Controls whether the native add-contact submitter is presented. */
|
|
27
|
+
canAddContact?: boolean;
|
|
28
|
+
/** Controls whether native remove-contact submitters are presented. */
|
|
29
|
+
canRemoveContact?: boolean;
|
|
30
|
+
/** Keeps an established Profile identity category from being converted. */
|
|
31
|
+
lockIdentityKind?: boolean;
|
|
32
|
+
/** Caller-owned URL used by the default cancel action. */
|
|
33
|
+
cancelHref?: string;
|
|
34
|
+
/** Consumer fields rendered before the action bar. */
|
|
35
|
+
extension?: PartyExtension<VendorFormValues>;
|
|
36
|
+
/** Replaces the default cancel and save action bar. */
|
|
37
|
+
actions?: Snippet;
|
|
38
|
+
}
|
|
39
|
+
declare const VendorForm: import("svelte").Component<Props, {}, "">;
|
|
40
|
+
type VendorForm = ReturnType<typeof VendorForm>;
|
|
41
|
+
export default VendorForm;
|
|
42
|
+
//# sourceMappingURL=VendorForm.svelte.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VendorForm.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/components/VendorForm.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAarE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,KAAK,EACV,kBAAk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 +1,106 @@
|
|
|
1
1
|
export declare const M: {
|
|
2
|
+
readonly 'commerce.party.identity': "commerce.party.identity";
|
|
3
|
+
readonly 'commerce.party.identity_business': "commerce.party.identity_business";
|
|
4
|
+
readonly 'commerce.party.identity_person': "commerce.party.identity_person";
|
|
5
|
+
readonly 'commerce.party.select_identity': "commerce.party.select_identity";
|
|
6
|
+
readonly 'commerce.party.profile_email': "commerce.party.profile_email";
|
|
7
|
+
readonly 'commerce.party.description': "commerce.party.description";
|
|
8
|
+
readonly 'commerce.party.status': "commerce.party.status";
|
|
9
|
+
readonly 'commerce.party.status_all': "commerce.party.status_all";
|
|
10
|
+
readonly 'commerce.party.status_active': "commerce.party.status_active";
|
|
11
|
+
readonly 'commerce.party.status_inactive': "commerce.party.status_inactive";
|
|
12
|
+
readonly 'commerce.party.status_suspended': "commerce.party.status_suspended";
|
|
13
|
+
readonly 'commerce.party.type': "commerce.party.type";
|
|
14
|
+
readonly 'commerce.party.email': "commerce.party.email";
|
|
15
|
+
readonly 'commerce.party.phone': "commerce.party.phone";
|
|
16
|
+
readonly 'commerce.party.notes': "commerce.party.notes";
|
|
17
|
+
readonly 'commerce.party.name': "commerce.party.name";
|
|
18
|
+
readonly 'commerce.party.add_named': "commerce.party.add_named";
|
|
19
|
+
readonly 'commerce.party.edit_named': "commerce.party.edit_named";
|
|
20
|
+
readonly 'commerce.party.save_named': "commerce.party.save_named";
|
|
21
|
+
readonly 'commerce.party.manage_named': "commerce.party.manage_named";
|
|
22
|
+
readonly 'commerce.party.search_named': "commerce.party.search_named";
|
|
23
|
+
readonly 'commerce.party.pagination': "commerce.party.pagination";
|
|
24
|
+
readonly 'commerce.party.commercial_terms': "commerce.party.commercial_terms";
|
|
25
|
+
readonly 'commerce.party.payment_terms': "commerce.party.payment_terms";
|
|
26
|
+
readonly 'commerce.party.internal_notes': "commerce.party.internal_notes";
|
|
27
|
+
readonly 'commerce.party.not_recorded': "commerce.party.not_recorded";
|
|
28
|
+
readonly 'commerce.party.amount_unavailable': "commerce.party.amount_unavailable";
|
|
29
|
+
readonly 'commerce.party.no_contact_details': "commerce.party.no_contact_details";
|
|
30
|
+
readonly 'commerce.party.try_filters': "commerce.party.try_filters";
|
|
31
|
+
readonly 'commerce.party.search': "commerce.party.search";
|
|
32
|
+
readonly 'commerce.party.cancel': "commerce.party.cancel";
|
|
33
|
+
readonly 'commerce.party.previous': "commerce.party.previous";
|
|
34
|
+
readonly 'commerce.party.next': "commerce.party.next";
|
|
35
|
+
readonly 'commerce.party.form_actions': "commerce.party.form_actions";
|
|
36
|
+
readonly 'commerce.party.page': "commerce.party.page";
|
|
37
|
+
readonly 'commerce.party.back_to': "commerce.party.back_to";
|
|
38
|
+
readonly 'commerce.party.showing': "commerce.party.showing";
|
|
39
|
+
readonly 'commerce.party.showing_count': "commerce.party.showing_count";
|
|
40
|
+
readonly 'commerce.party.contacts': "commerce.party.contacts";
|
|
41
|
+
readonly 'commerce.party.no_contacts': "commerce.party.no_contacts";
|
|
42
|
+
readonly 'commerce.party.contact': "commerce.party.contact";
|
|
43
|
+
readonly 'commerce.party.contact_name': "commerce.party.contact_name";
|
|
44
|
+
readonly 'commerce.party.contact_role': "commerce.party.contact_role";
|
|
45
|
+
readonly 'commerce.party.contact_email': "commerce.party.contact_email";
|
|
46
|
+
readonly 'commerce.party.contact_phone': "commerce.party.contact_phone";
|
|
47
|
+
readonly 'commerce.party.contact_address': "commerce.party.contact_address";
|
|
48
|
+
readonly 'commerce.party.add_contact': "commerce.party.add_contact";
|
|
49
|
+
readonly 'commerce.party.remove_contact': "commerce.party.remove_contact";
|
|
50
|
+
readonly 'commerce.party.demo_contact_added': "commerce.party.demo_contact_added";
|
|
51
|
+
readonly 'commerce.party.demo_contact_removed': "commerce.party.demo_contact_removed";
|
|
52
|
+
readonly 'commerce.party.demo_rejected': "commerce.party.demo_rejected";
|
|
53
|
+
readonly 'commerce.party.demo_invalid_amount': "commerce.party.demo_invalid_amount";
|
|
54
|
+
readonly 'commerce.party.shipping_address': "commerce.party.shipping_address";
|
|
55
|
+
readonly 'commerce.party.billing_address': "commerce.party.billing_address";
|
|
56
|
+
readonly 'commerce.party.street_address': "commerce.party.street_address";
|
|
57
|
+
readonly 'commerce.party.address_line_2': "commerce.party.address_line_2";
|
|
58
|
+
readonly 'commerce.party.city': "commerce.party.city";
|
|
59
|
+
readonly 'commerce.party.state': "commerce.party.state";
|
|
60
|
+
readonly 'commerce.party.postal_code': "commerce.party.postal_code";
|
|
61
|
+
readonly 'commerce.party.country': "commerce.party.country";
|
|
62
|
+
readonly 'commerce.party.yes': "commerce.party.yes";
|
|
63
|
+
readonly 'commerce.party.no': "commerce.party.no";
|
|
64
|
+
readonly 'commerce.customer.type': "commerce.customer.type";
|
|
65
|
+
readonly 'commerce.customer.singular': "commerce.customer.singular";
|
|
66
|
+
readonly 'commerce.customer.plural': "commerce.customer.plural";
|
|
67
|
+
readonly 'commerce.customer.add': "commerce.customer.add";
|
|
68
|
+
readonly 'commerce.customer.edit': "commerce.customer.edit";
|
|
69
|
+
readonly 'commerce.customer.save': "commerce.customer.save";
|
|
70
|
+
readonly 'commerce.customer.manage': "commerce.customer.manage";
|
|
71
|
+
readonly 'commerce.customer.search': "commerce.customer.search";
|
|
72
|
+
readonly 'commerce.customer.type_dtc': "commerce.customer.type_dtc";
|
|
73
|
+
readonly 'commerce.customer.type_wholesale': "commerce.customer.type_wholesale";
|
|
74
|
+
readonly 'commerce.customer.type_retail': "commerce.customer.type_retail";
|
|
75
|
+
readonly 'commerce.customer.credit_limit': "commerce.customer.credit_limit";
|
|
76
|
+
readonly 'commerce.customer.credit_limit_hint': "commerce.customer.credit_limit_hint";
|
|
77
|
+
readonly 'commerce.customer.tax_exempt': "commerce.customer.tax_exempt";
|
|
78
|
+
readonly 'commerce.customer.unable_to_load': "commerce.customer.unable_to_load";
|
|
79
|
+
readonly 'commerce.customer.no_results': "commerce.customer.no_results";
|
|
80
|
+
readonly 'commerce.customer.loading': "commerce.customer.loading";
|
|
81
|
+
readonly 'commerce.customer.details': "commerce.customer.details";
|
|
82
|
+
readonly 'commerce.customer.address_shipping': "commerce.customer.address_shipping";
|
|
83
|
+
readonly 'commerce.customer.address_billing': "commerce.customer.address_billing";
|
|
84
|
+
readonly 'commerce.vendor.lead_time': "commerce.vendor.lead_time";
|
|
85
|
+
readonly 'commerce.vendor.singular': "commerce.vendor.singular";
|
|
86
|
+
readonly 'commerce.vendor.plural': "commerce.vendor.plural";
|
|
87
|
+
readonly 'commerce.vendor.add': "commerce.vendor.add";
|
|
88
|
+
readonly 'commerce.vendor.edit': "commerce.vendor.edit";
|
|
89
|
+
readonly 'commerce.vendor.save': "commerce.vendor.save";
|
|
90
|
+
readonly 'commerce.vendor.manage': "commerce.vendor.manage";
|
|
91
|
+
readonly 'commerce.vendor.search': "commerce.vendor.search";
|
|
92
|
+
readonly 'commerce.vendor.lead_time_missing': "commerce.vendor.lead_time_missing";
|
|
93
|
+
readonly 'commerce.vendor.lead_time_days': "commerce.vendor.lead_time_days";
|
|
94
|
+
readonly 'commerce.vendor.minimum_order': "commerce.vendor.minimum_order";
|
|
95
|
+
readonly 'commerce.vendor.minimum_order_hint': "commerce.vendor.minimum_order_hint";
|
|
96
|
+
readonly 'commerce.vendor.currency': "commerce.vendor.currency";
|
|
97
|
+
readonly 'commerce.vendor.default_contact_email': "commerce.vendor.default_contact_email";
|
|
98
|
+
readonly 'commerce.vendor.default_contact_phone': "commerce.vendor.default_contact_phone";
|
|
99
|
+
readonly 'commerce.vendor.default_order_contact': "commerce.vendor.default_order_contact";
|
|
100
|
+
readonly 'commerce.vendor.unable_to_load': "commerce.vendor.unable_to_load";
|
|
101
|
+
readonly 'commerce.vendor.no_results': "commerce.vendor.no_results";
|
|
102
|
+
readonly 'commerce.vendor.loading': "commerce.vendor.loading";
|
|
103
|
+
readonly 'commerce.vendor.details': "commerce.vendor.details";
|
|
2
104
|
readonly 'commerce.invoice_actions.send_invoice': "commerce.invoice_actions.send_invoice";
|
|
3
105
|
readonly 'commerce.invoice_actions.mark_as_paid': "commerce.invoice_actions.mark_as_paid";
|
|
4
106
|
readonly 'commerce.invoice_header.issue_date': "commerce.invoice_header.issue_date";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/svelte/i18n.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/svelte/i18n.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HZ,CAAC"}
|
package/dist/svelte/i18n.js
CHANGED
|
@@ -1,5 +1,107 @@
|
|
|
1
1
|
import { defineMessages } from '@happyvertical/smrt-ui/i18n';
|
|
2
2
|
export const M = defineMessages({
|
|
3
|
+
'commerce.party.identity': 'Identity',
|
|
4
|
+
'commerce.party.identity_business': 'Business',
|
|
5
|
+
'commerce.party.identity_person': 'Person',
|
|
6
|
+
'commerce.party.select_identity': 'Select identity',
|
|
7
|
+
'commerce.party.profile_email': 'Profile email',
|
|
8
|
+
'commerce.party.description': 'Description',
|
|
9
|
+
'commerce.party.status': 'Status',
|
|
10
|
+
'commerce.party.status_all': 'All statuses',
|
|
11
|
+
'commerce.party.status_active': 'Active',
|
|
12
|
+
'commerce.party.status_inactive': 'Inactive',
|
|
13
|
+
'commerce.party.status_suspended': 'Suspended',
|
|
14
|
+
'commerce.party.type': 'Type',
|
|
15
|
+
'commerce.party.email': 'Email',
|
|
16
|
+
'commerce.party.phone': 'Phone',
|
|
17
|
+
'commerce.party.notes': 'Notes',
|
|
18
|
+
'commerce.party.name': '{singular} name',
|
|
19
|
+
'commerce.party.add_named': 'Add {singular}',
|
|
20
|
+
'commerce.party.edit_named': 'Edit {singular}',
|
|
21
|
+
'commerce.party.save_named': 'Save {singular}',
|
|
22
|
+
'commerce.party.manage_named': 'Search and manage {plural}.',
|
|
23
|
+
'commerce.party.search_named': 'Search {plural}',
|
|
24
|
+
'commerce.party.pagination': '{singular} pages',
|
|
25
|
+
'commerce.party.commercial_terms': 'Commercial terms',
|
|
26
|
+
'commerce.party.payment_terms': 'Payment terms',
|
|
27
|
+
'commerce.party.internal_notes': 'Internal notes',
|
|
28
|
+
'commerce.party.not_recorded': 'Not recorded',
|
|
29
|
+
'commerce.party.amount_unavailable': 'Amount unavailable',
|
|
30
|
+
'commerce.party.no_contact_details': 'No contact details recorded',
|
|
31
|
+
'commerce.party.try_filters': 'Try changing the search or filters.',
|
|
32
|
+
'commerce.party.search': 'Search',
|
|
33
|
+
'commerce.party.cancel': 'Cancel',
|
|
34
|
+
'commerce.party.previous': 'Previous',
|
|
35
|
+
'commerce.party.next': 'Next',
|
|
36
|
+
'commerce.party.form_actions': '{singular} form actions',
|
|
37
|
+
'commerce.party.page': 'Page {page}',
|
|
38
|
+
'commerce.party.back_to': 'Back to {plural}',
|
|
39
|
+
'commerce.party.showing': 'Showing {first}–{last} of {total}',
|
|
40
|
+
'commerce.party.showing_count': 'Showing {count} of {total}',
|
|
41
|
+
'commerce.party.contacts': 'Contacts',
|
|
42
|
+
'commerce.party.no_contacts': 'No contacts recorded.',
|
|
43
|
+
'commerce.party.contact': 'Contact',
|
|
44
|
+
'commerce.party.contact_name': 'Name',
|
|
45
|
+
'commerce.party.contact_role': 'Role or label',
|
|
46
|
+
'commerce.party.contact_email': 'Email',
|
|
47
|
+
'commerce.party.contact_phone': 'Phone',
|
|
48
|
+
'commerce.party.contact_address': 'Address',
|
|
49
|
+
'commerce.party.add_contact': 'Add contact',
|
|
50
|
+
'commerce.party.remove_contact': 'Remove contact',
|
|
51
|
+
'commerce.party.demo_contact_added': 'Demo contact added.',
|
|
52
|
+
'commerce.party.demo_contact_removed': 'Demo contact removed.',
|
|
53
|
+
'commerce.party.demo_rejected': 'Demo validation rejected the save; entered values were retained.',
|
|
54
|
+
'commerce.party.demo_invalid_amount': 'Review this demo amount.',
|
|
55
|
+
'commerce.party.shipping_address': 'Shipping address',
|
|
56
|
+
'commerce.party.billing_address': 'Billing address',
|
|
57
|
+
'commerce.party.street_address': 'Street address',
|
|
58
|
+
'commerce.party.address_line_2': 'Address line 2',
|
|
59
|
+
'commerce.party.city': 'City',
|
|
60
|
+
'commerce.party.state': 'State or province',
|
|
61
|
+
'commerce.party.postal_code': 'Postal code',
|
|
62
|
+
'commerce.party.country': 'Country',
|
|
63
|
+
'commerce.party.yes': 'Yes',
|
|
64
|
+
'commerce.party.no': 'No',
|
|
65
|
+
'commerce.customer.type': 'Customer type',
|
|
66
|
+
'commerce.customer.singular': 'Customer',
|
|
67
|
+
'commerce.customer.plural': 'Customers',
|
|
68
|
+
'commerce.customer.add': 'Add customer',
|
|
69
|
+
'commerce.customer.edit': 'Edit customer',
|
|
70
|
+
'commerce.customer.save': 'Save customer',
|
|
71
|
+
'commerce.customer.manage': 'Search and manage customers.',
|
|
72
|
+
'commerce.customer.search': 'Search customers',
|
|
73
|
+
'commerce.customer.type_dtc': 'Direct to consumer',
|
|
74
|
+
'commerce.customer.type_wholesale': 'Wholesale',
|
|
75
|
+
'commerce.customer.type_retail': 'Retail',
|
|
76
|
+
'commerce.customer.credit_limit': 'Credit limit',
|
|
77
|
+
'commerce.customer.credit_limit_hint': 'Enter ordinary currency units, for example 1250.00.',
|
|
78
|
+
'commerce.customer.tax_exempt': 'Tax exempt',
|
|
79
|
+
'commerce.customer.unable_to_load': 'Unable to load customers',
|
|
80
|
+
'commerce.customer.no_results': 'No customers found',
|
|
81
|
+
'commerce.customer.loading': 'Loading customers',
|
|
82
|
+
'commerce.customer.details': 'Customer details',
|
|
83
|
+
'commerce.customer.address_shipping': 'Shipping address',
|
|
84
|
+
'commerce.customer.address_billing': 'Billing address',
|
|
85
|
+
'commerce.vendor.lead_time': 'Lead time (days)',
|
|
86
|
+
'commerce.vendor.singular': 'Vendor',
|
|
87
|
+
'commerce.vendor.plural': 'Vendors',
|
|
88
|
+
'commerce.vendor.add': 'Add vendor',
|
|
89
|
+
'commerce.vendor.edit': 'Edit vendor',
|
|
90
|
+
'commerce.vendor.save': 'Save vendor',
|
|
91
|
+
'commerce.vendor.manage': 'Search and manage vendors.',
|
|
92
|
+
'commerce.vendor.search': 'Search vendors',
|
|
93
|
+
'commerce.vendor.lead_time_missing': 'Lead time not recorded',
|
|
94
|
+
'commerce.vendor.lead_time_days': '{days} days lead time',
|
|
95
|
+
'commerce.vendor.minimum_order': 'Minimum order',
|
|
96
|
+
'commerce.vendor.minimum_order_hint': 'Enter ordinary currency units, for example 500.00.',
|
|
97
|
+
'commerce.vendor.currency': 'Currency',
|
|
98
|
+
'commerce.vendor.default_contact_email': 'Default contact email',
|
|
99
|
+
'commerce.vendor.default_contact_phone': 'Default contact phone',
|
|
100
|
+
'commerce.vendor.default_order_contact': 'Default order contact',
|
|
101
|
+
'commerce.vendor.unable_to_load': 'Unable to load vendors',
|
|
102
|
+
'commerce.vendor.no_results': 'No vendors found',
|
|
103
|
+
'commerce.vendor.loading': 'Loading vendors',
|
|
104
|
+
'commerce.vendor.details': 'Vendor details',
|
|
3
105
|
'commerce.invoice_actions.send_invoice': 'Send Invoice',
|
|
4
106
|
'commerce.invoice_actions.mark_as_paid': 'Mark as Paid',
|
|
5
107
|
'commerce.invoice_header.issue_date': 'Issue Date',
|
package/dist/svelte/index.d.ts
CHANGED
|
@@ -18,12 +18,25 @@
|
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
20
|
import type { ComponentProps } from 'svelte';
|
|
21
|
+
import CustomerDetail from './components/CustomerDetail.svelte';
|
|
22
|
+
import CustomerDirectory from './components/CustomerDirectory.svelte';
|
|
23
|
+
import CustomerForm from './components/CustomerForm.svelte';
|
|
21
24
|
import InvoiceActions from './components/InvoiceActions.svelte';
|
|
22
25
|
import InvoiceCard from './components/InvoiceCard.svelte';
|
|
23
26
|
import InvoiceHeader from './components/InvoiceHeader.svelte';
|
|
24
27
|
import InvoiceLineItems from './components/InvoiceLineItems.svelte';
|
|
25
28
|
import InvoiceTotals from './components/InvoiceTotals.svelte';
|
|
29
|
+
import PartyContactFields from './components/PartyContactFields.svelte';
|
|
26
30
|
import UnbilledItems from './components/UnbilledItems.svelte';
|
|
31
|
+
import VendorDetail from './components/VendorDetail.svelte';
|
|
32
|
+
import VendorDirectory from './components/VendorDirectory.svelte';
|
|
33
|
+
import VendorForm from './components/VendorForm.svelte';
|
|
34
|
+
export type CustomerDetailProps = ComponentProps<typeof CustomerDetail>;
|
|
35
|
+
export { default as CustomerDetail } from './components/CustomerDetail.svelte';
|
|
36
|
+
export type CustomerDirectoryProps = ComponentProps<typeof CustomerDirectory>;
|
|
37
|
+
export { default as CustomerDirectory } from './components/CustomerDirectory.svelte';
|
|
38
|
+
export type CustomerFormProps = ComponentProps<typeof CustomerForm>;
|
|
39
|
+
export { default as CustomerForm } from './components/CustomerForm.svelte';
|
|
27
40
|
export type InvoiceActionsProps = ComponentProps<typeof InvoiceActions>;
|
|
28
41
|
export { default as InvoiceActions } from './components/InvoiceActions.svelte';
|
|
29
42
|
export type InvoiceCardProps = ComponentProps<typeof InvoiceCard>;
|
|
@@ -36,5 +49,44 @@ export type InvoiceTotalsProps = ComponentProps<typeof InvoiceTotals>;
|
|
|
36
49
|
export { default as InvoiceTotals } from './components/InvoiceTotals.svelte';
|
|
37
50
|
export type UnbilledItemsProps = ComponentProps<typeof UnbilledItems>;
|
|
38
51
|
export { default as UnbilledItems } from './components/UnbilledItems.svelte';
|
|
52
|
+
export type PartyContactFieldsProps = ComponentProps<typeof PartyContactFields>;
|
|
53
|
+
export { default as PartyContactFields } from './components/PartyContactFields.svelte';
|
|
54
|
+
export type VendorDetailProps = ComponentProps<typeof VendorDetail>;
|
|
55
|
+
export { default as VendorDetail } from './components/VendorDetail.svelte';
|
|
56
|
+
export type VendorDirectoryProps = ComponentProps<typeof VendorDirectory>;
|
|
57
|
+
export { default as VendorDirectory } from './components/VendorDirectory.svelte';
|
|
58
|
+
export type VendorFormProps = ComponentProps<typeof VendorForm>;
|
|
59
|
+
export { default as VendorForm } from './components/VendorForm.svelte';
|
|
60
|
+
export type { CustomerDisplayData, CustomerFieldNames, CustomerFormValues, PartyAddressData, PartyContactData, PartyContactLabels, PartyDirectoryExtension, PartyDirectoryItem, PartyExtension, PartyFieldNames, PartyFormErrors, PartyFormTransport, PartyIdentityKind, PartyProfileData, PartySurfaceLabels, VendorDisplayData, VendorFieldNames, VendorFormValues, } from './party-types.js';
|
|
61
|
+
export { DEFAULT_CUSTOMER_FIELD_NAMES, DEFAULT_PARTY_FIELD_NAMES, DEFAULT_VENDOR_FIELD_NAMES, formatPartyAddress, formatPartyMinorUnits, } from './party-types.js';
|
|
39
62
|
export type { InvoiceData, InvoiceStatus, LineItem, UnbilledItem, } from './types.js';
|
|
63
|
+
import QuoteEditor from './components/QuoteEditor.svelte';
|
|
64
|
+
import QuoteRevisionComparison from './components/QuoteRevisionComparison.svelte';
|
|
65
|
+
import QuoteRevisionHistory from './components/QuoteRevisionHistory.svelte';
|
|
66
|
+
export { QuoteEditor, QuoteRevisionComparison, QuoteRevisionHistory };
|
|
67
|
+
export type QuoteEditorProps = ComponentProps<typeof QuoteEditor>;
|
|
68
|
+
export type QuoteRevisionHistoryProps = ComponentProps<typeof QuoteRevisionHistory>;
|
|
69
|
+
export type QuoteRevisionComparisonProps = ComponentProps<typeof QuoteRevisionComparison>;
|
|
70
|
+
export type { QuoteDocumentKind, QuoteDraftLine, QuoteDraftValues, QuoteFieldNames, QuoteMoneyMinor, QuoteRevision, } from './quote-types.js';
|
|
71
|
+
export { quoteFieldNames, quoteMinorText, quoteRevisionDelta, } from './quote-types.js';
|
|
72
|
+
export type { PricingDecisionAction, PricingHiddenField, PricingVersionData, PricingVersionSource, } from './pricing-types.js';
|
|
73
|
+
import PricingVersionDecision from './components/PricingVersionDecision.svelte';
|
|
74
|
+
import PricingVersionSummary from './components/PricingVersionSummary.svelte';
|
|
75
|
+
export { PricingVersionDecision, PricingVersionSummary };
|
|
76
|
+
export type PricingVersionSummaryProps = ComponentProps<typeof PricingVersionSummary>;
|
|
77
|
+
export type PricingVersionDecisionProps = ComponentProps<typeof PricingVersionDecision>;
|
|
78
|
+
import InvoiceAllocationFields from './components/InvoiceAllocationFields.svelte';
|
|
79
|
+
import InvoiceEditor from './components/InvoiceEditor.svelte';
|
|
80
|
+
import InvoiceLineEditor from './components/InvoiceLineEditor.svelte';
|
|
81
|
+
import InvoiceReview from './components/InvoiceReview.svelte';
|
|
82
|
+
export { InvoiceAllocationFields, InvoiceEditor, InvoiceLineEditor, InvoiceReview, };
|
|
83
|
+
export type InvoiceReviewProps = ComponentProps<typeof InvoiceReview>;
|
|
84
|
+
export type { InvoiceAllocationDraft, InvoiceAllocationFieldsProps, InvoiceDraftValues, InvoiceEditorProps, InvoiceFieldNames, InvoiceLineDraft, InvoiceLineEditorProps, InvoiceLineFieldNames, InvoicePreparationFields, InvoicePreparationHiddenField, InvoicePreparationReview, InvoicePreparationSource, } from './invoices/types.js';
|
|
85
|
+
import PurchaseOrderEditor from './components/PurchaseOrderEditor.svelte';
|
|
86
|
+
import PurchaseSourceSelector from './components/PurchaseSourceSelector.svelte';
|
|
87
|
+
export { PurchaseOrderEditor, PurchaseSourceSelector };
|
|
88
|
+
export type PurchaseOrderEditorProps = ComponentProps<typeof PurchaseOrderEditor>;
|
|
89
|
+
export type PurchaseSourceSelectorProps = ComponentProps<typeof PurchaseSourceSelector>;
|
|
90
|
+
export type { PurchaseAllocationDraft, PurchaseDraftValues, PurchaseFieldNames, PurchaseReviewSnapshot, PurchaseSourceOption, } from './purchasing-types.js';
|
|
91
|
+
export { purchaseFieldNames } from './purchasing-types.js';
|
|
40
92
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sv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CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,cAAc,CACtD,OAAO,sBAAsB,CAC9B,CAAC;AACF,YAAY,EACV,uBAAuB,EACvB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC"}
|
package/dist/svelte/index.js
CHANGED
|
@@ -20,12 +20,22 @@
|
|
|
20
20
|
import { ModuleUIRegistry } from '@happyvertical/smrt-ui/registry';
|
|
21
21
|
import { COMMERCE_MODULE_META } from '../ui.js';
|
|
22
22
|
// Import components
|
|
23
|
+
import CustomerDetail from './components/CustomerDetail.svelte';
|
|
24
|
+
import CustomerDirectory from './components/CustomerDirectory.svelte';
|
|
25
|
+
import CustomerForm from './components/CustomerForm.svelte';
|
|
23
26
|
import InvoiceActions from './components/InvoiceActions.svelte';
|
|
24
27
|
import InvoiceCard from './components/InvoiceCard.svelte';
|
|
25
28
|
import InvoiceHeader from './components/InvoiceHeader.svelte';
|
|
26
29
|
import InvoiceLineItems from './components/InvoiceLineItems.svelte';
|
|
27
30
|
import InvoiceTotals from './components/InvoiceTotals.svelte';
|
|
31
|
+
import PartyContactFields from './components/PartyContactFields.svelte';
|
|
28
32
|
import UnbilledItems from './components/UnbilledItems.svelte';
|
|
33
|
+
import VendorDetail from './components/VendorDetail.svelte';
|
|
34
|
+
import VendorDirectory from './components/VendorDirectory.svelte';
|
|
35
|
+
import VendorForm from './components/VendorForm.svelte';
|
|
36
|
+
export { default as CustomerDetail } from './components/CustomerDetail.svelte';
|
|
37
|
+
export { default as CustomerDirectory } from './components/CustomerDirectory.svelte';
|
|
38
|
+
export { default as CustomerForm } from './components/CustomerForm.svelte';
|
|
29
39
|
// Export components
|
|
30
40
|
export { default as InvoiceActions } from './components/InvoiceActions.svelte';
|
|
31
41
|
export { default as InvoiceCard } from './components/InvoiceCard.svelte';
|
|
@@ -33,11 +43,50 @@ export { default as InvoiceHeader } from './components/InvoiceHeader.svelte';
|
|
|
33
43
|
export { default as InvoiceLineItems } from './components/InvoiceLineItems.svelte';
|
|
34
44
|
export { default as InvoiceTotals } from './components/InvoiceTotals.svelte';
|
|
35
45
|
export { default as UnbilledItems } from './components/UnbilledItems.svelte';
|
|
46
|
+
export { default as PartyContactFields } from './components/PartyContactFields.svelte';
|
|
47
|
+
export { default as VendorDetail } from './components/VendorDetail.svelte';
|
|
48
|
+
export { default as VendorDirectory } from './components/VendorDirectory.svelte';
|
|
49
|
+
export { default as VendorForm } from './components/VendorForm.svelte';
|
|
50
|
+
export { DEFAULT_CUSTOMER_FIELD_NAMES, DEFAULT_PARTY_FIELD_NAMES, DEFAULT_VENDOR_FIELD_NAMES, formatPartyAddress, formatPartyMinorUnits, } from './party-types.js';
|
|
36
51
|
// Auto-register module and components with ModuleUIRegistry
|
|
37
52
|
ModuleUIRegistry.registerModule(COMMERCE_MODULE_META);
|
|
53
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'customer-directory', CustomerDirectory);
|
|
54
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'customer-detail', CustomerDetail);
|
|
55
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'customer-form', CustomerForm);
|
|
56
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'vendor-directory', VendorDirectory);
|
|
57
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'vendor-detail', VendorDetail);
|
|
58
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'vendor-form', VendorForm);
|
|
59
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'party-contact-fields', PartyContactFields);
|
|
38
60
|
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'invoice-card', InvoiceCard);
|
|
39
61
|
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'invoice-header', InvoiceHeader);
|
|
40
62
|
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'invoice-line-items', InvoiceLineItems);
|
|
41
63
|
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'invoice-totals', InvoiceTotals);
|
|
42
64
|
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'invoice-actions', InvoiceActions);
|
|
43
65
|
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'unbilled-items', UnbilledItems);
|
|
66
|
+
// Quotation and estimate presentation; no backend mutation or domain migration.
|
|
67
|
+
import QuoteEditor from './components/QuoteEditor.svelte';
|
|
68
|
+
import QuoteRevisionComparison from './components/QuoteRevisionComparison.svelte';
|
|
69
|
+
import QuoteRevisionHistory from './components/QuoteRevisionHistory.svelte';
|
|
70
|
+
export { QuoteEditor, QuoteRevisionComparison, QuoteRevisionHistory };
|
|
71
|
+
export { quoteFieldNames, quoteMinorText, quoteRevisionDelta, } from './quote-types.js';
|
|
72
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'quote-editor', QuoteEditor);
|
|
73
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'quote-revision-history', QuoteRevisionHistory);
|
|
74
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'quote-revision-comparison', QuoteRevisionComparison);
|
|
75
|
+
import PricingVersionDecision from './components/PricingVersionDecision.svelte';
|
|
76
|
+
import PricingVersionSummary from './components/PricingVersionSummary.svelte';
|
|
77
|
+
export { PricingVersionDecision, PricingVersionSummary };
|
|
78
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'pricing-version-summary', PricingVersionSummary);
|
|
79
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'pricing-version-decision', PricingVersionDecision);
|
|
80
|
+
import InvoiceAllocationFields from './components/InvoiceAllocationFields.svelte';
|
|
81
|
+
import InvoiceEditor from './components/InvoiceEditor.svelte';
|
|
82
|
+
import InvoiceLineEditor from './components/InvoiceLineEditor.svelte';
|
|
83
|
+
import InvoiceReview from './components/InvoiceReview.svelte';
|
|
84
|
+
export { InvoiceAllocationFields, InvoiceEditor, InvoiceLineEditor, InvoiceReview, };
|
|
85
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'invoice-editor', InvoiceEditor);
|
|
86
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'invoice-review', InvoiceReview);
|
|
87
|
+
import PurchaseOrderEditor from './components/PurchaseOrderEditor.svelte';
|
|
88
|
+
import PurchaseSourceSelector from './components/PurchaseSourceSelector.svelte';
|
|
89
|
+
export { PurchaseOrderEditor, PurchaseSourceSelector };
|
|
90
|
+
export { purchaseFieldNames } from './purchasing-types.js';
|
|
91
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'purchase-order-editor', PurchaseOrderEditor);
|
|
92
|
+
ModuleUIRegistry.register('@happyvertical/smrt-commerce', 'purchase-source-selector', PurchaseSourceSelector);
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/** Unparsed editable invoice line; invalid values remain caller-owned. */
|
|
2
|
+
export interface InvoiceLineDraft {
|
|
3
|
+
/** Stable caller-owned row identity. */
|
|
4
|
+
key: string;
|
|
5
|
+
/** Human-readable item description. */
|
|
6
|
+
description: string;
|
|
7
|
+
/** Optional stock or service code. */
|
|
8
|
+
sku: string;
|
|
9
|
+
/** Nonnegative decimal quantity, at most six decimal places. */
|
|
10
|
+
quantity: string;
|
|
11
|
+
/** Unit price in currency major units. */
|
|
12
|
+
unitPrice: string;
|
|
13
|
+
/** Flat major-unit discount or percentage; unknown drafts remain representable. */
|
|
14
|
+
discountType: string;
|
|
15
|
+
/** Discount in major units or percent according to discountType. */
|
|
16
|
+
discountValue: string;
|
|
17
|
+
/** Inherit the authorized default or use an explicit override. */
|
|
18
|
+
taxMode: string;
|
|
19
|
+
/** Override percent; zero is an explicit exemption, not inheritance. */
|
|
20
|
+
taxRate: string;
|
|
21
|
+
}
|
|
22
|
+
/** Editable header and lines; clients never supply authoritative calculated totals. */
|
|
23
|
+
export interface InvoiceDraftValues {
|
|
24
|
+
/** Customer reference; authorization/existence must be checked by the server. */
|
|
25
|
+
customerId: string;
|
|
26
|
+
/** Calendar issue date, YYYY-MM-DD. */
|
|
27
|
+
issuedOn: string;
|
|
28
|
+
/** Calendar due date, YYYY-MM-DD. */
|
|
29
|
+
dueOn: string;
|
|
30
|
+
/** Uppercase three-letter currency, with Commerce's explicit minor-unit table. */
|
|
31
|
+
currency: string;
|
|
32
|
+
/** Free-form payment terms. */
|
|
33
|
+
paymentTerms: string;
|
|
34
|
+
/** Default tax percent; the server must substitute its authorized rate. */
|
|
35
|
+
taxRate: string;
|
|
36
|
+
/** Caller-owned ordered lines. */
|
|
37
|
+
lines: readonly InvoiceLineDraft[];
|
|
38
|
+
}
|
|
39
|
+
/** Fields on which line validation may report an error. */
|
|
40
|
+
export type InvoiceLineField = keyof InvoiceLineDraft;
|
|
41
|
+
/** Stable validation reasons for caller-localized error messages. */
|
|
42
|
+
export type InvoiceCalculationError = 'required' | 'invalid-decimal' | 'precision' | 'range' | 'invalid-mode' | 'discount-exceeds-gross' | 'invalid-date' | 'duplicate-key' | 'invalid-currency';
|
|
43
|
+
/** Currency and server-authorized inherited percentage for a line. */
|
|
44
|
+
export interface InvoiceCalculationContext {
|
|
45
|
+
/** Uppercase currency code. */
|
|
46
|
+
currency: string;
|
|
47
|
+
/** Default tax percent, for example "5". */
|
|
48
|
+
inheritedTaxRate: string;
|
|
49
|
+
}
|
|
50
|
+
/** All monetary outputs are safe integer minor units. */
|
|
51
|
+
export interface InvoiceCalculatedAmounts {
|
|
52
|
+
/** Rounded quantity times unit price before discounts. */
|
|
53
|
+
grossMinor: number;
|
|
54
|
+
/** Discount rounded to minor units before tax. */
|
|
55
|
+
discountMinor: number;
|
|
56
|
+
/** Gross less discount. */
|
|
57
|
+
subtotalMinor: number;
|
|
58
|
+
/** Rounded tax on the discounted subtotal. */
|
|
59
|
+
taxMinor: number;
|
|
60
|
+
/** Subtotal plus tax. */
|
|
61
|
+
totalMinor: number;
|
|
62
|
+
}
|
|
63
|
+
/** Success or field errors, with no plausible monetary output for an invalid line. */
|
|
64
|
+
export type InvoiceLineCalculation = ({
|
|
65
|
+
valid: true;
|
|
66
|
+
effectiveTaxRate: string;
|
|
67
|
+
} & InvoiceCalculatedAmounts) | {
|
|
68
|
+
valid: false;
|
|
69
|
+
errors: Partial<Record<InvoiceLineField, InvoiceCalculationError>>;
|
|
70
|
+
};
|
|
71
|
+
/** Header error keys include whole-invoice totals and line membership. */
|
|
72
|
+
export type InvoiceDraftField = Exclude<keyof InvoiceDraftValues, 'lines'> | 'lines' | 'total';
|
|
73
|
+
/** Aggregate result retains every line result for granular rendering. */
|
|
74
|
+
export type InvoiceDraftCalculation = ({
|
|
75
|
+
valid: true;
|
|
76
|
+
lineResults: readonly InvoiceLineCalculation[];
|
|
77
|
+
} & InvoiceCalculatedAmounts) | {
|
|
78
|
+
valid: false;
|
|
79
|
+
errors: Partial<Record<InvoiceDraftField, InvoiceCalculationError>>;
|
|
80
|
+
lineResults: readonly InvoiceLineCalculation[];
|
|
81
|
+
};
|
|
82
|
+
/** Existing model monetary inputs, independent of currency display precision. */
|
|
83
|
+
export interface InvoiceMinorLineInput {
|
|
84
|
+
/** Nonnegative quantity with at most six fractional digits. */
|
|
85
|
+
quantity: number;
|
|
86
|
+
/** Signed integer minor units; negative prices support existing credit lines. */
|
|
87
|
+
unitPrice: number;
|
|
88
|
+
/** Nonnegative flat discount in integer minor units. */
|
|
89
|
+
discount: number;
|
|
90
|
+
/** Resolved tax fraction, at most eight fractional digits, in [0, 1]. */
|
|
91
|
+
taxRate: number;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Exact model calculation, including existing negative-price credit lines.
|
|
95
|
+
* Throws before persistence for unsafe money, invalid quantity, or invalid tax.
|
|
96
|
+
*/
|
|
97
|
+
export declare function calculateInvoiceMinorLine(input: InvoiceMinorLineInput): InvoiceCalculatedAmounts;
|
|
98
|
+
/** Validated line fields suitable for the existing model's resolved money columns. */
|
|
99
|
+
export interface InvoiceResolvedLine extends InvoiceMinorLineInput {
|
|
100
|
+
/** Validated item description. */
|
|
101
|
+
description: string;
|
|
102
|
+
/** Caller stock code. */
|
|
103
|
+
sku: string;
|
|
104
|
+
/** Recomputed total; never copied from a browser total field. */
|
|
105
|
+
amount: number;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Resolve a validated editor draft to model fields. Percentage discounts become
|
|
109
|
+
* exact flat minor units; inherited tax becomes the authorized effective rate.
|
|
110
|
+
* Keep the raw draft alongside these fields when reopening its editing modes.
|
|
111
|
+
*/
|
|
112
|
+
export declare function resolveInvoiceLineDraft(line: InvoiceLineDraft, context: InvoiceCalculationContext): InvoiceResolvedLine;
|
|
113
|
+
/**
|
|
114
|
+
* Validate and calculate one line using decimal integer arithmetic. Round half
|
|
115
|
+
* up separately at gross, percentage discount, and tax boundaries. No rounding
|
|
116
|
+
* is permitted when parsing a price or flat discount into currency minor units.
|
|
117
|
+
*/
|
|
118
|
+
export declare function calculateInvoiceLine(line: InvoiceLineDraft, context: InvoiceCalculationContext): InvoiceLineCalculation;
|
|
119
|
+
/** Validate the header and sum validated lines without floating-point arithmetic. */
|
|
120
|
+
export declare function calculateInvoiceDraft(values: InvoiceDraftValues): InvoiceDraftCalculation;
|
|
121
|
+
//# sourceMappingURL=calculations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calculations.d.ts","sourceRoot":"","sources":["../../../src/svelte/invoices/calculations.ts"],"names":[],"mappings":"AAGA,0EAA0E;AAC1E,MAAM,WAAW,gBAAgB;IAC/B,wCAAwC;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,uCAAuC;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,sCAAsC;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,gEAAgE;IAChE,QAAQ,EAAE,MAAM,CAAC;IACjB,0CAA0C;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,mFAAmF;IACnF,YAAY,EAAE,MAAM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