@dssp/supervision 1.0.7 → 1.0.10

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.
@@ -123,6 +123,7 @@ let BuildingInspectionAiMeasurement = class BuildingInspectionAiMeasurement exte
123
123
  var _a, _b;
124
124
  const items = ((_b = (_a = this.buildingInspection) === null || _a === void 0 ? void 0 : _a.checklist) === null || _b === void 0 ? void 0 : _b.checklistItems) || [];
125
125
  return [...items]
126
+ .filter(item => (item.name || '').trim()) // 이름 없는 항목은 검측 불가 — 엔진 검증 실패 방지
126
127
  .sort((a, b) => (a.sequence || 0) - (b.sequence || 0))
127
128
  .map(item => ({
128
129
  item_id: item.id,
@@ -358,8 +359,14 @@ let BuildingInspectionAiMeasurement = class BuildingInspectionAiMeasurement exte
358
359
  <div class="item-main">
359
360
  <div class="item-name">${item.text}</div>
360
361
  <div>
361
- <span class="chip">${ROUTING_LABEL[item.routing] || item.routing}</span>
362
- <span class="chip-verdict">${this._verdictLabel(item)}</span>
362
+ ${group === 'auto'
363
+ ? html `<span class="chip">${ROUTING_LABEL[item.routing] || item.routing}</span>
364
+ <span class="chip-verdict">${this._verdictLabel(item)}</span>`
365
+ : group === 'recapture'
366
+ ? html `<span class="chip">추가 촬영 필요</span>`
367
+ : group === 'measure'
368
+ ? html `<span class="chip">AI 측정 모델</span> <span class="chip-verdict">기준값 입력 필요</span>`
369
+ : html `<span class="chip">미지원</span>`}
363
370
  </div>
364
371
  <div class="item-desc">${desc}</div>
365
372
  </div>