@omnsight/osint-entity-components 0.1.0
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/LICENSE +201 -0
- package/README.md +76 -0
- package/package.json +82 -0
- package/src/App.tsx +245 -0
- package/src/assets/icons/generated/basil-document-solid.tsx +8 -0
- package/src/assets/icons/generated/boxicons-announcement.tsx +8 -0
- package/src/assets/icons/generated/boxicons-book.tsx +8 -0
- package/src/assets/icons/generated/codicon-organization.tsx +8 -0
- package/src/assets/icons/generated/emojione-monotone-ship.tsx +8 -0
- package/src/assets/icons/generated/fa-solid-ship.tsx +8 -0
- package/src/assets/icons/generated/flowbite-truck-solid.tsx +8 -0
- package/src/assets/icons/generated/fluent-emoji-high-contrast-broken-chain.tsx +8 -0
- package/src/assets/icons/generated/fluent-emoji-high-contrast-military-helmet.tsx +8 -0
- package/src/assets/icons/generated/game-icons-bombing-run.tsx +8 -0
- package/src/assets/icons/generated/game-icons-missile-launcher.tsx +8 -0
- package/src/assets/icons/generated/game-icons-pistol-gun.tsx +8 -0
- package/src/assets/icons/generated/gg-website.tsx +8 -0
- package/src/assets/icons/generated/hugeicons-trade-up.tsx +8 -0
- package/src/assets/icons/generated/ic-sharp-oil-barrel.tsx +8 -0
- package/src/assets/icons/generated/ion-train-sharp.tsx +8 -0
- package/src/assets/icons/generated/mdi-account-school.tsx +8 -0
- package/src/assets/icons/generated/mdi-account-tie-hat.tsx +8 -0
- package/src/assets/icons/generated/mdi-account-tie.tsx +19 -0
- package/src/assets/icons/generated/mdi-airplane.tsx +8 -0
- package/src/assets/icons/generated/mdi-factory.tsx +19 -0
- package/src/assets/icons/generated/mdi-forum.tsx +8 -0
- package/src/assets/icons/generated/mdi-handcuffs.tsx +8 -0
- package/src/assets/icons/generated/mdi-tank.tsx +19 -0
- package/src/assets/icons/generated/mingcute-government-line.tsx +25 -0
- package/src/assets/icons/generated/mingcute-phone-call-fill.tsx +8 -0
- package/src/assets/icons/generated/pixel-technology.tsx +8 -0
- package/src/assets/icons/generated/ri-exchange-box-fill.tsx +8 -0
- package/src/assets/icons/generated/ri-seedling-line.tsx +8 -0
- package/src/assets/icons/generated/ri-spy-fill.tsx +8 -0
- package/src/assets/icons/generated/streamline-cyber-newspaper-2.tsx +8 -0
- package/src/assets/icons/generated/streamline-flex-deepfake-technology-1-solid.tsx +8 -0
- package/src/assets/icons/generated/uit-social-media-logo.tsx +8 -0
- package/src/avatars/EmptyAvatar.tsx +12 -0
- package/src/avatars/EventAvatar.tsx +40 -0
- package/src/avatars/OrganizationAvatar.tsx +43 -0
- package/src/avatars/PersonAvatar.tsx +41 -0
- package/src/avatars/SourceAvatar.tsx +67 -0
- package/src/avatars/WebsiteAvatar.tsx +40 -0
- package/src/avatars/index.ts +12 -0
- package/src/avatars/layouts/AvatarDropdown.tsx +48 -0
- package/src/avatars/layouts/AvatarRowList.tsx +23 -0
- package/src/avatars/layouts/AvatarSpan.tsx +11 -0
- package/src/avatars/layouts/EntityStyles.css +10 -0
- package/src/avatars/layouts/RelationTooltip.tsx +75 -0
- package/src/cards/EventCard.tsx +46 -0
- package/src/cards/OrganizationCard.tsx +38 -0
- package/src/cards/PersonCard.tsx +46 -0
- package/src/cards/SourceCard.tsx +63 -0
- package/src/cards/WebsiteCard.tsx +63 -0
- package/src/cards/index.ts +5 -0
- package/src/env.d.ts +2 -0
- package/src/i18n.ts +22 -0
- package/src/icons/Event/Icon.tsx +32 -0
- package/src/icons/Event/Select.tsx +61 -0
- package/src/icons/Event/icons.ts +118 -0
- package/src/icons/Organization/Icon.tsx +41 -0
- package/src/icons/Organization/Select.tsx +61 -0
- package/src/icons/Organization/icons.ts +53 -0
- package/src/icons/Person/Icon.tsx +34 -0
- package/src/icons/Person/Select.tsx +55 -0
- package/src/icons/Person/icons.ts +27 -0
- package/src/icons/Source/Icon.tsx +35 -0
- package/src/icons/Source/Select.tsx +61 -0
- package/src/icons/Source/icons.ts +40 -0
- package/src/icons/Website/Icon.tsx +39 -0
- package/src/icons/Website/Select.tsx +61 -0
- package/src/icons/Website/icons.ts +35 -0
- package/src/icons/index.ts +10 -0
- package/src/index.tsx +3 -0
- package/src/locales/en.json +75 -0
- package/src/locales/zh.json +76 -0
- package/src/main.tsx +22 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": {
|
|
3
|
+
"type": {
|
|
4
|
+
"news": "新闻",
|
|
5
|
+
"website": "网站",
|
|
6
|
+
"social-media": "社交媒体",
|
|
7
|
+
"book": "书籍",
|
|
8
|
+
"paper": "文章"
|
|
9
|
+
},
|
|
10
|
+
"name": "名称",
|
|
11
|
+
"description": "描述"
|
|
12
|
+
},
|
|
13
|
+
"person": {
|
|
14
|
+
"type": {
|
|
15
|
+
"professional": "专业人士",
|
|
16
|
+
"gov-official": "政府人员",
|
|
17
|
+
"school-personel": "学校人员"
|
|
18
|
+
},
|
|
19
|
+
"name": "姓名",
|
|
20
|
+
"role": "角色",
|
|
21
|
+
"aliases": "别名"
|
|
22
|
+
},
|
|
23
|
+
"organization": {
|
|
24
|
+
"type": {
|
|
25
|
+
"company": "公司",
|
|
26
|
+
"government": "政府",
|
|
27
|
+
"military": "军队",
|
|
28
|
+
"manufacturing": "制造业",
|
|
29
|
+
"agriculture": "农业",
|
|
30
|
+
"semi-conductor": "半导体",
|
|
31
|
+
"technology": "科技"
|
|
32
|
+
},
|
|
33
|
+
"name": "名称"
|
|
34
|
+
},
|
|
35
|
+
"website": {
|
|
36
|
+
"type": {
|
|
37
|
+
"company": "公司",
|
|
38
|
+
"government": "政府",
|
|
39
|
+
"news": "新闻",
|
|
40
|
+
"forum": "论坛"
|
|
41
|
+
},
|
|
42
|
+
"title": "标题",
|
|
43
|
+
"description": "描述"
|
|
44
|
+
},
|
|
45
|
+
"event": {
|
|
46
|
+
"type": {
|
|
47
|
+
"announcement": "公告",
|
|
48
|
+
"conversation": "对话",
|
|
49
|
+
"exchange": "投资交易",
|
|
50
|
+
"oil": "石油",
|
|
51
|
+
"trade": "贸易",
|
|
52
|
+
"supplychain-risk": "供应链风险",
|
|
53
|
+
"ship": "航运",
|
|
54
|
+
"truck": "陆运",
|
|
55
|
+
"train": "轨道交通",
|
|
56
|
+
"crime": "犯罪",
|
|
57
|
+
"shot": "枪击",
|
|
58
|
+
"bomb": "爆炸",
|
|
59
|
+
"missile": "导弹",
|
|
60
|
+
"plane": "飞机",
|
|
61
|
+
"naval": "海军",
|
|
62
|
+
"tank": "坦克",
|
|
63
|
+
"infantry": "步兵",
|
|
64
|
+
"intelligence": "情报"
|
|
65
|
+
},
|
|
66
|
+
"title": "标题",
|
|
67
|
+
"description": "描述"
|
|
68
|
+
|
|
69
|
+
},
|
|
70
|
+
"tooltip": {
|
|
71
|
+
"relation": "相关",
|
|
72
|
+
"confidence": "置信度",
|
|
73
|
+
"createdDate": "创建日期",
|
|
74
|
+
"updatedDate": "更新日期"
|
|
75
|
+
}
|
|
76
|
+
}
|
package/src/main.tsx
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "@mantine/core/styles.css";
|
|
2
|
+
import i18n from "./i18n";
|
|
3
|
+
import App from "./App";
|
|
4
|
+
import { StrictMode } from "react";
|
|
5
|
+
import { createRoot } from "react-dom/client";
|
|
6
|
+
import { createTheme, MantineProvider } from "@mantine/core";
|
|
7
|
+
import { I18nextProvider } from "react-i18next";
|
|
8
|
+
|
|
9
|
+
const theme = createTheme({
|
|
10
|
+
primaryColor: "blue",
|
|
11
|
+
autoContrast: true,
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
createRoot(document.getElementById("root")!).render(
|
|
15
|
+
<StrictMode>
|
|
16
|
+
<MantineProvider theme={theme}>
|
|
17
|
+
<I18nextProvider i18n={i18n}>
|
|
18
|
+
<App />
|
|
19
|
+
</I18nextProvider>
|
|
20
|
+
</MantineProvider>
|
|
21
|
+
</StrictMode>,
|
|
22
|
+
);
|