@altimateai/ui-components 0.0.64 → 0.0.66-beta1
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/CoachForm.js +9784 -9698
- package/dist/Stack.js +10 -10
- package/dist/ToggleGroup.js +8549 -0
- package/dist/_basePickBy.js +25 -25
- package/dist/_baseUniq.js +57 -57
- package/dist/arc.js +34 -34
- package/dist/architectureDiagram-VXUJARFQ.js +1 -1
- package/dist/assets/icons/index.js +1 -1
- package/dist/blockDiagram-VD42YOAC.js +1 -1
- package/dist/c4Diagram-YG6GDRKO.js +1 -1
- package/dist/channel.js +3 -3
- package/dist/chatbotV2/index.d.ts +30 -13
- package/dist/chatbotV2/index.js +47 -45
- package/dist/chunk-4BX2VUAB.js +1 -1
- package/dist/chunk-55IACEB6.js +2 -2
- package/dist/chunk-B4BG7PRW.js +13 -13
- package/dist/chunk-DI55MBZ5.js +1 -1
- package/dist/chunk-FMBD7UC4.js +1 -1
- package/dist/chunk-QN33PNHL.js +6 -6
- package/dist/chunk-QZHKN3VN.js +1 -1
- package/dist/chunk-TZMSLE5B.js +1 -1
- package/dist/classDiagram-2ON5EDUG.js +1 -1
- package/dist/classDiagram-v2-WZHVMYZB.js +1 -1
- package/dist/cose-bilkent-S5V4N54A.js +1 -1
- package/dist/dagre-6UL2VRFP.js +17 -17
- package/dist/diagram-PSM6KHXK.js +35 -35
- package/dist/diagram-QEK2KX5R.js +10 -10
- package/dist/diagram-S2PKOQOG.js +2 -2
- package/dist/erDiagram-Q2GNP2WA.js +15 -15
- package/dist/flowDiagram-NV44I4VS.js +1 -1
- package/dist/ganttDiagram-LVOFAZNH.js +1 -1
- package/dist/gitGraphDiagram-NY62KEGX.js +1 -1
- package/dist/graph.js +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.js +6 -6
- package/dist/index2.js +22 -22
- package/dist/infoDiagram-F6ZHWCRC.js +7 -7
- package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
- package/dist/kanban-definition-3W4ZIXB7.js +19 -19
- package/dist/layout.js +20 -20
- package/dist/lineage/index.js +608 -615
- package/dist/main.js +3 -3
- package/dist/mermaid-parser.core.js +1 -1
- package/dist/mindmap-definition-VGOIOE7T.js +17 -17
- package/dist/pieDiagram-ADFJNKIX.js +4 -4
- package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
- package/dist/redux-toolkit.modern.js +483 -476
- package/dist/requirementDiagram-UZGBJVZJ.js +76 -76
- package/dist/sankeyDiagram-TZEHDZUN.js +22 -22
- package/dist/sequenceDiagram-WL72ISMW.js +1 -1
- package/dist/shadcn/index.d.ts +46 -2
- package/dist/shadcn/index.js +3617 -2880
- package/dist/stateDiagram-FKZM4ZOC.js +28 -28
- package/dist/stateDiagram-v2-4FDKWEC3.js +4 -4
- package/dist/storybook/Carousel.stories.tsx +274 -0
- package/dist/storybook/TagsInput.stories.tsx +34 -1
- package/dist/storybook/Toggle.stories.tsx +106 -0
- package/dist/storybook/ToggleGroup.stories.tsx +178 -0
- package/dist/timeline-definition-IT6M3QCI.js +12 -12
- package/dist/{types-B4_bdpWO.d.ts → types-N2nctlGV.d.ts} +18 -5
- package/dist/xychartDiagram-PRI3JC2R.js +11 -11
- package/package.json +1 -1
- package/dist/TagsInput.js +0 -6956
- package/dist/index2.css +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React__default, { FC } from 'react';
|
|
2
|
-
import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, n as ContextOption, I as InteractionRequest, o as ChatMessage, p as AgentAction, q as ChatResponse, F as Feedback, r as LoadingState, s as ChatSession, i as Citation, t as TodoItem, M as MessageAttachment, D as DetectedEntity, E as EntityType, u as AgentStreamResponse, S as SessionStatusEnum } from '../types-
|
|
3
|
-
export { v as AssistantMeta, x as ChatbotUrls, y as Datamate, z as EntityDetectionRequest, B as EntityDetectionResponse, w as FileUploadProps, R as FinalResponseData, J as InteractionChoice, H as InteractionType, G as Mode, Q as ProgressUpdate, O as ToolUsageData, U as UploadedFile, V as agentStreamResponseSchema, K as sessionStatusSchema, N as todoItemSchema } from '../types-
|
|
1
|
+
import React__default, { FC, ReactNode } from 'react';
|
|
2
|
+
import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, n as ContextOption, I as InteractionRequest, o as ChatMessage, p as AgentAction, q as ChatResponse, F as Feedback, r as LoadingState, s as ChatSession, i as Citation, t as TodoItem, M as MessageAttachment, D as DetectedEntity, E as EntityType, u as AgentStreamResponse, S as SessionStatusEnum } from '../types-N2nctlGV.js';
|
|
3
|
+
export { v as AssistantMeta, x as ChatbotUrls, y as Datamate, z as EntityDetectionRequest, B as EntityDetectionResponse, w as FileUploadProps, R as FinalResponseData, J as InteractionChoice, H as InteractionType, G as Mode, Q as ProgressUpdate, O as ToolUsageData, U as UploadedFile, V as agentStreamResponseSchema, K as sessionStatusSchema, N as todoItemSchema } from '../types-N2nctlGV.js';
|
|
4
4
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
5
5
|
import { UnknownAction } from '@reduxjs/toolkit';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -13,6 +13,7 @@ interface ChatContextType extends ChatState {
|
|
|
13
13
|
}
|
|
14
14
|
interface ChatProviderRef {
|
|
15
15
|
resetSession: () => void;
|
|
16
|
+
setUserInput: (text: string) => void;
|
|
16
17
|
}
|
|
17
18
|
declare const useChatContext: () => ChatContextType;
|
|
18
19
|
declare const ChatProvider: React__default.ForwardRefExoticComponent<ChatbotProviderProps & React__default.RefAttributes<ChatProviderRef>>;
|
|
@@ -32,15 +33,28 @@ interface ContextPanelProps {
|
|
|
32
33
|
contextFieldKey: string;
|
|
33
34
|
};
|
|
34
35
|
contextOptions?: ContextOption[];
|
|
36
|
+
children?: ReactNode[];
|
|
35
37
|
}
|
|
36
|
-
declare const ContextPanel:
|
|
38
|
+
declare const ContextPanel: FC<ContextPanelProps>;
|
|
37
39
|
|
|
38
|
-
interface
|
|
40
|
+
interface ChatMessageEndActionsProps {
|
|
39
41
|
messageId: string;
|
|
40
42
|
messageContent?: string;
|
|
41
43
|
sessionId?: string;
|
|
42
44
|
}
|
|
43
|
-
declare const
|
|
45
|
+
declare const ChatMessageEndActions: FC<ChatMessageEndActionsProps>;
|
|
46
|
+
|
|
47
|
+
interface MessageMenuProps {
|
|
48
|
+
messageId: string;
|
|
49
|
+
content: string;
|
|
50
|
+
}
|
|
51
|
+
declare const ChatLastMessageActions: FC<MessageMenuProps>;
|
|
52
|
+
|
|
53
|
+
interface ChatFeedbackActionsProps {
|
|
54
|
+
messageId: string;
|
|
55
|
+
children?: ReactNode;
|
|
56
|
+
}
|
|
57
|
+
declare const ChatFeedbackActions: FC<ChatFeedbackActionsProps>;
|
|
44
58
|
|
|
45
59
|
interface InteractionPromptProps {
|
|
46
60
|
interaction: InteractionRequest;
|
|
@@ -52,20 +66,19 @@ declare const LoadingIndicator: FC;
|
|
|
52
66
|
interface MessageItemProps {
|
|
53
67
|
message: ChatMessage;
|
|
54
68
|
isLastMessage?: boolean;
|
|
69
|
+
isFirstMessage?: boolean;
|
|
70
|
+
handleSavePrompt?: (message: ChatMessage) => void;
|
|
71
|
+
showSavePromptButton?: boolean;
|
|
55
72
|
}
|
|
56
73
|
declare const MessageItem: FC<MessageItemProps>;
|
|
57
74
|
|
|
58
75
|
interface MessageListProps {
|
|
59
76
|
messages: ChatMessage[];
|
|
77
|
+
handleSavePrompt?: (message: ChatMessage) => void;
|
|
78
|
+
showSavePromptButton?: boolean;
|
|
60
79
|
}
|
|
61
80
|
declare const MessageList: FC<MessageListProps>;
|
|
62
81
|
|
|
63
|
-
interface MessageMenuProps {
|
|
64
|
-
messageId: string;
|
|
65
|
-
content: string;
|
|
66
|
-
}
|
|
67
|
-
declare const MessageMenu: FC<MessageMenuProps>;
|
|
68
|
-
|
|
69
82
|
interface QuestionFormProps {
|
|
70
83
|
onSubmit: (message: string) => Promise<void>;
|
|
71
84
|
isLoading: boolean;
|
|
@@ -190,6 +203,10 @@ declare const updateEntities: _reduxjs_toolkit.ActionCreatorWithPayload<UpdateEn
|
|
|
190
203
|
declare const updateEntityType: _reduxjs_toolkit.ActionCreatorWithPayload<UpdateEntityTypePayload, "chat/updateEntityType">;
|
|
191
204
|
declare const setSessions: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, ChatSession>, "chat/setSessions">;
|
|
192
205
|
declare const resetSession: _reduxjs_toolkit.ActionCreatorWithoutPayload<"chat/resetSession">;
|
|
206
|
+
declare const setUserInput: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
207
|
+
sessionId: string;
|
|
208
|
+
userInput: string;
|
|
209
|
+
}, "chat/setUserInput">;
|
|
193
210
|
|
|
194
211
|
interface StreamProcessorCallbacks {
|
|
195
212
|
onAction?: (action: AgentAction) => void;
|
|
@@ -288,4 +305,4 @@ declare const Citations: ({ citations, frontEndUrl, }: {
|
|
|
288
305
|
frontEndUrl: string;
|
|
289
306
|
}) => JSX.Element | null;
|
|
290
307
|
|
|
291
|
-
export { AgentAction, AgentStreamResponse, Artifact, Artifacts, CancelGenerationButton, ChatMessage, ChatProvider, ChatResponse, ChatSession, ChatState, ChatTriggerLink, ChatbotProps, ChatbotProviderProps, Chatbot as ChatbotV2, Citations, CoachAI, ContextOption, ContextPanel, DetectedEntity, EntityType, Feedback,
|
|
308
|
+
export { AgentAction, AgentStreamResponse, Artifact, Artifacts, CancelGenerationButton, ChatFeedbackActions, ChatLastMessageActions, ChatMessage, ChatMessageEndActions, ChatProvider, ChatResponse, ChatSession, ChatState, ChatTriggerLink, ChatbotProps, ChatbotProviderProps, Chatbot as ChatbotV2, Citations, CoachAI, ContextOption, ContextPanel, DetectedEntity, EntityType, Feedback, InteractionPrompt, InteractionRequest, LoadingIndicator, LoadingState, MessageAttachment, MessageItem, MessageList, QuestionForm, RegenerateButton, SessionStatusEnum, StatusUpdates, TodoItem, addAction, addMessage, clearActions, clearContext, clearHistory, clearTodos, createSession, deleteMessage, initialState, processAgentMessageContent, processAgentStream, processExistingConversation, processPlaygroundSessionTurns, resetSession, sendMessageAndProcessStream, setAbortController, setCurrentSession, setError, setLoadingState, setSelectedModel, setSessions, setTodos, setUserInput, streamResponseToAgentMessages, updateContext, updateDatamateInSession, updateEntities, updateEntityType, updateMessageFeedback, updateMode, useAgentChat, useChatContext };
|
package/dist/chatbotV2/index.js
CHANGED
|
@@ -1,56 +1,58 @@
|
|
|
1
|
-
import { A as e, b as t,
|
|
1
|
+
import { A as e, b as t, g as o, f as n, e as r, a as i, i as d, C as c, o as g, c as C, d as p, E as S, I as u, L as l, q as m, M as A, h, Q as M, R as I, S as T, N as x, B as y, v as E, O as L, V as P, F as b, T as k, x as F, G as R, w as f, m as v, p as B, l as U, n as D, $ as G, s as H, r as Q, K as V, z as j, J as q, H as w, y as z, _ as J, P as K, a0 as N, k as O, t as W, U as X, X as Y, Y as Z, Z as _, D as $, W as ss, j as as, u as es } from "../CoachForm.js";
|
|
2
2
|
export {
|
|
3
3
|
e as Artifacts,
|
|
4
4
|
t as CancelGenerationButton,
|
|
5
|
-
o as
|
|
6
|
-
n as
|
|
7
|
-
r as
|
|
8
|
-
i as
|
|
9
|
-
d as
|
|
10
|
-
c as
|
|
11
|
-
g as
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
l as
|
|
17
|
-
m as
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
5
|
+
o as ChatFeedbackActions,
|
|
6
|
+
n as ChatLastMessageActions,
|
|
7
|
+
r as ChatMessageEndActions,
|
|
8
|
+
i as ChatProvider,
|
|
9
|
+
d as ChatTriggerLink,
|
|
10
|
+
c as ChatbotV2,
|
|
11
|
+
g as Citations,
|
|
12
|
+
C as CoachAI,
|
|
13
|
+
p as ContextPanel,
|
|
14
|
+
S as EntityType,
|
|
15
|
+
u as InteractionPrompt,
|
|
16
|
+
l as LoadingIndicator,
|
|
17
|
+
m as LoadingState,
|
|
18
|
+
A as MessageItem,
|
|
19
|
+
h as MessageList,
|
|
20
|
+
M as QuestionForm,
|
|
21
|
+
I as RegenerateButton,
|
|
21
22
|
T as StatusUpdates,
|
|
22
23
|
x as addAction,
|
|
23
24
|
y as addMessage,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
E as agentStreamResponseSchema,
|
|
26
|
+
L as clearActions,
|
|
27
|
+
P as clearContext,
|
|
28
|
+
b as clearHistory,
|
|
29
|
+
k as clearTodos,
|
|
30
|
+
F as createSession,
|
|
31
|
+
R as deleteMessage,
|
|
32
|
+
f as initialState,
|
|
33
|
+
v as processAgentMessageContent,
|
|
34
|
+
B as processAgentStream,
|
|
35
|
+
U as processExistingConversation,
|
|
35
36
|
D as processPlaygroundSessionTurns,
|
|
36
37
|
G as resetSession,
|
|
37
38
|
H as sendMessageAndProcessStream,
|
|
38
39
|
Q as sessionStatusSchema,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
40
|
+
V as setAbortController,
|
|
41
|
+
j as setCurrentSession,
|
|
42
|
+
q as setError,
|
|
43
|
+
w as setLoadingState,
|
|
44
|
+
z as setSelectedModel,
|
|
45
|
+
J as setSessions,
|
|
46
|
+
K as setTodos,
|
|
47
|
+
N as setUserInput,
|
|
48
|
+
O as streamResponseToAgentMessages,
|
|
49
|
+
W as todoItemSchema,
|
|
50
|
+
X as updateContext,
|
|
51
|
+
Y as updateDatamateInSession,
|
|
52
|
+
Z as updateEntities,
|
|
53
|
+
_ as updateEntityType,
|
|
54
|
+
$ as updateMessageFeedback,
|
|
55
|
+
ss as updateMode,
|
|
56
|
+
as as useAgentChat,
|
|
57
|
+
es as useChatContext
|
|
56
58
|
};
|
package/dist/chunk-4BX2VUAB.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a1 as l } from "./CoachForm.js";
|
|
2
2
|
function m(e, c) {
|
|
3
3
|
var i, t, o;
|
|
4
4
|
e.accDescr && ((i = c.setAccDescription) == null || i.call(c, e.accDescr)), e.accTitle && ((t = c.setAccTitle) == null || t.call(c, e.accTitle)), e.title && ((o = c.setDiagramTitle) == null || o.call(c, e.title));
|
package/dist/chunk-55IACEB6.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a1 as a } from "./CoachForm.js";
|
|
2
2
|
import { s as o } from "./redux-toolkit.modern.js";
|
|
3
|
-
var d = /* @__PURE__ */
|
|
3
|
+
var d = /* @__PURE__ */ a((t, e) => {
|
|
4
4
|
let n;
|
|
5
5
|
return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`);
|
|
6
6
|
}, "getDiagramElement");
|
package/dist/chunk-B4BG7PRW.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { g as et } from "./chunk-FMBD7UC4.js";
|
|
2
2
|
import { g as tt } from "./chunk-55IACEB6.js";
|
|
3
3
|
import { s as st } from "./chunk-QN33PNHL.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a1 as f, ac as it, a7 as F, aI as R, a3 as at, a4 as nt, a6 as rt, a5 as ut, ag as lt, ah as ot, a9 as v, an as ct, ad as Oe, am as we, al as ht, aq as dt, ar as pt } from "./CoachForm.js";
|
|
5
5
|
import { s as ee } from "./redux-toolkit.modern.js";
|
|
6
6
|
var Ve = function() {
|
|
7
7
|
var s = /* @__PURE__ */ f(function(I, o, h, p) {
|
|
8
8
|
for (h = h || {}, p = I.length; p--; h[I[p]] = o) ;
|
|
9
9
|
return h;
|
|
10
|
-
}, "o"), i = [1, 18], a = [1, 19], u = [1, 20], l = [1, 41], r = [1, 42], c = [1, 26], A = [1, 24], g = [1, 25], D = [1, 32], L = [1, 33], Ae = [1, 34], C = [1, 45], fe = [1, 35], ge = [1, 36], me = [1, 37], Ce = [1, 38], be = [1, 27], Ee = [1, 28], ye = [1, 29], Te = [1, 30], ke = [1, 31], b = [1, 44], E = [1, 46], y = [1, 43], T = [1, 47], De = [1, 9], d = [1, 8, 9], te = [1, 58], se = [1, 59], ie = [1, 60], ae = [1, 61], ne = [1, 62], Fe = [1, 63], Be = [1, 64], z = [1, 8, 9, 41], Pe = [1, 76], P = [1, 8, 9, 12, 13, 22, 39, 41, 44, 68, 69, 70, 71, 72, 73, 74, 79, 81], re = [1, 8, 9, 12, 13, 18, 20, 22, 39, 41, 44, 50, 60, 68, 69, 70, 71, 72, 73, 74, 79, 81, 86, 100, 102, 103], ue = [13, 60, 86, 100, 102, 103], K = [13, 60, 73, 74, 86, 100, 102, 103], Me = [13, 60, 68, 69, 70, 71, 72, 86, 100, 102, 103], _e = [1, 100], Y = [1, 117],
|
|
10
|
+
}, "o"), i = [1, 18], a = [1, 19], u = [1, 20], l = [1, 41], r = [1, 42], c = [1, 26], A = [1, 24], g = [1, 25], D = [1, 32], L = [1, 33], Ae = [1, 34], C = [1, 45], fe = [1, 35], ge = [1, 36], me = [1, 37], Ce = [1, 38], be = [1, 27], Ee = [1, 28], ye = [1, 29], Te = [1, 30], ke = [1, 31], b = [1, 44], E = [1, 46], y = [1, 43], T = [1, 47], De = [1, 9], d = [1, 8, 9], te = [1, 58], se = [1, 59], ie = [1, 60], ae = [1, 61], ne = [1, 62], Fe = [1, 63], Be = [1, 64], z = [1, 8, 9, 41], Pe = [1, 76], P = [1, 8, 9, 12, 13, 22, 39, 41, 44, 68, 69, 70, 71, 72, 73, 74, 79, 81], re = [1, 8, 9, 12, 13, 18, 20, 22, 39, 41, 44, 50, 60, 68, 69, 70, 71, 72, 73, 74, 79, 81, 86, 100, 102, 103], ue = [13, 60, 86, 100, 102, 103], K = [13, 60, 73, 74, 86, 100, 102, 103], Me = [13, 60, 68, 69, 70, 71, 72, 86, 100, 102, 103], _e = [1, 100], Y = [1, 117], Q = [1, 113], W = [1, 109], j = [1, 115], X = [1, 110], q = [1, 111], H = [1, 112], J = [1, 114], Z = [1, 116], Re = [22, 48, 60, 61, 82, 86, 87, 88, 89, 90], Se = [1, 8, 9, 39, 41, 44], le = [1, 8, 9, 22], Ge = [1, 145], Ue = [1, 8, 9, 61], N = [1, 8, 9, 22, 48, 60, 61, 82, 86, 87, 88, 89, 90], Ne = {
|
|
11
11
|
trace: /* @__PURE__ */ f(function() {
|
|
12
12
|
}, "trace"),
|
|
13
13
|
yy: {},
|
|
@@ -227,7 +227,7 @@ var Ve = function() {
|
|
|
227
227
|
break;
|
|
228
228
|
}
|
|
229
229
|
}, "anonymous"),
|
|
230
|
-
table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: u, 38: 22, 42: l, 43: 23, 46: r, 49: c, 51: A, 52: g, 54: D, 56: L, 57: Ae, 60: C, 62: fe, 63: ge, 64: me, 65: Ce, 75: be, 76: Ee, 78: ye, 82: Te, 83: ke, 86: b, 100: E, 102: y, 103: T }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, s(De, [2, 5], { 8: [1, 48] }), { 8: [1, 49] }, s(d, [2, 19], { 22: [1, 50] }), s(d, [2, 21]), s(d, [2, 22]), s(d, [2, 23]), s(d, [2, 24]), s(d, [2, 25]), s(d, [2, 26]), s(d, [2, 27]), s(d, [2, 28]), s(d, [2, 29]), s(d, [2, 30]), { 34: [1, 51] }, { 36: [1, 52] }, s(d, [2, 33]), s(d, [2, 53], { 53: 53, 66: 56, 67: 57, 13: [1, 54], 22: [1, 55], 68: te, 69: se, 70: ie, 71: ae, 72: ne, 73: Fe, 74: Be }), { 39: [1, 65] }, s(z, [2, 40], { 39: [1, 67], 44: [1, 66] }), s(d, [2, 55]), s(d, [2, 56]), { 16: 68, 60: C, 86: b, 100: E, 102: y }, { 16: 39, 17: 40, 19: 69, 60: C, 86: b, 100: E, 102: y, 103: T }, { 16: 39, 17: 40, 19: 70, 60: C, 86: b, 100: E, 102: y, 103: T }, { 16: 39, 17: 40, 19: 71, 60: C, 86: b, 100: E, 102: y, 103: T }, { 60: [1, 72] }, { 13: [1, 73] }, { 16: 39, 17: 40, 19: 74, 60: C, 86: b, 100: E, 102: y, 103: T }, { 13: Pe, 55: 75 }, { 58: 77, 60: [1, 78] }, s(d, [2, 66]), s(d, [2, 67]), s(d, [2, 68]), s(d, [2, 69]), s(P, [2, 13], { 16: 39, 17: 40, 19: 80, 18: [1, 79], 20: [1, 81], 60: C, 86: b, 100: E, 102: y, 103: T }), s(P, [2, 15], { 20: [1, 82] }), { 15: 83, 16: 84, 17: 85, 60: C, 86: b, 100: E, 102: y, 103: T }, { 16: 39, 17: 40, 19: 86, 60: C, 86: b, 100: E, 102: y, 103: T }, s(re, [2, 123]), s(re, [2, 124]), s(re, [2, 125]), s(re, [2, 126]), s([1, 8, 9, 12, 13, 20, 22, 39, 41, 44, 68, 69, 70, 71, 72, 73, 74, 79, 81], [2, 127]), s(De, [2, 6], { 10: 5, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 19: 21, 38: 22, 43: 23, 16: 39, 17: 40, 5: 87, 33: i, 35: a, 37: u, 42: l, 46: r, 49: c, 51: A, 52: g, 54: D, 56: L, 57: Ae, 60: C, 62: fe, 63: ge, 64: me, 65: Ce, 75: be, 76: Ee, 78: ye, 82: Te, 83: ke, 86: b, 100: E, 102: y, 103: T }), { 5: 88, 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: u, 38: 22, 42: l, 43: 23, 46: r, 49: c, 51: A, 52: g, 54: D, 56: L, 57: Ae, 60: C, 62: fe, 63: ge, 64: me, 65: Ce, 75: be, 76: Ee, 78: ye, 82: Te, 83: ke, 86: b, 100: E, 102: y, 103: T }, s(d, [2, 20]), s(d, [2, 31]), s(d, [2, 32]), { 13: [1, 90], 16: 39, 17: 40, 19: 89, 60: C, 86: b, 100: E, 102: y, 103: T }, { 53: 91, 66: 56, 67: 57, 68: te, 69: se, 70: ie, 71: ae, 72: ne, 73: Fe, 74: Be }, s(d, [2, 54]), { 67: 92, 73: Fe, 74: Be }, s(ue, [2, 73], { 66: 93, 68: te, 69: se, 70: ie, 71: ae, 72: ne }), s(K, [2, 74]), s(K, [2, 75]), s(K, [2, 76]), s(K, [2, 77]), s(K, [2, 78]), s(Me, [2, 79]), s(Me, [2, 80]), { 8: [1, 95], 24: 96, 40: 94, 43: 23, 46: r }, { 16: 97, 60: C, 86: b, 100: E, 102: y }, { 41: [1, 99], 45: 98, 51: _e }, { 50: [1, 101] }, { 13: [1, 102] }, { 13: [1, 103] }, { 79: [1, 104], 81: [1, 105] }, { 22: Y, 48:
|
|
230
|
+
table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: u, 38: 22, 42: l, 43: 23, 46: r, 49: c, 51: A, 52: g, 54: D, 56: L, 57: Ae, 60: C, 62: fe, 63: ge, 64: me, 65: Ce, 75: be, 76: Ee, 78: ye, 82: Te, 83: ke, 86: b, 100: E, 102: y, 103: T }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, s(De, [2, 5], { 8: [1, 48] }), { 8: [1, 49] }, s(d, [2, 19], { 22: [1, 50] }), s(d, [2, 21]), s(d, [2, 22]), s(d, [2, 23]), s(d, [2, 24]), s(d, [2, 25]), s(d, [2, 26]), s(d, [2, 27]), s(d, [2, 28]), s(d, [2, 29]), s(d, [2, 30]), { 34: [1, 51] }, { 36: [1, 52] }, s(d, [2, 33]), s(d, [2, 53], { 53: 53, 66: 56, 67: 57, 13: [1, 54], 22: [1, 55], 68: te, 69: se, 70: ie, 71: ae, 72: ne, 73: Fe, 74: Be }), { 39: [1, 65] }, s(z, [2, 40], { 39: [1, 67], 44: [1, 66] }), s(d, [2, 55]), s(d, [2, 56]), { 16: 68, 60: C, 86: b, 100: E, 102: y }, { 16: 39, 17: 40, 19: 69, 60: C, 86: b, 100: E, 102: y, 103: T }, { 16: 39, 17: 40, 19: 70, 60: C, 86: b, 100: E, 102: y, 103: T }, { 16: 39, 17: 40, 19: 71, 60: C, 86: b, 100: E, 102: y, 103: T }, { 60: [1, 72] }, { 13: [1, 73] }, { 16: 39, 17: 40, 19: 74, 60: C, 86: b, 100: E, 102: y, 103: T }, { 13: Pe, 55: 75 }, { 58: 77, 60: [1, 78] }, s(d, [2, 66]), s(d, [2, 67]), s(d, [2, 68]), s(d, [2, 69]), s(P, [2, 13], { 16: 39, 17: 40, 19: 80, 18: [1, 79], 20: [1, 81], 60: C, 86: b, 100: E, 102: y, 103: T }), s(P, [2, 15], { 20: [1, 82] }), { 15: 83, 16: 84, 17: 85, 60: C, 86: b, 100: E, 102: y, 103: T }, { 16: 39, 17: 40, 19: 86, 60: C, 86: b, 100: E, 102: y, 103: T }, s(re, [2, 123]), s(re, [2, 124]), s(re, [2, 125]), s(re, [2, 126]), s([1, 8, 9, 12, 13, 20, 22, 39, 41, 44, 68, 69, 70, 71, 72, 73, 74, 79, 81], [2, 127]), s(De, [2, 6], { 10: 5, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 19: 21, 38: 22, 43: 23, 16: 39, 17: 40, 5: 87, 33: i, 35: a, 37: u, 42: l, 46: r, 49: c, 51: A, 52: g, 54: D, 56: L, 57: Ae, 60: C, 62: fe, 63: ge, 64: me, 65: Ce, 75: be, 76: Ee, 78: ye, 82: Te, 83: ke, 86: b, 100: E, 102: y, 103: T }), { 5: 88, 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: u, 38: 22, 42: l, 43: 23, 46: r, 49: c, 51: A, 52: g, 54: D, 56: L, 57: Ae, 60: C, 62: fe, 63: ge, 64: me, 65: Ce, 75: be, 76: Ee, 78: ye, 82: Te, 83: ke, 86: b, 100: E, 102: y, 103: T }, s(d, [2, 20]), s(d, [2, 31]), s(d, [2, 32]), { 13: [1, 90], 16: 39, 17: 40, 19: 89, 60: C, 86: b, 100: E, 102: y, 103: T }, { 53: 91, 66: 56, 67: 57, 68: te, 69: se, 70: ie, 71: ae, 72: ne, 73: Fe, 74: Be }, s(d, [2, 54]), { 67: 92, 73: Fe, 74: Be }, s(ue, [2, 73], { 66: 93, 68: te, 69: se, 70: ie, 71: ae, 72: ne }), s(K, [2, 74]), s(K, [2, 75]), s(K, [2, 76]), s(K, [2, 77]), s(K, [2, 78]), s(Me, [2, 79]), s(Me, [2, 80]), { 8: [1, 95], 24: 96, 40: 94, 43: 23, 46: r }, { 16: 97, 60: C, 86: b, 100: E, 102: y }, { 41: [1, 99], 45: 98, 51: _e }, { 50: [1, 101] }, { 13: [1, 102] }, { 13: [1, 103] }, { 79: [1, 104], 81: [1, 105] }, { 22: Y, 48: Q, 59: 106, 60: W, 82: j, 84: 107, 85: 108, 86: X, 87: q, 88: H, 89: J, 90: Z }, { 60: [1, 118] }, { 13: Pe, 55: 119 }, s(d, [2, 62]), s(d, [2, 128]), { 22: Y, 48: Q, 59: 120, 60: W, 61: [1, 121], 82: j, 84: 107, 85: 108, 86: X, 87: q, 88: H, 89: J, 90: Z }, s(Re, [2, 64]), { 16: 39, 17: 40, 19: 122, 60: C, 86: b, 100: E, 102: y, 103: T }, s(P, [2, 16]), s(P, [2, 17]), s(P, [2, 18]), { 39: [2, 36] }, { 15: 124, 16: 84, 17: 85, 18: [1, 123], 39: [2, 9], 60: C, 86: b, 100: E, 102: y, 103: T }, { 39: [2, 10] }, s(Se, [2, 45], { 11: 125, 12: [1, 126] }), s(De, [2, 7]), { 9: [1, 127] }, s(le, [2, 57]), { 16: 39, 17: 40, 19: 128, 60: C, 86: b, 100: E, 102: y, 103: T }, { 13: [1, 130], 16: 39, 17: 40, 19: 129, 60: C, 86: b, 100: E, 102: y, 103: T }, s(ue, [2, 72], { 66: 131, 68: te, 69: se, 70: ie, 71: ae, 72: ne }), s(ue, [2, 71]), { 41: [1, 132] }, { 24: 96, 40: 133, 43: 23, 46: r }, { 8: [1, 134], 41: [2, 37] }, s(z, [2, 41], { 39: [1, 135] }), { 41: [1, 136] }, s(z, [2, 43]), { 41: [2, 51], 45: 137, 51: _e }, { 16: 39, 17: 40, 19: 138, 60: C, 86: b, 100: E, 102: y, 103: T }, s(d, [2, 81], { 13: [1, 139] }), s(d, [2, 83], { 13: [1, 141], 77: [1, 140] }), s(d, [2, 87], { 13: [1, 142], 80: [1, 143] }), { 13: [1, 144] }, s(d, [2, 95], { 61: Ge }), s(Ue, [2, 97], { 85: 146, 22: Y, 48: Q, 60: W, 82: j, 86: X, 87: q, 88: H, 89: J, 90: Z }), s(N, [2, 99]), s(N, [2, 101]), s(N, [2, 102]), s(N, [2, 103]), s(N, [2, 104]), s(N, [2, 105]), s(N, [2, 106]), s(N, [2, 107]), s(N, [2, 108]), s(N, [2, 109]), s(d, [2, 96]), s(d, [2, 61]), s(d, [2, 63], { 61: Ge }), { 60: [1, 147] }, s(P, [2, 14]), { 15: 148, 16: 84, 17: 85, 60: C, 86: b, 100: E, 102: y, 103: T }, { 39: [2, 12] }, s(Se, [2, 46]), { 13: [1, 149] }, { 1: [2, 4] }, s(le, [2, 59]), s(le, [2, 58]), { 16: 39, 17: 40, 19: 150, 60: C, 86: b, 100: E, 102: y, 103: T }, s(ue, [2, 70]), s(d, [2, 34]), { 41: [1, 151] }, { 24: 96, 40: 152, 41: [2, 38], 43: 23, 46: r }, { 45: 153, 51: _e }, s(z, [2, 42]), { 41: [2, 52] }, s(d, [2, 50]), s(d, [2, 82]), s(d, [2, 84]), s(d, [2, 85], { 77: [1, 154] }), s(d, [2, 88]), s(d, [2, 89], { 13: [1, 155] }), s(d, [2, 91], { 13: [1, 157], 77: [1, 156] }), { 22: Y, 48: Q, 60: W, 82: j, 84: 158, 85: 108, 86: X, 87: q, 88: H, 89: J, 90: Z }, s(N, [2, 100]), s(Re, [2, 65]), { 39: [2, 11] }, { 14: [1, 159] }, s(le, [2, 60]), s(d, [2, 35]), { 41: [2, 39] }, { 41: [1, 160] }, s(d, [2, 86]), s(d, [2, 90]), s(d, [2, 92]), s(d, [2, 93], { 77: [1, 161] }), s(Ue, [2, 98], { 85: 146, 22: Y, 48: Q, 60: W, 82: j, 86: X, 87: q, 88: H, 89: J, 90: Z }), s(Se, [2, 8]), s(z, [2, 44]), s(d, [2, 94])],
|
|
231
231
|
defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 3], 83: [2, 36], 85: [2, 10], 124: [2, 12], 127: [2, 4], 137: [2, 52], 148: [2, 11], 152: [2, 39] },
|
|
232
232
|
parseError: /* @__PURE__ */ f(function(o, h) {
|
|
233
233
|
if (h.recoverable)
|
|
@@ -238,7 +238,7 @@ var Ve = function() {
|
|
|
238
238
|
}
|
|
239
239
|
}, "parseError"),
|
|
240
240
|
parse: /* @__PURE__ */ f(function(o) {
|
|
241
|
-
var h = this, p = [0], n = [], m = [null], e = [], $ = this.table, t = "", ce = 0, ze = 0,
|
|
241
|
+
var h = this, p = [0], n = [], m = [null], e = [], $ = this.table, t = "", ce = 0, ze = 0, He = 2, Ke = 1, Je = e.slice.call(arguments, 1), k = Object.create(this.lexer), O = { yy: {} };
|
|
242
242
|
for (var Le in this.yy)
|
|
243
243
|
Object.prototype.hasOwnProperty.call(this.yy, Le) && (O.yy[Le] = this.yy[Le]);
|
|
244
244
|
k.setInput(o, O.yy), O.yy.lexer = k, O.yy.parser = this, typeof k.yylloc > "u" && (k.yylloc = {});
|
|
@@ -255,12 +255,12 @@ var Ve = function() {
|
|
|
255
255
|
return _ = n.pop() || k.lex() || Ke, typeof _ != "number" && (_ instanceof Array && (n = _, _ = n.pop()), _ = h.symbols_[_] || _), _;
|
|
256
256
|
}
|
|
257
257
|
f(Ye, "lex");
|
|
258
|
-
for (var B, w, S, ve, M = {}, he, x,
|
|
258
|
+
for (var B, w, S, ve, M = {}, he, x, Qe, de; ; ) {
|
|
259
259
|
if (w = p[p.length - 1], this.defaultActions[w] ? S = this.defaultActions[w] : ((B === null || typeof B > "u") && (B = Ye()), S = $[w] && $[w][B]), typeof S > "u" || !S.length || !S[0]) {
|
|
260
260
|
var Ie = "";
|
|
261
261
|
de = [];
|
|
262
262
|
for (he in $[w])
|
|
263
|
-
this.terminals_[he] && he >
|
|
263
|
+
this.terminals_[he] && he > He && de.push("'" + this.terminals_[he] + "'");
|
|
264
264
|
k.showPosition ? Ie = "Parse error on line " + (ce + 1) + `:
|
|
265
265
|
` + k.showPosition() + `
|
|
266
266
|
Expecting ` + de.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Ie = "Parse error on line " + (ce + 1) + ": Unexpected " + (B == Ke ? "end of input" : "'" + (this.terminals_[B] || B) + "'"), this.parseError(Ie, {
|
|
@@ -296,7 +296,7 @@ Expecting ` + de.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Ie =
|
|
|
296
296
|
e
|
|
297
297
|
].concat(Je)), typeof ve < "u")
|
|
298
298
|
return ve;
|
|
299
|
-
x && (p = p.slice(0, -1 * x * 2), m = m.slice(0, -1 * x), e = e.slice(0, -1 * x)), p.push(this.productions_[S[1]][0]), m.push(M.$), e.push(M._$),
|
|
299
|
+
x && (p = p.slice(0, -1 * x * 2), m = m.slice(0, -1 * x), e = e.slice(0, -1 * x)), p.push(this.productions_[S[1]][0]), m.push(M.$), e.push(M._$), Qe = $[p[p.length - 2]][p[p.length - 1]], p.push(Qe);
|
|
300
300
|
break;
|
|
301
301
|
case 3:
|
|
302
302
|
return !0;
|
|
@@ -304,7 +304,7 @@ Expecting ` + de.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Ie =
|
|
|
304
304
|
}
|
|
305
305
|
return !0;
|
|
306
306
|
}, "parse")
|
|
307
|
-
},
|
|
307
|
+
}, qe = /* @__PURE__ */ function() {
|
|
308
308
|
var I = {
|
|
309
309
|
EOF: 1,
|
|
310
310
|
parseError: /* @__PURE__ */ f(function(h, p) {
|
|
@@ -691,14 +691,14 @@ Expecting ` + de.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Ie =
|
|
|
691
691
|
};
|
|
692
692
|
return I;
|
|
693
693
|
}();
|
|
694
|
-
Ne.lexer =
|
|
694
|
+
Ne.lexer = qe;
|
|
695
695
|
function oe() {
|
|
696
696
|
this.yy = {};
|
|
697
697
|
}
|
|
698
698
|
return f(oe, "Parser"), oe.prototype = Ne, Ne.Parser = oe, new oe();
|
|
699
699
|
}();
|
|
700
700
|
Ve.parser = Ve;
|
|
701
|
-
var kt = Ve,
|
|
701
|
+
var kt = Ve, We = ["#", "+", "~", "-", ""], G, je = (G = class {
|
|
702
702
|
constructor(i, a) {
|
|
703
703
|
this.memberType = a, this.visibility = "", this.classifier = "", this.text = "";
|
|
704
704
|
const u = it(i, F());
|
|
@@ -719,14 +719,14 @@ var kt = Ve, Qe = ["#", "+", "~", "-", ""], G, We = (G = class {
|
|
|
719
719
|
const r = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(i);
|
|
720
720
|
if (r) {
|
|
721
721
|
const c = r[1] ? r[1].trim() : "";
|
|
722
|
-
if (
|
|
722
|
+
if (We.includes(c) && (this.visibility = c), this.id = r[2], this.parameters = r[3] ? r[3].trim() : "", a = r[4] ? r[4].trim() : "", this.returnType = r[5] ? r[5].trim() : "", a === "") {
|
|
723
723
|
const A = this.returnType.substring(this.returnType.length - 1);
|
|
724
724
|
/[$*]/.exec(A) && (a = A, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
} else {
|
|
728
728
|
const l = i.length, r = i.substring(0, 1), c = i.substring(l - 1);
|
|
729
|
-
|
|
729
|
+
We.includes(r) && (this.visibility = r), /[$*]/.exec(c) && (a = c), this.id = i.substring(
|
|
730
730
|
this.visibility === "" ? 0 : 1,
|
|
731
731
|
a === "" ? l : l - 1
|
|
732
732
|
);
|
|
@@ -887,7 +887,7 @@ var kt = Ve, Qe = ["#", "+", "~", "-", ""], G, We = (G = class {
|
|
|
887
887
|
const u = this.splitClassNameAndType(i).className, l = this.classes.get(u);
|
|
888
888
|
if (typeof a == "string") {
|
|
889
889
|
const r = a.trim();
|
|
890
|
-
r.startsWith("<<") && r.endsWith(">>") ? l.annotations.push(V(r.substring(2, r.length - 2))) : r.indexOf(")") > 0 ? l.methods.push(new
|
|
890
|
+
r.startsWith("<<") && r.endsWith(">>") ? l.annotations.push(V(r.substring(2, r.length - 2))) : r.indexOf(")") > 0 ? l.methods.push(new je(r, "method")) : r && l.members.push(new je(r, "attribute"));
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
893
|
addMembers(i, a) {
|
package/dist/chunk-DI55MBZ5.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as te } from "./chunk-55IACEB6.js";
|
|
2
2
|
import { s as ee } from "./chunk-QN33PNHL.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a1 as f, a4 as se, a3 as ie, a5 as re, a6 as ae, ag as ne, ah as oe, a7 as F, ad as D, aL as le, a9 as W, an as ce, ar as he, am as ue } from "./CoachForm.js";
|
|
4
4
|
var vt = function() {
|
|
5
5
|
var e = /* @__PURE__ */ f(function(V, o, h, n) {
|
|
6
6
|
for (h = h || {}, n = V.length; n--; h[V[n]] = o) ;
|
package/dist/chunk-FMBD7UC4.js
CHANGED
package/dist/chunk-QN33PNHL.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
var
|
|
1
|
+
import { a1 as a, ae as w, ad as x } from "./CoachForm.js";
|
|
2
|
+
var g = /* @__PURE__ */ a((e, t, i, o) => {
|
|
3
3
|
e.attr("class", i);
|
|
4
|
-
const { width: r, height: h, x:
|
|
4
|
+
const { width: r, height: h, x: n, y: c } = u(e, t);
|
|
5
5
|
w(e, h, r, o);
|
|
6
|
-
const s =
|
|
6
|
+
const s = d(n, c, r, h, t);
|
|
7
7
|
e.attr("viewBox", s), x.debug(`viewBox configured: ${s} with padding: ${t}`);
|
|
8
8
|
}, "setupViewPortForSVG"), u = /* @__PURE__ */ a((e, t) => {
|
|
9
9
|
var o;
|
|
@@ -14,7 +14,7 @@ var d = /* @__PURE__ */ a((e, t, i, o) => {
|
|
|
14
14
|
x: i.x,
|
|
15
15
|
y: i.y
|
|
16
16
|
};
|
|
17
|
-
}, "calculateDimensionsWithPadding"),
|
|
17
|
+
}, "calculateDimensionsWithPadding"), d = /* @__PURE__ */ a((e, t, i, o, r) => `${e - r} ${t - r} ${i} ${o}`, "createViewBox");
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
g as s
|
|
20
20
|
};
|
package/dist/chunk-QZHKN3VN.js
CHANGED
package/dist/chunk-TZMSLE5B.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a1 as n, aM as c, af as l } from "./CoachForm.js";
|
|
2
2
|
var o = /* @__PURE__ */ n((a, t) => {
|
|
3
3
|
const e = a.append("rect");
|
|
4
4
|
if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a1 as V, ad as k } from "./CoachForm.js";
|
|
2
2
|
import { c as J } from "./cytoscape.esm.js";
|
|
3
3
|
import { c as $, g as lt, s as gt } from "./redux-toolkit.modern.js";
|
|
4
4
|
var tt = { exports: {} }, Z = { exports: {} }, Q = { exports: {} }, q;
|
package/dist/dagre-6UL2VRFP.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a1 as b, bh as F, bi as Y, bj as H, bk as _, ad as i, a7 as V, bl as U, bm as $, b6 as q, bb as z, b7 as P, b5 as K, bn as Q, bo as W, bp as Z } from "./CoachForm.js";
|
|
2
2
|
import { G as B } from "./graph.js";
|
|
3
3
|
import { l as I } from "./layout.js";
|
|
4
4
|
import { i as x } from "./_baseUniq.js";
|
|
5
5
|
import { c as L } from "./clone.js";
|
|
6
6
|
import { m as A } from "./_basePickBy.js";
|
|
7
|
-
function
|
|
7
|
+
function p(e) {
|
|
8
8
|
var t = {
|
|
9
9
|
options: {
|
|
10
10
|
directed: e.isDirected(),
|
|
@@ -155,10 +155,10 @@ var f = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), J = /* @__PURE
|
|
|
155
155
|
}
|
|
156
156
|
i.warn("Fix Replacing with XXX", c, a, n.name), e.setEdge(c, a, o, n.name);
|
|
157
157
|
}
|
|
158
|
-
}), i.warn("Adjusted Graph",
|
|
158
|
+
}), i.warn("Adjusted Graph", p(e)), T(e, 0), i.trace(f);
|
|
159
159
|
}, "adjustClustersAndEdges"), T = /* @__PURE__ */ b((e, t) => {
|
|
160
160
|
var c, a;
|
|
161
|
-
if (i.warn("extractor - ", t,
|
|
161
|
+
if (i.warn("extractor - ", t, p(e), e.children("D")), t > 10) {
|
|
162
162
|
i.error("Bailing out");
|
|
163
163
|
return;
|
|
164
164
|
}
|
|
@@ -205,13 +205,13 @@ var f = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), J = /* @__PURE
|
|
|
205
205
|
}).setDefaultEdgeLabel(function() {
|
|
206
206
|
return {};
|
|
207
207
|
});
|
|
208
|
-
i.warn("Old graph before copy",
|
|
208
|
+
i.warn("Old graph before copy", p(e)), G(r, e, v, r), e.setNode(r, {
|
|
209
209
|
clusterNode: !0,
|
|
210
210
|
id: r,
|
|
211
211
|
clusterData: f.get(r).clusterData,
|
|
212
212
|
label: f.get(r).label,
|
|
213
213
|
graph: v
|
|
214
|
-
}), i.warn("New graph after copy node: (", r, ")",
|
|
214
|
+
}), i.warn("New graph after copy node: (", r, ")", p(v)), i.debug("Old graph after copy", p(e));
|
|
215
215
|
} else
|
|
216
216
|
i.warn(
|
|
217
217
|
"Cluster ** ",
|
|
@@ -239,7 +239,7 @@ var f = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), J = /* @__PURE
|
|
|
239
239
|
n = [...n, ...a];
|
|
240
240
|
}), n;
|
|
241
241
|
}, "sorter"), oe = /* @__PURE__ */ b((e) => M(e, e.children()), "sortNodesByHierarchy"), j = /* @__PURE__ */ b(async (e, t, n, o, c, a) => {
|
|
242
|
-
i.warn("Graph in recursive render:XAX",
|
|
242
|
+
i.warn("Graph in recursive render:XAX", p(t), c);
|
|
243
243
|
const r = t.graph().rankdir;
|
|
244
244
|
i.trace("Dir in recursive render - dir:", r);
|
|
245
245
|
const u = e.insert("g").attr("class", "root");
|
|
@@ -270,15 +270,15 @@ Parent cluster`,
|
|
|
270
270
|
ranksep: w + 25,
|
|
271
271
|
nodesep: m
|
|
272
272
|
});
|
|
273
|
-
const
|
|
273
|
+
const E = await j(
|
|
274
274
|
g,
|
|
275
275
|
s.graph,
|
|
276
276
|
n,
|
|
277
277
|
o,
|
|
278
278
|
t.node(d),
|
|
279
279
|
a
|
|
280
|
-
), S =
|
|
281
|
-
|
|
280
|
+
), S = E.elem;
|
|
281
|
+
U(s, S), s.diff = E.diff || 0, i.info(
|
|
282
282
|
"New compound node after recursive render XAX",
|
|
283
283
|
d,
|
|
284
284
|
"width",
|
|
@@ -288,7 +288,7 @@ Parent cluster`,
|
|
|
288
288
|
s.height
|
|
289
289
|
// node.x,
|
|
290
290
|
// node.y
|
|
291
|
-
),
|
|
291
|
+
), $(S, s);
|
|
292
292
|
} else
|
|
293
293
|
t.children(d).length > 0 ? (i.trace(
|
|
294
294
|
"Cluster - the non recursive path XBX",
|
|
@@ -315,7 +315,7 @@ Parent cluster`,
|
|
|
315
315
|
), await Z(C, w);
|
|
316
316
|
});
|
|
317
317
|
await Promise.all(d);
|
|
318
|
-
}, "processEdges"))(), i.info("Graph before layout:", JSON.stringify(
|
|
318
|
+
}, "processEdges"))(), i.info("Graph before layout:", JSON.stringify(p(t))), i.info("############################################# XXX"), i.info("### Layout ### XXX"), i.info("############################################# XXX"), I(t), i.info("Graph after layout:", JSON.stringify(p(t)));
|
|
319
319
|
let y = 0, { subGraphTitleTotalMargin: X } = z(a);
|
|
320
320
|
return await Promise.all(
|
|
321
321
|
oe(t).map(async function(d) {
|
|
@@ -350,8 +350,8 @@ Parent cluster`,
|
|
|
350
350
|
s.height,
|
|
351
351
|
t.parent(d)
|
|
352
352
|
), s.height += X, t.node(s.parentId);
|
|
353
|
-
const m = (s == null ? void 0 : s.padding) / 2 || 0,
|
|
354
|
-
i.debug("OffsetY", S, "labelHeight",
|
|
353
|
+
const m = (s == null ? void 0 : s.padding) / 2 || 0, E = ((w = s == null ? void 0 : s.labelBBox) == null ? void 0 : w.height) || 0, S = E - m || 0;
|
|
354
|
+
i.debug("OffsetY", S, "labelHeight", E, "halfPadding", m), await K(l, s), f.get(s.id).node = s;
|
|
355
355
|
} else {
|
|
356
356
|
const m = t.node(s.parentId);
|
|
357
357
|
s.y += X / 2, i.info(
|
|
@@ -377,8 +377,8 @@ Parent cluster`,
|
|
|
377
377
|
i.info("Edge " + d.v + " -> " + d.w + ": " + JSON.stringify(s), s), s.points.forEach((S) => S.y += X / 2);
|
|
378
378
|
const w = t.node(d.v);
|
|
379
379
|
var m = t.node(d.w);
|
|
380
|
-
const
|
|
381
|
-
W(s,
|
|
380
|
+
const E = Q(v, s, f, n, w, m, o);
|
|
381
|
+
W(s, E);
|
|
382
382
|
}), t.nodes().forEach(function(d) {
|
|
383
383
|
const s = t.node(d);
|
|
384
384
|
i.info(d, s.type, s.diff), s.isGroup && (y = s.diff);
|
|
@@ -431,7 +431,7 @@ Parent cluster`,
|
|
|
431
431
|
s.label = "", s.arrowTypeEnd = "none", s.id = h + "-cyclic-special-1", w.arrowTypeStart = "none", w.arrowTypeEnd = "none", w.id = h + "-cyclic-special-mid", m.label = "", d.isGroup && (s.fromCluster = h, m.toCluster = h), m.id = h + "-cyclic-special-2", m.arrowTypeStart = "none", n.setEdge(h, y, s, h + "-cyclic-special-0"), n.setEdge(y, X, w, h + "-cyclic-special-1"), n.setEdge(X, h, m, h + "-cyc<lic-special-2");
|
|
432
432
|
} else
|
|
433
433
|
n.setEdge(g.start, g.end, { ...g }, g.id);
|
|
434
|
-
}), i.warn("Graph at first:", JSON.stringify(
|
|
434
|
+
}), i.warn("Graph at first:", JSON.stringify(p(n))), re(n), i.warn("Graph after XAX:", JSON.stringify(p(n)));
|
|
435
435
|
const c = V();
|
|
436
436
|
await j(
|
|
437
437
|
o,
|