@agile-team/mach-report 2.22.0 → 2.23.1

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 (171) hide show
  1. package/README.md +8 -6
  2. package/dist/ExcelBindingWizard-BrTmdo7f.cjs +1 -0
  3. package/dist/ExcelBindingWizard-CcDMLO8Q.js +1486 -0
  4. package/dist/ParamEditor-BGjovFUe.js +737 -0
  5. package/dist/ParamEditor-CeNp4_zQ.cjs +1 -0
  6. package/dist/ReportBatchPanel-CHxBtG9R.cjs +1 -0
  7. package/dist/ReportBatchPanel-CJB67WNd.js +351 -0
  8. package/dist/ReportLabelStudio-Tplc1TLJ.js +784 -0
  9. package/dist/ReportLabelStudio-g8PkqJWn.cjs +1 -0
  10. package/dist/ReportParamPanel-C7fZTllk.cjs +1 -0
  11. package/dist/{ReportParamPanel-BHSKVL8k.js → ReportParamPanel-GI43aGa0.js} +146 -127
  12. package/dist/ReportPreview-BoGBGyRr.cjs +6 -0
  13. package/dist/ReportPreview-QLONCyci.js +6257 -0
  14. package/dist/ReportTemplateLibrary-BFQIX0sg.cjs +1 -0
  15. package/dist/ReportTemplateLibrary-KqX4E2sN.js +312 -0
  16. package/dist/RuleEditor-BZUP9yvL.cjs +1 -0
  17. package/dist/RuleEditor-OPX1awrH.js +2342 -0
  18. package/dist/TemplateOutlinePanel-CVYKVLv_.cjs +1 -0
  19. package/dist/TemplateOutlinePanel-DQS-eOs6.js +97 -0
  20. package/dist/TemplateReusePanel-CY6O93Zk.cjs +1 -0
  21. package/dist/TemplateReusePanel-DKXiFTyB.js +389 -0
  22. package/dist/TemplateReviewPanel-DbeNC8Ms.cjs +1 -0
  23. package/dist/TemplateReviewPanel-Dijwm9YE.js +593 -0
  24. package/dist/analytics.cjs +1 -1
  25. package/dist/analytics.js +26 -26
  26. package/dist/artifact-integrity.json +106 -104
  27. package/dist/assets-D2gHc4Mz.cjs +1 -0
  28. package/dist/assets-T_gDeFaz.js +132 -0
  29. package/dist/auto-BB99S802.js +257 -0
  30. package/dist/auto-BrPWo7Xm.cjs +1 -0
  31. package/dist/capabilities-DiBj4Qgl.cjs +1 -0
  32. package/dist/capabilities-pg7j7VLT.js +106 -0
  33. package/dist/charts-Cjw5AYkg.cjs +1 -0
  34. package/dist/{charts-Dlv8j2AG.js → charts-CxJZ0XaY.js} +1 -1
  35. package/dist/computed-DK6BruFz.cjs +1 -0
  36. package/dist/{computed-C8NRZQss.js → computed-f3pOqWLX.js} +381 -301
  37. package/dist/data-bar-CeZuFmYl.cjs +1 -0
  38. package/dist/{data-bar-8baGYEZ9.js → data-bar-IkI6VvMQ.js} +1 -1
  39. package/dist/designer-BZoVWTgl.js +7172 -0
  40. package/dist/designer-zS2uKJmY.cjs +2 -0
  41. package/dist/designer.cjs +1 -1
  42. package/dist/designer.d.cts +105 -45
  43. package/dist/designer.d.ts +105 -45
  44. package/dist/designer.js +4 -4
  45. package/dist/dom-ChE5D-L-.cjs +1 -0
  46. package/dist/dom-JWrchIre.js +452 -0
  47. package/dist/dom-cell-address-DLD1mkTB.cjs +1 -0
  48. package/dist/dom-cell-address-Fn-8nk7D.js +11 -0
  49. package/dist/{encoding-ncQAvyOv.cjs → encoding-7lquyj0w.cjs} +1 -1
  50. package/dist/{encoding-DbnhbwI8.js → encoding-CEd-dq9A.js} +2 -2
  51. package/dist/{font-loader-Di0lQKFf.js → font-loader-CNWXomuV.js} +1 -1
  52. package/dist/{font-loader-BB372_XN.cjs → font-loader-D8pI87fL.cjs} +1 -1
  53. package/dist/grid-strokes-Be24LGuV.cjs +1 -0
  54. package/dist/grid-strokes-EoY66L2f.js +53 -0
  55. package/dist/index.cjs +8 -8
  56. package/dist/index.d.cts +6 -1
  57. package/dist/index.d.ts +6 -1
  58. package/dist/index.js +944 -1259
  59. package/dist/{json-snapshot-DvQbZlD7.js → json-snapshot-BRnzKudk.js} +763 -776
  60. package/dist/json-snapshot-DNiIbpOr.cjs +2 -0
  61. package/dist/matrix-B8QWbsGM.cjs +1 -0
  62. package/dist/matrix-C6e_r_vp.js +302 -0
  63. package/dist/{pdf-DmlnL5eB.js → pdf-CJToa81Z.js} +20 -20
  64. package/dist/{pdf-CARdBcuw.cjs → pdf-DpMkW72B.cjs} +42 -42
  65. package/dist/pdf.cjs +1 -1
  66. package/dist/pdf.js +2 -2
  67. package/dist/{plugin-AcAQ2m9X.cjs → plugin-BWTp-X7b.cjs} +1 -1
  68. package/dist/{plugin-w5Nyt08U.js → plugin-_BkUVc2z.js} +1 -1
  69. package/dist/{prefill-BXBxx5We.js → prefill-CWGdnqQd.js} +21 -21
  70. package/dist/prefill-PaAy6wLk.cjs +1 -0
  71. package/dist/prepared-CJy_qk7d.js +94 -0
  72. package/dist/prepared-D0yCSxSO.cjs +1 -0
  73. package/dist/progress-ByiOxUD3.js +250 -0
  74. package/dist/progress-WomPRP3B.cjs +1 -0
  75. package/dist/{protocol-fjaeKkjf.js → protocol-BG16rz6D.js} +3 -3
  76. package/dist/{protocol-C9ZaylID.cjs → protocol-wzhl1Fim.cjs} +1 -1
  77. package/dist/record-bindings-DatJZv_e.js +200 -0
  78. package/dist/record-bindings-MBxbeBsi.cjs +1 -0
  79. package/dist/{region-binding-workflow-aA8nxmkZ.js → region-binding-workflow-DjrXuR1q.js} +2 -2
  80. package/dist/{region-binding-workflow-BiJQ7NU6.cjs → region-binding-workflow-l7NGfagJ.cjs} +2 -2
  81. package/dist/report-encoding-worker.cjs +1 -1
  82. package/dist/report-encoding-worker.js +1 -1
  83. package/dist/rich-text-layout-Ciwa6D2o.js +52 -0
  84. package/dist/rich-text-layout-DK7A_a5r.cjs +3 -0
  85. package/dist/runtime-DYMOS_gz.cjs +1 -0
  86. package/dist/{runtime-BTtpjF3D.js → runtime-PiCax9zQ.js} +52 -51
  87. package/dist/sbom.cdx.json +1 -1
  88. package/dist/server-node.cjs +5 -5
  89. package/dist/server-node.js +1676 -1619
  90. package/dist/server.cjs +1 -1
  91. package/dist/server.js +24 -24
  92. package/dist/style.css +1 -1
  93. package/dist/{template-catalog-JSxSqk5y.js → template-catalog-CRuZL3pi.js} +17 -17
  94. package/dist/template-catalog-DtrtT1FY.cjs +1 -0
  95. package/dist/{template-fragments-D2JFj7Du.js → template-fragments-CPpGpQoz.js} +12 -12
  96. package/dist/template-fragments-GVjpew_q.cjs +1 -0
  97. package/dist/template-registry-DI59PXVK.cjs +1 -0
  98. package/dist/{template-registry-Do1Uav2Z.js → template-registry-O0hNIOfB.js} +17 -17
  99. package/dist/{template-serialization-CU4n_Miu.js → template-serialization-CWmHq7lX.js} +1 -1
  100. package/dist/{template-serialization-CgqBo6s-.cjs → template-serialization-CqQY4zDg.cjs} +1 -1
  101. package/dist/textwrap-D4ZksyMK.js +111 -0
  102. package/dist/textwrap-DEHqAjKZ.cjs +4 -0
  103. package/dist/vue/async.d.cts +31 -0
  104. package/dist/vue/async.d.ts +31 -0
  105. package/dist/vue/index.d.cts +32 -1
  106. package/dist/vue/index.d.ts +32 -1
  107. package/dist/vue-async.cjs +1 -1
  108. package/dist/vue-async.js +3 -3
  109. package/dist/vue.cjs +1 -1
  110. package/dist/vue.js +52 -47
  111. package/dist/{workbook-session-BvEBRRMz.cjs → workbook-session-C6-SrnCT.cjs} +4 -4
  112. package/dist/{workbook-session-f0wVlzst.js → workbook-session-C9ZmCBwY.js} +15 -16
  113. package/dist/worker.cjs +1 -1
  114. package/dist/worker.js +4 -4
  115. package/dist/xlsx.cjs +4 -4
  116. package/dist/xlsx.js +184 -179
  117. package/package.json +1 -1
  118. package/dist/ExcelBindingWizard-CW79I6Gl.cjs +0 -1
  119. package/dist/ExcelBindingWizard-CZyppD7I.js +0 -1485
  120. package/dist/ParamEditor-CiYCJI0b.cjs +0 -1
  121. package/dist/ParamEditor-DQit-Gdf.js +0 -732
  122. package/dist/ReportBatchPanel-DKTpV7MU.js +0 -350
  123. package/dist/ReportBatchPanel-Db6TAfG5.cjs +0 -1
  124. package/dist/ReportLabelStudio-B0i9ohQj.cjs +0 -1
  125. package/dist/ReportLabelStudio-BYnRqmje.js +0 -780
  126. package/dist/ReportParamPanel-lngONOEz.cjs +0 -1
  127. package/dist/ReportPreview-BDgKssYR.js +0 -5887
  128. package/dist/ReportPreview-Dw-4icG6.cjs +0 -6
  129. package/dist/ReportTemplateLibrary-BZuKn0YK.js +0 -311
  130. package/dist/ReportTemplateLibrary-DEXH07ND.cjs +0 -1
  131. package/dist/RuleEditor-CIQn547x.js +0 -2341
  132. package/dist/RuleEditor-zSUmPjKa.cjs +0 -1
  133. package/dist/TemplateOutlinePanel-B5SfGYVN.cjs +0 -1
  134. package/dist/TemplateOutlinePanel-D0PgOSQE.js +0 -96
  135. package/dist/TemplateReusePanel-BKlAEF8-.js +0 -388
  136. package/dist/TemplateReusePanel-DAy_Hwqz.cjs +0 -1
  137. package/dist/TemplateReviewPanel-CowmHaQQ.cjs +0 -1
  138. package/dist/TemplateReviewPanel-div-EH_m.js +0 -592
  139. package/dist/assets-CxHunY_9.js +0 -232
  140. package/dist/assets-vbjAGgk8.cjs +0 -1
  141. package/dist/auto-DcUHlKob.cjs +0 -1
  142. package/dist/auto-moShblh1.js +0 -240
  143. package/dist/charts-aCtoswXq.cjs +0 -1
  144. package/dist/component-tree-1_QCiQJX.js +0 -67
  145. package/dist/component-tree-BjZIp6w9.cjs +0 -1
  146. package/dist/computed-4TnxzgIh.cjs +0 -1
  147. package/dist/data-bar-YltqGTaC.cjs +0 -1
  148. package/dist/designer-B7jJeAeG.js +0 -6914
  149. package/dist/designer-BWQVpJeN.cjs +0 -2
  150. package/dist/grid-geometry-D3SJgWFv.js +0 -136
  151. package/dist/grid-geometry-D8ReblRV.cjs +0 -1
  152. package/dist/json-snapshot-nyV63AbB.cjs +0 -2
  153. package/dist/matrix-0hywp0-F.cjs +0 -1
  154. package/dist/matrix-Dy-tyY7E.js +0 -381
  155. package/dist/prefill-DUvejVt1.cjs +0 -1
  156. package/dist/prepared-YXy-fVLw.cjs +0 -1
  157. package/dist/prepared-rXCKqdHY.js +0 -88
  158. package/dist/progress-B0ctFpKf.cjs +0 -1
  159. package/dist/progress-Hc2vxoCs.js +0 -52
  160. package/dist/record-bindings-Ct1HkPrc.cjs +0 -1
  161. package/dist/record-bindings-VZGS-Qd8.js +0 -155
  162. package/dist/rich-text-layout-K48VHUoW.cjs +0 -3
  163. package/dist/rich-text-layout-wxBhnAS7.js +0 -102
  164. package/dist/runtime-Dq0LUsyS.cjs +0 -1
  165. package/dist/template-catalog-CLAM4w7H.cjs +0 -1
  166. package/dist/template-fragments-Ca25Jt7e.cjs +0 -1
  167. package/dist/template-outline-CDWXptuj.js +0 -88
  168. package/dist/template-outline-K4jGhATu.cjs +0 -1
  169. package/dist/template-registry-CWnuGqyP.cjs +0 -1
  170. package/dist/textwrap-CkGjRFT3.js +0 -110
  171. package/dist/textwrap-OTOUMr4f.cjs +0 -4
