json-renderers-run-instructions 1.9.3 → 1.9.6

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,275 +1,275 @@
1
- {
2
- "buildColgroup": {
3
- "type": "single",
4
- "narration": "Build column widths",
5
- "destinationPath": {
6
- "fileName": "base",
7
- "filePath": [
8
- "children"
9
- ],
10
- "jsonPath": "$..*[?@.attributes['data-role'] == 'table-colgroup']"
11
- },
12
- "sourcePath": {
13
- "fileName": "data",
14
- "jsonPath": "$.columns"
15
- },
16
- "templateKey": "buildColGroup",
17
- "func": "fromCollection"
18
- },
19
- "buildHeader": {
20
- "type": "single",
21
- "narration": "Build table header",
22
- "destinationPath": {
23
- "fileName": "base",
24
- "filePath": [
25
- "children"
26
- ],
27
- "jsonPath": "$..*[?@.attributes['data-role'] == 'table-header-row']"
28
- },
29
- "sourcePath": {
30
- "fileName": "data",
31
- "jsonPath": "$.columns"
32
- },
33
- "templateKey": "buildHeader",
34
- "func": "fromCollection"
35
- },
36
- "buildFooter": {
37
- "type": "single",
38
- "narration": "Build table footer",
39
- "destinationPath": {
40
- "fileName": "base",
41
- "filePath": [
42
- "children"
43
- ],
44
- "jsonPath": "$..*[?@.attributes['data-role'] == 'table-footer-row']"
45
- },
46
- "sourcePath": {
47
- "fileName": "data",
48
- "jsonPath": "$.columns"
49
- },
50
- "templateKey": "buildFooter",
51
- "func": "fromCollection"
52
- },
53
- "buildBody": {
54
- "type": "rowOnColumn",
55
- "narration": "Build table body",
56
- "destinationPath": {
57
- "fileName": "base",
58
- "filePath": [
59
- "children"
60
- ],
61
- "jsonPath": "$..*[?@.attributes['data-role'] == 'table-body']"
62
- },
63
- "templateKey": {
64
- "rowKey": "buildBodyTr",
65
- "columnKey": "buildBodyCell"
66
- }
67
- },
68
- "serial": [
69
- {
70
- "narration": "Prepend the serial column width to the table colgroup.",
71
- "destinationPath": {
72
- "fileName": "base",
73
- "filePath": [
74
- "children"
75
- ],
76
- "action": "unshift",
77
- "jsonPath": "$..*[?@.attributes['data-role'] == 'table-colgroup']"
78
- },
79
- "sourcePath": null,
80
- "templateKey": "colGroupForSerial",
81
- "func": null
82
- },
83
- {
84
- "narration": "Prepend the serial header cell to the table header row.",
85
- "destinationPath": {
86
- "fileName": "base",
87
- "filePath": [
88
- "children"
89
- ],
90
- "action": "unshift",
91
- "jsonPath": "$..*[?@.attributes['data-role'] == 'table-header-row']"
92
- },
93
- "sourcePath": null,
94
- "templateKey": "headerSerialCell",
95
- "func": null
96
- },
97
- {
98
- "narration": "Prepend the serial number cell into each table body row.",
99
- "destinationPath": {
100
- "fileName": "base",
101
- "filePath": [
102
- "children"
103
- ],
104
- "action": "unshiftSerialToRows",
105
- "jsonPath": "$..*[?@.attributes['data-role'] == 'table-body']"
106
- },
107
- "sourcePath": null,
108
- "templateKey": "buildBodyCell",
109
- "func": null
110
- },
111
- {
112
- "narration": "Prepend the serial footer cell to the table footer row.",
113
- "destinationPath": {
114
- "fileName": "base",
115
- "filePath": [
116
- "children"
117
- ],
118
- "action": "unshift",
119
- "jsonPath": "$..*[?@.attributes['data-role'] == 'table-footer-row']"
120
- },
121
- "sourcePath": null,
122
- "templateKey": "headerSerialCell",
123
- "func": null
124
- }
125
- ],
126
- "options": [
127
- {
128
- "narration": "Append the options column width to the table colgroup.",
129
- "destinationPath": {
130
- "fileName": "base",
131
- "filePath": [
132
- "children"
133
- ],
134
- "action": "push",
135
- "jsonPath": "$..*[?@.attributes['data-role'] == 'table-colgroup']"
136
- },
137
- "sourcePath": null,
138
- "templateKey": "colGroupForOption",
139
- "func": null
140
- },
141
- {
142
- "narration": "Append the options header cell to the table header row.",
143
- "destinationPath": {
144
- "fileName": "base",
145
- "filePath": [
146
- "children"
147
- ],
148
- "action": "push",
149
- "jsonPath": "$..*[?@.attributes['data-role'] == 'table-header-row']"
150
- },
151
- "sourcePath": null,
152
- "templateKey": "headerForOption",
153
- "func": null
154
- },
155
- {
156
- "narration": "Append the options button cell into each table body row.",
157
- "destinationPath": {
158
- "fileName": "base",
159
- "filePath": [
160
- "children"
161
- ],
162
- "action": "pushToRows",
163
- "jsonPath": "$..*[?@.attributes['data-role'] == 'table-body']"
164
- },
165
- "sourcePath": null,
166
- "templateKey": "optionsButtonCell",
167
- "func": null
168
- },
169
- {
170
- "narration": "Append the options footer cell to the table footer row.",
171
- "destinationPath": {
172
- "fileName": "base",
173
- "filePath": [
174
- "children"
175
- ],
176
- "action": "push",
177
- "jsonPath": "$..*[?@.attributes['data-role'] == 'table-footer-row']"
178
- },
179
- "sourcePath": null,
180
- "templateKey": "tdWithButtonSaveWarning",
181
- "func": null
182
- }
183
- ],
184
- "search": [
185
- {
186
- "narration": "Prepend the search row to top of the table.",
187
- "destinationPath": {
188
- "fileName": "base",
189
- "filePath": [
190
- "children"
191
- ],
192
- "action": "unshift",
193
- "jsonPath": "$..*[?@.attributes['data-role'] == 'table-parent']"
194
- },
195
- "sourcePath": null,
196
- "templateKey": "tableSearch",
197
- "func": null
198
- }
199
- ],
200
- "buildFormField": {
201
- "type": "single",
202
- "narration": "Build form fields from columns",
203
- "destinationPath": {
204
- "fileName": "base",
205
- "filePath": [
206
- "children"
207
- ],
208
- "jsonPath": "$..*[?@.attributes['data-role'] == 'form-body']"
209
- },
210
- "sourcePath": {
211
- "fileName": "data",
212
- "jsonPath": "$.columns"
213
- },
214
- "templateKey": "buildFormField",
215
- "func": "fromCollection"
216
- },
217
- "buildSelectWithOptions": {
218
- "type": "columnOnRow",
219
- "narration": "Build selects with options",
220
- "destinationPath": {
221
- "fileName": "base",
222
- "filePath": [
223
- "children"
224
- ]
225
- },
226
- "templateKey": {
227
- "columnKey": "buildSelect",
228
- "rowKey": "buildOption"
229
- }
230
- },
231
- "buildSelectOptions": {
232
- "type": "single",
233
- "narration": "Build select options",
234
- "destinationPath": {
235
- "fileName": "base",
236
- "filePath": [
237
- "children"
238
- ]
239
- },
240
- "sourcePath": {
241
- "fileName": "data",
242
- "jsonPath": "$.data"
243
- },
244
- "templateKey": "buildOption",
245
- "func": "fromCollection"
246
- },
247
- "buildOptionsArray": {
248
- "type": "single",
249
- "narration": "Build options array",
250
- "destinationPath": {
251
- "fileName": "base",
252
- "filePath": []
253
- },
254
- "sourcePath": {
255
- "fileName": "data",
256
- "jsonPath": "$.data"
257
- },
258
- "templateKey": "buildOption",
259
- "func": "fromCollection"
260
- },
261
- "buildDataListWithOptions": {
262
- "type": "columnOnRow",
263
- "narration": "Build datalists with options",
264
- "destinationPath": {
265
- "fileName": "base",
266
- "filePath": [
267
- "children"
268
- ]
269
- },
270
- "templateKey": {
271
- "columnKey": "buildDataList",
272
- "rowKey": "buildOption"
273
- }
274
- }
275
- }
1
+ {
2
+ "buildColgroup": {
3
+ "type": "single",
4
+ "narration": "Build column widths",
5
+ "destinationPath": {
6
+ "fileName": "base",
7
+ "filePath": [
8
+ "children"
9
+ ],
10
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'table-colgroup']"
11
+ },
12
+ "sourcePath": {
13
+ "fileName": "data",
14
+ "jsonPath": "$.columns"
15
+ },
16
+ "templateKey": "buildColGroup",
17
+ "func": "fromCollection"
18
+ },
19
+ "buildHeader": {
20
+ "type": "single",
21
+ "narration": "Build table header",
22
+ "destinationPath": {
23
+ "fileName": "base",
24
+ "filePath": [
25
+ "children"
26
+ ],
27
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'table-header-row']"
28
+ },
29
+ "sourcePath": {
30
+ "fileName": "data",
31
+ "jsonPath": "$.columns"
32
+ },
33
+ "templateKey": "buildHeader",
34
+ "func": "fromCollection"
35
+ },
36
+ "buildFooter": {
37
+ "type": "single",
38
+ "narration": "Build table footer",
39
+ "destinationPath": {
40
+ "fileName": "base",
41
+ "filePath": [
42
+ "children"
43
+ ],
44
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'table-footer-row']"
45
+ },
46
+ "sourcePath": {
47
+ "fileName": "data",
48
+ "jsonPath": "$.columns"
49
+ },
50
+ "templateKey": "buildFooter",
51
+ "func": "fromCollection"
52
+ },
53
+ "buildBody": {
54
+ "type": "rowOnColumn",
55
+ "narration": "Build table body",
56
+ "destinationPath": {
57
+ "fileName": "base",
58
+ "filePath": [
59
+ "children"
60
+ ],
61
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'table-body']"
62
+ },
63
+ "templateKey": {
64
+ "rowKey": "buildBodyTr",
65
+ "columnKey": "buildBodyCell"
66
+ }
67
+ },
68
+ "serial": [
69
+ {
70
+ "narration": "Prepend the serial column width to the table colgroup.",
71
+ "destinationPath": {
72
+ "fileName": "base",
73
+ "filePath": [
74
+ "children"
75
+ ],
76
+ "action": "unshift",
77
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'table-colgroup']"
78
+ },
79
+ "sourcePath": null,
80
+ "templateKey": "colGroupForSerial",
81
+ "func": null
82
+ },
83
+ {
84
+ "narration": "Prepend the serial header cell to the table header row.",
85
+ "destinationPath": {
86
+ "fileName": "base",
87
+ "filePath": [
88
+ "children"
89
+ ],
90
+ "action": "unshift",
91
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'table-header-row']"
92
+ },
93
+ "sourcePath": null,
94
+ "templateKey": "headerSerialCell",
95
+ "func": null
96
+ },
97
+ {
98
+ "narration": "Prepend the serial number cell into each table body row.",
99
+ "destinationPath": {
100
+ "fileName": "base",
101
+ "filePath": [
102
+ "children"
103
+ ],
104
+ "action": "unshiftSerialToRows",
105
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'table-body']"
106
+ },
107
+ "sourcePath": null,
108
+ "templateKey": "buildBodyCell",
109
+ "func": null
110
+ },
111
+ {
112
+ "narration": "Prepend the serial footer cell to the table footer row.",
113
+ "destinationPath": {
114
+ "fileName": "base",
115
+ "filePath": [
116
+ "children"
117
+ ],
118
+ "action": "unshift",
119
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'table-footer-row']"
120
+ },
121
+ "sourcePath": null,
122
+ "templateKey": "headerSerialCell",
123
+ "func": null
124
+ }
125
+ ],
126
+ "options": [
127
+ {
128
+ "narration": "Append the options column width to the table colgroup.",
129
+ "destinationPath": {
130
+ "fileName": "base",
131
+ "filePath": [
132
+ "children"
133
+ ],
134
+ "action": "push",
135
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'table-colgroup']"
136
+ },
137
+ "sourcePath": null,
138
+ "templateKey": "colGroupForOption",
139
+ "func": null
140
+ },
141
+ {
142
+ "narration": "Append the options header cell to the table header row.",
143
+ "destinationPath": {
144
+ "fileName": "base",
145
+ "filePath": [
146
+ "children"
147
+ ],
148
+ "action": "push",
149
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'table-header-row']"
150
+ },
151
+ "sourcePath": null,
152
+ "templateKey": "headerForOption",
153
+ "func": null
154
+ },
155
+ {
156
+ "narration": "Append the options button cell into each table body row.",
157
+ "destinationPath": {
158
+ "fileName": "base",
159
+ "filePath": [
160
+ "children"
161
+ ],
162
+ "action": "pushToRows",
163
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'table-body']"
164
+ },
165
+ "sourcePath": null,
166
+ "templateKey": "optionsButtonCell",
167
+ "func": null
168
+ },
169
+ {
170
+ "narration": "Append the options footer cell to the table footer row.",
171
+ "destinationPath": {
172
+ "fileName": "base",
173
+ "filePath": [
174
+ "children"
175
+ ],
176
+ "action": "push",
177
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'table-footer-row']"
178
+ },
179
+ "sourcePath": null,
180
+ "templateKey": "tdWithButtonSaveWarning",
181
+ "func": null
182
+ }
183
+ ],
184
+ "search": [
185
+ {
186
+ "narration": "Prepend the search row to top of the table.",
187
+ "destinationPath": {
188
+ "fileName": "base",
189
+ "filePath": [
190
+ "children"
191
+ ],
192
+ "action": "unshift",
193
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'table-parent']"
194
+ },
195
+ "sourcePath": null,
196
+ "templateKey": "tableSearch",
197
+ "func": null
198
+ }
199
+ ],
200
+ "buildFormField": {
201
+ "type": "single",
202
+ "narration": "Build form fields from columns",
203
+ "destinationPath": {
204
+ "fileName": "base",
205
+ "filePath": [
206
+ "children"
207
+ ],
208
+ "jsonPath": "$..*[?@.attributes['data-role'] == 'form-body']"
209
+ },
210
+ "sourcePath": {
211
+ "fileName": "data",
212
+ "jsonPath": "$.columns"
213
+ },
214
+ "templateKey": "buildFormField",
215
+ "func": "fromCollection"
216
+ },
217
+ "buildSelectWithOptions": {
218
+ "type": "columnOnRow",
219
+ "narration": "Build selects with options",
220
+ "destinationPath": {
221
+ "fileName": "base",
222
+ "filePath": [
223
+ "children"
224
+ ]
225
+ },
226
+ "templateKey": {
227
+ "columnKey": "buildSelect",
228
+ "rowKey": "buildOption"
229
+ }
230
+ },
231
+ "buildSelectOptions": {
232
+ "type": "single",
233
+ "narration": "Build select options",
234
+ "destinationPath": {
235
+ "fileName": "base",
236
+ "filePath": [
237
+ "children"
238
+ ]
239
+ },
240
+ "sourcePath": {
241
+ "fileName": "data",
242
+ "jsonPath": "$.data"
243
+ },
244
+ "templateKey": "buildOption",
245
+ "func": "fromCollection"
246
+ },
247
+ "buildOptionsArray": {
248
+ "type": "single",
249
+ "narration": "Build options array",
250
+ "destinationPath": {
251
+ "fileName": "base",
252
+ "filePath": []
253
+ },
254
+ "sourcePath": {
255
+ "fileName": "data",
256
+ "jsonPath": "$.data"
257
+ },
258
+ "templateKey": "buildOption",
259
+ "func": "fromCollection"
260
+ },
261
+ "buildDataListWithOptions": {
262
+ "type": "columnOnRow",
263
+ "narration": "Build datalists with options",
264
+ "destinationPath": {
265
+ "fileName": "base",
266
+ "filePath": [
267
+ "children"
268
+ ]
269
+ },
270
+ "templateKey": {
271
+ "columnKey": "buildDataList",
272
+ "rowKey": "buildOption"
273
+ }
274
+ }
275
+ }