@tesouro/embedded-components-react 0.5.152 → 0.5.154
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 +20 -17
- package/dist/index.d.ts +106 -91
- package/dist/index.js +15 -15
- package/dist/lib/CreditCardsWidget.d.ts +6 -0
- package/dist/lib/DebitCardsWidget.d.ts +6 -0
- package/dist/lib/WidgetSuite.d.ts +102 -6
- package/dist/lib/monite-sdk.d.ts +2 -44
- package/dist/lib/monite-sdk.js +9 -12
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index9.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +45 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +10 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +72 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +20 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +5 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +10 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +11 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +133 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +5 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +3 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +221 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +33 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +180 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +201 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +98 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +63 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +55 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +89 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +40 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +75 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +87 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +12 -220
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +17 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +5 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +20 -202
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +1 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +60 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +28 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +2 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +33 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +14 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +28 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +97 -17
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index14.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index16.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index6.js +16 -15
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index9.js +15 -2
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +0 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +0 -97
package/dist/lib/monite-sdk.d.ts
CHANGED
|
@@ -70949,9 +70949,8 @@ declare const getEntityName: (entity?: EntityResponse) => string;
|
|
|
70949
70949
|
|
|
70950
70950
|
type OptionalFields = {
|
|
70951
70951
|
invoiceDate?: boolean;
|
|
70952
|
-
tags?: boolean;
|
|
70953
70952
|
};
|
|
70954
|
-
type OcrRequiredField = 'currency' | 'invoiceDate' | 'counterpart' | 'invoiceNumber' | 'counterpartBankAccount' | 'document_issued_at_date' | 'dueDate' | '
|
|
70953
|
+
type OcrRequiredField = 'currency' | 'invoiceDate' | 'counterpart' | 'invoiceNumber' | 'counterpartBankAccount' | 'document_issued_at_date' | 'dueDate' | 'counterpartName' | 'contactPerson' | 'issueDate' | 'amount' | 'appliedPolicy' | 'addedByUser' | 'addedOn' | 'updatedOn';
|
|
70955
70954
|
type OcrRequiredFields = Partial<Record<OcrRequiredField, boolean>> | undefined;
|
|
70956
70955
|
type PaymentRecordWithIntent = {
|
|
70957
70956
|
intent: string;
|
|
@@ -71779,7 +71778,6 @@ interface MonitePayableDetailsInfoProps {
|
|
|
71779
71778
|
optionalFields?: OptionalFields;
|
|
71780
71779
|
ocrRequiredFields?: OcrRequiredFields;
|
|
71781
71780
|
ocrMismatchFields?: OcrMismatchFields;
|
|
71782
|
-
isTagsDisabled?: boolean;
|
|
71783
71781
|
}
|
|
71784
71782
|
type PayableResponseSchema$1 = components['schemas']['PayableResponseSchema'];
|
|
71785
71783
|
|
|
@@ -72607,9 +72605,6 @@ interface ComponentSettings {
|
|
|
72607
72605
|
pageSizeOptions: number[];
|
|
72608
72606
|
} & TablePaginationSettings;
|
|
72609
72607
|
receivables: Partial<ReceivableSettings>;
|
|
72610
|
-
tags: {
|
|
72611
|
-
pageSizeOptions: number[];
|
|
72612
|
-
} & TablePaginationSettings;
|
|
72613
72608
|
userRoles: {
|
|
72614
72609
|
pageSizeOptions: number[];
|
|
72615
72610
|
} & TablePaginationSettings;
|
|
@@ -72813,7 +72808,6 @@ declare const usePayableDetailsThemeProps: (inProps?: Partial<MonitePayableDetai
|
|
|
72813
72808
|
optionalFields: OptionalFields | undefined;
|
|
72814
72809
|
ocrRequiredFields: OcrRequiredFields;
|
|
72815
72810
|
ocrMismatchFields: OcrMismatchFields;
|
|
72816
|
-
isTagsDisabled: boolean | undefined;
|
|
72817
72811
|
};
|
|
72818
72812
|
|
|
72819
72813
|
type PayableCallbackProps = Pick<UsePayableDetailsProps, 'onSaved' | 'onCanceled' | 'onSubmitted' | 'onRejected' | 'onApproved' | 'onReopened' | 'onDeleted' | 'onPay'>;
|
|
@@ -74105,42 +74099,6 @@ interface ProductDetailsProps {
|
|
|
74105
74099
|
}
|
|
74106
74100
|
declare const ProductDetails: (props: ProductDetailsProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
74107
74101
|
|
|
74108
|
-
interface TagsTableSortModel {
|
|
74109
|
-
field: components['schemas']['TagCursorFields'];
|
|
74110
|
-
sort: NonNullable<SortDirection>;
|
|
74111
|
-
}
|
|
74112
|
-
interface TagsTableProps {
|
|
74113
|
-
onChangeSort?: (params: TagsTableSortModel) => void;
|
|
74114
|
-
showCreationModal?: () => void;
|
|
74115
|
-
}
|
|
74116
|
-
declare const TagsTable: (props: TagsTableProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
74117
|
-
|
|
74118
|
-
interface ITag {
|
|
74119
|
-
id: string;
|
|
74120
|
-
name: string;
|
|
74121
|
-
category?: components['schemas']['TagCategory'];
|
|
74122
|
-
keywords?: string[] | string;
|
|
74123
|
-
}
|
|
74124
|
-
interface TagFormModalProps {
|
|
74125
|
-
tag?: ITag;
|
|
74126
|
-
onCreate?: (tag: components['schemas']['TagReadSchema']) => void;
|
|
74127
|
-
onUpdate?: (tag: components['schemas']['TagReadSchema']) => void;
|
|
74128
|
-
onClose?: () => void;
|
|
74129
|
-
onDelete?: (tag: components['schemas']['TagReadSchema']) => void;
|
|
74130
|
-
isDeleteAllowed: boolean;
|
|
74131
|
-
/** Whether the modal is open or not */
|
|
74132
|
-
open: boolean;
|
|
74133
|
-
}
|
|
74134
|
-
/**
|
|
74135
|
-
* `TagFormModal` is responsible for creating or updating
|
|
74136
|
-
* the tag.
|
|
74137
|
-
* If no `tag` provided then the form is working on `creating` mode
|
|
74138
|
-
* If `tag` provided then the form is working on `updating` mode
|
|
74139
|
-
*/
|
|
74140
|
-
declare const TagFormModal: (props: TagFormModalProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
74141
|
-
|
|
74142
|
-
declare const Tags: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
74143
|
-
|
|
74144
74102
|
declare const typographyVariants: (props?: ({
|
|
74145
74103
|
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body1" | "body2" | "caption" | null | undefined;
|
|
74146
74104
|
color?: "default" | "primary" | "destructive" | "muted" | null | undefined;
|
|
@@ -74982,5 +74940,5 @@ declare const MoniteAPIProvider: ({ children, APIContext, }: {
|
|
|
74982
74940
|
APIContext: Context<QraftContextValue>;
|
|
74983
74941
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
74984
74942
|
|
|
74985
|
-
export { schema_d as APISchema, ApprovalPolicies, ApprovalPoliciesTable, ApprovalPolicyDetails, ApprovalRequests, ApprovalRequestsTable, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, CounterpartAutocomplete, CounterpartDetails, Counterparts, CreateProduct, CreateReceivables, CreditNotesTable, CustomersTable, Dialog, FinanceBanner, FinanceIntegrationCard, FinanceInvoice, FinanceTab, Integrations, InvoicesTable, LOGO_MAX_FILE_SIZE_IN_MB, LOGO_SUPPORTED_FORMATS, MoniteAPIProvider, MoniteProvider, MoniteScopedProviders, OCR_SUPPORTED_FORMATS, PageHeader, PayableDetails, Payables, PayablesTable, ProductDetails, Products, ProductsTable, QuotesTable, Receivables, ReceivablesTable, ReceivablesTableTabEnum, RootElementsProvider,
|
|
74943
|
+
export { schema_d as APISchema, ApprovalPolicies, ApprovalPoliciesTable, ApprovalPolicyDetails, ApprovalRequests, ApprovalRequestsTable, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, CounterpartAutocomplete, CounterpartDetails, Counterparts, CreateProduct, CreateReceivables, CreditNotesTable, CustomersTable, Dialog, FinanceBanner, FinanceIntegrationCard, FinanceInvoice, FinanceTab, Integrations, InvoicesTable, LOGO_MAX_FILE_SIZE_IN_MB, LOGO_SUPPORTED_FORMATS, MoniteAPIProvider, MoniteProvider, MoniteScopedProviders, OCR_SUPPORTED_FORMATS, PageHeader, PayableDetails, Payables, PayablesTable, ProductDetails, Products, ProductsTable, QuotesTable, Receivables, ReceivablesTable, ReceivablesTableTabEnum, RootElementsProvider, VendorsTable, breakpoints, countryCurrencyList, createAPIClient, dateStringToLocalDate, defaultAvailableCountries, defaultAvailableCurrencies, defaultCounterpartColumnWidth, filterOptions, formatDateRangeFilterChip, formatFilterChipMultiSelectValueSegment, getCounterpartName, getCountries, getCountriesArray, getCurrencies, getCurrenciesArray, getEntityName, getGroupTitleForOption, getIndividualName, getIndividualNameWithFallback, getPayableRefetchInterval, getUserDisplayName, rateMajorToMinor, rateMinorToMajor, sortCurrencyOptionsByGroup, useApprovalPolicyById, useAreCounterpartsLoading, useAutosizeGridColumns, useCancelPayableById, useComboboxAnchor, useComponentSettings, useCounterpartAddresses, useCounterpartById, useCounterpartContactList, useCounterpartList, useCounterpartVatList, useCreatePayable, useCreatePayableLineItem, useCreatePaymentRecord, useCurrencies, useDebounce, useDebounceCallback, useDeletePayable, useDeletePayableLineItem, useDialog, useEntitySettings, useEntityUserByAuthToken, useEntityUserById, useEntityUserNames, useFileById, useFileInput, useForceApprovePayable, useForceRejectPayable, useFormPersist, useGetPayableApprovalRequests, useGetPayableById, useGetPayableCounterpart, useGetPayableLineItems, useGetPayablesAnalytics, useGetReceivableById, useIsDesktopScreen, useIsExtraLargeDesktopScreen, useIsLargeDesktopScreen, useIsLargerThan, useIsMobile, useIsMobileScreen, useIsMounted, useIsSmallerThan, useIsTabletScreen, useLedgerAccounts, useLocalStorageFields, useMe, useMediaQuery, useMenuButton, useMoniteContext, useMyEntity, useOptionalFields, usePatchEntitiesIdSettings, usePayButtonVisibility, usePayableCallbacks, usePayableDetailsThemeProps, usePayablePaymentIntentsAndRecords, usePaymentIntentById, usePaymentRecordById, usePaymentRecords, useReceivablesTableProps, useReopenPayable, useRootElements, useSubmitPayableForApproval, useUpdatePayable, useUpdatePayableLineItem };
|
|
74986
74944
|
export type { ApprovalPolicyDetailsProps, ComponentSettings, CounterpartResponse, CounterpartsAutocompleteOptionProps, CountriesType, CountryType, CreateMoniteAPIClientOptions, CreateMoniteAPIClientResult, CreateProductProps, CreateReceivableResult, CreateReceivableSubmitMode, CreateReceivablesProps, CreditNotesTableSortModel, CurrenciesType, CurrencyGroup, CurrencyType, CustomersTableProps, InvoicesTableProps, MoniteApprovalRequestStatusChipProps, MoniteApprovalStatusChipProps, MoniteCounterpartStatusChipProps, MoniteDialogProps, MoniteInvoiceRecurrenceIterationStatusChipProps, MoniteInvoiceRecurrenceStatusChipProps, MoniteInvoiceStatusChipProps, MonitePayableStatusChipProps, MoniteReceivablesTableProps, MoniteSettings, PaginationLayout, PaginationPosition, PayActionHandlers, PayablesDetailsProps, PayablesProps, ProductDetailsProps, ProductTableProps, ProductsProps, QuotesTableSortModel, ReceivableGridSortModel, ReceivablesProps, ReceivablesTableProps, UseEntityUserNamesParams, UseFileInputOptions, VendorDetailsProps, VendorsTableProps };
|
package/dist/lib/monite-sdk.js
CHANGED
|
@@ -79,16 +79,13 @@ import { ProductsTable as wt } from "../libs/tesouro-embedded-components-react/m
|
|
|
79
79
|
import { ProductDetails as Tt } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js";
|
|
80
80
|
import { CreateProduct as Et } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js";
|
|
81
81
|
import { Products as Dt } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js";
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import { MoniteAPIProvider as It } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js";
|
|
91
|
-
import { MoniteProvider as Lt } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js";
|
|
92
|
-
import { toast as Rt } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js";
|
|
82
|
+
import { FinanceBanner as Ot } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js";
|
|
83
|
+
import { FinanceIntegrationCard as kt } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js";
|
|
84
|
+
import { FinanceInvoice as At } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js";
|
|
85
|
+
import { FinanceTab as jt } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js";
|
|
86
|
+
import { Integrations as Mt } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js";
|
|
87
|
+
import { MoniteAPIProvider as Nt } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js";
|
|
88
|
+
import { MoniteProvider as Pt } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js";
|
|
89
|
+
import { toast as Ft } from "../libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js";
|
|
93
90
|
import "../libs/tesouro-embedded-components-react/monite-sdk/dist/index.js";
|
|
94
|
-
export { We as ApprovalPolicies, He as ApprovalPoliciesTable, Ve as ApprovalPolicyDetails, Ke as ApprovalRequests, Ge as ApprovalRequestsTable, w as Combobox, T as ComboboxChip, E as ComboboxChips, D as ComboboxChipsInput, O as ComboboxCollection, k as ComboboxContent, A as ComboboxEmpty, j as ComboboxGroup, M as ComboboxInput, N as ComboboxItem, P as ComboboxLabel, F as ComboboxList, I as ComboboxSeparator, L as ComboboxTrigger, R as ComboboxValue, Be as CounterpartAutocomplete, Ie as CounterpartDetails, ze as Counterparts, Et as CreateProduct, yt as CreateReceivables, vt as CreditNotesTable, Le as CustomersTable, Ne as Dialog,
|
|
91
|
+
export { We as ApprovalPolicies, He as ApprovalPoliciesTable, Ve as ApprovalPolicyDetails, Ke as ApprovalRequests, Ge as ApprovalRequestsTable, w as Combobox, T as ComboboxChip, E as ComboboxChips, D as ComboboxChipsInput, O as ComboboxCollection, k as ComboboxContent, A as ComboboxEmpty, j as ComboboxGroup, M as ComboboxInput, N as ComboboxItem, P as ComboboxLabel, F as ComboboxList, I as ComboboxSeparator, L as ComboboxTrigger, R as ComboboxValue, Be as CounterpartAutocomplete, Ie as CounterpartDetails, ze as Counterparts, Et as CreateProduct, yt as CreateReceivables, vt as CreditNotesTable, Le as CustomersTable, Ne as Dialog, Ot as FinanceBanner, kt as FinanceIntegrationCard, At as FinanceInvoice, jt as FinanceTab, Mt as Integrations, gt as InvoicesTable, de as LOGO_MAX_FILE_SIZE_IN_MB, fe as LOGO_SUPPORTED_FORMATS, Nt as MoniteAPIProvider, Pt as MoniteProvider, Fe as MoniteScopedProviders, pe as OCR_SUPPORTED_FORMATS, Ue as PageHeader, pt as PayableDetails, ht as Payables, mt as PayablesTable, Tt as ProductDetails, Dt as Products, wt as ProductsTable, _t as QuotesTable, Ct as Receivables, bt as ReceivablesTable, xt as ReceivablesTableTabEnum, ce as RootElementsProvider, Re as VendorsTable, we as breakpoints, t as countryCurrencyList, e as createAPIClient, g as dateStringToLocalDate, n as defaultAvailableCountries, a as defaultAvailableCurrencies, he as defaultCounterpartColumnWidth, o as filterOptions, _ as formatDateRangeFilterChip, v as formatFilterChipMultiSelectValueSegment, S as getCounterpartName, r as getCountries, i as getCountriesArray, s as getCurrencies, c as getCurrenciesArray, X as getEntityName, l as getGroupTitleForOption, p as getIndividualName, m as getIndividualNameWithFallback, Qe as getPayableRefetchInterval, h as getUserDisplayName, u as rateMajorToMinor, d as rateMinorToMajor, f as sortCurrencyOptionsByGroup, Ft as toast, J as useApprovalPolicyById, ge as useAreCounterpartsLoading, _e as useAutosizeGridColumns, st as useCancelPayableById, z as useComboboxAnchor, Ce as useComponentSettings, H as useCounterpartAddresses, x as useCounterpartById, W as useCounterpartContactList, V as useCounterpartList, U as useCounterpartVatList, nt as useCreatePayable, it as useCreatePayableLineItem, $ as useCreatePaymentRecord, C as useCurrencies, be as useDebounce, xe as useDebounceCallback, ft as useDeletePayable, ot as useDeletePayableLineItem, Pe as useDialog, ie as useEntitySettings, G as useEntityUserByAuthToken, K as useEntityUserById, q as useEntityUserNames, Y as useFileById, me as useFileInput, ut as useForceApprovePayable, lt as useForceRejectPayable, ve as useFormPersist, tt as useGetPayableApprovalRequests, $e as useGetPayableById, qe as useGetPayableCounterpart, et as useGetPayableLineItems, B as useGetPayablesAnalytics, oe as useGetReceivableById, Te as useIsDesktopScreen, Ee as useIsExtraLargeDesktopScreen, De as useIsLargeDesktopScreen, Oe as useIsLargerThan, Se as useIsMobile, ke as useIsMobileScreen, y as useIsMounted, Ae as useIsSmallerThan, je as useIsTabletScreen, Ze as useLedgerAccounts, ye as useLocalStorageFields, Z as useMe, Me as useMediaQuery, ue as useMenuButton, b as useMoniteContext, Q as useMyEntity, se as useOptionalFields, ae as usePatchEntitiesIdSettings, Xe as usePayButtonVisibility, Ye as usePayableCallbacks, Je as usePayableDetailsThemeProps, ee as usePayablePaymentIntentsAndRecords, re as usePaymentIntentById, te as usePaymentRecordById, ne as usePaymentRecords, St as useReceivablesTableProps, dt as useReopenPayable, le as useRootElements, ct as useSubmitPayableForApproval, rt as useUpdatePayable, at as useUpdatePayableLineItem };
|
|
@@ -18,7 +18,7 @@ import "../../create-card/feature/dist/index.js";
|
|
|
18
18
|
import { useCallback as u, useMemo as d, useState as f } from "react";
|
|
19
19
|
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
20
20
|
//#region ../../libs/tesouro-embedded-components-react/cards-widget/feature/dist/index9.js
|
|
21
|
-
function g({ cardProgram: e, pagination: t, defaultPagination: g, onPaginationChange: _, labels: v, featureLabels: y, selectedCardId: b, defaultSelectedCardId: x, onSelectedCardIdChange: S, cardDetailsLabels: C, cardDetailsFeatureLabels: w, cardDetailsActivateLabels: T, bankLogoSrc: E, bankLogoAlt: D, cardArtSrc: O, createCardLabels: k, createCardFeatureLabels: A, onCreateCard: j, onActivateCard: M }) {
|
|
21
|
+
function g({ cardProgram: e, pagination: t, defaultPagination: g, onPaginationChange: _, labels: v, featureLabels: y, selectedCardId: b, defaultSelectedCardId: x, onSelectedCardIdChange: S, cardDetailsLabels: C, cardDetailsFeatureLabels: w, cardDetailsActivateLabels: T, bankLogoSrc: E, bankLogoAlt: D, cardArtSrc: O, createCardLabels: k, createCardFeatureLabels: A, onCreateCard: j, onActivateCard: M, headerStart: ee }) {
|
|
22
22
|
let { selectedCardId: N, onSelectCard: P, onCreateCardClick: F, canCreateCard: I, canReadCards: L, ...R } = s({
|
|
23
23
|
cardProgram: e,
|
|
24
24
|
pagination: t,
|
|
@@ -39,15 +39,16 @@ function g({ cardProgram: e, pagination: t, defaultPagination: g, onPaginationCh
|
|
|
39
39
|
V(!1), P(e);
|
|
40
40
|
}, [P]), Z = e === "debit" && !!O && !!I && F === void 0, Q = B && N === null && Z;
|
|
41
41
|
B && (N !== null || !Z) && V(!1), Q ? K !== "create" && q("create") : N !== null && (K !== "details" && q("details"), N !== W && G(N));
|
|
42
|
-
let $ = K === "create",
|
|
42
|
+
let $ = K === "create", te = N !== null || Q;
|
|
43
43
|
return /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(a, {
|
|
44
44
|
...R,
|
|
45
45
|
canCreateCard: I,
|
|
46
46
|
onCreateCardClick: F ?? J,
|
|
47
|
+
headerStart: ee,
|
|
47
48
|
labels: z,
|
|
48
49
|
testIds: r
|
|
49
50
|
}), /* @__PURE__ */ m(o, {
|
|
50
|
-
isOpen:
|
|
51
|
+
isOpen: te,
|
|
51
52
|
labels: $ ? z.createSheet : z.detailsSheet,
|
|
52
53
|
contentClassName: $ ? "ttw:overflow-hidden ttw:p-0 ttw:min-h-0" : void 0,
|
|
53
54
|
onClose: Y,
|
package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js
CHANGED
|
@@ -24,33 +24,34 @@ function C({ columnCount: e }) {
|
|
|
24
24
|
children: Array.from({ length: e }).map((e, n) => /* @__PURE__ */ _(a, { children: /* @__PURE__ */ _(t, { className: "ttw:h-4 ttw:w-24" }) }, n))
|
|
25
25
|
}, r)) });
|
|
26
26
|
}
|
|
27
|
-
function w({ rows: t, columns: g, isLoading: S = !1, isError: w = !1, canToggleShowMyCards: T = !1, isShowingMyCards: E = !0, onShowMyCardsChange: D, canCreateCard: O = !1, onCreateCardClick: k,
|
|
28
|
-
let
|
|
29
|
-
onPageSizeChange:
|
|
30
|
-
onPreviousPageClick:
|
|
31
|
-
onNextPageClick:
|
|
32
|
-
} : void 0,
|
|
27
|
+
function w({ rows: t, columns: g, isLoading: S = !1, isError: w = !1, canToggleShowMyCards: T = !1, isShowingMyCards: E = !0, onShowMyCardsChange: D, canCreateCard: O = !1, onCreateCardClick: k, headerStart: A, onRetry: j, isPaginationVisible: M = !1, pageSize: N = 10, pageSizeOptions: P = x, rangeLabel: F = "", isPreviousPageDisabled: I = !1, isNextPageDisabled: L = !1, onPageSizeChange: R, onPreviousPageClick: z, onNextPageClick: B, labels: V, testIds: H }) {
|
|
28
|
+
let U = m(), W = h(() => f(V), [V]), G = !!(O && k), K = R && z && B ? {
|
|
29
|
+
onPageSizeChange: R,
|
|
30
|
+
onPreviousPageClick: z,
|
|
31
|
+
onNextPageClick: B
|
|
32
|
+
} : void 0, q = g.length + 1;
|
|
33
33
|
return /* @__PURE__ */ v("section", {
|
|
34
|
-
"aria-label":
|
|
34
|
+
"aria-label": W.regionLabel,
|
|
35
35
|
"aria-busy": S || void 0,
|
|
36
|
-
"data-testid":
|
|
36
|
+
"data-testid": H?.root,
|
|
37
37
|
children: [
|
|
38
|
-
|
|
39
|
-
className: "ttw:mb-5 ttw:flex ttw:
|
|
40
|
-
children: /* @__PURE__ */ v(e, {
|
|
38
|
+
(G || A) && /* @__PURE__ */ v("header", {
|
|
39
|
+
className: "ttw:mb-5 ttw:flex ttw:items-center ttw:gap-4",
|
|
40
|
+
children: [A, G && /* @__PURE__ */ v(e, {
|
|
41
41
|
size: "sm",
|
|
42
42
|
disabled: S,
|
|
43
43
|
onClick: k,
|
|
44
|
+
className: "ttw:ml-auto",
|
|
44
45
|
children: [/* @__PURE__ */ _(b, {
|
|
45
46
|
"aria-hidden": !0,
|
|
46
47
|
className: "ttw:size-4"
|
|
47
|
-
}),
|
|
48
|
-
})
|
|
48
|
+
}), W.createCardButton]
|
|
49
|
+
})]
|
|
49
50
|
}),
|
|
50
51
|
S && /* @__PURE__ */ _("span", {
|
|
51
52
|
role: "status",
|
|
52
53
|
className: "ttw:sr-only",
|
|
53
|
-
children:
|
|
54
|
+
children: W.loadingLabel
|
|
54
55
|
}),
|
|
55
56
|
T && D && /* @__PURE__ */ v("div", {
|
|
56
57
|
className: "ttw:mb-4 ttw:flex ttw:items-center ttw:gap-3",
|
|
@@ -58,11 +59,11 @@ function w({ rows: t, columns: g, isLoading: S = !1, isError: w = !1, canToggleS
|
|
|
58
59
|
checked: E,
|
|
59
60
|
disabled: S,
|
|
60
61
|
onCheckedChange: D,
|
|
61
|
-
"aria-labelledby":
|
|
62
|
+
"aria-labelledby": U
|
|
62
63
|
}), /* @__PURE__ */ _("span", {
|
|
63
|
-
id:
|
|
64
|
+
id: U,
|
|
64
65
|
className: "ttw:text-sm ttw:font-medium ttw:text-foreground",
|
|
65
|
-
children:
|
|
66
|
+
children: W.showMyCardsToggle
|
|
66
67
|
})]
|
|
67
68
|
}),
|
|
68
69
|
/* @__PURE__ */ v("div", {
|
|
@@ -71,61 +72,61 @@ function w({ rows: t, columns: g, isLoading: S = !1, isError: w = !1, canToggleS
|
|
|
71
72
|
className: "ttw:hover:bg-transparent",
|
|
72
73
|
children: [g.map((e) => /* @__PURE__ */ _(o, {
|
|
73
74
|
className: "ttw:text-sm",
|
|
74
|
-
children:
|
|
75
|
+
children: W.columnHeaders[e]
|
|
75
76
|
}, e)), /* @__PURE__ */ _(o, {
|
|
76
77
|
className: "ttw:w-[90px]",
|
|
77
78
|
children: /* @__PURE__ */ _("span", {
|
|
78
79
|
className: "ttw:sr-only",
|
|
79
|
-
children:
|
|
80
|
+
children: W.rowActionsColumn
|
|
80
81
|
})
|
|
81
82
|
})]
|
|
82
83
|
}) }), /* @__PURE__ */ _(i, { children: w ? /* @__PURE__ */ _(c, {
|
|
83
84
|
className: "ttw:hover:bg-transparent",
|
|
84
85
|
children: /* @__PURE__ */ _(a, {
|
|
85
|
-
colSpan:
|
|
86
|
+
colSpan: q,
|
|
86
87
|
className: "ttw:p-0",
|
|
87
88
|
children: /* @__PURE__ */ _(u, {
|
|
88
|
-
title:
|
|
89
|
-
description:
|
|
90
|
-
retryLabel:
|
|
91
|
-
onRetry:
|
|
92
|
-
testId:
|
|
89
|
+
title: W.errorTitle,
|
|
90
|
+
description: W.errorDescription,
|
|
91
|
+
retryLabel: W.retryButton,
|
|
92
|
+
onRetry: j,
|
|
93
|
+
testId: H?.error
|
|
93
94
|
})
|
|
94
95
|
})
|
|
95
|
-
}) : S ? /* @__PURE__ */ _(C, { columnCount:
|
|
96
|
+
}) : S ? /* @__PURE__ */ _(C, { columnCount: q }) : t.length === 0 ? /* @__PURE__ */ _(c, {
|
|
96
97
|
className: "ttw:hover:bg-transparent",
|
|
97
98
|
children: /* @__PURE__ */ _(a, {
|
|
98
|
-
colSpan:
|
|
99
|
+
colSpan: q,
|
|
99
100
|
className: "ttw:p-0",
|
|
100
101
|
children: /* @__PURE__ */ _(l, {
|
|
101
102
|
icon: /* @__PURE__ */ _(y, { className: "ttw:size-6 ttw:text-muted-foreground" }),
|
|
102
|
-
title:
|
|
103
|
-
description:
|
|
104
|
-
actionLabel:
|
|
103
|
+
title: W.emptyTitle,
|
|
104
|
+
description: W.emptyDescription,
|
|
105
|
+
actionLabel: G ? W.createCardButton : void 0,
|
|
105
106
|
actionIcon: /* @__PURE__ */ _(b, {
|
|
106
107
|
"aria-hidden": !0,
|
|
107
108
|
className: "ttw:size-4"
|
|
108
109
|
}),
|
|
109
|
-
onAction:
|
|
110
|
-
testId:
|
|
110
|
+
onAction: G ? k : void 0,
|
|
111
|
+
testId: H?.empty
|
|
111
112
|
})
|
|
112
113
|
})
|
|
113
114
|
}) : t.map((e) => /* @__PURE__ */ _(p, {
|
|
114
|
-
testIds:
|
|
115
|
+
testIds: H?.row,
|
|
115
116
|
row: e,
|
|
116
117
|
columns: g,
|
|
117
|
-
labels:
|
|
118
|
-
}, e.key)) })] }),
|
|
119
|
-
pageSize:
|
|
120
|
-
pageSizeOptions:
|
|
121
|
-
rangeLabel:
|
|
122
|
-
isPreviousDisabled:
|
|
123
|
-
isNextDisabled:
|
|
118
|
+
labels: W
|
|
119
|
+
}, e.key)) })] }), M && K && /* @__PURE__ */ _(d, {
|
|
120
|
+
pageSize: N,
|
|
121
|
+
pageSizeOptions: P,
|
|
122
|
+
rangeLabel: F,
|
|
123
|
+
isPreviousDisabled: I,
|
|
124
|
+
isNextDisabled: L,
|
|
124
125
|
isDisabled: S,
|
|
125
|
-
onPageSizeChange:
|
|
126
|
-
onPreviousPageClick:
|
|
127
|
-
onNextPageClick:
|
|
128
|
-
labels:
|
|
126
|
+
onPageSizeChange: K.onPageSizeChange,
|
|
127
|
+
onPreviousPageClick: K.onPreviousPageClick,
|
|
128
|
+
onNextPageClick: K.onNextPageClick,
|
|
129
|
+
labels: W.pagination
|
|
129
130
|
})]
|
|
130
131
|
})
|
|
131
132
|
]
|
|
@@ -83,16 +83,13 @@ import { ProductsTable as wt } from "./index544.js";
|
|
|
83
83
|
import { ProductDetails as Tt } from "./index548.js";
|
|
84
84
|
import { CreateProduct as Et } from "./index549.js";
|
|
85
85
|
import { Products as Dt } from "./index550.js";
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import "./
|
|
95
|
-
|
|
96
|
-
import { MoniteProvider as Lt } from "./index599.js";
|
|
97
|
-
import { toast as Rt } from "./index600.js";
|
|
98
|
-
export { We as ApprovalPolicies, He as ApprovalPoliciesTable, Ve as ApprovalPolicyDetails, Ke as ApprovalRequests, Ge as ApprovalRequestsTable, w as Combobox, T as ComboboxChip, E as ComboboxChips, D as ComboboxChipsInput, O as ComboboxCollection, k as ComboboxContent, A as ComboboxEmpty, j as ComboboxGroup, M as ComboboxInput, N as ComboboxItem, P as ComboboxLabel, F as ComboboxList, I as ComboboxSeparator, L as ComboboxTrigger, R as ComboboxValue, Be as CounterpartAutocomplete, Ie as CounterpartDetails, ze as Counterparts, Et as CreateProduct, yt as CreateReceivables, vt as CreditNotesTable, Le as CustomersTable, Ne as Dialog, jt as FinanceBanner, Mt as FinanceIntegrationCard, Nt as FinanceInvoice, Pt as FinanceTab, Ft as Integrations, gt as InvoicesTable, de as LOGO_MAX_FILE_SIZE_IN_MB, fe as LOGO_SUPPORTED_FORMATS, It as MoniteAPIProvider, Lt as MoniteProvider, Fe as MoniteScopedProviders, pe as OCR_SUPPORTED_FORMATS, Ue as PageHeader, pt as PayableDetails, ht as Payables, mt as PayablesTable, Tt as ProductDetails, Dt as Products, wt as ProductsTable, _t as QuotesTable, Ct as Receivables, bt as ReceivablesTable, xt as ReceivablesTableTabEnum, ce as RootElementsProvider, Ot as TagFormModal, At as Tags, kt as TagsTable, Re as VendorsTable, we as breakpoints, t as countryCurrencyList, e as createAPIClient, g as dateStringToLocalDate, n as defaultAvailableCountries, a as defaultAvailableCurrencies, he as defaultCounterpartColumnWidth, o as filterOptions, _ as formatDateRangeFilterChip, v as formatFilterChipMultiSelectValueSegment, S as getCounterpartName, r as getCountries, i as getCountriesArray, s as getCurrencies, c as getCurrenciesArray, X as getEntityName, l as getGroupTitleForOption, p as getIndividualName, m as getIndividualNameWithFallback, Qe as getPayableRefetchInterval, h as getUserDisplayName, u as rateMajorToMinor, d as rateMinorToMajor, f as sortCurrencyOptionsByGroup, Rt as toast, J as useApprovalPolicyById, ge as useAreCounterpartsLoading, _e as useAutosizeGridColumns, st as useCancelPayableById, z as useComboboxAnchor, Ce as useComponentSettings, H as useCounterpartAddresses, x as useCounterpartById, W as useCounterpartContactList, V as useCounterpartList, U as useCounterpartVatList, nt as useCreatePayable, it as useCreatePayableLineItem, $ as useCreatePaymentRecord, C as useCurrencies, be as useDebounce, xe as useDebounceCallback, ft as useDeletePayable, ot as useDeletePayableLineItem, Pe as useDialog, ie as useEntitySettings, G as useEntityUserByAuthToken, K as useEntityUserById, q as useEntityUserNames, Y as useFileById, me as useFileInput, ut as useForceApprovePayable, lt as useForceRejectPayable, ve as useFormPersist, tt as useGetPayableApprovalRequests, $e as useGetPayableById, qe as useGetPayableCounterpart, et as useGetPayableLineItems, B as useGetPayablesAnalytics, oe as useGetReceivableById, Te as useIsDesktopScreen, Ee as useIsExtraLargeDesktopScreen, De as useIsLargeDesktopScreen, Oe as useIsLargerThan, Se as useIsMobile, ke as useIsMobileScreen, y as useIsMounted, Ae as useIsSmallerThan, je as useIsTabletScreen, Ze as useLedgerAccounts, ye as useLocalStorageFields, Z as useMe, Me as useMediaQuery, ue as useMenuButton, b as useMoniteContext, Q as useMyEntity, se as useOptionalFields, ae as usePatchEntitiesIdSettings, Xe as usePayButtonVisibility, Ye as usePayableCallbacks, Je as usePayableDetailsThemeProps, ee as usePayablePaymentIntentsAndRecords, re as usePaymentIntentById, te as usePaymentRecordById, ne as usePaymentRecords, St as useReceivablesTableProps, dt as useReopenPayable, le as useRootElements, ct as useSubmitPayableForApproval, rt as useUpdatePayable, at as useUpdatePayableLineItem };
|
|
86
|
+
import { FinanceBanner as Ot } from "./index563.js";
|
|
87
|
+
import { FinanceIntegrationCard as kt } from "./index569.js";
|
|
88
|
+
import { FinanceInvoice as At } from "./index571.js";
|
|
89
|
+
import { FinanceTab as jt } from "./index576.js";
|
|
90
|
+
import { Integrations as Mt } from "./index579.js";
|
|
91
|
+
import "./index581.js";
|
|
92
|
+
import { MoniteAPIProvider as Nt } from "./index586.js";
|
|
93
|
+
import { MoniteProvider as Pt } from "./index587.js";
|
|
94
|
+
import { toast as Ft } from "./index588.js";
|
|
95
|
+
export { We as ApprovalPolicies, He as ApprovalPoliciesTable, Ve as ApprovalPolicyDetails, Ke as ApprovalRequests, Ge as ApprovalRequestsTable, w as Combobox, T as ComboboxChip, E as ComboboxChips, D as ComboboxChipsInput, O as ComboboxCollection, k as ComboboxContent, A as ComboboxEmpty, j as ComboboxGroup, M as ComboboxInput, N as ComboboxItem, P as ComboboxLabel, F as ComboboxList, I as ComboboxSeparator, L as ComboboxTrigger, R as ComboboxValue, Be as CounterpartAutocomplete, Ie as CounterpartDetails, ze as Counterparts, Et as CreateProduct, yt as CreateReceivables, vt as CreditNotesTable, Le as CustomersTable, Ne as Dialog, Ot as FinanceBanner, kt as FinanceIntegrationCard, At as FinanceInvoice, jt as FinanceTab, Mt as Integrations, gt as InvoicesTable, de as LOGO_MAX_FILE_SIZE_IN_MB, fe as LOGO_SUPPORTED_FORMATS, Nt as MoniteAPIProvider, Pt as MoniteProvider, Fe as MoniteScopedProviders, pe as OCR_SUPPORTED_FORMATS, Ue as PageHeader, pt as PayableDetails, ht as Payables, mt as PayablesTable, Tt as ProductDetails, Dt as Products, wt as ProductsTable, _t as QuotesTable, Ct as Receivables, bt as ReceivablesTable, xt as ReceivablesTableTabEnum, ce as RootElementsProvider, Re as VendorsTable, we as breakpoints, t as countryCurrencyList, e as createAPIClient, g as dateStringToLocalDate, n as defaultAvailableCountries, a as defaultAvailableCurrencies, he as defaultCounterpartColumnWidth, o as filterOptions, _ as formatDateRangeFilterChip, v as formatFilterChipMultiSelectValueSegment, S as getCounterpartName, r as getCountries, i as getCountriesArray, s as getCurrencies, c as getCurrenciesArray, X as getEntityName, l as getGroupTitleForOption, p as getIndividualName, m as getIndividualNameWithFallback, Qe as getPayableRefetchInterval, h as getUserDisplayName, u as rateMajorToMinor, d as rateMinorToMajor, f as sortCurrencyOptionsByGroup, Ft as toast, J as useApprovalPolicyById, ge as useAreCounterpartsLoading, _e as useAutosizeGridColumns, st as useCancelPayableById, z as useComboboxAnchor, Ce as useComponentSettings, H as useCounterpartAddresses, x as useCounterpartById, W as useCounterpartContactList, V as useCounterpartList, U as useCounterpartVatList, nt as useCreatePayable, it as useCreatePayableLineItem, $ as useCreatePaymentRecord, C as useCurrencies, be as useDebounce, xe as useDebounceCallback, ft as useDeletePayable, ot as useDeletePayableLineItem, Pe as useDialog, ie as useEntitySettings, G as useEntityUserByAuthToken, K as useEntityUserById, q as useEntityUserNames, Y as useFileById, me as useFileInput, ut as useForceApprovePayable, lt as useForceRejectPayable, ve as useFormPersist, tt as useGetPayableApprovalRequests, $e as useGetPayableById, qe as useGetPayableCounterpart, et as useGetPayableLineItems, B as useGetPayablesAnalytics, oe as useGetReceivableById, Te as useIsDesktopScreen, Ee as useIsExtraLargeDesktopScreen, De as useIsLargeDesktopScreen, Oe as useIsLargerThan, Se as useIsMobile, ke as useIsMobileScreen, y as useIsMounted, Ae as useIsSmallerThan, je as useIsTabletScreen, Ze as useLedgerAccounts, ye as useLocalStorageFields, Z as useMe, Me as useMediaQuery, ue as useMenuButton, b as useMoniteContext, Q as useMyEntity, se as useOptionalFields, ae as usePatchEntitiesIdSettings, Xe as usePayButtonVisibility, Ye as usePayableCallbacks, Je as usePayableDetailsThemeProps, ee as usePayablePaymentIntentsAndRecords, re as usePaymentIntentById, te as usePaymentRecordById, ne as usePaymentRecords, St as useReceivablesTableProps, dt as useReopenPayable, le as useRootElements, ct as useSubmitPayableForApproval, rt as useUpdatePayable, at as useUpdatePayableLineItem };
|
|
@@ -44,7 +44,6 @@ var a = [10, 25], o = (o, s) => ({
|
|
|
44
44
|
amount_to_pay: !1,
|
|
45
45
|
counterpart_bank_account_id: !1
|
|
46
46
|
},
|
|
47
|
-
isTagsDisabled: s?.payables?.isTagsDisabled,
|
|
48
47
|
enableGLCodes: s?.payables?.enableGLCodes ?? !1,
|
|
49
48
|
hideAddDiscountButton: s?.payables?.hideAddDiscountButton ?? !1,
|
|
50
49
|
hideAddBankAccountButton: s?.payables?.hideAddBankAccountButton ?? !1,
|
|
@@ -96,12 +95,6 @@ var a = [10, 25], o = (o, s) => ({
|
|
|
96
95
|
onUpdate: s?.receivables?.onUpdate,
|
|
97
96
|
onDelete: s?.receivables?.onDelete
|
|
98
97
|
},
|
|
99
|
-
tags: {
|
|
100
|
-
pageSizeOptions: s?.tags?.pageSizeOptions || a,
|
|
101
|
-
paginationLayout: s?.tags?.paginationLayout,
|
|
102
|
-
navigationPosition: s?.tags?.navigationPosition,
|
|
103
|
-
pageSizePosition: s?.tags?.pageSizePosition
|
|
104
|
-
},
|
|
105
98
|
userRoles: {
|
|
106
99
|
pageSizeOptions: s?.userRoles?.pageSizeOptions || a,
|
|
107
100
|
paginationLayout: s?.userRoles?.paginationLayout,
|