@antdv-next/x 1.1.2-beta.3 → 1.1.2-beta.4
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/dist/index.umd.js +9 -6
- package/dist/package.js +1 -1
- package/dist/sender/hooks/use-speech.d.ts +1 -1
- package/dist/sender/hooks/use-speech.js +8 -5
- package/es/antdv-next-x.esm.js +12 -10
- package/es/{chunk-GLR3WWYH-BvazRgdo.js → chunk-GLR3WWYH-BBFkZWLy.js} +1 -1
- package/es/{chunk-NQ4KR5QH-DGshodQv.js → chunk-NQ4KR5QH-I7cFzfZu.js} +1 -1
- package/es/{chunk-WL4C6EOR-C-d8WPS7.js → chunk-WL4C6EOR-B6HgoDzQ.js} +1 -1
- package/es/{classDiagram-VBA2DB6C-DWTAs0Zm.js → classDiagram-VBA2DB6C-CqK9jdgh.js} +2 -2
- package/es/{classDiagram-v2-RAHNMMFH-CoxCdmrt.js → classDiagram-v2-RAHNMMFH-ZDIng8Gz.js} +2 -2
- package/es/{cose-bilkent-S5V4N54A-CnrS2OC1.js → cose-bilkent-S5V4N54A-DS-oTq56.js} +1 -1
- package/es/{erDiagram-INFDFZHY-BA3m-v87.js → erDiagram-INFDFZHY-TwqnRnWa.js} +1 -1
- package/es/{flowDiagram-PKNHOUZH-BCq6k3kr.js → flowDiagram-PKNHOUZH-DOIW1Sy9.js} +1 -1
- package/es/{mermaid.core-Db1VE3-f.js → mermaid.core-Cdr_0as6.js} +11 -11
- package/es/{mindmap-definition-YRQLILUH-CYeqnCde.js → mindmap-definition-YRQLILUH-CtrmThyY.js} +1 -1
- package/es/{requirementDiagram-Z7DCOOCP-Cb_Ygnfe.js → requirementDiagram-Z7DCOOCP-DwsKf6TC.js} +1 -1
- package/es/{stateDiagram-RAJIS63D-boG6DyfW.js → stateDiagram-RAJIS63D-Bjd_66hy.js} +2 -2
- package/es/{stateDiagram-v2-FVOUBMTO-DHCajhrN.js → stateDiagram-v2-FVOUBMTO-BjIcGAyh.js} +2 -2
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
shiki_dist_themes_vitesse_dark_mjs = __toESM(shiki_dist_themes_vitesse_dark_mjs);
|
|
49
49
|
shiki_dist_themes_vitesse_light_mjs = __toESM(shiki_dist_themes_vitesse_light_mjs);
|
|
50
50
|
//#region package.json
|
|
51
|
-
var version = "1.1.2-beta.
|
|
51
|
+
var version = "1.1.2-beta.4";
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region components/x-provider/context.ts
|
|
54
54
|
var XProviderContextKey = Symbol("antdv-next-x-provider-context");
|
|
@@ -9163,6 +9163,7 @@
|
|
|
9163
9163
|
return window.SpeechRecognition || window.webkitSpeechRecognition || null;
|
|
9164
9164
|
};
|
|
9165
9165
|
const mergedAllowSpeech = (0, vue.computed)(() => !!(isControlled.value || getSpeechRecognition() && permissionState.value !== "denied"));
|
|
9166
|
+
const mergedRecording = (0, vue.computed)(() => isControlled.value ? !!speechConfig.value?.recording : recording.value);
|
|
9166
9167
|
const ensureRecognition = () => {
|
|
9167
9168
|
if (!mergedAllowSpeech.value || recognition) return;
|
|
9168
9169
|
const SpeechRecognitionCtor = getSpeechRecognition();
|
|
@@ -9183,15 +9184,17 @@
|
|
|
9183
9184
|
};
|
|
9184
9185
|
};
|
|
9185
9186
|
const triggerSpeech = (doForceBreak) => {
|
|
9186
|
-
|
|
9187
|
+
const currentRecording = mergedRecording.value;
|
|
9188
|
+
if (doForceBreak && !currentRecording) return;
|
|
9187
9189
|
forceBreak = doForceBreak;
|
|
9188
|
-
|
|
9189
|
-
|
|
9190
|
+
const config = speechConfig.value;
|
|
9191
|
+
if (typeof config?.recording === "boolean") {
|
|
9192
|
+
config.onRecordingChange(!config.recording);
|
|
9190
9193
|
return;
|
|
9191
9194
|
}
|
|
9192
9195
|
ensureRecognition();
|
|
9193
9196
|
if (!recognition) return;
|
|
9194
|
-
if (
|
|
9197
|
+
if (currentRecording) {
|
|
9195
9198
|
recognition.stop();
|
|
9196
9199
|
speechConfig.value?.onRecordingChange?.(false);
|
|
9197
9200
|
} else {
|
|
@@ -9202,7 +9205,7 @@
|
|
|
9202
9205
|
return [
|
|
9203
9206
|
mergedAllowSpeech,
|
|
9204
9207
|
triggerSpeech,
|
|
9205
|
-
|
|
9208
|
+
mergedRecording
|
|
9206
9209
|
];
|
|
9207
9210
|
}
|
|
9208
9211
|
//#endregion
|
package/dist/package.js
CHANGED
|
@@ -3,4 +3,4 @@ export type ControlledSpeechConfig = {
|
|
|
3
3
|
onRecordingChange: (recording: boolean) => void;
|
|
4
4
|
};
|
|
5
5
|
export type AllowSpeech = boolean | ControlledSpeechConfig;
|
|
6
|
-
export default function useSpeech(onSpeech: (transcript: string) => void, allowSpeech?: () => AllowSpeech | undefined): readonly [import('vue').ComputedRef<boolean>, (doForceBreak: boolean) => void, import('vue').
|
|
6
|
+
export default function useSpeech(onSpeech: (transcript: string) => void, allowSpeech?: () => AllowSpeech | undefined): readonly [import('vue').ComputedRef<boolean>, (doForceBreak: boolean) => void, import('vue').ComputedRef<boolean>];
|
|
@@ -32,6 +32,7 @@ function useSpeech(onSpeech, allowSpeech) {
|
|
|
32
32
|
return window.SpeechRecognition || window.webkitSpeechRecognition || null;
|
|
33
33
|
};
|
|
34
34
|
const mergedAllowSpeech = computed(() => !!(isControlled.value || getSpeechRecognition() && permissionState.value !== "denied"));
|
|
35
|
+
const mergedRecording = computed(() => isControlled.value ? !!speechConfig.value?.recording : recording.value);
|
|
35
36
|
const ensureRecognition = () => {
|
|
36
37
|
if (!mergedAllowSpeech.value || recognition) return;
|
|
37
38
|
const SpeechRecognitionCtor = getSpeechRecognition();
|
|
@@ -52,15 +53,17 @@ function useSpeech(onSpeech, allowSpeech) {
|
|
|
52
53
|
};
|
|
53
54
|
};
|
|
54
55
|
const triggerSpeech = (doForceBreak) => {
|
|
55
|
-
|
|
56
|
+
const currentRecording = mergedRecording.value;
|
|
57
|
+
if (doForceBreak && !currentRecording) return;
|
|
56
58
|
forceBreak = doForceBreak;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
const config = speechConfig.value;
|
|
60
|
+
if (typeof config?.recording === "boolean") {
|
|
61
|
+
config.onRecordingChange(!config.recording);
|
|
59
62
|
return;
|
|
60
63
|
}
|
|
61
64
|
ensureRecognition();
|
|
62
65
|
if (!recognition) return;
|
|
63
|
-
if (
|
|
66
|
+
if (currentRecording) {
|
|
64
67
|
recognition.stop();
|
|
65
68
|
speechConfig.value?.onRecordingChange?.(false);
|
|
66
69
|
} else {
|
|
@@ -71,7 +74,7 @@ function useSpeech(onSpeech, allowSpeech) {
|
|
|
71
74
|
return [
|
|
72
75
|
mergedAllowSpeech,
|
|
73
76
|
triggerSpeech,
|
|
74
|
-
|
|
77
|
+
mergedRecording
|
|
75
78
|
];
|
|
76
79
|
}
|
|
77
80
|
//#endregion
|
package/es/antdv-next-x.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunk-WQLz0Won.js";
|
|
|
2
2
|
import { S as t, _ as n, a as r, b as i, c as a, d as o, f as s, g as c, h as l, i as u, l as d, m as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y, v as b, x, y as S } from "./Serializer-y_SfSPKv.js";
|
|
3
3
|
import { Comment as C, Fragment as w, Teleport as T, Text as E, Transition as D, TransitionGroup as O, cloneVNode as k, computed as A, createTextVNode as j, createVNode as M, defineComponent as N, getCurrentInstance as P, getCurrentScope as F, h as I, inject as L, isVNode as R, markRaw as ee, mergeDefaults as z, mergeProps as B, nextTick as V, onBeforeMount as te, onBeforeUnmount as H, onBeforeUpdate as ne, onMounted as re, onScopeDispose as ie, onUnmounted as ae, onUpdated as oe, provide as U, reactive as se, ref as W, render as ce, resolveDynamicComponent as le, shallowReactive as ue, shallowRef as G, toRaw as de, toRef as fe, toRefs as pe, toValue as me, triggerRef as he, unref as ge, useAttrs as _e, useId as ve, useSlots as ye, vShow as be, watch as K, watchEffect as xe, withDirectives as Se } from "vue";
|
|
4
4
|
//#region package.json
|
|
5
|
-
var Ce = "1.1.2-beta.
|
|
5
|
+
var Ce = "1.1.2-beta.4", we = "anticon", Te = {}, Ee = [
|
|
6
6
|
"outlined",
|
|
7
7
|
"borderless",
|
|
8
8
|
"filled",
|
|
@@ -57933,7 +57933,7 @@ var sW = /* @__PURE__ */ N({
|
|
|
57933
57933
|
}
|
|
57934
57934
|
}, uW = null, dW = null, fW = null;
|
|
57935
57935
|
async function pW() {
|
|
57936
|
-
return uW || (dW ||= import("./mermaid.core-
|
|
57936
|
+
return uW || (dW ||= import("./mermaid.core-Cdr_0as6.js").then((e) => e.default).then((e) => (uW = e, fW &&= (e.initialize(fW), null), e)), dW);
|
|
57937
57937
|
}
|
|
57938
57938
|
function mW(e) {
|
|
57939
57939
|
if (fW = e, uW) {
|
|
@@ -59578,7 +59578,7 @@ function oG(e, t) {
|
|
|
59578
59578
|
}), H(() => {
|
|
59579
59579
|
c && (c.onchange = null);
|
|
59580
59580
|
});
|
|
59581
|
-
let l = () => typeof window > "u" ? null : window.SpeechRecognition || window.webkitSpeechRecognition || null, u = A(() => !!(s.value || l() && n.value !== "denied")), d = () => {
|
|
59581
|
+
let l = () => typeof window > "u" ? null : window.SpeechRecognition || window.webkitSpeechRecognition || null, u = A(() => !!(s.value || l() && n.value !== "denied")), d = A(() => s.value ? !!o.value?.recording : r.value), f = () => {
|
|
59582
59582
|
if (!u.value || i) return;
|
|
59583
59583
|
let t = l();
|
|
59584
59584
|
t && (i = new t(), i.onstart = () => {
|
|
@@ -59596,15 +59596,17 @@ function oG(e, t) {
|
|
|
59596
59596
|
return [
|
|
59597
59597
|
u,
|
|
59598
59598
|
(e) => {
|
|
59599
|
-
|
|
59600
|
-
|
|
59601
|
-
|
|
59602
|
-
|
|
59603
|
-
|
|
59604
|
-
|
|
59599
|
+
let t = d.value;
|
|
59600
|
+
if (e && !t) return;
|
|
59601
|
+
a = e;
|
|
59602
|
+
let n = o.value;
|
|
59603
|
+
if (typeof n?.recording == "boolean") {
|
|
59604
|
+
n.onRecordingChange(!n.recording);
|
|
59605
|
+
return;
|
|
59605
59606
|
}
|
|
59607
|
+
f(), i && (t ? (i.stop(), o.value?.onRecordingChange?.(!1)) : (i.start(), o.value?.onRecordingChange?.(!0)));
|
|
59606
59608
|
},
|
|
59607
|
-
|
|
59609
|
+
d
|
|
59608
59610
|
];
|
|
59609
59611
|
}
|
|
59610
59612
|
//#endregion
|
|
@@ -25,7 +25,7 @@ var f = {
|
|
|
25
25
|
loader: /* @__PURE__ */ t(async () => await import("./dagre-KLK3FWXG-CFC0naVr.js"), "loader")
|
|
26
26
|
}, ...[{
|
|
27
27
|
name: "cose-bilkent",
|
|
28
|
-
loader: /* @__PURE__ */ t(async () => await import("./cose-bilkent-S5V4N54A-
|
|
28
|
+
loader: /* @__PURE__ */ t(async () => await import("./cose-bilkent-S5V4N54A-DS-oTq56.js"), "loader")
|
|
29
29
|
}]]);
|
|
30
30
|
}, "registerDefaultLayoutLoaders"))();
|
|
31
31
|
var h = /* @__PURE__ */ t(async (e, t) => {
|
|
@@ -3,7 +3,7 @@ import { h as n, o as r } from "./chunk-GEFDOKGD-P7WhyrTU.js";
|
|
|
3
3
|
import { B as i, C as a, V as o, W as s, _ as c, a as l, b as u, s as d, v as f } from "./chunk-7R4GIKGN-DuTRhdsf.js";
|
|
4
4
|
import { t as p } from "./chunk-55IACEB6-OtyKJzCH.js";
|
|
5
5
|
import { t as m } from "./chunk-KX2RTZJC-pMHnNRQg.js";
|
|
6
|
-
import { r as h } from "./chunk-GLR3WWYH-
|
|
6
|
+
import { r as h } from "./chunk-GLR3WWYH-BBFkZWLy.js";
|
|
7
7
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-NQ4KR5QH.mjs
|
|
8
8
|
var g = (function() {
|
|
9
9
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -5,7 +5,7 @@ import { t as _ } from "./chunk-FMBD7UC4-C_uJ_JJA.js";
|
|
|
5
5
|
import { t as v } from "./chunk-JSJVCQXG-89HUGe9V.js";
|
|
6
6
|
import { t as y } from "./chunk-55IACEB6-OtyKJzCH.js";
|
|
7
7
|
import { t as b } from "./chunk-KX2RTZJC-pMHnNRQg.js";
|
|
8
|
-
import { r as x, t as S } from "./chunk-GLR3WWYH-
|
|
8
|
+
import { r as x, t as S } from "./chunk-GLR3WWYH-BBFkZWLy.js";
|
|
9
9
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-WL4C6EOR.mjs
|
|
10
10
|
var C = (function() {
|
|
11
11
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -11,8 +11,8 @@ import "./chunk-KX2RTZJC-pMHnNRQg.js";
|
|
|
11
11
|
import "./chunk-PQ6SQG4A-CQ9Csv7s.js";
|
|
12
12
|
import "./chunk-KYZI473N-DJmSs1gK.js";
|
|
13
13
|
import "./chunk-O4XLMI2P-e-ZzDQwg.js";
|
|
14
|
-
import "./chunk-GLR3WWYH-
|
|
15
|
-
import { i as t, n, r, t as i } from "./chunk-WL4C6EOR-
|
|
14
|
+
import "./chunk-GLR3WWYH-BBFkZWLy.js";
|
|
15
|
+
import { i as t, n, r, t as i } from "./chunk-WL4C6EOR-B6HgoDzQ.js";
|
|
16
16
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-VBA2DB6C.mjs
|
|
17
17
|
var a = {
|
|
18
18
|
parser: n,
|
|
@@ -11,8 +11,8 @@ import "./chunk-KX2RTZJC-pMHnNRQg.js";
|
|
|
11
11
|
import "./chunk-PQ6SQG4A-CQ9Csv7s.js";
|
|
12
12
|
import "./chunk-KYZI473N-DJmSs1gK.js";
|
|
13
13
|
import "./chunk-O4XLMI2P-e-ZzDQwg.js";
|
|
14
|
-
import "./chunk-GLR3WWYH-
|
|
15
|
-
import { i as t, n, r, t as i } from "./chunk-WL4C6EOR-
|
|
14
|
+
import "./chunk-GLR3WWYH-BBFkZWLy.js";
|
|
15
|
+
import { i as t, n, r, t as i } from "./chunk-WL4C6EOR-B6HgoDzQ.js";
|
|
16
16
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-RAHNMMFH.mjs
|
|
17
17
|
var a = {
|
|
18
18
|
parser: n,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as e, t } from "./chunk-WQLz0Won.js";
|
|
2
2
|
import { g as n, h as r, p as i } from "./src-BukXhifV.js";
|
|
3
3
|
import { t as a } from "./cytoscape.esm-BY3wHcbp.js";
|
|
4
|
-
//#region ../../node_modules/
|
|
4
|
+
//#region ../../node_modules/layout-base/layout-base.js
|
|
5
5
|
var o = /* @__PURE__ */ t(((e, t) => {
|
|
6
6
|
(function(n, r) {
|
|
7
7
|
typeof e == "object" && typeof t == "object" ? t.exports = r() : typeof define == "function" && define.amd ? define([], r) : typeof e == "object" ? e.layoutBase = r() : n.layoutBase = r();
|
|
@@ -10,7 +10,7 @@ import { t as _ } from "./chunk-KX2RTZJC-pMHnNRQg.js";
|
|
|
10
10
|
import "./chunk-PQ6SQG4A-CQ9Csv7s.js";
|
|
11
11
|
import "./chunk-KYZI473N-DJmSs1gK.js";
|
|
12
12
|
import "./chunk-O4XLMI2P-e-ZzDQwg.js";
|
|
13
|
-
import { r as v, t as y } from "./chunk-GLR3WWYH-
|
|
13
|
+
import { r as v, t as y } from "./chunk-GLR3WWYH-BBFkZWLy.js";
|
|
14
14
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-INFDFZHY.mjs
|
|
15
15
|
var b = (function() {
|
|
16
16
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -12,7 +12,7 @@ import { t as y } from "./chunk-KX2RTZJC-pMHnNRQg.js";
|
|
|
12
12
|
import "./chunk-PQ6SQG4A-CQ9Csv7s.js";
|
|
13
13
|
import { o as b } from "./chunk-KYZI473N-DJmSs1gK.js";
|
|
14
14
|
import "./chunk-O4XLMI2P-e-ZzDQwg.js";
|
|
15
|
-
import { r as x, t as S } from "./chunk-GLR3WWYH-
|
|
15
|
+
import { r as x, t as S } from "./chunk-GLR3WWYH-BBFkZWLy.js";
|
|
16
16
|
import { n as C, t as w } from "./chunk-XPW4576I-DgvoNZkW.js";
|
|
17
17
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-PKNHOUZH.mjs
|
|
18
18
|
var T = "flowchart-", E = class {
|
|
@@ -10,7 +10,7 @@ import "./chunk-YBOYWFTD-BUW4AzEX.js";
|
|
|
10
10
|
import "./chunk-PQ6SQG4A-CQ9Csv7s.js";
|
|
11
11
|
import "./chunk-KYZI473N-DJmSs1gK.js";
|
|
12
12
|
import "./chunk-O4XLMI2P-e-ZzDQwg.js";
|
|
13
|
-
import { n as pe } from "./chunk-GLR3WWYH-
|
|
13
|
+
import { n as pe } from "./chunk-GLR3WWYH-BBFkZWLy.js";
|
|
14
14
|
import { n as me, t as he } from "./chunk-XPW4576I-DgvoNZkW.js";
|
|
15
15
|
//#region ../../node_modules/mermaid/dist/mermaid.core.mjs
|
|
16
16
|
var O = "c4", ge = {
|
|
@@ -27,7 +27,7 @@ var O = "c4", ge = {
|
|
|
27
27
|
id: k,
|
|
28
28
|
detector: /* @__PURE__ */ a((e, t) => t?.flowchart?.defaultRenderer === "dagre-wrapper" || t?.flowchart?.defaultRenderer === "elk" ? !1 : /^\s*graph/.test(e), "detector"),
|
|
29
29
|
loader: /* @__PURE__ */ a(async () => {
|
|
30
|
-
let { diagram: e } = await import("./flowDiagram-PKNHOUZH-
|
|
30
|
+
let { diagram: e } = await import("./flowDiagram-PKNHOUZH-DOIW1Sy9.js");
|
|
31
31
|
return {
|
|
32
32
|
id: k,
|
|
33
33
|
diagram: e
|
|
@@ -37,7 +37,7 @@ var O = "c4", ge = {
|
|
|
37
37
|
id: A,
|
|
38
38
|
detector: /* @__PURE__ */ a((e, t) => t?.flowchart?.defaultRenderer === "dagre-d3" ? !1 : (t?.flowchart?.defaultRenderer === "elk" && (t.layout = "elk"), /^\s*graph/.test(e) && t?.flowchart?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(e)), "detector"),
|
|
39
39
|
loader: /* @__PURE__ */ a(async () => {
|
|
40
|
-
let { diagram: e } = await import("./flowDiagram-PKNHOUZH-
|
|
40
|
+
let { diagram: e } = await import("./flowDiagram-PKNHOUZH-DOIW1Sy9.js");
|
|
41
41
|
return {
|
|
42
42
|
id: A,
|
|
43
43
|
diagram: e
|
|
@@ -47,7 +47,7 @@ var O = "c4", ge = {
|
|
|
47
47
|
id: j,
|
|
48
48
|
detector: /* @__PURE__ */ a((e) => /^\s*erDiagram/.test(e), "detector"),
|
|
49
49
|
loader: /* @__PURE__ */ a(async () => {
|
|
50
|
-
let { diagram: e } = await import("./erDiagram-INFDFZHY-
|
|
50
|
+
let { diagram: e } = await import("./erDiagram-INFDFZHY-TwqnRnWa.js");
|
|
51
51
|
return {
|
|
52
52
|
id: j,
|
|
53
53
|
diagram: e
|
|
@@ -117,7 +117,7 @@ var O = "c4", ge = {
|
|
|
117
117
|
id: R,
|
|
118
118
|
detector: /* @__PURE__ */ a((e) => /^\s*requirement(Diagram)?/.test(e), "detector"),
|
|
119
119
|
loader: /* @__PURE__ */ a(async () => {
|
|
120
|
-
let { diagram: e } = await import("./requirementDiagram-Z7DCOOCP-
|
|
120
|
+
let { diagram: e } = await import("./requirementDiagram-Z7DCOOCP-DwsKf6TC.js");
|
|
121
121
|
return {
|
|
122
122
|
id: R,
|
|
123
123
|
diagram: e
|
|
@@ -137,7 +137,7 @@ var O = "c4", ge = {
|
|
|
137
137
|
id: B,
|
|
138
138
|
detector: /* @__PURE__ */ a((e, t) => t?.class?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(e), "detector"),
|
|
139
139
|
loader: /* @__PURE__ */ a(async () => {
|
|
140
|
-
let { diagram: e } = await import("./classDiagram-VBA2DB6C-
|
|
140
|
+
let { diagram: e } = await import("./classDiagram-VBA2DB6C-CqK9jdgh.js");
|
|
141
141
|
return {
|
|
142
142
|
id: B,
|
|
143
143
|
diagram: e
|
|
@@ -147,7 +147,7 @@ var O = "c4", ge = {
|
|
|
147
147
|
id: V,
|
|
148
148
|
detector: /* @__PURE__ */ a((e, t) => /^\s*classDiagram/.test(e) && t?.class?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(e), "detector"),
|
|
149
149
|
loader: /* @__PURE__ */ a(async () => {
|
|
150
|
-
let { diagram: e } = await import("./classDiagram-v2-RAHNMMFH-
|
|
150
|
+
let { diagram: e } = await import("./classDiagram-v2-RAHNMMFH-ZDIng8Gz.js");
|
|
151
151
|
return {
|
|
152
152
|
id: V,
|
|
153
153
|
diagram: e
|
|
@@ -157,7 +157,7 @@ var O = "c4", ge = {
|
|
|
157
157
|
id: H,
|
|
158
158
|
detector: /* @__PURE__ */ a((e, t) => t?.state?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(e), "detector"),
|
|
159
159
|
loader: /* @__PURE__ */ a(async () => {
|
|
160
|
-
let { diagram: e } = await import("./stateDiagram-RAJIS63D-
|
|
160
|
+
let { diagram: e } = await import("./stateDiagram-RAJIS63D-Bjd_66hy.js");
|
|
161
161
|
return {
|
|
162
162
|
id: H,
|
|
163
163
|
diagram: e
|
|
@@ -167,7 +167,7 @@ var O = "c4", ge = {
|
|
|
167
167
|
id: U,
|
|
168
168
|
detector: /* @__PURE__ */ a((e, t) => !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && t?.state?.defaultRenderer === "dagre-wrapper"), "detector"),
|
|
169
169
|
loader: /* @__PURE__ */ a(async () => {
|
|
170
|
-
let { diagram: e } = await import("./stateDiagram-v2-FVOUBMTO-
|
|
170
|
+
let { diagram: e } = await import("./stateDiagram-v2-FVOUBMTO-BjIcGAyh.js");
|
|
171
171
|
return {
|
|
172
172
|
id: U,
|
|
173
173
|
diagram: e
|
|
@@ -195,7 +195,7 @@ var O = "c4", ge = {
|
|
|
195
195
|
id: Le,
|
|
196
196
|
detector: /* @__PURE__ */ a((e, t = {}) => /^\s*flowchart-elk/.test(e) || /^\s*(flowchart|graph)/.test(e) && t?.flowchart?.defaultRenderer === "elk" ? (t.layout = "elk", !0) : !1, "detector"),
|
|
197
197
|
loader: /* @__PURE__ */ a(async () => {
|
|
198
|
-
let { diagram: e } = await import("./flowDiagram-PKNHOUZH-
|
|
198
|
+
let { diagram: e } = await import("./flowDiagram-PKNHOUZH-DOIW1Sy9.js");
|
|
199
199
|
return {
|
|
200
200
|
id: Le,
|
|
201
201
|
diagram: e
|
|
@@ -215,7 +215,7 @@ var O = "c4", ge = {
|
|
|
215
215
|
id: Ve,
|
|
216
216
|
detector: /* @__PURE__ */ a((e) => /^\s*mindmap/.test(e), "detector"),
|
|
217
217
|
loader: /* @__PURE__ */ a(async () => {
|
|
218
|
-
let { diagram: e } = await import("./mindmap-definition-YRQLILUH-
|
|
218
|
+
let { diagram: e } = await import("./mindmap-definition-YRQLILUH-CtrmThyY.js");
|
|
219
219
|
return {
|
|
220
220
|
id: Ve,
|
|
221
221
|
diagram: e
|
package/es/{mindmap-definition-YRQLILUH-CYeqnCde.js → mindmap-definition-YRQLILUH-CtrmThyY.js}
RENAMED
|
@@ -9,7 +9,7 @@ import { t as u } from "./chunk-KX2RTZJC-pMHnNRQg.js";
|
|
|
9
9
|
import "./chunk-PQ6SQG4A-CQ9Csv7s.js";
|
|
10
10
|
import "./chunk-KYZI473N-DJmSs1gK.js";
|
|
11
11
|
import "./chunk-O4XLMI2P-e-ZzDQwg.js";
|
|
12
|
-
import { r as d, t as f } from "./chunk-GLR3WWYH-
|
|
12
|
+
import { r as d, t as f } from "./chunk-GLR3WWYH-BBFkZWLy.js";
|
|
13
13
|
//#region ../../node_modules/uuid/dist/esm-browser/stringify.js
|
|
14
14
|
var p = [];
|
|
15
15
|
for (let e = 0; e < 256; ++e) p.push((e + 256).toString(16).slice(1));
|
package/es/{requirementDiagram-Z7DCOOCP-Cb_Ygnfe.js → requirementDiagram-Z7DCOOCP-DwsKf6TC.js}
RENAMED
|
@@ -9,7 +9,7 @@ import { t as p } from "./chunk-KX2RTZJC-pMHnNRQg.js";
|
|
|
9
9
|
import "./chunk-PQ6SQG4A-CQ9Csv7s.js";
|
|
10
10
|
import "./chunk-KYZI473N-DJmSs1gK.js";
|
|
11
11
|
import "./chunk-O4XLMI2P-e-ZzDQwg.js";
|
|
12
|
-
import { r as m, t as h } from "./chunk-GLR3WWYH-
|
|
12
|
+
import { r as m, t as h } from "./chunk-GLR3WWYH-BBFkZWLy.js";
|
|
13
13
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-Z7DCOOCP.mjs
|
|
14
14
|
var g = (function() {
|
|
15
15
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -12,8 +12,8 @@ import "./chunk-KX2RTZJC-pMHnNRQg.js";
|
|
|
12
12
|
import "./chunk-PQ6SQG4A-CQ9Csv7s.js";
|
|
13
13
|
import "./chunk-KYZI473N-DJmSs1gK.js";
|
|
14
14
|
import "./chunk-O4XLMI2P-e-ZzDQwg.js";
|
|
15
|
-
import "./chunk-GLR3WWYH-
|
|
16
|
-
import { i as f, n as p, t as m } from "./chunk-NQ4KR5QH-
|
|
15
|
+
import "./chunk-GLR3WWYH-BBFkZWLy.js";
|
|
16
|
+
import { i as f, n as p, t as m } from "./chunk-NQ4KR5QH-I7cFzfZu.js";
|
|
17
17
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-RAJIS63D.mjs
|
|
18
18
|
var h = /* @__PURE__ */ t((e) => e.append("circle").attr("class", "start-state").attr("r", c().state.sizeUnit).attr("cx", c().state.padding + c().state.sizeUnit).attr("cy", c().state.padding + c().state.sizeUnit), "drawStartState"), g = /* @__PURE__ */ t((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", c().state.textHeight).attr("class", "divider").attr("x2", c().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), _ = /* @__PURE__ */ t((e, t) => {
|
|
19
19
|
let n = e.append("text").attr("x", 2 * c().state.padding).attr("y", c().state.textHeight + 2 * c().state.padding).attr("font-size", c().state.fontSize).attr("class", "state-title").text(t.id), r = n.node().getBBox();
|
|
@@ -9,8 +9,8 @@ import "./chunk-KX2RTZJC-pMHnNRQg.js";
|
|
|
9
9
|
import "./chunk-PQ6SQG4A-CQ9Csv7s.js";
|
|
10
10
|
import "./chunk-KYZI473N-DJmSs1gK.js";
|
|
11
11
|
import "./chunk-O4XLMI2P-e-ZzDQwg.js";
|
|
12
|
-
import "./chunk-GLR3WWYH-
|
|
13
|
-
import { i as t, n, r, t as i } from "./chunk-NQ4KR5QH-
|
|
12
|
+
import "./chunk-GLR3WWYH-BBFkZWLy.js";
|
|
13
|
+
import { i as t, n, r, t as i } from "./chunk-NQ4KR5QH-I7cFzfZu.js";
|
|
14
14
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-FVOUBMTO.mjs
|
|
15
15
|
var a = {
|
|
16
16
|
parser: n,
|