ode-ngjs-front 0.6.0-explorer.202109241105 → 0.6.0-explorer.202109271527

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,11 @@
1
1
  import { IAttributes, IController, IDirective, IScope } from "angular";
2
2
  import { IIdiom, ITheme, IWebApp } from "ode-ts-client";
3
3
  import { SessionService } from "../../../services/session.service";
4
- import { UserService } from "../../../services/user.service";
4
+ import { NgHelperService } from "../../../services/ngHelper.service";
5
5
  export declare class Controller implements IController {
6
- private $scope;
7
- private me;
8
- private session;
9
- constructor($scope: Scope, me: UserService, session: SessionService);
6
+ session: SessionService;
7
+ helperSvc: NgHelperService;
8
+ constructor(session: SessionService, helperSvc: NgHelperService);
10
9
  skin?: ITheme;
11
10
  conversationUnreadUrl?: String;
12
11
  currentLanguage: string;
@@ -18,7 +17,6 @@ export declare class Controller implements IController {
18
17
  is1D: boolean;
19
18
  is2D: boolean;
20
19
  refreshAvatar(): void;
21
- geAppCssClass(app: IWebApp): string;
22
20
  openApps(event: any): void;
23
21
  launchSearch(event: any): void;
24
22
  }
@@ -45,8 +43,6 @@ declare class Directive implements IDirective<IScope, JQLite, IAttributes, ICont
45
43
  controllerAs: string;
46
44
  require: string[];
47
45
  link(scope: Scope, elem: JQLite, attrs: IAttributes, controllers?: IController[]): void;
48
- getCurrentLanguage(): Promise<string>;
49
- getBookmarks(): Promise<IWebApp[]>;
50
46
  }
51
47
  /** The navbar directive.
52
48
  *
@@ -1 +1 @@
1
- {"version":3,"file":"navbar.directive.d.ts","sourceRoot":"","sources":["../../../../../src/ts/directives/business/portal/navbar.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACvE,OAAO,EAAiC,MAAM,EAA8E,MAAM,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACnK,OAAO,EAAE,cAAc,EAAE,M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IAElB,QAAQ,MAA8C;IACtD,KAAK;;MAEH;IACF,gBAAgB,UAAQ;IACxB,UAAU,iCAAkD;IAC5D,YAAY,SAAU;IACtB,OAAO,WAAiB;IAErB,IAAI,CAAC,KAAK,EAAC,KAAK,EAAE,IAAI,EAAC,MAAM,EAAE,KAAK,EAAC,WAAW,EAAE,WAAW,CAAC,EAAC,WAAW,EAAE,GAAG,IAAI;IA2EtF,kBAAkB,IAAG,OAAO,CAAC,MAAM,CAAC;IAKpC,YAAY,IAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAIjC;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,cAE/B"}
1
+ {"version":3,"file":"navbar.directive.d.ts","sourceRoot":"","sources":["../../../../../src/ts/directives/business/portal/navbar.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACvE,OAAO,EAAiC,MAAM,EAA8E,MAAM,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACnK,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAIrE,qBAAa,UAAW,YAAW,WAAW;IAErC,OAAO,EAAC,cAAc;IACtB,SAAS,EAAE,eAAe;gBAD1B,OAAO,EAAC,cAAc,EACtB,SAAS,EAAE,eAAe;IAE3B,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,qBAAqB,CAAC,EAAC,MAAM,CAAC;IAC9B,eAAe,EAAC,MAAM,CAAM;IAC5B,QAAQ,EAAC,MAAM,CAAM;IACrB,MAAM,EAAC,MAAM,CAAmB;IAChC,cAAc,EAAC,MAAM,CAAoB;IACzC,QAAQ,EAAC,MAAM,CAAM;IACrB,IAAI,EAAC,OAAO,EAAE,CAAM;IAEpB,IAAI,EAAC,OAAO,CAAS;IACrB,IAAI,EAAC,OAAO,CAAS;IAE5B,aAAa;IAMb,QAAQ,CAAC,KAAK,EAAC,GAAG;IAOlB,YAAY,CAAC,KAAK,EAAC,GAAG;CAStB;AAMD,UAAU,KAAM,SAAQ,MAAM;IAC7B,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,aAAa,CAAC,EAAC,MAAM,CAAC;IACtB,OAAO,CAAC,EAAC,MAAM,CAAC;IAChB,EAAE,CAAC,EAAC;QACH,WAAW,CAAC,KAAK,EAAC,MAAM,GAAE,OAAO,CAAC;KAClC,CAAC;IAEF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAGD,cAAM,SAAU,YAAW,UAAU,CAAC,MAAM,EAAC,MAAM,EAAC,WAAW,EAAC,WAAW,EAAE,CAAC;IAC1E,QAAQ,SAAO;IAElB,QAAQ,MAA8C;IACtD,KAAK;;MAEH;IACF,gBAAgB,UAAQ;IACxB,UAAU,iCAAoD;IAC9D,YAAY,SAAU;IACtB,OAAO,WAAiB;IAErB,IAAI,CAAC,KAAK,EAAC,KAAK,EAAE,IAAI,EAAC,MAAM,EAAE,KAAK,EAAC,WAAW,EAAE,WAAW,CAAC,EAAC,WAAW,EAAE,GAAG,IAAI;CA0EtF;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,cAE/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.module.d.ts","sourceRoot":"","sources":["../../../src/ts/modules/base.module.ts"],"names":[],"mappings":"AAAA,OAAgB,EAAwB,OAAO,EAAE,MAAM,SAAS,CAAC;AAWjE;;GAEG;AACH,wBAAgB,aAAa,IAAG,OAAO,CAQtC"}
1
+ {"version":3,"file":"base.module.d.ts","sourceRoot":"","sources":["../../../src/ts/modules/base.module.ts"],"names":[],"mappings":"AAAA,OAAgB,EAAwB,OAAO,EAAE,MAAM,SAAS,CAAC;AAWjE;;GAEG;AACH,wBAAgB,aAAa,IAAG,OAAO,CAOtC"}
@@ -1,7 +1,6 @@
1
1
  export * from './notify.service';
2
2
  export * from './i18n.service';
3
3
  export * from './session.service';
4
- export * from './user.service';
5
4
  export * from './widget.service';
6
5
  export * from './themeHelper.service';
7
6
  export * from './ngHelper.service';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ts/services/index.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ts/services/index.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC"}
@@ -1,9 +1,14 @@
1
1
  /// <reference types="angular" />
2
+ import { IWebApp } from "ode-ts-client";
2
3
  /**
3
4
  * This service was intended to be a jQuery minimal replacement, tailored to our needs.
4
5
  * //FIXME This would be a pain to maintain natively => thinking about integrating another lib.
5
6
  */
