UNPKG

intentful

Version:

Create Custom Skills with less headache

24 lines (23 loc) 715 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.APLFrame = void 0; const helpers_1 = require("../../interfaces/helpers"); const component_1 = require("../component"); class APLFrame extends component_1.APLComponent { constructor(props) { super('Frame', props); } addItems(...items) { this.props.items.push(...items); return this; } componentSpecificModel() { return { ...this.convertMultiChildComponentPropsToModel(this.props) }; } componentSpecificRequestHandlers() { return (0, helpers_1.convertMultiChildComponentPropsToRequestHandlers)(this.props); } } exports.APLFrame = APLFrame;