@keadex/mina-live 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/3rdpartylicenses.txt +65 -0
  2. package/KFOiCnqEu92Fr1Mu51QrEz0dL_nz.woff2 +0 -0
  3. package/KFOiCnqEu92Fr1Mu51QrEz4dL_nz.woff2 +0 -0
  4. package/KFOiCnqEu92Fr1Mu51QrEz8dL_nz.woff2 +0 -0
  5. package/KFOiCnqEu92Fr1Mu51QrEzAdLw.woff2 +0 -0
  6. package/KFOiCnqEu92Fr1Mu51QrEzMdL_nz.woff2 +0 -0
  7. package/KFOiCnqEu92Fr1Mu51QrEzQdL_nz.woff2 +0 -0
  8. package/KFOiCnqEu92Fr1Mu51QrEzwdL_nz.woff2 +0 -0
  9. package/KFOjCnqEu92Fr1Mu51TjASc-CsTKlA.woff2 +0 -0
  10. package/KFOjCnqEu92Fr1Mu51TjASc0CsTKlA.woff2 +0 -0
  11. package/KFOjCnqEu92Fr1Mu51TjASc1CsTKlA.woff2 +0 -0
  12. package/KFOjCnqEu92Fr1Mu51TjASc2CsTKlA.woff2 +0 -0
  13. package/KFOjCnqEu92Fr1Mu51TjASc3CsTKlA.woff2 +0 -0
  14. package/KFOjCnqEu92Fr1Mu51TjASc5CsTKlA.woff2 +0 -0
  15. package/KFOjCnqEu92Fr1Mu51TjASc6CsQ.woff2 +0 -0
  16. package/KFOjCnqEu92Fr1Mu51TzBic-CsTKlA.woff2 +0 -0
  17. package/KFOjCnqEu92Fr1Mu51TzBic0CsTKlA.woff2 +0 -0
  18. package/KFOjCnqEu92Fr1Mu51TzBic1CsTKlA.woff2 +0 -0
  19. package/KFOjCnqEu92Fr1Mu51TzBic2CsTKlA.woff2 +0 -0
  20. package/KFOjCnqEu92Fr1Mu51TzBic3CsTKlA.woff2 +0 -0
  21. package/KFOjCnqEu92Fr1Mu51TzBic5CsTKlA.woff2 +0 -0
  22. package/KFOjCnqEu92Fr1Mu51TzBic6CsQ.woff2 +0 -0
  23. package/KFOkCnqEu92Fr1MmgVxEIzIFKw.woff2 +0 -0
  24. package/KFOkCnqEu92Fr1MmgVxFIzIFKw.woff2 +0 -0
  25. package/KFOkCnqEu92Fr1MmgVxGIzIFKw.woff2 +0 -0
  26. package/KFOkCnqEu92Fr1MmgVxHIzIFKw.woff2 +0 -0
  27. package/KFOkCnqEu92Fr1MmgVxIIzI.woff2 +0 -0
  28. package/KFOkCnqEu92Fr1MmgVxLIzIFKw.woff2 +0 -0
  29. package/KFOkCnqEu92Fr1MmgVxMIzIFKw.woff2 +0 -0
  30. package/KFOkCnqEu92Fr1Mu51xEIzIFKw.woff2 +0 -0
  31. package/KFOkCnqEu92Fr1Mu51xFIzIFKw.woff2 +0 -0
  32. package/KFOkCnqEu92Fr1Mu51xGIzIFKw.woff2 +0 -0
  33. package/KFOkCnqEu92Fr1Mu51xHIzIFKw.woff2 +0 -0
  34. package/KFOkCnqEu92Fr1Mu51xIIzI.woff2 +0 -0
  35. package/KFOkCnqEu92Fr1Mu51xLIzIFKw.woff2 +0 -0
  36. package/KFOkCnqEu92Fr1Mu51xMIzIFKw.woff2 +0 -0
  37. package/KFOlCnqEu92Fr1MmSU5fABc4EsA.woff2 +0 -0
  38. package/KFOlCnqEu92Fr1MmSU5fBBc4.woff2 +0 -0
  39. package/KFOlCnqEu92Fr1MmSU5fBxc4EsA.woff2 +0 -0
  40. package/KFOlCnqEu92Fr1MmSU5fCBc4EsA.woff2 +0 -0
  41. package/KFOlCnqEu92Fr1MmSU5fCRc4EsA.woff2 +0 -0
  42. package/KFOlCnqEu92Fr1MmSU5fChc4EsA.woff2 +0 -0
  43. package/KFOlCnqEu92Fr1MmSU5fCxc4EsA.woff2 +0 -0
  44. package/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2 +0 -0
  45. package/KFOlCnqEu92Fr1MmWUlfBBc4.woff2 +0 -0
  46. package/KFOlCnqEu92Fr1MmWUlfBxc4EsA.woff2 +0 -0
  47. package/KFOlCnqEu92Fr1MmWUlfCBc4EsA.woff2 +0 -0
  48. package/KFOlCnqEu92Fr1MmWUlfCRc4EsA.woff2 +0 -0
  49. package/KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2 +0 -0
  50. package/KFOlCnqEu92Fr1MmWUlfCxc4EsA.woff2 +0 -0
  51. package/KFOmCnqEu92Fr1Mu4WxKOzY.woff2 +0 -0
  52. package/KFOmCnqEu92Fr1Mu4mxK.woff2 +0 -0
  53. package/KFOmCnqEu92Fr1Mu5mxKOzY.woff2 +0 -0
  54. package/KFOmCnqEu92Fr1Mu72xKOzY.woff2 +0 -0
  55. package/KFOmCnqEu92Fr1Mu7GxKOzY.woff2 +0 -0
  56. package/KFOmCnqEu92Fr1Mu7WxKOzY.woff2 +0 -0
  57. package/KFOmCnqEu92Fr1Mu7mxKOzY.woff2 +0 -0
  58. package/README.md +164 -0
  59. package/aa95fb6f4a1ae024f6e1.module.wasm +0 -0
  60. package/index.css +7035 -0
  61. package/index.d.ts +3 -0
  62. package/index.js +1 -0
  63. package/mina-live-middleware.d.ts +1 -0
  64. package/mina-live-middleware.js +1 -0
  65. package/mina-live-plugin.js +1 -0
  66. package/package.json +109 -0
  67. package/src/components/MinaLive/LazyMinaLive.d.ts +3 -0
  68. package/src/components/MinaLive/MinaLive.d.ts +6 -0
  69. package/src/nextjs/mina-live-middleware.d.ts +2 -0
  70. package/src/nextjs/mina-live-plugin.d.ts +17 -0
  71. package/src/tauri/tauri-plugin-adapter.d.ts +2 -0
  72. package/src/tauri/tauri-web-adapter.d.ts +12 -0
  73. package/src/tauri/wasm-bridge.d.ts +2 -0
  74. package/src/webpack/webpack.config.d.ts +15 -0
  75. package/static/keadex-mina/locales/en/translation.json +242 -0
  76. package/static/keadex-mina/mina-banner.svg +1 -0
  77. package/static/keadex-mina/mina-logo-full.png +0 -0
  78. package/static/keadex-mina/mina-logo-full.svg +1 -0
  79. package/static/keadex-mina/mina-logo.svg +1 -0
  80. package/static/keadex-mina/mina-plantuml.png +0 -0
  81. package/static/keadex-mina/vite.svg +1 -0
  82. package/static/mina-live-logo.svg +1 -0
  83. package/webpack.config.js +1 -0
