ptechcore_ui 1.0.38 → 1.0.41
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 +8617 -408
- package/dist/index.d.cts +41 -3
- package/dist/index.d.ts +41 -3
- package/dist/index.js +8781 -421
- package/package.json +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -876,6 +876,20 @@ interface SearchableSelectOption {
|
|
|
876
876
|
content?: React$1.ReactNode;
|
|
877
877
|
image?: string;
|
|
878
878
|
}
|
|
879
|
+
interface SearchableSelectProps {
|
|
880
|
+
options: SearchableSelectOption[];
|
|
881
|
+
value?: string | number;
|
|
882
|
+
placeholder?: string;
|
|
883
|
+
searchPlaceholder?: string;
|
|
884
|
+
onSelect: (option: SearchableSelectOption) => void;
|
|
885
|
+
onRemove?: () => void;
|
|
886
|
+
disabled?: boolean;
|
|
887
|
+
allowClear?: boolean;
|
|
888
|
+
filterFunction?: (option: SearchableSelectOption, searchTerm: string) => boolean;
|
|
889
|
+
addElement?: () => void;
|
|
890
|
+
refresh?: () => void;
|
|
891
|
+
}
|
|
892
|
+
declare const SearchableSelect: React$1.FC<SearchableSelectProps>;
|
|
879
893
|
|
|
880
894
|
interface SelectProps$1 {
|
|
881
895
|
value?: any;
|
|
@@ -1769,7 +1783,7 @@ declare const WorkspaceServices: {
|
|
|
1769
1783
|
getProcurementWorkspace: (businessEntityId?: string) => Promise<ProcurementWorkspaceStats>;
|
|
1770
1784
|
};
|
|
1771
1785
|
|
|
1772
|
-
type ModuleType = 'purchase' | 'accounting' | 'crm' | 'facility';
|
|
1786
|
+
type ModuleType = 'purchase' | 'accounting' | 'crm' | 'facility' | 'core';
|
|
1773
1787
|
interface ModuleConfig {
|
|
1774
1788
|
id: ModuleType;
|
|
1775
1789
|
label: string;
|
|
@@ -1779,7 +1793,9 @@ interface ModuleConfig {
|
|
|
1779
1793
|
bgColor: string;
|
|
1780
1794
|
component: React$1.FC;
|
|
1781
1795
|
}
|
|
1782
|
-
declare const WorkSpace: React$1.FC
|
|
1796
|
+
declare const WorkSpace: React$1.FC<{
|
|
1797
|
+
module?: ModuleType;
|
|
1798
|
+
}>;
|
|
1783
1799
|
|
|
1784
1800
|
declare const PurchaseWorkspace: React$1.FC;
|
|
1785
1801
|
|
|
@@ -1789,4 +1805,26 @@ declare const CrmWorkspace: React$1.FC;
|
|
|
1789
1805
|
|
|
1790
1806
|
declare const FacilityWorkspace: React$1.FC;
|
|
1791
1807
|
|
|
1792
|
-
|
|
1808
|
+
declare const HRConnectPage: React$1.FC;
|
|
1809
|
+
|
|
1810
|
+
declare const MeetingHubPage: React$1.FC;
|
|
1811
|
+
|
|
1812
|
+
declare const BudgetPage: React$1.FC;
|
|
1813
|
+
|
|
1814
|
+
declare function TeamChat(): react_jsx_runtime.JSX.Element;
|
|
1815
|
+
|
|
1816
|
+
declare function AssetsDashboard(): react_jsx_runtime.JSX.Element;
|
|
1817
|
+
|
|
1818
|
+
declare function TeamCalendar(): react_jsx_runtime.JSX.Element;
|
|
1819
|
+
|
|
1820
|
+
declare const TaskPilot: React$1.FC;
|
|
1821
|
+
|
|
1822
|
+
declare const PurchaseRequestsPage: () => react_jsx_runtime.JSX.Element;
|
|
1823
|
+
|
|
1824
|
+
declare const WorkSpaceRoutes: React.FC<{
|
|
1825
|
+
module_name: string;
|
|
1826
|
+
module_id: ModuleType;
|
|
1827
|
+
module_description: string;
|
|
1828
|
+
}>;
|
|
1829
|
+
|
|
1830
|
+
export { ACCOUNT_TYPE_LABELS, type Account, type AccountListResponse, AccountServices, type AccountType, AccountingWorkspace, AssetsDashboard as ActifsPage, Alert, AlertProvider, ApprovalAnswerModal, ApprovalAnswerPage, ApprovalPreviewAnswer, ApprovalServices, ApprovalWorkflow, AuthServices, BALANCE_TYPE_LABELS, type BackendFile, type BackendFolder, type BalanceType, BudgetPage, CHOICES, CardBody, CardHeader, TeamChat as ChatEquipePage, 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, HRConnectPage, InfoBox, InputField, InvoiceTypeSelector, LegalFormSelector, MeetingHubPage, type MenuItem, MinimalVendorForm, Modal, ModernCard, type ModuleConfig, type ModuleType, NumberInput, PRINT_GREEN, Pages, PaymentMethodSelector, type PendingTask, TeamCalendar as PlanningPage, PrimaryButton, PrintPreview, type PrintPreviewProps, PrintableDocument, type PrintableDocumentProps, type ProcurementWorkspaceStats, PurchaseRequestsPage, PurchaseWorkspace, type RecentActivity, RewiseLayout, SYSCOHADA_CLASSES, SearchableSelect, type SearchableSelectOption, SecondaryButton, SelectAccount, SelectClient, SelectCostCenter, SelectDepartment, SelectInput, SelectUnit, SelectUser, SelectVendor, SessionProvider, SignatureSection, StatCard, TEMPLATE_FNE_CHOICES, TaskPilot, 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, WorkSpaceRoutes, WorkspaceServices, fileManagerApi, formatCurrency, formatDate, formatDateFR, formatFileSize, getFileIcon, numberToWords, useAlert, useFileManager, useFileManagerApi, useSession, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -876,6 +876,20 @@ interface SearchableSelectOption {
|
|
|
876
876
|
content?: React$1.ReactNode;
|
|
877
877
|
image?: string;
|
|
878
878
|
}
|
|
879
|
+
interface SearchableSelectProps {
|
|
880
|
+
options: SearchableSelectOption[];
|
|
881
|
+
value?: string | number;
|
|
882
|
+
placeholder?: string;
|
|
883
|
+
searchPlaceholder?: string;
|
|
884
|
+
onSelect: (option: SearchableSelectOption) => void;
|
|
885
|
+
onRemove?: () => void;
|
|
886
|
+
disabled?: boolean;
|
|
887
|
+
allowClear?: boolean;
|
|
888
|
+
filterFunction?: (option: SearchableSelectOption, searchTerm: string) => boolean;
|
|
889
|
+
addElement?: () => void;
|
|
890
|
+
refresh?: () => void;
|
|
891
|
+
}
|
|
892
|
+
declare const SearchableSelect: React$1.FC<SearchableSelectProps>;
|
|
879
893
|
|
|
880
894
|
interface SelectProps$1 {
|
|
881
895
|
value?: any;
|
|
@@ -1769,7 +1783,7 @@ declare const WorkspaceServices: {
|
|
|
1769
1783
|
getProcurementWorkspace: (businessEntityId?: string) => Promise<ProcurementWorkspaceStats>;
|
|
1770
1784
|
};
|
|
1771
1785
|
|
|
1772
|
-
type ModuleType = 'purchase' | 'accounting' | 'crm' | 'facility';
|
|
1786
|
+
type ModuleType = 'purchase' | 'accounting' | 'crm' | 'facility' | 'core';
|
|
1773
1787
|
interface ModuleConfig {
|
|
1774
1788
|
id: ModuleType;
|
|
1775
1789
|
label: string;
|
|
@@ -1779,7 +1793,9 @@ interface ModuleConfig {
|
|
|
1779
1793
|
bgColor: string;
|
|
1780
1794
|
component: React$1.FC;
|
|
1781
1795
|
}
|
|
1782
|
-
declare const WorkSpace: React$1.FC
|
|
1796
|
+
declare const WorkSpace: React$1.FC<{
|
|
1797
|
+
module?: ModuleType;
|
|
1798
|
+
}>;
|
|
1783
1799
|
|
|
1784
1800
|
declare const PurchaseWorkspace: React$1.FC;
|
|
1785
1801
|
|
|
@@ -1789,4 +1805,26 @@ declare const CrmWorkspace: React$1.FC;
|
|
|
1789
1805
|
|
|
1790
1806
|
declare const FacilityWorkspace: React$1.FC;
|
|
1791
1807
|
|
|
1792
|
-
|
|
1808
|
+
declare const HRConnectPage: React$1.FC;
|
|
1809
|
+
|
|
1810
|
+
declare const MeetingHubPage: React$1.FC;
|
|
1811
|
+
|
|
1812
|
+
declare const BudgetPage: React$1.FC;
|
|
1813
|
+
|
|
1814
|
+
declare function TeamChat(): react_jsx_runtime.JSX.Element;
|
|
1815
|
+
|
|
1816
|
+
declare function AssetsDashboard(): react_jsx_runtime.JSX.Element;
|
|
1817
|
+
|
|
1818
|
+
declare function TeamCalendar(): react_jsx_runtime.JSX.Element;
|
|
1819
|
+
|
|
1820
|
+
declare const TaskPilot: React$1.FC;
|
|
1821
|
+
|
|
1822
|
+
declare const PurchaseRequestsPage: () => react_jsx_runtime.JSX.Element;
|
|
1823
|
+
|
|
1824
|
+
declare const WorkSpaceRoutes: React.FC<{
|
|
1825
|
+
module_name: string;
|
|
1826
|
+
module_id: ModuleType;
|
|
1827
|
+
module_description: string;
|
|
1828
|
+
}>;
|
|
1829
|
+
|
|
1830
|
+
export { ACCOUNT_TYPE_LABELS, type Account, type AccountListResponse, AccountServices, type AccountType, AccountingWorkspace, AssetsDashboard as ActifsPage, Alert, AlertProvider, ApprovalAnswerModal, ApprovalAnswerPage, ApprovalPreviewAnswer, ApprovalServices, ApprovalWorkflow, AuthServices, BALANCE_TYPE_LABELS, type BackendFile, type BackendFolder, type BalanceType, BudgetPage, CHOICES, CardBody, CardHeader, TeamChat as ChatEquipePage, 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, HRConnectPage, InfoBox, InputField, InvoiceTypeSelector, LegalFormSelector, MeetingHubPage, type MenuItem, MinimalVendorForm, Modal, ModernCard, type ModuleConfig, type ModuleType, NumberInput, PRINT_GREEN, Pages, PaymentMethodSelector, type PendingTask, TeamCalendar as PlanningPage, PrimaryButton, PrintPreview, type PrintPreviewProps, PrintableDocument, type PrintableDocumentProps, type ProcurementWorkspaceStats, PurchaseRequestsPage, PurchaseWorkspace, type RecentActivity, RewiseLayout, SYSCOHADA_CLASSES, SearchableSelect, type SearchableSelectOption, SecondaryButton, SelectAccount, SelectClient, SelectCostCenter, SelectDepartment, SelectInput, SelectUnit, SelectUser, SelectVendor, SessionProvider, SignatureSection, StatCard, TEMPLATE_FNE_CHOICES, TaskPilot, 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, WorkSpaceRoutes, WorkspaceServices, fileManagerApi, formatCurrency, formatDate, formatDateFR, formatFileSize, getFileIcon, numberToWords, useAlert, useFileManager, useFileManagerApi, useSession, useToast };
|