@foxford/pdf-generator 1.0.26 → 1.0.28
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/build/cjs/fonts/Inter-Bold-48747b7a60086f97.ttf +0 -0
- package/build/cjs/fonts/Inter-Light-dd9ec1ae67dd8514.ttf +0 -0
- package/build/cjs/fonts/Inter-Regular-7237d9cf55f17770.ttf +0 -0
- package/build/cjs/fonts/inter/Inter-Bold.ttf +0 -0
- package/build/cjs/fonts/inter/Inter-Light.ttf +0 -0
- package/build/cjs/fonts/inter/Inter-Regular.ttf +0 -0
- package/build/cjs/index.css +18 -21
- package/build/cjs/index.js +56 -61
- package/build/es/fonts/Inter-Bold-48747b7a60086f97.ttf +0 -0
- package/build/es/fonts/Inter-Light-dd9ec1ae67dd8514.ttf +0 -0
- package/build/es/fonts/Inter-Regular-7237d9cf55f17770.ttf +0 -0
- package/build/es/fonts/inter/Inter-Bold.ttf +0 -0
- package/build/es/fonts/inter/Inter-Light.ttf +0 -0
- package/build/es/fonts/inter/Inter-Regular.ttf +0 -0
- package/build/es/index.css +18 -21
- package/build/es/index.js +56 -61
- package/build/libs/pdf-generator/1.0.28/fonts/Inter-Bold-48747b7a60086f97.ttf +0 -0
- package/build/libs/pdf-generator/1.0.28/fonts/Inter-Light-dd9ec1ae67dd8514.ttf +0 -0
- package/build/libs/pdf-generator/1.0.28/fonts/Inter-Regular-7237d9cf55f17770.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/fonts/MuseoCyrillic-Bold-9e224f7161a2b71f.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/fonts/MuseoCyrillic-ExtraBold-1f132ec652e139d9.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/fonts/MuseoCyrillic-Light-f2ca3b66a92b97de.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/fonts/MuseoCyrillic-Regular-a25bc12c8faba9bd.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/fonts/ProximaNova-Bold-e50bf1b696ddda9c.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/fonts/ProximaNova-Light-ee4cda715dbdcd51.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/fonts/ProximaNova-Regular-dcb392ad15d2b01f.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/fonts/ProximaNova-Thin-760dee5bde33772c.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/fonts/Roboto-Bold-7cbf37b7c3c24bf1.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/fonts/Roboto-Light-4dbb9a25ecf3d7a4.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/fonts/Roboto-Regular-928b39227bdcbc8b.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/fonts/TimesNewRoman-Bold-9c77e8abd7a56d5b.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/fonts/TimesNewRoman-Regular-a937f6db359e6efc.ttf +0 -0
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/generator.js +1 -1
- package/build/libs/pdf-generator/{1.0.26 → 1.0.28}/generator.worker.js +5 -5
- package/build/umd/fonts/Inter-Bold-48747b7a60086f97.ttf +0 -0
- package/build/umd/fonts/Inter-Light-dd9ec1ae67dd8514.ttf +0 -0
- package/build/umd/fonts/Inter-Regular-7237d9cf55f17770.ttf +0 -0
- package/build/umd/generator.js +1 -1
- package/package.json +1 -1
- package/build/cjs/fonts/Circe-Bold-970a6077f396f815.ttf +0 -0
- package/build/cjs/fonts/Circe-ExtraBold-f63b3c3211790148.ttf +0 -0
- package/build/cjs/fonts/Circe-ExtraLight-c3fe16eba5a1ecc1.ttf +0 -0
- package/build/cjs/fonts/Circe-Light-aa5ae3bc3dbf4a25.ttf +0 -0
- package/build/cjs/fonts/Circe-Regular-d81f5623c58cecb1.ttf +0 -0
- package/build/cjs/fonts/arial/arial.ttf +0 -0
- package/build/cjs/fonts/circe/Circe-Bold.eot +0 -0
- package/build/cjs/fonts/circe/Circe-Bold.otf +0 -0
- package/build/cjs/fonts/circe/Circe-Bold.ttf +0 -0
- package/build/cjs/fonts/circe/Circe-ExtraBold.eot +0 -0
- package/build/cjs/fonts/circe/Circe-ExtraBold.otf +0 -0
- package/build/cjs/fonts/circe/Circe-ExtraBold.ttf +0 -0
- package/build/cjs/fonts/circe/Circe-ExtraLight.eot +0 -0
- package/build/cjs/fonts/circe/Circe-ExtraLight.otf +0 -0
- package/build/cjs/fonts/circe/Circe-ExtraLight.ttf +0 -0
- package/build/cjs/fonts/circe/Circe-Light.eot +0 -0
- package/build/cjs/fonts/circe/Circe-Light.otf +0 -0
- package/build/cjs/fonts/circe/Circe-Light.ttf +0 -0
- package/build/cjs/fonts/circe/Circe-Regular.eot +0 -0
- package/build/cjs/fonts/circe/Circe-Regular.otf +0 -0
- package/build/cjs/fonts/circe/Circe-Regular.ttf +0 -0
- package/build/es/fonts/Circe-Bold-970a6077f396f815.ttf +0 -0
- package/build/es/fonts/Circe-ExtraBold-f63b3c3211790148.ttf +0 -0
- package/build/es/fonts/Circe-ExtraLight-c3fe16eba5a1ecc1.ttf +0 -0
- package/build/es/fonts/Circe-Light-aa5ae3bc3dbf4a25.ttf +0 -0
- package/build/es/fonts/Circe-Regular-d81f5623c58cecb1.ttf +0 -0
- package/build/es/fonts/arial/arial.ttf +0 -0
- package/build/es/fonts/circe/Circe-Bold.eot +0 -0
- package/build/es/fonts/circe/Circe-Bold.otf +0 -0
- package/build/es/fonts/circe/Circe-Bold.ttf +0 -0
- package/build/es/fonts/circe/Circe-ExtraBold.eot +0 -0
- package/build/es/fonts/circe/Circe-ExtraBold.otf +0 -0
- package/build/es/fonts/circe/Circe-ExtraBold.ttf +0 -0
- package/build/es/fonts/circe/Circe-ExtraLight.eot +0 -0
- package/build/es/fonts/circe/Circe-ExtraLight.otf +0 -0
- package/build/es/fonts/circe/Circe-ExtraLight.ttf +0 -0
- package/build/es/fonts/circe/Circe-Light.eot +0 -0
- package/build/es/fonts/circe/Circe-Light.otf +0 -0
- package/build/es/fonts/circe/Circe-Light.ttf +0 -0
- package/build/es/fonts/circe/Circe-Regular.eot +0 -0
- package/build/es/fonts/circe/Circe-Regular.otf +0 -0
- package/build/es/fonts/circe/Circe-Regular.ttf +0 -0
- package/build/libs/pdf-generator/1.0.26/fonts/Circe-Bold-970a6077f396f815.ttf +0 -0
- package/build/libs/pdf-generator/1.0.26/fonts/Circe-ExtraBold-f63b3c3211790148.ttf +0 -0
- package/build/libs/pdf-generator/1.0.26/fonts/Circe-ExtraLight-c3fe16eba5a1ecc1.ttf +0 -0
- package/build/libs/pdf-generator/1.0.26/fonts/Circe-Light-aa5ae3bc3dbf4a25.ttf +0 -0
- package/build/libs/pdf-generator/1.0.26/fonts/Circe-Regular-d81f5623c58cecb1.ttf +0 -0
- package/build/umd/fonts/Circe-Bold-970a6077f396f815.ttf +0 -0
- package/build/umd/fonts/Circe-ExtraBold-f63b3c3211790148.ttf +0 -0
- package/build/umd/fonts/Circe-ExtraLight-c3fe16eba5a1ecc1.ttf +0 -0
- package/build/umd/fonts/Circe-Light-aa5ae3bc3dbf4a25.ttf +0 -0
- package/build/umd/fonts/Circe-Regular-d81f5623c58cecb1.ttf +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build/cjs/index.css
CHANGED
|
@@ -134,27 +134,6 @@ body.legal.landscape .sheet {
|
|
|
134
134
|
-webkit-print-color-adjust: exact !important;
|
|
135
135
|
color-adjust: exact !important; }
|
|
136
136
|
|
|
137
|
-
@font-face {
|
|
138
|
-
font-family: 'CirceLight';
|
|
139
|
-
src: url("./fonts/circe/Circe-Light.eot") format("embedded-opentype");
|
|
140
|
-
src: url("./fonts/circe/Circe-Light.eot?#iefix") format("embedded-opentype"), url("./fonts/circe/Circe-Light.ttf") format("truetype"), url("./fonts/circe/Circe-Light.otf") format("opentype");
|
|
141
|
-
font-weight: 300;
|
|
142
|
-
font-style: normal; }
|
|
143
|
-
|
|
144
|
-
@font-face {
|
|
145
|
-
font-family: 'CirceRegular';
|
|
146
|
-
src: url("./fonts/circe/Circe-Regular.eot") format("embedded-opentype");
|
|
147
|
-
src: url("./fonts/circe/Circe-Regular.eot?#iefix") format("embedded-opentype"), url("./fonts/circe/Circe-Regular.ttf") format("truetype"), url("./fonts/circe/Circe-Regular.otf") format("opentype");
|
|
148
|
-
font-weight: normal;
|
|
149
|
-
font-style: normal; }
|
|
150
|
-
|
|
151
|
-
@font-face {
|
|
152
|
-
font-family: 'CirceBold';
|
|
153
|
-
src: url("./fonts/circe/Circe-Bold.eot") format("embedded-opentype");
|
|
154
|
-
src: url("./fonts/circe/Circe-Bold.eot?#iefix") format("embedded-opentype"), url("./fonts/circe/Circe-Bold.ttf") format("truetype"), url("./fonts/circe/Circe-Bold.otf") format("opentype");
|
|
155
|
-
font-weight: bold;
|
|
156
|
-
font-style: normal; }
|
|
157
|
-
|
|
158
137
|
@font-face {
|
|
159
138
|
font-family: 'MuseoCyrillicLight';
|
|
160
139
|
src: url("./fonts/museo/MuseoCyrillic-Light.woff2") format("woff2"), url("./fonts/museo/MuseoCyrillic-Light.woff") format("woff"), url("./fonts/museo/MuseoCyrillic-Light.ttf") format("truetype");
|
|
@@ -226,3 +205,21 @@ body.legal.landscape .sheet {
|
|
|
226
205
|
src: url("./fonts/roboto/Roboto-Bold.woff2") format("woff2") url("./fonts/roboto/Roboto-Bold.ttf") format("truetype"), url("./fonts/roboto/Roboto-Bold.woff") format("woff");
|
|
227
206
|
font-weight: 700;
|
|
228
207
|
font-style: normal; }
|
|
208
|
+
|
|
209
|
+
@font-face {
|
|
210
|
+
font-family: "InterRegular";
|
|
211
|
+
src: url("./fonts/inter/Inter-Regular.ttf") format("truetype");
|
|
212
|
+
font-weight: normal;
|
|
213
|
+
font-style: normal; }
|
|
214
|
+
|
|
215
|
+
@font-face {
|
|
216
|
+
font-family: "InterLight";
|
|
217
|
+
src: url("./fonts/inter/Inter-Light.ttf") format("truetype");
|
|
218
|
+
font-weight: 300;
|
|
219
|
+
font-style: normal; }
|
|
220
|
+
|
|
221
|
+
@font-face {
|
|
222
|
+
font-family: "InterBold";
|
|
223
|
+
src: url("./fonts/inter/Inter-Bold.ttf") format("truetype");
|
|
224
|
+
font-weight: 700;
|
|
225
|
+
font-style: normal; }
|
package/build/cjs/index.js
CHANGED
|
@@ -398,7 +398,7 @@ var DocumentNumber = function DocumentNumber(_ref) {
|
|
|
398
398
|
return /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
399
399
|
x: width - 18 + xOffset,
|
|
400
400
|
y: 18 + yOffset,
|
|
401
|
-
fontFamily: "
|
|
401
|
+
fontFamily: "InterRegular",
|
|
402
402
|
fontSize: fontSize,
|
|
403
403
|
style: {
|
|
404
404
|
fontVariant: 'normal',
|
|
@@ -434,7 +434,7 @@ var DocumentHeader = function DocumentHeader(_ref) {
|
|
|
434
434
|
return /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
435
435
|
children: /*#__PURE__*/jsxRuntime.jsxs("g", {
|
|
436
436
|
children: [/*#__PURE__*/jsxRuntime.jsx("text", {
|
|
437
|
-
fontFamily: "
|
|
437
|
+
fontFamily: "InterRegular",
|
|
438
438
|
fontSize: "6",
|
|
439
439
|
transform: "matrix(1,0,0,1,".concat(width / 2, ",").concat(78 + offsetTop, ")"),
|
|
440
440
|
style: {
|
|
@@ -450,7 +450,7 @@ var DocumentHeader = function DocumentHeader(_ref) {
|
|
|
450
450
|
children: title
|
|
451
451
|
})
|
|
452
452
|
}), /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
453
|
-
fontFamily: "
|
|
453
|
+
fontFamily: "InterRegular",
|
|
454
454
|
fontSize: "5.5",
|
|
455
455
|
transform: "matrix(1,0,0,1,".concat(width / 2, ",").concat(98 + offsetTop, ")"),
|
|
456
456
|
style: {
|
|
@@ -1007,7 +1007,7 @@ var DisciplineGroup = function DisciplineGroup(_ref) {
|
|
|
1007
1007
|
children: /*#__PURE__*/jsxRuntime.jsx(SvgCourseNameBgmodule, {})
|
|
1008
1008
|
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
1009
1009
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
1010
|
-
fontFamily: "
|
|
1010
|
+
fontFamily: "InterBold",
|
|
1011
1011
|
fontSize: "5.5",
|
|
1012
1012
|
x: "0",
|
|
1013
1013
|
y: "0",
|
|
@@ -1045,7 +1045,7 @@ var DocumentBottomNumber = function DocumentBottomNumber(_ref) {
|
|
|
1045
1045
|
return /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
1046
1046
|
x: 36 + left,
|
|
1047
1047
|
y: height - 27 + top,
|
|
1048
|
-
fontFamily: "
|
|
1048
|
+
fontFamily: "InterRegular",
|
|
1049
1049
|
fontSize: "4",
|
|
1050
1050
|
style: {
|
|
1051
1051
|
fontVariant: 'normal',
|
|
@@ -1256,7 +1256,7 @@ var DiplomaSign = function DiplomaSign(_ref) {
|
|
|
1256
1256
|
}) : null, /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
1257
1257
|
x: "36",
|
|
1258
1258
|
y: sigernPosYStart - 7.5,
|
|
1259
|
-
fontFamily: "
|
|
1259
|
+
fontFamily: "InterBold",
|
|
1260
1260
|
fontSize: "5",
|
|
1261
1261
|
style: signerNameStyle,
|
|
1262
1262
|
transform: "translate(0, 0)",
|
|
@@ -1265,7 +1265,7 @@ var DiplomaSign = function DiplomaSign(_ref) {
|
|
|
1265
1265
|
transform: "matrix(1,0,0,1,36,".concat(sigernPosYStart, ")"),
|
|
1266
1266
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
1267
1267
|
fontSize: "5",
|
|
1268
|
-
fontFamily: "
|
|
1268
|
+
fontFamily: "InterRegular",
|
|
1269
1269
|
style: signerPositionStyle,
|
|
1270
1270
|
children: Array.isArray(signerPosition) ? signerPosition.map(function (element, index) {
|
|
1271
1271
|
return /*#__PURE__*/jsxRuntime.jsx("tspan", {
|
|
@@ -13632,7 +13632,7 @@ var Certificate = function Certificate(props) {
|
|
|
13632
13632
|
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
13633
13633
|
transform: "matrix(1,0,0,1,".concat(props.documentStyle.width / 2, ",98)"),
|
|
13634
13634
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
13635
|
-
fontFamily: "
|
|
13635
|
+
fontFamily: "InterRegular",
|
|
13636
13636
|
fontSize: "6.5",
|
|
13637
13637
|
style: {
|
|
13638
13638
|
fontVariant: 'normal',
|
|
@@ -13651,7 +13651,7 @@ var Certificate = function Certificate(props) {
|
|
|
13651
13651
|
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
13652
13652
|
transform: "matrix(1,0,0,1,".concat(props.documentStyle.width / 2, ",86)"),
|
|
13653
13653
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
13654
|
-
fontFamily: "
|
|
13654
|
+
fontFamily: "InterBold",
|
|
13655
13655
|
fontSize: "22",
|
|
13656
13656
|
style: {
|
|
13657
13657
|
fontVariant: 'normal',
|
|
@@ -13670,7 +13670,7 @@ var Certificate = function Certificate(props) {
|
|
|
13670
13670
|
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
13671
13671
|
transform: "matrix(1,0,0,1,".concat(props.documentStyle.width / 2, ",117)"),
|
|
13672
13672
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
13673
|
-
fontFamily: "
|
|
13673
|
+
fontFamily: "InterBold",
|
|
13674
13674
|
fontSize: "9",
|
|
13675
13675
|
style: {
|
|
13676
13676
|
fontVariant: 'normal',
|
|
@@ -13689,7 +13689,7 @@ var Certificate = function Certificate(props) {
|
|
|
13689
13689
|
}), !hasCustomBackground ? /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
13690
13690
|
transform: "matrix(1,0,0,1,".concat(props.documentStyle.width / 2, ",132)"),
|
|
13691
13691
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
13692
|
-
fontFamily: "
|
|
13692
|
+
fontFamily: "InterRegular",
|
|
13693
13693
|
fontSize: "6.5",
|
|
13694
13694
|
style: {
|
|
13695
13695
|
fontVariant: 'normal',
|
|
@@ -13809,7 +13809,7 @@ var CourseInfo = function CourseInfo(_ref) {
|
|
|
13809
13809
|
children: [/*#__PURE__*/jsxRuntime.jsx("g", {
|
|
13810
13810
|
transform: "matrix(1,0,0,1,0,0)",
|
|
13811
13811
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
13812
|
-
fontFamily: "
|
|
13812
|
+
fontFamily: "InterRegular",
|
|
13813
13813
|
fontSize: "5",
|
|
13814
13814
|
style: {
|
|
13815
13815
|
fontVariant: 'normal',
|
|
@@ -13828,7 +13828,7 @@ var CourseInfo = function CourseInfo(_ref) {
|
|
|
13828
13828
|
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
13829
13829
|
transform: "matrix(1,0,0,1,0,10)",
|
|
13830
13830
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
13831
|
-
fontFamily: "
|
|
13831
|
+
fontFamily: "InterBold",
|
|
13832
13832
|
fontSize: style.fontSize,
|
|
13833
13833
|
style: {
|
|
13834
13834
|
fontVariant: 'normal',
|
|
@@ -13868,7 +13868,7 @@ var UserInfo = function UserInfo(_ref) {
|
|
|
13868
13868
|
children: [/*#__PURE__*/jsxRuntime.jsx("g", {
|
|
13869
13869
|
transform: "matrix(1,0,0,1,0,0)",
|
|
13870
13870
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
13871
|
-
fontFamily: "
|
|
13871
|
+
fontFamily: "InterRegular",
|
|
13872
13872
|
fontSize: "5",
|
|
13873
13873
|
style: {
|
|
13874
13874
|
fontVariant: 'normal',
|
|
@@ -13887,7 +13887,7 @@ var UserInfo = function UserInfo(_ref) {
|
|
|
13887
13887
|
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
13888
13888
|
transform: "matrix(1,0,0,1,0,12)",
|
|
13889
13889
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
13890
|
-
fontFamily: "
|
|
13890
|
+
fontFamily: "InterBold",
|
|
13891
13891
|
fontSize: "10",
|
|
13892
13892
|
style: {
|
|
13893
13893
|
fontVariant: 'normal',
|
|
@@ -13945,7 +13945,7 @@ var CertificateSign = function CertificateSign(_ref) {
|
|
|
13945
13945
|
fill: '#d5d2cb'
|
|
13946
13946
|
}
|
|
13947
13947
|
}), /*#__PURE__*/jsxRuntime.jsxs("text", {
|
|
13948
|
-
fontFamily: "
|
|
13948
|
+
fontFamily: "InterRegular",
|
|
13949
13949
|
fontSize: "3",
|
|
13950
13950
|
style: {
|
|
13951
13951
|
fontVariant: 'normal',
|
|
@@ -13991,7 +13991,7 @@ var CertificateSign = function CertificateSign(_ref) {
|
|
|
13991
13991
|
children: signerPosition.map(function (element, index) {
|
|
13992
13992
|
return /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
13993
13993
|
fontSize: "5",
|
|
13994
|
-
fontFamily: "
|
|
13994
|
+
fontFamily: "InterRegular",
|
|
13995
13995
|
style: signerPositionStyle,
|
|
13996
13996
|
dangerouslySetInnerHTML: {
|
|
13997
13997
|
__html: element
|
|
@@ -14000,12 +14000,12 @@ var CertificateSign = function CertificateSign(_ref) {
|
|
|
14000
14000
|
})
|
|
14001
14001
|
}) : /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
14002
14002
|
fontSize: "5",
|
|
14003
|
-
fontFamily: "
|
|
14003
|
+
fontFamily: "InterRegular",
|
|
14004
14004
|
style: signerPositionStyle,
|
|
14005
14005
|
children: signerPosition
|
|
14006
14006
|
})
|
|
14007
14007
|
}), /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
14008
|
-
fontFamily: "
|
|
14008
|
+
fontFamily: "InterBold",
|
|
14009
14009
|
fontSize: "5",
|
|
14010
14010
|
style: signerNameStyle,
|
|
14011
14011
|
children: signer.name
|
|
@@ -14777,7 +14777,7 @@ var Diploma = function Diploma(props) {
|
|
|
14777
14777
|
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
14778
14778
|
transform: "matrix(1,0,0,1,".concat(documentStyle.width / 2, ",").concat(startY, ")"),
|
|
14779
14779
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
14780
|
-
fontFamily: "
|
|
14780
|
+
fontFamily: "InterBold",
|
|
14781
14781
|
fontSize: "24",
|
|
14782
14782
|
style: {
|
|
14783
14783
|
fontVariant: 'normal',
|
|
@@ -14797,7 +14797,7 @@ var Diploma = function Diploma(props) {
|
|
|
14797
14797
|
}), document.kind === 'diploma' && params.rank !== 0 ? /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
14798
14798
|
transform: "matrix(1,0,0,1,".concat(documentStyle.width / 2, ",").concat(startY + 11, ")"),
|
|
14799
14799
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
14800
|
-
fontFamily: "
|
|
14800
|
+
fontFamily: "InterRegular",
|
|
14801
14801
|
fontSize: "6",
|
|
14802
14802
|
style: {
|
|
14803
14803
|
fontVariant: 'normal',
|
|
@@ -14817,8 +14817,8 @@ var Diploma = function Diploma(props) {
|
|
|
14817
14817
|
}) : null, /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
14818
14818
|
transform: "matrix(1,0,0,1,".concat(documentStyle.width / 2, ",").concat(y + 28, ")"),
|
|
14819
14819
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
14820
|
-
fontFamily: "
|
|
14821
|
-
fontSize: "6
|
|
14820
|
+
fontFamily: "InterRegular",
|
|
14821
|
+
fontSize: "6",
|
|
14822
14822
|
style: {
|
|
14823
14823
|
fontVariant: 'normal',
|
|
14824
14824
|
fontWeight: 'normal',
|
|
@@ -14843,8 +14843,8 @@ var Diploma = function Diploma(props) {
|
|
|
14843
14843
|
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
14844
14844
|
transform: "matrix(1,0,0,1,".concat(documentStyle.width / 2, ",").concat(y + 52 + yOffset, ")"),
|
|
14845
14845
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
14846
|
-
fontFamily: "
|
|
14847
|
-
fontSize: "
|
|
14846
|
+
fontFamily: "InterBold",
|
|
14847
|
+
fontSize: "10",
|
|
14848
14848
|
style: {
|
|
14849
14849
|
fontVariant: 'normal',
|
|
14850
14850
|
fontWeight: 'normal',
|
|
@@ -14864,8 +14864,8 @@ var Diploma = function Diploma(props) {
|
|
|
14864
14864
|
transform: "matrix(1,0,0,1,".concat(documentStyle.width / 2, ",").concat(y + 64 + yOffset, ")"),
|
|
14865
14865
|
children: /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
14866
14866
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
14867
|
-
fontFamily: "
|
|
14868
|
-
fontSize: "6
|
|
14867
|
+
fontFamily: "InterRegular",
|
|
14868
|
+
fontSize: "6",
|
|
14869
14869
|
x: 0,
|
|
14870
14870
|
y: 0,
|
|
14871
14871
|
style: {
|
|
@@ -26706,7 +26706,7 @@ var Letter = function Letter(props) {
|
|
|
26706
26706
|
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
26707
26707
|
transform: "matrix(1,0,0,1,".concat(props.documentStyle.width / 2, ",116)"),
|
|
26708
26708
|
children: /*#__PURE__*/jsxRuntime.jsxs("text", {
|
|
26709
|
-
fontFamily: "
|
|
26709
|
+
fontFamily: "InterBold",
|
|
26710
26710
|
fontSize: "16",
|
|
26711
26711
|
style: {
|
|
26712
26712
|
fontVariant: 'normal',
|
|
@@ -26730,7 +26730,7 @@ var Letter = function Letter(props) {
|
|
|
26730
26730
|
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
26731
26731
|
transform: "matrix(1,0,0,1,".concat(props.documentStyle.width / 2, ",156)"),
|
|
26732
26732
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
26733
|
-
fontFamily: "
|
|
26733
|
+
fontFamily: "InterBold",
|
|
26734
26734
|
fontSize: "9",
|
|
26735
26735
|
style: {
|
|
26736
26736
|
fontVariant: 'normal',
|
|
@@ -26749,7 +26749,7 @@ var Letter = function Letter(props) {
|
|
|
26749
26749
|
}), !hasCustomBackground ? /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
26750
26750
|
transform: "matrix(1,0,0,1,".concat(props.documentStyle.width / 2, ",173)"),
|
|
26751
26751
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
26752
|
-
fontFamily: "
|
|
26752
|
+
fontFamily: "InterRegular",
|
|
26753
26753
|
fontSize: "6.5",
|
|
26754
26754
|
style: {
|
|
26755
26755
|
fontVariant: 'normal',
|
|
@@ -26980,7 +26980,7 @@ var Attestation = /*#__PURE__*/React__default['default'].memo(function Attestati
|
|
|
26980
26980
|
style: {
|
|
26981
26981
|
fill: '#888'
|
|
26982
26982
|
},
|
|
26983
|
-
fontFamily: "
|
|
26983
|
+
fontFamily: "InterRegular",
|
|
26984
26984
|
fontSize: "8",
|
|
26985
26985
|
textAnchor: "end",
|
|
26986
26986
|
transform: "matrix(1 0 0 1 0 64.373)",
|
|
@@ -26993,7 +26993,7 @@ var Attestation = /*#__PURE__*/React__default['default'].memo(function Attestati
|
|
|
26993
26993
|
style: {
|
|
26994
26994
|
fill: '#888'
|
|
26995
26995
|
},
|
|
26996
|
-
fontFamily: "
|
|
26996
|
+
fontFamily: "InterRegular",
|
|
26997
26997
|
fontSize: "8",
|
|
26998
26998
|
textAnchor: "end",
|
|
26999
26999
|
transform: "matrix(1 0 0 1 0 75.623)",
|
|
@@ -27006,7 +27006,7 @@ var Attestation = /*#__PURE__*/React__default['default'].memo(function Attestati
|
|
|
27006
27006
|
style: {
|
|
27007
27007
|
fill: '#888'
|
|
27008
27008
|
},
|
|
27009
|
-
fontFamily: "
|
|
27009
|
+
fontFamily: "InterRegular",
|
|
27010
27010
|
fontSize: "8",
|
|
27011
27011
|
textAnchor: "end",
|
|
27012
27012
|
transform: "matrix(1 0 0 1 0 86.873)",
|
|
@@ -27019,7 +27019,7 @@ var Attestation = /*#__PURE__*/React__default['default'].memo(function Attestati
|
|
|
27019
27019
|
style: {
|
|
27020
27020
|
fill: '#888'
|
|
27021
27021
|
},
|
|
27022
|
-
fontFamily: "
|
|
27022
|
+
fontFamily: "InterRegular",
|
|
27023
27023
|
fontSize: "8",
|
|
27024
27024
|
textAnchor: "end",
|
|
27025
27025
|
transform: "matrix(1 0 0 1 0 98.123)",
|
|
@@ -27032,7 +27032,7 @@ var Attestation = /*#__PURE__*/React__default['default'].memo(function Attestati
|
|
|
27032
27032
|
style: {
|
|
27033
27033
|
fill: '#888'
|
|
27034
27034
|
},
|
|
27035
|
-
fontFamily: "
|
|
27035
|
+
fontFamily: "InterRegular",
|
|
27036
27036
|
fontSize: "8",
|
|
27037
27037
|
textAnchor: "end",
|
|
27038
27038
|
transform: "matrix(1 0 0 1 0 109.373)",
|
|
@@ -27065,7 +27065,7 @@ var Attestation = /*#__PURE__*/React__default['default'].memo(function Attestati
|
|
|
27065
27065
|
children: [/*#__PURE__*/jsxRuntime.jsx("g", {
|
|
27066
27066
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
27067
27067
|
transform: "translate(0, 0)",
|
|
27068
|
-
fontFamily: "
|
|
27068
|
+
fontFamily: "InterBold",
|
|
27069
27069
|
fontWeight: "700",
|
|
27070
27070
|
fontSize: "14",
|
|
27071
27071
|
children: /*#__PURE__*/jsxRuntime.jsx("tspan", {
|
|
@@ -27077,7 +27077,7 @@ var Attestation = /*#__PURE__*/React__default['default'].memo(function Attestati
|
|
|
27077
27077
|
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
27078
27078
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
27079
27079
|
transform: "translate(0, 18)",
|
|
27080
|
-
fontFamily: "
|
|
27080
|
+
fontFamily: "InterBold",
|
|
27081
27081
|
fontWeight: "700",
|
|
27082
27082
|
fontSize: "14",
|
|
27083
27083
|
children: /*#__PURE__*/jsxRuntime.jsx("tspan", {
|
|
@@ -27089,7 +27089,7 @@ var Attestation = /*#__PURE__*/React__default['default'].memo(function Attestati
|
|
|
27089
27089
|
}), /*#__PURE__*/jsxRuntime.jsx("g", {
|
|
27090
27090
|
children: /*#__PURE__*/jsxRuntime.jsx("text", {
|
|
27091
27091
|
transform: "translate(0, 36)",
|
|
27092
|
-
fontFamily: "
|
|
27092
|
+
fontFamily: "InterBold",
|
|
27093
27093
|
fontWeight: "700",
|
|
27094
27094
|
fontSize: "14",
|
|
27095
27095
|
children: /*#__PURE__*/jsxRuntime.jsx("tspan", {
|
|
@@ -27104,10 +27104,10 @@ var Attestation = /*#__PURE__*/React__default['default'].memo(function Attestati
|
|
|
27104
27104
|
id: "columnGroup",
|
|
27105
27105
|
transform: "matrix(1 0 0 1 110 270)",
|
|
27106
27106
|
children: [/*#__PURE__*/jsxRuntime.jsxs("text", {
|
|
27107
|
-
fontFamily: "
|
|
27107
|
+
fontFamily: "InterRegular",
|
|
27108
27108
|
fontSize: "14",
|
|
27109
27109
|
children: [/*#__PURE__*/jsxRuntime.jsx("tspan", {
|
|
27110
|
-
fontFamily: "
|
|
27110
|
+
fontFamily: "InterBold",
|
|
27111
27111
|
fontSize: "14",
|
|
27112
27112
|
dy: "30",
|
|
27113
27113
|
x: "0",
|
|
@@ -27120,10 +27120,10 @@ var Attestation = /*#__PURE__*/React__default['default'].memo(function Attestati
|
|
|
27120
27120
|
}, "item_".concat(index));
|
|
27121
27121
|
})]
|
|
27122
27122
|
}), /*#__PURE__*/jsxRuntime.jsxs("text", {
|
|
27123
|
-
fontFamily: "
|
|
27123
|
+
fontFamily: "InterRegular",
|
|
27124
27124
|
fontSize: "14",
|
|
27125
27125
|
children: [/*#__PURE__*/jsxRuntime.jsx("tspan", {
|
|
27126
|
-
fontFamily: "
|
|
27126
|
+
fontFamily: "InterBold",
|
|
27127
27127
|
fontSize: "14",
|
|
27128
27128
|
dy: "30",
|
|
27129
27129
|
x: "500",
|
|
@@ -27137,6 +27137,7 @@ var Attestation = /*#__PURE__*/React__default['default'].memo(function Attestati
|
|
|
27137
27137
|
})]
|
|
27138
27138
|
})]
|
|
27139
27139
|
}), /*#__PURE__*/jsxRuntime.jsxs("g", {
|
|
27140
|
+
fontFamily: "InterRegular",
|
|
27140
27141
|
transform: "matrix(1 0 0 1 30 290)",
|
|
27141
27142
|
children: [/*#__PURE__*/jsxRuntime.jsx("text", {
|
|
27142
27143
|
transform: "matrix(1 0 0 1 72 646.293)",
|
|
@@ -28947,7 +28948,7 @@ var initialState = function () {
|
|
|
28947
28948
|
};
|
|
28948
28949
|
}();
|
|
28949
28950
|
|
|
28950
|
-
var workerUrl = "https://dist.ngcdn.ru" + "/libs/pdf-generator/" + "1.0.
|
|
28951
|
+
var workerUrl = "https://dist.ngcdn.ru" + "/libs/pdf-generator/" + "1.0.28" + '/' + "generator.worker.js";
|
|
28951
28952
|
var Generator = /*#__PURE__*/function (_React$Component) {
|
|
28952
28953
|
_inherits$1(Generator, _React$Component);
|
|
28953
28954
|
|
|
@@ -29298,19 +29299,9 @@ Generator.defaultProps = {
|
|
|
29298
29299
|
documentIsFetching: false,
|
|
29299
29300
|
workerUrl: workerUrl,
|
|
29300
29301
|
resourceHost: '',
|
|
29301
|
-
externalResources: ['/assets/webpack/fonts/
|
|
29302
|
+
externalResources: ['/assets/webpack/fonts/Inter-Regular.ttf', '/assets/webpack/fonts/Inter-Bold.ttf', '/assets/webpack/fonts/Inter-Light.ttf', '/assets/webpack/fonts/ProximaNova-Regular.ttf', '/assets/webpack/fonts/ProximaNova-Bold.ttf', '/assets/webpack/fonts/ProximaNova-Light.ttf', '/assets/webpack/fonts/MuseoCyrillic-Regular.ttf', '/assets/webpack/fonts/MuseoCyrillic-Bold.ttf', '/assets/webpack/fonts/MuseoCyrillic-ExtraBold.ttf', '/assets/webpack/fonts/MuseoCyrillic-Light.ttf', '/assets/webpack/fonts/Roboto-Regular.ttf', '/assets/webpack/fonts/Roboto-Bold.ttf', '/assets/webpack/fonts/Roboto-Light.ttf', '/assets/webpack/fonts/TimesNewRoman-Bold.ttf', '/assets/webpack/fonts/TimesNewRoman-Regular.ttf']
|
|
29302
29303
|
};
|
|
29303
29304
|
|
|
29304
|
-
var CirceBold = "fonts/Circe-Bold-970a6077f396f815.ttf";
|
|
29305
|
-
|
|
29306
|
-
var CirceExtraBold = "fonts/Circe-ExtraBold-f63b3c3211790148.ttf";
|
|
29307
|
-
|
|
29308
|
-
var CirceExtraLight = "fonts/Circe-ExtraLight-c3fe16eba5a1ecc1.ttf";
|
|
29309
|
-
|
|
29310
|
-
var CirceLight = "fonts/Circe-Light-aa5ae3bc3dbf4a25.ttf";
|
|
29311
|
-
|
|
29312
|
-
var CirceRegular = "fonts/Circe-Regular-d81f5623c58cecb1.ttf";
|
|
29313
|
-
|
|
29314
29305
|
var MuseoCyrillicBold = "fonts/MuseoCyrillic-Bold-9e224f7161a2b71f.ttf";
|
|
29315
29306
|
|
|
29316
29307
|
var MuseoCyrillicExtraBold = "fonts/MuseoCyrillic-ExtraBold-1f132ec652e139d9.ttf";
|
|
@@ -29337,12 +29328,13 @@ var RobotoLight = "fonts/Roboto-Light-4dbb9a25ecf3d7a4.ttf";
|
|
|
29337
29328
|
|
|
29338
29329
|
var RobotoRegular = "fonts/Roboto-Regular-928b39227bdcbc8b.ttf";
|
|
29339
29330
|
|
|
29331
|
+
var InterBold = "fonts/Inter-Bold-48747b7a60086f97.ttf";
|
|
29332
|
+
|
|
29333
|
+
var InterLight = "fonts/Inter-Light-dd9ec1ae67dd8514.ttf";
|
|
29334
|
+
|
|
29335
|
+
var InterRegular = "fonts/Inter-Regular-7237d9cf55f17770.ttf";
|
|
29336
|
+
|
|
29340
29337
|
var fontUrls = Object.freeze({
|
|
29341
|
-
CirceRegular: CirceRegular,
|
|
29342
|
-
CirceBold: CirceBold,
|
|
29343
|
-
CirceExtraBold: CirceExtraBold,
|
|
29344
|
-
CirceExtraLight: CirceExtraLight,
|
|
29345
|
-
CirceLight: CirceLight,
|
|
29346
29338
|
MuseoCyrillicBold: MuseoCyrillicBold,
|
|
29347
29339
|
MuseoCyrillicExtraBold: MuseoCyrillicExtraBold,
|
|
29348
29340
|
MuseoCyrillicLight: MuseoCyrillicLight,
|
|
@@ -29355,7 +29347,10 @@ var fontUrls = Object.freeze({
|
|
|
29355
29347
|
ProximaNovaThin: ProximaNovaThin,
|
|
29356
29348
|
RobotoBold: RobotoBold,
|
|
29357
29349
|
RobotoLight: RobotoLight,
|
|
29358
|
-
RobotoRegular: RobotoRegular
|
|
29350
|
+
RobotoRegular: RobotoRegular,
|
|
29351
|
+
InterBold: InterBold,
|
|
29352
|
+
InterLight: InterLight,
|
|
29353
|
+
InterRegular: InterRegular
|
|
29359
29354
|
});
|
|
29360
29355
|
|
|
29361
29356
|
var AssetCache = /*#__PURE__*/function () {
|
|
@@ -29649,7 +29644,7 @@ var WebDocument = function WebDocument(params) {
|
|
|
29649
29644
|
this._onError = params.onError || null;
|
|
29650
29645
|
this.info = {};
|
|
29651
29646
|
this._fonts = [];
|
|
29652
|
-
this.workerUrl = "https://dist.ngcdn.ru" + "/libs/pdf-generator/" + "1.0.
|
|
29647
|
+
this.workerUrl = "https://dist.ngcdn.ru" + "/libs/pdf-generator/" + "1.0.28" + '/' + "generator.worker.js";
|
|
29653
29648
|
};
|
|
29654
29649
|
var createDocument = function createDocument(data) {
|
|
29655
29650
|
return new WebDocument(data);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build/es/index.css
CHANGED
|
@@ -134,27 +134,6 @@ body.legal.landscape .sheet {
|
|
|
134
134
|
-webkit-print-color-adjust: exact !important;
|
|
135
135
|
color-adjust: exact !important; }
|
|
136
136
|
|
|
137
|
-
@font-face {
|
|
138
|
-
font-family: 'CirceLight';
|
|
139
|
-
src: url("./fonts/circe/Circe-Light.eot") format("embedded-opentype");
|
|
140
|
-
src: url("./fonts/circe/Circe-Light.eot?#iefix") format("embedded-opentype"), url("./fonts/circe/Circe-Light.ttf") format("truetype"), url("./fonts/circe/Circe-Light.otf") format("opentype");
|
|
141
|
-
font-weight: 300;
|
|
142
|
-
font-style: normal; }
|
|
143
|
-
|
|
144
|
-
@font-face {
|
|
145
|
-
font-family: 'CirceRegular';
|
|
146
|
-
src: url("./fonts/circe/Circe-Regular.eot") format("embedded-opentype");
|
|
147
|
-
src: url("./fonts/circe/Circe-Regular.eot?#iefix") format("embedded-opentype"), url("./fonts/circe/Circe-Regular.ttf") format("truetype"), url("./fonts/circe/Circe-Regular.otf") format("opentype");
|
|
148
|
-
font-weight: normal;
|
|
149
|
-
font-style: normal; }
|
|
150
|
-
|
|
151
|
-
@font-face {
|
|
152
|
-
font-family: 'CirceBold';
|
|
153
|
-
src: url("./fonts/circe/Circe-Bold.eot") format("embedded-opentype");
|
|
154
|
-
src: url("./fonts/circe/Circe-Bold.eot?#iefix") format("embedded-opentype"), url("./fonts/circe/Circe-Bold.ttf") format("truetype"), url("./fonts/circe/Circe-Bold.otf") format("opentype");
|
|
155
|
-
font-weight: bold;
|
|
156
|
-
font-style: normal; }
|
|
157
|
-
|
|
158
137
|
@font-face {
|
|
159
138
|
font-family: 'MuseoCyrillicLight';
|
|
160
139
|
src: url("./fonts/museo/MuseoCyrillic-Light.woff2") format("woff2"), url("./fonts/museo/MuseoCyrillic-Light.woff") format("woff"), url("./fonts/museo/MuseoCyrillic-Light.ttf") format("truetype");
|
|
@@ -226,3 +205,21 @@ body.legal.landscape .sheet {
|
|
|
226
205
|
src: url("./fonts/roboto/Roboto-Bold.woff2") format("woff2") url("./fonts/roboto/Roboto-Bold.ttf") format("truetype"), url("./fonts/roboto/Roboto-Bold.woff") format("woff");
|
|
227
206
|
font-weight: 700;
|
|
228
207
|
font-style: normal; }
|
|
208
|
+
|
|
209
|
+
@font-face {
|
|
210
|
+
font-family: "InterRegular";
|
|
211
|
+
src: url("./fonts/inter/Inter-Regular.ttf") format("truetype");
|
|
212
|
+
font-weight: normal;
|
|
213
|
+
font-style: normal; }
|
|
214
|
+
|
|
215
|
+
@font-face {
|
|
216
|
+
font-family: "InterLight";
|
|
217
|
+
src: url("./fonts/inter/Inter-Light.ttf") format("truetype");
|
|
218
|
+
font-weight: 300;
|
|
219
|
+
font-style: normal; }
|
|
220
|
+
|
|
221
|
+
@font-face {
|
|
222
|
+
font-family: "InterBold";
|
|
223
|
+
src: url("./fonts/inter/Inter-Bold.ttf") format("truetype");
|
|
224
|
+
font-weight: 700;
|
|
225
|
+
font-style: normal; }
|