@unimaze/billing 0.3.4 → 0.4.1-sjova.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/lib/common/components/attachments/Attachment.js +15 -12
- package/lib/common/components/attachments/index.js +12 -11
- package/lib/common/components/base-information/ReferenceIdentifiers.d.ts +1 -0
- package/lib/common/components/base-information/ReferenceIdentifiers.js +25 -15
- package/lib/common/components/base-information/index.js +106 -45
- package/lib/common/components/billing-lines/BillingCalculations.d.ts +2 -2
- package/lib/common/components/billing-lines/BillingCalculations.js +40 -7
- package/lib/common/components/billing-lines/BillingTaxSummary.js +33 -5
- package/lib/common/components/billing-lines/index.d.ts +10 -1
- package/lib/common/components/billing-lines/index.js +74 -41
- package/lib/common/components/customer/index.d.ts +1 -1
- package/lib/common/components/customer/index.js +5 -11
- package/lib/common/components/editable-cell/index.d.ts +7 -3
- package/lib/common/components/editable-cell/index.js +131 -8
- package/lib/common/components/form-item/index.d.ts +5 -2
- package/lib/common/components/form-item/index.js +28 -8
- package/lib/common/components/payment-method/index.d.ts +6 -2
- package/lib/common/components/payment-method/index.js +44 -62
- package/lib/common/components/payment-method/paymentMethodForConversion.js +2 -11
- package/lib/common/components/supplier/index.js +18 -35
- package/lib/common/consts/formLayout.d.ts +30 -0
- package/lib/common/consts/formLayout.js +9 -0
- package/lib/common/consts/validationRules.d.ts +2 -2
- package/lib/common/consts/validationRules.js +11 -8
- package/lib/common/types/AppConfiguration.d.ts +1 -1
- package/lib/common/types/BillingLineMetadataOverride.d.ts +5 -3
- package/lib/common/types/CommonProps.d.ts +1 -1
- package/lib/common/types/ReceiverRequirements.js +1 -1
- package/lib/create-invoice/IntlLoader.js +49 -0
- package/lib/create-invoice/index.d.ts +7 -10
- package/lib/create-invoice/index.js +108 -70
- package/lib/translations/locales/is.json +67 -4
- package/lib/translations/locales.d.ts +64 -1
- package/lib/utils/BillingLineUtility.d.ts +2 -2
- package/lib/utils/BillingLineUtility.js +2 -2
- package/lib/utils/ConversionUtility.js +15 -4
- package/lib/utils/FileUploadUtility.d.ts +7 -0
- package/lib/utils/FileUploadUtility.js +26 -0
- package/lib/utils/FormatingUtility.d.ts +2 -0
- package/lib/utils/FormatingUtility.js +6 -0
- package/lib/utils/IntlUtility.d.ts +4 -0
- package/lib/utils/IntlUtility.js +54 -0
- package/package.json +3 -9
- package/lib/common/types/Configuration.d.ts +0 -14
- package/lib/common/types/Configuration.js +0 -2
- package/lib/example/src/index.d.ts +0 -1
- package/lib/src/common/components/attachments/Attachment.d.ts +0 -18
- package/lib/src/common/components/attachments/index.d.ts +0 -6
- package/lib/src/common/components/base-information/ReferenceIdentifiers.d.ts +0 -17
- package/lib/src/common/components/base-information/index.d.ts +0 -11
- 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/NewBillingLines.d.ts +0 -10
- package/lib/src/common/components/billing-lines/index.d.ts +0 -19
- package/lib/src/common/components/component-container/Content.d.ts +0 -7
- package/lib/src/common/components/component-container/Header.d.ts +0 -9
- package/lib/src/common/components/component-container/index.d.ts +0 -11
- package/lib/src/common/components/customer/index.d.ts +0 -16
- package/lib/src/common/components/delivery-location/index.d.ts +0 -6
- package/lib/src/common/components/editable-cell/index.d.ts +0 -11
- package/lib/src/common/components/editable-row/index.d.ts +0 -5
- package/lib/src/common/components/form-item/index.d.ts +0 -23
- 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/payment-method/index.d.ts +0 -6
- package/lib/src/common/components/payment-method/paymentMethodForConversion.d.ts +0 -9
- package/lib/src/common/components/supplier/index.d.ts +0 -10
- package/lib/src/common/consts/formLayout.d.ts +0 -44
- package/lib/src/common/consts/validationRules.d.ts +0 -6
- package/lib/src/common/types/ReceiverRequirements.d.ts +0 -81
- package/lib/src/translations/locales.d.ts +0 -78
- package/lib/src/utils/ApiUtility.d.ts +0 -21
- package/lib/src/utils/BillingLineUtility.d.ts +0 -10
- package/lib/src/utils/ConversionUtility.d.ts +0 -8
- package/lib/src/utils/RequirementsUtility.d.ts +0 -5
- package/lib/src/utils/index.d.ts +0 -2
- /package/lib/{src/create-invoice/index.d.ts → create-invoice/IntlLoader.d.ts} +0 -0
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BillingLineMetadata, InvoiceMetadataInput, PartyMetadata } from "@unimaze/api-clients/lib/mapi";
|
|
2
|
-
import { Store } from "antd/es/form/interface";
|
|
3
|
-
import { ProfileOutput } from "@unimaze/api-clients/lib/wapi2";
|
|
4
|
-
import { PaymentMeansMetadata } from "@unimaze/api-clients/lib/mapi/api";
|
|
5
|
-
declare const convertToInvoiceMetadataInput: (formValues: Store, billingLines: BillingLineMetadata[], paymentMethod: PaymentMeansMetadata, chosenCustomer: PartyMetadata) => InvoiceMetadataInput;
|
|
6
|
-
declare const profileOutputToPartyMetadata: (profileOutput: ProfileOutput) => PartyMetadata;
|
|
7
|
-
declare const convertToReadableKennitala: (isoIdentifier: string) => string;
|
|
8
|
-
export { convertToInvoiceMetadataInput, profileOutputToPartyMetadata, convertToReadableKennitala };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { AvailableFields, FieldRequirement, ReceiverRequirements } from "../common/types/ReceiverRequirements";
|
|
3
|
-
export declare const getReceiverRequirements: (recRequirements: ReceiverRequirements, key: AvailableFields) => FieldRequirement;
|
|
4
|
-
export declare const getReceiverRequirementsIsRequired: (recRequirements: ReceiverRequirements, key: AvailableFields, defaultIsRequired: boolean) => boolean;
|
|
5
|
-
export declare const getReceiverRequirementsLabelWithDefault: (recRequirements: ReceiverRequirements, key: AvailableFields, defaultLabel: React.ReactNode) => React.ReactNode;
|
package/lib/src/utils/index.d.ts
DELETED
|
File without changes
|