UNPKG

@mendix/pluggable-widgets-tools

Version:
45 lines (42 loc) 1.31 kB
"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, EditableFileValue, EditableValue, FileValue } from "mendix"; export interface MyWidgetContainerProps { name: string; tabIndex?: number; id: string; file: DynamicValue<FileValue>; file2?: DynamicValue<FileValue>; file3: EditableFileValue; file4?: EditableFileValue; description: EditableValue<string>; action?: ActionValue; } export interface MyWidgetPreviewProps { readOnly: boolean; renderMode: "design" | "xray" | "structure"; translate: (text: string) => string; file: string; file2: string; file3: string; file4: string; description: string; action: {} | null; } `; exports.fileNativeOutput = `export interface MyWidgetProps<Style> { name: string; style: Style[]; file: DynamicValue<FileValue>; file2?: DynamicValue<FileValue>; file3: EditableFileValue; file4?: EditableFileValue; description: EditableValue<string>; action?: ActionValue; }`;