@@ -1,110 +0,0 @@
1
- import { D as M } from "./grid-geometry-D3SJgWFv.js";
2
- const d = /[\u3000-\u9fff\uff00-\uffef]/, s = new Uint8Array(128);
3
- {
4
- for (const t of "iljtf.,:;'`|!()[]") s[t.charCodeAt(0)] = 1;
5
- for (const t of "mwMW@") s[t.charCodeAt(0)] = 2;
6
- for (let t = 48; t <= 57; t++) s[t] = 3;
7
- for (let t = 65; t <= 90; t++) s[t] = 4;
8
- s[32] = 5;
9
- }
10
- const w = [0.54, 0.26, 0.95, 0.59, 0.67, 0.3];
11
- function g(t) {
12
- const e = t.charCodeAt(0);
13
- return e < 128 ? w[s[e]] : d.test(t) ? 1 : /[A-Z]/.test(t) ? 0.67 : 0.54;
14
- }
15
- const o = {
16
- measureMm(t, e) {
17
- const { fontSizePt: i, bold: c = !1, letterSpacingPt: f = 0 } = e, n = 25.4 / 72;
18
- let r = 0;
19
- for (const h of t)
20
- r += g(h);
21
- return c && (r *= 1.04), (r * i + f * Math.max(0, Array.from(t).length - 1)) * n;
22
- }
23
- };
24
- function S() {
25
- return o;
26
- }
27
- function T(t, e) {
28
- return o.measureMm(t, e);
29
- }
30
- function b(t) {
31
- let e;
32
- return {
33
- measureMm(i, c) {
34
- if (e === void 0 && (e = t()), !e) return o.measureMm(i, c);
35
- const f = c.fontSizePt * 96 / 72;
36
- e.font = `${c.italic ? "italic " : ""}${c.bold ? "bold " : ""}${f}px ${c.fontFamily ?? M}`, "letterSpacing" in e && (e.letterSpacing = "0px");
37
- const n = (c.letterSpacingPt ?? 0) * Math.max(0, Array.from(i).length - 1);
38
- return e.measureText(i).width * 25.4 / 96 + n * 25.4 / 72;
39
- }
40
- };
41
- }
42
- function p(t, e, i) {
43
- const c = [];
44
- let f = "";
45
- const n = () => {
46
- f && (c.push({ text: f, widthMm: i.measureMm(f, e), cjk: !1 }), f = "");
47
- };
48
- for (const r of t) {
49
- if (r === `
50
- `) {
51
- n(), c.push({ text: `
52
- `, widthMm: 0, cjk: !1, br: !0 });
53
- continue;
54
- }
55
- if (r === " ") {
56
- n(), c.push({ text: r, widthMm: i.measureMm(r, e), cjk: !1, space: !0 });
57
- continue;
58
- }
59
- if (d.test(r)) {
60
- n(), c.push({ text: r, widthMm: i.measureMm(r, e), cjk: !0 });
61
- continue;
62
- }
63
- f += r;
64
- }
65
- return n(), c;
66
- }
67
- function j(t, e, i, c = o) {
68
- if (!t) return [""];
69
- t = t.replace(/\r\n?/g, `
70
- `);
71
- const f = [];
72
- let n = "", r = 0;
73
- const h = (i.letterSpacingPt ?? 0) * 25.4 / 72, u = () => {
74
- f.push(n), n = "", r = 0;
75
- };
76
- for (const a of p(t, i, c)) {
77
- if (a.br) {
78
- u();
79
- continue;
80
- }
81
- const m = n.length > 0 ? h : 0;
82
- if (r + m + a.widthMm <= e) {
83
- n += a.text, r += m + a.widthMm;
84
- continue;
85
- }
86
- if (a.space) {
87
- u();
88
- continue;
89
- }
90
- if (a.cjk) {
91
- n.length > 0 && u(), n = a.text, r = a.widthMm;
92
- continue;
93
- }
94
- if (n.length > 0 && u(), a.widthMm <= e) {
95
- n = a.text, r = a.widthMm;
96
- continue;
97
- }
98
- for (const l of a.text)
99
- c.measureMm(n + l, i) > e && n.length > 0 && u(), n += l, r = c.measureMm(n, i);
100
- }
101
- return u(), f;
102
- }
103
- export {
104
- b as a,
105
- S as b,
106
- g as c,
107
- o as h,
108
- T as m,
109
- j as w
110
- };
@@ -1,4 +0,0 @@
1
- "use strict";const g=require("./grid-geometry-D8ReblRV.cjs"),M=/[\u3000-\u9fff\uff00-\uffef]/,s=new Uint8Array(128);{for(const t of"iljtf.,:;'`|!()[]")s[t.charCodeAt(0)]=1;for(const t of"mwMW@")s[t.charCodeAt(0)]=2;for(let t=48;t<=57;t++)s[t]=3;for(let t=65;t<=90;t++)s[t]=4;s[32]=5}const w=[.54,.26,.95,.59,.67,.3];function d(t){const e=t.charCodeAt(0);return e<128?w[s[e]]:M.test(t)?1:/[A-Z]/.test(t)?.67:.54}const o={measureMm(t,e){const{fontSizePt:i,bold:c=!1,letterSpacingPt:u=0}=e,r=25.4/72;let n=0;for(const h of t)n+=d(h);return c&&(n*=1.04),(n*i+u*Math.max(0,Array.from(t).length-1))*r}};function p(){return o}function A(t,e){return o.measureMm(t,e)}function x(t){let e;return{measureMm(i,c){if(e===void 0&&(e=t()),!e)return o.measureMm(i,c);const u=c.fontSizePt*96/72;e.font=`${c.italic?"italic ":""}${c.bold?"bold ":""}${u}px ${c.fontFamily??g.DEFAULT_FONT_FAMILY}`,"letterSpacing"in e&&(e.letterSpacing="0px");const r=(c.letterSpacingPt??0)*Math.max(0,Array.from(i).length-1);return e.measureText(i).width*25.4/96+r*25.4/72}}}function T(t,e,i){const c=[];let u="";const r=()=>{u&&(c.push({text:u,widthMm:i.measureMm(u,e),cjk:!1}),u="")};for(const n of t){if(n===`
2
- `){r(),c.push({text:`
3
- `,widthMm:0,cjk:!1,br:!0});continue}if(n===" "){r(),c.push({text:n,widthMm:i.measureMm(n,e),cjk:!1,space:!0});continue}if(M.test(n)){r(),c.push({text:n,widthMm:i.measureMm(n,e),cjk:!0});continue}u+=n}return r(),c}function S(t,e,i,c=o){if(!t)return[""];t=t.replace(/\r\n?/g,`
4
- `);const u=[];let r="",n=0;const h=(i.letterSpacingPt??0)*25.4/72,a=()=>{u.push(r),r="",n=0};for(const f of T(t,i,c)){if(f.br){a();continue}const m=r.length>0?h:0;if(n+m+f.widthMm<=e){r+=f.text,n+=m+f.widthMm;continue}if(f.space){a();continue}if(f.cjk){r.length>0&&a(),r=f.text,n=f.widthMm;continue}if(r.length>0&&a(),f.widthMm<=e){r=f.text,n=f.widthMm;continue}for(const l of f.text)c.measureMm(r+l,i)>e&&r.length>0&&a(),r+=l,n=c.measureMm(r,i)}return a(),u}exports.charWidthEm=d;exports.createCanvasMeasurer=x;exports.createHeuristicMeasurer=p;exports.heuristicMeasurer=o;exports.measureTextMm=A;exports.wrapText=S;