@cozeloop/prompt-components 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/basic-editor/custom-facet.js +9 -0
- package/dist/es/basic-editor/diff.js +138 -0
- package/dist/{go-syntax-067c4f5d.mjs → es/basic-editor/extensions/go-syntax.js} +9 -16
- package/dist/es/basic-editor/extensions/go-template.js +16 -0
- package/dist/{go-theme-062a6df6.mjs → es/basic-editor/extensions/go-theme.js} +4 -3
- package/dist/es/basic-editor/extensions/jinja.js +80 -0
- package/dist/es/basic-editor/extensions/keymap.js +442 -0
- package/dist/es/basic-editor/extensions/language-support.js +12 -0
- package/dist/es/basic-editor/extensions/markdown.js +58 -0
- package/dist/es/basic-editor/extensions/search/dom/icon.js +250 -0
- package/dist/es/basic-editor/extensions/search/dom/match-count.js +33 -0
- package/dist/es/basic-editor/extensions/search/index.js +18 -0
- package/dist/es/basic-editor/extensions/search/panel.js +418 -0
- package/dist/es/basic-editor/extensions/search/theme.js +184 -0
- package/dist/es/basic-editor/extensions/validation.js +84 -0
- package/dist/es/basic-editor/extensions/validation.module.js +5 -0
- package/dist/es/basic-editor/extensions/validation_module.css +7 -0
- package/dist/es/basic-editor/extensions/variable.js +178 -0
- package/dist/es/basic-editor/index.js +171 -0
- package/dist/es/code-editor/code-editor.js +83 -0
- package/dist/es/code-editor/index.js +12 -0
- package/dist/es/code-editor/json-editor.js +157 -0
- package/dist/es/code-editor/raw-text-editor.js +46 -0
- package/dist/es/code-editor/text-editor.js +41 -0
- package/dist/es/code-editor/themes/coze-dark.js +112 -0
- package/dist/es/code-editor/themes/coze-light.js +118 -0
- package/dist/es/consts/index.js +12 -0
- package/dist/es/dev-layout/index.js +35 -0
- package/dist/es/idls/fornax_ml_flow2/index.js +2293 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/ai_annotate.js +41 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/aidpcallback.js +108 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/annotation_job.js +52 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/base.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/batch_infer.js +72 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/dataprocess.js +10 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/dataset.js +36 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/datasetv2.js +139 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/datasetv2job.js +40 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/datasetv2similarity.js +12 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/filter.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/flow_devops_evaluation_callback_common.js +36 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/flow_devops_prompt_common.js +318 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/fornax_domain_model.js +326 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/ml_flow_domain_model.js +327 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/openapi.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotateservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotationjobservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_batchinferservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_dataprocessservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservicev2.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_modelservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_tagservice.js +0 -0
- package/dist/es/idls/fornax_ml_flow2/namespaces/tag.js +33 -0
- package/dist/es/idls/prompt_api2/index.js +1995 -0
- package/dist/es/idls/prompt_api2/namespaces/base.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_callback.js +35 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_common.js +318 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_debug.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_manage.js +23 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_mcp.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_optimize.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_paas.js +43 -0
- package/dist/es/idls/prompt_api2/namespaces/flow_devops_prompt_platform.js +0 -0
- package/dist/es/idls/prompt_api2/namespaces/mcp.js +9 -0
- package/dist/es/idls/prompt_api2/namespaces/model.js +320 -0
- package/dist/es/idls/prompt_api2/namespaces/permission.js +47 -0
- package/dist/es/idls/prompt_api2/namespaces/release.js +25 -0
- package/dist/es/index.js +66 -0
- package/dist/es/mermaid-diagram/index.js +148 -0
- package/dist/es/mermaid-diagram/index.module.js +5 -0
- package/dist/es/mermaid-diagram/index_module.css +4 -0
- package/dist/es/mermaid-diagram/use-svg-pan-zoom.js +49 -0
- package/dist/es/mermaid-diagram/utils.js +74 -0
- package/dist/es/model-config-editor/basic-type.js +71 -0
- package/dist/es/model-config-editor/index.module.js +5 -0
- package/dist/es/model-config-editor/index_module.css +8 -0
- package/dist/es/model-config-editor/model-config-form.js +132 -0
- package/dist/es/model-config-editor/popover-type.js +118 -0
- package/dist/es/model-select/index.js +136 -0
- package/dist/es/model-select/index.module.js +5 -0
- package/dist/es/model-select/index_module.css +14 -0
- package/dist/es/model-select/model-option/index.js +161 -0
- package/dist/es/model-select/model-option/index.module.js +5 -0
- package/dist/es/model-select/model-option/index_module.css +23 -0
- package/dist/es/model-select/model-option-group/index.js +44 -0
- package/dist/es/prompt-editor/index.js +188 -0
- package/dist/es/prompt-editor/index.module.js +5 -0
- package/dist/es/prompt-editor/index_module.css +71 -0
- package/dist/es/prompt-editor/message-type-select.js +74 -0
- package/dist/es/schema-editor/index.js +43 -0
- package/dist/es/utils/base.js +53 -0
- package/dist/es/utils/model-config.js +32 -0
- package/dist/lib/basic-editor/custom-facet.js +33 -0
- package/dist/lib/basic-editor/diff.js +167 -0
- package/dist/lib/basic-editor/extensions/go-syntax.js +146 -0
- package/dist/lib/basic-editor/extensions/go-template.js +50 -0
- package/dist/lib/basic-editor/extensions/go-theme.js +1091 -0
- package/dist/lib/basic-editor/extensions/jinja.js +100 -0
- package/dist/lib/basic-editor/extensions/keymap.js +465 -0
- package/dist/lib/basic-editor/extensions/language-support.js +32 -0
- package/dist/lib/basic-editor/extensions/markdown.js +78 -0
- package/dist/lib/basic-editor/extensions/search/dom/icon.js +291 -0
- package/dist/lib/basic-editor/extensions/search/dom/match-count.js +67 -0
- package/dist/lib/basic-editor/extensions/search/index.js +38 -0
- package/dist/lib/basic-editor/extensions/search/panel.js +429 -0
- package/dist/lib/basic-editor/extensions/search/theme.js +208 -0
- package/dist/lib/basic-editor/extensions/validation.js +118 -0
- package/dist/lib/basic-editor/extensions/validation.module.js +25 -0
- package/dist/lib/basic-editor/extensions/validation_module.css +7 -0
- package/dist/lib/basic-editor/extensions/variable.js +190 -0
- package/dist/lib/basic-editor/index.js +193 -0
- package/dist/lib/code-editor/code-editor.js +117 -0
- package/dist/lib/code-editor/index.js +40 -0
- package/dist/lib/code-editor/json-editor.js +184 -0
- package/dist/lib/code-editor/raw-text-editor.js +70 -0
- package/dist/lib/code-editor/text-editor.js +75 -0
- package/dist/lib/code-editor/themes/coze-dark.js +136 -0
- package/dist/lib/code-editor/themes/coze-light.js +142 -0
- package/dist/lib/consts/index.js +38 -0
- package/dist/lib/dev-layout/index.js +69 -0
- package/dist/lib/idls/fornax_ml_flow2/index.js +2355 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/ai_annotate.js +69 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/aidpcallback.js +140 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/annotation_job.js +82 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/base.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/batch_infer.js +105 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/dataprocess.js +34 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/dataset.js +63 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/datasetv2.js +177 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/datasetv2job.js +68 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/datasetv2similarity.js +37 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/filter.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/flow_devops_evaluation_callback_common.js +62 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/flow_devops_prompt_common.js +378 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/fornax_domain_model.js +384 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/ml_flow_domain_model.js +385 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/openapi.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotateservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotationjobservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_batchinferservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_dataprocessservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservicev2.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_modelservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_tagservice.js +16 -0
- package/dist/lib/idls/fornax_ml_flow2/namespaces/tag.js +60 -0
- package/dist/lib/idls/prompt_api2/index.js +2042 -0
- package/dist/lib/idls/prompt_api2/namespaces/base.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_callback.js +62 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_common.js +378 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_debug.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_manage.js +49 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_mcp.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_optimize.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_paas.js +72 -0
- package/dist/lib/idls/prompt_api2/namespaces/flow_devops_prompt_platform.js +16 -0
- package/dist/lib/idls/prompt_api2/namespaces/mcp.js +33 -0
- package/dist/lib/idls/prompt_api2/namespaces/model.js +377 -0
- package/dist/lib/idls/prompt_api2/namespaces/permission.js +72 -0
- package/dist/lib/idls/prompt_api2/namespaces/release.js +50 -0
- package/dist/lib/index.js +110 -0
- package/dist/lib/mermaid-diagram/index.js +174 -0
- package/dist/lib/mermaid-diagram/index.module.js +25 -0
- package/dist/lib/mermaid-diagram/index_module.css +4 -0
- package/dist/lib/mermaid-diagram/use-svg-pan-zoom.js +83 -0
- package/dist/lib/mermaid-diagram/utils.js +98 -0
- package/dist/lib/model-config-editor/basic-type.js +103 -0
- package/dist/lib/model-config-editor/index.module.js +25 -0
- package/dist/lib/model-config-editor/index_module.css +8 -0
- package/dist/lib/model-config-editor/model-config-form.js +151 -0
- package/dist/lib/model-config-editor/popover-type.js +145 -0
- package/dist/lib/model-select/index.js +170 -0
- package/dist/lib/model-select/index.module.js +25 -0
- package/dist/lib/model-select/index_module.css +14 -0
- package/dist/lib/model-select/model-option/index.js +188 -0
- package/dist/lib/model-select/model-option/index.module.js +25 -0
- package/dist/lib/model-select/model-option/index_module.css +23 -0
- package/dist/lib/model-select/model-option-group/index.js +75 -0
- package/dist/lib/prompt-editor/index.js +218 -0
- package/dist/lib/prompt-editor/index.module.js +25 -0
- package/dist/lib/prompt-editor/index_module.css +71 -0
- package/dist/lib/prompt-editor/message-type-select.js +108 -0
- package/dist/lib/schema-editor/index.js +77 -0
- package/dist/lib/utils/base.js +82 -0
- package/dist/lib/utils/model-config.js +57 -0
- package/dist/{src → types}/basic-editor/custom-facet.d.ts +1 -2
- package/dist/types/basic-editor/diff.d.ts +15 -0
- package/dist/types/basic-editor/extensions/go-syntax.d.ts +71 -0
- package/dist/types/basic-editor/extensions/go-template.d.ts +1 -0
- package/dist/{src → types}/basic-editor/extensions/go-theme.d.ts +1 -1
- package/dist/types/basic-editor/extensions/jinja.d.ts +6 -0
- package/dist/{src → types}/basic-editor/extensions/keymap.d.ts +2 -3
- package/dist/types/basic-editor/extensions/language-support.d.ts +2 -0
- package/dist/types/basic-editor/extensions/markdown.d.ts +2 -0
- package/dist/types/basic-editor/extensions/search/dom/icon.d.ts +59 -0
- package/dist/types/basic-editor/extensions/search/dom/match-count.d.ts +14 -0
- package/dist/types/basic-editor/extensions/search/index.d.ts +1 -0
- package/dist/types/basic-editor/extensions/search/panel.d.ts +32 -0
- package/dist/types/basic-editor/extensions/search/theme.d.ts +1 -0
- package/dist/types/basic-editor/extensions/validation.d.ts +10 -0
- package/dist/types/basic-editor/extensions/variable.d.ts +14 -0
- package/dist/types/basic-editor/index.d.ts +28 -0
- package/dist/types/code-editor/code-editor.d.ts +23 -0
- package/dist/{src → types}/code-editor/index.d.ts +1 -1
- package/dist/types/code-editor/json-editor.d.ts +17 -0
- package/dist/types/code-editor/raw-text-editor.d.ts +11 -0
- package/dist/types/code-editor/text-editor.d.ts +23 -0
- package/dist/types/code-editor/themes/coze-dark.d.ts +1 -0
- package/dist/types/code-editor/themes/coze-light.d.ts +1 -0
- package/dist/{src → types}/consts/index.d.ts +1 -1
- package/dist/types/dev-layout/index.d.ts +13 -0
- package/dist/types/idls/fornax_ml_flow2/index.d.ts +750 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/ai_annotate.d.ts +102 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/aidpcallback.d.ts +227 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/annotation_job.d.ts +402 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/base.d.ts +18 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/batch_infer.d.ts +331 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/dataprocess.d.ts +16 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/dataset.d.ts +88 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/datasetv2.d.ts +462 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/datasetv2job.d.ts +180 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/datasetv2similarity.d.ts +8 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/filter.d.ts +39 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/flow_devops_evaluation_callback_common.d.ts +88 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/flow_devops_prompt_common.d.ts +370 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/fornax_domain_model.d.ts +320 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/ml_flow_domain_model.d.ts +510 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/openapi.d.ts +6 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotateservice.d.ts +106 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_annotationjobservice.d.ts +256 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_batchinferservice.d.ts +73 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_crowdsourcingannotationjobservice.d.ts +94 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_dataprocessservice.d.ts +11 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservice.d.ts +24 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_datasetservicev2.d.ts +653 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_modelservice.d.ts +83 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_annotationjobservice.d.ts +81 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_batchinferservice.d.ts +24 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_openapi_datasetservicev2.d.ts +260 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/stone_fornax_ml_flow_tagservice.d.ts +111 -0
- package/dist/types/idls/fornax_ml_flow2/namespaces/tag.d.ts +109 -0
- package/dist/types/idls/prompt_api2/index.d.ts +653 -0
- package/dist/types/idls/prompt_api2/namespaces/base.d.ts +18 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_callback.d.ts +102 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_commercial_openapi.d.ts +81 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_common.d.ts +1270 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_debug.d.ts +197 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_manage.d.ts +769 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_mcp.d.ts +301 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_optimize.d.ts +155 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_paas.d.ts +198 -0
- package/dist/types/idls/prompt_api2/namespaces/flow_devops_prompt_platform.d.ts +230 -0
- package/dist/types/idls/prompt_api2/namespaces/mcp.d.ts +95 -0
- package/dist/types/idls/prompt_api2/namespaces/model.d.ts +315 -0
- package/dist/types/idls/prompt_api2/namespaces/permission.d.ts +52 -0
- package/dist/types/idls/prompt_api2/namespaces/release.d.ts +62 -0
- package/dist/{src → types}/index.d.ts +7 -7
- package/dist/types/mermaid-diagram/index.d.ts +12 -0
- package/dist/types/mermaid-diagram/use-svg-pan-zoom.d.ts +17 -0
- package/dist/{src → types}/mermaid-diagram/utils.d.ts +1 -1
- package/dist/types/model-config-editor/basic-type.d.ts +19 -0
- package/dist/types/model-config-editor/model-config-form.d.ts +14 -0
- package/dist/types/model-config-editor/popover-type.d.ts +25 -0
- package/dist/types/model-select/index.d.ts +38 -0
- package/dist/types/model-select/model-option/index.d.ts +30 -0
- package/dist/types/model-select/model-option-group/index.d.ts +15 -0
- package/dist/types/prompt-editor/index.d.ts +30 -0
- package/dist/types/prompt-editor/message-type-select.d.ts +16 -0
- package/dist/types/schema-editor/index.d.ts +18 -0
- package/dist/{src → types}/utils/base.d.ts +4 -5
- package/dist/types/utils/model-config.d.ts +4 -0
- package/package.json +9 -13
- package/dist/edenx.config.d.ts +0 -2
- package/dist/go-syntax-4deb0289.js +0 -8
- package/dist/go-theme-fbd8a4fa.js +0 -1
- package/dist/index.cjs +0 -61
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -2788
- package/dist/src/basic-editor/diff.d.ts +0 -16
- package/dist/src/basic-editor/extensions/go-syntax.d.ts +0 -71
- package/dist/src/basic-editor/extensions/go-template.d.ts +0 -1
- package/dist/src/basic-editor/extensions/jinja.d.ts +0 -4
- package/dist/src/basic-editor/extensions/language-support.d.ts +0 -2
- package/dist/src/basic-editor/extensions/markdown.d.ts +0 -2
- package/dist/src/basic-editor/extensions/search/dom/icon.d.ts +0 -59
- package/dist/src/basic-editor/extensions/search/dom/match-count.d.ts +0 -14
- package/dist/src/basic-editor/extensions/search/index.d.ts +0 -1
- package/dist/src/basic-editor/extensions/search/panel.d.ts +0 -33
- package/dist/src/basic-editor/extensions/search/theme.d.ts +0 -1
- package/dist/src/basic-editor/extensions/validation.d.ts +0 -8
- package/dist/src/basic-editor/extensions/variable.d.ts +0 -11
- package/dist/src/basic-editor/index.d.ts +0 -29
- package/dist/src/code-editor/json-editor.d.ts +0 -18
- package/dist/src/code-editor/raw-text-editor.d.ts +0 -11
- package/dist/src/dev-layout/index.d.ts +0 -7
- package/dist/src/mermaid-diagram/index.d.ts +0 -12
- package/dist/src/mermaid-diagram/use-svg-pan-zoom.d.ts +0 -12
- package/dist/src/model-config-editor/basic-type.d.ts +0 -13
- package/dist/src/model-config-editor/model-config-form.d.ts +0 -13
- package/dist/src/model-config-editor/popover-type.d.ts +0 -19
- package/dist/src/model-select/index.d.ts +0 -27
- package/dist/src/model-select/model-option/index.d.ts +0 -25
- package/dist/src/model-select/model-option-group/index.d.ts +0 -16
- package/dist/src/prompt-editor/index.d.ts +0 -31
- package/dist/src/prompt-editor/message-type-select.d.ts +0 -11
- package/dist/src/schema-editor/index.d.ts +0 -11
- package/dist/src/utils/model-config.d.ts +0 -5
- package/dist/style.css +0 -1
- package/dist/test-build.d.ts +0 -7
- package/dist/vite.config.d.ts +0 -2
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export type Int64 = string | number;
|
|
2
|
+
export declare enum CheckResultType {
|
|
3
|
+
/** fail, 质检任务失败状态 */
|
|
4
|
+
CheckResultFail = 1,
|
|
5
|
+
/** block, 质检检测到严重告警,建议卡点阻塞发布流程 */
|
|
6
|
+
CheckResultBlock = 2,
|
|
7
|
+
/** assertFail, 规则执行检测到异常 */
|
|
8
|
+
CheckResultAssertFail = 3,
|
|
9
|
+
/** runFail, 规则执行内部异常,与变更无关 */
|
|
10
|
+
CheckResultRunFail = 4,
|
|
11
|
+
/** pass, 质检通过 */
|
|
12
|
+
CheckResultPass = 5,
|
|
13
|
+
/** warning, 质检检测到warning告警,建议人工check */
|
|
14
|
+
CheckResultWarning = 6,
|
|
15
|
+
/** error, 创建任务失败,不阻塞流程 */
|
|
16
|
+
CheckResultError = 7,
|
|
17
|
+
/** skipped, 质检任务被人工跳过 */
|
|
18
|
+
CheckResultSkip = 8,
|
|
19
|
+
/** running, 检测中 */
|
|
20
|
+
CheckResultRunning = 9,
|
|
21
|
+
/** init, 检测中 */
|
|
22
|
+
CheckResultInit = 10,
|
|
23
|
+
}
|
|
24
|
+
/** 检查类型 */
|
|
25
|
+
export declare enum CheckType {
|
|
26
|
+
/** release_time_check */
|
|
27
|
+
ReleaseTimeCheck = 0,
|
|
28
|
+
/** common_guard" */
|
|
29
|
+
CommonGuard = 1,
|
|
30
|
+
/** release_event */
|
|
31
|
+
ReleaseEvent = 2,
|
|
32
|
+
/** rule_engine */
|
|
33
|
+
RuleEngine = 3,
|
|
34
|
+
/** exam_check */
|
|
35
|
+
ExamCheck = 4,
|
|
36
|
+
}
|
|
37
|
+
export interface ActionConfig {
|
|
38
|
+
/** 操作名称文案,如申请逃逸、查看报告链接 */
|
|
39
|
+
action_name?: string;
|
|
40
|
+
/** 逃逸链接、质检报告链接 */
|
|
41
|
+
action_url?: string;
|
|
42
|
+
/** 操作详情描述,如封禁策略名称 */
|
|
43
|
+
action_detail?: string;
|
|
44
|
+
}
|
|
45
|
+
export interface CheckResult {
|
|
46
|
+
/** 检测ID */
|
|
47
|
+
check_id?: Int64;
|
|
48
|
+
/** 检测详情 */
|
|
49
|
+
check_detail?: Array<CheckResultDetail>;
|
|
50
|
+
}
|
|
51
|
+
export interface CheckResultDetail {
|
|
52
|
+
/** ref: CheckType, 检查类型,质检、时间窗口封禁、变更校验等 */
|
|
53
|
+
check_type?: string;
|
|
54
|
+
/** ref: CheckResultType, 检查结果 */
|
|
55
|
+
check_result?: string;
|
|
56
|
+
/** 是否卡点建议 */
|
|
57
|
+
is_block?: boolean;
|
|
58
|
+
/** 操作建议 */
|
|
59
|
+
action?: Array<ActionConfig>;
|
|
60
|
+
/** 检测项描述 */
|
|
61
|
+
desc?: string;
|
|
62
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export { PromptBasicEditor, type PromptBasicEditorProps, type PromptBasicEditorRef, } from './basic-editor';
|
|
1
|
+
export { PromptBasicEditor, type PromptBasicEditorProps, type PromptBasicEditorRef } from './basic-editor';
|
|
3
2
|
export { PromptEditor, type PromptEditorProps } from './prompt-editor';
|
|
4
|
-
export { PromptDiffEditor, type PromptDiffEditorRef
|
|
5
|
-
export { BaseJsonEditor, BaseRawTextEditor, EditorProvider
|
|
3
|
+
export { PromptDiffEditor, type PromptDiffEditorRef } from './basic-editor/diff';
|
|
4
|
+
export { BaseJsonEditor, BaseRawTextEditor, EditorProvider } from './code-editor';
|
|
6
5
|
export { SchemaEditor } from './schema-editor';
|
|
7
6
|
export { ModelSelect } from './model-select';
|
|
8
7
|
export { BasicModelConfigEditor } from './model-config-editor/basic-type';
|
|
@@ -10,10 +9,11 @@ export { PopoverModelConfigEdiotr } from './model-config-editor/popover-type';
|
|
|
10
9
|
export { DevLayout } from './dev-layout';
|
|
11
10
|
export { type EditorAPI } from '@coze-editor/editor/preset-code';
|
|
12
11
|
export { useEditor, useInjector, useLatest } from '@coze-editor/editor/react';
|
|
12
|
+
import regexpDecorator, { updateRegexpDecorations } from '@coze-editor/extension-regexp-decorator';
|
|
13
13
|
export { regexpDecorator, updateRegexpDecorations };
|
|
14
14
|
export { Decoration, EditorView, WidgetType, keymap } from '@codemirror/view';
|
|
15
15
|
export { EditorSelection } from '@codemirror/state';
|
|
16
|
-
export { type Extension, Prec, StateEffect, StateField
|
|
16
|
+
export { type Extension, Prec, StateEffect, StateField } from '@codemirror/state';
|
|
17
17
|
export { cunstomFacet } from './basic-editor/custom-facet';
|
|
18
|
-
export { insertFourSpaces, deleteMarkupBackward, insertNewlineContinueMarkup
|
|
19
|
-
export { MermaidDiagram, type MermaidDiagramRef } from './mermaid-diagram';
|
|
18
|
+
export { insertFourSpaces, deleteMarkupBackward, insertNewlineContinueMarkup } from './basic-editor/extensions/keymap';
|
|
19
|
+
export { MermaidDiagram, type MermaidDiagramRef } from './mermaid-diagram';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface MermaidDiagramProps {
|
|
2
|
+
/** mermaid text */
|
|
3
|
+
chart: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface MermaidDiagramRef {
|
|
7
|
+
zoomIn: () => void;
|
|
8
|
+
zoomOut: () => void;
|
|
9
|
+
fit: () => void;
|
|
10
|
+
exportImg: () => Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
export declare const MermaidDiagram: import("react").ForwardRefExoticComponent<MermaidDiagramProps & import("react").RefAttributes<MermaidDiagramRef>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface UseSvgPanZoomParams {
|
|
2
|
+
svgSelector: string;
|
|
3
|
+
viewportSelector: string;
|
|
4
|
+
renderedChart: string;
|
|
5
|
+
zoomStepLength?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const useSvgPanZoom: ({
|
|
8
|
+
svgSelector,
|
|
9
|
+
viewportSelector,
|
|
10
|
+
renderedChart,
|
|
11
|
+
zoomStepLength
|
|
12
|
+
}: UseSvgPanZoomParams) => {
|
|
13
|
+
zoomIn: () => void;
|
|
14
|
+
zoomOut: () => void;
|
|
15
|
+
fit: () => void;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const exportImage: (svgSelector: string) => Promise<void>;
|
|
1
|
+
export declare const exportImage: (svgSelector: string) => Promise<void>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
import { type flow_devops_prompt_common } from '../idls/prompt_api2';
|
|
3
|
+
import { type ModelSelectProps } from '../model-select';
|
|
4
|
+
export interface BasicModelConfigEditorProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
value?: flow_devops_prompt_common.ModelConfig;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
modelSelectProps?: ModelSelectProps;
|
|
10
|
+
onChange?: (value?: flow_devops_prompt_common.ModelConfig) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare function BasicModelConfigEditor({
|
|
13
|
+
className,
|
|
14
|
+
style,
|
|
15
|
+
value,
|
|
16
|
+
onChange,
|
|
17
|
+
disabled,
|
|
18
|
+
modelSelectProps
|
|
19
|
+
}: BasicModelConfigEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ml_flow_domain_model } from '../idls/fornax_ml_flow2';
|
|
2
|
+
import { type LabelProps } from '@coze-arch/coze-design';
|
|
3
|
+
export declare const convertInt64ToNumber: (v?: Int64) => number | undefined;
|
|
4
|
+
export declare const getInputSliderConfig: (key: string, modelParams: ml_flow_domain_model.ModelParam[]) => {
|
|
5
|
+
min?: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
defaultValue?: number;
|
|
8
|
+
label?: React.ReactNode | LabelProps;
|
|
9
|
+
};
|
|
10
|
+
export declare function ModelConfigForm({
|
|
11
|
+
model
|
|
12
|
+
}: {
|
|
13
|
+
model?: ml_flow_domain_model.Model;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
import { type flow_devops_prompt_common } from '../idls/prompt_api2';
|
|
3
|
+
import { type ml_flow_domain_model } from '../idls/fornax_ml_flow2';
|
|
4
|
+
import { type PopoverProps } from '@coze-arch/coze-design';
|
|
5
|
+
import { type ModelSelectProps } from '../model-select';
|
|
6
|
+
interface ModelConfigPopoverProps {
|
|
7
|
+
value?: flow_devops_prompt_common.ModelConfig;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
modelSelectProps?: ModelSelectProps;
|
|
10
|
+
popoverProps?: PopoverProps & {
|
|
11
|
+
wrapClassName?: string;
|
|
12
|
+
wrapStyle?: CSSProperties;
|
|
13
|
+
};
|
|
14
|
+
onChange?: (value?: flow_devops_prompt_common.ModelConfig) => void;
|
|
15
|
+
renderDisplayContent?: (model?: ml_flow_domain_model.Model, isPopoverVisible?: boolean) => React.ReactNode;
|
|
16
|
+
}
|
|
17
|
+
export declare function PopoverModelConfigEdiotr({
|
|
18
|
+
value,
|
|
19
|
+
disabled,
|
|
20
|
+
modelSelectProps,
|
|
21
|
+
popoverProps,
|
|
22
|
+
onChange,
|
|
23
|
+
renderDisplayContent
|
|
24
|
+
}: ModelConfigPopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
import { type ml_flow_domain_model } from '../idls/fornax_ml_flow2';
|
|
3
|
+
interface ModelExtra extends ml_flow_domain_model.Model {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
interface ModelListDataProps {
|
|
7
|
+
list: ModelExtra[];
|
|
8
|
+
total?: Int64;
|
|
9
|
+
cursorID?: string;
|
|
10
|
+
hasMore?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface ModelSelectProps {
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
value?: ml_flow_domain_model.Model;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
defaultSelectFirstModel?: boolean;
|
|
18
|
+
modelListData?: ModelListDataProps;
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
optionCustomRender?: (item: ModelExtra) => React.ReactNode;
|
|
21
|
+
onChange?: (v?: ml_flow_domain_model.Model) => void;
|
|
22
|
+
loadMore?: () => void;
|
|
23
|
+
valueKey?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function ModelSelect({
|
|
26
|
+
className,
|
|
27
|
+
style,
|
|
28
|
+
value,
|
|
29
|
+
disabled,
|
|
30
|
+
defaultSelectFirstModel,
|
|
31
|
+
loading,
|
|
32
|
+
modelListData,
|
|
33
|
+
onChange,
|
|
34
|
+
loadMore,
|
|
35
|
+
optionCustomRender,
|
|
36
|
+
valueKey
|
|
37
|
+
}: ModelSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type ml_flow_domain_model } from '../../idls/fornax_ml_flow2';
|
|
2
|
+
export type ModelOptionProps = {
|
|
3
|
+
model: ml_flow_domain_model.Model;
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
/** 返回是否切换成功 */
|
|
7
|
+
onClick?: () => boolean;
|
|
8
|
+
} & ({
|
|
9
|
+
enableConfig?: false;
|
|
10
|
+
} | {
|
|
11
|
+
enableConfig: true;
|
|
12
|
+
onConfigClick: () => void;
|
|
13
|
+
}) & ({
|
|
14
|
+
enableJumpDetail?: false;
|
|
15
|
+
} | {
|
|
16
|
+
enableJumpDetail: true;
|
|
17
|
+
/**
|
|
18
|
+
* 点击跳转模型管理页面
|
|
19
|
+
*
|
|
20
|
+
* 因为该组件定位是纯 UI 组件,且不同模块 space id 获取的方式不尽相同,因此跳转行为和 url 的拼接就不内置了
|
|
21
|
+
*/
|
|
22
|
+
onDetailClick: (modelId: string) => void;
|
|
23
|
+
});
|
|
24
|
+
export declare function ModelOption({
|
|
25
|
+
model,
|
|
26
|
+
selected,
|
|
27
|
+
disabled,
|
|
28
|
+
onClick,
|
|
29
|
+
...props
|
|
30
|
+
}: ModelOptionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type PropsWithChildren } from 'react';
|
|
2
|
+
export type ModelOptionGroupProps = {
|
|
3
|
+
/** 新模型专区 */
|
|
4
|
+
type: 'new';
|
|
5
|
+
seriesName?: string;
|
|
6
|
+
tooltip?: string;
|
|
7
|
+
} | {
|
|
8
|
+
/** 普通系列模型 */
|
|
9
|
+
type?: 'normal';
|
|
10
|
+
icon: string;
|
|
11
|
+
desc: string;
|
|
12
|
+
seriesName?: string;
|
|
13
|
+
tooltip?: string;
|
|
14
|
+
};
|
|
15
|
+
export declare function ModelOptionGroup(props: PropsWithChildren<ModelOptionGroupProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { flow_devops_prompt_common } from '../idls/prompt_api2';
|
|
3
|
+
import { type PromptBasicEditorRef, type PromptBasicEditorProps } from '../basic-editor';
|
|
4
|
+
type PromptMessage = flow_devops_prompt_common.Message & {
|
|
5
|
+
key?: string;
|
|
6
|
+
optimize_key?: string;
|
|
7
|
+
};
|
|
8
|
+
type BasicEditorProps = Pick<PromptBasicEditorProps, 'variables' | 'height' | 'minHeight' | 'maxHeight' | 'forbidJinjaHighlight' | 'forbidVariables' | 'linePlaceholder' | 'isGoTemplate' | 'customExtensions' | 'canSearch' | 'isJinja2Template'>;
|
|
9
|
+
export interface PromptEditorProps extends BasicEditorProps {
|
|
10
|
+
className?: string;
|
|
11
|
+
message?: PromptMessage;
|
|
12
|
+
dragBtnHidden?: boolean;
|
|
13
|
+
messageTypeDisabled?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
isDrag?: boolean;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
messageTypeList?: Array<{
|
|
18
|
+
label: string;
|
|
19
|
+
value: number;
|
|
20
|
+
}>;
|
|
21
|
+
leftActionBtns?: ReactNode;
|
|
22
|
+
rightActionBtns?: ReactNode;
|
|
23
|
+
hideActionWrap?: boolean;
|
|
24
|
+
onMessageChange?: (v: PromptMessage) => void;
|
|
25
|
+
onMessageTypeChange?: (v: number) => void;
|
|
26
|
+
children?: ReactNode;
|
|
27
|
+
isFullscreen?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export declare const PromptEditor: import("react").ForwardRefExoticComponent<PromptEditorProps & import("react").RefAttributes<PromptBasicEditorRef>>;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface MessageTypeSelectProps {
|
|
2
|
+
value: number;
|
|
3
|
+
onChange?: (v: number) => void;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
messageTypeList?: Array<{
|
|
6
|
+
label: string;
|
|
7
|
+
value: number;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
export declare function MessageTypeSelect({
|
|
11
|
+
value,
|
|
12
|
+
onChange,
|
|
13
|
+
disabled,
|
|
14
|
+
messageTypeList
|
|
15
|
+
}: MessageTypeSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface SchemaEditorProps {
|
|
2
|
+
value?: string;
|
|
3
|
+
readOnly?: boolean;
|
|
4
|
+
onChange?: (value?: string) => void;
|
|
5
|
+
language?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
showLineNumbs?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const SchemaEditor: ({
|
|
11
|
+
value,
|
|
12
|
+
onChange,
|
|
13
|
+
placeholder,
|
|
14
|
+
readOnly,
|
|
15
|
+
language,
|
|
16
|
+
className
|
|
17
|
+
}: SchemaEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { UIEventHandler } from 'react';
|
|
2
|
-
|
|
1
|
+
import { type UIEventHandler } from 'react';
|
|
3
2
|
export declare const safeParseJson: <T>(jsonString?: string, fallback?: T) => T | undefined;
|
|
4
3
|
export declare const handleScrollToBottom: (e: Parameters<UIEventHandler>[0], callback: () => void) => void;
|
|
5
4
|
export declare function sleep(timer?: number): Promise<void>;
|
|
6
5
|
export declare const messageId: () => string;
|
|
7
6
|
export declare const convertNumberToThousands: (num?: Int64) => string | number;
|
|
8
7
|
export declare function recordToArray(record: Record<string, string>): {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}[];
|
|
8
|
+
label: string;
|
|
9
|
+
value?: string;
|
|
10
|
+
}[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type flow_devops_prompt_common } from '../idls/prompt_api2';
|
|
2
|
+
import { ml_flow_domain_model } from '../idls/fornax_ml_flow2';
|
|
3
|
+
export declare const convertModelToModelConfig: (model?: ml_flow_domain_model.Model) => flow_devops_prompt_common.ModelConfig;
|
|
4
|
+
export declare const renderModelOfflineTag: (model?: ml_flow_domain_model.Model) => import("react/jsx-runtime").JSX.Element | null;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cozeloop/prompt-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Prompt common components for cozeloop",
|
|
5
5
|
"author": "cozeloop",
|
|
6
|
-
"main": "./dist/index.js",
|
|
6
|
+
"main": "./dist/lib/index.js",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"build": "
|
|
8
|
+
"build": "tsc -b tsconfig.build.json && edenx build",
|
|
9
9
|
"lint": "eslint ./ --cache",
|
|
10
10
|
"pub": "node publish.js",
|
|
11
11
|
"test": "exit 0",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@coze-arch/coze-design": "0.0.6-alpha.101d0c",
|
|
23
23
|
"@coze-editor/editor": "0.1.0-alpha.dac011",
|
|
24
24
|
"@coze-editor/extension-regexp-decorator": "0.1.0-alpha.0fd19e",
|
|
25
|
-
"@cozeloop/components": "
|
|
25
|
+
"@cozeloop/components": "latest",
|
|
26
26
|
"@flow-web/md-box": "2.4.2",
|
|
27
27
|
"@lezer/common": "^1.2.2",
|
|
28
28
|
"@shikijs/themes": "^3.2.2",
|
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
"mermaid": "^11.4.1",
|
|
39
39
|
"mitt": "^3.0.1",
|
|
40
40
|
"nanoid": "^4.0.2",
|
|
41
|
-
"react": "~18.2.0",
|
|
42
41
|
"shiki": "^3.2.2",
|
|
43
42
|
"sortablejs": "~1.15.2",
|
|
44
43
|
"svg-pan-zoom": "^3.6.2",
|
|
@@ -60,6 +59,7 @@
|
|
|
60
59
|
"@vitejs/plugin-react": "^4.2.1",
|
|
61
60
|
"@vitest/coverage-v8": "~3.0.5",
|
|
62
61
|
"happy-dom": "^12.10.3",
|
|
62
|
+
"json5": "^2.2.1",
|
|
63
63
|
"react-dom": "~18.2.0",
|
|
64
64
|
"storybook": "^7.6.7",
|
|
65
65
|
"tsconfig-paths": "4.1.0",
|
|
@@ -68,15 +68,11 @@
|
|
|
68
68
|
"vite-plugin-svgr": "~3.3.0",
|
|
69
69
|
"vitest": "~3.0.5"
|
|
70
70
|
},
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"import": "./dist/index.js",
|
|
74
|
-
"require": "./dist/index.cjs",
|
|
75
|
-
"types": "./dist/index.d.ts"
|
|
76
|
-
}
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"react": "~18.2.0"
|
|
77
73
|
},
|
|
78
|
-
"module": "./dist/index.js",
|
|
79
|
-
"types": "./dist/index.d.ts",
|
|
74
|
+
"module": "./dist/es/index.js",
|
|
75
|
+
"types": "./dist/types/index.d.ts",
|
|
80
76
|
"files": [
|
|
81
77
|
"dist",
|
|
82
78
|
"package.json",
|
package/dist/edenx.config.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={foldingStartMarker:"\\{\\{\\s*(?:if|with|range)\\b",foldingStopMarker:"\\{\\{\\s*(?:else|end)\\b",name:"go-template",patterns:[{begin:"\\{\\{",beginCaptures:{0:{name:"punctuation.section.embedded.begin.gotemplate"}},end:"\\}\\}",endCaptures:{0:{name:"punctuation.section.embedded.end.gotemplate"}},patterns:[{match:":=",name:"keyword.operator.initialize.gotemplate"},{match:"\\|",name:"keyword.operator.pipe.gotemplate"},{match:"[.$][\\w]*",name:"variable.other.gotemplate"},{match:"\\b(if|else|range|template|with|end|nil|with|define|block)\\b",name:"keyword.control.gotemplate"},{match:"\\b(and|call|html|index|js|len|not|or|print|printf|println|urlquery|eq|ne|lt|le|gt|ge)\\b",name:"support.function.builtin.gotemplate"},{begin:"/\\*",end:"\\*/",name:"comment.block.gotemplate"},{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.gotemplate"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.gotemplate"}},name:"string.quoted.double.gotemplate",patterns:[{include:"#string_placeholder"},{include:"#string_escaped_char"}]},{begin:"`",beginCaptures:{0:{name:"punctuation.definition.string.begin.gotemplate"}},end:"`",endCaptures:{0:{name:"punctuation.definition.string.end.gotemplate"}},name:"string.quoted.raw.gotemplate",patterns:[{include:"#string_placeholder"}]}]}],repository:{string_escaped_char:{patterns:[{match:`\\\\(\\\\|[abfnrtv'"]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|[0-7]{3})`,name:"constant.character.escape.gotemplate"},{match:"\\\\.",name:"invalid.illegal.unknown-escape.gotemplate"}]},string_placeholder:{patterns:[{match:`(?x)%
|
|
2
|
-
(\\d+\\$)? # field (argument #)
|
|
3
|
-
[#0\\- +']* # flags
|
|
4
|
-
[,;:_]? # separator character (AltiVec)
|
|
5
|
-
((-?\\d+)|\\*(-?\\d+\\$)?)? # minimum field width
|
|
6
|
-
(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)? # precision
|
|
7
|
-
[diouxXDOUeEfFgGaAcCsSqpnvtTbyYhHmMzZ%] # conversion type
|
|
8
|
-
`,name:"constant.other.placeholder.gotemplate"},{match:"%",name:"invalid.illegal.placeholder.gotemplate"}]}},scopeName:"source.gotemplate",uuid:"43606de8-c638-11e2-b661-6711676f99ca"};exports.tmLanguage=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={colors:{"activityBar.background":"#FAFAFA","activityBar.foreground":"#121417","activityBarBadge.background":"#526FFF","activityBarBadge.foreground":"#FFFFFF","badge.background":"#526FFF","badge.foreground":"#FFFFFF","button.background":"#5871EF","button.foreground":"#FFFFFF","button.hoverBackground":"#6B83ED","diffEditor.insertedTextBackground":"#00809B33","dropdown.background":"#FFFFFF","dropdown.border":"#DBDBDC","editor.background":"#FAFAFA","editor.findMatchHighlightBackground":"#526FFF33","editor.foreground":"#383A42","editor.lineHighlightBackground":"#383A420C","editor.selectionBackground":"#E5E5E6","editorCursor.foreground":"#526FFF","editorGroup.background":"#EAEAEB","editorGroup.border":"#DBDBDC","editorGroupHeader.tabsBackground":"#EAEAEB","editorHoverWidget.background":"#EAEAEB","editorHoverWidget.border":"#DBDBDC","editorIndentGuide.activeBackground":"#626772","editorIndentGuide.background":"#383A4233","editorInlayHint.background":"#F5F5F5","editorInlayHint.foreground":"#AFB2BB","editorLineNumber.activeForeground":"#383A42","editorLineNumber.foreground":"#9D9D9F","editorRuler.foreground":"#383A4233","editorSuggestWidget.background":"#EAEAEB","editorSuggestWidget.border":"#DBDBDC","editorSuggestWidget.selectedBackground":"#FFFFFF","editorWhitespace.foreground":"#383A4233","editorWidget.background":"#EAEAEB","editorWidget.border":"#E5E5E6","extensionButton.prominentBackground":"#3BBA54","extensionButton.prominentHoverBackground":"#4CC263",focusBorder:"#526FFF","input.background":"#FFFFFF","input.border":"#DBDBDC","list.activeSelectionBackground":"#DBDBDC","list.activeSelectionForeground":"#232324","list.focusBackground":"#DBDBDC","list.highlightForeground":"#121417","list.hoverBackground":"#DBDBDC66","list.inactiveSelectionBackground":"#DBDBDC","list.inactiveSelectionForeground":"#232324","notebook.cellEditorBackground":"#F5F5F5","notification.background":"#333333","peekView.border":"#526FFF","peekViewEditor.background":"#FFFFFF","peekViewResult.background":"#EAEAEB","peekViewResult.selectionBackground":"#DBDBDC","peekViewTitle.background":"#FFFFFF","pickerGroup.border":"#526FFF","scrollbarSlider.activeBackground":"#747D9180","scrollbarSlider.background":"#4E566680","scrollbarSlider.hoverBackground":"#5A637580","sideBar.background":"#EAEAEB","sideBarSectionHeader.background":"#FAFAFA","statusBar.background":"#EAEAEB","statusBar.debuggingForeground":"#FFFFFF","statusBar.foreground":"#424243","statusBar.noFolderBackground":"#EAEAEB","statusBarItem.hoverBackground":"#DBDBDC","tab.activeBackground":"#FAFAFA","tab.activeForeground":"#121417","tab.border":"#DBDBDC","tab.inactiveBackground":"#EAEAEB","titleBar.activeBackground":"#EAEAEB","titleBar.activeForeground":"#424243","titleBar.inactiveBackground":"#EAEAEB","titleBar.inactiveForeground":"#424243"},displayName:"One Light",name:"one-light",tokenColors:[{scope:["comment"],settings:{fontStyle:"italic",foreground:"#A0A1A7"}},{scope:["comment markup.link"],settings:{foreground:"#A0A1A7"}},{scope:["entity.name.type"],settings:{foreground:"#C18401"}},{scope:["entity.other.inherited-class"],settings:{foreground:"#C18401"}},{scope:["keyword"],settings:{foreground:"#A626A4"}},{scope:["keyword.control"],settings:{foreground:"#A626A4"}},{scope:["keyword.operator"],settings:{foreground:"#383A42"}},{scope:["keyword.other.special-method"],settings:{foreground:"#4078F2"}},{scope:["keyword.other.unit"],settings:{foreground:"#986801"}},{scope:["storage"],settings:{foreground:"#A626A4"}},{scope:["storage.type.annotation","storage.type.primitive"],settings:{foreground:"#A626A4"}},{scope:["storage.modifier.package","storage.modifier.import"],settings:{foreground:"#383A42"}},{scope:["constant"],settings:{foreground:"#986801"}},{scope:["constant.variable"],settings:{foreground:"#986801"}},{scope:["constant.character.escape"],settings:{foreground:"#0184BC"}},{scope:["constant.numeric"],settings:{foreground:"#986801"}},{scope:["constant.other.color"],settings:{foreground:"#0184BC"}},{scope:["constant.other.symbol"],settings:{foreground:"#0184BC"}},{scope:["variable"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["variable.interpolation"],settings:{foreground:"#CA1243"}},{scope:["variable.parameter"],settings:{foreground:"#383A42"}},{scope:["string"],settings:{foreground:"#50A14F"}},{scope:["string > source","string embedded"],settings:{foreground:"#383A42"}},{scope:["string.regexp"],settings:{foreground:"#0184BC"}},{scope:["string.regexp source.ruby.embedded"],settings:{foreground:"#C18401"}},{scope:["string.other.link"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["punctuation.definition.comment"],settings:{foreground:"#A0A1A7"}},{scope:["punctuation.definition.method-parameters","punctuation.definition.function-parameters","punctuation.definition.parameters","punctuation.definition.separator","punctuation.definition.seperator","punctuation.definition.array"],settings:{foreground:"#383A42"}},{scope:["punctuation.definition.heading","punctuation.definition.identity"],settings:{foreground:"#4078F2"}},{scope:["punctuation.definition.bold"],settings:{fontStyle:"bold",foreground:"#C18401"}},{scope:["punctuation.definition.italic"],settings:{fontStyle:"italic",foreground:"#A626A4"}},{scope:["punctuation.section.embedded"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["punctuation.section.method","punctuation.section.class","punctuation.section.inner-class"],settings:{foreground:"#383A42"}},{scope:["support.class"],settings:{foreground:"#C18401"}},{scope:["support.type"],settings:{foreground:"#0184BC"}},{scope:["support.function"],settings:{foreground:"#0184BC"}},{scope:["support.function.any-method"],settings:{foreground:"#4078F2"}},{scope:["entity.name.function"],settings:{foreground:"#4078F2"}},{scope:["entity.name.class","entity.name.type.class"],settings:{foreground:"#C18401"}},{scope:["entity.name.section"],settings:{foreground:"#4078F2"}},{scope:["entity.name.tag"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["entity.other.attribute-name"],settings:{foreground:"#986801"}},{scope:["entity.other.attribute-name.id"],settings:{foreground:"#4078F2"}},{scope:["meta.class"],settings:{foreground:"#C18401"}},{scope:["meta.class.body"],settings:{foreground:"#383A42"}},{scope:["meta.method-call","meta.method"],settings:{foreground:"#383A42"}},{scope:["meta.definition.variable"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["meta.link"],settings:{foreground:"#986801"}},{scope:["meta.require"],settings:{foreground:"#4078F2"}},{scope:["meta.selector"],settings:{foreground:"#A626A4"}},{scope:["meta.separator"],settings:{foreground:"#383A42"}},{scope:["meta.tag"],settings:{foreground:"#383A42"}},{scope:["underline"],settings:{"text-decoration":"underline"}},{scope:["none"],settings:{foreground:"#383A42"}},{scope:["invalid.deprecated"],settings:{background:"#F2A60D",foreground:"#000000"}},{scope:["invalid.illegal"],settings:{background:"#FF1414",foreground:"white"}},{scope:["markup.bold"],settings:{fontStyle:"bold",foreground:"#986801"}},{scope:["markup.changed"],settings:{foreground:"#A626A4"}},{scope:["markup.deleted"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["markup.italic"],settings:{fontStyle:"italic",foreground:"#A626A4"}},{scope:["markup.heading"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["markup.heading punctuation.definition.heading"],settings:{foreground:"#4078F2"}},{scope:["markup.link"],settings:{foreground:"#0184BC"}},{scope:["markup.inserted"],settings:{foreground:"#50A14F"}},{scope:["markup.quote"],settings:{foreground:"#986801"}},{scope:["markup.raw"],settings:{foreground:"#50A14F"}},{scope:["source.c keyword.operator"],settings:{foreground:"#A626A4"}},{scope:["source.cpp keyword.operator"],settings:{foreground:"#A626A4"}},{scope:["source.cs keyword.operator"],settings:{foreground:"#A626A4"}},{scope:["source.css property-name","source.css property-value"],settings:{foreground:"#696C77"}},{scope:["source.css property-name.support","source.css property-value.support"],settings:{foreground:"#383A42"}},{scope:["source.elixir source.embedded.source"],settings:{foreground:"#383A42"}},{scope:["source.elixir constant.language","source.elixir constant.numeric","source.elixir constant.definition"],settings:{foreground:"#4078F2"}},{scope:["source.elixir variable.definition","source.elixir variable.anonymous"],settings:{foreground:"#A626A4"}},{scope:["source.elixir parameter.variable.function"],settings:{fontStyle:"italic",foreground:"#986801"}},{scope:["source.elixir quoted"],settings:{foreground:"#50A14F"}},{scope:["source.elixir keyword.special-method","source.elixir embedded.section","source.elixir embedded.source.empty"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["source.elixir readwrite.module punctuation"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["source.elixir regexp.section","source.elixir regexp.string"],settings:{foreground:"#CA1243"}},{scope:["source.elixir separator","source.elixir keyword.operator"],settings:{foreground:"#986801"}},{scope:["source.elixir variable.constant"],settings:{foreground:"#C18401"}},{scope:["source.elixir array","source.elixir scope","source.elixir section"],settings:{foreground:"#696C77"}},{scope:["source.gfm markup"],settings:{"-webkit-font-smoothing":"auto"}},{scope:["source.gfm link entity"],settings:{foreground:"#4078F2"}},{scope:["source.go storage.type.string"],settings:{foreground:"#A626A4"}},{scope:["source.ini keyword.other.definition.ini"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["source.java storage.modifier.import"],settings:{foreground:"#C18401"}},{scope:["source.java storage.type"],settings:{foreground:"#C18401"}},{scope:["source.java keyword.operator.instanceof"],settings:{foreground:"#A626A4"}},{scope:["source.java-properties meta.key-pair"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["source.java-properties meta.key-pair > punctuation"],settings:{foreground:"#383A42"}},{scope:["source.js keyword.operator"],settings:{foreground:"#0184BC"}},{scope:["source.js keyword.operator.delete","source.js keyword.operator.in","source.js keyword.operator.of","source.js keyword.operator.instanceof","source.js keyword.operator.new","source.js keyword.operator.typeof","source.js keyword.operator.void"],settings:{foreground:"#A626A4"}},{scope:["source.ts keyword.operator"],settings:{foreground:"#0184BC"}},{scope:["source.flow keyword.operator"],settings:{foreground:"#0184BC"}},{scope:["source.json meta.structure.dictionary.json > string.quoted.json"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["source.json meta.structure.dictionary.json > value.json > string.quoted.json","source.json meta.structure.array.json > value.json > string.quoted.json","source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation","source.json meta.structure.array.json > value.json > string.quoted.json > punctuation"],settings:{foreground:"#50A14F"}},{scope:["source.json meta.structure.dictionary.json > constant.language.json","source.json meta.structure.array.json > constant.language.json"],settings:{foreground:"#0184BC"}},{scope:["ng.interpolation"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["ng.interpolation.begin","ng.interpolation.end"],settings:{foreground:"#4078F2"}},{scope:["ng.interpolation function"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["ng.interpolation function.begin","ng.interpolation function.end"],settings:{foreground:"#4078F2"}},{scope:["ng.interpolation bool"],settings:{foreground:"#986801"}},{scope:["ng.interpolation bracket"],settings:{foreground:"#383A42"}},{scope:["ng.pipe","ng.operator"],settings:{foreground:"#383A42"}},{scope:["ng.tag"],settings:{foreground:"#0184BC"}},{scope:["ng.attribute-with-value attribute-name"],settings:{foreground:"#C18401"}},{scope:["ng.attribute-with-value string"],settings:{foreground:"#A626A4"}},{scope:["ng.attribute-with-value string.begin","ng.attribute-with-value string.end"],settings:{foreground:"#383A42"}},{scope:["source.ruby constant.other.symbol > punctuation"],settings:{foreground:"inherit"}},{scope:["source.php class.bracket"],settings:{foreground:"#383A42"}},{scope:["source.python keyword.operator.logical.python"],settings:{foreground:"#A626A4"}},{scope:["source.python variable.parameter"],settings:{foreground:"#986801"}},{scope:"customrule",settings:{foreground:"#383A42"}},{scope:"support.type.property-name",settings:{foreground:"#383A42"}},{scope:"string.quoted.double punctuation",settings:{foreground:"#50A14F"}},{scope:"support.constant",settings:{foreground:"#986801"}},{scope:"support.type.property-name.json",settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:"support.type.property-name.json punctuation",settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["punctuation.separator.key-value.ts","punctuation.separator.key-value.js","punctuation.separator.key-value.tsx"],settings:{foreground:"#0184BC"}},{scope:["source.js.embedded.html keyword.operator","source.ts.embedded.html keyword.operator"],settings:{foreground:"#0184BC"}},{scope:["variable.other.readwrite.js","variable.other.readwrite.ts","variable.other.readwrite.tsx"],settings:{foreground:"#383A42"}},{scope:["support.variable.dom.js","support.variable.dom.ts"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["support.variable.property.dom.js","support.variable.property.dom.ts"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["meta.template.expression.js punctuation.definition","meta.template.expression.ts punctuation.definition"],settings:{foreground:"#CA1243"}},{scope:["source.ts punctuation.definition.typeparameters","source.js punctuation.definition.typeparameters","source.tsx punctuation.definition.typeparameters"],settings:{foreground:"#383A42"}},{scope:["source.ts punctuation.definition.block","source.js punctuation.definition.block","source.tsx punctuation.definition.block"],settings:{foreground:"#383A42"}},{scope:["source.ts punctuation.separator.comma","source.js punctuation.separator.comma","source.tsx punctuation.separator.comma"],settings:{foreground:"#383A42"}},{scope:["support.variable.property.js","support.variable.property.ts","support.variable.property.tsx"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["keyword.control.default.js","keyword.control.default.ts","keyword.control.default.tsx"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["keyword.operator.expression.instanceof.js","keyword.operator.expression.instanceof.ts","keyword.operator.expression.instanceof.tsx"],settings:{foreground:"#A626A4"}},{scope:["keyword.operator.expression.of.js","keyword.operator.expression.of.ts","keyword.operator.expression.of.tsx"],settings:{foreground:"#A626A4"}},{scope:["meta.brace.round.js","meta.array-binding-pattern-variable.js","meta.brace.square.js","meta.brace.round.ts","meta.array-binding-pattern-variable.ts","meta.brace.square.ts","meta.brace.round.tsx","meta.array-binding-pattern-variable.tsx","meta.brace.square.tsx"],settings:{foreground:"#383A42"}},{scope:["source.js punctuation.accessor","source.ts punctuation.accessor","source.tsx punctuation.accessor"],settings:{foreground:"#383A42"}},{scope:["punctuation.terminator.statement.js","punctuation.terminator.statement.ts","punctuation.terminator.statement.tsx"],settings:{foreground:"#383A42"}},{scope:["meta.array-binding-pattern-variable.js variable.other.readwrite.js","meta.array-binding-pattern-variable.ts variable.other.readwrite.ts","meta.array-binding-pattern-variable.tsx variable.other.readwrite.tsx"],settings:{foreground:"#986801"}},{scope:["source.js support.variable","source.ts support.variable","source.tsx support.variable"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["variable.other.constant.property.js","variable.other.constant.property.ts","variable.other.constant.property.tsx"],settings:{foreground:"#986801"}},{scope:["keyword.operator.new.ts","keyword.operator.new.j","keyword.operator.new.tsx"],settings:{foreground:"#A626A4"}},{scope:["source.ts keyword.operator","source.tsx keyword.operator"],settings:{foreground:"#0184BC"}},{scope:["punctuation.separator.parameter.js","punctuation.separator.parameter.ts","punctuation.separator.parameter.tsx "],settings:{foreground:"#383A42"}},{scope:["constant.language.import-export-all.js","constant.language.import-export-all.ts"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["constant.language.import-export-all.jsx","constant.language.import-export-all.tsx"],settings:{foreground:"#0184BC"}},{scope:["keyword.control.as.js","keyword.control.as.ts","keyword.control.as.jsx","keyword.control.as.tsx"],settings:{foreground:"#383A42"}},{scope:["variable.other.readwrite.alias.js","variable.other.readwrite.alias.ts","variable.other.readwrite.alias.jsx","variable.other.readwrite.alias.tsx"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["variable.other.constant.js","variable.other.constant.ts","variable.other.constant.jsx","variable.other.constant.tsx"],settings:{foreground:"#986801"}},{scope:["meta.export.default.js variable.other.readwrite.js","meta.export.default.ts variable.other.readwrite.ts"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["source.js meta.template.expression.js punctuation.accessor","source.ts meta.template.expression.ts punctuation.accessor","source.tsx meta.template.expression.tsx punctuation.accessor"],settings:{foreground:"#50A14F"}},{scope:["source.js meta.import-equals.external.js keyword.operator","source.jsx meta.import-equals.external.jsx keyword.operator","source.ts meta.import-equals.external.ts keyword.operator","source.tsx meta.import-equals.external.tsx keyword.operator"],settings:{foreground:"#383A42"}},{scope:"entity.name.type.module.js,entity.name.type.module.ts,entity.name.type.module.jsx,entity.name.type.module.tsx",settings:{foreground:"#50A14F"}},{scope:"meta.class.js,meta.class.ts,meta.class.jsx,meta.class.tsx",settings:{foreground:"#383A42"}},{scope:["meta.definition.property.js variable","meta.definition.property.ts variable","meta.definition.property.jsx variable","meta.definition.property.tsx variable"],settings:{foreground:"#383A42"}},{scope:["meta.type.parameters.js support.type","meta.type.parameters.jsx support.type","meta.type.parameters.ts support.type","meta.type.parameters.tsx support.type"],settings:{foreground:"#383A42"}},{scope:["source.js meta.tag.js keyword.operator","source.jsx meta.tag.jsx keyword.operator","source.ts meta.tag.ts keyword.operator","source.tsx meta.tag.tsx keyword.operator"],settings:{foreground:"#383A42"}},{scope:["meta.tag.js punctuation.section.embedded","meta.tag.jsx punctuation.section.embedded","meta.tag.ts punctuation.section.embedded","meta.tag.tsx punctuation.section.embedded"],settings:{foreground:"#383A42"}},{scope:["meta.array.literal.js variable","meta.array.literal.jsx variable","meta.array.literal.ts variable","meta.array.literal.tsx variable"],settings:{foreground:"#C18401"}},{scope:["support.type.object.module.js","support.type.object.module.jsx","support.type.object.module.ts","support.type.object.module.tsx"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:["constant.language.json"],settings:{foreground:"#0184BC"}},{scope:["variable.other.constant.object.js","variable.other.constant.object.jsx","variable.other.constant.object.ts","variable.other.constant.object.tsx"],settings:{foreground:"#986801"}},{scope:["storage.type.property.js","storage.type.property.jsx","storage.type.property.ts","storage.type.property.tsx"],settings:{foreground:"#0184BC"}},{scope:["meta.template.expression.js string.quoted punctuation.definition","meta.template.expression.jsx string.quoted punctuation.definition","meta.template.expression.ts string.quoted punctuation.definition","meta.template.expression.tsx string.quoted punctuation.definition"],settings:{foreground:"#50A14F"}},{scope:["meta.template.expression.js string.template punctuation.definition.string.template","meta.template.expression.jsx string.template punctuation.definition.string.template","meta.template.expression.ts string.template punctuation.definition.string.template","meta.template.expression.tsx string.template punctuation.definition.string.template"],settings:{foreground:"#50A14F"}},{scope:["keyword.operator.expression.in.js","keyword.operator.expression.in.jsx","keyword.operator.expression.in.ts","keyword.operator.expression.in.tsx"],settings:{foreground:"#A626A4"}},{scope:["variable.other.object.js","variable.other.object.ts"],settings:{foreground:"#383A42"}},{scope:["meta.object-literal.key.js","meta.object-literal.key.ts"],settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:"source.python constant.other",settings:{foreground:"#383A42"}},{scope:"source.python constant",settings:{foreground:"#986801"}},{scope:"constant.character.format.placeholder.other.python storage",settings:{foreground:"#986801"}},{scope:"support.variable.magic.python",settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:"meta.function.parameters.python",settings:{foreground:"#986801"}},{scope:"punctuation.separator.annotation.python",settings:{foreground:"#383A42"}},{scope:"punctuation.separator.parameters.python",settings:{foreground:"#383A42"}},{scope:"entity.name.variable.field.cs",settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:"source.cs keyword.operator",settings:{foreground:"#383A42"}},{scope:"variable.other.readwrite.cs",settings:{foreground:"#383A42"}},{scope:"variable.other.object.cs",settings:{foreground:"#383A42"}},{scope:"variable.other.object.property.cs",settings:{foreground:"#383A42"}},{scope:"entity.name.variable.property.cs",settings:{foreground:"#4078F2"}},{scope:"storage.type.cs",settings:{foreground:"#C18401"}},{scope:"keyword.other.unsafe.rust",settings:{foreground:"#A626A4"}},{scope:"entity.name.type.rust",settings:{foreground:"#0184BC"}},{scope:"storage.modifier.lifetime.rust",settings:{foreground:"#383A42"}},{scope:"entity.name.lifetime.rust",settings:{foreground:"#986801"}},{scope:"storage.type.core.rust",settings:{foreground:"#0184BC"}},{scope:"meta.attribute.rust",settings:{foreground:"#986801"}},{scope:"storage.class.std.rust",settings:{foreground:"#0184BC"}},{scope:"markup.raw.block.markdown",settings:{foreground:"#383A42"}},{scope:"punctuation.definition.variable.shell",settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:"support.constant.property-value.css",settings:{foreground:"#383A42"}},{scope:"punctuation.definition.constant.css",settings:{foreground:"#986801"}},{scope:"punctuation.separator.key-value.scss",settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:"punctuation.definition.constant.scss",settings:{foreground:"#986801"}},{scope:"meta.property-list.scss punctuation.separator.key-value.scss",settings:{foreground:"#383A42"}},{scope:"storage.type.primitive.array.java",settings:{foreground:"#C18401"}},{scope:"entity.name.section.markdown",settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:"punctuation.definition.heading.markdown",settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:"markup.heading.setext",settings:{foreground:"#383A42"}},{scope:"punctuation.definition.bold.markdown",settings:{foreground:"#986801"}},{scope:"markup.inline.raw.markdown",settings:{foreground:"#50A14F"}},{scope:"beginning.punctuation.definition.list.markdown",settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:"markup.quote.markdown",settings:{fontStyle:"italic",foreground:"#A0A1A7"}},{scope:["punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown","punctuation.definition.metadata.markdown"],settings:{foreground:"#383A42"}},{scope:"punctuation.definition.metadata.markdown",settings:{foreground:"#A626A4"}},{scope:["markup.underline.link.markdown","markup.underline.link.image.markdown"],settings:{foreground:"#A626A4"}},{scope:["string.other.link.title.markdown","string.other.link.description.markdown"],settings:{foreground:"#4078F2"}},{scope:"punctuation.separator.variable.ruby",settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:"variable.other.constant.ruby",settings:{foreground:"#986801"}},{scope:"keyword.operator.other.ruby",settings:{foreground:"#50A14F"}},{scope:"punctuation.definition.variable.php",settings:{foreground:"var(--Green-COZColorGreen7, #00A136)"}},{scope:"meta.class.php",settings:{foreground:"#383A42"}}],type:"light"},o=Object.freeze(e);exports.default=o;
|