@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.
- package/dist/libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/SingleInsight/SingleInsight.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +290 -286
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index60.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +4431 -4196
- package/package.json +10 -10
|
@@ -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:
|
|
149
|
-
Q(),
|
|
150
|
-
}, [Q,
|
|
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 ?
|
|
192
|
-
onCreateDocument: x ?
|
|
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 && !
|
|
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: [
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -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.
|
|
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
|