Skip to content

Commit b57c924

Browse files
committed
build dist
1 parent 6384a13 commit b57c924

14 files changed

+38
-33
lines changed

dist/jspdf.es.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @license
22
*
33
* jsPDF - PDF Document creation from JavaScript
4-
* Version 2.5.2_mmo Built on 2025-01-23T18:54:50.947Z
4+
* Version 2.5.2_mmo Built on 2025-01-23T19:00:08.327Z
55
* CommitID 00000000
66
*
77
* Copyright (c) 2010-2021 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
@@ -8282,9 +8282,9 @@ var AcroFormField = function AcroFormField() {
82828282
enumerable: true,
82838283
configurable: false,
82848284
get: function get() {
8285-
_MK.BG = _MK.BG || [1, 1, 1]; // default to white background
8286-
8287-
_MK.BC = _MK.BC || [0, 0, 0]; // default to black border
8285+
if (!Object.keys(_MK).length) {
8286+
return undefined;
8287+
}
82888288

82898289
var result = [];
82908290
result.push("<<");
@@ -8314,7 +8314,7 @@ var AcroFormField = function AcroFormField() {
83148314
* 4 DeviceCMYK
83158315
* @name borderColor
83168316
* @memberof AcroFormField#
8317-
* @default [0, 0, 0] black
8317+
* @default (no color, transparent)
83188318
* @type {array}
83198319
*/
83208320

@@ -8336,7 +8336,7 @@ var AcroFormField = function AcroFormField() {
83368336
* (Optional) An array of numbers in the range 0.0 to 1.0 specifying the color of the widget annotation’s background. The number of array elements determines the color space, as described above for borderColor.
83378337
* @name backgroundColor
83388338
* @memberof AcroFormField#
8339-
* @default [1, 1, 1] white
8339+
* @default (no color, transparent)
83408340
* @type {array}
83418341
*/
83428342

@@ -8927,6 +8927,8 @@ var AcroFormRadioButton = function AcroFormRadioButton() {
89278927
AcroFormButton.call(this);
89288928
this.radio = true;
89298929
this.pushButton = false;
8930+
this.backgroundColor = [1]; // white
8931+
89308932
var _Kids = [];
89318933
Object.defineProperty(this, "Kids", {
89328934
enumerable: true,

dist/jspdf.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.es.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.es.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.node.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @license
22
*
33
* jsPDF - PDF Document creation from JavaScript
4-
* Version 2.5.2_mmo Built on 2025-01-23T18:54:50.947Z
4+
* Version 2.5.2_mmo Built on 2025-01-23T19:00:08.328Z
55
* CommitID 00000000
66
*
77
* Copyright (c) 2010-2021 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
@@ -8574,9 +8574,10 @@ var AcroFormField = function() {
85748574
enumerable: true,
85758575
configurable: false,
85768576
get: function() {
8577-
_MK.BG = _MK.BG || [1, 1, 1]; // default to white background
8578-
_MK.BC = _MK.BC || [0, 0, 0]; // default to black border
8579-
8577+
if (!Object.keys(_MK).length) {
8578+
return undefined;
8579+
}
8580+
85808581
var result = [];
85818582
result.push("<<");
85828583
for (let key in _MK) {
@@ -8609,7 +8610,7 @@ var AcroFormField = function() {
86098610
* 4 DeviceCMYK
86108611
* @name borderColor
86118612
* @memberof AcroFormField#
8612-
* @default [0, 0, 0] black
8613+
* @default (no color, transparent)
86138614
* @type {array}
86148615
*/
86158616
Object.defineProperty(this, "borderColor", {
@@ -8630,7 +8631,7 @@ var AcroFormField = function() {
86308631
* (Optional) An array of numbers in the range 0.0 to 1.0 specifying the color of the widget annotation’s background. The number of array elements determines the color space, as described above for borderColor.
86318632
* @name backgroundColor
86328633
* @memberof AcroFormField#
8633-
* @default [1, 1, 1] white
8634+
* @default (no color, transparent)
86348635
* @type {array}
86358636
*/
86368637
Object.defineProperty(this, "backgroundColor", {
@@ -9209,6 +9210,7 @@ var AcroFormRadioButton = function() {
92099210
AcroFormButton.call(this);
92109211
this.radio = true;
92119212
this.pushButton = false;
9213+
this.backgroundColor = [1]; // white
92129214

92139215
var _Kids = [];
92149216
Object.defineProperty(this, "Kids", {
@@ -10474,7 +10476,6 @@ var AcroFormAppearance = {
1047410476
getCA: function() {
1047510477
return "8";
1047610478
},
10477-
1047810479
YesNormal: function(formObject) {
1047910480
var xobj = createFormXObject(formObject);
1048010481
xobj.scope = formObject.scope;

dist/jspdf.node.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.node.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.node.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.umd.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @license
22
*
33
* jsPDF - PDF Document creation from JavaScript
4-
* Version 2.5.2_mmo Built on 2025-01-23T18:54:50.944Z
4+
* Version 2.5.2_mmo Built on 2025-01-23T19:00:08.325Z
55
* CommitID 00000000
66
*
77
* Copyright (c) 2010-2021 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
@@ -8301,9 +8301,9 @@
83018301
enumerable: true,
83028302
configurable: false,
83038303
get: function get() {
8304-
_MK.BG = _MK.BG || [1, 1, 1]; // default to white background
8305-
8306-
_MK.BC = _MK.BC || [0, 0, 0]; // default to black border
8304+
if (!Object.keys(_MK).length) {
8305+
return undefined;
8306+
}
83078307

83088308
var result = [];
83098309
result.push("<<");
@@ -8333,7 +8333,7 @@
83338333
* 4 DeviceCMYK
83348334
* @name borderColor
83358335
* @memberof AcroFormField#
8336-
* @default [0, 0, 0] black
8336+
* @default (no color, transparent)
83378337
* @type {array}
83388338
*/
83398339

@@ -8355,7 +8355,7 @@
83558355
* (Optional) An array of numbers in the range 0.0 to 1.0 specifying the color of the widget annotation’s background. The number of array elements determines the color space, as described above for borderColor.
83568356
* @name backgroundColor
83578357
* @memberof AcroFormField#
8358-
* @default [1, 1, 1] white
8358+
* @default (no color, transparent)
83598359
* @type {array}
83608360
*/
83618361

@@ -8946,6 +8946,8 @@
89468946
AcroFormButton.call(this);
89478947
this.radio = true;
89488948
this.pushButton = false;
8949+
this.backgroundColor = [1]; // white
8950+
89498951
var _Kids = [];
89508952
Object.defineProperty(this, "Kids", {
89518953
enumerable: true,

dist/jspdf.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)