/** * QCObjects Framework SDK * ________________ * * Author: Jean Machuca * * Cross Browser Javascript Framework for MVC Patterns * QCObjects is licensed under the MIT License * [LICENSE] (https://github.com/QCObjects/qcobjects-sdk/blob/main/LICENSE.txt) * * Copyright (C) 2015 Jean Machuca, * * Everyone is permitted to copy and distribute verbatim copies of this * license document, but changing it is not allowed. */ "use strict"; import { Package, Component } from "qcobjects"; export class SlideListComponent extends Component { tplsource = "inline"; template = "

Loading...

"; name = "slidelist"; body: any; constructor(o: any) { super(o); this.body.setAttribute("controllerClass", "DataGridController"); const subcomponentClass = (this.body.getAttribute("subcomponentClass") !== null) ? (this.body.getAttribute("subcomponentClass")) : ("GridItemComponent"); this.body.setAttribute("subcomponentClass", subcomponentClass as string); } } export class SlideItemComponent extends Component { effectClass = "Fade"; name = "slider_item"; data: any; template: string; tplsource: string; constructor(o: any) { super(o); this.data.slideNumber = this.data.__dataIndex + 1; this.template = ` `; this.tplsource = "inline"; } } export class SliderComponent extends Component { name = "slider"; template: string; tplsource: string; shadowed: boolean; data: any; body: any; __instanceID: any; constructor(o: any) { super(o); this.template = `
`; this.tplsource = "inline"; this.shadowed = true; this.data.SERVICE_CLASS = this.body.getAttribute("serviceClass"); this.body.setAttribute("controllerClass", "SliderController"); } } Package("org.qcobjects.components.slider", [ SlideListComponent, SlideItemComponent, SliderComponent ]);