@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.
- package/README.md +8 -6
- package/dist/ExcelBindingWizard-BrTmdo7f.cjs +1 -0
- package/dist/ExcelBindingWizard-CcDMLO8Q.js +1486 -0
- package/dist/ParamEditor-BGjovFUe.js +737 -0
- package/dist/ParamEditor-CeNp4_zQ.cjs +1 -0
- package/dist/ReportBatchPanel-CHxBtG9R.cjs +1 -0
- package/dist/ReportBatchPanel-CJB67WNd.js +351 -0
- package/dist/ReportLabelStudio-Tplc1TLJ.js +784 -0
- package/dist/ReportLabelStudio-g8PkqJWn.cjs +1 -0
- package/dist/ReportParamPanel-C7fZTllk.cjs +1 -0
- package/dist/{ReportParamPanel-BHSKVL8k.js → ReportParamPanel-GI43aGa0.js} +146 -127
- package/dist/ReportPreview-BoGBGyRr.cjs +6 -0
- package/dist/ReportPreview-QLONCyci.js +6257 -0
- package/dist/ReportTemplateLibrary-BFQIX0sg.cjs +1 -0
- package/dist/ReportTemplateLibrary-KqX4E2sN.js +312 -0
- package/dist/RuleEditor-BZUP9yvL.cjs +1 -0
- package/dist/RuleEditor-OPX1awrH.js +2342 -0
- package/dist/TemplateOutlinePanel-CVYKVLv_.cjs +1 -0
- package/dist/TemplateOutlinePanel-DQS-eOs6.js +97 -0
- package/dist/TemplateReusePanel-CY6O93Zk.cjs +1 -0
- package/dist/TemplateReusePanel-DKXiFTyB.js +389 -0
- package/dist/TemplateReviewPanel-DbeNC8Ms.cjs +1 -0
- package/dist/TemplateReviewPanel-Dijwm9YE.js +593 -0
- package/dist/analytics.cjs +1 -1
- package/dist/analytics.js +26 -26
- package/dist/artifact-integrity.json +106 -104
- package/dist/assets-D2gHc4Mz.cjs +1 -0
- package/dist/assets-T_gDeFaz.js +132 -0
- package/dist/auto-BB99S802.js +257 -0
- package/dist/auto-BrPWo7Xm.cjs +1 -0
- package/dist/capabilities-DiBj4Qgl.cjs +1 -0
- package/dist/capabilities-pg7j7VLT.js +106 -0
- package/dist/charts-Cjw5AYkg.cjs +1 -0
- package/dist/{charts-Dlv8j2AG.js → charts-CxJZ0XaY.js} +1 -1
- package/dist/computed-DK6BruFz.cjs +1 -0
- package/dist/{computed-C8NRZQss.js → computed-f3pOqWLX.js} +381 -301
- package/dist/data-bar-CeZuFmYl.cjs +1 -0
- package/dist/{data-bar-8baGYEZ9.js → data-bar-IkI6VvMQ.js} +1 -1
- package/dist/designer-BZoVWTgl.js +7172 -0
- package/dist/designer-zS2uKJmY.cjs +2 -0
- package/dist/designer.cjs +1 -1
- package/dist/designer.d.cts +105 -45
- package/dist/designer.d.ts +105 -45
- package/dist/designer.js +4 -4
- package/dist/dom-ChE5D-L-.cjs +1 -0
- package/dist/dom-JWrchIre.js +452 -0
- package/dist/dom-cell-address-DLD1mkTB.cjs +1 -0
- package/dist/dom-cell-address-Fn-8nk7D.js +11 -0
- package/dist/{encoding-ncQAvyOv.cjs → encoding-7lquyj0w.cjs} +1 -1
- package/dist/{encoding-DbnhbwI8.js → encoding-CEd-dq9A.js} +2 -2
- package/dist/{font-loader-Di0lQKFf.js → font-loader-CNWXomuV.js} +1 -1
- package/dist/{font-loader-BB372_XN.cjs → font-loader-D8pI87fL.cjs} +1 -1
- package/dist/grid-strokes-Be24LGuV.cjs +1 -0
- package/dist/grid-strokes-EoY66L2f.js +53 -0
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +944 -1259
- package/dist/{json-snapshot-DvQbZlD7.js → json-snapshot-BRnzKudk.js} +763 -776
- package/dist/json-snapshot-DNiIbpOr.cjs +2 -0
- package/dist/matrix-B8QWbsGM.cjs +1 -0
- package/dist/matrix-C6e_r_vp.js +302 -0
- package/dist/{pdf-DmlnL5eB.js → pdf-CJToa81Z.js} +20 -20
- package/dist/{pdf-CARdBcuw.cjs → pdf-DpMkW72B.cjs} +42 -42
- package/dist/pdf.cjs +1 -1
- package/dist/pdf.js +2 -2
- package/dist/{plugin-AcAQ2m9X.cjs → plugin-BWTp-X7b.cjs} +1 -1
- package/dist/{plugin-w5Nyt08U.js → plugin-_BkUVc2z.js} +1 -1
- package/dist/{prefill-BXBxx5We.js → prefill-CWGdnqQd.js} +21 -21
- package/dist/prefill-PaAy6wLk.cjs +1 -0
- package/dist/prepared-CJy_qk7d.js +94 -0
- package/dist/prepared-D0yCSxSO.cjs +1 -0
- package/dist/progress-ByiOxUD3.js +250 -0
- package/dist/progress-WomPRP3B.cjs +1 -0
- package/dist/{protocol-fjaeKkjf.js → protocol-BG16rz6D.js} +3 -3
- package/dist/{protocol-C9ZaylID.cjs → protocol-wzhl1Fim.cjs} +1 -1
- package/dist/record-bindings-DatJZv_e.js +200 -0
- package/dist/record-bindings-MBxbeBsi.cjs +1 -0
- package/dist/{region-binding-workflow-aA8nxmkZ.js → region-binding-workflow-DjrXuR1q.js} +2 -2
- package/dist/{region-binding-workflow-BiJQ7NU6.cjs → region-binding-workflow-l7NGfagJ.cjs} +2 -2
- package/dist/report-encoding-worker.cjs +1 -1
- package/dist/report-encoding-worker.js +1 -1
- package/dist/rich-text-layout-Ciwa6D2o.js +52 -0
- package/dist/rich-text-layout-DK7A_a5r.cjs +3 -0
- package/dist/runtime-DYMOS_gz.cjs +1 -0
- package/dist/{runtime-BTtpjF3D.js → runtime-PiCax9zQ.js} +52 -51
- package/dist/sbom.cdx.json +1 -1
- package/dist/server-node.cjs +5 -5
- package/dist/server-node.js +1676 -1619
- package/dist/server.cjs +1 -1
- package/dist/server.js +24 -24
- package/dist/style.css +1 -1
- package/dist/{template-catalog-JSxSqk5y.js → template-catalog-CRuZL3pi.js} +17 -17
- package/dist/template-catalog-DtrtT1FY.cjs +1 -0
- package/dist/{template-fragments-D2JFj7Du.js → template-fragments-CPpGpQoz.js} +12 -12
- package/dist/template-fragments-GVjpew_q.cjs +1 -0
- package/dist/template-registry-DI59PXVK.cjs +1 -0
- package/dist/{template-registry-Do1Uav2Z.js → template-registry-O0hNIOfB.js} +17 -17
- package/dist/{template-serialization-CU4n_Miu.js → template-serialization-CWmHq7lX.js} +1 -1
- package/dist/{template-serialization-CgqBo6s-.cjs → template-serialization-CqQY4zDg.cjs} +1 -1
- package/dist/textwrap-D4ZksyMK.js +111 -0
- package/dist/textwrap-DEHqAjKZ.cjs +4 -0
- package/dist/vue/async.d.cts +31 -0
- package/dist/vue/async.d.ts +31 -0
- package/dist/vue/index.d.cts +32 -1
- package/dist/vue/index.d.ts +32 -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 +52 -47
- package/dist/{workbook-session-BvEBRRMz.cjs → workbook-session-C6-SrnCT.cjs} +4 -4
- package/dist/{workbook-session-f0wVlzst.js → workbook-session-C9ZmCBwY.js} +15 -16
- package/dist/worker.cjs +1 -1
- package/dist/worker.js +4 -4
- package/dist/xlsx.cjs +4 -4
- package/dist/xlsx.js +184 -179
- package/package.json +1 -1
- package/dist/ExcelBindingWizard-CW79I6Gl.cjs +0 -1
- package/dist/ExcelBindingWizard-CZyppD7I.js +0 -1485
- package/dist/ParamEditor-CiYCJI0b.cjs +0 -1
- package/dist/ParamEditor-DQit-Gdf.js +0 -732
- package/dist/ReportBatchPanel-DKTpV7MU.js +0 -350
- package/dist/ReportBatchPanel-Db6TAfG5.cjs +0 -1
- package/dist/ReportLabelStudio-B0i9ohQj.cjs +0 -1
- package/dist/ReportLabelStudio-BYnRqmje.js +0 -780
- package/dist/ReportParamPanel-lngONOEz.cjs +0 -1
- package/dist/ReportPreview-BDgKssYR.js +0 -5887
- package/dist/ReportPreview-Dw-4icG6.cjs +0 -6
- package/dist/ReportTemplateLibrary-BZuKn0YK.js +0 -311
- package/dist/ReportTemplateLibrary-DEXH07ND.cjs +0 -1
- package/dist/RuleEditor-CIQn547x.js +0 -2341
- package/dist/RuleEditor-zSUmPjKa.cjs +0 -1
- package/dist/TemplateOutlinePanel-B5SfGYVN.cjs +0 -1
- package/dist/TemplateOutlinePanel-D0PgOSQE.js +0 -96
- package/dist/TemplateReusePanel-BKlAEF8-.js +0 -388
- package/dist/TemplateReusePanel-DAy_Hwqz.cjs +0 -1
- package/dist/TemplateReviewPanel-CowmHaQQ.cjs +0 -1
- package/dist/TemplateReviewPanel-div-EH_m.js +0 -592
- package/dist/assets-CxHunY_9.js +0 -232
- package/dist/assets-vbjAGgk8.cjs +0 -1
- package/dist/auto-DcUHlKob.cjs +0 -1
- package/dist/auto-moShblh1.js +0 -240
- package/dist/charts-aCtoswXq.cjs +0 -1
- package/dist/component-tree-1_QCiQJX.js +0 -67
- package/dist/component-tree-BjZIp6w9.cjs +0 -1
- package/dist/computed-4TnxzgIh.cjs +0 -1
- package/dist/data-bar-YltqGTaC.cjs +0 -1
- package/dist/designer-B7jJeAeG.js +0 -6914
- package/dist/designer-BWQVpJeN.cjs +0 -2
- package/dist/grid-geometry-D3SJgWFv.js +0 -136
- package/dist/grid-geometry-D8ReblRV.cjs +0 -1
- package/dist/json-snapshot-nyV63AbB.cjs +0 -2
- package/dist/matrix-0hywp0-F.cjs +0 -1
- package/dist/matrix-Dy-tyY7E.js +0 -381
- package/dist/prefill-DUvejVt1.cjs +0 -1
- package/dist/prepared-YXy-fVLw.cjs +0 -1
- package/dist/prepared-rXCKqdHY.js +0 -88
- package/dist/progress-B0ctFpKf.cjs +0 -1
- package/dist/progress-Hc2vxoCs.js +0 -52
- package/dist/record-bindings-Ct1HkPrc.cjs +0 -1
- package/dist/record-bindings-VZGS-Qd8.js +0 -155
- package/dist/rich-text-layout-K48VHUoW.cjs +0 -3
- package/dist/rich-text-layout-wxBhnAS7.js +0 -102
- package/dist/runtime-Dq0LUsyS.cjs +0 -1
- package/dist/template-catalog-CLAM4w7H.cjs +0 -1
- package/dist/template-fragments-Ca25Jt7e.cjs +0 -1
- package/dist/template-outline-CDWXptuj.js +0 -88
- package/dist/template-outline-K4jGhATu.cjs +0 -1
- package/dist/template-registry-CWnuGqyP.cjs +0 -1
- package/dist/textwrap-CkGjRFT3.js +0 -110
- package/dist/textwrap-OTOUMr4f.cjs +0 -4
|
@@ -1,145 +1,147 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.
|
|
2
|
+
"version": "2.23.1",
|
|
3
3
|
"algorithm": "sha256",
|
|
4
4
|
"files": {
|
|
5
|
-
"ExcelBindingWizard-
|
|
6
|
-
"ExcelBindingWizard-
|
|
7
|
-
"ParamEditor-
|
|
8
|
-
"ParamEditor-
|
|
9
|
-
"ReportBatchPanel-
|
|
10
|
-
"ReportBatchPanel-
|
|
11
|
-
"ReportLabelStudio-
|
|
12
|
-
"ReportLabelStudio-
|
|
13
|
-
"ReportParamPanel-
|
|
14
|
-
"ReportParamPanel-
|
|
15
|
-
"ReportPreview-
|
|
16
|
-
"ReportPreview-
|
|
17
|
-
"ReportTemplateLibrary-
|
|
18
|
-
"ReportTemplateLibrary-
|
|
19
|
-
"RuleEditor-
|
|
20
|
-
"RuleEditor-
|
|
21
|
-
"TemplateOutlinePanel-
|
|
22
|
-
"TemplateOutlinePanel-
|
|
23
|
-
"TemplateReusePanel-
|
|
24
|
-
"TemplateReusePanel-
|
|
25
|
-
"TemplateReviewPanel-
|
|
26
|
-
"TemplateReviewPanel-
|
|
5
|
+
"ExcelBindingWizard-BrTmdo7f.cjs": "41e10653dff667d16c0db55648baf41316078be06b94bb1b2d1c45f9d91e130e",
|
|
6
|
+
"ExcelBindingWizard-CcDMLO8Q.js": "92763cf68db7638352387bb34188d25a50f0495289c7a864a685d0436e902cb4",
|
|
7
|
+
"ParamEditor-BGjovFUe.js": "a7de49c4651b107773eb410fdddacabf5b9a613dda14e8447049db02e035f042",
|
|
8
|
+
"ParamEditor-CeNp4_zQ.cjs": "7ef619fc25b1ff4746b3dd5767c2b7a5e7fb4c7153a1b2c41a95da9658972dba",
|
|
9
|
+
"ReportBatchPanel-CHxBtG9R.cjs": "a923672d28b6f3c6fa4eb0791949cb631f7fd9a976375c40756f3da0d960747b",
|
|
10
|
+
"ReportBatchPanel-CJB67WNd.js": "59b9acfdfb75d61f9e2476c1036c35310b99ab51ae5c90fc3be4c710f0b4fa3c",
|
|
11
|
+
"ReportLabelStudio-Tplc1TLJ.js": "da067a4a43a4dd0116eb0a6016c5482290e23e4207a20659fe80cb52e0be2714",
|
|
12
|
+
"ReportLabelStudio-g8PkqJWn.cjs": "5cc31128204688334dc3386021367319ed048a8b1afd3fb1d65705ae93fa40f0",
|
|
13
|
+
"ReportParamPanel-C7fZTllk.cjs": "c38607b59f69e3ea1e407f3cbbb998d66ee94b8c6b4a5b90f6f978f03ba54887",
|
|
14
|
+
"ReportParamPanel-GI43aGa0.js": "b3764ac371b56e47d7df0eabddd98ebb9f2bfba6335549ac09788a339ee9c4b3",
|
|
15
|
+
"ReportPreview-BoGBGyRr.cjs": "9bc27f025ad3a5204a06aa49f320a7f9fe8a6905aba8886b3043dd078e60f9e4",
|
|
16
|
+
"ReportPreview-QLONCyci.js": "39793b48926e926e9037d6733532ee7fa6a8e6ef457054c70b48ab709b5e7eca",
|
|
17
|
+
"ReportTemplateLibrary-BFQIX0sg.cjs": "74652f74fb7f3c5fd94212b90dbadfb15228ded47dafee8a35d2c775dc10d20c",
|
|
18
|
+
"ReportTemplateLibrary-KqX4E2sN.js": "dc4edc2ad7eebf9796bda942d1e72ea7a4616fccecd911939672cb4e2c1e9e46",
|
|
19
|
+
"RuleEditor-BZUP9yvL.cjs": "2ad6ca5ecd0eb542f23e9becac9015868603a182b937f8f4588b033add409720",
|
|
20
|
+
"RuleEditor-OPX1awrH.js": "ee4a9a8f1b23f351a7c0037ed2c6962da70a80e2ae8f7666e7ee52ea0beb2760",
|
|
21
|
+
"TemplateOutlinePanel-CVYKVLv_.cjs": "90af7079c09bd0f2762dd58fb3c889484249791523cc8a504d2f55da8e3bb13a",
|
|
22
|
+
"TemplateOutlinePanel-DQS-eOs6.js": "a668f7c39e426f771368e281098ba2dc5a2c5e16b3cd2eb59cea0019b086df63",
|
|
23
|
+
"TemplateReusePanel-CY6O93Zk.cjs": "e96995fff9ca1757e90b3a66aa31bfd82ac0849071cae7fa57a1ba52436e2ab4",
|
|
24
|
+
"TemplateReusePanel-DKXiFTyB.js": "5be87ba3a16bf816da93ee38f5abbe31a93f1005b5e4ac00cf20b41a13e56420",
|
|
25
|
+
"TemplateReviewPanel-DbeNC8Ms.cjs": "8c71ffc02983b40c0272c5bd04ba0559e35ddf1c7eb8cf68138c0a2c9dec9e94",
|
|
26
|
+
"TemplateReviewPanel-Dijwm9YE.js": "855695d99dd24e521e2ccc40d112d9da82c17ea8ab73e1c5a5bfbf60c3d4d3ad",
|
|
27
27
|
"_commonjsHelpers-DKOUU3wS.cjs": "9fb4a8db4e3ab1aba23d44b6965615369004c05bfb5a323027ab5191080340d4",
|
|
28
28
|
"_commonjsHelpers-DaMA6jEr.js": "6d52e5d0f36d01714a54c94e082101e88ddce58c7189eeca8f2abc012a7cea12",
|
|
29
29
|
"_plugin-vue_export-helper-8SL1F89S.js": "233ffd200e30e23b8dad3eaee11bc8ef37724bf79606de66035c07f92dc5bd3d",
|
|
30
30
|
"_plugin-vue_export-helper-BLmdZLlg.cjs": "f7b5ccf7b4a1d92229cd7906bb614a43b84e50d340e80a509d64ac9a7b0b172d",
|
|
31
|
-
"analytics.cjs": "
|
|
32
|
-
"analytics.js": "
|
|
33
|
-
"assets-
|
|
34
|
-
"assets-
|
|
35
|
-
"auto-
|
|
36
|
-
"auto-
|
|
31
|
+
"analytics.cjs": "7d04630bf6091b2989461694f4bdba2b3763fe992dd9058ab2959b47f127101b",
|
|
32
|
+
"analytics.js": "e102e4a84b801a178ea43ca1bb0be62c976b432fb6b3bc5514dbe8934681149c",
|
|
33
|
+
"assets-D2gHc4Mz.cjs": "16f5ff8fdb8fe9d0383465b76c27013508cf7906dbc65c9495460bb83158f087",
|
|
34
|
+
"assets-T_gDeFaz.js": "439511668f06329f09c64ccdd4cfba1779b6bffd4c7a8aad07324302b56a4491",
|
|
35
|
+
"auto-BB99S802.js": "5f1893d211181ab1800c2e20491c4b6c348b017616f36a5b9e125ae284974fd7",
|
|
36
|
+
"auto-BrPWo7Xm.cjs": "4bea2ef85bccddd2251da183dd550e324ddaeeb1c1350ac71d5af445be98d147",
|
|
37
37
|
"batch-DGCt44XM.js": "8b4e701e19c6342025eea92f969437c0e288a88e53383d82ec1a895c72a1dd90",
|
|
38
38
|
"batch-DYcokH4v.cjs": "29a6bb725bd57b508ef61fa450993d87447aa0a0b74f56953f0f35651a148d51",
|
|
39
|
-
"
|
|
40
|
-
"
|
|
39
|
+
"capabilities-DiBj4Qgl.cjs": "7c30e186a8294c80ba2b9dd40f249cb2f0d297af04bfb4524053a3820d21c880",
|
|
40
|
+
"capabilities-pg7j7VLT.js": "264df4e1c2c60895dc13ab2d1cd7288885986c0ef45efe99888fa884ccffceee",
|
|
41
|
+
"charts-Cjw5AYkg.cjs": "21029210f210ac75d29749c6b96588971ec6e60c095e92c7c6fe1e32c342bce5",
|
|
42
|
+
"charts-CxJZ0XaY.js": "8f898d448e128434f3e9fe7b2dacd116f2befd7b19ec7e0031d75b17cd164cac",
|
|
41
43
|
"code-options-BKXXY7NI.js": "67696253b923c214c5b628f86c65968d4de6e0812cb142bdb043806be6158038",
|
|
42
44
|
"code-options-BUTChiZZ.cjs": "19e0f584437bbc31c39a662e20ae288c32b6e27db7f0fd9a79fd8c2465673011",
|
|
43
45
|
"codes.cjs": "1cb6e4e2cb75cfecb4f998dcdb1d822c8832bd993c65567446d6ea63ff213130",
|
|
44
46
|
"codes.js": "60794ba407233d62c22653f85ec21d0116287c2bee96f1c5c90a0075f9b3eb61",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"data-bar-8baGYEZ9.js": "47aaaca2b66126e453585f7c5a3832c25be3c6ab3783d3396a1ee346df488e50",
|
|
50
|
-
"data-bar-YltqGTaC.cjs": "7ff05cb05f4716a47c39d4cf955f8bd48895d7325a37dcf6999aa69ad69b4f50",
|
|
47
|
+
"computed-DK6BruFz.cjs": "f26215bcfc829ed2f0880863939b27214c0d6d0cfaf4482ec47a1c9924172e38",
|
|
48
|
+
"computed-f3pOqWLX.js": "42beff58ce182392c91009de04864963081605d1f4322167062e0134db6b9b1c",
|
|
49
|
+
"data-bar-CeZuFmYl.cjs": "ac9cb1ecd2ee1a1e7a72c47eb66adf8260bc9ae49eac81a0bb3f7c67d29622f9",
|
|
50
|
+
"data-bar-IkI6VvMQ.js": "24f68d6bd259a08f5d77f23f7a33be4c5fff0d390a8096981ad67ad7f5d02d88",
|
|
51
51
|
"dataset-DL83majE.js": "5733ea2048b60120b6f74ffb485b92abfa62712bf1e045debebbe50631643a3a",
|
|
52
52
|
"dataset-IrlXbUvh.cjs": "fcd1efa71845aa6ad44559918cc8206a473c4ce343afb057ba91d23b041363b3",
|
|
53
|
-
"designer-
|
|
54
|
-
"designer-
|
|
55
|
-
"designer.cjs": "
|
|
56
|
-
"designer.js": "
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
53
|
+
"designer-BZoVWTgl.js": "c296a80d2959b72fcfc975a46c1ca57692c601923e4870faec770a682814cee4",
|
|
54
|
+
"designer-zS2uKJmY.cjs": "20e7008f4470a487d363b88b99dc65a73ce692742f27c21f559204c2ac3cc78e",
|
|
55
|
+
"designer.cjs": "f343e11d4b73e963a2bfb3debf93c1b0a719498a0810540a9742dfeb6575374b",
|
|
56
|
+
"designer.js": "c3724418d0c0ea09339c6351357db54d7642ee1c161de9f02a29c9cf58421ac0",
|
|
57
|
+
"dom-ChE5D-L-.cjs": "50ae971adca204e6c35ace6552cba061c186daeff3fb7dff316c7493eebd83ef",
|
|
58
|
+
"dom-JWrchIre.js": "8cb586ee5d44e49909dada82867f9cacd838fbeca76d14a9f210611e04b67c29",
|
|
59
|
+
"dom-cell-address-DLD1mkTB.cjs": "6338fd0aff421f07e6d18dd013e951bf3ebb3f24eb62fb6b857465f0be9cfaa9",
|
|
60
|
+
"dom-cell-address-Fn-8nk7D.js": "ba69ee95af411e0c1ef51949009595099e14d75e43feb6628d9a9302e59abe25",
|
|
61
|
+
"encoding-7lquyj0w.cjs": "e5041132fc815ec52946e6a383fb84046ad8a076b9b62d194ce097c9d8864fa9",
|
|
62
|
+
"encoding-CEd-dq9A.js": "265009cbbc82de3ff0b40dd0481d74f9a1e158141624543967691413207d0507",
|
|
63
|
+
"font-loader-CNWXomuV.js": "cefde5acc9de29df876cd655063bcfa2b39c8a7b2f710e02a40a36f48e2ea7f5",
|
|
64
|
+
"font-loader-D8pI87fL.cjs": "a89a982315eacc2b0eb529dc3ce59417cdd3f3c6916cfd62b240b00a409a6d6b",
|
|
65
|
+
"grid-strokes-Be24LGuV.cjs": "bba91fed195f8ea6e04bc1ae94f2fa1a458cc9388457d33825d7eaa8333acb6c",
|
|
66
|
+
"grid-strokes-EoY66L2f.js": "42b35dc4cb06ac8591f8b7939b774cd149e29dd9a427a7adc8690b0acd606cf1",
|
|
63
67
|
"index-CPh6tqge.js": "7c296b48cef38d5964457d24709d00ccc27f5129fe704680d05a07995296331a",
|
|
64
68
|
"index-CUNw7dL9.cjs": "3903d4cbd382319dcfbe79bc936898a53b9d3ea0eddf02c969f4834b51e3dd3d",
|
|
65
|
-
"index.cjs": "
|
|
66
|
-
"index.js": "
|
|
69
|
+
"index.cjs": "89b5365f73bacd4cb1318ef78023082e2c6046c1f1954b08ba44b9af40e85074",
|
|
70
|
+
"index.js": "f6b4b2eba9ca6183bb549bd10335cfbc99f902f3c2b658b8c3b6aadfef6ecd5b",
|
|
67
71
|
"injection-keys-Db_DyLkm.cjs": "0d656460efa0c48f6153aae745dd61a7907128938d98b358b5b6d413db5ec4ed",
|
|
68
72
|
"injection-keys-e85udZCp.js": "101e96fc627b33003ba295d281e7f7bfb2c077300556b2bf039cb1938e36f582",
|
|
69
|
-
"json-snapshot-
|
|
70
|
-
"json-snapshot-
|
|
71
|
-
"matrix-
|
|
72
|
-
"matrix-
|
|
73
|
+
"json-snapshot-BRnzKudk.js": "524fb4dda625c8c39dbed75001067c4b1cddadf5b2cbd2c84c376a1ac532bb85",
|
|
74
|
+
"json-snapshot-DNiIbpOr.cjs": "a1efb545b1689a2c27d58dfaadcc0b68d766165d24c1c4f37259cf2c6ea14744",
|
|
75
|
+
"matrix-B8QWbsGM.cjs": "42585d79913872c489cbcd3778b639046a831c2174f35605336304580275ec99",
|
|
76
|
+
"matrix-C6e_r_vp.js": "cb87c13bdea88ecc9e2d09b0ff16dfa36c292e70ec29487975402ccfd6ef59ef",
|
|
73
77
|
"media-B7vnpD8k.cjs": "c667063f9745af571f35561ec272496f0e3d7b7d4ee003a823003337155497d9",
|
|
74
78
|
"media-Y90dHK9z.js": "5cefe7f0b0b6cd6e921af27b107f17c076479a8977bcb8ed4c84dc60e7af8408",
|
|
75
79
|
"number-format-BA_KwrZe.js": "0d508920bb83987e7bb73ebb1dcf985b06dde043b036e65c9907247e40ec1575",
|
|
76
80
|
"number-format-CZ2T_5kF.cjs": "bfbf7b30ddf4d27c80917f17c6609cb3a339436fc0a3d7a643ba5ac8faae0aec",
|
|
77
81
|
"param-validation-C-8sRJLq.cjs": "aee8af8de317622f4fc4c32585ae4ea2b837577392a861d57a81e869e0162f9a",
|
|
78
82
|
"param-validation-CnDEd2l-.js": "ebfea3402c3bac95fe3fc917f1ed9f2a69e36140b7c735ab995bad9ff2a03b26",
|
|
79
|
-
"pdf-
|
|
80
|
-
"pdf-
|
|
81
|
-
"pdf.cjs": "
|
|
82
|
-
"pdf.js": "
|
|
83
|
-
"plugin-
|
|
84
|
-
"plugin-
|
|
85
|
-
"prefill-
|
|
86
|
-
"prefill-
|
|
87
|
-
"prepared-
|
|
88
|
-
"prepared-
|
|
89
|
-
"progress-B0ctFpKf.cjs": "1bcb7711c2376494e34ac355853a2872a7401ca93f68d64b674546005fffff3d",
|
|
83
|
+
"pdf-CJToa81Z.js": "19e6e9ec7a242c07c7f7d312098cece04e3bf4555be431107d43553b54ef44d2",
|
|
84
|
+
"pdf-DpMkW72B.cjs": "7201d37421e3fb4652d68fbf6ad598a13d8ce7dfef744e078be5576aff7ecd28",
|
|
85
|
+
"pdf.cjs": "439c3bddcc5deab9538543b111ab15c45274991ccef1c350b08080530c95a70d",
|
|
86
|
+
"pdf.js": "478c2f138e89d44987fa1c713c4a4aebe89f724a551587f2ad027a24ebdbc82e",
|
|
87
|
+
"plugin-BWTp-X7b.cjs": "c4254dbbe5b885e648816d5054f7fa61da3049972b351a27c9f4d70195fe4533",
|
|
88
|
+
"plugin-_BkUVc2z.js": "7f62597667c667977d79071b8256e1643854dc3bd5cc8cb3016fb711a4bef254",
|
|
89
|
+
"prefill-CWGdnqQd.js": "0d31b07c78778922ed861647ec1e357e0da1836b452294cd301885eb39ae005e",
|
|
90
|
+
"prefill-PaAy6wLk.cjs": "fafb496f7fbfd8b4e61bafdacd9fb56edf8cf27fbfebdf0413bd1f707f6077a2",
|
|
91
|
+
"prepared-CJy_qk7d.js": "f060931134152b24cc5a19fbea0aa683a20275fc0c3e180d3473fe15777474cc",
|
|
92
|
+
"prepared-D0yCSxSO.cjs": "fdc3533f1c1cddb7d172da5f69ec7e7fec43a2a6418d4077e23289bdc7a490db",
|
|
90
93
|
"progress-BXzlVbIp.js": "aac2149222ce5bed9533f609a7de79367bd79f85a5915bcd86b34adc74eaba90",
|
|
94
|
+
"progress-ByiOxUD3.js": "fa7a4b34894e7004f7ec0015a497e84c759ea2d9868f82fbb76c003bbfc0b9ec",
|
|
91
95
|
"progress-DJBd9Rb9.cjs": "466d542700eab48cf11710a6639da603a52bbab19730151fa1594b472c0f1ee2",
|
|
92
|
-
"progress-
|
|
93
|
-
"protocol-
|
|
94
|
-
"protocol-
|
|
95
|
-
"record-bindings-
|
|
96
|
-
"record-bindings-
|
|
97
|
-
"region-binding-workflow-
|
|
98
|
-
"region-binding-workflow-
|
|
99
|
-
"report-encoding-worker.cjs": "
|
|
100
|
-
"report-encoding-worker.js": "
|
|
96
|
+
"progress-WomPRP3B.cjs": "655e72b1fce1d3a6ee6cc09264e4540c35df7e9206579e434e7b5cdfbf3381bc",
|
|
97
|
+
"protocol-BG16rz6D.js": "0939c7e2ba2946e4c55c7ef2e65030b04554d7473857cdcfbfb9f678dad58da7",
|
|
98
|
+
"protocol-wzhl1Fim.cjs": "e4bee41493321d18264b5edc41755dc4f2eee550b7872e71d6223232e815d9be",
|
|
99
|
+
"record-bindings-DatJZv_e.js": "653165a0673c6ff07a3dd933776b6c2e44dd51ad532661b514e885a8ef64e7a7",
|
|
100
|
+
"record-bindings-MBxbeBsi.cjs": "0bfb50a710577e4c9b5ff8333213230dec2f55cd2a32a0c6a63c1abd9b711466",
|
|
101
|
+
"region-binding-workflow-DjrXuR1q.js": "49d19a12d9a2cac03bda9de8202f9b4e3a0d3ae8078f778c587a63ac04b075e4",
|
|
102
|
+
"region-binding-workflow-l7NGfagJ.cjs": "9c3737d399bcf37292bc4b537086514c4f00f499bc693de4883ea0559d90b6f1",
|
|
103
|
+
"report-encoding-worker.cjs": "4258a43c2d910c5ba65a2f32eb626c0745148e29ceb3baae61d85156f55b3715",
|
|
104
|
+
"report-encoding-worker.js": "d762ded955411a7f82f9dd20cd7281e201ce1e5c3e90e4ae76e9d4b7a06e79dc",
|
|
101
105
|
"report-params-D9tBuM9B.js": "ece9133b39e06ff8769c039d94d6734ac46e5aef8c9a795c0255b217b8f4e560",
|
|
102
106
|
"report-params-VTg8MoCp.cjs": "06600716e1621dd96088355786c67db6ce12860030118777450b1eb0a3ba655b",
|
|
103
|
-
"rich-text-layout-
|
|
104
|
-
"rich-text-layout-
|
|
105
|
-
"runtime-
|
|
106
|
-
"runtime-
|
|
107
|
-
"server-node.cjs": "
|
|
108
|
-
"server-node.js": "
|
|
109
|
-
"server.cjs": "
|
|
110
|
-
"server.js": "
|
|
107
|
+
"rich-text-layout-Ciwa6D2o.js": "58317c44b07d2e93dc240ed81965d917b8f9e6cd44f24613ee637019e70f854b",
|
|
108
|
+
"rich-text-layout-DK7A_a5r.cjs": "06745bc11b6ad52da82a7d484ed96a4c46d8978571ecaac5b9f2d8be3ddb4bac",
|
|
109
|
+
"runtime-DYMOS_gz.cjs": "700cd180b69d069f90e9351c9085993adb46bfb356773ea2989fe21ec87be83f",
|
|
110
|
+
"runtime-PiCax9zQ.js": "2602e4cf5a7498c18fd994fc6fb9b8f80ff018dd13a99336610de33e6713e665",
|
|
111
|
+
"server-node.cjs": "8f4befed3485673114f49e4ac731b0b978f8fdd12fb9f00a4744599e05f8d5ec",
|
|
112
|
+
"server-node.js": "fb26aa53eb0133bf73a78cf10dd9653aaceb88f504b2474621f7e6a223851f5f",
|
|
113
|
+
"server.cjs": "3d5f25dfd86aeaedccbb102f1ba69a235fab733787748415a9a6d5a44ff55f32",
|
|
114
|
+
"server.js": "d2ed8636a8e5b1ad7b4ba26e599d4e0089bfb6d47c205feca27bba10f8d98c46",
|
|
111
115
|
"sha256-BDQ1Qk7A.js": "b0add3fe6ab451f8fe0563a7d9ba4f062bd489dffaf77df39e0a462dc8e9ee82",
|
|
112
116
|
"sha256-DgZAKXqI.cjs": "9dba2652fc0de8c96f33258fa7defcae98f5a1e3655c5065f99f721fbd0899fb",
|
|
113
117
|
"sql.cjs": "3f6410be368c6f8e3677e5c8a10fa76943685c49da1ab725262def05b13872ff",
|
|
114
118
|
"sql.js": "8c44d864340e02ec5ee4512e31b787da5dd1d3e7be750ab8280cfe2d1d733c06",
|
|
115
|
-
"style.css": "
|
|
116
|
-
"template-catalog-
|
|
117
|
-
"template-catalog-
|
|
118
|
-
"template-fragments-
|
|
119
|
-
"template-fragments-
|
|
120
|
-
"template-
|
|
121
|
-
"template-
|
|
122
|
-
"template-
|
|
123
|
-
"template-
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"textwrap-CkGjRFT3.js": "f9f728da7853c55bf946e171b66f4bf4afdf8b306ce7c8c7ffb6299ef910b388",
|
|
127
|
-
"textwrap-OTOUMr4f.cjs": "775d8f9cc655659d0731a5b7160c97b3243ed0d9001a55bcf9f84908d0be1652",
|
|
119
|
+
"style.css": "77e35cca61ff285adb5a6df8e6af0d7de8695cc2947348ab46dd40afa30901bb",
|
|
120
|
+
"template-catalog-CRuZL3pi.js": "05aaa53ef40215518a19d5b1c73255108a9994192249e9b5b46a0899330d7af4",
|
|
121
|
+
"template-catalog-DtrtT1FY.cjs": "2730dec7536ef6bf358bc1f7322ea386de4b8e4fb49499481a0c264aea445c35",
|
|
122
|
+
"template-fragments-CPpGpQoz.js": "e31d30fe29dd3920855a4f119dde23de7ec3797e61b644f81e8a275e3f36775e",
|
|
123
|
+
"template-fragments-GVjpew_q.cjs": "58ccd46781b153fc9f01f7e563c9a1bde984e61d7604340172ea46abe2dc25d1",
|
|
124
|
+
"template-registry-DI59PXVK.cjs": "8a410f366e86ffaaf29826fd57888dee7a21d7fd939667e078637df2aedccdd2",
|
|
125
|
+
"template-registry-O0hNIOfB.js": "5f13a0decb5741fa51cc0119ec1bc61027384e67a267e6ed0cd9aec8c4689de6",
|
|
126
|
+
"template-serialization-CWmHq7lX.js": "8fcb4043e00f2d4313e4ba042549a149d55748790258ed8a63275bab79f7268f",
|
|
127
|
+
"template-serialization-CqQY4zDg.cjs": "c9ff9fe1b57f49c0f391a56d62326ab6ca8ca101bff57452c8fd3356dc69cdb9",
|
|
128
|
+
"textwrap-D4ZksyMK.js": "36a012d90f110937711c847ddb974d6ee6b38ae9520e86b6918ca0f058a86093",
|
|
129
|
+
"textwrap-DEHqAjKZ.cjs": "a99bf19d0835e263db6c6d673bd44d7788c99cc87793aae07b84c40ce1f2d0eb",
|
|
128
130
|
"useLocalDraft-BnhcxXk_.js": "4329b21ab9806f229ec5039c48d140184f1a8b17713972548016e36d8c5ad2a5",
|
|
129
131
|
"useLocalDraft-CioIfDb6.cjs": "4aecc84e63a2bef15f690937d5cea415a6e5c529b1d7a2575d738215c1ff908f",
|
|
130
|
-
"vue-async.cjs": "
|
|
131
|
-
"vue-async.js": "
|
|
132
|
-
"vue.cjs": "
|
|
133
|
-
"vue.js": "
|
|
134
|
-
"workbook-session-
|
|
135
|
-
"workbook-session-
|
|
132
|
+
"vue-async.cjs": "8b513b31b07f2d10fc3299e9a73e273aae0291527a06b836391021924e367df3",
|
|
133
|
+
"vue-async.js": "f7f608f355d19a538071d7f63bb5e6725fc5f8316ab6a359ea26a369dfebd01e",
|
|
134
|
+
"vue.cjs": "ab2fb6bd0293848357d2ad836ac0dad3fd3635a7ed85a1dd82ddf2e516a8f62b",
|
|
135
|
+
"vue.js": "7aeecc78f57682f983bffdabb0986168e14c5e5011f23dcfb1eefce4390ca852",
|
|
136
|
+
"workbook-session-C6-SrnCT.cjs": "60ba55b532a796585c60a8b4c9ad201cd47e4eaa532b6702ad19f7fe8e30b249",
|
|
137
|
+
"workbook-session-C9ZmCBwY.js": "4b40f43dabfb6f27d7937cbfb05c96e644ad7caa22c208551c457b6352b7fcb6",
|
|
136
138
|
"workbook-sheets-CaPAulQ6.cjs": "7a9c89b6d94d3036bf13a5562cb799dcae6ae4c1824f0fa9a50e7938848bd2c4",
|
|
137
139
|
"workbook-sheets-D4M7XXBh.js": "650a92b5db22c6ff07e8c8a40e87febf3757f5abe7e3f07d67313ca3db7c9bc5",
|
|
138
|
-
"worker.cjs": "
|
|
139
|
-
"worker.js": "
|
|
140
|
+
"worker.cjs": "3bb7944ba8c9dd3cb2f4a92be71714ebef1579a6beaf07009bc99f5b002f30ec",
|
|
141
|
+
"worker.js": "b3e70dd98a4aa85de30744ab10f55657ef908dec7239f839750fa7518edea709",
|
|
140
142
|
"xlsx-node.cjs": "178988375a5c3ea69d7741f03026479ed6644f589076ea5838804ec8f552fd3b",
|
|
141
143
|
"xlsx-node.js": "3046b2a44983b5ce37856e871dc51fcfd4f6da0ff9421935330b8b9272628210",
|
|
142
|
-
"xlsx.cjs": "
|
|
143
|
-
"xlsx.js": "
|
|
144
|
+
"xlsx.cjs": "2333602a1ed616a22fb1924819d0d7b3ae4e1dd8353c3b4f987451f6635f1828",
|
|
145
|
+
"xlsx.js": "64a849ec92d52b2a93e244266b8b354dacaefdaa9129287c1d509cbb26136fca"
|
|
144
146
|
}
|
|
145
147
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const h=require("./progress-WomPRP3B.cjs"),w=require("./capabilities-DiBj4Qgl.cjs"),y=require("./media-B7vnpD8k.cjs");class b extends Error{constructor(t,r){super(t.message),this.name="OutputAssetError",this.diagnostic=t,this.cause=r}}function p(e){if(e.aborted)throw e.reason??new DOMException("The operation was aborted.","AbortError")}function I(e){const t={maxAssets:1e3,maxImageBytes:33554432,maxTotalImageBytes:134217728,maxDurationMs:3e4,...e.assetBudget};for(const[r,a]of Object.entries(t))if(!Number.isSafeInteger(a)||a<=0||a>2147483647)throw new RangeError(`${r} must be a positive safe integer at most 2147483647.`);return t}function v(e){const t=/^data:image\/[a-z0-9.+-]+(;base64)?,(.*)$/is.exec(e);if(!t)throw new TypeError("Asset renderers must return an image data URL.");return t[1]?Math.ceil(t[2].length*3/4):new TextEncoder().encode(decodeURIComponent(t[2])).byteLength}function l(e,t,r,a,i){const n={code:r,message:a,severity:"warning",format:e.options.format??"dom",pageIndex:t.pageIndex,componentIndex:t.componentIndex,componentPath:t.componentPath,kind:t.component.kind,nid:t.component.nid};if(e.diagnostics.push(n),w.notifyOutputDiagnostic(n,{...e.options,signal:e.signal}),e.options.assetFailure!=="placeholder")throw new b(n,i)}async function E(e,t,r){const a=e.options.assetRegistry?.rendererFor(t)??e.options.assetRenderers?.[t.kind];if(t.imageData||!a)return t.imageData;if(++e.rendered>e.budget.maxAssets)return l(e,r,"asset-budget-exceeded","Output exceeded the asset count budget.");let i;try{if(e.active=r,i=await h.waitForOutput(a({...r,signal:e.signal}),e.signal),p(e.signal),i.length>e.budget.maxImageBytes*4+1024)return l(e,r,"asset-budget-exceeded","Output exceeded the image payload byte budget.");const n=v(i);if(n>e.budget.maxImageBytes||e.bytes+n>e.budget.maxTotalImageBytes)return l(e,r,"asset-budget-exceeded","Output exceeded the encoded image byte budget.");/^data:image\/(png|jpe?g);base64,/i.test(i)&&e.inspectImage(i),e.bytes+=n}catch(n){if(e.signal.aborted||n instanceof b||n instanceof y.ImageMediaError&&n.code==="image-budget-exceeded")throw n;return l(e,r,"asset-render-failed",`Asset renderer failed for ${t.kind}; output was not silently omitted.`,n)}return i}function A(e,t){const r=e.active;if(!r){t.abort(new Error("Asset rendering exceeded maxDurationMs."));return}const a={code:"asset-budget-exceeded",message:"Asset rendering exceeded maxDurationMs.",severity:"warning",format:e.options.format??"dom",pageIndex:r.pageIndex,componentIndex:r.componentIndex,componentPath:r.componentPath,kind:r.component.kind,nid:r.component.nid};e.diagnostics.push(a);try{w.notifyOutputDiagnostic(a,{...e.options,signal:e.signal})}catch(i){t.abort(i);return}t.abort(new b(a))}async function O(e,t,r,a,i){if(!t?.children?.length)return t;const n=[];for(const[s,c]of t.children.entries())n.push(await x(e,c,{...r,component:c,componentPath:[...a,s]},i));return n.some((s,c)=>s!==t.children[c])?{...t,children:n}:t}async function x(e,t,r,a){if(p(e.signal),a.has(t))throw new TypeError("Cyclic grid children cannot be rendered.");let i=e.cache.get(t);i||(i=E(e,t,r),e.cache.set(t,i));const n=await i;p(e.signal);let s=t.grid;if(s){const c=new Set(a).add(t),d=[];for(const[u,o]of s.cells.entries()){if(!o.some(m=>m?.children?.length)){d.push(o);continue}const f=[];for(const[m,g]of o.entries())f.push(g?.children?.length?await O(e,g,r,[...r.componentPath,u,m],c):g);d.push(f.some((m,g)=>m!==o[g])?f:o)}d.some((u,o)=>u!==s.cells[o])&&(s={...s,cells:d})}return n!==t.imageData||s!==t.grid?{...t,imageData:n,grid:s}:t}function D(e,t,r){const a=new Set,i=n=>{if(h.assertOutputActive(r),!a.has(n)){if(a.add(n),n.imageData&&/^data:image\/(png|jpe?g);base64,/i.test(n.imageData))try{t(n.imageData)}catch(s){if(!(s instanceof y.ImageMediaError)||s.code==="image-budget-exceeded")throw s}for(const s of n.grid?.cells??[])for(const c of s)for(const d of c?.children??[])i(d)}};for(const n of e.pages)for(const s of n.components)i(s)}function M(e){if(e.options.fidelity==="strict"&&e.diagnostics.length)throw new w.OutputFidelityError(e.diagnostics)}async function T(e,t={}){h.assertOutputActive(t.signal),h.assertBoundedRenderTree(e);const r=I(t),a=y.createImageMediaInspector(t);if(D(e,a,t.signal),t.signal?.aborted)throw t.signal.reason??new DOMException("The operation was aborted.","AbortError");const i=new AbortController,n=()=>i.abort(t.signal?.reason);if(t.signal?.addEventListener("abort",n,{once:!0}),!t.assetRegistry&&(!t.assetRenderers||!Object.keys(t.assetRenderers).length))return t.signal?.removeEventListener("abort",n),{plan:e,diagnostics:[]};const s={options:t,signal:i.signal,diagnostics:[],rendered:0,bytes:0,budget:r,cache:new WeakMap,inspectImage:a},c=setTimeout(()=>A(s,i),r.maxDurationMs);try{const d=[];for(const[u,o]of e.pages.entries()){if(u<(t.start??0)||u>(t.end??e.pages.length-1)){d.push(o);continue}const f=[];for(const[m,g]of o.components.entries())f.push(await x(s,g,{component:g,pageIndex:u,componentIndex:m,componentPath:[]},new Set));d.push(f.some((m,g)=>m!==o.components[g])?{...o,components:f}:o)}return p(s.signal),M(s),{plan:d.some((u,o)=>u!==e.pages[o])?{...e,pages:d}:e,diagnostics:s.diagnostics}}finally{clearTimeout(c),t.signal?.removeEventListener("abort",n)}}exports.OutputAssetError=b;exports.resolvePlanAssets=T;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { v as b, E as I, w as v } from "./progress-ByiOxUD3.js";
|
|
2
|
+
import { n as w, O as E } from "./capabilities-pg7j7VLT.js";
|
|
3
|
+
import { c as A, I as y } from "./media-Y90dHK9z.js";
|
|
4
|
+
class p extends Error {
|
|
5
|
+
constructor(n, r) {
|
|
6
|
+
super(n.message), this.name = "OutputAssetError", this.diagnostic = n, this.cause = r;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
function h(e) {
|
|
10
|
+
if (e.aborted) throw e.reason ?? new DOMException("The operation was aborted.", "AbortError");
|
|
11
|
+
}
|
|
12
|
+
function O(e) {
|
|
13
|
+
const n = { maxAssets: 1e3, maxImageBytes: 33554432, maxTotalImageBytes: 134217728, maxDurationMs: 3e4, ...e.assetBudget };
|
|
14
|
+
for (const [r, a] of Object.entries(n))
|
|
15
|
+
if (!Number.isSafeInteger(a) || a <= 0 || a > 2147483647) throw new RangeError(`${r} must be a positive safe integer at most 2147483647.`);
|
|
16
|
+
return n;
|
|
17
|
+
}
|
|
18
|
+
function D(e) {
|
|
19
|
+
const n = /^data:image\/[a-z0-9.+-]+(;base64)?,(.*)$/is.exec(e);
|
|
20
|
+
if (!n) throw new TypeError("Asset renderers must return an image data URL.");
|
|
21
|
+
return n[1] ? Math.ceil(n[2].length * 3 / 4) : new TextEncoder().encode(decodeURIComponent(n[2])).byteLength;
|
|
22
|
+
}
|
|
23
|
+
function l(e, n, r, a, i) {
|
|
24
|
+
const t = { code: r, message: a, severity: "warning", format: e.options.format ?? "dom", pageIndex: n.pageIndex, componentIndex: n.componentIndex, componentPath: n.componentPath, kind: n.component.kind, nid: n.component.nid };
|
|
25
|
+
if (e.diagnostics.push(t), w(t, { ...e.options, signal: e.signal }), e.options.assetFailure !== "placeholder") throw new p(t, i);
|
|
26
|
+
}
|
|
27
|
+
async function M(e, n, r) {
|
|
28
|
+
const a = e.options.assetRegistry?.rendererFor(n) ?? e.options.assetRenderers?.[n.kind];
|
|
29
|
+
if (n.imageData || !a) return n.imageData;
|
|
30
|
+
if (++e.rendered > e.budget.maxAssets) return l(e, r, "asset-budget-exceeded", "Output exceeded the asset count budget.");
|
|
31
|
+
let i;
|
|
32
|
+
try {
|
|
33
|
+
if (e.active = r, i = await v(a({ ...r, signal: e.signal }), e.signal), h(e.signal), i.length > e.budget.maxImageBytes * 4 + 1024) return l(e, r, "asset-budget-exceeded", "Output exceeded the image payload byte budget.");
|
|
34
|
+
const t = D(i);
|
|
35
|
+
if (t > e.budget.maxImageBytes || e.bytes + t > e.budget.maxTotalImageBytes) return l(e, r, "asset-budget-exceeded", "Output exceeded the encoded image byte budget.");
|
|
36
|
+
/^data:image\/(png|jpe?g);base64,/i.test(i) && e.inspectImage(i), e.bytes += t;
|
|
37
|
+
} catch (t) {
|
|
38
|
+
if (e.signal.aborted || t instanceof p || t instanceof y && t.code === "image-budget-exceeded") throw t;
|
|
39
|
+
return l(e, r, "asset-render-failed", `Asset renderer failed for ${n.kind}; output was not silently omitted.`, t);
|
|
40
|
+
}
|
|
41
|
+
return i;
|
|
42
|
+
}
|
|
43
|
+
function T(e, n) {
|
|
44
|
+
const r = e.active;
|
|
45
|
+
if (!r) {
|
|
46
|
+
n.abort(new Error("Asset rendering exceeded maxDurationMs."));
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
const a = { code: "asset-budget-exceeded", message: "Asset rendering exceeded maxDurationMs.", severity: "warning", format: e.options.format ?? "dom", pageIndex: r.pageIndex, componentIndex: r.componentIndex, componentPath: r.componentPath, kind: r.component.kind, nid: r.component.nid };
|
|
50
|
+
e.diagnostics.push(a);
|
|
51
|
+
try {
|
|
52
|
+
w(a, { ...e.options, signal: e.signal });
|
|
53
|
+
} catch (i) {
|
|
54
|
+
n.abort(i);
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
n.abort(new p(a));
|
|
58
|
+
}
|
|
59
|
+
async function k(e, n, r, a, i) {
|
|
60
|
+
if (!n?.children?.length) return n;
|
|
61
|
+
const t = [];
|
|
62
|
+
for (const [s, c] of n.children.entries())
|
|
63
|
+
t.push(await x(e, c, { ...r, component: c, componentPath: [...a, s] }, i));
|
|
64
|
+
return t.some((s, c) => s !== n.children[c]) ? { ...n, children: t } : n;
|
|
65
|
+
}
|
|
66
|
+
async function x(e, n, r, a) {
|
|
67
|
+
if (h(e.signal), a.has(n)) throw new TypeError("Cyclic grid children cannot be rendered.");
|
|
68
|
+
let i = e.cache.get(n);
|
|
69
|
+
i || (i = M(e, n, r), e.cache.set(n, i));
|
|
70
|
+
const t = await i;
|
|
71
|
+
h(e.signal);
|
|
72
|
+
let s = n.grid;
|
|
73
|
+
if (s) {
|
|
74
|
+
const c = new Set(a).add(n), d = [];
|
|
75
|
+
for (const [u, o] of s.cells.entries()) {
|
|
76
|
+
if (!o.some((m) => m?.children?.length)) {
|
|
77
|
+
d.push(o);
|
|
78
|
+
continue;
|
|
79
|
+
}
|
|
80
|
+
const f = [];
|
|
81
|
+
for (const [m, g] of o.entries()) f.push(g?.children?.length ? await k(e, g, r, [...r.componentPath, u, m], c) : g);
|
|
82
|
+
d.push(f.some((m, g) => m !== o[g]) ? f : o);
|
|
83
|
+
}
|
|
84
|
+
d.some((u, o) => u !== s.cells[o]) && (s = { ...s, cells: d });
|
|
85
|
+
}
|
|
86
|
+
return t !== n.imageData || s !== n.grid ? { ...n, imageData: t, grid: s } : n;
|
|
87
|
+
}
|
|
88
|
+
function B(e, n, r) {
|
|
89
|
+
const a = /* @__PURE__ */ new Set(), i = (t) => {
|
|
90
|
+
if (b(r), !a.has(t)) {
|
|
91
|
+
if (a.add(t), t.imageData && /^data:image\/(png|jpe?g);base64,/i.test(t.imageData))
|
|
92
|
+
try {
|
|
93
|
+
n(t.imageData);
|
|
94
|
+
} catch (s) {
|
|
95
|
+
if (!(s instanceof y) || s.code === "image-budget-exceeded") throw s;
|
|
96
|
+
}
|
|
97
|
+
for (const s of t.grid?.cells ?? []) for (const c of s) for (const d of c?.children ?? []) i(d);
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
for (const t of e.pages) for (const s of t.components) i(s);
|
|
101
|
+
}
|
|
102
|
+
function R(e) {
|
|
103
|
+
if (e.options.fidelity === "strict" && e.diagnostics.length) throw new E(e.diagnostics);
|
|
104
|
+
}
|
|
105
|
+
async function L(e, n = {}) {
|
|
106
|
+
b(n.signal), I(e);
|
|
107
|
+
const r = O(n), a = A(n);
|
|
108
|
+
if (B(e, a, n.signal), n.signal?.aborted) throw n.signal.reason ?? new DOMException("The operation was aborted.", "AbortError");
|
|
109
|
+
const i = new AbortController(), t = () => i.abort(n.signal?.reason);
|
|
110
|
+
if (n.signal?.addEventListener("abort", t, { once: !0 }), !n.assetRegistry && (!n.assetRenderers || !Object.keys(n.assetRenderers).length))
|
|
111
|
+
return n.signal?.removeEventListener("abort", t), { plan: e, diagnostics: [] };
|
|
112
|
+
const s = { options: n, signal: i.signal, diagnostics: [], rendered: 0, bytes: 0, budget: r, cache: /* @__PURE__ */ new WeakMap(), inspectImage: a }, c = setTimeout(() => T(s, i), r.maxDurationMs);
|
|
113
|
+
try {
|
|
114
|
+
const d = [];
|
|
115
|
+
for (const [u, o] of e.pages.entries()) {
|
|
116
|
+
if (u < (n.start ?? 0) || u > (n.end ?? e.pages.length - 1)) {
|
|
117
|
+
d.push(o);
|
|
118
|
+
continue;
|
|
119
|
+
}
|
|
120
|
+
const f = [];
|
|
121
|
+
for (const [m, g] of o.components.entries()) f.push(await x(s, g, { component: g, pageIndex: u, componentIndex: m, componentPath: [] }, /* @__PURE__ */ new Set()));
|
|
122
|
+
d.push(f.some((m, g) => m !== o.components[g]) ? { ...o, components: f } : o);
|
|
123
|
+
}
|
|
124
|
+
return h(s.signal), R(s), { plan: d.some((u, o) => u !== e.pages[o]) ? { ...e, pages: d } : e, diagnostics: s.diagnostics };
|
|
125
|
+
} finally {
|
|
126
|
+
clearTimeout(c), n.signal?.removeEventListener("abort", t);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
export {
|
|
130
|
+
p as O,
|
|
131
|
+
L as r
|
|
132
|
+
};
|