@appcorp/app-corp-vista 0.1.98 → 0.1.100

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.1.98",
3
+ "version": "0.1.100",
4
4
  "scripts": {
5
5
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib",
6
6
  "build:next": "next build",
@@ -0,0 +1,2 @@
1
+ import { Template } from '@pdfme/common';
2
+ export declare const creditReceiptTemplateV1: Template;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.salesReceiptTemplateV1 = void 0;
3
+ exports.creditReceiptTemplateV1 = void 0;
4
4
  var common_1 = require("@pdfme/common");
5
- exports.salesReceiptTemplateV1 = {
5
+ exports.creditReceiptTemplateV1 = {
6
6
  basePdf: common_1.BLANK_A4_PDF,
7
7
  schemas: [
8
8
  [
@@ -97,10 +97,50 @@ exports.invoiceTemplateV1 = {
97
97
  fontName: 'font_bold',
98
98
  readOnly: false,
99
99
  },
100
+ {
101
+ name: 'currentLabel',
102
+ type: 'text',
103
+ position: { x: 163, y: 33 },
104
+ content: '',
105
+ width: 20,
106
+ height: 8,
107
+ rotate: 0,
108
+ alignment: 'center',
109
+ verticalAlignment: 'top',
110
+ fontSize: 9,
111
+ lineHeight: 1,
112
+ characterSpacing: 0,
113
+ fontColor: '#909E98',
114
+ backgroundColor: '',
115
+ opacity: 1,
116
+ dynamicFontSize: { min: 6, max: 9, fit: 'vertical' },
117
+ fontName: 'font_light',
118
+ readOnly: false,
119
+ },
120
+ {
121
+ name: 'currentValue',
122
+ type: 'text',
123
+ content: '',
124
+ position: { x: 180, y: 33 },
125
+ width: 20,
126
+ height: 8,
127
+ rotate: 0,
128
+ alignment: 'right',
129
+ verticalAlignment: 'top',
130
+ fontSize: 9,
131
+ lineHeight: 1,
132
+ characterSpacing: 0,
133
+ fontColor: '#909E98',
134
+ backgroundColor: '',
135
+ opacity: 1,
136
+ dynamicFontSize: { min: 6, max: 9, fit: 'vertical' },
137
+ fontName: 'font_light',
138
+ readOnly: false,
139
+ },
100
140
  {
101
141
  name: 'dateLabel',
102
142
  type: 'text',
103
- position: { x: 150, y: 34 },
143
+ position: { x: 148, y: 37 },
104
144
  content: '',
105
145
  width: 11,
106
146
  height: 8,
@@ -121,7 +161,7 @@ exports.invoiceTemplateV1 = {
121
161
  name: 'dateValue',
122
162
  type: 'text',
123
163
  content: '',
124
- position: { x: 160, y: 34 },
164
+ position: { x: 155, y: 37 },
125
165
  width: 45,
126
166
  height: 8,
127
167
  rotate: 0,
@@ -1,2 +0,0 @@
1
- import { Template } from '@pdfme/common';
2
- export declare const salesReceiptTemplateV1: Template;