@dssp/supervision 1.0.7 → 1.0.11
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-client/pages/building-inspection/building-inspection-detail-ai-measurement.js +14 -2
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.js.map +1 -1
- package/dist-client/pages/checklist/file-preview-popup.js +11 -0
- package/dist-client/pages/checklist/file-preview-popup.js.map +1 -1
- package/dist-client/pages/project-checklist/project-checklist-management.js +5 -3
- package/dist-client/pages/project-checklist/project-checklist-management.js.map +1 -1
- package/dist-client/route.d.ts +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/service/checklist-item/checklist-item-mutation.js +21 -1
- package/dist-server/service/checklist-item/checklist-item-mutation.js.map +1 -1
- package/dist-server/service/project-checklist/spec-matching-service.d.ts +1 -1
- package/dist-server/service/project-checklist/spec-matching-service.js +23 -3
- package/dist-server/service/project-checklist/spec-matching-service.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -92,6 +92,11 @@ let BuildingInspectionAiMeasurement = class BuildingInspectionAiMeasurement exte
|
|
|
92
92
|
this.panel = 'report';
|
|
93
93
|
this.selectedItem = null;
|
|
94
94
|
this.expandedReportId = null;
|
|
95
|
+
// 리포트 패널이 우측 상단에 뜨므로 본문 스크롤을 맨 위로
|
|
96
|
+
this.updateComplete.then(() => {
|
|
97
|
+
var _a;
|
|
98
|
+
(_a = this.renderRoot.querySelector('div[body]')) === null || _a === void 0 ? void 0 : _a.scrollTo({ top: 0, behavior: 'smooth' });
|
|
99
|
+
});
|
|
95
100
|
};
|
|
96
101
|
this._closePanel = () => {
|
|
97
102
|
this.panel = 'none';
|
|
@@ -123,6 +128,7 @@ let BuildingInspectionAiMeasurement = class BuildingInspectionAiMeasurement exte
|
|
|
123
128
|
var _a, _b;
|
|
124
129
|
const items = ((_b = (_a = this.buildingInspection) === null || _a === void 0 ? void 0 : _a.checklist) === null || _b === void 0 ? void 0 : _b.checklistItems) || [];
|
|
125
130
|
return [...items]
|
|
131
|
+
.filter(item => (item.name || '').trim()) // 이름 없는 항목은 검측 불가 — 엔진 검증 실패 방지
|
|
126
132
|
.sort((a, b) => (a.sequence || 0) - (b.sequence || 0))
|
|
127
133
|
.map(item => ({
|
|
128
134
|
item_id: item.id,
|
|
@@ -358,8 +364,14 @@ let BuildingInspectionAiMeasurement = class BuildingInspectionAiMeasurement exte
|
|
|
358
364
|
<div class="item-main">
|
|
359
365
|
<div class="item-name">${item.text}</div>
|
|
360
366
|
<div>
|
|
361
|
-
|
|
362
|
-
|
|
367
|
+
${group === 'auto'
|
|
368
|
+
? html `<span class="chip">${ROUTING_LABEL[item.routing] || item.routing}</span>
|
|
369
|
+
<span class="chip-verdict">${this._verdictLabel(item)}</span>`
|
|
370
|
+
: group === 'recapture'
|
|
371
|
+
? html `<span class="chip">추가 촬영 필요</span>`
|
|
372
|
+
: group === 'measure'
|
|
373
|
+
? html `<span class="chip">AI 측정 모델</span> <span class="chip-verdict">기준값 입력 필요</span>`
|
|
374
|
+
: html `<span class="chip">미지원</span>`}
|
|
363
375
|
</div>
|
|
364
376
|
<div class="item-desc">${desc}</div>
|
|
365
377
|
</div>
|