@airalogy/aimd-recorder 1.19.2 → 1.20.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 (63) hide show
  1. package/README.md +2 -0
  2. package/README.zh-CN.md +2 -0
  3. package/dist/{AimdDnaSequenceField-TBKunqU_.js → AimdDnaSequenceField-Cp0cgBYl.js} +1 -1
  4. package/dist/{AimdEditor.vue_vue_type_style_index_0_lang-gTySIxvX.js → AimdEditor.vue_vue_type_style_index_0_lang-DTdcoNs1.js} +1588 -1584
  5. package/dist/{AimdMarkdownField-DGV5KFUs.js → AimdMarkdownField-D4AEz_mB.js} +18 -17
  6. package/dist/{AimdMarkdownNoteField-C78KHCBA.js → AimdMarkdownNoteField-CSGaShKi.js} +5 -4
  7. package/dist/aimd-recorder.css +1 -1
  8. package/dist/{arc-BMhAnOm7.js → arc-jL17V0L2.js} +1 -1
  9. package/dist/{architectureDiagram-3BPJPVTR-DXuPTBR3.js → architectureDiagram-3BPJPVTR-CijadmFI.js} +2 -2
  10. package/dist/{blockDiagram-GPEHLZMM-HKz9kQ49.js → blockDiagram-GPEHLZMM-BPqvb85_.js} +4 -4
  11. package/dist/{c4Diagram-AAUBKEIU-B2a8Aupm.js → c4Diagram-AAUBKEIU-i4fqlMXu.js} +2 -2
  12. package/dist/{channel-CQnbPm6T.js → channel-DnnUQTdl.js} +1 -1
  13. package/dist/{chunk-2J33WTMH-CPwhDANL.js → chunk-2J33WTMH-DKKEpdr1.js} +1 -1
  14. package/dist/{chunk-4BX2VUAB-BJV0R8-Z.js → chunk-4BX2VUAB-WvuuiYYH.js} +1 -1
  15. package/dist/{chunk-55IACEB6-CSqUgTVA.js → chunk-55IACEB6-B_UkHTnd.js} +1 -1
  16. package/dist/{chunk-727SXJPM-C3LCZWaC.js → chunk-727SXJPM-CR6Pb04P.js} +5 -5
  17. package/dist/{chunk-AQP2D5EJ-BC5kHyik.js → chunk-AQP2D5EJ-B68Ie417.js} +3 -3
  18. package/dist/{chunk-FMBD7UC4-lv-SQuSa.js → chunk-FMBD7UC4-CeCGT6rb.js} +1 -1
  19. package/dist/{chunk-ND2GUHAM-BnnHbOOp.js → chunk-ND2GUHAM-BYN-eC_q.js} +1 -1
  20. package/dist/{chunk-QZHKN3VN-DE1_5lrn.js → chunk-QZHKN3VN-BNSp120j.js} +1 -1
  21. package/dist/{classDiagram-v2-Q7XG4LA2-32SrXsR3.js → classDiagram-4FO5ZUOK-Cgbn4w3f.js} +2 -2
  22. package/dist/{classDiagram-4FO5ZUOK-32SrXsR3.js → classDiagram-v2-Q7XG4LA2-Cgbn4w3f.js} +2 -2
  23. package/dist/components.js +90 -89
  24. package/dist/composables.js +22 -22
  25. package/dist/{cose-bilkent-S5V4N54A-BKyR6PrF.js → cose-bilkent-S5V4N54A-TfrsQ2c3.js} +1 -1
  26. package/dist/{dagre-BM42HDAG-D8Nwouf2.js → dagre-BM42HDAG-BAyvB_JI.js} +3 -3
  27. package/dist/{diagram-2AECGRRQ-DfoNEchZ.js → diagram-2AECGRRQ-Bijq8bHO.js} +2 -2
  28. package/dist/{diagram-5GNKFQAL-Dlpl3XO8.js → diagram-5GNKFQAL-B3ZuTuxm.js} +3 -3
  29. package/dist/{diagram-KO2AKTUF-CgwROod_.js → diagram-KO2AKTUF-DrqLeGCI.js} +2 -2
  30. package/dist/{diagram-LMA3HP47-UiiviX43.js → diagram-LMA3HP47-CCSQH8O0.js} +2 -2
  31. package/dist/{diagram-OG6HWLK6-BPuH-4Wa.js → diagram-OG6HWLK6-DM5cUEjW.js} +3 -3
  32. package/dist/{erDiagram-TEJ5UH35-B19WKSiS.js → erDiagram-TEJ5UH35-DQhmDdAF.js} +4 -4
  33. package/dist/{flowDiagram-I6XJVG4X-SsfO1IYz.js → flowDiagram-I6XJVG4X-DrqiPSHI.js} +6 -6
  34. package/dist/{ganttDiagram-6RSMTGT7-8BCxW9SC.js → ganttDiagram-6RSMTGT7-DpX_Y2vA.js} +2 -2
  35. package/dist/{gitGraphDiagram-PVQCEYII-D-jzaXKg.js → gitGraphDiagram-PVQCEYII-3isOhIyZ.js} +3 -3
  36. package/dist/{graph-Dd8Vx0lj.js → graph-C30SJlSk.js} +1 -1
  37. package/dist/index-Dtvv88SS.js +1308 -0
  38. package/dist/index.js +19 -19
  39. package/dist/{infoDiagram-5YYISTIA-B_XwkyXw.js → infoDiagram-5YYISTIA-Cr_MlPvz.js} +1 -1
  40. package/dist/{ishikawaDiagram-YF4QCWOH-nevqOMkV.js → ishikawaDiagram-YF4QCWOH-DydyFn3h.js} +1 -1
  41. package/dist/{journeyDiagram-JHISSGLW-DKQOkZNx.js → journeyDiagram-JHISSGLW-V_5MmeOu.js} +4 -4
  42. package/dist/{kanban-definition-UN3LZRKU-BYvizbN0.js → kanban-definition-UN3LZRKU-C_XXCuvp.js} +2 -2
  43. package/dist/{layout-BiHDh2wu.js → layout-85j-z7Lr.js} +2 -2
  44. package/dist/{linear-BcUgIsNC.js → linear-DMtodz-6.js} +1 -1
  45. package/dist/{mermaid.core-DPv1ut6K.js → mermaid.core-CkanUCyS.js} +34 -34
  46. package/dist/{mindmap-definition-RKZ34NQL-CiT97EC2.js → mindmap-definition-RKZ34NQL-CyikmuF2.js} +3 -3
  47. package/dist/{pieDiagram-4H26LBE5-BHcFVpCC.js → pieDiagram-4H26LBE5-CesqzEGg.js} +3 -3
  48. package/dist/{quadrantDiagram-W4KKPZXB-BFBAb3Zx.js → quadrantDiagram-W4KKPZXB-BsPKPfNd.js} +2 -2
  49. package/dist/record.js +90 -1196
  50. package/dist/{requirementDiagram-4Y6WPE33-CUS2OOyE.js → requirementDiagram-4Y6WPE33-BwB1tQvi.js} +3 -3
  51. package/dist/{sankeyDiagram-5OEKKPKP-IuhX4tCb.js → sankeyDiagram-5OEKKPKP-CfSNbWMY.js} +1 -1
  52. package/dist/{sequenceDiagram-3UESZ5HK-DWHcFiUF.js → sequenceDiagram-3UESZ5HK-DZZlUNys.js} +3 -3
  53. package/dist/{stateDiagram-AJRCARHV-J49Kafj_.js → stateDiagram-AJRCARHV-DNJmz_op.js} +4 -4
  54. package/dist/{stateDiagram-v2-BHNVJYJU-DL2VCR5X.js → stateDiagram-v2-BHNVJYJU-DVfDNM6l.js} +2 -2
  55. package/dist/{timeline-definition-PNZ67QCA-l9xSQ_pX.js → timeline-definition-PNZ67QCA-DEUCAg_N.js} +2 -2
  56. package/dist/{useCodeBlockRendering-CY70U0Xm.js → useCodeBlockRendering-DF6zm7nf.js} +475 -526
  57. package/dist/{vennDiagram-CIIHVFJN-BQjdmOkd.js → vennDiagram-CIIHVFJN-DVDP__od.js} +1 -1
  58. package/dist/{wardleyDiagram-YWT4CUSO-CmVdsV9b.js → wardleyDiagram-YWT4CUSO-sEtxBd33.js} +2 -2
  59. package/dist/{xychartDiagram-2RQKCTM6-F-cC_Igm.js → xychartDiagram-2RQKCTM6-DM8QeR5M.js} +2 -2
  60. package/package.json +4 -4
  61. package/src/__tests__/recorder-editor.test.ts +3 -1
  62. package/src/__tests__/var-field-render.test.ts +33 -0
  63. package/src/components/AimdRecorderEditor.vue +3 -1
