feat: integrate dashboard modules and document history
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.org-canvas {
|
||||
@@ -420,8 +420,8 @@ body {
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.modal-form-grid > .col-span-1,
|
||||
.modal-form-grid > .col-span-2 {
|
||||
.modal-form-grid>.col-span-1,
|
||||
.modal-form-grid>.col-span-2 {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
@@ -544,21 +544,17 @@ body {
|
||||
border-radius: 16px;
|
||||
border: 1px dashed #94a3b8;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(255,255,255,0.9), rgba(224,231,255,0.95)),
|
||||
repeating-linear-gradient(
|
||||
0deg,
|
||||
rgba(148,163,184,0.12),
|
||||
rgba(148,163,184,0.12) 1px,
|
||||
linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(224, 231, 255, 0.95)),
|
||||
repeating-linear-gradient(0deg,
|
||||
rgba(148, 163, 184, 0.12),
|
||||
rgba(148, 163, 184, 0.12) 1px,
|
||||
transparent 1px,
|
||||
transparent 24px
|
||||
),
|
||||
repeating-linear-gradient(
|
||||
90deg,
|
||||
rgba(148,163,184,0.12),
|
||||
rgba(148,163,184,0.12) 1px,
|
||||
transparent 24px),
|
||||
repeating-linear-gradient(90deg,
|
||||
rgba(148, 163, 184, 0.12),
|
||||
rgba(148, 163, 184, 0.12) 1px,
|
||||
transparent 1px,
|
||||
transparent 24px
|
||||
);
|
||||
transparent 24px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -997,9 +993,20 @@ body {
|
||||
}
|
||||
|
||||
@keyframes target-pulse {
|
||||
0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7); transform: scale(1); }
|
||||
50% { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); transform: scale(1.05); }
|
||||
100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); transform: scale(1); }
|
||||
0% {
|
||||
box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7);
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
50% {
|
||||
box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
100% {
|
||||
box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.search-target {
|
||||
@@ -1098,4 +1105,4 @@ body {
|
||||
color: white;
|
||||
border-color: #4f46e5;
|
||||
box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
|
||||
}
|
||||
}
|
||||
@@ -167,6 +167,11 @@ async function loadActiveSeatMapLayout(force = false) {
|
||||
}
|
||||
}
|
||||
|
||||
function handleSeatMapLayoutUpdated() {
|
||||
seatMapLayoutCache = null;
|
||||
loadMembers().catch(() => { });
|
||||
}
|
||||
|
||||
function getMemberSeatInfo(layout, memberId) {
|
||||
if (!layout || !memberId) {
|
||||
return null;
|
||||
@@ -610,6 +615,16 @@ function openSeatMapView(event) {
|
||||
}
|
||||
}
|
||||
|
||||
window.addEventListener('message', (event) => {
|
||||
const data = event.data;
|
||||
if (!data || typeof data !== 'object') {
|
||||
return;
|
||||
}
|
||||
if (data.type === 'seatmap-layout-updated') {
|
||||
handleSeatMapLayoutUpdated();
|
||||
}
|
||||
});
|
||||
|
||||
function triggerUpload(event) {
|
||||
if (event) {
|
||||
event.stopPropagation();
|
||||
|
||||
Reference in New Issue
Block a user