import { ButtonModel } from '../../models/button/button.model'; import { WeatherComponentModel } from '../../models/weather/weather-component.model'; import { NewsComponentModel } from '../../models/news-component.model'; import { ClockComponentModel } from '../../models/clock/clock-component.model'; import { BpmTaskListModel } from '../../models/bpm-task-list.model'; let button = new ButtonModel ({ label: "New Button", color: { foreground: "black", background: "primary" }, icon: null, iconPosition:"right" }); let weather = new WeatherComponentModel({ defaultCities: [ "Paris", "Beirut", "London", "Dubai" ], mode: "card", onItemClick: null }); let news = new NewsComponentModel({ id: "news1", defaultChannel: "cnn", channelList: ['cnn', 'mtv-news', 'the-new-york-times', 'fox-sports'], showChannelList: true }); let clock : ClockComponentModel = { id: "Clock1", city: "Paris" }; let bpmList = new BpmTaskListModel({ bpmUrl:"https://174.129.47.63:9443/rest/bpm/wle/v1/search/query?condition=bpdName%7CPatient+Enrolllment+Process&condition=taskStatus%7CReceived&condition=taskSubject%7CNotEquals%7CStep%3A+Enroll+New+Paitient&organization=byInstance&run=true&shared=false&filterByCurrentUser=true", username: "sarah", password: "cedrus" }); export var DEFAULT_COMP_MODELS: any = { CfButtonComponent: button, CfWeatherComponent: weather, CfNewsComponent: news, CfWorldClockComponent: clock, CfBpmListComponent: bpmList }; let bpmListProperties = { width:"500px", height:"100%" }; export var DEFAULT_COMP_PROPERTIES: any = { CfBpmListComponent: bpmListProperties };