@@ -1,11 +1,12 @@
1
- import { defineComponent as g, ref as m, watch as V, h as x, computed as l, shallowRef as te, onBeforeUnmount as oe, openBlock as r, createElementBlock as n, normalizeStyle as ie, normalizeClass as C, createElementVNode as s, toDisplayString as c, unref as v, createVNode as E, createCommentVNode as p, createBlock as re } from "vue";
2
- import { g as ne, _ as de } from "./AimdEditor.vue_vue_type_style_index_0_lang-gTySIxvX.js";
3
- import { R as le, g as se } from "./useCodeBlockRendering-CY70U0Xm.js";
1
+ import { defineComponent as p, ref as m, watch as V, h as x, computed as l, shallowRef as te, onBeforeUnmount as oe, openBlock as r, createElementBlock as n, normalizeStyle as ie, normalizeClass as C, createElementVNode as s, toDisplayString as c, unref as v, createVNode as E, createCommentVNode as g, createBlock as re } from "vue";
2
+ import { g as ne, _ as de } from "./AimdEditor.vue_vue_type_style_index_0_lang-DTdcoNs1.js";
3
+ import "./index-Dtvv88SS.js";
4
+ import { R as le, g as se } from "./useCodeBlockRendering-DF6zm7nf.js";
4
5
  import "@airalogy/aimd-core";
