@dssp/supervision 1.0.0-alpha.7 → 1.0.0-alpha.74
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/graphql/building-inspection.d.ts +1 -0
- package/dist-client/graphql/building-inspection.js +101 -0
- package/dist-client/graphql/building-inspection.js.map +1 -0
- package/dist-client/pages/action-plan/action-plan-list-page.d.ts +1 -2
- package/dist-client/pages/action-plan/action-plan-list-page.js +1 -2
- package/dist-client/pages/action-plan/action-plan-list-page.js.map +1 -1
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.d.ts +22 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.js +171 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.js.map +1 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.d.ts +59 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.js +868 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.js.map +1 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-camera.d.ts +8 -6
- package/dist-client/pages/building-inspection/building-inspection-detail-camera.js +116 -65
- package/dist-client/pages/building-inspection/building-inspection-detail-camera.js.map +1 -1
- package/dist-client/pages/building-inspection/building-inspection-detail-checklist.d.ts +11 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js +147 -72
- package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js.map +1 -1
- package/dist-client/pages/building-inspection/building-inspection-detail-drawing.d.ts +1 -0
- package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js +78 -14
- package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js.map +1 -1
- package/dist-client/pages/building-inspection/building-inspection-list.d.ts +26 -2
- package/dist-client/pages/building-inspection/building-inspection-list.js +375 -34
- package/dist-client/pages/building-inspection/building-inspection-list.js.map +1 -1
- package/dist-client/pages/building-inspection/building-inspection-management.d.ts +72 -0
- package/dist-client/pages/building-inspection/building-inspection-management.js +1256 -0
- package/dist-client/pages/building-inspection/building-inspection-management.js.map +1 -0
- package/dist-client/pages/building-inspection/component/building-inspection-detail-header.d.ts +3 -0
- package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js +112 -20
- package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js.map +1 -1
- package/dist-client/pages/building-inspection/component/daily-worklog-popup.d.ts +27 -0
- package/dist-client/pages/building-inspection/component/daily-worklog-popup.js +542 -0
- package/dist-client/pages/building-inspection/component/daily-worklog-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/component/image-preview-popup.d.ts +15 -0
- package/dist-client/pages/building-inspection/component/image-preview-popup.js +348 -0
- package/dist-client/pages/building-inspection/component/image-preview-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.d.ts +25 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js +491 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js.map +1 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.d.ts +31 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js +485 -0
- package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js.map +1 -0
- package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.d.ts +27 -0
- package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js +416 -0
- package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/component/inspection-event-provider.d.ts +2 -1
- package/dist-client/pages/building-inspection/component/inspection-event-provider.js +42 -18
- package/dist-client/pages/building-inspection/component/inspection-event-provider.js.map +1 -1
- package/dist-client/pages/building-inspection/inspection-create-popup.js +17 -5
- package/dist-client/pages/building-inspection/inspection-create-popup.js.map +1 -1
- package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.d.ts +3 -0
- package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.js +791 -0
- package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.js.map +1 -0
- package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.d.ts +16 -2
- package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js +249 -45
- package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js.map +1 -1
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js +9 -3
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js.map +1 -1
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.d.ts +19 -0
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.js +205 -0
- package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.js.map +1 -0
- package/dist-client/pages/checklist/attachment-list-popup.d.ts +1 -0
- package/dist-client/pages/checklist/attachment-list-popup.js +251 -69
- package/dist-client/pages/checklist/attachment-list-popup.js.map +1 -1
- package/dist-client/pages/checklist/checklist-view.d.ts +5 -0
- package/dist-client/pages/checklist/checklist-view.js +191 -30
- package/dist-client/pages/checklist/checklist-view.js.map +1 -1
- package/dist-client/pages/checklist/comment-list-popup.js +15 -5
- package/dist-client/pages/checklist/comment-list-popup.js.map +1 -1
- package/dist-client/pages/checklist/file-preview-popup.js +0 -1
- package/dist-client/pages/checklist/file-preview-popup.js.map +1 -1
- package/dist-client/pages/checklist/inspection-info-popup.d.ts +49 -0
- package/dist-client/pages/checklist/inspection-info-popup.js +683 -0
- package/dist-client/pages/checklist/inspection-info-popup.js.map +1 -0
- package/dist-client/pages/checklist/inspection-tab-popup.d.ts +18 -0
- package/dist-client/pages/checklist/inspection-tab-popup.js +196 -0
- package/dist-client/pages/checklist/inspection-tab-popup.js.map +1 -0
- package/dist-client/pages/checklist-database/checklist-database.d.ts +35 -0
- package/dist-client/pages/checklist-database/checklist-database.js +539 -0
- package/dist-client/pages/checklist-database/checklist-database.js.map +1 -0
- package/dist-client/pages/checklist-template/checklist-template-item.js +39 -3
- package/dist-client/pages/checklist-template/checklist-template-item.js.map +1 -1
- package/dist-client/pages/checklist-template/checklist-template-list.js +1 -1
- package/dist-client/pages/checklist-template/checklist-template-list.js.map +1 -1
- package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.d.ts +2 -0
- package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.js +242 -0
- package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.js.map +1 -0
- package/dist-client/pages/checklist-template/construction-checklist-template-list.d.ts +55 -0
- package/dist-client/pages/checklist-template/construction-checklist-template-list.js +409 -0
- package/dist-client/pages/checklist-template/construction-checklist-template-list.js.map +1 -0
- package/dist-client/pages/issue/issue-list-page.d.ts +1 -2
- package/dist-client/pages/issue/issue-list-page.js +1 -2
- package/dist-client/pages/issue/issue-list-page.js.map +1 -1
- package/dist-client/pages/project-checklist/project-checklist-management.d.ts +50 -0
- package/dist-client/pages/project-checklist/project-checklist-management.js +910 -0
- package/dist-client/pages/project-checklist/project-checklist-management.js.map +1 -0
- package/dist-client/pages/project-report/project-report-list-page.d.ts +1 -2
- package/dist-client/pages/project-report/project-report-list-page.js +1 -2
- package/dist-client/pages/project-report/project-report-list-page.js.map +1 -1
- package/dist-client/pages/supervisor/supervisor-list-page.d.ts +1 -2
- package/dist-client/pages/supervisor/supervisor-list-page.js +1 -2
- package/dist-client/pages/supervisor/supervisor-list-page.js.map +1 -1
- package/dist-client/route.d.ts +1 -1
- package/dist-client/route.js +18 -0
- package/dist-client/route.js.map +1 -1
- package/dist-client/stt/speech-to-text.d.ts +13 -8
- package/dist-client/stt/speech-to-text.js +282 -40
- package/dist-client/stt/speech-to-text.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/service/action-plan/action-plan-mutation.js +5 -6
- package/dist-server/service/action-plan/action-plan-mutation.js.map +1 -1
- package/dist-server/service/action-plan/action-plan-query.d.ts +2 -2
- package/dist-server/service/action-plan/action-plan-query.js +5 -11
- package/dist-server/service/action-plan/action-plan-query.js.map +1 -1
- package/dist-server/service/building-inspection/building-inspection-mutation.d.ts +2 -3
- package/dist-server/service/building-inspection/building-inspection-mutation.js +77 -39
- package/dist-server/service/building-inspection/building-inspection-mutation.js.map +1 -1
- package/dist-server/service/building-inspection/building-inspection-query.d.ts +5 -7
- package/dist-server/service/building-inspection/building-inspection-query.js +54 -52
- package/dist-server/service/building-inspection/building-inspection-query.js.map +1 -1
- package/dist-server/service/building-inspection/building-inspection-type.d.ts +26 -7
- package/dist-server/service/building-inspection/building-inspection-type.js +92 -13
- package/dist-server/service/building-inspection/building-inspection-type.js.map +1 -1
- package/dist-server/service/building-inspection/building-inspection.d.ts +5 -0
- package/dist-server/service/building-inspection/building-inspection.js +37 -4
- package/dist-server/service/building-inspection/building-inspection.js.map +1 -1
- package/dist-server/service/building-inspection/index.d.ts +3 -4
- package/dist-server/service/building-inspection/index.js +10 -3
- package/dist-server/service/building-inspection/index.js.map +1 -1
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.d.ts +6 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js +56 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js.map +1 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.d.ts +16 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js +171 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js.map +1 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.d.ts +23 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js +90 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js.map +1 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.d.ts +33 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js +132 -0
- package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js.map +1 -0
- package/dist-server/service/building-inspection-daily-worklog/index.d.ts +5 -0
- package/dist-server/service/building-inspection-daily-worklog/index.js +9 -0
- package/dist-server/service/building-inspection-daily-worklog/index.js.map +1 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-query.d.ts +16 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-query.js +120 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-query.js.map +1 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-type.d.ts +5 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-type.js +21 -0
- package/dist-server/service/building-inspection-history/building-inspection-history-type.js.map +1 -0
- package/dist-server/service/building-inspection-history/building-inspection-history.d.ts +35 -0
- package/dist-server/service/building-inspection-history/building-inspection-history.js +162 -0
- package/dist-server/service/building-inspection-history/building-inspection-history.js.map +1 -0
- package/dist-server/service/building-inspection-history/event-subscriber.d.ts +7 -0
- package/dist-server/service/building-inspection-history/event-subscriber.js +21 -0
- package/dist-server/service/building-inspection-history/event-subscriber.js.map +1 -0
- package/dist-server/service/building-inspection-history/index.d.ts +6 -0
- package/dist-server/service/building-inspection-history/index.js +10 -0
- package/dist-server/service/building-inspection-history/index.js.map +1 -0
- package/dist-server/service/checklist/checklist-mutation.d.ts +0 -5
- package/dist-server/service/checklist/checklist-mutation.js +1 -67
- package/dist-server/service/checklist/checklist-mutation.js.map +1 -1
- package/dist-server/service/checklist/checklist-query.d.ts +7 -0
- package/dist-server/service/checklist/checklist-query.js +83 -0
- package/dist-server/service/checklist/checklist-query.js.map +1 -1
- package/dist-server/service/checklist/checklist-type.d.ts +0 -13
- package/dist-server/service/checklist/checklist-type.js +1 -49
- package/dist-server/service/checklist/checklist-type.js.map +1 -1
- package/dist-server/service/checklist/checklist.d.ts +28 -3
- package/dist-server/service/checklist/checklist.js +89 -15
- package/dist-server/service/checklist/checklist.js.map +1 -1
- package/dist-server/service/checklist/event-subscriber.d.ts +7 -0
- package/dist-server/service/checklist/event-subscriber.js +21 -0
- package/dist-server/service/checklist/event-subscriber.js.map +1 -0
- package/dist-server/service/checklist/index.d.ts +1 -2
- package/dist-server/service/checklist/index.js +1 -2
- package/dist-server/service/checklist/index.js.map +1 -1
- package/dist-server/service/checklist-history/checklist-history-query.d.ts +11 -0
- package/dist-server/service/checklist-history/checklist-history-query.js +77 -0
- package/dist-server/service/checklist-history/checklist-history-query.js.map +1 -0
- package/dist-server/service/checklist-history/checklist-history-type.d.ts +5 -0
- package/dist-server/service/checklist-history/checklist-history-type.js +21 -0
- package/dist-server/service/checklist-history/checklist-history-type.js.map +1 -0
- package/dist-server/service/{checklist → checklist-history}/checklist-history.d.ts +19 -1
- package/dist-server/service/{checklist → checklist-history}/checklist-history.js +97 -14
- package/dist-server/service/checklist-history/checklist-history.js.map +1 -0
- package/dist-server/service/checklist-history/event-subscriber.d.ts +7 -0
- package/dist-server/service/checklist-history/event-subscriber.js +21 -0
- package/dist-server/service/checklist-history/event-subscriber.js.map +1 -0
- package/dist-server/service/checklist-history/index.d.ts +6 -0
- package/dist-server/service/checklist-history/index.js +10 -0
- package/dist-server/service/checklist-history/index.js.map +1 -0
- package/dist-server/service/checklist-item/checklist-item-query.d.ts +1 -1
- package/dist-server/service/checklist-item/checklist-item-query.js +5 -3
- package/dist-server/service/checklist-item/checklist-item-query.js.map +1 -1
- package/dist-server/service/checklist-item/index.d.ts +0 -1
- package/dist-server/service/checklist-item/index.js +1 -2
- package/dist-server/service/checklist-item/index.js.map +1 -1
- package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.d.ts +1 -0
- package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js +33 -6
- package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js.map +1 -1
- package/dist-server/service/checklist-item-history/checklist-item-history-query.d.ts +16 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-query.js +123 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-query.js.map +1 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-type.d.ts +5 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-type.js +21 -0
- package/dist-server/service/checklist-item-history/checklist-item-history-type.js.map +1 -0
- package/dist-server/service/checklist-item-history/checklist-item-history.d.ts +25 -0
- package/dist-server/service/checklist-item-history/checklist-item-history.js +123 -0
- package/dist-server/service/checklist-item-history/checklist-item-history.js.map +1 -0
- package/dist-server/service/checklist-item-history/event-subscriber.d.ts +7 -0
- package/dist-server/service/checklist-item-history/event-subscriber.js +21 -0
- package/dist-server/service/checklist-item-history/event-subscriber.js.map +1 -0
- package/dist-server/service/checklist-item-history/index.d.ts +6 -0
- package/dist-server/service/checklist-item-history/index.js +10 -0
- package/dist-server/service/checklist-item-history/index.js.map +1 -0
- package/dist-server/service/checklist-template/checklist-template-query.d.ts +1 -1
- package/dist-server/service/checklist-template/checklist-template-query.js +2 -5
- package/dist-server/service/checklist-template/checklist-template-query.js.map +1 -1
- package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js +13 -1
- package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js.map +1 -1
- package/dist-server/service/checklist-template-item/checklist-template-item-type.d.ts +3 -0
- package/dist-server/service/checklist-template-item/checklist-template-item-type.js +9 -0
- package/dist-server/service/checklist-template-item/checklist-template-item-type.js.map +1 -1
- package/dist-server/service/checklist-template-item/checklist-template-item.d.ts +7 -0
- package/dist-server/service/checklist-template-item/checklist-template-item.js +22 -2
- package/dist-server/service/checklist-template-item/checklist-template-item.js.map +1 -1
- package/dist-server/service/checklist-template-item/spec-matching-service.d.ts +2 -0
- package/dist-server/service/checklist-template-item/spec-matching-service.js +51 -0
- package/dist-server/service/checklist-template-item/spec-matching-service.js.map +1 -0
- package/dist-server/service/checklist-type/checklist-type-query.d.ts +1 -1
- package/dist-server/service/checklist-type/checklist-type-query.js +2 -5
- package/dist-server/service/checklist-type/checklist-type-query.js.map +1 -1
- package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.d.ts +7 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.js +107 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.js.map +1 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-query.d.ts +10 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-query.js +62 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-query.js.map +1 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-type.d.ts +11 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-type.js +43 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template-type.js.map +1 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template.d.ts +18 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template.js +80 -0
- package/dist-server/service/construction-checklist-template/construction-checklist-template.js.map +1 -0
- package/dist-server/service/construction-checklist-template/index.d.ts +5 -0
- package/dist-server/service/construction-checklist-template/index.js +9 -0
- package/dist-server/service/construction-checklist-template/index.js.map +1 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.d.ts +6 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.js +60 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.js.map +1 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.d.ts +9 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.js +53 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.js.map +1 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.d.ts +17 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.js +67 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.js.map +1 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.d.ts +24 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.js +113 -0
- package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.js.map +1 -0
- package/dist-server/service/construction-checklist-template-item/index.d.ts +5 -0
- package/dist-server/service/construction-checklist-template-item/index.js +9 -0
- package/dist-server/service/construction-checklist-template-item/index.js.map +1 -0
- package/dist-server/service/construction-checklist-template-item/spec-matching-service.d.ts +2 -0
- package/dist-server/service/construction-checklist-template-item/spec-matching-service.js +50 -0
- package/dist-server/service/construction-checklist-template-item/spec-matching-service.js.map +1 -0
- package/dist-server/service/index.d.ts +8 -1
- package/dist-server/service/index.js +38 -3
- package/dist-server/service/index.js.map +1 -1
- package/dist-server/service/issue/issue-mutation.js +5 -6
- package/dist-server/service/issue/issue-mutation.js.map +1 -1
- package/dist-server/service/issue/issue-query.d.ts +2 -2
- package/dist-server/service/issue/issue-query.js +5 -11
- package/dist-server/service/issue/issue-query.js.map +1 -1
- package/dist-server/service/project-checklist/index.d.ts +5 -0
- package/dist-server/service/project-checklist/index.js +9 -0
- package/dist-server/service/project-checklist/index.js.map +1 -0
- package/dist-server/service/project-checklist/project-checklist-mutation.d.ts +7 -0
- package/dist-server/service/project-checklist/project-checklist-mutation.js +109 -0
- package/dist-server/service/project-checklist/project-checklist-mutation.js.map +1 -0
- package/dist-server/service/project-checklist/project-checklist-query.d.ts +12 -0
- package/dist-server/service/project-checklist/project-checklist-query.js +76 -0
- package/dist-server/service/project-checklist/project-checklist-query.js.map +1 -0
- package/dist-server/service/project-checklist/project-checklist-type.d.ts +18 -0
- package/dist-server/service/project-checklist/project-checklist-type.js +69 -0
- package/dist-server/service/project-checklist/project-checklist-type.js.map +1 -0
- package/dist-server/service/project-checklist/project-checklist.d.ts +20 -0
- package/dist-server/service/project-checklist/project-checklist.js +90 -0
- package/dist-server/service/project-checklist/project-checklist.js.map +1 -0
- package/dist-server/service/project-checklist-item/index.d.ts +4 -0
- package/dist-server/service/project-checklist-item/index.js +9 -0
- package/dist-server/service/project-checklist-item/index.js.map +1 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-mutation.d.ts +2 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-mutation.js +13 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-mutation.js.map +1 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-query.d.ts +5 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-query.js +34 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-query.js.map +1 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-type.d.ts +5 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-type.js +21 -0
- package/dist-server/service/project-checklist-item/project-checklist-item-type.js.map +1 -0
- package/dist-server/service/project-checklist-item/project-checklist-item.d.ts +17 -0
- package/dist-server/service/project-checklist-item/project-checklist-item.js +82 -0
- package/dist-server/service/project-checklist-item/project-checklist-item.js.map +1 -0
- package/dist-server/service/project-report/project-report-mutation.js +5 -6
- package/dist-server/service/project-report/project-report-mutation.js.map +1 -1
- package/dist-server/service/project-report/project-report-query.d.ts +2 -2
- package/dist-server/service/project-report/project-report-query.js +5 -11
- package/dist-server/service/project-report/project-report-query.js.map +1 -1
- package/dist-server/service/project-report/project-report.d.ts +0 -2
- package/dist-server/service/project-report/project-report.js +0 -6
- package/dist-server/service/project-report/project-report.js.map +1 -1
- package/dist-server/service/supervisor/supervisor-mutation.js +5 -6
- package/dist-server/service/supervisor/supervisor-mutation.js.map +1 -1
- package/dist-server/service/supervisor/supervisor-query.d.ts +2 -2
- package/dist-server/service/supervisor/supervisor-query.js +5 -11
- package/dist-server/service/supervisor/supervisor-query.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -13
- package/things-factory.config.js +9 -1
- package/dist-server/service/building-inspection/building-inspection-history.d.ts +0 -17
- package/dist-server/service/building-inspection/building-inspection-history.js +0 -86
- package/dist-server/service/building-inspection/building-inspection-history.js.map +0 -1
- package/dist-server/service/checklist/checklist-history.js.map +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
2
|
import '@material/web/icon/icon.js';
|
|
3
3
|
import '@operato/data-grist';
|
|
4
|
+
import '@operato/image-marker/ox-image-marker-view.js';
|
|
4
5
|
import { CommonGristStyles, CommonButtonStyles, ScrollbarStyles } from '@operato/styles';
|
|
5
6
|
import { PageView, navigate } from '@operato/shell';
|
|
6
7
|
import { css, html } from 'lit';
|
|
@@ -12,8 +13,18 @@ import { notify } from '@operato/layout';
|
|
|
12
13
|
import gql from 'graphql-tag';
|
|
13
14
|
import { openPopup } from '@operato/layout';
|
|
14
15
|
import './inspection-create-popup';
|
|
16
|
+
import './component/inspection-document/photo-album-popup';
|
|
17
|
+
import './component/inspection-document/inspection-request-document';
|
|
18
|
+
import './component/inspection-document/inspection-result-notification';
|
|
19
|
+
import './component/image-preview-popup';
|
|
20
|
+
import './component/daily-worklog-popup';
|
|
15
21
|
import '@operato/event-view/ox-event-view.js';
|
|
16
22
|
import { InspectionEventProvider } from './component/inspection-event-provider';
|
|
23
|
+
import { getBuildingInspectionForChecklist } from '../../graphql/building-inspection';
|
|
24
|
+
import { InspectionMode } from './component/inspection-document/inspection-request-document';
|
|
25
|
+
import moment from 'moment-timezone';
|
|
26
|
+
import { DailyWorklogMode } from './component/daily-worklog-popup';
|
|
27
|
+
import { DrawingImageProvider } from '@dssp/drawing/dist-client/drawing-management/drawing-image-provider.js';
|
|
17
28
|
export var ChecklistTypeMainType;
|
|
18
29
|
(function (ChecklistTypeMainType) {
|
|
19
30
|
ChecklistTypeMainType["BASIC"] = "10";
|
|
@@ -33,12 +44,20 @@ export var BuildingInspectionStatus;
|
|
|
33
44
|
BuildingInspectionStatus["FAIL"] = "FAIL";
|
|
34
45
|
})(BuildingInspectionStatus || (BuildingInspectionStatus = {}));
|
|
35
46
|
export const BUILDING_INSPECTION_STATUS_DISPLAY = {
|
|
36
|
-
[BuildingInspectionStatus.WAIT]: '
|
|
37
|
-
[BuildingInspectionStatus.OVERALL_WAIT]: '
|
|
38
|
-
[BuildingInspectionStatus.REQUEST]: '
|
|
39
|
-
[BuildingInspectionStatus.OVERALL_REQUEST]: '
|
|
40
|
-
[BuildingInspectionStatus.PASS]: '
|
|
41
|
-
[BuildingInspectionStatus.FAIL]: '
|
|
47
|
+
[BuildingInspectionStatus.WAIT]: '작업 완료',
|
|
48
|
+
[BuildingInspectionStatus.OVERALL_WAIT]: '작업 완료',
|
|
49
|
+
[BuildingInspectionStatus.REQUEST]: '김리 대기',
|
|
50
|
+
[BuildingInspectionStatus.OVERALL_REQUEST]: '김리 대기',
|
|
51
|
+
[BuildingInspectionStatus.PASS]: '검측 완료',
|
|
52
|
+
[BuildingInspectionStatus.FAIL]: '조치 필요'
|
|
53
|
+
};
|
|
54
|
+
export const BUILDING_INSPECTION_RE_STATUS_DISPLAY = {
|
|
55
|
+
[BuildingInspectionStatus.WAIT]: '재검측 대기',
|
|
56
|
+
[BuildingInspectionStatus.OVERALL_WAIT]: '재검측 대기',
|
|
57
|
+
[BuildingInspectionStatus.REQUEST]: '재검측 대기',
|
|
58
|
+
[BuildingInspectionStatus.OVERALL_REQUEST]: '재검측 대기',
|
|
59
|
+
[BuildingInspectionStatus.PASS]: '검측 완료',
|
|
60
|
+
[BuildingInspectionStatus.FAIL]: '조치 필요'
|
|
42
61
|
};
|
|
43
62
|
let BuildingInspectionList = class BuildingInspectionList extends ScopedElementsMixin(PageView) {
|
|
44
63
|
constructor() {
|
|
@@ -55,6 +74,9 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
55
74
|
this.building = {};
|
|
56
75
|
this.drawingImage = '';
|
|
57
76
|
this.buildingInspectionSummary = {};
|
|
77
|
+
this.selectedYearMonth = moment().tz('Asia/Seoul').format('YYYY-MM');
|
|
78
|
+
this.selectedDate = moment().tz('Asia/Seoul').format('YYYY-MM-DD');
|
|
79
|
+
this.dailyWorklog = {};
|
|
58
80
|
}
|
|
59
81
|
get context() {
|
|
60
82
|
return {
|
|
@@ -68,7 +90,10 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
68
90
|
render() {
|
|
69
91
|
return html `
|
|
70
92
|
<div header>
|
|
71
|
-
<h2
|
|
93
|
+
<h2>
|
|
94
|
+
<md-icon slot="icon" back @click=${() => history.back()}>arrow_back</md-icon>
|
|
95
|
+
${this.project.name}
|
|
96
|
+
</h2>
|
|
72
97
|
</div>
|
|
73
98
|
|
|
74
99
|
<div body>
|
|
@@ -115,8 +140,15 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
115
140
|
.mode=${'monthly'}
|
|
116
141
|
.eventProvider=${this.calendarData}
|
|
117
142
|
@select-date=${(e) => {
|
|
118
|
-
|
|
119
|
-
|
|
143
|
+
this.selectedDate = moment(e.detail[0]).format('YYYY-MM-DD');
|
|
144
|
+
this._fetchDailyWorklog(this.selectedDate);
|
|
145
|
+
}}
|
|
146
|
+
@change-month=${(e) => {
|
|
147
|
+
var _a, _b, _c;
|
|
148
|
+
const year = e.detail.year;
|
|
149
|
+
const month = (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.month) === null || _b === void 0 ? void 0 : _b.toString()) === null || _c === void 0 ? void 0 : _c.padStart(2, '0');
|
|
150
|
+
this.selectedYearMonth = `${year}-${month}`;
|
|
151
|
+
this.grist.fetch();
|
|
120
152
|
}}
|
|
121
153
|
>
|
|
122
154
|
</ox-event-view>
|
|
@@ -124,6 +156,15 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
124
156
|
</div>
|
|
125
157
|
|
|
126
158
|
<div bottom>
|
|
159
|
+
<div daily-worklog-actions>
|
|
160
|
+
${this.dailyWorklog.id
|
|
161
|
+
? html `<md-filled-button green @click=${this._openDailyWorklogPopup}>
|
|
162
|
+
<md-icon slot="icon">edit</md-icon>일일 업무일지 수정
|
|
163
|
+
</md-filled-button>`
|
|
164
|
+
: html `<md-filled-button @click=${this._openDailyWorklogPopup}>
|
|
165
|
+
<md-icon slot="icon">note_add</md-icon>일일 업무일지 작성
|
|
166
|
+
</md-filled-button>`}
|
|
167
|
+
</div>
|
|
127
168
|
<ox-grist .mode=${'GRID'} .config=${this.gristConfig} .fetchHandler=${this.fetchHandler.bind(this)}> </ox-grist>
|
|
128
169
|
</div>
|
|
129
170
|
</div>
|
|
@@ -144,6 +185,7 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
144
185
|
projectByBuildingLevelId(buildingLevelId: $buildingLevelId) {
|
|
145
186
|
id
|
|
146
187
|
name
|
|
188
|
+
projectType
|
|
147
189
|
mainPhoto {
|
|
148
190
|
fullpath
|
|
149
191
|
}
|
|
@@ -177,7 +219,7 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
177
219
|
return;
|
|
178
220
|
this.project = (_a = response.data) === null || _a === void 0 ? void 0 : _a.projectByBuildingLevelId;
|
|
179
221
|
this.buildingInspectionSummary = (_b = response.data) === null || _b === void 0 ? void 0 : _b.buildingInspectionSummaryOfBuildingLevel;
|
|
180
|
-
this.calendarData = new InspectionEventProvider(buildingLevelId);
|
|
222
|
+
this.calendarData = new InspectionEventProvider(buildingLevelId, this.project.id);
|
|
181
223
|
// 캘린더 최소 높이 속성 수정
|
|
182
224
|
this.eventView.style.setProperty('--calendar-monthly-date-min-height', '50px');
|
|
183
225
|
}
|
|
@@ -186,6 +228,18 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
186
228
|
columns: [
|
|
187
229
|
{ type: 'gutter', gutterName: 'sequence' },
|
|
188
230
|
{ type: 'gutter', gutterName: 'row-selector', multiple: true },
|
|
231
|
+
{
|
|
232
|
+
type: 'gutter',
|
|
233
|
+
gutterName: 'button',
|
|
234
|
+
icon: 'open_in_new',
|
|
235
|
+
header: '상세보기',
|
|
236
|
+
width: 60,
|
|
237
|
+
handlers: {
|
|
238
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
239
|
+
navigate(`building-inspection-detail-drawing/${record.id}`);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
},
|
|
189
243
|
{
|
|
190
244
|
type: 'string',
|
|
191
245
|
name: 'id',
|
|
@@ -195,13 +249,23 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
195
249
|
type: 'string',
|
|
196
250
|
name: 'location',
|
|
197
251
|
header: '위치',
|
|
198
|
-
width: 150
|
|
252
|
+
width: 150,
|
|
253
|
+
handlers: {
|
|
254
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
255
|
+
navigate(`building-inspection-detail-drawing/${record.id}`);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
199
258
|
},
|
|
200
259
|
{
|
|
201
260
|
type: 'string',
|
|
202
261
|
name: 'constructionType',
|
|
203
262
|
header: '공종',
|
|
204
|
-
width: 120
|
|
263
|
+
width: 120,
|
|
264
|
+
handlers: {
|
|
265
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
266
|
+
navigate(`building-inspection-detail-drawing/${record.id}`);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
205
269
|
},
|
|
206
270
|
{
|
|
207
271
|
type: 'string',
|
|
@@ -210,34 +274,104 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
210
274
|
record: {
|
|
211
275
|
renderer: value => (value === null || value === void 0 ? void 0 : value.join(', ')) || ''
|
|
212
276
|
},
|
|
213
|
-
width: 200
|
|
277
|
+
width: 200,
|
|
278
|
+
handlers: {
|
|
279
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
280
|
+
navigate(`building-inspection-detail-drawing/${record.id}`);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
214
283
|
},
|
|
215
284
|
{
|
|
216
285
|
type: 'string',
|
|
217
286
|
name: 'requestDate',
|
|
218
287
|
header: '검측 요청일',
|
|
219
|
-
width: 120
|
|
288
|
+
width: 120,
|
|
289
|
+
handlers: {
|
|
290
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
291
|
+
navigate(`building-inspection-detail-drawing/${record.id}`);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
220
294
|
},
|
|
221
295
|
{
|
|
222
296
|
type: 'string',
|
|
223
297
|
name: 'status',
|
|
224
298
|
header: '검측 결과',
|
|
225
299
|
record: {
|
|
226
|
-
renderer: value => BUILDING_INSPECTION_STATUS_DISPLAY[value]
|
|
300
|
+
renderer: (value, column, record) => (record.failCount > 0 ? BUILDING_INSPECTION_RE_STATUS_DISPLAY : BUILDING_INSPECTION_STATUS_DISPLAY)[value]
|
|
227
301
|
},
|
|
228
|
-
width: 120
|
|
302
|
+
width: 120,
|
|
303
|
+
handlers: {
|
|
304
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
305
|
+
navigate(`building-inspection-detail-drawing/${record.id}`);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
type: 'gutter',
|
|
311
|
+
gutterName: 'button',
|
|
312
|
+
icon: 'fact_check',
|
|
313
|
+
header: '도면',
|
|
314
|
+
width: 50,
|
|
315
|
+
handlers: {
|
|
316
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
317
|
+
this._openDrawingPopup(record);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
type: 'gutter',
|
|
323
|
+
gutterName: 'button',
|
|
324
|
+
icon: 'edit_square',
|
|
325
|
+
header: '요청서/결과통보',
|
|
326
|
+
width: 100,
|
|
327
|
+
handlers: {
|
|
328
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
329
|
+
this._openInspectionRequestDocument(record.id);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
type: 'gutter',
|
|
335
|
+
gutterName: 'button',
|
|
336
|
+
icon: 'task',
|
|
337
|
+
header: '체크리스트',
|
|
338
|
+
width: 70,
|
|
339
|
+
handlers: {
|
|
340
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
341
|
+
this._openChecklistPopup(record.id);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
type: 'gutter',
|
|
347
|
+
gutterName: 'button',
|
|
348
|
+
icon: 'photo_camera',
|
|
349
|
+
header: '사진대지',
|
|
350
|
+
width: 60,
|
|
351
|
+
handlers: {
|
|
352
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
353
|
+
this._openPhotoAlbumPopup(record.checklistId);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
type: 'gutter',
|
|
359
|
+
gutterName: 'button',
|
|
360
|
+
icon: 'engineering',
|
|
361
|
+
header: '실명부',
|
|
362
|
+
width: 50,
|
|
363
|
+
handlers: {
|
|
364
|
+
click: (columns, data, column, record, rowIndex) => {
|
|
365
|
+
this._showNameListPreview(record);
|
|
366
|
+
}
|
|
367
|
+
}
|
|
229
368
|
}
|
|
230
369
|
],
|
|
231
370
|
rows: {
|
|
232
371
|
selectable: {
|
|
233
372
|
multiple: true
|
|
234
373
|
},
|
|
235
|
-
appendable: false
|
|
236
|
-
handlers: {
|
|
237
|
-
click: (columns, data, column, record, rowIndex) => {
|
|
238
|
-
navigate(`building-inspection-detail-drawing/${record.id}`);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
374
|
+
appendable: false
|
|
241
375
|
},
|
|
242
376
|
sorters: [{ name: 'requestDate' }]
|
|
243
377
|
};
|
|
@@ -253,7 +387,10 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
253
387
|
items {
|
|
254
388
|
id
|
|
255
389
|
status
|
|
390
|
+
failCount
|
|
256
391
|
requestDate
|
|
392
|
+
drawingMarker
|
|
393
|
+
|
|
257
394
|
checklist {
|
|
258
395
|
checklistId: id
|
|
259
396
|
name
|
|
@@ -261,6 +398,13 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
261
398
|
constructionDetailType
|
|
262
399
|
location
|
|
263
400
|
inspectionParts
|
|
401
|
+
inspectionDrawingType
|
|
402
|
+
|
|
403
|
+
nameListAttachment {
|
|
404
|
+
id
|
|
405
|
+
name
|
|
406
|
+
fullpath
|
|
407
|
+
}
|
|
264
408
|
}
|
|
265
409
|
}
|
|
266
410
|
total
|
|
@@ -286,7 +430,9 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
286
430
|
variables: {
|
|
287
431
|
params: {
|
|
288
432
|
buildingLevelId: this.buildingLevelId,
|
|
289
|
-
limit: 0
|
|
433
|
+
limit: 0,
|
|
434
|
+
startDate: moment(this.selectedYearMonth).startOf('month').format('YYYY-MM-DD'),
|
|
435
|
+
endDate: moment(this.selectedYearMonth).endOf('month').format('YYYY-MM-DD')
|
|
290
436
|
},
|
|
291
437
|
buildingLevelId: this.buildingLevelId
|
|
292
438
|
}
|
|
@@ -318,6 +464,7 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
318
464
|
});
|
|
319
465
|
if (!response.errors) {
|
|
320
466
|
this.grist.fetch();
|
|
467
|
+
this.initProject(this.buildingLevelId);
|
|
321
468
|
notify({ message: '삭제되었습니다.' });
|
|
322
469
|
}
|
|
323
470
|
}
|
|
@@ -329,13 +476,12 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
329
476
|
.projectId=${this.project.id}
|
|
330
477
|
.selectedBuildingId=${this.building.id}
|
|
331
478
|
.selectedBuildingLevelId=${this.buildingLevelId}
|
|
332
|
-
@requestRefresh="${() =>
|
|
479
|
+
@requestRefresh="${() => {
|
|
480
|
+
this.grist.fetch();
|
|
481
|
+
this.initProject(this.buildingLevelId);
|
|
482
|
+
}}"
|
|
333
483
|
></inspection-create-popup>
|
|
334
|
-
`, {
|
|
335
|
-
backdrop: true,
|
|
336
|
-
size: 'large',
|
|
337
|
-
title: '검측 요청서 등록'
|
|
338
|
-
});
|
|
484
|
+
`, { backdrop: true, size: 'large', title: '검측 등록' });
|
|
339
485
|
}
|
|
340
486
|
_formatDate(date) {
|
|
341
487
|
return date
|
|
@@ -347,6 +493,160 @@ let BuildingInspectionList = class BuildingInspectionList extends ScopedElements
|
|
|
347
493
|
}).format(new Date(date))
|
|
348
494
|
: '';
|
|
349
495
|
}
|
|
496
|
+
async _openChecklistPopup(buildingInspectionId) {
|
|
497
|
+
var _a, _b;
|
|
498
|
+
const buildingInspection = await getBuildingInspectionForChecklist(buildingInspectionId);
|
|
499
|
+
openPopup(html `
|
|
500
|
+
<div style="overflow-y: auto;">
|
|
501
|
+
<checklist-view
|
|
502
|
+
.mode=${"VIEWER" /* ChecklistMode.VIEWER */}
|
|
503
|
+
.checklist=${buildingInspection === null || buildingInspection === void 0 ? void 0 : buildingInspection.checklist}
|
|
504
|
+
.buildingComplex=${((_b = (_a = buildingInspection === null || buildingInspection === void 0 ? void 0 : buildingInspection.buildingLevel) === null || _a === void 0 ? void 0 : _a.building) === null || _b === void 0 ? void 0 : _b.buildingComplex) || {}}
|
|
505
|
+
.status=${buildingInspection === null || buildingInspection === void 0 ? void 0 : buildingInspection.status}
|
|
506
|
+
.failCount=${(buildingInspection === null || buildingInspection === void 0 ? void 0 : buildingInspection.failCount) || 0}
|
|
507
|
+
.projectType=${this.project.projectType}
|
|
508
|
+
></checklist-view>
|
|
509
|
+
</div>
|
|
510
|
+
`, { backdrop: true, size: 'large', title: '체크 리스트 미리보기' });
|
|
511
|
+
}
|
|
512
|
+
async _openPhotoAlbumPopup(checklistId) {
|
|
513
|
+
openPopup(html ` <photo-album-popup .checklistId=${checklistId}></photo-album-popup> `, {
|
|
514
|
+
backdrop: true,
|
|
515
|
+
size: 'large',
|
|
516
|
+
title: '사진대지'
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
async _openInspectionRequestDocument(buildingInspectionId) {
|
|
520
|
+
const buildingInspection = await getBuildingInspectionForChecklist(buildingInspectionId);
|
|
521
|
+
if (!buildingInspection.checklist.inspectionRequestUpdatedAt) {
|
|
522
|
+
notify({ message: '검측 요청서가 없습니다.', level: 'info' });
|
|
523
|
+
return;
|
|
524
|
+
}
|
|
525
|
+
openPopup(html `
|
|
526
|
+
<div style="overflow-y: auto;">
|
|
527
|
+
<inspection-request-document
|
|
528
|
+
.checklist=${buildingInspection.checklist}
|
|
529
|
+
.buildingInspection=${buildingInspection}
|
|
530
|
+
.mode=${InspectionMode.VIEW}
|
|
531
|
+
></inspection-request-document>
|
|
532
|
+
|
|
533
|
+
${buildingInspection.checklist.inspectionResultUpdatedAt
|
|
534
|
+
? html `
|
|
535
|
+
<hr />
|
|
536
|
+
|
|
537
|
+
<inspection-result-notification
|
|
538
|
+
.checklist=${buildingInspection.checklist}
|
|
539
|
+
.buildingInspection=${buildingInspection}
|
|
540
|
+
.mode=${InspectionMode.VIEW}
|
|
541
|
+
></inspection-result-notification>
|
|
542
|
+
`
|
|
543
|
+
: ''}
|
|
544
|
+
</div>
|
|
545
|
+
`, { backdrop: true, size: 'large', title: '검측요청결과 통보내용' });
|
|
546
|
+
}
|
|
547
|
+
// 실명부 미리보기
|
|
548
|
+
_showNameListPreview(record) {
|
|
549
|
+
const nameListAttachment = record.nameListAttachment;
|
|
550
|
+
if (!nameListAttachment) {
|
|
551
|
+
notify({ message: '실명부 파일이 없습니다.', level: 'info' });
|
|
552
|
+
return;
|
|
553
|
+
}
|
|
554
|
+
// 이미지 미리보기 팝업
|
|
555
|
+
openPopup(html `
|
|
556
|
+
<image-preview-popup
|
|
557
|
+
.images=${[{ fullpath: nameListAttachment.fullpath, name: nameListAttachment.name }]}
|
|
558
|
+
.currentIndex=${0}
|
|
559
|
+
></image-preview-popup>
|
|
560
|
+
`, { backdrop: true, size: 'large', title: '실명부' });
|
|
561
|
+
}
|
|
562
|
+
_openDailyWorklogPopup() {
|
|
563
|
+
const date = this.selectedDate;
|
|
564
|
+
openPopup(html `<daily-worklog-popup
|
|
565
|
+
.project=${this.project}
|
|
566
|
+
.date=${date}
|
|
567
|
+
.dailyWorklog=${this.dailyWorklog}
|
|
568
|
+
.mode=${this.dailyWorklog.id ? DailyWorklogMode.EDIT : DailyWorklogMode.CREATE}
|
|
569
|
+
@createdDailyWorklog=${this._refreshCalendar.bind(this)}
|
|
570
|
+
@updatedDailyWorklog=${() => this._fetchDailyWorklog(this.selectedDate)}
|
|
571
|
+
></daily-worklog-popup>`, {
|
|
572
|
+
backdrop: true,
|
|
573
|
+
size: 'large',
|
|
574
|
+
title: '일일 업무일지 작성'
|
|
575
|
+
});
|
|
576
|
+
}
|
|
577
|
+
// 캘린더 객체 재 생성하여 재 랜더링
|
|
578
|
+
async _refreshCalendar() {
|
|
579
|
+
this.calendarData = new InspectionEventProvider(this.buildingLevelId, this.project.id);
|
|
580
|
+
await this._fetchDailyWorklog(this.selectedDate);
|
|
581
|
+
}
|
|
582
|
+
async _fetchDailyWorklog(date = '') {
|
|
583
|
+
var _a;
|
|
584
|
+
if (!date)
|
|
585
|
+
return;
|
|
586
|
+
const response = await client.query({
|
|
587
|
+
query: gql `
|
|
588
|
+
query ($projectId: String!, $date: String!) {
|
|
589
|
+
buildingInspectionDailyWorklogByProjectIdAndDate(projectId: $projectId, date: $date) {
|
|
590
|
+
id
|
|
591
|
+
date
|
|
592
|
+
documentNo
|
|
593
|
+
worklogs
|
|
594
|
+
memo
|
|
595
|
+
directiveMemo
|
|
596
|
+
taskSupervisorySignature
|
|
597
|
+
overallSupervisorySignature
|
|
598
|
+
|
|
599
|
+
taskSupervisory {
|
|
600
|
+
id
|
|
601
|
+
name
|
|
602
|
+
}
|
|
603
|
+
overallSupervisory {
|
|
604
|
+
id
|
|
605
|
+
name
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
buildingInspections {
|
|
609
|
+
id
|
|
610
|
+
|
|
611
|
+
checklist {
|
|
612
|
+
overallSupervisorySignature
|
|
613
|
+
taskSupervisorySignature
|
|
614
|
+
taskSupervisory {
|
|
615
|
+
id
|
|
616
|
+
name
|
|
617
|
+
}
|
|
618
|
+
overallSupervisory {
|
|
619
|
+
id
|
|
620
|
+
name
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
`,
|
|
627
|
+
variables: { projectId: this.project.id, date }
|
|
628
|
+
});
|
|
629
|
+
this.dailyWorklog = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.buildingInspectionDailyWorklogByProjectIdAndDate) || {};
|
|
630
|
+
}
|
|
631
|
+
async _openDrawingPopup(buildingInspection) {
|
|
632
|
+
const drawingImageProvider = new DrawingImageProvider();
|
|
633
|
+
const inspectionDrawingType = buildingInspection.checklist.inspectionDrawingType;
|
|
634
|
+
const drawingShapes = JSON.parse((buildingInspection === null || buildingInspection === void 0 ? void 0 : buildingInspection.drawingMarker) || null) || [];
|
|
635
|
+
const markers = await drawingImageProvider.getMarkers(inspectionDrawingType);
|
|
636
|
+
const imageUrl = String(inspectionDrawingType).normalize('NFC');
|
|
637
|
+
const shapes = [...drawingShapes, ...markers];
|
|
638
|
+
openPopup(html `<ox-image-marker-view
|
|
639
|
+
style="pointer-events: none;"
|
|
640
|
+
id="image-marker"
|
|
641
|
+
.imageUrl=${imageUrl}
|
|
642
|
+
.shapes=${shapes}
|
|
643
|
+
.imageProvider=${drawingImageProvider}
|
|
644
|
+
></ox-image-marker-view>`, {
|
|
645
|
+
backdrop: true,
|
|
646
|
+
size: 'large',
|
|
647
|
+
title: '검측 도면'
|
|
648
|
+
});
|
|
649
|
+
}
|
|
350
650
|
};
|
|
351
651
|
BuildingInspectionList.styles = [
|
|
352
652
|
ScrollbarStyles,
|
|
@@ -372,6 +672,10 @@ BuildingInspectionList.styles = [
|
|
|
372
672
|
--md-filled-button-leading-space: 15px;
|
|
373
673
|
}
|
|
374
674
|
|
|
675
|
+
md-filled-button[green] {
|
|
676
|
+
--md-filled-button-container-color: #008000;
|
|
677
|
+
}
|
|
678
|
+
|
|
375
679
|
md-outlined-button {
|
|
376
680
|
--md-outlined-button-container-height: 30px;
|
|
377
681
|
--md-outlined-button-trailing-space: var(--spacing-medium, 8px);
|
|
@@ -387,12 +691,31 @@ BuildingInspectionList.styles = [
|
|
|
387
691
|
display: flex;
|
|
388
692
|
margin: 0px var(--spacing-large, 12px);
|
|
389
693
|
margin-bottom: var(--spacing-small, 5px);
|
|
390
|
-
}
|
|
391
694
|
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
695
|
+
h2 {
|
|
696
|
+
display: flex;
|
|
697
|
+
gap: 7px;
|
|
698
|
+
flex: 0.5;
|
|
699
|
+
color: #3f71a0;
|
|
700
|
+
font-size: 18px;
|
|
701
|
+
|
|
702
|
+
md-icon[back] {
|
|
703
|
+
background: linear-gradient(135deg, #3f71a0 0%, #5a8cc7 100%);
|
|
704
|
+
color: white;
|
|
705
|
+
padding: 8px;
|
|
706
|
+
border-radius: 50%;
|
|
707
|
+
cursor: pointer;
|
|
708
|
+
box-shadow: 0 2px 8px rgba(63, 113, 160, 0.3);
|
|
709
|
+
width: 14px;
|
|
710
|
+
height: 14px;
|
|
711
|
+
--md-icon-size: 20px;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
md-icon[back]:hover {
|
|
715
|
+
background: linear-gradient(135deg, #2e5c89 0%, #4a7bb0 100%);
|
|
716
|
+
box-shadow: 0 4px 12px rgba(63, 113, 160, 0.4);
|
|
717
|
+
}
|
|
718
|
+
}
|
|
396
719
|
}
|
|
397
720
|
|
|
398
721
|
div[body] {
|
|
@@ -518,6 +841,12 @@ BuildingInspectionList.styles = [
|
|
|
518
841
|
flex-direction: column;
|
|
519
842
|
overflow: hidden;
|
|
520
843
|
min-height: 300px;
|
|
844
|
+
gap: 0px !important;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
div[daily-worklog-actions] {
|
|
848
|
+
display: flex;
|
|
849
|
+
justify-content: flex-end;
|
|
521
850
|
}
|
|
522
851
|
|
|
523
852
|
ox-grist {
|
|
@@ -558,6 +887,18 @@ __decorate([
|
|
|
558
887
|
state(),
|
|
559
888
|
__metadata("design:type", Object)
|
|
560
889
|
], BuildingInspectionList.prototype, "calendarData", void 0);
|
|
890
|
+
__decorate([
|
|
891
|
+
state(),
|
|
892
|
+
__metadata("design:type", String)
|
|
893
|
+
], BuildingInspectionList.prototype, "selectedYearMonth", void 0);
|
|
894
|
+
__decorate([
|
|
895
|
+
state(),
|
|
896
|
+
__metadata("design:type", String)
|
|
897
|
+
], BuildingInspectionList.prototype, "selectedDate", void 0);
|
|
898
|
+
__decorate([
|
|
899
|
+
state(),
|
|
900
|
+
__metadata("design:type", Object)
|
|
901
|
+
], BuildingInspectionList.prototype, "dailyWorklog", void 0);
|
|
561
902
|
__decorate([
|
|
562
903
|
query('ox-grist'),
|
|
563
904
|
__metadata("design:type", DataGrist)
|