helixlife-expert-cli 0.1.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.
- package/README.md +159 -0
- package/cli/bin/helixlife-expert.js +3 -0
- package/cli/dist/core/api/client.d.ts +31 -0
- package/cli/dist/core/api/client.d.ts.map +1 -0
- package/cli/dist/core/api/client.js +183 -0
- package/cli/dist/core/api/client.js.map +1 -0
- package/cli/dist/core/api/http.d.ts +3 -0
- package/cli/dist/core/api/http.d.ts.map +1 -0
- package/cli/dist/core/api/http.js +22 -0
- package/cli/dist/core/api/http.js.map +1 -0
- package/cli/dist/core/api/response.d.ts +48 -0
- package/cli/dist/core/api/response.d.ts.map +1 -0
- package/cli/dist/core/api/response.js +84 -0
- package/cli/dist/core/api/response.js.map +1 -0
- package/cli/dist/core/api/sse.d.ts +6 -0
- package/cli/dist/core/api/sse.d.ts.map +1 -0
- package/cli/dist/core/api/sse.js +60 -0
- package/cli/dist/core/api/sse.js.map +1 -0
- package/cli/dist/core/auth/index.d.ts +35 -0
- package/cli/dist/core/auth/index.d.ts.map +1 -0
- package/cli/dist/core/auth/index.js +150 -0
- package/cli/dist/core/auth/index.js.map +1 -0
- package/cli/dist/core/env-config.d.ts +16 -0
- package/cli/dist/core/env-config.d.ts.map +1 -0
- package/cli/dist/core/env-config.js +80 -0
- package/cli/dist/core/env-config.js.map +1 -0
- package/cli/dist/core/errors.d.ts +20 -0
- package/cli/dist/core/errors.d.ts.map +1 -0
- package/cli/dist/core/errors.js +28 -0
- package/cli/dist/core/errors.js.map +1 -0
- package/cli/dist/core/index.d.ts +16 -0
- package/cli/dist/core/index.d.ts.map +1 -0
- package/cli/dist/core/index.js +16 -0
- package/cli/dist/core/index.js.map +1 -0
- package/cli/dist/core/interactive.d.ts +18 -0
- package/cli/dist/core/interactive.d.ts.map +1 -0
- package/cli/dist/core/interactive.js +74 -0
- package/cli/dist/core/interactive.js.map +1 -0
- package/cli/dist/core/output/index.d.ts +29 -0
- package/cli/dist/core/output/index.d.ts.map +1 -0
- package/cli/dist/core/output/index.js +153 -0
- package/cli/dist/core/output/index.js.map +1 -0
- package/cli/dist/core/parse.d.ts +9 -0
- package/cli/dist/core/parse.d.ts.map +1 -0
- package/cli/dist/core/parse.js +31 -0
- package/cli/dist/core/parse.js.map +1 -0
- package/cli/dist/core/paths.d.ts +21 -0
- package/cli/dist/core/paths.d.ts.map +1 -0
- package/cli/dist/core/paths.js +65 -0
- package/cli/dist/core/paths.js.map +1 -0
- package/cli/dist/core/sse-utils.d.ts +49 -0
- package/cli/dist/core/sse-utils.d.ts.map +1 -0
- package/cli/dist/core/sse-utils.js +181 -0
- package/cli/dist/core/sse-utils.js.map +1 -0
- package/cli/dist/core/terminal.d.ts +2 -0
- package/cli/dist/core/terminal.d.ts.map +1 -0
- package/cli/dist/core/terminal.js +6 -0
- package/cli/dist/core/terminal.js.map +1 -0
- package/cli/dist/core/token/index.d.ts +5 -0
- package/cli/dist/core/token/index.d.ts.map +1 -0
- package/cli/dist/core/token/index.js +26 -0
- package/cli/dist/core/token/index.js.map +1 -0
- package/cli/dist/core/types/config.d.ts +8 -0
- package/cli/dist/core/types/config.d.ts.map +1 -0
- package/cli/dist/core/types/config.js +30 -0
- package/cli/dist/core/types/config.js.map +1 -0
- package/cli/dist/core/version.d.ts +2 -0
- package/cli/dist/core/version.d.ts.map +1 -0
- package/cli/dist/core/version.js +10 -0
- package/cli/dist/core/version.js.map +1 -0
- package/cli/dist/index.d.ts +2 -0
- package/cli/dist/index.d.ts.map +1 -0
- package/cli/dist/index.js +23 -0
- package/cli/dist/index.js.map +1 -0
- package/cli/dist/modules/analysis/constants.d.ts +3 -0
- package/cli/dist/modules/analysis/constants.d.ts.map +1 -0
- package/cli/dist/modules/analysis/constants.js +3 -0
- package/cli/dist/modules/analysis/constants.js.map +1 -0
- package/cli/dist/modules/analysis/index.d.ts +3 -0
- package/cli/dist/modules/analysis/index.d.ts.map +1 -0
- package/cli/dist/modules/analysis/index.js +23 -0
- package/cli/dist/modules/analysis/index.js.map +1 -0
- package/cli/dist/modules/auth/index.d.ts +3 -0
- package/cli/dist/modules/auth/index.d.ts.map +1 -0
- package/cli/dist/modules/auth/index.js +76 -0
- package/cli/dist/modules/auth/index.js.map +1 -0
- package/cli/dist/modules/expert-scaffold.d.ts +27 -0
- package/cli/dist/modules/expert-scaffold.d.ts.map +1 -0
- package/cli/dist/modules/expert-scaffold.js +25 -0
- package/cli/dist/modules/expert-scaffold.js.map +1 -0
- package/cli/dist/modules/fund/clinical/apps.d.ts +19 -0
- package/cli/dist/modules/fund/clinical/apps.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/apps.js +14 -0
- package/cli/dist/modules/fund/clinical/apps.js.map +1 -0
- package/cli/dist/modules/fund/clinical/command-utils.d.ts +4 -0
- package/cli/dist/modules/fund/clinical/command-utils.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/command-utils.js +40 -0
- package/cli/dist/modules/fund/clinical/command-utils.js.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/article-create.d.ts +9 -0
- package/cli/dist/modules/fund/clinical/commands/article-create.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/article-create.js +99 -0
- package/cli/dist/modules/fund/clinical/commands/article-create.js.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/article-download.d.ts +30 -0
- package/cli/dist/modules/fund/clinical/commands/article-download.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/article-download.js +153 -0
- package/cli/dist/modules/fund/clinical/commands/article-download.js.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/four-elements-create.d.ts +7 -0
- package/cli/dist/modules/fund/clinical/commands/four-elements-create.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/four-elements-create.js +81 -0
- package/cli/dist/modules/fund/clinical/commands/four-elements-create.js.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/four-elements-precheck.d.ts +7 -0
- package/cli/dist/modules/fund/clinical/commands/four-elements-precheck.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/four-elements-precheck.js +76 -0
- package/cli/dist/modules/fund/clinical/commands/four-elements-precheck.js.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/four-elements-update.d.ts +16 -0
- package/cli/dist/modules/fund/clinical/commands/four-elements-update.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/four-elements-update.js +108 -0
- package/cli/dist/modules/fund/clinical/commands/four-elements-update.js.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/sample-size.d.ts +14 -0
- package/cli/dist/modules/fund/clinical/commands/sample-size.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/sample-size.js +164 -0
- package/cli/dist/modules/fund/clinical/commands/sample-size.js.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/topic-evaluation-create.d.ts +25 -0
- package/cli/dist/modules/fund/clinical/commands/topic-evaluation-create.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/topic-evaluation-create.js +228 -0
- package/cli/dist/modules/fund/clinical/commands/topic-evaluation-create.js.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/topic-evaluation-parameters.d.ts +45 -0
- package/cli/dist/modules/fund/clinical/commands/topic-evaluation-parameters.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/commands/topic-evaluation-parameters.js +211 -0
- package/cli/dist/modules/fund/clinical/commands/topic-evaluation-parameters.js.map +1 -0
- package/cli/dist/modules/fund/clinical/constants.d.ts +85 -0
- package/cli/dist/modules/fund/clinical/constants.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/constants.js +161 -0
- package/cli/dist/modules/fund/clinical/constants.js.map +1 -0
- package/cli/dist/modules/fund/clinical/form-rules.d.ts +56 -0
- package/cli/dist/modules/fund/clinical/form-rules.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/form-rules.js +542 -0
- package/cli/dist/modules/fund/clinical/form-rules.js.map +1 -0
- package/cli/dist/modules/fund/clinical/four-elements.d.ts +46 -0
- package/cli/dist/modules/fund/clinical/four-elements.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/four-elements.js +190 -0
- package/cli/dist/modules/fund/clinical/four-elements.js.map +1 -0
- package/cli/dist/modules/fund/clinical/index.d.ts +3 -0
- package/cli/dist/modules/fund/clinical/index.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/index.js +176 -0
- package/cli/dist/modules/fund/clinical/index.js.map +1 -0
- package/cli/dist/modules/fund/clinical/parameters.d.ts +51 -0
- package/cli/dist/modules/fund/clinical/parameters.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/parameters.js +145 -0
- package/cli/dist/modules/fund/clinical/parameters.js.map +1 -0
- package/cli/dist/modules/fund/clinical/sample-size.d.ts +130 -0
- package/cli/dist/modules/fund/clinical/sample-size.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/sample-size.js +356 -0
- package/cli/dist/modules/fund/clinical/sample-size.js.map +1 -0
- package/cli/dist/modules/fund/clinical/session-cache.d.ts +25 -0
- package/cli/dist/modules/fund/clinical/session-cache.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/session-cache.js +100 -0
- package/cli/dist/modules/fund/clinical/session-cache.js.map +1 -0
- package/cli/dist/modules/fund/clinical/sse-utils.d.ts +22 -0
- package/cli/dist/modules/fund/clinical/sse-utils.d.ts.map +1 -0
- package/cli/dist/modules/fund/clinical/sse-utils.js +80 -0
- package/cli/dist/modules/fund/clinical/sse-utils.js.map +1 -0
- package/cli/dist/modules/fund/constants.d.ts +3 -0
- package/cli/dist/modules/fund/constants.d.ts.map +1 -0
- package/cli/dist/modules/fund/constants.js +3 -0
- package/cli/dist/modules/fund/constants.js.map +1 -0
- package/cli/dist/modules/fund/index.d.ts +3 -0
- package/cli/dist/modules/fund/index.d.ts.map +1 -0
- package/cli/dist/modules/fund/index.js +28 -0
- package/cli/dist/modules/fund/index.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/apps.d.ts +54 -0
- package/cli/dist/modules/fund/nsfc/apps.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/apps.js +76 -0
- package/cli/dist/modules/fund/nsfc/apps.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/article-cache.d.ts +14 -0
- package/cli/dist/modules/fund/nsfc/article-cache.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/article-cache.js +79 -0
- package/cli/dist/modules/fund/nsfc/article-cache.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/article-create.d.ts +8 -0
- package/cli/dist/modules/fund/nsfc/commands/article-create.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/article-create.js +108 -0
- package/cli/dist/modules/fund/nsfc/commands/article-create.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/article-download.d.ts +42 -0
- package/cli/dist/modules/fund/nsfc/commands/article-download.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/article-download.js +189 -0
- package/cli/dist/modules/fund/nsfc/commands/article-download.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/format-convert.d.ts +9 -0
- package/cli/dist/modules/fund/nsfc/commands/format-convert.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/format-convert.js +98 -0
- package/cli/dist/modules/fund/nsfc/commands/format-convert.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-analyze.d.ts +12 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-analyze.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-analyze.js +351 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-analyze.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-create.d.ts +21 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-create.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-create.js +197 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-create.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-figure.d.ts +9 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-figure.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-figure.js +120 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-figure.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-genes-select.d.ts +11 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-genes-select.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-genes-select.js +125 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-genes-select.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-pick.d.ts +11 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-pick.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-pick.js +109 -0
- package/cli/dist/modules/fund/nsfc/commands/hypothesis-pick.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/outline-confirm.d.ts +9 -0
- package/cli/dist/modules/fund/nsfc/commands/outline-confirm.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/outline-confirm.js +64 -0
- package/cli/dist/modules/fund/nsfc/commands/outline-confirm.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/outline-create.d.ts +8 -0
- package/cli/dist/modules/fund/nsfc/commands/outline-create.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/outline-create.js +103 -0
- package/cli/dist/modules/fund/nsfc/commands/outline-create.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/research-path-confirm.d.ts +9 -0
- package/cli/dist/modules/fund/nsfc/commands/research-path-confirm.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/research-path-confirm.js +176 -0
- package/cli/dist/modules/fund/nsfc/commands/research-path-confirm.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/tech-roadmap.d.ts +9 -0
- package/cli/dist/modules/fund/nsfc/commands/tech-roadmap.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/commands/tech-roadmap.js +190 -0
- package/cli/dist/modules/fund/nsfc/commands/tech-roadmap.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/constants.d.ts +96 -0
- package/cli/dist/modules/fund/nsfc/constants.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/constants.js +156 -0
- package/cli/dist/modules/fund/nsfc/constants.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/graph-render.d.ts +25 -0
- package/cli/dist/modules/fund/nsfc/graph-render.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/graph-render.js +212 -0
- package/cli/dist/modules/fund/nsfc/graph-render.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/index.d.ts +4 -0
- package/cli/dist/modules/fund/nsfc/index.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/index.js +238 -0
- package/cli/dist/modules/fund/nsfc/index.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/mermaid-render.d.ts +18 -0
- package/cli/dist/modules/fund/nsfc/mermaid-render.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/mermaid-render.js +47 -0
- package/cli/dist/modules/fund/nsfc/mermaid-render.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/parse-hypothesis.d.ts +76 -0
- package/cli/dist/modules/fund/nsfc/parse-hypothesis.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/parse-hypothesis.js +278 -0
- package/cli/dist/modules/fund/nsfc/parse-hypothesis.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/parse-outline.d.ts +23 -0
- package/cli/dist/modules/fund/nsfc/parse-outline.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/parse-outline.js +91 -0
- package/cli/dist/modules/fund/nsfc/parse-outline.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/png-watermark.d.ts +24 -0
- package/cli/dist/modules/fund/nsfc/png-watermark.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/png-watermark.js +78 -0
- package/cli/dist/modules/fund/nsfc/png-watermark.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/prompt-hypothesis.d.ts +20 -0
- package/cli/dist/modules/fund/nsfc/prompt-hypothesis.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/prompt-hypothesis.js +107 -0
- package/cli/dist/modules/fund/nsfc/prompt-hypothesis.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/prompt-step2.d.ts +18 -0
- package/cli/dist/modules/fund/nsfc/prompt-step2.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/prompt-step2.js +107 -0
- package/cli/dist/modules/fund/nsfc/prompt-step2.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/request-body.d.ts +47 -0
- package/cli/dist/modules/fund/nsfc/request-body.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/request-body.js +38 -0
- package/cli/dist/modules/fund/nsfc/request-body.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/session-cache.d.ts +48 -0
- package/cli/dist/modules/fund/nsfc/session-cache.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/session-cache.js +90 -0
- package/cli/dist/modules/fund/nsfc/session-cache.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/sse-utils.d.ts +22 -0
- package/cli/dist/modules/fund/nsfc/sse-utils.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/sse-utils.js +81 -0
- package/cli/dist/modules/fund/nsfc/sse-utils.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/upload.d.ts +3 -0
- package/cli/dist/modules/fund/nsfc/upload.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/upload.js +59 -0
- package/cli/dist/modules/fund/nsfc/upload.js.map +1 -0
- package/cli/dist/modules/fund/nsfc/validate.d.ts +30 -0
- package/cli/dist/modules/fund/nsfc/validate.d.ts.map +1 -0
- package/cli/dist/modules/fund/nsfc/validate.js +91 -0
- package/cli/dist/modules/fund/nsfc/validate.js.map +1 -0
- package/cli/dist/modules/literature/commands/workflow-list.d.ts +5 -0
- package/cli/dist/modules/literature/commands/workflow-list.d.ts.map +1 -0
- package/cli/dist/modules/literature/commands/workflow-list.js +9 -0
- package/cli/dist/modules/literature/commands/workflow-list.js.map +1 -0
- package/cli/dist/modules/literature/commands/workflow-params.d.ts +6 -0
- package/cli/dist/modules/literature/commands/workflow-params.d.ts.map +1 -0
- package/cli/dist/modules/literature/commands/workflow-params.js +9 -0
- package/cli/dist/modules/literature/commands/workflow-params.js.map +1 -0
- package/cli/dist/modules/literature/commands/workflow-run.d.ts +7 -0
- package/cli/dist/modules/literature/commands/workflow-run.d.ts.map +1 -0
- package/cli/dist/modules/literature/commands/workflow-run.js +10 -0
- package/cli/dist/modules/literature/commands/workflow-run.js.map +1 -0
- package/cli/dist/modules/literature/constants.d.ts +20 -0
- package/cli/dist/modules/literature/constants.d.ts.map +1 -0
- package/cli/dist/modules/literature/constants.js +56 -0
- package/cli/dist/modules/literature/constants.js.map +1 -0
- package/cli/dist/modules/literature/index.d.ts +3 -0
- package/cli/dist/modules/literature/index.d.ts.map +1 -0
- package/cli/dist/modules/literature/index.js +63 -0
- package/cli/dist/modules/literature/index.js.map +1 -0
- package/cli/dist/modules/meta/analysis.d.ts +127 -0
- package/cli/dist/modules/meta/analysis.d.ts.map +1 -0
- package/cli/dist/modules/meta/analysis.js +1165 -0
- package/cli/dist/modules/meta/analysis.js.map +1 -0
- package/cli/dist/modules/meta/api.d.ts +11 -0
- package/cli/dist/modules/meta/api.d.ts.map +1 -0
- package/cli/dist/modules/meta/api.js +40 -0
- package/cli/dist/modules/meta/api.js.map +1 -0
- package/cli/dist/modules/meta/commands.d.ts +3 -0
- package/cli/dist/modules/meta/commands.d.ts.map +1 -0
- package/cli/dist/modules/meta/commands.js +1185 -0
- package/cli/dist/modules/meta/commands.js.map +1 -0
- package/cli/dist/modules/meta/constants.d.ts +8 -0
- package/cli/dist/modules/meta/constants.d.ts.map +1 -0
- package/cli/dist/modules/meta/constants.js +9 -0
- package/cli/dist/modules/meta/constants.js.map +1 -0
- package/cli/dist/modules/meta/extraction.d.ts +206 -0
- package/cli/dist/modules/meta/extraction.d.ts.map +1 -0
- package/cli/dist/modules/meta/extraction.js +1248 -0
- package/cli/dist/modules/meta/extraction.js.map +1 -0
- package/cli/dist/modules/meta/index.d.ts +3 -0
- package/cli/dist/modules/meta/index.d.ts.map +1 -0
- package/cli/dist/modules/meta/index.js +19 -0
- package/cli/dist/modules/meta/index.js.map +1 -0
- package/cli/dist/modules/meta/node.d.ts +70 -0
- package/cli/dist/modules/meta/node.d.ts.map +1 -0
- package/cli/dist/modules/meta/node.js +167 -0
- package/cli/dist/modules/meta/node.js.map +1 -0
- package/cli/dist/modules/meta/plot-params.d.ts +82 -0
- package/cli/dist/modules/meta/plot-params.d.ts.map +1 -0
- package/cli/dist/modules/meta/plot-params.js +1179 -0
- package/cli/dist/modules/meta/plot-params.js.map +1 -0
- package/cli/dist/modules/meta/prisma-flow-docx.d.ts +23 -0
- package/cli/dist/modules/meta/prisma-flow-docx.d.ts.map +1 -0
- package/cli/dist/modules/meta/prisma-flow-docx.js +302 -0
- package/cli/dist/modules/meta/prisma-flow-docx.js.map +1 -0
- package/cli/dist/modules/meta/retrieve.d.ts +113 -0
- package/cli/dist/modules/meta/retrieve.d.ts.map +1 -0
- package/cli/dist/modules/meta/retrieve.js +913 -0
- package/cli/dist/modules/meta/retrieve.js.map +1 -0
- package/cli/dist/modules/meta/screening.d.ts +179 -0
- package/cli/dist/modules/meta/screening.d.ts.map +1 -0
- package/cli/dist/modules/meta/screening.js +1255 -0
- package/cli/dist/modules/meta/screening.js.map +1 -0
- package/cli/dist/modules/meta/topic.d.ts +110 -0
- package/cli/dist/modules/meta/topic.d.ts.map +1 -0
- package/cli/dist/modules/meta/topic.js +865 -0
- package/cli/dist/modules/meta/topic.js.map +1 -0
- package/cli/dist/modules/meta/types.d.ts +49 -0
- package/cli/dist/modules/meta/types.d.ts.map +1 -0
- package/cli/dist/modules/meta/types.js +2 -0
- package/cli/dist/modules/meta/types.js.map +1 -0
- package/cli/dist/modules/meta/workflow.d.ts +154 -0
- package/cli/dist/modules/meta/workflow.d.ts.map +1 -0
- package/cli/dist/modules/meta/workflow.js +956 -0
- package/cli/dist/modules/meta/workflow.js.map +1 -0
- package/cli/dist/modules/meta/writing.d.ts +83 -0
- package/cli/dist/modules/meta/writing.d.ts.map +1 -0
- package/cli/dist/modules/meta/writing.js +1077 -0
- package/cli/dist/modules/meta/writing.js.map +1 -0
- package/cli/dist/modules/proposal/artifacts.d.ts +18 -0
- package/cli/dist/modules/proposal/artifacts.d.ts.map +1 -0
- package/cli/dist/modules/proposal/artifacts.js +43 -0
- package/cli/dist/modules/proposal/artifacts.js.map +1 -0
- package/cli/dist/modules/proposal/commands/basic-create.d.ts +22 -0
- package/cli/dist/modules/proposal/commands/basic-create.d.ts.map +1 -0
- package/cli/dist/modules/proposal/commands/basic-create.js +81 -0
- package/cli/dist/modules/proposal/commands/basic-create.js.map +1 -0
- package/cli/dist/modules/proposal/commands/basic-result.d.ts +24 -0
- package/cli/dist/modules/proposal/commands/basic-result.d.ts.map +1 -0
- package/cli/dist/modules/proposal/commands/basic-result.js +96 -0
- package/cli/dist/modules/proposal/commands/basic-result.js.map +1 -0
- package/cli/dist/modules/proposal/commands/bioinfo-params.d.ts +5 -0
- package/cli/dist/modules/proposal/commands/bioinfo-params.d.ts.map +1 -0
- package/cli/dist/modules/proposal/commands/bioinfo-params.js +9 -0
- package/cli/dist/modules/proposal/commands/bioinfo-params.js.map +1 -0
- package/cli/dist/modules/proposal/commands/bioinfo-run.d.ts +6 -0
- package/cli/dist/modules/proposal/commands/bioinfo-run.d.ts.map +1 -0
- package/cli/dist/modules/proposal/commands/bioinfo-run.js +10 -0
- package/cli/dist/modules/proposal/commands/bioinfo-run.js.map +1 -0
- package/cli/dist/modules/proposal/commands/clinical-list.d.ts +5 -0
- package/cli/dist/modules/proposal/commands/clinical-list.d.ts.map +1 -0
- package/cli/dist/modules/proposal/commands/clinical-list.js +9 -0
- package/cli/dist/modules/proposal/commands/clinical-list.js.map +1 -0
- package/cli/dist/modules/proposal/commands/clinical-params.d.ts +6 -0
- package/cli/dist/modules/proposal/commands/clinical-params.d.ts.map +1 -0
- package/cli/dist/modules/proposal/commands/clinical-params.js +9 -0
- package/cli/dist/modules/proposal/commands/clinical-params.js.map +1 -0
- package/cli/dist/modules/proposal/commands/clinical-run.d.ts +7 -0
- package/cli/dist/modules/proposal/commands/clinical-run.d.ts.map +1 -0
- package/cli/dist/modules/proposal/commands/clinical-run.js +10 -0
- package/cli/dist/modules/proposal/commands/clinical-run.js.map +1 -0
- package/cli/dist/modules/proposal/constants.d.ts +34 -0
- package/cli/dist/modules/proposal/constants.d.ts.map +1 -0
- package/cli/dist/modules/proposal/constants.js +75 -0
- package/cli/dist/modules/proposal/constants.js.map +1 -0
- package/cli/dist/modules/proposal/index.d.ts +3 -0
- package/cli/dist/modules/proposal/index.d.ts.map +1 -0
- package/cli/dist/modules/proposal/index.js +95 -0
- package/cli/dist/modules/proposal/index.js.map +1 -0
- package/cli/dist/modules/proposal/newidea-env.d.ts +28 -0
- package/cli/dist/modules/proposal/newidea-env.d.ts.map +1 -0
- package/cli/dist/modules/proposal/newidea-env.js +69 -0
- package/cli/dist/modules/proposal/newidea-env.js.map +1 -0
- package/cli/dist/modules/proposal/newidea-runner.d.ts +25 -0
- package/cli/dist/modules/proposal/newidea-runner.d.ts.map +1 -0
- package/cli/dist/modules/proposal/newidea-runner.js +158 -0
- package/cli/dist/modules/proposal/newidea-runner.js.map +1 -0
- package/cli/dist/modules/proposal/parse.d.ts +25 -0
- package/cli/dist/modules/proposal/parse.d.ts.map +1 -0
- package/cli/dist/modules/proposal/parse.js +173 -0
- package/cli/dist/modules/proposal/parse.js.map +1 -0
- package/cli/dist/modules/sci/apps.d.ts +48 -0
- package/cli/dist/modules/sci/apps.d.ts.map +1 -0
- package/cli/dist/modules/sci/apps.js +43 -0
- package/cli/dist/modules/sci/apps.js.map +1 -0
- package/cli/dist/modules/sci/article-cache.d.ts +32 -0
- package/cli/dist/modules/sci/article-cache.d.ts.map +1 -0
- package/cli/dist/modules/sci/article-cache.js +163 -0
- package/cli/dist/modules/sci/article-cache.js.map +1 -0
- package/cli/dist/modules/sci/article-validate.d.ts +11 -0
- package/cli/dist/modules/sci/article-validate.d.ts.map +1 -0
- package/cli/dist/modules/sci/article-validate.js +43 -0
- package/cli/dist/modules/sci/article-validate.js.map +1 -0
- package/cli/dist/modules/sci/commands/article-create.d.ts +46 -0
- package/cli/dist/modules/sci/commands/article-create.d.ts.map +1 -0
- package/cli/dist/modules/sci/commands/article-create.js +315 -0
- package/cli/dist/modules/sci/commands/article-create.js.map +1 -0
- package/cli/dist/modules/sci/commands/article-download.d.ts +50 -0
- package/cli/dist/modules/sci/commands/article-download.d.ts.map +1 -0
- package/cli/dist/modules/sci/commands/article-download.js +281 -0
- package/cli/dist/modules/sci/commands/article-download.js.map +1 -0
- package/cli/dist/modules/sci/commands/outline.d.ts +36 -0
- package/cli/dist/modules/sci/commands/outline.d.ts.map +1 -0
- package/cli/dist/modules/sci/commands/outline.js +491 -0
- package/cli/dist/modules/sci/commands/outline.js.map +1 -0
- package/cli/dist/modules/sci/commands/template.d.ts +9 -0
- package/cli/dist/modules/sci/commands/template.d.ts.map +1 -0
- package/cli/dist/modules/sci/commands/template.js +12 -0
- package/cli/dist/modules/sci/commands/template.js.map +1 -0
- package/cli/dist/modules/sci/commands.d.ts +3 -0
- package/cli/dist/modules/sci/commands.d.ts.map +1 -0
- package/cli/dist/modules/sci/commands.js +108 -0
- package/cli/dist/modules/sci/commands.js.map +1 -0
- package/cli/dist/modules/sci/constants.d.ts +117 -0
- package/cli/dist/modules/sci/constants.d.ts.map +1 -0
- package/cli/dist/modules/sci/constants.js +152 -0
- package/cli/dist/modules/sci/constants.js.map +1 -0
- package/cli/dist/modules/sci/content-source.d.ts +18 -0
- package/cli/dist/modules/sci/content-source.d.ts.map +1 -0
- package/cli/dist/modules/sci/content-source.js +54 -0
- package/cli/dist/modules/sci/content-source.js.map +1 -0
- package/cli/dist/modules/sci/index.d.ts +3 -0
- package/cli/dist/modules/sci/index.d.ts.map +1 -0
- package/cli/dist/modules/sci/index.js +19 -0
- package/cli/dist/modules/sci/index.js.map +1 -0
- package/cli/dist/modules/sci/outline-transform.d.ts +16 -0
- package/cli/dist/modules/sci/outline-transform.d.ts.map +1 -0
- package/cli/dist/modules/sci/outline-transform.js +67 -0
- package/cli/dist/modules/sci/outline-transform.js.map +1 -0
- package/cli/dist/modules/sci/precheck-cache.d.ts +23 -0
- package/cli/dist/modules/sci/precheck-cache.d.ts.map +1 -0
- package/cli/dist/modules/sci/precheck-cache.js +141 -0
- package/cli/dist/modules/sci/precheck-cache.js.map +1 -0
- package/cli/dist/modules/sci/prompt-article.d.ts +12 -0
- package/cli/dist/modules/sci/prompt-article.d.ts.map +1 -0
- package/cli/dist/modules/sci/prompt-article.js +37 -0
- package/cli/dist/modules/sci/prompt-article.js.map +1 -0
- package/cli/dist/modules/sci/prompt-precheck.d.ts +16 -0
- package/cli/dist/modules/sci/prompt-precheck.d.ts.map +1 -0
- package/cli/dist/modules/sci/prompt-precheck.js +61 -0
- package/cli/dist/modules/sci/prompt-precheck.js.map +1 -0
- package/cli/dist/modules/sci/sse-utils.d.ts +50 -0
- package/cli/dist/modules/sci/sse-utils.d.ts.map +1 -0
- package/cli/dist/modules/sci/sse-utils.js +207 -0
- package/cli/dist/modules/sci/sse-utils.js.map +1 -0
- package/cli/dist/modules/shared/result-wrapper.d.ts +71 -0
- package/cli/dist/modules/shared/result-wrapper.d.ts.map +1 -0
- package/cli/dist/modules/shared/result-wrapper.js +95 -0
- package/cli/dist/modules/shared/result-wrapper.js.map +1 -0
- package/cli/dist/modules/shared/workflow-app/api.d.ts +6 -0
- package/cli/dist/modules/shared/workflow-app/api.d.ts.map +1 -0
- package/cli/dist/modules/shared/workflow-app/api.js +31 -0
- package/cli/dist/modules/shared/workflow-app/api.js.map +1 -0
- package/cli/dist/modules/shared/workflow-app/command.d.ts +30 -0
- package/cli/dist/modules/shared/workflow-app/command.d.ts.map +1 -0
- package/cli/dist/modules/shared/workflow-app/command.js +183 -0
- package/cli/dist/modules/shared/workflow-app/command.js.map +1 -0
- package/cli/dist/modules/shared/workflow-app/constants.d.ts +12 -0
- package/cli/dist/modules/shared/workflow-app/constants.d.ts.map +1 -0
- package/cli/dist/modules/shared/workflow-app/constants.js +21 -0
- package/cli/dist/modules/shared/workflow-app/constants.js.map +1 -0
- package/cli/dist/modules/shared/workflow-app/form.d.ts +21 -0
- package/cli/dist/modules/shared/workflow-app/form.d.ts.map +1 -0
- package/cli/dist/modules/shared/workflow-app/form.js +123 -0
- package/cli/dist/modules/shared/workflow-app/form.js.map +1 -0
- package/cli/dist/modules/shared/workflow-app/index.d.ts +8 -0
- package/cli/dist/modules/shared/workflow-app/index.d.ts.map +1 -0
- package/cli/dist/modules/shared/workflow-app/index.js +7 -0
- package/cli/dist/modules/shared/workflow-app/index.js.map +1 -0
- package/cli/dist/modules/shared/workflow-app/run.d.ts +15 -0
- package/cli/dist/modules/shared/workflow-app/run.d.ts.map +1 -0
- package/cli/dist/modules/shared/workflow-app/run.js +71 -0
- package/cli/dist/modules/shared/workflow-app/run.js.map +1 -0
- package/cli/dist/modules/shared/workflow-app/types.d.ts +74 -0
- package/cli/dist/modules/shared/workflow-app/types.d.ts.map +1 -0
- package/cli/dist/modules/shared/workflow-app/types.js +3 -0
- package/cli/dist/modules/shared/workflow-app/types.js.map +1 -0
- package/cli/dist/modules/site-configs.d.ts +4 -0
- package/cli/dist/modules/site-configs.d.ts.map +1 -0
- package/cli/dist/modules/site-configs.js +21 -0
- package/cli/dist/modules/site-configs.js.map +1 -0
- package/cli/dist/modules/upgrade/index.d.ts +6 -0
- package/cli/dist/modules/upgrade/index.d.ts.map +1 -0
- package/cli/dist/modules/upgrade/index.js +105 -0
- package/cli/dist/modules/upgrade/index.js.map +1 -0
- package/cli/dist/program.d.ts +3 -0
- package/cli/dist/program.d.ts.map +1 -0
- package/cli/dist/program.js +69 -0
- package/cli/dist/program.js.map +1 -0
- package/package.json +37 -0
|
@@ -0,0 +1,1179 @@
|
|
|
1
|
+
// Meta 统计分析图表可调参数(对齐网站 ChartConfigurator / GRAPH_*)
|
|
2
|
+
/** 森林图参数分组(对齐网站 GRAPH_FOREST) */
|
|
3
|
+
export const GRAPH_FOREST = [
|
|
4
|
+
{
|
|
5
|
+
label: "表格",
|
|
6
|
+
key: "table",
|
|
7
|
+
form: [
|
|
8
|
+
{
|
|
9
|
+
type: "XTSelect",
|
|
10
|
+
label: "线粗细",
|
|
11
|
+
key: "line_width",
|
|
12
|
+
tips: "",
|
|
13
|
+
required: true,
|
|
14
|
+
placeholder: "请选择",
|
|
15
|
+
options: ["0.25pt", "0.50pt", "0.75pt", "1.00pt", "1.25pt"],
|
|
16
|
+
multiple: false,
|
|
17
|
+
repeated: false
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
type: "XTSelect",
|
|
21
|
+
label: "文字大小",
|
|
22
|
+
key: "text_size",
|
|
23
|
+
tips: "",
|
|
24
|
+
required: true,
|
|
25
|
+
placeholder: "请选择",
|
|
26
|
+
options: ["3pt", "4pt", "5pt", "6pt", "7pt", "8pt", "9pt", "10pt", "11pt", "12pt"],
|
|
27
|
+
multiple: false,
|
|
28
|
+
repeated: false
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
type: "XTInput",
|
|
32
|
+
label: "森林图部分相对大小",
|
|
33
|
+
key: "plot_width",
|
|
34
|
+
tips: "控制森林图可视化部分的相对大小, 支持0.3-3之间调整",
|
|
35
|
+
required: true,
|
|
36
|
+
placeholder: "默认为1,可以设置更大"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
label: "森林图(线)",
|
|
42
|
+
key: "line",
|
|
43
|
+
form: [
|
|
44
|
+
{
|
|
45
|
+
type: "XTColor",
|
|
46
|
+
label: "颜色",
|
|
47
|
+
key: "color",
|
|
48
|
+
tips: "",
|
|
49
|
+
required: true
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
type: "XTSelect",
|
|
53
|
+
label: "线条类型",
|
|
54
|
+
key: "type",
|
|
55
|
+
tips: "",
|
|
56
|
+
required: true,
|
|
57
|
+
placeholder: "请选择",
|
|
58
|
+
options: ["实线", "虚线"],
|
|
59
|
+
multiple: false,
|
|
60
|
+
repeated: false
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
type: "XTSelect",
|
|
64
|
+
label: "线条粗细",
|
|
65
|
+
key: "size",
|
|
66
|
+
tips: "",
|
|
67
|
+
required: true,
|
|
68
|
+
placeholder: "请选择",
|
|
69
|
+
options: ["0.25pt", "0.50pt", "0.75pt", "1.00pt", "1.25pt"],
|
|
70
|
+
multiple: false,
|
|
71
|
+
repeated: false
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
type: "XTInput",
|
|
75
|
+
label: "不透明度",
|
|
76
|
+
key: "alpha",
|
|
77
|
+
tips: "",
|
|
78
|
+
required: true,
|
|
79
|
+
placeholder: "0-1之间,1代表完全不透明"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
label: "森林图(点)",
|
|
85
|
+
key: "point",
|
|
86
|
+
form: [
|
|
87
|
+
{
|
|
88
|
+
type: "XTColor",
|
|
89
|
+
label: "填充色",
|
|
90
|
+
key: "fill",
|
|
91
|
+
tips: "",
|
|
92
|
+
required: true
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
type: "XTColor",
|
|
96
|
+
label: "描边色",
|
|
97
|
+
key: "color",
|
|
98
|
+
tips: "",
|
|
99
|
+
required: true
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
type: "XTSelect",
|
|
103
|
+
label: "样式",
|
|
104
|
+
key: "shape",
|
|
105
|
+
tips: "",
|
|
106
|
+
required: true,
|
|
107
|
+
placeholder: "请选择",
|
|
108
|
+
options: ["圆形", "正方形", "菱形", "三角形", "倒三角"],
|
|
109
|
+
multiple: false,
|
|
110
|
+
repeated: false
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
type: "XTInput",
|
|
114
|
+
label: "大小比例",
|
|
115
|
+
key: "size",
|
|
116
|
+
tips: "",
|
|
117
|
+
required: true,
|
|
118
|
+
placeholder: "点的大小比例"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
type: "XTInput",
|
|
122
|
+
label: "不透明度",
|
|
123
|
+
key: "alpha",
|
|
124
|
+
tips: "",
|
|
125
|
+
required: true,
|
|
126
|
+
placeholder: "0-1之间,1代表完全不透明"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
label: "森林图(参考线)",
|
|
132
|
+
key: "cutoff",
|
|
133
|
+
form: [
|
|
134
|
+
{
|
|
135
|
+
type: "XTInput",
|
|
136
|
+
label: "位置",
|
|
137
|
+
key: "position",
|
|
138
|
+
tips: "对应森林图部分参考线位置",
|
|
139
|
+
required: true,
|
|
140
|
+
placeholder: "参考线的位置"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
type: "XTColor",
|
|
144
|
+
label: "颜色",
|
|
145
|
+
key: "color",
|
|
146
|
+
tips: "",
|
|
147
|
+
required: true
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
type: "XTSelect",
|
|
151
|
+
label: "线条类型",
|
|
152
|
+
key: "type",
|
|
153
|
+
tips: "",
|
|
154
|
+
required: true,
|
|
155
|
+
placeholder: "请选择",
|
|
156
|
+
options: ["实线", "虚线"],
|
|
157
|
+
multiple: false,
|
|
158
|
+
repeated: false
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
type: "XTSelect",
|
|
162
|
+
label: "线条粗细",
|
|
163
|
+
key: "size",
|
|
164
|
+
tips: "",
|
|
165
|
+
required: true,
|
|
166
|
+
placeholder: "请选择",
|
|
167
|
+
options: ["0.25pt", "0.50pt", "0.75pt", "1.00pt", "1.25pt"],
|
|
168
|
+
multiple: false,
|
|
169
|
+
repeated: false
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
label: "标题",
|
|
175
|
+
key: "title",
|
|
176
|
+
form: [
|
|
177
|
+
{
|
|
178
|
+
type: "XTInput",
|
|
179
|
+
label: "大标题",
|
|
180
|
+
key: "title",
|
|
181
|
+
tips: "大标题以左对齐方式展示在表格左上方",
|
|
182
|
+
required: false,
|
|
183
|
+
placeholder: "大标题内容"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
type: "XTSelect",
|
|
187
|
+
label: "文字大小",
|
|
188
|
+
key: "size",
|
|
189
|
+
tips: "",
|
|
190
|
+
required: true,
|
|
191
|
+
placeholder: "请选择",
|
|
192
|
+
options: ["3pt", "4pt", "5pt", "6pt", "7pt", "8pt", "9pt", "10pt", "11pt", "12pt"],
|
|
193
|
+
multiple: false,
|
|
194
|
+
repeated: false
|
|
195
|
+
}
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
label: "坐标轴",
|
|
200
|
+
key: "axis",
|
|
201
|
+
form: [
|
|
202
|
+
{
|
|
203
|
+
type: "XTInput",
|
|
204
|
+
label: "x轴范围+刻度",
|
|
205
|
+
key: "limits_x",
|
|
206
|
+
tips: "可以控制森林图x轴范围和刻度,可只提供2个值来控制范围,也可提供多个值同时控制范围和刻度。形如 0, 0, 0.2, 1, 2, 5。(如果调整过大可能会无作用)",
|
|
207
|
+
required: false,
|
|
208
|
+
placeholder: "逗号隔开"
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
label: "图片",
|
|
214
|
+
key: "figure",
|
|
215
|
+
form: [
|
|
216
|
+
{
|
|
217
|
+
type: "XTInput",
|
|
218
|
+
label: "宽度 (cm)",
|
|
219
|
+
key: "width",
|
|
220
|
+
tips: "",
|
|
221
|
+
required: true,
|
|
222
|
+
placeholder: "设置图片宽度"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
type: "XTInput",
|
|
226
|
+
label: "高度 (cm)",
|
|
227
|
+
key: "height",
|
|
228
|
+
tips: "",
|
|
229
|
+
required: true,
|
|
230
|
+
placeholder: "设置图片高度"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
type: "XTSelect",
|
|
234
|
+
label: "字体",
|
|
235
|
+
key: "family",
|
|
236
|
+
tips: "",
|
|
237
|
+
required: true,
|
|
238
|
+
placeholder: "请选择",
|
|
239
|
+
options: ["Arial", "Times New Roman", "宋体", "黑体"],
|
|
240
|
+
multiple: false,
|
|
241
|
+
repeated: false
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
label: "分析参数",
|
|
247
|
+
key: "analysis",
|
|
248
|
+
form: [
|
|
249
|
+
{
|
|
250
|
+
type: "XTSelect",
|
|
251
|
+
label: "效应量",
|
|
252
|
+
key: "summary_measure",
|
|
253
|
+
tips: "选择Meta分析的效应量计算方式,即用于合并研究的效应量类型",
|
|
254
|
+
required: true,
|
|
255
|
+
placeholder: "请选择",
|
|
256
|
+
default_value: "RR(相对危险度)",
|
|
257
|
+
options: ["OR(优势比)", "RR(相对危险度)", "RD(率差)"],
|
|
258
|
+
multiple: false,
|
|
259
|
+
repeated: false
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
type: "XTSelect",
|
|
263
|
+
label: "计算方法",
|
|
264
|
+
key: "method",
|
|
265
|
+
tips: "选择Meta分析的效应量计算方法",
|
|
266
|
+
required: true,
|
|
267
|
+
placeholder: "请选择",
|
|
268
|
+
default_value: "MH",
|
|
269
|
+
options: ["Inverse", "MH"],
|
|
270
|
+
multiple: false,
|
|
271
|
+
repeated: false
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
type: "XTSelect",
|
|
275
|
+
label: "模型类型",
|
|
276
|
+
key: "model",
|
|
277
|
+
tips: "选择Meta分析的模型类型, 默认使用随机效应。当存在异质性时,需使用随机效应;当研究数量较少时可以使用随机效用。",
|
|
278
|
+
required: true,
|
|
279
|
+
placeholder: "请选择",
|
|
280
|
+
default_value: "随机效应",
|
|
281
|
+
options: ["随机效应", "固定效应"],
|
|
282
|
+
multiple: false,
|
|
283
|
+
repeated: false
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
type: "XTSelect",
|
|
287
|
+
label: "估计方法",
|
|
288
|
+
key: "method_tau",
|
|
289
|
+
tips: "用于指定估计研究间方差(tau-squared)的方法,该参数只对随机效用起作用。",
|
|
290
|
+
required: true,
|
|
291
|
+
placeholder: "请选择",
|
|
292
|
+
default_value: "PM",
|
|
293
|
+
options: ["DL", "PM", "REML", "ML", "HS", "SJ", "HE", "EB"],
|
|
294
|
+
multiple: false,
|
|
295
|
+
repeated: false
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
type: "XTSwitch",
|
|
299
|
+
label: "是否使用hakn",
|
|
300
|
+
key: "method_random_ci",
|
|
301
|
+
tips: "(当存在异质性时)是否使用 Hartung and Knapp 方法计算置信区间",
|
|
302
|
+
required: true,
|
|
303
|
+
default_value: true,
|
|
304
|
+
link: []
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
}
|
|
308
|
+
];
|
|
309
|
+
/** 漏斗图参数分组(对齐网站 GRAPH_FUNNEL) */
|
|
310
|
+
export const GRAPH_FUNNEL = [
|
|
311
|
+
{
|
|
312
|
+
label: "方法",
|
|
313
|
+
key: "method",
|
|
314
|
+
form: [
|
|
315
|
+
{
|
|
316
|
+
type: "XTSelect",
|
|
317
|
+
label: "模型",
|
|
318
|
+
key: "model",
|
|
319
|
+
tips: "Meta分析使用Trim剪补法进行校正合并效应值,Trim剪补法时剪去漏斗图中不对称项,并且沿漏斗图中心两侧填补上被剪切部分,可以选择基于剪补后数据绘制漏斗图。<Trim剪补法前>则为原模型下绘制的漏斗图。",
|
|
320
|
+
required: true,
|
|
321
|
+
placeholder: "请选择",
|
|
322
|
+
options: ["Trim剪补法前", "Trim剪补法后"],
|
|
323
|
+
multiple: false,
|
|
324
|
+
repeated: false
|
|
325
|
+
}
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
label: "类型",
|
|
330
|
+
key: "style",
|
|
331
|
+
form: [
|
|
332
|
+
{
|
|
333
|
+
type: "XTSelect",
|
|
334
|
+
label: "可视化类型",
|
|
335
|
+
key: "type",
|
|
336
|
+
tips: "标准漏斗图是常规用于评估Meta分析中发表偏倚的可视化形式,轮廓增强漏斗图(Contour-enhanced funnel plot)是在标准漏斗图的基础上增加了统计显著性水平的轮廓线,一般表示0.90, 0.95, 0.99置信区间。",
|
|
337
|
+
required: true,
|
|
338
|
+
placeholder: "请选择",
|
|
339
|
+
options: ["标准漏斗图", "轮廓增强漏斗图"],
|
|
340
|
+
multiple: false,
|
|
341
|
+
repeated: false
|
|
342
|
+
}
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
label: "点",
|
|
347
|
+
key: "point",
|
|
348
|
+
form: [
|
|
349
|
+
{
|
|
350
|
+
type: "XTColor",
|
|
351
|
+
label: "填充色",
|
|
352
|
+
key: "fill",
|
|
353
|
+
tips: "",
|
|
354
|
+
required: true
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
type: "XTColor",
|
|
358
|
+
label: "描边色",
|
|
359
|
+
key: "color",
|
|
360
|
+
tips: "",
|
|
361
|
+
required: true
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
type: "XTSelect",
|
|
365
|
+
label: "样式",
|
|
366
|
+
key: "shape",
|
|
367
|
+
tips: "",
|
|
368
|
+
required: true,
|
|
369
|
+
placeholder: "请选择",
|
|
370
|
+
options: ["圆形", "正方形", "菱形", "三角形", "倒三角"],
|
|
371
|
+
multiple: false,
|
|
372
|
+
repeated: false
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
type: "XTInput",
|
|
376
|
+
label: "大小",
|
|
377
|
+
key: "size",
|
|
378
|
+
tips: "",
|
|
379
|
+
required: true,
|
|
380
|
+
placeholder: "点的大小"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
type: "XTInput",
|
|
384
|
+
label: "不透明度",
|
|
385
|
+
key: "alpha",
|
|
386
|
+
tips: "",
|
|
387
|
+
required: true,
|
|
388
|
+
placeholder: "0-1之间,1代表完全不透明"
|
|
389
|
+
}
|
|
390
|
+
]
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
label: "评估线",
|
|
394
|
+
key: "line",
|
|
395
|
+
form: [
|
|
396
|
+
{
|
|
397
|
+
type: "XTColor",
|
|
398
|
+
label: "评估线颜色",
|
|
399
|
+
key: "color",
|
|
400
|
+
tips: "",
|
|
401
|
+
required: true
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
type: "XTSelect",
|
|
405
|
+
label: "评估线样式",
|
|
406
|
+
key: "type",
|
|
407
|
+
tips: "",
|
|
408
|
+
required: true,
|
|
409
|
+
placeholder: "请选择",
|
|
410
|
+
options: ["实线", "虚线"],
|
|
411
|
+
multiple: false,
|
|
412
|
+
repeated: false
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
type: "XTSelect",
|
|
416
|
+
label: "线条粗细",
|
|
417
|
+
key: "size",
|
|
418
|
+
tips: "",
|
|
419
|
+
required: true,
|
|
420
|
+
placeholder: "请选择",
|
|
421
|
+
options: ["0.25pt", "0.50pt", "0.75pt", "1.00pt", "1.25pt", "1.50pt"],
|
|
422
|
+
multiple: false,
|
|
423
|
+
repeated: false
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
type: "XTInput",
|
|
427
|
+
label: "不透明度",
|
|
428
|
+
key: "alpha",
|
|
429
|
+
tips: "",
|
|
430
|
+
required: true,
|
|
431
|
+
placeholder: "0-1之间,1代表完全不透明"
|
|
432
|
+
}
|
|
433
|
+
]
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
label: "标题",
|
|
437
|
+
key: "title",
|
|
438
|
+
form: [
|
|
439
|
+
{
|
|
440
|
+
type: "XTInput",
|
|
441
|
+
label: "大标题",
|
|
442
|
+
key: "title",
|
|
443
|
+
tips: "换行可以在需要换行的位置插入\\n; 如果需要上标,可以用两个大括号括住想要上标的内容,形如'{{2}}';如果需要下标,可以用两个中括号括住想要上标的内容,形如'[[2]]'",
|
|
444
|
+
required: false,
|
|
445
|
+
placeholder: "大标题内容"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
type: "XTInput",
|
|
449
|
+
label: "x轴标题",
|
|
450
|
+
key: "x",
|
|
451
|
+
tips: "换行可以在需要换行的位置插入\\n; 如果需要上标,可以用两个大括号括住想要上标的内容,形如'{{2}}';如果需要下标,可以用两个中括号括住想要上标的内容,形如'[[2]]'",
|
|
452
|
+
required: false,
|
|
453
|
+
placeholder: "x轴标题内容"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
type: "XTInput",
|
|
457
|
+
label: "y轴标题",
|
|
458
|
+
key: "y",
|
|
459
|
+
tips: "换行可以在需要换行的位置插入\\n; 如果需要上标,可以用两个大括号括住想要上标的内容,形如'{{2}}';如果需要下标,可以用两个中括号括住想要上标的内容,形如'[[2]]'",
|
|
460
|
+
required: false,
|
|
461
|
+
placeholder: "y轴标题内容"
|
|
462
|
+
}
|
|
463
|
+
]
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
label: "图注",
|
|
467
|
+
key: "legend",
|
|
468
|
+
form: [
|
|
469
|
+
{
|
|
470
|
+
type: "XTSwitch",
|
|
471
|
+
label: "是否展示",
|
|
472
|
+
key: "show",
|
|
473
|
+
tips: "",
|
|
474
|
+
required: true,
|
|
475
|
+
link: ["title", "position"]
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
type: "XTInput",
|
|
479
|
+
label: "图注标题",
|
|
480
|
+
key: "title",
|
|
481
|
+
tips: "换行可以在需要换行的位置插入\\n",
|
|
482
|
+
required: false,
|
|
483
|
+
placeholder: "图注标题内容"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
type: "XTSelect",
|
|
487
|
+
label: "图注位置",
|
|
488
|
+
key: "position",
|
|
489
|
+
tips: "",
|
|
490
|
+
required: true,
|
|
491
|
+
placeholder: "请选择",
|
|
492
|
+
options: ["默认", "右", "上"],
|
|
493
|
+
multiple: false,
|
|
494
|
+
repeated: false
|
|
495
|
+
}
|
|
496
|
+
]
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
label: "坐标轴",
|
|
500
|
+
key: "axis",
|
|
501
|
+
form: [
|
|
502
|
+
{
|
|
503
|
+
type: "XTSwitch",
|
|
504
|
+
label: "是否显示x轴",
|
|
505
|
+
key: "show_x",
|
|
506
|
+
tips: "",
|
|
507
|
+
required: true,
|
|
508
|
+
link: []
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
type: "XTSwitch",
|
|
512
|
+
label: "是否显示y轴",
|
|
513
|
+
key: "show_y",
|
|
514
|
+
tips: "",
|
|
515
|
+
required: true,
|
|
516
|
+
link: []
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
type: "XTInput",
|
|
520
|
+
label: "x轴范围",
|
|
521
|
+
key: "limits_x",
|
|
522
|
+
tips: "可以控制x轴范围和刻度,可只提供2个值来控制范围,也可提供多个值同时控制范围和刻度。形如 0.1, 0.1, 0.2, 0.3 (如果调整过大可能会无作用)。",
|
|
523
|
+
required: false,
|
|
524
|
+
placeholder: "逗号隔开"
|
|
525
|
+
}
|
|
526
|
+
]
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
label: "风格",
|
|
530
|
+
key: "theme",
|
|
531
|
+
form: [
|
|
532
|
+
{
|
|
533
|
+
type: "XTSwitch",
|
|
534
|
+
label: "边框",
|
|
535
|
+
key: "border",
|
|
536
|
+
tips: "",
|
|
537
|
+
required: true,
|
|
538
|
+
link: []
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
type: "XTSwitch",
|
|
542
|
+
label: "网格",
|
|
543
|
+
key: "panel",
|
|
544
|
+
tips: "",
|
|
545
|
+
required: true,
|
|
546
|
+
link: []
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
type: "XTSelect",
|
|
550
|
+
label: "文字大小",
|
|
551
|
+
key: "size",
|
|
552
|
+
tips: "",
|
|
553
|
+
required: true,
|
|
554
|
+
placeholder: "请选择",
|
|
555
|
+
options: ["3pt", "4pt", "5pt", "6pt", "7pt", "8pt", "9pt", "10pt", "11pt", "12pt"],
|
|
556
|
+
multiple: false,
|
|
557
|
+
repeated: false
|
|
558
|
+
}
|
|
559
|
+
]
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
label: "图片",
|
|
563
|
+
key: "figure",
|
|
564
|
+
form: [
|
|
565
|
+
{
|
|
566
|
+
type: "XTInput",
|
|
567
|
+
label: "宽度 (cm)",
|
|
568
|
+
key: "width",
|
|
569
|
+
tips: "",
|
|
570
|
+
required: true,
|
|
571
|
+
placeholder: "设置图片宽度"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
type: "XTInput",
|
|
575
|
+
label: "高度 (cm)",
|
|
576
|
+
key: "height",
|
|
577
|
+
tips: "",
|
|
578
|
+
required: true,
|
|
579
|
+
placeholder: "设置图片高度"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
type: "XTSelect",
|
|
583
|
+
label: "字体",
|
|
584
|
+
key: "family",
|
|
585
|
+
tips: "",
|
|
586
|
+
required: true,
|
|
587
|
+
placeholder: "请选择",
|
|
588
|
+
options: ["Arial", "Times New Roman", "宋体", "黑体"],
|
|
589
|
+
multiple: false,
|
|
590
|
+
repeated: false
|
|
591
|
+
}
|
|
592
|
+
]
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
label: "分析参数",
|
|
596
|
+
key: "analysis",
|
|
597
|
+
form: [
|
|
598
|
+
{
|
|
599
|
+
type: "XTSelect",
|
|
600
|
+
label: "效应量",
|
|
601
|
+
key: "summary_measure",
|
|
602
|
+
tips: "选择Meta分析的效应量计算方式,即用于合并研究的效应量类型",
|
|
603
|
+
required: true,
|
|
604
|
+
placeholder: "请选择",
|
|
605
|
+
default_value: "RR(相对危险度)",
|
|
606
|
+
options: ["OR(优势比)", "RR(相对危险度)", "RD(率差)"],
|
|
607
|
+
multiple: false,
|
|
608
|
+
repeated: false
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
type: "XTSelect",
|
|
612
|
+
label: "计算方法",
|
|
613
|
+
key: "method",
|
|
614
|
+
tips: "选择Meta分析的效应量计算方法",
|
|
615
|
+
required: true,
|
|
616
|
+
placeholder: "请选择",
|
|
617
|
+
default_value: "MH",
|
|
618
|
+
options: ["Inverse", "MH"],
|
|
619
|
+
multiple: false,
|
|
620
|
+
repeated: false
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
type: "XTSelect",
|
|
624
|
+
label: "模型类型",
|
|
625
|
+
key: "model",
|
|
626
|
+
tips: "选择Meta分析的模型类型, 默认使用随机效应。当存在异质性时,需使用随机效应;当研究数量较少时可以使用随机效用。",
|
|
627
|
+
required: true,
|
|
628
|
+
placeholder: "请选择",
|
|
629
|
+
default_value: "随机效应",
|
|
630
|
+
options: ["随机效应", "固定效应"],
|
|
631
|
+
multiple: false,
|
|
632
|
+
repeated: false
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
type: "XTSelect",
|
|
636
|
+
label: "估计方法",
|
|
637
|
+
key: "method_tau",
|
|
638
|
+
tips: "用于指定估计研究间方差(tau-squared)的方法,该参数只对随机效用起作用。",
|
|
639
|
+
required: true,
|
|
640
|
+
placeholder: "请选择",
|
|
641
|
+
default_value: "PM",
|
|
642
|
+
options: ["DL", "PM", "REML", "ML", "HS", "SJ", "HE", "EB"],
|
|
643
|
+
multiple: false,
|
|
644
|
+
repeated: false
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
type: "XTSwitch",
|
|
648
|
+
label: "是否使用hakn",
|
|
649
|
+
key: "method_random_ci",
|
|
650
|
+
tips: "(当存在异质性时)是否使用 Hartung and Knapp 方法计算置信区间",
|
|
651
|
+
required: true,
|
|
652
|
+
default_value: true,
|
|
653
|
+
link: []
|
|
654
|
+
}
|
|
655
|
+
]
|
|
656
|
+
}
|
|
657
|
+
];
|
|
658
|
+
/** 质量评估总结图参数分组(对齐网站 GRAPH_ROB_SUMMARY) */
|
|
659
|
+
export const GRAPH_ROB_SUMMARY = [
|
|
660
|
+
{
|
|
661
|
+
label: "柱",
|
|
662
|
+
key: "bar",
|
|
663
|
+
form: [
|
|
664
|
+
{
|
|
665
|
+
type: "XTColor",
|
|
666
|
+
label: "颜色",
|
|
667
|
+
key: "fill",
|
|
668
|
+
tips: "",
|
|
669
|
+
required: true
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
type: "XTColor",
|
|
673
|
+
label: "描边色",
|
|
674
|
+
key: "color",
|
|
675
|
+
tips: "",
|
|
676
|
+
required: true
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
type: "XTSelect",
|
|
680
|
+
label: "描边粗细",
|
|
681
|
+
key: "size",
|
|
682
|
+
tips: "",
|
|
683
|
+
required: true,
|
|
684
|
+
placeholder: "请选择",
|
|
685
|
+
options: ["0.00pt", "0.25pt", "0.50pt", "0.75pt", "1.00pt", "1.25pt"],
|
|
686
|
+
multiple: false,
|
|
687
|
+
repeated: false
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
type: "XTInput",
|
|
691
|
+
label: "宽度",
|
|
692
|
+
key: "width",
|
|
693
|
+
tips: "",
|
|
694
|
+
required: true,
|
|
695
|
+
placeholder: "请输入柱子宽度"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
type: "XTInput",
|
|
699
|
+
label: "不透明度",
|
|
700
|
+
key: "alpha",
|
|
701
|
+
tips: "",
|
|
702
|
+
required: true,
|
|
703
|
+
placeholder: "0-1之间,1代表完全不透明"
|
|
704
|
+
}
|
|
705
|
+
]
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
label: "标题",
|
|
709
|
+
key: "title",
|
|
710
|
+
form: [
|
|
711
|
+
{
|
|
712
|
+
type: "XTInput",
|
|
713
|
+
label: "大标题",
|
|
714
|
+
key: "title",
|
|
715
|
+
tips: "换行可以在需要换行的位置插入\\n; 如果需要上标,可以用两个大括号括住想要上标的内容,形如'{{2}}';如果需要下标,可以用两个中括号括住想要上标的内容,形如'[[2]]'",
|
|
716
|
+
required: false,
|
|
717
|
+
placeholder: "大标题内容"
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
type: "XTInput",
|
|
721
|
+
label: "x轴标题",
|
|
722
|
+
key: "x",
|
|
723
|
+
tips: "换行可以在需要换行的位置插入\\n; 如果需要上标,可以用两个大括号括住想要上标的内容,形如'{{2}}';如果需要下标,可以用两个中括号括住想要上标的内容,形如'[[2]]'",
|
|
724
|
+
required: false,
|
|
725
|
+
placeholder: "x轴标题内容"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
type: "XTInput",
|
|
729
|
+
label: "y轴标题",
|
|
730
|
+
key: "y",
|
|
731
|
+
tips: "换行可以在需要换行的位置插入\\n; 如果需要上标,可以用两个大括号括住想要上标的内容,形如'{{2}}';如果需要下标,可以用两个中括号括住想要上标的内容,形如'[[2]]'",
|
|
732
|
+
required: false,
|
|
733
|
+
placeholder: "y轴标题内容"
|
|
734
|
+
}
|
|
735
|
+
]
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
label: "图注",
|
|
739
|
+
key: "legend",
|
|
740
|
+
form: [
|
|
741
|
+
{
|
|
742
|
+
type: "XTSwitch",
|
|
743
|
+
label: "是否展示",
|
|
744
|
+
key: "show",
|
|
745
|
+
tips: "",
|
|
746
|
+
required: true,
|
|
747
|
+
link: []
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
type: "XTInput",
|
|
751
|
+
label: "图注标题",
|
|
752
|
+
key: "title",
|
|
753
|
+
tips: "换行可以在需要换行的位置插入\\n",
|
|
754
|
+
required: false,
|
|
755
|
+
placeholder: "图注标题内容"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
type: "XTSelect",
|
|
759
|
+
label: "图注位置",
|
|
760
|
+
key: "position",
|
|
761
|
+
tips: "",
|
|
762
|
+
required: true,
|
|
763
|
+
placeholder: "请选择",
|
|
764
|
+
options: ["右", "上", "下"],
|
|
765
|
+
multiple: false,
|
|
766
|
+
repeated: false
|
|
767
|
+
}
|
|
768
|
+
]
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
label: "坐标轴",
|
|
772
|
+
key: "axis",
|
|
773
|
+
form: [
|
|
774
|
+
{
|
|
775
|
+
type: "XTSelect",
|
|
776
|
+
label: "x轴标注旋转",
|
|
777
|
+
key: "angle_x",
|
|
778
|
+
tips: "",
|
|
779
|
+
required: true,
|
|
780
|
+
placeholder: "请选择",
|
|
781
|
+
options: ["0", "15", "30", "45", "60", "90"],
|
|
782
|
+
multiple: false,
|
|
783
|
+
repeated: false
|
|
784
|
+
}
|
|
785
|
+
]
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
label: "风格",
|
|
789
|
+
key: "theme",
|
|
790
|
+
form: [
|
|
791
|
+
{
|
|
792
|
+
type: "XTSwitch",
|
|
793
|
+
label: "边框",
|
|
794
|
+
key: "border",
|
|
795
|
+
tips: "",
|
|
796
|
+
required: true,
|
|
797
|
+
link: []
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
type: "XTSwitch",
|
|
801
|
+
label: "网格",
|
|
802
|
+
key: "panel",
|
|
803
|
+
tips: "",
|
|
804
|
+
required: true,
|
|
805
|
+
link: []
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
type: "XTSelect",
|
|
809
|
+
label: "文字大小",
|
|
810
|
+
key: "size",
|
|
811
|
+
tips: "",
|
|
812
|
+
required: true,
|
|
813
|
+
placeholder: "请选择",
|
|
814
|
+
options: ["3pt", "4pt", "5pt", "6pt", "7pt", "8pt", "9pt", "10pt", "11pt", "12pt"],
|
|
815
|
+
multiple: false,
|
|
816
|
+
repeated: false
|
|
817
|
+
}
|
|
818
|
+
]
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
label: "图片",
|
|
822
|
+
key: "figure",
|
|
823
|
+
form: [
|
|
824
|
+
{
|
|
825
|
+
type: "XTInput",
|
|
826
|
+
label: "宽度 (cm)",
|
|
827
|
+
key: "width",
|
|
828
|
+
tips: "",
|
|
829
|
+
required: true,
|
|
830
|
+
placeholder: "设置图片宽度"
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
type: "XTInput",
|
|
834
|
+
label: "高度 (cm)",
|
|
835
|
+
key: "height",
|
|
836
|
+
tips: "",
|
|
837
|
+
required: true,
|
|
838
|
+
placeholder: "设置图片高度"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
type: "XTSelect",
|
|
842
|
+
label: "字体",
|
|
843
|
+
key: "family",
|
|
844
|
+
tips: "",
|
|
845
|
+
required: true,
|
|
846
|
+
placeholder: "请选择",
|
|
847
|
+
options: ["Arial", "Times New Roman", "宋体", "黑体"],
|
|
848
|
+
multiple: false,
|
|
849
|
+
repeated: false
|
|
850
|
+
}
|
|
851
|
+
]
|
|
852
|
+
}
|
|
853
|
+
];
|
|
854
|
+
/** 质量评估红绿灯图参数分组(对齐网站 GRAPH_TRAFFIC_LIGHT) */
|
|
855
|
+
export const GRAPH_TRAFFIC_LIGHT = [
|
|
856
|
+
{
|
|
857
|
+
label: "点",
|
|
858
|
+
key: "point",
|
|
859
|
+
form: [
|
|
860
|
+
{
|
|
861
|
+
type: "XTColor",
|
|
862
|
+
label: "颜色",
|
|
863
|
+
key: "fill",
|
|
864
|
+
tips: "",
|
|
865
|
+
required: true
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
type: "XTColor",
|
|
869
|
+
label: "描边色",
|
|
870
|
+
key: "color",
|
|
871
|
+
tips: "",
|
|
872
|
+
required: true
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
type: "XTSelect",
|
|
876
|
+
label: "样式",
|
|
877
|
+
key: "style",
|
|
878
|
+
tips: "",
|
|
879
|
+
required: true,
|
|
880
|
+
placeholder: "请选择",
|
|
881
|
+
options: ["加号", "减号", "叉号", "问号", "感叹号"],
|
|
882
|
+
multiple: true,
|
|
883
|
+
repeated: false
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
type: "XTInput",
|
|
887
|
+
label: "大小",
|
|
888
|
+
key: "size",
|
|
889
|
+
tips: "",
|
|
890
|
+
required: true,
|
|
891
|
+
placeholder: "点的大小"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
type: "XTInput",
|
|
895
|
+
label: "不透明度",
|
|
896
|
+
key: "alpha",
|
|
897
|
+
tips: "",
|
|
898
|
+
required: true,
|
|
899
|
+
placeholder: "0-1之间,1代表完全不透明"
|
|
900
|
+
}
|
|
901
|
+
]
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
label: "标题",
|
|
905
|
+
key: "title",
|
|
906
|
+
form: [
|
|
907
|
+
{
|
|
908
|
+
type: "XTInput",
|
|
909
|
+
label: "大标题",
|
|
910
|
+
key: "title",
|
|
911
|
+
tips: "换行可以在需要换行的位置插入\\n; 如果需要上标,可以用两个大括号括住想要上标的内容,形如'{{2}}';如果需要下标,可以用两个中括号括住想要上标的内容,形如'[[2]]'",
|
|
912
|
+
required: false,
|
|
913
|
+
placeholder: "大标题内容"
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
type: "XTInput",
|
|
917
|
+
label: "x轴标题",
|
|
918
|
+
key: "x",
|
|
919
|
+
tips: "换行可以在需要换行的位置插入\\n; 如果需要上标,可以用两个大括号括住想要上标的内容,形如'{{2}}';如果需要下标,可以用两个中括号括住想要上标的内容,形如'[[2]]'",
|
|
920
|
+
required: false,
|
|
921
|
+
placeholder: "x轴标题内容"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
type: "XTInput",
|
|
925
|
+
label: "y轴标题",
|
|
926
|
+
key: "y",
|
|
927
|
+
tips: "换行可以在需要换行的位置插入\\n; 如果需要上标,可以用两个大括号括住想要上标的内容,形如'{{2}}';如果需要下标,可以用两个中括号括住想要上标的内容,形如'[[2]]'",
|
|
928
|
+
required: false,
|
|
929
|
+
placeholder: "y轴标题内容"
|
|
930
|
+
}
|
|
931
|
+
]
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
label: "图注",
|
|
935
|
+
key: "legend",
|
|
936
|
+
form: [
|
|
937
|
+
{
|
|
938
|
+
type: "XTSwitch",
|
|
939
|
+
label: "是否展示",
|
|
940
|
+
key: "show",
|
|
941
|
+
tips: "",
|
|
942
|
+
required: true,
|
|
943
|
+
link: ["title", "position"]
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
type: "XTInput",
|
|
947
|
+
label: "图注标题",
|
|
948
|
+
key: "title",
|
|
949
|
+
tips: "换行可以在需要换行的位置插入\\n",
|
|
950
|
+
required: false,
|
|
951
|
+
placeholder: "图注标题内容"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
type: "XTInput",
|
|
955
|
+
label: "图注标签",
|
|
956
|
+
key: "labels",
|
|
957
|
+
tips: "可以修改图注中分组标签的名字,如果有多个名字要修改,则需要把这些名字以逗号的形式合并成一个,类似 A, B",
|
|
958
|
+
required: false,
|
|
959
|
+
placeholder: "图注标签内容"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
type: "XTSelect",
|
|
963
|
+
label: "图注位置",
|
|
964
|
+
key: "position",
|
|
965
|
+
tips: "",
|
|
966
|
+
required: true,
|
|
967
|
+
placeholder: "请选择",
|
|
968
|
+
options: ["默认", "左", "右", "上", "下"],
|
|
969
|
+
multiple: false,
|
|
970
|
+
repeated: false
|
|
971
|
+
}
|
|
972
|
+
]
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
label: "风格",
|
|
976
|
+
key: "theme",
|
|
977
|
+
form: [
|
|
978
|
+
{
|
|
979
|
+
type: "XTSwitch",
|
|
980
|
+
label: "边框",
|
|
981
|
+
key: "border",
|
|
982
|
+
tips: "",
|
|
983
|
+
required: true,
|
|
984
|
+
link: []
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
type: "XTSwitch",
|
|
988
|
+
label: "网格",
|
|
989
|
+
key: "panel",
|
|
990
|
+
tips: "",
|
|
991
|
+
required: true,
|
|
992
|
+
link: []
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
type: "XTSelect",
|
|
996
|
+
label: "文字大小",
|
|
997
|
+
key: "size",
|
|
998
|
+
tips: "",
|
|
999
|
+
required: true,
|
|
1000
|
+
placeholder: "请选择",
|
|
1001
|
+
options: ["3pt", "4pt", "5pt", "6pt", "7pt", "8pt", "9pt", "10pt", "11pt", "12pt"],
|
|
1002
|
+
multiple: false,
|
|
1003
|
+
repeated: false
|
|
1004
|
+
}
|
|
1005
|
+
]
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
label: "图片",
|
|
1009
|
+
key: "figure",
|
|
1010
|
+
form: [
|
|
1011
|
+
{
|
|
1012
|
+
type: "XTInput",
|
|
1013
|
+
label: "宽度 (cm)",
|
|
1014
|
+
key: "width",
|
|
1015
|
+
tips: "",
|
|
1016
|
+
required: true,
|
|
1017
|
+
placeholder: "设置图片宽度"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
type: "XTInput",
|
|
1021
|
+
label: "高度 (cm)",
|
|
1022
|
+
key: "height",
|
|
1023
|
+
tips: "",
|
|
1024
|
+
required: true,
|
|
1025
|
+
placeholder: "设置图片高度"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
type: "XTSelect",
|
|
1029
|
+
label: "字体",
|
|
1030
|
+
key: "family",
|
|
1031
|
+
tips: "",
|
|
1032
|
+
required: true,
|
|
1033
|
+
placeholder: "请选择",
|
|
1034
|
+
options: ["Arial", "Times New Roman", "宋体", "黑体"],
|
|
1035
|
+
multiple: false,
|
|
1036
|
+
repeated: false
|
|
1037
|
+
}
|
|
1038
|
+
]
|
|
1039
|
+
}
|
|
1040
|
+
];
|
|
1041
|
+
/** 贴参通用硬约束(森林图 / 漏斗图 / 质量评估单图共用,禁止图种特例) */
|
|
1042
|
+
const PASTE_SECTIONS_RULES = "Paste every editableParamsSections item in order (or paste the full editableParamsMarkdown verbatim). " +
|
|
1043
|
+
"Each requiredSectionLabels entry MUST be its own heading with ALL its fields — " +
|
|
1044
|
+
"NEVER merge headings with「/」(wrong example:「标题 / 图注 / 坐标轴 / 分析参数»). " +
|
|
1045
|
+
"Keep empty「(空)」and every「;可选值:…」/「;说明:…」. " +
|
|
1046
|
+
"Section count in the reply MUST equal requiredSectionLabels.length. ";
|
|
1047
|
+
/**
|
|
1048
|
+
* 运行时短指令(细则以 meta.md Step 5「编辑参数并重新生成」为准,此处不重复展开)。
|
|
1049
|
+
* 适用于森林图 / 漏斗图等单文档调参。
|
|
1050
|
+
*/
|
|
1051
|
+
export const EDIT_PLOT_PARAMS_INSTRUCTION = PASTE_SECTIONS_RULES +
|
|
1052
|
+
"Do not summarize or truncate. Then collect named changes via「手动输入」and rerun only those fields. " +
|
|
1053
|
+
"Full rules: workbench/meta.md → Step 5「编辑参数并重新生成」.";
|
|
1054
|
+
/**
|
|
1055
|
+
* 质量评估图调参短指令:先选图类型,再只贴/只改对应一组。
|
|
1056
|
+
*/
|
|
1057
|
+
export const EDIT_QUALITY_PLOT_PARAMS_INSTRUCTION = "Quality plot edit: MUST popup selector first (「编辑红绿灯参数」 / 「编辑总结图参数」); " +
|
|
1058
|
+
"paste only that plot's editableParams*; ignore the other. " +
|
|
1059
|
+
PASTE_SECTIONS_RULES +
|
|
1060
|
+
"Then「手动输入」named changes and rerun with REQUIRED --plot-type traffic_light|summary. " +
|
|
1061
|
+
"config-json: flat inner patch or nested under the same key; NEVER patch the other plot. " +
|
|
1062
|
+
"Both PDFs may refresh; only report the selected plot as changed. " +
|
|
1063
|
+
"Full rules: workbench/meta.md → Step 5「编辑参数并重新生成」.";
|
|
1064
|
+
function isRecord(value) {
|
|
1065
|
+
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
1066
|
+
}
|
|
1067
|
+
/** 读取嵌套配置字段当前值 */
|
|
1068
|
+
function readFieldValue(config, sectionKey, fieldKey) {
|
|
1069
|
+
const section = config[sectionKey];
|
|
1070
|
+
if (!isRecord(section))
|
|
1071
|
+
return undefined;
|
|
1072
|
+
return section[fieldKey];
|
|
1073
|
+
}
|
|
1074
|
+
/** 将参数值格式化为可读文本 */
|
|
1075
|
+
function formatParamValue(value) {
|
|
1076
|
+
if (value === undefined || value === null || value === "")
|
|
1077
|
+
return "(空)";
|
|
1078
|
+
if (typeof value === "boolean")
|
|
1079
|
+
return value ? "是" : "否";
|
|
1080
|
+
if (Array.isArray(value))
|
|
1081
|
+
return value.map((item) => String(item)).join(" / ");
|
|
1082
|
+
return String(value);
|
|
1083
|
+
}
|
|
1084
|
+
/**
|
|
1085
|
+
* 拼接字段行:当前值与「可选值」用分号分隔,避免与「(非必填)」混淆导致 Agent 漏贴选项。
|
|
1086
|
+
*
|
|
1087
|
+
* @param field 参数字段定义
|
|
1088
|
+
* @param current 已格式化的当前值
|
|
1089
|
+
*/
|
|
1090
|
+
function formatParamLine(field, current) {
|
|
1091
|
+
const requiredMark = field.required === false ? "(非必填)" : "";
|
|
1092
|
+
let line = "- " + field.label + requiredMark + ":" + current;
|
|
1093
|
+
if (field.type === "XTSelect" && Array.isArray(field.options) && field.options.length > 0) {
|
|
1094
|
+
// 用「;可选值:」而非「(可选:)」,避免被误读为非必填标记而整段省略
|
|
1095
|
+
line += ";可选值:" + field.options.join(" / ");
|
|
1096
|
+
}
|
|
1097
|
+
else if (field.type === "XTSwitch") {
|
|
1098
|
+
line += ";可选值:是 / 否";
|
|
1099
|
+
}
|
|
1100
|
+
else if (field.type === "XTColor") {
|
|
1101
|
+
line += ";可选值:颜色十六进制,如 #4DBBD5";
|
|
1102
|
+
}
|
|
1103
|
+
else if (field.placeholder) {
|
|
1104
|
+
line += ";说明:" + field.placeholder;
|
|
1105
|
+
}
|
|
1106
|
+
return line;
|
|
1107
|
+
}
|
|
1108
|
+
/**
|
|
1109
|
+
* 按网站分组渲染全部可修改参数(结构 + 完整 Markdown)。
|
|
1110
|
+
* 空值「(空)」也保留,避免 Agent 因「看起来无可改」而合并/省略整组。
|
|
1111
|
+
*
|
|
1112
|
+
* @param title 图种中文名(仅用于 intro,不参与分组合并)
|
|
1113
|
+
* @param sections 该图种 GRAPH_* 定义
|
|
1114
|
+
* @param config 当前完整配置(已与默认值合并)
|
|
1115
|
+
*/
|
|
1116
|
+
function renderEditableParamsDocument(title, sections, config) {
|
|
1117
|
+
const intro = "当前**" + title + "**的参数如下,请问您想调整哪些内容?";
|
|
1118
|
+
const outro = "请告诉我需要修改哪些参数(一段话或分项说明均可)。";
|
|
1119
|
+
const blocks = sections.map((section) => {
|
|
1120
|
+
const lines = ["**" + section.label + "**"];
|
|
1121
|
+
for (const field of section.form) {
|
|
1122
|
+
const current = formatParamValue(readFieldValue(config, section.key, field.key));
|
|
1123
|
+
lines.push(formatParamLine(field, current));
|
|
1124
|
+
}
|
|
1125
|
+
return {
|
|
1126
|
+
key: section.key,
|
|
1127
|
+
label: section.label,
|
|
1128
|
+
markdown: lines.join("\n"),
|
|
1129
|
+
};
|
|
1130
|
+
});
|
|
1131
|
+
const requiredSectionLabels = blocks.map((block) => block.label);
|
|
1132
|
+
const markdown = [intro, "", ...blocks.map((block) => block.markdown + "\n"), outro].join("\n");
|
|
1133
|
+
return {
|
|
1134
|
+
intro,
|
|
1135
|
+
sections: blocks,
|
|
1136
|
+
outro,
|
|
1137
|
+
requiredSectionLabels,
|
|
1138
|
+
markdown,
|
|
1139
|
+
};
|
|
1140
|
+
}
|
|
1141
|
+
/**
|
|
1142
|
+
* 生成森林图 / 漏斗图可编辑参数文档(分组结构 + 完整 Markdown)。
|
|
1143
|
+
*
|
|
1144
|
+
* @param kind 图表类型(仅 effect / bias)
|
|
1145
|
+
* @param config 当前完整配置(已与默认值合并)
|
|
1146
|
+
*/
|
|
1147
|
+
export function buildEditableParamsDocument(kind, config) {
|
|
1148
|
+
if (kind === "effect") {
|
|
1149
|
+
return renderEditableParamsDocument("森林图", GRAPH_FOREST, config);
|
|
1150
|
+
}
|
|
1151
|
+
return renderEditableParamsDocument("漏斗图", GRAPH_FUNNEL, config);
|
|
1152
|
+
}
|
|
1153
|
+
/**
|
|
1154
|
+
* 生成森林图 / 漏斗图可编辑参数 Markdown(兼容;优先用 buildEditableParamsDocument)。
|
|
1155
|
+
*
|
|
1156
|
+
* @param kind 图表类型(仅 effect / bias)
|
|
1157
|
+
* @param config 当前完整配置(已与默认值合并)
|
|
1158
|
+
*/
|
|
1159
|
+
export function buildEditableParamsMarkdown(kind, config) {
|
|
1160
|
+
return buildEditableParamsDocument(kind, config).markdown;
|
|
1161
|
+
}
|
|
1162
|
+
/**
|
|
1163
|
+
* 分别生成质量评估红绿灯图与总结图的可编辑参数文档(供选择器后单组展示)。
|
|
1164
|
+
*
|
|
1165
|
+
* @param config 当前完整配置(含 traffic_light / summary)
|
|
1166
|
+
*/
|
|
1167
|
+
export function buildQualityPlotEditableParams(config) {
|
|
1168
|
+
const trafficConfig = isRecord(config.traffic_light)
|
|
1169
|
+
? config.traffic_light
|
|
1170
|
+
: {};
|
|
1171
|
+
const summaryConfig = isRecord(config.summary)
|
|
1172
|
+
? config.summary
|
|
1173
|
+
: {};
|
|
1174
|
+
return {
|
|
1175
|
+
trafficLight: renderEditableParamsDocument("质量评估红绿灯图", GRAPH_TRAFFIC_LIGHT, trafficConfig),
|
|
1176
|
+
summary: renderEditableParamsDocument("质量评估总结图", GRAPH_ROB_SUMMARY, summaryConfig),
|
|
1177
|
+
};
|
|
1178
|
+
}
|
|
1179
|
+
//# sourceMappingURL=plot-params.js.map
|