@airalogy/aimd-recorder 1.17.0 → 1.19.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.
- package/README.md +42 -10
- package/README.zh-CN.md +42 -10
- package/dist/AimdCodeField-BQUuM-EF.js +182 -0
- package/dist/{AimdDnaSequenceField-D6ZgCDpp.js → AimdDnaSequenceField-TBKunqU_.js} +2 -2
- package/dist/{AimdEditor.vue_vue_type_style_index_0_lang-B5Tq4zPV.js → AimdEditor.vue_vue_type_style_index_0_lang-tdh0dJNa.js} +3922 -3829
- package/dist/AimdMarkdownField-DmNX2g4j.js +254 -0
- package/dist/AimdMarkdownNoteField-B5ruzmwS.js +259 -0
- package/dist/{_commonjsHelpers-CZXJ37nu.js → _commonjsHelpers-B5RozER-.js} +2 -2
- package/dist/aimd-recorder.css +1 -1
- package/dist/arc-B-vsgEXF.js +83 -0
- package/dist/architectureDiagram-3BPJPVTR-BwPNOtNH.js +4692 -0
- package/dist/blockDiagram-GPEHLZMM-CMUI4kKc.js +2425 -0
- package/dist/c4Diagram-AAUBKEIU-Cpmfsy_s.js +1577 -0
- package/dist/channel-DlMAXHQK.js +5 -0
- package/dist/chunk-2J33WTMH-DP9BS2ux.js +19 -0
- package/dist/chunk-4BX2VUAB-ncsOeLMb.js +8 -0
- package/dist/chunk-55IACEB6-C7wHk4B7.js +8 -0
- package/dist/chunk-727SXJPM-Caa5aVUO.js +1528 -0
- package/dist/chunk-AQP2D5EJ-CL8egKqD.js +1387 -0
- package/dist/chunk-FMBD7UC4-heVR6BSA.js +19 -0
- package/dist/chunk-ND2GUHAM-BYH-wC2J.js +68 -0
- package/dist/chunk-QZHKN3VN-Bx2K7vkq.js +15 -0
- package/dist/classDiagram-4FO5ZUOK-BLLfLYy0.js +16 -0
- package/dist/classDiagram-v2-Q7XG4LA2-BLLfLYy0.js +16 -0
- package/dist/components.js +3776 -2247
- package/dist/composables.js +96 -70
- package/dist/cose-bilkent-S5V4N54A-E1YmM_xr.js +2609 -0
- package/dist/cytoscape.esm-r59gEWFs.js +18710 -0
- package/dist/dagre-BM42HDAG-BsXpQirH.js +445 -0
- package/dist/defaultLocale-BgPVtth8.js +171 -0
- package/dist/diagram-2AECGRRQ-CamqbWlY.js +217 -0
- package/dist/diagram-5GNKFQAL-DZyRFcOC.js +123 -0
- package/dist/diagram-KO2AKTUF-CmkGcy7R.js +461 -0
- package/dist/diagram-LMA3HP47-IdDwQPZ-.js +142 -0
- package/dist/diagram-OG6HWLK6-t0LBcUIU.js +528 -0
- package/dist/erDiagram-TEJ5UH35-DJBY2iZG.js +899 -0
- package/dist/flowDiagram-I6XJVG4X-DE4MzPPk.js +1628 -0
- package/dist/ganttDiagram-6RSMTGT7-CmAc35Yw.js +2707 -0
- package/dist/gitGraphDiagram-PVQCEYII-DDQZ5flw.js +815 -0
- package/dist/graph-BsJ8-1Pq.js +1510 -0
- package/dist/index.js +110 -83
- package/dist/infoDiagram-5YYISTIA-DSZjFR5g.js +24 -0
- package/dist/init-DjUOC4st.js +16 -0
- package/dist/ishikawaDiagram-YF4QCWOH-DCO9dx2L.js +621 -0
- package/dist/journeyDiagram-JHISSGLW-b-PpuBqg.js +834 -0
- package/dist/kanban-definition-UN3LZRKU-BjclDuJZ.js +724 -0
- package/dist/katex-DNob3HGn.js +11690 -0
- package/dist/layout-D4wqKu72.js +1703 -0
- package/dist/linear-Voc3BJib.js +259 -0
- package/dist/mermaid.core-Dt_VbeGP.js +15940 -0
- package/dist/mindmap-definition-RKZ34NQL-B3vrXRVY.js +827 -0
- package/dist/ordinal-B6-f3MAq.js +61 -0
- package/dist/pieDiagram-4H26LBE5-DFpWxSxk.js +163 -0
- package/dist/quadrantDiagram-W4KKPZXB-BYHcrGoB.js +1024 -0
- package/dist/record.js +1199 -0
- package/dist/requirementDiagram-4Y6WPE33-C-FgWrRz.js +882 -0
- package/dist/sankeyDiagram-5OEKKPKP-IwN0Evji.js +847 -0
- package/dist/sequenceDiagram-3UESZ5HK-_OnqhBO2.js +2891 -0
- package/dist/stateDiagram-AJRCARHV-BRLv0Zcw.js +263 -0
- package/dist/stateDiagram-v2-BHNVJYJU-BofX0AdS.js +16 -0
- package/dist/timeline-definition-PNZ67QCA-C-DpPLpw.js +1055 -0
- package/dist/{useFieldRendering-xLajJhyA.js → useCodeBlockRendering-DoTZaJTW.js} +1528 -1725
- package/dist/useMonacoAutoHeight-D4T-El3J.js +66 -0
- package/dist/vennDiagram-CIIHVFJN-zTHQR9Oq.js +1557 -0
- package/dist/wardley-L42UT6IY-D7b2ujEZ.js +22512 -0
- package/dist/wardleyDiagram-YWT4CUSO-au5koizO.js +675 -0
- package/dist/xychartDiagram-2RQKCTM6-BNf12P8z.js +1342 -0
- package/package.json +13 -8
- package/src/__tests__/assigner-graph.test.ts +82 -0
- package/src/__tests__/assigner-runner-dependent-data.test.ts +32 -0
- package/src/__tests__/markdown-field.test.ts +150 -1
- package/src/__tests__/markdown-note-field.test.ts +86 -3
- package/src/__tests__/recorder-assigner-control.test.ts +993 -0
- package/src/__tests__/recorder-editor.test.ts +17 -0
- package/src/__tests__/recorder-markdown-assigner-integration.test.ts +49 -0
- package/src/__tests__/step-field.test.ts +47 -1
- package/src/__tests__/type-plugins.test.ts +1 -0
- package/src/__tests__/var-field-render.test.ts +806 -1
- package/src/components/AimdAssignerGraph.vue +816 -0
- package/src/components/AimdCodeField.vue +24 -5
- package/src/components/AimdMarkdownField.vue +556 -11
- package/src/components/AimdMarkdownNoteField.vue +241 -30
- package/src/components/AimdRecorder.vue +1619 -99
- package/src/components/AimdRecorderEditor.vue +276 -8
- package/src/components/AimdRecorderWysiwygFieldHost.vue +6 -0
- package/src/components/AimdRecorderWysiwygSurface.vue +32 -0
- package/src/components/AimdStepCheckField.vue +82 -18
- package/src/components/AimdVarField.vue +694 -25
- package/src/components/AimdVarTableField.vue +325 -138
- package/src/components/icons/AimdAssignerCalculatorIcon.vue +18 -0
- package/src/components/icons/AimdAssignerCloudStatusIcon.vue +22 -0
- package/src/components/index.ts +9 -1
- package/src/components/recorderMilkdownPlugin.ts +14 -0
- package/src/composables/__tests__/useRecordState.test.ts +86 -0
- package/src/composables/__tests__/useVarHelpers.test.ts +175 -0
- package/src/composables/index.ts +28 -1
- package/src/composables/useAssignerRunner.ts +376 -0
- package/src/composables/useCodeBlockRendering.ts +51 -0
- package/src/composables/useFieldRendering.ts +32 -4
- package/src/composables/useMonacoAutoHeight.ts +127 -0
- package/src/composables/useRecordState.ts +22 -3
- package/src/composables/useVarHelpers.ts +237 -32
- package/src/index.ts +20 -1
- package/src/locales.ts +45 -0
- package/src/record/index.ts +120 -0
- package/src/styles/aimd.css +216 -1
- package/src/type-plugins.ts +7 -0
- package/src/type-utils.ts +1 -3
- package/src/types.ts +130 -2
- package/dist/AimdCodeField-DC3DPvgc.js +0 -172
- package/dist/AimdMarkdownField-BJ20QtO8.js +0 -67
- package/dist/AimdMarkdownNoteField-DwAQhoyk.js +0 -186
package/dist/index.js
CHANGED
|
@@ -1,89 +1,116 @@
|
|
|
1
1
|
import { AimdProtocolRecorder as e } from "./components.js";
|
|
2
|
-
import { AimdDnaSequenceField as
|
|
3
|
-
import { D as
|
|
4
|
-
import {
|
|
2
|
+
import { AimdAssignerGraph as s, AimdDnaSequenceField as n, AimdMarkdownField as o, AimdQuizRecorder as l, AimdRecorder as d, AimdRecorderEditor as m } from "./components.js";
|
|
3
|
+
import { D as u, c as p, r as A } from "./AimdEditor.vue_vue_type_style_index_0_lang-tdh0dJNa.js";
|
|
4
|
+
import { AIMD_DNA_SEQUENCE_FORMAT as S, applyIncomingRecord as D, applyNormalizedRecord as R, calculateDnaSequenceGcPercent as V, cloneRecordData as T, collectInvalidDnaSequenceCharacters as F, createEmptyCheckRecordItem as z, createEmptyDnaSequenceAnnotation as y, createEmptyDnaSequenceQualifier as E, createEmptyDnaSequenceSegment as h, createEmptyProtocolRecordData as I, createEmptyStepRecordItem as C, createEmptyVarTableRow as M, ensureDefaultsFromFields as f, formatStepDuration as q, getDnaSequenceSegmentIssue as k, getNextDnaSequenceAnnotationId as L, getProtocolEstimatedDurationMs as P, getProtocolRecordedDurationMs as x, getQuizDefaultValue as N, getStepElapsedMs as b, getStepRemainingMs as _, hasRecordedStepDuration as W, isStepTimerRunning as v, isStepTimerWarning as Q, normalizeCheckFields as w, normalizeCheckLike as B, normalizeDnaSequenceAnnotation as G, normalizeDnaSequenceQualifier as K, normalizeDnaSequenceSegment as U, normalizeDnaSequenceText as O, normalizeDnaSequenceValue as H, normalizeIncomingRecord as j, normalizeQuizFields as J, normalizeStepFields as Y, normalizeStepLike as $, normalizeStepTimerState as X, normalizeVarTableFields as Z, normalizeVarTableRows as ee, pauseStepTimer as ae, replaceSection as re, resetStepTimer as te, resolveStepTimerMode as ie, serializeDnaSequenceToGenBank as se, setStepChecked as ne, startStepTimer as oe } from "./record.js";
|
|
5
|
+
import { U as de, a as me, b as ce, c as ue, d as pe, e as Ae, f as ge, V as Se, g as De, h as Re, i as Ve, j as Te, k as Fe, l as ze, m as ye, n as Ee, o as he, p as Ie, q as Ce, r as Me, s as fe, t as qe, u as ke, v as Le, w as Pe, x as xe, y as Ne, z as be, A as _e, B as We, C as ve, D as Qe, E as we, F as Be, G as Ge, H as Ke, I as Ue, J as Oe, K as He, W as je, L as Je, M as Ye, N as $e, O as Xe, P as Ze, Q as ea, R as aa, S as ra, T as ta } from "./useCodeBlockRendering-DoTZaJTW.js";
|
|
6
|
+
import { c as sa, e as na } from "./useMonacoAutoHeight-D4T-El3J.js";
|
|
5
7
|
const r = e;
|
|
6
8
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
n as
|
|
9
|
+
S as AIMD_DNA_SEQUENCE_FORMAT,
|
|
10
|
+
s as AimdAssignerGraph,
|
|
11
|
+
n as AimdDnaSequenceField,
|
|
12
|
+
o as AimdMarkdownField,
|
|
10
13
|
r as AimdProtocolRecorder,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
l as AimdQuizRecorder,
|
|
15
|
+
d as AimdRecorder,
|
|
16
|
+
m as AimdRecorderEditor,
|
|
17
|
+
de as BUILT_IN_AIMD_TYPE_PLUGINS,
|
|
18
|
+
u as DEFAULT_AIMD_RECORDER_LOCALE,
|
|
19
|
+
me as applyAimdAssignedFieldsToRecord,
|
|
20
|
+
D as applyIncomingRecord,
|
|
21
|
+
R as applyNormalizedRecord,
|
|
22
|
+
ce as applyVarStackWidth,
|
|
23
|
+
ue as buildAimdAssignerDependentData,
|
|
24
|
+
pe as buildAimdRecorderFieldAdapterContext,
|
|
20
25
|
V as calculateDnaSequenceGcPercent,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
26
|
+
Ae as calculateVarStackWidth,
|
|
27
|
+
ge as captureFocusSnapshot,
|
|
28
|
+
T as cloneRecordData,
|
|
29
|
+
F as collectInvalidDnaSequenceCharacters,
|
|
30
|
+
p as createAimdRecorderMessages,
|
|
31
|
+
Se as createAimdTypePlugins,
|
|
32
|
+
De as createChainedElementRenderer,
|
|
33
|
+
z as createEmptyCheckRecordItem,
|
|
34
|
+
y as createEmptyDnaSequenceAnnotation,
|
|
35
|
+
E as createEmptyDnaSequenceQualifier,
|
|
36
|
+
h as createEmptyDnaSequenceSegment,
|
|
37
|
+
I as createEmptyProtocolRecordData,
|
|
38
|
+
C as createEmptyStepRecordItem,
|
|
39
|
+
M as createEmptyVarTableRow,
|
|
40
|
+
sa as createMonacoAutoHeight,
|
|
41
|
+
Re as createSelectedFileValue,
|
|
42
|
+
f as ensureDefaultsFromFields,
|
|
43
|
+
na as estimateMonacoVisualLineCount,
|
|
44
|
+
Ve as extractAimdAssignedFields,
|
|
45
|
+
Te as formatDateForInput,
|
|
46
|
+
Fe as formatDateTimeWithTimezone,
|
|
47
|
+
q as formatStepDuration,
|
|
48
|
+
ze as getAimdAssignerDependentFields,
|
|
49
|
+
ye as getAimdAssignerFieldKey,
|
|
50
|
+
Ee as getAimdAssignerFieldNameSets,
|
|
51
|
+
he as getAimdAssignerMode,
|
|
52
|
+
Ie as getAimdAssignerPayloadFieldKey,
|
|
53
|
+
k as getDnaSequenceSegmentIssue,
|
|
54
|
+
Ce as getFileDisplayName,
|
|
55
|
+
Me as getFileInputConfig,
|
|
56
|
+
L as getNextDnaSequenceAnnotationId,
|
|
57
|
+
P as getProtocolEstimatedDurationMs,
|
|
58
|
+
x as getProtocolRecordedDurationMs,
|
|
59
|
+
N as getQuizDefaultValue,
|
|
60
|
+
b as getStepElapsedMs,
|
|
61
|
+
_ as getStepRemainingMs,
|
|
62
|
+
fe as getVarEnumSelectValue,
|
|
63
|
+
qe as getVarEnumValueFromSelectValue,
|
|
64
|
+
ke as getVarInputDisplayValue,
|
|
65
|
+
Le as getVarInputKind,
|
|
66
|
+
Pe as getVarTableColumns,
|
|
67
|
+
xe as getVarTableRowKey,
|
|
68
|
+
W as hasRecordedStepDuration,
|
|
69
|
+
Ne as isFileLikeVarType,
|
|
70
|
+
be as isReadonlyAimdAssignerMode,
|
|
71
|
+
v as isStepTimerRunning,
|
|
72
|
+
Q as isStepTimerWarning,
|
|
73
|
+
_e as isStructuredVarType,
|
|
74
|
+
We as measureSingleLineControlWidth,
|
|
75
|
+
ve as measureVarLabelWidth,
|
|
76
|
+
Qe as normalizeAimdAssignerDependentData,
|
|
77
|
+
we as normalizeAimdAssignerDependentValue,
|
|
78
|
+
Be as normalizeAimdAssignerMode,
|
|
79
|
+
w as normalizeCheckFields,
|
|
80
|
+
B as normalizeCheckLike,
|
|
81
|
+
Ge as normalizeDateTimeValueWithTimezone,
|
|
82
|
+
G as normalizeDnaSequenceAnnotation,
|
|
83
|
+
K as normalizeDnaSequenceQualifier,
|
|
84
|
+
U as normalizeDnaSequenceSegment,
|
|
85
|
+
O as normalizeDnaSequenceText,
|
|
86
|
+
H as normalizeDnaSequenceValue,
|
|
87
|
+
j as normalizeIncomingRecord,
|
|
88
|
+
J as normalizeQuizFields,
|
|
89
|
+
Y as normalizeStepFields,
|
|
90
|
+
$ as normalizeStepLike,
|
|
91
|
+
X as normalizeStepTimerState,
|
|
92
|
+
Z as normalizeVarTableFields,
|
|
93
|
+
ee as normalizeVarTableRows,
|
|
94
|
+
Ke as normalizeVarTypeName,
|
|
95
|
+
Ue as parseVarInputValue,
|
|
96
|
+
ae as pauseStepTimer,
|
|
97
|
+
re as replaceSection,
|
|
98
|
+
te as resetStepTimer,
|
|
99
|
+
Oe as resolveAimdAssigners,
|
|
100
|
+
He as resolveAimdRecorderFieldVNode,
|
|
101
|
+
A as resolveAimdRecorderLocale,
|
|
102
|
+
je as resolveAimdTypePlugin,
|
|
103
|
+
ie as resolveStepTimerMode,
|
|
104
|
+
Je as restoreFocusSnapshot,
|
|
105
|
+
se as serializeDnaSequenceToGenBank,
|
|
106
|
+
ne as setStepChecked,
|
|
107
|
+
oe as startStepTimer,
|
|
108
|
+
Ye as syncAutoWrapTextareaHeight,
|
|
109
|
+
$e as toBooleanValue,
|
|
110
|
+
Xe as toDateValue,
|
|
111
|
+
Ze as unwrapStructuredValue,
|
|
112
|
+
ea as useClientAssignerRunner,
|
|
113
|
+
aa as useCodeBlockRendering,
|
|
114
|
+
ra as useFieldRendering,
|
|
115
|
+
ta as useVarTableDragDrop
|
|
89
116
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { _ as a, l as s, L as o, e as i } from "./mermaid.core-Dt_VbeGP.js";
|
|
2
|
+
import { p as g } from "./wardley-L42UT6IY-D7b2ujEZ.js";
|
|
3
|
+
var p = {
|
|
4
|
+
parse: /* @__PURE__ */ a(async (r) => {
|
|
5
|
+
const e = await g("info", r);
|
|
6
|
+
s.debug(e);
|
|
7
|
+
}, "parse")
|
|
8
|
+
}, v = {
|
|
9
|
+
version: "11.15.0"
|
|
10
|
+
}, d = /* @__PURE__ */ a(() => v.version, "getVersion"), m = {
|
|
11
|
+
getVersion: d
|
|
12
|
+
}, c = /* @__PURE__ */ a((r, e, n) => {
|
|
13
|
+
s.debug(`rendering info diagram
|
|
14
|
+
` + r);
|
|
15
|
+
const t = o(e);
|
|
16
|
+
i(t, 100, 400, !0), t.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${n}`);
|
|
17
|
+
}, "draw"), l = { draw: c }, _ = {
|
|
18
|
+
parser: p,
|
|
19
|
+
db: m,
|
|
20
|
+
renderer: l
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
_ as diagram
|
|
24
|
+
};
|