@veloceapps/sdk 11.0.0-82 → 11.0.0-84

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.
Files changed (29) hide show
  1. package/cms/vendor-map.d.ts +2 -1
  2. package/core/modules/configuration/index.d.ts +1 -0
  3. package/core/modules/configuration/services/configuration.service.d.ts +4 -6
  4. package/core/modules/configuration/services/guided-selling.service.d.ts +13 -0
  5. package/core/services/flow-state-configuration.service.d.ts +8 -1
  6. package/esm2020/cms/vendor-map.mjs +3 -2
  7. package/esm2020/core/modules/configuration/configuration.module.mjs +4 -1
  8. package/esm2020/core/modules/configuration/index.mjs +2 -1
  9. package/esm2020/core/modules/configuration/services/configuration-state.service.mjs +3 -3
  10. package/esm2020/core/modules/configuration/services/configuration.service.mjs +29 -32
  11. package/esm2020/core/modules/configuration/services/guided-selling.service.mjs +47 -0
  12. package/esm2020/core/modules/configuration/services/test-mode-configuration.service.mjs +2 -2
  13. package/esm2020/core/services/flow-state-configuration.service.mjs +48 -6
  14. package/esm2020/core/services/flow-state.service.mjs +2 -2
  15. package/esm2020/src/services/flow-dialog.service.mjs +3 -24
  16. package/fesm2015/veloceapps-sdk-cms.mjs +2 -1
  17. package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
  18. package/fesm2015/veloceapps-sdk-core.mjs +101 -40
  19. package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
  20. package/fesm2015/veloceapps-sdk.mjs +2 -23
  21. package/fesm2015/veloceapps-sdk.mjs.map +1 -1
  22. package/fesm2020/veloceapps-sdk-cms.mjs +2 -1
  23. package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
  24. package/fesm2020/veloceapps-sdk-core.mjs +179 -103
  25. package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
  26. package/fesm2020/veloceapps-sdk.mjs +2 -23
  27. package/fesm2020/veloceapps-sdk.mjs.map +1 -1
  28. package/package.json +1 -1
  29. package/src/services/flow-dialog.service.d.ts +1 -4
@@ -365,10 +365,10 @@ class FlowDialogService {
365
365
  primaryButton: 'Ok',
366
366
  });
367
367
  }
368
- showQuoteOutsideShoppingCartDialog() {
368
+ showQuoteInConfiguratorDialog() {
369
369
  return this.show({
370
370
  title: 'Quote Cannot be Saved',
371
- description: 'It is only possible to save quotes from the Shopping Cart. To proceed, go to the Shopping Cart.',
371
+ description: 'It not possible to save quotes from the Configurator. To proceed, finish configuring product.',
372
372
  primaryButton: 'Ok',
373
373
  });
374
374
  }
@@ -388,27 +388,6 @@ class FlowDialogService {
388
388
  oppositeButtonActions: true,
389
389
  });
390
390
  }
391
- showReadonlyQuoteSubmitFailureDialog() {
392
- return this.show({
393
- title: 'Cannot Submit for Approval',
394
- description: 'It is only possible to submit for approval quotes with the “Draft“ status. Please create a new quote to proceed.',
395
- primaryButton: 'Ok',
396
- });
397
- }
398
- showOutsideShoppingCartQuoteSubmitFailureDialog() {
399
- return this.show({
400
- title: 'Cannot Submit for Approval',
401
- description: 'It is only possible to submit quotes for approval from the Shopping Cart. To proceed, go to the Shopping Cart.',
402
- primaryButton: 'Ok',
403
- });
404
- }
405
- showAccountSubmitFailureDialog() {
406
- return this.show({
407
- title: 'Save Changes',
408
- description: 'To submit for approval, save the quote first, and then submit it for approval from the Shopping Cart.',
409
- primaryButton: 'Ok',
410
- });
411
- }
412
391
  showTermsLimitReachedDialog() {
413
392
  const shoppingCartSettings = mapShoppingCartSettings(this.runtimeSettings.getShoppingCartSettings() || []);
414
393
  const maxRenewalTerms = getMaxRenewalTermsValue(shoppingCartSettings);