@appcorp/app-corp-vista 0.3.63 → 0.3.64

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.63",
3
+ "version": "0.3.64",
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,2 @@
1
+ import { Template } from '@pdfme/common';
2
+ export declare const accountStatementTemplateV1: Template;
@@ -0,0 +1,326 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.accountStatementTemplateV1 = void 0;
4
+ var common_1 = require("@pdfme/common");
5
+ exports.accountStatementTemplateV1 = {
6
+ basePdf: common_1.BLANK_A4_PDF,
7
+ schemas: [
8
+ [
9
+ {
10
+ name: 'logo',
11
+ type: 'image',
12
+ position: { x: 10, y: 10 },
13
+ content: '',
14
+ width: 20.86,
15
+ height: 17,
16
+ required: false,
17
+ readOnly: false,
18
+ },
19
+ {
20
+ name: 'heading',
21
+ type: 'text',
22
+ position: { x: 130, y: 10 },
23
+ content: '',
24
+ width: 69.87,
25
+ height: 18.98,
26
+ rotate: 0,
27
+ alignment: 'right',
28
+ verticalAlignment: 'middle',
29
+ fontSize: 25,
30
+ lineHeight: 1,
31
+ characterSpacing: 0,
32
+ fontColor: '#E5CD8B',
33
+ backgroundColor: '',
34
+ opacity: 1,
35
+ dynamicFontSize: { min: 6, max: 30, fit: 'vertical' },
36
+ fontName: 'font_light',
37
+ readOnly: false,
38
+ },
39
+ {
40
+ name: 'clientLabel',
41
+ type: 'text',
42
+ position: { x: 10, y: 60 },
43
+ content: '',
44
+ width: 84.68,
45
+ height: 10,
46
+ rotate: 0,
47
+ alignment: 'left',
48
+ verticalAlignment: 'top',
49
+ fontSize: 10,
50
+ fontWeight: 400,
51
+ lineHeight: 1,
52
+ characterSpacing: 0,
53
+ fontColor: '#2C3139',
54
+ backgroundColor: '',
55
+ opacity: 1,
56
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
57
+ fontName: 'font_bold',
58
+ readOnly: false,
59
+ },
60
+ {
61
+ name: 'clientValue',
62
+ type: 'text',
63
+ content: '',
64
+ position: { x: 10, y: 65 },
65
+ width: 84.95,
66
+ height: 17.67,
67
+ rotate: 0,
68
+ alignment: 'left',
69
+ verticalAlignment: 'top',
70
+ fontSize: 9,
71
+ lineHeight: 1.4,
72
+ characterSpacing: 0,
73
+ fontColor: '#909E98',
74
+ backgroundColor: '',
75
+ opacity: 1,
76
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
77
+ fontName: 'font_light',
78
+ readOnly: false,
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
+ {
101
+ name: 'items',
102
+ type: 'table',
103
+ position: { x: 10, y: 90 },
104
+ width: 190,
105
+ height: 13.528,
106
+ showHead: true,
107
+ head: [
108
+ 'MONTH',
109
+ 'PAID TRANSACTIONS',
110
+ 'GROSS SALES',
111
+ 'PLATFORM & COMMISSIONS FEES',
112
+ 'ADVISOR EARNINGS',
113
+ 'PAID TO ADVISOR',
114
+ ],
115
+ headWidthPercentages: [16, 16, 16, 16, 16, 16],
116
+ fontName: 'font_regular',
117
+ tableStyles: { borderWidth: 0, borderColor: '#000000' },
118
+ headStyles: {
119
+ fontName: 'font_bold',
120
+ fontSize: 10,
121
+ characterSpacing: 0,
122
+ alignment: 'left',
123
+ verticalAlignment: 'middle',
124
+ lineHeight: 1,
125
+ fontColor: '#2C3139',
126
+ borderColor: '#EFEFD1',
127
+ backgroundColor: '',
128
+ borderWidth: { top: 0, right: 0, bottom: 1, left: 0 },
129
+ padding: { top: 2, right: 2, bottom: 2, left: 2 },
130
+ },
131
+ bodyStyles: {
132
+ fontName: 'font_regular',
133
+ fontSize: 10,
134
+ characterSpacing: 0,
135
+ alignment: 'left',
136
+ verticalAlignment: 'middle',
137
+ lineHeight: 1,
138
+ fontColor: '#7c7e7d',
139
+ borderColor: '#ECF1F1',
140
+ backgroundColor: '#D3D3D3',
141
+ alternateBackgroundColor: '#FFFFFF',
142
+ borderWidth: { top: 0, right: 0, bottom: 0.75, left: 0 },
143
+ padding: { top: 2, right: 2, bottom: 2, left: 2 },
144
+ },
145
+ columnStyles: {
146
+ alignment: {
147
+ 0: 'left',
148
+ 1: 'left',
149
+ 2: 'left',
150
+ 3: 'left',
151
+ 4: 'left',
152
+ 5: 'right',
153
+ },
154
+ },
155
+ readOnly: false,
156
+ content: '[]',
157
+ },
158
+ {
159
+ name: 'subTotalLabel',
160
+ type: 'text',
161
+ position: { x: 126.59, y: 110 },
162
+ content: '',
163
+ width: 25.42,
164
+ height: 8.61,
165
+ rotate: 0,
166
+ alignment: 'left',
167
+ verticalAlignment: 'middle',
168
+ fontSize: 10,
169
+ lineHeight: 1,
170
+ characterSpacing: 0,
171
+ fontColor: '#2C3139',
172
+ backgroundColor: '',
173
+ opacity: 1,
174
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
175
+ fontName: 'font_bold',
176
+ readOnly: false,
177
+ },
178
+ {
179
+ name: 'subTotalValue',
180
+ type: 'text',
181
+ content: '$500',
182
+ position: { x: 167.26, y: 110 },
183
+ width: 32.48,
184
+ height: 7.56,
185
+ rotate: 0,
186
+ alignment: 'right',
187
+ verticalAlignment: 'middle',
188
+ fontSize: 10,
189
+ lineHeight: 1,
190
+ characterSpacing: 0,
191
+ fontColor: '#2C3139',
192
+ backgroundColor: '',
193
+ opacity: 1,
194
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
195
+ fontName: 'font_regular',
196
+ readOnly: false,
197
+ },
198
+ {
199
+ name: 'subTotalDivider',
200
+ type: 'line',
201
+ position: { x: 127.09, y: 118 },
202
+ width: 71.91,
203
+ height: 1,
204
+ rotate: 0,
205
+ opacity: 1,
206
+ readOnly: true,
207
+ color: '#ECF1F1',
208
+ },
209
+ {
210
+ name: 'totalLabel',
211
+ type: 'text',
212
+ position: { x: 128.05, y: 123 },
213
+ content: '',
214
+ width: 22.01,
215
+ height: 10.2,
216
+ rotate: 0,
217
+ alignment: 'left',
218
+ verticalAlignment: 'middle',
219
+ fontSize: 14,
220
+ lineHeight: 1,
221
+ characterSpacing: 0,
222
+ fontColor: '#2C3139',
223
+ fontName: 'font_bold',
224
+ backgroundColor: '',
225
+ dynamicFontSize: { min: 6, max: 14, fit: 'vertical' },
226
+ opacity: 1,
227
+ readOnly: false,
228
+ },
229
+ {
230
+ name: 'totalValue',
231
+ type: 'text',
232
+ content: '',
233
+ position: { x: 167.26, y: 123 },
234
+ width: 32.48,
235
+ height: 9.94,
236
+ rotate: 0,
237
+ alignment: 'right',
238
+ verticalAlignment: 'middle',
239
+ fontSize: 14,
240
+ lineHeight: 1,
241
+ characterSpacing: 0,
242
+ fontColor: '#2C3139',
243
+ backgroundColor: '',
244
+ opacity: 1,
245
+ dynamicFontSize: { min: 6, max: 14, fit: 'vertical' },
246
+ fontName: 'font_regular',
247
+ readOnly: false,
248
+ },
249
+ {
250
+ name: 'marketingNote',
251
+ type: 'text',
252
+ position: { x: 177, y: 103 },
253
+ required: false,
254
+ content: '',
255
+ width: 60,
256
+ height: 8,
257
+ rotate: 90,
258
+ alignment: 'middle',
259
+ verticalAlignment: 'middle',
260
+ fontSize: 8,
261
+ lineHeight: 1,
262
+ characterSpacing: 0,
263
+ fontColor: '#909E98',
264
+ backgroundColor: '',
265
+ opacity: 1,
266
+ strikethrough: false,
267
+ underline: false,
268
+ dynamicFontSize: { min: 6, max: 8, fit: 'vertical' },
269
+ fontName: 'font_light',
270
+ readOnly: false,
271
+ },
272
+ {
273
+ name: 'companyValue',
274
+ type: 'text',
275
+ content: '',
276
+ position: { x: 10, y: 35 },
277
+ width: 84.95,
278
+ height: 17.67,
279
+ rotate: 0,
280
+ alignment: 'left',
281
+ verticalAlignment: 'top',
282
+ fontSize: 9,
283
+ lineHeight: 1.4,
284
+ characterSpacing: 0,
285
+ fontColor: '#909E98',
286
+ backgroundColor: '',
287
+ opacity: 1,
288
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
289
+ fontName: 'font_light',
290
+ readOnly: false,
291
+ },
292
+ {
293
+ name: 'companyLabel',
294
+ type: 'text',
295
+ position: { x: 10, y: 30 },
296
+ content: '',
297
+ width: 84.68,
298
+ height: 10,
299
+ rotate: 0,
300
+ alignment: 'left',
301
+ verticalAlignment: 'top',
302
+ fontSize: 10,
303
+ fontWeight: 400,
304
+ lineHeight: 1,
305
+ characterSpacing: 0,
306
+ fontColor: '#2C3139',
307
+ backgroundColor: '',
308
+ opacity: 1,
309
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
310
+ fontName: 'font_bold',
311
+ readOnly: false,
312
+ },
313
+ {
314
+ name: 'totalDivider',
315
+ type: 'line',
316
+ position: { x: 127.09, y: 133 },
317
+ width: 72.91,
318
+ height: 1.2,
319
+ rotate: 0,
320
+ opacity: 1,
321
+ readOnly: false,
322
+ color: '#EFEFD1',
323
+ },
324
+ ],
325
+ ],
326
+ };