claude-flow-novice 2.3.1 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/scripts/.claude-flow/metrics/agent-metrics.json +1 -0
- package/dist/scripts/.claude-flow/metrics/performance.json +9 -0
- package/dist/scripts/.claude-flow/metrics/task-metrics.json +10 -0
- package/dist/scripts/CLEANUP_OPTIMIZATION_REPORT.json +312 -0
- package/dist/scripts/CLEANUP_PERFORMANCE_OPTIMIZATION.md +387 -0
- package/dist/scripts/CLEANUP_QUICK_START.md +268 -0
- package/dist/scripts/CLEANUP_TEST_RESULTS.md +205 -0
- package/dist/scripts/README.md +339 -0
- package/dist/scripts/ace-query.sh +384 -0
- package/dist/scripts/agent-token-analysis.js +430 -0
- package/dist/scripts/auto-setup.js +332 -0
- package/dist/scripts/build/README.md +167 -0
- package/dist/scripts/build/build-config.js +27 -0
- package/dist/scripts/build/build-prompt-copier.sh +30 -0
- package/dist/scripts/build/performance-monitor.js +869 -0
- package/dist/scripts/build/prepare-publish.js +150 -0
- package/dist/scripts/build/typescript-fixer.js +621 -0
- package/dist/scripts/build/unified-builder.sh +428 -0
- package/dist/scripts/build/update-bin-version.js +32 -0
- package/dist/scripts/build/validate-agents.js +238 -0
- package/dist/scripts/build-index.js +43 -0
- package/dist/scripts/build-orchestrator.js +320 -0
- package/dist/scripts/check-routing-stats.cjs +122 -0
- package/dist/scripts/ci-validation.js +375 -0
- package/dist/scripts/cleanup-blocking-coordination.sh +420 -0
- package/dist/scripts/cleanup-idle-sessions.sh +118 -0
- package/dist/scripts/collect-build-metrics.js +65 -0
- package/dist/scripts/demo/README.md +79 -0
- package/dist/scripts/demo/autoscaling-demo-simplified.js +963 -0
- package/dist/scripts/demo/comprehensive-dashboard-test.js +693 -0
- package/dist/scripts/demo/confidence-log.js +87 -0
- package/dist/scripts/demo/confidence-report.js +82 -0
- package/dist/scripts/demo/demo-multi-swarm-coordination.js +325 -0
- package/dist/scripts/demo/demo-production-deployment.js +399 -0
- package/dist/scripts/demo/demo-visualization-system.js +149 -0
- package/dist/scripts/demo/performance-analysis.cjs +71 -0
- package/dist/scripts/demo/performance-analysis.js +71 -0
- package/dist/scripts/demo/test-autoscaling-demo.js +314 -0
- package/dist/scripts/dependency-optimizer.js +349 -0
- package/dist/scripts/dependency-security-assessment.js +331 -0
- package/dist/scripts/deploy-sdk.sh +176 -0
- package/dist/scripts/deployment-readiness-report.json +179 -0
- package/dist/scripts/dev/README.md +264 -0
- package/dist/scripts/dev/claude-flow-wrapper.sh +35 -0
- package/dist/scripts/dev/claude-monitor.py +419 -0
- package/dist/scripts/dev/claude-sparc.sh +562 -0
- package/dist/scripts/dev/claude-wrapper.sh +17 -0
- package/dist/scripts/dev/demo-phase3-compliance.js +172 -0
- package/dist/scripts/dev/demo-task-system.ts +224 -0
- package/dist/scripts/dev/deployment-validator.js +315 -0
- package/dist/scripts/dev/spawn-claude-terminal.sh +32 -0
- package/dist/scripts/dev/start-portal.sh +506 -0
- package/dist/scripts/dev/start-web-ui.js +15 -0
- package/dist/scripts/dev/stop-portal.sh +311 -0
- package/dist/scripts/dev/validate-examples.ts +288 -0
- package/dist/scripts/dev/validate-phase2.cjs +451 -0
- package/dist/scripts/dev/validate-phase2.js +785 -0
- package/dist/scripts/dev/validate-phase3.cjs +208 -0
- package/dist/scripts/dev/validate-security-remediation.js +1 -0
- package/dist/scripts/ecosystem.config.cjs +90 -0
- package/dist/scripts/enhanced-memory-spiral-killer.sh +221 -0
- package/dist/scripts/fix-js-extensions.js +167 -0
- package/dist/scripts/generate-basic-types.js +73 -0
- package/dist/scripts/generate-changelog.js +318 -0
- package/dist/scripts/git-hooks/pre-commit.sh +143 -0
- package/dist/scripts/health-checks.js +634 -0
- package/dist/scripts/hook-wrapper.sh +54 -0
- package/dist/scripts/install/README.md +375 -0
- package/dist/scripts/install/REDIS_SETUP_VALIDATION.json +245 -0
- package/dist/scripts/install/check-prerequisites.js +303 -0
- package/dist/scripts/install/config-wizard.js +606 -0
- package/dist/scripts/install/dependency-checker.js +385 -0
- package/dist/scripts/install/health-check.js +765 -0
- package/dist/scripts/install/install.js +256 -0
- package/dist/scripts/install/installation-benchmark.js +461 -0
- package/dist/scripts/install/quick-install.js +720 -0
- package/dist/scripts/install/quick-start-wizard.js +295 -0
- package/dist/scripts/install/redis-cli.js +289 -0
- package/dist/scripts/install/redis-install-guides.md +407 -0
- package/dist/scripts/install/redis-setup.js +559 -0
- package/dist/scripts/install/redis-test.js +278 -0
- package/dist/scripts/install/service-manager.js +672 -0
- package/dist/scripts/install/setup.js +832 -0
- package/dist/scripts/install/uninstall.js +526 -0
- package/dist/scripts/install/update.js +461 -0
- package/dist/scripts/install-pre-commit-hook.sh +127 -0
- package/dist/scripts/legacy/README.md +272 -0
- package/dist/scripts/legacy/batch-fix-ts.sh +54 -0
- package/dist/scripts/legacy/build-migration.sh +105 -0
- package/dist/scripts/legacy/build-monitor.js +209 -0
- package/dist/scripts/legacy/build-with-filter.sh +84 -0
- package/dist/scripts/legacy/build-workaround.sh +71 -0
- package/dist/scripts/legacy/fix-ts-advanced.js +358 -0
- package/dist/scripts/legacy/fix-ts-final.sh +50 -0
- package/dist/scripts/legacy/fix-ts-targeted.sh +49 -0
- package/dist/scripts/legacy/fix-typescript-errors.js +305 -0
- package/dist/scripts/legacy/force-build.sh +63 -0
- package/dist/scripts/legacy/optimize-performance.js +400 -0
- package/dist/scripts/legacy/performance-monitor.js +263 -0
- package/dist/scripts/legacy/performance-monitoring.js +532 -0
- package/dist/scripts/legacy/performance-test-runner.js +645 -0
- package/dist/scripts/legacy/quick-fix-ts.js +281 -0
- package/dist/scripts/legacy/safe-build.sh +63 -0
- package/dist/scripts/memory-monitor-coordinator.js +451 -0
- package/dist/scripts/migrate-to-sdk.sh +520 -0
- package/dist/scripts/migration/QUICK-START.md +189 -0
- package/dist/scripts/migration/QUICK-START.md.backup-1760135091363 +189 -0
- package/dist/scripts/migration/README.md +464 -0
- package/dist/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md +500 -0
- package/dist/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md.backup-1760135091348 +500 -0
- package/dist/scripts/migration/UPDATE-PATHS-README.md +464 -0
- package/dist/scripts/migration/UPDATE-PATHS-README.md.backup-1760135091337 +464 -0
- package/dist/scripts/migration/example-patterns.json +19 -0
- package/dist/scripts/migration/install-arm64.js +78 -0
- package/dist/scripts/migration/install.js +83 -0
- package/dist/scripts/migration/migrate-hooks.js +173 -0
- package/dist/scripts/migration/migration-examples.ts +318 -0
- package/dist/scripts/migration/reorganize-workspace.js +504 -0
- package/dist/scripts/migration/test-update-paths.js +359 -0
- package/dist/scripts/migration/update-paths.js +664 -0
- package/dist/scripts/migration/validate-migration.js +647 -0
- package/dist/scripts/monitor-loop.sh +65 -0
- package/dist/scripts/monitor-memory.sh +47 -0
- package/dist/scripts/monitor-migration.js +339 -0
- package/dist/scripts/monitor.py +43 -0
- package/dist/scripts/monitoring/README.md +178 -0
- package/dist/scripts/monitoring/alert-monitor.sh +220 -0
- package/dist/scripts/monitoring/analyze-resources.sh +199 -0
- package/dist/scripts/monitoring/dashboards/rate-limiting-dashboard.json +211 -0
- package/dist/scripts/monitoring/dynamic-monitor.sh +85 -0
- package/dist/scripts/monitoring/launch-stability-test.sh +184 -0
- package/dist/scripts/monitoring/monitor-test.sh +93 -0
- package/dist/scripts/monitoring/pre-test-validation.sh +208 -0
- package/dist/scripts/monitoring/quick-test-alerting.sh +118 -0
- package/dist/scripts/monitoring/quick-test-rate-limiting.sh +206 -0
- package/dist/scripts/monitoring/rate-limiting-monitor.sh +380 -0
- package/dist/scripts/monitoring/resource-monitor.sh +126 -0
- package/dist/scripts/monitoring/stability-monitor.js +429 -0
- package/dist/scripts/monitoring/test-monitor-quick.sh +54 -0
- package/dist/scripts/monitoring/view-alerts.sh +307 -0
- package/dist/scripts/npm-metrics-collector.js +482 -0
- package/dist/scripts/npm-package-validation.cjs +299 -0
- package/dist/scripts/optimization/build-optimizer.js +438 -0
- package/dist/scripts/optimization/config-validator.js +761 -0
- package/dist/scripts/optimization/test-optimization.js +432 -0
- package/dist/scripts/optimization/unified-activation.js +839 -0
- package/dist/scripts/optimize-package-swarm.js +54 -0
- package/dist/scripts/performance/ACTIVATION_COMMANDS.md +292 -0
- package/dist/scripts/performance/sqlite-enhanced-activation.sh +583 -0
- package/dist/scripts/performance/test-enhanced-backend.sh +504 -0
- package/dist/scripts/performance-monitor.js +644 -0
- package/dist/scripts/performance-test-runner.js +698 -0
- package/dist/scripts/post-deployment-monitoring.js +350 -0
- package/dist/scripts/post-edit-pipeline.js +2091 -0
- package/dist/scripts/post-install-claude-md.js +78 -0
- package/dist/scripts/postinstall.js +165 -0
- package/dist/scripts/pre-publish-validation.cjs +212 -0
- package/dist/scripts/pre-publish-validation.js +429 -0
- package/dist/scripts/redis-lua/cleanup-blocking-coordination.lua +198 -0
- package/dist/scripts/release-announcement.js +425 -0
- package/dist/scripts/release-notification.js +248 -0
- package/dist/scripts/release-rollback.js +376 -0
- package/dist/scripts/release-validation.js +460 -0
- package/dist/scripts/rollback-sdk.sh +66 -0
- package/dist/scripts/run-production-validation.ts +590 -0
- package/dist/scripts/run-stability-validation.sh +687 -0
- package/dist/scripts/security/README.md +339 -0
- package/dist/scripts/security/deployment-validation.cjs +279 -0
- package/dist/scripts/security/envelope-encryption-confidence-report.cjs +422 -0
- package/dist/scripts/security/install-git-hooks.sh +132 -0
- package/dist/scripts/security/install-git-secrets.sh +295 -0
- package/dist/scripts/security/rotate-api-keys.js +469 -0
- package/dist/scripts/security/ruv-swarm-safe.js +74 -0
- package/dist/scripts/security/security-audit.cjs +538 -0
- package/dist/scripts/security/setup-redis-auth.sh +397 -0
- package/dist/scripts/security/validate-envelope-encryption.cjs +340 -0
- package/dist/scripts/security-scan.js +492 -0
- package/dist/scripts/src/web/frontend/.claude-flow/metrics/agent-metrics.json +1 -0
- package/dist/scripts/src/web/frontend/.claude-flow/metrics/performance.json +9 -0
- package/dist/scripts/src/web/frontend/.claude-flow/metrics/task-metrics.json +10 -0
- package/dist/scripts/switch-api.sh +159 -0
- package/dist/scripts/sync-agents.js +290 -0
- package/dist/scripts/test/50-agent-test.js +625 -0
- package/dist/scripts/test/NEW_STABILITY_TEST_GUIDE.md +407 -0
- package/dist/scripts/test/README.md +236 -0
- package/dist/scripts/test/STABILITY_TEST_EXAMPLE.md +347 -0
- package/dist/scripts/test/STABILITY_TEST_README.md +480 -0
- package/dist/scripts/test/agent-worker.js +309 -0
- package/dist/scripts/test/ai-coordination-test.js +650 -0
- package/dist/scripts/test/ai-mesh-coordination-test.js +416 -0
- package/dist/scripts/test/check-links.ts +274 -0
- package/dist/scripts/test/check-performance-regression.ts +168 -0
- package/dist/scripts/test/cli-agent-coordination-test.js +313 -0
- package/dist/scripts/test/coordinator-multilingual-test.js +396 -0
- package/dist/scripts/test/coordinator-transparency-demo.js +585 -0
- package/dist/scripts/test/coverage-report.ts +692 -0
- package/dist/scripts/test/generate-swarm-tests.js +633 -0
- package/dist/scripts/test/integration-test-validation.cjs +253 -0
- package/dist/scripts/test/load-test-swarm.js +576 -0
- package/dist/scripts/test/mesh-coordination-zero-overlap-test.js +740 -0
- package/dist/scripts/test/multilingual-hello-world-test.js +390 -0
- package/dist/scripts/test/quick-multilingual-demo.js +464 -0
- package/dist/scripts/test/real-agent-test.js +312 -0
- package/dist/scripts/test/run-phase3-compliance-tests.js +427 -0
- package/dist/scripts/test/run-stability-test-examples.sh +292 -0
- package/dist/scripts/test/stability-results/stability-metrics.jsonl +83 -0
- package/dist/scripts/test/stability-results/stability-test-report.json +128 -0
- package/dist/scripts/test/stability-results/stability-test.log +1827 -0
- package/dist/scripts/test/stability-test-50-agents.js +734 -0
- package/dist/scripts/test/test-batch-tasks.ts +29 -0
- package/dist/scripts/test/test-byzantine-resolution.js +246 -0
- package/dist/scripts/test/test-claude-spawn-options.sh +63 -0
- package/dist/scripts/test/test-cli-wizard.js +331 -0
- package/dist/scripts/test/test-comprehensive.js +401 -0
- package/dist/scripts/test/test-coordination-features.ts +238 -0
- package/dist/scripts/test/test-fallback-systems.js +276 -0
- package/dist/scripts/test/test-init-command.ts +302 -0
- package/dist/scripts/test/test-mcp.ts +251 -0
- package/dist/scripts/test/test-runner.ts +568 -0
- package/dist/scripts/test/test-swarm-integration.sh +92 -0
- package/dist/scripts/test/test-swarm.ts +142 -0
- package/dist/scripts/test/validation-summary.ts +408 -0
- package/dist/scripts/test-cleanup-performance.sh +416 -0
- package/dist/scripts/test-dashboard-auth.cjs +203 -0
- package/dist/scripts/test-docker-deployment.sh +207 -0
- package/dist/scripts/test-npm-package.cjs +167 -0
- package/dist/scripts/test-provider-routing.cjs +226 -0
- package/dist/scripts/test-routing-telemetry.cjs +147 -0
- package/dist/scripts/test-runner.cjs +154 -0
- package/dist/scripts/test-zai-10k.cjs +81 -0
- package/dist/scripts/test-zai-api.cjs +191 -0
- package/dist/scripts/test-zai-diagnostic.cjs +151 -0
- package/dist/scripts/test-zai-final.cjs +128 -0
- package/dist/scripts/test-zai-with-env.cjs +85 -0
- package/dist/scripts/toggle-cost-savings.cjs +302 -0
- package/dist/scripts/unified-memory-monitor.js +526 -0
- package/dist/scripts/utils/README.md +261 -0
- package/dist/scripts/utils/clean-build-artifacts.sh +94 -0
- package/dist/scripts/utils/cleanup-root.sh +69 -0
- package/dist/scripts/utils/fix-cliffy-imports.js +307 -0
- package/dist/scripts/utils/fix-duplicate-imports.js +114 -0
- package/dist/scripts/utils/fix-error-handling.cjs +70 -0
- package/dist/scripts/utils/fix-import-paths.js +104 -0
- package/dist/scripts/utils/fix-imports.js +116 -0
- package/dist/scripts/utils/fix-shebang.js +78 -0
- package/dist/scripts/utils/fix-test-modules.js +27 -0
- package/dist/scripts/utils/fix-timezone-issue-246.js +200 -0
- package/dist/scripts/utils/fix-ts-comprehensive.py +182 -0
- package/dist/scripts/utils/fix-ts-targeted-batch.js +250 -0
- package/dist/scripts/utils/remove-benchmark-conflicts.sh +140 -0
- package/dist/scripts/utils/simple-test-fixer.js +190 -0
- package/dist/scripts/utils/validate-metrics-structure.cjs +144 -0
- package/dist/scripts/validate-agent-hooks.js +506 -0
- package/dist/scripts/validate-changelog.js +241 -0
- package/dist/scripts/validate-coordination-cli.js +69 -0
- package/dist/scripts/validate-coordination-toggle-integration.cjs +501 -0
- package/dist/scripts/validate-docker-infrastructure.sh +502 -0
- package/dist/scripts/validate-entry-points.js +300 -0
- package/dist/scripts/validate-memory-monitoring.sh +225 -0
- package/dist/scripts/validate-stage3-performance.ts +377 -0
- package/dist/scripts/validate-template-bundling.js +180 -0
- package/dist/scripts/validation/README.md +33 -0
- package/dist/scripts/validation/acl-security-validation.cjs +214 -0
- package/dist/scripts/validation/acl-security-validation.js +402 -0
- package/dist/scripts/validation/byzantine-verification.js +407 -0
- package/dist/scripts/validation/final-phase-2-consensus.cjs +219 -0
- package/dist/scripts/validation/final-security-validation.js +791 -0
- package/dist/scripts/validation/final-wasm-validation.cjs +840 -0
- package/dist/scripts/validation/integration-test-analysis.js +105 -0
- package/dist/scripts/validation/phase-0-comprehensive-validation.js +474 -0
- package/dist/scripts/validation/phase-0-consensus-report.js +139 -0
- package/dist/scripts/validation/phase-0-final-report.js +112 -0
- package/dist/scripts/validation/phase-0-redis-consensus-report.js +129 -0
- package/dist/scripts/validation/phase-0-validation-improved.js +490 -0
- package/dist/scripts/validation/phase-0-validation-test.js +65 -0
- package/dist/scripts/validation/phase-1-consensus-report.cjs +342 -0
- package/dist/scripts/validation/phase-1-consensus-validation.cjs +551 -0
- package/dist/scripts/validation/phase-1-consensus-validation.js +551 -0
- package/dist/scripts/validation/phase-2-consensus-report.cjs +186 -0
- package/dist/scripts/validation/phase-2-validation.cjs +171 -0
- package/dist/scripts/validation/phase-2-validation.js +171 -0
- package/dist/scripts/validation/phase-4-consensus-report.js +181 -0
- package/dist/scripts/validation/phase-4-final-validation.js +351 -0
- package/dist/scripts/validation/phase-5-consensus-report.cjs +113 -0
- package/dist/scripts/validation/phase-5-consensus-report.js +113 -0
- package/dist/scripts/validation/security-analysis.js +49 -0
- package/dist/scripts/validation/security-validation.js +492 -0
- package/dist/scripts/validation/simple-security-validation.js +464 -0
- package/dist/scripts/verify-installation.js +112 -0
- package/dist/scripts/verify-mcp-server.js +86 -0
- package/dist/scripts/verify-sdk-phase1.cjs +293 -0
- package/dist/src/booster/performance-benchmark.js +1 -1
- package/dist/src/booster/wasm-demo.js +1 -1
- package/dist/src/cli/command-registry.js +2 -2
- package/dist/src/cli/help-formatter.js +109 -137
- package/dist/src/cli/main.js +32 -1
- package/dist/src/cli/simple-cli.js +2121 -2528
- package/dist/src/cli/simple-commands/sparc/refinement.js +3 -3
- package/dist/src/cli/validation-helper.js +49 -98
- package/dist/src/commands/suggest-templates.js +4 -4
- package/dist/src/core/version.js +15 -23
- package/dist/src/memory/swarm-memory.js +470 -603
- package/dist/src/slash-commands/fullstack.js +2 -2
- package/dist/src/slash-commands/parse-epic.js +1 -1
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/prefer-template.js +275 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/quote-props.js +310 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/quotes.js +350 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/radix.js +198 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-atomic-updates.js +331 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-await.js +113 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-jsdoc.js +122 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-unicode-regexp.js +129 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-yield.js +77 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/rest-spread-spacing.js +123 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/semi-spacing.js +248 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/semi-style.js +158 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/semi.js +438 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/sort-imports.js +241 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/sort-keys.js +230 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/sort-vars.js +104 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-before-blocks.js +204 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-before-function-paren.js +167 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-in-parens.js +285 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-infix-ops.js +198 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-unary-ops.js +324 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/spaced-comment.js +385 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/strict.js +277 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/switch-colon-spacing.js +132 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/symbol-description.js +73 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/template-curly-spacing.js +144 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/template-tag-spacing.js +93 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/unicode-bom.js +73 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/use-isnan.js +141 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/ast-utils.js +2282 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/fix-tracker.js +114 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/keywords.js +67 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/lazy-loading-rule-map.js +115 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/patterns/letters.js +36 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/regular-expressions.js +42 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/index.js +11 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/is-combining-character.js +13 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/valid-jsdoc.js +516 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/valid-typeof.js +127 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/vars-on-top.js +157 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/wrap-iife.js +207 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/wrap-regex.js +61 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/yield-star-spacing.js +130 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/yoda.js +353 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/ajv.js +34 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/ast-utils.js +29 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/config-validator.js +347 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/deprecation-warnings.js +58 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/directives.js +15 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/logging.js +30 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/relative-module-resolver.js +50 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/runtime-info.js +167 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/severity.js +49 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/string-utils.js +60 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/traverser.js +195 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/types.js +216 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/index.js +5 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/source-code.js +1055 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/backward-token-cursor.js +58 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/cursor.js +76 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/cursors.js +90 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/decorative-cursor.js +39 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/filter-cursor.js +43 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/forward-token-cursor.js +63 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/index.js +627 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/limit-cursor.js +40 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/padded-token-cursor.js +38 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/skip-cursor.js +42 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/utils.js +107 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/unsupported-api.js +30 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/all-files-ignored.js +16 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/eslintrc-incompat.js +98 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/eslintrc-plugins.js +24 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/extend-config-missing.js +13 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/failed-to-read-json.js +11 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/file-not-found.js +10 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/invalid-rule-options.js +17 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/invalid-rule-severity.js +13 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/no-config-found.js +15 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/plugin-conflict.js +22 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/plugin-invalid.js +16 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/plugin-missing.js +19 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/print-config-with-directory-path.js +8 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/shared.js +18 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/whitespace-found.js +11 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/node_modules/brace-expansion/index.js +201 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/node_modules/minimatch/minimatch.js +947 -0
- package/dist/src/web/frontend/node_modules/.esprima-9BICs9SA/bin/esparse.js +139 -0
- package/dist/src/web/frontend/node_modules/.esprima-9BICs9SA/bin/esvalidate.js +236 -0
- package/dist/src/web/frontend/node_modules/.esprima-9BICs9SA/dist/esprima.js +6709 -0
- package/dist/src/web/frontend/node_modules/.he-WANrIpvs/he.js +345 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/cli.js +315 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/index.js +27 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/argument.js +147 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/command.js +1944 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/error.js +45 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/help.js +396 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/option.js +208 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/suggestSimilar.js +100 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/src/htmlminifier.js +1368 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/src/htmlparser.js +581 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/src/tokenchain.js +71 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/src/utils.js +31 -0
- package/dist/src/web/frontend/node_modules/.husky-CmW1OijX/lib/bin.js +30 -0
- package/dist/src/web/frontend/node_modules/.husky-CmW1OijX/lib/index.js +67 -0
- package/dist/src/web/frontend/node_modules/.import-local-oKL6wyV0/fixtures/cli.js +7 -0
- package/dist/src/web/frontend/node_modules/.import-local-oKL6wyV0/index.js +24 -0
- package/dist/src/web/frontend/node_modules/.is-docker-Mti2VF6G/cli.js +5 -0
- package/dist/src/web/frontend/node_modules/.is-docker-Mti2VF6G/index.js +29 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/bin/cli.js +31 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/jakefile.js +112 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/api.js +409 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/jake.js +330 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/loader.js +174 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/namespace.js +115 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/package_task.js +406 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/parseargs.js +134 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/program.js +282 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/publish_task.js +290 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/rule.js +311 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/task/directory_task.js +30 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/task/file_task.js +126 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/task/index.js +9 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/task/task.js +458 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/test_task.js +270 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/utils/file.js +286 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/utils/index.js +297 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/utils/logger.js +24 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/concurrent.js +45 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/file.js +228 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/file_task.js +141 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/helpers.js +80 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakefile.js +352 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakelib/concurrent.jake.js +113 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakelib/publish.jake.js +49 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakelib/required_module.jake.js +10 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakelib/rule.jake.js +222 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/list_tasks.js +15 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/publish_task.js +27 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/rule.js +217 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/selfdep.js +42 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/task_base.js +167 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/unit/jakefile.js +36 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/unit/namespace.js +77 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/unit/parseargs.js +169 -0
- package/dist/src/web/frontend/node_modules/.jest-7ip6NMuN/bin/jest.js +13 -0
- package/dist/src/web/frontend/node_modules/.jest-7ip6NMuN/build/jest.js +61 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/bin/jest.js +17 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/cli/args.js +710 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/cli/index.js +265 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/index.js +13 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/errors.js +35 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/generateConfigFile.js +104 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/index.js +246 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/modifyPackageJson.js +28 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/questions.js +76 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/types.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/Circus.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/Config.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/Global.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/TestResult.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/Transform.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/index.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/cliui/build/lib/index.js +287 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/cliui/build/lib/string-utils.js +27 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/emoji-regex/es2015/index.js +6 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/emoji-regex/es2015/text.js +6 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/emoji-regex/index.js +6 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/emoji-regex/text.js +6 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/ErrorWithStack.js +33 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/clearLine.js +18 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/convertDescriptorToString.js +41 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/createDirectory.js +76 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/createProcessObject.js +126 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/deepCyclicCopy.js +84 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/formatTime.js +24 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/globsToMatcher.js +108 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/index.js +209 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/installCommonGlobals.js +123 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/interopRequireDefault.js +22 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/isInteractive.js +27 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/isPromise.js +20 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/pluralize.js +16 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/preRunMessage.js +48 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/replacePathSepForGlob.js +16 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/requireOrImportModule.js +91 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/setGlobal.js +17 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/specialChars.js +25 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/testPathPatternToRegExp.js +19 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/tryRealpath.js +34 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/string-width/index.js +47 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/wrap-ansi/index.js +216 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/argsert.js +62 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/command.js +382 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/completion-templates.js +47 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/completion.js +128 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/middleware.js +53 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/parse-command.js +32 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/typings/common-types.js +9 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/usage.js +548 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/levenshtein.js +26 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/which-module.js +10 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/validation.js +308 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/yargs-factory.js +1143 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/yerror.js +7 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/helpers/index.js +14 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/browser.js +29 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/index.js +59 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/yargs-parser.js +1037 -0
- package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/bin/jiti.js +16 -0
- package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/dist/babel.js +227 -0
- package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/dist/jiti.js +1 -0
- package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/lib/index.js +15 -0
- package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/register.js +3 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/bin/js-yaml.js +126 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/dist/js-yaml.js +3874 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/dist/js-yaml.min.js +2 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/index.js +47 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/common.js +59 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/dumper.js +965 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/exception.js +55 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/loader.js +1727 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema/core.js +11 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema/default.js +22 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema/failsafe.js +17 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema/json.js +19 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema.js +121 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/snippet.js +101 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/binary.js +125 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/bool.js +35 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/float.js +97 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/int.js +156 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/map.js +8 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/merge.js +12 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/null.js +35 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/omap.js +44 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/pairs.js +53 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/seq.js +8 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/set.js +29 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/str.js +8 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/timestamp.js +88 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type.js +66 -0
- package/dist/src/web/frontend/node_modules/.jsesc-HO7WBVtD/jsesc.js +337 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/dist/index.js +1737 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/dist/index.min.js +1 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/cli.js +152 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/index.js +9 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/parse.js +1114 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/register.js +13 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/require.js +4 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/stringify.js +261 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/unicode.js +4 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/util.js +35 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/bin/lint-staged.js +164 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/chunkFiles.js +54 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/configFiles.js +30 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/dynamicImport.js +3 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/execGit.js +28 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/figures.js +8 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/file.js +53 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/generateTasks.js +52 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/getDiffCommand.js +19 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/getRenderer.js +64 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/getStagedFiles.js +56 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/gitWorkflow.js +359 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/groupFilesByConfig.js +55 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/index.js +160 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/loadConfig.js +127 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/makeCmdTasks.js +52 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/messages.js +98 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/normalizePath.js +50 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/parseGitZOutput.js +11 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/printTaskOutput.js +12 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/readStdin.js +19 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/resolveConfig.js +15 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/resolveGitRepo.js +66 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/resolveTaskFn.js +185 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/runAll.js +344 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/searchConfigs.js +131 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/state.js +72 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/symbols.js +27 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/validateBraces.js +91 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/validateConfig.js +121 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/validateOptions.js +47 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/version.js +6 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/index.js +225 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/utilities.js +33 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/compose-node.js +102 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/composer.js +217 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +223 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/errors.js +57 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/index.js +17 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/log.js +11 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Alias.js +114 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/lexer.js +717 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/parser.js +967 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +64 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringify.js +128 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +143 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +24 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/util.js +11 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/visit.js +233 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/index.js +5 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/compose-node.js +105 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/composer.js +222 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/Document.js +337 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/directives.js +178 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/errors.js +62 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/index.js +50 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/log.js +19 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Alias.js +116 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/cst.js +112 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/lexer.js +719 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/parser.js +972 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/public-api.js +107 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/tags.js +99 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringify.js +131 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyCollection.js +145 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/test-events.js +134 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/util.js +28 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/visit.js +236 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/util.js +2 -0
- package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/cli.js +16 -0
- package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/custom.js +4 -0
- package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/index.js +3 -0
- package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/loose-envify.js +36 -0
- package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/replace.js +65 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/bin/bin.js +13 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/libs/base64-string.js +285 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/libs/lz-string.js +506 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/libs/lz-string.min.js +1 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/reference/lz-string-1.0.2.js +204 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/tests/lib/jasmine-1.3.1/jasmine-html.js +681 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/tests/lib/jasmine-1.3.1/jasmine.js +2600 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/tests/lz-string-spec.js +226 -0
- package/dist/src/web/frontend/node_modules/.mime-jO6Gv7S9/cli.js +8 -0
- package/dist/src/web/frontend/node_modules/.mime-jO6Gv7S9/mime.js +108 -0
- package/dist/src/web/frontend/node_modules/.mime-jO6Gv7S9/src/build.js +53 -0
- package/dist/src/web/frontend/node_modules/.mime-jO6Gv7S9/src/test.js +60 -0
- package/dist/src/web/frontend/node_modules/.mkdirp-idfX6Cn8/bin/cmd.js +33 -0
- package/dist/src/web/frontend/node_modules/.mkdirp-idfX6Cn8/index.js +102 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/abap/abap.js +1342 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/apex/apex.js +347 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/azcli/azcli.js +102 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/bat/bat.js +123 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/bicep/bicep.js +143 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/cameligo/cameligo.js +196 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/clojure/clojure.js +782 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/coffee/coffee.js +256 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/cpp/cpp.js +418 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/csharp/csharp.js +348 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/csp/csp.js +85 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/css/css.js +212 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/cypher/cypher.js +290 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/dart/dart.js +298 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/dockerfile/dockerfile.js +160 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/ecl/ecl.js +482 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/elixir/elixir.js +517 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/flow9/flow9.js +169 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.js +175099 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.de.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.es.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.fr.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.it.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.ja.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.js +2026 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.ko.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.ru.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.zh-cn.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.zh-tw.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/language/css/cssMode.js +2069 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/language/css/cssWorker.js +36893 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/browser.js +132 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/canIUse.js +32 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/contextmenu.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/defaultWorkerFactory.js +128 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/dnd.js +26 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/dom.js +1405 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/dompurify/dompurify.js +1640 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/event.js +20 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/fastDomNode.js +250 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/formattedTextRenderer.js +167 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/actionbar/actionViewItems.js +372 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/actionbar/actionbar.js +421 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/aria/aria.js +81 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +1 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/button/button.js +190 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/codicons/codiconStyles.js +6 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/contextview/contextview.js +299 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/countBadge/countBadge.js +36 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/dialog/dialog.js +1 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/dropdown/dropdown.js +139 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +106 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/findinput/findInput.js +295 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/findinput/findInputToggles.js +46 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/scrollbar/abstractScrollbar.js +207 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/tree/abstractTree.js +1644 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/tree/asyncDataTree.js +845 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/tree/compressedObjectTreeModel.js +365 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/tree/dataTree.js +17 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/actions.js +175 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/arrays.js +470 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/arraysFind.js +175 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/assert.js +51 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/async.js +832 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/buffer.js +68 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/cache.js +40 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/cancellation.js +109 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/charCode.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/codicons.js +591 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/collections.js +35 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/color.js +462 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/comparers.js +83 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/dataTransfer.js +129 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/decorators.js +30 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/diff/diff.js +899 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/diff/diffChange.js +32 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/errorMessage.js +68 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/errors.js +150 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/event.js +1185 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/extpath.js +144 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/filters.js +768 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/observableInternal/autorun.js +185 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/observableInternal/base.js +326 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/observableInternal/derived.js +276 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/_.contribution.js +82 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/abap/abap.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/abap/abap.js +1317 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/apex/apex.contribution.js +24 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/apex/apex.js +322 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/azcli/azcli.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/azcli/azcli.js +77 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/bat/bat.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/bat/bat.js +98 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/bicep/bicep.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/bicep/bicep.js +118 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cameligo/cameligo.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cameligo/cameligo.js +171 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/clojure/clojure.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/clojure/clojure.js +757 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/coffee/coffee.contribution.js +24 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/coffee/coffee.js +231 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cpp/cpp.contribution.js +37 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cpp/cpp.js +393 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/csharp/csharp.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/csharp/csharp.js +323 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/csp/csp.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/csp/csp.js +60 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/css/css.contribution.js +24 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/css/css.js +187 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cypher/cypher.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cypher/cypher.js +265 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/dart/dart.contribution.js +24 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/dart/dart.js +273 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/dockerfile/dockerfile.contribution.js +24 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/dockerfile/dockerfile.js +135 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/ecl/ecl.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/ecl/ecl.js +457 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/elixir/elixir.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/elixir/elixir.js +492 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/flow9/flow9.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/flow9/flow9.js +144 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/freemarker2/freemarker2.contribution.js +101 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/charWidthReader.js +102 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/domFontInfo.js +25 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/editorConfiguration.js +280 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/elementSizeObserver.js +99 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/fontMeasurements.js +191 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/coreCommands.js +1727 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/dnd.js +76 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/editorBrowser.js +50 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/editorDom.js +282 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/editorExtensions.js +461 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/services/abstractCodeEditorService.js +127 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/services/bulkEditService.js +73 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/services/codeEditorService.js +6 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/services/editorWorkerService.js +454 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/view/domLineBreaksComputer.js +299 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/view/dynamicViewOverlay.js +7 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +95 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +462 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +176 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/decorations/decorations.js +200 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +142 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/lines/domReadingContext.js +41 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +396 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/codeEditorContributions.js +130 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/codeEditorWidget.js +1734 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/accessibleDiffViewer.js +531 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/colors.js +9 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/decorations.js +65 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/delegatingEditorImpl.js +108 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +274 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorDecorations.js +225 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorEditors.js +164 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +91 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorSash.js +69 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +522 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +493 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +30 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/embeddedCodeEditorWidget.js +57 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/multiDiffEditorWidget/colors.js +7 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/multiDiffEditorWidget/diffEditorItemTemplate.js +213 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/diffEditor.js +34 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/editorConfiguration.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/editorConfigurationSchema.js +284 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/editorOptions.js +2999 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/editorZoom.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/fontInfo.js +153 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/characterClassifier.js +56 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/cursorColumns.js +109 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/dimension.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/editOperation.js +33 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/editorColorRegistry.js +85 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/eolCounter.js +42 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursor.js +877 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorAtomicMoveOperations.js +142 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorCollection.js +191 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorColumnSelection.js +90 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorContext.js +13 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorDeleteOperations.js +215 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorMoveCommands.js +651 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorMoveOperations.js +287 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorTypeOperations.js +973 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorWordOperations.js +686 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursorCommon.js +239 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursorEvents.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +118 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js +98 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +246 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +220 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/documentDiffProvider.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorAction.js +24 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorCommon.js +11 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorContextKeys.js +76 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorFeatures.js +15 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorTheme.js +21 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/encodedTokenAttributes.js +77 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/autoIndent.js +374 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/defaultDocumentColorsComputer.js +135 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/enterAction.js +63 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/supports/characterPair.js +37 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/supports/electricCharacter.js +52 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +724 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.js +482 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.js +107 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.js +343 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.js +105 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/combineTextEditInfos.js +121 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.js +189 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider.js +94 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/fixBrackets.js +66 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/decorationProvider.js +1 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/editStack.js +359 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/fixedArray.js +67 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/services/editorBaseApi.js +40 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/services/editorSimpleWorker.js +523 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/services/editorWorker.js +6 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/services/editorWorkerHost.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/tokens/contiguousMultilineTokens.js +30 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/tokens/contiguousMultilineTokensBuilder.js +20 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/tokens/contiguousTokensEditing.js +125 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/tokens/contiguousTokensStore.js +204 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +164 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +351 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +49 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/clipboard/browser/clipboard.js +236 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeAction.js +284 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +229 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +43 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +315 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +86 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +64 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionModel.js +271 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codelens/browser/codeLensCache.js +112 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codelens/browser/codelens.js +104 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codelens/browser/codelensController.js +472 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codelens/browser/codelensWidget.js +262 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/color.js +112 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorContributions.js +51 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorDetector.js +242 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +244 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorPickerModel.js +71 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +353 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.js +54 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/comment/browser/blockCommentCommand.js +146 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/comment/browser/comment.js +146 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +345 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +134 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dnd/browser/dnd.js +195 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dnd/browser/dragAndDropCommand.js +62 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/documentSymbols/browser/documentSymbols.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +57 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +401 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +181 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +44 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +157 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/edit.js +71 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/editorState/browser/editorState.js +112 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findController.js +990 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findDecorations.js +296 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findModel.js +488 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findOptionsWidget.js +138 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findState.js +243 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findWidget.js +1177 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/folding/browser/folding.js +1093 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +133 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/folding/browser/foldingModel.js +538 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/folding/browser/foldingRanges.js +351 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +49 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/format/browser/format.js +360 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/format/browser/formatActions.js +263 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/format/browser/formattingEdit.js +54 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +149 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/hover/browser/contentHover.js +874 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/inlineCompletions/browser/commandIds.js +7 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/inlineCompletions/browser/commands.js +199 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/linesOperations/browser/copyLinesCommand.js +70 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/quickAccess/browser/commandsQuickAccess.js +26 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +153 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +33 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.js +354 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/smartSelect/browser/bracketSelections.js +146 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/suggest/browser/completionModel.js +224 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +119 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/edcore.main.js +14 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/editor.all.js +63 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/editor.api.js +55 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/editor.main.js +7 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/editor.worker.js +25 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/standalone/browser/colorizer.js +118 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/language/css/css.worker.js +36869 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/language/css/cssMode.js +2035 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/accessibility/browser/accessibilityService.js +88 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/accessibility/common/accessibility.js +9 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/action/common/action.js +7 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/action/common/actionCommonCategories.js +13 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actionWidget/browser/actionList.js +276 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actionWidget/browser/actionWidget.js +248 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actionWidget/common/actionWidget.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actions/common/actions.js +409 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/audioCues/browser/audioCueService.js +176 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/clipboard/browser/clipboardService.js +141 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/clipboard/common/clipboardService.js +6 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/commands/common/commands.js +80 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configuration.js +86 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurationModels.js +554 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurationRegistry.js +317 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurations.js +41 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/browser/contextKeyService.js +432 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/common/contextkey.js +1547 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/common/contextkeys.js +18 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextMenuHandler.js +124 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextMenuService.js +101 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextView.js +7 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextViewService.js +72 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/dialogs/common/dialogs.js +2 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/dnd/browser/dnd.js +36 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/editor/common/editor.js +17 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/environment/common/environment.js +2 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/extensions/common/extensions.js +47 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/files/common/files.js +9 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +105 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/instantiation/common/descriptors.js +11 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/instantiation/common/extensions.js +15 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/keybinding/common/abstractKeybindingService.js +277 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/keybinding/common/baseResolvedKeybinding.js +53 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +354 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/theme/browser/defaultStyles.js +162 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/theme/common/colorRegistry.js +482 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/abap/abap.js +10 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/apex/apex.js +10 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/azcli/azcli.js +10 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/bat/bat.js +10 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/bicep/bicep.js +11 -0
- package/package.json +2 -1
- package/scripts/.claude-flow/metrics/agent-metrics.json +1 -0
- package/scripts/.claude-flow/metrics/performance.json +9 -0
- package/scripts/.claude-flow/metrics/task-metrics.json +10 -0
- package/scripts/CLEANUP_OPTIMIZATION_REPORT.json +312 -0
- package/scripts/CLEANUP_PERFORMANCE_OPTIMIZATION.md +387 -0
- package/scripts/CLEANUP_QUICK_START.md +268 -0
- package/scripts/CLEANUP_TEST_RESULTS.md +205 -0
- package/scripts/README.md +339 -0
- package/scripts/ace-query.sh +384 -0
- package/scripts/agent-token-analysis.js +430 -0
- package/scripts/auto-setup.js +332 -0
- package/scripts/build/README.md +167 -0
- package/scripts/build/build-config.js +27 -0
- package/scripts/build/build-prompt-copier.sh +30 -0
- package/scripts/build/performance-monitor.js +869 -0
- package/scripts/build/prepare-publish.js +150 -0
- package/scripts/build/typescript-fixer.js +621 -0
- package/scripts/build/unified-builder.sh +428 -0
- package/scripts/build/update-bin-version.js +32 -0
- package/scripts/build/validate-agents.js +238 -0
- package/scripts/build-index.js +43 -0
- package/scripts/build-orchestrator.js +320 -0
- package/scripts/check-routing-stats.cjs +122 -0
- package/scripts/ci-validation.js +375 -0
- package/scripts/cleanup-blocking-coordination.sh +420 -0
- package/scripts/cleanup-idle-sessions.sh +118 -0
- package/scripts/collect-build-metrics.js +65 -0
- package/scripts/demo/README.md +79 -0
- package/scripts/demo/autoscaling-demo-simplified.js +963 -0
- package/scripts/demo/comprehensive-dashboard-test.js +693 -0
- package/scripts/demo/confidence-log.js +87 -0
- package/scripts/demo/confidence-report.js +82 -0
- package/scripts/demo/demo-multi-swarm-coordination.js +325 -0
- package/scripts/demo/demo-production-deployment.js +399 -0
- package/scripts/demo/demo-visualization-system.js +149 -0
- package/scripts/demo/performance-analysis.cjs +71 -0
- package/scripts/demo/performance-analysis.js +71 -0
- package/scripts/demo/test-autoscaling-demo.js +314 -0
- package/scripts/dependency-optimizer.js +349 -0
- package/scripts/dependency-security-assessment.js +331 -0
- package/scripts/deploy-sdk.sh +176 -0
- package/scripts/deployment-readiness-report.json +179 -0
- package/scripts/dev/README.md +264 -0
- package/scripts/dev/claude-flow-wrapper.sh +35 -0
- package/scripts/dev/claude-monitor.py +419 -0
- package/scripts/dev/claude-sparc.sh +562 -0
- package/scripts/dev/claude-wrapper.sh +17 -0
- package/scripts/dev/demo-phase3-compliance.js +172 -0
- package/scripts/dev/demo-task-system.ts +224 -0
- package/scripts/dev/deployment-validator.js +315 -0
- package/scripts/dev/spawn-claude-terminal.sh +32 -0
- package/scripts/dev/start-portal.sh +506 -0
- package/scripts/dev/start-web-ui.js +15 -0
- package/scripts/dev/stop-portal.sh +311 -0
- package/scripts/dev/validate-examples.ts +288 -0
- package/scripts/dev/validate-phase2.cjs +451 -0
- package/scripts/dev/validate-phase2.js +785 -0
- package/scripts/dev/validate-phase3.cjs +208 -0
- package/scripts/dev/validate-security-remediation.js +1 -0
- package/scripts/ecosystem.config.cjs +90 -0
- package/scripts/enhanced-memory-spiral-killer.sh +221 -0
- package/scripts/fix-js-extensions.js +167 -0
- package/scripts/generate-basic-types.js +73 -0
- package/scripts/generate-changelog.js +318 -0
- package/scripts/git-hooks/pre-commit.sh +143 -0
- package/scripts/health-checks.js +634 -0
- package/scripts/hook-wrapper.sh +54 -0
- package/scripts/install/README.md +375 -0
- package/scripts/install/REDIS_SETUP_VALIDATION.json +245 -0
- package/scripts/install/check-prerequisites.js +303 -0
- package/scripts/install/config-wizard.js +606 -0
- package/scripts/install/dependency-checker.js +385 -0
- package/scripts/install/health-check.js +765 -0
- package/scripts/install/install.js +256 -0
- package/scripts/install/installation-benchmark.js +461 -0
- package/scripts/install/quick-install.js +720 -0
- package/scripts/install/quick-start-wizard.js +295 -0
- package/scripts/install/redis-cli.js +289 -0
- package/scripts/install/redis-install-guides.md +407 -0
- package/scripts/install/redis-setup.js +559 -0
- package/scripts/install/redis-test.js +278 -0
- package/scripts/install/service-manager.js +672 -0
- package/scripts/install/setup.js +832 -0
- package/scripts/install/uninstall.js +526 -0
- package/scripts/install/update.js +461 -0
- package/scripts/install-pre-commit-hook.sh +127 -0
- package/scripts/legacy/README.md +272 -0
- package/scripts/legacy/batch-fix-ts.sh +54 -0
- package/scripts/legacy/build-migration.sh +105 -0
- package/scripts/legacy/build-monitor.js +209 -0
- package/scripts/legacy/build-with-filter.sh +84 -0
- package/scripts/legacy/build-workaround.sh +71 -0
- package/scripts/legacy/fix-ts-advanced.js +358 -0
- package/scripts/legacy/fix-ts-final.sh +50 -0
- package/scripts/legacy/fix-ts-targeted.sh +49 -0
- package/scripts/legacy/fix-typescript-errors.js +305 -0
- package/scripts/legacy/force-build.sh +63 -0
- package/scripts/legacy/optimize-performance.js +400 -0
- package/scripts/legacy/performance-monitor.js +263 -0
- package/scripts/legacy/performance-monitoring.js +532 -0
- package/scripts/legacy/performance-test-runner.js +645 -0
- package/scripts/legacy/quick-fix-ts.js +281 -0
- package/scripts/legacy/safe-build.sh +63 -0
- package/scripts/memory-monitor-coordinator.js +451 -0
- package/scripts/migrate-to-sdk.sh +520 -0
- package/scripts/migration/QUICK-START.md +189 -0
- package/scripts/migration/QUICK-START.md.backup-1760135091363 +189 -0
- package/scripts/migration/README.md +464 -0
- package/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md +500 -0
- package/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md.backup-1760135091348 +500 -0
- package/scripts/migration/UPDATE-PATHS-README.md +464 -0
- package/scripts/migration/UPDATE-PATHS-README.md.backup-1760135091337 +464 -0
- package/scripts/migration/example-patterns.json +19 -0
- package/scripts/migration/install-arm64.js +78 -0
- package/scripts/migration/install.js +83 -0
- package/scripts/migration/migrate-hooks.js +173 -0
- package/scripts/migration/migration-examples.ts +318 -0
- package/scripts/migration/reorganize-workspace.js +504 -0
- package/scripts/migration/test-update-paths.js +359 -0
- package/scripts/migration/update-paths.js +664 -0
- package/scripts/migration/validate-migration.js +647 -0
- package/scripts/monitor-loop.sh +65 -0
- package/scripts/monitor-memory.sh +47 -0
- package/scripts/monitor-migration.js +339 -0
- package/scripts/monitor.py +43 -0
- package/scripts/monitoring/README.md +178 -0
- package/scripts/monitoring/alert-monitor.sh +220 -0
- package/scripts/monitoring/analyze-resources.sh +199 -0
- package/scripts/monitoring/dashboards/rate-limiting-dashboard.json +211 -0
- package/scripts/monitoring/dynamic-monitor.sh +85 -0
- package/scripts/monitoring/launch-stability-test.sh +184 -0
- package/scripts/monitoring/monitor-test.sh +93 -0
- package/scripts/monitoring/pre-test-validation.sh +208 -0
- package/scripts/monitoring/quick-test-alerting.sh +118 -0
- package/scripts/monitoring/quick-test-rate-limiting.sh +206 -0
- package/scripts/monitoring/rate-limiting-monitor.sh +380 -0
- package/scripts/monitoring/resource-monitor.sh +126 -0
- package/scripts/monitoring/stability-monitor.js +429 -0
- package/scripts/monitoring/test-monitor-quick.sh +54 -0
- package/scripts/monitoring/view-alerts.sh +307 -0
- package/scripts/npm-metrics-collector.js +482 -0
- package/scripts/npm-package-validation.cjs +299 -0
- package/scripts/optimization/build-optimizer.js +438 -0
- package/scripts/optimization/config-validator.js +761 -0
- package/scripts/optimization/test-optimization.js +432 -0
- package/scripts/optimization/unified-activation.js +839 -0
- package/scripts/optimize-package-swarm.js +54 -0
- package/scripts/performance/ACTIVATION_COMMANDS.md +292 -0
- package/scripts/performance/sqlite-enhanced-activation.sh +583 -0
- package/scripts/performance/test-enhanced-backend.sh +504 -0
- package/scripts/performance-monitor.js +644 -0
- package/scripts/performance-test-runner.js +698 -0
- package/scripts/post-deployment-monitoring.js +350 -0
- package/scripts/post-edit-pipeline.js +2091 -0
- package/scripts/post-install-claude-md.js +78 -0
- package/scripts/postinstall.js +165 -0
- package/scripts/pre-publish-validation.cjs +212 -0
- package/scripts/pre-publish-validation.js +429 -0
- package/scripts/redis-lua/cleanup-blocking-coordination.lua +198 -0
- package/scripts/release-announcement.js +425 -0
- package/scripts/release-notification.js +248 -0
- package/scripts/release-rollback.js +376 -0
- package/scripts/release-validation.js +460 -0
- package/scripts/rollback-sdk.sh +66 -0
- package/scripts/run-production-validation.ts +590 -0
- package/scripts/run-stability-validation.sh +687 -0
- package/scripts/security/README.md +339 -0
- package/scripts/security/deployment-validation.cjs +279 -0
- package/scripts/security/envelope-encryption-confidence-report.cjs +422 -0
- package/scripts/security/install-git-hooks.sh +132 -0
- package/scripts/security/install-git-secrets.sh +295 -0
- package/scripts/security/rotate-api-keys.js +469 -0
- package/scripts/security/ruv-swarm-safe.js +74 -0
- package/scripts/security/security-audit.cjs +538 -0
- package/scripts/security/setup-redis-auth.sh +397 -0
- package/scripts/security/validate-envelope-encryption.cjs +340 -0
- package/scripts/security-scan.js +492 -0
- package/scripts/src/web/frontend/.claude-flow/metrics/agent-metrics.json +1 -0
- package/scripts/src/web/frontend/.claude-flow/metrics/performance.json +9 -0
- package/scripts/src/web/frontend/.claude-flow/metrics/task-metrics.json +10 -0
- package/scripts/switch-api.sh +159 -0
- package/scripts/sync-agents.js +290 -0
- package/scripts/test/50-agent-test.js +625 -0
- package/scripts/test/NEW_STABILITY_TEST_GUIDE.md +407 -0
- package/scripts/test/README.md +236 -0
- package/scripts/test/STABILITY_TEST_EXAMPLE.md +347 -0
- package/scripts/test/STABILITY_TEST_README.md +480 -0
- package/scripts/test/agent-worker.js +309 -0
- package/scripts/test/ai-coordination-test.js +650 -0
- package/scripts/test/ai-mesh-coordination-test.js +416 -0
- package/scripts/test/check-links.ts +274 -0
- package/scripts/test/check-performance-regression.ts +168 -0
- package/scripts/test/cli-agent-coordination-test.js +313 -0
- package/scripts/test/coordinator-multilingual-test.js +396 -0
- package/scripts/test/coordinator-transparency-demo.js +585 -0
- package/scripts/test/coverage-report.ts +692 -0
- package/scripts/test/generate-swarm-tests.js +633 -0
- package/scripts/test/integration-test-validation.cjs +253 -0
- package/scripts/test/load-test-swarm.js +576 -0
- package/scripts/test/mesh-coordination-zero-overlap-test.js +740 -0
- package/scripts/test/multilingual-hello-world-test.js +390 -0
- package/scripts/test/quick-multilingual-demo.js +464 -0
- package/scripts/test/real-agent-test.js +312 -0
- package/scripts/test/run-phase3-compliance-tests.js +427 -0
- package/scripts/test/run-stability-test-examples.sh +292 -0
- package/scripts/test/stability-results/stability-metrics.jsonl +83 -0
- package/scripts/test/stability-results/stability-test-report.json +128 -0
- package/scripts/test/stability-results/stability-test.log +1827 -0
- package/scripts/test/stability-test-50-agents.js +734 -0
- package/scripts/test/test-batch-tasks.ts +29 -0
- package/scripts/test/test-byzantine-resolution.js +246 -0
- package/scripts/test/test-claude-spawn-options.sh +63 -0
- package/scripts/test/test-cli-wizard.js +331 -0
- package/scripts/test/test-comprehensive.js +401 -0
- package/scripts/test/test-coordination-features.ts +238 -0
- package/scripts/test/test-fallback-systems.js +276 -0
- package/scripts/test/test-init-command.ts +302 -0
- package/scripts/test/test-mcp.ts +251 -0
- package/scripts/test/test-runner.ts +568 -0
- package/scripts/test/test-swarm-integration.sh +92 -0
- package/scripts/test/test-swarm.ts +142 -0
- package/scripts/test/validation-summary.ts +408 -0
- package/scripts/test-cleanup-performance.sh +416 -0
- package/scripts/test-dashboard-auth.cjs +203 -0
- package/scripts/test-docker-deployment.sh +207 -0
- package/scripts/test-npm-package.cjs +167 -0
- package/scripts/test-provider-routing.cjs +226 -0
- package/scripts/test-routing-telemetry.cjs +147 -0
- package/scripts/test-runner.cjs +154 -0
- package/scripts/test-zai-10k.cjs +81 -0
- package/scripts/test-zai-api.cjs +191 -0
- package/scripts/test-zai-diagnostic.cjs +151 -0
- package/scripts/test-zai-final.cjs +128 -0
- package/scripts/test-zai-with-env.cjs +85 -0
- package/scripts/toggle-cost-savings.cjs +302 -0
- package/scripts/unified-memory-monitor.js +526 -0
- package/scripts/utils/README.md +261 -0
- package/scripts/utils/clean-build-artifacts.sh +94 -0
- package/scripts/utils/cleanup-root.sh +69 -0
- package/scripts/utils/fix-cliffy-imports.js +307 -0
- package/scripts/utils/fix-duplicate-imports.js +114 -0
- package/scripts/utils/fix-error-handling.cjs +70 -0
- package/scripts/utils/fix-import-paths.js +104 -0
- package/scripts/utils/fix-imports.js +116 -0
- package/scripts/utils/fix-shebang.js +78 -0
- package/scripts/utils/fix-test-modules.js +27 -0
- package/scripts/utils/fix-timezone-issue-246.js +200 -0
- package/scripts/utils/fix-ts-comprehensive.py +182 -0
- package/scripts/utils/fix-ts-targeted-batch.js +250 -0
- package/scripts/utils/remove-benchmark-conflicts.sh +140 -0
- package/scripts/utils/simple-test-fixer.js +190 -0
- package/scripts/utils/validate-metrics-structure.cjs +144 -0
- package/scripts/validate-agent-hooks.js +506 -0
- package/scripts/validate-changelog.js +241 -0
- package/scripts/validate-coordination-cli.js +69 -0
- package/scripts/validate-coordination-toggle-integration.cjs +501 -0
- package/scripts/validate-docker-infrastructure.sh +502 -0
- package/scripts/validate-entry-points.js +300 -0
- package/scripts/validate-memory-monitoring.sh +225 -0
- package/scripts/validate-stage3-performance.ts +377 -0
- package/scripts/validate-template-bundling.js +180 -0
- package/scripts/validation/README.md +33 -0
- package/scripts/validation/acl-security-validation.cjs +214 -0
- package/scripts/validation/acl-security-validation.js +402 -0
- package/scripts/validation/byzantine-verification.js +407 -0
- package/scripts/validation/final-phase-2-consensus.cjs +219 -0
- package/scripts/validation/final-security-validation.js +791 -0
- package/scripts/validation/final-wasm-validation.cjs +840 -0
- package/scripts/validation/integration-test-analysis.js +105 -0
- package/scripts/validation/phase-0-comprehensive-validation.js +474 -0
- package/scripts/validation/phase-0-consensus-report.js +139 -0
- package/scripts/validation/phase-0-final-report.js +112 -0
- package/scripts/validation/phase-0-redis-consensus-report.js +129 -0
- package/scripts/validation/phase-0-validation-improved.js +490 -0
- package/scripts/validation/phase-0-validation-test.js +65 -0
- package/scripts/validation/phase-1-consensus-report.cjs +342 -0
- package/scripts/validation/phase-1-consensus-validation.cjs +551 -0
- package/scripts/validation/phase-1-consensus-validation.js +551 -0
- package/scripts/validation/phase-2-consensus-report.cjs +186 -0
- package/scripts/validation/phase-2-validation.cjs +171 -0
- package/scripts/validation/phase-2-validation.js +171 -0
- package/scripts/validation/phase-4-consensus-report.js +181 -0
- package/scripts/validation/phase-4-final-validation.js +351 -0
- package/scripts/validation/phase-5-consensus-report.cjs +113 -0
- package/scripts/validation/phase-5-consensus-report.js +113 -0
- package/scripts/validation/security-analysis.js +49 -0
- package/scripts/validation/security-validation.js +492 -0
- package/scripts/validation/simple-security-validation.js +464 -0
- package/scripts/verify-installation.js +112 -0
- package/scripts/verify-mcp-server.js +86 -0
- package/scripts/verify-sdk-phase1.cjs +293 -0
|
@@ -0,0 +1,1734 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
6
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
var CodeEditorWidget_1;
|
|
15
|
+
import '../services/markerDecorations.js';
|
|
16
|
+
import './media/editor.css';
|
|
17
|
+
import * as nls from '../../../nls.js';
|
|
18
|
+
import * as dom from '../../../base/browser/dom.js';
|
|
19
|
+
import { onUnexpectedError } from '../../../base/common/errors.js';
|
|
20
|
+
import { Emitter, createEventDeliveryQueue } from '../../../base/common/event.js';
|
|
21
|
+
import { Disposable, dispose } from '../../../base/common/lifecycle.js';
|
|
22
|
+
import { Schemas } from '../../../base/common/network.js';
|
|
23
|
+
import { EditorConfiguration } from '../config/editorConfiguration.js';
|
|
24
|
+
import { EditorExtensionsRegistry } from '../editorExtensions.js';
|
|
25
|
+
import { ICodeEditorService } from '../services/codeEditorService.js';
|
|
26
|
+
import { View } from '../view.js';
|
|
27
|
+
import { ViewUserInputEvents } from '../view/viewUserInputEvents.js';
|
|
28
|
+
import { filterValidationDecorations } from '../../common/config/editorOptions.js';
|
|
29
|
+
import { CursorColumns } from '../../common/core/cursorColumns.js';
|
|
30
|
+
import { Position } from '../../common/core/position.js';
|
|
31
|
+
import { Range } from '../../common/core/range.js';
|
|
32
|
+
import { Selection } from '../../common/core/selection.js';
|
|
33
|
+
import { InternalEditorAction } from '../../common/editorAction.js';
|
|
34
|
+
import * as editorCommon from '../../common/editorCommon.js';
|
|
35
|
+
import { EditorContextKeys } from '../../common/editorContextKeys.js';
|
|
36
|
+
import { ModelDecorationOptions } from '../../common/model/textModel.js';
|
|
37
|
+
import { editorUnnecessaryCodeOpacity } from '../../common/core/editorColorRegistry.js';
|
|
38
|
+
import { editorErrorForeground, editorHintForeground, editorInfoForeground, editorWarningForeground } from '../../../platform/theme/common/colorRegistry.js';
|
|
39
|
+
import { ViewModel } from '../../common/viewModel/viewModelImpl.js';
|
|
40
|
+
import { ICommandService } from '../../../platform/commands/common/commands.js';
|
|
41
|
+
import { IContextKeyService } from '../../../platform/contextkey/common/contextkey.js';
|
|
42
|
+
import { IInstantiationService } from '../../../platform/instantiation/common/instantiation.js';
|
|
43
|
+
import { ServiceCollection } from '../../../platform/instantiation/common/serviceCollection.js';
|
|
44
|
+
import { INotificationService, Severity } from '../../../platform/notification/common/notification.js';
|
|
45
|
+
import { IThemeService, registerThemingParticipant } from '../../../platform/theme/common/themeService.js';
|
|
46
|
+
import { IAccessibilityService } from '../../../platform/accessibility/common/accessibility.js';
|
|
47
|
+
import { MonospaceLineBreaksComputerFactory } from '../../common/viewModel/monospaceLineBreaksComputer.js';
|
|
48
|
+
import { DOMLineBreaksComputerFactory } from '../view/domLineBreaksComputer.js';
|
|
49
|
+
import { WordOperations } from '../../common/cursor/cursorWordOperations.js';
|
|
50
|
+
import { ILanguageConfigurationService } from '../../common/languages/languageConfigurationRegistry.js';
|
|
51
|
+
import { applyFontInfo } from '../config/domFontInfo.js';
|
|
52
|
+
import { ILanguageFeaturesService } from '../../common/services/languageFeatures.js';
|
|
53
|
+
import { CodeEditorContributions } from './codeEditorContributions.js';
|
|
54
|
+
import { TabFocus } from '../config/tabFocus.js';
|
|
55
|
+
let EDITOR_ID = 0;
|
|
56
|
+
class ModelData {
|
|
57
|
+
constructor(model, viewModel, view, hasRealView, listenersToRemove, attachedView) {
|
|
58
|
+
this.model = model;
|
|
59
|
+
this.viewModel = viewModel;
|
|
60
|
+
this.view = view;
|
|
61
|
+
this.hasRealView = hasRealView;
|
|
62
|
+
this.listenersToRemove = listenersToRemove;
|
|
63
|
+
this.attachedView = attachedView;
|
|
64
|
+
}
|
|
65
|
+
dispose() {
|
|
66
|
+
dispose(this.listenersToRemove);
|
|
67
|
+
this.model.onBeforeDetached(this.attachedView);
|
|
68
|
+
if (this.hasRealView) {
|
|
69
|
+
this.view.dispose();
|
|
70
|
+
}
|
|
71
|
+
this.viewModel.dispose();
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
let CodeEditorWidget = CodeEditorWidget_1 = class CodeEditorWidget extends Disposable {
|
|
75
|
+
//#endregion
|
|
76
|
+
get isSimpleWidget() {
|
|
77
|
+
return this._configuration.isSimpleWidget;
|
|
78
|
+
}
|
|
79
|
+
constructor(domElement, _options, codeEditorWidgetOptions, instantiationService, codeEditorService, commandService, contextKeyService, themeService, notificationService, accessibilityService, languageConfigurationService, languageFeaturesService) {
|
|
80
|
+
var _a;
|
|
81
|
+
super();
|
|
82
|
+
this.languageConfigurationService = languageConfigurationService;
|
|
83
|
+
//#region Eventing
|
|
84
|
+
this._deliveryQueue = createEventDeliveryQueue();
|
|
85
|
+
this._contributions = this._register(new CodeEditorContributions());
|
|
86
|
+
this._onDidDispose = this._register(new Emitter());
|
|
87
|
+
this.onDidDispose = this._onDidDispose.event;
|
|
88
|
+
this._onDidChangeModelContent = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
89
|
+
this.onDidChangeModelContent = this._onDidChangeModelContent.event;
|
|
90
|
+
this._onDidChangeModelLanguage = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
91
|
+
this.onDidChangeModelLanguage = this._onDidChangeModelLanguage.event;
|
|
92
|
+
this._onDidChangeModelLanguageConfiguration = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
93
|
+
this.onDidChangeModelLanguageConfiguration = this._onDidChangeModelLanguageConfiguration.event;
|
|
94
|
+
this._onDidChangeModelOptions = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
95
|
+
this.onDidChangeModelOptions = this._onDidChangeModelOptions.event;
|
|
96
|
+
this._onDidChangeModelDecorations = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
97
|
+
this.onDidChangeModelDecorations = this._onDidChangeModelDecorations.event;
|
|
98
|
+
this._onDidChangeModelTokens = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
99
|
+
this.onDidChangeModelTokens = this._onDidChangeModelTokens.event;
|
|
100
|
+
this._onDidChangeConfiguration = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
101
|
+
this.onDidChangeConfiguration = this._onDidChangeConfiguration.event;
|
|
102
|
+
this._onDidChangeModel = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
103
|
+
this.onDidChangeModel = this._onDidChangeModel.event;
|
|
104
|
+
this._onDidChangeCursorPosition = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
105
|
+
this.onDidChangeCursorPosition = this._onDidChangeCursorPosition.event;
|
|
106
|
+
this._onDidChangeCursorSelection = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
107
|
+
this.onDidChangeCursorSelection = this._onDidChangeCursorSelection.event;
|
|
108
|
+
this._onDidAttemptReadOnlyEdit = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
109
|
+
this.onDidAttemptReadOnlyEdit = this._onDidAttemptReadOnlyEdit.event;
|
|
110
|
+
this._onDidLayoutChange = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
111
|
+
this.onDidLayoutChange = this._onDidLayoutChange.event;
|
|
112
|
+
this._editorTextFocus = this._register(new BooleanEventEmitter({ deliveryQueue: this._deliveryQueue }));
|
|
113
|
+
this.onDidFocusEditorText = this._editorTextFocus.onDidChangeToTrue;
|
|
114
|
+
this.onDidBlurEditorText = this._editorTextFocus.onDidChangeToFalse;
|
|
115
|
+
this._editorWidgetFocus = this._register(new BooleanEventEmitter({ deliveryQueue: this._deliveryQueue }));
|
|
116
|
+
this.onDidFocusEditorWidget = this._editorWidgetFocus.onDidChangeToTrue;
|
|
117
|
+
this.onDidBlurEditorWidget = this._editorWidgetFocus.onDidChangeToFalse;
|
|
118
|
+
this._onWillType = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
119
|
+
this.onWillType = this._onWillType.event;
|
|
120
|
+
this._onDidType = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
121
|
+
this.onDidType = this._onDidType.event;
|
|
122
|
+
this._onDidCompositionStart = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
123
|
+
this.onDidCompositionStart = this._onDidCompositionStart.event;
|
|
124
|
+
this._onDidCompositionEnd = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
125
|
+
this.onDidCompositionEnd = this._onDidCompositionEnd.event;
|
|
126
|
+
this._onDidPaste = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
127
|
+
this.onDidPaste = this._onDidPaste.event;
|
|
128
|
+
this._onMouseUp = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
129
|
+
this.onMouseUp = this._onMouseUp.event;
|
|
130
|
+
this._onMouseDown = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
131
|
+
this.onMouseDown = this._onMouseDown.event;
|
|
132
|
+
this._onMouseDrag = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
133
|
+
this.onMouseDrag = this._onMouseDrag.event;
|
|
134
|
+
this._onMouseDrop = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
135
|
+
this.onMouseDrop = this._onMouseDrop.event;
|
|
136
|
+
this._onMouseDropCanceled = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
137
|
+
this.onMouseDropCanceled = this._onMouseDropCanceled.event;
|
|
138
|
+
this._onDropIntoEditor = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
139
|
+
this.onDropIntoEditor = this._onDropIntoEditor.event;
|
|
140
|
+
this._onContextMenu = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
141
|
+
this.onContextMenu = this._onContextMenu.event;
|
|
142
|
+
this._onMouseMove = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
143
|
+
this.onMouseMove = this._onMouseMove.event;
|
|
144
|
+
this._onMouseLeave = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
145
|
+
this.onMouseLeave = this._onMouseLeave.event;
|
|
146
|
+
this._onMouseWheel = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
147
|
+
this.onMouseWheel = this._onMouseWheel.event;
|
|
148
|
+
this._onKeyUp = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
149
|
+
this.onKeyUp = this._onKeyUp.event;
|
|
150
|
+
this._onKeyDown = this._register(new InteractionEmitter(this._contributions, this._deliveryQueue));
|
|
151
|
+
this.onKeyDown = this._onKeyDown.event;
|
|
152
|
+
this._onDidContentSizeChange = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
153
|
+
this.onDidContentSizeChange = this._onDidContentSizeChange.event;
|
|
154
|
+
this._onDidScrollChange = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
155
|
+
this.onDidScrollChange = this._onDidScrollChange.event;
|
|
156
|
+
this._onDidChangeViewZones = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
157
|
+
this.onDidChangeViewZones = this._onDidChangeViewZones.event;
|
|
158
|
+
this._onDidChangeHiddenAreas = this._register(new Emitter({ deliveryQueue: this._deliveryQueue }));
|
|
159
|
+
this.onDidChangeHiddenAreas = this._onDidChangeHiddenAreas.event;
|
|
160
|
+
this._actions = new Map();
|
|
161
|
+
this._bannerDomNode = null;
|
|
162
|
+
this._dropIntoEditorDecorations = this.createDecorationsCollection();
|
|
163
|
+
codeEditorService.willCreateCodeEditor();
|
|
164
|
+
const options = { ..._options };
|
|
165
|
+
this._domElement = domElement;
|
|
166
|
+
this._overflowWidgetsDomNode = options.overflowWidgetsDomNode;
|
|
167
|
+
delete options.overflowWidgetsDomNode;
|
|
168
|
+
this._id = (++EDITOR_ID);
|
|
169
|
+
this._decorationTypeKeysToIds = {};
|
|
170
|
+
this._decorationTypeSubtypes = {};
|
|
171
|
+
this._telemetryData = codeEditorWidgetOptions.telemetryData;
|
|
172
|
+
this._configuration = this._register(this._createConfiguration(codeEditorWidgetOptions.isSimpleWidget || false, options, accessibilityService));
|
|
173
|
+
this._register(this._configuration.onDidChange((e) => {
|
|
174
|
+
this._onDidChangeConfiguration.fire(e);
|
|
175
|
+
const options = this._configuration.options;
|
|
176
|
+
if (e.hasChanged(143 /* EditorOption.layoutInfo */)) {
|
|
177
|
+
const layoutInfo = options.get(143 /* EditorOption.layoutInfo */);
|
|
178
|
+
this._onDidLayoutChange.fire(layoutInfo);
|
|
179
|
+
}
|
|
180
|
+
}));
|
|
181
|
+
this._contextKeyService = this._register(contextKeyService.createScoped(this._domElement));
|
|
182
|
+
this._notificationService = notificationService;
|
|
183
|
+
this._codeEditorService = codeEditorService;
|
|
184
|
+
this._commandService = commandService;
|
|
185
|
+
this._themeService = themeService;
|
|
186
|
+
this._register(new EditorContextKeysManager(this, this._contextKeyService));
|
|
187
|
+
this._register(new EditorModeContext(this, this._contextKeyService, languageFeaturesService));
|
|
188
|
+
this._instantiationService = instantiationService.createChild(new ServiceCollection([IContextKeyService, this._contextKeyService]));
|
|
189
|
+
this._modelData = null;
|
|
190
|
+
this._focusTracker = new CodeEditorWidgetFocusTracker(domElement);
|
|
191
|
+
this._register(this._focusTracker.onChange(() => {
|
|
192
|
+
this._editorWidgetFocus.setValue(this._focusTracker.hasFocus());
|
|
193
|
+
}));
|
|
194
|
+
this._contentWidgets = {};
|
|
195
|
+
this._overlayWidgets = {};
|
|
196
|
+
this._glyphMarginWidgets = {};
|
|
197
|
+
let contributions;
|
|
198
|
+
if (Array.isArray(codeEditorWidgetOptions.contributions)) {
|
|
199
|
+
contributions = codeEditorWidgetOptions.contributions;
|
|
200
|
+
}
|
|
201
|
+
else {
|
|
202
|
+
contributions = EditorExtensionsRegistry.getEditorContributions();
|
|
203
|
+
}
|
|
204
|
+
this._contributions.initialize(this, contributions, this._instantiationService);
|
|
205
|
+
for (const action of EditorExtensionsRegistry.getEditorActions()) {
|
|
206
|
+
if (this._actions.has(action.id)) {
|
|
207
|
+
onUnexpectedError(new Error(`Cannot have two actions with the same id ${action.id}`));
|
|
208
|
+
continue;
|
|
209
|
+
}
|
|
210
|
+
const internalAction = new InternalEditorAction(action.id, action.label, action.alias, action.metadata, (_a = action.precondition) !== null && _a !== void 0 ? _a : undefined, () => {
|
|
211
|
+
return this._instantiationService.invokeFunction((accessor) => {
|
|
212
|
+
return Promise.resolve(action.runEditorCommand(accessor, this, null));
|
|
213
|
+
});
|
|
214
|
+
}, this._contextKeyService);
|
|
215
|
+
this._actions.set(internalAction.id, internalAction);
|
|
216
|
+
}
|
|
217
|
+
const isDropIntoEnabled = () => {
|
|
218
|
+
return !this._configuration.options.get(90 /* EditorOption.readOnly */)
|
|
219
|
+
&& this._configuration.options.get(36 /* EditorOption.dropIntoEditor */).enabled;
|
|
220
|
+
};
|
|
221
|
+
this._register(new dom.DragAndDropObserver(this._domElement, {
|
|
222
|
+
onDragOver: e => {
|
|
223
|
+
if (!isDropIntoEnabled()) {
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
const target = this.getTargetAtClientPoint(e.clientX, e.clientY);
|
|
227
|
+
if (target === null || target === void 0 ? void 0 : target.position) {
|
|
228
|
+
this.showDropIndicatorAt(target.position);
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
onDrop: async (e) => {
|
|
232
|
+
if (!isDropIntoEnabled()) {
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
this.removeDropIndicator();
|
|
236
|
+
if (!e.dataTransfer) {
|
|
237
|
+
return;
|
|
238
|
+
}
|
|
239
|
+
const target = this.getTargetAtClientPoint(e.clientX, e.clientY);
|
|
240
|
+
if (target === null || target === void 0 ? void 0 : target.position) {
|
|
241
|
+
this._onDropIntoEditor.fire({ position: target.position, event: e });
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
onDragLeave: () => {
|
|
245
|
+
this.removeDropIndicator();
|
|
246
|
+
},
|
|
247
|
+
onDragEnd: () => {
|
|
248
|
+
this.removeDropIndicator();
|
|
249
|
+
},
|
|
250
|
+
}));
|
|
251
|
+
this._codeEditorService.addCodeEditor(this);
|
|
252
|
+
}
|
|
253
|
+
writeScreenReaderContent(reason) {
|
|
254
|
+
var _a;
|
|
255
|
+
(_a = this._modelData) === null || _a === void 0 ? void 0 : _a.view.writeScreenReaderContent(reason);
|
|
256
|
+
}
|
|
257
|
+
_createConfiguration(isSimpleWidget, options, accessibilityService) {
|
|
258
|
+
return new EditorConfiguration(isSimpleWidget, options, this._domElement, accessibilityService);
|
|
259
|
+
}
|
|
260
|
+
getId() {
|
|
261
|
+
return this.getEditorType() + ':' + this._id;
|
|
262
|
+
}
|
|
263
|
+
getEditorType() {
|
|
264
|
+
return editorCommon.EditorType.ICodeEditor;
|
|
265
|
+
}
|
|
266
|
+
dispose() {
|
|
267
|
+
this._codeEditorService.removeCodeEditor(this);
|
|
268
|
+
this._focusTracker.dispose();
|
|
269
|
+
this._actions.clear();
|
|
270
|
+
this._contentWidgets = {};
|
|
271
|
+
this._overlayWidgets = {};
|
|
272
|
+
this._removeDecorationTypes();
|
|
273
|
+
this._postDetachModelCleanup(this._detachModel());
|
|
274
|
+
this._onDidDispose.fire();
|
|
275
|
+
super.dispose();
|
|
276
|
+
}
|
|
277
|
+
invokeWithinContext(fn) {
|
|
278
|
+
return this._instantiationService.invokeFunction(fn);
|
|
279
|
+
}
|
|
280
|
+
updateOptions(newOptions) {
|
|
281
|
+
this._configuration.updateOptions(newOptions || {});
|
|
282
|
+
}
|
|
283
|
+
getOptions() {
|
|
284
|
+
return this._configuration.options;
|
|
285
|
+
}
|
|
286
|
+
getOption(id) {
|
|
287
|
+
return this._configuration.options.get(id);
|
|
288
|
+
}
|
|
289
|
+
getRawOptions() {
|
|
290
|
+
return this._configuration.getRawOptions();
|
|
291
|
+
}
|
|
292
|
+
getOverflowWidgetsDomNode() {
|
|
293
|
+
return this._overflowWidgetsDomNode;
|
|
294
|
+
}
|
|
295
|
+
getConfiguredWordAtPosition(position) {
|
|
296
|
+
if (!this._modelData) {
|
|
297
|
+
return null;
|
|
298
|
+
}
|
|
299
|
+
return WordOperations.getWordAtPosition(this._modelData.model, this._configuration.options.get(129 /* EditorOption.wordSeparators */), position);
|
|
300
|
+
}
|
|
301
|
+
getValue(options = null) {
|
|
302
|
+
if (!this._modelData) {
|
|
303
|
+
return '';
|
|
304
|
+
}
|
|
305
|
+
const preserveBOM = (options && options.preserveBOM) ? true : false;
|
|
306
|
+
let eolPreference = 0 /* EndOfLinePreference.TextDefined */;
|
|
307
|
+
if (options && options.lineEnding && options.lineEnding === '\n') {
|
|
308
|
+
eolPreference = 1 /* EndOfLinePreference.LF */;
|
|
309
|
+
}
|
|
310
|
+
else if (options && options.lineEnding && options.lineEnding === '\r\n') {
|
|
311
|
+
eolPreference = 2 /* EndOfLinePreference.CRLF */;
|
|
312
|
+
}
|
|
313
|
+
return this._modelData.model.getValue(eolPreference, preserveBOM);
|
|
314
|
+
}
|
|
315
|
+
setValue(newValue) {
|
|
316
|
+
if (!this._modelData) {
|
|
317
|
+
return;
|
|
318
|
+
}
|
|
319
|
+
this._modelData.model.setValue(newValue);
|
|
320
|
+
}
|
|
321
|
+
getModel() {
|
|
322
|
+
if (!this._modelData) {
|
|
323
|
+
return null;
|
|
324
|
+
}
|
|
325
|
+
return this._modelData.model;
|
|
326
|
+
}
|
|
327
|
+
setModel(_model = null) {
|
|
328
|
+
const model = _model;
|
|
329
|
+
if (this._modelData === null && model === null) {
|
|
330
|
+
// Current model is the new model
|
|
331
|
+
return;
|
|
332
|
+
}
|
|
333
|
+
if (this._modelData && this._modelData.model === model) {
|
|
334
|
+
// Current model is the new model
|
|
335
|
+
return;
|
|
336
|
+
}
|
|
337
|
+
const hasTextFocus = this.hasTextFocus();
|
|
338
|
+
const detachedModel = this._detachModel();
|
|
339
|
+
this._attachModel(model);
|
|
340
|
+
if (hasTextFocus && this.hasModel()) {
|
|
341
|
+
this.focus();
|
|
342
|
+
}
|
|
343
|
+
const e = {
|
|
344
|
+
oldModelUrl: detachedModel ? detachedModel.uri : null,
|
|
345
|
+
newModelUrl: model ? model.uri : null
|
|
346
|
+
};
|
|
347
|
+
this._removeDecorationTypes();
|
|
348
|
+
this._onDidChangeModel.fire(e);
|
|
349
|
+
this._postDetachModelCleanup(detachedModel);
|
|
350
|
+
this._contributions.onAfterModelAttached();
|
|
351
|
+
}
|
|
352
|
+
_removeDecorationTypes() {
|
|
353
|
+
this._decorationTypeKeysToIds = {};
|
|
354
|
+
if (this._decorationTypeSubtypes) {
|
|
355
|
+
for (const decorationType in this._decorationTypeSubtypes) {
|
|
356
|
+
const subTypes = this._decorationTypeSubtypes[decorationType];
|
|
357
|
+
for (const subType in subTypes) {
|
|
358
|
+
this._removeDecorationType(decorationType + '-' + subType);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
this._decorationTypeSubtypes = {};
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
getVisibleRanges() {
|
|
365
|
+
if (!this._modelData) {
|
|
366
|
+
return [];
|
|
367
|
+
}
|
|
368
|
+
return this._modelData.viewModel.getVisibleRanges();
|
|
369
|
+
}
|
|
370
|
+
getVisibleRangesPlusViewportAboveBelow() {
|
|
371
|
+
if (!this._modelData) {
|
|
372
|
+
return [];
|
|
373
|
+
}
|
|
374
|
+
return this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow();
|
|
375
|
+
}
|
|
376
|
+
getWhitespaces() {
|
|
377
|
+
if (!this._modelData) {
|
|
378
|
+
return [];
|
|
379
|
+
}
|
|
380
|
+
return this._modelData.viewModel.viewLayout.getWhitespaces();
|
|
381
|
+
}
|
|
382
|
+
static _getVerticalOffsetAfterPosition(modelData, modelLineNumber, modelColumn, includeViewZones) {
|
|
383
|
+
const modelPosition = modelData.model.validatePosition({
|
|
384
|
+
lineNumber: modelLineNumber,
|
|
385
|
+
column: modelColumn
|
|
386
|
+
});
|
|
387
|
+
const viewPosition = modelData.viewModel.coordinatesConverter.convertModelPositionToViewPosition(modelPosition);
|
|
388
|
+
return modelData.viewModel.viewLayout.getVerticalOffsetAfterLineNumber(viewPosition.lineNumber, includeViewZones);
|
|
389
|
+
}
|
|
390
|
+
getTopForLineNumber(lineNumber, includeViewZones = false) {
|
|
391
|
+
if (!this._modelData) {
|
|
392
|
+
return -1;
|
|
393
|
+
}
|
|
394
|
+
return CodeEditorWidget_1._getVerticalOffsetForPosition(this._modelData, lineNumber, 1, includeViewZones);
|
|
395
|
+
}
|
|
396
|
+
getTopForPosition(lineNumber, column) {
|
|
397
|
+
if (!this._modelData) {
|
|
398
|
+
return -1;
|
|
399
|
+
}
|
|
400
|
+
return CodeEditorWidget_1._getVerticalOffsetForPosition(this._modelData, lineNumber, column, false);
|
|
401
|
+
}
|
|
402
|
+
static _getVerticalOffsetForPosition(modelData, modelLineNumber, modelColumn, includeViewZones = false) {
|
|
403
|
+
const modelPosition = modelData.model.validatePosition({
|
|
404
|
+
lineNumber: modelLineNumber,
|
|
405
|
+
column: modelColumn
|
|
406
|
+
});
|
|
407
|
+
const viewPosition = modelData.viewModel.coordinatesConverter.convertModelPositionToViewPosition(modelPosition);
|
|
408
|
+
return modelData.viewModel.viewLayout.getVerticalOffsetForLineNumber(viewPosition.lineNumber, includeViewZones);
|
|
409
|
+
}
|
|
410
|
+
getBottomForLineNumber(lineNumber, includeViewZones = false) {
|
|
411
|
+
if (!this._modelData) {
|
|
412
|
+
return -1;
|
|
413
|
+
}
|
|
414
|
+
return CodeEditorWidget_1._getVerticalOffsetAfterPosition(this._modelData, lineNumber, 1, includeViewZones);
|
|
415
|
+
}
|
|
416
|
+
setHiddenAreas(ranges, source) {
|
|
417
|
+
var _a;
|
|
418
|
+
(_a = this._modelData) === null || _a === void 0 ? void 0 : _a.viewModel.setHiddenAreas(ranges.map(r => Range.lift(r)), source);
|
|
419
|
+
}
|
|
420
|
+
getVisibleColumnFromPosition(rawPosition) {
|
|
421
|
+
if (!this._modelData) {
|
|
422
|
+
return rawPosition.column;
|
|
423
|
+
}
|
|
424
|
+
const position = this._modelData.model.validatePosition(rawPosition);
|
|
425
|
+
const tabSize = this._modelData.model.getOptions().tabSize;
|
|
426
|
+
return CursorColumns.visibleColumnFromColumn(this._modelData.model.getLineContent(position.lineNumber), position.column, tabSize) + 1;
|
|
427
|
+
}
|
|
428
|
+
getPosition() {
|
|
429
|
+
if (!this._modelData) {
|
|
430
|
+
return null;
|
|
431
|
+
}
|
|
432
|
+
return this._modelData.viewModel.getPosition();
|
|
433
|
+
}
|
|
434
|
+
setPosition(position, source = 'api') {
|
|
435
|
+
if (!this._modelData) {
|
|
436
|
+
return;
|
|
437
|
+
}
|
|
438
|
+
if (!Position.isIPosition(position)) {
|
|
439
|
+
throw new Error('Invalid arguments');
|
|
440
|
+
}
|
|
441
|
+
this._modelData.viewModel.setSelections(source, [{
|
|
442
|
+
selectionStartLineNumber: position.lineNumber,
|
|
443
|
+
selectionStartColumn: position.column,
|
|
444
|
+
positionLineNumber: position.lineNumber,
|
|
445
|
+
positionColumn: position.column
|
|
446
|
+
}]);
|
|
447
|
+
}
|
|
448
|
+
_sendRevealRange(modelRange, verticalType, revealHorizontal, scrollType) {
|
|
449
|
+
if (!this._modelData) {
|
|
450
|
+
return;
|
|
451
|
+
}
|
|
452
|
+
if (!Range.isIRange(modelRange)) {
|
|
453
|
+
throw new Error('Invalid arguments');
|
|
454
|
+
}
|
|
455
|
+
const validatedModelRange = this._modelData.model.validateRange(modelRange);
|
|
456
|
+
const viewRange = this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(validatedModelRange);
|
|
457
|
+
this._modelData.viewModel.revealRange('api', revealHorizontal, viewRange, verticalType, scrollType);
|
|
458
|
+
}
|
|
459
|
+
revealLine(lineNumber, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
460
|
+
this._revealLine(lineNumber, 0 /* VerticalRevealType.Simple */, scrollType);
|
|
461
|
+
}
|
|
462
|
+
revealLineInCenter(lineNumber, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
463
|
+
this._revealLine(lineNumber, 1 /* VerticalRevealType.Center */, scrollType);
|
|
464
|
+
}
|
|
465
|
+
revealLineInCenterIfOutsideViewport(lineNumber, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
466
|
+
this._revealLine(lineNumber, 2 /* VerticalRevealType.CenterIfOutsideViewport */, scrollType);
|
|
467
|
+
}
|
|
468
|
+
revealLineNearTop(lineNumber, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
469
|
+
this._revealLine(lineNumber, 5 /* VerticalRevealType.NearTop */, scrollType);
|
|
470
|
+
}
|
|
471
|
+
_revealLine(lineNumber, revealType, scrollType) {
|
|
472
|
+
if (typeof lineNumber !== 'number') {
|
|
473
|
+
throw new Error('Invalid arguments');
|
|
474
|
+
}
|
|
475
|
+
this._sendRevealRange(new Range(lineNumber, 1, lineNumber, 1), revealType, false, scrollType);
|
|
476
|
+
}
|
|
477
|
+
revealPosition(position, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
478
|
+
this._revealPosition(position, 0 /* VerticalRevealType.Simple */, true, scrollType);
|
|
479
|
+
}
|
|
480
|
+
revealPositionInCenter(position, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
481
|
+
this._revealPosition(position, 1 /* VerticalRevealType.Center */, true, scrollType);
|
|
482
|
+
}
|
|
483
|
+
revealPositionInCenterIfOutsideViewport(position, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
484
|
+
this._revealPosition(position, 2 /* VerticalRevealType.CenterIfOutsideViewport */, true, scrollType);
|
|
485
|
+
}
|
|
486
|
+
revealPositionNearTop(position, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
487
|
+
this._revealPosition(position, 5 /* VerticalRevealType.NearTop */, true, scrollType);
|
|
488
|
+
}
|
|
489
|
+
_revealPosition(position, verticalType, revealHorizontal, scrollType) {
|
|
490
|
+
if (!Position.isIPosition(position)) {
|
|
491
|
+
throw new Error('Invalid arguments');
|
|
492
|
+
}
|
|
493
|
+
this._sendRevealRange(new Range(position.lineNumber, position.column, position.lineNumber, position.column), verticalType, revealHorizontal, scrollType);
|
|
494
|
+
}
|
|
495
|
+
getSelection() {
|
|
496
|
+
if (!this._modelData) {
|
|
497
|
+
return null;
|
|
498
|
+
}
|
|
499
|
+
return this._modelData.viewModel.getSelection();
|
|
500
|
+
}
|
|
501
|
+
getSelections() {
|
|
502
|
+
if (!this._modelData) {
|
|
503
|
+
return null;
|
|
504
|
+
}
|
|
505
|
+
return this._modelData.viewModel.getSelections();
|
|
506
|
+
}
|
|
507
|
+
setSelection(something, source = 'api') {
|
|
508
|
+
const isSelection = Selection.isISelection(something);
|
|
509
|
+
const isRange = Range.isIRange(something);
|
|
510
|
+
if (!isSelection && !isRange) {
|
|
511
|
+
throw new Error('Invalid arguments');
|
|
512
|
+
}
|
|
513
|
+
if (isSelection) {
|
|
514
|
+
this._setSelectionImpl(something, source);
|
|
515
|
+
}
|
|
516
|
+
else if (isRange) {
|
|
517
|
+
// act as if it was an IRange
|
|
518
|
+
const selection = {
|
|
519
|
+
selectionStartLineNumber: something.startLineNumber,
|
|
520
|
+
selectionStartColumn: something.startColumn,
|
|
521
|
+
positionLineNumber: something.endLineNumber,
|
|
522
|
+
positionColumn: something.endColumn
|
|
523
|
+
};
|
|
524
|
+
this._setSelectionImpl(selection, source);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
_setSelectionImpl(sel, source) {
|
|
528
|
+
if (!this._modelData) {
|
|
529
|
+
return;
|
|
530
|
+
}
|
|
531
|
+
const selection = new Selection(sel.selectionStartLineNumber, sel.selectionStartColumn, sel.positionLineNumber, sel.positionColumn);
|
|
532
|
+
this._modelData.viewModel.setSelections(source, [selection]);
|
|
533
|
+
}
|
|
534
|
+
revealLines(startLineNumber, endLineNumber, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
535
|
+
this._revealLines(startLineNumber, endLineNumber, 0 /* VerticalRevealType.Simple */, scrollType);
|
|
536
|
+
}
|
|
537
|
+
revealLinesInCenter(startLineNumber, endLineNumber, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
538
|
+
this._revealLines(startLineNumber, endLineNumber, 1 /* VerticalRevealType.Center */, scrollType);
|
|
539
|
+
}
|
|
540
|
+
revealLinesInCenterIfOutsideViewport(startLineNumber, endLineNumber, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
541
|
+
this._revealLines(startLineNumber, endLineNumber, 2 /* VerticalRevealType.CenterIfOutsideViewport */, scrollType);
|
|
542
|
+
}
|
|
543
|
+
revealLinesNearTop(startLineNumber, endLineNumber, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
544
|
+
this._revealLines(startLineNumber, endLineNumber, 5 /* VerticalRevealType.NearTop */, scrollType);
|
|
545
|
+
}
|
|
546
|
+
_revealLines(startLineNumber, endLineNumber, verticalType, scrollType) {
|
|
547
|
+
if (typeof startLineNumber !== 'number' || typeof endLineNumber !== 'number') {
|
|
548
|
+
throw new Error('Invalid arguments');
|
|
549
|
+
}
|
|
550
|
+
this._sendRevealRange(new Range(startLineNumber, 1, endLineNumber, 1), verticalType, false, scrollType);
|
|
551
|
+
}
|
|
552
|
+
revealRange(range, scrollType = 0 /* editorCommon.ScrollType.Smooth */, revealVerticalInCenter = false, revealHorizontal = true) {
|
|
553
|
+
this._revealRange(range, revealVerticalInCenter ? 1 /* VerticalRevealType.Center */ : 0 /* VerticalRevealType.Simple */, revealHorizontal, scrollType);
|
|
554
|
+
}
|
|
555
|
+
revealRangeInCenter(range, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
556
|
+
this._revealRange(range, 1 /* VerticalRevealType.Center */, true, scrollType);
|
|
557
|
+
}
|
|
558
|
+
revealRangeInCenterIfOutsideViewport(range, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
559
|
+
this._revealRange(range, 2 /* VerticalRevealType.CenterIfOutsideViewport */, true, scrollType);
|
|
560
|
+
}
|
|
561
|
+
revealRangeNearTop(range, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
562
|
+
this._revealRange(range, 5 /* VerticalRevealType.NearTop */, true, scrollType);
|
|
563
|
+
}
|
|
564
|
+
revealRangeNearTopIfOutsideViewport(range, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
565
|
+
this._revealRange(range, 6 /* VerticalRevealType.NearTopIfOutsideViewport */, true, scrollType);
|
|
566
|
+
}
|
|
567
|
+
revealRangeAtTop(range, scrollType = 0 /* editorCommon.ScrollType.Smooth */) {
|
|
568
|
+
this._revealRange(range, 3 /* VerticalRevealType.Top */, true, scrollType);
|
|
569
|
+
}
|
|
570
|
+
_revealRange(range, verticalType, revealHorizontal, scrollType) {
|
|
571
|
+
if (!Range.isIRange(range)) {
|
|
572
|
+
throw new Error('Invalid arguments');
|
|
573
|
+
}
|
|
574
|
+
this._sendRevealRange(Range.lift(range), verticalType, revealHorizontal, scrollType);
|
|
575
|
+
}
|
|
576
|
+
setSelections(ranges, source = 'api', reason = 0 /* CursorChangeReason.NotSet */) {
|
|
577
|
+
if (!this._modelData) {
|
|
578
|
+
return;
|
|
579
|
+
}
|
|
580
|
+
if (!ranges || ranges.length === 0) {
|
|
581
|
+
throw new Error('Invalid arguments');
|
|
582
|
+
}
|
|
583
|
+
for (let i = 0, len = ranges.length; i < len; i++) {
|
|
584
|
+
if (!Selection.isISelection(ranges[i])) {
|
|
585
|
+
throw new Error('Invalid arguments');
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
this._modelData.viewModel.setSelections(source, ranges, reason);
|
|
589
|
+
}
|
|
590
|
+
getContentWidth() {
|
|
591
|
+
if (!this._modelData) {
|
|
592
|
+
return -1;
|
|
593
|
+
}
|
|
594
|
+
return this._modelData.viewModel.viewLayout.getContentWidth();
|
|
595
|
+
}
|
|
596
|
+
getScrollWidth() {
|
|
597
|
+
if (!this._modelData) {
|
|
598
|
+
return -1;
|
|
599
|
+
}
|
|
600
|
+
return this._modelData.viewModel.viewLayout.getScrollWidth();
|
|
601
|
+
}
|
|
602
|
+
getScrollLeft() {
|
|
603
|
+
if (!this._modelData) {
|
|
604
|
+
return -1;
|
|
605
|
+
}
|
|
606
|
+
return this._modelData.viewModel.viewLayout.getCurrentScrollLeft();
|
|
607
|
+
}
|
|
608
|
+
getContentHeight() {
|
|
609
|
+
if (!this._modelData) {
|
|
610
|
+
return -1;
|
|
611
|
+
}
|
|
612
|
+
return this._modelData.viewModel.viewLayout.getContentHeight();
|
|
613
|
+
}
|
|
614
|
+
getScrollHeight() {
|
|
615
|
+
if (!this._modelData) {
|
|
616
|
+
return -1;
|
|
617
|
+
}
|
|
618
|
+
return this._modelData.viewModel.viewLayout.getScrollHeight();
|
|
619
|
+
}
|
|
620
|
+
getScrollTop() {
|
|
621
|
+
if (!this._modelData) {
|
|
622
|
+
return -1;
|
|
623
|
+
}
|
|
624
|
+
return this._modelData.viewModel.viewLayout.getCurrentScrollTop();
|
|
625
|
+
}
|
|
626
|
+
setScrollLeft(newScrollLeft, scrollType = 1 /* editorCommon.ScrollType.Immediate */) {
|
|
627
|
+
if (!this._modelData) {
|
|
628
|
+
return;
|
|
629
|
+
}
|
|
630
|
+
if (typeof newScrollLeft !== 'number') {
|
|
631
|
+
throw new Error('Invalid arguments');
|
|
632
|
+
}
|
|
633
|
+
this._modelData.viewModel.viewLayout.setScrollPosition({
|
|
634
|
+
scrollLeft: newScrollLeft
|
|
635
|
+
}, scrollType);
|
|
636
|
+
}
|
|
637
|
+
setScrollTop(newScrollTop, scrollType = 1 /* editorCommon.ScrollType.Immediate */) {
|
|
638
|
+
if (!this._modelData) {
|
|
639
|
+
return;
|
|
640
|
+
}
|
|
641
|
+
if (typeof newScrollTop !== 'number') {
|
|
642
|
+
throw new Error('Invalid arguments');
|
|
643
|
+
}
|
|
644
|
+
this._modelData.viewModel.viewLayout.setScrollPosition({
|
|
645
|
+
scrollTop: newScrollTop
|
|
646
|
+
}, scrollType);
|
|
647
|
+
}
|
|
648
|
+
setScrollPosition(position, scrollType = 1 /* editorCommon.ScrollType.Immediate */) {
|
|
649
|
+
if (!this._modelData) {
|
|
650
|
+
return;
|
|
651
|
+
}
|
|
652
|
+
this._modelData.viewModel.viewLayout.setScrollPosition(position, scrollType);
|
|
653
|
+
}
|
|
654
|
+
hasPendingScrollAnimation() {
|
|
655
|
+
if (!this._modelData) {
|
|
656
|
+
return false;
|
|
657
|
+
}
|
|
658
|
+
return this._modelData.viewModel.viewLayout.hasPendingScrollAnimation();
|
|
659
|
+
}
|
|
660
|
+
saveViewState() {
|
|
661
|
+
if (!this._modelData) {
|
|
662
|
+
return null;
|
|
663
|
+
}
|
|
664
|
+
const contributionsState = this._contributions.saveViewState();
|
|
665
|
+
const cursorState = this._modelData.viewModel.saveCursorState();
|
|
666
|
+
const viewState = this._modelData.viewModel.saveState();
|
|
667
|
+
return {
|
|
668
|
+
cursorState: cursorState,
|
|
669
|
+
viewState: viewState,
|
|
670
|
+
contributionsState: contributionsState
|
|
671
|
+
};
|
|
672
|
+
}
|
|
673
|
+
restoreViewState(s) {
|
|
674
|
+
if (!this._modelData || !this._modelData.hasRealView) {
|
|
675
|
+
return;
|
|
676
|
+
}
|
|
677
|
+
const codeEditorState = s;
|
|
678
|
+
if (codeEditorState && codeEditorState.cursorState && codeEditorState.viewState) {
|
|
679
|
+
const cursorState = codeEditorState.cursorState;
|
|
680
|
+
if (Array.isArray(cursorState)) {
|
|
681
|
+
if (cursorState.length > 0) {
|
|
682
|
+
this._modelData.viewModel.restoreCursorState(cursorState);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
else {
|
|
686
|
+
// Backwards compatibility
|
|
687
|
+
this._modelData.viewModel.restoreCursorState([cursorState]);
|
|
688
|
+
}
|
|
689
|
+
this._contributions.restoreViewState(codeEditorState.contributionsState || {});
|
|
690
|
+
const reducedState = this._modelData.viewModel.reduceRestoreState(codeEditorState.viewState);
|
|
691
|
+
this._modelData.view.restoreState(reducedState);
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
handleInitialized() {
|
|
695
|
+
var _a;
|
|
696
|
+
(_a = this._getViewModel()) === null || _a === void 0 ? void 0 : _a.visibleLinesStabilized();
|
|
697
|
+
}
|
|
698
|
+
getContribution(id) {
|
|
699
|
+
return this._contributions.get(id);
|
|
700
|
+
}
|
|
701
|
+
getActions() {
|
|
702
|
+
return Array.from(this._actions.values());
|
|
703
|
+
}
|
|
704
|
+
getSupportedActions() {
|
|
705
|
+
let result = this.getActions();
|
|
706
|
+
result = result.filter(action => action.isSupported());
|
|
707
|
+
return result;
|
|
708
|
+
}
|
|
709
|
+
getAction(id) {
|
|
710
|
+
return this._actions.get(id) || null;
|
|
711
|
+
}
|
|
712
|
+
trigger(source, handlerId, payload) {
|
|
713
|
+
payload = payload || {};
|
|
714
|
+
switch (handlerId) {
|
|
715
|
+
case "compositionStart" /* editorCommon.Handler.CompositionStart */:
|
|
716
|
+
this._startComposition();
|
|
717
|
+
return;
|
|
718
|
+
case "compositionEnd" /* editorCommon.Handler.CompositionEnd */:
|
|
719
|
+
this._endComposition(source);
|
|
720
|
+
return;
|
|
721
|
+
case "type" /* editorCommon.Handler.Type */: {
|
|
722
|
+
const args = payload;
|
|
723
|
+
this._type(source, args.text || '');
|
|
724
|
+
return;
|
|
725
|
+
}
|
|
726
|
+
case "replacePreviousChar" /* editorCommon.Handler.ReplacePreviousChar */: {
|
|
727
|
+
const args = payload;
|
|
728
|
+
this._compositionType(source, args.text || '', args.replaceCharCnt || 0, 0, 0);
|
|
729
|
+
return;
|
|
730
|
+
}
|
|
731
|
+
case "compositionType" /* editorCommon.Handler.CompositionType */: {
|
|
732
|
+
const args = payload;
|
|
733
|
+
this._compositionType(source, args.text || '', args.replacePrevCharCnt || 0, args.replaceNextCharCnt || 0, args.positionDelta || 0);
|
|
734
|
+
return;
|
|
735
|
+
}
|
|
736
|
+
case "paste" /* editorCommon.Handler.Paste */: {
|
|
737
|
+
const args = payload;
|
|
738
|
+
this._paste(source, args.text || '', args.pasteOnNewLine || false, args.multicursorText || null, args.mode || null);
|
|
739
|
+
return;
|
|
740
|
+
}
|
|
741
|
+
case "cut" /* editorCommon.Handler.Cut */:
|
|
742
|
+
this._cut(source);
|
|
743
|
+
return;
|
|
744
|
+
}
|
|
745
|
+
const action = this.getAction(handlerId);
|
|
746
|
+
if (action) {
|
|
747
|
+
Promise.resolve(action.run(payload)).then(undefined, onUnexpectedError);
|
|
748
|
+
return;
|
|
749
|
+
}
|
|
750
|
+
if (!this._modelData) {
|
|
751
|
+
return;
|
|
752
|
+
}
|
|
753
|
+
if (this._triggerEditorCommand(source, handlerId, payload)) {
|
|
754
|
+
return;
|
|
755
|
+
}
|
|
756
|
+
this._triggerCommand(handlerId, payload);
|
|
757
|
+
}
|
|
758
|
+
_triggerCommand(handlerId, payload) {
|
|
759
|
+
this._commandService.executeCommand(handlerId, payload);
|
|
760
|
+
}
|
|
761
|
+
_startComposition() {
|
|
762
|
+
if (!this._modelData) {
|
|
763
|
+
return;
|
|
764
|
+
}
|
|
765
|
+
this._modelData.viewModel.startComposition();
|
|
766
|
+
this._onDidCompositionStart.fire();
|
|
767
|
+
}
|
|
768
|
+
_endComposition(source) {
|
|
769
|
+
if (!this._modelData) {
|
|
770
|
+
return;
|
|
771
|
+
}
|
|
772
|
+
this._modelData.viewModel.endComposition(source);
|
|
773
|
+
this._onDidCompositionEnd.fire();
|
|
774
|
+
}
|
|
775
|
+
_type(source, text) {
|
|
776
|
+
if (!this._modelData || text.length === 0) {
|
|
777
|
+
return;
|
|
778
|
+
}
|
|
779
|
+
if (source === 'keyboard') {
|
|
780
|
+
this._onWillType.fire(text);
|
|
781
|
+
}
|
|
782
|
+
this._modelData.viewModel.type(text, source);
|
|
783
|
+
if (source === 'keyboard') {
|
|
784
|
+
this._onDidType.fire(text);
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
_compositionType(source, text, replacePrevCharCnt, replaceNextCharCnt, positionDelta) {
|
|
788
|
+
if (!this._modelData) {
|
|
789
|
+
return;
|
|
790
|
+
}
|
|
791
|
+
this._modelData.viewModel.compositionType(text, replacePrevCharCnt, replaceNextCharCnt, positionDelta, source);
|
|
792
|
+
}
|
|
793
|
+
_paste(source, text, pasteOnNewLine, multicursorText, mode) {
|
|
794
|
+
if (!this._modelData || text.length === 0) {
|
|
795
|
+
return;
|
|
796
|
+
}
|
|
797
|
+
const viewModel = this._modelData.viewModel;
|
|
798
|
+
const startPosition = viewModel.getSelection().getStartPosition();
|
|
799
|
+
viewModel.paste(text, pasteOnNewLine, multicursorText, source);
|
|
800
|
+
const endPosition = viewModel.getSelection().getStartPosition();
|
|
801
|
+
if (source === 'keyboard') {
|
|
802
|
+
this._onDidPaste.fire({
|
|
803
|
+
range: new Range(startPosition.lineNumber, startPosition.column, endPosition.lineNumber, endPosition.column),
|
|
804
|
+
languageId: mode
|
|
805
|
+
});
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
_cut(source) {
|
|
809
|
+
if (!this._modelData) {
|
|
810
|
+
return;
|
|
811
|
+
}
|
|
812
|
+
this._modelData.viewModel.cut(source);
|
|
813
|
+
}
|
|
814
|
+
_triggerEditorCommand(source, handlerId, payload) {
|
|
815
|
+
const command = EditorExtensionsRegistry.getEditorCommand(handlerId);
|
|
816
|
+
if (command) {
|
|
817
|
+
payload = payload || {};
|
|
818
|
+
payload.source = source;
|
|
819
|
+
this._instantiationService.invokeFunction((accessor) => {
|
|
820
|
+
Promise.resolve(command.runEditorCommand(accessor, this, payload)).then(undefined, onUnexpectedError);
|
|
821
|
+
});
|
|
822
|
+
return true;
|
|
823
|
+
}
|
|
824
|
+
return false;
|
|
825
|
+
}
|
|
826
|
+
_getViewModel() {
|
|
827
|
+
if (!this._modelData) {
|
|
828
|
+
return null;
|
|
829
|
+
}
|
|
830
|
+
return this._modelData.viewModel;
|
|
831
|
+
}
|
|
832
|
+
pushUndoStop() {
|
|
833
|
+
if (!this._modelData) {
|
|
834
|
+
return false;
|
|
835
|
+
}
|
|
836
|
+
if (this._configuration.options.get(90 /* EditorOption.readOnly */)) {
|
|
837
|
+
// read only editor => sorry!
|
|
838
|
+
return false;
|
|
839
|
+
}
|
|
840
|
+
this._modelData.model.pushStackElement();
|
|
841
|
+
return true;
|
|
842
|
+
}
|
|
843
|
+
popUndoStop() {
|
|
844
|
+
if (!this._modelData) {
|
|
845
|
+
return false;
|
|
846
|
+
}
|
|
847
|
+
if (this._configuration.options.get(90 /* EditorOption.readOnly */)) {
|
|
848
|
+
// read only editor => sorry!
|
|
849
|
+
return false;
|
|
850
|
+
}
|
|
851
|
+
this._modelData.model.popStackElement();
|
|
852
|
+
return true;
|
|
853
|
+
}
|
|
854
|
+
executeEdits(source, edits, endCursorState) {
|
|
855
|
+
if (!this._modelData) {
|
|
856
|
+
return false;
|
|
857
|
+
}
|
|
858
|
+
if (this._configuration.options.get(90 /* EditorOption.readOnly */)) {
|
|
859
|
+
// read only editor => sorry!
|
|
860
|
+
return false;
|
|
861
|
+
}
|
|
862
|
+
let cursorStateComputer;
|
|
863
|
+
if (!endCursorState) {
|
|
864
|
+
cursorStateComputer = () => null;
|
|
865
|
+
}
|
|
866
|
+
else if (Array.isArray(endCursorState)) {
|
|
867
|
+
cursorStateComputer = () => endCursorState;
|
|
868
|
+
}
|
|
869
|
+
else {
|
|
870
|
+
cursorStateComputer = endCursorState;
|
|
871
|
+
}
|
|
872
|
+
this._modelData.viewModel.executeEdits(source, edits, cursorStateComputer);
|
|
873
|
+
return true;
|
|
874
|
+
}
|
|
875
|
+
executeCommand(source, command) {
|
|
876
|
+
if (!this._modelData) {
|
|
877
|
+
return;
|
|
878
|
+
}
|
|
879
|
+
this._modelData.viewModel.executeCommand(command, source);
|
|
880
|
+
}
|
|
881
|
+
executeCommands(source, commands) {
|
|
882
|
+
if (!this._modelData) {
|
|
883
|
+
return;
|
|
884
|
+
}
|
|
885
|
+
this._modelData.viewModel.executeCommands(commands, source);
|
|
886
|
+
}
|
|
887
|
+
createDecorationsCollection(decorations) {
|
|
888
|
+
return new EditorDecorationsCollection(this, decorations);
|
|
889
|
+
}
|
|
890
|
+
changeDecorations(callback) {
|
|
891
|
+
if (!this._modelData) {
|
|
892
|
+
// callback will not be called
|
|
893
|
+
return null;
|
|
894
|
+
}
|
|
895
|
+
return this._modelData.model.changeDecorations(callback, this._id);
|
|
896
|
+
}
|
|
897
|
+
getLineDecorations(lineNumber) {
|
|
898
|
+
if (!this._modelData) {
|
|
899
|
+
return null;
|
|
900
|
+
}
|
|
901
|
+
return this._modelData.model.getLineDecorations(lineNumber, this._id, filterValidationDecorations(this._configuration.options));
|
|
902
|
+
}
|
|
903
|
+
getDecorationsInRange(range) {
|
|
904
|
+
if (!this._modelData) {
|
|
905
|
+
return null;
|
|
906
|
+
}
|
|
907
|
+
return this._modelData.model.getDecorationsInRange(range, this._id, filterValidationDecorations(this._configuration.options));
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* @deprecated
|
|
911
|
+
*/
|
|
912
|
+
deltaDecorations(oldDecorations, newDecorations) {
|
|
913
|
+
if (!this._modelData) {
|
|
914
|
+
return [];
|
|
915
|
+
}
|
|
916
|
+
if (oldDecorations.length === 0 && newDecorations.length === 0) {
|
|
917
|
+
return oldDecorations;
|
|
918
|
+
}
|
|
919
|
+
return this._modelData.model.deltaDecorations(oldDecorations, newDecorations, this._id);
|
|
920
|
+
}
|
|
921
|
+
removeDecorations(decorationIds) {
|
|
922
|
+
if (!this._modelData || decorationIds.length === 0) {
|
|
923
|
+
return;
|
|
924
|
+
}
|
|
925
|
+
this._modelData.model.changeDecorations((changeAccessor) => {
|
|
926
|
+
changeAccessor.deltaDecorations(decorationIds, []);
|
|
927
|
+
});
|
|
928
|
+
}
|
|
929
|
+
removeDecorationsByType(decorationTypeKey) {
|
|
930
|
+
// remove decorations for type and sub type
|
|
931
|
+
const oldDecorationsIds = this._decorationTypeKeysToIds[decorationTypeKey];
|
|
932
|
+
if (oldDecorationsIds) {
|
|
933
|
+
this.deltaDecorations(oldDecorationsIds, []);
|
|
934
|
+
}
|
|
935
|
+
if (this._decorationTypeKeysToIds.hasOwnProperty(decorationTypeKey)) {
|
|
936
|
+
delete this._decorationTypeKeysToIds[decorationTypeKey];
|
|
937
|
+
}
|
|
938
|
+
if (this._decorationTypeSubtypes.hasOwnProperty(decorationTypeKey)) {
|
|
939
|
+
delete this._decorationTypeSubtypes[decorationTypeKey];
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
getLayoutInfo() {
|
|
943
|
+
const options = this._configuration.options;
|
|
944
|
+
const layoutInfo = options.get(143 /* EditorOption.layoutInfo */);
|
|
945
|
+
return layoutInfo;
|
|
946
|
+
}
|
|
947
|
+
createOverviewRuler(cssClassName) {
|
|
948
|
+
if (!this._modelData || !this._modelData.hasRealView) {
|
|
949
|
+
return null;
|
|
950
|
+
}
|
|
951
|
+
return this._modelData.view.createOverviewRuler(cssClassName);
|
|
952
|
+
}
|
|
953
|
+
getContainerDomNode() {
|
|
954
|
+
return this._domElement;
|
|
955
|
+
}
|
|
956
|
+
getDomNode() {
|
|
957
|
+
if (!this._modelData || !this._modelData.hasRealView) {
|
|
958
|
+
return null;
|
|
959
|
+
}
|
|
960
|
+
return this._modelData.view.domNode.domNode;
|
|
961
|
+
}
|
|
962
|
+
delegateVerticalScrollbarPointerDown(browserEvent) {
|
|
963
|
+
if (!this._modelData || !this._modelData.hasRealView) {
|
|
964
|
+
return;
|
|
965
|
+
}
|
|
966
|
+
this._modelData.view.delegateVerticalScrollbarPointerDown(browserEvent);
|
|
967
|
+
}
|
|
968
|
+
delegateScrollFromMouseWheelEvent(browserEvent) {
|
|
969
|
+
if (!this._modelData || !this._modelData.hasRealView) {
|
|
970
|
+
return;
|
|
971
|
+
}
|
|
972
|
+
this._modelData.view.delegateScrollFromMouseWheelEvent(browserEvent);
|
|
973
|
+
}
|
|
974
|
+
layout(dimension, postponeRendering = false) {
|
|
975
|
+
this._configuration.observeContainer(dimension);
|
|
976
|
+
if (!postponeRendering) {
|
|
977
|
+
this.render();
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
focus() {
|
|
981
|
+
if (!this._modelData || !this._modelData.hasRealView) {
|
|
982
|
+
return;
|
|
983
|
+
}
|
|
984
|
+
this._modelData.view.focus();
|
|
985
|
+
}
|
|
986
|
+
hasTextFocus() {
|
|
987
|
+
if (!this._modelData || !this._modelData.hasRealView) {
|
|
988
|
+
return false;
|
|
989
|
+
}
|
|
990
|
+
return this._modelData.view.isFocused();
|
|
991
|
+
}
|
|
992
|
+
hasWidgetFocus() {
|
|
993
|
+
return this._focusTracker && this._focusTracker.hasFocus();
|
|
994
|
+
}
|
|
995
|
+
addContentWidget(widget) {
|
|
996
|
+
const widgetData = {
|
|
997
|
+
widget: widget,
|
|
998
|
+
position: widget.getPosition()
|
|
999
|
+
};
|
|
1000
|
+
if (this._contentWidgets.hasOwnProperty(widget.getId())) {
|
|
1001
|
+
console.warn('Overwriting a content widget with the same id:' + widget.getId());
|
|
1002
|
+
}
|
|
1003
|
+
this._contentWidgets[widget.getId()] = widgetData;
|
|
1004
|
+
if (this._modelData && this._modelData.hasRealView) {
|
|
1005
|
+
this._modelData.view.addContentWidget(widgetData);
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
layoutContentWidget(widget) {
|
|
1009
|
+
const widgetId = widget.getId();
|
|
1010
|
+
if (this._contentWidgets.hasOwnProperty(widgetId)) {
|
|
1011
|
+
const widgetData = this._contentWidgets[widgetId];
|
|
1012
|
+
widgetData.position = widget.getPosition();
|
|
1013
|
+
if (this._modelData && this._modelData.hasRealView) {
|
|
1014
|
+
this._modelData.view.layoutContentWidget(widgetData);
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
removeContentWidget(widget) {
|
|
1019
|
+
const widgetId = widget.getId();
|
|
1020
|
+
if (this._contentWidgets.hasOwnProperty(widgetId)) {
|
|
1021
|
+
const widgetData = this._contentWidgets[widgetId];
|
|
1022
|
+
delete this._contentWidgets[widgetId];
|
|
1023
|
+
if (this._modelData && this._modelData.hasRealView) {
|
|
1024
|
+
this._modelData.view.removeContentWidget(widgetData);
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
addOverlayWidget(widget) {
|
|
1029
|
+
const widgetData = {
|
|
1030
|
+
widget: widget,
|
|
1031
|
+
position: widget.getPosition()
|
|
1032
|
+
};
|
|
1033
|
+
if (this._overlayWidgets.hasOwnProperty(widget.getId())) {
|
|
1034
|
+
console.warn('Overwriting an overlay widget with the same id.');
|
|
1035
|
+
}
|
|
1036
|
+
this._overlayWidgets[widget.getId()] = widgetData;
|
|
1037
|
+
if (this._modelData && this._modelData.hasRealView) {
|
|
1038
|
+
this._modelData.view.addOverlayWidget(widgetData);
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
layoutOverlayWidget(widget) {
|
|
1042
|
+
const widgetId = widget.getId();
|
|
1043
|
+
if (this._overlayWidgets.hasOwnProperty(widgetId)) {
|
|
1044
|
+
const widgetData = this._overlayWidgets[widgetId];
|
|
1045
|
+
widgetData.position = widget.getPosition();
|
|
1046
|
+
if (this._modelData && this._modelData.hasRealView) {
|
|
1047
|
+
this._modelData.view.layoutOverlayWidget(widgetData);
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
removeOverlayWidget(widget) {
|
|
1052
|
+
const widgetId = widget.getId();
|
|
1053
|
+
if (this._overlayWidgets.hasOwnProperty(widgetId)) {
|
|
1054
|
+
const widgetData = this._overlayWidgets[widgetId];
|
|
1055
|
+
delete this._overlayWidgets[widgetId];
|
|
1056
|
+
if (this._modelData && this._modelData.hasRealView) {
|
|
1057
|
+
this._modelData.view.removeOverlayWidget(widgetData);
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
addGlyphMarginWidget(widget) {
|
|
1062
|
+
const widgetData = {
|
|
1063
|
+
widget: widget,
|
|
1064
|
+
position: widget.getPosition()
|
|
1065
|
+
};
|
|
1066
|
+
if (this._glyphMarginWidgets.hasOwnProperty(widget.getId())) {
|
|
1067
|
+
console.warn('Overwriting a glyph margin widget with the same id.');
|
|
1068
|
+
}
|
|
1069
|
+
this._glyphMarginWidgets[widget.getId()] = widgetData;
|
|
1070
|
+
if (this._modelData && this._modelData.hasRealView) {
|
|
1071
|
+
this._modelData.view.addGlyphMarginWidget(widgetData);
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
layoutGlyphMarginWidget(widget) {
|
|
1075
|
+
const widgetId = widget.getId();
|
|
1076
|
+
if (this._glyphMarginWidgets.hasOwnProperty(widgetId)) {
|
|
1077
|
+
const widgetData = this._glyphMarginWidgets[widgetId];
|
|
1078
|
+
widgetData.position = widget.getPosition();
|
|
1079
|
+
if (this._modelData && this._modelData.hasRealView) {
|
|
1080
|
+
this._modelData.view.layoutGlyphMarginWidget(widgetData);
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
removeGlyphMarginWidget(widget) {
|
|
1085
|
+
const widgetId = widget.getId();
|
|
1086
|
+
if (this._glyphMarginWidgets.hasOwnProperty(widgetId)) {
|
|
1087
|
+
const widgetData = this._glyphMarginWidgets[widgetId];
|
|
1088
|
+
delete this._glyphMarginWidgets[widgetId];
|
|
1089
|
+
if (this._modelData && this._modelData.hasRealView) {
|
|
1090
|
+
this._modelData.view.removeGlyphMarginWidget(widgetData);
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
changeViewZones(callback) {
|
|
1095
|
+
if (!this._modelData || !this._modelData.hasRealView) {
|
|
1096
|
+
return;
|
|
1097
|
+
}
|
|
1098
|
+
this._modelData.view.change(callback);
|
|
1099
|
+
}
|
|
1100
|
+
getTargetAtClientPoint(clientX, clientY) {
|
|
1101
|
+
if (!this._modelData || !this._modelData.hasRealView) {
|
|
1102
|
+
return null;
|
|
1103
|
+
}
|
|
1104
|
+
return this._modelData.view.getTargetAtClientPoint(clientX, clientY);
|
|
1105
|
+
}
|
|
1106
|
+
getScrolledVisiblePosition(rawPosition) {
|
|
1107
|
+
if (!this._modelData || !this._modelData.hasRealView) {
|
|
1108
|
+
return null;
|
|
1109
|
+
}
|
|
1110
|
+
const position = this._modelData.model.validatePosition(rawPosition);
|
|
1111
|
+
const options = this._configuration.options;
|
|
1112
|
+
const layoutInfo = options.get(143 /* EditorOption.layoutInfo */);
|
|
1113
|
+
const top = CodeEditorWidget_1._getVerticalOffsetForPosition(this._modelData, position.lineNumber, position.column) - this.getScrollTop();
|
|
1114
|
+
const left = this._modelData.view.getOffsetForColumn(position.lineNumber, position.column) + layoutInfo.glyphMarginWidth + layoutInfo.lineNumbersWidth + layoutInfo.decorationsWidth - this.getScrollLeft();
|
|
1115
|
+
return {
|
|
1116
|
+
top: top,
|
|
1117
|
+
left: left,
|
|
1118
|
+
height: options.get(66 /* EditorOption.lineHeight */)
|
|
1119
|
+
};
|
|
1120
|
+
}
|
|
1121
|
+
getOffsetForColumn(lineNumber, column) {
|
|
1122
|
+
if (!this._modelData || !this._modelData.hasRealView) {
|
|
1123
|
+
return -1;
|
|
1124
|
+
}
|
|
1125
|
+
return this._modelData.view.getOffsetForColumn(lineNumber, column);
|
|
1126
|
+
}
|
|
1127
|
+
render(forceRedraw = false) {
|
|
1128
|
+
if (!this._modelData || !this._modelData.hasRealView) {
|
|
1129
|
+
return;
|
|
1130
|
+
}
|
|
1131
|
+
this._modelData.view.render(true, forceRedraw);
|
|
1132
|
+
}
|
|
1133
|
+
setAriaOptions(options) {
|
|
1134
|
+
if (!this._modelData || !this._modelData.hasRealView) {
|
|
1135
|
+
return;
|
|
1136
|
+
}
|
|
1137
|
+
this._modelData.view.setAriaOptions(options);
|
|
1138
|
+
}
|
|
1139
|
+
applyFontInfo(target) {
|
|
1140
|
+
applyFontInfo(target, this._configuration.options.get(50 /* EditorOption.fontInfo */));
|
|
1141
|
+
}
|
|
1142
|
+
setBanner(domNode, domNodeHeight) {
|
|
1143
|
+
if (this._bannerDomNode && this._domElement.contains(this._bannerDomNode)) {
|
|
1144
|
+
this._domElement.removeChild(this._bannerDomNode);
|
|
1145
|
+
}
|
|
1146
|
+
this._bannerDomNode = domNode;
|
|
1147
|
+
this._configuration.setReservedHeight(domNode ? domNodeHeight : 0);
|
|
1148
|
+
if (this._bannerDomNode) {
|
|
1149
|
+
this._domElement.prepend(this._bannerDomNode);
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
_attachModel(model) {
|
|
1153
|
+
if (!model) {
|
|
1154
|
+
this._modelData = null;
|
|
1155
|
+
return;
|
|
1156
|
+
}
|
|
1157
|
+
const listenersToRemove = [];
|
|
1158
|
+
this._domElement.setAttribute('data-mode-id', model.getLanguageId());
|
|
1159
|
+
this._configuration.setIsDominatedByLongLines(model.isDominatedByLongLines());
|
|
1160
|
+
this._configuration.setModelLineCount(model.getLineCount());
|
|
1161
|
+
const attachedView = model.onBeforeAttached();
|
|
1162
|
+
const viewModel = new ViewModel(this._id, this._configuration, model, DOMLineBreaksComputerFactory.create(dom.getWindow(this._domElement)), MonospaceLineBreaksComputerFactory.create(this._configuration.options), (callback) => dom.scheduleAtNextAnimationFrame(dom.getWindow(this._domElement), callback), this.languageConfigurationService, this._themeService, attachedView);
|
|
1163
|
+
// Someone might destroy the model from under the editor, so prevent any exceptions by setting a null model
|
|
1164
|
+
listenersToRemove.push(model.onWillDispose(() => this.setModel(null)));
|
|
1165
|
+
listenersToRemove.push(viewModel.onEvent((e) => {
|
|
1166
|
+
switch (e.kind) {
|
|
1167
|
+
case 0 /* OutgoingViewModelEventKind.ContentSizeChanged */:
|
|
1168
|
+
this._onDidContentSizeChange.fire(e);
|
|
1169
|
+
break;
|
|
1170
|
+
case 1 /* OutgoingViewModelEventKind.FocusChanged */:
|
|
1171
|
+
this._editorTextFocus.setValue(e.hasFocus);
|
|
1172
|
+
break;
|
|
1173
|
+
case 2 /* OutgoingViewModelEventKind.ScrollChanged */:
|
|
1174
|
+
this._onDidScrollChange.fire(e);
|
|
1175
|
+
break;
|
|
1176
|
+
case 3 /* OutgoingViewModelEventKind.ViewZonesChanged */:
|
|
1177
|
+
this._onDidChangeViewZones.fire();
|
|
1178
|
+
break;
|
|
1179
|
+
case 4 /* OutgoingViewModelEventKind.HiddenAreasChanged */:
|
|
1180
|
+
this._onDidChangeHiddenAreas.fire();
|
|
1181
|
+
break;
|
|
1182
|
+
case 5 /* OutgoingViewModelEventKind.ReadOnlyEditAttempt */:
|
|
1183
|
+
this._onDidAttemptReadOnlyEdit.fire();
|
|
1184
|
+
break;
|
|
1185
|
+
case 6 /* OutgoingViewModelEventKind.CursorStateChanged */: {
|
|
1186
|
+
if (e.reachedMaxCursorCount) {
|
|
1187
|
+
const multiCursorLimit = this.getOption(79 /* EditorOption.multiCursorLimit */);
|
|
1188
|
+
const message = nls.localize('cursors.maximum', "The number of cursors has been limited to {0}. Consider using [find and replace](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) for larger changes or increase the editor multi cursor limit setting.", multiCursorLimit);
|
|
1189
|
+
this._notificationService.prompt(Severity.Warning, message, [
|
|
1190
|
+
{
|
|
1191
|
+
label: 'Find and Replace',
|
|
1192
|
+
run: () => {
|
|
1193
|
+
this._commandService.executeCommand('editor.action.startFindReplaceAction');
|
|
1194
|
+
}
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
label: nls.localize('goToSetting', 'Increase Multi Cursor Limit'),
|
|
1198
|
+
run: () => {
|
|
1199
|
+
this._commandService.executeCommand('workbench.action.openSettings2', {
|
|
1200
|
+
query: 'editor.multiCursorLimit'
|
|
1201
|
+
});
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
]);
|
|
1205
|
+
}
|
|
1206
|
+
const positions = [];
|
|
1207
|
+
for (let i = 0, len = e.selections.length; i < len; i++) {
|
|
1208
|
+
positions[i] = e.selections[i].getPosition();
|
|
1209
|
+
}
|
|
1210
|
+
const e1 = {
|
|
1211
|
+
position: positions[0],
|
|
1212
|
+
secondaryPositions: positions.slice(1),
|
|
1213
|
+
reason: e.reason,
|
|
1214
|
+
source: e.source
|
|
1215
|
+
};
|
|
1216
|
+
this._onDidChangeCursorPosition.fire(e1);
|
|
1217
|
+
const e2 = {
|
|
1218
|
+
selection: e.selections[0],
|
|
1219
|
+
secondarySelections: e.selections.slice(1),
|
|
1220
|
+
modelVersionId: e.modelVersionId,
|
|
1221
|
+
oldSelections: e.oldSelections,
|
|
1222
|
+
oldModelVersionId: e.oldModelVersionId,
|
|
1223
|
+
source: e.source,
|
|
1224
|
+
reason: e.reason
|
|
1225
|
+
};
|
|
1226
|
+
this._onDidChangeCursorSelection.fire(e2);
|
|
1227
|
+
break;
|
|
1228
|
+
}
|
|
1229
|
+
case 7 /* OutgoingViewModelEventKind.ModelDecorationsChanged */:
|
|
1230
|
+
this._onDidChangeModelDecorations.fire(e.event);
|
|
1231
|
+
break;
|
|
1232
|
+
case 8 /* OutgoingViewModelEventKind.ModelLanguageChanged */:
|
|
1233
|
+
this._domElement.setAttribute('data-mode-id', model.getLanguageId());
|
|
1234
|
+
this._onDidChangeModelLanguage.fire(e.event);
|
|
1235
|
+
break;
|
|
1236
|
+
case 9 /* OutgoingViewModelEventKind.ModelLanguageConfigurationChanged */:
|
|
1237
|
+
this._onDidChangeModelLanguageConfiguration.fire(e.event);
|
|
1238
|
+
break;
|
|
1239
|
+
case 10 /* OutgoingViewModelEventKind.ModelContentChanged */:
|
|
1240
|
+
this._onDidChangeModelContent.fire(e.event);
|
|
1241
|
+
break;
|
|
1242
|
+
case 11 /* OutgoingViewModelEventKind.ModelOptionsChanged */:
|
|
1243
|
+
this._onDidChangeModelOptions.fire(e.event);
|
|
1244
|
+
break;
|
|
1245
|
+
case 12 /* OutgoingViewModelEventKind.ModelTokensChanged */:
|
|
1246
|
+
this._onDidChangeModelTokens.fire(e.event);
|
|
1247
|
+
break;
|
|
1248
|
+
}
|
|
1249
|
+
}));
|
|
1250
|
+
const [view, hasRealView] = this._createView(viewModel);
|
|
1251
|
+
if (hasRealView) {
|
|
1252
|
+
this._domElement.appendChild(view.domNode.domNode);
|
|
1253
|
+
let keys = Object.keys(this._contentWidgets);
|
|
1254
|
+
for (let i = 0, len = keys.length; i < len; i++) {
|
|
1255
|
+
const widgetId = keys[i];
|
|
1256
|
+
view.addContentWidget(this._contentWidgets[widgetId]);
|
|
1257
|
+
}
|
|
1258
|
+
keys = Object.keys(this._overlayWidgets);
|
|
1259
|
+
for (let i = 0, len = keys.length; i < len; i++) {
|
|
1260
|
+
const widgetId = keys[i];
|
|
1261
|
+
view.addOverlayWidget(this._overlayWidgets[widgetId]);
|
|
1262
|
+
}
|
|
1263
|
+
keys = Object.keys(this._glyphMarginWidgets);
|
|
1264
|
+
for (let i = 0, len = keys.length; i < len; i++) {
|
|
1265
|
+
const widgetId = keys[i];
|
|
1266
|
+
view.addGlyphMarginWidget(this._glyphMarginWidgets[widgetId]);
|
|
1267
|
+
}
|
|
1268
|
+
view.render(false, true);
|
|
1269
|
+
view.domNode.domNode.setAttribute('data-uri', model.uri.toString());
|
|
1270
|
+
}
|
|
1271
|
+
this._modelData = new ModelData(model, viewModel, view, hasRealView, listenersToRemove, attachedView);
|
|
1272
|
+
}
|
|
1273
|
+
_createView(viewModel) {
|
|
1274
|
+
let commandDelegate;
|
|
1275
|
+
if (this.isSimpleWidget) {
|
|
1276
|
+
commandDelegate = {
|
|
1277
|
+
paste: (text, pasteOnNewLine, multicursorText, mode) => {
|
|
1278
|
+
this._paste('keyboard', text, pasteOnNewLine, multicursorText, mode);
|
|
1279
|
+
},
|
|
1280
|
+
type: (text) => {
|
|
1281
|
+
this._type('keyboard', text);
|
|
1282
|
+
},
|
|
1283
|
+
compositionType: (text, replacePrevCharCnt, replaceNextCharCnt, positionDelta) => {
|
|
1284
|
+
this._compositionType('keyboard', text, replacePrevCharCnt, replaceNextCharCnt, positionDelta);
|
|
1285
|
+
},
|
|
1286
|
+
startComposition: () => {
|
|
1287
|
+
this._startComposition();
|
|
1288
|
+
},
|
|
1289
|
+
endComposition: () => {
|
|
1290
|
+
this._endComposition('keyboard');
|
|
1291
|
+
},
|
|
1292
|
+
cut: () => {
|
|
1293
|
+
this._cut('keyboard');
|
|
1294
|
+
}
|
|
1295
|
+
};
|
|
1296
|
+
}
|
|
1297
|
+
else {
|
|
1298
|
+
commandDelegate = {
|
|
1299
|
+
paste: (text, pasteOnNewLine, multicursorText, mode) => {
|
|
1300
|
+
const payload = { text, pasteOnNewLine, multicursorText, mode };
|
|
1301
|
+
this._commandService.executeCommand("paste" /* editorCommon.Handler.Paste */, payload);
|
|
1302
|
+
},
|
|
1303
|
+
type: (text) => {
|
|
1304
|
+
const payload = { text };
|
|
1305
|
+
this._commandService.executeCommand("type" /* editorCommon.Handler.Type */, payload);
|
|
1306
|
+
},
|
|
1307
|
+
compositionType: (text, replacePrevCharCnt, replaceNextCharCnt, positionDelta) => {
|
|
1308
|
+
// Try if possible to go through the existing `replacePreviousChar` command
|
|
1309
|
+
if (replaceNextCharCnt || positionDelta) {
|
|
1310
|
+
// must be handled through the new command
|
|
1311
|
+
const payload = { text, replacePrevCharCnt, replaceNextCharCnt, positionDelta };
|
|
1312
|
+
this._commandService.executeCommand("compositionType" /* editorCommon.Handler.CompositionType */, payload);
|
|
1313
|
+
}
|
|
1314
|
+
else {
|
|
1315
|
+
const payload = { text, replaceCharCnt: replacePrevCharCnt };
|
|
1316
|
+
this._commandService.executeCommand("replacePreviousChar" /* editorCommon.Handler.ReplacePreviousChar */, payload);
|
|
1317
|
+
}
|
|
1318
|
+
},
|
|
1319
|
+
startComposition: () => {
|
|
1320
|
+
this._commandService.executeCommand("compositionStart" /* editorCommon.Handler.CompositionStart */, {});
|
|
1321
|
+
},
|
|
1322
|
+
endComposition: () => {
|
|
1323
|
+
this._commandService.executeCommand("compositionEnd" /* editorCommon.Handler.CompositionEnd */, {});
|
|
1324
|
+
},
|
|
1325
|
+
cut: () => {
|
|
1326
|
+
this._commandService.executeCommand("cut" /* editorCommon.Handler.Cut */, {});
|
|
1327
|
+
}
|
|
1328
|
+
};
|
|
1329
|
+
}
|
|
1330
|
+
const viewUserInputEvents = new ViewUserInputEvents(viewModel.coordinatesConverter);
|
|
1331
|
+
viewUserInputEvents.onKeyDown = (e) => this._onKeyDown.fire(e);
|
|
1332
|
+
viewUserInputEvents.onKeyUp = (e) => this._onKeyUp.fire(e);
|
|
1333
|
+
viewUserInputEvents.onContextMenu = (e) => this._onContextMenu.fire(e);
|
|
1334
|
+
viewUserInputEvents.onMouseMove = (e) => this._onMouseMove.fire(e);
|
|
1335
|
+
viewUserInputEvents.onMouseLeave = (e) => this._onMouseLeave.fire(e);
|
|
1336
|
+
viewUserInputEvents.onMouseDown = (e) => this._onMouseDown.fire(e);
|
|
1337
|
+
viewUserInputEvents.onMouseUp = (e) => this._onMouseUp.fire(e);
|
|
1338
|
+
viewUserInputEvents.onMouseDrag = (e) => this._onMouseDrag.fire(e);
|
|
1339
|
+
viewUserInputEvents.onMouseDrop = (e) => this._onMouseDrop.fire(e);
|
|
1340
|
+
viewUserInputEvents.onMouseDropCanceled = (e) => this._onMouseDropCanceled.fire(e);
|
|
1341
|
+
viewUserInputEvents.onMouseWheel = (e) => this._onMouseWheel.fire(e);
|
|
1342
|
+
const view = new View(commandDelegate, this._configuration, this._themeService.getColorTheme(), viewModel, viewUserInputEvents, this._overflowWidgetsDomNode, this._instantiationService);
|
|
1343
|
+
return [view, true];
|
|
1344
|
+
}
|
|
1345
|
+
_postDetachModelCleanup(detachedModel) {
|
|
1346
|
+
detachedModel === null || detachedModel === void 0 ? void 0 : detachedModel.removeAllDecorationsWithOwnerId(this._id);
|
|
1347
|
+
}
|
|
1348
|
+
_detachModel() {
|
|
1349
|
+
if (!this._modelData) {
|
|
1350
|
+
return null;
|
|
1351
|
+
}
|
|
1352
|
+
const model = this._modelData.model;
|
|
1353
|
+
const removeDomNode = this._modelData.hasRealView ? this._modelData.view.domNode.domNode : null;
|
|
1354
|
+
this._modelData.dispose();
|
|
1355
|
+
this._modelData = null;
|
|
1356
|
+
this._domElement.removeAttribute('data-mode-id');
|
|
1357
|
+
if (removeDomNode && this._domElement.contains(removeDomNode)) {
|
|
1358
|
+
this._domElement.removeChild(removeDomNode);
|
|
1359
|
+
}
|
|
1360
|
+
if (this._bannerDomNode && this._domElement.contains(this._bannerDomNode)) {
|
|
1361
|
+
this._domElement.removeChild(this._bannerDomNode);
|
|
1362
|
+
}
|
|
1363
|
+
return model;
|
|
1364
|
+
}
|
|
1365
|
+
_removeDecorationType(key) {
|
|
1366
|
+
this._codeEditorService.removeDecorationType(key);
|
|
1367
|
+
}
|
|
1368
|
+
hasModel() {
|
|
1369
|
+
return (this._modelData !== null);
|
|
1370
|
+
}
|
|
1371
|
+
showDropIndicatorAt(position) {
|
|
1372
|
+
const newDecorations = [{
|
|
1373
|
+
range: new Range(position.lineNumber, position.column, position.lineNumber, position.column),
|
|
1374
|
+
options: CodeEditorWidget_1.dropIntoEditorDecorationOptions
|
|
1375
|
+
}];
|
|
1376
|
+
this._dropIntoEditorDecorations.set(newDecorations);
|
|
1377
|
+
this.revealPosition(position, 1 /* editorCommon.ScrollType.Immediate */);
|
|
1378
|
+
}
|
|
1379
|
+
removeDropIndicator() {
|
|
1380
|
+
this._dropIntoEditorDecorations.clear();
|
|
1381
|
+
}
|
|
1382
|
+
setContextValue(key, value) {
|
|
1383
|
+
this._contextKeyService.createKey(key, value);
|
|
1384
|
+
}
|
|
1385
|
+
};
|
|
1386
|
+
CodeEditorWidget.dropIntoEditorDecorationOptions = ModelDecorationOptions.register({
|
|
1387
|
+
description: 'workbench-dnd-target',
|
|
1388
|
+
className: 'dnd-target'
|
|
1389
|
+
});
|
|
1390
|
+
CodeEditorWidget = CodeEditorWidget_1 = __decorate([
|
|
1391
|
+
__param(3, IInstantiationService),
|
|
1392
|
+
__param(4, ICodeEditorService),
|
|
1393
|
+
__param(5, ICommandService),
|
|
1394
|
+
__param(6, IContextKeyService),
|
|
1395
|
+
__param(7, IThemeService),
|
|
1396
|
+
__param(8, INotificationService),
|
|
1397
|
+
__param(9, IAccessibilityService),
|
|
1398
|
+
__param(10, ILanguageConfigurationService),
|
|
1399
|
+
__param(11, ILanguageFeaturesService)
|
|
1400
|
+
], CodeEditorWidget);
|
|
1401
|
+
export { CodeEditorWidget };
|
|
1402
|
+
export class BooleanEventEmitter extends Disposable {
|
|
1403
|
+
constructor(_emitterOptions) {
|
|
1404
|
+
super();
|
|
1405
|
+
this._emitterOptions = _emitterOptions;
|
|
1406
|
+
this._onDidChangeToTrue = this._register(new Emitter(this._emitterOptions));
|
|
1407
|
+
this.onDidChangeToTrue = this._onDidChangeToTrue.event;
|
|
1408
|
+
this._onDidChangeToFalse = this._register(new Emitter(this._emitterOptions));
|
|
1409
|
+
this.onDidChangeToFalse = this._onDidChangeToFalse.event;
|
|
1410
|
+
this._value = 0 /* BooleanEventValue.NotSet */;
|
|
1411
|
+
}
|
|
1412
|
+
setValue(_value) {
|
|
1413
|
+
const value = (_value ? 2 /* BooleanEventValue.True */ : 1 /* BooleanEventValue.False */);
|
|
1414
|
+
if (this._value === value) {
|
|
1415
|
+
return;
|
|
1416
|
+
}
|
|
1417
|
+
this._value = value;
|
|
1418
|
+
if (this._value === 2 /* BooleanEventValue.True */) {
|
|
1419
|
+
this._onDidChangeToTrue.fire();
|
|
1420
|
+
}
|
|
1421
|
+
else if (this._value === 1 /* BooleanEventValue.False */) {
|
|
1422
|
+
this._onDidChangeToFalse.fire();
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
/**
|
|
1427
|
+
* A regular event emitter that also makes sure contributions are instantiated if necessary
|
|
1428
|
+
*/
|
|
1429
|
+
class InteractionEmitter extends Emitter {
|
|
1430
|
+
constructor(_contributions, deliveryQueue) {
|
|
1431
|
+
super({ deliveryQueue });
|
|
1432
|
+
this._contributions = _contributions;
|
|
1433
|
+
}
|
|
1434
|
+
fire(event) {
|
|
1435
|
+
this._contributions.onBeforeInteractionEvent();
|
|
1436
|
+
super.fire(event);
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
class EditorContextKeysManager extends Disposable {
|
|
1440
|
+
constructor(editor, contextKeyService) {
|
|
1441
|
+
super();
|
|
1442
|
+
this._editor = editor;
|
|
1443
|
+
contextKeyService.createKey('editorId', editor.getId());
|
|
1444
|
+
this._editorSimpleInput = EditorContextKeys.editorSimpleInput.bindTo(contextKeyService);
|
|
1445
|
+
this._editorFocus = EditorContextKeys.focus.bindTo(contextKeyService);
|
|
1446
|
+
this._textInputFocus = EditorContextKeys.textInputFocus.bindTo(contextKeyService);
|
|
1447
|
+
this._editorTextFocus = EditorContextKeys.editorTextFocus.bindTo(contextKeyService);
|
|
1448
|
+
this._tabMovesFocus = EditorContextKeys.tabMovesFocus.bindTo(contextKeyService);
|
|
1449
|
+
this._editorReadonly = EditorContextKeys.readOnly.bindTo(contextKeyService);
|
|
1450
|
+
this._inDiffEditor = EditorContextKeys.inDiffEditor.bindTo(contextKeyService);
|
|
1451
|
+
this._editorColumnSelection = EditorContextKeys.columnSelection.bindTo(contextKeyService);
|
|
1452
|
+
this._hasMultipleSelections = EditorContextKeys.hasMultipleSelections.bindTo(contextKeyService);
|
|
1453
|
+
this._hasNonEmptySelection = EditorContextKeys.hasNonEmptySelection.bindTo(contextKeyService);
|
|
1454
|
+
this._canUndo = EditorContextKeys.canUndo.bindTo(contextKeyService);
|
|
1455
|
+
this._canRedo = EditorContextKeys.canRedo.bindTo(contextKeyService);
|
|
1456
|
+
this._register(this._editor.onDidChangeConfiguration(() => this._updateFromConfig()));
|
|
1457
|
+
this._register(this._editor.onDidChangeCursorSelection(() => this._updateFromSelection()));
|
|
1458
|
+
this._register(this._editor.onDidFocusEditorWidget(() => this._updateFromFocus()));
|
|
1459
|
+
this._register(this._editor.onDidBlurEditorWidget(() => this._updateFromFocus()));
|
|
1460
|
+
this._register(this._editor.onDidFocusEditorText(() => this._updateFromFocus()));
|
|
1461
|
+
this._register(this._editor.onDidBlurEditorText(() => this._updateFromFocus()));
|
|
1462
|
+
this._register(this._editor.onDidChangeModel(() => this._updateFromModel()));
|
|
1463
|
+
this._register(this._editor.onDidChangeConfiguration(() => this._updateFromModel()));
|
|
1464
|
+
this._register(TabFocus.onDidChangeTabFocus((tabFocusMode) => this._tabMovesFocus.set(tabFocusMode)));
|
|
1465
|
+
this._updateFromConfig();
|
|
1466
|
+
this._updateFromSelection();
|
|
1467
|
+
this._updateFromFocus();
|
|
1468
|
+
this._updateFromModel();
|
|
1469
|
+
this._editorSimpleInput.set(this._editor.isSimpleWidget);
|
|
1470
|
+
}
|
|
1471
|
+
_updateFromConfig() {
|
|
1472
|
+
const options = this._editor.getOptions();
|
|
1473
|
+
this._tabMovesFocus.set(TabFocus.getTabFocusMode());
|
|
1474
|
+
this._editorReadonly.set(options.get(90 /* EditorOption.readOnly */));
|
|
1475
|
+
this._inDiffEditor.set(options.get(61 /* EditorOption.inDiffEditor */));
|
|
1476
|
+
this._editorColumnSelection.set(options.get(22 /* EditorOption.columnSelection */));
|
|
1477
|
+
}
|
|
1478
|
+
_updateFromSelection() {
|
|
1479
|
+
const selections = this._editor.getSelections();
|
|
1480
|
+
if (!selections) {
|
|
1481
|
+
this._hasMultipleSelections.reset();
|
|
1482
|
+
this._hasNonEmptySelection.reset();
|
|
1483
|
+
}
|
|
1484
|
+
else {
|
|
1485
|
+
this._hasMultipleSelections.set(selections.length > 1);
|
|
1486
|
+
this._hasNonEmptySelection.set(selections.some(s => !s.isEmpty()));
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
_updateFromFocus() {
|
|
1490
|
+
this._editorFocus.set(this._editor.hasWidgetFocus() && !this._editor.isSimpleWidget);
|
|
1491
|
+
this._editorTextFocus.set(this._editor.hasTextFocus() && !this._editor.isSimpleWidget);
|
|
1492
|
+
this._textInputFocus.set(this._editor.hasTextFocus());
|
|
1493
|
+
}
|
|
1494
|
+
_updateFromModel() {
|
|
1495
|
+
const model = this._editor.getModel();
|
|
1496
|
+
this._canUndo.set(Boolean(model && model.canUndo()));
|
|
1497
|
+
this._canRedo.set(Boolean(model && model.canRedo()));
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
export class EditorModeContext extends Disposable {
|
|
1501
|
+
constructor(_editor, _contextKeyService, _languageFeaturesService) {
|
|
1502
|
+
super();
|
|
1503
|
+
this._editor = _editor;
|
|
1504
|
+
this._contextKeyService = _contextKeyService;
|
|
1505
|
+
this._languageFeaturesService = _languageFeaturesService;
|
|
1506
|
+
this._langId = EditorContextKeys.languageId.bindTo(_contextKeyService);
|
|
1507
|
+
this._hasCompletionItemProvider = EditorContextKeys.hasCompletionItemProvider.bindTo(_contextKeyService);
|
|
1508
|
+
this._hasCodeActionsProvider = EditorContextKeys.hasCodeActionsProvider.bindTo(_contextKeyService);
|
|
1509
|
+
this._hasCodeLensProvider = EditorContextKeys.hasCodeLensProvider.bindTo(_contextKeyService);
|
|
1510
|
+
this._hasDefinitionProvider = EditorContextKeys.hasDefinitionProvider.bindTo(_contextKeyService);
|
|
1511
|
+
this._hasDeclarationProvider = EditorContextKeys.hasDeclarationProvider.bindTo(_contextKeyService);
|
|
1512
|
+
this._hasImplementationProvider = EditorContextKeys.hasImplementationProvider.bindTo(_contextKeyService);
|
|
1513
|
+
this._hasTypeDefinitionProvider = EditorContextKeys.hasTypeDefinitionProvider.bindTo(_contextKeyService);
|
|
1514
|
+
this._hasHoverProvider = EditorContextKeys.hasHoverProvider.bindTo(_contextKeyService);
|
|
1515
|
+
this._hasDocumentHighlightProvider = EditorContextKeys.hasDocumentHighlightProvider.bindTo(_contextKeyService);
|
|
1516
|
+
this._hasDocumentSymbolProvider = EditorContextKeys.hasDocumentSymbolProvider.bindTo(_contextKeyService);
|
|
1517
|
+
this._hasReferenceProvider = EditorContextKeys.hasReferenceProvider.bindTo(_contextKeyService);
|
|
1518
|
+
this._hasRenameProvider = EditorContextKeys.hasRenameProvider.bindTo(_contextKeyService);
|
|
1519
|
+
this._hasSignatureHelpProvider = EditorContextKeys.hasSignatureHelpProvider.bindTo(_contextKeyService);
|
|
1520
|
+
this._hasInlayHintsProvider = EditorContextKeys.hasInlayHintsProvider.bindTo(_contextKeyService);
|
|
1521
|
+
this._hasDocumentFormattingProvider = EditorContextKeys.hasDocumentFormattingProvider.bindTo(_contextKeyService);
|
|
1522
|
+
this._hasDocumentSelectionFormattingProvider = EditorContextKeys.hasDocumentSelectionFormattingProvider.bindTo(_contextKeyService);
|
|
1523
|
+
this._hasMultipleDocumentFormattingProvider = EditorContextKeys.hasMultipleDocumentFormattingProvider.bindTo(_contextKeyService);
|
|
1524
|
+
this._hasMultipleDocumentSelectionFormattingProvider = EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider.bindTo(_contextKeyService);
|
|
1525
|
+
this._isInWalkThrough = EditorContextKeys.isInWalkThroughSnippet.bindTo(_contextKeyService);
|
|
1526
|
+
const update = () => this._update();
|
|
1527
|
+
// update when model/mode changes
|
|
1528
|
+
this._register(_editor.onDidChangeModel(update));
|
|
1529
|
+
this._register(_editor.onDidChangeModelLanguage(update));
|
|
1530
|
+
// update when registries change
|
|
1531
|
+
this._register(_languageFeaturesService.completionProvider.onDidChange(update));
|
|
1532
|
+
this._register(_languageFeaturesService.codeActionProvider.onDidChange(update));
|
|
1533
|
+
this._register(_languageFeaturesService.codeLensProvider.onDidChange(update));
|
|
1534
|
+
this._register(_languageFeaturesService.definitionProvider.onDidChange(update));
|
|
1535
|
+
this._register(_languageFeaturesService.declarationProvider.onDidChange(update));
|
|
1536
|
+
this._register(_languageFeaturesService.implementationProvider.onDidChange(update));
|
|
1537
|
+
this._register(_languageFeaturesService.typeDefinitionProvider.onDidChange(update));
|
|
1538
|
+
this._register(_languageFeaturesService.hoverProvider.onDidChange(update));
|
|
1539
|
+
this._register(_languageFeaturesService.documentHighlightProvider.onDidChange(update));
|
|
1540
|
+
this._register(_languageFeaturesService.documentSymbolProvider.onDidChange(update));
|
|
1541
|
+
this._register(_languageFeaturesService.referenceProvider.onDidChange(update));
|
|
1542
|
+
this._register(_languageFeaturesService.renameProvider.onDidChange(update));
|
|
1543
|
+
this._register(_languageFeaturesService.documentFormattingEditProvider.onDidChange(update));
|
|
1544
|
+
this._register(_languageFeaturesService.documentRangeFormattingEditProvider.onDidChange(update));
|
|
1545
|
+
this._register(_languageFeaturesService.signatureHelpProvider.onDidChange(update));
|
|
1546
|
+
this._register(_languageFeaturesService.inlayHintsProvider.onDidChange(update));
|
|
1547
|
+
update();
|
|
1548
|
+
}
|
|
1549
|
+
dispose() {
|
|
1550
|
+
super.dispose();
|
|
1551
|
+
}
|
|
1552
|
+
reset() {
|
|
1553
|
+
this._contextKeyService.bufferChangeEvents(() => {
|
|
1554
|
+
this._langId.reset();
|
|
1555
|
+
this._hasCompletionItemProvider.reset();
|
|
1556
|
+
this._hasCodeActionsProvider.reset();
|
|
1557
|
+
this._hasCodeLensProvider.reset();
|
|
1558
|
+
this._hasDefinitionProvider.reset();
|
|
1559
|
+
this._hasDeclarationProvider.reset();
|
|
1560
|
+
this._hasImplementationProvider.reset();
|
|
1561
|
+
this._hasTypeDefinitionProvider.reset();
|
|
1562
|
+
this._hasHoverProvider.reset();
|
|
1563
|
+
this._hasDocumentHighlightProvider.reset();
|
|
1564
|
+
this._hasDocumentSymbolProvider.reset();
|
|
1565
|
+
this._hasReferenceProvider.reset();
|
|
1566
|
+
this._hasRenameProvider.reset();
|
|
1567
|
+
this._hasDocumentFormattingProvider.reset();
|
|
1568
|
+
this._hasDocumentSelectionFormattingProvider.reset();
|
|
1569
|
+
this._hasSignatureHelpProvider.reset();
|
|
1570
|
+
this._isInWalkThrough.reset();
|
|
1571
|
+
});
|
|
1572
|
+
}
|
|
1573
|
+
_update() {
|
|
1574
|
+
const model = this._editor.getModel();
|
|
1575
|
+
if (!model) {
|
|
1576
|
+
this.reset();
|
|
1577
|
+
return;
|
|
1578
|
+
}
|
|
1579
|
+
this._contextKeyService.bufferChangeEvents(() => {
|
|
1580
|
+
this._langId.set(model.getLanguageId());
|
|
1581
|
+
this._hasCompletionItemProvider.set(this._languageFeaturesService.completionProvider.has(model));
|
|
1582
|
+
this._hasCodeActionsProvider.set(this._languageFeaturesService.codeActionProvider.has(model));
|
|
1583
|
+
this._hasCodeLensProvider.set(this._languageFeaturesService.codeLensProvider.has(model));
|
|
1584
|
+
this._hasDefinitionProvider.set(this._languageFeaturesService.definitionProvider.has(model));
|
|
1585
|
+
this._hasDeclarationProvider.set(this._languageFeaturesService.declarationProvider.has(model));
|
|
1586
|
+
this._hasImplementationProvider.set(this._languageFeaturesService.implementationProvider.has(model));
|
|
1587
|
+
this._hasTypeDefinitionProvider.set(this._languageFeaturesService.typeDefinitionProvider.has(model));
|
|
1588
|
+
this._hasHoverProvider.set(this._languageFeaturesService.hoverProvider.has(model));
|
|
1589
|
+
this._hasDocumentHighlightProvider.set(this._languageFeaturesService.documentHighlightProvider.has(model));
|
|
1590
|
+
this._hasDocumentSymbolProvider.set(this._languageFeaturesService.documentSymbolProvider.has(model));
|
|
1591
|
+
this._hasReferenceProvider.set(this._languageFeaturesService.referenceProvider.has(model));
|
|
1592
|
+
this._hasRenameProvider.set(this._languageFeaturesService.renameProvider.has(model));
|
|
1593
|
+
this._hasSignatureHelpProvider.set(this._languageFeaturesService.signatureHelpProvider.has(model));
|
|
1594
|
+
this._hasInlayHintsProvider.set(this._languageFeaturesService.inlayHintsProvider.has(model));
|
|
1595
|
+
this._hasDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.has(model) || this._languageFeaturesService.documentRangeFormattingEditProvider.has(model));
|
|
1596
|
+
this._hasDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.has(model));
|
|
1597
|
+
this._hasMultipleDocumentFormattingProvider.set(this._languageFeaturesService.documentFormattingEditProvider.all(model).length + this._languageFeaturesService.documentRangeFormattingEditProvider.all(model).length > 1);
|
|
1598
|
+
this._hasMultipleDocumentSelectionFormattingProvider.set(this._languageFeaturesService.documentRangeFormattingEditProvider.all(model).length > 1);
|
|
1599
|
+
this._isInWalkThrough.set(model.uri.scheme === Schemas.walkThroughSnippet);
|
|
1600
|
+
});
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
class CodeEditorWidgetFocusTracker extends Disposable {
|
|
1604
|
+
constructor(domElement) {
|
|
1605
|
+
super();
|
|
1606
|
+
this._onChange = this._register(new Emitter());
|
|
1607
|
+
this.onChange = this._onChange.event;
|
|
1608
|
+
this._hasFocus = false;
|
|
1609
|
+
this._domFocusTracker = this._register(dom.trackFocus(domElement));
|
|
1610
|
+
this._register(this._domFocusTracker.onDidFocus(() => {
|
|
1611
|
+
this._hasFocus = true;
|
|
1612
|
+
this._onChange.fire(undefined);
|
|
1613
|
+
}));
|
|
1614
|
+
this._register(this._domFocusTracker.onDidBlur(() => {
|
|
1615
|
+
this._hasFocus = false;
|
|
1616
|
+
this._onChange.fire(undefined);
|
|
1617
|
+
}));
|
|
1618
|
+
}
|
|
1619
|
+
hasFocus() {
|
|
1620
|
+
return this._hasFocus;
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
class EditorDecorationsCollection {
|
|
1624
|
+
get length() {
|
|
1625
|
+
return this._decorationIds.length;
|
|
1626
|
+
}
|
|
1627
|
+
constructor(_editor, decorations) {
|
|
1628
|
+
this._editor = _editor;
|
|
1629
|
+
this._decorationIds = [];
|
|
1630
|
+
this._isChangingDecorations = false;
|
|
1631
|
+
if (Array.isArray(decorations) && decorations.length > 0) {
|
|
1632
|
+
this.set(decorations);
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
onDidChange(listener, thisArgs, disposables) {
|
|
1636
|
+
return this._editor.onDidChangeModelDecorations((e) => {
|
|
1637
|
+
if (this._isChangingDecorations) {
|
|
1638
|
+
return;
|
|
1639
|
+
}
|
|
1640
|
+
listener.call(thisArgs, e);
|
|
1641
|
+
}, disposables);
|
|
1642
|
+
}
|
|
1643
|
+
getRange(index) {
|
|
1644
|
+
if (!this._editor.hasModel()) {
|
|
1645
|
+
return null;
|
|
1646
|
+
}
|
|
1647
|
+
if (index >= this._decorationIds.length) {
|
|
1648
|
+
return null;
|
|
1649
|
+
}
|
|
1650
|
+
return this._editor.getModel().getDecorationRange(this._decorationIds[index]);
|
|
1651
|
+
}
|
|
1652
|
+
getRanges() {
|
|
1653
|
+
if (!this._editor.hasModel()) {
|
|
1654
|
+
return [];
|
|
1655
|
+
}
|
|
1656
|
+
const model = this._editor.getModel();
|
|
1657
|
+
const result = [];
|
|
1658
|
+
for (const decorationId of this._decorationIds) {
|
|
1659
|
+
const range = model.getDecorationRange(decorationId);
|
|
1660
|
+
if (range) {
|
|
1661
|
+
result.push(range);
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
return result;
|
|
1665
|
+
}
|
|
1666
|
+
has(decoration) {
|
|
1667
|
+
return this._decorationIds.includes(decoration.id);
|
|
1668
|
+
}
|
|
1669
|
+
clear() {
|
|
1670
|
+
if (this._decorationIds.length === 0) {
|
|
1671
|
+
// nothing to do
|
|
1672
|
+
return;
|
|
1673
|
+
}
|
|
1674
|
+
this.set([]);
|
|
1675
|
+
}
|
|
1676
|
+
set(newDecorations) {
|
|
1677
|
+
try {
|
|
1678
|
+
this._isChangingDecorations = true;
|
|
1679
|
+
this._editor.changeDecorations((accessor) => {
|
|
1680
|
+
this._decorationIds = accessor.deltaDecorations(this._decorationIds, newDecorations);
|
|
1681
|
+
});
|
|
1682
|
+
}
|
|
1683
|
+
finally {
|
|
1684
|
+
this._isChangingDecorations = false;
|
|
1685
|
+
}
|
|
1686
|
+
return this._decorationIds;
|
|
1687
|
+
}
|
|
1688
|
+
append(newDecorations) {
|
|
1689
|
+
let newDecorationIds = [];
|
|
1690
|
+
try {
|
|
1691
|
+
this._isChangingDecorations = true;
|
|
1692
|
+
this._editor.changeDecorations((accessor) => {
|
|
1693
|
+
newDecorationIds = accessor.deltaDecorations([], newDecorations);
|
|
1694
|
+
this._decorationIds = this._decorationIds.concat(newDecorationIds);
|
|
1695
|
+
});
|
|
1696
|
+
}
|
|
1697
|
+
finally {
|
|
1698
|
+
this._isChangingDecorations = false;
|
|
1699
|
+
}
|
|
1700
|
+
return newDecorationIds;
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
const squigglyStart = encodeURIComponent(`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3' enable-background='new 0 0 6 3' height='3' width='6'><g fill='`);
|
|
1704
|
+
const squigglyEnd = encodeURIComponent(`'><polygon points='5.5,0 2.5,3 1.1,3 4.1,0'/><polygon points='4,0 6,2 6,0.6 5.4,0'/><polygon points='0,2 1,3 2.4,3 0,0.6'/></g></svg>`);
|
|
1705
|
+
function getSquigglySVGData(color) {
|
|
1706
|
+
return squigglyStart + encodeURIComponent(color.toString()) + squigglyEnd;
|
|
1707
|
+
}
|
|
1708
|
+
const dotdotdotStart = encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="`);
|
|
1709
|
+
const dotdotdotEnd = encodeURIComponent(`"><circle cx="1" cy="1" r="1"/><circle cx="5" cy="1" r="1"/><circle cx="9" cy="1" r="1"/></g></svg>`);
|
|
1710
|
+
function getDotDotDotSVGData(color) {
|
|
1711
|
+
return dotdotdotStart + encodeURIComponent(color.toString()) + dotdotdotEnd;
|
|
1712
|
+
}
|
|
1713
|
+
registerThemingParticipant((theme, collector) => {
|
|
1714
|
+
const errorForeground = theme.getColor(editorErrorForeground);
|
|
1715
|
+
if (errorForeground) {
|
|
1716
|
+
collector.addRule(`.monaco-editor .${"squiggly-error" /* ClassName.EditorErrorDecoration */} { background: url("data:image/svg+xml,${getSquigglySVGData(errorForeground)}") repeat-x bottom left; }`);
|
|
1717
|
+
}
|
|
1718
|
+
const warningForeground = theme.getColor(editorWarningForeground);
|
|
1719
|
+
if (warningForeground) {
|
|
1720
|
+
collector.addRule(`.monaco-editor .${"squiggly-warning" /* ClassName.EditorWarningDecoration */} { background: url("data:image/svg+xml,${getSquigglySVGData(warningForeground)}") repeat-x bottom left; }`);
|
|
1721
|
+
}
|
|
1722
|
+
const infoForeground = theme.getColor(editorInfoForeground);
|
|
1723
|
+
if (infoForeground) {
|
|
1724
|
+
collector.addRule(`.monaco-editor .${"squiggly-info" /* ClassName.EditorInfoDecoration */} { background: url("data:image/svg+xml,${getSquigglySVGData(infoForeground)}") repeat-x bottom left; }`);
|
|
1725
|
+
}
|
|
1726
|
+
const hintForeground = theme.getColor(editorHintForeground);
|
|
1727
|
+
if (hintForeground) {
|
|
1728
|
+
collector.addRule(`.monaco-editor .${"squiggly-hint" /* ClassName.EditorHintDecoration */} { background: url("data:image/svg+xml,${getDotDotDotSVGData(hintForeground)}") no-repeat bottom left; }`);
|
|
1729
|
+
}
|
|
1730
|
+
const unnecessaryForeground = theme.getColor(editorUnnecessaryCodeOpacity);
|
|
1731
|
+
if (unnecessaryForeground) {
|
|
1732
|
+
collector.addRule(`.monaco-editor.showUnused .${"squiggly-inline-unnecessary" /* ClassName.EditorUnnecessaryInlineDecoration */} { opacity: ${unnecessaryForeground.rgba.a}; }`);
|
|
1733
|
+
}
|
|
1734
|
+
});
|