@appcorp/app-corp-vista 0.3.63 → 0.3.65

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.65",
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,306 @@
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: 70,
25
+ height: 20,
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: 'items',
82
+ type: 'table',
83
+ position: { x: 10, y: 90 },
84
+ width: 190,
85
+ height: 15,
86
+ showHead: true,
87
+ head: [
88
+ 'MONTH',
89
+ 'PAID TRANSACTIONS',
90
+ 'GROSS SALES',
91
+ 'PLATFORM & COMMISSIONS FEES',
92
+ 'ADVISOR EARNINGS',
93
+ 'PAID TO ADVISOR',
94
+ ],
95
+ headWidthPercentages: [13, 13, 24, 24, 13, 13],
96
+ fontName: 'font_regular',
97
+ tableStyles: { borderWidth: 0, borderColor: '#000000' },
98
+ headStyles: {
99
+ fontName: 'font_bold',
100
+ fontSize: 10,
101
+ characterSpacing: 0,
102
+ alignment: 'left',
103
+ verticalAlignment: 'middle',
104
+ lineHeight: 1,
105
+ fontColor: '#2C3139',
106
+ borderColor: '#EFEFD1',
107
+ backgroundColor: '',
108
+ borderWidth: { top: 0, right: 0, bottom: 1, left: 0 },
109
+ padding: { top: 2, right: 2, bottom: 2, left: 2 },
110
+ },
111
+ bodyStyles: {
112
+ fontName: 'font_regular',
113
+ fontSize: 10,
114
+ characterSpacing: 0,
115
+ alignment: 'left',
116
+ verticalAlignment: 'middle',
117
+ lineHeight: 1,
118
+ fontColor: '#7c7e7d',
119
+ borderColor: '#ECF1F1',
120
+ backgroundColor: '#D3D3D3',
121
+ alternateBackgroundColor: '#FFFFFF',
122
+ borderWidth: { top: 0, right: 0, bottom: 0.75, left: 0 },
123
+ padding: { top: 2, right: 2, bottom: 2, left: 2 },
124
+ },
125
+ columnStyles: {
126
+ alignment: {
127
+ 0: 'left',
128
+ 1: 'left',
129
+ 2: 'left',
130
+ 3: 'left',
131
+ 4: 'left',
132
+ 5: 'right',
133
+ },
134
+ },
135
+ readOnly: false,
136
+ content: '[]',
137
+ },
138
+ {
139
+ name: 'subTotalLabel',
140
+ type: 'text',
141
+ position: { x: 126.59, y: 110 },
142
+ content: '',
143
+ width: 25.42,
144
+ height: 8.61,
145
+ rotate: 0,
146
+ alignment: 'left',
147
+ verticalAlignment: 'middle',
148
+ fontSize: 10,
149
+ lineHeight: 1,
150
+ characterSpacing: 0,
151
+ fontColor: '#2C3139',
152
+ backgroundColor: '',
153
+ opacity: 1,
154
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
155
+ fontName: 'font_bold',
156
+ readOnly: false,
157
+ },
158
+ {
159
+ name: 'subTotalValue',
160
+ type: 'text',
161
+ content: '$500',
162
+ position: { x: 167.26, y: 110 },
163
+ width: 32.48,
164
+ height: 7.56,
165
+ rotate: 0,
166
+ alignment: 'right',
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_regular',
176
+ readOnly: false,
177
+ },
178
+ {
179
+ name: 'subTotalDivider',
180
+ type: 'line',
181
+ position: { x: 127.09, y: 118 },
182
+ width: 71.91,
183
+ height: 1,
184
+ rotate: 0,
185
+ opacity: 1,
186
+ readOnly: true,
187
+ color: '#ECF1F1',
188
+ },
189
+ {
190
+ name: 'totalLabel',
191
+ type: 'text',
192
+ position: { x: 128.05, y: 123 },
193
+ content: '',
194
+ width: 22.01,
195
+ height: 10.2,
196
+ rotate: 0,
197
+ alignment: 'left',
198
+ verticalAlignment: 'middle',
199
+ fontSize: 14,
200
+ lineHeight: 1,
201
+ characterSpacing: 0,
202
+ fontColor: '#2C3139',
203
+ fontName: 'font_bold',
204
+ backgroundColor: '',
205
+ dynamicFontSize: { min: 6, max: 14, fit: 'vertical' },
206
+ opacity: 1,
207
+ readOnly: false,
208
+ },
209
+ {
210
+ name: 'totalValue',
211
+ type: 'text',
212
+ content: '',
213
+ position: { x: 167.26, y: 123 },
214
+ width: 32.48,
215
+ height: 9.94,
216
+ rotate: 0,
217
+ alignment: 'right',
218
+ verticalAlignment: 'middle',
219
+ fontSize: 14,
220
+ lineHeight: 1,
221
+ characterSpacing: 0,
222
+ fontColor: '#2C3139',
223
+ backgroundColor: '',
224
+ opacity: 1,
225
+ dynamicFontSize: { min: 6, max: 14, fit: 'vertical' },
226
+ fontName: 'font_regular',
227
+ readOnly: false,
228
+ },
229
+ {
230
+ name: 'marketingNote',
231
+ type: 'text',
232
+ position: { x: 177, y: 103 },
233
+ required: false,
234
+ content: '',
235
+ width: 60,
236
+ height: 8,
237
+ rotate: 90,
238
+ alignment: 'middle',
239
+ verticalAlignment: 'middle',
240
+ fontSize: 8,
241
+ lineHeight: 1,
242
+ characterSpacing: 0,
243
+ fontColor: '#909E98',
244
+ backgroundColor: '',
245
+ opacity: 1,
246
+ strikethrough: false,
247
+ underline: false,
248
+ dynamicFontSize: { min: 6, max: 8, fit: 'vertical' },
249
+ fontName: 'font_light',
250
+ readOnly: false,
251
+ },
252
+ {
253
+ name: 'companyValue',
254
+ type: 'text',
255
+ content: '',
256
+ position: { x: 10, y: 35 },
257
+ width: 84.95,
258
+ height: 17.67,
259
+ rotate: 0,
260
+ alignment: 'left',
261
+ verticalAlignment: 'top',
262
+ fontSize: 9,
263
+ lineHeight: 1.4,
264
+ characterSpacing: 0,
265
+ fontColor: '#909E98',
266
+ backgroundColor: '',
267
+ opacity: 1,
268
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
269
+ fontName: 'font_light',
270
+ readOnly: false,
271
+ },
272
+ {
273
+ name: 'companyLabel',
274
+ type: 'text',
275
+ position: { x: 10, y: 30 },
276
+ content: '',
277
+ width: 84.68,
278
+ height: 10,
279
+ rotate: 0,
280
+ alignment: 'left',
281
+ verticalAlignment: 'top',
282
+ fontSize: 10,
283
+ fontWeight: 400,
284
+ lineHeight: 1,
285
+ characterSpacing: 0,
286
+ fontColor: '#2C3139',
287
+ backgroundColor: '',
288
+ opacity: 1,
289
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
290
+ fontName: 'font_bold',
291
+ readOnly: false,
292
+ },
293
+ {
294
+ name: 'totalDivider',
295
+ type: 'line',
296
+ position: { x: 127.09, y: 133 },
297
+ width: 72.91,
298
+ height: 1.2,
299
+ rotate: 0,
300
+ opacity: 1,
301
+ readOnly: false,
302
+ color: '#EFEFD1',
303
+ },
304
+ ],
305
+ ],
306
+ };