5
6
  import { renderToVue as ce, createMermaidRenderer as ue } from "@airalogy/aimd-renderer";
6
7
  import { c as me } from "./useMonacoAutoHeight-D4T-El3J.js";
7
8
  import { _ as ve } from "./_commonjsHelpers-B5RozER-.js";
8
- const fe = { class: "aimd-field aimd-field--no-style aimd-field__label" }, we = { class: "aimd-field__scope aimd-field__scope--var" }, he = { class: "aimd-field__id" }, ke = { class: "aimd-markdown-field__header-actions" }, _e = ["aria-label"], ge = ["aria-pressed"], pe = ["aria-pressed"], be = {
9
+ const fe = { class: "aimd-field aimd-field--no-style aimd-field__label" }, we = { class: "aimd-field__scope aimd-field__scope--var" }, he = { class: "aimd-field__id" }, ke = { class: "aimd-markdown-field__header-actions" }, _e = ["aria-label"], pe = ["aria-pressed"], ge = ["aria-pressed"], be = {
9
10
  key: 0,
10
11
  class: "aimd-markdown-field__assigner-actions"
11
12
  }, ye = {
@@ -29,7 +30,7 @@ const fe = { class: "aimd-field aimd-field--no-style aimd-field__label" }, we =
29
30
  }, Le = {
30
31
  key: 2,
31
32
  class: "aimd-markdown-field__preview aimd-renderer"
32
- }, Be = /* @__PURE__ */ g({
33
+ }, Be = /* @__PURE__ */ p({
33
34
  __name: "AimdMarkdownField",
34
35
  props: {
35
36
  modelValue: { default: void 0 },
@@ -51,7 +52,7 @@ const fe = { class: "aimd-field aimd-field--no-style aimd-field__label" }, we =
51
52
  return e?.toLowerCase().startsWith("zh") ?? !1;
52
53
  }
53
54
  let N = 0;
54
- const z = g({
55
+ const z = p({
55
56
  name: "AimdMarkdownMermaidBlock",
56
57
  props: {
57
58
  code: { type: String, required: !0 }
@@ -66,7 +67,7 @@ const fe = { class: "aimd-field aimd-field--no-style aimd-field__label" }, we =
66
67
  return;
67
68
  }
68
69
  try {
69
- const T = (await import("./mermaid.core-DPv1ut6K.js").then((ae) => ae.bm)).default;
70
+ const T = (await import("./mermaid.core-CkanUCyS.js").then((ae) => ae.bm)).default;
70
71
  T.initialize({
71
72
  startOnLoad: !1,
72
73
  securityLevel: "strict"
@@ -98,7 +99,7 @@ const fe = { class: "aimd-field aimd-field--no-style aimd-field__label" }, we =
98
99
  "--aimd-markdown-field-editor-height": `${B.value}px`
99
100
  })), k = te([]), _ = m(!1);
100
101
  let y = 0;
101
- const H = g({
102
+ const H = p({
102
103
  name: "RenderVNode",
103
104
  props: {
104
105
  vnode: { type: Object, required: !0 }
@@ -106,7 +107,7 @@ const fe = { class: "aimd-field aimd-field--no-style aimd-field__label" }, we =
106
107
  setup(e) {
107
108
  return () => e.vnode;
108
109
  }
109
- }), $ = g({
110
+ }), $ = p({
110
111
  name: "AimdMarkdownFieldPreviewOutlet",
111
112
  props: {
112
113
  nodes: {
@@ -202,25 +203,25 @@ const fe = { class: "aimd-field aimd-field--no-style aimd-field__label" }, we =
202
203
  class: C(["aimd-markdown-field__view-btn", { "aimd-markdown-field__view-btn--active": f.value }]),
203
204
  "aria-pressed": f.value,
204
205
  onClick: G
205
- }, c(D.value), 11, ge),
206
+ }, c(D.value), 11, pe),
206
207
  s("button", {
207
208
  type: "button",
208
209
  class: C(["aimd-markdown-field__view-btn", { "aimd-markdown-field__view-btn--active": !f.value }]),
209
210
  "aria-pressed": !f.value,
210
211
  onClick: J
211
- }, c(U.value), 11, pe)
212
+ }, c(U.value), 11, ge)
212
213
  ], 8, _e),
213
214
  a.assignerControl || a.assignerStatus ? (r(), n("span", be, [
214
215
  a.assignerControl ? (r(), n("span", ye, [
215
216
  E(v(H), { vnode: a.assignerControl }, null, 8, ["vnode"])
216
- ])) : p("", !0),
217
+ ])) : g("", !0),
217
218
  a.assignerStatus ? (r(), n("span", Re, [
218
219
  E(v(H), { vnode: a.assignerStatus }, null, 8, ["vnode"])
219
- ])) : p("", !0)
220
- ])) : p("", !0)
220
+ ])) : g("", !0)
221
+ ])) : g("", !0)
221
222
  ])
