@scalar/agent-chat 0.2.1 → 0.2.3
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/App.vue.d.ts +6 -1
- package/dist/App.vue.d.ts.map +1 -1
- package/dist/Chat.vue.d.ts.map +1 -1
- package/dist/Tooltip-Cm82QgNj.js +575 -0
- package/dist/__vite-optional-peer-dep_stream-markdown_markstream-vue_false-sdjmOmXd.js +5 -0
- package/dist/__vite-optional-peer-dep_stream-monaco_markstream-vue_false-HdL4xm5U.js +5 -0
- package/dist/__vite-optional-peer-dep_vue-i18n_markstream-vue_false-B9Pwe5kz.js +5 -0
- package/dist/_basePickBy-hHD8tMGb.js +151 -0
- package/dist/_baseUniq-DTF1wuF6.js +614 -0
- package/dist/arc-Dw2RQerU.js +83 -0
- package/dist/architecture-U656AL7Q-B00Z9eXr.js +36 -0
- package/dist/architectureDiagram-VXUJARFQ-BtOffFaM.js +4662 -0
- package/dist/blockDiagram-VD42YOAC-BUqFMMQe.js +2261 -0
- package/dist/c4Diagram-YG6GDRKO-NrM1YcpG.js +1579 -0
- package/dist/channel-105myCGU.js +5 -0
- package/dist/chunk-4BX2VUAB-TAxJli7C.js +8 -0
- package/dist/chunk-55IACEB6-VXFJ4bz5.js +8 -0
- package/dist/chunk-B4BG7PRW-CZDQpfj5.js +1375 -0
- package/dist/chunk-DI55MBZ5-D3l7TA-E.js +1370 -0
- package/dist/chunk-FMBD7UC4-BMXFm8I3.js +19 -0
- package/dist/chunk-QN33PNHL-BOUpbpWp.js +19 -0
- package/dist/chunk-QZHKN3VN-C-TEEx05.js +15 -0
- package/dist/chunk-TZMSLE5B-BUiROKNR.js +64 -0
- package/dist/classDiagram-2ON5EDUG-HQET4ybK.js +16 -0
- package/dist/classDiagram-v2-WZHVMYZB-HQET4ybK.js +16 -0
- package/dist/clone-CIIO71O9.js +8 -0
- package/dist/components/ApprovalSection.vue.d.ts.map +1 -1
- package/dist/components/PaymentSection.vue.d.ts +9 -0
- package/dist/components/PaymentSection.vue.d.ts.map +1 -0
- package/dist/components/RequestPreview.vue.d.ts.map +1 -1
- package/dist/components/ResponseBody/ResponseBody.vue.d.ts +1 -1
- package/dist/components/ResponseBody/ResponseBodyPreview.vue.d.ts +1 -1
- package/dist/cose-bilkent-S5V4N54A-CMsF4n-5.js +2609 -0
- package/dist/cytoscape.esm-DfdJODL8.js +18735 -0
- package/dist/dagre-6UL2VRFP-DqzdQ6Qg.js +444 -0
- package/dist/defaultLocale-BEa-49Qz.js +171 -0
- package/dist/diagram-PSM6KHXK-1xyGntw2.js +531 -0
- package/dist/diagram-QEK2KX5R-DdZdlAm1.js +217 -0
- package/dist/diagram-S2PKOQOG-C80Eo2jp.js +142 -0
- package/dist/erDiagram-Q2GNP2WA-DFVRrMXT.js +841 -0
- package/dist/flowDiagram-NV44I4VS-D9QK_qqB.js +1620 -0
- package/dist/ganttDiagram-LVOFAZNH-Bo1NTkeQ.js +2506 -0
- package/dist/gitGraph-F6HP7TQM-C5hdgcgO.js +27 -0
- package/dist/gitGraphDiagram-NY62KEGX-BZqnqZh6.js +699 -0
- package/dist/graph-Dth4IhEK.js +247 -0
- package/dist/helpers.d.ts +1 -1
- package/dist/hooks/useSearch.d.ts.map +1 -1
- package/dist/index-BOvT43H8.js +111780 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -3
- package/dist/index2-B36B-gt0.js +69 -0
- package/dist/index3-CtIyYUnG.js +70 -0
- package/dist/index4-Dzz91Ao2.js +537 -0
- package/dist/index5-Bmz0gMSP.js +590 -0
- package/dist/index6-DMB3qTSV.js +196 -0
- package/dist/info-NVLQJR56-azt5obk5.js +27 -0
- package/dist/infoDiagram-ER5ION4S-DD4Jtctm.js +24 -0
- package/dist/infographic_markstream-vue_false-BfsmcXxk.js +5 -0
- package/dist/init-DjUOC4st.js +16 -0
- package/dist/journeyDiagram-XKPGCS4Q-CXL6UO0r.js +834 -0
- package/dist/kanban-definition-3W4ZIXB7-B57do5Wg.js +719 -0
- package/dist/katex-SsTUIUTC.js +11688 -0
- package/dist/layout-7TCY8eA2.js +1332 -0
- package/dist/linear-DSm5i91N.js +625 -0
- package/dist/mermaid-parser.core-CUQWpAMM.js +12746 -0
- package/dist/mermaid.core-QjuzH7xx.js +14164 -0
- package/dist/mhchem-XHl7cef5.js +2306 -0
- package/dist/mindmap-definition-VGOIOE7T-DAQyGNAM.js +784 -0
- package/dist/ordinal-DfAQgscy.js +61 -0
- package/dist/package.json +2 -2
- package/dist/packet-BFZMPI3H-CixuxAEA.js +27 -0
- package/dist/pie-7BOR55EZ-D3cgnzR1.js +32 -0
- package/dist/pieDiagram-ADFJNKIX-BqxgYwrL.js +161 -0
- package/dist/quadrantDiagram-AYHSOK5B-CQ4v-9Hh.js +1022 -0
- package/dist/radar-NHE76QYJ-DhV0Od_M.js +27 -0
- package/dist/registry/add-documents-to-store.d.ts +3 -2
- package/dist/registry/add-documents-to-store.d.ts.map +1 -1
- package/dist/requirementDiagram-UZGBJVZJ-ncWNAgFi.js +850 -0
- package/dist/safeRaf-I3a3-dyJ.js +10 -0
- package/dist/sankeyDiagram-TZEHDZUN-yCR2_cH5.js +810 -0
- package/dist/sequenceDiagram-WL72ISMW-DZ7wqFyd.js +2511 -0
- package/dist/state/state.d.ts +7 -3
- package/dist/state/state.d.ts.map +1 -1
- package/dist/stateDiagram-FKZM4ZOC-Dra68Tzi.js +263 -0
- package/dist/stateDiagram-v2-4FDKWEC3-CARbPECD.js +16 -0
- package/dist/style.css +1 -12713
- package/dist/timeline-definition-IT6M3QCI-DEbG9QIM.js +795 -0
- package/dist/treemap-KMMF4GRG-CQbPsyWe.js +81 -0
- package/dist/views/Chat/Chat.vue.d.ts.map +1 -1
- package/dist/views/Chat/Messages/ExecuteRequestTool.vue.d.ts +1 -1
- package/dist/views/Chat/Messages/ExecuteRequestTool.vue.d.ts.map +1 -1
- package/dist/views/Chat/Messages/GetMiniOpenAPIDocTool.vue.d.ts +1 -1
- package/dist/views/Chat/Messages/GetOpenAPISpecsSummary.vue.d.ts +1 -1
- package/dist/views/PromptForm.vue.d.ts.map +1 -1
- package/dist/views/Start.vue.d.ts.map +1 -1
- package/dist/xychartDiagram-PRI3JC2R-C94Pu8hL.js +1340 -0
- package/package.json +1 -1
- package/dist/App.vue.js +0 -29
- package/dist/App.vue.js.map +0 -1
- package/dist/App.vue2.js +0 -5
- package/dist/App.vue2.js.map +0 -1
- package/dist/Chat.vue.js +0 -55
- package/dist/Chat.vue.js.map +0 -1
- package/dist/Chat.vue2.js +0 -5
- package/dist/Chat.vue2.js.map +0 -1
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -11
- package/dist/_virtual/_plugin-vue_export-helper.js.map +0 -1
- package/dist/components/ApprovalSection.vue.js +0 -8
- package/dist/components/ApprovalSection.vue.js.map +0 -1
- package/dist/components/ApprovalSection.vue2.js +0 -47
- package/dist/components/ApprovalSection.vue2.js.map +0 -1
- package/dist/components/AutosendPaused.vue.js +0 -15
- package/dist/components/AutosendPaused.vue.js.map +0 -1
- package/dist/components/ContextItem.vue.js +0 -8
- package/dist/components/ContextItem.vue.js.map +0 -1
- package/dist/components/ContextItem.vue2.js +0 -22
- package/dist/components/ContextItem.vue2.js.map +0 -1
- package/dist/components/Endpoint.vue.js +0 -8
- package/dist/components/Endpoint.vue.js.map +0 -1
- package/dist/components/Endpoint.vue2.js +0 -98
- package/dist/components/Endpoint.vue2.js.map +0 -1
- package/dist/components/ErrorMessage.vue.js +0 -8
- package/dist/components/ErrorMessage.vue.js.map +0 -1
- package/dist/components/ErrorMessage.vue2.js +0 -28
- package/dist/components/ErrorMessage.vue2.js.map +0 -1
- package/dist/components/LoadingMiniOpenAPIDoc.vue.js +0 -16
- package/dist/components/LoadingMiniOpenAPIDoc.vue.js.map +0 -1
- package/dist/components/LoadingOpenAPISpecsSummary.vue.js +0 -16
- package/dist/components/LoadingOpenAPISpecsSummary.vue.js.map +0 -1
- package/dist/components/Logo.vue.js +0 -25
- package/dist/components/Logo.vue.js.map +0 -1
- package/dist/components/RequestApproved.vue.js +0 -15
- package/dist/components/RequestApproved.vue.js.map +0 -1
- package/dist/components/RequestFailed.vue.js +0 -26
- package/dist/components/RequestFailed.vue.js.map +0 -1
- package/dist/components/RequestPreview.vue.js +0 -9
- package/dist/components/RequestPreview.vue.js.map +0 -1
- package/dist/components/RequestPreview.vue2.js +0 -150
- package/dist/components/RequestPreview.vue2.js.map +0 -1
- package/dist/components/RequestRejected.vue.js +0 -24
- package/dist/components/RequestRejected.vue.js.map +0 -1
- package/dist/components/RequestSuccess.vue.js +0 -15
- package/dist/components/RequestSuccess.vue.js.map +0 -1
- package/dist/components/ResponseBody/ResponseBody.vue.js +0 -45
- package/dist/components/ResponseBody/ResponseBody.vue.js.map +0 -1
- package/dist/components/ResponseBody/ResponseBody.vue2.js +0 -5
- package/dist/components/ResponseBody/ResponseBody.vue2.js.map +0 -1
- package/dist/components/ResponseBody/ResponseBodyInfo.vue.js +0 -17
- package/dist/components/ResponseBody/ResponseBodyInfo.vue.js.map +0 -1
- package/dist/components/ResponseBody/ResponseBodyPreview.vue.js +0 -8
- package/dist/components/ResponseBody/ResponseBodyPreview.vue.js.map +0 -1
- package/dist/components/ResponseBody/ResponseBodyPreview.vue2.js +0 -73
- package/dist/components/ResponseBody/ResponseBodyPreview.vue2.js.map +0 -1
- package/dist/components/ResponseBody/ResponseBodyRaw.vue.js +0 -23
- package/dist/components/ResponseBody/ResponseBodyRaw.vue.js.map +0 -1
- package/dist/components/ResponseBody/ResponseBodyRaw.vue2.js +0 -5
- package/dist/components/ResponseBody/ResponseBodyRaw.vue2.js.map +0 -1
- package/dist/components/ResponseBody/ResponseBodyToggle.vue.js +0 -30
- package/dist/components/ResponseBody/ResponseBodyToggle.vue.js.map +0 -1
- package/dist/components/ResponseBody/ResponseBodyToggle.vue2.js +0 -5
- package/dist/components/ResponseBody/ResponseBodyToggle.vue2.js.map +0 -1
- package/dist/components/ResponseBody/helpers/media-types.js +0 -134
- package/dist/components/ResponseBody/helpers/media-types.js.map +0 -1
- package/dist/components/ResponseBody/helpers/process-response-body.js +0 -63
- package/dist/components/ResponseBody/helpers/process-response-body.js.map +0 -1
- package/dist/components/SearchPopover.vue.js +0 -8
- package/dist/components/SearchPopover.vue.js.map +0 -1
- package/dist/components/SearchPopover.vue2.js +0 -78
- package/dist/components/SearchPopover.vue2.js.map +0 -1
- package/dist/components/SendingRequest.vue.js +0 -26
- package/dist/components/SendingRequest.vue.js.map +0 -1
- package/dist/components/Suggestion.vue.js +0 -8
- package/dist/components/Suggestion.vue.js.map +0 -1
- package/dist/components/Suggestion.vue2.js +0 -28
- package/dist/components/Suggestion.vue2.js.map +0 -1
- package/dist/components/TestRequestButton.vue.js +0 -8
- package/dist/components/TestRequestButton.vue.js.map +0 -1
- package/dist/components/TestRequestButton.vue2.js +0 -37
- package/dist/components/TestRequestButton.vue2.js.map +0 -1
- package/dist/helpers.js +0 -201
- package/dist/helpers.js.map +0 -1
- package/dist/hooks/useChatApprovals.js +0 -25
- package/dist/hooks/useChatApprovals.js.map +0 -1
- package/dist/hooks/useChatOperationBlocks.js +0 -29
- package/dist/hooks/useChatOperationBlocks.js.map +0 -1
- package/dist/hooks/useChatScroll.js +0 -22
- package/dist/hooks/useChatScroll.js.map +0 -1
- package/dist/hooks/useSearch.js +0 -36
- package/dist/hooks/useSearch.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/api.js +0 -12
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/api.js.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.js +0 -67
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.js.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.js +0 -25
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.js.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/parse.js +0 -64
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/parse.js.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/regexes.js +0 -8
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/regexes.js.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.js +0 -181
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.js.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.js +0 -85
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.js.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.js +0 -9
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.js.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/mini/schemas.js +0 -61
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/mini/schemas.js.map +0 -1
- package/dist/registry/add-documents-to-store.js +0 -42
- package/dist/registry/add-documents-to-store.js.map +0 -1
- package/dist/state/state.js +0 -112
- package/dist/state/state.js.map +0 -1
- package/dist/views/Chat/Chat.vue.js +0 -8
- package/dist/views/Chat/Chat.vue.js.map +0 -1
- package/dist/views/Chat/Chat.vue2.js +0 -84
- package/dist/views/Chat/Chat.vue2.js.map +0 -1
- package/dist/views/Chat/Messages/ExecuteRequestTool.vue.js +0 -8
- package/dist/views/Chat/Messages/ExecuteRequestTool.vue.js.map +0 -1
- package/dist/views/Chat/Messages/ExecuteRequestTool.vue2.js +0 -39
- package/dist/views/Chat/Messages/ExecuteRequestTool.vue2.js.map +0 -1
- package/dist/views/Chat/Messages/GetMiniOpenAPIDocTool.vue.js +0 -8
- package/dist/views/Chat/Messages/GetMiniOpenAPIDocTool.vue.js.map +0 -1
- package/dist/views/Chat/Messages/GetMiniOpenAPIDocTool.vue2.js +0 -65
- package/dist/views/Chat/Messages/GetMiniOpenAPIDocTool.vue2.js.map +0 -1
- package/dist/views/Chat/Messages/GetOpenAPISpecsSummary.vue.js +0 -32
- package/dist/views/Chat/Messages/GetOpenAPISpecsSummary.vue.js.map +0 -1
- package/dist/views/Chat/Messages/GetOpenAPISpecsSummary.vue2.js +0 -5
- package/dist/views/Chat/Messages/GetOpenAPISpecsSummary.vue2.js.map +0 -1
- package/dist/views/Chat/Messages/Text.vue.js +0 -21
- package/dist/views/Chat/Messages/Text.vue.js.map +0 -1
- package/dist/views/Chat/Messages/Text.vue2.js +0 -5
- package/dist/views/Chat/Messages/Text.vue2.js.map +0 -1
- package/dist/views/Layout.vue.js +0 -8
- package/dist/views/Layout.vue.js.map +0 -1
- package/dist/views/Layout.vue2.js +0 -28
- package/dist/views/Layout.vue2.js.map +0 -1
- package/dist/views/PromptForm.vue.js +0 -8
- package/dist/views/PromptForm.vue.js.map +0 -1
- package/dist/views/PromptForm.vue2.js +0 -182
- package/dist/views/PromptForm.vue2.js.map +0 -1
- package/dist/views/Settings/Auth.vue.js +0 -66
- package/dist/views/Settings/Auth.vue.js.map +0 -1
- package/dist/views/Settings/Auth.vue2.js +0 -5
- package/dist/views/Settings/Auth.vue2.js.map +0 -1
- package/dist/views/Settings/DocSettings.vue.js +0 -8
- package/dist/views/Settings/DocSettings.vue.js.map +0 -1
- package/dist/views/Settings/DocSettings.vue2.js +0 -50
- package/dist/views/Settings/DocSettings.vue2.js.map +0 -1
- package/dist/views/Settings/Settings.vue.js +0 -9
- package/dist/views/Settings/Settings.vue.js.map +0 -1
- package/dist/views/Settings/Settings.vue2.js +0 -78
- package/dist/views/Settings/Settings.vue2.js.map +0 -1
- package/dist/views/Start.vue.js +0 -8
- package/dist/views/Start.vue.js.map +0 -1
- package/dist/views/Start.vue2.js +0 -56
- package/dist/views/Start.vue2.js.map +0 -1
package/dist/state/state.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { type ComputedRef, type InjectionKey, type Ref } from 'vue';
|
|
|
4
4
|
import type z from 'zod';
|
|
5
5
|
import { type ModalState } from '@scalar/components';
|
|
6
6
|
import { type ApiReferenceConfigurationRaw } from '@scalar/types';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
8
|
+
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
9
9
|
import type { agentRoutes } from '@scalar-org/entities/agent';
|
|
10
10
|
import { EXECUTE_REQUEST_TOOL_NAME, type ExecuteRequestToolInput, type ExecuteRequestToolOutput, GET_MINI_OPENAPI_SPEC_TOOL_NAME, GET_OPENAPI_SPECS_SUMMARY_TOOL_NAME, type GetMiniOpenAPIDocToolInput, type GetMiniOpenAPIDocToolOutput, type GetOpenAPISpecsSummaryToolOutput } from '@scalar-org/entities/agent/tools';
|
|
11
11
|
export type RegistryDocument = {
|
|
@@ -48,14 +48,18 @@ type State = {
|
|
|
48
48
|
namespace: string;
|
|
49
49
|
slug: string;
|
|
50
50
|
}) => void;
|
|
51
|
+
getAccessToken: () => string;
|
|
51
52
|
};
|
|
52
|
-
export declare function createState({ initialRegistryDocuments, registryUrl, baseUrl, }: {
|
|
53
|
+
export declare function createState({ eventBus, workspaceStore, initialRegistryDocuments, registryUrl, baseUrl, getAccessToken, }: {
|
|
54
|
+
eventBus: WorkspaceEventBus;
|
|
55
|
+
workspaceStore: WorkspaceStore;
|
|
53
56
|
initialRegistryDocuments: {
|
|
54
57
|
namespace: string;
|
|
55
58
|
slug: string;
|
|
56
59
|
}[];
|
|
57
60
|
registryUrl: string;
|
|
58
61
|
baseUrl: string;
|
|
62
|
+
getAccessToken: () => string;
|
|
59
63
|
}): State;
|
|
60
64
|
export declare function useState(): State;
|
|
61
65
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../src/state/state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAClC,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,SAAS,EACf,MAAM,IAAI,CAAA;AACX,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,YAAY,EAEjB,KAAK,GAAG,EAGT,MAAM,KAAK,CAAA;AACZ,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAExB,OAAO,EAAE,KAAK,UAAU,EAAY,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,eAAe,CAAA;AACtB,OAAO,
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../src/state/state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAClC,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,SAAS,EACf,MAAM,IAAI,CAAA;AACX,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,YAAY,EAEjB,KAAK,GAAG,EAGT,MAAM,KAAK,CAAA;AACZ,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAExB,OAAO,EAAE,KAAK,UAAU,EAAY,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,eAAe,CAAA;AACtB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,EACL,yBAAyB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,+BAA+B,EAC/B,mCAAmC,EACnC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,EACtC,MAAM,kCAAkC,CAAA;AAKzC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,KAAK,GAAG;IAClB,CAAC,+BAA+B,CAAC,EAAE;QACjC,KAAK,EAAE,0BAA0B,CAAA;QACjC,MAAM,EAAE,2BAA2B,CAAA;KACpC,CAAA;IACD,CAAC,yBAAyB,CAAC,EAAE;QAC3B,KAAK,EAAE,uBAAuB,CAAA;QAC9B,MAAM,EAAE,wBAAwB,CAAA;KACjC,CAAA;IACD,CAAC,mCAAmC,CAAC,EAAE;QACrC,KAAK,EAAE,MAAM,CAAA;QACb,MAAM,EAAE,gCAAgC,CAAA;KACzC,CAAA;CACF,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,YAAY,CAAC,KAAK,CAA0B,CAAA;AAEvE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAChC,OAAO,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,cAAc,CAClD,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAA;AAEpB,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACnB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC,CAAA;IAClD,cAAc,EAAE,cAAc,CAAA;IAC9B,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC7B,aAAa,EAAE,UAAU,CAAA;IACzB,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,QAAQ,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IACjC,MAAM,EAAE,WAAW,CAAC,4BAA4B,CAAC,CAAA;IACjD,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,iBAAiB,EAAE,GAAG,CAAC,WAAW,EAAE,CAAC,CAAA;IACrC,WAAW,EAAE,CAAC,QAAQ,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACpE,cAAc,EAAE,CAAC,QAAQ,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACvE,cAAc,EAAE,MAAM,MAAM,CAAA;CAC7B,CAAA;AAkCD,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,cAAc,EACd,wBAAwB,EACxB,WAAW,EACX,OAAO,EACP,cAAc,GACf,EAAE;IACD,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,cAAc,EAAE,cAAc,CAAA;IAC9B,wBAAwB,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC/D,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,cAAc,EAAE,MAAM,MAAM,CAAA;CAC7B,GAAG,KAAK,CA4FR;AAED,wBAAgB,QAAQ,UAKvB"}
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { s as G, a as W, S as N } from "./chunk-DI55MBZ5-D3l7TA-E.js";
|
|
2
|
+
import { _ as f, c as t, d as H, l as S, e as P, k as z, R as _, S as U, O as C, u as F } from "./mermaid.core-QjuzH7xx.js";
|
|
3
|
+
import { l as O } from "./layout-7TCY8eA2.js";
|
|
4
|
+
import { G as J } from "./graph-Dth4IhEK.js";
|
|
5
|
+
var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit).attr("cy", t().state.padding + t().state.sizeUnit), "drawStartState"), D = /* @__PURE__ */ f((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", t().state.textHeight).attr("class", "divider").attr("x2", t().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), Y = /* @__PURE__ */ f((e, i) => {
|
|
6
|
+
const d = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 2 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), c = d.node().getBBox();
|
|
7
|
+
return e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", c.width + 2 * t().state.padding).attr("height", c.height + 2 * t().state.padding).attr("rx", t().state.radius), d;
|
|
8
|
+
}, "drawSimpleState"), I = /* @__PURE__ */ f((e, i) => {
|
|
9
|
+
const d = /* @__PURE__ */ f(function(g, m, B) {
|
|
10
|
+
const E = g.append("tspan").attr("x", 2 * t().state.padding).text(m);
|
|
11
|
+
B || E.attr("dy", t().state.textHeight);
|
|
12
|
+
}, "addTspan"), n = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 1.3 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.descriptions[0]).node().getBBox(), l = n.height, x = e.append("text").attr("x", t().state.padding).attr(
|
|
13
|
+
"y",
|
|
14
|
+
l + t().state.padding * 0.4 + t().state.dividerMargin + t().state.textHeight
|
|
15
|
+
).attr("class", "state-description");
|
|
16
|
+
let a = !0, s = !0;
|
|
17
|
+
i.descriptions.forEach(function(g) {
|
|
18
|
+
a || (d(x, g, s), s = !1), a = !1;
|
|
19
|
+
});
|
|
20
|
+
const w = e.append("line").attr("x1", t().state.padding).attr("y1", t().state.padding + l + t().state.dividerMargin / 2).attr("y2", t().state.padding + l + t().state.dividerMargin / 2).attr("class", "descr-divider"), p = x.node().getBBox(), o = Math.max(p.width, n.width);
|
|
21
|
+
return w.attr("x2", o + 3 * t().state.padding), e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", o + 2 * t().state.padding).attr("height", p.height + l + 2 * t().state.padding).attr("rx", t().state.radius), e;
|
|
22
|
+
}, "drawDescrState"), $ = /* @__PURE__ */ f((e, i, d) => {
|
|
23
|
+
const c = t().state.padding, n = 2 * t().state.padding, l = e.node().getBBox(), x = l.width, a = l.x, s = e.append("text").attr("x", 0).attr("y", t().state.titleShift).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), p = s.node().getBBox().width + n;
|
|
24
|
+
let o = Math.max(p, x);
|
|
25
|
+
o === x && (o = o + n);
|
|
26
|
+
let g;
|
|
27
|
+
const m = e.node().getBBox();
|
|
28
|
+
i.doc, g = a - c, p > x && (g = (x - o) / 2 + c), Math.abs(a - m.x) < c && p > x && (g = a - (p - x) / 2);
|
|
29
|
+
const B = 1 - t().state.textHeight;
|
|
30
|
+
return e.insert("rect", ":first-child").attr("x", g).attr("y", B).attr("class", d ? "alt-composit" : "composit").attr("width", o).attr(
|
|
31
|
+
"height",
|
|
32
|
+
m.height + t().state.textHeight + t().state.titleShift + 1
|
|
33
|
+
).attr("rx", "0"), s.attr("x", g + c), p <= x && s.attr("x", a + (o - n) / 2 - p / 2 + c), e.insert("rect", ":first-child").attr("x", g).attr(
|
|
34
|
+
"y",
|
|
35
|
+
t().state.titleShift - t().state.textHeight - t().state.padding
|
|
36
|
+
).attr("width", o).attr("height", t().state.textHeight * 3).attr("rx", t().state.radius), e.insert("rect", ":first-child").attr("x", g).attr(
|
|
37
|
+
"y",
|
|
38
|
+
t().state.titleShift - t().state.textHeight - t().state.padding
|
|
39
|
+
).attr("width", o).attr("height", m.height + 3 + 2 * t().state.textHeight).attr("rx", t().state.radius), e;
|
|
40
|
+
}, "addTitleAndBox"), q = /* @__PURE__ */ f((e) => (e.append("circle").attr("class", "end-state-outer").attr("r", t().state.sizeUnit + t().state.miniPadding).attr(
|
|
41
|
+
"cx",
|
|
42
|
+
t().state.padding + t().state.sizeUnit + t().state.miniPadding
|
|
43
|
+
).attr(
|
|
44
|
+
"cy",
|
|
45
|
+
t().state.padding + t().state.sizeUnit + t().state.miniPadding
|
|
46
|
+
), e.append("circle").attr("class", "end-state-inner").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit + 2).attr("cy", t().state.padding + t().state.sizeUnit + 2)), "drawEndState"), Z = /* @__PURE__ */ f((e, i) => {
|
|
47
|
+
let d = t().state.forkWidth, c = t().state.forkHeight;
|
|
48
|
+
if (i.parentId) {
|
|
49
|
+
let n = d;
|
|
50
|
+
d = c, c = n;
|
|
51
|
+
}
|
|
52
|
+
return e.append("rect").style("stroke", "black").style("fill", "black").attr("width", d).attr("height", c).attr("x", t().state.padding).attr("y", t().state.padding);
|
|
53
|
+
}, "drawForkJoinState"), j = /* @__PURE__ */ f((e, i, d, c) => {
|
|
54
|
+
let n = 0;
|
|
55
|
+
const l = c.append("text");
|
|
56
|
+
l.style("text-anchor", "start"), l.attr("class", "noteText");
|
|
57
|
+
let x = e.replace(/\r\n/g, "<br/>");
|
|
58
|
+
x = x.replace(/\n/g, "<br/>");
|
|
59
|
+
const a = x.split(z.lineBreakRegex);
|
|
60
|
+
let s = 1.25 * t().state.noteMargin;
|
|
61
|
+
for (const w of a) {
|
|
62
|
+
const p = w.trim();
|
|
63
|
+
if (p.length > 0) {
|
|
64
|
+
const o = l.append("tspan");
|
|
65
|
+
if (o.text(p), s === 0) {
|
|
66
|
+
const g = o.node().getBBox();
|
|
67
|
+
s += g.height;
|
|
68
|
+
}
|
|
69
|
+
n += s, o.attr("x", i + t().state.noteMargin), o.attr("y", d + n + 1.25 * t().state.noteMargin);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return { textWidth: l.node().getBBox().width, textHeight: n };
|
|
73
|
+
}, "_drawLongText"), K = /* @__PURE__ */ f((e, i) => {
|
|
74
|
+
i.attr("class", "state-note");
|
|
75
|
+
const d = i.append("rect").attr("x", 0).attr("y", t().state.padding), c = i.append("g"), { textWidth: n, textHeight: l } = j(e, 0, 0, c);
|
|
76
|
+
return d.attr("height", l + 2 * t().state.noteMargin), d.attr("width", n + t().state.noteMargin * 2), d;
|
|
77
|
+
}, "drawNote"), L = /* @__PURE__ */ f(function(e, i) {
|
|
78
|
+
const d = i.id, c = {
|
|
79
|
+
id: d,
|
|
80
|
+
label: i.id,
|
|
81
|
+
width: 0,
|
|
82
|
+
height: 0
|
|
83
|
+
}, n = e.append("g").attr("id", d).attr("class", "stateGroup");
|
|
84
|
+
i.type === "start" && X(n), i.type === "end" && q(n), (i.type === "fork" || i.type === "join") && Z(n, i), i.type === "note" && K(i.note.text, n), i.type === "divider" && D(n), i.type === "default" && i.descriptions.length === 0 && Y(n, i), i.type === "default" && i.descriptions.length > 0 && I(n, i);
|
|
85
|
+
const l = n.node().getBBox();
|
|
86
|
+
return c.width = l.width + 2 * t().state.padding, c.height = l.height + 2 * t().state.padding, c;
|
|
87
|
+
}, "drawState"), R = 0, Q = /* @__PURE__ */ f(function(e, i, d) {
|
|
88
|
+
const c = /* @__PURE__ */ f(function(s) {
|
|
89
|
+
switch (s) {
|
|
90
|
+
case N.relationType.AGGREGATION:
|
|
91
|
+
return "aggregation";
|
|
92
|
+
case N.relationType.EXTENSION:
|
|
93
|
+
return "extension";
|
|
94
|
+
case N.relationType.COMPOSITION:
|
|
95
|
+
return "composition";
|
|
96
|
+
case N.relationType.DEPENDENCY:
|
|
97
|
+
return "dependency";
|
|
98
|
+
}
|
|
99
|
+
}, "getRelationType");
|
|
100
|
+
i.points = i.points.filter((s) => !Number.isNaN(s.y));
|
|
101
|
+
const n = i.points, l = _().x(function(s) {
|
|
102
|
+
return s.x;
|
|
103
|
+
}).y(function(s) {
|
|
104
|
+
return s.y;
|
|
105
|
+
}).curve(U), x = e.append("path").attr("d", l(n)).attr("id", "edge" + R).attr("class", "transition");
|
|
106
|
+
let a = "";
|
|
107
|
+
if (t().state.arrowMarkerAbsolute && (a = C(!0)), x.attr(
|
|
108
|
+
"marker-end",
|
|
109
|
+
"url(" + a + "#" + c(N.relationType.DEPENDENCY) + "End)"
|
|
110
|
+
), d.title !== void 0) {
|
|
111
|
+
const s = e.append("g").attr("class", "stateLabel"), { x: w, y: p } = F.calcLabelPosition(i.points), o = z.getRows(d.title);
|
|
112
|
+
let g = 0;
|
|
113
|
+
const m = [];
|
|
114
|
+
let B = 0, E = 0;
|
|
115
|
+
for (let u = 0; u <= o.length; u++) {
|
|
116
|
+
const h = s.append("text").attr("text-anchor", "middle").text(o[u]).attr("x", w).attr("y", p + g), y = h.node().getBBox();
|
|
117
|
+
B = Math.max(B, y.width), E = Math.min(E, y.x), S.info(y.x, w, p + g), g === 0 && (g = h.node().getBBox().height, S.info("Title height", g, p)), m.push(h);
|
|
118
|
+
}
|
|
119
|
+
let k = g * o.length;
|
|
120
|
+
if (o.length > 1) {
|
|
121
|
+
const u = (o.length - 1) * g * 0.5;
|
|
122
|
+
m.forEach((h, y) => h.attr("y", p + y * g - u)), k = g * o.length;
|
|
123
|
+
}
|
|
124
|
+
const r = s.node().getBBox();
|
|
125
|
+
s.insert("rect", ":first-child").attr("class", "box").attr("x", w - B / 2 - t().state.padding / 2).attr("y", p - k / 2 - t().state.padding / 2 - 3.5).attr("width", B + t().state.padding).attr("height", k + t().state.padding), S.info(r);
|
|
126
|
+
}
|
|
127
|
+
R++;
|
|
128
|
+
}, "drawEdge"), b, T = {}, V = /* @__PURE__ */ f(function() {
|
|
129
|
+
}, "setConf"), tt = /* @__PURE__ */ f(function(e) {
|
|
130
|
+
e.append("defs").append("marker").attr("id", "dependencyEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
|
|
131
|
+
}, "insertMarkers"), et = /* @__PURE__ */ f(function(e, i, d, c) {
|
|
132
|
+
b = t().state;
|
|
133
|
+
const n = t().securityLevel;
|
|
134
|
+
let l;
|
|
135
|
+
n === "sandbox" && (l = H("#i" + i));
|
|
136
|
+
const x = n === "sandbox" ? H(l.nodes()[0].contentDocument.body) : H("body"), a = n === "sandbox" ? l.nodes()[0].contentDocument : document;
|
|
137
|
+
S.debug("Rendering diagram " + e);
|
|
138
|
+
const s = x.select(`[id='${i}']`);
|
|
139
|
+
tt(s);
|
|
140
|
+
const w = c.db.getRootDoc();
|
|
141
|
+
A(w, s, void 0, !1, x, a, c);
|
|
142
|
+
const p = b.padding, o = s.node().getBBox(), g = o.width + p * 2, m = o.height + p * 2, B = g * 1.75;
|
|
143
|
+
P(s, m, B, b.useMaxWidth), s.attr(
|
|
144
|
+
"viewBox",
|
|
145
|
+
`${o.x - b.padding} ${o.y - b.padding} ` + g + " " + m
|
|
146
|
+
);
|
|
147
|
+
}, "draw"), at = /* @__PURE__ */ f((e) => e ? e.length * b.fontSizeFactor : 1, "getLabelWidth"), A = /* @__PURE__ */ f((e, i, d, c, n, l, x) => {
|
|
148
|
+
const a = new J({
|
|
149
|
+
compound: !0,
|
|
150
|
+
multigraph: !0
|
|
151
|
+
});
|
|
152
|
+
let s, w = !0;
|
|
153
|
+
for (s = 0; s < e.length; s++)
|
|
154
|
+
if (e[s].stmt === "relation") {
|
|
155
|
+
w = !1;
|
|
156
|
+
break;
|
|
157
|
+
}
|
|
158
|
+
d ? a.setGraph({
|
|
159
|
+
rankdir: "LR",
|
|
160
|
+
multigraph: !0,
|
|
161
|
+
compound: !0,
|
|
162
|
+
// acyclicer: 'greedy',
|
|
163
|
+
ranker: "tight-tree",
|
|
164
|
+
ranksep: w ? 1 : b.edgeLengthFactor,
|
|
165
|
+
nodeSep: w ? 1 : 50,
|
|
166
|
+
isMultiGraph: !0
|
|
167
|
+
// ranksep: 5,
|
|
168
|
+
// nodesep: 1
|
|
169
|
+
}) : a.setGraph({
|
|
170
|
+
rankdir: "TB",
|
|
171
|
+
multigraph: !0,
|
|
172
|
+
compound: !0,
|
|
173
|
+
// isCompound: true,
|
|
174
|
+
// acyclicer: 'greedy',
|
|
175
|
+
// ranker: 'longest-path'
|
|
176
|
+
ranksep: w ? 1 : b.edgeLengthFactor,
|
|
177
|
+
nodeSep: w ? 1 : 50,
|
|
178
|
+
ranker: "tight-tree",
|
|
179
|
+
// ranker: 'network-simplex'
|
|
180
|
+
isMultiGraph: !0
|
|
181
|
+
}), a.setDefaultEdgeLabel(function() {
|
|
182
|
+
return {};
|
|
183
|
+
});
|
|
184
|
+
const p = x.db.getStates(), o = x.db.getRelations(), g = Object.keys(p);
|
|
185
|
+
for (const r of g) {
|
|
186
|
+
const u = p[r];
|
|
187
|
+
d && (u.parentId = d);
|
|
188
|
+
let h;
|
|
189
|
+
if (u.doc) {
|
|
190
|
+
let y = i.append("g").attr("id", u.id).attr("class", "stateGroup");
|
|
191
|
+
h = A(u.doc, y, u.id, !c, n, l, x);
|
|
192
|
+
{
|
|
193
|
+
y = $(y, u, c);
|
|
194
|
+
let v = y.node().getBBox();
|
|
195
|
+
h.width = v.width, h.height = v.height + b.padding / 2, T[u.id] = { y: b.compositTitleSize };
|
|
196
|
+
}
|
|
197
|
+
} else
|
|
198
|
+
h = L(i, u, a);
|
|
199
|
+
if (u.note) {
|
|
200
|
+
const y = {
|
|
201
|
+
descriptions: [],
|
|
202
|
+
id: u.id + "-note",
|
|
203
|
+
note: u.note,
|
|
204
|
+
type: "note"
|
|
205
|
+
}, v = L(i, y, a);
|
|
206
|
+
u.note.position === "left of" ? (a.setNode(h.id + "-note", v), a.setNode(h.id, h)) : (a.setNode(h.id, h), a.setNode(h.id + "-note", v)), a.setParent(h.id, h.id + "-group"), a.setParent(h.id + "-note", h.id + "-group");
|
|
207
|
+
} else
|
|
208
|
+
a.setNode(h.id, h);
|
|
209
|
+
}
|
|
210
|
+
S.debug("Count=", a.nodeCount(), a);
|
|
211
|
+
let m = 0;
|
|
212
|
+
o.forEach(function(r) {
|
|
213
|
+
m++, S.debug("Setting edge", r), a.setEdge(
|
|
214
|
+
r.id1,
|
|
215
|
+
r.id2,
|
|
216
|
+
{
|
|
217
|
+
relation: r,
|
|
218
|
+
width: at(r.title),
|
|
219
|
+
height: b.labelHeight * z.getRows(r.title).length,
|
|
220
|
+
labelpos: "c"
|
|
221
|
+
},
|
|
222
|
+
"id" + m
|
|
223
|
+
);
|
|
224
|
+
}), O(a), S.debug("Graph after layout", a.nodes());
|
|
225
|
+
const B = i.node();
|
|
226
|
+
a.nodes().forEach(function(r) {
|
|
227
|
+
r !== void 0 && a.node(r) !== void 0 ? (S.warn("Node " + r + ": " + JSON.stringify(a.node(r))), n.select("#" + B.id + " #" + r).attr(
|
|
228
|
+
"transform",
|
|
229
|
+
"translate(" + (a.node(r).x - a.node(r).width / 2) + "," + (a.node(r).y + (T[r] ? T[r].y : 0) - a.node(r).height / 2) + " )"
|
|
230
|
+
), n.select("#" + B.id + " #" + r).attr("data-x-shift", a.node(r).x - a.node(r).width / 2), l.querySelectorAll("#" + B.id + " #" + r + " .divider").forEach((h) => {
|
|
231
|
+
const y = h.parentElement;
|
|
232
|
+
let v = 0, M = 0;
|
|
233
|
+
y && (y.parentElement && (v = y.parentElement.getBBox().width), M = parseInt(y.getAttribute("data-x-shift"), 10), Number.isNaN(M) && (M = 0)), h.setAttribute("x1", 0 - M + 8), h.setAttribute("x2", v - M - 8);
|
|
234
|
+
})) : S.debug("No Node " + r + ": " + JSON.stringify(a.node(r)));
|
|
235
|
+
});
|
|
236
|
+
let E = B.getBBox();
|
|
237
|
+
a.edges().forEach(function(r) {
|
|
238
|
+
r !== void 0 && a.edge(r) !== void 0 && (S.debug("Edge " + r.v + " -> " + r.w + ": " + JSON.stringify(a.edge(r))), Q(i, a.edge(r), a.edge(r).relation));
|
|
239
|
+
}), E = B.getBBox();
|
|
240
|
+
const k = {
|
|
241
|
+
id: d || "root",
|
|
242
|
+
label: d || "root",
|
|
243
|
+
width: 0,
|
|
244
|
+
height: 0
|
|
245
|
+
};
|
|
246
|
+
return k.width = E.width + 2 * b.padding, k.height = E.height + 2 * b.padding, S.debug("Doc rendered", k, a), k;
|
|
247
|
+
}, "renderDoc"), it = {
|
|
248
|
+
setConf: V,
|
|
249
|
+
draw: et
|
|
250
|
+
}, ot = {
|
|
251
|
+
parser: W,
|
|
252
|
+
get db() {
|
|
253
|
+
return new N(1);
|
|
254
|
+
},
|
|
255
|
+
renderer: it,
|
|
256
|
+
styles: G,
|
|
257
|
+
init: /* @__PURE__ */ f((e) => {
|
|
258
|
+
e.state || (e.state = {}), e.state.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
259
|
+
}, "init")
|
|
260
|
+
};
|
|
261
|
+
export {
|
|
262
|
+
ot as diagram
|
|
263
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { s as a, b as t, a as r, S as s } from "./chunk-DI55MBZ5-D3l7TA-E.js";
|
|
2
|
+
import { _ as i } from "./mermaid.core-QjuzH7xx.js";
|
|
3
|
+
var _ = {
|
|
4
|
+
parser: r,
|
|
5
|
+
get db() {
|
|
6
|
+
return new s(2);
|
|
7
|
+
},
|
|
8
|
+
renderer: t,
|
|
9
|
+
styles: a,
|
|
10
|
+
init: /* @__PURE__ */ i((e) => {
|
|
11
|
+
e.state || (e.state = {}), e.state.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
12
|
+
}, "init")
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
_ as diagram
|
|
16
|
+
};
|