@airalogy/aimd-recorder 1.28.0 → 1.29.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 +4 -0
- package/README.zh-CN.md +4 -0
- package/dist/{AimdDnaSequenceField-DblYTIq0.js → AimdDnaSequenceField-CC07idJ1.js} +1 -1
- package/dist/{AimdEditor.vue_vue_type_style_index_0_lang-4uL-qHII.js → AimdEditor.vue_vue_type_style_index_0_lang-C9xOPWUf.js} +5 -1
- package/dist/{AimdEntityRefField-bRM3TRyz.js → AimdEntityRefField-Bc55EWW7.js} +1 -1
- package/dist/{AimdEntityRefField.vue_vue_type_script_setup_true_lang-BM5paTdk.js → AimdEntityRefField.vue_vue_type_script_setup_true_lang-B539YY-u.js} +1 -1
- package/dist/{AimdMarkdownField-qaWjbybB.js → AimdMarkdownField-DaYdXrEN.js} +3 -3
- package/dist/{AimdMarkdownNoteField-B8vZnU6s.js → AimdMarkdownNoteField-DE2eyIeG.js} +2 -2
- package/dist/{AimdResourceRefField-Bq2ASMTK.js → AimdResourceRefField-Dv1EfosL.js} +2 -2
- package/dist/aimd-recorder.css +1 -1
- package/dist/{arc-00d15h7D.js → arc-COg5ULhj.js} +1 -1
- package/dist/{architectureDiagram-3BPJPVTR-DKYLI713.js → architectureDiagram-3BPJPVTR-Cl6dfzfF.js} +2 -2
- package/dist/{blockDiagram-GPEHLZMM-dNWlyXPI.js → blockDiagram-GPEHLZMM-BACKnDKc.js} +4 -4
- package/dist/{c4Diagram-AAUBKEIU-CAqsYcIl.js → c4Diagram-AAUBKEIU-zq3HwKb_.js} +2 -2
- package/dist/{channel-4oJLrZcY.js → channel-BJlkYmQY.js} +1 -1
- package/dist/{chunk-2J33WTMH-DzoFraaP.js → chunk-2J33WTMH-B7oyQtnK.js} +1 -1
- package/dist/{chunk-4BX2VUAB-DXRnEJXi.js → chunk-4BX2VUAB-DVmdXl0Z.js} +1 -1
- package/dist/{chunk-55IACEB6-BfMMJ2bK.js → chunk-55IACEB6-C6G6r1Hs.js} +1 -1
- package/dist/{chunk-727SXJPM-BLnYDYYi.js → chunk-727SXJPM-DRauMxlM.js} +5 -5
- package/dist/{chunk-AQP2D5EJ-gckWU-r5.js → chunk-AQP2D5EJ-CFOFED2g.js} +3 -3
- package/dist/{chunk-FMBD7UC4-CQ5X8W3n.js → chunk-FMBD7UC4-D6pbxcrd.js} +1 -1
- package/dist/{chunk-ND2GUHAM-EKUg1pFy.js → chunk-ND2GUHAM-CTRvR7V6.js} +1 -1
- package/dist/{chunk-QZHKN3VN-C7rc4zcu.js → chunk-QZHKN3VN-JYLI2Fou.js} +1 -1
- package/dist/{classDiagram-v2-Q7XG4LA2-EfTWUW7K.js → classDiagram-4FO5ZUOK-CvWmPFSb.js} +2 -2
- package/dist/{classDiagram-4FO5ZUOK-EfTWUW7K.js → classDiagram-v2-Q7XG4LA2-CvWmPFSb.js} +2 -2
- package/dist/components.js +3577 -3505
- package/dist/composables.js +2 -2
- package/dist/{cose-bilkent-S5V4N54A-7OZaecIh.js → cose-bilkent-S5V4N54A-g5sJsJsO.js} +1 -1
- package/dist/{dagre-BM42HDAG-DTPFiUIQ.js → dagre-BM42HDAG-CgURX0XQ.js} +3 -3
- package/dist/{diagram-2AECGRRQ-BqkCMrTN.js → diagram-2AECGRRQ-DkDoyjIE.js} +2 -2
- package/dist/{diagram-5GNKFQAL-bzujL8bv.js → diagram-5GNKFQAL-CjmQeZ1p.js} +3 -3
- package/dist/{diagram-KO2AKTUF-zAvqbjMt.js → diagram-KO2AKTUF-xkwe4Z-T.js} +2 -2
- package/dist/{diagram-LMA3HP47-7i7fJxdU.js → diagram-LMA3HP47-B4XAB0Ul.js} +2 -2
- package/dist/{diagram-OG6HWLK6-GC2rMiZ5.js → diagram-OG6HWLK6-DIDrCkjk.js} +3 -3
- package/dist/{erDiagram-TEJ5UH35-D2U3IvMI.js → erDiagram-TEJ5UH35-HCGS4huB.js} +4 -4
- package/dist/{example-record-DJYZw-ON.js → example-record-6TUyxByY.js} +2 -2
- package/dist/{flowDiagram-I6XJVG4X-nieM9Hg0.js → flowDiagram-I6XJVG4X-DCR0zjVf.js} +6 -6
- package/dist/{ganttDiagram-6RSMTGT7-zNrnW3u3.js → ganttDiagram-6RSMTGT7-D0cqiqhS.js} +2 -2
- package/dist/{gitGraphDiagram-PVQCEYII-DA9UoINV.js → gitGraphDiagram-PVQCEYII-CjEJrOfY.js} +3 -3
- package/dist/{graph-CyckuBF1.js → graph-vXOGPp0B.js} +1 -1
- package/dist/index.js +5 -5
- package/dist/{infoDiagram-5YYISTIA-DUgRU8-y.js → infoDiagram-5YYISTIA-Cwa9CA9R.js} +1 -1
- package/dist/{ishikawaDiagram-YF4QCWOH-BaruYTNe.js → ishikawaDiagram-YF4QCWOH-Dtm2EQRM.js} +1 -1
- package/dist/{journeyDiagram-JHISSGLW-BHlST22D.js → journeyDiagram-JHISSGLW-Cwsyan_q.js} +4 -4
- package/dist/{kanban-definition-UN3LZRKU-BW6pDr5N.js → kanban-definition-UN3LZRKU-Cocu6oQX.js} +2 -2
- package/dist/{layout-DhpqmwBF.js → layout-BQZ5CVhn.js} +2 -2
- package/dist/{linear-BmZyP-ga.js → linear-Dl1Cl9MO.js} +1 -1
- package/dist/{mermaid.core-SBTvkVkQ.js → mermaid.core-CcTsVOub.js} +34 -34
- package/dist/{mindmap-definition-RKZ34NQL-C7mDnX8X.js → mindmap-definition-RKZ34NQL-CJD4ZSsv.js} +3 -3
- package/dist/{pieDiagram-4H26LBE5-Dax4XYix.js → pieDiagram-4H26LBE5-miM6t9w3.js} +3 -3
- package/dist/{quadrantDiagram-W4KKPZXB-tx0eF1c_.js → quadrantDiagram-W4KKPZXB-BbjEmdfP.js} +2 -2
- package/dist/record.js +3 -3
- package/dist/{requirementDiagram-4Y6WPE33-DoEeWHvY.js → requirementDiagram-4Y6WPE33-Btxs6bPP.js} +3 -3
- package/dist/{sankeyDiagram-5OEKKPKP-qUrDMgFF.js → sankeyDiagram-5OEKKPKP-BFlv9Za2.js} +1 -1
- package/dist/{sequenceDiagram-3UESZ5HK-DQy8q3qc.js → sequenceDiagram-3UESZ5HK-CzsCwM84.js} +3 -3
- package/dist/{stateDiagram-AJRCARHV-Ctcg2io0.js → stateDiagram-AJRCARHV-Cr-X25OO.js} +4 -4
- package/dist/{stateDiagram-v2-BHNVJYJU-B0bKxEaj.js → stateDiagram-v2-BHNVJYJU-BU8pS5zo.js} +2 -2
- package/dist/{timeline-definition-PNZ67QCA-BRvAr_Ti.js → timeline-definition-PNZ67QCA-CCxtC3I1.js} +2 -2
- package/dist/{useFieldRendering-FDuKoylb.js → useFieldRendering-fRL0kBSG.js} +1 -1
- package/dist/{useVarHelpers-CnOgtKri.js → useVarHelpers-CC6Jk-Vu.js} +1 -1
- package/dist/{validation-CK747BvO.js → validation-qjnL_HTT.js} +1 -1
- package/dist/{vennDiagram-CIIHVFJN-Co_TdJKN.js → vennDiagram-CIIHVFJN-DoQdCEMx.js} +1 -1
- package/dist/{wardleyDiagram-YWT4CUSO-BFW0djMX.js → wardleyDiagram-YWT4CUSO-3t148oYZ.js} +2 -2
- package/dist/{xychartDiagram-2RQKCTM6-DgT1Tjy1.js → xychartDiagram-2RQKCTM6-DCni6kCQ.js} +2 -2
- package/package.json +1 -1
- package/src/__tests__/field-panel.test.ts +65 -0
- package/src/components/AimdRecorder.vue +97 -13
- package/src/components/AimdVarField.vue +21 -5
- package/src/composables/useFieldPresentation.ts +2 -2
- package/src/locales.ts +6 -0
- package/src/styles/recorder-compact.css +17 -0
package/README.md
CHANGED
|
@@ -410,3 +410,7 @@ If `@airalogy/aimd-recorder` is useful in your work, please cite the Airalogy pa
|
|
|
410
410
|
url={https://arxiv.org/abs/2506.18586},
|
|
411
411
|
}
|
|
412
412
|
```
|
|
413
|
+
|
|
414
|
+
## Standalone field panel
|
|
415
|
+
|
|
416
|
+
Use `<AimdRecorder layout="field-panel" :content="source" v-model="record" />` for a standalone form using the protocol’s field types, validation and attachment hooks.
|
package/README.zh-CN.md
CHANGED
|
@@ -394,3 +394,7 @@ const quiz = {
|
|
|
394
394
|
- EN: <https://airalogy.github.io/airalogy/aimd/en/packages/aimd-recorder>
|
|
395
395
|
- 中文: <https://airalogy.github.io/airalogy/aimd/zh/packages/aimd-recorder>
|
|
396
396
|
- 文档源码:`docs/aimd/en/packages/aimd-recorder.md`、`docs/aimd/zh/packages/aimd-recorder.md`
|
|
397
|
+
|
|
398
|
+
## 独立字段面板
|
|
399
|
+
|
|
400
|
+
使用 `<AimdRecorder layout="field-panel" :content="source" v-model="record" />` 把协议变量显示为独立表单。它沿用正文的字段类型、校验和附件接口。
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Om, openBlock as bi, createElementBlock as Ji, Fragment as qg, createElementVNode as wt, toDisplayString as ln, normalizeClass as q0, createCommentVNode as Iv, ref as lg, computed as uh, watch as eS, onMounted as NA, onBeforeUnmount as zA, createVNode as tS, unref as hE, renderList as kT, normalizeStyle as DA, createBlock as HT, nextTick as BA } from "vue";
|
|
2
|
-
import { ac as kA, aW as UT, s as HA, Z as gE, d as UA, g as vE, v as yE, k as mE, j as LA, i as pE } from "./useVarHelpers-
|
|
2
|
+
import { ac as kA, aW as UT, s as HA, Z as gE, d as UA, g as vE, v as yE, k as mE, j as LA, i as pE } from "./useVarHelpers-CC6Jk-Vu.js";
|
|
3
3
|
import { a as GA, c as bE, g as IA } from "./_commonjsHelpers-ByX85dGu.js";
|
|
4
4
|
import { a as FA, _ as YA } from "./AimdRequiredMarker.vue_vue_type_script_setup_true_lang-B5qDiOZn.js";
|
|
5
5
|
const tC = "dna_annotation";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { v as bm } from "./validation-messages-DSKIAWbr.js";
|
|
2
2
|
import { getAimdRendererQuizTypeLabel as tk, parseAndExtract as km } from "@airalogy/aimd-renderer";
|
|
3
3
|
import { defineComponent as jt, computed as Te, openBlock as W, createElementBlock as J, createElementVNode as T, createTextVNode as Re, toDisplayString as $, Fragment as Ae, renderList as Qe, unref as nt, createCommentVNode as Ie, ref as Z, watch as Be, createBlock as br, Teleport as Il, withModifiers as hr, normalizeStyle as kr, normalizeClass as xo, withDirectives as he, vModelText as Ne, createVNode as $t, vModelSelect as jr, vModelRadio as nk, vModelCheckbox as wm, nextTick as cr, inject as El, h as xe, onMounted as rs, onBeforeUnmount as hu, resolveDynamicComponent as Bf, withKeys as rk, provide as ik, onUnmounted as vm, shallowRef as Si, createApp as ok, toRef as sk, withCtx as lk, vShow as $f } from "vue";
|
|
4
|
-
import { b4 as nr, b3 as gc, bn as Cm, bo as uo, bp as Ti, bq as Ur, bm as qn, br as Zi, bs as eo, bi as fa, bt as xm, bu as ak, bv as ck } from "./useVarHelpers-
|
|
4
|
+
import { b4 as nr, b3 as gc, bn as Cm, bo as uo, bp as Ti, bq as Ur, bm as qn, br as Zi, bs as eo, bi as fa, bt as xm, bu as ak, bv as ck } from "./useVarHelpers-CC6Jk-Vu.js";
|
|
5
5
|
import { a as Nl } from "./AimdRequiredMarker.vue_vue_type_script_setup_true_lang-B5qDiOZn.js";
|
|
6
6
|
import { restoreAimdInlineTemplates as pu, protectAimdInlineTemplates as Sm } from "@airalogy/aimd-core";
|
|
7
7
|
import { g as uk } from "./_commonjsHelpers-ByX85dGu.js";
|
|
@@ -92,6 +92,8 @@ const hk = {
|
|
|
92
92
|
},
|
|
93
93
|
file: {
|
|
94
94
|
choose: "Choose file",
|
|
95
|
+
uploadPhoto: "Upload photo",
|
|
96
|
+
uploading: "Uploading…",
|
|
95
97
|
selected: "Selected file",
|
|
96
98
|
clear: "Clear file",
|
|
97
99
|
open: "Open file",
|
|
@@ -335,6 +337,8 @@ const hk = {
|
|
|
335
337
|
},
|
|
336
338
|
file: {
|
|
337
339
|
choose: "选择文件",
|
|
340
|
+
uploadPhoto: "上传照片",
|
|
341
|
+
uploading: "上传中…",
|
|
338
342
|
selected: "已选择文件",
|
|
339
343
|
clear: "清除文件",
|
|
340
344
|
open: "打开文件",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as P, ref as w, computed as p, watch as Q, openBlock as a, createElementBlock as r, Fragment as N, renderList as x, createElementVNode as y, toDisplayString as l, createCommentVNode as f, withDirectives as j, withKeys as U, withModifiers as G, vModelText as H } from "vue";
|
|
2
|
-
import { a6 as J } from "./useVarHelpers-
|
|
2
|
+
import { a6 as J } from "./useVarHelpers-CC6Jk-Vu.js";
|
|
3
3
|
const O = { class: "aimd-rec-entity-ref" }, W = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "aimd-rec-entity-ref__selected"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, ref as m, watch as V, h as x, computed as l, shallowRef as ie, onBeforeUnmount as oe, openBlock as r, createElementBlock as n, normalizeStyle as re, normalizeClass as C, createElementVNode as s, toDisplayString as c, unref as v, createBlock as F, createCommentVNode as w, createVNode as E } from "vue";
|
|
2
|
-
import { g as ne, _ as de } from "./AimdEditor.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import "./useVarHelpers-
|
|
2
|
+
import { g as ne, _ as de } from "./AimdEditor.vue_vue_type_style_index_0_lang-C9xOPWUf.js";
|
|
3
|
+
import "./useVarHelpers-CC6Jk-Vu.js";
|
|
4
4
|
import { renderToVue as le, createMermaidRenderer as se } from "@airalogy/aimd-renderer";
|
|
5
5
|
import "@airalogy/aimd-core";
|
|
6
6
|
import { u as ce, c as ue } from "./useCodeBlockRendering-IjoDTQ64.js";
|
|
@@ -68,7 +68,7 @@ const we = { class: "aimd-field aimd-field--no-style aimd-field__label" }, he =
|
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
70
70
|
try {
|
|
71
|
-
const T = (await import("./mermaid.core-
|
|
71
|
+
const T = (await import("./mermaid.core-CcTsVOub.js").then((te) => te.bm)).default;
|
|
72
72
|
T.initialize({
|
|
73
73
|
startOnLoad: !1,
|
|
74
74
|
securityLevel: "strict"
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
-
import "./useVarHelpers-
|
|
2
|
+
import { _ as we } from "./AimdEditor.vue_vue_type_style_index_0_lang-C9xOPWUf.js";
|
|
3
|
+
import "./useVarHelpers-CC6Jk-Vu.js";
|
|
4
4
|
import { renderToVue as he } from "@airalogy/aimd-renderer";
|
|
5
5
|
import "@airalogy/aimd-core";
|
|
6
6
|
import { u as be } from "./useCodeBlockRendering-IjoDTQ64.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as L, ref as B, computed as _, watch as T, openBlock as l, createElementBlock as a, createVNode as z, toDisplayString as o, createCommentVNode as c, createElementVNode as d, Fragment as b, renderList as $, createTextVNode as R } from "vue";
|
|
2
|
-
import { a6 as S } from "./useVarHelpers-
|
|
3
|
-
import { _ as j } from "./AimdEntityRefField.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a6 as S } from "./useVarHelpers-CC6Jk-Vu.js";
|
|
3
|
+
import { _ as j } from "./AimdEntityRefField.vue_vue_type_script_setup_true_lang-B539YY-u.js";
|
|
4
4
|
import { a as D } from "./AimdRequiredMarker.vue_vue_type_script_setup_true_lang-B5qDiOZn.js";
|
|
5
5
|
const K = { class: "aimd-rec-resource-ref" }, P = {
|
|
6
6
|
key: 0,
|