@esolve/ng-esolve-connect 0.38.0 → 0.38.1

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.
@@ -11,35 +11,35 @@ export interface EsolveConnectConfig {
11
11
  */
12
12
  wsid: string;
13
13
  /**
14
- * [optional] Text to be prefixed to the page title
14
+ * Text to be prefixed to the page title
15
15
  */
16
16
  title_prefix?: string;
17
17
  /**
18
- * [optional] Text to be suffixed to the page title
18
+ * Text to be suffixed to the page title
19
19
  */
20
20
  title_suffix?: string;
21
21
  /**
22
- * [optional] String to separate the title from prefix and suffix. Default is the `|` character
22
+ * String to separate the title from prefix and suffix. Default is the `|` character
23
23
  */
24
24
  title_separator?: string;
25
25
  /**
26
- * [optional] Default SEO page title
26
+ * Default SEO page title
27
27
  */
28
28
  default_seo_title?: string;
29
29
  /**
30
- * [optional] Default SEO page description
30
+ * Default SEO page description
31
31
  */
32
32
  default_seo_description?: string;
33
33
  /**
34
- * [optional] Default SEO keywords
34
+ * Default SEO keywords
35
35
  */
36
36
  default_seo_keywords?: string;
37
37
  /**
38
- * [optional] Key for user session local storage (Default is `ngEslvUserSession`)
38
+ * Key for user session local storage (Default is `ngEslvUserSession`)
39
39
  */
40
40
  user_session_storage_key?: string;
41
41
  /**
42
- * [optional] Key for coupon local storage (Default is `_ng_eslv_coupons`)
42
+ * Key for coupon local storage (Default is `_ng_eslv_coupons`)
43
43
  */
44
44
  coupon_storage_key?: string;
45
45
  /**
@@ -6,6 +6,7 @@ export declare class EsolveMenuItem {
6
6
  url: string;
7
7
  name: string;
8
8
  module: string;
9
+ sort_priority: number;
9
10
  target: EsolveUrlTarget;
10
11
  children: EsolveMenuItem[];
11
12
  constructor(record?: Partial<EsolveMenuTreeRecord>);
@@ -3,4 +3,5 @@ export interface EsolveNewsGroupRecord {
3
3
  name: string;
4
4
  sef_name: string;
5
5
  description: string;
6
+ image?: string;
6
7
  }
@@ -1,7 +1,11 @@
1
+ import { EsolveNewsGroupRecord } from './esolve-news-group-record.interface';
1
2
  export declare class EsolveNewsGroup {
2
3
  id: number;
3
4
  name: string;
4
5
  description: string;
5
6
  sef_name: string;
6
- constructor(id: number, name: string, description: string, sef_name: string);
7
+ private image?;
8
+ get image_src(): string;
9
+ constructor(record: EsolveNewsGroupRecord);
10
+ getImagePath(): string;
7
11
  }
@@ -12,7 +12,7 @@ export declare class EsolveNewsService {
12
12
  constructor(config: EsolveConnectConfig, http: HttpClient);
13
13
  getNewsArticle(identifier: string): Observable<EsolveNewsArticle>;
14
14
  getNewsArticles(options?: EsolveNewsArticleOptions): Observable<EsolveNewsArticleList>;
15
- getNewsGroups(): Observable<EsolveNewsGroup[]>;
15
+ getNewsGroups(enable_images?: boolean): Observable<EsolveNewsGroup[]>;
16
16
  private processNewsArticle;
17
17
  private getNewsRecords;
18
18
  private parseOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esolve/ng-esolve-connect",
3
- "version": "0.38.0",
3
+ "version": "0.38.1",
4
4
  "description": "An Angular library that speaks to an eSolve instance's API",
5
5
  "ng-add": {
6
6
  "save": "true"