@appcorp/app-corp-vista 0.3.76 → 0.3.78

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.76",
3
+ "version": "0.3.78",
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",
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.accountStatementTemplateV1 = void 0;
4
- var common_1 = require("@pdfme/common");
5
4
  exports.accountStatementTemplateV1 = {
6
- basePdf: common_1.BLANK_A4_PDF,
7
5
  schemas: [
8
6
  [
9
7
  {
@@ -124,12 +122,12 @@ exports.accountStatementTemplateV1 = {
124
122
  },
125
123
  columnStyles: {
126
124
  alignment: {
127
- 0: 'left',
128
- 1: 'left',
129
- 2: 'left',
130
- 3: 'left',
131
- 4: 'left',
132
- 5: 'right',
125
+ 0: 'center',
126
+ 1: 'center',
127
+ 2: 'center',
128
+ 3: 'center',
129
+ 4: 'center',
130
+ 5: 'center',
133
131
  },
134
132
  },
135
133
  readOnly: false,
@@ -198,26 +196,31 @@ exports.accountStatementTemplateV1 = {
198
196
  },
199
197
  ],
200
198
  ],
201
- staticSchemas: [
202
- {
203
- name: 'disclaimer',
204
- type: 'text',
205
- content: '',
206
- position: { x: 10, y: 265 },
207
- width: 190,
208
- height: 15,
209
- rotate: 0,
210
- alignment: 'left',
211
- verticalAlignment: 'top',
212
- fontSize: 7,
213
- lineHeight: 1,
214
- characterSpacing: 0,
215
- fontColor: '#909E98',
216
- backgroundColor: '',
217
- opacity: 1,
218
- dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
219
- fontName: 'font_light',
220
- readOnly: false,
221
- },
222
- ],
199
+ basePdf: {
200
+ width: 210,
201
+ height: 297,
202
+ padding: [10, 10, 10, 10],
203
+ staticSchema: [
204
+ {
205
+ name: 'disclaimer',
206
+ type: 'text',
207
+ content: 'Disclaimer: This report reflects activity occurring on the Kismaa platform for informational purposes only. Advisors providing services through Kismaa operate as independent professionals and are not employees of Kismaa.',
208
+ position: { x: 10, y: 280 },
209
+ width: 190,
210
+ height: 15,
211
+ rotate: 0,
212
+ alignment: 'left',
213
+ verticalAlignment: 'top',
214
+ fontSize: 7,
215
+ lineHeight: 1,
216
+ characterSpacing: 0,
217
+ fontColor: '#909E98',
218
+ backgroundColor: '',
219
+ opacity: 1,
220
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
221
+ fontName: 'font_light',
222
+ readOnly: false,
223
+ },
224
+ ],
225
+ },
223
226
  };
@@ -246,29 +246,6 @@ exports.creditReceiptTemplateV1 = {
246
246
  fontName: 'font_regular',
247
247
  readOnly: false,
248
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
249
  {
273
250
  name: 'companyValue',
274
251
  type: 'text',
@@ -248,29 +248,6 @@ exports.creditReceiptTemplateV2 = {
248
248
  fontName: 'font_regular',
249
249
  readOnly: false,
250
250
  },
251
- {
252
- name: 'marketingNote',
253
- type: 'text',
254
- position: { x: 177, y: 103 },
255
- required: false,
256
- content: '',
257
- width: 60,
258
- height: 8,
259
- rotate: 90,
260
- alignment: 'middle',
261
- verticalAlignment: 'middle',
262
- fontSize: 8,
263
- lineHeight: 1,
264
- characterSpacing: 0,
265
- fontColor: '#909E98',
266
- backgroundColor: '',
267
- opacity: 1,
268
- strikethrough: false,
269
- underline: false,
270
- dynamicFontSize: { min: 6, max: 8, fit: 'vertical' },
271
- fontName: 'font_light',
272
- readOnly: false,
273
- },
274
251
  {
275
252
  name: 'companyValue',
276
253
  type: 'text',
@@ -246,29 +246,6 @@ exports.debitReceiptTemplateV1 = {
246
246
  fontName: 'font_regular',
247
247
  readOnly: false,
248
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
249
  {
273
250
  name: 'companyValue',
274
251
  type: 'text',