export const errorMessages: any = { 'EmbedModeInvalid': 'Invalid embedded mode.', 'EmptyWidgetID': 'Widget id and name cannot not be empty.', 'EmptyWidgetName': 'Widget name cannot not be empty.', 'InvalidAllWidgetNames': 'All the widget names are invalid.', 'UnableWidgetRender': 'Unable to render the widget in design mode.', 'PinboardNameEmpty': 'The pinboard name cannot be empty.', 'EmptyWidgetList': 'Please provide the widget details with the containerID in an array.', 'ArrayWidgetNames': 'Unable to refresh the widget. The widgetName should be in an array.', 'WidgetNameSpecialChar': 'Please avoid using special characters in widget name.', 'InvalidDbrdAndWidget': 'Please provide a valid dashboard ID and widget ID.', 'InvalidWidgetName': 'Please provide a valid widget name.', 'InvalidDashboardID': 'Please provide a valid dashboard ID.', 'InvalidChildDbrdID': 'Please provide a valid child dashboard ID.', 'InvalidViewName': 'Please provide a valid view name.', 'InvalidQueryString': 'Please provide a valid query string.', 'EmptyViewDetails': 'View details must not be empty.', 'InvalidViewID': 'Please provide a valid view ID.', 'InvalidEmbedType': 'Invalid EmbedType.', 'UnablePinboardRender': 'Unable to render the pinboard in design mode.', 'InitFetch': 'Data fetching has been initiated.', 'InvalidBoldBIURL': 'Invalid Bold BI serverUrl.', 'EnvironmentMemberError': 'Server not found. If you are using Cloud BI Server, please ensure that the Environment member is set on the client side.', 'ServerNotFound': 'server Not Found.', 'InvalidDbrdDetails': 'The provided dashboard details are invalid.', 'InvalidPinboardName': 'Please provide a valid pinboard name.', 'AccessDeniedItem': 'Access denied for the item.', 'NotRenderMultitabDashboard': 'A multitab dashboard cannot be rendered in designer mode.', 'ErrorInBoldBIDesigner': 'BoldBIDashboardDesigner is not defined.', 'DbrdDownloadError': 'There was an error while downloading the dashboards.', 'bbEmbedNotDefined': 'bbEmbed is not defined.', 'LayoutFailure': 'The change in layout failed due to ', 'DragAndDropError': 'Drag and drop failure due to ', 'DbrdPathTokenAPIError': 'The token API does not support rendering a dashboard with the specified dashboardPath.', 'DataSourceTokenAPIError': 'The Token API does not support rendering the dashboard with the datasourceName.', 'ViewNameTokenAPIError': 'The Token API does not support rendering a dashboard with the viewName.', 'InvalidAccessToken': 'Please provide a valid access token.', 'InvalidApiKey': 'Please provide a valid API Key.', 'ViewDetailsNotFound': 'View details not found.', 'WidgetNameTokenAPIError': 'The Token API does not support rendering widgets with the widgetName.', 'EnsureServerOrSDKVersion': 'Unable to ensure the server version and SDK version for cloud environment.', 'ErrorLoadMultipleWidget': 'Error: To render multiple widgets, please use the loadMultipleWidget() method.', 'EmptyDbrdCreate': 'Please provide the DashboardId in BoldBI.Create().', 'ExistedViewName': 'The view name already exists.', 'InvalidReplyCommentID': 'Please provide a valid ID for the reply comment.', 'InvalidCommentText': 'Please provide a comment that is valid.', 'InvalidDbrdOrWidgetID': 'Please provide a valid dashboard or widget ID.', 'InvalidCommentID': 'Please provide a valid comment ID.', 'NetworkIssue': 'Not connected. Please check the network.', 'NotFound': 'Not Found.', 'ViewIDNotFound': 'The view id was not found. Please provide a valid view id.', 'PageNotFound': 'The requested page could not be found (404).', 'InternalServerError': 'Internal Server Error (500).', 'UncaughtError': 'An uncaught error has occurred.', 'AuthorizationServerMissing': 'Access has been denied because the authorization server URL is missing in the BoldBI.Create() method.', 'InvalidEmbedContainerID': 'Please provide the valid embed container Id.', 'EmptyServerURL': 'The server URL cannot be empty.', 'InvalidServerURL': 'Please provide a valid server URL.', 'InvalidResourceVersion': 'Please provide a valid resource version.', 'InvalidDashboardPath': 'Invalid dashboard path: ', 'EmptyDbrdOrViewID': 'Dashboard ID, path, and view ID cannot be empty.', 'EmptyDatasourceDetails': 'Data source ID and name cannot be empty.', 'MultitabDbrdWidgetRender': 'Unable to render the widget from multitab dashboard.', 'UnableAddWidget': 'Unable to add the widget due to ', 'PageUnavailable': 'The page you are looking for was unavailable.', 'ObjectRefNotSet': 'Object reference not set to an instance of an object.', 'AvoidSplChar': 'Please avoid using special characters.', 'EmptyViewName': 'Please enter the name of the view.', 'NotMatchVersion': 'The Embedded SDK version does not match the Bold BI Server version.', 'CantReadNull': 'Cannot read property append of null', 'NotImplementedMethod': 'The LoadDashboardView method has not been implemented.', 'InvalidThemeName': 'Please provide a valid dashboard theme name', 'BoldBIEmbedded': 'BoldBI Embedded: ', 'ProvideCreatePermission': 'Please provide permission to create the dashboard.', 'AnonymousEmailandGroup': 'Please provide a user email and group name to access the group for an anonymous user', 'AnonymousEmail': 'Please provide an anonymous user email.', 'AnonymousGroup': 'Please provide a group name to access the group for an anonymous user.', 'DomainMaskingError': 'Please remove the authorization URL or token API when when domain masking is enabled.', 'InvalidEditAccess': 'Write access is required to render the dashboard in Designer mode.', 'DashboardNotAvailable': 'The requested dashboard could not be loaded. Please verify the configuration or try again later.', 'NotRenderMultitabDashboardForAnonymousUser': 'Anonymous users are not allowed to view or design multi-tab dashboards.', 'UnablePinboardRenderEmbedToken': 'Pinboard dashboards are not supported when using the embed token.', 'UnableDatasourceRenderEmbedToken': 'Creating or editing data sources is not supported when using the embed token.', 'UnableMultitabDashboardToken': 'Embedding multi-tab dashboards is not supported when using the token and embed token api member.', 'UnableViewEmbedToken': 'Dashboard View is not not supported when using the embed token.', 'UnableMultipleWidgetsToken': 'Embedding multiple widgets is not supported when using the token and embed token api member.', 'UnableDraftWithEmbedToken': 'Draft dashboards is not supported when using the embed token.', 'NotRenderDesignerForAnonymousUser': 'Anonymous users are not allowed to design dashboards', 'InvalidWidgetID': 'The provided Widget Id appears to be a GUID but is not in a valid format.Please provide valid widget Id', 'EmptyDbrdOrViewIDForToken': 'Dashboard ID and view ID cannot be empty.', 'NullResponse': 'No response was received from the authorization server or token endpoint.', 'InvalidResponse': 'An invalid response was received from the authorization server or the token endpoint.', 'AIAgentInitializationFailed': 'The essential file BoldBIAI could not be loaded. Please check the browsers developer console for network errors and ensure all required AI agent dependencies are correctly included and accessible.', }; export const successMessages: any = { 'UpdateFilterViewMsg': 'and you can add custom functionalities using viewId:', 'NonDefaultViewInfoMsg': 'If enabled, the current view will be set as your default view for this dashboard.', 'DefaultViewInfoMsg': 'Based on your dashboard settings in Bold BI, these filters will be applied by default the next time the dashboard is rendered.', 'MatchVersion': 'The embedded SDK version matches the Bold BI Server version.' };