@@ -0,0 +1 @@
1
+ export { minaMiddleware } from './src/nextjs/mina-live-middleware';
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var e={d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{minaMiddleware:()=>n});const r=require("next/server");function n(e){var t;if(null!=(t=e.headers.get("referer"))&&t.match(/.*\/mina-live$/)&&e.nextUrl.pathname.match(/.*\.(svg|png|jpeg|jpg)/)){const t=e.nextUrl.pathname.substring(e.nextUrl.pathname.lastIndexOf("/")+1);return r.NextResponse.rewrite(new URL(`/_next/static/keadex-mina/${t}`,e.url))}}module.exports=t})();
@@ -0,0 +1 @@
1
+ (()=>{var __webpack_modules__={1909:e=>{"use strict";e.exports=require("copy-webpack-plugin")},5358:(module,__unused_webpack_exports,__webpack_require__)=>{const CopyPlugin=__webpack_require__(1909),{relative}=eval("require")("path");function withMinaLiveWebpackConfig(options){let isNextJsConfig=!1,minaLivePackageAlias="@keadex/mina-live";var _options$minaLivePack;options&&(isNextJsConfig=options.isNextJsConfig,minaLivePackageAlias=null!=(_options$minaLivePack=options.minaLivePackageAlias)?_options$minaLivePack:minaLivePackageAlias);let minaLiveRoot=eval("require").resolve(minaLivePackageAlias);return minaLiveRoot=minaLiveRoot.replace(/\\/g,"/").replace("/index.js",""),function(e){e.plugins||(e.plugins=[]);const i=[];return isNextJsConfig?i.push({from:`${minaLiveRoot}/*.wasm`,to:({context:e,absoluteFilename:i})=>"static/chunks/[name][ext]"},{from:`${minaLiveRoot}/static/keadex-mina/**/*`,to:({context:e,absoluteFilename:i})=>`static/keadex-mina/${relative(`${minaLiveRoot}/static/keadex-mina/`,i)}`}):(i.push({from:`${minaLiveRoot}/*.wasm`,to:({context:e,absoluteFilename:i})=>"static/js/[name][ext]"},{from:`${minaLiveRoot}/static/keadex-mina/locales`,to:({context:e,absoluteFilename:i})=>"_next/static/keadex-mina/locales"},{from:`${minaLiveRoot}/static/keadex-mina/**/*`,globOptions:{ignore:["**/locales"]},to:({context:e,absoluteFilename:i})=>`${relative(`${minaLiveRoot}/static/keadex-mina/`,i)}`}),e.module=Object.assign({},e.module,{rules:e.module.rules.map((e=>(e.oneOf instanceof Array&&(e.oneOf[e.oneOf.length-1].exclude=[/\.(js|mjs|jsx|cjs|ts|tsx)$/,/\.html$/,/\.json$/]),e)))})),e.plugins.push(new CopyPlugin({patterns:i})),e}}module.exports={withMinaLiveWebpackConfig}},5760:(e,i,a)=>{const{withMinaLiveWebpackConfig:t}=a(5358);e.exports=function(e){let i="@keadex/mina-live";var a;return e&&(i=null!=(a=e.minaLivePackageAlias)?a:i),function(e){return Object.assign({},e,{webpack:(a,n)=>(a=t({minaLivePackageAlias:i,isNextJsConfig:!0})(a),n.isServer||(a.output.environment=Object.assign({},a.output.environment,{asyncFunction:!0})),"function"==typeof e.webpack?e.webpack(a,n):a)})}}}},__webpack_module_cache__={};function __webpack_require__(e){var i=__webpack_module_cache__[e];if(void 0!==i)return i.exports;var a=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](a,a.exports,__webpack_require__),a.exports}var __webpack_exports__=__webpack_require__(5760);module.exports=__webpack_exports__})();
package/package.json ADDED
@@ -0,0 +1,109 @@
1
+ {
2
+ "name": "@keadex/mina-live",
3
+ "description": "Web porting of the Keadex Mina application.",
4
+ "author": "Keadex <keadex.it@gmail.com>",
5
+ "license": "MIT",
6
+ "version": "2.0.0",
7
+ "private": false,
8
+ "homepage": "https://keadex.dev",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/keadex/keadex"
12
+ },
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
16
+ "keywords": [
17
+ "c4-model",
18
+ "interactive",
19
+ "diagrams",
20
+ "render",
21
+ "mina",
22
+ "live",
23
+ "editor",
24
+ "web"
25
+ ],
26
+ "types": "index.d.ts",
27
+ "exports": {
28
+ ".": "./index.js",
29
+ "./index.css": "./index.css",
30
+ "./nextjs-middleware": "./mina-live-middleware.js",
31
+ "./nextjs-plugin": "./mina-live-plugin.js",
32
+ "./webpack-config": "./webpack.config.js"
33
+ },
34
+ "devDependencies": {
35
+ "@nx/react": "21.0.3",
36
+ "@nx/webpack": "21.0.3",
37
+ "@wasm-tool/wasm-pack-plugin": "^1.7.0",
38
+ "webpack": "^5.98.0",
39
+ "webpack-node-externals": "^3.0.0",
40
+ "@tauri-apps/cli": "^2.2.7",
41
+ "@testing-library/react": "14.0.0",
42
+ "@types/escape-html": "^1.0.4",
43
+ "@types/fabric": "^5.3.10",
44
+ "@types/fontfaceobserver": "^2.1.2",
45
+ "@types/pluralize": "^0.0.31",
46
+ "@types/react": "^18.2.28",
47
+ "@types/react-dom": "^18.2.13",
48
+ "@types/react-resizable": "^3.0.5",
49
+ "@types/uuid": "^9.0.5",
50
+ "@types/wicg-file-system-access": "^2023.10.5",
51
+ "@vitejs/plugin-react": "^4.1.0",
52
+ "autoprefixer": "^10.4.16",
53
+ "postcss": "^8.4.33",
54
+ "postcss-import": "^15.1.0",
55
+ "semver": "^7.6.2",
56
+ "tailwindcss": "^3.3.3",
57
+ "typescript": "^5.2.2"
58
+ },
59
+ "dependencies": {
60
+ "@fortawesome/fontawesome-svg-core": "^6.4.2",
61
+ "@fortawesome/free-solid-svg-icons": "^6.4.2",
62
+ "@fortawesome/react-fontawesome": "^0.2.2",
63
+ "@hpcc-js/wasm-graphviz": "^1.7.0",
64
+ "@monaco-editor/react": "^4.6.0",
65
+ "@reduxjs/toolkit": "^1.9.7",
66
+ "@tanstack/react-table": "^8.10.7",
67
+ "@tauri-apps/api": "^2.2.0",
68
+ "@tauri-apps/plugin-clipboard-manager": "^2.2.1",
69
+ "@tauri-apps/plugin-deep-link": "^2.2.0",
70
+ "@tauri-apps/plugin-dialog": "^2.2.0",
71
+ "@tauri-apps/plugin-os": "^2.2.0",
72
+ "@tauri-apps/plugin-process": "^2.2.0",
73
+ "@tauri-apps/plugin-shell": "^2.2.0",
74
+ "@tauri-apps/plugin-updater": "^2.5.0",
75
+ "@yaireo/tagify": "^4.24.0",
76
+ "ahooks": "^3.7.8",
77
+ "buffer": "^6.0.3",
78
+ "change-case": "^5.4.3",
79
+ "copy-webpack-plugin": "^12.0.2",
80
+ "escape-html": "^1.0.3",
81
+ "escape-string-regexp": "^5.0.0",
82
+ "fabric": "^5.5.2",
83
+ "fontfaceobserver": "^2.3.0",
84
+ "i18next": "^23.5.1",
85
+ "i18next-http-backend": "^2.2.2",
86
+ "lodash.clonedeep": "^4.5.0",
87
+ "monaco-editor": "^0.44.0",
88
+ "pluralize": "^8.0.0",
89
+ "react-color": "^2.19.3",
90
+ "react-ga4": "^2.1.0",
91
+ "react-hotkeys-hook": "^4.4.1",
92
+ "react-html-parser": "^2.0.2",
93
+ "react-i18next": "^15.4.0",
94
+ "react-redux": "^8.1.3",
95
+ "react-resizable": "^3.0.5",
96
+ "react-resize-detector": "^9.1.0",
97
+ "react-toastify": "^11.0.3",
98
+ "ts-key-enum": "^2.0.12",
99
+ "tw-elements": "1.0.0",
100
+ "uuid": "^9.0.1",
101
+ "wasm-pack": "^0.12.1"
102
+ },
103
+ "peerDependencies": {
104
+ "react-router": "^6.28.0",
105
+ "react-router-dom": "^6.28.0",
106
+ "react": "^18.2.0",
107
+ "react-dom": "^18.2.0"
108
+ }
109
+ }
@@ -0,0 +1,3 @@
1
+ import { type MinaLiveProps } from './MinaLive';
2
+ export declare const LazyMinaLive: (props: MinaLiveProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LazyMinaLive;
@@ -0,0 +1,6 @@
1
+ import '../../tauri/tauri-web-adapter';
2
+ import React from 'react';
3
+ import '@keadex/keadex-mina/src/styles/index.css';
4
+ export type MinaLiveProps = {};
5
+ export declare const MinaLive: React.NamedExoticComponent<MinaLiveProps>;
6
+ export default MinaLive;
@@ -0,0 +1,2 @@
1
+ import { NextRequest, NextResponse } from 'next/server';
2
+ export declare function minaMiddleware(req: NextRequest): NextResponse<unknown> | void;
@@ -0,0 +1,17 @@
1
+ export = withMinaLive;
2
+ /**
3
+ * @typedef {Object} MinaLiveOptions
4
+ * @property {String | undefined} minaLivePackageAlias
5
+ */
6
+ /**
7
+ * Returns the webpack configuration to use Mina Live
8
+ * @param {MinaLiveOptions | undefined} minaLiveOptions
9
+ * @returns
10
+ */
11
+ declare function withMinaLive(minaLiveOptions: MinaLiveOptions | undefined): (nextjsConfig: any) => any;
12
+ declare namespace withMinaLive {
13
+ export { MinaLiveOptions };
14
+ }
15
+ type MinaLiveOptions = {
16
+ minaLivePackageAlias: string | undefined;
17
+ };
@@ -0,0 +1,2 @@
1
+ import type { InvokeArgs } from '@tauri-apps/api/core';
2
+ export declare function invokeTauriPlugin<T>(plugin: string, args?: InvokeArgs): Promise<T>;
@@ -0,0 +1,12 @@
1
+ import type { invoke, transformCallback } from '@tauri-apps/api/core';
2
+ import type { WebviewWindow } from '@tauri-apps/api/webviewWindow';
3
+ declare global {
4
+ interface Window {
5
+ __TAURI_IPC__: (message: any) => void;
6
+ __TAURI_INTERNALS__: {
7
+ invoke: typeof invoke;
8
+ transformCallback: typeof transformCallback;
9
+ };
10
+ }
11
+ }
12
+ export declare function getCurrentWebviewWindow(): Partial<WebviewWindow>;
@@ -0,0 +1,2 @@
1
+ import type { InvokeArgs } from '@tauri-apps/api/core';
2
+ export declare function invokeWasmFunction<T>(functionName: string, args?: InvokeArgs): Promise<T>;
@@ -0,0 +1,15 @@
1
+ export type MinaLiveWebpackOptions = {
2
+ minaLivePackageAlias: string | undefined;
3
+ isNextJsConfig: boolean | undefined;
4
+ };
5
+ /**
6
+ * @typedef {Object} MinaLiveWebpackOptions
7
+ * @property {String | undefined} minaLivePackageAlias
8
+ * @property {boolean | undefined} isNextJsConfig
9
+ */
10
+ /**
11
+ * Returns the webpack configuration to use Mina Live
12
+ * @param {MinaLiveWebpackOptions | undefined} options
13
+ * @returns
14
+ */
15
+ export function withMinaLiveWebpackConfig(options: MinaLiveWebpackOptions | undefined): (config: any) => any;
@@ -0,0 +1,242 @@
1
+ {
2
+ "common": {
3
+ "about": "About",
4
+ "ai": "AI",
5
+ "alias": "Alias",
6
+ "allowed_pattern": "Allowed pattern",
7
+ "architecture": "Architecture",
8
+ "autosave": "Autosave",
9
+ "autosave_interval_sec": "Autosave Interval (seconds)",
10
+ "auto_layout": "Auto Layout",
11
+ "boundary": "Boundary",
12
+ "cancel": "Cancel",
13
+ "check_dependencies": "Check Dependencies",
14
+ "close": "Close",
15
+ "commands": "Commands",
16
+ "component": "Component",
17
+ "component_external": "Component External",
18
+ "confirm": "Confirm",
19
+ "confirmation": "Confirmation",
20
+ "container": "Container",
21
+ "container_external": "Container External",
22
+ "copy": "Copy",
23
+ "curved_arrows": "Curved Arrows",
24
+ "create": "Create",
25
+ "cut": "Cut",
26
+ "c4_model": "C4 Model",
27
+ "c4_plantuml": "C4 PlantUML",
28
+ "default": "Default",
29
+ "delete": "Delete",
30
+ "dependency_table": "Dependency Table",
31
+ "dependent_elements": "Dependent Elements",
32
+ "deployment_node": "Deployment Node",
33
+ "description": "Description",
34
+ "diagram": "Diagram",
35
+ "diagrams": "Diagrams",
36
+ "diagram_name": "Diagram Name",
37
+ "diagram_type": "Diagram Type",
38
+ "disabled": "Disabled",
39
+ "documentation": "Documentation",
40
+ "duplicate": "Duplicate",
41
+ "edit": "Edit",
42
+ "editor": "Editor",
43
+ "empty": "Empty",
44
+ "enabled": "Enabled",
45
+ "example": "Example",
46
+ "exit": "Exit",
47
+ "export": "Export",
48
+ "external": "External",
49
+ "external_links": "External Links",
50
+ "file": "File",
51
+ "find": "Find",
52
+ "from": "From",
53
+ "general": "General",
54
+ "generate": "Generate",
55
+ "generating": "Generating",
56
+ "github_repo": "GitHub Repo",
57
+ "github_token": "GitHub Token",
58
+ "global": "Global",
59
+ "help": "Help",
60
+ "internal": "Internal",
61
+ "internal_link": "Internal Link",
62
+ "invalid": "Invalid",
63
+ "kernel": "Kernel",
64
+ "legend": "Legend",
65
+ "library": "Library",
66
+ "label": "Label",
67
+ "location": "Location",
68
+ "max": "Max",
69
+ "model": "Model",
70
+ "name": "Name",
71
+ "new": "New",
72
+ "no": "No",
73
+ "note": "Note",
74
+ "notes": "Notes",
75
+ "open": "Open",
76
+ "orientation": "Orientation",
77
+ "paste": "Paste",
78
+ "path": "Path",
79
+ "person": "Person",
80
+ "person_external": "Person External",
81
+ "platform": "Platform",
82
+ "proceed": "Proceed",
83
+ "project": "Project",
84
+ "redo": "Redo",
85
+ "relationship": "Relationship",
86
+ "render": "Render",
87
+ "rendering": "Rendering",
88
+ "required": "Required",
89
+ "reset": "Reset",
90
+ "result": "Result",
91
+ "results": "Results",
92
+ "save": "Save",
93
+ "saving": "Saving",
94
+ "seconds": "Seconds",
95
+ "search": "Search",
96
+ "settings": "Settings",
97
+ "software_system": "Software System",
98
+ "software_system_external": "Software System External",
99
+ "status": "Status",
100
+ "system": "System",
101
+ "tags": "Tags",
102
+ "technology": "Technology",
103
+ "themes": "Themes",
104
+ "to": "To",
105
+ "type": "Type",
106
+ "undo": "Undo",
107
+ "unlink": "Unlink",
108
+ "value": "Value",
109
+ "version": "Version",
110
+ "yes": "Yes",
111
+ "action": {
112
+ "check_for_updates": "Check for Updates...",
113
+ "close_project": "Close Project",
114
+ "copy_deep_link": "Copy deep link",
115
+ "copy_ssr_link": "Copy SSR link",
116
+ "download_desktop_app": "Download desktop app",
117
+ "download_mina_cli": "Download Mina CLI",
118
+ "link_existing_diagram": "Link an existing diagram",
119
+ "link_to_diagram": "Link \"{{alias}}\" to...",
120
+ "new_project": "New Project",
121
+ "open_project": "Open Project",
122
+ "report_issue": "Report Issue"
123
+ },
124
+ "error": {
125
+ "internal": "Internal error: {{errorMessage}}",
126
+ "cannot_add_link": "Cannot add a link to the selected PlantUML element. Move the cursor on a Software System, Container, or Component in the code editor. ",
127
+ "cannot_add_to_library": "Cannot add the selected PlantUML element to the library. Move the cursor on a Person, Software System, Container, or Component in the code editor. ",
128
+ "cannot_delete_diagram": "Cannot delete the diagram: {{errorMessage}}",
129
+ "cannot_delete_element": "Cannot delete this element.",
130
+ "invalid_diagram_link": "Diagram not found. Check the diagram link.",
131
+ "invalid_path": "Invalid path",
132
+ "missing_project_root": "Missing project root",
133
+ "missing_ai_api_base_url": "Missing AI API Base URL. Configure it in the project's settings.",
134
+ "missing_ai_api_key": "Missing AI API Key. Configure it in the project's settings.",
135
+ "project_not_closed": "Project not closed: {{errorMessage}}",
136
+ "project_not_opened": "Project not opened: {{errorMessage}}"
137
+ },
138
+ "info": {
139
+ "coming_soon": "Coming Soon!",
140
+ "copied_to_clipboard": "Copied to clipboard!",
141
+ "diagram_exported": "Diagram exported in {{pathExportedDiagram}}",
142
+ "done": "Done",
143
+ "fill_required_fields": "Please fill in all required fields.",
144
+ "i_saved_my_changes": "I've saved my changes",
145
+ "limit_results": "More than {{count}} matches. This list could contain a subset of the results.",
146
+ "no_diagrams": "No diagrams",
147
+ "no_results": "No results",
148
+ "youre_up_to_date": "You're up to date!"
149
+ },
150
+ "question": {
151
+ "confirm_close_app": "Are you sure you want to close the application? Not saved changes will be lost.",
152
+ "confirm_close_project": "Are you sure you want to close the project? Not saved changes will be lost.",
153
+ "confirm_close_diagram": "Are you sure you want to close the diagram? Not saved changes will be lost.",
154
+ "confirm_delete_diagram": "Are you sure you want to permanently delete the {{diagramType}} diagram \"{{diagramName}}\"?",
155
+ "confirm_delete_element": "Are you sure you want to permanently delete this element?",
156
+ "confirm_go_to_diagram": "Are you sure you want to open the linked diagram? Not saved changes to the current diagram will be lost.",
157
+ "confirm_not_saved_changed": "Are you sure you want to continue? Not saved changes will be lost.",
158
+ "confirm_not_saved_changed_current_project": "Are you sure you want to continue? Not saved changes of the current project will be lost.",
159
+ "confirm_exit": "Are you sure you want to exit? Not saved changes of the current project will be lost."
160
+ }
161
+ },
162
+ "about": {
163
+ "os_type": "OS Type",
164
+ "kernel_version": "Kernel Version"
165
+ },
166
+ "deep_link": {
167
+ "invalid_diagram_path": "The deep link '{{deepLink}}' contains an invalid diagram link.",
168
+ "invalid_dependency_table_path": "The deep link '{{deepLink}}' contains an invalid dependency table parameter. It should contain only the alias parameter.",
169
+ "invalid_remote_diagram_path": "The deep link '{{deepLink}}' contains an invalid remote diagram parameter. It should contain only the parameter of the diagram to open.",
170
+ "required_open_project": "The deep link '{{deepLink}}' requires an active project to be open.",
171
+ "remote_diagrams_project_opened": "Cannot open the remote diagram. A project is currently opened. Close the project to open the remote diagram.",
172
+ "unsupported_deep_link": "Unsupported deep link."
173
+ },
174
+ "dependency_table": {
175
+ "alias_hint": "Diagram Element Alias",
176
+ "dependencies_retrieval_error": "An error occured while retrieving the dependencies: {{errorMessage}}",
177
+ "description_feature": "This tool can be used to identify which diagrams include the architectural element with the specified alias.",
178
+ "no_dependencies_found": "No dependencies found."
179
+ },
180
+ "diagram_editor": {
181
+ "add_diagram_element": "Add a diagram element",
182
+ "add_to_library": "Add to the library",
183
+ "add_to_library_detailed_title": "Add the {{elementType}} \"{{alias}}\" to the library",
184
+ "ai_diagram_generator": "AI diagram generator",
185
+ "ai_hint": "Description of the diagram to generate",
186
+ "configure_auto_layout": "Configure auto layout",
187
+ "copy_deep_link": "Copy deep link of the diagram",
188
+ "element_imported": "Element imported",
189
+ "external_links_info": "Max {{maxNumExternalLinks}} links. Allowed links: {{allowedLinks}}. Allowed link variables: {{allowedVariables}}.",
190
+ "import_from_library": "Import from the library",
191
+ "link_to": "Link to...",
192
+ "plantuml_generated": "PlantUML generated",
193
+ "saving_rendering_diagram": "Saving & Rendering",
194
+ "select_element_type_to_import": "Select the C4 element type to import from the library",
195
+ "warning_enable_autolayout": "You are enabling the auto layout. All the changes you made to the diagram layout will be discarded and replaced with the automatically generated layout."
196
+ },
197
+ "diagrams_settings": {
198
+ "gen_only_straight_arrows": "Generate only straight arrows",
199
+ "grid_enabled": "Grid enabled"
200
+ },
201
+ "home": {
202
+ "chose_parent_dir_project": "Choose the parent directory of the project",
203
+ "create_project": "Create a new project",
204
+ "open_project": "Open an existing project",
205
+ "remote_diagrams": "Remote diagrams"
206
+ },
207
+ "project_settings": {
208
+ "title": "Project Settings",
209
+ "ai": {
210
+ "api_key": "AI API Key",
211
+ "api_base_url": "AI API (OpenAI compatible) Base URL",
212
+ "integration": "AI Integration",
213
+ "model": "AI Model"
214
+ },
215
+ "themes": {
216
+ "diagrams_theme": {
217
+ "bg_color": "Background Color",
218
+ "border_color": "Border Color",
219
+ "line_color": "Line Color",
220
+ "text_color": "Text Color",
221
+ "title": "Diagrams Theme"
222
+ }
223
+ }
224
+ },
225
+ "remote_diagrams": {
226
+ "description": "Use this feature to share or preview remote architectural diagrams created with Keadex Mina.",
227
+ "diagram_url": "Mina Diagram URL",
228
+ "gh_token_copy_warning": "The link you copied contains the GitHub token, which is SENSITIVE INFORMATION. Please share it only with trusted stakeholders to ensure security.",
229
+ "gh_token_info": "Required only for private repositories. Refer to the GitHub documentation for details on generating a GitHub token. Ensure you keep it secure and do not share it, as it is SENSITIVE INFORMATION!",
230
+ "link_copied": "The link has been copied to your clipboard!",
231
+ "project_root_url": "Mina project root URL",
232
+ "title": "Remote Diagrams"
233
+ },
234
+ "table": {
235
+ "go_to_page": "Go to page",
236
+ "current_page": "Page {{currentPage}} of {{totalPages}}"
237
+ },
238
+ "updater": {
239
+ "title": "Update to {{version}} available!",
240
+ "updating": "Updating Mina..."
241
+ }
242
+ }