@dashadmin/dash-admin 1.3.74-srcfree.1 → 1.3.74-srcfree.3
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/AppAsyncWrapper.d.ts +3 -0
- package/dist/AppWrapper.d.ts +3 -0
- package/dist/DASHAdmin.d.ts +38 -0
- package/dist/RoutingWrapper.d.ts +10 -0
- package/dist/classes/DASHStorageClass.d.ts +5 -0
- package/dist/components/Input/RichTextField.d.ts +4 -0
- package/dist/components/Redirect.d.ts +9 -0
- package/dist/components/avatar/Avatar.d.ts +7 -0
- package/dist/components/avatar/SingleImageUploader.d.ts +9 -0
- package/dist/components/currency/Format.d.ts +4 -0
- package/dist/components/custom/Redirect.d.ts +7 -0
- package/dist/components/error/Error.d.ts +31 -0
- package/dist/components/geocoding/GeocodingField.d.ts +4 -0
- package/dist/components/i18n/BridgedLocalesMenuButton.d.ts +7 -0
- package/dist/components/i18n/LangSwitcher.d.ts +10 -0
- package/dist/components/loader/GlobalLoader.d.ts +6 -0
- package/dist/components/logs/LogFile.d.ts +6 -0
- package/dist/components/logs/LogFileById.d.ts +6 -0
- package/dist/components/logs/LogViewer.d.ts +8 -0
- package/dist/components/menu/AppMenu.d.ts +7 -0
- package/dist/components/menu/CustomMenuItemLink.d.ts +12 -0
- package/dist/components/menu/DarkToggleMode.d.ts +3 -0
- package/dist/components/menu/LanguageToggleMode.d.ts +3 -0
- package/dist/components/misc/CustomImageInput.d.ts +4 -0
- package/dist/components/misc/DASHGlobalErrorHandler.d.ts +10 -0
- package/dist/components/misc/DarkModeSwitcher.d.ts +3 -0
- package/dist/components/misc/HorizontalScroller.d.ts +14 -0
- package/dist/components/misc/LanguageSwitcher.d.ts +10 -0
- package/dist/components/misc/MuiSimpleJsonTable.d.ts +16 -0
- package/dist/components/misc/MultiLevelTable.d.ts +18 -0
- package/dist/components/misc/NoResults.d.ts +6 -0
- package/dist/components/misc/PDFViewer.d.ts +4 -0
- package/dist/components/navigation/Breadcrumbs.d.ts +14 -0
- package/dist/components/navigation/BreadcrumbsManager.d.ts +14 -0
- package/dist/components/navigation/index.d.ts +4 -0
- package/dist/components/panel/Error.d.ts +31 -0
- package/dist/components/permission/AvailablePermissionsContext.d.ts +11 -0
- package/dist/components/permission/PermissionsSelector.d.ts +4 -0
- package/dist/components/permission/PermissionsSelectorList.d.ts +4 -0
- package/dist/components/racustombuttons/CustomRAButton.d.ts +23 -0
- package/dist/components/racustombuttons/QuickButton.d.ts +15 -0
- package/dist/components/racustombuttons/QuickEditButton.d.ts +28 -0
- package/dist/components/racustombuttons/QuickIconButton.d.ts +27 -0
- package/dist/components/scrollbar/Scrollbar.d.ts +7 -0
- package/dist/components/selects/MultiSelect.d.ts +4 -0
- package/dist/components/selects/RASearchableSelect.d.ts +25 -0
- package/dist/components/selects/RASearchableSelectChips.d.ts +29 -0
- package/dist/components/selects/SearchableSelect.d.ts +3 -0
- package/dist/components/serviceAccount/ApiKeyRevealDialog.d.ts +7 -0
- package/dist/components/serviceAccount/ServiceAccountStatusSwitch.d.ts +4 -0
- package/dist/components/subscription/BillingCycleSelectInput.d.ts +3 -0
- package/dist/components/subscription/PlanAddonsSettings.d.ts +4 -0
- package/dist/components/subscription/PlanAuditLog.d.ts +4 -0
- package/dist/components/subscription/PlanFeaturesSettings.d.ts +4 -0
- package/dist/components/subscription/PlanLimitsSettings.d.ts +4 -0
- package/dist/components/subscription/PlanMetadataSettings.d.ts +4 -0
- package/dist/components/subscription/PlanPricesSettings.d.ts +4 -0
- package/dist/components/subscription/index.d.ts +5 -0
- package/dist/components/svgelements/SvgLoading.d.ts +3 -0
- package/dist/components/svgelements/SvgLogo.d.ts +3 -0
- package/dist/components/svgelements/SvgLogoMin.d.ts +3 -0
- package/dist/components/svgelements/SvgShipping.d.ts +3 -0
- package/dist/components/tenancy/GlobalTenantWrapper.d.ts +6 -0
- package/dist/components/tenancy/TenantSwitcher.d.ts +16 -0
- package/dist/components/tenant/AvailablePermissionsContext.d.ts +0 -0
- package/dist/components/tenant/SettingsSections.d.ts +11 -0
- package/dist/components/tenant/TenancyPlan.d.ts +4 -0
- package/dist/components/tenant/TenancySettings.d.ts +4 -0
- package/dist/components/tenant/TenantAttributes.d.ts +4 -0
- package/dist/components/tenant/TenantAttributesContext.d.ts +10 -0
- package/dist/components/tenant/TenantSelector.d.ts +11 -0
- package/dist/components/tenant/TenantSettings.d.ts +4 -0
- package/dist/components/tenant/TenantSettingsContext.d.ts +11 -0
- package/dist/components/tenant/TenantTheme.d.ts +4 -0
- package/dist/components/user/AvatarComponent.d.ts +6 -0
- package/dist/components/user/TenantAvatarComponent.d.ts +15 -0
- package/dist/components/user/UserPreferences.d.ts +3 -0
- package/dist/config/ACTIONS.d.ts +3 -0
- package/dist/config/ConstantsService.d.ts +14 -0
- package/dist/config/DASHAdminSystemConstants.d.ts +120 -0
- package/dist/config/PARSERS.d.ts +5 -0
- package/dist/contexts/DashQueryClientContext.d.ts +19 -0
- package/dist/contexts/DashResourceContext.d.ts +11 -0
- package/dist/contexts/I18nBridgeContext.d.ts +18 -0
- package/dist/contexts/I18nBridgeSetter.d.ts +3 -0
- package/dist/contexts/I18nReduxSync.d.ts +6 -0
- package/dist/contexts/SubscriptionPlanFormatsProvider.d.ts +13 -0
- package/dist/contexts/SystemRequestsCache.d.ts +16 -0
- package/dist/contexts/auth/AuthContext.d.ts +40 -0
- package/dist/contexts/auth/AuthContextLocalStorage.d.ts +27 -0
- package/dist/contexts/auth/DASHAuthenticationService.d.ts +46 -0
- package/dist/contexts/auth/WindowContext.d.ts +8 -0
- package/dist/contexts/auth/index.d.ts +2 -0
- package/dist/contexts/com/FCMContext.d.ts +62 -0
- package/dist/contexts/com/LaravelEchoContext.d.ts +18 -0
- package/dist/contexts/com/LaravelEchoMgr.d.ts +8 -0
- package/dist/contexts/com/components/DefaultNotificationComponent.d.ts +6 -0
- package/dist/contexts/com/components/EchoNotificationsCenter.d.ts +3 -0
- package/dist/contexts/com/components/NotificationAttributesTable.d.ts +8 -0
- package/dist/contexts/com/components/NotificationRenderer.d.ts +8 -0
- package/dist/contexts/com/components/NotificationsWidget.d.ts +17 -0
- package/dist/contexts/com/components/notificationFormats.d.ts +38 -0
- package/dist/contexts/com/useLaravelEcho.d.ts +37 -0
- package/dist/contexts/dictionary/DictionaryContext.d.ts +21 -0
- package/dist/default-theme/DASHAppProviders.d.ts +21 -0
- package/dist/default-theme/DashThemeContext.d.ts +17 -0
- package/dist/default-theme/DashThemeHelperProvider.d.ts +10 -0
- package/dist/default-theme/DomainAppLayout.d.ts +13 -0
- package/dist/default-theme/DomainHeader.d.ts +6 -0
- package/dist/default-theme/DomainTheme.d.ts +8 -0
- package/dist/default-theme/FullLayoutMarkup.d.ts +9 -0
- package/dist/default-theme/StaticLayout.d.ts +5 -0
- package/dist/default-theme/index.d.ts +8 -0
- package/dist/default-theme/menu/AppDashboardGrid.d.ts +24 -0
- package/dist/default-theme/menu/AppMaterialMenu.d.ts +11 -0
- package/dist/default-theme/menu/AppMenuComponents/SubmenuPortal.d.ts +15 -0
- package/dist/default-theme/menu/AppMenuComponents/collapsed/CollapsedSidebarItem.d.ts +22 -0
- package/dist/default-theme/menu/AppMenuComponents/collapsed/CollapsedSidebarItems.d.ts +11 -0
- package/dist/default-theme/menu/AppMenuComponents/expanded/CollapsableSidebarMenu.d.ts +4 -0
- package/dist/default-theme/menu/AppMenuComponents/expanded/SidebarItem.d.ts +3 -0
- package/dist/default-theme/menu/AppMenuComponents/getItem.d.ts +3 -0
- package/dist/default-theme/menu/AppMenuComponents/interfaces.d.ts +36 -0
- package/dist/default-theme/menu/AppMenuComponents/submenuConstants.d.ts +7 -0
- package/dist/default-theme/menu/AppSidebarMaterial.d.ts +8 -0
- package/dist/default-theme/menu/SidebarActions.d.ts +8 -0
- package/dist/default-theme/updateDomCssVariables.d.ts +6 -0
- package/dist/helpers/checkRole.d.ts +2 -0
- package/dist/helpers/parseAxiosError.d.ts +1 -0
- package/dist/hooks/audio/useAudio.d.ts +2 -0
- package/dist/hooks/axios.d.ts +5 -0
- package/dist/hooks/data/useDashboardStats.d.ts +13 -0
- package/dist/hooks/data/usePackageByClientsStats.d.ts +13 -0
- package/dist/hooks/data/usePackageByCommunesStats.d.ts +13 -0
- package/dist/hooks/data/usePackageStats.d.ts +13 -0
- package/dist/hooks/data/usePackageWithdrawDetails.d.ts +25 -0
- package/dist/hooks/data/useStats.d.ts +9 -0
- package/dist/hooks/isCurrentPath.d.ts +3 -0
- package/dist/hooks/notifications/WSMessagesManager.d.ts +4 -0
- package/dist/hooks/notifications/WSPusherManager.d.ts +3 -0
- package/dist/hooks/useBreadcrumbs.d.ts +21 -0
- package/dist/hooks/useClickOutside.d.ts +2 -0
- package/dist/hooks/useFormPersistance.d.ts +13 -0
- package/dist/hooks/useGlobalErrorMediator.d.ts +5 -0
- package/dist/hooks/useGlobalLoaderMgr.d.ts +3 -0
- package/dist/hooks/useHash.d.ts +2 -0
- package/dist/hooks/useLocalStorage.d.ts +2 -0
- package/dist/hooks/usePolyglotTranslation.d.ts +11 -0
- package/dist/hooks/usePrevious.d.ts +2 -0
- package/dist/hooks/usePrintSelected.d.ts +12 -0
- package/dist/hooks/useVirtualHash.d.ts +5 -0
- package/dist/hooks/window/useWindowSize.d.ts +6 -0
- package/dist/index.d.ts +65 -0
- package/dist/interfaces/IAppResourceConfig.d.ts +10 -0
- package/dist/interfaces/Log.d.ts +15 -0
- package/dist/interfaces/Tenant.d.ts +25 -0
- package/dist/interfaces/communication/IActions.d.ts +4 -0
- package/dist/interfaces/communication/INotification.d.ts +19 -0
- package/dist/interfaces/communication/IPayload.d.ts +3 -0
- package/dist/interfaces/communication/IRequestAction.d.ts +10 -0
- package/dist/interfaces/communication/IRequestPayload.d.ts +7 -0
- package/dist/interfaces/communication/IResponseAction.d.ts +7 -0
- package/dist/interfaces/misc/IAny.d.ts +3 -0
- package/dist/interfaces/misc/IFlashMessage.d.ts +10 -0
- package/dist/interfaces/navigation/IAppMenu.d.ts +11 -0
- package/dist/interfaces/navigation/ICollapsableSidebarMenu.d.ts +10 -0
- package/dist/interfaces/navigation/IMenuItem.d.ts +14 -0
- package/dist/interfaces/notifications/IModel.d.ts +5 -0
- package/dist/interfaces/notifications/IModelField.d.ts +10 -0
- package/dist/interfaces/notifications/IUserNotification.d.ts +11 -0
- package/dist/interfaces/notifications/IUserNotificationData.d.ts +12 -0
- package/dist/interfaces/notifications/IUserNotificationPayload.d.ts +10 -0
- package/dist/interfaces/user/IGetAuth.d.ts +75 -0
- package/dist/interfaces/user/ITenantSettings.d.ts +3 -0
- package/dist/interfaces/user/IUser.d.ts +60 -0
- package/dist/interfaces/user/IUserSettings.d.ts +36 -0
- package/dist/interfaces.d.ts +5 -0
- package/dist/layout/AppLayout.d.ts +5 -0
- package/dist/layout/ApplicationLayout.d.ts +22 -0
- package/dist/layout/MotionWrapper.d.ts +22 -0
- package/dist/layout/MotionWrapper.original.d.ts +22 -0
- package/dist/layout/ResourceMenu.d.ts +7 -0
- package/dist/layout/ResoureLayout.d.ts +8 -0
- package/dist/layout/TransitionWrapper.d.ts +8 -0
- package/dist/pages/ChangePassword.d.ts +6 -0
- package/dist/pages/DASHLanding.d.ts +5 -0
- package/dist/pages/DASHLightWeightLogin.d.ts +6 -0
- package/dist/pages/DASHSimpleLogin.d.ts +6 -0
- package/dist/pages/Login.d.ts +3 -0
- package/dist/pages/Profile.d.ts +3 -0
- package/dist/pages/RecoverPassword.d.ts +3 -0
- package/dist/pages/RecoverPassword.js +1 -1
- package/dist/pages/SingleImageUploader.d.ts +8 -0
- package/dist/pages/VerifyAccount.d.ts +5 -0
- package/dist/providers/authProvider.d.ts +15 -0
- package/dist/providers/dataProvider.d.ts +31 -0
- package/dist/providers/i18n/en.d.ts +569 -0
- package/dist/providers/i18n/es.d.ts +2 -0
- package/dist/providers/i18n/languages.d.ts +571 -0
- package/dist/providers/i18n/mergeTranslations.d.ts +3 -0
- package/dist/providers/i18nProvider.d.ts +2 -0
- package/dist/react-admin-dash/RADashComponent.d.ts +7 -0
- package/dist/react-admin-dash/Resource.d.ts +16 -0
- package/dist/resources/Brand/BrandResource.d.ts +3 -0
- package/dist/resources/DASHResourceLoader.d.ts +17 -0
- package/dist/resources/Log/LogResource.d.ts +3 -0
- package/dist/resources/Tenant/ImpersonateTenantResource.d.ts +5 -0
- package/dist/resources/Trash/TrashTemplate.d.ts +3 -0
- package/dist/resources/User/components/AvatarUploadField.d.ts +6 -0
- package/dist/resources/User/components/PasswordFields.d.ts +8 -0
- package/dist/resources/User/getProfileMenu.d.ts +4 -0
- package/dist/resources/User/profileResource.d.ts +3 -0
- package/dist/resources/User/userLayout.d.ts +2 -0
- package/dist/resources/User/userResource.d.ts +3 -0
- package/dist/resources/User/userSchema.d.ts +3 -0
- package/dist/resources/User/usersFilters.d.ts +3 -0
- package/dist/resources.d.ts +11 -0
- package/dist/schemas/log.d.ts +3 -0
- package/dist/schemas/notification.d.ts +3 -0
- package/dist/schemas/permissions.d.ts +3 -0
- package/dist/schemas/roles.d.ts +3 -0
- package/dist/schemas/rolesDataGrid.d.ts +3 -0
- package/dist/schemas/subscription/components/SubscriptionActions.d.ts +4 -0
- package/dist/schemas/subscription/components/SubscriptionPaymentHistory.d.ts +4 -0
- package/dist/schemas/subscription/components/SubscriptionPlanFeatures.d.ts +4 -0
- package/dist/schemas/subscription/components/SubscriptionPlanPreview.d.ts +4 -0
- package/dist/schemas/subscription/components/SubscriptionPlanStats.d.ts +4 -0
- package/dist/schemas/subscription/components/SubscriptionStatusIndicator.d.ts +4 -0
- package/dist/schemas/subscription/subscriptionPlanSchema.d.ts +3 -0
- package/dist/schemas/subscription/subscriptionSchema.d.ts +3 -0
- package/dist/schemas/subscriptionPlan.d.ts +3 -0
- package/dist/schemas/tenant.d.ts +3 -0
- package/dist/schemas/tenantUser.d.ts +3 -0
- package/dist/schemas/tenant_superadmin.d.ts +3 -0
- package/dist/schemas/user.d.ts +3 -0
- package/dist/systemResources.d.ts +3 -0
- package/dist/systemResources.old.d.ts +3 -0
- package/dist/templates/ResourceTemplate.d.ts +10 -0
- package/dist/templates/ResourceTemplateCreate.d.ts +3 -0
- package/dist/templates/ResourceTemplateEdit.d.ts +3 -0
- package/dist/templates/ResourceTemplateFull.d.ts +7 -0
- package/dist/templates/ResourceTemplateList.d.ts +8 -0
- package/dist/templates/ResourceTemplateShow.d.ts +3 -0
- package/dist/templates/TrashTemplate.d.ts +3 -0
- package/dist/tenantResources.d.ts +3 -0
- package/dist/test_portal_bubbles.d.ts +2 -0
- package/dist/theme/AppHeader.d.ts +6 -0
- package/dist/theme/AppLayoutSetting.d.ts +28 -0
- package/dist/theme/AppLogo.d.ts +8 -0
- package/dist/theme/AppSidebar.d.ts +7 -0
- package/dist/theme/AppSidebarContent.d.ts +12 -0
- package/dist/theme/AppSidebarLogo.d.ts +9 -0
- package/dist/theme/components/PageTitle.d.ts +10 -0
- package/dist/utils/cache/CacheInvalidatorContext.d.ts +25 -0
- package/dist/utils/cache/CacheInvalidatorListenerComponent.d.ts +3 -0
- package/dist/utils/cache/useCacheInvalidatorListener.d.ts +4 -0
- package/dist/utils/convertFileToBase64.d.ts +2 -0
- package/dist/utils/convertToFile.d.ts +2 -0
- package/dist/utils/cookies.d.ts +5 -0
- package/dist/utils/dashDefaultQueryClient.d.ts +3 -0
- package/dist/utils/dataUrlToBlob.d.ts +2 -0
- package/dist/utils/deepReplace.d.ts +2 -0
- package/dist/utils/getProfileMenu.d.ts +3 -0
- package/dist/utils/getTenantSettings.d.ts +3 -0
- package/dist/utils/getType.d.ts +2 -0
- package/dist/utils/getUserSettings.d.ts +3 -0
- package/dist/utils/hasCode.d.ts +2 -0
- package/dist/utils/index.d.ts +19 -0
- package/dist/utils/injectTenantStyles.d.ts +2 -0
- package/dist/utils/isComponent.d.ts +2 -0
- package/dist/utils/navEvents.d.ts +28 -0
- package/dist/utils/prototypes.d.ts +0 -0
- package/dist/utils/regexp.d.ts +1 -0
- package/dist/utils/resolveObjectPath.d.ts +2 -0
- package/dist/utils/setNativeValue.d.ts +2 -0
- package/dist/utils/slugify.d.ts +1 -0
- package/dist/utils/validators/emailValidator.d.ts +2 -0
- package/dist/utils/validators/requiredValidator.d.ts +2 -0
- package/dist/utils/validators/rutValidator.d.ts +2 -0
- package/dist/utils/validators.d.ts +3 -0
- package/package.json +15 -15
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IAppResourceConfig } from './interfaces/IAppResourceConfig';
|
|
2
|
+
export declare const GroupIcons: {
|
|
3
|
+
'resource.group.admin': import("react").JSX.Element;
|
|
4
|
+
'resource.group.logs': import("react").JSX.Element;
|
|
5
|
+
'resource.group.system': import("react").JSX.Element;
|
|
6
|
+
'resource.group.users': import("react").JSX.Element;
|
|
7
|
+
'resource.group.client': import("react").JSX.Element;
|
|
8
|
+
};
|
|
9
|
+
declare const resources: IAppResourceConfig[];
|
|
10
|
+
export declare const getResourceConfig: (model: string) => IAppResourceConfig;
|
|
11
|
+
export default resources;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IDashAutoAdminCustomFieldComponent } from "dash-auto-admin";
|
|
3
|
+
declare const SubscriptionPaymentHistory: ({ method, attribute, resourceConfig }: IDashAutoAdminCustomFieldComponent) => React.JSX.Element;
|
|
4
|
+
export default SubscriptionPaymentHistory;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IDashAutoAdminCustomFieldComponent } from "dash-auto-admin";
|
|
3
|
+
declare const SubscriptionPlanFeatures: ({ method, attribute, resourceConfig }: IDashAutoAdminCustomFieldComponent) => React.JSX.Element;
|
|
4
|
+
export default SubscriptionPlanFeatures;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IDashAutoAdminCustomFieldComponent } from "dash-auto-admin";
|
|
3
|
+
declare const SubscriptionPlanStats: ({ method, attribute, resourceConfig }: IDashAutoAdminCustomFieldComponent) => React.JSX.Element;
|
|
4
|
+
export default SubscriptionPlanStats;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IDashAutoAdminCustomFieldComponent } from "dash-auto-admin";
|
|
3
|
+
declare const SubscriptionStatusIndicator: ({ method, attribute, resourceConfig }: IDashAutoAdminCustomFieldComponent) => React.JSX.Element;
|
|
4
|
+
export default SubscriptionStatusIndicator;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IDashAutoAdminResourceConfig } from 'dash-auto-admin';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IResourceTemplate {
|
|
4
|
+
resourceConfig: IDashAutoAdminResourceConfig;
|
|
5
|
+
locale?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const ResourceTemplate: (resourceConfig: IDashAutoAdminResourceConfig & {
|
|
8
|
+
locale?: string;
|
|
9
|
+
}) => React.JSX.Element;
|
|
10
|
+
export default ResourceTemplate;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { IDASHAppConstants } from 'dash-constants';
|
|
3
|
+
import { IDashAutoAdminResourceConfig } from 'dash-auto-admin';
|
|
4
|
+
export declare const ResourceTemplateFull: (resourceConfig: IDashAutoAdminResourceConfig, ResourceLayout: React.FC<PropsWithChildren<{
|
|
5
|
+
resourceConfig: IDashAutoAdminResourceConfig;
|
|
6
|
+
}>>, dashConstants: IDASHAppConstants) => import("react").JSX.Element;
|
|
7
|
+
export default ResourceTemplateFull;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IResourceTemplate } from './ResourceTemplate';
|
|
3
|
+
export declare const ResourceTemplateList: React.NamedExoticComponent<IResourceTemplate>;
|
|
4
|
+
export declare const ResourceTemplateListWithConfig: React.MemoExoticComponent<({ resourceConfig, locale }: {
|
|
5
|
+
resourceConfig: any;
|
|
6
|
+
locale: string;
|
|
7
|
+
}) => React.JSX.Element>;
|
|
8
|
+
export default ResourceTemplateList;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare class AppLayoutSettings {
|
|
2
|
+
static TAB_SIZE: number;
|
|
3
|
+
static MOBILE_SIZE: number;
|
|
4
|
+
static THEME_TYPE: string;
|
|
5
|
+
static THEME_TYPE_LIGHT: string;
|
|
6
|
+
static THEME_TYPE_DARK: string;
|
|
7
|
+
static THEME_TYPE_DASH_DEFAULT: string;
|
|
8
|
+
static THEME_TYPE_SEMI_DARK: string;
|
|
9
|
+
static THEME_COLOR: string;
|
|
10
|
+
static UPDATE_RTL_STATUS: string;
|
|
11
|
+
static LAYOUT_TYPE: string;
|
|
12
|
+
static LAYOUT_TYPE_FRAMED: string;
|
|
13
|
+
static LAYOUT_TYPE_BOXED: string;
|
|
14
|
+
static LAYOUT_TYPE_FULL: string;
|
|
15
|
+
static NAV_STYLE: string;
|
|
16
|
+
static NAV_STYLE_FIXED: string;
|
|
17
|
+
static NAV_STYLE_MINI_SIDEBAR: string;
|
|
18
|
+
static NAV_STYLE_DRAWER: string;
|
|
19
|
+
static NAV_STYLE_NO_HEADER_MINI_SIDEBAR: string;
|
|
20
|
+
static NAV_STYLE_NO_HEADER_EXPANDED_SIDEBAR: string;
|
|
21
|
+
static NAV_STYLE_DEFAULT_HORIZONTAL: string;
|
|
22
|
+
static NAV_STYLE_DARK_HORIZONTAL: string;
|
|
23
|
+
static NAV_STYLE_INSIDE_HEADER_HORIZONTAL: string;
|
|
24
|
+
static NAV_STYLE_BELOW_HEADER: string;
|
|
25
|
+
static NAV_STYLE_ABOVE_HEADER: string;
|
|
26
|
+
static NAV_STYLE_COLLAPSABLE: string;
|
|
27
|
+
}
|
|
28
|
+
export default AppLayoutSettings;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { JSX, ReactNode } from 'react';
|
|
2
|
+
export interface IAppSidebarContent {
|
|
3
|
+
sidebarExpanded: any;
|
|
4
|
+
setSidebarExpanded: any;
|
|
5
|
+
navStyle: any;
|
|
6
|
+
themeType: any;
|
|
7
|
+
horizontalLogo: JSX.Element;
|
|
8
|
+
squaredLogo?: JSX.Element;
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
declare const SidebarContent: React.FC<IAppSidebarContent>;
|
|
12
|
+
export default SidebarContent;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { JSX } from 'react';
|
|
2
|
+
export interface IAppSidebarLogo {
|
|
3
|
+
horizontalLogo: JSX.Element;
|
|
4
|
+
squaredLogo?: JSX.Element;
|
|
5
|
+
setSidebarExpanded?: Function;
|
|
6
|
+
sidebarExpanded: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const AppSidebarLogo: React.FC<IAppSidebarLogo>;
|
|
9
|
+
export default AppSidebarLogo;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
export interface IPageTitle extends PropsWithChildren {
|
|
3
|
+
avatar: ReactNode;
|
|
4
|
+
title: string | JSX.Element;
|
|
5
|
+
subTitle?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
extra?: JSX.Element[];
|
|
8
|
+
}
|
|
9
|
+
declare const PageTitle: React.FC<IPageTitle>;
|
|
10
|
+
export default PageTitle;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React, { FC, PropsWithChildren } from 'react';
|
|
2
|
+
export declare class CacheInvalidatorContextClass {
|
|
3
|
+
static values: Partial<ICacheInvalidatorContextProps>;
|
|
4
|
+
}
|
|
5
|
+
export interface ICacheInvalidatorStore {
|
|
6
|
+
[x: string]: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ICacheInvalidatorContextProps {
|
|
9
|
+
cacheInvalidatorStore: ICacheInvalidatorStore;
|
|
10
|
+
}
|
|
11
|
+
export interface ICacheInvalidatorContext extends Partial<ICacheInvalidatorContextProps> {
|
|
12
|
+
updateEntry: (entry: string) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const CacheInvalidatorContext: React.Context<ICacheInvalidatorContext>;
|
|
15
|
+
export interface ICacheInvalidatorContextProvider extends PropsWithChildren {
|
|
16
|
+
values?: Partial<ICacheInvalidatorContextProps>;
|
|
17
|
+
}
|
|
18
|
+
export declare const CacheInvalidatorContextProvider: FC<ICacheInvalidatorContextProvider>;
|
|
19
|
+
export declare const CacheInvalidatorContextConsumer: React.Consumer<ICacheInvalidatorContext>;
|
|
20
|
+
export declare const useCacheInvalidatorContext: () => ICacheInvalidatorContext;
|
|
21
|
+
export declare const getCacheInvalidatorContext: () => ICacheInvalidatorContextProps;
|
|
22
|
+
export declare const cacheInvalidatorHash: (resource: string) => string | null;
|
|
23
|
+
export declare const updateCacheInvalidatorContext: (values: Partial<ICacheInvalidatorContextProps>) => void;
|
|
24
|
+
export declare const setCacheInvalidatorContext: (values: Partial<ICacheInvalidatorContextProps>) => void;
|
|
25
|
+
export default CacheInvalidatorContext;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import cookie from 'js-cookie';
|
|
2
|
+
export declare const setCookie: (key: string, value: string, options?: cookie.CookieAttributes) => void;
|
|
3
|
+
export declare const removeCookie: (key: any) => void;
|
|
4
|
+
export declare const getCookie: (key: any) => any;
|
|
5
|
+
export declare const clearAllCookies: () => void;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from "./convertFileToBase64";
|
|
2
|
+
export * from "./convertToFile";
|
|
3
|
+
export * from "./cookies";
|
|
4
|
+
export * from "./dataUrlToBlob";
|
|
5
|
+
export * from "./deepReplace";
|
|
6
|
+
export * from "./getProfileMenu";
|
|
7
|
+
export * from "./getTenantSettings";
|
|
8
|
+
export * from "./getType";
|
|
9
|
+
export * from "./getUserSettings";
|
|
10
|
+
export * from "./hasCode";
|
|
11
|
+
export * from "./injectTenantStyles";
|
|
12
|
+
export * from "./isComponent";
|
|
13
|
+
export * from "./regexp";
|
|
14
|
+
export * from "./resolveObjectPath";
|
|
15
|
+
export * from "./setNativeValue";
|
|
16
|
+
export * from "./slugify";
|
|
17
|
+
export * from "./validators";
|
|
18
|
+
export * from './dashDefaultQueryClient';
|
|
19
|
+
export * from './navEvents';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const NAV_EVENTS: {
|
|
2
|
+
readonly TOGGLE_EXPANDED: "nav:toggle-expanded";
|
|
3
|
+
readonly SET_EXPANDED: "nav:set-expanded";
|
|
4
|
+
readonly STATE_CHANGED: "nav:state-changed";
|
|
5
|
+
readonly CLOSE_DRAWER: "nav:close-drawer";
|
|
6
|
+
readonly CLOSE_ALL_SUBMENUS: "nav:close-all-submenus";
|
|
7
|
+
readonly SUBMENU_OPENED: "nav:submenu-opened";
|
|
8
|
+
};
|
|
9
|
+
export interface NavStateChangeEvent extends CustomEvent {
|
|
10
|
+
detail: {
|
|
11
|
+
expanded: boolean;
|
|
12
|
+
size: 'small' | 'large';
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare class NavEventManager {
|
|
16
|
+
static toggleExpanded(): void;
|
|
17
|
+
static setExpanded(expanded: boolean): void;
|
|
18
|
+
static notifyStateChange(expanded: boolean, size: 'small' | 'large'): void;
|
|
19
|
+
static closeDrawer(): void;
|
|
20
|
+
static onCloseDrawer(callback: () => void): () => void;
|
|
21
|
+
static notifySubmenuOpened(submenuKey: string): void;
|
|
22
|
+
static onSubmenuOpened(callback: (submenuKey: string) => void): () => void;
|
|
23
|
+
static closeAllSubmenus(): void;
|
|
24
|
+
static onCloseAllSubmenus(callback: () => void): () => void;
|
|
25
|
+
static onToggleExpanded(callback: () => void): () => void;
|
|
26
|
+
static onSetExpanded(callback: (expanded: boolean) => void): () => void;
|
|
27
|
+
static onStateChange(callback: (expanded: boolean, size: 'small' | 'large') => void): () => void;
|
|
28
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const emailRegExp: RegExp;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const slugify: (...args: string[]) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashadmin/dash-admin",
|
|
3
|
-
"version": "1.3.74-srcfree.
|
|
3
|
+
"version": "1.3.74-srcfree.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"check-updates": "pnpm npm-check-updates",
|
|
12
12
|
"updates-packages": "pnpm npm-check-updates -u",
|
|
13
13
|
"build": "tsup && pnpm run build:types",
|
|
14
|
-
"build:types": "tsc -p tsconfig.json --declaration --emitDeclarationOnly --noEmit false --outDir dist --rootDir src --skipLibCheck
|
|
14
|
+
"build:types": "../../node_modules/.bin/tsc -p tsconfig.json --declaration --emitDeclarationOnly --noEmit false --outDir dist --rootDir src --skipLibCheck; test -f dist/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"browserslist": {
|
|
17
17
|
"production": [
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@rollup/plugin-node-resolve": "latest",
|
|
40
40
|
"@rollup/plugin-replace": "latest",
|
|
41
41
|
"@rollup/plugin-typescript": "latest",
|
|
42
|
-
"@dashadmin/dash-admin-state": "1.3.74-srcfree.
|
|
43
|
-
"@dashadmin/dash-auto-admin": "1.3.74-srcfree.
|
|
44
|
-
"@dashadmin/dash-constants": "1.3.74-srcfree.
|
|
45
|
-
"@dashadmin/dash-dialog": "1.3.74-srcfree.
|
|
46
|
-
"@dashadmin/dash-styles": "1.3.74-srcfree.
|
|
42
|
+
"@dashadmin/dash-admin-state": "1.3.74-srcfree.3",
|
|
43
|
+
"@dashadmin/dash-auto-admin": "1.3.74-srcfree.3",
|
|
44
|
+
"@dashadmin/dash-constants": "1.3.74-srcfree.3",
|
|
45
|
+
"@dashadmin/dash-dialog": "1.3.74-srcfree.3",
|
|
46
|
+
"@dashadmin/dash-styles": "1.3.74-srcfree.3",
|
|
47
47
|
"framer-motion": "latest",
|
|
48
48
|
"prop-types": "latest",
|
|
49
49
|
"query-string": "latest",
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
"rollup-plugin-dts": "latest",
|
|
63
63
|
"rollup-plugin-peer-deps-external": "latest",
|
|
64
64
|
"rollup-plugin-svg": "latest",
|
|
65
|
-
"@dashadmin/dash-modal": "1.3.74-srcfree.
|
|
66
|
-
"@dashadmin/dash-components": "1.3.74-srcfree.
|
|
67
|
-
"@dashadmin/dash-axios-hook": "1.3.74-srcfree.
|
|
68
|
-
"@dashadmin/dash-utils": "1.3.74-srcfree.
|
|
69
|
-
"@dashadmin/dash-auth": "1.3.74-srcfree.
|
|
65
|
+
"@dashadmin/dash-modal": "1.3.74-srcfree.3",
|
|
66
|
+
"@dashadmin/dash-components": "1.3.74-srcfree.3",
|
|
67
|
+
"@dashadmin/dash-axios-hook": "1.3.74-srcfree.3",
|
|
68
|
+
"@dashadmin/dash-utils": "1.3.74-srcfree.3",
|
|
69
|
+
"@dashadmin/dash-auth": "1.3.74-srcfree.3"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@babel/core": "latest",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"@types/react-dom": "latest",
|
|
80
80
|
"@zerollup/ts-transform-paths": "latest",
|
|
81
81
|
"babel-loader": "latest",
|
|
82
|
-
"@dashadmin/dash-eslint": "1.3.74-srcfree.
|
|
83
|
-
"@dashadmin/dash-tsconfig": "1.3.74-srcfree.
|
|
82
|
+
"@dashadmin/dash-eslint": "1.3.74-srcfree.3",
|
|
83
|
+
"@dashadmin/dash-tsconfig": "1.3.74-srcfree.3",
|
|
84
84
|
"eslint": "latest",
|
|
85
85
|
"eslint-config-airbnb": "latest",
|
|
86
86
|
"eslint-config-airbnb-typescript": "latest",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"eslint-plugin-prettier": "latest",
|
|
95
95
|
"eslint-plugin-react": "latest",
|
|
96
96
|
"eslint-plugin-react-hooks": "latest",
|
|
97
|
-
"@dashadmin/dash-prettier": "1.3.74-srcfree.
|
|
97
|
+
"@dashadmin/dash-prettier": "1.3.74-srcfree.3",
|
|
98
98
|
"query-string": "latest",
|
|
99
99
|
"react-dom": "19.2.8",
|
|
100
100
|
"rollup": "latest",
|