@cyberskill/design 1.5.1 → 1.6.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.
- package/DESIGN.md +1 -1
- package/README.md +4 -4
- package/SKILL.md +3 -3
- package/VERSION +1 -1
- package/_ds_bundle.js +2 -2
- package/_esm/cs.mjs +2 -2
- package/docs/contrast-report.md +1 -1
- package/docs/conventions.md +4 -4
- package/docs/quality-gates.md +2 -2
- package/docs/release-notes.md +1 -1
- package/docs/vi/contrast-report.md +1 -1
- package/docs/vi/conventions.md +2 -2
- package/docs/vi/quality-gates.md +2 -2
- package/docs/vi/release-notes.md +1 -1
- package/llms.txt +3 -3
- package/package.json +5 -4
- package/templates/_vendor/doc-export.js +435 -0
- package/templates/app-shell/ds-base.js +8 -0
- package/templates/article/ds-base.js +8 -0
- package/templates/auth/ds-base.js +8 -0
- package/templates/bod-deck/ds-base.js +8 -0
- package/templates/bod-investor-update/ds-base.js +8 -0
- package/templates/bod-memo/ds-base.js +8 -0
- package/templates/bod-minutes/ds-base.js +8 -0
- package/templates/bod-report/ds-base.js +8 -0
- package/templates/bod-resolution/ds-base.js +8 -0
- package/templates/culture-event-invite/ds-base.js +8 -0
- package/templates/dashboard/ds-base.js +8 -0
- package/templates/delivery-change-note/ds-base.js +8 -0
- package/templates/delivery-kickoff/ds-base.js +8 -0
- package/templates/delivery-qbr-deck/ds-base.js +8 -0
- package/templates/delivery-runbook/ds-base.js +8 -0
- package/templates/delivery-status-email/ds-base.js +8 -0
- package/templates/doc-style-guide/ds-base.js +8 -0
- package/templates/doc-suite-index/ds-base.js +8 -0
- package/templates/doc-templates/ds-base.js +8 -0
- package/templates/email/ds-base.js +8 -0
- package/templates/finance-dunning-email/ds-base.js +8 -0
- package/templates/finance-expense-report/ds-base.js +8 -0
- package/templates/finance-invoice/ds-base.js +8 -0
- package/templates/finance-quote/ds-base.js +8 -0
- package/templates/hr-announcement/ds-base.js +8 -0
- package/templates/hr-interview-kit/ds-base.js +8 -0
- package/templates/hr-offboarding/ds-base.js +8 -0
- package/templates/hr-performance-review/ds-base.js +8 -0
- package/templates/hr-pip/ds-base.js +8 -0
- package/templates/legal-msa/ds-base.js +8 -0
- package/templates/legal-sow/ds-base.js +8 -0
- package/templates/marketing-campaign-brief/ds-base.js +8 -0
- package/templates/marketing-case-study/ds-base.js +8 -0
- package/templates/marketing-launch/ds-base.js +8 -0
- package/templates/marketing-newsletter/ds-base.js +8 -0
- package/templates/marketing-page/ds-base.js +8 -0
- package/templates/marketing-press-release/ds-base.js +8 -0
- package/templates/marketing-social-kit/ds-base.js +8 -0
- package/templates/sales-one-pager/ds-base.js +8 -0
- package/templates/sales-proposal-deck/ds-base.js +8 -0
- package/templates/settings/ds-base.js +8 -0
- package/templates/slide-deck/ds-base.js +8 -0
- package/templates/team-meeting-agenda/ds-base.js +8 -0
- package/templates/tech-incident-report/ds-base.js +8 -0
- package/templates/tech-release-notes/ds-base.js +8 -0
- package/templates/tech-retro/ds-base.js +8 -0
- package/templates/tech-rfc/ds-base.js +8 -0
- package/templates/vn-appointment-transfer/ds-base.js +8 -0
- package/templates/vn-certificate-of-employment/ds-base.js +8 -0
- package/templates/vn-code-of-conduct/ds-base.js +8 -0
- package/templates/vn-compensation-regulation/ds-base.js +8 -0
- package/templates/vn-contract-amendment/ds-base.js +8 -0
- package/templates/vn-contractor-agreement/ds-base.js +8 -0
- package/templates/vn-data-protection-policy/ds-base.js +8 -0
- package/templates/vn-disciplinary-case-file/ds-base.js +8 -0
- package/templates/vn-disciplinary-schedule/ds-base.js +8 -0
- package/templates/vn-employee-request/ds-base.js +8 -0
- package/templates/vn-exit-handover/ds-base.js +8 -0
- package/templates/vn-foreign-employee-pack/ds-base.js +8 -0
- package/templates/vn-framework-agreement/ds-base.js +8 -0
- package/templates/vn-grassroots-democracy/ds-base.js +8 -0
- package/templates/vn-infosec-policy/ds-base.js +8 -0
- package/templates/vn-internal-labor-regulations/ds-base.js +8 -0
- package/templates/vn-internship-agreement/ds-base.js +8 -0
- package/templates/vn-job-description/ds-base.js +8 -0
- package/templates/vn-labor-contract/ds-base.js +8 -0
- package/templates/vn-labour-management-book/ds-base.js +8 -0
- package/templates/vn-mutual-nda/ds-base.js +8 -0
- package/templates/vn-ndnca-ip/ds-base.js +8 -0
- package/templates/vn-offer-letter/ds-base.js +8 -0
- package/templates/vn-onboarding-checklist/ds-base.js +8 -0
- package/templates/vn-pdpl-consent/ds-base.js +8 -0
- package/templates/vn-performance-evaluation-regulation/ds-base.js +8 -0
- package/templates/vn-performance-review-form/ds-base.js +8 -0
- package/templates/vn-phantom-stock/ds-base.js +8 -0
- package/templates/vn-probation-contract/ds-base.js +8 -0
- package/templates/vn-receipt-acknowledgement/ds-base.js +8 -0
- package/templates/vn-remote-work-policy/ds-base.js +8 -0
- package/templates/vn-resignation-letter/ds-base.js +8 -0
- package/templates/vn-salary-scale/ds-base.js +8 -0
- package/templates/vn-sow-appendix/ds-base.js +8 -0
- package/templates/vn-termination-decision/ds-base.js +8 -0
- package/templates/vn-total-rewards-appendix/ds-base.js +8 -0
- package/templates/vn-training-commitment/ds-base.js +8 -0
- package/templates/vn-travel-expense-policy/ds-base.js +8 -0
- package/tokens/element-seeds.json +1 -1
- package/tokens/native/CSTokens.kt +1 -1
- package/tokens/native/CSTokens.swift +1 -1
- package/tokens/native/cs_tokens.dart +1 -1
- package/tokens/provenance.json +6 -6
- package/tokens/tokens.dtcg.json +1 -1
- package/tokens/tokens.js +2 -2
- package/tokens/tokens.json +1 -1
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
s.onerror = () => console.error('ds-base.js: failed to load ' + s.src + ' — if this is a consuming project, point the base line in ds-base.js at the bound _ds/<folder> tree relative to this page (e.g. _ds/<folder> at the project root, ../_ds/<folder> one level down); in a fresh design system this can just mean the bundle is not compiled yet');
|
|
23
23
|
document.head.appendChild(s);
|
|
24
24
|
|
|
25
|
+
// Print documents: PDF (window.print) + editable DOCX toolbar (TASK-IMP-022).
|
|
26
|
+
// Path is relative to this template folder → templates/_vendor/doc-export.js
|
|
27
|
+
if (document.querySelector('meta[name="omelette-owns-print"]')) {
|
|
28
|
+
const ex = document.createElement('script');
|
|
29
|
+
ex.src = '../_vendor/doc-export.js';
|
|
30
|
+
document.head.appendChild(ex);
|
|
31
|
+
}
|
|
32
|
+
|
|
25
33
|
const syncLang = () => {
|
|
26
34
|
try {
|
|
27
35
|
const a = document.querySelector('[lang]');
|