ode-ngjs-front
Advanced tools
Comparing version 0.6.0-explorer.202106220744 to 0.6.0-explorer.202106221511
@@ -1,3 +0,11 @@ | ||
import { IAttributes, IController, IDirective, IScope } from "angular"; | ||
declare class Directive implements IDirective<IScope, JQLite, IAttributes, IController[]> { | ||
import { IAttributes, ICompileService, IController, IDirective, IScope } from "angular"; | ||
import { App } from "ode-ts-client"; | ||
import { TrackingService } from "../../../services"; | ||
interface PortalScope extends IScope { | ||
app?: App; | ||
title: string; | ||
} | ||
declare class Directive implements IDirective<PortalScope, JQLite, IAttributes, IController[]> { | ||
private $compile; | ||
private tracking; | ||
restrict: string; | ||
@@ -7,4 +15,7 @@ transclude: boolean; | ||
scope: { | ||
app: string; | ||
title: string; | ||
}; | ||
link(scope: PortalScope, elem: JQLite, attrs: IAttributes): void; | ||
constructor($compile: ICompileService, tracking: TrackingService); | ||
} | ||
@@ -18,4 +29,7 @@ /** The portal directive. | ||
*/ | ||
export declare function DirectiveFactory(): Directive; | ||
export declare function DirectiveFactory($compile: ICompileService, tracking: TrackingService): Directive; | ||
export declare namespace DirectiveFactory { | ||
var $inject: string[]; | ||
} | ||
export {}; | ||
//# sourceMappingURL=portal.directive.d.ts.map |
import { IAttributes, IController, IDirective, IScope } from "angular"; | ||
import { IWidget, WidgetPosition } from "ode-ts-client"; | ||
import { WidgetService } from "../../services"; | ||
import { NgHelperService, WidgetService } from "../../services"; | ||
export declare class Controller implements IController { | ||
widgetSvc: WidgetService; | ||
constructor(widgetSvc: WidgetService); | ||
helperSvc: NgHelperService; | ||
constructor(widgetSvc: WidgetService, helperSvc: NgHelperService); | ||
position?: WidgetPosition; | ||
@@ -13,2 +14,3 @@ widgets?: IWidget[]; | ||
get allowedDndTypes(): string[]; | ||
get isMobileView(): boolean; | ||
onDnDDrop(event: DragEvent, itemId: string, index: number, dropEffect: string): boolean; | ||
@@ -15,0 +17,0 @@ } |
@@ -9,2 +9,3 @@ export * from './notify.service'; | ||
export * from './quickstart.service'; | ||
export * from './tracking.service'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "ode-ngjs-front", | ||
"version": "0.6.0-explorer.202106220744", | ||
"version": "0.6.0-explorer.202106221511", | ||
"description": "Open Digital Education Frontend Framework", | ||
@@ -5,0 +5,0 @@ "main": "dist/ts/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
85108
118
1239