Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
No EOL
779 B
Text
28 lines
No EOL
779 B
Text
"use strict";
|
|
/**
|
|
* @license
|
|
* Copyright 2017 Google Inc.
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.BidiDialog = void 0;
|
|
const Dialog_js_1 = require("../api/Dialog.js");
|
|
class BidiDialog extends Dialog_js_1.Dialog {
|
|
static from(prompt) {
|
|
return new BidiDialog(prompt);
|
|
}
|
|
#prompt;
|
|
constructor(prompt) {
|
|
super(prompt.info.type, prompt.info.message, prompt.info.defaultValue);
|
|
this.#prompt = prompt;
|
|
this.handled = prompt.handled;
|
|
}
|
|
async handle(options) {
|
|
await this.#prompt.handle({
|
|
accept: options.accept,
|
|
userText: options.text,
|
|
});
|
|
}
|
|
}
|
|
exports.BidiDialog = BidiDialog;
|
|
//# sourceMappingURL=Dialog.js.map |