ptechcore_ui 1.0.38 → 1.0.39

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.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;
@@ -1789,4 +1803,25 @@ declare const CrmWorkspace: React$1.FC;
1789
1803
 
1790
1804
  declare const FacilityWorkspace: React$1.FC;
1791
1805
 
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 };
1806
+ declare const HRConnectPage: React$1.FC;
1807
+
1808
+ declare const MeetingHubPage: React$1.FC;
1809
+
1810
+ declare const BudgetPage: React$1.FC;
1811
+
1812
+ declare const ChatEquipePage: React$1.FC;
1813
+
1814
+ declare const ActifsPage: React$1.FC;
1815
+
1816
+ declare const PlanningPage: React$1.FC;
1817
+
1818
+ declare const TaskPilot: React$1.FC;
1819
+
1820
+ declare const PurchaseRequestsPage: () => react_jsx_runtime.JSX.Element;
1821
+
1822
+ declare const WorkSpaceRoutes: React.FC<{
1823
+ module_name: string;
1824
+ module_description: string;
1825
+ }>;
1826
+
1827
+ export { ACCOUNT_TYPE_LABELS, type Account, type AccountListResponse, AccountServices, type AccountType, AccountingWorkspace, ActifsPage, Alert, AlertProvider, ApprovalAnswerModal, ApprovalAnswerPage, ApprovalPreviewAnswer, ApprovalServices, ApprovalWorkflow, AuthServices, BALANCE_TYPE_LABELS, type BackendFile, type BackendFolder, type BalanceType, BudgetPage, CHOICES, CardBody, CardHeader, 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, 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;
@@ -1789,4 +1803,25 @@ declare const CrmWorkspace: React$1.FC;
1789
1803
 
1790
1804
  declare const FacilityWorkspace: React$1.FC;
1791
1805
 
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 };
1806
+ declare const HRConnectPage: React$1.FC;
1807
+
1808
+ declare const MeetingHubPage: React$1.FC;
1809
+
1810
+ declare const BudgetPage: React$1.FC;
1811
+
1812
+ declare const ChatEquipePage: React$1.FC;
1813
+
1814
+ declare const ActifsPage: React$1.FC;
1815
+
1816
+ declare const PlanningPage: React$1.FC;
1817
+
1818
+ declare const TaskPilot: React$1.FC;
1819
+
1820
+ declare const PurchaseRequestsPage: () => react_jsx_runtime.JSX.Element;
1821
+
1822
+ declare const WorkSpaceRoutes: React.FC<{
1823
+ module_name: string;
1824
+ module_description: string;
1825
+ }>;
1826
+
1827
+ export { ACCOUNT_TYPE_LABELS, type Account, type AccountListResponse, AccountServices, type AccountType, AccountingWorkspace, ActifsPage, Alert, AlertProvider, ApprovalAnswerModal, ApprovalAnswerPage, ApprovalPreviewAnswer, ApprovalServices, ApprovalWorkflow, AuthServices, BALANCE_TYPE_LABELS, type BackendFile, type BackendFolder, type BalanceType, BudgetPage, CHOICES, CardBody, CardHeader, 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, 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 };