@agile-team/mach-report 2.25.0 → 2.25.2
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/README.md +6 -2
- package/dist/{ExcelBindingWizard-NQ_v396s.js → ExcelBindingWizard-bs3F4dD8.js} +3 -3
- package/dist/{ExcelBindingWizard-BgJG-T6k.cjs → ExcelBindingWizard-jSdjBtWw.cjs} +1 -1
- package/dist/{ParamEditor-Z-3yodp5.js → ParamEditor-B7YVD28E.js} +1 -1
- package/dist/{ParamEditor-DEP38mBp.cjs → ParamEditor-CGfaweYX.cjs} +1 -1
- package/dist/{ReportBatchPanel-D33LjMrA.cjs → ReportBatchPanel-BRJt0TXp.cjs} +1 -1
- package/dist/{ReportBatchPanel-DG8FV-5X.js → ReportBatchPanel-BTKHtLTW.js} +1 -1
- package/dist/{ReportLabelStudio-Bz-xAayk.cjs → ReportLabelStudio-BvK_WBke.cjs} +1 -1
- package/dist/{ReportLabelStudio-BZp23_hA.js → ReportLabelStudio-CZwqyO3t.js} +2 -2
- package/dist/ReportPreview-D1ZC5kzz.js +7317 -0
- package/dist/ReportPreview-DAU-V3Ov.cjs +6 -0
- package/dist/{ReportTemplateLibrary-DpSGgvFa.js → ReportTemplateLibrary-C7sB0Jay.js} +1 -1
- package/dist/{ReportTemplateLibrary-uG1gENaW.cjs → ReportTemplateLibrary-ClwxhnC0.cjs} +1 -1
- package/dist/{RuleEditor-BONALh1Q.js → RuleEditor-CsDGFaWz.js} +3 -3
- package/dist/{RuleEditor-bLXiRcxL.cjs → RuleEditor-D-OdaGdR.cjs} +1 -1
- package/dist/{TemplateOutlinePanel-JGBKeF3e.js → TemplateOutlinePanel-CXOT7d1r.js} +1 -1
- package/dist/{TemplateOutlinePanel-C3nfHuaR.cjs → TemplateOutlinePanel-DAqR9zQi.cjs} +1 -1
- package/dist/{TemplateReusePanel-DXQUO6nQ.js → TemplateReusePanel-Dcfx3Hba.js} +2 -2
- package/dist/{TemplateReusePanel-BKhgp6kg.cjs → TemplateReusePanel-ygIi-Ajz.cjs} +1 -1
- package/dist/{TemplateReviewPanel-DhL7Hapy.js → TemplateReviewPanel-COU8FqPq.js} +1 -1
- package/dist/{TemplateReviewPanel-5RWFUUEf.cjs → TemplateReviewPanel-DyGULVxr.cjs} +1 -1
- package/dist/analytics.cjs +1 -1
- package/dist/analytics.js +2 -2
- package/dist/artifact-integrity.json +71 -71
- package/dist/{auto-D-eDZa_V.cjs → auto-DjmvmcX-.cjs} +1 -1
- package/dist/{auto-umW_ozwr.js → auto-j7mr8Kvc.js} +82 -82
- package/dist/{designer-CCyj5WYS.js → designer-B597ZdC0.js} +4 -4
- package/dist/{designer-Cj7fn4Hh.cjs → designer-DFIdv_n7.cjs} +1 -1
- package/dist/designer.cjs +1 -1
- package/dist/designer.js +1 -1
- package/dist/{encoding-CEkBtlUP.js → encoding-BWEMdzFG.js} +2 -2
- package/dist/{encoding-Cipno7dq.cjs → encoding-DVea2qIR.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/{json-snapshot-x0JpllWL.js → json-snapshot-DdzALe8q.js} +995 -911
- package/dist/json-snapshot-L_gJ7KRS.cjs +2 -0
- package/dist/matrix-DUYPRL7t.cjs +1 -0
- package/dist/{matrix-C6e_r_vp.js → matrix-b6T291xo.js} +120 -104
- package/dist/{plugin-B_k23hut.cjs → plugin-D5BRHlne.cjs} +1 -1
- package/dist/{plugin-CttO46hc.js → plugin-FWhTnjr0.js} +1 -1
- package/dist/{prefill-BvkuwooY.cjs → prefill-DZymomY6.cjs} +1 -1
- package/dist/{prefill-BkF9Fw_p.js → prefill-m01IM1hl.js} +1 -1
- package/dist/{prepared-CSywIEAZ.cjs → prepared-BHu8bIdj.cjs} +1 -1
- package/dist/{prepared-Cyuh61fJ.js → prepared-DO5pe6Ed.js} +1 -1
- package/dist/{protocol-DwtxjXzO.js → protocol-CZddmu2n.js} +2 -2
- package/dist/{protocol-BwbJNVZl.cjs → protocol-CymmHWmL.cjs} +1 -1
- package/dist/{region-binding-workflow-D8I4QWRh.js → region-binding-workflow-EYxvUYJ-.js} +1 -1
- package/dist/{region-binding-workflow-COD8nISZ.cjs → region-binding-workflow-NdkMSFCh.cjs} +1 -1
- package/dist/report-encoding-worker.cjs +1 -1
- package/dist/report-encoding-worker.js +1 -1
- package/dist/{runtime-BE30icyB.js → runtime-D8AlfJ6S.js} +83 -76
- package/dist/runtime-ywf3oLBR.cjs +1 -0
- package/dist/sbom.cdx.json +1 -1
- package/dist/server-node.cjs +5 -5
- package/dist/server-node.js +1880 -1773
- package/dist/server.cjs +1 -1
- package/dist/server.js +6 -6
- package/dist/{template-catalog-D_gl93va.js → template-catalog-DLu814zA.js} +2 -2
- package/dist/{template-catalog-C0riwrx7.cjs → template-catalog-Lil5Ryt-.cjs} +1 -1
- package/dist/{template-fragments-D94ZZmPc.js → template-fragments-BDxdCuMD.js} +1 -1
- package/dist/{template-fragments-CgzPdFKB.cjs → template-fragments-DbKdxI1z.cjs} +1 -1
- package/dist/template-registry-B-AK1oam.cjs +1 -0
- package/dist/{template-registry-DZOtRY7t.js → template-registry-DeVgwEZj.js} +143 -142
- package/dist/vue/index.d.cts +2 -1
- package/dist/vue/index.d.ts +2 -1
- package/dist/vue-async.cjs +1 -1
- package/dist/vue-async.js +3 -3
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +127 -126
- package/dist/{workbook-session-SzfILBJJ.js → workbook-session-B6hRjTyX.js} +1 -1
- package/dist/{workbook-session-DR2j6Hxm.cjs → workbook-session-BclW7KKH.cjs} +1 -1
- package/dist/worker.cjs +1 -1
- package/dist/worker.js +4 -4
- package/dist/xlsx.cjs +1 -1
- package/dist/xlsx.js +3 -3
- package/package.json +1 -1
- package/dist/ReportPreview-CilFAS9U.js +0 -7170
- package/dist/ReportPreview-dOOzPts2.cjs +0 -6
- package/dist/json-snapshot-DQdkA_At.cjs +0 -2
- package/dist/matrix-B8QWbsGM.cjs +0 -1
- package/dist/runtime-DRSuy_SQ.cjs +0 -1
- package/dist/template-registry-BMScUmM4.cjs +0 -1
package/dist/designer.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const E=require("./designer-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const E=require("./designer-DFIdv_n7.cjs");exports.COLUMN_VISUAL_MESSAGES=E.COLUMN_VISUAL_MESSAGES;exports.ChartBindingInspector=E.ChartBindingInspector;exports.ColumnVisualEditor=E.ColumnVisualEditor;exports.DESIGNER_GUIDE_MESSAGES=E.DESIGNER_GUIDE_MESSAGES;exports.EXCEL_BINDING_MESSAGES=E.EXCEL_BINDING_MESSAGES;exports.ExcelBindingWizard=E.ExcelBindingWizard;exports.LABEL_STUDIO_MESSAGES=E.LABEL_STUDIO_MESSAGES;exports.PARAM_EDITOR_MESSAGES=E.PARAM_EDITOR_MESSAGES;exports.ParamEditor=E.ParamEditor;exports.REPORT_BATCH_MESSAGES=E.REPORT_BATCH_MESSAGES;exports.RULE_EDITOR_MESSAGES=E.DEFAULT_RULE_EDITOR_MESSAGES;exports.ReportBatchPanel=E.ReportBatchPanel;exports.ReportLabelStudio=E.ReportLabelStudio;exports.ReportTemplateEditor=E.ReportTemplateEditor;exports.ReportTemplateLibrary=E.ReportTemplateLibrary;exports.RuleEditor=E.RuleEditor;exports.TEMPLATE_EDITOR_MESSAGES=E.TEMPLATE_EDITOR_MESSAGES;exports.TEMPLATE_LIBRARY_MESSAGES=E.TEMPLATE_LIBRARY_MESSAGES;exports.TEMPLATE_PRODUCT_MESSAGES=E.TEMPLATE_PRODUCT_MESSAGES;exports.TEMPLATE_RECOVERY_MESSAGES=E.TEMPLATE_RECOVERY_MESSAGES;exports.TEMPLATE_REVIEW_MESSAGES=E.TEMPLATE_REVIEW_MESSAGES;exports.TemplateOutlinePanel=E.TemplateOutlinePanel;exports.TemplateReusePanel=E.TemplateReusePanel;exports.TemplateReviewPanel=E.TemplateReviewPanel;exports.createTemplateDraftStorage=E.createTemplateDraftStorage;exports.useTemplateWorkbench=E.useTemplateWorkbench;
|
package/dist/designer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { C as e, h as s, i as t, j as T, E as _, k as A, L as R, P as r, l as M, R as l, D as o, m as i, n as p, o as G, p as L, q as P, s as n, c as m, d as I, t as D, T as d, v as O, w as C, x as u, y as B, z as c } from "./designer-
|
|
2
|
+
import { C as e, h as s, i as t, j as T, E as _, k as A, L as R, P as r, l as M, R as l, D as o, m as i, n as p, o as G, p as L, q as P, s as n, c as m, d as I, t as D, T as d, v as O, w as C, x as u, y as B, z as c } from "./designer-B597ZdC0.js";
|
|
3
3
|
export {
|
|
4
4
|
e as COLUMN_VISUAL_MESSAGES,
|
|
5
5
|
s as ChartBindingInspector,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as n } from "./runtime-
|
|
2
|
-
import { i, a as p, r as d, R as a, s as R } from "./protocol-
|
|
1
|
+
import { c as n } from "./runtime-D8AlfJ6S.js";
|
|
2
|
+
import { i, a as p, r as d, R as a, s as R } from "./protocol-CZddmu2n.js";
|
|
3
3
|
async function u(r, e) {
|
|
4
4
|
try {
|
|
5
5
|
if (r.operation !== "exportPrepared") throw new TypeError("内置编码 Worker 仅接受 exportPrepared");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./runtime-
|
|
1
|
+
"use strict";const s=require("./runtime-ywf3oLBR.cjs"),e=require("./protocol-CymmHWmL.cjs");async function a(r,t){try{if(r.operation!=="exportPrepared")throw new TypeError("内置编码 Worker 仅接受 exportPrepared");return await e.runReportWorkerRequest(s.createReportRuntime({reports:{},budget:r.budget}),r,t)}catch(o){return{protocol:e.REPORT_WORKER_PROTOCOL,id:r.id,error:e.serializeError(o)}}}function R(r=globalThis){const t=o=>{if(!e.isReportWorkerRequest(o.data))return;const i=o.data;a(i,n=>r.postMessage({protocol:e.REPORT_WORKER_PROTOCOL,id:i.id,type:"event",event:n})).then(n=>r.postMessage(n,e.reportWorkerTransferList(n)))};return r.addEventListener("message",t),()=>r.removeEventListener("message",t)}exports.serveReportEncodingWorker=R;
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./diagnostic-collector-wASg6Fzs.cjs"),U=require("./record-bindings-B7djSjNs.cjs"),v=require("./template-registry-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./diagnostic-collector-wASg6Fzs.cjs"),U=require("./record-bindings-B7djSjNs.cjs"),v=require("./template-registry-B-AK1oam.cjs"),ye=require("./dataset-IrlXbUvh.cjs"),j=require("./textwrap-LhJkHWb1.cjs"),w=require("./json-snapshot-L_gJ7KRS.cjs"),J=require("./dom-CXWMmwh-.cjs"),ot=require("./data-bar-DzceAVeR.cjs"),it=require("./rich-text-layout-yJGuThtC.cjs"),_=require("./capabilities-D4nfhcvB.cjs"),ee=require("./assets-BYdpkTIt.cjs"),at=require("./grid-strokes-RFMR91jn.cjs"),B=require("./prefill-DZymomY6.cjs"),A=require("./param-validation-C-8sRJLq.cjs"),te=require("./computed-DK6BruFz.cjs"),ne=require("./template-catalog-Lil5Ryt-.cjs"),me=require("./template-fragments-DbKdxI1z.cjs"),be=require("./template-serialization-CqQY4zDg.cjs");function ve(e,t,n,r,o,i,c,s="top"){e.font=`${t.italic?"italic ":""}${t.bold?"bold ":""}${t.fontSizePx}px ${c}`,"letterSpacing"in e&&(e.letterSpacing="0px"),e.fillStyle=t.color,e.textBaseline="alphabetic";const a=t.fontSizePx*t.lineHeight,l=t.text===""?[""]:t.text.split(`
|
|
2
2
|
`),m=l.length*a;let p=r;s==="middle"?p=r+(i-m)/2:s==="bottom"&&(p=r+i-m),l.forEach((d,u)=>{const f=p+u*a+t.fontSizePx*.8;st(e,d,t,n,f,o),t.underline&&d&<(e,d,t,n,f,o)}),e.textAlign="left"}function st(e,t,n,r,o,i){const c=Array.from(t),s=n.letterSpacingPx??0;if(!s){e.textAlign=n.align==="center"?"center":n.align==="right"?"right":"left";const p=n.align==="center"?r+i/2:n.align==="right"?r+i:r;e.fillText(t,p,o);return}const a=e.measureText(t).width+Math.max(0,c.length-1)*s,l=n.align==="center"?r+(i-a)/2:n.align==="right"?r+i-a:r;e.textAlign="left";let m="";c.forEach((p,d)=>{e.fillText(p,l+e.measureText(m).width+d*s,o),m+=p})}function lt(e,t,n,r,o,i){const c=e.measureText(t).width+Math.max(0,Array.from(t).length-1)*(n.letterSpacingPx??0),s=n.align==="center"?r+(i-c)/2:n.align==="right"?r+i-c:r;e.strokeStyle=n.color,e.lineWidth=Math.max(.5,n.fontSizePx/20),e.beginPath(),e.moveTo(s,o+1),e.lineTo(s+c,o+1),e.stroke()}function _e(e,t,n,r,o){const i=r/72,c=s=>{e.font=`${s.italic?"italic ":""}${s.bold?"bold ":""}${g.resolveFontSize(s,r).fontSizePx}px ${s.fontFamily??o}`,"letterSpacing"in e&&(e.letterSpacing="0px")};it.drawRichText(t,{x:n.x/i,yTop:-n.y/i,width:n.width/i,height:n.height/i},{measure(s,a){return c(a),e.measureText(s).width/i+(a.letterSpacing??0)},draw(s,a,l,m,p){const d=g.resolveFontSize(a,r).fontSizePx,u=-m*i-d*.8;a.backgroundColor&&(e.fillStyle=a.backgroundColor,e.fillRect(l*i,u,p*i,d*g.resolveLineHeight(a))),ve(e,{text:s,fontSizePx:d,bold:!!a.bold,italic:a.italic,underline:a.underline,color:g.resolveTextColor(a),align:"left",lineHeight:g.resolveLineHeight(a),letterSpacingPx:(a.letterSpacing??0)*i},l*i,u,p*i,d,a.fontFamily??o)}})}function L(e){if(e?.aborted)throw e.reason??new DOMException("The operation was aborted.","AbortError")}const ct=(e,t)=>(L(t),/^data:image\/(?:png|jpe?g|webp|gif|svg\+xml)[;,]/i.test(e)?new Promise((n,r)=>{const o=new Image,i=()=>{o.onload=null,o.onerror=null,t?.removeEventListener("abort",c)},c=()=>{i(),o.src="",r(t?.reason??new DOMException("The operation was aborted.","AbortError"))};o.onload=()=>{i(),n(o)},o.onerror=()=>{i(),r(new Error("Image could not be decoded for Canvas output."))},t?.addEventListener("abort",c,{once:!0}),o.src=e}):Promise.reject(new TypeError("Canvas imageData must be an image data URL; provide imageLoader for other sources.")));function mt(e,t,n){return L(n),n?new Promise((r,o)=>{const i=()=>o(n.reason??new DOMException("The operation was aborted.","AbortError"));n.addEventListener("abort",i,{once:!0}),Promise.resolve().then(()=>e(t,n)).then(r,o).finally(()=>n.removeEventListener("abort",i))}):e(t)}function*Me(e){function*t(n,r,o,i){if(i.has(n))throw new TypeError("Cyclic grid children cannot be rendered.");g.isImageBackedComponent(n)&&(yield{component:n,componentIndex:r,componentPath:o});const c=new Set(i).add(n);for(const[s,a]of(n.grid?.cells??[]).entries())for(const[l,m]of a.entries())for(const[p,d]of(m?.children??[]).entries())yield*t(d,r,[...o,s,l,p],c)}for(const[n,r]of e.components.entries())yield*t(r,n,[],new Set)}async function dt(e,t,n){const r=new Map;for(const{component:o}of Me(e))!g.isImageBackedComponent(o)||r.has(o.imageData)||r.set(o.imageData,await mt(t,o.imageData,n));return L(n),r}function pt(e,t,n,r,o,i){const c=t,s=c.naturalWidth??c.width??o,a=c.naturalHeight??c.height??i;if(s<=0||a<=0)throw new RangeError("Decoded Canvas image dimensions must be positive.");const l=Math.min(o/s,i/a),m=s*l,p=a*l;e.drawImage(t,n+(o-m)/2,r+(i-p)/2,m,p)}function je(e){return B.createPageWindowIndex(e.pageHeightsPx,e.gapPx).window(e.viewportHeightPx,e.scrollTopPx,e.overscan)}const Re=96/25.4;function de(e,t=96){const n=t/96*Re;return{widthPx:Math.max(1,Math.round(e.pageWidthMm*n)),heightPx:Math.max(1,Math.round(e.pageHeightMm*n))}}function Be(e,t,n,r=64e6){if(!Number.isFinite(t)||t<=0||!Number.isFinite(n)||n<=0)throw new RangeError("Canvas dpr and dpi must be positive finite numbers.");if(!Number.isFinite(r)||r<=0)throw new RangeError("maxCanvasPixels must be positive and finite.");const o=de(e,n),i=Math.round(o.widthPx*t),c=Math.round(o.heightPx*t);if(!Number.isSafeInteger(i)||!Number.isSafeInteger(c)||i*c>r)throw new RangeError("Canvas page exceeds maxCanvasPixels; reduce resolution or split the report.");return{width:i,height:c}}function ze(e,t,n,r){const o=document.createElement("canvas"),{widthPx:i,heightPx:c}=de(e,n),s=Be(e,t,n,r);o.width=s.width,o.height=s.height,o.style.width=`${i}px`,o.style.height=`${c}px`;const a=o.getContext("2d");if(!a)throw new Error("当前环境不支持 Canvas 2D(测试需真浏览器,见 e2e/canvas.spec.ts)");return a.scale(t,t),a.fillStyle="#ffffff",a.fillRect(0,0,i,c),{canvas:o,ctx:a}}function gt(e,t=96){return g.resolveFontSize(e,t).fontSizePx}function ut(e,t,n,r,o,i,c){for(const s of at.resolveGridStrokes(t,n))e.strokeStyle=s.color,e.lineWidth=g.ptToPx(s.widthPt,c),e.beginPath(),s.kind==="v"?(e.moveTo(r+s.pos*i,o+s.from*i),e.lineTo(r+s.pos*i,o+s.to*i)):(e.moveTo(r+s.from*i,o+s.pos*i),e.lineTo(r+s.to*i,o+s.pos*i)),e.stroke()}function ft(e,t,n,r,o,i){e.beginPath(),t.top&&(e.moveTo(n,r),e.lineTo(n+o,r)),t.right&&(e.moveTo(n+o,r),e.lineTo(n+o,r+i)),t.bottom&&(e.moveTo(n+o,r+i),e.lineTo(n,r+i)),t.left&&(e.moveTo(n,r+i),e.lineTo(n,r)),e.stroke()}function ht(e,t,n,r,o,i,c,s,a,l,m,p){const d=g.resolveGridLayout(t,i/s,c/s);for(const u of d.cells){const f=u.cell.style?.backgroundColor??n.style?.backgroundColor;f&&(e.fillStyle=f,e.fillRect(r+u.xMm*s,o+u.yMm*s,u.widthMm*s,u.heightMm*s))}ut(e,d,n,r,o,s,a);for(const u of d.cells)wt(e,u,n,r,o,s,a,l,m,p)}function wt(e,t,n,r,o,i,c,s,a,l){const m=n.grid?.paddingMm??.5,p=t.cell.text??"",d=g.resolveGridCellStyle(n.style,t.cell),u=g.resolveFontSize(d,c),f=t.cell.indentMm??0,x=Math.max(0,t.widthMm-2*m-f),C=j.wrapText(p,x,{fontSizePt:u.fontSizePt,bold:d.bold,italic:d.italic,fontFamily:d.fontFamily??s,letterSpacingPt:d.letterSpacing},a).join(`
|
|
3
3
|
`),M={x:r+(t.xMm+m+f)*i,y:o+(t.yMm+m)*i,width:x*i,height:Math.max(0,t.heightMm-2*m)*i};e.save(),e.beginPath(),e.rect(M.x,M.y,M.width,M.height),e.clip(),t.cell.richParagraphs?.length?_e(e,{...n,richParagraphs:t.cell.richParagraphs,style:{verticalAlign:"middle",...d}},M,c,s):ve(e,{text:C,fontSizePx:u.fontSizePx,bold:d.bold??!1,italic:d.italic,underline:d.underline,color:g.resolveTextColor(d,g.DEFAULT_TEXT_COLOR),align:d.align??"left",lineHeight:g.resolveLineHeight(d),letterSpacingPx:g.ptToPx(d.letterSpacing??0,c)},r+(t.xMm+m+f)*i,o+(t.yMm+m)*i,x*i,Math.max(0,t.heightMm-2*m)*i,d.fontFamily??s,d.verticalAlign??"middle");for(const P of t.cell.children??[])pe(e,{...P,leftMm:P.leftMm+M.x/i,topMm:P.topMm+M.y/i},i,c,s,a,l);e.restore();const E=ot.dataBarBox(t.cell.dataBar,t.widthMm,t.heightMm,m);E&&(e.save(),e.globalAlpha*=.35,e.fillStyle=E.color,e.fillRect(r+(t.xMm+E.x)*i,o+(t.yMm+E.y)*i,E.width*i,E.height*i),e.restore())}function yt(e,t,n,r,o,i,c,s,a){const l=t.style??{},m=g.resolveFontSize(l,c);if(g.isRichText(t)){_e(e,t,{x:n,y:r,width:o,height:i},c,s);return}const p=t.lines?.length?t.lines.join(`
|
|
4
4
|
`):j.wrapText(t.text??"",t.widthMm,{fontSizePt:m.fontSizePt,bold:l.bold,italic:l.italic,fontFamily:l.fontFamily??s,letterSpacingPt:l.letterSpacing},a).join(`
|
package/dist/index.d.cts
CHANGED
|
@@ -1978,7 +1978,7 @@ export declare type ReportPrefillReason = "unchanged" | "readonly" | "occupied"
|
|
|
1978
1978
|
export declare type ReportPrefillStatus = "matched" | "changed" | "skipped" | "conflict";
|
|
1979
1979
|
|
|
1980
1980
|
export declare interface ReportPreparedEdit {
|
|
1981
|
-
/** Calculated preview;
|
|
1981
|
+
/** Calculated preview; mutations are rejected before validation/commit. */
|
|
1982
1982
|
readonly plan: RenderPlan;
|
|
1983
1983
|
readonly validationIssues: readonly ReportValidationIssue[];
|
|
1984
1984
|
/** Validate complete candidate source rows and derived fields before invoking persistence. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1978,7 +1978,7 @@ export declare type ReportPrefillReason = "unchanged" | "readonly" | "occupied"
|
|
|
1978
1978
|
export declare type ReportPrefillStatus = "matched" | "changed" | "skipped" | "conflict";
|
|
1979
1979
|
|
|
1980
1980
|
export declare interface ReportPreparedEdit {
|
|
1981
|
-
/** Calculated preview;
|
|
1981
|
+
/** Calculated preview; mutations are rejected before validation/commit. */
|
|
1982
1982
|
readonly plan: RenderPlan;
|
|
1983
1983
|
readonly validationIssues: readonly ReportValidationIssue[];
|
|
1984
1984
|
/** Validate complete candidate source rows and derived fields before invoking persistence. */
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { a as V, c as Q, d as fe, i as he, D as ge, o as nt, e as le, p as _, f as rt, r as it, g as ot, b as at, h as st, P as ee, w as Pe } from "./diagnostic-collector-gB07PHy2.js";
|
|
2
2
|
import { C as lr, j as mr, k as dr, l as fr, L as hr, M as gr, R as ur, S as pr, m as wr, n as br, q as yr, s as Mr, t as vr } from "./diagnostic-collector-gB07PHy2.js";
|
|
3
3
|
import { P as Er, e as Sr, f as Rr, R as Cr, g as Tr, h as Pr, p as $r, b as Or, t as Ar, j as Ir } from "./record-bindings-Cv7lFiof.js";
|
|
4
|
-
import { v as Fe, R as je, a as me, p as X, b as ct } from "./template-registry-
|
|
5
|
-
import { c as Lr, d as Nr, e as kr, i as Fr, s as jr, f as zr, g as Hr, h as Br } from "./template-registry-
|
|
4
|
+
import { v as Fe, R as je, a as me, p as X, b as ct } from "./template-registry-DeVgwEZj.js";
|
|
5
|
+
import { c as Lr, d as Nr, e as kr, i as Fr, s as jr, f as zr, g as Hr, h as Br } from "./template-registry-DeVgwEZj.js";
|
|
6
6
|
import { v as lt } from "./dataset-DL83majE.js";
|
|
7
7
|
import { d as Wr } from "./dataset-DL83majE.js";
|
|
8
8
|
import { h as ue, w as ze } from "./textwrap-BywMBMXM.js";
|
|
9
9
|
import { c as qr, a as Vr, b as Jr, m as Gr } from "./textwrap-BywMBMXM.js";
|
|
10
|
-
import { R as pe, d as mt, s as He, a as dt, p as ft } from "./json-snapshot-
|
|
11
|
-
import { D as Yr, b as Xr, c as Zr, e as Qr, f as ei, g as ti, h as ni, i as ri, j as ii, k as oi, l as ai, m as si, n as ci, o as li, q as mi, r as di, t as fi, u as hi, v as gi, w as ui, x as pi, y as wi, z as bi, A as yi, B as Mi, C as vi, E as xi, F as Ei, G as Si } from "./json-snapshot-
|
|
10
|
+
import { R as pe, d as mt, s as He, a as dt, p as ft } from "./json-snapshot-DdzALe8q.js";
|
|
11
|
+
import { D as Yr, b as Xr, c as Zr, e as Qr, f as ei, g as ti, h as ni, i as ri, j as ii, k as oi, l as ai, m as si, n as ci, o as li, q as mi, r as di, t as fi, u as hi, v as gi, w as ui, x as pi, y as wi, z as bi, A as yi, B as Mi, C as vi, E as xi, F as Ei, G as Si } from "./json-snapshot-DdzALe8q.js";
|
|
12
12
|
import { c as Ci, a as Ti, b as Pi, i as $i, r as Oi, d as Ai, e as Ii, t as Di } from "./dom-DxdCMLzs.js";
|
|
13
13
|
import { d as ht } from "./data-bar-Bfh54sT4.js";
|
|
14
14
|
import { d as gt } from "./rich-text-layout-Ch_N0Ubu.js";
|
|
@@ -17,12 +17,12 @@ import { i as Ni, a as ki } from "./capabilities-CN_kSVjO.js";
|
|
|
17
17
|
import { r as we } from "./assets-C4MIvzQ4.js";
|
|
18
18
|
import { O as ji } from "./assets-C4MIvzQ4.js";
|
|
19
19
|
import { r as pt } from "./grid-strokes-DkZEZvcI.js";
|
|
20
|
-
import { c as wt } from "./prefill-
|
|
21
|
-
import { R as Hi, a as Bi, b as _i, d as Wi, e as Ui, m as qi, r as Vi, f as Ji, g as Gi, v as Ki } from "./prefill-
|
|
20
|
+
import { c as wt } from "./prefill-m01IM1hl.js";
|
|
21
|
+
import { R as Hi, a as Bi, b as _i, d as Wi, e as Ui, m as qi, r as Vi, f as Ji, g as Gi, v as Ki } from "./prefill-m01IM1hl.js";
|
|
22
22
|
import { R as Xi, a as Zi, f as Qi, b as eo, c as to, d as no, i as ro, e as io, g as oo, p as ao, h as so, j as co, k as lo, r as mo, v as fo, l as ho } from "./param-validation-CnDEd2l-.js";
|
|
23
23
|
import { n as uo, f as po, o as wo, r as bo, l as yo } from "./computed-f3pOqWLX.js";
|
|
24
|
-
import { c as vo, a as xo, d as Eo, r as So, b as Ro } from "./template-catalog-
|
|
25
|
-
import { a as To, c as Po, i as $o, b as Oo } from "./template-fragments-
|
|
24
|
+
import { c as vo, a as xo, d as Eo, r as So, b as Ro } from "./template-catalog-DLu814zA.js";
|
|
25
|
+
import { a as To, c as Po, i as $o, b as Oo } from "./template-fragments-BDxdCuMD.js";
|
|
26
26
|
import { T as Io, c as Do, a as Lo } from "./template-serialization-CWmHq7lX.js";
|
|
27
27
|
function be(e, t, n, r, i, o, l, s = "top") {
|
|
28
28
|
e.font = `${t.italic ? "italic " : ""}${t.bold ? "bold " : ""}${t.fontSizePx}px ${l}`, "letterSpacing" in e && (e.letterSpacing = "0px"), e.fillStyle = t.color, e.textBaseline = "alphabetic";
|