6
7
  export declare class NgHelperService {
8
+ /**
9
+ * Map between apps and their CSS class.
10
+ */
11
+ getIconClass(app: IWebApp): string;
7
12
  /** Replacement for $.each() */
8
13
  each(set: JQLite, cb: (index: number, elem: HTMLElement) => void): void;
9
14
  /** Replacement for $.offset() */
@@ -1 +1 @@
1
- {"version":3,"file":"ngHelper.service.d.ts","sourceRoot":"","sources":["../../../src/ts/services/ngHelper.service.ts"],"names":[],"mappings":";AAIA;;;GAGG;AACH,qBAAa,eAAe;IAMxB,+BAA+B;IACxB,IAAI,CAAE,GAAG,EAAC,MAAM,EAAE,EAAE,EAAC,CAAC,KAAK,EAAC,MAAM,EAAE,IAAI,EAAC,WAAW,KAAG,IAAI;IAMlE,iCAAiC;IAC1B,MAAM,CAAC,GAAG,EAAC,MAAM,EAAE,GAAG,CAAC,EAAC;QAAC,GAAG,EAAC,MAAM,CAAC;QAAC,IAAI,EAAC,MAAM,CAAA;KAAC,GAAG;QAAC,GAAG,EAAC,MAAM,CAAC;QAAC,IAAI,EAAC,MAAM,CAAA;KAAC;IAepF,gCAAgC;IACzB,KAAK,CAAC,GAAG,EAAC,MAAM,GAAG,MAAM;IAKhC,iCAAiC;IAC1B,MAAM,CAAC,GAAG,EAAC,MAAM,GAAG,MAAM;IAKjC,0CAA0C;IACnC,OAAO,CAAC,GAAG,EAAC,MAAM,EAAE,QAAQ,EAAC,MAAM;IAc1C,kEAAkE;IAClE,IAAW,QAAQ,IAAG,MAAM,CAI3B;IAGD,IAAW,WAAW,IAAG,MAAM,CAAqB;IACpD,IAAW,MAAM,IAAG,MAAM,CAAyB;IACnD,IAAW,UAAU,IAAG,MAAM,CAAqB;IACnD,IAAW,YAAY,IAAG,MAAM,CAAmB;CAUtD"}
1
+ {"version":3,"file":"ngHelper.service.d.ts","sourceRoot":"","sources":["../../../src/ts/services/ngHelper.service.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAIxC;;;GAGG;AACH,qBAAa,eAAe;IAExB;;OAEG;IACN,YAAY,CAAE,GAAG,EAAC,OAAO,GAAG,MAAM;IAkB/B,+BAA+B;IACxB,IAAI,CAAE,GAAG,EAAC,MAAM,EAAE,EAAE,EAAC,CAAC,KAAK,EAAC,MAAM,EAAE,IAAI,EAAC,WAAW,KAAG,IAAI;IAMlE,iCAAiC;IAC1B,MAAM,CAAC,GAAG,EAAC,MAAM,EAAE,GAAG,CAAC,EAAC;QAAC,GAAG,EAAC,MAAM,CAAC;QAAC,IAAI,EAAC,MAAM,CAAA;KAAC,GAAG;QAAC,GAAG,EAAC,MAAM,CAAC;QAAC,IAAI,EAAC,MAAM,CAAA;KAAC;IAepF,gCAAgC;IACzB,KAAK,CAAC,GAAG,EAAC,MAAM,GAAG,MAAM;IAKhC,iCAAiC;IAC1B,MAAM,CAAC,GAAG,EAAC,MAAM,GAAG,MAAM;IAKjC,0CAA0C;IACnC,OAAO,CAAC,GAAG,EAAC,MAAM,EAAE,QAAQ,EAAC,MAAM;IAc1C,kEAAkE;IAClE,IAAW,QAAQ,IAAG,MAAM,CAI3B;IAGD,IAAW,WAAW,IAAG,MAAM,CAAqB;IACpD,IAAW,MAAM,IAAG,MAAM,CAAyB;IACnD,IAAW,UAAU,IAAG,MAAM,CAAqB;IACnD,IAAW,YAAY,IAAG,MAAM,CAAmB;CAUtD"}
@@ -1,4 +1,7 @@
1
+ import { IWebApp } from "ode-ts-client";
1
2
  export declare class SessionService {
2
3
  hasWorkflow(right: string): boolean;
4
+ getLanguage(): Promise<string>;
5
+ getBookmarks(): Promise<IWebApp[]>;
3
6
  }
4
7
  //# sourceMappingURL=session.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"session.service.d.ts","sourceRoot":"","sources":["../../../src/ts/services/session.service.ts"],"names":[],"mappings":"AAEA,qBAAa,cAAc;IAEhB,WAAW,CAAC,KAAK,EAAC,MAAM,GAAE,OAAO;CAG3C"}
1
+ {"version":3,"file":"session.service.d.ts","sourceRoot":"","sources":["../../../src/ts/services/session.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,OAAO,EAAmD,MAAM,eAAe,CAAC;AAExH,qBAAa,cAAc;IAEhB,WAAW,CAAC,KAAK,EAAC,MAAM,GAAE,OAAO;IAIpC,WAAW,IAAG,OAAO,CAAC,MAAM,CAAC;IAK7B,YAAY,IAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAKxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"my-apps.widget.d.ts","sourceRoot":"","sources":["../../../../src/ts/widgets/my-apps/my-apps.widget.ts"],"names":[],"mappings":"AAuDA,eAAO,MAAM,aAAa,oBAAoB,CAAC"}
1
+ {"version":3,"file":"my-apps.widget.d.ts","sourceRoot":"","sources":["../../../../src/ts/widgets/my-apps/my-apps.widget.ts"],"names":[],"mappings":"AAiDA,eAAO,MAAM,aAAa,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-ngjs-front",
3
- "version": "0.6.0-explorer.202109241105",
3
+ "version": "0.6.0-explorer.202109271527",
4
4
  "description": "Open Digital Education Frontend Framework",
5
5
  "main": "dist/ts/index.js",
6
6
  "types": "dist/ts/index.d.ts",
@@ -1,3 +0,0 @@
1
- export declare class UserService {
2
- }
3
- //# sourceMappingURL=user.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user.service.d.ts","sourceRoot":"","sources":["../../../src/ts/services/user.service.ts"],"names":[],"mappings":"AAAA,qBAAa,WAAW;CACvB"}