@bigbinary/neeto-payments-frontend 1.3.5 → 1.3.6

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.
@@ -42,7 +42,7 @@
42
42
  "disconnected": "Disconnected",
43
43
  "incomplete": "Incomplete",
44
44
  "paid": "Paid",
45
- "in_transit": "In transit",
45
+ "inTransit": "In transit",
46
46
  "canceled": "Canceled",
47
47
  "arrivalDate": "Arrival date",
48
48
  "destinationIdentifier": "Destination identifier"
@@ -69,10 +69,26 @@
69
69
  "payouts": "Stripe payouts"
70
70
  },
71
71
  "emptyState": {
72
- "payment": "There are no payments to show.",
73
- "refund": "There are no refunds to show.",
74
- "account": "There are no standard accounts to show.",
75
- "payouts": "There are no payouts to show."
72
+ "connected": "There are no transactions.",
73
+ "connectedWithStatus": "There are no {{status}} transactions.",
74
+ "platform": "There are no transactions.",
75
+ "platformWithStatus": "There are no {{status}} transactions.",
76
+ "split": "There are no split transfers.",
77
+ "splitWithStatus": "There are no {{status}} split transfers.",
78
+ "transfer": "There are no transactions.",
79
+ "transferWithStatus": "There are no {{status}} transactions.",
80
+ "refund": "There are no refunds.",
81
+ "refundWithStatus": "There are no {{status}} refunds.",
82
+ "account": "There are no standard accounts.",
83
+ "accountWithStatus": "There are no {{status}} standard accounts.",
84
+ "payouts": {
85
+ "all": "There are no payouts to show.",
86
+ "paid": "There are no paid payouts.",
87
+ "inTransit": "There are no payouts in transit.",
88
+ "canceled": "There are no canceled payouts.",
89
+ "pending": "There are no pending payouts.",
90
+ "failed": "There are no failed payouts."
91
+ }
76
92
  },
