@things-factory/organization 10.1.269 → 10.1.271

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.
@@ -17,8 +17,10 @@ th, td { border: 1px solid #444; padding: 3.2mm 4mm; text-align: left; vertical-
17
17
  th { width: 30mm; background: #f2f2f2; font-weight: 600; text-align: center }
18
18
  .statement { margin: 22mm 0 0; text-align: center; font-size: 13pt; line-height: 2 }
19
19
  .date { margin-top: 18mm; text-align: center; font-size: 13pt; letter-spacing: 1pt }
20
- .issuer { position: relative; margin: 20mm auto 0; width: max-content; font-size: 14pt; line-height: 2; text-align: left; padding-right: 22mm }
21
- .issuer img { position: absolute; right: 0; top: 2mm; width: 22mm; opacity: .9 }
20
+ .issuer { margin: 20mm auto 0; width: max-content; max-width: 100%; font-size: 14pt; line-height: 2; text-align: left }
21
+ .issuer > div { padding-left: 3.5em; text-indent: -3.5em }
22
+ .issuer .stamp { position: relative; display: inline-block; margin-left: 3mm; text-indent: 0 }
23
+ .issuer .stamp img { position: absolute; left: 50%; top: 50%; width: 22mm; transform: translate(-50%, -50%); opacity: .9 }
22
24
  </style></head><body><div class="page">
23
25
  <div class="number">발급번호 {{issue.number}}</div>
24
26
  <h1>${title}</h1>
@@ -33,8 +35,7 @@ ${rows}
33
35
  <div>상호 : {{company.name}}</div>
34
36
  {{#if company.address}}<div>주소 : {{company.address}}</div>{{/if}}
35
37
  {{#if company.brn}}<div>사업자등록번호 : {{company.brn}}</div>{{/if}}
36
- <div>대표이사 : {{company.representative}}</div>
37
- {{#if company.seal}}<img src="{{company.seal}}" alt="">{{/if}}
38
+ <div>대표이사 : {{company.representative}}<span class="stamp">(인){{#if company.seal}}<img src="{{company.seal}}" alt="">{{/if}}</span></div>
38
39
  </div>
39
40
  </div></body></html>`;
40
41
  exports.EMPLOYMENT_TEMPLATE = page('재직증명서', `<tr><th>성명</th><td colspan="3">{{employee.name}}</td></tr>
@@ -1 +1 @@
1
- {"version":3,"file":"employment-certificate-templates.js","sourceRoot":"","sources":["../../../server/service/certificate/employment-certificate-templates.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,MAAM,IAAI,GAAG,CAAC,KAAa,EAAE,IAAY,EAAE,SAAiB,EAAE,EAAE,CAAC;;;;;;;;;;;;;;;MAe3D,KAAK;;EAET,IAAI;;;;uBAIiB,SAAS;;;;;;;;;qBASX,CAAA;AAER,QAAA,mBAAmB,GAAG,IAAI,CACrC,OAAO,EACP;;2FAEyF,EACzF,8BAA8B,CAC/B,CAAA;AAEY,QAAA,eAAe,GAAG,IAAI,CACjC,OAAO,EACP;;;0HAGwH,EACxH,+BAA+B,CAChC,CAAA","sourcesContent":["/*\n * The templates in code of 재직증명서 · 경력증명서 (ADR-0176 decision 5) - a domain's own `PDFTemplate` of the kind prints\n * in their place. They read `employee` (the facts), `issue` (number, day, purpose, recipient) and `company` (「우리 회사」\n * with its seal as a data: URL).\n */\n\nconst page = (title: string, rows: string, statement: string) => `<!doctype html><html lang=\"ko\"><head><meta charset=\"utf-8\"><style>\n@page { size: A4; margin: 0 }\nbody { margin: 0; font-family: \"Apple SD Gothic Neo\", \"Malgun Gothic\", \"Noto Sans KR\", sans-serif; color: #222 }\n.page { position: relative; box-sizing: border-box; width: 210mm; height: 297mm; padding: 30mm 24mm }\n.number { position: absolute; top: 16mm; left: 24mm; font-size: 9.5pt; color: #666 }\nh1 { margin: 6mm 0 16mm; text-align: center; font-size: 26pt; letter-spacing: 12pt }\ntable { width: 100%; border-collapse: collapse; font-size: 11.5pt }\nth, td { border: 1px solid #444; padding: 3.2mm 4mm; text-align: left; vertical-align: middle }\nth { width: 30mm; background: #f2f2f2; font-weight: 600; text-align: center }\n.statement { margin: 22mm 0 0; text-align: center; font-size: 13pt; line-height: 2 }\n.date { margin-top: 18mm; text-align: center; font-size: 13pt; letter-spacing: 1pt }\n.issuer { position: relative; margin: 20mm auto 0; width: max-content; font-size: 14pt; line-height: 2; text-align: left; padding-right: 22mm }\n.issuer img { position: absolute; right: 0; top: 2mm; width: 22mm; opacity: .9 }\n</style></head><body><div class=\"page\">\n<div class=\"number\">발급번호 {{issue.number}}</div>\n<h1>${title}</h1>\n<table>\n${rows}\n<tr><th>용도</th><td colspan=\"3\">{{issue.purpose}}</td></tr>\n<tr><th>제출처</th><td colspan=\"3\">{{issue.submittedTo}}</td></tr>\n</table>\n<p class=\"statement\">${statement}</p>\n<div class=\"date\">{{issue.issuedOn}}</div>\n<div class=\"issuer\">\n<div>상호 : {{company.name}}</div>\n{{#if company.address}}<div>주소 : {{company.address}}</div>{{/if}}\n{{#if company.brn}}<div>사업자등록번호 : {{company.brn}}</div>{{/if}}\n<div>대표이사 : {{company.representative}}</div>\n{{#if company.seal}}<img src=\"{{company.seal}}\" alt=\"\">{{/if}}\n</div>\n</div></body></html>`\n\nexport const EMPLOYMENT_TEMPLATE = page(\n '재직증명서',\n `<tr><th>성명</th><td colspan=\"3\">{{employee.name}}</td></tr>\n<tr><th>소속</th><td>{{employee.department}}</td><th>직위</th><td>{{employee.jobPosition}}</td></tr>\n<tr><th>재직 기간</th><td colspan=\"3\">{{employee.hiredOn}} ~ {{employee.until}} (현재)</td></tr>`,\n '위 사람은 현재 당사에 재직하고 있음을 증명합니다.'\n)\n\nexport const CAREER_TEMPLATE = page(\n '경력증명서',\n `<tr><th>성명</th><td colspan=\"3\">{{employee.name}}</td></tr>\n<tr><th>소속</th><td>{{employee.department}}</td><th>직위</th><td>{{employee.jobPosition}}</td></tr>\n<tr><th>담당 업무</th><td colspan=\"3\">{{employee.jobResponsibility}}</td></tr>\n<tr><th>근무 기간</th><td colspan=\"3\">{{employee.hiredOn}} ~ {{employee.until}}{{#if employee.current}} (현재){{/if}}</td></tr>`,\n '위 사람은 위와 같이 당사에 근무하였음을 증명합니다.'\n)\n"]}
1
+ {"version":3,"file":"employment-certificate-templates.js","sourceRoot":"","sources":["../../../server/service/certificate/employment-certificate-templates.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,MAAM,IAAI,GAAG,CAAC,KAAa,EAAE,IAAY,EAAE,SAAiB,EAAE,EAAE,CAAC;;;;;;;;;;;;;;;;;MAiB3D,KAAK;;EAET,IAAI;;;;uBAIiB,SAAS;;;;;;;;qBAQX,CAAA;AAER,QAAA,mBAAmB,GAAG,IAAI,CACrC,OAAO,EACP;;2FAEyF,EACzF,8BAA8B,CAC/B,CAAA;AAEY,QAAA,eAAe,GAAG,IAAI,CACjC,OAAO,EACP;;;0HAGwH,EACxH,+BAA+B,CAChC,CAAA","sourcesContent":["/*\n * The templates in code of 재직증명서 · 경력증명서 (ADR-0176 decision 5) - a domain's own `PDFTemplate` of the kind prints\n * in their place. They read `employee` (the facts), `issue` (number, day, purpose, recipient) and `company` (「우리 회사」\n * with its seal as a data: URL).\n */\n\nconst page = (title: string, rows: string, statement: string) => `<!doctype html><html lang=\"ko\"><head><meta charset=\"utf-8\"><style>\n@page { size: A4; margin: 0 }\nbody { margin: 0; font-family: \"Apple SD Gothic Neo\", \"Malgun Gothic\", \"Noto Sans KR\", sans-serif; color: #222 }\n.page { position: relative; box-sizing: border-box; width: 210mm; height: 297mm; padding: 30mm 24mm }\n.number { position: absolute; top: 16mm; left: 24mm; font-size: 9.5pt; color: #666 }\nh1 { margin: 6mm 0 16mm; text-align: center; font-size: 26pt; letter-spacing: 12pt }\ntable { width: 100%; border-collapse: collapse; font-size: 11.5pt }\nth, td { border: 1px solid #444; padding: 3.2mm 4mm; text-align: left; vertical-align: middle }\nth { width: 30mm; background: #f2f2f2; font-weight: 600; text-align: center }\n.statement { margin: 22mm 0 0; text-align: center; font-size: 13pt; line-height: 2 }\n.date { margin-top: 18mm; text-align: center; font-size: 13pt; letter-spacing: 1pt }\n.issuer { margin: 20mm auto 0; width: max-content; max-width: 100%; font-size: 14pt; line-height: 2; text-align: left }\n.issuer > div { padding-left: 3.5em; text-indent: -3.5em }\n.issuer .stamp { position: relative; display: inline-block; margin-left: 3mm; text-indent: 0 }\n.issuer .stamp img { position: absolute; left: 50%; top: 50%; width: 22mm; transform: translate(-50%, -50%); opacity: .9 }\n</style></head><body><div class=\"page\">\n<div class=\"number\">발급번호 {{issue.number}}</div>\n<h1>${title}</h1>\n<table>\n${rows}\n<tr><th>용도</th><td colspan=\"3\">{{issue.purpose}}</td></tr>\n<tr><th>제출처</th><td colspan=\"3\">{{issue.submittedTo}}</td></tr>\n</table>\n<p class=\"statement\">${statement}</p>\n<div class=\"date\">{{issue.issuedOn}}</div>\n<div class=\"issuer\">\n<div>상호 : {{company.name}}</div>\n{{#if company.address}}<div>주소 : {{company.address}}</div>{{/if}}\n{{#if company.brn}}<div>사업자등록번호 : {{company.brn}}</div>{{/if}}\n<div>대표이사 : {{company.representative}}<span class=\"stamp\">(인){{#if company.seal}}<img src=\"{{company.seal}}\" alt=\"\">{{/if}}</span></div>\n</div>\n</div></body></html>`\n\nexport const EMPLOYMENT_TEMPLATE = page(\n '재직증명서',\n `<tr><th>성명</th><td colspan=\"3\">{{employee.name}}</td></tr>\n<tr><th>소속</th><td>{{employee.department}}</td><th>직위</th><td>{{employee.jobPosition}}</td></tr>\n<tr><th>재직 기간</th><td colspan=\"3\">{{employee.hiredOn}} ~ {{employee.until}} (현재)</td></tr>`,\n '위 사람은 현재 당사에 재직하고 있음을 증명합니다.'\n)\n\nexport const CAREER_TEMPLATE = page(\n '경력증명서',\n `<tr><th>성명</th><td colspan=\"3\">{{employee.name}}</td></tr>\n<tr><th>소속</th><td>{{employee.department}}</td><th>직위</th><td>{{employee.jobPosition}}</td></tr>\n<tr><th>담당 업무</th><td colspan=\"3\">{{employee.jobResponsibility}}</td></tr>\n<tr><th>근무 기간</th><td colspan=\"3\">{{employee.hiredOn}} ~ {{employee.until}}{{#if employee.current}} (현재){{/if}}</td></tr>`,\n '위 사람은 위와 같이 당사에 근무하였음을 증명합니다.'\n)\n"]}
@@ -5,8 +5,8 @@ export * from './employee/working-employees';
5
5
  export * from './employee-profile/employee-profile';
6
6
  export * from './audience/audience';
7
7
  export * from './audience/audience-member';
8
- export declare const entities: (typeof import("./approval-line/approval-line").ApprovalLine | typeof import("./department/department").Department | typeof import("./department/department-history").DepartmentHistory | typeof import("./employee/employee").Employee | typeof import("./employee/employee-history").EmployeeHistory | typeof import("./employee-profile/employee-profile").EmployeeProfile)[];
8
+ export declare const entities: (typeof import("./employee-profile/employee-profile").EmployeeProfile | typeof import("./employee/employee").Employee | typeof import("./approval-line/approval-line").ApprovalLine | typeof import("./department/department").Department | typeof import("./department/department-history").DepartmentHistory | typeof import("./employee/employee-history").EmployeeHistory)[];
9
9
  export declare const subscribers: (typeof import("./department/event-subscriber").DepartmentHistoryEntitySubscriber | typeof import("./employee/event-subscriber").EmployeeHistoryEntitySubscriber)[];
10
10
  export declare const schema: {
11
- resolverClasses: (typeof import("./approval-line/approval-line-query").ApprovalLineQuery | typeof import("./approval-line/approval-line-mutation").ApprovalLineMutation | typeof import("./department/department-query").DepartmentQuery | typeof import("./department/department-mutation").DepartmentMutation | typeof import("./employee/employee-query").EmployeeQuery | typeof import("./employee/employee-mutation").EmployeeMutation | typeof import("./employee-profile/employee-profile-query").EmployeeProfileQuery | typeof import("./employee-profile/employee-profile-mutation").EmployeeProfileMutation)[];
11
+ resolverClasses: (typeof import("./employee-profile/employee-profile-query").EmployeeProfileQuery | typeof import("./employee-profile/employee-profile-mutation").EmployeeProfileMutation | typeof import("./approval-line/approval-line-query").ApprovalLineQuery | typeof import("./approval-line/approval-line-mutation").ApprovalLineMutation | typeof import("./department/department-query").DepartmentQuery | typeof import("./department/department-mutation").DepartmentMutation | typeof import("./employee/employee-query").EmployeeQuery | typeof import("./employee/employee-mutation").EmployeeMutation)[];
12
12
  };