@fayz-ai/plugin-financial 0.26.1 → 0.26.2
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.
|
@@ -6,7 +6,7 @@ import { FinancialContextProvider, useFinancialConfig, useFinancialStore, useFin
|
|
|
6
6
|
import * as React14 from 'react';
|
|
7
7
|
import React14__default, { useMemo, useCallback, useState, useEffect, useRef } from 'react';
|
|
8
8
|
import { useTranslation, navigateApp, appHref, useUnitMode, useDataChanged, describeError, resolveCurrency, exportCSV, formatCurrency as formatCurrency$1 } from '@fayz-ai/core';
|
|
9
|
-
import { PageTransition, ModulePage, Button, DashboardCanvas, ComingSoon, SubpageHeader, PageTabs, StatTiles, Tooltip, TooltipTrigger, TooltipContent, TooltipProvider, ListView, Input, DatePicker, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, DataTable, DateRangeControl, PageHeaderActions, FilterPanel, FilterPanelField, SearchSelect, SegmentedControl, Card, Pagination, Hint, RequiredFilter, FilterMenuRow, toast, printDocument, ChoiceList, Skeleton, Modal, ModalContent, ModalHeader, ModalTitle, ModalDescription, ModalBody, ModalFooter, Badge, AiActionButton, CurrencyInput, ModalFlow, useSaveBar, Switch, Textarea, RowActions, WizardSteps } from '@fayz-ai/ui';
|
|
9
|
+
import { PageTransition, ModulePage, Button, DashboardCanvas, ComingSoon, SubpageHeader, PageTabs, StatTiles, Tooltip, TooltipTrigger, TooltipContent, TooltipProvider, ListView, Input, DatePicker, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, DataTable, DateRangeControl, usePageSize, PageHeaderActions, FilterPanel, FilterPanelField, SearchSelect, SegmentedControl, Card, Pagination, Hint, RequiredFilter, FilterMenuRow, toast, printDocument, ChoiceList, Skeleton, Modal, ModalContent, ModalHeader, ModalTitle, ModalDescription, ModalBody, ModalFooter, Badge, AiActionButton, CurrencyInput, ModalFlow, useSaveBar, Switch, Textarea, RowActions, WizardSteps } from '@fayz-ai/ui';
|
|
10
10
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
11
11
|
import { useTenantPluginSettings, useModuleNavigation, usePluginOnboardingGate, usePermissionOptional, useModuleNavAccess, PluginOnboardingGateSkeleton, PluginSettingsPanel, ModuleActionBar, EntitlementGate, UpgradePrompt, parseViewId, GetStarted, PermissionGate, PageActions, useUnitFilter, adminNavigateTo, PersonLink, createOneShotAsk, useLookupCreate, createArchetypeLookup, OrderFormSkeleton, OrderFormView, OrderFormBlock, OrderFormItemsCard, OrderFormItemRow, OrderFormAddItemStep, useAgentSurface, shrinkForVision, toInlineFile } from '@fayz-ai/admin';
|
|
12
12
|
import { DollarSign, Landmark, CreditCard, BookOpen, Check, ChevronRight, Wallet, Receipt, CalendarClock, Plus, Loader2, BadgeCheck, Gift, Pencil, Target, Settings, Play, ArrowRight, Users, RefreshCw, CloudDownload, ListChecks, Search, ChevronDown, ArrowRightLeft, Building2, Download, Paperclip, CircleDashed, CircleEllipsis, CircleCheckBig, CircleAlert, Ban, Printer, FileText, Camera, Sparkles, Link2, FileSearch, Undo2, Eye, TriangleAlert, Trash2, CheckCheck, X, Pause, ShoppingCart, Car, Home, Utensils, Zap, Film, HeartPulse, Dumbbell, Music, ShoppingBag, CircleDollarSign, ArrowLeft, FileDown, AlertTriangle } from 'lucide-react';
|
|
@@ -4904,6 +4904,7 @@ function ReconciliationView() {
|
|
|
4904
4904
|
});
|
|
4905
4905
|
const [appliedSearch, setAppliedSearch] = useState("");
|
|
4906
4906
|
const [page, setPage] = useState(1);
|
|
4907
|
+
const [pageSize, setPageSize] = usePageSize("financial.reconciliation", PAGE_SIZE);
|
|
4907
4908
|
const [result, setResult] = useState(null);
|
|
4908
4909
|
const [loading, setLoading] = useState(false);
|
|
4909
4910
|
const [candidatos, setCandidatos] = useState({});
|
|
@@ -4942,13 +4943,13 @@ function ReconciliationView() {
|
|
|
4942
4943
|
search: appliedSearch || void 0,
|
|
4943
4944
|
hideInvestments: applied.hideInvestments,
|
|
4944
4945
|
page,
|
|
4945
|
-
pageSize
|
|
4946
|
+
pageSize
|
|
4946
4947
|
});
|
|
4947
4948
|
setResult(data);
|
|
4948
4949
|
} finally {
|
|
4949
4950
|
setLoading(false);
|
|
4950
4951
|
}
|
|
4951
|
-
}, [provider, applied, appliedSearch, page]);
|
|
4952
|
+
}, [provider, applied, appliedSearch, page, pageSize]);
|
|
4952
4953
|
useEffect(() => {
|
|
4953
4954
|
void load();
|
|
4954
4955
|
}, [load]);
|
|
@@ -5293,9 +5294,13 @@ function ReconciliationView() {
|
|
|
5293
5294
|
{
|
|
5294
5295
|
className: "border-t-0",
|
|
5295
5296
|
page,
|
|
5296
|
-
pageSize
|
|
5297
|
+
pageSize,
|
|
5297
5298
|
total,
|
|
5298
5299
|
onPageChange: setPage,
|
|
5300
|
+
onPageSizeChange: (n) => {
|
|
5301
|
+
setPageSize(n);
|
|
5302
|
+
setPage(1);
|
|
5303
|
+
},
|
|
5299
5304
|
disabled: loading
|
|
5300
5305
|
}
|
|
5301
5306
|
) }),
|
|
@@ -6478,5 +6483,5 @@ function FinancialPage({ config: appConfig, provider, store, registries }) {
|
|
|
6478
6483
|
}
|
|
6479
6484
|
|
|
6480
6485
|
export { FinancialPage };
|
|
6481
|
-
//# sourceMappingURL=FinancialPage-
|
|
6482
|
-
//# sourceMappingURL=FinancialPage-
|
|
6486
|
+
//# sourceMappingURL=FinancialPage-EXFS4ADV.js.map
|
|
6487
|
+
//# sourceMappingURL=FinancialPage-EXFS4ADV.js.map
|