77
93
  "tagLabels": {
78
94
  "account": {
@@ -82,7 +98,7 @@
82
98
  },
83
99
  "payout": {
84
100
  "paid": "paid",
85
- "in_transit": "in transit",
101
+ "inTransit": "in transit",
86
102
  "canceled": "canceled",
87
103
  "pending": "pending",
88
104
  "failed": "failed"
@@ -156,7 +172,7 @@
156
172
  },
157
173
  "payout": {
158
174
  "paid": "The payout has been paid",
159
- "in_transit": "The payout is in transit",
175
+ "inTransit": "The payout is in transit",
160
176
  "canceled": "The payout has been canceled",
161
177
  "pending": "The payout is pending",
162
178
  "failed": "The payout has failed"
@@ -183,22 +199,36 @@
183
199
  "countOf": {
184
200
  "platform": "{{count}} transaction",
185
201
  "platform_other": "{{count}} transactions",
202
+ "platformWithStatus": "{{count}} {{status}} transaction",
203
+ "platformWithStatus_other": "{{count}} {{status}} transactions",
186
204
  "split": "{{count}} split transfer",
187
205
  "split_other": "{{count}} split transfers",
206
+ "splitWithStatus": "{{count}} {{status}} split transfer",
207
+ "splitWithStatus_other": "{{count}} {{status}} split transfers",
188
208
  "transfer": "{{count}} transaction",
189
209
  "transfer_other": "{{count}} transactions",
210
+ "transferWithStatus": "{{count}} {{status}} transaction",
211
+ "transferWithStatus_other": "{{count}} {{status}} transactions",
190
212
  "connected": "{{count}} transaction",
191
213
  "connected_other": "{{count}} transactions",
214
+ "connectedWithStatus": "{{count}} {{status}} transaction",
215
+ "connectedWithStatus_other": "{{count}} {{status}} transactions",
192
216
  "refund": "{{count}} refund",
193
217
  "refund_other": "{{count}} refunds",
218
+ "refundWithStatus": "{{count}} {{status}} refund",
219
+ "refundWithStatus_other": "{{count}} {{status}} refunds",
194
220
  "squarePayment": "{{count}} payment",
195
221
  "squarePayment_other": "{{count}} payments",
196
222
  "squareRefund": "{{count}} refund",
197
223
  "squareRefund_other": "{{count}} refunds",
198
224
  "account": "{{count}} standard account",
199
225
  "account_other": "{{count}} standard accounts",
226
+ "accountWithStatus": "{{count}} {{status}} standard account",
227
+ "accountWithStatus_other": "{{count}} {{status}} standard accounts",
200
228
  "payout": "{{count}} payout",
201
- "payout_other": "{{count}} payouts"
229
+ "payout_other": "{{count}} payouts",
230
+ "payoutWithStatus": "{{count}} {{status}} payout",
231
+ "payoutWithStatus_other": "{{count}} {{status}} payouts"
202
232
  },
203
233
  "export": {
204
234
  "title": {
package/dist/index.cjs.js CHANGED
@@ -1173,7 +1173,9 @@ var List$3 = function List(_ref) {
1173
1173
  return /*#__PURE__*/React__default["default"].createElement("div", {
1174
1174
  className: "flex h-full w-full items-center justify-center"
1175
1175
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.NoData, {
1176
- title: t("neetoPayments.emptyState.account")
1176
+ title: tab === TAB$3.all ? t("neetoPayments.emptyState.account") : t("neetoPayments.emptyState.accountWithStatus", {
1177
+ status: tab
1178
+ })
1177
1179
  }));
1178
1180
  }
1179
1181
  return /*#__PURE__*/React__default["default"].createElement(TableWrapper__default["default"], {
@@ -1258,8 +1260,11 @@ var AccountsDashboard = function AccountsDashboard() {
1258
1260
  leftActionBlock: isTabsVisible && dataSize !== 0 && /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
1259
1261
  className: "neeto-ui-gray-800 mr-2 font-semibold",
1260
1262
  component: "h4"
1261
- }, t("neetoPayments.countOf.account", {
1263
+ }, tab === TAB$3.all ? t("neetoPayments.countOf.account", {
1262
1264
  count: dataSize
1265
+ }) : t("neetoPayments.countOf.accountWithStatus", {
1266
+ count: dataSize,
1267
+ status: tab
1263
1268
  })),
1264
1269
  rightActionBlock: /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(neetoFiltersFrontend.Bar, {
1265
1270
  columns: FILTER_COLUMNS$3,
@@ -4681,7 +4686,9 @@ var List$2 = function List(_ref) {
4681
4686
  return /*#__PURE__*/React__default["default"].createElement("div", {
4682
4687
  className: "flex h-full w-full items-center justify-center"
4683
4688
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.NoData, {
4684
- title: isRefundKind$1(kind) ? t("neetoPayments.emptyState.refund") : t("neetoPayments.emptyState.payment")
4689
+ title: tab === TAB$2.all ? t("neetoPayments.emptyState.".concat(kind)) : t("neetoPayments.emptyState.".concat(kind, "WithStatus"), {
4690
+ status: tab
4691
+ })
4685
4692
  }));
4686
4693
  }
4687
4694
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(TableWrapper__default["default"], {
@@ -4801,8 +4808,11 @@ var Dashboard = function Dashboard(_ref) {
4801
4808
  leftActionBlock: isTabsVisible && dataSize !== 0 && /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
4802
4809
  className: "neeto-ui-gray-800 mr-2 font-semibold",
4803
4810
  component: "h4"
4804
- }, t("neetoPayments.countOf.".concat(kind), {
4811
+ }, tab === TAB$2.all ? t("neetoPayments.countOf.".concat(kind), {
4805
4812
  count: dataSize
4813
+ }) : t("neetoPayments.countOf.".concat(kind, "WithStatus"), {
4814
+ count: dataSize,
4815
+ status: tab
4806
4816
  })),
4807
4817
  rightActionBlock: /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(neetoFiltersFrontend.Bar, {
4808
4818
  columns: filterableColumns,
@@ -4864,7 +4874,7 @@ var TAB$1 = {
4864
4874
  all: "all",
4865
4875
  paid: "paid",
4866
4876
  pending: "pending",
4867
- in_transit: "in_transit",
4877
+ inTransit: "inTransit",
4868
4878
  failed: "failed",
4869
4879
  canceled: "canceled"
4870
4880
  };
@@ -5214,7 +5224,7 @@ var List$1 = function List(_ref) {
5214
5224
  return /*#__PURE__*/React__default["default"].createElement("div", {
5215
5225
  className: "flex h-full w-full items-center justify-center"
5216
5226
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.NoData, {
5217
- title: t("neetoPayments.emptyState.payouts")
5227
+ title: t("neetoPayments.emptyState.payouts.".concat(tab))
5218
5228
  }));
5219
5229
  }
5220
5230
  return /*#__PURE__*/React__default["default"].createElement(TableWrapper__default["default"], {
@@ -5301,8 +5311,11 @@ var PayoutsDashboard = function PayoutsDashboard(_ref) {
5301
5311
  leftActionBlock: isTabsVisible && dataSize !== 0 && /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
5302
5312
  className: "neeto-ui-gray-800 mr-2 font-semibold",
5303
5313
  component: "h4"
5304
- }, t("neetoPayments.countOf.payout", {
5314
+ }, tab === TAB$1.all ? t("neetoPayments.countOf.payout", {
5305
5315
  count: dataSize
5316
+ }) : t("neetoPayments.countOf.payoutWithStatus", {
5317
+ count: dataSize,
5318
+ status: tab
5306
5319
  })),
5307
5320
  rightActionBlock: /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(neetoFiltersFrontend.Bar, {
5308
5321
  columns: FILTER_COLUMNS,