@unimaze/billing 0.1.2-rc.10 → 0.1.2-rc.2
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/README.md +3 -11
- package/lib/common/components/attachments/Attachment.d.ts +2 -8
- package/lib/common/components/attachments/Attachment.js +8 -33
- package/lib/common/components/attachments/index.d.ts +2 -9
- package/lib/common/components/attachments/index.js +6 -15
- package/lib/common/components/base-information/index.d.ts +3 -6
- package/lib/common/components/base-information/index.js +81 -100
- package/lib/common/components/billing-lines/index.d.ts +23 -9
- package/lib/common/components/billing-lines/index.js +38 -116
- package/lib/common/components/delivery-location/index.d.ts +2 -5
- package/lib/common/components/delivery-location/index.js +11 -43
- package/lib/common/components/editable-cell/index.d.ts +1 -1
- package/lib/common/components/editable-cell/index.js +10 -76
- package/lib/common/components/editable-row/index.d.ts +5 -5
- package/lib/common/components/editable-row/index.js +6 -8
- package/lib/common/components/index.d.ts +5 -10
- package/lib/common/components/index.js +8 -20
- package/lib/common/components/issuer/index.d.ts +7 -0
- package/lib/common/components/{customer/hardCoddedCustomer.js → issuer/index.js} +8 -5
- package/lib/common/components/payer/index.d.ts +3 -0
- package/lib/common/components/payer/index.js +50 -0
- package/lib/common/components/payment-method/index.d.ts +3 -6
- package/lib/common/components/payment-method/index.js +17 -57
- package/lib/common/consts/validationRules.d.ts +3 -2
- package/lib/common/consts/validationRules.js +7 -0
- package/lib/common/enums/index.d.ts +1 -1
- package/lib/common/enums/index.js +4 -2
- package/lib/common/types/BillingLineMetadataOverride.d.ts +0 -1
- package/lib/create-credit-note/index.d.ts +2 -1
- package/lib/create-credit-note/index.js +14 -6
- package/lib/create-invoice/index.d.ts +2 -1
- package/lib/create-invoice/index.js +21 -79
- package/lib/example/src/index.d.ts +1 -1
- package/lib/index.js +0 -5
- package/lib/src/common/components/attachments/Attachment.d.ts +2 -8
- package/lib/src/common/components/attachments/index.d.ts +2 -9
- package/lib/src/common/components/base-information/index.d.ts +3 -6
- package/lib/src/common/components/billing-lines/index.d.ts +23 -9
- package/lib/src/common/components/delivery-location/index.d.ts +2 -5
- package/lib/src/common/components/editable-cell/index.d.ts +1 -1
- package/lib/src/common/components/editable-row/index.d.ts +5 -5
- package/lib/src/common/components/issuer/index.d.ts +7 -0
- package/lib/src/common/components/payer/index.d.ts +3 -0
- package/lib/src/common/components/payment-method/index.d.ts +3 -6
- package/lib/src/common/consts/validationRules.d.ts +3 -2
- package/lib/src/create-credit-note/index.d.ts +9 -0
- package/lib/src/create-invoice/index.d.ts +2 -1
- package/lib/src/index.d.ts +4 -0
- package/lib/style/index.css +1222 -0
- package/lib/utils/ApiUtility.d.ts +1 -8
- package/lib/utils/ApiUtility.js +1 -17
- package/lib/utils/ConversionUtility.d.ts +4 -5
- package/lib/utils/ConversionUtility.js +133 -121
- package/lib/utils/index.d.ts +2 -2
- package/lib/utils/index.js +2 -2
- package/package.json +7 -12
- package/lib/common/components/base-information/ReferenceIdentifiers.d.ts +0 -6
- package/lib/common/components/base-information/ReferenceIdentifiers.js +0 -40
- package/lib/common/components/billing-lines/BillingCalculations.d.ts +0 -11
- package/lib/common/components/billing-lines/BillingCalculations.js +0 -61
- package/lib/common/components/billing-lines/BillingTaxSummary.d.ts +0 -10
- package/lib/common/components/billing-lines/BillingTaxSummary.js +0 -51
- package/lib/common/components/billing-lines/billingLIneFormData.d.ts +0 -7
- package/lib/common/components/billing-lines/billingLIneFormData.js +0 -63
- package/lib/common/components/customer/hardCoddedCustomer.d.ts +0 -7
- package/lib/common/components/customer/index.d.ts +0 -6
- package/lib/common/components/customer/index.js +0 -93
- package/lib/common/components/form-item/index.d.ts +0 -21
- package/lib/common/components/form-item/index.js +0 -27
- package/lib/common/components/locale-intl/index.d.ts +0 -10
- package/lib/common/components/locale-intl/index.js +0 -45
- package/lib/common/components/supplier/index.d.ts +0 -6
- package/lib/common/components/supplier/index.js +0 -93
- package/lib/common/types/ReceiverRequirements.d.ts +0 -81
- package/lib/common/types/ReceiverRequirements.js +0 -379
- package/lib/src/common/components/base-information/ReferenceIdentifiers.d.ts +0 -6
- package/lib/src/common/components/billing-lines/BillingCalculations.d.ts +0 -11
- package/lib/src/common/components/billing-lines/BillingTaxSummary.d.ts +0 -10
- package/lib/src/common/components/billing-lines/billingLIneFormData.d.ts +0 -7
- package/lib/src/common/components/customer/index.d.ts +0 -6
- package/lib/src/common/components/form-item/index.d.ts +0 -21
- package/lib/src/common/components/index.d.ts +0 -10
- package/lib/src/common/components/locale-intl/index.d.ts +0 -10
- package/lib/src/common/components/supplier/index.d.ts +0 -6
- package/lib/src/common/types/ReceiverRequirements.d.ts +0 -81
- package/lib/src/translations/locales.d.ts +0 -74
- package/lib/src/utils/ApiUtility.d.ts +0 -21
- package/lib/src/utils/BillingLineUtility.d.ts +0 -8
- package/lib/src/utils/ConversionUtility.d.ts +0 -5
- package/lib/src/utils/RequirementsUtility.d.ts +0 -5
- package/lib/src/utils/billingLineFormData.d.ts +0 -7
- package/lib/src/utils/index.d.ts +0 -2
- package/lib/translations/locales/is.json +0 -70
- package/lib/translations/locales.d.ts +0 -74
- package/lib/translations/locales.js +0 -10
- package/lib/utils/BillingLineUtility.d.ts +0 -8
- package/lib/utils/BillingLineUtility.js +0 -66
- package/lib/utils/RequirementsUtility.d.ts +0 -5
- package/lib/utils/RequirementsUtility.js +0 -23
- package/lib/utils/billingLineFormData.d.ts +0 -7
- package/lib/utils/billingLineFormData.js +0 -63
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BillingLineMetadataOverride } from "../types/BillingLineMetadataOverride";
|
|
2
2
|
import { Rule } from "rc-field-form/lib/interface";
|
|
3
|
-
|
|
4
|
-
[key in keyof
|
|
3
|
+
declare type ValidationRulesObject = {
|
|
4
|
+
[key in keyof BillingLineMetadataOverride]: Rule[];
|
|
5
5
|
};
|
|
6
6
|
export declare const validationRules: ValidationRulesObject;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "antd/dist/antd.compact.css";
|
|
2
|
+
import "../style/index.css";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { ProfileOutput } from "@unimaze/api-clients/lib/wapi2";
|
|
5
|
+
interface Props {
|
|
6
|
+
issuer: ProfileOutput;
|
|
7
|
+
}
|
|
8
|
+
declare const CreateInvoice: React.FC<Props>;
|
|
9
|
+
export default CreateInvoice;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import "antd/dist/antd.compact.css";
|
|
1
2
|
import "../style/index.css";
|
|
2
3
|
import React from "react";
|
|
3
4
|
import { ProfileOutput } from "@unimaze/api-clients/lib/wapi2";
|
|
4
5
|
import { CommonProps } from "../common/types/CommonProps";
|
|
5
6
|
interface Props extends CommonProps {
|
|
6
|
-
|
|
7
|
+
issuer: ProfileOutput;
|
|
7
8
|
}
|
|
8
9
|
/**
|
|
9
10
|
* Component for creating a form for creating an invoice and submitting it to the MAPI transaction services
|