ptechcore_ui 1.0.35 → 1.0.38
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/index.cjs +6325 -4301
- package/dist/index.d.cts +183 -1
- package/dist/index.d.ts +183 -1
- package/dist/index.js +6349 -4285
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -229,6 +229,7 @@ interface Vendor {
|
|
|
229
229
|
activity_sector?: string | null;
|
|
230
230
|
description?: string | null;
|
|
231
231
|
accounting_account_number?: string | null;
|
|
232
|
+
account?: number | null;
|
|
232
233
|
capital?: number | null;
|
|
233
234
|
annual_turnover?: number | null;
|
|
234
235
|
payment_delay?: number | null;
|
|
@@ -645,6 +646,7 @@ interface Client extends TrackableModel, BusinessEntityAbstract {
|
|
|
645
646
|
city?: string | null;
|
|
646
647
|
address?: string | null;
|
|
647
648
|
accounting_account_number?: string | null;
|
|
649
|
+
account?: number | null;
|
|
648
650
|
capital?: number | null;
|
|
649
651
|
annual_turnover?: number | null;
|
|
650
652
|
payment_delay?: number;
|
|
@@ -697,6 +699,52 @@ declare const ClientServices: {
|
|
|
697
699
|
delete: (id: number) => Promise<unknown>;
|
|
698
700
|
};
|
|
699
701
|
|
|
702
|
+
type AccountType = 'E' | 'V' | 'C' | 'TO' | 'D' | 'OR' | 'SC' | 'NSC' | 'FI' | 'FE' | 'NOI' | 'NOE' | 'B' | 'CC' | 'T' | 'TI' | 'R';
|
|
703
|
+
type BalanceType = '(Cr)' | 'Dr' | '(Cr) - Dr' | 'Cr';
|
|
704
|
+
interface Account {
|
|
705
|
+
id?: number;
|
|
706
|
+
account_number: string;
|
|
707
|
+
alias_account_number?: string;
|
|
708
|
+
external_account_number?: string;
|
|
709
|
+
name: string;
|
|
710
|
+
french_description?: string;
|
|
711
|
+
english_description?: string;
|
|
712
|
+
level: number;
|
|
713
|
+
parent?: number | null;
|
|
714
|
+
balance: BalanceType;
|
|
715
|
+
account_type: AccountType;
|
|
716
|
+
is_active: boolean;
|
|
717
|
+
business_entity?: number;
|
|
718
|
+
created_at?: string;
|
|
719
|
+
updated_at?: string;
|
|
720
|
+
children?: Account[];
|
|
721
|
+
}
|
|
722
|
+
declare const ACCOUNT_TYPE_LABELS: Record<AccountType, string>;
|
|
723
|
+
declare const BALANCE_TYPE_LABELS: Record<BalanceType, string>;
|
|
724
|
+
declare const SYSCOHADA_CLASSES: {
|
|
725
|
+
code: string;
|
|
726
|
+
name: string;
|
|
727
|
+
color: string;
|
|
728
|
+
}[];
|
|
729
|
+
|
|
730
|
+
interface AccountListResponse {
|
|
731
|
+
data: Account[];
|
|
732
|
+
paginate: {
|
|
733
|
+
total_pages: number;
|
|
734
|
+
current_page: number;
|
|
735
|
+
count: number;
|
|
736
|
+
next: string | null;
|
|
737
|
+
previous: string | null;
|
|
738
|
+
};
|
|
739
|
+
}
|
|
740
|
+
declare const AccountServices: {
|
|
741
|
+
create: (data: Partial<Account>) => Promise<Account>;
|
|
742
|
+
get: (id: number) => Promise<Account>;
|
|
743
|
+
list: (params?: Record<string, any>) => Promise<AccountListResponse>;
|
|
744
|
+
update: (id: number, data: Partial<Account>) => Promise<Account>;
|
|
745
|
+
delete: (id: number) => Promise<unknown>;
|
|
746
|
+
};
|
|
747
|
+
|
|
700
748
|
type ImportField = {
|
|
701
749
|
value: string;
|
|
702
750
|
label: string;
|
|
@@ -832,12 +880,23 @@ interface SearchableSelectOption {
|
|
|
832
880
|
interface SelectProps$1 {
|
|
833
881
|
value?: any;
|
|
834
882
|
onSelect: (option: SearchableSelectOption) => void;
|
|
883
|
+
allowClear?: boolean;
|
|
884
|
+
onRemove?: () => void;
|
|
885
|
+
label?: string;
|
|
835
886
|
}
|
|
836
887
|
declare const SelectVendor: React.FC<SelectProps$1>;
|
|
837
888
|
declare const SelectUser: React.FC<SelectProps$1>;
|
|
838
889
|
declare const SelectDepartment: React.FC<SelectProps$1>;
|
|
839
890
|
declare const SelectCostCenter: React.FC<SelectProps$1>;
|
|
840
891
|
declare const SelectUnit: React.FC<SelectProps$1>;
|
|
892
|
+
interface SelectAccountProps extends SelectProps$1 {
|
|
893
|
+
filterClass?: string;
|
|
894
|
+
filterType?: string;
|
|
895
|
+
showInactive?: boolean;
|
|
896
|
+
label?: string;
|
|
897
|
+
}
|
|
898
|
+
declare const SelectAccount: React.FC<SelectAccountProps>;
|
|
899
|
+
declare const SelectClient: React.FC<SelectProps$1>;
|
|
841
900
|
|
|
842
901
|
interface SelectProps {
|
|
843
902
|
value?: any;
|
|
@@ -1607,4 +1666,127 @@ declare const formatDateFR: (date: Date | string, format?: "short" | "long") =>
|
|
|
1607
1666
|
*/
|
|
1608
1667
|
declare const formatCurrency: (amount: number, currency?: string, showDecimals?: boolean) => string;
|
|
1609
1668
|
|
|
1610
|
-
|
|
1669
|
+
interface ModernCardProps {
|
|
1670
|
+
children: React$1.ReactNode;
|
|
1671
|
+
className?: string;
|
|
1672
|
+
hoverable?: boolean;
|
|
1673
|
+
bordered?: boolean;
|
|
1674
|
+
elevated?: boolean;
|
|
1675
|
+
gradient?: boolean;
|
|
1676
|
+
onClick?: () => void;
|
|
1677
|
+
}
|
|
1678
|
+
declare const ModernCard: React$1.FC<ModernCardProps>;
|
|
1679
|
+
interface CardHeaderProps {
|
|
1680
|
+
title: string;
|
|
1681
|
+
subtitle?: string;
|
|
1682
|
+
icon?: LucideIcon;
|
|
1683
|
+
action?: React$1.ReactNode;
|
|
1684
|
+
className?: string;
|
|
1685
|
+
children?: React$1.ReactNode;
|
|
1686
|
+
}
|
|
1687
|
+
declare const CardHeader: React$1.FC<CardHeaderProps>;
|
|
1688
|
+
interface CardBodyProps {
|
|
1689
|
+
children: React$1.ReactNode;
|
|
1690
|
+
className?: string;
|
|
1691
|
+
noPadding?: boolean;
|
|
1692
|
+
}
|
|
1693
|
+
declare const CardBody: React$1.FC<CardBodyProps>;
|
|
1694
|
+
interface StatCardProps {
|
|
1695
|
+
title: string;
|
|
1696
|
+
value: string | number;
|
|
1697
|
+
change?: {
|
|
1698
|
+
value: number;
|
|
1699
|
+
type: 'increase' | 'decrease';
|
|
1700
|
+
};
|
|
1701
|
+
icon?: LucideIcon;
|
|
1702
|
+
color?: 'primary' | 'success' | 'warning' | 'error' | 'info';
|
|
1703
|
+
className?: string;
|
|
1704
|
+
}
|
|
1705
|
+
declare const StatCard: React$1.FC<StatCardProps>;
|
|
1706
|
+
|
|
1707
|
+
interface ProcurementWorkspaceStats {
|
|
1708
|
+
purchase_requests: {
|
|
1709
|
+
total: number;
|
|
1710
|
+
draft: number;
|
|
1711
|
+
pending_approval: number;
|
|
1712
|
+
approved: number;
|
|
1713
|
+
in_sourcing: number;
|
|
1714
|
+
completed: number;
|
|
1715
|
+
rejected: number;
|
|
1716
|
+
trend: number;
|
|
1717
|
+
};
|
|
1718
|
+
rfqs: {
|
|
1719
|
+
total: number;
|
|
1720
|
+
draft: number;
|
|
1721
|
+
open: number;
|
|
1722
|
+
pending_evaluation: number;
|
|
1723
|
+
closed: number;
|
|
1724
|
+
};
|
|
1725
|
+
purchase_orders: {
|
|
1726
|
+
total: number;
|
|
1727
|
+
pending_delivery: number;
|
|
1728
|
+
delivered: number;
|
|
1729
|
+
total_value: number;
|
|
1730
|
+
trend: number;
|
|
1731
|
+
};
|
|
1732
|
+
receipts: {
|
|
1733
|
+
total: number;
|
|
1734
|
+
pending_validation: number;
|
|
1735
|
+
validated: number;
|
|
1736
|
+
};
|
|
1737
|
+
vendors: {
|
|
1738
|
+
total: number;
|
|
1739
|
+
active: number;
|
|
1740
|
+
};
|
|
1741
|
+
alerts: {
|
|
1742
|
+
overdue_deliveries: number;
|
|
1743
|
+
expiring_contracts: number;
|
|
1744
|
+
pending_approvals: number;
|
|
1745
|
+
};
|
|
1746
|
+
recent_activities: RecentActivity[];
|
|
1747
|
+
pending_tasks: PendingTask[];
|
|
1748
|
+
}
|
|
1749
|
+
interface RecentActivity {
|
|
1750
|
+
id: string;
|
|
1751
|
+
type: 'pr_created' | 'rfq_sent' | 'quote_received' | 'po_issued' | 'receipt_created' | 'approval_pending';
|
|
1752
|
+
title: string;
|
|
1753
|
+
description: string;
|
|
1754
|
+
timestamp: string | null;
|
|
1755
|
+
status: 'info' | 'success' | 'warning' | 'error';
|
|
1756
|
+
}
|
|
1757
|
+
interface PendingTask {
|
|
1758
|
+
id: string;
|
|
1759
|
+
type: 'approval' | 'evaluation' | 'receipt' | 'follow_up';
|
|
1760
|
+
title: string;
|
|
1761
|
+
priority: 'low' | 'medium' | 'high' | 'critical';
|
|
1762
|
+
dueDate: string;
|
|
1763
|
+
link: string;
|
|
1764
|
+
}
|
|
1765
|
+
declare const WorkspaceServices: {
|
|
1766
|
+
/**
|
|
1767
|
+
* Récupère les données du workspace Procurement (Achats)
|
|
1768
|
+
*/
|
|
1769
|
+
getProcurementWorkspace: (businessEntityId?: string) => Promise<ProcurementWorkspaceStats>;
|
|
1770
|
+
};
|
|
1771
|
+
|
|
1772
|
+
type ModuleType = 'purchase' | 'accounting' | 'crm' | 'facility';
|
|
1773
|
+
interface ModuleConfig {
|
|
1774
|
+
id: ModuleType;
|
|
1775
|
+
label: string;
|
|
1776
|
+
description: string;
|
|
1777
|
+
icon: React$1.ElementType;
|
|
1778
|
+
color: string;
|
|
1779
|
+
bgColor: string;
|
|
1780
|
+
component: React$1.FC;
|
|
1781
|
+
}
|
|
1782
|
+
declare const WorkSpace: React$1.FC;
|
|
1783
|
+
|
|
1784
|
+
declare const PurchaseWorkspace: React$1.FC;
|
|
1785
|
+
|
|
1786
|
+
declare const AccountingWorkspace: React$1.FC;
|
|
1787
|
+
|
|
1788
|
+
declare const CrmWorkspace: React$1.FC;
|
|
1789
|
+
|
|
1790
|
+
declare const FacilityWorkspace: React$1.FC;
|
|
1791
|
+
|
|
1792
|
+
export { ACCOUNT_TYPE_LABELS, type Account, type AccountListResponse, AccountServices, type AccountType, AccountingWorkspace, Alert, AlertProvider, ApprovalAnswerModal, ApprovalAnswerPage, ApprovalPreviewAnswer, ApprovalServices, ApprovalWorkflow, AuthServices, BALANCE_TYPE_LABELS, type BackendFile, type BackendFolder, type BalanceType, CHOICES, CardBody, CardHeader, type Client, type ClientListResponse, ClientServices, type ConfirmOptions, CountrySelector, CrmWorkspace, DataTable, DateInput, DocumentFooter, DocumentHeader, EntityFileManager, type EntityFileManagerProps, type EntityType, FDrawer, FROM_MODULE_CHOICES, FacilityWorkspace, FetchApi, FileInput, type FileItem, FileManager, type FileManagerProps, FileManagerProvider, type FileManagerTexts, ForeignCurrencySelector, FormClient, FormVendor, type FromModule, InfoBox, InputField, InvoiceTypeSelector, LegalFormSelector, type MenuItem, MinimalVendorForm, Modal, ModernCard, type ModuleConfig, type ModuleType, NumberInput, PRINT_GREEN, Pages, PaymentMethodSelector, type PendingTask, PrimaryButton, PrintPreview, type PrintPreviewProps, PrintableDocument, type PrintableDocumentProps, type ProcurementWorkspaceStats, PurchaseWorkspace, type RecentActivity, RewiseLayout, SYSCOHADA_CLASSES, SecondaryButton, SelectAccount, SelectClient, SelectCostCenter, SelectDepartment, SelectInput, SelectUnit, SelectUser, SelectVendor, SessionProvider, SignatureSection, StatCard, TEMPLATE_FNE_CHOICES, TaxSelector, type TemplateFNE, TemplateFNESelector, TextInput, ThemeProvider, ToastContainer, ToastProvider, TotalsSection, type Unit, UnitServices, type UseFileManagerApiReturn, type User, UserServices, type Vendor, type VendorListResponse, VendorServices, type ViewMode, WorkSpace, WorkspaceServices, fileManagerApi, formatCurrency, formatDate, formatDateFR, formatFileSize, getFileIcon, numberToWords, useAlert, useFileManager, useFileManagerApi, useSession, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -229,6 +229,7 @@ interface Vendor {
|
|
|
229
229
|
activity_sector?: string | null;
|
|
230
230
|
description?: string | null;
|
|
231
231
|
accounting_account_number?: string | null;
|
|
232
|
+
account?: number | null;
|
|
232
233
|
capital?: number | null;
|
|
233
234
|
annual_turnover?: number | null;
|
|
234
235
|
payment_delay?: number | null;
|
|
@@ -645,6 +646,7 @@ interface Client extends TrackableModel, BusinessEntityAbstract {
|
|
|
645
646
|
city?: string | null;
|
|
646
647
|
address?: string | null;
|
|
647
648
|
accounting_account_number?: string | null;
|
|
649
|
+
account?: number | null;
|
|
648
650
|
capital?: number | null;
|
|
649
651
|
annual_turnover?: number | null;
|
|
650
652
|
payment_delay?: number;
|
|
@@ -697,6 +699,52 @@ declare const ClientServices: {
|
|
|
697
699
|
delete: (id: number) => Promise<unknown>;
|
|
698
700
|
};
|
|
699
701
|
|
|
702
|
+
type AccountType = 'E' | 'V' | 'C' | 'TO' | 'D' | 'OR' | 'SC' | 'NSC' | 'FI' | 'FE' | 'NOI' | 'NOE' | 'B' | 'CC' | 'T' | 'TI' | 'R';
|
|
703
|
+
type BalanceType = '(Cr)' | 'Dr' | '(Cr) - Dr' | 'Cr';
|
|
704
|
+
interface Account {
|
|
705
|
+
id?: number;
|
|
706
|
+
account_number: string;
|
|
707
|
+
alias_account_number?: string;
|
|
708
|
+
external_account_number?: string;
|
|
709
|
+
name: string;
|
|
710
|
+
french_description?: string;
|
|
711
|
+
english_description?: string;
|
|
712
|
+
level: number;
|
|
713
|
+
parent?: number | null;
|
|
714
|
+
balance: BalanceType;
|
|
715
|
+
account_type: AccountType;
|
|
716
|
+
is_active: boolean;
|
|
717
|
+
business_entity?: number;
|
|
718
|
+
created_at?: string;
|
|
719
|
+
updated_at?: string;
|
|
720
|
+
children?: Account[];
|
|
721
|
+
}
|
|
722
|
+
declare const ACCOUNT_TYPE_LABELS: Record<AccountType, string>;
|
|
723
|
+
declare const BALANCE_TYPE_LABELS: Record<BalanceType, string>;
|
|
724
|
+
declare const SYSCOHADA_CLASSES: {
|
|
725
|
+
code: string;
|
|
726
|
+
name: string;
|
|
727
|
+
color: string;
|
|
728
|
+
}[];
|
|
729
|
+
|
|
730
|
+
interface AccountListResponse {
|
|
731
|
+
data: Account[];
|
|
732
|
+
paginate: {
|
|
733
|
+
total_pages: number;
|
|
734
|
+
current_page: number;
|
|
735
|
+
count: number;
|
|
736
|
+
next: string | null;
|
|
737
|
+
previous: string | null;
|
|
738
|
+
};
|
|
739
|
+
}
|
|
740
|
+
declare const AccountServices: {
|
|
741
|
+
create: (data: Partial<Account>) => Promise<Account>;
|
|
742
|
+
get: (id: number) => Promise<Account>;
|
|
743
|
+
list: (params?: Record<string, any>) => Promise<AccountListResponse>;
|
|
744
|
+
update: (id: number, data: Partial<Account>) => Promise<Account>;
|
|
745
|
+
delete: (id: number) => Promise<unknown>;
|
|
746
|
+
};
|
|
747
|
+
|
|
700
748
|
type ImportField = {
|
|
701
749
|
value: string;
|
|
702
750
|
label: string;
|
|
@@ -832,12 +880,23 @@ interface SearchableSelectOption {
|
|
|
832
880
|
interface SelectProps$1 {
|
|
833
881
|
value?: any;
|
|
834
882
|
onSelect: (option: SearchableSelectOption) => void;
|
|
883
|
+
allowClear?: boolean;
|
|
884
|
+
onRemove?: () => void;
|
|
885
|
+
label?: string;
|
|
835
886
|
}
|
|
836
887
|
declare const SelectVendor: React.FC<SelectProps$1>;
|
|
837
888
|
declare const SelectUser: React.FC<SelectProps$1>;
|
|
838
889
|
declare const SelectDepartment: React.FC<SelectProps$1>;
|
|
839
890
|
declare const SelectCostCenter: React.FC<SelectProps$1>;
|
|
840
891
|
declare const SelectUnit: React.FC<SelectProps$1>;
|
|
892
|
+
interface SelectAccountProps extends SelectProps$1 {
|
|
893
|
+
filterClass?: string;
|
|
894
|
+
filterType?: string;
|
|
895
|
+
showInactive?: boolean;
|
|
896
|
+
label?: string;
|
|
897
|
+
}
|
|
898
|
+
declare const SelectAccount: React.FC<SelectAccountProps>;
|
|
899
|
+
declare const SelectClient: React.FC<SelectProps$1>;
|
|
841
900
|
|
|
842
901
|
interface SelectProps {
|
|
843
902
|
value?: any;
|
|
@@ -1607,4 +1666,127 @@ declare const formatDateFR: (date: Date | string, format?: "short" | "long") =>
|
|
|
1607
1666
|
*/
|
|
1608
1667
|
declare const formatCurrency: (amount: number, currency?: string, showDecimals?: boolean) => string;
|
|
1609
1668
|
|
|
1610
|
-
|
|
1669
|
+
interface ModernCardProps {
|
|
1670
|
+
children: React$1.ReactNode;
|
|
1671
|
+
className?: string;
|
|
1672
|
+
hoverable?: boolean;
|
|
1673
|
+
bordered?: boolean;
|
|
1674
|
+
elevated?: boolean;
|
|
1675
|
+
gradient?: boolean;
|
|
1676
|
+
onClick?: () => void;
|
|
1677
|
+
}
|
|
1678
|
+
declare const ModernCard: React$1.FC<ModernCardProps>;
|
|
1679
|
+
interface CardHeaderProps {
|
|
1680
|
+
title: string;
|
|
1681
|
+
subtitle?: string;
|
|
1682
|
+
icon?: LucideIcon;
|
|
1683
|
+
action?: React$1.ReactNode;
|
|
1684
|
+
className?: string;
|
|
1685
|
+
children?: React$1.ReactNode;
|
|
1686
|
+
}
|
|
1687
|
+
declare const CardHeader: React$1.FC<CardHeaderProps>;
|
|
1688
|
+
interface CardBodyProps {
|
|
1689
|
+
children: React$1.ReactNode;
|
|
1690
|
+
className?: string;
|
|
1691
|
+
noPadding?: boolean;
|
|
1692
|
+
}
|
|
1693
|
+
declare const CardBody: React$1.FC<CardBodyProps>;
|
|
1694
|
+
interface StatCardProps {
|
|
1695
|
+
title: string;
|
|
1696
|
+
value: string | number;
|
|
1697
|
+
change?: {
|
|
1698
|
+
value: number;
|
|
1699
|
+
type: 'increase' | 'decrease';
|
|
1700
|
+
};
|
|
1701
|
+
icon?: LucideIcon;
|
|
1702
|
+
color?: 'primary' | 'success' | 'warning' | 'error' | 'info';
|
|
1703
|
+
className?: string;
|
|
1704
|
+
}
|
|
1705
|
+
declare const StatCard: React$1.FC<StatCardProps>;
|
|
1706
|
+
|
|
1707
|
+
interface ProcurementWorkspaceStats {
|
|
1708
|
+
purchase_requests: {
|
|
1709
|
+
total: number;
|
|
1710
|
+
draft: number;
|
|
1711
|
+
pending_approval: number;
|
|
1712
|
+
approved: number;
|
|
1713
|
+
in_sourcing: number;
|
|
1714
|
+
completed: number;
|
|
1715
|
+
rejected: number;
|
|
1716
|
+
trend: number;
|
|
1717
|
+
};
|
|
1718
|
+
rfqs: {
|
|
1719
|
+
total: number;
|
|
1720
|
+
draft: number;
|
|
1721
|
+
open: number;
|
|
1722
|
+
pending_evaluation: number;
|
|
1723
|
+
closed: number;
|
|
1724
|
+
};
|
|
1725
|
+
purchase_orders: {
|
|
1726
|
+
total: number;
|
|
1727
|
+
pending_delivery: number;
|
|
1728
|
+
delivered: number;
|
|
1729
|
+
total_value: number;
|
|
1730
|
+
trend: number;
|
|
1731
|
+
};
|
|
1732
|
+
receipts: {
|
|
1733
|
+
total: number;
|
|
1734
|
+
pending_validation: number;
|
|
1735
|
+
validated: number;
|
|
1736
|
+
};
|
|
1737
|
+
vendors: {
|
|
1738
|
+
total: number;
|
|
1739
|
+
active: number;
|
|
1740
|
+
};
|
|
1741
|
+
alerts: {
|
|
1742
|
+
overdue_deliveries: number;
|
|
1743
|
+
expiring_contracts: number;
|
|
1744
|
+
pending_approvals: number;
|
|
1745
|
+
};
|
|
1746
|
+
recent_activities: RecentActivity[];
|
|
1747
|
+
pending_tasks: PendingTask[];
|
|
1748
|
+
}
|
|
1749
|
+
interface RecentActivity {
|
|
1750
|
+
id: string;
|
|
1751
|
+
type: 'pr_created' | 'rfq_sent' | 'quote_received' | 'po_issued' | 'receipt_created' | 'approval_pending';
|
|
1752
|
+
title: string;
|
|
1753
|
+
description: string;
|
|
1754
|
+
timestamp: string | null;
|
|
1755
|
+
status: 'info' | 'success' | 'warning' | 'error';
|
|
1756
|
+
}
|
|
1757
|
+
interface PendingTask {
|
|
1758
|
+
id: string;
|
|
1759
|
+
type: 'approval' | 'evaluation' | 'receipt' | 'follow_up';
|
|
1760
|
+
title: string;
|
|
1761
|
+
priority: 'low' | 'medium' | 'high' | 'critical';
|
|
1762
|
+
dueDate: string;
|
|
1763
|
+
link: string;
|
|
1764
|
+
}
|
|
1765
|
+
declare const WorkspaceServices: {
|
|
1766
|
+
/**
|
|
1767
|
+
* Récupère les données du workspace Procurement (Achats)
|
|
1768
|
+
*/
|
|
1769
|
+
getProcurementWorkspace: (businessEntityId?: string) => Promise<ProcurementWorkspaceStats>;
|
|
1770
|
+
};
|
|
1771
|
+
|
|
1772
|
+
type ModuleType = 'purchase' | 'accounting' | 'crm' | 'facility';
|
|
1773
|
+
interface ModuleConfig {
|
|
1774
|
+
id: ModuleType;
|
|
1775
|
+
label: string;
|
|
1776
|
+
description: string;
|
|
1777
|
+
icon: React$1.ElementType;
|
|
1778
|
+
color: string;
|
|
1779
|
+
bgColor: string;
|
|
1780
|
+
component: React$1.FC;
|
|
1781
|
+
}
|
|
1782
|
+
declare const WorkSpace: React$1.FC;
|
|
1783
|
+
|
|
1784
|
+
declare const PurchaseWorkspace: React$1.FC;
|
|
1785
|
+
|
|
1786
|
+
declare const AccountingWorkspace: React$1.FC;
|
|
1787
|
+
|
|
1788
|
+
declare const CrmWorkspace: React$1.FC;
|
|
1789
|
+
|
|
1790
|
+
declare const FacilityWorkspace: React$1.FC;
|
|
1791
|
+
|
|
1792
|
+
export { ACCOUNT_TYPE_LABELS, type Account, type AccountListResponse, AccountServices, type AccountType, AccountingWorkspace, Alert, AlertProvider, ApprovalAnswerModal, ApprovalAnswerPage, ApprovalPreviewAnswer, ApprovalServices, ApprovalWorkflow, AuthServices, BALANCE_TYPE_LABELS, type BackendFile, type BackendFolder, type BalanceType, CHOICES, CardBody, CardHeader, type Client, type ClientListResponse, ClientServices, type ConfirmOptions, CountrySelector, CrmWorkspace, DataTable, DateInput, DocumentFooter, DocumentHeader, EntityFileManager, type EntityFileManagerProps, type EntityType, FDrawer, FROM_MODULE_CHOICES, FacilityWorkspace, FetchApi, FileInput, type FileItem, FileManager, type FileManagerProps, FileManagerProvider, type FileManagerTexts, ForeignCurrencySelector, FormClient, FormVendor, type FromModule, InfoBox, InputField, InvoiceTypeSelector, LegalFormSelector, type MenuItem, MinimalVendorForm, Modal, ModernCard, type ModuleConfig, type ModuleType, NumberInput, PRINT_GREEN, Pages, PaymentMethodSelector, type PendingTask, PrimaryButton, PrintPreview, type PrintPreviewProps, PrintableDocument, type PrintableDocumentProps, type ProcurementWorkspaceStats, PurchaseWorkspace, type RecentActivity, RewiseLayout, SYSCOHADA_CLASSES, SecondaryButton, SelectAccount, SelectClient, SelectCostCenter, SelectDepartment, SelectInput, SelectUnit, SelectUser, SelectVendor, SessionProvider, SignatureSection, StatCard, TEMPLATE_FNE_CHOICES, TaxSelector, type TemplateFNE, TemplateFNESelector, TextInput, ThemeProvider, ToastContainer, ToastProvider, TotalsSection, type Unit, UnitServices, type UseFileManagerApiReturn, type User, UserServices, type Vendor, type VendorListResponse, VendorServices, type ViewMode, WorkSpace, WorkspaceServices, fileManagerApi, formatCurrency, formatDate, formatDateFR, formatFileSize, getFileIcon, numberToWords, useAlert, useFileManager, useFileManagerApi, useSession, useToast };
|