@tesouro/embedded-components-react 0.11.124 → 0.11.127

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.
@@ -145,9 +145,9 @@ function u({ auditHistoryLabels: u, counterpartMessageLabels: pe, embeddedBankNa
145
145
  re() || (A(e.id), M(!0), h?.(e.id, e.type));
146
146
  }, [h]), Q = a(() => {
147
147
  M(!1), A(void 0), I(void 0);
148
- }, []), { showCustomer: $ } = W, We = a((e) => {
149
- Q(), $(e.id);
150
- }, [Q, $]), Ge = a((e) => {
148
+ }, []), { showCustomer: We } = W, Ge = a((e) => {
149
+ Q(), We(e.id);
150
+ }, [Q, We]), $ = a((e) => {
151
151
  C && (Q(), J("invoice", { customerId: e.id }));
152
152
  }, [
153
153
  C,
@@ -188,9 +188,13 @@ function u({ auditHistoryLabels: u, counterpartMessageLabels: pe, embeddedBankNa
188
188
  closeCustomerDetails: ke,
189
189
  openCustomerDetails: R ? Oe : void 0,
190
190
  customerDetailsActions: Ee ? {
191
- onViewAllDocuments: b ? We : void 0,
192
- onCreateDocument: x ? Ge : void 0
191
+ onViewAllDocuments: b ? Ge : void 0,
192
+ onCreateDocument: x ? $ : void 0
193
193
  } : {},
194
+ customersTabActions: {
195
+ onViewAllDocuments: b ? Ge : void 0,
196
+ onCreateDocument: x ? $ : void 0
197
+ },
194
198
  canCreateCustomer: y.canCreateCustomer,
195
199
  messages: E,
196
200
  form: {
@@ -141,7 +141,7 @@ function C({ rows: e, isLoading: n, isError: a, isAccessRestricted: c, sorting:
141
141
  children: e.original.totalLabel
142
142
  })
143
143
  }
144
- ], B = !c && !n && !a && !M && e.length === 0;
144
+ ], B = !c && !a && !M && e.length === 0;
145
145
  return /* @__PURE__ */ d("div", {
146
146
  className: "ttw:flex ttw:flex-col ttw:gap-4",
147
147
  children: [
@@ -1,5 +1,5 @@
1
1
  // ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.11.124", n = "0f0378f073f4e5f1c20d686c784c82a8b24f1240", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.11.127", n = "615b2ac78e1b3e9b3c0321eb96e4f1a143c84717", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n