@omnsight/osint-entity-components 0.2.7 → 0.2.8
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/package.json
CHANGED
|
@@ -108,13 +108,6 @@ export const StaticForm: React.FC<Props> = ({
|
|
|
108
108
|
}}
|
|
109
109
|
onDoubleClick={onDoubleClick}
|
|
110
110
|
>
|
|
111
|
-
<Group gap={4}>
|
|
112
|
-
<Text size="sm" c="dimmed">
|
|
113
|
-
{t("placeholder.type")}:
|
|
114
|
-
</Text>
|
|
115
|
-
<Text size="sm">{event.type}</Text>
|
|
116
|
-
</Group>
|
|
117
|
-
|
|
118
111
|
<Group gap="xs" c="dimmed">
|
|
119
112
|
<CalendarDaysIcon style={{ width: rem(18), height: rem(18) }} />
|
|
120
113
|
<Text size="sm">
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
Tooltip,
|
|
11
11
|
Box,
|
|
12
12
|
Select,
|
|
13
|
+
Badge,
|
|
13
14
|
} from "@mantine/core";
|
|
14
15
|
import { useTranslation } from "react-i18next";
|
|
15
16
|
import { type Organization, type Permissive } from "omni-osint-crud-client";
|
|
@@ -77,13 +78,6 @@ export const StaticForm: React.FC<Props> = ({
|
|
|
77
78
|
style={{ cursor: editModeEnabled ? "pointer" : "default" }}
|
|
78
79
|
onDoubleClick={onDoubleClick}
|
|
79
80
|
>
|
|
80
|
-
<Group gap={4}>
|
|
81
|
-
<Text size="sm" c="dimmed">
|
|
82
|
-
{t("placeholder.type")}:
|
|
83
|
-
</Text>
|
|
84
|
-
<Text size="sm">{organization.type}</Text>
|
|
85
|
-
</Group>
|
|
86
|
-
|
|
87
81
|
<Group gap={4}>
|
|
88
82
|
<Text size="sm" c="dimmed">
|
|
89
83
|
{t("placeholder.foundedDate")}:
|
|
@@ -110,7 +104,11 @@ export const StaticForm: React.FC<Props> = ({
|
|
|
110
104
|
</Text>
|
|
111
105
|
</Group>
|
|
112
106
|
|
|
113
|
-
<
|
|
107
|
+
<Group gap="xs">
|
|
108
|
+
{(organization.tags || []).map((tag) => (
|
|
109
|
+
<Badge key={tag}>{tag}</Badge>
|
|
110
|
+
))}
|
|
111
|
+
</Group>
|
|
114
112
|
|
|
115
113
|
{children}
|
|
116
114
|
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
Tooltip,
|
|
11
11
|
Box,
|
|
12
12
|
Select,
|
|
13
|
+
Badge,
|
|
13
14
|
} from '@mantine/core';
|
|
14
15
|
import { useTranslation } from 'react-i18next';
|
|
15
16
|
import { type Person, type Permissive } from 'omni-osint-crud-client';
|
|
@@ -77,13 +78,6 @@ export const StaticForm: React.FC<Props> = ({
|
|
|
77
78
|
style={{ cursor: editModeEnabled ? 'pointer' : 'default' }}
|
|
78
79
|
onDoubleClick={onDoubleClick}
|
|
79
80
|
>
|
|
80
|
-
<Group gap={4}>
|
|
81
|
-
<Text size="sm" c="dimmed">
|
|
82
|
-
{t('placeholder.type')}:
|
|
83
|
-
</Text>
|
|
84
|
-
<Text size="sm">{person.type}</Text>
|
|
85
|
-
</Group>
|
|
86
|
-
|
|
87
81
|
<Group gap={4}>
|
|
88
82
|
<Text>{t('placeholder.role')}:</Text>
|
|
89
83
|
<Text>{person.role}</Text>
|
|
@@ -105,7 +99,11 @@ export const StaticForm: React.FC<Props> = ({
|
|
|
105
99
|
</Text>
|
|
106
100
|
</Group>
|
|
107
101
|
|
|
108
|
-
<
|
|
102
|
+
<Group gap="xs">
|
|
103
|
+
{(person.tags || []).map((tag) => (
|
|
104
|
+
<Badge key={tag}>{tag}</Badge>
|
|
105
|
+
))}
|
|
106
|
+
</Group>
|
|
109
107
|
|
|
110
108
|
{children}
|
|
111
109
|
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
Tooltip,
|
|
12
12
|
Box,
|
|
13
13
|
Select,
|
|
14
|
+
Badge,
|
|
14
15
|
} from '@mantine/core';
|
|
15
16
|
import { ArrowTopRightOnSquareIcon, UserIcon } from '@heroicons/react/24/outline';
|
|
16
17
|
import { useTranslation } from 'react-i18next';
|
|
@@ -101,19 +102,16 @@ export const StaticForm: React.FC<Props> = ({
|
|
|
101
102
|
{source.description || t('components.forms.SourceForm.sourceDescription')}
|
|
102
103
|
</Text>
|
|
103
104
|
|
|
104
|
-
<Group gap={4}>
|
|
105
|
-
<Text size="sm" c="dimmed">
|
|
106
|
-
{t('placeholder.type')}:
|
|
107
|
-
</Text>
|
|
108
|
-
<Text size="sm">{source.type}</Text>
|
|
109
|
-
</Group>
|
|
110
|
-
|
|
111
105
|
<Group gap={4}>
|
|
112
106
|
<Text>{t('placeholder.reliability')}:</Text>
|
|
113
107
|
<Text>{source.reliability}</Text>
|
|
114
108
|
</Group>
|
|
115
109
|
|
|
116
|
-
<
|
|
110
|
+
<Group gap="xs">
|
|
111
|
+
{(source.tags || []).map((tag) => (
|
|
112
|
+
<Badge key={tag}>{tag}</Badge>
|
|
113
|
+
))}
|
|
114
|
+
</Group>
|
|
117
115
|
|
|
118
116
|
{children}
|
|
119
117
|
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
Tooltip,
|
|
17
17
|
Box,
|
|
18
18
|
Select,
|
|
19
|
+
Badge,
|
|
19
20
|
} from "@mantine/core";
|
|
20
21
|
import {
|
|
21
22
|
ArrowTopRightOnSquareIcon,
|
|
@@ -109,10 +110,6 @@ export const StaticForm: React.FC<Props> = ({
|
|
|
109
110
|
<Text>{website.description || t("placeholder.description")}</Text>
|
|
110
111
|
</Group>
|
|
111
112
|
|
|
112
|
-
<Group gap={4}>
|
|
113
|
-
<Text size="sm">{website.type}</Text>
|
|
114
|
-
</Group>
|
|
115
|
-
|
|
116
113
|
<Group gap={4}>
|
|
117
114
|
<Text size="sm">
|
|
118
115
|
{website.founded_at
|
|
@@ -129,7 +126,11 @@ export const StaticForm: React.FC<Props> = ({
|
|
|
129
126
|
</Text>
|
|
130
127
|
</Group>
|
|
131
128
|
|
|
132
|
-
<
|
|
129
|
+
<Group gap="xs">
|
|
130
|
+
{(website.tags || []).map((tag) => (
|
|
131
|
+
<Badge key={tag}>{tag}</Badge>
|
|
132
|
+
))}
|
|
133
|
+
</Group>
|
|
133
134
|
|
|
134
135
|
{children}
|
|
135
136
|
|