222
223
  ]),
223
- a.assignerError ? (r(), n("span", Me, c(a.assignerError), 1)) : p("", !0),
224
+ a.assignerError ? (r(), n("span", Me, c(a.assignerError), 1)) : g("", !0),
224
225
  s("div", Ve, [
225
226
  f.value ? (r(), n("div", Ce, [
226
227
  I.value ? _.value ? (r(), n("pre", Se, c(o.value), 1)) : (r(), n("div", Le, [
@@ -248,7 +249,7 @@ const fe = { class: "aimd-field aimd-field--no-style aimd-field__label" }, we =
248
249
  ])
249
250
  ], 38));
250
251
  }
251
- }), ze = /* @__PURE__ */ ve(Be, [["__scopeId", "data-v-1f2c4502"]]);
252
+ }), Pe = /* @__PURE__ */ ve(Be, [["__scopeId", "data-v-1f2c4502"]]);
252
253
  export {
253
- ze as default
254
+ Pe as default
254
255
  };
@@ -1,6 +1,7 @@
1
1
  import { defineComponent as K, ref as h, computed as a, shallowRef as re, watch as R, onBeforeUnmount as se, openBlock as r, createElementBlock as m, normalizeStyle as ue, normalizeClass as U, createElementVNode as l, toDisplayString as s, createCommentVNode as ce, createBlock as me, unref as M, createVNode as fe, nextTick as ve } from "vue";
2
- import { _ as we } from "./AimdEditor.vue_vue_type_style_index_0_lang-gTySIxvX.js";
3
- import { R as he } from "./useCodeBlockRendering-CY70U0Xm.js";
2
+ import { _ as we } from "./AimdEditor.vue_vue_type_style_index_0_lang-DTdcoNs1.js";
3
+ import "./index-Dtvv88SS.js";
4
+ import { R as he } from "./useCodeBlockRendering-DF6zm7nf.js";
4
5
  import "@airalogy/aimd-core";
5
6
  import { renderToVue as be } from "@airalogy/aimd-renderer";
6
7
  import { c as _e } from "./useMonacoAutoHeight-D4T-El3J.js";
@@ -253,7 +254,7 @@ const ke = {
253
254
  ])) : (r(), m("div", xe, s(Q.value), 1))
254
255
  ], 38));
255
256
  }
256
- }), Oe = /* @__PURE__ */ pe(Me, [["__scopeId", "data-v-21765085"]]);
257
+ }), qe = /* @__PURE__ */ pe(Me, [["__scopeId", "data-v-21765085"]]);
257
258
  export {
258
- Oe as default
259
+ qe as default
259
260
  };