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,1727 @@
|
|
|
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
|
+
import * as nls from '../../nls.js';
|
|
6
|
+
import { isFirefox } from '../../base/browser/browser.js';
|
|
7
|
+
import * as types from '../../base/common/types.js';
|
|
8
|
+
import { status } from '../../base/browser/ui/aria/aria.js';
|
|
9
|
+
import { Command, EditorCommand, registerEditorCommand, UndoCommand, RedoCommand, SelectAllCommand } from './editorExtensions.js';
|
|
10
|
+
import { ICodeEditorService } from './services/codeEditorService.js';
|
|
11
|
+
import { ColumnSelection } from '../common/cursor/cursorColumnSelection.js';
|
|
12
|
+
import { CursorState } from '../common/cursorCommon.js';
|
|
13
|
+
import { DeleteOperations } from '../common/cursor/cursorDeleteOperations.js';
|
|
14
|
+
import { CursorMove as CursorMove_, CursorMoveCommands } from '../common/cursor/cursorMoveCommands.js';
|
|
15
|
+
import { TypeOperations } from '../common/cursor/cursorTypeOperations.js';
|
|
16
|
+
import { Position } from '../common/core/position.js';
|
|
17
|
+
import { Range } from '../common/core/range.js';
|
|
18
|
+
import { EditorContextKeys } from '../common/editorContextKeys.js';
|
|
19
|
+
import { ContextKeyExpr } from '../../platform/contextkey/common/contextkey.js';
|
|
20
|
+
import { KeybindingsRegistry } from '../../platform/keybinding/common/keybindingsRegistry.js';
|
|
21
|
+
import { getActiveElement } from '../../base/browser/dom.js';
|
|
22
|
+
const CORE_WEIGHT = 0 /* KeybindingWeight.EditorCore */;
|
|
23
|
+
export class CoreEditorCommand extends EditorCommand {
|
|
24
|
+
runEditorCommand(accessor, editor, args) {
|
|
25
|
+
const viewModel = editor._getViewModel();
|
|
26
|
+
if (!viewModel) {
|
|
27
|
+
// the editor has no view => has no cursors
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
this.runCoreEditorCommand(viewModel, args || {});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export var EditorScroll_;
|
|
34
|
+
(function (EditorScroll_) {
|
|
35
|
+
const isEditorScrollArgs = function (arg) {
|
|
36
|
+
if (!types.isObject(arg)) {
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
const scrollArg = arg;
|
|
40
|
+
if (!types.isString(scrollArg.to)) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
if (!types.isUndefined(scrollArg.by) && !types.isString(scrollArg.by)) {
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
if (!types.isUndefined(scrollArg.value) && !types.isNumber(scrollArg.value)) {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
if (!types.isUndefined(scrollArg.revealCursor) && !types.isBoolean(scrollArg.revealCursor)) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return true;
|
|
53
|
+
};
|
|
54
|
+
EditorScroll_.metadata = {
|
|
55
|
+
description: 'Scroll editor in the given direction',
|
|
56
|
+
args: [
|
|
57
|
+
{
|
|
58
|
+
name: 'Editor scroll argument object',
|
|
59
|
+
description: `Property-value pairs that can be passed through this argument:
|
|
60
|
+
* 'to': A mandatory direction value.
|
|
61
|
+
\`\`\`
|
|
62
|
+
'up', 'down'
|
|
63
|
+
\`\`\`
|
|
64
|
+
* 'by': Unit to move. Default is computed based on 'to' value.
|
|
65
|
+
\`\`\`
|
|
66
|
+
'line', 'wrappedLine', 'page', 'halfPage', 'editor'
|
|
67
|
+
\`\`\`
|
|
68
|
+
* 'value': Number of units to move. Default is '1'.
|
|
69
|
+
* 'revealCursor': If 'true' reveals the cursor if it is outside view port.
|
|
70
|
+
`,
|
|
71
|
+
constraint: isEditorScrollArgs,
|
|
72
|
+
schema: {
|
|
73
|
+
'type': 'object',
|
|
74
|
+
'required': ['to'],
|
|
75
|
+
'properties': {
|
|
76
|
+
'to': {
|
|
77
|
+
'type': 'string',
|
|
78
|
+
'enum': ['up', 'down']
|
|
79
|
+
},
|
|
80
|
+
'by': {
|
|
81
|
+
'type': 'string',
|
|
82
|
+
'enum': ['line', 'wrappedLine', 'page', 'halfPage', 'editor']
|
|
83
|
+
},
|
|
84
|
+
'value': {
|
|
85
|
+
'type': 'number',
|
|
86
|
+
'default': 1
|
|
87
|
+
},
|
|
88
|
+
'revealCursor': {
|
|
89
|
+
'type': 'boolean',
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Directions in the view for editor scroll command.
|
|
98
|
+
*/
|
|
99
|
+
EditorScroll_.RawDirection = {
|
|
100
|
+
Up: 'up',
|
|
101
|
+
Right: 'right',
|
|
102
|
+
Down: 'down',
|
|
103
|
+
Left: 'left'
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Units for editor scroll 'by' argument
|
|
107
|
+
*/
|
|
108
|
+
EditorScroll_.RawUnit = {
|
|
109
|
+
Line: 'line',
|
|
110
|
+
WrappedLine: 'wrappedLine',
|
|
111
|
+
Page: 'page',
|
|
112
|
+
HalfPage: 'halfPage',
|
|
113
|
+
Editor: 'editor',
|
|
114
|
+
Column: 'column'
|
|
115
|
+
};
|
|
116
|
+
function parse(args) {
|
|
117
|
+
let direction;
|
|
118
|
+
switch (args.to) {
|
|
119
|
+
case EditorScroll_.RawDirection.Up:
|
|
120
|
+
direction = 1 /* Direction.Up */;
|
|
121
|
+
break;
|
|
122
|
+
case EditorScroll_.RawDirection.Right:
|
|
123
|
+
direction = 2 /* Direction.Right */;
|
|
124
|
+
break;
|
|
125
|
+
case EditorScroll_.RawDirection.Down:
|
|
126
|
+
direction = 3 /* Direction.Down */;
|
|
127
|
+
break;
|
|
128
|
+
case EditorScroll_.RawDirection.Left:
|
|
129
|
+
direction = 4 /* Direction.Left */;
|
|
130
|
+
break;
|
|
131
|
+
default:
|
|
132
|
+
// Illegal arguments
|
|
133
|
+
return null;
|
|
134
|
+
}
|
|
135
|
+
let unit;
|
|
136
|
+
switch (args.by) {
|
|
137
|
+
case EditorScroll_.RawUnit.Line:
|
|
138
|
+
unit = 1 /* Unit.Line */;
|
|
139
|
+
break;
|
|
140
|
+
case EditorScroll_.RawUnit.WrappedLine:
|
|
141
|
+
unit = 2 /* Unit.WrappedLine */;
|
|
142
|
+
break;
|
|
143
|
+
case EditorScroll_.RawUnit.Page:
|
|
144
|
+
unit = 3 /* Unit.Page */;
|
|
145
|
+
break;
|
|
146
|
+
case EditorScroll_.RawUnit.HalfPage:
|
|
147
|
+
unit = 4 /* Unit.HalfPage */;
|
|
148
|
+
break;
|
|
149
|
+
case EditorScroll_.RawUnit.Editor:
|
|
150
|
+
unit = 5 /* Unit.Editor */;
|
|
151
|
+
break;
|
|
152
|
+
case EditorScroll_.RawUnit.Column:
|
|
153
|
+
unit = 6 /* Unit.Column */;
|
|
154
|
+
break;
|
|
155
|
+
default:
|
|
156
|
+
unit = 2 /* Unit.WrappedLine */;
|
|
157
|
+
}
|
|
158
|
+
const value = Math.floor(args.value || 1);
|
|
159
|
+
const revealCursor = !!args.revealCursor;
|
|
160
|
+
return {
|
|
161
|
+
direction: direction,
|
|
162
|
+
unit: unit,
|
|
163
|
+
value: value,
|
|
164
|
+
revealCursor: revealCursor,
|
|
165
|
+
select: (!!args.select)
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
EditorScroll_.parse = parse;
|
|
169
|
+
})(EditorScroll_ || (EditorScroll_ = {}));
|
|
170
|
+
export var RevealLine_;
|
|
171
|
+
(function (RevealLine_) {
|
|
172
|
+
const isRevealLineArgs = function (arg) {
|
|
173
|
+
if (!types.isObject(arg)) {
|
|
174
|
+
return false;
|
|
175
|
+
}
|
|
176
|
+
const reveaLineArg = arg;
|
|
177
|
+
if (!types.isNumber(reveaLineArg.lineNumber) && !types.isString(reveaLineArg.lineNumber)) {
|
|
178
|
+
return false;
|
|
179
|
+
}
|
|
180
|
+
if (!types.isUndefined(reveaLineArg.at) && !types.isString(reveaLineArg.at)) {
|
|
181
|
+
return false;
|
|
182
|
+
}
|
|
183
|
+
return true;
|
|
184
|
+
};
|
|
185
|
+
RevealLine_.metadata = {
|
|
186
|
+
description: 'Reveal the given line at the given logical position',
|
|
187
|
+
args: [
|
|
188
|
+
{
|
|
189
|
+
name: 'Reveal line argument object',
|
|
190
|
+
description: `Property-value pairs that can be passed through this argument:
|
|
191
|
+
* 'lineNumber': A mandatory line number value.
|
|
192
|
+
* 'at': Logical position at which line has to be revealed.
|
|
193
|
+
\`\`\`
|
|
194
|
+
'top', 'center', 'bottom'
|
|
195
|
+
\`\`\`
|
|
196
|
+
`,
|
|
197
|
+
constraint: isRevealLineArgs,
|
|
198
|
+
schema: {
|
|
199
|
+
'type': 'object',
|
|
200
|
+
'required': ['lineNumber'],
|
|
201
|
+
'properties': {
|
|
202
|
+
'lineNumber': {
|
|
203
|
+
'type': ['number', 'string'],
|
|
204
|
+
},
|
|
205
|
+
'at': {
|
|
206
|
+
'type': 'string',
|
|
207
|
+
'enum': ['top', 'center', 'bottom']
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
]
|
|
213
|
+
};
|
|
214
|
+
/**
|
|
215
|
+
* Values for reveal line 'at' argument
|
|
216
|
+
*/
|
|
217
|
+
RevealLine_.RawAtArgument = {
|
|
218
|
+
Top: 'top',
|
|
219
|
+
Center: 'center',
|
|
220
|
+
Bottom: 'bottom'
|
|
221
|
+
};
|
|
222
|
+
})(RevealLine_ || (RevealLine_ = {}));
|
|
223
|
+
class EditorOrNativeTextInputCommand {
|
|
224
|
+
constructor(target) {
|
|
225
|
+
// 1. handle case when focus is in editor.
|
|
226
|
+
target.addImplementation(10000, 'code-editor', (accessor, args) => {
|
|
227
|
+
// Only if editor text focus (i.e. not if editor has widget focus).
|
|
228
|
+
const focusedEditor = accessor.get(ICodeEditorService).getFocusedCodeEditor();
|
|
229
|
+
if (focusedEditor && focusedEditor.hasTextFocus()) {
|
|
230
|
+
return this._runEditorCommand(accessor, focusedEditor, args);
|
|
231
|
+
}
|
|
232
|
+
return false;
|
|
233
|
+
});
|
|
234
|
+
// 2. handle case when focus is in some other `input` / `textarea`.
|
|
235
|
+
target.addImplementation(1000, 'generic-dom-input-textarea', (accessor, args) => {
|
|
236
|
+
// Only if focused on an element that allows for entering text
|
|
237
|
+
const activeElement = getActiveElement();
|
|
238
|
+
if (activeElement && ['input', 'textarea'].indexOf(activeElement.tagName.toLowerCase()) >= 0) {
|
|
239
|
+
this.runDOMCommand(activeElement);
|
|
240
|
+
return true;
|
|
241
|
+
}
|
|
242
|
+
return false;
|
|
243
|
+
});
|
|
244
|
+
// 3. (default) handle case when focus is somewhere else.
|
|
245
|
+
target.addImplementation(0, 'generic-dom', (accessor, args) => {
|
|
246
|
+
// Redirecting to active editor
|
|
247
|
+
const activeEditor = accessor.get(ICodeEditorService).getActiveCodeEditor();
|
|
248
|
+
if (activeEditor) {
|
|
249
|
+
activeEditor.focus();
|
|
250
|
+
return this._runEditorCommand(accessor, activeEditor, args);
|
|
251
|
+
}
|
|
252
|
+
return false;
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
_runEditorCommand(accessor, editor, args) {
|
|
256
|
+
const result = this.runEditorCommand(accessor, editor, args);
|
|
257
|
+
if (result) {
|
|
258
|
+
return result;
|
|
259
|
+
}
|
|
260
|
+
return true;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
export var CoreNavigationCommands;
|
|
264
|
+
(function (CoreNavigationCommands) {
|
|
265
|
+
class BaseMoveToCommand extends CoreEditorCommand {
|
|
266
|
+
constructor(opts) {
|
|
267
|
+
super(opts);
|
|
268
|
+
this._inSelectionMode = opts.inSelectionMode;
|
|
269
|
+
}
|
|
270
|
+
runCoreEditorCommand(viewModel, args) {
|
|
271
|
+
if (!args.position) {
|
|
272
|
+
return;
|
|
273
|
+
}
|
|
274
|
+
viewModel.model.pushStackElement();
|
|
275
|
+
const cursorStateChanged = viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, [
|
|
276
|
+
CursorMoveCommands.moveTo(viewModel, viewModel.getPrimaryCursorState(), this._inSelectionMode, args.position, args.viewPosition)
|
|
277
|
+
]);
|
|
278
|
+
if (cursorStateChanged && args.revealType !== 2 /* NavigationCommandRevealType.None */) {
|
|
279
|
+
viewModel.revealPrimaryCursor(args.source, true, true);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
CoreNavigationCommands.MoveTo = registerEditorCommand(new BaseMoveToCommand({
|
|
284
|
+
id: '_moveTo',
|
|
285
|
+
inSelectionMode: false,
|
|
286
|
+
precondition: undefined
|
|
287
|
+
}));
|
|
288
|
+
CoreNavigationCommands.MoveToSelect = registerEditorCommand(new BaseMoveToCommand({
|
|
289
|
+
id: '_moveToSelect',
|
|
290
|
+
inSelectionMode: true,
|
|
291
|
+
precondition: undefined
|
|
292
|
+
}));
|
|
293
|
+
class ColumnSelectCommand extends CoreEditorCommand {
|
|
294
|
+
runCoreEditorCommand(viewModel, args) {
|
|
295
|
+
viewModel.model.pushStackElement();
|
|
296
|
+
const result = this._getColumnSelectResult(viewModel, viewModel.getPrimaryCursorState(), viewModel.getCursorColumnSelectData(), args);
|
|
297
|
+
if (result === null) {
|
|
298
|
+
// invalid arguments
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, result.viewStates.map((viewState) => CursorState.fromViewState(viewState)));
|
|
302
|
+
viewModel.setCursorColumnSelectData({
|
|
303
|
+
isReal: true,
|
|
304
|
+
fromViewLineNumber: result.fromLineNumber,
|
|
305
|
+
fromViewVisualColumn: result.fromVisualColumn,
|
|
306
|
+
toViewLineNumber: result.toLineNumber,
|
|
307
|
+
toViewVisualColumn: result.toVisualColumn
|
|
308
|
+
});
|
|
309
|
+
if (result.reversed) {
|
|
310
|
+
viewModel.revealTopMostCursor(args.source);
|
|
311
|
+
}
|
|
312
|
+
else {
|
|
313
|
+
viewModel.revealBottomMostCursor(args.source);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
CoreNavigationCommands.ColumnSelect = registerEditorCommand(new class extends ColumnSelectCommand {
|
|
318
|
+
constructor() {
|
|
319
|
+
super({
|
|
320
|
+
id: 'columnSelect',
|
|
321
|
+
precondition: undefined
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
_getColumnSelectResult(viewModel, primary, prevColumnSelectData, args) {
|
|
325
|
+
if (typeof args.position === 'undefined' || typeof args.viewPosition === 'undefined' || typeof args.mouseColumn === 'undefined') {
|
|
326
|
+
return null;
|
|
327
|
+
}
|
|
328
|
+
// validate `args`
|
|
329
|
+
const validatedPosition = viewModel.model.validatePosition(args.position);
|
|
330
|
+
const validatedViewPosition = viewModel.coordinatesConverter.validateViewPosition(new Position(args.viewPosition.lineNumber, args.viewPosition.column), validatedPosition);
|
|
331
|
+
const fromViewLineNumber = args.doColumnSelect ? prevColumnSelectData.fromViewLineNumber : validatedViewPosition.lineNumber;
|
|
332
|
+
const fromViewVisualColumn = args.doColumnSelect ? prevColumnSelectData.fromViewVisualColumn : args.mouseColumn - 1;
|
|
333
|
+
return ColumnSelection.columnSelect(viewModel.cursorConfig, viewModel, fromViewLineNumber, fromViewVisualColumn, validatedViewPosition.lineNumber, args.mouseColumn - 1);
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
CoreNavigationCommands.CursorColumnSelectLeft = registerEditorCommand(new class extends ColumnSelectCommand {
|
|
337
|
+
constructor() {
|
|
338
|
+
super({
|
|
339
|
+
id: 'cursorColumnSelectLeft',
|
|
340
|
+
precondition: undefined,
|
|
341
|
+
kbOpts: {
|
|
342
|
+
weight: CORE_WEIGHT,
|
|
343
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
344
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 512 /* KeyMod.Alt */ | 15 /* KeyCode.LeftArrow */,
|
|
345
|
+
linux: { primary: 0 }
|
|
346
|
+
}
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
_getColumnSelectResult(viewModel, primary, prevColumnSelectData, args) {
|
|
350
|
+
return ColumnSelection.columnSelectLeft(viewModel.cursorConfig, viewModel, prevColumnSelectData);
|
|
351
|
+
}
|
|
352
|
+
});
|
|
353
|
+
CoreNavigationCommands.CursorColumnSelectRight = registerEditorCommand(new class extends ColumnSelectCommand {
|
|
354
|
+
constructor() {
|
|
355
|
+
super({
|
|
356
|
+
id: 'cursorColumnSelectRight',
|
|
357
|
+
precondition: undefined,
|
|
358
|
+
kbOpts: {
|
|
359
|
+
weight: CORE_WEIGHT,
|
|
360
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
361
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 512 /* KeyMod.Alt */ | 17 /* KeyCode.RightArrow */,
|
|
362
|
+
linux: { primary: 0 }
|
|
363
|
+
}
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
_getColumnSelectResult(viewModel, primary, prevColumnSelectData, args) {
|
|
367
|
+
return ColumnSelection.columnSelectRight(viewModel.cursorConfig, viewModel, prevColumnSelectData);
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
class ColumnSelectUpCommand extends ColumnSelectCommand {
|
|
371
|
+
constructor(opts) {
|
|
372
|
+
super(opts);
|
|
373
|
+
this._isPaged = opts.isPaged;
|
|
374
|
+
}
|
|
375
|
+
_getColumnSelectResult(viewModel, primary, prevColumnSelectData, args) {
|
|
376
|
+
return ColumnSelection.columnSelectUp(viewModel.cursorConfig, viewModel, prevColumnSelectData, this._isPaged);
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
CoreNavigationCommands.CursorColumnSelectUp = registerEditorCommand(new ColumnSelectUpCommand({
|
|
380
|
+
isPaged: false,
|
|
381
|
+
id: 'cursorColumnSelectUp',
|
|
382
|
+
precondition: undefined,
|
|
383
|
+
kbOpts: {
|
|
384
|
+
weight: CORE_WEIGHT,
|
|
385
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
386
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 512 /* KeyMod.Alt */ | 16 /* KeyCode.UpArrow */,
|
|
387
|
+
linux: { primary: 0 }
|
|
388
|
+
}
|
|
389
|
+
}));
|
|
390
|
+
CoreNavigationCommands.CursorColumnSelectPageUp = registerEditorCommand(new ColumnSelectUpCommand({
|
|
391
|
+
isPaged: true,
|
|
392
|
+
id: 'cursorColumnSelectPageUp',
|
|
393
|
+
precondition: undefined,
|
|
394
|
+
kbOpts: {
|
|
395
|
+
weight: CORE_WEIGHT,
|
|
396
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
397
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 512 /* KeyMod.Alt */ | 11 /* KeyCode.PageUp */,
|
|
398
|
+
linux: { primary: 0 }
|
|
399
|
+
}
|
|
400
|
+
}));
|
|
401
|
+
class ColumnSelectDownCommand extends ColumnSelectCommand {
|
|
402
|
+
constructor(opts) {
|
|
403
|
+
super(opts);
|
|
404
|
+
this._isPaged = opts.isPaged;
|
|
405
|
+
}
|
|
406
|
+
_getColumnSelectResult(viewModel, primary, prevColumnSelectData, args) {
|
|
407
|
+
return ColumnSelection.columnSelectDown(viewModel.cursorConfig, viewModel, prevColumnSelectData, this._isPaged);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
CoreNavigationCommands.CursorColumnSelectDown = registerEditorCommand(new ColumnSelectDownCommand({
|
|
411
|
+
isPaged: false,
|
|
412
|
+
id: 'cursorColumnSelectDown',
|
|
413
|
+
precondition: undefined,
|
|
414
|
+
kbOpts: {
|
|
415
|
+
weight: CORE_WEIGHT,
|
|
416
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
417
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 512 /* KeyMod.Alt */ | 18 /* KeyCode.DownArrow */,
|
|
418
|
+
linux: { primary: 0 }
|
|
419
|
+
}
|
|
420
|
+
}));
|
|
421
|
+
CoreNavigationCommands.CursorColumnSelectPageDown = registerEditorCommand(new ColumnSelectDownCommand({
|
|
422
|
+
isPaged: true,
|
|
423
|
+
id: 'cursorColumnSelectPageDown',
|
|
424
|
+
precondition: undefined,
|
|
425
|
+
kbOpts: {
|
|
426
|
+
weight: CORE_WEIGHT,
|
|
427
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
428
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 512 /* KeyMod.Alt */ | 12 /* KeyCode.PageDown */,
|
|
429
|
+
linux: { primary: 0 }
|
|
430
|
+
}
|
|
431
|
+
}));
|
|
432
|
+
class CursorMoveImpl extends CoreEditorCommand {
|
|
433
|
+
constructor() {
|
|
434
|
+
super({
|
|
435
|
+
id: 'cursorMove',
|
|
436
|
+
precondition: undefined,
|
|
437
|
+
metadata: CursorMove_.metadata
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
runCoreEditorCommand(viewModel, args) {
|
|
441
|
+
const parsed = CursorMove_.parse(args);
|
|
442
|
+
if (!parsed) {
|
|
443
|
+
// illegal arguments
|
|
444
|
+
return;
|
|
445
|
+
}
|
|
446
|
+
this._runCursorMove(viewModel, args.source, parsed);
|
|
447
|
+
}
|
|
448
|
+
_runCursorMove(viewModel, source, args) {
|
|
449
|
+
viewModel.model.pushStackElement();
|
|
450
|
+
viewModel.setCursorStates(source, 3 /* CursorChangeReason.Explicit */, CursorMoveImpl._move(viewModel, viewModel.getCursorStates(), args));
|
|
451
|
+
viewModel.revealPrimaryCursor(source, true);
|
|
452
|
+
}
|
|
453
|
+
static _move(viewModel, cursors, args) {
|
|
454
|
+
const inSelectionMode = args.select;
|
|
455
|
+
const value = args.value;
|
|
456
|
+
switch (args.direction) {
|
|
457
|
+
case 0 /* CursorMove_.Direction.Left */:
|
|
458
|
+
case 1 /* CursorMove_.Direction.Right */:
|
|
459
|
+
case 2 /* CursorMove_.Direction.Up */:
|
|
460
|
+
case 3 /* CursorMove_.Direction.Down */:
|
|
461
|
+
case 4 /* CursorMove_.Direction.PrevBlankLine */:
|
|
462
|
+
case 5 /* CursorMove_.Direction.NextBlankLine */:
|
|
463
|
+
case 6 /* CursorMove_.Direction.WrappedLineStart */:
|
|
464
|
+
case 7 /* CursorMove_.Direction.WrappedLineFirstNonWhitespaceCharacter */:
|
|
465
|
+
case 8 /* CursorMove_.Direction.WrappedLineColumnCenter */:
|
|
466
|
+
case 9 /* CursorMove_.Direction.WrappedLineEnd */:
|
|
467
|
+
case 10 /* CursorMove_.Direction.WrappedLineLastNonWhitespaceCharacter */:
|
|
468
|
+
return CursorMoveCommands.simpleMove(viewModel, cursors, args.direction, inSelectionMode, value, args.unit);
|
|
469
|
+
case 11 /* CursorMove_.Direction.ViewPortTop */:
|
|
470
|
+
case 13 /* CursorMove_.Direction.ViewPortBottom */:
|
|
471
|
+
case 12 /* CursorMove_.Direction.ViewPortCenter */:
|
|
472
|
+
case 14 /* CursorMove_.Direction.ViewPortIfOutside */:
|
|
473
|
+
return CursorMoveCommands.viewportMove(viewModel, cursors, args.direction, inSelectionMode, value);
|
|
474
|
+
default:
|
|
475
|
+
return null;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
CoreNavigationCommands.CursorMoveImpl = CursorMoveImpl;
|
|
480
|
+
CoreNavigationCommands.CursorMove = registerEditorCommand(new CursorMoveImpl());
|
|
481
|
+
class CursorMoveBasedCommand extends CoreEditorCommand {
|
|
482
|
+
constructor(opts) {
|
|
483
|
+
super(opts);
|
|
484
|
+
this._staticArgs = opts.args;
|
|
485
|
+
}
|
|
486
|
+
runCoreEditorCommand(viewModel, dynamicArgs) {
|
|
487
|
+
let args = this._staticArgs;
|
|
488
|
+
if (this._staticArgs.value === -1 /* Constants.PAGE_SIZE_MARKER */) {
|
|
489
|
+
// -1 is a marker for page size
|
|
490
|
+
args = {
|
|
491
|
+
direction: this._staticArgs.direction,
|
|
492
|
+
unit: this._staticArgs.unit,
|
|
493
|
+
select: this._staticArgs.select,
|
|
494
|
+
value: dynamicArgs.pageSize || viewModel.cursorConfig.pageSize
|
|
495
|
+
};
|
|
496
|
+
}
|
|
497
|
+
viewModel.model.pushStackElement();
|
|
498
|
+
viewModel.setCursorStates(dynamicArgs.source, 3 /* CursorChangeReason.Explicit */, CursorMoveCommands.simpleMove(viewModel, viewModel.getCursorStates(), args.direction, args.select, args.value, args.unit));
|
|
499
|
+
viewModel.revealPrimaryCursor(dynamicArgs.source, true);
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
CoreNavigationCommands.CursorLeft = registerEditorCommand(new CursorMoveBasedCommand({
|
|
503
|
+
args: {
|
|
504
|
+
direction: 0 /* CursorMove_.Direction.Left */,
|
|
505
|
+
unit: 0 /* CursorMove_.Unit.None */,
|
|
506
|
+
select: false,
|
|
507
|
+
value: 1
|
|
508
|
+
},
|
|
509
|
+
id: 'cursorLeft',
|
|
510
|
+
precondition: undefined,
|
|
511
|
+
kbOpts: {
|
|
512
|
+
weight: CORE_WEIGHT,
|
|
513
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
514
|
+
primary: 15 /* KeyCode.LeftArrow */,
|
|
515
|
+
mac: { primary: 15 /* KeyCode.LeftArrow */, secondary: [256 /* KeyMod.WinCtrl */ | 32 /* KeyCode.KeyB */] }
|
|
516
|
+
}
|
|
517
|
+
}));
|
|
518
|
+
CoreNavigationCommands.CursorLeftSelect = registerEditorCommand(new CursorMoveBasedCommand({
|
|
519
|
+
args: {
|
|
520
|
+
direction: 0 /* CursorMove_.Direction.Left */,
|
|
521
|
+
unit: 0 /* CursorMove_.Unit.None */,
|
|
522
|
+
select: true,
|
|
523
|
+
value: 1
|
|
524
|
+
},
|
|
525
|
+
id: 'cursorLeftSelect',
|
|
526
|
+
precondition: undefined,
|
|
527
|
+
kbOpts: {
|
|
528
|
+
weight: CORE_WEIGHT,
|
|
529
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
530
|
+
primary: 1024 /* KeyMod.Shift */ | 15 /* KeyCode.LeftArrow */
|
|
531
|
+
}
|
|
532
|
+
}));
|
|
533
|
+
CoreNavigationCommands.CursorRight = registerEditorCommand(new CursorMoveBasedCommand({
|
|
534
|
+
args: {
|
|
535
|
+
direction: 1 /* CursorMove_.Direction.Right */,
|
|
536
|
+
unit: 0 /* CursorMove_.Unit.None */,
|
|
537
|
+
select: false,
|
|
538
|
+
value: 1
|
|
539
|
+
},
|
|
540
|
+
id: 'cursorRight',
|
|
541
|
+
precondition: undefined,
|
|
542
|
+
kbOpts: {
|
|
543
|
+
weight: CORE_WEIGHT,
|
|
544
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
545
|
+
primary: 17 /* KeyCode.RightArrow */,
|
|
546
|
+
mac: { primary: 17 /* KeyCode.RightArrow */, secondary: [256 /* KeyMod.WinCtrl */ | 36 /* KeyCode.KeyF */] }
|
|
547
|
+
}
|
|
548
|
+
}));
|
|
549
|
+
CoreNavigationCommands.CursorRightSelect = registerEditorCommand(new CursorMoveBasedCommand({
|
|
550
|
+
args: {
|
|
551
|
+
direction: 1 /* CursorMove_.Direction.Right */,
|
|
552
|
+
unit: 0 /* CursorMove_.Unit.None */,
|
|
553
|
+
select: true,
|
|
554
|
+
value: 1
|
|
555
|
+
},
|
|
556
|
+
id: 'cursorRightSelect',
|
|
557
|
+
precondition: undefined,
|
|
558
|
+
kbOpts: {
|
|
559
|
+
weight: CORE_WEIGHT,
|
|
560
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
561
|
+
primary: 1024 /* KeyMod.Shift */ | 17 /* KeyCode.RightArrow */
|
|
562
|
+
}
|
|
563
|
+
}));
|
|
564
|
+
CoreNavigationCommands.CursorUp = registerEditorCommand(new CursorMoveBasedCommand({
|
|
565
|
+
args: {
|
|
566
|
+
direction: 2 /* CursorMove_.Direction.Up */,
|
|
567
|
+
unit: 2 /* CursorMove_.Unit.WrappedLine */,
|
|
568
|
+
select: false,
|
|
569
|
+
value: 1
|
|
570
|
+
},
|
|
571
|
+
id: 'cursorUp',
|
|
572
|
+
precondition: undefined,
|
|
573
|
+
kbOpts: {
|
|
574
|
+
weight: CORE_WEIGHT,
|
|
575
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
576
|
+
primary: 16 /* KeyCode.UpArrow */,
|
|
577
|
+
mac: { primary: 16 /* KeyCode.UpArrow */, secondary: [256 /* KeyMod.WinCtrl */ | 46 /* KeyCode.KeyP */] }
|
|
578
|
+
}
|
|
579
|
+
}));
|
|
580
|
+
CoreNavigationCommands.CursorUpSelect = registerEditorCommand(new CursorMoveBasedCommand({
|
|
581
|
+
args: {
|
|
582
|
+
direction: 2 /* CursorMove_.Direction.Up */,
|
|
583
|
+
unit: 2 /* CursorMove_.Unit.WrappedLine */,
|
|
584
|
+
select: true,
|
|
585
|
+
value: 1
|
|
586
|
+
},
|
|
587
|
+
id: 'cursorUpSelect',
|
|
588
|
+
precondition: undefined,
|
|
589
|
+
kbOpts: {
|
|
590
|
+
weight: CORE_WEIGHT,
|
|
591
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
592
|
+
primary: 1024 /* KeyMod.Shift */ | 16 /* KeyCode.UpArrow */,
|
|
593
|
+
secondary: [2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 16 /* KeyCode.UpArrow */],
|
|
594
|
+
mac: { primary: 1024 /* KeyMod.Shift */ | 16 /* KeyCode.UpArrow */ },
|
|
595
|
+
linux: { primary: 1024 /* KeyMod.Shift */ | 16 /* KeyCode.UpArrow */ }
|
|
596
|
+
}
|
|
597
|
+
}));
|
|
598
|
+
CoreNavigationCommands.CursorPageUp = registerEditorCommand(new CursorMoveBasedCommand({
|
|
599
|
+
args: {
|
|
600
|
+
direction: 2 /* CursorMove_.Direction.Up */,
|
|
601
|
+
unit: 2 /* CursorMove_.Unit.WrappedLine */,
|
|
602
|
+
select: false,
|
|
603
|
+
value: -1 /* Constants.PAGE_SIZE_MARKER */
|
|
604
|
+
},
|
|
605
|
+
id: 'cursorPageUp',
|
|
606
|
+
precondition: undefined,
|
|
607
|
+
kbOpts: {
|
|
608
|
+
weight: CORE_WEIGHT,
|
|
609
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
610
|
+
primary: 11 /* KeyCode.PageUp */
|
|
611
|
+
}
|
|
612
|
+
}));
|
|
613
|
+
CoreNavigationCommands.CursorPageUpSelect = registerEditorCommand(new CursorMoveBasedCommand({
|
|
614
|
+
args: {
|
|
615
|
+
direction: 2 /* CursorMove_.Direction.Up */,
|
|
616
|
+
unit: 2 /* CursorMove_.Unit.WrappedLine */,
|
|
617
|
+
select: true,
|
|
618
|
+
value: -1 /* Constants.PAGE_SIZE_MARKER */
|
|
619
|
+
},
|
|
620
|
+
id: 'cursorPageUpSelect',
|
|
621
|
+
precondition: undefined,
|
|
622
|
+
kbOpts: {
|
|
623
|
+
weight: CORE_WEIGHT,
|
|
624
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
625
|
+
primary: 1024 /* KeyMod.Shift */ | 11 /* KeyCode.PageUp */
|
|
626
|
+
}
|
|
627
|
+
}));
|
|
628
|
+
CoreNavigationCommands.CursorDown = registerEditorCommand(new CursorMoveBasedCommand({
|
|
629
|
+
args: {
|
|
630
|
+
direction: 3 /* CursorMove_.Direction.Down */,
|
|
631
|
+
unit: 2 /* CursorMove_.Unit.WrappedLine */,
|
|
632
|
+
select: false,
|
|
633
|
+
value: 1
|
|
634
|
+
},
|
|
635
|
+
id: 'cursorDown',
|
|
636
|
+
precondition: undefined,
|
|
637
|
+
kbOpts: {
|
|
638
|
+
weight: CORE_WEIGHT,
|
|
639
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
640
|
+
primary: 18 /* KeyCode.DownArrow */,
|
|
641
|
+
mac: { primary: 18 /* KeyCode.DownArrow */, secondary: [256 /* KeyMod.WinCtrl */ | 44 /* KeyCode.KeyN */] }
|
|
642
|
+
}
|
|
643
|
+
}));
|
|
644
|
+
CoreNavigationCommands.CursorDownSelect = registerEditorCommand(new CursorMoveBasedCommand({
|
|
645
|
+
args: {
|
|
646
|
+
direction: 3 /* CursorMove_.Direction.Down */,
|
|
647
|
+
unit: 2 /* CursorMove_.Unit.WrappedLine */,
|
|
648
|
+
select: true,
|
|
649
|
+
value: 1
|
|
650
|
+
},
|
|
651
|
+
id: 'cursorDownSelect',
|
|
652
|
+
precondition: undefined,
|
|
653
|
+
kbOpts: {
|
|
654
|
+
weight: CORE_WEIGHT,
|
|
655
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
656
|
+
primary: 1024 /* KeyMod.Shift */ | 18 /* KeyCode.DownArrow */,
|
|
657
|
+
secondary: [2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 18 /* KeyCode.DownArrow */],
|
|
658
|
+
mac: { primary: 1024 /* KeyMod.Shift */ | 18 /* KeyCode.DownArrow */ },
|
|
659
|
+
linux: { primary: 1024 /* KeyMod.Shift */ | 18 /* KeyCode.DownArrow */ }
|
|
660
|
+
}
|
|
661
|
+
}));
|
|
662
|
+
CoreNavigationCommands.CursorPageDown = registerEditorCommand(new CursorMoveBasedCommand({
|
|
663
|
+
args: {
|
|
664
|
+
direction: 3 /* CursorMove_.Direction.Down */,
|
|
665
|
+
unit: 2 /* CursorMove_.Unit.WrappedLine */,
|
|
666
|
+
select: false,
|
|
667
|
+
value: -1 /* Constants.PAGE_SIZE_MARKER */
|
|
668
|
+
},
|
|
669
|
+
id: 'cursorPageDown',
|
|
670
|
+
precondition: undefined,
|
|
671
|
+
kbOpts: {
|
|
672
|
+
weight: CORE_WEIGHT,
|
|
673
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
674
|
+
primary: 12 /* KeyCode.PageDown */
|
|
675
|
+
}
|
|
676
|
+
}));
|
|
677
|
+
CoreNavigationCommands.CursorPageDownSelect = registerEditorCommand(new CursorMoveBasedCommand({
|
|
678
|
+
args: {
|
|
679
|
+
direction: 3 /* CursorMove_.Direction.Down */,
|
|
680
|
+
unit: 2 /* CursorMove_.Unit.WrappedLine */,
|
|
681
|
+
select: true,
|
|
682
|
+
value: -1 /* Constants.PAGE_SIZE_MARKER */
|
|
683
|
+
},
|
|
684
|
+
id: 'cursorPageDownSelect',
|
|
685
|
+
precondition: undefined,
|
|
686
|
+
kbOpts: {
|
|
687
|
+
weight: CORE_WEIGHT,
|
|
688
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
689
|
+
primary: 1024 /* KeyMod.Shift */ | 12 /* KeyCode.PageDown */
|
|
690
|
+
}
|
|
691
|
+
}));
|
|
692
|
+
CoreNavigationCommands.CreateCursor = registerEditorCommand(new class extends CoreEditorCommand {
|
|
693
|
+
constructor() {
|
|
694
|
+
super({
|
|
695
|
+
id: 'createCursor',
|
|
696
|
+
precondition: undefined
|
|
697
|
+
});
|
|
698
|
+
}
|
|
699
|
+
runCoreEditorCommand(viewModel, args) {
|
|
700
|
+
if (!args.position) {
|
|
701
|
+
return;
|
|
702
|
+
}
|
|
703
|
+
let newState;
|
|
704
|
+
if (args.wholeLine) {
|
|
705
|
+
newState = CursorMoveCommands.line(viewModel, viewModel.getPrimaryCursorState(), false, args.position, args.viewPosition);
|
|
706
|
+
}
|
|
707
|
+
else {
|
|
708
|
+
newState = CursorMoveCommands.moveTo(viewModel, viewModel.getPrimaryCursorState(), false, args.position, args.viewPosition);
|
|
709
|
+
}
|
|
710
|
+
const states = viewModel.getCursorStates();
|
|
711
|
+
// Check if we should remove a cursor (sort of like a toggle)
|
|
712
|
+
if (states.length > 1) {
|
|
713
|
+
const newModelPosition = (newState.modelState ? newState.modelState.position : null);
|
|
714
|
+
const newViewPosition = (newState.viewState ? newState.viewState.position : null);
|
|
715
|
+
for (let i = 0, len = states.length; i < len; i++) {
|
|
716
|
+
const state = states[i];
|
|
717
|
+
if (newModelPosition && !state.modelState.selection.containsPosition(newModelPosition)) {
|
|
718
|
+
continue;
|
|
719
|
+
}
|
|
720
|
+
if (newViewPosition && !state.viewState.selection.containsPosition(newViewPosition)) {
|
|
721
|
+
continue;
|
|
722
|
+
}
|
|
723
|
+
// => Remove the cursor
|
|
724
|
+
states.splice(i, 1);
|
|
725
|
+
viewModel.model.pushStackElement();
|
|
726
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, states);
|
|
727
|
+
return;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
// => Add the new cursor
|
|
731
|
+
states.push(newState);
|
|
732
|
+
viewModel.model.pushStackElement();
|
|
733
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, states);
|
|
734
|
+
}
|
|
735
|
+
});
|
|
736
|
+
CoreNavigationCommands.LastCursorMoveToSelect = registerEditorCommand(new class extends CoreEditorCommand {
|
|
737
|
+
constructor() {
|
|
738
|
+
super({
|
|
739
|
+
id: '_lastCursorMoveToSelect',
|
|
740
|
+
precondition: undefined
|
|
741
|
+
});
|
|
742
|
+
}
|
|
743
|
+
runCoreEditorCommand(viewModel, args) {
|
|
744
|
+
if (!args.position) {
|
|
745
|
+
return;
|
|
746
|
+
}
|
|
747
|
+
const lastAddedCursorIndex = viewModel.getLastAddedCursorIndex();
|
|
748
|
+
const states = viewModel.getCursorStates();
|
|
749
|
+
const newStates = states.slice(0);
|
|
750
|
+
newStates[lastAddedCursorIndex] = CursorMoveCommands.moveTo(viewModel, states[lastAddedCursorIndex], true, args.position, args.viewPosition);
|
|
751
|
+
viewModel.model.pushStackElement();
|
|
752
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, newStates);
|
|
753
|
+
}
|
|
754
|
+
});
|
|
755
|
+
class HomeCommand extends CoreEditorCommand {
|
|
756
|
+
constructor(opts) {
|
|
757
|
+
super(opts);
|
|
758
|
+
this._inSelectionMode = opts.inSelectionMode;
|
|
759
|
+
}
|
|
760
|
+
runCoreEditorCommand(viewModel, args) {
|
|
761
|
+
viewModel.model.pushStackElement();
|
|
762
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, CursorMoveCommands.moveToBeginningOfLine(viewModel, viewModel.getCursorStates(), this._inSelectionMode));
|
|
763
|
+
viewModel.revealPrimaryCursor(args.source, true);
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
CoreNavigationCommands.CursorHome = registerEditorCommand(new HomeCommand({
|
|
767
|
+
inSelectionMode: false,
|
|
768
|
+
id: 'cursorHome',
|
|
769
|
+
precondition: undefined,
|
|
770
|
+
kbOpts: {
|
|
771
|
+
weight: CORE_WEIGHT,
|
|
772
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
773
|
+
primary: 14 /* KeyCode.Home */,
|
|
774
|
+
mac: { primary: 14 /* KeyCode.Home */, secondary: [2048 /* KeyMod.CtrlCmd */ | 15 /* KeyCode.LeftArrow */] }
|
|
775
|
+
}
|
|
776
|
+
}));
|
|
777
|
+
CoreNavigationCommands.CursorHomeSelect = registerEditorCommand(new HomeCommand({
|
|
778
|
+
inSelectionMode: true,
|
|
779
|
+
id: 'cursorHomeSelect',
|
|
780
|
+
precondition: undefined,
|
|
781
|
+
kbOpts: {
|
|
782
|
+
weight: CORE_WEIGHT,
|
|
783
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
784
|
+
primary: 1024 /* KeyMod.Shift */ | 14 /* KeyCode.Home */,
|
|
785
|
+
mac: { primary: 1024 /* KeyMod.Shift */ | 14 /* KeyCode.Home */, secondary: [2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 15 /* KeyCode.LeftArrow */] }
|
|
786
|
+
}
|
|
787
|
+
}));
|
|
788
|
+
class LineStartCommand extends CoreEditorCommand {
|
|
789
|
+
constructor(opts) {
|
|
790
|
+
super(opts);
|
|
791
|
+
this._inSelectionMode = opts.inSelectionMode;
|
|
792
|
+
}
|
|
793
|
+
runCoreEditorCommand(viewModel, args) {
|
|
794
|
+
viewModel.model.pushStackElement();
|
|
795
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, this._exec(viewModel.getCursorStates()));
|
|
796
|
+
viewModel.revealPrimaryCursor(args.source, true);
|
|
797
|
+
}
|
|
798
|
+
_exec(cursors) {
|
|
799
|
+
const result = [];
|
|
800
|
+
for (let i = 0, len = cursors.length; i < len; i++) {
|
|
801
|
+
const cursor = cursors[i];
|
|
802
|
+
const lineNumber = cursor.modelState.position.lineNumber;
|
|
803
|
+
result[i] = CursorState.fromModelState(cursor.modelState.move(this._inSelectionMode, lineNumber, 1, 0));
|
|
804
|
+
}
|
|
805
|
+
return result;
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
CoreNavigationCommands.CursorLineStart = registerEditorCommand(new LineStartCommand({
|
|
809
|
+
inSelectionMode: false,
|
|
810
|
+
id: 'cursorLineStart',
|
|
811
|
+
precondition: undefined,
|
|
812
|
+
kbOpts: {
|
|
813
|
+
weight: CORE_WEIGHT,
|
|
814
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
815
|
+
primary: 0,
|
|
816
|
+
mac: { primary: 256 /* KeyMod.WinCtrl */ | 31 /* KeyCode.KeyA */ }
|
|
817
|
+
}
|
|
818
|
+
}));
|
|
819
|
+
CoreNavigationCommands.CursorLineStartSelect = registerEditorCommand(new LineStartCommand({
|
|
820
|
+
inSelectionMode: true,
|
|
821
|
+
id: 'cursorLineStartSelect',
|
|
822
|
+
precondition: undefined,
|
|
823
|
+
kbOpts: {
|
|
824
|
+
weight: CORE_WEIGHT,
|
|
825
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
826
|
+
primary: 0,
|
|
827
|
+
mac: { primary: 256 /* KeyMod.WinCtrl */ | 1024 /* KeyMod.Shift */ | 31 /* KeyCode.KeyA */ }
|
|
828
|
+
}
|
|
829
|
+
}));
|
|
830
|
+
class EndCommand extends CoreEditorCommand {
|
|
831
|
+
constructor(opts) {
|
|
832
|
+
super(opts);
|
|
833
|
+
this._inSelectionMode = opts.inSelectionMode;
|
|
834
|
+
}
|
|
835
|
+
runCoreEditorCommand(viewModel, args) {
|
|
836
|
+
viewModel.model.pushStackElement();
|
|
837
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, CursorMoveCommands.moveToEndOfLine(viewModel, viewModel.getCursorStates(), this._inSelectionMode, args.sticky || false));
|
|
838
|
+
viewModel.revealPrimaryCursor(args.source, true);
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
CoreNavigationCommands.CursorEnd = registerEditorCommand(new EndCommand({
|
|
842
|
+
inSelectionMode: false,
|
|
843
|
+
id: 'cursorEnd',
|
|
844
|
+
precondition: undefined,
|
|
845
|
+
kbOpts: {
|
|
846
|
+
args: { sticky: false },
|
|
847
|
+
weight: CORE_WEIGHT,
|
|
848
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
849
|
+
primary: 13 /* KeyCode.End */,
|
|
850
|
+
mac: { primary: 13 /* KeyCode.End */, secondary: [2048 /* KeyMod.CtrlCmd */ | 17 /* KeyCode.RightArrow */] }
|
|
851
|
+
},
|
|
852
|
+
metadata: {
|
|
853
|
+
description: `Go to End`,
|
|
854
|
+
args: [{
|
|
855
|
+
name: 'args',
|
|
856
|
+
schema: {
|
|
857
|
+
type: 'object',
|
|
858
|
+
properties: {
|
|
859
|
+
'sticky': {
|
|
860
|
+
description: nls.localize('stickydesc', "Stick to the end even when going to longer lines"),
|
|
861
|
+
type: 'boolean',
|
|
862
|
+
default: false
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
}]
|
|
867
|
+
}
|
|
868
|
+
}));
|
|
869
|
+
CoreNavigationCommands.CursorEndSelect = registerEditorCommand(new EndCommand({
|
|
870
|
+
inSelectionMode: true,
|
|
871
|
+
id: 'cursorEndSelect',
|
|
872
|
+
precondition: undefined,
|
|
873
|
+
kbOpts: {
|
|
874
|
+
args: { sticky: false },
|
|
875
|
+
weight: CORE_WEIGHT,
|
|
876
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
877
|
+
primary: 1024 /* KeyMod.Shift */ | 13 /* KeyCode.End */,
|
|
878
|
+
mac: { primary: 1024 /* KeyMod.Shift */ | 13 /* KeyCode.End */, secondary: [2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 17 /* KeyCode.RightArrow */] }
|
|
879
|
+
},
|
|
880
|
+
metadata: {
|
|
881
|
+
description: `Select to End`,
|
|
882
|
+
args: [{
|
|
883
|
+
name: 'args',
|
|
884
|
+
schema: {
|
|
885
|
+
type: 'object',
|
|
886
|
+
properties: {
|
|
887
|
+
'sticky': {
|
|
888
|
+
description: nls.localize('stickydesc', "Stick to the end even when going to longer lines"),
|
|
889
|
+
type: 'boolean',
|
|
890
|
+
default: false
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
}]
|
|
895
|
+
}
|
|
896
|
+
}));
|
|
897
|
+
class LineEndCommand extends CoreEditorCommand {
|
|
898
|
+
constructor(opts) {
|
|
899
|
+
super(opts);
|
|
900
|
+
this._inSelectionMode = opts.inSelectionMode;
|
|
901
|
+
}
|
|
902
|
+
runCoreEditorCommand(viewModel, args) {
|
|
903
|
+
viewModel.model.pushStackElement();
|
|
904
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, this._exec(viewModel, viewModel.getCursorStates()));
|
|
905
|
+
viewModel.revealPrimaryCursor(args.source, true);
|
|
906
|
+
}
|
|
907
|
+
_exec(viewModel, cursors) {
|
|
908
|
+
const result = [];
|
|
909
|
+
for (let i = 0, len = cursors.length; i < len; i++) {
|
|
910
|
+
const cursor = cursors[i];
|
|
911
|
+
const lineNumber = cursor.modelState.position.lineNumber;
|
|
912
|
+
const maxColumn = viewModel.model.getLineMaxColumn(lineNumber);
|
|
913
|
+
result[i] = CursorState.fromModelState(cursor.modelState.move(this._inSelectionMode, lineNumber, maxColumn, 0));
|
|
914
|
+
}
|
|
915
|
+
return result;
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
CoreNavigationCommands.CursorLineEnd = registerEditorCommand(new LineEndCommand({
|
|
919
|
+
inSelectionMode: false,
|
|
920
|
+
id: 'cursorLineEnd',
|
|
921
|
+
precondition: undefined,
|
|
922
|
+
kbOpts: {
|
|
923
|
+
weight: CORE_WEIGHT,
|
|
924
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
925
|
+
primary: 0,
|
|
926
|
+
mac: { primary: 256 /* KeyMod.WinCtrl */ | 35 /* KeyCode.KeyE */ }
|
|
927
|
+
}
|
|
928
|
+
}));
|
|
929
|
+
CoreNavigationCommands.CursorLineEndSelect = registerEditorCommand(new LineEndCommand({
|
|
930
|
+
inSelectionMode: true,
|
|
931
|
+
id: 'cursorLineEndSelect',
|
|
932
|
+
precondition: undefined,
|
|
933
|
+
kbOpts: {
|
|
934
|
+
weight: CORE_WEIGHT,
|
|
935
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
936
|
+
primary: 0,
|
|
937
|
+
mac: { primary: 256 /* KeyMod.WinCtrl */ | 1024 /* KeyMod.Shift */ | 35 /* KeyCode.KeyE */ }
|
|
938
|
+
}
|
|
939
|
+
}));
|
|
940
|
+
class TopCommand extends CoreEditorCommand {
|
|
941
|
+
constructor(opts) {
|
|
942
|
+
super(opts);
|
|
943
|
+
this._inSelectionMode = opts.inSelectionMode;
|
|
944
|
+
}
|
|
945
|
+
runCoreEditorCommand(viewModel, args) {
|
|
946
|
+
viewModel.model.pushStackElement();
|
|
947
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, CursorMoveCommands.moveToBeginningOfBuffer(viewModel, viewModel.getCursorStates(), this._inSelectionMode));
|
|
948
|
+
viewModel.revealPrimaryCursor(args.source, true);
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
CoreNavigationCommands.CursorTop = registerEditorCommand(new TopCommand({
|
|
952
|
+
inSelectionMode: false,
|
|
953
|
+
id: 'cursorTop',
|
|
954
|
+
precondition: undefined,
|
|
955
|
+
kbOpts: {
|
|
956
|
+
weight: CORE_WEIGHT,
|
|
957
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
958
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 14 /* KeyCode.Home */,
|
|
959
|
+
mac: { primary: 2048 /* KeyMod.CtrlCmd */ | 16 /* KeyCode.UpArrow */ }
|
|
960
|
+
}
|
|
961
|
+
}));
|
|
962
|
+
CoreNavigationCommands.CursorTopSelect = registerEditorCommand(new TopCommand({
|
|
963
|
+
inSelectionMode: true,
|
|
964
|
+
id: 'cursorTopSelect',
|
|
965
|
+
precondition: undefined,
|
|
966
|
+
kbOpts: {
|
|
967
|
+
weight: CORE_WEIGHT,
|
|
968
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
969
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 14 /* KeyCode.Home */,
|
|
970
|
+
mac: { primary: 2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 16 /* KeyCode.UpArrow */ }
|
|
971
|
+
}
|
|
972
|
+
}));
|
|
973
|
+
class BottomCommand extends CoreEditorCommand {
|
|
974
|
+
constructor(opts) {
|
|
975
|
+
super(opts);
|
|
976
|
+
this._inSelectionMode = opts.inSelectionMode;
|
|
977
|
+
}
|
|
978
|
+
runCoreEditorCommand(viewModel, args) {
|
|
979
|
+
viewModel.model.pushStackElement();
|
|
980
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, CursorMoveCommands.moveToEndOfBuffer(viewModel, viewModel.getCursorStates(), this._inSelectionMode));
|
|
981
|
+
viewModel.revealPrimaryCursor(args.source, true);
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
CoreNavigationCommands.CursorBottom = registerEditorCommand(new BottomCommand({
|
|
985
|
+
inSelectionMode: false,
|
|
986
|
+
id: 'cursorBottom',
|
|
987
|
+
precondition: undefined,
|
|
988
|
+
kbOpts: {
|
|
989
|
+
weight: CORE_WEIGHT,
|
|
990
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
991
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 13 /* KeyCode.End */,
|
|
992
|
+
mac: { primary: 2048 /* KeyMod.CtrlCmd */ | 18 /* KeyCode.DownArrow */ }
|
|
993
|
+
}
|
|
994
|
+
}));
|
|
995
|
+
CoreNavigationCommands.CursorBottomSelect = registerEditorCommand(new BottomCommand({
|
|
996
|
+
inSelectionMode: true,
|
|
997
|
+
id: 'cursorBottomSelect',
|
|
998
|
+
precondition: undefined,
|
|
999
|
+
kbOpts: {
|
|
1000
|
+
weight: CORE_WEIGHT,
|
|
1001
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1002
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 13 /* KeyCode.End */,
|
|
1003
|
+
mac: { primary: 2048 /* KeyMod.CtrlCmd */ | 1024 /* KeyMod.Shift */ | 18 /* KeyCode.DownArrow */ }
|
|
1004
|
+
}
|
|
1005
|
+
}));
|
|
1006
|
+
class EditorScrollImpl extends CoreEditorCommand {
|
|
1007
|
+
constructor() {
|
|
1008
|
+
super({
|
|
1009
|
+
id: 'editorScroll',
|
|
1010
|
+
precondition: undefined,
|
|
1011
|
+
metadata: EditorScroll_.metadata
|
|
1012
|
+
});
|
|
1013
|
+
}
|
|
1014
|
+
determineScrollMethod(args) {
|
|
1015
|
+
const horizontalUnits = [6 /* EditorScroll_.Unit.Column */];
|
|
1016
|
+
const verticalUnits = [
|
|
1017
|
+
1 /* EditorScroll_.Unit.Line */,
|
|
1018
|
+
2 /* EditorScroll_.Unit.WrappedLine */,
|
|
1019
|
+
3 /* EditorScroll_.Unit.Page */,
|
|
1020
|
+
4 /* EditorScroll_.Unit.HalfPage */,
|
|
1021
|
+
5 /* EditorScroll_.Unit.Editor */,
|
|
1022
|
+
6 /* EditorScroll_.Unit.Column */
|
|
1023
|
+
];
|
|
1024
|
+
const horizontalDirections = [4 /* EditorScroll_.Direction.Left */, 2 /* EditorScroll_.Direction.Right */];
|
|
1025
|
+
const verticalDirections = [1 /* EditorScroll_.Direction.Up */, 3 /* EditorScroll_.Direction.Down */];
|
|
1026
|
+
if (horizontalUnits.includes(args.unit) && horizontalDirections.includes(args.direction)) {
|
|
1027
|
+
return this._runHorizontalEditorScroll.bind(this);
|
|
1028
|
+
}
|
|
1029
|
+
if (verticalUnits.includes(args.unit) && verticalDirections.includes(args.direction)) {
|
|
1030
|
+
return this._runVerticalEditorScroll.bind(this);
|
|
1031
|
+
}
|
|
1032
|
+
return null;
|
|
1033
|
+
}
|
|
1034
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1035
|
+
const parsed = EditorScroll_.parse(args);
|
|
1036
|
+
if (!parsed) {
|
|
1037
|
+
// illegal arguments
|
|
1038
|
+
return;
|
|
1039
|
+
}
|
|
1040
|
+
const runEditorScroll = this.determineScrollMethod(parsed);
|
|
1041
|
+
if (!runEditorScroll) {
|
|
1042
|
+
// Incompatible unit and direction
|
|
1043
|
+
return;
|
|
1044
|
+
}
|
|
1045
|
+
runEditorScroll(viewModel, args.source, parsed);
|
|
1046
|
+
}
|
|
1047
|
+
_runVerticalEditorScroll(viewModel, source, args) {
|
|
1048
|
+
const desiredScrollTop = this._computeDesiredScrollTop(viewModel, args);
|
|
1049
|
+
if (args.revealCursor) {
|
|
1050
|
+
// must ensure cursor is in new visible range
|
|
1051
|
+
const desiredVisibleViewRange = viewModel.getCompletelyVisibleViewRangeAtScrollTop(desiredScrollTop);
|
|
1052
|
+
viewModel.setCursorStates(source, 3 /* CursorChangeReason.Explicit */, [
|
|
1053
|
+
CursorMoveCommands.findPositionInViewportIfOutside(viewModel, viewModel.getPrimaryCursorState(), desiredVisibleViewRange, args.select)
|
|
1054
|
+
]);
|
|
1055
|
+
}
|
|
1056
|
+
viewModel.viewLayout.setScrollPosition({ scrollTop: desiredScrollTop }, 0 /* ScrollType.Smooth */);
|
|
1057
|
+
}
|
|
1058
|
+
_computeDesiredScrollTop(viewModel, args) {
|
|
1059
|
+
if (args.unit === 1 /* EditorScroll_.Unit.Line */) {
|
|
1060
|
+
// scrolling by model lines
|
|
1061
|
+
const futureViewport = viewModel.viewLayout.getFutureViewport();
|
|
1062
|
+
const visibleViewRange = viewModel.getCompletelyVisibleViewRangeAtScrollTop(futureViewport.top);
|
|
1063
|
+
const visibleModelRange = viewModel.coordinatesConverter.convertViewRangeToModelRange(visibleViewRange);
|
|
1064
|
+
let desiredTopModelLineNumber;
|
|
1065
|
+
if (args.direction === 1 /* EditorScroll_.Direction.Up */) {
|
|
1066
|
+
// must go x model lines up
|
|
1067
|
+
desiredTopModelLineNumber = Math.max(1, visibleModelRange.startLineNumber - args.value);
|
|
1068
|
+
}
|
|
1069
|
+
else {
|
|
1070
|
+
// must go x model lines down
|
|
1071
|
+
desiredTopModelLineNumber = Math.min(viewModel.model.getLineCount(), visibleModelRange.startLineNumber + args.value);
|
|
1072
|
+
}
|
|
1073
|
+
const viewPosition = viewModel.coordinatesConverter.convertModelPositionToViewPosition(new Position(desiredTopModelLineNumber, 1));
|
|
1074
|
+
return viewModel.viewLayout.getVerticalOffsetForLineNumber(viewPosition.lineNumber);
|
|
1075
|
+
}
|
|
1076
|
+
if (args.unit === 5 /* EditorScroll_.Unit.Editor */) {
|
|
1077
|
+
let desiredTopModelLineNumber = 0;
|
|
1078
|
+
if (args.direction === 3 /* EditorScroll_.Direction.Down */) {
|
|
1079
|
+
desiredTopModelLineNumber = viewModel.model.getLineCount() - viewModel.cursorConfig.pageSize;
|
|
1080
|
+
}
|
|
1081
|
+
return viewModel.viewLayout.getVerticalOffsetForLineNumber(desiredTopModelLineNumber);
|
|
1082
|
+
}
|
|
1083
|
+
let noOfLines;
|
|
1084
|
+
if (args.unit === 3 /* EditorScroll_.Unit.Page */) {
|
|
1085
|
+
noOfLines = viewModel.cursorConfig.pageSize * args.value;
|
|
1086
|
+
}
|
|
1087
|
+
else if (args.unit === 4 /* EditorScroll_.Unit.HalfPage */) {
|
|
1088
|
+
noOfLines = Math.round(viewModel.cursorConfig.pageSize / 2) * args.value;
|
|
1089
|
+
}
|
|
1090
|
+
else {
|
|
1091
|
+
noOfLines = args.value;
|
|
1092
|
+
}
|
|
1093
|
+
const deltaLines = (args.direction === 1 /* EditorScroll_.Direction.Up */ ? -1 : 1) * noOfLines;
|
|
1094
|
+
return viewModel.viewLayout.getCurrentScrollTop() + deltaLines * viewModel.cursorConfig.lineHeight;
|
|
1095
|
+
}
|
|
1096
|
+
_runHorizontalEditorScroll(viewModel, source, args) {
|
|
1097
|
+
const desiredScrollLeft = this._computeDesiredScrollLeft(viewModel, args);
|
|
1098
|
+
viewModel.viewLayout.setScrollPosition({ scrollLeft: desiredScrollLeft }, 0 /* ScrollType.Smooth */);
|
|
1099
|
+
}
|
|
1100
|
+
_computeDesiredScrollLeft(viewModel, args) {
|
|
1101
|
+
const deltaColumns = (args.direction === 4 /* EditorScroll_.Direction.Left */ ? -1 : 1) * args.value;
|
|
1102
|
+
return viewModel.viewLayout.getCurrentScrollLeft() + deltaColumns * viewModel.cursorConfig.typicalHalfwidthCharacterWidth;
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
CoreNavigationCommands.EditorScrollImpl = EditorScrollImpl;
|
|
1106
|
+
CoreNavigationCommands.EditorScroll = registerEditorCommand(new EditorScrollImpl());
|
|
1107
|
+
CoreNavigationCommands.ScrollLineUp = registerEditorCommand(new class extends CoreEditorCommand {
|
|
1108
|
+
constructor() {
|
|
1109
|
+
super({
|
|
1110
|
+
id: 'scrollLineUp',
|
|
1111
|
+
precondition: undefined,
|
|
1112
|
+
kbOpts: {
|
|
1113
|
+
weight: CORE_WEIGHT,
|
|
1114
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1115
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 16 /* KeyCode.UpArrow */,
|
|
1116
|
+
mac: { primary: 256 /* KeyMod.WinCtrl */ | 11 /* KeyCode.PageUp */ }
|
|
1117
|
+
}
|
|
1118
|
+
});
|
|
1119
|
+
}
|
|
1120
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1121
|
+
CoreNavigationCommands.EditorScroll.runCoreEditorCommand(viewModel, {
|
|
1122
|
+
to: EditorScroll_.RawDirection.Up,
|
|
1123
|
+
by: EditorScroll_.RawUnit.WrappedLine,
|
|
1124
|
+
value: 1,
|
|
1125
|
+
revealCursor: false,
|
|
1126
|
+
select: false,
|
|
1127
|
+
source: args.source
|
|
1128
|
+
});
|
|
1129
|
+
}
|
|
1130
|
+
});
|
|
1131
|
+
CoreNavigationCommands.ScrollPageUp = registerEditorCommand(new class extends CoreEditorCommand {
|
|
1132
|
+
constructor() {
|
|
1133
|
+
super({
|
|
1134
|
+
id: 'scrollPageUp',
|
|
1135
|
+
precondition: undefined,
|
|
1136
|
+
kbOpts: {
|
|
1137
|
+
weight: CORE_WEIGHT,
|
|
1138
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1139
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 11 /* KeyCode.PageUp */,
|
|
1140
|
+
win: { primary: 512 /* KeyMod.Alt */ | 11 /* KeyCode.PageUp */ },
|
|
1141
|
+
linux: { primary: 512 /* KeyMod.Alt */ | 11 /* KeyCode.PageUp */ }
|
|
1142
|
+
}
|
|
1143
|
+
});
|
|
1144
|
+
}
|
|
1145
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1146
|
+
CoreNavigationCommands.EditorScroll.runCoreEditorCommand(viewModel, {
|
|
1147
|
+
to: EditorScroll_.RawDirection.Up,
|
|
1148
|
+
by: EditorScroll_.RawUnit.Page,
|
|
1149
|
+
value: 1,
|
|
1150
|
+
revealCursor: false,
|
|
1151
|
+
select: false,
|
|
1152
|
+
source: args.source
|
|
1153
|
+
});
|
|
1154
|
+
}
|
|
1155
|
+
});
|
|
1156
|
+
CoreNavigationCommands.ScrollEditorTop = registerEditorCommand(new class extends CoreEditorCommand {
|
|
1157
|
+
constructor() {
|
|
1158
|
+
super({
|
|
1159
|
+
id: 'scrollEditorTop',
|
|
1160
|
+
precondition: undefined,
|
|
1161
|
+
kbOpts: {
|
|
1162
|
+
weight: CORE_WEIGHT,
|
|
1163
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1164
|
+
}
|
|
1165
|
+
});
|
|
1166
|
+
}
|
|
1167
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1168
|
+
CoreNavigationCommands.EditorScroll.runCoreEditorCommand(viewModel, {
|
|
1169
|
+
to: EditorScroll_.RawDirection.Up,
|
|
1170
|
+
by: EditorScroll_.RawUnit.Editor,
|
|
1171
|
+
value: 1,
|
|
1172
|
+
revealCursor: false,
|
|
1173
|
+
select: false,
|
|
1174
|
+
source: args.source
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1177
|
+
});
|
|
1178
|
+
CoreNavigationCommands.ScrollLineDown = registerEditorCommand(new class extends CoreEditorCommand {
|
|
1179
|
+
constructor() {
|
|
1180
|
+
super({
|
|
1181
|
+
id: 'scrollLineDown',
|
|
1182
|
+
precondition: undefined,
|
|
1183
|
+
kbOpts: {
|
|
1184
|
+
weight: CORE_WEIGHT,
|
|
1185
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1186
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 18 /* KeyCode.DownArrow */,
|
|
1187
|
+
mac: { primary: 256 /* KeyMod.WinCtrl */ | 12 /* KeyCode.PageDown */ }
|
|
1188
|
+
}
|
|
1189
|
+
});
|
|
1190
|
+
}
|
|
1191
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1192
|
+
CoreNavigationCommands.EditorScroll.runCoreEditorCommand(viewModel, {
|
|
1193
|
+
to: EditorScroll_.RawDirection.Down,
|
|
1194
|
+
by: EditorScroll_.RawUnit.WrappedLine,
|
|
1195
|
+
value: 1,
|
|
1196
|
+
revealCursor: false,
|
|
1197
|
+
select: false,
|
|
1198
|
+
source: args.source
|
|
1199
|
+
});
|
|
1200
|
+
}
|
|
1201
|
+
});
|
|
1202
|
+
CoreNavigationCommands.ScrollPageDown = registerEditorCommand(new class extends CoreEditorCommand {
|
|
1203
|
+
constructor() {
|
|
1204
|
+
super({
|
|
1205
|
+
id: 'scrollPageDown',
|
|
1206
|
+
precondition: undefined,
|
|
1207
|
+
kbOpts: {
|
|
1208
|
+
weight: CORE_WEIGHT,
|
|
1209
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1210
|
+
primary: 2048 /* KeyMod.CtrlCmd */ | 12 /* KeyCode.PageDown */,
|
|
1211
|
+
win: { primary: 512 /* KeyMod.Alt */ | 12 /* KeyCode.PageDown */ },
|
|
1212
|
+
linux: { primary: 512 /* KeyMod.Alt */ | 12 /* KeyCode.PageDown */ }
|
|
1213
|
+
}
|
|
1214
|
+
});
|
|
1215
|
+
}
|
|
1216
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1217
|
+
CoreNavigationCommands.EditorScroll.runCoreEditorCommand(viewModel, {
|
|
1218
|
+
to: EditorScroll_.RawDirection.Down,
|
|
1219
|
+
by: EditorScroll_.RawUnit.Page,
|
|
1220
|
+
value: 1,
|
|
1221
|
+
revealCursor: false,
|
|
1222
|
+
select: false,
|
|
1223
|
+
source: args.source
|
|
1224
|
+
});
|
|
1225
|
+
}
|
|
1226
|
+
});
|
|
1227
|
+
CoreNavigationCommands.ScrollEditorBottom = registerEditorCommand(new class extends CoreEditorCommand {
|
|
1228
|
+
constructor() {
|
|
1229
|
+
super({
|
|
1230
|
+
id: 'scrollEditorBottom',
|
|
1231
|
+
precondition: undefined,
|
|
1232
|
+
kbOpts: {
|
|
1233
|
+
weight: CORE_WEIGHT,
|
|
1234
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1235
|
+
}
|
|
1236
|
+
});
|
|
1237
|
+
}
|
|
1238
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1239
|
+
CoreNavigationCommands.EditorScroll.runCoreEditorCommand(viewModel, {
|
|
1240
|
+
to: EditorScroll_.RawDirection.Down,
|
|
1241
|
+
by: EditorScroll_.RawUnit.Editor,
|
|
1242
|
+
value: 1,
|
|
1243
|
+
revealCursor: false,
|
|
1244
|
+
select: false,
|
|
1245
|
+
source: args.source
|
|
1246
|
+
});
|
|
1247
|
+
}
|
|
1248
|
+
});
|
|
1249
|
+
CoreNavigationCommands.ScrollLeft = registerEditorCommand(new class extends CoreEditorCommand {
|
|
1250
|
+
constructor() {
|
|
1251
|
+
super({
|
|
1252
|
+
id: 'scrollLeft',
|
|
1253
|
+
precondition: undefined,
|
|
1254
|
+
kbOpts: {
|
|
1255
|
+
weight: CORE_WEIGHT,
|
|
1256
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1257
|
+
}
|
|
1258
|
+
});
|
|
1259
|
+
}
|
|
1260
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1261
|
+
CoreNavigationCommands.EditorScroll.runCoreEditorCommand(viewModel, {
|
|
1262
|
+
to: EditorScroll_.RawDirection.Left,
|
|
1263
|
+
by: EditorScroll_.RawUnit.Column,
|
|
1264
|
+
value: 2,
|
|
1265
|
+
revealCursor: false,
|
|
1266
|
+
select: false,
|
|
1267
|
+
source: args.source
|
|
1268
|
+
});
|
|
1269
|
+
}
|
|
1270
|
+
});
|
|
1271
|
+
CoreNavigationCommands.ScrollRight = registerEditorCommand(new class extends CoreEditorCommand {
|
|
1272
|
+
constructor() {
|
|
1273
|
+
super({
|
|
1274
|
+
id: 'scrollRight',
|
|
1275
|
+
precondition: undefined,
|
|
1276
|
+
kbOpts: {
|
|
1277
|
+
weight: CORE_WEIGHT,
|
|
1278
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1279
|
+
}
|
|
1280
|
+
});
|
|
1281
|
+
}
|
|
1282
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1283
|
+
CoreNavigationCommands.EditorScroll.runCoreEditorCommand(viewModel, {
|
|
1284
|
+
to: EditorScroll_.RawDirection.Right,
|
|
1285
|
+
by: EditorScroll_.RawUnit.Column,
|
|
1286
|
+
value: 2,
|
|
1287
|
+
revealCursor: false,
|
|
1288
|
+
select: false,
|
|
1289
|
+
source: args.source
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1292
|
+
});
|
|
1293
|
+
class WordCommand extends CoreEditorCommand {
|
|
1294
|
+
constructor(opts) {
|
|
1295
|
+
super(opts);
|
|
1296
|
+
this._inSelectionMode = opts.inSelectionMode;
|
|
1297
|
+
}
|
|
1298
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1299
|
+
if (!args.position) {
|
|
1300
|
+
return;
|
|
1301
|
+
}
|
|
1302
|
+
viewModel.model.pushStackElement();
|
|
1303
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, [
|
|
1304
|
+
CursorMoveCommands.word(viewModel, viewModel.getPrimaryCursorState(), this._inSelectionMode, args.position)
|
|
1305
|
+
]);
|
|
1306
|
+
if (args.revealType !== 2 /* NavigationCommandRevealType.None */) {
|
|
1307
|
+
viewModel.revealPrimaryCursor(args.source, true, true);
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
CoreNavigationCommands.WordSelect = registerEditorCommand(new WordCommand({
|
|
1312
|
+
inSelectionMode: false,
|
|
1313
|
+
id: '_wordSelect',
|
|
1314
|
+
precondition: undefined
|
|
1315
|
+
}));
|
|
1316
|
+
CoreNavigationCommands.WordSelectDrag = registerEditorCommand(new WordCommand({
|
|
1317
|
+
inSelectionMode: true,
|
|
1318
|
+
id: '_wordSelectDrag',
|
|
1319
|
+
precondition: undefined
|
|
1320
|
+
}));
|
|
1321
|
+
CoreNavigationCommands.LastCursorWordSelect = registerEditorCommand(new class extends CoreEditorCommand {
|
|
1322
|
+
constructor() {
|
|
1323
|
+
super({
|
|
1324
|
+
id: 'lastCursorWordSelect',
|
|
1325
|
+
precondition: undefined
|
|
1326
|
+
});
|
|
1327
|
+
}
|
|
1328
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1329
|
+
if (!args.position) {
|
|
1330
|
+
return;
|
|
1331
|
+
}
|
|
1332
|
+
const lastAddedCursorIndex = viewModel.getLastAddedCursorIndex();
|
|
1333
|
+
const states = viewModel.getCursorStates();
|
|
1334
|
+
const newStates = states.slice(0);
|
|
1335
|
+
const lastAddedState = states[lastAddedCursorIndex];
|
|
1336
|
+
newStates[lastAddedCursorIndex] = CursorMoveCommands.word(viewModel, lastAddedState, lastAddedState.modelState.hasSelection(), args.position);
|
|
1337
|
+
viewModel.model.pushStackElement();
|
|
1338
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, newStates);
|
|
1339
|
+
}
|
|
1340
|
+
});
|
|
1341
|
+
class LineCommand extends CoreEditorCommand {
|
|
1342
|
+
constructor(opts) {
|
|
1343
|
+
super(opts);
|
|
1344
|
+
this._inSelectionMode = opts.inSelectionMode;
|
|
1345
|
+
}
|
|
1346
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1347
|
+
if (!args.position) {
|
|
1348
|
+
return;
|
|
1349
|
+
}
|
|
1350
|
+
viewModel.model.pushStackElement();
|
|
1351
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, [
|
|
1352
|
+
CursorMoveCommands.line(viewModel, viewModel.getPrimaryCursorState(), this._inSelectionMode, args.position, args.viewPosition)
|
|
1353
|
+
]);
|
|
1354
|
+
if (args.revealType !== 2 /* NavigationCommandRevealType.None */) {
|
|
1355
|
+
viewModel.revealPrimaryCursor(args.source, false, true);
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
CoreNavigationCommands.LineSelect = registerEditorCommand(new LineCommand({
|
|
1360
|
+
inSelectionMode: false,
|
|
1361
|
+
id: '_lineSelect',
|
|
1362
|
+
precondition: undefined
|
|
1363
|
+
}));
|
|
1364
|
+
CoreNavigationCommands.LineSelectDrag = registerEditorCommand(new LineCommand({
|
|
1365
|
+
inSelectionMode: true,
|
|
1366
|
+
id: '_lineSelectDrag',
|
|
1367
|
+
precondition: undefined
|
|
1368
|
+
}));
|
|
1369
|
+
class LastCursorLineCommand extends CoreEditorCommand {
|
|
1370
|
+
constructor(opts) {
|
|
1371
|
+
super(opts);
|
|
1372
|
+
this._inSelectionMode = opts.inSelectionMode;
|
|
1373
|
+
}
|
|
1374
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1375
|
+
if (!args.position) {
|
|
1376
|
+
return;
|
|
1377
|
+
}
|
|
1378
|
+
const lastAddedCursorIndex = viewModel.getLastAddedCursorIndex();
|
|
1379
|
+
const states = viewModel.getCursorStates();
|
|
1380
|
+
const newStates = states.slice(0);
|
|
1381
|
+
newStates[lastAddedCursorIndex] = CursorMoveCommands.line(viewModel, states[lastAddedCursorIndex], this._inSelectionMode, args.position, args.viewPosition);
|
|
1382
|
+
viewModel.model.pushStackElement();
|
|
1383
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, newStates);
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
CoreNavigationCommands.LastCursorLineSelect = registerEditorCommand(new LastCursorLineCommand({
|
|
1387
|
+
inSelectionMode: false,
|
|
1388
|
+
id: 'lastCursorLineSelect',
|
|
1389
|
+
precondition: undefined
|
|
1390
|
+
}));
|
|
1391
|
+
CoreNavigationCommands.LastCursorLineSelectDrag = registerEditorCommand(new LastCursorLineCommand({
|
|
1392
|
+
inSelectionMode: true,
|
|
1393
|
+
id: 'lastCursorLineSelectDrag',
|
|
1394
|
+
precondition: undefined
|
|
1395
|
+
}));
|
|
1396
|
+
CoreNavigationCommands.CancelSelection = registerEditorCommand(new class extends CoreEditorCommand {
|
|
1397
|
+
constructor() {
|
|
1398
|
+
super({
|
|
1399
|
+
id: 'cancelSelection',
|
|
1400
|
+
precondition: EditorContextKeys.hasNonEmptySelection,
|
|
1401
|
+
kbOpts: {
|
|
1402
|
+
weight: CORE_WEIGHT,
|
|
1403
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1404
|
+
primary: 9 /* KeyCode.Escape */,
|
|
1405
|
+
secondary: [1024 /* KeyMod.Shift */ | 9 /* KeyCode.Escape */]
|
|
1406
|
+
}
|
|
1407
|
+
});
|
|
1408
|
+
}
|
|
1409
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1410
|
+
viewModel.model.pushStackElement();
|
|
1411
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, [
|
|
1412
|
+
CursorMoveCommands.cancelSelection(viewModel, viewModel.getPrimaryCursorState())
|
|
1413
|
+
]);
|
|
1414
|
+
viewModel.revealPrimaryCursor(args.source, true);
|
|
1415
|
+
}
|
|
1416
|
+
});
|
|
1417
|
+
CoreNavigationCommands.RemoveSecondaryCursors = registerEditorCommand(new class extends CoreEditorCommand {
|
|
1418
|
+
constructor() {
|
|
1419
|
+
super({
|
|
1420
|
+
id: 'removeSecondaryCursors',
|
|
1421
|
+
precondition: EditorContextKeys.hasMultipleSelections,
|
|
1422
|
+
kbOpts: {
|
|
1423
|
+
weight: CORE_WEIGHT + 1,
|
|
1424
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1425
|
+
primary: 9 /* KeyCode.Escape */,
|
|
1426
|
+
secondary: [1024 /* KeyMod.Shift */ | 9 /* KeyCode.Escape */]
|
|
1427
|
+
}
|
|
1428
|
+
});
|
|
1429
|
+
}
|
|
1430
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1431
|
+
viewModel.model.pushStackElement();
|
|
1432
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, [
|
|
1433
|
+
viewModel.getPrimaryCursorState()
|
|
1434
|
+
]);
|
|
1435
|
+
viewModel.revealPrimaryCursor(args.source, true);
|
|
1436
|
+
status(nls.localize('removedCursor', "Removed secondary cursors"));
|
|
1437
|
+
}
|
|
1438
|
+
});
|
|
1439
|
+
CoreNavigationCommands.RevealLine = registerEditorCommand(new class extends CoreEditorCommand {
|
|
1440
|
+
constructor() {
|
|
1441
|
+
super({
|
|
1442
|
+
id: 'revealLine',
|
|
1443
|
+
precondition: undefined,
|
|
1444
|
+
metadata: RevealLine_.metadata
|
|
1445
|
+
});
|
|
1446
|
+
}
|
|
1447
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1448
|
+
const revealLineArg = args;
|
|
1449
|
+
const lineNumberArg = revealLineArg.lineNumber || 0;
|
|
1450
|
+
let lineNumber = typeof lineNumberArg === 'number' ? (lineNumberArg + 1) : (parseInt(lineNumberArg) + 1);
|
|
1451
|
+
if (lineNumber < 1) {
|
|
1452
|
+
lineNumber = 1;
|
|
1453
|
+
}
|
|
1454
|
+
const lineCount = viewModel.model.getLineCount();
|
|
1455
|
+
if (lineNumber > lineCount) {
|
|
1456
|
+
lineNumber = lineCount;
|
|
1457
|
+
}
|
|
1458
|
+
const range = new Range(lineNumber, 1, lineNumber, viewModel.model.getLineMaxColumn(lineNumber));
|
|
1459
|
+
let revealAt = 0 /* VerticalRevealType.Simple */;
|
|
1460
|
+
if (revealLineArg.at) {
|
|
1461
|
+
switch (revealLineArg.at) {
|
|
1462
|
+
case RevealLine_.RawAtArgument.Top:
|
|
1463
|
+
revealAt = 3 /* VerticalRevealType.Top */;
|
|
1464
|
+
break;
|
|
1465
|
+
case RevealLine_.RawAtArgument.Center:
|
|
1466
|
+
revealAt = 1 /* VerticalRevealType.Center */;
|
|
1467
|
+
break;
|
|
1468
|
+
case RevealLine_.RawAtArgument.Bottom:
|
|
1469
|
+
revealAt = 4 /* VerticalRevealType.Bottom */;
|
|
1470
|
+
break;
|
|
1471
|
+
default:
|
|
1472
|
+
break;
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
const viewRange = viewModel.coordinatesConverter.convertModelRangeToViewRange(range);
|
|
1476
|
+
viewModel.revealRange(args.source, false, viewRange, revealAt, 0 /* ScrollType.Smooth */);
|
|
1477
|
+
}
|
|
1478
|
+
});
|
|
1479
|
+
CoreNavigationCommands.SelectAll = new class extends EditorOrNativeTextInputCommand {
|
|
1480
|
+
constructor() {
|
|
1481
|
+
super(SelectAllCommand);
|
|
1482
|
+
}
|
|
1483
|
+
runDOMCommand(activeElement) {
|
|
1484
|
+
if (isFirefox) {
|
|
1485
|
+
activeElement.focus();
|
|
1486
|
+
activeElement.select();
|
|
1487
|
+
}
|
|
1488
|
+
activeElement.ownerDocument.execCommand('selectAll');
|
|
1489
|
+
}
|
|
1490
|
+
runEditorCommand(accessor, editor, args) {
|
|
1491
|
+
const viewModel = editor._getViewModel();
|
|
1492
|
+
if (!viewModel) {
|
|
1493
|
+
// the editor has no view => has no cursors
|
|
1494
|
+
return;
|
|
1495
|
+
}
|
|
1496
|
+
this.runCoreEditorCommand(viewModel, args);
|
|
1497
|
+
}
|
|
1498
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1499
|
+
viewModel.model.pushStackElement();
|
|
1500
|
+
viewModel.setCursorStates('keyboard', 3 /* CursorChangeReason.Explicit */, [
|
|
1501
|
+
CursorMoveCommands.selectAll(viewModel, viewModel.getPrimaryCursorState())
|
|
1502
|
+
]);
|
|
1503
|
+
}
|
|
1504
|
+
}();
|
|
1505
|
+
CoreNavigationCommands.SetSelection = registerEditorCommand(new class extends CoreEditorCommand {
|
|
1506
|
+
constructor() {
|
|
1507
|
+
super({
|
|
1508
|
+
id: 'setSelection',
|
|
1509
|
+
precondition: undefined
|
|
1510
|
+
});
|
|
1511
|
+
}
|
|
1512
|
+
runCoreEditorCommand(viewModel, args) {
|
|
1513
|
+
if (!args.selection) {
|
|
1514
|
+
return;
|
|
1515
|
+
}
|
|
1516
|
+
viewModel.model.pushStackElement();
|
|
1517
|
+
viewModel.setCursorStates(args.source, 3 /* CursorChangeReason.Explicit */, [
|
|
1518
|
+
CursorState.fromModelSelection(args.selection)
|
|
1519
|
+
]);
|
|
1520
|
+
}
|
|
1521
|
+
});
|
|
1522
|
+
})(CoreNavigationCommands || (CoreNavigationCommands = {}));
|
|
1523
|
+
const columnSelectionCondition = ContextKeyExpr.and(EditorContextKeys.textInputFocus, EditorContextKeys.columnSelection);
|
|
1524
|
+
function registerColumnSelection(id, keybinding) {
|
|
1525
|
+
KeybindingsRegistry.registerKeybindingRule({
|
|
1526
|
+
id: id,
|
|
1527
|
+
primary: keybinding,
|
|
1528
|
+
when: columnSelectionCondition,
|
|
1529
|
+
weight: CORE_WEIGHT + 1
|
|
1530
|
+
});
|
|
1531
|
+
}
|
|
1532
|
+
registerColumnSelection(CoreNavigationCommands.CursorColumnSelectLeft.id, 1024 /* KeyMod.Shift */ | 15 /* KeyCode.LeftArrow */);
|
|
1533
|
+
registerColumnSelection(CoreNavigationCommands.CursorColumnSelectRight.id, 1024 /* KeyMod.Shift */ | 17 /* KeyCode.RightArrow */);
|
|
1534
|
+
registerColumnSelection(CoreNavigationCommands.CursorColumnSelectUp.id, 1024 /* KeyMod.Shift */ | 16 /* KeyCode.UpArrow */);
|
|
1535
|
+
registerColumnSelection(CoreNavigationCommands.CursorColumnSelectPageUp.id, 1024 /* KeyMod.Shift */ | 11 /* KeyCode.PageUp */);
|
|
1536
|
+
registerColumnSelection(CoreNavigationCommands.CursorColumnSelectDown.id, 1024 /* KeyMod.Shift */ | 18 /* KeyCode.DownArrow */);
|
|
1537
|
+
registerColumnSelection(CoreNavigationCommands.CursorColumnSelectPageDown.id, 1024 /* KeyMod.Shift */ | 12 /* KeyCode.PageDown */);
|
|
1538
|
+
function registerCommand(command) {
|
|
1539
|
+
command.register();
|
|
1540
|
+
return command;
|
|
1541
|
+
}
|
|
1542
|
+
export var CoreEditingCommands;
|
|
1543
|
+
(function (CoreEditingCommands) {
|
|
1544
|
+
class CoreEditingCommand extends EditorCommand {
|
|
1545
|
+
runEditorCommand(accessor, editor, args) {
|
|
1546
|
+
const viewModel = editor._getViewModel();
|
|
1547
|
+
if (!viewModel) {
|
|
1548
|
+
// the editor has no view => has no cursors
|
|
1549
|
+
return;
|
|
1550
|
+
}
|
|
1551
|
+
this.runCoreEditingCommand(editor, viewModel, args || {});
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
CoreEditingCommands.CoreEditingCommand = CoreEditingCommand;
|
|
1555
|
+
CoreEditingCommands.LineBreakInsert = registerEditorCommand(new class extends CoreEditingCommand {
|
|
1556
|
+
constructor() {
|
|
1557
|
+
super({
|
|
1558
|
+
id: 'lineBreakInsert',
|
|
1559
|
+
precondition: EditorContextKeys.writable,
|
|
1560
|
+
kbOpts: {
|
|
1561
|
+
weight: CORE_WEIGHT,
|
|
1562
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1563
|
+
primary: 0,
|
|
1564
|
+
mac: { primary: 256 /* KeyMod.WinCtrl */ | 45 /* KeyCode.KeyO */ }
|
|
1565
|
+
}
|
|
1566
|
+
});
|
|
1567
|
+
}
|
|
1568
|
+
runCoreEditingCommand(editor, viewModel, args) {
|
|
1569
|
+
editor.pushUndoStop();
|
|
1570
|
+
editor.executeCommands(this.id, TypeOperations.lineBreakInsert(viewModel.cursorConfig, viewModel.model, viewModel.getCursorStates().map(s => s.modelState.selection)));
|
|
1571
|
+
}
|
|
1572
|
+
});
|
|
1573
|
+
CoreEditingCommands.Outdent = registerEditorCommand(new class extends CoreEditingCommand {
|
|
1574
|
+
constructor() {
|
|
1575
|
+
super({
|
|
1576
|
+
id: 'outdent',
|
|
1577
|
+
precondition: EditorContextKeys.writable,
|
|
1578
|
+
kbOpts: {
|
|
1579
|
+
weight: CORE_WEIGHT,
|
|
1580
|
+
kbExpr: ContextKeyExpr.and(EditorContextKeys.editorTextFocus, EditorContextKeys.tabDoesNotMoveFocus),
|
|
1581
|
+
primary: 1024 /* KeyMod.Shift */ | 2 /* KeyCode.Tab */
|
|
1582
|
+
}
|
|
1583
|
+
});
|
|
1584
|
+
}
|
|
1585
|
+
runCoreEditingCommand(editor, viewModel, args) {
|
|
1586
|
+
editor.pushUndoStop();
|
|
1587
|
+
editor.executeCommands(this.id, TypeOperations.outdent(viewModel.cursorConfig, viewModel.model, viewModel.getCursorStates().map(s => s.modelState.selection)));
|
|
1588
|
+
editor.pushUndoStop();
|
|
1589
|
+
}
|
|
1590
|
+
});
|
|
1591
|
+
CoreEditingCommands.Tab = registerEditorCommand(new class extends CoreEditingCommand {
|
|
1592
|
+
constructor() {
|
|
1593
|
+
super({
|
|
1594
|
+
id: 'tab',
|
|
1595
|
+
precondition: EditorContextKeys.writable,
|
|
1596
|
+
kbOpts: {
|
|
1597
|
+
weight: CORE_WEIGHT,
|
|
1598
|
+
kbExpr: ContextKeyExpr.and(EditorContextKeys.editorTextFocus, EditorContextKeys.tabDoesNotMoveFocus),
|
|
1599
|
+
primary: 2 /* KeyCode.Tab */
|
|
1600
|
+
}
|
|
1601
|
+
});
|
|
1602
|
+
}
|
|
1603
|
+
runCoreEditingCommand(editor, viewModel, args) {
|
|
1604
|
+
editor.pushUndoStop();
|
|
1605
|
+
editor.executeCommands(this.id, TypeOperations.tab(viewModel.cursorConfig, viewModel.model, viewModel.getCursorStates().map(s => s.modelState.selection)));
|
|
1606
|
+
editor.pushUndoStop();
|
|
1607
|
+
}
|
|
1608
|
+
});
|
|
1609
|
+
CoreEditingCommands.DeleteLeft = registerEditorCommand(new class extends CoreEditingCommand {
|
|
1610
|
+
constructor() {
|
|
1611
|
+
super({
|
|
1612
|
+
id: 'deleteLeft',
|
|
1613
|
+
precondition: undefined,
|
|
1614
|
+
kbOpts: {
|
|
1615
|
+
weight: CORE_WEIGHT,
|
|
1616
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1617
|
+
primary: 1 /* KeyCode.Backspace */,
|
|
1618
|
+
secondary: [1024 /* KeyMod.Shift */ | 1 /* KeyCode.Backspace */],
|
|
1619
|
+
mac: { primary: 1 /* KeyCode.Backspace */, secondary: [1024 /* KeyMod.Shift */ | 1 /* KeyCode.Backspace */, 256 /* KeyMod.WinCtrl */ | 38 /* KeyCode.KeyH */, 256 /* KeyMod.WinCtrl */ | 1 /* KeyCode.Backspace */] }
|
|
1620
|
+
}
|
|
1621
|
+
});
|
|
1622
|
+
}
|
|
1623
|
+
runCoreEditingCommand(editor, viewModel, args) {
|
|
1624
|
+
const [shouldPushStackElementBefore, commands] = DeleteOperations.deleteLeft(viewModel.getPrevEditOperationType(), viewModel.cursorConfig, viewModel.model, viewModel.getCursorStates().map(s => s.modelState.selection), viewModel.getCursorAutoClosedCharacters());
|
|
1625
|
+
if (shouldPushStackElementBefore) {
|
|
1626
|
+
editor.pushUndoStop();
|
|
1627
|
+
}
|
|
1628
|
+
editor.executeCommands(this.id, commands);
|
|
1629
|
+
viewModel.setPrevEditOperationType(2 /* EditOperationType.DeletingLeft */);
|
|
1630
|
+
}
|
|
1631
|
+
});
|
|
1632
|
+
CoreEditingCommands.DeleteRight = registerEditorCommand(new class extends CoreEditingCommand {
|
|
1633
|
+
constructor() {
|
|
1634
|
+
super({
|
|
1635
|
+
id: 'deleteRight',
|
|
1636
|
+
precondition: undefined,
|
|
1637
|
+
kbOpts: {
|
|
1638
|
+
weight: CORE_WEIGHT,
|
|
1639
|
+
kbExpr: EditorContextKeys.textInputFocus,
|
|
1640
|
+
primary: 20 /* KeyCode.Delete */,
|
|
1641
|
+
mac: { primary: 20 /* KeyCode.Delete */, secondary: [256 /* KeyMod.WinCtrl */ | 34 /* KeyCode.KeyD */, 256 /* KeyMod.WinCtrl */ | 20 /* KeyCode.Delete */] }
|
|
1642
|
+
}
|
|
1643
|
+
});
|
|
1644
|
+
}
|
|
1645
|
+
runCoreEditingCommand(editor, viewModel, args) {
|
|
1646
|
+
const [shouldPushStackElementBefore, commands] = DeleteOperations.deleteRight(viewModel.getPrevEditOperationType(), viewModel.cursorConfig, viewModel.model, viewModel.getCursorStates().map(s => s.modelState.selection));
|
|
1647
|
+
if (shouldPushStackElementBefore) {
|
|
1648
|
+
editor.pushUndoStop();
|
|
1649
|
+
}
|
|
1650
|
+
editor.executeCommands(this.id, commands);
|
|
1651
|
+
viewModel.setPrevEditOperationType(3 /* EditOperationType.DeletingRight */);
|
|
1652
|
+
}
|
|
1653
|
+
});
|
|
1654
|
+
CoreEditingCommands.Undo = new class extends EditorOrNativeTextInputCommand {
|
|
1655
|
+
constructor() {
|
|
1656
|
+
super(UndoCommand);
|
|
1657
|
+
}
|
|
1658
|
+
runDOMCommand(activeElement) {
|
|
1659
|
+
activeElement.ownerDocument.execCommand('undo');
|
|
1660
|
+
}
|
|
1661
|
+
runEditorCommand(accessor, editor, args) {
|
|
1662
|
+
if (!editor.hasModel() || editor.getOption(90 /* EditorOption.readOnly */) === true) {
|
|
1663
|
+
return;
|
|
1664
|
+
}
|
|
1665
|
+
return editor.getModel().undo();
|
|
1666
|
+
}
|
|
1667
|
+
}();
|
|
1668
|
+
CoreEditingCommands.Redo = new class extends EditorOrNativeTextInputCommand {
|
|
1669
|
+
constructor() {
|
|
1670
|
+
super(RedoCommand);
|
|
1671
|
+
}
|
|
1672
|
+
runDOMCommand(activeElement) {
|
|
1673
|
+
activeElement.ownerDocument.execCommand('redo');
|
|
1674
|
+
}
|
|
1675
|
+
runEditorCommand(accessor, editor, args) {
|
|
1676
|
+
if (!editor.hasModel() || editor.getOption(90 /* EditorOption.readOnly */) === true) {
|
|
1677
|
+
return;
|
|
1678
|
+
}
|
|
1679
|
+
return editor.getModel().redo();
|
|
1680
|
+
}
|
|
1681
|
+
}();
|
|
1682
|
+
})(CoreEditingCommands || (CoreEditingCommands = {}));
|
|
1683
|
+
/**
|
|
1684
|
+
* A command that will invoke a command on the focused editor.
|
|
1685
|
+
*/
|
|
1686
|
+
class EditorHandlerCommand extends Command {
|
|
1687
|
+
constructor(id, handlerId, metadata) {
|
|
1688
|
+
super({
|
|
1689
|
+
id: id,
|
|
1690
|
+
precondition: undefined,
|
|
1691
|
+
metadata
|
|
1692
|
+
});
|
|
1693
|
+
this._handlerId = handlerId;
|
|
1694
|
+
}
|
|
1695
|
+
runCommand(accessor, args) {
|
|
1696
|
+
const editor = accessor.get(ICodeEditorService).getFocusedCodeEditor();
|
|
1697
|
+
if (!editor) {
|
|
1698
|
+
return;
|
|
1699
|
+
}
|
|
1700
|
+
editor.trigger('keyboard', this._handlerId, args);
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
function registerOverwritableCommand(handlerId, metadata) {
|
|
1704
|
+
registerCommand(new EditorHandlerCommand('default:' + handlerId, handlerId));
|
|
1705
|
+
registerCommand(new EditorHandlerCommand(handlerId, handlerId, metadata));
|
|
1706
|
+
}
|
|
1707
|
+
registerOverwritableCommand("type" /* Handler.Type */, {
|
|
1708
|
+
description: `Type`,
|
|
1709
|
+
args: [{
|
|
1710
|
+
name: 'args',
|
|
1711
|
+
schema: {
|
|
1712
|
+
'type': 'object',
|
|
1713
|
+
'required': ['text'],
|
|
1714
|
+
'properties': {
|
|
1715
|
+
'text': {
|
|
1716
|
+
'type': 'string'
|
|
1717
|
+
}
|
|
1718
|
+
},
|
|
1719
|
+
}
|
|
1720
|
+
}]
|
|
1721
|
+
});
|
|
1722
|
+
registerOverwritableCommand("replacePreviousChar" /* Handler.ReplacePreviousChar */);
|
|
1723
|
+
registerOverwritableCommand("compositionType" /* Handler.CompositionType */);
|
|
1724
|
+
registerOverwritableCommand("compositionStart" /* Handler.CompositionStart */);
|
|
1725
|
+
registerOverwritableCommand("compositionEnd" /* Handler.CompositionEnd */);
|
|
1726
|
+
registerOverwritableCommand("paste" /* Handler.Paste */);
|
|
1727
|
+
registerOverwritableCommand("cut" /* Handler.Cut */);
|