@tesouro/embedded-components-react 0.9.53 → 0.9.54
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 +0 -1
- package/dist/index.d.ts +1 -9
- package/dist/lib/ReceivablesWidget.d.ts +1 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +56 -57
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index56.js +40 -50
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -680,7 +680,6 @@ Lists, creates, edits and acts on an organization's invoices, including sending
|
|
|
680
680
|
| `onReceivableOpened` | `(id: string, type: ReceivableDocumentType) => void` | `undefined` | Called when the user opens a row's details panel. |
|
|
681
681
|
| `onTemplateSettingsClick` | `() => void` | `undefined` | Shows the invoice settings button in the header, for users holding `organization_settings:write:org`, and calls this when it is clicked. |
|
|
682
682
|
| `headerStart` | `ReactNode` | `undefined` | Rendered at the start of the header row. The widget renders no heading of its own, so pass your page title here. |
|
|
683
|
-
| `bankAttribution` | `ReceivableBankAttribution` | `undefined` | `{ logoSrc, logoAlt }` for the sponsor bank. Shows "Business Banking provided by" and the logo under `headerStart`. |
|
|
684
683
|
| `embeddedBankName` | `string` | `undefined` | Sponsor bank name shown as "Powered by {embeddedBankName}" next to embedded accounts in the invoice payment-account picker. Omitted when unset. |
|
|
685
684
|
| `screenLabels` | `ReceivablesScreenLabelOverrides` | English labels | Header, table, empty, error and status badge copy. |
|
|
686
685
|
| `filterBarLabels` | `InvoicesFilterBarLabelOverrides` | English labels | Invoice filter bar copy: field names, search, amount bounds, the customer panel and Clear all. |
|
package/dist/index.d.ts
CHANGED
|
@@ -5650,7 +5650,6 @@ interface ReceivablesScreenLabels {
|
|
|
5650
5650
|
createInvoiceButton: string;
|
|
5651
5651
|
/** The settings button's accessible name and tooltip. */
|
|
5652
5652
|
settingsButton: string;
|
|
5653
|
-
bankAttributionPrefix: string;
|
|
5654
5653
|
statusCardsAll: string;
|
|
5655
5654
|
columnDueDate: string;
|
|
5656
5655
|
columnStatus: string;
|
|
@@ -5859,11 +5858,6 @@ interface ReceivableActionDialogLabels {
|
|
|
5859
5858
|
}
|
|
5860
5859
|
|
|
5861
5860
|
type ReceivableDocumentType = ReceivableDocumentKind;
|
|
5862
|
-
/** The sponsor bank's logo, shown after "Business Banking provided by" under the header. */
|
|
5863
|
-
interface ReceivableBankAttribution {
|
|
5864
|
-
logoSrc: string;
|
|
5865
|
-
logoAlt: string;
|
|
5866
|
-
}
|
|
5867
5861
|
|
|
5868
5862
|
interface ReceivablePreviewLabels {
|
|
5869
5863
|
title: string;
|
|
@@ -6277,8 +6271,6 @@ interface ReceivablesWidgetOwnProps {
|
|
|
6277
6271
|
embeddedBankName?: string;
|
|
6278
6272
|
/** Rendered at the start of the header row. The widget renders no heading of its own (embedded ADR 0010), so pass the page title here. */
|
|
6279
6273
|
headerStart?: ReactNode;
|
|
6280
|
-
/** Shows "Business Banking provided by" and the sponsor bank's logo under `headerStart`. */
|
|
6281
|
-
bankAttribution?: ReceivableBankAttribution;
|
|
6282
6274
|
initialView?: 'create';
|
|
6283
6275
|
/** Preselects this customer in the create form with `initialView: 'create'`; otherwise filters the invoice list to them. */
|
|
6284
6276
|
initialCounterpartId?: string;
|
|
@@ -6423,4 +6415,4 @@ interface CheckAmountAndDetailScreenProps {
|
|
|
6423
6415
|
type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
|
|
6424
6416
|
|
|
6425
6417
|
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ACCOUNTS_QUICK_VIEW_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, AcceptDisclosuresWidget, AccountsQuickViewWidget, BALANCES_WIDGET_LABELS_EN, BANKING_COMPLIANCE_BANNER_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BankingComplianceBannerWidget, BillPayWidget, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget, CustomersWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, InsightsWidget, LinkedAccountsWidget, OFFER_WIDGET_LABELS_EN, OFFER_WIDGET_STATUS_LABELS_EN, OfferBenefitIcon, OfferWidget, OnboardingSuppressionReason, PERSONAL_DETAILS_LABELS_EN, ProductsWidget, RESULT_LABELS_EN, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, Scope, SettingsSection, SettingsWidget, THEME_TOKEN_NAMES, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TransfersWidget, UIFramework, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_LABELS_EN, WidgetProvider, WidgetSuite, WidgetSuiteSectionId, WidgetTokenRefreshProvider, cloneEmbeddedClient, createTheme, getGlobalWidgetConfig, getGlobalWidgetInitState, isScope, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, themeIssues, themeToCss, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetInitStaleForToken, useWidgetLoading, useWidgetToken };
|
|
6426
|
-
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccordionItemCardLabels, Labels$3 as AccountDetailsWidgetLabels, AccountsQuickViewWidgetLabels, AccountsQuickViewWidgetProps, ActivateCardPanelLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, ApplicationStatusLabelValues, ApplicationStatusLabels, ApplicationStatusNoticeLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$3 as BankAccountsWidgetFeatureLabels, Labels$4 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BankingComplianceBannerLabels, BankingComplianceBannerWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels, CardsListLabels as CardsLabels, CardsPagination, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CustomersWidgetOwnProps, CustomersWidgetProps, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels$2 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseStatusBadgeLabels, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$1 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, OfferStatusLabelValues, OfferStatusNoticeLabels, OfferWidgetBenefit, OfferWidgetContent, OfferWidgetHowItWorksStep, OfferWidgetImage, OfferWidgetLabels, OfferWidgetProps, OfferWidgetStatusLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels,
|
|
6418
|
+
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccordionItemCardLabels, Labels$3 as AccountDetailsWidgetLabels, AccountsQuickViewWidgetLabels, AccountsQuickViewWidgetProps, ActivateCardPanelLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, ApplicationStatusLabelValues, ApplicationStatusLabels, ApplicationStatusNoticeLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$3 as BankAccountsWidgetFeatureLabels, Labels$4 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BankingComplianceBannerLabels, BankingComplianceBannerWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels, CardsListLabels as CardsLabels, CardsPagination, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CustomersWidgetOwnProps, CustomersWidgetProps, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels$2 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseStatusBadgeLabels, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$1 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, OfferStatusLabelValues, OfferStatusNoticeLabels, OfferWidgetBenefit, OfferWidgetContent, OfferWidgetHowItWorksStep, OfferWidgetImage, OfferWidgetLabels, OfferWidgetProps, OfferWidgetStatusLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$1 as SettingsWidgetFeatureLabels, Labels as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, ThemeInput, ThemeIssue, ThemeTokenKey, ThemeTokenName, ThemeTokens, TransactionDetailsActionsLabels, TransactionDetailsLabels, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetSuiteCardsLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteOnboardingGateLabels, WidgetSuiteOnboardingLabels, WidgetSuiteProps, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
|
|
@@ -1080,7 +1080,6 @@ interface ReceivablesScreenLabels {
|
|
|
1080
1080
|
createInvoiceButton: string;
|
|
1081
1081
|
/** The settings button's accessible name and tooltip. */
|
|
1082
1082
|
settingsButton: string;
|
|
1083
|
-
bankAttributionPrefix: string;
|
|
1084
1083
|
statusCardsAll: string;
|
|
1085
1084
|
columnDueDate: string;
|
|
1086
1085
|
columnStatus: string;
|
|
@@ -1289,11 +1288,6 @@ interface ReceivableActionDialogLabels {
|
|
|
1289
1288
|
}
|
|
1290
1289
|
|
|
1291
1290
|
type ReceivableDocumentType = ReceivableDocumentKind;
|
|
1292
|
-
/** The sponsor bank's logo, shown after "Business Banking provided by" under the header. */
|
|
1293
|
-
interface ReceivableBankAttribution {
|
|
1294
|
-
logoSrc: string;
|
|
1295
|
-
logoAlt: string;
|
|
1296
|
-
}
|
|
1297
1291
|
|
|
1298
1292
|
interface ReceivablePreviewLabels {
|
|
1299
1293
|
title: string;
|
|
@@ -1707,8 +1701,6 @@ interface ReceivablesWidgetOwnProps {
|
|
|
1707
1701
|
embeddedBankName?: string;
|
|
1708
1702
|
/** Rendered at the start of the header row. The widget renders no heading of its own (embedded ADR 0010), so pass the page title here. */
|
|
1709
1703
|
headerStart?: ReactNode;
|
|
1710
|
-
/** Shows "Business Banking provided by" and the sponsor bank's logo under `headerStart`. */
|
|
1711
|
-
bankAttribution?: ReceivableBankAttribution;
|
|
1712
1704
|
initialView?: 'create';
|
|
1713
1705
|
/** Preselects this customer in the create form with `initialView: 'create'`; otherwise filters the invoice list to them. */
|
|
1714
1706
|
initialCounterpartId?: string;
|
|
@@ -1740,4 +1732,4 @@ type ReceivablesWidgetProps = WidgetProviderProps & ReceivablesWidgetOwnProps;
|
|
|
1740
1732
|
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
|
|
1741
1733
|
|
|
1742
1734
|
export { ReceivablesWidget };
|
|
1743
|
-
export type { CounterpartFormSheetLabels, CounterpartMessageLabels, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, ProductFormSheetLabels, ProductMessageLabels, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels,
|
|
1735
|
+
export type { CounterpartFormSheetLabels, CounterpartMessageLabels, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, ProductFormSheetLabels, ProductMessageLabels, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps };
|
|
@@ -25,42 +25,42 @@ import { ReceivableFormDialog as _ } from "../../../../ui/dist/index43.js";
|
|
|
25
25
|
import { ReceivablePaymentDialog as v } from "../../../../ui/dist/index44.js";
|
|
26
26
|
import { ReceivablePreview as y } from "../../../../ui/dist/index48.js";
|
|
27
27
|
import { ReceivableRecurrenceEmailDialog as b } from "../../../../ui/dist/index50.js";
|
|
28
|
-
import { ReceivableRecurrenceSection as
|
|
29
|
-
import { ReceivableRemindersSection as
|
|
30
|
-
import { ReceivablesScreen as
|
|
31
|
-
import { UnsavedInvoiceDialog as
|
|
28
|
+
import { ReceivableRecurrenceSection as x } from "../../../../ui/dist/index52.js";
|
|
29
|
+
import { ReceivableRemindersSection as ee } from "../../../../ui/dist/index54.js";
|
|
30
|
+
import { ReceivablesScreen as te } from "../../../../ui/dist/index56.js";
|
|
31
|
+
import { UnsavedInvoiceDialog as ne } from "../../../../ui/dist/index57.js";
|
|
32
32
|
import "../../../../ui/dist/index.js";
|
|
33
|
-
import { ReceivableAttachmentsSection as
|
|
34
|
-
import { ReceivableCustomerSection as
|
|
33
|
+
import { ReceivableAttachmentsSection as re } from "./ReceivableAttachmentsSection.js";
|
|
34
|
+
import { ReceivableCustomerSection as S } from "./ReceivableCustomerSection.js";
|
|
35
35
|
import "./lineItems.js";
|
|
36
|
-
import { MeasureUnitsManagerContainer as
|
|
37
|
-
import { ProductSelector as
|
|
36
|
+
import { MeasureUnitsManagerContainer as C } from "../../../../../shared/product-catalog/feature/dist/lib/MeasureUnitsManagerContainer.js";
|
|
37
|
+
import { ProductSelector as w } from "../../../../../shared/product-catalog/feature/dist/lib/ProductSelector.js";
|
|
38
38
|
import "../../../../../shared/product-catalog/feature/dist/index.js";
|
|
39
|
-
import { useReceivablesWidget as
|
|
40
|
-
import { useEffect as
|
|
41
|
-
import { Fragment as
|
|
39
|
+
import { useReceivablesWidget as T } from "./useReceivablesWidget.js";
|
|
40
|
+
import { useEffect as E, useId as D } from "react";
|
|
41
|
+
import { Fragment as O, jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
42
42
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js
|
|
43
|
-
function
|
|
43
|
+
function j({ auditHistoryLabels: i, counterpartFormLabels: l, counterpartMessageLabels: j, detailsLabels: M, embeddedBankName: N, filterBarLabels: P, filterLabels: F, formLabels: I, headerStart: L, initialCounterpartId: ie, initialView: R, measureUnitDeleteLabels: z, measureUnitsLabels: B, messageLabels: V, onReceivableCreated: H, onReceivableOpened: U, onTemplateSettingsClick: W, pageSizeOptions: G = u, paymentLabels: K, previewLabels: q, productMessageLabels: J, screenLabels: Y, actionLabels: ae, actionsModalLabels: oe }) {
|
|
44
44
|
let X = r();
|
|
45
|
-
|
|
45
|
+
E(() => {
|
|
46
46
|
X(c.Mounted);
|
|
47
47
|
}, [X]);
|
|
48
|
-
let Z =
|
|
48
|
+
let Z = T({
|
|
49
49
|
auditHistoryLabels: i,
|
|
50
50
|
counterpartMessageLabels: j,
|
|
51
51
|
embeddedBankName: N,
|
|
52
52
|
filterLabels: F,
|
|
53
|
-
initialCounterpartId:
|
|
54
|
-
initialView:
|
|
53
|
+
initialCounterpartId: ie,
|
|
54
|
+
initialView: R,
|
|
55
55
|
messageLabels: V,
|
|
56
56
|
onReceivableCreated: H,
|
|
57
57
|
onReceivableOpened: U,
|
|
58
58
|
pageSizeOptions: G,
|
|
59
59
|
screenLabels: Y
|
|
60
|
-
}),
|
|
61
|
-
return /* @__PURE__ */
|
|
62
|
-
/* @__PURE__ */
|
|
63
|
-
/* @__PURE__ */
|
|
60
|
+
}), se = D(), Q = D(), $ = D(), ce = D(), le = D(), ue = D();
|
|
61
|
+
return /* @__PURE__ */ A(O, { children: [
|
|
62
|
+
/* @__PURE__ */ k(n, { position: "bottom-left" }),
|
|
63
|
+
/* @__PURE__ */ k(te, {
|
|
64
64
|
rows: Z.table.rows,
|
|
65
65
|
isLoading: Z.isTableLoading,
|
|
66
66
|
isError: Z.isError,
|
|
@@ -76,20 +76,19 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
76
76
|
onPrevPage: Z.table.onPrevPage,
|
|
77
77
|
statusCards: Z.table.statusCards,
|
|
78
78
|
onStatusCardSelect: Z.table.onStatusCardSelect,
|
|
79
|
-
filterBar: /* @__PURE__ */
|
|
79
|
+
filterBar: /* @__PURE__ */ k(d, {
|
|
80
80
|
...Z.table.filterBar,
|
|
81
81
|
labels: P
|
|
82
82
|
}),
|
|
83
83
|
isFiltering: Z.table.isFiltering,
|
|
84
84
|
headerStart: L,
|
|
85
|
-
bankAttribution: l,
|
|
86
85
|
onCreateClick: Z.canWrite ? Z.openCreate : void 0,
|
|
87
86
|
onSettingsClick: Z.canEditSettings ? W : void 0,
|
|
88
87
|
onRowClick: Z.handleRowClick,
|
|
89
88
|
onRetry: Z.onRetry,
|
|
90
89
|
labels: Y
|
|
91
90
|
}),
|
|
92
|
-
/* @__PURE__ */
|
|
91
|
+
/* @__PURE__ */ k(_, {
|
|
93
92
|
open: Z.form.open,
|
|
94
93
|
onRequestClose: Z.form.requestClose,
|
|
95
94
|
mode: Z.form.mode,
|
|
@@ -101,8 +100,8 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
101
100
|
autoFocusLineItemId: Z.form.autoFocusLineItemId,
|
|
102
101
|
lineItemsLoading: Z.form.lineItemsLoading,
|
|
103
102
|
inProgress: Z.form.fieldsDisabled || Z.actionsSuspended,
|
|
104
|
-
customerSection: /* @__PURE__ */
|
|
105
|
-
idPrefix:
|
|
103
|
+
customerSection: /* @__PURE__ */ k(S, {
|
|
104
|
+
idPrefix: Q,
|
|
106
105
|
customerId: Z.form.values.customerId,
|
|
107
106
|
customer: Z.form.customer,
|
|
108
107
|
customerName: Z.form.values.customerName,
|
|
@@ -125,7 +124,7 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
125
124
|
}),
|
|
126
125
|
labels: I
|
|
127
126
|
}),
|
|
128
|
-
renderProductSelector: (e, t) => /* @__PURE__ */
|
|
127
|
+
renderProductSelector: (e, t) => /* @__PURE__ */ k(w, {
|
|
129
128
|
...t,
|
|
130
129
|
inputValue: e.name,
|
|
131
130
|
selectedProductId: Z.form.values.lineItems.find((t) => t.id === e.id)?.productId || void 0,
|
|
@@ -146,8 +145,8 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
146
145
|
onAddLineItem: Z.form.addLineItem,
|
|
147
146
|
onRemoveLineItem: Z.form.removeLineItem,
|
|
148
147
|
showDueDateField: Z.form.showDueDateField,
|
|
149
|
-
billingSection: Z.form.showBillingSection && /* @__PURE__ */
|
|
150
|
-
idPrefix:
|
|
148
|
+
billingSection: Z.form.showBillingSection && /* @__PURE__ */ k(h, {
|
|
149
|
+
idPrefix: se,
|
|
151
150
|
paymentTerms: Z.form.paymentTerms.view,
|
|
152
151
|
paymentTermsError: Z.form.errors.paymentTermsId,
|
|
153
152
|
disabled: Z.form.fieldsDisabled,
|
|
@@ -155,13 +154,13 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
155
154
|
onCustomDatePickerOpenChange: Z.form.paymentTerms.changeCustomDatePickerOpen,
|
|
156
155
|
purchaseOrder: Z.form.purchaseOrder,
|
|
157
156
|
onPurchaseOrderChange: (e) => Z.form.updateValues({ purchaseOrder: e }),
|
|
158
|
-
customDateCalendar: /* @__PURE__ */
|
|
157
|
+
customDateCalendar: /* @__PURE__ */ k(e, {
|
|
159
158
|
mode: "single",
|
|
160
159
|
captionLayout: "dropdown",
|
|
161
160
|
...Z.form.paymentTerms.calendar,
|
|
162
161
|
onSelect: Z.form.paymentTerms.selectCustomDate
|
|
163
162
|
}),
|
|
164
|
-
recurrenceSection: Z.form.showRecurrenceSection && (Z.form.recurrenceLoading ? /* @__PURE__ */
|
|
163
|
+
recurrenceSection: Z.form.showRecurrenceSection && (Z.form.recurrenceLoading ? /* @__PURE__ */ k(t, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ k(x, {
|
|
165
164
|
idPrefix: $,
|
|
166
165
|
view: Z.form.recurrence.view,
|
|
167
166
|
disabled: Z.form.fieldsDisabled,
|
|
@@ -174,7 +173,7 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
174
173
|
onMaxOccurrencesChange: Z.form.recurrence.changeMaxOccurrences,
|
|
175
174
|
onCreationModeChange: Z.form.recurrence.changeCreationMode,
|
|
176
175
|
onSetUpEmailClick: Z.form.recurrence.setUpEmail,
|
|
177
|
-
emailDialog: /* @__PURE__ */
|
|
176
|
+
emailDialog: /* @__PURE__ */ k(b, {
|
|
178
177
|
idPrefix: $,
|
|
179
178
|
view: Z.form.recurrence.emailView,
|
|
180
179
|
onOpenChange: Z.form.recurrence.changeEmailOpen,
|
|
@@ -184,8 +183,8 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
184
183
|
}),
|
|
185
184
|
labels: I
|
|
186
185
|
})),
|
|
187
|
-
remindersSection: Z.form.reminders.view && /* @__PURE__ */
|
|
188
|
-
idPrefix:
|
|
186
|
+
remindersSection: Z.form.reminders.view && /* @__PURE__ */ k(ee, {
|
|
187
|
+
idPrefix: le,
|
|
189
188
|
view: Z.form.reminders.view,
|
|
190
189
|
onToggle: Z.form.reminders.toggle,
|
|
191
190
|
onPaymentReminderSelect: Z.form.reminders.selectPaymentReminder,
|
|
@@ -200,8 +199,8 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
200
199
|
}),
|
|
201
200
|
labels: I
|
|
202
201
|
}),
|
|
203
|
-
bankAccountSection: /* @__PURE__ */
|
|
204
|
-
idPrefix:
|
|
202
|
+
bankAccountSection: /* @__PURE__ */ k(m, {
|
|
203
|
+
idPrefix: ce,
|
|
205
204
|
view: Z.form.bankAccount.view,
|
|
206
205
|
error: Z.form.errors.bankAccountId,
|
|
207
206
|
disabled: Z.form.fieldsDisabled,
|
|
@@ -212,7 +211,7 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
212
211
|
onFormCancel: Z.form.bankAccount.cancelAddAccount,
|
|
213
212
|
labels: I
|
|
214
213
|
}),
|
|
215
|
-
attachmentsSection: Z.form.attachmentsView && /* @__PURE__ */
|
|
214
|
+
attachmentsSection: Z.form.attachmentsView && /* @__PURE__ */ k(re, {
|
|
216
215
|
view: Z.form.attachmentsView,
|
|
217
216
|
disabled: Z.form.fieldsDisabled,
|
|
218
217
|
onFilesSelect: Z.form.selectAttachmentFiles,
|
|
@@ -220,7 +219,7 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
220
219
|
onRemove: Z.form.removeAttachment,
|
|
221
220
|
labels: I
|
|
222
221
|
}),
|
|
223
|
-
preview: /* @__PURE__ */
|
|
222
|
+
preview: /* @__PURE__ */ k(y, {
|
|
224
223
|
view: Z.form.preview,
|
|
225
224
|
labels: q
|
|
226
225
|
}),
|
|
@@ -238,11 +237,11 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
238
237
|
onPrimaryClick: Z.form.selectPrimaryMode,
|
|
239
238
|
labels: I
|
|
240
239
|
}),
|
|
241
|
-
/* @__PURE__ */
|
|
240
|
+
/* @__PURE__ */ k(ne, {
|
|
242
241
|
...Z.form.unsavedPrompt,
|
|
243
242
|
labels: I
|
|
244
243
|
}),
|
|
245
|
-
/* @__PURE__ */
|
|
244
|
+
/* @__PURE__ */ k(g, {
|
|
246
245
|
open: Z.detailsOpen,
|
|
247
246
|
onOpenChange: (e) => {
|
|
248
247
|
e || Z.closeDetails();
|
|
@@ -257,15 +256,15 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
257
256
|
disabledActions: Z.actions.pendingActions,
|
|
258
257
|
labels: M
|
|
259
258
|
}, Z.detailsPanelKey),
|
|
260
|
-
/* @__PURE__ */
|
|
259
|
+
/* @__PURE__ */ k(s, {
|
|
261
260
|
counterpartId: Z.customerDetailsId,
|
|
262
261
|
counterpartType: "customer",
|
|
263
262
|
onClose: Z.closeCustomerDetails,
|
|
264
|
-
formLabels:
|
|
263
|
+
formLabels: l,
|
|
265
264
|
messageLabels: j,
|
|
266
265
|
...Z.customerDetailsActions
|
|
267
266
|
}),
|
|
268
|
-
/* @__PURE__ */
|
|
267
|
+
/* @__PURE__ */ k(v, {
|
|
269
268
|
open: Z.actions.payment.isOpen,
|
|
270
269
|
onOpenChange: (e) => {
|
|
271
270
|
e || Z.actions.payment.close();
|
|
@@ -285,7 +284,7 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
285
284
|
onCancel: Z.actions.payment.close,
|
|
286
285
|
labels: K
|
|
287
286
|
}),
|
|
288
|
-
Z.actions.actionDialog && /* @__PURE__ */
|
|
287
|
+
Z.actions.actionDialog && /* @__PURE__ */ k(p, {
|
|
289
288
|
open: !!Z.actions.actionTarget,
|
|
290
289
|
onOpenChange: (e) => {
|
|
291
290
|
e || Z.actions.closeAction();
|
|
@@ -301,10 +300,10 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
301
300
|
onCommentChange: Z.actions.setActionComment,
|
|
302
301
|
onConfirm: Z.actions.confirmAction,
|
|
303
302
|
onCancel: Z.actions.closeAction,
|
|
304
|
-
labels:
|
|
303
|
+
labels: ae
|
|
305
304
|
}),
|
|
306
|
-
/* @__PURE__ */
|
|
307
|
-
idPrefix:
|
|
305
|
+
/* @__PURE__ */ k(f, {
|
|
306
|
+
idPrefix: ue,
|
|
308
307
|
open: Z.actionsModal.isOpen,
|
|
309
308
|
view: Z.actionsModal.view,
|
|
310
309
|
onSkip: Z.actionsModal.skip,
|
|
@@ -315,9 +314,9 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
315
314
|
onToggleAll: Z.actionsModal.toggleAll,
|
|
316
315
|
onAllSelectedChange: Z.actionsModal.setAllSelected,
|
|
317
316
|
onSaveItems: Z.actionsModal.saveItems,
|
|
318
|
-
labels:
|
|
317
|
+
labels: oe
|
|
319
318
|
}),
|
|
320
|
-
/* @__PURE__ */
|
|
319
|
+
/* @__PURE__ */ k(a, {
|
|
321
320
|
open: Z.form.counterpartView === "create",
|
|
322
321
|
onOpenChange: (e) => {
|
|
323
322
|
e || Z.form.counterpartForm.close();
|
|
@@ -326,7 +325,7 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
326
325
|
values: Z.form.counterpartForm.values,
|
|
327
326
|
errors: Z.form.counterpartForm.errors,
|
|
328
327
|
stateOptions: Z.form.stateOptions,
|
|
329
|
-
taxIdField: o(Z.form.counterpartForm.values.entityType, "customer",
|
|
328
|
+
taxIdField: o(Z.form.counterpartForm.values.entityType, "customer", l),
|
|
330
329
|
inProgress: Z.form.counterpartForm.isSubmitting || Z.actionsSuspended,
|
|
331
330
|
onChange: (e) => Z.form.counterpartForm.setValues((t) => ({
|
|
332
331
|
...t,
|
|
@@ -341,20 +340,20 @@ function A({ auditHistoryLabels: i, bankAttribution: l, counterpartFormLabels: A
|
|
|
341
340
|
})),
|
|
342
341
|
onSubmit: Z.form.counterpartForm.submit,
|
|
343
342
|
onCancel: Z.form.counterpartForm.close,
|
|
344
|
-
labels:
|
|
343
|
+
labels: l
|
|
345
344
|
}),
|
|
346
|
-
/* @__PURE__ */
|
|
345
|
+
/* @__PURE__ */ k(C, {
|
|
347
346
|
open: Z.measureUnitsOpen,
|
|
348
347
|
onClose: Z.closeMeasureUnits,
|
|
349
348
|
suspended: Z.actionsSuspended,
|
|
350
|
-
managerLabels:
|
|
351
|
-
deleteLabels:
|
|
349
|
+
managerLabels: B,
|
|
350
|
+
deleteLabels: z,
|
|
352
351
|
messageLabels: J
|
|
353
352
|
})
|
|
354
353
|
] });
|
|
355
354
|
}
|
|
356
|
-
function
|
|
357
|
-
return /* @__PURE__ */
|
|
355
|
+
function M({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: a, linkComponent: o, uiFramework: s, errorFallback: c, onError: u, analytics: d, disclosuresAcceptance: f, providerLabels: p, ...m }) {
|
|
356
|
+
return /* @__PURE__ */ k(i, {
|
|
358
357
|
widgetName: l,
|
|
359
358
|
baseUrl: e,
|
|
360
359
|
widgetToken: t,
|
|
@@ -368,8 +367,8 @@ function j({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gat
|
|
|
368
367
|
analytics: d,
|
|
369
368
|
disclosuresAcceptance: f,
|
|
370
369
|
providerLabels: p,
|
|
371
|
-
children: /* @__PURE__ */
|
|
370
|
+
children: /* @__PURE__ */ k(j, { ...m })
|
|
372
371
|
});
|
|
373
372
|
}
|
|
374
373
|
//#endregion
|
|
375
|
-
export {
|
|
374
|
+
export { M as ReceivablesWidget, M as default };
|
|
@@ -7,7 +7,6 @@ import { RECEIVABLE_RECURRENCE_EMAIL_DIALOG_LABELS_EN as r, RECEIVABLE_RECURRENC
|
|
|
7
7
|
var a = { all: "All invoices" }, o = {
|
|
8
8
|
createInvoiceButton: "Create Invoice",
|
|
9
9
|
settingsButton: "Invoice settings",
|
|
10
|
-
bankAttributionPrefix: "Business Banking provided by",
|
|
11
10
|
statusCardsAll: a.all,
|
|
12
11
|
columnDueDate: "Due date",
|
|
13
12
|
columnStatus: "Status",
|
|
@@ -67,22 +67,22 @@ function E({ row: e }) {
|
|
|
67
67
|
children: e.customerLabel
|
|
68
68
|
}) : /* @__PURE__ */ p("span", { children: e.customerLabel });
|
|
69
69
|
}
|
|
70
|
-
function D({ rows: n, isLoading: l, isError: d, isAccessRestricted: h, sorting: g, onSortingChange: _, pageSize: b, onPageSizeChange: D, pageSizeOptions: O = x, pageInfo: k, hasNextPage: A, hasPrevPage: j, onNextPage: M, onPrevPage: N, statusCards: P, onStatusCardSelect: F, filterBar: I, isFiltering: L, headerStart: R,
|
|
71
|
-
let
|
|
70
|
+
function D({ rows: n, isLoading: l, isError: d, isAccessRestricted: h, sorting: g, onSortingChange: _, pageSize: b, onPageSizeChange: D, pageSizeOptions: O = x, pageInfo: k, hasNextPage: A, hasPrevPage: j, onNextPage: M, onPrevPage: N, statusCards: P, onStatusCardSelect: F, filterBar: I, isFiltering: L, headerStart: R, onCreateClick: z, onSettingsClick: B, onRowClick: V, onRetry: H, labels: U }) {
|
|
71
|
+
let W = {
|
|
72
72
|
...u,
|
|
73
|
-
...
|
|
73
|
+
...U,
|
|
74
74
|
statusBadge: {
|
|
75
75
|
...u.statusBadge,
|
|
76
|
-
...
|
|
76
|
+
...U?.statusBadge
|
|
77
77
|
}
|
|
78
|
-
},
|
|
78
|
+
}, G = [
|
|
79
79
|
{
|
|
80
80
|
accessorKey: "dueDateLabel",
|
|
81
81
|
enableSorting: !0,
|
|
82
82
|
header: ({ column: e }) => /* @__PURE__ */ p(S, {
|
|
83
83
|
column: e,
|
|
84
|
-
label:
|
|
85
|
-
ariaLabel:
|
|
84
|
+
label: W.columnDueDate,
|
|
85
|
+
ariaLabel: W.sortByDueDate
|
|
86
86
|
}),
|
|
87
87
|
cell: ({ row: e }) => /* @__PURE__ */ p(C, { row: e.original })
|
|
88
88
|
},
|
|
@@ -91,12 +91,12 @@ function D({ rows: n, isLoading: l, isError: d, isAccessRestricted: h, sorting:
|
|
|
91
91
|
enableSorting: !0,
|
|
92
92
|
header: ({ column: e }) => /* @__PURE__ */ p(S, {
|
|
93
93
|
column: e,
|
|
94
|
-
label:
|
|
95
|
-
ariaLabel:
|
|
94
|
+
label: W.columnStatus,
|
|
95
|
+
ariaLabel: W.sortByStatus
|
|
96
96
|
}),
|
|
97
97
|
cell: ({ row: e }) => /* @__PURE__ */ p(w, {
|
|
98
98
|
row: e.original,
|
|
99
|
-
statusBadgeLabels:
|
|
99
|
+
statusBadgeLabels: W.statusBadge
|
|
100
100
|
})
|
|
101
101
|
},
|
|
102
102
|
{
|
|
@@ -104,14 +104,14 @@ function D({ rows: n, isLoading: l, isError: d, isAccessRestricted: h, sorting:
|
|
|
104
104
|
enableSorting: !0,
|
|
105
105
|
header: ({ column: e }) => /* @__PURE__ */ p(S, {
|
|
106
106
|
column: e,
|
|
107
|
-
label:
|
|
108
|
-
ariaLabel:
|
|
107
|
+
label: W.columnNumber,
|
|
108
|
+
ariaLabel: W.sortByNumber
|
|
109
109
|
}),
|
|
110
110
|
cell: ({ row: e }) => /* @__PURE__ */ p(T, { row: e.original })
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
accessorKey: "customerLabel",
|
|
114
|
-
header:
|
|
114
|
+
header: W.columnCustomer,
|
|
115
115
|
cell: ({ row: e }) => /* @__PURE__ */ p(E, { row: e.original }),
|
|
116
116
|
minSize: 180
|
|
117
117
|
},
|
|
@@ -120,8 +120,8 @@ function D({ rows: n, isLoading: l, isError: d, isAccessRestricted: h, sorting:
|
|
|
120
120
|
enableSorting: !0,
|
|
121
121
|
header: ({ column: e }) => /* @__PURE__ */ p(S, {
|
|
122
122
|
column: e,
|
|
123
|
-
label:
|
|
124
|
-
ariaLabel:
|
|
123
|
+
label: W.columnIssueDate,
|
|
124
|
+
ariaLabel: W.sortByIssueDate
|
|
125
125
|
})
|
|
126
126
|
},
|
|
127
127
|
{
|
|
@@ -131,8 +131,8 @@ function D({ rows: n, isLoading: l, isError: d, isAccessRestricted: h, sorting:
|
|
|
131
131
|
className: "ttw:flex ttw:justify-end",
|
|
132
132
|
children: /* @__PURE__ */ p(S, {
|
|
133
133
|
column: e,
|
|
134
|
-
label:
|
|
135
|
-
ariaLabel:
|
|
134
|
+
label: W.columnAmount,
|
|
135
|
+
ariaLabel: W.sortByAmount
|
|
136
136
|
})
|
|
137
137
|
}),
|
|
138
138
|
cell: ({ row: e }) => /* @__PURE__ */ p("div", {
|
|
@@ -146,30 +146,20 @@ function D({ rows: n, isLoading: l, isError: d, isAccessRestricted: h, sorting:
|
|
|
146
146
|
children: [
|
|
147
147
|
/* @__PURE__ */ m("div", {
|
|
148
148
|
className: "ttw:flex ttw:justify-between ttw:gap-4",
|
|
149
|
-
children: [/* @__PURE__ */
|
|
149
|
+
children: [/* @__PURE__ */ p("div", {
|
|
150
150
|
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
151
|
-
children:
|
|
152
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
153
|
-
children: [/* @__PURE__ */ p("span", {
|
|
154
|
-
className: "ttw:text-muted-foreground",
|
|
155
|
-
children: G.bankAttributionPrefix
|
|
156
|
-
}), /* @__PURE__ */ p("img", {
|
|
157
|
-
width: 120,
|
|
158
|
-
src: z.logoSrc,
|
|
159
|
-
alt: z.logoAlt
|
|
160
|
-
})]
|
|
161
|
-
})]
|
|
151
|
+
children: R
|
|
162
152
|
}), /* @__PURE__ */ m("div", {
|
|
163
153
|
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
164
|
-
children: [
|
|
154
|
+
children: [B && /* @__PURE__ */ p(a, { children: /* @__PURE__ */ m(r, { children: [/* @__PURE__ */ p(o, {
|
|
165
155
|
asChild: !0,
|
|
166
156
|
children: /* @__PURE__ */ p(e, {
|
|
167
157
|
type: "button",
|
|
168
158
|
variant: "outline",
|
|
169
159
|
size: "lg",
|
|
170
160
|
className: "ttw:w-11 ttw:rounded-xl",
|
|
171
|
-
"aria-label":
|
|
172
|
-
onClick:
|
|
161
|
+
"aria-label": W.settingsButton,
|
|
162
|
+
onClick: B,
|
|
173
163
|
children: /* @__PURE__ */ p(v, {
|
|
174
164
|
className: "ttw:size-4.5",
|
|
175
165
|
"aria-hidden": !0
|
|
@@ -177,25 +167,25 @@ function D({ rows: n, isLoading: l, isError: d, isAccessRestricted: h, sorting:
|
|
|
177
167
|
})
|
|
178
168
|
}), /* @__PURE__ */ p(i, {
|
|
179
169
|
sideOffset: 4,
|
|
180
|
-
children:
|
|
181
|
-
})] }) }),
|
|
170
|
+
children: W.settingsButton
|
|
171
|
+
})] }) }), z && /* @__PURE__ */ p(e, {
|
|
182
172
|
size: "lg",
|
|
183
|
-
onClick:
|
|
184
|
-
children:
|
|
173
|
+
onClick: z,
|
|
174
|
+
children: W.createInvoiceButton
|
|
185
175
|
})]
|
|
186
176
|
})]
|
|
187
177
|
}),
|
|
188
178
|
!h && P && F && /* @__PURE__ */ p(f, {
|
|
189
179
|
view: P,
|
|
190
180
|
onSelect: F,
|
|
191
|
-
labels: { all:
|
|
181
|
+
labels: { all: W.statusCardsAll }
|
|
192
182
|
}),
|
|
193
183
|
h ? /* @__PURE__ */ p(c, {
|
|
194
184
|
icon: /* @__PURE__ */ p(y, { className: "ttw:size-8 ttw:text-primary" }),
|
|
195
|
-
title:
|
|
196
|
-
description:
|
|
185
|
+
title: W.accessRestrictedTitle,
|
|
186
|
+
description: W.accessRestrictedDescription
|
|
197
187
|
}) : /* @__PURE__ */ p(t, {
|
|
198
|
-
columns:
|
|
188
|
+
columns: G,
|
|
199
189
|
data: n,
|
|
200
190
|
isLoading: l,
|
|
201
191
|
sorting: g,
|
|
@@ -208,19 +198,19 @@ function D({ rows: n, isLoading: l, isError: d, isAccessRestricted: h, sorting:
|
|
|
208
198
|
hasPrevPage: j,
|
|
209
199
|
onNextPage: M,
|
|
210
200
|
onPrevPage: N,
|
|
211
|
-
onRowClick:
|
|
212
|
-
rowAriaLabel: (e) =>
|
|
201
|
+
onRowClick: V,
|
|
202
|
+
rowAriaLabel: (e) => W.openRow(e.documentLabel),
|
|
213
203
|
filterComponent: I,
|
|
214
204
|
children: d && !L ? /* @__PURE__ */ p(c, {
|
|
215
|
-
title:
|
|
216
|
-
description:
|
|
217
|
-
retryLabel:
|
|
218
|
-
onRetry:
|
|
205
|
+
title: W.errorTitle,
|
|
206
|
+
description: W.errorDescription,
|
|
207
|
+
retryLabel: H ? W.errorRetry : void 0,
|
|
208
|
+
onRetry: H
|
|
219
209
|
}) : /* @__PURE__ */ p(s, {
|
|
220
|
-
title: L ?
|
|
221
|
-
description: L ? void 0 :
|
|
222
|
-
actionLabel: L ? void 0 :
|
|
223
|
-
onAction: L ? void 0 :
|
|
210
|
+
title: L ? W.filterEmptyTitle : W.emptyTitle,
|
|
211
|
+
description: L ? void 0 : W.emptyDescription,
|
|
212
|
+
actionLabel: L ? void 0 : W.createInvoiceButton,
|
|
213
|
+
onAction: L ? void 0 : z
|
|
224
214
|
})
|
|
225
215
|
})
|
|
226
216
|
]
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
|
|
2
|
-
var e = "@tesouro/embedded-components-react", t = "0.9.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.9.54", n = "96ea28332339c3230dcb1d0c856339632c670433", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|