@collabdt/core 0.0.54 → 0.0.56
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/core/components/AppSidebarContent.d.ts.map +1 -1
- package/dist/core/components/AppSidebarContent.js +32 -5
- package/dist/core/components/AppSidebarContent.js.map +1 -1
- package/dist/core/components/authentication/AuthPage.d.ts.map +1 -1
- package/dist/core/components/authentication/AuthPage.js +3 -2
- package/dist/core/components/authentication/AuthPage.js.map +1 -1
- package/dist/core/components/authentication/Signin.d.ts +5 -1
- package/dist/core/components/authentication/Signin.d.ts.map +1 -1
- package/dist/core/components/authentication/Signin.js +17 -6
- package/dist/core/components/authentication/Signin.js.map +1 -1
- package/dist/core/components/instance-not-found/src/OrganizationNotFoundSection.d.ts.map +1 -1
- package/dist/core/components/instance-not-found/src/OrganizationNotFoundSection.js +152 -156
- package/dist/core/components/instance-not-found/src/OrganizationNotFoundSection.js.map +1 -1
- package/dist/core/components/organizationConfig/src/organizationConfigContent.d.ts.map +1 -1
- package/dist/core/components/organizationConfig/src/organizationConfigContent.js +146 -150
- package/dist/core/components/organizationConfig/src/organizationConfigContent.js.map +1 -1
- package/dist/core/components/settings/src/OrganizationSettingsPanel.d.ts.map +1 -1
- package/dist/core/components/settings/src/OrganizationSettingsPanel.js +4 -2
- package/dist/core/components/settings/src/OrganizationSettingsPanel.js.map +1 -1
- package/dist/core/components/support/BugReportDialog.d.ts +7 -0
- package/dist/core/components/support/BugReportDialog.d.ts.map +1 -0
- package/dist/core/components/support/BugReportDialog.js +117 -0
- package/dist/core/components/support/BugReportDialog.js.map +1 -0
- package/dist/core/components/support/FeatureRequestDialog.d.ts +8 -0
- package/dist/core/components/support/FeatureRequestDialog.d.ts.map +1 -0
- package/dist/core/components/support/FeatureRequestDialog.js +116 -0
- package/dist/core/components/support/FeatureRequestDialog.js.map +1 -0
- package/dist/core/components/support/SupportMenu.d.ts +10 -0
- package/dist/core/components/support/SupportMenu.d.ts.map +1 -0
- package/dist/core/components/support/SupportMenu.js +78 -0
- package/dist/core/components/support/SupportMenu.js.map +1 -0
- package/dist/core/components/ui/AnimatedBackground.d.ts.map +1 -1
- package/dist/core/components/ui/AnimatedBackground.js +3 -1
- package/dist/core/components/ui/AnimatedBackground.js.map +1 -1
- package/dist/core/components/ui/AppSidebar.d.ts.map +1 -1
- package/dist/core/components/ui/AppSidebar.js +11 -11
- package/dist/core/components/ui/AppSidebar.js.map +1 -1
- package/dist/core/components/ui/Navbar.d.ts.map +1 -1
- package/dist/core/components/ui/Navbar.js +15 -23
- package/dist/core/components/ui/Navbar.js.map +1 -1
- package/dist/core/components/ui/Sensors/CollapsibleSensorItem.d.ts.map +1 -1
- package/dist/core/components/ui/Sensors/CollapsibleSensorItem.js +3 -1
- package/dist/core/components/ui/Sensors/CollapsibleSensorItem.js.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/useSensorMarkers.d.ts.map +1 -1
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/useSensorMarkers.js +4 -2
- package/dist/core/components/viewers/bim/src/tools/AddToBim/src/useSensorMarkers.js.map +1 -1
- package/dist/core/components/viewers/map/datasets/RowActions.d.ts.map +1 -1
- package/dist/core/components/viewers/map/datasets/RowActions.js +3 -1
- package/dist/core/components/viewers/map/datasets/RowActions.js.map +1 -1
- package/dist/core/components/viewers/map/datasets/index.js +2 -2
- package/dist/core/components/viewers/map/datasets/index.js.map +1 -1
- package/dist/core/components/viewers/map/datasets/src/minioDatasets.d.ts +1 -1
- package/dist/core/components/viewers/map/datasets/src/minioDatasets.d.ts.map +1 -1
- package/dist/core/components/viewers/map/datasets/src/minioDatasets.js +3 -5
- package/dist/core/components/viewers/map/datasets/src/minioDatasets.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/SensorsLayer/index.d.ts.map +1 -1
- package/dist/core/components/viewers/map/src/MapLayers/src/SensorsLayer/index.js +5 -3
- package/dist/core/components/viewers/map/src/MapLayers/src/SensorsLayer/index.js.map +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/LayersTab/index.js +1 -1
- package/dist/core/components/viewers/map/src/MapSidebar/src/LayersTab/index.js.map +1 -1
- package/dist/core/components/viewers/pointcloud/PointCloudViewer.d.ts.map +1 -1
- package/dist/core/components/viewers/pointcloud/PointCloudViewer.js +4 -2
- package/dist/core/components/viewers/pointcloud/PointCloudViewer.js.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudLoadingState/index.d.ts.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudLoadingState/index.js +4 -2
- package/dist/core/components/viewers/pointcloud/src/PointCloudLoadingState/index.js.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudTable.d.ts.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudTable.js +7 -5
- package/dist/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudTable.js.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudUploadPanel.d.ts.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudUploadPanel.js +15 -8
- package/dist/core/components/viewers/pointcloud/src/PointCloudManagement/PointCloudUploadPanel.js.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/PointCloudSection.d.ts.map +1 -1
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/PointCloudSection.js +13 -12
- package/dist/core/components/viewers/pointcloud/src/PointCloudSidebar/src/FileTab/src/PointCloudSection.js.map +1 -1
- package/dist/core/components/viewers/pointcloud/utils/potreeLoader.d.ts.map +1 -1
- package/dist/core/components/viewers/pointcloud/utils/potreeLoader.js +1 -1
- package/dist/core/components/viewers/pointcloud/utils/potreeLoader.js.map +1 -1
- package/dist/core/store/AppConfig/context.d.ts +10 -1
- package/dist/core/store/AppConfig/context.d.ts.map +1 -1
- package/dist/core/store/AppConfig/context.js +26 -5
- package/dist/core/store/AppConfig/context.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,6 @@ import { Input } from "../../ui/Input";
|
|
|
7
7
|
import { Textarea } from "../../ui/Textarea";
|
|
8
8
|
import { useTranslations } from "next-intl";
|
|
9
9
|
import Link from "next/link";
|
|
10
|
-
import Footer from "../../ui/Footer";
|
|
11
10
|
import { useState } from "react";
|
|
12
11
|
function OrganizationNotFoundSection({
|
|
13
12
|
organizationName,
|
|
@@ -21,192 +20,189 @@ function OrganizationNotFoundSection({
|
|
|
21
20
|
window.location.href = `/${redirectOrg.trim()}`;
|
|
22
21
|
}
|
|
23
22
|
};
|
|
24
|
-
return /* @__PURE__ */
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
{
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
children: [
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
|
|
34
|
-
/* @__PURE__ */ jsxs("
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"'"
|
|
42
|
-
] }),
|
|
43
|
-
" ",
|
|
44
|
-
t("notCreatedYet")
|
|
23
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("section", { className: "min-h-screen py-32 relative flex items-center z-10", children: /* @__PURE__ */ jsx("div", { className: "container mx-auto px-6", children: /* @__PURE__ */ jsxs(
|
|
24
|
+
motion.div,
|
|
25
|
+
{
|
|
26
|
+
initial: { opacity: 0, y: 30 },
|
|
27
|
+
animate: { opacity: 1, y: 0 },
|
|
28
|
+
className: "max-w-5xl mx-auto",
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ jsxs("div", { className: "text-center mb-16 space-y-6", children: [
|
|
31
|
+
/* @__PURE__ */ jsx("h1", { className: "text-4xl md:text-5xl font-bold text-balance", children: t("title") }),
|
|
32
|
+
/* @__PURE__ */ jsxs("div", { className: "text-lg space-y-2", children: [
|
|
33
|
+
/* @__PURE__ */ jsxs("p", { className: "text-muted-foreground", children: [
|
|
34
|
+
t("organizationLabel"),
|
|
35
|
+
" ",
|
|
36
|
+
/* @__PURE__ */ jsxs("span", { className: "font-semibold text-foreground", children: [
|
|
37
|
+
"'",
|
|
38
|
+
organizationName,
|
|
39
|
+
"'"
|
|
45
40
|
] }),
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
41
|
+
" ",
|
|
42
|
+
t("notCreatedYet")
|
|
43
|
+
] }),
|
|
44
|
+
/* @__PURE__ */ jsxs("div", { className: "mt-6 mb-4", children: [
|
|
45
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mb-3", children: t("redirectPrompt") }),
|
|
46
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row gap-3 items-stretch justify-center max-w-md mx-auto", children: [
|
|
47
|
+
/* @__PURE__ */ jsx(
|
|
48
|
+
Input,
|
|
49
|
+
{
|
|
50
|
+
value: redirectOrg,
|
|
51
|
+
onChange: (e) => setRedirectOrg(e.target.value),
|
|
52
|
+
placeholder: t("redirectPlaceholder"),
|
|
53
|
+
className: "flex-1",
|
|
54
|
+
onKeyDown: (e) => {
|
|
55
|
+
if (e.key === "Enter") {
|
|
56
|
+
e.preventDefault();
|
|
57
|
+
handleRedirect();
|
|
61
58
|
}
|
|
62
59
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
] })
|
|
76
|
-
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: t("contactMessage") })
|
|
60
|
+
}
|
|
61
|
+
),
|
|
62
|
+
/* @__PURE__ */ jsx(
|
|
63
|
+
Button,
|
|
64
|
+
{
|
|
65
|
+
onClick: handleRedirect,
|
|
66
|
+
variant: "outline",
|
|
67
|
+
className: "whitespace-nowrap",
|
|
68
|
+
disabled: !redirectOrg.trim(),
|
|
69
|
+
children: t("redirectButton")
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
] })
|
|
77
73
|
] }),
|
|
78
|
-
/* @__PURE__ */
|
|
79
|
-
/* @__PURE__ */ jsx(Link, { href: "https://collabdt.org/", children: /* @__PURE__ */ jsx(Button, { variant: "outline", size: "lg", className: "text-base px-8 w-full sm:w-auto", children: t("backToHome") }) }),
|
|
80
|
-
/* @__PURE__ */ jsx(
|
|
81
|
-
Button,
|
|
82
|
-
{
|
|
83
|
-
size: "lg",
|
|
84
|
-
variant: "outline",
|
|
85
|
-
className: "text-base px-8 bg-primary-highlight border-secondary/40 hover:bg-orange-400 hover:border-secondary/60 transition-all whitespace-nowrap w-full sm:w-auto",
|
|
86
|
-
asChild: true,
|
|
87
|
-
children: /* @__PURE__ */ jsx("a", { href: "https://docs.google.com/forms/d/e/1FAIpQLScB12Qc7khiOk4a_E753jDccx6026AjO-_FINBKoZZZtkmqnA/viewform", target: "_blank", rel: "noopener noreferrer", children: t("betaButton") })
|
|
88
|
-
}
|
|
89
|
-
)
|
|
90
|
-
] })
|
|
74
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: t("contactMessage") })
|
|
91
75
|
] }),
|
|
92
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
93
|
-
/* @__PURE__ */
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
/* @__PURE__ */ jsx(
|
|
113
|
-
Input,
|
|
114
|
-
{
|
|
115
|
-
id: "lastName",
|
|
116
|
-
name: "lastName",
|
|
117
|
-
required: true,
|
|
118
|
-
className: "bg-background"
|
|
119
|
-
}
|
|
120
|
-
)
|
|
121
|
-
] })
|
|
122
|
-
] }),
|
|
76
|
+
/* @__PURE__ */ jsxs("div", { className: "pt-4 flex flex-col sm:flex-row items-stretch justify-center gap-4", children: [
|
|
77
|
+
/* @__PURE__ */ jsx(Link, { href: "https://collabdt.org/", children: /* @__PURE__ */ jsx(Button, { variant: "outline", size: "lg", className: "text-base px-8 w-full sm:w-auto", children: t("backToHome") }) }),
|
|
78
|
+
/* @__PURE__ */ jsx(
|
|
79
|
+
Button,
|
|
80
|
+
{
|
|
81
|
+
size: "lg",
|
|
82
|
+
variant: "outline",
|
|
83
|
+
className: "text-base px-8 bg-primary-highlight border-secondary/40 hover:bg-orange-400 hover:border-secondary/60 transition-all whitespace-nowrap w-full sm:w-auto",
|
|
84
|
+
asChild: true,
|
|
85
|
+
children: /* @__PURE__ */ jsx("a", { href: "https://docs.google.com/forms/d/e/1FAIpQLScB12Qc7khiOk4a_E753jDccx6026AjO-_FINBKoZZZtkmqnA/viewform", target: "_blank", rel: "noopener noreferrer", children: t("betaButton") })
|
|
86
|
+
}
|
|
87
|
+
)
|
|
88
|
+
] })
|
|
89
|
+
] }),
|
|
90
|
+
/* @__PURE__ */ jsxs("div", { className: "grid lg:grid-cols-3 gap-8", children: [
|
|
91
|
+
/* @__PURE__ */ jsxs(Card, { className: "lg:col-span-2 p-8", children: [
|
|
92
|
+
/* @__PURE__ */ jsx("h3", { className: "text-2xl font-bold mb-6", children: t("formTitle") }),
|
|
93
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-8", children: t("formDescription") }),
|
|
94
|
+
/* @__PURE__ */ jsxs("form", { onSubmit, className: "space-y-6", children: [
|
|
95
|
+
/* @__PURE__ */ jsxs("div", { className: "grid sm:grid-cols-2 gap-4", children: [
|
|
123
96
|
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
124
|
-
/* @__PURE__ */ jsx("label", { htmlFor: "
|
|
97
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "firstName", className: "text-sm font-medium", children: t("firstName") }),
|
|
125
98
|
/* @__PURE__ */ jsx(
|
|
126
99
|
Input,
|
|
127
100
|
{
|
|
128
|
-
id: "
|
|
129
|
-
name: "
|
|
130
|
-
type: "email",
|
|
101
|
+
id: "firstName",
|
|
102
|
+
name: "firstName",
|
|
131
103
|
required: true,
|
|
132
104
|
className: "bg-background"
|
|
133
105
|
}
|
|
134
106
|
)
|
|
135
107
|
] }),
|
|
136
108
|
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
137
|
-
/* @__PURE__ */ jsx("label", { htmlFor: "
|
|
109
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "lastName", className: "text-sm font-medium", children: t("lastName") }),
|
|
138
110
|
/* @__PURE__ */ jsx(
|
|
139
111
|
Input,
|
|
140
112
|
{
|
|
141
|
-
id: "
|
|
142
|
-
name: "
|
|
143
|
-
|
|
113
|
+
id: "lastName",
|
|
114
|
+
name: "lastName",
|
|
115
|
+
required: true,
|
|
144
116
|
className: "bg-background"
|
|
145
117
|
}
|
|
146
118
|
)
|
|
147
|
-
] })
|
|
148
|
-
|
|
149
|
-
|
|
119
|
+
] })
|
|
120
|
+
] }),
|
|
121
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
122
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "email", className: "text-sm font-medium", children: t("email") }),
|
|
123
|
+
/* @__PURE__ */ jsx(
|
|
124
|
+
Input,
|
|
125
|
+
{
|
|
126
|
+
id: "email",
|
|
127
|
+
name: "email",
|
|
128
|
+
type: "email",
|
|
129
|
+
required: true,
|
|
130
|
+
className: "bg-background"
|
|
131
|
+
}
|
|
132
|
+
)
|
|
133
|
+
] }),
|
|
134
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
135
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "organization", className: "text-sm font-medium", children: t("organization") }),
|
|
136
|
+
/* @__PURE__ */ jsx(
|
|
137
|
+
Input,
|
|
138
|
+
{
|
|
139
|
+
id: "organization",
|
|
140
|
+
name: "organization",
|
|
141
|
+
defaultValue: organizationName,
|
|
142
|
+
className: "bg-background"
|
|
143
|
+
}
|
|
144
|
+
)
|
|
145
|
+
] }),
|
|
146
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
147
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "message", className: "text-sm font-medium", children: t("message") }),
|
|
148
|
+
/* @__PURE__ */ jsx(
|
|
149
|
+
Textarea,
|
|
150
|
+
{
|
|
151
|
+
id: "message",
|
|
152
|
+
name: "message",
|
|
153
|
+
required: true,
|
|
154
|
+
rows: 5,
|
|
155
|
+
className: "bg-background resize-none"
|
|
156
|
+
}
|
|
157
|
+
)
|
|
158
|
+
] }),
|
|
159
|
+
/* @__PURE__ */ jsx(Button, { type: "submit", size: "lg", className: "gradient-button w-full", disabled: isSubmitting, children: isSubmitting ? t("sending") : t("sendButton") }),
|
|
160
|
+
/* @__PURE__ */ jsxs("p", { className: "text-sm text-muted-foreground text-center pt-2", children: [
|
|
161
|
+
t("orEmail"),
|
|
162
|
+
" ",
|
|
163
|
+
/* @__PURE__ */ jsx("a", { href: "mailto:info@collabdt.org", className: "text-primary hover:underline", children: "info@collabdt.org" })
|
|
164
|
+
] })
|
|
165
|
+
] })
|
|
166
|
+
] }),
|
|
167
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
|
|
168
|
+
/* @__PURE__ */ jsxs(Card, { className: "p-6 hover-card", children: [
|
|
169
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-bold mb-3", children: t("contactInfoTitle") }),
|
|
170
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
171
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
172
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mb-1", children: t("emailLabel") }),
|
|
150
173
|
/* @__PURE__ */ jsx(
|
|
151
|
-
|
|
174
|
+
"a",
|
|
152
175
|
{
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
rows: 5,
|
|
157
|
-
className: "bg-background resize-none"
|
|
176
|
+
href: "mailto:info@collabdt.org",
|
|
177
|
+
className: "text-primary hover:underline font-medium text-sm",
|
|
178
|
+
children: "info@collabdt.org"
|
|
158
179
|
}
|
|
159
180
|
)
|
|
160
181
|
] }),
|
|
161
|
-
/* @__PURE__ */
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
182
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
183
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mb-1", children: t("websiteLabel") }),
|
|
184
|
+
/* @__PURE__ */ jsx(
|
|
185
|
+
"a",
|
|
186
|
+
{
|
|
187
|
+
href: "https://collabdt.org",
|
|
188
|
+
target: "_blank",
|
|
189
|
+
rel: "noopener noreferrer",
|
|
190
|
+
className: "text-primary hover:underline font-medium text-sm",
|
|
191
|
+
children: "collabdt.org"
|
|
192
|
+
}
|
|
193
|
+
)
|
|
166
194
|
] })
|
|
167
195
|
] })
|
|
168
196
|
] }),
|
|
169
|
-
/* @__PURE__ */ jsxs(
|
|
170
|
-
/* @__PURE__ */
|
|
171
|
-
|
|
172
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
173
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
174
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mb-1", children: t("emailLabel") }),
|
|
175
|
-
/* @__PURE__ */ jsx(
|
|
176
|
-
"a",
|
|
177
|
-
{
|
|
178
|
-
href: "mailto:info@collabdt.org",
|
|
179
|
-
className: "text-primary hover:underline font-medium text-sm",
|
|
180
|
-
children: "info@collabdt.org"
|
|
181
|
-
}
|
|
182
|
-
)
|
|
183
|
-
] }),
|
|
184
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
185
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mb-1", children: t("websiteLabel") }),
|
|
186
|
-
/* @__PURE__ */ jsx(
|
|
187
|
-
"a",
|
|
188
|
-
{
|
|
189
|
-
href: "https://collabdt.org",
|
|
190
|
-
target: "_blank",
|
|
191
|
-
rel: "noopener noreferrer",
|
|
192
|
-
className: "text-primary hover:underline font-medium text-sm",
|
|
193
|
-
children: "collabdt.org"
|
|
194
|
-
}
|
|
195
|
-
)
|
|
196
|
-
] })
|
|
197
|
-
] })
|
|
198
|
-
] }),
|
|
199
|
-
/* @__PURE__ */ jsxs(Card, { className: "p-6 hover-card bg-primary/5 border-primary/20", children: [
|
|
200
|
-
/* @__PURE__ */ jsx("h3", { className: "text-lg font-bold mb-3", children: t("needHelpTitle") }),
|
|
201
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mb-4", children: t("needHelpDescription") })
|
|
202
|
-
] })
|
|
197
|
+
/* @__PURE__ */ jsxs(Card, { className: "p-6 hover-card bg-primary/5 border-primary/20", children: [
|
|
198
|
+
/* @__PURE__ */ jsx("h3", { className: "text-lg font-bold mb-3", children: t("needHelpTitle") }),
|
|
199
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mb-4", children: t("needHelpDescription") })
|
|
203
200
|
] })
|
|
204
201
|
] })
|
|
205
|
-
]
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
] });
|
|
202
|
+
] })
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
) }) }) });
|
|
210
206
|
}
|
|
211
207
|
export {
|
|
212
208
|
OrganizationNotFoundSection as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/core/components/instance-not-found/src/OrganizationNotFoundSection.tsx"],"sourcesContent":["'use client'\r\n\r\n// SPDX-License-Identifier: AGPL-3.0-or-later\r\n// Copyright (C) 2025 Collab Digital Twins\r\n\r\nimport { motion } from 'framer-motion'\r\nimport { Button } from '../../ui/Button'\r\nimport { Card } from '../../ui/Card'\r\nimport { Input } from '../../ui/Input'\r\nimport { Textarea } from '../../ui/Textarea'\r\nimport { useTranslations } from 'next-intl'\r\nimport Link from 'next/link'\r\nimport Footer from '../../ui/Footer'\r\nimport { useState } from 'react'\r\n\r\ninterface OrganizationNotFoundSectionProps {\r\n organizationName: string\r\n onSubmit: (e: React.FormEvent<HTMLFormElement>) => void\r\n isSubmitting?: boolean\r\n}\r\n\r\nexport default function OrganizationNotFoundSection({ \r\n organizationName, \r\n onSubmit, \r\n isSubmitting = false\r\n}: OrganizationNotFoundSectionProps) {\r\n const t = useTranslations('OrganizationNotFound')\r\n const [redirectOrg, setRedirectOrg] = useState('')\r\n\r\n const handleRedirect = () => {\r\n if (redirectOrg.trim()) {\r\n window.location.href = `/${redirectOrg.trim()}`\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n <section className=\"min-h-screen py-32 relative flex items-center z-10\">\r\n <div className=\"container mx-auto px-6\">\r\n <motion.div\r\n initial={{ opacity: 0, y: 30 }}\r\n animate={{ opacity: 1, y: 0 }}\r\n className=\"max-w-5xl mx-auto\"\r\n >\r\n {/* Header with Error Message */}\r\n <div className=\"text-center mb-16 space-y-6\">\r\n <h1 className=\"text-4xl md:text-5xl font-bold text-balance\">{t('title')}</h1>\r\n <div className=\"text-lg space-y-2\">\r\n <p className=\"text-muted-foreground\">\r\n {t('organizationLabel')}{' '}\r\n <span className=\"font-semibold text-foreground\">'{organizationName}'</span>{' '}\r\n {t('notCreatedYet')}\r\n </p>\r\n <div className=\"mt-6 mb-4\">\r\n <p className=\"text-sm text-muted-foreground mb-3\">{t('redirectPrompt')}</p>\r\n <div className=\"flex flex-col sm:flex-row gap-3 items-stretch justify-center max-w-md mx-auto\">\r\n <Input\r\n value={redirectOrg}\r\n onChange={(e) => setRedirectOrg(e.target.value)}\r\n placeholder={t('redirectPlaceholder')}\r\n className=\"flex-1\"\r\n onKeyDown={(e) => {\r\n if (e.key === 'Enter') {\r\n e.preventDefault()\r\n handleRedirect()\r\n }\r\n }}\r\n />\r\n <Button\r\n onClick={handleRedirect}\r\n variant=\"outline\"\r\n className=\"whitespace-nowrap\"\r\n disabled={!redirectOrg.trim()}\r\n >\r\n {t('redirectButton')}\r\n </Button>\r\n </div>\r\n </div>\r\n <p className=\"text-muted-foreground\">\r\n {t('contactMessage')}\r\n </p>\r\n </div>\r\n <div className=\"pt-4 flex flex-col sm:flex-row items-stretch justify-center gap-4\">\r\n <Link href=\"https://collabdt.org/\">\r\n <Button variant=\"outline\" size=\"lg\" className=\"text-base px-8 w-full sm:w-auto\">\r\n {t('backToHome')}\r\n </Button>\r\n </Link>\r\n <Button \r\n size=\"lg\" \r\n variant=\"outline\"\r\n className=\"text-base px-8 bg-primary-highlight border-secondary/40 hover:bg-orange-400 hover:border-secondary/60 transition-all whitespace-nowrap w-full sm:w-auto\"\r\n asChild\r\n >\r\n <a href=\"https://docs.google.com/forms/d/e/1FAIpQLScB12Qc7khiOk4a_E753jDccx6026AjO-_FINBKoZZZtkmqnA/viewform\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n {t('betaButton')}\r\n </a>\r\n </Button>\r\n </div>\r\n </div>\r\n\r\n {/* Contact Form */}\r\n <div className=\"grid lg:grid-cols-3 gap-8\">\r\n <Card className=\"lg:col-span-2 p-8\">\r\n <h3 className=\"text-2xl font-bold mb-6\">{t('formTitle')}</h3>\r\n <p className=\"text-muted-foreground mb-8\">\r\n {t('formDescription')}\r\n </p>\r\n \r\n <form onSubmit={onSubmit} className=\"space-y-6\">\r\n <div className=\"grid sm:grid-cols-2 gap-4\">\r\n <div className=\"space-y-2\">\r\n <label htmlFor=\"firstName\" className=\"text-sm font-medium\">\r\n {t('firstName')}\r\n </label>\r\n <Input \r\n id=\"firstName\" \r\n name=\"firstName\" \r\n required \r\n className=\"bg-background\"\r\n />\r\n </div>\r\n <div className=\"space-y-2\">\r\n <label htmlFor=\"lastName\" className=\"text-sm font-medium\">\r\n {t('lastName')}\r\n </label>\r\n <Input \r\n id=\"lastName\" \r\n name=\"lastName\" \r\n required \r\n className=\"bg-background\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div className=\"space-y-2\">\r\n <label htmlFor=\"email\" className=\"text-sm font-medium\">\r\n {t('email')}\r\n </label>\r\n <Input \r\n id=\"email\" \r\n name=\"email\" \r\n type=\"email\" \r\n required \r\n className=\"bg-background\"\r\n />\r\n </div>\r\n\r\n <div className=\"space-y-2\">\r\n <label htmlFor=\"organization\" className=\"text-sm font-medium\">\r\n {t('organization')}\r\n </label>\r\n <Input \r\n id=\"organization\" \r\n name=\"organization\" \r\n defaultValue={organizationName}\r\n className=\"bg-background\"\r\n />\r\n </div>\r\n\r\n <div className=\"space-y-2\">\r\n <label htmlFor=\"message\" className=\"text-sm font-medium\">\r\n {t('message')}\r\n </label>\r\n <Textarea \r\n id=\"message\" \r\n name=\"message\" \r\n required \r\n rows={5}\r\n className=\"bg-background resize-none\"\r\n />\r\n </div>\r\n\r\n <Button type=\"submit\" size=\"lg\" className=\"gradient-button w-full\" disabled={isSubmitting}>\r\n {isSubmitting ? t('sending') : t('sendButton')}\r\n </Button>\r\n\r\n <p className=\"text-sm text-muted-foreground text-center pt-2\">\r\n {t('orEmail')}{' '}\r\n <a href=\"mailto:info@collabdt.org\" className=\"text-primary hover:underline\">\r\n info@collabdt.org\r\n </a>\r\n </p>\r\n </form>\r\n </Card>\r\n\r\n {/* Contact Info Card */}\r\n <div className=\"space-y-6\">\r\n <Card className=\"p-6 hover-card\">\r\n <h3 className=\"text-lg font-bold mb-3\">{t('contactInfoTitle')}</h3>\r\n <div className=\"space-y-4\">\r\n <div>\r\n <p className=\"text-sm text-muted-foreground mb-1\">{t('emailLabel')}</p>\r\n <a \r\n href=\"mailto:info@collabdt.org\" \r\n className=\"text-primary hover:underline font-medium text-sm\"\r\n >\r\n info@collabdt.org\r\n </a>\r\n </div>\r\n <div>\r\n <p className=\"text-sm text-muted-foreground mb-1\">{t('websiteLabel')}</p>\r\n <a \r\n href=\"https://collabdt.org\" \r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"text-primary hover:underline font-medium text-sm\"\r\n >\r\n collabdt.org\r\n </a>\r\n </div>\r\n </div>\r\n </Card>\r\n\r\n <Card className=\"p-6 hover-card bg-primary/5 border-primary/20\">\r\n <h3 className=\"text-lg font-bold mb-3\">{t('needHelpTitle')}</h3>\r\n <p className=\"text-sm text-muted-foreground mb-4\">\r\n {t('needHelpDescription')}\r\n </p>\r\n </Card>\r\n </div>\r\n </div>\r\n </motion.div>\r\n </div>\r\n </section>\r\n <Footer />\r\n </>\r\n )\r\n}\r\n"],"mappings":";AAoCI,mBAUQ,KAII,YAdZ;AA/BJ,SAAS,cAAc;AACvB,SAAS,cAAc;AACvB,SAAS,YAAY;AACrB,SAAS,aAAa;AACtB,SAAS,gBAAgB;AACzB,SAAS,uBAAuB;AAChC,OAAO,UAAU;AACjB,OAAO,YAAY;AACnB,SAAS,gBAAgB;AAQV,SAAR,4BAA6C;AAAA,EAClD;AAAA,EACA;AAAA,EACA,eAAe;AACjB,GAAqC;AACnC,QAAM,IAAI,gBAAgB,sBAAsB;AAChD,QAAM,CAAC,aAAa,cAAc,IAAI,SAAS,EAAE;AAEjD,QAAM,iBAAiB,MAAM;AAC3B,QAAI,YAAY,KAAK,GAAG;AACtB,aAAO,SAAS,OAAO,IAAI,YAAY,KAAK,CAAC;AAAA,IAC/C;AAAA,EACF;AAEA,SACE,iCACE;AAAA,wBAAC,aAAQ,WAAU,sDACjB,8BAAC,SAAI,WAAU,0BACf;AAAA,MAAC,OAAO;AAAA,MAAP;AAAA,QACC,SAAS,EAAE,SAAS,GAAG,GAAG,GAAG;AAAA,QAC7B,SAAS,EAAE,SAAS,G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AI;AAAA,wBACJ,WAAU;AAAA,wBACX;AAAA;AAAA,oBAED;AAAA,qBACF;AAAA,mBACF;AAAA,iBACF;AAAA,cAEA,qBAAC,QAAK,WAAU,iDACd;AAAA,oCAAC,QAAG,WAAU,0BAA0B,YAAE,eAAe,GAAE;AAAA,gBAC3D,oBAAC,OAAE,WAAU,sCACV,YAAE,qBAAqB,GAC1B;AAAA,iBACF;AAAA,eACF;AAAA,aACF;AAAA;AAAA;AAAA,IACF,GACF,GACA;AAAA,IACA,oBAAC,UAAO;AAAA,KACV;AAEJ;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../../../src/core/components/instance-not-found/src/OrganizationNotFoundSection.tsx"],"sourcesContent":["'use client'\r\n\r\n// SPDX-License-Identifier: AGPL-3.0-or-later\r\n// Copyright (C) 2025 Collab Digital Twins\r\n\r\nimport { motion } from 'framer-motion'\r\nimport { Button } from '../../ui/Button'\r\nimport { Card } from '../../ui/Card'\r\nimport { Input } from '../../ui/Input'\r\nimport { Textarea } from '../../ui/Textarea'\r\nimport { useTranslations } from 'next-intl'\r\nimport Link from 'next/link'\r\nimport { useState } from 'react'\r\n\r\ninterface OrganizationNotFoundSectionProps {\r\n organizationName: string\r\n onSubmit: (e: React.FormEvent<HTMLFormElement>) => void\r\n isSubmitting?: boolean\r\n}\r\n\r\nexport default function OrganizationNotFoundSection({ \r\n organizationName, \r\n onSubmit, \r\n isSubmitting = false\r\n}: OrganizationNotFoundSectionProps) {\r\n const t = useTranslations('OrganizationNotFound')\r\n const [redirectOrg, setRedirectOrg] = useState('')\r\n\r\n const handleRedirect = () => {\r\n if (redirectOrg.trim()) {\r\n window.location.href = `/${redirectOrg.trim()}`\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n <section className=\"min-h-screen py-32 relative flex items-center z-10\">\r\n <div className=\"container mx-auto px-6\">\r\n <motion.div\r\n initial={{ opacity: 0, y: 30 }}\r\n animate={{ opacity: 1, y: 0 }}\r\n className=\"max-w-5xl mx-auto\"\r\n >\r\n {/* Header with Error Message */}\r\n <div className=\"text-center mb-16 space-y-6\">\r\n <h1 className=\"text-4xl md:text-5xl font-bold text-balance\">{t('title')}</h1>\r\n <div className=\"text-lg space-y-2\">\r\n <p className=\"text-muted-foreground\">\r\n {t('organizationLabel')}{' '}\r\n <span className=\"font-semibold text-foreground\">'{organizationName}'</span>{' '}\r\n {t('notCreatedYet')}\r\n </p>\r\n <div className=\"mt-6 mb-4\">\r\n <p className=\"text-sm text-muted-foreground mb-3\">{t('redirectPrompt')}</p>\r\n <div className=\"flex flex-col sm:flex-row gap-3 items-stretch justify-center max-w-md mx-auto\">\r\n <Input\r\n value={redirectOrg}\r\n onChange={(e) => setRedirectOrg(e.target.value)}\r\n placeholder={t('redirectPlaceholder')}\r\n className=\"flex-1\"\r\n onKeyDown={(e) => {\r\n if (e.key === 'Enter') {\r\n e.preventDefault()\r\n handleRedirect()\r\n }\r\n }}\r\n />\r\n <Button\r\n onClick={handleRedirect}\r\n variant=\"outline\"\r\n className=\"whitespace-nowrap\"\r\n disabled={!redirectOrg.trim()}\r\n >\r\n {t('redirectButton')}\r\n </Button>\r\n </div>\r\n </div>\r\n <p className=\"text-muted-foreground\">\r\n {t('contactMessage')}\r\n </p>\r\n </div>\r\n <div className=\"pt-4 flex flex-col sm:flex-row items-stretch justify-center gap-4\">\r\n <Link href=\"https://collabdt.org/\">\r\n <Button variant=\"outline\" size=\"lg\" className=\"text-base px-8 w-full sm:w-auto\">\r\n {t('backToHome')}\r\n </Button>\r\n </Link>\r\n <Button \r\n size=\"lg\" \r\n variant=\"outline\"\r\n className=\"text-base px-8 bg-primary-highlight border-secondary/40 hover:bg-orange-400 hover:border-secondary/60 transition-all whitespace-nowrap w-full sm:w-auto\"\r\n asChild\r\n >\r\n <a href=\"https://docs.google.com/forms/d/e/1FAIpQLScB12Qc7khiOk4a_E753jDccx6026AjO-_FINBKoZZZtkmqnA/viewform\" target=\"_blank\" rel=\"noopener noreferrer\">\r\n {t('betaButton')}\r\n </a>\r\n </Button>\r\n </div>\r\n </div>\r\n\r\n {/* Contact Form */}\r\n <div className=\"grid lg:grid-cols-3 gap-8\">\r\n <Card className=\"lg:col-span-2 p-8\">\r\n <h3 className=\"text-2xl font-bold mb-6\">{t('formTitle')}</h3>\r\n <p className=\"text-muted-foreground mb-8\">\r\n {t('formDescription')}\r\n </p>\r\n \r\n <form onSubmit={onSubmit} className=\"space-y-6\">\r\n <div className=\"grid sm:grid-cols-2 gap-4\">\r\n <div className=\"space-y-2\">\r\n <label htmlFor=\"firstName\" className=\"text-sm font-medium\">\r\n {t('firstName')}\r\n </label>\r\n <Input \r\n id=\"firstName\" \r\n name=\"firstName\" \r\n required \r\n className=\"bg-background\"\r\n />\r\n </div>\r\n <div className=\"space-y-2\">\r\n <label htmlFor=\"lastName\" className=\"text-sm font-medium\">\r\n {t('lastName')}\r\n </label>\r\n <Input \r\n id=\"lastName\" \r\n name=\"lastName\" \r\n required \r\n className=\"bg-background\"\r\n />\r\n </div>\r\n </div>\r\n\r\n <div className=\"space-y-2\">\r\n <label htmlFor=\"email\" className=\"text-sm font-medium\">\r\n {t('email')}\r\n </label>\r\n <Input \r\n id=\"email\" \r\n name=\"email\" \r\n type=\"email\" \r\n required \r\n className=\"bg-background\"\r\n />\r\n </div>\r\n\r\n <div className=\"space-y-2\">\r\n <label htmlFor=\"organization\" className=\"text-sm font-medium\">\r\n {t('organization')}\r\n </label>\r\n <Input \r\n id=\"organization\" \r\n name=\"organization\" \r\n defaultValue={organizationName}\r\n className=\"bg-background\"\r\n />\r\n </div>\r\n\r\n <div className=\"space-y-2\">\r\n <label htmlFor=\"message\" className=\"text-sm font-medium\">\r\n {t('message')}\r\n </label>\r\n <Textarea \r\n id=\"message\" \r\n name=\"message\" \r\n required \r\n rows={5}\r\n className=\"bg-background resize-none\"\r\n />\r\n </div>\r\n\r\n <Button type=\"submit\" size=\"lg\" className=\"gradient-button w-full\" disabled={isSubmitting}>\r\n {isSubmitting ? t('sending') : t('sendButton')}\r\n </Button>\r\n\r\n <p className=\"text-sm text-muted-foreground text-center pt-2\">\r\n {t('orEmail')}{' '}\r\n <a href=\"mailto:info@collabdt.org\" className=\"text-primary hover:underline\">\r\n info@collabdt.org\r\n </a>\r\n </p>\r\n </form>\r\n </Card>\r\n\r\n {/* Contact Info Card */}\r\n <div className=\"space-y-6\">\r\n <Card className=\"p-6 hover-card\">\r\n <h3 className=\"text-lg font-bold mb-3\">{t('contactInfoTitle')}</h3>\r\n <div className=\"space-y-4\">\r\n <div>\r\n <p className=\"text-sm text-muted-foreground mb-1\">{t('emailLabel')}</p>\r\n <a \r\n href=\"mailto:info@collabdt.org\" \r\n className=\"text-primary hover:underline font-medium text-sm\"\r\n >\r\n info@collabdt.org\r\n </a>\r\n </div>\r\n <div>\r\n <p className=\"text-sm text-muted-foreground mb-1\">{t('websiteLabel')}</p>\r\n <a \r\n href=\"https://collabdt.org\" \r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"text-primary hover:underline font-medium text-sm\"\r\n >\r\n collabdt.org\r\n </a>\r\n </div>\r\n </div>\r\n </Card>\r\n\r\n <Card className=\"p-6 hover-card bg-primary/5 border-primary/20\">\r\n <h3 className=\"text-lg font-bold mb-3\">{t('needHelpTitle')}</h3>\r\n <p className=\"text-sm text-muted-foreground mb-4\">\r\n {t('needHelpDescription')}\r\n </p>\r\n </Card>\r\n </div>\r\n </div>\r\n </motion.div>\r\n </div>\r\n </section>\r\n \r\n </>\r\n )\r\n}\r\n"],"mappings":";AAmCI,mBAUQ,KAII,YAdZ;AA9BJ,SAAS,cAAc;AACvB,SAAS,cAAc;AACvB,SAAS,YAAY;AACrB,SAAS,aAAa;AACtB,SAAS,gBAAgB;AACzB,SAAS,uBAAuB;AAChC,OAAO,UAAU;AACjB,SAAS,gBAAgB;AAQV,SAAR,4BAA6C;AAAA,EAClD;AAAA,EACA;AAAA,EACA,eAAe;AACjB,GAAqC;AACnC,QAAM,IAAI,gBAAgB,sBAAsB;AAChD,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,qCAAC,SACC;AAAA,sCAAC,OAAE,WAAU,sCAAsC,YAAE,YAAY,GAAE;AAAA,kBACnE;AAAA,oBAAC;AAAA;AAAA,sBACC,MAAK;AAAA,sBACL,WAAU;AAAA,sBACX;AAAA;AAAA,kBAED;AAAA,mBACF;AAAA,gBACA,qBAAC,SACC;AAAA,sCAAC,OAAE,WAAU,sCAAsC,YAAE,cAAc,GAAE;AAAA,kBACrE;AAAA,oBAAC;AAAA;AAAA,sBACC,MAAK;AAAA,sBACL,QAAO;AAAA,sBACP,KAAI;AAAA,sBACJ,WAAU;AAAA,sBACX;AAAA;AAAA,kBAED;AAAA,mBACF;AAAA,iBACF;AAAA,eACF;AAAA,YAEA,qBAAC,QAAK,WAAU,iDACd;AAAA,kCAAC,QAAG,WAAU,0BAA0B,YAAE,eAAe,GAAE;AAAA,cAC3D,oBAAC,OAAE,WAAU,sCACV,YAAE,qBAAqB,GAC1B;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA;AAAA;AAAA,EACF,GACF,GACA,GAEF;AAEJ;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationConfigContent.d.ts","sourceRoot":"","sources":["../../../../../src/core/components/organizationConfig/src/organizationConfigContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"organizationConfigContent.d.ts","sourceRoot":"","sources":["../../../../../src/core/components/organizationConfig/src/organizationConfigContent.tsx"],"names":[],"mappings":"AAeA,MAAM,CAAC,OAAO,UAAU,yBAAyB,gCAsQhD"}
|