@appcorp/app-corp-vista 0.3.70 → 0.3.71

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/app-corp-vista",
3
- "version": "0.3.70",
3
+ "version": "0.3.71",
4
4
  "scripts": {
5
5
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib && cp yarn.lock lib",
6
6
  "build:next": "next build",
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.imageGridTemplateV2 = void 0;
4
4
  var common_1 = require("@pdfme/common");
5
- // grid 3 columns and 5 rows
5
+ // grid 3 columns and 4 rows
6
6
  exports.imageGridTemplateV2 = {
7
7
  basePdf: common_1.BLANK_A4_PDF,
8
8
  schemas: [
@@ -13,7 +13,7 @@ exports.imageGridTemplateV2 = {
13
13
  content: '',
14
14
  position: { x: 10, y: 10 },
15
15
  width: 60,
16
- height: 51.4,
16
+ height: 65.5,
17
17
  rotate: 0,
18
18
  opacity: 1,
19
19
  required: true,
@@ -25,7 +25,7 @@ exports.imageGridTemplateV2 = {
25
25
  content: '',
26
26
  position: { x: 75, y: 10 },
27
27
  width: 60,
28
- height: 51.4,
28
+ height: 65.5,
29
29
  rotate: 0,
30
30
  opacity: 1,
31
31
  required: true,
@@ -37,7 +37,7 @@ exports.imageGridTemplateV2 = {
37
37
  content: '',
38
38
  position: { x: 140, y: 10 },
39
39
  width: 60,
40
- height: 51.4,
40
+ height: 65.5,
41
41
  rotate: 0,
42
42
  opacity: 1,
43
43
  required: true,
@@ -48,9 +48,9 @@ exports.imageGridTemplateV2 = {
48
48
  name: 'img4',
49
49
  type: 'image',
50
50
  content: '',
51
- position: { x: 10, y: 66.4 },
51
+ position: { x: 10, y: 80.5 },
52
52
  width: 60,
53
- height: 51.4,
53
+ height: 65.5,
54
54
  rotate: 0,
55
55
  opacity: 1,
56
56
  required: true,
@@ -60,9 +60,9 @@ exports.imageGridTemplateV2 = {
60
60
  name: 'img5',
61
61
  type: 'image',
62
62
  content: '',
63
- position: { x: 75, y: 66.4 },
63
+ position: { x: 75, y: 80.5 },
64
64
  width: 60,
65
- height: 51.4,
65
+ height: 65.5,
66
66
  rotate: 0,
67
67
  opacity: 1,
68
68
  required: true,
@@ -72,9 +72,9 @@ exports.imageGridTemplateV2 = {
72
72
  name: 'img6',
73
73
  type: 'image',
74
74
  content: '',
75
- position: { x: 140, y: 66.4 },
75
+ position: { x: 140, y: 80.5 },
76
76
  width: 60,
77
- height: 51.4,
77
+ height: 65.5,
78
78
  rotate: 0,
79
79
  opacity: 1,
80
80
  required: true,
@@ -85,9 +85,9 @@ exports.imageGridTemplateV2 = {
85
85
  name: 'img7',
86
86
  type: 'image',
87
87
  content: '',
88
- position: { x: 10, y: 122.8 },
88
+ position: { x: 10, y: 151 },
89
89
  width: 60,
90
- height: 51.4,
90
+ height: 65.5,
91
91
  rotate: 0,
92
92
  opacity: 1,
93
93
  required: true,
@@ -97,9 +97,9 @@ exports.imageGridTemplateV2 = {
97
97
  name: 'img8',
98
98
  type: 'image',
99
99
  content: '',
100
- position: { x: 75, y: 122.8 },
100
+ position: { x: 75, y: 151 },
101
101
  width: 60,
102
- height: 51.4,
102
+ height: 65.5,
103
103
  rotate: 0,
104
104
  opacity: 1,
105
105
  required: true,
@@ -109,9 +109,9 @@ exports.imageGridTemplateV2 = {
109
109
  name: 'img9',
110
110
  type: 'image',
111
111
  content: '',
112
- position: { x: 140, y: 122.8 },
112
+ position: { x: 140, y: 151 },
113
113
  width: 60,
114
- height: 51.4,
114
+ height: 65.5,
115
115
  rotate: 0,
116
116
  opacity: 1,
117
117
  required: true,
@@ -122,9 +122,9 @@ exports.imageGridTemplateV2 = {
122
122
  name: 'img10',
123
123
  type: 'image',
124
124
  content: '',
125
- position: { x: 10, y: 179.2 },
125
+ position: { x: 10, y: 221.5 },
126
126
  width: 60,
127
- height: 51.4,
127
+ height: 65.5,
128
128
  rotate: 0,
129
129
  opacity: 1,
130
130
  required: true,
@@ -134,9 +134,9 @@ exports.imageGridTemplateV2 = {
134
134
  name: 'img11',
135
135
  type: 'image',
136
136
  content: '',
137
- position: { x: 75, y: 179.2 },
137
+ position: { x: 75, y: 221.5 },
138
138
  width: 60,
139
- height: 51.4,
139
+ height: 65.5,
140
140
  rotate: 0,
141
141
  opacity: 1,
142
142
  required: true,
@@ -146,46 +146,9 @@ exports.imageGridTemplateV2 = {
146
146
  name: 'img12',
147
147
  type: 'image',
148
148
  content: '',
149
- position: { x: 140, y: 179.2 },
149
+ position: { x: 140, y: 221.5 },
150
150
  width: 60,
151
- height: 51.4,
152
- rotate: 0,
153
- opacity: 1,
154
- required: true,
155
- readOnly: false,
156
- },
157
- // Row 5
158
- {
159
- name: 'img13',
160
- type: 'image',
161
- content: '',
162
- position: { x: 10, y: 235.6 },
163
- width: 60,
164
- height: 51.4,
165
- rotate: 0,
166
- opacity: 1,
167
- required: true,
168
- readOnly: false,
169
- },
170
- {
171
- name: 'img14',
172
- type: 'image',
173
- content: '',
174
- position: { x: 75, y: 235.6 },
175
- width: 60,
176
- height: 51.4,
177
- rotate: 0,
178
- opacity: 1,
179
- required: true,
180
- readOnly: false,
181
- },
182
- {
183
- name: 'img15',
184
- type: 'image',
185
- content: '',
186
- position: { x: 140, y: 235.6 },
187
- width: 60,
188
- height: 51.4,
151
+ height: 65.5,
189
152
  rotate: 0,
190
153
  opacity: 1,
191
154
  required: true,
@@ -1,2 +1,2 @@
1
1
  import { Template } from '@pdfme/common';
2
- export declare const imageGridTemplateV3: Template;
2
+ export declare const imageGridTemplateV2: Template;
@@ -1,20 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.imageGridTemplateV3 = void 0;
3
+ exports.imageGridTemplateV2 = void 0;
4
4
  var common_1 = require("@pdfme/common");
5
- // grid 4 columns and 5 rows
6
- exports.imageGridTemplateV3 = {
5
+ // grid 3 columns and 5 rows
6
+ exports.imageGridTemplateV2 = {
7
7
  basePdf: common_1.BLANK_A4_PDF,
8
8
  schemas: [
9
9
  [
10
- // Row 1
11
10
  {
12
11
  name: 'img1',
13
12
  type: 'image',
14
13
  content: '',
15
14
  position: { x: 10, y: 10 },
16
15
  width: 60,
17
- height: 90,
16
+ height: 51.4,
18
17
  rotate: 0,
19
18
  opacity: 1,
20
19
  required: true,
@@ -26,7 +25,7 @@ exports.imageGridTemplateV3 = {
26
25
  content: '',
27
26
  position: { x: 75, y: 10 },
28
27
  width: 60,
29
- height: 90,
28
+ height: 51.4,
30
29
  rotate: 0,
31
30
  opacity: 1,
32
31
  required: true,
@@ -38,32 +37,32 @@ exports.imageGridTemplateV3 = {
38
37
  content: '',
39
38
  position: { x: 140, y: 10 },
40
39
  width: 60,
41
- height: 90,
40
+ height: 51.4,
42
41
  rotate: 0,
43
42
  opacity: 1,
44
43
  required: true,
45
44
  readOnly: false,
46
45
  },
46
+ // Row 2
47
47
  {
48
48
  name: 'img4',
49
49
  type: 'image',
50
50
  content: '',
51
- position: { x: 205, y: 10 },
51
+ position: { x: 10, y: 66.4 },
52
52
  width: 60,
53
- height: 90,
53
+ height: 51.4,
54
54
  rotate: 0,
55
55
  opacity: 1,
56
56
  required: true,
57
57
  readOnly: false,
58
58
  },
59
- // Row 2
60
59
  {
61
60
  name: 'img5',
62
61
  type: 'image',
63
62
  content: '',
64
- position: { x: 10, y: 103 },
63
+ position: { x: 75, y: 66.4 },
65
64
  width: 60,
66
- height: 90,
65
+ height: 51.4,
67
66
  rotate: 0,
68
67
  opacity: 1,
69
68
  required: true,
@@ -73,21 +72,22 @@ exports.imageGridTemplateV3 = {
73
72
  name: 'img6',
74
73
  type: 'image',
75
74
  content: '',
76
- position: { x: 75, y: 103 },
75
+ position: { x: 140, y: 66.4 },
77
76
  width: 60,
78
- height: 90,
77
+ height: 51.4,
79
78
  rotate: 0,
80
79
  opacity: 1,
81
80
  required: true,
82
81
  readOnly: false,
83
82
  },
83
+ // Row 3
84
84
  {
85
85
  name: 'img7',
86
86
  type: 'image',
87
87
  content: '',
88
- position: { x: 140, y: 103 },
88
+ position: { x: 10, y: 122.8 },
89
89
  width: 60,
90
- height: 90,
90
+ height: 51.4,
91
91
  rotate: 0,
92
92
  opacity: 1,
93
93
  required: true,
@@ -97,34 +97,34 @@ exports.imageGridTemplateV3 = {
97
97
  name: 'img8',
98
98
  type: 'image',
99
99
  content: '',
100
- position: { x: 205, y: 103 },
100
+ position: { x: 75, y: 122.8 },
101
101
  width: 60,
102
- height: 90,
102
+ height: 51.4,
103
103
  rotate: 0,
104
104
  opacity: 1,
105
105
  required: true,
106
106
  readOnly: false,
107
107
  },
108
- // Row 3
109
108
  {
110
109
  name: 'img9',
111
110
  type: 'image',
112
111
  content: '',
113
- position: { x: 10, y: 196 },
112
+ position: { x: 140, y: 122.8 },
114
113
  width: 60,
115
- height: 90,
114
+ height: 51.4,
116
115
  rotate: 0,
117
116
  opacity: 1,
118
117
  required: true,
119
118
  readOnly: false,
120
119
  },
120
+ // Row 4
121
121
  {
122
122
  name: 'img10',
123
123
  type: 'image',
124
124
  content: '',
125
- position: { x: 75, y: 196 },
125
+ position: { x: 10, y: 179.2 },
126
126
  width: 60,
127
- height: 90,
127
+ height: 51.4,
128
128
  rotate: 0,
129
129
  opacity: 1,
130
130
  required: true,
@@ -134,9 +134,9 @@ exports.imageGridTemplateV3 = {
134
134
  name: 'img11',
135
135
  type: 'image',
136
136
  content: '',
137
- position: { x: 140, y: 196 },
137
+ position: { x: 75, y: 179.2 },
138
138
  width: 60,
139
- height: 90,
139
+ height: 51.4,
140
140
  rotate: 0,
141
141
  opacity: 1,
142
142
  required: true,
@@ -146,22 +146,22 @@ exports.imageGridTemplateV3 = {
146
146
  name: 'img12',
147
147
  type: 'image',
148
148
  content: '',
149
- position: { x: 205, y: 196 },
149
+ position: { x: 140, y: 179.2 },
150
150
  width: 60,
151
- height: 90,
151
+ height: 51.4,
152
152
  rotate: 0,
153
153
  opacity: 1,
154
154
  required: true,
155
155
  readOnly: false,
156
156
  },
157
- // Row 4
157
+ // Row 5
158
158
  {
159
159
  name: 'img13',
160
160
  type: 'image',
161
161
  content: '',
162
- position: { x: 10, y: 289 },
162
+ position: { x: 10, y: 235.6 },
163
163
  width: 60,
164
- height: 90,
164
+ height: 51.4,
165
165
  rotate: 0,
166
166
  opacity: 1,
167
167
  required: true,
@@ -171,9 +171,9 @@ exports.imageGridTemplateV3 = {
171
171
  name: 'img14',
172
172
  type: 'image',
173
173
  content: '',
174
- position: { x: 75, y: 289 },
174
+ position: { x: 75, y: 235.6 },
175
175
  width: 60,
176
- height: 90,
176
+ height: 51.4,
177
177
  rotate: 0,
178
178
  opacity: 1,
179
179
  required: true,
@@ -183,70 +183,9 @@ exports.imageGridTemplateV3 = {
183
183
  name: 'img15',
184
184
  type: 'image',
185
185
  content: '',
186
- position: { x: 140, y: 289 },
187
- width: 60,
188
- height: 90,
189
- rotate: 0,
190
- opacity: 1,
191
- required: true,
192
- readOnly: false,
193
- },
194
- {
195
- name: 'img16',
196
- type: 'image',
197
- content: '',
198
- position: { x: 205, y: 289 },
199
- width: 60,
200
- height: 90,
201
- rotate: 0,
202
- opacity: 1,
203
- required: true,
204
- readOnly: false,
205
- },
206
- // Row 5
207
- {
208
- name: 'img17',
209
- type: 'image',
210
- content: '',
211
- position: { x: 10, y: 382 },
212
- width: 60,
213
- height: 90,
214
- rotate: 0,
215
- opacity: 1,
216
- required: true,
217
- readOnly: false,
218
- },
219
- {
220
- name: 'img18',
221
- type: 'image',
222
- content: '',
223
- position: { x: 75, y: 382 },
224
- width: 60,
225
- height: 90,
226
- rotate: 0,
227
- opacity: 1,
228
- required: true,
229
- readOnly: false,
230
- },
231
- {
232
- name: 'img19',
233
- type: 'image',
234
- content: '',
235
- position: { x: 140, y: 382 },
236
- width: 60,
237
- height: 90,
238
- rotate: 0,
239
- opacity: 1,
240
- required: true,
241
- readOnly: false,
242
- },
243
- {
244
- name: 'img20',
245
- type: 'image',
246
- content: '',
247
- position: { x: 205, y: 382 },
186
+ position: { x: 140, y: 235.6 },
248
187
  width: 60,
249
- height: 90,
188
+ height: 51.4,
250
189
  rotate: 0,
251
190
  opacity: 1,
252
191
  required: true,
@@ -0,0 +1,2 @@
1
+ import { Template } from '@pdfme/common';
2
+ export declare const imageGridTemplateV3: Template;
@@ -0,0 +1,258 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.imageGridTemplateV3 = void 0;
4
+ var common_1 = require("@pdfme/common");
5
+ // grid 4 columns and 5 rows
6
+ exports.imageGridTemplateV3 = {
7
+ basePdf: common_1.BLANK_A4_PDF,
8
+ schemas: [
9
+ [
10
+ // Row 1
11
+ {
12
+ name: 'img1',
13
+ type: 'image',
14
+ content: '',
15
+ position: { x: 10, y: 10 },
16
+ width: 47.5,
17
+ height: 51.4,
18
+ rotate: 0,
19
+ opacity: 1,
20
+ required: true,
21
+ readOnly: false,
22
+ },
23
+ {
24
+ name: 'img2',
25
+ type: 'image',
26
+ content: '',
27
+ position: { x: 62.5, y: 10 },
28
+ width: 47.5,
29
+ height: 51.4,
30
+ rotate: 0,
31
+ opacity: 1,
32
+ required: true,
33
+ readOnly: false,
34
+ },
35
+ {
36
+ name: 'img3',
37
+ type: 'image',
38
+ content: '',
39
+ position: { x: 115, y: 10 },
40
+ width: 47.5,
41
+ height: 51.4,
42
+ rotate: 0,
43
+ opacity: 1,
44
+ required: true,
45
+ readOnly: false,
46
+ },
47
+ {
48
+ name: 'img4',
49
+ type: 'image',
50
+ content: '',
51
+ position: { x: 167.5, y: 10 },
52
+ width: 47.5,
53
+ height: 51.4,
54
+ rotate: 0,
55
+ opacity: 1,
56
+ required: true,
57
+ readOnly: false,
58
+ },
59
+ // Row 2
60
+ {
61
+ name: 'img5',
62
+ type: 'image',
63
+ content: '',
64
+ position: { x: 10, y: 66.4 },
65
+ width: 47.5,
66
+ height: 51.4,
67
+ rotate: 0,
68
+ opacity: 1,
69
+ required: true,
70
+ readOnly: false,
71
+ },
72
+ {
73
+ name: 'img6',
74
+ type: 'image',
75
+ content: '',
76
+ position: { x: 62.5, y: 66.4 },
77
+ width: 47.5,
78
+ height: 51.4,
79
+ rotate: 0,
80
+ opacity: 1,
81
+ required: true,
82
+ readOnly: false,
83
+ },
84
+ {
85
+ name: 'img7',
86
+ type: 'image',
87
+ content: '',
88
+ position: { x: 115, y: 66.4 },
89
+ width: 47.5,
90
+ height: 51.4,
91
+ rotate: 0,
92
+ opacity: 1,
93
+ required: true,
94
+ readOnly: false,
95
+ },
96
+ {
97
+ name: 'img8',
98
+ type: 'image',
99
+ content: '',
100
+ position: { x: 167.5, y: 66.4 },
101
+ width: 47.5,
102
+ height: 51.4,
103
+ rotate: 0,
104
+ opacity: 1,
105
+ required: true,
106
+ readOnly: false,
107
+ },
108
+ // Row 3
109
+ {
110
+ name: 'img9',
111
+ type: 'image',
112
+ content: '',
113
+ position: { x: 10, y: 122.8 },
114
+ width: 47.5,
115
+ height: 51.4,
116
+ rotate: 0,
117
+ opacity: 1,
118
+ required: true,
119
+ readOnly: false,
120
+ },
121
+ {
122
+ name: 'img10',
123
+ type: 'image',
124
+ content: '',
125
+ position: { x: 62.5, y: 122.8 },
126
+ width: 47.5,
127
+ height: 51.4,
128
+ rotate: 0,
129
+ opacity: 1,
130
+ required: true,
131
+ readOnly: false,
132
+ },
133
+ {
134
+ name: 'img11',
135
+ type: 'image',
136
+ content: '',
137
+ position: { x: 115, y: 122.8 },
138
+ width: 47.5,
139
+ height: 51.4,
140
+ rotate: 0,
141
+ opacity: 1,
142
+ required: true,
143
+ readOnly: false,
144
+ },
145
+ {
146
+ name: 'img12',
147
+ type: 'image',
148
+ content: '',
149
+ position: { x: 167.5, y: 122.8 },
150
+ width: 47.5,
151
+ height: 51.4,
152
+ rotate: 0,
153
+ opacity: 1,
154
+ required: true,
155
+ readOnly: false,
156
+ },
157
+ // Row 4
158
+ {
159
+ name: 'img13',
160
+ type: 'image',
161
+ content: '',
162
+ position: { x: 10, y: 179.2 },
163
+ width: 47.5,
164
+ height: 51.4,
165
+ rotate: 0,
166
+ opacity: 1,
167
+ required: true,
168
+ readOnly: false,
169
+ },
170
+ {
171
+ name: 'img14',
172
+ type: 'image',
173
+ content: '',
174
+ position: { x: 62.5, y: 179.2 },
175
+ width: 47.5,
176
+ height: 51.4,
177
+ rotate: 0,
178
+ opacity: 1,
179
+ required: true,
180
+ readOnly: false,
181
+ },
182
+ {
183
+ name: 'img15',
184
+ type: 'image',
185
+ content: '',
186
+ position: { x: 115, y: 179.2 },
187
+ width: 47.5,
188
+ height: 51.4,
189
+ rotate: 0,
190
+ opacity: 1,
191
+ required: true,
192
+ readOnly: false,
193
+ },
194
+ {
195
+ name: 'img16',
196
+ type: 'image',
197
+ content: '',
198
+ position: { x: 167.5, y: 179.2 },
199
+ width: 47.5,
200
+ height: 51.4,
201
+ rotate: 0,
202
+ opacity: 1,
203
+ required: true,
204
+ readOnly: false,
205
+ },
206
+ // Row 5
207
+ {
208
+ name: 'img17',
209
+ type: 'image',
210
+ content: '',
211
+ position: { x: 10, y: 235.6 },
212
+ width: 47.5,
213
+ height: 51.4,
214
+ rotate: 0,
215
+ opacity: 1,
216
+ required: true,
217
+ readOnly: false,
218
+ },
219
+ {
220
+ name: 'img18',
221
+ type: 'image',
222
+ content: '',
223
+ position: { x: 62.5, y: 235.6 },
224
+ width: 47.5,
225
+ height: 51.4,
226
+ rotate: 0,
227
+ opacity: 1,
228
+ required: true,
229
+ readOnly: false,
230
+ },
231
+ {
232
+ name: 'img19',
233
+ type: 'image',
234
+ content: '',
235
+ position: { x: 115, y: 235.6 },
236
+ width: 47.5,
237
+ height: 51.4,
238
+ rotate: 0,
239
+ opacity: 1,
240
+ required: true,
241
+ readOnly: false,
242
+ },
243
+ {
244
+ name: 'img20',
245
+ type: 'image',
246
+ content: '',
247
+ position: { x: 167.5, y: 235.6 },
248
+ width: 47.5,
249
+ height: 51.4,
250
+ rotate: 0,
251
+ opacity: 1,
252
+ required: true,
253
+ readOnly: false,
254
+ },
255
+ ],
256
+ ],
257
+ pdfmeVersion: '5.4.1',
258
+ };