@adins/ucviewgeneric 1.0.2 → 1.0.3

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.
package/README.md CHANGED
@@ -4,6 +4,9 @@ This library was generated with [Angular CLI](https://github.com/angular/angular
4
4
 
5
5
  ## Version
6
6
 
7
+ Version 1.0.3
8
+ 1. Update ReadMe
9
+
7
10
  Version 1.0.2
8
11
  1. fix subsection not working
9
12
 
@@ -11,15 +14,35 @@ Version 1.0.1
11
14
  1. Added ReadMe
12
15
 
13
16
  ## Input
14
- 1. title : string : mandatory
15
- used to set subsection title
16
- 2. panel : string : mandatory
17
- used to set panel hide or unhide
18
- 3. id : string : mandatory
19
- used to set id hide or unhide
17
+ 1. viewInput : view.json
20
18
 
21
19
  ## Output
22
20
 
21
+ ## JSON property
22
+ {
23
+ "title": title view paging,
24
+ "subSectionId": uniqueId,
25
+ "subSectionTitle": "Main Information", sub-section title
26
+ "mainInfoUrl": full path API get data,
27
+ "mainInfo": [ view information list
28
+ {
29
+ "type": "link", text with link button
30
+ "label": "View Name", label information name
31
+ "property": "viewName", property to view
32
+ "path": "/test/paging", router path
33
+ "param": [ passing optional parameters
34
+ {
35
+ "property": "vendorId", property to pass
36
+ }
37
+ ]
38
+ },
39
+ {
40
+ "type": "text", text only
41
+ "label": "View Code",
42
+ "property": "viewCode"
43
+ }
44
+ ]
45
+ }
23
46
 
24
47
  ## Code scaffolding
25
48
 
@@ -1,5 +1,5 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
- import { Injectable, Component, Input, NgModule, defineInjectable } from '@angular/core';
2
+ import { Injectable, NgModule, Component, Input, defineInjectable } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import { ActivatedRoute, RouterModule } from '@angular/router';
5
5
  import { UcSubsectionModule } from '@adins/uc-subsection';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adins/ucviewgeneric",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^7.2.0",
6
6
  "@angular/core": "^7.2.0"