@openlettermarketing/olc-vue-sdk 1.6.2 → 1.6.3
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/index.js +17 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -167730,6 +167730,10 @@ const $e8f6665471b594e0$var$CustomTemplateSection = {
|
|
|
167730
167730
|
payload: true
|
|
167731
167731
|
});
|
|
167732
167732
|
dispatch((0, $bbef8ecdaaf79b6e$export$7cdbec44919c75ac)());
|
|
167733
|
+
dispatch({
|
|
167734
|
+
type: (0, $e496cac0faa1ff17$export$ec8156c566eb37cd),
|
|
167735
|
+
payload: ""
|
|
167736
|
+
});
|
|
167733
167737
|
if (template) {
|
|
167734
167738
|
const workspaceElement = document.querySelector(".polotno-workspace-container");
|
|
167735
167739
|
if (workspaceElement) workspaceElement.classList.add("show-loader");
|
|
@@ -167809,6 +167813,10 @@ const $e8f6665471b594e0$var$CustomTemplateSection = {
|
|
|
167809
167813
|
const handleClearStore = ()=>{
|
|
167810
167814
|
store.clear();
|
|
167811
167815
|
dispatch((0, $bbef8ecdaaf79b6e$export$7cdbec44919c75ac)());
|
|
167816
|
+
dispatch({
|
|
167817
|
+
type: (0, $e496cac0faa1ff17$export$ec8156c566eb37cd),
|
|
167818
|
+
payload: ""
|
|
167819
|
+
});
|
|
167812
167820
|
let size = "";
|
|
167813
167821
|
let isPostCards = false;
|
|
167814
167822
|
let _product = product;
|
|
@@ -169086,6 +169094,10 @@ const $52be5db9307c4332$var$CustomAddOns = {
|
|
|
169086
169094
|
}
|
|
169087
169095
|
});
|
|
169088
169096
|
setCustomRosValue("");
|
|
169097
|
+
dispatch({
|
|
169098
|
+
type: (0, $e496cac0faa1ff17$export$ec8156c566eb37cd),
|
|
169099
|
+
payload: ""
|
|
169100
|
+
});
|
|
169089
169101
|
}
|
|
169090
169102
|
};
|
|
169091
169103
|
const percentageRequired = ()=>dispatch((0, $6ca040a325a745aa$export$af2dba6db4e9e1f0)(`Please enter the offer percentage`));
|
|
@@ -169987,6 +169999,10 @@ const $6248df0c26b0b2d9$var$TemplateBuilder = ({ store: store, platformName: pla
|
|
|
169987
169999
|
store.loadJSON(jsonData);
|
|
169988
170000
|
await store.waitLoading();
|
|
169989
170001
|
dispatch((0, $bbef8ecdaaf79b6e$export$7cdbec44919c75ac)());
|
|
170002
|
+
dispatch({
|
|
170003
|
+
type: (0, $e496cac0faa1ff17$export$ec8156c566eb37cd),
|
|
170004
|
+
payload: ""
|
|
170005
|
+
});
|
|
169990
170006
|
setIsStoreUpdated(false);
|
|
169991
170007
|
(0, $39231ae325c5aacf$export$b8070c2bd9d59c10)(existingTemplate?.product?.id, store);
|
|
169992
170008
|
dispatch({
|
|
@@ -170153,7 +170169,7 @@ var $edeafd00018ca857$export$2e2bcd8739ae039 = $edeafd00018ca857$var$App;
|
|
|
170153
170169
|
|
|
170154
170170
|
|
|
170155
170171
|
|
|
170156
|
-
const $23c375345222aadb$export$31499a9cd224b78c = "1.9.
|
|
170172
|
+
const $23c375345222aadb$export$31499a9cd224b78c = "1.9.6";
|
|
170157
170173
|
|
|
170158
170174
|
|
|
170159
170175
|
const $24075a5d702d64b3$var$TemplateBuilder = ({ container: container, secretKey: secretKey, publicApiKey: publicApiKey, platformName: platformName, templateGalleryModal: templateGalleryModal = true, createTemplateRoute: createTemplateRoute, templateBuilderRoute: templateBuilderRoute, olcTemplate: olcTemplate, designerTemplateQuery: designerTemplateQuery, sandbox: sandbox, allowSenderFields: allowSenderFields, allowPropertyFields: allowPropertyFields, excludedFields: excludedFields, designerQueryAmount: designerQueryAmount, allowedAddOns: allowedAddOns, allowedTemplateSections: allowedTemplateSections, env: env, restrictedProducts: restrictedProducts, onReturnAndNavigate: onReturnAndNavigate, onCreateCustomTemplateQuery: onCreateCustomTemplateQuery, onGetOneTemplate: onGetOneTemplate, onGetTemplates: onGetTemplates, onGetCustomFields: onGetCustomFields, onDuplicateTemplate: onDuplicateTemplate, onSubmit: onSubmit, styles: styles })=>{
|