/************
Processor: ts
************/
import * as dependency_0 from '@beyond-js/react-widgets/base';
// FILE: controller.d.ts
declare namespace ns_controller {
import ReactWidgetController = dependency_0.ReactWidgetController;
import Widget = ns_views_index.Widget;
class Controller extends ReactWidgetController {
get Widget(): typeof Widget;
}
}
// FILE: views\basic-template.d.ts
declare namespace ns_views_basictemplate {
const basicTemplate: ({
label: string;
name: string;
events: {};
options: {
type: string;
label: string;
value: string;
}[];
placeholder: string;
className: string;
data: any;
type: string;
} | {
label: string;
name: string;
events: {};
options: string;
placeholder: string;
className: string;
data: any;
type: string;
} | {
label: string;
name: string;
events: {};
placeholder: string;
className: string;
data: any;
type: string;
options?: undefined;
})[];
}
// FILE: views\implementations.d.ts
declare namespace ns_views_implementations {
const component = "\n\n";
const template = "\n[\n\t{\n\t\tlabel: 'Input radio',\n\t\tname: 'radio',\n\t\tevents: {},\n\t\toptions: [\n\t\t\t{ type: 'radioItem', label: 'Male', value: '2' },\n\t\t\t{ type: 'radioItem', label: 'Woman', value: '1' },\n\t\t],\n\t\tplaceholder: 'radio',\n\t\tclassName: 'input-control',\n\t\tdata: null,\n\t\ttype: 'radio',\n\t},\n\n\t{\n\t\tlabel: 'Input checkbox',\n\t\tname: 'checkbox',\n\t\tevents: {},\n\t\toptions: [\n\t\t\t{ type: 'checkItem', label: 'Argentina', value: '2' },\n\t\t\t{ type: 'checkItem', label: 'Brasil', value: '1' },\n\t\t],\n\t\tplaceholder: 'checkbox',\n\t\tclassName: 'input-control',\n\t\tdata: null,\n\t\ttype: 'checkbox',\n\t},\n\n\t{\n\t\tlabel: 'Input text',\n\t\tname: 'text',\n\t\tevents: {},\n\t\toptions: '',\n\t\tplaceholder: 'text',\n\t\tclassName: 'input-control',\n\t\tdata: null,\n\t\ttype: 'text',\n\t},\n\t{\n\t\tlabel: 'Input email',\n\t\tname: 'email',\n\t\tevents: {},\n\t\tplaceholder: 'email',\n\t\tclassName: 'input-control',\n\t\tdata: null,\n\t\ttype: 'email',\n\t},\n\t{\n\t\tlabel: 'Input number',\n\t\tname: 'number',\n\t\tevents: {},\n\t\tplaceholder: 'number',\n\t\tclassName: 'input-control',\n\t\tdata: null,\n\t\ttype: 'number',\n\t},\n\t{\n\t\tlabel: 'Input tel',\n\t\tname: 'tel',\n\t\tevents: {},\n\t\tplaceholder: 'tel',\n\t\tclassName: 'input-control',\n\t\tdata: null,\n\t\ttype: 'tel',\n\t},\n\t{\n\t\tlabel: 'Input password',\n\t\tname: 'password',\n\t\tevents: {},\n\t\tplaceholder: 'password',\n\t\tclassName: 'input-control',\n\t\tdata: null,\n\t\ttype: 'password',\n\t},\n];";
}
// FILE: views\index.d.tsx
declare namespace ns_views_index {
///
function Widget(): JSX.Element;
}
// FILE: views\results.d.tsx
declare namespace ns_views_results {
///
function Results(): JSX.Element;
}
export import Controller = ns_controller.Controller;
export import Widget = ns_views_index.Widget;
export declare const hmr: {on: (event: string, listener: any) => void, off: (event: string, listener: any) => void };