@fayz-ai/plugin-financial 0.31.2 → 0.33.0
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/{FinancialPage-QPMREIN4.js → FinancialPage-2FIMXWCQ.js} +8 -5
- package/dist/FinancialPage-2FIMXWCQ.js.map +1 -0
- package/dist/{chunk-ILHSYF6L.js → chunk-F7UW7VZI.js} +35 -15
- package/dist/chunk-F7UW7VZI.js.map +1 -0
- package/dist/components/InvoiceAttachmentsModal.d.ts +6 -1
- package/dist/components/InvoiceAttachmentsModal.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/lib/routes.d.ts +1 -1
- package/dist/lib/routes.d.ts.map +1 -1
- package/dist/lib/useStockedItemTypes.d.ts.map +1 -1
- package/dist/views/GapScreens.d.ts +2 -1
- package/dist/views/GapScreens.d.ts.map +1 -1
- package/dist/views/InvoiceFormView.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/FinancialPage-QPMREIN4.js.map +0 -1
- package/dist/chunk-ILHSYF6L.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InvoiceFormView, InvoiceDetailView, marcarItemParaAbrir, AccountIcon, createFinancialCounterpartyLookup, InvoiceAttachmentsModal, CancelInvoicesDialog, FinancialCounterpartySearchSelect, useWritableUnits, useStockedItemTypes, UnitField, BankLogo, findBrBank, BankPicker } from './chunk-
|
|
1
|
+
import { InvoiceFormView, InvoiceDetailView, marcarItemParaAbrir, FINANCIAL_FISCAL_ZONES, AccountIcon, createFinancialCounterpartyLookup, InvoiceAttachmentsModal, CancelInvoicesDialog, FinancialCounterpartySearchSelect, useWritableUnits, useStockedItemTypes, UnitField, BankLogo, findBrBank, BankPicker } from './chunk-F7UW7VZI.js';
|
|
2
2
|
import { chartTreeProps, chartAccountWithDescendants, chartRowsFor } from './chunk-XGBGRXZ3.js';
|
|
3
3
|
import { startReceiptCapture, RECEIVABLE_RECEIPT_INSTRUCTIONS, RECEIPT_INSTRUCTIONS, createReceiptTools } from './chunk-7VKJLBYY.js';
|
|
4
4
|
import { FINANCIAL_MODULE_DEFAULTS, FinancialGeneralSettings } from './chunk-POYZFEAN.js';
|
|
@@ -7,10 +7,10 @@ import './chunk-MTYUOE76.js';
|
|
|
7
7
|
import { formatCurrency, FinancialContextProvider, useFinancialConfig, useFinancialStore, useFinancialProvider } from './chunk-CNXAVGSW.js';
|
|
8
8
|
import * as React15 from 'react';
|
|
9
9
|
import React15__default, { memo, useState, useMemo, useCallback, useEffect, useRef } from 'react';
|
|
10
|
-
import { useTranslation, navigateApp, appHref, useUnitMode, useDataChanged, describeError, resolveCurrency, exportCSV, formatCurrency as formatCurrency$1 } from '@fayz-ai/core';
|
|
10
|
+
import { useTranslation, usePluginRuntimeOptional, getWidgetsForZone, navigateApp, appHref, useUnitMode, useDataChanged, describeError, resolveCurrency, exportCSV, formatCurrency as formatCurrency$1 } from '@fayz-ai/core';
|
|
11
11
|
import { Badge, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, TreeSelect, Input, PageTransition, ModulePage, Button, DashboardCanvas, ComingSoon, SubpageHeader, PageTabs, StatTiles, Tooltip, TooltipTrigger, TooltipContent, TooltipProvider, ListView, DatePicker, ShellBanner, DataTable, DateRangeControl, useFilterDraft, usePageSize, PageHeaderActions, FilterPanel, FilterPanelField, SearchSelect, SegmentedControl, Card, Pagination, Hint, RequiredFilter, FilterMenuRow, toast, printDocument, ChoiceList, Skeleton, Modal, ModalContent, ModalHeader, ModalTitle, ModalDescription, ModalBody, ModalFooter, RefreshButton, AiActionButton, CurrencyInput, ModalFlow, useSaveBar, Switch, Textarea, RowActions, WizardSteps } from '@fayz-ai/ui';
|
|
12
|
+
import { useTenantPluginSettings, useModuleNavigation, usePluginOnboardingGate, usePermissionOptional, useModuleNavAccess, PluginOnboardingGateSkeleton, PluginSettingsPanel, ModuleActionBar, EntitlementGate, UpgradePrompt, parseViewId, WidgetSlot, GetStarted, PermissionGate, PageActions, useUnitFilter, adminNavigateTo, PersonLink, createOneShotAsk, useLookupCreate, createArchetypeLookup, OrderFormSkeleton, OrderFormView, OrderFormBlock, OrderFormItemsCard, OrderFormItemRow, OrderFormAddItemStep, useAgentSurface, shrinkForVision, toInlineFile } from '@fayz-ai/admin';
|
|
12
13
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
13
|
-
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';
|
|
14
14
|
import { ChevronDown, ChevronRight, DollarSign, Landmark, CreditCard, BookOpen, Check, Wallet, Receipt, CalendarClock, Plus, Loader2, BadgeCheck, Gift, Pencil, Target, AlertTriangle, Settings, Play, ArrowRight, Users, RefreshCw, ListChecks, Search, ArrowRightLeft, Building2, Download, Paperclip, CircleDashed, CircleEllipsis, CircleCheckBig, CircleAlert, Ban, Printer, FileText, ListTree, Camera, AlertCircle, Sparkles, Link2, FileSearch, Undo2, Eye, TriangleAlert, Trash2, CheckCheck, X, Pause, ShoppingCart, Car, Home, Utensils, Zap, Film, HeartPulse, Dumbbell, Music, ShoppingBag, CircleDollarSign, ArrowLeft, FileDown } from 'lucide-react';
|
|
15
15
|
import { T } from '@fayz-ai/financial/data/tables';
|
|
16
16
|
import { cnabPayeeGaps, inferPixKeyType, generateCnab240, splitAccountDigit, suggestPaymentForm } from '@fayz-ai/financial/domain/cnab240';
|
|
@@ -151,6 +151,9 @@ function ReceivingCardsView() {
|
|
|
151
151
|
);
|
|
152
152
|
}
|
|
153
153
|
function IssuedNotesView() {
|
|
154
|
+
const runtime = usePluginRuntimeOptional();
|
|
155
|
+
const hasScreen = !!runtime && getWidgetsForZone(runtime, FINANCIAL_FISCAL_ZONES.documents).length > 0;
|
|
156
|
+
if (hasScreen) return /* @__PURE__ */ jsx(WidgetSlot, { zone: FINANCIAL_FISCAL_ZONES.documents });
|
|
154
157
|
return /* @__PURE__ */ jsx(
|
|
155
158
|
ComingSoon,
|
|
156
159
|
{
|
|
@@ -6754,5 +6757,5 @@ function FinancialPage({ config: appConfig, provider, store, registries }) {
|
|
|
6754
6757
|
}
|
|
6755
6758
|
|
|
6756
6759
|
export { FinancialPage };
|
|
6757
|
-
//# sourceMappingURL=FinancialPage-
|
|
6758
|
-
//# sourceMappingURL=FinancialPage-
|
|
6760
|
+
//# sourceMappingURL=FinancialPage-2FIMXWCQ.js.map
|
|
6761
|
+
//# sourceMappingURL=FinancialPage-2FIMXWCQ.js.map
|