@dssp/supervision 1.0.0-alpha.97 → 1.0.0

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.
Files changed (498) hide show
  1. package/package.json +13 -12
  2. package/dist-client/bootstrap.d.ts +0 -1
  3. package/dist-client/bootstrap.js +0 -2
  4. package/dist-client/bootstrap.js.map +0 -1
  5. package/dist-client/graphql/building-inspection.d.ts +0 -1
  6. package/dist-client/graphql/building-inspection.js +0 -102
  7. package/dist-client/graphql/building-inspection.js.map +0 -1
  8. package/dist-client/index.d.ts +0 -0
  9. package/dist-client/index.js +0 -2
  10. package/dist-client/index.js.map +0 -1
  11. package/dist-client/pages/action-plan/action-plan-importer.d.ts +0 -10
  12. package/dist-client/pages/action-plan/action-plan-importer.js +0 -101
  13. package/dist-client/pages/action-plan/action-plan-importer.js.map +0 -1
  14. package/dist-client/pages/action-plan/action-plan-list-page.d.ts +0 -62
  15. package/dist-client/pages/action-plan/action-plan-list-page.js +0 -322
  16. package/dist-client/pages/action-plan/action-plan-list-page.js.map +0 -1
  17. package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.d.ts +0 -22
  18. package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.js +0 -171
  19. package/dist-client/pages/building-inspection/building-inspection-detail-ai-defect.js.map +0 -1
  20. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.d.ts +0 -59
  21. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.js +0 -868
  22. package/dist-client/pages/building-inspection/building-inspection-detail-ai-measurement.js.map +0 -1
  23. package/dist-client/pages/building-inspection/building-inspection-detail-camera.d.ts +0 -27
  24. package/dist-client/pages/building-inspection/building-inspection-detail-camera.js +0 -342
  25. package/dist-client/pages/building-inspection/building-inspection-detail-camera.js.map +0 -1
  26. package/dist-client/pages/building-inspection/building-inspection-detail-checklist.d.ts +0 -31
  27. package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js +0 -332
  28. package/dist-client/pages/building-inspection/building-inspection-detail-checklist.js.map +0 -1
  29. package/dist-client/pages/building-inspection/building-inspection-detail-drawing.d.ts +0 -36
  30. package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js +0 -369
  31. package/dist-client/pages/building-inspection/building-inspection-detail-drawing.js.map +0 -1
  32. package/dist-client/pages/building-inspection/building-inspection-list.d.ts +0 -98
  33. package/dist-client/pages/building-inspection/building-inspection-list.js +0 -914
  34. package/dist-client/pages/building-inspection/building-inspection-list.js.map +0 -1
  35. package/dist-client/pages/building-inspection/building-inspection-management.d.ts +0 -82
  36. package/dist-client/pages/building-inspection/building-inspection-management.js +0 -1527
  37. package/dist-client/pages/building-inspection/building-inspection-management.js.map +0 -1
  38. package/dist-client/pages/building-inspection/component/building-inspection-detail-header.d.ts +0 -4
  39. package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js +0 -238
  40. package/dist-client/pages/building-inspection/component/building-inspection-detail-header.js.map +0 -1
  41. package/dist-client/pages/building-inspection/component/daily-worklog-popup.d.ts +0 -27
  42. package/dist-client/pages/building-inspection/component/daily-worklog-popup.js +0 -542
  43. package/dist-client/pages/building-inspection/component/daily-worklog-popup.js.map +0 -1
  44. package/dist-client/pages/building-inspection/component/field-document/field-document-constants.d.ts +0 -18
  45. package/dist-client/pages/building-inspection/component/field-document/field-document-constants.js +0 -630
  46. package/dist-client/pages/building-inspection/component/field-document/field-document-constants.js.map +0 -1
  47. package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.d.ts +0 -10
  48. package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.js +0 -219
  49. package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.js.map +0 -1
  50. package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.d.ts +0 -25
  51. package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.js +0 -546
  52. package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.js.map +0 -1
  53. package/dist-client/pages/building-inspection/component/field-document/field-document-popup.d.ts +0 -42
  54. package/dist-client/pages/building-inspection/component/field-document/field-document-popup.js +0 -738
  55. package/dist-client/pages/building-inspection/component/field-document/field-document-popup.js.map +0 -1
  56. package/dist-client/pages/building-inspection/component/image-preview-popup.d.ts +0 -15
  57. package/dist-client/pages/building-inspection/component/image-preview-popup.js +0 -348
  58. package/dist-client/pages/building-inspection/component/image-preview-popup.js.map +0 -1
  59. package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.d.ts +0 -25
  60. package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js +0 -491
  61. package/dist-client/pages/building-inspection/component/inspection-document/inspection-request-document.js.map +0 -1
  62. package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.d.ts +0 -31
  63. package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js +0 -485
  64. package/dist-client/pages/building-inspection/component/inspection-document/inspection-result-notification.js.map +0 -1
  65. package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.d.ts +0 -27
  66. package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js +0 -416
  67. package/dist-client/pages/building-inspection/component/inspection-document/photo-album-popup.js.map +0 -1
  68. package/dist-client/pages/building-inspection/component/inspection-event-provider.d.ts +0 -9
  69. package/dist-client/pages/building-inspection/component/inspection-event-provider.js +0 -190
  70. package/dist-client/pages/building-inspection/component/inspection-event-provider.js.map +0 -1
  71. package/dist-client/pages/building-inspection/inspection-create-popup.d.ts +0 -3
  72. package/dist-client/pages/building-inspection/inspection-create-popup.js +0 -841
  73. package/dist-client/pages/building-inspection/inspection-create-popup.js.map +0 -1
  74. package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.d.ts +0 -3
  75. package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.js +0 -817
  76. package/dist-client/pages/building-inspection/inspection-with-checklist-create-popup.js.map +0 -1
  77. package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.d.ts +0 -60
  78. package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js +0 -1135
  79. package/dist-client/pages/building-inspection-grid/building-inspection-grid-detail.js.map +0 -1
  80. package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.d.ts +0 -2
  81. package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js +0 -740
  82. package/dist-client/pages/building-inspection-grid/component/grid-inspection-create-popup.js.map +0 -1
  83. package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.d.ts +0 -19
  84. package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.js +0 -205
  85. package/dist-client/pages/building-inspection-grid/component/grid-inspection-list-layer.js.map +0 -1
  86. package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.d.ts +0 -1
  87. package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.js +0 -304
  88. package/dist-client/pages/building-inspection-grid/component/notice-comment-popup.js.map +0 -1
  89. package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.d.ts +0 -15
  90. package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.js +0 -430
  91. package/dist-client/pages/building-inspection-grid/component/plan-preview-popup.js.map +0 -1
  92. package/dist-client/pages/checklist/attachment-list-popup.d.ts +0 -3
  93. package/dist-client/pages/checklist/attachment-list-popup.js +0 -492
  94. package/dist-client/pages/checklist/attachment-list-popup.js.map +0 -1
  95. package/dist-client/pages/checklist/checklist-view.d.ts +0 -16
  96. package/dist-client/pages/checklist/checklist-view.js +0 -926
  97. package/dist-client/pages/checklist/checklist-view.js.map +0 -1
  98. package/dist-client/pages/checklist/comment-list-popup.d.ts +0 -1
  99. package/dist-client/pages/checklist/comment-list-popup.js +0 -367
  100. package/dist-client/pages/checklist/comment-list-popup.js.map +0 -1
  101. package/dist-client/pages/checklist/file-preview-popup.d.ts +0 -1
  102. package/dist-client/pages/checklist/file-preview-popup.js +0 -77
  103. package/dist-client/pages/checklist/file-preview-popup.js.map +0 -1
  104. package/dist-client/pages/checklist/inspection-info-popup.d.ts +0 -49
  105. package/dist-client/pages/checklist/inspection-info-popup.js +0 -683
  106. package/dist-client/pages/checklist/inspection-info-popup.js.map +0 -1
  107. package/dist-client/pages/checklist/inspection-tab-popup.d.ts +0 -18
  108. package/dist-client/pages/checklist/inspection-tab-popup.js +0 -196
  109. package/dist-client/pages/checklist/inspection-tab-popup.js.map +0 -1
  110. package/dist-client/pages/checklist/kcs-criteria-popup.d.ts +0 -16
  111. package/dist-client/pages/checklist/kcs-criteria-popup.js +0 -179
  112. package/dist-client/pages/checklist/kcs-criteria-popup.js.map +0 -1
  113. package/dist-client/pages/checklist-database/checklist-database.d.ts +0 -35
  114. package/dist-client/pages/checklist-database/checklist-database.js +0 -540
  115. package/dist-client/pages/checklist-database/checklist-database.js.map +0 -1
  116. package/dist-client/pages/checklist-template/checklist-template-item.d.ts +0 -2
  117. package/dist-client/pages/checklist-template/checklist-template-item.js +0 -278
  118. package/dist-client/pages/checklist-template/checklist-template-item.js.map +0 -1
  119. package/dist-client/pages/checklist-template/checklist-template-list.d.ts +0 -53
  120. package/dist-client/pages/checklist-template/checklist-template-list.js +0 -350
  121. package/dist-client/pages/checklist-template/checklist-template-list.js.map +0 -1
  122. package/dist-client/pages/checklist-template/checklist-type-management.d.ts +0 -55
  123. package/dist-client/pages/checklist-template/checklist-type-management.js +0 -250
  124. package/dist-client/pages/checklist-template/checklist-type-management.js.map +0 -1
  125. package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.d.ts +0 -2
  126. package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.js +0 -223
  127. package/dist-client/pages/checklist-template/construction-checklist-template-item-popup.js.map +0 -1
  128. package/dist-client/pages/checklist-template/construction-checklist-template-list.d.ts +0 -55
  129. package/dist-client/pages/checklist-template/construction-checklist-template-list.js +0 -404
  130. package/dist-client/pages/checklist-template/construction-checklist-template-list.js.map +0 -1
  131. package/dist-client/pages/issue/issue-importer.d.ts +0 -10
  132. package/dist-client/pages/issue/issue-importer.js +0 -101
  133. package/dist-client/pages/issue/issue-importer.js.map +0 -1
  134. package/dist-client/pages/issue/issue-list-page.d.ts +0 -62
  135. package/dist-client/pages/issue/issue-list-page.js +0 -322
  136. package/dist-client/pages/issue/issue-list-page.js.map +0 -1
  137. package/dist-client/pages/project-checklist/project-checklist-management.d.ts +0 -62
  138. package/dist-client/pages/project-checklist/project-checklist-management.js +0 -1145
  139. package/dist-client/pages/project-checklist/project-checklist-management.js.map +0 -1
  140. package/dist-client/pages/project-report/project-report-importer.d.ts +0 -10
  141. package/dist-client/pages/project-report/project-report-importer.js +0 -101
  142. package/dist-client/pages/project-report/project-report-importer.js.map +0 -1
  143. package/dist-client/pages/project-report/project-report-list-page.d.ts +0 -62
  144. package/dist-client/pages/project-report/project-report-list-page.js +0 -322
  145. package/dist-client/pages/project-report/project-report-list-page.js.map +0 -1
  146. package/dist-client/pages/supervisor/supervisor-importer.d.ts +0 -10
  147. package/dist-client/pages/supervisor/supervisor-importer.js +0 -101
  148. package/dist-client/pages/supervisor/supervisor-importer.js.map +0 -1
  149. package/dist-client/pages/supervisor/supervisor-list-page.d.ts +0 -62
  150. package/dist-client/pages/supervisor/supervisor-list-page.js +0 -322
  151. package/dist-client/pages/supervisor/supervisor-list-page.js.map +0 -1
  152. package/dist-client/route.d.ts +0 -1
  153. package/dist-client/route.js +0 -44
  154. package/dist-client/route.js.map +0 -1
  155. package/dist-client/stt/speech-to-text.d.ts +0 -41
  156. package/dist-client/stt/speech-to-text.js +0 -331
  157. package/dist-client/stt/speech-to-text.js.map +0 -1
  158. package/dist-client/stt/stt-utils.d.ts +0 -28
  159. package/dist-client/stt/stt-utils.js +0 -146
  160. package/dist-client/stt/stt-utils.js.map +0 -1
  161. package/dist-client/tsconfig.tsbuildinfo +0 -1
  162. package/dist-server/controllers/index.d.ts +0 -0
  163. package/dist-server/controllers/index.js +0 -1
  164. package/dist-server/controllers/index.js.map +0 -1
  165. package/dist-server/index.d.ts +0 -3
  166. package/dist-server/index.js +0 -7
  167. package/dist-server/index.js.map +0 -1
  168. package/dist-server/middlewares/index.d.ts +0 -1
  169. package/dist-server/middlewares/index.js +0 -7
  170. package/dist-server/middlewares/index.js.map +0 -1
  171. package/dist-server/migrations/index.d.ts +0 -1
  172. package/dist-server/migrations/index.js +0 -12
  173. package/dist-server/migrations/index.js.map +0 -1
  174. package/dist-server/routes.d.ts +0 -0
  175. package/dist-server/routes.js +0 -25
  176. package/dist-server/routes.js.map +0 -1
  177. package/dist-server/service/action-plan/action-plan-mutation.d.ts +0 -10
  178. package/dist-server/service/action-plan/action-plan-mutation.js +0 -167
  179. package/dist-server/service/action-plan/action-plan-mutation.js.map +0 -1
  180. package/dist-server/service/action-plan/action-plan-query.d.ts +0 -12
  181. package/dist-server/service/action-plan/action-plan-query.js +0 -91
  182. package/dist-server/service/action-plan/action-plan-query.js.map +0 -1
  183. package/dist-server/service/action-plan/action-plan-type.d.ts +0 -23
  184. package/dist-server/service/action-plan/action-plan-type.js +0 -86
  185. package/dist-server/service/action-plan/action-plan-type.js.map +0 -1
  186. package/dist-server/service/action-plan/action-plan.d.ts +0 -27
  187. package/dist-server/service/action-plan/action-plan.js +0 -116
  188. package/dist-server/service/action-plan/action-plan.js.map +0 -1
  189. package/dist-server/service/action-plan/index.d.ts +0 -5
  190. package/dist-server/service/action-plan/index.js +0 -9
  191. package/dist-server/service/action-plan/index.js.map +0 -1
  192. package/dist-server/service/building-inspection/building-inspection-mutation.d.ts +0 -9
  193. package/dist-server/service/building-inspection/building-inspection-mutation.js +0 -404
  194. package/dist-server/service/building-inspection/building-inspection-mutation.js.map +0 -1
  195. package/dist-server/service/building-inspection/building-inspection-query.d.ts +0 -24
  196. package/dist-server/service/building-inspection/building-inspection-query.js +0 -406
  197. package/dist-server/service/building-inspection/building-inspection-query.js.map +0 -1
  198. package/dist-server/service/building-inspection/building-inspection-type.d.ts +0 -89
  199. package/dist-server/service/building-inspection/building-inspection-type.js +0 -330
  200. package/dist-server/service/building-inspection/building-inspection-type.js.map +0 -1
  201. package/dist-server/service/building-inspection/building-inspection.d.ts +0 -42
  202. package/dist-server/service/building-inspection/building-inspection.js +0 -186
  203. package/dist-server/service/building-inspection/building-inspection.js.map +0 -1
  204. package/dist-server/service/building-inspection/index.d.ts +0 -7
  205. package/dist-server/service/building-inspection/index.js +0 -19
  206. package/dist-server/service/building-inspection/index.js.map +0 -1
  207. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.d.ts +0 -6
  208. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js +0 -66
  209. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-mutation.js.map +0 -1
  210. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.d.ts +0 -16
  211. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js +0 -171
  212. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-query.js.map +0 -1
  213. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.d.ts +0 -23
  214. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js +0 -90
  215. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog-type.js.map +0 -1
  216. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.d.ts +0 -33
  217. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js +0 -132
  218. package/dist-server/service/building-inspection-daily-worklog/building-inspection-daily-worklog.js.map +0 -1
  219. package/dist-server/service/building-inspection-daily-worklog/index.d.ts +0 -5
  220. package/dist-server/service/building-inspection-daily-worklog/index.js +0 -9
  221. package/dist-server/service/building-inspection-daily-worklog/index.js.map +0 -1
  222. package/dist-server/service/building-inspection-history/building-inspection-history-query.d.ts +0 -16
  223. package/dist-server/service/building-inspection-history/building-inspection-history-query.js +0 -120
  224. package/dist-server/service/building-inspection-history/building-inspection-history-query.js.map +0 -1
  225. package/dist-server/service/building-inspection-history/building-inspection-history-type.d.ts +0 -5
  226. package/dist-server/service/building-inspection-history/building-inspection-history-type.js +0 -21
  227. package/dist-server/service/building-inspection-history/building-inspection-history-type.js.map +0 -1
  228. package/dist-server/service/building-inspection-history/building-inspection-history.d.ts +0 -35
  229. package/dist-server/service/building-inspection-history/building-inspection-history.js +0 -162
  230. package/dist-server/service/building-inspection-history/building-inspection-history.js.map +0 -1
  231. package/dist-server/service/building-inspection-history/event-subscriber.d.ts +0 -7
  232. package/dist-server/service/building-inspection-history/event-subscriber.js +0 -21
  233. package/dist-server/service/building-inspection-history/event-subscriber.js.map +0 -1
  234. package/dist-server/service/building-inspection-history/index.d.ts +0 -6
  235. package/dist-server/service/building-inspection-history/index.js +0 -10
  236. package/dist-server/service/building-inspection-history/index.js.map +0 -1
  237. package/dist-server/service/checklist/checklist-mutation.d.ts +0 -3
  238. package/dist-server/service/checklist/checklist-mutation.js +0 -30
  239. package/dist-server/service/checklist/checklist-mutation.js.map +0 -1
  240. package/dist-server/service/checklist/checklist-query.d.ts +0 -21
  241. package/dist-server/service/checklist/checklist-query.js +0 -177
  242. package/dist-server/service/checklist/checklist-query.js.map +0 -1
  243. package/dist-server/service/checklist/checklist-type.d.ts +0 -5
  244. package/dist-server/service/checklist/checklist-type.js +0 -21
  245. package/dist-server/service/checklist/checklist-type.js.map +0 -1
  246. package/dist-server/service/checklist/checklist.d.ts +0 -66
  247. package/dist-server/service/checklist/checklist.js +0 -259
  248. package/dist-server/service/checklist/checklist.js.map +0 -1
  249. package/dist-server/service/checklist/event-subscriber.d.ts +0 -7
  250. package/dist-server/service/checklist/event-subscriber.js +0 -21
  251. package/dist-server/service/checklist/event-subscriber.js.map +0 -1
  252. package/dist-server/service/checklist/index.d.ts +0 -5
  253. package/dist-server/service/checklist/index.js +0 -9
  254. package/dist-server/service/checklist/index.js.map +0 -1
  255. package/dist-server/service/checklist-history/checklist-history-query.d.ts +0 -11
  256. package/dist-server/service/checklist-history/checklist-history-query.js +0 -77
  257. package/dist-server/service/checklist-history/checklist-history-query.js.map +0 -1
  258. package/dist-server/service/checklist-history/checklist-history-type.d.ts +0 -5
  259. package/dist-server/service/checklist-history/checklist-history-type.js +0 -21
  260. package/dist-server/service/checklist-history/checklist-history-type.js.map +0 -1
  261. package/dist-server/service/checklist-history/checklist-history.d.ts +0 -50
  262. package/dist-server/service/checklist-history/checklist-history.js +0 -239
  263. package/dist-server/service/checklist-history/checklist-history.js.map +0 -1
  264. package/dist-server/service/checklist-history/event-subscriber.d.ts +0 -7
  265. package/dist-server/service/checklist-history/event-subscriber.js +0 -21
  266. package/dist-server/service/checklist-history/event-subscriber.js.map +0 -1
  267. package/dist-server/service/checklist-history/index.d.ts +0 -6
  268. package/dist-server/service/checklist-history/index.js +0 -10
  269. package/dist-server/service/checklist-history/index.js.map +0 -1
  270. package/dist-server/service/checklist-item/checklist-item-mutation.d.ts +0 -2
  271. package/dist-server/service/checklist-item/checklist-item-mutation.js +0 -13
  272. package/dist-server/service/checklist-item/checklist-item-mutation.js.map +0 -1
  273. package/dist-server/service/checklist-item/checklist-item-query.d.ts +0 -18
  274. package/dist-server/service/checklist-item/checklist-item-query.js +0 -138
  275. package/dist-server/service/checklist-item/checklist-item-query.js.map +0 -1
  276. package/dist-server/service/checklist-item/checklist-item-type.d.ts +0 -5
  277. package/dist-server/service/checklist-item/checklist-item-type.js +0 -21
  278. package/dist-server/service/checklist-item/checklist-item-type.js.map +0 -1
  279. package/dist-server/service/checklist-item/checklist-item.d.ts +0 -29
  280. package/dist-server/service/checklist-item/checklist-item.js +0 -124
  281. package/dist-server/service/checklist-item/checklist-item.js.map +0 -1
  282. package/dist-server/service/checklist-item/index.d.ts +0 -4
  283. package/dist-server/service/checklist-item/index.js +0 -9
  284. package/dist-server/service/checklist-item/index.js.map +0 -1
  285. package/dist-server/service/checklist-item-comment/checklist-item-comment-history.d.ts +0 -16
  286. package/dist-server/service/checklist-item-comment/checklist-item-comment-history.js +0 -83
  287. package/dist-server/service/checklist-item-comment/checklist-item-comment-history.js.map +0 -1
  288. package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.d.ts +0 -8
  289. package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js +0 -114
  290. package/dist-server/service/checklist-item-comment/checklist-item-comment-mutation.js.map +0 -1
  291. package/dist-server/service/checklist-item-comment/checklist-item-comment-query.d.ts +0 -7
  292. package/dist-server/service/checklist-item-comment/checklist-item-comment-query.js +0 -49
  293. package/dist-server/service/checklist-item-comment/checklist-item-comment-query.js.map +0 -1
  294. package/dist-server/service/checklist-item-comment/checklist-item-comment-type.d.ts +0 -14
  295. package/dist-server/service/checklist-item-comment/checklist-item-comment-type.js +0 -53
  296. package/dist-server/service/checklist-item-comment/checklist-item-comment-type.js.map +0 -1
  297. package/dist-server/service/checklist-item-comment/checklist-item-comment.d.ts +0 -12
  298. package/dist-server/service/checklist-item-comment/checklist-item-comment.js +0 -57
  299. package/dist-server/service/checklist-item-comment/checklist-item-comment.js.map +0 -1
  300. package/dist-server/service/checklist-item-comment/index.d.ts +0 -5
  301. package/dist-server/service/checklist-item-comment/index.js +0 -10
  302. package/dist-server/service/checklist-item-comment/index.js.map +0 -1
  303. package/dist-server/service/checklist-item-history/checklist-item-history-query.d.ts +0 -16
  304. package/dist-server/service/checklist-item-history/checklist-item-history-query.js +0 -123
  305. package/dist-server/service/checklist-item-history/checklist-item-history-query.js.map +0 -1
  306. package/dist-server/service/checklist-item-history/checklist-item-history-type.d.ts +0 -5
  307. package/dist-server/service/checklist-item-history/checklist-item-history-type.js +0 -21
  308. package/dist-server/service/checklist-item-history/checklist-item-history-type.js.map +0 -1
  309. package/dist-server/service/checklist-item-history/checklist-item-history.d.ts +0 -27
  310. package/dist-server/service/checklist-item-history/checklist-item-history.js +0 -133
  311. package/dist-server/service/checklist-item-history/checklist-item-history.js.map +0 -1
  312. package/dist-server/service/checklist-item-history/event-subscriber.d.ts +0 -7
  313. package/dist-server/service/checklist-item-history/event-subscriber.js +0 -21
  314. package/dist-server/service/checklist-item-history/event-subscriber.js.map +0 -1
  315. package/dist-server/service/checklist-item-history/index.d.ts +0 -6
  316. package/dist-server/service/checklist-item-history/index.js +0 -10
  317. package/dist-server/service/checklist-item-history/index.js.map +0 -1
  318. package/dist-server/service/checklist-template/checklist-template-mutation.d.ts +0 -6
  319. package/dist-server/service/checklist-template/checklist-template-mutation.js +0 -64
  320. package/dist-server/service/checklist-template/checklist-template-mutation.js.map +0 -1
  321. package/dist-server/service/checklist-template/checklist-template-query.d.ts +0 -10
  322. package/dist-server/service/checklist-template/checklist-template-query.js +0 -62
  323. package/dist-server/service/checklist-template/checklist-template-query.js.map +0 -1
  324. package/dist-server/service/checklist-template/checklist-template-type.d.ts +0 -10
  325. package/dist-server/service/checklist-template/checklist-template-type.js +0 -39
  326. package/dist-server/service/checklist-template/checklist-template-type.js.map +0 -1
  327. package/dist-server/service/checklist-template/checklist-template.d.ts +0 -17
  328. package/dist-server/service/checklist-template/checklist-template.js +0 -78
  329. package/dist-server/service/checklist-template/checklist-template.js.map +0 -1
  330. package/dist-server/service/checklist-template/index.d.ts +0 -5
  331. package/dist-server/service/checklist-template/index.js +0 -9
  332. package/dist-server/service/checklist-template/index.js.map +0 -1
  333. package/dist-server/service/checklist-template-item/checklist-template-item-mutation.d.ts +0 -7
  334. package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js +0 -80
  335. package/dist-server/service/checklist-template-item/checklist-template-item-mutation.js.map +0 -1
  336. package/dist-server/service/checklist-template-item/checklist-template-item-query.d.ts +0 -11
  337. package/dist-server/service/checklist-template-item/checklist-template-item-query.js +0 -78
  338. package/dist-server/service/checklist-template-item/checklist-template-item-query.js.map +0 -1
  339. package/dist-server/service/checklist-template-item/checklist-template-item-type.d.ts +0 -19
  340. package/dist-server/service/checklist-template-item/checklist-template-item-type.js +0 -69
  341. package/dist-server/service/checklist-template-item/checklist-template-item-type.js.map +0 -1
  342. package/dist-server/service/checklist-template-item/checklist-template-item.d.ts +0 -26
  343. package/dist-server/service/checklist-template-item/checklist-template-item.js +0 -106
  344. package/dist-server/service/checklist-template-item/checklist-template-item.js.map +0 -1
  345. package/dist-server/service/checklist-template-item/index.d.ts +0 -5
  346. package/dist-server/service/checklist-template-item/index.js +0 -9
  347. package/dist-server/service/checklist-template-item/index.js.map +0 -1
  348. package/dist-server/service/checklist-template-item/spec-matching-service.d.ts +0 -2
  349. package/dist-server/service/checklist-template-item/spec-matching-service.js +0 -51
  350. package/dist-server/service/checklist-template-item/spec-matching-service.js.map +0 -1
  351. package/dist-server/service/checklist-type/checklist-type-mutation.d.ts +0 -6
  352. package/dist-server/service/checklist-type/checklist-type-mutation.js +0 -64
  353. package/dist-server/service/checklist-type/checklist-type-mutation.js.map +0 -1
  354. package/dist-server/service/checklist-type/checklist-type-query.d.ts +0 -10
  355. package/dist-server/service/checklist-type/checklist-type-query.js +0 -62
  356. package/dist-server/service/checklist-type/checklist-type-query.js.map +0 -1
  357. package/dist-server/service/checklist-type/checklist-type-type.d.ts +0 -11
  358. package/dist-server/service/checklist-type/checklist-type-type.js +0 -43
  359. package/dist-server/service/checklist-type/checklist-type-type.js.map +0 -1
  360. package/dist-server/service/checklist-type/checklist-type.d.ts +0 -19
  361. package/dist-server/service/checklist-type/checklist-type.js +0 -78
  362. package/dist-server/service/checklist-type/checklist-type.js.map +0 -1
  363. package/dist-server/service/checklist-type/index.d.ts +0 -5
  364. package/dist-server/service/checklist-type/index.js +0 -9
  365. package/dist-server/service/checklist-type/index.js.map +0 -1
  366. package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.d.ts +0 -7
  367. package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.js +0 -107
  368. package/dist-server/service/construction-checklist-template/construction-checklist-template-mutation.js.map +0 -1
  369. package/dist-server/service/construction-checklist-template/construction-checklist-template-query.d.ts +0 -10
  370. package/dist-server/service/construction-checklist-template/construction-checklist-template-query.js +0 -62
  371. package/dist-server/service/construction-checklist-template/construction-checklist-template-query.js.map +0 -1
  372. package/dist-server/service/construction-checklist-template/construction-checklist-template-type.d.ts +0 -11
  373. package/dist-server/service/construction-checklist-template/construction-checklist-template-type.js +0 -43
  374. package/dist-server/service/construction-checklist-template/construction-checklist-template-type.js.map +0 -1
  375. package/dist-server/service/construction-checklist-template/construction-checklist-template.d.ts +0 -18
  376. package/dist-server/service/construction-checklist-template/construction-checklist-template.js +0 -80
  377. package/dist-server/service/construction-checklist-template/construction-checklist-template.js.map +0 -1
  378. package/dist-server/service/construction-checklist-template/index.d.ts +0 -5
  379. package/dist-server/service/construction-checklist-template/index.js +0 -9
  380. package/dist-server/service/construction-checklist-template/index.js.map +0 -1
  381. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.d.ts +0 -6
  382. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.js +0 -56
  383. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-mutation.js.map +0 -1
  384. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.d.ts +0 -9
  385. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.js +0 -53
  386. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-query.js.map +0 -1
  387. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.d.ts +0 -17
  388. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.js +0 -67
  389. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item-type.js.map +0 -1
  390. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.d.ts +0 -24
  391. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.js +0 -113
  392. package/dist-server/service/construction-checklist-template-item/construction-checklist-template-item.js.map +0 -1
  393. package/dist-server/service/construction-checklist-template-item/index.d.ts +0 -5
  394. package/dist-server/service/construction-checklist-template-item/index.js +0 -9
  395. package/dist-server/service/construction-checklist-template-item/index.js.map +0 -1
  396. package/dist-server/service/field-document/field-document-auto-file.d.ts +0 -21
  397. package/dist-server/service/field-document/field-document-auto-file.js +0 -47
  398. package/dist-server/service/field-document/field-document-auto-file.js.map +0 -1
  399. package/dist-server/service/field-document/field-document-mutation.d.ts +0 -9
  400. package/dist-server/service/field-document/field-document-mutation.js +0 -139
  401. package/dist-server/service/field-document/field-document-mutation.js.map +0 -1
  402. package/dist-server/service/field-document/field-document-query.d.ts +0 -14
  403. package/dist-server/service/field-document/field-document-query.js +0 -120
  404. package/dist-server/service/field-document/field-document-query.js.map +0 -1
  405. package/dist-server/service/field-document/field-document-summary-service.d.ts +0 -10
  406. package/dist-server/service/field-document/field-document-summary-service.js +0 -79
  407. package/dist-server/service/field-document/field-document-summary-service.js.map +0 -1
  408. package/dist-server/service/field-document/field-document-type.d.ts +0 -24
  409. package/dist-server/service/field-document/field-document-type.js +0 -88
  410. package/dist-server/service/field-document/field-document-type.js.map +0 -1
  411. package/dist-server/service/field-document/field-document.d.ts +0 -29
  412. package/dist-server/service/field-document/field-document.js +0 -127
  413. package/dist-server/service/field-document/field-document.js.map +0 -1
  414. package/dist-server/service/field-document/index.d.ts +0 -5
  415. package/dist-server/service/field-document/index.js +0 -9
  416. package/dist-server/service/field-document/index.js.map +0 -1
  417. package/dist-server/service/index.d.ts +0 -23
  418. package/dist-server/service/index.js +0 -98
  419. package/dist-server/service/index.js.map +0 -1
  420. package/dist-server/service/issue/index.d.ts +0 -5
  421. package/dist-server/service/issue/index.js +0 -9
  422. package/dist-server/service/issue/index.js.map +0 -1
  423. package/dist-server/service/issue/issue-mutation.d.ts +0 -10
  424. package/dist-server/service/issue/issue-mutation.js +0 -167
  425. package/dist-server/service/issue/issue-mutation.js.map +0 -1
  426. package/dist-server/service/issue/issue-query.d.ts +0 -12
  427. package/dist-server/service/issue/issue-query.js +0 -91
  428. package/dist-server/service/issue/issue-query.js.map +0 -1
  429. package/dist-server/service/issue/issue-type.d.ts +0 -23
  430. package/dist-server/service/issue/issue-type.js +0 -86
  431. package/dist-server/service/issue/issue-type.js.map +0 -1
  432. package/dist-server/service/issue/issue.d.ts +0 -26
  433. package/dist-server/service/issue/issue.js +0 -111
  434. package/dist-server/service/issue/issue.js.map +0 -1
  435. package/dist-server/service/project-checklist/index.d.ts +0 -5
  436. package/dist-server/service/project-checklist/index.js +0 -9
  437. package/dist-server/service/project-checklist/index.js.map +0 -1
  438. package/dist-server/service/project-checklist/project-checklist-mutation.d.ts +0 -7
  439. package/dist-server/service/project-checklist/project-checklist-mutation.js +0 -118
  440. package/dist-server/service/project-checklist/project-checklist-mutation.js.map +0 -1
  441. package/dist-server/service/project-checklist/project-checklist-query.d.ts +0 -12
  442. package/dist-server/service/project-checklist/project-checklist-query.js +0 -76
  443. package/dist-server/service/project-checklist/project-checklist-query.js.map +0 -1
  444. package/dist-server/service/project-checklist/project-checklist-type.d.ts +0 -18
  445. package/dist-server/service/project-checklist/project-checklist-type.js +0 -69
  446. package/dist-server/service/project-checklist/project-checklist-type.js.map +0 -1
  447. package/dist-server/service/project-checklist/project-checklist.d.ts +0 -20
  448. package/dist-server/service/project-checklist/project-checklist.js +0 -90
  449. package/dist-server/service/project-checklist/project-checklist.js.map +0 -1
  450. package/dist-server/service/project-checklist/spec-matching-service.d.ts +0 -17
  451. package/dist-server/service/project-checklist/spec-matching-service.js +0 -140
  452. package/dist-server/service/project-checklist/spec-matching-service.js.map +0 -1
  453. package/dist-server/service/project-checklist-item/index.d.ts +0 -4
  454. package/dist-server/service/project-checklist-item/index.js +0 -9
  455. package/dist-server/service/project-checklist-item/index.js.map +0 -1
  456. package/dist-server/service/project-checklist-item/project-checklist-item-mutation.d.ts +0 -2
  457. package/dist-server/service/project-checklist-item/project-checklist-item-mutation.js +0 -13
  458. package/dist-server/service/project-checklist-item/project-checklist-item-mutation.js.map +0 -1
  459. package/dist-server/service/project-checklist-item/project-checklist-item-query.d.ts +0 -5
  460. package/dist-server/service/project-checklist-item/project-checklist-item-query.js +0 -34
  461. package/dist-server/service/project-checklist-item/project-checklist-item-query.js.map +0 -1
  462. package/dist-server/service/project-checklist-item/project-checklist-item-type.d.ts +0 -5
  463. package/dist-server/service/project-checklist-item/project-checklist-item-type.js +0 -21
  464. package/dist-server/service/project-checklist-item/project-checklist-item-type.js.map +0 -1
  465. package/dist-server/service/project-checklist-item/project-checklist-item.d.ts +0 -19
  466. package/dist-server/service/project-checklist-item/project-checklist-item.js +0 -92
  467. package/dist-server/service/project-checklist-item/project-checklist-item.js.map +0 -1
  468. package/dist-server/service/project-report/index.d.ts +0 -5
  469. package/dist-server/service/project-report/index.js +0 -9
  470. package/dist-server/service/project-report/index.js.map +0 -1
  471. package/dist-server/service/project-report/project-report-mutation.d.ts +0 -10
  472. package/dist-server/service/project-report/project-report-mutation.js +0 -167
  473. package/dist-server/service/project-report/project-report-mutation.js.map +0 -1
  474. package/dist-server/service/project-report/project-report-query.d.ts +0 -12
  475. package/dist-server/service/project-report/project-report-query.js +0 -91
  476. package/dist-server/service/project-report/project-report-query.js.map +0 -1
  477. package/dist-server/service/project-report/project-report-type.d.ts +0 -23
  478. package/dist-server/service/project-report/project-report-type.js +0 -86
  479. package/dist-server/service/project-report/project-report-type.js.map +0 -1
  480. package/dist-server/service/project-report/project-report.d.ts +0 -28
  481. package/dist-server/service/project-report/project-report.js +0 -121
  482. package/dist-server/service/project-report/project-report.js.map +0 -1
  483. package/dist-server/service/supervisor/index.d.ts +0 -5
  484. package/dist-server/service/supervisor/index.js +0 -9
  485. package/dist-server/service/supervisor/index.js.map +0 -1
  486. package/dist-server/service/supervisor/supervisor-mutation.d.ts +0 -10
  487. package/dist-server/service/supervisor/supervisor-mutation.js +0 -167
  488. package/dist-server/service/supervisor/supervisor-mutation.js.map +0 -1
  489. package/dist-server/service/supervisor/supervisor-query.d.ts +0 -12
  490. package/dist-server/service/supervisor/supervisor-query.js +0 -91
  491. package/dist-server/service/supervisor/supervisor-query.js.map +0 -1
  492. package/dist-server/service/supervisor/supervisor-type.d.ts +0 -23
  493. package/dist-server/service/supervisor/supervisor-type.js +0 -86
  494. package/dist-server/service/supervisor/supervisor-type.js.map +0 -1
  495. package/dist-server/service/supervisor/supervisor.d.ts +0 -28
  496. package/dist-server/service/supervisor/supervisor.js +0 -121
  497. package/dist-server/service/supervisor/supervisor.js.map +0 -1
  498. package/dist-server/tsconfig.tsbuildinfo +0 -1
