@agile-team/mach-report 2.12.0 → 2.14.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.
Files changed (97) hide show
  1. package/README.md +27 -3
  2. package/dist/ExcelBindingWizard-CLT2p7P3.cjs +1 -0
  3. package/dist/ExcelBindingWizard-CvsWR8Ga.js +1485 -0
  4. package/dist/{ParamEditor-BLaE5q5W.js → ParamEditor-CflQV3eQ.js} +191 -187
  5. package/dist/ParamEditor-vIDzvpPV.cjs +1 -0
  6. package/dist/ReportBatchPanel-DkxTzBkD.cjs +1 -0
  7. package/dist/{ReportBatchPanel-B5ClP9tm.js → ReportBatchPanel-LqVgiqp7.js} +3 -3
  8. package/dist/ReportPreview-CvbqLUzM.cjs +6 -0
  9. package/dist/ReportPreview-D_ywJ_-H.js +4533 -0
  10. package/dist/{ReportTemplateLibrary-BZB-XWjj.js → ReportTemplateLibrary-MjWEtc7X.js} +1 -1
  11. package/dist/ReportTemplateLibrary-cQ1sqNYo.cjs +1 -0
  12. package/dist/RuleEditor-BaR6xUiI.cjs +1 -0
  13. package/dist/RuleEditor-ChuXMlei.js +2037 -0
  14. package/dist/TemplateOutlinePanel-BHKP89Xz.cjs +1 -0
  15. package/dist/TemplateOutlinePanel-Dci6aRn1.js +96 -0
  16. package/dist/TemplateReusePanel-B7Gmyc1z.js +388 -0
  17. package/dist/TemplateReusePanel-CY5eO2Sh.cjs +1 -0
  18. package/dist/TemplateReviewPanel-DjlX3xpt.js +592 -0
  19. package/dist/TemplateReviewPanel-JvZe9_4G.cjs +1 -0
  20. package/dist/{batch-mRqhhhjt.js → batch-DzaTNLWI.js} +23 -16
  21. package/dist/batch-xMkqYiTr.cjs +1 -0
  22. package/dist/config-0UIohTS7.cjs +1 -0
  23. package/dist/{config-B612mw0x.js → config-Dt9NtCPl.js} +227 -186
  24. package/dist/data-explanation-BktvER5B.cjs +1 -0
  25. package/dist/data-explanation-C_J6jYNi.js +16 -0
  26. package/dist/designer-Ci1LizA9.js +5020 -0
  27. package/dist/designer-rtmVIIdN.cjs +2 -0
  28. package/dist/designer.cjs +1 -2
  29. package/dist/designer.d.cts +306 -3
  30. package/dist/designer.d.ts +306 -3
  31. package/dist/designer.js +21 -4266
  32. package/dist/font-loader-DHto6Lra.js +297 -0
  33. package/dist/font-loader-vhCT8znW.cjs +1 -0
  34. package/dist/index.cjs +8 -8
  35. package/dist/index.d.cts +182 -1
  36. package/dist/index.d.ts +182 -1
  37. package/dist/index.js +728 -628
  38. package/dist/{template-review-BzpcI-tR.js → json-snapshot-BeFT3Tso.js} +867 -637
  39. package/dist/json-snapshot-D1NTP2oI.cjs +2 -0
  40. package/dist/pdf-8UPQebOE.js +36288 -0
  41. package/dist/pdf-AyJGb22z.cjs +101 -0
  42. package/dist/pdf.cjs +1 -101
  43. package/dist/pdf.js +9 -36579
  44. package/dist/plugin-BGKf-Tqg.js +22 -0
  45. package/dist/{plugin-BDTU4D94.cjs → plugin-CktLH_Iy.cjs} +1 -1
  46. package/dist/{region-binding-workflow-CcUq8W2Q.js → region-binding-workflow-DEJbhpCv.js} +1 -1
  47. package/dist/server/node.d.cts +46 -11
  48. package/dist/server/node.d.ts +46 -11
  49. package/dist/server-node.cjs +1 -1
  50. package/dist/server-node.js +294 -280
  51. package/dist/server.cjs +1 -1
  52. package/dist/server.d.cts +107 -12
  53. package/dist/server.d.ts +107 -12
  54. package/dist/server.js +713 -453
  55. package/dist/style.css +1 -1
  56. package/dist/template-bindings-BJR4k7qZ.cjs +1 -0
  57. package/dist/template-bindings-Daui7hLF.js +252 -0
  58. package/dist/template-fragments-CLkGo6To.js +187 -0
  59. package/dist/template-fragments-DFUpq5QM.cjs +1 -0
  60. package/dist/template-outline-B3xVkzSv.cjs +1 -0
  61. package/dist/template-outline-CFenM1PV.js +88 -0
  62. package/dist/{template-registry-BjE1VS6g.js → template-registry-COXDEJEM.js} +1 -1
  63. package/dist/{useLocalDraft-C07SYRnC.js → useLocalDraft-BnhcxXk_.js} +1 -1
  64. package/dist/{useLocalDraft-Yiw1wFgI.cjs → useLocalDraft-CioIfDb6.cjs} +1 -1
  65. package/dist/{validate-DbgEM1Hh.js → validate-CkQBWCeg.js} +3 -3
  66. package/dist/vue/async.d.cts +72 -2
  67. package/dist/vue/async.d.ts +72 -2
  68. package/dist/vue/index.d.cts +124 -5
  69. package/dist/vue/index.d.ts +124 -5
  70. package/dist/vue-async.cjs +1 -1
  71. package/dist/vue-async.js +5 -5
  72. package/dist/vue.cjs +1 -1
  73. package/dist/vue.js +78 -71
  74. package/dist/{workbook-session-BPb3TMnT.js → workbook-session-BfK1yHOO.js} +1 -1
  75. package/dist/worker.cjs +1 -1
  76. package/dist/worker.d.cts +46 -11
  77. package/dist/worker.d.ts +46 -11
  78. package/dist/worker.js +59 -55
  79. package/dist/xlsx.js +3 -3
  80. package/package.json +1 -1
  81. package/dist/ExcelBindingWizard-CeAf4QSE.js +0 -1465
  82. package/dist/ExcelBindingWizard-y0mT-AHR.cjs +0 -1
  83. package/dist/ParamEditor-MBBC7lUE.cjs +0 -1
  84. package/dist/ReportBatchPanel-Dc-SDkYA.cjs +0 -1
  85. package/dist/ReportPreview-DWXROHBP.cjs +0 -6
  86. package/dist/ReportPreview-DiNXhQI0.js +0 -4138
  87. package/dist/ReportTemplateLibrary-5fk5CQBO.cjs +0 -1
  88. package/dist/RuleEditor-ChRzNQuF.cjs +0 -1
  89. package/dist/RuleEditor-DzAmW5YH.js +0 -2024
  90. package/dist/TemplateReviewPanel-BKofGrV9.js +0 -222
  91. package/dist/TemplateReviewPanel-DwtOcLue.cjs +0 -1
  92. package/dist/batch-Bt3Fd27Z.cjs +0 -1
  93. package/dist/config-BRoLo2oj.cjs +0 -1
  94. package/dist/plugin-Cd5G2QQn.js +0 -22
  95. package/dist/record-bindings-By_UKZ2g.cjs +0 -1
  96. package/dist/record-bindings-D-5jQlTj.js +0 -196
  97. package/dist/template-review-BfCC8Ng9.cjs +0 -2
