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,1405 @@
|
|
|
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 browser from './browser.js';
|
|
6
|
+
import { BrowserFeatures } from './canIUse.js';
|
|
7
|
+
import { StandardKeyboardEvent } from './keyboardEvent.js';
|
|
8
|
+
import { StandardMouseEvent } from './mouseEvent.js';
|
|
9
|
+
import { AbstractIdleValue, IntervalTimer, _runWhenIdle } from '../common/async.js';
|
|
10
|
+
import { onUnexpectedError } from '../common/errors.js';
|
|
11
|
+
import * as event from '../common/event.js';
|
|
12
|
+
import * as dompurify from './dompurify/dompurify.js';
|
|
13
|
+
import { Disposable, DisposableStore, toDisposable } from '../common/lifecycle.js';
|
|
14
|
+
import { FileAccess, RemoteAuthorities } from '../common/network.js';
|
|
15
|
+
import * as platform from '../common/platform.js';
|
|
16
|
+
import { hash } from '../common/hash.js';
|
|
17
|
+
import { ensureCodeWindow, mainWindow } from './window.js';
|
|
18
|
+
//# region Multi-Window Support Utilities
|
|
19
|
+
export const { registerWindow, getWindow, getDocument, getWindows, getWindowsCount, getWindowId, getWindowById, hasWindow, onDidRegisterWindow, onWillUnregisterWindow, onDidUnregisterWindow } = (function () {
|
|
20
|
+
const windows = new Map();
|
|
21
|
+
ensureCodeWindow(mainWindow, 1);
|
|
22
|
+
windows.set(mainWindow.vscodeWindowId, { window: mainWindow, disposables: new DisposableStore() });
|
|
23
|
+
const onDidRegisterWindow = new event.Emitter();
|
|
24
|
+
const onDidUnregisterWindow = new event.Emitter();
|
|
25
|
+
const onWillUnregisterWindow = new event.Emitter();
|
|
26
|
+
return {
|
|
27
|
+
onDidRegisterWindow: onDidRegisterWindow.event,
|
|
28
|
+
onWillUnregisterWindow: onWillUnregisterWindow.event,
|
|
29
|
+
onDidUnregisterWindow: onDidUnregisterWindow.event,
|
|
30
|
+
registerWindow(window) {
|
|
31
|
+
if (windows.has(window.vscodeWindowId)) {
|
|
32
|
+
return Disposable.None;
|
|
33
|
+
}
|
|
34
|
+
const disposables = new DisposableStore();
|
|
35
|
+
const registeredWindow = {
|
|
36
|
+
window,
|
|
37
|
+
disposables: disposables.add(new DisposableStore())
|
|
38
|
+
};
|
|
39
|
+
windows.set(window.vscodeWindowId, registeredWindow);
|
|
40
|
+
disposables.add(toDisposable(() => {
|
|
41
|
+
windows.delete(window.vscodeWindowId);
|
|
42
|
+
onDidUnregisterWindow.fire(window);
|
|
43
|
+
}));
|
|
44
|
+
disposables.add(addDisposableListener(window, EventType.BEFORE_UNLOAD, () => {
|
|
45
|
+
onWillUnregisterWindow.fire(window);
|
|
46
|
+
}));
|
|
47
|
+
onDidRegisterWindow.fire(registeredWindow);
|
|
48
|
+
return disposables;
|
|
49
|
+
},
|
|
50
|
+
getWindows() {
|
|
51
|
+
return windows.values();
|
|
52
|
+
},
|
|
53
|
+
getWindowsCount() {
|
|
54
|
+
return windows.size;
|
|
55
|
+
},
|
|
56
|
+
getWindowId(targetWindow) {
|
|
57
|
+
return targetWindow.vscodeWindowId;
|
|
58
|
+
},
|
|
59
|
+
hasWindow(windowId) {
|
|
60
|
+
return windows.has(windowId);
|
|
61
|
+
},
|
|
62
|
+
getWindowById(windowId) {
|
|
63
|
+
return windows.get(windowId);
|
|
64
|
+
},
|
|
65
|
+
getWindow(e) {
|
|
66
|
+
var _a;
|
|
67
|
+
const candidateNode = e;
|
|
68
|
+
if ((_a = candidateNode === null || candidateNode === void 0 ? void 0 : candidateNode.ownerDocument) === null || _a === void 0 ? void 0 : _a.defaultView) {
|
|
69
|
+
return candidateNode.ownerDocument.defaultView.window;
|
|
70
|
+
}
|
|
71
|
+
const candidateEvent = e;
|
|
72
|
+
if (candidateEvent === null || candidateEvent === void 0 ? void 0 : candidateEvent.view) {
|
|
73
|
+
return candidateEvent.view.window;
|
|
74
|
+
}
|
|
75
|
+
return mainWindow;
|
|
76
|
+
},
|
|
77
|
+
getDocument(e) {
|
|
78
|
+
const candidateNode = e;
|
|
79
|
+
return getWindow(candidateNode).document;
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
})();
|
|
83
|
+
//#endregion
|
|
84
|
+
export function clearNode(node) {
|
|
85
|
+
while (node.firstChild) {
|
|
86
|
+
node.firstChild.remove();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
class DomListener {
|
|
90
|
+
constructor(node, type, handler, options) {
|
|
91
|
+
this._node = node;
|
|
92
|
+
this._type = type;
|
|
93
|
+
this._handler = handler;
|
|
94
|
+
this._options = (options || false);
|
|
95
|
+
this._node.addEventListener(this._type, this._handler, this._options);
|
|
96
|
+
}
|
|
97
|
+
dispose() {
|
|
98
|
+
if (!this._handler) {
|
|
99
|
+
// Already disposed
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
this._node.removeEventListener(this._type, this._handler, this._options);
|
|
103
|
+
// Prevent leakers from holding on to the dom or handler func
|
|
104
|
+
this._node = null;
|
|
105
|
+
this._handler = null;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
export function addDisposableListener(node, type, handler, useCaptureOrOptions) {
|
|
109
|
+
return new DomListener(node, type, handler, useCaptureOrOptions);
|
|
110
|
+
}
|
|
111
|
+
function _wrapAsStandardMouseEvent(targetWindow, handler) {
|
|
112
|
+
return function (e) {
|
|
113
|
+
return handler(new StandardMouseEvent(targetWindow, e));
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function _wrapAsStandardKeyboardEvent(handler) {
|
|
117
|
+
return function (e) {
|
|
118
|
+
return handler(new StandardKeyboardEvent(e));
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
export const addStandardDisposableListener = function addStandardDisposableListener(node, type, handler, useCapture) {
|
|
122
|
+
let wrapHandler = handler;
|
|
123
|
+
if (type === 'click' || type === 'mousedown') {
|
|
124
|
+
wrapHandler = _wrapAsStandardMouseEvent(getWindow(node), handler);
|
|
125
|
+
}
|
|
126
|
+
else if (type === 'keydown' || type === 'keypress' || type === 'keyup') {
|
|
127
|
+
wrapHandler = _wrapAsStandardKeyboardEvent(handler);
|
|
128
|
+
}
|
|
129
|
+
return addDisposableListener(node, type, wrapHandler, useCapture);
|
|
130
|
+
};
|
|
131
|
+
export const addStandardDisposableGenericMouseDownListener = function addStandardDisposableListener(node, handler, useCapture) {
|
|
132
|
+
const wrapHandler = _wrapAsStandardMouseEvent(getWindow(node), handler);
|
|
133
|
+
return addDisposableGenericMouseDownListener(node, wrapHandler, useCapture);
|
|
134
|
+
};
|
|
135
|
+
export const addStandardDisposableGenericMouseUpListener = function addStandardDisposableListener(node, handler, useCapture) {
|
|
136
|
+
const wrapHandler = _wrapAsStandardMouseEvent(getWindow(node), handler);
|
|
137
|
+
return addDisposableGenericMouseUpListener(node, wrapHandler, useCapture);
|
|
138
|
+
};
|
|
139
|
+
export function addDisposableGenericMouseDownListener(node, handler, useCapture) {
|
|
140
|
+
return addDisposableListener(node, platform.isIOS && BrowserFeatures.pointerEvents ? EventType.POINTER_DOWN : EventType.MOUSE_DOWN, handler, useCapture);
|
|
141
|
+
}
|
|
142
|
+
export function addDisposableGenericMouseUpListener(node, handler, useCapture) {
|
|
143
|
+
return addDisposableListener(node, platform.isIOS && BrowserFeatures.pointerEvents ? EventType.POINTER_UP : EventType.MOUSE_UP, handler, useCapture);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Execute the callback the next time the browser is idle, returning an
|
|
147
|
+
* {@link IDisposable} that will cancel the callback when disposed. This wraps
|
|
148
|
+
* [requestIdleCallback] so it will fallback to [setTimeout] if the environment
|
|
149
|
+
* doesn't support it.
|
|
150
|
+
*
|
|
151
|
+
* @param targetWindow The window for which to run the idle callback
|
|
152
|
+
* @param callback The callback to run when idle, this includes an
|
|
153
|
+
* [IdleDeadline] that provides the time alloted for the idle callback by the
|
|
154
|
+
* browser. Not respecting this deadline will result in a degraded user
|
|
155
|
+
* experience.
|
|
156
|
+
* @param timeout A timeout at which point to queue no longer wait for an idle
|
|
157
|
+
* callback but queue it on the regular event loop (like setTimeout). Typically
|
|
158
|
+
* this should not be used.
|
|
159
|
+
*
|
|
160
|
+
* [IdleDeadline]: https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline
|
|
161
|
+
* [requestIdleCallback]: https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback
|
|
162
|
+
* [setTimeout]: https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout
|
|
163
|
+
*/
|
|
164
|
+
export function runWhenWindowIdle(targetWindow, callback, timeout) {
|
|
165
|
+
return _runWhenIdle(targetWindow, callback, timeout);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* An implementation of the "idle-until-urgent"-strategy as introduced
|
|
169
|
+
* here: https://philipwalton.com/articles/idle-until-urgent/
|
|
170
|
+
*/
|
|
171
|
+
export class WindowIdleValue extends AbstractIdleValue {
|
|
172
|
+
constructor(targetWindow, executor) {
|
|
173
|
+
super(targetWindow, executor);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Schedule a callback to be run at the next animation frame.
|
|
178
|
+
* This allows multiple parties to register callbacks that should run at the next animation frame.
|
|
179
|
+
* If currently in an animation frame, `runner` will be executed immediately.
|
|
180
|
+
* @return token that can be used to cancel the scheduled runner (only if `runner` was not executed immediately).
|
|
181
|
+
*/
|
|
182
|
+
export let runAtThisOrScheduleAtNextAnimationFrame;
|
|
183
|
+
/**
|
|
184
|
+
* Schedule a callback to be run at the next animation frame.
|
|
185
|
+
* This allows multiple parties to register callbacks that should run at the next animation frame.
|
|
186
|
+
* If currently in an animation frame, `runner` will be executed at the next animation frame.
|
|
187
|
+
* @return token that can be used to cancel the scheduled runner.
|
|
188
|
+
*/
|
|
189
|
+
export let scheduleAtNextAnimationFrame;
|
|
190
|
+
export class WindowIntervalTimer extends IntervalTimer {
|
|
191
|
+
cancelAndSet(runner, interval, targetWindow) {
|
|
192
|
+
return super.cancelAndSet(runner, interval, targetWindow);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
class AnimationFrameQueueItem {
|
|
196
|
+
constructor(runner, priority = 0) {
|
|
197
|
+
this._runner = runner;
|
|
198
|
+
this.priority = priority;
|
|
199
|
+
this._canceled = false;
|
|
200
|
+
}
|
|
201
|
+
dispose() {
|
|
202
|
+
this._canceled = true;
|
|
203
|
+
}
|
|
204
|
+
execute() {
|
|
205
|
+
if (this._canceled) {
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
try {
|
|
209
|
+
this._runner();
|
|
210
|
+
}
|
|
211
|
+
catch (e) {
|
|
212
|
+
onUnexpectedError(e);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
// Sort by priority (largest to lowest)
|
|
216
|
+
static sort(a, b) {
|
|
217
|
+
return b.priority - a.priority;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
(function () {
|
|
221
|
+
/**
|
|
222
|
+
* The runners scheduled at the next animation frame
|
|
223
|
+
*/
|
|
224
|
+
const NEXT_QUEUE = new Map();
|
|
225
|
+
/**
|
|
226
|
+
* The runners scheduled at the current animation frame
|
|
227
|
+
*/
|
|
228
|
+
const CURRENT_QUEUE = new Map();
|
|
229
|
+
/**
|
|
230
|
+
* A flag to keep track if the native requestAnimationFrame was already called
|
|
231
|
+
*/
|
|
232
|
+
const animFrameRequested = new Map();
|
|
233
|
+
/**
|
|
234
|
+
* A flag to indicate if currently handling a native requestAnimationFrame callback
|
|
235
|
+
*/
|
|
236
|
+
const inAnimationFrameRunner = new Map();
|
|
237
|
+
const animationFrameRunner = (targetWindowId) => {
|
|
238
|
+
var _a;
|
|
239
|
+
animFrameRequested.set(targetWindowId, false);
|
|
240
|
+
const currentQueue = (_a = NEXT_QUEUE.get(targetWindowId)) !== null && _a !== void 0 ? _a : [];
|
|
241
|
+
CURRENT_QUEUE.set(targetWindowId, currentQueue);
|
|
242
|
+
NEXT_QUEUE.set(targetWindowId, []);
|
|
243
|
+
inAnimationFrameRunner.set(targetWindowId, true);
|
|
244
|
+
while (currentQueue.length > 0) {
|
|
245
|
+
currentQueue.sort(AnimationFrameQueueItem.sort);
|
|
246
|
+
const top = currentQueue.shift();
|
|
247
|
+
top.execute();
|
|
248
|
+
}
|
|
249
|
+
inAnimationFrameRunner.set(targetWindowId, false);
|
|
250
|
+
};
|
|
251
|
+
scheduleAtNextAnimationFrame = (targetWindow, runner, priority = 0) => {
|
|
252
|
+
const targetWindowId = getWindowId(targetWindow);
|
|
253
|
+
const item = new AnimationFrameQueueItem(runner, priority);
|
|
254
|
+
let nextQueue = NEXT_QUEUE.get(targetWindowId);
|
|
255
|
+
if (!nextQueue) {
|
|
256
|
+
nextQueue = [];
|
|
257
|
+
NEXT_QUEUE.set(targetWindowId, nextQueue);
|
|
258
|
+
}
|
|
259
|
+
nextQueue.push(item);
|
|
260
|
+
if (!animFrameRequested.get(targetWindowId)) {
|
|
261
|
+
animFrameRequested.set(targetWindowId, true);
|
|
262
|
+
targetWindow.requestAnimationFrame(() => animationFrameRunner(targetWindowId));
|
|
263
|
+
}
|
|
264
|
+
return item;
|
|
265
|
+
};
|
|
266
|
+
runAtThisOrScheduleAtNextAnimationFrame = (targetWindow, runner, priority) => {
|
|
267
|
+
const targetWindowId = getWindowId(targetWindow);
|
|
268
|
+
if (inAnimationFrameRunner.get(targetWindowId)) {
|
|
269
|
+
const item = new AnimationFrameQueueItem(runner, priority);
|
|
270
|
+
let currentQueue = CURRENT_QUEUE.get(targetWindowId);
|
|
271
|
+
if (!currentQueue) {
|
|
272
|
+
currentQueue = [];
|
|
273
|
+
CURRENT_QUEUE.set(targetWindowId, currentQueue);
|
|
274
|
+
}
|
|
275
|
+
currentQueue.push(item);
|
|
276
|
+
return item;
|
|
277
|
+
}
|
|
278
|
+
else {
|
|
279
|
+
return scheduleAtNextAnimationFrame(targetWindow, runner, priority);
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
})();
|
|
283
|
+
export function getComputedStyle(el) {
|
|
284
|
+
return getWindow(el).getComputedStyle(el, null);
|
|
285
|
+
}
|
|
286
|
+
export function getClientArea(element, fallback) {
|
|
287
|
+
const elWindow = getWindow(element);
|
|
288
|
+
const elDocument = elWindow.document;
|
|
289
|
+
// Try with DOM clientWidth / clientHeight
|
|
290
|
+
if (element !== elDocument.body) {
|
|
291
|
+
return new Dimension(element.clientWidth, element.clientHeight);
|
|
292
|
+
}
|
|
293
|
+
// If visual view port exits and it's on mobile, it should be used instead of window innerWidth / innerHeight, or document.body.clientWidth / document.body.clientHeight
|
|
294
|
+
if (platform.isIOS && (elWindow === null || elWindow === void 0 ? void 0 : elWindow.visualViewport)) {
|
|
295
|
+
return new Dimension(elWindow.visualViewport.width, elWindow.visualViewport.height);
|
|
296
|
+
}
|
|
297
|
+
// Try innerWidth / innerHeight
|
|
298
|
+
if ((elWindow === null || elWindow === void 0 ? void 0 : elWindow.innerWidth) && elWindow.innerHeight) {
|
|
299
|
+
return new Dimension(elWindow.innerWidth, elWindow.innerHeight);
|
|
300
|
+
}
|
|
301
|
+
// Try with document.body.clientWidth / document.body.clientHeight
|
|
302
|
+
if (elDocument.body && elDocument.body.clientWidth && elDocument.body.clientHeight) {
|
|
303
|
+
return new Dimension(elDocument.body.clientWidth, elDocument.body.clientHeight);
|
|
304
|
+
}
|
|
305
|
+
// Try with document.documentElement.clientWidth / document.documentElement.clientHeight
|
|
306
|
+
if (elDocument.documentElement && elDocument.documentElement.clientWidth && elDocument.documentElement.clientHeight) {
|
|
307
|
+
return new Dimension(elDocument.documentElement.clientWidth, elDocument.documentElement.clientHeight);
|
|
308
|
+
}
|
|
309
|
+
if (fallback) {
|
|
310
|
+
return getClientArea(fallback);
|
|
311
|
+
}
|
|
312
|
+
throw new Error('Unable to figure out browser width and height');
|
|
313
|
+
}
|
|
314
|
+
class SizeUtils {
|
|
315
|
+
// Adapted from WinJS
|
|
316
|
+
// Converts a CSS positioning string for the specified element to pixels.
|
|
317
|
+
static convertToPixels(element, value) {
|
|
318
|
+
return parseFloat(value) || 0;
|
|
319
|
+
}
|
|
320
|
+
static getDimension(element, cssPropertyName, jsPropertyName) {
|
|
321
|
+
const computedStyle = getComputedStyle(element);
|
|
322
|
+
const value = computedStyle ? computedStyle.getPropertyValue(cssPropertyName) : '0';
|
|
323
|
+
return SizeUtils.convertToPixels(element, value);
|
|
324
|
+
}
|
|
325
|
+
static getBorderLeftWidth(element) {
|
|
326
|
+
return SizeUtils.getDimension(element, 'border-left-width', 'borderLeftWidth');
|
|
327
|
+
}
|
|
328
|
+
static getBorderRightWidth(element) {
|
|
329
|
+
return SizeUtils.getDimension(element, 'border-right-width', 'borderRightWidth');
|
|
330
|
+
}
|
|
331
|
+
static getBorderTopWidth(element) {
|
|
332
|
+
return SizeUtils.getDimension(element, 'border-top-width', 'borderTopWidth');
|
|
333
|
+
}
|
|
334
|
+
static getBorderBottomWidth(element) {
|
|
335
|
+
return SizeUtils.getDimension(element, 'border-bottom-width', 'borderBottomWidth');
|
|
336
|
+
}
|
|
337
|
+
static getPaddingLeft(element) {
|
|
338
|
+
return SizeUtils.getDimension(element, 'padding-left', 'paddingLeft');
|
|
339
|
+
}
|
|
340
|
+
static getPaddingRight(element) {
|
|
341
|
+
return SizeUtils.getDimension(element, 'padding-right', 'paddingRight');
|
|
342
|
+
}
|
|
343
|
+
static getPaddingTop(element) {
|
|
344
|
+
return SizeUtils.getDimension(element, 'padding-top', 'paddingTop');
|
|
345
|
+
}
|
|
346
|
+
static getPaddingBottom(element) {
|
|
347
|
+
return SizeUtils.getDimension(element, 'padding-bottom', 'paddingBottom');
|
|
348
|
+
}
|
|
349
|
+
static getMarginLeft(element) {
|
|
350
|
+
return SizeUtils.getDimension(element, 'margin-left', 'marginLeft');
|
|
351
|
+
}
|
|
352
|
+
static getMarginTop(element) {
|
|
353
|
+
return SizeUtils.getDimension(element, 'margin-top', 'marginTop');
|
|
354
|
+
}
|
|
355
|
+
static getMarginRight(element) {
|
|
356
|
+
return SizeUtils.getDimension(element, 'margin-right', 'marginRight');
|
|
357
|
+
}
|
|
358
|
+
static getMarginBottom(element) {
|
|
359
|
+
return SizeUtils.getDimension(element, 'margin-bottom', 'marginBottom');
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
export class Dimension {
|
|
363
|
+
constructor(width, height) {
|
|
364
|
+
this.width = width;
|
|
365
|
+
this.height = height;
|
|
366
|
+
}
|
|
367
|
+
with(width = this.width, height = this.height) {
|
|
368
|
+
if (width !== this.width || height !== this.height) {
|
|
369
|
+
return new Dimension(width, height);
|
|
370
|
+
}
|
|
371
|
+
else {
|
|
372
|
+
return this;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
static is(obj) {
|
|
376
|
+
return typeof obj === 'object' && typeof obj.height === 'number' && typeof obj.width === 'number';
|
|
377
|
+
}
|
|
378
|
+
static lift(obj) {
|
|
379
|
+
if (obj instanceof Dimension) {
|
|
380
|
+
return obj;
|
|
381
|
+
}
|
|
382
|
+
else {
|
|
383
|
+
return new Dimension(obj.width, obj.height);
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
static equals(a, b) {
|
|
387
|
+
if (a === b) {
|
|
388
|
+
return true;
|
|
389
|
+
}
|
|
390
|
+
if (!a || !b) {
|
|
391
|
+
return false;
|
|
392
|
+
}
|
|
393
|
+
return a.width === b.width && a.height === b.height;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
Dimension.None = new Dimension(0, 0);
|
|
397
|
+
export function getTopLeftOffset(element) {
|
|
398
|
+
// Adapted from WinJS.Utilities.getPosition
|
|
399
|
+
// and added borders to the mix
|
|
400
|
+
let offsetParent = element.offsetParent;
|
|
401
|
+
let top = element.offsetTop;
|
|
402
|
+
let left = element.offsetLeft;
|
|
403
|
+
while ((element = element.parentNode) !== null
|
|
404
|
+
&& element !== element.ownerDocument.body
|
|
405
|
+
&& element !== element.ownerDocument.documentElement) {
|
|
406
|
+
top -= element.scrollTop;
|
|
407
|
+
const c = isShadowRoot(element) ? null : getComputedStyle(element);
|
|
408
|
+
if (c) {
|
|
409
|
+
left -= c.direction !== 'rtl' ? element.scrollLeft : -element.scrollLeft;
|
|
410
|
+
}
|
|
411
|
+
if (element === offsetParent) {
|
|
412
|
+
left += SizeUtils.getBorderLeftWidth(element);
|
|
413
|
+
top += SizeUtils.getBorderTopWidth(element);
|
|
414
|
+
top += element.offsetTop;
|
|
415
|
+
left += element.offsetLeft;
|
|
416
|
+
offsetParent = element.offsetParent;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
return {
|
|
420
|
+
left: left,
|
|
421
|
+
top: top
|
|
422
|
+
};
|
|
423
|
+
}
|
|
424
|
+
export function size(element, width, height) {
|
|
425
|
+
if (typeof width === 'number') {
|
|
426
|
+
element.style.width = `${width}px`;
|
|
427
|
+
}
|
|
428
|
+
if (typeof height === 'number') {
|
|
429
|
+
element.style.height = `${height}px`;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* Returns the position of a dom node relative to the entire page.
|
|
434
|
+
*/
|
|
435
|
+
export function getDomNodePagePosition(domNode) {
|
|
436
|
+
const bb = domNode.getBoundingClientRect();
|
|
437
|
+
const window = getWindow(domNode);
|
|
438
|
+
return {
|
|
439
|
+
left: bb.left + window.scrollX,
|
|
440
|
+
top: bb.top + window.scrollY,
|
|
441
|
+
width: bb.width,
|
|
442
|
+
height: bb.height
|
|
443
|
+
};
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* Returns the effective zoom on a given element before window zoom level is applied
|
|
447
|
+
*/
|
|
448
|
+
export function getDomNodeZoomLevel(domNode) {
|
|
449
|
+
let testElement = domNode;
|
|
450
|
+
let zoom = 1.0;
|
|
451
|
+
do {
|
|
452
|
+
const elementZoomLevel = getComputedStyle(testElement).zoom;
|
|
453
|
+
if (elementZoomLevel !== null && elementZoomLevel !== undefined && elementZoomLevel !== '1') {
|
|
454
|
+
zoom *= elementZoomLevel;
|
|
455
|
+
}
|
|
456
|
+
testElement = testElement.parentElement;
|
|
457
|
+
} while (testElement !== null && testElement !== testElement.ownerDocument.documentElement);
|
|
458
|
+
return zoom;
|
|
459
|
+
}
|
|
460
|
+
// Adapted from WinJS
|
|
461
|
+
// Gets the width of the element, including margins.
|
|
462
|
+
export function getTotalWidth(element) {
|
|
463
|
+
const margin = SizeUtils.getMarginLeft(element) + SizeUtils.getMarginRight(element);
|
|
464
|
+
return element.offsetWidth + margin;
|
|
465
|
+
}
|
|
466
|
+
export function getContentWidth(element) {
|
|
467
|
+
const border = SizeUtils.getBorderLeftWidth(element) + SizeUtils.getBorderRightWidth(element);
|
|
468
|
+
const padding = SizeUtils.getPaddingLeft(element) + SizeUtils.getPaddingRight(element);
|
|
469
|
+
return element.offsetWidth - border - padding;
|
|
470
|
+
}
|
|
471
|
+
// Adapted from WinJS
|
|
472
|
+
// Gets the height of the content of the specified element. The content height does not include borders or padding.
|
|
473
|
+
export function getContentHeight(element) {
|
|
474
|
+
const border = SizeUtils.getBorderTopWidth(element) + SizeUtils.getBorderBottomWidth(element);
|
|
475
|
+
const padding = SizeUtils.getPaddingTop(element) + SizeUtils.getPaddingBottom(element);
|
|
476
|
+
return element.offsetHeight - border - padding;
|
|
477
|
+
}
|
|
478
|
+
// Adapted from WinJS
|
|
479
|
+
// Gets the height of the element, including its margins.
|
|
480
|
+
export function getTotalHeight(element) {
|
|
481
|
+
const margin = SizeUtils.getMarginTop(element) + SizeUtils.getMarginBottom(element);
|
|
482
|
+
return element.offsetHeight + margin;
|
|
483
|
+
}
|
|
484
|
+
// ----------------------------------------------------------------------------------------
|
|
485
|
+
export function isAncestor(testChild, testAncestor) {
|
|
486
|
+
return Boolean(testAncestor === null || testAncestor === void 0 ? void 0 : testAncestor.contains(testChild));
|
|
487
|
+
}
|
|
488
|
+
export function findParentWithClass(node, clazz, stopAtClazzOrNode) {
|
|
489
|
+
while (node && node.nodeType === node.ELEMENT_NODE) {
|
|
490
|
+
if (node.classList.contains(clazz)) {
|
|
491
|
+
return node;
|
|
492
|
+
}
|
|
493
|
+
if (stopAtClazzOrNode) {
|
|
494
|
+
if (typeof stopAtClazzOrNode === 'string') {
|
|
495
|
+
if (node.classList.contains(stopAtClazzOrNode)) {
|
|
496
|
+
return null;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
else {
|
|
500
|
+
if (node === stopAtClazzOrNode) {
|
|
501
|
+
return null;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
node = node.parentNode;
|
|
506
|
+
}
|
|
507
|
+
return null;
|
|
508
|
+
}
|
|
509
|
+
export function hasParentWithClass(node, clazz, stopAtClazzOrNode) {
|
|
510
|
+
return !!findParentWithClass(node, clazz, stopAtClazzOrNode);
|
|
511
|
+
}
|
|
512
|
+
export function isShadowRoot(node) {
|
|
513
|
+
return (node && !!node.host && !!node.mode);
|
|
514
|
+
}
|
|
515
|
+
export function isInShadowDOM(domNode) {
|
|
516
|
+
return !!getShadowRoot(domNode);
|
|
517
|
+
}
|
|
518
|
+
export function getShadowRoot(domNode) {
|
|
519
|
+
var _a;
|
|
520
|
+
while (domNode.parentNode) {
|
|
521
|
+
if (domNode === ((_a = domNode.ownerDocument) === null || _a === void 0 ? void 0 : _a.body)) {
|
|
522
|
+
// reached the body
|
|
523
|
+
return null;
|
|
524
|
+
}
|
|
525
|
+
domNode = domNode.parentNode;
|
|
526
|
+
}
|
|
527
|
+
return isShadowRoot(domNode) ? domNode : null;
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* Returns the active element across all child windows.
|
|
531
|
+
* Use this instead of `document.activeElement` to handle multiple windows.
|
|
532
|
+
*/
|
|
533
|
+
export function getActiveElement() {
|
|
534
|
+
let result = getActiveDocument().activeElement;
|
|
535
|
+
while (result === null || result === void 0 ? void 0 : result.shadowRoot) {
|
|
536
|
+
result = result.shadowRoot.activeElement;
|
|
537
|
+
}
|
|
538
|
+
return result;
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* Returns whether the active element of the `document` that owns
|
|
542
|
+
* the `element` is `element`.
|
|
543
|
+
*/
|
|
544
|
+
export function isActiveElement(element) {
|
|
545
|
+
return element.ownerDocument.activeElement === element;
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* Returns whether the active element of the `document` that owns
|
|
549
|
+
* the `ancestor` is contained in `ancestor`.
|
|
550
|
+
*/
|
|
551
|
+
export function isAncestorOfActiveElement(ancestor) {
|
|
552
|
+
return isAncestor(ancestor.ownerDocument.activeElement, ancestor);
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* Returns the active document across all child windows.
|
|
556
|
+
* Use this instead of `document` when reacting to dom
|
|
557
|
+
* events to handle multiple windows.
|
|
558
|
+
*/
|
|
559
|
+
export function getActiveDocument() {
|
|
560
|
+
var _a;
|
|
561
|
+
if (getWindowsCount() <= 1) {
|
|
562
|
+
return document;
|
|
563
|
+
}
|
|
564
|
+
const documents = Array.from(getWindows()).map(({ window }) => window.document);
|
|
565
|
+
return (_a = documents.find(doc => doc.hasFocus())) !== null && _a !== void 0 ? _a : document;
|
|
566
|
+
}
|
|
567
|
+
export function getActiveWindow() {
|
|
568
|
+
var _a, _b;
|
|
569
|
+
const document = getActiveDocument();
|
|
570
|
+
return ((_b = (_a = document.defaultView) === null || _a === void 0 ? void 0 : _a.window) !== null && _b !== void 0 ? _b : mainWindow);
|
|
571
|
+
}
|
|
572
|
+
const globalStylesheets = new Map();
|
|
573
|
+
export function createStyleSheet(container = mainWindow.document.head, beforeAppend, disposableStore) {
|
|
574
|
+
const style = document.createElement('style');
|
|
575
|
+
style.type = 'text/css';
|
|
576
|
+
style.media = 'screen';
|
|
577
|
+
beforeAppend === null || beforeAppend === void 0 ? void 0 : beforeAppend(style);
|
|
578
|
+
container.appendChild(style);
|
|
579
|
+
if (disposableStore) {
|
|
580
|
+
disposableStore.add(toDisposable(() => container.removeChild(style)));
|
|
581
|
+
}
|
|
582
|
+
// With <head> as container, the stylesheet becomes global and is tracked
|
|
583
|
+
// to support auxiliary windows to clone the stylesheet.
|
|
584
|
+
if (container === mainWindow.document.head) {
|
|
585
|
+
const globalStylesheetClones = new Set();
|
|
586
|
+
globalStylesheets.set(style, globalStylesheetClones);
|
|
587
|
+
for (const { window: targetWindow, disposables } of getWindows()) {
|
|
588
|
+
if (targetWindow === mainWindow) {
|
|
589
|
+
continue; // main window is already tracked
|
|
590
|
+
}
|
|
591
|
+
const cloneDisposable = disposables.add(cloneGlobalStyleSheet(style, globalStylesheetClones, targetWindow));
|
|
592
|
+
disposableStore === null || disposableStore === void 0 ? void 0 : disposableStore.add(cloneDisposable);
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
return style;
|
|
596
|
+
}
|
|
597
|
+
function cloneGlobalStyleSheet(globalStylesheet, globalStylesheetClones, targetWindow) {
|
|
598
|
+
var _a, _b;
|
|
599
|
+
const disposables = new DisposableStore();
|
|
600
|
+
const clone = globalStylesheet.cloneNode(true);
|
|
601
|
+
targetWindow.document.head.appendChild(clone);
|
|
602
|
+
disposables.add(toDisposable(() => targetWindow.document.head.removeChild(clone)));
|
|
603
|
+
for (const rule of getDynamicStyleSheetRules(globalStylesheet)) {
|
|
604
|
+
(_a = clone.sheet) === null || _a === void 0 ? void 0 : _a.insertRule(rule.cssText, (_b = clone.sheet) === null || _b === void 0 ? void 0 : _b.cssRules.length);
|
|
605
|
+
}
|
|
606
|
+
disposables.add(sharedMutationObserver.observe(globalStylesheet, disposables, { childList: true })(() => {
|
|
607
|
+
clone.textContent = globalStylesheet.textContent;
|
|
608
|
+
}));
|
|
609
|
+
globalStylesheetClones.add(clone);
|
|
610
|
+
disposables.add(toDisposable(() => globalStylesheetClones.delete(clone)));
|
|
611
|
+
return disposables;
|
|
612
|
+
}
|
|
613
|
+
export const sharedMutationObserver = new class {
|
|
614
|
+
constructor() {
|
|
615
|
+
this.mutationObservers = new Map();
|
|
616
|
+
}
|
|
617
|
+
observe(target, disposables, options) {
|
|
618
|
+
let mutationObserversPerTarget = this.mutationObservers.get(target);
|
|
619
|
+
if (!mutationObserversPerTarget) {
|
|
620
|
+
mutationObserversPerTarget = new Map();
|
|
621
|
+
this.mutationObservers.set(target, mutationObserversPerTarget);
|
|
622
|
+
}
|
|
623
|
+
const optionsHash = hash(options);
|
|
624
|
+
let mutationObserverPerOptions = mutationObserversPerTarget.get(optionsHash);
|
|
625
|
+
if (!mutationObserverPerOptions) {
|
|
626
|
+
const onDidMutate = new event.Emitter();
|
|
627
|
+
const observer = new MutationObserver(mutations => onDidMutate.fire(mutations));
|
|
628
|
+
observer.observe(target, options);
|
|
629
|
+
const resolvedMutationObserverPerOptions = mutationObserverPerOptions = {
|
|
630
|
+
users: 1,
|
|
631
|
+
observer,
|
|
632
|
+
onDidMutate: onDidMutate.event
|
|
633
|
+
};
|
|
634
|
+
disposables.add(toDisposable(() => {
|
|
635
|
+
resolvedMutationObserverPerOptions.users -= 1;
|
|
636
|
+
if (resolvedMutationObserverPerOptions.users === 0) {
|
|
637
|
+
onDidMutate.dispose();
|
|
638
|
+
observer.disconnect();
|
|
639
|
+
mutationObserversPerTarget === null || mutationObserversPerTarget === void 0 ? void 0 : mutationObserversPerTarget.delete(optionsHash);
|
|
640
|
+
if ((mutationObserversPerTarget === null || mutationObserversPerTarget === void 0 ? void 0 : mutationObserversPerTarget.size) === 0) {
|
|
641
|
+
this.mutationObservers.delete(target);
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
}));
|
|
645
|
+
mutationObserversPerTarget.set(optionsHash, mutationObserverPerOptions);
|
|
646
|
+
}
|
|
647
|
+
else {
|
|
648
|
+
mutationObserverPerOptions.users += 1;
|
|
649
|
+
}
|
|
650
|
+
return mutationObserverPerOptions.onDidMutate;
|
|
651
|
+
}
|
|
652
|
+
};
|
|
653
|
+
let _sharedStyleSheet = null;
|
|
654
|
+
function getSharedStyleSheet() {
|
|
655
|
+
if (!_sharedStyleSheet) {
|
|
656
|
+
_sharedStyleSheet = createStyleSheet();
|
|
657
|
+
}
|
|
658
|
+
return _sharedStyleSheet;
|
|
659
|
+
}
|
|
660
|
+
function getDynamicStyleSheetRules(style) {
|
|
661
|
+
var _a, _b;
|
|
662
|
+
if ((_a = style === null || style === void 0 ? void 0 : style.sheet) === null || _a === void 0 ? void 0 : _a.rules) {
|
|
663
|
+
// Chrome, IE
|
|
664
|
+
return style.sheet.rules;
|
|
665
|
+
}
|
|
666
|
+
if ((_b = style === null || style === void 0 ? void 0 : style.sheet) === null || _b === void 0 ? void 0 : _b.cssRules) {
|
|
667
|
+
// FF
|
|
668
|
+
return style.sheet.cssRules;
|
|
669
|
+
}
|
|
670
|
+
return [];
|
|
671
|
+
}
|
|
672
|
+
export function createCSSRule(selector, cssText, style = getSharedStyleSheet()) {
|
|
673
|
+
var _a, _b;
|
|
674
|
+
if (!style || !cssText) {
|
|
675
|
+
return;
|
|
676
|
+
}
|
|
677
|
+
(_a = style.sheet) === null || _a === void 0 ? void 0 : _a.insertRule(`${selector} {${cssText}}`, 0);
|
|
678
|
+
// Apply rule also to all cloned global stylesheets
|
|
679
|
+
for (const clonedGlobalStylesheet of (_b = globalStylesheets.get(style)) !== null && _b !== void 0 ? _b : []) {
|
|
680
|
+
createCSSRule(selector, cssText, clonedGlobalStylesheet);
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
export function removeCSSRulesContainingSelector(ruleName, style = getSharedStyleSheet()) {
|
|
684
|
+
var _a, _b;
|
|
685
|
+
if (!style) {
|
|
686
|
+
return;
|
|
687
|
+
}
|
|
688
|
+
const rules = getDynamicStyleSheetRules(style);
|
|
689
|
+
const toDelete = [];
|
|
690
|
+
for (let i = 0; i < rules.length; i++) {
|
|
691
|
+
const rule = rules[i];
|
|
692
|
+
if (isCSSStyleRule(rule) && rule.selectorText.indexOf(ruleName) !== -1) {
|
|
693
|
+
toDelete.push(i);
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
for (let i = toDelete.length - 1; i >= 0; i--) {
|
|
697
|
+
(_a = style.sheet) === null || _a === void 0 ? void 0 : _a.deleteRule(toDelete[i]);
|
|
698
|
+
}
|
|
699
|
+
// Remove rules also from all cloned global stylesheets
|
|
700
|
+
for (const clonedGlobalStylesheet of (_b = globalStylesheets.get(style)) !== null && _b !== void 0 ? _b : []) {
|
|
701
|
+
removeCSSRulesContainingSelector(ruleName, clonedGlobalStylesheet);
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
function isCSSStyleRule(rule) {
|
|
705
|
+
return typeof rule.selectorText === 'string';
|
|
706
|
+
}
|
|
707
|
+
export function isMouseEvent(e) {
|
|
708
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
709
|
+
return e instanceof MouseEvent || e instanceof getWindow(e).MouseEvent;
|
|
710
|
+
}
|
|
711
|
+
export function isKeyboardEvent(e) {
|
|
712
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
713
|
+
return e instanceof KeyboardEvent || e instanceof getWindow(e).KeyboardEvent;
|
|
714
|
+
}
|
|
715
|
+
export const EventType = {
|
|
716
|
+
// Mouse
|
|
717
|
+
CLICK: 'click',
|
|
718
|
+
AUXCLICK: 'auxclick',
|
|
719
|
+
DBLCLICK: 'dblclick',
|
|
720
|
+
MOUSE_UP: 'mouseup',
|
|
721
|
+
MOUSE_DOWN: 'mousedown',
|
|
722
|
+
MOUSE_OVER: 'mouseover',
|
|
723
|
+
MOUSE_MOVE: 'mousemove',
|
|
724
|
+
MOUSE_OUT: 'mouseout',
|
|
725
|
+
MOUSE_ENTER: 'mouseenter',
|
|
726
|
+
MOUSE_LEAVE: 'mouseleave',
|
|
727
|
+
MOUSE_WHEEL: 'wheel',
|
|
728
|
+
POINTER_UP: 'pointerup',
|
|
729
|
+
POINTER_DOWN: 'pointerdown',
|
|
730
|
+
POINTER_MOVE: 'pointermove',
|
|
731
|
+
POINTER_LEAVE: 'pointerleave',
|
|
732
|
+
CONTEXT_MENU: 'contextmenu',
|
|
733
|
+
WHEEL: 'wheel',
|
|
734
|
+
// Keyboard
|
|
735
|
+
KEY_DOWN: 'keydown',
|
|
736
|
+
KEY_PRESS: 'keypress',
|
|
737
|
+
KEY_UP: 'keyup',
|
|
738
|
+
// HTML Document
|
|
739
|
+
LOAD: 'load',
|
|
740
|
+
BEFORE_UNLOAD: 'beforeunload',
|
|
741
|
+
UNLOAD: 'unload',
|
|
742
|
+
PAGE_SHOW: 'pageshow',
|
|
743
|
+
PAGE_HIDE: 'pagehide',
|
|
744
|
+
PASTE: 'paste',
|
|
745
|
+
ABORT: 'abort',
|
|
746
|
+
ERROR: 'error',
|
|
747
|
+
RESIZE: 'resize',
|
|
748
|
+
SCROLL: 'scroll',
|
|
749
|
+
FULLSCREEN_CHANGE: 'fullscreenchange',
|
|
750
|
+
WK_FULLSCREEN_CHANGE: 'webkitfullscreenchange',
|
|
751
|
+
// Form
|
|
752
|
+
SELECT: 'select',
|
|
753
|
+
CHANGE: 'change',
|
|
754
|
+
SUBMIT: 'submit',
|
|
755
|
+
RESET: 'reset',
|
|
756
|
+
FOCUS: 'focus',
|
|
757
|
+
FOCUS_IN: 'focusin',
|
|
758
|
+
FOCUS_OUT: 'focusout',
|
|
759
|
+
BLUR: 'blur',
|
|
760
|
+
INPUT: 'input',
|
|
761
|
+
// Local Storage
|
|
762
|
+
STORAGE: 'storage',
|
|
763
|
+
// Drag
|
|
764
|
+
DRAG_START: 'dragstart',
|
|
765
|
+
DRAG: 'drag',
|
|
766
|
+
DRAG_ENTER: 'dragenter',
|
|
767
|
+
DRAG_LEAVE: 'dragleave',
|
|
768
|
+
DRAG_OVER: 'dragover',
|
|
769
|
+
DROP: 'drop',
|
|
770
|
+
DRAG_END: 'dragend',
|
|
771
|
+
// Animation
|
|
772
|
+
ANIMATION_START: browser.isWebKit ? 'webkitAnimationStart' : 'animationstart',
|
|
773
|
+
ANIMATION_END: browser.isWebKit ? 'webkitAnimationEnd' : 'animationend',
|
|
774
|
+
ANIMATION_ITERATION: browser.isWebKit ? 'webkitAnimationIteration' : 'animationiteration'
|
|
775
|
+
};
|
|
776
|
+
export function isEventLike(obj) {
|
|
777
|
+
const candidate = obj;
|
|
778
|
+
return !!(candidate && typeof candidate.preventDefault === 'function' && typeof candidate.stopPropagation === 'function');
|
|
779
|
+
}
|
|
780
|
+
export const EventHelper = {
|
|
781
|
+
stop: (e, cancelBubble) => {
|
|
782
|
+
e.preventDefault();
|
|
783
|
+
if (cancelBubble) {
|
|
784
|
+
e.stopPropagation();
|
|
785
|
+
}
|
|
786
|
+
return e;
|
|
787
|
+
}
|
|
788
|
+
};
|
|
789
|
+
export function saveParentsScrollTop(node) {
|
|
790
|
+
const r = [];
|
|
791
|
+
for (let i = 0; node && node.nodeType === node.ELEMENT_NODE; i++) {
|
|
792
|
+
r[i] = node.scrollTop;
|
|
793
|
+
node = node.parentNode;
|
|
794
|
+
}
|
|
795
|
+
return r;
|
|
796
|
+
}
|
|
797
|
+
export function restoreParentsScrollTop(node, state) {
|
|
798
|
+
for (let i = 0; node && node.nodeType === node.ELEMENT_NODE; i++) {
|
|
799
|
+
if (node.scrollTop !== state[i]) {
|
|
800
|
+
node.scrollTop = state[i];
|
|
801
|
+
}
|
|
802
|
+
node = node.parentNode;
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
class FocusTracker extends Disposable {
|
|
806
|
+
static hasFocusWithin(element) {
|
|
807
|
+
if (element instanceof HTMLElement) {
|
|
808
|
+
const shadowRoot = getShadowRoot(element);
|
|
809
|
+
const activeElement = (shadowRoot ? shadowRoot.activeElement : element.ownerDocument.activeElement);
|
|
810
|
+
return isAncestor(activeElement, element);
|
|
811
|
+
}
|
|
812
|
+
else {
|
|
813
|
+
const window = element;
|
|
814
|
+
return isAncestor(window.document.activeElement, window.document);
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
constructor(element) {
|
|
818
|
+
super();
|
|
819
|
+
this._onDidFocus = this._register(new event.Emitter());
|
|
820
|
+
this.onDidFocus = this._onDidFocus.event;
|
|
821
|
+
this._onDidBlur = this._register(new event.Emitter());
|
|
822
|
+
this.onDidBlur = this._onDidBlur.event;
|
|
823
|
+
let hasFocus = FocusTracker.hasFocusWithin(element);
|
|
824
|
+
let loosingFocus = false;
|
|
825
|
+
const onFocus = () => {
|
|
826
|
+
loosingFocus = false;
|
|
827
|
+
if (!hasFocus) {
|
|
828
|
+
hasFocus = true;
|
|
829
|
+
this._onDidFocus.fire();
|
|
830
|
+
}
|
|
831
|
+
};
|
|
832
|
+
const onBlur = () => {
|
|
833
|
+
if (hasFocus) {
|
|
834
|
+
loosingFocus = true;
|
|
835
|
+
(element instanceof HTMLElement ? getWindow(element) : element).setTimeout(() => {
|
|
836
|
+
if (loosingFocus) {
|
|
837
|
+
loosingFocus = false;
|
|
838
|
+
hasFocus = false;
|
|
839
|
+
this._onDidBlur.fire();
|
|
840
|
+
}
|
|
841
|
+
}, 0);
|
|
842
|
+
}
|
|
843
|
+
};
|
|
844
|
+
this._refreshStateHandler = () => {
|
|
845
|
+
const currentNodeHasFocus = FocusTracker.hasFocusWithin(element);
|
|
846
|
+
if (currentNodeHasFocus !== hasFocus) {
|
|
847
|
+
if (hasFocus) {
|
|
848
|
+
onBlur();
|
|
849
|
+
}
|
|
850
|
+
else {
|
|
851
|
+
onFocus();
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
};
|
|
855
|
+
this._register(addDisposableListener(element, EventType.FOCUS, onFocus, true));
|
|
856
|
+
this._register(addDisposableListener(element, EventType.BLUR, onBlur, true));
|
|
857
|
+
if (element instanceof HTMLElement) {
|
|
858
|
+
this._register(addDisposableListener(element, EventType.FOCUS_IN, () => this._refreshStateHandler()));
|
|
859
|
+
this._register(addDisposableListener(element, EventType.FOCUS_OUT, () => this._refreshStateHandler()));
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
/**
|
|
864
|
+
* Creates a new `IFocusTracker` instance that tracks focus changes on the given `element` and its descendants.
|
|
865
|
+
*
|
|
866
|
+
* @param element The `HTMLElement` or `Window` to track focus changes on.
|
|
867
|
+
* @returns An `IFocusTracker` instance.
|
|
868
|
+
*/
|
|
869
|
+
export function trackFocus(element) {
|
|
870
|
+
return new FocusTracker(element);
|
|
871
|
+
}
|
|
872
|
+
export function after(sibling, child) {
|
|
873
|
+
sibling.after(child);
|
|
874
|
+
return child;
|
|
875
|
+
}
|
|
876
|
+
export function append(parent, ...children) {
|
|
877
|
+
parent.append(...children);
|
|
878
|
+
if (children.length === 1 && typeof children[0] !== 'string') {
|
|
879
|
+
return children[0];
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
export function prepend(parent, child) {
|
|
883
|
+
parent.insertBefore(child, parent.firstChild);
|
|
884
|
+
return child;
|
|
885
|
+
}
|
|
886
|
+
/**
|
|
887
|
+
* Removes all children from `parent` and appends `children`
|
|
888
|
+
*/
|
|
889
|
+
export function reset(parent, ...children) {
|
|
890
|
+
parent.innerText = '';
|
|
891
|
+
append(parent, ...children);
|
|
892
|
+
}
|
|
893
|
+
const SELECTOR_REGEX = /([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;
|
|
894
|
+
export var Namespace;
|
|
895
|
+
(function (Namespace) {
|
|
896
|
+
Namespace["HTML"] = "http://www.w3.org/1999/xhtml";
|
|
897
|
+
Namespace["SVG"] = "http://www.w3.org/2000/svg";
|
|
898
|
+
})(Namespace || (Namespace = {}));
|
|
899
|
+
function _$(namespace, description, attrs, ...children) {
|
|
900
|
+
const match = SELECTOR_REGEX.exec(description);
|
|
901
|
+
if (!match) {
|
|
902
|
+
throw new Error('Bad use of emmet');
|
|
903
|
+
}
|
|
904
|
+
const tagName = match[1] || 'div';
|
|
905
|
+
let result;
|
|
906
|
+
if (namespace !== Namespace.HTML) {
|
|
907
|
+
result = document.createElementNS(namespace, tagName);
|
|
908
|
+
}
|
|
909
|
+
else {
|
|
910
|
+
result = document.createElement(tagName);
|
|
911
|
+
}
|
|
912
|
+
if (match[3]) {
|
|
913
|
+
result.id = match[3];
|
|
914
|
+
}
|
|
915
|
+
if (match[4]) {
|
|
916
|
+
result.className = match[4].replace(/\./g, ' ').trim();
|
|
917
|
+
}
|
|
918
|
+
if (attrs) {
|
|
919
|
+
Object.entries(attrs).forEach(([name, value]) => {
|
|
920
|
+
if (typeof value === 'undefined') {
|
|
921
|
+
return;
|
|
922
|
+
}
|
|
923
|
+
if (/^on\w+$/.test(name)) {
|
|
924
|
+
result[name] = value;
|
|
925
|
+
}
|
|
926
|
+
else if (name === 'selected') {
|
|
927
|
+
if (value) {
|
|
928
|
+
result.setAttribute(name, 'true');
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
else {
|
|
932
|
+
result.setAttribute(name, value);
|
|
933
|
+
}
|
|
934
|
+
});
|
|
935
|
+
}
|
|
936
|
+
result.append(...children);
|
|
937
|
+
return result;
|
|
938
|
+
}
|
|
939
|
+
export function $(description, attrs, ...children) {
|
|
940
|
+
return _$(Namespace.HTML, description, attrs, ...children);
|
|
941
|
+
}
|
|
942
|
+
$.SVG = function (description, attrs, ...children) {
|
|
943
|
+
return _$(Namespace.SVG, description, attrs, ...children);
|
|
944
|
+
};
|
|
945
|
+
export function setVisibility(visible, ...elements) {
|
|
946
|
+
if (visible) {
|
|
947
|
+
show(...elements);
|
|
948
|
+
}
|
|
949
|
+
else {
|
|
950
|
+
hide(...elements);
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
export function show(...elements) {
|
|
954
|
+
for (const element of elements) {
|
|
955
|
+
element.style.display = '';
|
|
956
|
+
element.removeAttribute('aria-hidden');
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
export function hide(...elements) {
|
|
960
|
+
for (const element of elements) {
|
|
961
|
+
element.style.display = 'none';
|
|
962
|
+
element.setAttribute('aria-hidden', 'true');
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
/**
|
|
966
|
+
* Find a value usable for a dom node size such that the likelihood that it would be
|
|
967
|
+
* displayed with constant screen pixels size is as high as possible.
|
|
968
|
+
*
|
|
969
|
+
* e.g. We would desire for the cursors to be 2px (CSS px) wide. Under a devicePixelRatio
|
|
970
|
+
* of 1.25, the cursor will be 2.5 screen pixels wide. Depending on how the dom node aligns/"snaps"
|
|
971
|
+
* with the screen pixels, it will sometimes be rendered with 2 screen pixels, and sometimes with 3 screen pixels.
|
|
972
|
+
*/
|
|
973
|
+
export function computeScreenAwareSize(window, cssPx) {
|
|
974
|
+
const screenPx = window.devicePixelRatio * cssPx;
|
|
975
|
+
return Math.max(1, Math.floor(screenPx)) / window.devicePixelRatio;
|
|
976
|
+
}
|
|
977
|
+
/**
|
|
978
|
+
* Open safely a new window. This is the best way to do so, but you cannot tell
|
|
979
|
+
* if the window was opened or if it was blocked by the browser's popup blocker.
|
|
980
|
+
* If you want to tell if the browser blocked the new window, use {@link windowOpenWithSuccess}.
|
|
981
|
+
*
|
|
982
|
+
* See https://github.com/microsoft/monaco-editor/issues/601
|
|
983
|
+
* To protect against malicious code in the linked site, particularly phishing attempts,
|
|
984
|
+
* the window.opener should be set to null to prevent the linked site from having access
|
|
985
|
+
* to change the location of the current page.
|
|
986
|
+
* See https://mathiasbynens.github.io/rel-noopener/
|
|
987
|
+
*/
|
|
988
|
+
export function windowOpenNoOpener(url) {
|
|
989
|
+
// By using 'noopener' in the `windowFeatures` argument, the newly created window will
|
|
990
|
+
// not be able to use `window.opener` to reach back to the current page.
|
|
991
|
+
// See https://stackoverflow.com/a/46958731
|
|
992
|
+
// See https://developer.mozilla.org/en-US/docs/Web/API/Window/open#noopener
|
|
993
|
+
// However, this also doesn't allow us to realize if the browser blocked
|
|
994
|
+
// the creation of the window.
|
|
995
|
+
mainWindow.open(url, '_blank', 'noopener');
|
|
996
|
+
}
|
|
997
|
+
export function animate(targetWindow, fn) {
|
|
998
|
+
const step = () => {
|
|
999
|
+
fn();
|
|
1000
|
+
stepDisposable = scheduleAtNextAnimationFrame(targetWindow, step);
|
|
1001
|
+
};
|
|
1002
|
+
let stepDisposable = scheduleAtNextAnimationFrame(targetWindow, step);
|
|
1003
|
+
return toDisposable(() => stepDisposable.dispose());
|
|
1004
|
+
}
|
|
1005
|
+
RemoteAuthorities.setPreferredWebSchema(/^https:/.test(mainWindow.location.href) ? 'https' : 'http');
|
|
1006
|
+
/**
|
|
1007
|
+
* returns url('...')
|
|
1008
|
+
*/
|
|
1009
|
+
export function asCSSUrl(uri) {
|
|
1010
|
+
if (!uri) {
|
|
1011
|
+
return `url('')`;
|
|
1012
|
+
}
|
|
1013
|
+
return `url('${FileAccess.uriToBrowserUri(uri).toString(true).replace(/'/g, '%27')}')`;
|
|
1014
|
+
}
|
|
1015
|
+
export function asCSSPropertyValue(value) {
|
|
1016
|
+
return `'${value.replace(/'/g, '%27')}'`;
|
|
1017
|
+
}
|
|
1018
|
+
export function asCssValueWithDefault(cssPropertyValue, dflt) {
|
|
1019
|
+
if (cssPropertyValue !== undefined) {
|
|
1020
|
+
const variableMatch = cssPropertyValue.match(/^\s*var\((.+)\)$/);
|
|
1021
|
+
if (variableMatch) {
|
|
1022
|
+
const varArguments = variableMatch[1].split(',', 2);
|
|
1023
|
+
if (varArguments.length === 2) {
|
|
1024
|
+
dflt = asCssValueWithDefault(varArguments[1].trim(), dflt);
|
|
1025
|
+
}
|
|
1026
|
+
return `var(${varArguments[0]}, ${dflt})`;
|
|
1027
|
+
}
|
|
1028
|
+
return cssPropertyValue;
|
|
1029
|
+
}
|
|
1030
|
+
return dflt;
|
|
1031
|
+
}
|
|
1032
|
+
// -- sanitize and trusted html
|
|
1033
|
+
/**
|
|
1034
|
+
* Hooks dompurify using `afterSanitizeAttributes` to check that all `href` and `src`
|
|
1035
|
+
* attributes are valid.
|
|
1036
|
+
*/
|
|
1037
|
+
export function hookDomPurifyHrefAndSrcSanitizer(allowedProtocols, allowDataImages = false) {
|
|
1038
|
+
// https://github.com/cure53/DOMPurify/blob/main/demos/hooks-scheme-allowlist.html
|
|
1039
|
+
// build an anchor to map URLs to
|
|
1040
|
+
const anchor = document.createElement('a');
|
|
1041
|
+
dompurify.addHook('afterSanitizeAttributes', (node) => {
|
|
1042
|
+
// check all href/src attributes for validity
|
|
1043
|
+
for (const attr of ['href', 'src']) {
|
|
1044
|
+
if (node.hasAttribute(attr)) {
|
|
1045
|
+
const attrValue = node.getAttribute(attr);
|
|
1046
|
+
if (attr === 'href' && attrValue.startsWith('#')) {
|
|
1047
|
+
// Allow fragment links
|
|
1048
|
+
continue;
|
|
1049
|
+
}
|
|
1050
|
+
anchor.href = attrValue;
|
|
1051
|
+
if (!allowedProtocols.includes(anchor.protocol.replace(/:$/, ''))) {
|
|
1052
|
+
if (allowDataImages && attr === 'src' && anchor.href.startsWith('data:')) {
|
|
1053
|
+
continue;
|
|
1054
|
+
}
|
|
1055
|
+
node.removeAttribute(attr);
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
});
|
|
1060
|
+
return toDisposable(() => {
|
|
1061
|
+
dompurify.removeHook('afterSanitizeAttributes');
|
|
1062
|
+
});
|
|
1063
|
+
}
|
|
1064
|
+
/**
|
|
1065
|
+
* List of safe, non-input html tags.
|
|
1066
|
+
*/
|
|
1067
|
+
export const basicMarkupHtmlTags = Object.freeze([
|
|
1068
|
+
'a',
|
|
1069
|
+
'abbr',
|
|
1070
|
+
'b',
|
|
1071
|
+
'bdo',
|
|
1072
|
+
'blockquote',
|
|
1073
|
+
'br',
|
|
1074
|
+
'caption',
|
|
1075
|
+
'cite',
|
|
1076
|
+
'code',
|
|
1077
|
+
'col',
|
|
1078
|
+
'colgroup',
|
|
1079
|
+
'dd',
|
|
1080
|
+
'del',
|
|
1081
|
+
'details',
|
|
1082
|
+
'dfn',
|
|
1083
|
+
'div',
|
|
1084
|
+
'dl',
|
|
1085
|
+
'dt',
|
|
1086
|
+
'em',
|
|
1087
|
+
'figcaption',
|
|
1088
|
+
'figure',
|
|
1089
|
+
'h1',
|
|
1090
|
+
'h2',
|
|
1091
|
+
'h3',
|
|
1092
|
+
'h4',
|
|
1093
|
+
'h5',
|
|
1094
|
+
'h6',
|
|
1095
|
+
'hr',
|
|
1096
|
+
'i',
|
|
1097
|
+
'img',
|
|
1098
|
+
'ins',
|
|
1099
|
+
'kbd',
|
|
1100
|
+
'label',
|
|
1101
|
+
'li',
|
|
1102
|
+
'mark',
|
|
1103
|
+
'ol',
|
|
1104
|
+
'p',
|
|
1105
|
+
'pre',
|
|
1106
|
+
'q',
|
|
1107
|
+
'rp',
|
|
1108
|
+
'rt',
|
|
1109
|
+
'ruby',
|
|
1110
|
+
'samp',
|
|
1111
|
+
'small',
|
|
1112
|
+
'small',
|
|
1113
|
+
'source',
|
|
1114
|
+
'span',
|
|
1115
|
+
'strike',
|
|
1116
|
+
'strong',
|
|
1117
|
+
'sub',
|
|
1118
|
+
'summary',
|
|
1119
|
+
'sup',
|
|
1120
|
+
'table',
|
|
1121
|
+
'tbody',
|
|
1122
|
+
'td',
|
|
1123
|
+
'tfoot',
|
|
1124
|
+
'th',
|
|
1125
|
+
'thead',
|
|
1126
|
+
'time',
|
|
1127
|
+
'tr',
|
|
1128
|
+
'tt',
|
|
1129
|
+
'u',
|
|
1130
|
+
'ul',
|
|
1131
|
+
'var',
|
|
1132
|
+
'video',
|
|
1133
|
+
'wbr',
|
|
1134
|
+
]);
|
|
1135
|
+
const defaultDomPurifyConfig = Object.freeze({
|
|
1136
|
+
ALLOWED_TAGS: ['a', 'button', 'blockquote', 'code', 'div', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'input', 'label', 'li', 'p', 'pre', 'select', 'small', 'span', 'strong', 'textarea', 'ul', 'ol'],
|
|
1137
|
+
ALLOWED_ATTR: ['href', 'data-href', 'data-command', 'target', 'title', 'name', 'src', 'alt', 'class', 'id', 'role', 'tabindex', 'style', 'data-code', 'width', 'height', 'align', 'x-dispatch', 'required', 'checked', 'placeholder', 'type', 'start'],
|
|
1138
|
+
RETURN_DOM: false,
|
|
1139
|
+
RETURN_DOM_FRAGMENT: false,
|
|
1140
|
+
RETURN_TRUSTED_TYPE: true
|
|
1141
|
+
});
|
|
1142
|
+
export class ModifierKeyEmitter extends event.Emitter {
|
|
1143
|
+
constructor() {
|
|
1144
|
+
super();
|
|
1145
|
+
this._subscriptions = new DisposableStore();
|
|
1146
|
+
this._keyStatus = {
|
|
1147
|
+
altKey: false,
|
|
1148
|
+
shiftKey: false,
|
|
1149
|
+
ctrlKey: false,
|
|
1150
|
+
metaKey: false
|
|
1151
|
+
};
|
|
1152
|
+
this._subscriptions.add(event.Event.runAndSubscribe(onDidRegisterWindow, ({ window, disposables }) => this.registerListeners(window, disposables), { window: mainWindow, disposables: this._subscriptions }));
|
|
1153
|
+
}
|
|
1154
|
+
registerListeners(window, disposables) {
|
|
1155
|
+
disposables.add(addDisposableListener(window, 'keydown', e => {
|
|
1156
|
+
if (e.defaultPrevented) {
|
|
1157
|
+
return;
|
|
1158
|
+
}
|
|
1159
|
+
const event = new StandardKeyboardEvent(e);
|
|
1160
|
+
// If Alt-key keydown event is repeated, ignore it #112347
|
|
1161
|
+
// Only known to be necessary for Alt-Key at the moment #115810
|
|
1162
|
+
if (event.keyCode === 6 /* KeyCode.Alt */ && e.repeat) {
|
|
1163
|
+
return;
|
|
1164
|
+
}
|
|
1165
|
+
if (e.altKey && !this._keyStatus.altKey) {
|
|
1166
|
+
this._keyStatus.lastKeyPressed = 'alt';
|
|
1167
|
+
}
|
|
1168
|
+
else if (e.ctrlKey && !this._keyStatus.ctrlKey) {
|
|
1169
|
+
this._keyStatus.lastKeyPressed = 'ctrl';
|
|
1170
|
+
}
|
|
1171
|
+
else if (e.metaKey && !this._keyStatus.metaKey) {
|
|
1172
|
+
this._keyStatus.lastKeyPressed = 'meta';
|
|
1173
|
+
}
|
|
1174
|
+
else if (e.shiftKey && !this._keyStatus.shiftKey) {
|
|
1175
|
+
this._keyStatus.lastKeyPressed = 'shift';
|
|
1176
|
+
}
|
|
1177
|
+
else if (event.keyCode !== 6 /* KeyCode.Alt */) {
|
|
1178
|
+
this._keyStatus.lastKeyPressed = undefined;
|
|
1179
|
+
}
|
|
1180
|
+
else {
|
|
1181
|
+
return;
|
|
1182
|
+
}
|
|
1183
|
+
this._keyStatus.altKey = e.altKey;
|
|
1184
|
+
this._keyStatus.ctrlKey = e.ctrlKey;
|
|
1185
|
+
this._keyStatus.metaKey = e.metaKey;
|
|
1186
|
+
this._keyStatus.shiftKey = e.shiftKey;
|
|
1187
|
+
if (this._keyStatus.lastKeyPressed) {
|
|
1188
|
+
this._keyStatus.event = e;
|
|
1189
|
+
this.fire(this._keyStatus);
|
|
1190
|
+
}
|
|
1191
|
+
}, true));
|
|
1192
|
+
disposables.add(addDisposableListener(window, 'keyup', e => {
|
|
1193
|
+
if (e.defaultPrevented) {
|
|
1194
|
+
return;
|
|
1195
|
+
}
|
|
1196
|
+
if (!e.altKey && this._keyStatus.altKey) {
|
|
1197
|
+
this._keyStatus.lastKeyReleased = 'alt';
|
|
1198
|
+
}
|
|
1199
|
+
else if (!e.ctrlKey && this._keyStatus.ctrlKey) {
|
|
1200
|
+
this._keyStatus.lastKeyReleased = 'ctrl';
|
|
1201
|
+
}
|
|
1202
|
+
else if (!e.metaKey && this._keyStatus.metaKey) {
|
|
1203
|
+
this._keyStatus.lastKeyReleased = 'meta';
|
|
1204
|
+
}
|
|
1205
|
+
else if (!e.shiftKey && this._keyStatus.shiftKey) {
|
|
1206
|
+
this._keyStatus.lastKeyReleased = 'shift';
|
|
1207
|
+
}
|
|
1208
|
+
else {
|
|
1209
|
+
this._keyStatus.lastKeyReleased = undefined;
|
|
1210
|
+
}
|
|
1211
|
+
if (this._keyStatus.lastKeyPressed !== this._keyStatus.lastKeyReleased) {
|
|
1212
|
+
this._keyStatus.lastKeyPressed = undefined;
|
|
1213
|
+
}
|
|
1214
|
+
this._keyStatus.altKey = e.altKey;
|
|
1215
|
+
this._keyStatus.ctrlKey = e.ctrlKey;
|
|
1216
|
+
this._keyStatus.metaKey = e.metaKey;
|
|
1217
|
+
this._keyStatus.shiftKey = e.shiftKey;
|
|
1218
|
+
if (this._keyStatus.lastKeyReleased) {
|
|
1219
|
+
this._keyStatus.event = e;
|
|
1220
|
+
this.fire(this._keyStatus);
|
|
1221
|
+
}
|
|
1222
|
+
}, true));
|
|
1223
|
+
disposables.add(addDisposableListener(window.document.body, 'mousedown', () => {
|
|
1224
|
+
this._keyStatus.lastKeyPressed = undefined;
|
|
1225
|
+
}, true));
|
|
1226
|
+
disposables.add(addDisposableListener(window.document.body, 'mouseup', () => {
|
|
1227
|
+
this._keyStatus.lastKeyPressed = undefined;
|
|
1228
|
+
}, true));
|
|
1229
|
+
disposables.add(addDisposableListener(window.document.body, 'mousemove', e => {
|
|
1230
|
+
if (e.buttons) {
|
|
1231
|
+
this._keyStatus.lastKeyPressed = undefined;
|
|
1232
|
+
}
|
|
1233
|
+
}, true));
|
|
1234
|
+
disposables.add(addDisposableListener(window, 'blur', () => {
|
|
1235
|
+
this.resetKeyStatus();
|
|
1236
|
+
}));
|
|
1237
|
+
}
|
|
1238
|
+
get keyStatus() {
|
|
1239
|
+
return this._keyStatus;
|
|
1240
|
+
}
|
|
1241
|
+
/**
|
|
1242
|
+
* Allows to explicitly reset the key status based on more knowledge (#109062)
|
|
1243
|
+
*/
|
|
1244
|
+
resetKeyStatus() {
|
|
1245
|
+
this.doResetKeyStatus();
|
|
1246
|
+
this.fire(this._keyStatus);
|
|
1247
|
+
}
|
|
1248
|
+
doResetKeyStatus() {
|
|
1249
|
+
this._keyStatus = {
|
|
1250
|
+
altKey: false,
|
|
1251
|
+
shiftKey: false,
|
|
1252
|
+
ctrlKey: false,
|
|
1253
|
+
metaKey: false
|
|
1254
|
+
};
|
|
1255
|
+
}
|
|
1256
|
+
static getInstance() {
|
|
1257
|
+
if (!ModifierKeyEmitter.instance) {
|
|
1258
|
+
ModifierKeyEmitter.instance = new ModifierKeyEmitter();
|
|
1259
|
+
}
|
|
1260
|
+
return ModifierKeyEmitter.instance;
|
|
1261
|
+
}
|
|
1262
|
+
dispose() {
|
|
1263
|
+
super.dispose();
|
|
1264
|
+
this._subscriptions.dispose();
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
export class DragAndDropObserver extends Disposable {
|
|
1268
|
+
constructor(element, callbacks) {
|
|
1269
|
+
super();
|
|
1270
|
+
this.element = element;
|
|
1271
|
+
this.callbacks = callbacks;
|
|
1272
|
+
// A helper to fix issues with repeated DRAG_ENTER / DRAG_LEAVE
|
|
1273
|
+
// calls see https://github.com/microsoft/vscode/issues/14470
|
|
1274
|
+
// when the element has child elements where the events are fired
|
|
1275
|
+
// repeadedly.
|
|
1276
|
+
this.counter = 0;
|
|
1277
|
+
// Allows to measure the duration of the drag operation.
|
|
1278
|
+
this.dragStartTime = 0;
|
|
1279
|
+
this.registerListeners();
|
|
1280
|
+
}
|
|
1281
|
+
registerListeners() {
|
|
1282
|
+
if (this.callbacks.onDragStart) {
|
|
1283
|
+
this._register(addDisposableListener(this.element, EventType.DRAG_START, (e) => {
|
|
1284
|
+
var _a, _b;
|
|
1285
|
+
(_b = (_a = this.callbacks).onDragStart) === null || _b === void 0 ? void 0 : _b.call(_a, e);
|
|
1286
|
+
}));
|
|
1287
|
+
}
|
|
1288
|
+
if (this.callbacks.onDrag) {
|
|
1289
|
+
this._register(addDisposableListener(this.element, EventType.DRAG, (e) => {
|
|
1290
|
+
var _a, _b;
|
|
1291
|
+
(_b = (_a = this.callbacks).onDrag) === null || _b === void 0 ? void 0 : _b.call(_a, e);
|
|
1292
|
+
}));
|
|
1293
|
+
}
|
|
1294
|
+
this._register(addDisposableListener(this.element, EventType.DRAG_ENTER, (e) => {
|
|
1295
|
+
var _a, _b;
|
|
1296
|
+
this.counter++;
|
|
1297
|
+
this.dragStartTime = e.timeStamp;
|
|
1298
|
+
(_b = (_a = this.callbacks).onDragEnter) === null || _b === void 0 ? void 0 : _b.call(_a, e);
|
|
1299
|
+
}));
|
|
1300
|
+
this._register(addDisposableListener(this.element, EventType.DRAG_OVER, (e) => {
|
|
1301
|
+
var _a, _b;
|
|
1302
|
+
e.preventDefault(); // needed so that the drop event fires (https://stackoverflow.com/questions/21339924/drop-event-not-firing-in-chrome)
|
|
1303
|
+
(_b = (_a = this.callbacks).onDragOver) === null || _b === void 0 ? void 0 : _b.call(_a, e, e.timeStamp - this.dragStartTime);
|
|
1304
|
+
}));
|
|
1305
|
+
this._register(addDisposableListener(this.element, EventType.DRAG_LEAVE, (e) => {
|
|
1306
|
+
var _a, _b;
|
|
1307
|
+
this.counter--;
|
|
1308
|
+
if (this.counter === 0) {
|
|
1309
|
+
this.dragStartTime = 0;
|
|
1310
|
+
(_b = (_a = this.callbacks).onDragLeave) === null || _b === void 0 ? void 0 : _b.call(_a, e);
|
|
1311
|
+
}
|
|
1312
|
+
}));
|
|
1313
|
+
this._register(addDisposableListener(this.element, EventType.DRAG_END, (e) => {
|
|
1314
|
+
var _a, _b;
|
|
1315
|
+
this.counter = 0;
|
|
1316
|
+
this.dragStartTime = 0;
|
|
1317
|
+
(_b = (_a = this.callbacks).onDragEnd) === null || _b === void 0 ? void 0 : _b.call(_a, e);
|
|
1318
|
+
}));
|
|
1319
|
+
this._register(addDisposableListener(this.element, EventType.DROP, (e) => {
|
|
1320
|
+
var _a, _b;
|
|
1321
|
+
this.counter = 0;
|
|
1322
|
+
this.dragStartTime = 0;
|
|
1323
|
+
(_b = (_a = this.callbacks).onDrop) === null || _b === void 0 ? void 0 : _b.call(_a, e);
|
|
1324
|
+
}));
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
const H_REGEX = /(?<tag>[\w\-]+)?(?:#(?<id>[\w\-]+))?(?<class>(?:\.(?:[\w\-]+))*)(?:@(?<name>(?:[\w\_])+))?/;
|
|
1328
|
+
export function h(tag, ...args) {
|
|
1329
|
+
let attributes;
|
|
1330
|
+
let children;
|
|
1331
|
+
if (Array.isArray(args[0])) {
|
|
1332
|
+
attributes = {};
|
|
1333
|
+
children = args[0];
|
|
1334
|
+
}
|
|
1335
|
+
else {
|
|
1336
|
+
attributes = args[0] || {};
|
|
1337
|
+
children = args[1];
|
|
1338
|
+
}
|
|
1339
|
+
const match = H_REGEX.exec(tag);
|
|
1340
|
+
if (!match || !match.groups) {
|
|
1341
|
+
throw new Error('Bad use of h');
|
|
1342
|
+
}
|
|
1343
|
+
const tagName = match.groups['tag'] || 'div';
|
|
1344
|
+
const el = document.createElement(tagName);
|
|
1345
|
+
if (match.groups['id']) {
|
|
1346
|
+
el.id = match.groups['id'];
|
|
1347
|
+
}
|
|
1348
|
+
const classNames = [];
|
|
1349
|
+
if (match.groups['class']) {
|
|
1350
|
+
for (const className of match.groups['class'].split('.')) {
|
|
1351
|
+
if (className !== '') {
|
|
1352
|
+
classNames.push(className);
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
if (attributes.className !== undefined) {
|
|
1357
|
+
for (const className of attributes.className.split('.')) {
|
|
1358
|
+
if (className !== '') {
|
|
1359
|
+
classNames.push(className);
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
if (classNames.length > 0) {
|
|
1364
|
+
el.className = classNames.join(' ');
|
|
1365
|
+
}
|
|
1366
|
+
const result = {};
|
|
1367
|
+
if (match.groups['name']) {
|
|
1368
|
+
result[match.groups['name']] = el;
|
|
1369
|
+
}
|
|
1370
|
+
if (children) {
|
|
1371
|
+
for (const c of children) {
|
|
1372
|
+
if (c instanceof HTMLElement) {
|
|
1373
|
+
el.appendChild(c);
|
|
1374
|
+
}
|
|
1375
|
+
else if (typeof c === 'string') {
|
|
1376
|
+
el.append(c);
|
|
1377
|
+
}
|
|
1378
|
+
else if ('root' in c) {
|
|
1379
|
+
Object.assign(result, c);
|
|
1380
|
+
el.appendChild(c.root);
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
for (const [key, value] of Object.entries(attributes)) {
|
|
1385
|
+
if (key === 'className') {
|
|
1386
|
+
continue;
|
|
1387
|
+
}
|
|
1388
|
+
else if (key === 'style') {
|
|
1389
|
+
for (const [cssKey, cssValue] of Object.entries(value)) {
|
|
1390
|
+
el.style.setProperty(camelCaseToHyphenCase(cssKey), typeof cssValue === 'number' ? cssValue + 'px' : '' + cssValue);
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
else if (key === 'tabIndex') {
|
|
1394
|
+
el.tabIndex = value;
|
|
1395
|
+
}
|
|
1396
|
+
else {
|
|
1397
|
+
el.setAttribute(camelCaseToHyphenCase(key), value.toString());
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
result['root'] = el;
|
|
1401
|
+
return result;
|
|
1402
|
+
}
|
|
1403
|
+
function camelCaseToHyphenCase(str) {
|
|
1404
|
+
return str.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
1405
|
+
}
|