@mendix/pluggable-widgets-tools
Version:
Mendix Pluggable Widgets Tools
39 lines (36 loc) • 1.13 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fileNativeOutput = exports.fileWebOutput = void 0;
exports.fileWebOutput = `/**
* This file was generated from MyWidget.xml
* WARNING: All changes made to this file will be overwritten
* @author Mendix Widgets Framework Team
*/
import { ActionValue, DynamicValue, EditableValue, FileValue } from "mendix";
export interface MyWidgetContainerProps {
name: string;
tabIndex?: number;
id: string;
file: DynamicValue<FileValue>;
file2?: DynamicValue<FileValue>;
description: EditableValue<string>;
action?: ActionValue;
}
export interface MyWidgetPreviewProps {
readOnly: boolean;
renderMode: "design" | "xray" | "structure";
translate: (text: string) => string;
file: string;
file2: string;
description: string;
action: {} | null;
}
`;
exports.fileNativeOutput = `export interface MyWidgetProps<Style> {
name: string;
style: Style[];
file: DynamicValue<FileValue>;
file2?: DynamicValue<FileValue>;
description: EditableValue<string>;
action?: ActionValue;
}`;