@appcorp/app-corp-vista 0.3.86 → 0.3.88

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.86",
3
+ "version": "0.3.88",
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 psychicPayoutReportTemplateV1: Template;
@@ -0,0 +1,142 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.psychicPayoutReportTemplateV1 = void 0;
4
+ exports.psychicPayoutReportTemplateV1 = {
5
+ schemas: [
6
+ [
7
+ {
8
+ name: 'logo',
9
+ type: 'image',
10
+ position: { x: 10, y: 10 },
11
+ content: '',
12
+ width: 20.86,
13
+ height: 17,
14
+ required: false,
15
+ readOnly: false,
16
+ },
17
+ {
18
+ name: 'heading',
19
+ type: 'text',
20
+ position: { x: 130, y: 10 },
21
+ content: '',
22
+ width: 70,
23
+ height: 20,
24
+ rotate: 0,
25
+ alignment: 'right',
26
+ verticalAlignment: 'middle',
27
+ fontSize: 25,
28
+ lineHeight: 1,
29
+ characterSpacing: 0,
30
+ fontColor: '#E5CD8B',
31
+ backgroundColor: '',
32
+ opacity: 1,
33
+ dynamicFontSize: { min: 6, max: 30, fit: 'vertical' },
34
+ fontName: 'font_light',
35
+ readOnly: false,
36
+ },
37
+ {
38
+ name: 'items',
39
+ type: 'table',
40
+ position: { x: 10, y: 90 },
41
+ width: 190,
42
+ height: 15,
43
+ showHead: true,
44
+ head: [
45
+ 'PSYCHIC',
46
+ 'INTRO AMOUNT',
47
+ 'AMOUNT',
48
+ 'TOTAL AMOUNT',
49
+ 'NUMBER OF SESSIONS',
50
+ ],
51
+ headWidthPercentages: [26, 24, 24, 13, 13],
52
+ fontName: 'font_regular',
53
+ tableStyles: { borderWidth: 0, borderColor: '#000000' },
54
+ headStyles: {
55
+ fontName: 'font_bold',
56
+ fontSize: 10,
57
+ characterSpacing: 0,
58
+ alignment: 'left',
59
+ verticalAlignment: 'middle',
60
+ lineHeight: 1,
61
+ fontColor: '#2C3139',
62
+ borderColor: '#EFEFD1',
63
+ backgroundColor: '',
64
+ borderWidth: { top: 0, right: 0, bottom: 1, left: 0 },
65
+ padding: { top: 2, right: 2, bottom: 2, left: 2 },
66
+ },
67
+ bodyStyles: {
68
+ fontName: 'font_regular',
69
+ fontSize: 10,
70
+ characterSpacing: 0,
71
+ alignment: 'left',
72
+ verticalAlignment: 'middle',
73
+ lineHeight: 1,
74
+ fontColor: '#7c7e7d',
75
+ borderColor: '#ECF1F1',
76
+ backgroundColor: '#D3D3D3',
77
+ alternateBackgroundColor: '#FFFFFF',
78
+ borderWidth: { top: 0, right: 0, bottom: 0.75, left: 0 },
79
+ padding: { top: 2, right: 2, bottom: 2, left: 2 },
80
+ },
81
+ columnStyles: {
82
+ alignment: {
83
+ 0: 'left',
84
+ 1: 'center',
85
+ 2: 'center',
86
+ 3: 'center',
87
+ 4: 'center',
88
+ },
89
+ },
90
+ readOnly: false,
91
+ content: '[]',
92
+ },
93
+ {
94
+ name: 'date',
95
+ type: 'text',
96
+ content: '',
97
+ position: { x: 140, y: 35 },
98
+ width: 60,
99
+ height: 15,
100
+ rotate: 0,
101
+ alignment: 'right',
102
+ verticalAlignment: 'top',
103
+ fontSize: 7,
104
+ lineHeight: 1,
105
+ characterSpacing: 0,
106
+ fontColor: '#909E98',
107
+ backgroundColor: '',
108
+ opacity: 1,
109
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
110
+ fontName: 'font_light',
111
+ readOnly: false,
112
+ },
113
+ ],
114
+ ],
115
+ basePdf: {
116
+ width: 210,
117
+ height: 297,
118
+ padding: [10, 10, 10, 10],
119
+ staticSchema: [
120
+ {
121
+ name: 'disclaimer',
122
+ type: 'text',
123
+ 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.',
124
+ position: { x: 10, y: 280 },
125
+ width: 190,
126
+ height: 15,
127
+ rotate: 0,
128
+ alignment: 'left',
129
+ verticalAlignment: 'top',
130
+ fontSize: 7,
131
+ lineHeight: 1,
132
+ characterSpacing: 0,
133
+ fontColor: '#909E98',
134
+ backgroundColor: '',
135
+ opacity: 1,
136
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
137
+ fontName: 'font_light',
138
+ readOnly: false,
139
+ },
140
+ ],
141
+ },
142
+ };