zakeke-configurator-react 0.1.296-prod → 0.1.297-prod
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/dist/index.js
CHANGED
|
@@ -29656,13 +29656,14 @@ var ZakekeEnvironment = /*#__PURE__*/function () {
|
|
|
29656
29656
|
allowedCurved: true,
|
|
29657
29657
|
disableTextColors: false,
|
|
29658
29658
|
textColors: [defaultColor],
|
|
29659
|
-
defaultColor: '#000000'
|
|
29659
|
+
defaultColor: '#000000',
|
|
29660
|
+
isPDFPreviewEnabled: true
|
|
29660
29661
|
};
|
|
29661
29662
|
if (_this.zkProduct && _this.zkProduct.get('printTypes').length > 0) {
|
|
29662
29663
|
var printType = _this.zkProduct.get('printTypes').at(0);
|
|
29663
29664
|
var printRestrictions = printType.get('printTypeRestrictions');
|
|
29664
29665
|
if (printRestrictions) {
|
|
29665
|
-
var _printRestrictions$ge, _printRestrictions$ge2, _printRestrictions$ge3, _printRestrictions$ge4, _printRestrictions$ge5, _printRestrictions$ge6, _printRestrictions$ge7;
|
|
29666
|
+
var _printRestrictions$ge, _printRestrictions$ge2, _printRestrictions$ge3, _printRestrictions$ge4, _printRestrictions$ge5, _printRestrictions$ge6, _printRestrictions$ge7, _printRestrictions$ge8;
|
|
29666
29667
|
defaultColor = _objectSpread(_objectSpread({}, defaultColor), {}, {
|
|
29667
29668
|
colorCode: (_printRestrictions$ge = printRestrictions.get('defaultColor')) !== null && _printRestrictions$ge !== void 0 ? _printRestrictions$ge : '#000000'
|
|
29668
29669
|
});
|
|
@@ -29676,7 +29677,8 @@ var ZakekeEnvironment = /*#__PURE__*/function () {
|
|
|
29676
29677
|
allowedCurved: (_printRestrictions$ge5 = printRestrictions.get('curvedText')) !== null && _printRestrictions$ge5 !== void 0 ? _printRestrictions$ge5 : true,
|
|
29677
29678
|
disableTextColors: (_printRestrictions$ge6 = printRestrictions.get('disableTextColors')) !== null && _printRestrictions$ge6 !== void 0 ? _printRestrictions$ge6 : false,
|
|
29678
29679
|
textColors: textColors,
|
|
29679
|
-
defaultColor: (_printRestrictions$ge7 = printRestrictions.get('defaultColor')) !== null && _printRestrictions$ge7 !== void 0 ? _printRestrictions$ge7 : '#000000'
|
|
29680
|
+
defaultColor: (_printRestrictions$ge7 = printRestrictions.get('defaultColor')) !== null && _printRestrictions$ge7 !== void 0 ? _printRestrictions$ge7 : '#000000',
|
|
29681
|
+
isPDFPreviewEnabled: (_printRestrictions$ge8 = printRestrictions.get('canPreviewDesignsPDF')) !== null && _printRestrictions$ge8 !== void 0 ? _printRestrictions$ge8 : true
|
|
29680
29682
|
};
|
|
29681
29683
|
}
|
|
29682
29684
|
}
|