Skip to content

Commit 120bf00

Browse files
committed
build for 3.13.0-beta.0
1 parent 7c778ec commit 120bf00

File tree

8 files changed

+19
-17
lines changed

8 files changed

+19
-17
lines changed

demos/browser/js/pptxgen.bundle.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.

demos/browser/js/pptxgen.bundle.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/pptxgen.bundle.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/pptxgen.bundle.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/pptxgen.cjs.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* PptxGenJS 3.12.0 @ 2023-03-20T03:12:31.353Z */
1+
/* PptxGenJS 3.13.0-beta.0 @ 2023-05-17T03:15:58.384Z */
22
'use strict';
33

44
var JSZip = require('jszip');
@@ -5302,13 +5302,14 @@ function slideObjectToXml(slide) {
53025302
// 2: OPTIONS: Build/set cell options
53035303
var cellOpts = cell.options || {};
53045304
cell.options = cellOpts;
5305-
['align', 'bold', 'border', 'color', 'fill', 'fontFace', 'fontSize', 'margin', 'underline', 'valign'].forEach(function (name) {
5305+
['align', 'bold', 'border', 'color', 'fill', 'fontFace', 'fontSize', 'margin', 'textDirection', 'underline', 'valign'].forEach(function (name) {
53065306
if (objTabOpts[name] && !cellOpts[name] && cellOpts[name] !== 0)
53075307
cellOpts[name] = objTabOpts[name];
53085308
});
53095309
var cellValign = cellOpts.valign
53105310
? " anchor=\"".concat(cellOpts.valign.replace(/^c$/i, 'ctr').replace(/^m$/i, 'ctr').replace('center', 'ctr').replace('middle', 'ctr').replace('top', 't').replace('btm', 'b').replace('bottom', 'b'), "\"")
53115311
: '';
5312+
var cellTextDir = (cellOpts.textDirection && cellOpts.textDirection !== 'horz') ? " vert=\"".concat(cellOpts.textDirection, "\"") : '';
53125313
var fillColor = ((_d = (_c = cell._optImp) === null || _c === void 0 ? void 0 : _c.fill) === null || _d === void 0 ? void 0 : _d.color)
53135314
? cell._optImp.fill.color
53145315
: ((_e = cell._optImp) === null || _e === void 0 ? void 0 : _e.fill) && typeof cell._optImp.fill === 'string'
@@ -5332,7 +5333,7 @@ function slideObjectToXml(slide) {
53325333
}
53335334
// FUTURE: Cell NOWRAP property (textwrap: add to a:tcPr (horzOverflow="overflow" or whatever options exist)
53345335
// 4: Set CELL content and properties ==================================
5335-
strXml += "<a:tc".concat(cellSpanAttrStr, ">").concat(genXmlTextBody(cell), "<a:tcPr").concat(cellMarginXml).concat(cellValign, ">");
5336+
strXml += "<a:tc".concat(cellSpanAttrStr, ">").concat(genXmlTextBody(cell), "<a:tcPr").concat(cellMarginXml).concat(cellValign).concat(cellTextDir, ">");
53365337
// strXml += `<a:tc${cellColspan}${cellRowspan}>${genXmlTextBody(cell)}<a:tcPr${cellMarginXml}${cellValign}${cellTextDir}>`
53375338
// FIXME: 20200525: ^^^
53385339
// <a:tcPr marL="38100" marR="38100" marT="38100" marB="38100" vert="vert270">
@@ -6712,7 +6713,7 @@ function makeXmlViewProps() {
67126713
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
67136714
* SOFTWARE.
67146715
*/
6715-
var VERSION = '3.12.0';
6716+
var VERSION = '3.13.0-beta.0-20230416-2140';
67166717
var PptxGenJS = /** @class */ (function () {
67176718
function PptxGenJS() {
67186719
var _this = this;

dist/pptxgen.es.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* PptxGenJS 3.12.0 @ 2023-03-20T03:12:31.367Z */
1+
/* PptxGenJS 3.13.0-beta.0 @ 2023-05-17T03:15:58.392Z */
22
import JSZip from 'jszip';
33

44
/******************************************************************************
@@ -5296,13 +5296,14 @@ function slideObjectToXml(slide) {
52965296
// 2: OPTIONS: Build/set cell options
52975297
var cellOpts = cell.options || {};
52985298
cell.options = cellOpts;
5299-
['align', 'bold', 'border', 'color', 'fill', 'fontFace', 'fontSize', 'margin', 'underline', 'valign'].forEach(function (name) {
5299+
['align', 'bold', 'border', 'color', 'fill', 'fontFace', 'fontSize', 'margin', 'textDirection', 'underline', 'valign'].forEach(function (name) {
53005300
if (objTabOpts[name] && !cellOpts[name] && cellOpts[name] !== 0)
53015301
cellOpts[name] = objTabOpts[name];
53025302
});
53035303
var cellValign = cellOpts.valign
53045304
? " anchor=\"".concat(cellOpts.valign.replace(/^c$/i, 'ctr').replace(/^m$/i, 'ctr').replace('center', 'ctr').replace('middle', 'ctr').replace('top', 't').replace('btm', 'b').replace('bottom', 'b'), "\"")
53055305
: '';
5306+
var cellTextDir = (cellOpts.textDirection && cellOpts.textDirection !== 'horz') ? " vert=\"".concat(cellOpts.textDirection, "\"") : '';
53065307
var fillColor = ((_d = (_c = cell._optImp) === null || _c === void 0 ? void 0 : _c.fill) === null || _d === void 0 ? void 0 : _d.color)
53075308
? cell._optImp.fill.color
53085309
: ((_e = cell._optImp) === null || _e === void 0 ? void 0 : _e.fill) && typeof cell._optImp.fill === 'string'
@@ -5326,7 +5327,7 @@ function slideObjectToXml(slide) {
53265327
}
53275328
// FUTURE: Cell NOWRAP property (textwrap: add to a:tcPr (horzOverflow="overflow" or whatever options exist)
53285329
// 4: Set CELL content and properties ==================================
5329-
strXml += "<a:tc".concat(cellSpanAttrStr, ">").concat(genXmlTextBody(cell), "<a:tcPr").concat(cellMarginXml).concat(cellValign, ">");
5330+
strXml += "<a:tc".concat(cellSpanAttrStr, ">").concat(genXmlTextBody(cell), "<a:tcPr").concat(cellMarginXml).concat(cellValign).concat(cellTextDir, ">");
53305331
// strXml += `<a:tc${cellColspan}${cellRowspan}>${genXmlTextBody(cell)}<a:tcPr${cellMarginXml}${cellValign}${cellTextDir}>`
53315332
// FIXME: 20200525: ^^^
53325333
// <a:tcPr marL="38100" marR="38100" marT="38100" marB="38100" vert="vert270">
@@ -6706,7 +6707,7 @@ function makeXmlViewProps() {
67066707
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
67076708
* SOFTWARE.
67086709
*/
6709-
var VERSION = '3.12.0';
6710+
var VERSION = '3.13.0-beta.0-20230416-2140';
67106711
var PptxGenJS = /** @class */ (function () {
67116712
function PptxGenJS() {
67126713
var _this = this;

dist/pptxgen.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/pptxgen.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.

0 commit comments

Comments
 (0)