@solidstarters/solid-core-ui 1.1.188 → 1.1.190
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/components/ErrorBoundries/OfflineNotice.d.ts +2 -0
- package/dist/components/ErrorBoundries/OfflineNotice.d.ts.map +1 -0
- package/dist/components/ErrorBoundries/OfflineNotice.js +34 -0
- package/dist/components/ErrorBoundries/OfflineNotice.js.map +1 -0
- package/dist/components/ErrorBoundries/OnlineStatusWrapper.d.ts +2 -0
- package/dist/components/ErrorBoundries/OnlineStatusWrapper.d.ts.map +1 -0
- package/dist/components/ErrorBoundries/OnlineStatusWrapper.js +10 -0
- package/dist/components/ErrorBoundries/OnlineStatusWrapper.js.map +1 -0
- package/dist/components/ErrorBoundries/ServerError.d.ts +2 -0
- package/dist/components/ErrorBoundries/ServerError.d.ts.map +1 -0
- package/dist/components/ErrorBoundries/ServerError.js +9 -0
- package/dist/components/ErrorBoundries/ServerError.js.map +1 -0
- package/dist/components/ErrorBoundries/ServerErrorPage.d.ts +2 -0
- package/dist/components/ErrorBoundries/ServerErrorPage.d.ts.map +1 -0
- package/dist/components/ErrorBoundries/ServerErrorPage.js +11 -0
- package/dist/components/ErrorBoundries/ServerErrorPage.js.map +1 -0
- package/dist/components/ErrorBoundries/ServerMaintainanceSvg.d.ts +2 -0
- package/dist/components/ErrorBoundries/ServerMaintainanceSvg.d.ts.map +1 -0
- package/dist/components/ErrorBoundries/ServerMaintainanceSvg.js +5 -0
- package/dist/components/ErrorBoundries/ServerMaintainanceSvg.js.map +1 -0
- package/dist/components/ErrorBoundries/ServerUnreachableError.d.ts +2 -0
- package/dist/components/ErrorBoundries/ServerUnreachableError.d.ts.map +1 -0
- package/dist/components/ErrorBoundries/ServerUnreachableError.js +9 -0
- package/dist/components/ErrorBoundries/ServerUnreachableError.js.map +1 -0
- package/dist/components/ErrorBoundries/SolidGenericErrorComponent.d.ts +2 -0
- package/dist/components/ErrorBoundries/SolidGenericErrorComponent.d.ts.map +1 -0
- package/dist/components/ErrorBoundries/SolidGenericErrorComponent.js +28 -0
- package/dist/components/ErrorBoundries/SolidGenericErrorComponent.js.map +1 -0
- package/dist/components/Svg/ListViewPlaceholderSvg.d.ts +2 -0
- package/dist/components/Svg/ListViewPlaceholderSvg.d.ts.map +1 -0
- package/dist/components/Svg/ListViewPlaceholderSvg.js +5 -0
- package/dist/components/Svg/ListViewPlaceholderSvg.js.map +1 -0
- package/dist/components/core/common/SolidAccountSettings/AccountSettings.d.ts +2 -0
- package/dist/components/core/common/SolidAccountSettings/AccountSettings.d.ts.map +1 -0
- package/dist/components/core/common/SolidAccountSettings/AccountSettings.js +58 -0
- package/dist/components/core/common/SolidAccountSettings/AccountSettings.js.map +1 -0
- package/dist/components/core/common/SolidAccountSettings/SolidPersnoalInfo.d.ts +2 -0
- package/dist/components/core/common/SolidAccountSettings/SolidPersnoalInfo.d.ts.map +1 -0
- package/dist/components/core/common/SolidAccountSettings/SolidPersnoalInfo.js +240 -0
- package/dist/components/core/common/SolidAccountSettings/SolidPersnoalInfo.js.map +1 -0
- package/dist/components/core/common/SolidConfigureLayoutElement.d.ts +2 -0
- package/dist/components/core/common/SolidConfigureLayoutElement.d.ts.map +1 -0
- package/dist/components/core/common/SolidConfigureLayoutElement.js +77 -0
- package/dist/components/core/common/SolidConfigureLayoutElement.js.map +1 -0
- package/dist/components/core/common/SolidGenericImport/ImportWrapper.d.ts +2 -0
- package/dist/components/core/common/SolidGenericImport/ImportWrapper.d.ts.map +1 -0
- package/dist/components/core/common/SolidGenericImport/ImportWrapper.js +17 -0
- package/dist/components/core/common/SolidGenericImport/ImportWrapper.js.map +1 -0
- package/dist/components/core/common/SolidGenericImport/temp.css +32 -0
- package/dist/components/core/dashboard/SolidQuestionWrapper.d.ts +2 -0
- package/dist/components/core/dashboard/SolidQuestionWrapper.d.ts.map +1 -0
- package/dist/components/core/dashboard/SolidQuestionWrapper.js +5 -0
- package/dist/components/core/dashboard/SolidQuestionWrapper.js.map +1 -0
- package/dist/components/core/dashboard/chart-renderers/BarChartRenderer.js +1 -1
- package/dist/components/core/dashboard/chart-renderers/BarChartRenderer.js.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/LineChartRenderer.js +1 -1
- package/dist/components/core/dashboard/chart-renderers/LineChartRenderer.js.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/PieChartRenderer.js +1 -1
- package/dist/components/core/dashboard/chart-renderers/PieChartRenderer.js.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/PrimeReactMeterGroupRenderer.d.ts.map +1 -1
- package/dist/components/core/dashboard/chart-renderers/PrimeReactMeterGroupRenderer.js +2 -1
- package/dist/components/core/dashboard/chart-renderers/PrimeReactMeterGroupRenderer.js.map +1 -1
- package/dist/components/core/extension/solid-core/modelMetadata/list/deleteModelRowAction.module.css +25 -0
- package/dist/components/core/form/SolidFormViewShimmerLoading.module.css +4 -0
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.d.ts.map +1 -1
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js +116 -6
- package/dist/components/core/form/fields/relations/SolidRelationManyToOneField.js.map +1 -1
- package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyAutocompleteWidget.d.ts +3 -0
- package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyAutocompleteWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyAutocompleteWidget.js +38 -0
- package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyAutocompleteWidget.js.map +1 -0
- package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyCheckboxWidget.d.ts +3 -0
- package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyCheckboxWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyCheckboxWidget.js +48 -0
- package/dist/components/core/form/fields/relations/widgets/SolidRelationManyToManyCheckboxWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidBooleanCheckboxFieldWidget.d.ts +3 -0
- package/dist/components/core/form/fields/widgets/SolidBooleanCheckboxFieldWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidBooleanCheckboxFieldWidget.js +57 -0
- package/dist/components/core/form/fields/widgets/SolidBooleanCheckboxFieldWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidBooleanSelectFieldWidget.d.ts +3 -0
- package/dist/components/core/form/fields/widgets/SolidBooleanSelectFieldWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidBooleanSelectFieldWidget.js +30 -0
- package/dist/components/core/form/fields/widgets/SolidBooleanSelectFieldWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldJsonViewModeWidget.d.ts +2 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldJsonViewModeWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldJsonViewModeWidget.js +9 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldJsonViewModeWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldMediaViewModeWidget.d.ts +2 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldMediaViewModeWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldMediaViewModeWidget.js +8 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldMediaViewModeWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldPasswordViewModeWidget.d.ts +2 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldPasswordViewModeWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldPasswordViewModeWidget.js +9 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldPasswordViewModeWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldRelationViewModeWidget.d.ts +2 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldRelationViewModeWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldRelationViewModeWidget.js +20 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldRelationViewModeWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldRichTextViewModeWidget.d.ts +2 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldRichTextViewModeWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldRichTextViewModeWidget.js +7 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldRichTextViewModeWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaMultiple.d.ts +3 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaMultiple.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaMultiple.js +74 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaMultiple.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaMultipleWidget.d.ts +3 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaMultipleWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaMultipleWidget.js +90 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaMultipleWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaSingleWidget.d.ts +3 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaSingleWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaSingleWidget.js +74 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewMediaSingleWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewModeWidget.d.ts +2 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewModeWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewModeWidget.js +6 -0
- package/dist/components/core/form/fields/widgets/SolidFormFieldViewModeWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidIconWidget.d.ts +3 -0
- package/dist/components/core/form/fields/widgets/SolidIconWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidIconWidget.js +93 -0
- package/dist/components/core/form/fields/widgets/SolidIconWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidSelectionStaticAutocompleteFieldWidget.d.ts +3 -0
- package/dist/components/core/form/fields/widgets/SolidSelectionStaticAutocompleteFieldWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidSelectionStaticAutocompleteFieldWidget.js +50 -0
- package/dist/components/core/form/fields/widgets/SolidSelectionStaticAutocompleteFieldWidget.js.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidSelectionStaticRadioFieldWidget.d.ts +3 -0
- package/dist/components/core/form/fields/widgets/SolidSelectionStaticRadioFieldWidget.d.ts.map +1 -0
- package/dist/components/core/form/fields/widgets/SolidSelectionStaticRadioFieldWidget.js +34 -0
- package/dist/components/core/form/fields/widgets/SolidSelectionStaticRadioFieldWidget.js.map +1 -0
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +9 -2
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/list/SolidXAIModulePanel.module.css +31 -0
- package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy.d.ts +2 -0
- package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy.d.ts.map +1 -0
- package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy.js +7 -0
- package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget copy.js.map +1 -0
- package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget.d.ts +2 -0
- package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget.d.ts.map +1 -0
- package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget.js +7 -0
- package/dist/components/core/list/widgets/SolidShortTextFieldTextRenderModeWidget.js.map +1 -0
- package/dist/components/core/list/widgets/SolidUserNameAvatarWidget.d.ts +2 -0
- package/dist/components/core/list/widgets/SolidUserNameAvatarWidget.d.ts.map +1 -0
- package/dist/components/core/list/widgets/SolidUserNameAvatarWidget.js +35 -0
- package/dist/components/core/list/widgets/SolidUserNameAvatarWidget.js.map +1 -0
- package/dist/helpers/useOfflineStatus.d.ts +2 -0
- package/dist/helpers/useOfflineStatus.d.ts.map +1 -0
- package/dist/helpers/useOfflineStatus.js +17 -0
- package/dist/helpers/useOfflineStatus.js.map +1 -0
- package/dist/resources/images/Navigation/SolidSettingsIcon.png +0 -0
- package/dist/resources/images/SS-Logo-1 1.png +0 -0
- package/dist/resources/images/SS-Logo.png +0 -0
- package/dist/resources/solid.css +2983 -0
- package/dist/resources/themes/solid-light-purple/theme copy.css +6129 -0
- package/next-env.d.ts +5 -0
- package/package.json +1 -1
- package/dist/components/core/dashboard/SolidDashboardVariableFilterDialog.d.ts +0 -10
- package/dist/components/core/dashboard/SolidDashboardVariableFilterDialog.d.ts.map +0 -1
- package/dist/components/core/dashboard/SolidDashboardVariableFilterDialog.js +0 -14
- package/dist/components/core/dashboard/SolidDashboardVariableFilterDialog.js.map +0 -1
- package/dist/components/core/extension/solid-core/question/BarChartWidget.d.ts +0 -4
- package/dist/components/core/extension/solid-core/question/BarChartWidget.d.ts.map +0 -1
- package/dist/components/core/extension/solid-core/question/BarChartWidget.js +0 -19
- package/dist/components/core/extension/solid-core/question/BarChartWidget.js.map +0 -1
- package/dist/components/core/extension/solid-core/question/ChartWidget.d.ts +0 -4
- package/dist/components/core/extension/solid-core/question/ChartWidget.d.ts.map +0 -1
- package/dist/components/core/extension/solid-core/question/ChartWidget.js +0 -25
- package/dist/components/core/extension/solid-core/question/ChartWidget.js.map +0 -1
- package/dist/helpers/security-headers.d.ts +0 -32
- package/dist/helpers/security-headers.d.ts.map +0 -1
- package/dist/helpers/security-headers.js +0 -150
- package/dist/helpers/security-headers.js.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useRouter } from 'next/navigation';
|
|
4
|
+
import { Button } from 'primereact/button';
|
|
5
|
+
export var SolidGenericErrorComponent = function (_a) {
|
|
6
|
+
var error = _a.error, height = _a.height;
|
|
7
|
+
var router = useRouter();
|
|
8
|
+
var status = error === null || error === void 0 ? void 0 : error.status;
|
|
9
|
+
var getErrorInfo = function (status) {
|
|
10
|
+
switch (status) {
|
|
11
|
+
case 400:
|
|
12
|
+
return { title: '400 - Bad Request', message: 'The server could not understand the request.' };
|
|
13
|
+
case 401:
|
|
14
|
+
return { title: '401 - Unauthorized', message: 'You must be authenticated to access this resource.' };
|
|
15
|
+
case 403:
|
|
16
|
+
return { title: '403 - Forbidden', message: 'You do not have permission to access this resource.' };
|
|
17
|
+
case 404:
|
|
18
|
+
return { title: '404 - Not Found', message: 'The requested resource could not be found.' };
|
|
19
|
+
case 500:
|
|
20
|
+
return { title: '500 - Internal Server Error', message: 'Something went wrong on the server.' };
|
|
21
|
+
default:
|
|
22
|
+
return { title: "".concat(status, " - Error"), message: 'An unexpected error occurred.' };
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
var _b = getErrorInfo(status), title = _b.title, message = _b.message;
|
|
26
|
+
return (_jsxs("div", { className: 'flex flex-column align-items-center justify-content-center', style: { height: height ? height : '100%' }, children: [_jsx("h3", { className: "font-bold", children: title }), _jsx("p", { children: message }), _jsx("div", { children: _jsx(Button, { label: 'Back', size: 'small', onClick: function () { return router.back(); } }) })] }));
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=SolidGenericErrorComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidGenericErrorComponent.js","sourceRoot":"","sources":["../../../src/components/ErrorBoundries/SolidGenericErrorComponent.tsx"],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