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