project map script | semantic parcer

This commit is contained in:
2026-01-01 16:58:21 +03:00
parent a747a163c8
commit 4c6fc8256d
84 changed files with 10178 additions and 537 deletions

View File

@@ -18,6 +18,8 @@
let passwords = {};
let submitting = false;
// [DEF:handleSubmit:Function]
// @PURPOSE: Validates and dispatches the passwords to resume the task.
function handleSubmit() {
if (submitting) return;
@@ -32,11 +34,15 @@
dispatch('resume', { passwords });
// Reset submitting state is handled by parent or on close
}
// [/DEF:handleSubmit:Function]
// [DEF:handleCancel:Function]
// @PURPOSE: Cancels the password prompt.
function handleCancel() {
dispatch('cancel');
show = false;
}
// [/DEF:handleCancel:Function]
// Reset passwords when modal opens/closes
$: if (!show) {
@@ -120,4 +126,4 @@
</div>
</div>
{/if}
<!-- [/DEF:PasswordPrompt] -->
<!-- [/DEF:PasswordPrompt:Component] -->