@adins/ucviewgeneric 1.0.3 → 2.0.0
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 +23 -12
- package/package.json +1 -1
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 2.0.0
|
|
8
|
+
1. Update ReadMe
|
|
9
|
+
|
|
7
10
|
Version 1.0.3
|
|
8
11
|
1. Update ReadMe
|
|
9
12
|
|
|
@@ -13,36 +16,44 @@ Version 1.0.2
|
|
|
13
16
|
Version 1.0.1
|
|
14
17
|
1. Added ReadMe
|
|
15
18
|
|
|
19
|
+
## Dependency Module
|
|
20
|
+
import this module :
|
|
21
|
+
- RouterModule
|
|
22
|
+
- UcSubsectionModule ` npm i @adins/uc-subsection `
|
|
23
|
+
|
|
16
24
|
## Input
|
|
17
25
|
1. viewInput : view.json
|
|
18
26
|
|
|
19
27
|
## Output
|
|
20
28
|
|
|
21
29
|
## JSON property
|
|
30
|
+
view.json :
|
|
31
|
+
``` javascript
|
|
22
32
|
{
|
|
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
|
|
33
|
+
"title": "title", // title view paging
|
|
34
|
+
"subSectionId": "id", // uniqueId
|
|
35
|
+
"subSectionTitle": "Main Information", // sub-section title
|
|
36
|
+
"mainInfoUrl": "", // full path API get data
|
|
37
|
+
"mainInfo": [ // view information list
|
|
28
38
|
{
|
|
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
|
|
39
|
+
"type": "link", // text with link button
|
|
40
|
+
"label": "View Name", // label information name
|
|
41
|
+
"property": "viewName", // property to view
|
|
42
|
+
"path": "/test/paging", // router path
|
|
43
|
+
"param": [ // passing optional parameters
|
|
34
44
|
{
|
|
35
|
-
"property": "vendorId", property to pass
|
|
45
|
+
"property": "vendorId", // property to pass
|
|
36
46
|
}
|
|
37
47
|
]
|
|
38
48
|
},
|
|
39
49
|
{
|
|
40
|
-
"type": "text", text only
|
|
50
|
+
"type": "text", // text only
|
|
41
51
|
"label": "View Code",
|
|
42
52
|
"property": "viewCode"
|
|
43
53
|
}
|
|
44
54
|
]
|
|
45
55
|
}
|
|
56
|
+
```
|
|
46
57
|
|
|
47
58
|
## Code scaffolding
|
|
48
59
|
|