json-renderers-build-table 1.22.3 → 1.26.2
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/package.json +2 -2
- package/src/index.js +2 -2
- package/src/{v21 → v23/builders}/bodyOnly/index.js +1 -1
- package/src/v23/builders/footerOnly/base.json +3 -0
- package/src/v23/builders/footerOnly/index.js +21 -0
- package/src/v23/builders/footerOnly/instructions/single.json +19 -0
- package/src/{v21 → v23/builders}/headerOnly/index.js +1 -1
- package/src/{v21 → v23/builders}/simple/index.js +2 -2
- package/src/{v17/simple → v23/builders}/spec.json +17 -0
- package/src/{v20/simple → v23/builders/withFooter}/index.js +7 -5
- package/src/v23/builders/withFooter/instructions/single.json +56 -0
- package/src/v23/builders/withOptions/index.js +51 -0
- package/src/v23/builders/withOptions/instructions/double.json +19 -0
- package/src/v23/builders/withOptions/instructions/postSingle.json +22 -0
- package/src/v23/builders/withOptions/instructions/single.json +78 -0
- package/src/v23/builders/withSerial/index.js +51 -0
- package/src/v23/builders/withSerial/instructions/double.json +19 -0
- package/src/v23/builders/withSerial/instructions/postSingle.json +22 -0
- package/src/v23/builders/withSerial/instructions/single.json +78 -0
- package/src/v23/index.js +34 -0
- package/src/{v21 → v23}/singleInstruction/index.js +14 -1
- package/src/v24/actions/index.js +5 -0
- package/src/v24/actions/insertOptions/index.js +47 -0
- package/src/v24/actions/insertOptions/instructions/footer.json +22 -0
- package/src/v24/actions/insertOptions/instructions/single.json +62 -0
- package/src/v24/actions/insertSerial/index.js +47 -0
- package/src/v24/actions/insertSerial/instructions/footer.json +22 -0
- package/src/v24/actions/insertSerial/instructions/single.json +62 -0
- package/src/{v20 → v24/builders}/bodyOnly/index.js +3 -3
- package/src/v24/builders/footerOnly/base.json +3 -0
- package/src/v24/builders/footerOnly/index.js +21 -0
- package/src/v24/builders/footerOnly/instructions/single.json +19 -0
- package/src/{v20 → v24/builders}/headerOnly/index.js +3 -3
- package/src/v24/builders/simple/index.js +49 -0
- package/src/{v18/headerOnly → v24/builders}/spec.json +21 -0
- package/src/v24/builders/withFooter/index.js +49 -0
- package/src/v24/builders/withFooter/instructions/single.json +56 -0
- package/src/{v20 → v24}/doubleInstruction/index.js +5 -3
- package/src/v24/guards/index.js +10 -0
- package/src/v24/guards/references/func/index.js +8 -0
- package/src/v24/guards/references/index.js +9 -0
- package/src/v24/guards/references/templateKey/index.js +8 -0
- package/src/v24/guards/structure/destinationPath/index.js +8 -0
- package/src/v24/guards/structure/func/index.js +8 -0
- package/src/v24/guards/structure/index.js +15 -0
- package/src/v24/guards/structure/sourcePath/index.js +8 -0
- package/src/v24/guards/structure/templateKey/index.js +9 -0
- package/src/v24/index.js +71 -0
- package/src/v24/singleInstruction/index.js +32 -0
- package/src/v25/actions/index.js +20 -0
- package/src/v25/actions/insertOptions/index.js +47 -0
- package/src/v25/actions/insertOptions/instructions/footer.json +22 -0
- package/src/v25/actions/insertOptions/instructions/single.json +62 -0
- package/src/v25/actions/insertSerial/index.js +47 -0
- package/src/v25/actions/insertSerial/instructions/footer.json +22 -0
- package/src/v25/actions/insertSerial/instructions/single.json +62 -0
- package/src/v25/builders/bodyOnly/index.js +18 -0
- package/src/v25/builders/footerOnly/base.json +3 -0
- package/src/v25/builders/footerOnly/index.js +21 -0
- package/src/v25/builders/footerOnly/instructions/single.json +19 -0
- package/src/v25/builders/headerOnly/index.js +18 -0
- package/src/v25/builders/simple/base.json +53 -0
- package/src/v25/builders/simple/index.js +40 -0
- package/src/{v18/bodyOnly → v25/builders}/spec.json +21 -0
- package/src/v25/builders/withFooter/base.json +53 -0
- package/src/v25/builders/withFooter/index.js +40 -0
- package/src/v25/builders/withFooter/instructions/double.json +19 -0
- package/src/v25/builders/withFooter/instructions/single.json +56 -0
- package/src/v25/doubleInstruction/index.js +21 -0
- package/src/v25/guards/index.js +10 -0
- package/src/v25/guards/references/func/index.js +8 -0
- package/src/v25/guards/references/index.js +9 -0
- package/src/v25/guards/references/templateKey/index.js +8 -0
- package/src/v25/guards/structure/destinationPath/index.js +8 -0
- package/src/v25/guards/structure/func/index.js +8 -0
- package/src/v25/guards/structure/index.js +15 -0
- package/src/v25/guards/structure/sourcePath/index.js +8 -0
- package/src/v25/guards/structure/templateKey/index.js +9 -0
- package/src/v25/index.js +21 -0
- package/src/v25/singleInstruction/index.js +32 -0
- package/src/v25/writePath/index.js +62 -0
- package/src/v26/actions/index.js +20 -0
- package/src/v26/actions/insertOptions/index.js +47 -0
- package/src/v26/actions/insertOptions/instructions/footer.json +22 -0
- package/src/v26/actions/insertOptions/instructions/single.json +62 -0
- package/src/v26/actions/insertSerial/index.js +47 -0
- package/src/v26/actions/insertSerial/instructions/footer.json +22 -0
- package/src/v26/actions/insertSerial/instructions/single.json +62 -0
- package/src/v26/builders/bodyOnly/base.json +1 -0
- package/src/v26/builders/bodyOnly/index.js +18 -0
- package/src/v26/builders/footerOnly/base.json +3 -0
- package/src/v26/builders/footerOnly/index.js +21 -0
- package/src/v26/builders/footerOnly/instructions/single.json +19 -0
- package/src/v26/builders/headerOnly/base.json +53 -0
- package/src/v26/builders/headerOnly/index.js +18 -0
- package/src/v26/builders/simple/base.json +53 -0
- package/src/v26/builders/simple/index.js +40 -0
- package/src/v26/builders/simple/instructions/double.json +19 -0
- package/src/{v17 → v26/builders}/spec.json +21 -0
- package/src/v26/builders/withFooter/base.json +53 -0
- package/src/v26/builders/withFooter/index.js +40 -0
- package/src/v26/builders/withFooter/instructions/double.json +19 -0
- package/src/v26/builders/withFooter/instructions/single.json +56 -0
- package/src/v26/doubleInstruction/index.js +21 -0
- package/src/v26/guards/index.js +10 -0
- package/src/v26/guards/references/func/index.js +8 -0
- package/src/v26/guards/references/index.js +9 -0
- package/src/v26/guards/references/templateKey/index.js +8 -0
- package/src/v26/guards/structure/destinationPath/index.js +8 -0
- package/src/v26/guards/structure/func/index.js +8 -0
- package/src/v26/guards/structure/index.js +15 -0
- package/src/v26/guards/structure/sourcePath/index.js +8 -0
- package/src/v26/guards/structure/templateKey/index.js +9 -0
- package/src/v26/index.js +21 -0
- package/src/v26/singleInstruction/index.js +32 -0
- package/src/v26/writePath/index.js +62 -0
- package/src/v17/index.js +0 -5
- package/src/v17/simple/index.js +0 -56
- package/src/v17/simple/writePath/index.js +0 -47
- package/src/v18/bodyOnly/base.json +0 -1
- package/src/v18/bodyOnly/index.js +0 -36
- package/src/v18/bodyOnly/writePath/index.js +0 -47
- package/src/v18/headerOnly/index.js +0 -42
- package/src/v18/headerOnly/writePath/index.js +0 -47
- package/src/v18/index.js +0 -5
- package/src/v18/simple/index.js +0 -57
- package/src/v18/simple/spec.json +0 -86
- package/src/v18/simple/writePath/index.js +0 -47
- package/src/v18/spec.json +0 -86
- package/src/v19/bodyOnly/index.js +0 -36
- package/src/v19/bodyOnly/spec.json +0 -86
- package/src/v19/headerOnly/index.js +0 -42
- package/src/v19/headerOnly/spec.json +0 -86
- package/src/v19/index.js +0 -5
- package/src/v19/simple/index.js +0 -57
- package/src/v19/simple/spec.json +0 -86
- package/src/v19/spec.json +0 -86
- package/src/v19/writePath/index.js +0 -47
- package/src/v20/bodyOnly/spec.json +0 -86
- package/src/v20/headerOnly/spec.json +0 -86
- package/src/v20/index.js +0 -5
- package/src/v20/simple/spec.json +0 -86
- package/src/v20/singleInstruction/index.js +0 -17
- package/src/v20/spec.json +0 -86
- package/src/v21/bodyOnly/spec.json +0 -86
- package/src/v21/headerOnly/spec.json +0 -86
- package/src/v21/index.js +0 -5
- package/src/v21/simple/instructions/single.json +0 -38
- package/src/v21/simple/spec.json +0 -86
- package/src/v21/spec.json +0 -86
- /package/src/{v19 → v23/builders}/bodyOnly/base.json +0 -0
- /package/src/{v18 → v23/builders}/bodyOnly/instructions/double.json +0 -0
- /package/src/{v17/simple → v23/builders/headerOnly}/base.json +0 -0
- /package/src/{v17/simple → v23/builders/headerOnly}/instructions/single.json +0 -0
- /package/src/{v18/headerOnly → v23/builders/simple}/base.json +0 -0
- /package/src/{v17 → v23/builders}/simple/instructions/double.json +0 -0
- /package/src/{v18/headerOnly → v23/builders/simple}/instructions/single.json +0 -0
- /package/src/{v18/simple → v23/builders/withFooter}/base.json +0 -0
- /package/src/{v18/simple → v23/builders/withFooter}/instructions/double.json +0 -0
- /package/src/{v19/headerOnly → v23/builders/withOptions}/base.json +0 -0
- /package/src/{v19/simple → v23/builders/withSerial}/base.json +0 -0
- /package/src/{v21 → v23}/doubleInstruction/index.js +0 -0
- /package/src/{v21 → v23}/guards/index.js +0 -0
- /package/src/{v21 → v23}/guards/references/func/index.js +0 -0
- /package/src/{v21 → v23}/guards/references/index.js +0 -0
- /package/src/{v21 → v23}/guards/references/templateKey/index.js +0 -0
- /package/src/{v21 → v23}/guards/structure/destinationPath/index.js +0 -0
- /package/src/{v21 → v23}/guards/structure/func/index.js +0 -0
- /package/src/{v21 → v23}/guards/structure/index.js +0 -0
- /package/src/{v21 → v23}/guards/structure/sourcePath/index.js +0 -0
- /package/src/{v21 → v23}/guards/structure/templateKey/index.js +0 -0
- /package/src/{v20 → v23}/writePath/index.js +0 -0
- /package/src/{v20 → v24/builders}/bodyOnly/base.json +0 -0
- /package/src/{v19 → v24/builders}/bodyOnly/instructions/double.json +0 -0
- /package/src/{v20 → v24/builders}/headerOnly/base.json +0 -0
- /package/src/{v18/simple → v24/builders/headerOnly}/instructions/single.json +0 -0
- /package/src/{v20 → v24/builders}/simple/base.json +0 -0
- /package/src/{v19 → v24/builders}/simple/instructions/double.json +0 -0
- /package/src/{v19/headerOnly → v24/builders/simple}/instructions/single.json +0 -0
- /package/src/{v21/headerOnly → v24/builders/withFooter}/base.json +0 -0
- /package/src/{v20/simple → v24/builders/withFooter}/instructions/double.json +0 -0
- /package/src/{v21 → v24}/writePath/index.js +0 -0
- /package/src/{v21 → v25/builders}/bodyOnly/base.json +0 -0
- /package/src/{v20 → v25/builders}/bodyOnly/instructions/double.json +0 -0
- /package/src/{v21/simple → v25/builders/headerOnly}/base.json +0 -0
- /package/src/{v19/simple → v25/builders/headerOnly}/instructions/single.json +0 -0
- /package/src/{v21 → v25/builders}/simple/instructions/double.json +0 -0
- /package/src/{v20/headerOnly → v25/builders/simple}/instructions/single.json +0 -0
- /package/src/{v21 → v26/builders}/bodyOnly/instructions/double.json +0 -0
- /package/src/{v20/simple → v26/builders/headerOnly}/instructions/single.json +0 -0
- /package/src/{v21/headerOnly → v26/builders/simple}/instructions/single.json +0 -0
package/src/v20/simple/spec.json
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"buildBodyTr": {
|
|
3
|
-
"tagName": "tr",
|
|
4
|
-
"attributes": {
|
|
5
|
-
"class": "align-middle"
|
|
6
|
-
},
|
|
7
|
-
"children": []
|
|
8
|
-
},
|
|
9
|
-
"buildColGroup": {
|
|
10
|
-
"tagName": "col",
|
|
11
|
-
"attributes": {
|
|
12
|
-
"width": "${width}"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"buildHeader": {
|
|
16
|
-
"tagName": "th",
|
|
17
|
-
"textContent": "${columnName}",
|
|
18
|
-
"attributes": {
|
|
19
|
-
"class": "py-3 px-3 fw-semibold text-uppercase small"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"buildFooter": {
|
|
23
|
-
"tagName": "td",
|
|
24
|
-
"children": [
|
|
25
|
-
{
|
|
26
|
-
"tagName": "input",
|
|
27
|
-
"attributes": {
|
|
28
|
-
"type": "text",
|
|
29
|
-
"placeholder": "enter ${columnName}",
|
|
30
|
-
"name": "${columnName}",
|
|
31
|
-
"class": "form-control"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"buildBodyCell": {
|
|
37
|
-
"tagName": "td",
|
|
38
|
-
"textContent": "${rowValue}",
|
|
39
|
-
"attributes": {
|
|
40
|
-
"class": "py-3 px-3 text-secondary"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"button": {
|
|
44
|
-
"tagName": "button",
|
|
45
|
-
"textContent": "${columnName}",
|
|
46
|
-
"attributes": {
|
|
47
|
-
"class": "btn btn-primary btn-sm"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"buttonCell": {
|
|
51
|
-
"tagName": "td",
|
|
52
|
-
"attributes": {
|
|
53
|
-
"class": "py-2 px-3 text-center"
|
|
54
|
-
},
|
|
55
|
-
"children": [
|
|
56
|
-
{
|
|
57
|
-
"tagName": "button",
|
|
58
|
-
"textContent": "${agg:count}",
|
|
59
|
-
"attributes": {
|
|
60
|
-
"class": "btn btn-primary btn-sm"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
"buildOption": {
|
|
66
|
-
"tagName": "option",
|
|
67
|
-
"textContent": "${rowValue}",
|
|
68
|
-
"attributes": {
|
|
69
|
-
"value": "${rowValue}"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"buildSelect": {
|
|
73
|
-
"tagName": "select",
|
|
74
|
-
"attributes": {
|
|
75
|
-
"id": "LedgerName"
|
|
76
|
-
},
|
|
77
|
-
"children": []
|
|
78
|
-
},
|
|
79
|
-
"buildDataList": {
|
|
80
|
-
"tagName": "datalist",
|
|
81
|
-
"attributes": {
|
|
82
|
-
"data-name": "${columnName}"
|
|
83
|
-
},
|
|
84
|
-
"children": []
|
|
85
|
-
}
|
|
86
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { resolvePath } from "json-transformer-funcs";
|
|
2
|
-
import writePath from "../writePath/index.js";
|
|
3
|
-
|
|
4
|
-
const runSingleInstruction = (instruction, registry, functions, spec) => {
|
|
5
|
-
const source = resolvePath(registry, instruction.sourcePath);
|
|
6
|
-
const result = functions[instruction.func](source, spec[instruction.templateKey]);
|
|
7
|
-
writePath(registry, instruction.destinationPath, result);
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
const runSingleInstructions = (instructions, registry, functions, spec) => {
|
|
11
|
-
instructions.forEach(instruction => {
|
|
12
|
-
runSingleInstruction(instruction, registry, functions, spec);
|
|
13
|
-
});
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export { runSingleInstruction, runSingleInstructions };
|
|
17
|
-
export default runSingleInstructions;
|
package/src/v20/spec.json
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"buildBodyTr": {
|
|
3
|
-
"tagName": "tr",
|
|
4
|
-
"attributes": {
|
|
5
|
-
"class": "align-middle"
|
|
6
|
-
},
|
|
7
|
-
"children": []
|
|
8
|
-
},
|
|
9
|
-
"buildColGroup": {
|
|
10
|
-
"tagName": "col",
|
|
11
|
-
"attributes": {
|
|
12
|
-
"width": "${width}"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"buildHeader": {
|
|
16
|
-
"tagName": "th",
|
|
17
|
-
"textContent": "${columnName}",
|
|
18
|
-
"attributes": {
|
|
19
|
-
"class": "py-3 px-3 fw-semibold text-uppercase small"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"buildFooter": {
|
|
23
|
-
"tagName": "td",
|
|
24
|
-
"children": [
|
|
25
|
-
{
|
|
26
|
-
"tagName": "input",
|
|
27
|
-
"attributes": {
|
|
28
|
-
"type": "text",
|
|
29
|
-
"placeholder": "enter ${columnName}",
|
|
30
|
-
"name": "${columnName}",
|
|
31
|
-
"class": "form-control"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"buildBodyCell": {
|
|
37
|
-
"tagName": "td",
|
|
38
|
-
"textContent": "${rowValue}",
|
|
39
|
-
"attributes": {
|
|
40
|
-
"class": "py-3 px-3 text-secondary"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"button": {
|
|
44
|
-
"tagName": "button",
|
|
45
|
-
"textContent": "${columnName}",
|
|
46
|
-
"attributes": {
|
|
47
|
-
"class": "btn btn-primary btn-sm"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"buttonCell": {
|
|
51
|
-
"tagName": "td",
|
|
52
|
-
"attributes": {
|
|
53
|
-
"class": "py-2 px-3 text-center"
|
|
54
|
-
},
|
|
55
|
-
"children": [
|
|
56
|
-
{
|
|
57
|
-
"tagName": "button",
|
|
58
|
-
"textContent": "${agg:count}",
|
|
59
|
-
"attributes": {
|
|
60
|
-
"class": "btn btn-primary btn-sm"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
"buildOption": {
|
|
66
|
-
"tagName": "option",
|
|
67
|
-
"textContent": "${rowValue}",
|
|
68
|
-
"attributes": {
|
|
69
|
-
"value": "${rowValue}"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"buildSelect": {
|
|
73
|
-
"tagName": "select",
|
|
74
|
-
"attributes": {
|
|
75
|
-
"id": "LedgerName"
|
|
76
|
-
},
|
|
77
|
-
"children": []
|
|
78
|
-
},
|
|
79
|
-
"buildDataList": {
|
|
80
|
-
"tagName": "datalist",
|
|
81
|
-
"attributes": {
|
|
82
|
-
"data-name": "${columnName}"
|
|
83
|
-
},
|
|
84
|
-
"children": []
|
|
85
|
-
}
|
|
86
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"buildBodyTr": {
|
|
3
|
-
"tagName": "tr",
|
|
4
|
-
"attributes": {
|
|
5
|
-
"class": "align-middle"
|
|
6
|
-
},
|
|
7
|
-
"children": []
|
|
8
|
-
},
|
|
9
|
-
"buildColGroup": {
|
|
10
|
-
"tagName": "col",
|
|
11
|
-
"attributes": {
|
|
12
|
-
"width": "${width}"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"buildHeader": {
|
|
16
|
-
"tagName": "th",
|
|
17
|
-
"textContent": "${columnName}",
|
|
18
|
-
"attributes": {
|
|
19
|
-
"class": "py-3 px-3 fw-semibold text-uppercase small"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"buildFooter": {
|
|
23
|
-
"tagName": "td",
|
|
24
|
-
"children": [
|
|
25
|
-
{
|
|
26
|
-
"tagName": "input",
|
|
27
|
-
"attributes": {
|
|
28
|
-
"type": "text",
|
|
29
|
-
"placeholder": "enter ${columnName}",
|
|
30
|
-
"name": "${columnName}",
|
|
31
|
-
"class": "form-control"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"buildBodyCell": {
|
|
37
|
-
"tagName": "td",
|
|
38
|
-
"textContent": "${rowValue}",
|
|
39
|
-
"attributes": {
|
|
40
|
-
"class": "py-3 px-3 text-secondary"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"button": {
|
|
44
|
-
"tagName": "button",
|
|
45
|
-
"textContent": "${columnName}",
|
|
46
|
-
"attributes": {
|
|
47
|
-
"class": "btn btn-primary btn-sm"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"buttonCell": {
|
|
51
|
-
"tagName": "td",
|
|
52
|
-
"attributes": {
|
|
53
|
-
"class": "py-2 px-3 text-center"
|
|
54
|
-
},
|
|
55
|
-
"children": [
|
|
56
|
-
{
|
|
57
|
-
"tagName": "button",
|
|
58
|
-
"textContent": "${agg:count}",
|
|
59
|
-
"attributes": {
|
|
60
|
-
"class": "btn btn-primary btn-sm"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
"buildOption": {
|
|
66
|
-
"tagName": "option",
|
|
67
|
-
"textContent": "${rowValue}",
|
|
68
|
-
"attributes": {
|
|
69
|
-
"value": "${rowValue}"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"buildSelect": {
|
|
73
|
-
"tagName": "select",
|
|
74
|
-
"attributes": {
|
|
75
|
-
"id": "LedgerName"
|
|
76
|
-
},
|
|
77
|
-
"children": []
|
|
78
|
-
},
|
|
79
|
-
"buildDataList": {
|
|
80
|
-
"tagName": "datalist",
|
|
81
|
-
"attributes": {
|
|
82
|
-
"data-name": "${columnName}"
|
|
83
|
-
},
|
|
84
|
-
"children": []
|
|
85
|
-
}
|
|
86
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"buildBodyTr": {
|
|
3
|
-
"tagName": "tr",
|
|
4
|
-
"attributes": {
|
|
5
|
-
"class": "align-middle"
|
|
6
|
-
},
|
|
7
|
-
"children": []
|
|
8
|
-
},
|
|
9
|
-
"buildColGroup": {
|
|
10
|
-
"tagName": "col",
|
|
11
|
-
"attributes": {
|
|
12
|
-
"width": "${width}"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"buildHeader": {
|
|
16
|
-
"tagName": "th",
|
|
17
|
-
"textContent": "${columnName}",
|
|
18
|
-
"attributes": {
|
|
19
|
-
"class": "py-3 px-3 fw-semibold text-uppercase small"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"buildFooter": {
|
|
23
|
-
"tagName": "td",
|
|
24
|
-
"children": [
|
|
25
|
-
{
|
|
26
|
-
"tagName": "input",
|
|
27
|
-
"attributes": {
|
|
28
|
-
"type": "text",
|
|
29
|
-
"placeholder": "enter ${columnName}",
|
|
30
|
-
"name": "${columnName}",
|
|
31
|
-
"class": "form-control"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"buildBodyCell": {
|
|
37
|
-
"tagName": "td",
|
|
38
|
-
"textContent": "${rowValue}",
|
|
39
|
-
"attributes": {
|
|
40
|
-
"class": "py-3 px-3 text-secondary"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"button": {
|
|
44
|
-
"tagName": "button",
|
|
45
|
-
"textContent": "${columnName}",
|
|
46
|
-
"attributes": {
|
|
47
|
-
"class": "btn btn-primary btn-sm"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"buttonCell": {
|
|
51
|
-
"tagName": "td",
|
|
52
|
-
"attributes": {
|
|
53
|
-
"class": "py-2 px-3 text-center"
|
|
54
|
-
},
|
|
55
|
-
"children": [
|
|
56
|
-
{
|
|
57
|
-
"tagName": "button",
|
|
58
|
-
"textContent": "${agg:count}",
|
|
59
|
-
"attributes": {
|
|
60
|
-
"class": "btn btn-primary btn-sm"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
"buildOption": {
|
|
66
|
-
"tagName": "option",
|
|
67
|
-
"textContent": "${rowValue}",
|
|
68
|
-
"attributes": {
|
|
69
|
-
"value": "${rowValue}"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"buildSelect": {
|
|
73
|
-
"tagName": "select",
|
|
74
|
-
"attributes": {
|
|
75
|
-
"id": "LedgerName"
|
|
76
|
-
},
|
|
77
|
-
"children": []
|
|
78
|
-
},
|
|
79
|
-
"buildDataList": {
|
|
80
|
-
"tagName": "datalist",
|
|
81
|
-
"attributes": {
|
|
82
|
-
"data-name": "${columnName}"
|
|
83
|
-
},
|
|
84
|
-
"children": []
|
|
85
|
-
}
|
|
86
|
-
}
|
package/src/v21/index.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"narration": "Build the column widths for the table using the configured columns.",
|
|
4
|
-
"destinationPath": {
|
|
5
|
-
"fileName": "base",
|
|
6
|
-
"dataRole": "table-colgroup",
|
|
7
|
-
"filePath": [
|
|
8
|
-
"children"
|
|
9
|
-
]
|
|
10
|
-
},
|
|
11
|
-
"sourcePath": {
|
|
12
|
-
"fileName": "data",
|
|
13
|
-
"filePath": [
|
|
14
|
-
"columns"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
"templateKey": "buildColGroup",
|
|
18
|
-
"func": "fromCollection"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"narration": "Build the header row for the table using the configured columns.",
|
|
22
|
-
"destinationPath": {
|
|
23
|
-
"fileName": "base",
|
|
24
|
-
"dataRole": "table-header-row",
|
|
25
|
-
"filePath": [
|
|
26
|
-
"children"
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
"sourcePath": {
|
|
30
|
-
"fileName": "data",
|
|
31
|
-
"filePath": [
|
|
32
|
-
"columns"
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
"templateKey": "buildHeader",
|
|
36
|
-
"func": "fromCollection"
|
|
37
|
-
}
|
|
38
|
-
]
|
package/src/v21/simple/spec.json
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"buildBodyTr": {
|
|
3
|
-
"tagName": "tr",
|
|
4
|
-
"attributes": {
|
|
5
|
-
"class": "align-middle"
|
|
6
|
-
},
|
|
7
|
-
"children": []
|
|
8
|
-
},
|
|
9
|
-
"buildColGroup": {
|
|
10
|
-
"tagName": "col",
|
|
11
|
-
"attributes": {
|
|
12
|
-
"width": "${width}"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"buildHeader": {
|
|
16
|
-
"tagName": "th",
|
|
17
|
-
"textContent": "${columnName}",
|
|
18
|
-
"attributes": {
|
|
19
|
-
"class": "py-3 px-3 fw-semibold text-uppercase small"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"buildFooter": {
|
|
23
|
-
"tagName": "td",
|
|
24
|
-
"children": [
|
|
25
|
-
{
|
|
26
|
-
"tagName": "input",
|
|
27
|
-
"attributes": {
|
|
28
|
-
"type": "text",
|
|
29
|
-
"placeholder": "enter ${columnName}",
|
|
30
|
-
"name": "${columnName}",
|
|
31
|
-
"class": "form-control"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"buildBodyCell": {
|
|
37
|
-
"tagName": "td",
|
|
38
|
-
"textContent": "${rowValue}",
|
|
39
|
-
"attributes": {
|
|
40
|
-
"class": "py-3 px-3 text-secondary"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"button": {
|
|
44
|
-
"tagName": "button",
|
|
45
|
-
"textContent": "${columnName}",
|
|
46
|
-
"attributes": {
|
|
47
|
-
"class": "btn btn-primary btn-sm"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"buttonCell": {
|
|
51
|
-
"tagName": "td",
|
|
52
|
-
"attributes": {
|
|
53
|
-
"class": "py-2 px-3 text-center"
|
|
54
|
-
},
|
|
55
|
-
"children": [
|
|
56
|
-
{
|
|
57
|
-
"tagName": "button",
|
|
58
|
-
"textContent": "${agg:count}",
|
|
59
|
-
"attributes": {
|
|
60
|
-
"class": "btn btn-primary btn-sm"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
"buildOption": {
|
|
66
|
-
"tagName": "option",
|
|
67
|
-
"textContent": "${rowValue}",
|
|
68
|
-
"attributes": {
|
|
69
|
-
"value": "${rowValue}"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"buildSelect": {
|
|
73
|
-
"tagName": "select",
|
|
74
|
-
"attributes": {
|
|
75
|
-
"id": "LedgerName"
|
|
76
|
-
},
|
|
77
|
-
"children": []
|
|
78
|
-
},
|
|
79
|
-
"buildDataList": {
|
|
80
|
-
"tagName": "datalist",
|
|
81
|
-
"attributes": {
|
|
82
|
-
"data-name": "${columnName}"
|
|
83
|
-
},
|
|
84
|
-
"children": []
|
|
85
|
-
}
|
|
86
|
-
}
|
package/src/v21/spec.json
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"buildBodyTr": {
|
|
3
|
-
"tagName": "tr",
|
|
4
|
-
"attributes": {
|
|
5
|
-
"class": "align-middle"
|
|
6
|
-
},
|
|
7
|
-
"children": []
|
|
8
|
-
},
|
|
9
|
-
"buildColGroup": {
|
|
10
|
-
"tagName": "col",
|
|
11
|
-
"attributes": {
|
|
12
|
-
"width": "${width}"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"buildHeader": {
|
|
16
|
-
"tagName": "th",
|
|
17
|
-
"textContent": "${columnName}",
|
|
18
|
-
"attributes": {
|
|
19
|
-
"class": "py-3 px-3 fw-semibold text-uppercase small"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"buildFooter": {
|
|
23
|
-
"tagName": "td",
|
|
24
|
-
"children": [
|
|
25
|
-
{
|
|
26
|
-
"tagName": "input",
|
|
27
|
-
"attributes": {
|
|
28
|
-
"type": "text",
|
|
29
|
-
"placeholder": "enter ${columnName}",
|
|
30
|
-
"name": "${columnName}",
|
|
31
|
-
"class": "form-control"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"buildBodyCell": {
|
|
37
|
-
"tagName": "td",
|
|
38
|
-
"textContent": "${rowValue}",
|
|
39
|
-
"attributes": {
|
|
40
|
-
"class": "py-3 px-3 text-secondary"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"button": {
|
|
44
|
-
"tagName": "button",
|
|
45
|
-
"textContent": "${columnName}",
|
|
46
|
-
"attributes": {
|
|
47
|
-
"class": "btn btn-primary btn-sm"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"buttonCell": {
|
|
51
|
-
"tagName": "td",
|
|
52
|
-
"attributes": {
|
|
53
|
-
"class": "py-2 px-3 text-center"
|
|
54
|
-
},
|
|
55
|
-
"children": [
|
|
56
|
-
{
|
|
57
|
-
"tagName": "button",
|
|
58
|
-
"textContent": "${agg:count}",
|
|
59
|
-
"attributes": {
|
|
60
|
-
"class": "btn btn-primary btn-sm"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
"buildOption": {
|
|
66
|
-
"tagName": "option",
|
|
67
|
-
"textContent": "${rowValue}",
|
|
68
|
-
"attributes": {
|
|
69
|
-
"value": "${rowValue}"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"buildSelect": {
|
|
73
|
-
"tagName": "select",
|
|
74
|
-
"attributes": {
|
|
75
|
-
"id": "LedgerName"
|
|
76
|
-
},
|
|
77
|
-
"children": []
|
|
78
|
-
},
|
|
79
|
-
"buildDataList": {
|
|
80
|
-
"tagName": "datalist",
|
|
81
|
-
"attributes": {
|
|
82
|
-
"data-name": "${columnName}"
|
|
83
|
-
},
|
|
84
|
-
"children": []
|
|
85
|
-
}
|
|
86
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|