asv-hlps 1.3.49 → 1.3.51
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/lib/cjs/pdfs/pdfmake/hlpPdfmake.d.ts +21 -0
- package/lib/cjs/pdfs/pdfmake/hlpPdfmake.js +15 -0
- package/lib/cjs/pdfs/pdfmake/index.d.ts +1 -0
- package/lib/cjs/pdfs/pdfmake/index.js +9 -0
- package/lib/esm/pdfs/pdfmake/hlpPdfmake.d.ts +21 -0
- package/lib/esm/pdfs/pdfmake/hlpPdfmake.js +13 -0
- package/lib/esm/pdfs/pdfmake/index.d.ts +1 -0
- package/lib/esm/pdfs/pdfmake/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface PdfmakeTextProps {
|
|
2
|
+
text: string;
|
|
3
|
+
fontSize?: number;
|
|
4
|
+
style?: string;
|
|
5
|
+
alignment?: string;
|
|
6
|
+
bold?: boolean;
|
|
7
|
+
margin?: [number, number, number, number];
|
|
8
|
+
nLine?: string;
|
|
9
|
+
}
|
|
10
|
+
declare class HlpPdfMake {
|
|
11
|
+
text: ({ text, nLine, fontSize, style, alignment, bold, margin }: PdfmakeTextProps) => {
|
|
12
|
+
text: string;
|
|
13
|
+
fontSize: number;
|
|
14
|
+
alignment: string;
|
|
15
|
+
bold: boolean;
|
|
16
|
+
style: string;
|
|
17
|
+
margin: [number, number, number, number];
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
declare const _default: HlpPdfMake;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class HlpPdfMake {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.text = ({ text, nLine, fontSize = 7, style, alignment = "left", bold, margin = [0, 0, 0, 0] }) => ({
|
|
6
|
+
text: `${text} ${nLine}`.toUpperCase(),
|
|
7
|
+
fontSize: fontSize,
|
|
8
|
+
alignment: alignment,
|
|
9
|
+
bold: bold,
|
|
10
|
+
style: style,
|
|
11
|
+
margin: margin,
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = new HlpPdfMake();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as HlpPdfmake, default as PdfMakeTextProps } from "./hlpPdfmake";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PdfMakeTextProps = exports.HlpPdfmake = void 0;
|
|
7
|
+
var hlpPdfmake_1 = require("./hlpPdfmake");
|
|
8
|
+
Object.defineProperty(exports, "HlpPdfmake", { enumerable: true, get: function () { return __importDefault(hlpPdfmake_1).default; } });
|
|
9
|
+
Object.defineProperty(exports, "PdfMakeTextProps", { enumerable: true, get: function () { return __importDefault(hlpPdfmake_1).default; } });
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface PdfmakeTextProps {
|
|
2
|
+
text: string;
|
|
3
|
+
fontSize?: number;
|
|
4
|
+
style?: string;
|
|
5
|
+
alignment?: string;
|
|
6
|
+
bold?: boolean;
|
|
7
|
+
margin?: [number, number, number, number];
|
|
8
|
+
nLine?: string;
|
|
9
|
+
}
|
|
10
|
+
declare class HlpPdfMake {
|
|
11
|
+
text: ({ text, nLine, fontSize, style, alignment, bold, margin }: PdfmakeTextProps) => {
|
|
12
|
+
text: string;
|
|
13
|
+
fontSize: number;
|
|
14
|
+
alignment: string;
|
|
15
|
+
bold: boolean;
|
|
16
|
+
style: string;
|
|
17
|
+
margin: [number, number, number, number];
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
declare const _default: HlpPdfMake;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
class HlpPdfMake {
|
|
2
|
+
constructor() {
|
|
3
|
+
this.text = ({ text, nLine, fontSize = 7, style, alignment = "left", bold, margin = [0, 0, 0, 0] }) => ({
|
|
4
|
+
text: `${text} ${nLine}`.toUpperCase(),
|
|
5
|
+
fontSize: fontSize,
|
|
6
|
+
alignment: alignment,
|
|
7
|
+
bold: bold,
|
|
8
|
+
style: style,
|
|
9
|
+
margin: margin,
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export default new HlpPdfMake();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as HlpPdfmake, default as PdfMakeTextProps } from "./hlpPdfmake";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as HlpPdfmake, default as PdfMakeTextProps } from "./hlpPdfmake";
|