@cundi/refine-xaf 1.0.14 → 1.0.16

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.mts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { AuthProvider, DataProvider, BaseRecord, IResourceComponentsProps } from '@refinedev/core';
2
2
  import React, { PropsWithChildren } from 'react';
3
+ import { RefineThemedLayoutSiderProps } from '@refinedev/antd';
3
4
  import * as _tanstack_react_query from '@tanstack/react-query';
4
5
 
5
6
  declare const authProvider: AuthProvider;
@@ -1027,6 +1028,28 @@ interface GlobalSearchProps {
1027
1028
  */
1028
1029
  declare const GlobalSearch: React.FC<GlobalSearchProps>;
1029
1030
 
1031
+ interface CustomSiderProps extends RefineThemedLayoutSiderProps {
1032
+ /**
1033
+ * Menu item keys that should be placed at the bottom of the sider
1034
+ * Example: ["Settings"] - will place Settings menu at bottom
1035
+ */
1036
+ bottomMenuKeys?: string[];
1037
+ }
1038
+ declare const CustomSider: React.FC<CustomSiderProps>;
1039
+
1040
+ interface ChangePhotoModalProps {
1041
+ open: boolean;
1042
+ onClose: () => void;
1043
+ user: any;
1044
+ }
1045
+ declare const ChangePhotoModal: React.FC<ChangePhotoModalProps>;
1046
+
1047
+ interface ChangePasswordModalProps {
1048
+ open: boolean;
1049
+ onClose: () => void;
1050
+ }
1051
+ declare const ChangePasswordModal: React.FC<ChangePasswordModalProps>;
1052
+
1030
1053
  declare const LoginPage: React.FC;
1031
1054
 
1032
1055
  declare const KeycloakLoginPage: React.FC;
@@ -1124,4 +1147,4 @@ interface IModelType {
1124
1147
  }
1125
1148
  declare const useModelTypes: () => _tanstack_react_query.UseQueryResult<IModelType[], Error>;
1126
1149
 
1127
- export { ApplicationUserCreate, ApplicationUserEdit, ApplicationUserList, AuthCallback, BackgroundJobList, type BackgroundJobListProps, Base64Upload, ColorModeContext, ColorModeContextProvider, DrawioEditor, type DrawioEditorProps, GlobalSearch, type GlobalSearchOptions, type GlobalSearchProps, type GlobalSearchResponse, type GlobalSearchResult, Header, HttpError, HttpMethodType, type IApplicationUser, type IJwtClaims, type IMirrorTypeMappingConfig, type IModelType, type IPermissionPolicyRole, type IPermissionPolicyTypePermissionObject, type ITriggerLog, type ITriggerRule, type IXafEntity, KeycloakLoginPage, type KeycloakTokenResponse, LoginPage, MirrorTypeMappingConfigCreate, MirrorTypeMappingConfigEdit, MirrorTypeMappingConfigList, RelatedList, type RequestOptions, RoleCreate, RoleEdit, RoleList, SecurityPermissionPolicy, SecurityPermissionState, SmartList, TOKEN_KEY, TiptapEditor, type TiptapEditorProps, TriggerEventType, TriggerLogList, TriggerRuleCreate, TriggerRuleEdit, TriggerRuleList, authProvider, authService, dataProvider, generatePassword, getBaseUrl, globalSearch, httpClient, keycloakService, parseJwt, refineXafTranslations, useColorMode, useModelTypes, validatePasswordStrength };
1150
+ export { ApplicationUserCreate, ApplicationUserEdit, ApplicationUserList, AuthCallback, BackgroundJobList, type BackgroundJobListProps, Base64Upload, ChangePasswordModal, ChangePhotoModal, ColorModeContext, ColorModeContextProvider, CustomSider, type CustomSiderProps, DrawioEditor, type DrawioEditorProps, GlobalSearch, type GlobalSearchOptions, type GlobalSearchProps, type GlobalSearchResponse, type GlobalSearchResult, Header, HttpError, HttpMethodType, type IApplicationUser, type IJwtClaims, type IMirrorTypeMappingConfig, type IModelType, type IPermissionPolicyRole, type IPermissionPolicyTypePermissionObject, type ITriggerLog, type ITriggerRule, type IXafEntity, KeycloakLoginPage, type KeycloakTokenResponse, LoginPage, MirrorTypeMappingConfigCreate, MirrorTypeMappingConfigEdit, MirrorTypeMappingConfigList, RelatedList, type RequestOptions, RoleCreate, RoleEdit, RoleList, SecurityPermissionPolicy, SecurityPermissionState, SmartList, TOKEN_KEY, TiptapEditor, type TiptapEditorProps, TriggerEventType, TriggerLogList, TriggerRuleCreate, TriggerRuleEdit, TriggerRuleList, authProvider, authService, dataProvider, generatePassword, getBaseUrl, globalSearch, httpClient, keycloakService, parseJwt, refineXafTranslations, useColorMode, useModelTypes, validatePasswordStrength };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { AuthProvider, DataProvider, BaseRecord, IResourceComponentsProps } from '@refinedev/core';
2
2
  import React, { PropsWithChildren } from 'react';
3
+ import { RefineThemedLayoutSiderProps } from '@refinedev/antd';
3
4
  import * as _tanstack_react_query from '@tanstack/react-query';
4
5
 
5
6
  declare const authProvider: AuthProvider;
@@ -1027,6 +1028,28 @@ interface GlobalSearchProps {
1027
1028
  */
1028
1029
  declare const GlobalSearch: React.FC<GlobalSearchProps>;
1029
1030
 
1031
+ interface CustomSiderProps extends RefineThemedLayoutSiderProps {
1032
+ /**
1033
+ * Menu item keys that should be placed at the bottom of the sider
1034
+ * Example: ["Settings"] - will place Settings menu at bottom
1035
+ */
1036
+ bottomMenuKeys?: string[];
1037
+ }
1038
+ declare const CustomSider: React.FC<CustomSiderProps>;
1039
+
1040
+ interface ChangePhotoModalProps {
1041
+ open: boolean;
1042
+ onClose: () => void;
1043
+ user: any;
1044
+ }
1045
+ declare const ChangePhotoModal: React.FC<ChangePhotoModalProps>;
1046
+
1047
+ interface ChangePasswordModalProps {
1048
+ open: boolean;
1049
+ onClose: () => void;
1050
+ }
1051
+ declare const ChangePasswordModal: React.FC<ChangePasswordModalProps>;
1052
+
1030
1053
  declare const LoginPage: React.FC;
1031
1054
 
1032
1055
  declare const KeycloakLoginPage: React.FC;
@@ -1124,4 +1147,4 @@ interface IModelType {
1124
1147
  }
1125
1148
  declare const useModelTypes: () => _tanstack_react_query.UseQueryResult<IModelType[], Error>;
1126
1149
 
1127
- export { ApplicationUserCreate, ApplicationUserEdit, ApplicationUserList, AuthCallback, BackgroundJobList, type BackgroundJobListProps, Base64Upload, ColorModeContext, ColorModeContextProvider, DrawioEditor, type DrawioEditorProps, GlobalSearch, type GlobalSearchOptions, type GlobalSearchProps, type GlobalSearchResponse, type GlobalSearchResult, Header, HttpError, HttpMethodType, type IApplicationUser, type IJwtClaims, type IMirrorTypeMappingConfig, type IModelType, type IPermissionPolicyRole, type IPermissionPolicyTypePermissionObject, type ITriggerLog, type ITriggerRule, type IXafEntity, KeycloakLoginPage, type KeycloakTokenResponse, LoginPage, MirrorTypeMappingConfigCreate, MirrorTypeMappingConfigEdit, MirrorTypeMappingConfigList, RelatedList, type RequestOptions, RoleCreate, RoleEdit, RoleList, SecurityPermissionPolicy, SecurityPermissionState, SmartList, TOKEN_KEY, TiptapEditor, type TiptapEditorProps, TriggerEventType, TriggerLogList, TriggerRuleCreate, TriggerRuleEdit, TriggerRuleList, authProvider, authService, dataProvider, generatePassword, getBaseUrl, globalSearch, httpClient, keycloakService, parseJwt, refineXafTranslations, useColorMode, useModelTypes, validatePasswordStrength };
1150
+ export { ApplicationUserCreate, ApplicationUserEdit, ApplicationUserList, AuthCallback, BackgroundJobList, type BackgroundJobListProps, Base64Upload, ChangePasswordModal, ChangePhotoModal, ColorModeContext, ColorModeContextProvider, CustomSider, type CustomSiderProps, DrawioEditor, type DrawioEditorProps, GlobalSearch, type GlobalSearchOptions, type GlobalSearchProps, type GlobalSearchResponse, type GlobalSearchResult, Header, HttpError, HttpMethodType, type IApplicationUser, type IJwtClaims, type IMirrorTypeMappingConfig, type IModelType, type IPermissionPolicyRole, type IPermissionPolicyTypePermissionObject, type ITriggerLog, type ITriggerRule, type IXafEntity, KeycloakLoginPage, type KeycloakTokenResponse, LoginPage, MirrorTypeMappingConfigCreate, MirrorTypeMappingConfigEdit, MirrorTypeMappingConfigList, RelatedList, type RequestOptions, RoleCreate, RoleEdit, RoleList, SecurityPermissionPolicy, SecurityPermissionState, SmartList, TOKEN_KEY, TiptapEditor, type TiptapEditorProps, TriggerEventType, TriggerLogList, TriggerRuleCreate, TriggerRuleEdit, TriggerRuleList, authProvider, authService, dataProvider, generatePassword, getBaseUrl, globalSearch, httpClient, keycloakService, parseJwt, refineXafTranslations, useColorMode, useModelTypes, validatePasswordStrength };