@loveluthien/carta-frontend 6.0.0-dev
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/.github/ISSUE_TEMPLATE/bug_report.md +34 -0
- package/.github/pull_request_template.md +23 -0
- package/.github/workflows/continuous_integration.yml +139 -0
- package/.github/workflows/deploy.yml +30 -0
- package/.husky/pre-commit +16 -0
- package/.husky/pre-push +42 -0
- package/.prettierignore +1 -0
- package/.prettierrc.json +18 -0
- package/CHANGELOG.md +363 -0
- package/COPYING.md +636 -0
- package/README.md +112 -0
- package/babel.config.json +10 -0
- package/build/ast_wrapper.wasm +0 -0
- package/build/carta_computation.wasm +0 -0
- package/build/carta_icon_128px.png +0 -0
- package/build/carta_logo.png +0 -0
- package/build/gsl_wrapper.wasm +0 -0
- package/build/index.html +147 -0
- package/build/manifest.json +15 -0
- package/build/robots.txt +3 -0
- package/build/static/css/546.aa44a897.css +1 -0
- package/build/static/css/async/359.4d8f6ff7.css +1 -0
- package/build/static/css/async/403.ea9edfac.css +1 -0
- package/build/static/css/async/462.8bde08e0.css +1 -0
- package/build/static/css/index.c1f77b92.css +1 -0
- package/build/static/font/blueprint-icons-16.5fb1af27.woff2 +0 -0
- package/build/static/font/blueprint-icons-16.79f603d1.woff +0 -0
- package/build/static/font/blueprint-icons-16.83d51978.eot +0 -0
- package/build/static/font/blueprint-icons-16.af0c342f.ttf +0 -0
- package/build/static/font/blueprint-icons-20.83fddc09.ttf +0 -0
- package/build/static/font/blueprint-icons-20.9a51bc58.woff +0 -0
- package/build/static/font/blueprint-icons-20.d61315fe.eot +0 -0
- package/build/static/font/blueprint-icons-20.ebf16e9a.woff2 +0 -0
- package/build/static/image/allmaps.03f2ba92.png +0 -0
- package/build/static/image/gamma.6fca425b.png +0 -0
- package/build/static/image/linear.c7941b64.png +0 -0
- package/build/static/image/log.7fce6aee.png +0 -0
- package/build/static/image/power.5dac9727.png +0 -0
- package/build/static/image/sqrt.0ec2b3f1.png +0 -0
- package/build/static/image/squared.798b23aa.png +0 -0
- package/build/static/js/546.b5841ade.js +489 -0
- package/build/static/js/546.b5841ade.js.LICENSE.txt +925 -0
- package/build/static/js/async/359.97257512.js +1 -0
- package/build/static/js/async/403.b00f768c.js +1 -0
- package/build/static/js/async/462.92c07a07.js +1 -0
- package/build/static/js/async/905.70044ee8.js +1 -0
- package/build/static/js/async/907.dc17f1d2.js +1 -0
- package/build/static/js/async/blueprint-icons-16px-paths.e17db832.js +1 -0
- package/build/static/js/async/blueprint-icons-20px-paths.6ad43f5f.js +1 -0
- package/build/static/js/async/blueprint-icons-all-paths-loader.61cc0f7b.js +1 -0
- package/build/static/js/async/blueprint-icons-all-paths.0c699441.js +1 -0
- package/build/static/js/async/blueprint-icons-split-paths-by-size-loader.5cff79f5.js +1 -0
- package/build/static/js/index.8fc34b4d.js +1344 -0
- package/build/static/js/index.9a30d560.worker.js +1 -0
- package/build/static/js/zfp_wrapper.wasm +0 -0
- package/build/static/svg/blueprint-icons-16.130888ef.svg +2097 -0
- package/build/static/svg/blueprint-icons-20.c8456d56.svg +2097 -0
- package/build/zfp_wrapper.wasm +0 -0
- package/declarations.d.ts +18 -0
- package/docs_website/.prettierignore +1 -0
- package/docs_website/api/api.md +13 -0
- package/docs_website/babel.config.js +3 -0
- package/docs_website/docs/assets/enable-code-snippets.png +0 -0
- package/docs_website/docs/code-snippet-tutorial/_category_.json +8 -0
- package/docs_website/docs/code-snippet-tutorial/basics.md +97 -0
- package/docs_website/docs/code-snippet-tutorial/image-blending.mdx +57 -0
- package/docs_website/docs/code-snippet-tutorial/image-fitting.mdx +44 -0
- package/docs_website/docs/code-snippet-tutorial/image-properties.mdx +84 -0
- package/docs_website/docs/code-snippet-tutorial/moment-images.mdx +31 -0
- package/docs_website/docs/code-snippet-tutorial/pv-images.mdx +28 -0
- package/docs_website/docs/code-snippet-tutorial/quick-start.mdx +82 -0
- package/docs_website/docs/code-snippet-tutorial/regions.mdx +49 -0
- package/docs_website/docs/contributing/_category_.json +7 -0
- package/docs_website/docs/contributing/developer-tips.md +61 -0
- package/docs_website/docs/contributing/documentation-guidelines.md +87 -0
- package/docs_website/docs/contributing/github-workflow.md +146 -0
- package/docs_website/docs/contributing/release-guidelines.md +73 -0
- package/docs_website/docs/contributing/unit-test-guidelines.md +79 -0
- package/docs_website/docs/documents.mdx +15 -0
- package/docs_website/docusaurus.config.js +167 -0
- package/docs_website/package-lock.json +16769 -0
- package/docs_website/package.json +121 -0
- package/docs_website/patches/@docusaurus+core+3.9.2.patch +20 -0
- package/docs_website/sidebars.js +33 -0
- package/docs_website/static/.nojekyll +0 -0
- package/docs_website/static/img/carta_icon_128px.png +0 -0
- package/docs_website/versioned_docs/version-4.1.0/api-packages.json +1 -0
- package/docs_website/versioned_docs/version-4.1.0/api-typedoc.json +214112 -0
- package/docs_website/versioned_docs/version-4.1.0/assets/enable-code-snippets.png +0 -0
- package/docs_website/versioned_docs/version-4.1.0/code-snippet-tutorial/_category_.json +8 -0
- package/docs_website/versioned_docs/version-4.1.0/code-snippet-tutorial/basics.md +97 -0
- package/docs_website/versioned_docs/version-4.1.0/code-snippet-tutorial/image-fitting.mdx +42 -0
- package/docs_website/versioned_docs/version-4.1.0/code-snippet-tutorial/image-properties.mdx +86 -0
- package/docs_website/versioned_docs/version-4.1.0/code-snippet-tutorial/moment-images.mdx +31 -0
- package/docs_website/versioned_docs/version-4.1.0/code-snippet-tutorial/pv-images.mdx +28 -0
- package/docs_website/versioned_docs/version-4.1.0/code-snippet-tutorial/quick-start.mdx +82 -0
- package/docs_website/versioned_docs/version-4.1.0/code-snippet-tutorial/regions.mdx +49 -0
- package/docs_website/versioned_docs/version-4.1.0/contributing/_category_.json +7 -0
- package/docs_website/versioned_docs/version-4.1.0/contributing/developer-tips.md +36 -0
- package/docs_website/versioned_docs/version-4.1.0/contributing/documentation-guidelines.md +87 -0
- package/docs_website/versioned_docs/version-4.1.0/contributing/github-workflow.md +141 -0
- package/docs_website/versioned_docs/version-4.1.0/contributing/release-guidelines.md +73 -0
- package/docs_website/versioned_docs/version-4.1.0/contributing/unit-test-guidelines.md +79 -0
- package/docs_website/versioned_docs/version-4.1.0/documents.mdx +15 -0
- package/docs_website/versioned_docs/version-5.0.0/api-packages.json +1 -0
- package/docs_website/versioned_docs/version-5.0.0/api-typedoc.json +315266 -0
- package/docs_website/versioned_docs/version-5.0.0/assets/enable-code-snippets.png +0 -0
- package/docs_website/versioned_docs/version-5.0.0/code-snippet-tutorial/_category_.json +8 -0
- package/docs_website/versioned_docs/version-5.0.0/code-snippet-tutorial/basics.md +97 -0
- package/docs_website/versioned_docs/version-5.0.0/code-snippet-tutorial/image-blending.mdx +57 -0
- package/docs_website/versioned_docs/version-5.0.0/code-snippet-tutorial/image-fitting.mdx +44 -0
- package/docs_website/versioned_docs/version-5.0.0/code-snippet-tutorial/image-properties.mdx +86 -0
- package/docs_website/versioned_docs/version-5.0.0/code-snippet-tutorial/moment-images.mdx +31 -0
- package/docs_website/versioned_docs/version-5.0.0/code-snippet-tutorial/pv-images.mdx +28 -0
- package/docs_website/versioned_docs/version-5.0.0/code-snippet-tutorial/quick-start.mdx +82 -0
- package/docs_website/versioned_docs/version-5.0.0/code-snippet-tutorial/regions.mdx +49 -0
- package/docs_website/versioned_docs/version-5.0.0/contributing/_category_.json +7 -0
- package/docs_website/versioned_docs/version-5.0.0/contributing/developer-tips.md +36 -0
- package/docs_website/versioned_docs/version-5.0.0/contributing/documentation-guidelines.md +87 -0
- package/docs_website/versioned_docs/version-5.0.0/contributing/github-workflow.md +141 -0
- package/docs_website/versioned_docs/version-5.0.0/contributing/release-guidelines.md +73 -0
- package/docs_website/versioned_docs/version-5.0.0/contributing/unit-test-guidelines.md +79 -0
- package/docs_website/versioned_docs/version-5.0.0/documents.mdx +15 -0
- package/docs_website/versioned_sidebars/version-4.1.0-sidebars.json +8 -0
- package/docs_website/versioned_sidebars/version-5.0.0-sidebars.json +8 -0
- package/docs_website/versions.json +4 -0
- package/eslint.config.mjs +86 -0
- package/jest.config.js +101 -0
- package/package.json +186 -0
- package/patches/golden-layout+1.5.9.patch +24 -0
- package/patches/react-split-pane+0.1.92.patch +20 -0
- package/rsbuild.config.ts +75 -0
- package/schemas/.github/workflows/AddToCartaVisProject.yml +23 -0
- package/schemas/.prettierrc.json +18 -0
- package/schemas/CMakeLists.txt +15 -0
- package/schemas/README.md +1 -0
- package/schemas/_config.yml +7 -0
- package/schemas/controller_config_schema_1.json +343 -0
- package/schemas/controller_config_schema_2.json +685 -0
- package/schemas/layout_schema_2.json +440 -0
- package/schemas/preference_backend_schema_1.json +81 -0
- package/schemas/preference_backend_schema_2.json +118 -0
- package/schemas/preference_schema_1.json +410 -0
- package/schemas/preferences_schema_2.json +421 -0
- package/schemas/schemacompiler.c +200 -0
- package/schemas/snippet_schema_1.json +45 -0
- package/schemas/workspace_schema_1.json +573 -0
- package/scripts/make_colormaps.py +161 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "carta-frontend-docs",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"private": true,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"docusaurus": "docusaurus",
|
|
7
|
+
"start": "docusaurus start",
|
|
8
|
+
"build": "docusaurus build",
|
|
9
|
+
"swizzle": "docusaurus swizzle",
|
|
10
|
+
"deploy": "docusaurus deploy",
|
|
11
|
+
"clear": "docusaurus clear",
|
|
12
|
+
"serve": "docusaurus serve",
|
|
13
|
+
"write-translations": "docusaurus write-translations",
|
|
14
|
+
"write-heading-ids": "docusaurus write-heading-ids",
|
|
15
|
+
"reformat": "npx prettier --write ./api ./docs ./src sidebars.js ./versioned_docs",
|
|
16
|
+
"checkformat": "npx prettier --check ./api ./docs ./src sidebars.js ./versioned_docs",
|
|
17
|
+
"fix-eslint": "eslint --fix ./src",
|
|
18
|
+
"postinstall": "patch-package"
|
|
19
|
+
},
|
|
20
|
+
"eslintConfig": {
|
|
21
|
+
"plugins": [
|
|
22
|
+
"simple-import-sort"
|
|
23
|
+
],
|
|
24
|
+
"rules": {
|
|
25
|
+
"no-unused-expressions": "off",
|
|
26
|
+
"@typescript-eslint/no-unused-expressions": "error",
|
|
27
|
+
"import/no-webpack-loader-syntax": "off",
|
|
28
|
+
"no-unused-vars": "off",
|
|
29
|
+
"@typescript-eslint/no-unused-vars": [
|
|
30
|
+
"error",
|
|
31
|
+
{
|
|
32
|
+
"args": "none"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"object-curly-spacing": "off",
|
|
36
|
+
"jsx-a11y/alt-text": "off",
|
|
37
|
+
"simple-import-sort/imports": "error",
|
|
38
|
+
"simple-import-sort/exports": "error",
|
|
39
|
+
"import/newline-after-import": "error",
|
|
40
|
+
"import/no-duplicates": "error",
|
|
41
|
+
"tsdoc/syntax": "error"
|
|
42
|
+
},
|
|
43
|
+
"overrides": [
|
|
44
|
+
{
|
|
45
|
+
"files": [
|
|
46
|
+
"*.js",
|
|
47
|
+
"*.jsx",
|
|
48
|
+
"*.ts",
|
|
49
|
+
"*.tsx"
|
|
50
|
+
],
|
|
51
|
+
"rules": {
|
|
52
|
+
"simple-import-sort/imports": [
|
|
53
|
+
"error",
|
|
54
|
+
{
|
|
55
|
+
"groups": [
|
|
56
|
+
[
|
|
57
|
+
"^react",
|
|
58
|
+
"^@?\\w"
|
|
59
|
+
],
|
|
60
|
+
[
|
|
61
|
+
"^(components|icons|models|services|stores|utilities)(/.*|$)"
|
|
62
|
+
],
|
|
63
|
+
[
|
|
64
|
+
"^\\u0000"
|
|
65
|
+
],
|
|
66
|
+
[
|
|
67
|
+
"^\\.\\.(?!/?$)",
|
|
68
|
+
"^\\.\\./?$"
|
|
69
|
+
],
|
|
70
|
+
[
|
|
71
|
+
"^\\./(?=.*/)(?!/?$)",
|
|
72
|
+
"^\\.(?!/?$)",
|
|
73
|
+
"^\\./?$"
|
|
74
|
+
],
|
|
75
|
+
[
|
|
76
|
+
"^.+\\.?(css)$"
|
|
77
|
+
]
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"dependencies": {
|
|
86
|
+
"@docusaurus/core": "^3.9.2",
|
|
87
|
+
"@docusaurus/preset-classic": "^3.9.2",
|
|
88
|
+
"@mdx-js/react": "^3.0.0",
|
|
89
|
+
"clsx": "^2.0.0",
|
|
90
|
+
"docusaurus-lunr-search": "^3.3.0",
|
|
91
|
+
"@loveluthien/docusaurus-plugin-typedoc-api": "^4.5.0",
|
|
92
|
+
"prism-react-renderer": "^2.3.0",
|
|
93
|
+
"react": "^18.3.1",
|
|
94
|
+
"react-dom": "^18.3.1"
|
|
95
|
+
},
|
|
96
|
+
"devDependencies": {
|
|
97
|
+
"@docusaurus/module-type-aliases": "^3.9.2",
|
|
98
|
+
"patch-package": "^8.0.0",
|
|
99
|
+
"prettier": "3.1.0"
|
|
100
|
+
},
|
|
101
|
+
"overrides": {
|
|
102
|
+
"@docusaurus/theme-common": "^3.9.2",
|
|
103
|
+
"react": "$react",
|
|
104
|
+
"react-dom": "$react-dom"
|
|
105
|
+
},
|
|
106
|
+
"browserslist": {
|
|
107
|
+
"production": [
|
|
108
|
+
">0.5%",
|
|
109
|
+
"not dead",
|
|
110
|
+
"not op_mini all"
|
|
111
|
+
],
|
|
112
|
+
"development": [
|
|
113
|
+
"last 1 chrome version",
|
|
114
|
+
"last 1 firefox version",
|
|
115
|
+
"last 1 safari version"
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
"engines": {
|
|
119
|
+
"node": ">=18.0"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
diff --git a/node_modules/@docusaurus/core/lib/client/exports/ComponentCreator.js b/node_modules/@docusaurus/core/lib/client/exports/ComponentCreator.js
|
|
2
|
+
index 1234567..abcdefg 100644
|
|
3
|
+
--- a/node_modules/@docusaurus/core/lib/client/exports/ComponentCreator.js
|
|
4
|
+
+++ b/node_modules/@docusaurus/core/lib/client/exports/ComponentCreator.js
|
|
5
|
+
@@ -80,9 +80,13 @@ export default function ComponentCreator(path, hash) {
|
|
6
|
+
if (typeof chunk === 'object' || typeof chunk === 'function') {
|
|
7
|
+
Object.keys(loadedModule)
|
|
8
|
+
.filter((k) => k !== 'default')
|
|
9
|
+
.forEach((nonDefaultKey) => {
|
|
10
|
+
- chunk[nonDefaultKey] =
|
|
11
|
+
- loadedModule[nonDefaultKey];
|
|
12
|
+
+ try {
|
|
13
|
+
+ chunk[nonDefaultKey] =
|
|
14
|
+
+ loadedModule[nonDefaultKey];
|
|
15
|
+
+ } catch (e) {
|
|
16
|
+
+ // Skip assignment errors regardless of message content
|
|
17
|
+
+ }
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
// We now have this chunk prepared. Go down the key path and replace the
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Creating a sidebar enables you to:
|
|
3
|
+
- create an ordered group of docs
|
|
4
|
+
- render a sidebar for each doc of that group
|
|
5
|
+
- provide next/previous navigation
|
|
6
|
+
|
|
7
|
+
The sidebars can be generated from the filesystem, or explicitly defined here.
|
|
8
|
+
|
|
9
|
+
Create as many sidebars as you want.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// @ts-check
|
|
13
|
+
|
|
14
|
+
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
|
15
|
+
const sidebars = {
|
|
16
|
+
// By default, Docusaurus generates a sidebar from the docs folder structure
|
|
17
|
+
docsSidebar: [{type: "autogenerated", dirName: "."}]
|
|
18
|
+
|
|
19
|
+
// But you can create a sidebar manually
|
|
20
|
+
/*
|
|
21
|
+
tutorialSidebar: [
|
|
22
|
+
'intro',
|
|
23
|
+
'hello',
|
|
24
|
+
{
|
|
25
|
+
type: 'category',
|
|
26
|
+
label: 'Tutorial',
|
|
27
|
+
items: ['tutorial-basics/create-a-document'],
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
*/
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
module.exports = sidebars;
|
|
File without changes
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"entryPoints":{"index":{"path":"src/index.tsx","entry":"."},"components":{"path":"src/components/index.ts","entry":".","label":"Components"},"components/Dialogs":{"path":"src/components/Dialogs/index.ts","entry":".","label":"Components - Dialogs"},"components/Shared":{"path":"src/components/Shared/index.ts","entry":".","label":"Components - Shared"},"models":{"path":"src/models/index.ts","entry":".","label":"Models"},"services":{"path":"src/services/index.ts","entry":".","label":"Services"},"stores":{"path":"src/stores/index.ts","entry":".","label":"Stores"},"utilities":{"path":"src/utilities/index.ts","entry":".","label":"Utilities"}},"packagePath":".","packageSlug":".","packageName":"carta-frontend","packageVersion":"4.1.0"}]
|