@veloceapps/sdk 3.1.24 → 3.1.26
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/bundles/veloce-sdk-cms.umd.js +13 -1
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk-core.umd.js +6 -11
- package/bundles/veloce-sdk-core.umd.js.map +1 -1
- package/bundles/veloce-sdk.umd.js +356 -148
- package/bundles/veloce-sdk.umd.js.map +1 -1
- package/cms/cms.actions.d.ts +5 -1
- package/cms/vendor-map.d.ts +2 -0
- package/core/services/quote-draft.service.d.ts +4 -5
- package/esm2015/cms/cms.actions.js +9 -1
- package/esm2015/core/services/quote-draft.service.js +7 -12
- package/esm2015/src/components/doc-gen/doc-gen.component.js +109 -0
- package/esm2015/src/components/doc-gen/doc-gen.module.js +19 -0
- package/esm2015/src/components/header/cart-overlay/cart-preview.component.js +3 -4
- package/esm2015/src/components/header/header.component.js +59 -27
- package/esm2015/src/components/header/header.types.js +1 -1
- package/esm2015/src/flow.component.js +13 -9
- package/esm2015/src/flow.module.js +9 -4
- package/esm2015/src/resolvers/quote.resolver.js +3 -3
- package/esm2015/src/services/doc-gen.service.js +33 -0
- package/esm2015/src/services/flow-dialog.service.js +23 -1
- package/esm2015/src/services/flow.service.js +6 -6
- package/fesm2015/veloce-sdk-cms.js +12 -2
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk-core.js +6 -11
- package/fesm2015/veloce-sdk-core.js.map +1 -1
- package/fesm2015/veloce-sdk.js +285 -90
- package/fesm2015/veloce-sdk.js.map +1 -1
- package/package.json +1 -1
- package/src/components/doc-gen/doc-gen.component.d.ts +26 -0
- package/src/components/doc-gen/doc-gen.module.d.ts +9 -0
- package/src/components/header/cart-overlay/cart-preview.component.d.ts +1 -1
- package/src/components/header/header.component.d.ts +8 -1
- package/src/components/header/header.types.d.ts +2 -2
- package/src/flow.component.d.ts +3 -1
- package/src/flow.module.d.ts +2 -1
- package/src/services/doc-gen.service.d.ts +13 -0
- package/src/services/flow-dialog.service.d.ts +3 -0
@@ -37,6 +37,8 @@
|
|
37
37
|
FlowAction["FLOW_CONFIGURE_PRODUCT"] = "FLOW_CONFIGURE_PRODUCT";
|
38
38
|
FlowAction["FLOW_NAVIGATE_BACK"] = "FLOW_NAVIGATE_BACK";
|
39
39
|
FlowAction["FLOW_APPLY_PRODUCT_CONFIGURATION"] = "FLOW_APPLY_PRODUCT_CONFIGURATION";
|
40
|
+
FlowAction["FLOW_OPEN_DOC_GEN"] = "FLOW_OPEN_DOC_GEN";
|
41
|
+
FlowAction["FLOW_CLOSE_DOC_GEN"] = "FLOW_CLOSE_DOC_GEN";
|
40
42
|
})(exports.FlowAction || (exports.FlowAction = {}));
|
41
43
|
var ConfigureProductAction = function (_a) {
|
42
44
|
var lineItemId = _a.lineItemId, productId = _a.productId;
|
@@ -51,13 +53,21 @@
|
|
51
53
|
var ApplyProductConfigurationAction = function () { return ({
|
52
54
|
type: exports.FlowAction.FLOW_APPLY_PRODUCT_CONFIGURATION,
|
53
55
|
}); };
|
56
|
+
var OpenDocGenAction = function () { return ({
|
57
|
+
type: exports.FlowAction.FLOW_OPEN_DOC_GEN,
|
58
|
+
}); };
|
59
|
+
var CloseDocGenAction = function () { return ({
|
60
|
+
type: exports.FlowAction.FLOW_CLOSE_DOC_GEN,
|
61
|
+
}); };
|
54
62
|
|
55
63
|
var cmsInjectionTokens = /*#__PURE__*/Object.freeze({
|
56
64
|
__proto__: null,
|
57
65
|
get FlowAction () { return exports.FlowAction; },
|
58
66
|
ConfigureProductAction: ConfigureProductAction,
|
59
67
|
NavigateBackAction: NavigateBackAction,
|
60
|
-
ApplyProductConfigurationAction: ApplyProductConfigurationAction
|
68
|
+
ApplyProductConfigurationAction: ApplyProductConfigurationAction,
|
69
|
+
OpenDocGenAction: OpenDocGenAction,
|
70
|
+
CloseDocGenAction: CloseDocGenAction
|
61
71
|
});
|
62
72
|
|
63
73
|
/*! *****************************************************************************
|
@@ -1777,6 +1787,7 @@
|
|
1777
1787
|
*/
|
1778
1788
|
|
1779
1789
|
exports.ApplyProductConfigurationAction = ApplyProductConfigurationAction;
|
1790
|
+
exports.CloseDocGenAction = CloseDocGenAction;
|
1780
1791
|
exports.ConfigureProductAction = ConfigureProductAction;
|
1781
1792
|
exports.DEFAULT_PLUGINS_TOKEN = DEFAULT_PLUGINS_TOKEN;
|
1782
1793
|
exports.ELEMENT_CONFIG = ELEMENT_CONFIG;
|
@@ -1787,6 +1798,7 @@
|
|
1787
1798
|
exports.LauncherModule = LauncherModule;
|
1788
1799
|
exports.LauncherService = LauncherService;
|
1789
1800
|
exports.NavigateBackAction = NavigateBackAction;
|
1801
|
+
exports.OpenDocGenAction = OpenDocGenAction;
|
1790
1802
|
exports.PreviewComponent = PreviewComponent;
|
1791
1803
|
exports.PreviewModule = PreviewModule;
|
1792
1804
|
exports.SHARED_ELEMENT_METADATA = SHARED_ELEMENT_METADATA;
|