@dssp/dkpi 1.0.0-alpha.80 → 1.0.0-alpha.82

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 (68) hide show
  1. package/dist-client/bootstrap.d.ts +1 -0
  2. package/dist-client/bootstrap.js +11 -0
  3. package/dist-client/bootstrap.js.map +1 -1
  4. package/dist-client/components/kpi-single-boxplot-chart.d.ts +3 -2
  5. package/dist-client/components/kpi-single-boxplot-chart.js +30 -23
  6. package/dist-client/components/kpi-single-boxplot-chart.js.map +1 -1
  7. package/dist-client/pages/component/project-update-header.d.ts +1 -0
  8. package/dist-client/pages/component/project-update-header.js +127 -0
  9. package/dist-client/pages/component/project-update-header.js.map +1 -0
  10. package/dist-client/pages/kpi-admin/kpi-system-guide.d.ts +1 -1
  11. package/dist-client/pages/kpi-admin/kpi-system-guide.js +29 -21
  12. package/dist-client/pages/kpi-admin/kpi-system-guide.js.map +1 -1
  13. package/dist-client/pages/kpi-metric-value/kpi-metric-value-list-page.d.ts +1 -1
  14. package/dist-client/pages/kpi-metric-value/kpi-metric-value-list-page.js +1 -1
  15. package/dist-client/pages/kpi-metric-value/kpi-metric-value-list-page.js.map +1 -1
  16. package/dist-client/pages/kpi-value/kpi-value-list-page.js +1 -1
  17. package/dist-client/pages/kpi-value/kpi-value-list-page.js.map +1 -1
  18. package/dist-client/pages/project-complete-tabs/pc-tab1-plan.d.ts +21 -2
  19. package/dist-client/pages/project-complete-tabs/pc-tab1-plan.js +166 -134
  20. package/dist-client/pages/project-complete-tabs/pc-tab1-plan.js.map +1 -1
  21. package/dist-client/pages/project-complete-tabs/pc-tab2-rating.d.ts +4 -2
  22. package/dist-client/pages/project-complete-tabs/pc-tab2-rating.js +109 -44
  23. package/dist-client/pages/project-complete-tabs/pc-tab2-rating.js.map +1 -1
  24. package/dist-client/pages/project-complete-tabs/pc-tab3-upload.d.ts +3 -0
  25. package/dist-client/pages/project-complete-tabs/pc-tab3-upload.js +32 -4
  26. package/dist-client/pages/project-complete-tabs/pc-tab3-upload.js.map +1 -1
  27. package/dist-client/pages/project-complete-tabs/pc-tab4-monthly.d.ts +24 -0
  28. package/dist-client/pages/project-complete-tabs/pc-tab4-monthly.js +365 -157
  29. package/dist-client/pages/project-complete-tabs/pc-tab4-monthly.js.map +1 -1
  30. package/dist-client/pages/sv-project-complete.d.ts +4 -1
  31. package/dist-client/pages/sv-project-complete.js +43 -12
  32. package/dist-client/pages/sv-project-complete.js.map +1 -1
  33. package/dist-client/pages/sv-project-completed-list.js +3 -3
  34. package/dist-client/pages/sv-project-completed-list.js.map +1 -1
  35. package/dist-client/pages/sv-project-detail.d.ts +11 -0
  36. package/dist-client/pages/sv-project-detail.js +188 -46
  37. package/dist-client/pages/sv-project-detail.js.map +1 -1
  38. package/dist-client/pages/sv-project-list.d.ts +10 -0
  39. package/dist-client/pages/sv-project-list.js +96 -6
  40. package/dist-client/pages/sv-project-list.js.map +1 -1
  41. package/dist-client/pages/sv-project-update.d.ts +86 -0
  42. package/dist-client/pages/sv-project-update.js +1121 -0
  43. package/dist-client/pages/sv-project-update.js.map +1 -0
  44. package/dist-client/route.d.ts +1 -1
  45. package/dist-client/route.js +3 -0
  46. package/dist-client/route.js.map +1 -1
  47. package/dist-client/shared/complete-api.d.ts +10 -9
  48. package/dist-client/shared/complete-api.js +47 -19
  49. package/dist-client/shared/complete-api.js.map +1 -1
  50. package/dist-client/tsconfig.tsbuildinfo +1 -1
  51. package/dist-client/viewparts/menu-tools.js +47 -54
  52. package/dist-client/viewparts/menu-tools.js.map +1 -1
  53. package/dist-server/service/kpi-metric-value/kpi-metric-value-mutation.d.ts +23 -0
  54. package/dist-server/service/kpi-metric-value/kpi-metric-value-mutation.js +72 -28
  55. package/dist-server/service/kpi-metric-value/kpi-metric-value-mutation.js.map +1 -1
  56. package/dist-server/service/kpi-metric-value/kpi-metric-value-query.js +9 -2
  57. package/dist-server/service/kpi-metric-value/kpi-metric-value-query.js.map +1 -1
  58. package/dist-server/service/kpi-stat/kpi-stat-query.js +19 -18
  59. package/dist-server/service/kpi-stat/kpi-stat-query.js.map +1 -1
  60. package/dist-server/service/kpi-value/kpi-value-query.js +2 -2
  61. package/dist-server/service/kpi-value/kpi-value-query.js.map +1 -1
  62. package/dist-server/tsconfig.tsbuildinfo +1 -1
  63. package/package.json +3 -3
  64. package/schema.graphql +13 -1
  65. package/things-factory.config.js +1 -0
  66. package/dist-client/shared/domain-context.d.ts +0 -7
  67. package/dist-client/shared/domain-context.js +0 -13
  68. package/dist-client/shared/domain-context.js.map +0 -1
