@djangocfg/ext-payments 1.0.7 → 1.0.9
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 +3 -1
- package/dist/config.js +3 -1
- package/dist/hooks.cjs +156 -153
- package/dist/hooks.js +5 -2
- package/dist/index.cjs +156 -153
- package/dist/index.js +5 -2
- package/package.json +9 -7
- package/src/layouts/PaymentsLayout/PaymentsLayout.tsx +1 -1
- package/src/layouts/PaymentsLayout/components/CreatePaymentDialog.tsx +1 -1
- package/src/layouts/PaymentsLayout/components/PaymentDetailsDialog.tsx +1 -1
- package/src/layouts/PaymentsLayout/views/overview/components/BalanceCard.tsx +1 -1
- package/src/layouts/PaymentsLayout/views/overview/components/RecentPayments.tsx +1 -1
- package/src/layouts/PaymentsLayout/views/payments/components/PaymentsList.tsx +4 -3
- package/src/layouts/PaymentsLayout/views/transactions/components/TransactionsList.tsx +1 -1
package/dist/hooks.js
CHANGED
|
@@ -3,13 +3,14 @@ import pRetry, { AbortError } from 'p-retry';
|
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { createExtensionAPI } from '@djangocfg/ext-base/api';
|
|
5
5
|
import { RefreshCw, Plus, XCircle, ExternalLink, Wallet, CreditCard, History, Clock, AlertCircle, CheckCircle2, Search, Filter, ArrowDownLeft, ArrowUpRight } from 'lucide-react';
|
|
6
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, Form, FormField, FormItem, FormLabel, FormControl, Input, FormDescription, FormMessage, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, TokenIcon, DialogFooter, Button, CopyButton, Tabs, TabsList, TabsTrigger, TabsContent, Card, CardHeader, CardTitle, Skeleton, CardContent, Badge,
|
|
6
|
+
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, Form, FormField, FormItem, FormLabel, FormControl, Input, FormDescription, FormMessage, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, TokenIcon, DialogFooter, Button, CopyButton, Tabs, TabsList, TabsTrigger, TabsContent, Card, CardHeader, CardTitle, Skeleton, CardContent, Badge, Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from '@djangocfg/ui-core';
|
|
7
7
|
import { createContext, useContext, useState, useMemo, useEffect } from 'react';
|
|
8
8
|
import useSWR, { useSWRConfig, SWRConfig } from 'swr';
|
|
9
9
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
10
10
|
import { useForm } from 'react-hook-form';
|
|
11
11
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
12
12
|
import moment from 'moment';
|
|
13
|
+
import { useDRFPagination, StaticPagination } from '@djangocfg/ui-nextjs/components';
|
|
13
14
|
import { createExtensionConfig } from '@djangocfg/ext-base';
|
|
14
15
|
|
|
15
16
|
var __defProp = Object.defineProperty;
|
|
@@ -2608,7 +2609,7 @@ var PaymentsLayout = () => {
|
|
|
2608
2609
|
// package.json
|
|
2609
2610
|
var package_default = {
|
|
2610
2611
|
name: "@djangocfg/ext-payments",
|
|
2611
|
-
version: "1.0.
|
|
2612
|
+
version: "1.0.9",
|
|
2612
2613
|
description: "Payments system extension for DjangoCFG",
|
|
2613
2614
|
keywords: [
|
|
2614
2615
|
"django",
|
|
@@ -2669,6 +2670,7 @@ var package_default = {
|
|
|
2669
2670
|
peerDependencies: {
|
|
2670
2671
|
"@djangocfg/api": "workspace:*",
|
|
2671
2672
|
"@djangocfg/ext-base": "workspace:*",
|
|
2673
|
+
"@djangocfg/ui-core": "workspace:*",
|
|
2672
2674
|
"@djangocfg/ui-nextjs": "workspace:*",
|
|
2673
2675
|
consola: "^3.4.2",
|
|
2674
2676
|
"lucide-react": "^0.545.0",
|
|
@@ -2683,6 +2685,7 @@ var package_default = {
|
|
|
2683
2685
|
"@djangocfg/api": "workspace:*",
|
|
2684
2686
|
"@djangocfg/ext-base": "workspace:*",
|
|
2685
2687
|
"@djangocfg/typescript-config": "workspace:*",
|
|
2688
|
+
"@djangocfg/ui-nextjs": "workspace:*",
|
|
2686
2689
|
"@types/node": "^24.7.2",
|
|
2687
2690
|
"@types/react": "^19.0.0",
|
|
2688
2691
|
consola: "^3.4.2",
|