@umituz/web-virtual 1.0.2 → 1.0.4
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 +1 -1
- package/src/components/DigitalHQView.tsx +658 -0
- package/src/components/EntityInspector.tsx +1 -2
- package/src/components/EntityPins.tsx +1 -1
- package/src/components/VirtualCommandBar.tsx +157 -0
- package/src/components/VirtualEntityDrawer.tsx +195 -0
- package/src/components/VirtualReportModal.tsx +79 -0
- package/src/components/VirtualRoster.tsx +183 -0
- package/src/components/index.ts +5 -0
- package/src/engine/materials.ts +0 -1
- package/src/engine/raycaster.ts +0 -1
- package/src/engine/renderer.ts +1 -1
- package/src/presets/officePreset.ts +70 -1
- package/src/styles/virtual.css +1483 -0
|
@@ -4,7 +4,6 @@ import { MaterialPalette } from '../engine/materials'
|
|
|
4
4
|
import { buildOfficeArchitecture } from '../entities/architecture/OfficeArchitectureBuilder'
|
|
5
5
|
import { createModernWorkstation, createExecutiveDesk, createConferenceTable } from '../entities/furniture/DeskBuilder'
|
|
6
6
|
import { createFicusPlant } from '../entities/props/PlantBuilder'
|
|
7
|
-
import { createStylizedAvatar } from '../entities/people/AvatarBuilder'
|
|
8
7
|
|
|
9
8
|
export const DEFAULT_OFFICE_ZONES: WorldZone[] = [
|
|
10
9
|
{
|
|
@@ -51,6 +50,76 @@ export const DEFAULT_OFFICE_ZONES: WorldZone[] = [
|
|
|
51
50
|
},
|
|
52
51
|
]
|
|
53
52
|
|
|
53
|
+
export interface DepartmentInfo {
|
|
54
|
+
id: string
|
|
55
|
+
name: string
|
|
56
|
+
slug: string
|
|
57
|
+
description: string
|
|
58
|
+
managerSlotId: string
|
|
59
|
+
managerRole: string
|
|
60
|
+
color: string
|
|
61
|
+
slotIds: string[]
|
|
62
|
+
iconName?: 'briefcase' | 'palette' | 'megaphone' | 'shield' | 'globe'
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export const DEFAULT_OFFICE_DEPARTMENTS: DepartmentInfo[] = [
|
|
66
|
+
{
|
|
67
|
+
id: 'dept-management',
|
|
68
|
+
name: 'Genel Yönetim & Strateji',
|
|
69
|
+
slug: 'management',
|
|
70
|
+
description: 'Şirket vizyonu, departman koordinasyonu, stratejik iş planlaması ve onay denetimleri.',
|
|
71
|
+
managerSlotId: 'slot-1',
|
|
72
|
+
managerRole: 'Dijital Ajans Yöneticisi (Genel Müdür)',
|
|
73
|
+
color: '#3b82f6',
|
|
74
|
+
slotIds: ['slot-1', 'slot-13'],
|
|
75
|
+
iconName: 'briefcase',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
id: 'dept-creative',
|
|
79
|
+
name: 'İçerik & Kreatif Tasarım',
|
|
80
|
+
slug: 'creative',
|
|
81
|
+
description: 'Sosyal medya içerikleri, görsel konseptler, reklam kancaları ve viral video prodüksiyonu.',
|
|
82
|
+
managerSlotId: 'slot-3',
|
|
83
|
+
managerRole: 'Kreatif Görsel Direktörü',
|
|
84
|
+
color: '#a855f7',
|
|
85
|
+
slotIds: ['slot-2', 'slot-3', 'slot-4', 'slot-5'],
|
|
86
|
+
iconName: 'palette',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
id: 'dept-marketing',
|
|
90
|
+
name: 'Pazarlama & Büyüme',
|
|
91
|
+
slug: 'marketing',
|
|
92
|
+
description: 'Google & Meta reklamları, organik SEO, e-posta funnel otomasyonu ve müşteri ilişkileri (CRM).',
|
|
93
|
+
managerSlotId: 'slot-6',
|
|
94
|
+
managerRole: 'Performans Pazarlama & Medya Satın Alma',
|
|
95
|
+
color: '#10b981',
|
|
96
|
+
slotIds: ['slot-6', 'slot-7', 'slot-8', 'slot-9', 'slot-14'],
|
|
97
|
+
iconName: 'megaphone',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
id: 'dept-tech',
|
|
101
|
+
name: 'Teknoloji, UI/UX & Veri',
|
|
102
|
+
slug: 'tech',
|
|
103
|
+
description: 'Dönüşüm odaklı web arayüzleri, açılış sayfaları tel kafesleri ve kampanya büyüme analitiği.',
|
|
104
|
+
managerSlotId: 'slot-11',
|
|
105
|
+
managerRole: 'UI/UX & Web Arayüz Tasarımcısı',
|
|
106
|
+
color: '#06b6d4',
|
|
107
|
+
slotIds: ['slot-11', 'slot-12'],
|
|
108
|
+
iconName: 'globe',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: 'dept-operations',
|
|
112
|
+
name: 'Operasyon, Kalite & Finans',
|
|
113
|
+
slug: 'operations',
|
|
114
|
+
description: 'Gelir/gider dengesi, bütçe denetimi, kalite güvence kontrolleri ve kurumsal bilgi arşivi.',
|
|
115
|
+
managerSlotId: 'slot-10',
|
|
116
|
+
managerRole: 'Ajans Muhasebecisi & Finans Uzmanı',
|
|
117
|
+
color: '#f59e0b',
|
|
118
|
+
slotIds: ['slot-10', 'slot-15', 'slot-16', 'slot-17'],
|
|
119
|
+
iconName: 'shield',
|
|
120
|
+
},
|
|
121
|
+
]
|
|
122
|
+
|
|
54
123
|
// 17 standard desk positions matching the reference architectural layout
|
|
55
124
|
export const DEFAULT_OFFICE_ENTITIES: WorldEntity[] = [
|
|
56
125
|
// 1. Genel Müdür / Executive Suite
|