@appcorp/app-corp-vista 0.3.70 → 0.3.72

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