@@ -1,926 +0,0 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import '@material/web/fab/fab.js';
3
- import '@material/web/icon/icon.js';
4
- import gql from 'graphql-tag';
5
- import { client } from '@operato/graphql';
6
- import { css, html, LitElement } from 'lit';
7
- import { customElement, property } from 'lit/decorators.js';
8
- import { ButtonContainerStyles, ScrollbarStyles } from '@operato/styles';
9
- import { CHECKLIST_MAIN_TYPE_LIST, BuildingInspectionStatus, BUILDING_INSPECTION_STATUS_DISPLAY, BUILDING_INSPECTION_RE_STATUS_DISPLAY } from '../building-inspection/building-inspection-list';
10
- import '@operato/input/ox-input-signature.js';
11
- import { store, connect } from '@operato/shell';
12
- import { openPopup } from '@operato/layout';
13
- import './comment-list-popup';
14
- import './attachment-list-popup';
15
- import './kcs-criteria-popup';
16
- import '../../stt/speech-to-text';
17
- import { parseSpeechCommand } from '../../stt/stt-utils';
18
- import { notify } from '@operato/layout';
19
- let ChecklistView = class ChecklistView extends connect(store)(LitElement) {
20
- constructor() {
21
- super(...arguments);
22
- this.mode = "VIEWER" /* ChecklistMode.VIEWER */;
23
- this.checklist = {};
24
- this.manager = {};
25
- this.buildingComplex = {
26
- id: '',
27
- taskConstructorEmails: [],
28
- overallConstructorEmails: [],
29
- taskSupervisoryEmails: [],
30
- overallSupervisoryEmails: []
31
- };
32
- this.status = BuildingInspectionStatus.WAIT;
33
- this.failCount = 0;
34
- this.projectType = "DSSP" /* ProjectType.DSSP */;
35
- this.isListening = false;
36
- this._tooltip = null;
37
- this._kcsDetail = null;
38
- this._kcsDetailItem = '';
39
- this._siteSpecDetail = null;
40
- this._siteSpecDetailItem = '';
41
- this._onStartSTT = (e) => {
42
- e.preventDefault();
43
- const stt = this.renderRoot.querySelector('#stt');
44
- if (!this.isListening) {
45
- stt === null || stt === void 0 ? void 0 : stt.startListening();
46
- }
47
- };
48
- this._onStopSTT = (e) => {
49
- e.preventDefault();
50
- const stt = this.renderRoot.querySelector('#stt');
51
- if (this.isListening) {
52
- stt === null || stt === void 0 ? void 0 : stt.stopListening();
53
- }
54
- };
55
- this._hideSiteSpecDetail = () => {
56
- this._siteSpecDetail = null;
57
- this.requestUpdate();
58
- };
59
- this._hideKcsDetail = () => {
60
- this._kcsDetail = null;
61
- this.requestUpdate();
62
- };
63
- }
64
- firstUpdated() {
65
- const stt = this.renderRoot.querySelector('#stt');
66
- if (stt) {
67
- stt.addEventListener('stt-result', (e) => {
68
- var _a, _b;
69
- const text = e.detail.finalTranscript;
70
- const parsed = parseSpeechCommand(text, ((_b = (_a = this.checklist) === null || _a === void 0 ? void 0 : _a.checklistItems) === null || _b === void 0 ? void 0 : _b.length) || 20);
71
- this._applySpeechCommand(parsed);
72
- });
73
- stt.addEventListener('stt-status', (e) => {
74
- // 음성 인식 상태에 따라 버튼 상태 갱신
75
- const status = e.detail.status;
76
- if (status && status.includes('Listening'))
77
- this.isListening = true;
78
- if (status && (status.includes('종료') || status.includes('Stopped')))
79
- this.isListening = false;
80
- this.requestUpdate();
81
- });
82
- }
83
- }
84
- /**
85
- * 음성 명령 해석 결과를 체크리스트에 반영
86
- */
87
- async _applySpeechCommand(parsed) {
88
- // 합격/불합격 처리 예시 (시공자 기준)
89
- if (parsed.rowIds && parsed.isPass !== null) {
90
- this.checklist.checklistItems = this.checklist.checklistItems.map((item, idx) => parsed.rowIds.includes(idx + 1) ? Object.assign(Object.assign({}, item), { constructionConfirmStatus: parsed.isPass ? 'T' : 'F' }) : item);
91
- this.requestUpdate();
92
- }
93
- // 조치사항 처리 예시
94
- if (parsed.rowIds && parsed.actionText) {
95
- const { rowIds, actionText } = parsed;
96
- const checklistItems = this.checklist.checklistItems;
97
- const ids = rowIds.length > 0 ? rowIds : Array.from({ length: checklistItems.length }, (_, i) => i + 1); // rowIds가 빈값이면 모든 아이템에 대해 조치사항 등록
98
- let count = 0;
99
- for (const rowId of ids) {
100
- const item = checklistItems[rowId - 1];
101
- count += await this._createChecklistItemComment(item.id, actionText);
102
- this._refreshItem({ detail: { checklistItemId: item.id } });
103
- }
104
- notify({ message: `${count}건의 조치사항을 등록했습니다.` });
105
- }
106
- }
107
- // 체크리스트 아이템 코멘트 생성
108
- async _createChecklistItemComment(checklistItemId, comment) {
109
- const response = await client.mutate({
110
- mutation: gql `
111
- mutation CreateChecklistItemComment($checklistItemComment: NewChecklistItemComment!) {
112
- createChecklistItemComment(checklistItemComment: $checklistItemComment) {
113
- id
114
- }
115
- }
116
- `,
117
- variables: {
118
- checklistItemComment: { comment, checklistItemId }
119
- }
120
- });
121
- return !response.errors ? 1 : 0;
122
- }
123
- render() {
124
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
125
- const today = this._getDate(new Date());
126
- // 시공자 스탭 여부
127
- const isConstructorStep = this.status == BuildingInspectionStatus.WAIT ||
128
- this.status == BuildingInspectionStatus.OVERALL_WAIT ||
129
- this.status == BuildingInspectionStatus.FAIL;
130
- // 감리자 스탭 여부
131
- const isSupervisoryStep = this.status == BuildingInspectionStatus.REQUEST || this.status == BuildingInspectionStatus.OVERALL_REQUEST;
132
- // 현재 스탭에 해당하는 계정인지 체크 (편집모드만)
133
- let havePermissionByStatus = false;
134
- let isTaskConstructor = false;
135
- let isOverallConstructor = false;
136
- let isTaskSupervisory = false;
137
- let isOverallSupervisory = false;
138
- if (this.mode == "EDITOR" /* ChecklistMode.EDITOR */ && this.status) {
139
- const email = (_b = (_a = store.getState().auth) === null || _a === void 0 ? void 0 : _a.user) === null || _b === void 0 ? void 0 : _b.email;
140
- // 현재 유저가 "공종별 시공 관리자" 인지 체크
141
- isTaskConstructor = ((_c = this.buildingComplex.taskConstructorEmails) === null || _c === void 0 ? void 0 : _c.includes(email)) || false;
142
- // 현재 유저가 "총괄 시공 책임자" 인지 체크
143
- isOverallConstructor = ((_d = this.buildingComplex.overallConstructorEmails) === null || _d === void 0 ? void 0 : _d.includes(email)) || false;
144
- // 현재 유저가 "공종별 감리 책임자" 인지 체크
145
- isTaskSupervisory = ((_e = this.buildingComplex.taskSupervisoryEmails) === null || _e === void 0 ? void 0 : _e.includes(email)) || false;
146
- // 현재 유저가 "총괄 감리 책임자" 인지 체크
147
- isOverallSupervisory = ((_f = this.buildingComplex.overallSupervisoryEmails) === null || _f === void 0 ? void 0 : _f.includes(email)) || false;
148
- // 스탭이 시공자 스탭일때에 내가 시공자 권한이 있는지 체크
149
- havePermissionByStatus = isConstructorStep
150
- ? isTaskConstructor || isOverallConstructor
151
- : isTaskSupervisory || isOverallSupervisory;
152
- }
153
- // 체크리스트 아이템 정렬
154
- (_h = (_g = this.checklist) === null || _g === void 0 ? void 0 : _g.checklistItems) === null || _h === void 0 ? void 0 : _h.sort((a, b) => {
155
- // 1순위: mainType 오름차순
156
- if (a.mainType < b.mainType)
157
- return -1;
158
- if (a.mainType > b.mainType)
159
- return 1;
160
- // 2순위: detailType 오름차순
161
- if (a.detailType < b.detailType)
162
- return -1;
163
- if (a.detailType > b.detailType)
164
- return 1;
165
- // 3순위: sequence 오름차순
166
- return a.sequence - b.sequence;
167
- });
168
- const checklistItems = ((_j = this.checklist) === null || _j === void 0 ? void 0 : _j.checklistItems) || [];
169
- const processedItems = this.drawChecklistItems(checklistItems);
170
- const hasAnyDetailType = checklistItems.some(item => item.detailType);
171
- return html `
172
- ${this.mode == "EDITOR" /* ChecklistMode.EDITOR */
173
- ? html `
174
- <speech-to-text id="stt"></speech-to-text>
175
- <md-fab
176
- class="stt-fab"
177
- ?active=${this.isListening}
178
- @mousedown=${this._onStartSTT}
179
- @mouseup=${this._onStopSTT}
180
- @mouseleave=${this._onStopSTT}
181
- @touchstart=${this._onStartSTT}
182
- @touchend=${this._onStopSTT}
183
- ?disabled=${false}
184
- .label=${this.isListening ? '말씀하세요...' : '길게 눌러서 음성 인식'}
185
- >
186
- <md-icon slot="icon">mic</md-icon>
187
- </md-fab>
188
- `
189
- : ''}
190
-
191
- <div title-row>
192
- <div name>${this.checklist.name}</div>
193
- </div>
194
- <table header>
195
- <tr>
196
- <th>공종</th>
197
- <td>${this.checklist.constructionType}</td>
198
- <th>문서 번호</th>
199
- <td>${this.checklist.documentNo}</td>
200
- </tr>
201
- <tr>
202
- <th>세부 공종</th>
203
- <td>${this.checklist.constructionDetailType}</td>
204
- <th>위치 및 부위</th>
205
- <td>${this.checklist.location}</td>
206
- </tr>
207
- <tr>
208
- ${this.projectType == "DSSP" /* ProjectType.DSSP */
209
- ? html `
210
- <th>담당자</th>
211
- <td>${((_k = this.manager) === null || _k === void 0 ? void 0 : _k.name) || ''}</td>
212
- `
213
- : html `
214
- <th>검측 부위</th>
215
- <td>${((_m = (_l = this.checklist) === null || _l === void 0 ? void 0 : _l.inspectionParts) === null || _m === void 0 ? void 0 : _m.join(', ')) || ''}</td>
216
- `}
217
-
218
- <th>검측 상태</th>
219
- <td>
220
- ${(this.failCount > 0 ? BUILDING_INSPECTION_RE_STATUS_DISPLAY : BUILDING_INSPECTION_STATUS_DISPLAY)[this.status]}
221
- </td>
222
- </tr>
223
- </table>
224
-
225
- <table body>
226
- <thead>
227
- <tr>
228
- <th colspan="${hasAnyDetailType ? 2 : 1}" rowspan="3" type>구분</th>
229
- <th rowspan="3" inspection-name>검사항목</th>
230
- <th rowspan="3" criteria>KCS 시방서 기준</th>
231
- <th rowspan="3" criteria>현장 시방서 기준</th>
232
- <th colspan="4" result>검사결과</th>
233
- <th rowspan="3" small>첨부자료</th>
234
- <th rowspan="3" small>조치사항</th>
235
- </tr>
236
- <tr>
237
- <th colspan="2">시공자</th>
238
- <th colspan="2">감리자</th>
239
- </tr>
240
- <tr>
241
- <th>적합</th>
242
- <th>부적합</th>
243
- <th>적합</th>
244
- <th>부적합</th>
245
- </tr>
246
- </thead>
247
- <tbody>
248
- ${processedItems.map(({ item, showMainTypeCell, mainTypeRowspan, showDetailTypeCell, detailTypeRowspan }, idx) => {
249
- var _a;
250
- const recs = ((_a = [
251
- item.recommendation1,
252
- item.recommendation2,
253
- item.recommendation3,
254
- item.recommendation4,
255
- item.recommendation5
256
- ]) === null || _a === void 0 ? void 0 : _a.filter(r => r)) || [];
257
- const hasRecs = recs.length > 0;
258
- const kcs = this._parseKcs(item.kcsCriteria);
259
- const hasKcs = !!kcs;
260
- const siteSpec = item.siteSpecCriteria || item.inspctionCriteria || '';
261
- return html ` <tr>
262
- ${showMainTypeCell
263
- ? html `<td main-type bold rowspan="${mainTypeRowspan}">
264
- ${CHECKLIST_MAIN_TYPE_LIST[item.mainType] || item.mainType}
265
- </td>`
266
- : ''}
267
- ${hasAnyDetailType
268
- ? showDetailTypeCell
269
- ? html ` <td bold rowspan="${detailTypeRowspan}">${item.detailType}</td> `
270
- : ''
271
- : ''}
272
-
273
- <td
274
- ?has-recommendation=${hasRecs}
275
- @mouseenter=${hasRecs ? (e) => this._showRecTooltip(e, item.id || idx, recs) : null}
276
- @mouseleave=${hasRecs ? () => this._hideRecTooltip() : null}
277
- >
278
- ${idx + 1}. ${item.name}
279
- ${hasRecs ? html `<md-icon style="font-size:14px;vertical-align:middle;color:#2e79be;">info</md-icon>` : ''}
280
- </td>
281
- <td kcs-criteria ?has-kcs=${hasKcs} @click=${hasKcs ? () => this._showKcsDetail(kcs, item.name) : null}>
282
- ${(kcs === null || kcs === void 0 ? void 0 : kcs.file_label) || ''}
283
- ${hasKcs ? html `<md-icon style="font-size:14px;vertical-align:middle;color:#2e79be;">search</md-icon>` : ''}
284
- </td>
285
- <td
286
- site-spec-criteria
287
- ?has-site-spec=${!!siteSpec}
288
- @click=${siteSpec ? () => this._showSiteSpecDetail(siteSpec, item.name) : null}
289
- >
290
- ${this._summarize(siteSpec)}
291
- ${siteSpec ? html `<md-icon style="font-size:14px;vertical-align:middle;color:#2e79be;">search</md-icon>` : ''}
292
- </td>
293
- <td radio>
294
- <md-radio
295
- item-id=${item.id}
296
- item-name="constructionConfirmStatus"
297
- name=${'radio-construction-' + item.id}
298
- value="T"
299
- .checked=${item.constructionConfirmStatus === 'T'}
300
- ?disabled=${!isConstructorStep || !havePermissionByStatus}
301
- @change=${this._onChangeConfirmStatus}
302
- ></md-radio>
303
- </td>
304
- <td radio>
305
- <md-radio
306
- item-id=${item.id}
307
- item-name="constructionConfirmStatus"
308
- name=${'radio-construction-' + item.id}
309
- value="F"
310
- .checked=${item.constructionConfirmStatus === 'F'}
311
- ?disabled=${!isConstructorStep || !havePermissionByStatus}
312
- @change=${this._onChangeConfirmStatus}
313
- ></md-radio>
314
- </td>
315
- <td radio>
316
- <md-radio
317
- item-id=${item.id}
318
- item-name="supervisoryConfirmStatus"
319
- name=${'radio-supervisory-' + item.id}
320
- value="T"
321
- .checked=${item.supervisoryConfirmStatus === 'T'}
322
- ?disabled=${!isSupervisoryStep || !havePermissionByStatus}
323
- @change=${this._onChangeConfirmStatus}
324
- ></md-radio>
325
- </td>
326
- <td radio>
327
- <md-radio
328
- item-id=${item.id}
329
- item-name="supervisoryConfirmStatus"
330
- name=${'radio-supervisory-' + item.id}
331
- value="F"
332
- .checked=${item.supervisoryConfirmStatus === 'F'}
333
- ?disabled=${!isSupervisoryStep || !havePermissionByStatus}
334
- @change=${this._onChangeConfirmStatus}
335
- ></md-radio>
336
- </td>
337
- <td
338
- attachment
339
- ?disabled=${this.status == BuildingInspectionStatus.PASS}
340
- @click=${() => this._onClickAttachment(item.id)}
341
- >
342
- <md-icon slot="icon">attach_file</md-icon>
343
- <span>${(item === null || item === void 0 ? void 0 : item.checklistItemAttachmentCount) || ''}</span>
344
- </td>
345
- <td comment ?disabled=${this.status == BuildingInspectionStatus.PASS} @click=${() => this._onClickComment(item.id)}>
346
- <md-icon slot="icon">chat</md-icon>
347
- <span>${(item === null || item === void 0 ? void 0 : item.checklistItemCommentCount) || ''}</span>
348
- </td>
349
- </tr>`;
350
- })}
351
- </tbody>
352
- </table>
353
-
354
- <table tail>
355
- <tbody>
356
- <tr first>
357
- <th rowspan="2">시공자 점검일</th>
358
- <td rowspan="2">
359
- ${this.mode == "VIEWER" /* ChecklistMode.VIEWER */ ? today : this._getDate(this.checklist.constructionInspectionDate)}
360
- </td>
361
- <th>공종별 시공 관리자</th>
362
- <td>
363
- <span sign-text>(인)</span>
364
- <ox-input-signature
365
- .value=${this.checklist.taskConstructorSignature}
366
- name="taskConstructorSignature"
367
- @change=${this._onChangeSignature}
368
- ?disabled=${(this.status != BuildingInspectionStatus.WAIT && this.status != BuildingInspectionStatus.FAIL) ||
369
- !isTaskConstructor}
370
- >
371
- </ox-input-signature>
372
- </td>
373
- </tr>
374
- <tr>
375
- <th>총괄 시공 책임자</th>
376
- <td>
377
- <span sign-text>(인)</span>
378
- <ox-input-signature
379
- .value=${this.checklist.overallConstructorSignature}
380
- name="overallConstructorSignature"
381
- @change=${this._onChangeSignature}
382
- ?disabled=${this.status != BuildingInspectionStatus.OVERALL_WAIT || !isOverallConstructor}
383
- >
384
- </ox-input-signature>
385
- </td>
386
- </tr>
387
- <tr>
388
- <th rowspan="2">감리자 점검일</th>
389
- <td rowspan="2">
390
- ${this.mode == "VIEWER" /* ChecklistMode.VIEWER */ ? today : this._getDate(this.checklist.supervisorInspectionDate)}
391
- </td>
392
- <th>공종별 감리 책임자</th>
393
- <td>
394
- <span sign-text>(인)</span>
395
- <ox-input-signature
396
- .value=${this.checklist.taskSupervisorySignature}
397
- name="taskSupervisorySignature"
398
- @change=${this._onChangeSignature}
399
- ?disabled=${this.status != BuildingInspectionStatus.REQUEST || !isTaskSupervisory}
400
- >
401
- </ox-input-signature>
402
- </td>
403
- </tr>
404
- <tr>
405
- <th>총괄 감리 책임자</th>
406
- <td>
407
- <span sign-text>(인)</span>
408
- <ox-input-signature
409
- .value=${this.checklist.overallSupervisorySignature}
410
- name="overallSupervisorySignature"
411
- @change=${this._onChangeSignature}
412
- ?disabled=${this.status != BuildingInspectionStatus.OVERALL_REQUEST || !isOverallSupervisory}
413
- >
414
- </ox-input-signature>
415
- </td>
416
- </tr>
417
- </tbody>
418
- </table>
419
-
420
- <div footer>
421
- <div>
422
- - 검사결과는 1차, 2차로 구분 재검측시 2차에 기록하고 검사기준도 검사결과와 비교될 수 있도록 시방서 또는 도면 등에 있는
423
- 수치를 작성하며, 수치가 없는 검사항목은 시방서 또는 설계도서에 있는 내용과 검사한 내용으로 작성함
424
- </div>
425
- <div>- 검사항목 및 검사기준은 각 공종별로 감리원과 협의하여 작성할 것</div>
426
- </div>
427
-
428
- ${this._tooltip
429
- ? html `
430
- <div recommendation-tooltip style="left:${this._tooltip.x}px;top:${this._tooltip.y}px;">
431
- <div tooltip-title>추천 검사 항목</div>
432
- ${this._tooltip.recs.map(r => html `<div tooltip-item>${r}</div>`)}
433
- </div>
434
- `
435
- : ''}
436
- ${this._kcsDetail
437
- ? html `<kcs-criteria-popup
438
- .kcs=${this._kcsDetail}
439
- .itemName=${this._kcsDetailItem}
440
- @close=${this._hideKcsDetail}
441
- ></kcs-criteria-popup>`
442
- : ''}
443
- ${this._siteSpecDetail
444
- ? html `<kcs-criteria-popup
445
- .popupTitle=${'현장 시방서 기준'}
446
- .kcs=${{ text: this._siteSpecDetail }}
447
- .itemName=${this._siteSpecDetailItem}
448
- @close=${this._hideSiteSpecDetail}
449
- ></kcs-criteria-popup>`
450
- : ''}
451
- `;
452
- }
453
- // 본문 앞 20글자 요약 (그 뒤는 ... 처리)
454
- _summarize(text, length = 20) {
455
- if (!text)
456
- return '';
457
- return text.length > length ? `${text.slice(0, length)}...` : text;
458
- }
459
- // 현장 시방서 기준 상세(본문 전체)를 팝업으로 표시
460
- _showSiteSpecDetail(text, itemName = '') {
461
- this._siteSpecDetail = text;
462
- this._siteSpecDetailItem = itemName;
463
- this.requestUpdate();
464
- }
465
- // KCS 기준 JSON 문자열을 오브젝트로 파싱 (file_label/clause/text 포함)
466
- _parseKcs(kcsCriteria) {
467
- if (!kcsCriteria)
468
- return null;
469
- try {
470
- const obj = JSON.parse(kcsCriteria);
471
- return obj && (obj.file_label || obj.text) ? obj : null;
472
- }
473
- catch (_a) {
474
- return null;
475
- }
476
- }
477
- // KCS 기준 상세(text)를 팝업으로 표시
478
- _showKcsDetail(kcs, itemName = '') {
479
- this._kcsDetail = kcs;
480
- this._kcsDetailItem = itemName;
481
- this.requestUpdate();
482
- }
483
- _onChangeConfirmStatus(e) {
484
- var _a, _b;
485
- const target = e.target;
486
- const itemId = target.getAttribute('item-id');
487
- const name = target.getAttribute('item-name') || '';
488
- const value = target.value;
489
- this.checklist.checklistItems = (_b = (_a = this.checklist) === null || _a === void 0 ? void 0 : _a.checklistItems) === null || _b === void 0 ? void 0 : _b.map(item => item.id == itemId ? Object.assign(Object.assign({}, item), { [name]: value }) : item);
490
- }
491
- _onChangeSignature(e) {
492
- var _a;
493
- const target = e.target;
494
- const { name: userName } = (_a = store.getState().auth) === null || _a === void 0 ? void 0 : _a.user;
495
- this.checklist[target.name] = target.value;
496
- // 서명할 때 해당 사용자 ID도 업데이트
497
- if (userName) {
498
- switch (target.name) {
499
- case 'taskConstructorSignature':
500
- this.checklist.taskConstructor = { name: userName };
501
- break;
502
- case 'overallConstructorSignature':
503
- this.checklist.overallConstructor = { name: userName };
504
- break;
505
- case 'taskSupervisorySignature':
506
- this.checklist.taskSupervisory = { name: userName };
507
- break;
508
- case 'overallSupervisorySignature':
509
- this.checklist.overallSupervisory = { name: userName };
510
- break;
511
- }
512
- }
513
- }
514
- _getDate(date) {
515
- if (!date)
516
- return ' 년 월 일';
517
- const _date = new Date(date) || new Date();
518
- return _date.toLocaleDateString('ko-KR', {
519
- timeZone: 'Asia/Seoul',
520
- year: 'numeric',
521
- month: 'long',
522
- day: 'numeric'
523
- });
524
- }
525
- drawChecklistItems(checklistItems) {
526
- const mainTypeRowspans = {};
527
- const detailTypeRowspans = {};
528
- let previousMainType = null;
529
- let previousDetailType = null;
530
- return checklistItems.map((item, index) => {
531
- const mainType = item.mainType;
532
- const detailType = item.detailType;
533
- // mainType이 변경되면 rowspan을 계산
534
- if (mainType !== previousMainType) {
535
- mainTypeRowspans[mainType] = checklistItems.filter(i => i.mainType === mainType).length;
536
- previousDetailType = null; // detailType 초기화
537
- }
538
- // detailType이 변경되면 rowspan을 계산
539
- if (detailType !== previousDetailType) {
540
- detailTypeRowspans[`${mainType}-${detailType}`] = checklistItems.filter(i => i.mainType === mainType && i.detailType === detailType).length;
541
- }
542
- const showMainTypeCell = mainType !== previousMainType;
543
- const showDetailTypeCell = detailType !== previousDetailType;
544
- const mainTypeRowspan = mainTypeRowspans[mainType];
545
- const detailTypeRowspan = detailTypeRowspans[`${mainType}-${detailType}`];
546
- // 이전 값을 업데이트
547
- previousMainType = mainType;
548
- previousDetailType = detailType;
549
- return {
550
- item,
551
- showMainTypeCell,
552
- mainTypeRowspan,
553
- showDetailTypeCell,
554
- detailTypeRowspan
555
- };
556
- });
557
- }
558
- _onClickComment(checklistItemId) {
559
- openPopup(html `
560
- <comment-list-popup
561
- .checklistItemId=${checklistItemId}
562
- .status=${this.status}
563
- .mode=${this.mode}
564
- @change-comment=${this._refreshItem.bind(this)}
565
- ></comment-list-popup>
566
- `, { backdrop: true, size: 'medium', title: '조치 사항' });
567
- }
568
- _onClickAttachment(checklistItemId) {
569
- openPopup(html `
570
- <attachment-list-popup
571
- .checklistItemId=${checklistItemId}
572
- .status=${this.status}
573
- .mode=${this.mode}
574
- @change-attachment=${this._refreshItem.bind(this)}
575
- ></attachment-list-popup>
576
- `, { backdrop: true, size: 'medium', title: '첨부 자료' });
577
- }
578
- async _refreshItem(e) {
579
- var _a;
580
- const { checklistItemId } = e.detail;
581
- const response = await client.query({
582
- query: gql `
583
- query ChecklistItem($checklistItemId: String!) {
584
- checklistItem(id: $checklistItemId) {
585
- id
586
- checklistItemCommentCount
587
- checklistItemAttachmentCount
588
- }
589
- }
590
- `,
591
- variables: {
592
- checklistItemId: checklistItemId
593
- }
594
- });
595
- const checklistItem = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.checklistItem) || [];
596
- this.checklist.checklistItems = this.checklist.checklistItems.map(item => {
597
- return item.id != checklistItemId ? item : Object.assign(Object.assign({}, item), checklistItem);
598
- });
599
- this.requestUpdate();
600
- }
601
- _showRecTooltip(e, id, recs) {
602
- const td = e.currentTarget;
603
- const rect = td.getBoundingClientRect();
604
- const tooltipHeight = recs.length * 24 + 40;
605
- // 위에 공간이 부족하면 아래로
606
- const showBelow = rect.top < tooltipHeight;
607
- const x = rect.left;
608
- const y = showBelow ? rect.bottom + 4 : rect.top - tooltipHeight;
609
- this._tooltip = { id: String(id), x, y, recs };
610
- this.requestUpdate();
611
- }
612
- _hideRecTooltip() {
613
- this._tooltip = null;
614
- this.requestUpdate();
615
- }
616
- };
617
- ChecklistView.styles = [
618
- ButtonContainerStyles,
619
- ScrollbarStyles,
620
- css `
621
- :host {
622
- display: flex;
623
- flex-direction: column;
624
- padding: var(--spacing-large, 12px);
625
- padding-top: 0;
626
- font-size: 14px;
627
- min-width: 800px;
628
-
629
- position: relative;
630
- }
631
-
632
- [bold] {
633
- font-weight: bold;
634
- }
635
-
636
- div[name] {
637
- display: flex;
638
- color: #586878;
639
- font-size: 24px;
640
- align-items: center;
641
- justify-content: center;
642
- }
643
-
644
- table {
645
- width: 100%;
646
- font-size: 15px;
647
- color: #586878;
648
- text-align: left;
649
- border-collapse: collapse;
650
- td,
651
- th {
652
- border: 1px rgba(51, 51, 51, 0.2) solid;
653
- padding-inline: var(--spacing-medium, 8px);
654
- vertical-align: middle;
655
- }
656
- th {
657
- background-color: #efefef;
658
- font-weight: bold;
659
- }
660
- td {
661
- height: 33px;
662
- background-color: var(--md-sys-color-on-primary);
663
- &[radio] {
664
- text-align: center;
665
- width: 50px;
666
- }
667
- }
668
- }
669
-
670
- table[header] {
671
- margin-top: var(--spacing-small, 4px);
672
-
673
- td {
674
- min-width: 180px;
675
- border-left: none;
676
- }
677
- th {
678
- width: 110px;
679
- border-right: none;
680
- }
681
- }
682
-
683
- table[body] {
684
- border: 2px solid var(--md-sys-color-on-primary-container);
685
- border-bottom: none;
686
- margin-top: var(--spacing-medium, 8px);
687
-
688
- th {
689
- text-align: center;
690
-
691
- &[type] {
692
- min-width: 150px;
693
- }
694
- &[inspection-name] {
695
- min-width: 250px;
696
- }
697
- &[result] {
698
- width: 270px;
699
- }
700
- &[criteria] {
701
- width: 200px;
702
- }
703
- &[small] {
704
- width: 60px;
705
- }
706
- }
707
- td {
708
- &[main-type] {
709
- width: 50px;
710
- text-align: center;
711
- word-break: keep-all;
712
- }
713
-
714
- &[attachment] {
715
- text-align: center;
716
- cursor: pointer;
717
-
718
- * {
719
- vertical-align: middle;
720
- }
721
- }
722
- &[comment] {
723
- cursor: pointer;
724
- text-align: center;
725
-
726
- * {
727
- vertical-align: middle;
728
- }
729
- }
730
- &[disabled] * {
731
- opacity: 0.6;
732
- }
733
- }
734
- }
735
-
736
- table[tail] {
737
- border: 2px solid var(--md-sys-color-on-primary-container);
738
- border-top: none;
739
- margin-top: -1px;
740
-
741
- td {
742
- width: 25%;
743
- border-left: none;
744
- text-align: center;
745
- position: relative;
746
- background-color: var(--md-sys-color-on-primary);
747
- font-size: 14px;
748
- }
749
- th {
750
- width: 25%;
751
- border-right: none;
752
- }
753
-
754
- span[sign-text] {
755
- position: absolute;
756
- top: 50%;
757
- left: 50%;
758
- transform: translate(-50%, -50%);
759
- pointer-events: none;
760
- }
761
- ox-input-signature {
762
- margin: var(--spacing-medium, 8px);
763
-
764
- &[disabled] {
765
- background: #eee;
766
- }
767
- }
768
- }
769
-
770
- div[footer] {
771
- display: flex;
772
- flex-direction: column;
773
- gap: var(--spacing-tiny, 2px);
774
- font-size: 12px;
775
- margin-top: var(--spacing-medium, 8px);
776
- color: #586878;
777
- text-indent: -9px;
778
- padding-left: var(--spacing-medium, 8px);
779
- }
780
-
781
- .stt-float-btns {
782
- position: absolute;
783
- top: 0;
784
- right: 0;
785
- display: flex;
786
- gap: 8px;
787
- z-index: 10;
788
- }
789
- .stt-float-btns button {
790
- background: #fff;
791
- border: 1px solid #ccc;
792
- border-radius: 50%;
793
- width: 38px;
794
- height: 38px;
795
- font-size: 18px;
796
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
797
- cursor: pointer;
798
- transition: background 0.2s;
799
- outline: none;
800
- }
801
- .stt-float-btns button:hover {
802
- background: #f2f2f2;
803
- }
804
- div[title-row] {
805
- position: relative;
806
- display: flex;
807
- align-items: center;
808
- justify-content: center;
809
- margin-bottom: 8px;
810
- }
811
- div[name] {
812
- color: #586878;
813
- font-size: 24px;
814
- font-weight: bold;
815
- flex: 1;
816
- text-align: center;
817
- }
818
-
819
- @keyframes pulse {
820
- 0% {
821
- filter: drop-shadow(0 0 0 #d32f2f);
822
- }
823
- 70% {
824
- filter: drop-shadow(0 0 8px #d32f2f);
825
- }
826
- 100% {
827
- filter: drop-shadow(0 0 0 #d32f2f);
828
- }
829
- }
830
-
831
- /* 추천 검사 항목 툴팁 */
832
- td[has-recommendation] {
833
- cursor: pointer;
834
- position: relative;
835
- }
836
- td[has-recommendation]:hover {
837
- background-color: #f0f7ff !important;
838
- }
839
- div[recommendation-tooltip] {
840
- position: fixed;
841
- z-index: 1000;
842
- background: #333;
843
- color: #fff;
844
- padding: 8px 12px;
845
- border-radius: 6px;
846
- font-size: 13px;
847
- max-width: 350px;
848
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
849
- line-height: 1.6;
850
- pointer-events: none;
851
- }
852
- div[recommendation-tooltip] div[tooltip-title] {
853
- font-weight: bold;
854
- color: #8fc9ff;
855
- margin-bottom: 4px;
856
- font-size: 12px;
857
- }
858
- div[recommendation-tooltip] div[tooltip-item] {
859
- padding-left: 8px;
860
- }
861
- div[recommendation-tooltip] div[tooltip-item]::before {
862
- content: '• ';
863
- color: #8fc9ff;
864
- }
865
-
866
- /* KCS 시방서 기준 셀 (클릭 시 상세 팝업) */
867
- td[kcs-criteria][has-kcs] {
868
- cursor: pointer;
869
- color: #2e79be;
870
- }
871
- td[kcs-criteria][has-kcs]:hover {
872
- background-color: #f0f7ff !important;
873
- }
874
- td[site-spec-criteria][has-site-spec] {
875
- cursor: pointer;
876
- color: #2e79be;
877
- }
878
- td[site-spec-criteria][has-site-spec]:hover {
879
- background-color: #f0f7ff !important;
880
- }
881
-
882
- .stt-fab {
883
- position: fixed;
884
- top: 100px;
885
- right: 20px;
886
- z-index: 1;
887
- }
888
-
889
- .stt-fab[active] md-icon {
890
- color: #d32f2f;
891
- animation: pulse 1s infinite;
892
- }
893
- `
894
- ];
895
- __decorate([
896
- property({ type: String }),
897
- __metadata("design:type", String)
898
- ], ChecklistView.prototype, "mode", void 0);
899
- __decorate([
900
- property({ type: Object }),
901
- __metadata("design:type", Object)
902
- ], ChecklistView.prototype, "checklist", void 0);
903
- __decorate([
904
- property({ type: Object }),
905
- __metadata("design:type", Object)
906
- ], ChecklistView.prototype, "manager", void 0);
907
- __decorate([
908
- property({ type: Object }),
909
- __metadata("design:type", Object)
910
- ], ChecklistView.prototype, "buildingComplex", void 0);
911
- __decorate([
912
- property({ type: String }),
913
- __metadata("design:type", String)
914
- ], ChecklistView.prototype, "status", void 0);
915
- __decorate([
916
- property({ type: Number }),
917
- __metadata("design:type", Number)
918
- ], ChecklistView.prototype, "failCount", void 0);
919
- __decorate([
920
- property({ type: String }),
921
- __metadata("design:type", String)
922
- ], ChecklistView.prototype, "projectType", void 0);
923
- ChecklistView = __decorate([
924
- customElement('checklist-view')
925
- ], ChecklistView);
926
- //# sourceMappingURL=checklist-view.js.map