@appcorp/app-corp-vista 0.3.98 → 0.3.99

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.98",
3
+ "version": "0.3.99",
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 admissionReportTemplateV1: Template;
@@ -0,0 +1,218 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.admissionReportTemplateV1 = void 0;
4
+ exports.admissionReportTemplateV1 = {
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: 'clientLabel',
39
+ type: 'text',
40
+ position: { x: 10, y: 60 },
41
+ content: '',
42
+ width: 84.68,
43
+ height: 10,
44
+ rotate: 0,
45
+ alignment: 'left',
46
+ verticalAlignment: 'top',
47
+ fontSize: 10,
48
+ fontWeight: 400,
49
+ lineHeight: 1,
50
+ characterSpacing: 0,
51
+ fontColor: '#2C3139',
52
+ backgroundColor: '',
53
+ opacity: 1,
54
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
55
+ fontName: 'font_bold',
56
+ readOnly: false,
57
+ },
58
+ {
59
+ name: 'clientValue',
60
+ type: 'text',
61
+ content: '',
62
+ position: { x: 10, y: 65 },
63
+ width: 84.95,
64
+ height: 17.67,
65
+ rotate: 0,
66
+ alignment: 'left',
67
+ verticalAlignment: 'top',
68
+ fontSize: 9,
69
+ lineHeight: 1.4,
70
+ characterSpacing: 0,
71
+ fontColor: '#909E98',
72
+ backgroundColor: '',
73
+ opacity: 1,
74
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
75
+ fontName: 'font_light',
76
+ readOnly: false,
77
+ },
78
+ {
79
+ name: 'items',
80
+ type: 'table',
81
+ position: { x: 10, y: 90 },
82
+ width: 190,
83
+ height: 15,
84
+ showHead: true,
85
+ head: ['COMPUTER NUMBER', 'STUDENT NAME', 'STATUS', 'CLASS', 'DATE'],
86
+ headWidthPercentages: [13, 30, 20, 20, 15],
87
+ fontName: 'font_regular',
88
+ tableStyles: { borderWidth: 0, borderColor: '#000000' },
89
+ headStyles: {
90
+ fontName: 'font_bold',
91
+ fontSize: 10,
92
+ characterSpacing: 0,
93
+ alignment: 'left',
94
+ verticalAlignment: 'middle',
95
+ lineHeight: 1,
96
+ fontColor: '#2C3139',
97
+ borderColor: '#EFEFD1',
98
+ backgroundColor: '',
99
+ borderWidth: { top: 0, right: 0, bottom: 1, left: 0 },
100
+ padding: { top: 2, right: 2, bottom: 2, left: 2 },
101
+ },
102
+ bodyStyles: {
103
+ fontName: 'font_regular',
104
+ fontSize: 10,
105
+ characterSpacing: 0,
106
+ alignment: 'left',
107
+ verticalAlignment: 'middle',
108
+ lineHeight: 1,
109
+ fontColor: '#7c7e7d',
110
+ borderColor: '#ECF1F1',
111
+ backgroundColor: '#D3D3D3',
112
+ alternateBackgroundColor: '#FFFFFF',
113
+ borderWidth: { top: 0, right: 0, bottom: 0.75, left: 0 },
114
+ padding: { top: 2, right: 2, bottom: 2, left: 2 },
115
+ },
116
+ columnStyles: {
117
+ alignment: {
118
+ 0: 'center',
119
+ 1: 'center',
120
+ 2: 'center',
121
+ 3: 'center',
122
+ 4: 'center',
123
+ },
124
+ },
125
+ readOnly: false,
126
+ content: '[]',
127
+ },
128
+ {
129
+ name: 'companyValue',
130
+ type: 'text',
131
+ content: '',
132
+ position: { x: 10, y: 35 },
133
+ width: 84.95,
134
+ height: 17.67,
135
+ rotate: 0,
136
+ alignment: 'left',
137
+ verticalAlignment: 'top',
138
+ fontSize: 9,
139
+ lineHeight: 1.4,
140
+ characterSpacing: 0,
141
+ fontColor: '#909E98',
142
+ backgroundColor: '',
143
+ opacity: 1,
144
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
145
+ fontName: 'font_light',
146
+ readOnly: false,
147
+ },
148
+ {
149
+ name: 'companyLabel',
150
+ type: 'text',
151
+ position: { x: 10, y: 30 },
152
+ content: '',
153
+ width: 84.68,
154
+ height: 10,
155
+ rotate: 0,
156
+ alignment: 'left',
157
+ verticalAlignment: 'top',
158
+ fontSize: 10,
159
+ fontWeight: 400,
160
+ lineHeight: 1,
161
+ characterSpacing: 0,
162
+ fontColor: '#2C3139',
163
+ backgroundColor: '',
164
+ opacity: 1,
165
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
166
+ fontName: 'font_bold',
167
+ readOnly: false,
168
+ },
169
+ {
170
+ name: 'date',
171
+ type: 'text',
172
+ content: '',
173
+ position: { x: 140, y: 35 },
174
+ width: 60,
175
+ height: 15,
176
+ rotate: 0,
177
+ alignment: 'right',
178
+ verticalAlignment: 'top',
179
+ fontSize: 7,
180
+ lineHeight: 1,
181
+ characterSpacing: 0,
182
+ fontColor: '#909E98',
183
+ backgroundColor: '',
184
+ opacity: 1,
185
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
186
+ fontName: 'font_light',
187
+ readOnly: false,
188
+ },
189
+ ],
190
+ ],
191
+ basePdf: {
192
+ width: 210,
193
+ height: 297,
194
+ padding: [10, 10, 10, 10],
195
+ staticSchema: [
196
+ {
197
+ name: 'disclaimer',
198
+ type: 'text',
199
+ content: 'Disclaimer: This report reflects activity occurring on the EduPilotPro platform for informational purposes only. Schools providing services through EduPilotPro operate as independent entities and are not affiliated with EduPilotPro.',
200
+ position: { x: 10, y: 280 },
201
+ width: 190,
202
+ height: 15,
203
+ rotate: 0,
204
+ alignment: 'left',
205
+ verticalAlignment: 'top',
206
+ fontSize: 7,
207
+ lineHeight: 1,
208
+ characterSpacing: 0,
209
+ fontColor: '#909E98',
210
+ backgroundColor: '',
211
+ opacity: 1,
212
+ dynamicFontSize: { min: 6, max: 10, fit: 'vertical' },
213
+ fontName: 'font_light',
214
+ readOnly: false,
215
+ },
216
+ ],
217
+ },
218
+ };