@djangocfg/ext-payments 1.0.13 → 1.0.17
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/config.cjs +5 -8
- package/dist/config.js +5 -8
- package/dist/hooks.cjs +1 -1
- package/dist/hooks.js +1 -1
- package/dist/index.cjs +1085 -1107
- package/dist/index.d.cts +480 -41
- package/dist/index.d.ts +480 -41
- package/dist/index.js +1037 -1093
- package/package.json +13 -16
- package/src/api/generated/ext_payments/CLAUDE.md +7 -3
- package/src/api/generated/ext_payments/_utils/fetchers/ext_payments__payments.ts +237 -5
- package/src/api/generated/ext_payments/_utils/hooks/ext_payments__payments.ts +71 -3
- package/src/api/generated/ext_payments/_utils/schemas/PaginatedWithdrawalListList.schema.ts +24 -0
- package/src/api/generated/ext_payments/_utils/schemas/PaymentCreateRequest.schema.ts +21 -0
- package/src/api/generated/ext_payments/_utils/schemas/WithdrawalCreateRequest.schema.ts +21 -0
- package/src/api/generated/ext_payments/_utils/schemas/WithdrawalDetail.schema.ts +42 -0
- package/src/api/generated/ext_payments/_utils/schemas/WithdrawalList.schema.ts +29 -0
- package/src/api/generated/ext_payments/_utils/schemas/index.ts +5 -0
- package/src/api/generated/ext_payments/enums.ts +36 -0
- package/src/api/generated/ext_payments/ext_payments__payments/client.ts +58 -5
- package/src/api/generated/ext_payments/ext_payments__payments/models.ts +141 -0
- package/src/api/generated/ext_payments/schema.json +579 -3
- package/src/components/ActivityItem.tsx +118 -0
- package/src/components/ActivityList.tsx +93 -0
- package/src/components/AddFundsSheet.tsx +258 -0
- package/src/components/BalanceHero.tsx +102 -0
- package/src/components/PaymentSheet.tsx +290 -0
- package/src/components/ResponsiveSheet.tsx +151 -0
- package/src/components/WithdrawSheet.tsx +329 -0
- package/src/components/index.ts +18 -0
- package/src/contexts/WalletContext.tsx +355 -0
- package/src/contexts/index.ts +12 -45
- package/src/index.ts +6 -18
- package/src/contexts/BalancesContext.tsx +0 -63
- package/src/contexts/CurrenciesContext.tsx +0 -64
- package/src/contexts/OverviewContext.tsx +0 -173
- package/src/contexts/PaymentsContext.tsx +0 -122
- package/src/contexts/PaymentsExtensionProvider.tsx +0 -56
- package/src/contexts/README.md +0 -201
- package/src/contexts/RootPaymentsContext.tsx +0 -66
- package/src/contexts/types.ts +0 -40
- package/src/hooks/index.ts +0 -20
- package/src/layouts/PaymentsLayout/PaymentsLayout.tsx +0 -90
- package/src/layouts/PaymentsLayout/components/CreatePaymentDialog.tsx +0 -274
- package/src/layouts/PaymentsLayout/components/PaymentDetailsDialog.tsx +0 -287
- package/src/layouts/PaymentsLayout/components/index.ts +0 -2
- package/src/layouts/PaymentsLayout/events.ts +0 -47
- package/src/layouts/PaymentsLayout/index.ts +0 -16
- package/src/layouts/PaymentsLayout/types.ts +0 -6
- package/src/layouts/PaymentsLayout/views/overview/components/BalanceCard.tsx +0 -121
- package/src/layouts/PaymentsLayout/views/overview/components/RecentPayments.tsx +0 -139
- package/src/layouts/PaymentsLayout/views/overview/components/index.ts +0 -2
- package/src/layouts/PaymentsLayout/views/overview/index.tsx +0 -21
- package/src/layouts/PaymentsLayout/views/payments/components/PaymentsList.tsx +0 -279
- package/src/layouts/PaymentsLayout/views/payments/components/index.ts +0 -1
- package/src/layouts/PaymentsLayout/views/payments/index.tsx +0 -18
- package/src/layouts/PaymentsLayout/views/transactions/components/TransactionsList.tsx +0 -260
- package/src/layouts/PaymentsLayout/views/transactions/components/index.ts +0 -1
- package/src/layouts/PaymentsLayout/views/transactions/index.tsx +0 -18
package/dist/config.cjs
CHANGED
|
@@ -27,7 +27,7 @@ var import_ext_base = require("@djangocfg/ext-base");
|
|
|
27
27
|
// package.json
|
|
28
28
|
var package_default = {
|
|
29
29
|
name: "@djangocfg/ext-payments",
|
|
30
|
-
version: "1.0.
|
|
30
|
+
version: "1.0.17",
|
|
31
31
|
description: "Payments system extension for DjangoCFG",
|
|
32
32
|
keywords: [
|
|
33
33
|
"django",
|
|
@@ -64,11 +64,6 @@ var package_default = {
|
|
|
64
64
|
import: "./dist/index.js",
|
|
65
65
|
require: "./dist/index.cjs"
|
|
66
66
|
},
|
|
67
|
-
"./hooks": {
|
|
68
|
-
types: "./dist/hooks.d.ts",
|
|
69
|
-
import: "./dist/hooks.js",
|
|
70
|
-
require: "./dist/hooks.cjs"
|
|
71
|
-
},
|
|
72
67
|
"./config": {
|
|
73
68
|
types: "./dist/config.d.ts",
|
|
74
69
|
import: "./dist/config.js",
|
|
@@ -96,8 +91,10 @@ var package_default = {
|
|
|
96
91
|
"p-retry": "^7.0.0",
|
|
97
92
|
react: "^19",
|
|
98
93
|
swr: "^2.3.7",
|
|
99
|
-
zod: "^4.
|
|
100
|
-
moment: "^2.30.1"
|
|
94
|
+
zod: "^4.3.4",
|
|
95
|
+
moment: "^2.30.1",
|
|
96
|
+
"react-hook-form": "^7.69.0",
|
|
97
|
+
"@hookform/resolvers": "^5.2.2"
|
|
101
98
|
},
|
|
102
99
|
devDependencies: {
|
|
103
100
|
"@djangocfg/api": "workspace:*",
|
package/dist/config.js
CHANGED
|
@@ -4,7 +4,7 @@ import { createExtensionConfig } from "@djangocfg/ext-base";
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@djangocfg/ext-payments",
|
|
7
|
-
version: "1.0.
|
|
7
|
+
version: "1.0.17",
|
|
8
8
|
description: "Payments system extension for DjangoCFG",
|
|
9
9
|
keywords: [
|
|
10
10
|
"django",
|
|
@@ -41,11 +41,6 @@ var package_default = {
|
|
|
41
41
|
import: "./dist/index.js",
|
|
42
42
|
require: "./dist/index.cjs"
|
|
43
43
|
},
|
|
44
|
-
"./hooks": {
|
|
45
|
-
types: "./dist/hooks.d.ts",
|
|
46
|
-
import: "./dist/hooks.js",
|
|
47
|
-
require: "./dist/hooks.cjs"
|
|
48
|
-
},
|
|
49
44
|
"./config": {
|
|
50
45
|
types: "./dist/config.d.ts",
|
|
51
46
|
import: "./dist/config.js",
|
|
@@ -73,8 +68,10 @@ var package_default = {
|
|
|
73
68
|
"p-retry": "^7.0.0",
|
|
74
69
|
react: "^19",
|
|
75
70
|
swr: "^2.3.7",
|
|
76
|
-
zod: "^4.
|
|
77
|
-
moment: "^2.30.1"
|
|
71
|
+
zod: "^4.3.4",
|
|
72
|
+
moment: "^2.30.1",
|
|
73
|
+
"react-hook-form": "^7.69.0",
|
|
74
|
+
"@hookform/resolvers": "^5.2.2"
|
|
78
75
|
},
|
|
79
76
|
devDependencies: {
|
|
80
77
|
"@djangocfg/api": "workspace:*",
|
package/dist/hooks.cjs
CHANGED
|
@@ -2652,7 +2652,7 @@ var PaymentsLayout = () => {
|
|
|
2652
2652
|
// package.json
|
|
2653
2653
|
var package_default = {
|
|
2654
2654
|
name: "@djangocfg/ext-payments",
|
|
2655
|
-
version: "1.0.
|
|
2655
|
+
version: "1.0.14",
|
|
2656
2656
|
description: "Payments system extension for DjangoCFG",
|
|
2657
2657
|
keywords: [
|
|
2658
2658
|
"django",
|
package/dist/hooks.js
CHANGED
|
@@ -2644,7 +2644,7 @@ var PaymentsLayout = () => {
|
|
|
2644
2644
|
// package.json
|
|
2645
2645
|
var package_default = {
|
|
2646
2646
|
name: "@djangocfg/ext-payments",
|
|
2647
|
-
version: "1.0.
|
|
2647
|
+
version: "1.0.14",
|
|
2648
2648
|
description: "Payments system extension for DjangoCFG",
|
|
2649
2649
|
keywords: [
|
|
2650
2650
|
"django",
|