@@ -1,18 +1,18 @@
1
- import { ref as U, computed as M, watch as Q, defineComponent as X, getCurrentInstance as Z, openBlock as u, createElementBlock as d, unref as e, createElementVNode as n, toDisplayString as r, Fragment as Y, renderList as A, normalizeClass as W, createCommentVNode as f, createTextVNode as x, withDirectives as E, mergeProps as S, vModelDynamic as G, vModelText as H, vModelCheckbox as K, vModelSelect as ee, nextTick as ae } from "vue";
1
+ import { ref as T, computed as M, watch as Q, defineComponent as X, getCurrentInstance as Z, openBlock as u, createElementBlock as d, unref as e, createElementVNode as n, toDisplayString as r, Fragment as E, renderList as A, normalizeClass as W, createCommentVNode as _, createTextVNode as x, withDirectives as O, mergeProps as S, vModelDynamic as G, vModelText as H, vModelCheckbox as K, vModelSelect as ee, nextTick as ae } from "vue";
2
2
  import { validateReportParamDefinitions as te } from "@agile-team/mach-report";
3
- import { PARAM_EDITOR_MESSAGES as le } from "./designer.js";
4
- import { _ as ne } from "./_plugin-vue_export-helper-8SL1F89S.js";
5
- const re = ["text", "number", "date", "month", "year", "dateRange", "select"], ie = { text: "string", number: "string → number", date: "YYYY-MM-DD", month: "YYYY-MM", year: "YYYY", dateRange: "YYYY-MM-DD/YYYY-MM-DD", select: "option.value" };
6
- function oe(a) {
3
+ import { P as le, u as ne } from "./designer-Ci1LizA9.js";
4
+ import { _ as re } from "./_plugin-vue_export-helper-8SL1F89S.js";
5
+ const ie = ["text", "number", "date", "month", "year", "dateRange", "select"], oe = { text: "string", number: "string → number", date: "YYYY-MM-DD", month: "YYYY-MM", year: "YYYY", dateRange: "YYYY-MM-DD/YYYY-MM-DD", select: "option.value" };
6
+ function se(a) {
7
7
  if (/^(默认值|必填参数的默认值)/.test(a)) return ["defaultValue"];
8
8
  if (a.includes("参数名")) return ["field"];
9
9
  if (a.includes("选项")) return ["options"];
10
10
  if (a.startsWith("最小边界")) return ["min", "max"];
11
11
  if (a.startsWith("最小长度")) return ["minLength", "maxLength"];
12
- const v = /^(minLength|maxLength|min|max) /.exec(a)?.[1];
13
- return v ? [v] : ["type"];
12
+ const b = /^(minLength|maxLength|min|max) /.exec(a)?.[1];
13
+ return b ? [b] : ["type"];
14
14
  }
15
- function se(a) {
15
+ function ue(a) {
16
16
  return JSON.parse(JSON.stringify(a));
17
17
  }
18
18
  function z(a) {
@@ -28,92 +28,96 @@ function z(a) {
28
28
  max: a.max === void 0 ? "" : String(a.max),
29
29
  minLength: a.minLength === void 0 ? "" : String(a.minLength),
30
30
  maxLength: a.maxLength === void 0 ? "" : String(a.maxLength),
31
- options: a.options ? a.options.map((v) => ({ ...v })) : []
31
+ options: a.options ? a.options.map((b) => ({ ...b })) : []
32
32
  };
33
33
  }
34
- function ue(a) {
35
- const v = { field: a.field, type: a.type };
36
- a.label && (v.label = a.label), a.placeholder && (v.placeholder = a.placeholder), a.required && (v.required = !0), a.defaultEnabled && (v.defaultValue = a.defaultValue);
34
+ function de(a) {
35
+ const b = { field: a.field, type: a.type };
36
+ a.label && (b.label = a.label), a.placeholder && (b.placeholder = a.placeholder), a.required && (b.required = !0), a.defaultEnabled && (b.defaultValue = a.defaultValue);
37
37
  for (const h of ["min", "max"])
38
- a[h] !== "" && (v[h] = a.type === "number" ? Number(a[h]) : a[h]);
39
- for (const h of ["minLength", "maxLength"]) a[h] !== "" && (v[h] = Number(a[h]));
40
- return a.type === "select" && (v.options = a.options.map((h) => ({ ...h }))), v;
38
+ a[h] !== "" && (b[h] = a.type === "number" ? Number(a[h]) : a[h]);
39
+ for (const h of ["minLength", "maxLength"]) a[h] !== "" && (b[h] = Number(a[h]));
40
+ return a.type === "select" && (b.options = a.options.map((h) => ({ ...h }))), b;
41
41
  }
42
- function de(a) {
43
- const v = () => JSON.stringify(a.document.template.params ?? []), h = U(v()), c = U((a.document.template.params ?? []).map(z)), k = U(0), s = U(""), l = M(() => ({ ...le, ...a.messages })), R = M(() => c.value.map(ue)), g = U(JSON.stringify(c.value)), i = M(() => JSON.stringify(c.value) !== g.value), L = M(() => v() !== h.value), $ = M(() => te(R.value)), C = M(() => {
42
+ function me(a) {
43
+ const b = () => JSON.stringify(a.document.template.params ?? []), h = T(b()), p = T((a.document.template.params ?? []).map(z)), k = T(0), s = T(""), l = M(() => ({ ...le, ...a.messages })), R = M(() => p.value.map(de)), g = T(JSON.stringify(p.value)), i = M(() => JSON.stringify(p.value) !== g.value), L = M(() => b() !== h.value), I = M(() => te(R.value)), C = M(() => {
44
44
  const m = /* @__PURE__ */ new Map();
45
- for (const y of $.value) {
46
- const _ = Number(y.path.split(".").at(-1)), T = m.get(_) ?? [];
47
- T.push({ message: y.message, controls: oe(y.message) }), m.set(_, T);
45
+ for (const y of I.value) {
46
+ const v = Number(y.path.split(".").at(-1)), w = m.get(v) ?? [];
47
+ w.push({ message: y.message, controls: se(y.message) }), m.set(v, w);
48
48
  }
49
49
  return m;
50
- }), j = M(() => C.value.keys().next().value), V = M(() => c.value[k.value]), O = M(() => $.value.filter((m) => m.path === `$.paramDefs.${k.value}`));
51
- function q(m) {
50
+ }), P = M(() => C.value.keys().next().value), V = M(() => p.value[k.value]), Y = M(() => I.value.filter((m) => m.path === `$.paramDefs.${k.value}`));
51
+ function J(m) {
52
52
  return (C.value.get(k.value) ?? []).filter((y) => y.controls.includes(m)).map((y) => y.message);
53
53
  }
54
54
  const D = M(() => {
55
- const m = JSON.parse(h.value).map((_) => _.field), y = R.value.map((_) => _.field);
56
- return { added: y.filter((_) => _ && !m.includes(_)), removed: m.filter((_) => !y.includes(_)) };
55
+ const m = JSON.parse(h.value).map((v) => v.field), y = R.value.map((v) => v.field);
56
+ return { added: y.filter((v) => v && !m.includes(v)), removed: m.filter((v) => !y.includes(v)) };
57
57
  });
58
58
  function N() {
59
- h.value = v(), c.value = (a.document.template.params ?? []).map(z), k.value = Math.min(k.value, Math.max(0, c.value.length - 1)), g.value = JSON.stringify(c.value), s.value = "";
59
+ h.value = b(), p.value = (a.document.template.params ?? []).map(z), k.value = Math.min(k.value, Math.max(0, p.value.length - 1)), g.value = JSON.stringify(p.value), s.value = "";
60
60
  }
61
- Q(v, () => {
61
+ Q(b, () => {
62
62
  i.value || N();
63
63
  });
64
64
  function F() {
65
65
  if (a.readonly) return;
66
- let m = c.value.length + 1;
67
- for (; c.value.some((y) => y.field === `param${m}`); ) m++;
68
- c.value.push(z({ field: `param${m}`, type: "text" })), k.value = c.value.length - 1;
66
+ let m = p.value.length + 1;
67
+ for (; p.value.some((y) => y.field === `param${m}`); ) m++;
68
+ p.value.push(z({ field: `param${m}`, type: "text" })), k.value = p.value.length - 1;
69
69
  }
70
70
  function B() {
71
- a.readonly || !V.value || (c.value.splice(k.value, 1), k.value = Math.min(k.value, Math.max(0, c.value.length - 1)));
71
+ a.readonly || !V.value || (p.value.splice(k.value, 1), k.value = Math.min(k.value, Math.max(0, p.value.length - 1)));
72
72
  }
73
- function I(m) {
73
+ function $(m) {
74
74
  const y = k.value + m;
75
- if (a.readonly || y < 0 || y >= c.value.length) return;
76
- const _ = c.value.splice(k.value, 1)[0];
77
- c.value.splice(y, 0, _), k.value = y;
75
+ if (a.readonly || y < 0 || y >= p.value.length) return;
76
+ const v = p.value.splice(k.value, 1)[0];
77
+ p.value.splice(y, 0, v), k.value = y;
78
78
  }
79
- function J(m) {
79
+ function j(m) {
80
80
  a.readonly || !V.value || (V.value.type = m, V.value.min = "", V.value.max = "", V.value.minLength = "", V.value.maxLength = "");
81
81
  }
82
- function w() {
83
- if (a.readonly || L.value || $.value.length) return !1;
82
+ function q() {
83
+ if (a.readonly || L.value || I.value.length) return !1;
84
84
  try {
85
- return a.accept(se(R.value)) ? (h.value = JSON.stringify(R.value), g.value = JSON.stringify(c.value), s.value = "", !0) : (s.value = l.value.paramApplyFailed, !1);
85
+ return a.accept(ue(R.value)) ? (h.value = JSON.stringify(R.value), g.value = JSON.stringify(p.value), s.value = "", !0) : (s.value = l.value.paramApplyFailed, !1);
86
86
  } catch (m) {
87
87
  return s.value = m instanceof Error ? m.message : String(m), !1;
88
88
  }
89
89
  }
90
- return { m: l, rows: c, selected: k, current: V, definitions: R, issues: $, issuesByRow: C, firstIssueIndex: j, controlIssues: q, currentIssues: O, changes: D, pending: i, conflicted: L, error: s, reset: N, add: F, remove: B, move: I, setType: J, apply: w };
90
+ return ne({ key: () => "params", baseline: () => h.value, pending: () => i.value, snapshot: () => JSON.stringify({ rows: p.value, selected: k.value, initial: g.value }), restore(m, y) {
91
+ const v = JSON.parse(m);
92
+ if (!Array.isArray(v.rows) || v.rows.length > 1e3 || typeof v.initial != "string") throw new Error("Invalid parameter draft");
93
+ p.value = v.rows, k.value = Math.max(0, Math.min(v.selected, v.rows.length - 1)), g.value = v.initial, h.value = y;
94
+ } }), { m: l, rows: p, selected: k, current: V, definitions: R, issues: I, issuesByRow: C, firstIssueIndex: P, controlIssues: J, currentIssues: Y, changes: D, pending: i, conflicted: L, error: s, reset: N, add: F, remove: B, move: $, setType: j, apply: q };
91
95
  }
92
- const me = ["aria-label"], pe = { class: "mr-param-editor__directory" }, ce = ["aria-label"], ye = ["aria-pressed", "aria-label", "onClick"], ve = { class: "mr-param-editor__directory-title" }, be = {
96
+ const pe = ["aria-label"], ce = { class: "mr-param-editor__directory" }, ye = ["aria-label"], ve = ["aria-pressed", "aria-label", "onClick"], be = { class: "mr-param-editor__directory-title" }, fe = {
93
97
  key: 0,
94
98
  class: "mr-param-editor__error-count",
95
99
  "aria-hidden": "true"
96
- }, fe = { key: 0 }, he = ["disabled"], ge = {
100
+ }, he = { key: 0 }, ge = ["disabled"], _e = {
97
101
  key: 0,
98
102
  class: "mr-param-editor__validation",
99
103
  role: "status"
100
- }, _e = { class: "mr-param-editor__heading" }, ke = { class: "mr-param-editor__grid" }, xe = ["aria-label", "disabled"], Ve = ["id"], $e = ["aria-label", "disabled"], Ie = ["value", "aria-label", "disabled"], Me = ["value"], Re = ["id"], Le = ["aria-label", "disabled"], De = { class: "mr-param-editor__checks" }, Se = ["disabled"], Ce = ["disabled"], Ye = { class: "mr-param-editor__default-label" }, Ee = { class: "mr-param-editor__range" }, Oe = ["value", "aria-label", "disabled"], Ne = ["value", "aria-label", "disabled"], Ae = { key: 1 }, Ue = ["aria-label", "disabled"], Te = ["value"], Pe = ["value", "aria-label", "type", "min", "max", "step", "disabled"], je = ["id"], qe = ["value", "aria-label", "type", "min", "max", "step", "disabled", "onInput"], Je = ["id"], we = ["value", "aria-label", "disabled", "onInput"], Fe = ["id"], Be = {
104
+ }, ke = { class: "mr-param-editor__heading" }, xe = { class: "mr-param-editor__grid" }, Ve = ["aria-label", "disabled"], Ie = ["id"], $e = ["aria-label", "disabled"], Me = ["value", "aria-label", "disabled"], Re = ["value"], Le = ["id"], De = ["aria-label", "disabled"], Se = { class: "mr-param-editor__checks" }, Ce = ["disabled"], Ee = ["disabled"], Oe = { class: "mr-param-editor__default-label" }, Ye = { class: "mr-param-editor__range" }, Ne = ["value", "aria-label", "disabled"], Ae = ["value", "aria-label", "disabled"], Te = { key: 1 }, we = ["aria-label", "disabled"], Ue = ["value"], Pe = ["value", "aria-label", "type", "min", "max", "step", "disabled"], Je = ["id"], je = ["value", "aria-label", "type", "min", "max", "step", "disabled", "onInput"], qe = ["id"], Fe = ["value", "aria-label", "disabled", "onInput"], Be = ["id"], We = {
101
105
  key: 0,
102
106
  class: "mr-param-editor__hint"
103
- }, We = {
107
+ }, He = {
104
108
  key: 1,
105
109
  class: "mr-param-editor__options"
106
- }, He = { class: "mr-param-editor__option-head" }, ze = ["onUpdate:modelValue", "aria-label", "disabled"], Ge = ["onUpdate:modelValue", "aria-label", "disabled"], Ke = ["aria-label", "disabled", "onClick"], Qe = ["id"], Xe = ["disabled"], Ze = { class: "mr-param-editor__row-actions" }, ea = ["disabled"], aa = ["disabled"], ta = ["disabled"], la = { class: "mr-param-editor__technical" }, na = {
110
+ }, ze = { class: "mr-param-editor__option-head" }, Ge = ["onUpdate:modelValue", "aria-label", "disabled"], Ke = ["onUpdate:modelValue", "aria-label", "disabled"], Qe = ["aria-label", "disabled", "onClick"], Xe = ["id"], Ze = ["disabled"], ea = { class: "mr-param-editor__row-actions" }, aa = ["disabled"], ta = ["disabled"], la = ["disabled"], na = { class: "mr-param-editor__technical" }, ra = {
107
111
  key: 2,
108
112
  class: "mr-param-editor__empty"
109
- }, ra = ["disabled"], ia = {
113
+ }, ia = ["disabled"], oa = {
110
114
  key: 3,
111
115
  class: "mr-param-editor__impact"
112
- }, oa = { key: 0 }, sa = { key: 1 }, ua = {
116
+ }, sa = { key: 0 }, ua = { key: 1 }, da = {
113
117
  key: 4,
114
118
  class: "mr-param-editor__errors",
115
119
  role: "alert"
116
- }, da = ["disabled"], ma = ["disabled"], pa = /* @__PURE__ */ X({
120
+ }, ma = ["disabled"], pa = ["disabled"], ca = /* @__PURE__ */ X({
117
121
  __name: "ParamEditor",
118
122
  props: {
119
123
  document: {},
@@ -122,51 +126,51 @@ const me = ["aria-label"], pe = { class: "mr-param-editor__directory" }, ce = ["
122
126
  accept: { type: Function }
123
127
  },
124
128
  emits: ["dirty"],
125
- setup(a, { expose: v, emit: h }) {
126
- const c = a, k = h, s = de(c), { m: l, rows: R, selected: g, current: i, changes: L, pending: $, conflicted: C, error: j, issues: V, issuesByRow: O } = s, q = U(), D = `mr-param-${Z()?.uid ?? 0}`;
127
- Q($, (p) => k("dirty", p), { immediate: !0 });
128
- function N(p) {
129
- return { text: l.value.paramText, number: l.value.paramNumber, date: l.value.paramDate, month: l.value.paramMonth, year: l.value.paramYear, dateRange: l.value.paramDateRange, select: l.value.paramSelect }[p];
129
+ setup(a, { expose: b, emit: h }) {
130
+ const p = a, k = h, s = me(p), { m: l, rows: R, selected: g, current: i, changes: L, pending: I, conflicted: C, error: P, issues: V, issuesByRow: Y } = s, J = T(), D = `mr-param-${Z()?.uid ?? 0}`;
131
+ Q(I, (c) => k("dirty", c), { immediate: !0 });
132
+ function N(c) {
133
+ return { text: l.value.paramText, number: l.value.paramNumber, date: l.value.paramDate, month: l.value.paramMonth, year: l.value.paramYear, dateRange: l.value.paramDateRange, select: l.value.paramSelect }[c];
130
134
  }
131
135
  function F() {
132
- i.value && !c.readonly && i.value.options.push({ value: "", label: "" });
136
+ i.value && !p.readonly && i.value.options.push({ value: "", label: "" });
133
137
  }
134
- function B(p) {
135
- c.readonly || i.value?.options.splice(p, 1);
138
+ function B(c) {
139
+ p.readonly || i.value?.options.splice(c, 1);
136
140
  }
137
- function I(p) {
138
- const o = s.controlIssues(p).length > 0;
139
- return { "aria-invalid": o ? "true" : void 0, "aria-describedby": o ? `${D}-${g.value}-${p}` : void 0 };
141
+ function $(c) {
142
+ const o = s.controlIssues(c).length > 0;
143
+ return { "aria-invalid": o ? "true" : void 0, "aria-describedby": o ? `${D}-${g.value}-${c}` : void 0 };
140
144
  }
141
- function J(p) {
142
- return p === "year" ? "number" : p === "dateRange" ? "date" : ["date", "month", "number"].includes(p) ? p : "text";
145
+ function j(c) {
146
+ return c === "year" ? "number" : c === "dateRange" ? "date" : ["date", "month", "number"].includes(c) ? c : "text";
143
147
  }
144
- function w(p) {
145
- return p.target.value;
148
+ function q(c) {
149
+ return c.target.value;
146
150
  }
147
- function m(p, o) {
148
- i.value && !c.readonly && (i.value[p] = w(o));
151
+ function m(c, o) {
152
+ i.value && !p.readonly && (i.value[c] = q(o));
149
153
  }
150
- function y(p) {
151
- return i.value?.defaultValue.split("/")[p] ?? "";
154
+ function y(c) {
155
+ return i.value?.defaultValue.split("/")[c] ?? "";
152
156
  }
153
- function _(p, o) {
154
- if (!i.value || c.readonly) return;
157
+ function v(c, o) {
158
+ if (!i.value || p.readonly) return;
155
159
  const t = [y(0), y(1)];
156
- t[p] = w(o), i.value.defaultValue = t.some(Boolean) ? t.join("/") : "";
160
+ t[c] = q(o), i.value.defaultValue = t.some(Boolean) ? t.join("/") : "";
157
161
  }
158
- async function T() {
159
- const p = s.firstIssueIndex.value;
160
- if (p === void 0) return;
161
- g.value = p, await ae();
162
- const o = q.value?.querySelector('[aria-invalid="true"]');
162
+ async function w() {
163
+ const c = s.firstIssueIndex.value;
164
+ if (c === void 0) return;
165
+ g.value = c, await ae();
166
+ const o = J.value?.querySelector('[aria-invalid="true"]');
163
167
  o?.focus({ preventScroll: !0 }), o?.scrollIntoView?.({ block: "nearest" });
164
168
  }
165
- return v({ pending: $, reset: s.reset, apply: s.apply, locateIssue: T }), (p, o) => (u(), d("section", {
169
+ return b({ pending: I, reset: s.reset, apply: s.apply, locateIssue: w }), (c, o) => (u(), d("section", {
166
170
  class: "mr-param-editor",
167
171
  "aria-label": e(l).paramsTool
168
172
  }, [
169
- n("aside", pe, [
173
+ n("aside", ce, [
170
174
  n("header", null, [
171
175
  n("strong", null, r(e(l).paramsDirectory), 1),
172
176
  n("span", null, r(e(R).length), 1)
@@ -174,78 +178,78 @@ const me = ["aria-label"], pe = { class: "mr-param-editor__directory" }, ce = ["
174
178
  n("nav", {
175
179
  "aria-label": e(l).paramsDirectory
176
180
  }, [
177
- (u(!0), d(Y, null, A(e(R), (t, b) => (u(), d("button", {
178
- key: b,
181
+ (u(!0), d(E, null, A(e(R), (t, f) => (u(), d("button", {
182
+ key: f,
179
183
  type: "button",
180
- "aria-pressed": e(g) === b,
181
- "aria-label": `${t.label || t.field || e(l).paramUnnamed}${e(O).get(b)?.length ? ` · ${e(l).paramIssueCount} ${e(O).get(b)?.length}` : ""}`,
182
- class: W({ "has-errors": e(O).has(b) }),
183
- onClick: (P) => g.value = b
184
+ "aria-pressed": e(g) === f,
185
+ "aria-label": `${t.label || t.field || e(l).paramUnnamed}${e(Y).get(f)?.length ? ` · ${e(l).paramIssueCount} ${e(Y).get(f)?.length}` : ""}`,
186
+ class: W({ "has-errors": e(Y).has(f) }),
187
+ onClick: (U) => g.value = f
184
188
  }, [
185
- n("span", ve, [
189
+ n("span", be, [
186
190
  n("strong", null, r(t.label || t.field || e(l).paramUnnamed), 1),
187
- e(O).has(b) ? (u(), d("span", be, r(e(O).get(b)?.length), 1)) : f("", !0)
191
+ e(Y).has(f) ? (u(), d("span", fe, r(e(Y).get(f)?.length), 1)) : _("", !0)
188
192
  ]),
189
193
  n("small", null, [
190
194
  x(r(t.field) + " · " + r(N(t.type)), 1),
191
- t.required ? (u(), d("span", fe, " *")) : f("", !0)
195
+ t.required ? (u(), d("span", he, " *")) : _("", !0)
192
196
  ])
193
- ], 10, ye))), 128))
194
- ], 8, ce),
197
+ ], 10, ve))), 128))
198
+ ], 8, ye),
195
199
  n("button", {
196
200
  type: "button",
197
201
  class: "mr-param-editor__add",
198
202
  disabled: a.readonly,
199
203
  onClick: o[0] || (o[0] = //@ts-ignore
200
204
  (...t) => e(s).add && e(s).add(...t))
201
- }, "+ " + r(e(l).paramAdd), 9, he),
205
+ }, "+ " + r(e(l).paramAdd), 9, ge),
202
206
  n("p", null, r(e(l).paramsDescription), 1)
203
207
  ]),
204
208
  n("div", {
205
209
  ref_key: "main",
206
- ref: q,
210
+ ref: J,
207
211
  class: "mr-param-editor__main"
208
212
  }, [
209
- e(V).length ? (u(), d("div", ge, [
213
+ e(V).length ? (u(), d("div", _e, [
210
214
  n("span", null, [
211
215
  x(r(e(l).paramIssueCount) + " ", 1),
212
216
  n("strong", null, r(e(V).length), 1)
213
217
  ]),
214
218
  n("button", {
215
219
  type: "button",
216
- onClick: T
220
+ onClick: w
217
221
  }, r(e(l).paramLocateFirst), 1)
218
- ])) : f("", !0),
219
- e(i) ? (u(), d(Y, { key: 1 }, [
220
- n("header", _e, [
222
+ ])) : _("", !0),
223
+ e(i) ? (u(), d(E, { key: 1 }, [
224
+ n("header", ke, [
221
225
  n("div", null, [
222
226
  n("strong", null, r(e(i).label || e(i).field || e(l).paramUnnamed), 1),
223
227
  n("small", null, r(N(e(i).type)), 1)
224
228
  ]),
225
229
  n("span", {
226
- class: W({ "is-pending": e($) || e(V).length > 0 })
227
- }, r(e(V).length ? e(l).paramInvalid : e($) ? e(l).paramPending : e(l).paramReady), 3)
230
+ class: W({ "is-pending": e(I) || e(V).length > 0 })
231
+ }, r(e(V).length ? e(l).paramInvalid : e(I) ? e(l).paramPending : e(l).paramReady), 3)
228
232
  ]),
229
- n("div", ke, [
233
+ n("div", xe, [
230
234
  n("label", null, [
231
235
  x(r(e(l).paramField), 1),
232
- E(n("input", S({
236
+ O(n("input", S({
233
237
  "onUpdate:modelValue": o[1] || (o[1] = (t) => e(i).field = t),
234
238
  "aria-label": e(l).paramField,
235
239
  disabled: a.readonly,
236
240
  autocomplete: "off"
237
- }, I("field")), null, 16, xe), [
241
+ }, $("field")), null, 16, Ve), [
238
242
  [G, e(i).field]
239
243
  ]),
240
244
  e(s).controlIssues("field").length ? (u(), d("small", {
241
245
  key: 0,
242
246
  id: `${D}-${e(g)}-field`,
243
247
  class: "mr-param-editor__field-error"
244
- }, r(e(s).controlIssues("field").join(";")), 9, Ve)) : f("", !0)
248
+ }, r(e(s).controlIssues("field").join(";")), 9, Ie)) : _("", !0)
245
249
  ]),
246
250
  n("label", null, [
247
251
  x(r(e(l).paramLabel), 1),
248
- E(n("input", {
252
+ O(n("input", {
249
253
  "onUpdate:modelValue": o[2] || (o[2] = (t) => e(i).label = t),
250
254
  "aria-label": e(l).paramLabel,
251
255
  disabled: a.readonly
@@ -259,47 +263,47 @@ const me = ["aria-label"], pe = { class: "mr-param-editor__directory" }, ce = ["
259
263
  value: e(i).type,
260
264
  "aria-label": e(l).paramType,
261
265
  disabled: a.readonly
262
- }, I("type"), {
266
+ }, $("type"), {
263
267
  onChange: o[3] || (o[3] = (t) => e(s).setType(t.target.value))
264
268
  }), [
265
- (u(!0), d(Y, null, A(e(re), (t) => (u(), d("option", {
269
+ (u(!0), d(E, null, A(e(ie), (t) => (u(), d("option", {
266
270
  key: t,
267
271
  value: t
268
- }, r(N(t)), 9, Me))), 128))
269
- ], 16, Ie),
272
+ }, r(N(t)), 9, Re))), 128))
273
+ ], 16, Me),
270
274
  e(s).controlIssues("type").length ? (u(), d("small", {
271
275
  key: 0,
272
276
  id: `${D}-${e(g)}-type`,
273
277
  class: "mr-param-editor__field-error"
274
- }, r(e(s).controlIssues("type").join(";")), 9, Re)) : f("", !0)
278
+ }, r(e(s).controlIssues("type").join(";")), 9, Le)) : _("", !0)
275
279
  ]),
276
280
  n("label", null, [
277
281
  x(r(e(l).paramPlaceholder), 1),
278
- E(n("input", {
282
+ O(n("input", {
279
283
  "onUpdate:modelValue": o[4] || (o[4] = (t) => e(i).placeholder = t),
280
284
  "aria-label": e(l).paramPlaceholder,
281
285
  disabled: a.readonly
282
- }, null, 8, Le), [
286
+ }, null, 8, De), [
283
287
  [H, e(i).placeholder]
284
288
  ])
285
289
  ]),
286
- n("div", De, [
290
+ n("div", Se, [
287
291
  n("label", null, [
288
- E(n("input", {
292
+ O(n("input", {
289
293
  "onUpdate:modelValue": o[5] || (o[5] = (t) => e(i).required = t),
290
294
  type: "checkbox",
291
295
  disabled: a.readonly
292
- }, null, 8, Se), [
296
+ }, null, 8, Ce), [
293
297
  [K, e(i).required]
294
298
  ]),
295
299
  x(r(e(l).paramRequired), 1)
296
300
  ]),
297
301
  n("label", null, [
298
- E(n("input", {
302
+ O(n("input", {
299
303
  "onUpdate:modelValue": o[6] || (o[6] = (t) => e(i).defaultEnabled = t),
300
304
  type: "checkbox",
301
305
  disabled: a.readonly
302
- }, null, 8, Ce), [
306
+ }, null, 8, Ee), [
303
307
  [K, e(i).defaultEnabled]
304
308
  ]),
305
309
  x(r(e(l).paramDefaultEnabled), 1)
@@ -309,9 +313,9 @@ const me = ["aria-label"], pe = { class: "mr-param-editor__directory" }, ce = ["
309
313
  key: 0,
310
314
  class: W(["mr-param-editor__default", { "is-range": e(i).type === "dateRange" }])
311
315
  }, [
312
- e(i).type === "dateRange" ? (u(), d(Y, { key: 0 }, [
313
- n("span", Ye, r(e(l).paramDefault), 1),
314
- n("div", Ee, [
316
+ e(i).type === "dateRange" ? (u(), d(E, { key: 0 }, [
317
+ n("span", Oe, r(e(l).paramDefault), 1),
318
+ n("div", Ye, [
315
319
  n("label", null, [
316
320
  x(r(e(l).paramRangeStart), 1),
317
321
  n("input", S({
@@ -319,9 +323,9 @@ const me = ["aria-label"], pe = { class: "mr-param-editor__directory" }, ce = ["
319
323
  type: "date",
320
324
  "aria-label": e(l).paramRangeStart,
321
325
  disabled: a.readonly
322
- }, I("defaultValue"), {
323
- onInput: o[7] || (o[7] = (t) => _(0, t))
324
- }), null, 16, Oe)
326
+ }, $("defaultValue"), {
327
+ onInput: o[7] || (o[7] = (t) => v(0, t))
328
+ }), null, 16, Ne)
325
329
  ]),
326
330
  o[17] || (o[17] = n("span", { "aria-hidden": "true" }, "—", -1)),
327
331
  n("label", null, [
@@ -331,36 +335,36 @@ const me = ["aria-label"], pe = { class: "mr-param-editor__directory" }, ce = ["
331
335
  type: "date",
332
336
  "aria-label": e(l).paramRangeEnd,
333
337
  disabled: a.readonly
334
- }, I("defaultValue"), {
335
- onInput: o[8] || (o[8] = (t) => _(1, t))
336
- }), null, 16, Ne)
338
+ }, $("defaultValue"), {
339
+ onInput: o[8] || (o[8] = (t) => v(1, t))
340
+ }), null, 16, Ae)
337
341
  ])
338
342
  ])
339
- ], 64)) : (u(), d("label", Ae, [
343
+ ], 64)) : (u(), d("label", Te, [
340
344
  x(r(e(l).paramDefault), 1),
341
- e(i).type === "select" ? E((u(), d("select", S({
345
+ e(i).type === "select" ? O((u(), d("select", S({
342
346
  key: 0,
343
347
  "onUpdate:modelValue": o[9] || (o[9] = (t) => e(i).defaultValue = t),
344
348
  "aria-label": e(l).paramDefault,
345
349
  disabled: a.readonly
346
- }, I("defaultValue")), [
350
+ }, $("defaultValue")), [
347
351
  o[18] || (o[18] = n("option", { value: "" }, null, -1)),
348
- (u(!0), d(Y, null, A(e(i).options, (t, b) => (u(), d("option", {
349
- key: b,
352
+ (u(!0), d(E, null, A(e(i).options, (t, f) => (u(), d("option", {
353
+ key: f,
350
354
  value: t.value
351
- }, r(t.label || t.value), 9, Te))), 128))
352
- ], 16, Ue)), [
355
+ }, r(t.label || t.value), 9, Ue))), 128))
356
+ ], 16, we)), [
353
357
  [ee, e(i).defaultValue]
354
358
  ]) : (u(), d("input", S({
355
359
  key: 1,
356
360
  value: e(i).defaultValue,
357
361
  "aria-label": e(l).paramDefault,
358
- type: J(e(i).type),
362
+ type: j(e(i).type),
359
363
  min: e(i).type === "year" ? 1 : void 0,
360
364
  max: e(i).type === "year" ? 9999 : void 0,
361
365
  step: e(i).type === "year" ? 1 : "any",
362
366
  disabled: a.readonly
363
- }, I("defaultValue"), {
367
+ }, $("defaultValue"), {
364
368
  onInput: o[10] || (o[10] = (t) => m("defaultValue", t))
365
369
  }), null, 16, Pe))
366
370
  ])),
@@ -369,28 +373,28 @@ const me = ["aria-label"], pe = { class: "mr-param-editor__directory" }, ce = ["
369
373
  id: `${D}-${e(g)}-defaultValue`,
370
374
  class: "mr-param-editor__field-error mr-param-editor__errors",
371
375
  role: "alert"
372
- }, r(e(s).controlIssues("defaultValue").join(";")), 9, je)) : f("", !0)
373
- ], 2)) : f("", !0),
374
- ["number", "date", "month", "year", "dateRange"].includes(e(i).type) ? (u(), d(Y, { key: 1 }, A(["min", "max"], (t) => n("label", { key: t }, [
376
+ }, r(e(s).controlIssues("defaultValue").join(";")), 9, Je)) : _("", !0)
377
+ ], 2)) : _("", !0),
378
+ ["number", "date", "month", "year", "dateRange"].includes(e(i).type) ? (u(), d(E, { key: 1 }, A(["min", "max"], (t) => n("label", { key: t }, [
375
379
  x(r(t === "min" ? e(l).paramMinimum : e(l).paramMaximum), 1),
376
380
  n("input", S({
377
381
  value: e(i)[t],
378
382
  "aria-label": t === "min" ? e(l).paramMinimum : e(l).paramMaximum,
379
- type: J(e(i).type),
383
+ type: j(e(i).type),
380
384
  min: e(i).type === "year" ? 1 : void 0,
381
385
  max: e(i).type === "year" ? 9999 : void 0,
382
386
  step: e(i).type === "year" ? 1 : "any",
383
387
  disabled: a.readonly
384
- }, { ref_for: !0 }, I(t), {
385
- onInput: (b) => m(t, b)
386
- }), null, 16, qe),
388
+ }, { ref_for: !0 }, $(t), {
389
+ onInput: (f) => m(t, f)
390
+ }), null, 16, je),
387
391
  e(s).controlIssues(t).length ? (u(), d("small", {
388
392
  key: 0,
389
393
  id: `${D}-${e(g)}-${t}`,
390
394
  class: "mr-param-editor__field-error"
391
- }, r(e(s).controlIssues(t).join(";")), 9, Je)) : f("", !0)
392
- ])), 64)) : f("", !0),
393
- e(i).type === "text" ? (u(), d(Y, { key: 2 }, A(["minLength", "maxLength"], (t) => n("label", { key: t }, [
395
+ }, r(e(s).controlIssues(t).join(";")), 9, qe)) : _("", !0)
396
+ ])), 64)) : _("", !0),
397
+ e(i).type === "text" ? (u(), d(E, { key: 2 }, A(["minLength", "maxLength"], (t) => n("label", { key: t }, [
394
398
  x(r(t === "minLength" ? e(l).paramMinLength : e(l).paramMaxLength), 1),
395
399
  n("input", S({
396
400
  value: e(i)[t],
@@ -399,83 +403,83 @@ const me = ["aria-label"], pe = { class: "mr-param-editor__directory" }, ce = ["
399
403
  step: "1",
400
404
  "aria-label": t === "minLength" ? e(l).paramMinLength : e(l).paramMaxLength,
401
405
  disabled: a.readonly
402
- }, { ref_for: !0 }, I(t), {
403
- onInput: (b) => m(t, b)
404
- }), null, 16, we),
406
+ }, { ref_for: !0 }, $(t), {
407
+ onInput: (f) => m(t, f)
408
+ }), null, 16, Fe),
405
409
  e(s).controlIssues(t).length ? (u(), d("small", {
406
410
  key: 0,
407
411
  id: `${D}-${e(g)}-${t}`,
408
412
  class: "mr-param-editor__field-error"
409
- }, r(e(s).controlIssues(t).join(";")), 9, Fe)) : f("", !0)
410
- ])), 64)) : f("", !0)
413
+ }, r(e(s).controlIssues(t).join(";")), 9, Be)) : _("", !0)
414
+ ])), 64)) : _("", !0)
411
415
  ]),
412
- e(i).type === "dateRange" ? (u(), d("p", Be, r(e(l).paramRangeHint), 1)) : f("", !0),
413
- e(i).type === "select" ? (u(), d("fieldset", We, [
416
+ e(i).type === "dateRange" ? (u(), d("p", We, r(e(l).paramRangeHint), 1)) : _("", !0),
417
+ e(i).type === "select" ? (u(), d("fieldset", He, [
414
418
  n("legend", null, r(e(l).paramOptions), 1),
415
- n("div", He, [
419
+ n("div", ze, [
416
420
  n("span", null, r(e(l).paramOptionValue), 1),
417
421
  n("span", null, r(e(l).paramOptionLabel), 1)
418
422
  ]),
419
- (u(!0), d(Y, null, A(e(i).options, (t, b) => (u(), d("div", {
420
- key: b,
423
+ (u(!0), d(E, null, A(e(i).options, (t, f) => (u(), d("div", {
424
+ key: f,
421
425
  class: "mr-param-editor__option"
422
426
  }, [
423
- E(n("input", S({
424
- "onUpdate:modelValue": (P) => t.value = P,
425
- "aria-label": `${e(l).paramOptionValue} ${b + 1}`,
427
+ O(n("input", S({
428
+ "onUpdate:modelValue": (U) => t.value = U,
429
+ "aria-label": `${e(l).paramOptionValue} ${f + 1}`,
426
430
  disabled: a.readonly
427
- }, { ref_for: !0 }, I("options")), null, 16, ze), [
431
+ }, { ref_for: !0 }, $("options")), null, 16, Ge), [
428
432
  [G, t.value]
429
433
  ]),
430
- E(n("input", {
431
- "onUpdate:modelValue": (P) => t.label = P,
432
- "aria-label": `${e(l).paramOptionLabel} ${b + 1}`,
434
+ O(n("input", {
435
+ "onUpdate:modelValue": (U) => t.label = U,
436
+ "aria-label": `${e(l).paramOptionLabel} ${f + 1}`,
433
437
  disabled: a.readonly
434
- }, null, 8, Ge), [
438
+ }, null, 8, Ke), [
435
439
  [H, t.label]
436
440
  ]),
437
441
  n("button", {
438
442
  type: "button",
439
- "aria-label": `${e(l).paramOptionRemove} ${b + 1}`,
443
+ "aria-label": `${e(l).paramOptionRemove} ${f + 1}`,
440
444
  disabled: a.readonly,
441
- onClick: (P) => B(b)
442
- }, "×", 8, Ke)
445
+ onClick: (U) => B(f)
446
+ }, "×", 8, Qe)
443
447
  ]))), 128)),
444
448
  e(s).controlIssues("options").length ? (u(), d("small", {
445
449
  key: 0,
446
450
  id: `${D}-${e(g)}-options`,
447
451
  class: "mr-param-editor__field-error"
448
- }, r(e(s).controlIssues("options").join(";")), 9, Qe)) : f("", !0),
452
+ }, r(e(s).controlIssues("options").join(";")), 9, Xe)) : _("", !0),
449
453
  n("button", {
450
454
  type: "button",
451
455
  disabled: a.readonly,
452
456
  onClick: F
453
- }, "+ " + r(e(l).paramOptionAdd), 9, Xe)
454
- ])) : f("", !0),
455
- n("div", Ze, [
457
+ }, "+ " + r(e(l).paramOptionAdd), 9, Ze)
458
+ ])) : _("", !0),
459
+ n("div", ea, [
456
460
  n("button", {
457
461
  type: "button",
458
462
  disabled: a.readonly || e(g) === 0,
459
463
  onClick: o[11] || (o[11] = (t) => e(s).move(-1))
460
- }, "↑ " + r(e(l).paramMoveUp), 9, ea),
464
+ }, "↑ " + r(e(l).paramMoveUp), 9, aa),
461
465
  n("button", {
462
466
  type: "button",
463
467
  disabled: a.readonly || e(g) === e(R).length - 1,
464
468
  onClick: o[12] || (o[12] = (t) => e(s).move(1))
465
- }, "↓ " + r(e(l).paramMoveDown), 9, aa),
469
+ }, "↓ " + r(e(l).paramMoveDown), 9, ta),
466
470
  n("button", {
467
471
  type: "button",
468
472
  class: "is-danger",
469
473
  disabled: a.readonly,
470
474
  onClick: o[13] || (o[13] = //@ts-ignore
471
475
  (...t) => e(s).remove && e(s).remove(...t))
472
- }, r(e(l).paramRemove), 9, ta)
476
+ }, r(e(l).paramRemove), 9, la)
473
477
  ]),
474
- n("details", la, [
478
+ n("details", na, [
475
479
  n("summary", null, r(e(l).paramWire), 1),
476
- n("code", null, r(e(ie)[e(i).type]), 1)
480
+ n("code", null, r(e(oe)[e(i).type]), 1)
477
481
  ])
478
- ], 64)) : (u(), d("div", na, [
482
+ ], 64)) : (u(), d("div", ra, [
479
483
  n("strong", null, r(e(l).paramEmpty), 1),
480
484
  n("p", null, r(e(l).paramEmptyHint), 1),
481
485
  n("button", {
@@ -483,40 +487,40 @@ const me = ["aria-label"], pe = { class: "mr-param-editor__directory" }, ce = ["
483
487
  disabled: a.readonly,
484
488
  onClick: o[14] || (o[14] = //@ts-ignore
485
489
  (...t) => e(s).add && e(s).add(...t))
486
- }, "+ " + r(e(l).paramAdd), 9, ra)
490
+ }, "+ " + r(e(l).paramAdd), 9, ia)
487
491
  ])),
488
- e(L).added.length || e(L).removed.length ? (u(), d("aside", ia, [
492
+ e(L).added.length || e(L).removed.length ? (u(), d("aside", oa, [
489
493
  n("strong", null, r(e(l).paramChanges), 1),
490
- e(L).added.length ? (u(), d("p", oa, [
494
+ e(L).added.length ? (u(), d("p", sa, [
491
495
  x(r(e(l).paramAdded) + ":", 1),
492
496
  n("code", null, r(e(L).added.join(", ")), 1)
493
- ])) : f("", !0),
494
- e(L).removed.length ? (u(), d("p", sa, [
497
+ ])) : _("", !0),
498
+ e(L).removed.length ? (u(), d("p", ua, [
495
499
  x(r(e(l).paramRemoved) + ":", 1),
496
500
  n("code", null, r(e(L).removed.join(", ")), 1)
497
- ])) : f("", !0),
501
+ ])) : _("", !0),
498
502
  n("small", null, r(e(l).paramRenameHint), 1)
499
- ])) : f("", !0),
500
- e(C) || e(j) ? (u(), d("p", ua, r(e(C) ? e(l).paramConflict : e(j)), 1)) : f("", !0),
503
+ ])) : _("", !0),
504
+ e(C) || e(P) ? (u(), d("p", da, r(e(C) ? e(l).paramConflict : e(P)), 1)) : _("", !0),
501
505
  n("footer", null, [
502
506
  n("button", {
503
507
  type: "button",
504
- disabled: !e($) && !e(C),
508
+ disabled: !e(I) && !e(C),
505
509
  onClick: o[15] || (o[15] = //@ts-ignore
506
510
  (...t) => e(s).reset && e(s).reset(...t))
507
- }, r(e(l).paramRestore), 9, da),
511
+ }, r(e(l).paramRestore), 9, ma),
508
512
  n("button", {
509
513
  type: "button",
510
514
  class: "is-primary",
511
- disabled: a.readonly || !e($) || e(C) || !!e(V).length,
515
+ disabled: a.readonly || !e(I) || e(C) || !!e(V).length,
512
516
  onClick: o[16] || (o[16] = //@ts-ignore
513
517
  (...t) => e(s).apply && e(s).apply(...t))
514
- }, r(e(l).paramApply), 9, ma)
518
+ }, r(e(l).paramApply), 9, pa)
515
519
  ])
516
520
  ], 512)
517
- ], 8, me));
521
+ ], 8, pe));
518
522
  }
519
- }), fa = /* @__PURE__ */ ne(pa, [["__scopeId", "data-v-d8a0f18a"]]);
523
+ }), ha = /* @__PURE__ */ re(ca, [["__scopeId", "data-v-d8a0f18a"]]);
520
524
  export {
521
- fa as default
525
+ ha as default
522
526
  };