From f738a173fc88d04adb6276894d577b437cf0e532 Mon Sep 17 00:00:00 2001 From: Dave Nicolson Date: Sun, 12 Oct 2025 15:30:24 +0200 Subject: [PATCH] feat(parser): Add FormPopup.ts parser class (#1057) * Update src/parser/classes/FormPopup.ts --------- Co-authored-by: absidue <48293849+absidue@users.noreply.github.com> --- src/parser/classes/FormPopup.ts | 21 +++++++++++++++++++++ src/parser/nodes.ts | 1 + 2 files changed, 22 insertions(+) create mode 100644 src/parser/classes/FormPopup.ts diff --git a/src/parser/classes/FormPopup.ts b/src/parser/classes/FormPopup.ts new file mode 100644 index 00000000..a5a026a1 --- /dev/null +++ b/src/parser/classes/FormPopup.ts @@ -0,0 +1,21 @@ +import { YTNode } from '../helpers.js'; +import { Parser, type RawNode } from '../index.js'; +import { type ObservedArray } from '../helpers.js'; +import Text from './misc/Text.js'; +import Form from './Form.js'; +import Button from './Button.js'; + +export default class FormPopup extends YTNode { + static type = 'FormPopup'; + + title: Text; + form: Form | null; + buttons: ObservedArray