@@ -0,0 +1,1121 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import '@material/web/icon/icon.js';
3
+ import '@material/web/button/elevated-button.js';
4
+ import '@material/web/textfield/outlined-text-field.js';
5
+ import { PageView } from '@operato/shell';
6
+ import { css, html } from 'lit';
7
+ import { customElement, state } from 'lit/decorators.js';
8
+ import { ScopedElementsMixin } from '@open-wc/scoped-elements';
9
+ import { client } from '@operato/graphql';
10
+ import { notify } from '@operato/layout';
11
+ import { OxPrompt } from '@operato/popup';
12
+ import gql from 'graphql-tag';
13
+ import '@dssp/project/dist-client/pages/lib/select2-component';
14
+ import './component/project-update-header';
15
+ import { isProjectTypeDomain, tenantHeaders } from '@dssp/project/dist-client/shared/domain-context';
16
+ let SvProjectUpdate = class SvProjectUpdate extends ScopedElementsMixin(PageView) {
17
+ constructor() {
18
+ super(...arguments);
19
+ this.defaultProject = {
20
+ name: '',
21
+ documentNaming: '',
22
+ buildingComplex: {
23
+ address: '',
24
+ area: 0,
25
+ constructionCompany: '',
26
+ clientCompany: '',
27
+ supervisoryCompany: '',
28
+ designCompany: '',
29
+ constructionType: '',
30
+ buildings: []
31
+ }
32
+ };
33
+ this.projectId = '';
34
+ this.project = Object.assign({}, this.defaultProject);
35
+ this.selectedValues = [];
36
+ this.overallConstructorList = [];
37
+ this.taskConstructorList = [];
38
+ this.taskSupervisoryList = [];
39
+ this.overallSupervisoryList = [];
40
+ this.collectingBasicInfo = false;
41
+ /**
42
+ * 완료(COMPLETED) 상태 프로젝트를 진행중(ONGOING) 으로 되돌림.
43
+ * ProjectPatch 의 state 필드만 갱신 — 다른 폼 필드는 건드리지 않음.
44
+ */
45
+ this._onUnfinalize = async () => {
46
+ var _a, _b;
47
+ if (!((_a = this.project) === null || _a === void 0 ? void 0 : _a.id))
48
+ return;
49
+ const ok = await OxPrompt.open({
50
+ title: '완료 상태 해제',
51
+ confirmButton: { text: '확인' },
52
+ cancelButton: { text: '취소' }
53
+ });
54
+ if (!ok)
55
+ return;
56
+ const response = await client.mutate({
57
+ mutation: gql `
58
+ mutation UpdateProject($project: ProjectPatch!) {
59
+ updateProject(project: $project) {
60
+ id
61
+ state
62
+ }
63
+ }
64
+ `,
65
+ variables: { project: { id: this.project.id, state: 'ONGOING' } },
66
+ context: { headers: tenantHeaders((_b = this.project) === null || _b === void 0 ? void 0 : _b.code) }
67
+ });
68
+ if (!response.errors) {
69
+ notify({ message: '진행중 상태로 변경되었습니다.' });
70
+ await this.initProject(this.project.id);
71
+ }
72
+ };
73
+ }
74
+ get context() {
75
+ var _a, _b;
76
+ return {
77
+ title: !isProjectTypeDomain() && ((_a = this.project) === null || _a === void 0 ? void 0 : _a.name)
78
+ ? `프로젝트 정보 관리 - ${(_b = this.project) === null || _b === void 0 ? void 0 : _b.name}`
79
+ : '프로젝트 정보 관리'
80
+ };
81
+ }
82
+ render() {
83
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
84
+ return html `
85
+ <dkpi-project-update-header
86
+ .projectId=${this.project.id || ''}
87
+ .projectState=${this.project.state || ''}
88
+ title="프로젝트 정보 관리"
89
+ @custom-click=${this._saveProject}
90
+ @unfinalize=${this._onUnfinalize}
91
+ ></dkpi-project-update-header>
92
+
93
+ <div body>
94
+ <div project-info>
95
+ <h3>기본 정보</h3>
96
+ <div row>
97
+ <span>프로젝트명</span>
98
+ <span
99
+ ><md-outlined-text-field
100
+ type="text"
101
+ name="name"
102
+ project
103
+ .value=${this.project.name || ''}
104
+ @input=${this._onInputChange}
105
+ ></md-outlined-text-field>
106
+ </span>
107
+ </div>
108
+ <div row>
109
+ <span></span>
110
+ <span>
111
+ <div document-preview>📄 문서 생성 예시: <br />${this.project.documentNaming} 검측 제01-00001호</div>
112
+ </span>
113
+ </div>
114
+ <div row>
115
+ <span>프로젝트 주소</span>
116
+ <span class="address-row">
117
+ <md-outlined-text-field
118
+ type="text"
119
+ name="address"
120
+ building-complex
121
+ .value=${((_b = (_a = this.project) === null || _a === void 0 ? void 0 : _a.buildingComplex) === null || _b === void 0 ? void 0 : _b.address) || ''}
122
+ @input=${this._onInputChange}
123
+ ></md-outlined-text-field>
124
+ <md-elevated-button
125
+ class="info-link-btn"
126
+ ?disabled=${this.collectingBasicInfo}
127
+ @click=${() => this._collectBasicInfo()}
128
+ title="입력된 주소로 세움터 건축물대장 정보를 가져와 폼을 채웁니다"
129
+ >
130
+ ${this.collectingBasicInfo ? '연동 중…' : '🔗 정보 연동'}
131
+ </md-elevated-button>
132
+ </span>
133
+ </div>
134
+ <div row>
135
+ <span>연 면적</span>
136
+ <span align-end
137
+ ><md-outlined-text-field
138
+ type="text"
139
+ name="area"
140
+ numeric
141
+ building-complex
142
+ .value=${((_e = (_d = (_c = this.project) === null || _c === void 0 ? void 0 : _c.buildingComplex) === null || _d === void 0 ? void 0 : _d.area) === null || _e === void 0 ? void 0 : _e.toString()) || ''}
143
+ @input=${this._onInputChange}
144
+ suffix-text="㎡"
145
+ ></md-outlined-text-field>
146
+ </span>
147
+ </div>
148
+
149
+ <div row>
150
+ <span>용적률</span>
151
+ <span align-end>
152
+ <md-outlined-text-field
153
+ type="text"
154
+ name="floorAreaRatio"
155
+ numeric
156
+ building-complex
157
+ .value=${((_h = (_g = (_f = this.project) === null || _f === void 0 ? void 0 : _f.buildingComplex) === null || _g === void 0 ? void 0 : _g.floorAreaRatio) === null || _h === void 0 ? void 0 : _h.toString()) || ''}
158
+ @input=${this._onInputChange}
159
+ suffix-text="%"
160
+ ></md-outlined-text-field>
161
+ </span>
162
+ </div>
163
+
164
+ <div row>
165
+ <span>착공일정 ~ 준공일정</span>
166
+ <span
167
+ ><input
168
+ type="date"
169
+ name="startDate"
170
+ project
171
+ .value=${this.project.startDate || ''}
172
+ @input=${this._onInputChange}
173
+ max="9999-12-31"
174
+ />
175
+ ~
176
+ <input
177
+ type="date"
178
+ name="endDate"
179
+ project
180
+ .value=${this.project.endDate || ''}
181
+ @input=${this._onInputChange}
182
+ max="9999-12-31"
183
+ />
184
+ </span>
185
+ </div>
186
+
187
+ <div row>
188
+ <span>유형</span>
189
+ <span
190
+ ><md-filled-select name="sectorType" project @change=${this._onInputChange}>
191
+ <md-select-option ?selected=${!this.project.sectorType} value="">
192
+ <div slot="headline">선택</div>
193
+ </md-select-option>
194
+ <md-select-option ?selected=${this.project.sectorType === 'PUBLIC'} value="PUBLIC">
195
+ <div slot="headline">공공</div>
196
+ </md-select-option>
197
+ <md-select-option ?selected=${this.project.sectorType === 'PRIVATE'} value="PRIVATE">
198
+ <div slot="headline">민간</div>
199
+ </md-select-option>
200
+ </md-filled-select>
201
+ </span>
202
+ </div>
203
+ <div row>
204
+ <span>용도</span>
205
+ <span
206
+ ><md-filled-select name="buildingUsage" project @change=${this._onInputChange}>
207
+ <md-select-option ?selected=${!this.project.buildingUsage} value="">
208
+ <div slot="headline">선택</div>
209
+ </md-select-option>
210
+ <md-select-option
211
+ ?selected=${this.project.buildingUsage === 'RESIDENTIAL'}
212
+ value="RESIDENTIAL"
213
+ >
214
+ <div slot="headline">주거</div>
215
+ </md-select-option>
216
+ <md-select-option
217
+ ?selected=${this.project.buildingUsage === 'NON_RESIDENTIAL'}
218
+ value="NON_RESIDENTIAL"
219
+ >
220
+ <div slot="headline">비주거</div>
221
+ </md-select-option>
222
+ </md-filled-select>
223
+ </span>
224
+ </div>
225
+
226
+ <div row>
227
+ <span>발주처</span>
228
+ <span
229
+ ><md-outlined-text-field
230
+ type="text"
231
+ name="clientCompany"
232
+ building-complex
233
+ .value=${((_k = (_j = this.project) === null || _j === void 0 ? void 0 : _j.buildingComplex) === null || _k === void 0 ? void 0 : _k.clientCompany) || ''}
234
+ @input=${this._onInputChange}
235
+ ></md-outlined-text-field>
236
+ </span>
237
+ </div>
238
+ <div row>
239
+ <span>건설사</span>
240
+ <span
241
+ ><md-outlined-text-field
242
+ type="text"
243
+ name="constructionCompany"
244
+ building-complex
245
+ .value=${((_m = (_l = this.project) === null || _l === void 0 ? void 0 : _l.buildingComplex) === null || _m === void 0 ? void 0 : _m.constructionCompany) || ''}
246
+ @input=${this._onInputChange}
247
+ ></md-outlined-text-field>
248
+ </span>
249
+ </div>
250
+ <div row>
251
+ <span>설계사</span>
252
+ <span
253
+ ><md-outlined-text-field
254
+ type="text"
255
+ name="designCompany"
256
+ building-complex
257
+ .value=${((_p = (_o = this.project) === null || _o === void 0 ? void 0 : _o.buildingComplex) === null || _p === void 0 ? void 0 : _p.designCompany) || ''}
258
+ @input=${this._onInputChange}
259
+ ></md-outlined-text-field>
260
+ </span>
261
+ </div>
262
+ <div row>
263
+ <span>감리사</span>
264
+ <span
265
+ ><md-outlined-text-field
266
+ type="text"
267
+ name="supervisoryCompany"
268
+ building-complex
269
+ .value=${((_r = (_q = this.project) === null || _q === void 0 ? void 0 : _q.buildingComplex) === null || _r === void 0 ? void 0 : _r.supervisoryCompany) || ''}
270
+ @input=${this._onInputChange}
271
+ ></md-outlined-text-field>
272
+ </span>
273
+ </div>
274
+
275
+ <div row>
276
+ <span>대표사진 업로드</span>
277
+ <span>
278
+ <ox-input-image
279
+ name="mainPhoto"
280
+ value=${((_t = (_s = this.project) === null || _s === void 0 ? void 0 : _s.mainPhoto) === null || _t === void 0 ? void 0 : _t.fullpath) || ''}
281
+ @change=${this.onCreateAttachment.bind(this)}
282
+ ></ox-input-image>
283
+ </span>
284
+ </div>
285
+ <div row>
286
+ <span>공사금액</span>
287
+ <span
288
+ ><md-outlined-text-field
289
+ type="text"
290
+ name="constructionCost"
291
+ numeric
292
+ building-complex
293
+ .value=${((_w = (_v = (_u = this.project) === null || _u === void 0 ? void 0 : _u.buildingComplex) === null || _v === void 0 ? void 0 : _v.constructionCost) === null || _w === void 0 ? void 0 : _w.toString()) || ''}
294
+ @input=${this._onInputChange}
295
+ suffix-text="억원"
296
+ ></md-outlined-text-field>
297
+ </span>
298
+ </div>
299
+ <div row>
300
+ <span>투입 인력</span>
301
+ <span
302
+ ><md-outlined-text-field
303
+ type="text"
304
+ name="workerCount"
305
+ numeric
306
+ building-complex
307
+ .value=${((_z = (_y = (_x = this.project) === null || _x === void 0 ? void 0 : _x.buildingComplex) === null || _y === void 0 ? void 0 : _y.workerCount) === null || _z === void 0 ? void 0 : _z.toString()) || ''}
308
+ @input=${this._onInputChange}
309
+ suffix-text="명"
310
+ ></md-outlined-text-field>
311
+ </span>
312
+ </div>
313
+ </div>
314
+
315
+ <div detail-info>
316
+ <div>
317
+ <h3>테넌트 관리</h3>
318
+ <div row>
319
+ <span>관리번호</span>
320
+ <span>
321
+ ${this.project.tenantDomain
322
+ ? html `<a href=${`/project/${this.project.code}/`} target="_blank" title="테넌트로 이동"
323
+ >${this.project.code} <md-icon style="font-size:14px;vertical-align:middle">open_in_new</md-icon></a
324
+ >`
325
+ : this.project.code
326
+ ? html `${this.project.code}`
327
+ : html `<span style="color:#999">미발번 (승격 시 자동 부여)</span>`}
328
+ </span>
329
+ </div>
330
+ <div row>
331
+ <span>현재 상태</span>
332
+ <span>
333
+ ${this.project.tenantDomain
334
+ ? html `<b style="color:#42b382">활성 테넌트</b>`
335
+ : this.project.code
336
+ ? html `<b style="color:#aa6633">강등됨</b> (재승격 시 ${this.project.code} 재사용)`
337
+ : html `<b style="color:#999">미승격</b>`}
338
+ </span>
339
+ </div>
340
+ <div row>
341
+ <span></span>
342
+ <span tenant-actions>
343
+ ${this.project.tenantDomain
344
+ ? html `<md-elevated-button @click=${this._demoteTenant} ?disabled=${!this.project.id}>
345
+ <md-icon slot="icon">link_off</md-icon>테넌트 강등
346
+ </md-elevated-button>`
347
+ : html `<md-elevated-button green @click=${this._promoteTenant} ?disabled=${!this.project.id}>
348
+ <md-icon slot="icon">verified</md-icon>테넌트 승격
349
+ </md-elevated-button>`}
350
+ </span>
351
+ </div>
352
+ </div>
353
+
354
+
355
+ </div>
356
+ </div>
357
+ `;
358
+ }
359
+ async pageInitialized(lifecycle) { }
360
+ async pageUpdated(changes, lifecycle) {
361
+ if (!this.active)
362
+ return;
363
+ this.projectId = await this._resolveProjectId(lifecycle.resourceId || '');
364
+ await this.initProject(this.projectId);
365
+ }
366
+ /**
367
+ * resourceId 를 정상 Project.id (UUID) 로 변환한다.
368
+ * - UUID 형식이면 그대로 사용
369
+ * - 그 외 (code 또는 비어있음) 에는 현재 테넌트 컨텍스트의 프로젝트 조회
370
+ */
371
+ async _resolveProjectId(resourceId) {
372
+ var _a, _b;
373
+ if (resourceId && resourceId.length === 36)
374
+ return resourceId;
375
+ const response = await client.query({
376
+ query: gql `
377
+ query CurrentProject {
378
+ currentProject {
379
+ id
380
+ }
381
+ }
382
+ `
383
+ });
384
+ return ((_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.currentProject) === null || _b === void 0 ? void 0 : _b.id) || '';
385
+ }
386
+ async initProject(projectId = '') {
387
+ var _a, _b, _c, _d;
388
+ const response = await client.query({
389
+ query: gql `
390
+ query Project($id: String!, $filters: [Filter!]) {
391
+ project(id: $id) {
392
+ id
393
+ code
394
+ state
395
+ tenantDomain {
396
+ id
397
+ subdomain
398
+ name
399
+ }
400
+ name
401
+ documentNaming
402
+ sectorType
403
+ buildingUsage
404
+ startDate
405
+ endDate
406
+ mainPhoto {
407
+ fullpath
408
+ }
409
+ totalProgress
410
+ weeklyProgress
411
+ kpi
412
+ inspPassRate
413
+ robotProgressRate
414
+ structuralSafetyRate
415
+ robotCount
416
+ buildingComplex {
417
+ id
418
+ address
419
+ siteType
420
+ latitude
421
+ longitude
422
+ area
423
+ coverageRatio
424
+ floorAreaRatio
425
+ structureType
426
+ workerCount
427
+ designChangeCount
428
+ plannedProgress
429
+ actualProgress
430
+ clientCompany
431
+ constructionCompany
432
+ supervisoryCompany
433
+ designCompany
434
+ drawing {
435
+ id
436
+ name
437
+ }
438
+ constructionType
439
+ constructionCost
440
+ etc
441
+ notice
442
+ householdCount
443
+ buildingCount
444
+ overallConstructorEmails
445
+ taskConstructorEmails
446
+ overallSupervisoryEmails
447
+ taskSupervisoryEmails
448
+ virtualTourLink
449
+ buildings {
450
+ id
451
+ name
452
+ floorCount
453
+ hasBasement
454
+ basementFloorCount
455
+ }
456
+ }
457
+ }
458
+
459
+ employees(filters: $filters) {
460
+ items {
461
+ id
462
+ name
463
+ jobResponsibility
464
+ active
465
+ user {
466
+ id
467
+ name
468
+ email
469
+ }
470
+ }
471
+ }
472
+ }
473
+ `,
474
+ variables: {
475
+ id: projectId,
476
+ filters: [
477
+ {
478
+ name: 'active',
479
+ operator: 'eq',
480
+ value: true
481
+ },
482
+ {
483
+ name: 'userId',
484
+ operator: 'is_not_null',
485
+ value: ''
486
+ }
487
+ ]
488
+ },
489
+ context: { headers: tenantHeaders((_a = this.project) === null || _a === void 0 ? void 0 : _a.code) }
490
+ });
491
+ this.project = ((_b = response.data) === null || _b === void 0 ? void 0 : _b.project) || Object.assign({}, this.defaultProject);
492
+ const items = ((_d = (_c = response.data) === null || _c === void 0 ? void 0 : _c.employees) === null || _d === void 0 ? void 0 : _d.items) || [];
493
+ this.overallConstructorList = this._filterUserByPermission(items, 'OVERALL_CONSTRUCTOR');
494
+ this.taskConstructorList = this._filterUserByPermission(items, 'TASK_CONSTRUCTOR');
495
+ this.overallSupervisoryList = this._filterUserByPermission(items, 'OVERALL_SUPERVISORY');
496
+ this.taskSupervisoryList = this._filterUserByPermission(items, 'TASK_SUPERVISORY');
497
+ this.updateContext();
498
+ }
499
+ _filterUserByPermission(userList, permission) {
500
+ return userList
501
+ .filter(v => v.jobResponsibility == permission || v.jobResponsibility == 'ADMIN')
502
+ .map(v => ({ name: v.name, value: v.user.email }));
503
+ }
504
+ _stripTypename(obj) {
505
+ if (Array.isArray(obj)) {
506
+ return obj.map(item => this._stripTypename(item));
507
+ }
508
+ if (obj && typeof obj === 'object' && !(obj instanceof File)) {
509
+ const cleaned = {};
510
+ for (const [key, value] of Object.entries(obj)) {
511
+ if (key === '__typename')
512
+ continue;
513
+ cleaned[key] = this._stripTypename(value);
514
+ }
515
+ return cleaned;
516
+ }
517
+ return obj;
518
+ }
519
+ async _saveProject() {
520
+ // 첨부 파일 필드 제거 (첨부 파일은 {filename}Upload 로 전송)
521
+ delete this.project.mainPhoto;
522
+ delete this.project.buildingComplex.drawing;
523
+ // ProjectPatch 입력 타입에 없는 표시 전용 필드 제거 (테넌트 승격 UI 표시용)
524
+ const projectCode = this.project.code; // 도메인 헤더 용으로 미리 보존
525
+ delete this.project.code;
526
+ delete this.project.tenantDomain;
527
+ // state 는 raw 값('10'/'20')으로 로드되지만 ProjectPatch 는 enum 키 기대 — 일반
528
+ // save 에서는 state 변경 의도 없으므로 patch 에서 제외. (state 변경은 _onUnfinalize 별도)
529
+ delete this.project.state;
530
+ const response = await client.mutate({
531
+ mutation: gql `
532
+ mutation UpdateProject($project: ProjectPatch!) {
533
+ updateProject(project: $project) {
534
+ id
535
+ }
536
+ }
537
+ `,
538
+ variables: {
539
+ project: this._stripTypename(this.project)
540
+ },
541
+ context: {
542
+ hasUpload: true,
543
+ headers: tenantHeaders(projectCode)
544
+ }
545
+ });
546
+ if (!response.errors) {
547
+ notify({ message: '저장에 성공하였습니다.' });
548
+ }
549
+ }
550
+ /**
551
+ * 주소 옆 "정보 연동" 버튼 handler.
552
+ * - 현재 폼의 주소를 backend 로 보냄 → backend 가 EnvVar 갱신 + 세움터 시나리오 호출
553
+ * - 결과 (한글 raw + 숫자) 를 받아 BuildingComplex 폼 필드들에 매핑
554
+ * · siteType (한글) → SiteType enum 변환 (BC.siteType, enum 컬럼)
555
+ * · siteType (한글) → BC.constructionType 그대로 (자유 텍스트 컬럼)
556
+ * · area / floorAreaRatio / coverageRatio / householdCount / buildingCount /
557
+ * structureType → BC 동명 컬럼에 직접 대입
558
+ * · upperFloorCount / lowerFloorCount / bldNm / useAprDay / pmsDay → BC 컬럼
559
+ * 없음, 매핑 skip (참고용 콘솔 로그만)
560
+ */
561
+ async _collectBasicInfo() {
562
+ var _a, _b, _c, _d;
563
+ const address = (((_b = (_a = this.project) === null || _a === void 0 ? void 0 : _a.buildingComplex) === null || _b === void 0 ? void 0 : _b.address) || '').trim();
564
+ if (!address) {
565
+ notify({ message: '먼저 프로젝트 주소를 입력해 주세요.' });
566
+ return;
567
+ }
568
+ this.collectingBasicInfo = true;
569
+ try {
570
+ const response = await client.mutate({
571
+ mutation: gql `
572
+ mutation CollectProjectBasicInfo($projectId: String!, $address: String) {
573
+ collectProjectBasicInfo(projectId: $projectId, address: $address) {
574
+ source
575
+ label
576
+ ok
577
+ message
578
+ data
579
+ }
580
+ }
581
+ `,
582
+ variables: { projectId: this.project.id, address },
583
+ context: { headers: tenantHeaders((_c = this.project) === null || _c === void 0 ? void 0 : _c.code) }
584
+ });
585
+ if (response.errors) {
586
+ throw new Error(response.errors.map((e) => e.message).join('\n'));
587
+ }
588
+ const result = (_d = response.data) === null || _d === void 0 ? void 0 : _d.collectProjectBasicInfo;
589
+ if (!(result === null || result === void 0 ? void 0 : result.ok)) {
590
+ notify({ message: (result === null || result === void 0 ? void 0 : result.message) || '업데이트할 정보가 없습니다.' });
591
+ return;
592
+ }
593
+ const data = result.data || {};
594
+ this._applyBasicInfoToForm(data);
595
+ this.requestUpdate();
596
+ notify({ message: '외부 시스템에서 기본 정보를 가져왔습니다. 검토 후 [저장]을 눌러주세요.' });
597
+ }
598
+ catch (err) {
599
+ console.warn('[정보 연동] 실패', err);
600
+ notify({ message: '외부 시스템 연동이 일시적으로 안 됩니다.' });
601
+ }
602
+ finally {
603
+ this.collectingBasicInfo = false;
604
+ }
605
+ }
606
+ /**
607
+ * 한글 주용도명 → SiteType enum.
608
+ * - NFC normalize + 공백 제거로 보이지 않는 문자/표기 차이 대응
609
+ * - 매핑 미존재시 null
610
+ */
611
+ _siteTypeFromKorean(korean) {
612
+ if (!korean)
613
+ return null;
614
+ const KEYS = {
615
+ 공동주택: 'APARTMENT_COMPLEX',
616
+ 단독주택: 'DETACHED_HOUSE',
617
+ 제1종근린생활시설: 'NEIGHBORHOOD_FACILITY',
618
+ 제2종근린생활시설: 'NEIGHBORHOOD_FACILITY',
619
+ 근린생활시설: 'NEIGHBORHOOD_FACILITY',
620
+ 업무시설: 'OFFICE',
621
+ 판매시설: 'COMMERCIAL',
622
+ 교육연구시설: 'EDUCATION',
623
+ 의료시설: 'MEDICAL',
624
+ 문화및집회시설: 'CULTURAL',
625
+ 종교시설: 'RELIGIOUS',
626
+ 공장: 'INDUSTRIAL',
627
+ 창고시설: 'INDUSTRIAL',
628
+ 운수시설: 'TRANSPORT'
629
+ };
630
+ const key = korean.normalize('NFC').replace(/\s+/g, '').trim();
631
+ return KEYS[key] || null;
632
+ }
633
+ /**
634
+ * 시나리오 result data 를 폼에 매핑 — BuildingComplex 와 Project 양쪽.
635
+ * 빈 값(null/undefined/'')은 기존 값 유지 — 자동 수집이 사용자 입력을 무리하게 덮지 않도록.
636
+ */
637
+ _applyBasicInfoToForm(data) {
638
+ const bc = Object.assign({}, this.project.buildingComplex);
639
+ const setBC = (key, value) => {
640
+ if (value === null || value === undefined || value === '')
641
+ return;
642
+ bc[key] = value;
643
+ };
644
+ setBC('area', this._toNum(data.area));
645
+ setBC('floorAreaRatio', this._toNum(data.floorAreaRatio));
646
+ setBC('coverageRatio', this._toNum(data.coverageRatio));
647
+ setBC('householdCount', this._toNum(data.householdCount));
648
+ setBC('buildingCount', this._toNum(data.buildingCount));
649
+ setBC('structureType', data.structureType);
650
+ // siteType: 한글 → SiteType enum 매핑. 매핑 안 되면 BC.siteType 빈 채로.
651
+ if (data.siteType) {
652
+ const enumVal = this._siteTypeFromKorean(data.siteType);
653
+ if (enumVal)
654
+ bc.siteType = enumVal;
655
+ }
656
+ // Project 엔티티 컬럼 — 착공일/준공일.
657
+ // 세움터 useAprDay (사용승인일) = 준공으로 매핑. stcnsDay = 착공.
658
+ const project = Object.assign(Object.assign({}, this.project), { buildingComplex: bc });
659
+ if (data.startDate)
660
+ project.startDate = data.startDate;
661
+ if (data.endDate)
662
+ project.endDate = data.endDate;
663
+ this.project = project;
664
+ // 참고 메타 — BC/Project 직접 컬럼 없음, 콘솔로만 (permitDate=건축허가일, bldNm 등)
665
+ console.log('[정보 연동] meta:', JSON.stringify({
666
+ upperFloorCount: data.upperFloorCount,
667
+ lowerFloorCount: data.lowerFloorCount,
668
+ bldNm: data.bldNm,
669
+ permitDate: data.permitDate
670
+ }));
671
+ }
672
+ _toNum(v) {
673
+ if (v === null || v === undefined || v === '')
674
+ return null;
675
+ const n = Number(v);
676
+ return Number.isFinite(n) ? n : null;
677
+ }
678
+ async _promoteTenant() {
679
+ if (!this.project.id)
680
+ return;
681
+ if (!confirm('이 프로젝트를 테넌트로 승격하시겠습니까?\n승격 시 관리번호(YYYY-NNNNN)가 자동 발번되며 변경할 수 없습니다.')) {
682
+ return;
683
+ }
684
+ const response = await client.mutate({
685
+ mutation: gql `
686
+ mutation PromoteProjectToTenant($projectId: String!) {
687
+ promoteProjectToTenant(projectId: $projectId) {
688
+ id
689
+ code
690
+ }
691
+ }
692
+ `,
693
+ variables: { projectId: this.project.id }
694
+ });
695
+ if (!response.errors) {
696
+ notify({ message: `테넌트로 승격되었습니다. 관리번호: ${response.data.promoteProjectToTenant.code}` });
697
+ await this.initProject(this.projectId);
698
+ }
699
+ }
700
+ async _demoteTenant() {
701
+ if (!this.project.id)
702
+ return;
703
+ if (!confirm('이 프로젝트의 테넌트를 강등하시겠습니까?\n관리번호는 보존되며 재승격 시 같은 번호가 재사용됩니다.')) {
704
+ return;
705
+ }
706
+ const response = await client.mutate({
707
+ mutation: gql `
708
+ mutation DemoteProjectTenant($projectId: String!) {
709
+ demoteProjectTenant(projectId: $projectId)
710
+ }
711
+ `,
712
+ variables: { projectId: this.project.id }
713
+ });
714
+ if (!response.errors) {
715
+ notify({ message: '테넌트가 강등되었습니다.' });
716
+ await this.initProject(this.projectId);
717
+ }
718
+ }
719
+ // 동 적용 버튼을 누르면 입력한 수 만큼 해당 단지에 동 데이터 생성
720
+ _setBuilding() {
721
+ var _a, _b, _c, _d, _e;
722
+ const buildingCount = ((_b = (_a = this.project) === null || _a === void 0 ? void 0 : _a.buildingComplex) === null || _b === void 0 ? void 0 : _b.buildingCount) || 0;
723
+ const buildingInitData = { name: undefined, floorCount: undefined };
724
+ // 빌딩 데이터가 없으면 빈 배열 넣어줌
725
+ if (!((_e = (_d = (_c = this.project) === null || _c === void 0 ? void 0 : _c.buildingComplex) === null || _d === void 0 ? void 0 : _d.buildings) === null || _e === void 0 ? void 0 : _e.length)) {
726
+ this.project.buildingComplex.buildings = [];
727
+ }
728
+ if (this.project.buildingComplex.buildings.length >= buildingCount) {
729
+ // 동 수가 더 작게 들어오면 기존 배열을 필요한 크기만큼 잘라내기
730
+ this.project.buildingComplex.buildings = [...this.project.buildingComplex.buildings.slice(0, buildingCount)];
731
+ }
732
+ else {
733
+ // 동수가 더 크게 들어오면 기존 배열 + 빈 값을 채움
734
+ const additionalCount = buildingCount - this.project.buildingComplex.buildings.length;
735
+ const additionalBuildings = Array.from({ length: additionalCount }, () => (Object.assign({}, buildingInitData)));
736
+ this.project.buildingComplex.buildings = [...this.project.buildingComplex.buildings, ...additionalBuildings];
737
+ }
738
+ // 리렌더링
739
+ this.project = Object.assign({}, this.project);
740
+ }
741
+ // Input 요소의 값이 변경될 때 호출되는 콜백 함수
742
+ _onInputChange(event, idx) {
743
+ const target = event.target;
744
+ let inputVal = target.value;
745
+ // 숫자 타입은 다른 문자 입력 제거
746
+ if (target.hasAttribute('numeric')) {
747
+ inputVal = Number(inputVal.replace(/[^\d.]/g, ''));
748
+ }
749
+ if (target.hasAttribute('project')) {
750
+ this.project[target.name] = inputVal;
751
+ // documentNaming 필드가 변경되면 실시간으로 미리보기 업데이트
752
+ if (target.name === 'documentNaming') {
753
+ this.requestUpdate();
754
+ }
755
+ }
756
+ else if (target.hasAttribute('building-complex')) {
757
+ this.project.buildingComplex[target.name] = inputVal;
758
+ }
759
+ else if (target.hasAttribute('building')) {
760
+ this.project.buildingComplex.buildings[idx][target.name] = inputVal;
761
+ }
762
+ }
763
+ // 이미지 업로드
764
+ async onCreateAttachment(e) {
765
+ const target = e.target;
766
+ const file = (target.name === 'mainPhoto' ? e.detail : e.detail[0]) || null;
767
+ if (target.name === 'mainPhoto') {
768
+ this.project.mainPhotoUpload = file;
769
+ }
770
+ else {
771
+ this.project.buildingComplex.drawingUpload = file;
772
+ }
773
+ }
774
+ _handleSelectionChange(e) {
775
+ const name = e.target.getAttribute('name');
776
+ const selectedValues = e.detail.selectedValues;
777
+ this.project.buildingComplex[name] = selectedValues;
778
+ }
779
+ _toggleBasement(idx) {
780
+ const building = this.project.buildingComplex.buildings[idx];
781
+ building.hasBasement = !building.hasBasement;
782
+ // 층 수가 0이거나 체크 해제시 지하층수 초기화 (플레이스 홀더 나오게 하기 위함)
783
+ if (building.basementFloorCount == 0 || !building.hasBasement) {
784
+ building.basementFloorCount = undefined;
785
+ }
786
+ this.project.buildingComplex.buildings[idx]['hasBasement'] = building.hasBasement;
787
+ this.requestUpdate();
788
+ }
789
+ };
790
+ SvProjectUpdate.styles = [
791
+ css `
792
+ :host {
793
+ display: grid;
794
+ grid-template-rows: 55px auto;
795
+ color: #4e5055;
796
+
797
+ width: 100%;
798
+ background-color: var(--md-sys-color-background, #f6f6f6);
799
+ overflow-y: auto;
800
+
801
+ --grid-record-emphasized-background-color: red;
802
+ --grid-record-emphasized-color: yellow;
803
+ }
804
+
805
+ md-outlined-text-field {
806
+ width: 100%;
807
+
808
+ --md-outlined-text-field-container-shape: 5px;
809
+ --md-outlined-text-field-outline-color: rgba(51, 51, 51, 0.2);
810
+ --md-outlined-text-field-focus-outline-color: #1f7fd9;
811
+ --md-outlined-text-field-focus-outline-width: 1px;
812
+ --md-sys-color-primary: #586878;
813
+ --md-outlined-text-field-input-text-size: 14px;
814
+ --md-outlined-field-bottom-space: 3px;
815
+ --md-outlined-field-top-space: 3px;
816
+ --md-outlined-field-leading-space: var(--spacing-medium, 8px);
817
+ --md-outlined-field-trailing-space: var(--spacing-medium, 8px);
818
+ }
819
+ select2-component {
820
+ width: 100%;
821
+ }
822
+ md-filled-select {
823
+ width: 100%;
824
+ --md-filled-select-text-field-container-color: transparent;
825
+ --md-filled-select-text-field-active-indicator-color: #999;
826
+ --md-filled-select-text-field-input-text-size: 14px;
827
+ --md-filled-select-text-field-input-text-line-height: 6px;
828
+ }
829
+ input[type='date'] {
830
+ border: 1px solid rgba(51, 51, 51, 0.2);
831
+ padding: var(--spacing-small, 4px) var(--spacing-medium, 8px);
832
+ border-radius: 5px;
833
+ }
834
+ md-outlined-text-field[type='textarea'] {
835
+ width: 100%;
836
+ height: 120px;
837
+ resize: none;
838
+ }
839
+
840
+ ox-input-image {
841
+ width: 120px;
842
+ height: 90px;
843
+ }
844
+ ox-input-file {
845
+ width: 120px;
846
+ height: 90px;
847
+ padding: 0;
848
+ }
849
+
850
+ div[body] {
851
+ display: flex;
852
+ margin: var(--spacing-large, 12px);
853
+ margin-top: 0;
854
+ gap: var(--spacing-medium, 8px);
855
+
856
+ & > div {
857
+ display: flex;
858
+ height: fit-content;
859
+ flex-direction: column;
860
+ padding: var(--spacing-large, 12px);
861
+ background-color: var(--md-sys-color-on-primary);
862
+ border: 1px solid #cccccc80;
863
+ border-radius: 5px;
864
+ gap: var(--spacing-medium, 8px);
865
+
866
+ h3 {
867
+ color: #2e79be;
868
+ font-size: 16px;
869
+ margin: 0px;
870
+ }
871
+
872
+ div[row] {
873
+ display: flex;
874
+ align-items: center;
875
+
876
+ span:first-child {
877
+ flex: 0.3;
878
+ text-align: right;
879
+ font-size: 14px;
880
+ }
881
+
882
+ span:last-child {
883
+ flex: 0.7;
884
+ display: flex;
885
+ gap: var(--spacing-medium, 8px);
886
+ margin-left: var(--spacing-medium, 8px);
887
+ align-items: center;
888
+
889
+ &.address-row {
890
+ md-outlined-text-field {
891
+ flex: 1;
892
+ }
893
+ .info-link-btn {
894
+ flex: 0 0 auto;
895
+ --md-elevated-button-container-color: #2e79be;
896
+ --md-elevated-button-label-text-color: #fff;
897
+ --md-elevated-button-container-height: 36px;
898
+ }
899
+ }
900
+
901
+ &[align-end] {
902
+ align-items: end;
903
+ }
904
+ }
905
+ }
906
+ }
907
+
908
+ div[project-info] {
909
+ flex: 0.55;
910
+ }
911
+
912
+ div[document-preview] {
913
+ width: 100%;
914
+ font-size: 12px;
915
+ color: #2e79be;
916
+ font-weight: 500;
917
+ background-color: #f8f9fa;
918
+ padding: 8px 12px;
919
+ border-radius: 4px;
920
+ border-left: 3px solid #2e79be;
921
+ margin-top: 4px;
922
+ }
923
+
924
+ div[detail-info] {
925
+ flex: 0.45;
926
+ padding: 0px;
927
+ gap: 10px;
928
+ background-color: transparent;
929
+ border: none;
930
+
931
+ & > div {
932
+ display: flex;
933
+ flex-direction: column;
934
+ gap: var(--spacing-medium, 8px);
935
+ border: 1px solid #cccccc80;
936
+ border-radius: 5px;
937
+ padding: var(--spacing-large, 12px);
938
+ background-color: var(--md-sys-color-on-primary);
939
+
940
+ md-outlined-text-field[type='text'] {
941
+ width: 60%;
942
+ }
943
+
944
+ md-elevated-button {
945
+ --md-elevated-button-container-height: 30px;
946
+ --md-elevated-button-container-color: var(--md-sys-color-on-primary);
947
+ --md-elevated-button-label-text-size: 16px;
948
+ }
949
+ hr {
950
+ border: 1px rgba(51, 51, 51, 0.1) dashed;
951
+ width: 100%;
952
+ margin-bottom: var(--spacing-tiny, 2px);
953
+ }
954
+ div[warn] {
955
+ font-size: 12px;
956
+ color: red;
957
+ margin-left: var(--spacing-small, 4px);
958
+ margin-bottom: var(--spacing-small, 4px);
959
+ }
960
+
961
+ md-outlined-button {
962
+ min-height: 30px;
963
+ padding: 0 var(--spacing-large, 12px);
964
+ box-shadow: 1px 1px 1px #0000001a;
965
+ --md-outlined-button-label-text-color: #586878;
966
+ --md-outlined-button-label-text-weight: bold;
967
+ --md-sys-color-outline: rgba(51, 51, 51, 0.2);
968
+ }
969
+
970
+ div[row] {
971
+ span:first-child {
972
+ flex: 0.2;
973
+ }
974
+ span:last-child {
975
+ flex: 0.8;
976
+ }
977
+ }
978
+
979
+ div[separate-container] {
980
+ display: grid;
981
+ grid-template-columns: repeat(2, 1fr);
982
+ gap: 8px 30px;
983
+ margin-left: 15px;
984
+
985
+ md-outlined-text-field {
986
+ width: 80px;
987
+ }
988
+
989
+ & > div {
990
+ display: flex;
991
+ gap: 15px;
992
+
993
+ span[floor-row] {
994
+ display: inline-flex;
995
+ align-items: center;
996
+ margin-left: 5px;
997
+ }
998
+
999
+ span[floor-title] {
1000
+ min-width: 33px;
1001
+ margin-right: var(--spacing-small, 4px);
1002
+ }
1003
+ span:first-child {
1004
+ flex: 0.4;
1005
+ justify-content: flex-start;
1006
+ display: flex;
1007
+ }
1008
+ span:last-child {
1009
+ flex: 0.6;
1010
+ display: flex;
1011
+ align-items: center;
1012
+ padding-left: var(--spacing-medium, 8px);
1013
+ }
1014
+ }
1015
+
1016
+ div[basement-container] {
1017
+ display: flex;
1018
+ align-items: center;
1019
+ gap: 4px;
1020
+
1021
+ div[basement-checkbox] {
1022
+ display: flex;
1023
+ align-items: center;
1024
+ cursor: pointer;
1025
+
1026
+ md-icon {
1027
+ --md-icon-size: 25px;
1028
+ color: #808080;
1029
+ transition: opacity 0.2s ease;
1030
+ }
1031
+
1032
+ &[disabled] {
1033
+ cursor: not-allowed;
1034
+ opacity: 0.4;
1035
+
1036
+ md-icon {
1037
+ color: #cccccc;
1038
+ }
1039
+ }
1040
+
1041
+ &[checked] md-icon {
1042
+ background-color: #2e79be;
1043
+ color: white;
1044
+ border-radius: 3px;
1045
+ }
1046
+ }
1047
+
1048
+ md-outlined-text-field[basement-floor] {
1049
+ width: 70px;
1050
+ margin-left: var(--spacing-small, 4px);
1051
+ opacity: 1;
1052
+ transition: opacity 0.2s ease;
1053
+
1054
+ &[disabled] {
1055
+ opacity: 0.4;
1056
+ pointer-events: none;
1057
+ }
1058
+ }
1059
+ }
1060
+ }
1061
+
1062
+ &[project] {
1063
+ div[separate-container] {
1064
+ margin-left: 15px;
1065
+
1066
+ & > div {
1067
+ align-items: center;
1068
+
1069
+ span:first-child {
1070
+ flex: 0.4;
1071
+ min-width: 100px;
1072
+ }
1073
+ span:last-child {
1074
+ flex: 0.4;
1075
+ margin-left: 0;
1076
+ }
1077
+ }
1078
+ }
1079
+ }
1080
+ }
1081
+ }
1082
+ }
1083
+ `
1084
+ ];
1085
+ __decorate([
1086
+ state(),
1087
+ __metadata("design:type", String)
1088
+ ], SvProjectUpdate.prototype, "projectId", void 0);
1089
+ __decorate([
1090
+ state(),
1091
+ __metadata("design:type", Object)
1092
+ ], SvProjectUpdate.prototype, "project", void 0);
1093
+ __decorate([
1094
+ state(),
1095
+ __metadata("design:type", Array)
1096
+ ], SvProjectUpdate.prototype, "selectedValues", void 0);
1097
+ __decorate([
1098
+ state(),
1099
+ __metadata("design:type", Array)
1100
+ ], SvProjectUpdate.prototype, "overallConstructorList", void 0);
1101
+ __decorate([
1102
+ state(),
1103
+ __metadata("design:type", Array)
1104
+ ], SvProjectUpdate.prototype, "taskConstructorList", void 0);
1105
+ __decorate([
1106
+ state(),
1107
+ __metadata("design:type", Array)
1108
+ ], SvProjectUpdate.prototype, "taskSupervisoryList", void 0);
1109
+ __decorate([
1110
+ state(),
1111
+ __metadata("design:type", Array)
1112
+ ], SvProjectUpdate.prototype, "overallSupervisoryList", void 0);
1113
+ __decorate([
1114
+ state(),
1115
+ __metadata("design:type", Boolean)
1116
+ ], SvProjectUpdate.prototype, "collectingBasicInfo", void 0);
1117
+ SvProjectUpdate = __decorate([
1118
+ customElement('sv-project-update')
1119
+ ], SvProjectUpdate);
1120
+ export { SvProjectUpdate };
1121
+ //# sourceMappingURL=sv-project-update.js.map